Modbus register value converterModbus 寄存器数值转换
Two registers, four possible values. See all of them at once.
两个寄存器,四种可能的值。一次全看到。
Registers → value寄存器 → 数值
2 words
Separate with spaces or commas. Read as用空格或逗号分隔。按
numbers.进制解读。
Byte view字节视图
Per-register values逐寄存器读数
All interpretations of these registers这组寄存器的全部解释
Each column is one byte order. Read across a row to see how much the choice changes the answer.
每一列是一种字节序。横向对比可以看出字节序对结果影响有多大。
Which byte order do I need?该用哪种字节序?
| Order | Also called | Registers on the wire | Typical sources |
|---|---|---|---|
| ABCD | big endian, Motorola, "float AB CD" | A B · C D | Most PLCs, Siemens, Schneider, WAGO |
| CDAB | word swapped, "mid-little" | C D · A B | Many energy meters, some VFDs, older Modicon |
| BADC | byte swapped, "mid-big" | B A · D C | Less common; appears in some gateways |
| DCBA | little endian, Intel | D C · B A | PC-oriented devices, some sensors |
There is no standard that fixes this. The device manual is the only authority — and if the manual is silent, write a known value from the device itself (e.g. setpoint 50.0) and see which column reproduces it.
这一点没有统一标准,只能以设备手册为准。手册没写时,最可靠的办法是从设备侧写入一个已知值(比如设定温度 50.0),看哪一列能还原出它。