Accessing results and configuration information, Transferring results blocks – Rockwell Automation 5370 Color CVIM Communications Manual User Manual

Page 52

Advertising
background image

Chapter 4
Using the Remote I/O Link

4–15

A host also has access to actual results block information such as measured
lengths, number of black pixels, etc. Transfer of result and configuration data
is accomplished using block transfers. There are two types of blocks that can
be transferred:

Results Blocks

Configuration Blocks

Depending upon the source and destination of the data blocks, the following
transfers can be made:

Reading Results (Color CVIM module to SYS Host)

Results Blocks. There are six inspection results blocks (refer to Appendix
A). Five of these blocks have a preconfigured structure. You can
configure the sixth block so that only the information you require is
transferred.

Transferring Configurations (Color CVIM module to CFG HOST and/or
CFG HOST to Color CVIM module)

Configuration Blocks. There are 213 configuration blocks which contain
the Color CVIM module setup information, tool parameters, operating
environment instructions, camera setups, I/O operation, and operating
modes. Each block transfer is limited to 64 words maximum. You can
request blocks one at a time or in groups. Refer to Appendix A
(Overview) and D (Configuration Data) for a description of the
configuration block data.

When transferring blocks of data with the CFG or SYS Hosts, note the
following requirements:

You should assign a length of 0 to all block transfer commands. This
allows the Color CVIM module to specify the length of the block in
words.

All block transfers address the lowest Group and Module Locations (0).
You must set the bits in output word 3 to designate function of Results,
Configuration, or Template transfer.

The SYS or CFG Host must initiate all block transfers.

Results blocks are transferred using block transfer reads. These blocks
contain inspection result information such as: tool results, fault data, etc. Of
the six results blocks, five are pre–configured and one block is user
configurable (refer to next section). This means that you can program the
contents of the block to contain only the specific data you require. Before
transferring a results block you must inform the Color CVIM module of the
Block Transfer Type and Block Number by setting discrete bit information
using simple ladder programming (refer to Table 4.C):

Set bit 0 of output word 3 to indicate RESULTS block transfer.

Accessing Results and
Configuration Information

Transferring Results Blocks

Advertising