Specifications
Program Example 3: Quadrature Counting
In this example, a wooden workpiece is being drilled with 3 holes and then the holes are
injected with glue for dowels to be inserted at another workstation. A quadrature encoder is
connected to a positioning table which is moving a drill press horizontally over the workpiece.
The positioning table will stop and the drill press will lower to drill a hole in an exact
location. After the three holes are drilled in the workpiece, the positioning table reverses
direction and injects glue into the same holes.
DL06 Micro PLC User Manual, 3rd Edition, Rev. C
E–34
Appendix E: High-speed Input and Pulse Output Features
1
2
3
4
E
6
7
8
9
10
11
12
13
14
A
B
C
D
SP0
LD
K20
OUT
V
7633
LD
K2
OUT
V7634
DirectSOFT
LD
K0
OUT
V7635
LD
K107
OUT
V7636
LD
K1006
OUT
V7637
SP0
LDD
K5000
OUTD
V3630
LDD
K6000
OUTD
V3632
LDD
K7500
OUTD
V3634
LDD
K8000
OUTD
V3636
LDD
KFFFF
OUTD
V3640
E
NI
Enable interrupts
Mode 20
Quadrature counting
absolute mode at X0 and X1
Must be zero
External reset w/interrupt (X2)
Discrete filtered input at (X3)
10 ms.
Tell CPU that there are
no more presets.
Presets for up counting.
This rung loads the counter's presets.
In this case, the absolute preset
mode has been selected.
Continued on next page.