Why Modbus byte order is so confusing
Modbus itself only defines how a single 16-bit register is transmitted (high byte first). It says nothing about how a device should combine multiple registers into a 32-bit or 64-bit value. Every vendor picked their own convention, and four naming schemes ended up dominating: ABCD (big-endian, the most common), DCBA (little-endian), BADC (byte-swapped) and CDAB (word-swapped). If your temperature reading comes back as 6,543,321.0 instead of 23.5, you almost certainly have the right registers and the wrong order.
What this tool checks
- CRC-16 verification for RTU frames, so you know immediately if a capture is corrupted before debugging anything else.
- Function code decoding for the common read/write codes, including exception responses with the actual error meaning.
- Register reinterpretation as uint16/int16/uint32/int32/uint64/int64/float32/float64 (double) across all four byte orders at once.
- ASCII decoding for registers that carry device names, serial numbers or firmware strings instead of numbers.
- A value finder — type the reading you expect (e.g.
23.5) and the tool searches the frame for a byte-order match, so you don't have to eyeball every column.
Frequently asked questions
What's the difference between Modbus RTU and Modbus TCP?
RTU is the original serial variant (RS-485/RS-232): compact binary frames ending in a CRC-16 checksum, no addressing beyond a 1-byte slave ID. TCP wraps the same function codes and data in an MBAP header (transaction ID, protocol ID, length, unit ID) and relies on TCP itself for integrity, so there's no CRC on the wire. This tool detects which one you've pasted automatically.
Why does the same register pair decode to a different value depending on order?
Because a 32-bit value is really two 16-bit registers, and there are four ways to order the four bytes involved. All four are valid IEEE-754 bit patterns — only one of them is what your specific device actually meant. That's exactly what the 32-bit and 64-bit reinterpretation tables are for: compare all four at once instead of converting by hand.
Does this handle Modbus ASCII?
Not yet — only RTU and TCP. Modbus ASCII (the third, LRC-checksummed serial variant) is rare enough in modern deployments that it wasn't worth the added complexity for a first version.
Is my data sent anywhere?
No. Parsing, CRC checking and every conversion happen entirely in your browser with plain JavaScript — nothing you paste is transmitted to Vectrolink or anyone else.