Moxa

ioLogik E2262 - Industrial Automation Moxa - Free user manual and instructions

Find the device manual for free ioLogik E2262 Moxa in PDF.

📄 106 pages English EN Download 💬 AI Question
Notice Moxa ioLogik E2262 - page 6
Pick your language and provide your email: we'll send you a specifically translated version.

User questions about ioLogik E2262 Moxa

0 question about this device. Answer the ones you know or ask your own.

Ask a new question about this device

The email remains private: it is only used to notify you if someone responds to your question.

No questions yet. Be the first to ask one.

Download the instructions for your Industrial Automation in PDF format for free! Find your manual ioLogik E2262 - Moxa and take your electronic device back in hand. On this page are published all the documents necessary for the use of your device. ioLogik E2262 by Moxa.

USER MANUAL ioLogik E2262 Moxa

Click&Go V2 User's Manual

Second Edition, December 2008

www.moxa.com/product

MOXA®

© 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 © 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.

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.

Technical Support Contact Information www.moxa.com/support

Moxa Americas:

Toll-free: 1-888-669-2872

Tel: +1-714-528-6777

Fax: +1-714-528-6778

Moxa China (Shanghai office):

Toll-free: 800-820-5036

Tel: +86-21-5258-9955

Fax: +86-10-6872-3958

Moxa Europe:

Tel: +49-89-3 70 03 99-0

Fax: +49-89-3 70 03 99-99

Moxa Asia-Pacific:

Product and Software Support 1-3

Difference in Programming Method and Space.... 1-4

Difference in IF Conditions 1-5

Difference in THEN/ELSE Actions 1-6

Click&Go Version Check.... 1-7

Chapter 2. Getting Started ......2-1

Hardware Connection 2-2

System Requirements 2-2

Connecting to the Network.... 2-3

Optional Liquid Crystal Display Module (LCM) 2-3

Adding More I/O Channels 2-3

Connecting the I/O Device 2-4

Software Preparation 2-4

ioAdmin 3.x Installation....2-4

Firmware Update 2-7

Reset to Factory Default.... 2-8

Chapter 3. Click&Go V2 Developing Process ....3-1

Click&Go V2 Development Process 3-2

I/O Configuration 3-2

Configurable DIO Channel Mode Selection.... 3-2

Digital Input Mode Selection.... 3-3

Digital Output Mode Selection 3-4

Analog Input Mode Selection 3-5

Analog Output Mode Selection 3-6

Temperature Input Mode Selection 3-6

Alias Name Configuration.... 3-8

Testing the I/O Channels 3-9

Define Global Variables.... 3-9

Internal Register Settings.... 3-10

Timer Settings.... 3-10

SNMP Trap Server 3-11

E-Mail Server 3-11

Active Message Server 3-12

Work with Logic 3-13

Click&Go Logic Basics....3-13

IF Conditions 3-16

More Info on Repeat Interval vs. Edge Detection 3-26

THEN/ELSE Actions.... 3-29

Peer-to-Peer Function 3-42

Activating the Rule-set 3-45

Download, Restart and Run.... 3-45

Rule-set Management Bar 3-45

Import/Export Configuration 3-46

Using ioAdmin to Import/Export Configuration 3-46

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....4-2

Where there is an ON Logic, there should be an OFF Logic.... 4-2

Rules are Running in a Loop 4-2

Using the Timer Function.... 4-3

Heartbeat or Repeat Actions.... 4-3

ON-Delay 4-4

OFF-Delay 4-5

Using Internal Registers 4-5

Soft-key 4-5

Remote Control....4-5

Programming Examples 4-6

Local I/O Control....4-6

Active I/O Messages....4-7

Peer-to-Peer I/O 4-9

Applications_1....4-12

Project Background 4-12

Application Requirements 4-12

Moxa Solution 4-12

Solution Benefits 4-12

Additional Features.... 4-13

System Diagram 4-13

Click&Go Programming Example.... 4-14

Applications_2....4-15

Project Background 4-15

Application Requirements 4-15

Moxa Solution 4-15

Solution Benefits 4-15

Additional Features.... 4-16

System Diagram 4-16

Click&Go Programming Example.... 4-16

Applications_3....4-18

Project Background 4-18

Application Requirements 4-18

Moxa Solution 4-18

Solution Benefits 4-18

Additional Features.... 4-19

System Diagram 4-19

Click&Go Programming Example.... 4-20

Applications_4.... 4-21

Project Background 4-21

Application Requirements 4-21

Moxa Solution 4-21

Solution Benefits 4-21

Additional Features.... 4-22

System Diagram 4-22

Click&Go Programming Example.... 4-22

Applications_5 4-24

Project Background 4-24

Application Requirements 4-24

Moxa Solution 4-24

Solution Benefits 4-24

Additional Features....4-25

System Diagram 4-25

Click&Go Programming Example....4-25

Applications_6 4-27

Project Background 4-27

Application Requirements 4-27

Moxa Solution 4-27

Solution Benefits 4-27

Additional Features....4-28

System Diagram 4-28

Click&Go Programming Example....4-29

Applications_7 4-30

Project Background 4-30

Application Requirements 4-30

Moxa Solution 4-30

Solution Benefits 4-31

Additional Features....4-31

System Diagram 4-31

Click&Go Programming Example_Site 4-32

Click&Go Programming Example_Central 4-35

Appendix A. Internal Registers – Modbus/TCP Address Mappings......A-1

ioLogik E2210, E2212 and E2214....A-1

4xxxx Read/Write Registers (Functions 3, 6, 16)...... A-1

ioLogik E2240, E2242, E2260 and E22262 A-2

4xxxx Read/Write Registers (Functions 3, 6, 16)...... A-2

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

Overview

CLICK&GO™ LOGIC

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.

Logic #0 Configuration Enable Enable Logic IF DI * Relation between conditions : AND THEN DO ELSE DO

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.

Product and Software Support

Although the current ioLogik E2000 series comes pre-installed with the original Click&Go V1 local control logic, the new Click&Go V2 offers more powerful functions to meet the needs of different applications. This User's Manual describes all the functions of Click&Go V2, which comes with the following products.

Product CategoryModelCommunication InterfaceInput/OutputFirmware VersionioAdmin Version
Active Ethernet I/OioLogik E2210Ethernet 12 DI, 8DO3.0 ↑V3.0 ↑
ioLogik E22128 DI, 8DO, 4 DIO3.0 ↑V3.0 ↑
ioLogik E22146 DI, 6 Relay3.0 ↑V3.0 ↑
ioLogikE22408 AI, 2 A03.0 ↑V3.1 ↑
ioLogikE22424 AI, 12 DIO3.0 ↑V3.1 ↑
ioLogikE22606 RTD, 4 DO3.0 ↑V3.1 ↑
ioLogikE22628 TC, 4 DO3.0 ↑V3.1 ↑

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]
24 VDC Power input, RS-485 cascading interface (2-wire) Power, Ready, Serial LEDs Rotary switch for RS-485 speed settings Reset RJ45 Ethernet MOXA LCD display module Power and RS-485 bus I/O status LED Release key for cascaded I/O module Release button for cascaded I/O module Removable terminal block for I/O points (3.81 mm, max. 14 AWG)

Difference in Programming Method and Space

Programming Method Programming Space
Click&Go V1.x IF-THEN 16 Rules
Click&Go V2.x IF-THEN-ELSE 24 Rules

Difference in IF Conditions

Click&Go V1.0 * ^1 Click&Go V1.1 Click&Go V2.x
Input Channel StatusMoxa ioLogik E2262 - Product and Software Support - 2Moxa ioLogik E2262 - Product and Software Support - 3Moxa ioLogik E2262 - Product and Software Support - 4
Digital Input CounterMoxa ioLogik E2262 - Product and Software Support - 5Moxa ioLogik E2262 - Product and Software Support - 6Moxa ioLogik E2262 - Product and Software Support - 7
Timer TriggerMoxa ioLogik E2262 - Product and Software Support - 8Moxa ioLogik E2262 - Product and Software Support - 9Moxa ioLogik E2262 - Product and Software Support - 10
^*2 Relay CounterMoxa ioLogik E2262 - Product and Software Support - 11Moxa ioLogik E2262 - Product and Software Support - 12Moxa ioLogik E2262 - Product and Software Support - 13
^*1 Delay TimerMoxa ioLogik E2262 - Product and Software Support - 14Moxa ioLogik E2262 - Product and Software Support - 15
TimerMoxa ioLogik E2262 - Product and Software Support - 16
Internal RegisterMoxa ioLogik E2262 - Product and Software Support - 17Moxa ioLogik E2262 - Product and Software Support - 18
Remote ActionMoxa ioLogik E2262 - Product and Software Support - 19
ScheduleMoxa ioLogik E2262 - Product and Software Support - 20
Host Connection FailMoxa ioLogik E2262 - Product and Software Support - 21

Difference in THEN/ELSE Actions

Click&GoV1.0 Click&Go V1.1Click&Go V1.x
Input Channel ControlMoxa ioLogik E2262 - Product and Software Support - 22Moxa ioLogik E2262 - Product and Software Support - 23Moxa ioLogik E2262 - Product and Software Support - 24
Digital Input Counter ResetMoxa ioLogik E2262 - Product and Software Support - 25Moxa ioLogik E2262 - Product and Software Support - 26Moxa ioLogik E2262 - Product and Software Support - 27
*2Relay Counter ResetMoxa ioLogik E2262 - Product and Software Support - 28Moxa ioLogik E2262 - Product and Software Support - 29
SNMP TrapMoxa ioLogik E2262 - Product and Software Support - 30Moxa ioLogik E2262 - Product and Software Support - 31Moxa ioLogik E2262 - Product and Software Support - 32
Active MessageMoxa ioLogik E2262 - Product and Software Support - 33Moxa ioLogik E2262 - Product and Software Support - 34Moxa ioLogik E2262 - Product and Software Support - 35
e-MailMoxa ioLogik E2262 - Product and Software Support - 36Moxa ioLogik E2262 - Product and Software Support - 37Moxa ioLogik E2262 - Product and Software Support - 38
*1Delay TimerMoxa ioLogik E2262 - Product and Software Support - 39
TimerMoxa ioLogik E2262 - Product and Software Support - 40
*1Internal RegisterMoxa ioLogik E2262 - Product and Software Support - 41Moxa ioLogik E2262 - Product and Software Support - 42
Remote ActionMoxa ioLogik E2262 - Product and Software Support - 43
CGI CommandMoxa ioLogik E2262 - Product and Software Support - 44

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.

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.

