Forbach & Partners DE Book a call

OEE on CNC machines: where availability is really lost

OEE is only as good as its definition. If you separate availability, performance and quality cleanly, you can see which losses on CNC machines really count and where spindle monitoring helps.

Overall equipment effectiveness, or OEE, is the best-known indicator of a machine's productivity. It condenses into a single number what share of the planned time actually resulted in good parts at the intended cycle time. That very condensation makes it vulnerable: two plants with the same OEE can have completely different problems, and two plants with different OEE figures are often simply calculating differently. This article explains how to calculate OEE on CNC machines properly, which losses lie behind it, where unplanned downtime has an effect and what condition monitoring of the spindle can contribute. And what it cannot.

Calculating OEE: availability × performance × quality

OEE is the product of three factors. Each factor describes a different kind of loss and lies between zero and one:

OEE = availability × performance × quality Availability = run time / planned production time Performance = (parts produced × ideal cycle time) / run time Quality = good parts / parts produced Planned production time = shift time − planned breaks and planned idle time Run time = planned production time − stoppages

Availability captures how long the machine actually produced during the planned time. Performance captures whether it worked as fast during that time as the ideal cycle time allows. Quality captures what share of the parts produced were good without rework.

The definition of planned production time is important. Whether planned maintenance, set-up or a lack of orders is deducted or counts as downtime is a decision made within the plant. The international standard ISO 22400-2 describes key performance indicators for manufacturing operations management, including OEE, but leaves room for interpretation in how losses are assigned. In practice, a uniform definition, set down in writing and applied to all machines, matters more than the question of which definition is the "right" one.

Worked example with assumed values

Assume a machining centre works a shift of 480 minutes. Of this, 30 minutes are a planned break. During the shift the machine stands still for a total of 45 minutes because of faults and set-up. The ideal cycle time for the part is 3 minutes. 120 parts are produced, of which 114 are good. All values are freely chosen:

Assumptions, not a benchmark
QuantityCalculationResult
Planned production time480 − 30 min450 min
Run time450 − 45 min405 min
Availability405 / 45090.0%
Performance120 × 3 / 40588.9%
Quality114 / 12095.0%
OEE0.900 × 0.889 × 0.95076.0%

A useful cross-check: OEE is also the time that would theoretically have been needed for the good parts, divided by the planned production time. In the example that is 114 × 3 minutes = 342 minutes, divided by 450 minutes, which again gives 76.0%. If this cross-check does not match, something is wrong in the input data, usually the ideal cycle time.

The example also shows why a single OEE figure reveals little. Whether 76% is good or bad depends on the part mix, the batch size and above all on your own definition. Benchmark values circulating on the internet should therefore be used only with great caution. More meaningful is the trend on the same machine over time, and the question of which of the three factors explains the largest loss.

The six big losses on CNC machines

The classification into six big losses comes from Total Productive Maintenance. It assigns each loss to one of the three OEE factors. Applied to machining centres, it looks like this:

LossOEE factorExample on a machining centre
Breakdowns and faultsAvailabilitySpindle bearing damage, axis fault, tool changer failure, CNC control alarm
Set-up and adjustmentAvailabilityChanging fixtures, setting the zero point, measuring tools, proving out the first part
Idling and minor stopsPerformanceWaiting for blanks or the operator, chip problems, short interruptions caused by messages
Reduced speedPerformanceFeed or spindle speed override below 100%, cautious cutting data, programs slower than possible
Start-up lossesQualityScrap after set-up or after a longer stoppage, for example until the machine is thermally stable
Quality losses in productionQualityDimensional deviations, surface defects, rework

The assignment is not set in stone. Many plants count minor stops below a defined duration as performance loss and longer interruptions as availability loss. Whether set-up counts as a loss or is excluded from planned production time is also a matter of definition. Again, what matters is that all machines are treated the same way.

Where unplanned downtime shows up in OEE

An unplanned failure lowers availability first. With spindle bearing damage, however, that is not the only effect. Bearing damage can hit OEE on all three levels:

  • Availability: the failure itself, the wait for spare parts and service, measuring in after the repair.
  • Performance: when a spindle sounds unusual or runs warm, operators sometimes turn the override down to spare it. That is understandable, but it does not appear in any fault statistics.
  • Quality: advanced bearing damage can affect surface finish and dimensional accuracy. On top of this comes scrap if the damage escalates during machining.

A note on honest accounting

If planned maintenance is excluded from planned production time, every failure that turns from an unplanned into a planned case improves OEE on paper alone. Part of this improvement is therefore a matter of bookkeeping. The economic benefit lies elsewhere: shorter stoppages, less consequential damage, no rush costs and plannable delivery dates.

