Set Encoder Line Count

Description

Set Encoder Line Count informs the closed loop system of the encoder resolution for proper closed loop control. The value provided is the pre-quadrature value. This is sometimes called the number of slits in the encoder or the number of lines. It is generally the value indicated in the encoder data sheet or part number. The effective encoder resolution, post-quadrature, is 4 times the value of this pre-quadrature command parameter.

Note that the EscapeResult parameter must be preset to 0 before making the call or the routine will not run

Escapes

The Set Encoder Line Count command does not generate any escapes.

Examples

Related Topics

Set Microsteps Per Step
Set Servo Track