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

Project6 / PLC - 1 (CPU 1214C DC/DC/DC) / Program Blocks: Main (OB1)

This document contains a summary of the main program for a PLC project. The program uses 6 networks to control 3 motors based on inputs from selector switches and timers. It can operate the motors automatically based on the timer settings, or manually by switching modes. Network 1 controls starting and stopping Motor1. Networks 2-5 similarly control Motors 2 and 3 using ADD instructions to read demand setpoints. Network 6 reads the input for Motor3. The program runs in a continuous cycle to monitor the inputs and control the motor outputs accordingly.

Uploaded by

Dương Hiếu
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)
61 views3 pages

Project6 / PLC - 1 (CPU 1214C DC/DC/DC) / Program Blocks: Main (OB1)

This document contains a summary of the main program for a PLC project. The program uses 6 networks to control 3 motors based on inputs from selector switches and timers. It can operate the motors automatically based on the timer settings, or manually by switching modes. Network 1 controls starting and stopping Motor1. Networks 2-5 similarly control Motors 2 and 3 using ADD instructions to read demand setpoints. Network 6 reads the input for Motor3. The program runs in a continuous cycle to monitor the inputs and control the motor outputs accordingly.

Uploaded by

Dương Hiếu
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

Project6 / PLC_1 [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:

%I0.0 %Q0.0
"Start" "Motor1"
S

%M0.0 %M2.6 %M0.4


"M_Start" "MANUAL" "Auto"

%M2.6 %M2.7 %M0.4


"MANUAL" "MAN_Motor1" "Auto"

Network 2:

%Q0.0 %I0.3 ADD


"Motor1" "SS1" Auto (Int)
P EN ENO
%M0.5 %MW100 %MW100
"Pre_I_SS1" "DemSP1" "DemSP1"
IN1 OUT
1 IN2
%M0.4 %M0.3
"Auto" "M_SS1"
P
%M0.6
"Pre_M_SS1"

Network 3:

%DB7
"IEC_Timer_0_
DB_6"

%Q0.0 TON %Q0.0


"Motor1" Time "Motor1"
IN Q R
T#5s PT ET T#0ms
%DB1
"IEC_Timer_0_DB"
%M0.4 TON %M2.3
"Auto" Time "Motor2"
IN Q S
T#15s PT ET T#0ms

%M2.6 %M3.0
"MANUAL" "MAN_Motor2"

Network 4:
Totally Integrated
Automation Portal

%M2.3 %I0.4 ADD


"Motor2" "SS2" Auto (Int)
P EN ENO
%M1.7 %MW108 %MW108
"Pre_I_SS2" "DemSP2" "DemSP2"
IN1 OUT
1 IN2
%M1.5 %M0.4
"M_SS2" "Auto"
P
%M2.0
"Pre_M_SS2"

Network 5:

%DB8
"IEC_Timer_0_
DB_7"

%M2.3 TON %M2.3


"Motor2" Time "Motor2"
IN Q R
T#5s PT ET T#0ms

%DB2
"IEC_Timer_0_
DB_1"

%M0.4 TON %M2.4


"Auto" Time "Motor3"
IN Q S
T#15s PT ET T#0ms

%M2.6 %M3.1
"MANUAL" "MAN_Motor3"

Network 6:

%M2.4 %I0.5 ADD


"Motor3" "SS3" Auto (Int)
P EN ENO
%M2.1 %MW110 %MW110
"Pre_I_SS3" "DemSP3" "DemSP3"
IN1 OUT
1 IN2
%M1.6 %M0.4
"M_SS3" "Auto"
P
%M2.2
"Pre_M_SS3"

Network 7:

%DB9
"IEC_Timer_0_
DB_8"

%M2.4 TON %M2.4


"Motor3" Time "Motor3"
IN Q R
T#5s PT ET T#0ms

%DB3
"IEC_Timer_0_
DB_2"

%M0.4 TON %Q0.0


"Auto" Time "Motor1"
IN Q S
T#15s PT ET T#0ms

Network 8:

%FC1
"Block_1"
EN ENO

Network 9:
Totally Integrated
Automation Portal

%I0.1 %Q0.0
"Stop" "Motor1"
R

%M0.1 %M0.4 MOVE


"M_Stop" "Auto" EN ENO
0 IN %MW100
OUT1 "DemSP1"

%I0.1 %M2.3
"Stop" "Motor2"
R

%M0.1 %M0.4 MOVE


"M_Stop" "Auto" EN ENO
0 IN %MW108
OUT1 "DemSP2"

%I0.1 %M2.4
"Stop" "Motor3"
R

%M0.1 %M0.4 MOVE


"M_Stop" "Auto" EN ENO
0 IN %MW110
OUT1 "DemSP3"

Network 10:

%I0.1 %Q0.0
"Stop" "Motor1"
R

%M0.1 %M0.4 %M2.3


"M_Stop" "Auto" "Motor2"
R

%M2.4
"Motor3"
R

%M0.1
"M_Stop"
RESET_BF
24

You might also like