Accessing results and configuration information – Rockwell Automation 5370 CVIM Communications Manual User Manual
Page 51

Chapter 4
Using the Remote I/O Link
(Node Adapter)
4–14
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 three types of blocks that
can be transferred:
•
Results Blocks
•
Configuration Blocks
•
Template Blocks
Depending upon the source and destination of the data blocks, the following
transfers can be made:
Reading Results (CVIM module to SYS Host)
•
Results Blocks. There are four inspection results blocks (refer to
Appendix A). Three of these blocks have a preconfigured structure. You
can configure the fourth block so that only the information you require is
transferred. The fourth (configurable) block can be only accessed through
the remote I/O port.
Transferring Configurations (CVIM module to CFG HOST and/or CFG
HOST to CVIM module)
•
Configuration Blocks. There are 135 configuration blocks which contain
the 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.
•
Template Blocks (blocks 136 to n). These blocks (part of the
configuration memory) are previously learned image templates not
on-line 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 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.
Accessing Results and
Configuration Information