Chengdu Ebyte Electronic Technology Co.,Ltd
ME31-AXXX8000_UserManual_CN
Copyright ©2012–2023
,
Chengdu Ebyte Electronic Technology Co.,Ltd
17
4.6.3 Network related register
Register function
Register
address
Register
type
Quantity Operation
Data Range/Remarks
Related
function codes
Module
MAC
address
0x0898
Holding
register
3
R
Device MAC parameter R
:
0x03
Local IP address
0x089B
Holding
register
2
RW
Default
:
192.168.3.7
R
:
0x03
W
:
0x06
、
0x10
Local port
0x089D
Holding
register
1
RW
1
~
65535
,
default
:
502
R
:
0x03
W
:
0x06
、
0x10
Subnet mask
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
configuration
0x08A2
Holding
register
1
RW
0x0000
static
IP
(
default
)
0x0001
automatically
get IP
R
:
0x03
W
:
0x06
、
0x10
Target IP/Domain
Name
0x08A3
Holding
register
64
RW
Store in strings
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
Module operating
mode
0x08E6
Holding
register
1
RW
0x0000 server mode
0x0001 client mode
R
:
0x03
W
:
0x06
、
0x10
Active upload
0x08E7
Holding
register
1
RW
0x0000 prohibited
,
Other
:
R
:
0x03
W
:
0x06
、
0x10
Module name
0x07DE
Holding
register
10
RW
Define module name
R
:
0x03
W
:
0x10
Module reset
0x07EA
Holding
register
1
W
Enter any value to reset
W
:
0x06
Restore factory
parameter
0x07E9
Holding
register
1
W
Enter any value to
restore
W
:
0x06
Serial baud rate
0x0834
Holding
register
1
RW
See the baud rate code
table
,
Default 9600
(
0x0003
)
R
:
0x03
W
:
0x06
、
0x10
Serial check digit
0x0836
Holding
register
1
RW
0x0000 none
(
default
)
0x0001 odd
0x0002 even
R
:
0x03
W
:
0x06
、
0x10