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

PI Builder (PI Server 2024 R2)

Create the heat pump templates

  • Last UpdatedDec 13, 2024
  • 2 minute read

Before you create the templates, decide which PI AF server and which PI AF database will store the templates.

In PI AF, templates provide a structure that you can use to create objects. You can use PI System Explorer to create templates. Follow this procedure to use PI System Explorer to create an element template for a heat pump and an attribute template to store the speed of the pump. The attribute template references a point from the PI Random Simulator interface.

  1. Open PI System Explorer. (Click Start, click All Programs, click PI System, then click PI System Explorer.)

  2. Select a database to use for the tutorial:

    1. In the PI System Explorer toolbar, click Database.

    2. From the Asset server list, select the PI AF server that stores your database.

    3. From the Databases list, select your database.

    4. Click OK.

  3. Create a new element template:

    1. In the navigation pane, click Library.

    2. In the database tree, expand Templates, right-click Element Templates, and click New Template.

    3. On the General tab, in the Name field, enter Heat Pump Template.

  4. Create a new attribute template:

    1. On the Attribute Templates tab, in the empty template table, click New Attribute Template.

    2. In the Name field, enter PumpSpeed.

  5. Configure a data reference for the attribute template:

    1. From the Data Reference list, select PI Point.

    2. Click Settings to open the PI Point Data Reference window.

    3. In the Data server list, leave the default value: %Server%.

      The value %Server% is a substitution parameter. When creating an attribute from this template, PI AF sets the Data Archive to the default Data Archive of the element's PI AF database.

    4. In the Tag name field, leave the default tag name: %Element%.%Attribute%.

      The values %Element% and %Attribute% are substitution parameters. When creating an attribute from this template, PI AF sets the data reference to a PI point named ElementName.AttributeName.

    5. Select the Tag Creation check box and then click adjacent to the Tag Creation field.

      The Tag Creation Settings window opens.

    6. From the Point Class list, select classic.

    7. From the Point Type list, select Float32.

    8. Enter the following point attribute values:

      Attribute

      Value

      zero

      1100

      span

      200

      pointsource

      R

      location4

      1

      location5

      2

      For the other attributes, leave the default values.

      Note: These settings create a point that references the default PI Random Simulator interface. If this interface is not installed on your system, this point will have no values.

    9. Click OK.

    10. On the PI Point Data Reference window, click OK.

  6. Check in the templates:

    1. Click File > Check In.

    2. On the Check In window, click Check In.

    PI AF checks in the new template and makes it available for use.

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