Reinhard, that's a great point. It looks like there's a clear value in keeping the select / change steps separate if your ATC needs to pre-load a tool. This is what I meant by Fanuc-style tool changes <https://www.cnccookbook.com/g-code-tool-change-m06/>, where on some systems the T command triggers both select tool and change tool. However, assuming a Fanuc-style T = toolchange would be a bad default if the program is designed with a slow ATC in mind, and put T## lines for the next op before the current one was done.
The "virtual tool" idea could still work with an explicit M6: T11 (select the saw in the ATC) M6 (physically load saw into spindle and apply offset 11, equivalent to M6 G43 today) ....cutting... T12 (no-op since 12 is the same physical tool as 11) M6 (apply offset 12, equivalent to G43 H12) ... cutting ... On Fri, Apr 10, 2020 at 11:39 PM Reinhard <reinha...@schwarzrot-design.de> wrote: > Hi, > > On Samstag, 11. April 2020, 04:54:41 CEST Robert Ellenberg wrote: > > Furthermore, you could eliminate > > the M6 (since "changing" a tool doesn't necessarily imply a physical tool > > change). For the slitting saw example, your code would look like this > (T11 > > = saw bottom, T12 = saw top). > > Sorry, but this is a very bad proposal. > > The T-word is NOT the tool change. Its the tool definition time/place and > M6 is > the point of tool change. > At work we code the T-word right after M6, where the spindle speed, > coordinate-system to use and basic coordinates for the start are defined, > like > this: > G0 G90 G54 X# Y# S# M3 T# > G43 H# Z# M8 > > This way the atc has time to move to the new location, without the > gcode-job > having to wait (and the atc on my machine is pretty slow). > So when the next M6 happens, the T-word has been seen long before, the atc > has > moved and the toolchange is just a matter of interchange the tool from atc > with the tool from spindle. > And yes, after abort, the T-word has been lost. To restart you have to do > a > tool-change with mdi > > If I remember well, lathe uses T-words and M6 in the same manner. Only a > revolver can't move before M6 as the tool is used in place. A lathe with a > milling head works different. Here the atc acts on the T-word and M6 will > change the tool only. > > So I believe, that every cnc-controller has a tool-definition command and > a > tool-change command and every cnc-worker will be used to that hobbit. > So I consider it a bad change, remove M6 > > > Reinhard > > > > > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers