beautypg.com

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

Page 86

background image

Chapter 5

Using the RS–232 Ports

5–16

Example:

>W,D,2[CR]

This example will display toolset 1 failed
tools.

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

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 #4. No data is
returned until you use a read inspection results command for block #4. Use
the following command:

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

Where

x = 1 or 2

(

specifies toolset #1 or #2)

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,TS1G1,TS1W2–5[CR]

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

>RR,TS1RB,4[CR]

This command reads results block
#4 for toolset 1.

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

Select Image Displayed (cont’d)

Set Configurable Results