Modbus connection parameters

- Byte Order:
- Little Endian
- The least significant byte is stored first (e.g.
0x1234
→34 12
)
- The least significant byte is stored first (e.g.
- Big Endian
- The most significant byte is stored first (e.g.
0x1234
→12 34
)
- The most significant byte is stored first (e.g.
- Little Endian
- Bit Order:
- Standard
- Bits are ordered from the most significant bit (bit 7) to the least significant bit (bit 0).
Example:0b10000000
→ bit 7 is1
, bit 0 is0
.
- Bits are ordered from the most significant bit (bit 7) to the least significant bit (bit 0).
- Reverse
- Bits are ordered from the least significant bit (bit 0) to the most significant bit (bit 7).
Example:0b10000000
→ bit 0 is1
, bit 7 is0
.
- Bits are ordered from the least significant bit (bit 0) to the most significant bit (bit 7).
- Standard
- Single value write only:
- This option switches between multiple write class and single write class
FC5 “Force Single Coil” & FC6 “Preset Single Register” X FC15 “Force Multiple Coil” & FC16 “Preset Multiple Registers”
Address mapping
In our system, we use a short or symbolic addressing format to simplify working with Modbus registers. For example:
- H:0 refers to Modbus address 40001
- H:1 = 40002, H:7 = 40008, etc.
Type | Modicon Address Range | Access | Short Address Prefix | Example |
---|---|---|---|---|
Discrete Outputs (Coils) | 00001–09999 | Read / Write | O: (Output) | O:0 → 00001 |
Discrete Inputs | 10001–19999 | Read-only | I: (Input) | I:0 → 10001 |
Input Registers | 30001–39999 | Read-only | R: (Register/Input) | R:0 → 30001 |
Holding Registers | 40001–49999 | Read / Write | H: (Holding) | H:0 → 40001 |
Currently our Modbus communication protocol doesn’t support string read / write only numerical values