
Chapter 4. Basic instructions
4-32
4.9.3
TMR
TMR
Integrating timer
Available Device
Flag
Instructions
M
P
K
L
F
T
C
S
D
#
D Integer
Steps
Error
(F110)
Zero
(F111)
Carry
(F112)
Txxx
O
TMR
O
O
3
1) Functions
-
The current value will increase by 1 while the input condition is on.
-
When the current value reached to the setting value, the timer contact turns on.
-
Even if the input condition is off, the current value is not cleared. If uses a timer of retentive data
area, the timer will keep the current value while the CPU is powered off.
-
When the RST instruction is executed, the timer contact and current value will be cleared as 0.
2) Program example
V
TMR
Input condition
Timer setting value
Timer contact number
∴
Setting time ( t ) = Unit period (0.1 or 0.01 sec) x Setting value
Txxx
V
(
P061
)
P020
T096
[
TMR T096 300
]
[
RST T096
]
P023
P023
t 1= 20
t 2= 10
Setting
value
P020
T096
P061
t = t1+t2
[Time chart]
[Program]