Universal Robots Forum

Scripts via port 30002 - How to decode response?

Hello,

I am trying to control a UR robot remotely via port 30002 - Similar to this example. http://www.zacobria.com/universal-robots-zacobria-forum-hints-tips-how-to/script-via-socket-connection/

I am able to successfully send a movej command but the response appears to be largely binary. That article doesn’t mention how to decode the response.

Has anyone done this or know where it is documented?

Thanks!

Please refer the Client_Interface_V3.8andV5.2.xlsx file.
(https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/remote-control-via-tcpip-16496/)

Robot transmits 10 large data (680 bytes, first data is 15xx bytes) per second (10Hz) after socket connection.