Manual

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 everytime it encountersa program endcode.
No the tapereader stops onlyif it encounters anerror condition or theend of tapecode.
CAUTION: If no program endcode isfound whilereading amulti-program
tape, all programsare readand mergedinto oneprogram.
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-programcodes. 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 controls memory.