# Robot not active.

**URL:** <https://tech-community.robotics.abb.com/t/robot-not-active/11312>\
**Category:** RobotStudio\
**Created:** [December 19, 2023, 1:23pm UTC](https://tech-community.robotics.abb.com/t/robot-not-active/11312 "2023-12-19T13:23:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zforgo](https://avatars.discourse-cdn.com/v4/letter/z/7c8e57/32.png) [@zforgo](https://tech-community.robotics.abb.com/u/zforgo)\
**Post date:** [December 19, 2023, 1:23pm UTC](https://tech-community.robotics.abb.com/t/robot-not-active/11312/1 "2023-12-19T13:23:08Z")

</div>

Dear Fellows,  
Please help me. I would like the recreate the welding cell with the tourntable mechanism, but as I attached the workobject with the target point to the STN1, but instead of simulation running, the error “50066: Robot not active” error apears and the simulation is hanging. How could I set the robot active through the rapid code?  
Thank you in advance,  
Zoltan

---

<div class="post-metadata">

**Author:** ![mandolas](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/mandolas/32/2496_2.png) [@mandolas](https://tech-community.robotics.abb.com/u/mandolas)\
**Post date:** [December 21, 2023, 10:19am UTC](https://tech-community.robotics.abb.com/t/robot-not-active/11312/2 "2023-12-21T10:19:11Z")

</div>

Hi…  
Take a look at the ‘ActUnit’ instruction and see if it works.  
Att.

---

<div class="post-metadata">

**Author:** ![zforgo](https://avatars.discourse-cdn.com/v4/letter/z/7c8e57/32.png) [@zforgo](https://tech-community.robotics.abb.com/u/zforgo)\
**Post date:** [December 21, 2023, 10:46am UTC](https://tech-community.robotics.abb.com/t/robot-not-active/11312/3 "2023-12-21T10:46:50Z")

</div>

Hi mandolas,  
thank you for the hint. I managed to activate the ROB\_1 mechanism, but it works only along some movements. I wonder if there is any setup possibility outside the code, because in the example cell (Demo AW Station) I did not see any “ActUnit ROB\_1” command in the RAPID code.  
Chears,  
Zoltan

---

<div class="post-metadata">

**Author:** ![mandolas](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/mandolas/32/2496_2.png) [@mandolas](https://tech-community.robotics.abb.com/u/mandolas)\
**Post date:** [December 21, 2023, 1:02pm UTC](https://tech-community.robotics.abb.com/t/robot-not-active/11312/4 "2023-12-21T13:02:56Z")

</div>

> [@zforgo](#):
>
> Hi mandolas,  
> thank you for the hint. I managed to activate the ROB\_1 mechanism, but it works only along some movements. I wonder if there is any setup possibility outside the code, because in the example cell (Demo AW Station) I did not see any “ActUnit ROB\_1” command in the RAPID code.  
> Chears,  
> Zoltan

I’ve never had the need to activate ‘the robot\controller’ in my apps, so other than this tip I can’t help you anymore, I’m sorry.  
I just opened the demo and had no problems running it. I’m using RS 2023.1, maybe that has something to do with it.

---

<div class="post-metadata">

**Author:** ![zforgo](https://avatars.discourse-cdn.com/v4/letter/z/7c8e57/32.png) [@zforgo](https://tech-community.robotics.abb.com/u/zforgo)\
**Post date:** [December 22, 2023, 7:06am UTC](https://tech-community.robotics.abb.com/t/robot-not-active/11312/5 "2023-12-22T07:06:57Z")

</div>

> [@mandolas](#):
>
> I’ve never had the need to activate ‘the robot\controller’ in my apps, so other than this tip I can’t help you anymore, I’m sorry.  
> I just opened the demo and had no problems running it. I’m using RS 2023.1, maybe that has something to do with it.
> 
> Yes, thats the weird, I was able to run it as well, but building the same cell, using the same RAPID code the “robot is not active”. 🙂  
> Anyway, thank you for your time! Have a nice holyday and happy new year!
