
B-63943EN-2/01 3.EXECUTION MACRO FUNCTION
- 39 -
Argument
1 All addresses specifiable on the machine are treated as arguments.
So, no modal change is made by a specified address.
Example
O0001
N1G90G00X50.0;
N2 G91G01X100.0T123;
N3 X150.;
:
O9008;
X#24;
M99;
G91G01 of N2 are just treated as arguments, and
the modal state remains to be G90 G00. For this
reason, O9008 and N3 causes a rapid traverse to
be made, respectively, to X50.0 and X150.0.
2 When an address is specified with no decimal point, a decimal
point is added to the value passed to a local variable according to
bit 0 (DPI) of parameter (No. 3401).
3 There are the following relationships between addresses and
local variables:
The first five addresses G in ascending order of G code groups
are used as arguments and passed to variables #28 to #32.
Address L is passed to variable #12.
Address P is passed to variable #16.
Address T is passed to variable #27.
Address
Variable
number
Address
Variable
number
Address
Variable
number
A #1 I #4 S #19
B #2 J #5 T #27
C #3 K #6 U #21
D #7 L #12 V #22
E #8 M #13 W #23
F #9 P #16 X #24
G #28 to 32 Q #17 Y #25
H #11 R #18 Z #26
Example
When G91 G28 X123.45678 T999; is specified for
an IS-B machine, values are passed as follows:
#24 → 123.457
#27 → 999.0
#28 → 28.0
#29 → 91.0
Others are set to <null>.