Most manufacturers who want better production information ask the same things: how often each line stops, why it stops, and how output compares with what the equipment should achieve. A common assumption is that this means replacing the control systems first. Usually it does not. The machines you already have know more than anyone is currently reading from them.
This article covers what the PLC usually already holds, four ways to get the data out, and what to settle before asking anyone for help.
The data is often already in the PLC
A PLC that runs a machine already knows a great deal about it:
- whether it is running, stopped, faulted or waiting;
- how many cycles or parts it has completed, and often how many were rejected;
- which alarms are active, and when they came and went;
- often, process values such as temperatures, pressures and speeds.
The difficulty is rarely that the information does not exist. It is that nothing outside the machine collects it, timestamps it and keeps it.
Two caveats are worth stating early. "Stopped" in a PLC means whatever the programmer decided it meant, which may not match what production means by it. And a machine almost never knows why it stopped when the cause is outside it: no material, no operator, a changeover or a quality hold.
Four ways to get data out of existing machines
1. Read the existing PLC directly. Many controllers can be read over the network without changing how the machine runs. Siemens documents the S7-1500 CPU as an OPC UA server, with two conditions worth knowing first. Its documentation states that "By default, the OPC UA server of the CPU is not enabled for reasons of security", and lists as a requirement: "You have acquired a runtime license for the operation of the OPC UA functions". So this route means a runtime licence, a configuration change and a download to the CPU. Check which licence applies to your CPU before relying on it.
SCADA platforms can also read Siemens PLCs with their own drivers. Inductive Automation's documentation for Ignition lists drivers for S7-300, S7-400, S7-1200 and S7-1500 controllers, with conditions. For absolute addressing on S7-1200 and S7-1500, it says optimised block access must be turned off and PUT/GET access permitted, which again means a change to the PLC project and a download. For the Siemens Enhanced Driver in Ignition 8.3, it says the driver "Supports browsing, symbolic access, and access to optimized data blocks when connected to S7-1200 and S7-1500 devices", and that symbolic reading does not need those protection settings.
Either way, the control logic itself usually stays as it is. But "no change to the PLC at all" is something to check, not assume.
2. Add an edge device. A small industrial computer near the machine reads the PLC, or a few simple signals, and passes the data upstream, commonly by MQTT or OPC UA. It helps where the network to the machine is unreliable, or where you would rather not have plant-level systems talking to every PLC. Many edge products can store data while the link is down and forward it when it returns. Check that yours does, and what happens when its buffer fills.
3. Add a few signals where the machine cannot tell you. Some older or simpler machines have no accessible data: relay logic, a closed controller, or a PLC with no spare communications. A running signal and a cycle-complete or part-count pulse, taken to a small I/O module or edge device, can still give availability and counts. Take the signals in a way that cannot affect how the machine runs, for example from a spare auxiliary contact, and have the wiring done by a suitably competent electrician.
4. Ask operators for what the machine cannot know. A machine knows it stopped, but often not why. A short pick-list on an operator panel or tablet, filled in when the machine restarts, turns downtime minutes into something you can rank and act on. It is often the cheapest of the four, and the one that answers the most useful question.
An example stop-reason list
The list below is illustrative only, written for a generic packing line. It is not from a real site.
Planned stops
- Break or shift handover
- Planned cleaning
- Changeover
Unplanned stops
- Waiting for materials or packaging
- Upstream or downstream machine stopped
- Jam or mechanical fault
- Electrical or controls fault
- Quality check or adjustment
- No operator available
- Other (with a short note)
What makes a list like this get used:
- Keep it short. Eight to twelve reasons fit on one screen and are quick to pick. A long list gets "Other" chosen.
- Split planned and unplanned. That split decides what counts against availability.
- Let the machine fill in what it can. A stop caused upstream or downstream can often be detected as starved or blocked without asking anyone.
- Use a threshold. Ask for a reason only for stops longer than a time you agree, and count shorter stops automatically. Otherwise operators are asked dozens of times a shift and stop answering.
- Show the gaps. Display unassigned stops openly and review the "Other" notes every week, with the operators. That is how the list improves.
Start with a question, not a dashboard
The most useful monitoring starts with a clear question, for example:
- Why does Line 2 lose time on the night shift?
- How much time do we lose to changeovers?
- Which faults cause most of our unplanned downtime?
The question decides what data you need, how accurate it must be and who needs to see it. Collecting everything "just in case" tends to produce dashboards that nobody uses. Often the first question can be answered with states, counts and stop reasons on one line, before anyone calculates an OEE figure.
Agree definitions before calculating OEE
OEE (overall equipment effectiveness) is availability × performance × quality. The arithmetic is simple. The definitions are not:
- What counts as planned production time? Are breaks, cleaning and "no orders" excluded?
- What is the ideal cycle time for each product: the nameplate rate, a design figure or the best rate demonstrated?
- Is a reworked part a reject?
- Do short stops below your reason threshold count as availability or performance loss?
If these are not agreed first, different lines or shifts produce figures that cannot be compared, and confidence in the system disappears. Write the definitions down next to the calculation, so anyone can check a figure by hand.
A practical sequence
- Choose one line and one question.
- Connect the line's machines and collect states, counts and stop reasons.
- Validate the data for a few shifts: compare counts with production records, and stop times with what operators and shift logs say happened.
- Build a simple view for the people who need it.
- Extend to more lines once the data is trusted.
This keeps proven control software as it is, apart from any communications settings, avoids disrupting production, and builds a foundation that can later feed MES or business systems.
[IMAGE - upload lindsay-website\public\images\demos\packing.jpg; Alt text: "Simulated packing line dashboard showing four station states, cycle counts, OEE split into availability, performance and quality, a line-rate trend and an alarms panel"] Simulated screen from the fictional packing line demonstration on this website - not a real line or real figures.
The production monitoring demonstration shows these ideas on a fictional packing line: station states, OEE built from availability, performance and quality, downtime by cause and data passed on to MES. It runs on simulated data in your browser. There are more on the demonstrations page.
What to settle before asking for help
- The question: which decision the data should support, and who makes it.
- The machines: which line comes first, and for each machine the controller make, model and firmware if known, and whether it is on a network.
- The people: who looks at the data (operators, shift leaders, maintenance, management) and how often.
- Definitions: planned time, ideal cycle times and what counts as a reject, or who will agree them.
- Stop reasons: a first draft of the list, however rough.
- IT and OT: who owns the network, and what your policy allows between the machines, the office network and the internet.
- PLC changes: who holds the current PLC projects, and whether a communications setting change and download is acceptable, and when.
Next step
If you want production data from the machines you already have, the production monitoring page explains how I approach it. Connectivity and remote monitoring covers the connection side, and the Industry 4.0 page shows where it fits in a wider architecture. You can also send me an outline of the line and the question.