Example: string embedded variable using a tag – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual
Page 574

F
ACTORY
T
ALK
V
IEW
S
ITE
E
DITION
U
SER
’
S
G
UIDE
21–6
• •
•
•
•
Select the Literal string option, to show the text string you type in the dialog box, or the
parameter value that replaces the tag placeholder.
Formatting options for fixed number of characters apply to either a tag value or a literal
string. For example, if you type the literal string September, and select 3 for Fixed
number of characters (but no other options), at run time the string will show as Sep.
For details about options in the String Variable dialog box, click Help. For information
about how embedded variables are updated at run time, see page 21-10.
Syntax for string embedded variables that use a tag value
String embedded variables that use a tag value use this syntax:
/*S:# Tag_name*/
where
S indicates that it is a string embedded variable.
# indicates the fixed number of characters to display.
In the String Variable dialog box, if you don’t want to use a fixed number, clear the
check box, Fixed number of characters.
Tag_name specifies which string tag’s value to show. You can specify a tag
placeholder instead of a tag name.
Example: String embedded variable using a tag
At run time, the string embedded variable
/*S:20 Blower_status*/
would display the current value of the string tag named Blower_status, with a fixed length
of 20 characters.
Syntax for string embedded variables that use a literal string
String embedded variables that use a text string use this syntax:
/*LS:# SSS*/
where
The literal string you type (or specify in a parameter file) cannot contain spaces.