Xon/off flow control, Deactivate forces – Rockwell Automation 5370 Color CVIM Communications Manual User Manual

Page 76

Advertising
background image

Chapter 5
Using the RS–232 Ports

5–8

There are three types of fields:

Operation Field– This field contains commands directed to the Color
CVIM module. There can only be one operation per command line. Some
operations don’t require any additional fields while others may require an
object field, data field, or both. Note that some commands cannot be used
while the Color CVIM module is in SETUP mode. If an operation cannot
be performed because either the wrong host port has been selected or the
Color CVIM module is in the SETUP mode, the Color CVIM module will
respond to each command with ?[CR][LF].

Object Field– Object fields specify data that configures the operation of
the Color CVIM module.

The object field contains alphanumeric characters which specify one or
more objects. Individual objects are specified by name. Multiple objects
(of the same type) are specified with an “*” for all objects of this type or
by using a “–” to indicate a range of objects.

In the description of each command we specify the objects that can be
entered into a command.

Data Field– Contains data.

XON/XOFF characters control the flow of data between the Color CVIM
module and the host. The XON character is transmitted by the receiving
device to indicate that data can be transmitted. The XOFF character is
transmitted when the receiving device cannot accept any more data (data
buffers are filled). When the receiving device can accept more data, it sends
another XON character. The following characters are used: XON =^Q
(CTRL Q) XOFF =^S (CTRL S).

Use the deactivate force command to return outputs on the 2801–JMB local
I/O board to the Color CVIM module assigned functions. The deactivate
forces command is:

>DF [CR]

After executing the command, the Color CVIM module will return:
[CR][LF]. No data is returned If you do not have the proper command
structure, the Color CVIM module will return: ?(CR][LF].

Command Structure (cont’d)

XON/OFF Flow Control

Deactivate Forces

Advertising