Chengdu Ebyte Electronic Technology Co., Ltd.
E831-RTU (6060-ETH) User Manual
Description: 00 00 indicates static mode, and 00 01 indicates dynamic mode. C0 A8 04 65 (192.168.4.101) represents the IP
address. FF FF FF 00
( 255.255.255.0) Subnet mask. C0 A8 04 01 (192.168.4.1) Gateway address. When set to dynamic mode, the IP address, subnet
mask, and gateway address are required to be lattice, and the IP address of the device needs to be obtained through query
instructions.
4.4.5 Set up DNS information
Modbus RTU protocol writes DNS registers:
Send
01
10
00 79
00 04
08
45 C0 A8
E0 50
Provision the
ModBus address
Function
al codes
addres
s
Register
length
The
number
of word
sections
Write a value
CRC
Checksu
m code
Receivi
ng
01
10
00 79
00 04
10 13
Provision the ModBus
address
Functional
codes
address
Register length
CRC check digits
Modbus TCP protocol write register:
Se
nd
00 01
00 00
00 0F
01
10
00 79
00 04
08
3D 8B 02 45 C0 A8 04 02
transm
it
logoty
pe
agree
ment
logoty
pe
length
Unit
identificati
on
functio
n
yard
address
Register
length
The
number
of word
sections
Write a value
Receiv
ing
00 01
00 00
00 0F
01
10
00 79
00 04
Transmit the
logo
Protocol
identity
length
Unit
identification
Functional
codes
address
Register length
Description: 3D 8B 02 45 represents the preferred DNS server address. C0 A8 04 02 represents the alternate DNS server
address.
4.4.6 Set the network protocol parameters
Modbus RTU protocol writes DNS registers:
Send
01
10
00 81
00 04
08
00 00 C0 A8 04 0A 22 B6
81 3B
Provision the
ModBus address
Function
al codes
addres
s
Register
length
The
number
of word
sections
Write a value
CRC check
digits
Receivi
ng
01
10
00 81
00 04
91 E2
Provision the ModBus
address
Functional
codes
address
Register length
CRC check digits
Modbus TCP protocol write register:
00 01
00 00
00 0F
01
10
00 81
00 04
08
00 00 C0 A8 04 0A 22 B6
8
B
3
D
02
02
04