beautypg.com

Transferring results blocks – Rockwell Automation 5370 CVIM Communications Manual User Manual

Page 52

background image

Chapter 4
Using the Remote I/O Link
(Node Adapter)

4–15

Results blocks are transferred using block transfer reads. These blocks
contain inspection result information such as: tool results, fault data, etc. Of
the four results blocks, three 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 CVIM module of the Block
Transfer Type and Block Number by setting discrete bit information using
simple ladder programming (refer to Table 4.B):

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

Use bit 4 of output word 3 to indicate Toolset 1.
or
Set bit 5 output word 3 to indicate Toolset 2.

Use bits 10, 11, and 12 of output word 3 to indicate which of the four
blocks to read. Refer to Appendix A and D.

!

ATTENTION: To ensure that your results data is current and
valid, you should use programming logic which synchronizes the
transfer of data when inspections occur.

Use the Data Valid bits of input word 0 (bit 6 – toolset 1 or bit 7 – toolset
2) to detect when new inspection results are available. These bits are
described in Chapter 3 (Local I/O). Or as an alternative, you can use the
”total number of triggers” data contained in the results block.

Note: Later in this chapter we provide an example PLC program for
retrieving results data.

Transferring Results Blocks