Tool offsets
8.8 Tool radius compensation (G40, G41, G42)
Fundamentals
346 Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
;
<
=
<
N10 G0 Z100
;Retract to tool change point
N20 G17 T1 M6
;Change tool
N30 G0 X0 Y0 Z1 M3 S300 D1
;Call tool offset values, ;select length compensation
N40 Z-7 F500
;Tool infeed
N50 G41 X20 Y20
;Activate tool radius compensation, tool
;operates on left-hand side of contour
N60 Y40
;Mill contour
N70 X40 Y70
N80 X80 Y50
N90 Y20
N100 X20
N110 G40 G0 Z100 M30
;Retract tool, end of program