There are examples of this and other buttons on the forum in the Hal
Examples section.
John
On 10/10/2011 10:20 AM, Viesturs Lācis wrote:
> Hello, gentlemen!
>
> I have an urgent question:
> How can I make EMC to run opened g-code file, when certain input pin goes
> "true"?
> I tried linking tha
2011/10/10 andy pugh :
> 2011/10/10 Viesturs Lācis :
>
>> What can potentially be wrong?
>
> It might be a race condition, that program.run fails if mode is not auto.
>
> I have been playing around, and if you net halui.mode.is-auto to
> halui.program.run (and make sure that the pin is on a momenta
2011/10/10 Viesturs Lācis :
> What can potentially be wrong?
It might be a race condition, that program.run fails if mode is not auto.
I have been playing around, and if you net halui.mode.is-auto to
halui.program.run (and make sure that the pin is on a momentary
button, or wired through a onesh
On 2011. gada 10. Okt. 17:46, "andy pugh" wrote:
>
> On 10 October 2011 16:20, Viesturs Lācis wrote:
>
> > How can I make EMC to run opened g-code file, when certain input pin
goes
> > "true"?
> > I tried linking that input to halui.program.run, but EMC complains that
it
> > can't run a file, whe
And how are hardware control panel buttons for starting a program usually
connected in HAL?
Viesturs
On 2011. gada 10. Okt. 17:46, "andy pugh" wrote:
> On 10 October 2011 16:20, Viesturs Lācis wrote:
>
> > How can I make EMC to run opened g-code file, when certain input pin goes
> > "true"?
> >
Yes, I tried also that - in that case I can't get out of auto mode.
On 2011. gada 10. Okt. 17:46, "andy pugh" wrote:
> On 10 October 2011 16:20, Viesturs Lācis wrote:
>
> > How can I make EMC to run opened g-code file, when certain input pin goes
> > "true"?
> > I tried linking that input to hal
On 10 October 2011 16:20, Viesturs Lācis wrote:
> How can I make EMC to run opened g-code file, when certain input pin goes
> "true"?
> I tried linking that input to halui.program.run, but EMC complains that it
> can't run a file, when in manual mode.
> Where is the trick?
You need to also set h
Hello, gentlemen!
I have an urgent question:
How can I make EMC to run opened g-code file, when certain input pin goes
"true"?
I tried linking that input to halui.program.run, but EMC complains that it
can't run a file, when in manual mode.
Where is the trick?
Thanks!
Viesturs
---