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

Totally Integrated

Automation Portal

DenGiaoThong2Chieu_C_PLC_V16 / PLC_Libcode.net [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: ON

%M2.5 %M2.0
"ON_OFF" "RUN"
S

Network 2: OFF

%M2.5 %M2.0
"ON_OFF" "RUN"
R

Network 3: Timer Light

%DB1
"Timer_Light"
%M2.0 TON
"RUN" "Timer_Light".Q Time
IN Q
T#60S PT ET T#0ms

Network 4: Lane_1

%M2.0 %Q0.0
"RUN" "Timer_Light".ET "Xanh_1"
<
Time
T#25S

%Q0.2
"Timer_Light".ET "Timer_Light".ET "Vàng_1"
> <
Time Time
T#25S T#30S

%Q0.1
"Timer_Light".ET
"Đỏ_1"
>
Time
T#30S

Network 5: Lane_2
Totally Integrated
Automation Portal

%M2.0 %Q0.4
"Timer_Light".ET
"RUN" "Đò_2"
<
Time
T#30S

%Q0.3
"Timer_Light".ET "Timer_Light".ET "Xanh_2"
> <
Time Time
T#30S T#55S

%Q0.5
"Timer_Light".ET "Vàng_2"
>
Time
T#55S

You might also like