I just noticed that I had the wrong code in the subject On Sun, 22 Mar 2020 at 17:13, andy pugh <bodge...@gmail.com> wrote: > > Prompted by a forum thread: > https://forum.linuxcnc.org/20-g-code/37542-strange-behaviour-m61-qn-and-cuttercompensation > > I have done some experiments in sim/axis/axis-mm using the sample > g-code (included below) > > With M6 T2 enabled (about half way through) it's all fine > With M61 Q2 the code _runs_ OK but gives a warning message when the > file is reloaded. > (And with M61 Q12, it correctly gives an error on loading, and on running) > > Testing with tklinuxcnc, no error except in the M61 Q12 case, when > there really is an error. > > So my conclusion is that the file-check on loading in Axis is to > blame. In what way might that handle M61 differently to the way that > the actual machining process does? > > > ; Testfile for M61 Q2 and cuttercompensation problem. In Tooltable > Tool T12 D=12 and Tool T2 D=2 required. > > G0 G17 G21 G40 G49 G55 G80 G90 G94 M48 > G10 L2 P1 X0 Y0 Z0 R0 > > (********************************************) > > (Cutter D12) > > T12 M6 > > G64 P.005 > G0 G17 G21 G40 G49 G55 G80 G90 G94 M48 > S13000 M3 > G0 G55 G43 X0 Y-10 F980. > G0 Z4.0000 > G1 Z0.5000 > Z-2.5000 F1200. > Y13.3 > Z1 > G0 G53 G49 Z0 > > (********************************************) > > (Cutter D2) > G0 G53 X200 Y195 > > M61 Q2 > ; T2 M6 > > ;M0 > G64 P.005 > G0 G17 G21 G40 G49 G55 G80 G90 G94 M48 > S23000 M3 > G0 G55 G43 X0 Y-3 F800. > G0 Z4.0000 > G1 Z0.5000 > Z-2.45000 F333. > G1 G41 X6.25 Y-3 > Y12.25 > G3 X5 Y13.5 I-1.25 J0 > G1 X-5 > G3 X-6.25 Y12.25 I0 J-1.25 > G1 Y-3 > G40 X0 Y-3 > G0 Z1 > G0 G53 G49 Z0 > M30 > > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912
-- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers