2,8.23.4 Variables (Cent’d)
ii #4001 through #4120 cannot be placed to the
left-hand side of the operation expression.
Sample Program
Main Program
System
V=iable
Read During
Move
(Note)
Enabled
Positional Information
X-axis skip signal
position (ABSKP)
Z-axis skip signal
pesiton (ABSKP)
X-axis tool offset
amount
Z-axis tool offset
amount
X-axis servo position
deflection amount
Z-axis servo position
deflection amount
$5061
#5062
Enabled
#5081
$5082
I
G65 P9602 <Argument Designation> ;
I
(Note)
Enabled
T5101
Macro
Program
z5102
~Gcodes(.oothr.u.h
Note: Reading of #5021, #5022, z5041, #5042, ?I5101,
and #5102, when commandd during movement, will be
performed after completion of the movement. Accor-
dingly, nose radius compensation is not performed.
GOO X.. .Y. .;
I
G03) of 01 group ar~
retained.
GO1 Z.. .F . . . ;
G03 X.. .Z. .. R...;
GOO Z.. . ;
G#l ;
G codes of 01 group
M99 ;
are restored.
Mnemonic
ABSIO ABSMT
ABSOT
ABSKP
Position
at which
skip signal
did not go
on in G31
block.
Wofk
ccordi nate
system
Included
Included
Command
End posi -
current
Command
current
position
(same as
Pos.
ABSOLUTE
display).
tion of
block
immediately
before.
Work
coordinate
system
Not
included
position
(same as
Pos.
MACHINE
display).
Meaning
].
Positional Information ( #5001 Through #5102)
When system variables #5001 through #5102 are
specified, various positional information can be
Machine
ccardinate
system
Work
coordinate
system
Coordinate
System
obtained,
The unit of the information is millimeters
es .
or inch-
/
Tool
Position
Offset
/“
~ Included
,’
Not
included
Iv’
Tool
Radius
Compen-
sation
Amount
Included
v
Notes:
In the macro program body, the “input unit x 10”
feature is invalid.
1. When the skip signal is not turneri on in G 31 block, the skip
signal position is at the end of G 31 blcck.
2. The “input unit x 10” feature is valid up to the macro call
block (the argument designation pert by G&5 or G 66) but is
in valid in the user macro body.
3. System variables iz5001 through ~5102 may not be placed to
the left-hand side of operational expression.
System
Variable
X5001
115002
#5021
$5022
IJ5041
z5042
Positional Information
I
Read During
Move
X-axis block end Enabled
position (ABSIO)
Z-axis block end
position (ABSIO)
X-axis current
position (ABSMT)
Z-axis current
position (ABSMT)
X-axis current
position (ABSOT)
Z-axis current
position (ABSOT)
I
(Note)
Enabled
(Note)’-
Enabled
76