DL205 User Manual, 4th Edition, Rev. B
5–43
Chapter 5: Standard RLL Instructions - Timer, Counter and Shift Register
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Timer Example Using Discrete Status Bits
In the following example, a single-input timer is used with a preset of 3 seconds. The timer
discrete status bit (T2) will turn on when the timer has timed for 3 seconds.
The timer is reset when X1 turns off, turning the discrete status bit off and resetting the timer
current value to 0.
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 energize Y3, Y4, and Y5 at one second intervals respectively.
When X1 is turned off the timer will be reset to 0 and the comparative contacts will turn off
Y3, Y4, and Y5.
STR
$
TMR
N
2
C
STR
$
SHFT
MLR
T
2
C
ENT
OUT
GX
Handheld Programmer Keystrokes
X1
TMR
T2
K30
T2
Y0
OUT
X1
T2
1
2
3
4
5
6
7
8
0
0
10
20
30
40
50
60
0
Current
Value
Y0
Timing Diagram
Direct
SOFT
Se
c
onds
1
B
ENT
3
D
0
A
ENT
ENT
0
A
1
B
ENT
Handheld Programmer Keystrokes
X1
TMR
T20
K45
TA20
K10
TA20
K20
TA20
K30
Y4
OUT
Y3
OUT
Y5
OUT
X1
Y3
1
2
3
4
5
6
7
8
0
0
10
20
30
40
50
60
0
Current
Value
Y4
Timing Diagram
Y5
T2
Direct
SOFT
Seconds
STR
$
TMR
N
2
C
ENT
0
A
4
E
5
F
STR
$
SHFT
MLR
T
2
C
0
A
1
B
ENT
OUT
GX
ENT
3
D
STR
$
SHFT
MLR
T
2
C
0
A
ENT
OUT
GX
ENT
2
C
4
E
STR
$
SHFT
MLR
T
2
C
0
A
ENT
OUT
GX
ENT
3
D
5
F
0
A
0
A
0
A
1/10th Seconds
1/10th Seconds