E2214 - Active Ethernet I/O Server (6DI + 6RELAY) online I/O Configuration Server Info. Server Settings Message Monitor Network Firmware Update Click & Go Logic Address Value/Status Access 34097 0x1393 Read Vendor ID 34098 0x0001 Read Unit ID for MODBUS/RTU 34100 Moxa Technologies Inc., Read Vendor Name 34120 E2214 Active Ethernet I/O Server Read Product Name 34142 V1.1 Read Firmware Version 34144 Build08080812 (08/08/2008) Read Firmware Release Date 34199 V2.0 Read Click&Go Version 34261 V3.2.15 Read MS Version 34146 2 Read Number of TCP connection

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

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.

Moxa ioLogik E2262 - System Requirements - 1

flowchart
graph TD
    A["MOXA"] -->|AC Power| B["ioLogik E2000"]
    C["Windows PC"] -->|Ethernet Cable| B
    B --> D["Sensors and Alarms"]
    style A fill:#f9f,stroke:#333
    style B fill:#ccf,stroke:#333
    style C fill:#cfc,stroke:#333
    style D fill:#fcc,stroke:#333

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 AddressDefault NetmaskDefault Gateway
192.168.127.254255.255.255.0None
  1. 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.

Optional Liquid Crystal Display Module (LCM)

The ioLogik E2000 series supports an optional hot-pluggable Liquid Crystal Module (LCM) for field management and configuration. The LCM can display network and I/O settings such as digital input mode and value. The ioLogik E2000 series' IP address and netmask can also be configured using the LCM, and one LCM can be used to maintain and configure multiple ioLogik products.

Optional Accessories

• LDP1602 ioLogik LCM (Liquid Crystal Display Module)

Moxa ioLogik E2262 - Optional Accessories - 1

natural_image White electronic device with a green screen and control buttons (no visible text or symbols)

Adding More I/O Channels

A cost-effective way to add more I/O channels to your Ethernet-based ioLogik E2000 series is to attach an appropriate RS-485 ioLogik R2000 series I/O. However, it is important to remember that Click&Go local control logic does NOT apply to the expanded channels from an external ioLogik.

MOXA ioLogik MOXA ioLogik MOXA ioLogik

Moxa ioLogik E2262 - Adding More I/O Channels - 2

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. The sensor type determines your wiring approach so please refer to the specific I/O model's user manual for detailed wiring instructions.

Moxa ioLogik E2262 - Connecting the I/O Device - 1

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.

MOXA iodoAdmin Host [192.168.19.201] i o log E2210 192.168.19.123 192.168.19.127 192.168.19.25 192.168.19.27 192.168.19.30 E2212 E2214 192.168.127.850 192.168.19.00 E2240 E2360 E2214 - Active Ethernet Server (6DI + 6RELAY) on-line UO Configurion Server Info Server Settings Message Monitor MOXA ioLogic Channel Mode Status Fitter Trigger Channel Mode Status Low High [00]:00 DI OFF 50.0 ms -- [00]:00 DO ON -- -- [04]:01 DI OFF 50.0 ms -- [00]:01 DO ON -- -- [04]:02 DI OFF 50.0 ms -- [00]:02 DO ON -- -- [04]:03 DI OFF 50.0 ms -- [00]:03 DO ON -- -- [04]:04 DI OFF 50.0 ms -- [00]:04 DO ON -- -- [04]:05 DI OFF 50.0 ms -- [00]:05 DO ON -- -- 6 E2214 DO space slot 2sec Ready 115280.Nemo 8.1 0:00:07:47 下午 04:24:30

ioAdmin Main Screen
1. Title2. Menu Bar
3. Quick Link4. Navigation Panel
5. Main Window6. 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. 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.

