Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

SIMATIC PCS 7 OS Engineering

3.9 Exercise and checkpoint

Exercise: Configure the starting project

Task
Unpacking and adapting the starting project, operator control and monitoring of the
process in Runtime
In the first exercise, you activate a template project as a starting point for all other
exercises in this course. The template project is a single-user project with one AS and
one OS that is started on the engineering station.
Task: Configure the starting project
Checkpoint
Checkpoint

How would you answer?


 What is a process object and where do I
find the information as to how many are
used?

SITRAIN
SIT-LF 0 - 36 Siemens AG © 2012

SIMATIC PCS 7 - Basics of OS configuration


Course folder, V9.0.0, ST-PCS7OSE 3 - 33
SIMATIC PCS 7 OS Engineering

Contents 4
4 The Client / Server Configuration .......................................................................... 3
4.1 Learning objectives ................................................................................................................ 3
4.2 Preparations........................................................................................................................... 3
4.2.1 The procedure........................................................................................................................ 3
4.2.2 Folder sharing ........................................................................................................................ 4
4.2.3 SimaticRights ......................................................................................................................... 5
4.2.4 Simatic Shell .......................................................................................................................... 6
4.3 The configuring of the ES ...................................................................................................... 7
4.4 Configuring the OS server ..................................................................................................... 8
4.4.1 The properties of the OS station ............................................................................................ 8
4.4.2 The properties of the OS ....................................................................................................... 9
4.4.3 Selecting the multi-user project ........................................................................................... 10
4.4.4 The HW Config of the PC station......................................................................................... 11
4.4.5 Configuring the PC station ................................................................................................... 12
4.4.6 Downloading the PC station ................................................................................................ 13
4.4.7 The AS-OS connection ........................................................................................................ 14
4.4.8 Compiling the OS ................................................................................................................. 15
4.4.9 The server data .................................................................................................................... 16
4.4.10 Downloading the OS ............................................................................................................ 17
4.4.11 OS simulation....................................................................................................................... 19
4.4.12 Exercise and checkpoint ...................................................................................................... 20
4.5 Configuring the OS client ..................................................................................................... 21
4.5.1 Configuring the OS client station ......................................................................................... 21
4.5.2 The properties of the OS client ............................................................................................ 22
4.5.3 The assignment of the server data ...................................................................................... 23
4.5.4 The layout of the client......................................................................................................... 24
4.5.5 The OS areas of the client ................................................................................................... 25
4.5.6 Configuring the standard server .......................................................................................... 26
4.5.7 Downloading the OS client .................................................................................................. 27
4.5.8 The referenced client ........................................................................................................... 28
4.5.9 Exercise and checkpoint ...................................................................................................... 29

SIMATIC PCS 7 – The Client / Server Configuration


Course folder, V9.0.0, ST-PCS7OSE 4-1
SIMATIC PCS 7 OS Engineering

SIMATIC PCS 7 – The Client / Server Configuration


4-2 Course folder, V9.0.0, ST-PCS7OSE
SIMATIC PCS 7 OS Engineering

4 The Client / Server Configuration


Learning objectives
4.1 Learning objectives

The participant will learn about


 The client-server structure
 The client PC stations

The participant will be able to


 Configure a client-server structure
 Download a server and client
 Generate and assign server data
 Configure the standard server for clients
 Configure the referenced client

4.2 Preparations
Preparations
4.2.1 The procedure
The procedure
ST-PCS7OSE Once you have successfully commissioned
4-2 the single-user project,SITRAIN
you can reconfigure
© Siemens AG 2018
it into a multi-user project.

Former ES, now an


OS server

New ES

Since you will still need the current single-user project for future exercises, you will copy
Course ST-PCS7OSE it and reconfigure it to a server-client
4-3 structure. You will convert the PC
SITRAIN station
- Siemens of2015
AG © the ES
to an OS server and add a new PC station for the ES. This is necessary because the
OS of the engineering station is already fully configured, and you want to transfer this
configuration to the OS server.
Following this, you will convert the single-user project into a multi-user project, and then
configure the OS server and OS clients.

SIMATIC PCS 7 – The Client / Server Configuration


Course folder, V9.0.0, ST-PCS7OSE 4-3
SIMATIC PCS 7 OS Engineering

4.2.2 Folder sharing


The folders must be shared to allow access to the project directories over the network.
Sharing is required for the following:
 Directory of the PCS 7 multiproject when distributed engineering is to be performed
 Destination directory of the OS servers
 Destination directory of the OS clients
Preparations
Since each PCS 7 user with access to an OS project belongs to the SIMATIC HMI user
Folder sharing
group, at least this group must have full access to the shared folder. If there are no
security concerns, full access can also be granted to "Everyone".

SITRAIN
Course ST-PCS7OSE 4-4 Siemens AG © 2012

 All computers must be configured so that logon is required, and the user names and
passwords of all computers should be identical.

 NOTICE!
The sharing of the project folder must be enabled before the project is created.

 NOTICE!
The name of the shared destination folder on an OS station must not bear the name
of the OS. Due to the nesting of directories having the same name, this would result
in problems when downloading the OS.

SIMATIC PCS 7 – The Client / Server Configuration


4-4 Course folder, V9.0.0, ST-PCS7OSE
SIMATIC PCS 7 OS Engineering

4.2.3 SimaticRights
Permissions of the users or user groups must be set not only for sharing but also for
local access. Following the installation of PCS 7, these rights are set automatically for
the default project directory "SIEMENS\STEP7\S7Proj".
PreparationsHowever, since the project directory often deviates from this path, you must explicitly set
the permissions. This is accomplished with the SimaticRights application, which you
SimaticRights
can find on the PCS 7 Engineering Toolset DVD 1 in the folder
"Additional_Products\SimaticRights".

