New in the Community? Get started here

Schneider Electric Exchange Community

Discuss and solve problems in energy management and automation. Join conversations and share insights on products and solutions. Co-innovate and collaborate with a global network of peers.

Register Now
Building Automation Knowledge Base
Showing results for 
Show  only  | Search instead for 
Did you mean: 
PSST, your community homepage is getting a new face - stay tuned and experience the change in few days

What is the difference between the two types of Floating point functions in the Modbus RTU X Driver?


What is the Intel Floating point number as used in the Modbus X Driver?


Modbus RTU X Driver


It is not clear how the two special floating point function codes vary.


There are two different floating point data formats (248 & 245) these are both standard 32 bit floating point numbers but the data bits stored in memory (or read over the protocol) differently.

The 32 bits of Function 248 are stored as one string of bits, bit 0 through to bit 31.

For the 245 format the upper and lower words are swapped around, so it stores the data as bits 15 to 0, then bits 31 to bit 16. This format is called Intel format as it is the way Intel microprocessors handle floating point data.

Here is a link to information on floating point numbers FYI:

These 2 formats can also be called Big Endian (Function 248), or Little Endian (Function 245). Little Endian is also known as the Intel format.
Information on Endianness can be found at:

Tags (3)
Labels (1)
No ratings