Skip to main content
A 32-bit float travels over Modbus as two 16-bit registers, and every vendor can order the four bytes differently. Enter the two registers your PLC or SCADA reads, and the converter shows the value for all four byte orders. The row with a realistic value is the order your device uses.

How to use it

1

Read the two registers

Read both registers of the float from the device, in the order the manual lists them. Enter them as decimal (signed or unsigned) or hex, such as 0x3E00 or 1ADBh.
2

Find the realistic value

The converter highlights the byte orders that give a realistic number. Pick the one that matches what the device is measuring.
3

Use that byte order in your PLC

Swap bytes or words in your PLC program, or set the byte order in your Modbus driver, to match.

Why Modbus floats need byte swapping

The full article: ABCD vs CDAB vs BADC vs DCBA, with a real sensor example.