Skip to main content
Version: V2 (Ignition 8.1)

OEE Mode Record

Overview​

The OeeModeRecord entity represents a record of an Oee Mode event. The entity contains properties including the start and end time of the record, the calculation type for the OEE mode, the location for the record, and the status of the OEE record.

Table Structure​

The following table outlines the SQL columns for the oee_mode_records 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 mode record. See Location.01JAP8RJBN-8ZTPXSGY-J9GSDPE1
codeIntegerInteger code for the Oee Mode.1
nameStringName of the mode.Production
calculation_typeString (Enum)Determines how the mode is used to calculate OEE.SCHEDULED_DOWNTIME
colorStringHex color code for the mode.#a0c741
statusString (Enum)Status of the OEE record (running, faulted, cancelled, complete etc.).RUNNING
start_dateDateTimeStart date/time of mode record.2025-12-09T19:48:44Z
end_dateDateTimeEnd date/time of mode record.2025-12-09T19:48:44Z
durationDoubleDuration of the mode record.3293240.656
overrun_duration_secDoubleDuration that the machine has overrun its scheduled downtime.5.3
expected_durationDoubleExpected duration of the mode in seconds.10.0
to_be_prunedBooleanWhen true, the record is flagged for deletion during the next OEE record pruning window. Defaults to false.false

Field Details​

location_id​

References the location for the mode record. See Location for details.

code​

Integer code for the Oee Mode.

name​

Name of the mode.

calculation_type​

Determines how the mode is used to calculate OEE. Calculation types include SCHEDULED_PRODUCTION, SCHEDULED_DOWNTIME, and UNSCHEDULED_DOWNTIME.

color​

Hex color code for the mode.

status​

Status of the OEE record. Status types include IDLE, RUNNING, COMPLETED, FAULTED, CANCELLED, UNKNOWN, and PAUSED.

start_date​

Start date/time of mode record.

end_date​

End date/time of mode record.

duration​

Duration of the mode record.

overrun_duration_sec​

Duration that the machine has overrun its scheduled downtime.

expected_duration​

Expected duration of the mode in seconds.

to_be_pruned​

When true, the record is flagged for deletion during the next OEE record pruning window. Defaults to false.