background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

ME31-AAAX2240_UserManul_EN

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

I

ME31-AAAX2240

I/O networking module

Summary of Contents for ME31-AAAX2240

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd ME31 AAAX2240_UserManul_EN Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd I ME31 AAAX2240 I O networking module ...

Page 2: ...rol 8 2 4 2 Modbus RTU control 9 Chapter 3 Technical indicator 10 3 1 Specification and parameter 10 3 2 Device default parameter 11 3 3 Dimensions 12 3 4 Ports and indicators 13 Chapter 4 Product function introduction 15 4 1 DO output 15 4 1 1 Level output 15 4 1 2 Pulse output 15 4 1 3 Follow mode 15 4 1 4 Power on state 15 4 2 DI input 15 4 2 1 Switch input DI acquisition 15 4 2 2 Input filteri...

Page 3: ...r display interface 20 4 8 3 Parameter configuration 20 4 9 Modbus TCP protocol data frame description 21 4 10 Modbus RTU protocol data frame description 22 4 11 MODBUS parameter configuration 22 4 11 1 DO register list 22 4 11 2 DI register list 23 4 11 3 AI register list 23 4 11 4 Module related register 24 4 11 5 Network related register 24 4 11 6 Modbus command operation 25 Chapter 5 Host comp...

Page 4: ... Modbus gateway automatically send commands with non local Modbus addresses through the serial port network port 1 2 Features Good for standard Modbus RTU protocol and MODBUS TCP protocol Work with various configuration software PLC touch screen RS485 acquisition control I O RJ45 acquisition control I O support 4 channel master access 2 channel analog input 0 20mA 4 20mA 2 channel switch input DI ...

Page 5: ...c Technology Co Ltd ME31 AAAX2240_UserManul_EN Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 3 1 3 Application typology diagram Modbus TCP application request topology Modbus RTU application request topology ...

Page 6: ...AAX2240_UserManul_EN Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 4 Chapter 2 Quick start Note The test need to carry out with factory parameter 2 1 Devices required ME31 AAAX2240 12V SMPS USB to RS485 Computer RJ45 Cable More cables ...

Page 7: ...cted wave at the end of the transmission line which will interfere with the original signal Therefore a terminal resistance must be added at the end of the transmission line to prevent the signal from being reflected after reaching the end of the transmission line The terminal resistance should be the same as the impedance of the communication cable with a typical value of 120 ohms Its function is...

Page 8: ...u Ebyte Electronic Technology Co Ltd ME31 AAAX2240_UserManul_EN Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 6 2 2 3 DI switch input connection 2 2 4 Relay output connection 2 2 5 Simple use ...

Page 9: ...ower supply Use DC 12V switching power supply DC 8 28V to supply power to ME31 AAAX2240 2 3 Parameter configuration Step 1 Modify the IP address of the computer to be consistent with the device Here it is modified to 192 168 3 100 to ensure the same network segment as the device and that the IP is different Please turn off the firewall and try again if the step failed Step 2 Open the network assis...

Page 10: ...c Technology Co Ltd ME31 AAAX2240_UserManul_EN Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 8 2 4 Control test 2 4 1 Modbus TCP control Use network assistant to control ME31 AAAX2240 first channel DO output ...

Page 11: ... 00 08 01 0F 00 00 00 04 01 00 Read all DI state 0x02 01 00 00 00 00 06 01 02 00 00 00 02 Read all DO state 0x01 01 00 00 00 00 06 01 01 00 00 00 04 2 4 2 Modbus RTU control Use serial port assistant to control ME31 AAAX2240 first channel DO output To test other function according to below table Function function code Command Pull in the first coil 0x05 01 05 00 00 FF 00 8C 3A All open 0x0F 01 0F ...

Page 12: ...odbus command and computer DI input DI channels 2 channel Input type Default dry node Acquisition frequency 1 kHz Input indicator LED display AI input AI channels 2 channel Acquisition characteristics Single ended input Input type 0 20mA 4 20mA AI resolution 1 Acquisition frequency 10Hz Input instructions LED display DO output DO channel 4 channel DO output type Type A Relay DO output mode Level o...

