48
Chapter 6 Rs485 Communication Protocol
1.Read a single or multiple data
(
0x03
)
xx
0x03
xx
xx
xx
xx
xx
xx
ADDR
CMD
High bit of the start
Low bit of the start
High bit of data number
Low bit of data number
Check low bit of CRC
Check high bit of
CRC
Read data: Slave responding frame
xx
0x03
N*2
xx
xx
xx
xx
xx
xx
xx
ADDR
CMD
Byte number N*2
High bit of data 1
Low bit of data 1
……
High bit of data N
Low bit of data N
Check low bit of CRC
Check high bit of CRC
2. Write a single data
(
0x06
)
xx
0x06
xx
xx
xx
xx
xx
xx
ADDR
CMD
High bit of register Add.
Low bit of register Add.
High bit of write data
Low bit of write data
Check low bit of CRC
Check high bit of CRC
Write data response
:
xx
0x06
xx
xx
xx
xx
xx
xx
ADDR
CMD
High bit of register Add.
Low bit of register Add.
High bit of write data
Low bit of write data
Check low bit of CRC
Check high bit of CRC
3. Host broadcast frequency and start-stop command(0X20)
6.1 Function Protocol
Slave no response.
0x20
xx
xx
xx
xx
xx
xx
xx
Slave
ADDR
CMD
High bit of start-stop command
Low bit of start-stop command
High bit of setting frequency value
Low bit of setting frequency value
Low bit of CRC check
High bit of CRC check