beautypg.com

Horner APG XL6 OCS User Manual

Page 53

background image

MAN0883-05-EN

CH.11

March 4, 2010

Page 53 of 135

#1037

Width Low 1 µs Counts - In this sub-mode the accumulator value will contain the number of 1 µs
counts the pulse is low.







Period Rising Edges 1 µs Counts – In this sub-mode the period of the input signal is reported in
one (1) µs units. The period measurement will start on the rising edge of the input.








Period Falling Edges 1 µs Counts – In this sub-mode the period of the input signal is reported in
one (1) µs units. The period measurement will start on the falling edge of the input.








11.2.4 Quadrature

Two HSC inputs are consumed for each of the two possible Quadrature counters. For example,
selecting quadrature mode for HSC 1 will use HSC inputs 1 and 2, which correspond to A and B
quadrature signals. Therefore, HSC 1 and 3 may be configured for quadrature input. Alternately,
HSC 3 may be configured to reset HSC1 (quadrature) count on a marker input

Quadrature mode works much like the totalizer except the accumulator will automatically
increment or decrement based on the rotation phase of the two inputs. See the following
example for more details. Quadrature inputs are typically used for reporting the value of an
encoder.

Two modes are available for quadrature that select whether the accumulator counts up or down
when the phase of input 1 leads input 2. Check your encoder’s documentation to determine the
output form it uses or try both modes to determine if the encoder counts up when expected.

Width Low

Period from Rising Edge

Period from Falling Edge