Hi all, well I'm slowly getting the rest of my lathe functions up. I've added a slotted sensor with opto-interruptor (salvaged from an old printer) to the spindle, and this seems to operate in that the LED on the diags screen goes off or comes on (depending on active low setting) as the slot passes the beam. However when the spindle runs the S_true DRO doesn't show the speed, only a steady zero! When running the LED blinks occasionally which doesn't surprise me as presumably the PC is sampling it and won't see all the pulses.
I haven't checked the pulse width as delivered to the breakout board but the slot width was calculated to comfortably exceed the Mach3 minimum requirement - would need to break out my old 'scope which hasn't been switched on in 10 years for this! (what an excuse...) - before I do this has anyone met this problem before and could suggest a solution please?
Thanks,
John.