Rockwell Automation 2711-ND3 PanelBuilder v2.60 Software User Manual User Manual
Page 288
17–18
Formatting Objects and Text
Publication 2711-6.0
7. Click OK when done.
A placeholder /*A:5 ASCII_Data*/ is inserted in the text with the
specified field width and the name of the read tag.
Read Tag
Field Width
A refers to ASCII Variable
Text precedes and
follows ASCII variable
A string of characters ##### (the length of the field width) is
inserted in the object as a placeholder for the variable.
8. Resize the object, if necessary, to fit the variable.
9. Click the Inner Text tool to exit inner text mode.
For multistate objects, you can add an ASCII variable to the text of a
specific state from the State tab of the Object’s dialog.
Example ASCII Strings
The following table provides examples of characters that are
embedded in an ASCII variable of a text string on the PanelView
terminal. The ASCII variable is configured with a field width of 6.
If the ASCII string stored in the controller does not have the same
number of characters as the field width:
•
use the ASCII SP (space) character to pad a string that is less than
the field width.
•
use the NULL (\0) character to terminate a string that is less than
the field width (or the string will not display)
Data from Logic Controller
ASCII Characters Displayed on PanelView
0
1
2
3
4
5
6
7
8
9
M
E
D
I
U
M
textMEDIUMtext
SP
H
I
G
H
SP
text HIGH text
SP
SP
L
O
W
SP
text LOW text
SP
L
O
W
SP
\0
text LOW text
L
O
W
\0
textLOWtext
E
X
C
E
E
D
S
textEXCEEDtext
SP
1
.
2
5
SP
text 1.25 text
SP
SP
3
4
5
SP
text 345 text
SP
SP
SP
SP
SP
SP
text text
\0
texttext
"