Applies To:
  • CitectSCADA 3.30 3.40 4.10 5.x

Summary:
How can I switch between 4 different types of IEEE reals in the Modbus protocol? I am using a non standard Modbus I/O Device that requires a different byte ordering of reals. 

Solution:
The Floating point byte ordering can be controlled by the following parameter.

[Modbus]
FloatMode=0

Where the value of FloatMode orders the bytes as follows:

0 = 1 0 3 2 (default)
1 = 3 2 1 0
2 = 0 1 2 3
3 = 2 3 0 1

This will also work with MBPLUS, MODCELL, MOORE, MODBUSA in versions 3.30/4.1 and later.

 

Keywords:
 

Attachments