Rockwell Automation 8520-GUM 9/Series CNC Grinder Operation and Programming Manual Documentation Set User Manual

Page 268

Advertising
background image

Communications

Chapter 9

9-8

reached. See the PROGRAM END section to determine what defines the
end-of-program for your system.

Setting

Result

Yes

the tape reader stops every time it encounters a program end code.

No

the tape reader stops only if it encounters an error condition or the end of tape
code.

CAUTION:

If no program end code is found while reading a

multi-program tape, all programs are read and merged into one program.

Important: If % is the program end code on your tape, the tape reader
stops every time it encounters a “%”. Consequently, even if STOP PRG
END is set to “no,” the tape reader stops at the end of each program.

The tape reader stops if % (ASCII) or ER (EIA) is found. If you selected
% as the program end-code with (ER) format, you can continue reading on
that tape after a % is read. If, however, you selected M30, M02, or M99,
and one of these M-codes is read followed by a % (ER), the % is
considered the tape end, and the directory screen is displayed.

PROGRAM END

This parameter is available only if you select a tape reader or tape punch as
your device (see DEVICE for details). Use this parameter to designate
valid “end-of-program” codes. You can select more than one of these
codes at a time.

The tape reader stops every time it encounters one of these program
end-codes that has been set to “yes” on the device setup screen. This
assumes that the STOP PRG END parameter has been set to “yes” (see the
STOP PRG END section). If STOP PRG END is set to “no,” the tape
reader does not stop unless % (ER) is encountered. Each program read is
stored in the control’s memory.

If “%” is set to “yes,” making it a valid program end-code, no program
end-code other than PRGRM NAME can be set to “yes.” If another
program end-code is set to “yes,” the “%” option is automatically set to
“no.” See the descriptions for M-codes in chapter 10 for details.

M02, M30 -- see the descriptions for M-codes in chapter 10 for details

M99 -- see the descriptions for M-codes in chapter 10 for details

% -- also used as end-of-tape code. See section on STOP PRG END
(page 9-7)

Important: If you set the “%” field to “yes,” the tape punch adds a %
code after the last block of every program that is output to tape.

Advertising