
Chengdu Ebyte Electronic Technology Co., Ltd.
Distributed IO Host (M31 Series) User Manual
Copyright © 2012 , Chengdu Ebyte Electronic Technology Co., Ltd.
7
Other functions can be tested through the commands in the following table.
Function (function code)
instruction
Pull in the first line loop
(0x05)
01 00 00 00 00 06
01 05 00 00 FF 00
Fully open command (0x0F)
02 00 00 00 00 08
01 0F 00 00 00 04
01 0F
Full close command (0x0F)
02 00 00 00 00 08
01 0F 00 00 00 04
01 00
Read all DI status (0x02)
01 00 00 00 00 06
01 02 00 00 00 0 4
Read all DO status (0x01)
01 00 00 00 00 06
01 01 00 00 00 04
2.4.2. Modbus RTU control
Use the serial port assistant to control the first DO output of M31-AAAX4440G .
Other functions can be tested through the commands in the following table.
Function (function code)
instruction
Pull in the first line loop (0x05)
01 05 00 00 FF 00 8C 3A
Fully open command (0x0F)
01 0F 00 00 00 04 01 0F 7E 92
Full close command (0x0F)
01 0F 00 00 00 04 01 00 3E 96
Read all DI status (0x02)
01 02 00 00 00 04 79 C9
Read all DO status (0x01)
01 01 00 00 00 04 3D C9