Iris _

Pixsys Forum

everybody's effort for the same goal

[TD240-11AD] Reading FLOAT data

Post Reply
Pixsys tecnico 2
Moderatore
Posts: 135
Joined: 16/12/2010, 17:46

Re: Reading FLOAT data

Post by Pixsys tecnico 2 »

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.
Post Reply