> Answering to Andy and Gene,
> 
> I'm tracking the position of the spindle (now simulated with this encoder
> but in the final machine I'll be using a 1024 PPR encoder) resetting the
> position counter after each index pulse and using that as reference for a
> new turn of the spindle.
> 
> Do you think it's better for me to only use one index pulse to set the
> reference and then count the position output to keep tracking of the
> spindle position and whenever I sum 1024 pulses I get one turn? I mean, not
> using the index for each revolution, only using it as a reference starting
> point.

Sum 1024 pulses to get one turn is most probably the best choice otherwise 
there might be a one turn glitch if number of turns is not perfectly updated.

If you know number of pulses per turn best would however be to use index pulse 
to detect if any pulse is missed and maybe correct it. Have seen example for 
Micro controller from manufacturer there they made choice to reset counter at 
zero pulse from encoder but decided to connect input to caputer instead for 
this reason.


Got datasheet but did not immidately figure out signals from encoder, use to be 
either sin/cos or quadrature. 5000 lines and 125000 pulses per turn must be 
from the 25-fold interpolation, I would expect interpolation to add much. 5000 
lines per turn is in line with high resolution optical encoder from other 
manufacturer, have 2000P/R but think same manufacturer have some higher also.


Regards Nicklas Karlsson


_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to