- Posts: 19311
- Thank you received: 4655
You could look at the "flipflop" HAL component. That has separate inputs that turn on the output, or turn off the output.Is it possible to trigger a script or gcode when a HAL pin changes? I haven't seen anything in my search of the docs but I could be missing something.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I like this approach. I don't know much about wood dust but perhaps you might want the fan to come on before the spindle so it gets up to speed. I guess it has some time to do that before the spindle is at speed but if needs a bit more time, you could add a timedelay component between spindle.0.on and your spindle relayHave your dust collector output follow your spindle. No need to run the dust collector unless the spindle is running.
something like this maybe:
net spindle-enable <= spindle.0.on => hm2_7i92.0.7i76.0.0.output-01
Please Log in or Create an account to join the conversation.
I dont think that will be an issue. The dust collector will come up faster than the spindle for sure. The only issue I had was the dust collector would stop during tool changes. That is expected behaviour though. I fixed that by putting a relay in parallel during a toolchange that kept the dust collector running.
Have your dust collector output follow your spindle. No need to run the dust collector unless the spindle is running.
something like this maybe:
net spindle-enable <= spindle.0.on => hm2_7i92.0.7i76.0.0.output-01
I like this approach. I don't know much about wood dust but perhaps you might want the fan to come on before the spindle so it gets up to speed. I guess it has some time to do that before the spindle is at speed but if needs a bit more time, you could add a timedelay component between spindle.0.on and your spindle relay
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.