Sunteți pe pagina 1din 15

Timers used in PLC

Learning Objectives

• Understand the timer instruction for PLC


• Be able to use TON and TOFF timer
instructions
• Be able to implement the timing instructions
in Silo Simulator Program
To control the time
To start pump/motor/solenoid after some
time or for some time
PLCs have in-built timer device
PLC timers count seconds or fractions of
seconds using the internal clock
Timer is treated as output in the rung.
There are three timers in PLC: on-delay, off-
delay and pulse
On-Delay Timer (TON)
• An On-Delay Timer is used when you want a time delay to turn ON the output.

• The output (Coil/Motor/Lamp/Alarm) becomes ON after a particular time delay.

• When input goes from 0 to 1, the timer starts timing and when final time is

reached timer stops and the output becomes high.

• TON starts timing/counting when the instruction/input is true.

if you turn on Input, after 5 sec output will get turn on. It will not turn on immediately.
ON-Delay Timer TON
Timer Sequence True
False
Rung condition

Timed period
On delay
time duration
True
False ON
Timed output bit
OFF

The timed output becomes true sometimes after


the timer rung becomes true; hence the timer is
said to have an on delay.
EN- it is the Enable bit. It becomes high when input to the timer
becomes high
TT: it is Timer Timing bit. It becomes high when timer starts and
remains high until timer finish timing.
DN: it is Done bit. It becomes high when timer finish timing.

Timer: It is the timer file.


T4:1 –it is the Second Timer in Timer File 4.
Preset: it is the total time duration required to generate the
delay. Say 10s
Accum: Represents the amount of time that has elapsed from
the moment the timing coil became energized.
(It is the accumulated/counted time by the timer at a
particular moment)
Time Base: It is the multiplier value to achieve the desired
time. For example, if you enter 0.1 for the time base and 50
for the preset time the timer would have a 5 s delay
(50 x 0.1 s = 5 s).
Cascaded Timers

• More than one timers linked together to


provide longer delays
Activity
• Red lamp should be ON by switch for 5
seconds.
• Red lamp should be ON but the timer should
start itself.
• Red lamp should be ON but the timer should
stop
OFF-Delay Timer (TOFF)
• It is used simply to delay the OFF state of output.
• The off-delay timer (TOF) operation will keep the output
energized for a period after the rung containing the timer has
gone false.
• Make sure that the input switch is closed before you run the
code. Used to switch off the motors
• This output instruction begins timing when its rung goes
"false." It waits the specified amount of time (as set in the
PRESET), keeps track of the accumulated intervals which have
occurred (ACCUM), and resets the DN (done) bit when the
ACCUM (accumulated) time equals the PRESET time.
• if you turn on Input, output will turn ON
immediately, when you turn OFF the input, It
will take 5 sec to turn OFF the output. It will not
turn OFF immediately.
Fluid Pumping Process

Operation

 Before starting, PS1 must be closed.


 When the pump start button is pressed, the pump starts. The
button can then be released and the pump continues to operate.
 When the stop button is pushed, the pump stops.
 PS2 and PS3 must be closed for 5 s after the pump starts. If either
PS2 or PS3 opens, the pump will shut off and will not not be able to
start again for another 14 s.
Fluid Pumping Process Program

Ladder logic program

Inputs Output
L1 L2

05
When we hit the start button, the warning light then comes on. After a fixed time the
warning light goes off and the motor starts. The motor will run until the stop button is hit.

https://accautomation.ca/tag/plc-timer-programming-examples/

S-ar putea să vă placă și