Creating string embedded variables, Creating string embedded variables – 5 – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual
Page 573

21
•
C
REATING
EMBEDDED VARIABLES
21–5
•
•
•
• •
21
•
Pla
ceho
lde
r
where
L indicates that the embedded variable will contain a literal number.
N indicates that it is a numeric embedded variable.
# indicates the number of digits.
### is the literal number (or tag placeholder).
Fill_character is the fill character: NOFILL, ZEROFILL, or SPACEFILL.
# indicates the number of decimal places.
Example: Numeric embedded variable using a literal number
At run time, the numeric embedded variable
/*LN:3 9999 NOFILL DP:0*/
would show the number
9999
with no decimal places, and no fill characters.
Creating string embedded variables
Insert string embedded variables to display string tag values or literal text strings in local
message text, in a graphic object’s caption or tooltip, or in a graphic display’s title bar.
In the String Variable dialog box, select the Tag option to show the value of the specified
tag (or tag placeholder) in the embedded variable at run time.