3 Arquitectura Interna Del PLC

41

description

plc

Transcript of 3 Arquitectura Interna Del PLC

Page 1: 3 Arquitectura Interna Del PLC
Page 2: 3 Arquitectura Interna Del PLC
Page 3: 3 Arquitectura Interna Del PLC

Un controlador programable PLC, es una computadora robusta, especializada en manufactura

SF

RUN

STOP

SIEMENS

SIMATIC

I0.0

I0.1

I0.2

I0.3

I0.4

I0.5

I0.6

I0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 4: 3 Arquitectura Interna Del PLC

Los PLCs se desarrollaron para reemplazar dispositivos electromecánicos vinculados:

› RELAYS

› TIMERS

› COUNTERS

SF

RUN

STOP

SIEMENS

SIMATIC

I0.0

I0.1

I0.2

I0.3

I0.4

I0.5

I0.6

I0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 5: 3 Arquitectura Interna Del PLC

Los PLCs tienen conexión con el mundo exterior a través de:

› Entradas discretas

› Salidas discretas

› Entradas analógicas

› Salidas analógicas

Q1.0

Q1.1

Q1.2

Q1.3

Q1.4

Q1.5

Q1.6

Q1.7

Page 6: 3 Arquitectura Interna Del PLC

Una entrada discreta es una señal que puede ser ON o OFF

Esta es llamada entrada digital

SF

RU N

STOP

SIEMENS

SIMATIC

I 0.0

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

I 0.6

I 0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 7: 3 Arquitectura Interna Del PLC

Pulsante

Fin de carrera

Presostato

Sensor proximidad

Pedal

SF

RU N

STOP

SIEMENS

SIMATIC

I 0.0

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

I 0.6

I 0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 8: 3 Arquitectura Interna Del PLC

Una señal de entrada analógica es una señal que varia en intensidad

SF

RU N

STOP

SIEMENS

SIMATIC

I 0.0

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

I 0.6

I 0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 9: 3 Arquitectura Interna Del PLC

Sensores nivel

Termocuplas

RTDs

Tacómetros

Celdas carga

SF

RU N

STOP

SIEMENS

SIMATIC

I 0.0

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

I 0.6

I 0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 10: 3 Arquitectura Interna Del PLC

Una salida discreta se usa para poner un dispositivo de campo en ON o OFF

Esta es llamada salida digital

SF

RU N

STOP

SIEMENS

SIMATIC

I 0.0

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

I 0.6

I 0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 11: 3 Arquitectura Interna Del PLC

Indicadores luminosos

Solenoides Bobinas de

contactor

SF

RU N

STOP

SIEMENS

SIMATIC

I 0.0

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

I 0.6

I 0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 12: 3 Arquitectura Interna Del PLC

Salidas analógicas controlan los dispositivos que continúan variando su intensidad

SF

RU N

STOP

SIEMENS

SIMATIC

I 0.0

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

I 0.6

I 0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 13: 3 Arquitectura Interna Del PLC

Posicionadores de válvulas Control velocidad de motor

SF

RU N

STOP

SIEMENS

SIMATIC

I 0.0

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

I 0.6

I 0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 14: 3 Arquitectura Interna Del PLC

Los módulos de

entrada traen las

señales de campo

La Unidad Central

de Proceso genera

decisiones

Los módulos de

salida controlan los

dispositivos de

campo

Unidad

Central de

Procesamiento

(CPU)

Módulo de Entrada

Módulo de Salida

Page 15: 3 Arquitectura Interna Del PLC

Panel de operación

Central

Processing

Unit

(CPU)

Input Module

Output Module

Programador

Page 16: 3 Arquitectura Interna Del PLC

La CPU tiene dos partes esenciales› Generación de

decisiones› Memoria de usuario

Central

Processing

Unit

(CPU)

Input Module

Output Module

Page 17: 3 Arquitectura Interna Del PLC

La CPU recibe las entradas periféricas desde los módulos de entrada y usando el programa de control genera las decisiones basadas en estas entradas.

Central

Processing

Unit

(CPU)

Input Module

Output Module

Page 18: 3 Arquitectura Interna Del PLC

El programa de usuario es un set de instrucciones usuario, definidas, que son memorizadas en la Memoria de Usuario

Central

Processing

Unit

(CPU)

Input Module

Output Module

Page 19: 3 Arquitectura Interna Del PLC

Procesos, información temporaria o permanente,estas son guardadas en la Memoria de Usuario› Resultados

matemáticos› Producto Counter

Central

Processing

Unit

(CPU)

Input Module

Output Module

Page 20: 3 Arquitectura Interna Del PLC

La CPU genera decisiones mediante instrucciones programadas por un humano

