24
■
Holding Register read communication example
How to operate
Read 40 2001 to 2002 Holding Register of the AD-8551R where device address is 01 (Read the weighing value of the
weighing device).
Sent from the master
Field name
Example (Hexadecimal)
Description
Header
None
(
No communication for 3.5 characters
)
Device address
0x01
Function code
0x03
Start address(Upper)
0x07
0x07D0 = 2000
(Note that there are 40 0001fewer
addresses for communication)
Start address(Lower)
0xD0
Conversion data (Upper)
0x00
Conversion data(Lower)
0x02
Error check
0xC486
Trailer
None
(
No communication for 3.5 characters
)
Response from the device
Field name
Example (Hexadecimal)
Description
Header
None
(
No communication for 3.5 characters
)
Device address
0x01
Function code
0x03
Number of data bytes
0x04
Data 1(Upper)
0xD6
Weighing value
:
0x0012D687 =
1234567
Data 1 (Lower)
0x87
Data 2(Upper)
0x00
Data 2 (Lower)
0x12
Error check
0xF25F
Trailer
None
(
No communication for 3.5 characters
)