Thanks Jon, Sometimes rants are needed. As obvious as it would seem that spindle should be modal RS-274NGC is not too helpful. It does say that M codes (grp 7) M3, M4, M5 are a modal group but somehow that got overlooked in the restart scan implementation. Nothing is said about S being modal as obvious as it would seem. Maybe it was too obvious to be stated. I tend to have short sections of code between tool changes so I can pretty much start at the first of a tool change and stay out of trouble. However getting this fixed would be most useful. :-)
Dave On Apr 10, 2008, at 10:01 PM, Jon Elson wrote: > Stuart Stevenson wrote: >> Gentlemen, >> Has there been a good procedure developed for starting in the >> middle of a program? > This is too well hidden. Assuming you are using the Axis GUI, > you scroll down to the line you want to start from, using the > mouse buttons on the G-code window. You click to highlight that > line, and then in the File pull down (I think) is a "start from > line" entry. Click on that, then hit "r" and it will run > quickly through the code to get to the right position and modes > at the beginning of the selected block. BUT, it won't start the > spindle! If you don't have a manual spindle override, you are > pretty sunk until this BUG is fixed. Starting the spindle with > F9 and then doing the Run will just turn the spindle off. > > Please excuse, I'm going into <rant on> > Clearly, the spindle is a modal operation, just like G41 or G17, > and so if the G-code starts the spindle in the first couple > lines, it should be running when the line to start from is > performed. In all machining operations, you'd want the spindle > to be started before beginning a cutting operation. If somebody > used M03 and M05 to turn a plasma cutter or laser on and off, > then these would be scattered all through the code, and > presumably the operator would know to start on a line where the > device was off. This all combines with spindle speed, and maybe > even gear changes, so it might get a bit more complex. But, > these are clearly modal functions, and so if you are preserving > the state of all the other modal settings, spindle on/off and > speed should be handled as well. > <rant off> > > Jon > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http:// > java.sun.com/javaone > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
