PLC S7 300 (SIEMENS)
: - HA 07006 - HB 07034 - HA 07026 - HA 07012 : .
2014
1 |
PLC S7 300 (SIEMENS)
: - HA 07006 - HB 07034 - HA 07026 - HA 07012 : .
2014
2 |
,
, ,
PLC,
PLC,
7
... .
,
. ,
,
.
, ,
. ,
, ,
.
PLC S7 300 Simatic Siemens,
(CPU) 312C. - PLC S7
300, ,
,
, .
,
. ,
, ,
.
3 |
ABSTRACT
The present dissertation is a result of research of the students Delis, Kapogiannis,
Pavlatos and Sideris, and focuses on the construction of an automation panel with the
usage of a Programmable Logic Controller PLC, for its addition to the laboratory
equipment for the class AUTOMATIONS PLC, of the 7th semester of the Electrical
department of the School of Technical Applications at the Technological Educational
Institution of Chalkida.
The dissertation is divided into thematic chapters, which progressively present the tools
necessary to meet the projects objective, examples of usage and finally detailed
applications. Starting with the definition and analysis of the operating principles of a
Programmable Logic Controller, the research continues with the programming languages
used for the coding of the device. The automation panel is then presented, along with the
peripherals and accessories that accompany it, as well as the principles on which the
selection of the specific tools was made in order to achieve the proper results. Finally, a
detailed and extensive description and presentation of the simulations and applications
will be made, both on a construction industry as well as an educational level, such as a
simple motor start, a tank check, and a motor belt check.
The automation panel has been constructed using the Programmable Logic Controller PLC
S7 300 of the Simatic series, by the company Siemens, with a central processing unit
(CPU) model number 312C. The large number of input output possibilities that the PLC
S7 300 features, as well as its capability of proper program usage and function check,
gives the device an educational aspect, since it can apply a multitude of laboratory
exercises of great difficulty and increasingly demanding.
At this point we would all together like to thank our supervising professor, Dr. Mpargiota
Dimitri, and the laboratory professors Dede Ioanni and Tsampasi Eleftherio for the
guidance, patience and valuable help they offered us throughout the entire process of
researching and writing this dissertation.
4 |
................................................................................................................................. 2
ABSTRACT ................................................................................................................................. 3
.................................................................................................................................. 6
1 .............................................................................................................................. 7
1.1 PLC ............................................................................................... 7
1.2 PLC .............................................................................................................. 9
1.3 PLC .................................................................................. 13
1.4 PLC ................................................................................................. 15
1.5 PLC ........................................................................................... 15
2 ............................................................................................................................ 17
2.1 PLC ......................................................................................... 17
2.2 PLC .................................................................................... 19
2.3 ............................................................................ 19
2.3.1 ........................................................................................ 20
2.3.2 3 ..................... 24
3 ............................................................................................................................ 31
3.1 (PLC) SIMATIC S7 300 ......................................... 31
3.2 .......................................................... 35
4 ............................................................................................................................ 40
4.1 ........................................................................................... 40
4.2 IEC 61131 .......................................................................................... 40
5 ............................................................................................................................ 43
5.1 PLC ....................................................................................... 43
5.2 2 ........................................................... 47
5 |
5.3 ................................................................................................ 51
5.4 ................................................. 59
.......................................................................................................................... 68
: ................................................................ 70
.1 3D ........................................................................ 70
A.2 ( ) .......................................................... 71
: .................................... 72
6 |
Programmable Logic Controller PLC.
PLC
.
,
PLC .
1958
.
PLC
.
PLC
.
.
PLC .
PLC S7 300
Sematic Siemens.
1995 Sematic S5 1978.
7 |
1
, PLC,
. PLC
:
-
-
-
-
-
-
-
1.1 PLC
. PLC.
PLC ,
,
.
PLC.
8 |
1.1 PLC
(CPU)
, , .
1 0. 20,4V
28,8V 1
0. ,
, .
RUN .
() , ,
. ,
. (CPU)
9 |
1
0.
STOP, , 1
0, .
.
PLC
.
.
,
PLC.
1.2 PLC
1.2 PLC
PLC 3 , .
3 :
-
10 |
-
-
PLC
. PLC mA .
PLC 120 230V AC.
.
PLC .
. .
(, , )
( , )
.
(, )
.
PLC. .
( ).
.
( ).
PLC hardware . PLC
.
(CPU)
(1/0 )
(RAM ROM EPROM EEPROM)
11 |
1.3 PLC
:
:
PLC
RAM .
(CPU):
, .
,
:
1. (ALU),
.
2. (registers),
ALU.
3. ,
CPU.
4. .
12 |
5. (Data & Address Bus),
.
: ,
. ,
PLC, ( )
PLC.
, 0 .
PLC
. 20,4
28,8V DC.
.
0 20mA 4 20mA,
0 10V -10 10V.
:
. 24V DC, 120V AC 230V AC.
: PLC :
RAM, , ,
.
,
PLC .
.
ROM,
PLC.
EPROM, , ,
RAM.
EPROM .
13 |
:
,
CPU .
, .
Modular PLC Compact PLC.
:
PLC.
:
, , .
PLC.
.
1.
2. ,
.
3. modem,
.
4.
5. monitors
, .
1.3 PLC
PLC
, , , . ,
.
14 |
,
.
, PLC ,
.
PLC:
.
, .
,
.
PLC
, .
PLC
.
PLC
.
.
, ,
, PLC
.
PLC ,
PLC
.
, .
15 |
1.4 PLC
, , PLC .
compact PLC modular PLC.
compact PLC
.
modular PLC
. modular PLC
.
.
1.5 PLC
PLC, :
,
-
.
,
, ,
..
.
.
16 |
PLC ,
.
PLC
.
17 |
2
PLC. ,
PLC.
PLC
PLC.
.
PLC.
.
2.1 PLC
PLC 2 .
.
,
.
.
PLC
.
18 |
Ladder Diagram (LAD): .
Function Block Diagram (FBD): .
Statement List (STL): .
Ladder Diagram
PLC.
Ladder Diagram
.
( ).
Function Block Diagram
.
.
Function Block Diagram
.
, Statement List
.
.
19 |
2.2 PLC
PLC.
.
I Q.
. . Q1 Q2,
.
Ladder Diagram .
.
Statement List
.
Ladder Diagram
PLC.
2.3
2 PLC.
.
20 |
2.3.1
PLC.
.
.
2.1
21 |
2.2
.
I0.0 N.C
STOP I0.1 N.O
START I0.2 N.O
Q0.0
Q0.1
Q0.2 2.1: -
22 |
PLC
2.3 PLC
,
PLC
STL.
STL
A I0.0
L I0.2
O Q0.1
A I01
= Q.00
= Q.01
L I0.1
AN Q0.0
= Q0.2
PE
23 |
LADDER
2.4 Ladder
, STL Ladder
PLC FBD (Fuction Block Diagram).
2.5 FBD
24 |
2.3.2 3
.
, .
1, 2 (N.C).
_ Stop .
H3
.
2.6
.
25 |
F2 I0.0 N.C
STOP S1 I0.1 N.C
S2 I0.2 .
S.3 I0.3 N.0
T1 I0.4 N.C
T2 I0.5 N.C
D1 M0.0
D2 M0.1
D3 M0.2
1 Q0.0
2 Q0.1
H1 Q0.2
H2 Q0.3
H3 Q0.4
2.2 -
26 |
PLC
2.7 PLC
,
STL.
1
0.0
0.1
(
Q.00
O I0.2
)
AN I0.5
AN Q0.1
= Q.00
2
0.0
0.1
(
Q0.1
O I0.3
)
AN I0.4
AN Q.00
= Q.01
27 |
3
AN I0.4
= M.00
5
0.0
= Q0.2
7
A I0.0
= M0.2
4
AN I.05
= M0.1
6
A M0.1
= Q0.3
8
AN M0.2
= Q0.4
LADDER
28 |
2.8 Ladder
29 |
, STL Ladder
PLC FBD (Fuction Block Diagram).
30 |
2.9 FBD
31 |
3
3.1 (PLC) SIMATIC S7 300
PLC Siemens Simatic , S7 300 (CPU) 312C.
PLC Simatic S7 300 (CPU) 312C.
PLC Simatic S7 300
DIN IEC 60721-3-3, 33 33 .
PLC
1.
2.
3.
4.
PLC Simatic S7 300 plexi-glass plc . PLC Simatic S7 300 :
32 |
PLC SIMATIC S7 300
795 1080 hPa
5% 95%
EMC
24V DC 500V DC
230V AC 1460V AC
IP20
0 -60 & 0-40 &
3.1: PLC S7 300
PLC , (. 3.2) .
24V DC 20,4V DC-28,8V DC
120V AC 93V AC -132V AC
230V AC 187V AC -264V DC 3.2:
312C PLC Simatic S7 300 150 sec 37Sec byte : somatic memory card, , . CPU 312C.
33 |
CPU 312C 6w
500ma
60ma
( ) 24v dc
409q
80mm x 125mm x 130mm
LAD/FBD/STL
POINT TO POINT
PROFIBUS
MPI
6
10
0-999
128
MICRO MEMORY CARD 4MB
MNHMH 32KB
FIRMWARE V2.6
HARDWARE 01 3.3 CPU 312C
:
34 |
3.1 CPU 312C
:
1. Simatic Micro Memory Card ejector
2. Interface x2 ( CPU 312C)
3.
4. Interface xi (MPI)
5.
6. ( 3.4)
LED
SF SOFTWARE H HARDWARE
BF BUSS ERROR
DC5V 5V CPU
FRCE
1
2
3
4
5
6
35 |
RUN CPU
STOP CPU
3.4 CPU 312C
3.2
PLC
Simatic S7 300 CPU 312C :
1. logo 2.5 A
2. CPU 312C 10
micro memory card
3.
4.
5. 24V
6.
7. led
CPU 312C :
36 |
3.1 CPU 312C
phoenix contact input AC 240 v. output
24V DC 10 A. :
3.2
37 |
.
N.O
.C, .
(3.3):
3.3 ()
12 LED
.
. 3.4.
3.4 LED ()
.
(3.5).
38 |
3.5
. 3.6:
3.6
1, 2, (220v AC), (24v DC).
1 2
39 |
.
24v DC.
3.7, :
3.7 ,
, ( 3.8),
:
3.8
,
.
40 |
4
4.1
, ,
. , ,
,
.
.
,
.
, ,
, .
International Organization of Standardization (ISO).
,
.
4.2 IEC 61131
1992
(IEC:
International Electro-technical Commission). 2003
.
41 |
IEC 61131,
.
.
IEC 61131 :
Part 1: General Information.
.
Part 2: Equipment requirements and tests.
.
Part 3: Programming languages. ,
,
.
,
.
Part 4: User guidelines.
.
Part 5: Communications.
.
Part 6: Functional safety.
.
Part 7: Fuzzy Control programming.
.
Part 8: Guidelines for the application and implementation of programming
languages.
Part 3 .
(Part 6)
.
42 |
PLC S7 300 CPU 312C
.
43 |
5
PLC.
2
, .
5.1 PLC
. S1 (N.O) S2
(N.O) .
S2,
S1.
5.1
44 |
.
N.C I0.0
S1 N.O I0.1
S2 N.O I0.2
KM1 Q0.0
dS1 S1 M0.0
dS2 S2 M0.1 5.1
PLC
5.2 PLC
,
STL.
45 |
1
A I0.0
AN M0.0
A(
ON M0.1
O Q0.0
)
= Q0.0
2
A I0.1
= M0.0
3
A I0.2
= M0.1
LADDER
5.3 Ladder
46 |
, STL Ladder
PLC FBD (Fuction Block Diagram).
5.4 FBD
47 |
5.2 2
10
2 .
5.5
48 |
.
STOP S1 N.C I0.0
START S2 N.O I0.1
STOP S3 N.C I0.2
START S4 N.O I0.3
F2 N.C I0.4
K1 Q0.0 5.2 -
PLC
5.6 PLC
49 |
,
STL.
A (
O I.01
O I.03
O Q.00
)
A I.00
A I.02
A I.04
= Q.00
LADDER
5.7 Ladder
50 |
, STL Ladder
PLC FBD (Fuction Block Diagram).
5.8 FBD
51 |
5.3
PLC .
, .
.. .
( ..) .
..
.
.
L
KEY
S1 K1 S2 S3 K2 S4
L1 L2
d1 d2
K2 K1
K1 K2 d1 d2
N
5.9
52 |
.
.C.
I0.0
S1 ..
I0.1
S2 ..
I0.2
S3 ..
I0.3
S4 ..
I0.4
KEY ..
I0.5
L1 ..
I0.6
L2 ..
I0.7
d1
M0.0
d2
M0.1
K1 1
Q0.0
K2 2
Q0.1
5.3 -
53 |
PLC
,
STL.
1.1
0.0
(
0.1
Q0.0
)
AN M0.0
AN Q0.1
= Q0.0
1.2
A I0.0
A I0.5
A (
O I0.2
O Q0.0
)
AN M0.0
AN Q0.1
= Q0.0
5.10 PLC
54 |
1.3
0.0 (
0.3 Q0.1
) AN M0.1 AN Q0.0
= Q0.1
1.4 A I0.0 A I0.5
A ( O I0.4 O Q0.1
) AN M0.1 AN Q0.0 = Q0.0
2 0.6
= 0.0
3 0.7
= 0.1
55 |
LADDER
I0.1
( )
( )
( )
( )
( )
( )
I0.0
Q0.0
M0.0 Q0.1 Q0.0
I0.0 I0.5
I0.2
Q0.0
M0.0 Q0.1 Q0.0
I0.0
I0.3
Q0.1
M0.1 Q0.0 Q0.1
Q0.1 Q0.0 M0.1
I0.4
Q0.1
I0.3 I0.0
I0.6 M0.0
I0.7 M0.1
1.1
1.2
1.3
1.4
2
3
5.11 Ladder
56 |
, STL Ladder
PLC FBD (Fuction Block Diagram).
57 |
58 |
5.12 FBD
59 |
5.4
3 .
(.) 1, 4 sec
2 6 sec 3.
(.) 3, 7 sec
2 8 sec 1.
5.13
.
60 |
1
N.C I 124.0
2
N.C I 124.1
3
N.C I 124.2
N.O I 124.3
N.O I 124.4
1 Q 124.0
2 Q 124.1
3 Q 124.2
db M 124.0
5.4 -
61 |
PLC
5.14 PLC
,
STL.
1
A I 124.0
AN T4
A(
O I124.3
O Q 124.0
)
= Q 124.0
1.2
A I124.O
AN T4
A(
O I124.3
O Q124.0
)
LS5T#4S
SD T1
62 |
2.1
A I124.1
AN T3
A T1
= Q124.1
2.2
A I124.1
AN T3
A T1
LS54#6S
SD T2
3
A I124.2
A T2
AN M124.0
= Q124.2
4
A Q124.0
A(
O I124.4
O M124.0
5
AN Q124.2
LS5T#7S
SD T3
6
AN Q124.1
LS5T#8S
SD T4
63 |
LADDER
64 |
65 |
5.15 Ladder
, STL Ladder
PLC FBD (Fuction Block Diagram).
66 |
67 |
5.16 FBT
68 |
Adrover, Elvin Prez. Introduction to PLCs: A Beginner's Guide to Programmable Logic
Controllers. San Bernardino, CA: Elvin Perez Adrover, 2012.
Berger, Hans. Automating with STEP 7 in LAD and FBD: SIMATIC S7-300/400
Programmable Controllers. Erlangen: Publicis, 2012.
Berger, Hans. Automating with STEP 7 in STL and SCL: Programmable Controllers SIMATIC
S7-300/400. Weinheim: Wiley-VCH, 2012.
Bolton, William. Programmable Logic Controllers. Oxford: Newnes, 2009.
Collins, Dennis, and Eamonn Lane. Programmatizomenoi Logikoi Elegktes: Enas Praktikos
Odigos. Athens: Ekdoseis Tziola, 1995.
Dawkins, Nick. Automation and Controls: A Guide to Automation, Controls, PLC's and PLC
Programming. Dawkins, 2014.
Glossas, N., and D. I. Tseles. Arhes Aftomatismou. O.E.D.B., 1999.
Groover, Mikell P. Automation, Production Systems, and Computer-integrated
Manufacturing. Upper Saddle River, NJ: Prentice Hall, 2008.
Kaftan, Jrgen. PLC Basic Course with SIMATIC S7 Structure and Function of Programmable
Logic Controllers, Programming with the SIMATIC S7. Wrzburg: Vogel, 2011.
Krana, G., and E. Daskalopoulou. Viomixanikoi Aftomatismoi Kai Programatizomenoi
Logikoi Elegktes PLC. Ekdoseis Ion, 2001.
Pantazis, N. PLC Programatizomenoi Logikoi Elegktes. Ekdoseis Ion, 2001.
Pantazis, Nick A. Aftomatismoi Me PLC. Ekdoseis A. Stamouli, 1998.
Real Time Automation, Inc. "IEC 61131-3 Protocol Overview." IEC 61131-3 Protocol
Overview. Real Time Automation, Inc., 2009.
.
69 |
"Siemens Industry Online Support - Automation Service, Automation Support, Simatic
Service, Simatic Support, Technical Support, Technical Consulting." Siemens Industry
Online Support. Siemens.
.
Siemens. "Your Global Leader for Automation Technology." Automation Technology: The
Complete Portfolio for Automation. Siemens.
.
"TC1 - Standards." IEC 61131 Standards. PLCopen Technical Comittee 1.
.
,
Edraw Max Ver. 7.2. Release date: Nov. 10, 2013
70 |
:
.1 3D
71 |
A.2 ( )
72 |
:
73 |
74 |
Abstract 11.1 PLC1.2 PLC1.3 PLC1.4 PLC 1.5 PLC
22.1 PLC2.2 PLC2.3 2.3.1 2.3.2 3
33.1 (PLC) Simatic S7 3003.2
44.1 4.2 IEC 61131
55.1 PLC5.2 2 5.3 5.4
: .1 3D A.2 ( )
: