Skip to end of metadata
Go to start of metadata

Recall that production values such as equipment modes, states and counts are recorded 24/7.  Tag collectors will not record values if the equipment item is not enabled in the production model. If the recorded values need to be modified as production counts were off or the line mode was captured as Maintenance when it should have been Production, these scripting functions or the MES Value Editor component, can be used to correct the values.

The Tag Collector Types are used by the MES Value Editor component and the script functions listed below to read and modify production values recorded via tag collector paths and by the OEE engine.

Each tag collector type may have a different datatype and some tag collector types have a key (where there is more than one stored value for the tag collector type). Examples of these would be MES Counters, where the Tag Collector Type Equipment Count would have the default Material Out and any other user added mes counter names. Additional Factors would also use the key to distinguish between the user defined additional factors.

The Equipment State tag collector has an additional parameter called the Auxiliary Value. The getTagCollectorValue() and updateTagCollectorValue() have an overloaded function to handle the auxiliary value name for this tag collector type.

 Scripting Functions for Tag Collectors



OEE Rates are stored as "per minute"

The Sepasoft OEE module always stores rates (including the Standard Rate) in "per minute" equivalent, in order to streamline functionality (regardless of the units set in GUI-based components such as the OEE Material Manager). However, when utilizing the Tag Collector, you are storing values directly to the database, so you must convert the values to "per minute" before writing values to these tags. Rate values in the Value Editor will also be "per minute".

Tag Collector Type

Data TypeKeyAuxiliary ValueDescription

Equipment Additional Factor 

StringName of user defined additional FactorsN/ASee Additional Factors for more details
Equipment CountLongName of user defined MES counters and the default Material OutN/AValue of the MES Counter as defined in the key. See MES Counters for more details
Equipment Cycle CountLongN/AN/ASee Analysis Datapoints and Settings - Cycle Count for more details
Equipment NoteStringN/AN/AAny downtime notes added through the tag collector or entered through the OEE Downtime Table component
Equipment Infeed Count Scale Float8N/AN/ASee Infeed Count Scale for more details
Equipment Infeed Units StringN/AN/ASee Infeed Units for more details
Equipment ModeInt4N/AN/ASee Equipment Modes for more details
Equipment Operation UUIDStringN/AN/AUnique Identifier for currently running operation
Equipment Outfeed Units StringN/AN/ASee Outfeed Units for more details
Equipment Package CountFloat8N/AN/ASee Package Count for more details
Equipment Product CodeStringN/AN/AProduct code currently being processed on this equipment
Equipment Rate Period StringN/AN/ASee Rate Period for more details
Equipment Reject Count ScaleFloat8N/AN/ASee Reject Count Scale for more details
Equipment Reject UnitsStringN/AN/ASee Reject Units for more details
Equipment Schedule CountFloat8N/AN/AAmount of product that should have been produced (Target) based on the schedule rate
Equipment Schedule DurationFloat8N/AN/ADuration of scheduled run
Equipment Schedule RateFloat8N/AN/ASee Schedule Rate for more details
Equipment Shift StringN/AN/AThe shift as defined in the Ignition Schedule Management component or passed to the Shift Tag Collector
Equipment Standard RateFloat8N/AN/ASee standard rate for more details
Equipment StateStringN/A EquipmentUUIDThe unique identifier for the equipment
Equipment StateInt4N/A StateEquipment state value.  Note that this may be a negative value if the original value was over-ridden.
Equipment StateInt4N/A OriginalState The original equipment state before it was updated
Equipment StateStringN/A DifferedToUUID If the original EquipmentUUID is changed using the Downtime Table then the new uuid is DifferedToUUID
Equipment StateStringN/ADifferedState If the original state is changed using the Downtime Table then the new state is DifferedState
Equipment Target Changeover TimeFloat8N/AN/AAmount of time in minutes set for Target Changeover. See Changeover Duration for more details
Equipment Work OrderStringN/AN/AWork order processed on this equipment
Line Infeed Count Equipment UUID StringN/AN/AUnique identifier for the equipment where the line infeed count came from
Line Outfeed Count Equipment UUIDStringN/AN/AUnique identifier for the equipment where the line outfeed count came from
  • No labels