
C
Y
K
Tech
www.ceyeko.com
Page 55
When the slave receives the correct, the slave sends back:
1
2
3
4
5
6
7
8
ADR
06
Register
high byte
Register
low byte
Data high
byte
Data 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
86H
Error message
code
Crc code low
byte
Crc code high
byte
1st byte adr: slave address code (=001~254)
1st byte 86h: Write register value error function code
3rd byte information code: see information code table
4th, 5th byte: crc16 check from byte 1 to 3
Function code 10h: Write multiple register values consecutively
1
2
3
4
5
6
7
ADR
10H
Start regis-
ter address
high byte
Start regis-
ter address
low byte
Number of
registers
high byte
Number of
registers
low byte
Total num-
ber of data
bytes
8,9
10, 11
N, N+1
N+2
N+3
Register data 1 Register data 2 Register data m
Crc code low
byte
Crc code high
byte
Summary of Contents for LUDP
Page 12: ...CYK Tech www ceyeko com Page 12...