Re: [Emc-users] Calling MDI from HAL

2016-12-28 Thread dannym
EMC)" > Sent: Wednesday, December 28, 2016 4:54:02 AM > Subject: Re: [Emc-users] Calling MDI from HAL > > >On 28 December 2016 at 07:33, Danny Miller wrote: > >> Say I want to use a button to call a one-time G-code op via MDI. > >> Literally once. Repeat call

Re: [Emc-users] Calling MDI from HAL

2016-12-28 Thread Todd Zuercher
- Original Message - From: "andy pugh" To: "Enhanced Machine Controller (EMC)" Sent: Wednesday, December 28, 2016 4:54:02 AM Subject: Re: [Emc-users] Calling MDI from HAL >On 28 December 2016 at 07:33, Danny Miller wrote: >> Say I want to use a button to

Re: [Emc-users] Calling MDI from HAL

2016-12-28 Thread andy pugh
On 28 December 2016 at 07:33, Danny Miller 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 re

[Emc-users] Calling MDI from HAL

2016-12-27 Thread Danny Miller
Say I want to use a button to call a one-time G-code op via MDI. Literally once. Repeat calls will break things. The button is debounced, but will remain pressed for more than one thread cycle. In fact there's debouncing logic in HAL that yields a true/false. Specifically it's a "half" butt