I am trying to use the diameter compensation G41/G42 to make an hole, but I am facing several problems.
I tried several G-codes but I am not able to get the wanted result. This is an example of one code:
- Code: Select all
%
O1000
( ********************************************************************** )
( * INTELLIGENT MANUFACTORY SOFTWARE WWW.IMS-SOFTWARE.COM * )
( * IMSPOST VERSION : 7.4R * )
( * USER VERSION : 1 * )
( ********************************************************************** )
N1 G49 G64 G17 G80 G0 G90 G40 G99
( IMSPPCC_MILL PPTABLE 06-13-2003 )
( END MILL D6 RC0 )
N2 T1003 M6
N3 X10. Y-10. S21242 M3
N4 G43 Z35. H1
N5 G1 G94 Y0 F300.
N6 X0
N7 Z5.
N8 Z1.
N9 Z-10.
N10 G41 X.261 Y-1.39 D1
N11 G3 X1.651 Y-1.129 I.564 J.825
N12 X-1.996 Y.126 I-1.651 J1.129
N13 X1.651 Y1.129 I1.996 J-.126
N14 X.261 Y1.39 I-.826 J-.564
N15 G1 G40 X0 Y0
N16 Z1.
N17 Z11. F600.
N18 X-10.
N19 Y10.
N20 M5
N21 M30
N22 M2
N23 M30
%
And this is the resulting toolpath:
As you see, while the diameter is correct for D 6mm mill, the approach and the retract are weird.
The starngest thing is that the screenshot is stopped at after line N7 and in N6 the command was X0, instead if you look at actual coordinates X=3.20.
Why is this happening, still none compensation G-Code has been executed.