
4.NC PROGRAM MANAGEMENT GENERAL B-75074EN/04
- 36 -
4.4 SUBPROGRAM TRANSFER FUNCTION
Subprogram transfer function
When an NC program is downloaded, and a subprogram call is included
in the NC program, the subprogram transfer function downloads the
subprogram as well.
With a CNC supporting file name management, a subprogram can be
specified by file name.
NOTE
This function can be used on a machine that uses
the FOCAS2/Ethernet function or the
Reader/Puncher function. This function can be used
for communication with the default directory when
the Reader/Puncher function is used.
Subprogram transfer is divided into two types: batch transfer and
expanded transfer.
(1) Batch transfer
A main program is analyzed. If a subprogram call is specified, the
subprogram is transferred after the main program.
(2) Expanded transfer
A main program is analyzed. If a subprogram call is specified, the
main program is transferred with the subprogram expanded in the
main program.
On the NC program management setting screen, the user can choose
from three subprogram transfer options for each machine: "no transfer,
batch transfer, and expanded transfer".
%
O0001
(MAIN START)
M98P5001
(MAIN END)
M30
%
%
O5001
(SUB START)
(SUB END)
M99
%
+
%
O0001
(MAIN START)
(SUB START)
(SUB END)
(MAIN END)
M30
%
%
O0001
(MAIN START)
M98P5001
(MAIN END)
M30
O5001
(SUB START)
(SUB END)
M99
%
Subprogram batch
transfer
Main program
Subprogram
Subprogram
expanded transfer