Well you are making progress, I am going backwards. I was getting a spindle RPM read out, but before I tried your debounce change I decided to change my motor setup into metric. I am working in metric and my ball screws are in metric. All seemed to go well and my programs run as before, BUT I no longer get a spindle RPM read out. I then did try raising and lowering debounce, moving my sensor back and forth but nothing worked. The sensor seems to be working as the light on the sensor flashes for each revolution. What a pain. Any ideas?