Lecture 009
Lecture 009
Timers are an instruction that waits a set amount of time before doing something.
Most PLC manufacturers offer 1, 10 and 100 ms increments (ticks of the clock).
Several manufacturers also offer 1 second increments.
Types of timers:
On-Delay timer [TON (timer on-delay), TIM (timer) or TMR (timer)]: After input turns ON,
timer wait x-seconds before output latched ON. This is the most common timer.
Off-Delay timer [TOF (timer off-delay)]: After input turns ON, timer wait for x-seconds
before turning output OFF. Less common timer.
Accumulating timer [RTO (retentive timer), TMRA (accumulating timer)]: Timer with 2
inputs. One input starts the timing event, the other input resets it. This timer however
holds or retains the current elapsed time when the sensor turns off in mid-stream.
To use timer you need:
Timer pin
Enable pin. When this input turns on the timer start to tick.
When it ticks yyyyy (the pre-set value), the timer will turn ON its contacts.
Ladder program example (TON and TOF only)
If at any time input 0001 turn OFF then T000 switch OFF and timer resets.
General timer symbol in ladder program (RTO only)
Ladder program example (RTO only)
When all the 100 ticks passes then T000 will latches.
The only way to force the timer back to its preset value to start again is to turn ON the
Reset input (0001).
We have a conveyor, siren and 1 switch (i1). (i1) is located at the beginning of the conveyor.
When (i1) is ON we want the siren to go ON for 10 seconds (Safety) and then conveyor will
start. When (i1) turned OFF then conveyor must stop.
OFF-Delay timer [TOF (timer on-delay):
After input turns ON, timer ON then wait
x-seconds before output latched OFF.
A motor is controlled by a timer and is fitted with lubrication system. It is required to run
the lubrication pump every 10 minutes of the main motor running run, and for 5 seconds.
Input / Output:
Main selector switch I: i1
Motor O: O1
Lube Pump O: O2