Specifications
Calculating Your Preset Values
The preset values occupy two data words each. They can range in value from -8388608 to
8388607, just like the high-speed counter value. All 24 values are absolute values, meaning
that each one is an offset from the counter zero value.
The preset values must be individually derived for each application. In the industrial lathe
diagram below, the PLC monitors the position of the lead screw by counting pulses. At points
A, B, and C along the linear travel, the cutter head pushes into the work material and cuts a
groove.
The timing diagram below shows the duration of each equal relay contact closure. Each
contact remains on until the next one closes. All go off when the counter resets.
NOTE: Each successive preset must be two numbers greater than the previous preset value. In the
industrial lathe example, B>A+2 and C>B+2.
DL06 Micro PLC User Manual, 3rd Edition, Rev. C
E–13
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
Equal Relays
SP540
SP541
SP542
ABC
PLC
Industrial Lathe
Start
Encoder
to X0 and X1
quadrature pulses
Motor
L
O
G
I
C
K
o
y
o
0
6
C0 C4C2X1X3 X4 X6 X11X13 X14 X16 X21X23 N.C.
C
1 C3X2 X5 X7 X10 X12 X15 X17 X20 X22X0
N
.C.
A
C
(
N
)
2
4V
0
V
N
.C.
C
1 C3Y0 Y15Y12Y10 Y17Y7Y5Y2
C
0C2 Y16Y14Y13Y11Y6Y4Y3Y1
L
G
G
A
C
(
L
)
D
0-06DR
2
.0A
O
UTPUT: 6-240V 50 - 60Hz 2.0A,
6
- 27V
I
NPUT: 12 - 24V 3 - 15mA
Y
X
4
0VA50-60Hz
P
WR: 100-240V
0
1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 20 21 22
2
3
PORT1 PORT2
TERM
RUN STOP
P
WR
RUN
CPU
T
X1
R
X1
T
X2
RX2
A B C
cutter headlead screw