Chengdu Ebyte Electronic Technology Co.,Ltd
ME31-AXXX8000_UserManual_CN
Copyright ©2012–2023
,
Chengdu Ebyte Electronic Technology Co.,Ltd
19
After sending the above command to the device through the 485 bus, the device will return the following values:
01
05
00 00
FF 00
8C 3A
Modbus address
Function code
Register first address
Operation method
CRC check code
DO1 coil conduction
Use the 0F function code as the command to write multiple coils, for example:
01
0F
00 00
00 04
01
0F
7E 92
Modbus
address
Function
code
Starting
address
Coil number
Number of
bytes of data
Data of control
coil
CRC check
code
After the above command is sent to the device through the 485 bus, the device will return the following values
01
0F
00 00
OO O4
54 08
Modbus address
Function code
Register address
Coil number
CRC check code
All coils are conducted.
3. Read Holding register
Use the 03 function code to read one or more register values, for example:
01
03
05 78
00 01
04 DF
Modbus address
Function code
Register first
address
Quantity of register read
CRC check code
After the above command is sent to the device through the 485 bus, the device will return the following values:
01
03
02
00 00
B8 44
Modbus address
Function code
Number of bytes of
data
Data returned
CRC check 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.
Use the 06 function code to write a single Holding register, for example: set the working mode of DO1 to pulse
mode
01
06
05 78
00 01
C8 DF
Modbus address
Function code
Register address
Write value
CRC check code
Содержание ME31-AXXX8000
Страница 1: ...ME31 AXXX8000 I O Networking Module...