I used NPN normally closed proximity sensors in the end. I mounted them sideways on so they can't get damaged. They work a treat. I use them just as home switches. I have mounted some as limit switches but I haven't wired them up yet because soft limits seem to work just fine.