On 10/4/2012 11:45 AM, Sebastian Kuzminsky wrote: > On Oct 4, 2012, at 10:03 , Michael Haberler wrote: > >> Am 04.10.2012 um 17:54 schrieb Sebastian Kuzminsky: >> >>> Shouldn't touch-off to the tool table issue a g43, to make linuxcnc use the >>> new tool length offset? >>> >>> Let me clarify. I use Axis. When I touch off, Axis pops up a window that >>> lets me enter the new coordinate for the selected axis, and that window has >>> a pull-down that lets me select where to apply this new offset. The >>> choices in the pull-down are the various coordinate systems (g54, g55, >>> etc), or the tool table. If i touch off to the currently selected >>> coordinate system, the DRO immediately changes to reflect the new offset. >>> >>> But if I touch off to the tool table, the DRO does not change. Inspecting >>> the tool table shows the new offset is there. Switching to the MDI tab >>> (f5) and running g43 causes the DRO to update to the correct value. >>> >>> Shouldn't Axis issue a g43 automatically when the user touches off to the >>> tool table? >> I made that configurable. >> >> see >> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/emc/rs274ngc/interp_convert.cc;h=822927180a04b8cf0efa9feac112f7a4b9693d78;hb=98a947383e8a63f5eccceb29010fb20692fa9822#l3037 > > Your patch is different than what I had in mind. I was not suggesting making > the interpreter automatically update the active TLO on M6 when G43 is active. > I was suggesting making the GUI issue a new G43 when the user does a > tool-table touch-off via the GUI (ie when the GUI runs G10 L1/L10/L11 because > of an explicit user action). > > Subtle difference, perhaps. If the GUI does it (instead of changing the > behavior of the interpreter based on [RS274NGC]FEATURES), then the behavior > of existing (admittedly probably buggy) programs is not affected. > I did the same thing to Axis on my CHNC lathe by adding a pyvcp touch off button to run a subroutine to do the G10 then the G43 iirc.
John ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
