What an MES system covers: its boundary with ERP and three datasets to prepare
An MES system covers the execution layer of the shop floor. Once orders leave planning, it breaks them into work orders and operations and records who made what, on which machine, in what time, and how much of it passed.
Where an MES system sits: between planning and equipment
What an MES system is becomes clearer once it is placed in the automation hierarchy, before any feature list.
Under ISA-95, published internationally as IEC 62264, the MES sits at level 3, manufacturing operations management. Level 4 holds business planning systems such as ERP, level 2 holds SCADA and equipment control, and the field devices sit below that. The MES turns plans from above into executable work orders and operations, then reports results back up.
That position settles two things: an MES does not keep the books or issue invoices, and it does not drive equipment directly. It records what actually happened and hands the result to both sides. Getting the layers straight keeps a selection exercise from being led by a feature list.
Much of the confusion between MES and ERP is not conceptual: the two sets of data meet in the same monthly report. Separate the questions — which layer records execution, which layer owns the books and the plan — and the selection table writes itself, with acceptance criteria set separately for each.
The five things an MES system usually covers
The feature list of an MES can run long. In daily use it comes down to five jobs; most other modules are reports and extensions built on them.
Those five jobs reduce to one sentence: record execution, not optimise decisions. Records come first; analysis and alerts only mean something afterwards, which is also where the go-live sequence comes from.
- Work orders and operations: split planned orders into operations, assign stations and shifts, and track start, finish and work in progress.
- Reporting and output: record output, rework and scrap by shift in a form that reconciles with the warehouse ledger.
- Quality: inspection items, sampling results and non-conformance handling, tied to the batch and the production time.
- Equipment status: running, stopped, fault and changeover hours, which become the base for efficiency and capacity analysis.
- Materials and traceability: the link between material batches and finished batches, so a quality issue can be traced back to inputs and operations.
MES versus ERP: the boundary in one table
Most arguments about MES and ERP come from an unclear boundary. Set out the question each answers, its data granularity and its time horizon, and the division of labour settles itself.
One point is often missed: the same output figure is an amount and an aggregate in ERP, and a reported quantity with batches in MES. When the definitions differ, name the master source before discussing reconciliation, or every month end goes into explaining the gap.
| Boundary | ERP | MES |
|---|---|---|
| Question it answers | Order intake, costing, invoicing and reconciliation | How work orders split, where each operation stands, how much passed |
| Data granularity | Orders, invoices, inventory value | Work orders, batches, operations, equipment and shifts |
| Time horizon | Day, month, quarter | Minutes and shifts |
| Output and inventory figures | Owns the aggregate and the value | Owns the reported output and batches, feeding ERP |
Where both systems show output or inventory, name one master source and let the other read it, so one fact never carries two numbers.
Three datasets to have before go-live
The first is materials and routings: which materials each product uses, which operations it passes through, and the standard hours per operation. Without a routing the system can hold timestamps but cannot break work into operations, and every later report loses its reference point.
The second is the equipment and station list: asset number, the operation it serves, capacity and shift pattern. Asset numbers must match the plates on the machines, or the data-collection layer cannot connect and reporting falls back to manual entry.
The third is opening work in progress and inventory: WIP on go-live day, materials issued but unused, and finished batches. If the three do not reconcile, the first week's reports will not either, and the project stalls on reconciliation. Start without them and the usual outcome is one set of numbers in the system, another on the floor, and a return to spreadsheets.
When the three do not reconcile, split WIP by operation first, then check materials issued but unused, then finished batches. Naming an owner for each of the three tables is more useful than adjusting parameters inside the system.
Light and full MES: how to choose
A light MES usually covers work orders, reporting and output traceability. It deploys faster and changes established routines less, which suits a single plant with few products and a stable process. A full MES adds scheduling, quality, equipment, warehousing and traceability, and suits plants with many operations, many products and customer audits.
The test is not the length of the feature list but which constraint is blocking delivery. If progress is opaque, a light MES is enough. If traceability and audits are the issue, batches and inspection must be covered. If scheduling is the issue, check whether the scheduler can honour shop-floor constraints before buying a module that sits unused.
Scope matters as much as features: pilot one workshop or one line, run work orders, reporting and quality end to end, then replicate. Rolling out plant-wide puts several problems on several operations at once, and it becomes impossible to tell which step went wrong.
How an MES system relates to a factory agent
The MES supplies execution facts: which operation a work order has reached, how many minutes a machine was down, what the inspection found on this batch. The agent supplies judgement: which orders are at risk of slipping today, which machine's downtime is trending up, which batch's quality drift will affect delivery. The relationship is data and judgement, not replacement.
The agent reads MES data only. It does not write back, does not change work orders and does not control equipment; the MES keeps recording and executing. To test whether a proposal understands this, ask three questions: which table the data comes from, how often it refreshes, and how missing data is marked. A proposal that cannot answer them has usually confused connecting a system with installing intelligence.
Refresh rates belong in the design as well: work orders and output by shift, equipment status by minute or hour, inspection results by batch. A refresh faster than the floor actually updates only produces repeated judgements on the same data.
There is also a practical constraint: MES data quality depends on timely reporting and on stations scanning at each operation. If those actions are reconstructed after the fact, fix the records before discussing analysis. T001, the AI operations centre, reads work orders, reported output and equipment records on a read-only basis, aligns the definitions first and gives its judgement afterwards. To have your data path assessed, send the system list through the contact page.
Frequently asked questions
- What is the difference between an MES and an ERP?
- ERP covers orders, cost, invoicing and reconciliation at the level of orders and amounts. MES covers work orders, operations, batches and equipment status at the level of minutes and shifts. They exchange work-order and output data, and neither replaces the other.
- Does a small or mid-sized factory have to adopt an MES?
- Not necessarily. Identify the constraint first. Opaque progress, paper-based traceability and audit requests for batch records are three cases where an MES earns its place. If the only problem is manual report consolidation, fixing the data path and definitions costs less.
- How long does an MES deployment take?
- It depends on three things: whether routings are already documented, whether asset numbers and data channels are settled, and whether opening WIP and inventory reconcile. Resolve those before the project starts and the calendar goes mostly to pilot running and definition calibration.
- Can MES data be used directly by an agent?
- Yes, provided the data path is fixed, field meanings are registered and the refresh rate is known. The agent reads only, never writes, and marks missing data as missing rather than filling gaps with estimates.