321
General Mach Discussion / Re: Rpm read out in mach 3 I
« on: April 24, 2022, 01:31:39 PM »
OK, assuming that the pickup is a Hall Effect device you shouldn't need much if any debounce. (On the other hand if it's a reed switch then I suggest you use a hall device instead!)
I've recently switched to using UC100 motion controllers on my lathe and mill, but more importantly replaced the lathe motor with 3 phase and VFD. Because this is much smoother I can now use the high speed range. I soon found the rpm reading didn't work on high speeds as the debounce was set too long. I just reduced it to something very short and the speed indicator works fine - so something to try? I use a slotted disc and opto interrupter, and essentially there's no bounce at all so no need to debounce.
I've recently switched to using UC100 motion controllers on my lathe and mill, but more importantly replaced the lathe motor with 3 phase and VFD. Because this is much smoother I can now use the high speed range. I soon found the rpm reading didn't work on high speeds as the debounce was set too long. I just reduced it to something very short and the speed indicator works fine - so something to try? I use a slotted disc and opto interrupter, and essentially there's no bounce at all so no need to debounce.