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

Generate a genealogy identifier

  • Last UpdatedDec 03, 2024
  • 2 minute read

Genealogy IDs are generated for an instance only if the corresponding instance is configured to generate a new genealogy ID.

You must select the Generate and log genealogy identifiers (GenealogyID and EventLinkID) option to generate the genealogy ID and EventLink ID.

You can generate genealogy ID using the following methods:

  • Select the Trigger Genealogy check box of a production attribute to generate a genealogy ID when the value of the attribute is changed at run time.

    For example, in the following diagram, the Trigger Genealogy check box is selected for the Material ID attribute. Any changes in the Material ID triggers a change in the genealogy ID.

    The OCO object editor PEM instance production attributes highlighting where to trigger genealogy identifier.

  • In the Generate GenealogyID on demand (runtime) section, select the Use Input Source check box and provide a reference to an input source that can be used as the value for the genealogy ID at run time.

    The OCO object editor PEM instance Genealogy attributes showing how to specify an input source to use as the genealogy identifier.

  • Trigger the GenerateGenealogyID command on the OCO PEM Instance at run time.

When a PEM instance is set to trigger a new genealogy ID on an attribute value change, a new genealogy ID is generated each time a value for an attribute is changed at run time and the trigger genealogy (<Attribute>.TriggerGenealogy) is set to True.

Following is the sample genealogy ID format:

<OCO Instance Name>|<PEM Instance Name>|YYYY-MM-DD HH24:MI:SS.nnn

For example:

OCO_001|Mixing|2022-08-19 14:19:51.523

The PEM instance name in the genealogy ID is restricted to 190 characters.

You must configure the correct attributes to create a new genealogy ID when the value for an attribute is changed at run time.

When the GenerateGenealogyID command is set to True at run time, a new genealogy ID is generated at run time and the value is added to the genealogy ID attribute. The subsequent MES middleware call uses the genealogy ID that is generated while making calls to the middleware.

When the use input source for the genealogy ID attribute is set to True, the genealogy ID is queried from the input source or from an external I/O for each MES middleware call. The retrieved value overrides the current genealogy ID.

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