I am having trouble finding the correct StepNLoop ratio. What can I do?

The StepNLoop ratio is the parameter used by the StepNLoop algorithm to determine the relationship between the pulse count and encoder count. See the formula below:

StepNLoop Ratio = Pulse per revolution / Encoder counts per revolution

If you have trouble finding the StepNLoop ratio, the following simple test can be performed.

  1. Disable StepNLoop
  2. Set encoder position to 0
  3. Set pulse position to 0
  4. Move the axis 100 pulses
  5. Get the resulting encoder value for the axis [ENC] (after the move)
  6. StepNLoop ratio is : 1000/ENC


Please sign in to leave a comment.
Powered by Zendesk