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

Page 78

Advertising
background image

Chapter 8

Defining Strings for Serial Ports and Viewports

8–2

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 CVIM module checks for

syntax errors; one of two messages is displayed beneath the string text –

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” 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 on–screen 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.

String Numerical Order: Strings within a given serial port or viewport are
processed for each inspection in numerical order, so that lower–numbered
strings are transmitted (displayed) before higher–numbered strings which are
transmitted (displayed) for the same inspection.

Advertising