# Robot Control 30003 "FreeDrive" not working as intended

**URL:** <https://forum.universal-robots.com/t/robot-control-30003-freedrive-not-working-as-intended/20879>\
**Category:** URScript\
**Created:** [April 27, 2022, 7:25am UTC](https://forum.universal-robots.com/t/robot-control-30003-freedrive-not-working-as-intended/20879 "2022-04-27T07:25:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon47199416](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@anon47199416](https://forum.universal-robots.com/u/anon47199416)\
**Post date:** [April 27, 2022, 7:25am UTC](https://forum.universal-robots.com/t/robot-control-30003-freedrive-not-working-as-intended/20879/1 "2022-04-27T07:25:16Z")

</div>

So the connection is fine and everything. I can send him some movej and he will do it,  
but when sending “freedrive\_mode()\n”, he enters and exits asap.

I don’t know why he gets out of it especially if a command like end\_freedrive\_mode() exists.

How can I toggle it. I can see in the logs that he recieves the command and then exists.  
Weirdly enough wenn I tell him “end\_freedrive\_mode()\n” he enters freedrive just so he can exit.

---

<div class="post-metadata">

**Author:** ![3120195096](https://avatars.discourse-cdn.com/v4/letter/3/ac8455/32.png) [@3120195096](https://forum.universal-robots.com/u/3120195096)\
**Post date:** [July 5, 2022, 6:30am UTC](https://forum.universal-robots.com/t/robot-control-30003-freedrive-not-working-as-intended/20879/2 "2022-07-05T06:30:08Z")

</div>

hello, may i ask if you have already got the solution?  
i have the same problem: the robot enters and exits freedrive\_mode() after sending the script. so we really need help to find out how we can use freedrive\_mode() when the robot is in remote mode
