EV/DV300 Series Power Meter
V:2.0 Revised October 2018
42
2 Read status of Digital Input (function code 02)
Query
This function is used to read the status of DI ON/OFF (1=ON, 0=OFF). The frame message
contains slave device address, function field, quantity of data characters, data characters and
error checking. The address of DI status start from 0000H (DI1=0000H, DI2=0001H,
DI3=0002H, DI4=0003H, DI5=0004H, DI6=0005H).
Table 4.6 Example of reading DI1 to DI4 status of slave device 17.
Addr
Fun
DI start
addr hi
DI start
addr lo
Data
num hi
DI num
lo
CRC16
hi
CRC16
lo
11H
02H
00H
00H
00H
04H
7BH
59H
Response
The response of DI status query includes address, function code, data count, data and error
check. All DI status relate to one byte. The DI1 to DI4 starts from the last bit of the byte (1=ON,
0=OFF). As in Table 4.7, DI1=ON, DI2=ON, DI3=OFF and DI4=OFF.
Table 4.7 Example of response to query of DI1 to DI4 status.
Addr
Fun
Byte Count
Data
CRC16
hi
CRC16
lo
11H
02H
01H
03H
E5H
49H
Data byte
Table 4.7 Response to query of DI1 to DI4
0
0
0
0
DI4
DI3
DI2
DI1
0
0
0
0
0
0
1
1
MSB
LSB
(Relay1 = OFF, Relay2=ON)
Содержание DV300 Series
Страница 1: ...EV DV300 Series Power Meter Chapter 1 Introduction V 2 0 Revised October 2018 1 Cover page...
Страница 34: ...EV DV300 Series Power Meter Chapter 3 Operation and Setting V 2 0 Revised October 2018 34...
Страница 54: ...EV DV300 Series Power Meter Appendix V 2 0 Revised October 2018 54 Appendix B Ordering Information...
Страница 55: ...EV DV300 Series Power Meter Appendix V 2 0 Revised October 2018 55...