Configuring Equipment Mode

Sepasoft MES Module Suite

OEE Equipment Modes

Answering the question, what is the system supposed to be doing, OEE provides a set of default equipment modes.

Default equipment modes:

  • Production
  • Idle
  • Changeover
  • Maintenance
  • Other
  • Disabled

You can add modes to this Default OEE Equipment Mode Class. You can also create Custom Equipment Classes.

Required to Complete These Steps

Warning

You must have the OEE module installed and the Production Equipment Model configured with at least one Line and one Cell.

For details, see:

  • OEE installation: MES OEE
  • Equipment Manager: Production Equipment Model Overview.

Adding Equipment Modes

Add a Mode to the Default class

In Equipment Manager,

  • Select a Line or Cell and on the right side, under OEE, click Mode Class.
  • With the Default class selected, click the plus icon for New/Add Equipment Mode.
  • Edit the mode:
NameEnter a name
TypeSelect the correct mode type. If your mode doesn't fit into the provided categories: Production, Idle, Changeover, Maintenance, Cleaning or Disable, select Other. 
Code

Enter in the integer value for this equipment mode. This number generally aligns with the status code value from the PLC.

Undefined Equipment Mode Value

Note

If an equipment mode value (code) appears that has not been previously assigned, Live Analysis continues without error, and a log entry is created to document the unknown equipment mode received:

Log entry:

"Unknown equipment mode (<mode>) for <equipmentPath> at <date>"


Include in OEE

Check this box if this mode should be included in OEE analysis.

When  Include in OEE is selected, equipment states and counts that occur during this mode are included in the OEE analysis. If the line is in a mode that has  Include in OEE selected, then the elapsed time starts for OEE calculations. Planned downtime, unplanned downtime and runtime are calculated based on changes of the equipment state and used to calculate OEE Availability. Line downtime events are generated and displayed in the OEE Downtime Table - Vision component.

Include in production counts

Check this box if counts should be included as production units. 

When Include in Production Counts is selected, all production counts are recorded during this mode. This is useful if good units are produced in a mode other than Production that should be included in the total production count for the run. For example, a setup mode can be created and units produced can be added to the total production for the run, but not necessarily included in the OEE calculations.

The  Include in Production Counts and Include in OEE settings together provides flexibility in how counts and OEE are handled. The following table shows valid combinations of these settings and how they should be used.

Include In OEEInclude Production CountsDescription



Use for modes such as cleaning or testing, where OEE and production counts are irrelevant


X

Use for modes such as Changeover or Setup, where production counts are still required but downtime etc. should not be included in OEE calculations for the line
X


This is not a valid selection as production counts are required for OEE Performance and Quality Metrics
X

X

Use for mode such as Production where production counts and OEE data is required

How to Set the Mode of a Line and Equipment

There are several ways of setting the mode:

  • Through OEE Operation segment execution
  • By passing a tag value through the mode tag collector
  • Use the system.mes.addTagCollectorValue scripting function

OEE Operation Segment Execution

The mode is automatically derived based on the settings in the  OEE Material Manager - Vision  when a production run is started using the  OEE Run Director - Vision  or  MES Schedule View  components.

When an OEE operation is started, the mode as defined in the production settings complex property of the changeover segment is recorded as the state of the line and cells. When the Changeover operation is ended, the mode as defined in the production settings complex property of the production segment is recorded as the state of the line and cells. When the Operation is ended, the mode of the line and cells is set to Idle.

Mode Tag Collector

The current mode can also be overridden by passing a tag value through the mode tag collector.

Setting Mode via Scripting

The  system.mes.addTagCollectorValue scripting function can be used along with system.mes.updateTagCollectorValues to set the mode of equipment production items.

Export and Import Equipment Modes

Export

  • To export, select Equipment Modes and click the Export button, or right click on Equipment Modes and click the Export menu item.
  • A file save dialog box appears allowing you to select where to store the .xml file.

Import

  • To import, select Equipment Modes and click Import.
  • A file save dialog box appears. Select the file to be imported and click Open.

Sepasoft MES Module Suite