Auto Searching for ioLogik I/O Server(s) ... Select auto search type ✓ Ethernet I/O server ✓ RS-232/485 I/O server (This will take several minutes) Start Search Port Settings Exit ✓ All support models ✓ E2210 ✓ E2212 ✓ E2214 ✓ E2240 ✓ E2242 ✓ E2260 ✓ E2262 ✓ NA4010 Found adapter(s) 14 I/O server(s) were found ! I/O Server IP Address / Port MAC Address / Unit ID Description 1 E2260 192.168.19.39 00-90-E8-0D-0E-66 Active Ethernet I/O Server (6RTD 2 E2262 192.168.19.33 00-90-E8-0D-0E-14 Active Ethernet I/O Server (8TC + ✓ Stop Search for ethernet module(s)...

NOTE

If there are multiple network interfaces in the host computers, be sure to select the correct one before searching.

Select Host Network Interface Network Interface : Intel(R) PRO/1000 PL Network Connection - Packet Sche Bluetooth PAN Network Adapter - Packet Scheduler Miniport Intel(R) PRO/1000 PL Network Connection - Packet Schedul OK Cancel

Moxa ioLogik E2262 - NOTE - 2

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.

ioAdmin 3.0 Build 08081318 Copyright (c) 2005 Moxa Inc. All rights reserved. http://www.moxa.com OK

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.

E2214 - Active Ethernet I/O Server (6DI + 6RELAY) online I/O Configuration Server Info Server Settings Message Monitor Network Firmware Update Click & Go Logic Watchdog Active Tag Firmware File Path : D:\FwR_E2214V3.0_Build0808081201_STD.2kp Warning: 1. The firmware download may take around 2 minutes. 2. Disconnecting the power or network cable during this time will lead to firmware corruption. Update E2214 I/O sync rate: 2/sec 115200.None_8.1 0:02:04:58 下午 10:37:25

Firmware upgrade with a jump version for specific ioLogik models may be required.

ModelStart VersionJump VersionFinal 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, ioLogik E2260, E2262V1.xN/AV3.x

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.

Moxa ioLogik E2262 - Firmware Update - 2

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.

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.

RESET V+ V- FG D+ D- SG PWR RDY Serial M O X A ioLogik E2242 Active Ethernet I/O 4A/Adaptor Input: 12 Configurable DIG Di COM AI D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D01 D iO Logik

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 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:

Moxa ioLogik E2262 - Click&Go V2 Development Process - 1

flowchart
graph TD
    A["I/O Configuration"] --> B["Define Global Variables"]
    B --> C["Work with Logics"]
    C --> D["Activate Rule-set"]
    D --> E["Import / Export Configuration"]

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.

Configurable DIO Channel Mode Selection

For the models that support the configurable DIO channels, configure the specific DIO to DI or DO to meet the requirements.

Model AvailableNumber of Configurable DIO ChannelsMode Selection: Digital InputMode Selection: Digital Output
ioLogik E2212 4Moxa ioLogik E2262 - Configurable DIO Channel Mode Selection - 1Moxa ioLogik E2262 - Configurable DIO Channel Mode Selection - 2
ioLogik E2242 12Moxa ioLogik E2262 - Configurable DIO Channel Mode Selection - 3Moxa ioLogik E2262 - Configurable DIO Channel Mode Selection - 4

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.

2. Power On Settings I/O Direction : DO DO status DI DO OFF Output Pulse : Start

Moxa ioLogik E2262 - Configurable DIO Channel Mode Selection - 6

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. When “Lo to Hi” is selected, the counter value increases when the attached switch is pushed. When “Hi to Lo” is selected, the counter value increases when the switch is pushed and released.

Mode AvailableNumber of Digital Input ChannelsMode Selection: DIMode Selection: Event Counter
ioLogik E2210 12Moxa ioLogik E2262 - Digital Input Mode Selection - 1Moxa ioLogik E2262 - Digital Input Mode Selection - 2
ioLogik E2212 8 + 4 DIOMoxa ioLogik E2262 - Digital Input Mode Selection - 3Moxa ioLogik E2262 - Digital Input Mode Selection - 4
ioLogik E2214 6Moxa ioLogik E2262 - Digital Input Mode Selection - 5Moxa ioLogik E2262 - Digital Input Mode Selection - 6
ioLogik E2242 12 DIOMoxa ioLogik E2262 - Digital Input Mode Selection - 7Moxa ioLogik E2262 - Digital Input Mode Selection - 8

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.

DI Channel #0 DI Config | DI Test | Alias Name | 1. Mode Settings Mode : Event Counter Filter : Event Counter Counter mode parameter Active : Hi to Lo Lo to Hi Both Save status on power failure

Moxa ioLogik E2262 - Digital Input Mode Selection - 10

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.

Digital Output Mode Selection

A DO channel can be set to "DO" or "Pulse Output" mode.

Mode AvailableNumber of Digital Output ChannelsMode Selection: DOMode Selection: Pulse Output
ioLogik E2210 8Moxa ioLogik E2262 - Digital Output Mode Selection - 1Moxa ioLogik E2262 - Digital Output Mode Selection - 2
ioLogik E2212 8 + 4 DIOMoxa ioLogik E2262 - Digital Output Mode Selection - 3Moxa ioLogik E2262 - Digital Output Mode Selection - 4
ioLogik E2214 6 RelayMoxa ioLogik E2262 - Digital Output Mode Selection - 5Moxa ioLogik E2262 - Digital Output Mode Selection - 6
ioLogik E2242 12 DIOMoxa ioLogik E2262 - Digital Output Mode Selection - 7Moxa ioLogik E2262 - Digital Output Mode Selection - 8
ioLogik E2260 4 DOMoxa ioLogik E2262 - Digital Output Mode Selection - 9Moxa ioLogik E2262 - Digital Output Mode Selection - 10
ioLogik E2262 4 DOMoxa ioLogik E2262 - Digital Output Mode Selection - 11Moxa ioLogik E2262 - Digital Output Mode Selection - 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 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.

DO Channel #0 DO Config DO Test Relay Count Alias Name 1. Mode Settings Mode: DO DO Pulse Output Pulse mode parameter Low: 1 (1.5 s) High: 1 (1.5 s) Output: 0 pulses

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.

Mode AvailableNumber of Analog Input ChannelsMode Selection: VoltageMode Selection: Current
ioLogik E2240 8±150 mV, ±500 mV, ±5 V, ±10 V0 to 20 mA, 4 to 20 mA
ioLogik E2242 4±150 mV, 0 to 150 mV, ±500 mV, 0 to 500 mV, ±5 V, 0 to 5 V, ±10 V, 0 to 10 V0 to 20 mA, 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 AI channel will be configured to measure either voltage or current according to the Range Settings.

AI Channel #1 AI Config Alias Name Enable Range Settings Input Range: +/-10V +/-5V +/-10V 0-20mA 4-20mA 0-150mV 0-500mV 0-5V 0-10V Enable Auto Scaling Actual Min: 0 Max: 0 Unit: V Max: 0 Unit: V Apply to all channels: Reset Min Reset Max

Analog Output Mode Selection

The only model that currently provides analog output channels is ioLogik E2240, which provides both voltage and current output.

Mode AvailableNumber of Analog Output ChannelsMode Selection: VoltageMode 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. 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.

AO Channel #0 AO Config A0 Test 1. Range Settings Output Range: 0-10V 0-10V 2. Power On Settings Output Value: 0 (0 ~ 4095) 3. Safe Status Settings Output Value: 0 (0 ~ 4095) □ Apply to all channels ✓ Apply

Temperature Input Mode Selection

Thermocouple (TC) and resistance temperature detector (RTD) sensors are mostly used to perform temperature measurements. For Moxa ioLogik Active Ethernet I/O servers, selecting the temperature input modes is equal to selecting the sensor types.

Mode AvailableNumber of Temperature Input ChannelsSensor Type Selection:
ioLogik E2260 6 RTDPt100, Pt200, Pt500, Pt1000, JPt100, JPt200, JPt500, JPt1000, Ni 100, Ni 200, Ni 500, Ni 1000, Ni 120, Resistance (1-310 mΩ), Resistance (1-620 mΩ), Resistance (1-1250 mΩ), Resistance (1-2200 mΩ)
ioLogik E2262 8 TCJ, K, T, E, R, S, B, N Type and 78.126/39.062/19.532mV

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).

TC Channel #0 TC Config | Calibration | Alias Name | Enable TC Channel Settings Sensor Type Settings Sensor : N Type -200.0 ~ 1300.0 °C Temperature Unit ° °C E Type R Type S Type B Type N Type Voltage:78.126mV Voltage:39.062mV Voltage:19.532mV Virtual Channel Settings Average TC-00 TC-01 TC-02 TC-03 TC-04 TC-05 TC-06 TC-07 Difference Channel TC-0 -Channel TC-1 Temperature Unit °C °F Apply to all channels Apply

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. For example, the fist DI Channel is displayed as "DI-0" in the Click&Go. If alias name is modified to "Door_0", users can directly recognize the usage of the DI-0 as "Door_0" when programming.

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. Alias name of each input/output channel can be configured by selecting the Alias Name tab.

DI Channel #0 DI Config DI Test Alias Name Alias Name Channel Name: Sensor_00 Logic 0: OFF Logic 1: ON ✓ Apply

Moxa ioLogik E2262 - Alias Name Configuration - 2

ATTENTION

It is strongly recommended to configure the alias name for the used I/O channel before performing any further configuration or programming.

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.

DO Channel #1 DO Config DO Test Relay Count Alias Name DO Mode Status: OFF ON Test Pulse Output Mode Low: 1 High: 1 Pulse Count: 0 ✓ Start ✓ Stop

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.

Define Global Variables

Global Variables include the settings of "Internal Register Settings", "Timer Settings", "SNMP Trap Server", "E-Mail Server" and "Active Message Server". If these functions are going to be used in Click&Go V2 rule-set, default configuration must first be set in the Global Variable Menu Bar.

E2214 - Active Ethernet I/O Server (6DI + 6RELAY) online I/O Configuration Server Info. Server Settings Message Monitor Network Firmware Update Click & Go Logic Watchdog Active Tag Active Message Server E-Mail Server SNMP Trap Server Timer Settings Internal Register Settings

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".

Register Number Initial Value
Internal Register Reg-0 to Reg-23 *0 to 255

Internal Register Settings Initial Value Description #0 0 Reg-0 #1 0 Reg-1

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.

Timer Number Initial State Configuration
Timer Timer-0 to Timer-23 START, *STOP

Timer Settings Initial State Interval (sec) Description #0 STOP 5 Timer-0 #1 STOP 5 Timer-1 #2 START 5 Timer-2 STOP ✓ OK Cancel

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.

SNMP Manage Manager List Manager Address #1 192.168.127.1 #2 192.168.127.2 #3 ✓ OK Cancel

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.

Mail Settings Mail Address Settings Name: SiteMaintain Mail Address: PowerUser@moxa.com Recipient Database Name e-Mail Address ControlRoom admin@moxa.com Mail Server Settings SMTP Server Address (IP): ms.moxa.com Login Name: administrator Login Password: *** Retry 0 Interval 0 sec. Save Cancel

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.

Watching Click & Go Logic Message Monitor I/O Configuration Server Info. Server Settings Network Firmware Update Number of Modbus/TCP connection(s): 2 IP Settings IP Configuration: Static IP Address: 192.163.19.205 Subnet Mask: 255.255.255.0 Gateway: 0.0.0.0 MAC: 00-30-E8-00-0E-33 Accessible IP Update Serial Settings Unit ID: 1 Baud Rate: 115200 Data Bits: 9 Stop Bits: 1 Parity: None Timeout (ms): 2500 Update Modbus/TCP Alive Check Timeout Enable Modbus/TCP Idle connection timeout interval 60 sec DNS Settings DNS #1: 192.163.1.98 DNS #2: 132.163.1.98 SNMP Settings Enable SNMP Read Community: public Write Community: private Contact: Location: Update DOS Access Settings Enable Update Refresh

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. Message protocol (TCP or UDP) and the message socket port is also required to be configured here.

The active message defined in the Click&Go logic will be sent to all addresses listed in the Message Recipient List.

Active Message Settings Message Recipient List # Destination Address #1 192.168.127.1 #2 192.168.127.2 #3 #4 #5 #6 #7 #8 # Messaging Protocol ○ UDP ○ TCP Message Port (TCP/UDP): 9000 Retry 0 Interval 0 sec. ✓ OK Cancel

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.

To use Click&Go Logic, open ioAdmin and log in as an ioLogik administrator on the Server Settings tab. Once you are logged in, go to the Click&Go Logic tab. The following screen should appear:

E2214 - Active Ethernet I/O Server (6DI + 6RELAY) online I/O Configuration Server Info Server Settings Message Monitor Network Firmware Update Click & Go Logic Watchdog Active Tag Logic Name : #0 Enabled : (DI-1 ON) : (DO-0 = ON) AND Send E-Mail : (DO-0 = ON) #1 Enabled : (Internal Register-0 =1) : (DO-0 = ON) : (DO-0 = OFF) # #3 #4 #5 #6 Clear Retrieve Download Run Stop

Click&Go Logic Tab
1. Global Variables: In this field, you can configure the global variables of rules.
2. Logic Name: In this field, you can assign a name for the set of rules.
3. Rule-set: In this area, each rule's conditions, actions, and status are displayed.
4. Rule-set Management Bar: In this area, you manage the rule-set.

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. 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.

A1A2A3Result of AND LogicA1A2A3Result of OR Logic
00000000
00100011
01000101
01100111
10001001
10101011
11001101
11111111

All 24 rules are defined individually and executed one by one in a loop. The 2^nd rule can only be processed after running the 1^st rule, and the entire rule-set will be start running over again from the beginning after the last rule is processed.

Moxa ioLogik E2262 - IF "A" THEN "B", ELSE "C" - 1

flowchart
graph TD
    A["Rule #0"] --> B["IF A"]
    A --> C["IF B"]
    A --> D["IF C"]
    B --> E["AND / OR"]
    C --> E
    D --> E
    E --> F["THEN D"]
    E --> G["THEN E"]
    E --> H["THEN F"]
    F --> I["ELSE G"]
    G --> J["ELSE H"]
    H --> K["ELSE I"]
    L["Rule #2"] --> M["IF J"]
    L --> N["IF K"]
    L --> O["IF L"]
    M --> P["AND / OR"]
    N --> P
    O --> P
    P --> Q["THEN M"]
    P --> R["THEN N"]
    P --> S["THEN O"]
    Q --> T["ELSE P"]
    R --> U["ELSE Q"]
    S --> V["ELSE R"]
    W["Rule #23"] --> X["AND / OR"]
    X --> Y["THEN M"]
    X --> Z["THEN N"]
    X --> AA["THEN O"]
    Y --> AB["ELSE P"]
    Z --> AC["ELSE Q"]
    AA --> AD["ELSE R"]

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.

Logic #0 Configuration Enable Enable Logic IF DI * Relation between conditions: AND THEN DO c-Mail ELSE DO Enable Peer to Peer I/O Input channels: Reflon to Remote IP Output channel: DO-0 mirror from remote IP 0.0.0 channel: DI-0 Equivalent Logic Statement : (DI-1 ON) (DO-0 = ON) AND (Send E-Mail every 0 sec.) (DO-0 = OFF) OK Cancel

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.

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).

Logic #0 Configuration Enable Enable Logic IF DI Counter Relay Internal Register Remote Action Timer Schedule Host Connection Fal *Relation between conditions : AND THEN ELSE

IF conditions can be specified as follows:

IF Conditions Operators Remark
DION, OFF, ON to OFF,OFF to ON, ChangeDI-x represents the number of the channel.
Counter =, >, <, >=, <=, ChangeCounter-x represents the number of the channel.Max Counter Value: 4,294,967,295
AI =, >, <, >=, <=AI-x represents the number of the channel.Max Value: Depends on the analog Modes or the result of scaling
RTD =, >, <, >=, <=RTD-x represents the number of the channel.Max Value: Depends on the mode selection of RTD sensor
TC =, >, <, >=, <=TC-x represents the number of the channel.Max Value: Depends on the mode selection of TC sensor
Relay =, >, <, >=, <=CurRelayCNT-x represents the current relay counts of the channel.Max Value: 4,294,967,295
Internal Register =Reg-x represents the number of the internal register.x = 00 to 23 / Trigger Value: 0 to 255
Remote ActionReceived Action ID: 01 to 24Source IP Range:0.0.0.1 to 223.255.255.254
TimerTIMEOUTTimer-x, x = 00 to 23Max value: 4,294,967,295 seconds
Schedule Time, Range and Recurrence
Host Connection FailModbus/TCP Idle Timeout.Max value: 3,600 seconds

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.

Logic #0 Configuration Enable Enable Logic IF DI * Relation between conditions : AND

DI Setting IF Select Channel: DI-0 Select Trigger Condition: OFF OFF ON OFF to ON ON to OFF OnChange OK Cancel

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.

Logic #0 Configuration Enable Enable Logic IF Counter * Relation between conditions : AND

Counter Setting IF Select Channel : Counter-1 Select Trigger Condition : = Value : 10 OK Cancel

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.

Logic #0 Configuration Enable Enable Logic IF AI " Relation between conditions : AND

AI Settings IF Select Channel : AI-0 +/-10V Select Trigger Condition : = Select Unit Type : RAW/(dec) Value : 32768 OK Cancel

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.

Logic #0 Configuration Enable Enable Logic IF RTD * Relation between conditions : AND

AI Settings IF Select Channel : AI-0 +/-10V Select Trigger Condition : = Select Unit Type : RAW(dec) Value : 32768 OK Cancel

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.

Logic #0 Configuration Enable Enable Logic IF TC * Relation between conditions : AND

TC Settings IF Select Channel : TC-0 Deg. C Select Trigger Condition : = Value : 0.0 OK Cancel

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.

Logic #0 Configuration Enable Enable Logic IF Relay ...

