Skip to main content

OEE for the Filler

What you build​

An OEE calculation for the Filler on Line 1. mii reads the machine state and the two counters from the tags you made in the first tutorial, compares the output with an ideal cycle of 0.5 seconds per bottle (120 bottles per minute), and reports availability, performance, quality and OEE per shift and per day.

Time: about 40 minutes, plus some hours of data to see a full shift.

Prerequisites
  • You finished Your first pipeline: the Filler tags State, Speed, GoodCount and RejectCount are collected.
  • The Filler has been collected for a while. OEE only counts time it knows about; history from before the setup is not known.
  • You are signed in as admin or controls engineer (the setup needs the right to configure the plant).

How OEE is calculated here​

PartFormula
AvailabilityRun time / (Run time + Down time). Time that is unknown is left out and shown as a range.
PerformanceUnits counted times the ideal cycle in seconds, divided by the run time in seconds.
QualityGood units / total units checked.
OEEAvailability times Performance times Quality.

Nothing is guessed. If the data is missing, mii shows "unknown", and a ratio is withheld when less than 90 % of the period is known (you can change this threshold).

Step by step​

1. Set the site time zone​

  1. Open Plant → Production. The page title is "Process master data".
  2. In Site timezone choose your zone, for example Europe/Istanbul, and click Save timezone.

Shift times are local to this zone.

2. Create the product​

  1. Open the tab Products and click New product.

  2. Fill:

    FieldValue
    CodeCOLA-500
    NameCola 500 ml
    Unitbottle
    Ideal cycle (s)0.5
  3. Save with Create.

0.5 seconds per bottle is 120 bottles per minute, the nominal speed of the Filler in the simulator. Because the simulator runs at about 93 % of its setpoint, expect a performance of about 93 %.

Products tab of the demo plant: BTL-500 Spring water 0.5 L with ideal cycle 0.5 s
Products tab of the demo plant: BTL-500 Spring water 0.5 L with ideal cycle 0.5 s

3. Create the shifts​

The shifts are the OEE schedule. Without them OEE says "No shift covers this time".

  1. Open the tab Shifts and click New shift three times:

    CodeNameStart (local)End (local)Days
    AMorning06:0014:00Mon to Sun
    BAfternoon14:0022:00Mon to Sun
    CNight22:0006:00Mon to Sun
  2. Shift C ends before it starts, so it "crosses midnight". The day you tick is the day the shift starts.

  3. The banner "Current shift" now shows the shift that is running.

Shift codes must be unique. The three shifts together cover all 24 hours, so the Overview shows a shift at any time.

Shifts S1, S2 and S3 covering 24 hours, S3 crossing midnight
Shifts S1, S2 and S3 covering 24 hours, S3 crossing midnight

4. Create downtime reasons​

Reasons classify stops. The category decides how a stop counts.

  1. Open the tab Downtime reasons and click New reason for each row:

    NameCodeCategoryCounts as
    ChangeoverCHGplannedLeft out of availability
    Lunch breakBRKplannedLeft out of availability
    Bottle jamJAMunplannedLowers availability
    Label roll emptyLBLunplannedLowers availability
    Slow runningSLOspeedInformational loss
    Quality checkQCKqualityInformational loss
  2. Leave Parent at "— top level —".

A stop without a reason counts as unplanned.

5. Optional: start a production order​

An order gives you OEE per order and uses the order's cycle time first.

  1. Open the tab Production orders and click New order.
  2. Code ORD-1001, Product COLA-500, Equipment Filler, Planned qty 50000.
  3. Click Start on the row. The status changes to running.

Only one order can run on one machine at a time.

6. Set up OEE for the Filler​

  1. Open Plant → OEE and the tab Setup.

  2. Click Set up a machine. The dialog "OEE setup: Filler" opens after you choose the Machine Filler.

  3. Fill:

    FieldValueWhy
    Calculate OEE for this machineon
    Running signalStateThe tag that says whether the Filler runs. It is polled every second.
    Values that mean running10 stopped, 2 fault and 3 setup are not running.
    A reading is valid for (s)0Use the poll interval of the tag.
    What the counters countGood units, and rejectsThe simulator counts good bottles and rejects separately.
    First counter (Good units): Counter tagGoodCount
    Second counter (Rejects): Counter tagRejectCount
    Highest possible counts per second5A little above the real 2 per second. Used to tell a reset from a faulty value.
    Default ideal cycle (s per unit)0.5Used when no order or product has a cycle.
    Least known time (%)90Below this, a ratio is not shown.
  4. Click Try on history, choose Last 24 hours and look at the preview. Nothing is saved by the try.

  5. Click Save. The toast says "Setup saved."

