Evaluate the AutomationView desktop suite free for 30 days. No credit card required. Claim trial key →
arrow_back Back to Articles
HMI

Why is MQTT Sparkplug B Replacing Legacy Protocols in Ignition SCADA?

calendar_month
person Carvalho Raphael

Why is MQTT Sparkplug B Replacing Legacy Protocols in Ignition SCADA?

HMI
%%{init: {'theme':'dark', 'themeVariables': { 'background': '#001c38' }}}%%
flowchart LR
    edge_plc["Edge Devices (PLCs)"] -->|Report by Exception| broker["MQTT Broker"]
    broker -->|Unified Namespace| ignition["Ignition SCADA"]
    
    style edge_plc fill:#2563eb,stroke:#ffffff,color:#ffffff
    style broker fill:#16a34a,stroke:#ffffff,color:#ffffff
    style ignition fill:#dc2626,stroke:#ffffff,color:#ffffff
AutomationView Icon AutomationView

For decades, SCADA systems relied on continuous polling—asking field devices for data on a rigid schedule, regardless of whether the state had actually changed. As manufacturing networks expanded to the edge, this traditional Modbus or OPC-UA methodology created massive network overhead, sluggish response times, and complicated tag management. Enter MQTT Sparkplug B Ignition SCADA integration.

By leveraging an open-source framework specifically designed for industrial applications, Sparkplug B transforms MQTT from a simple IT transport layer into a robust OT powerhouse. It provides the structured context, automatic discovery, and state management that automation engineers need to scale modern control rooms effortlessly.

The Problem with Traditional Polling Protocols

Legacy polling architectures struggle in modern, distributed environments. When a SCADA server requests data from hundreds of PLCs over a cellular or satellite connection, the bandwidth penalty is severe. Even if a valve position hasn’t changed in three days, the network constantly asks, “What is your state now?”

  • Bandwidth Saturation: Continuous polling floods limited-bandwidth networks, risking packet drops for critical alarms.
  • Manual Tag Configuration: Adding a new PLC historically meant manually creating and mapping hundreds of tags in the SCADA platform.
  • Connection Brittleness: If a connection drops, traditional systems might blindly assume the last known state is still valid, masking critical field failures.

How MQTT Sparkplug B Revolutionizes Ignition SCADA

MQTT Sparkplug B solves these issues by defining a rigid, standardized payload and topic namespace built on top of the standard MQTT protocol. Using Cirrus Link modules inside Ignition, engineers can eliminate polling entirely.

flowchart TD
    subgraph field_layer ["Field Layer"]
        plc_1["Legacy PLC"]
        sensor_1["Smart Sensor"]
    end
    
    subgraph edge_layer ["Edge Layer"]
        gateway["Edge Gateway (Sparkplug Node)"]
    end
    
    subgraph broker_layer ["Enterprise Broker"]
        mqtt_broker["MQTT Broker (HiveMQ / Mosquitto)"]
    end
    
    subgraph scada_layer ["SCADA Layer"]
        ignition["Ignition Platform"]
    end
    
    plc_1 -->|Modbus| gateway
    sensor_1 -->|IO-Link| gateway
    gateway -->|MQTT Sparkplug B Payload| mqtt_broker
    mqtt_broker -->|Subscribe| ignition
    
    style plc_1 fill:#2563eb,stroke:#ffffff,color:#ffffff
    style sensor_1 fill:#2563eb,stroke:#ffffff,color:#ffffff
    style gateway fill:#16a34a,stroke:#ffffff,color:#ffffff
    style mqtt_broker fill:#d97706,stroke:#ffffff,color:#ffffff
    style ignition fill:#dc2626,stroke:#ffffff,color:#ffffff

Report by Exception: The End of Network Congestion

Instead of the SCADA system asking for data, edge devices (acting as MQTT nodes) publish data to a central broker only when a value changes. This “Report by Exception” model drastically reduces network traffic. If a pump is running steadily, the edge gateway stays silent. When an overload trips, the gateway instantly publishes the alarm, ensuring millisecond-level latency where it matters most.

Automatic Tag Discovery via Birth Certificates

One of the most powerful features of integrating Sparkplug B with Ignition SCADA is automatic device discovery. When an edge device powers on, it publishes a “Birth Certificate” (NBIRTH or DBIRTH message). This message contains the full metadata of the device, including data types, engineering units, and initial states.

Ignition immediately consumes this Birth Certificate and automatically generates the corresponding tag hierarchy in the Tag Browser. This eliminates hours of tedious manual tag mapping and drastically reduces human error during commissioning.

State Management and Death Certificates

Standard MQTT lacks a native way to know if a device suddenly lost power. Sparkplug B leverages MQTT’s “Last Will and Testament” (LWT) feature to create “Death Certificates” (NDEATH). If a node unexpectedly disconnects, the broker automatically publishes the Death Certificate. Ignition receives this instantly and flags the associated tags with a “Stale” quality, preventing operators from acting on frozen data.

