ICP DAS USA ET-2217CI User Manual

ICP DAS USA ET-2217CI User Manual

Ethernet i/o modules
Table of Contents

Advertisement

Quick Links

ET-2200 Series Ethernet I/O
Modules User Manual
Ethernet I/O Module
W
ARRANTY
All products manufactured by ICP DAS are warranted against
defective materials for a period of one year from the date of
delivery to the original purchaser.
W
ARNING
ICP DAS assumes no liability for damages consequent to the
use of this product. ICP DAS reserves the right to change this
manual at any time without notice. The information
furnished by ICP DAS is believed to be accurate and reliable.
However, no responsibility is assumed by ICP DAS for its use,
nor for any infringements of patents or other rights of third
parties resulting from its use.
C
OPYRIGHT
Copyright © 2020 by ICP DAS. All rights are reserved.
T
RADEMARK
Names are used for identification only and may be
registered trademarks of their respective companies.
C
U
ONTACT
S
If you have any questions, please feel free to contact us via
email at:
service@icpdas.com
Ver. 1.6.0, Oct. 2021
S
UPPORT
This manual relates to the following
modules:
AI:
ET-2217CI-4, ET-2217CI
DI/DO:
ET-2242, ET-2242U, ET-2251, ET-2254,
ET-2254P, ET-2255, ET-2255U, ET-2260,
ET-2261, ET-2261-16, and ET-2268

Advertisement

Table of Contents
loading

