0% found this document useful (0 votes)
6 views5 pages

Main Program Sweep Automation Logic

môn lập trình plc

Uploaded by

cuonghenn13
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)
6 views5 pages

Main Program Sweep Automation Logic

môn lập trình plc

Uploaded by

cuonghenn13
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

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 Comment


Input
Initial_Call Bool Initial call of this OB
Remanence Bool =True, if remanent data are available
Temp
Constant

Network 1:

%I0.0 %M2.4 %M2.0


"Start" "IsRun" "XL1 Down"
S

%M2.3
"XL2 BW"
R

%M2.4
"IsRun"
S

Network 2:
Totally Integrated
Automation Portal

%DB1
"DL XL1 Down"
%M2.0 TON
"XL1 Down" Time
IN Q
T#3s PT ET T#0ms

Network 3:

%M2.1
"DL XL1 Down".Q "XL1 Up"
S

%M2.0
"XL1 Down"
R

Network 4:

%DB2
"DL XL1 Up"
%M2.1 TON
"XL1 Up" Time
IN Q
T#1s PT ET T#0ms

Network 5:
Totally Integrated
Automation Portal

%M2.2
"DL XL1 Up".Q "XL2 FW"
S

%M2.1
"XL1 Up"
R

Network 6:

%DB3
"DL XL2 FW"
%M2.2 TON
"XL2 FW" Time
IN Q
T#1s PT ET T#0ms

Network 7:

%M2.2
"DL XL2 FW".Q "XL2 FW"
R

%M2.3
"XL2 BW"
S

Network 8:
Totally Integrated
Automation Portal

%DB4
"DL XL2 BW"
%M2.3 TON
"XL2 BW" Time
IN Q
T#1s PT ET T#0ms

Network 9:

%I0.1 %M2.3
"Sensor" "DL XL2 BW".Q "XL2 BW"
R

%M2.4
"IsRun"
R

Network 10:

%M2.0 %Q0.0
"XL1 Down" "XL1"
S

Network 11:

%M2.1 %Q0.0
"XL1 Up" "XL1"
R
Totally Integrated
Automation Portal

Network 12:

%M2.2 %Q0.1
"XL2 FW" "XL2"
S

Network 13:

%M2.3 %Q0.1
"XL2 BW" "XL2"
R

You might also like