How to Connect MQTT Sparkplug B to Cloud SCADA
MQTT Sparkplug B is the modern way to move industrial data from the edge to the cloud - lightweight, publish-by-exception, and built for unreliable connectivity. This guide explains how Merobix ingests Sparkplug B, so edge gateways at remote oilfield sites can feed a cloud dashboard efficiently.
Short version: Merobix subscribes to MQTT Sparkplug B, so an edge gateway that publishes field data by exception can feed the cloud platform directly. Adopting it can be as simple as pointing Merobix at the same broker your edge nodes publish to - efficient on cellular, with no inbound firewall rules.
Why Sparkplug B for the Edge
MQTT is a lightweight publish/subscribe protocol; Sparkplug B is the industrial specification on top of it that defines how devices, tags, and state are represented and published by exception. It suits remote sites because it publishes only on change (saving cellular data and battery), connects outbound to a broker (no inbound firewall rules), and handles connection state cleanly. See what IIoT is and edge computing for context.
Ingesting Sparkplug B Into Merobix
If you already run edge gateways publishing Sparkplug B - common with modern IIoT and edge-node deployments - Merobix subscribes to the same broker, so migration or expansion can be as simple as adding a subscriber. Where you do not yet have MQTT, a Merobix cellular gateway can read local devices and publish to the cloud on your behalf.
How to Connect MQTT Sparkplug B Data to Merobix
- Confirm the protocol and connection. Identify that your device speaks MQTT Sparkplug B and how it is reached - a direct IP address, a serial connection, or through a cellular gateway at the site.
- Establish connectivity to the cloud. For remote sites, a cellular edge gateway reads the local device and connects outbound to the cloud - no fixed IP, no inbound firewall rule, no VPN. On networked sites, a direct connection works.
- Map the tags you care about. Select the registers, points, or nodes you want to monitor - pressures, levels, flows, states, alarms - and map them to named tags with engineering units. Merobix configures this for you as part of onboarding.
- Set polling or report-by-exception. Choose how data is collected - scheduled polling for reliable links, or report-by-exception to conserve cellular data and battery on remote sites.
- Verify data and set alarms. Confirm live values match the field, then set alarm thresholds. SMS and email alarms, typically delivered within a minute, are included - so the data is not just visible, it reaches someone when it matters.
Frequently Asked Questions
Can Merobix subscribe to my existing MQTT broker?
Yes. Merobix subscribes to MQTT Sparkplug B, so if your edge gateways already publish to a broker, Merobix can consume the same feed - often as simple as adding a subscriber, with no field changes.
Why use MQTT Sparkplug B for remote sites?
It publishes by exception (only on change plus a heartbeat), which conserves cellular data and battery, and connects outbound to a broker so no inbound firewall rule is needed. That suits remote, low-power oilfield sites well.
What if I do not have MQTT yet?
A Merobix cellular edge gateway can read your local devices (Modbus, DNP3, etc.) and publish to the cloud, so you get the benefits of edge publishing without building an MQTT stack yourself.
Sources and verification
This page references the protocol specifications published by the organizations below. Editions, product capabilities, and documentation change over time - confirm current requirements and specifications directly with the source.
- Modbus Application Protocol Specification - Modbus Organization
- Overview of DNP3 (IEEE Std 1815) - DNP Users Group
- MQTT Version 5.0 (OASIS Standard) - OASIS (v5.0, 2019)
Merobix is not affiliated with, endorsed by, or sponsored by these organizations; their names are used only to identify the standards and products discussed.
Automation services
Need help turning this into a working system?
Merobix integrates SCADA, programs Allen-Bradley and Siemens PLCs, and designs and fabricates industrial control panels.
Meeting requests are reviewed before confirmation.