beautypg.com

Rockwell Automation 5370 CVIM Communications Manual User Manual

Page 53

background image

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

4–16

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

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 CVIM module to receive the “program” for results block 4.

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

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

If reading results block– Read results block 4 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 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.

Configuring Results Block 4
and Statistics Block Formats