Skip to main content

OEE Mode

Overview

The OeeMode entity represents a mode of operation for an OEE Configuration. Modes in OEE are used primarily to calculate TEEP (Total Effective Equipment Performance). These modes tell the system if the time period that a machine is in a given mode should be considered scheduled/unscheduled time that the machine is supposed to be running. The entity contains properties including OEE calculation type, expected duration for the mode, and location the mode belongs to.

Table Structure

The following table outlines the SQL columns for the oee_modes table, providing a brief description of each.

ColumnTypeDescriptionExample
idString (ULID)Unique identifier for the entity.01JAP8RJBN-8ZTPXSGY-J9GSDPE1
enabledBooleanIf the entity is enabled or not.true
created_dateDateTimeDate the entity was created.2024-12-31T19:48:44Z
created_byStringPerson who created the entity.TamakiMES
modified_dateDateTimeDate the entity was modified. Value is null upon creation, and gets initially populated upon the first edit.2024-12-31T19:48:44Z
modified_byStringLast person to modify the entity. Value is null upon creation, and gets initially populated upon the first edit.TamakiMES
notesStringNotes about the entity.This entity has these extra notes
spare1StringThe first spare column that can be used for additional context on the entity.some extra context 1
spare2StringThe second spare column that can be used for additional context on the entity.some extra context 2
spare3StringThe third spare column that can be used for additional context on the entity.some extra context 3
location_idString (ULID)References the location for the property. See Location.01JAP8RJBN-8ZTPXSGY-J9GSDPE1
codeIntegerInteger code used to differentiate Oee Modes at a location.1
nameStringName of the OEE Mode.Production
calculation_typeString (Enum)Determines how this mode should be used to calculate OEE.SCHEDULED_DOWNTIME
expected_duration_sourceString (Enum)Source to calculate the expected duration of a scheduled downtime event.STATIC
expected_duration_expressionStringExpression to calculate the expected duration of the mode in seconds.{[provider]tag/value}
expected_durationDoubleExpected duration of the mode in seconds.900.0
colorStringHex color code for the mode.#FFC800

Field Details

location_id

References the location for the OEE Mode. See Location for details.

code

Integer code used to differentiate Oee Modes at a location.

name

Name of the OEE Mode.

calculation_type

Determines how this mode should be used to calculate OEE. Calculation types include SCHEDULED_PRODUCTION, SCHEDULED_DOWNTIME, and UNSCHEDULED_DOWNTIME.

expected_duration_source

Source to calculate the expected duration of a scheduled downtime event. Sources include STATIC in which a static value is used and EXPRESSION where the value is derived from an Ignition expression.

expected_duration_expression

Ignition expression to calculate the expected duration of the mode in seconds.

expected_duration

Expected duration of the mode in seconds.

color

Hex color code for the mode.