Chapter 5 - Programming Timers
Chapter 5 - Programming Timers
▪ On-delay timer circuit that uses a normally closed, timed open (NCTO)
contact.
❑ With S1 initially open, TD coil is de-
energized so TD1 contacts are closed and
light L1 will be on.
❑ When S1 is closed, TD coil is energized but
TD1 contacts are delayed from opening so
L1 remains on.
❑ After the 10 s time-delay period has elapsed,
TD1 contacts open and L1 is switched off. On-delay timer circuit that uses a normally
closed, timed open (NCTO) contact.
❑ When S1 is opened, TD coil is de-energized
and TD1 contacts close instantly to switch
L1 on.
5.1. Mechanical Control Relays
▪ Off-delay timer circuit that uses a normally closed, timed closed (NCTC)
contact.
❑ With S1 initially open, TD coil is de-
energized so TD1 contacts are closed and
light L1 will be on.
❑ When S1 is closed, TD coil is energized and
TD1 contacts open instantly to switch light
L1 off.
❑ When S1 is opened, TD coil is de-energized
and the timing period starts. TD1 contacts Off-delay timer circuit that uses a normally
are delayed from closing so L1 remains off. closed, timed closed (NCTC) contact.
❑ After the 10 s time-delay period has elapsed,
TD1 contacts close to switch the light on.
Lecture 5’s sequence
5.1 Mechanical Timing Relays
▪ PLC timer instructions that provide the same functions as timing relays.
▪ The most common PLC timer instructions are:
❑ On-delay timer (TON)
❑ Accumulated time represents the amount of time that has elapsed from the
moment the timing started.
Lecture 7’s sequence
5.1 Mechanical Timing Relays
▪ An on-delay timer is used when you want a time delay to occur before
an instruction becomes true.
5.3. On-Delay Timer Instruction
▪ Example 1:
✓ The output TIMER_OK = 1 ten seconds
later after the input T_ON is asserted
(T_ON = 1).
▪ Example 2:
❑ M1 is energized when PB2 is momentarily Hardwired relay circuit
actuated.
▪ The off-delay timer (TOF) operation will keep the output energized for a
time period after the rung containing the timer has gone false.
5.4. Off-Delay Timer Instruction
▪ Example 1:
✓ Output variable TIMER_OK is 1 when
input variable T_OFF becomes 1.
▪ Example 1:
✓ TIMER_OK is 1 during 10 seconds after
input T_TP was asserted (T_TP = 1). While
ET_TIME increases for 10 seconds, the
state of input T_TP doesn't affect
TIMER_OK.
▪ Example 3: Traffic flow on a one-way street is to be controlled by means of a pedestrian pushbutton so that the GREEN
traffic light and DON’T walk indicator are to be normally “on” at all times when the pedestrian pushbutton is not
actuated. When the pedestrian pushbutton is actuated, the timing is started and controls the outputs as follows:
✓ The GREEN traffic light immediately switches “off” and the YELLOW traffic light switches “on” to begin to stop the
traffic flow. The outputs remain in this state for 5 seconds.
✓ The YELLOW traffic light switches “off” and the RED traffic light switches “on”. The outputs remain in this state for
5 seconds, to ensure that traffic has stopped before pedestrian begin to cross.
✓ The WALK pedestrian light switches “on” and the RED traffic light remain “on”. Outputs remain in this state for 15
seconds, allowing pedestrians safe passage across the street.
✓ The WALK pedestrian light switches “off” and the RED traffic light remains “ on”. Outputs remain in this state for 5
seconds, to ensure that pedestrians are not still crossing the street when the traffic light changes from RED to
GREEN.
✓ The GREEN traffic light switches “on” and the RED traffic light switches “off”. Outputs remain in this state for at
least 30 seconds to ensure a minimum amount of automotive traffic flow time even if the walk pushbutton is
pressed to start the cycle again.