Wan Port Ip Info Configuration; Set Dns - Ebyte E821-RTU User Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd
00 01
Receive
Transmission
identifier
Special note: You can restart the Ethernet component by writing the value 0X00 01 to the address 0X00 67. After
the Ethernet parameters have been configured, you have to execute the restart command. Otherwise, the configured
parameters will not take effect.

4.3.4 WAN port IP info configuration

Modbus RTU protocol write WAN port IP register:
01
10
Send
Device
Function
ModBus
code
address
01
Receive
Device ModBus
address
Modbus TCP protocol write register:
00 01
00 00
Se
Transmis
nd
Protocol
sion
identifier
identifier
00 01
Recei
Transmission
ve
identifier
Note: 00 00 is static mode, 00 01 is dynamic mode, C0 A8 04 65 ( 192.168.4.101 ) is IP address. FF FF FF 00
(255.255.255.0) is subnet mask. C0 A8 04 01(192.168.4.1) is gateway addres. When set to dynamic mode, the IP
address, subnet mask, and gateway address are required for the format. The IP address of the device needs to be obtained
through the query command.

4.3.5 Set DNS

Modbus RTU protocol write DNS register:
Send
01
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
00 00
00 06
Protocol
Length
identifier
00 6B
00 07
Register
Address
Length
10
Function
code
00 15
01
Unit
Length
identifier
00 00
00 15
Protocol
Length
identifier
identifier
10
00 79
01
06
Unit
Functio
identifier
n code
00 00 C0 A8 04 65 FF FF FF 00 C0 A8 04
0E
Number
of bytes
00 6B
Address
10
00 6B
00 07
Function
Register
Address
code
Length
01
10
Unit
Function
code
00 04
08
E821-RTU (0400-ETH)User Manual
00 67
Transmission
Address
01
Write value
00 07
Register Length
CRC check code
00 00 C0 A8 04 65 FF
0E
FF FF 00 C0 A8 04 01
Number
Write value
of bytes
00 6B
Address
3D 8B 02 45
C0 A8 04 02
00 01
identifier
BE 17
CRC
check
code
F0 17
00 07
Register
length
E0 50
20 20

Advertisement

Table of Contents
loading

Table of Contents