Ebyte ME31-AAAX2240 User Manual
Ebyte ME31-AAAX2240 User Manual

Ebyte ME31-AAAX2240 User Manual

Network i/o networking module
Hide thumbs Also See for ME31-AAAX2240:

Advertisement

Quick Links

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!

Advertisement

Table of Contents
loading

Summary of Contents for Ebyte ME31-AAAX2240

  • Page 1 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!
  • Page 2: Table Of Contents

    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 Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 3 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 Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 4: Overview

    ME31-AAAX2240_UserManual_EN 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).
  • Page 5: Product Application Topology Diagram

    Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-AAAX2240_UserManual_EN 1.3 Product Application Topology Diagram Network interface application topology diagram Serial port application topology diagram Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 6: 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: 12V switching power ME31-AAAX2240 USB to RS485 Cable supply A computer A network cable Several cables Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 7: Device Connection

    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. Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 8: Ai Analog Input Connection

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

    2.2.5 Simple use Network port 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.
  • Page 10: Control Testing

    Select HEX display to facilitate observation of data. Select HEX to send 2.4 Control Testing 2.4.1 Modbus TCP control Use the network assistant to control the first DO output of ME31-AAAX2240. 1: Transaction ID 2: Protocol identifier 3: Length 4: Modbus address...
  • Page 11: Modbus Rtu Control

    01 00 00 00 00 06 01 01 00 00 00 04 2.4.2 Modbus RTU control Use the serial port assistant to control the first DO output of ME31-AAAX2240. Other functions can be tested through the commands in the table below.
  • Page 12: Technical Specification

    OLED screen display, red LED indication Product Size 121mm * 72mm * 34mm (L*W*H) Product weight 145±5g Working Other temperature and -40 ~ +85℃, 5% ~ 95%RH (no condensation) humidity Storage -40 ~ +105℃, 5% ~ 95%RH (no Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 13: Device Default Parameters

    Target IP 192.168.3.3 Target port DNS server 114.114.114.114 Active upload Close Baud rate 9600bps (8 types) Check method None (default), Odd, Even Serial parameters Data bit Stop bit Modbus master-slave Slave MODBUS parameter Address Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 14: Mechanical Dimensional Drawing

    Chengdu Ebyte Electronic Technology Co.,Ltd. ME31-AAAX2240_UserManual_EN 3.3 Mechanical Dimensional Drawing Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 15: Port And Indicator Light Description

    Phoenix terminal. COM1 Common terminal of relay 1, used in conjunction with the normally open pin of relay 1, 5.08mm Phoenix terminal. Relay 2 normally open pin, used with relay 2 common terminal, 5.08mm Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 16 The A of the serial port is connected to the A interface of the external device, and the 5.08mm Phoenix terminal. 485-B The B of the serial port is connected to the B interface of the external device, and the 5.08mm Phoenix terminal. Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 17: Product Function Introduction

    0 to 1, it will automatically take the closest value and write it in. If the sampling range parameter is 2, the device will take 1 as the sampling range parameter. And Modbus does not return error commands. Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 18: Trigger Mode

    (2)The AI channel filter parameter address is 0x04B0, and the register type is a holding register. Function code 0x06, 0x10. (3)When writing AI filter parameters, if the written parameter value is not within the range of 1 to 16, it will Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 19: Do Output

    (for example: DI is 1, DO is closed). When the follow mode is turned on, the follow source should be configured at the same time, otherwise it will follow the first input by default. Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 20: Reverse Follow Mode

    0, the data will be transparently transmitted; when the parameter is 1-255, only the set slave machine address data. Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 21: Modbus Tcp Protocol Data Frame Description

    2. When AI is used as the trigger source, the AI signal is processed into a signal similar to DI through a process similar to Schmitt trigger (refer to Chapter 4.2.2), and then this signal is linked with DO. The linkage process can refer to DI/ DO linkage. Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 22: Active Upload

    (10) Module working mode: switch the working mode of the module. Server: The device is equivalent to a server, waiting for the user's client to connect. The maximum number of connections is 4. Client: The device Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 23: Serial Port Parameters

    (some parameters). 4.8.1. Information Display Interface Including AI input value, DI input status, and DO status display page, short press the up and down buttons to switch the interface. Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 24: Equipment Parameter Display Interface

    Save parameter settings and restart: After setting the parameters, move the cursor to save and restart, then short press the confirmation key to enter the confirmation save and restart state. Short press the confirmation key Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 25: Screen Sleep

    In any interface, when there is no button operation for 180 seconds, the screen will enter the sleep mode. At this time, the interface displays Ebyte robot. Press any button can exit the sleep mode. When the screen is in sleep mode, the running efficiency of device programs will be improved.
  • Page 26: List Of Ai Registers

    2. Descending trigger 3. Bilateral triggering 4.9.3. List of DO Registers Register Register Related Register function Number Operate Data Range/Remarks address type function code DO status 0x0000 Coil Write to change the R:0x01 Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 27: Module Related Registers

    W:0x06 addresses Holding Module model 0x07D0 Get the current model R:0x03 register Holding Get firmware version Firmware version 0x07DC R:0x03 register number Holding R:0x03 Module name 0x07DE Custom module name register W:0x10 Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 28: Network Related Registers

    0x08E4 Default 8.8.8.8 address register W:0x06、0x10 Module work Holding 0x0000 server mode R:0x03 0x08E6 mode register 0x0001 client mode W:0x06、0x10 Holding 0x0000 disabled, others: R:0x03 Active upload 0x08E7 register 65535s cycle W:0x06、0x10 ~ Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 29: Examples Of Modbus Command Operation Instructions

    After sending the above command to the device through the 485 bus, the device will return the following values: 00 00 FF 00 8C 3A Modbus address Function code Register first address Operation method CRC check code Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 30 After sending the above command to the device through the 485 bus, the device will return the following values: 05 78 00 01 C8 DF Modbus address Function code Register address Write value CRC check code Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 31 Number of registers CRC check code If the modification is successful, the values of the two consecutive registers starting with 0x0578 are 0x0001 and 0x0001 respectively, marking DO1 and DO2 to enable pulse output. Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 32: Configuration Software

    (2)If you choose a serial port, you need to select the corresponding serial port number, and the same baud rate, data bit, stop bit, parity bit and address segment search range as the device, and then search. Step 2: Select the corresponding device. Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 33: Parameter Configuration Interface

    Step 2: You can configure device parameters, network parameters, DI parameters, AI parameters, DO parameters, and AO parameters (for example: if the device has no AO function, the AO parameters cannot be configured) Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 34 Step 3: After configuring the parameters, click Download Parameters. After the prompt message in the log output shows that the parameters are saved successfully, click Restart the device. After the device restarts, the modified parameters will take effect. Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...
  • Page 35 Maintenance man 1 .5 2 02 3-6-6 New version About us Technical support: support@cdebyte.com Documents and RF Setting download link: http://www.cdebyte.com Tel:+86-28-61399028 Fax:028-64146160 Web: http://www.cdebyte.com Address:Innovation Center D347, 4# XI-XIN Road,Chengdu, Sichuan, China Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd...

Table of Contents