beautypg.com

Read results command – Rockwell Automation 5370 CVIM Communications Manual User Manual

Page 108

background image

Chapter 5

Using the RS–232 Ports

5–38

Use this command to read the results of the last inspection. Refer to
Appendix C for a description of the results blocks. Use one of the following
commands:

07 00 n times x y z

Where:

07 =

Read Command

00 =

Always 00

n times =

Value for repeat read

x =

04 (Specifies Toolset #1)
05 (Specifies Toolset #1)
08 (Specifies CVIM module status)
10 (Specifies Results Block #1)
15 (Specifies Results Block #2)

y =

16 (Specifies Gage)
17 (Specifies Window)
18 (Specifies Reference Line)
19 (Specifies Reference Window)
1A (Specifies Light Probe)

z =

Number of window or gage being read or block result
number.

n times

07

00

04

Use this command to read the discrete bit results of toolset 1.

n times

07

00

05

Use this command to read the discrete bit results of toolset 2.

n times

07

00

10

Data

Use this command to read results blocks for toolset 1.

Where data = results block number.

n times

07

00

15

Data

Use this command to read results blocks for toolset 2.

Where data = results block number.

Read Results Command