Mobile alerting with tracking & escalation for PLC's via S7
When a machine has a problem or needs maintenance it is often just indicated by an indicator lamp or by a small display attached to the machine. However, during daily operations the plant manager cannot check each machine all the time. For a smooth and uninterrupted production processes it is essential to know when a machine is in a critical status or needs maintenance.
Take your PLC display with you. Pairing PLC’s with SIGNL4 can enhance your daily operations by informing maintenance teams, production managers, or engineers on the shop floor or in the field about critical machine states no matter where they are.
How it Works
A Programmable Logic Controller (PLC) is is an industrial, often ruggedized, device for the controlling manufacturing processes, such as machines, assembly lines, or robots. PLC’s can have various digital and analogue inputs and outputs for connecting sensors and actors. They can thus be used for consolidating data from temperature, humidity or vibration sensors, light barriers or from I/O contacts.
All it takes to pair PLC’s and SIGNL4 is a connector app that accesses and processed the PLC data using the S7 protocol and from there sends HTTP requests to SIGNL4 and thus an alert the responsible team.
Service engineers alerted via mobile push, text and voice
Integration with SIGNL4 via webhook or email (SMTP)
Staff can acknowledge and take ownership for critical events that occur
Alerts are escalated in case of no response
Communicate within an alert to address a particular problem
Tracking and visibility of problem solutions
Integrated on-call duty planning
Alert on critical IoT device states
Maintenance management / quality assurance
Direct machine to person communication
IoT service alerting
IoT device management
IT, manufacturing, utility, oil and gas, agriculture, etc.
How To Integrate
Integrating SIGNL4 with PLC’s via S7
In our example we use a PLC with a couple of I/O contacts connected. We retrieve the I/O information from the PLC and send an alert to our SIGNL4 team in case an I/O contact is closed.
SIGNL4 is a mobile alert notification app for powerful alerting, alert management and mobile assignment of work items. Get the app at https://www.signl4.com.
If not already done we setup the PLC. That means we connect it to the network and connect the sensors or I/O contacts. The PLC needs to be reachable via IP and we need to know the address data within the PLC.
2. The Connector App
The connector app runs on a dedicated machine (Windows or Linux) and is based on Node.js. It connects to the PLC via the S7 protocol and sends event information to SIGNL4 when certain conditions are met.
In order to query information from the PLC’s some additional information is required. This is for example information about the IP addresses of the PLC’s, the data addresses within the PLC’s and the conditions when to trigger events.
This information is contained in the database table “S7ConnectorAlerts”. Here comes a simplified description of the contained columns.
IP address of the PLC
S7 rack identifier
S7 slot identifier
An additional message parameter for the event
An additional location parameter for the event
The address within the PLC to be queried
Value that the PLC address must get to fire the event
Besides this the SIGNL4 webhook URL including team secret needs to be configured in the connector app. The app will send query the PLC’s in certain intervals and send events to SIGNL4 when a condition is met, in our case when an I/O contact is closed.
Please contact us for more information about how to obtain the connector app.
3. Network Considerations
For the test setup the PLC just needs to be reachable from our connector app (see above). In production the PLC might be in a closed process network with no access to the Internet. In this case the connector app can be installed in another network, for example in the office network or in the DMZ. From there it requests data from the PLC’s using dedicated IP addresses and ports and on the other side it communicates with the SIGNL4 cloud via HTTPS.
4. Test It
This is it. You can now test your IoT scenario by simulating an appropriate event, in our case you can close an I/O contact. You will then receive an alert in your SIGNL4 app.
SIGNL4 can further increase the visibility of alerts through its Signals and Services section. Augmenting the color and icon of alerts will provide more relevant information at a glance without having to open the alert.
Change Alert Color and Override Title + Text
Override text, colors and titles are triggered by keywords set within the mobile app.