
13. Program Support Functions
13.5 User Macro Specifications
318
(3) Local variables can be used independently on each of the macro call levels (4 levels).
Local variables are also provided independently for the main program (macro level 0).
Arguments cannot be used for the level 0 local variables.
Main (level 0)
L1 (macro level 1)
L10 (macro level 2)
L100 (macro level 3)
#1=0.1 #2=0.2 #3=0.3;
G65 L1A1. B2. C3.;
M02;
G65 L10A10. B20. C30.;
G23;
G65 L100A100. B200.;
G23;
G23;
Local variables (0)
#1 0.100
#2 0.200
#3 0.300
#32
Local variables (1)
A (#1) 1.000
B (#2) 2.000
C (#3) 3.000
D (#7)
Z(#26)
#32
Local variables (2)
A (#1) 10.000
B (#2) 20.000
C (#3) 30.000
D (#7)
Z(#26)
#32
Local variables (3)
A (#1) 100.000
B (#2) 200.000
C (#3)
Z(#26)
#32
The status of the local variables appear on the setting and display unit.
Refer to the Operation Manual for details.