cncdrive wrote:Well, 4x encoder decoding mode is the usual way of decoding the encoder signals and that is how the UCCNC is also doing it.
And the AMT datasheet tells you the pulses per revolution which is one encoder channel's pulse counts per revolution.
So, the resolution of the encoder comes from the A and B channels' both the rising and the falling edges counted and this is why it is called 4x decoding mode, because it gives 4 times the counts as how many pulses one channel per turn has.
Just so I'm clear on this. An AMT encoder with the dip switches set to 400 is the same as a 100 count wheel in an optical encoder that outputs in quadrature. Or do the dip switches on the AMT equal line count on an optical wheel.