
- 57 -
COMMUNICATION EXAMPLES
The numerical data below are expressed in hexadecimal notation with prefix h.
EXAMPLE 1
Command for multiple writing of registers (command 16, h10 hexadecimal):
Assuming that we wish to write the value 0 to the register 40019 and the value 2000 to the register
40020, the string to generate must be:
h01 h10 h00 h12 h00 h02 h04 h00 h00 h07 hD0 h70 hD6
The instrument will respond with the string:
h01 h10 h00 h10 h00 h02 h40 h0D
Query field name
hex
Response field name
hex
Instrument address
h01
Instrument address
h01
Function
h10
Function
h10
Address of the first register H
h00
Address of the first register H
h00
Address of the first register L
h12
Address of the first register L
h12
Number of registers H
h00
Number of registers H
h00
Number of registers L
h02
Number of registers L
h02
Byte count
h04
CRC16 L
hE1
Datum 1 H
h00
CRC16 H
hCD
Datum 1 L
h00
Datum 2 H
h07
Datum 2 L
hD0
CRC16 L
h70
CRC16 H
hD6