6 - creating custom serial port messages, Chapter objectives, Creating custom serial port messages – Rockwell Automation 5370-CUPK Color CVIM USER-PAK Option User Manual

Page 50

Advertising
background image

A–B

6

Chapter

6 – 1

Creating Custom Serial Port Messages

Contents

Chapter Objectives

6–1

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Some Questions and Answers about Custom Serial Port Messages

6–1

. . .

Creating Custom Serial Port Messages

6–2

. . . . . . . . . . . . . . . . . . . . . . . . .

Defining the Serial Port

6–6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

RS-232 Port Connections and Configuration

6–9

. . . . . . . . . . . . . . . . . . . . .

This chapter describes how to use the

Config. Output

feature of the

USER-PAK option to create custom serial port messages, including how to:

Select and define a serial port.

Define serial port strings.

Connect and configure the Color CVIM serial port for communication.

This section introduces custom serial port messages, by posing some
questions, and answering them.

What are custom serial port messages?
For communication between the Color CVIM module and a remote device,
the Color CVIM module has two serial ports. With the USER-PAK option
installed, you can create your own custom serial port messages for
transmission through a serial port. The messages consist of ASCII
characters.

What types of information can be sent?
Within each message you can send literal text, results and other data on
specific tools, statistical data, and other information.

How do you create custom serial port messages?
You create serial port messages using the

Config. Output

feature, which is

part of the

Envir/Cam

menu (when the USER-PAK option is installed).

The format of a message is defined by a “string.” The string consists of text
which specifies the format and content of the message, the condition under
which the message is transmitted, and repetition parameters, which can be
used to transmit the message multiple times for the same condition.

How do you determine when a custom serial port message is sent?
When defining a message string, you select the “event” which causes the
string to be sent. The string can be sent after each inspection, or only upon
certain conditions, such as the failure of a specific tool, for instance.

Chapter Objectives

Some Questions and
Answers about Custom
Serial Port Messages

Advertising