
C.DIFFERENCES FROM THE Series 16i APPENDIX B-63943EN-2/01
- 332 -
Function
Series 16i Series 30i
- The handling of a block for calling a
single command consisting of only a call
code depends on bit 6 (NOPB) of
compile parameter (No. 6004) as
follows:
=0: An empty block is generated, then
the execution macro is called after
execution.
=1: The execution macro is called
immediately without generating an
empty block.
- No empty block is generated. (The
NOPB parameter is not used.)
Subprogram call using a
specific code/M/T code
- The local variable level changes.
(When an execution macro is called
from a user program, all local variables
are set to <null>.)
- As with a custom macro, the local
variable level does not change due to a
subprogram call. (When an execution
macro is called from a user program,
the local variables set in the user
program are passed.)
However, when bit 3 (LCLLV) of
compile parameter (No. 9163) is set to
1, compatibility with the Series 16i is
provided. This means that when an
execution macro is called from a user
program, the level can be changed as
in the case of a macro call.
Subprogram call using
G66/G66.1 and an S
code/second auxiliary
function code
Not allowed G66/G66.1 can be used to call an
execution macro from another execution
macro. Subprogram calling based on an S
code/second auxiliary function code is
enabled when an execution macro is
called from a user macro or another
execution macro.
- The specification of a return destination
sequence number at the time of return is
disabled.
- From a called user program, another
user program can be called with
G65/M98/G66 only.
- The specification of a return destination
sequence number at the time of return
is enabled.
- When bit 6 (GMP) of parameter (No.
6008) is set to 1, and bit 2 (PCDC) of
compile parameter (No. 9163) is set to
1
- From a user program called with a G
code, an execution macro or user
program can be called with a code
other than G codes (or with an axis
address).
- From a user program called with a
code other than G codes (or with an
axis address), an execution macro or
user program can be called with a G
code.
Subprogram call from a
user program
- The duplicate calling of a user program
from an execution macro is disabled.
- The duplicate calling of a user program
from an execution macro is enabled.
M99 command The specification of a return destination
sequence number based on address P is
enabled.
The specification of a return destination
sequence number based on address P or
Q is enabled.