
C
Y
K
Tech
www.ceyeko.com
Page 56
When the slave receives the correct, the slave sends back:
1
2
3
4
5
6
7
8
ADR
10H
Start re-
gister
address
high byte
Start re-
gister
address
low byte
Number
of regis-
ters high
byte
Number
of regis-
ters low
byte
Crc code
low byte
Crc code
high byte
When the slave receives an error, the slave sends back
1
2
3
4
5
ADR
90H
Error message
code
Crc code low
byte
Crc code high
byte
1st byte adr: slave address code (=001~254)
1st byte 90h: Write register value error function code
3rd byte information code: see information code table
4th, 5th byte: crc16 check from byte 1 to 3