Introduction
Ask a planner how production is going and they will check the ERP.
Ask a shop floor supervisor the same question and they will look at a screen above the line.
Both are looking at production data. Both are correct. And they are often looking at completely different numbers.
The ERP says the order is 60 percent complete. The floor screen says machine 3 has been down for 47 minutes and the current batch is running 8 percent below standard rate.
Neither is wrong. They are simply answering different questions.
That gap is exactly what this article explains. Once you understand it, a lot of confusing factory conversations start making sense.
The Short Answer
If you only remember one thing, remember this.
ERP plans the business. MES runs the shop floor.
ERP works in weeks and months. It asks what should we make, what do we need to buy, and what will it cost.
MES works in seconds and minutes. It asks what is happening on that machine right now.
Everything else in this article is detail around those two sentences.
What Is ERP?
ERP stands for Enterprise Resource Planning.
It is software that connects all the business functions of a company into one shared database.
What it covers
- Customer orders and sales
- Production planning and scheduling
- Material requirements and inventory
- Purchasing and suppliers
- Finance and costing
- Quality records
- Human resources
What ERP is good at
Planning ahead. Knowing what material to buy. Calculating costs. Promising a delivery date. Keeping every department working from the same information.
What ERP is not good at
Knowing what is happening right now.
If a machine stopped eleven minutes ago, ERP usually has no idea until someone types something in.
Common ERP systems
SAP, Oracle, Microsoft Dynamics, Infor, Odoo, ERPNext.
What Is MES?
MES stands for Manufacturing Execution System.
It is software that monitors and controls production on the shop floor as it happens.
What it covers
- Machine status, running or stopped
- Downtime and the reason for it
- Real time production counts
- OEE, meaning overall equipment effectiveness
- Operator, shift and batch tracking
- Quality events as they occur
- Work instructions at the machine
- Full traceability of what was made when and on which machine
What MES is good at
Live visibility. Catching problems within minutes rather than at the end of the shift. Recording exactly what actually happened.
What MES is not good at
Anything commercial. It does not handle purchase orders, customer invoices or financial costing.
Common MES systems
Siemens Opcenter, Rockwell FactoryTalk, SAP ME, AVEVA, plus a very large number of plant specific and custom built systems.
MES vs ERP: The Complete Comparison
This table answers most exam and interview questions on the topic.
| Parameter | ERP | MES |
|---|---|---|
| Full form | Enterprise Resource Planning | Manufacturing Execution System |
| Main purpose | Plan and manage the business | Execute and monitor production |
| Scope | The whole company | The shop floor only |
| Time horizon | Weeks and months ahead | Seconds and minutes, live |
| Question it answers | What should we make and buy? | What is happening right now? |
| Data update frequency | Periodic, often once per shift or day | Continuous, often every few seconds |
| Data source | Mostly manual entry | Mostly automatic from machines and sensors |
| Main users | Planners, purchase, finance, management | Operators, supervisors, process engineers |
| Typical outputs | Purchase orders, work orders, cost reports | Machine status, downtime, OEE, live counts |
| Level in the automation hierarchy | Level 4, business planning | Level 3, manufacturing operations |
| Cost of failure | Wrong plan, wrong purchase, wrong cost | Lost production, undetected defects |
| Detects a stopped machine? | Not directly | Immediately |
| Handles invoicing and costing? | Yes | No |
The comparison in one line
ERP decides what should happen. MES records what actually happened.
.

