You are on page 1of 21

SIMATIC PCS 7 System Course

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“ ................................................................................. 11
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

SIMATIC PCS 7 – Project setup


Training Documentation, V8.1.0, ST-PCS7SYS 5-1
SIMATIC PCS 7 System Course

SIMATIC PCS 7 – Project setup


5-2 Training Documentation, V8.1.0, ST-PCS7SYS
SIMATIC PCS 7 System Course

5 Project setup
5.1Learning Targetstargets
Learning

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
Overview about Configuration Steps
for AS and OS
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
SITRAIN library.
Project setup 5-2 Siemens AG © 2012
Create hardware resources: PC Stations (SIMATIC
Create Multiproject. (SIMATIC Manager) Manager, Component View)

Create hardware resources:SIMATIC S7-400 Stations Configure hardware (SIMATIC Manager, Component
(SIMATIC Manager, Component View) View)

Configure hardware (SIMATIC Manager, Component Basic settings in WinCC Explorer and OS Project Editor
View)

Create Plant Hierarchy Create OS object (SIMATIC Manager, Plant View or


(SIMATIC Manager, Plant View) Process Object View)

Assign hardware resources (SIMATIC Manager) Edit individual objects (WinCC Explorer, Graphics
Designer)

Configure Software (CFC, SFC, SCL, messages, Compile and Downwload OS (SIMATIC Manager)
archive tags)

Test + commissioning (configuration tools) Test + commissioning (configuration tools)

Documentation ( DOCPRO ) Documentation

Course ST-PCS7SYS 5-3 SITRAIN - Siemens AG © 2014

SIMATIC PCS 7 – Project setup


Training Documentation, V8.1.0, ST-PCS7SYS 5-3
SIMATIC PCS 7 System Course

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
SIMATIC PCS 7 Engineering
Using the SIMATIC PCS7 Toolset
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.

SITRAIN
Project setup  See [103] PCS 7 V8.1 Engineering System - 11_2014, 7.7 for more information about
the PCS 7 applications and how5 -they
4 are used. Siemens AG © 2012

SIMATIC PCS 7 – Project setup


5-4 Training Documentation, V8.1.0, ST-PCS7SYS
SIMATIC PCS 7 System Course

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:
Projects and libraries
Stations  A PC (SIMATIC PC Station) for engineering or operating
 An Automation System (SIMATIC 400 Station)
Windows Network ( TCP/IP )
Terminal Bus

ES (PC) Engineering System ( ES )

OS OS
Operator System ( OS )
(PC with WinCC) (PC with WinCC)

Industrial Ethernet
System (Plant) Bus

AS AS
(S7-417-4) (S7 414-3) Controller ( AS )
Stations

PROFIBUS-DP
Field Bus

IM DP (ET 200M) IM DP (ET 200M) Distributed I/O

Sensors and
actuators

SITRAIN
Project setup 5-5 Siemens AG © 2012

SIMATIC PCS 7 – Project setup


Training Documentation, V8.1.0, ST-PCS7SYS 5-5
SIMATIC PCS 7 System Course

5.4.3 Different types of libraries


Projects and libraries
Libraries are used for storing reusable program components. The program components
Different types
can beof libraries
copied to a library from existing projects or created directly in the library
independently of projects.

Standard frame of delivery of SIMATIC PCS 7 V8.1 PCS 7


CEMAT
Standard installation of Optional
SIMATIC PCS 7 V8.1 installation
PCS 7 PCS 7 Advanced PCS 7 Library PCS 7
Basic Library Process Library (Standard) Industry Library Customized
Libraries
Control Control Control

@System Driver Channel PCS 7


Water Library
AS blocks

PCS 7
Condition
Monitoring Library
Faceplates/
Block Icons

Course ST-PCS7SYS
The functions available for creating
5-6
S7 programs in a library are the same as for
SITRAIN - Siemens AG © 2014
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 update from V7.1SP4 to V8.1 with utilization of new functions -
11_2014 and
[209] PCS 7 Software update from V7.1SP4 to V8.1 without utilization of new
functions - 11_2014

SIMATIC PCS 7 – Project setup


5-6 Training Documentation, V8.1.0, ST-PCS7SYS
SIMATIC PCS 7 System Course

5.4.4 Multiproject
Multiproject
For – Main idea
configuring SIMATIC PCS 7, always use a multiproject. It binds several projects and
libraries together:

Library X

Project B

Project A

Multiproject

Library Y Library Z

Multiproject Library X Y Z A B Project

