Valid elements of string text – Rockwell Automation 5370-CUPK Color CVIM USER-PAK Option User Manual

Page 92

Advertising
background image

Chapter 8

Defining Strings for Serial Ports and Viewports

8 – 3

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.

The strings you create will consist of one or more elements; these elements
define the corresponding characters, data, and/or graphics (viewports only)
which will be present in the transmitted (displayed) messages. The different
elements you can use to create strings are listed below:

Literal text

Data codes

Special characters:

Newline character (N)

Character code indicator (/)

Index character (#)

Formula Indicator (%)

Field formatting codes

The following elements are valid for viewport strings only:

Conditional color codes

Plot line codes

Draw line codes

Change color codes

Literal Text

Place quotation marks ( ” ” ) around characters that you want transmitted (or
displayed) literally.

For example, you can use a literal text field to identify the type of data to
follow. You can signify specific events, such as “PART REJECTED,” by
defining the

Event

for that string so the string is transmitted (or displayed)

only if the part is rejected (see “Defining the Event” in this chapter).

Valid Elements of String
Text

Advertising