beautypg.com

Rockwell Automation 5370 Color CVIM Communications Manual User Manual

Page 116

background image

Chapter 5
Using the RS–232 Ports

5–48

The read results command can be executed more than once per command by
specifying an n times value.

Examples:

07

00

01

18

01

Operation

Count

Object

This command reads the results reference line #1 (4 data bytes returned)

07

00

01

17

Operation

Count

Object

0B

This command reads the results of window #11 (4 data bytes returned).

07

00

01

16

Operation

Count

Object

15

This command reads the results of gage #21 (4 data bytes returned).

07

00

01

1A

Operation

Count

Object

This command reads the results of light probe (12 data bytes returned).

07

00

01

04

Operation

Count

Object

This command reads the first part of the discrete bit results once.

Read Results Command
(cont’d)