Summary of Contents for ICP DAS USA ET-2217CI

  • Page 1 This manual relates to the following Copyright © 2020 by ICP DAS. All rights are reserved. modules: RADEMARK ET-2217CI-4, ET-2217CI Names are used for identification only and may be registered trademarks of their respective companies. DI/DO: ET-2242, ET-2242U, ET-2251, ET-2254,...
  • Page 2: Table Of Contents

    ET-2260 ........................ 25 2.3.6 ET-2261 ........................ 25 2.3.7 ET-2261-16 ......................26 2.3.8 ET-2268 ........................ 26 2.3.9 ET-2217CI/2217CI-4 ..................... 27 2.4 Wiring Connections ......................28 2.4.1 Digital Input Wiring ..................... 28 2.4.2 Digital Output Wiring ..................29 2.4.3 Analog Input Wiring .................... 31 2.5 Wiring to the Connector ....................
  • Page 3 ET-2200 Series Ethernet I/O Modules 4.2 Home ..........................44 4.2.1 Home – DI/DO ..................... 44 4.2.2 Home – AI ......................45 4.3 Network ..........................46 4.3.1 IP Address Configuration ..................46 4.3.2 General Settings ....................49 4.3.3 Restore Factory Defaults ..................50 4.3.4 Firmware Update ....................
  • Page 4 ET-2200 Series Ethernet I/O Modules 4.17.1 Set up Mosquitto ....................82 4.17.2 Introduction to MQTTLens .................. 88 4.17.3 ET-2200 Periodic Publish Realization ..............91 5. I/O PAIR CONNECTION APPLICATIONS ................93 5.1 One Module Polling the Remote DI/DO (1-to-1, Pull / Push Mode) ....... 93 5.1.1 Pull Mode ......................
  • Page 5: Introduction

    ET-2200 Series Ethernet I/O Modules 1. Introduction The ET-2200 series modules, a IP-based Ethernet I/O module, features a built-in web server which allows configuration, I/O monitoring and I/O control by simply using a regular web browser. In addition, the ET-2200 also supports Modbus TCP/UDP protocol that makes perfect integration to SCADA software.
  • Page 6: Features

    ET-2200 Series Ethernet I/O Modules Features 1. Built-in Web Server The ET-2200 series module has a built-in web server that allows users to easily configure, monitor and control the module from a remote location using a web browser. 2. Support Modbus TCP/UDP Protocols The Modbus TCP, Modbus UDP slave function on the Ethernet port can be used to provide data to remote SCADA software.
  • Page 7 ET-2200 Series Ethernet I/O Modules 5. Built-in Multi-function I/O  All Digital Output modules provide: A Power-on Value: On boot up, the digital output value is set as the Power-on value.  A Safe Value: If Modbus TCP communication is lost for a certain period, the digital output ...
  • Page 8 ET-2200 Series Ethernet I/O Modules  DIO Synchronization(Mirror Local DI to DO): ET-2200 series modules also provide a DIO synchronization function. The DIO synchronization is divided into three modes: Level Sync, Rising Active and Falling Active. Level Sync (DO = DI) Mode: The synchronization operation in DI and DO. ...
  • Page 9 ET-2200 Series Ethernet I/O Modules 7. Daisy-chain Ethernet Cabling The ET-2200 has a built-in two-port Ethernet switch to implement daisy-chain topology. The cabling is much easier and total costs of cable and switch are significantly reduced. 8. LAN Bypass Bypass feature guarantees Ethernet communication.
  • Page 10: Hardware Information

    ET-2200 Series Ethernet I/O Modules 2. Hardware Information Appearance The front panel and top panel of the ET-2200 module contain the I/O connector, LEDs, Ethernet Port and power connector. Front Panel DI/DO Module AI Module PWR LED Indicator I/O Indicator I/O Connector ...
  • Page 11 2200 series module. ET-2242/2251/2254(P)/2255/2260/2261/2268:  The valid power voltage range is from +10 to +30 V ET-2242U/2255U/2261-16, ET-2217CI/2217CI-4:  The valid power voltage range is from +10 to +48 V The definition for “F.G.” (Frame Ground): Electronic circuits are constantly vulnerable to Electrostatic Discharge (ESD), which becomes worse in a continental climate area.
  • Page 12 ET-2200 Series Ethernet I/O Modules  Operating Mode Switch Init Mode: Use factory default settings for troubleshooting. Run Mode:Use customer settings for normal operations. The operating mode switch is set to the “Run” position by default. Refer to Section 3.1 “Configuring the Boot Mode"...
  • Page 13: Specification

    ET-2200 Series Ethernet I/O Modules Specification 2.2.1 System Specification (DIO) Model ET-2242 ET-2251 ET-2255 ET-2260 ET-2261 ET-2268 2254(P) 2261-16 2242U 2255U System 32-bit ARM Communication Ethernet Port 2 x RJ-45, 10/100 Base-Tx, switch Ports Protocol Modbus TCP, Modbus UDP Security Password and IP Filter I/O Pair Connection Yes (Push, Pull)
  • Page 14: Di/Do Specification

    ET-2200 Series Ethernet I/O Modules 2.2.2 DI/DO Specification ET-2242/ET-2242U Model ET-2242 ET-2242U Digital Output Channels Type Open collector Push-Pull Sink/Source (NPN/PNP) Sink Sink/Source Load Voltage +3.5 V ~ +50 V +3.5 V ~ +80 V Max. Load Current 650 mA/Channel 500 mA/Channel 1.4 A Overload Protection...
  • Page 15 ET-2200 Series Ethernet I/O Modules ET-2254/2254P Model ET-2254 ET-2254P I/O Type By Wire Connection, Configurable Universal DIO I/O Channels Digital Input Type Dry Contact Sink/Source (NPN/PNP) Source On Voltage Level Close to GND Off Voltage Level Open Input Impedance 3 kΩ, 0.5 W 7.5 kΩ, 1 W Max.
  • Page 16 ET-2200 Series Ethernet I/O Modules ET-2255/ET-2255U Model ET-2255 ET-2255U Digital Input/Counter Channels Contact Wet Contact Sink/Source (NPN/PNP) Sink/Source On Voltage Level +5 V ~ +50 V +1 V Max. Off Voltage Level Input Impedance 7.5 kΩ Max. Count 4,294,967,295 (32 bits) Counters Max.
  • Page 17 ET-2200 Series Ethernet I/O Modules ET-2260 Model ET-2260 Digital Input/Counter Channels Contact Wet Contact Sink/Source (NPN/PNP) Sink/Source On Voltage Level +5 V ~ +50 V +3.5 V Max. Off Voltage Level Input Impedance 7.5 kΩ Max. Count 4,294,967,295 (32 bits) Counters Max.
  • Page 18 ET-2200 Series Ethernet I/O Modules ET-2261/2261-16 Model ET-2261 ET-2261-16 Power Relay Channels Type Power Relay, Form A (SPST N.O.) Contact Rating 5 A @ 250 V /24 V (Resistive Load) Min. Contact Load 10 mA @ 5 V Operate Time 10 ms (max.) Release Time 5 ms (max.)
  • Page 19 ET-2200 Series Ethernet I/O Modules ET-2268 Model ET-2268 Relay Output Channels 8 (Form A x 4, Form C x 4) Relay Type Signal Relay 2 A @ 30 V Contact Rating 0.24 A @ 220 V 0.25 A @ 250 V Min.
  • Page 20: System Specification (Ai)

    ET-2200 Series Ethernet I/O Modules 2.2.3 System Specification (AI) Model ET-2217CI-4 ET-2217CI System Real Time Clock Yes, up to 480,000 records (ET-2217CI-4) and Data Logger 320,000 records (ET-2217CI) Communication Ethernet Port 2 x RJ-45, 10/100 Base-TX, Switch Ports Protocol Modbus TCP, Modbus UDP...
  • Page 21: Ai Specification

    ET-2200 Series Ethernet I/O Modules 2.2.4 AI Specification ET-2217CI-4/ET-2217CI Model ET-2217CI-4 ET-2217CI Analog Input Channels 4 Differential 8 Differential Voltage ±1 V, ±2.5 V, ±5 V, ±10 V Type Range Current 0 ~ 20mA, 4 ~ 20mA (Software Configurable )
  • Page 22: Pin Assignments

    ET-2200 Series Ethernet I/O Modules Pin Assignments 2.3.1 ET-2242/ET-2242U Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -22 -...
  • Page 23: 2254/2254P

    ET-2200 Series Ethernet I/O Modules 2.3.2 ET-2251 2.3.3 ET-2254/2254P Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -23 -...
  • Page 24: 2255/Et-2255U

    ET-2200 Series Ethernet I/O Modules 2.3.4 ET-2255/ET-2255U Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -24 -...
  • Page 25 ET-2200 Series Ethernet I/O Modules 2.3.5 ET-2260 2.3.6 ET-2261 Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -25 -...
  • Page 26 ET-2200 Series Ethernet I/O Modules 2.3.7 ET-2261-16 2.3.8 ET-2268 Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -26 -...
  • Page 27: 2217Ci/2217Ci-4

    ET-2200 Series Ethernet I/O Modules 2.3.9 ET-2217CI/2217CI-4 Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -27 -...
  • Page 28: Wiring Connections

    ET-2200 Series Ethernet I/O Modules Wiring Connections 2.4.1 Digital Input Wiring  Input Wiring for the ET-2251/2255/2255U/2260: Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -28 -...
  • Page 29: Digital Output Wiring

    ET-2200 Series Ethernet I/O Modules  Input Wiring for the ET-2254/2254P: 2.4.2 Digital Output Wiring  Output Wiring for ET-2242/2254/2254P/2255:  Output Wiring for ET-2242U/2255U: Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -29 -...
  • Page 30 ET-2200 Series Ethernet I/O Modules  Output Wiring for ET-2260/2261/2261-16:  Output Wiring for ET-2268: Note for the ET-2260/2261/2261-16/2268: When inductive loads are connected to the relays, a large counter electromotive force may occur when the relay actuates because of the energy stored in the load.
  • Page 31: Analog Input Wiring

    ET-2200 Series Ethernet I/O Modules 2.4.3 Analog Input Wiring  Input Wiring for the ET-2251/2255/2255U/2260: Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -31 -...
  • Page 32: Wiring To The Connector

    ET-2200 Series Ethernet I/O Modules Wiring to the Connector  Insulated Terminals Dimensions: Dimensions (Unit: mm) Item NO. CE007512 12.0 18.0  A tip for connecting the wire to the connector 2. While holding the screwdriver in place, insert the wire into the terminal block. Continue holding the screwdriver in place 1.
  • Page 33: Dimensions

    ET-2200 Series Ethernet I/O Modules Dimensions The following diagrams provide the dimensions of the ET-2200 series module and can be used as a reference when defining the specifications for any custom enclosures. All dimensions are in millimeters.  ET-2242(U)/2251/2254(P)/2255(U)/2260/2261/2268: Right Side View Front View Top View Left Side View...
  • Page 34 ET-2200 Series Ethernet I/O Modules  ET-2261-16: Right Side View Front View Top View Left Side View Rear View Bottom View Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -34 -...
  • Page 35 ET-2200 Series Ethernet I/O Modules ET-2200CI 系列  Left Side View Front View Top View Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -35 -...
  • Page 36: Getting Started

    ET-2200 Series Ethernet I/O Modules 3. Getting Started This chapter provides a basic overview of how to configure and operate your ET-2200 series module. Configuring the Boot Mode The ET-2200 series modules have two operating modes that can be selected by using the switch mechanism incorporated on the chassis.
  • Page 37: Connecting The Power And The Host Pc

    ET-2200 Series Ethernet I/O Modules Connecting the Power and the Host PC Step 1: Connect both the ET-2200 module and the Host PC to the same sub network or the same Ethernet Switch Ensure that the network settings on the Host PC have been correctly configured and are functioning normally.
  • Page 38: Configuring The Network Settings

    ET-2200 Series Ethernet I/O Modules Configuring the Network Settings Step 1: Get the eSearch Utility The eSearch Utility can be obtained from the ICP DAS web site at: https://www.icpdas.com/en/download/index.php?nation=US&kind1=&model=&kw=eSearch Step 2: Install the eSearch Utility Follow the steps as suggested by the eSearch setup wizard to finish the installation.
  • Page 39 ET-2200 Series Ethernet I/O Modules Step 4: Once the search process in complete, double-click the name of the ET-2200 module to open the “Configure Server (UDP)” dialog box Factory Default Settings for the ET-2200 Series, as follows: 192.168.255.1 Gateway 192.168.0.1 Mask 255.255.0.0 Step 5: Assign a new IP an address and then click the...
  • Page 40: Modbus Tcp Testing

    ET-2200 Series Ethernet I/O Modules Modbus TCP Testing Step 1: In the eSearch Utility, Select the “Modbus TCP Master” item from the “Tools”menu to open the Modbus TCP Master Utility. Step 2: Enter the IP address TCP Port for the ET-2200 module in the “Modbus TCP”...
  • Page 41 ET-2200 Series Ethernet I/O Modules Step 3: Refer to the “Protocol Description” filed in the top right-hand section of the Modbus Utility windows. You can send a request command and confirm that the response is correct. Example: The Modbus NetID for the ET-2200 is 1 (refer to Section 4.3.1).
  • Page 42: Web Configuration

    ET-2200 Series Ethernet I/O Modules 4. Web Configuration All ET-2200 series module contain an advanced embedded web configuration system that provides I/O accessibility to the ET-2200 series module via a web browser. Logging in to the Web Server You can access the embedded ET-2200 series web server from any computer that has an Internet connection.
  • Page 43 ET-2200 Series Ethernet I/O Modules Step 3: Enter the password to log into the ET-2200 Web Server Once the login screen is displayed, enter the password in the login password field (the default password is “Admin”), and then click the “Submit” button to enter the configuration web page. DI/DO Module The default password is “Admin”...
  • Page 44: Home

    ET-2200 Series Ethernet I/O Modules Home Clicking the Home tab will display to the main page allowing you verify the ET-2200 series module hardware and software information and IO control, each of which will be described in more detail below. 4.2.1 Home –...
  • Page 45: Home - Ai

    ET-2200 Series Ethernet I/O Modules 4.2.2 Home – AI The first section provides basic information about the module including the Model Name, Firmware Version, IP Address, TCP Port Timeout, Alias Name, MAC Address, Initial Switch position, and the System Timeout. The second section - Analog Input Readings, provides information related to the AI data range,...
  • Page 46: Network

    ET-2200 Series Ethernet I/O Modules Network Note: The function is available for AI and DIO modules. AI Module Clicking the Network tab will display the IP Address Configuration page allowing you verify the current settings and configure the IP Address parameters, configure the general parameters and restore the default settings for the ET-2200 series module, each of which will be described in more detail below.
  • Page 47 ET-2200 Series Ethernet I/O Modules The table describes the parameters contained in the "IP Address Configuration" section. Item Description Static IP: If there is no DHCP server installed in your network, you can configure the network settings manually. Refer to Section“Manual Configuration”...
  • Page 48 ET-2200 Series Ethernet I/O Modules Dynamic Configuration Dynamic configuration is very easy to perform. If a DHCP server is connected to you network, a network address can be dynamically configured by using the following procedure: Step 1: Select “DHCP” from the Address Type drop-down menu. Step 2: Click the “Update Settings”...
  • Page 49: General Settings

    ET-2200 Series Ethernet I/O Modules 4.3.2 General Settings The table describes the parameters contained in the "General Settings" section. Item Description This parameter is used to set the Ethernet speed. The default value is Auto Ethernet Speed (Auto = 10/100 Mbps Auto-negotiation). This parameter is used to configure the system timeout value.
  • Page 50: Restore Factory Defaults

    ET-2200 Series Ethernet I/O Modules 4.3.3 Restore Factory Defaults  Restore all options to their factory default states To reset all parameters to their original factory default settings, use the following procedure: Step 1: Click the “Restore Defaults” button to reset the configuration. Step 2: Click the “OK”...
  • Page 51 ET-2200 Series Ethernet I/O Modules  Forced Reboot The Forced Reboot function can be used to remotely force the ET-2200 module to reboot. After that, enter the password to log into the main page. DI/DO Module AI Module Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -51 -...
  • Page 52: Firmware Update

    ET-2200 Series Ethernet I/O Modules 4.3.4 Firmware Update Firmware update requires initialization and local network operations. Traditional firmware update requires adjusting the Init/Run Switch and reboots the module manually for the initialization of firmware update, while new firmware allows user to initialize the module via web interface without adjusting the hardware switch.
  • Page 53: I/O Settings

    ET-2200 Series Ethernet I/O Modules I/O Settings The I/O Settings page allows you to configure the Digital Input, Digital Output, and Analog Input parameters for the ET-2200 series module. Chapter  4.4.1 DO Control  4.4.2 DI/DO Configuration  4.4.3 Analog Input Channel ...
  • Page 54: Di/Do Configuration

    ET-2200 Series Ethernet I/O Modules 4.4.2 DI/DO Configuration The table describes the parameters contained in the "DI/DO Configuration" section. Item Description Digital Output This parameter is used to configure the Host Watchdog timeout value. If there is Host/Slave Watchdog no Modbus TCP communication activity for the specified period (the timeout), Timeout then the Host Watchdog will activate an alarm.
  • Page 55 ET-2200 Series Ethernet I/O Modules Item Description This parameter is used to define the DO safe value for the ET-2200 module. If the Safe Value Host Watchdog alarm is activated, the DO will be set to the user-defined safe value. This parameter is used to define the DO Power-on value.
  • Page 56 ET-2200 Series Ethernet I/O Modules Item Description This parameter is used to define the scan mode for the frequency measurement. 1000 ms: This mode provides a normal update rate and normal accuracy. The acceptable frequency range for the input signal is 1 Hz to 3 kHz (± 1 Hz error). This mode can be used when the pulse width (signal source) contains small errors, since the measurement is based on the pulse count.
  • Page 57: Analog Input Channel

    ET-2200 Series Ethernet I/O Modules 4.4.3 Analog Input Channel Note: The content in Section 4.4.3 to 4.4.6 is available for AI modules. The table describes the parameters contained in the "Analog Input Configuration" section. Item Description Analog Input Data Format Set the data format, e.g., Hex or Engineering.
  • Page 58: Analog Input Calibration

    ET-2200 Series Ethernet I/O Modules 4.4.4 Analog Input Calibration The table describes the parameters contained in the "Analog Input Calibration" section. Item Description Analog Input Channel Display the data range and the Zero or Span calibration AI0 ~ AI7 voltage/current. AI Channel Select an AI channel to perform calibration.
  • Page 59: Rtc

    ET-2200 Series Ethernet I/O Modules 4.4.5 The function is used to set the system timeaand click the “Update Settings” button to save the revised setiing to the ET-2200 module. 4.4.6 Data Logger Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -59 -...
  • Page 60 ET-2200 Series Ethernet I/O Modules The table describes the parameters contained in the "Data Logger" section. Item Description Status Display the current status of data logging. Set the status of data logging. It can be set to Stop, Run, Period, Change Logging Pause, and Continue.
  • Page 61: Sync

    ET-2200 Series Ethernet I/O Modules Sync Note: The function is available for DIO modules. The DIO Synchronization section on the Sync page allows you to configure the Synchronous DIO, Min-switching time of DO and Auto-off Time of DO for the ET-2200 series module, each of which will be described in more detail below.
  • Page 62 ET-2200 Series Ethernet I/O Modules The table describes the parameters contained in the "DIO Synchronization" section. Item Description Synchronous DIO (Local Mirror) Note: ET-2254 supports these functions when low 8-bit are DI0 to DI7 and high 8-bit are DO8 to DO15. This parameter is used to enable the synchronization operation in Level Sync (DO = DI) Digital Input/Output function.
  • Page 63: Pwm

    ET-2200 Series Ethernet I/O Modules Note: The function is available for DIO modules. The PWM Configuration section on the PWM page allows you to enable and configure the PWM parameters for the ET-2200 series module, including the PWM Alarm and duty cycle, etc., each of which will be described in more detail below.
  • Page 64: Mqtt (Ai)

    ET-2200 Series Ethernet I/O Modules MQTT (AI)  Connectivity Settings Refer to Section 4.13.1 Connectivity Settings for more details about the setting.  Publication Settings Refer to Section 4.13.2 Publication Settings for more details about the setting.  Analog Inputs Refer to Section 4.16 MQTT-AI for more details about the setting.
  • Page 65: Pair Connection

    ET-2200 Series Ethernet I/O Modules Pair Connection Note: The function is available for AIO and DIO modules. The I/O Pair Connection Settings section on the Pair page allows you to enable and configure the DI-to-DO pair connections for the ET-2200 series module via the Modbus TCP (Ethernet) protocol. 4.8.1 I/O Pair-Connection Settings AI 模組...
  • Page 66 ET-2200 Series Ethernet I/O Modules The table describes the parameters contained in the "I/O Pair-Connection Settings" section. Item Description Defaults This parameter is used to define the Server mode for the ET-2200 series module. Disable: Server mode (Slave). Mode Disable PULL: Pull remote AI (DI) to local AO (DO) in the Client mode (Master).
  • Page 67: Filter

    ET-2200 Series Ethernet I/O Modules Filter Note: The function is available for AIO and DIO modules. The Filter Settings section on the Filter page allows you to configure the IP Filter list for the ET- 2200 series module, which will be described in more detail below. 4.9.1 Filter Settings The Filter Settings function is used to query or set the IP Filter List (Available IP) for the ET-2200...
  • Page 68: Monitor

    ET-2200 Series Ethernet I/O Modules 4.10 Monitor Note: The function is available for AIO and DIO modules. After clicking the Monitor tab, the user can check the connection status of the ET-2200 series module on the Current Connection Status section. Copyright ©...
  • Page 69: Change Password

    ET-2200 Series Ethernet I/O Modules 4.11 Change Password Note: The function is available for AIO and DIO modules. The Change Password section on the Password page allows you to change the change, follow the steps. Step1: Enter the old password in the “Current password” field (use the default password “Admin”). Step2: Enter a new password in the “New password”...
  • Page 70: Logout

    ET-2200 Series Ethernet I/O Modules 4.12 Logout Note: The function is available for AIO and DIO modules. Clicking the Logout tab will immediately log you out from the system and return you to the login page. Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. -70 -...
  • Page 71: Mqtt

    ET-2200 Series Ethernet I/O Modules 4.13 MQTT Note: The function is available for AIO and DIO modules. AI Module DI/DO Module Chapter   4.13.1 Connectivity Settings   4.13.2 Publication Settings   4.13.3 Publication Settings  4.14 MQTT-DO ...
  • Page 72: Connectivity Settings

    ET-2200 Series Ethernet I/O Modules The above is a schematic diagram of the system. Publishers are similar to various forms of publishing house, and focus on updating commodities for different topics such as novels, newspapers, and magazines, etc. Subscribers are similar to consumers, who purchase, or subscribe to designated commodities in a bookstore (Broker), which presents the latest information that has been designated by the Subscriber.
  • Page 73 ET-2200 Series Ethernet I/O Modules The table describes the parameters contained in the "Connectivity Settings" section. Item Description Defaults MQTT Enables or Disables the MQTT connection function. Disabled Broker The IP address or the Host Name for the MQTT broker. Broker Port The port number for the MQTT broker.
  • Page 74: Publication Settings

    ET-2200 Series Ethernet I/O Modules 4.13.2 Publication Settings The table describes the parameters contained in the "Publication Settings" section. Item Description Defaults Publication Check this option to ensure that the message is retained Retain Disabled once it is published. The time interval that the ET-2200 module periodically Cycle publishes data.
  • Page 75: Restore Factory Defaults

    ET-2200 Series Ethernet I/O Modules Item Description Defaults Last Will and Testament Check this option to enable the Last Will and Testament Enable Disabled function. Check this option to ensure that the Last Will and Testament Retain Disabled message is retained once it is published. 0 - At most The QoS for the Last Will and Testament message.
  • Page 76: Mqtt-Do

    ET-2200 Series Ethernet I/O Modules 4.14 MQTT-DO The DO page is where you can set a full Topic Name, which is a combination of the Sub Topic Name and the Main Topic name. The Publish and Subscribe functions for each DO channel can be enabled or disabled in this page.
  • Page 77 ET-2200 Series Ethernet I/O Modules The table describes the parameters contained in the "MQTT – Digital Outputs" section. Item Description Defaults The DO status will be published when the module is Power-on Publish Powered-on. Disabled Check: Enabled ; Uncheck: Disabled The DO states depend on the updating message of Subscribe corresponding Topic.
  • Page 78: Readbacks Of The Digital Outputs

    ET-2200 Series Ethernet I/O Modules 4.14.2 Readbacks of the Digital Outputs The table describes the parameters contained in the "Readbacks of the Digital Outputs" section. Item Description Default Value A message will be published when the state of the State-Change corresponding DO is changed.
  • Page 79: Mqtt-Di

    ET-2200 Series Ethernet I/O Modules 4.15 MQTT-DI The DI page is where you can set the Topic Name, which is a combination of the Sub Topic Name and the Main Topic name. The Publish function for each DI channel can also be either enabled or disabled on this page.
  • Page 80 ET-2200 Series Ethernet I/O Modules The table describes the parameters contained in the "MQTT – Digital Inputs" section. Item Description Default Value A message will be published when the state of the State-Change corresponding DI is changed. Disabled Publish Check: Enabled ; Uncheck: Disabled to enable or disable the Periodic Publish function.
  • Page 81: Mqtt-Ai

    ET-2200 Series Ethernet I/O Modules 4.16 MQTT-AI The table describes the parameters contained in the "MQTT – Analog Inputs" section. Item Description Defaults to enable or disable the Periodic Publish function. The Periodic Publish publishing period depends on the Cycle settings. Disabled Check: Enabled ;...
  • Page 82: Mqtt- Realization

    ET-2200 Series Ethernet I/O Modules 4.17 MQTT- Realization This section described how to use the open-source software Mosquitto and MQTTLens to demonstrate the usage of MQTT protocol in conjunction with the ET-2200 series module. 4.17.1 Set up Mosquitto Mosquitto is an open-source software application which allows you to create an MQTT Broker, and can be installed on Windows, MacOS, and Linux, etc.
  • Page 83 ET-2200 Series Ethernet I/O Modules Step 2 Locate the ”mosquitto.exe” file in the default installation path and double-click it to enable the Mosquitto server. When this window is executing, the Broker is enabled. Closing this window will disable the Broker. Why can’t I open ”mosquitto.exe”...
  • Page 84 ET-2200 Series Ethernet I/O Modules In the Services application, locate the "Mosquitto Broker" item and double-click the name to open the Properties dialog. Click the Stop button and set the Startup type to Manual. Click OK to save your changes. Copyright ©...
  • Page 85 ET-2200 Series Ethernet I/O Modules Step 3 Open Windows Port 1883 (the default Port for the MQTT) 3.1 Open the Advanced Settings section for the Windows Firewall. 3.2 Add a new rule. Click Inbound Rules and New Rule, and then select the Port option. Click the Next button to continue.
  • Page 86 ET-2200 Series Ethernet I/O Modules 3.3 Select the TCP option and then select Specific local ports and enter the value 1883. Click the Next button to continue. 3.4 Select the Allow the connection option and then click the Next button to continue. Copyright ©...
  • Page 87 ET-2200 Series Ethernet I/O Modules 3.5 Select the Domain checkbox and click the Next button to continue. 3.6 Enter the name of the rule and then click the Finish button to create the rule. Enter the notes if desired. The Name field is customize. It’s for the user to easily identify.
  • Page 88: Introduction To Mqttlens

    ET-2200 Series Ethernet I/O Modules 4.17.2 Introduction to MQTTLens MQTTlens is a free application that is available for the Chrome browser, and can be found in the Chrome Web Store. This program enables you to publish a topic to the Broker and subscribe to a topic from the Broker.
  • Page 89 ET-2200 Series Ethernet I/O Modules Step 2 Connect the Broker Execute MQTTLens on Chrome. Click the "+" button to add a connection and enter the IP address for the Broker, i.e., the IP address for the computer where the MQTT server is located. click the Create Connection button to continue.
  • Page 90 ET-2200 Series Ethernet I/O Modules Step 3 Try to subscribe a topic and publish a message. If the connection is operating normally, you will receive a message related to the defined topic, as follows. Click to Subscribe Enter a Subscribe-Topic: Test/MQTT Enter a Publish-Topic: Test/MQTT Click to Publish Enter a Publish-Message: Any text...
  • Page 91: 2200 Periodic Publish Realization

    ET-2200 Series Ethernet I/O Modules 4.17.3 ET-2200 Periodic Publish Realization Step 1 Refer Set up Mosquitto to install a Broker and refer the Introduction to MQTTLens subscribe the ”ICPDAS/info” Topic. Click to Subscribe Enter the topic name (e.g., ICPDAS/info) for the subscription Step2 Log into the ET-2200 Web Server and click the MQTT...
  • Page 92 ET-2200 Series Ethernet I/O Modules Step 4 Set the Enable field in the All Information section to Enable on the Publication Settings page, and then click the Update Settings button. Click the Restart Service button to restart the MQTT services. Step 5 Return to MQTTLens, the updated message for the subscription, including Module name, Mac Address, DO State, and DI State, has been received every 9000 ms (default...
  • Page 93: I/O Pair Connection Applications

    ET-2200 Series Ethernet I/O Modules 5. I/O Pair Connection Applications The ET-2200 series modules can be used to create DI-to-DO pair connections via the Ethernet. Once the configuration is complete, the modules can then poll the status of the local DI channels and then use the Modbus/TCP protocol to continuously write to a remote DO device in the background.
  • Page 94 ET-2200 Series Ethernet I/O Modules Step 2: Configure the Ethernet Settings Contact your Network Administrator to obtain the correct network configuration information for the ET-2200 series modules (e.g., ET-2260 #1 and #2), such as the IP Address, Subnet Mask, and Gateway details.
  • Page 95: Pull Mode

    ET-2200 Series Ethernet I/O Modules 3. Click the “Pair” tab to display the I/O Pair-connection Settings page. Figure 5-1.4 5.1.1 Pull Mode 4. In the “Pair-connection Settings”, select “PULL” from the “Mode” drop-down options. 5. Enter the IP address for ET-2260 #2 modulein the “Remote IP” field. 6.
  • Page 96: Push Mode

    ET-2200 Series Ethernet I/O Modules 5.1.2 Push Mode 1. In the “Pair-connection Settings”, select “PUSH” from the “Mode” drop-down options. 2. Enter the IP address for ET-2260 #2 module in the “Remote IP” field. 3. Enter the TCP Port for ET-2260 #2 module in the “Remote Port” field. 4.
  • Page 97: Two Modules Pushing The Local Di To Each Other (1-To-1, Push Mode)

    ET-2200 Series Ethernet I/O Modules Two Modules Pushing the Local DI to each other (1-to-1, Push Mode) Step 1: Connect the device to a Network, a PC and a Power supply. Confirm that the ET-2200 series modules are functioning correctly. Refer to Chapter 3 “Getting Started”...
  • Page 98 ET-2200 Series Ethernet I/O Modules Step 3: Configure the I/O Pair connection on the ET-2260 #1 module 1. In the eSearch Utility, select ET-2260 #1 module and then click the “Web” button to launch the browser program and connect to the web server. 2.
  • Page 99 ET-2200 Series Ethernet I/O Modules Step 4: Configure the I/O Pair connection on the ET-2260 #2 module 1. In the eSearch Utility, select ET-2260 #2 module and then click the “Web” button to launch the browser program and connect to the web server. 2.
  • Page 100: Several Modules Pulling The Remote Di (M-To-1) (Pull Mode)

    ET-2200 Series Ethernet I/O Modules Several Modules Pulling the Remote DI (M-to-1) (Pull Mode) Step 1: Connect the device to a Network, a PC and a Power supply. Confirm that the ET-2200 series modules and remote slave device are functioning correctly. Refer to Chapter 3 “Getting Started”...
  • Page 101 ET-2200 Series Ethernet I/O Modules Step 3: Configure the I/O Pair connection on the ET-2260 #1 module 1. In the eSearch Utility, select ET-2260 #1 module and then click the “Web” button to launch the browser program and connect to the web server. 2.
  • Page 102 ET-2200 Series Ethernet I/O Modules Step 4: Configure the I/O Pair connection on the ET-2260 #2 module 1. In the eSearch Utility, select ET-2260 #2 module and then click the “Web” button to launch the browser program and connect to the web server. 2.
  • Page 103: Several Modules Pushing The Local Di (M-To-1) (Push Mode)

    ET-2200 Series Ethernet I/O Modules Several Modules Pushing the Local DI (M-to-1) (Push Mode) Step 1: Connect the device to a Network, a PC and a Power supply. Confirm that the ET-2200 series modules and remote slave device are functioning correctly. Refer to Chapter 3 “Getting Started”...
  • Page 104 ET-2200 Series Ethernet I/O Modules Step 3: Configure the I/O Pair connection on the ET-2260 #1 module 1. In the eSearch Utility, select ET-2260 #1 module and then click the “Web” button to launch the browser program and connect to the web server. 2.
  • Page 105 ET-2200 Series Ethernet I/O Modules Step 4: Configure the I/O Pair connection on the ET-2260 #2 module 1. In the eSearch Utility, select ET-2260 #2 module and then click the “Web” button to launch the browser program and connect to the web server. 2.
  • Page 106: Modbus Information

    ET-2200 Series Ethernet I/O Modules 6. Modbus Information The ET-2200 series is a family of IP-based Modbus I/O devices that allow you to remotely control DI/DO terminals via an Ethernet connection and uses a master-slave communication technique in which only one device (the master) can initiate a transaction (called queries), while other devices (slaves) respond by either supplying the requested data to the master, or by taking the action requested in the query.
  • Page 107: Modbus Message Structure

    ET-2200 Series Ethernet I/O Modules Modbus Message Structure Modbus devices communicate using a master-slave (client-server) technique in which only one device (the master/client) can initiate transactions (called queries). The other devices (slaves/servers) respond by either supplying the requested data to the master, or by taking the action requested in the query.
  • Page 108 ET-2200 Series Ethernet I/O Modules  Modbus RTU Data Structure Byte 06 Byte 07 Bytes 08 - 09 Bytes 10 - 11 Data Field Net ID Function Code Reference Number (Station Number) Number of Points (Address Mapping)  Net ID: Specifies the address of the receiver (i.e., the Modbus/TCP slave). ...
  • Page 109 ET-2200 Series Ethernet I/O Modules Data Field Data is transmitted in 8-, 16- and 32-bit format. The data for 16-bit registers is transmitted in high- byte first format. For example: 0x0A0B will be transmittd as 0x0A, 0x0B. The data for 32-bit registers is transmitted as two 16-bit registers, and is low-word first.
  • Page 110: 0X01) Read The Status Of The Coils (Read Do Readback Vaslues)

    ET-2200 Series Ethernet I/O Modules 6.2.1 01(0x01) Read the Status of the Coils (Read DO Readback vaslues) This function code is used to read either the current status of the coils or the current Digital Output readback value from the ET-2200 series module. [Request] Byte Description...
  • Page 111 ET-2200 Series Ethernet I/O Modules Example: Function 01 (0x01), Readback DOs  Reads the Digital Output value [Leading 6 bytes] [Request] Command: 01 02 00 00 00 06 01 01 00 00 00 02 [Leading 6 bytes] [Response] Response: 01 02 00 00 00 04 01 01 01 03 ...
  • Page 112: 0X02) Read The Status Of The Input (Read Di Values)

    ET-2200 Series Ethernet I/O Modules 6.2.2 02(0x02) Read the Status of the Input (Read DI values) This function code is used to read the current Digital Input value from the ET-2200 series module. [Request] Byte Description Size Value Net ID (Station Number) 1 Byte 1 to 247 Function Code...
  • Page 113 ET-2200 Series Ethernet I/O Modules Example: Function 02 (0x02), ReadDIs  Reads the Digital Input value [Leading 6 bytes] [Request] Command: 01 02 00 00 00 06 01 02 00 00 00 02 [Leading 6 bytes] [Response] Response: 01 02 00 00 00 04 01 02 01 03 ...
  • Page 114: 0X03) Read The Holding Registers (Read Ao Readback Values )

    ET-2200 Series Ethernet I/O Modules 6.2.3 03(0x03) Read the Holding Registers (Read AO Readback values ) This function code is used to readback either the current values in the holding registers or the Analog Output value from the ET-2200 series module. These registers are also used to store the preset valuesfor the Digital Counter, the host watchdog timer, the module name and the TCP timeout, etc.
  • Page 115 ET-2200 Series Ethernet I/O Modules Example: Function 03 (0x03), Read AOs  Reads the name of the module for the ET-2260 [Leading 6 bytes] [Request] Command: 01 02 00 00 00 06 01 03 01 03 00 01 [Leading 6 bytes] [Response] Response: 01 02 00 00 00 05...
  • Page 116: 0X04) Read The Input Registers (Read Ai Values)

    ET-2200 Series Ethernet I/O Modules 6.2.4 04(0x04) Read the Input Registers (Read AI values) This function code is used to read either the input registers or the current analog input value from the ET-2200 series module.These registers are also used to store the current value for the digital counter, the number of DI channels and the number of DO channels, etc.
  • Page 117 ET-2200 Series Ethernet I/O Modules Example: Function 04 (0x04), Read AIs  Reads the number of the DI channels on the ET-2260 [Leading 6 bytes] [Request] Command: 01 02 00 00 00 06 01 04 00 64 00 01 [Leading 6 bytes] [Response] Response: 01 02 00 00 00 05...
  • Page 118: 0X05) Force A Single Coil (Write Do Value)

    ET-2200 Series Ethernet I/O Modules 6.2.5 05(0x05) Force a Single Coil (Write DO value) This function code is used to set the status of a single coil or a single Digital Output value for the ET-2200 series module. [Request] Byte Description Size Value...
  • Page 119 ET-2200 Series Ethernet I/O Modules Example: Function 05 (0x05), WriteDO  Sets channel DO1 to ON [Leading 6 bytes] [Request] Command: 01 02 00 00 00 06 01 05 00 01 FF 00 [Leading 6 bytes] [Response] Response: 01 02 00 00 00 06 01 05 00 01 FF 00 ...
  • Page 120: 0X06) Set A Single Register (Write Ao Value)

    ET-2200 Series Ethernet I/O Modules 6.2.6 06(0x06) Set a Single Register (Write AO value) This function code is used to set a specific holding register to store the configuration valuesfor the ET-2200 series module. [Request] Byte Description Size Value Net ID (Station Number) 1 Byte 1 to 247 Function Code...
  • Page 121 ET-2200 Series Ethernet I/O Modules Example: Function 06 (0x06), WriteAO  Sets the system timeout to 60 seconds [Leading 6 bytes] [Request] Command: 01 02 00 00 00 06 01 06 01 08 00 3C [Leading 6 bytes] [Response] Response: 01 02 00 00 00 06 01 06 01 08 00 3C ...
  • Page 122: 0X0F) Force Multiple Coils (Write Do Values)

    ET-2200 Series Ethernet I/O Modules 6.2.7 15(0x0F) Force Multiple Coils (Write DO values) This function code is used to set the status of multiple coils or to write multiple Digital Output values for the ET-2200 series module. [Request] Byte Description Size Value Net ID (Station Number)
  • Page 123 ET-2200 Series Ethernet I/O Modules Example: Function 15 (0x0F), WriteDOs  Sets the safe value (DO0 ~ DO1) [Leading 6 bytes] [Request] Command: 01 02 00 00 00 08 01 0F 01 0B 00 02 01 03 [Leading 6 bytes] [Response] Response: 01 02 00 00 00 06...
  • Page 124: 0X10) Set Multiple Registers (Write Ao Values)

    ET-2200 Series Ethernet I/O Modules 6.2.8 16(0x10) Set Multiple Registers (Write AO values) This function code is used to set multiple holding registers that are used to store the configuration valuesfor the ET-2200 series module. [Request] Byte Description Size Value Net ID (Station Number) 1 Byte 1 to 247...
  • Page 125 ET-2200 Series Ethernet I/O Modules Example: Function 16 (0x10), WriteAOs  Sets the preset value for the digital counter [Leading 6 bytes] [Request] Command: 01 02 00 00 00 0B 01 10 00 32 0 001 02 03 E8 00 00 [Leading 6 bytes] [Response] Response:...
  • Page 126: Modbus Register Table (For Dio Module)

    ET-2200 Series Ethernet I/O Modules Modbus Register Table (For DIO Module) Data from 16-bit registers is transmitted in high-byte first order. For example: 0x0A0B ==> 0x0A, 0x0B. Data from 32-bit registers is transmitted as two 16-bit registers, and is in low-word first order. For example: 0x0A0B0C0D ==>...
  • Page 127 ET-2200 Series Ethernet I/O Modules  4xxxx: AO Address (Base 0) Starting Bits per Access Points Description Range Address Point Type 1 = Reset at Power-on 2 = Reset by the WDT CPU Reset Status (0xFF) 3 = Reset using the reset command <5: Disabled 5 to 65535: Enabled...
  • Page 128: Specific Functions

    ET-2200 Series Ethernet I/O Modules 6.3.2 Specific Functions The nDI and nDO parameters for each ET-2200 series module used in the following Modbus Address Tables are as follows: Universal DIO Number of DO channels Number of DI channels Model Name (UDIO) (nDO) (nDI)
  • Page 129 ET-2200 Series Ethernet I/O Modules Starting Bits per Access Points Description Range Address Point Type 0 = Disable Enables the high speed digital 1 to nDI 1 = Enable R/W/F (0x97) counter for all DI Channels (Default= 0) 0 = Disable Enables frequency measurement 1 to nDI 1 = Enable...
  • Page 130 ET-2200 Series Ethernet I/O Modules  1xxxx: DIAddress (Base 0) Starting Bits per Access Points Description Range Address Point Type 0 = Off 1 to nDI The status of all Digital Input Channels (0x00) 1 = On The status of all high latched DI 0 = None 1 to nDI (0x20)
  • Page 131 ET-2200 Series Ethernet I/O Modules  4xxxx: AO Address (Base 0) Starting Bits per Access Points Description Range Address Point Type The preset value for the high speed 0 to 1 to nDI R/W/E (0x32) digital counter 4294967296 Note: “Preset DI Counter Value (0x32)” that the records data as 32-bit valueand is transmitted as two 16- bit registers.Consequently, the register address has an offset of 2, i.e.,the address of the second “FAQ_How do I read DI Counter channel will be at starting-address +2, and so on.
  • Page 132: Modbus Register Table (For Aio Module)

    ET-2200 Series Ethernet I/O Modules Modbus Register Table (For AIO Module) Note that the addresses listed in following table are base 1. For example, the user can use the address 260 (Base 1) or 259 (Base 0) to read the module name. ...
  • Page 133: Appendix A: Troubleshooting

    ET-2200 Series Ethernet I/O Modules Appendix A: Troubleshooting A1. How do I restore the web password for the module to the factory defaults? The instructions below outline the procedure for resetting the web password to the factory default value. Note: Be aware that ALL settings will be restored to the factory default values after the...
  • Page 134 ET-2200 Series Ethernet I/O Modules Step 3 Double-click the name of the module to open the Configure Server (UDP) dialog box, and modify the basic settings as necessary, e.g., the IP, Mask and Gateway addresses, and then click the "OK" button to save the new settings.
  • Page 135: A2. How To Update The Firmware Via Ethernet

    ET-2200 Series Ethernet I/O Modules A2. How to update the firmware via Ethernet? If the module is not functioning correctly (e.g. there is no response to a search request, or if the system LED is continuously displayed as either OFF or ON), download a new firmware from the ICPDAS web site.
  • Page 136 ET-2200 Series Ethernet I/O Modules Step4: Make sure the IP address and MAC address are correct. Click on the OK button. Step5: A command prompt window will be displayed to show the progress. Method 1 - Local Update: Set the Init/Run switch to the "Init" position and reboot the module to start the update. Method 2 - Remote Update: Click the Web button and log into the web page of the module, and then click the Update button on the Network page to start the update.
  • Page 137 ET-2200 Series Ethernet I/O Modules Step6: After the update is complete, press any key to close the window. For the local update, Set the Init/Run switch to the "Run" position and reboot the module. Step7: Search the module again and log into the web page by using the eSearch Utility. After that, the user can check the Firmware Version on the Home page.
  • Page 138: Why Is The Host Computer Unable To Ping Or Search For The Et-2200 Module

    ET-2200 Series Ethernet I/O Modules A.3 Why is the Host computer unable to ping or search for the ET-2200 module? The Host computer can only establish a communication with a module through specific ports. Confirm with your network administrator that access to UDP Port 7, Port 57188 and Port 54321 is not being denied by another network device.
  • Page 139: What Is Digital-Input Filter (Di Filter)

    ET-2200 Series Ethernet I/O Modules A.4 What is Digital-Input Filter (DI Filter)? A: An input signal can come from a myriad of sources, such as buttons, switches, sensors, or relays, etc. Each of these types of mechanical device also contributes to a common problem - “contact bounce”.
  • Page 140: Appendix B: Revision History

    This chapter provides revision history information to this document. The table below shows the revision history. Revision Date Description 1. Add the information about ET-2217CI/ 2217CI-4 1.6.0 Sep. 2021 2. Add Chapter 6.4 Modbus Register (AIO) 3. Add Appendix A.2 ~ A.4 Modify the official website related links.

This manual is also suitable for:

Et-2200 series

Table of Contents