How MES and ERP Work Together
They are not competitors. They are two layers of the same system, and the flow between them runs in both directions.
Information flowing down from ERP to MES
- The production plan and schedule
- Work orders with quantities and due dates
- Bill of materials and routing
- Product specifications and recipes
- Customer priority information
Information flowing up from MES to ERP
- Actual quantities produced
- Actual material consumed
- Actual machine and labour time used
- Scrap and rejection quantities
- Batch and traceability records
- Completion confirmation
Why the upward flow matters most
Without MES, someone types the production figures into ERP manually, usually at the end of the shift and often from memory or a paper sheet.
That data is late, incomplete and sometimes wrong.
With MES, the actual figures arrive automatically and immediately. Costing becomes accurate because it uses real machine time rather than standard estimates. Delivery promises become reliable because the plan reflects what really happened.
A useful way to picture it
ERP is the head office. MES is the person standing on the floor watching the machines.
The head office decides the plan. The person on the floor reports what actually occurred. Neither works well without the other.
A Real Example: One Order Through Both Systems
Follow a single order and the difference becomes obvious.
In ERP
A customer orders 1,000 brackets, due in three weeks.
ERP checks the bill of materials, finds material shortfall, raises a purchase requisition, generates a work order for 1,000 pieces and schedules it on the press line starting Tuesday.
Handover
The work order passes down to MES with quantity, due date, product specification and routing.
In MES
Tuesday 08:00. Operator logs in and starts the job. MES begins counting.
09:12. Production rate drops below standard. MES flags it on the supervisor’s dashboard.
09:41. Machine stops. MES records the downtime and prompts the operator to select a reason. Tool change is selected.
10:05. Production resumes. MES logs 22 minutes of downtime against tooling.
11:30. Quality inspection records four rejections. MES logs them against that batch and machine.
14:00. Batch completed. Actual output is 996 good pieces, four rejected, in six hours and eighteen minutes against a planned six hours.
Back to ERP
MES sends the actual completion up. ERP updates finished stock to 996, adjusts material consumed, books the real machine time to costing, and revises the remaining schedule.
What this shows
ERP never saw the 22 minute stoppage or the rate drop. It did not need to.
MES never issued the purchase order or calculated the customer invoice. It did not need to.
Each one did its job, and the connection between them made both more accurate.
When Does a Factory Need MES?
Not every plant has one, and this is a fair question in interviews.
A factory usually needs MES when
- Machine downtime is a significant problem and nobody knows the real reasons
- Production data is collected on paper and entered later
- OEE is talked about but not measured reliably
- Traceability is required by customers or regulators
- The plant runs many small batches with frequent changeovers
- Quality problems are discovered hours after they began
- The plant is investing in automation and machine connectivity
A factory may not need MES yet when
- Volumes are low and the process is simple
- One supervisor can see the whole floor
- Basic ERP discipline is not yet in place
The sequence that works
Get ERP right first, then add MES.
Adding MES to a plant with unreliable master data and poor ERP discipline usually produces excellent real time data that nobody can act on, because the plan it is compared against is unreliable.
MES vs ERP vs SCADA vs PLC
Students often meet these four terms together, and knowing where each sits is genuinely useful.
Manufacturing systems are described as a hierarchy of levels.
| Level | System | What it does |
|---|---|---|
| Level 0 | Sensors and actuators | Physically sense and act on the process |
| Level 1 | PLC | Controls the machine, running the logic in milliseconds |
| Level 2 | SCADA and HMI | Supervises and displays machine and line status |
| Level 3 | MES | Manages production execution across the shop floor |
| Level 4 | ERP | Plans and manages the whole business |
How to remember it
PLC controls one machine.
SCADA watches a group of machines.
MES manages the whole shop floor and the production orders on it.
ERP runs the company.
The practical distinction between SCADA and MES
SCADA is mainly about equipment. It shows temperatures, pressures, speeds and alarms.
MES is mainly about production. It links that equipment activity to a specific work order, product, batch and operator.
Benefits of Each System
Benefits of ERP
- One shared source of information across departments
- Better material planning and lower inventory
- Accurate costing and profitability visibility
- Reliable delivery commitments
- Easier compliance and audit records
- Less duplicate data entry
Benefits of MES
- Real time visibility of what is actually happening
- Accurate downtime data with real reasons
- Reliable OEE measurement
- Faster reaction to problems, in minutes rather than shifts
- Full traceability for recalls and customer complaints
- Paperless shop floor with work instructions at the machine
- Better data for improvement projects
The combined benefit
Planning becomes realistic because it is based on what the plant actually achieves rather than what the standard says it should achieve.
What Students Should Take From This
You will not implement either system as a fresher. You will use both.
What to understand
The difference in scope and time horizon, which is the core concept.
What OEE means and how it is calculated, since MES exists largely to measure it.
Why downtime reason codes matter, because they are the raw material of most improvement projects.
How work orders flow down and actual data flows back up.
What to be able to do
Pull production and scrap data from a plant system yourself rather than requesting a report.
Read an OEE dashboard and say which of availability, performance or quality is the problem.
Question data that looks wrong, because both systems can produce confident nonsense when the input is poor.
A suggestion worth acting on
If you can, install a free ERP such as ERPNext or Odoo Community and run one work order through it.
Then build a simple dashboard in Power BI, which is free, using sample production data with downtime and output figures.
Doing both teaches you more about the ERP and MES relationship than any chapter, and almost no graduate arrives having done either.
Frequently Asked Questions (FAQs)
1. What is the main difference between MES and ERP?
ERP plans and manages the whole business over weeks and months.
MES monitors and controls production on the shop floor in real time, in seconds and minutes.
2. Does MES replace ERP?
No.
They serve different purposes and work best together, with ERP sending plans down and MES sending actual results back up.
3. Which comes first, ERP or MES?
ERP usually comes first.
MES depends on accurate plans and master data, so adding it to a plant with poor ERP discipline gives real time data that cannot be acted on reliably.
4. What does MES actually track?
Machine status, downtime and its reasons, live production counts, OEE, operator and shift data, quality events and full batch traceability.
5. What is OEE?
Overall equipment effectiveness, calculated from availability, performance and quality.
It is the standard measure of how well equipment is being used, and measuring it reliably is one of the main reasons plants install MES.
6. Can ERP show real time machine downtime?
Not directly.
ERP relies mostly on manual entry, so a stoppage only appears once someone records it, often at the end of the shift.
7. Where do PLC and SCADA fit compared with MES and ERP?
PLC controls an individual machine, SCADA supervises a group of machines, MES manages production across the shop floor, and ERP runs the business.
They form levels 1 to 4 of the manufacturing systems hierarchy.
8. What is the difference between SCADA and MES?
SCADA focuses on equipment, showing temperatures, speeds and alarms.
MES focuses on production, linking machine activity to a specific work order, product, batch and operator.
9. Do all factories have MES?
No.
Many smaller plants run on ERP alone with manual production reporting, and MES becomes worthwhile when downtime, traceability or data accuracy becomes a real constraint.
10. Which system will I use as a manufacturing engineer?
Both.
You will use ERP for material, work orders, scrap data and costing, and MES for downtime, OEE and live production performance.
Conclusion
Two systems, two questions, two time horizons.
ERP asks what should we make, buy and charge, looking weeks and months ahead.
MES asks what is happening on that machine right now, updating every few seconds.
Three things to remember for exams and interviews
ERP plans the business, MES runs the shop floor.
Work orders flow down from ERP, and actual production data flows back up from MES.
MES sits at level 3 of the automation hierarchy and ERP at level 4, above SCADA and PLC.
Two things to do as a student
Understand OEE and what its three components mean.
Practise pulling data yourself rather than waiting for a report.
One thing worth carrying into your career
The ERP tells you what was supposed to happen. The MES tells you what actually happened.
When those two disagree, that gap is almost always where the real problem is hiding, and finding it is a large part of what a manufacturing engineer is paid to do.

