It’s packed as a buffer string. You will need to unpack the data. UR provides the data packet structure on their website. Check out https://www.universal-robots.com/articles/ur-articles/remote-control-via-tcpip/ there is an excel spreadsheet you can download that will show how it’s packed.
I am working on a project with a UR5e and we are looking to receive some position data and force data from the arm via a python program written on a ethernet connected PC. I can connect to the arm just fine and I can receive the data over port 30003, but I am not sure where to go next. The data appears to be in a hex string format, see attached file, but I cant manage to decode it into any meaningful data. If needed I can attached some of my python code as an example of what I have tried if needed. Am I trying to get data from the correct port? Is the data in a hex string? Is there a better way to get this data from the robot? All help is appreciated, let me know if there is a better place to post this question. Thanks in advance.