Documentation Vision Library+ Documentation

Vision Library+ / Event Frames

OEE Card+

OEE Card+ shows the overall equipment effectiveness (OEE) of a line as one large ring, with three small rings for Availability, Performance, and Quality. Each ring turns green or red against its own target, and a line under the rings says which factors the OEE contains.

Overview

OEE Card+ shows the overall equipment effectiveness (OEE) of a line as one large ring, with three small rings for Availability, Performance, and Quality. Each ring turns green or red against its own target, and a line under the rings says which factors the OEE contains.

OEE card for one line: OEE 89.7 percent in green, Availability and Quality green, Performance red

Watch the demo

See OEE Card+ in a practical PI Vision workflow.

When to use it

Use OEE Card+ when you need to:

  • Show the OEE of a line or machine for the display time range.
  • See at a glance which factor, Availability, Performance, or Quality, holds the OEE down.
  • Compare each factor with its own target.
  • Show availability alone when you record downtime but no production counts.
  • Put one card per line side by side on an overview display.

Choose Event Analytics KPI+ when you need other downtime measures such as MTTR or the number of stoppages, or one card per category. Choose Event Analytics Chart+ to see the trend of a measure over time.

Before you begin

  • Prepare an event frame template whose event frames describe the line state, for example a State attribute with the values Running, Stopped, Failure, and Maintenance, with event frames in the display time range.
  • For Performance and Quality, the event frames carry numeric count attributes, for example Good Count, Total Count, and Target Count.
  • For availability alone, event frames of the downtime periods are enough.
  • The card follows the display time range and the event search of the symbol.

Add and set up the symbol

  1. Select OEE Card+ in the PI Vision symbol gallery.
  2. Search for the event frames of the line, here template Line State on Line 9, then drag the State attribute from the Event Frame Search results onto the display.
  3. Right-click the symbol and select Configure OEE Card....
  4. Open State Classification and set Classify by (1) to Attribute and Attribute (2) to |State.
  5. Add Running to Runtime (3), Maintenance and Stopped to Idle (4), and Failure to Downtime (5). Add a loaded value lists the values of the loaded event frames.
State Classification group with the State attribute and its values mapped to Runtime, Idle, and Downtime
  1. Close the configuration pane. The card shows the availability of Line 9. The OEE equals the availability until you map Performance and Quality, and the line under the rings says so.
OEE card with Availability 82.3 percent, dashes for Performance and Quality, and the line OEE = Availability

Common tasks

Show OEE for one line

Use this when the event frames carry production counts and you want all three factors in the OEE.

  1. Drag the Good Count, Total Count, and Target Count attributes from the Event Frame Search results onto the card.
  2. In the configuration pane, open Factors. Leave Basis (1) at Runtime.
  3. Under Performance, pick |Total Count in the Numerator list (2) and |Target Count in the Denominator list (3).
  4. Under Quality, pick |Good Count in the Numerator list (4) and |Total Count in the Denominator list (5).
Factors group with the Basis and the numerator and denominator of Performance and Quality marked

The card now shows all four rings. Performance is the sum of Total Count over the sum of Target Count, and Quality the sum of Good Count over the sum of Total Count, over all event frames in the time range. The OEE is Availability times Performance times Quality, and the line under the rings reads OEE = Availability x Performance x Quality.

OEE card for Line 9: OEE 69.5 percent, Availability 82.3, Performance 88.1, and Quality 95.9 percent, all red

Show availability only

Use this when you record downtime event frames but no line states and no production counts.

  1. Drag an attribute of the downtime event frames, for example Reason of the Downtime template on Line 9, onto the display.
  2. In the configuration pane, open State Classification and set Classify by to Everything (all events are downtime).
  3. Open Factors and set Basis to Time range.
  4. Leave the Numerator and Denominator lists of Performance and Quality empty.

The availability is the share of the time range without downtime. Performance and Quality show a dash, and the OEE equals the availability. The line under the rings reads OEE = Availability (no Performance or Quality mapping).

OEE card on downtime event frames: OEE and Availability 80.1 percent, dashes for Performance and Quality

Set targets per factor

