CalcKiwi
/IT & Engineering

Modbus Register & IEEE 754 Converter

Decode 32-bit Float & Int values, swap endianness (ABCD, CDAB, BADC, DCBA), PDU offsets, and CRC-16.

IEEE 754 32-Bit Float & Register Reordering

·····
0x
Dec: 17142 | Signed: 17142
0x
Dec: 59769 | Signed: -5767
0x
Dec: 0 | Signed: 0
0x
Dec: 0 | Signed: 0
32-Bit Decoded Numerical Values
IEEE 754 Float32
123.456001
Single Precision (IEEE 754)
Signed Int32
1,123,477,881
Int16×2: 17142 / -5767
Unsigned UInt32
1,123,477,881
UInt16×2: 17142 / 59769
Raw 32-Bit Hex
0x42F6E979
4 Bytes / 32 Bits
32-Bit Binary Representation:
01000010 11110110 11101001 01111001
ASCII interpretation of bytes
B··y
IEEE 754 bit-field breakdown
Sign (1 bit): 0 (+)
Exponent (8 bit): 133 (biased 6)
Mantissa (23 bit): 0x76E979
Per-register details
Reg1: 0x42F6 = 17142 / 17142 · 01000010 11110110
Reg2: 0xE979 = 59769 / -5767 · 11101001 01111001
Reg3: 0x0000 = 0 / 0 · 00000000 00000000
Reg4: 0x0000 = 0 / 0 · 00000000 00000000

64-bit decoded values

Reg1–Reg4 · ABCD
IEEE 754 Float64
403072211746816
Double precision (IEEE 754)
Signed Int64
4,825,300,756,674,379,776
−2⁶³ … 2⁶³−1
Unsigned UInt64
4,825,300,756,674,379,776
0 … 2⁶⁴−1
Combined 64-bit Hex
0x42F6E97900000000
8 Bytes / 64 Bits
64-bit binary representation:
01000010 11110110 11101001 01111001 00000000 00000000 00000000 00000000

Encode value into registers

Engineering value (raw × k + b)

Int32 × k + b
1123477881

About this calculator

Decode Modbus registers: IEEE 754 floats, 16/32/64-bit integers with ABCD/CDAB/BADC/DCBA byte orders, PLC address translation, RTU frame builder with CRC-16 and a full frame parser.

Frequently asked questions

What is Modbus RTU?

A serial protocol where a master reads and writes registers on slave devices; each request carries slave ID, function code, data and CRC-16.

Why is my float value wrong?

Almost always byte or word order: try CDAB (word swap, common on Schneider/Modicon) or DCBA/BADC before doubting the data.

What is a PDU offset?

The 0-based protocol address; vendors display it as 40001-style PLC addresses, and this tool converts both ways.