Universal Robots Forum

C + + to edit the script movement instruction

Hello, I use C + + to edit the script movement instruction, and send it to the control panel through TCP / IP protocol, and write a cycle instruction through while, but the manipulator only executes the last instruction. I don’t know why. Can you help me solve this problem?

Not sure if this is the issue, but the command should be sleep() not Sleep()
image