Good day,
I have been able to use modbus RTU read from a slave. But now need to read from a Slave device that uses ENRON stlye modbus.
Where registers 1001-1999 are boolean, 3001-3999 are int (16bit) data, 5001 - 5999 are long int (32bit) and 7001 - 7999 are float (32bit). Where each individual address (read on FC03) is that specific data type.
I've tried looking for a way to just view the data incomming on the serial port to attempt to decode myself but have been unsuccessful in this. The thought being if I can match the first 16bits of 32bit data together from watching the modbus data and a standard read request I can match up the remaining data specifically for the float and long integar data.
For reference this is on an Opto Groov Epic with a CSERI-4 card installed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good day,
I have been able to use modbus RTU read from a slave. But now need to read from a Slave device that uses ENRON stlye modbus.
Where registers 1001-1999 are boolean, 3001-3999 are int (16bit) data, 5001 - 5999 are long int (32bit) and 7001 - 7999 are float (32bit). Where each individual address (read on FC03) is that specific data type.
I've tried looking for a way to just view the data incomming on the serial port to attempt to decode myself but have been unsuccessful in this. The thought being if I can match the first 16bits of 32bit data together from watching the modbus data and a standard read request I can match up the remaining data specifically for the float and long integar data.
For reference this is on an Opto Groov Epic with a CSERI-4 card installed.