Back to discussions page
External Communication - Arduino/ Raspberry Pi / Laptop
/ Most recent by matthewd92
salex29 Posts: 4 Apprentice
From your raspberry pi you can read or write information in robot modbus registers.
You can easily find modbus communication library on the web. This can be done in Python for example.
To make this work you could do something like concat the variable name with the value in that variable and then send through the socket to the server where it would know how to decompile the value received into the name and value
To use the function do something like This would send a string to the socket server something like "myVariable:3" at which point you could split the string into the value and the name by splitting on the ":" delimiter.