Tool offsets
8.8 Tool radius compensation (G40, G41, G42)
Fundamentals
Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
8-27
N100 T2 D2 ;Call up tool and select offset
N105 G96 S210 M3 ;Select constant cutting speed
N110 G0 G42 X50 Z-60 M8 ;Activate tool with tool radius compensation
N115 G1 Z-70 F0.12 ;Rotate diameter 50
N120 G2 X50 Z-80 I6.245 K-5 ;Rotate radius 8
N125 G0 G40 X100 Z50 M9 ;Retract tool and ;deselect tool radius
compensation
N130 G0 G53 X280 Z380 D0 M5 ;Move to tool change location
N135 M30 ;Program end
Description
The control requires the following information in order to calculate the tool paths:
• Tool no. T/edge no. D
• Direction of machining G41, G42
• Working plane G17 to G19
Tool no. T/edge no. D
Where appropriate, a tool offset number D is also required. The distance between the tool
path and the workpiece contour is calculated from the cutter and tool edge radii and the tool
point direction parameters.
G42
G42
G41
G41
G41
With flat D number structure it is only necessary to program the D number.