Set configurable results – Rockwell Automation 5370 Color CVIM Communications Manual User Manual
Page 121
Chapter 5
Using the RS–232 Ports
5–53
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:
Refer to Table C.7 in Appendix C. Set the bits to 1 for the tools you want.
Example:
This command configures results block #6 to contain Window #9 and
Window #18 data.
If the BCC is not valid, the Color CVIM module will respond with a DLE
NAK and the command will not be executed.
If the BCC is valid, the Color CVIM module will respond with a DLE ACK.
Then the Color CVIM module will validate the command structure. If the
command is valid, the Color CVIM module will execute the command and
return the data. If the command structure is invalid, the Color CVIM module
will not execute the command or respond.
Note: The set configurable results command only sets the contents of the
configurable results block (block #6). You must use a read results command
to obtain the data (07 00 nn 10 06, where nn specify the number of times the
command is performed). Refer to Read Inspection Results command for the
format of the returned data.
The returned results bloc will be 128 bytes including the block signature (2
bytes) and the total number of triggers (last 4 bytes). Refer to page C–16.
The ordering of the tools and data lengths are the same as the Remote I/O
configurable results block.
Set Configurable Results