0% found this document useful (0 votes)
40 views3 pages

Project K

Project

Uploaded by

nandafailure143
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views3 pages

Project K

Project

Uploaded by

nandafailure143
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Totally Integrated

Automation Portal

Traffic_lights_PLC / PLC_1 [CPU 1212C DC/DC/DC] / 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:

%M0.2
%M0.0 "started"
"Start" SR
S Q

%M0.1
"Stop"
R1

Network 2:

%DB2
"counter_step"
CTU
"step1".Q Int
N CU Q
%M0.7 CV ...
"step1_finished"

"step2".Q
N
%M1.4
"Step2_Finished"

"step3".Q
N R
%M2.1 3 PV
"step3_Finished"

Network 3:

%DB1
"step1"
%M0.3
%M0.2 TP "Step1_East_
"counter_step".CV Time "step1".ET Green"
"started"
== <
Int IN Q Time
T#20S PT ET ...
0 T#15S

%M0.4
"Step1_West_
Red"

%M0.5
"Step1_North_
Red"

%M0.6
"step1_East_
"step1".ET "step1".ET Yellow"
> <
Time Time
T#15S T#20S

Network 4:
Totally Integrated
Automation Portal

%DB3
"step2"
%M1.0
%M0.2 TP "Step2_West_
"counter_step".CV Time "step2".ET Green"
"started"
== <
Int IN Q Time
1 T#20S PT ET ... T#15S

%M1.2
"Step2_North_
Red"

%M1.1
"Step2_East_Red"

%M1.3
"Step2_West_
"step2".ET "step2".ET Yellow"
> <
Time Time
T#15S T#20S

Network 5:

%DB4
"step3"
%M1.5
%M0.2 TP "step3_North_
"counter_step".CV Time "step3".ET Green"
"started"
== <
Int IN Q Time
2 T#20S PT ET ... T#15S

%M1.6
"step3_East_Red"

%M1.7
"step3_West_Red"

%M2.0
"step3_North_
"step3".ET "step3".ET Yellow"
> <
Time Time
T#15S T#20S

Network 6: East

%M0.3
"Step1_East_ %M2.2
Green" "East_Green"

%M1.1 %M2.4
"Step2_East_Red" "East_Red"

%M1.6
"step3_East_Red"

%M0.6
"step1_East_ %M2.3
Yellow" "East_Yellow"

Network 7: West

%M1.0
"Step2_West_ %M3.1
Green" "West_Green"

%M0.4
"Step1_West_ %M3.0
Red" "West_Red"

%M1.7
"step3_West_Red"

%M1.3
"Step2_West_ %M3.2
Yellow" "West_Yellow"
Totally Integrated
Automation Portal

Network 8: North

%M1.5
"step3_North_ %M2.7
Green" "North_Green"

%M1.2
"Step2_North_ %M2.5
Red" "North_Red"

%M0.5
"Step1_North_
Red"

%M2.0
"step3_North_ %M2.6
Yellow" "North_Yellow"

You might also like