EasyManua.ls Logo

Hiwin D1-N Series - Page 269

Hiwin D1-N Series
283 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
D1-N Series Servo Drive User Manual Modbus Communication
HIWIN MIKROSYSTEM Corp. 14-5
MD17UE01-1906
Table14.2.7 is the example of reading register 0x0008. The content of register 0x0008 is 2 bytes. Its
value is 00 0Ah.
Table14.2.7
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
Register
number
Hi
00h
Lo
0Ah
Hi
C1h
Lo
01h
CRC
Lo
35h
CRC
Lo
B0h
Hi
37h
Hi
08h
(3) Writing multiple registers (10h)
This function is used to write data to the contiguous blocks of registers. 123 registers at most can be
written at the same time.
Table14.2.8
Request Data Length Value Range
Function code 1 Byte 10h
Starting address 2 Bytes 0x0000~0xFFFF
Register number 2 Bytes 1~123
Byte count 1 Byte 2 x N
Register value 2 x N Bytes
Response Data Length Value Range
Function code 1 Byte 10h
Starting address 2 Bytes 0x0000~0xFFFF
Register number 2 Bytes 1~123
Error Data Length Value Range
Error code 1 Byte 90h
Exception code 1 Byte 01h, 02h, 03h, 04h
Note:
N is the number of registers.

Table of Contents

Other manuals for Hiwin D1-N Series