On 28 December 2016 at 07:33, Danny Miller <dan...@austin.rr.com> wrote: > Say I want to use a button to call a one-time G-code op via MDI. > Literally once. Repeat calls will break things.
Is it possible to have the G-code subroutine refuse to run twice? Perhaps through use of a parameter that is not saved through restart? This is probably more reliable than single-shotting in HAL, as there is some chance that halui might miss a single-cycle pulse (it runs in user-space not realtime) -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users