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

Page 93

Advertising
background image

Chapter 8

Defining Strings for Serial Ports and Viewports

8 – 4

Figure 8.3 Example of literal text entry

String entry keyboard

Literal text entry,
as it is displayed
on the keyboard

Quotation marks

You can enclose a number of spaces in quotes to provide spacing between
fields within the message, as shown below:

Spaces included in quotes

Data code

Valid Characters for Literal Text: Any character(s) that you enclose in
quotes will be sent as literal text, except the quotation mark ( ” ) character.

To transmit or display a quotation mark, use the / (character code) indicator
with a value of 34 (see also “/ Character Code Indicator” in this chapter).

Data Codes

Data codes are used to specify particular tool results or other types of data
obtained by the Color CVIM module during inspections. You specify the
types of data to be included in the string by entering a specific data code for
each.

For example, the data code

g1

represents the result for gage 1, while

g2

represents the result for gage 2.

Data codes

Case Sensitivity: The data codes are not case sensitive.

Table 8.A, beginning on page 8 – 5, provides descriptions of the data codes.

Advertising