Modbus for Field Technicians
Page 70
For example, the number 123456.00 as defined in the IEEE 754 standard for
single-precision 32-bit floating point numbers appears as follows:
The affects of various byte orderings are significant. For example, ordering
the 4 bytes of data that represent 123456.00 in a “B A D C” sequence in
known as a “byte swap”. When interpreted as an IEEE 744 floating point data
type, the result is quite different:
Ordering the same bytes in a “C D A B” sequence is known as a “word swap”.
Again, the results differ drastically from the original value of 123456.00:
Comments to this Manuals