Thanks for the tips!
I applied it to my setup and realized that the
Code:
xhc-whb04b-6 Hal code already used the spindle valve signal.
"
net pdnt.spindle.is-on whb.halui.spindle.is-on spindle.0.on"
Code:
After fiddling for some time, I came up with
"net pdnt.spindle.is-on => hm2_7i76e.0.7i76.0.0.output-11"
In my Hal file. Everything is working now. Thanks!