background image

ME31-XAXA0404

I/O networking module

Summary of Contents for ME31-XAXA0404

Page 1: ...ME31 XAXA0404 I O networking module ...

Page 2: ...rameters 10 3 3 Dimensions 11 3 4 Ports and Indicators 12 Chapter 4 Product function introduction 14 4 1AI input 14 4 1 1Analog range 14 4 1 2 Trigger mode 14 4 1 3 Engineering quantity integer value and engineering quantity floating point value of analog input 15 4 1 4 AI filter parameters 15 4 2 AO output 15 4 2 1 AO output range 15 4 3 Modbus gateway 16 4 3 1 Modbus TCP RTU protocol conversion ...

Page 3: ...ion interface 19 4 6 4 screen sleep 20 4 7 MODBUS parameter configuration 20 4 7 1 A I register list 20 4 7 2 A O register list 21 4 7 3 Module Related Registers 21 4 7 4 Network related registers 22 4 7 5 Mod bus instruction operation example 23 Chapter 5 Configuration software 26 5 1 Acquisition and Control 26 5 2 Parameter setting 27 Revision history 30 About Us 30 ...

Page 4: ...l Modbus addresses through the serial port network port network I O networking module 1 2 Features Support standard Modbus RTU protocol and Modbus TCP protocol Support various configuration software PLC touch screen RS485 acquisition control I O R J45 acquisition and control I O support 4 way host access Support OLED display to display status information and configure device parameters through but...

Page 5: ...onic Technology Co Ltd ME31 XAXA0404 _User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 2 1 3 Application topology diagram Network port application topology Serial port application topology diagram ...

Page 6: ...tronic Technology Co Ltd 3 Chapter 2 Quick Start Note This experiment needs to be carried out with the default factory parameters 2 1 Devices required The following table lists the materials required for this test M E31 XAXA0404 1 2V switching power supply USB to RS485 computer a network cable Several cables ...

Page 7: ... 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 ...

Page 8: ...ection 2 2 3 AO analog output connection 2 2 4 Easy to use Wiring The computer is connected to the RS485 interface of ME31 XAXA0404 through USB to RS485 A is connected to A and B is connected to B Networking the network cable is inserted into the R J45 port and connected to the PC Power supply Use DC 1 2V switching power supply DC 8 28 V to power ME31 XAXA0404 ...

Page 9: ...with the device Here I am modifying it to 1 92 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 IP 1 92 168 3 7 default parameter enter the port number 5 02 default par...

Page 10: ...chnology Co Ltd ME31 XAXA0404 _User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 7 2 3 control test 2 3 1Modbus TCP control Use the network assistant to control the first A O output 10mA of M E31 XAXA0404 ...

Page 11: ...registers read by the demonstration case are engineering quantities 16 bit integer values and 32 bit floating point values can also be obtained by reading the 0x00C8 register By converting the value read by the input register into 10 base divide by 1 000 and compare with the value displayed on the screen 2 3 2Modbus RTU control the analog input status of M E31 XAXA0404 Other functions can be teste...

Page 12: ...d by Modbus command and host computer AI input Number of AI channels 4 way Acquisition Features single ended input input type 0 20mA 4 20mA _ _ _ AI Resolution _ 3 Acquisition frequency 1 0 Hz input instructions O LED screen display A O output Number of A O channels 4 way AO output type Current output 2 wire connection A O output range 0 20mA _ 4 20mA _ A O resolution 1 6 bits Output accuracy 3 ou...

Page 13: ...P server up to 4 clients access Local IP 1 92 168 3 7 local port 5 02 subnet mask 2 55 255 255 0 gateway address 192 168 3 1 D HCP closure Native MAC Determined by the chip fixed Target IP 1 92 168 3 3 target port 5 02 DNS server _ 114 114 114 114 active upload closure Serial parameters baud rate 9 600bps 8 types Check method None default Odd Even data bit 8 stop bit 1 MODBUS parameters _ M odbus ...

Page 14: ...Chengdu Ebyte Electronic Technology Co Ltd ME31 XAXA0404 _User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 11 3 3 Dimensions ...

Page 15: ...t indicator 6 GND Negative pole of power input terminal DC 8V 28V 5 08mm Phoenix terminal 7 VCC Positive pole of power input terminal DC 8V 28V 5 08mm Phoenix terminal 8 O1 _ Analog output current positive pole channel 1 9 A GND Analog output current negative pole channel 1 1 0 A O2 Analog output current positive pole channel 2 1 1 A GND Analog output current negative pole channel 2 1 2 A O 3 Anal...

Page 16: ... 20mA current input 5 08mm Phoenix terminal 1 9 AI 2 Analog input channel 2 supports 0 to 20mA current input 5 08mm Phoenix terminal 2 0 AI1 Analog input channel 1 supports 0 to 20mA current input 5 08mm Phoenix terminal 2 1 GND Channel 1 4 analog input ground 5 08mm Phoenix terminal 2 2 485 A The A of the serial port is connected to the A interface of the external device and the 5 08mm Phoenix te...

