Click&Go V2 Users Manual v2
Click&Go V2 Users Manual v2
www.moxa.com/product
Copyright Notice
Trademarks
Disclaimer
Information in this document is subject to change without notice, and does not represent a commitment on the
part of Moxa.
Moxa provides this document “as is,” without warranty of any kind, either expressed or implied, including, but
not limited to, its particular purpose. Moxa reserves the right to make improvements, and/or changes to this
manual, or to the products, and/or the programs described in this manual, at any time.
Information provided in this manual is intended to be accurate, and reliable. However, Moxa assumes no
responsibility for its use, or for any infringements on the rights of third parties that may result from its use.
This manual might include unintentional technical or typographical errors. Changes are made periodically to the
information herein to correct such errors, and these changes are incorporated into new editions of the manual.
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.
The following topics are covered in this chapter:
Overview
Click&Go V2 Features
¾ Product and Software Support
¾ Difference in Programming Method and Space
¾ Difference in IF Conditions
¾ Difference in THEN/ELSE Actions
¾ Click&Go Version Check
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. Instead, users familiar with IF-THEN-ELSE statements will have
no problem understanding the Click&Go interface and will be able to control I/O channels and
alarm messaging after a few simple steps. The configuration utility also makes the control process
easy to define and configure. Simply download the control logic to the ioLogik Active Ethernet
I/O server and Click&Go will be ready-to-go in no time.
Click&Go performs various functions including local I/O control, remote output control, alarm
generation and messaging, and event-driven or time-based I/O status reporting.
Click&Go eliminates the need for host computers to continually poll I/O devices for status. Instead,
the server itself is able to monitor the status of each I/O device and take the appropriate action
when the I/O status satisfies a user-defined condition. For example, users may need to configure
the Moxa ioLogik Active Ethernet I/O servers to send a TCP/UDP message only when the switch
attached to DI-0 is turned on. This event-based structure results in a much improved response time
and a much reduced load on the host computer’s CPU and on network bandwidth.
Simple IF–THEN–ELSE statements are used to specify conditions that are required for certain
actions to take place. Up to three conditions, three actions and three opposite actions (ELSE) can
be combined in a rule, and you can define up to 24 rules. Supported actions include sending SNMP
traps or TCP/UDP messages to up to 10 hosts at a time.
Click&Go can also be used to map an input channel on one Moxa ioLogik Active Ethernet I/O
server to an output channel on another ioLogik for peer-to-peer I/O communication. Up to five
different IP addresses can be entered as the output destination. Peer-to-peer I/O provides a very
flexible and easy way to extend I/O signals or connect remote on/off switches. It can be used, for
example, to replace or extend the wiring of PLC or DCS systems over Ethernet.
1-2
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.
Local Monitoring and Local Control
Click&Go can continually monitor the local I/O status for each input channel, trigger the status, or
direct it to local output channels.
Remote Control and Control by Remote
Click&Go is capable of accepting control commands from a remote host or an ioLogik. In addition,
it can send out commands to remotely control another ioLogik.
Time-stamped Active Messaging
All alarms, messages, e-mail notices, and TCP, UDP, and SNMP traps are time-stamped with the
exact time of the events.
Peer-to-peer I/O
Peer-to-peer I/O can be used to set up I/O mapping over Ethernet from the DI channel on one
ioLogik to the DO channel on another ioLogik.
Active
ioLogik E2210 Ethernet 12 DI, 8DO 3.0↑ V3.0↑
Ethernet I/O
1-3
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]
1-4
Click&Go V2 User’s Manual Introduction
Difference in IF Conditions
Click&Go V1.0 *1Click&Go V1.1 Click&Go V2.x
Timer Trigger
*2Relay Counter
*1Delay Timer *1
Timer
Internal Register *1
Remote Action
Schedule
1-5
Click&Go V2 User’s Manual Introduction
SNMP Trap
Active Message
*1Delay Timer
Timer
*1Internal Register
Remote Action
CGI Command
NOTE 1. 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. The
latest Timer covers the function of the earlier Timer Trigger and the latest Internal Register
covers the earlier ones.
2. These specific IF conditions and THEN/ELSE actions are only supported on the ioLogik
E2214 Relay Module.
1-6
Click&Go V2 User’s Manual Introduction
1-7
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.x Installation
¾ Firmware Update
¾ Reset to Factory Default
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. Electric sensors or alarm lights for testing purpose.
12 to 48 VDC
Power Supply
Ethernet Cable
Windows PC
2-2
Click&Go User’s Manual Getting Started
3. Use ioAdmin configuration utility to detect the ioLogik. Once the ioLogik has been detected,
modify the settings as needed for your network environment, then restart the server.
2-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.
ATTENTION
For wiring reference, refer to the specific user’s manual for each product.
Software Preparation
ioAdmin 3.x Installation
ioAdmin is a Windows utility provided for the configuration and management of ioLogik series
products, including the programming of the Click&go logics. ioAdmin can be used from anywhere
on the network to monitor and configure ioLogik . You can also configure some of the settings
through the web console or optional LCM.
Be sure to always use a version higher than V3.0.
Note that configuration options are not available until you log in as an administrator.
1
3
2
4
5
6
7
2-4
Click&Go User’s Manual Getting Started
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. The installation program
will guide you through the installation process and install the ioAdmin utility.
2. Open ioAdmin: After installation is finished, run ioAdmin from the Windows Start menu:
Start ÆProgram Files ÆMOXA ÆIO Server ÆUtility Æ ioAdmin.
3. Search the network for ioLogik: When ioAdmin is started, it will automatically run the auto
search program. Or find it on the menu bar, select System ÆAuto Scan Active Ethernet I/O.
A dialog window will appear. Click Start Search to begin searching for your unit.
2-5
Click&Go User’s Manual Getting Started
NOTE 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.
2-6
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.
Firmware upgrade with a jump version for specific ioLogik models may be required.
Start Jump Final
Model
Version Version Version
ioLogik E2210 V1.x V2.0 V3.x
ioLogik E2212 V1.0 V1.1 V3.x
ioLogik E2240 V1.x V2.2 V3.x
ioLogik E2214, E2242,
V1.x N/A V3.x
ioLogik E2260, E2262
For ioLogik E2210, E2212 and E2240, it is recommended to upgrade the jump version first, and
then upgrade again to the final version that supports Click&Go V2. For the rest of the models,
firmware upgrade can be performed directly to the latest version.
ATTENTION
Do not interrupt the firmware update process! An interruption in the process might result in
your device becoming unrecoverable.
After the firmware is updated, the ioLogik will restart and you will have to log in again to access
administrator functions.
The firmware on any attached I/O expansion module, such as an ioLogik R2000 server, must be
updated over the RS-485 bus. Firmware on cascaded modules cannot be updated over Ethernet.
2-7
Click&Go User’s Manual Getting Started
RESET
2-8
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.
The following topics are covered in this chapter:
Click&Go V2 Development Process
I/O Configuration
¾ Configurable DIO Channel Mode Selection
¾ Digital Input Mode Selection
¾ Digital Output Mode Selection
¾ Analog Input Mode Selection
¾ Analog Output Mode Selection
¾ Temperature Input Mode Selection
¾ Alias Name Configuration
¾ Testing the I/O Channels
Define Global Variables
¾ Internal Register Settings
¾ Timer Settings
¾ SNMP Trap Server
¾ E-Mail Server
¾ Active Message Server
Work with Logic
¾ Click&Go Logic Basics
¾ IF Conditions
¾ More Info on Repeat Interval vs. Edge Detection
¾ THEN/ELSE Actions
¾ Peer-to-Peer Function
Activating the Rule-set
¾ Download, Restart and Run
Rule-set Management Bar
Import/Export Configuration
¾ Using ioAdmin to Import/Export Configuration
¾ Using TFTP to Import/Export Configuration
Click&Go User’s Manual Click&Go V2 Developing Process
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. The channels are divided into digital inputs,
digital outputs, analog inputs, analog output, and virtual channels.
Number of
Mode Selection: Mode Selection:
Model Available Configurable DIO
Digital Input Digital Output
Channels
ioLogik E2212 4
ioLogik E2242 12
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 DIO channel will be configured to act as either a DI or DO channel, according to the Power
On Settings. To switch between DI and DO channel operation, select the desired mode in the I/O
Direction field under Power On Settings. After clicking Apply, you will need to restart the
ioLogik for the new setting to take effect.
3-2
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.
ioLogik E2210 12
ioLogik E2214 6
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 DI channel will be configured to act as either a DI or Event Counter channel, according to
the Mode Settings. To switch between DI and Event Counter channel operation, select the desired
mode in the Mode Settings.
ATTENTION
On this tab, be sure to select “Start” for the Counter Mode Parameters on the “Power On
Settings” to enable the Event Counter channel.
3-3
Click&Go User’s Manual Click&Go V2 Developing Process
ioLogik E2210 8
ioLogik E2260 4 DO
ioLogik E2262 4 DO
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 DO channel will be configured to act as either a DO or Pulse Output channel, according to
the Mode Settings. To switch between DO and Pulse Output channel operation, select the desired
mode in the Mode Settings.
3-4
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 AI channel will be configured to measure either voltage or current according to the Range
Settings.
3-5
Click&Go User’s Manual Click&Go V2 Developing Process
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. A window will open with configuration options for that channel.
Each AO channel will be configured to output either voltage or current according to the Range
Settings.
Number of
Mode Available Temperature Input Sensor Type Selection:
Channels
J, K, T, E, R, S, B, N Type and
ioLogik E2262 8 TC
78.126/39.062/19.532mV
3-6
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).
3-7
Click&Go User’s Manual Click&Go V2 Developing Process
ATTENTION
It is strongly recommended to configure the alias name for the used I/O channel before
performing any further configuration or programming.
3-8
Click&Go User’s Manual Click&Go V2 Developing Process
In the Test tab, you can see how a channel’s status affects or is affected by the attached device. For
output channels, you can set the on/off status, start and stop a pulse, or output a voltage or current.
For input channels, you can monitor the attached device’s on/off status, counter, or input
voltage/current.
3-9
Click&Go User’s Manual Click&Go V2 Developing Process
Timer Settings
The Timer function allows users to delay an action, to trigger an action to run, or repeat an action.
A timer is activated by a change of the logic event. After the timed interval has expired, the output
will be performed.
There are 24 timers that can be implemented in the Click&Go V2 logic, and the default value of
their interval is set to “5 seconds” at the “STOP” state. Configure the interval before using them.
If default state is set to “START”, timer will start when the Click&Go logic is activated.
3-10
Click&Go User’s Manual Click&Go V2 Developing Process
E-Mail Server
The E-mail Server configures the parameters of the target e-mail servers and the recipient e-mail
addresses. The Recipient Database should contain a list of available e-mail addresses for your
network environment. The e-mail message defined in the Click&Go logic will be sent to all
addresses listed in the Receiver(s) list. To add e-mail addresses to the Available receiver(s) list,
enter the Name and Mail Address and click Add finger icons to move addresses to the Recipient
Database; use the Remove finger icon to remove it.
3-11
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.
3-12
Click&Go User’s Manual Click&Go V2 Developing Process
3-13
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:
For one control logic rule, there are three “A’s” that can be configured. “A” refers to the IF
conditions that trigger an action. These three conditions can be operated by “AND” or “OR” logic.
All three conditions must be all true to create the positive result if operating the conditions with
“AND” logic. As for the “OR” logics, one or more true condition needs to trigger the action.
All 24 rules are defined individually and executed one by one in a loop. The 2nd rule can only be
processed after running the 1st rule, and the entire rule-set will be start running over again from the
beginning after the last rule is processed.
3-14
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.
The configuration window is where the rule is defined. There are two types of rules that can be
defined: Logic rules and peer-to-peer I/O rules. Logic rules are used for DI event-based triggers,
whereas peer-to-peer I/O rules are used for mapping I/O channels between two ioLogik units.
The Equivalent Logic Statement at the bottom shows a real-time text-based summary of the rule
that you are defining. It can be a useful way to make sure that the rule is designed as you intended.
3-15
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).
3-16
Click&Go User’s Manual Click&Go V2 Developing Process
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. The transition of the
status change can also be operated using the “Change” operator so it will trigger the related action
whether it is ON-to-OFF or OFF-to-ON.
Select the IF condition to DI and click on the property ( ) button to enter the DI Settings
window.
3-17
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 ( ) to
enter the Counter Settings window.
3-18
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.
3-19
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.
3-20
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.
3-21
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.
3-22
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).
Select the IF condition for the Internal Register and click on the property button ( ) to enter
the Set Internal Register window.
In the above figure, the “Used in:” column indicates that this Internal Register is also used in the
Rule-0, which helps the user to identify the relationship between the rules. Also, the Set Internal
Register button ( ) will help to define the default value of all the Internal Registers.
Internal Registers can be controlled by Modbus/TCP protocol. Refer to the appendix for the
NOTE address list for all the Internal Registers.
3-23
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.
Timer
The Timer function can be used to control the timing of a logic rule in the IF conditions.
“TIMEOUT” is the only operator here. For example, uses can delay the triggering of an action or
to repeat an action periodically. Select the IF condition for Timer and click on the property button
( ) to enter the Timer Settings window.
3-24
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 ( ) will
help to define the default value for the Timer.
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.
Select the IF condition to Schedule and click on the property button ( ) to enter the setting
window.
For recurrent actions, select the Recurrence checkbox and select the week days. If there a time
period needs to be defined, specify the stop date in the range column.
3-25
Click&Go User’s Manual Click&Go V2 Developing Process
3-26
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.
DI-0 = ON
DI-1 = ON
DI-2 = ON
Relation between
AND OR
conditions
“IF” conditions
satisfied
“THEN” action
triggered
DI-0 = OFF to ON
DI-1 = OFF to ON
DI-2 = OFF to ON
Relation between
AND OR
conditions
“IF” conditions
satisfied
“THEN” action
triggered
3-27
Click&Go User’s Manual Click&Go V2 Developing Process
DI-0 = OFF to ON
DI-1 = OFF to ON
DI-2 = ON
Relation between
AND OR
conditions
“IF” conditions
satisfied
“THEN” action
triggered
DI-0 = OFF to ON
DI-1 = ON
DI-2 = ON
Relation between
AND OR
conditions
“IF” conditions
satisfied
“THEN” action
triggered
3-28
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.
3-29
Click&Go User’s Manual Click&Go V2 Developing Process
3-30
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.
3-31
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 ( ) to
enter the DO Settings window.
NOTE 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. Select
the THEN/ELSE action to Pulse Output and click on the property button ( ) to enter the
Pulse Output Settings window.
3-32
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.
3-33
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 ( ) to
enter the Relay Settings window.
3-34
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 ( ) to enter the
Internal Register Settings window.
In the above figure, the “Used in:” column indicates that this Internal Register is also used in the
Rule-0, which helps the user to identify the relationship between the rules. Also the Set Internal
Register button ( ) will help to define the default value of the all the registers.
Inter Register can be controlled by Modbus/TCP protocol, refer to the appendix for the address
NOTE list for all the Internal Registers.
3-35
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 ( ) to enter the
Remote Action Settings window.
After specify the command ID, click on the Remote IP button to fill in the target ioLogik IP
addresses.
3-36
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 ( ) to enter the Timer
Settings window.
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. Also, the Set Timer button ( )
will help to define the default value for the Timer.
While the “STOP” operator stops the timer and returns to “0”, the “RESTART” operator clears
NOTE and restarts the timer.
ATTENTION
The STOP or RESTART operator should always be used to reset or to restart the timer. Without
using these operators, the Timer function can only be triggered once.
3-37
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
SNMP Trap and click on the property button ( ) to enter the SNMP Settings window. You
can also bind the status of up to three I/O channels within each trap. Click the Set SNMP button
Active Message
In response to a proper IF condition, the Active Message function sends a customized message to
one or more IP destinations by TCP or UDP packets. Select the THEN/ELSE action to Active
Message and click on the property button ( ) to enter the Message Content Settings window.
Enter your desired message in the Message Content column. Dynamic fields such as time, date, IP
address, and I/O status can be inserted in your message by clicking Keyword Lookup. Messages are
sent in ASCII by default, but can be sent in HEX by selecting “Send as HEX (separated by “,”)”
checkbox.
3-38
Click&Go User’s Manual Click&Go V2 Developing Process
Click the Set Active Message button ( ) to configure the default parameters such as the
messaging protocol (TCP or UDP), socket port (9000 by default), and the up to 10 target message
servers.
Active Messages can be received by a program using standard sockets, Moxa MXIO library, or
ioAdmin’s Message Monitor as in the following example:
3-39
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. Select
the THEN/ELSE action to e-mail and click on the property button ( ) to enter the Mail
Settings window.
3-40
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.
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. If you would like to send an Active Message and
NOTE e-mail based on the same event but with different content, you will need to use two separate
logic entries, one for the Active Message and one for the e-mail.
SMTP server information including username/password, and the recipient database can be
configured or by clicking the Set Mail Address button ( ). Clicking the finger icon ( )
can move the selected address from the Recipient Database to the Recipient List.
To manually add e-mail addresses to the Recipient Database, enter the Name and Mail Address and
click Add. Once the address has been added to the Recipient Database, use the finger icons to
move it to or from the Recipient List.
CGI Command
Not only do the ioLogik products support CGI commands, they also allow the Click&Go logic to
interact with proper IF conditions and send out CGI commands to IP Video devices such as the
Moxa V351 video server or VPort 25 IP camera. Support for user-defined CGI commands in the
Click&Go THEN/ELSE action turns the ioLogik product into the expansion I/O controller of these
video devices. For example, setting a trigger to focus and take a snapshot when there is an
intrusion. Select the THEN/ELSE actions for the CGI command and click on the property button
( ) to enter the CGI Command Settings window.
3-41
Click&Go User’s Manual Click&Go V2 Developing Process
Customized Commands
Column
In the first address column, IP address or URL can be used to specify the target. Only the DNS
NOTE 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. It can be
used to set up I/O mapping over Ethernet from an input channel on one ioLogik to an output channel
on another ioLogik. By using a pair of ioLogik products, the input status could be the trigger of a
remote output. For example, if a push button is connected to DI channel 0 of ioLogik#1 and the
Click&Go peer-to-peer I/O function is activated, the remote ioLogik#2 can turn its DO output
channel on or off depending on the status of the remote ioLogik#1. Peer-to-peer I/O makes it easy to
set up applications such as controlling a push button and lights located in different rooms, buildings,
or even cities.
The ioLogik supports peer-to-peer I/O for simple one-to-one mapping as well as one-to-many and
many-to-many mapping. A single input channel can trigger up to five remote output channels.
3-42
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. In the Click&Go tab,
start a new rule, select Enable peer-to-peer I/O, and then select Input channels mirror to. Click
Remote IP… and enter up to five IP addresses as destinations. Each IP address should belong to an
ioLogik unit that will act as an output module for peer-to-peer I/O operation. You can also set up
additional peer-to-peer I/O rules in order to mirror input channels to more than five destinations. If
all 24 rules are used for peer-to-peer I/O, a total of 120 destination IP addresses can be entered.
The ioLogik E2000 can simultaneously act as both an input module and an output module. Input
module operation would be configured in one rule, and another rule would be used to configure
output module operation.
3-43
Click&Go User’s Manual 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,
NOTE 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.
When properly configured, the specified output channel will mirror the signals received by the
specified remote input channel, as if the channels were physically connected. For example, If the
remote DI channel’s status changes to “ON”, the specified DO channel’s status will change to “ON”.
If the remote DI channel’s status changes to “OFF”, the DO channel’s status will change to “OFF”.
Once both the input and output modules have been configured start peer-to-peer I/O operation by
activating the rule-set on both units and providing a valid network connection to each unit.
Only DO channels that are set to DO mode can mirror remote DI channels. Pulse Output
channels cannot be used for peer-to-peer I/O operation. For analog input and output channels,
NOTE 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.
3-44
Click&Go User’s Manual Click&Go V2 Developing Process
3. After the ioLogik has been restarted, the rule-set must be activated. After logging into ioAdmin
as an administrator, go to the Click&Go Logic tab and click Run in the Rule-set Management
bar. The rules in the rule-set will now be active.
When the rule-set has been activated, it will remain active even when the ioLogik is disconnected
from the host computer or from the network. If the ioLogik is turned off, Active Ethernet I/O
operation will resume when it is turned back on. This allows you to use the ioLogik E2000 for
PC-independent automation.
y Clear: This erases the rule-set in both ioAdmin and the ioLogik E2000 series.
y Retrieve: This copies the rule-set from the ioLogik E2000 series into ioAdmin.
y Download: This copies the rule-set from ioAdmin onto the ioLogik E2000 series.
y Run: This activates the rule-set that the ioLogik booted up with.
y Stop: This de-activates the Click&Go rule-set and returns the ioLogik to normal, passive
operation.
3-45
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. If no password has been set up, simply click Login
and leave the Password for entry field blank.
3-46
Click&Go User’s Manual Click&Go V2 Developing Process
3-47
Click&Go User’s Manual Click&Go V2 Developing Process
You must use “ik2212.txt” as the destination filename when copying a configuration file to the
ioLogik E2212 unit. Otherwise, you will receive an error message as shown below:
You can use TFTP in a batch file to transfer configuration files for different units. For example, you
might have two configuration files that need to be copied to two different servers: ik2212_1.txt for
192.168.127.253, and ik2212_2.txt for 192.168.127.254. A batch file could be written as follows:
tftp 192.168.127.253 put ik2212_1.txt ik2212.txt
tftp 192.168.127.254 put ik2212_2.txt ik2212.txt
ATTENTION
The name of the configuration files should always be specified as “ikxxxx” where xxxx is the
ioLogik models. For example, to export the configuration file of an ioLogik E2242, the file must
be “ik2242.txt” or ”ik2242_1.txt”.
3-48
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.
The following topics are covered in this chapter:
Click&Go Rule 101
¾ IF-THEN-ELSE
¾ Where there is an ON Logic, there should be an OFF Logic
¾ Rules are Running in a Loop
Using the Timer Function
¾ Heartbeat or Repeat Actions
¾ ON-Delay
¾ OFF-Delay
Using Internal Registers
¾ Soft-key
¾ Remote Control
Programming Examples
¾ Local I/O Control
¾ Active I/O Messages
¾ Peer-to-Peer I/O
Applications_1
Applications_2
Applications_3
Applications_4
Applications_5
Applications_6
Applications_7
Click&Go User’s Manual Examples and Applications
4-2
Click&Go User’s Manual Examples and Applications
The RESTART operator of the Timer function only restarts from the beginning. It does not stop
timing.
4-3
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.
The above example of sending periodically heartbeat Active Message can also be done as this way:
Care must be taken while using the above pattern so that sending Active Messages, e-mails, or
SNMP traps every x seconds is only generated when the IF condition sustains. Repeated actions or
heartbeat messages do not sustain when the IF condition no longer exists.
For example, the ON status of a digital input is responsible for generating a non-stop message.
Click&Go will stop sending messages when the DI=OFF.
ON-Delay
The ON-delay application sets a time period for the IF conditions to meet before the THEN action
is executed. For example, to prevent a false alarm from shocks or stirring, a liquid sensor must
reach the high limit for more than 15 seconds before triggering the alarm.
4-4
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.
Remote Control
If an output channel is coordinated by an IF condition, it is limited to the Click&Go logic and can
not be controlled by a remote PC. Users must use Internal Registers to set local and remote control
for a designated output channel. For example, an emergency alarm siren is triggered remotely by a
SCADA system when detecting high pressure or leaks. If the network is down, a local shutdown
button can also be switched ON to sound the alarm.
Inter Register can be controlled by Modbus/TCP protocol, refer to the appendix for the addressed
NOTE list for all the Internal Registers.
4-5
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.
10. Select Yes when asked to restart and wait until the ioLogik has restarted and is back on-line.
11. Click Run on the Rule-set Management Bar. The RDY LED will be flashing green, showing
that the ioLogik is now operating as an Active Ethernet I/O server, using the rule-set that was
just defined.
4-6
Click&Go User’s Manual Examples and Applications
1. In ioAdmin, make sure that you have logged in on the Server Settings tab. Go to the I/O
Configuration tab and set the AI-0 channel to 4-20 mA mode.
2. Go to the Click&Go Logic tab. On the Global Variable tool bar, click on the Active Message
Server button. Configure the Destination Address, Message Protocol, and Message Port. Click
OK.
4-7
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 the property button. The Message parameters window will appear.
10. Click Keyword Lookup. In the Variable List that pops up, click <Server_time> or whichever
system information is required.
4-8
Click&Go User’s Manual Examples and Applications
Peer-to-Peer I/O
The peer-to-peer I/O function operates as a mirror that converts and transmits I/O signals over long
distances using Ethernet technology. One site of the ioLogik acts as an input and forwards the
signal to an output site to avoid noise, extend the communication range, and redirect the signal to
multiple destinations.
ATTENTION
Each ioLogik E2000 module is equipped with both input and output channels. Digital inputs can be
forwarded only to digital outputs, and analog inputs can only be forwarded to analog outputs. Care
must be taken while choosing the ioLogik models and the number of I/O channels.
4-9
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.
4-10
Click&Go User’s Manual Examples and Applications
4-11
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.
Therefore, alarm messages must notify staff immediately
if any drastic change in temperature occurs.
Application Requirements
The existing network uses Ethernet SNMP (Simple Network Management Protocol) to gather
necessary information such as network traffic and line status. Most of the I/O signal monitoring,
such as temperature monitoring, runs on Modbus/TCP or other proprietary protocols that take time
for IT engineers to learn. As a result, a temperature monitoring system for the freezers must be
established in a short amount of time and use SNMP protocol.
Moxa Solution
The ioLogik E2260 Active Ethernet I/O server is designed for mixed I/O applications. The 6 RTD
analog inputs are able to connect to 13 types of Pt (platinum) and Ni (nickel) sensors, in addition
to 4 types of resistance measurement. The 4 embedded digital outputs are suitable for triggering a
hard alarm locally. Most of all, the I/O status can be polled by the SNMP management software
from the control center. The ioLogik also sends out SNMP traps to report the current status when
the temperature becomes too high.
Solution Benefits
The ioLogik E2260 provided the freezer temperature monitoring system with the following
benefits:
9 I/O status control and monitoring via SNMP saves development effort.
9 Automatic SNMP trap reports.
9 A controller with both RTD inputs and digital output channels
9 16-bit high resolution measurement with more than 13 types of sensor connection
9 Click&Go’s easy IF-THEN-ELSE style control logic, which eliminates the need for a PLC or
RTU
9 Compact size and cost-effectiveness
4-12
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
RTD Sensor
(RTD_1)
Freezer
Central Monitor
RTD Sensor
(RTD_2)
Freezer
4-13
Click&Go User’s Manual Examples and Applications
Programming Manners
1. Send a SNMP trap to report the temperature of the Freezer#1 when it reaches 8°C.
2. Send a SNMP trap to report the temperature of the Freezer#2 when it reaches 8°C.
3. Send a SNMP trap to report the temperature of the Freezer#3 when it reaches 8°C.
Click&Go Rule-set
4-14
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. Extra expenses are not only incurred from repairing
or replacing the bearings, but paying the engineers for
overtime as well.
Application Requirements
In order to keep the motors running smoothly and continuously, the tank farm requested a remote
monitoring and control system to monitor the temperature of the motors. When the temperature
rises too high, the front-end controller must shut down the motor and restart it after the
temperature cools back down to an appropriate level. In addition, the front-end controller must
send out a notification e-mail to the central site and field engineer’s blackberry when the motors
shut down and recover.
Moxa Solution
The ioLogik E2262 Active Ethernet I/O server is designed for mixed I/O applications. The 8 TC
(thermocouple) inputs can connect 9 types of TC sensors (mV mode included) and the 4 built-in
digital inputs can connect to multiple outputs such as alarms, buzzers, and lights. With the
Click&Go local control logic, users can easily program the ioLogik E2262 to control the pumps,
generate alarms, send status updates to the control center, or deliver e-mail notifications.
Click&Go logic also allows the ioLogik to seamlessly integrate and manage temperature
monitoring, output control, and alarms.
Solution Benefits
The ioLogik E2262 provided the pumping system with the following benefits:
9 A controller with both TC temperature sensor inputs and digital output channels
9 100 meters of TC sensor cable length with 2 built-in CJC
9 Click&Go’s easy IF-THEN-ELSE style control logic, which eliminates the need for a PLC
or RTU
9 Alarm messaging can be generated via TCP, UDP, or SNMP trap, or e-mail
9 Compact size and cost-effectiveness
4-15
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
4-16
Click&Go User’s Manual Examples and Applications
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. 2nd pump motor shuts down when temperature rises to High (110°C), send out an alarm e-mail.
4. 2nd pump motor restarts when temperature falls to Low (70°C), notify with an e-mail.
Click&Go Rule-set
4-17
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. This renders the materials unusable and
lowers the factory’s production. The temperature increases in
the refrigerator are primarily due to the fact that the doors are
not usually closed all the way when employees come in and
out. As a result, an alarm system was requested by the
semiconductor factory to monitor the refrigerator door.
Application Requirements
The system requested basically needs to monitor the opening and closing of the walk-in
refrigerator door. It takes a factory worker an average of 1 minute to enter the refrigerator, locate
the appropriate materials, and exit the refrigerator with the materials in hand. An alarm must be
generated when the door remains open for over 1 minute. Due to the tight timeframe available for
deploying the alarm system, engineers needed to find a quick solution that did not require
extensive programming or complicated communication protocols. In addition to local control
capabilities for the door sensor and alarm, the semiconductor factory also required a solution that
would allow complete connectivity with a central PC or ERP/MES system.
Moxa Solution
The ioLogik E2210 Active Ethernet I/O server is designed for combination I/O applications. The
12 digital inputs can connect to different door sensors and switches and the 8 built-in digital
outputs provide flexible connections to multiple alarm devices. Unlike programming a front-end
PC or stand-alone PLC, the ioLogik’s Click&Go control logic uses an easy to use IF-THEN-ELSE
style of programming that doesn’t require any compilers or debugging tools. The ioAdmin utility
also allows users to configure the alarm system within 5 minutes with the click of a button.
Moreover, the ioLogik E2210 provides both Ethernet connectivity and several ways to update
status including e-mail warnings, TCP/UDP active messaging, SCADA/OPC connectivity, and
SNMP trap I/O reports.
Solution Benefits
The ioLogik E2210 provided the semiconductor factory with the following benefits:
9 A controller equipped with both digital inputs and digital output channels
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 via TCP/UDP/SNMP trap or e-mail
9 Compact size and cost-effectiveness
4-18
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
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 Rule-set
4-20
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. If the system is set up
as an open-loop system, engineers must periodically
check the level of the sump pit. They must manually turn
the pump on when the sump pit is nearly full, and then
turn the pump off when the sump pit is nearly empty.
Application Requirements
A better method of sump pump control is to use a closed-loop central monitoring system such as a
SCADA system. In this case, a sensor is connected to a controller to turn the pump on and off
automatically. The sensor and control mechanism should be able to detect the liquid level and start
or stop the pumping action when the float switch senses that the liquid level is too high or too low.
Multiple pump control and alarm generation must also be included as part of the control system.
Alarm indicators should be triggered when the pump starts or when the water reaches a high level.
Moreover, the sump pump must be controlled either automatically or manually from a remote
location.
Moxa Solution
The ioLogik E2242 is an Active Ethernet I/O server designed for mixed I/O applications. The 4
analog inputs are able to connect to liquid level sensors based on either voltage or electric current,
and the 12 built-in configurable DIOs provide the best flexibility for connecting to multiple input
switches or triggering pumps and alarms. With the user-friendly Click&Go local control logic,
users can easily program the ioLogik E2242 to act as a front-end pump controller and alarm
generator to control automatically the action of the pumps, generate alarms, and send the most
up-to-date status to the central SCADA system, or by e-mail to the field engineers.
Solution Benefits
Moxa’s ioLogik E2242 provided the sump pump control system with the following benefits:
9 Click&Go’s easy IF-THEN-ELSE style control logic, which eliminates the need for a PLC
or RTU
9 Active reports via TCP/UDP/SNMP trap, and e-mail
9 Relay count reports
9 Compact size and cost-effectiveness
4-21
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
4-22
Click&Go User’s Manual Examples and Applications
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. High-high Alarm is triggered as well.
3. High-high Alarm is OFF when the liquid level goes back to High Level, both pumps keep
working
4. Primary Pump and its indicator is deactivated when the liquid level reaches Low (7 mA input)
5. Backup Pump and its indicator is deactivated when the liquid level reaches Low (7 mA input)
6. E-mail warning when reaching the High-high level
7. Remote control the primary/backup pump manually (Internal Register 0/1)
Click&Go Rule-set
4-23
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. For this reason, installing a stand-alone,
remote control system for intrusion detection and issuing alarms is an
absolute necessity for avoiding accidents.
Application Requirements
Besides motion sensors, alarm lights, and a second-tier (external) relay board, a remote controller
is the most important component inside the device cabinet. Programming power on the controller
should be available to perform the local control. At the same time, the relay components on a
second-tier relay board should be replaced in advance to avoid failures when they wear out. On
average, the relays can be used 25,000 times, but should be replaced after being used 10,000 times
to avoid unexpected failures. The local controller not only controls the on/off functions of the
alarm lights when the sensors are activated, but is also required to send a warning when the usage
of a specific channel of the second-tier relay board reaches 10,000 times.
Moxa Solution
The ioLogik E2214 is designed with 6 DI and 6 relay channels. With the user-friendly Click&Go
local control logic, users can easily program the ioLogik E2214 as the front-end relay controller to
detect intrusions. Click&Go also supports a special function called ''relay counter storage'' to
provide readings of the current relay usage. This allows the ioLogik E2214 to send out TCP
packets to the central SCADA system and a warning e-mail at the same time so that site
maintainers can replace the relay components of the second-tier relay board. After the replacement,
site maintainers simply press the RESET button attached to the ioLogik E2214 to clear the counts.
In other words, there is no need to use laptop computers or remote commands.
Solution Benefits
The Moxa ioLogik E2214 provided the runway security system with the following benefits:
9 Click&Go’s easy IF-THEN-ELSE style control logic, which eliminates the need for a PLC
or RTU
9 Active reports via TCP/UDP/SNMP trap and e-mail
9 Relay count reports
9 Compact size and cost-effectiveness
4-24
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
4-25
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
Internal Register-0 in this case is used to control the relay output to a light. The control is done
NOTE outside the ioLogik or locally depending on the DI status when running Click&Go logic. Refer to
the appendix for the Modbus/TCP Address table of the internal registers.
4-26
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. The hotel wanted a system to remotely start the
charge station after customers check in and stop the
charge station after they check out. More importantly, the
hotel wanted to integrate the charge station meter
readings with an electronic billing system.
Application Requirements
The original system in place required patrons to manually check the electricity readings at the
charge station and return to the hotel for check out. This system worked fine when the weather was
good and patrons did not have to travel a far distance between their yacht and the hotel. However,
when the conditions were bad, there were complaints. In addition, protecting against electricity
thieves was also quite difficult. Therefore, the hotel wanted to integrate remote control and data
acquisition into the billing system to address these issues.
Moxa Solution
The ioLogik E2212 Active Ethernet I/O server is designed for mixed I/O applications. The 8
digital inputs and 4 configurable DIOs offer great connectivity to the power switches and
electricity meters. With the world’s easiest to program local control logic, Click&Go, users can
easily program the ioLogik E2212 as a front-end controller in a short time, control and record the
electricity supply, and send readings as ASCII text messages that can be easily integrated into the
billing system.
Solution Benefits
The ioLogik E2212 provided the yacht wharf billing system with the following benefits:
9 A controller equipped with both digital inputs and digital output channels
9 Easy IF-THEN-ELSE style Click&Go control logic, which eliminates programming and
debugging effort, and replaces the PLC or RTU
9 Backup storage for meter readings when the ioLogik’s power does down
9 Alarm messaging via TCP/UDP/SNMP trap or e-mail
9 Compact size and cost-effectiveness
4-27
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
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 Rule-set
Internal Register-0 in this case is used to control the power switch attached to the digital output
NOTE channel. The control is done outside the ioLogik when running Click&Go logic. Refer to the
appendix for the Modbus/TCP Address table of the internal registers.
4-29
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. In particular,
public restrooms are deploying emergency alarm systems
to assist women, handicapped patrons, and parents with
children.
Application Requirements
Several types of emergency push buttons are required for this application. In the women’s
restroom, there needs to be an individual emergency push button in each toilet stall and another
one on the wall near the entrance. Handicap stalls include two types of buttons. One type of button
calls for medical assistance and is located near the flush handle under a plastic covering. In case
the patron falls down while moving between the toilet and his wheelchair, suffers a heart attack, or
is unable to get back up for any other reason, there is another emergency button located near the
floor to provide better assistance. In most cases, it is attached to the other call button by 2 meters
of expansion cable. The emergency button located near the door is designed primarily for people
walking by to report a fire alarm or accident.
After an emergency button is triggered, alarm lights will start flashing and the speaker will start
broadcasting for 30 to 60 seconds. This event will be reported to the control center as well. After
receiving the alarm, the control center can remotely turn off the alarm light outside the restroom.
Finally, security personnel or paramedics will arrive.
Moxa Solution
The ioLogik E2210 Active Ethernet I/O server is designed for mixed I/O applications. The 12
digital inputs can connect to various kinds of sensors and switches and the 8 built-in digital outputs
provide the best flexibility in connecting to multiple alarm devices. With the world’s easiest local
control logic, Click&Go, users can easily program the ioLogik E2210 as a front-end alarm
controller to automatically generate the response actions, such as the alarm lights and speaker,
when the emergency buttons are activated.
4-30
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 generated via TCP, UDP, or SNMP trap, or e-mail
9 Compact size and cost-effectiveness
Additional Features
The ioLogik E2210 is also equipped with the following features:
9 CGI Command to integrate video surveillance to record or take snapshots during an
emergency
9 Moxa’s Active OPC server to connect Logik devices to the most popular SCADA systems.
System Diagram
4-31
Click&Go User’s Manual Examples and Applications
4-32
Click&Go User’s Manual Examples and Applications
This Remote Action ID is configured to trigger both the remote (central) Alarm Light and
NOTE Speaker.
4-33
Click&Go User’s Manual Examples and Applications
NOTE Receiving this Remote Action will disable the local (site) Alarm Light
4-34
Click&Go User’s Manual Examples and Applications
4-35
Click&Go User’s Manual Examples and Applications
NOTE This Remote Action disables the remote (site) Alarm Light.
4-36
A
Appendix A. Internal Registers – Modbus/TCP
Address Mappings
A-2