Está en la página 1de 2

Totally Integrated

Automation Portal

PROYECTO FINAL / PLC_1 [CPU 1214C DC/DC/DC] / Bloques de programa


Main [OB1]
Main Propiedades
General
Nombre Main Número 1 Tipo OB Idioma KOP
Numeración Automático
Información
Título "Main Program Sweep (Cy‐ Autor Comentario Familia
cle)"
Versión 0.1 ID personaliza‐
do

Main
Nombre Tipo de datos Valor predet. Comentario
Input
Initial_Call Bool Initial call of this OB
Remanence Bool =True, if remanent data are available
Temp
Constant

Segmento 1: proseso del desarrollo empiesa cuando el pulsador de inicio se activa

%FC1
"Bloque_1"
EN ENO

%M2.0
"Pulsador de %M2.1
inicio" "inicio"
S

Segmento 2: se activa la electrovalvula X ,para al llegar al nivel 1 e inicia el agitador por el tiempo de 5 segundos

%M2.1 %M2.3 %Q0.1


"inicio" "Nivel1" "electrovalvula X"

%DB2
"TIEMPO AGITAR 1"
%M2.3 TP %Q2.4
"Nivel1" Time "agitador"
IN Q
T#5S PT ET T#0ms

Segmento 3: se activa en este paso la electrovalvula Y

%Q2.4 %M2.3 %M2.4 %Q0.2


"agitador" "Nivel1" "Nivel 2" "electrovalvula Y"

Segmento 4: al llegar al nivel 2 activa el agitador por 20segundos

%DB1
"TIEMPO
AGITADOR 2"

%M2.4 TP %Q2.4
"Nivel 2" Time "agitador"
IN Q
T#20S PT ET T#0ms

Segmento 5: en este paso descarga la electrovalvula por el tiempo de 10 segubdo

%DB3
"vasiar tanque"
%M2.5
%Q2.4 TP "electrovalvula
"agitador" Time descarga"
IN Q
T#10S PT ET T#0ms

Segmento 6: ultimo paso al pulsar parada de emergecia parpadean las tres luces por el tiempo de 10segundos y recetea el inicio3 luces
Totally Integrated
Automation Portal

%M2.2
"pulsador
parada de %M2.7
emergencia" "3 LUCES"
S

%M2.7 %M0.5 %Q2.7


"3 LUCES" "Clock_1Hz" "LUZ VERDE"

%M0.5 %Q0.3
"Clock_1Hz" "LUZ AMARILLA"

%M0.5 %Q0.4
"Clock_1Hz" "LUZ ROJA"

%DB4
"IEC_Timer_0_DB"
TON %M2.7
Time "3 LUCES"
IN Q R
T#10S PT ET T#0ms

%M2.7 %M2.1
"3 LUCES" "inicio"
R

Segmento 7:

También podría gustarte