- Posts: 270
- Thank you received: 0
Dust collection auto start and even controllable by an onscreen button
4 years 10 months ago #229560
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
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
4 years 9 months ago #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 to join the conversation.
Time to create page: 0.122 seconds
