Decided to add a treadmill motor and a prox sensor to my mill recently and am having some issues with the prox sensor. It's a NPN NO inductive type sensor and a g540 setup.
I wired up initially like the first picture and used a 18v power supply I had laying around. It would flash between 91xx rpm and 27xxx rpm in mach3 and then stay at 71xx rpm if I triggered the sensor. I checked the voltage coming out the NO connector and +v. With nothing triggering the sensor it read 21.9v. When something triggered the sensor it would read 22v.
I didn't think that was right so I wired it up the like the second picture even though I didn't see the difference. When I did this and triggered the sensor I heard a loud thunk from the sensor and it doesn't trigger any more(assuming it's broke now). I pulled reference for the wiring from this thread. http://www.cnczone.com/forums/gecko_...ex_sensor.html
Any ideas what I'm doing wrong?