Relay Setting IF Select Channel : CurRelayCNT-0 Select Trigger Condition : > Value : 20000 OK Cancel

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 ( [icon: ] ) to enter the Set Internal Register window.

Logic #1 Configuration Enable Enable Logic IF Internal Register

Internal Register Setting IF Select Channel: Reg-0 Trigger Condition: 0 Used in : 80 Set Internal Register OK Cancel

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.

NOTE

Internal Registers can be controlled by Modbus/TCP protocol. Refer to the appendix for the address list for all the Internal Registers.

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.

Logic #0 Configuration Enable Enable Logic IF Remote Action Remote Action Setting IF Received Action ID: 01 From Source Device : 192.168.127.253 OK Cancel

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

Moxa ioLogik E2262 - Timer - 1

to enter the Timer Settings window.

Logic #0 Configuration Enable Enable Logic IF Timer Timer Setting IF Select Timer: Timer-0 Select Condition: TIMEOUT Used in : Time : 0 (Sec) #0 Set Timer OK Cancel

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.

Logic #0 Configuration Enable Enable Logic IF Schedule

Schedule Time From: 21:00:00 To: 23:00:00 Range Start: 2008/08/13 Stop 2008/08/13 No Limit Recurrence Sunday Monday Tuesday Wednesday Thursday Friday Saturday OK Cancel

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

Moxa ioLogik E2262 - Host Connection Fail - 1

to enter the setting window.

Logic #0 Configuration Enable Enable Logic IF Host Connection Fail ...

Host Connection Fail IF Modbus/TCP Idle Timeout : 300 sec (NOTE: Same value as set in "Network" page) OK Cancel

More Info on Repeat Interval vs. Edge Detection

Combining the Timer function with other IF conditions allows actions to be repeated when the specified logic is sustained. However, if a condition is based on edge detection (i.e., ON to OFF or OFF to ON), it can only be triggered once.

The following scenarios illustrate how edge detection affects the Timer = N sec. In each diagram, the statuses of three sensors are shown over a period of time, with a high signal corresponding to a “true” condition. The green shaded area shows the duration of time that the IF conditions have been met.

No Edge DetectionIn 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 = ONDI-1 = ONDI-2 = ONMoxa ioLogik E2262 - More Info on Repeat Interval vs. Edge Detection - 1Moxa ioLogik E2262 - More Info on Repeat Interval vs. Edge Detection - 2
Relation between conditionsANDOR
“IF” conditions satisfiedMoxa ioLogik E2262 - More Info on Repeat Interval vs. Edge Detection - 3Moxa ioLogik E2262 - More Info on Repeat Interval vs. Edge Detection - 4
Repeat interval“Timer = N sec”“Timer = N sec”
“THEN” action triggeredMoxa ioLogik E2262 - More Info on Repeat Interval vs. Edge Detection - 5Moxa ioLogik E2262 - More Info on Repeat Interval vs. Edge Detection - 6
Edge Detection for All ConditionsIn this scenario, the rule checks each sensor for a change from “off” to “on” status, meaning only edge detection conditions are used. As soon as a sensor changes from “off” to “on”, the condition is satisfied, but only for that instant. Right after that instant, the condition is no longer satisfied because it is no longer changing from “off” to “on”. The repeat interval will have no effect, since edge conditions cannot be sustained over a period of time.
DI-0 = OFF to ONDI-1 = OFF to ONDI-2 = OFF to ONMoxa ioLogik E2262 - More Info on Repeat Interval vs. Edge Detection - 7Moxa ioLogik E2262 - More Info on Repeat Interval vs. Edge Detection - 8
Relation between conditionsANDOR
“IF” conditions satisfiedMoxa ioLogik E2262 - More Info on Repeat Interval vs. Edge Detection - 9Moxa ioLogik E2262 - More Info on Repeat Interval vs. Edge Detection - 10
Repeat intervalN/AN/A
“THEN” action triggeredMoxa ioLogik E2262 - More Info on Repeat Interval vs. Edge Detection - 11Moxa ioLogik E2262 - More Info on Repeat Interval vs. Edge Detection - 12

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.

DI-0 = OFF to ONDI-1 = OFF to ONDI-2 = ONMoxa ioLogik E2262 - Edge Detection for Two Conditions - 1Moxa ioLogik E2262 - Edge Detection for Two Conditions - 2
Relation between conditionsANDOR
“IF” conditions satisfiedMoxa ioLogik E2262 - Edge Detection for Two Conditions - 3Moxa ioLogik E2262 - Edge Detection for Two Conditions - 4
Repeat intervalN/AN/A
“THEN” action triggeredMoxa ioLogik E2262 - Edge Detection for Two Conditions - 5Moxa ioLogik E2262 - Edge Detection for Two Conditions - 6

Edge Detection for One Condition

In this scenario, the rule checks DI-0 for a change in status and DI-1 and DI-2 for status only. The repeat interval will not have an effect if the AND relationship is used, because the edge condition for DI-0 can never be sustained over a length of time. With the OR relationship, the IF conditions will be satisfied as long as DI-1 or DI-2 is “on”, and the THEN actions will be triggered over interval N.

DI-0 = OFF to ONDI-1 = ONDI-2 = ONMoxa ioLogik E2262 - Edge Detection for One Condition - 1Moxa ioLogik E2262 - Edge Detection for One Condition - 2
Relation between conditionsANDOR
“IF” conditions satisfiedMoxa ioLogik E2262 - Edge Detection for One Condition - 3Moxa ioLogik E2262 - Edge Detection for One Condition - 4
Repeat intervalN/A“Timer
“THEN” action triggeredMoxa ioLogik E2262 - Edge Detection for One Condition - 5Moxa ioLogik E2262 - Edge Detection for One Condition - 6

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.

Logic #0 Configuration Enable Enable Logic IF * Relation between conditions : AND THEN DO DO Relay Internal Register Remote Action Timer SNMP Trap Active Message e-Mail ELSE

IF ConditionsResult of AND LogicTrigger of THEN ActionsTrigger of ELSE Actions
A1A2A3
0000NoYES
0010NOYES
0100NOYES
0110NOYES
1000NOYES
1010NOYES
1100NOYES
1111YESNO
IF ConditionsResult of OR LogicTrigger of THEN ActionsTrigger of ELSE Actions
A1A2A3
0000NOYES
0011YESNO
0101YESNO
0111YESNO
1001YESNO
1011YESNO
1101YESNO
1111YESNO

THEN/ELSE actions can be specified as follows:

THEN/ELSE Actions Operators Remark
CounterRESETCounter-x represents the number of the Event Counter channel
DOON,DO-x represents the number of the OFF channel.
Pulse Output STOP, STARTPulse Output-x represents the number of the channel
AOAO-x represents the number of the channel.Max Value: Depends on the analog Modes or the result of scaling
RelayRESETResetCNT-x represents the number of the relay channel.
Internal RegisterReg-x represents the number of the internal register.x = 00 to 23 / Trigger Value: 0 to 255
Remote ActionAction ID: 01 to 24Number of Remote IP Addresses: 5 sets
Timer STOP, START, RESTARTTimer-x, x = 00 to 23Max value: 4,294,967,295 seconds
SNMP TrapI/O Status Bindings: 3 sets
Active Message ID / Source IP Unicode supported
e-MailCreate the contents of the e-Mail
CGI CommandID / Source IPSpecify the target URL and CGI commands

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

Moxa ioLogik E2262 - Counter - 1

to enter the Counter Settings window.

Logic #0 Configuration Enable Enable Logic IF DI * Relation between conditions: AND THEN Counter ELSE Counter Setting THEN Select Channel: Counter-1 Select Action: Reset OK Cancel

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.

Logic #0 Configuration Enable Enable Logic IF DI * Relation between conditions: AND THEN DO ELSE DO Setting THEN Select Channel: DO-0 Select Trigger Condition: OFF OFF ON OK Cancel

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.

Logic #0 Configuration Enable Enable Logic IF DI < Empty> < Empty> * Relation between conditions: AND THEN Pulse Output < Empty> < Empty> ELSE < Empty> < Empty> Tulse Output Setting THEN Select Channel: Pulse Output 1 Select Action: Stop Stop Stop OK Cancel

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.

Logic #0 Configuration Enable Enable Logic IF Al * Relation between conditions : AND THEN A0 ELSE AO Settings THEN Select Channel : A0-0 0-10V Select Unit Type : RAW/(dec) Value : 0 OK Cancel

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.

Logic #0 Configuration Enable Enable Logic IF * Relation between conditions: AND THEN Relay ELSE Relay Setting THEN Select Channel: ResetCNT-0 Select Action: Reset OK Cancel

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.

Logic #0 Configuration Enable Enable Logic IF * Relation between conditions: AND THEN Internal Register ELSE Internal Register Setting THEN Select Channel: Freq-0 Trigger Condition: 0 Used in : OK Cancel Set Internal Register

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.

NOTE

Inter Register can be controlled by Modbus/TCP protocol, refer to the appendix for the address list for all the Internal Registers.

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.

Logic #0 Configuration Enable Enable Logic IF DI * Relation between conditions: AND THEN Remote Action ELSE Remote Action Setting THEN Action ID: 01 Send To: remote IP... Remote Command Set Recipients 1. Dest IP: 192.168.127.253 2. Dest IP: 0.0.0.0 3. Dest IP: 0.0.0.0 4. Dest IP: 0.0.0.0 5. Dest IP: 0.0.0.0 ✓ Save ✓ Cancel

After specify the command ID, click on the Remote IP button to fill in the target ioLogik IP addresses.

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.

Logic #0 Configuration Enable Enable Logic IF DI * Relation between conditions : AND THEN Timer ELSE Time: Setting THEN Select Timer : Timer-0 Select Action : STOP STOP START RESET Used in : Time : 5 (Sec) 80 OK Cancel

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.

NOTE

While the "STOP" operator stops the timer and returns to "0", the "RESTART" operator clears and restarts the timer.

Moxa ioLogik E2262 - NOTE - 1

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.

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

Moxa ioLogik E2262 - SNMP Trap - 1

to specify up to 10 recipients for the SNMP trap.

Logic #0 Configuration Enable Enable Logic IF DI ... * Relation: between conditions : AND THEN SNMP Trap ELSE SNMP Trap Setting Binding Variables Bind I/O channel status : [DI] 02 Bind I/O channel status : [DI] 00 Bind I/O channel status : [DI] 00 Select Specific ID : 1 * Sent every 0 sec. (0 = sent once) Set SNMP OK Cancel

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.

Moxa ioLogik E2262 - Active Message - 1

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.

Logic #0 Configuration Enable Enable Logic IF DI * Relation between conditions: AND THEN Active Message ELSE Message Content Settings Message Content Alarm Message from , Time: , Date: I/O Status Report / Keyword Lookup Send as HEX (separated by *) 94 (max chare=200) * Send every 0 sec. (0 = sent once) OK Cancel Set Active Message

