High
-S
peed
Input
and
Pulse
O
utput
Features
3--17
High-Speed Input and Pulse Output Features
DL105 PLC User Manual, 3rd Edition
Mode 20: Quadrature Counter
The counter in the HSIO circuit can count two quadrature signal pulses instead of a
single pulse train (mode 10 operation). Quadrature signals are commonly generated
from incremental encoders, which may be rotary or linear. The quadrature counter
has a range from 0 to 99999999, and can count at up to a 5 kHz rate, using CT76 and
CT77. Unlike Mode 10 operation, the quadrature counter can count UP or DOWN,
but
does not feature automated preset values or “interrupt on external reset”
capability.
However, you have the standard ladder instruction preset of CT76.
The diagram below shows HSIO functionality in Mode 20. When the lower byte of
HSIO Mode register V7633 contains a BCD “20”, the quadrature counter in the HSIO
circuit is enabled. Input X0 is dedicated to the Phase A quadrature signal, and input
X1 receives Phase B signal. X2 is dedicated to reset the counter to zero value when
energized. X3 can only be a regular filtered input in Mode 20.
Output Circuit
Input Circuit
CPU
PLC
DL105
X0
Y0, Y1
X4-- X11
Y2 -- Y7
V-memory
V7633 xx20
Mode Select
I/O data
HSIO
COUNTER
Phase
A
Phase
B
X2
X3
Reset
X1
FILTER
Quadrature encoder signals contain position and direction information, while their
frequency represents speed of motion. Phase A and B signals shown below are
phase-shifted 90 degrees, thus the quadrature name. When the rising edge of
Phase A precedes Phase B’s leading edge (indicates clockwise motion by
convention), the HSIO counter counts UP. If Phase B’s rising edge precedes Phase
A’s rising edge (indicates counter-clockwise motion), the counter counts DOWN.
90
°
phase shift
Phase A
Phase B
Leading Edge Signal
Phase A
Phase B
Leading Edge Signal
Clockwise sequence
Counterclockwise sequence
one cycle
Purpose
Functional Block
Diagram
Quadrature
Encoder Signals
Содержание DL105
Страница 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Страница 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Страница 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Страница 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Страница 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...
Страница 329: ...1F European Union Directives CE In This Appendix European Union EU Directives Basic EMC Installation Guidelines...