Specifications

DL06 Micro PLC User Manual, 3rd Edition, Rev. C
E–19
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
UDC
CT174
K99999999
SP1
SP1
SP1
END
END coil marks the end of the main program.
INT O0
CT174 is the HSIO counter. The first rung s SP1
always enables the counter. The preload input in
the middle is off (unused in this example).
IR T
Return from the interrupt service routine.
Y0
SP540
Inside the interrupt service routine, we turn OFF the
lead screw motor immediately.
The INT label marks the beginning of the interrupt
service routine program.
RSTI
X3
RST
Input X3 energizes when the groove has finished
cutting. So, we retract the cutter head.
Y1
X4
SET
Turn lead screw on again, after cutter head has
retracted.
Y0
SP541
SP542
These special equal relays turn on individually as
the corresponding preset is reached. In this
application, each results in the cutting of a groove
(Y1), so they are logically ORed together .
Preset 1
Preset 2
Preset 3
SETI
Y1
SP0
X2
SETI
Input X2 will be energized inside the interrupt
routine if X2 external interrupt was the source.
C10
The third rungs Reset input is normally of f,
because we will use the external reset. You can
optionally reset the counter value on each powerup
using the SP0 contact.
LDD
K1500
Load the preset A value into the accumulator .
OUTD
V3630
Output the accumulator contents to the memory
location for preset 1.
LDD
K3780
Load the preset B value into the accumulator .
OUTD
V3632
Output the accumulator contents to the memory
location for preset 2.
Load Presets
SP0
Load the preset C value into the accumulator .
Output the accumulator contents to the memory
location for preset 3.
Load the constant Kffff into the accumulator. This
value represents the end of the preset list.
Output the accumulator contents to the memory
location for preset 4 (end of preset marker).
L
DD
K4850
OUTD
V3634
LDD
Kf
fff
OUTD
V3636
continued from previous page