How to best handle the following type of equipment tag: NNNN-TT-NNN, where N is a numerical and T a text?

How to best handle the following type of equipment tag: NNNN-TT-NNN, where N is a numerical and T a text?

example: 1234-PMP-001 

Thanks

Parents
  • Vacoas,

    For future reference it would be helpful for you to include the product and version you are using.

    Example: OpenPlant PowerPID SELECTseires5 Refresh3.

    I will assume you need this for OpenPlant PowerPID.

    A question - the first piece of the tag NNNN (1234) - what property is this?

    I will assume PLANT_AREA.

    First you need to change the tag format ECExpression in the OpenPlant_Supplemental_Tagging schema. This can be done by loading the schema in the Class Editor.

    Locate the INSTRUMENT class and pick the Properties tab - Select the NAME Property.

    Copy the ECExpression value from the Calculated ECProperty Specification custom attribute. This is defined as PLANT_AREA-DEVICE_TYPE_CODE-NUMBER which is what you want for equipment.

    Locate the EQUIPMENT class and pick the

    Pick on the Properties tab and locate the property NAME. Locate the Calculated ECProperty Specification custom attribute and paste in the string from the INSTRUMENT class. (When you pick out of the field it may revert back to the original value. Simple paste the string a second time and it will hold.)

    Switch back to the INSTRUMENT class and the NAME property and this time copy the Parser regular expression value on the Calculated ECProperty Specification custom attribute.

    Return to the EQUIPMENT class and its NAME property and paste the Parser regular expression value into the custom attribute. SAVE the schema.

    On the Plant Project Database side you will need to change the Tag Format for EQUIPMENT (All equipment tag formats - AT_EQUIP, AT_EQPMP, etc.) to match that of the AT_INST tag format.

    This is done by loading the Project Administrator and selecting your project. Browse to Database>Tag Types and then locate the equipment tag types and edit them. to match the AT_INST tag type.

    I hope this helps,

    Tony DeRosa

    Bentley Plant

     

    Tony DeRosa

    Senior Application Engineer

    Bentley Plant



Reply
  • Vacoas,

    For future reference it would be helpful for you to include the product and version you are using.

    Example: OpenPlant PowerPID SELECTseires5 Refresh3.

    I will assume you need this for OpenPlant PowerPID.

    A question - the first piece of the tag NNNN (1234) - what property is this?

    I will assume PLANT_AREA.

    First you need to change the tag format ECExpression in the OpenPlant_Supplemental_Tagging schema. This can be done by loading the schema in the Class Editor.

    Locate the INSTRUMENT class and pick the Properties tab - Select the NAME Property.

    Copy the ECExpression value from the Calculated ECProperty Specification custom attribute. This is defined as PLANT_AREA-DEVICE_TYPE_CODE-NUMBER which is what you want for equipment.

    Locate the EQUIPMENT class and pick the

    Pick on the Properties tab and locate the property NAME. Locate the Calculated ECProperty Specification custom attribute and paste in the string from the INSTRUMENT class. (When you pick out of the field it may revert back to the original value. Simple paste the string a second time and it will hold.)

    Switch back to the INSTRUMENT class and the NAME property and this time copy the Parser regular expression value on the Calculated ECProperty Specification custom attribute.

    Return to the EQUIPMENT class and its NAME property and paste the Parser regular expression value into the custom attribute. SAVE the schema.

    On the Plant Project Database side you will need to change the Tag Format for EQUIPMENT (All equipment tag formats - AT_EQUIP, AT_EQPMP, etc.) to match that of the AT_INST tag format.

    This is done by loading the Project Administrator and selecting your project. Browse to Database>Tag Types and then locate the equipment tag types and edit them. to match the AT_INST tag type.

    I hope this helps,

    Tony DeRosa

    Bentley Plant

     

    Tony DeRosa

    Senior Application Engineer

    Bentley Plant



Children
No Data