Manufacturing Automation (MT 451)
Lecture 4
Dr. Syed Hammad Nazeer
Associate Professor
Office: A Block
Email:
[email protected] Retentive ON timer
• Similar to ON timer except that it retains its value.
• The preset value is 4000ms, so delay of 4 seconds
• How can we use the timer after the cycle has completed?
Example
Example
• Consider the scenario in which a start button turns on the Heater
and the Stop button (normally closed) turns it off. Initially there is a
delay of 10 sec before the heater turns ‘ON’. After the heater is
turned ‘OFF’ the cooling fans remain ON for 5 minutes
Cascaded Timers
• Thetimers are connected to each other and thus are called
cascaded timers
• Each timer drives the other timer
• Mainly used when a single timer can’t provide the delay
required
Timers of other PLC Vendors
• GE FANUC TIMERS & CONTACTS:
Enable Input ONDTR Output
• There are of the following basic types: TB
• ONDTR (On delay timer) Retentive timer
R Time
• OFDT (Off delay timer) Retentive timer PV
Base
• TMR (On delay timer) Non retentive timer %R0001
• Contact addressing in GE FANUC:
• %I represents inputs %I0005 represents real input 5
• %Q represents outputs %Q0003 represents real output 3
• %R represents system registers
• %AI Analog Inputs
• %AQ Analog Outputs
Timers of other PLC Vendors
• Gould Modicon Timers & Contacts:
Enable Preset Value Output
• The figure shows a Non retentive Gould
Modicon Timer. Time Base
Reset Output
• The delay can be calculated by multiplying the Storage Register
preset value with the time base
• The Timer has two outputs, one which operates when the timer
accumulated value equals the preset value and the other output is
inverted
• Contact Addressing:
• 0 at the start represents outputs 0005 represents the 5th real
output
• 1 at the start represents inputs 1002 represents the 2nd real input
• 4 at the start represents Storage registers example 4004
Solve
Solve
Quiz # 1
Quiz # 1
Question 1 (CLO-1) 10
Draw the PLC ladder diagram for a motor start/stop circuit with the following
conditions:
•A Start button (S) turns ON the motor (M).
•A Stop button (T) turns OFF the motor.
•The motor should remain ON after the Start button is pressed.
Question 2 (CLO-2) 10
A factory has a dual safety lock system where a machine (M) should only
operate if:
•A supervisor turns a key switch (K) to the ON position.
•An operator presses a start button (S).
•If either condition is missing, the machine should remain OFF.
•Draw the PLC ladder diagram to implement this logic.
Quiz # 1
•Design a ladder diagram for an automated gate control system. The
gate motor (G) should operate under the following conditions:
•The gate should open if either a remote button (R) or a manual
switch (M) is pressed.
•The gate should close automatically when a limit switch (LS) is
activated.
(Hint: Use OR logic for opening and an interlock to prevent
simultaneous opening/closing.)
•(4 marks)
Implement a PLC program for a conveyor system that follows these
conditions:
•The conveyor motor (C) should run when both Sensor A and Sensor
B detect an object.
•The conveyor should stop if a stop button (T) is pressed or a safety
sensor (S) is activated.
•Use a ladder diagram to represent your solution.
•(4 marks)