0% found this document useful (0 votes)
81 views36 pages

【4DI+2DO】MA01+-AXCX4020 UserManual EN v1.2

Uploaded by

321ruben
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views36 pages

【4DI+2DO】MA01+-AXCX4020 UserManual EN v1.2

Uploaded by

321ruben
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 36

【4DI + 2DO】

MA01-AXCX4020
Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

Directory
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) .....................................................................................................31
Revised history .....................................................................................................................................35
About us ...............................................................................................................................................35

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 1


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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.

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 2


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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.

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 3


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 4


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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.

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 5


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 6


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 7


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

3 Parameters

3.1 Product Series

3-1-1 Product specifications

product version DI AI DO RS485 RS232

MA01-AXCX4020 4 way — 2 way ● ×


4DI+2DO
MA02-AXCX4020 4 way — 2 way × ●
MA01-XACX0420 — 4 way 2 way ● ×
4AI+2DO
MA02-XACX0420 — 4 way 2 way × ●
MA01-AACX2220 2 way 2 way 2 way ● ×
2DI+2AI+2DO
MA02-AACX2220 2 way 2 way 2 way × ●
MA01-AXCX4040 4 way — 4 way ● ×
4DI+4DO
MA02-AXCX4040 4 way — 4 way × ●
MA01-XACX0440 — 4 way 4 way ● ×
4AI+4DO
MA02-XACX0440 — 4 way 4 way × ●
MA01-AACX2240 2 way 2 way 4 way ● ×
2DI+2AI+4DO
MA02-AACX2240 2 way 2 way 4 way × ●
MA01-XXCX0080 — — 8 way ● ×
8DO
MA02-XXCX0080 — — 8 way × ●

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 8


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

3.2 Parameters of MA01-AXCX4020

Category Name Parameter


Power Operating Voltage DC 8~28V
supply Working current 50mA @ 12V
Green LED indication
Power indicator
Communication RS485
Interface
Baud rate 1200~115200 bps (default 9600 bps)
No parity, odd parity, even parity (no parity by
Check Digit
Serial port 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)
Number of DI 4 way
Interface Type Dry node
Rising edge, falling edge, level (default
Trigger method
level)
DI
Filter parameter 1~16 (default 6)
Acquisition 1 kHz
frequency
Input instructions Green LED indication
Number of DO 4 way
Type C relay (normally open + normally
DO output type
closed)
DO DO output mode Level mode, pulse mode
Relay contact 30V/10A, 250V/10A
capacity
Output indication Red LED indication
80 mm * 50mm * 30mm (length * width *
Product Size
height)
product weight 80g ± 5g
Working -40 ~ +85℃, 5%~95%RH
Others temperature and (non-condensing)
humidity
Storage temperature -60 ~ +125℃, 5%~95%RH
and humidity (non-condensing)
Installation method Installation of guide rail and locating hole

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 9


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

3.3 Port description

3-3-1 Interface diagram


number pin definition note
1 VCC Power supply + (8~28V) Recommend RVV 2*0.75 wire
2 GND Grounding-(8~28V)
3 B/RX RS485 corresponding to B Recommend RVSP 3*0.5 wire
4 A/TX RS485 corresponds to A
5 DI1 Switch input channel 1
6 DI2 Switch input channel 2 Recommend RVV 2*0.75 wire
7 DI3 Switch input channel 3
8 DI4 Switch input channel 4
9 DO1 Switch output channel 1 The relay has normally open
10 DO2 Switch output channel 2 and normally closed terminals

3.4 Size

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 10


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 11


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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.

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 12


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 13


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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.

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 14


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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.

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 15


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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)

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 16


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 17


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 18


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

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.

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 19


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

6 Software use

6.1 Software Installation

The configuration tool software is driver-free installation, directly double-click the .exe file to open it and use it.

Figure 6-1-1 Software installation file

Figure 6-1-2 Successful software installation opens the interface

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 20


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

6.2 Software function introduction

6.2.1 IO Demo interface

Figure 6-2-1 Software IO demo interface


(1) Device window
Display the information of the currently connected device (serial number, device model, device address, firmware
version).

Figure 6-2-2 Device window interface

(2) Serial port parameter window


Display the serial port parameter information (port, baud rate, data bit, parity bit, stop bit, etc.), and open the serial
port.

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 21


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

