37
6.2 Modbus address table
(1) DO status (Function Code:1,5,15)
Address(Dec)
Address(Hex)
Description
Attribute
00129
0x81
If function code = 1
Read DO0
R/W
If function code = 5,15
Set DO0, 1:High, 0:Low
00130
0x82
If function code = 1
Read DO1
R/W
If function code = 5,15
Set DO1, 1:High, 0:Low
(2) DI status (Function Code:2)
Address
Data Address
Description
Attribute
00000
0x00
Read DI0
R
00001
0x01
Read DI1
R
00002
0x02
Read DI2
R
00003
0x03
Read DI3
R
00004
0x04
Read DI4
R
00005
0x05
Read DI5
R
(3) AI status(Function Code:4)
Address
Data Address
Description
Attribute
30027
0x1B
Read AI value (hex)
R
30028
0x1C
Read AI value (engineering)
R
Note:
1.
AI value(Hex) conversion formulas: AI = (AI Hex * 20) / FFF
2.
AI value(
engineering
)
conversion formulas: AI = AI(engineering)/1000
Example:
(1)
If read AI value(Hex) is
"
FF
"
AI = (FF * 20) /FFF = (255*20)/4095 = 1.25 mA
(2)
If read AI value(engineering) is "1250"
AI = 1250/1000 = 1.25mA