Using placeholders to specify tag values, Creating a tag placeholder, Using placeholders to specify tag values – 35 – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual
Page 423: Creating a tag placeholder – 35

16
•
C
REATING
GRAPHIC
DISPLAYS
16–35
•
•
•
• •
16
•
Pla
ceho
lde
r
5. Click the OK Button in Image name dialog. The dialog box will close returning you to
the Image Browser. The new image will be shown and the new image name shown in
the image browser explorer.
6. Click the OK button in the Image Browser for the graphic to be placed in the current
workspace.
Note that any Symbol Factory object, including Bitmap, DIB and metafile can be pasted
into Image Browser where it will be stored as a bitmap.
Using placeholders to specify tag values
Tag placeholders can save time spent developing and maintaining applications, by
providing a way to use a single graphic display for several similar operations.
For example, to create displays for a plant that uses the same machinery to can corn and
beans, instead of specifying corn-related tags in one display and bean-related tags in
another, you can create one display and use tag placeholders where tags are required.
At run time, the placeholders must be replaced with the actual tag names for the different
corn and bean processes. To do this, you would specify the actual tag names in parameter
files or parameter lists, and then load the appropriate file or list with the display.
Parameter files and parameter lists are loaded using the Display command parameters /P
and /T, respectively. For details, see the examples on page 16-37.
Creating a tag placeholder
A tag placeholder is the cross-hatch character (#) followed by a number from 1 to 500.
You can use a tag placeholder to specify a value for a graphic object instead of (or as part
of) specifying a tag name, expression, command, or embedded variable.
In the following illustration, the tag placeholder #1 is the value assigned to a numeric
input object. In this case, the tag placeholder stands for the tag’s full name, which will be
provided at run time.