Use this when your plant has its own goals for OEE and for each factor.

  1. In the configuration pane, open Targets.
  2. Type the targets for OEE (1), Availability (2), Performance (3), and Quality (4) in percent, as the card shows them: 65 means 65 %.
Targets group with OEE 65, Availability 80, Performance 85, and Quality 96

A ring is green when its figure, as shown, is at or above its target, and red below it. With these targets the OEE, Availability, and Performance of Line 9 turn green, and Quality stays red: 95.9 % is below 96 %.

OEE card for Line 9 with green OEE, Availability, and Performance rings and a red Quality ring

Place the small rings

Use this when the card does not have the usual wide shape, for example a tall card in a narrow column.

  1. In the configuration pane, open Rings.
  2. Set Small rings (1) to Auto, Right, or Below. Auto puts the small rings to the right of the large ring when the card is at least 1.6 times as wide as it is tall, and below it otherwise.
  3. Set Thickness (2) to Thin, Normal, or Bold.
  4. Turn Show targets (3), Show captions (4), and Show factor line (5) on or off, and set the Decimals (6) of the figures.
Rings group with its six settings marked

The rings grow and shrink with the symbol. A small ring shows its target only when it is large enough; the large ring always does while Show targets is on.

Tall OEE card with bold rings: the large ring on top and the three small rings in a row below

Use the symbol

OEE card with numbered callouts
What it shows
(1)The OEE for the time range. The ring fills to the figure and is green at or above the target, red below it.
(2)The caption and the target of the ring.
(3)A small ring for Availability, Performance, or Quality, colored against its own target.
(4)The factor line: which factors the OEE contains, and which are not mapped.
(5)The toolbar with Inspect Data and Download.
  • Time range: the card follows the display time range. Change the range and the figures follow.
  • Dash: a factor that is not mapped, or has no event frames in the time range, shows a dash. An unmapped factor is left out of the OEE. A mapped factor without event frames makes the OEE a dash as well.
  • Toolbar: hover the symbol to show the buttons in its top-right corner. Inspect Data shows one row per ring with the figure, the target, the basis, the attributes of the ratio, the number of event frames, and the time window, and the event frames behind the card. Download saves the rows as CSV, JSON, or XLSX.
  • Filters from other symbols: an Event Filter+ or another event symbol on the display narrows the event frames the card counts. The card itself publishes no filter, and a click on it does nothing.
  • The symbol only displays data. It does not write to the PI System.

Configure the symbol

Right-click the symbol and select Configure OEE Card.... The groups appear in this order.

Factors

Used in Show OEE for one line and Show availability only.

SettingWhat it does
BasisHow Availability, and with it the OEE, is calculated. Runtime divides the runtime by runtime plus downtime from the State Classification. Time range subtracts the downtime share of the time range from 100 %. Runtime is the default. When the classification has no Runtime values, a hint appears and the card uses Time range.
Performance > Numerator, DenominatorThe attributes whose sums form Performance: the sum of the numerator attributes over the sum of the denominator attributes. Pick an attribute in Add an attribute, or type one in New attribute and select +, which also adds it to the symbol's attributes. Select x to remove one. Leave both lists empty to leave Performance out of the OEE.
Quality > Numerator, DenominatorThe same for Quality.
Counts fromWhere Performance and Quality get their counts. Events sums event attributes of the loaded event frames, as in the rows above. Element reads production counter attributes of the element the event frames belong to: the asset on the display when the search follows the display, else the element of the loaded event frames. The counts need exactly one element. Events is the default. Availability always comes from the event frames.
Performance > Numerator, Denominator (Element)Available when Counts from is Element. Attributes of the element, such as Total Count and Target Count, typed as a path relative to the element; the card adds the leading bar. Type a path and select +; select x to remove one. Each attribute is read as its total over the time range, and Performance is the sum of the numerator totals over the sum of the denominator totals. When a path cannot be read, the factor shows a dash and the PI Vision log names the path.
Quality > Numerator, Denominator (Element)The same for Quality, such as Good Count over Total Count.

Targets

Used in Set targets per factor.

