
How to Code Downtime Reasons
Downtime reason coding is classifying machine stops according to a predefined, hierarchical and standard list of reasons. Each stop is assigned a code; this produces data that can be counted, grouped and compared across machines instead of free text. A well-designed code tree is the basic infrastructure that determines the reliability of downtime analysis and OEE reports.
- Structure: a two-level tree — 5-8 main groups with 15-30 sub-reasons below
- Principle: codes should be mutually exclusive (one stop fits one code) and the list should be exhaustive
- Each code should have a planned/unplanned class and a responsible department defined
- Operators should be able to pick a code in 2-3 taps; the share of “other” should not exceed 5%
- The list is versioned as master data; each machine type sees its own sub-list
What Is Downtime Reason Coding?
Free-text entries such as “machine broke down”, “failure” and “maintenance came” may describe the same event but become three separate lines in a report. Coding removes this scatter: every stop is recorded with a predefined code (for example BRK-MEC: Mechanical failure). The code itself is a key; its description, planned/unplanned class, responsible department and place in OEE are tied to this key.
Why Does It Matter?
- Analysability: Pareto, trend and machine comparison are only possible with coded data.
- Clear responsibility: The code determines the owner of the problem; missing material is a logistics matter, not maintenance.
- OEE consistency: Which code is deducted from planned time and which is an Availability loss is defined on the code.
- Maintenance indicators: MTTR and MTBF are calculated only from breakdown-coded stops; without coding these indicators do not exist either.
How Is the Code Tree Designed?
- Define the main groups. These 6-7 groups are usually enough: Breakdown, Setup/Adjustment, Material, Quality, Organisational (personnel, waiting), Planned (maintenance, breaks, cleaning), External (energy, infrastructure).
- Open sub-reasons by machine type. An injection moulding machine’s breakdown sub-reasons (hydraulics, heaters, robot) differ from a CNC’s (tool breakage, spindle). Each machine type should see its own sub-list.
- Assign attributes to each code. Planned/unplanned, responsible department, OEE class (deducted / Availability loss), whether it requires a maintenance work order.
- Test on the shop floor. For a week, collect the situations operators struggle with; add missing codes and merge those never used.
- Version it. Keep code creation/closure dates; do not delete a closed code, deactivate it so past reports are not broken.
Example Code List
| Main group | Sub-reason (examples) | Class | Owner |
|---|---|---|---|
| BRK – Breakdown | Mechanical, electrical, hydraulic, automation | Unplanned | Maintenance |
| SET – Setup | Mould change, tool change, adjustment, first-part approval | Planned (OEE loss) | Production |
| MAT – Material | No raw material, wrong material, no auxiliary material | Unplanned | Logistics |
| QUA – Quality | Waiting for quality approval, inspection, trial after adjustment | Unplanned | Quality |
| ORG – Organisational | No operator, waiting for forklift, no work order | Unplanned | Production |
| PLN – Planned | Planned maintenance, breaks, cleaning, training | Planned (deducted) | Planning |
Common Mistakes
- A list that is too long: A flat list of 80 codes leads operators to choose the first one they see.
- Confusing cause and symptom: “Machine stopped” is a symptom, “low hydraulic pressure” is a cause. Codes should define the cause.
- Overlapping codes: If “adjustment” and “setup” are separate codes, operators pick differently each time; merge them or clarify the boundary.
- Deleting codes: Past stops lose their code and old reports change. Deactivate instead.
- Giving all machines the same list: Finding the right code among irrelevant ones becomes harder.
Example Application
At a cable factory, all 12 lines used a single flat list of 60 codes; the share of “other” was 31%. The list was reduced to 6 main groups and 12-18 sub-reasons per line type, and a responsible department was assigned to each code. Three months later the share of “other” fell to 4%; for the first time it became clear that material-related stops exceeded breakdowns, and the improvement priority changed.
Frequently Asked Questions
How many levels should the downtime code list have?
Should there be an “other” code in the list?
Who should define downtime codes?
Downtime Reason Coding in EFFIX MES
In EFFIX MES, downtime reasons are defined hierarchically on dynamic definition screens; each reason is assigned a planned/unplanned class and the way it is treated in OEE, and different sub-lists can be shown by machine type. On the HMI terminal the operator selects a reason in a few taps for a stop opened by the machine signal; definition changes are recorded in the hash-chained audit trail. Breakdown-coded stops feed the MTTR/MTBF calculation and the maintenance module; the Proactive Alert System can open a maintenance work order automatically for specific codes. For details, see the EFFIX MES page or request a demo.
