Zum Hauptinhalt springen Zur Suche springen Zur Hauptnavigation springen

Fernüberwachung und IIoT

Local logic and alarms without a PLC: IF-THEN rules on WISE modules

How the browser-configured IF-THEN-ELSE rules on WISE modules handle local logic, logging and alarms, with a worked example and the limits.

Local logic and alarms without a PLC: IF-THEN rules on WISE modules
Foto: Jeremy M. Giacomino, U.S. Marine Corps · Public domain · Wikimedia Commons

Many monitoring tasks need a small amount of logic: switch on a fan when the temperature rises, send an alarm when a door stays open, stop a pump when the level is too low. A PLC can do this, but it needs programming software and someone who maintains the program. ICP DAS WISE modules run IF-THEN rules that are configured in a web browser instead. This article explains how the rule engine works, shows a worked example, covers data logging and notifications, and describes where the limits are compared with a PLC.

How WISE IF-THEN rules work

Every WISE module has a built-in web interface. You open it in a browser, define the rules on web pages and save them to the module, where they are executed. No programming tool or extra software is needed. Each rule has three parts:

  • IF: a condition, for example an analog value above a limit, a digital input state or an expired timer.
  • THEN: what happens when the condition is true, for example switching an output, starting a timer, changing an internal register or sending an email.
  • ELSE: an optional action when the condition is false.

Besides the I/O channels, the rules can use timers, internal registers and recipe operations, and schedules let rules act at set times. The edge controllers also provide mathematical operations. Modules can send CGI commands to IP cameras and other network devices, so a rule can trigger an action in another device.

Worked example: an unmanned technical room

A WISE-7526M monitors a small technical room. It has 6 analog inputs, 2 digital inputs, 2 digital outputs and 2 analog outputs, and it is powered over PoE. The signals are wired as follows: AI0 room temperature (4 to 20 mA transmitter), AI1 humidity, DI0 door contact, DI1 UPS alarm contact, DO0 extra cooling fan, DO1 warning beacon. Limits are shown in °C for readability; enter them as the input values that match the transmitter range.

RuleIFTHENELSE
1AI0 above 28 °CDO0 on (fan)
2AI0 below 26 °CDO0 off
3AI0 above 35 °CDO1 on (beacon)DO1 off
4AI0 above 35 °CEmail "over temperature"
5DI0 openStart timer T1 (5 min)Reset T1
6Timer T1 expiredEmail "door left open"
7DI1 activeStart timer T2 (60 s)Reset T2
8Timer T2 expiredEmail "UPS alarm"

Rules 1 and 2 use two thresholds, so the fan does not switch on and off around a single value. Rules 5 to 8 use timers as delays, so a door opened briefly for maintenance or a short UPS event does not cause an email. Test how the module behaves while a condition stays true, so a persistent alarm does not flood the mailbox. Meanwhile the module publishes its values over MQTT to a central broker for a dashboard.

One practical point: WISE-7100 and WISE-75xxM I/O modules send email without SSL. Many mail services only accept encrypted connections, so plan for a local mail relay, or use a WISE edge controller, which supports SSL email.

Data logging and notifications

The WISE I/O modules (WISE-7100 and WISE-75xxM) do not list a data logger. They make their values available over Modbus TCP, and the WISE-75xxM models also over MQTT, so a SCADA system or broker records the history.

WISE-5800 adds a data logger with microSD card. It records I/O values by event or at regular intervals and sends the files by email or FTP. It reads I-7000 remote I/O modules or Modbus RTU devices.

The edge controllers WISE-5231M, WISE-2241M and WISE-2841M support an unlimited number of rules, timers, schedules and data logger sets, with a built-in 32 GB microSD card. They read XV-board I/O, RS-485 modules and Modbus TCP devices, and push data actively by MQTT publish, Modbus TCP or SNMP trap. Notifications include SSL email, SMS on the 4G models and messaging apps such as Telegram on WISE-2841M. All WISE edge controllers work with IoTstar for central monitoring and remote maintenance.

Which WISE model fits

WISE-7100 I/OWISE-75xxM I/OWISE-5800Edge controllers
I/OBuilt-inBuilt-inXW-board, I-7000, Modbus RTUXV-board, RS-485 and Modbus TCP modules
Rules367236Unlimited
Timers / schedules12 / none24 / 2412 / 12Unlimited
Data loggerNoNo1 set, microSDUnlimited sets, 32 GB microSD
ProtocolsModbus TCPModbus TCP, MQTTModbus TCP/RTUModbus TCP/RTU, MQTT with SSL, SNMP, FTP
EmailNon-SSLNon-SSLNon-SSLSSL

Examples: WISE-7144 (8 DI, 8 DO), WISE-7105 (8 thermistor inputs, 4 DO), WISE-7526M and WISE-7555M (MQTT). WISE-5231M-4GE and WISE-2841M-4GE have a built-in 4G modem for EMEA frequency bands.

Limits compared with a PLC

  • Type of logic. Rules suit thresholds, interlocks, delays and time-based switching. Sequences with many steps, state machines and closed-loop control are easier to build and maintain in IEC 61131-3.
  • Speed. The data sheets do not state a rule execution time, and the analog inputs are not made for fast signals: WISE-7526M samples at 10 samples per second in total. Use a PLC or PAC for fast signals and time-critical control.
  • Capacity. The I/O modules have fixed limits of 36 or 72 rules. Larger applications need an edge controller or a PAC.
  • Safety. Rules are not a safety function. Emergency stops and safety interlocks belong in hardwired or certified safety equipment.
  • Documentation. Rules are easy to change in a browser, which also makes them easy to change without a record. Keep a written description of the rule set.

