Capitulo 5 PLC RMV

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 31

1

Programmable Logic
Controller
Chapter 5
Mendoza Vzquez Raymundo
Mayo-Agosto 2014
Mendoza Vzquez Raymundo - UTP - Mecatrnica

Summary
Timers
1. Introduction
2. Types of Timers
3. On-Delay Timers
4. Off-Delay Timers
5. Pulse Timers
6. Program Examples
7. References

Mendoza Vzquez Raymundo - UTP - Mecatrnica

Timers
1. Introduction

Mendoza Vzquez Raymundo - UTP - Mecatrnica

Timers
(Introduction)
In many control tasks there is a need to control time.
For example a motor or a pump might need to be controlled to operate for a
particular interval of time or perhaps be switched on after some time interval.

PLCs thus have timers as built-in devices.


Timers count seconds or fractions of seconds using the internal CPU clock.
Timer function blocks can be programmed to carry out control tasks.

Mendoza Vzquez Raymundo - UTP - Mecatrnica

Timers
2. Types of Timers

Mendoza Vzquez Raymundo - UTP - Mecatrnica

Timers
(Types of Timers)
A common approach is to consider timers to behave like relays with coils that
when energized, result in the closure or opening of contacts after some preset
time.
i.

The timer is thus treated as an output for a rung, with control being
exercised over pairs of contacts elsewhere.

ii.

Some treat a timer as a delay block that when inserted in a rung, delays
signals in that rung from reaching the output.

Mendoza Vzquez Raymundo - UTP - Mecatrnica

Timers
(Types of Timers)
There are a number of different forms of timers that can be found with PLCs:
a) On-delay timmers (TON).
b) Off-delay timmers (TOF).
c) Pulse timers (TP).
With small PLCs there is likely to be just one form, the on-delay timers.

Mendoza Vzquez Raymundo - UTP - Mecatrnica

Timers
(Types of Timers)
On-delay timers (TON) come on after a particular time delay.

Thus as the input goes from 0 to 1, the elapsed time starts to increase, and when it reaches
the time specified by the input PT, the output goes to 1.

An off-delay timer (TOF) is on for a fixed period of time before turning off.

The timer starts when the input signal changes from 1 to 0.

Pulse timer (TP) gives an output of 1 for a fixed period of time

Starting when the input goes from 0 to 1 and switching back to 0 when the set time PT has
elapsed.

Mendoza Vzquez Raymundo - UTP - Mecatrnica

Timers
(Types of Timers)
The time duration for which a timer has been set is termed the preset and is set
in multiples of the time base used. Some time bases are typically:
10 ms,
100 ms,
1 s,
10 s,
and 100 s.

Thus a preset value of 5 with a time base of 100 ms is a time of 500 ms.

Mendoza Vzquez Raymundo - UTP - Mecatrnica

10

Timers
(Types of Timers)

Mendoza Vzquez Raymundo - UTP - Mecatrnica

11

Timers
(Types of Timers)
Ejemplo 22.- Elabore el siguiente diagrama en escalera en el simulador Step7
para el PLC S200 CPU 226:

Mendoza Vzquez Raymundo - UTP - Mecatrnica

12

Timers
(Types of Timers)
Ejemplo 23-25.Elabore en el simulador Step7 para el PLC S200 CPU 226 utilizando
Temporizadores TON con las configuraciones de 1ms, 10ms y 100ms un circuito
de activacin a los:
a) 3 seg.
b) 4 seg.
c) 5 seg.

Mendoza Vzquez Raymundo - UTP - Mecatrnica

13

Timers
(Types of Timers Exercises)
Ejemplo 26 .Elabore el diagrama en escalera en el simulador Step7 para el PLC S200 CPU
226 que genere la siguiente variacin temporal en la salida Q1. Utilizando la
combinacin de 2 temporizadores TON-TON, TOF-TOF & TON-TOF.

Mendoza Vzquez Raymundo - UTP - Mecatrnica

14

Timers
(Types of Timers Exercises)
Ejemplo 27.Elabore el diagrama en escalera en el simulador Step7 para el PLC S200 CPU
226 que genere la siguiente variacin temporal en la salida Q1. Tip: Utilice
detectores de flanco positivos o negativos

