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

Totally Integrated

Automation Portal

Drive lec task / PLC_1 [CPU 1212C AC/DC/Rly] / 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:

%I0.0 %I0.1 %M0.0


"Start" "Stop" "Marker x"

%M0.0
"Marker x"

Network 2:
Totally Integrated
Automation Portal

%DB1
"T1"
%Q0.0 TONR %M0.1
"Forward" Time "Timer 1"
IN Q
ET ...
%M0.1
"Timer 1"
R
T#15s PT

Network 3:

%M0.0 %Q0.1 %M0.1 %Q0.0


"Marker x" "Reverse" "Timer 1" "Forward"

Network 4:

%DB2
"T2"
%Q0.1 TONR %M0.2
"Reverse" Time "Timer 2"
IN Q
ET ...
%M0.2
"Timer 2"
R
T#15s PT

Network 5:
Totally Integrated
Automation Portal

%M0.0 %Q0.0 %M0.2 %Q0.1


"Marker x" "Forward" "Timer 2" "Reverse"

Network 6:

%M0.0 %Q0.1 %Q0.2


"T1".ET
"Marker x" "Reverse" "15 HZ"
<
Time
T#5s

"T1".ET "T1".ET
< >
Time Time
T#15s T#10s

%Q0.0
"T2".ET "T2".ET "Forward"
> <
Time Time
T#10s T#15s

"T2".ET
<
Time
T#5s

Network 7:
Totally Integrated
Automation Portal

%M0.0 %Q0.1 %Q0.3


"Marker x" "T1".ET "T1".ET "Reverse" "30 HZ"
> <
Time Time
T#5s T#15s

%Q0.0
"T2".ET "Forward"
<
Time
T#10s

You might also like