Re: Reading FLOAT data
Posted: 28/11/2011, 15:24
The protocol itself was designed based on devices with a 16-bit register length. Consequently, special considerations were required when implementing 32-bit data elements. This implementation settled on using two consecutive 16-bit registers to represent 32 bits of data or essentially 4 bytes of data. It is within these 4 bytes of data that single-precision floating point data can be encoded into a Modbus RTU message. Refer to the manual of your device to understand how the data are encoded in 4-byte float.