- Configuring LinuxCNC
- HAL
- HAL Examples
- Dust collection auto start and even controllable by an onscreen button
Dust collection auto start and even controllable by an onscreen button
- ikkuh
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 272
- Thank you received: 46
20 Dec 2021 16:35 #229560
by ikkuh
Dust collection auto start and even controllable by an onscreen button was created by ikkuh
I have been using the following code for a while now. It allows for an autostarting vacuum or dustcollector. The vacuum can also be controlled with a screen button (or even a hardware button).
There is a time delay when the spindle stops or the button is pressed again.
None of this is mine, I just used examples from the forum (thanks pcw) and read the manuals.
There is a time delay when the spindle stops or the button is pressed again.
None of this is mine, I just used examples from the forum (thanks pcw) and read the manuals.
#vacuum cleaner delay
loadrt timedelay names=timeDelayVacuum
addf timeDelayVacuum servo-thread
setp timeDelayVacuum.on-delay 0
setp timeDelayVacuum.off-delay 4
net spindle-on spindle.0.on => vfd.spindle-on
net spindle-on vacuumOr2.in0
net coolant-flood vacuumOr2.in1
net vacuum vacuumOr2.out
net vacuum timeDelayVacuum.in
net delay_sig timeDelayVacuum.out [HMOT](CARD0).ssr.00.out-05
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19365
- Thank you received: 6482
15 Jan 2022 07:40 #231864
by tommylight
Replied by tommylight on topic Dust collection auto start and even controllable by an onscreen button
Nicely done, thank you.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- HAL
- HAL Examples
- Dust collection auto start and even controllable by an onscreen button
Time to create page: 0.057 seconds