0% found this document useful (0 votes)
18 views3 pages

Tessst

The document describes the main program for a PLC that controls an automated process. It contains several networks of logic to control startup, clamping, spinning cycles, and alarms for two spinning operations.

Uploaded by

truonghoang1998
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views3 pages

Tessst

The document describes the main program for a PLC that controls an automated process. It contains several networks of logic to control startup, clamping, spinning cycles, and alarms for two spinning operations.

Uploaded by

truonghoang1998
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Totally Integrated

Automation Portal

test / 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: Begin

%M1.0 %Q0.4 %M20.2 %Q0.5


"FirstScan" "Alarm begin" "Clamp" "Begin"

%Q0.5
"Begin"

%M0.4
"start"

%M202.0
"Tag_12"

%DB7
"T_BEGIN"
%Q0.5 %M0.0 %M0.2 TON %M10.2
"Begin" "a0" "b0" Time "Tag_3"
IN Q
T#15S PT ET T#0ms

%M10.2 %Q0.4
"Tag_3" "Alarm begin"
S

%DB4
"T3"
%Q0.4 TON %Q0.4
"Alarm begin" Time "Alarm begin"
IN Q R
T#2S PT ET T#0ms

Network 2: CLAMP

%Q0.5 %M0.4 %M0.0 %M0.2 %M202.0 %M20.2


"Begin" "start" "a0" "b0" "Tag_12" "Clamp"

%M20.2
"Clamp"

Network 3: spin 1
Totally Integrated
Automation Portal

%M20.2 %M0.5 %M200.0 %M20.3


"Clamp" "closed" "Tag_7" "spin 1"

%M20.3
"spin 1"

%DB1
"T0"
%M20.3 TON
"spin 1" Time
IN Q
T#2S PT ET T#0ms

%M20.3 %Q0.1 %Q0.6 %Q0.0


"spin 1" "T0".Q "A-" "Alarm spin 1" "A+"

%Q0.0
"A+"

%DB2
"T1"
%Q0.0 %M0.1 TON %M10.0
"A+" "a1" Time "Tag_1"
IN Q
T#15S PT ET T#0ms

%M20.3 %M0.1 %Q0.6 %M200.0 %Q0.1


"spin 1" "a1" "Alarm spin 1" "Tag_7" "A-"

%Q0.1
"A-"

%DB3
"T2"
%Q0.1 %M0.0 TON %M10.1
"A-" "a0" Time "Tag_2"
IN Q
T#15S PT ET T#0ms

Network 4: ALARM SPIN 1

%M10.0 %Q0.6
"Tag_1" "Alarm spin 1"
S

%M10.1
"Tag_2"

%DB8
"T_SPIN1"
%Q0.6 TON %Q0.6
"Alarm spin 1" Time "Alarm spin 1"
IN Q R
T#2S PT ET T#0ms

%Q0.6 %M0.4 %M202.0 %M200.0


"Alarm spin 1" "start" "Tag_12" "Tag_7"
N
%M100.0
"Tag_6"

%Q0.1 %M0.0
"A-" "a0"

%M200.0
"Tag_7"

Network 5: spin 2
Totally Integrated
Automation Portal

%M20.2 %M0.5 %M201.0 %M20.4


"Clamp" "closed" "Tag_11" "spin 2"

%M20.4
"spin 2"

%DB10
"T4_SPIN2"
%M20.4 TON
"spin 2" Time
IN Q
T#2S PT ET T#0ms

%M20.4 %Q0.3 %Q0.7 %Q0.2


"spin 2" "T4_SPIN2".Q "B-" "Alarm spin 2" "B+"

%Q0.2
"B+"

%DB11
"T5_SPIN2"
%Q0.2 %M0.3 TON %M30.0
"B+" "b1" Time "Tag_8"
IN Q
T#15S PT ET T#0ms

%M20.4 %M0.3 %Q0.7 %M201.0 %Q0.3


"spin 2" "b1" "Alarm spin 2" "Tag_11" "B-"

%Q0.3
"B-"

%DB12
"T6_SPIN2"
%Q0.3 %M0.2 TON %M30.1
"B-" "b0" Time "Tag_9"
IN Q
T#15S PT ET T#0ms

Network 6: alarm spin 2

%M30.0 %Q0.7
"Tag_8" "Alarm spin 2"
S

%M30.1
"Tag_9"

%DB13
"ALARMSPIN2"
%Q0.7 TON %Q0.7
"Alarm spin 2" Time "Alarm spin 2"
IN Q R
T#2S PT ET T#0ms

%Q0.7 %M0.4 %M202.0 %M201.0


"Alarm spin 2" "start" "Tag_12" "Tag_11"
N
%M31.0
"Tag_10"

%Q0.3 %M0.2
"B-" "b0"

%M201.0
"Tag_11"

Network 7: AND convergence

%M200.0 %M201.0 %Q0.5 %M202.0


"Tag_7" "Tag_11" "Begin" "Tag_12"

You might also like