El PLC controla estas operaciones muy eficientemente a causa de que la CPU recorre las instrucciones rápido y con precisión

SF

RUN

STOP

SIEMENS

SIMATIC

I0.0

I0.1

I0.2

I0.3

I0.4

I0.5

I0.6

I0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 21: 3 Arquitectura Interna Del PLC

Los Errores casi

siempre cometido por

humanos o

dispositivos

mecánicos que dan

instrucciones de

tareas incorrectas

Si se detecta una

falla, y no es la CPU,

rápida y precisa

responde…..

SF

RUN

STOP

SIEMENS

SIMATIC

I0.0

I0.1

I0.2

I0.3

I0.4

I0.5

I0.6

I0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 22: 3 Arquitectura Interna Del PLC

El circuito lógico a

Relay es el lenguaje

mas común para el

PLC

CLR se desarrolla con

símbolos de esquemas

electromecánicos

SF

RUN

STOP

SIEMENS

SIMATIC

I0.0

I0.1

I0.2

I0.3

I0.4

I0.5

I0.6

I0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 23: 3 Arquitectura Interna Del PLC

Contactos representan entradas discretas

Bobinas representan salidas discretas

Contactos y bobinas pueden ser combinados para formar circuitos lógicos. Estos circuitos son llamados Networks

SF

RUN

STOP

SIEMENS

SIMATIC

I0.0

I0.1

I0.2

I0.3

I0.4

I0.5

I0.6

I0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 24: 3 Arquitectura Interna Del PLC

~SF

RU N

STOP

SIEMENS

SIMATIC

I 0.0

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

I 0.6

I 0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 25: 3 Arquitectura Interna Del PLC

~SF

RU N

STOP

SIEMENS

SIMATIC

I 0.0

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

I 0.6

I 0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 26: 3 Arquitectura Interna Del PLC

Todos los computadores incluidos los PLCs, funcionan con numeración Binaria ( Base 2 )

Un numero Binario puede ser solo 1 o 0

Un Bit es un simple Dígito Binario

SF

RUN

STOP

SIEMENS

SIMATIC

I0.0

I0.1

I0.2

I0.3

I0.4

I0.5

I0.6

I0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 27: 3 Arquitectura Interna Del PLC

Un Byte es un grupo de 8 Bits

En computadores Word pueden ser uno o mas Bytes

0 1 1 1 1 1 1 0 0 00 1 0 1 0 1

Bits

Word

ByteByte

En PLCs Word es

usualmente 2 Bytes (

16 Bits )

Page 28: 3 Arquitectura Interna Del PLC

SF

RUN

STOP

SIEMENS

SIMATIC

I0.0

I0.1

I0.2

I0.3

I0.4

I0.5

I0.6

I0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Un Byte es un grupo

de 8 Bits

S7-200 PLCs son byte-

base unidad

0 10 1 0 1 0 1

Bit

Byte

Page 29: 3 Arquitectura Interna Del PLC

SF

RUN

STOP

SIEMENS

SIMATIC

I0.0

I0.1

I0.2

I0.3

I0.4

I0.5

I0.6

I0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212 Los números Binarios

son siempre potencia

de 2

1, 2, 4, 8, 16, 32, 64, 128,

256, 512, 1024

0 10 1 0 1 0 1

LSBByte

MSB

1248163264128

32 8 2 1+ + + = 43

Page 30: 3 Arquitectura Interna Del PLC

Hay dos tipos de aplicaciones:

Control de maquina

Control de proceso

SF

RUN

STOP

SIEMENS

SIMATIC

I0.0

I0.1

I0.2

I0.3

I0.4

I0.5

I0.6

I0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 31: 3 Arquitectura Interna Del PLC

Aquí un PLC controla el proceso mientras

el otro controla el equipo

SF

RU N

STOP

SIEMENS

SIMATIC

I 0.0

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

I 0.6

I 0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212 SF

RU N

STOP

SIEMENS

SIMATIC

I 0.0

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

I 0.6

I 0.7

Q0.0

Q0.1

Q0.2

Q0.3

Q0.4

Q0.5

S7-200

Micro PLC 212

Page 32: 3 Arquitectura Interna Del PLC
Page 33: 3 Arquitectura Interna Del PLC
Page 34: 3 Arquitectura Interna Del PLC
Page 35: 3 Arquitectura Interna Del PLC
Page 36: 3 Arquitectura Interna Del PLC
Page 37: 3 Arquitectura Interna Del PLC
Page 38: 3 Arquitectura Interna Del PLC
Page 39: 3 Arquitectura Interna Del PLC
Page 40: 3 Arquitectura Interna Del PLC

Establecen la comunicación entre la

unidad central y el proceso

Filtran

Adaptan

Codifican

Page 41: 3 Arquitectura Interna Del PLC