12. Tool Compensation Functions
12.6 Tool Position Offset; G45 to G48
232
Example of program
(Example 1)
Tool position offset with 1/4 arc command
Programmed
path
1000
Tool nose center path
200
X
Start point
1000
Programmed arc
center
End point
Y
Tool
It is assumed that compensation has already been provided in the + X direction by
D01 = 200.
G91 G45 G03 X-1000 Y1000 I-1000 F1000 D01;
Even if the compensation numbers are not assigned in the same block as the G45 to
G48 commands, compensation is provided with the tool position compensation
number previously stored in the memory.
Program error "P170" results when the specified compensation number has
exceeded the specification range.
These G codes are unmodal and are effective only in the command block.
Even with an absolute value command, the amount of the movement is extended or
reduced for each axis with respect to the direction of movement from the end point of
the preceding block to the position assigned by the G45 to G48 block.
In other words, even for an absolute value command, compensation can be applied to
movement amounts (incremental values) in the same block.