
B-63943EN-2/01 3.EXECUTION MACRO FUNCTION
- 45 -
3 There are the following relationships between addresses and
local variables:
The axis address used as a call code is passed to variable #27.
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
Variable
number
Address
Variable
number
Address
Variable
number
A #1 I #4 S #19
B #2 J #5 T #20
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
ABS/INC
NOTE
#33
NOTE
When G code system A is used on a lathe system,
whether the call address is specified as an
absolute command or incremental command is
posted to #33 (<null> for an absolute command or
1.0 for an incremental command).
Example
When the X-axis is a call axis
1 When G91 G28 X123.45678 T999; is specified for
an IS-B machine, values are passed as follows:
#20 → 999.0
#27 → 123.457
#28 → 28.0
#29 → 91.0
Others are set to <null>.
2 On a lathe system for which G code system A is
used
When X100.0; is specified: #27 = 100.0, and #33
= <null>
When U100.0; is specified: #27 = 100.0 and #33
= 1.0
NOTE
The specifiable addresses and specification range
conform to the specification address range of the
CNC. For example, address M does not allow the
decimal point to be used. So, the specification of
T123 M1.23; results in alarm PS0007.