
B–62093E–1/02
6. FUNCTIONS OF THE MACRO
EXECUTOR
PROGRAMMING
109
(3) Multiple calls
D The number of multiple calls of user programs and execution
macro programs are limited, respectively. The number of
multiple calls of user programs called from execution macro
programs is calculated independently of the number of multiple
calls of execution macros.
Program to be called
User program Execution macro program
Subprogram call 4 holds 4 holds
Macro call 4 holds 4 holds
D When an execution macro calls a user program, the number of
multiple calls of user program is added by one.
D When a user program calls an execution macro program, the
number of multiple calls is not added for the first call but it is
added by one from the 2nd call.
(User program)
O0001;
G100 X10. Z20. ;
M02
O1000;
:
G200 ;
:
M99;
(Execution macro program)
O9010;
:
:
Mmm P1000;
:
M99;
O9011;
:
Mmm P1001;
:
M99;
* Not added to the number of
multiple calls.
* Added to the number of multipel
calls.
Direction of calling
Addition to the number of multiple
calls
Calling user program from
1st Not added
execu
on macro program
2nd Added to the number of multiple calls of
execution macro program
Calling user program from execution macro
program
Added to the number of multiple calls of user
program
CAUTION
When the program execution returns from a user program
to an execution macro program, it is not available to specify
a sequence number as a return designation.