# Get Local/Remote Mode of robot via Primary/Secondary or RTDE interface

**URL:** <https://forum.universal-robots.com/t/get-local-remote-mode-of-robot-via-primary-secondary-or-rtde-interface/17545>\
**Category:** Robot Communication\
**Created:** [November 11, 2021, 1:13pm UTC](https://forum.universal-robots.com/t/get-local-remote-mode-of-robot-via-primary-secondary-or-rtde-interface/17545 "2021-11-11T13:13:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.hofmann](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@michael.hofmann](https://forum.universal-robots.com/u/michael.hofmann)\
**Post date:** [November 11, 2021, 1:13pm UTC](https://forum.universal-robots.com/t/get-local-remote-mode-of-robot-via-primary-secondary-or-rtde-interface/17545/1 "2021-11-11T13:13:20Z")

</div>

Hi,

I simply want to know via the Primary/Secondary or RTDE Interface, if the Robot is in remote or local mode.

I do get a connection-abort if the robot switches from remote to local → which is okay, but it is not happening in the other direction (local → remote) Therefore I do not know in which state the robot is.

Is there any posibility to get the information vai any interface available at the robot? I mean, the teachpendand is showing the local/remote state, where is is getting the information?

greeting.

---

<div class="post-metadata">

**Author:** ![jor](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@jor](https://forum.universal-robots.com/u/jor)\
**Post date:** [November 12, 2021, 7:58am UTC](https://forum.universal-robots.com/t/get-local-remote-mode-of-robot-via-primary-secondary-or-rtde-interface/17545/2 "2021-11-12T07:58:36Z")

</div>

Hi Michael,

Welcome to the forum.

If you have an e-Series robot, running Software version 5.6 or higher then you can use the the dashboard server.  
[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)  
Look for the command “ **is in remote control** ”

Regards,  
Jor

---

<div class="post-metadata">

**Author:** ![michael.hofmann](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@michael.hofmann](https://forum.universal-robots.com/u/michael.hofmann)\
**Post date:** [November 12, 2021, 8:06am UTC](https://forum.universal-robots.com/t/get-local-remote-mode-of-robot-via-primary-secondary-or-rtde-interface/17545/3 "2021-11-12T08:06:15Z")

</div>

Thank you.

i tested it, and is working.

i found also the following thread, describing the issue. sorry, i haven’t found them, or misread them:

> [@Release of URCap SDK 1.9.0, PolyScope 5.6 and 3.12](https://forum.universal-robots.com/t/release-of-urcap-sdk-1-9-0-polyscope-5-6-and-3-12/5763):
>
> Dear valued developers, Universal Robots is delighted to announce, that we are now releasing a new software, to continuously deliver more value to you and our customers.The new release consist of: PolyScope 5.6.0 for e-Series PolyScope 3.12.0 for CB3 URCap SDK 1.9.0 including URCap API 1.9.0 for both platforms Key features The key features in this release is: Drivers URCap Gripper Drivers Support for Grip Detection and Release Detection See updated example “Advanced Gripper” for implem…

Never the less, a flag with RTDE or Primary-Interface would be nice. Now I have to poll the robot to know what is happening.
