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

Totally Integrated

Automation Portal

Project1 / PLC_1 [CPU 1211C 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/OFF hệ thống

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


"Start" "Stop" "Tag_1"

%M0.0
"Tag_1"

Network 2: BT hộp
Totally Integrated
Automation Portal

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


"Tag_1" "Tag_2" "BT1"

Network 3: BT sản phẩm

%M0.0 %Q0.1
"Tag_1" "T1".Q "T2".Q "BT2"

Network 4: Hệ thống
Totally Integrated
Automation Portal

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


"Tag_1" "S2" "T2".Q "Tag_2"

%M0.1
"Tag_2"

%DB2
"T1"
%M0.1 TON
"Tag_2" Time
IN Q
T#3s PT ET T#0ms

%DB1
"CTU"
%I0.3 CTU
"S1" Int
CU Q
CV 0
%M0.0 %M0.2
"Tag_1" "Tag_3"
R
12 PV

%M0.0 %M0.2
"Tag_1" "CTU".QU "Tag_3"

%M0.0 %M0.3
"Tag_1" "CTU".QU "T2".Q "Tag_4"

%M0.3 %DB3
"Tag_4" "T2"
TON
Time
IN Q
T#1s PT ET T#0ms

You might also like