7 min read · Smart factory

The system now records machine downtime. The report says the machines stopped for 40 hours in total this month. But in the problem-solving meeting, everyone asks: stopped because of what? The reason field is full of "Other." The number cannot be used to fix anything. This article covers how to design reason codes that are easy for people on the floor to fill in and that managers can use afterward.
First, separate planned stops from unplanned stops
Before setting up codes, agree which kinds of time count as planned stops, such as the lunch break, a morning meeting, or a shift when the machine is not scheduled to run. These should not be counted as machine failures. Stops that were not planned, such as a machine fault or waiting for material, are unplanned.
Many manufacturing software products already split status types this way. For example, Sepasoft's documentation divides them into planned downtime, unplanned downtime, blocked by the downstream side (Blocked) and starved of input from upstream (Starved). Planned time such as breaks or meetings does not count against machine availability. The key point is that each factory draws the line differently. If you do not agree on it first, numbers across production lines cannot be compared.
A product changeover is an example that often causes arguments. Some factories count it as planned, because it is in the production schedule. Others count it as time that should be reduced. Choose one, then write it down where everyone can see it.
Keep the codes short and non-overlapping
A good reason code lets someone pick it in a few seconds while standing next to the machine. If there are 80 options, people pick the first one or "Other" just to move on. The approach is two levels.
- Level one (main groups): no more than 6–8 groups, such as waiting for material, changeover, machine fault, quality, waiting for people, and power/utilities
- Level two (details): shown only after a group is chosen, for example under "Machine fault": motor, sensor, belt
- Each code must not overlap with another, meaning one event should fit only one option
- Use words the people on the floor actually say, not engineering jargon alone
Systems like the one described in Sepasoft's documentation work this way too: there are main states and sub states that hold the detailed reasons under each main state, and you can set whether the operator must choose or not. The level of detail you force must be right. If you force too much, people will fill it in at random.
Let the system guess first, and let a person confirm afterward
A machine connected by signals knows when it stopped, but not why. So the system should fill in a first-guess reason as far as it can. For example, if the machine stopped because no material came in (Starved), start with "Waiting for material" and let a person confirm or correct it.
Sepasoft's documentation says the operator can change a reason the system filled in, and the system keeps both values: the automatic one and the one the person corrected. For the downtime table, it lets you split a long event into several periods, each with its own reason. This helps with a single stop that has two causes in sequence, such as a machine fault followed by waiting for a spare part.
- Decide who may confirm a reason, such as the shift supervisor
- Set a time limit for changing it afterward, such as before the shift closes or within the next day
- Keep the edit history, and do not overwrite it so it is lost
Build a report that shows repeated causes, and check that the fix helped
A useful report ranks causes by total stopped time, not by number of occurrences, because many short stops and one long stop have different effects, and you should look at both together. After a fix, keep watching that cause's numbers for several more weeks to see whether it really went down, so the issue does not disappear once the meeting ends.
Hypothetical example: on one 8-hour shift on a packing line, the stops were as follows. Waiting for material: 3 times, of 10, 15 and 5 minutes, a total of 10 + 15 + 5 = 30 minutes. Changeover: 1 time, 25 minutes. Machine fault: 2 times, of 20 and 15 minutes, a total of 35 minutes. All causes together: 30 + 25 + 35 = 90 minutes. If this factory agrees that changeover is planned time, the unplanned time is 30 + 35 = 65 minutes. Ranked by time, machine fault (35) comes before waiting for material (30). But waiting for material happens more often, so it should be reviewed with purchasing and the warehouse. All figures are hypothetical.
Checklist before you start
- Agree which time counts as planned, and write it in one document, including changeovers
- Set no more than 6–8 main reason groups, and make each event fit only one option
- Have the people on the floor help name the codes, and trial filling them in under real conditions for at least one week
- Set who confirms, and the time limit for changing afterward
- Track the share of "Other." If it is high, the code set does not yet match the floor.
- Set a review of the codes every few months, remove options nobody picks, and add the ones that are missing
When it fits, and the limits
- Fits: a factory that has started to see machine downtime and wants to know which problem to fix first
- Benefit: problem-solving meetings use the same cause data instead of each person's feeling
- Limit: if the categories are too detailed, people will fill them in wrong or pick the first one to get it done
- Limit: the run/stop signal from the machine does not tell the cause by itself. It needs a person to fill it in or agreed rules, and automatic guessing rules can be wrong.
- Limit: the numbers are only reliable when supervisors see the benefit and actually use them in meetings
Talk to BT San
If you want to design reason codes together with the floor team, prepare the list of reasons the team uses now in a notebook or a LINE group, an example of the report you use, and the time shift supervisors can spare to join a trial. Then contact BT San to talk it through. For how to calculate OEE and for SCADA/MES, read more in the linked articles.




