Totally Integrated
Automation Portal
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
Name Data type Default value Supervision Comment
Input
Initial_Call Bool Initial call of this OB
Remanence Bool =True, if remanent data are available
Temp
Constant
Network 1: System Run Instructions
%I0.1 %M0.1 %I0.2 %M0.4 %M0.0
"Stop PB" "E-Stop" "Start PB" "Reset Mode" "Sys Run"
%M0.0
"Sys Run"
%M0.0 %Q1.0
"Sys Run" "Start Light"
%M0.0 %M0.1 %Q1.1
"Sys Run" "E-Stop" "Stop Light"
%M0.1 %M10.7
"E-Stop" "Clock_0.5Hz"
Symbol Address Type Comment
"Clock_0.5Hz" %M10.7 Bool
"E-Stop" %M0.1 Bool
"Reset Mode" %M0.4 Bool
"Start Light" %Q1.0 Bool
"Start PB" %I0.2 Bool
"Stop Light" %Q1.1 Bool
"Stop PB" %I0.1 Bool
"Sys Run" %M0.0 Bool
Network 2: Emergency Stop Activated
%I0.0 %M0.1
"E Stop" "E-Stop"
S
%I0.0 %M0.4 %M0.1
"E Stop" "Reset Mode" "E-Stop"
R
Symbol Address Type Comment
"E Stop" %I0.0 Bool
"E-Stop" %M0.1 Bool
"Reset Mode" %M0.4 Bool
Network 3: Auto / Manual Selector Switch
%I0.7 %M0.3 %M0.2
"Manual" "Auto Mode" "Manual Mode"
%I0.6 %M0.2 %M0.3
"Auto" "Manual Mode" "Auto Mode"
Symbol Address Type Comment
"Auto Mode" %M0.3 Bool
"Auto" %I0.6 Bool
"Manual Mode" %M0.2 Bool
"Manual" %I0.7 Bool
Totally Integrated
Automation Portal
Network 4: Reset Instruction
%I0.3 %M0.4
"Reset PB" "Reset Timer".Q "Reset Mode"
%M0.4 %DB1
"Reset Mode" "Reset Timer"
TON
Time
IN Q
T#3s PT ET ...
Symbol Address Type Comment
"Reset Mode" %M0.4 Bool
"Reset PB" %I0.3 Bool
"Reset Timer".Q Bool