MODBUS 16bit SIGNED INTEGER

To use the data as in the debug then you can do, for each item in the array
msg.payload[i] = (msg.payload[i] << 16) >> 16

1 Like