I have successfully connect rapidscada to modbus device with function 3. And now, I have problem for reading some function, it’s explained that one modbus address can be divided to some output.
Mains low voltage
Mains high voltage
Bus failed to close
Bus failed to open
Please look above data, it divide 16 bit data to represent 4 output. How can I achieve that with rapidscada?
Sorry for my English, I hope I can explain it better.
I need to read alarm from register offset 2048. But manufacturer put it 4 alarm at one register 16 bit. So 1-4 bit is High Oil Temperature, 5-8 High Coolant Temperature, 9-12 Low Oil Pressure, 13-16 Emergency Stop. And modbus device will return value from 0-15 depending on alarm condition. So I need to read 1-4 bit of register offset 2048. what formula it is I can use?