PROGRAMMING16. CUSTOM MACRO
B–63684EN/01
264
Position information cannot be written but can be read.
Table 16.2 (i) System variables for position information
Variable num-
ber
Position
information
Coordinate
system
Tool com-
pensation
value
Read
operation
during
movement
#5001 to #5008 Block end point Workpiece
coordinate
system
Not
included
Enabled
#5021 to #5028 Current position Machine
coordinate
system
Included Disabled
#5041 to #5048 Current position
Workpiece
#5061 to #5068 Skip signal
position
coordinate
system
Enabled
#5101 to #5108 Deviated servo
position
Disabled
#6251 to #6258 Pattern base
position
Workpiece
coordinate
system
Not
included
Enabled
#6261 to #6268 Multi–piece
machining
coordinate sys-
tem
Workpiece
coordinate
system
Not
included
Enabled
#6271 to #6278 Local coordi-
nate system
Workpiece
coordinate
system
Not
included
Enabled
S The first digit (from 1 to 8) represents an axis number.
S The tool offset value currently used for execution rather than the
immediately preceding tool offset value is held in variables #5081 to
5088.
S The tool position where the skip signal is turned on in a G33 (skip
function) block is held in variables #5061 to #5068. When the skip
signal is not turned on in a G33 block, the end point of the specified
block is held in these variables.
S When read during movement is “disabled,” this means that expected
values cannot be read due to the buffering (preread) function.
D Current position