80
Operation
Theory
when the phase of the EA signal leads the phase of the EB sig-
nal.
A timing waveform is illustrated below.
Figure 4-33: A/B Phase Timing
CW/CCW Mode
In this mode, the pulse from EA causes the counter to count
up, while EB will cause the counter to count down.
OUT/DIR Mode
Z
In this mode, the pulse from EB decides on whether the
counter should increase or decrease, whereas EA count
the number of pulses.
Figure 4-34: OUT/DIR Pulses
The index input (EZ) signal of the encoder is used as the
“ZERO” index. This signal is common to most rotational
motors. EZ can be used to define the absolute position of the
mechanism. When a rising edge of EZ signal is received, it will
clear the encoder counter value to ‘0’.
Counter value read/write
To read the encoder counter value, use the get_cnt_value()
function. The parameter ‘*Value’ returns the counter value. To
set the encoder counter value, use set_cnt_value(). The
counter value will be set as the parameter ‘Value’.
Содержание PCI-8366+
Страница 4: ......
Страница 14: ...x List of Figures ...
Страница 17: ...Introduction 3 Figure 1 3 Flowchart for Building an Application ...
Страница 26: ...12 Installation 2 2 PCI 8372 8366 Outline Drawing Figure 2 1 PCI 8372 8366 Mechanical Drawing ...
Страница 31: ...Installation 17 2 Press HPI boot ...
Страница 32: ...18 Installation 3 Press Flash DL button and select a kernel4 hex ...
Страница 34: ...20 Installation Figure 2 3 SSCNET Communication Test Utility ...
Страница 49: ...Signal Connections 35 Figure 3 9 Skin Type ...
Страница 144: ...130 Operation Theory ...
Страница 149: ...Motion Creator 135 Figure 5 6 Software Version Information ...
Страница 158: ...144 Motion Creator Figure 5 10 Tuning Window 5 5 1 Component Description Figure 5 11 Trigger Setting Frame ...
Страница 160: ...146 Motion Creator Figure 5 13 Channel Selection Frame Figure 5 14 Motion Frame ...