
3.EXECUTION MACRO FUNCTION B-63943EN-2/01
- 24 -
Position of the decimal point
The units used for argument data passed without a decimal point
correspond to the least input increment of each address.
NOTE
The value of an argument passed without a decimal
point may vary according to the system configuration
of the machine. It is good practice to use decimal
points in macro call arguments to maintain program
compatibility.
Local variable levels
• Each time a macro is called (such as G65, G66, G66.1/Gg), the
local variable level is incremented by one. The values of the
local variables at the previous level are saved in the CNC.
• When M99 is executed in a macro program, control returns to
the calling program. At that time, the local variable level is
decremented by one; the values of the local variables saved when
the macro was called are restored.
• Usually, the local variable level does not change due to a
subprogram call. However, when an execution macro is called
as a subprogram from a user program (using M/S/T/second
auxiliary function/specific code), the local variable level can be
changed as in the case of a macro call by setting bit 3 (LCLLV)
of compile parameter (No. 9163) to 1 (Series 16i compatibility
specification).