Rockwell Automation 1785-BCM_BEM, D17856.5.4 PLC-5 Backup Communication Module User Manual User Manual

Page 121

Advertising
background image

Sample Programs

Appendix A

A-3

Program file 9 contains the secondary subroutine. This file:

checks the block ID of the BTR
moves the BTR data to the proper address in file N33

Program file 10 contains the primary subroutine: This file:

stores the block ID of the BTR
sets the BTW block ID equal to the BTR block ID
moves the data from N34 to the BTW file

Program file 11 provides diagnostic rungs that count errors in the program.
These rungs are especially helpful when starting up and debugging a
backup system for the first time.

The sample program for method 1 is on the following pages. Refer to rung
comments for more information about the function of specific rungs.
Table A.B, following the sample program, lists the data table transfer time
using this method of programming for transferring 1, 3, 7, 10, and 16
blocks of data.

Advertising