The costs behind unplanned downtime and how to quantify them are described in the article What does an hour of machine downtime cost?

Measuring OEE on CNC machines correctly

An OEE based on shift sheets is better than none. But it almost always underestimates minor stops and speed losses, because nobody writes down a two-minute interruption. Modern CNC controls supply much of the necessary data themselves:

  • Operating state and program status: is a program running, is the machine halted, in set-up mode or in alarm?
  • Overrides: at what percentage are feed and spindle running? The speed loss can be estimated from this.
  • Alarms and messages: when did which alarm occur, and when was it acknowledged?
  • Part counts: depending on the control and programming, via counters in the NC program.

On SINUMERIK and HEIDENHAIN controls, many of these values are available via OPC UA. The companion specification for machine tools (OPC 40501, known as umati) provides a vendor-independent information model for this, provided the control offers it. How the connection works in practice is shown in the article Connecting SINUMERIK and HEIDENHAIN via OPC UA.

Two things no control supplies: the reason for a stoppage and the number of good parts. A halt can be set-up, a material shortage or a defect. Without a short entry by the operator or a link to quality inspection, the loss analysis remains incomplete. Also check the ideal cycle time: a value from the CAM system is often more realistic than a historical average that already contains the losses.

What condition monitoring can contribute to OEE

Spindle condition monitoring addresses a single but expensive loss: unplanned failure caused by bearing damage. It detects changes in the vibration pattern of the spindle before the damage leads to failure, and so turns an unplanned intervention into a planned one. For this, our system evaluates outer race, inner race, rolling elements, cage and unbalance, assesses them against the learned baseline, i.e. the normal state of each individual spindle, and explains every alert. The basics are described in the guide to spindle monitoring.

Just as important is what it does not do:

LossContribution of spindle monitoring
Failure due to spindle bearing damageEarly warning, plannable replacement, less consequential damage
Spindle run slowly out of cautionCan help, because the condition is documented rather than guessed
Scrap from escalating bearing damageCan help if action is taken in time
Set-up and adjustmentNo contribution
Minor stops due to material, chips, operatorsNo contribution
Feed axes, tool changer, coolantNot offered today. Feed axes are in development, tool changer and coolant are planned

Nobody can seriously offer a prediction to the day or a promise of zero downtime. How early bearing damage becomes visible depends on bearing type, load, speed and lubrication. Notes on the individual areas can be found in the articles on feed axes, tool changers and coolant.

How to proceed

  1. Fix the definition. Write down what belongs to planned production time and how set-up, maintenance and minor stops are booked.
  2. Start with one machine. Ideally the bottleneck. There, every hour gained has a direct effect on throughput.
  3. Sort losses by cause. A simple Pareto analysis of the reasons for stoppages shows where the largest blocks are.
  4. Separate planned and unplanned. Only this separation shows which share of the failures could become plannable through early detection.
  5. Choose the right measure. Long set-up times are solved with set-up optimisation, not with sensors. Frequent spindle damage, on the other hand, with condition monitoring.

Frequently asked questions

How do you calculate the OEE of a CNC machine?

OEE = availability × performance × quality. Availability is run time divided by planned production time, performance is parts produced times ideal cycle time divided by run time, and quality is good parts divided by parts produced. As a check: good parts times ideal cycle time divided by planned production time gives the same result.

What is a good OEE value?

A generally valid target value means little, because part mix, batch size and above all the definition of planned production time vary widely. Compare the OEE of the same machine over time and analyse which of the three factors explains the largest loss.

Does planned maintenance count towards OEE?

That is a decision made within the plant. Planned maintenance is often excluded from planned production time, whereas unplanned failures count as availability loss. What matters is that the rule is set down in writing and applies to all machines.

Can I read OEE data directly from the SINUMERIK or HEIDENHAIN control?

Operating state, program status, overrides and alarms can be read via OPC UA if the control has the corresponding option. The control does not usually supply the reason for a stoppage or the number of good parts. That requires an entry by the operator or a link to quality inspection.

Does predictive maintenance improve OEE?

It can reduce the loss from unplanned failures, and in the case of spindle monitoring the failure caused by bearing damage. It has no influence on set-up times, minor stops due to material or operators, or problems on other assemblies. The difference between the terms is explained in the article Condition monitoring or predictive maintenance.

Sascha P. Forbach

About the author

Sascha P. Forbach is the founder of Forbach & Partners and the software architect of its spindle monitoring system. For twelve years he has advised manufacturers on process quality and machine availability. About us

Next step

Can your control be connected? You will know in 20 minutes.