The plain-English version first
Think of a restaurant. Somewhere in the back office, someone decides what's on the menu, orders the ingredients, sets the prices, pays the staff, and checks at month-end whether the place made money. That's the ERP — Enterprise Resource Planning. It's the business brain.
Meanwhile, in the kitchen, someone is running the line right now: which orders are on the pass, which station is backed up, whether table 12's fish was dropped and needs a re-fire, whether the sauce batch came out right. That's the MES — Manufacturing Execution System. It's the shop-floor brain.
The back office doesn't know a pan just caught fire. The kitchen doesn't know the quarterly food-cost target. Both are doing their jobs. The restaurant only works because both exist — and because orders flow from the office to the kitchen, and what actually happened flows back.
Swap "restaurant" for "plant" and you have the entire story. Everything below is just detail.
Two systems, two clocks
The deepest difference isn't features — it's time. Your ERP lives in business time: purchase orders take days, work orders span shifts, inventory reconciles nightly, costing closes monthly. Your MES lives in machine time: a cycle completes every 45 seconds, a temperature drifts over minutes, a jam happens now and cascades in seconds.
This is why an ERP can never "just handle the floor." It has no real-time connection to machines, and it was never designed to — asking it to catch a jam on line 3 is like asking your accountant to catch a falling pan. Not their job, wrong reflexes, wrong clock.
Where each one sits in the stack
For the technical reader: the automation world formalised this split decades ago in the ISA-95 model. Machines and sensors at the bottom, business systems at the top, and a distinct layer in between whose whole job is execution.
Notice what MES borders: everything. It's the only layer touching both the real-time world below (PLCs, SCADA, sensors) and the business world above (ERP). That position is exactly why it exists — someone has to translate "spindle vibration is trending up on machine 7" into "we will miss Thursday's shipment unless we re-sequence."
A day in the life of one work order
The clearest way to see the division of labour is to follow one order through both systems. This round-trip is beautifully demonstrated in Walker Reynolds' (4.0 Solutions) Steel Co rolling-mill walkthrough, and it looks the same in every well-integrated plant:
Step by step:
① Schedule. A work order is created in the ERP — product, quantity, bill of materials, due date. Business time.
② Hand-off. An integration layer pulls the order out of the ERP and into the MES. The floor now knows what to run, with the recipe attached.
③ Execute & monitor. The line runs. The MES captures production continuously — in the Steel Co demo, metrics land every 30 seconds: quantities produced, material consumed, yield. Machine time. The ERP knows none of this yet, and doesn't need to.
④ Complete. The run ends. The MES has the ground truth: how much was actually made, what was actually consumed, what was scrapped.
⑤ Write-back. The final numbers flow back to the ERP automatically — inventory updates, the work order closes, costing sees reality. No clipboard, no end-of-shift spreadsheet, no "we'll reconcile it Friday."
That last step is where most plants without an MES quietly bleed. If nothing writes back automatically, a person does it — late, summarised, and occasionally wrong. Your ERP then makes purchasing and promising decisions on fiction.
How they actually talk: the integration architecture
For the architects: the modern pattern for connecting these worlds isn't a tangle of point-to-point interfaces. It's a Unified Namespace (UNS) — a real-time data backbone, usually an MQTT broker, where every system publishes what it knows and subscribes to what it needs. One single source of truth for the current state of the plant, structured so any system can find anything.
Three things make this architecture work:
The UNS is the source of truth for "now." Every producer — PLCs, SCADA, the MES itself — publishes its current state to one namespace. Any consumer that needs it subscribes. Adding a new system doesn't mean writing five new interfaces; it means one connection to the bus.
A data-ops layer bridges IT and OT. ERPs speak REST APIs and databases in business time; the floor speaks MQTT and OPC-UA in machine time. A thin translation layer (Node-RED, in the Steel Co demo) pulls work orders down from the ERP, watches the UNS while production runs, and pushes finished results back up — no human in the loop.
Each system keeps its job. The ERP stays the system of record — nobody's ledger should live on an MQTT broker. The MES stays the system of execution. The bus just makes sure neither has to lie to the other.
"But my ERP has a production module…"
It does — and this is where the confusion usually starts. ERP production modules record production; they don't run it. The difference is who supplies the data. An ERP production screen shows what someone told it happened, entered after the fact. An MES shows what actually happened, captured from the machines as it happened.
The test is simple. Ask each system these questions:
| The question | ERP alone | ERP + MES |
|---|---|---|
| "How many good parts so far this shift?" | Whatever was last keyed in — hours old | Live count, accurate to the last cycle |
| "Why is line 3 down?" | It doesn't know line 3 is down | Down 11 min — jam at station 2, classified |
| "Can we promise this order by Friday?" | Assumes standard rates — hopes | Knows current yield and speed — answers |
| "What did that batch actually consume?" | Backflushed from the BOM — theoretical | Measured consumption — actual |
| "Where did we lose OEE this week?" | No concept of OEE | By line, shift, product, and cause |
Neither answer set is wrong for its layer. An ERP should backflush from BOMs for costing. But when the theoretical numbers are the only numbers, planning, purchasing and promising all inherit the error.
Side by side: the cheat sheet
| ERP | MES | |
|---|---|---|
| Nickname | System of record | System of execution |
| Clock | Business time — days, weeks, months | Machine time — seconds, minutes, this shift |
| Core question | What should we make, and did it make money? | Is it being made — correctly, right now? |
| Owns | Work orders, BOM, inventory, purchasing, costing | Production tracking, consumption, yield, quality, downtime, OEE |
| Typical users | Planners, finance, procurement, management | Operators, supervisors, plant & quality engineers |
| Talks to | Banks, suppliers, customers, MES | PLCs, SCADA, sensors, people on the line, ERP |
| Without it | No orders, no purchasing, no books — no business | Floor runs on clipboards; ERP runs on fiction |
| ISA-95 level | Level 4 | Level 3 |
The takeaway isn't "MES beats ERP" — that's like arguing the kitchen beats the office. It's that the two are complements, not competitors, and the plants that struggle are almost always the ones asking one system to do the other's job.
Where wiseDo fits in this picture
wiseDo is a Level-3 system — an execution layer — with two twists on the classic MES.
First, it's modular and brownfield-first: it connects to the ERP you already run (the work-order round trip above is exactly how it integrates) and to whatever mix of PLCs, sensors and cameras your floor already has. No rip-and-replace at Level 4, no forklift upgrade at Levels 0–2.
Second, it's agentic: beyond tracking execution, its agents act on what they see — re-sequencing schedules, flagging drift before scrap, calling maintenance before the breakdown — inside guardrails you set. The classic MES tells your supervisor the line stopped; an agentic one is already working the problem. (We've written about that layer in depth here.)
But the foundation is exactly what this post describes: your ERP stays the system of record, wiseDo becomes the system of execution, and the truth flows between them automatically.
Want to see the round trip on your own line?
If your plant runs an ERP and the floor still runs on paper and end-of-shift entries, the gap in this post is costing you real money — usually more than an MES costs to close it. A free floor walk will show you exactly where.
Book a free floor walk, or see how wiseDo works across the plant.
Credit where due: the Steel Co work-order walkthrough referenced above is from Walker Reynolds (4.0 Solutions), whose ERP/MES integration demos are the clearest in the industry.
wiseDo Technology
Building agentic MES for manufacturing
Field Notes
Plant-floor intelligence, in your inbox.
Practical writing on MES, OEE recovery and agentic systems — for the people who run the line. One email when there's something worth your time. No drip campaigns.
Straight to Substack. No spam, unsubscribe anytime.