Modbus Rtu Control - Ebyte ME31-AAAX2240 User Manual

I/o networking module
Hide thumbs Also See for ME31-AAAX2240:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
To test other function according to below table
Function (function code)
Pull in the first coil (0x05) 01 00 00 00 00 06 01 05 00 00 FF 00
Read all DI state(0x02)
Read all DO state(0x01)

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
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd
All open(0x0F)
All close(0x0F)
Function (function code)
Pull in the first coil (0x05) 01 05 00 00 FF 00 8C 3A
All open(0x0F)
All close(0x0F)
Read all DI state(0x02)
Read all DO state(0x01)
Command
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 02
01 00 00 00 00 06 01 01 00 00 00 04
Command
01 0F 00 00 00 04 01 0F 74 92
01 0F 00 00 00 04 01 00 3E 96
01 02 00 00 00 02 F9 CB
01 01 00 00 00 04 3D C9
ME31-AAAX2240_UserManul_EN
9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents