ZHC4931Manual
Public
Chengdu Zongheng Intelligent Control Co., Ltd
9
www.iotrouter.com
3.5
Active reporting
3.5.1.
DO Active reporting
DO Active report enable register address
:
40017(0x0010)
Support function code:
03 (read holding register),06 (write a single holding register), 10 (write multiple holding registers)
Inquire
:
55 03 00 10 00 01 88 1B
Query response
:
55 03 02 FF FF 88 38
(
ON
)
/55 03 02 00 00 89 88
(
OFF
)
Enable
DO active reporting function
,
Actively report the value of the enable register address to DO
:
0xFFFF
Inquire
:
55 06 00 10 FF FF 84 6B
Query response
:
55 06 00 10 FF FF 84 6B
OFF
DO active reporting function
,
Actively report the value of the enable register address to DO
:
0x0000
Write in
:
55 06 00 10 00 00 85 DB
Write response
:
55 06 00 10 00 00 85 DB
DO active reporting trigger condition:
DO active reporting is enabled and DO status changes.
In particular
, when the "active report data trend" is set to Modbus TCP, the
transaction unit identifier is 0000
00 00 00 00 00 04 55 01 01 07
3.5.2.
DI actively report
DI Active report enable register address
:
40273
(
0x0110
)