Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Rimmel on July 06, 2024, 07:31:16 AM

Title: Rotary Encoder erratic readings
Post by: Rimmel on July 06, 2024, 07:31:16 AM
Mach4 4809 with plugin 285

Rotary encoder feedback is jittery. It's an Omron Rotary 24v with A B Z outpouts (E6C2-CWZ6C 60P/R).

If I set the rpm to 600 then the encoder shows 601 to 604 changing rapidly (single index). It gets worse if I use the A channel. All channels are wired and working. I have also tried using noise filtering on the pin setup. The Averaging on the spindle tab doesn't seem to help in any way.

Any ideas? The averaging on the spindle setup does nothing at all. The cable is shielded and Earthed.



thanks again
Title: Re: Rotary Encoder erratic readings
Post by: Graham Waterworth on July 06, 2024, 01:09:50 PM
Make sure you have any de-bounce turned off or down to the minimum.
Title: Re: Rotary Encoder erratic readings
Post by: Rimmel on July 07, 2024, 06:34:44 AM
Make sure you have any de-bounce turned off or down to the minimum.
You mean on the Pins settings? It is on 0. I have tried all different values though, it seems to make no differenrce.

thanks for the reply
Title: Re: Rotary Encoder erratic readings
Post by: kf2qd on July 24, 2024, 06:19:19 PM
What kind of drive? what kind of load? How do you know this is not correct? 601-604 is a VERY SMALL error. You will chase yourself around all day trying to get that to zero and it will make no difference in the end. Kind of like spending all your time trying to eliminate all the backlash in a manual mill. that is a .066666% error on the spindle speed. Not significant.
Title: Re: Rotary Encoder erratic readings
Post by: Rimmel on July 25, 2024, 06:32:21 AM
What kind of drive? what kind of load? How do you know this is not correct? 601-604 is a VERY SMALL error. You will chase yourself around all day trying to get that to zero and it will make no difference in the end. Kind of like spending all your time trying to eliminate all the backlash in a manual mill. that is a .066666% error on the spindle speed. Not significant.
VFD, 3 phase motor, no load (air cutting)

I put a laser tacho on the spindle and it reads 600.0 to 600.8rpm

So whilst I agree it doesn't seem to make much difference and it is a small amount.... except the threading will not start 50% of the time. This seems to be the G76, G32 or G92 not picking up the index. Presumably because the index is too irratic.

thanks for the reply