Fanuc Power Mate i-D/H Operator Manual

4. AUTOMATIC OPERATION
B–63174EN/03
OPERATION
362
Calls to subprograms (M98) can be specified in a program created in the
MDI mode. This means that a program registered in memory can be
called and executed during MDI operation. In addition to the main
program executed by automatic operation, up to four levels of
subprogram nesting are allowed.
Main program
Subprogram
One–level nesting Two–level nesting
O0000;
M98P 1000;
M30;
O1000; O2000;
M98P M98P2000; 3000;
M99; M99;
Subprogram
Fig.4.2 Nesting Level of Subprograms Called from the MDI Program
Macro programs can also be created, called, and executed in the MDI
mode. However, macro call commands cannot be executed when the
mode is changed to
MDI mode after AUTO operation is stopped during
execution of a subprogram.
When a program is created in the
MDI mode, an empty area in program
memory is used. If program memory is full, no programs can be created
in the
MDI mode.
Subprogram nesting
Macro call
Memory area

Leave a Reply

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