background image

ME31-XXXA0006

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!

Summary of Contents for ME31-XXXA0006

Page 1: ...e 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: ... Drawing 11 3 4 Port and indicator light description 12 IV Product Function Introduction 14 4 1 AO output 14 4 1 1 AO output range 14 4 2 Modbus Gateway 14 4 2 1 Modbus TCP RTU protocol conversion 14 4 2 2 Modbus Address Filtering 14 4 2 3 Modbus TCP Protocol Data Frame Description 14 4 2 4 Modbus RTU protocol data frame description 15 4 3 Custom Module Information 15 4 3 1 Modbus Address 15 4 3 2...

Page 3: ...1 XXXA0006_UserManual_EN Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 2 4 5 4 Examples of Modbus command operation instructions 20 V Configuration Software 23 5 1 Acquisition and Control 23 5 2 Parameter configuration interface 24 ...

Page 4: ...ough 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 6 analog outputs 0 20mA 4 20mA Support cu...

Page 5: ...Chengdu Ebyte Electronic Technology Co Ltd ME31 XXXA0006_UserManual_EN Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd 4 Serial port application topology diagram ...

Page 6: ...e 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 XXXA0006 12V switching power supply USB to RS485 Cable A computer A network cable Several cables ...

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

Page 8: ... 12V switching power supply DC 8 28V to power ME31 XXXA0006 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 S...

Page 9: ...A Other functions can be tested through the commands in the table below Function function code Command Control AO1 output 10mA 0x10 01 00 00 00 00 0B 01 10 00 00 00 02 04 41 20 00 00 Read AO1 output 0x03 01 00 00 00 00 06 01 03 00 00 00 02 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 H...

Page 10: ... 9 2 4 2 Modbus RTU control Use the serial port assistant to read the current AO1 output of ME31 XXXA0006 Other functions can be tested through the commands in the table below Function function code Command Read current AO1 output 0x03 01 03 00 00 00 02 C4 0B Control AO1 current output 10mA 0x10 01 10 00 00 00 02 04 41 20 00 00 E6 59 ...

Page 11: ...by Modbus command and host computer AO output Number of AO channels 6 way AO output type Current output 2 wire connection AO output range 0 20mA 4 20mA AO resolution 16 bits Output accuracy 3 Output indication OLED screen display Other Product Size 121mm 72mm 34mm L W H Product weight 135 5 g Working temperature and humidity 40 85 5 95 RH no condensation Storage temperature and humidity 40 105 5 9...

Page 12: ... address 192 168 3 1 DHCP Close Native MAC Determined by the chip fixed Target IP 192 168 3 3 Target port 502 DNS server 114 114 114 114 Active upload Close Serial parameters Baud rate 9600bps 8 types Check method None default Odd Even Data bit 8 Stop bit 1 MODBUS parameter Modbus master slave Slave Address 1 3 3 Mechanical Dimensional Drawing ...

Page 13: ...rrent positive pole channel 3 5 08mm Phoenix terminal 9 AGND Analog output current negative pole channel 3 5 08mm Phoenix terminal 10 AO4 Analog output current positive pole channel 4 5 08mm Phoenix terminal 11 AGND Analog output current negative pole channel 4 5 08mm Phoenix terminal 12 AO5 Analog output current positive pole channel 5 5 08mm Phoenix terminal 13 AGND Analog output current negativ...

Page 14: ... 1 5 08mm Phoenix terminal 20 AO1 Analog output current positive pole channel 1 5 08mm Phoenix terminal 21 GND Signal ground 5 08mm Phoenix terminal 22 485 A The A of the serial port is connected to the A interface of the external device and the 5 08mm Phoenix terminal 23 485 B The B of the serial port is connected to the B interface of the external device and the 5 08mm Phoenix terminal ...

Page 15: ...n the Modbus TCP data on the network side will be converted to Modbus RTU data 4 2 2 Modbus Address Filtering This function can be used when some host software or configuration screen is used as the host to access the serial port of the device and the gateway function of the device is used the slave is at the network end and the Modbus TCP to RTU function is turned on Multiple slaves on the bus ma...

Page 16: ... 01 02 00 00 00 04 79 C9 Device Modbus address Function code Data segment CRC check code 4 3 Custom Module Information 4 3 1 Modbus Address The device address is 1 by default and the address can be modified and the address range is 1 247 4 3 2 Module Name Users can configure the device name according to their own needs to distinguish support English digital format up to 20 bytes 4 3 3 Network para...

Page 17: ...tively connects to the target IP and port set by the user 11 Active upload When this parameter 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 3 4 Serial Port Parameters Parameters for setti...

Page 18: ...s 12 DHCP 13 Target IP 14 Destination port 15 Modbus TCP RTU protocol conversion 16 Active upload 17 Modbus address filtering 4 4 3 Equipment 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...

Page 19: ...signed by the router 4 4 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 displays Ebyte robot Press any button can exit the sleep mode When the screen is in sleep mode the running efficie...

Page 20: ... DHCP mode 0x08A2 Holding 1 RW 0x0000 static IP R 0x03 Register function Register address Register type Number Operate Data Range Remarks Related function code Module address 0x07E8 Holding register 1 RW Modbus address 1 247 configurable addresses R 0x03 W 0x06 Module model 0x07D0 Holding register 12 R Get the current model R 0x03 Firmware version 0x07DC Holding register 1 R Get firmware version n...

Page 21: ...thers 1 65535s cycle sending R 0x03 W 0x06 0x10 MOSBUS TCP RTU conversion enable 0x08E8 Holding register 1 RW 0 close 1 open protocol conversion R 0x03 W 0x06 0x10 MODBUS address filtering 0x08E9 Holding register 1 RW 0 transparent transmission 1 255 when the data is not local check the slave address of the command and it can be passed when it is the set value R 0x03 W 0x06 0x10 4 5 4 Examples of ...

Page 22: ...ethod CRC check code The DO1 coil is turned on Use 0F function code as the command to write multiple coils for example 01 0F 00 00 00 04 01 0F 7E 92 Modbus address Function code Initial address Number of coils Bytes of data Control coil data CRC check code After sending the above command to the device through the 485 bus the device will return the following values 01 0F 00 00 OO O4 54 08 Modbus ad...

Page 23: ...ddress Function code Register address Write value CRC check code If the modification is successful the data in the 0x0578 register is 0x0001 and the pulse output mode is turned on Use function code 10 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 head address ...

Page 24: ...on software 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 Ste...

Page 25: ...ter the IO monitoring The following is the IO monitoring screen display 5 2 Parameter configuration interface Step 1 Connect the device refer to Acquisition and Control 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 ...

Page 26: ...hengdu Ebyte Electronic Technology Co Ltd 25 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 ...

Page 27: ...6 Revise history Version Revision date Revision Notes Maintenance man 1 0 2023 6 6 Initial version LT 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 ...

Reviews: