B-63322EN/03 NC FUNCTIONS 12.PROGRAM CONFIGURATION
- 133 -
12.1 PROGRAM NUMBER
A program number is given to each program to distinguish a program
from other programs. The program number is given at the head of each
program, with a 8-digit number after the address O.
Program number of the program currently under execution is always
displayed on the screen. Program search of programs registered in the
memory is done with the program number.
12.2 PROGRAM NAME
A program name can be given to the program to distinguish the
program from other programs when displaying all the registered
program on a screen. Register the name between the control-out and
the control-in.
Any codes usable in the CNC can be used for the program name.
Example) O12345678(PROGRAM FOR ATC)
The program name is displayed with the program number in the
directory display of registered programs. Note that the program name
displayed is maximum 16 characters. (Maximum 48 characters can be
displayed for option function.)
12.3 MAIN PROGRAM
A program is divided into the main program and the sub program. The
CNC normally operates according to the main program, but when a
command calling a sub program is encountered in the main program,
control is passed to the sub program.
When a command indicating to return to the main program is
encountered in the sub program, control is returned to the main
program.