Click&Go V2 User’s Manual Second Edition, December 2008 www.moxa.com/product © 2008 Moxa Inc. All rights reserved. Reproduction without permission is prohibited.
Click&Go V2 User’s Manual The software described in this manual is furnished under a license agreement, and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright © 2008 Moxa Inc. All rights reserved. Reproduction without permission is prohibited. Trademarks MOXA is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents Chapter 1. Introduction ...............................................................................................1-1 Overview .............................................................................................................................. 1-2 Click&Go V2 Features ......................................................................................................... 1-3 Product and Software Support ......................................................................
Using TFTP to Import/Export Configuration ............................................................. 3-48 Chapter 4. Click&Go Examples and Applications ....................................................4-1 Click&Go Rule 101.............................................................................................................. 4-2 IF-THEN-ELSE............................................................................................................
Application Requirements .......................................................................................... 4-24 Moxa Solution ............................................................................................................ 4-24 Solution Benefits ........................................................................................................ 4-24 Additional Features.....................................................................................................
1 Chapter 1. Introduction Click&Go TM is the local control logic for the Moxa ioLogik series Active Ethernet I/O server, which transforms the ioLogik series from a traditional passive Ethernet I/O to an active Ethernet I/O. With Click&Go, users have complete control over what, when and where they transmit.
Click&Go V2 User’s Manual Introduction Overview Everybody can be a programmer! Moxa’s Click&Go local control logic for the ioLogik Active Ethernet I/O server eliminates the cumbersome programming generally required for data acquisition, alarm messaging, and local control tasks. No knowledge of C-language or PLC ladder is required for field applications.
Click&Go V2 User’s Manual Introduction Click&Go V2 Features 24 Rules for IF-THEN-ELSE Style Programming Users do not require any programming experience to use Click&Go. The easy and straightforward IF-THEN-ELSE programming style greatly simplifies the development and installation of I/O applications. With 24 IF-THEN-ELSE rules pre-installed and up to 3 IF conditions and 3 THEN/ELSE outputs or network actions per rule, Click&Go is suitable for most remote monitoring and alarm applications.
Click&Go V2 User’s Manual Introduction The easiest way to upgrade a current ioLogik without purchasing a new device is by installing the latest firmware and ioAdmin utility. There is no need to reconfigure earlier Click&Go rule-sets that are still running on your device. [Moxa Active Ethernet I/O - ioLogik E2000 Series Products] Difference in Programming Method and Space Programming Method Programming Space Click&Go V1.x IF-THEN 16 Rules Click&Go V2.
Click&Go V2 User’s Manual Introduction Difference in IF Conditions Click&Go V1.0 *1Click&Go V1.1 Input Channel Status Digital Input Counter Timer Trigger *2Relay Counter *1Delay Timer *1 Timer Internal Register *1 Remote Action Schedule Host Connection Fail 1-5 Click&Go V2.
Click&Go V2 User’s Manual Introduction Difference in THEN/ELSE Actions Click&Go V1.0 Click&Go V1.1 Click&Go V1.x Input Channel Control Digital Input Counter Reset *2Relay Counter Reset SNMP Trap Active Message e-Mail *1Delay Timer Timer *1Internal Register Remote Action CGI Command NOTE 1. 2. Click&Go V1.1 only supports ioLogik E2242 firmware V1.x. The definition of “Internal Register” and the “Delay Timer” is slightly different from the latest Click&Go V2.
Click&Go V2 User’s Manual Introduction Click&Go Version Check The best way to verify the current version of the firmware or Click&Go is to run the ioAdmin configuration utility. After a broadcast search for the ioLogik on the network, ioAdmin displays the information on its “Server Info.” tab. Refer to the related sections of the product user’s manual for detailed information on software installation and other operations such as firmware upgrade.
2 Chapter 2. Getting Started This chapter describes how to set up and prepare for Click&Go programming. The following topics are covered in this chapter: Hardware Connection ¾ System Requirements ¾ Connecting to the Network ¾ Optional Liquid Crystal Display Module (LCM) ¾ Adding More I/O Channels ¾ Connecting the I/O Device Software Preparation ¾ ioAdmin 3.
Click&Go User’s Manual Getting Started Hardware Connection System Requirements A fully developed system should consist of the following components: 1. A PC or laptop computer with Windows operating system (Win2000/XP or later). 2. A power supply. 12 to 48 VDC with more than 400 mA output should be used. 3. An Ethernet switch or a cross-over/direct Ethernet cable. 4. ioAdmin configuration utility V3.0 or later. 5. Proper firmware on the ioLogik products. 6.
Click&Go User’s Manual Getting Started Connecting to the Network 1. Connect the ioLogik to the host PC with an Ethernet cable. For initial configuration, it is recommended that the ioLogik E2000 series product be configured using a direct connection to a host computer rather than remotely over the Internet. 2. Set the host PC’s IP address to 192.168.127.xxx. (xxx: from 001 to 253). In Windows, you can adjust this setting through the Control Panel. Default IP Address 192.168.127.254 3.
Click&Go User’s Manual Getting Started ATTENTION Extension I/O channels from another ioLogik R2000 will NOT be a part of Click&Go logic, those additional channels can only be polled by a remote host computer. Connecting the I/O Device The ioLogik series is equipped with multiple input and multiple output channels. These channels are designed to offer greater flexibility for connecting I/O devices.
Click&Go User’s Manual Getting Started ioAdmin Main Screen 1. Title 2. Menu Bar 3. Quick Link 4. Navigation Panel 5. Main Window 6. Sync. Rate Status 7. Status Bar The ioAdim can be found in the product CD, or download the latest version on Moxa’s Website. 1. Installation from CD: Insert the Document and Software CD into the host computer. In the Software/ioAdmin directory of the CD, locate and run SETUP.EXE.
Click&Go User’s Manual NOTE Getting Started If there are multiple network interfaces in the host computers, be sure to select the correct one before searching. ATTENTION ioAdmin V3.0 or later should always be installed first before starting the configuration or programming,. Find the version information at the ioAdmin tool bar, click on Help/About.
Click&Go User’s Manual Getting Started Firmware Update Firmware upgrade will be necessary to have the latest function support on the ioLogik products (see Chap. 1). To do so, the Firmware Update tab is available after you log in ioAdmin utility as an administrator. In the Firmware Upgrade tab, enter the path to the firmware file or click on the icon to browse for the file. Click Update to update the ioLogik firmware. The wizard will lead you through the process until the ioLogik is restarted.
Click&Go User’s Manual Getting Started Reset to Factory Default If there is an ioLogik that has been configured before, it is recommended to reset it to the factory default. Performing this task, users may right click on the selected ioLogik in the ioAdmin, click on the “Load Factory Default” link on the ioLogik’s web console using a browser, or, press the RESET button on the ioLogik for 10 seconds.
3 Chapter 3. Click&Go V2 Developing Process In this chapter, we explain each function of the Click&Go V2 programming logic and how to develop the process.
Click&Go User’s Manual Click&Go V2 Developing Process Click&Go V2 Development Process After searching and setting up the IP address of an ioLogik Ethernet I/O server, Click&Go V2 logic can be developed by following the procedures below: I/O Configuration The ioLogik series products are embedded with various types of I/O channels and the mode of each input/output channel must be configured first.
Click&Go User’s Manual Click&Go V2 Developing Process ATTENTION Before performing any further configuration or programming, switching between DI and DO channel requires restarting the ioLogik for the new setting to take effect. Digital Input Mode Selection A DI channel can be set to “DI” or “Event Counter” mode. In DI mode, it connects to dry/wet contacts. In Event Counter mode, the channel accepts limit or proximity switches and counts events according to the ON/OFF status.
Click&Go User’s Manual Click&Go V2 Developing Process Digital Output Mode Selection A DO channel can be set to “DO” or “Pulse Output” mode. Mode Available Number of Digital Output Channels ioLogik E2210 8 ioLogik E2212 8 + 4 DIO ioLogik E2214 6 Relay ioLogik E2242 12 DIO ioLogik E2260 4 DO ioLogik E2262 4 DO Mode Selection: DO Mode Selection: Pulse Output When logged in as an administrator, double click on a channel in the I/O Configuration tab to configure that channel’s settings.
Click&Go User’s Manual Click&Go V2 Developing Process Analog Input Mode Selection Analog input channels can be divided into voltage and current. For different models, the support of the voltage and current measurement are not the same.
Click&Go User’s Manual Click&Go V2 Developing Process Analog Output Mode Selection The only model that currently provides analog output channels is ioLogik E2240, which provides both voltage and current output. Mode Available Number of Analog Output Channels Mode Selection: Voltage Mode Selection: Current ioLogik E2240 2 0 to 10 V 4 to 20 mA When logged in as an administrator, double click on a channel in the I/O Configuration tab to configure that channel’s settings.
Click&Go User’s Manual Click&Go V2 Developing Process When logged in as an administrator, double click on a channel in the I/O Configuration tab to configure that channel’s settings. A window will open with configuration options for that channel. Each temperature input channel will be configured to support different types of sensors according to the RTD Channel Settings (ioLogik E2260) or TC Channel Settings (ioLogik E2262).
Click&Go User’s Manual Click&Go V2 Developing Process Alias Name Configuration Alias Name helps users configure the alias of an input or an output channel and define the status for logic 0/1 to be On/Off or vice versa. The Alias can be monitored by the ioAdmin utility, or can be queried using a user-defined program based on the Moxa MXIO library, or a standard Modbus/TCP protocol. As for Click&Go programming, the alias name will be redirected to the logic when the specified channel is selected.
Click&Go User’s Manual Click&Go V2 Developing Process Testing the I/O Channels Each I/O channel can be tested or monitored individually. When logged in as an administrator, double click on a channel in the I/O Configuration tab to configure that channel’s settings. A window will open with configuration options for that channel. Tests can be done by opening the channel’s configuration window and selecting the Test tab.
Click&Go User’s Manual Click&Go V2 Developing Process Internal Register Settings Internal Register is a flag that can be used with the Click&Go logic internally or externally. The 24 sets of the internal registers can be polled and controlled by a SCADA software using standard Modbus/TCP format, or be implemented to redirect the result of one Click&Go logic to another. Default value of an internal register is “0”.
Click&Go User’s Manual Click&Go V2 Developing Process SNMP Trap Server The ioLogik E2000 series provides SNMP v2 (Simple Network Management Protocol) to allow monitoring of the network and I/O devices with SNMP Network Management software. It is useful for building automation and telecom applications. When the system information of an ioLogik is required to be monitored, or a Click&Go logic is defined to update the I/O status via SNMP traps, one or up to 10 SNMP trap servers must be defined here.
Click&Go User’s Manual Click&Go V2 Developing Process Under Mail Server Settings, you must configure the address of the SMTP server with your username and password. When using an FQDN (Fully Qualified Domain Name) address, such as ms.moxa.com, users must specify the DNS settings in the ioLogik. Active Message Server The Active Message Server configures one or more destination IP addresses of the Message Servers that receive the event messages generated by the Click&Go logic.
Click&Go User’s Manual Click&Go V2 Developing Process Work with Logic Click&Go Logic Basics The Click&Go Logic tab is available after logging in as an administrator. This is where Click&Go logic is configured. With a set of rules (known as a rule-set) defined through Click&Go, the ioLogik can perform local and remote I/O control, report I/O status and actively send out messages, e-mails or SNMP traps to a host as soon as user-defined I/O conditions have been met.
Click&Go User’s Manual Click&Go V2 Developing Process Rules are the building blocks of your ioLogik system. With rules, you define the exact trigger conditions for transmission of I/O information as well as the content and destination of that information. Click&Go Logic can be defined with the following manners: IF “A” THEN “B”, ELSE “C” For one control logic rule, there are three “A’s” that can be configured. “A” refers to the IF conditions that trigger an action.
Click&Go User’s Manual Click&Go V2 Developing Process In the main screen, you will see a list of the rules in the current rule-set. Double Click on a rule to open that rule’s configuration window shown as the following figure, or double click on an empty rule to start a new rule. Under Relation between conditions, select AND to specify that all conditions must be satisfied for the actions to take place; select OR to specify that any one of the conditions can be satisfied for the actions to take place.
Click&Go User’s Manual Click&Go V2 Developing Process IF Conditions IF conditions are events that trigger the THEN/ELSE actions. Under the IF column, you can set up to 3 conditions that must be satisfied for the actions under the THEN/ELSE column to take place. As soon as the IF conditions are satisfied, the specified THEN/ELSE action is performed. For example, an alarm can be activated when a door is opened. Use the pull downs to specify the conditions and units of measurement (e.g. DI-0=OFF).
Click&Go User’s Manual Click&Go V2 Developing Process Schedule Time, Range and Recurrence Modbus/TCP Idle Timeout. Max value: 3,600 seconds Host Connection Fail DI DI refers to the status of a digital input channel. Edge detection can be used to refine the conditions. For example, the condition DI-0=OFF is satisfied for as long as DI-0 remains off. The condition DI-0=ON to OFF, however, is only satisfied the instant the DI-0 turns off.
Click&Go User’s Manual Click&Go V2 Developing Process Counter Counter refers to the counts of an Event Counter channel. The counts are stored in the ioLogik internally. Specifying the counts with a proper operator will lead to trigger the action. For example, 10 items should be packed in a box, so the Counter-x should be reset every 10 counts (Counter-1=10). Select the IF condition to Counter and click on the property button ( enter the Counter Settings window.
Click&Go User’s Manual Click&Go V2 Developing Process AI AI refers to the readings of an analog input channel. Analog input value is specified to trigger an action. Units of the value are defined by the selected analog modes (voltage or current), or the scaling results. For example, AI-0 > 15mA represents the high level of a water tank.
Click&Go User’s Manual Click&Go V2 Developing Process RTD RTD refers to the readings of an RTD channel. RTD channels are used to measure temperature degrees. For example, an alarm should be triggered when the temperature reaches 40 degrees Celsius (RTD-0 > 40). Celsius or Fahrenheit temperature units can be selected in the I/O Configuration tab after logging in as an administrator.
Click&Go User’s Manual Click&Go V2 Developing Process TC TC refers to the readings of a TC channel. TC channels are used to measure temperature degrees. For example, an alarm should be triggered when the temperature reaches 500 degrees Celsius (RTD-0 > 40). Celsius or Fahrenheit temperature units can be selected in the I/O Configuration tab after logging in as an administrator.
Click&Go User’s Manual Click&Go V2 Developing Process Relay (Counter) Relay refers to the current counts of the relay usage. In ioLogik E2214, the counts of the relay usage is stored inside the ioLogik. Checking the current counts of a relay will produce the action. For example, the average life-cycle of a relay is 25,000 times. An alarm e-mail may be generated when the counter reaches 20,000 times (CurRelayCNT-0 > 20000) to report the need for replacement.
Click&Go User’s Manual Click&Go V2 Developing Process Internal Register Internal Register represents a status flag to link the status of the first logic to the second one. Mostly it will be used with the Timer function or to combine other input statuses together. The Internal Register function also allows a PC to control the ioLogik’s local output when the remote output is controlled by Click&Go log (e.g., digital output, active message, e-mail and SNMP Trap).
Click&Go User’s Manual Click&Go V2 Developing Process Remote Action In the IF conditions, the Remote Action receives the command from one or more remote ioLogik. Specifying the ID and the source IP addresses can create an event. For example, a remote push button connected to an ioLogik can trigger a local siren. Select the IF condition for Remote Action and click on the property button ( ) to enter the Remote Action Settings window.
Click&Go User’s Manual Click&Go V2 Developing Process In the above figure, the “Used in:” column indicates this Timer is also used in the Rule-0, which helps the user to indentify the relationship between rules. Also the Set Timer button ( help to define the default value for the Timer. ) will Schedule The Schedule function allows users to set a starting point or time period for a task. For example, a pump needs to start at 9: 00 PM and stop at 11:00 PM every Monday, Wednesday, and Friday.
Click&Go User’s Manual Click&Go V2 Developing Process Host Connection Fail The Host Connection Fail function refers to when an ioLogik detects the timeout from a remote Modbus/TCP host and directs it to one of the IF condition of the Click&Go logic. Timeout can be used to trigger an action such as resetting the attached power line on a DO or relay channel to reboot the device. Select the IF condition to Host Connection Fail and click on the property button ( ) to enter the setting window.
Click&Go User’s Manual Click&Go V2 Developing Process No Edge Detection In this scenario, the rule checks each sensor for “on” status, so edge detection is not involved. As long as the sensors remain on, the required conditions are satisfied, and the THEN actions will repeat at interval N.
Click&Go User’s Manual Click&Go V2 Developing Process Edge Detection for Two Conditions In this scenario, the rule checks DI-0 and DI-1 for a change in status and DI-2 for status only. The repeat interval will not have an effect if the AND relationship is used, because the two edge conditions can never be sustained over a length of time. With the OR relationship, the IF conditions will be satisfied as long as DI-2 is “on”, and the THEN actions will be triggered over interval N.
Click&Go User’s Manual Click&Go V2 Developing Process THEN/ELSE Actions Under the THEN column, you can specify up to 3 actions that will be performed when the IF conditions are satisfied. 3 actions under the ELSE column will also be performed when the IF is NOT satisfied. Possible actions include changing the status of a DO channel, starting or stopping an Event Counter, or sending a message by SNMP trap, TCP, UDP, or e-mail.
Click&Go User’s Manual Click&Go V2 Developing Process THEN/ELSE actions can be specified as follows: THEN/ELSE Actions Operators Remark Counter RESET Counter-x represents the number of the Event Counter channel DO ON, OFF Pulse Output STOP, START RESET Action ID: 01 to 24 Number of Remote IP Addresses: 5 sets Remote Action STOP, START, RESTART ID / Source IP e-Mail CGI Command Timer-x, x = 00 to 23 Max value: 4,294,967,295 seconds I/O Status Bindings: 3 sets SNMP Trap Active Message Reset
Click&Go User’s Manual Click&Go V2 Developing Process Counter In this THEN/ELSE action, the only operator for the Counter function is “RESET”, which clears the counts of an Event Counter channel. This function is often used in a charging system to clear the readings of a meter. Select the THEN/ELSE action to Counter and click on the property button ( ) to enter the Counter Settings window.
Click&Go User’s Manual Click&Go V2 Developing Process DO DO refers to the action of controlling the local digital output channels that react to the IF conditions. Select the THEN/ELSE action to DO and click on the property button ( enter the DO Settings window. NOTE ) to A Relay output channel is also referred to as a DO channel in the THEN/ELSE action fields. Pulse Output Pulse Output starts or stops a pulse. It is usually used to create the flash for an alarm light.
Click&Go User’s Manual Click&Go V2 Developing Process AO AO refers to the local control of the analog output channels, including voltage and current. Analog output can be used to control the open angle of a valve of the movement of a solar panel.
Click&Go User’s Manual Click&Go V2 Developing Process Relay (Counts) In the THEN/ELSE action, Relay refers to the current counts specifying how many times a relay has been triggered. The counts are stored internally and can be cleared. “RESET” is the only operator. Select the THEN/ELSE action to Relay and click on the property button ( enter the Relay Settings window.
Click&Go User’s Manual Click&Go V2 Developing Process Internal Register The Internal Register represents a status flag to link the status of the first logic to the second one by specifying other actions in the THEN/ELSE fields. Value from 0 to 255 can be configured here. Select the THEN/ELSE action to Timer and click on the property button ( Internal Register Settings window.
Click&Go User’s Manual Click&Go V2 Developing Process Remote Action When responding to a proper IF condition, Remote Action in the THEN/ELSE action fields sends out a specific command ID to the remote ioLogik creating the remote IF condition. Select the THEN/ELSE action for Remote Action and click on the property button ( Remote Action Settings window. ) to enter the After specify the command ID, click on the Remote IP button to fill in the target ioLogik IP addresses.
Click&Go User’s Manual Click&Go V2 Developing Process Timer The Timer function can be used to control the time settings of a logic rule. Actions such as “START”, STOP, and “RESTART” can be configured here. Select the IF condition to Timer and click on the property button ( Settings window. ) to enter the Timer In the above figure, the “Used in:” column indicates this Timer is also used in the Rule-0, which helps the user to identify the relationship between the rules.
Click&Go User’s Manual Click&Go V2 Developing Process SNMP Trap SNMP Trap function sends an SNMP trap to one or more IP destinations. You can select a trap number between 1 and 20. (You may need to consult with your network administrator to determine how trap numbers will be used and defined in your network.) Select the THEN/ELSE action to ) to enter the SNMP Settings window. You SNMP Trap and click on the property button ( can also bind the status of up to three I/O channels within each trap.
Click&Go User’s Manual Click&Go V2 Developing Process ) to configure the default parameters such as the Click the Set Active Message button ( messaging protocol (TCP or UDP), socket port (9000 by default), and the up to 10 target message servers.
Click&Go User’s Manual Click&Go V2 Developing Process When sending a message in HEX, each HEX value must be delimited by commas. View the incoming message in the Message Monitor tab, select Toggle HEX checkbox. Note that certain numbers are control characters that will not show up in the Message Monitor, as shown in the following example: E-mail The E-mail function sends a customizable e-mail to one or more mail boxes or Blackberrys.
Click&Go User’s Manual Click&Go V2 Developing Process After entering the subject of an e-mail, enter the message in the Mail Content area. Dynamic fields such as time, date, IP address, and I/O status can be inserted in your message by clicking Keyword Lookup. NOTE Content in the same logic entry can be sent by either Active Message or e-mail, in which case the content of the messages will be the same.
Click&Go User’s Manual Click&Go V2 Developing Process IP or URL are allowed Customized Commands Column NOTE In the first address column, IP address or URL can be used to specify the target. Only the DNS and Gateway settings of the ioLogik need to be specified. Refer to the target IP video devices’ user manual for detail CGI command formats. Peer-to-Peer Function Peer-to-peer I/O is one of the Click&Go configurations besides the IF-THEN-ELSE logic.
Click&Go User’s Manual Click&Go V2 Developing Process The peer-to-peer I/O function is configured in two steps. On the input module, a Click&Go Logic rule is defined to stream an input channel’s signals to one or more output modules. On the output module, a Click&Go Logic rule is defined to receive an input module’s input channel signals and mirror them on an output channel. Configuring Input Module The peer-to-peer I/O input module is configured using a single Click&Go rule.
Click&Go User’s Manual NOTE Click&Go V2 Developing Process Only DI channels that are set to DI mode can mirror remote DO channels. Event Counter channels cannot be used for peer-to-peer I/O operation. For analog input and output channels, they must be configured to the same voltage or current mode. Also, a digital channel can not mirror an analog output channel or vise versa.
Click&Go User’s Manual Click&Go V2 Developing Process Activating the Rule-set Download, Restart and Run In the Click&Go tab, the rules that are displayed in the Click&Go Logic tab comprise the current rule-set, which acts as the brain of your ioLogik system. The rule-set must be activated for the ioLogik to commence local control operation as follows: 1. The rule-set must first be downloaded from ioAdmin to the ioLogik. To download the rule-set, click Download from the Rule-set Management bar. 2.
Click&Go User’s Manual Click&Go V2 Developing Process Import/Export Configuration The ioLogik’s system configuration can be imported and exported. This configuration includes the current Click&Go rule-set. As you make changes to a rule-set, you can export the system configuration in order to save that rule-set. The Server Settings tab is where you log in as an ioAdmin administrator. This is required in order to gain access to the ioLogik configuration options.
Click&Go User’s Manual Click&Go V2 Developing Process The following is a sample configuration file: Import System Configuration In the Navigation Panel, right click on the selected ioLogik and select the command “Import System Config” to load a configuration for the selected ioLogik from a configuration text file. You will need to be logged in as an administrator to use this command. The new configuration will not take effect until the ioLogik has been restarted.
Click&Go User’s Manual Click&Go V2 Developing Process Using TFTP to Import/Export Configuration TFTP (Trivial File Transfer Protocol) was defined in 1980 to provide basic FTP functionality in a very simple protocol. Due to TFTP’s simplicity, it can be implemented using a very small amount of memory, an important consideration when it was first developed. ioLogik products support the use of TFTP to import or export configuration files.
4 Chapter 4. Click&Go Examples and Applications In this chapter, examples and the typical applications is explained to show how to create an alarm system with Click&Go V2 local control logic with your ioLogik system.
Click&Go User’s Manual Examples and Applications Click&Go Rule 101 IF-THEN-ELSE “Program in the way you think” is the number one rule in Click&Go programming. Just remember that if the IF conditions sustain, THEN actions will be triggered. If the IF conditions do not sustain, ELSE actions will be triggered. IF “A” THEN “B”, ELSE “C” Where there is an ON Logic, there should be an OFF Logic No matter what kind of action is triggered, remember to disable it.
Click&Go User’s Manual Examples and Applications Using the Timer Function Heartbeat or Repeat Actions The Timer function can be used to generate non-stop repeating actions, such as heartbeat, by setting the Global Variable – Timer Settings to “START” and the THEN/ELSE action to “RESTART.” A heartbeat TCP message can be generated using the following example. The RESTART operator of the Timer function only restarts from the beginning. It does not stop timing.
Click&Go User’s Manual Examples and Applications ATTENTION STOP or RESTART operator should always be used to reset or to restart the timer. If these operators are not used, the Timer function can only be triggered once. For Active Messaging, e-mail, and SNMP trap THEN/ELSE actions, they are also capable of repeating their own function by selecting “Send Every ___ Sec.” in the Message Content Settings.
Click&Go User’s Manual Examples and Applications OFF-Delay Conversely, OFF-Delay keeps the action on running for a period of time from when the IF function is triggered to when the THEN action is executed. For example, after pushing a button to switch off the light in a lobby, the light stays ON for an additional 10 seconds before turning OFF so that the user can have enough time to walk out of the building.
Click&Go User’s Manual Examples and Applications Programming Examples Local I/O Control In this scenario, we planned to trigger the DO from local DI on the ioLogik. Product Model: ioLogik E2210, E2212 or E2214. Rule 0: IF DI-0=ON, THEN DO-0=ON, ELSE DO-0=OFF 1. In ioAdmin, make sure you have logged in on the Server Settings tab. Go to the Click&Go Logic tab. 2. Double click #0 in the Rule-set. The rule configuration window will appear. 3. Make sure that Enable in the upper left hand corner is checked.
Click&Go User’s Manual Examples and Applications Active I/O Messages In this scenario, we have a pressure sensor attached to the AI channel of the ioLogik; a DO channel is connected to a switch on an air pump. When the pressure of the tank is low, the ioLogik will start pumping. At the same time, the ioLogik will send a TCP message to the central office, indicating that the pump is ON. When pressure levels become high, the ioLogik will shut down the pump by turning off the DO.
Click&Go User’s Manual Examples and Applications 3. Double click #0 in the Rule-set. The Logic Configuration window will appear. 4. Make sure that Enable in the upper left hand corner is checked. 5. Select Enable Logic. 6. Select AI-0 as your condition in the first IF field, and set the operator to “<=”, value to “8” and the unit to “mA”. 7. Select DO-6 as your action in the first THEN field, and set its value to ON. 8. Select Active Message as your action in the second THEN field. 9.
Click&Go User’s Manual Examples and Applications 18. Click OK to close the Logic Configuration window. 19. Click Download on the Rule-set Management Bar. 20. Select Yes when asked to restart and wait until the server has restarted and is back on-line. 21. Click Run on the Rule-set Management Bar. The RDY LED will be flashing green, indicating the ioLogik is now operating as an Active Ethernet I/O server, using the rule-set that was just defined.
Click&Go User’s Manual Examples and Applications 6. Select DI as the type to export the signal from the input module. In the 1. Dest. IP: field, enter 192.168.127.3 and click OK to save this setting. 7. Click OK to close the Logic Configuration window. 8. Click Download on the Rule-set Management Bar. 9. Select Yes when asked to restart and wait until the server has restarted and is back on-line. 10. Log in on the Server Settings tab, then go to the Click&Go Logic tab. 11.
Click&Go User’s Manual Examples and Applications 9. Select Enable peer-to-peer I/O. 10. Select Output channel, then select DO-1 for the first field, enter 192.168.127.154 for the second field, and select DI-1 for the third field. 11. Click OK to close the Logic Configuration window. 12. Click Download on the Rule-set Management Bar. 13. Select Yes when asked to restart and wait until the server has restarted and is back on-line. 14. Click Run on the Rule-set Management Bar.
Click&Go User’s Manual Examples and Applications Applications_1 The ioLogik E2260 provides temperature monitoring and alarm messaging for laboratories, hospitals, and blood banks. Project Background Laboratories, hospitals, and blood banks refrigerate their stocks of biochemical medicines, organic complexes, solutions, and blood at temperatures between 2 to 8°C to preserve quality. Constant monitoring is required to prevent vaporization, chemical change, or contamination.
Click&Go User’s Manual Examples and Applications Additional Features The ioLogik E2260 is also equipped with the following features: 9 Local alarm output via digital channels 9 Alarm notifications via e-mail 9 Periodic status updates via SNMP trap 9 Moxa’s Active OPC Server to connect ioLogik devices to the most popular SCADA systems System Diagram ioLogik E2260 SNMP Trap Report RTD Sensor (RTD_0) Fridge#1 Temp.
Click&Go User’s Manual Examples and Applications Click&Go Programming Example I/O Alias and Mode Configuration 1. Configure the RTD_0 channel to PT100 mode, set the alias name of this channel to Freezer#1 2. Configure the RTD_1 channel to PT100 mode, set the alias name of this channel to Freezer#2 3. Configure the RTD_2 channel to PT100 mode, set the alias name of this channel to Freezer#3 Programming Manners 1. Send a SNMP trap to report the temperature of the Freezer#1 when it reaches 8°C. 2.
Click&Go User’s Manual Examples and Applications Applications_2 The ioLogik E2262 provides temperature monitoring, alarm and shutdown control for a pumping system. Project Background In the pumping system of a tank farm, bearings of a pump motor always burn out after the motor runs non-stop for a period of time. The downtime and damage caused by overheated bearings raise maintenance costs and reduce output.
Click&Go User’s Manual Examples and Applications Additional Features The ioLogik E2262 is also equipped with the following additional features: 9 Scheduling feature sets start and shutdown times for the pump motors 9 Moxa’s Active OPC Server to connect ioLogik devices to the most popular SCADA systems System Diagram Click&Go Programming Example I/O Alias Configuration 1. Temperature Input TC_0: 1st Pump Motor Temperature Sensor. 2. Temperature Input TC_1: 2nd Pump Motor Temperature Sensor. 3.
Click&Go User’s Manual Examples and Applications I/O Mode Configuration 1. Configure the TC Channels to the correct Mode, in this case, it is K-type sensors with calluses display; set the alias name for each channel. 2. Configure the DO channel, set the alias name for each channel. Programming Manners 1. 1st pump motor shuts down when temperature rises to High (110°C), send out an alarm e-mail. 2. 1st pump motor restarts when temperature falls to Low (70°C), notify with an e-mail. 3.
Click&Go User’s Manual Examples and Applications Applications_3 The ioLogik E2210 handles the alarm system of walk-in refrigerators in a semiconductor factory. Project Background A semiconductor factor preserves its stock of epoxy resin and silicon-based materials in large walk-in refrigerators at temperatures below 5°C. Temperatures higher than that will cause both the physical and chemical characteristics of the materials to change.
Click&Go User’s Manual Examples and Applications Additional Features The ioLogik E2210 is also equipped with the following features: 9 More local input functions such as local acknowledgement or open detection of the control box 9 Moxa’s Active OPC Server to connect ioLogik devices to the most popular SCADA systems System Diagram 4-19
Click&Go User’s Manual Examples and Applications Click&Go Programming Example I/O Alias and Timer Configuration 1. Digital Input DI_0: Door-Sensor#1 2. Digital Output DO_0: Alarm#1 3. Configure the default interval of Timer_0 to 60 seconds Programming Manners 1. When the door is open, start the timer. 2. When the timer times out after 60 seconds, trigger the alarm and send out an active message. 3. Once the door is closed, disable the alarm and stop the timer.
Click&Go User’s Manual Examples and Applications Applications_4 The ioLogik E2242 handles control and alarms for a sump pump system. Project Background Many industries use a sump pit to collect wastewater from machines, cutting oil, and toxic solutions from the production line. When the level of the liquid in the sump pit reaches a certain level, the liquid in the sump pit must be pumped out to a holding tank.
Click&Go User’s Manual Examples and Applications Additional Features The ioLogik E2242 is also equipped with the following features: 9 Scheduling function to set when to pump the wastewater 9 Moxa’s Active OPC Server to connect ioLogik devices to the most popular SCADA systems System Diagram Click&Go Programming Example I/O Alias Configuration 1. Analog Input AI_0: Level Sensors. 2. Digital Output DO_0: High-high Alarm. 3. Digital Output DO_1: Primary Pump Control. 4.
Click&Go User’s Manual Examples and Applications I/O Mode Configuration 1. Configure the DIO channel to DO mode, set the alias name for each channel. 2. Configure the AI channel to 4-20 mA mode, set the alias name for each channel. Programming Manners 1. Primary Pump and its indicator is activated when liquid level reaches High (15 mA input) 2. Backup Pump and its indicator is activated when the liquid level reaches High-high (18 mA input), incase the primary pump is fail.
Click&Go User’s Manual Examples and Applications Applications_5 The ioLogik E2214 reduces downtime in a runway perimeter security system. Project Background Relay control for lighting and motion detection is at the heart of a runway perimeter intrusion detection and alarm system application. On a typical day, aircraft constantly come and go on both the runway and adjacent taxiways, creating a dangerous environment for anyone or anything entering the runway.
Click&Go User’s Manual Examples and Applications Additional Features The ioLogik E2214 is also equipped with the following features: 9 Local alarm output using digital channels 9 Alarm notifications via e-mail 9 Periodic status updates with SNMP trap 9 Moxa’s Active OPC Server to connect ioLogik devices to the most popular SCADA systems System Diagram Click&Go Programming Example I/O Alias Configuration 1. Configure the alias name of DI_0 channel to MotionSensor#0. 2.
Click&Go User’s Manual Examples and Applications Programming Manners 1. Lights should be turned ON locally (for the motion sensor) and remotely 2. Report the current relay counts via e-mail upon reaching 1,000 uses 3. After a relay is replaced, site maintainers can manually reset the counts by pressing the RESET button Click&Go Rule-set NOTE Internal Register-0 in this case is used to control the relay output to a light.
Click&Go User’s Manual Examples and Applications Applications_6 The ioLogik E2212 collects meter readings for a yacht wharf billing system. Project Background Patrons generally require refueling and battery charging as basic services after docking their yachts at a hotel’s wharf. Upon disembarking, customers simply connect their yachts to the charge station and check in at the front desk.
Click&Go User’s Manual Examples and Applications Additional Features The ioLogik E2212 is also equipped with the following features: 9 Battery status detection to prevent over-charging the battery 9 Moxa’s Active OPC Server to connect ioLogik devices to the most popular SCADA systems System Diagram 4-28
Click&Go User’s Manual Examples and Applications Click&Go Programming Example I/O Alias and Mode Configuration 1. Configure the 1st input channel to Event Counter mode, and Power On Settings to “START”. Configure the alias to Meter#1. 2. Configure the 1st digital output’s alias to PWR_Switch#1 Programming Manners 1. Turn on the power switch remotely and start recording the counts. 2. Turn off the power switch remotely and stop recording the counts. Report the readings and reset the counter.
Click&Go User’s Manual Examples and Applications Applications_7 The ioLogik E2210 handles the safety and alarm system of a public restroom. Project Background Security and safety systems in public facilities such as train stations, museums, and movie theaters, are increasingly incorporating medical assistance, police, and fire alarms for patrons to trigger in emergency situations.
Click&Go User’s Manual Examples and Applications Solution Benefits The ioLogik E2210 provides the restroom alarm system with the following benefits: 9 A controller equipped with both digital input and digital output channels 9 More local input functions such as local acknowledgement and open detection of the control box 9 Click&Go’s easy IF-THEN-ELSE style control logic, which eliminates the need for a PLC or RTU 9 Simultaneous control for local and remote Ethernet 9 Alarm messaging can be genera
Click&Go User’s Manual Examples and Applications Click&Go Programming Example_Site I/O Alias and Timer Configuration of ioLogik_Site 1. Digital Input DI_0: Higher Emergency Button. 2. Digital Input DI_1: Lower Emergency Button. 3. Digital Input DI_2: Front-end Emergency Button. 4. Digital Output DO_0: Alarm Light. 5. Digital Output DO_1: Alarm Speaker. 6. In the Click&Go Manual configure the Timer to 60 seconds. Programming Manners of ioLogik E2210_Site 1.
Click&Go User’s Manual Examples and Applications Click&Go Rule-set of ioLogik E2210_Site Logic #1 - Sending Remote Action to ioLogik E2210_Central NOTE This Remote Action ID is configured to trigger both the remote (central) Alarm Light and Speaker.
Click&Go User’s Manual Examples and Applications Remote Action IP and ID mapping is shown as below: Logic #3 - Receiving Remote Action from ioLogik E2210_Central NOTE Receiving this Remote Action will disable the local (site) Alarm Light 4-34
Click&Go User’s Manual Examples and Applications Click&Go Programming Example_Central I/O Alias and Timer Configuration of ioLogik_Central 1. Digital Input DI_0: Site #001 Ack, Button. 2. Digital Output DO_0: Site #001 Alarm Light. Programming Manners of ioLogik E2210_Central 1. Switch on the specific Alarm Light when an alarm from that site is activated. 2. Switch on the Alarm Speaker when an alarm from any site is activated. 3.
Click&Go User’s Manual Examples and Applications Logic #0 - Receiving Remote Action from ioLogik E2210_Site NOTE This Remote Action disables the remote (site) Alarm Light.
A Appendix A.
Click&Go User’s Manual Internal Registers ioLogik E2240, E2242, E2260 and E22262 4xxxx Read/Write Registers (Functions 3, 6, 16) Reference 40337 40338 40339 40340 40341 40342 40343 40344 40345 40346 40347 40348 40349 40350 40351 40352 40353 40354 40355 40356 40357 40358 40359 40360 Address 0x0150 0x0151 0x0152 0x0153 0x0154 0x0155 0x0156 0x0157 0x0158 0x0159 0x015A 0x015B 0x015C 0x015D 0x015E 0x015F 0x0160 0x0161 0x0162 0x0163 0x0164 0x0165 0x0166 0x0167 Data Type 1 word 1 word 1 word 1 word 1 word 1 wo