
B-63943EN-2/01 3.EXECUTION MACRO FUNCTION
- 65 -
3.4 DIFFERENCES FROM THE Series 16i
Function
Series 16i Series 30i
Program - Programs from O1 to O9999 can be
created.
- Up to 400 programs can be registered.
- Programs from O1 to O99999999 can
be created.
- Up to 1000 programs can be registered.
Sequence number N1 to N99999 N1 to N99999999
Multi-call level - 4 levels of subprogram calls
- 4 levels of macro calls
- 15 levels of subprogram calls alone
- 5 levels of macro calls alone
15 levels when combined
Repetition based on
address L
When an execution macro is called from a
user program (other than G65/M98 and
calling of a user program as a
subprogram), the number of repeats
cannot be specified.
The number of repeats can be specified at
all times except in special macro calling
with L used as an argument and in modal
calling based on a G code. (However,
when bit 5 (MCARG) of compile parameter
(No. 9008) is set to 1, address L is also
used as an argument, so that the number
of repeats cannot be specified in macro
calling based on a G/M code.)
Nested calls When an execution macro is called from
another execution macro, only G65/M98
can be specified.
(For example, an execution macro called
using a G code from a user program
cannot make a call by using an M code.)
When an execution macro is called from
another execution macro, G66/G66.1 can
be used in addition to G65/M98 if bit 2
(PCDC) of compile parameter (No. 9163)
is set to 1. Moreover, if bit 2 (PCDC) of
compile parameter (No. 9163) is set to 1,
and bit 6 (GMP) of parameter (No. 6008) is
set to 1, an M/S/T/second auxiliary
function/specific code/axis address can be
called from an execution macro called with
a G code, and calling based on a G code is
possible from an execution macro called
with M/S/T/second auxiliary
function/specific code/axis address.
Arguments for a macro call When bit 5 (MCARG) of compile
parameter (No. 9008) is set to 1, G, L, N,
and P are additionally used as arguments.
When bit 5 (MCARG) of compile
parameter (No. 9008) is set to 1, G, L, N,
and P are additionally used as arguments.
When N is used, the number of decimal
places is 0.
However, limitations related to the input
format for NC commands apply to the data
used as the argument. (For example, it is
impossible to specify the argument
together with G1000., P0.12, or L-4.)
O and N values and G codes other than
the 00 group are passed as modal
information to the subsequent blocks.