Ebyte MA01-AXCX4020 User manual

【4DI + 2DO】
MA01-AXCX4020

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
1
目录
Disclaimer ..............................................................................................................................................2
EBYTE reserves all rights to this document and the information contained herein. Products, names,
logos and designs described herein may in whole or in part be subject to intellectual property rights.
Reproduction, use, modification or disclosure to third parties of this document or any part thereof
without the express permission of EBYTE is strictly prohibited. ......................................................... 2
The information contained herein is provided “as is” and EBYTE assumes no liability for the use of
the information. No warranty, either express or implied, is given, including but not limited, with
respect to the accuracy, correctness, reliability and fitness for a particular purpose of the information.
This document may be revised by EBYTE at any time. For most recent documents, visit
www.ebyte.com. .................................................................................................................................... 2
1 Overview .............................................................................................................................................3
2 Quick Start .......................................................................................................................................... 4
2.1 Preparation ............................................................................................................................... 4
2.2 Wiring ...................................................................................................................................... 4
2.3 Setting ...................................................................................................................................... 6
3 Parameters ...........................................................................................................................................8
3.1 Product Series .......................................................................................................................... 8
3.2 Parameters of MA01-AXCX4020 ........................................................................................... 9
3.3 Port description ...................................................................................................................... 10
3.4 Size .........................................................................................................................................10
3.5 Installation ............................................................................................................................. 11
4 Detailed function ...............................................................................................................................12
4.1 Switch input DI ......................................................................................................................12
4.2 Switch output DO .................................................................................................................. 13
4.3 Device address ....................................................................................................................... 14
5 Port wiring ........................................................................................................................................ 17
5.1 Switch input DI port wiring ................................................................................................... 17
5.2 Switch output DO port wiring ............................................................................................... 18
6 Software use ......................................................................................................................................20
6.1 Software Installation .............................................................................................................. 20
6.2 Software function introduction .............................................................................................. 21
6.3 Device status query ................................................................................................................26
6.4 Equipment status control ....................................................................................................... 28
7 Modbus ............................................................................................................................................. 30
7.1 Register list ............................................................................................................................ 30
7.2 Instruction format (partial) .....................................................................................................32
Revised history .....................................................................................................................................35
About us ...............................................................................................................................................35

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
2
Disclaimer
EBYTE reserves all rights to this document and the information contained herein.
Products, names, logos and designs described herein may in whole or in part be
subject to intellectual property rights. Reproduction, use, modification or disclosure to
third parties of this document or any part thereof without the express permission of
EBYTE is strictly prohibited.
The information contained herein is provided “as is” and EBYTE assumes no liability
for the use of the information. No warranty, either express or implied, is given,
including but not limited, with respect to the accuracy, correctness, reliability and
fitness for a particular purpose of the information. This document may be revised by
EBYTE at any time. For most recent documents, visit www.ebyte.com.

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
3
1 Overview
MA01-AXCX4020 supports the acquisition of 4-channel sensor switch input (DI), which is
converted to serial port (RS485) and data is transmitted to configuration software or PLC. The serial
port I/O networking module (also known as "remote IO") that controls 2 relay switch outputs (DO)
by issuing commands through the serial port to realize remote acquisition and control functions.
Main Features
Support Modbus RTU protocol;
Support various configuration software/PLC/touch screen;
RS485 acquisition and control IO;
DC 8~28V power supply;
4-way switch input DI (dry node);
2-way switch output DO (relay);
Switch input (DI) supports counting function;
Switch input (DI) supports rising edge, falling edge, and level trigger mode;
Switch output (DO) supports level mode, pulse mode, follow mode;
Communication baud rate 1200~115200 (default 9600), support custom setting;
Supports 1~247 slave stations, 5-digit DIP switch can set 1~31 address code, more than 31 can
be set by software.
Supports installation of guide and positioning hole.

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
4
2 Quick Start
2.1 Preparation
Before using the serial port I/O networking device (hereinafter referred to as "IO device"), you need
to prepare a computer, converter, power supply, screwdriver and other related auxiliary materials.
details as follows:
Chart 2-1-1 Device list
Order
Device
Number
1
IO device
1
2
USB to serial converter
1
3
Configuration tool software
1
4
computer
1
5
Power adapter (12V/1A)
1
6
Screwdriver (Slot SL 2)
1
7
Signal generator (or sensor)
1
2.2 Wiring
2.2.1 Power wiring
1.Power supply, using DC 8-28V power supply, can also use DC 12V or 24V power supply.
Chart 2-2-1 Wiring

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
5
2.2.2 RS485 Wiring
2.2.3 Overall wiring diagram
(1) After the equipment is powered on, the power indicator (POWER) is always on, and the
equipment power supply is normal.
(2) Switch input DI wiring, connect the control button to the switch input DI port as shown in the
figure.
(3) Switch output DO wiring, connect the load to the switch output DO port as shown in the figure.

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
6
2.3 Setting
2.3.1 Get connected
Figure 2-3-1 Software interface
Steps:
1. Open the serial port, find the corresponding device port number, the baud rate defaults to 9600,
and click "open serial port".
2-3-2 open the serial port

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
7
2. In the device window, click "Search Device", and the log window on the right will start refreshing
the search information. After the connected device is displayed in the device column of the device
window, click the "Stop Searching" menu. Then select the device and click, the connection is
successful.
2-3-3 get connected to the device
2.3.2 Testing
2-3-4 testing
2-3-5 Actual test results

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
8
3 Parameters
3.1 Product Series
3-1-1 Product specifications
product
version
DI
AI
DO
RS485
RS232
MA01-AXCX4020
4DI+2DO
4 way
—
2 way
●
×
MA02-AXCX4020
4 way
—
2 way
×
●
MA01-XACX0420
4AI+2DO
—
4 way
2 way
●
×
MA02-XACX0420
—
4 way
2 way
×
●
MA01-AACX2220
2DI+2AI+2DO
2 way
2 way
2 way
●
×
MA02-AACX2220
2 way
2 way
2 way
×
●
MA01-AXCX4040
4DI+4DO
4 way
—
4 way
●
×
MA02-AXCX4040
4 way
—
4 way
×
●
MA01-XACX0440
4AI+4DO
—
4 way
4 way
●
×
MA02-XACX0440
—
4 way
4 way
×
●
MA01-AACX2240
2DI+2AI+4DO
2 way
2 way
4 way
●
×
MA02-AACX2240
2 way
2 way
4 way
×
●
MA01-XXCX0080
8DO
—
—
8 way
●
×
MA02-XXCX0080
—
—
8 way
×
●

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
9
3.2 Parameters of MA01-AXCX4020
Category
Name
Parameter
Power
supply
Operating Voltage
DC 8~28V
Working current
50mA @ 12V
Power indicator
Green LED indication
Serial port
Communication
Interface
RS485
Baud rate
1200~115200 bps (default 9600 bps)
Check Digit
No parity, odd parity, even parity (no parity by
default)
Data bit
5,6,7,8(default 8)
Stop bit
1,1.5,2 (defacult 1)
Protocol
Modbus RTU protocol
Device address
1~247 (default address: 1)
DI
Number of DI
4 way
Interface Type
Dry node
Trigger method
Rising edge, falling edge, level (default
level)
Filter parameter
1~16 (default 6)
Acquisition
frequency
1 kHz
Input instructions
Green LED indication
DO
Number of DO
4 way
DO output type
Type C relay (normally open + normally
closed)
DO output mode
Level mode, pulse mode
Relay contact
capacity
30V/10A, 250V/10A
Output indication
Red LED indication
Others
Product Size
80 mm * 50mm * 30mm (length * width *
height)
product weight
80g ±5g
Working
temperature and
humidity
-40 ~+85℃, 5%~95%RH
(non-condensing)
Storage temperature
and humidity
-60 ~+125℃, 5%~95%RH
(non-condensing)
Installation method
Installation of guide rail and locating hole

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
10
3.3 Port description
3-3-1 Interface diagram
number
pin
definition
note
1
+
Power supply + (8~28V)
Recommend RVV 2*0.75 wire
2
﹣
Grounding-(8~28V)
3
B/RX
RS485 corresponding to B
Recommend RVSP 3*0.5 wire
4
A/TX
RS485 corresponds to A
5
GND
Signal ground
6
COM
Input channel common
Recommend RVV 2*0.5 wire
7
DI1
Switch input channel 1
8
DI2
Switch input channel 2
9
DI3
Switch input channel 3
10
DI4
Switch input channel 4
11
DO1
Switch output channel 1
The relay has normally open
and normally closed terminals
12
DO2
Switch output channel 2
3.4 Size

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
11
Chart 3-4-1 dimensioned drawing
3.5 Installation
The equipment is installed with guide rail and positioning hole.
Chart 3-5-1 Guide rail installation

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
12
Chart 3-5-2 Position hole installation
4 Detailed function
4.1 Switch input DI
4.1.1 Switch input DI collection
Switch input DI to measure level signal or edge pulse signal (rising edge, falling edge). Support dry
node collection, support DI counting function, the maximum count is 65535 (the count is
automatically cleared when 65535 is exceeded).
The switch input DI supports three trigger modes: rising edge, falling edge, and level (the default
level trigger mode).
The clearing method supports automatic clearing and manual clearing (default automatic clearing).
4.1.2 Switch input DI filter parameters
When the switch inputs the DI to collect the signal, it needs to keep multiple sampling periods before
confirming. The filter parameter can be set from 1 to 16 (default 6 sampling periods). The DI filter
parameters can be set through the configuration software.

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
13
Figure 4-1-1 Setting DI filter parameters
4.2 Switch output DO
4.2.1 Switch output DO description
Switch output DO, with level mode, pulse mode, follow mode (only follow DI). Using C-type relay output
(normally open + normally closed), the single-channel output supports a maximum load (contact capacity) of
30V/10A or 250V/10A.
Each DO output is designed with an output indicator (red LED indication) to indicate whether the output port
is on or off.
When the LED indicator light is on, it means the relay is closed (normally open and normally closed);
When the LED indicator is off, it means that the relay is not closed (normally open off, normally closed on).
4-2-1 Switch output DO interface

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
14
4.2.2 Switch output DO mode setting
(1) Level mode
Output according to the level set by the user. The switching characteristics of the level mode are
similar to the function of a self-locking switch.
(2) Pulse mode
After the switch output DO is turned on, the set pulse width time (in ms) is maintained, and the
switch output DO is automatically turned off. The pulse width setting range is 50~65535 (default
50).
(3) Follow mode
After the user sets the follow mode, set the follow input terminal. The switch output DO
terminal is consistent with the DI input terminal.
Note: Multiple switch output DO terminals can be set to follow one DI input terminal, and one
switch output DO terminal can not be set to follow multiple DI input terminals.
4.3 Device address
4.3.1 Device address
Device address composition: hardware address + software offset address
Figure 4-3-1 Device address
The default device address is: 1 (hardware address 0 + software address 1 = device address 1).
Device address setting range: 1~247.
Hardware address: realized by the dial switch (5 digits) dial setting (the factory default is 0).
Software address: It is realized by the "offset address" set by the configuration tool software (the
factory default is 1).
For example:
If the hardware address is set to 5 and the software address is set to 113, the device address is 118.

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
15
4.3.2 Hardware address (dip switch)
4-3-2 Hardware address (Dip switch)
Hardware address: The DIP switch can switch different hardware addresses, and the binary system
represents the 5-digit DIP switch.
The "5" direction indicates the high position, and the "1" direction indicates the low position. The
hardware address range can be adjusted from 0 to 31.
Hardware address dialing setting instructions:
Example 1: Set hardware address 0 (default), binary code.
4-3-3 Hardware address 0
Example 2: Set the hardware address to 8, binary code.

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
16
4-3-4 Hardware address 8
Example 3: Set hardware address 31, binary code.
314-3-4 Hardware address 8
The hardware address can be customized according to the actual situation. The setting method is
shown in the above example.
If multiple devices need to be connected to a single RS485 bus, only the hardware address is used. A
single bus can be connected to a maximum of 32 devices (just set the hardware address).
If you need more than 32 devices to connect to a single RS485 bus, you need to set the software
address (offset address) to realize a single bus to connect up to 247 devices.
After changing the address, you need to power off and restart the new address to take effect.
Note: For the following 3 products, the DIP switch is in the product shell. If the DIP switch is set, the
shell must be disassembled and then set.
【2DI+2AI+2DO】
【4AI+2DO】
【4DI+2DO】
4.3.3 Software address (offset address)
Software address: The user can make different settings according to the scene. The software address setting range is 1~
216 (device address: 1~247), and the default software address is 1.
After changing the address, you need to power off and restart the new address to take effect.
To change the software address, it needs to be realized through the configuration tool software, as shown in the figure:
Figure 4-3-7 Software address (offset address)

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
17
5 Port wiring
5.1 Switch input DI port wiring
5.1.1 Two-wire switch wiring
Figure 5-1-1 Wiring diagram of two-wire switch
5.1.2 Three-wire switch wiring
Figure 5-1-2 Wiring diagram of three-wire switch

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
18
5.1.3 Three-wire sensor wiring
Figure 5-1-3 Three-wire sensor wiring diagram
5.2 Switch output DO port wiring
5.2.1 The output terminal directly controls the load (small power equipment within 1kW)
Figure 5-2-1 The output terminal directly controls the load wiring diagram

Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
19
5.2.2 Output terminal control contactor (contactor controls high-power 220V equipment)
Figure 5-2-2 Wiring diagram of output terminal control contactor
Remarks: The above figure takes the contactor coil voltage AC 220V as an example. The coil voltage of different
contactors may be different.
5.2.3 Output terminal control contactor (contactor controls high-power 380V equipment)
Figure 5-2-3 Wiring diagram of output terminal control contactor
Remarks: The above figure takes the contactor coil voltage AC 220V as an example. The coil voltage of different
contactors may be different.
Table of contents
Other Ebyte Wireless Module manuals

Ebyte
Ebyte E73-2G4M08S1CX User manual

Ebyte
Ebyte E104-BT12NSP-TB User manual

Ebyte
Ebyte E28-2G4M20S User manual

Ebyte
Ebyte E831-RTU Series User manual

Ebyte
Ebyte E31-433T27D User manual

Ebyte
Ebyte E10-433MS User manual

Ebyte
Ebyte E49-400T20S User manual

Ebyte
Ebyte E43-433T13S3 User manual

Ebyte
Ebyte E220-230T30S User manual

Ebyte
Ebyte EO01C-MLO1S User manual

Ebyte
Ebyte E104-BT54S User manual

Ebyte
Ebyte E01-ML01DP4 User manual

Ebyte
Ebyte E70-433T30S User manual

Ebyte
Ebyte E73-2G4M04S1A User manual

Ebyte
Ebyte E31-433T17D1B User manual

Ebyte
Ebyte E30-900M30S User manual

Ebyte
Ebyte E106-915G27P2 User manual

Ebyte
Ebyte E106-868G27P2 User manual

Ebyte
Ebyte CC2541 User manual

Ebyte
Ebyte E22-400T22DC User manual