Luis Duran Ladder
Luis Duran Ladder
Luis Duran Ladder
Automation Portal
Main
Nombre Tipo de datos Offset Valor predet. Comentario
Temp
OB1_EV_CLASS Byte 0.0 Bits 0-3 = 1 (Coming event), Bits 4-7 = 1 (Event class 1)
OB1_SCAN_1 Byte 1.0 1 (Cold restart scan 1 of OB 1), 3 (Scan 2-n of OB 1)
OB1_PRIORITY Byte 2.0 Priority of OB Execution
OB1_OB_NUMBR Byte 3.0 1 (Organization block 1, OB1)
OB1_RESERVED_1 Byte 4.0 Reserved for system
OB1_RESERVED_2 Byte 5.0 Reserved for system
OB1_PREV_CYCLE Int 6.0 Cycle time of previous OB1 scan (milliseconds)
OB1_MIN_CYCLE Int 8.0 Minimum cycle time of OB1 (milliseconds)
OB1_MAX_CYCLE Int 10.0 Maximum cycle time of OB1 (milliseconds)
OB1_DATE_TIME Date_And_Time 12.0 Date and time OB1 started
Constant
Segmento 1:
%I124.0 %M0.0
"BUTT PAR" "Tag_1"
R
%I124.2 %Q124.2
"BUTT EMER" "LUZVERDE"
R
%Q124.1
"LUZAMA"
R
%Q124.0
"LUZROJA"
R
Segmento 2:
%I124.1 %M0.0
"BUTT INI" "Tag_1"
S
Segmento 3:
%DB1
"TON1"
%M0.0 %DB1.DBX6.0 TON
"Tag_1" "TON1".Q Time
IN Q
T#13s PT %MD1
ET "TG"
Segmento 4:
Totally Integrated
Automation Portal
Segmento 5:
Segmento 6:
%MD1 %MD1
%M0.0 %Q124.0
"Tag_1" "TG" "TG" "LUZROJA"
>= <=
Time Time
T#7s T#13s
Segmento 7: