
3.EXECUTION MACRO FUNCTION B-63943EN-2/01
- 56 -
NOTE
1 A value other than 0 or 1 cannot be set for this
variable.
2 It may take time until the value set for the variable is
reflected in bit 0 (MTC) of parameter (No. 9011),
depending on the CNC operation status. Whether
this type of call is enabled or disabled depends on
the value set for the parameter when the call is
issued.
3 This variable can be written and referenced using an
execution macro, conversational macro, or auxiliary
macro.
Argument
The specified T code is passed to variable #149.
Local variable levels
By setting bit 3 (LCLLV) of compile parameter (No. 9163) to 1, the
level can be changed as in the case of macro calls when an execution
macro is called from a user program. In this case, all local variables
are set to <null> when an execution macro is called. (Series 16i
compatibility specifications)
When an execution macro is called from another execution macro, the
level remains unchanged as in the case where bit 3 (LCLLV) of
compile parameter (No. 9163) is set to 0. In this case, the local
variables at the call source are passed.
Limitation
• Usually, when an execution macro is called from a program
called using a T code, only a G65 or M98 command can be
specified. When bit 2 (PCDC) of compile parameter (No.
9163) is set to 1, G66 and G66.1 are also usable.
• When bit 2 (PCDC) of compile parameter (No. 9163) is set to 1,
a call using a G code can be made from a program called using a
T code by setting bit 6 (GMP) of parameter (No. 6008) to 1.
This parameter is an ordinary parameter, so that this parameter
can be modified, for example, through the MDI panel.