How can I decode the controller's response message?

I asked this awhile back but couldn’t find an answer; I want to try one more time.


  • I moved a UR simulator by using a Python client to send movej([0, 0, 0, 0, 0, 0], a=1.0, v=1.0)\n over the network via TCP/IP sockets.

  • The simulator sent back a string of binary data in hexadecimal format in an unknown encoding.

    \x00\x00\x007\x14\xff\xff\xff\xff\xff\xff\xff\xff\xfe\x03\tURControl\x05\r\x00\x00\x00\x00\x00\x00\x00\x0013-10-2022, 09:22:44\x00\x00\x00\x18\x14\xff\xff\xff\xff\xff\xff\xff\xff\xfe\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x01
  • I’m trying to understand how to decode it into a human readable format. I’d like to potentially send it something like get_controller_temp()\n and access the data.

I figured it out.

If anyone is interested in learning about I wrote an explanation and demo.

1 Like

Hi, I looked it up some time ago without success. So thank you a lot for your solution :smiley: