Use Case: Industrial Motor Overheat Detection and Automated Shutdown Alert

Overview

This use case demonstrates real-time industrial monitoring system using the OPC UA Snap Pack to ensure equipment safety. It focuses on detecting and responding to high-temperature conditions in an industrial motor.
OPC UA Use Case Pipeline

Download this pipeline.

Understanding the Solution

This use case pipeline monitors the nodes in real-time and when any of the industrial motor's temperature exceeds a critical threshold (for example, 80°C), an AlarmConditionType event is triggered. An OPC UA client subscribed to this event captures it and initiates an automated response to:
  • Send a structured Slack message to a specific channel.
  • Triggers a controlled motor shutdown to prevent equipment damage or safety hazards.

Prerequisites

  1. Configure the OPC UA Subscribe Snap to subscribe to Motor node data events—it reads the data from the specified node whenever the data changes.

    OPC UA Subscribe Config

  2. Configure the Mapper to pass the input (Node ID, Server timestamp, Source timestamp, status, and value) to the downstream Snap:

    Mapper Configuration

  3. Connect the Copy Snap and add two output views to route the data to two different streams:
    • Connect the first output view to the Snowflake - Insert Snap to store all data events into the Snowflake datawarehouse for auditing purpose.
    • The second output view is configured to trigger an alert notification.
      1. Configure the Filter Snap with this $value>80 Filter expression to filter data events if the temperature is greater than 800 C.
      2. Connect the Copy Snap to the Filter Snap and add two output views to the Snap:
        • First input view:
          1. Connect the OPC UA Write Snap to write the motor health status of the specified node on an OPC UA server.
            opc-ua-write-config
          2. Configure the Union Snap to merge the two incoming data streams:
            • Motor health status details
            • Event details
          3. Configure Filter Snap with this expression: $nodeId=="ns=3;i=1010", which filters the data coming from Node 1010 along with the temperature details.
          4. Configure the Mapper Snap to pass the event data to the downstream Snap.
          5. Configure the Slack Send Message Snap to send an alert when a motor shutdown is triggered.
            slack-send-alert-message

            A Slack notification as shown below is sent to the Monitoring team alerting them about the potential action to be taken.


            slack-notification
        • Second output view: Configure the Mapper Snap with Node ID, Server timestamp, and Value for the event details.

    This use case helps ensure equipment safety, improve response time, and reduce downtime through proactive alerting and automation.

To successfully reuse pipelines:
  1. Download and import the pipeline into SnapLogic.
  2. Configure Snap accounts as applicable.
  3. Provide pipeline parameters as applicable.