The roles of SCADA and MES under ISA-95, multi-vendor PLC data collection, OEE calculation, and a deployment roadmap for small and midsize plants.
@KTECH · K-Tech Automation Solutions Co., Ltd.
Abstract
Many small and midsize plants use PLCs to control machines and accounting or ERP software to manage orders, but lack a layer in between that shows what is happening in production. This article reviews how SCADA and manufacturing execution systems (MES) fill that gap, drawing on the ISA-95/IEC 62264 hierarchy and the MESA-11 functional model.
The article examines multi-vendor PLC data acquisition protocols (Modbus, SLMP, OPC UA and MQTT), overall equipment effectiveness (OEE) under ISO 22400, and a six-step deployment roadmap for businesses with limited budgets. It recommends starting with automated machine data and a few reliable metrics before expanding to scheduling, quality and ERP integration.
Keywords: SCADA, MES, ISA-95, IEC 62264, OEE, ISO 22400, Modbus, OPC UA, MQTT, small and midsize enterprises.
1. Introduction
Many small and midsize plants still handle production data on paper. The shift lead records output at the end of the shift, a clerk re-enters it in a spreadsheet, and management sees the report the following morning. Data arrives late, lacks downtime detail and is easily rounded. Meanwhile, the machine PLC already knows whether it is running or stopped and how many items it has counted.
The gap sits between control and business operations. ERP knows what must be made for each order, and the PLC knows what the machine is doing millisecond by millisecond. Neither answers where a production order stands, why the night shift produced less than the day shift, or which raw material went into a defective batch.
SCADA and MES provide the two software layers that fill this gap. This article explains where each sits in the plant architecture, how to collect data from PLCs made by different vendors, and which deployment order brings early benefits to small businesses.
2. The ISA-95 / IEC 62264 hierarchy
ISA-95, known internationally as IEC 62264, is an eight-part series of standards for enterprise-control system integration [1]. Four parts are especially important for implementation: Part 1 covers models and terminology, Part 2 covers objects and attributes, Part 3 covers manufacturing operations management (MOM) activity models, and Part 5 covers transactions between Levels 3 and 4 [1].
The standard divides plant activity into five levels [2]. Level 0 is the physical process, Level 1 covers sensors and actuators, and Level 2 covers control and supervision. MOM operates at Level 3 and ERP serves Level 4 [2].

