Professional Documents
Culture Documents
Dengt Tu Lam
Dengt Tu Lam
Dengt Tu Lam
Automation Portal
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
%DB8
"IEC_Timer_0_DB_
7"
DIV
Auto (DInt)
EN ENO
"IEC_Timer_0_DB_
7".ET %DB1.DBD0
IN1 "Data_block_1".
1000 IN2 "TIME LAMP XANH
OUT A"
%DB9
"IEC_Timer_0_DB_
8"
DIV
Auto (DInt)
EN ENO
"IEC_Timer_0_DB_
8".ET %DB1.DBD4
IN1 "Data_block_1".
1000 IN2 "TIME LAMP VANG
OUT A"
Network 4: DO A SANG
Totally Integrated
Automation Portal
%DB10
"IEC_Timer_0_DB_
9"
DIV
Auto (DInt)
EN ENO
"IEC_Timer_0_DB_ %DB1.DBD8
9".ET IN1 "Data_block_1".
1000 IN2 OUT "TIME LAMP DO A"
Network 5: DO B SANG
%DB11
"IEC_Timer_0_DB_
10"
DIV
Auto (DInt)
EN ENO
"IEC_Timer_0_DB_ %DB1.DBD20
10".ET IN1 "Data_block_1".
1000 IN2 OUT "TIME LAMP DO B"
Network 6:
%DB12
"IEC_Timer_0_DB_
11"
DIV
Auto (DInt)
EN ENO
"IEC_Timer_0_DB_
11".ET %DB1.DBD12
IN1 "Data_block_1".
1000 IN2 "TIME LAMP XANH
OUT B"
Network 7:
%DB13
"IEC_Timer_0_DB_
12"
DIV
Auto (DInt)
EN ENO
"IEC_Timer_0_DB_
12".ET %DB1.DBD16
IN1 "Data_block_1".
1000 IN2 "TIME LAMP VANG
OUT B"
Network 8:
%FC1
"mo phong xee"
EN ENO
Totally Integrated
Automation Portal
Network 9:
Totally Integrated
Automation Portal
Program blocks
Data_block_1 [DB1]
Data_block_1 Properties
General
Name Data_block_1 Number 1 Type DB Language DB
Numbering Automatic
Information
Title Author Comment Family
Version 0.1 User-defined ID
Name Data type Offset Start value Retain Accessi‐ Writ‐ Visible in Setpoint Supervi‐ Comment
ble from able HMI engi‐ sion
HMI/OPC from neering
UA/Web HMI/
API OPC
UA/
Web
API
Static
TIME LAMP XANH A DInt 0.0 0 False True True True False
TIME LAMP VANG A DInt 4.0 0 False True True True False
TIME LAMP DO A DInt 8.0 0 False True True True False
TIME LAMP XANH B DInt 12.0 0 False True True True False
TIME LAMP VANG B DInt 16.0 0 False True True True False
TIME LAMP DO B DInt 20.0 0 False True True True False
CAI TIME XANH DInt 24.0 0 False True True True False
TIME XANH DInt 28.0 0 False True True True False
trung gian 1 Bool 32.0 false False True True True False
trung gian 2 Bool 32.1 false False True True True False
ĐÊM Bool 32.2 false False True True True False
setup time xanh DInt 34.0 0 False True True True False
setup time vang DInt 38.0 0 False True True True False
setup time do DInt 42.0 0 False True True True False
Totally Integrated
Automation Portal
Program blocks
mo phong xee [FC1]
mo phong xee Properties
General
Name mo phong xee Number 1 Type FC Language LAD
Numbering Automatic
Information
Title Author Comment Family
Version 0.1 User-defined ID
Network 1:
%DB2
"IEC_Timer_0_DB"
%DB1.DBX32.0 %DB1.DBX32.0
%Q0.0 "Data_block_1". TON "Data_block_1".
"LAMP XANH A" "trung gian 1" Time "trung gian 1"
IN Q
T#5s PT ET T#0ms
%Q0.1
"LAMP VANG A"
%DB3
"IEC_Timer_0_DB_
1"
%DB1.DBX32.1 %DB1.DBX32.1
%Q0.3 "Data_block_1". TON "Data_block_1".
"LAMP XANH B" "trung gian 2" Time "trung gian 2"
IN Q
T#5s PT ET T#0ms
%Q0.4
"LAMP VANG B"
Totally Integrated
Automation Portal
Name Data type Start value Retain Accessible Writ‐ Visible in Setpoint Supervi‐ Comment
from able HMI engi‐ sion
HMI/OPC from neering
UA/Web HMI/
API OPC
UA/
Web
API
Static
PT Time T#0ms False True True True False
ET Time T#0ms False True False True False
IN Bool false False True True True False
Q Bool false False True False True False
Totally Integrated
Automation Portal
Name Data type Start value Retain Accessible Writ‐ Visible in Setpoint Supervi‐ Comment
from able HMI engi‐ sion
HMI/OPC from neering
UA/Web HMI/
API OPC
UA/
Web
API
Static
PT Time T#0ms False True True True False
ET Time T#0ms False True False True False
IN Bool false False True True True False
Q Bool false False True False True False
Totally Integrated
Automation Portal
Name Data type Start value Retain Accessible Writ‐ Visible in Setpoint Supervi‐ Comment
from able HMI engi‐ sion
HMI/OPC from neering
UA/Web HMI/
API OPC
UA/
Web
API
Static
PT Time T#0ms False True True True False
ET Time T#0ms False True False True False
IN Bool false False True True True False
Q Bool false False True False True False
Totally Integrated
Automation Portal
Name Data type Start value Retain Accessible Writ‐ Visible in Setpoint Supervi‐ Comment
from able HMI engi‐ sion
HMI/OPC from neering
UA/Web HMI/
API OPC
UA/
Web
API
Static
PT Time T#0ms False True True True False
ET Time T#0ms False True False True False
IN Bool false False True True True False
Q Bool false False True False True False
Totally Integrated
Automation Portal
Name Data type Start value Retain Accessible Writ‐ Visible in Setpoint Supervi‐ Comment
from able HMI engi‐ sion
HMI/OPC from neering
UA/Web HMI/
API OPC
UA/
Web
API
Static
PT Time T#0ms False True True True False
ET Time T#0ms False True False True False
IN Bool false False True True True False
Q Bool false False True False True False
Totally Integrated
Automation Portal
Name Data type Start value Retain Accessible Writ‐ Visible in Setpoint Supervi‐ Comment
from able HMI engi‐ sion
HMI/OPC from neering
UA/Web HMI/
API OPC
UA/
Web
API
Static
PT Time T#0ms False True True True False
ET Time T#0ms False True False True False
IN Bool false False True True True False
Q Bool false False True False True False
Totally Integrated
Automation Portal
Name Data type Start value Retain Accessible Writ‐ Visible in Setpoint Supervi‐ Comment
from able HMI engi‐ sion
HMI/OPC from neering
UA/Web HMI/
API OPC
UA/
Web
API
Static
PT Time T#0ms False True True True False
ET Time T#0ms False True False True False
IN Bool false False True True True False
Q Bool false False True False True False
Totally Integrated
Automation Portal
Name Data type Start value Retain Accessible Writ‐ Visible in Setpoint Supervi‐ Comment
from able HMI engi‐ sion
HMI/OPC from neering
UA/Web HMI/
API OPC
UA/
Web
API
Static
PT Time T#0ms False True True True False
ET Time T#0ms False True False True False
IN Bool false False True True True False
Q Bool false False True False True False