Pieskový Filter Main

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Totally Integrated

Automation Portal

Pieskový filter / PLC_1 [CPU 1214C 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.0 %I0.0 %M0.0


"filtrovanie" "tlak" "filtrovanie"
R

%M0.1
"1. pranie"
S

Symbol Address Type Comment


"1. pranie" %M0.1 Bool
"filtrovanie" %M0.0 Bool
"tlak" %I0.0 Bool

Network 2:

%DB1
"čas. 20s"
%M0.1 TON %M0.1
"1. pranie" Time "1. pranie"
IN Q R
T#20s PT ET ...
%M0.2
SUB "prevzdušnenie"
Auto (DInt) S
EN ENO
T#20s IN1 %MD1
"čas. 20s".ET IN2 OUT "čas"

Symbol Address Type Comment


"1. pranie" %M0.1 Bool
"čas" %MD1 Time
"čas. 20s".ET Time
"prevzdušnenie" %M0.2 Bool

Network 3:

%DB2
"čas. 5s"
%M0.2 TON %M0.2
"prevzdušnenie" Time "prevzdušnenie"
IN Q R
T#5s PT ET ...
%M0.3
SUB "2. pranie"
Auto (DInt) S
EN ENO
T#5s IN1 %MD1
"čas. 5s".ET IN2 OUT "čas"

Symbol Address Type Comment


"2. pranie" %M0.3 Bool
"čas" %MD1 Time
"čas. 5s".ET Time
"prevzdušnenie" %M0.2 Bool

Network 4:
Totally Integrated
Automation Portal

%DB3
"čas. 10s"
%M0.3 TON %M0.3
"2. pranie" Time "2. pranie"
IN Q R
T#10s PT ET ...
%M0.4
SUB "zafiltrovanie"
Auto (DInt) S
EN ENO
T#10s IN1 %MD1
"čas. 10s".ET IN2 OUT "čas"

Symbol Address Type Comment


"2. pranie" %M0.3 Bool
"čas" %MD1 Time
"čas. 10s".ET Time
"zafiltrovanie" %M0.4 Bool

Network 5:

%DB4
"čas. 20s 2"
%M0.4 TON %M0.4
"zafiltrovanie" Time "zafiltrovanie"
IN Q R
T#20s PT ET ...
%M0.5
SUB "prestávka"
Auto (DInt) S
EN ENO
T#20s IN1 %MD1
"čas. 20s 2".ET IN2 OUT "čas"

Symbol Address Type Comment


"čas" %MD1 Time
"čas. 20s 2".ET Time
"prestávka" %M0.5 Bool
"zafiltrovanie" %M0.4 Bool

Network 6:

%DB5
"čas. 5s 2"
%M0.5 TON %M0.5
"prestávka" Time "prestávka"
IN Q R
T#5s PT ET ...
%M0.0
SUB "filtrovanie"
Auto (DInt) S
EN ENO
T#5s IN1 %MD1
"čas. 5s 2".ET IN2 OUT "čas"

Symbol Address Type Comment


"čas" %MD1 Time
"čas. 5s 2".ET Time
"filtrovanie" %M0.0 Bool
"prestávka" %M0.5 Bool

Network 7:

%M0.0 %Q0.0
"filtrovanie" "surová voda"

%M0.4
"zafiltrovanie"

Symbol Address Type Comment


"filtrovanie" %M0.0 Bool
"surová voda" %Q0.0 Bool
"zafiltrovanie" %M0.4 Bool

Network 8:

%M0.0 %Q0.1
"filtrovanie" "filtrovaná voda"

Symbol Address Type Comment


"filtrovaná voda" %Q0.1 Bool
Totally Integrated
Automation Portal

Symbol Address Type Comment


"filtrovanie" %M0.0 Bool

Network 9:

%M0.1 %Q0.2
"1. pranie" "pracia voda"

%M0.3 %Q0.3
"2. pranie" "odpad. voda"

Symbol Address Type Comment


"1. pranie" %M0.1 Bool
"2. pranie" %M0.3 Bool
"odpad. voda" %Q0.3 Bool
"pracia voda" %Q0.2 Bool

Network 10:

%M0.2 %Q0.4
"prevzdušnenie" "vzduch"

%Q0.5
"odpad. vzduch"

Symbol Address Type Comment


"odpad. vzduch" %Q0.5 Bool
"prevzdušnenie" %M0.2 Bool
"vzduch" %Q0.4 Bool

Network 11:

%Q1.0
%M0.4 "odpad. voda
"zafiltrovanie" z filtra"

Symbol Address Type Comment


"odpad. voda z filtra" %Q1.0 Bool
"zafiltrovanie" %M0.4 Bool

You might also like