1.

How Are Real (floating Point) And 32-bit Data Encoded In Modbus Rtu Messages?

Answer»

The Modbus RTU 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.

The Modbus RTU 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.



Discussion

No Comment Found