Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Manufacturing Execution System 2023 R2

PEM attributes available at run time

  • Last UpdatedJan 31, 2025
  • 4 minute read

Note: PEM attributes should not be used in conjunction with an MES process model.

The PEM attributes that are available at run time are described in the following table.

The PEM attributes vary according to the PEM command type.

Attribute Name

Description

Configura-
tion

Run Time Access

PEM.
<PEM Instance Name>.
Trigger

Logs the values of PEM attributes.

No

Supervisory, User

PEM.
<PEM Instance Name>.
EnableGenerateGenealogyID

Enables the genealogy ID creation for a PEM instance.

No

Supervisory, User

PEM.
<PEM Instance Name>.
GenerateGenealogyID

Generates the genealogy ID if an attribute value is changed at run time. If the input source is set True for the attribute, the generated genealogy ID is overwritten with the genealogy ID from an external source when the production or consumption transaction is triggered.

No

Supervisory, User

PEM.
<PEM Instance Name>.
EventID

Specifies the production event ID that is generated for each production transaction.

No

Supervisory, User

PEM.
<PEM Instance Name>.
Genealogy ID

Specifies the genealogy ID to be used for a PEM instance.

No

Supervisory, User

PEM.
<PEM Instance Name>.
EventLinkID

Links a Material Consumed Event with a Material Produced Event. It can be set only by specifying an input source.

No

Supervisory, User

PEM.
<PEM Instance Name>.
EventLinkID.InputSource

Points to the Material Produced Event ID.

No

Supervisory, User

PEM.
<PEM Instance Name>.
PEMCommandType

Specifies different PEM command types.

Read-Only

PEM.
<PEM Instance Name>.
Location*

Specifies the storage location that is associated with the production or consumption transaction.

Yes

User

PEM.
<PEM Instance Name>.
MaterialID*

Specifies the BOM item associated with a job

Yes

User

PEM.
<PEM Instance Name>.
UnitofMeasure*

Specifies the units of measure for the BOM item associated with a job.

Yes

User

PEM.
<PEM Instance Name>.
ProductionRequestID*

Specifies the production request ID that is currently associated with a job.

Yes

User

PEM.
<PEM Instance Name>.
Process
SegmentID*

Specifies the process segment ID that is currently associated with a job.

Yes

User

PEM.
<PEM Instance Name>.
ProductionScheduleID*

Specifies the production schedule ID that is currently associated with a job.

Yes

User

PEM.
<PEM Instance Name>.
SegmentRequirementID*

Specifies the segment requirement ID that is currently associated with a job.

Yes

User

PEM.
<PEM Instance Name>.
SegmentResponseID*

Specifies the segment response ID that is currently associated with a job.

Yes

User

PEM.
<PEM Instance Name>.
SubsegmentID*

Specifies the subsegment ID associated with production or consumption transaction

Yes

User

PEM.
<PEM Instance Name>.
PersonnelList*

Specifies the users associated with a production event.

Yes

User

PEM.
<PEM Instance Name>.
Comments*

Specifies the comments that are associated with the current production or consumption transaction.

Yes

User

PEM.
<PEM Instance Name>.
MaterialType*

Specifies the type of material that is logged with a production transaction.

Yes

User

PEM.
<PEM Instance Name>.
LotNo*

Specifies the lot number that is associated with the current production or consumption transaction.

Yes

User

PEM.
<PEM Instance Name>.
SublotNo*

Specifies the sublot number that is associated with the current production or consumption transaction.

Yes

User

PEM.
<PEM Instance Name>.
SeralNumberList*

Specifies the serial numbers of consumed items.

Yes

User

PEM.
<PEM Instance Name>.
Quantity*

Specifies the absolute quantity that must be added to the production or consumption transaction.

Yes

User

PEM.
<PEM Instance Name>.
ResetCmd

Resets any errors that occur while triggering PEM events.

No

Supervisory, User

PEM.
<PEM Instance Name>.
AutoReset

Resets the trigger command automatically.

No

Supervisory, User

PEM.
<PEM Instance Name>.
DateTime

Specifies the date and time to log a PEM event

No

Supervisory, User

PEM.
<PEM Instance Name>.
DateTime

Specifies automatic generation of the date and time values for a PEM event

No

Supervisory, User

PEM.
<PEM Instance Name>.
Log

Enables data to be logged for an extended PEM attribute when the PEM command is triggered

No

Supervisory, User

PEMAttrs.
<PEM Instance Name>.
<Attribute Name>

Specifies the name for an extended PEM attribute

Yes

User

PEMAttrs.
<PEM Instance Name>.
<Attribute Name>.
InitialValue

Specifies the initial value that is retrieved from an extended PEM attribute.

No

Read-Only

PEM.
<PEM Instance Name>.
Data Type

Specifies the data type for an extended PEM attribute

No

Read Only

ErrorCode

Represents the error value that occurs while processing the call.

If the last call succeeds, the value of this attribute is set to 0.

No

Read-Only

ErrorMessage

Provides a message about the error that has occurred while processing the middleware call to start, pause, or end a job.

No

Read-Only

Status

Indicates the status of the request sent to the middleware. The following are the possible statuses:

  • Ready: If the object is ready to process the request.

  • Busy: If the call is currently being processed.

  • Error: If there was an error during the last call.

No

Read-Only

*Quality is calculated when an input source is used, and the result of the quality will be Bad if an attribute is unable to read the input source. The TriggerGenealogy attribute is associated with this attribute.

TitleResults for “How to create a CRG?”Also Available in