EasyManua.ls Logo

Bosche WTS - Page 51

Bosche WTS
52 pages
Print Icon
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...
User manual WTS Ver.1.16
Seite 51 von 52
EXAMPLE 3
Multiple commands 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 h0F hA0 h00 h00 h0B hB8 hB3 h30
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
Byte Count
h08
Address of the first register L
h07
Datum 1 H
h00
Number of registers H
h00
Datum 1 L
h00
Number of registers L
h04
Datum 2 H
h0F
CRC16 L
hF5
Datum 2 L
hA0
CRC16 H
hC8
Datum 3 H
h00
Datum 3 L
h00
Datum 4 H
h0B
Datum 4 L
hB8
CRC16 H
hB3
CRC16 L
h30
For additional examples regarding the generation of correct control characters (CRC16) refer
to the manual Modicon PI-MBUS-300.