Active Messages can be received by a program using standard sockets, Moxa MXIO library, or ioAdmin's Message Monitor as in the following example:

I/O Configuration Server Info. Server Settings Network Firmware Update Watchdog Click & Go Logic Message Monitor UDP | TCP | 19:38:182008/03/12Alarm triggered!! Relay Counts =41 2008/03/1219:38:18Alarm Ack!! Current relay Count =42 19:38:182008/03/12Alarm triggered!! Relay Counts =42 2008/03/1219:38:19Alarm Ack!! Current relay Count =43 19:38:192008/03/12Alarm triggered!! Relay Counts =43 2008/03/1219:38:19Alarm Ack!! Current relay Count =44 19:38:202008/03/12Alarm triggered!! Relay Counts =44 2008/03/1219:38:20Alarm Ack!! Current relay Count =45 19:38:202008/03/12Alarm triggered!! Relay Counts =45 Copy Clear Toggle HEX

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:

I/O Configuration Server Info. Server Settings Network Firmware Update Watchdog Click & Go Logic Message Monitor UDP | TCP | 31393A33393A3337323030382F30332F3132416C61726D2074726967676572656421212052656C617920436F756E7473203D3438 323030382F30332F313231393A33393A3337416C61726D2041636B21212043757272656E742072656C617920436F756E74203D3439 31393A33393A3338323030382F30332F3132416C61726D2074726967676572656421212052656C617920436F756E7473203D3439 323030382F30332F313231393A33393A3338416C61726D2041636B21212043757272656E742072656C617920436F756E74203D3530 31393A33393A3338323030382F30332F3132416C61726D2074726967676572656421212052656C617920436F756E747320 0D 35:0 323030382F 30332F 31 Copy Clear Toggle HEX

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.

Logic #0 Configuration Enable Enable Logic IF DI * Relation between conditions: AND THEN Mail Setting Mail Content Settings Mail Subject: Alarm Is Triggered!! Mail Content: Alarm is triggered at , Time , Date

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. If you would like to send an Active Message and 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

Moxa ioLogik E2262 - CGI Command - 1

to enter the CGI Command Settings window.

Logic #0 Configuration Enable Enable Logic IF DI * Relation between conditions : AND THEN CGI Command ELSE CGI Command Settings http:// 192.168.19.201 ControlPara/SNAP Port: 8d 16 (max chains=100) CGI Command: http://192.168.19.201:80/ControlPara/SNAP Trigger Setting " Send every 0 sec. (0 = send once) Retry 0 Interval 0 sec. (global) [global] OK Cancel 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. 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.

Moxa ioLogik E2262 - Peer-to-Peer Function - 1

flowchart
graph LR
    A["Input Signal"] --> B["Input Module"]
    B --> C["1-to-5 multiple Peer-to-peer connection over Ethernet within 100ms, no need for local controller"]
    C --> D["Output Module"]
    D --> E["Output Signal"]
    D --> F["Output Signal"]
    D --> G["Output Signal"]
    D --> H["Output Signal"]

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.

Enable Peer to Peer I/O Input channels mirror to Remote IP ... Output channel D0-0 mirror from remote IP 0.0.0 channel DI-0 Peer to peer I/O Recipients Dest. IP : 1. Mirror To Dest. IP : 192.168.127.253 2. Mirror To Dest. IP : 0.0.0.0 3. Mirror To Dest. IP : 0.0.0.0 4. Mirror To Dest. IP : 0.0.0.0 5. Mirror To Dest. IP : 0.0.0.0 ✓ Save ✗ Cancel

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.

NOTEOnly 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.

Configuring Output Module

The peer-to-peer I/O output module is configured using one Click&Go rule for each DO channel that is mirroring a remote input channel. In the Click&Go tab, start a new rule, select Enable peer-to-peer I/O, and then select Output channel. Specify the output channel that will mirror the remote input channel, the IP address of the input module, and the input channel on the input module whose signals will be mirrored. The input module must have specified the output module's IP address as a destination IP.

Enable peer to peer I/O Input channels mirror to remote IP Output channel D0-0 mirror from remote IP 192.168.127.254 channel DI-0 DO-0 DO-1 DO-2 DO-3 DO-4 DO-5 DO-6 DO-7

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.

NOTEOnly 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, 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.

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. After the rule-set has been downloaded, ioAdmin will prompt to restart the ioLogik automatically after clicking "yes" to confirm. Do not use the reset button, as that will load all factory defaults and erase your rule-set from memory.

Confirm You need to restart the device to make the new setting(s) to take effect do you want to restart now? Yes No

  1. 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.

Rule-set Management Bar

In the Click&Go tab, 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.

Clear Retrieve Download Run Stop

- Clear: This erases the rule-set in both ioAdmin and the ioLogik E2000 series.

- Retrieve: This copies the rule-set from the ioLogik E2000 series into ioAdmin.

- Download: This copies the rule-set from ioAdmin onto the ioLogik E2000 series.

- Run: This activates the rule-set that the ioLogik booted up with.

- Stop: This de-activates the Click&Go rule-set and returns the ioLogik to normal, passive operation.

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.

Using ioAdmin to Import/Export Configuration

Export System Configuration

In the Navigation Panel, right click on the selected ioLogik and select the command "Export System Config" to export the configuration to a text file. You will need to be logged in as an administrator to use this command. It is strongly recommended you use this method to back up your configuration after you have finished configuring the ioLogik for your application.

MOXA ioAdmin File System Sort Help Host : [192.168.19.201] ioLogik E2214 IP 192.168.19.205 E2214 - Active Ethernet I/O Server online Connect Disconnect Delete I/O Server Add Serial I/O Server Restart System Reset to Default Import System Config Export System Config Duration Server Info Server Settings of Modbus/TCP connection(s) : 2 ings Configuration: Static address: 192.168.19.205 Internet Mask: 255.255.255.0 eway: 0.0.0.0 C: 00-90-E8-14-DE-51 Accessible IP Update

The following is a sample configuration file:

iologik E2214 Network I/O Server Configuration
Date: 1970/01/-9525
Time: -2:-31:-2
Firmware: U1.0 Build08022212
[1. Model]
MOD_TYPE=E2214 - Active Ethernet I/O Server (6DI + 6DO)
MOD_LOC-
MOD_NAME=
[2. I/O Configurations]
DI00=0,(DI), DI00_FILTER=100,(150000.00ms)
DI01=0,(DI), DI01_FILTER=100,(150000.00ms)
DI02=0,(DI), DI02_FILTER=100,(150000.00ms)
DI03=0,(DI), DI03_FILTER=100,(150000.00ms)
DI04=0,(DI), DI04_FILTER=100,(150000.00ms)
DI05=0,(DI), DI05_FILTER=100,(150000.00ms)
DO00-0,(DO), DO00_PWM-1,(On), DO00_PVSEQ-0,(Sec),
DO01=0,(DO), DO01_PWM-1,(On), DO01_PVSEQ-0,(Sec),
DO02=0,(DO), DO02_PWM-1,(On), DO02_PVSEQ-0,(Sec),
DO03=0,(DO), DO03_PWM-1,(On), DO03_PVSEQ-0,(Sec),
DO04=0,(DO), DO04_PWM-1,(On), DO04_PVSEQ-0,(Sec),
DO05=0,(DO), DO05_PWM-1,(On), DO05_PVSEQ-0,(Sec),
[3. Modbus address table]
CHANNEL I/O TYPE NODBUS REFERENCE MODBUS ADDRESS (Dec, Hex)
DI00 Input 10001 8888, 8x8888
DI01 Input 18882 8881, 8x8881
DI02 Input 18883 8882, 8x8882
DI03 Input 18884 8883, 8x8883
DI04 Input 18885 8884, 8x8884
DI05 Input 18886 8885, 8x8885 

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. This command can be used to restore a configuration after loading the factory defaults, or to duplicate a configuration to multiple ioLogik units.

MOXA ioAdmin File System Sort Help Host : [192.168.19.201] ioLogik E2214 192.168.19.205 E2214 - Active Ethernet I/O Server online Connect Disconnect Delete I/O Server Add Serial I/O Server Restart System Reset to Default Import System Config Export System Config Configuration Server Info. Server Settings of Modbus/TCP connection(s) : 2 ings Configuration : Static Address : 192.168.19.205 Internet Mask : 255.255.255.0 teway : 0.0.0.0 C : 00-90-E8-14-DE-51 Accessible IP Update

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.

The following is an example using Windows TFTP and an ioLogik E2212 with an IP address of 192.168.127.254:

  1. Enter "TFTP 192.168.127.254 GET ik2212.txt to get the ioLogik's configuration file.
  2. Enter "TFTP 192.168.127.254 PUT ik2212.txt to load a configuration file onto the ioLogik

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:

C:\WINDOWS\system32\tftp 192.168.19.205 get abc.txt Error on server : ioServer - Fail to export config settings !! #World Wide Web

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

Moxa ioLogik E2262 - Using TFTP to Import/Export Configuration - 2

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”.

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 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. For example, when turning on an alarm light attached to a DO channel according to an event, there must be another event or input status to turn it off. Sometimes the OFF logic can be performed by using the ELSE actions.

IF DI_0=ON THEN DO_0=ON, ELSE DO_0=OFF

Rules are Running in a Loop

The complete list of 24 rules run in a loop. After the last rule, Click&Go will start over and begin running from the first rule. Be sure check your rules to avoid any conflict.

Moxa ioLogik E2262 - Rules are Running in a Loop - 1

flowchart
graph TD
    A["Rule #0"] --> B["IF A"]
    A --> C["IF B"]
    A --> D["IF C"]
    B --> E["AND / OR"]
    C --> E
    D --> E
    E --> F["THEN D"]
    E --> G["THEN E"]
    E --> H["THEN F"]
    F --> I["ELSE G"]
    G --> J["ELSE H"]
    H --> K["ELSE I"]
    L["Rule #2"] --> M["IF J"]
    L --> N["IF K"]
    L --> O["IF L"]
    M --> P["AND / OR"]
    N --> P
    O --> P
    P --> Q["THEN M"]
    P --> R["THEN N"]
    P --> S["THEN O"]
    Q --> T["ELSE P"]
    R --> U["ELSE Q"]
    S --> V["ELSE R"]
    W["Rule #23"] --> X["AND / OR"]
    X --> Y["THEN M"]
    X --> Z["THEN N"]
    X --> AA["THEN O"]
    Y --> AB["ELSE P"]
    Z --> AC["ELSE Q"]
    AA --> AD["ELSE R"]

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.”

