119
2. Read the status of DI (Function Code 02)
Query
On top of slave device address and function code, query frame must contain the digital
input register starting address and the number of registers to be read. DI register address
starts from 0000H(DI1=0000H, DI2=0001H, DI3=0002H, DI4=0003H).
Table 5-6 depicts of reading DI1 to DI4 status of the slave device with the address of 17.
Addr
Fun
DI start
addr hi
DI start
addr lo
DI num
hi
DI num
lo
CRC16
hi
CRC16
lo
11H
02H
00H
00H
00H
04H
7BH
59H
Table 5-6 Query frame of reading DI status
Response
The slave device anwsers the master device's query. The response frame contains slave
device address, function code, data quantity and CRC check.Each DI utilizes one bit(1 = ON
, 0 = OFF).Table 5-7 depicts the response frame.
Addr
Fun
Byte count
Data0
CRC16 hi
CRC16 lo
11H
02H
01H
03H
E5H
49H
Data Bytes
0
0
0
0
DI4
DI3
DI2
DI1
0
0
0
0
0
0
1
1
MSB LSB
Table 5-7 Response frame of reading DI status
Содержание AcuRev 2000
Страница 1: ...User s Manual AcuRev 2000 Smart Metering System...
Страница 2: ......
Страница 8: ...VI...
Страница 9: ...1 1 1 Meter Overview 1 2 Areas of Application 1 3 AcuRev 2000 features Chapter 1 Introduction...
Страница 15: ...7 Chapter 2 Installation 2 1 Appearance and Dimensions 2 2 Installation Methods 2 3 Wiring...
Страница 40: ...32...
Страница 93: ...85 Figure 4 7 Demand...
Страница 101: ...93 4 6 Over Under Limit Alarming Figure 4 13 Alarming in software...
Страница 104: ...96 Figure 4 15 System Event Log 4 7 System Event Log...
Страница 120: ...112 4 10 Device Information Figure 4 18 Device Information...
Страница 152: ...144 Figure 5 18...
Страница 158: ...150 Figure 5 23...
Страница 165: ...157 Request binding 1 phaseVoltageA 0 null null Response binding 1 phaseVoltageA 0 integer 0 Figure 5 29...