PROGRAMMING
B–64124EN/01
14. COMPENSATION FUNCTION
219
As shown in Table 14.3 (a), the travel distance of the tool is increased or
decreased by the specified tool offset value.
In the absolute mode, the travel distance is increased or decreased as the
tool is moved from the end position of the previous block to the position
specified by the block containing G45 to G48.
G code
When a positive tool offset val-
ue is specified
When a negative tool offset
value is specified
Start position
End position
G45
G46
G47
G48
Programmed movement distance
Tool offset value
Actual movement position
Table 14.3 (a) Increase and decrease of the tool travel distance
Start position
End position
Start position
End position
Start position
End position
Start position
End position
Start position
End position
Start position
End position
Start position
End position
If a move command with a travel distance of zero is specified in the
incremental command (G91) mode, the tool is moved by the distance
corresponding to the specified tool offset value.
If a move command with a travel distance of zero is specified in the
absolute command (G90) mode, the tool is not moved.
Once selected by D code, the tool offset value remains unchanged until
another tool offset value is selected.
Tool offset values can be set within the following range:
Table 14.3 (b) Range of tool offset values
Metric input inch input
0 to ±999.999mm 0 to ±99.9999inch
0 to ±999.999deg 0 to ±999.999deg
D0 always indicates a tool offset value of zero.
Explanations
D Increase and decrease
D Tool offset value