0% found this document useful (0 votes)
37 views71 pages

Chapter 4.2 Programming Timers - A - Siemens

Uploaded by

pkn2611200312
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views71 pages

Chapter 4.2 Programming Timers - A - Siemens

Uploaded by

pkn2611200312
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 71

Chapter 4

PLC
Programming
Section 4.5

Programming Timers
Section 4.5.1

Mechanical Timing Relays


Mechanical timing relays are used to delay the
opening or closing of contacts for circuit control.

Certain of their contacts are designed to operate at


a preset time interval, after the coil is energized or
de-energized.
On-delay pneumatic (air) timer.

The instantaneous
contacts change
state as soon as
the timer coil is
powered

The delayed
contacts change
state at the end
of the time
delay.
Relay symbols used for on-delay timed contacts.

On-delay,
provides
time delay
when the
relay coil is
energized.
Relay symbols used for off-delay timed contacts.

Off-delay,
provides time
delay when
the relay coil is
de-energized.
The on-delay timer is sometimes referred to as
DOE, which stands for delay on energize.

When S1 is closed TD coil is energized and the timing


period starts.

After the 10 s time-delay period has elapsed, TD1


contacts close and L1 is switched on.
On-delay timer circuit that uses a normally
closed, timed open (NCTO) contact.

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.
The off-delay timer is sometimes referred to as
DOD, which stands for delay on deenergize.

When S1 is closed, TD coil is energized and TD1


contacts close instantly to switch light L1 on.
When S1 is opened, TD coil is de-energized the
timing starts and after the 10 s TD1 contacts open to
switch the light off.
Off-delay timer circuit that uses a normally
closed, timed closed (NCTC) contact.

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 the
timing starts and after 10 s TD1 contacts close to
switch the light on.
Section 4.5.2

Timer Instructions
PLC timer instructions that provide the same
functions as timing relays.

PLC SIMATIC S7-1500 timer instructions are:


On-delay timer (TON)
Off-delay timer (TOF)
Time accumulator (TONR)
Generate Pulse (TP)
Quantities associated with the timer instruction.

Preset time (PT) represents the time duration for the


timing circuit. (must be positive)

Elapsed time (ET) represents the amount of time that


has elapsed from the moment the timing started.
(current time value)

Time Flag is the status of timer output in bit.


Type of Time Data.
Timer instruction.
 Each timer uses a 16 byte IEC_Timer data type DB
structure to store timer data that is specified at the top
of the box or coil instruction. STEP 7 automatically
creates the DB when you insert the instruction.
Timer instruction.
 Each timer uses a 16 byte IEC_Timer data type DB
structure to store timer data that is specified at the top
of the box or coil instruction. STEP 7 automatically
creates the DB when you insert the instruction.
Section 4.5.3

On-Delay Timer Instruction


An on-delay timer is used when you want a time
delay to occur before an instruction becomes true.
TON Timer
TON Timer
TON Timer
Instantaneous contact instruction programmed
using an internally referenced relay coil.
Hardwired Relay Circuit –
motor starts 5 seconds after
start button is actuated

Equivalent
generic PLC
programmed
circuit
Equivalent simulated SLC 500 program.
Conveyor warning signal circuit.

Hardwired Relay Circuit –


warning horn sounds for 10
seconds whenever start button
is actuated.

Equivalent
SLC 500
programmed
circuit.
SLC 500 simulated program.
Automatic sequential motor control system.

M1 is energized when Hardwired relay circuit


PB2 is momentarily
actuated.

When the lube-oil pump


pressure switch PS1 closes
M2 and TD are energized
to start M2 and begin the
TD time delay period.
After the time-delay
period of 15 s, TD-1 contact
closes to energize M3.
PLC sequential motor control program.
Simulated SLC 500 sequential motor control program.
Section 4.5.4

Off-Delay Timer Instruction


TOF starts timing
when the instruction
goes from ON to OFF
or from true to false.
TOF Timer
Off-delay timer (TOF) program

When the switch is first closed the lamp is switched on.


When switch is opened timing begins and the lamp
switches off after a delay of 15 seconds.
If logic continuity is gained before the timer is timed
out, the accumulated time is reset to 0.
Simulated off-delay timer (TOF) program
Program for switching motors off at 5 s intervals.
Simulation for switching motors off at 5 s intervals.
Fluid pumping process.

The process involves pumping fluid from tank A to tank B.


Before starting, PS1 must be closed.
When the start button is pushed, the pump starts.
PS2 and PS3 must be closed 5 s after the pump starts. If
either PS2 or PS3 opens, the pump will shut off and will
not be able to start again for another 14 s.
Program for the fluid pumping process.
Simulated program for the fluid pumping process.
TOF Timer
TOF Timer
Section 4.5.5

Retentive Timer

Copyright (c) 2017 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education
A retentive timer accumulates time whenever
the device receives power, and it maintains the
current time should power be removed from the
device.

Electromechanical
retentive timer.

If power is removed from the motor, the shaft stops but


does not reset.
A retentive timer is used when you want to
retain accumulated time values through power
loss or the change in the rung state from true to
false.
TONR Timer
Retentive on-delay timer alarm program.

The purpose of the RTO timer is to detect whenever a


piping system has sustained a cumulative overpressure
condition for 60 s.
Simulated retentive on-delay timer alarm program.
TONR Timer
Section 4.5.6

TP Timers
TP Timer
Coil formatted timer instruction.
Section 4.5.7

Exercises
Examine the networks shown in Fig. 3.48 and answer the
following questions:
a.) What is the status of Motor 1 if LS1 is OFF?
b.) What is the status of Motor 1 if LS1 is ON for 30
seconds?
c.) What is the value of the timer accumulated value when
LS1 is OFF?
d.) What is the status of Motor 2 when LS1 is ON for 10s
Examine the networks in Fig. 3.49 and answer the
following questions:
a.) What is the status of Motor 1 if LS1 is OFF?
b.) What is the status of Motor 1 if LS1 is ON for 20
seconds?
c.) What is the timer accumulated value when LS1 is OFF?
d.) What is the status of Motor 2 when LS1 is ON after 10
seconds?
e.) What is the status of SOL1 and SOL2 if LS1 is OFF?
Assume that PB1 is a normally open momentary switch.
a.) What is the status of Motor 1 and Motor 2 if LS1 is ON
for 40 seconds and PB1 is not pressed?
Assume that PB1 is a normally open momentary switch.
b.) What is the status of Motor 1 if LS1 is ON for 60
seconds and then OFF for 40 seconds and PB1 is not
pressed?
Assume that PB1 is a normally open momentary switch.
c.) What is the status of the Motor 2 when LS1 is OFF?
d.) What is the status of SOL1 and SOL2 if LS1 is ON for
50 seconds?
Section 4.5.7

Cascading Timers
Programmed sequential motor starting circuit.
Simulated sequential motor starting circuit.
Annunciator flasher alarm program.

The two timers


form an oscillator
circuit, which
generates a timed,
pulsed output.
Simulated annunciator flasher alarm program.
Cascading of timers for longer time delays.
Simulation of cascading of timers
for longer time delays.
A typical
application for a
PLC circuit
combining both
cascading and
reciprocating
functions would be
the control of traffic
signals.
Simulation for control of traffic lights in one
direction.
Control of traffic
lights in two
directions.
Simulation for control of traffic lights in two directions.

You might also like