D2 Series Servo Drive User Manual Modbus Communication
HIWIN MIKROSYSTEM CORP. 13-5
Table13.2.6
Command Response Error
Slave address 01h Slave address 01h Slave address 01h
Function code 04h Function code 04h Error code 84h
Starting
address
Hi 00h Byte count 02h Exception code 02h
Lo 08h
Register
0x0008
Hi 00h
CRC
Lo C2h
Quantity of
registers
Hi 00h Lo 0Ah Hi C1h
Lo 01h
CRC
Lo 35h
CRC
Lo B0h Hi 37h
Hi 08h
(3) Write multiple registers (10h)
This function is used to write the data into consecutive blocks of registers in the drive. The maximum
of consecutive blocks read at the same time is 123.
Table13.2.7
Data Length Value
Request
Function code 1 Byte 10h
Starting address 2 Bytes 0x0000 - 0xFFFF
Quantity of registers 2 Bytes 1 - 123
Byte count 1 Byte 2 x N
Register value 2 x N Bytes
Response
Function code 1 Byte 10h
Starting address 2 Bytes 0x0000 - 0xFFFF
Quantity of registers 2 Bytes 1 - 123
Error
Error code 1 Byte 90h
Exception code 1 Byte 01h, 02h, 03h, 04h
Note:
N is the quantity of registers.