Protocol Comparison: Polling vs. Sparkplug B

Feature Traditional Polling (e.g., Modbus TCP) MQTT Sparkplug B
Data Acquisition Continuous Polling (Client-Server) Report by Exception (Publish-Subscribe)
Bandwidth Usage Very High (Constant traffic) Very Low (Only transmits changes)
Tag Configuration Manual mapping required for every point Automatic via Birth Certificates
Payload Format Raw registers (Lacks context) Protocol Buffers (Compact, contextualized)
State Awareness Relies on timeout errors Instant notification via Death Certificates

Building the Unified Namespace (UNS)

The ultimate goal of adopting MQTT Sparkplug B is architecting a Unified Namespace (UNS). A UNS is a single, central repository where all enterprise data is structurally organized (e.g., Enterprise/Site/Area/Line/Cell). By pointing Ignition, ERP systems, and cloud analytics to the same MQTT broker, you establish a single source of truth.

This decoupling means you no longer have to build point-to-point connections. If a new MES system needs production data, it simply subscribes to the broker. The SCADA system is no longer the bottleneck for enterprise connectivity.

Conclusion

Migrating to an MQTT Sparkplug B architecture fundamentally changes how industrial facilities manage data. By shifting from inefficient polling to a report-by-exception model, engineers can drastically reduce bandwidth, automate tag creation, and lay the foundation for a scalable Unified Namespace.

Ready to standardize your automation architectures? Explore advanced sequencing and architectural tools in the AutomationView Store.

FAQ

Do I need special hardware to run Sparkplug B?

No. Many modern PLCs natively support MQTT, and for legacy devices, lightweight edge gateways (like IPCs running Node-RED or Ignition Edge) can easily convert protocols like Modbus or OPC-UA into Sparkplug B payloads.

Is MQTT secure for industrial control?

Yes. MQTT brokers can utilize TLS/SSL encryption for all data in transit, and robust authentication mechanisms (username/password, client certificates) ensure only authorized devices can connect. Furthermore, edge devices make outbound connections to the broker, meaning you don’t need to open inbound firewall ports at the remote site.

Share this article

Stay Updated with HMI

Get the latest articles and news delivered directly to your inbox.

Log in to Subscribe

You must be registered and logged in to manage subscriptions.

Recommended for you

Deep Dive: Integrating HTML5 Web Components into Modern SCADA Systems

HMI
%%{init: {'theme':'dark', 'themeVariables': { 'background': '#001c38' }}}%%
flowchart LR
    A["Legacy HMI"] -.-> B["Proprietary Plugin"]
    B -.-> C["Vendor Lock-In"]
    D["Modern SCADA"] -->|HTML5 + SVG| E["Web Server"]
    E -->|WebSockets| F["Any Browser/Device"]
    
    style A fill:#e74c3c,stroke:#c0392b,color:#fff
    style B fill:#e74c3c,stroke:#c0392b,color:#fff
    style C fill:#c0392b,stroke:#a1281a,color:#fff
    style D fill:#2ecc71,stroke:#27ae60,color:#fff
    style E fill:#3498db,stroke:#2980b9,color:#fff
    style F fill:#9b59b6,stroke:#8e44ad,color:#fff
AutomationView Icon AutomationView
calendar_month

Deep Dive: Integrating HTML5 Web Components into Modern SCADA Systems

The industrial landscape is aggressively pivoting away from proprietary HMI plugins like ActiveX or Java applets. By transitioning to standard web technologies, automation engineers unlock responsive, hardware-agnostic control panels accessible from any authorized device. This guide unpacks the technical framework required for seamless HTML5 SCADA integration. The Middleware Layer: Bridging OPC UA to WebSockets Traditional […]

Read Article arrow_forward

Deep Dive: Architecting HMI Navigation for Rapid Operator Response

HMI
%%{init: {'theme':'dark', 'themeVariables': { 'background': '#001c38' }}}%%
flowchart LR
    style A fill:#0d47a1,stroke:#0d47a1,stroke-width:2px,color:#ffffff
    style B fill:#1565c0,stroke:#1565c0,stroke-width:2px,color:#ffffff
    style C fill:#1976d2,stroke:#1976d2,stroke-width:2px,color:#ffffff
    A["Overview Display (Level 1)"] --> B["Process Area (Level 2)"]
    B --> C["Control Details (Level 3)"]
AutomationView Icon AutomationView
calendar_month

Deep Dive: Architecting HMI Navigation for Rapid Operator Response

Key Takeaways: Limit navigation depth to a strict three-click maximum to prevent operator disorientation during critical faults. Adopt the ISA-101 hierarchy to logically separate high-level overviews from granular equipment diagnostics. Use color strictly for abnormal states, keeping normal operations visually muted to instantly guide attention. When a reactor temperature hits a high-high alarm, the control […]

Read Article arrow_forward