Ignition serves as the ideal real-time data fabric for predictive maintenance, but its native alerting is threshold-based. The integration architecture layers AI models directly onto Ignition's data pipelines. Sensor and PLC data streams into Ignition tags via OPC UA, MQTT, or direct drivers. A dedicated AI Inference Gateway service, deployed alongside the Ignition Gateway, subscribes to these tag histories. It performs real-time feature extraction (rolling averages, FFT transforms, statistical moments) on time-series windows, then calls pre-trained models (e.g., for anomaly detection, remaining useful life prediction) via a secure API. The results—a health score or failure probability—are written back to Ignition as new tags, available for HMI displays, alarming, and logging.
Integration
AI Integration with Ignition for Predictive Maintenance

Where AI Fits into Ignition-Based Predictive Maintenance
A practical blueprint for layering AI inference onto Ignition's real-time data fabric to move from reactive alerts to predictive work orders.
The high-value workflow is the closed-loop from prediction to action. When a model predicts a high probability of failure within a defined window (e.g., 7 days), the system triggers an Ignition scripting event. This event can: 1) Create a high-priority alarm in the Ignition Alarm Notification module, 2) Use Ignition's Database Query binding to insert a draft work order into a connected CMMS like SAP PM or Fiix via stored procedure, and 3) Update a Perspective dashboard to show the affected asset, predicted fault, and recommended actions. This creates a proactive workflow where maintenance planners receive actionable intelligence, not just data.
Rollout requires a phased, asset-prioritized approach. Start with critical, instrumented assets with high downtime costs. Use Ignition's historical data to train initial models offline, validating predictions against past failure logs. Deploy the AI Gateway in a container (Docker) alongside Ignition for easy scaling. Governance is key: all model inferences should be logged to a dedicated SQL table with timestamps, asset IDs, input features, and prediction confidence, creating an audit trail. Implement a human-in-the-loop step where the first few predicted work orders require planner approval, allowing the team to build trust in the AI's recommendations before full automation.
This integration doesn't replace Ignition; it makes its data actionable. The result is a shift from scheduled or breakdown maintenance to condition-based and predictive strategies. Technicians arrive with the right parts and procedures, reducing mean time to repair. Planners optimize schedules based on actual asset health, not just calendar intervals. The feedback loop is critical: work order completion notes and findings from the CMMS should be fed back into the model training pipeline to continuously improve prediction accuracy, creating a self-learning system built on Ignition's robust industrial data foundation.
Key Ignition Surfaces for AI Integration
Real-Time Sensor Ingestion & Feature Engineering
Ignition's native IIoT connectivity via OPC UA, MQTT, and PLC drivers provides the real-time data fabric for predictive maintenance. This surface involves configuring Ignition's Tag Historian to collect high-frequency time-series data from vibration sensors, thermocouples, pressure transducers, and motor current monitors.
AI integration focuses on two key tasks:
- In-stream feature extraction: Using Ignition's scripting (Python or Jython) or lightweight edge models to calculate rolling statistics (RMS, kurtosis, FFT peaks) from raw waveforms before storage, reducing data volume for cloud inference.
- Context enrichment: Merging sensor streams with Ignition's production context—linking a pump's vibration data to the active production order, batch ID, and product SKU being processed. This contextualized feature vector is then queued for model inference via REST API or message broker.
High-Value Predictive Maintenance Use Cases
Ignition's real-time data fabric provides the perfect foundation for predictive maintenance. These use cases show how to layer AI inference on top of SCADA streams, SQL historian data, and MES events to move from reactive to predictive operations.
Real-Time Equipment Health Scoring
Ingest live sensor data (vibration, temperature, pressure, amperage) from Ignition's OPC-UA or MQTT connectors. Apply AI models to generate a composite health score for each critical asset, displayed directly on HMI screens. Triggers work orders in your CMMS when scores degrade beyond a dynamic threshold, not just a static alarm limit.
Predictive Failure Mode Identification
Correlate time-series data from Ignition's historian with maintenance work history. Train models to recognize subtle patterns preceding specific failures (e.g., bearing wear, seal leaks, motor imbalance). When a pattern is detected, the system suggests the most likely failure mode and required parts, enabling precise work order planning.
Automated Work Order Generation & Enrichment
Connect AI inferences to Ignition's scripting engine or REST client to automatically create detailed work orders in SAP PM, Maximo, or Fiix. Each work order is pre-populated with predicted cause, recommended procedures, tooling, and historical context pulled from connected systems, reducing planner workload.
Dynamic Maintenance Scheduling
Feed predicted failure timelines and health scores into Ignition's Scheduler component or external APS. AI recommends optimal maintenance windows by balancing predicted downtime, production schedule criticality, and parts/crew availability, updating schedules in near-real-time as conditions change.
Spare Parts Recommendation & Reservation
When a failure is predicted, the AI cross-references the failure mode with your CMMS and inventory system (via Ignition's database connections). It identifies the required part numbers, checks stock levels, and can trigger a reservation or purchase requisition before the technician is dispatched, preventing delays.
Closed-Loop Feedback for Model Improvement
After maintenance is completed, the technician's findings and actual root cause (from the CMMS) are fed back into the AI training pipeline via Ignition. This creates a continuous learning loop, improving the accuracy of future predictions and closing the gap between inference and ground truth.
End-to-End Predictive Maintenance Workflows
Predictive maintenance with Ignition moves beyond simple threshold alarms. These workflows show how to connect real-time sensor data from Ignition's SCADA layer to AI models, generate intelligent work orders, and close the feedback loop for continuous improvement.
Trigger: A time-series data pipeline in Ignition ingests sensor readings (vibration, temperature, pressure, amperage) from PLCs and historians at a configured interval (e.g., every 5 seconds).
Context/Data Pulled: For each asset, the pipeline extracts a rolling window of historical data (e.g., last 24 hours) and calculates key statistical features (mean, std dev, FFT components). This context is bundled with static asset metadata (model, maintenance history from a connected CMMS) into a payload.
Model/Agent Action: A pre-trained anomaly detection or regression model (hosted in a cloud or on-prem inference service) consumes the payload. It outputs a health score (0-100) and a confidence level. An agent evaluates the score against dynamic thresholds. If a significant degradation is detected, it classifies the likely failure mode (e.g., "bearing wear", "imbalance") based on the feature pattern.
System Update/Next Step: Ignition's scripting engine or a dedicated gateway service:
- Logs the inference result to a dedicated SQL table for audit.
- Updates a real-time health indicator on the HMI/Perspective screen.
- If an alert is generated, it creates a high-priority event in Ignition's Alarm Notification system, enriched with the predicted failure mode and relevant sensor trends.
Human Review Point: The alert appears on the supervisor's dashboard. They can acknowledge, dismiss (with reason), or immediately escalate to create a work order.
Implementation Architecture: Data Flow & System Wiring
A production-ready predictive maintenance integration connects Ignition's real-time data fabric to AI inference engines and back-office systems in a closed-loop workflow.
The core data flow begins with Ignition's Tag Historian or connected time-series databases, which continuously stream sensor data (vibration, temperature, pressure, amperage) from PLCs and IIoT devices. A feature extraction service, often deployed as a Python Gateway Script or a containerized microservice subscribed to Ignition's MQTT broker, calculates rolling statistical features (mean, std dev, kurtosis) from raw signals. These engineered features are then batched and sent via a secure REST API to a cloud-hosted or on-premise AI inference endpoint (e.g., a model trained on historical failure data). The model returns a health score and a failure probability for each asset, along with a predicted remaining useful life (RUL) window.
When a health score breaches a dynamic threshold, the integration triggers an Ignition Event Script. This script enriches the alert with contextual data from Ignition's SQL Bridge—pulling the asset's maintenance history, current production order, and operator notes. It then creates a structured JSON payload and posts it via a webhook to the organization's CMMS API (e.g., IBM Maximo, SAP PM, Fiix) to generate a predictive work order. The work order is pre-populated with the suspected failure mode, recommended procedures, and linked sensor trends. Simultaneously, the alert is visualized on the Ignition Perspective HMI as a prioritized alarm, providing operators with actionable guidance and the option to acknowledge or escalate.
The final, critical loop is feedback and model retraining. As technicians complete work orders in the CMMS, closure data (actual failure cause, parts used, repair time) is pushed back to a central data lake via the CMMS API or an ETL pipeline. This ground-truth data is periodically joined with the original sensor features to retrain and improve the AI model. Governance is maintained through an audit trail in both Ignition's transaction groups and the CMMS, ensuring full traceability from sensor anomaly to corrective action for compliance and continuous improvement.
Code & Configuration Patterns
Real-Time Data Pipeline Configuration
Ignition's native tag system and scripting engine form the core data fabric. Configure OPC-UA or MQTT connectors to stream sensor data (vibration, temperature, pressure, amperage) into Ignition tags. Use Ignition's built-in SQL Bridge to persist raw time-series data to a historian or a dedicated database like TimescaleDB.
For feature engineering, leverage Ignition's Expression and Scripting Transform capabilities to calculate rolling statistics (mean, standard deviation, FFT components) in real-time before sending to the AI model. This reduces inference latency and cloud egress costs.
python# Example: Python script for feature extraction from Ignition via REST API import requests import pandas as pd # Fetch last 60 seconds of tag data from Ignition Gateway API tag_data = requests.get( 'https://ignition-server:8088/main/data/paths/[~]Provider/Tags?q=path:\"Vibration_Sensor_1\"&since=60s', auth=(user, pass), verify=False ).json() # Calculate rolling features df = pd.DataFrame(tag_data['data']) df['rolling_std'] = df['value'].rolling(window=10).std() df['rolling_mean'] = df['value'].rolling(window=10).mean() # Prepare payload for model inference features = df[['rolling_std', 'rolling_mean']].iloc[-1].to_dict()
Realistic Operational Impact & Time Savings
This table shows the typical operational improvements when integrating AI-driven predictive maintenance with Ignition, moving from reactive or time-based schedules to condition-based, intelligent workflows.
| Metric | Before AI | After AI | Notes |
|---|---|---|---|
Failure-to-Work Order Lead Time | Hours to days (post-failure) | Minutes to hours (pre-failure) | AI detects anomalies and auto-creates draft work orders in CMMS via Ignition. |
Unplanned Downtime Events | Reactive, 5-15% of planned runtime | Proactive, reduced by 30-50% | Focus shifts from fixing failures to preventing them through early warnings. |
Maintenance Schedule Adherence | Rigid calendar-based schedules | Dynamic, condition-based schedules | Work is prioritized by actual asset health, not elapsed time. |
Root Cause Analysis Time | Manual investigation, 4-8 hours | Assisted diagnosis, 1-2 hours | AI correlates sensor data with historical failures to suggest likely causes. |
Spare Parts Inventory Turns | Low, due to safety stock for unknowns | Improved, with predictive demand | AI forecasts part failures, enabling just-in-time procurement vs. overstocking. |
Mean Time To Repair (MTTR) | Extended due to diagnosis and part delays | Reduced via pre-staged parts & instructions | Technicians arrive with context, likely causes, and required parts already identified. |
Maintenance Cost per Asset | High, driven by emergency repairs and downtime | Optimized, shifting spend to planned, lower-cost work | Preventive work is cheaper than emergency repairs and catastrophic failures. |
Data-to-Insight Latency | Next-day reports from historians | Real-time scoring & alerts on HMI | Ignition's pipeline feeds live data to AI models, providing immediate operator guidance. |
Governance, Security & Phased Rollout
A predictive maintenance solution is only as reliable as its operational foundation. This section details how to structure the integration for security, control, and measurable impact.
The core architecture connects three layers: the Ignition SCADA/MES layer for real-time sensor data and control, the AI inference layer for model execution and feature analysis, and the CMMS/ERP layer (e.g., SAP PM, Maximo) for work order creation. Governance starts with data lineage: raw telemetry from PLCs via Ignition OPC-UA tags is time-stamped, cleansed, and versioned before feature extraction. Models should be containerized and deployed via a model registry, with inference requests logged to an audit trail that links back to the specific asset tag, timestamp, and raw data snapshot. Access to adjust model thresholds or trigger maintenance actions must be controlled through Ignition's project security or integrated IAM, ensuring only authorized roles (e.g., Reliability Engineers) can modify live decision logic.
A phased rollout is critical for managing risk and proving value. Start with a monitoring-only phase on a single, high-value asset line. Deploy AI models to generate health scores and predictions within Ignition's Perspective dashboards, but do not auto-create CMMS work orders. Use this phase to calibrate model accuracy against actual failure events and build operator trust. Phase two introduces human-in-the-loop approvals: the system creates draft work orders in a staging area of the CMMS, requiring a maintenance planner to review the AI's recommendation, supporting evidence, and predicted parts before releasing them. The final phase enables conditional automation for high-confidence, low-risk predictions (e.g., routine bearing wear), auto-creating and dispatching work orders while still escalating ambiguous cases for review.
Security must be addressed at each integration point. Sensor data flowing into Ignition should be isolated on a control network. API calls from Ignition to the AI inference service (hosted on-premises or in a private cloud) must use mutual TLS authentication and service accounts with least-privilege access. Any feedback loop—where work order completion status from the CMMS is used to retrain models—requires a secure, queued integration pattern to avoid direct database connections. Finally, establish a model performance and drift monitoring dashboard separate from the production HMI, alerting data science teams to accuracy degradation so models can be retrained on new failure modes without disrupting the live Ignition environment.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Frequently Asked Questions
Common technical and operational questions about building predictive maintenance solutions that connect Ignition's real-time data fabric to AI models and downstream enterprise systems.
A production alert flow involves multiple systems working in sequence:
- Trigger: Ignition's Tag Historian or a real-time script detects an anomaly threshold or a scheduled feature extraction job runs.
- Context Pull: The integration service queries Ignition's SQL database for the last 24 hours of multivariate sensor data (vibration, temperature, pressure) for the target asset, plus recent work order history from the connected CMMS.
- Model Action: The feature vector is sent to a deployed model (e.g., a scikit-learn or PyTorch model via a REST API). The model returns a health score, predicted time-to-failure, and a confidence interval.
- System Update: If the score breaches a configured threshold, the service:
- Creates a draft work order in the CMMS (e.g., SAP PM, Maximo) via its API, prefilled with the suspected component, model diagnosis, and recommended parts.
- Writes a high-priority alarm back to a dedicated Ignition tag, triggering a visual alert on the HMI.
- Optionally sends a notification via email or Teams to the maintenance supervisor.
- Human Review Point: The work order is created in a "Pending Review" status. A planner reviews the AI recommendation, adds any manual notes, and formally schedules it. The final resolution and parts used are logged back to the data lake to close the feedback loop for model retraining.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us