Modbus Message Format | What links here? |
Modbus RTU | ||
---|---|---|
Field | size | range of values |
slave address | 8 bits | 0-255 (1) |
function code | 8 bits | commands |
data | variable | 0 to 252 bytes |
Error check | 16 bits | CRC |
Byte | Meaning |
---|---|
1 | Slave Address |
2 | Function Code |
3 | Address of first register (high) |
4 | Address of first register (low) |
5 | Total number of registers requested (high) |
6 | Total number of registers requested (low) |
7 | CRC (low) |
7 | CRC (high) |
Byte | Meaning |
---|---|
1 | Slave Address |
2 | Function Code |
3 | Number of bytes following (not including CRC) |
4 | Byte 1 |
5 | Byte 2 |
3 + n + 1 | CRC (high) |
3 + n + 2 | CRC (low) |
filename: | embedded systems - modbus - message format - RTU |
filename: | embedded%20systems%20%2D%20modbus%20%2D%20message%20format%20%2D%20RTU |
last edit: | October 08 2019 16:50:08 (1961 days ago) |
ct | = 1740080514.000000 = February 20 2025 14:41:54 |
ft | = 1570567808.000000 = October 08 2019 16:50:08 |
dt | = 169512706.000000 |