K
Hi
I am writing a modbus RTU application in which I am using Holding register (03) command primarily. This application is a Modbus RTU slave and sends data point values to the master.
Few of my data points are signed 32 bit numbers. I am wondering how to assign registers for these 32bit data points? Since each modbus register can be used store a 16 bit number, in the case of 32 bit number should I use two registers?
For Example: 32Bitdata - mapped to 40001 and 40002 something like this? I would appreciate if any one could comment on this. Thanks in advance for the help
Kelly
I am writing a modbus RTU application in which I am using Holding register (03) command primarily. This application is a Modbus RTU slave and sends data point values to the master.
Few of my data points are signed 32 bit numbers. I am wondering how to assign registers for these 32bit data points? Since each modbus register can be used store a 16 bit number, in the case of 32 bit number should I use two registers?
For Example: 32Bitdata - mapped to 40001 and 40002 something like this? I would appreciate if any one could comment on this. Thanks in advance for the help
Kelly