Ebyte MA01-AXCX4020 User Manual page 35

Wireless modem
Hide thumbs Also See for MA01-AXCX4020:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
20
Device ModBus
function code
address
After sending the above command to the device via the 485 bus, the device will return the following values:
20
Device ModBus
function code
address
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
Device ModBus
function
address
code
After sending the above command to the device via the 485 bus, the device will return the following values:
20
Device ModBus
function
address
code
The coils of DO2 and DO3 are turned on.
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
05
00 00
Register address
05
00 00
Register address
0F
00 00
starting
Number of coils
address
0F
00 00
Register address
FF 00
Data written
Coil action: conduction
FF 00
Write value
00 04
01
Number of
bytes of data
OO O4
Number of coils
【4DI+2DO】MA01-AXCX4020 User Manual
XX XX
CRC check code
XX XX
CRC check code
06
XX XX
Control coil
CRC check
data
(bit operation)
XX XX
CRC check
code
code
34

Advertisement

Table of Contents
loading

Table of Contents