
3.EXECUTION MACRO FUNCTION B-63943EN-2/01
- 20 -
<1> When an execution macro is called from a user program
No particular limitation is imposed. Even from a user
program called using a G/M/S/T/second auxiliary function/
specific code, an execution macro call using each code and
call using an axis address can be made.
<2> When an execution macro is called from another execution
macro
Compile parameter PCDC(No. 9163#2)
01
0
Calls using G65, M98, G66, and G66.1 are
allowed.
Other types of calls are disabled.
Parameter GMP
(No.6008#6)
1
Calls using G65 and M98 only are allowed.
Other types of calls are disabled.
- Calls using G65, M98, G66, and G66.1 are
allowed.
- From an execution macro called using a G
code, another execution macro can be
called using a code other than G codes (or
using an axis address).
- From an execution macro called using a
code other than G codes (or using an axis
address), another execution macro can be
called using a G code.
- Other types of calls (G code → G code,
code other than G codes → code other
than G codes) are disabled.
<3> When a user program is called from an execution macro
Compile parameter PCDC(No. 9163#2)
01
0
User macro calls using G65, M98, G66, and G66.1 only are allowed.
Other types of calls are disabled.
- For user program calls
Calls using G65, M98, G66, and G66.1 only
are allowed.
Other types of calls are disabled.
- For execution macro calls
- From a user program called using a G
code, an execution macro can be called
using a code other than G codes (or
using an axis address).
- From a user program called using a
code other than G codes (or using an
axis address), an execution macro can
be called using a G code.
- Other types of calls (G code → G code,
code other than G codes → code other
than G codes) are disabled.
- For user program calls and execution
macro calls
A user program or execution macro can
be called under the same condition as for
an execution macro call performed when
bit 6 (GMP) of parameter (No. 6008) is set
to 1, and bit 2 (PCDC) of compile
parameter (No. 9163) is set to 0.
Parameter GMP
(No.6008#6)
1
- After an execution macro is called, the user
program cannot be called again. (The
duplicate calling of a user program is
disabled.)
- After an execution macro is called, the user
program can be called again. (The
duplicated calling of a user program is
allowed.)
NOTE
If a disabled type of call is attempted, the command is treated as an ordinary
G/M/S/T/second auxiliary function/axis address code.