# Query whether the robot is in local or remote control

**URL:** <https://forum.universal-robots.com/t/query-whether-the-robot-is-in-local-or-remote-control/23684>\
**Category:** Robot Communication\
**Created:** [September 6, 2022, 7:31pm UTC](https://forum.universal-robots.com/t/query-whether-the-robot-is-in-local-or-remote-control/23684 "2022-09-06T19:31:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![artur.falkenstern](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@artur.falkenstern](https://forum.universal-robots.com/u/artur.falkenstern)\
**Post date:** [September 6, 2022, 7:31pm UTC](https://forum.universal-robots.com/t/query-whether-the-robot-is-in-local-or-remote-control/23684/1 "2022-09-06T19:31:06Z")

</div>

Hello,

I have connected the UR5e to a Beckhoff PLC and I want to know if the robot is in local or remote control (status bit?).  
Can someone help me please?

BR  
Artur

---

<div class="post-metadata">

**Author:** ![m.hammerton](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@m.hammerton](https://forum.universal-robots.com/u/m.hammerton)\
**Post date:** [September 7, 2022, 6:39am UTC](https://forum.universal-robots.com/t/query-whether-the-robot-is-in-local-or-remote-control/23684/2 "2022-09-07T06:39:12Z")

</div>

When you say connected.  
What connection type / protocol (TCP/IP, Ethernet IP, Profinet, modbus)?

The best way is to establish is socket connection via TCP/IP over port 29999 and use the Dashboard.  
I believe you can setup TCP/IP in TwinCat and request the status from the Robot.  
see the links for guidance.

[https://www.universal-robots.com/articles/ur/dashboard-server-e-series-port-29999/](https://www.universal-robots.com/articles/ur/dashboard-server-e-series-port-29999/)

[https://s3-eu-west-1.amazonaws.com/ur-support-site/42728/DashboardServer\_e-Series.pdf](https://s3-eu-west-1.amazonaws.com/ur-support-site/42728/DashboardServer_e-Series.pdf)

hope this helps

---

<div class="post-metadata">

**Author:** ![artur.falkenstern](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@artur.falkenstern](https://forum.universal-robots.com/u/artur.falkenstern)\
**Post date:** [September 7, 2022, 7:13am UTC](https://forum.universal-robots.com/t/query-whether-the-robot-is-in-local-or-remote-control/23684/3 "2022-09-07T07:13:23Z")

</div>

Thank you for your reply.

Isn’t that in the standard protocol? - see screenshot below.

 ![Unbenannt](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/4/48a37ab9a4986578516aca87afaec9de9a7259a5.jpeg)

BR
