
Chengdu Ebyte Electronic Technology Co., Ltd.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
28
Modbus TCP protocol write register
:
Send
00 01
00 00
00 0F
01
10
00
79
00 04
08
3D 8B 02 45 C0 A8 04 02
Transm
ission
identifi
er
Protoc
ol
identifi
cation
lengt
h
Unit
identificati
on
Fun
ctio
n
cod
e
addr
ess
Register
length
byte
count
Write value
Recei
ve
00 01
00 00
00 0F
01
10
00 79
00 04
Transmissio
n identifier
Protocol
identificati
on
length
Unit
identification
Function code
address
Register length
Description:
3D 8B 02 45
indicates the preferred DNS server address.
C0 A8 04 02
indicates the alternate DNS server
address.
4.4.6
Set network protocol parameters
Modbus RTU protocol write DNS register
:
Send
01
10
00 81
00 04
08
00 00 C0 A8 04 0A 22
B6
81 3B
Device ModBus
address
Functio
n code
addre
ss
Register length
byte
count
Write value
CRC check
code
Receiv
e
01
10
00 81
00 04
91 E2
Device ModBus address
Function
code
address
Register length
CRC check code
Modbus TCP Protocol Write Register
:
Sen
d
00 01
00 00
00 0F
01
10
00 81
00 04
08
00 00 C0 A8 04 0A 22 B6
Transmis
sion
identifier
Protocol
identific
ation
lengt
h
Unit
identific
ation
Functi
on
code
addre
ss
Register
length
byte
count
Write value
Receive
00 01
00 00
00 0F
01
10
00 81
00 04
Transmission
identifier
Protocol
identification
length
Unit
identification
Function
code
address
Register length