Rockwell Automation 5370-CUPK Color CVIM USER-PAK Option User Manual

Page 91

Advertising
background image

Chapter 8

Defining Strings for Serial Ports and Viewports

8 – 2

Enter or modify the string text for the selected string using the string
entry keyboard. The characters you select appear in the keyboard display.

Pick the

Ret

key when finished entering or modifying text, which enters

the string into memory.

String Syntax: When you pick the

Ret

key, the Color CVIM module

checks for syntax errors; one of two messages is displayed beneath the string
text (see Figure 8.2).

Figure 8.2 String syntax messages

String syntax message

String text entry, as it is
displayed on the keyboard

Cursor

String Syntax OK

– the syntax of the string text is okay, and the string will

be transmitted (or displayed) as coded.

Syntax error at cursor pos.

– If this message appears, the string text has at

least one syntax error – that is, one or more elements has not been entered
correctly. A syntax error will prevent the affected string element, and the
remainder of the string, from being transmitted (displayed). Check the string
text on the keyboard display; the cursor will be located at the point of the
first syntax error. Refer to the section “Valid Elements of String Text”
(beginning on page 8 – 3) to check your string, and make corrections as
necessary.

String Length: You can enter up to 40 characters in the string text.

Spacing: For readability, one or more spaces can be placed between
elements in the string text. Otherwise, spaces are not required unless
specifically called for in the format of an element.

Viewport string display: After entering text and picking the

Ret

key, the

string is displayed onscreen in the viewport (if the syntax is correct).

Viewport string colors: During setup, if you are defining several strings for
a viewport, all strings defined for that viewport are displayed on the screen.
The currently selected string is displayed in red. Other strings appear in
green. Should any part of the strings overlap, the overlapping portions will
be displayed in yellow.

Advertising