Page 17: ...write it in If the sampling range parameter is 2 the device will take 1 as the sampling range parameter And M odbus will not return wrong command 4 1 2 Trigger mode 1 Not trigger mode off 2 Rising trigger When the AI input value becomes greater than the set AI trigger high value the AI trigger is high that is the output state is 1 and a rising edge trigger is generated After the trigger as long as...

Page 18: ...egister of AI engineering quantity shaping value is 0x00 C8 the register type is input register and the read function code is 0x04 This method returns two registers representing 1 channel 4 1 4 AI filter parameters AI channel can be set the effective value is 1 16 and the default value is 6 Description of filtering parameters 1 All AI channels share a filter parameter The higher the parameter valu...

Page 19: ...se data confusion At this time enabling address filtering can ensure that only the specified address can pass through the device when the parameter is 0 the data is transparently transmitted and the parameter is 1 255 Only data from the set slave address is passed 4 3 3 Mod bus TCP protocol data frame description TCP frame format Transaction ID Protocol ID length device address function code data ...

Page 20: ...e upload will be performed at intervals of N seconds Note The device can only be valid if it is configured in client mode and the register value is non zero to enable active upload 4 5 Custom module information 4 5 1 Mod bus address The device address is 1 by default and the address can be modified and the address range is 1 247 4 5 2 Module name Users can configure the device name according to th...

Page 21: ...er is not 0 and the device is in the client mode the discrete input status of the device will be uploaded to the server when it is connected for the first time or the input changes and the analog input will be uploaded according to the configured time period 4 5 4 Serial parameters Parameters for setting serial communication Default parameters Baud rate 9600 03 Data bit 8bit stop bit 1bit Parity d...

Page 22: ...s 13 DHCP 14 target IP 15 destination port 16 Modbus TCP RTU protocol conversion 17 active upload 18 Modbus address filtering 4 6 3 Device parameter configuration interface Press and hold the confirmation button to enter the password input interface complete the correct password input and enter the configuration interface password interface default password 0000 short press the middle to verify th...

Page 23: ...l IP address gateway and subnet mask cannot be configured and are only assigned by the router 4 6 4 screen sleep The device screen has a sleep function which is off by default and can be set to on in the configuration interface In any interface when there is no button operation for 180 seconds the screen will enter the sleep mode At this time the interface will display Xiaoyi robot Press any butto...

Page 24: ...loating point type unit mA R 0x03 W 0x10 Analog output value 0x00 64 holding register 4 R W Analog channel output quantity 2 byte integer unit uA R 0x03 W 0x10 A O output mode 0x 0514 holding register 4 R W AO channel output range 0x0000 0 20mA 0x0001 4 20mA R 0x03 W 0x06 0x10 AO power on output initial value 0x00C8 holding register 8 R W Output engineering quantity when the analog channel is powe...

Page 25: ...1 Obtain IP automatically R 0x03 W 0x06 0x10 Target IP domain name 0x08A3 holding register 6 4 R W String format stored in IP domain name Default IP 1 92 168 3 3 R 0x03 W 0x06 0x10 server port 0x08E3 holding register 1 R W 0 65535 default 5 02 R 0x03 W 0x06 0x10 DNS server IP address 0x08E4 holding register 2 R W Default 8 8 8 8 R 0x03 W 0x06 0x10 How the module works 0x08E6 holding register 1 R W...

Page 26: ... state 01 function code to read the output coil state for example 01 01 00 00 00 0 4 3D C9 Modbus address function code register first address Number of output coils read CRC check code After sending the above command to the device through the 485 bus the device will return the following values 01 01 01 0 1 90 48 M odbus address function code bytes of data returned status data CRC check code The a...

Page 27: ...3 read holding register Use 03 function code to read one or more register values for example 01 03 0 5 78 00 01 0 4 DF Mod bus address function code register first address Number of registers read CRC check code After sending the above command to the device through the 485 bus the device will return the following values 01 0 3 02 00 00 B8 44 Modbus address function code bytes of data returned data...

Page 28: ...example set the working mode of DO1 and DO2 at the same time 01 10 05 78 00 0 2 0 4 00 01 00 0 1 5 A 7D Mod bus address function code register first address number of registers The number of bytes of data written written data CRC check code After sending the above command to the device through the 485 bus the device will return the following values 01 10 05 78 00 0 2 C 1 1D Mod bus address functio...

Page 29: ... devicet 1 You can configure the device by selecting the interface serial port network port if you choose the network port you must first select the network card and then search for the device 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...

Page 30: ...to enter the IO monitoring the following is the IO monitoring screen display 5 2 Parameter setting Step 1 For connecting devices refer to Acquisition and Control Step 2 User 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 ...

Page 31: ...du Ebyte Electronic Technology Co Ltd 28 Step 3 After configuring the parameters click Download Parameters and you will see a prompt message in the log output that the parameters are saved successfully click Restart the device and the modified parameters will take effect after the device restarts ...

Page 32: ...Chengdu Ebyte Electronic Technology Co Ltd ME31 XAXA0404 _User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 29 ...

Page 33: ...evision history Version revision date Revision Notes Maintenance man 1 5 2 02 3 6 6 New version LT About Us Technical support support cdebyte com Documents and RF Setting download link http 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 http www cdebyte com Address B5 Mould Park 199 Xiqu Ave High tec...

Reviews: