Operator checking the status of a production line on a terminal with machines in the background

What is a manufacturing execution system

A manufacturing execution system (MES) is software that tracks and controls production on the shop floor in real time: it receives the work order from the ERP, tells each work center what to run, records what actually happened, and sends the result back to the ERP.

It sits between planning (ERP) and the equipment (PLCs, sensors). The ERP knows what was sold and bought; the MES knows, minute by minute, what the line is doing, why it stopped and how many good parts came out.

MES visual map

The map shows the ERP, MES and shop-floor pyramid, the data flow between levels and the OEE example used in this article.

MES: FROM ERP TO THE SHOP FLOOR
Visual map 146: Manufacturing Execution System (MES): Functions and ERP Link. Click the map to see it full size.Download the map as PNG
Advertisement

Where the MES fits: the ISA-95 pyramid

The ISA-95 standard (IEC 62264) organizes enterprise-to-control integration into levels. The MES sits at level 3, manufacturing operations management.

LevelWhat it isExamples
4Business planningERP, sales, purchasing, costing
3Manufacturing operationsMES, detailed scheduling, quality, traceability
2Supervision and controlSCADA, HMI
1Direct controlPLCs, drives, sensors
0Physical processMachines, line, operator

Levels 4 and 3 work on different horizons: the ERP plans in days and weeks (see MRP and the master production schedule); the MES works by shift, order and operation.

MES functions

The 1997 MESA International model lists 11 functions. In practice they group into six blocks:

No company needs all of them at once. Most start with reporting and downtime, which already feeds OEE and the andon.

MES and ERP integration

DirectionData exchanged
ERP to MESProduction orders, quantities and dates, bill of materials, routing, priorities
MES to ERPGood and scrapped quantity, actual material consumption, machine and labor hours, order status

The gain is in the second direction. Without an MES, the ERP receives late, hand-keyed confirmations, and actual cost and inventory lag. With it, production cost comes from measured data, not estimates.

Example: OEE calculated from MES data

Illustrative example: a machining line with a planned shift of 480 min. The MES logged 60 min of downtime, an ideal cycle time of 30 s (0.5 min) per part, 700 parts produced and 679 good.

ItemCalculationResult
Run time480 − 60420 min
Availability420 ÷ 48087.5%
Performance(700 × 0.5) ÷ 42083.3%
Quality679 ÷ 70097.0%
OEE0.875 × 0.833 × 0.9770.7%

Check: 679 good parts × 0.5 min = 339.5 min of fully productive time, and 339.5 ÷ 480 = 70.7%. The MES earns its keep on the input data: with manual logging, the 60 min of downtime is usually under-reported and OEE looks better than it is.

Advertisement

How to implement it in 6 steps

  1. Define the problem: late reporting, no traceability, downtime with no recorded cause.
  2. Map the flow and the data of the line, as in value stream mapping.
  3. Pick a pilot: one line or cell with a known bottleneck.
  4. Integrate: ERP (orders and confirmations) and machines (counters and states).
  5. Standardize downtime and scrap codes before go-live.
  6. Train, use it in the daily meeting, and only then expand to other lines.

The MES is the shop-floor data backbone of Industry 4.0, but it does not replace a well-defined process.

Common mistakes

Frequently asked questions

What does MES stand for?

Manufacturing Execution System. It controls and records production in real time.

What is the difference between MES and ERP?

The ERP plans resources and the business (orders, inventory, cost). The MES executes and records what happens in production, by order, machine and shift.

Does an MES replace production planning?

No. Planning plans; the MES executes, collects data and allows rescheduling with real information.

Which ISA-95 level is the MES?

Level 3, between the ERP (level 4) and supervision and control (levels 2 and 1).

Does every plant need an MES?

No. With few machines, a spreadsheet and a board may be enough. An MES pays off with many orders, required traceability, or manual reporting that delays decisions.

Does the MES calculate OEE?

Yes, when it collects downtime, part counts and scrap. It is one of the first applications.

Advertisement

Sources

  1. ANSI/ISA-95 / IEC 62264. Enterprise-Control System Integration.
  2. MESA International. MES Functionalities and MRP to MES Data Flows (white paper), 1997.
  3. KLETTI, J. (Ed.). Manufacturing Execution Systems: MES. Berlin: Springer, 2007.
  4. NAKAJIMA, S. Introduction to TPM. Cambridge: Productivity Press, 1988.

Keep studying: trusted sources and links

Save this address: Manufatura Enxuta is your school for lean manufacturing. Come back whenever you need to study, with a complete article, a visual map and trusted sources. Follow one of the learning paths or check the A–Z glossary.

Want to lead change with a method?

Download the free e-book Lean for Leaders and see how to sustain lean culture day to day.

Download the e-book
Photo of Vagner Soares

About the author

Vagner Soares

Lean Manufacturing & Behavioral Management Specialist

Over 20 years in the automotive and metalworking industries (GM and Dana), Lean Manufacturing practitioner since 2006. SENAI instructor and mentor in Brazil’s Brasil Mais Produtivo program, delivering consulting, training and audits for 50+ companies, combining quality, productivity and people development.