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

AVEVA™ Gateways

Add Attributes to Element Type

  • Last UpdatedOct 24, 2024
  • 8 minute read

You can add the following attributes to the element types that have been selected for export:

  • Name

  • Characteristic

  • Property

  • Association

The following image shows the user interface for adding attributes.

Adding the Name Attribute

Each element type can have only one Name attribute.

To add a Name attribute to an element type:

  1. On the Element Type Mappings page, select the required element type from the Current Element Type list.

  2. On the EIWM tab, select the root of the object tree Object, right-click and select Add EIWM > Name. The Name attribute is added to the object tree and the Name area appears.

    Do one of the following:

    • If you want to specify the value for the Name attribute directly, select the Constant option and enter a value in the Text box. The specified value is added to the Name attribute in the EIWM Object Mapping area.

      Note: You can add the value to the list by clicking the Add icon. Click the Delete icon to delete the selected value from the list. When you delete a value from the list, the value is deleted from the object tree as well.

    • If you want to derive the value for the Name attribute from the value of an attribute, select the From Attribute option and select an attribute from the Attribute name list. The same is added to the Name attribute in the EIWM Object Mapping area.

    • If you want to derive the value for the Name attribute from a PML expression, select the From PML option and enter a PML expression in the PML Expression box. The PML expression is added to the Name attribute in the EIWM Object Mapping area.

      Important: The value you provide will be lost if you move from one option to another. Therefore, before you move to the next page, make sure that all the attributes you have selected have the required mappings. The attributes without a value or a mapping are displayed in red.

Adding a Characteristic Attribute

You can add any number of Characteristic attributes to an element type.

