Skip to content
ORPAON Lean Production

Systems Architecture

MES, ERP and SCADA Boundaries: Draw Lines by Object Ownership, Not Department

Author: ORPAON Lean Digitalization Team

The direct answer for dividing MES, ERP and SCADA boundaries is to confirm, object by object, who creates, modifies, executes, retains and reconciles. ERP typically owns enterprise resources and business planning; MES owns shop-floor execution and process coordination; SCADA owns equipment-process monitoring, alarms and history; PLC and safety-related control remain in validated control systems. Boundaries are designed around objects, states, time and accountability, not guessed from software names.

MES, ERP and SCADA Boundaries: Draw Lines by Object Ownership, Not Department

The Three System Layers Answer Different Questions

ERP concerns what to produce, which resources are needed and how business results are posted. MES concerns how a work order executes on specific lines and workstations and how current progress and abnormalities are coordinated. SCADA concerns current equipment state, changing process values, and how alarms and history can be replayed.

These responsibilities overlap, but overlap does not mean storing the same state repeatedly. A work order can be planned and owned by ERP, decomposed and executed with shop-floor status in MES, and shown only as equipment-related task context in SCADA. The fields and states stored by each system must be explicit, with no arbitrary bidirectional rewriting of the same field.

LayerTypical primary responsibilityShould not be assumed to ownKey time scale
ERP and other enterprise systemsPlanning, orders, materials and finance-related master dataMillisecond equipment control and raw process acquisitionOrders, shifts, days and accounting periods
MES shop-floor executionWork-order execution, station transactions, error-proofing, traceability and shop-floor coordinationReplacing all business planning or low-level safety controlWork orders, lots, workstations and events
SCADA process supervisionReal-time status, process trends, alarms and operator displaysEnterprise costing and all execution workflowsReal-time signals, process events and historical trends
PLC and equipment controlEquipment logic, motion and validated control interlocksEnterprise master data and cross-shop business coordinationControl cycles and immediate interlocks

Use an Object-ownership Matrix to Eliminate ‘Everyone Owns It’

The ownership matrix should cover at least work orders, materials, products or lots, process versions, equipment, quality results and planning calendars. For every object, list its creator, unique identifier, modifiable states, downstream subscribers and deletion or voiding rules.

For example, ERP may maintain material codes, MES may retain the snapshots needed for execution and lot consumption, and SCADA may use only the necessary equipment context. If temporary material substitution is permitted on the shop floor, an explicit business process must approve and return it; operators must not be able to edit master data directly at any arbitrary layer.

Business objectCommon ownership exampleDownstream useException that must be agreed
Work orderCreated by ERP and decomposed for execution by MESSCADA obtains current task contextCancellation, rush insertion, quantity change and failed completion feedback
Materials and lotsEnterprise master-data and warehouse ownership determined by the current landscapeMES records error-proofing, issue and lot relationshipsSubstitution, returns, splits, merges and missing identity
Process versionProcess-owned system or controlled workflowMES validates the execution version; equipment receives approved parametersVersion effectiveness, rollback and temporary shop-floor adjustment
Product qualityQuality-disposition ownership determined by the workflowMES links the creating process and dispositionRework, reinspection, concession and result withdrawal
Equipment statusSCADA or the acquisition layer records the raw factsOEE and MES use mapped business statesDisconnection, clock drift, manual revision and state conflicts

APS, WMS and QMS Should Not Be Assumed to Belong Inside MES

APS focuses on constraint-based planning and scheduling, WMS on inventory, locations and warehouse operations, and QMS on quality planning, inspection and quality workflows. They can work closely with MES, but whether they should be independent systems depends on the existing landscape, business complexity and responsibility boundaries. MES does not inherently include every capability.

ORPAON can undertake project-specific production-scheduling algorithms, WMS interfaces, quality traceability and related integration or customization. This does not imply that mature standalone APS, WMS or QMS products already exist. Every proposal should state item by item whether the customer's existing system, a third-party system or project-specific customization provides the capability, rather than using ‘all-in-one’ to conceal gaps.

  • Planning boundary: who considers capacity and material constraints, who approves the plan, and who handles rush orders on the shop floor.
  • Warehouse boundary: who manages locations and inventory records, and who executes material calls, delivery and returns.
  • Quality boundary: who maintains inspection specifications, who makes disposition and release decisions, and who records the creating process.
  • Maintenance boundary: who owns the preventive-maintenance and repair workflows; Andon and OEE provide only the necessary events.
  • Analytics boundary: who retains raw process data, who calculates business metrics, and who owns definition versions.

Interface Design Needs Contracts, Recovery and Reconciliation

An interface is more than a field list. It needs trigger timing, unique message or call identifiers, idempotency rules, timeout, retry, sequencing, permissions, error codes and a manual recovery entry point. Work-order release and completion feedback in particular must prevent duplicate execution and lost states.

Reconciliation is part of the interface loop. Systems should compare quantities, states and versions of critical objects on both sides and display differences. Which side may continue during a network outage and the backfill sequence after recovery must be decided jointly from business and control risks.

Contract itemWhat must be definedCorrect handling on failure
Triggers and idempotencyWhen to send and how to prevent duplicatesQuery using a unique business key or retry safely
State and sequencePermitted state transitions and whether messages are orderedReject invalid transitions and retain a pending queue
Timeout and retryThe project defines failure timeout and retry countDistinguish unknown outcomes from confirmed failures to avoid blind repetition
Version and effectivenessWhen master data and process versions become usableBlock versions that are not yet effective or have been withdrawn
Reconciliation and recoveryWho detects differences and who is authorized to resolve themRetain discrepancy records, approvals and a complete audit trail

