Dust collection auto start and even controllable by an onscreen button

More
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.

#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.

More
4 years 9 months ago #231864 by tommylight

Please Log in to join the conversation.

Time to create page: 0.122 seconds
Powered by Kunena Forum