To add a Characteristic attribute:

  1. On the Element Type Mappings page, select the required element type from the Current Element Type list.

  2. On the EIWM tab, select the root of the object tree Object, right-click and select Add EIWM > Characteristic. The Characteristic attribute is added to the object tree and the Name and Value areas appear.

  3. For the Name area, do one of the following:

    • If you want to specify the value for the characteristic name directly, select the Constant option and enter a value in the Text box. The specified value is added to the Name field of the Characteristic attribute in the EIWM Object Mapping area.

      Note: You can add the value to the list by clicking the Add icon. Click the Delete icon to delete the selected value from the list. When you delete a value from the list, the value is deleted from the object tree as well.

    • If you want to derive the value for the characteristic name from the value of an attribute, select the From Attribute option and select an attribute from the Attribute name list. The same is added to the Name field of the Characteristic attribute in the EIWM Object Mapping area.

    • If you want to derive the value for the characteristic name from a PML expression, select the From PML option and enter a PML expression in the PML Expression box. The PML expression is added to the Name field of the Characteristic attribute in the EIWM Object Mapping area.

  4. For the Value area, do one of the following:

    • If you want to specify the value of the characteristic directly, select the Constant option and enter a value in the Text box. The specified value is added to the Value field of the Characteristic attribute in the EIWM Object Mapping area.

    • If you want to derive the value for the characteristic from the value of an attribute, select the From Attribute option and select an attribute from the Attribute name list. The same is added to the Value field of the Characteristic attribute in the EIWM Object Mapping area.

    • If you want to derive the value for the characteristic from a PML expression, select the From PML option and enter a PML expression in the PML Expression box. The PML expression is added to the Value field of the Characteristic attribute in the EIWM Object Mapping area.

    Important: The value you provide will be lost if you move from one option to another. Therefore, before you move to the next page, make sure that all the attributes you have selected have the required value or mapping. The attributes without a value or a mapping are displayed in red.

    Adding a Property Attribute

    You can add any number of Property attributes to an element type.

    To add a Property attribute:

    1. On the Element Type Mappings page, select the required element type from the Current Element Type list.

    2. On the EIWM tab, select the root of the object tree Object, right-click and select Add EIWM > Property. The Property attribute is added to the object tree and the Name, Value and Units areas appear.

    3. For the Name area, do one of the following:

      • If you want to specify the value for the property name directly, select the Constant option and enter a value in the Text box. The specified value is added to the Name field of the Property attribute in the EIWM Object Mapping area.

        Note: You can add the value to the list by clicking the Add icon. Click the Delete icon to delete the selected value from the list. When you delete a value from the list, the value is deleted from the object tree as well.

      • If you want to derive the value for the property name from the value of an attribute, select the From Attribute option and select an attribute from the Attribute name list. The same is added to the Name field of the Property attribute in the EIWM Object Mapping area.

      • If you want to derive the value for the property name from a PML expression, select the From PML option and enter a PML expression in the PML Expression box. The PML expression is added to the Name field of the Property attribute in the EIWM Object Mapping area.

    4. For the Value area, do one of the following:

      • If you want to specify the value of property directly, select the Constant option and enter a value in the Text box. The specified value is added to the Value field of the Property attribute in the EIWM Object Mapping area.

      • If you want to derive the value for the property from the value of an attribute, select the From Attribute option and select an attribute from the Attribute name list. The same is added to the Value field of the Property attribute in the EIWM Object Mapping area.

      • If you want to derive the value for the property from a PML expression, select the From PML option and enter a PML expression in the PML Expression box. The PML expression is added to the Value field of the Property attribute in the EIWM Object Mapping area.

    5. For the Units area, do one of the following:

      • If you want to specify the value for the property units directly, select the Constant option and enter a value in the Text box. The specified value is added to the Units field of the Property attribute in the EIWM Object Mapping area.

      • If you want to derive the value for the property units from the value of an attribute, select the From Attribute option and select an attribute from the Attribute name list. The same is added to the Units field of the Property attribute in the EIWM Object Mapping area.

      • If you want to derive the value for the property units from a PML expression, select the From PML option and enter a PML expression in the PML Expression box. The PML expression is added to the Units field of the Property attribute in the EIWM Object Mapping area.

      Important: The value you provide will be lost if you move from one option to another. Therefore, before you move to the next page, make sure that all the attributes you have selected have the required value or mapping. The attributes without a value or a mapping are displayed in red.

      Adding an Association Attribute

      You can add any number of Association attributes to an element type.

      To add an Association attribute:

      1. On the Element Type Mappings page, select the required element type from the Current Element Type list.

      2. On the EIWM tab, select the root of the object tree Object, right-click and select Add EIWM > Association. The Association attribute is added to the object tree and the Type and SourceID areas appear.

      3. For the Type area, do one of the following:

        • If you want to specify the association type directly, select the Constant option and enter a value in the Text box. The specified value is added to the Type field of the Association attribute in the EIWM Object Mapping area.

          Note: You can add the value to the list by clicking the Add icon. Click the Delete icon to delete the selected value from the list. When you delete a value from the list, the value is deleted from the object tree as well.

        • If you want to derive the association type from the value of an attribute, select the From Attribute option and select an attribute from the Attribute name list. The attribute is added to the Type field of the Association attribute in the EIWM Object Mapping area.

        • If you want to derive the association type from a PML expression, select the From PML option and enter a PML expression in the PML Expression box. The PML expression is added to the Type field of the Association attribute in the EIWM Object Mapping area.

      4. For the SourceID area, do one of the following:

        • If you want to specify the source ID of the association directly, select the Constant option and enter a value in the Text box. The specified value is added to the SourceID field of the Association attribute in the EIWM Object Mapping area.

        • If you want to derive the value for the source ID from the value of an attribute, select the From Attribute option and select an attribute from the Attribute name list. The attribute is added to the SourceID field of the Association attribute in the EIWM Object Mapping area.

        • If you want to derive the value for the source ID from a PML expression, select the From PML option and enter a PML expression in the PML Expression box. The PML expression is added to the SourceID field of the Association attribute in the EIWM Object Mapping area.

        Important: The value you provide will be lost if you move from one option to another. Therefore, before you move to the next page, make sure that all the attributes you have selected have the required value or mapping. The attributes without a value or a mapping are displayed in red.

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