
Note.
The following period is regarded as a sub-program is under execution.
(1) Start execution of sub-program
Immediately after the block just before the block with M98 is started
execution in the program that call a sub-program.
(2) End execution of sub-program
When all axis command and M-code command are completed in a
sub-program after M99 is executed.
Example)
Main-program Sub-program
O8000 G91 G00 X10000 ; ...(1)
#1200000 = #1200000 +1 ; ...(2)
M98 P7000 ; ...(3) O7000 G91 G00 Y10000 ; ...(11)
G91 G00 X10000 ; ...(4) M99 ; ...(12)
% %
In case above main-program O8000 is executed, the period shown
in the following figure is regarded as a sub-program O7000 is
being executed.
Execution of block (4)
Execution of sub-program O7000
Execution of block (12)
Execution of block (11)
Execution of block (3)
Execution of block (2)
Execution of block (1)
Motion command (4)
Motion command (11)
Motion command (1)
EDIT
DATE DISIGNE
DESCRIPTION
TITLE
DRAW
FANUC Power Mate i - MODEL H
Sub program call for high-speed
response function
B-63173EN-1/01-39
SHEET
7/12
APPROV.
FANUC LTD
01 020621 New design