This article was created with AI assistance.

A Unified Namespace is usually built on plain MQTT. It doesn't have to be — and the alternative fixes several problems MQTT-based UNS projects run into once they scale past the pilot.

1Introduction to UNS

A Unified Namespace (UNS) is a single, live, hierarchical source of truth for operational data across a plant or enterprise. Instead of wiring point-to-point integrations between every PLC, SCADA system, MES, and cloud application, every system publishes into — and subscribes from — one shared namespace. It has become a foundational pattern in Industry 4.0 and Digital Transformation initiatives because it decouples data producers from data consumers: adding a new consumer means subscribing to existing data, not building yet another custom interface to yet another data source.

The typical implementation: MQTT broker + ISA-95 topic hierarchy

The most common way to build a UNS today is around an MQTT broker as the central nervous system. Devices, PLCs, and applications publish and subscribe to topics, and the broker fans messages out to whoever is listening. The topic tree is usually organized to mirror the ISA-95 equipment hierarchy — enterprise, site, area, production line, and work cell/asset — so a topic name alone tells you where in the physical plant a value came from, for example enterprise/site/area/line/cell/tagName.

PLAIN MQTT UNS Publishers PLC / SCADA MES / gateways (custom payload & topic per source) MQTT Broker Topic tree (ISA-95 style) enterprise / site / area line / cell / tagName no browse API, no history, no request/reply Subscribers Dashboards Historian bolt-on Cloud / analytics Everything a new subscriber needs to know about the topic tree — names, structure, payload shape — has to be documented and shared out of band, because MQTT itself has no way to browse or describe what's published.

A typical MQTT-based UNS: publishers push to a broker organized as an ISA-95 topic tree; subscribers read what they need — but nothing about the tree is discoverable from the protocol itself.

Pros and cons of MQTT-based UNS

Pros

  • Lightweight, simple pub/sub model with a low barrier to entry
  • Decouples publishers from consumers — add a subscriber without touching the source
  • Huge ecosystem: open-source brokers (Mosquitto, EMQX, HiveMQ), client libraries in every language, native support in most cloud IoT platforms
  • Works well over constrained or unreliable networks
  • Easy first step — a pilot UNS can be running in days

Cons

  • Payload format is not standardized. MQTT only moves bytes; every team invents its own JSON schema (Sparkplug B helps but is adopted inconsistently and is its own layer to agree on and maintain)
  • No access to historical data. The broker only knows the latest retained value — a historian has to be bolted on separately, with its own query interface
  • No feature for synchronous requests, including transactional calls — pub/sub has no built-in request/response, so writing back to a device or invoking an action needs an entirely separate mechanism
  • No support to browse the topic structure. Topics aren't self-describing; a new client has to already know the tree from external documentation, since MQTT has no discovery or introspection API
The question this raises Is it possible to build a UNS on a protocol other than MQTT — one that doesn't have these gaps?

2An Alternative: OPC UA as the Core Protocol

OPC UA is an IEC 62541 standard maintained by the OPC Foundation, built specifically to solve the problems above. Relevant to a UNS, it provides:

  • A browseable, discoverable address space — the information model is a hierarchy of objects, variables, and methods that any client can walk and inspect at runtime, no external documentation required
  • A well-defined payload format for published data, carrying value, quality, and both server and source timestamps as standard parts of every reading — not an ad-hoc JSON shape each team has to agree on
  • True report-by-exception, with server-side monitored items supporting both absolute and percent-based deadbands, so only meaningful changes go over the wire
  • Native support for both real-time and historical data through the same address space and the same client APIs
  • Built-in support for alarms and events, not a separate system bolted on afterward
  • A lighter footprint on the wire than it gets credit for: despite MQTT's "lightweight" reputation, MQTT/JSON payloads commonly run three times or more the size of the equivalent OPC UA binary-encoded payload for the same data

OPC UA also supports a Publish-Subscribe transport mode of its own — including over MQTT — so choosing OPC UA as the core protocol doesn't mean giving up MQTT transport where it's useful; it means the payload, the address space, and the semantics riding on top of it are finally standardized.

Implementing UNS with oBox Suite

