App. - 20
Appendix 4.13 Retentive timer
The input X2 switches between on and off continuously. The on-time of X2 is
accumulated and Y72 turns on according to this accumulated value n.
(1) For a ladder that accumulates a value without a retentive timer
Project name QA-21
Program name MAIN
M0
X2
M0
0
2
T195D7MOV
D7T195MOV
Clears D7 by time-out
Timer starts when
X2 is turned on
M1PLS
T195
K600
M1
9
M0
12
T195
15
Y72
D7K0MOV
Saves current value
of timer to D7
Writes D7 to timer
when X2 is turned on
Y72 turns on by time-out
(2) When retentive timers are assigned in the device setting of the PLC parameter
Retentive timer (ST): 224 points (ST0 to ST223)
Project name QA-8
Program name MAIN
ST195
X2
X1
0
7
Timer starts when
X2 is turned on
ST195RST
Can be cleared by
turning on X1
Cannot be cleared
by turning off
Y72
ST195
5
K600