You start SimaticRights, enter the path for the project or browse for it, and set the
SITRAIN permissions with "OK".
Course ST-PCS7OSE 4-5 Siemens AG © 2012

SIMATIC PCS 7 – The Client / Server Configuration


Course folder, V9.0.0, ST-PCS7OSE 4-5
SIMATIC PCS 7 OS Engineering

4.2.4 Simatic Shell


The PC stations can have multiple network adapters with the TCP/IP protocol.
Therefore, you must communicate to PCS 7 which network adapter is responsible for
the connection to the terminal bus.
Preparations
This is done with the Simatic Shell application. You select the communication module
Simatic Shell
for the connection to the terminal bus that you will use to configure and download the
PC stations.

Network adapter to
terminal bus

Course ST-PCS7OSE
Set the network connection for 4the
-6
terminal bus as follows: SITRAIN - Siemens AG © 2015

 Select the PC station (workstation) in the tree view in Windows Explorer.


 Select the "SIMATIC Shell" folder.
 Select the Settings command from the shortcut menu.
 The "Selection of the terminal bus" dialog box opens.
 In the "Network adapter" group, select the communication module that you want to
use for communication on the terminal bus.

Encrypted communication can now be configured between PCS 7 OS-Stations. When


encrypted communication is activated, only communication between OS-Stations is
established that have the same PSK-Key (Pre Shared Key) defined.

SIMATIC PCS 7 – The Client / Server Configuration


4-6 Course folder, V9.0.0, ST-PCS7OSE
SIMATIC PCS 7 OS Engineering

Configuring the ES station


4.3 The configuring of theof
The configuring ESthe ES

As previously explained, you need an additional PC station for managing your


engineering station. To accomplish this, follow these steps:

Steps for configuring the ES

1 Add the PC station of the ES to the project of the OS server

2 Set the station name in the properties of the ES station

3 Configure the hardware of the ES station

4 Delete the OS from the ES station

5 Configure the ES-AS connection

6 Configure the ES station

7 Download the ES station

Note the following when configuring:


 The name of the PC station should match the computer name of the ES. You set this
ST-PCS7OSE
in the properties of the ES station.
4-7 SITRAIN © Siemens AG 2018

 In the hardware configuration, you configure both the network adapter for the system
bus as well as a WinCC application. Make sure that the configured network adapter
is connected to the system bus.
 Configuring the WinCC application also creates an OS, which is not needed on the
ES however. Therefore, delete the OS from the WinCC application in SIMATIC
Manager.
 The remaining WinCC application is needed to configure a connection between the
ES and the AS. This is required to obtain a process connection to the AS during the
simulation of the OS. This requires that the connection between the ES and AS has
same name as the connection of the actual OS and the AS.
 For configuring the ES station, the network adapter connected to the terminal bus
may need to be declared with Simatic Shell.
 For downloading the ES station, set the S7ONLINE access point to PC internal.
After downloading the ES station, the name of the station in the Station Configuration
Editor matches the name of the ES station in SIMATIC Manager. A yellow arrow
identifies the ES station as the assigned SIMATIC PC station in SIMATIC Manager and
in the network view.

 Remember that the ES must be configured and downloaded first. The other stations
on the system bus can only be downloaded when the Station Manager has been
correctly configured.

SIMATIC PCS 7 – The Client / Server Configuration


Course folder, V9.0.0, ST-PCS7OSE 4-7
SIMATIC PCS 7 OS Engineering

4.4 Configuring the OS server


4.4.1 The properties of the OS station
To make
Configuring theitOS
easier to assign a PC station to the actual target computer, it is usually given
server
its computer name. For this reason, you enter the name of the target computer in the
The properties
propertiesof
of the OS
the OS station
station and select the "Computer name identical to PC station
name" option to specify that the station name corresponds to the computer name.

Station name

Station name same as


computer name

ST-PCS7OSE This setting facilitates subsequent 4configuration


-8 tasks, since the target station
SITRAIN on AG
© Siemens the2018
terminal bus can then be derived directly from the station name.

SIMATIC PCS 7 – The Client / Server Configuration


4-8 Course folder, V9.0.0, ST-PCS7OSE
SIMATIC PCS 7 OS Engineering

4.4.2Configuring
The properties
the OSofserver
the OS
The properties of the OS
In the properties of the OS, you specify the symbolic computer name and the path to the
target OS station.

Shared folder on
target computer

Must be adapted

ST-PCS7OSE 4-9 SITRAIN © Siemens AG 2018


The symbolic computer name
The symbolic computer name is formed by default from the name of the project and the
OS. Since this symbolic computer name is used in many places, for example, to label
the server selection, change it to a more descriptive name that reflects the task of the
OS within the system.

Path to the target OS


During the preparation of the stations, you created a shared folder on the computer of
the OS. The project of the OS is downloaded to this folder.
You set the path to the target OS by browsing through the network or by entering it
manually.

 If you enter the path to the target OS manually, use UNC syntax without a drive letter
in the form:
\\[Name of server]\[Directory name]\...\

 NOTICE!
The name of the shared destination folder must not bear the name of the OS. Due to
the nesting of directories having the same name, this would result in problems when
downloading the OS.

SIMATIC PCS 7 – The Client / Server Configuration


Course folder, V9.0.0, ST-PCS7OSE 4-9

You might also like