Modbus Rtu Control - Ebyte M31 Series User Manual

Distributed io host
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
Other functions can be tested through the commands in the following table.

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)
Pull in the first line loop (0x05)
Fully open command (0x0F)
Full close command (0x0F)
Read all DI status (0x02)
Read all DO status (0x01)
Copyright © 2012 , Chengdu Ebyte Electronic Technology Co., Ltd.
Function (function code)
Pull in the first line loop
(0x05)
Fully open command (0x0F)
Full close command (0x0F)
Read all DI status (0x02)
Read all DO status (0x01)
Distributed IO Host (M31 Series) User Manual
instruction
01 00 00 00 00 06
01 05 00 00 FF 00
02 00 00 00 00 08
01 0F 00 00 00 04
01 0F
02 00 00 00 00 08
01 0F 00 00 00 04
01 00
01 00 00 00 00 06
01 02 00 00 00 0 4
01 00 00 00 00 06
01 01 00 00 00 04
instruction
01 05 00 00 FF 00 8C 3A
01 0F 00 00 00 04 01 0F 7E 92
01 0F 00 00 00 04 01 00 3E 96
01 02 00 00 00 04 79 C9
01 01 00 00 00 04 3D C9
7

Advertisement

Table of Contents
loading

Table of Contents