Figure 6-2-3 Serial port parameter window interface

(3) Log window


Display the running log information (send and return data commands) during the configuration and use of the device.

Figure 6-2-4 Log window interface

(4) Switch input DI [This function is limited to devices that support DI]
Display the status of the digital input DI port.

Figure 6-2-4 Switch input DI interface

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 22


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

(5) Switch output DO


Display the status of the switch output DO port and graphically set the switch output DO port on and off.

Figure 6-2-5 Switch output DO interface

(6) Analog input AI [This function is limited to devices that support AI]
Display the status of the analog input AI port (current quantity, engineering quantity), graphical needle indication.

Figure 6-2-6 Analog input AI interface

(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).

Figure 6-2-7 Refresh setting interface

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 23


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

6.2.2 Basic setting interface

Figure 6-2-8 Basic setting interface


(1) Counting demonstration
Display DI count information and clear settings. [This function is limited to devices that support DI]

Figure 6-2-9 Counting demo interface


(2) DI related
Set the DI function. Set filter parameters (1 ~ 16), trigger mode (rising edge, falling edge, level), and clearing
method (automatic, manual). [This function is limited to devices that support DI]

Figure 6-2-10 "DI related" interface

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 24


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

(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]

Figure 6-2-11 "DO Related" interface

6.2.3 Advanced settings interface

Figure 6-2-12 Advanced setting interface


(1) Equipment 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.

Figure 6-2-13 Device setting interface

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 25


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

(2) Device serial port settings


Support to set the baud rate, you can set the baud rate (1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200), the
default is 115200.

Figure 6-2-14 Baud rate setting interface

Support setting check digit, can set check digit (none, odd check, even check), default no check.

Figure 6-2-16 Check Digit Setting Interface

6.3 Device status query

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.

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 26


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

(1) IO demo interface

Figure 6-3-1 Device status query (IO demo interface)

(2) Basic setting interface

Figure 6-3-2 Device status query (basic setting interface)

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 27


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

(3) Advanced setting interface

Figure 6-3-3 Device status query (advanced setting interface)

6.4 Equipment status control

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.

Method 1: Software graphical operation, click the menu button to control.

Figure 6-4-1 Software graphical operation

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 28


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

Method 2: Input command control.

Device address: 1

Function: open DO-1 output

Sending: 01 05 00 00 FF 00 8C 3A (including CRC check bit)

Return: 01 05 00 00 FF 00 8C 3A (including CRC check bit)

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 29


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

7 Modbus

7.1 Register list

Table 7-1-1 Register list

Register statu Applicable


numb Content of the register scope of data
address s function code
er
0x00-0xFF, writing changes the
(00000)0x0000 4 DO state RW current DO status, and reading 0x01、0x05、0x0F
gets the current DO status.
0x00-0xFF, sets the power state
(00100)0x0064 4 Status when power on DO RW 0x01、0x05、0x0F
of DO, after writing, the state.
0x00-0xFF, indicates the current
(10000)0x0000 4 DI value RW 0x02
level signal of the DI.
0 The x0000-0xFFFF, write
represents the initial value of the
(42527)0x09DF 4 DI count value RW set count, and the readout 0x03、0x06、0x10
indicates the readout value
already counted.
0x0000-0x0002,0x0000 level
mode (default mode), 0x0001
(41400)0x0578 4 DO working mode RW 0x03、0x06、0x10
Pulse mode, 0x0002 follow
mode.
Duration of the
(41500)0x05DC 4 DO pulse width RW 0x32-0xFFF(50-65535), pulse, 0x03、0x06、0x10
in unit ms.
0x0000-0x0002,0x0000
represents up along count,
(41318)0x0526 4 DI count method RW 0x03、0x06、0x10
0x0001 down along count, and
0x0002 represents level count.
0x0000-0x0001,0x0000
(41304)0x0518 4 DI count value reset method RW automatic zero clearance mode, 0x03、0x06、0x10
0x0001 manual zero clearance.
(41311)0x051F 4 Set the clearance method RW 0x0001-0x00FF 0x03、0x06、0x10
Set up the DO to follow the 0 The x0001-0x0008,0x0001
(41600)0x0640 4 RW 0x03、0x06、0x10
channel represents the first input.
(42000)0x07D0 7 Module model R See the Model Definition Table. 0x03
(42012)0x07DC 2 The firmware version R The firmware version number. 0x03
The name is 20 bytes including
(42014)0x07DE 10 Module name RW 0x03、0x06、0x10
"\ 0".
(42027)0X07E8 1 Module software address RW 0x01-0xE0 0x03、0x06、0x10
The parameters written to the
(42025)0X07E9 1 Restore the default parameter RW 5BB5, settings recover to the 0x03、0x06、0x10
default parameters.
The Write to the 5BB5, device
(42026)0x07EA 1 Equipment restart RW 0x03、0x06、0x10
restarts immediately
The default value is 0x0003,, or
9600.
(42100)0x0834 1 Porter rate code RW 0x03、0x06、0x10
0x0000,is 1200;
0x0001,is 2400;

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 30


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

