PROGRAMMING
16. CUSTOM MACRO
B–62754EN/01
284
D The first digit (from 1 to 8) 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.
Workpiece zero point offset values can be read and written.
Table 16.2(k) System variables for workpiece zero point offset values
Variable
number
Function
#5201
:
#5208
First–axis external workpiece zero point offset value
:
Eighth–axis external workpiece zero point offset value
#5221
:
#5228
First–axis G54 workpiece zero point offset value
:
Eighth–axis G54 workpiece zero point offset value
#5241
:
#5248
First–axis G55 workpiece zero point offset value
:
Eighth–axis G55 workpiece zero point offset value
#5261
:
#5268
First–axis G56 workpiece zero point offset value
:
Eighth–axis G56 workpiece zero point offset value
#5281
:
#5288
First–axis G57 workpiece zero point offset value
:
Eighth–axis G57 workpiece zero point offset value
#5301
:
#5308
First–axis G58 workpiece zero point offset value
:
Eighth–axis G58 workpiece zero point offset value
#5321
:
#5328
First–axis G59 workpiece zero point offset value
:
Eighth–axis G59 workpiece zero point offset value
NOTE
To use variables #5201 to #5328, the workpiece coordinate
system option is necessary.
D Workpiece coordinate
system compensation
values (workpiece zero
point offset values)