Ebyte ME31-AAAX2240 User Manual page 28

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

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
01
Modbus address
After the above command is sent to the device through the 485 bus, the device will return the following values:
01
Modbus address
DO1 coil conduction
Use the 0F function code as the command to write multiple coils, for example:
01
0F
Modbus
Function
address
code
After the above command is sent to the device through the 485 bus, the device will return the following values
01
Modbus address
All coils are conducted.
3. Read Holding register
Use the 03 function code to read one or more register values, for example:
01
Modbus address
Function code
After the above command is sent to the device through the 485 bus, the device will return the following values:
01
Modbus address
Function code
The above 00 00 indicates that DO1 is in level output mode.
4. Operate Holding register
Support operation of single register (06), operation of multiple registers (10) function code operation.
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd
05
Function code
Register first address
05
Function code
Register first address
00 00
00 04
Starting
Coil number
address
0F
Function code
Register address
03
05 78
Register first
address
03
Number of bytes of
data
00 00
On:FF 00
Off:00 00
00 00
Operation method
01
Number of
bytes of data
00 00
OO O4
Coil number
00 01
Number of register read
02
00 00
Data returned
ME31-AAAX2240_UserManul_EN
FF 00
8C 3A
CRC check code
FF 00
8C 3A
CRC check code
0F
Data of control
CRC check
coil
54 08
CRC check code
04 DF
CRC check code
B8 44
CRC check code
7E 92
code
26

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents