Rockwell Automation 5370 Color CVIM Communications Manual User Manual

Page 54

Advertising
background image

Chapter 4
Using the Remote I/O Link

4–17

13.Both the programmable results block and statistic blocks are configured to
contain user specified results. To configure the data in results block #6:

Specify the information you want returned by setting the appropriate bits
in the 10 word “programmable results / statistics block” in the PLC as
shown in Table C.5 (Page C–15). For example, reference window 1 line
gage, window 2, window 3, etc.

If configuring a results block– Set bits 0, 1, and 2 of output word 3. This
will set the Color CVIM module to receive the “program” for results
block 6.

If configuring a statistics block– Set bits 0 and 2 of output word 3. This
will set the Color CVIM module to receive the “program” for the
statistics block.

For the Results Block 6 and Statistics Block transfer writes, set the toolset
active bits as follows:
O:23/04 = 1
05 = 0
06 = 0
07 = 01.

Perform a Block Transfer Write to transfer the 10 word “program“ from
the host to the Color CVIM module.

If reading results block– Read results block 6 and check word 1 for error
bits and words 2 through 63 for valid data.

Note: Refer to Appendix C and verify that your results will not require more
than 62 words, this will ensure that the results will fit in the allocated block.
The results are returned in the ascending order of their appearance in the
programmable block (reference windows before windows, window 1 before
window 2, etc.) It is the responsibility of the programmer to track the order
and location of the data.

!

ATTENTION: The format information for the programmable
results block and statistics blocks are stored in Color CVIM
module RAM. The data does not get saved into the EEPROM
with other configuration information. This means that the data
will be lost when the power is turned off.

To avoid losing data, your program should contain a test for the
Power Up condition. Discovery of this condition should initiate
an automatic download of the configuration for this block.

Configuring Results Block 6
and Statistics Block Formats

Advertising