05 Project Setup V8.1.0 en
05 Project Setup V8.1.0 en
05 Project Setup V8.1.0 en
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
5 Project setup
5.1Learning Targetstargets
Learning
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)
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)
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
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.
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
Sensors and
actuators
SITRAIN
Project setup 5-5 Siemens AG © 2012
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.
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
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
Chart folder
Project library
(green book)
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.
See [103] PCS 7 V8.1 Engineering System - 11_2014, 8.7 for more details
Message
Wizards numbers
Storage
location
Language Archiving
PCS 7 V8.0
SITRAIN
Project setup 5-8 Siemens AG © 2012
SIMATIC PCS 7 System Course
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
See [103] PCS 7 V8.1 Engineering System - 11_2014, 6.3 for more details
3 2
1. Select the appropriate tab to create a new user project, library or 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
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.
Empty AS station, to be
configured by HW config
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.
SITRAIN
Project setup 5 - 12
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.
SITRAIN
Project setup 5 - 14
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
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
OS type selection
similar to the „New
Project“ wizard
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.
Merging
Merge Subnets
Subnets in a Multiproject
/ Cross-project connections:
2 3
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
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.
SITRAIN
Project setup 5 - 18 Siemens AG © 2012
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
Task: Multiproject
Goal
A Multiproject as the starting point for implementing the training application.
Task: Multiproject
Checkpoint
Checkpoint
SITRAIN
Project setup 5 - 22 Siemens AG © 2012