Rockwell Automation 8520 9/Series CNC Lathe User Manual

Page 860

Advertising
background image

Allen-Bradley 7300 Series CNC

Tape Compatibility

Appendix D

D-10

Pattern Repeat

A pattern repeat is a series of blocks of information repeated a specified

number of times for a specified function. A pattern repeat is called in 7300

mode with the following format:

(CP, name, r)#

where:

Name:

Indicates:

CP

a pattern repeat is called.

name

the pattern blocks being called (part program name).

r

the number of times the pattern blocks get executed.

#

end of block.

You can store patterns in the control by using the COPY PRGRAM softkey

function. The control requires that a new program name be entered for

each pattern. The control automatically creates an internal cross-reference

table of 7300 pattern names. This cross-reference table consists of the

subprogram file name called by the main program, and the new file name

entered for the pattern repeat. The control takes the first program start

code from the tape and corresponds it to the file name you have just

entered for the pattern repeat; this way, you do not need to modify your

main program so that it still calls the correct pattern. This cross reference

table is maintained by the control, and it is transparent to you. For

example:

Important: The patterns called must be saved as independent part

programs and copied into control memory from a peripheral device. You

can not create new pattern repeat programs online. A maximum of 20

patterns can be copied into the controls memory.

You have a 7300 part program that has a pattern named

BL-M008-001. When you stored the part program to the control, the

control prompted you for a name; you entered O00001. The part

program and the pattern are now stored in the memory. At this point,

the control searches for the program start code on the tape and takes

the code and matches it with O00001. When this pattern name is

called, the control automatically searches the cross-reference table

for BL-M008-001 and executes O00001.

The (DP) block is saved in memory as part of the program, and it is treated

as a comment block during the execution of the part program.

Advertising