How to use this on a job
Two good register reads can still produce a nonsense temperature. Modbus tells you how bytes travel inside a register; your device manual tells you how the two registers form a 32-bit value. Those are separate decisions.
- 01
Choose encode to turn a decimal REAL into four bytes, or decode to inspect four captured hexadecimal bytes. For two decimal register values, first convert each to four hex digits using the integer tool.
- 02
Choose the byte order stated by the device. A, B, C and D name the bytes from most to least significant in the canonical IEEE-754 representation. ABCD preserves them; CDAB swaps the words; BADC swaps bytes within each word; DCBA reverses all four.
- 03
Read the sign, biased exponent and fraction. The decimal result is the actual stored float32, so 0.1 does not come back as exactly 0.1. Compare a known process value before accepting an order.
Work through one example
3F 80 00 00 → 1.0
REAL 1.0 has canonical bytes 3F 80 00 00. In ABCD order the registers are 16256 and 0. In CDAB order they are 0 and 16256. The information has not changed; its placement has. Try 0.1 to see float32 rounding directly.
Before you trust the answer
A plausible value is not proof of correct byte order. Check the register map, data type and a second known operating point. Special patterns such as NaN are decoded explicitly; this tool does not replace them with zero.