255
6-2-4 Modbus data format
Modbus transmission mode:
There are two transmission modes: RTU and ASCII; It defines serial transmission of bit
content in message domain; it decides how information to pack and decode; transmission
mode (and port parameters) of all devices in Modbus serial links should be the same.
Modbus-RTU data structure
1.RTU mode:
Under Modbus RTU (remote terminal unit) mode, message has two 4-bit hexadecimal
characters in every 8-bit byte. This mode has very high data density, higher throughput rate
than Modbus ASCII. Every message should be sent by continuous characters.
RTU mode frame check domain: cycle redundancy check(CRC).
RTU mode frame description:
Format:
Communication address: 8-bit binary
Function code
:
8-bit binary
Data content:
N*8-bit data, N≤8, max 8 bytes
16-bit CRC check code is consist of two 8-
bit binary
2. Modbus address
:
00H
:
All the Xinje XC series PLC broadcast—— slave stations don’t response.
01H
:
Communicate with address 01H PLC.
0FH
:
Communicate with address 15H PLC.
10H
:
Communicate with address 16H PLC and so on. Up to 254(FEH).
3. Function and DATA:
INPR(not support Xinje PLC)
tudonghoatoancau.com