Totally Integrated
Automation Portal
Project8 / PLC_1 [CPU 1214C 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 Author Comment
(Cycle)"
Family 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:
T#0MS
%DB4
"IEC_Timer_0_
DB_3"
%I0.0 TONR %Q0.0
"PUSH BUTTON" Time "Q1"
IN Q
ET T#0ms
%M0.1
"Tag_2"
R
T#0S PT
Network 2:
%DB5
"IEC_Timer_0_
DB_4"
%Q0.0 TONR %Q0.1
"Q1" Time "Q2"
IN Q
ET T#0ms
%M0.1
"Tag_2"
R
T#5S PT
Network 3:
Totally Integrated
Automation Portal
T#0MS
%DB6
"IEC_Timer_0_
DB_5"
%Q0.1 TONR %Q0.2
"Q2" Time "Q3"
IN Q
ET T#0ms
%M0.1
"Tag_2"
R
T#5S PT
Network 4:
T#0MS
%DB7
"IEC_Timer_0_
DB_6"
%Q0.2 TONR %Q0.3
"Q3" Time "Q4"
IN Q
ET T#0ms
%M0.1
"Tag_2"
R
T#5S PT
Network 5:
%Q0.3 %M0.0
"Q4" "Tag_1"
S
Network 6:
%DB1
"IEC_Timer_0_DB"
%M0.0 TON %M0.1
"Tag_1" Time "Tag_2"
IN Q
T#5S PT ET T#0ms
Network 7:
Totally Integrated
Automation Portal
%DB2
"IEC_Timer_0_
DB_1"
%M0.1 TP %Q0.4
"Tag_2" Time "Q5"
IN Q
T#5S PT ET T#0ms
Network 8:
%DB3
"IEC_Timer_0_
DB_2"
%M0.1 TP %Q0.5
"Tag_2" Time "Q6"
IN Q
T#10S PT ET T#0ms
Network 9:
T#15S
%DB8
"IEC_Timer_0_
DB_7"
%M0.1 TP %Q0.6
"Tag_2" Time "Q7"
IN Q
T#15S PT ET T#0ms
Network 10:
T#20S
%DB9
"IEC_Timer_0_
DB_8"
%M0.1 TP %Q0.7
"Tag_2" Time "Q8"
IN Q
T#20S PT ET T#0ms