Page 13: ...orking mode TCP server Max 4 channel client access Local IP 192 168 3 7 Local port 502 Subnet mask 255 255 255 0 Gateway address 192 168 3 1 DHCP Off Local MAC Depending on chip fixed Target IP www ebyte com Target port 502 DNS server 8 8 8 8 Active upload Off UART parameter Baud rate 9600bps 8 type Check method None default Odd Even Data bit 8 Stop bit 1 MODBUS parameter Modbus master slave Slave...

Page 14: ...Chengdu Ebyte Electronic Technology Co Ltd ME31 AAAX2240_UserManul_EN Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 12 3 3 Dimensions ...

Page 15: ...t 10 V Negative pole of power input DC 8V 28V 5 08mm phoenix terminal 11 V Positive pole of power input DC 8V 28V 5 08mm phoenix terminal 12 NO1 Relay 1 normally open pin used with the common terminal of relay 1 5 08mm phoenix terminal 13 COM1 Common terminal of relay 1 used in conjunction with the normally open pin of relay 1 5 08mm phoenix terminal 14 NO12 Relay 2 normally open pin used with the...

Page 16: ...open pin of relay 4 5 08mm phoenix terminal 20 Ethernet Standard RJ45 interface 21 AI2 Analog input channel 2 support 0 to 20mA current input 5 08mm phoenix terminal 22 AI1 Analog input channel 1 support 0 to 20mA current input 5 08mm phoenix terminal 23 DI2 Switch input channel 2 support dry contact access 5 08mm phoenix terminal 24 DI1 Switch input channel 1 support dry contact access 5 08mm pho...

Page 17: ...relay state according to the follower source DI1 DI2 DI3 DI4 configured by the user and multiple outputs can follow the same follower source output Simply put the DI detects the input and automatically outputs the relay with the follower source 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 off 4 1 4 Pow...

Page 18: ...n not counted when released and counts once Level Two edges are collected and counted once respectively Clearing method Automatic The device will automatically clear each time the DI count value register 0x09DF 0x09E6 is read Manual In manual mode it is necessary to write 1 to the clearing signal register 0x0AA7 0x0AAE Each holding register controls one clearing signal 4 3 Active upload When the d...

Page 19: ...he register type is input register and the read function code is 0x04 The value returned by this method is 2 bytes representing a channel and the range of the read value is 0 4095 The method of calculating the current size is that 0 4095 corresponds to 0 25mA The register type is discrete input register and the read function code is 0x04 which is Current original value 25 4095 mA 2 Read the AI eng...

Page 20: ...device with digital input will actively upload once after connecting to the server successfully and then the digital input will be uploaded following the status change and the device with analog input will report the status of the analog input according to the configuration of the active upload time period the configuration period is 1 65535 When set to 0 the upload is closed and when set to anoth...

Page 21: ...s in client mode it resolves the server domain name 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 and the maximum number of connections is 4 Client The device actively connects to the target IP and port set by the user 11 Active upload When the secondary parameter is not 0 and the device is in the c...

Page 22: ... left and right buttons to switch the interface among which 1 The input display page displays the DI status of channels 1 to 2 from top to bottom and the current input values of channels 1 to 2 2 The network parameter display page displays the local IP address gateway address local port and local Modbus address from top to bottom 4 8 2 Device parameter display interface The parameter setting inter...

Page 23: ...alue press the enter key to exit the current setting item Save the parameter setting and exit After setting the parameter move the cursor to the exit option and press the middle button to save the parameter and exit the parameter setting or long press the middle button after any parameter item to determine the parameter value to save the parameter and exit Exit parameter setting Exit without savin...