When the limits are reached, ICP DAS Win-GRAF PACs run IEC 61131-3 programs, and the UA series communication servers include a PID function. For networks with stricter security requirements, ETS-7200 Ethernet I/O such as ETS-7255 also offers IF-THEN-ELSE logic together with HTTPS and MQTT with optional TLS.

Send us a list of your signals and the logic you need, and our technical sales team will suggest a suitable WISE model or an alternative.

Produkte für diese Anwendung

AR-200 CR
AR-200 CR AR-200 Accelerometer Data Logger, 2-ch IEPE Input

AR-200 CR is a dynamic signal acquisition module for vibration monitoring and analysis. It accepts two IEPE accelerometers, each supplied with a built-in 3 mA excitation current, and digitises the signals with a 16-bit converter. Sampling of both channels runs simultaneously, at rates up to 200 kHz per channel.Recordings are written to a Micro SD card, so data can be taken away and analysed offline. Capture can be started by a push button, a schedule, an analog threshold, a digital input or a remote command from the supplied utility on a host PC, which also lets you set the sampling rate and scheduling for each application. A single relay output and one digital input add basic event handling to the unit.The logger suits panel or machine installations that need to run unattended. It works from a wide +10 to +30 VDC supply, operates from -25 to +75 °C, and provides 4 kV contact ESD protection on all terminals. Mounting is by wall or DIN-rail.ApplicationsVibration monitoring and analysisIndustrial automationFactory automationProcess automation

Regulärer Preis: 600,00 € pro Stück · Mengenrabatt ab 10 Stück
AR-400 CR
AR-400 CR AR-400 Accelerometer Data Logger, 4-ch IEPE Input

The AR-400 is a dynamic signal acquisition module for vibration monitoring and analysis. It samples four channels simultaneously with 16-bit resolution and supplies a built-in 3 mA excitation current for IEPE accelerometers, so compatible sensors can be connected directly without an external supply.Acquired data is written to a micro SDHC card (4 to 32 GB), allowing offline analysis after capture. Recording can be started by push button, schedule, analog threshold, digital input or remote trigger from the utility software installed on a host PC, which also handles sample rate and sampling schedule settings.Suited to condition monitoring setups where vibration data must be captured at defined times or on defined events.Includes a relay output (Form A, 5A@250 VAC) and a digital input for use within trigger or control logic.ApplicationsVibration monitoring and analysisIndustrial automationFactory automationProcess automation

Regulärer Preis: 685,00 € pro Stück · Mengenrabatt ab 10 Stück
CA-LLD-DC100-L010
CA-LLD-DC100-L010 CA-LLD-DC100-L010 Liquid Leak Detection Cable, Without Position, 1 m

CA-LLD-DC100-L010 is a 1 m liquid leak detection cable for monitoring large areas where leaks may travel along an unpredictable route. Its sensing wires make it a practical choice for open floors and surfaces with several possible leak points, rather than a single fixed sensing spot.The cable has a 6 mm fluoropolymer carrier. Its sensing wires are 2 × 30 AWG, enclosed in a conductive fluoropolymer jacket. It can be fixed directly to water supply and return lines, so it can cover pipework as well as the surrounding floor area. The maximum continuous operating temperature is 70 °C.This ordering code is the without position variant, supplied in a 1 m length. It is RoHS and WEEE certified.ApplicationsLeak detection in open areasMonitoring water supply and return linesCovering larger surface areas with multiple potential leak points

Regulärer Preis: 36,00 € pro Stück · Mengenrabatt ab 10 Stück
CA-LLD-DC100-L030
CA-LLD-DC100-L030 CA-LLD-DC100-L030 Water Leak Detection Cable, 3M, Without Position

CA-LLD-DC100-L030 is a 3M liquid sensing cable for detecting leaks across a wide area when the likely leak path cannot be predicted in advance. It suits open floor areas and larger surfaces where several leak points may appear.The cable can be run directly along water supply and return lines, so it can cover pipework without a dedicated sensor installation at each joint. Its 6 mm fluoropolymer carrier houses two 30 AWG sensing wires with a conductive fluoropolymer jacket.Designed for continuous operating temperatures up to 70°CSupplied in 3M length, identified by the -L030 suffixRoHS and WEEE certifiedApplicationsLeak detection along water supply and return linesOpen areas and larger surfaces with multiple potential leak pointsWide-area water leak monitoring where the leak path is not predetermined

Regulärer Preis: 55,00 € pro Stück · Mengenrabatt ab 10 Stück

Mehr zu Fernüberwachung und IIoT

Brauchen Sie Hilfe bei der Auswahl?

Wir kennen das ICP DAS Sortiment und helfen Ihnen, das passende Modul, Zubehör oder Ersatzteil zu finden.

Technischen Vertrieb kontaktieren

Für Geschäftskunden

  • Staffelrabatte werden automatisch berechnet
  • Lieferung ohne MwSt. innerhalb der EU mit geprüfter USt-IdNr.
  • Datenblätter und vollständige technische Daten zu jedem Produkt
Geschäftskonto anlegen