Multiproject
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.
SITRAIN
Project setup 5 - 10 Siemens AG © 2012
The SIMATIC Manager shows all elements of a multiproject in a tree view:

Multiproject

Project

AS Station

S7-Program

SIMATIC PC-Station (here: ES/OS)

Chart folder

Project library
(green book)

Master Data Library


(blue book)

Course ST-PCS7SYS 5-8 SITRAIN - S

SIMATIC PCS 7 – Project setup


Training Documentation, V8.1.0, ST-PCS7SYS 5-7
SIMATIC PCS 7 System Course

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
Master data library
 Shared Declarations
Filling the Master Data Library
Filling the Master Data Library with block types

2
1

1. Open the desired PCS 7 library (in this example the APL).
Course ST-PCS7SYS2. Activate the detail view to get displayed
5-9 the symbolic names and other
SITRAIN detailsAGof© the
- Siemens 2014
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.1 Engineering System - 11_2014, 8.7 for more details

SIMATIC PCS 7 – Project setup


5-8 Training Documentation, V8.1.0, ST-PCS7SYS
SIMATIC PCS 7 System Course

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
Initial settings of SIMATIC Manager
restarted.

Message
Wizards numbers

Storage
location

Language Archiving

 Wizard: activate PCS 7 related wizards


SITRAIN
Project setup  Message numbers: make CPU-oriented
5-7 unique message numbersSiemens AG © 2012
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:\SIEMENS\Step7\S7proj
Initial settings of SIMATIC Manager
All necessary access rights for this path are set by default already during the PCS 7
SimaticRights
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

SIMATIC PCS 7 – Project setup


Training Documentation, V8.1.0, ST-PCS7SYS 5-9

SITRAIN
Project setup 5-8 Siemens AG © 2012
SIMATIC PCS 7 System Course

5.6 Setting up a multiproject


Organizing a multiproject
5.6.1 Organizing a multiproject

Project specific setup Each individual project contains only one AS and one OS, or all AS
and OS which a project engineer is meant to edit.

ES
Multiproject
Project 01 Project 99 Master Data
Library
AS ES/OS AS

Organizing a multiproject

Station granular setup As opposed to the project-specific setup, all AS and OS are filed
separately (granular) in an individual project.

ES
Multiproject
SITRAIN
Project 1
Project setup Project 2 5 - 11 Project 3 Master Data
Siemens AG © 2012

Library
AS OS ES

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
SITRAIN the projects. The projects in this scenario can remain in the multiproject network or can
Project setup be checked out for the duration5 of
- 12the editing. Siemens AG © 2012

 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.1 Engineering System - 11_2014, 6.3 for more details

SIMATIC PCS 7 – Project setup


5 - 10 Training Documentation, V8.1.0, ST-PCS7SYS
SIMATIC PCS 7 System Course

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
Setting up the project
multiproject “Step
in the byManager,
SIMATIC step” for instance to expand an existing multiproject by
projects or stations.
“New Project” dialog
To create an empty multiproject there exists also a “New Project” dialog:

“New Project” Dialog

3 2

1. Select the appropriate tab to create a new user project, library or multiproject.

Course ST-PCS7SYS 2. When you select the "User5Projects",


- 14 "Libraries" or "Multiprojects" tab, the
SITRAIN - Siemens AG correct
© 2014
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.

SIMATIC PCS 7 – Project setup


Training Documentation, V8.1.0, ST-PCS7SYS 5 - 11
SIMATIC PCS 7 System Course

Insertion of an empty user project


Setting up the project
Create “Step
a new empty byasstep”
project part of an already existing multiproject in the SIMATIC
Manager by selection of the multiproject and the menu command:
Insertion of an empty User project
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
Setting up the project “Step by step”
Course ST-PCS7SYS 5 - 15 SITRAIN - Siemens AG © 2014

Add to Multiproject Dialog


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.

Course ST-PCS7SYS 5 - 16 SITRAIN - Siemens AG © 2014

SIMATIC PCS 7 – Project setup


5 - 12 Training Documentation, V8.1.0, ST-PCS7SYS
SIMATIC PCS 7 System Course

Insertion of project components


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
Course ST-PCS7SYS 5 - 17 SITRAIN - Siemens AG © 2014
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.

SIMATIC PCS 7 – Project setup


Training Documentation, V8.1.0, ST-PCS7SYS 5 - 13
SIMATIC PCS 7 System Course

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.
Setting up with the “New Project” Wizard
The following pictures give you an overview about the steps of the wizard.
Start the wizard …
1. Start the PCS 7 "New Project" wizard in the SIMATIC Manager
Click „Next“ to continue step by step…

