You are on page 1of 3

Industrial Automation Lab Date:13-02-2019

LAB#04
Timer Function
Objective:
Ladder Logic Programming II
 Implementation of Timer

Equipment and Components


 Fatek FBs14MA
 Winproladder
Tasks:
Timer
PLC timers are instructions that provide the same functions as on-delay and off-delay
mechanical and electronic timing relays. A PLC timer provides a preset delay to the control
actions.
In general, there are three types of PLC timer delays, ON-delay timer, OFF-delay timer and
retentive timer.
On-delay timer
An ON delay timer is used where we need a time delay before the time delay before an
instruction becomes true.
OFF-delay timer
A off delay timer will keep the output energized for a preset time after the rung signal has
gone false.
Retentive timer
A retentive timer is used when you want to retain accumulated time value through the power
loss or the change in the rung state.

 The timer starts operating when the rung condition becomes true. The timer delay starts
counting when the rung condition starts to accumulate.
 When the Preset value becomes equal to the accumulated value, the output is made true.
 The timed output becomes true sometime after the timer rung becomes true; hence, the
timer is said to have an on-delay.
 The length of the delay can be adjusted by setting the preset value.

Mechatronic and Control Engineering Department Page | 20


Industrial Automation Lab Date:13-02-2019

Timer in PLC

 The total number of timers is 256 (T0-T255) with three different time bases, 0.01S, 0.1S
and 1S. The default number and allocation of timers is shown as below
T0-T49:0.01S timer (default as 0.00-327.67)
T50-T199:0.1S timer (default as 0.00-3276.7)
T200-T255:1S timer (default as 0.00-32767)
 FBs-PLC programming tool will lookup the timer’s time base automatically according to
the “Memory Configuration” after the timer number is keyed in. Timer’s time = Time
base x Preset value. In the example 1 below, the time base T0 = 0.01S and the PV value =
1000, therefore the T0 timer’s time = 0.01S x 1000 = 10.00S.
 If PV is a register, then Timer’s time = Time base x register content. Therefore, you only
need to change the register content to change the timer’s time.

Task 1
There is a transfer line of canned food. The inductive proximity switch is used to detect the
movements of cans. If cans become jam, the movement stops. Since the cans will not be passing
the detection point. The timer will time out. The output of the timer will either trigger an alarm
or stop the machine until system is corrected.

Ladder logic

Task 2
Fluorescent light for garage door opener is attached. Every time the garage door is open the light
is “ON”. After the garage door is closed the light remains “ON’ for 5 seconds while driver walks
to house from the car.

Ladder logic

Mechatronic and Control Engineering Department Page | 21


Industrial Automation Lab Date:13-02-2019

Task 3
Consider a program that could be used to flash a light on and off as long as there is some output
from the sensor. Thus, we might have both timer T0 and timer T1 set to 5s. when the output from
a sensor occurs, the timer T) starts and switches on after 5s. this closes the timer T0 contacts and
starts timer T1. This switches on after 5s and in doing so, switches off timer T0. In doing so, it
switches off itself. The lamp is only on when timer T0 is on and so we have a program to flash
the lamp on and off as long as there is an output from a sensor.

Ladder logic

Conclusion:
In this lab we learn about purpose and types of timer and their implication of timer in PLC
by using Winproladder software for Fatek PLC’s.

Mechatronic and Control Engineering Department Page | 22

You might also like