1. PCS 7 System Course
SIMATIC PCS 7 – Project setup
Training Documentation, V1.00, ST-PCS7SYS 5 - 1
Content 5
5 Project setup............................................................................................................3
5.1 Learning targets......................................................................................................................3
5.2 Overview about configuration steps for AS and OS ...............................................................3
5.3 SIMATIC PCS 7 Engineering Toolset.....................................................................................4
5.4 What is a Multiproject? ...........................................................................................................5
5.4.1 Projects and libraries ..............................................................................................................5
5.4.2 Different types of stations .......................................................................................................5
5.4.3 Different types of libraries.......................................................................................................6
5.4.4 Multiproject..............................................................................................................................7
5.4.5 Master Data Library ................................................................................................................8
5.5 Initial settings of SIMATIC Manager .......................................................................................9
5.6 Setting up a multiproject .......................................................................................................10
5.6.1 Organizing a multiproject......................................................................................................10
5.6.2 Setting up the projects “Step by Step“..................................................................................10
5.6.3 Setting up the project with the „New Project“ Wizard ...........................................................14
5.6.4 Expansion of Multiprojects....................................................................................................16
5.6.5 Multiproject-wide information to be synchronized.................................................................18
5.7 Language for Display Devices..............................................................................................19
5.8 Archiving and retrieving a project, library or multi project.....................................................20
5.9 Task and checkpoint.............................................................................................................21
2. PCS 7 System Course
SIMATIC PCS 7 – Project setup
5 - 2 Training Documentation, V1.00, ST-PCS7SYS
3. PCS 7 System Course
SIMATIC PCS 7 – Project setup
Training Documentation, V1.00, ST-PCS7SYS 5 - 3
5 Project setup
5.1 Learning targets
The participant will learn about
• The main configuration steps for
an automation project
• The role of SIMATIC Manager and
ist relevant settings
The participant will be able to
• Set up a Multiproject for
configuring the training
application
5.2 Overview about configuration steps for AS and OS
Configuration steps AS Configuration steps OS
Select block libraries to be used. Create a new project-
specific library.
Create Multiproject. (SIMATIC Manager)
Create hardware resources:SIMATIC S7-400 Stations
(SIMATIC Manager, Component View)
Configure hardware (SIMATIC Manager, Component
View)
Create Plant Hierarchy
(SIMATIC Manager, Plant View)
Assign hardware resources (SIMATIC Manager)
Configure Software (CFC, SFC, SCL, messages,
archive tags)
Test + commissioning (configuration tools)
Create hardware resources: PC Stations (SIMATIC
Manager, Component View)
Basic settings in WinCC Explorer and OS Project Editor
Create OS object (SIMATIC Manager, Plant View or
Process Object View)
Edit individual objects (WinCC Explorer, Graphics
Designer)
Compile and Downwload OS (SIMATIC Manager)
Test + commissioning (configuration tools)
DocumentationDocumentation ( DOCPRO )
Configure hardware (SIMATIC Manager, Component
View)
4. PCS 7 System Course
SIMATIC PCS 7 – Project setup
5 - 4 Training Documentation, V1.00, ST-PCS7SYS
5.3 SIMATIC PCS 7 Engineering Toolset
SIMATIC Manager is the central part of the STEP 7 programming and configuring
software for STEP 7 applications. Together with an additional number of tools and
options it is released as the SIMATIC PCS 7 Engineering Toolset.
One way
Using the SIMATIC PCS7 Engineering Toolset is the only way to program and configure
a SIMATIC PCS 7 configuration.
The figure below gives an overview of the main components of the toolset.
See [103] PCS 7 V8.0 Engineering System - 12_2011, 7.7 for more information about
the PCS 7 applications and how they are used.
5. PCS 7 System Course
SIMATIC PCS 7 – Project setup
Training Documentation, V1.00, ST-PCS7SYS 5 - 5
5.4 What is a Multiproject?
5.4.1 Projects and libraries
In common
Projects and libraries have some in common. They are:
• an organized amount of data
• stored in a particular folder including files and lower level folders
• managed by SIMATIC Manager and its related tools
Different
Differences between projects and libraries:
• Projects contain the data for at least one station (application specific programmable /
configurable device). Projects contain always hardware-related data.
• Libraries contain predefined functions for being used in projects. These data are
always only software related.
5.4.2 Different types of stations
In a SIMATIC PCS 7 project a station can be:
• A PC (SIMATIC PC Station) for engineering or operating
• An Automation System (SIMATIC 400 Station)
DP (ET 200M)IM
Industrial Ethernet
PROFIBUS-DP
Controller ( AS )
Distributed I/O
Sensors and
actuators
System (Plant) Bus
Field Bus
Engineering System ( ES )
DP (ET 200M)IM
Terminal Bus
Windows Network ( TCP/IP )
ES (PC)
AS
(S7-417-4)
AS
(S7 414-3)
Stations
Operator System ( OS )
OS
(PC with WinCC)
OS
(PC with WinCC)
6. PCS 7 System Course
SIMATIC PCS 7 – Project setup
5 - 6 Training Documentation, V1.00, ST-PCS7SYS
5.4.3 Different types of libraries
Libraries are used for storing reusable program components. The program components
can be copied to a library from existing projects or created directly in the library
independently of projects.
PCS 7 BRAUMAT
PCS 7
Basic Library
PCS 7 Advanced
Process Library
PCS 7 Library
(Standard)
Standard installation of
SIMATIC PCS 7 V8.0
Standard frame of delivery of SIMATIC PCS 7 V8.0
Industry Library
PCS 7
Water Library
PCS 7
CEMAT
PCS 7
Control Control
@System
Control
Driver Channel
Customized
Libraries
ASblocksFaceplates/
Blockicons
Optional
installation
The functions available for creating S7 programs in a library are the same as for
projects, with the exception of debugging.
Libraries are structured in a hierarchical fashion in the same way as projects:
• Libraries can contain S7 programs.
• An S7 program can contain exactly one "Blocks" folder, one "Charts" folder, and one
"Symbols" object (symbol table).
• The "Blocks" folder contains the blocks which can be downloaded to the S7 CPU.
• The "Source Files" folder contains the source files for the programs created in the
different programming languages.
• The "Charts" folder contains the CFC charts.
PCS 7 Library
The PCS 7 (Standard) Library has its final update up to V7.1.3. It is not part of the
general setup of PCS 7 V8.0 and later. For mixed applications the library is to be
installed afterwards.
For more information about Upgrade of PCS 7 Libraries see
[208] PCS 7 Software upgrades from V7.1SP3 to V8.0 with utilization of new
functions - 12_2011 and
[209] [209] PCS 7 Software update from V7.1SP3 to V8.0 without utilization of new
functions - 12_2011
7. PCS 7 System Course
SIMATIC PCS 7 – Project setup
Training Documentation, V1.00, ST-PCS7SYS 5 - 7
5.4.4 Multiproject
For configuring SIMATIC PCS 7, always use a multiproject. It binds several projects and
libraries together:
Project A
Project B
Library X
Library Y Library Z
Multiproject
Multiproject
Library X Y Z A B Project
Multiproject
A PCS 7 multiproject consists as minimum of only one project and one library (master
data library), but it can also include more than one project and several libraries.
The SIMATIC Manager shows all elements of a multiproject in a tree view:
Multiproject
Project
AS Station
SIMATIC PC-Station (here: ES/OS)
Chart folder
Project library
(green book)
Master Data Library
(blue book)
S7-Program
8. PCS 7 System Course
SIMATIC PCS 7 – Project setup
5 - 8 Training Documentation, V1.00, ST-PCS7SYS
5.4.5 Master Data Library
In a PCS 7 multiproject, one library has to be defined as the Master Data Library.
The Master Data Library is automatically added, if the PCS 7 „New Project“ Wizard was
used to create a multiproject.
The Master Data Library contains the multiproject specific standards and supports a
central update of the following items for the Multiproject:
• block types
• SFC types
• Shared Declarations
Filling the Master Data Library with block types
1
2
3
1. Open the desired PCS 7 library (in this example the APL).
2. Activate the detail view to get displayed the symbolic names and other details of the
blocks in the library.
3. Copy all required blocks from all libraries used for the configuration to the block
folder of the master data library. Make sure to also copy the blocks that are called
as a multi-instance by other blocks.
Role of the Master Data Library for bulk engineering
The Master Data Library is a prerequisite for efficient engineering (Import-/Export of
process tags and models). It contains all process tag types and import files, which are
relevant for the multiproject.
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.7 for more details
9. PCS 7 System Course
SIMATIC PCS 7 – Project setup
Training Documentation, V1.00, ST-PCS7SYS 5 - 9
5.5 Initial settings of SIMATIC Manager
The following global settings are valid for any PCS 7 project opened with the SIMATIC
Manager. To take on the changed settings, the SIMATIC Manager has to be closed and
restarted.
Wizards
Message
numbers
Language Archiving
Storage
location
• Wizard: activate PCS 7 related wizards
• Message numbers: make CPU-oriented unique message numbers the default
setting for new projects and libraries
• Language: select the language used in the project (GUI of SIMATIC Manager and
representation of the project).
• Archiving (of the PCS 7 project): Select the archiving program and the storage
location of the archived project
• Storage location for projects/multiprojects (and libraries):
Default setting is: C:SIEMENSStep7S7proj
All necessary access rights for this path are set by default already during the PCS 7
installation. If you use another storage location, then it is a must, to use the
SimaticRights.exe tool to set the required rights. The desired project path must exist
already. Start the program on the SIMATIC PCS 7 DVD in the folder.
PCS 7 V8.0
10. PCS 7 System Course
SIMATIC PCS 7 – Project setup
5 - 10 Training Documentation, V1.00, ST-PCS7SYS
5.6 Setting up a multiproject
5.6.1 Organizing a multiproject
ES
Multiproject
Master Data
Library
Project 01
AS ES/OS
Project 99
AS
Each individual project contains only one AS and one OS, or all AS
and OS which a project engineer is meant to edit.
Project specific setup
ES
Multiproject
Master Data
Library
Project 1
AS
Project 2
OS
Project 3
ES
As opposed to the project-specific setup, all AS and OS are filed
separately (granular) in an individual project.
Station granular setup
Distributed Engineering
With the use of several projects on different computers as a distributed engineering
system, several persons can work independently of each other on their project.
PCS 7 offers the appropriate system functions for managing, distributing and merging
the projects. The projects in this scenario can remain in the multiproject network or can
be checked out for the duration of the editing.
We generally recommend organizing the multiproject in PCS 7 based on stations, i.e.
one subproject with one station. This setup provides the maximum flexibility during
the configuration / commissioning phase.
This applies to all automation systems and OS servers. The stations for OS clients
can also be created in one subproject.
See [103] PCS 7 V8.0 Engineering System - 12_2011, 6.3 for more details
5.6.2 Setting up the projects “Step by Step“
The recommended and most efficient way for the creation of a multiproject is to use the
“New Project” wizard. However, you should be able to create the single elements of a
11. PCS 7 System Course
SIMATIC PCS 7 – Project setup
Training Documentation, V1.00, ST-PCS7SYS 5 - 11
multiproject in the SIMATIC Manager, for instance to expand an existing multiproject by
projects or stations.
To create an empty multiproject there exists also a “New Project” dialog:
“New Project” Dialog
1
23
4
1. Select the appropriate tab to create a new user project, library or multiproject.
2. When you select the "User Projects", "Libraries" or "Multiprojects" tab, the correct
object type is prepared by default. You can also change the type of the new object
in the drop-down list. The new object will then be automatically added to the tabs in
the correct order.
3. Enter the name of the new project, library or multiproject here. Do not use an
extended name. You can also select an existing name from the list above and
change it as necessary.
4. The path in which the project or library will be created is displayed here.
12. PCS 7 System Course
SIMATIC PCS 7 – Project setup
5 - 12 Training Documentation, V1.00, ST-PCS7SYS
Insertion of an empty user project
Create a new empty project as part of an already existing multiproject in the SIMATIC
Manager by selection of the multiproject and the menu command:
Multiproject > Create in Multiproject…
Again the “New Project” dialog is displayed (without the “Multiproject” tab).
An empty user project is created in the multiproject, which you can later add stations to
Insertion of already created user projects
The typical use case for „New project“ or „Add to Multiproject“ dialogs is the integration
of additional AS/ ES/ OS subprojects into a basic multiproject, which was created using
the PCS 7 „New project“ wizard.
13. PCS 7 System Course
SIMATIC PCS 7 – Project setup
Training Documentation, V1.00, ST-PCS7SYS 5 - 13
Addition of components to an existing project
Empty AS station, to be
configured by HW config
Empty PC station as ES and/or
OS, to be configured by HW config
Subnet objects for
Plant bus / Field bus
Expanding the Project with the
PCS 7 "Expand Project" Wizard
Enumerations, Units and
Equipment Properties
A project is structured into stations containing the configuration information for AS
stations and/or PC stations used as ES, OS Servers, Clients etc.
A PCS 7 Multiproject should always consist in a PC station used as Engineering
System (ES).
Never select directly “OS” or “OS (Client)” from the “Insert New Object” menu in the
SIMATIC Manager! OS Servers, OS Clients and all other OS station types have to be
inserted always as SIMATIC PC Station.
Furthermore, each project needs network information, provided by subnet objects. The
network configuration is using the tools HW config and NetPro.
Subnet objects are required for configuration data of the Plant bus and the Field bus,
Terminal bus information is not configured in the SIMATIC Manager.
Shared declarations contain information about enumerations, units and equipment
properties used in the PCS 7 project.
You can use enumerations to define textual representatives for the parameter values of
the block or chart I/Os with data types "BOOL," "BYTE," "INT," "DINT," "WORD," and
"DWORD". A suitable text is assigned to each value of an enumeration and this is
displayed at the I/O. Several values can be assigned to each enumeration.
Equipment properties are parameters of a unit, such as shell material, volumes etc. The
type of equipment property is defined as a "shared declaration". Instances of this type
are used in SIMATIC BATCH and its attributes are individually adapted.
14. PCS 7 System Course
SIMATIC PCS 7 – Project setup
5 - 14 Training Documentation, V1.00, ST-PCS7SYS
5.6.3 Setting up the project with the „New Project“ Wizard
The "New Project" wizard supports you step-by-step in creating a new project and offers
default settings. The PCS 7 wizard automatically creates various objects according to
the default settings or the specific settings that you make.
The following pictures give you an overview about the steps of the wizard.
1. Start the PCS 7 "New Project" wizard in the SIMATIC Manager
Click „Next“ to continue step by step…
15. PCS 7 System Course
SIMATIC PCS 7 – Project setup
Training Documentation, V1.00, ST-PCS7SYS 5 - 15
2. Select the CPU bundle that you are using in your project.
Detailed information about the selected CPU bundle is displayed beneath the list. In
case your CPU is not listed there, you can adjust the configuration data in the HW-
config later.
Use the button „Find“ to search for a desired MLFB number.
The „Number of communication modules“ selects the CPs for Profibus DP.
3. Define the depth of the Plant hierarchy.
Select the required configuration objects for AS and OS. Regarding the OS object
you must specify the type (main architecture).
16. PCS 7 System Course
SIMATIC PCS 7 – Project setup
5 - 16 Training Documentation, V1.00, ST-PCS7SYS
4. Define the storage location and the name of the multiproject.
5. After clicking the button “Finish” the multiproject is created and contains one project
as shown in the preview, containing one AS, one OS (if selected) and one master
data library. The wizard creates the required project structure ready to continue with
the engineering.
The subnet for Industrial Ethernet is not created by the wizard. You have to insert it
manually.
From the project icons context menu:
Insert new Object -> Industrial Ethernet
5.6.4 Expansion of Multiprojects
The PCS 7 wizards create the basic configuration, which you can expand with additional
objects based on the requirements of your plant.
For the expansion the same dialogs have to be used as already described above in the
section „Setting up the projects „Step by Step“:
• Create in Multiproject… (other projects or libraries)
• Insert into Multiproject… (other projects and libraries)
• Insert new object…(stations, subnets, shared declarations)
Furthermore, there is a PCS 7 "Expand Project" wizard available…
17. PCS 7 System Course
SIMATIC PCS 7 – Project setup
Training Documentation, V1.00, ST-PCS7SYS 5 - 17
Expansion of an existing project with a Preconfigured Station
The PCS 7 "Expand Project" wizard is using similar steps as the “New Project” wizard.
1. Addition of an AS station (if required).
If AS station has
not to be inserted
Station selection
similar to the „New
Project“ wizard
2. Addition of an OS (single station, multiple station, redundant OS stations).
Plant hierarchy and
charts are not affected
by this wizard
OS type selection
similar to the „New
Project“ wizard
3. The storage location is displayed, but cannot be changed.
For more information about expansion of multiprojects see:
[103] PCS 7 V8.0 Engineering System - 12_2011, 8.4.4 for insertion of empty projects
[121] PCS 7 Compendium part a - Configuration Guidelines - 03_2009, 2.4 for
integration of additional ES/OS-projects.
[103] PCS 7 V8.0 Engineering System - 12_2011, 6.2.2 for insertion of preconfigured
stations.
18. PCS 7 System Course
SIMATIC PCS 7 – Project setup
5 - 18 Training Documentation, V1.00, ST-PCS7SYS
5.6.5 Multiproject-wide information to be synchronized
The update of multiproject-wide information is necessary typically after expansion of a
multiproject by additional projects /libraries and after insertion of subnets.
Merge Subnets / Cross-project connections:
1
2 3
Synchronize Shared Declarations:
19. PCS 7 System Course
SIMATIC PCS 7 – Project setup
Training Documentation, V1.00, ST-PCS7SYS 5 - 19
5.7 Language for Display Devices
The language for the display devices has to be selected in a very early project
engineering phase.
Messages and texts will be transferred to the OS in selected languages during OS
compilation.
The dialog window above shows the default setting.
The required setting is related to individual projects and libraries in a multiproject.
20. PCS 7 System Course
SIMATIC PCS 7 – Project setup
5 - 20 Training Documentation, V1.00, ST-PCS7SYS
5.8 Archiving and retrieving a project, library or multi project
Archiving
• Always back up the data in the following cases:
− At least once a day
− After downloading the AS
− After configuration changes
− Before and after system component upgrades
− Before and after the software update of the configuration software
• Keep at least the three most recent versions of your PCS 7 project.
• Use different storage media for backing up the data.
− LAN hard disk
− USB hard disk
− MOD
− CD/DVD
This retains availability of your data even after failure of a device.
• You can also backup your data on hard disks of PCs in a network. Simultaneous hard
disk failures on more than one PC are very unlikely.
• If necessary, upload FBs and DBs from the controller
• If necessary, perform a "Read back" before archiving
21. PCS 7 System Course
SIMATIC PCS 7 – Project setup
Training Documentation, V1.00, ST-PCS7SYS 5 - 21
Retrieving
A new directory is created in the selected directory and the complete project directory
structure of the unpacked multiproject now appears on the same level below this
directory.
5.9 Task and checkpoint
Task: Multiproject
Goal
A Multiproject as the starting point for implementing the training application.
Checkpoint
What do you think …
• Is the advantage of using the New
Project wizard?