What Comes After MES? MES vs. Digital Twin
The MES is in place, work orders are tracked, the OEE report is ready every morning. Yet the meeting still asks the same question: why did we fall behind yesterday? The step after MES is the answer to that question.
The MES is in place. Work orders come out of the system, counts are recorded, the OEE report is ready every morning. Yet the morning meeting still asks the same question: why did we fall behind yesterday?
The answer is usually looked for in people’s memory, not in the MES. That is not because the MES is lacking; answering that question was never its job.
What an MES does
An MES (Manufacturing Execution System) is the shop floor’s system of record. What it does well:
- Work orders: which product, on which line, in what quantity, when.
- Production tracking: good and scrapped counts.
- Traceability: which batch was made on which machine, by which operator.
- Operator entries: stop reasons, shift notes, quality records.
All of this is necessary and none of it can be dropped. But it all gives the same kind of answer: what happened? The questions plant management asks sit one step further on.
Four questions the MES records but does not answer
1. Where? In the MES, a stop is a row next to a machine name. Yet much of the loss sits between machines: a press waiting because the station before it supplies no parts, a robot stopped because the conveyor after it is full. Seeing that takes the machines in their place in the layout, inside the flow.
2. Why? The stop reason in the MES is the one the operator picked. If no reason was entered, the record stays incomplete; if one was, it is often the visible cause rather than the real one. The machine’s own signal, meanwhile, reports the stop either way. Putting the two side by side makes the stops whose reason is still unknown visible. Sometimes the cause sits outside the machine: in the weaving hall demo, the efficiency loss traces to the hall’s humidity and a humidifier line.
3. What did it cost? The MES records loss in minutes or pieces. Deciding which loss to fix first needs money: the machine’s hourly cost, the price of a missed order. A ranking by minutes often does not match a ranking by money.
4. What comes next? The MES records the past. At this pace, when will the order finish; which machine has started drifting from its own normal; where should we look today: these questions look ahead, and they need a calculation on top of the record.
How a digital twin answers them
A digital twin does not leave the MES record on its own. It joins, in one model:
- MES and ERP data: work orders, orders, operator entries.
- Machine signals: status, counters and stops from PLC, SCADA or OPC UA.
- The plant layout: each machine’s place in the 3D model and its position in the flow.
- Cost: each machine’s hourly cost, so the loss reads as money.
With that combination, “where” is answered in the 3D scene, “why” in the comparison between signal and record, “what did it cost” in the cost data, and “what comes next” in a forecast from today’s pace and the work left. We covered which system each piece of data comes from in where factory data comes from.
MES or digital twin?
They are not rivals; they are different layers:
| MES | Digital twin | |
|---|---|---|
| Its question | What was produced, on which work order, by whom? | Where is the loss, why, what did it cost, what comes next? |
| Its sources | Work orders, counts, operator entries | MES and ERP, machine signals, layout, cost |
| Its output | Records, traceability, reports | Ranked losses, causes, forecasts |
| Who uses it | Planning, quality, production | Production managers, maintenance, plant management |
A digital twin does not replace the MES: work orders stay managed in the MES, traceability stays held there. The twin reads the MES data and explains the losses it records.
What about a plant without an MES?
There is no need to wait for one. The PLC and SCADA layer is enough to start: machine status, counters and stops come from there, and OEE is calculated from them. When an MES or ERP comes in later, work order and order context is added to the twin. We covered how OEE is calculated in a separate post.
Where to start
With one question: “Why did we fall behind yesterday?” or “Which machine costs us the most?” The data that question needs sets the scope of the installation.
OnoTwin Studio joins floor data over PLC and OPC UA, MES and ERP integration, and MQTT and SQL sources in a single digital twin; it works with the existing PLC/SCADA infrastructure and needs no extra hardware. You can try it in the browser on a sample plant’s data. If you would like to talk about your own plant, write to us.
Frequently Asked Questions
What comes after MES?
An MES records production: work orders, counts, traceability and operator entries. The next step is a digital twin that joins those records with machine signals, the plant layout and costs in one model, and shows where the loss is, why it happened and what it cost.
Does a digital twin replace the MES?
No. The MES keeps managing work orders and holding the traceability record. The digital twin reads the MES data, joins it with machine signals and explains the losses the MES records.
What is the difference between an MES and a digital twin?
An MES is the system of record that answers 'what was produced, on which work order, by whom?'. A digital twin answers 'where is the loss, why did it happen, what did it cost, what comes next?', by joining the MES data with machine signals, the layout and cost data.
Can a plant without an MES build a digital twin?
Yes. The PLC and SCADA layer is enough to start: machine status, counters and stops come from there. An MES or ERP is added later where it exists; work order, order and cost context deepen the twin.