SITRAIN
Project setup 5 - 12

SIMATIC PCS 7 – Project setup


5 - 14 Training Documentation, V8.1.0, ST-PCS7SYS
SIMATIC PCS 7 System Course

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-
Setting
config later.up with the PCS 7 “New Project” Wizard
Select
Use the „Find“
the button CPUtoand bundle
search MLFB
for a desired MLFB number.
The „Number of communication modules“ selects the CPs for Profibus DP.

CPU is used single


=> AS410-1H
CPU is used redundant
=> AS410-2H

Setting up with the “New Project” Wizard


3. Define the depth of the Plant hierarchy.
Plant Hierarchy ans OS objects …
Select the required configuration objects for AS and OS. Regarding the OS object
you must specify the type (main architecture).

Course ST-PCS7SYS 5 - 19 SITRAIN - Siemens AG © 20

SITRAIN
Project setup 5 - 14

SIMATIC PCS 7 – Project setup


Training Documentation, V8.1.0, ST-PCS7SYS 5 - 15
Setting up with the “New Project” Wizard
SIMATIC PCS 7 System Course
Storage location
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
SITRAIN
manually.
Project
From setup
the project icons context menu: 5 - 15
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…

SIMATIC PCS 7 – Project setup


5 - 16 Training Documentation, V8.1.0, ST-PCS7SYS
SIMATIC PCS 7 System Course

Expansion
Expansion of anof a project
existing withPCS
with
project 7 “Expand
a Preconfigured Project”
Station
Wizard – Addition
The PCS 7of an AS
"Expand station
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
Expansion of a project with PCS 7 “Expand Project”
Wizard – Addition of an OS

2. Addition of an OS (single station, multiple station, redundant OS stations).

Course ST-PCS7SYS 5 - 22 SITRAIN - Siemens AG © 2014

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.


Course ST-PCS7SYS 5 - 23
For more information about expansion of multiprojects see: SITRAIN - Siemens AG © 2014
[103] PCS 7 V8.1 Engineering System - 11_2014, 8.4.4 for insertion of empty projects
[121] PCS 7 Compendium part A - Configuration Guidelines - 11_2013, 4.4 for
integration of additional ES/OS-projects.
[103] PCS 7 V8.1 Engineering System - 11_2014, 6.2.2 for insertion of preconfigured
stations.

SIMATIC PCS 7 – Project setup


Training Documentation, V8.1.0, ST-PCS7SYS 5 - 17
SIMATIC PCS 7 System Course

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.

Merging
Merge Subnets
Subnets in a Multiproject
/ Cross-project connections:

2 3

Synchronize Shared Declarations


SITRAIN
Project setup 5 - 22 Siemens AG © 2012
Synchronize Shared Declarations:

SITRAIN
Project setup 5 - 23 PCS 7 –AG
SIMATICSiemens © 2012setup
Project
5 - 18 Training Documentation, V8.1.0, ST-PCS7SYS
SIMATIC PCS 7 System Course

Language for Display Devices


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.

SITRAIN
Project setup 5 - 18 Siemens AG © 2012

SIMATIC PCS 7 – Project setup


Training Documentation, V8.1.0, ST-PCS7SYS 5 - 19
SIMATIC PCS 7 System Course

5.8 Archiving and retrieving a project, library or multi project


Archiving a multiproject
Archiving

 Always back up the data in the following cases:


 At least once a day
SITRAIN
 After downloading the AS
Project setup 5 - 19 Siemens AG © 2012

 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

SIMATIC PCS 7 – Project setup


5 - 20 Training Documentation, V8.1.0, ST-PCS7SYS
SIMATIC PCS 7 System Course

Retreiving a multiproject
Retrieving

A new directory is created in the selected directory and the complete project directory
structure
SITRAIN
of the unpacked multiproject now appears on the same level below this
directory.
Project setup 5 - 20 Siemens AG © 2012

5.9 Task and checkpoint

Task: Multiproject

Goal
A Multiproject as the starting point for implementing the training application.
Task: Multiproject
Checkpoint
Checkpoint

What do you think …


 Is the advantage of using the New
Project wizard?

SIMATIC PCS 7 – Project setup


Training Documentation, V8.1.0, ST-PCS7SYS 5 - 21

SITRAIN
Project setup 5 - 22 Siemens AG © 2012

You might also like