
PROGRAMMING15. CUSTOM MACRO
B–64144EN/01
288
Position information cannot be written but can be read.
Table 15.2 (i) System variables for position information
Variable
number
Position
information
Coordinate
system
Tool com-
pensation
value
Read
operation
during
movement
#5001–#5003 Block end point Workpiece
coordinate
system
Not
included
Enabled
#5021–#5023 Current position Machine
coordinate
system
#5041–#5043 Current position
#5061–#5063 Skip signal position
system
Enabled
#5081–#5083 Tool length offset
value
#5101–#5103 Deviated servo
position
S The first digit (from 1 to 3) represents an axis number.
S The tool length 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 G31 (skip
function) block is held in variables #5061 to #5068. When the skip
signal is not turned on in a G31 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