The SIMATIC SIMATIC S7 Sys System tem Family
SIMATIC PCS 7 SIMATIC SIMATIC
NET
Software
SIMATIC SIMATIC
HMI
SIMATIC
PC SIMATIC WinCC SIMATIC DP SIMATIC Controller
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
18.09.2009 PRO1_01E.1
Co n t en t s
Pag e
The SIMATI SIMATIC C S7 System System Family Family Object Objective ives s
SITRAIN Training for Automation and Industrial Solutions Solutions
...... ......... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...
2
...... ......... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... .....
3
SIMATI SIMATIC C S7 Overvi Overview ew
...... ......... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...
4
What does "Totally "Totally Integrated Integrated Automation Automation"" Mean .......... ............... ........... ........... .......... .......... .......... ........... ............ ........... .......... .......... .......... ......... .... The SIMAT SIMATIC IC S7/C7 and WinAC Contro Controller llers s ...... ......... ...... ...... ...... ...... ...... ...... ...... ..... ..... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... .....
5 6
S7-200 S7-200 ...... ......... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ... S7-200 S7-200 Micro Controller Controller ........... ................. ............ ............ ........... ........... ........... ........... ............ ........... .......... ........... .......... .......... ........... .......... .......... .......... ........... ........... .....
7 8
S7-200 S7-200:: Modul Modules es / Expans Expansion ion Module Modules s (EM) (EM) ...... ......... ...... ...... ...... ...... ...... ...... ...... ..... ..... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... .....
9
S7 - 300 Automation Automation System System .......... ................ ........... ........... ........... .......... ........... ........... ........... ........... .......... ........... ........... ........... ............ ........... .......... .......... .......... ....... S7-300: S7-300: Modules Modules ........... ............... .......... ............ ........... .......... .......... .......... .......... ........... ........... .......... ........... ........... .......... ........... ........... .......... ........... ............ ............ ........... ........ ...
10 11
S7-300: S7-300: CPU Design
12
.......... ................ ........... .......... .......... .......... .......... .......... ........... ............ ............ ........... .......... ........... ............ ........... .......... ........... ........... .......... ........... ........ ..
S7-400 S7-400 Automation Automation System System S7-400: S7-400: Modules Modules
.......... ................ ............ ........... .......... .......... .......... .......... ........... ............ ........... .......... ........... ........... .......... ........... ........... .......... .......... ......... ....
13
........... ............... .......... ............ ........... .......... .......... .......... .......... ........... ........... .......... ........... ........... .......... ........... ........... .......... ........... ............ ............ ........... ........ ...
14
S7-400: S7-400: CPU Design
.......... ................ ........... .......... .......... .......... .......... .......... ........... ............ ............ ........... .......... ........... ............ ........... .......... ........... ........... .......... ........... ........ ..
15
SIMATIC SIMATIC Embedded Embedded Automation Automation - Overview Overview ........... ................ ........... ........... .......... .......... .......... ........... ........... .......... ........... ............ ............ ........... ........ ...
16
Device Device Spectru Spectrum m of SIMATIC SIMATIC Embedded Embedded Automation Automation .......... ............... ........... ........... .......... .......... .......... ........... ............ ........... .......... ........... ........
17
An Application Example Example for PC-based Automation
.......................................................................... ....................................... ...................................
18
SIMATIC SIMATIC Microbox Microbox 427-B RTX "Embedded "Embedded PC" ........... ................ .......... .......... ........... ............ ............ ............ ............ ........... .......... .......... ........... ........
19
SIMAT SIMATIC IC S7- mEC (Modul (Modular ar Embed Embedded ded Contro Controlle ller) r) ...... ......... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... .....
20
PG/PC PG/PC Require Requirements ments for Installin Installing g STEP STEP 7 ........... ................ .......... ........... ........... .......... ........... ............ ........... .......... ........... ............ ........... .......... .......... .....
21
Installing Installing the STEP 7 Basic Basic Package Package .......... ................ ............ ............ ........... .......... .......... .......... .......... ........... ........... .......... ........... ............ ............ ........... ......... ....
22
STEP STE P 7 Tools
........... ................ .......... .......... ........... ............ ........... .......... .......... ........... ............ ............ ........... .......... ........... ........... ........... ............ ........... .......... ......... ......... .......... ........ ...
23
STEP STE P 7 Software Software Packages Packages (Examples) (Examples) .......... ................ ........... .......... .......... ........... ............ ............ ........... .......... ........... ........... ........... ............ ........... ......... ....
24
If You You Want Want to Know More about the Topic Topic "TIA" "TIA" .......... ................ ........... .......... .......... ........... ............ ............ .......... ......... ........... ............ ........... ........ ...
25
More Informatio Information n
26
........... ................ .......... .......... .......... ........... ........... .......... ........... ............ ............ ........... .......... ........... ............ ............ ........... .......... ........... .......... .......... ............ ........
SITRAIN Training for Automation and Industrial Solutions
Page 1
ST-PRO1 The SIMATIC S7 System Family
The SIMATIC SIMATIC S7 Sys System tem Family
SIMATIC PCS 7 SIMATIC SIMATIC
NET
Software
SIMATIC HMI
SIMATIC
SIMATIC PC
SIMATIC WinCC SIMATIC DP SIMATIC Controller
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
18.09.2009 PRO1_01E.2
SITRAIN Training for Automation and Industrial Solutions Solutions
Co n t en t s Pag e Programmi Programming ng Sequence Sequence Control Control Systems Systems with S7- GRAPH .......... ................ ........... .......... .......... .......... .......... ........... ........... .......... ......... .... 27 The State Diagram Diagram Method Method S7- HiGraph HiGraph
........... ................ ........... ............ ........... ........... ........... ........... ............ ........... .......... ........... .......... ......... ........... ......... ...
28
Programmi Programming ng in the High Level Language Language S7- SCL ........... ................. ........... .......... .......... ........... ............ ........... ......... .......... ............ ........... ......... ....
29
CFC - Tool for Graphic Graphic Interconnect Interconnection ion of S7 Blocks Blocks .......... ............... ........... ............ ........... .......... .......... .......... .......... .......... ........... ........... ......... ....
30
Process Process Diagnosis Diagnosis with S7- PDIAG PDIAG
........... ................. ........... .......... .......... .......... ........... ........... .......... .......... .......... ........... ............ ........... ........... ............ ........... .......
31
Testing Testing User Programs Programs with S7- PLCSIM PLCSIM ........... ................ .......... ........... ........... .......... ........... ............ ........... .......... ........... ............ ........... .......... ........... ........ .. Runtime Runtime Softwa Software re for Closed-loop Closed-loop Control Control Enginee Engineering ring Tasks Tasks ........... ................ .......... ........... .......... .......... ............ ........... .......... .......... .....
32 33
Communica Communicating ting with SIMATIC SIMATIC NET ........... ................ .......... .......... ........... ........... ........... ........... ........... ............ ........... .......... .......... ........... ........... .......... ........... ........ Operator Operator Control Control and Proces Process s Monitoring Monitoring with SIMAT SIMATIC IC HMI HMI ........... ................ .......... ........... ............ .......... .......... ........... .......... .......... .......
34 35
Process Process Visual Visualizati ization on and and Operator Operator Control Control with with WinCC WinCC .......... ................ ........... .......... .......... .......... .......... .......... .......... ........... ........... ......... ....
36
Process Process Autom Automation ation with SIMATIC SIMATIC PCS 7 ........... ................. ........... ........... ........... ........... ........... ........... ........... ........... ........... ........... ........... .......... ........... ...... DRIVES DRIVES Technology Technology ........... ................ .......... .......... .......... ........... ........... .......... .......... ........... ........... .......... ........... ........... .......... .......... ........... ........... .......... .......... .......... .......... .....
37 38
The SINAMICS SINAMICS Family Family
39
............ ................. .......... .......... ........... ........... .......... .......... .......... ........... ........... .......... ........... ............ ............ ........... .......... ........... ........... .......... ......... ....
SITRAIN Training for Automation and Industrial Solutions
Page 2
ST-PRO1 The SIMATIC S7 System Family
Objectives Upon completion of the chapter the participant will ... ...
have an overview of the SIMATIC S7 system family
...
be fa familiar wi with th the S7 S7-300 an and S7 S7-400 au automation sy systems
...
have have an overv verviiew of the the modu odules les avail vailab ablle for for thes these e aut automat omatiion systems
...
under nderst sta and the the con conce cep pt of of "To "Tota tall lly y Int Integ egra rate ted d Au Automa tomati tion on"" (T (T.I.A .I.A.) .)
...
be familiar with the programming devices
...
be fa familiar wi with th the PC PC re require irements fo for wo working wi with ST STEP7
...
be fam famil ilia iarr wit with h the the too tools of the the STE STEP7 P7 basic asic prog rogram ramming ming pack ackage age
…
have have an ove overvie rview w of the the most most impo import rta ant tool tools s used used in the the T.I.A .I.A.. concept
SIMATIC S7 Siemens AG 2008. All rights reserved.
SITRAIN Training for Automation and Industrial Solutions
Date: File:
18.09.2009 PRO1_01E.3
Page 3
SITRAIN Training for Automation and Industrial Solutions
ST-PRO1 The SIMATIC S7 System Family
SIMATIC S7 Overview SIMATIC PG SIMATIC PC
SIMATIC HMI
SIMATIC Software
MPI Network
SIMATIC NET
Industrial Ethernet PROFIBUS
PC-based
SIMATIC Controller SIEMENS
SF RUN STOP
I0.0
Q0.0
I0.1 I0.2
Q0.1 Q0.2
I0.3 I0.4 I0.5
Q0.3 Q0.4
CPU212
Q0.5
I0.6 I0.7
SIMATIC S7-200
PROFIBUS DP
AS-Interface
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.4
Introduction
For the operation of machines, equipment and processes in almost all areas of manufacturing you require control elements in addition to energy supply. It must be possible to initiate, control, monitor and end the operation of any g iven machine or process.
Hard-wired Controllers -> PLC
In the hard-wired controllers of the past, the program logic was governed by the task-specific wiring of contactors and relays. Today, programmable logic controllers are used to solve automation tasks. The logic stored in the program memory of an automation system does not depend on equipment design and wiring and can be modified at any time with the help of a programming device.
Totally Integrated Auto mation
SITRAIN
Production processes are no longer seen as individual partial processes, but rather as integral components of an entire production process. The total integration of the entire automation environment is today achieved with the help of: •
one common software environment that integrates all components and tasks into one uniform easy to use system
•
a common data management (central database)
•
a common communication between all participating automation components.
Training for Automation and Industrial Solutions
Page 4
ST-PRO1 The SIMATIC S7 System Family
What do es " Totally Integrated Autom ation" Mean
PCS 7
WinCC
NET g n i r e e n i g n E
SIMATIC S7
NET Instrum.
Drives M
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
18.09.2009 PRO1_01E.5
SITRAIN Training for Automation and Industrial Solutions
Totally Integrated Auto mation
The new SIMATIC family unifies all devices and systems, such as hardware and software, into a uniform, powerful system platform. In this platform existing barriers between computer, PLC, and process control have been overcome. Operator control and monitoring are improved.
Advantages
This totally integrated automation offers you, among other things, the following advantages: •
A scalable hardware platform. The optimal (price/performance) functionality (PLC or computer) can be chosen for the task to be solved.
•
An open totally integrated automation environment. An existing system can be easily extended, or future automation solutions can be integrated. Existing investments retain their value. The transition from an existing SIMATIC, TELEPERM or TI environment can be carried out ver y easily.
SITRAIN
•
Powerful software increases the productivity in the implementation of a project reducing the engineering and life cycle costs. In addition, expenses for commissioning, maintenance and service are reduced.
•
SIMATIC is based on Windows standards and can thus easily use their applications (standard software) and communication mechanisms.
Training for Automation and Industrial Solutions
Page 5
ST-PRO1 The SIMATIC S7 System Family
The SIMATIC S7/C7 and WinAC Controll ers modular
Upper and middle performance range
SIMATIC S7 - 400 Lower and middle performance range
SIMATIC S7 - 300
Micro PLC
SIMATIC WinAC
complete
modular
SIMATIC C7 – 6xx
compact
SIMATIC S7 - 200
SIMATIC S7
Logo
Date: File:
Siemens AG 2008. All rights reserved.
18.09.2009 PRO1_01E.6
SITRAIN Training for Automation and Industrial Solutions
SIMATIC S7
The programmable logic controller family consists of the Micro PLC (S7-200) performance range, the lower/middle performance range (S7-300) and the middle/upper performance range (S7-400).
SIMATIC C7
This complete system is the combination of a PLC (S7-300) and an operator panel of the HMI operator control and process monitoring system. The integration of programmable logic controller and operator panel in one device makes complete machine controls in the smallest space and at an economical price possible.
WinAC
WinAC is a PC-based solution. It is used when various automation tasks (control, visualization, data processing) are to be solved with a PC.
SITRAIN
Training for Automation and Industrial Solutions
Page 6
ST-PRO1 The SIMATIC S7 System Family
S7-200
S7-22x
S7-21x
EM 221
SIEMENS
SF RUN
I0.0
STOP
CPU 214
I1.0 I1.1
Q0.0
I0.2 I0.3
I1.2
Q0.2 Q0.3
I.1
I1.3
I0.4
I1.4
Q0.4
I.3
I0.5
I1.5
Q0.5
I.4
Q0.6
I.5
I0.1
I0.6 I0.7
Q0.1
Q1.0 Q1.1
DI 8 x DC24V I.0
I.2
Q0.7
I.6
SIMATIC S7-200
I.7
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Features
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.7
•
Modular small control system for the low-end performance range,
•
Performance-graded range of CPUs,
•
Extensive selection of modules,
•
Expandable design with up to 7 modules,
•
Backplane bus integrated in the modules,
•
Can be networked with - RS 485 communications interface or - PROFIBUS or - connected with Industrial Ethernet,
SITRAIN
•
Central PG/PC connection with access to all modules,
•
No slot rules for peripheral modules,
•
Own software,
•
"Complete package" with power supply, CPU, I/O in one device,
•
"Micro PLC" with integrated functions.
Training for Automation and Industrial Solutions
Page 7
ST-PRO1 The SIMATIC S7 System Family
S7-200 Micr o Cont rol ler
Status Indicators for Integrated DO Status Indicators
- Potentiometer - Memory Card - Mode Selector
PPI Connection
Status Indicators for Integrated DI
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Mode Selecto r
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.8
For manual mode selection of the CPU: STOP = Stop mode, the program is not executed. TERM
= Program execution, read/write access possible from PG.
RUN
= Program execution, read-only access possible from PG.
Status Indicators (LEDs)
SF RUN STOP DP
= = = =
Memory Card
Slot for memory card. A memory card saves the program contents in the event of a power outage without the need for a battery.
PPI Connectio n
The programming device / text display or another CPU is connected here.
Group error; internal CPU fault; red Run mode; green Stop mode; yellow PROFIBUS-DP (only CPU 215)
This enables you to access several controllers from a PG or text display. As well, the S7-200 CPUs use the Network Read (NETR) and Network Write (NETW) instructions to read and write to each other (peer-to-peer communication).
SITRAIN
Training for Automation and Industrial Solutions
Page 8
ST-PRO1 The SIMATIC S7 System Family
S7-200: Modu les / Expansi on Modules (EM)
I / O Modules
Function Modules (FM)
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Expansion Modules (EM)
18.09.2009 PRO1_01E.9
•
Digital input modules: - 24VDC - 120/230VAC
•
Digital output modules: - 24VDC - Relay
•
Analog input modules: - Voltage - Current - Resistance - Thermocouple
•
Analog output modules: - Voltage - Current
Communications Processors (CP)
SITRAIN Training for Automation and Industrial Solutions
Communications Processors (CP)
Using the CP 242-2, the S7-200 can be connected to an AS-Interface as the master. In that way, 31 AS-Interface slaves can control up to 248 binary elements. This greatly increases the number of inputs/outputs of the S7-200. Other communications modules are the modem and PROFIBUS-DP expansion modules. The SIMATIC NET CP 243-1 can be used to connect to Industrial Ethernet.
Accesso ries
Bus connector
SITRAIN
Training for Automation and Industrial Solutions
Page 9
ST-PRO1 The SIMATIC S7 System Family
S7 - 300 Autom ation System
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Features
SITRAIN
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.10
•
Modular small control system for the lower and middle performance range
•
Performance-graded range of CPUs
•
Extensive selection of modules
•
Expandable design with up to 32 modules
•
Backplane bus integrated in the modules
•
Can be networked with -
Multipoint Interface (MPI),
-
PROFIBUS or
-
Industrial Ethernet or
-
PROFINET
•
Central PG/PC connection with access to all modules
•
No slot rules for peripheral modules,
•
Configuration and parameter setting with the help of the "Hardware Configuration" tool
Training for Automation and Industrial Solutions
Page 10
ST-PRO1 The SIMATIC S7 System Family
S7-300: Mod ules
PS (optional)
CPU
IM (optional)
SM: DI
SIMATIC S7
SM: DO
Date: File:
Siemens AG 2008. All rights reserved.
SM: AI
FM: - Counting - Positioning - Closed-loop control
SM: AO
CP: - Point-to Point - PROFIBUS - Industrial Ethernet
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.11
Signal Modules
•
Digital input modules:
24VDC, 120/230VAC
(SM)
•
Digital output modules:
24VDC,
•
Analog input modules:
Voltage, Current, Resistance, Thermocouple
•
Analog output modules:
Voltage, Current
Relay
Interface Modules (IM)
The IM360/IM361 and IM365 make multi-tier configurations possible. The interface modules loop the bus from one tier to the next.
Dummy Modules (DM)
The DM 370 dummy module reserves a slot for a signal module whose parameters have not yet been assigned. A dummy module can also be used to reserve a slot for installation of an interface module at a later date.
Function Modules (FM)
Perform "special functions": • Counting • Positioning • Closed-loop control.
Communications Processors (CP)
Provide the following networking facilities: • Point-to-Point connections • PROFIBUS • Industrial Ethernet •
Accessories
SITRAIN
PROFINET.
Bus connectors and front connectors
Training for Automation and Industrial Solutions
Page 11
ST-PRO1 The SIMATIC S7 System Family
S7-300: CPU Design CPU 315-2DP until Oct. 2002
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Mode Selecto r
Status Indicators (LEDs)
Memory Card
CPU 315-2DP after Oct. 2002
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.12
MRES
= Memory reset function (Module Reset)
STOP
= Stop mode, the program is not executed.
RUN RUN-P
= Program execution, read-only access possible from PG. = Program execution, read/write access possible from PG.
SF BATF
= Group error; internal CPU fault or fault in module with diagnostics capability. = Battery fault; battery empty or non-existent.
DC5V FRCE
= Internal 5 VDC voltage indicator. = FORCE; indicates that at least one input or output is forced.
RUN
= Flashes when the CPU is starting up, then a steady light in Run mode.
STOP
= Shows a steady light in Stop mode. Flashes slowly for a memory reset request, Flashes quickly when a memory reset is being carried out, Flashes slowly when a memory reset is necessary because a memory card has been inserted.
A slot is provided for a memory card. The memory card saves the program contents in the event of a power outage without the need for a battery. For CPUs after Oct. 2002, a Micro Memory Card is always necessary for operation. It also provides the backup in the event of a power outage.
Battery Compartment For CPUs up until Oct. 2002, there is a receptacle for a lithium battery under the cover. The battery provides backup power to save the contents of the RAM in the event of a power outage. For CPUs after Oct. 2002, no battery is necessary. MPI Connectio n
Connection for a programming device or other device with an MPI interface.
DP Interface
Interface for direct connection of distributed I/Os to the CPU.
SITRAIN
Training for Automation and Industrial Solutions
Page 12
ST-PRO1 The SIMATIC S7 System Family
S7-400 Autom ation System
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Features
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.13
•
The power PLC for the mid to upper performance range,
•
Performance-graded range of CPUs
•
Extensive selection of modules
•
Expandable design to over 300 modules
•
Backplane bus integrated in the modules
•
Can be networked with - Multipoint interface (MPI), - PROFIBUS or - Industrial Ethernet or - PROFINET
SITRAIN
•
Central PG/PC connection with access to all modules
•
No slot restrictions
•
Configuration and parameter setting with the help of the "Hardware Configuration" tool
•
Multicomputing (up to four CPUs can be used in the central rack).
Training for Automation and Industrial Solutions
Page 13
ST-PRO1 The SIMATIC S7 System Family
S7-400: Mod ules
PS
CPU
SM: DI
SM: DO
SIMATIC S7
SM: AI
Date: File:
Siemens AG 2008. All rights reserved.
SM: AO
CP
SM
FM
IM
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.14
Signal Modules
•
Digital input modules: 24VDC, 120/230VAC
(SM)
•
Digital output modules: 24VDC, Relay
•
Analog input modules: Voltage, Current, Resistance, Thermocouple
•
Analog output modules: Voltage, Current.
Interface Modules (IM)
The IM460, IM461, IM463, IM467 interface modules provide the connection between various racks: • •
UR1 (Universal Rack) with up to 18 modules UR2 (Universal Rack) with up to 9 modules
•
ER1 (Expansion Rack) with up to 18 modules
•
ER2 (Expansion Rack) with up to 9 modules.
Function Modules
Perform "special functions":
(FM)
•
Counting
•
Positioning
•
Closed-loop control.
Communications
Provide the following networking facilities:
Processors (CP)
•
Point-to-Point connections
•
PROFIBUS
•
Industrial Ethernet
•
PROFINET.
SITRAIN
Training for Automation and Industrial Solutions
Page 14
ST-PRO1 The SIMATIC S7 System Family
S7-400: CPU Desi gn
Error LEDs Slot for Memory Card Mode Selector MPI/DP Interface DP Interface
External Battery Supply
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.15
Fault LEDs
LEDs for the CPU‘s statuses and faults, both internal and external
Memory Cards
With the S7-400 CPUs you can, depending on your requirements, insert RAM or flash EPROM cards as external load memory: •
RAM cards are available with a capacity of: 64KByte, 256KByte, 1MByte, 2MByte. The CPU battery backs up the contents.
•
Flash EPROM cards are available with a capacity of: 64KByte, 256KByte, 1MByte, 2MByte, 4MByte, 8MByte, 16MByte. The contents are backed-up on the integrated EEPROMs.
Mode Selecto r
MPI / DP Interface
MRES STOP
= Memory reset function (Module RESet) = STOP mode, that is, no program execution and output disabled ("OD" mode = Output Disabled).
RUN
= Program execution, read-only access possible from PG.
RUN-P
= Program execution, read/write access possible from PG.
MPI / DP interface (parameter-assignable in HW-Config) for •
establishing the online connection to the programming device
•
connecting to distributed peripherals (DP)
•
data exchange with other stations (S7 Communication)
DP Interface
For connecting to distributed peripherals (DP, only for CPUs with 2 interfaces)
EXT-BATT
Additional external battery socket for a 5 VDC to 15 VDC source to back up the RAM when the power supply is being replaced.
SITRAIN
Training for Automation and Industrial Solutions
Page 15
ST-PRO1 The SIMATIC S7 System Family
SIMATIC Embedded Au tomation - Overview Modular Controller
IPC
S7-mEC RTX
SIMATIC S7
Open + Standard PC
Highest ruggedness Modularity Scalable Commissioning through “Automators”
H / F functionality 10 year replacement parts availability Long-term availability Data-secure
Highest ruggedness Modularity Scalable Commissioning through “Automators”
SIMATIC Soft-PLC and HMI options Standard PC operating system and interfaces Openness (HW + SW) State-of-the-art PC technology
Rugged (embedded) Commissioning requires PC know-how
SIMATIC Soft-PLC and HMI options Standard PC operating system and interfaces Openness (HW + SW) Stat-of-the-art PC technology
The Best of Both Worlds
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
PC-based Contr ol
18.09.2009 PRO1_01E.16
SITRAIN Training for Automation and Industrial Solutions
SIMATIC Embedded Automation is the implementation of various automation tasks (PLC programming, visualization, data processing, HMI services) on one common PC and software platform. Today, three fundamental directions can be derived from this: •
Modular Controllers: field-proven S7-300 and S7-400 controllers with their different versions and performance characteristics
•
Embedded Controllers such as SIMATIC S7-mEC and SIMATIC Microbox 427B
•
SIMATIC Panel PCs with Win AC MP and Industrial PCs
For this purpose, Siemens offers the System PC based Automation as a block out of the area of "SIMATIC Totally Integrated Automation". Configuration, programming and parameter-assignment is handled by the familiar engineering tool STEP 7 as of Version V5.4 SP4. The WinCC flexible software package makes the HMI configuration possible. The existing WinAC RTX 2005 software is being replaced by the 2008 version. The most significant expansion is the PROFINET functionality with PN IO and CBA (Component Based Automation). Included in this, among other things, is the high performance operation of PROFINET IO as well as the open communication via "Open User Communication".
SITRAIN
Training for Automation and Industrial Solutions
Page 16
ST-PRO1 The SIMATIC S7 System Family
Device Spectrum of SIMATIC Embedded Automatio n
SIMATIC Microbox 427B- RTX SIMATIC Microbox 427B- HMI/RTX SIMATIC Panel PC 477B- HMI SIMATIC Panel PC 477B- HMI/RTX
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Device Spectru m
SITRAIN
SIMATIC Panel MP 177/277/377 + WinAC MP SIMATIC S7-mEC SIMATIC WinAC 2008 RTX
18.09.2009 PRO1_01E.17
SITRAIN Training for Automation and Industrial Solutions
The slide shows an overview of the most important device components that are available for SIMATIC Embedded Automation.
Training for Automation and Industrial Solutions
Page 17
ST-PRO1 The SIMATIC S7 System Family
An Ap pl ic ati on Ex ampl e fo r PC-based A ut om ati on
WinCC flexible Thin Client
PLC
PG/PC
HMI
Data server
Windows Ethernet interface
System / Cell network 169.254...
3rd party device
WINAC RTX PROFINET interface
OUC 192.168...
CBA
PLC
Main applicatio n case for PC-based Au to mat io n:
HMI
Field device Drive
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
PROFINET IO local “behind“ CPU to avoid dependancy on system configuration (independent assignment of IP addresses).
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.18
Applic ation Example The application example above shows a possible structure for the use of a SIMATIC Microbox 427-B in an automation solution. The connection of local PN IO slaves takes place behind the CPU to avoid dependencies on the system configuration. PROFINET IO RT services can be used in parallel with CBA functions on the same line. Third party devices can be addressed via the open T communication (Open user communication) (T-send and T-receive). WinAC RTX 2008
SIMATIC WinAC RTX 2008 makes use of a PROFINET IO Controller Interface for operating distributed PROFINET peripherals. Thereby, the RT and IRT operating modes are supported. Moreover, two different interface types can be operated with WinAC RTX 2008: •
the Standard Ethernet (LAN-Interface) of the SIMATIC PC
•
the CP1616/1604, integrated PROFINET interface of the S7-mEC and the SIMATIC PC
The interface integration in WinAC RTX 2008 and in the familiar STEP 7 configuration takes place similar to the PROFIBUS interfaces as submodules that are used today. They behave like the integrated PN interface of the SIMATIC S7CPUs. Basically, the following types of data transmission are available (Standard Ethernet LAN operating mode):
Realtime Core
SITRAIN
•
PROFINET IO RT with up to 128 PROFINET IO devices
•
PROFINET Component Based Automation (CBA)
•
Open User Communication (T-communication)
•
S7 communication and routing
WinAC RTX 2008 simplifies the installation of the Ardence RTX realtime core. Effective immediately, this is completely integrated in the setup of WinAC RTX and no longer has to be installed separately.
Training for Automation and Industrial Solutions
Page 18
ST-PRO1 The SIMATIC S7 System Family
SIMATIC Microb ox 427-B RTX " Embedded PC"
System Fault
RUN / STOP
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Microbox 427B…
18.09.2009 PRO1_01E.19
SITRAIN Training for Automation and Industrial Solutions
The SIMATIC Microbox 427B-HMI/RTX is an "embedded solution" for combined controller and operator control and visualization tasks. The ready-to-go Microbox provides the WinAC RTX, WinCC flexible RT and Windows XPe software preinstalled. Special properties with regards to retentive storing of SIMATIC WinAC RTX user data exist. Configuration and programming is done as usual with STEP 7. Industrial Ethernet and PROFIBUS interfaces are available for download activities and data communication. Furthermore, USB interfaces, connection possibilities for flat screens (DVI/VGA), as well as a serial RS232 interface and up to three PC/104Plus cards are available. SIMATIC WinAC RTX makes the use of an "Open Development Kit" for implementing application-specific functions in the PLC program possible.
SITRAIN
Training for Automation and Industrial Solutions
Page 19
ST-PRO1 The SIMATIC S7 System Family
SIMATIC S7- mEC (Modul ar Embedded Controller) USB connection for mouse etc.
Remote Desktop Protocol (RDP) for access to all S7-mEC programs
Thin Client
EM PC
EM PCI-104
STEP 7 for parameterization + diagnosis (RTX)
EC31 RTX
s u B P
2x USB 1x IE/PN 1x serial 1x DVI-I 1x serial 1x CF slot
SIMATIC S7
Connection of S7 standard peripherals Up to 3 PCI cards
Date: File:
Siemens AG 2008. All rights reserved.
18.09.2009 PRO1_01E.20
SITRAIN Training for Automation and Industrial Solutions
Embedded Controller The new high-performance SIMATIC S7-mEC "modular embedded controller" completes the product portfolio in the area of the SIMATIC Controller. The benefits of a Standard S7 Controller a re combined with those of a PC-based solution. Different automation solution tasks can be implemented on one hardware platform with the S7-mEC. The hardware basis consists of current PC technology with an Intel Core Duo 1.2 GHz processor, a 2GB Flash Disk and 1 GB main memory. SIMATIC WinAC RTX 2008 is used as the application program, Windows XPe functions as the operating system. Remote services, such as, remote monitoring via TCP/IP services are available. The S7-mEC also has a Multimedia Card Slot (MMC). The design without fan and hard drive is well-suited for the industrial environment. Three Industrial Ethernet ports and up to two additional USB interfaces enable the problem-free integration in existing automation scenarios. The S7-mEC "modular embedded controller" is installed and configured like an S7-300 PLC. SIMATIC STEP 7 V5.4 SP4 with additional hardware patch is used as the engineering tool (RTX version on the S7-mEC necessary). WinCC flexible can be used as an additional option for operator control and monitoring. The new SIMATIC Thin Client and other Windows XPe applications can also be used.
SITRAIN
Training for Automation and Industrial Solutions
Page 20
ST-PRO1 The SIMATIC S7 System Family
PG/PC Requir ements f or Installi ng STEP 7 Operating Systems :
Microsoft Windows 2000 Professional Microsoft Windows XP Professional Microsoft Windows Vista
Memory on the Hard Drive:
Depending on the installation, between 400 MB and 800 MB
Mouse:
Yes
Interfaces :
• • • • •
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Requirements
CP5611 (PCI) or CP5512 (PCMCIA) or PC adapter (USB) Industrial Ethernet Interface (NIC) Programming interface for Memory Card (optional)
18.09.2009 PRO1_01E.21
SITRAIN Training for Automation and Industrial Solutions
SIMATIC Programming devices (PG) provide the optimum basis for using the STEP 7 software. You can, however, also use a PC that fulfills the above-listed requirements. So that you can make the necessary online connection between the automation system (PLC) and the PC, the PC must be equipped with one of the interfaces listed in the slide above. If user programs are to be loaded on memory cards outside of the CPU, the PC must also be equipped with the appropriate p rogramming interface.
SITRAIN
Training for Automation and Industrial Solutions
Page 21
ST-PRO1 The SIMATIC S7 System Family
Installing the STEP 7 Basic Package
Double-click on icon
Ac ti vate through Start menu
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Installation
18.09.2009 PRO1_01E.22
SITRAIN Training for Automation and Industrial Solutions
1. Activate "Setup.exe" on the Installation CD or use the automatic Setup routine activation 2. Choose options 3. Choose language(s) 4. Insert authorization disk when prompted. 5. Re-boot when prompted
Software Protection
The STEP 7 software is copy-protected and can only be used on one programming device at a time. When you have installed the software, you cannot start using it until you have transferred the authorization to the hard disk drive from the authorization disk.
Notes
• Be sure to read the notes in the README.TXT file on the authorization disk. If you do not observe these instructions, you risk losing your authorization. • For emergency operation, the STEP 7 basic package can also be used without authorization. As well, there is a lso a 14 day limited authorization available in addition to the unlimited (in time) authorization.
Hot fixes
STEP7 software updates can be downloaded from the Internet.
Result
The main tool in STEP 7 is the SIMATIC Manager. There are two ways in which to activate it: 1. through the Task bar Start SIMATIC SIMATIC Manager or through 2. the icon "SIMATIC Manager" on the Windows Desktop.
SITRAIN
Training for Automation and Industrial Solutions
Page 22
ST-PRO1 The SIMATIC S7 System Family
STEP 7 Tools
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
18.09.2009 PRO1_01E.23
SITRAIN Training for Automation and Industrial Solutions
SIMATIC Manager
The SIMATIC Manager manages the STEP 7 projects. It is the main program and also appears on the WINDOWS desktop.
Notes
"STEP 7 - Readme" provides detailed information about the version, installation procedure, etc.
LAD, STL, FBD
Tool for writing STEP 7 user programs in the "Ladder Diagram", "Statement List" or "Function Block Diagram" programming languages.
Memory Card Parameter As signment.
You can save your user programs on EPROM cards by either using the programming device or an external prommer. Different drivers are required, depending on the application.
Configuring Networks
Network configuration with the "NetPro" tool which belongs to the STEP 7 basic package.
Setting the PG-PC Interface
This tool is used for setting the local node address, the transmission speed and the highest node address in the MPI network.
PID Control Parameter As signment
The basic STEP 7 software package also includes blocks for solving PID (closed-loop) control problems. You choose "PID Control Parameter Assignment" to start the program for assigning parameters to the closed-loop control blocks.
Convertin g S5 Files
STEP5 programs can be converted into the corre sponding STEP 7 programs with the help of the S5/S7 converter.
Config ure SIMATIC Workspace
This option provides facilities for configuring multi-user systems.
Converting TI Files
SIMATIC TI programs can be converted into the corresponding STEP 7 program with the help of the TI/S7 converter.
SITRAIN
Training for Automation and Industrial Solutions
Page 23
ST-PRO1 The SIMATIC S7 System Family
STEP 7 Software Packages (Examples) Which PLC? SIMATIC S7-200
SIMATIC S7-300
SIMATIC S7-300
Necessary STEP 7 Micro/WIN
STEP 7 Lite
STEP 7
SIMATIC S7-400
STEP 7 Professio nal
STEP 7
SIMATIC S7
Tele Service
S7- PLCSIM
S7- SCL
CFC
S7- GRAPH
S7- HiGraph
Fuzzy Control
Standard PID Control
Modular PID Control
DOCPRO
TeleService
S7- PDIAG
S7- PLCSIM
PRODAVE MPI
S7- SCL
S7- PLCSIM
S7- GRAPH
Date: File:
Siemens AG 2008. All rights reserved.
STEP 7
Options
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.24
STEP 7 is the basic package for configuring SIMATIC S7-300 or S7-400 systems. With STEP 7 you can: • configure hardware and assign parameters to it; • configure communication; • program; • test and debug; • document and archive; • carry out diagnosis.
STEP 7 Lit e
STEP 7 Lite can be used to program the SIMATIC S7-300 (also the compact CPUs). Programs that were created with STEP 7 Lite can also be exported to STEP 7. It is not possible to carry out a PROFIBUS (DP) or ETHERNET configuration! ET200S or ET200X configuration (standalone) is possible. PLCSIM and Teleservice can be used as option packages.
STEP 7 Micr o
STEP 7 Micro is suitable exclusively for configuring the S7-200.
License
With the exception of STEP Micro/Win, a license is required for each package.
STEP 7 Professional STEP 7 Professional is a Software Package that contains all IEC languages: STEP 7 Basic, S7-SCL, S7-GRAPH and the simulation package S7-PLCSIM. STEP 7 Professional is available as an upgrade package (Powerpack) for STEP7. Prerequisite for acquiring the powerpack is a valid STEP 7 license.
SITRAIN
Training for Automation and Industrial Solutions
Page 24
ST-PRO1 The SIMATIC S7 System Family
If You Want to Kn ow More about the Topic " TIA"
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Note
18.09.2009 PRO1_01E.25
SITRAIN Training for Automation and Industrial Solutions
The following pages contain either further information or are for reference to complete a topic. For more indepth study we offer advanced courses and self-learning mediums.
SITRAIN
Training for Automation and Industrial Solutions
Page 25
ST-PRO1 The SIMATIC S7 System Family
More Inform ation Handbuch
Katalog
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
18.09.2009 PRO1_01E.26
SITRAIN Training for Automation and Industrial Solutions
Information
You will find more information on the SIMATIC systems in the items below.
Manual
The manuals give detailed information on the hardware and software. In addition to the paper version, you can also use the electronic manuals. They are, in part, included in the installation of STEP 7. You can download the most recent SIMATIC manuals free of charge from the Internet. A collection of electronic SIMATIC manuals (HW, SW, Engineering, HMI, NET, PG) can be ordered under the order number 6ES7 998-8XC01-8YE0.
Catalog
The ST 70 catalog contains all SIMATIC components with their performance and order data.
Electronic Catalog
In addition to the paper version, the (CA01) catalog is also available as a CD. This information is also available on the Internet (www.siemens.de/Simatic).
Siemens Partner
Of course, your Siemens partner is also available for further information.
SITRAIN
Training for Automation and Industrial Solutions
Page 26
ST-PRO1 The SIMATIC S7 System Family
Programming Sequence Control Systems with S7- GRAPH
S7-GRAPH: The tool for progr amming sequence cascades
Compatible with DIN EN 6.1131-3
Designed for the requirements of producti on engineering
Graphic divis ion of the process into steps and transitions
Steps cont ain actions
Transitions check the conditions for swit ching to the next step
S1
T1 S2
The following phases of automation can be optim ized w ith S7-GRAPH:
Planning, Configuri ng
Programming
Debugging Commissioning
Maintenance, Diagnostics
S6
S5
T5
T2
S4
T3
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
S7-GRAPH
T4
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.27
With the S7-GRAPH programming language, you can clearly and quickly configure and program sequential sequences that you wish to control with an S7 PLC system. The process is thus split into single steps with their own function scope. The sequence is graphically displayed and can be documented with picture and text. The actions to be performed and the transitions, which control the conditions for switching to the next step, are de termined in the individual steps. Their definitions, interlocking or monitoring are determined by a subset of the STEP 7 programming language LAD (ladder diagram). S7-GRAPH for S7-300/400 is compatible with the sequence language established in the DIN EN 61131-3 standard.
Functionality
Test Functions
User Interface
SITRAIN
The following functions are offered: •
Several sequencers in the same S7-GRAPH function block
•
Free number assignment of the steps and transitions
•
Simultaneous branches and alternative branches
•
Jumps (also to other sequence cascades)
•
Starting/Stopping of sequence cascades as well as activating/holding of steps.
•
Display of active steps or faulty steps
•
Status display and Modify Variable
•
Switching between the operating modes: manual, automatic and jogging mode
•
Overview, Single Page and Single-step display
•
Graphic separation of locking controls and monitoring conditions.
Training for Automation and Industrial Solutions
Page 27
ST-PRO1 The SIMATIC S7 System Family
The State Diagram Method S7- HiGraph
Position Cam-operated Index out switch Turn left 1 2 4 piece
S7-HiGraph: The too l fo r programming using State Diagrams
Division of the machine into functional units
Creating state diagrams for every function uni t
States cont ain actions
State diagrams communicate using messages
Turn right Motor
Index
Counterbearing
Coordinator
Planning, Configuring
Programming and Debugging
Commissioning
Maintenance, Diagnostic s
Supports reusability Date: File:
Siemens AG 2008. All rights reserved.
Counterbearing lock/release
Motor
The followin g phases of automation can be opt imi zed wit h S7-HiGraph:
SIMATIC S7
Index in
18.09.2009 PRO1_01E.28
SITRAIN Training for Automation and Industrial Solutions
Overview
S7-Higraph allows the asynchronous processes to be described using state diagrams. The machine or system to be automated is looked upon as a combination of independent elements, the function units.
Function Units
The function units are the smallest mechanical units of a machine or system. As a rule, a function unit is made up of mechanical and electrical basic elements. In programming, a state diagram is assigned to every function unit. In it, the functional, that is, the mechanical and electrical properties of the function unit are mapped.
State Diagram
The state diagram describes the dynamic behavior of a function unit. It describes the states that a function unit can have, as well as the state transitions. State diagrams can be used more than once. State diagrams that were created once for a specific function unit, can be reused in other program locations.
Diagram Groups and Instances
By combining parallel running state diagrams, you can describe the complete functionality of a machine or system.
Advantages
This "object-oriented" method of S7-HiGraph is well suited for:
SITRAIN
•
the machine and system manufacturer (mechanical engineering)
•
the automation specialist (electrical engineering) as common means of description
•
the commissioning engineer and the maintenance specialist
Training for Automation and Industrial Solutions
Page 28
ST-PRO1 The SIMATIC S7 System Family
Programming in the High L evel Language S7- SCL
FUNCTION_BLOCK VAR_INPUT Init : BOOL ; x : REAL; Ta : TIME; Ti : TIME; olim : REAL; ulim : REAL; END_VAR
S7-SCL: High level language for creating PLC programs
Compatible with DIN EN 6.1131-3 (ST=Structur ed Text))
Certified according to " PLC open" Base Level
Contains all the typical elements of a high level language, such as operands, terms, control statements
VAR_OUTPUT y : REAL:= 0.0; END_VAR
PLC specifics are integrated, such as I/O access, timers, counters...) Well st ructured, easy to understand program
For those knowledgeable in high level languages
For complex algorithms
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Overview
/ / Reset outpu t value // Input value // Sampling interval in ms // Integration time in ms // Output value upper limit // Output value lower limit
// Initialize output value with 0
BEGIN IF TIME_TO_DINT(Ti) = 0 THEN // Division by ? OK := FALSE; y := 0.0; RETURN; END_IF; IF Init THEN y:= 0.0; ELSE y := y+TIME_TO_DINT(Ta)*x/TIME_TO_DINT(Ti); IF y > olim THEN y := olim; END_IF; IF y < ulim THEN y := ulim; END_IF; END_IF; END_FUNCTION_BLOCK
Ad vantag es:
Integrator
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.29
S7-SCL (Structured Control Language) is a PASCAL-similar high level text language for S7 - 300/400 and C7 and simplifies the programming in control technology for mathematical algorithms, data management and organization tasks. S7-SCL has the PLC open Base Level certificate and is in accordance with the DIN EN 61131-3 (Structured Text) standard. With S7-SCL, you can formulate time-saving and economical solutions for automation tasks.
Functionality
SCL offers the functional scope of a high level language such as: •
loops
•
alternatives
•
branch distributors, etc.
combined with control-specific functions such as:
Advantages of SCL
SITRAIN
•
bit accesses to the I/O, bit memories, timers, counters etc.
•
access to the symbol table
•
STEP7 block accesses
•
simple to learn programming language especially for beginners
•
easy to read (understandable) programs are generated.
•
simpler programming of complex algorithms and processing of complex data structures
•
integral debugger for symbolic debugging of the source code (single-step, breakpoints, etc.)
•
system integration in S7 languages such as STL and LAD.
Training for Automation and Industrial Solutions
Page 29
ST-PRO1 The SIMATIC S7 System Family
CFC - Tool for Graphic Interconnection o f S7 Blocks
CFC (Continuous Function Chart): Tool for graphic creation of PLC programs
Bloc ks are placed on function charts and interconnected
Interconnection is possible: - between I/O fields - also to blocks in other charts
Sources and destinations are managed in t he margins
Ad van tag es
Program creation for technologists
quick creation, testing and commissioning times
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Overview
18.09.2009 PRO1_01E.30
SITRAIN Training for Automation and Industrial Solutions
With the engineering tool CFC (Continuous Function Chart), you can create automation tasks by drawing a technology plan - similar to a Function Block Diagram in PLC programming. In this graphic programming method, blocks are positioned in a type of drawing sheet and are graphically interconnected with one another. You can quickly and easily convert technological aspects into complete executable automation programs with CFC.
Scope
Note
The following is supplied with CFC: •
CFC Editor
•
Code Generator
•
Debugger
•
Standard block libraries
The CFC product, as an option package, is smoothly integrated in the STEP 7 architecture with a unified Look & Feel and with common data management. CFC is easy to use, easy to learn and provides consistent data management. The CFC tool plays an important role in the configuration of the PCS 7 process control system. Prerequisite is a previously installed SCL option package.
SITRAIN
Training for Automation and Industrial Solutions
Page 30
ST-PRO1 The SIMATIC S7 System Family
Process Diagnosis wi th S7- PDIAG
Process diagnosis: Detection of faults occurring outside the PLC
Sensor/actuator defective, movement faulty, ...
S7- PDIAG: Tool for confi guring the fault defin iti on in STL, LAD, FBD
Integrated in the development environ ment
Simple formulation of f ault monitoring and message texts (during and after the program session)
Fault d etectio n and cri teria analysi s are conducted automatically
Comprehensive information for the operator on :
type of fault
location of fault
cause of fault
Message
I 1.0
I 1.1
Q1.0
Reductio n of down -time
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Process Diagnosis
18.09.2009 PRO1_01E.31
SITRAIN Training for Automation and Industrial Solutions
Diagnosis is important in the operating phase of a plant or machine. Diagnosis is usually initiated when a fault leads to standstill or malfunction of the plant or machine. Programmable logic controllers are widely used in many areas. Field experience has proven that over 98% of faults occur in the peripherals (such as magnet valves and end switches). The distribution of fault occurrences makes it meaningful for the diagnosis to focus on process faults, since missing messages or faulty functions lead to down-times and the resulting costs. Process diagnosis diagnoses exactly these external components (such as sensors and actuators) or sequences in the process of a plant or machine.
S7-PDIAG
The S7-PDIAG software package enables a uniform configuration of the process diagnosis for the SIMATIC S7-300/400 controllers in the LAD, FBD and STL programming languages. You can already define signal monitoring routines including first-up signal acquisition and criteria analysis and input the associated message texts while or after creating the user program in the LAD, FBD or STL programming languages. PDIAG automatically generates monitoring blocks which you must call in your user program. At every call, the fault conditions are checked and in case of an error, the relevant process values are acquired and sent to the display device for the criteria analysis. For the configuration of the operator panel, S7-PDIAG stores the process diagnosis data in a shared database. This data can then be accessed by the OP configuration software WinCC flexible with the option package ProAgent and be made available for display on the operator panel.
SITRAIN
Training for Automation and Industrial Solutions
Page 31
ST-PRO1 The SIMATIC S7 System Family
Testing User Progr ams with S7- PLCSIM
S7-PLCSIM: Simul ation sof tware for offl ine testing o f PLC progr ams
Functional program test
on a simulated CPU
with display/modify I/O
Testing of u ser blocks in
LAD, FBD, STL, S7-SCL,
S7-GRAPH, S7-HiGraph, CFC
S7-PDIAG, WinCC
Ad van tag es
Faults can be detected early and elimi nated
Many tests are already poss ible in t he offic e without the final hardware
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
S7 - PLCSIM
18.09.2009 PRO1_01E.32
SITRAIN Training for Automation and Industrial Solutions
The SIMATIC S7-PLCSIM engineering tool (option package) emulates a complete S7-CPU including addresses and I/O on a PG/PC. S7-PLCSIM thus enables you to test a program offline on the PG/PC. All STEP 7 programming languages (STL, LAD, FBD, S7-Graph, S7-HiGraph, S7-SCL and CFC) can be used. S7-PLCSIM allows you to check the functionality of user programs on the PC/PG, regardless of whether the final hardware is available or not.
Functionality
S7-PLCSIM offers the following functions for running a program on a simulated PLC: •
An icon in the SIMATIC Manager‘s toolbar switches the Simulation on or off. If the simulation is turned on, every new connection is automatically made to the simulated PLC. If the simulation is turned off, then every new connection is made to the "real" PLC.
Advantages
SITRAIN
•
You can create view objects that allow you to access memory areas, accumulators and tabs of the simulated CPU. You can modify and display all the data in these view objects.
•
You can change the CPU‘s operating mode (STOP, RUN and RUN-P) just as with a "real" CPU. The simulation also provides a "Pause" function that allows you to halt the program execution without affecting the state of the program.
With S7-PLCSIM, you can detect faults early in the development phase and eliminate them. The quality of the user programs is greatly improved and the commissioning costs are lowered.
Training for Automation and Industrial Solutions
Page 32
ST-PRO1 The SIMATIC S7 System Family
Runti me Software for Closed-loop Contr ol Engineering Tasks
Configuration tool
Basic SW or option package
PID Controller
No
Basic SW
Basic SW PID Control
Yes
Basic SW
Standard PID Control
Yes
Option
Modular PID Control
Yes
Option
Fuzzy Control
Yes
Option
Neuro Systems
Yes
Option
Closed-loop control m.
Yes
Overview
S7-200
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
S7-300
18.09.2009 PRO1_01E.33
S7-400
C7
SITRAIN Training for Automation and Industrial Solutions
Closed-loop Control Engineering
In a closed-loop control system process variables are controlled in such a way that they reach their new preset values as quickly as possible and that they maintain these in spite of the effect of disturbances.
Basic Software PID Contro l
The STEP 7 basic package already contains a series of function blocks for solving simple control engineering tasks.
Standard PID Contro l
This additional package contains blocks and a parameter assignment tool with integrated control setting for standard tasks such as temperature controllers, flow rate regulators, pressure regulators etc.
Modular PID Contro l
Through the interconnection of supplied standard function blocks, you can implement just about every closed-loop control engineering structure, even in the upper performance range of process engineering. The package contains 27 FBs and a commissioning tool.
Fuzzy Control
Fuzzy Systems are used when the mathematic description of a process is difficult or even impossible, when a process behavior is not consistent, when non-linearities occur, but, on the other hand, experience with the process exists.
NeuroSystems
Neuronal Systems are used with those problems, whose structure and solution are only partly known. NeuroSystems can be used in all automation levels, from the individual closed-loop controller to the optimization of a plant.
SITRAIN
Training for Automation and Industrial Solutions
Page 33
ST-PRO1 The SIMATIC S7 System Family
Commun icatin g wi th SIMATIC NET
Safety
Safety Netzwerk Safety IT-Standards IT-Standards
Process Real-Time Communication
Motion Dezentrale Distributed Control PROFINET Management Field devices & Security PROFINETFeldgeräte
Dezentrale Verteilte Netzwerk IT-Standards PROFINET Verteilte Feldgeräte Motion NetzwerkIntelligenz IT-Standards Installation NetzwerkMotion Network Intelligenz Verteilte NetzwerkControl Control Installation Motion Installation Verteilte Leitebene Installation Distributed Echtzeit Au to mat io n Control Installation Intelligenz Intelligence Kommunikation
Industri al Ethernet
Zellebene PROFIBUS Field level
Ac tu ato rsensor Interface
Ac tu ato rsensor level
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
SIMATIC NET
18.09.2009 PRO1_01E.34
SITRAIN Training for Automation and Industrial Solutions
SIMATIC NET is the name of an entire family of networks. • Industrial Ethernet according to IEEE 802.3 - the international standard for the networking of areas and cells •
PROFIBUS according to EN 50170 - the international standard for the field area and the cell network with a limited number of nodes
•
AS-Interface - for communication with sensors and actuators.
Industrial Ethernet
The Industrial Ethernet network is a cell level network according to the international standard IEEE 802.3 (Ethernet) and is designed for industrial use. Extensive open network solutions are possible. A high transmission rate is guaranteed with various transmission media. Industrial Ethernet is an industry standard, world-wide tested and accepted.
PROFINET
PROFINET as the standard for communication applications in the field level enables the interfacing of distributed field devices through Industrial Ethernet with the TCP/IP protocol.
PROFIBUS
PROFIBUS is the bus system for cell networks with a limited number of nodes. It is based on the European standard EN 50170, Volume 2, PROFIBUS. Since the requirements according to EN 50170 are fulfilled, PROFIBUS guarantees openness for the connection of components from other manufacturers that conform to standards. The PROFIBUS accessing procedure functions according to the "Token Passing with subordinate Master-Slave" procedure. As a result, a distinction is made between active and passive network participants.
AS - Int erface
The AS-Interface is a networking system for binary sensors and actuators in the field area. With AS-Interface, binary actuators and sensors become capable of communication, for which a direct field bus connection was not technically possible up until now or was not economical.
SITRAIN
Training for Automation and Industrial Solutions
Page 34
ST-PRO1 The SIMATIC S7 System Family
Operator Contr ol and Proc ess Monito rin g with SIMATIC HMI
Process visualization
Process visualization
system
system
SIMATIC WinCC
SIMATIC WinCC flexible
SIMATIC PG, PC
SIMATIC Panels, PGs, PCs
WinCC flexib le 2005
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Overview
18.09.2009 PRO1_01E.35
SITRAIN Training for Automation and Industrial Solutions
For the SIMATIC S7, there is a field-proven HMI system for user-friendly process control and monitoring available, the SIMATIC HMI. It ranges from the simple text display to the process visualization system. SIMATIC S7 and SIMATIC HMI are completely harmonized and integrated. This simplifies the use of the human-machine interface system SIMATIC HMI considerably. •
SIMATIC S7 has already integrated HMI services. The HMI system requests process data from the SIMATIC S7. Data transmission between SIMATIC S7 and SIMATIC HMI is carried out by the two operating systems and does not have to be taken into account in the user program. SIMATIC HMI systems can be connected directly to PPI ( S7-200) and MPI or PROFIBUS (S7-300 and S7-400). Operation using PROFIBUS makes process control and monitoring even over greater distances possible.
•
SITRAIN
Numerous features from the uniform database and symbols up to the same user-friendly Windows-oriented user interfaces simplify the use of HMI systems.
Training for Automation and Industrial Solutions
Page 35
ST-PRO1 The SIMATIC S7 System Family
Process Visualization and Operator Contr ol w ith WinCC
anzahl () float zae begin if wert > 0 begom zae = zae + 1 end end
Motor on Valve closed Flap up
Programming Interfaces
Al arm Log gi ng (Message System)
Process visu alization Standard Interfaces
Tag Logg ing (Archiving) Protokolle
Repor t Designer (Report System) SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
PLC Communication SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.36
WinCC
SIMATIC WinCC (Windows Control Center) is the open process visualization system from Siemens. It can be integrated problem free in a new or already existing PLC system.
Function Modules
The heart of SIMATIC WinCC is an industry and technology independent basic system with all the important functions for operator control and monitoring, such as:
Basis of WinCC
SITRAIN
•
Pixel graphic display
•
Measured value acquisition (archiving functions, data compression, minimum and maximum values etc.)
•
Message display, archiving and reporting
•
Process communication to different PLC systems
•
Standard interfaces, for example, Microsoft programs
•
Documentation of machine and process sequences with individual reports.
WinCC is based on the 32-bit standard operating systems Windows 2000/XP from Mircrosoft. This platform gives WinCC the following functionality: •
Use of the Windows operating equipment (such as printer and driver)
•
Data exchange with other Windows applications via DDE, ODBC, SQL, OLE, ActiveX and OPC.
•
API programming interface
•
use of hardware available in the market
Training for Automation and Industrial Solutions
Page 36
ST-PRO1 The SIMATIC S7 System Family
Process A uto mation with SIMATIC PCS 7
En gi neer in g Sy st em
Pr oc es s t erm in al 1
Pr oc es s t er mi nal 2
Pr oc es s t er mi nal 3
Terminal bus WinCC OS
WinCC OS-Server
System bu s S7-400 as central unit FM
SV
ET 200M
DP FM
SV
DP
Field devices
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
SITRAIN Training for Automation and Industrial Solutions
18.09.2009 PRO1_01E.37
Introduction
SIMATIC PCS 7 represents the new control system generation in SIEMENS. It is the consistent, further development and summary of experiences with systems that are based on TELEPERM M, SIMATIC S7 and SIMATIC S5. As a result, it is tailored to the process control system tasks in all industries.
Engineering System
The Engineering System can be designed as its own station in the system. It can however also be loaded as a software package in the OS components at the same time. The Engineering System has the following components: •
STEP 7 with the SIMATIC Manager, the central database, and with HW Config for configuring hardware and networks. It also contains the servers, that facilitate consistent configuration between PLC and OS.
•
SCL (Structured Control Language) as PASCAL-similar higher level programming language for block generation
•
CFC (Continuous Function Chart) for graphic configuration of the basic automation functions
•
SFC (Sequential Function Chart) for graphic configuration of production sequences
•
Expansion of the SIMATIC Manager with "Technological Hierarchy"
•
WinCC (Windows Control Center) for OS configuration
•
DOCPRO for documenting configuration data
•
Import/Export wizard for bi-directional data exchange with other CAE systems
These components are supplemented by libraries that provide pre-defined blocks for PLC and OS.
SITRAIN
Training for Automation and Industrial Solutions
Page 37
ST-PRO1 The SIMATIC S7 System Family
DRIVES Technology
Consistent drives spectrum for all applications
From standard drives w ith 100 W up to large drives with 50 MW
Motion and vector con trol
Technolo gy-specific clos ed-loop controllers
SIMATIC S7
Date: File:
Siemens AG 2008. All rights reserved.
Overview
18.09.2009 PRO1_01E.38
SITRAIN Training for Automation and Industrial Solutions
You have the following drives spectrum: •
Low voltage motors are the first High Performance AC for machine and systems - the solution for the future: maintenance free, dynamic and powerful.
•
SIMOVERT MASTERDRIVES frequency converters. They control the speed of AC motors extremely exact. This series was designed for world-wide use. It is suitable for all supply voltages from 230 to 690 volt and is certified world-wide.
•
MICROMASTER and MICRO/MIDIMASTER Vector standard converters are frequency converters in the 120 watt to 75 kW performance range. Because of their compact form, they can be installed in the smallest space. The sensorless vector control allows it to be used in the medium performance range even for demanding applications. COMBIMASTER are compact units consisting of three-phase low voltage motors and frequency converters. MICROMASTER Integrated are frequency converters (IP 65) that are applied directly to three-phase low voltage motors of different manufacturers. MICRO/MIDIMASTER Eco are frequency converters specially designed for the requirements of the heating, ventilation and air conditioning industry.
•
SITRAIN
SIMOREG converter equipment are fully digital compact units for threephase operation and are used for armature and field supply of variable speed DC drives. The range of rated direct current of the devices is from 15 to 2000 A and can be increased by parallel connection of SIMOREG devices. The most familiar applications include hoisting gear, ski lifts, elevators, cranes, and other reversing drives.
Training for Automation and Industrial Solutions
Page 38
ST-PRO1 The SIMATIC S7 System Family