Internal/concave Path Tool Radius Compensation Example G41/G42
From Dynomotion
Internal/concave paths must not be angled as it is impossible for a round tool to follow such a path without gouging. Instead arcs must be used with a radius larger than the tool radius. Here is a GCode Example showing a possible internal path and the resulting tool center path with tool radius compensation turned on.
Note a carefully chosen entry move with a convex corner must be made to avoid gouging the path.
The G Code:
( Tool Table should contain: )
( Slot 1 Length 0.000 Diam 0.500 )
G49 G40 G54
G20 (inches mode)
G0 x1y0z0 (Path with no compensation)
T1 M6
F120
G1X4
G3X5Y1I0J1
G1Y4
G3X4Y5I-1J0
G1X1
G3X0Y4I0J-1
G1Y1
G3X1Y0I1J0
G0 x2y3z0
G41 D1 (Tool #1 Radius comp Left of contour)
F60
G1X2Y1
G3X3Y0I1J0
G1X3Y0
G1X4
G3X5Y1I0J1
G1Y4
G3X4Y5I-1J0
G1X1
G3X0Y4I0J-1
G1Y1
G3X1Y0I1J0
G1X3
G40
G0X2y3z0
M30