Direct answer
To measure OEE automatically, read machine state, good and total counts, and stop events from the PLC and SCADA you already have. Define states and stop reasons, calculate availability, performance and quality from those events, and validate against a manual count before trusting the indicator. Authomathika works on this integration.
Institutional content: Authomathika
Published:
Manual OEE logging usually produces numbers that no one trusts. Your PLC and SCADA already see machine state, counts and alarms every second, so the job is to turn those signals into consistent events. This guide covers tags, events and validation, not the interpretation of the indicator itself.
Why does manual OEE measurement fail?
Manual logging fails because it depends on operators to remember, classify and time events while they are busy fixing the problem. The result is rounded times, vague stop reasons and gaps in the record.
OEE (Overall Equipment Effectiveness) is the product of availability, performance and quality for a machine or line. If you need a refresher on reading the result, see What Is OEE and How to Interpret the Indicator. Typical failure points of manual logging:
- Short stops and slow cycles are never written down.
- Shift handovers lose information.
- Different people classify the same stop differently.
- Data arrives hours or days late, so no one can act on it.
Which PLC and SCADA signals feed OEE?
OEE needs four groups of signals: machine state, production count, reject count and the planned production time. Most of them already exist as tags in the control logic.
A tag is a named variable in the PLC or SCADA that holds a signal value, such as a motor running bit or a product counter.
| Signal | Typical source | Used for |
|---|---|---|
| Running, stopped, faulted, standby | Drive and equipment status bits | Availability |
| Total count | Counter, sensor or encoder in the PLC | Performance |
| Reject or good count | Inspection station, scale or reject diverter | Quality |
| Alarm and interlock words | PLC alarm blocks, SCADA alarm list | Stop reason |
| Order, product or recipe | MES, SCADA recipe or operator selection | Ideal cycle time |
| Shift and planned downtime | Calendar in SCADA or plant system | Planned production time |
Where the data is not available, a field instrument may be needed. Check what your current automation already exposes before buying anything, as described in How to Integrate AI and Data with Existing Plant Automation.
How do you define machine states and stop reasons?
Define a short, closed list of states that every machine maps to, and a hierarchy of stop reasons that is assigned automatically where possible. Fewer states mean cleaner data.
A practical sequence:
- List the states you need: producing, idle, starved, blocked, faulted, changeover, planned stop.
- Write the logic that sets each state from tags, for example running bit true plus count increasing means producing.
- Set a minimum stop duration, so micro stops are either grouped or recorded as their own category by agreement.
- Map alarm and interlock words to stop reason codes, so a fault stop gets its reason without operator input.
- For stops the automation cannot explain, ask the operator to pick from a short list on the HMI.
- Record each state change as an event with a start time, an end time and a code.
Compute state in one place, either in the PLC or in a single collector, so that every machine follows the same rule. Document the rule, since it determines what counts as availability loss.
How do you validate the collected data?
Validate by comparing automatic results with an independent reference over a defined period, and by checking that the data is complete, consistent and correctly timestamped.
Acceptance criteria to agree on before go-live:
- Counts match a physical or manual count for sample shifts, within a tolerance both sides accept.
- Total time in all states equals calendar time, with no gaps or overlaps.
- Every stop longer than the agreed minimum has a code.
- Clocks of PLCs, SCADA and the collector are synchronized.
- Communication loss is flagged and not recorded as a machine stop.
- Counter rollover and resets after a PLC restart are handled.
| Symptom | Probable cause | Check |
|---|---|---|
| OEE above 100 percent of expected | Wrong ideal cycle time or double counting | Compare the cycle time with the nominal rate and review the counter logic |
| Many unexplained stops | Alarm mapping incomplete | List stops without a code and trace the tags |
| Availability too high | Stops during communication loss not recorded | Compare the heartbeat or quality flag of the link |
| Counts differ from the warehouse | Rejects not counted or rework counted twice | Reconcile with the downstream count |
Where do you store and display the indicator?
Store raw events and counts in a historian or a database, calculate OEE from them, and show it on a dashboard that operators and managers can both read. Keep raw data so you can recalculate when a rule changes.
A historian is a database designed to record time-stamped process values at high rate. Many plants use the SCADA historian for tags and a separate database for events and daily aggregates. Choose based on volume, retention, who needs access and how the plant network is segmented. Show OEE by machine, line and shift, with the three factors and the top stop reasons next to it, so the number leads to an action. For the wider picture, see AI and Data in Industry: A Guide for Plant Managers.
What should you ask for in an integration proposal?
Ask for a scope that lists the tags, the state logic, the validation method and the deliverables, so that you can compare proposals on the same basis.
Gather before requesting a proposal:
- Machines and lines in scope, with PLC and SCADA models and versions.
- Available tags, or a request to survey them.
- Your OEE definition, planned time rules and minimum stop duration.
- Current stop reason list.
- Where data must be stored and who needs to view it.
- Network and cybersecurity requirements.
The proposal should state the tag list, the state and reason mapping, the validation test and acceptance criteria, documentation, training and support after start-up. More items are listed in What to Ask for in an Industrial AI and Data Project Proposal.
Authomathika is an engineering integrator of electrical systems, automation and industrial assembly, founded in 1999 and based in Sertãozinho, São Paulo, Brazil. Its AI and Data area covers data for operational management and decision making. Scope and budget are assessed per project. You can reach the team through the quote request page.