Timer Settings Initial State Interval (sec) Description #0 START 5 Timer-0 #1 STOP 5 Timer-1 #2 START 5 Timer-2 STOP ✓ OK Cancel

Timer Setting THEN Select Timer : Timer-0 Select Action : RESTART Used in : Time : 5 (Sec) OK Cancel

A heartbeat TCP message can be generated using the following example.

#0Enabled: (Timer-0 TIMEOUT) : (Send Active Message) AND (Timer-0 RE START)

The RESTART operator of the Timer function only restarts from the beginning. It does not stop timing.

Moxa ioLogik E2262 - Heartbeat or Repeat Actions - 3

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:

#0Enabled: (TIMER-0 TIMEOUT): (Send Active Message)

Message Content Settings Message Content Heartbeat!!! Keyword Lookup Send as HEX (seperated by ';') 12 (max chars=200) * Send every 5 sec. (0 = send once) ✓ Ok × Cancel

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.

#0Enabled: (Timer-0 START) :
#1Enabled: (DO-1 = ON)

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.

#0Enabled: (DI-1 ON)
#1Enabled: (DI-1 OFF)
#2Enabled: (TIMER-0 TIMEOUT)

Using Internal Registers

Soft-key

The Internal Registers can be used to ensure that the output is under control. For example, an output can only be triggered when the local push button is attached to a digital input and the internal register is set.

#0Enabled

In this example, the logic between the two IF conditions is "AND."

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.

#0Enabled

In this example, the logic between the two IF conditions is "OR".

NOTEInter Register can be controlled by Modbus/TCP protocol, refer to the appendix for the addressed list for all the Internal Registers.

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

#0Enabled: (DI-0 ON)
  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.

Logic #0 Configuration Enable Enable Logic IF

  1. Select Enable Logic.
  2. Select DI-0 as your condition in the first IF field, and set its value to ON.
  3. Select DO-0 as your action in the first THEN field, and set its value to ON.
  4. Select DO-0 as your action in the first ELSE field, and set it value to OFF.
  5. Click OK.
  6. Click Download on the Rule-set Management Bar.

Clear Retrieve Download Run Stop

  1. Select Yes when asked to restart and wait until the ioLogik has restarted and is back on-line.

  2. 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.

Clear Retrieve Download Run Stop

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. Another TCP message will then be sent as well. We want the ioLogik to send a TCP message that indicates the exact time the switch is turned on.

Product Model: ioLogik E2242

Rule 0: IF AI-0 <= 8 mA, THEN DO-6 = ON

THEN Active Message

Rule 1: IF AI-0 >= 18 mA, THEN DO-6 = OFF

THEN Active Message

#0Enabled: (AI-0 <= 8.000 mA, check every 0 sec): (DO-6 = ON) AND (Send Active Message)
#1Enabled: (AI-0 >= 18.000 mA, check every 0 sec): (DO-6 = OFF) AND (Send Active Message)
  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.

Active Message Server Message Recipient List Destination Address #1 192.168.127.1 #2 #3 #4 #5 #6 #7 #8 # Messaging Protocol ○ UDP ○ TCP Message Fort (TCP/UDP): 9000 Roty 0 Interval 0 sec. OK Cancel

  1. Double click #0 in the Rule-set. The Logic Configuration window will appear.

  2. Make sure that Enable in the upper left hand corner is checked.

  3. Select Enable Logic.

  4. Select AI-0 as your condition in the first IF field, and set the operator to “<=”, value to “8” and the unit to “mA”.

  5. Select DO-6 as your action in the first THEN field, and set its value to ON.

  6. Select Active Message as your action in the second THEN field.

  7. Click the property button. The Message parameters window will appear.

  8. Click Keyword Lookup. In the Variable List that pops up, click or whichever system information is required.

Message Content PressPure Low, Pump ON! Keyword Lookup Send as HEX (separated by '.') 45 (max chars=200) * Sent every 0 sec. (0 = sent once) ✓ Ok ✗ Cancel

  1. Click OK to close the Logic Configuration window.

  2. Double click #1 in the Rule-set. The Logic Configuration window will appear.

  3. Select AI-0 as your condition in the first IF field, and set its operator to “>=”, value to “18” and the unit to “mA”.

  4. Select DO-0 as your action in the first THEN field, and set its value to OFF.

  5. Select Active Message as your action in the second THEN field.

  6. Click the property button. The Message parameters window will appear.

  7. Click Keyword Lookup. In the Variable List that pops up, click or whichever system information is required.

Message Content Settings Message Content Pressure High, Pump OFF! Keyword Lookup Send as HEX (separated by ';') 47 (max chars=200) "Sent every 0 sec. (0 = sent once) ✓ Ok ✗ Cancel

  1. Click OK to close the Logic Configuration window.
  2. Click Download on the Rule-set Management Bar.
  3. Select Yes when asked to restart and wait until the server has restarted and is back on-line.
  4. 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.

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.

Moxa ioLogik E2262 - Peer-to-Peer I/O - 1

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.

Input Module (ioLogik E2242 192.168.127.154)

I/O Configuration:

The DIO-0 to DIO-5 is configured as a digital input and displayed as DI-0 to DI-5 in the Click&GO settings tab.

The DIO-6 to DIO-11 is configured as a digital output and displayed as DO-6 to DO-11 in the Click&GO settings tab.

Rule 0: Send I/O status to 192.168.127.3

  1. In ioAdmin, make sure that you have searched for and selected the correct ioLogik E2242, at IP address 192.168.127.154. Also, make sure you are logged in on the Server Settings tab. Go to the Click&Go Logic tab.

  2. Double click #0 in the Rule-set. The Logic Configuration window will appear.

  3. Make sure that Enable in the upper left hand corner is checked.

  4. Select Enable peer-to-peer I/O.

  5. Select Input channels mirror to and click remote IP...

  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.

Peer to peer I/O Recipients Dest. IP : 1. DI Mirror To Dest. IP : 192.168.127.3 2. DI Mirror To Dest. IP : 0.0.0.0 3. DI Mirror To Dest. IP : 0.0.0.0 4. DI Mirror To Dest. IP : 0.0.0.0 5. DI Mirror To Dest. IP : 0.0.0.0 ✓ Save ✗ Cancel

  1. Click OK to close the Logic Configuration window.

  2. Click Download on the Rule-set Management Bar.

  3. Select Yes when asked to restart and wait until the server has restarted and is back on-line.

  4. Log in on the Server Settings tab, then go to the Click&Go Logic tab.

  5. 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.

Output Module (192.168.127.3)

Rule 0: DI-0 at 192.168.127.154 mapped to DO-0

Rule 1: DI-1 at 192.168.127.154 mapped to DO-1

  1. In ioAdmin, make sure that you have searched for and selected the correct ioLogik E2242 server, at IP address 192.168.127.3. Also, make sure you are logged in on the Server Settings tab. Go to the Click&Go Logic tab.

  2. Double click #0 in the Rule-set. The Logic Configuration window will appear.

  3. Make sure that Enable in the upper left hand corner is checked.

  4. Select Enable peer-to-peer I/O.

  5. Select Output channel, then select DO-0 for the first field, enter 192.168.127.154 for the second field, and select DI-0 for the third field.

Enable peer to peer I/O Input channels mirror to remote IP... Output channel D0-0 mirror from remote IP 192.168.127.154 channel DI-0

  1. Click OK to close the Logic Configuration window.

  2. Double click #1 in the Rule-set. The Logic Configuration window will appear.

  3. Make sure that Enable in the upper left hand corner is checked.

  4. Select Enable peer-to-peer I/O.

  5. 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.

Enable peer to peer I/O Input channels mirror to remote IP ... Output channel DO-1 mirror from remote IP 192.168.127.154 channel DI-1

  1. Click OK to close the Logic Configuration window.

  2. Click Download on the Rule-set Management Bar.

  3. Select Yes when asked to restart and wait until the server has restarted and is back on-line.

  4. 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.

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.

Moxa ioLogik E2262 - Project Background - 1

natural_image Interior view of a laboratory with white and blue equipment, no visible text or symbols

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:

√ I/O status control and monitoring via SNMP saves development effort.
√ Automatic SNMP trap reports.
√ A controller with both RTD inputs and digital output channels
√ 16-bit high resolution measurement with more than 13 types of sensor connection
Click&Go's easy IF-THEN-ELSE style control logic, which eliminates the need for a PLC or RTU
√ Compact size and cost-effectiveness

Additional Features

The ioLogik E2260 is also equipped with the following features:

√ Local alarm output via digital channels
√ Alarm notifications via e-mail
√ Periodic status updates via SNMP trap

√ Moxa's Active OPC Server to connect ioLogik devices to the most popular SCADA systems

System Diagram

Moxa ioLogik E2262 - System Diagram - 1

