Tuesday, 6 March 2012

Floating Point Numbers in Modbus

Modbus was not designed to transport floating point numbers. After the protocol was released and in use – some people came up with a scheme to using two consecutive 16 bit registers to transport one floating point number. The scheme is essentially a set of rules for interpreting the bits in the 2x registers as the elements of a floating point number(like a mini protocol). Other people came up with other schemes.

One of these schemes has come to dominate. It is called standard IEEE754.

Some devices (servers) do not support floating point numbers.

Many clients (masters) do not support floating point numbers.

A master and a server must use the same floating point scheme to work together.
Read more in Appendix.

Scaling in Modbus

No comments:

Post a Comment