85
Device
address
Fun
-
ction
Register
address
Number
of registers
CRC
Hi
Lo
Hi
Lo
01h
06h
0Fh
A1h
02h
1Fh
9B94h
Response:
Table 31
Write Multiple registers (code 10h)
Example 9.
Writing value “20” and “200” to registers 1DB0h (7600)
and 1DB1h (7601)
Request:
Device address
Function
Register address.Hi
Register address.Lo
Number of registers Hi
Number of registers Lo
Number of bytes
Register value
1DB0 (7600)
Register value 1DB1
(7601)
CRC
B1
B0
B3
B2
B1
B0
B3
B2
01h 10h 1Dh B0h
00h
02h 08h 41h A0h
00h 00h
43h 48h
00h 00h
C9E2h
Device
address
Fun
-
ction
Register
address
Number
of registers
CRC
B1
B0
B1
B0
01h
10h
1Dh
B0h
00h
02h
4643h
Response:
Table 33
Report Slave ID (code 11h)
Example 10.
Report slave ID
Request:
Device address
Function
CRC
01h
11h
C02Ch
Table 32
Table 34