DoF - a Robotiq Community
Warning sign
The Dof Community was shut down in June 2023. This is a read-only archive.
If you have questions about Robotiq products please reach our support team.
matthewd92

You can actually send this in as multiple string commands as well so that you can use a variable in the structure, UR docs are here 

var speed=0.1
socket_open(“127.0.0.1”,30002)
socket_send_string(“set speed”)
socket_send_string(speed)
socket_send_byte(10)
socket_close()

The send byte line is needed so that the server mnows you are done sending jn the command in the command and execute, it’s the end of line character. 

This would allow you to use something in the program dynamic to drive the actual speed slider such as tying it to an digital or analog input.