
I remember a project where, in the first meetings with the client, I realised that nobody had a complete view of the systems in the plant. Each department knew its own applications, but there was no picture of how they talked to each other. I started rebuilding the flows, from the machines all the way up to the business systems. Only by putting everything on paper did dependencies and weak points emerge that nobody had considered.
A factory has many systems, and the names overlap: one vendor calls MES what another calls SCADA, and the data history sometimes lives inside one of the two. To find my way I always start from the same map, the one in the industry's reference standard, ISA-95.
01The map in one figure
From sensor to ERP
The ISA-95 levels with the systems that usually live there; in amber the data going up, in grey orders and commands coming down
Read it from the bottom. Sensors and actuators touch the process. The PLC closes the control loop: it reads the signals and drives the outputs, in times measured in fractions of a second. Above it, level 3 is manufacturing operations: the MES with orders, quality and traceability, SCADA for supervision, the historian for time series. At the top the ERP, the business system, which plans over days, weeks and months.
02Who does what, and where it stops
ERP
Knows which orders must be produced, with which materials and at what cost. Doesn't know what happens on the line minute by minute.
MES
Brings orders to the floor and tracks progress, scrap and traceability. Doesn't close the machine's control loop.
SCADA
Supervises several machines: overviews, alarms, trends. Doesn't manage orders or materials.
Historian
Stores process time series, with the timestamp and quality of every value. Doesn't know what a lot is.
PLC and DCS
Control the machine and the plant, cycle after cycle. They wait for nobody.
Many products cover more than one role, and that is fine. What matters is writing down, for each piece of data, which system owns it.
03Not everyone runs at the same speed
The time frames are the ones given by the OPC Foundation's ISA-95 model. They explain many integration problems: an ERP that thinks in days should not be queried for every part produced, and a PLC that thinks in milliseconds cannot wait for an answer from a system that thinks in shifts.
04One rule: the MES is not on the critical path
If the MES or the network stops, the machine must be able to finish its cycle safely, and the data must arrive later, in order. Control stays at the bottom; the MES observes, coordinates and confirms.
I remember a case where we had to think through what would happen if communication with the MES dropped during production. The choice was to keep the control logic on the machine and handle the data to be sent locally. That way, even without the network or the MES, the machine could complete its cycle safely and recover the information to synchronise later. Production was not supposed to depend on the availability of the information systems.
I wrote about what happens when the network is gone in The network goes down, the line doesn't.
05Who owns the data
Orders and master data
Materials, bills of materials, routings: the MES receives them, it doesn't invent them.
Progress and genealogy
What was produced, with which lot, with which result.
Machine state
Running, stopped, in alarm: whoever drives it knows.
When two systems hold the same data and nobody has decided which one rules, sooner or later the numbers don't add up. It happens above all with production confirmations: a lost or duplicate confirmation in the ERP becomes an inventory error.
06How to draw the map of your own factory
- Step 1List the systems that really exist, including Excel sheets and paper.
- Step 2For each important piece of data, write down who owns it.
- Step 3For each arrow, note direction, protocol, frequency and who maintains it.
- Step 4Mark where data is moved by hand: that is where time is lost and mistakes are made.
The result is not a poster: it is the interface inventory. You need it every time a new machine arrives, a system is replaced or someone asks why two numbers don't match. To connect many systems without the arrows multiplying with every addition there is the Unified Namespace; to work out whether your company needs a MES, there is what a MES is.
Sources (2)
- ISA, ISA-95 / IEC 62264, Enterprise-Control System Integration.
- OPC Foundation, OPC 10030, ISA-95 Common Object Model: the levels.