Validate Boundaries Through One End-to-end Business Chain

Do not draw every architecture diagram before looking for a use. Choose a representative business chain, such as work-order release, material verification, equipment execution, quality disposition and completion feedback. Mark object ownership, state changes and exception handling step by step to reveal the real boundaries.

Testing should cover not only the normal path but also interface timeouts, duplicate messages, master-data withdrawal, shop-floor rework, equipment disconnection and manual backfill. Boundaries are implemented only when abnormal paths also have ownership and recovery methods.

  • Inventory the current landscape: existing systems, versions, interfaces, data owners and operating constraints.
  • Build the object matrix: confirm ownership item by item instead of substituting department names for system responsibility.
  • Define minimal interfaces: support the selected business chain first and avoid synchronizing all data at once.
  • Rehearse abnormal paths: validate retry, recovery, reconciliation, disconnection and manual authorization.
  • Establish an operating contract: include monitoring, support coverage, change and version management in acceptance and operations.

Avoid the All-in-one, Real-time-everything and Bidirectional-synchronization Fallacies

An ‘all-in-one platform’ does not mean one system must perform every function, and ‘real-time synchronization’ does not mean every datum requires millisecond transmission. Business orders, lot execution and fast process signals have different time scales and consistency requirements; mixing them creates unnecessary complexity.

Bidirectional synchronization is not the default optimum. Allowing multiple systems to modify the same object freely encourages update loops and unclear accountability. A safer pattern is explicit ownership, one-way publication and controlled write-back, with approval and audit records for every exception.

  • Do not substitute software names for responsibility definitions.
  • Do not measure interface completeness by field count.
  • Do not make SCADA directly handle unassessed enterprise business transactions.
  • Do not let MES bypass established control and safety boundaries to issue high-risk actions directly.
  • Do not describe undetermined APS, WMS, QMS or TPM capabilities as standard existing products.

Clear Boundaries Make Integration Maintainable

Sound boundaries among ERP, MES and SCADA arise from object and state ownership, not software market labels. Establishing who creates, modifies, executes and reconciles before designing screens and interfaces reduces duplicate construction and mutual overwriting.

During implementation, validate normal and abnormal paths through one end-to-end business chain and identify the provider of each adjacent APS, WMS and QMS capability. The resulting multi-system collaboration is easier to accept, operate and evolve than a vague all-in-one promise.

Technical reviewer: ORPAON Lean Digitalization Team

Frequently asked questions

If both MES and ERP store work orders, is that duplicate construction?

Not necessarily. ERP can retain the planning and business view, while MES retains execution decomposition, workstation progress and shop-floor status. The key is to define their respective fields, states and synchronization directions rather than allowing both sides to modify the same object without rules.

Can SCADA directly replace MES?

Usually not as a simple substitution. SCADA excels at equipment-process supervision and history, while MES excels at work orders, station transactions, error-proofing, lots and business coordination. Small scenarios may combine selected functions, but ownership of execution transactions and data consistency must still be explicit.

Does ERP also need to receive all real-time equipment data?

Usually not. ERP needs business-defined completion, consumption or status results. Raw high-speed process data can remain in the acquisition or historian layer, with MES or data services providing the necessary summaries.

Must an existing WMS or QMS be replaced by MES modules?

Replacement should not be the default. First assess whether the existing system meets ownership and interface requirements. If stable interfaces support collaboration, rebuilding merely for visual uniformity is unnecessary. Any replacement requires a separate assessment of migration, process and operational risks.

Related insights

Quality Management

Forward and Backward Traceability: Connect Product Identity and Process Evidence in One Graph

The direct answer for forward and backward traceability is to support both query directions around the same identity relationships. Backward tracing starts with a finished product or lot and identifies the materials used, equipment and processes involved, operators and quality results. Forward tracking starts with a suspect material, equipment item, tool or process abnormality and identifies potentially affected work in process and finished goods. Both share one event chain; they are not two separately built reports.

Lean Fundamentals

How to Collect Value-stream Data: Make the Current-state Map a Verifiable Improvement Baseline

The direct answer for value-stream data collection is to select a product family and start/end boundaries first, record cycle time, changeover, available time, work in process, quality and batching rules along material and information flows, and then calibrate system data with shop-floor observation. A value-stream map is not an MES report drawn as a flowchart. It explains how demand triggers production, where materials wait, where information becomes distorted, and which losses belong in future-state design.

Equipment Effectiveness

OEE Loss Tree: Trace the Three Factors to Actionable Losses

The direct answer for an OEE loss tree is to calculate Availability, Performance and Quality within the same Planned Production Time boundary, then break the gaps in those three factors down into downtime, minor stops, reduced speed, startup and quality losses. OEE = Availability × Performance × Quality, where Availability = Run Time ÷ Planned Production Time, Performance = Ideal Cycle Time × Total Count ÷ Run Time, and Quality = Good Count ÷ Total Count. The formulas must use the same equipment, period and production-count definitions.

Check System Boundaries with an Object-ownership Matrix

Choose one real work order and verify ownership, interfaces and exception recovery step by step from planning through equipment execution and completion feedback.