Vous êtes sur la page 1sur 8

AUTOMATIZACION

EDGARDO ESPINOZA MALQUI

PLC Memory
Program Files Data Files
2 O0 Outputs
I1 Inputs
3
S2 Status
B3 Bits
T4 Timers
C5 Counters
999
R6 Control
N7 Integer
F8 Float

-2-

1
Rack
Data Memory Files I/O slot number in rack

Interface to O:000 outputs


outside world I:nnn inputs
S2:nnn processor status
B3:nnn bits in words
T4:nnn timers
Fixed types of C5:nnn counters
Data files R6:nnn control words
N7:nnn integer numbers
F8:nnn floating point numbers

Other files 9-999 can be created and used.


The user defined data files can have different
data types.

Locations in Files T4:0


T4:1

T4:999 -3-

-4-

2
Timer Memory
EN - timer enabled bit (bit 15) – contador tiempo permitido
TT - timer timing bit (bit 14) – contador de tiempo
DN - timer done bit (bit 13) - contador de tiempo hecho
PRE - preset word
ACC - accumulated time word

Examples:
T4:0/EN - indicates when the input to timer T4:0 is true
T4:0/TT - indicates when the timer T4:0 is counting
T4:0/DN - indicates when timer T4:0 has reached the maximum
T4:0.PRE - the preset value for timer T4:0
T4:0.ACC - the accumulated value for timer T4:0

-5-

Events include

Push Button
+V
Device
On/Off

Push Button

Device (Logical Response)

Device (Event Response)


time

-6-

3
Timing Diagrams

Timing Diagram event too short to be noticed (aliasing)

-7-

Latches

A D
L

A C

B D
U

-8-

4
I/0 O/0

I/0 O/1
L
Example
I/1 O/1
U

I/0 O/2

I/1 O/2

I/0

I/1

O/0

O/1

O/2

-9-

Timers

on-delay off-delay

retentive RTO RTF

nonretentive TON TOF

TON - Timer ON (retardo a la conexión)


TOF - Timer OFF (retardo a la desconexión)
RTO - Retentive Timer ON
RTF - Retentive Timer OFF

- 10 -

5
An On-delay timer (retardo a la conexión)
TON
A Timer T4:0
Time Base 1.0 (DN)
Preset 4
Accumulator 0 (EN)

T4:0/DN
B

T4:0/EN

T4:0/DN

T4:0/TT

B
4
3 2
0
T4:0.Accum.
0 3 6 9 13 14 17 19
- 11 -

Retentive On-delay Timer


(rententivo con retardo a la conexión)
RTO
A
Timer T4:0
Time Base 1.0 (DN)
Preset 4
Accum. 0 (EN)

T4:0/EN
T4:0/DN

T4:0/TT

4
3
T4:0.Accum. 0

0 3 6 9 10 14 17 19
- 12 -

6
Off-delay timer (retardo a la desconexión)
TOF
A
Timer T4:0
Time Base 0.01 (DN)
Preset 350
Accum. 0 (EN)

T4:0 EN

T4:0/DN

T4:0/TT

3.5
3
T4:0.Accum.
0

0 3 6 9.5 10 16 18 20
- 13 -

TON (retardo a la conexión)


EN

TT Time Delay

DN

TOF (retardo a la desconexión)


EN

TT Time Delay

DN
- 14 -

7
Example:
Start Stop
Auto

Auto

Auto TON
Timer T4:0
Delay 10s

TOF
Timer T4:1
Delay 300s
T4:0/TT
Horn

T4:0/DN
Heating Coils

T4:1/DN
Fan
- 15 -

FIN

Gracias ….

- 16 -

Vous aimerez peut-être aussi