OneFex CE-IO Series Manual

Ethernet i/o module

Advertisement

Quick Links

CE-IO0222 User Manual
CE-IO0222
Ethernet I/O Module
Manual
1
/ 13

Advertisement

Table of Contents
loading

Summary of Contents for OneFex CE-IO Series

  • Page 1 CE-IO0222 User Manual CE-IO0222 Ethernet I/O Module Manual / 13...
  • Page 2: Table Of Contents

    CE-IO0222 User Manual PRODUCT INTRODUCTION ....................5 Features ............................5 Parameter ............................5 Item Selection ..........................6 Dimension ............................6 WIRING INSTRUCTIONS ..................... 6 Terminal Definition ......................... 6 Reset button ............................ 7 Communication Wiring ........................7 RS485 Wiring ............................. 7 2.3.1 RS232 Wiring .............................
  • 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.
  • Page 5: Product Introduction

    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.
  • Page 6: Item Selection

    CE-IO0222 User Manual Installation 35mm Din Rail Mounting / Screw Holes Item Selection 2*DI&2*DO&2*AI, RS485+Ethernet, Modbus RTU/ TCP/UDP CE-IO0222 2*DI&2*DO&2*AI, RS485+Ethernet, Modbus RTU/ TCP/UDP, CE-IO0222S Smart Intelligent Control Version 4DO+4DI+4AI+4AO,RS232+Ethernet,Modbus RTU/ TCP/UDP CE-IO4444 16DO,RS485+Ethernet,Modbus RTU/ TCP/UDP CE-IO1600 12DO+8DI+8AI+4AO,RS232+RS485+Ethernet,Modbus RTU/ TCP/UDP CE-IO12884 Dimension 88*72*59mm...
  • Page 7: Reset Button

    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).
  • Page 8: Input&Output Wiring

    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...
  • Page 9: Device Parameters Configuration

    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;...
  • Page 10: Communication Test

    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;...
  • Page 11: Analog Data Input Expaination

    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...
  • Page 13 CE-IO0222 User Manual ➢ Searching: Revise parameter / 13...
  • Page 14: Networking Mode

    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...
  • Page 18: Tcp/Udp Configuration

    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; ②...
  • Page 19: 4.3.2 Tcp 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...
  • Page 21: 4.3.3 Udp Server

    CE-IO0222 User Manual 4.3.3 UDP Server 4.3.4 UDP Client / 13...
  • Page 22: Communication Test

    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...
  • Page 24: Tcp Client Mode

    CE-IO0222 User Manual TCP Client Mode Connection Example: ◆ IO Parameter ◆ Create a TCP Server and listen on port 10000: / 13...
  • Page 25: Udp Server Mode

    CE-IO0222 User Manual ◼ Send command to test UDP Server Mode Connection Example: ◆ IO parameter: / 13...
  • Page 26 CE-IO0222 User Manual ◼ Create a UDP Client pointing to the IP and port of the device Server: ◆ Send command to test / 13...
  • Page 27: Udp Client Mode

    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...
  • Page 29: Modbus Tcp Testing

    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...
  • Page 31: Communication Ok

    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...
  • Page 32 CE-IO0222 User Manual / 13...
  • Page 33: Plc Communication

    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.
  • Page 35: Command List

    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...
  • Page 36: Query Do Status

    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...
  • Page 37: Query Ai

    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...
  • Page 38: All On And All Off Command

    CE-IO0222 User Manual 00 0A is 10 (hexadecimal converted to 00 0A Interval time decimal) interval time is (0.1 seconds*10) CRC16 Check method 00 D8 Return code:FE 10 00 03 00 02 A5 C7 Field Meaning Note Device address 10 command Return instruction:If the query is wrong, return 0x82 Device address...
  • Page 39: Product Maintenance

    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.

This manual is also suitable for:

Ce-io0222Ce-io0222sCe-io4444Ce-io1600Ce-io12884

Table of Contents