EasyManua.ls Logo

Ebyte ME31-AAAX2240 - Modbus RTU Control

Ebyte ME31-AAAX2240
34 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-AAAX2240_UserManul_EN
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd 9
To test other function according to below table
Function (function code)
Command
Pull in the first coil (0x05)
01 00 00 00 00 06 01 05 00 00 FF 00
All open(0x0F)
02 00 00 00 00 08 01 0F 00 00 00 04 01 0F
All close(0x0F)
02 00 00 00 00 08 01 0F 00 00 00 04 01 00
Read all DI state(0x02)
01 00 00 00 00 06 01 02 00 00 00 02
Read all DO state(0x01)
01 00 00 00 00 06 01 01 00 00 00 04
2.4.2 Modbus RTU control
Use serial port assistant to control ME31-AAAX2240, first channel DO output.
To test other function according to below table
Function (function code)
Command
Pull in the first coil (0x05)
01 05 00 00 FF 00 8C 3A
All open(0x0F)
01 0F 00 00 00 04 01 0F 74 92
All close(0x0F)
01 0F 00 00 00 04 01 00 3E 96
Read all DI state(0x02)
01 02 00 00 00 02 F9 CB
Read all DO state(0x01)
01 01 00 00 00 04 3D C9