Mendoza Vzquez Raymundo - UTP - Mecatrnica

15

Timers
(Types of Timers Exercises)
Ejemplo 28.Elabore el diagrama en escalera en el simulador Step7 para el PLC S200 CPU
226 que genere la siguiente variacin temporal en la salida Q1. Utilice
Temporizadores TON o TOF.

Mendoza Vzquez Raymundo - UTP - Mecatrnica

16

Timers
(Types of Timers Exercises)
Ejemplo 29.Elabore el diagrama en escalera en el simulador Step7 para el PLC S200 CPU
226 que genere la siguiente variacin temporal en la salida Q1. Utilice
Temporizadores TON o TOF

Mendoza Vzquez Raymundo - UTP - Mecatrnica

17

Timers
3.

On-Delay Timers

Mendoza Vzquez Raymundo - UTP - Mecatrnica

18

Timers
(On-Delay Timers - Sequencing)
Ejemplo 30.Elabore el diagrama en escalera en el simulador Step7 para el PLC S200 CPU
226 utilizando temporizadores.

Mendoza Vzquez Raymundo - UTP - Mecatrnica

19

Timers
(On-Delay Timers - Sequencing)
Ejemplo 31.Elabore el diagrama en
escalera en el simulador
Step7 para el PLC S200
CPU 226 utilizando
temporizadores que
permita obtener las
siguientes variaciones
temporales.
Explique su
funcionamiento

Mendoza Vzquez Raymundo - UTP - Mecatrnica

20

Timers
(On-Delay Timers - Cascaded Timers)
Timers can be linked together (the term cascaded is used) to give longer
delay times than are possible with just one timer.
Ejemplo 32.Elabore el diagrama en escalera en
el simulador Step7 para el PLC S200
CPU 226 utilizando temporizadores
que permita obtener las siguientes
variaciones temporales.
Explique su funcionamiento

Mendoza Vzquez Raymundo - UTP - Mecatrnica

21

Timers
(On-Delay Timers - On/Off Cycle Timer)
Ejemplo 33.Elabore el diagrama en escalera en el simulador Step7 para el PLC S200 CPU
226 utilizando temporizadores que permita obtener las siguientes variaciones
temporales.

Mendoza Vzquez Raymundo - UTP - Mecatrnica

22

Timers
4. Off-Delay Timers

Mendoza Vzquez Raymundo - UTP - Mecatrnica

23

Timers
(Off-Delay Timers)
Ejemplo 34.Elabore el diagrama en escalera en el simulador Step7 para el PLC S200 CPU
226 utilizando temporizadores que permita obtener las siguientes variaciones
temporales. Explique su funcionamiento.

Mendoza Vzquez Raymundo - UTP - Mecatrnica

24

Timers
5. Pulse Timers

Mendoza Vzquez Raymundo - UTP - Mecatrnica

25

Timers
(Pulse Timers)
Pulse timers are used to produce a fixed-duration output from some initiating
input.

Mendoza Vzquez Raymundo - UTP - Mecatrnica

internal relay provides

26

Timers
(Pulse Timers)
Ejemplo 35.Elabore el diagrama
en escalera en el
simulador Step7 para
el PLC S200 CPU 226
utilizando TP que
permita producir el
siguiente pulso de
tiempo establecido

Mendoza Vzquez Raymundo - UTP - Mecatrnica

internal relay provides

27

Timers
6. Program Examples

Mendoza Vzquez Raymundo - UTP - Mecatrnica

28

Timers
(Examples)
Ejemplo 36.Elabore el diagrama en escalera en
el simulador Step7 para el PLC S200
CPU 226 utilizando temporizadores

Mendoza Vzquez Raymundo - UTP - Mecatrnica

29

Timers
(Examples)
Ejemplo 37.Elabore el diagrama
en escalera en el
simulador Step7 para
el PLC S200 CPU 226
utilizando
temporizadores

Mendoza Vzquez Raymundo - UTP - Mecatrnica

30

Timers
7. References

Mendoza Vzquez Raymundo - UTP - Mecatrnica

31

Timers
(References)
Programmable Logic Controllers, Fifth Edition [W. Bolton]

Mendoza Vzquez Raymundo - UTP - Mecatrnica

You might also like