Production orders flow down from ERP through MES to the control layer. Output, material consumption and machine states flow back up (levels according to [1] and [2]).
SCADA and MES have distinct roles in this model, although they are often grouped together.
- SCADA (Level 2) works with real-time tags, including values, alarms, trends and supervisory control commands. It answers what state the machine is in.
- MES (Level 3) works with production events: orders starting or ending, raw-material lots loaded, and good and defective products. It shows how production is tracking against the plan.
A clear boundary helps users choose the right tool. An attractive SCADA display alone does not generate OEE reports by production order. MES, in turn, needs data from SCADA or PLCs to avoid manual entry.
3. Core functions of SCADA and MES
3.1. SCADA
A SCADA system for discrete manufacturing typically has six components: PLC communication drivers, a tag database, supervisory displays, alarm and event management, a data historian, and reporting. The historian matters most for management because subsequent metrics are calculated from this data series.
3.2. MES under the MESA-11 model
In 1997, the Manufacturing Enterprise Solutions Association (MESA) defined 11 core MES functions [3]. ISA-95 later reorganized those functions into four Level 3 activities: production, maintenance, quality and inventory. The table lists all 11 functions and the author's proposed priorities for small and midsize businesses.
| MESA-11 function | Main purpose | Proposed stage |
|---|---|---|
| Data collection | Read machine states, counters and process parameters from PLCs and sensors | 1 |
| Performance analysis | Compare actuals against targets, including OEE and downtime by cause | 1 |
| Resource allocation and status | Track availability of machines, molds and tools | 1 |
| Dispatching production units | Send work orders to machines and track their progress | 2 |
| Product tracking and genealogy | Link finished lots to material lots, machines, shifts and operators | 2 |
| Quality management | Record defects, in-process inspections and statistical controls | 2 |
| Maintenance management | Plan maintenance from machine running hours or cycle counts | 2 |
| Document control | Make work instructions, drawings and procedures available at stations | 2 |
| Labor management | Assign work and track attendance and individual productivity | 3 |
| Detailed scheduling | Sequence orders on each machine by capacity and priority | 3 |
| Process management | Monitor and adjust production processes and recipes | 3 |
Data collection and performance analysis come first because they require machine connectivity without changing operators' workflows. Detailed scheduling comes last because it works only when machine capacity data is reliable.
4. Collecting data from multi-vendor PLCs
For small and midsize plants, the main technical challenge in SCADA and MES is obtaining reliable data from PLCs made by several vendors. Each vendor uses its own protocols and memory-addressing scheme. Interface and report design are secondary.
4.1. Common protocols
| Protocol | Model | Typical equipment | Advantages | Limitations |
|---|---|---|---|---|
| Modbus RTU / TCP [4] | Register-based client–server | Drives, meters and many PLC lines | Open, royalty-free and widely supported | No semantics, so each device needs a register map |
| SLMP / MC protocol [5] | Client–server over Ethernet | Mitsubishi MELSEC PLCs (iQ-R, iQ-F, Q, L, FX) | Direct access to device memory without changing the PLC program | Vendor-specific |
| OPC UA (IEC 62541) [6] | Client–server and publish–subscribe | Modern PLCs and SCADA/MES software | Built-in information modeling and security | More complex configuration, often unavailable on older PLCs |
| MQTT (ISO/IEC 20922) [7] | Publish–subscribe through a broker | Edge gateways and IoT devices | Lightweight, bandwidth-efficient and decouples publishers from consumers | Does not define the payload structure |
The Modbus Organization describes Modbus as the de facto standard for multi-vendor integration, with over seven million nodes in North America and Europe alone [4]. OPC UA goes further by defining an information model for the structure, behavior and semantics of the data it carries [6]. The OPC Foundation and PLCopen also define a common PLC information model aligned with IEC 61131-3, so MES can read data from multiple vendors consistently [8].
4.2. Edge data acquisition architecture
A sustainable approach is to put an edge layer between PLCs and applications, avoiding a separate connection from every application to each PLC. The edge layer has five jobs.
- Communicate: run drivers for each protocol, such as Modbus, SLMP, S7 and OPC UA, and choose a suitable polling interval for each kind of data.
- Normalize: map physical addresses (D100, 40001, DB1.DBW0) to meaningful tag names within the ISA-95 equipment hierarchy: plant / area / line / machine.
- Timestamp and mark data quality: accompany each value with its read time (NTP-synchronized) and a good/bad quality flag, including when connectivity is lost.
- Buffer locally: retain data when the server connection fails and forward it when connectivity returns.
- Distribute: send normalized data to SCADA, the historian and MES via OPC UA or MQTT.
A safety principle is to make MES access to PLCs read-only by default. Mitsubishi's protocol documentation also calls for interlocks in the PLC program and warns against writing to system areas when external equipment connects through the protocol [9].
5. Measuring performance: OEE and ISO 22400
ISO 22400-2 defines key performance indicators (KPIs) for manufacturing operations management. Each KPI has a formula, data elements, units and user groups linked to a work unit under IEC 62264 [10]. Edition 2 is currently at the draft stage (ISO/DIS 22400-2) [11]. Standard definitions make comparisons across shifts, lines and plants possible.
The most widely used metric is overall equipment effectiveness (OEE), the product of three factors.
OEE = A × P × Q
- A = T(run) / T(planned)
- P = [N(total) × t(ideal)] / T(run)
- Q = N(good) / N(total)
A is availability, P is performance, Q is the quality rate, and t(ideal) is the ideal cycle time per item.
Example using hypothetical data. A shift has 480 planned minutes and 60 minutes of downtime, so A = 420/480 = 87.5%. With an ideal cycle of one minute per item and 380 items produced, P = 380/420 ≈ 90.5%. Of the 380 items, 361 are good, so Q = 361/380 = 95%. OEE is about 75.2%, also calculated as 361 good items times one minute divided by 480 minutes.
Three practical lessons for automated OEE calculation follow.
- Fix the ideal cycle time by product code. Using the best actual speed achieved as the basis can inflate P.
- Distinguish planned from unplanned stops. Shift breaks and scheduled maintenance are excluded from T(planned). Waiting for materials and equipment breakdowns are included.
- Record a reason for every stop. The PLC detects the stop without knowing its cause. A machine-side screen requiring a reason after a stop exceeds a set duration produces a Pareto chart more informative than OEE alone.
6. Deployment roadmap for small and midsize enterprises
With limited budgets and IT staff, businesses should proceed step by step, producing measurable benefits before moving on. This roadmap builds from machine data toward ERP integration, reversing the common sequence of buying ERP first and then trying to feed it production numbers.
- Survey and select a pilot. Choose a bottleneck line, inventory the PLCs and protocols, and define the minimum tags for each machine: run/stop status, total counter, defect counter, fault code and product code.
- Connect and store. Build the edge layer, name tags under the ISA-95 equipment hierarchy, and enable the historian. Compare machine data with handwritten logs over several shifts to build confidence in the data.
- Monitor and measure OEE. Show machine states, OEE by shift and a Pareto chart of downtime causes. Use these data in shift handover meetings in place of handwritten reports.
- Manage production orders and materials. Assign work orders to machines, track progress, record material consumption and trace lots.
- Manage quality and maintenance. Record defects at inspection stations and plan maintenance by actual running hours or machine cycles.
- Integrate ERP and scale out. Pass production orders down and output and consumption up using the ISA-95 Part 5 transaction model between Levels 3 and 4 [1], then roll it out to other lines.
Four principles help keep the rollout on track.
- Modularity: make each step an independent module with a clear data interface that later modules can reuse.
- Open standards: favor OPC UA, MQTT and ISA-95 to avoid lock-in to a single vendor.
- Data ownership: assign someone at the plant responsibility for the tag catalog, downtime-reason codes and standard cycle times.
- Reduce manual entry: every manually entered field is a source of error and a reason for operators to skip the system.
7. Conclusion
SCADA and MES complement one another. SCADA shows the current machine state, and MES shows production progress against the plan. ISA-95 provides a common language for distinguishing the two layers and defining the data exchange with ERP.
For small and midsize businesses, the technical bottleneck is collecting data from PLCs made by different vendors. An edge layer that normalizes data under the ISA-95 equipment hierarchy and distributes it via OPC UA or MQTT gives later modules a shared data source. Begin with acquisition and OEE, then add production orders, quality and ERP integration.
Future research should quantify the roadmap in real plants, measuring the time to implement each step, OEE gains and costs compared with turnkey MES solutions.
Reference material
- ISA, ISA-95 Series of Standards: Enterprise-Control System Integration.
- OPC Foundation, OPC 10030: ISA-95 Common Object Model, section 4.2.3 "ISA-95".
- SAP, "What is a manufacturing execution system (MES)?".
- Modbus Organization, "Modbus FAQ".
- Apache PLC4X, "SLMP (Mitsubishi MELSEC)".
- OPC Foundation, OPC 10000-1: OPC Unified Architecture – Part 1: Overview and Concepts, section 4.
- ISO/IEC, ISO/IEC 20922:2016 Information technology – Message Queuing Telemetry Transport (MQTT) v3.1.1, 2016.
- OPC Foundation and PLCopen, OPC 30000: OPC UA Information Model for IEC 61131-3.
- Mitsubishi Electric, MELSEC iQ-F FX5 User's Manual (Communication), SH-082625ENG.
- ISO, ISO 22400-2:2014 Automation systems and integration – Key performance indicators (KPIs) for manufacturing operations management – Part 2: Definitions and descriptions, 2014.
- ISO, ISO/DIS 22400-2 (draft second edition).
Need direct help from an engineer? Call 0971028833 or send a request.



























































