Universal Robots Forum

Check control mode via socket for e-series

What is the best way to check the control mode status via any of the socket connections?

As pointed out at page dashboard-server-e-series-port-29999-42728 will the dashboard socket respond with a warning if the robot is put in local control mode. So this can be used as an ugly way to check for control mode status. Are there any nicer ways?

I’m sorry for adding one additional question:
Is there another way to switch between local and remote control mode than to use the toggle button at the top right
corner, e.g. by using script code, an URCap interface,…?