Page 3
CE-IO0222 User Manual TCP Server Mode .......................... 22 TCP Client Mode ........................... 24 UDP Server Mode ......................... 25 UDP Client Mode ........................... 27 Modbus TCP Testing ........................29 5.6.1 Software Download ......................... 29 Test Instruction ..........................29 5.6.2 5.6.3 Communication OK ......................... 31 PLC COMMUNICATION .....................
Page 4
CE-IO0222 User Manual Notice ❖ Please read this manual carefully before use and save it for reference. ❖ Please follow to the operating procedures and precautions in this manual. ❖ Please open the package carefully and check whether the device and accessories have been damaged due to transportation when you receive the device.
CE-IO0222 User Manual Product Introduction CE-IO series products are Ethernet I/O module using standard Modbus RTU/TCP protocol, integrates DO (digital output), DI (digital input), AI (analog input). The communication method supports Ethernet networking, wide voltage power supply, and supports functions such as logic control between analog acquisition and relay output.
CE-IO0222 User Manual Reset button Press and hold the button for 6 seconds release the button,enter the default DHCP mode. Press and hold the button for 12 release the button, enter the default static IP mode. seconds Communication Wiring By default, its address is 1, The host computer software can use the default address 1 to communicate with the device (or broadcast address 254, which is only applicable when one device is mounted on the network).
CE-IO0222 User Manual Input&Output Wiring 2.4.1 DI Wiring Passive switch Wiring 2.4.2 DO Wiring The relay output contact capacity is up to AC250V 10A, single pole double throw. 2.4.3 Analog Wiring / 13...
CE-IO0222 User Manual Device Parameters Configuration Download Link JYDAMEn https://onefexindustrial.com/ethernet-io-module Software Interface Toolbar Explaination Communication Serial port/network communication mode selection; settings Port number/TCP address selection; Set AI/DI/DO read refresh time DO control Operate the DO channel; Select DO mode; Set the action time DI input View DI input status;...
CE-IO0222 User Manual Analog Input Display 4-20ma/0-10v/0-5v real-time data/curve; Display PT100/K type thermocouple/DS18B20 temperature data/curve; Display real-time acquisition time; Set the AI/temperature channel name; Set the AI channel range conversion and display unit; Manually export excel table data; Manually save the data curve. Analog Output Set AO output;...
CE-IO0222 User Manual Analog data input expaination 1 Select analog input; 2 The data size and real-time curve can be directly viewed below. Ethernet Parameter Config Network Device IP Address Port# Mode Address Ethernet 192.168.1.232 10000 Server There are 2 modes for ethernet parameter configuration Hardware Instuctions Connection...
Page 12
CE-IO0222 User Manual (Because the default IP of io is 192.168.1.232, when modifying its parameters, the io IP must be in the same network segment as the computer IP. ➢ Open JYNetConfigEn, it shows as below: ➢ Chosse Local connection: / 13...
CE-IO0222 User Manual ➢ researching Networking mode Check to make sure that the computer network and the router/switch connected to io are in the same network. Note: generally, there are multi-level networks in the enterprise. When the computer is connected to the wireless network and the io is connected to the router through a network cable, it must be confirmed that the router connected to the io is the same as the wireless WIFI router.
Page 15
CE-IO0222 User Manual ➢ searching; ➢ View current network information Open [Network and Sharing Center]---->[Active Network]---->[Local Area Connection/Wireless Network Connection]---->[Details], as shown in the following figure: / 13...
Page 16
CE-IO0222 User Manual ➢ Check whether the IP to be modified by the device is occupied / 13...
Page 17
CE-IO0222 User Manual ➢ Revise IP ➢ Researching / 13...
CE-IO0222 User Manual TCP/UDP Configuration Mode Instruction ① The device is used as the server side; ② Support two Clients to use different port numbers to communicate TCP Server with the device. ① The device is used as the Client; ②...
CE-IO0222 User Manual 4.3.2 TCP Client ➢ Mode revisement ➢ Login information packet (handshake packet) When using the TCP Client mode, the device will send a handshake message when connecting to the server for the first time as a client, which can be customized and modified. / 13...
Page 20
CE-IO0222 User Manual ➢ Heartbeat packet / 13...
CE-IO0222 User Manual Communication Test Test Software JYNetConfigEn Download link: https://onefexindustrial.com/ethernet-io-module ➢ Ethernet IO support Modbus RTU and Modbus TCP two communication protocols. ➢ For commands used in the test process, please refer to the manual of corresponding device model. TCP Server Mode Connection Example:...
Page 23
CE-IO0222 User Manual ◼ Create a device-oriented iP and port in TCP Client mode: ◆ Send command test / 13...
CE-IO0222 User Manual UDP Client Mode In UDP mode, the connection is actively initiated by the server. So the io is required to be configured with automatic return function. Connection Example: ◼ IO parameter: ◆ The current computer establishes a UDP Server and monitors port 10001: / 13...
Page 28
CE-IO0222 User Manual ◆ Send command to test After establishing communication, the test is as below: / 13...
CE-IO0222 User Manual Modbus TCP Testing Ethernet I/O supports Modbus RTU and Modbus TCP two communication protocols; Modbus TCP test using Modbus POLL software. 5.6.1 Software Download Download Link: https://www.modbustools.com/download.html 5.6.2 Test Instruction ➢ Set up communication test / 13...
Page 30
CE-IO0222 User Manual ➢ Revise parameters Brief description of the function code: / 13...
CE-IO0222 User Manual Function Code Explaination Relay Output Digital Input Analog Input 03(keep) Analog Input 04(read only) 5.6.3 Communication OK Take relay control as example: / 13...
CE-IO0222 User Manual PLC Communication ➢ Ethernet IO supports Modbus RTU and Modbus TCP. When PLC communicates with io through TCP to establish Modbus TCP communication, the network channel mode needs to be changed to [Modbus TCP] ➢ The following parameters must be set for PLC communication. Port Device address (station IP address...
Page 34
CE-IO0222 User Manual Discrete input Switch 1x0001 The 1st DI Command 2 1x0002 The 2nd DI Analog Input Analog 3x0001 The 1st AI Command 4 3x0002 The 2nd AI Parameters Setting Communication holding register 4x1001 See the corresponding table of baud baud rate rate values in the table below.
CE-IO0222 User Manual and 10002 all correspond to the specified hardware. The register address is in accordance with the PLC naming rules, the real address is to remove the highest bit, and then subtract 1. Command List Scene RTU format (send in hexadecimal) Query 4 DOs ‘status FE 02 00 00 00 04 6D C6 FE 01 01 00 61 9C...
CE-IO0222 User Manual 7.4.2 Query DO Status Sending Code:FE 01 00 00 00 02 A9 C4 Field Meaning Note Device address It is the broadcast address 01 command Query DO status command Starting address Register address of the first DO to be queried 00 00 00 02 Number of queries...
CE-IO0222 User Manual 91 9C CRC16 CRC16 checksum of the first 6 bytes of data 7.4.4 Query AI Sending Code:FE 04 00 00 00 02 65 C4 Field Meaning Note Device address It is the broadcast address 04 command Query AI status command Starting address Register address of the first AI to be queried 00 00...
After-sale Service Commitment OneFex provides after-sales service of the device within one year from the date of sale. But for damage caused by improper use, you need to send it back and take the freight for repair or adjust. Make sure that the package is in good condition to avoid damage during transportation.