Chengdu Ebyte Electronic Technology Co.,Ltd
E821-RTU (0400-ETH)User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
13
3.
Modbus
3.1 Register Address Table
Register Address Table (Function table: 0x03H, 0x04H, 0x06H, 0x10H)
Register
Address
Number
of
registers
Register properties
Register
type
Register
value range
Default value
Function
Code
30017 (0x0010)
1
AI4 Input value/uA
Read only
0-20000
-
0x03
0x04
30018 (0x0011)
1
AI3 Input value/uA
Read only
-
30019 (0x0012)
1
AI2 Input value/uA
Read only
-
30020 (0x0013)
1
AI1 Input value/uA
Read only
-
Reserve
40078
(0x004D)
1
Device address
Read/Write
1 - 247
01
0x03
0x06
40079
(0x004E)
1
Baud rate
Read/Write
0 - 7
03
40080 (0x004F)
1
Parity bit
Read/Write
0 - 2
00
40081(0x0050)
1
Master mode or
slave mode
Read/Write
0 - 1
01
Reserve
40084(0x0053)
1
Set Analog range
Read/Write
0 - 1
01
Reserve
40098 (0x0061)
3
Set MAC address
Read
-
-
0x03
0x06
0x10
40104 (0x0067)
1
Ethernet restart
Read/Write
-
-
40108
(0x006B)
7
WAN port IP info
Read/Write
-
Static
192.168.4.101
255.255.255.0
192.168.4.1
40122 (0x0079)
4
Set DNS info
Read/Write
-
61.139.2.69
192.168.4.1
40130 (0x0081)
4
Set Network protocol
parameters
Read/Write
-
TCPS,192.168.
4.10, 8886
40146 (0x0091)
1
Set registration
package mode
Read/Write
0-4
“0” Close the
registration
package
40150 (0x0095)
21
Set registration
package content
Read/Write
-
regist msg
40234
(0x00E9)
21
Set heartbeat
package content
Read/Write
-
heartbeat msg
40318
(0x013D)
1
Set heartbeat
package mode
Read/Write
0-1
“0” Network
heartbeat
package
40322 (0x0141)
1
Set heartbeat time
Read/Write
0
、
2-65535
0
40330 (0x0149)
1
Set clear cache
Read/Write
0-1
Do not clear
the cache data
of the
SOCKET A1
link
40336 (0x014F)
3
Set keep-alive
parameters
Read/Write
-
Detection time:
10s, Detection
interval: 5s,
Detection
times: 30