DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-43
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Accumulating Timer Example using Discrete Status Bits
In the following example, a two input timer (accumulating timer) is used with a preset of 3
seconds. The timer discrete status bit (T6) will turn on when the timer has timed for 3 seconds.
Notice, in this example, that the timer times for 1 second, stops for one second, then resumes
timing. The timer will reset when C10 turns on, turning the discrete status bit off and resetting
the timer current value to 0.
Accumulator Timer Example Using Comparative Contacts
In the following example, a single input timer is used with a preset of 4.5 seconds. Comparative
contacts are used to energized Y3, Y4, and Y5 at one second intervals respectively. The
comparative contacts will turn off when the timer is reset.
Handheld Programmer Keystrokes
X1
T6
TMRA
T6
K30
C10
Y7
OUT
X1
C10
1
2
3
4
5
6
7
8
0
0
10
10
20
30
40
50
0
Current
Value
T6
Timing Diagram
Direct SOFT32
Seconds
Handheld Programmer Keystrokes (cont)
STR
$
STR
$
SHFT
ENT
2
C
1
B
0
A
TMR
N
SHFT
0
A
3
D
0
A
ENT
STR
$
SHFT
MLR
T
ENT
OUT
GX
ENT
0
A
6
G
1
B
1
B
ENT
6
G
Handheld Programmer Keystrokes
TA20
K10
TA21
K1
TA20
K20
Y3
OUT
Y4
OUT
X1
TMRA
T20
K45
C10
X1
C10
1
2
3
4
5
6
7
8
0
0
10
10
20
30
40
50
0
Current
Value
Timing Diagram
Y3
Y4
Y5
T20
Direct
SOFT
Handheld Programmer Keystrokes (cont’d)
Seconds
AND
V
SHFT
4
E
MLR
T
OUT
GX
ENT
1
B
4
E
STR
$
SHFT
MLR
T
2
C
0
A
OUT
GX
ENT
5
F
STR
$
1
B
ENT
ENT
4
E
5
F
STR
$
SHFT
MLR
T
2
C
0
A
1
B
ENT
OUT
GX
ENT
3
D
STR
$
SHFT
ENT
2
C
1
B
0
A
2
C
0
A
TMR
N
SHFT
0
A
0
A
0
A
Contacts
TA21
K1
TA20
K30
Y5
OUT
TA21
K0
TA21
K0
TA21
K1
OR
Q
SHFT
4
E
MLR
T
1
B
1
B
ENT
ENT
SHFT
SHFT
2
C
2
C
STR
$
SHFT
MLR
T
2
C
0
A
AND
V
SHFT
4
E
MLR
T
1
B
0
A
OR
Q
SHFT
4
E
MLR
T
1
B
1
B
ENT
ENT
SHFT
SHFT
2
C
2
C
ENT
2
C
0
A
ENT
3
D
0
A
AND
V
SHFT
4
E
MLR
T
1
B
1
B
ENT
SHFT
2
C
1/10 Seconds