oBox Suite from One-Way Automation is a modular platform for building exactly this kind of OPC UA-centric UNS. Its three main modules are:

  • Protocol Converter — south-bound connectivity to virtually any industrial data source: PLCs, RTUs, SCADA and DCS systems, CNC machines, and robots from mainstream and legacy vendors alike
  • Model Designer / Data Harmonizer — a WYSIWYG, web-based editor for building a hierarchical, ISA-95-aligned address space, turning raw tags into meaningful objects (for example, a Pump with Temperature and Pressure attributes) instead of a flat list of points
  • Data Logger — stores and forwards data, both real-time and historical, to downstream databases and messaging systems

That combination gives a UNS built on oBox Suite a few concrete advantages over a bare MQTT broker:

  • Southbound connectivity to virtually any industrial data source through the Protocol Converter module
  • A WYSIWYG, browser-based editor for the address space, with a real hierarchical structure — not a topic-naming convention enforced by hand
  • Support for a layered deployment: local site-level edge instances that push harmonized data up to a centralized cloud instance
  • Multiple, standards-based interfaces for higher-level applications to consume the same data:
    • OPC UA — real-time data via standard OPC UA subscriptions and monitored items; Pub/Sub over MQTT or brokerless UDP; and historical data, both raw and processed
    • REST API for lightweight application integration
    • MCP for straightforward integration with AI-based solutions
    • A built-in MQTT broker, so applications that only know how to subscribe over MQTT are still fully supported
OPC UA + OBOX SUITE UNS Field devices PLC / DCS / SCADA CNC / robots oBox Suite (edge) Protocol Converter Model Designer (harmonized) Data Logger Interfaces OPC UA subscribe OPC UA Pub/Sub (MQTT/UDP) Historical (raw / processed) REST API MCP (AI integration) Built-in MQTT broker Applications MES / analytics AI agents / cloud oBox Suite (cloud) centralized instance, multiple sites merged Site-level edge instances harmonize local data and push it up to a centralized cloud instance — the same browseable, standardized address space at every layer.

UNS built with OPC UA and oBox Suite: harmonized address space at the edge, layered up to a centralized cloud instance, exposed through OPC UA, REST, MCP, and MQTT.

3MQTT-Only vs. OPC UA + oBox Suite

DimensionPlain MQTT UNSOPC UA + oBox Suite
Payload format Not standardized — every team defines its own JSON schema Standardized OPC UA data value: value, quality, server and source timestamps
Historical data Not available from the protocol — a separate historian must be bolted on Native raw and processed historical access via the Data Logger module
Synchronous / transactional calls Not supported — pub/sub only, no request/response Supported via OPC UA services and method calls
Browsing / discovery of structure Not supported — topic tree must be documented and shared out of band Address space is browseable and self-describing by design
Report by exception Depends entirely on how each publisher is coded Built-in, with absolute and percent-based deadbands on monitored items
Alarms & events No native model — typically a separate system Native OPC UA alarms & events
Bandwidth efficiency JSON over MQTT — commonly 3x+ the size of the OPC UA binary equivalent Compact OPC UA binary encoding
Southbound connectivity to legacy/industrial sources Left to whatever publishes into the broker — usually custom, per source Protocol Converter module covers PLCs, RTUs, SCADA/DCS, CNC, robots out of the box
Building the address space / hierarchy Enforced only by topic-naming convention and discipline WYSIWYG Model Designer / Data Harmonizer, ISA-95-aligned
Edge-to-cloud layering Possible via broker bridging, configured and maintained by hand Built-in layered edge → cloud instance support
Integration interfaces MQTT only OPC UA (subscriptions, Pub/Sub over MQTT or UDP), REST API, MCP, plus a built-in MQTT broker
AI integration Custom, built by hand against the topic schema Native MCP interface

4Wrapping Up

Plain MQTT is a perfectly reasonable way to get a UNS pilot running quickly, and its ecosystem is hard to beat for raw reach. But the gaps that show up once a UNS moves past a pilot — no standard payload, no history, no synchronous calls, no browsing — aren't quirks of a particular broker; they're gaps in MQTT itself. OPC UA closes all four by design, and a platform like oBox Suite turns that into a practical UNS implementation: south-bound connectivity to the plant floor, a real hierarchical address space you build visually instead of by naming convention, and northbound access over OPC UA, REST, MCP, or MQTT — so applications that only speak MQTT still aren't left out.

References

  1. [1] OPC Foundation — OPC UA overview, address space, PubSub, and historical access: opcfoundation.org/about/opc-technologies/opc-ua/
  2. [2] One-Way Automation — oBox Suite: onewayautomation.com/obox-suite/