
PROGRAMMING 15. CUSTOM MACRO
B–63504EN/01
257
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–#5004 Block end point Workpiece
coordinate
system
Not
included
Enabled
#5021–#5024 Current position Machine
coordinate
system
Included Disabled
#5041–#5044 Current position
Workpiece
#5061–#5064 Skip signal position
coordinate
system
Enabled
#5081, #5082 Tool offset value
Disabled
#5101–#5104 Deviated servo
position
D The first digit (from 1 to 4) represents an axis number.
D The tool offset value currently used for execution rather than the
immediately preceding tool offset value is held in variables #5081 to
5088.
D 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.
D When read during movement is “disabled,” this means that expected
values cannot be read due to the buffering (preread) function.
D Current position