SettingWhat it does
OEE, Availability, Performance, QualityThe target of each ring in percent, typed as shown: 85 means 85 %. Defaults: OEE 85, Availability 90, Performance 95, Quality 99. A ring at or above its target is green, below it red. An empty target draws the ring in the accent color of the theme.

Rings

Used in Place the small rings.

SettingWhat it does
Small ringsAuto places the three small rings right of the large ring on a wide card and below it otherwise. Right and Below fix the position.
ThicknessThin, Normal, or Bold rings.
Show targets, Show captions, Show factor lineShow or hide the target under each figure, the ring names, and the line under the rings. A small ring shows its target only when it is large enough.
DecimalsDecimals of the figures and targets, 0 to 3. Default 1. The color compares the figure as shown with these decimals.

State Classification

Decides which event frames are runtime, idle, or downtime for Availability. Used in Add and set up the symbol.

SettingWhat it does
Classify byEverything (all events are downtime) counts every loaded event frame as downtime; use it when the search finds only stops. Attribute, Template, and Reason read an event attribute, the event frame template name, or the event frame reason and look the value up in the lists below. None leaves every event frame Unclassified.
AttributeAvailable when Classify by is Attribute. The event attribute whose value decides the state type.
Runtime, Idle, DowntimeAvailable for Attribute, Template, and Reason: the values of each state type. Add a loaded value offers the values of the loaded event frames that are in no list yet. Type a value adds one that is not loaded. A value in no list is Unclassified and counts as neither runtime nor downtime.

Style

SettingWhat it does
Theme, Surface, Container StyleA shared look for the card. Custom Theme adds Font, Foreground, and Background. The green and red of the rings stay the same in every theme.
Apply to all symbolsCopies the theme, surface, container style, and display background to every other Vision Library+ symbol on the display. Not available with Custom Theme.

Toolbar

SettingWhat it does
Show ToolbarTurns the toolbar with Inspect Data and Download on or off. On by default.
RevealOn Hover shows the toolbar in the top-right corner when the pointer is over the symbol. Always keeps it in view above the rings.

Filtering

SettingWhat it does
Filter IndicatorCompact shows a filter icon, Full adds the event count, and Hidden shows nothing.
Ignore MasterON ignores master filters. Linked inputs still apply.
Linked InputsMaps a named channel from a publisher to an event property. See Filtering dashboards.

Attributes

The event attributes the symbol loads and offers in the Numerator, Denominator, and Attribute lists. Use the buttons below the list to add, remove, or reorder entries.

Troubleshooting and limitations

SymptomCauseWhat to do
Performance or Quality shows a dash and the factor line says "no ... mapping".The Numerator or Denominator list of the factor is empty.Open Factors and fill both lists.
The rings show dashes, or Availability reads 100 % without any stops.The search finds no event frames in the display time range, or a filter excludes all.Change the display time range, check the search, or clear the filter.
Availability reads 100 % although the line stopped.No event frame is classified as downtime.Open State Classification and map the downtime values.
Factors shows a hint under Basis, and Availability does not match your runtime figure.Basis is Runtime, but the classification has no Runtime values. The card uses Time range, and the PI Vision log has a warning.Map the runtime values in State Classification, or set Basis to Time range.
All rings show dashes although event frames exist.The search reached its limit: the Number of results of the search, or 10,000 event frames. The rings would cover only part of the events. The PI Vision log has a warning.Shorten the time range, narrow the search, or clear Number of results.
Performance, Quality, and OEE show dashes with Counts from set to Element.The display shows several assets, or the loaded event frames belong to several elements. The PI Vision log names the count.Limit the search to one element, or use one display asset.
Performance, Quality, and OEE show dashes while a filter is active.Counts from is Element. Element counts cannot be filtered, so only Availability follows the filter.Clear the filter, turn Ignore Master on, or set Counts from to Events.
A ring is red at a figure that looks on target.The target compares with the figure as shown. 84.96 % shows as 85.0 % and is green against 85, but 84.94 % shows as 84.9 % and is red.Change Decimals or the target.

Limitation: A card shows one set of rings for all event frames its search returns. Use one card per line, as on an overview display with one card for each line.

Limitation: Availability always comes from the event frames, also when Counts from is Element.