
Chengdu Ebyte Electronic Technology Co., Ltd.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
32
indicates the contents of the heartbeat package. For example, the content of the heartbeat packet is: ebyte, and the value
written is 01 05 65 62 79 74 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
4.4.11
Set heartbeat time
Modbus RTU protocol write register
:
Send
01
06
01 41
01 AA
59 CD
Device ModBus
address
Function
code
address
Write value
CRC check code
Receive
01
06
01 41
01 AA
59 CD
Device ModBus
address
Function
code
address
Write value
CRC check code
Modbus TCP protocol write register
:
Send
00 01
00 00
00 06
01
06
01 41
01 AA
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 41
01 AA
Transmissi
on
identifier
Protocol
identificati
on
length
Unit
identificat
ion
Functio
n code
address
Write value
Description
:
00 00
indicates the heartbeat packet time, and 00 00 indicates that the heartbeat packet is closed. The
value cannot be 1, and the range is 2-65535.
4.4.12
Empty the cache
Modbus RTU protocol write register
:
Send
01
06
01 49
00 00
59 E0
Device ModBus
address
Function
code
address
Write value
CRC check code
Receive
01
06
01 49
00 00
59 E0
Device ModBus
address
Function
code
address
Write value
CRC check code