Look in src/emc/motion I see some code near the bottom of control.c some where around the line number starting at 1739 of emc2.5
> From: viesturs.la...@gmail.com > Date: Mon, 5 Sep 2011 20:28:59 +0300 > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] M3/M4 and M5 > > 2011/9/4 Karl Cunningham <ka...@keckec.com>: > > On 09/03/2011 12:37 PM, Viesturs Lācis wrote: > >> Yes, You need to set spindle speed at least once in the code with S > >> word. I also had this situation... > >> > >> > >> I have a question, hopefully to start some discussion: > >> How hard would it be to remove (at least with some special line in HAL > >> or INI file) this S word requirement? > >> > >> Actually only milling machines need this to set spindle speed, there > >> are many types of machines that need only to turn on the tool without > >> S word. Those include plasma cutting machines, waterjet machines and > >> many different special-purpose machines, like Peter's hotwire cutting > >> machine or my welding robot. I am sure that there are many more. > >> > >> So does anyone have idea, how hard would it be to change it? Which > >> file of the source code to look in? > > > > What about using the FILTER section of the ini file, to call a program > > to preprocess the gcode by adding S1 at or near the beginning. > > There are several workarounds, but they just deal consequences. > My goal is to find out, if the cause can be fixed. > > So can anyone suggest, where in the EMC code is defined that S word is > needed for M3 to actually turn on the spindle? > Thanks! > Viesturs > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users