Set configurable results – Rockwell Automation 5370 Color CVIM Communications Manual User Manual

Page 90

Advertising
background image

Chapter 5
Using the RS–232 Ports

5–22

Use this command to obtain a configurable results block. The results you
want are specified by a list of tools and placed in results block #6. No data is
returned until you use a read inspection results command for block #6. Use
the following command:

>SR,d,d, etc. [CR]

Where d =

G1, G2, G3, G1–G3, etc. (specifies Gages)
W1, W2, W3, W2–5, etc. (specifies Windows)
RL1, RL2, etc.

(specifies Reference
Lines)

RLW, RW2, etc.

(specifies Reference
Windows)

LP

(specifies Light
Probe)

The returned results block will be 128 bytes including the block signature (2
bytes) and trigger counter (last 4 bytes). Refer to page C–14, the ordering of
the tools and data lengths are the same as the Remote I/O configurable
results block.

Example:

>SR,G1,W2–5[CR]

This command places the
results for gage 1 and
Windows 2 through 5 in results block #6.

>RR,RB,6 [CR]

This command reads results block #6.

After executing the command, the Color CVIM module will return: [CR]
[LF]
. If you do not have the proper command structure, the Color CVIM
module will return: ?[CR][LF]. Refer to Read Inspection Results command
for a description of the returned data format.

Set Configurable Results

Advertising