Example 3 – Rice Lake Signal Conditioning Transmitter/Indicators User Manual
Page 65
Operation 61
Example 3
Multiple command reading for registers (hexadecimal command 3, h03):
Assuming that we wish to read the two gross weight values (in the example 4000) and net weight values (in the
example 3000), reading from address 40008 to address 40011 must be performed by sending the following string:
H01 h03 h00 h07 h00 h04 hF5 hC8
The instrument will respond with the string:
H01 h03 h08 h00 h00 hF hA0 h00 h00 h0B hB8 h12 h73
For additional examples regarding the generation of correct control characters (CRC16) refer to the manual
Modicon PI-MBUS-300.
Query Field Name
Hex
Response Field Name
Hex
Instrument Address
h01
Instrument Address
h01
Function h03
Function
h03
Address of the first register H
h00
Address of the first register H
h08
Address of the first register L
h07
Address of the first register L
h00
Number of registers to send H h00
Datum 1 H
h00
Number of registers to send L h04
Datum 1 L
h00
CRC16 H
hF5
Datum 2 H
h0F
CRC16 L
hC8
Datum 2 L
hA0
Datum 3 H
h00
Datum 3 L
h00
Datum 4 H
h0B
Datum 4 L
hB0
CRC16 H
h12
CRC16 L
h73