Download User`s Manual - AMETEK Power Instruments

Transcript
POWER INSTRUMENTS
Addr
Fun
Data start
reg hi
11H
01H
00H
Data start
reg lo
Data #of
regs hi
Data #of
regs lo
CRC16
Hi
CRC16
Lo
00H
00H
02H
BFH
5BH
Table 4.4 Relay status query message
Response
The meter response includes the meter address, function code, quantity of data byte, the data,
and error checking. An example response to read the status of Relay1 and Relay2 is shown in Table
4.5. The status of Relay1 and Relay2 is responding to the last 2 bits of the data. Relay1: bit0 Relay2:
bit1.
The content of the data is,
Addr
11H
Fun
01H
Byte
count
Data
01H
02H
CRC16
Hi
CRC16
Lo
D4H
89H
Table 4.5 Relay status responds
7
6
5
4
3
2
1
0
0
0
0
0
0
0
1
0
LSB
MSB
(Relay 1 = OFF , Relay 2=ON)
2. Read the Status of DI
Function Code 02
Query
1=On 0=Off
41