ZHC4931Manual
Public
Chengdu Zongheng Intelligent Control Co., Ltd
26
www.iotrouter.com
3.8.4.
Serial heartbeat
Function description:
The serial port sends the specified data to the outside regularly
Serial heartbeat 1~4 register address:
40788~40827(0x0313~0x033A)
Support function codes:
03 (read holding registers), 10 (write multiple holding registers)
Default:
all 0x00
Each serial heartbeat instruction occupies 10 register addresses, and the allocation
space is as follows:
Chart7 Serial Heartbeat Register
Store content
Intervals
Length
Content
Length
1
1
8
ZHC4931 serial heartbeat function parameter introduction,
Chart 8 Parameters of serial heartbeat function
ITEM
Parameter range
Intervals
0~65535 Unit: s (0 is to turn off this heartbeat)
Length
16 bytes
Content
0x00~0xFF
Setting example
Inquire
:
55 03 03 14 00 28 08 40
Query response
:
55 03 50 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 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 00 00 00 00 00 00 00 00 00 00 0D 9B