
B-63943EN-2/01 3.EXECUTION MACRO FUNCTION
- 53 -
Limitation
1 Usually, when an execution macro is called from a program
called using an M 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. Moreover,
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
an M 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.
2 This type of macro call is invalidated in the following cases:
<1> A value outside the valid range is set for a compile
parameter.
<2> The defined M code range exceeds 99999999.
<3> The defined program number range exceeds 99999999.
NOTE
When a 5-digit or longer O number is used, the
option for 8-digit program numbers is required.
3 M codes used for macro and subprogram calls are not used as
call codes in this type of subprogram call even when included in
the setting range. If duplicate M codes are set, the following
priority order is applied:
<1> Macro call using M code
(compile parameters (Nos. 9023 to 9032 and 9120 to 9128))
<2> Subprogram call using M code
(compile parameters (Nos. 9010 to 9012))
<3> Subprogram call using an M code in the specified range
(compile parameters (Nos. 9042 and 9043))
<4> Subprogram call using M code (specification of 3 sets)
(compile parameters (Nos. 9111 to 9113, 9114 to 9116, and
9117 to 9119)