X2 Quadrature Encoder Mode

The X2 Quadrature Encoder mode operates much like the X1 Quadrature Encoder except that the resolution is doubled. When an X2 quadrature encoder is attached to Inputs A and B, the phase relation of Inputs A and B determine the count direction.
When Invert Counter Direction is disabled, if Input A leads Input B, the counter increments. If Input B leads Input A, the counter decrements.
X2 Quadrature Encoder Mode (Invert Counter Direction Disabled)
When Invert Counter Direction is enabled, if Input A leads Input B, the counter decrements. If Input B leads Input A, the counter increments.
X2 Quadrature Encoder Mode (Invert Counter Direction Enabled)
TIP:
When both Input A and Input B transition simultaneously, instead of in the defined 90° phase separation, the quadrature signal is invalid.
In this case, the
I.Counterxx.QuadratureErrorCount
tag increments.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal