fixed in master with http://git.linuxcnc.org/gitweb?p=emc2.git;a=commit;h=449512fd53c53a79af80d47281c103cec06d9063
interp/T,M6,abort handlers: remove save/restore bracket of global state around handlers the M6_COMMAND, M_COMMAND and ON_ABORT_COMMAND calls to Interp::execute() were 'protected' by saving and restoring global state. This is is a bad idea especially in the abort handler when e.g. settings are to be restored to a known state - the 'restore global state' operation after the on_abort NGC handler would revert such intended changes. -mah (at the time, I didnt understand interpreter internals well enough, so that was a 'precautionary measure' which backfired ;-) Am 17.08.2011 um 21:08 schrieb SourceForge.net: > Bugs item #3393277, was opened at 2011-08-17 19:08 > Message generated for change (Tracker Item Submitted) made by nobody > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3393277&group_id=6744 > > Please note that this message will contain a full copy of the comment thread, > including the initial issue submission, for this request, > not just the latest update. > Category: G-code Interpreter > Group: None > Status: Open > Resolution: None > Priority: 5 > Private: No > Submitted By: Nobody/Anonymous (nobody) > Assigned to: Nobody/Anonymous (nobody) > Summary: G40-G80-G90 modal group in subroutines not is interpreted > > Initial Comment: > I use iov2 tool change and axis interface.when press abort the interpreter > read on_abort.ngc file. > It normaly fuction ok, but if you want add a new G codes tipe > G7-G8,G40-G41-G42,G90-G91,G80 it' not is interpreted and emc not have error. > i have : O<on_abort> sub > g18 > g40 > g80 > g90 > M65 P0 > M65 P1 > O<on_abort> endsub > > The command g17-g18-g19 and g54 modal group fuction good and are interpreted > correctly in sub. > The command g7-g40-g80-g90 modal group not is interpreted , not have effect , > and not have error in emc in the sub. > For prove it load the axis gui, every pusch estop and estop-reset the emc > read on_abort and you can add the g code in on_abort.ngc for prove it. > thanks > > ---------------------------------------------------------------------- > > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3393277&group_id=6744 > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
