background image

ET-2200 Series Ethernet I/O Modules 

Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. 

-82 -

 

 

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.   

 

Step 1  Download the Installer (

V1.6.4

from the official Mosquitto 

website

 and install the 

application.       

 

 

Summary of Contents for ET-2217CI

Page 1: ...AS 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 COPY...

Page 2: ...ET 2242 ET 2242U 22 2 3 2 ET 2251 23 2 3 3 ET 2254 2254P 23 2 3 4 ET 2255 ET 2255U 24 2 3 5 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 Conn...

Page 3: ...t Calibration 58 4 4 5 RTC 59 4 4 6 Data Logger 59 4 5 Sync 61 4 5 1 DIO Synchronization 61 4 6 PWM 63 4 6 1 PWM Configuration 63 4 7 MQTT AI 64 4 8 Pair Connection 65 4 8 1 I O Pair Connection Settin...

Page 4: ...aslues 110 6 2 2 02 0x02 Read the Status of the Input Read DI values 112 6 2 3 03 0x03 Read the Holding Registers Read AO Readback values 114 6 2 4 04 0x04 Read the Input Registers Read AI values 116...

Page 5: ...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 1 1 Packing List The shipping package includes the...

Page 6: ...an be used to provide data to remote SCADA software 3 I O Pair Connection Push and Pull This function is used to create a DI to DO pair through the Ethernet Once the configuration is completed ET 2200...

Page 7: ...ut channels that can also be used as 32 bit high speed 3 kHz counters High Low Latched Status Commands The modules provide commands to read the status of any digital input channels that are latched hi...

Page 8: ...specified DI state from OFF to ON the corresponding DO will be set to ON Falling Active DO ON Mode When the specified DI state from ON to OFF the corresponding DO will be set to ON 6 Built in Dual Wat...

Page 9: ...ogy The cabling is much easier and total costs of cable and switch are significantly reduced 8 LAN Bypass LAN Bypass feature guarantees the Ethernet communication It will automatically active to conti...

Page 10: ...module contain the I O connector LEDs Ethernet Port and power connector PWR LED Indicator Once power is supplied to the ET 2200 series module the system LED indicator will illuminate I O Indicator Th...

Page 11: ...e is from 10 to 30 VDC ET 2242U 2255U 2261 16 ET 2217CI 2217CI 4 The valid power voltage range is from 10 to 48 VDC The definition for F G Frame Ground Electronic circuits are constantly vulnerable to...

Page 12: ...ormal operations The operating mode switch is set to the Run position by default Refer to Section 3 1 Configuring the Boot Mode for more information 2 Port Ethernet Switch The ET 2200 series modules a...

Page 13: ...0 3000 3750 3750 3000 3750 300 0 3750 EMS Protection ESD IEC 61000 4 2 8 kV Contact for Each Terminal and 16 kV Air for Random Point 8 kV Contact for Each Terminal and 15 kV Air for Random Point EFT I...

Page 14: ...V 80 V Max Load Current 650 mA Channel 500 mA Channel Overload Protection 1 4 A with short circuit protection Overvoltage Protection 60 VDC ET 2251 Model ET 2251 Digital Input Counter Channels 16 Cont...

Page 15: ...P Source On Voltage Level Close to GND Off Voltage Level Open Input Impedance 3 k 0 5 W 7 5 k 1 W Counters Max Count 4 294 967 295 32 bits Max Input Frequency 3 kHz 2 5 kHz Programmable Digital Filter...

Page 16: ...age Level 1 VDC Max Input Impedance 7 5 k Counters Max Count 4 294 967 295 32 bits Max Input Frequency 3 kHz Programmable Digital Filter 1 6500 ms 0 08 Hz 500 Hz Overvoltage Protection 70 VDC Digital...

Page 17: ...Impedance 7 5 k Counters Max Count 4 294 967 295 32 bits Max Input Frequency 3 kHz Programmable Digital Filter 1 6500 ms 0 08 Hz 500 Hz Overvoltage Protection 70 VDC Power Relay Channels 6 Type Power...

Page 18: ...261 ET 2261 16 Power Relay Channels 10 16 Type Power Relay Form A SPST N O Contact Rating 5 A 250 VAC 24 VDC Resistive Load Min Contact Load 10 mA 5 V Operate Time 10 ms max Release Time 5 ms max Mech...

Page 19: ...Material Siler Nickel Gold covered Operate Time 3 ms Typical Release Time 4ms Typical Mechanical Endurance 108 ops Electrical Endurance 2 x 105 ops Form C Contact Rating 2 A 30 VDC 0 24 A 220 VDC 0 2...

Page 20: ...System Running Yes 1 as Power Communication Indicator for Ethernet Link Act Yes 2 Way Isolation Ethernet 1500 VDC I O 3000 VDC Field to Logic 3000 VDC Channel to Channel EMS Protection ESD IEC 61000 4...

Page 21: ...l 8 Differential Type Range Voltage 1 V 2 5 V 5 V 10 V Current 0 20mA 4 20mA Software Configurable Resolution 16 bit Accuracy Normal Mode 0 1 of FSR Fast Mode 0 5 of FSR Sampling Rate Normal Mode 10 H...

Page 22: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 22 2 3 Pin Assignments 2 3 1 ET 2242 ET 2242U...

Page 23: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 23 2 3 2 ET 2251 2 3 3 ET 2254 2254P...

Page 24: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 24 2 3 4 ET 2255 ET 2255U...

Page 25: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 25 2 3 5 ET 2260 2 3 6 ET 2261...

Page 26: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 26 2 3 7 ET 2261 16 2 3 8 ET 2268...

Page 27: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 27 2 3 9 ET 2217CI 2217CI 4...

Page 28: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 28 2 4 Wiring Connections 2 4 1 Digital Input Wiring Input Wiring for the ET 2251 2255 2255U 2260...

Page 29: ...s Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 29 Input Wiring for the ET 2254 2254P 2 4 2 Digital Output Wiring Output Wiring for ET 2242 2254 2254P 2255 Output Wiring for E...

Page 30: ...lectromotive force may occur when the relay actuates because of the energy stored in the load These fly back voltages can severely damage the relay contacts and greatly shorten the relay life Limit th...

Page 31: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 31 2 4 3 Analog Input Wiring Input Wiring for the ET 2251 2255 2255U 2260...

Page 32: ...flat head screwdriver to push down the wire clamp Remove the wire Continue holding the screwdriver in place 2 While holding the screwdriver in place remove the wire from the terminal block Insert the...

Page 33: ...llowing 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...

Page 34: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 34 ET 2261 16 Right Side View Front View Top View Left Side View Rear View Bottom View...

Page 35: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 35 ET 2200CI Front View Top View Left Side View...

Page 36: ...sing the switch mechanism incorporated on the chassis Note that the module must be rebooted after changing the operating mode Init Mode Init Mode should only be selected for troubleshooting 1 Put the...

Page 37: ...nsure that the Windows firewall or any Anti Virus firewall is properly configured to allow incoming connections or temporarily disable these functions otherwise the Search Servers function in the eSea...

Page 38: ...ps 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 After t...

Page 39: ...teway 192 168 0 1 Mask 255 255 0 0 Step 5 Assign a new IP an address and then click the OK button Enter the relevant values for the IP Address Subnet Mask and Gateway etc and then click the OK button...

Page 40: ...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 and TCP Port for the ET 2200 m...

Page 41: ...firm that the response is correct Example The Modbus NetID for the ET 2200 is 1 refer to Section 4 3 1 Please send the command 1 2 0 0 0 6 1 3 1 3 01 and the response will be 1 2 0 0 0 5 1 3 2 22 17 t...

Page 42: ...rowser Open a standard web browser For example Mozilla Firefox Google Chrome and Internet Explorer are reliable and popular internet browsers that can be used to configure ET 2200 series module Note t...

Page 43: ...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 Refer to Section 4 10 Change Password if you want to...

Page 44: ...below 4 2 1 Home DI DO 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 positio...

Page 45: ...ormation 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 Re...

Page 46: ...dules 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 rest...

Page 47: ...ic IP address Subnet Mask This parameter is used to assign the subnet mask for the ET 2200 module The subnet mask indicates which portion of the IP address is used to identify the local network or sub...

Page 48: ...he following procedure Step 1 Select DHCP from the Address Type drop down menu Step 2 Click the Update Settings button to complete the configuration Manual Configuration When using manual configuratio...

Page 49: ...rtain period of time the system will cut off the connection UDP Configuration This parameter is used to enable or disable UDP configuration function Web Auto logout This parameter is used to configure...

Page 50: ...t settings use the following procedure Step 1 Click the Restore Defaults button to reset the configuration Step 2 Click the OK button in the message dialog box Step 3 Check whether the module has been...

Page 51: ...s Copyright 2020 ICP DAS CO Ltd All Rights Reserved 51 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...

Page 52: ...initialize the module via web interface without adjusting the hardware switch Initialization via web is useful when module is installed in remote site and can be accessed by a remote PC via TeamViewer...

Page 53: ...ries module Chapter DIO AIO 4 4 1 DO Control 4 4 2 DI DO Configuration 4 4 3 Analog Input Channel 4 4 4 Analog Input Calibration 4 4 5 RTC 4 4 6 Data Logger 4 4 1 DO Control The table describes the pa...

Page 54: ...iguration section Item Description Digital Output Host Slave Watchdog Timeout This parameter is used to configure the Host Watchdog timeout value If there is no Modbus TCP communication activity for t...

Page 55: ...parameter is used to clear the status of all high latched D I 0 No Operation 1 Clear All Clear Latched Status Low This parameter is used to clear the status of all low latched D I 0 No Operation 1 Cle...

Page 56: ...ement is based on the pulse count Single pulse This mode provides the highest accuracy but can only be used for stable signal The data update rate depends on the signal frequency and the acceptable si...

Page 57: ...les 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 Sampling Rates Set the s...

Page 58: ...the data range and the Zero or Span calibration voltage current AI Channel Select an AI channel to perform calibration Type Select the type of calibration e g Zero or Span Calibrate Click the Calibrat...

Page 59: ...I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 59 4 4 5 RTC The function is used to set the system timeaand click the Update Settings button to save the revised setiing to the ET 2200 m...

Page 60: ...hether to overwrite data when it is full It can be set to Yes or No Sampling Interval Second The time interval for logging data Range 0 65535 Unit second Sampling Interval Millisecond The time interva...

Page 61: ...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...

Page 62: ...ding DO will be set to ON Falling Active DO ON This parameter is used toenable falling active in Digital Input function When the specified DI state changed from ON to OFF the corresponding DO will be...

Page 63: ...4 6 1 PWM Configuration The table describes the parameters contained in the PWM Configuration section Item Description Defaults Enable PWM This parameter is used to enable the PWM output function 0 En...

Page 64: ...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...

Page 65: ...onnection 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 2...

Page 66: ...e period of the Scan Time parameter Range 1000 to 42949672965 ms 1000 ms AI DI Count This parameter specifies how many I O channels are mapped Range 1 to 16 0 Disable 0 AI DI Addr For PULL mode this p...

Page 67: ...lable IP for the ET 2200 series module Only Clients whose IP address is specified in the list will be able to access the ET 2200 series module The table describes the parameters contained in the IP Ad...

Page 68: ...0 ICP DAS CO Ltd All Rights Reserved 68 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 serie...

Page 69: ...ps Step1 Enter the old password in the Current password field use the default password Admin Step2 Enter a new password in the New password field please enter 1 to 12 digits of numbers or characters S...

Page 70: ...odules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 70 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...

Page 71: ...hings IoT contexts where a small code footprint is required and or network bandwidth is at a premium MQTT is a protocol consisting of a Publish Subscribe mechanism where the Client only needs to know...

Page 72: ...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...

Page 73: ...attempts by the ET 2200 module to connect to the broker if a connection failure occurs The valid range is 5 to 65000 seconds 10 s Keep Alive Interval The keep alive mechanism is provided to ensure th...

Page 74: ...l that the ET 2200 module periodically publishes data The valid range is 100 to 2147483000 milliseconds in intervals of 10 millisecond 9000 ms All Information Enable This option is used to enable or d...

Page 75: ...estament message The length should be no more than 63 characters N A Message The Last Will and Testament message The length should be no more than 63 characters N A Update Setting Click this button to...

Page 76: ...ltiple channels ALL to process the Topic operations Multi channel operation is more recommended because it can help reduce the amount of network traffic In single channel operation the values 0 and 1...

Page 77: ...published when the module is Powered on Check Enabled Uncheck Disabled Disabled Subscribe The DO states depend on the updating message of corresponding Topic heck Enabled Uncheck Disabled Disabled Sub...

Page 78: ...shed when the state of the corresponding DO is changed Check Enabled Uncheck Disabled Disabled Periodic Publish Used to enable or disable the Periodic Publish function The publishing period depends on...

Page 79: ...ls ALL to process the Topic operations Multi channel operation is more recommended because it can help reduce the amount of network traffic In single channel operation the values 0 and 1 correspond th...

Page 80: ...he corresponding DI is changed Check Enabled Uncheck Disabled Disabled Periodic Publish to enable or disable the Periodic Publish function The publishing period depends on the Cycle settings Check Ena...

Page 81: ...ults Periodic Publish to enable or disable the Periodic Publish function The publishing period depends on the Cycle settings Check Enabled Uncheck Disabled Disabled Sub Topic Name The Topic Name is a...

Page 82: ...uitto 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...

Page 83: ...lt when the computer boots Therefore the Broker is already enabled after the computer reboots At this time clicking the mosquitto exe file again will be the same as attempting to enable an already ena...

Page 84: ...2020 ICP DAS CO Ltd All Rights Reserved 84 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 Startu...

Page 85: ...All Rights Reserved 85 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...

Page 86: ...20 ICP DAS CO Ltd All Rights Reserved 86 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 o...

Page 87: ...All Rights Reserved 87 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 desire...

Page 88: ...me 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 This section will use MQTTLens to implement the b...

Page 89: ...o 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 What is a Broker A Broker...

Page 90: ...a topic and publish a message If the connection is operating normally you will receive a message related to the defined topic as follows Enter a Subscribe Topic Test MQTT Enter a Publish Topic Test MQ...

Page 91: ...he Introduction to MQTTLens to subscribe the ICPDAS info Topic Step2 Log into the ET 2200 Web Server and click the MQTT page Set the MQTT option to Enable and enter the IP address for the Broker Step...

Page 92: ...on 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 rec...

Page 93: ...to a remote DO device in the background This is useful when connecting Digital I O devices that do not the mselves have Ethernet capability The following will describe how to correctly configure the...

Page 94: ...P Address Subnet Mask and Gateway details Refer to Section 3 3 Configuring the Network Settings for more details Step 3 Configure the I O Pair connection on the Web Server 1 In the eSearch Utility sel...

Page 95: ...the Pair tab to display the I O Pair connection Settings page 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 module...

Page 96: ...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 modu...

Page 97: ...rrectly Refer to Chapter 3 Getting Started for more details An example configuration shown below Note that ET 2260 module is used in this example Step 2 Configure the Ethernet Settings Contact your Ne...

Page 98: ...ord is Admin and then click the Submit button to display the configuration page 3 Click the Pair tab to display the I O Pair connection Settings page Refer to Figures 5 1 3 to 5 1 4 for illustrations...

Page 99: ...ord is Admin and then click the Submit button to display the configuration page 3 Click the Pair tab to display the I O Pair connectionSettings page Refer to Figures 5 1 3 to 5 1 4 for illustrations o...

Page 100: ...o Chapter 3 Getting Started for more details An example configuration shown below Note that ET 2260 and ET 7255 module are used in this example Step 2 Configure the Ethernet Settings Contact your Netw...

Page 101: ...n password field the default password is Admin and then click the Submit button to display the configuration page 3 Click the Pair tab to display the I O Pair connectionSettings page Refer to Figures...

Page 102: ...password field the default password is Admin and then click the Submit button to display the configuration page 3 Click the Pair tab to display the I O Pair connection Settings page Refer to Figures...

Page 103: ...o Chapter 3 Getting Started for more details An example configuration shown below Note that ET 2260 and ET 7255 module are used in this example Step 2 Configure the Ethernet Settings Contact your Netw...

Page 104: ...t password is Admin and then click the Submit button to display the configuration page 3 Click the Pair tab to display the I O Pair connection Settings page Refer to Figures 5 1 3 to 5 1 4 for illustr...

Page 105: ...sword is Admin and then click the Submit button to display the configuration page 3 Click the Pair Connection tab to display the I O Pair connectionSettings page Refer to Figures 5 1 3 to 5 1 4 for il...

Page 106: ...ivity Live Entivity VLC Trace Mode Wizcon ElUTIONS and Wonderware etc can be used to easily integrate serial devices via the Modbus protocol 6 1 What is Modbus TCP IP Modbus is a communication protoco...

Page 107: ...on code defining the requested action any required data and an error checking field A response from a slave consists of fields confirming the action taken any data to be returned and an error checking...

Page 108: ...ucture of a Modbus RTU query is the function code which describes what the slave device is required to do Valid function codes range between 1 and 255 To answer the query the slave device uses the sam...

Page 109: ...equested by the slave If the master does not require this information the data field can be empty Reference Address Description 0xxxx Read Write Discrete Outputs or Coils An 0x reference address is us...

Page 110: ...r to Section 6 3 or 6 4 Modbus Register Table to find the address Byte 02 high byte Byte 03 low byte 04 05 Number of Points Channels 2 Bytes Byte 04 high byte Byte 05 low byte Response Byte Descriptio...

Page 111: ...nd and response is as follows Command Leading 6 bytes Bytes 00 03 01 02 00 00 Message Number Bytes 04 05 00 06 Number of bytes remaining in this frame Request Byte 00 01 Net ID Byte 01 01 Function Cod...

Page 112: ...s Register Table to find the address Byte 02 high byte Byte 03 low byte 04 05 Number of Points Channels 2 Bytes Byte 04 high byte Byte 05 low byte Response Byte Description Size Value 00 Net ID Statio...

Page 113: ...and response is as follows Command Leading 6 bytes Bytes 00 03 01 02 00 00 Message Number Bytes 04 05 00 06 Number of bytes remaining in this frame Request Byte 00 01 Net ID Byte 01 02 Function Code B...

Page 114: ...Byte 0x03 02 03 Starting AO Address 2 Bytes Refer to Section 6 3 or 6 4 Modbus Register Table to find the address Byte 02 high byte Byte 03 low byte 04 05 Number of 16 bit Registers Channels 2 Bytes...

Page 115: ...he command and response is as follows Command Leading 6 bytes Bytes 00 03 01 02 00 00 Message Number Bytes 04 05 00 06 Number of bytes remaining in this frame Request Byte 00 01 Net ID Byte 01 03 Func...

Page 116: ...Starting AI Address 2 Bytes Refer to Section 6 3 or 6 4 Modbus Register Table to find the address Byte 02 high byte Byte 03 low byte 04 05 Number of 16 bit Registers Channels 2 Bytes Word Count Byte 0...

Page 117: ...response is as follows Command Leading 6 bytes Bytes 00 03 01 02 00 00 Message Number Bytes 04 05 00 06 Number of bytes remaining in this frame Request Byte 00 01 Net ID Byte 01 04 Function Code Byte...

Page 118: ...2 high byte Byte 03 low byte 04 05 Output Value 2 Bytes 0xFF 00 sets the output to ON 0x00 00 sets the output to OFF All other values are invalid and will not affect the coil Byte 04 high byte Byte 05...

Page 119: ...esponse is as follows Command Leading 6 bytes Bytes 00 03 01 02 00 00 Message Number Bytes 04 05 00 06 Number of bytes remaining in this frame Request Byte 00 01 Net ID Byte 01 05 Function Code Byte 0...

Page 120: ...4 Modbus Register Table to find the address Byte 02 high byte Byte 03 low byte 04 05 Register Value 2 Bytes Register Value Byte 04 high byte Byte 05 low byte Response Byte Description Size Value 00 N...

Page 121: ...s as follows Command Leading 6 bytes Bytes 00 03 01 02 00 00 Message Number Bytes 04 05 00 06 Number of bytes remaining in this frame Request Byte 00 01 Net ID Byte 01 06 Function Code Byte 02 03 0108...

Page 122: ...Bytes Byte 04 high byte Byte 05 low byte 06 Byte count 1 Byte n Points 7 8 07 Output value n Bytes A bit corresponds to a channel A value of 1 for a bit denotes that the channel is ON while a value of...

Page 123: ...s Command Leading 6 bytes Bytes 00 03 01 02 00 00 Message Number Bytes 04 05 00 08 Number of bytes remaining in this frame Request Byte 00 01 Net ID Byte 01 0F Function Code Byte 02 03 010B Starting D...

Page 124: ...of 16 bit Registers Channels 2 Bytes Word Count Byte 04 high byte Byte 05 low byte 06 Byte Count 1 Byte n Points x 2 Bytes 07 Register Values n Bytes Register Values n 2 Byte 03 high byte Byte 04 low...

Page 125: ...ows Command Leading 6 bytes Bytes 00 03 01 02 00 00 Message Number Bytes 04 05 00 0B Number of bytes remaining in this frame Request Byte 00 01 Net ID Byte 01 10 Function Code Byte 02 03 0032 Starting...

Page 126: ...xxx DO Address Base 0 Starting Address Points Description Bits per Point Range Access Type 127 0x7F 1 Restores all default web settings 1 1 Restore W Pulse 128 0x80 1 Default ID Settings 1 1 Restore W...

Page 127: ...t PC for more than the period defined in the WDT settings the DO channels will revert to their safe values and the Host WDT Events Counter will be increased by one R W F 258 0x102 1 Host WDT Events 16...

Page 128: ...0xxxx DOAddress Base 0 Starting Address Points Description Bits per Point Range Access Type 0 0x00 1 to nDO Digital Output Channels 1 0 Off 1 On R W 32 0x20 1 Clears the status of all high latched DI...

Page 129: ...0 R W F 299 0x12B 1 Force the DI DO Mode for the ET 2254 only 0 Dynamic I O type based on DO requests 1 Static I O type by configuration web or Modbus 1 0 Dynamic 1 Static R W 300 315 0x12C 0x13B 1 to...

Page 130: ...The frequency Value 1 000 Note The Client must first divide the value by 1 000 32 0 to 4294967296 R Note The DI Counter 0x10 and DI Frequency 0x40 that the records data as 32 bit valueand is transmit...

Page 131: ...00 0x64 1 to nDO The duty cycle for the DO PWM The first word 16 bit register is the high pulse width while the second word is the low pulse width The units rein ms and the resolution is about 10 ms 3...

Page 132: ...ber of the digital input channels R 30111 40111 Number of the digital output channels R 30121 40121 Number of the analog input channels R 30131 40131 Number of the analog output channels R 30152 40152...

Page 133: ...ings will be restored to the factory default values after the module is reset Step 1 Locate the Init Run switch that can be found on the top side of the ET 2200 module and set it to the Init position...

Page 134: ...rver 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 Step 4 Reset the Init Run switch on the ET 22...

Page 135: ...pdas com en download show php num 2626 To update the Firmware for your ET 2200 module connect ET 2200 module and PC in the same sub network Please note that there should be only one network card in th...

Page 136: ...k 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 Met...

Page 137: ...er 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 pa...

Page 138: ...odule 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 The following provides more detai...

Page 139: ...ay inevitably generate an unstable signal or noise which can potentially cause incorrect data counting or operation failure Consequently it is imperative that these errors are removed from the input s...

Page 140: ...function 1 3 0 Jun 2018 Added the hardware information about the ET 2261 16 1 2 0 Jul 2017 1 Add the software and hardware information about the ET 2242U and ET 2255U 2 Updated the information about t...

Reviews: