FANUC Series 16/18/160/180-Model C for Lathe Operator Manual

PROGRAMMING
13. PROGRAM CONFIGURATION
B–62754EN/01
128
13
PROGRAM CONFIGURATION
There are two program types, main program and subprogram. Normally,
the CNC operates according to the main program. However, when a
command calling a subprogram is encountered in the main program,
control is passed to the subprogram. When a command specifying a
return to the main program is encountered in a subprogram, control is
returned to the main program.
Follow the direction of the
subprogram
Main program
Subprogram
Instruction 1
Instruction 2
Instruction n
Instruction 1Ȁ
Instruction 2Ȁ
Instruction n+1
Return to the main program
Fig. 13 (a) Main program and Subprogram
The CNC memory can hold up to 400 main programs and subprograms
(63 as standard). A main program can be selected from the stored main
programs to operate the machine. See Chapter III–10 for the methods of
registering and selecting programs.
General
D Main program and
subprogram

Leave a Reply

Your email address will not be published. Required fields are marked *