Chengdu Ebyte Electronic Technology Co.,Ltd.
ME31-XAAX0440_UserManul_EN
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
21
4.9.4 Network related registers
Register
function
Register address
Register
type
Number Operation
Data range/remarks
Related
function codes
Module
MAC
address
0x0898
Holding
register
3
R
MAC parameters of the
device
R
:
0x03
Local IP
address
0x089B
Holding
register
2
RW
Default: 192.168.3.7
R
:
0x03
W
:
0x06,0x10
Native
port
0x089D
Holding
register
1
RW
1
~
65535, default: 502
R
:
0x03
W
:
0x06,0x10
Subnet
mask
address
0x089E
Holding
register
2
RW
Default: 255.255.255.0
R
:
0x03
W
:
0x06,0x10
Gateway
address
0x08A0
Holding
register
2
RW
Default: 192.168.3.1
R
:
0x03
W
:
0x06,0x10
DHCP
mode
setting
0x08A2
Holding
register
1
RW
0x0000 static IP (default)
0x0001 Obtain IP
automatically
R
:
0x03
W
:
0x06,0x10
Target
IP/domain
name
0x08A3
Holding
register
64
RW
String format into IP/domain
name
Default IP: 192.168.3.3
R
:
0x03
W
:
0x06,0x10
Server
port
0x08E3
Holding
register
1
RW
0-65535
,
default 502
R
:
0x03
W
:
0x06,0x10
DNS
server IP
address
0x08E4
Holding
register
2
RW
Default 8.8.8.8
R
:
0x03
W
:
0x06,0x10
How the
module
works
0x08E6
Holding
register
1
RW
0x0000 server mode
0x0001 client mode
R
:
0x03
W
:
0x06,0x10
Active
upload
0x08E7
Holding
register
1
RW
0x0000 is disabled, others:
1
~
65535s periodic
transmission
R
:
0x03
W
:
0x06,0x10