On 08/09/2016 12:07 PM, Curtis Dutton wrote: > I'm trying to utilize a loop and a pause in a tool length setting > subroutine for my cnc router. > > Basically is probes for a tool length, then pauses with M0 to allow the > operator to change the stickout length and then loops if the tool does not > have enough stick-out. > > I typically call the subroutine from MDI mode. > > > The subroutine works fine if called from a normal g-code file that is > loaded by axis and executed. > > However if I run the code from the MDI is goes haywire. It seems to jump to > a different location in the subroutine instead of directly after the M0. > > Also the MDI in axis seems to stay active (which is where I am calling the > subroutine from) > > > I can work on a repro if needed. > > > Anyone run into this or have an idea where to look? I'm willing to try to > debug and fix the code.
I've not seen this. Which version of LinuxCNC are you using? A sim-only repro would be very much appreciated. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers