Totally Integrated Automation Portal
Empaquetadora Dosificadora Y Roscado / PLC_1 [CPU 314C-2 PN/DP] / Bloques de programa Main [OB1] Main Propiedades General Nombre Main Numeración Manual Información Título "Main Program Sweep (Cy‐ cle)" Versión 0.1
Main Nombre Temp OB1_EV_CLASS OB1_SCAN_1 OB1_PRIORITY OB1_OB_NUMBR OB1_RESERVED_1 OB1_RESERVED_2 OB1_PREV_CYCLE OB1_MIN_CYCLE OB1_MAX_CYCLE OB1_DATE_TIME Constant
1
Número
Tipo
Autor
OB
Idioma
Comentario
Familia
ID personaliza‐ da
Tipo de datos
Offset
Byte Byte Byte Byte Byte Byte Int Int Int Date_And_Time
0.0 1.0 2.0 3.0 4.0 5.0 6.0 8.0 10.0 12.0
Valor predet.
Comentario Bits 0-3 = 1 (Coming event), Bits 4-7 = 1 (Event class 1) 1 (Cold restart scan 1 of OB 1), 3 (Scan 2-n of OB 1) Priority of OB Execution 1 (Organization block 1, OB1) Reserved for system Reserved for system Cycle time of previous OB1 scan (milliseconds) Minimum cycle time of OB1 (milliseconds) Maximum cycle time of OB1 (milliseconds) Date and time OB1 started
Segmento 1:
%I0.2 "MARCHA"
%I0.1 "PARO"
%Q0.0 "MOTOR"
%I0.3 "SENSOR1"
%Q0.1 "EMBOLO A"
%Q0.0 "MOTOR"
Segmento 2:
%Q0.0 "MOTOR"
S
Segmento 3:
%DB1 "TON_1" TON Time
%Q0.1 "EMBOLO A" T#1S
%M0.0 "M1"
IN
Q
PT
ET
...
Segmento 4:
%M0.0 "M1"
%Q0.1 "EMBOLO A"
%Q0.2 "EMBOLO B" S
Segmento 5:
%DB2 "IEC_Timer_0_DB" TON Time
%Q0.2 "EMBOLO B" T#1S
Segmento 6:
KOP
%M0.1 "M2"
IN
Q
PT
ET
...
Totally Integrated Automation Portal %M0.1 "M2"
%Q0.3 "EMBOLO C" S
%Q0.4 "EMBOLO D" S
Segmento 7:
%DB3 "IEC_Timer_0_ DB_1" TON Time
%Q0.3 "EMBOLO C" T#4S
%M0.2 "M3"
IN
Q
PT
ET
...
Segmento 8:
%M0.2 "M3"
%Q0.3 "EMBOLO C" R
%Q0.4 "EMBOLO D" R
Segmento 9:
%DB4 "IEC_Timer_0_ DB_2" TON Time
%M0.2 "M3" T#1S
%M0.3 "M4"
IN
Q
PT
ET
...
Segmento 10:
%M0.3 "M4"
%Q0.2 "EMBOLO B" R
Segmento 11:
%DB5 "IEC_Timer_0_ DB_3" TON Time
%M0.3 "M4" T#1S
%M0.4 "M5"
IN
Q
PT
ET
...
Segmento 12:
%M0.4 "M5"
%Q0.1 "EMBOLO A" R
Segmento 13:
%Q0.0 "MOTOR"
%I0.4 "SENSOR2"
%Q0.5 "EMBOLO E" S
Segmento 14:
Totally Integrated Automation Portal
%DB6 "IEC_Timer_0_ DB_4" TON Time
%Q0.5 "EMBOLO E" T#1S
%M0.5 "M6"
IN
Q
PT
ET
...
Segmento 15:
%M0.5 "M6"
%Q0.6 "EMBOLO F" S
Segmento 16:
%DB7 "IEC_Timer_0_ DB_5" TON Time
%Q0.6 "EMBOLO F" T#1S
%M0.6 "M7"
IN
Q
PT
ET
...
Segmento 17:
%M0.6 "M7"
%Q0.7 "EMBOLO G" S
Segmento 18:
%DB8 "IEC_Timer_0_ DB_6" TON Time
%Q0.7 "EMBOLO G" T#1S
%M0.7 "M8"
IN
Q
PT
ET
...
Segmento 19:
%M0.7 "M8"
%Q1.0 "EMBOLO H" S
Segmento 20:
%DB9 "IEC_Timer_0_ DB_7" TON Time
%Q1.0 "EMBOLO H" T#1S
%M1.0 "M9"
IN
Q
PT
ET
...
Segmento 21:
%M1.0 "M9"
%Q0.6 "EMBOLO F" R
Segmento 22:
Totally Integrated Automation Portal
%DB10 "IEC_Timer_0_ DB_8" TON Time
%M1.0 "M9" T#1S
%M1.1 "M10"
IN
Q
PT
ET
...
Segmento 23:
%M1.1 "M10"
%Q1.0 "EMBOLO H" R
Segmento 24:
%DB11 "IEC_Timer_0_ DB_9" TON Time
%M1.1 "M10" T#1S
%M1.2 "M11"
IN
Q
PT
ET
...
Segmento 25:
%M1.2 "M11"
%Q0.7 "EMBOLO G" R
Segmento 26:
%DB12 "IEC_Timer_0_ DB_10" TON Time
%M1.2 "M11" T#1S
%M1.3 "M12"
IN
Q
PT
ET
...
Segmento 27:
%M1.3 "M12"
%Q0.5 "EMBOLO E" R
Segmento 28:
%Q0.0 "MOTOR"
%I0.5 "SENSOR3"
%Q1.1 "EMBOLO I" S
Segmento 29:
%DB13 "IEC_Timer_0_ DB_11" TON Time
%Q1.1 "EMBOLO I" T#1S
Segmento 30:
%M1.4 "M13"
IN
Q
PT
ET
...
Totally Integrated Automation Portal %M1.4 "M13"
%Q1.2 "EMBOLO J" S
Segmento 31:
%DB14 "IEC_Timer_0_ DB_12" TON Time
%Q1.2 "EMBOLO J" t#1s
%M1.5 "M14"
IN
Q
PT
ET
...
Segmento 32:
%M1.5 "M14"
%Q1.3 "EMBOLO K" S
Segmento 33:
%DB15 "IEC_Timer_0_ DB_13" TON Time
%Q1.3 "EMBOLO K" t#3s
%M1.6 "M15"
IN
Q
PT
ET
...
Segmento 34:
%M1.6 "M15"
%Q1.3 "EMBOLO K" R
Segmento 35:
%DB16 "IEC_Timer_0_ DB_14" TON Time
%M1.6 "M15" t#1s
%M1.7 "M16"
IN
Q
PT
ET
...
Segmento 36:
%M1.7 "M16"
%Q1.2 "EMBOLO J" R
Segmento 37:
%DB17 "IEC_Timer_0_ DB_15" TON Time
%M1.7 "M16" t#1s
Segmento 38:
%M2.0 "M17"
IN
Q
PT
ET
...
Totally Integrated Automation Portal %M2.0 "M17"
%Q1.1 "EMBOLO I" R