Manufacturing — OEE and defect tracking for a small factory
25 minutes. Two CSVs. You play the plant manager at a 3-machine job shop and find the machine whose defects just spiked.
The scenario
You’re the plant manager at Riverstone Machining, a 12-person job shop with three machines — an injection press, a CNC mill, and a laser cutter. You run one 8-hour shift per weekday. Customers pay for parts that meet spec; you eat the cost of every scrap.
This week’s data looks off. You want to answer:
- What’s OEE? — the canonical manufacturing metric (Availability × Performance × Quality).
- Which machine is underperforming? — ranked by contribution to lost output.
- What’s the dominant defect mode? — and is it new or chronic?
- Can we alert on early warning signals — before we scrap a batch?
Download the sample data
What's OEE?
| Machine | A | P | Q | OEE | WoW |
|---|---|---|---|---|---|
| M1 · Injection Press | 0.87 | 0.89 | 0.99 | 76% | +1pp |
| M2 · CNC Mill | 0.61 | 0.82 | 0.76 | 38% | -30pp |
| M3 · Laser Cutter | 0.89 | 0.92 | 0.99 | 82% | +0pp |
Keep it: + Save as daily Report. Runs every morning at 07:00. Your 7:15 huddle has the day’s OEE board pre-built.
Which defect type is dominant on M2?
The Agent surfaces: dimensional defects on M2 are up 5x vs baseline. Other defect types unchanged. Severity is skewed toward “major” and “scrap” (not cosmetic). This points at a tool wear or calibration issue, not a material problem.
Keep it: + Save as Script — reusable for any machine when OEE trips.
Cycle-time creep detection
The Agent plots cycle time per machine. On M2, cycle time was drifting up for 3 days before defects spiked — a classic early-warning pattern. If you’d caught that earlier, you could have intervened before scrap rate jumped.
Keep it: + Watch cycle-time creep — daily, alerts when any machine’s 3-day avg cycle time exceeds baseline by 8%.
Shop-floor Dashboard
Dashboard renders in the right panel. Copy the public link, open it in a browser on the shop-floor TV, full-screen. Your team sees live OEE for the whole shift. If M2 starts slipping again, everyone knows.
What you built in 25 minutes
- 1 Report — daily OEE, pre-huddle ready.
- 1 Script — defect deep-dive, rerunnable per machine.
- 1 Watch — cycle-time creep alarm.
- 1 Dashboard — shop-floor TV view.
You found the M2 dimensional-defect problem before a customer returned parts. Next step is the physical root-cause — but now you know where to point the maintenance tech.
Next steps in this industry
- Connect real data — MQTT is the standard for modern machines. See IoT, MQTT & cameras. Your PLC / MES can publish cycle events directly.
- Add maintenance records — join failures against scheduled maintenance intervals. Predictive maintenance.
- Read the Manufacturing industry page — deeper scenarios: SPC control charts, changeover time analysis, energy per unit.