Sorry, I did not read the complete thread. Maybe there is an easier solution to this problems: How about if emc would store the gcode position after a stop/emergency shutdown,i.e. the last completely finished move. And if there would be a "continue" button, where emc will replay the complete gcode in fast mode, without actually sending any moves. Only if the stored line is reached it will continue to send. Its a bit complex, with loops and stuff... It would be necessary to assume a save path to reach the position initial to the last complete move. If the user knows this, he can manually jog to a safe continue position where a direct move from will do no harm.
Additional Idea: having enabled/disabled "breakpoints" in the gcode-view. Users can create/activate/disable/delete breakpoints in given lines (ignoring multiple moves per line). A stop of any kind automatically creates one disabled breakpoint, maybe with a additional label of the current date/time. This breakpoints settings are lost if a new gcode file is loaded by "open", if reload is pressed, the line breakpoints numbers are conserved (potentially usafe, if lines shift, but mostly usefull). greetings, bernhard.. On 5/17/2010 11:01 AM, Slavko Kocjancic wrote: > I like that description John. > I'm myself are aware of problems of realtime programming as I do that > daily with microcontrollers but other user's doesn't know that problems. > I know that editing/modifiing realtime software is pain. You make new > function and other one stops work as should. It's nasty. And my > program's are up to about 40 kilobyte of machine code and EMC2 is hughe. > > But! Yes there is But. It can be done! And it should be done! > Why? > Beacouse all workaround are so messy and dangerous that we should > minimise risk! > Is someone milling plastic and swarf catch the tool the user want to > pause and cleanup the tool as they know that this mees will burn part. > And how he can do that? > It can pause machine and can stop spindle(not in emc but there should be > some external controll too) Now the plastic can be wraped around tool > and the only way to get it out is to cut that from spindle as we can't > jog in out of the work. And cutting with sharp knife in sharp tool isn't > good idea. > > another one: > The user drill printed circuit board. > They broke drill bit and pause machine. How to replace it? In software > as is there are no way to do that. But has some messy workaround. as > stop program jog machine and resume last line and forgot that pisece of > broken bit is in that hole and restart just to broke another one. > > But if we PAUSE machine the motion queue can be cleaned! For resumming > we only need the last (paused) position and line where it happens to > resume on just right spot and fill up the motion queue with new data. > It can be done. > > And the last. The people (developers) makes great program for free. So > we can only to have wish what we want and they wil decide if thing wil > be done. That's true. If they don't need that stuff then this will be > done latter.(if at all) > Is someone of developer come to Slovenia then just drop the mail and I > wil fillup the fridge with beer. There this is the only payment method > with opensource and free program as EMC2 is. > > Slavko. > > > p.s. > Just one thing. What software (or machine) doesn't alow jog under pause? > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users