Dust collection auto start and even controllable by an onscreen button

More
20 Dec 2021 16:35 #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

The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
15 Jan 2022 07:40 #231864 by tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum