
OPERATION8. DATA INPUT/OUTPUT
B–63684EN/01
482
- When a program is entered without specifying a program number.
S The O–number of the program on the NC tape is assigned to the
program. If the program has no O–number, the N–number in the
first block is assigned to the program.
S When the program has neither an O–number nor N–number, the
previous program number is incremented by one and the result is
assigned to the program.
S When the program does not have an O–number but has a five–digit
sequence number at the start of the program, the lower four digits
of the sequence number are used as the program number. If the
lower four digits are zeros, the previously registered program
number is incremented by one and the result is assigned to the
program.
- When a program is entered with a program number
The O–number on the NC tape is ignored and the specified number is
assigned to the program. When the program is followed by additional
programs, the first additional program is given the program number.
Additional program numbers are calculated by adding one to the last
program.
The method of registration operation is the same as the method of
foreground operation. However, this operation registers a program in the
background editing area. As with edit operation, the operations described
below are required at the end to register a program in foreground program
memory.
[(OPRT)] [BG–END]
An entered program can be appended to a previously registered program.
Registered program Entered program Resulting program
O1234 ; O5678 ; O1234 ;
jjjjjjj ; ffffff ; jjjjjjj ;
jjjjj ; fffff ; jjjjj ;
jjjj ; ffff ; jjjj ;
jjj ; fff ; jjj ;
%%;
ffffff ;
fffff ;
ffff ;
fff ;
%
In the above example, the contents of program O5678 are appended to
program O1234. O5678 is not registered as a program number.
To append a program, press the
[READ] soft key without first entering a
program number, in step 8, then press the
[CHAIN] soft key, followed by
[EXEC].
D In all program input mode, the entire contents of the program are
appended, with the exception of the O number .
D To cancel append mode, press the reset key, or the
[CAN] or [STOP]
soft key.
D Program numbers on a
NC tape
D Program registration in
the background
D Appending a program