Rockwell Automation 8520 9/Series CNC Lathe User Manual

Page 258

Advertising
background image

Communications

Chapter 9

9-8

STOP PRG END

This parameter is available only if you are reading a tape and have selected

a tape reader as your device (refer to DEVICE for details). It determines if

the tape reader is to stop at the end of each program or continue reading

until the end-of-tape code is reached. Refer to 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 will stop 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. However, if 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 (refer to DEVICE for details). It is used 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” (refer to

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.

Advertising