Rockwell Automation 5370-UPK CVIM USER-PAK Option User Manual

Page 95

Advertising
background image

Chapter 8

Defining Strings for Serial Ports and Viewports

8–19

Table 8.B
Color Codes for Strings

No.

Text Color

Tool Color

1

Green

Green

2

Yellow

Yellow

3

Red

Red

4

Orange

Red

5

Blue

Red

6

Brown

Red

7

Black

Red

8

Clear

Clear

For example, suppose the following string text is entered, and is assigned the
color

Red

using the

Color Selection

menu:

“Red” C1 “Green”

When the string is displayed, the literal text Red would be displayed in red.
The code

C1

would then change the remainder of the the string to green.

That is, the literal text Green would be displayed in green.

A formula indicator (%) can be used for the color code number. Thus the
color can be set dependent upon a formula result. For example, the code

C

%

5

would use the result of formula 5 as the color number. If the result

were 7, for example, the string color would be changed to black.

Values Out Of Range: If the specified color number is less than 1, the value
1 is used (green). If the specified color number is greater than 8, the value 8
is used (clear).

Advertising