On a factory floor the question that matters is not "what does the plan say?" but "what is happening right now, and what should the operator do next?" An ERP is superb at the first kind of question and not designed for the second.
That gap is where a manufacturing execution system, an MES, lives. Understanding the line between the two, and how they pass information across it, saves many manufacturers from buying the wrong thing or expecting one system to do the other's job.
Two time scales
ERP works in days, weeks and months. It answers what we should make, when, with which materials and at what cost: it plans demand, schedules coarsely, releases production orders, records material consumption and output, calculates cost and handles finance. MES works in minutes and seconds. It answers what is happening on each machine and line, what this operator should do next and whether this unit is within specification. In a sentence: ERP says "make 5,000 units of product A this week"; MES says "Line 3 is running order 4417 with twenty minutes of material left; load lot 88213 now; the last check was out of tolerance, hold the batch."
Most manufacturing ERPs already cover bills of materials and routings, production orders, material requirements planning, work-centre capacity planning, progress reporting (usually per operation or order completion), material issue and receipt (often backflushed, meaning consumption is calculated from output), costing, and basic quality and lot tracking. For many small and mid-sized manufacturers that is enough, especially when processes are simple and operators reporting at the end of a job is acceptable; see our overview of ERP for manufacturing.
An MES adds detailed scheduling and dispatching, work instructions with drawings and checklists, real-time collection from machines, sensors, scanners and operators, tracking of each order, unit or batch through operations, performance measurement such as availability, performance and quality combined as overall equipment effectiveness (OEE), in-process quality checks with statistical process control and hold handling, traceability and genealogy of which materials, equipment, people and settings went into each unit, electronic batch or device history records for regulated industries, downtime and reason tracking, material and tool management at the line, labour tracking and connection to programmable logic controllers, supervisory systems, robots and test stations.
The blurry boundary
In practice the line is not neat. Modern ERPs add shop-floor features such as tablets for operators, simple machine data capture, work instructions and quality modules. MES products often include scheduling and inventory. Some vendors sell both as a unified suite, and industry-specific products for food, pharma or electronics bundle MES-like functions. Do not trust labels. Ask what is actually provided and at what depth, and test it against your own scenarios in scripted demos (how to run demos).
Do you need one?
Many manufacturers run well without one. Consider an MES if several of these are true. Managers learn about problems at the end of the shift or next day. Traceability requirements are strict, as in food, medical devices, automotive or aerospace, and manual records are slow or error-prone. Quality problems are costly and found late. Scheduling is complex, with many routings, setups and constraints. You suspect large losses to downtime and slow running but cannot quantify them. You make high mix, low volume work where operators need specific instructions per job. Paper dominates: travellers, logs and checklists. Regulators demand electronic records, audit trails and validated processes. Several sites need standardised execution and comparable data. Or digital initiatives such as predictive maintenance depend on shop-floor data you do not collect.
You probably do not need one yet if processes are simple with long runs and stable products, traceability needs are low, the team is small enough that supervisors see everything first-hand, operators already report adequately in the ERP through scanning or tablets, and budget and capacity for another system are limited. In that case improve ERP usage first, with better data capture, accurate routings, good master data and scanning at key points. Often a modest investment captures most of the benefit; see warehouse management basics for the materials-side equivalent.
How they work together
If you use both, integration design is crucial. A typical pattern sends released production orders with quantities, due dates and priority, bills of materials and routings (or the data needed for work instructions), item and resource master data, and material availability and lot information from ERP to MES; and returns confirmations of quantities produced, scrapped and reworked per operation, actual times and resources used, material consumption with lot and serial numbers, quality results and holds, status updates and delays, and downtime and OEE summaries where relevant.
Points to decide: who owns the schedule (ERP gives the high-level plan and MES refines, so define the boundary); which system is master for routings, bills of materials and work instructions, to avoid keeping the same data in two places; how often to exchange data; how failures and discrepancies are handled (a failed confirmation should alert someone and be recoverable); consistency of clocks, units and calendars; and granularity, since the ERP rarely needs every sensor reading and summaries suffice while detail stays in the MES or a data platform. Standards exist for exchanging information between enterprise and control systems; the ISA-95 model describes levels from field devices up to business planning and many vendors align with it, a useful framework for thinking about who does what.
Below the MES sit the machines, and getting data from them is often the hardest, least glamorous part. Newer equipment may offer standard interfaces; older machines may need retrofitted sensors or gateways. Sensors drift and signals drop, and states like "running" or "stopped" need clear definitions. A reading of "temperature 82" means little without knowing which order, product and step it belongs to, and that context is what the MES adds. Operational networks have different security needs from office networks; separate and protect them (IoT security). An IoT or industrial data platform may sit between machines and enterprise systems to collect, normalise and route data, as an alternative or complement to an MES depending on need.
Choosing, and implementing
If you decide to proceed, define the problems you want to solve (less unplanned downtime, lower scrap, regulatory traceability, shorter changeovers) and measure the baseline: OEE, scrap, lead times, audit findings. Document processes and requirements (ERP requirements). Check ERP capabilities first. Shortlist options from your ERP vendor, specialists or industry-specific solutions, and test with real scenarios including awkward ones such as rework, partial batches and machine failures. Evaluate integration: pre-built connectors, who maintains them and at what cost. Consider scale from one pilot line to several sites, vendor stability and local support, and full cost: software, hardware such as terminals, scanners and sensors, integration, validation, training and support (total cost of ownership).
Start with a pilot on one line to learn and prove value. Involve operators and supervisors early, because their trust determines adoption (change management). Keep it simple at first, capturing a few data points reliably before adding more. Clean master data, since routings, bills of materials and work-centre definitions must be accurate. Plan for downtime and fallbacks. Train thoroughly and support on the floor in the first weeks. Use the data: review OEE, downtime and quality regularly and act. Then extend.
The pitfalls: buying an MES to fix an ERP data problem (if routings and bills of materials are wrong, a new system will not cure it); underestimating integration; automating before understanding the process; screens that slow operators down, which will be bypassed; too much data and too little action; neglecting validation in regulated environments; and no clear ownership between IT, operations and engineering.
A work order through both systems (illustrative)
To see the division of labour, follow one production order. The details are invented.
In the ERP, a planner releases order 4417 for two thousand units of a machined housing, using the bill of materials and routing. The ERP reserves material, calculates the planned start and end dates and posts the order to the production schedule. It sends the order to the MES, with the routing steps, the required materials and the quality plan.
On the shop floor, the MES shows the order in the queue for the milling centre. The operator logs in on a terminal, scans the order and the material lot, and the MES checks that the lot is approved for this product. It displays the work instruction for the first operation, with the drawing and tooling list. The machine's controller reports cycle counts to the MES, which tracks quantities in real time. After the first off, the operator records measurements, and the MES compares them with tolerance. One value is slightly high, so the MES raises a hold, and the supervisor adjusts the offset and approves release.
As the order progresses, the MES records good and scrapped units, downtime events with reasons and the time spent. At the end of each operation it posts confirmations to the ERP: quantities, times and material consumed with lot numbers. The ERP updates stock, work in progress and cost. When the last operation completes, the ERP receives the finished goods into inventory with full genealogy, and the order closes.
At no point did the planner need to know what was happening minute by minute, and at no point did the operator need to know about the ledger. Each system handled what it does best, and the data flowed between them.
Lightweight alternatives to a full MES
A full MES is a significant project. Some plants choose lighter options. Many ERPs now offer shop-floor modules with touch terminals, simple work instructions and basic quality entries. Specialist tools handle a single function, such as OEE monitoring, digital work instructions or paperless quality checks, with simple integration to the ERP. Low-code platforms can build simple production tracking apps. These options suit plants that need some of the MES benefits without the cost and complexity. Their risk is fragmentation: several small tools that do not talk to each other. Keep an eye on the whole picture and choose tools with good interfaces.
Data model considerations
Integration depends on a shared understanding of data. Agree the identifiers for orders, operations, resources, materials and lots across systems. Agree units, time zones and calendars. Agree status values: what does "started", "paused" and "completed" mean in each system? Agree how rework and scrap are recorded, and how partial confirmations are handled. Write these into an interface specification, and test with real examples. Many integration issues arise from ambiguous definitions, not from technology.
Handling exceptions
Production never goes exactly to plan. Machines break, materials arrive late, orders change. Decide how exceptions flow. If a machine fails, who reschedules the work, and how does the change reach the MES and the ERP? If an order is cancelled in the ERP while in progress, what happens to work already done? If material is substituted, how is the change recorded and approved? Design the exception paths as carefully as the normal ones, and test them. A system that handles the normal case well but stalls on exceptions will frustrate users.
Validation and compliance in regulated plants
In pharmaceuticals, medical devices, food and similar industries, MES and ERP may need validation: documented proof that they do what they are supposed to and that records are reliable. This includes specifying requirements, testing, controlling changes, managing access and ensuring electronic records and signatures meet regulations. Validation adds time and cost, so factor it in. Choose vendors with experience in your regulatory environment, and ask what documentation and support they provide. Keep records of your validation, and re-validate after significant changes.
Vendor and partner selection for MES
An MES choice is a long-term one. Check the vendor's track record in your industry, the size and stability of the company, the product's roadmap and the strength of local support. Ask for customer references with similar processes, and visit a site if possible. Check integration experience with your ERP, ideally with pre-built connectors. Evaluate usability with operators in the room, not only managers. Ask about licensing: per user, per machine, per site or per module, and about the cost of changes. Include data ownership and exit rights in the contract.
Organisation and ownership
An MES sits between operations, engineering and IT, and needs clear ownership. Appoint a business owner from operations, accountable for results, and a technical owner for the system. Create a small team that includes representatives from production, quality, maintenance and IT, with regular meetings. Define how requests for changes are handled and prioritised. Without such an arrangement, the system tends to become an orphan, with changes made informally and quality declining.
Measuring success
Define a handful of measures tied to the original goals. If the goal was traceability, measure the time to produce a genealogy report and the completeness of records. If the goal was downtime reduction, measure the share of time lost by cause and the improvement over time. If the goal was paperless operation, measure the reduction in paper forms and the time saved. Review them quarterly with plant leadership. Success means that the system is used, that it improves outcomes and that people would not want to go back.
ERP and MES are not competitors. They are two halves of a conversation: the ERP says what the business needs, the MES manages how it gets made, and each reports back. Whether you need both depends on how much real-time control, traceability and detail your operation demands. Start from the problem, not the product. Often the right answer is a better-used ERP; where it is not, a well-chosen, well-integrated MES turns the shop floor from a black box into a source of timely, trustworthy information.