Then click Cycle times on the Filler row. For COLA-500 enter Seconds per unit 0.5 and save.

OEE Setup tab with the Filler configured (running signal State, counters GoodCount and RejectCount)
OEE Setup tab with the Filler configured (running signal State, counters GoodCount and RejectCount)
Without a second counter OEE stays empty

With No quality counter mii has no quality figure, and OEE is not calculated. It is never assumed to be 100 %.

Saved shifts keep their settings

A finished shift keeps the settings it was calculated with. After you change the setup, use Recompute (From, To, at most 31 days back) to apply the new settings to the past.

7. Read the result​

  1. Open the tab Now for the running shift. Then the tab History: Machine Filler, Per Shift, range Today.
  2. The result table has the columns Availability, Performance, Quality, "Known time" and Units.

With the simulator you can expect, for a full shift:

MeasureTypical value
Availability85 to 92 % (short stops and a fault every hour or so)
Performance88 to 98 %
Qualityabout 98.8 % (1.2 % of bottles are rejected)
OEEroughly 75 to 88 %
Unitsabout 44,000 to 52,000 per 8-hour shift

Stops are random, so your numbers differ. They are consistent with each other: OEE equals A × P × Q.

Below the table:

  • Where the time went: Run, Down, Planned stop and Unknown.
  • Units: good and rejected.
  • Losses by reason: stops sorted by reason.
  • What to know: remarks, for example "unknown time" or a counter reset.
  • Time line: each stop is a bar. Click a stop and choose Record a reason… to give it JAM or LBL.
OEE history for the Filler: availability, performance, quality, OEE
OEE history for the Filler: availability, performance, quality, OEE

8. Record a reason for a stop​

  1. In the Time line click a red stop of a few minutes.
  2. Choose Record a reason… and pick Bottle jam.
  3. The "Losses by reason" list now shows Bottle jam with the minutes.

You can also manage stops under Plant → Production → Downtime events (columns Equipment, Reason, Start, End, Duration, Source, Note, with the button End now). Two events on one machine must not overlap.

9. Open the shift report​

  1. Open Monitoring → Reports and the tab Shift report.
  2. Choose Day and Shift.
  3. The report shows the OEE table per machine, "Losses per machine", "Downtime events", "Production orders" and "Alarms". Click Print to print or save as PDF.

If the shift is still running, the report says "The shift is still running. Figures go up to now."

Reports page with the shift report of the demo plant
Reports page with the shift report of the demo plant

Check it works​

  • Shifts lists A, B and C, and "Current shift" shows one of them.
  • The OEE setup of the Filler is saved with State as running signal and the counters GoodCount and RejectCount.
  • OEE → Now shows Availability, Performance and Quality, not "unknown".
  • Availability is below 100 % after the Filler has stopped at least once.
  • The shift report lists the Filler with Units and at least one stop with a reason.

Next steps​

Troubleshooting​

SymptomLikely causeFix
"No shift covers this time"No shift is defined for this time or day.Create shifts that cover 24 hours, check the site time zone.
Quality and OEE are emptyCounters mode is No quality counter, or only one counter is chosen.Choose Good units, and rejects and set both tags.
A ratio is missing, with "unknown time"Less than 90 % of the period is known (data started after the shift began, or the runtime was off).Wait for a full shift, or lower Least known time (%).
Performance above 100 %The ideal cycle is too long, or the counter has a faulty jump.Check the cycle time of the product. Ratios are flagged, never clamped.
The running signal cannot be chosenThe tag belongs to another machine.Only tags of the Filler are listed. Check the device binding.
Availability is always 100 %State is not changing, or Values that mean running includes 0.Set the value to 1 only.
"You may look, but not change anything here."Your role cannot configure the plant.Sign in as admin or controls engineer.
Everything is gone after some hoursFree mode reset.Upload a licence.