
Chengdu Ebyte Electronic Technology Co., Ltd.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
31
ion
ion
Receive
00 01
00 00
00 06
01
06
01 3D
00 00
Transmissi
on
identifier
Protocol
identificati
on
length
Unit
identificat
ion
Functio
n code
address
Write value
Description:
00 00
represents network heartbeat packet, the value can be: 00 01 represents serial heartbeat packet.
4.4.10
Set heartbeat package content
Modbus RTU protocol write register
:
Send
01
10
00 E9
00 15
2A
00 28 41 42 43 68 23 67 AA 00 2A 00 30 00 00
00 00 00 00 00 00 00 00 00 00 11 00 22 00 33 00 44
00 12 33 23 11 10 1D 1C 1B 1A
9D 8C
Device
ModBu
s
address
Func
tion
code
addres
s
Registe
r length
byte
coun
t
Write value
CRC
check
code
Receiv
e
01
10
00 E9
00 15
D0 32
Device ModBus address
Function
code
address
Register length
CRC check code
Modbus TCP protocol write register
:
Se
nd
00 01
00 00
00 31
01
10
00 E9
00 15
2A
00 28 41 42 43 68 23 67 AA 00 2A 00 30 00
00 00 00 00 00 00 00 00 00 00 00 11 00 22 00
33 00 44 00 12 33 23 11 10 1D 1C 1B 1A
Trans
missio
n
identif
ier
Proto
col
identi
ficatio
n
length
Unit
ident
ificat
ion
Fun
ctio
n
cod
e
addres
s
Registe
r
length
byte
cou
nt
Write value
Recei
ve
00 01
00 00
00 31
01
10
00 E9
00 15
Transmis
sion
identifier
Protocol
identifica
tion
length
Unit
identification
Function
code
address
Register length
Description: 00 means HEX, 01 means ASCII. 28 indicates the content length of the heartbeat packet. 41 42 43 68
23 67 AA 00 2A 00 30 00 00 00 00 00 00 00 00 00 00 00 00 00 11 00 22 00 33 00 44 00 12 33 23 11 10 1D 1C 1B 1A