FC - Tu - Dong (FC1) : Totally Integrated Automation Portal

You might also like

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

Totally Integrated

Automation Portal

FC_tu_dong [FC1]
FC_tu_dong Properties
General
Name FC_tu_dong Number 1 Type FC Language LAD
Numbering Automatic
Information
Title Author Comment Family
Version 0.1 User-defined ID

Name Data type Default value Comment


Input
Output
InOut
Temp
Constant
Return
FC_tu_dong Void

Network 1: đèn báo chạy tự động


Totally Integrated
Automation Portal

%I0.3 %M10.3 %Q0.2


%I0.2 "I_nut_nhan_ "M_nut_nhan_ "Q_den_dang_
"I_nut_nhan_run" stop" stop" chay"

%M10.2
"M_nut_nhan_
run"

%Q0.2
"Q_den_dang_
chay"

Network 2: điều khiển cửa vào mở


Totally Integrated
Automation Portal

%Q0.2 %MW100 %I1.1 %M20.0


"Q_den_dang_ "bo_dem_xe_ "I_CB1_Sensor_ "Q_TG_AUTO_
chay" hien_tai" xe_vao_1" CUA_VAO_MO"
<
S
Int
5

%M11.1
"M_CB1_
Sensor_xe_
vao_1"

%I1.5
"I_CB5_Sensor_ %M20.0
cua_vao_da_ "Q_TG_AUTO_
nang" CUA_VAO_MO"
R

%M11.5
"M_CB5_
Sensor_cua_
vao_da_nang"

Network 3: điều khiển cửa vào đóng


Totally Integrated
Automation Portal

%M20.1
%Q0.2 %I1.2 "Q_TG_AUTO_
"Q_den_dang_ "I_CB2_Sensor_ CUA_VAO_
chay" xe_vao_2" N_TRIG DONG"

CLK Q S
%M150.0
"NTRIG1"
%M11.2
"M_CB2_
Sensor_xe_
vao_2"

%I1.6 %M20.1
"I_CB6_Sensor_ "Q_TG_AUTO_
cua_vao_da_ CUA_VAO_
ha" DONG"

%M11.6
"M_CB6_
Sensor_cua_
vao_da_ha"

Network 4: điều khiển cửa ra mở


Totally Integrated
Automation Portal

%Q0.2 %I1.3 %M20.2


"Q_den_dang_ "I_CB3_Sensor_ "Q_TG_AUTO_
chay" xe_ra_1" CUA_RA_MO"
S

%M11.3
"M_CB3_
Sensor_xe_ra_
1"

%I1.7
"I_CB7_Sensor_ %M20.2
cua_ra_da_ "Q_TG_AUTO_
nang" CUA_RA_MO"

%M11.7
"M_CB7_
Sensor_cua_
ra_da_nang"

Network 5: điều khiển cửa ra đóng


Totally Integrated
Automation Portal

%Q0.2 %I1.4 %M20.3


"Q_den_dang_ "I_CB4_Sensor_ "Q_TG_AUTO_
chay" xe_ra_2" N_TRIG CUA_RA_DONG"
CLK Q S
%M150.1
"NTRIG2"
%M11.4
"M_CB4_
Sensor_xe_ra_
2"

%I2.0
"I_CB8_Sensor_ %M20.3
cua_ra_da_ "Q_TG_AUTO_
ha" CUA_RA_DONG"
R

%M12.0
"M_CB8_
Sensor_cua_
ra_da_ha"

Network 6: đếm số xe
Totally Integrated
Automation Portal

%Q0.2 %I1.2
"Q_den_dang_ "I_CB2_Sensor_ INC
chay" xe_vao_2" P_TRIG Int
CLK Q EN ENO
%M150.2
%MW100
"PTRIG1"
"bo_dem_xe_
%M11.2 hien_tai"
"M_CB2_ IN/OUT
Sensor_xe_
vao_2" INC
Int
EN ENO

%MW102
"bo_dem_
tong_so_xe" IN/OUT

%I1.4
"I_CB4_Sensor_ DEC
xe_ra_2" P_TRIG Int
CLK Q EN ENO
%M150.3
%MW100
"PTRIG2"
"bo_dem_xe_
%M11.4 hien_tai"
"M_CB4_ IN/OUT
Sensor_xe_ra_
2"

Network 7: đèn báo


Totally Integrated
Automation Portal

%Q0.2 %MW100
"Q_den_dang_ "bo_dem_xe_ %Q0.3
chay" hien_tai"
"Q_den_con_cho"
<
Int
5

%MW100
"bo_dem_xe_ %Q0.4
hien_tai"
"Q_den_het_cho"
>=
Int
5

You might also like