
12. PROGRAM CONFIGURATION
B–63682EN/01
NC FUNCTION
76
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 4–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. The program number can be
used in various ways.
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 (except EOB code) usable in the CNC can be used for the
program name.
The program name is displayed with the program number in the directory
display of registered programs. Note that the program name displayed is
within 31 characters.
Example) 01234 (PROGRAM FOR ATC);
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.
12.1
PROGRAM NUMBER
12.2
PROGRAM NAME
12.3
MAIN PROGRAM