Every manufacturing plant has a data problem. It is not that they lack data — modern CNC machines, PLCs, sensors, and ERPs generate enormous amounts of it. The problem is that the data is trapped in silos, connected by brittle point-to-point integrations that nobody fully understands and everyone is afraid to touch.
The Unified Namespace (UNS) is the architectural pattern that fixes this. It is not a product you buy. It is a way of organizing your plant's data so that every system — from the sensor on the spindle to the ERP in the front office — speaks the same language and publishes to the same place.
The Spaghetti Problem
In a traditional manufacturing IT architecture, every connection between systems is a custom integration. The CNC machines talk to the historian via OPC. The historian talks to the dashboard via a database query. The MES talks to the ERP via a flat file export. The maintenance system gets its data from a separate sensor network that nobody documented.
With 5 systems, you need up to 10 integrations. With 10 systems, up to 45. With 20 systems, up to 190. Each integration is a custom piece of software that someone built, someone maintains, and someone has to debug when it breaks at 2 AM. This is the spaghetti architecture, and it is the reason most manufacturing plants cannot answer basic questions about their own operations without someone running a manual report.
Point-to-Point (Spaghetti)
CNC ──── Historian ──── Dashboard
│ │
└── MES ────┘──── ERP
│ │
Sensors ─── Maintenance ─── SCADA
│ │
└─────────────────────────┘
N systems = N(N-1)/2 connections
10 systems = 45 custom integrationsThe spaghetti architecture fails in three specific ways:
- Adding a new system is expensive. Every new tool needs custom integrations with every existing tool. Adding an AI model? It needs to connect to 5 different data sources, each with its own protocol.
- Removing a system is terrifying. Nobody knows what depends on what. Disconnecting the old historian might break the dashboard, the MES export, and two spreadsheets nobody remembers.
- Real-time data is impossible. Each integration batches, polls, or queues. By the time the data arrives, the decision window has closed.
What a Unified Namespace Actually Is
A UNS is a single, event-driven data hub where every system in your plant publishes and subscribes to a shared topic hierarchy. Instead of point-to-point connections between every pair of systems, every system connects once — to the UNS.
Unified Namespace (Hub-and-Spoke)
CNC Machines
│
Sensors ─── MQTT Broker ─── Dashboard
│ (UNS)
MES ────────┤──────────── ERP
│
Maintenance ───┘──────────── AI / Analytics
N systems = N connections
10 systems = 10 connectionsThe difference is structural. With a UNS:
- Adding a system costs one connection. A new analytics tool subscribes to the topics it needs. No changes to any other system.
- Removing a system is safe. Unsubscribe it from the broker. Nothing else changes.
- Data is real-time. Every system publishes changes as they happen. Subscribers receive updates within milliseconds.
- Every system sees the same data. No more conflicting reports because the dashboard reads one database and the MES reads another.
MQTT: The Protocol That Powers UNS
The UNS pattern is built on MQTT — a lightweight publish/subscribe messaging protocol originally designed for remote oil and gas pipelines. MQTT is now the de facto standard for industrial IoT because it is small (runs on tiny edge devices), fast (sub-second delivery), and reliable (supports quality-of-service levels for guaranteed delivery).
In an MQTT-based UNS, data is organized into topics that mirror your physical plant hierarchy. When a sensor on a CNC machine publishes a vibration reading, it publishes to a topic like:
Enterprise/Site/Area/Cell/Machine/vibration_velocity
Any system that needs vibration data subscribes to that topic. The historian subscribes to store it. The dashboard subscribes to display it. The anomaly detection model subscribes to analyze it. None of those systems know or care about each other — they only know the topic.
ISA-95: The Topic Hierarchy That Makes UNS Work
A UNS without structure is just a message bus. What makes it a Unified Namespace is the ISA-95 hierarchy — the international standard for organizing manufacturing operations.
| ISA-95 Level | Meaning | Example |
|---|
| Enterprise | The company | Flowstate |
| Site | A physical location | Massillon_Plant |
| Area | A functional zone within a site | CNC_Floor |
| Cell | A work center or production cell | Haas_Line_1 |
| Equipment | An individual machine or sensor | Haas_VF2_Mill_01 |
This hierarchy is not arbitrary. It maps to how manufacturers actually organize their operations — and it determines how data flows. When a vibration sensor on the Haas VF-2 in Cell A at the Massillon plant publishes a reading, every level of the hierarchy is encoded in the topic. A plant manager can subscribe to everything at the site level. A maintenance tech can subscribe to one specific machine. The data is the same — the perspective changes based on where you subscribe.
Sparkplug B: The Protocol Layer on Top of MQTT
Raw MQTT is just a message bus. It does not define what the messages look like, how devices announce themselves, or what happens when a device disconnects. Sparkplug B adds all of that.
- Birth certificates (NBIRTH/DBIRTH). When a device comes online, it announces itself with a birth certificate that describes every metric it publishes — name, type, unit. No manual configuration. No tag database to maintain.
- Death certificates (NDEATH/DDEATH). When a device disconnects (planned or not), the broker publishes a death certificate. Every subscriber knows immediately that the device is offline.
- Report by Exception (RBE). Devices only publish when a value changes. No polling, no wasted bandwidth. A machine running steady sends almost no data. A machine in trouble floods updates instantly.
- State awareness. The system always knows the current state of every device — not just the last message it received, but whether that device is alive or dead.
For a deeper dive into how Sparkplug B works in practice, see Sparkplug B: The Protocol Your CNC Machines Should Speak.
UNS vs. the Alternatives
If you are running a CNC shop today, your data probably lives in one of these traditional architectures. Here is how each compares to a UNS:
| Architecture | Data Model | Latency | Integration Cost | Scalability |
|---|
| Traditional Historian | Tag-based, flat | 1-60 sec | High (per-system) | Vertical only |
| MES | Relational, structured | Minutes | Very high | Limited by schema |
| SCADA | Point-list, polled | 1-5 sec | Moderate | Limited by I/O count |
| Spreadsheets | Manual, unstructured | Hours/days | None (manual) | None |
| UNS (MQTT + Sparkplug B) | Hierarchical, event-driven | < 100 ms | Low (per-system) | Horizontal, unlimited |
The key difference is not speed or cost — it is the integration model. In a historian, MES, or SCADA architecture, every new system requires custom integration with every existing system. In a UNS, every new system requires one connection to the broker. The complexity stays flat as you add systems.
UNS Is Not Just for Enterprise
Most UNS content on the internet is written for large manufacturers with hundreds of machines, dedicated IT departments, and seven-figure automation budgets. That makes it feel like UNS is only for the big players. It is not.
A 5-machine CNC shop benefits from UNS in three immediate ways:
- Single source of truth from day one. Instead of building a spreadsheet tracker and then replacing it with a monitoring system and then replacing that with an MES, you start with the right architecture. Every system you add later plugs into the same data bus.
- No IT project. An MQTT broker runs on a $300 edge computer with a cellular connection. No servers to maintain, no firewalls to configure, no VPN to set up. The entire UNS infrastructure can be deployed in a day.
- Your data is portable. Because MQTT and Sparkplug B are open standards, your data is not locked into any vendor. If you outgrow your current dashboard, swap it out. The data layer stays the same.
The difference between a small shop and a large enterprise is not whether UNS applies — it is the scale of the hierarchy. An enterprise might have 50 sites with 200 areas and 1,000 machines. A 5-machine shop has one site, one area, and five machines. Same architecture. Same benefits. Different scale.
See UNS in action
Our live lab runs a full Unified Namespace with Sparkplug B on real CNC machines. See how data flows from the spindle to the dashboard in under a second — no sales pitch required.
Explore the live lab →How to Start Building a UNS
You do not need to boil the ocean. A UNS can start with a single machine and grow from there. The process looks like this:
- Define your hierarchy. Map your plant to the ISA-95 model: enterprise, site, area, cell, equipment. For a small shop, this takes 15 minutes on a whiteboard.
- Deploy an MQTT broker. Install an MQTT broker (Mosquitto, HiveMQ, EMQX) on an edge computer or in the cloud. This is your UNS hub.
- Connect your first machine. Use external sensors (vibration, current) or a controller integration (MTConnect, FOCAS) to publish machine data to the broker using Sparkplug B.
- Subscribe your first consumer. Connect a dashboard, historian, or alerting system to the broker. It subscribes to the topics it needs and starts displaying data immediately.
- Add systems one at a time. Each new machine or system is one connection to the broker. The UNS grows organically as your needs grow.
The 7-Day IIoT Setup guide walks through this process in detail, from unboxing the hardware to seeing live data on a dashboard.
The Bottom Line
A Unified Namespace is not a product. It is a design decision. It is the decision to organize your plant's data around a single, event-driven hub instead of a web of point-to-point integrations that grow more fragile with every new system you add.
The technology behind it — MQTT, Sparkplug B, ISA-95 — is mature, open, and available today. The deployment cost for a small shop is measured in hundreds of dollars, not tens of thousands. And the architecture scales from 5 machines to 5,000 without a redesign.
Every integration you build today is either adding to the spaghetti or building toward a Unified Namespace. The right time to start is before the spaghetti gets any worse.