B–63004EN/02
8. DATA INPUT/OUTPUTOPERATION
573
S 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.
S 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]
You can input a program to be appended to the end of a registered
program.
Registered program Input program Program after input
f1234 ; f5678 ; f1234 ;
jjjjjjj ; fffffff ; jjjjjjj ;
jjjjj ; fffff ; jjjjj ;
jjjj ; ffff ; jjjj ;
jjj ; fff ; jjj ;
%%%
f5678 ;
fffffff ;
fffff ;
ffff ;
fff ;
%
In the above example, all lines of program O5678 are appended to the end
of program O1234. In this case, program number O5678 is not registered.
When inputting a program to be appended to a registered program, press
the [READ] soft key without specifying a program number in step 8.
Then, press the [CHAIN] and [EXEC] soft keys.
S In entire program input, all lines of a program are appended, except for
its O number.
S When canceling additional input mode, press the reset key or the [CAN]
or [STOP] soft key.
S Pressing the [CHAIN] soft key positions the cursor to the end of the
registered program. Once a program has been input, the cursor is
positioned to the start of the new program.
D Program numbers on a
NC tape
D Program registration in
the background
D Additional program input