DL205 User Manual, 4th Edition, Rev. D
5-45
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 three
seconds. The timer discrete status bit (T6) will turn on when the timer has timed for three
seconds. Notice in this example that the timer times for one 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 zero.
Accumulator Timer Example Using Comparative Contacts
In the following example, a two-input timer is used with a preset of 4.5 seconds. Comparative
contacts are used to energize Y3, Y4, and Y5 at one-second intervals respectively. The
comparative contacts will turn off when the timer is reset.
Handheld Programmer Keystrokes
TA20 K10
TA21 K1
TA20 K20
Y3
OUT
Y4
OUT
X1
TMRA T20
K45
C10
X1
C10
123456 780
01010203040500
Current
Value
Timing Diagram
Y3
Y4
Y5
T20
DirectSOFT
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
ENTSHFT
2
C
1/10th Seconds
Handheld Programmer Keystrokes
X1
T6
TMRA T6
K30
C10
Y10
OUT
X1
C10
123456