Totally Integrated
Automation Portal
XYZ / PLC_1 [CPU 1215C DC/DC/Rly] / Program blocks
Main [OB1]
Main Properties
General
Name Main Number 1 Type OB Language LAD
Numbering Automatic
Information
Title "Main Program Sweep (Cy‐ Author Comment Family
cle)"
Version 0.1 User-defined ID
Main
Name Data type Default value Comment
Input
Initial_Call Bool Initial call of this OB
Remanence Bool =True, if remanent data are available
Temp
Constant
Network 1: DOL STARTER
%I0.0 %I0.1 %Q0.0
"Tag_2" "Tag_1" "Tag_3"
%Q0.0
"Tag_3"
Network 2: TIMER
%DB1
"IEC_Timer_0_DB"
%I0.2 TON %Q0.1
"Tag_4" Time "Tag_9"
IN Q
T#10S PT ET T#0ms
Network 3: DOL WITH ON TIMER
%DB2
"IEC_Timer_0_
DB_1"
%I0.3 %I0.4 TON %Q0.2
"Tag_10" "Tag_11" Time "Tag_12"
IN Q
T#10S PT ET T#0ms
%Q0.2
"Tag_12"
Network 4: DOL WITH OFF TIMER
%DB3
"IEC_Timer_0_
DB_2"
%I0.5 %I0.6 TOF %Q0.3
"Tag_5" "Tag_6" Time "Tag_13"
IN Q
T#10S PT ET T#0ms
%Q0.3
"Tag_13"
Network 5: DOL WITH PULS TIMER
Totally Integrated
Automation Portal
%DB4
"IEC_Timer_0_
DB_3"
%I0.7 %I1.0 TP %Q0.4
"Tag_14" "Tag_15" Time "Tag_16"
IN Q
T#10S PT ET T#0ms
%Q0.4
"Tag_16"