MSD Lab4
MSD Lab4
Reg. ID 211277
Section BEMTS-8B
1
Lab No.5a
Objective
To understand the operation of Timer On and simulate the given tasks in Allen Bradley
PLC.
Introduction
In this section, we will cover timers used in ladder logic programming. Timers are very
important in ladder logic programming. Timers give the precision in time. Timer ON
delay starts timing when instruction is true. Timers are used to track the time when
instructions are on or off. They could also keep track on a retentive base.
Definition
The following is a list of timer instructions:
TON - Timer On Delay
TOF - Timer Off Delay
RTO - Retentive Timer
Definition
Count time base intervals when the instruction is true.
The Timer On Delay instruction begins to count time base intervals when
rung conditions become true. As long as rung conditions remain true, the
timer adjust its accumulated value (ACC) each evaluation until it reaches the
preset value (PRE). The accumulated value is reset when rung conditions go
false, regardless of whether the timer has timed out.
Each Timer on Delay is made of a 3-word element.
Word 1 is the control word
Bit 0-12: Internal Use
Bit 13: Done (DN) this bit is on when the Accumulation value >= Preset Value
Bit 14: Timer Timing (TT) this bit is on when the timer is timing
Bit 15: Enabled (EN), this bit is on when the timer is energized.
2
Word 2 stores the preset value. (PRE)
The programmer specifies this value. When the accumulated time
reaches the preset value the controller sets the done bit. Usually preset value is
from 0 - 32,767
If a timer-preset value is negative an error will occur.
Word 3 stores the accumulated value. (ACC)
This is the time elapsed since the timer was last reset. When enabled the
timer updates this continually.
Time Base: is the timing update interval, this can vary from 0 - 1 second.
3
IN LAB TASKS:
Exercise 1:
Design a ladder diagram for the scenario:
Output to turn on after 10s of Input goes to logic 1.
a) Input cannot turn to logic 0 within these
10s.
Simulations
4
b) Input can turn to logic 0 within these
10s.
Simulations
5
Exercise 2:
Let's say we have in the field an emergency stop (push button). Once the emergency
stop is pressed, we want the siren to go on after 5 sec for 5 sec.
Simulations
6
Exercise 3: Conditional Output Control
Let’s say that we have a conveyor, siren, and 1 switch LS-01. LS-01 is at the beginning
of the conveyor. When LS-01 is ON we want a buzzer to go on for 3 seconds (Security)
and then we want to start the conveyor. When LS-01 is cleared then we want to stop the
conveyor.
Simulations
7
Sources of Error
Despite the reliability of Timer On Delay (TON) in PLCs, several factors can introduce errors in its
operation:
8
o Example: In Siemens power plants, TON timers delay the start-up of large turbines to stabilize
voltage levels.
Conclusion
The Timer On Delay (TON) is a fundamental function in PLC-based automation, enabling precise
timing control for industrial applications. This lab provided hands-on experience in implementing TON
timers in different automation scenarios, such as delayed outputs, emergency sirens, and conveyor
control.
Understanding the potential sources of error, such as incorrect configurations, electrical noise,
power fluctuations, faulty hardware, and software logic errors, is crucial to ensuring reliable system
performance. By applying TON timers effectively, industries can enhance automation efficiency,
improve safety, and optimize energy usage.
As industrial systems become more complex, advanced timer-based control strategies combined with
IoT-enabled PLCs and predictive maintenance will further improve automation reliability and
adaptability in smart manufacturing and process control systems.
9
ASSESSMENT RUBRIC AND GRADING OF LAB PERFORMANCE
PLO2(P1): Problem Analysis
Min.
No Progress Benchmark Basics Good Excellent Outstanding
Attributes
0 1 2 3 4 5
Can build circuit,
Can start
Cannot operate Doesn’t know Can build circuit Can built circuit, can can simulate it and
software but
Simulation simulation basics of but cannot simulate it but can analyze it
cannot complete
software software simulated. cannot analyze it. using different
circuit
tools of software.
Can provide
Can provide comprehensive
comprehensive Can provide conclusion, using
Can provide basic Can accurately
Critical analysis and comprehensive engineering
analysis and provide analysis
Analysis & No Progress conclusion with analysis, using terminologies while
conclusion of and conclusion of
Conclusion relevant engineering encompassing
task performed task performed
keywords / terminologies. objectives of the
technical terms task and future
applications
1
0