Re: spindle interferance.
Only earth your shield at one end only, control end is usually best.
Then disconnect each switch in turn to see if you have a bad one or at least identify which one is playing up.
Don't omit the estop from your test as this also uses the same circuitry.
Worst comes to worst change the reed switches for micro switches even if hanging on the end of the wires.
first thing is to find the culprit............then kill it :lol:
Re: spindle interferance.
I agree with John, only ground the shielding at on end or you will create parallel ground paths. Connecting the shielding at one end will allow any interference to "drain away"
Ian
Re: spindle interferance.
Unlikely to be electromagnetic, the inverse square law is your friend.
More likely to be vibration, can you pop a 'scope on one and see if it rattles?