User manual
95
POWER INSTRUMENTS
2. Read the Status of DI (Function Code 02)
1=On, 0=Off.
There are 4 DIs. The Address of each DI is DI1=0000H, DI2=0001H,
DI3=0002H and DI4=0003H.
The following query is to read the 4 DI Status of Number 17 DPMS XPQ.
Query
Addr Fun DI start
addr hi
DI start
addr lo
DI num
hi
DI num
lo
CRC 16
Hi
CRC 16
Lo
11H 02H 00H 00H 00H 04H 7BH 59H
Table 5.6 Read 4 DIs Query Message
Response
The meter response includes its address, function code, quantity of data
characters, the data characters, and error checking. An example response to
read the status of 4 DIs is shown as Table 5.7. The status of each is responding
to the last 4 bit of the data.
DI1: bit0 DI2: bit1 DI3: bit2 DI4: bit3
Address Function code Byte count Data CRC high CRC low
11H 02H 01H 03H E5H 49H
Table 5.7 Read Status of DI
The content of the data is,
7 6 5 4 3 2 1 0
0 0 0 0 0 0 1 1
MSB LSB
DI1=On, DI2=On, DI3=Off, DI4=Off










