Replacing tag placeholders using parameter lists, Setting up tag placeholders for global objects – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual
Page 425
16
•
C
REATING
GRAPHIC
DISPLAYS
16–37
•
•
•
• •
16
•
Pla
ceho
lde
r
Replacing tag placeholders using parameter lists
Instead of using a parameter file to replace tag placeholders in a graphic display, you can
load a parameter list, using the /T parameter with the Display command.
Example 1: Replacing tag placeholders with a list of tag names
To run a graphic display named Canning, with the tags Pea_Weight, Pea_Level, and
Pea_Temp, type:
Display Canning/TPea_Weight, Pea_Level, Pea_Temp
Example 2: Replacing tag placeholder with a list of folder names
The tag database contains these tags:
Wherever the tags are needed, the placeholder #1 is used for the folder name, as follows:
#1\Weight, #1\Level, #1\Temp
To run the display named Canning with the tags in the Corn folder, you would type:
Display Canning /TCorn
To run the display named Canning with the tags in the Bean folder, you would type:
Display Canning /TBean
Setting up tag placeholders for global objects
Using tag placeholders in a global object lets you assign unique values to the different
reference objects linked to the global base object.
To set this up, first you define the tag placeholder for the global base object, and then you
assign run-time values to the linked reference objects.
When displays containing the reference objects are run, the tag placeholder is replaced
with the value specified for each reference object.
Corn\Weight
Bean\Weight
Corn\Level
Bean\Level
Corn\Temp
Bean\Temp