Utilization Capability
Utilization Capability
User Guide
Version 6.0
June, 2018
© 2018 AVEVA Group plc or its subsidiaries. All rights reserved.
The Schneider Electric industrial soft ware business and AVEVA have merged to trade as AVEVA Group
plc, a UK listed company. The Schneider Electric and Life is On trademarks are owned by Schneider
Electric and are being licensed to AVEVA by Schneider Electric.
No part of this documentation shall be reproduced, stored in a ret rieval system, or transmitted by any
means, electronic, mechanical, photocopying, rec ording, or otherwise, without the prior written
permission of AVEVA. No liability is assumed with respect to the use of the information contained herein.
Although precaution has been taken in the preparation of this docum entation, AVEVA assumes no
responsibility for errors or omissions. The information in this documentation is subject to change without
notice and does not represent a commitment on the part of AVEVA. The soft ware described in this
documentation is furnished under a license agreement. This soft ware may be used or copied only in
accordance with the terms of such license agreement.
ArchestrA, Aquis, Avantis, DYNS IM, eDNA, EYESIM, InBatch, InduSoft, InStep, IntelaTrac, InTouch,
PIPEPHASE, PRiSM, PRO/II, PROV IS IO N, ROMeo, SIM4ME, SimCentral, SimSci, Skelta,
SmartGlance, Spiral Software, Termis, WindowMaker, WindowViewer, and Wonderware are trademarks
of AVEVA and/or its subsidiaries. An extensive listing of AVEVA trademarks can be found at:
https://sw.aveva.com/legal. All other brands may be trademarks of their respective owners.
Publication date: 6/29/2018
Contact Information
AVEVA Group plc
High Cross
Madingley Road
Cambridge
CB3 OHB. UK
https://sw.aveva.com/
For information on how to cont act sales, customer training, and technical support, see
https://sw.aveva.com/contact.
MES Utilization Capability Object User Guide
Contents
Chapter 1 Getting Started with the UCO............................................................................ 7
Introduction to the UCO ............................................................................................................. 7
The UCO, the ArchestrA Equipment Model, and MES Entities ..................................................... 7
Chapter 2 Importing the UCO Package into the ArchestrA IDE ..................................... 9
System Requirements ............................................................................................................... 9
Importing the UCO Package ...................................................................................................... 9
Upgrading the UCO from Previous Versions ............................................................................. 10
UCO No Longer Includes Production Counters.................................................................... 11
Assistance with Migrating the UCO Production Counters to OCOs ....................................... 11
CSV File Structure ....................................................................................................... 11
XML Template/Instance Hierarchy File Structure ........................................................... 12
If Errors Occur During the XML File Creation ................................................................. 12
Fixing References to UCO Production Counter Attributes ..................................................... 13
Version 6.0 3
MES Utilization Capability Object User Guide Contents
Expression .................................................................................................................. 26
Description.................................................................................................................. 26
Default Reas on Group and Reason .............................................................................. 26
Minimum Time Before Activation .................................................................................. 27
Prompt ........................................................................................................................ 27
Allowable Reasons ...................................................................................................... 28
Entering a Raw Reason Code A rchestrA Script Expression .................................................. 28
Ensuring That the Expression E valuat es to a Boolean Value .......................................... 29
Proper Structure for Expressions with Array Attributes ................................................... 30
Validation of Expression Syntax and References ........................................................... 30
Expression E valuation Quality ...................................................................................... 31
Setting the Raw Reason Code E valuation Order ................................................................. 31
Renaming a Raw Reas on Code ......................................................................................... 32
Deleting a Raw Reason Code ............................................................................................ 32
Raw Reason Code Validation Error Messages .................................................................... 32
Exporting and Importing Raw Reason Codes ............................................................................ 33
Sample Raw Reason Codes XML File ................................................................................ 33
Raw Reason Codes XML File Format ................................................................................. 34
Exporting Raw Reason Codes ........................................................................................... 37
Importing Raw Reason Codes ............................................................................................ 37
Import Overwrit e Behavior............................................................................................ 39
Import Validation Errors ............................................................................................... 40
Configuring General Utilization Attributes .................................................................................. 42
Default Raw Reason Code................................................................................................. 42
Resume on Error............................................................................................................... 42
Alarm on Error .................................................................................................................. 42
Spare Comments .............................................................................................................. 43
Log Utilization E vents ........................................................................................................ 43
Chapter 7 Adding UCO Instances to ArchestrA Application Objects and Areas ....... 57
4 Version 6.0
Contents MES Utilization Capability Object User Guide
Chapter 10 Troubleshooting............................................................................................... 75
UCO Error Codes.................................................................................................................... 75
UCO Configuration Not A vailable When the MES Middleware Is Down ....................................... 76
Version 6.0 5
MES Utilization Capability Object User Guide
C HAPTER 1
Getting Started with the UCO
In This Chapter
Introduction to the UCO................................................................................................................... 7
The UCO, the ArchestrA Equipment Model, and MES Entities ........................................................... 7
Version 6.0 7
MES Utilization Capability Object User Guide
C HAPTER 2
Importing the UCO Package into the
ArchestrA IDE
In This Chapter
System Requirements ..................................................................................................................... 9
Importing the UCO Package ............................................................................................................ 9
Upgrading the UCO from Previous Versions ................................................................................... 10
System Requirements
All MES application objects—OCO, SRO, and UCO—must be at the same version; otherwise,
incompatibility errors will occur.
The Entity Model Builder must be installed. This can be installed during an MES installation with the
Client applications.
To utilize certain features of the UCO, such as Entity Model B uilder, you need to be able to access
the MES database through t he MES middleware. If the MES middleware is not installed on the same
node where you are using the UCO, you must have the middleware proxy installed on the client
machine to establish a connection with the middleware.
UCO features that require the middleware or middleware proxy are:
o Setting default utilization reasons
o Selecting allowable utilization reasons
o Validating utilization reasons
For information on setting up or installing the middleware proxy, see the MES Installation Guide or online
help.
Version 6.0 9
MES Utilization Capability Object User Guide Importing the UCO Package into the ArchestrA IDE
When MES is updated from a previous version, you must import the new UCO into the ArchestrA IDE.
Each version of the UCO is compatible only with the MES version with whic h the UCO was shipped.
1. Undeploy any ArchestrA galaxies that have UCO instances before installing the new version of MES.
This ensures that the ArchestrA IDE is disconnected from the MES database and any MES
components.
2. After installing the new version of MES, import the new version of the UCO int o all the galaxies
containing an old version of the UCO with the Migrate option selected so that all existing templates
and instances will be updat ed.
3. Before deploying the objects, make sure that all MES application objects —OCO, SRO, and
UCO—are at the same version and that their existing templates and instances have be en migrated.
Otherwise, incompatibility errors will occur.
10 Version 6.0
Importing the UCO Package into the ArchestrA IDE MES Utilization Capability Object User Guide
Note: If you restore the UCOs to a version prior to 5.2 and then want to upgrade again, you must first
remove the CSV and XML files in the UCOMigrationCountersBackup folder. Otherwise, the backup
information will not be properly created during the subsequent migration.
Version 6.0 11
MES Utilization Capability Object User Guide Importing the UCO Package into the ArchestrA IDE
Lock
Indicates whether the property is locked. Possible values are LockedInMe, LockedInParent, or
UnLocked.
An example CSV file is shown below.
Type, ObjectName, Counter, Property, Value, Lock
Instance, Bundler_UCO, Counter1, SetItemId, 2, UnLocked
Instance, Bundler_UCO, Counter1, AddProdQtyCntr.Deadband, 2.0, UnLocked
Instance, Bundler_UCO, Counter1, AddProdQtyCntr.MaxValue, 5.0, UnLocked
Instance, Bundler_UCO, Counter1, AddProdQtyCntr.UpdateInterval, 00:00:06.0000000,
UnLocked
Template, $cpUtilizationCapability, Counter1, SetItemId, 0, UnLocked
Template, $cpUtilizationCapability, Counter1, AddProdQtyCntr.Deadband, 1.0,
LockedInMe
Template, $cpUtilizationCapability, Counter1, AddProdQtyCntr.MaxValue, 2.0,
LockedInMe
Template, $cpUtilizationCapability, Counter1, AddProdQtyCntr.UpdateInterval,
00:00:03.0000000, UnLocked
The XML content from the information messages must be concatenated to recreate the entire derivation
hierarchy structure. This concatenation should be performed using the XML content from the messages
logged by the first template/instanc e. If the XML content is taken from messages related to other
templates or instances, the derivation structure might include temporary templates or instances creat ed
by the migration process.
12 Version 6.0
Importing the UCO Package into the ArchestrA IDE MES Utilization Capability Object User Guide
Version 6.0 13
MES Utilization Capability Object User Guide
C HAPTER 3
Configuring UCO Templates and Instances
In This Chapter
Introduction to UCO Templates and Instances ................................................................................ 15
UCOs, the ArchestrA Equipment Model, and MES Entity Hierarc hy .................................................. 15
UCO Configuration ....................................................................................................................... 15
UCO Attribute Inheritance and Planning the Templates and Instances ............................................. 16
Specifying an Attribute and Command Value or Input Source .......................................................... 16
Locking UCO Attributes ................................................................................................................. 17
Setting Attribute Security ............................................................................................................... 17
Considerations Regarding Inherited Raw Reas on Codes ................................................................. 18
MES Utilization Reasons and UCOs .............................................................................................. 18
Without Response Mode and UCO Calls ........................................................................................ 18
Note: You can add the UCO as a child under application and area objects only. If you add the U CO as a
child under any other object such as an engine, the UCO does not work properly. An application or area
object can contain only one UCO object as a child.
UCO Configuration
When configuring UCO templates and instances, you define raw reason codes and general utilization
attributes, OEE performance target attributes, and job production attribut es for objects that will be
entities in the MES database.
When you open a UCO template or instance for editing in the ArchestrA IDE Object Editor, the following
tabs include the UCO-specific object attributes:
General tab
Utilization raw reason codes and general utilization attributes. For a description of these attributes,
see Configuring Utilization Attributes on page 21.
Version 6.0 15
MES Utilization Capability Object User Guide Configuring UCO Templates and Instances
16 Version 6.0
Configuring UCO Templates and Instances MES Utilization Capability Object User Guide
Click the attribute's Browse button. In the Galaxy Browser dialog box that appears, select the
object and its attribute that is the input source.
You can choose not to lock some of your template attributes so you can configure specific attribute
settings for child instances of the template th at are assigned to objects in your equipment model.
For more detailed information on attribute locks, see the Application Server User’s Guide.
Version 6.0 17
MES Utilization Capability Object User Guide Configuring UCO Templates and Instances
For detailed information on managing attribute security, see the Application Server User’s Guide.
18 Version 6.0
Configuring UCO Templates and Instances MES Utilization Capability Object User Guide
To allow a UCO to log messages in the Message Queue, an Anonymous Logon user with the Send
Message privilege must be added to the MESAsyncQueue on the middleware server. Otherwise, the
messages will not be logged. See Adding an Anonymous Logon User to MESAsyncQueue on page 19.
Version 6.0 19
MES Utilization Capability Object User Guide Configuring UCO Templates and Instances
7. Select the Anonymous Logon user and then in the Permissions list select only the Send Message
check box.
20 Version 6.0
MES Utilization Capability Object User Guide
C HAPTER 4
Configuring Utilization Attributes
In This Chapter
Introduction to Utilization Attributes ................................................................................................ 21
Utilization Concepts ...................................................................................................................... 22
Configuring Raw Reason Codes .................................................................................................... 24
Exporting and Importing Raw Reason Codes .................................................................................. 33
Configuring General Utilization Attributes ....................................................................................... 42
Version 6.0 21
MES Utilization Capability Object User Guide Configuring Utilization Attributes
Before configuring utilization attributes, you might find it helpful to review the topic OEE on page 47 for
background information on how utilization is determined in MES.
Utilization Concepts
An entity’s utilization is tracked when an associated Utilization Capability Object (UCO) or production
operator enters events, such as when the entity is running a job or when the entity is down for repairs or
maintenance.
At all times, an entity will have a reason assigned to it. The reason can be assigned by an operator
manually or determined directly from a UCO by input/output (I/O) automatically. The reason will assign a
utilization state. Based on the configuration of the utilization state, the event as classified by the reason
will contribute to either the Performance or A vailability component of OEE, or the time will be excluded
from the OEE calculation entirely.
It is important to understand that "event" does not refer to an isolated occurrence of something at the
entity. All utilization events for an entity form a contiguous series from the time the entity was configured
as being capable of capturing utilization to the present. In other words, one sort of event or another is
always occurring at the entity.
An operator adds an event by selecting a utilization reason for t he entity. The utilization reason specifies:
22 Version 6.0
Configuring Utilization Attributes MES Utilization Capability Object User Guide
Utilization States
To support utilization tracking, entities are considered to be in utilization states, such as Running, Idle,
Down, or Maintenance. It is the utilization state that determines if the event duration is classified as
Performance, Utilization, or Neither.
During system configuration, utilization states are assigned to utilization reasons. Therefore, an entity’s
state is defined when a utilization reason is assigned to an entity’s event.
Utilization Reasons
Utilization reasons describe the current condition of an entity and associate eac h reason with a utilization
state. A reason group is a category of reasons. For ex ample, the reason Bottle Jam can belong to the
reason group Bottle Descrambler Down, and results in a Downtime utilization state. On the production
floor, a reason can be selected by a PLC, an input/out put (I/O) connection to a devic e, or an operator.
The utilization reasons that operators can assign to events during production are created during system
configuration.
Version 6.0 23
MES Utilization Capability Object User Guide Configuring Utilization Attributes
One and only one raw reason code can be active at a time. If more than one raw reason code expression
evaluates to True simultaneously, the active raw reason code is the one with the highest priority. The
priority is determined by their order in the raw reas on code list and the Minimum Time Before Activation
setting in the UCO instance.
If a raw reason code that is not configured for the entity is received, the Unknown Reas on utilization
reason, which is configurable for each entity or UCO instance, is used.
Utilization Events
A utilization event indicates the curre nt operational state of the entity. An entity is always considered to
be in a utilization event. The events that are typically of interest are those that indicate that the entity is
down or when it is idle when it should be running.
If so configured, the system can set an entity’s event automatically based on changes in the operational
state of the entity.
Production operat ors can also manually change the event that an entity is in when the condition or state
of the entity changes. When changing to a new event, the operat or assigns a utilization reason to the
new event. The reason specifies the entity’s utilization state and the reason for that state. For example,
the utilization reasons Running - Normal Speed, Running - High Speed, and Running - Low Speed all
indicate a utilization state of Running. However, each reason indicates a running speed.
24 Version 6.0
Configuring Utilization Attributes MES Utilization Capability Object User Guide
5. Configure the raw reason code attributes. For a description of the attributes, see Raw Reason Code
Attributes on page 26.
Version 6.0 25
MES Utilization Capability Object User Guide Configuring Utilization Attributes
Expression
Raw reason codes are defined by creating an expression that is evaluated at run time to determine if the
raw reas on code is True or False. These expressions are similar to the expressions used in ot her
application objects and are evaluated every scan cycle.
For information about entering and validating raw reason code expressions, see Entering a Raw Reason
Code ArchestrA Script Expression on page 28
Description
A description of the raw reason code. The description is stored in the MES database, but otherwise not
used.
26 Version 6.0
Configuring Utilization Attributes MES Utilization Capability Object User Guide
Prompt
Determines whet her an operator will be prompted to manually select a utilization reason from the list of
allowable reasons (specified in the Allowable Reasons tree) when a new raw reas on code becomes
active.
Version 6.0 27
MES Utilization Capability Object User Guide Configuring Utilization Attributes
When this option is selected and the raw reas on code evaluates to True, the event logged in the
database has the Prompt flag set to True, which is indicated in the utilization grid .NE T control and in
MES Web Portal.
Allowable Reasons
Select the utilization reas ons from which a user will be allowed to choose, when prompted (that is, if the
Prompt attribut e is selected), when the raw reason code becomes the active raw reas on code.
If no reasons are selected, all reasons will be allowed. By default, no reason is selected.
When a raw reason code becomes active and a utilization event is logged, a utilization reason is
assigned to the event based on the default allowable reason assigned to that raw reason code.
If a new reason is added in MES Client to an existing reason group that has been selected as an
allowable reason group in the UCO configuration, the new reason will not be selected automatically. You
must edit the raw reas on code definition in Object Editor and select the newly defined reason in the list of
allowable reasons.
Selecting an allowable utilization reason group and reason requires the ability to communicate with the
MES databas e through the MES middleware. If you do not have the MES middleware loaded on the
same node on which you are configuring the UCO, you must have the MES middleware proxy installed.
For more information on the middleware or middleware proxy, see System Requirements on page 9.
Derived UCOs can have additional allowable reasons selected. However, reasons that are already
selected in parent templates cannot be cleared.
28 Version 6.0
Configuring Utilization Attributes MES Utilization Capability Object User Guide
To specify an existing attribute as a contained attribute reference, click the Expression Browser
button. In the Galaxy Browser dialog box, select the instance and attribute and click OK.
A message appears, indicating whether the expression is valid or invalid. If invalid, the message will
indicate the areas of the script that are causing the issue.
For information about expression validation, see Validation of E xpression S yntax and References on
page 30.
Version 6.0 29
MES Utilization Capability Object User Guide Configuring Utilization Attributes
30 Version 6.0
Configuring Utilization Attributes MES Utilization Capability Object User Guide
Version 6.0 31
MES Utilization Capability Object User Guide Configuring Utilization Attributes
2. Click the up arrow or down arrow to move the selected raw reason code up or down in the list.
32 Version 6.0
Configuring Utilization Attributes MES Utilization Capability Object User Guide
If any errors are found, they appear in the error message area above the attribute settings on the
General tab. These errors must be resolved for the object to be deployed and used at run time. For
object instances, raw reason code errors can be reported for the object regardless of whether the raw
reason code is unique to the object or derived from a template.
Version 6.0 33
MES Utilization Capability Object User Guide Configuring Utilization Attributes
34 Version 6.0
Configuring Utilization Attributes MES Utilization Capability Object User Guide
Version 6.0 35
MES Utilization Capability Object User Guide Configuring Utilization Attributes
<expression><![CDATA[expression]>
An ArchestrA script expression that will determine whether the selected raw reason code is active.
For more information, see Entering a Raw Reason Code ArchestrA Script Expression on page 28
and its sub-topics. The expression will be validated automatically when the object is saved aft er the
import operation.
There must be one and only one <expression> element per <raw_reason> element.
<available_reason parameters>
A utilization reason that a user will be allowed to choose, when prompted (that is, if the prompt
parameter is True), from a list of allowable reasons when the raw reason code becomes the active
raw reas on code.
There can be one or more <available_reason> elements per <raw_reason> element, or none. Each
allowable reason must include values for both the reas_grp_desc and the reas_desc parameters.
If no <available_reason> element is included, then the user will be able to select from all utilization
reasons in the MES database.
reas_grp_desc
The name of the raw reason group for the allowable raw reason.
The value should be a reason group that is actually in the MES database. The reason group and
reason will be validat ed against the MES database on the first object Save operation after import. If it
does not exist, the raw reas on code will be indicated to be in an error state.
This parameter can be null.
reas_desc
The name of the allowable raw reason.
The value should be a reason that is actually in the MES database and in the reason group specified
by the reas_grp_desc parameter. The reason group and reas on will be validated against the MES
database on the first object Save operation after import. If it does not exist, the raw reason code will
be indicat ed to be in an error state.
This parameter can be null.
last_edit_comment
A comment regarding when the allowable reason group and reason were added or last modified.
This parameter can be null.
<default_reason parameters>
The default utilization reason for the raw reason code. For more information, see Default Reason
Group and Reason on page 26.
There must be one and only one <default_reason> element per <raw_reas on> element. Values for
both the reas_grp_desc and the reas_desc parameters must be defined.
reas_grp_desc
The name of the default utilization reason group for the raw reason code.
The value should be a utilization reason group that is actually in the MES database. This value will be
validated automatically when the object is saved after the import operation.
reas_desc
The name of the default utilization reason.
The value should be a utilization reason that is actually in the MES database and in the utilization
reason group specified by the reas_grp_desc parameter. This value will be validated automatically
when the object is saved after the import operation.
last_edit_comment
A comment regarding when the default reason was added or last modified.
36 Version 6.0
Configuring Utilization Attributes MES Utilization Capability Object User Guide
A confirmation dialog box appears, indicating the number of raw reason codes that will be exported.
Version 6.0 37
MES Utilization Capability Object User Guide Configuring Utilization Attributes
5. Select where you want to insert the imported raw reas on codes in the current list (that is, at the
beginning or end of the list, or before or after the selected raw reason code).
6. Select how to handle imported raw reason codes that have the same name as existing codes:
Skip: Do not import
Do not import the duplicate raw reason code.
Overwrite existing Raw Reason Code
Overwrite the existing duplicate raw reason code with the import ed code.
Rename importing Raw Reason Code
Append the text string in the box to the imported raw reas on code, so that the name is not duplicated.
38 Version 6.0
Configuring Utilization Attributes MES Utilization Capability Object User Guide
Version 6.0 39
MES Utilization Capability Object User Guide Configuring Utilization Attributes
If a duplicate priority value is found, that raw reason code and thos e that follow it in the priority order
will not be import ed.
The Default Raw Reason attribute has not been included
If a default raw reas on attribute has not been included, the entire import operation will fail.
There are XML syntax errors
If there are any XML syntax errors, the entire import operation will fail.
If any of these validation errors occur, edit the XML file to fix the cause of the error and then try importing
the file again.
Errors That Prevent a Raw Reason Code from Being Imported
40 Version 6.0
Configuring Utilization Attributes MES Utilization Capability Object User Guide
The following errors will cause a raw reason code to not be imported:
The Priority attribute is missing or invalid (it must be a positive integer).
The length of the Description is more than 1024 characters.
The time ent ered for Minimum Time Before Activation is negative.
If any of these validation errors occur, you can either edit XML file to fix the cause of the error and then try
importing the file again or add the raw reason code directly on the General tab in Object Editor.
Errors That Cause a Raw Reason Code to Be Imported with Warnings
The raw reason code will be imported with warnings for the following errors:
An attribute other than Priority is missing.
The validity compilation of the Expression resulted in errors. However, because this compilation is
done after parsing t he raw reason code, the import ed with warnings count will not include expression
compilation errors.
The validation of t he Allowable Reas ons failed when checked against actual allowable reasons in the
MES databas e.
These errors result in the effected attribute of the imported raw reason code being empty.
You can check the ArchestrA System Management Console Log Viewer to see which attributes were
missing.
Also, when a Save operation is performed, which runs a validation on the entire list of raw reason codes,
errors are indicated in red above the raw reason code attribute settings. For more information, see Raw
Reas on Code Validation Error Messages on page 32.
Version 6.0 41
MES Utilization Capability Object User Guide Configuring Utilization Attributes
Resume on Error
The Re sume on Error attribute allows expression evaluation errors to be ignored while the system is
trying to determine the active raw reas on code at run time. When the Re sume on Error attribute is not
selected, expression errors (for example, due to quality issues) will stop the raw reason code evaluation,
leave the UCO in its last known utilization reason, and will re-evaluat e all expressions in the next scan
cycle of the object. In addition, you can specify an alarm if a raw reason code expression error occurs.
Alarm on Error
This attribute determines whether an entity will produce an alarm when a UCO -related error occurs. They
include:
Expression errors
Note that, if the quality on an expression is bad and the Resume on E rror check box is selected, an
alarm will not be produced.
Client session errors
Utilization event errors
Entity naming errors
OEE and utilization value errors
If the Alarm on Error attribute is selected, then the following attributes become available.
42 Version 6.0
Configuring Utilization Attributes MES Utilization Capability Object User Guide
Alarm Priority
A number that is logged and that represents the priority of the ArchestrA alarm.
Alarm Message
The ArchestrA alarm message that is logged.
You can manually enter the alarm message, or click the Browse button to select and insert an
ArchestrA attribute referenc e into the alarm message.
Two types of alarm conditions are available for equipment monitoring:
An alarm indicating that an error occurred while attempting to determine the current raw reason
code. For example, an attribute reference contained in an expression for a raw reason code goes to
bad quality.
You can monitor the current raw reason code and use scripting in conjunction with alarm extensions
to trigger an alarm. For instance, a field attribute of type Boolean can be added to the UCO and an
alarm extension set on it. Then, a script can be written to set this attribute if a specific raw reason
code or set of raw reason codes is detected on the object.
Spare Comments
When utilization events are logged, the user can use the Spare 1 to 4 fields to provide additional context
that will be logged along wit h the utilization event data. These attribut es are writable during run time.
The spare comments can be up to 80 characters.
Version 6.0 43
MES Utilization Capability Object User Guide Configuring Utilization Attributes
44 Version 6.0
Configuring Utilization Attributes MES Utilization Capability Object User Guide
RawReasonCodeDefaultReason
RawReasonCodeDescription
TimeEntered
TimeInRawReasonCode
The following run-time attributes continue to be read from the MES databas e:
CurrentOEEPerc ent
CurrentPerformancePercent
CurrentQualityPercent
CurrentA vailabilityPercent
Failover Behavior
During failover, the current mode will continue to be active. For ex ample, if the utilization event logging is
in manual mode and a failover occurs, the logging will continue to be in manual mode.
Version 6.0 45
MES Utilization Capability Object User Guide
C HAPTER 5
Configuring OEE Attributes
In This Chapter
Introduction to OEE Attributes........................................................................................................ 47
OEE............................................................................................................................................. 47
OEE Performance Target Attributes ............................................................................................... 49
Default Production and Util/OEE Refresh Rate Attributes ................................................................ 49
OEE
The efficiency calculation implemented in the MES is based on the industry standard OEE (Overall
Equipment Effectiveness) efficiency methodology.
OEE is determined as follows:
OEE = Availability x Quality x Performance
OEE as implemented by MES is described in the following topics.
Availabilty
The availability component of OEE measures a system's availability during the scheduled operation time
for a given time period, based on the following equation:
A vailability = Runtime / Net Operating Time
Version 6.0 47
MES Utilization Capability Object User Guide Configuring OEE Attributes
To support the determination of entity availability, utilization events are applied to each entity. A
utilization event indic ates the current operational state of the entity. Utilization events can be applied
automatically based on an entity's default utilization settings (see Configuring Default Utilization
Reas ons for Standard E vents) or manually by an operator.
The component of a utilization event that is used to determine entity availability is OEE Use. Each
utilization event, via its utilization reason and that reason’s assigned utilization state, is assigned an OEE
Use value of Runtime, Downtime, or Neither. MES bases the calculation of an entity’s availability by
summarizing the duration of its Runtime and Downtime events in the given time period for eac h OEE
Use. E vents with an OEE Use value of Neither are not included in the calculation.
So for MES, an entity’s availability is:
Entity Availability = Runtime / (Runtime + Downtime)
Quality
The quality efficiency component of OEE measures a system's output quality while producing units
during a given interval.
Quality = Good Output / Total Out put
In MES, entity quality is:
Quality = Good Production / (Good Production + Rejected Production)
where only production at the entity is considered.
Performance
The performanc e efficiency component of OEE measures a system's ability to produce at the target
production rate:
Performance = Total Output / Target Output
In MES, an entity's performance during a time period is based solely on the production reported on the
entity only while the entity is in a Runtime utilization state. If multiple work orders are run during the
period, producing different items with different unit of measures, the performance calculation is based
purely on item production counts with no effort to convert units of measure.
48 Version 6.0
Configuring OEE Attributes MES Utilization Capability Object User Guide
Also, note that the amount of production might not be an integral number of batches. This is because the
standard production time for a batch will be constant, regardless of whether the batch actually includes
the maximum number of items for the batch. For example, if the oven capacit y, and thus a batch, is 100
cookies, it takes as long to bake 90 cookies as it does to bake 100. The performance component of OEE
factors into this nonlinear behavior. So, for OEE to be reported accurately, it is important that the batch
size be set according to the way production actually occurs.
The Default Production Rate values are written to the MES database by running Entity Model Builder.
There is no run-time functionality with these attributes. When written to the database, these values will
overwrite the existing values in the dat abas e for the entity. Therefore, you should run Entity Model
Builder only when the entity is not running a job that might have set these rates to a different value.
Rate
The default production rate for the entity. The default value is 1.0.
The default production rate must be greater than 0. An entry of 0 will cause an error.
Rate Unit of Measure
The default unit of meas ure for the production rat e. The default is hours/batch.
o hours/batch (the default )
o minutes/batch
o seconds/batch
Version 6.0 49
MES Utilization Capability Object User Guide Configuring OEE Attributes
o batches/hour
o batches/minute
o batches/second
Batch Size
If using batches during production, ent er the default batch size. The default is 1.
The batch size cannot be 0.
The decimal place resolution of the batch size is controlled by the system paramet er Maximum
number of decimals for batch entry. For information about setting this parameter, see t he MES Client
User Guide or online help.
Util/OEE Refre sh Rate
At run time, OEE information is retrieved from MES and displayed via current OEE, Performance,
Quality, and Utilization attributes.
The OEE information is updated within the attributes at a time interval defined by this attribute. The
minimum refresh rate is 15 seconds. The default value is 00:01: 00.0000000 (1 min).
Although a refresh rate can be specified, if no new data is available from MES within the specified
interval, the values will not be updated until a subsequent scan when new data is available.
50 Version 6.0
MES Utilization Capability Object User Guide
C HAPTER 6
Configuring Job Production Attributes and
Commands
In This Chapter
Introduction to Job Production Attribut es and Commands ................................................................ 51
Enabling Production Attributes and Commands .............................................................................. 52
Production Attributes ..................................................................................................................... 53
Production Commands .................................................................................................................. 54
Production Counters ..................................................................................................................... 55
Version 6.0 51
MES Utilization Capability Object User Guide Configuring Job Production Attributes and Commands
You can also specify how jobs will start and end using the production attribute commands on the
Production Attribute s tab.
The jobs that are available within the UCO are referred to as dat a entry jobs. Like jobs associated to a
process, data entry jobs have work order, operation, sequence number, and item information. However,
the data entry jobs are not linked to a process and are tied to a single entity. Data entry jobs do not have
the concept of a bill of material for cons umption transactions and p roduce just the one item.
52 Version 6.0
Configuring Job Production Attributes and Commands MES Utilization Capability Object User Guide
Production Attributes
The production attributes specify the parameters associated with running a job on an entity with UCO
capabilities.
Each production attribute can be configured to get its value from an A rchestrA input source by setting the
production attribute value directly or by browsing to an object attribute.
If an input source is used, the value is retrieved at run time with each scan and is written t o the production
attribute value (for example, the Batch Size value is written to the BatchSize attribute).
Work Order
A data entry job consists of a work order performing some operation and a sequence number. This
attribute is the work order description. If left blank, then the default work order system parameter
value will be used.
Item Class
A job produces an item and every item belongs to an item class. If the Item class specified here does
not exist, it will be created when a job is started. If left blank, then the default item class system
parameter value will be used.
Item
A job produces an item. If the item specified here does not exist, it will be created when a job is
started. If left blank, then the default item system parameter value will be used.
Item Unit of Measure
A job produces an item and every item has a unit of measure. If the item UOM specified here does
not exist, it will be created when a job is started. If left blank, then the default item UOM system
parameter value will be used.
Operation
A data entry job consists of a work order performing some operation and a sequence number. This
attribute is the operation ID. If left blank, then the default operation system paramet er value will be
used.
Required Quantity
The required quantity for the job. This value must be equal to or less than the start quantity.
This attribute represents the required good u nits produced at the operation.
Start Quantity
The start quantity for the job. This value must be equal to or greater than the required quantity.
Version 6.0 53
MES Utilization Capability Object User Guide Configuring Job Production Attributes and Commands
This attribute represents the quantity to start at the operation to ens ure the required good quantity is
produced. The start quantity would be greater than the required to take into consideration expected
scrap counts.
Batch Size
The size of a single batch. The value must be greater than 0. This is the batch size for the job and
usually is the same as the entity batch size.
The batch size represents the group of quantities that are processed together. Batch size is used to
calculate the production statistics, such as OEE.
Target Job Production Rate
The target production rate for the running jo b, which may change depending on the item being
produced.
The production rate represents the number of batches with specified size that you want to produce
within a period. For example, 10 batches per hour.
Target Job Production Rate Unit of Measure
The job production rate unit of measure based on the batch size. Select one of the available options:
o Hours per batch
o Minutes per batch
o Seconds per batch
o Batches per hour
o Batches per minute
o Batches per second
Operator
The MES username of the user to which production activity will be assigned.
If you do not specify a user name, the default user that is configured in the system is associated with
this job, which might not be a legitimate user.
For more information, see Back ground User on page 73.
Production Commands
You can use the production commands to control when a job on the entity is started or ended.
54 Version 6.0
Configuring Job Production Attributes and Commands MES Utilization Capability Object User Guide
Reset Command
Use the Re set command to clear an error code and error message, reset the job command attributes,
and place the object status back to Ready.
Production Counters
Beginning with MES version 5.2, the UCO does not have any production counters.
To record good and bad production counts, use the Operations Capability Object (OCO). The
Performance license allows for the use of the OCO to reco rd good and bad production counts. For more
information about migrating UCO production counters to the OCO, see Assistance with Migrating the
UCO Production Counters to OCOs on page 11.
If the UCO is being used to only capture utilization events, then production counters are not required.
Version 6.0 55
MES Utilization Capability Object User Guide
C HAPTER 7
Adding UCO Instances to ArchestrA
Application Objects and Areas
Once you have created your UCO templat es, you can add instances of the templates to your equipment
model in the ArchestrA IDE below any application object or area that you want to create in MES as an
entity with utilization, OEE, or job production cap abilities.
1. In the Arc hestrA IDE Model View, configure your equipment model, including any application objects
that represent MES entities that require UCO -related capabilities.
For detailed information about creating your equipment model in the Arc hestrA IDE, see the
Application Server User’s Guide.
2. Create and add a UCO instance as a child of any modeled application object or area that represents
an MES entity that requires UCO -related capabilities.
You can add the UCO as a child under application and area objects only. If you add the UCO as a
child under any other object such as an engine, the UCO does not work properly. An application or
area object can contain only one UCO object as a child.
Version 6.0 57
MES Utilization Capability Object User Guide
C HAPTER 8
Building the MES Entity Model from UCOs
In This Chapter
Introduction to the Entity Model Builder .......................................................................................... 59
How UCO-E nabled Objects Are Added to the MES Database as Entities ......................................... 60
Building and Deploying an Entity.................................................................................................... 62
Creating an Entity in the MES Database from an Application Object with a UCO ............................... 62
Updating MES Entities with UCO Changes ..................................................................................... 63
Version 6.0 59
MES Utilization Capability Object User Guide Building the MES Entity Model from UCOs
The following figure shows the resulting entity tree in MES Client. You could also have selected the
parent application object that has a UCO child attached to it and then run Entity Model Builder to create
the same structure.
Since the other UCOs in the same equipment model are not directly part of the selected equipment t ree
branch, they are not included in the entity creation because they are not part of the direct parent/child
equipment structure to the AAS_1_SQA_1 object.
60 Version 6.0
Building the MES Entity Model from UCOs MES Utilization Capability Object User Guide
Note the following additional behaviors about UCOs and using Entity Model Builder to create or modi fy
their entities in the MES dat abase:
If y ou select multiple application objects with UCOs, the Entity Model Builder creates entities for all of
them.
If the selected application object is not a UCO, does not have a UCO below it, and is not part of a
utilization/OEE configuration hierarchy, then the Entity Model Builder does not create any entities.
The Entity Model Builder only creates new entities and new entity hierarchies that do not already
exist.
To delete an entity, you must delete it using MES Client. For more information on managing entities,
see the MES Client User Guide.
If there is already an entity in the MES database with the same name as the application object with a
UCO, Entity Model B uilder will overwrite its corresponding properties with the UCO attribute settings.
Though the E ntity Model Builder never deletes an existing entity or removes any capabilities
(including UCO capabilities), it can re-parent entities at any level to reflect new structural changes to
the ArchestrA equipment model hierarchy.
When the E ntity Model Builder encount ers an error, the error will be indicat ed in t he progress window
and the UCO will remain in the unsynchronized state. It will not be possible to deploy or redeploy the
UCO until it is synchronized with the MES database. Additional diagnostic information is also
available in the ArchestrA Logger.
Entity Names
When the Entity Model Builder creates entities, it bases the new entity names on the TagName attribute
in the source application object.
From the ex ample above, the Entity Model Builder produces four entities using the TagNames
accordingly, with the final entity with the UCO child having the UCO capabilities set.
+ Bearing_Plant
+ Assembly_Area
+ Station1
+ AAS_1_SQA_1
Version 6.0 61
MES Utilization Capability Object User Guide Building the MES Entity Model from UCOs
After you have saved your configured UCO, you can then create or update the corresponding MES
entities by building your entity models. See Creating an Entity in the MES Database from an Application
Object with a UCO on page 62 and Updating MES Entities with UCO Changes on page 63.
After you have built or updated the entities, you can deploy your equipment model for run -time operation.
For detailed information deploying your galaxy, see the Application Server User’s Guide.
When you deploy the UCO OnScan, it will begin using the defined UCO configuration for run-time
operations.
You can configure system parameters, such as default reasons or good and rejected production records
in MES Client application. For more information about configuring system paramet ers, see MES Client
User Guide or online help.
62 Version 6.0
Building the MES Entity Model from UCOs MES Utilization Capability Object User Guide
Select a UCO instance or any of its parent objects and, on the Object menu, click Build MES
Enti ty Model.
Note: You cannot cancel the entity creation process, so make sure you have selected the right UCO
or parent object before continuing.
The Entity Model Builder dialog box appears. It displays the status, errors, and percent complete.
Note: If you have more than one UCO under a single parent application object, the UCO will not be
created and an error will be displayed in the progress dialog box.
Version 6.0 63
MES Utilization Capability Object User Guide Building the MES Entity Model from UCOs
Renaming a parent to a UCO at a higher level in the equipment model. This creates a new entity in
the MES database and re-parents the old entity's children, if there are any.
Adding a UCO to the equipment model that has the same name as an entity manually configured
using MES Web Portal or MES Client. The existing entity's children (if any) are re-parented.
Moving a UCO to another parent application object. The old parent is no longer considered an entity
(although it still exists in MES). This creates a new entity and parent entities, if needed.
If you remove an entity in your IDE equipment model, the entity is not deleted in MES.
If you have not made any changes to the ArchestrA equipment model, the Entity Model Builder just
checks that the utilization/OEE configuration in the ArchestrA equipment model also exists in the entity
model. If there are any differences, the MES configuration is updated to match the A rchestrA
configuration.
64 Version 6.0
MES Utilization Capability Object User Guide
C HAPTER 9
UCO Run-Time Behavior
In This Chapter
Utilization and OEE Run-Time Operations ...................................................................................... 65
Production Run-Time Operations ................................................................................................... 65
Utilization Run-Time Attributes ....................................................................................................... 67
UCO Run-Time Deployment and Execution .................................................................................... 67
UCO Run-Time Status .................................................................................................................. 69
Switching the UCO Between Automatic and Manual Mode to Rec ord Downtime E vents .................... 70
Resetting Error Attribute Values ..................................................................................................... 70
How Rejected Messages Are Handled ........................................................................................... 70
Effect of Stopping and Restarting the Middleware Connection When the UCO Is Deployed ............... 73
Background User .......................................................................................................................... 73
Version 6.0 65
MES Utilization Capability Object User Guide UCO Run-Time Behavior
Provide
default Create if Create new
value if doesn't data entry job
Production Attribute blank Default Value exist if changed
For the Operator attribute value, labor usage data will only be attributed to a valid user. If the user is not
a valid user, the default background user will be used to execute the job and no labor will be capt ured. If
the entity is configured to capture labor and a user is not provided for the Operat or attribute, no labor
records will be added.
None of the production attributes of type S TRING have default values during configuration. The values
listed are the defaults that will be supplied through system parameters when ProdAttrs.StartJob Cmd is
set True if the production attributes are blank. For information about configuring default values, see MES
Client Us er Guide or online help.
66 Version 6.0
UCO Run-Time Behavior MES Utilization Capability Object User Guide
The triggered work order creation will occur once the product start job command attribute is set
(ProdAttrs.StartJobCmd= True).
If t riggered and no production attribut e values have cha nged since the last trigger, no new work order
will be created.
If triggered and a job containing a work order that requires a minimum quantity is running:
o If the required quantity has been met, a new work order will be creat ed.
o If the required quantity has not been met, a new work order will not be created, and an error will
be ret urned in the ProdAttrs.ErrorCode and ProdAttrs.ErrorMessage attributes.
If a UCO creates a new job on an entity that is already running another UCO jo b, the running job will
be completed and its operator will be logged off the entity. The operator associated with the new job
will then be logged on to the entity and the new job is started if they are a valid user.
If another user logs into the entity on which a UCO job is running through operator, that user will not
receive labor for the job.
When the production end job attribute is triggered (P rodAttrs.EndJobCmd= True), an unc onditional
request will be sent to the middleware to end all jobs on the related entity.
Passing a new value to the Item attribute and supplying a WorkOrder value that already exists does not
alter the item associated with the existing work order. A new job will be created using the new item and
the existing work order ID, but the work order record itself will still be associated with the original item.
If an error is returned to a call to start or end a job, then the Reset command will need t o be c alled to clear
the error message and reset the production attributes primitive to the Ready state.
Version 6.0 67
MES Utilization Capability Object User Guide UCO Run-Time Behavior
OnScan
o When the object goes OnScan, the equipment status primitive will go into the default raw reason
code. The default raw reason code will appear in the exposed raw reason code attribut e. The
default raw reason code will be written to the MES database if the Log Utilization E vents property
is set to True. All attribute references contained in raw reason code expressions will be resolved
and set on advis e. The quality of the current raw reason code attribute will be set to initializing.
o If the object is starting from a check-pointed raw reason code, it will resume with last known raw
reason code until a new raw reason code is determined.
o The input references for production attribut es will be resolved and set on advised.
The quality of the raw reason code attribut e repres ents an aggregation of the object’s ability to
calculate the raw reason code expressions. There is no recording of the quality into the MES
database.
Execute
o During each execution cycle, the equipment status primitive will evaluate each expression
associated with a raw reason code to determine if a raw reason code transition has occurred.
During evaluation, if any expression encounters an error, the evaluation will stop if
ResumeOnE rror is False and the object will go into an error state. If ResumeOnError is True, the
expression with an error will evaluate False and the object will continue with the next expression.
Independent of the ResumeOnE rror setting, the object will reset expression errors and
re-evaluate on the next scan cycle.
o When a raw reason code transition occurs, the published attributes for the entity are:
– The new raw reason code.
– The raw reason code description.
– The raw reason code default reason.
– The time that the raw reason code was ent ered. Time ent ered represents the time that the
expression was evaluated as True (not the time any configured delay has expired).
– The length of time the raw reason code has been active. The time in raw reason code
attribute will be updated to reflect the elapsed time since the last raw reason code transition.
– The configured minimum activation time.
– The previous raw reason code.
– If the Log Util E vents attribute is True, the new raw reason code is logged to the MES
database as a new utilization event. Depending on the setting of the system parameter How
to handle raw reason codes when merging utilization events , the Util_Log table might have a
new event or might modify the existing event.
o When a raw reason code becomes active (its expression is True, its delay has expired, and it is
the highest priority of all RRCs), its delay timer will be reset. All other potential raw reason code
delay timers will continue.
o Production attributes will be logged (set) if the ProdAttrs.StartJobCmd Trigger attribute is set
(True).
o All jobs will be complet ed if the ProdAttrs.EndJobCmd trigger attribut e is set (True).
Though the time entered is stored in as a UTC value in the attribute, some clients such as Object
Viewer convert the time value to local time for display purposes.
68 Version 6.0
UCO Run-Time Behavior MES Utilization Capability Object User Guide
Note: Utilization events are logged in the MES database to the nearest second. If t wo or more events
are logged within the same second, only the final event will remain in the dat abase. Note that the
application engine scan rate defaults to 500 ms and can be set even lower.
For an explanation of how raw reason code changes are handled, see How Raw Reason Code
Changes and Utilization Event Logging Is Handled on page 69.
OffS can
o The final MES object to go off scan will end the stateful session to the MES middleware
o All attribute references that were put on Advis e during OnScan will be Unadvised. The raw
reason code attribute will ret ain its last known raw reason code, and the quality of t he raw reason
code attribute will be set to Bad.
The quality of the raw reason code attribut e repres ents an aggregation of the object’s ability to
calculate the raw reason code expressions. There is no feedback of the quality into the MES
database.
Version 6.0 69
MES Utilization Capability Object User Guide UCO Run-Time Behavior
70 Version 6.0
UCO Run-Time Behavior MES Utilization Capability Object User Guide
RejectedMessages.Filter.MaxHours
The rejected messages that occurred up to the number of previous hours entered for this attribute
will be retrieved.
The range of allowable values is from 1 to 100. However, any values greater than 24 will cause the
filter to behave as if the value is 24. This is because, every hour, the UCO resets the Time filter to the
previous 24 hours.
RejectedMessages.Filter.MsgType
The message type by which to filter the rejected messages that will be visible. For example, for a
UCO, this filter will be set to raw reason code change events.
RejectedMessages.Filter.Time
Only rejected messages that are more recent than this time stamp value will be retrieved. At
OnScan, the time stamp value is set to the current time. During execution, this time stamp is checked
every hour to see whether it is older than 24 hours. If it is, it is reset to ens ure that rejected messages
older than 24 hours are not retrieved.
A count of the rejected messages that match the filter criteria and a string array of the messages
themselves will be available through the RejectedMessages.Count and RejectedMessages.Messages
attributes. The RejectedMessages.Messages attribute can hold up to 200 messages. For example, in a
12-hour period, 450 rejected messages might be logged. The RejectedMessages.Count attribut e would
have a value of 450 but the RejectedMessages.Messages attribute would have only the 200 most recent
messages.
The message array is ordered with t he most recent message at the t op (that is, with the first index value).
Time stamps are in the object’s local time.
Rejected Message Retrieval Failures
If t he rejected message retrieval fails, the RejectedMessages.Status attribut e value changes from Ready
to Error. Also, an error code (RejectedMessages.ErrorCode) and error message
(RejectedMessages.ErrorMessage) are returned.
The error codes are:
-100, which indicates a communication error or MES middleware exception.
-1, which indicates an unknown error.
The RejectedMessages.ResetCmd is used to clear the error condition. The res et command:
Clears the ErrorCode and ErrorMessage attributes.
Sets the Status attribute to Ready.
Re-s ubscribes if the subscription has become invalid due to the error.
Acknowledging Rejected Messages and Resetting the Subscription
The RejectedMessages.AckRejectedMessagesCmd command attribute is used to acknowledge the
rejected messages and clear them.
Setting this command to True acknowledges that the currently visible rejected messages have been
viewed. The active rejected message subscription is removed and a new one is established. Also, the
time stamp filter is set to the current time, effectively clearing any previous rejected messages.
Failover Behavior
On failover to a redundant engine, the most recent RejectedMessages.Filters.Time value is retained and
used when the new subscription is established from the redundant engine. The
RejectedMessages.Filters.Entity and RejectedMessages.Filters.MsgType attributes will be set to their
default values. This will cause the rejected message dataset that was current at the time of the failure to
be ret rieved.
Version 6.0 71
MES Utilization Capability Object User Guide UCO Run-Time Behavior
72 Version 6.0
UCO Run-Time Behavior MES Utilization Capability Object User Guide
"message_region":"Pacific Standard
Time","message_locale":"en-US","message_version":1,
"last_edit_comment":null,"last_edit_by":"oneuser",
"last_edit_at":"2015-10-09 11:14:21 pm","row_id":18}]
Background User
Any communication between the MES object and the MES database is rout ed through the MES
middleware. The MES middleware uses a connection string to connect to the ME S database.
Whenever an MES user logs on to an application to start a session, the ID of the user is stored in the
Session table in the MES database. The Session table contains the user_id column that identifies the
user who started the session.
All the MES objects share a common session with the MES middleware.
The user ID available in the Session table is Null for the MES object. So, the system associates the
default user that is configured as a system attribute with a transaction.
The default user configured in the system can be non-MES user.
Version 6.0 73
MES Utilization Capability Object User Guide
C HAPTER 10
Troubleshooting
In This Chapter
UCO Error Codes ......................................................................................................................... 75
UCO Configuration Not A vailable When the MES Middleware Is Down ............................................. 76
Version 6.0 75
MES Utilization Capability Object User Guide Troubleshooting
76 Version 6.0
MES Utilization Capability Object User Guide
C HAPTER 11
UCO Attributes Reference
In This Chapter
Introduction to the UCO Attribut e Reference ................................................................................... 77
Table Legend ............................................................................................................................... 77
UCO Attribute Reference Table ..................................................................................................... 77
Table Legend
The Config column specifies whether t he attribute can be configured using an option in the object editor.
The RT Access column describes how the attribute value can be accessed at run time. The possible
values are:
Supervisory
The attribute value can be changed using a script.
User
The attribute value can be modified by a user.
Read-Only
The attribute value cannot be changed.
None
The primitive is being deployed; however, the attribut e is not deployed at run time.
Version 6.0 77
MES Utilization Capability Object User Guide UCO Attributes Reference
78 Version 6.0
UCO Attributes Reference MES Utilization Capability Object User Guide
Version 6.0 79
MES Utilization Capability Object User Guide UCO Attributes Reference
Previous RawReason Displays the name of the previous active raw No Read-Only
Code reason code.
80 Version 6.0
UCO Attributes Reference MES Utilization Capability Object User Guide
Version 6.0 81
MES Utilization Capability Object User Guide UCO Attributes Reference
82 Version 6.0
UCO Attributes Reference MES Utilization Capability Object User Guide
Version 6.0 83
MES Utilization Capability Object User Guide UCO Attributes Reference
ResumeOnE rror Determines whet her raw reason code Yes Supervisory
expression errors are ignored at runtime. User
Default = False (unchecked).
If False, and an error/warning occurs when
evaluating a raw reason code’s expression,
no more raw reason code expressions will be
evaluated until the next scan.
If True (checked), the error/warning will be
ignored and the raw reason code’s
expression will evaluate to False.
Spare1 These four spare attributes can be used for Yes Supervisory
Spare2 additional context when logging utilization User
Spare3 events at run time. The user can configure
Spare4 the security classification for each spare in
the object editor.
StartQuantity The StartQuantity that is currently associated Yes Supervisory
with the Entity. Quality is calculated when User
input source is used. Quality will be Bad if
unable to read from the input source.
Value must be greater than or equal to 0.
84 Version 6.0
UCO Attributes Reference MES Utilization Capability Object User Guide
Version 6.0 85
MES Utilization Capability Object User Guide UCO Attributes Reference
TargetQualityPercent This value will be used by the Entity Model Yes Read-Only
Builder to configure entity target quality
percentage. Value must be 0 to 100 percent
in decimal form.
Default = 0.0.
TargetUtilizationP ercent This value will be used by the Entity Model Yes Read-Only
Builder to configure entity target utilization
percentage. Value must be 0 to 100 percent
in decimal form.
Default = 0.0.
TimeEntered Displays the UTC time that current active raw No Read-Only
reason code changed.
For raw reason codes for which a minimum
time before activation has been set, the
TimeEntered is the same as the time at
which the raw reason code became active.
Some clients such as Object Viewer might
convert the time to local for displ ay purpos es.
TimeInRawReason Displays the total time t he current raw reas on No Read-Only
Code code has been active. This is the amount of
time from the TimeE ntered value and the
current time.
UseInputSource If set to True, the production attribute will be Yes Supervisory
set to the input value every scan cycle and User
<PAName>
the input source referenc e is used to retrieve
.UseInputSource
the production attribute value.
If set to False (the default), the user will be
expected to set the attribute value since the
input source reference is not being used.
UtilOEEDat aRefresh Sets the rate in whic h utilization and OEE Yes Supervisory
Rate data will be refreshed in the UCO. User
While this sets the rate at which the UCO will
poll for new data, no new data may be
available.
The minimum value is 15 seconds.
The default value is 00:01:00.0000000 (1
min).
WorkOrder Along wit h the Operation attribute, defines Yes Supervisory
the job to be created when the S tart Job User
command is triggered. If left blank, the the
default work order from the system
parameter will be used.
86 Version 6.0
MES Utilization Capability Object User Guide
A PPENDIX A
Glossary
Alarm Logger
The Alarm Logger provides the user with a centralized log of alarm information across multiple nodes in
a separate standalone utility. The Alarm Logger also provides access to distributed alarms.
Alarm On Error
Shows an alarm if, at runtime, an object expression is in an error state.
Alarm Priorities
Each configured alarm has a priority value associated with it. This value repres ents the severity of the
alarm and can range from 1 to 999, where 1 being the most severe.
ArchestrA
The distributed architecture for supervisory control and manufacturing information systems. It is an open
and extensible technology based on a distributed object -based design.
Attributes
An attribute is an additional user defined property for an item, job, entity, and so on, which supplies more
information about the item to the us ers of the MES system.
Authorized User
An authorized user is an ArchestrA IDE user who has the Galaxy permission of "User Configuration/ Can
Create/Modify/Delete Users."
Automatic Mode
The UCO is in Automatic mode if, when recording utilization events, the Log Utilization E vents attribute is
True.
In Automatic mode, the UCO will log raw reas on code transitions as utilization events to the MES
database against the entity (that is, the parent object to the UCO). If the Log Utilization E vents attribute is
False, the UCO is in Manual mode. The object will continue to evaluat e raw reason code transitions and
update the object attributes, but it will not log utilization events to the MES database.
Batch
A batch is an amount of production that is proc essed simultaneously. Batch is used to modify the
standard production time for a given amount of product. Standards are expressed either in time per
batch, or batches per time. If the amount of production is not an integral number of batches, the standard
production time is rounded up to what it would be for the next whole number of batches. For example, if
you bake cookies by the dozen, it takes as long to bake 13 as it does to bake 24, because you must still
bake the odd one for (about) as long as you bake a whole dozen.
Downtime
Downtime is the time an entity is not being utilized for production but is available to do so. The time an
entity spends stopped during a meal break, a weekend, or other time when there is no one intended t o be
available to operate it is not normally counted as downtime, even though the entity is stopped during
those periods.
Version 6.0 87
MES Utilization Capability Object User Guide Glossary
Entity
Plant assets that are used for production of goods. An entity can be a building, a location within a
building, a production line, a single machine, and so on. Physical entities are components that users log
in to on the shop floor to do work.
Entity Model Builder
The Entity Model Builder is an ArchestrA IDE extension for creating entities from your ArchestrA
equipment model that use the an MES object for configuring MES functionality, such as utilization, OEE
tracking, job production, and quality management support.
Galaxy
The entire application. The complete ArchestrA system that consists of a single logical namespac e
(defined by the Galaxy Database) and a collection of Platform Objects, Engine Objects, and other
Objects. One or more network PCs that constitute an automat ion system. This is referred to as the
Galaxy Namespace.
Galaxy Database
The relational database containing all persistent configuration information like Templates, Instances,
Security, and so on in a Galaxy Repository.
Galaxy Database Manager
The Galaxy Database Manager is a utility to manage your Galaxy. It can back up and restore galaxies if
they become corrupt or reproduce a galaxy on another computer. The Galaxy Database Manager is part
of the System Management Console (SMC).
Galaxy Repository
The soft ware subsystem consisting of one or more Galaxy Databases.
Galaxy Object
The Object that represents a Galaxy.
Hierarchical Name
The name of the object in the context of its container object. For example, Tank1.OutletValve, where an
object called Tank1 contains the OutletValve object.
Human Machine Interface (HMI)
Tool that allows a person to control equipment remotely.
IDE
Integrated development environment.
Instance
An Object, which is a unique representation of a template that exists in run time.
Instantiation
The creation of a new Instance based on a corresponding Template.
Item
The basic unit produced or consumed during production. Items can be referred to as a part, component,
piece, and so on in different manufacturing environments.
88 Version 6.0
Glossary MES Utilization Capability Object User Guide
Job
The work order instance of an Operation, scheduled to entities or groups of entities.A user on the plant
floor logs into a job to perform work.
Logger
Application that records all ArchestrA problems or errors. Log entries can be viewed usi ng the Log
Viewer function in ArchestrA System Management Cons ole.
Log Viewer
A Microsoft Management Cons ole (MMC) snap-in that provides a user interfac e for viewing messages
reported to the LogViewer.
Lot
Group of consumed or produced items.
Manual Mode
The UCO is in Manual mode if, when recording utilization events, the Log Utilization E vents attribute is
False.
In Automatic mode, the UCO will log raw reas on code transitions as utilization events to the MES
database against the entity (that is, the parent object to the UCO). In Manual mode, the object will
continue to evaluate raw reason code transitions and update the object attributes, but it will not log
utilization events to the MES database. These events have to be logged manually.
MES
Manufacturing Execution System (MES) is a complete set of functional capabilities for consistent and
effective execution of operational activities.
MES Middleware
The MES middleware enables communication between the MES client components, including MES
objects, and the MES database.
MES Middleware Proxy
The MES middleware proxy enables communication bet ween an MES client component, including MES
objects, and the MES middleware server.
Object
Any template or instance found in a Galaxy Database. All objects are stored as separate components in
the Galaxy Repository.
Object Model Attributes
Defines the details of the interface content between manufacturing control functions and other enterprise
functions.
Object Name
Describes the name of the ArchestrA object instance that triggered the event.
Object Type
Describes the type of the ArchestrA object instance that triggered the event. These are the names of the
PEM.
OEE (Overall Equipment Effectiveness)
The efficiency calculation implemented in the MES is based on the industry standard OEE (Overa ll
Equipment Effectiveness) efficiency methodology.
Version 6.0 89
MES Utilization Capability Object User Guide Glossary
90 Version 6.0
Glossary MES Utilization Capability Object User Guide
Shift
Defines breaks and work timings for different entities. You can define different shifts and breaks for
different entities.
SMC Log Viewer
System Management Console (SMC) Log Viewer is used to troubleshoot PEM objects.
Sublot
Subordinate group of consumed or produced items.
Tagname
The name assigned to a variable defined in the Tagname dictionary.
Template
An object containing configuration information and soft ware templates used to create a Derived
Templat e and/or Instance.
Trigger Input
When a Trigger Input is used, the input status is checked at every scan.
Triggering
An event trigger associates the object with a Boolean attribut e that acts as the object trigger.
Units Of Measure
The measure used for items in MES.
User Defined Object
An Automation Object creat ed from the User Defined Template. This template does not have any
application-specific attribut es or logic. You must define these attributes and associated logic.
Utilization Event
A utilization event indicates the current operational state of the entity. An entity is always considered to
be in a utilization event. The events that are typically of interest are those that indicate that the entity is
down or when it is idle when it should be running.
If so configured, the system can set an entity’s event automatically based on changes in the operational
state of the entity.
Production operat ors can also manually change the event that an entity is in when the condition or state
of the entity changes. When changing to a new event, the operat or assigns a utilization reason to the
new event. The reason specifies the entity’s utilization state and the reason for that state. For example,
the utilization reasons Running - Normal Speed, Running - High Speed, and Running - Low Speed all
indicate a utilization state of Running. However, each reason indicates a running speed.
Utilization Reason
Utilization reasons describe the current condition of an entity and associate eac h reason with a utilization
state. A reason group is a category of reasons. For ex ample, the reason Bottle Jam can belong to the
reason group Bottle Descrambler Down, and results in a Downtime utilization state. On the production
floor, a reason can be selected by a PLC, an input/out put (I/O) connection to a devic e, or an operator.
The utilization reasons that operators can assign to events during production are created during system
configuration.
Version 6.0 91
MES Utilization Capability Object User Guide Glossary
92 Version 6.0
MES Utilization Capability Object User Guide
Index
A C
Alarn on Error attribute • 42
commands
ArchestrA • 7
End Job • 54, 55
equipment model • 7, 15
production • 54
galaxy, importing a UCO package into • 9
production, enabling • 52
UCO instances, adding to objects and areas
• 57 Reset (production commands) • 55
attributes, UCO specifying value or input source • 16
Version 6.0 93
MES Utilization Capability Object User Guide Index
proper structure • 30
validation of • 30 O
OEE (Overall Equipment Effectiveness) • 47
G attributes • 47
building • 62
deploying • 62 Q
entity hierarchy • 15 quality (OEE) • 48
MES middleware • 9, 69 Quality Percent attribute • 49
background user • 73
94 Version 6.0
Index MES Utilization Capability Object User Guide
OffScan behavior • 70
R OnScan behavior • 70
Rate attribute (default production rate) • 49 overview • 70
Rate Unit of Measure attribute (default resetting the subscription for • 70
production rate) • 49
retrieval failures • 70
raw reas on codes • 23
shutdown behavior • 70
attributes • 26
Required Quantity attribute (production) • 53
changes during run time • 69 requirements, system • 9
configuring • 24 Reset command (production) • 55
default code for the UCO • 18 resetting • 55
Resume on Error attribute • 42
default reason group and reason • 26
run time
deleting • 32
attributes reference table • 77
description • 26
error attribute values, resetting • 70
error messages, validation • 32
error codes, UCO • 75
evaluation order, setting • 31
production operations • 65
exporting • 33, 37
raw reas on code changes • 69
expression • 26, 28, 29, 30, 31
status • 69
importing • 33, 37
UCO deployment • 67
importing, overwrite behavior • 39
UCO execution • 67
importing, validation errors • 40
utilization attribut es • 67
inheritance • 18
utilization event logging • 69
minimum time before activation • 27
prompt for manual utilization reason
selection • 27
S
Spare comment attributes • 43
renaming • 32
Start Job command • 54, 55
utilization reasons, allowable • 28
Start Quantity attribute (production) • 53
XML file, format • 34 system requirements • 9
XML file, sample • 33
reason groups, utilization • 23
T
reasons, utilization • 23
Target Production Rate attribute (production) •
allowable • 18, 28 53
default assigned to a raw reason code • 18 Target Production Rate Unit of Measure
defined in the MES database • 18 attribute (production) • 53
rejected messages templates • 15
acknowledging • 70 derived • 15
alarms • 70 planning • 16
column structure • 72
failover behavior • 70 U
history • 70 utilization attribut es • 21
Version 6.0 95
MES Utilization Capability Object User Guide Index
96 Version 6.0