Slave address
Function code
Start address
Recorded data
CRC code
Address Function code Start address high bit Start address low 8
bits Data high 8 bits Data low 8 bits CRC 8 bits CRC high 8 bits
01 06 10 00 07 CF CF 6E
The format of the message sent back by the slave:
Slave device
response
Slave address
Function code
Start address
Recorded data
CRC code
Address Function code Start address high bit Start address low 8
bits Data high 8 bits Data low 8 bits CRC low 8 bits CRC high 8
bits
01 06 10 00 07 CF CF 6E
1
01
1
06
2
1000
2
07CF
2
CF6E
Bit
1
1
2
2
2
Send command to the
slave with address
01H
Register record
Starting address of the
register to be
recorded
Data to be written to
register with address
1000
CRC code calculated
by the host
Sent message
01
06
1000
07CF
CF6E
Remarks
Information
from the
device with
address 01
Records of
multiple
records
Starting
address of the
register to be
recorded
Number of
written
registers
CRC code
calculated by
the slave