
Chengdu Ebyte Electronic Technology Co., Ltd.
【
4DI+2DO
】
MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
34
20
05
00 00
FF 00
XX XX
Device ModBus
address
function code
Register address
Data written
Coil action: conduction
CRC check code
After sending the above command to the device via the 485 bus, the device will return the following values:
20
05
00 00
FF 00
XX XX
Device ModBus
address
function code
Register address
Write value
CRC check code
The DO1 coil is turned on.
7.2.6 Write multiple DO coil states
Use 0F function code to write a single command, for example: set the working mode of DO1 to pulse mode
20
0F
00 00
00 04
01
06
XX XX
Device ModBus
address
function
code
starting
address
Number of coils
Number of
bytes of data
Control coil
data
(bit operation)
CRC check
code
After sending the above command to the device via the 485 bus, the device will return the following values:
20
0F
00 00
OO O4
XX XX
Device ModBus
address
function
code
Register address
Number of coils
CRC check
code
The coils of DO2 and DO3 are turned on.
Summary of Contents for MA01-AXCX4020
Page 1: ...4DI 2DO MA01 AXCX4020...