ZHC4931Manual
Public
Chengdu Zongheng Intelligent Control Co., Ltd
6
www.iotrouter.com
3.
Product Features
3.1.
DO Output
For specific wiring, please refer to "ZHC4931 Wiring Process Manual".
Register address range
:
00017
(
0x0010
)
Support function code: 01 (read coil), 05 (write single coil)
Enquiry
:
55 01 00 10 00 01 F1 DB
Query response
:
55 01 01 01 80 78
Control closure
:
55 05 00 10 FF 00 80 2B
Response
:
55 05 00 10 FF 00 80 2B
Control disconnect
:
55 05 00 10 00 00 C1 DB
Response
:
55 05 00 10 00 00 C1 DB
3.2.
DI Input
3.2.1.
Level detection
Register address range
:
10017~10020
(
0x0010~0x0013
)
Support function code: 02 (read discrete input)
Detection level:
The default state of xxxxxw is 1, and the state after input signal is 0. The
detection method is 02 function code of Modbus protocol.
Take the first detection as an example:
Enquiry:
55 02 00 10 00 01 B5 DB
Query response:
(0 detected)
:
55 02 01 00 B1 B8