156
SV200 DC Hardware Manual
920-0126A
4/14/2017
9.3.8.3 Function Code 0X10, Writing Multiple Registers
To write target distance 30000 into drive Node ID 10, the corresponding register address is 40031. Transferred into hexadecimal, it is
7530h.
Communication Details are as follows:
Command Message (Master)
Response Message (slave)
Function
Data
Number Of Bytes
Function
Data
Number Of Bytes
Slave Address
0AH
1
Slave Address
0AH
1
Function Code
10H
1
Function Code
10H
1
Starting Data Address
00H (High)
1EH (Low)
2
Starting Data Address
00H (High)
1EH (Low)
2
Number of Data
(In word)
00H (High)
02H (Low)
2
Number of Data
(In word)
00H (High)
02H (Low)
2
Number of Data
(In byte)
04H
1
CRC Check Low
20
1
Content of first Data
address
00 (High)
00 (Low)
2
CRC Check High
B5
1
Content of second Data
address
75H (High)
30H (Low)
2
CRC Check Low
70
1
CRC Check High
8F
1
Host Sending: 0A 10 00 1E 00 02 04 00 75 30 70 8F
Drive Reply: 0A 10 00 1E 00 02 20 B5
If an error is occurs, drive reply format will be: 01 90 XX CRC_L CRC_H
Where XX = 01 Function code 10 unsupported
XX = 02 Incorrect reading on driving address or number
XX = 03 Reading register address out of range
XX = 04 Reading failure