Create the reactor templates
- Last UpdatedDec 13, 2024
- 2 minute read
- PI System
- PI Server 2024 R2
- PI Server
Before you create reactor 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 Builder to create templates. Follow this procedure to create an element template for a reactor and an attribute template to store temperature for reactors.
-
Open a new Microsoft Excel worksheet and click the PI Builder tab.
-
In the Connections group, select a database:
-
From the Asset Server list, select the PI AF server that stores your database.
-
From the Database list, select your database.
-
-
Add the appropriate column headers to your worksheet:
-
In the Resources group, click Headers to open the Select Object Types and Column Headers window.
-
From the Object Type list, select Element Template.
-
Click Clear All to clear selected object types except those in the Required Columns group (you cannot clear the required columns).
-
Under the Attribute Template object type, select the DefaultUOM and DataReference check boxes.
-
Click OK to add the selected column headers to the worksheet.
-
-
In the second row of the worksheet, in the Name column, type Reactor Template.
-
In the third row, fill in the following values to specify an attribute template:
Column
Value
Selected(x)
x
Parent
Reactor Template
Name
Temperature Attribute
Object Type
AttributeTemplate
AttributeDefaultUOM
degC
AttributeDataReference
PI Point
The worksheet should look like this:
The AttributeDefaultUOM and AttributeDataReference column headers might not be in the same worksheet columns as they appear in the illustration.
-
Publish the data to PI AF:
-
Click Publish to open the Publish Options window.
-
From the Edit Mode list, select Create Only (you could also select Create and Edit).
-
Click OK.
PI Builder creates the template in the database. The Publish Selected Objects window shows the operations completed. PI Builder automatically checks in the changes.
-
Click Close.
If desired, you can view the template in PI System Explorer.
-