
Chengdu Ebyte Electronic Technology Co., Ltd.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
33
Modbus TCP protocol write register
:
Send
00 01
00 00
00 06
01
06
01 49
00 00
Transmissio
n identifier
Protocol
identificat
ion
length
Unit
identificat
ion
Functio
n code
address
Write value
Receive
00 01
00 00
00 06
01
06
01 49
00 00
Transmissi
on
identifier
Protocol
identificati
on
length
Unit
identificat
ion
Functio
n code
address
Write value
Description: 00 00
means that the cache data of the SOCKET A1 link is not cleared, and 00 01 means that the
cache data of the SOCKET A1 link is cleared, but the serial cache data is not cleared.
4.4.13
Set keep-alive parameters
Modbus RTU protocol write register
:
Send
01
10
01
4F
00 03
06
02 D1 02 D1 00 31
BD 3D
Device ModBus
address
Functi
on
code
addr
ess
Register
length
byte count
Write value
CRC check code
Receiv
e
01
10
01 4F
00 03
B0 23
Device ModBus address
Function
code
address
Register length
CRC check code
Modbus TCP protocol write register
:
Send
00 01
00 00
00 0D
01
10
01 4F
00 03
06
02 D1 02 D1 00 31
Transmis
sion
identifier
Protocol
identificati
on
length
Unit
identific
ation
Functio
n code
addre
ss
Register
length
byte
count
Write value
Recei
ve
00 01
00 00
00 0D
01
10
01 4F
00 03
Transmis
sion
identifier
Protocol
identifica
tion
length
Unit
identification
Function code
address
Register length