Universal Robots Forum

RTDE start script

Hello,
I have a script setup and loaded on the UR10. I would like to send a command using RTDE to tell the Robot to execute the script loaded, without having to send one from the computer. How can I achieve that? (I’m currently using the python SDK)
Thank you

Hi Nabil,

Welcome to the UR Forum! I’m assuming you want to create a Python script that as part of its process starts the loaded program on the robot? RTDE does not have that as a controller input directly, but you could always set one of your Digital Inputs on the robot side to play the program, then trigger that input via RTDE (just make sure your robot is in Remote Control mode).

Otherwise your best bet would be to open a socket to the Dashboard server and send a “play” command to start the program. You can see more information on the Dashboard server below:
https://www.universal-robots.com/articles/ur/dashboard-server-e-series-port-29999/