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
- 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.
- In the navigator, click .
- In the Workflows list, select the resource you want to work withNote: A resource must already have been added in order to select it from this list.
- In the Displays panel, click .
- Click the Workflow Editor tab.
- 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.
- From the Standard Activities panel, click and drag the activity you want to insert to a drop point.
- 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.
- At the workflow level:
- On the activity configuration panel, click Configure Method. The Configure Method dialog box appears, displaying a list of the available call method service providers.
- Double-click IEquipmentHistorian to display the list of available call methods.
- Click GetHistorianTagAttributes, and then click Finish.
- Configure the call method as follows:
- 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.
- In the Property Name field, enter the name of the equipment property associated with the tag whose attributes you want to retrieve.
- 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:
- Repeat steps 2 through 4.
- Click SetHistorianTagAttributes, and then click Finish.
- Configure the call method as follows:
- Click Save.
- Run the workflow, or, on the Test/Debug tab, test the workflow to ensure that your input parameters are configured correctly.