Ebyte ME31-AAAX2240 Manuel utilisateur

ME31-AAAX2240
Network I/O Networking Module
This manual may be updated with product improvements, please refer to the latest version of the
manual! Chengdu Yibaite Electronic Technology Co., Ltd. reserves the final interpretation and
modification rights for all contents in this instruction!

Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-AAAX2240_UserManual_EN
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd 1
Contents
I. Overview ..................................................................................................................................................................... 3
1.1 Product Introduction .........................................................................................................................................3
1.2 Functional Features .......................................................................................................................................... 3
1.3 Product Application Topology Diagram .......................................................................................................... 4
II.Quick use .................................................................................................................................................................... 5
2.1 Device preparation ........................................................................................................................................... 5
2.2 Device connection ............................................................................................................................................ 6
2.2.1 RS485 connection ................................................................................................................................. 6
2.2.2 AI analog input connection ................................................................................................................... 7
2.2.3. DI switch input connection .................................................................................................................. 7
2.2.4. Relay output connection .......................................................................................................................7
2.2.5 Simple use ............................................................................................................................................. 8
2.3 Parameter Configuration .................................................................................................................................. 8
2.4 Control Testing ................................................................................................................................................. 9
2.4.1 Modbus TCP control ............................................................................................................................. 9
2.4.2 Modbus RTU control ...........................................................................................................................10
III. Technical Specification ...........................................................................................................................................11
3.1 Specifications ..................................................................................................................................................11
3.2 Device Default Parameters .............................................................................................................................12
3.3 Mechanical Dimensional Drawing .................................................................................................................13
3.4 Port and indicator light description ................................................................................................................14
IV. Product Function Introduction ................................................................................................................................16
4.1 DI Input .......................................................................................................................................................... 16
4.1.1. Switch Input DI Collection ................................................................................................................ 16
4.1.2. Input filtering ......................................................................................................................................16
4.2 AI Input ...........................................................................................................................................................16
4.2.1. Analog range .......................................................................................................................................16
4.2.2. Trigger mode ...................................................................................................................................... 17
4.2.3. Engineering quantity shaping value and engineering quantity floating point value of analog input 17
4.2.4. AI filter parameters .............................................................................................................................17
4.3 DO output ....................................................................................................................................................... 18
4.3.1. Input count ..........................................................................................................................................18
4.3.2. Level output ........................................................................................................................................18
4.3.3. Pulse output ........................................................................................................................................ 18
4.3.4. Follow mode .......................................................................................................................................18
4.3.5. Reverse follow mode ..........................................................................................................................19
4.3.6. Trigger toggle mode ........................................................................................................................... 19
4.3.7. Power-on state .................................................................................................................................... 19
4.4 Modbus Gateway ............................................................................................................................................19
4.4.1. Modbus TCP/RTU protocol conversion ............................................................................................ 19
4.4.2. Modbus Address Filtering ..................................................................................................................19

Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-AAAX2240_UserManual_EN
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd 2
4.4.3. Modbus TCP Protocol Data Frame Description ................................................................................ 20
4.4.4. Modbus RTU protocol data frame description .................................................................................. 20
4.5 IO linkage function .........................................................................................................................................20
4.6 Active upload ..................................................................................................................................................21
4.7 Custom Module Information ..........................................................................................................................21
4.7.1. Modbus Address .................................................................................................................................21
4.7.2. Module Name .....................................................................................................................................21
4.7.3. Network parameters ........................................................................................................................... 21
4.7.4. Serial Port Parameters ........................................................................................................................ 22
4.8 OLED display and parameter configuration .................................................................................................. 22
4.8.1. Information Display Interface ............................................................................................................22
4.8.2. Equipment parameter display interface ............................................................................................. 23
4.8.3. Equipment Parameter Configuration Interface .................................................................................. 23
4.8.4. Screen Sleep ....................................................................................................................................... 24
4.9 MODBUS parameter configuration ............................................................................................................... 24
4.9.1. DI Register List .................................................................................................................................. 24
4.9.2. List of AI Registers ............................................................................................................................ 25
4.9.3. List of DO Registers ...........................................................................................................................25
4.9.4. Module related registers .....................................................................................................................26
4.9.5. Network related registers ................................................................................................................... 27
4.9.6. Examples of Modbus command operation instructions .....................................................................28
V. Configuration Software ............................................................................................................................................31
5.1. Acquisition and Control ................................................................................................................................ 31
5.2. Parameter configuration interface .................................................................................................................32

Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-AAAX2240_UserManual_EN
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd 3
I. Overview
1.1 Product Introduction
ME31-AAAX2240 is equipped with 4-way A-type relay output, 2-way
analog (0-20mA/4-20mA) input, 2-way dry contact input detection, and
supports Modbus TCP protocol or Modbus RTU protocol for acquisition and
control. At the same time, the device is also a network I/O networking module
that can be used as a simple Modbus gateway (automatically send commands
with non-local Modbus addresses through the serial port/network port).
1.2 Functional Features
Support standard Modbus RTU protocol and Modbus TCP protocol;
Support various configuration software/PLC/touch screen;
RS485 acquisition control I/O;
RJ45 acquisition control I/O, support 4-way host access;
Support OLED display to display status information, and configure device parameters through buttons;
2-way analog input (0-20mA/4-20mA);
2-way switch input DI (dry node);
4-way switch output DO (Type A relay);
Switch output (DO) supports level mode, pulse mode, follow mode, reverse follow mode, trigger flip mode;
Support custom Modbus address setting;
Support 8 common baud rate configurations;
Support DHCP and static IP;
Support DNS function, domain name resolution;
Support Modbus gateway function;
Support input and output linkage;

Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-AAAX2240_UserManual_EN
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd 4
1.3 Product Application Topology Diagram
Network interface application topology diagram
Serial port application topology diagram

Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-AAAX2240_UserManual_EN
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd 5
II.Quick use
【Note】This test needs to be carried out with the default factory parameters.
2.1 Device preparation
The following table lists the items required for this test:
ME31-AAAX2240
12V switching power
supply
USB to RS485 Cable
A computer
A network cable
Several cables

Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-AAAX2240_UserManual_EN
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd 6
2.2 Device connection
2.2.1 RS485 connection
Note: When the 485 bus high-frequency signal is transmitted, the signal wavelength is shorter than the transmission
line, and the signal will form a reflected wave at the end of the transmission line, which will interfere with the original
signal. Therefore, it is necessary to add a terminal resistor at the end of the transmission line so that the signal does not
reflect after reaching the end of the transmission line. The terminal resistance should be the same as the impedance of the
communication cable, the typical value is 120 ohms. Its function is to match the bus impedance and improve the
anti-interference and reliability of data communication.
External power supply
ME31 Device
User’s RS485 Device

Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-AAAX2240_UserManual_EN
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd 7
2.2.2 AI analog input connection
2.2.3. DI switch input connection
2.2.4. Relay output connection
Signal Generator/Sensor
Dry contact
Load

Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-AAAX2240_UserManual_EN
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd 8
2.2.5 Simple use
Wiring: The computer is connected to the RS485 interface of ME31-AAAX2240 through USB to RS485, A is
connected to A, and B is connected to B.
Networking: Insert the network cable into the RJ45 port and connect to the PC.
Power supply: Use DC-12V switching power supply (DC 8~28V) to power ME31-AAAX2240.
2.3 Parameter Configuration
Step 1: Modify the IP address of the computer to be consistent with the device. Here I am modifying it to
192.168.3.100 to ensure that it is on the same network segment as the device and that the IP is different. If you
cannot connect to the device after the above steps, please turn off the firewall and try again;
Step 2: Open the network assistant, select the TCP client, enter the remote host IP192.168.3.7 (default parameter),
enter the port number 502 (default parameter), and select HEX to send.
Network port

Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-AAAX2240_UserManual_EN
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd 9
2.4 Control Testing
2.4.1 Modbus TCP control
Use the network assistant to control the first DO output of ME31-AAAX2240.
Other functions can be tested through the commands in the table below.
Function (function code)
Command
The device is in server mode, and the
computer connects to the device as a client.
Enter the IP address of the device.
Enter the port number of the device.
Select HEX display to facilitate observation
of data.
Select HEX to send
1: Transaction ID
2: Protocol identifier
3: Length
4: Modbus address
5: Function code
6: First address
7: Opcode
Autres manuels pour ME31-AAAX2240
1
Table des matières
Autres manuels Ebyte Système d'E/S






















