EasyManuals Logo

NI C Series Getting Started

Default Icon
33 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #25 background imageLoading...
Page #25 background image
X2 Encoding
The counter increments or decrements on each edge of channel A, depending on
which channel leads the other. Each cycle results in two increments or decrements,
as shown in the following figure.
Figure 20. X2 Encoding
Encoder Count
Ch A
Ch B
5 6 87 9 9 8 67 5
X4 Encoding
The counter increments or decrements on each edge of channels A and B. Whether
the counter increments or decrements depends on which channel leads the other.
Each cycle results in four increments or decrements, as shown in the following
figure.
Figure 21. X4 Encoding
Encoder Count
Ch A
Ch B
5 6 87 9 10 11 12 13 13 12
10
11 9 8 7 6 5
Channel Z
Some quadrature encoders have a third channel, channel Z, which is also referred to
as the index channel. A high level on channel Z causes the counter to be reloaded
with a specified value in a specified phase of the quadrature cycle. Depending on
configuration, this reload can occur in any one of the four phases in a quadrature
cycle.
Channel Z behavior-when it goes high and how long it stays high-diers with
quadrature encoder designs. Refer to the documentation for your quadrature
encoder to obtain timing of channel Z with respect to channels A and B. You must
then ensure that channel Z is high during at least a portion of the phase you specify
for reload.
In the following figure, the reload phase is when both channel A and channel B are
low. The reload occurs when this phase is true and channel Z is high. Thus, when
© National Instruments
25
NI-9361 Getting Started

Other manuals for NI C Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NI C Series and is the answer not in the manual?

NI C Series Specifications

General IconGeneral
BrandNI
ModelC Series
CategoryControl Unit
LanguageEnglish

Related product manuals