flowchart
graph TD
    A["ioloLogik E2260"] -->|RTD Sensor (RTD_0)| B["Central Monitor"]
    A -->|RTD Sensor (RTD_1)| B
    A -->|RTD Sensor (RTD_2)| B
    B --> C["SNMP Trap Report\nFridge#1 Temp. 4°C\n11:30:52 Mon, 08/12/2008"]

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
Channel#SensorValueRangeUnit
[Freezer#1]:00PT1000.0-200.0~850.0Deg. C
[Freezer#2]:01PT1000.0-200.0~850.0Deg. C
[Freezer#3]:02PT1000.0-200.0~850.0Deg. C

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

#0Enabled: (Send Vendor Specific SNMP Trap, ID=1)
#1Enabled: (Send Vendor Specific SNMP Trap, ID=2)
#2Enabled: (Send Vendor Specific SNMP Trap, ID=3)

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.

Moxa ioLogik E2262 - Project Background - 1

natural_image Industrial equipment setup with blue pipes and motors in a factory setting (no visible text or labels)

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:

√ A controller with both TC temperature sensor inputs and digital output channels
√ 100 meters of TC sensor cable length with 2 built-in CJC
√ Click&Go's easy IF-THEN-ELSE style control logic, which eliminates the need for a PLC or RTU
√ Alarm messaging can be generated via TCP, UDP, or SNMP trap, or e-mail
√ Compact size and cost-effectiveness

Additional Features

The ioLogik E2262 is also equipped with the following additional features:

√ Scheduling feature sets start and shutdown times for the pump motors
√ Moxa's Active OPC Server to connect ioLogik devices to the most popular SCADA systems

System Diagram

Moxa ioLogik E2262 - System Diagram - 1

flowchart
graph TD
    A["Pump"] --> B["Modbus"]
    B --> C["SNMP"]
    D["Pump Motor - Auto Shutdown when overheated, Restart when normal"] --> E["ioLogik E2262"]
    E --> F["TC - K Type Temp. Input"]
    F --> G["TC - K Type Temp. Input"]
    G --> H["Modbus/TCP"]
    style A fill:#f9f,stroke:#333
    style D fill:#bbf,stroke:#333
    style B fill:#dfd,stroke:#333
    style E fill:#dfd,stroke:#333
    style F fill:#dfd,stroke:#333
    style G fill:#dfd,stroke:#333

Click&Go Programming Example

I/O Alias Configuration

  1. Temperature Input TC_0: 1 ^st Pump Motor Temperature Sensor.
  2. Temperature Input TC_1: 2^nd Pump Motor Temperature Sensor.
  3. Digital Output DO_0: 1 ^st Pump Motor Start/Shutdown Control.
  4. Digital Output DO_1: 2 ^nd Pump Motor Start/Shutdown Control.

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.
ChannelSensorValueRangeUnit
[P.Temp_0]:00K Type---200.0~1250.0Deg. C
[P.Temp_1]:01K Type---200.0~1250.0Deg. C
ChannelModeStatusLowHigh
[Switch_0]:00DOOFF----
[Switch_1]:01DOOFF----

Programming Manners

  1. 1 ^st pump motor shuts down when temperature rises to High (110°C), send out an alarm e-mail.
  2. 1 ^st pump motor restarts when temperature falls to Low (70°C), notify with an e-mail.
  3. 2 ^nd pump motor shuts down when temperature rises to High (110°C), send out an alarm e-mail.
  4. 2 ^nd pump motor restarts when temperature falls to Low (70°C), notify with an e-mail.

Click&Go Rule-set

#0Enabled: (P.Temp_0-0>=110.0 Deg.C, check every 0 sec): (Switch_0-0=OFF) AND (Send E-Mail)
#1Enabled: (P.Temp_0-0<=70.0 Deg.C, check every 0 sec): (Switch_0-0=ON) AND (Send E-Mail)
#2Enabled: (P.Temp_1-1>=110.0 Deg.C, check every 0 sec): (Switch_1-1=OFF) AND (Send E-Mail)
#3Enabled: (P.Temp_1-1<=70.0 Deg.C, check every 0 sec): (Switch_1-1=ON) AND (Send E-Mail)

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.

Moxa ioLogik E2262 - Project Background - 1

natural_image Interior view of a long, empty industrial facility hallway with stainless steel doors and ventilation systems (no visible text or symbols)

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:

√ A controller equipped with both digital inputs and digital output channels
Click&Go's easy IF-THEN-ELSE style control logic, which eliminates the need for a PLC or RTU
√ Simultaneous control for local and remote Ethernet
√ Alarm messaging via TCP/UDP/SNMP trap or e-mail
√ Compact size and cost-effectiveness

Additional Features

The ioLogik E2210 is also equipped with the following features:

√ More local input functions such as local acknowledgement or open detection of the control box
√ Moxa's Active OPC Server to connect ioLogik devices to the most popular SCADA systems

System Diagram

Moxa ioLogik E2262 - System Diagram - 1

flowchart
graph TD
    A["Central Monitor"] -->|Active Message| B["IoLogik E2210"]
    B -->|Ethernet| C["Fridge#1 Door Open, Alarm Trigger at 11:30:52 Mon, 08/12/2008"]
    C --> D["Door Sensor (Digital Input D1_0)"]
    D --> E["Door of Freezer"]
    E --> F["Alarm Light (Digital Output D0_0)"]
    F --> G["Alarm Siren (Digital Output D0_1)"]

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
ChannelModeStatusFilterTrigger
[Door_Sensor#1]DIOFF50.0 ms--
ChannelModeStatusLowHigh
[Alarm Light#1]:00*DOOFF----
[Alarm Siren#1]:01DOOFF----
  1. Configure the default interval of Timer_0 to 60 seconds

Timer Settings Initial State Interval (sec) Description #0 STOP 60 Timer-0

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

#0Enabled: (Timer-0 START) : (Timer-0 STOP)
#1Enabled: (Alarm Light#1-0 = ON) AND (Alarm Siren#1-1 = ON) AND (Send Active Message)
#2Enabled: (Alarm Light#1-0 = OFF) AND (Alarm Siren#1-1 = OFF)

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.

Moxa ioLogik E2262 - Project Background - 1

natural_image Interior view of a dimly lit room with exposed wooden beams and a metal support structure (no text or symbols visible)

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:

Click&Go's easy IF-THEN-ELSE style control logic, which eliminates the need for a PLC or RTU
√ Active reports via TCP/UDP/SNMP trap, and e-mail
√ Relay count reports
√ Compact size and cost-effectiveness

Additional Features

The ioLogik E2242 is also equipped with the following features:

√ Scheduling function to set when to pump the wastewater

√ Moxa's Active OPC Server to connect ioLogik devices to the most popular SCADA systems

System Diagram

Moxa ioLogik E2262 - System Diagram - 1

flowchart
graph TD
    A["SCADA"] --> B["Control Cabinet"]
    B --> C["ioLock E2242"]
    C --> D["Level Sensor (Analog Input AI_0)"]
    C --> E["High-High Alarm Indicator (Digital Output DO_0)"]
    C --> F["Primary Pump Control (Digital Output DO_1)"]
    C --> G["Primary Pump Indicator (Digital Output DO_2)"]
    C --> H["Backup Pump Control (Digital Output DO_3)"]
    C --> I["Backup Pump Indicator (Digital Output DO_4)"]
    J["Primary Sump Pump"] --> K["Holding Tank"]
    L["Backup Sump Pump"] --> K
    M["Sump"] --> N["High-High Level - Backup Pump ON"]
    M --> O["High Level - Primary Pump ON"]
    M --> P["Low Level - Both Pumps Off"]

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. Digital Output DO_2: Primary Pump Indicator.
  5. Digital Output DO_3: Backup Pump Control.
  6. Digital Output DO_4: Backup Pump Indicator.
  7. Internal Register_0: Remote Primary Pump Control.
  8. Internal Register_1: Remote Backup Pump Control.

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.
Channel#RangeValueMin.Max.
[Level Sensor]:004-20mA4.000 mA4.000 mA4.000 mA
ChannelModeStatus
[High-high]:00DOOFF
[Primary Pump]:01DOOFF
[Primary Ind.]:02DOOFF
[Backup Pump]:03DOOFF
[Backup Ind.]:04DOOFF

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

#0Enabled: (Primary Pump-1 = ON) AND (Primary Ind. -2 = ON)
#1Enabled: (Backup Pump-3 = ON) AND (Backup Ind. -4 = ON) AND (High-high-0 = ON)
#2Enabled: (High-high-0 = OFF)
#3Enabled: (Primary Pump-1 = OFF) AND (Primary Ind. -2 = OFF) AND (Internal Register-0 = 0)
#4Enabled: (Backup Pump-3 = OFF) AND (Backup Ind. -4 = OFF) AND (Internal Register-1 = 0)
#5Enabled: (Send E-Mail)

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.

Moxa ioLogik E2262 - Project Background - 1

natural_image Front view of a large aircraft on the tarmac at sunset with illuminated landing lights (no visible text or symbols)

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:

Click&Go's easy IF-THEN-ELSE style control logic, which eliminates the need for a PLC or RTU
√ Active reports via TCP/UDP/SNMP trap and e-mail
√ Relay count reports
√ Compact size and cost-effectiveness

Additional Features

The ioLogik E2214 is also equipped with the following features:

√ Local alarm output using digital channels
√ Alarm notifications via e-mail
√ Periodic status updates with SNMP trap

√ Moxa's Active OPC Server to connect ioLogik devices to the most popular SCADA systems

System Diagram

Moxa ioLogik E2262 - System Diagram - 1

flowchart
graph TD
    A["Runway Edge Detection & Alarm Light Control"] --> B["Runway"]
    B --> C["Taxway"]
    C --> D["Digital Input"]
    D --> E["Motion Sensors"]
    E --> F["RESET button"]
    F --> G["Relay_0 Output"]
    G --> H["ioLogik E2214"]
    H --> I["230 VAC"]
    I --> J["Manual Switch"]
    J --> K["2nd-tier Relay Boards"]
    K --> L["Relay_1 Output"]
    L --> M["24 VDC"]
    M --> N["Ethernet"]
    N --> O["27"]
    style A fill:#f9f,stroke:#333
    style B fill:#ccf,stroke:#333
    style C fill:#cfc,stroke:#333
    style D fill:#fcc,stroke:#333
    style E fill:#cff,stroke:#333
    style F fill:#ffc,stroke:#333
    style G fill:#fcf,stroke:#333
    style H fill:#cff,stroke:#333
    style I fill:#ffc,stroke:#333
    style J fill:#cfc,stroke:#333
    style K fill:#fcc,stroke:#333
    style L fill:#ffc,stroke:#333
    style M fill:#cfc,stroke:#333
    style N fill:#fcc,stroke:#333

Click&Go Programming Example

I/O Alias Configuration

  1. Configure the alias name of DI_0 channel to MotionSensor#0.
  2. Configure the alias name of DI_1 channel to RESET#0.
  3. Configure the alias name of DO_0 channel to Light#0.
ChannelModeStatusFilterTrigger
[MotionSensor#1DIOFF50.0 ms--
[RESET]:01*DIOFF50.0 ms--
ChannelModeStatusLowHigh
[Light#1]:00DOOFF----

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

#0Enabled: (Light#1-0 = ON) : (Light#1-0 = OFF)
#1Enabled: (Send E-Mail)
#2Enabled: (Reset RelayCnt-0)

NOTE

Internal Register-0 in this case is used to control the relay output to a light. The control is done 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.

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.

Moxa ioLogik E2262 - Project Background - 1

natural_image Harbor scene with numerous sailboats docked under a clear blue sky (no visible text or signage)

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:

√ A controller equipped with both digital inputs and digital output channels
√ Easy IF-THEN-ELSE style Click&Go control logic, which eliminates programming and debugging effort, and replaces the PLC or RTU
√ Backup storage for meter readings when the ioLogik's power does down
√ Alarm messaging via TCP/UDP/SNMP trap or e-mail
√ Compact size and cost-effectiveness

Additional Features

The ioLogik E2212 is also equipped with the following features:

√ Battery status detection to prevent over-charging the battery
√ Moxa's Active OPC Server to connect ioLogik devices to the most popular SCADA systems

System Diagram

Moxa ioLogik E2262 - System Diagram - 1

flowchart
graph TD
    A["ioLogik E2212"] -->|Ethernet| B["Central Monitor"]
    B -->|Active Message Event Counter#1 Current Counts: 115 11:30:52 Mon, 08/12/2008| C["SCAB Monitor"]
    C --> D["Power Switch (Digital Output D0_0)"]
    D --> E["Electric Meter (Event Counter_0)"]

Click&Go Programming Example

I/O Alias and Mode Configuration

  1. Configure the 1^st input channel to Event Counter mode, and Power On Settings to "START". Configure the alias to Meter#1.

2. Power On Settings Counter mode parameter Counter : ✓ Start

  1. Configure the 1^st digital output's alias to PWR_Switch#1
ChannelModeStatusFilterTrigger
[Meter#1]:00*Counter050.0 msL2H
ChannelModeStatusLowHigh
[PWR_Switch#1]:00*DOOFF----

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

#0Enabled: (Internal Register-0 =1): (Power Swirch#1-0 = ON) : (Power Swirch#1-0 = OFF) AND (Send Active Message) AND (Reset Counter-0)

NOTE

Internal Register-0 in this case is used to control the power switch attached to the digital output 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.

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.

Moxa ioLogik E2262 - Project Background - 1

natural_image Interior view of a bathroom with toilet, sink, and shower (no visible text or symbols)

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.

Solution Benefits

The ioLogik E2210 provides the restroom alarm system with the following benefits:

√ A controller equipped with both digital input and digital output channels
√ More local input functions such as local acknowledgement and open detection of the control box
Click&Go's easy IF-THEN-ELSE style control logic, which eliminates the need for a PLC or RTU
√ Simultaneous control for local and remote Ethernet
√ Alarm messaging can be generated via TCP, UDP, or SNMP trap, or e-mail
√ Compact size and cost-effectiveness

Additional Features

The ioLogik E2210 is also equipped with the following features:

√ CGI Command to integrate video surveillance to record or take snapshots during an emergency
√ Moxa's Active OPC server to connect Logik devices to the most popular SCADA systems.

System Diagram

Moxa ioLogik E2262 - System Diagram - 1

flowchart
graph TD
    A["Control Box"] --> B["Site #001"]
    B --> C["Patrol"]
    C --> D["Central Office"]
    D --> E["Alarm Light (Digital Output DO_0)"]
    D --> F["Alarm Speaker (Digital Output DO_1)"]
    D --> G["Emergency Button (Digital Input DI_0)"]
    D --> H["Emergency Button (Digital Input DI_1)"]
    D --> I["Emergency Button (Digital Input DI_2)"]
    E --> J["Ethernet"]
    F --> J
    G --> J
    H --> J
    I --> J
    J --> K["IoLogik E2210_Site (192.168.19.101)"]
    K --> L["Central Office"]
    L --> M["Alarm Light"]
    L --> N["Alarm Speaker"]
    L --> O["Emergency Button"]
    L --> P["Emergency Button"]
    M --> Q["IoLogik E2210_Central (192.168.19.1)"]
    N --> Q
    O --> Q
    P --> Q
    Q --> R["Ethernet"]

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.
ChannelModeStatusFilterTrigger
[EM_High]:00*DIOFF50.0 ms--
[EM_Low]:01*DIOFF50.0 ms--
[EM_Front]:02*DIOFF50.0 ms--
ChannelModeStatusLowHigh
[Alarm Light]:00*DOOFF----
[Alarm Speaker]:01*DOOFF----
  1. In the Click&Go Manual configure the Timer to 60 seconds.

Timer Settings Initial State Interval (sec) Description #0 STOP 60 Timer-0

Programming Manners of ioLogik E2210\_Site

  1. No matter which emergency is triggered, switch on the local alarm light and speaker.
  2. No matter which emergency is triggered, send out e-mail notice to central administrator and the patrol.
  3. No matter which emergency is triggered, switch on the central Alarm Light for this specific site.
  4. No matter which emergency is triggered, switch on the central alarm Speaker (there is only on speaker at central).
  5. After 60 seconds, switch off the local Alarm Speaker.
  6. Receiving an acknowledgement from central, switch off the local Alarm Light

Click&Go Rule-set of ioLogik E2210_Site

#0Enabled
#1Enabled
#2Enabled
#3Enabled

Logic #1 - Sending Remote Action to ioLogik E2210_Central
Logic #1 Configuration Enable Enable Logic IF DI ... DI ... DI THEN eMail ... Remote Action ... ELSE * Relation between conditions: OR Enable peer to peer I/O Input channels/arrow to Output points: Alarm_Light-0 Equivalent Logic Statement: (EM_Low-1 ON) OR (EM_Low-1 ON) OR (EM_High-0 ON) (Sead E-Mail every 0 sec.) AND (Sead Remote Cmd. Set #1 To ...) THEN Action ID : 01 Send To: remote IP Remote Command Set Recipients 1. Dest. IP : 192.168.13. 2. Dest. IP : 0.0.0.0 3. Dest. IP : 0.0.0.0 4. Dest. IP : 0.0.0.0 5. Dest. IP : 0.0.0.0 ✓ Save ✗ Cancel ✓ OK ✗ Cancel

NOTE

This Remote Action ID is configured to trigger both the remote (central) Alarm Light and Speaker.

Remote Action IP and ID mapping is shown as below:

Moxa ioLogik E2262 - NOTE - 1

flowchart
graph TD
    A["IP #1 + ID #1"] --> D["Total 4 Remote Action is Processed"]
    B["IP #1 + ID #2"] --> D
    C["IP #2 + ID #1"] --> D
    E["IP #2 + ID #2"] --> D
    F["IP #1 + ID #1"] --> D
    G["IP #1 + ID #2"] --> D
    H["IP #2 + ID #1"] --> D
    I["IP #2 + ID #2"] --> D
    J["ioLogik E2210_Sito #001"] --> D
    K["ioLogik E2210_Sito #002"] --> D

Logic #3 - Receiving Remote Action from ioLogik E2210_Central

Logic #3 Configuration Enable Enable Logic IF Remote Action THEN DO ELSE *Relation between conditions: Remote Action Setting IF Received Action ID: 01 From Source Device: 192.168.19.1 Channel: D=0 Enable peer to peer I/O Input channel mirror to Output channel Alarm Equivalent Logic Statement:

NOTE Receiving this Remote Action will disable the local (site) Alarm Light

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.
ChannelModeStatusFilterTrigger
[Ack_001]:00DIOFF50.0 ms--
ChannelModeStatusLowHigh
[Alarm_001]:00DOOFF----
[Alarm Speaker]:01DOOFF----

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. An Acknowledge Button is used to disable the local (central) alarm light, local Alarm Speaker, and the remote (site) Alarm Light.

Click&Go Rule-set of ioLogik E2210\_Central

#0Enabled: (Receive Remote Cmd. Set #1 from IP=192.168.19.101): (Alarm_001-0 = ON)
#1Enabled: (Receive Remote Cmd. Set #2 from IP=192.168.19.101): (Alarm Speaker-1 = ON)
#2Enabled: (Ack_001-0 ON): (Alarm_001-0 = OFF) AND (Alarm Speaker-1 = OFF) AND (Send Remote Cmd. Set #1 To...)

Logic #0 - Receiving Remote Action from ioLogik E2210_Site

Logic #0 Configuration Enable Enable Logic IF Remote Action THEN DO DO ELSE * Relation between c Remote Action Setting IF ReceivedAction ID: 01 From Source Device : 192.168.19.101 0.0 channel Dt-0 Enable peer to Input change Output change Equivalent Logic Status

NOTE

This Remote Action disables the remote (site) Alarm Light.

Logic #2 - Sending Remote Action from ioLogik E2210_Site

Logic #2 Configuration Enable Enable Logic IF DI ... THEN DO ... DO Remote Action ELSE "Relation between conditions" Enable peer to peer I/ Input channel Refine to Output channel Alarm Send To: remote IP... CHANGE DI-0 Equivalent Logic Statement : (Act_001-0 ON) (Alarm_001-0 = 0) (Alarm Speaker-1 = Send Remote Cmd Remote Alaska Setting THEN Action ID : 01 Send To: remote IP... Remote Comment Set Recipients 1. Dest IP: 192.163.15.101 2. Dest IP: 0.0.0.0 3. Dest IP: 0.0.0.0 4. Dest IP: 0.0.0.0 5. Dest IP: 0.0.0.0 Save Cancel Cancel

NOTE

This Remote Action disables the remote(site) Alarm Light

ioLogik E2210, E2212 and E2214

4xxxx Read/Write Registers (Functions 3, 6, 16)

ReferenceAddressData TypeDescription
40377 0x0178word InternalRegister 00Value
40378 0x0179word InternalRegister 01Value
40379 0x017Aword InternalRegister 02Value
40380 0x017Bword InternalRegister 03Value
40381 0x017Cword InternalRegister 04Value
40382 0x017Dword InternalRegister 05Value
40383 0x017Eword InternalRegister 06Value
40384 0x017Fword InternalRegister 07Value
40385 0x0180word InternalRegister 08Value
40386 0x0181word InternalRegister 09Value
40387 0x0182word InternalRegister 10Value
40388 0x0183word InternalRegister 11Value
40389 0x0184word InternalRegister 12Value
40390 0x0185word InternalRegister 13Value
40391 0x0186word InternalRegister 14Value
40392 0x0187word InternalRegister 15Value
40393 0x0188word InternalRegister 16Value
40394 0x0189word InternalRegister 17Value
40395 0x018Aword InternalRegister 18Value
40396 0x018Bword InternalRegister 19Value
40397 0x018Cword InternalRegister 20Value
40398 0x018Dword InternalRegister 21Value
40399 0x018Eword InternalRegister 22Value
40400 0x018Fword InternalRegister 23Value

ioLogik E2240, E2242, E2260 and E22262

4xxxx Read/Write Registers (Functions 3, 6, 16)

ReferenceAddressData TypeDescription
40337 0x0150word InternalRegister 00Value
40338 0x0151word InternalRegister 01Value
40339 0x0152word InternalRegister 02Value
40340 0x0153word InternalRegister 03Value
40341 0x0154word InternalRegister 04Value
40342 0x0155word InternalRegister 05Value
40343 0x0156word InternalRegister 06Value
40344 0x0157word InternalRegister 07Value
40345 0x0158word InternalRegister 08Value
40346 0x0159word InternalRegister 09Value
40347 0x015Aword InternalRegister 10Value
40348 0x015Bword InternalRegister 11Value
40349 0x015Cword InternalRegister 12Value
40350 0x015Dword InternalRegister 13Value
40351 0x015Eword InternalRegister 14Value
40352 0x015Fword InternalRegister 15Value
40353 0x0160word InternalRegister 16Value
40354 0x0161word InternalRegister 17Value
40355 0x0162word InternalRegister 18Value
40356 0x0163word InternalRegister 19Value
40357 0x0164word InternalRegister 20Value
40358 0x0165word InternalRegister 21Value
40359 0x0166word InternalRegister 22Value
40360 0x0167word InternalRegister 23Value
Table of contents Click a title to access it
Manual assistant
Powered by Anthropic
Waiting for your message
Product information

Brand : Moxa

Model : ioLogik E2262

Category : Industrial Automation