【4DI+4DO】MA02-AXCX4040 UserManual EN v1.0
【4DI+4DO】MA02-AXCX4040 UserManual EN v1.0
MA02-AXCX4040
Chengdu Ebyte Electronic Technology Co.,Ltd. 【4DI+4DO】MA02-AXCX4040 User Manual
Contents
1. Product Introduction...........................................................................................................................1
2. Quick Start..........................................................................................................................................2
2.1 Preparation for Use...................................................................................................................2
2.2 Equipment Wiring.................................................................................................................... 2
2.2.1 Power Wiring.................................................................................................................2
2.2.2 Communication Wiring RS232..................................................................................... 3
2.2.3 Overall Wiring Diagram................................................................................................3
2.3 Software Settings......................................................................................................................4
2.3.1 Device Connection........................................................................................................ 4
2.3.2 Equipment Test..............................................................................................................6
3.Product Description.............................................................................................................................6
3.1 Product Specifications..............................................................................................................6
3.2 Technical Parameter................................................................................................................. 8
3.3 Port Description........................................................................................................................9
3.4 Dimensions.............................................................................................................................10
3.5 Installation Method................................................................................................................ 10
4. Product Features............................................................................................................................... 11
4.1 Switch input DI...................................................................................................................... 11
4.1.1 Switch input DI collection...........................................................................................11
4.1.2 Switch input DI filter parameters................................................................................ 11
4.2 Switch output DO...................................................................................................................12
4.2.1 Switch output DO description..................................................................................... 12
4.2.2 Switch output DO mode setting.................................................................................. 12
4.3 Device Address.......................................................................................................................13
4.3.1 Device Address............................................................................................................13
4.3.2 Hardware Address (Dip Switch)................................................................................. 13
4.3.3 Software address (offset address)................................................................................15
5. Port wiring........................................................................................................................................15
5.1 Switch input DI port wiring........................................................................................... 15
5.1.1 Two-wire switch wiring...............................................................................................15
5.1.2 Three-wire switch wiring............................................................................................ 16
5.1.3 Three-wire sensor wiring.............................................................................................16
5.2 Switch output DO port wiring................................................................................................17
5.2.1 The output terminal directly controls the load (small power equipment within 1kW)17
5.2.2 Output terminal control contactor (contactor controls high-power 220V...................18
equipment)............................................................................................................................18
5.2.3 Output terminal control contactor (contactor controls high-power 380V...................19
equipment)............................................................................................................................19
6. Software use..................................................................................................................................... 19
6.1 Software Installation.............................................................................................................. 19
6.2 Software function introduction...............................................................................................20
6.2.1 IO demo interface........................................................................................................20
6.2.2 Basic setting interface................................................................................................. 24
Copyright ©2012–2021,成都亿佰特电子科技有限公司
Chengdu Ebyte Electronic Technology Co.,Ltd. 【4DI+4DO】MA02-AXCX4040 User Manual
Copyright ©2012–2021,成都亿佰特电子科技有限公司
Chengdu Ebyte Electronic Technology Co.,Ltd. 【4DI+4DO】MA02-AXCX4040 User Manual
1. Product Introduction
MA02-AXCX4040 supports the acquisition of 4-channel sensor switch input (DI), converted to
serial port RS232) data transmission to configuration software or PLC. The serial port I/O
networking module (also called "remote IO") that realizes the remote acquisition and control
function by issuing commands through the serial port to control 4 relay switch outputs (DO).
Features
Support Modbus RTU protocol;
Support various configuration software/PLC/touch screen;
RS232 acquisition and control IO;
DC 8~28V power supply;
4-way switch input DI (dry node);
4-channel switch output DO (relay);
Switch input (DI) supports counting function;
The 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;
Support 1~247 slave stations, 5-digit DIP switch can set 1~31 address code, more than 31 can
be set by software.
2. Quick Start
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:
Power supply, using DC 8-28V power supply, can also use DC 12V or 24V power supply.
(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.
Steps:
(1)Open the serial port, find the corresponding device port number, the baud rate
defaults to 9600, and click "open serial port".
(2)In the device window, click "Search Device", and the log window on the right will
start to refresh 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.
3.Product Description
MA01-XACX0420 — 4 2 ● ×
4AI+2DO
MA02-XACX0420 — 4 2 × ●
MA01-AACX2220 2DI+2AI+2D 2 2 2 ● ×
MA02-AACX2220 O 2 2 2 × ●
MA01-AXCX4040 4 — 4 ● ×
4DI+4DO
MA02-AXCX4040 4 — 4 × ●
MA01-XACX0440 — 4 4 ● ×
4AI+4DO
MA02-XACX0440 — 4 4 × ●
MA01-AACX2240 2DI+2AI+4D 2 2 4 ● ×
MA02-AACX2240 O 2 2 4 × ●
MA01-XXCX0080 — — 8 ● ×
8DO
MA02-XXCX0080 — — 8 × ●
Number
1 + Power +
Suggest RVV 2*0.75 wire
2 ﹣ Ground -
RS232 corresponds to RX
3 B/RX (external connection needs to be
crossed)
RS232 corresponds to TX Recommend RVSP 3*0.5 wire
4 A/TX (external connection needs to be
crossed)
5 GND Signal ground
6 COM Input channel common
7 DI1 Switch input channel 1
8 DI2 Switch input channel 2 Recommend RVV 2*0.5 wire
9 DI3 Switch input channel 3
10 DI4 Switch input channel 4
11 DO1 Switch output channel 1
12 DO2 Switch output channel 2 The relay has normally open and
13 DO3 Switch output channel 3 normally closed terminals
14 DO4 Switch output channel 4
3.4 Dimensions
4. Product Features
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 of rising edge, falling edge and level (the
default rising edge trigger mode).
The clearing method supports automatic clearing and manual clearing (default automatic
clearing).
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.
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 is on, it means the relay is closed (normally
open on, normally closed off); when the LED indicator is off, it means the relay is not closed
(normally open off, normally closed on).
(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.
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 low position, and the "1"
direction indicates the high position. The hardware address range can be adjusted from 0 to 31.
The hardware address can be customized according to the actual situation. The setting method is
shown in the above example.
If multiple devices are required to connect to a single RS232, only the hardware address is used,
and 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 RS232, you need to set the software
Software address: The user can make different settings according to the scene. The software address
setting range is 1~224 (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 Diagram:
5. Port wiring
5.2.1 The output terminal directly controls the load (small power equipment within
1kW)
Diagram 5-2-1 The output terminal directly controls the load wiring diagram
equipment)
Remarks: The above figure takes the contactor coil voltage AC 220V as an example. The coil voltage of different contactors may be
different.
equipment)
Remarks: The above figure takes the contactor coil voltage AC 220V as an example. The coil voltage of different contactors may be
different.
6. Software use
The configuration tool software is driver-free installation, directly double-click the .exe file to
open it and use it.
Diagram 6-1-2 Open the interface when the software is successfully installed.
(3)Log window
Display the running log information (send and return data commands) during the
configuration and use of the device.
(5)Switch output DO
Display the status of the switch output DO port and graphically set the switch output DO port
on and off.
(7)Refresh settings
Support manual refresh, automatic refresh status. The automatic refresh state can customize
the refresh cycle (the custom cycle is a multiple of 500ms).
(3)DO related
Set the DO function, set the working mode (level mode, pulse mode, follow mode), set the pulse
width (only in pulse mode), DO power-on state (on, off), follow source (follow setting DIx).
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. [Follow mode is
limited to devices that support DI]
图 6-2-12 高级设置界面
(1)Device settings
The advanced setting interface supports device name setting, offset address (software address),
read parameters, open write protection, close write protection, restart the module, and restore factory
settings.
Support setting check digit, can set check digit (none, odd check, even check), default no check.
The configuration software supports device status query. After connecting the device, you can
query the device status through the "Refresh All Data" menu.
Example: The configuration software has connected 2 devices, try to query and select one of the
devices, and click the "Refresh All Data" menu to complete the device status query.
Device status control, the device supports Modbus standard command control. It also
supports configuration software graphical control.
Example: To control the device, open the DO-1 output port.
7. Modbus Use
Use 01 function code to read the output coil status, for example: read the status of two output coils
20 01 00 00 00 02 XX XX
Device
function Number of output
Modbus Register start address CRC check code
code coils read
address
After sending the above command to the device via RS232, the device will return the following
values:
20 01 01 02 XX XX
Device
function Number of bytes of
Modbus Status data returned CRC check code
code data
address
The status data 02 returned above indicates that the output DO2 is on.
Use 03 function code to read one or more register values, for example: read DO1 working mode.
20 03 05 78 00 01 XX XX
Device
function Number of registers
Modbus Register start address CRC check code
code read
address
After sending the above command to the device via RS232, the device will return the following
values:
20 03 02 00 00 XX XX
Device
function Number of bytes of
Modbus Returned data CRC check code
code data
address
The above 00 00 indicates that DO1 is in level mode.
Use 06 function code to write a single holding register, for example: set the working mode of DO1 to
pulse mode
20 06 05 78 00 01 XX XX
Device
function
Modbus Register address Write value CRC check code
code
address
After sending the above command to the device via RS232, the device will return the following
values:
20 06 05 78 00 01 XX XX
Device
function
Modbus Register address Write value CRC check code
code
address
If the modification is successful, the 0x0578 register data is 0x0001.
Use 10 function code to write commands for multiple holding registers, for example: set the working
mode of DO1-DO4 at the same time.
20 10 05 78 00 04 08 0001 0002 XX XX
The
Device Register Number number of
function CRC check
Modbus start of bytes of Data written
code code
address address registers data
written
After sending the above command to the device via RS232, the device will return the following
values:
20 10 05 78 00 04 XX XX
Device
function Register CRC check
Modbus Number of registers
code address code
address
If the modification is successful, the values of four consecutive registers with 0x0578 as the starting
address are 0x0001, 0x0002, 0x0003, and 0x0000, respectively.
Use 05 command to write a single command, for example: set the working mode of DO1 to pulse
mode
20 05 00 00 FF 00 XX XX
Device Write value
function
Modbus Register address Coil action: CRC check code
code
address conduction
After sending the above command to the device via RS232, the device will return the following
values:
20 05 00 00 FF 00 XX XX
Device
function
Modbus Register address Write value CRC check code
code
address
The DO1 coil is turned on.
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 Number of Control coil
functio initial Number of CRC check
Modbus bytes of data (bit
n code address coils code
address data operation)
After sending the above command to the device via RS232, the device will return the following
values:
20 0F 00 00 OO O4 XX XX
Device
functio CRC check
Modbus Register address Number of coils
n code code
address
The coils of DO2 and DO3 are turned on.
The final interpretation right belongs to Chengdu Ebyte Electronic Technology Co., Ltd.
Revise History
About us