MES study materials
MES study resources

MES cheat sheet

MES · Keep the key ideas within reach.

Quick reference

MES Fundamentals

  • MES sits between ERP (business planning) and SCADA/PLC (process control); it executes and records what happens on the shop floor in real time.

  • ISA-95 (IEC 62264) Level 3 is manufacturing operations management; Level 4 is ERP, Levels 0-2 are physical process and control.

  • Core MES functional scope per ISA-95: production scheduling, dispatching, execution, data collection, quality, maintenance, and inventory tracking.

  • MES is not ERP: ERP plans orders and costs; MES consumes orders, dispatches work, and reports actual consumption and yield back.

  • MOM (manufacturing operations management) is the broader ISA-95 term; MES is the production-focused subset of MOM.

  • Key MES value metrics: OEE, schedule adherence, first-pass yield, cycle time, WIP turns, and traceability completeness.

  • A work order is released from ERP to MES; MES converts it into operations, then dispatches to work centers and resources.

  • Real-time vs near-real-time: MES typically requires sub-minute visibility of production events, while ERP reporting is batch/daily.

  • MES master data includes routings, BOMs, work centers, resources, and material masters; stale master data is a leading cause of MES failure.

Quick reference

Production Operations Management

  • Finite scheduling respects resource capacity; infinite scheduling assumes unlimited capacity and is used for rough planning only.

  • Schedule adherence = (orders completed on time / orders scheduled) x 100; it measures execution, not plan quality.

  • Dispatching rules: FIFO, EDD (earliest due date), SPT (shortest processing time), and critical ratio; each optimizes a different objective.

  • Critical ratio = (due date - now) / remaining processing time; CR < 1 means the job is behind schedule.

  • Takt time = available production time / customer demand; it sets the pace, not the machine speed.

  • Line balancing: assign tasks to stations so station cycle times are as equal as possible and no station exceeds takt.

  • WIP (Little's Law): throughput = WIP / cycle time; reducing WIP shortens cycle time at constant throughput.

  • Setup reduction (SMED) converts internal setups to external; lower setup time enables smaller economic batch sizes.

  • Electronic work instructions and enforced operation sequencing in MES reduce skipped steps and wrong-revision assembly.

Quick reference

Quality Management

  • SPC control limits are typically mean +/- 3 sigma of the process; specification limits are customer/design limits and are not control limits.

  • Cp = (USL - LSL) / (6 sigma); Cpk = min[(USL - mean), (mean - LSL)] / (3 sigma); Cpk penalizes off-center processes.

  • Control chart rules (Western Electric/Nelson): one point beyond 3 sigma, 2 of 3 beyond 2 sigma, 8 in a row on one side indicate special-cause variation.

  • Nonconformance (NC) workflow: detect, contain, disposition (use-as-is, rework, scrap, return), then CAPA if systemic.

  • In MES, quality holds block material movement; release requires an authorized disposition record tied to the lot.

  • First pass yield (FPY) = units passing first time / units started; rolled throughput yield multiplies FPY across process steps.

  • Attribute vs variable data: attribute is pass/fail (p-charts, c-charts); variable is measured (X-bar/R, X-bar/S charts).

  • Sampling plans (ANSI/ASQ Z1.4, ISO 2859-1) define AQL, lot size, sample size, and accept/reject number; they do not guarantee zero defects.

  • Traceability links each unit or lot to materials, equipment, operators, and process parameters so a defect can be bounded to a scope.

Quick reference

Inventory and Material Tracking

  • Inventory accuracy = (counted items matching system / items counted) x 100; cycle counting targets high-value or high-movement items more often.

  • Lot/batch tracking records a unique identifier per production run; serial tracking records a unique identifier per unit.

  • FIFO and FEFO: FEFO (first expired, first out) is mandatory for perishable or shelf-life-controlled material.

  • Backflush consumes components based on BOM quantity at operation completion; it hides scrap and mis-consumption if not reconciled.

  • Genealogy (as-built) records parent-child material relationships so a recall can trace forward to finished goods and backward to suppliers.

  • WIP location tracking must distinguish physical location from logical status (released, in process, on hold, quarantined).

  • Kanban is a pull signal; the card authorizes replenishment and caps WIP at the number of cards in circulation.

  • Reservation and allocation tie stock to a work order; unreserved stock is available for other demand and can cause shortages.

  • Inventory reconciliation should explain variance by root cause: receiving error, BOM error, scrap not recorded, or misplacement.

Quick reference

Equipment and Maintenance Management

  • OEE = Availability x Performance x Quality; world-class reference is often cited as 85%, with 90/95/99.9% component benchmarks.

  • Availability = run time / planned production time; Performance = (ideal cycle time x total count) / run time; Quality = good count / total count.

  • Six big losses: breakdowns, setup/adjustments, minor stops, reduced speed, process defects, and startup rejects.

  • MTBF = total operating time / number of failures; MTTR = total repair time / number of repairs; availability from these = MTBF / (MTBF + MTTR).

  • Preventive maintenance is calendar- or usage-based; predictive maintenance is condition-based using vibration, thermography, or oil analysis.

  • CMMS stores asset hierarchy, work orders, spare parts, and maintenance history; MES typically exchanges downtime and asset-state data with it.

  • Downtime reason codes must be mutually exclusive and exhaustive; poor reason trees destroy OEE trend usefulness.

  • Planned production time excludes planned breaks and scheduled maintenance; including them understates availability.

  • Equipment state model in MES commonly uses run, idle, down, setup, and blocked/starved, with reason codes per state.

Quick reference

Data Collection and Integration

  • OPC UA is the standard for plant-floor interoperability; it provides information models, security, and TCP-based transport.

  • ISA-95/B2MML defines the message exchange between ERP (Level 4) and MES (Level 3) for schedules, work orders, and material confirmations.

  • Historian collects time-series tags at scan rates; MES consumes events and transactions, not raw tags, for business logic.

  • Barcode/RFID data capture requires scan-point design: what is scanned, when, and what transaction it triggers.

  • Data quality dimensions for MES: completeness, accuracy, timeliness, consistency, and uniqueness of the record.

  • Time synchronization across PLCs, MES servers, and historians (NTP/PTP) is required for correct event ordering and audit trails.

  • Integration patterns: point-to-point, middleware/ESB, and event-driven messaging; event-driven scales better for high-volume shop data.

  • Manual data entry should be minimized and, where unavoidable, validated at entry with range checks and operator authentication.

  • Sampling frequency must satisfy the process requirement: too slow misses transient events, too fast inflates storage and network load.

Quick reference

System Architecture and Configuration

  • Typical MES tiers: presentation, application/business logic, integration, and data; separation enables scaling and validated change control.

  • High availability options: active-passive clustering, load-balanced application servers, and replicated databases with defined RPO/RTO.

  • Configuration over customization: use configurable workflows and master data so upgrades remain feasible and validation scope stays bounded.

  • Multi-site MES design choices: single global instance, regional instances, or site instances with a corporate data warehouse.

  • Role-based access control must separate configuration, production execution, and quality disposition duties.

  • Change management: configuration changes affecting GxP records require impact assessment, testing, approval, and version control.

  • Disaster recovery must define backup frequency, restore testing, and documented recovery procedures with periodic drills.

  • Interface design should be idempotent: retries of the same work-order or material message must not duplicate transactions.

  • Environment promotion path: development, test/validation, and production, with controlled migration of configuration and master data.

Quick reference

Regulatory Compliance and Validation

  • 21 CFR Part 11 applies to electronic records and signatures for FDA-regulated records; it requires audit trails, access control, and signature integrity.

  • Part 11 electronic signature elements: signer's printed name, date/time, and meaning of the signature, all linked to the record.

  • Audit trails must be secure, computer-generated, time-stamped, and independent of the operator; they cannot be disabled by users.

  • GAMP 5 risk-based validation: categorize software (category 3 configurable, category 4 configured, category 5 custom) and scale effort accordingly.

  • Validation lifecycle: URS, risk assessment, IQ, OQ, PQ, traceability matrix, validation summary report, and periodic review.

  • Data integrity ALCOA+: attributable, legible, contemporaneous, original, accurate, plus complete, consistent, enduring, and available.

  • EU Annex 11 covers computerised systems in GMP, including supplier assessment, data storage, and business continuity.

  • Electronic batch records must capture the complete production record with a tamper-evident audit trail and controlled printouts.

  • Change control for validated systems requires revalidation or documented impact assessment before release to production.

Quick reference

Reporting, Analytics, and Continuous Improvement

  • OEE waterfall reporting decomposes loss: planned time -> run time -> net run time -> fully productive time.

  • Pareto analysis ranks downtime or defect causes; typically 80% of loss comes from roughly 20% of causes, prioritizing improvement.

  • DMAIC: define, measure, analyze, improve, control; MES data supplies the measure and control phases.

  • Statistical process control and trend rules in MES dashboards detect drift before specification limits are breached.

  • KPI hierarchy: plant-level OEE and schedule adherence roll up from line, cell, and work-center metrics.

  • Yield analysis: pareto of defect codes by product, line, shift, and supplier exposes concentrated loss sources.

  • Data latency matters: real-time dashboards drive operator action; daily reports drive management decisions.

  • Continuous improvement requires a defined baseline, controlled change, and post-change measurement using the same metric definition.

  • Report validation: calculations must be traceable to source records, and report logic changes fall under change control.

Quick reference

MES Fundamentals

  • MES scope spans production, quality, inventory, maintenance, and data collection; it is the execution layer, not the planning layer.

  • ISA-95 Level 3 functions map to MES; Level 4 is ERP; Level 2 is SCADA; Level 1 is controllers; Level 0 is the physical process.

  • Work order flow: ERP release -> MES receipt -> operation sequencing -> dispatch -> execution -> confirmation back to ERP.

  • MES master data: routings, BOMs, work centers, resources, reason codes, and material masters; accuracy is prerequisite to execution.

  • OEE, schedule adherence, FPY, and cycle time are the primary MES execution KPIs.

  • Real-time data capture distinguishes MES from ERP: events are recorded as they occur, not at period close.

  • Traceability (lot, serial, genealogy) is a core MES capability required by regulated industries.

  • MES integration with ERP uses ISA-95/B2MML messages for schedules, orders, and confirmations.

Quick reference

Production Operations Management

  • Finite capacity scheduling respects resource limits; infinite capacity ignores them and is used for rough-cut planning.

  • Takt time = available time / demand; line balancing targets station cycle times at or below takt.

  • Dispatching rules: FIFO, EDD, SPT, and critical ratio; critical ratio below 1 signals a late job.

  • Little's Law: throughput = WIP / cycle time; reducing WIP shortens cycle time at constant throughput.

  • Schedule adherence = on-time completed orders / scheduled orders x 100.

  • SMED reduces setup time, enabling smaller batches and lower WIP.

  • Electronic work instructions enforce sequence and revision control at the station.

  • Backflush consumes components from the BOM at operation completion and must be reconciled against actual scrap.

Quick reference

Quality Management

  • Cp = (USL - LSL) / (6 sigma); Cpk = min[(USL - mean), (mean - LSL)] / (3 sigma).

  • Control limits are process-derived (typically +/- 3 sigma); specification limits are design/customer limits.

  • Nelson rules: 1 point beyond 3 sigma, 2 of 3 beyond 2 sigma, 8 in a row on one side signal special-cause variation.

  • FPY = first-time passes / units started; RTY multiplies FPY across process steps.

  • Nonconformance disposition options: use-as-is, rework, scrap, return to supplier; systemic causes trigger CAPA.

  • Quality holds in MES block material movement until an authorized disposition is recorded.

  • Attribute data uses p- and c-charts; variable data uses X-bar/R or X-bar/S charts.

  • Sampling plans (ISO 2859-1, ANSI/ASQ Z1.4) define AQL, sample size, and accept/reject numbers.

Quick reference

Inventory and Material Tracking

  • Inventory accuracy = matching counts / counted items x 100; cycle counting targets high-value and high-movement items.

  • FEFO (first expired, first out) is required for shelf-life-controlled material; FIFO applies otherwise.

  • Lot tracking identifies a production batch; serial tracking identifies a single unit.

  • Genealogy links parent and child materials for forward and backward recall tracing.

  • Backflush consumes BOM components at operation completion and hides scrap if unreconciled.

  • Kanban caps WIP at the number of cards in circulation and authorizes replenishment.

  • WIP status (released, in process, hold, quarantined) is distinct from physical location.

  • Reservations tie stock to a work order; unreserved stock can be consumed by other demand.

Quick reference

Equipment and Maintenance Management

  • OEE = Availability x Performance x Quality; 85% is the commonly cited world-class reference.

  • Availability = run time / planned production time; Performance = (ideal cycle time x count) / run time; Quality = good count / total count.

  • Six big losses: breakdowns, setup/adjustments, minor stops, reduced speed, process defects, startup rejects.

  • MTBF = operating time / failures; MTTR = repair time / repairs; availability = MTBF / (MTBF + MTTR).

  • Preventive maintenance is calendar/usage-based; predictive maintenance is condition-based (vibration, thermography, oil analysis).

  • Planned production time excludes planned breaks and scheduled maintenance.

  • Downtime reason codes must be mutually exclusive and exhaustive for valid OEE trends.

  • CMMS holds asset hierarchy, work orders, spare parts, and maintenance history; MES exchanges downtime and state data with it.

Quick reference

Data Collection and Integration

  • OPC UA provides plant-floor interoperability with information models, security, and TCP transport.

  • ISA-95/B2MML defines ERP-to-MES message exchange for schedules, work orders, and confirmations.

  • Historians store time-series tags at scan rates; MES consumes events and transactions for business logic.

  • Time synchronization (NTP/PTP) across PLCs, MES, and historians is required for correct event ordering.

  • Data quality dimensions: completeness, accuracy, timeliness, consistency, and uniqueness.

  • Interface design should be idempotent so retried messages do not duplicate transactions.

  • Manual entry should be minimized and validated with range checks and operator authentication.

  • Integration patterns: point-to-point, middleware/ESB, and event-driven messaging; event-driven suits high-volume shop data.

Quick reference

System Architecture and Configuration

  • MES tiers: presentation, application, integration, and data; separation enables scaling and validated change control.

  • High availability options: active-passive clustering, load-balanced application servers, replicated databases with defined RPO/RTO.

  • Configuration over customization keeps upgrades feasible and validation scope bounded.

  • Role-based access control separates configuration, execution, and quality disposition duties.

  • Idempotent interfaces prevent duplicate transactions on message retry.

  • Environment promotion: development -> test/validation -> production with controlled configuration migration.

  • Disaster recovery requires defined backup frequency, restore testing, and documented drills.

  • Multi-site options: single global instance, regional instances, or site instances with a corporate data warehouse.

Quick reference

Regulatory Compliance and Validation

  • 21 CFR Part 11 requires audit trails, access control, and signature integrity for electronic records and signatures.

  • Part 11 signature elements: printed name, date/time, and meaning, all linked to the record.

  • Audit trails must be secure, computer-generated, time-stamped, and independent of the operator.

  • GAMP 5 software categories: 3 configurable, 4 configured, 5 custom; effort scales with risk.

  • Validation lifecycle: URS, risk assessment, IQ, OQ, PQ, traceability matrix, summary report, periodic review.

  • ALCOA+: attributable, legible, contemporaneous, original, accurate, plus complete, consistent, enduring, available.

  • EU Annex 11 covers computerised GMP systems including supplier assessment and business continuity.

  • Change control for validated systems requires documented impact assessment before release.

Quick reference

Reporting, Analytics, and Continuous Improvement

  • OEE waterfall: planned time -> run time -> net run time -> fully productive time.

  • Pareto analysis ranks downtime or defect causes to prioritize improvement.

  • DMAIC: define, measure, analyze, improve, control; MES data feeds measure and control.

  • KPI hierarchy rolls up from line, cell, and work-center metrics to plant OEE and schedule adherence.

  • Yield analysis by product, line, shift, and supplier exposes concentrated loss sources.

  • Real-time dashboards drive operator action; daily reports drive management decisions.

  • Report calculations must be traceable to source records and fall under change control.

  • Continuous improvement requires a defined baseline and post-change measurement using the same metric definition.

Quick reference

MES Fundamentals

  • MES is the ISA-95 Level 3 execution layer between ERP (Level 4) and SCADA/PLC (Levels 0-2).

  • Core MES functions: scheduling, dispatching, execution, data collection, quality, maintenance, inventory tracking.

  • Work order flow: ERP release -> MES receipt -> operation sequencing -> dispatch -> execution -> confirmation.

  • MES master data includes routings, BOMs, work centers, resources, and reason codes.

  • Primary execution KPIs: OEE, schedule adherence, FPY, cycle time, WIP turns.

  • Real-time event capture distinguishes MES from batch ERP reporting.

  • Traceability via lot, serial, and genealogy is a core MES capability.

  • ISA-95/B2MML messages carry schedules, work orders, and confirmations between ERP and MES.

Quick reference

Production Operations Management

  • Finite scheduling respects capacity; infinite scheduling is for rough planning only.

  • Takt time = available time / demand; stations must not exceed takt.

  • Critical ratio = (due date - now) / remaining processing time; CR below 1 means late.

  • Little's Law: throughput = WIP / cycle time.

  • Schedule adherence = on-time completed orders / scheduled orders x 100.

  • SMED converts internal setups to external, enabling smaller batches.

  • Dispatching rules: FIFO, EDD, SPT, critical ratio.

  • Electronic work instructions enforce sequence and revision control at the station.

Quick reference

Quality Management

  • Cp = (USL - LSL) / (6 sigma); Cpk = min[(USL - mean), (mean - LSL)] / (3 sigma).

  • Control limits are process-derived; specification limits are design/customer limits.

  • Nelson rules detect special-cause variation: 1 beyond 3 sigma, 2 of 3 beyond 2 sigma, 8 in a row on one side.

  • FPY = first-time passes / units started; RTY multiplies FPY across steps.

  • Nonconformance dispositions: use-as-is, rework, scrap, return; systemic causes trigger CAPA.

  • Quality holds block material movement until authorized disposition is recorded.

  • Attribute data uses p- and c-charts; variable data uses X-bar/R or X-bar/S charts.

  • Sampling plans define AQL, sample size, and accept/reject numbers.

Quick reference

Inventory and Material Tracking

  • Inventory accuracy = matching counts / counted items x 100.

  • FEFO is required for shelf-life-controlled material; FIFO applies otherwise.

  • Lot tracking identifies a batch; serial tracking identifies a unit.

  • Genealogy links parent and child materials for recall tracing.

  • Backflush consumes BOM components at operation completion and hides scrap if unreconciled.

  • Kanban caps WIP at the number of cards in circulation.

  • WIP status is distinct from physical location.

  • Reservations tie stock to a work order; unreserved stock can be consumed by other demand.

Quick reference

Equipment and Maintenance Management

  • OEE = Availability x Performance x Quality; 85% is the world-class reference.

  • Availability = run time / planned production time; Performance = (ideal cycle time x count) / run time; Quality = good count / total count.

  • Six big losses: breakdowns, setup, minor stops, reduced speed, process defects, startup rejects.

  • MTBF = operating time / failures; MTTR = repair time / repairs; availability = MTBF / (MTBF + MTTR).

  • Preventive maintenance is calendar/usage-based; predictive is condition-based.

  • Planned production time excludes planned breaks and scheduled maintenance.

  • Downtime reason codes must be mutually exclusive and exhaustive.

  • CMMS holds asset hierarchy, work orders, spare parts, and maintenance history.

Quick reference

Data Collection and Integration

  • OPC UA provides plant-floor interoperability with information models and security.

  • ISA-95/B2MML defines ERP-to-MES message exchange.

  • Historians store time-series tags; MES consumes events and transactions.

  • Time synchronization (NTP/PTP) is required for correct event ordering.

  • Data quality dimensions: completeness, accuracy, timeliness, consistency, uniqueness.

  • Idempotent interfaces prevent duplicate transactions on retry.

  • Manual entry should be minimized and validated with range checks.

  • Event-driven messaging suits high-volume shop data better than point-to-point.

Quick reference

System Architecture and Configuration

  • MES tiers: presentation, application, integration, and data.

  • High availability options: active-passive clustering, load balancing, replicated databases with RPO/RTO.

  • Configuration over customization keeps upgrades feasible and validation scope bounded.

  • Role-based access control separates configuration, execution, and quality disposition duties.

  • Idempotent interfaces prevent duplicate transactions on retry.

  • Environment promotion: development -> test/validation -> production.

  • Disaster recovery requires backup frequency, restore testing, and documented drills.

  • Multi-site options: single global instance, regional instances, or site instances with a corporate warehouse.

Quick reference

Regulatory Compliance and Validation

  • 21 CFR Part 11 requires audit trails, access control, and signature integrity.

  • Part 11 signature elements: printed name, date/time, and meaning, linked to the record.

  • Audit trails must be secure, computer-generated, time-stamped, and independent of the operator.

  • GAMP 5 software categories: 3 configurable, 4 configured, 5 custom.

  • Validation lifecycle: URS, risk assessment, IQ, OQ, PQ, traceability matrix, summary report, periodic review.

  • ALCOA+: attributable, legible, contemporaneous, original, accurate, plus complete, consistent, enduring, available.

  • EU Annex 11 covers computerised GMP systems including supplier assessment.

  • Change control for validated systems requires documented impact assessment before release.

Quick reference

Reporting, Analytics, and Continuous Improvement

  • OEE waterfall: planned time -> run time -> net run time -> fully productive time.

  • Pareto analysis ranks downtime or defect causes to prioritize improvement.

  • DMAIC: define, measure, analyze, improve, control.

  • KPI hierarchy rolls up from line and cell metrics to plant OEE and schedule adherence.

  • Yield analysis by product, line, shift, and supplier exposes concentrated loss sources.

  • Real-time dashboards drive operator action; daily reports drive management decisions.

  • Report calculations must be traceable to source records and fall under change control.

  • Continuous improvement requires a defined baseline and post-change measurement with the same metric definition.

Quick reference

MES Fundamentals

  • MES is the ISA-95 Level 3 execution layer between ERP (Level 4) and SCADA/PLC (Levels 0-2).

  • Core MES functions: scheduling, dispatching, execution, data collection, quality, maintenance, inventory tracking.

  • Work order flow: ERP release -> MES receipt -> operation sequencing -> dispatch -> execution -> confirmation.

  • MES master data includes routings, BOMs, work centers, resources, and reason codes.

  • Primary execution KPIs: OEE, schedule adherence, FPY, cycle time, WIP turns.

  • Real-time event capture distinguishes MES from batch ERP reporting.

  • Traceability via lot, serial, and genealogy is a core MES capability.

  • ISA-95/B2MML messages carry schedules, work orders, and confirmations between ERP and MES.

Quick reference

Production Operations Management

  • Finite scheduling respects capacity; infinite scheduling is for rough planning only.

  • Takt time = available time / demand; stations must not exceed takt.

  • Critical ratio = (due date - now) / remaining processing time; CR below 1 means late.

  • Little's Law: throughput = WIP / cycle time.

  • Schedule adherence = on-time completed orders / scheduled orders x 100.

  • SMED converts internal setups to external, enabling smaller batches.

  • Dispatching rules: FIFO, EDD, SPT, critical ratio.

  • Electronic work instructions enforce sequence and revision control at the station.

Quick reference

Quality Management

  • Cp = (USL - LSL) / (6 sigma); Cpk = min[(USL - mean), (mean - LSL)] / (3 sigma).

  • Control limits are process-derived; specification limits are design/customer limits.

  • Nelson rules detect special-cause variation: 1 beyond 3 sigma, 2 of 3 beyond 2 sigma, 8 in a row on one side.

  • FPY = first-time passes / units started; RTY multiplies FPY across steps.

  • Nonconformance dispositions: use-as-is, rework, scrap, return; systemic causes trigger CAPA.

  • Quality holds block material movement until authorized disposition is recorded.

  • Attribute data uses p- and c-charts; variable data uses X-bar/R or X-bar/S charts.

  • Sampling plans define AQL, sample size, and accept/reject numbers.