Retrieve and configure Historian tag attributes associated with an equipment property

The following procedure describes how to retrieve and configure the attributes of an Historian tag that is associated with an equipment property.

Procedure

  1. Add a workflow that will be used to configure the attributes of an Historian tag.
    Note: Activities can be inserted at both the workflow and subprocess levels.
  2. In the navigator, click Workflow > Workflows.
  3. In the Workflows list, select the resource you want to work with
    Note: A resource must already have been added in order to select it from this list.
  4. In the Displays panel, click Workflow Management > Workflow Editor.
  5. Click the Workflow Editor tab.
  6. Insert an activity:
    • At the workflow level:
      • From the Standard Activities panel, click and drag the activity you want to insert to a drop point.
        Note: Activities can exist only between the presubprocess and postsubprocess.
    • At the subprocess level:
      • Double-click the local subprocess you want to add the activity to.
      • From the Standard Activities panel, click and drag the activity you want to insert to a drop point.
  7. On the activity configuration panel, click Configure Method.
    The Configure Method dialog box appears, displaying a list of the available call method service providers.
  8. Double-click IEquipmentHistorian to display the list of available call methods.
  9. Click GetHistorianTagAttributes, and then click Finish.
  10. Configure the call method as follows:
    1. In the Equipment Address field, click the ellipsis button, and then select the equipment instance with the property associated with the tag whose attributes you want to retrieve.
    2. In the Property Name field, enter the name of the equipment property associated with the tag whose attributes you want to retrieve.
  11. For each tag attribute you want to change, insert a Write activity into the workflow, after the call method, and then configure it as follows:
    1. On the activity configuration panel, click the ellipsis button.
      The Select Variable dialog box appears.
    2. Expand the call method you created in step 2 and, from the Return Value list for the call method, select the attribute you want to configure.
    3. Click OK.
    4. On the activity configuration panel, enter a value for the attribute or bind the value to another attribute.
  12. Repeat steps 2 through 4.
  13. Click SetHistorianTagAttributes, and then click Finish.
  14. Configure the call method as follows:
    1. In the Equipment Address field, click the ellipsis button, and then select the same equipment resource you selected in step 6a.
    2. In the Property Name field, enter the name of the same equipment property you specified in step 6b.
    3. In the Tag Attributes field, click the arrow, and then select Bind.
      The Select Variable dialog box appears.
    4. Expand the call method you created in step 2, and then select the Return Value output parameter.
    5. Click OK.
  15. Click Save.
  16. Run the workflow, or, on the Test/Debug tab, test the workflow to ensure that your input parameters are configured correctly.