0x0002,is 4800;
0x0003,is 9600;
0x0004,is 19200;
0x0005,is 38400;
0x0006,is 57600;
0x0007,is 115200;
The default value is 0x0000,
with no verification.0x0000 ,
(42102)0x0836 1 verify mode RW namely no verification; 0x03、0x06、0x10
0x0001, is the odd check;
0x0002, is parity;

7.2 Instruction format (partial)

7.2.1 Read DO output coil status

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 ModBus
function code Register start address Number of output coils CRC check code
address

After sending the above command to the device via the 485 bus, the device will return the following values:

20 01 01 02 XX XX

Device ModBus
function code Number of bytes of data Status data returned CRC check code
address

The status data 02 returned above indicates that the output DO2 is on.

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 31


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

7.2.2 Read holding register

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 ModBus Register read


function code Register start address CRC check code
address quantity

After sending the above command to the device via the 485 bus, the device will return the following values:

20 03 02 00 00 XX XX

Device ModBus
function code Number of bytes of data Returned data CRC check code
address

The above 00 00 indicates that DO1 is in level mode.

7.2.3 Write a single holding register

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 ModBus
function code Register address Data written CRC check code
address

After sending the above command to the device via the 485 bus, the device will return the following values:

20 06 05 78 00 01 XX XX

Device ModBus
function code Register address Data written CRC check code
address

If the modification is successful, the 0x0578 register data is 0x0001.

7.2.4 Write multiple holding registers

Use 10 function code to write commands for multiple holding registers, for example: set the working mode of DO1-DO4
at the same time.

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 32


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

20 10 05 78 00 04 08 0001 0002 XX XX

The number
Device ModBus Register Number of CRC check
function code of bytes of Data written
address start address registers code
data written

After sending the above command to the device via the 485 bus, the device will return the following values:

20 10 05 78 00 04 XX XX

Device ModBus Register CRC check


function code Number of registers
address address code

If the modification is successful, the values of four consecutive registers with 0x0578 as the starting address are 0x0001,
0x0002, 0x0003, and 0x0000, respectively.

7.2.5 Write the status of a single DO coil

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 ModBus Data written


function code Register address CRC check code
address Coil action: conduction

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
function code Register address Write value CRC check 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 0F 00 00 00 04 01 06 XX XX

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 33


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

Control coil
Device ModBus function starting Number of data CRC check
Number of coils
address code address bytes of data code
(bit operation)

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 function CRC check


Register address Number of coils
address code code

The coils of DO2 and DO3 are turned on.

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 34


Chengdu Ebyte Electronic Technology Co., Ltd. 【4DI+2DO】MA01-AXCX4020 User Manual

The final interpretation is owned by Chengdu Yiyit Electronic Technology Co., Ltd.

Revised history

version The revision date Revised description Maintainer


1.0 2021-08-30 The initial version LC
1.1 2023-3-13 Content Revisions LT
1.2 2023-7-24 Content Revisions LT

About us

Technical support: support@cdebyte.com


Documents and RF Setting download link: https://www.cdebyte.com
Thank you for using Ebyte products! Please contact us with any questions or suggestions:
info@cdebyte.com
-------------------------------------------------------------------------------------------------
Phone: +86 028-61399028
Web: https://www.cdebyte.com
Address: B5 Mould Park, 199# Xiqu Ave, High-tech District, Sichuan, China

Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd. 35

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy