What Is MES (Manufacturing Execution System)?

What Is MES (Manufacturing Execution System)?

MES (Manufacturing Execution System) is a software system that executes the production plan coming from the ERP on the factory floor, collects real-time data from machines and operators, and shows the current state of production at any moment. It fills the gap between planning and the machine; it brings work order, downtime, scrap, quality and traceability data together in a single source.

In brief

  • In the ISA-95 model, MES is the Level 3 layer between ERP (Level 4) and automation/SCADA (Level 2).
  • Core functions: work order execution, machine monitoring, downtime and scrap recording, OEE, quality, traceability.
  • Users: production manager, shift supervisor, planning, quality, maintenance and operators.
  • Key benefit: production data comes in real time, verifiably and from a single source instead of paper and Excel.

What Does an MES Do?

In a factory, the ERP answers the question “what will be produced”: which order, which quantity, on which date. The MES answers the question “what is happening right now”. It assigns the work order to the machine and operator, records when the operator starts and finishes production, reads from sensors or the PLC whether the machine is running, keeps stops together with their reasons, and counts the quantities produced and scrapped.

According to the widely accepted MESA International model, the core functional areas of an MES are:

  • Resource management: tracking the status of machines, operators, moulds and tools.
  • Work order dispatch and execution: distributing the plan to the shop floor and recording progress.
  • Data collection: automatic or manual data from machines, counters and operator terminals.
  • Performance analysis: OEE, cycle time, shift and operator performance.
  • Quality management: control plans, SPC, non-conformance records.
  • Traceability: lot, batch and product genealogy.
  • Maintenance management: failure history, MTTR/MTBF, planned maintenance.

Why Does MES Matter?

In most factories, information from the shop floor turns into a paper form at the end of the shift, into Excel the next day and into a report the following week. This delay causes two problems: decisions are made late, and because the data is entered by hand its reliability drops. An MES shortens this chain. When a machine stops, the shift supervisor sees it immediately; when scrap rises, the quality team intervenes within the same hour; at the end of the month, the question “what is our OEE?” is answered with a single number rather than a debate.

The second important contribution is standardisation. Downtime reasons are coded, work orders close with the same flow and quality checks are triggered according to the control plan. This makes different shifts and plants comparable.

How Does an MES Work? A Typical Flow

  1. An order is opened in the ERP, a work order is created and transferred to the MES.
  2. Planning assigns the work order to a machine and shift on the Gantt chart.
  3. The operator starts the work order on the HMI terminal; the work instruction and drawing appear on screen.
  4. Machine counter and status information is read automatically via the PLC, OPC UA or an IoT network.
  5. When the machine stops, the MES opens a stop record; the operator selects the reason.
  6. When a measurement is due under the control plan, a quality task is triggered and the result lands on the SPC chart.
  7. When the work order is completed, the quantities produced and scrapped are sent to the ERP as a confirmation.

The Concrete Benefits of an MES

AreaBefore MESAfter MES
Downtime trackingEstimated, on paperAutomatic, with the reason, to the second
OEEMonth end, disputedPer shift, real time
TraceabilitySearching for forms in the archiveWithin seconds by lot number
ERP confirmationManual entry, delayedAutomatic, real time

Common Mistakes

  • Wanting everything from day one: Rolling out all modules at once makes the project heavy. Starting with machine monitoring and downtime is healthier.
  • Not involving operators: The person selecting the downtime reason is the operator; if the screen is complex, data quality drops.
  • Leaving ERP integration until last: If double data entry starts, the MES is perceived as “extra work”.
  • Leaving data collection manual: Automatic counter reading should be preferred on every machine where possible.

Frequently Asked Questions

Are MES and ERP the same thing?
No. The ERP manages orders, inventory and cost; the MES manages on which machine, with which operator, in how much time and at what quality that order is produced on the shop floor. The two complement each other; the MES sends production and scrap confirmations from the shop floor to the ERP.
Does a small factory need an MES?
Even with few machines, an MES pays off if downtime, scrap and work orders are tracked with Excel or paper. What matters is not scale but the cost created by production data arriving late and wrong. A modular MES can start small and grow.
How long does an MES implementation take?
It depends on the scope. Core functions such as machine monitoring and downtime recording can go live within a few weeks; as ERP integration, quality and traceability modules are added, the project extends over months. Phased roll-out is the most common and safest approach.

MES in EFFIX MES

EFFIX MES is ACD Veri Mühendisliği’s sector-independent Manufacturing Execution System and offers the functional areas listed above in a modular way: planning and scheduling, real-time production monitoring, quality, maintenance, inventory and traceability, energy and reporting. Machine data is collected automatically via the Inolink wireless IoT network and protocols such as OPC UA, MQTT and Modbus; operators work through the HMI terminal. Production and scrap confirmations flow both ways with ERPs such as SAP, IFS and Netsis. For details, see the EFFIX MES page or request a demo.