
15. CUSTOM MACRO
15.2 Creation of Custom Macro Body
(k) Modal information
#4001
to
#4120
Modal commands specified up to the preceding block can be determined by
reading the values of the system variables
#4001
to 44120. The unit specified
is
effec
tive.
System variable
#4001
#4622
#4109
#4111
#4113
#4114
#4115
#4119
#4120
Model information of
preceding black
G code (group 01)
G code
igroup
12)
F code
H code
M code
Sequence number
Program number
S code
T code
(I)
Positional information
#5001
to
#5102
l---z?:
I
Position information
I
Read-out during
movement
I
1st axis block end position (ABSIO)
2nd axis block end position (ABSIO)
I
Allowed
I
coordinate (ABSMT)
coordinate (ABSMT)
1st axis current position of the workpiece coordinate (ABSOT)
2nd axis current position of the workpiece coordinate (ABSOT)
I
Not allowed
I
1st axis skip signal position (ABSKP)
2nd axis skip signal position (ABSKP)
I
Allowed
I
1
st axis tool position offset
2nd axis tool position offset
I
Not allowed
I
Deviated 1st axis
sew0
position
Deviated 2nd axis servo position
I
Not allowed
I
Abbreviation ABSIO ABSMT
ABSOT
I
Meaning
End point
Command Command
coordinate
present present
of the preceding
coordinate coordinate
block
Coordinate
system
r
Tool position
Tool length
Workpiece
Machine
coordinate
coordinate
system
system
Not considered
Considered
Tool top
Tool standard
position point
Workpiece
coordinate
system
Considered
Tool standard
point
1 -an
ABSKP
Position
where skip
signal has
turned on in
the
G31
block
Workpiece
coordinate
system
Considered
Tool standard
point