Chengdu Ebyte Electronic Technology Co.,Ltd.
ME31-XXXA0006_UserManual_EN
Copyright ©2012
–
2023, Chengdu Ebyte Electronic Technology Co.,Ltd.
19
4.5.2. Module related registers
4.5.3. Network related registers
Register function
Register
address
Register
type
Number Operate
Data Range/Remarks
Related function
code
Module MAC
address
0x0898
Holding
register
3
R
Device MAC parameters 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
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
0x08A2
Holding
1
RW
0x0000
static
IP R
:
0x03
Register function
Register
address
Register
type
Number Operate
Data Range/Remarks
Related function
code
Module address
0x07E8
Holding
register
1
RW
Modbus address,
1
~
247 configurable
addresses
R
:
0x03
W
:
0x06
Module model
0x07D0
Holding
register
12
R
Get the current model
R
:
0x03
Firmware version
0x07DC
Holding
register
1
R
Get firmware version
number
R
:
0x03
Module name
0x07DE
Holding
register
10
RW
Custom module name
R
:
0x03
W
:
0x10
Module restart
0x07EA
Holding
register
1
W
Write any value to
restart
W
:
0x06
Restore factory
parameters
0x07E9
Holding
register
1
W
Write random value to
restore
factory
parameters
W
:
0x06
Serial baud rate
0x0834
Holding
register
1
RW
See baud rate code table,
Default
is
9600
(0x0003)
R
:
0x03
W
:
0x06
、
0x10
Serial check digit
0x0836
Holding
register
1
RW
0x0000 no checksum
(default)
0x0001 odd parity
0x0002 even parity
R
:
0x03
W
:
0x06
、
0x10