Page 24: ...ate 01 02 00 00 00 04 79 C9 Device Modbus address Function Code Data Segment CRC check code 4 11 MODBUS parameter configuration 4 11 1 DO register list Register function Register address Register type Quantity Operation Data Range Remarks Related function codes DO state 0x0000 Coil 4 RW Write to change the current DO state read to get the current DO state R 0x01 W 0x0F 0x05 DO power on state 0x006...

Page 25: ...register 2 RW 0x0000 auto clear 0x0001 manual clear R 0x03 W 0x06 0x10 DI manual clear signal 0xAA4 Holding register 2 RW The clearing method is manual and the register writes 1 to clear the count value R 0x03 W 0x06 0x10 DI count way 0x0B0B Holding register 2 RW Set DI count way R 0x03 W 0x06 0x10 4 11 3 AI register list Register function Register address Register type Quantity Operation Data Ran...

Page 26: ...D Holding register 1 RW 1 65535 default 502 R 0x03 W 0x06 0x10 Register function Register address Register type Quantity Operation Data Range Remarks Related function codes Module address 0x07E8 Holding register 1 RW Modbus address 1 247 configurable R 0x03 W 0x06 Module model 0x07D0 Holding register 12 R Get current model R 0x03 Firmware version 0x07DC Holding register 1 R Get firmware version R ...

Page 27: ...le operating mode 0x08E6 Holding register 1 RW 0x0000 server mode 0x0001 client mode R 0x03 W 0x06 0x10 Active upload 0x08E7 Holding register 1 RW 0x0000 prohibited Other Send in 1 65535s R 0x03 W 0x06 0x10 4 11 6 Modbus command operation 1 Read coil DO status Use the read coil status 01 function code to read the output coil status for example 01 01 00 00 00 04 3D C9 Modbus address Function code R...

Page 28: ...ata of control coil CRC check code After the above command is sent to the device through the 485 bus the device will return the following values 01 0F 00 00 OO O4 54 08 Modbus address Function code Register address Coil number CRC check code All coils are conducted 3 Read Holding register Use the 03 function code to read one or more register values for example 01 03 05 78 00 01 04 DF Modbus addres...

Page 29: ...ful the 0x0578 register data is 0x0001 and the pulse output mode is turned on Use the 10 function code to write multiple holding register commands for example set the working mode of DO1 and DO2 at the same time 01 10 05 78 00 02 04 00 01 00 01 5A 7D Modbus address Function code Register first address Register number Number of bytes of written data Written data CRC check code After the above comma...

Page 30: ...AAAX2240_UserManul_EN Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 28 Chapter 5 Host computer 5 1 Acquisition and control Step 1 Connect the computer to the device Step 2 Select the right device Step 3 IO demo interface introduction ...

Page 31: ...s refer to Acquisition and Control Step2 Select advanced configuration you can configure device information baud rate parameters Ethernet parameters Step3 Configure module parameters Modbus address When configuration is required Device name configure the device name to distinguish the device supports a maximum of 15 Bit Offset address Modbus address of the device effective immediately ...

Page 32: ...t box Restart module After clicking the device restarts Restore factory parameters Restore factory parameters immediately after clicking Step4 Configure the module baud rate if it is required you need to read the parameters before configuration Step 5 Configure Ethernet parameters if it is required you need to read the parameters before configuration Step6 Choose to configure basic parameters you ...

Page 33: ...w mode follow mode requires the device to have DI interface ME31 XAAX0440 does not support Pulse width 50 65535ms default 50ms DO power on state Configurable DO initial state after the device restarts default closed Follow source According to the configuration of the DI interface one output can be followed at the same time or it can be configured separately ME31 XAAX0440 does not support ...

Page 34: ...by 1 0 2022 02 18 Initial version LC 1 1 202 06 23 Content revision XXN About us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Thank you for using Ebyte products Please contact us with any questions or suggestions info cdebyte com Phone 86 028 61399028 Web www ebyte com Address B5 Mould Park 199 Xiqu Ave High tech District Sichuan China ...

Reviews: