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 Type||Key||Auxiliary Value||Description|
Equipment Additional Factor
|String||Name of user defined additional Factors||N/A||See Additional Factors for more details|
|Equipment Count||Long||Name of user defined MES counters and the default Material Out||N/A||Value of the MES Counter as defined in the key. See MES Counters for more details|
|Equipment Cycle Count||Long||N/A||N/A||See Analysis Datapoints and Settings - Cycle Count for more details|
|Equipment Note||String||N/A||N/A||Any downtime notes added through the tag collector or entered through the OEE Downtime Table component|
|Equipment Infeed Count Scale||Float8||N/A||N/A||See Infeed Count Scale for more details|
|Equipment Infeed Units||String||N/A||N/A||See Infeed Units for more details|
|Equipment Mode||Int4||N/A||N/A||See Equipment Modes for more details|
|Equipment Operation UUID||String||N/A||N/A||Unique Identifier for currently running operation|
|Equipment Outfeed Units||String||N/A||N/A||See Outfeed Units for more details|
|Equipment Package Count||Float8||N/A||N/A||See Package Count for more details|
|Equipment Product Code||String||N/A||N/A||Product code currently being processed on this equipment|
|Equipment Rate Period||String||N/A||N/A||See Rate Period for more details|
|Equipment Reject Count Scale||Float8||N/A||N/A||See Reject Count Scale for more details|
|Equipment Reject Units||String||N/A||N/A||See Reject Units for more details|
|Equipment Schedule Count||Float8||N/A||N/A||Amount of product that should have been produced (Target) based on the schedule rate|
|Equipment Schedule Duration||Float8||N/A||N/A||Duration of scheduled run|
|Equipment Schedule Rate||Float8||N/A||N/A||See Schedule Rate for more details|
|Equipment Shift||String||N/A||N/A||The shift as defined in the Ignition Schedule Management component or passed to the Shift Tag Collector|
|Equipment Standard Rate||Float8||N/A||N/A||See standard rate for more details|
|Equipment State||String||N/A||EquipmentUUID||The unique identifier for the equipment|
|Equipment State||Int4||N/A||State||Equipment state value. Note that this may be a negative value if the original value was over-ridden.|
|Equipment State||Int4||N/A||OriginalState||The original equipment state before it was updated|
|Equipment State||String||N/A||DifferedToUUID||If the original EquipmentUUID is changed using the Downtime Table then the new uuid is DifferedToUUID|
|Equipment State||String||N/A||DifferedState||If the original state is changed using the Downtime Table then the new state is DifferedState|
|Equipment Target Changeover Time||Float8||N/A||N/A||Amount of time in minutes set for Target Changeover. See Changeover Duration for more details|
|Equipment Work Order||String||N/A||N/A||Work order processed on this equipment|
|Line Infeed Count Equipment UUID||String||N/A||N/A||Unique identifier for the equipment where the line infeed count came from|
|Line Outfeed Count Equipment UUID||String||N/A||N/A||Unique identifier for the equipment where the line outfeed count came from|