pcs7 Compendium Part A en-US en-US PDF
pcs7 Compendium Part A en-US en-US PDF
pcs7 Compendium Part A en-US en-US PDF
What's new? 2
Preparation and
administration 3
SIMATIC
Creating and managing a
PCS 7 project 4
Process Control System PCS 7
Compendium Part A - Configuration of the
5
hardware (AS and I/O)
Configuration Guidelines (V8.1)
Configuration of the network
connections 6
Configuration Manual
Configuring AS functions 7
Configuring OS functions 9
Changing projects in process
mode 10
Integrated asset
management 11
12/2014
A5E35031757-AA
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
1 Preface ................................................................................................................................................... 8
2 What's new? ......................................................................................................................................... 10
3 Preparation and administration.............................................................................................................. 13
3.1 Overview ................................................................................................................................ 13
3.2 Preparatory planning .............................................................................................................. 15
3.2.1 Documentation ....................................................................................................................... 15
3.2.2 Plant concept ......................................................................................................................... 17
3.2.3 Hardware selection ................................................................................................................ 18
3.2.4 Naming concept ..................................................................................................................... 19
3.2.5 Workgroup and domain .......................................................................................................... 20
3.2.6 User administration ................................................................................................................ 23
3.2.7 Backup management ............................................................................................................. 24
3.2.8 Patch management and security updates ............................................................................. 25
3.3 Installation .............................................................................................................................. 25
3.3.1 Hardware configuration and BIOS settings ............................................................................ 25
3.3.2 Hard disk distribution ............................................................................................................. 27
3.3.3 Installation of the operating system ....................................................................................... 28
3.3.4 Installation of PCS 7 .............................................................................................................. 29
3.3.5 Network settings..................................................................................................................... 30
3.3.6 Configuring the terminal bus .................................................................................................. 32
3.3.7 Configuring the plant bus ....................................................................................................... 36
3.3.8 Setting up users and assigning rights .................................................................................... 39
3.3.9 License management ............................................................................................................. 39
3.4 Administration tasks ............................................................................................................... 41
3.4.1 Tools for PC administration .................................................................................................... 41
3.4.2 Documentation and inventories ............................................................................................. 42
4 Creating and managing a PCS 7 project ............................................................................................... 44
4.1 General configuration rules .................................................................................................... 45
4.2 Required settings in the SIMATIC Manager .......................................................................... 47
4.3 Creating the multiproject ........................................................................................................ 49
4.4 Adding additional projects ...................................................................................................... 55
4.5 Adding Additional Stations ..................................................................................................... 57
4.5.1 Engineering Station ................................................................................................................ 58
4.5.2 Automation system - Standard............................................................................................... 64
4.5.3 OS server ............................................................................................................................... 65
4.5.4 OS clients ............................................................................................................................... 71
4.6 Creating the plant hierarchy ................................................................................................... 74
4.7 Sharing out configuration work .............................................................................................. 81
Checklists
You can download the checklist for the SIMATIC PCS 7 compendium part A (V8.1) as a zip
file via the "Info" button on the contribution page.
Validity
This documentation is valid for the software packages:
● SIMATIC PCS 7 V8.1
Additional support
If this manual does not contain the answers to any questions you may have about how to
use the products described, please contact your local Siemens representative.
You can locate your contact at http://www.siemens.com/automation/partner.
You can find a guide to the technical documentation available for individual SIMATIC
products and systems at http://www.siemens.de/simatic-tech-doku-portal.
The online catalog and online ordering system are available at
www.siemens.com/industrymall.
Training center
Siemens offers a number of training courses to familiarize you with the SIMATIC PCS 7
process control system. Contact your regional training center or the main training center in
Nuremberg 90327, Germany (http://www.sitrain.com).
Technical support
You can contact technical support for all Industry Automation and Drive Technology products
using the Support Request web form (http://www.siemens.de/automation/support-request).
More information about our technical support services is available on the Internet at
http://support.automation.siemens.com/WW/view/en/16604318.
Configuring AS Functions
The contents of the "Configuring the AS Functions" section have been updated in
accordance with the new functionalities and operating options in PCS 7 V8.1.
Attention must be paid to changes to the procedures and settings as well as any
enhancements in the following sections in particular:
● Updating block types: Notes on updating block types
● AS resource utilization: Information on the cycle memory and communication utilization
● Requirements for configuration in CFC Editor
● Managing process tag types with the process object view
● Archiving/Versioning with Version Trail
Configuring OS Functions
The contents of the "Configuring the OS Functions" section have been updated in
accordance with the new functionalities and operating options in PCS 7 V8.1.
Attention must be paid to changes to the procedures and settings as well as any
enhancements in the following sections in particular:
● Design of process pictures: Notes on advanced process graphics
● Message system
● OpenPCS 7
● Downloading the OS projects: Requirements
Note
In the overall document you will also receive notes on the increased availability as part of the
Lifecycle agreements.
Introduction
Implementation of the required automation functions is often possible with PCS 7 in various
ways. The work steps described in this document for project creation, configuration and
parameter assignment provide the basis for the PCS 7 application to be created. The
following aspects play an important role in this for the complete runtime of the system:
● Availability
The availability of the overall system can be influenced by appropriate actions in the
PCS 7 application starting in the planning phase.
● Expandability
Expansions and/or changes will need to be made repeatedly following the initial
commissioning of a PCS 7 system. Attention must be paid to this when creating the
PCS 7 application so that these can be executed more efficiently.
● Maintainability
According to the IEEE 610.12-1990 standard, software maintenance is understood to be
"the modification of a software product after delivery to correct faults, to improve
performance or other attributes, or to adapt the product to a modified environment".
● Legibility
Among other things, one of the principles of programming in IT theory is that the software
must be created legibly. The requirements are that the code is well formatted,
corresponding identifiers are used and meaningful comments are inserted. The following
points should be achieved or improved by adhering to these principles:
– Options for reviewing the software in order to improve its correctness and robustness
– Options for maintaining the software
– Options for expanding the software
The following section provides an overview of the topics in this section.
Preparatory planning
You will find information about the following topics in this section:
● Documentation
● Plant concept
● Hardware selection
● Naming
● Workgroup or domain
● User rights
● Backup management
● Patch management and security updates
Installation
You will find information about the following topics in this section:
● Hardware configuration and BIOS settings
● Hard disk distribution
● Installation of the operating system
● PCS 7 installation
● Network settings
● Terminal bus set-up
● Plant bus set-up
● Setting up users and assigning rights
● License management
Administration tasks
You will find information about the following topics in this section:
● Tools for PC administration
● Documentation and inventories
See also
SIMATIC PCS 7 PC Configuration
(http://support.automation.siemens.com/WW/view/en/90635791)
3.2.1 Documentation
Specifications / guidelines
The following figure shows the specifications/guidelines that are meaningful at the start of a
project:
The documents build on each other and become increasingly more detailed in accordance
with the V model of the GAMP5 approach. However, it is not only creation of the PCS 7
solution that is defined and regulated with these guidelines. They also form a very good
basis for all future work on a PCS 7 plant and provide consistent quality over the plant's
entire lifecycle.
The following specifications must be observed:
● User Requirement Specification (URS)
● Functional Specification (FS)
● Design Specification (DS)
The test documents used for reviewing and documenting adherence to the specifications are
just as important:
● Factory Acceptance Test (FAT), also known as Installation Qualification (IQ)
● Site Acceptance Test (SAT) also known as Operational Qualification (OQ)
● Performance Qualification (PQ)
These documents are used for quality assurance purposes during a plant's entire lifecycle.
The PCS 7 compendia should be taken into account for the design guidelines and test
specifications.
Introduction
The following plant concept is used in this documentation as an example for implementing
process automation:
This structure can be easily scaled to larger quantity structures by adding further automation
systems or redundant OR server pairs.
Note
Derivation of the appropriate automation solution for a process plant is explained in more
detail through an overview of typical questions in the "SIMATIC Process Control System
PCS 7 Engineering System" manual. Taking this overview into account is recommended for
effective planning of the plant.
Note
Special attention should be paid to hardware compatibility for the PCS 7 V8.1 operating
systems Windows 7 and Windows Server 2008 R2 based on 64-bit. For this pay attention to
the hardware compatibility matrix in the "PCS 7 V8.1 Readme" document.
Note
The following names must be identical when you configure an OS or BATCH Server and
an Engineering Station:
• Computer name
• Name of the PC station
Note
You can find additional information about the naming conventions in the following
documentation:
• PCS 7 Readme V8.1 (http://support.automation.siemens.com/SDW/view/en/101094704)
• "SIMATIC Process Control System PCS 7 Engineering System" manual
(http://support.automation.siemens.com/WW/view/en/90663380)
• WinCC online help (search string "illegal characters")
Working environment
You have the option of operating the computers in your PCS 7 plant in a workgroup or
domain environment.
The following tables present a comparison of the advantages and disadvantages (from a
technical perspective) as well as scenarios (examples) and their use in workgroups and
domains.
Note
This information is provided as a basis for discussion to assist you in the selection of the
appropriate environment for your computers. In addition to the technical criteria, also
consider organizational criteria (for example, plant-specific IT, Microsoft expertise,
resources, workload and maintenance, etc.).
DHCP server
Note
In PCS 7, the use of a DHCP server is only permitted with address reservation. All PC
stations must work with reserved addresses.
Scenarios
The lists above are not weighted in terms of importance; you must determine which
advantage or disadvantage is the most significant for the PCS 7 plant in question.
Domain example
Changes can be made centrally, fast and conveniently in the domain structure. However, the
administration of a domain requires know-how, experience and additional work.
Workgroup example
In the workgroup, the majority of settings have to be made on the local computer. If a PCS 7
plant is running with fixed settings, however, and few changes are expected, these settings
only need to be made once. In this case, additional time for creating a domain and providing
extra training for the operating personnel is not required.
Note
You can find additional information in the following manuals:
• PCS 7 Security Concept, Recommendations and Notes
(http://support.automation.siemens.com/WW/view/en/22229786)
• SIMATIC Process Control System PCS 7 Security concept PCS 7 & WinCC (Basic)
(http://support.automation.siemens.com/WW/view/en/60119725)
• SIMATIC Process Control System PCS 7 Support and Remote Dialup
(http://support.automation.siemens.com/WW/view/en/38621092)
• SIMATIC Process Control System PCS 7 Patch management and security updates
(http://support.automation.siemens.com/WW/view/en/38621083)
• SIMATIC Process Control System PCS 7 Managing virus scanners
(http://support.automation.siemens.com/WW/view/en/38625951)
Integration in a domain
All PCs in the PCS 7 product bundles are configured for a Windows workgroup. If you
include preconfigured PC systems in a Windows domain, you must reactivate the security
settings using the SIMATIC "Security Controller" software.
User concept
Using the following roles for a PCS 7 plant is recommended when planning the user concept:
● PCS 7 installation
A user account which is a member of the local administrator group is required to start the
PCS 7 set-up.
● Windows users for operator stations and engineering stations
Working permanently with administrator rights on the PCS 7 system is not recommended
once the installation is complete for security reasons. This means that at least one
additional Windows user is required on each station. In addition to the user groups
required by PCS 7 components (e.g. SIMATIC HMI), membership in the "user" group will
suffice.
Note
For some PCS 7 components (e.g. SIMATIC Management Console, Process Historian
[PH]), belonging to the group of administrators and logging in with administrator rights to
the station and to the component is required.
You can find additional information on the SIMATIC Management Console in the manual
"SIMATIC Process Control System PCS 7 SIMATIC Management Console (V8.1)"
(http://support.automation.siemens.com/WW/view/en/90683240).
You can find additional information on the Process Historian in the manual "Process
Historian – Administration"
(http://support.automation.siemens.com/WW/view/en/68713474).
Note
The following guidelines apply to creating a new user account in accordance with Microsoft
Windows Help:
• A user name may not be the same as another user or group name on the computer being
managed.
• The name may contain up to 20 small or upper case letters and figures.
• The characters " / \ [ ] : ; | = , + * ? < >" are not permitted in user names.
• A user name may not consist solely of periods (.) or spaces.
Introduction
Creating at least one backup of the operational system partition including the PCS 7
installation and storing this in case of any potential failure is required in order to increase
availability of the plant and to reduce failure times.
In connection with this a restore DVD is also supplied with the SIMATIC PCS 7 industrial
workstation (IPC). You can find additional information in your IPC operating instructions.
PCS 7 multiprojects are archived via a SIMATIC manager function, meaning that no backup
needs to be created for a data partition.
Backup software
In selecting image software, ensure that it is suitable for the operating system in use.
"SIMATIC PC Image Creator" software is offered for data backups in Windows as a
supplement to the SIMATIC PCS 7 industrial workstation. This software enables simple
backup and fast recovery of complete compact flash and hard drive content as well as of
individual partitions (images).
You can find additional information on this on the Internet at "Delivery release of the
SIMATIC IPC Image & Partition Creator"
(http://support.automation.siemens.com/DE/view/en/64804201).
Note
Please note that neither license keys nor authorizations can be backed up along with the
data. Move authorizations and license keys to a different medium before creating the image,
e.g. to a separate partition.
Note
Information on using the WSUS within PCS 7 plants can be found in the "SIMATIC Process
Control System PCS 7 Patch management and security updates
(http://support.automation.siemens.com/WW/view/en/38621083)" document.
Additional information
Additional information on installing security patches, hotfixes and service packs can be found
in the SIMATIC Process Control System PCS 7 - PC Configuration
(http://support.automation.siemens.com/WW/view/en/90635791)" manual.
3.3 Installation
Note
Setting up the relevant devices and drivers is described in the "SIMATIC Process Control
System PCS 7 - PC Configuration"
(http://support.automation.siemens.com/WW/view/en/90635791) manual.
Information about the modules approved for use is available in the SIMATIC Process Control
System PCS 7; Released Modules
(http://support.automation.siemens.com/WW/view/en/103151431)manual.
BIOS Settings
You can improve the security and stability of the PCS 7 plant through the following measures
within BIOS.
● Create a BIOS password. Change the existing default passwords.
● Deactivate disk, CD or DVD drives that are not required. This applies principally to the
operator stations.
● Deactivate USB port functions that are not required. This applies principally to the
operator stations.
● Deactivate the boot menu display and set the hard disk with system partition at the initial
position of the boot sequence.
Note
You can find additional information in the document "PCS 7 Readme V8.1 SP1
(http://support.automation.siemens.com/SDW/view/en/101094704)".
Introduction
The following chart shows an example of how a PC station hard disk can be distributed:
Note
The Microsoft SQL Server stores temporary files on the "C:" drive. Therefore, you should
regularly check whether enough hard disk space is available, especially during the FAT.
You can find additional information on the hard disk distribution in the
"SIMATIC Process Control System PCS 7 – PC Configuration" manual
(http://support.automation.siemens.com/WW/view/en/90635791).
Introduction
The operating system and SIMATIC PCS 7 software are preinstalled on the SIMATIC PCS 7
industrial workstation (IPC). Take note of the information in this section in order to complete
their installation.
Note
If a computer installation is completed manually, the requirements and procedure needed for
this in the "PCS 7 Readme" and described in detail in the "SIMATIC Process Control System
PCS 7 – PC Configuration (http://support.automation.siemens.com/WW/view/en/90635791)"
manual must be observed.
Note
You can find important information on the subject of installation in the contribution "What can
lead to a delayed start of SIMATIC PCS 7 applications?"
(http://support.automation.siemens.com/WW/view/en/87057037).
Internet time
Ensure that the Windows system time is not automatically synchronized via the Internet
where the PC stations are operated in a workgroup (Change date/time > Internet time). This
allows you to avoid corresponding error messages from the Windows time service in the
events display.
Virus scanners
By setting up a virus scan solution you can reduce the risk of plant faults occurring as a
result of malware. Virus scanners approved for PCS 7 can be installed later.
Suitable virus scan software versions from manufacturers "Symantec", "McAfee" and "Trend
Micro" have been tested and approved for each PCS 7 version. You can find the relevant
approved software version in the "PCS 7 Readme" documentation. You can also find
information on this in the FAQ "With what are SIMATIC PCS 7 V8.x, V 7.x etc. compatible?
(http://support.automation.siemens.com/DE/view/en/22761505)".
Note
Information on installing and managing virus scanners within PCS 7 plants can be found in
the "SIMATIC Process Control System PCS 7 Virus Scanner Administration”
(http://support.automation.siemens.com/WW/view/en/38625951) document.
Additional software
Only install the software products mentioned in the documentation on a PCS 7 PC, e.g. MS
Office components or burning software. This applies in particular to PC stations with process
mode (OS, BATCH, Route Control).
Installing and simultaneously activating applications that are not approved by Siemens can
adversely impact the PCS 7 system performance.
The user bears sole responsibility when third-party products are used. If you require third-
party products, these should be installed before you install PCS 7. PCS 7 and the third-party
products may not run at the same time.
Introduction
PCS 7 software is installed automatically via a PCS 7 framework setup. You can find
extensive information on this in the "SIMATIC Process Control System PCS 7 – PC
Configuration” (http://support.automation.siemens.com/WW/view/en/90635791) manual.
If a computer installation is being performed manually then the requirements and the
procedure for this must be observed. Information on this can be found in the "PCS 7
Readme" (http://support.automation.siemens.com/SDW/view/en/101094704) documentation
and in the "SIMATIC Process Control System PCS 7 PC Configuration”
(http://support.automation.siemens.com/WW/view/en/90635791) manual.
Address management
Following the PCS 7 installation, check the addresses and make any settings which may be
required. Systematic assignment of the addresses at the start of the project will make
configuration, commissioning, plant expansion, and maintenance easier.
Record the assigned addresses in a table like the one shown below, for example, and keep
them up to date:
Name Name Terminal bus Plant bus Plant bus PC compo- Plant bus AS compo-
Subproject PC station/ IP address IP address nents nents
Note
The only time you need to manually set the two components on the patch cable to a uniform
transmission setting, for example 100 Mbps full-duplex, is when one of the components on
the plant bus or terminal bus does not support the autonegotiation function. Deviating
settings may lead to unpredictable error scenarios.
Procedure
The following steps show how to configure the terminal bus for a PCS 7 plant:
1. Rename the compatible network connection, e.g. to "terminal bus".
2. Select the "Advanced -> Advanced Settings..." command via the "terminal bus"
connection context menu in order to set the network adapters. In order to ensure fault-
free communication via the terminal bus on all nodes (e.g. OS servers, OS clients), the
relevant network card must be located in first position as regards the order in which the
network services are accessed.
3. Set the settings for the "Internet (TCP/IP)" protocol inside the network connection in
accordance with the project specifications.
4. Ensure that the energy-saving option is switched off in the network card properties.
5. Set the same work group for all PCS 7 stations where you are not using a domain
structure.
6. If you are not using a WINS/DNS server, create the LMHOSTS and HOSTS files for
TCP/IP name resolution and distribute these to all PCS 7 stations.
7. In the "LMHOSTS" file use the parameter #PRE for each computer name to be entered
so that this name is entered into the so-called NETBIOS cache when the computer is
booted up. (The cache can be displayed via the command line using the "nbtstat –c"
command)
Note
Additional information on setting up, managing and backing up network structures such
as workgroups and domain can be found in the "Security Concept PCS 7 and WinCC –
Basic Document” (http://support.automation.siemens.com/WW/view/en/60119725).
The "Internet Protocol Version 6 (TCP/IPv6)" check box should not be cleared.
After installation of the operating system, the "public network" network profile is
configured by default for the network connections, which is not released for the terminal
bus in PCS 7. You can find information on connecting to the terminal bus in the "SIMATIC
Process Control System PCS 7 – PC Configuration"
(http://support.automation.siemens.com/WW/view/en/90635791) manual (in the section:
"This is how you set up the connection to the terminal bus for a work group").
If there is no required partner station in SIMATIC Shell, it may indicate that the TCP/IP name
resolution is poorly set. There are several concepts for a TCP/IP network in this regard,
beginning with the editing of the LMHOSTS and HOSTS files and continuing with the use of
WINS/DNS servers.
You can trigger a refresh of the SIMATIC Shell using "Settings ..." in the shortcut menu.
Select the network adapter for the terminal bus and click "OK".
From PCS 7 V8.1 onwards, encrypted communication is possible. If you activate encrypted
communication, only the computers for which a common key is defined can communicate
with each other. You can find additional information on this in the "SIMATIC Process Control
System PCS 7 – PC Configuration"
(http://support.automation.siemens.com/WW/view/en/90635791) manual.
If all stations are available you can manage all stations centrally via the network using the
Microsoft Management Console (See "Tools for PC administration (Page 41)").
Note
Use TCP/IP on the plant bus under the following conditions:
• Joint (combined) terminal and plant bus for smaller plants without an OS server
• Routing via subnets required
• Using an automation system with integrated Ethernet interface
• Using NTP (Network Time Protocol) for time synchronization
• Monitoring network components on the plant bus for asset management
• Operating gateways on the plant bus (external connection of an AS)
Use the ISO protocol on the plant bus under the following conditions:
• Configuring "Fault-tolerant S7 connection" for H systems (concerns CPU firmware less
than V5)
• Time synchronization based on the SIMATIC procedure
Using CP16x3/CP16x8
Using a CP16x3/CP16x8 in the engineering station or OS server has the following benefits:
● More than eight AS can be connected.
● High availability AS–OS connections with automatic switching of the communication can
be configured (also possible with a network card for CPUs with firmware V6 or higher).
● The "OS simulation" function can also be used for a redundant automation system.
● The CP MAC address can have parameters assigned to it or be modified.
Note
If a BCE (Basic Communication Ethernet) module is being used for communication
instead of the CP16x3/CP16x8, parameters cannot be assigned to the MAC address. In
the event of a fault (e.g. defective module) this may mean that the connections have to be
reconfigured by the new MAC address of the replacement module and the project
documentation has to be changed.
The following two TCP/UP protocols can be operated in parallel in the CP16x3/CP16x8:
● Windows communication (via the NDIS adapter)
● Communication via the "S7 online" access point (can be configured in NetPro/HW config)
Note
Different TCP/IP addresses have to be set in both TCP/IP protocols of the
CP16x3/CP16x8 for unique identification purposes.
This applies in particular in PCS 7 V7.1 and above. From this version the NDIS adapter
for CP16x3/CP16x8 is installed automatically through the PCS 7 setup and it cannot then
be deactivated.
Procedure
The following steps demonstrate how to configure the plant bus:
1. If there is a network connection for CP16x3/CP16x8 in Windows, deactivate the "Client
for Microsoft Networks" and "File and Printer Sharing for Microsoft Networks" protocols in
this network connection, as these two Microsoft protocols are only required at the plant
bus.
2. Check the current configuration of your installed network cards with the "communication
settings" tool ("Start > All programs > Siemens Automation > SIMATIC > SIMATIC NET >
Communication settings"). The plant bus is generally configured via the SIMATIC
Manager of your ES and is described in the "Creating and managing a PCS 7 project
(Page 44)" section.
3. Check that the MAC address and the TCP/IP addresses correspond with the planning.
Note
You can find detailed information about configuring the "Plant bus" connection in the
"SIMATIC Process Control System PCS 7 – PC Configuration"
(http://support.automation.siemens.com/WW/view/en/90635791) manual.
Introduction
The following tasks should be executed as part of configuring the computer:
● Creating the users for logging onto Windows for ES and OS station with user rights and
membership in the SIMATIC HMI group
● Adapting NTFS authorizations for the project directories
The following tasks should also be executed where SIMATIC Logon is used:
● Creating the user groups for SIMATIC Logon in accordance with the planned distribution
of roles
Reference
You can find additional information on the topic of "user rights" in the "SIMATIC Process
Control System PCS 7 – PC Configuration"
(http://support.automation.siemens.com/WW/view/en/90635791) manual.
Introduction
A process for managing evidence of the existing licenses should be defined for all stages in
the lifecycle of a PCS 7 plant. This management should cover all the licenses used in a
plant. The following points must be taken into account:
● Storage location
● Person responsible
● Access
● Procedure in the event of loss or fault with a license
The serial number of each individual license should be listed in addition to the description
and article number so that the license documents can be clearly matched with the licenses
that are installed.
Use a defined station, e.g. the ES, in order to manage all license packages ordered centrally
with the "Automation License Manager" program.
Procedure
1. Open the Automation License Manager on a PC station. Access protection is switched off
as standard.
2. Connect all computers permanently via the "Connect computers" function.
3. Transfer all required license packages from the license disk or the license USB stick from
PCS 7 V7.1 to the partitions provided for this.
Note
Managing the Automation License Manager and a description of the possible license types
can be found in the "SIMATIC Process Control System PCS 7 – Licenses and quantity
structures" (http://support.automation.siemens.com/WW/view/en/90663401) manual.
Reserves
There should be an overview of all licenses in use with the current reserves during the entire
lifecycle of a PCS 7 plant.
Attention must be paid in particular to the reserves where the number is limited:
Introduction
Once the installation is complete, document the actual status of the PC stations and of the
software products in use. Determine the deviation from the setpoint separately.
The existing project documents, e.g. the plant overview plan, the network plan and the
network address list should be controlled accordingly and updated as applicable.
Backups
Images are often created when PCs are installed in order to have restore points on the one
hand in the event that faults occur later on in the installation, and so that any reinstallation
can be completed more efficiently on the other.
Attention must be paid to the following points when managing images:
● Secure storage location
● Detailed description for each image
Recommendations
● Export a list of the SIMATIC software installed for each PC station. The list is created
automatically by the SIMATIC Diagnose Tool.
● Export a list of the licenses installed for each PC station via the Automation License
Manager.
● Use the export function of the Windows own system information program (msinfo32.exe)
to determine the existing hardware and software installation.
Note
The SIMATIC Management Console can be used for the central, standardized administration
of SIMATIC PCS 7 software and the inventory taking of all installed software and hardware
components of a SIMATIC PCS 7 system. You can find additional information on this in the
manual "SIMATIC Process Control System PCS 7 – SIMATIC Management Console (V8.1)"
(http://support.automation.siemens.com/WW/view/en/90683240) manual.
Introduction
Before you create your own multiproject, you should be familiar with these important rules.
This will help you to avoid carrying out certain tasks twice.
Central configuration
The entire configuration is performed on the ES in PCS 7 before the OS projects are loaded
to the respective PCs.
Note
You can find information about distributing the configuration work across multiple
engineering stations in the "Sharing out configuration work (Page 81)" section.
Archiving
Do not forget to archive the overall project along with the individual projects on a regular
basis via the SIMATIC Manager, especially where it is being worked on by multiple
individuals.
Note
The "auto-archiving" function is available when downloading the program with PCS 7 V8.1
(with the optional package version trail).
Multilingual capability
SIMATIC PCS 7 provides a large number of settings for texts and languages. The following
application example provides a detailed description of how these are configured, adapted or
amended:
● Configuring texts and languages in SIMATIC PCS 7
(http://support.automation.siemens.com/WW/view/en/56248153)
Time synchronization
Time synchronization is critically important for the interrupt and tag logging system. Make
sure that only one (redundant) time server is active in the running system and that all
stations (PCs and CPUs) use the correct time. In PCS 7 V7.0 and above the CPU always
uses Coordinated Universal Time (UTC).
For information on time synchronization see the following manuals:
● "PCS 7 time synchronization"
(http://support.automation.siemens.com/WW/view/en/90682531)
● "SIMATIC Process Control System PCS 7 Operator Station"
(http://support.automation.siemens.com/WW/view/en/90682677)
Special characters
Using special characters (spaces, % . ' \ ? * : § €) is generally not recommended in PCS 7 for
names such as tag and archive tag names. Project names and image names may only
contain ASCII characters.
The following chart shows additional characters which are not permitted for the components
in PCS 7:
Example
If, for example, you assign the name "TICA:1" for a CFC chart (this becomes "TICA$1" on
the OS) and use the name "TICA*1" for another CFC chart, (also becomes "TICA$1"), you
will receive an error message with the OS compilation of the second chart because the chart
name already exists.
Introduction
Before creating a multiproject, you should check the default settings of the SIMATIC
Manager and adapt them to your requirements. The defaults settings can be edited in the
SIMATIC Manager under "Options > Settings…".
The online help is available in every dialog to provide you with an exact description of the
optional settings. Practical settings which can make configuration work easier are listed
below.
General
Set the storage location for projects to a directory in a data partition.
If you use another project path, you need to set the necessary access rights using the
"SimaticRights.exe" application. The "SimaticRights.exe" application can be found on DVD 2
"Process Control System SIMATIC PCS 7" under
"Additional_Products\SimaticRights\SimaticRights.exe".
Language
Once the country language has been set you can determine whether the I/O address
concept for the multiproject to be created should be based on German (e.g. AW512) or
English (e.g. QW512).
Archiving
Set both paths for archiving and retrieving to your chosen directory. The "PKZip" archiving
program is the default setting for archiving a multiproject. You also need to set the "Archive
spanning diskettes" option to "No" in the "Configure" dialog to shorten the archiving process.
Message numbers
In PCS 7 V6.1 and above the "Assign CPU-oriented unique message numbers" option is the
default setting. This ensures that S7 programs are copied without changes being made to
the message numbers.
The multiproject ("Comp_MP" in the following example) should consist of the following parts:
● Project "01_PLANT_A" for a unit consisting of fault-tolerant AS
● Project "02_PLANT_B" for a unit consisting of standard AS
● Project "25_ES" for one or more engineering stations
● Project "20_OS" for the redundant OS server pair and an OS client
● Project "21_CL", for OS clients of the same type as typical operator stations
● Master data library "Comp_Lib"
The division of the multiproject into various projects is defined by technological and local
conditions, as well as by project specifications such as the number of project engineers or
the allocation of responsibilities.
Note
A redundant OS server pair must always be created in the same project. Referenced
operator stations must be created in the same project as the reference.
Detailed information on distributed engineering can be found in the document "PCS 7
Multiproject/Multi-user Engineering"
(http://support.automation.siemens.com/WW/view/en/22258951).
Procedure
The following steps show how to create the project "Comp_MP" for the first automation
system and the standard library:
1. Select the "New Project Wizard" command in the "File" menu in SIMATIC Manager.
The PCS 7 Wizard executes.
2. Select an AS 410-2H in the second dialog box. You can enter an part number (MLFB)
using the "Search" button.
3. Deactivate the possible OS objects in the third dialog box. This project component is
created in a step described later in this guide.
4. Adapt the project name and the storage location (path) in the fourth window. The project
name matches the directory name.
5. Click "Make".
Note
Project names for multiprojects and projects can be assigned freely. PCS 7 automatically
creates the path where the data is to be stored in the Windows file system. The path
name may differ from the project name (shortened to eight characters). As PCS 7 data is
only edited in the SIMATIC Manager, this path name is of no consequence to the user.
Note
Assigning unique names to the S7 program files of different automation stations is
recommended. S7 program names may not contain any blanks.
Procedure
The following steps demonstrate how to add an additional project:
1. Create a new project for Plant B. It will later contain a standard CPU.
2. Select the name "02_Plant_B" (Plant_B - name of the plant) and the storage location also
where applicable.
3. Create a new project for the redundant OS server pair and the associated OS client.
Select the name "20_OS" and the storage location.
4. Create a new project for the remaining OS clients. Select the name "21_CL" and the
storage location.
5. Create a new project for the ES. Select the name "25_ES" and the storage location.
The "New Project" wizard has already generated the "Comp_Lib" master data library and
added it to the project. It should contain all blocks and process tag types in the project as a
template.
Note
A central data management in the master data library is a prerequisite for essential PCS 7
functions such as the Import Export Assistant or the automatic block update for all S7
programs in the multiproject.
Furthermore you can use the master data library to ensure that all project engineers are
working on the same database. This facilitates coordination and organization during the
configuration phase and during the later project expansions or upgrades.
Result
Once the projects are created the corresponding structure is displayed in the component
view of the SIMATIC Manager.
Note
The network adapters for the terminal bus are not configured.
You should use the following project structure as a template for creating these:
Procedure
The following steps show how to insert and configure an engineering Station (ES):
1. Insert a SIMATIC PC station into the project "25_ES" by selecting the project and
selecting the "Insert New Object > SIMATIC PC Station" via the context menu.
2. Rename the PC station.
The name of the PC station must match the station name in the Station Configuration
Editor, which already has the default computer name. We recommend using the Windows
computer name of the ES (for example, "ES22"). This applies to all PC stations.
A yellow arrow then appears on the ES PC station icon in the SIMATIC Manager to
indicate the capability of the ES to establish a connection to the plant bus via the "PC
internal" interface.
3. Select the "Computer name identical to PC station name" option in the PC station object
properties. The "Computer name" field cannot be empty as other functions such as
"Configure PC Station" need to be able to access this name.
Note
When asset management is used, no computer name is entered for the PC station of the
ES (yellow arrow). Detailed information is available in the section "Integrated Asset
Management (Page 294)".
6. Create a new subnet for your plant bus in the object properties of the CP16x3 and assign
the planned MAC address to the CP16x13. Change the name of this e.g. to "Plant Bus".
7. Activate the "Time of day" option in the "Options" tab of the CP16x3 properties dialog so
that the CP16x3 is generally capable of forwarding the time frames from and to the OS.
10.Load the configuration via the "PLC > Download…" command in the context menu in the
program.
Following a successful configuration the status and operating status of both the
configured components is displayed in the Station Configuration Editor which starts
automatically when Windows starts.
Procedure
The following steps show how to insert a standard automation system (AS) into the project:
1. Insert a standard AS into the subproject "02_Plant_B" by selecting the subproject and
selecting the "Insert New Object > Preconfigured Station" command via the context
menu.
4.5.3 OS server
Procedure
The following steps show how to insert and configure OS servers in the project:
1. Insert a new PC station into the subproject "20_0S" by selecting the project and selecting
the "Insert New Object > Preconfigured Station" via the context menu.
The PCS 7 Wizard executes.
3. Select the "PCS 7 OS" option box and the "Multiple station system redundant" option.
5. Rename the three new PC stations. The names "SERVER1A", "SERVER1B" and
"CLIENT01" are used in the example project "Comp_MP".
6. Change the name of the OS object of station "SERVER1A" to "OS1".
7. Open the properties dialog of the "OS1" and click on the "Target OS and Standby OS"
tab. Enter the following settings:
– Enter the path for the target OS computer.
A shared folder with write access must be available on the target OS.
– Enter a meaningful name for the symbolic computer name.
The symbolic computer name determines the server prefix and therefore the server
data. It is decisive for the OS server-client communication. Avoid any special country-
specific characters with this.
This setting can only be entered with the initial configuration.
– Select "OS1_Stby" from the selection menu in the "Standby OS" area.
– Select the "Transfer to external archive server" check box if required.
8. Open the properties dialog for the assigned standby OS and enter the path for the
corresponding target OS computer here as well.
9. Open the SERVER1A configuration dialog and configure the CP16x3 as a network
adapter for the plant bus in a free row. Use unique MAC addresses for this and assign a
subnet with the name "Plantbus".
10.Select time of day mode in the "Options" tab of the CP16x3 properties dialog.
13.Load the configuration via the "PLC > Download…" command in the program.
The following figure illustrates the configuration of the plant bus, whereby all tasks are
performed from the central ES.
4.5.4 OS clients
Introduction
By creating the stations in the project "20_OS" an OS client station has already been created
which is renamed to "CLIENT01" in the previous section.
This OS client can be configured and started accordingly in the later configuration stages.
Furthermore the connection to OS servers already activated can also be tested.
The OS clients for the plant operator are created later once the configuration is complete in
the separate project "21_CL".
Procedure
The following steps demonstrate how to create the station "CLIENT02" :
1. Copy the completed station "CLIENT01" from project "20_OS" to project "21_CL" and
rename it to "CLIENT02".
2. Rename the OS client project in the SIMATIC Manager as "CL02".
3. Enter the path for the target OS in the object properties.
A shared folder with write access must be available on the target OS.
2. Configure the OS basis and the path to the target OS computer in the object properties of
the OS project created within "WinCC Appl. Client Ref".
A shared folder with write access must be available on the target OS.
3. You can look for something suitable under the existing OS client projects in the "OS
Basis" field.
Note
If the settings for a referenced OS client change in relation to the base client, a new base
client must be created. We do not recommend making changes on the OS client computer.
Introduction
The individual stations have been added and the configuration of the automation system has
been stored in the SIMATIC Manager component view. The plant view is used to portray the
hierarchy of the process structure in the project.
One of the first and most important tasks in a project is defining the plant hierarchy (PH). The
PH is the basis for the outward appearance of the OS runtime or for the integration of
SIMATIC BATCH.
Creating the PH
In the example project "Comp_MP" the PH of the AS projects is structured as shown below:
Create a PH in the "01_Plant_A" and 02_Plant_B" projects for the two automation systems.
You can either create the individual hierarchy folders one by one or generate them
automatically using a script file in the Import/Export Assistant (IEA).
Note the following rules:
● The plant designation (HID) is composed of a block name, CFC chart name and
sometimes a hierarchy folder name. In principle the HID should be kept as short as
possible. We recommend using CFC chart names (process tag name) that are unique
throughout the project. Incorporation of the hierarchical folder names can be avoided in
the HID (see section "Make PH settings").
If the plant naming convention is to be based on additional functional factors, the
hierarchy folder names can still be integrated in the HID. The length of the HID should be
limited to ensure that it can be fully displayed in all OS editing windows. The number of
characters in the name of the hierarchy folders should not exceed this limit. Names with
characters that exceed this limit will not be fully displayed in the HID.
● The following special characters may not be used in the name of a hierarchy folder: [ . ] [
% ] [ / ] [ \ ] [ " ].
Making PH settings
1. Adapt the HID using the object properties of the PH by right-clicking on the multiproject
and then selecting "Plant Hierarchy > Settings".
2. Select a subproject to serve as a template. The PH settings for the entire multiproject
should be kept the same in PCS 7.
● The number of hierarchy levels should remain set to eight, since for example the optional
"Derive diagnostic screens from the plant hierarchy" asset management function can
automatically create up to eight levels.
● You can use the "OS area" option to determine the level from which the PH is displayed
in the OS. The default setting is for the first level as in the example.
● The "Derive picture hierarchy from the plant hierarchy" setting is activated by default in
PCS 7. The benefit with this is that the OS picture hierarchy is fully derived from the
configured PH during the OS compilation and does not have to be configured and
maintained separately.
Each hierarchy folder then has an AS assigned as a technical plant, unit, or function in which
the charts run after being downloaded.
All elements which you add to the hierarchy folder will be assigned to this AS. If you transfer
the selected assignments to lower-level objects, the subordinate hierarchy folders adopt the
same AS assignment. You can recognize this by the note "All lower-level objects have the
selected assignment."
Synchronizing the PH
The PH of the "20_OS" project with the two OS server stations is generated by synchronizing
the PH from the two projects for the automation systems.
To do this, use the command "Plant Hierarchy > Update in Multiproject".
Note
Additional information on this is available in the "SIMATIC Process Control System PCS 7 -
Engineering System" (http://support.automation.siemens.com/WW/view/en/90663380)
manual.
Note
PCS 7 V7.0 or higher:
If e.g. the name of the hierarchy folder "reactor2" is changed in project "02_Plant_B", this
change in name automatically follows in the linked hierarchy folder of project "20_OS".
In the check log, all objects are displayed with their symbol, project name, and, if they exist,
the paths of the plant view and the component view.
Note
We recommend that the consistency check is always performed for the entire multiproject,
which will entail additional checks.
Additional information on this is available in the "SIMATIC Process Control System PCS 7
Engineering System" (http://support.automation.siemens.com/WW/view/en/90663380)
manual or via the Help button in the log.
You can display the log without running the check again, via "Options > Plant Hierarchy >
Open Check Log" command.
Introduction
Engineering management within a multiproject without any division of labor is a standard
practice.
However, if the goal is to shorten the configuration time by working in parallel, as of PCS 7
Version 7.0 SP1 the question of the most suitable method arises, because multi-user
engineering has now been introduced as well as multiproject engineering.
Multiproject engineering
Individual projects can be allocated to distributed engineering stations for rapid and flexible
AS configuration. PCS 7 offers the appropriate system functions for managing, distributing
and merging the projects. Projects can be separated from the multiproject in order for them
to be processed on other engineering stations, e.g. in an office environment. Once they have
been processed these projects are reintegrated into the central multiproject of the plant.
Note
You can find additional information in the "SIMATIC Process Control System PCS 7
Engineering System" (http://support.automation.siemens.com/WW/view/en/90663380)
manual and in the "PCS 7 Multiproject / Multi-user Engineering
(http://support.automation.siemens.com/WW/view/en/22258951)" programming manual.
Multi-user engineering
In addition to multiproject engineering, PCS 7 as of Version 7.0 SP1 also offers the
possibility of working parallel on the same user program (CFC/SFC of an AS project). In this
case the specific project can remain at its storage location. The multiproject is filed on the
central engineering station. Using a Windows server operating system on the engineering
server is recommended for performance reasons. The individual projects from multiple
engineering stations are opened and processed via a network.
Note
A user has to be logged in on the central server computer so that the required Sybase server
can run on it. To avoid this requirement, you can set up the Sybase server as a service using
the application "setsybserv.exe".
You can find extensive information on this in the section "This is how you prepare the
engineering station for multi-user operation" in the "SIMATIC PCS 7 PC – Configuration"
(http://support.automation.siemens.com/WW/view/en/90635791) manual.
Parallel working on a project via a combined network is restricted to CFC and SFC. Specific
improvements were implemented in CFC and SFC, including failsafe functions to safeguard
system integrity and data consistency when several users access the same data at the same
time.
From PCS 7 version V8.1 onwards, the user is advised whether a CFC chart is already
opened by another user when opening one.
From PCS 7 version V8.1 onwards, the OS station can be opened and edited remotely by all
connected engineering stations.
The individual editors or images can only be opened by one user simultaneously in each
case. Sometimes a "read only" mode is also possible for looking at the configured data if
editors are already opened.
Note
Additional information on this is available in the "SIMATIC Process Control System PCS 7
Engineering System" (http://support.automation.siemens.com/WW/view/en/90663380)
manual.
5.1.1 Startup
The parameters relating to the CPU startup characteristics can be checked on the "Startup"
tab. We recommend that you retain the default settings.
This relates particularly to the enabled setting for "Warm restart." In this case, the current
process parameters are not reset to their initial values.
Another factor that plays a role in terms of startup characteristics is the fact that a PCS 7 AS
is always equipped with a backup battery.
Note
The cycle monitoring time and the size of the process image inputs/outputs are set to the
maximum value and cannot be changed with CPU 410-5H. The following sections for the
410-5H CPU are therefore irrelevant.
Note that when you adjust the values, the amount of usable work memory for code or data
blocks changes.
Note
A process image with the size of 1000 I/O bytes takes up 12 KBytes in the work memory. 20
KBytes are taken up in CPU firmware V6 and above.
You can see an overview of the I/O address space currently in use under the HW Config
menu command "View > Address Overview…". The highest address for inputs or outputs
listed (without diagnostic addresses) must be within the configured size of the process
image.
The process image is required for the PCS 7 configuration because all channel blocks
access a symbolic address from the process image and do not work with direct I/O access.
Note
The settings below are not required for fail-safe applications, as no process image partitions
are used in them (see also "Compendium Part B - Process Safety").
The process image is generally updated by calling the OB1 (default setting). When process
image partitions are used, they are updated by calling the respective associated cyclic
interrupt OB.
As a rule, we recommend the use of process image partitions for PCS 7. Otherwise, "non-
constant time response" will occur as a result of the free cycle of OB 1. This means that the
process values are not processed and updated reliably in a temporal context. The graphic
below is designed to illustrate this:
This ensures that the inputs really are read at the start of a cyclic interrupt OB (for example,
a controller is processed) and also that the outputs are written in accordance with the cycle
(input – process – output: IPO).
Note
You can find background information about the relationship between process images and
process image partitions in the "SIMATIC Process Control System PCS 7 Engineering
System" (http://support.automation.siemens.com/WW/view/en/90663380) manual, in the
section "Setting the process image".
If redundant IO modules are used, TPAs must be used.
"Execution" column
The executions for the 9 cyclic interrupts can be used directly in most processes. They also
have the option of defining their own execution times.
The following process control distribution is a typical example for a PCS 7 plant:
● Main process with 500 ms or 1000 ms.
● Slower processes (2 s)
● Some fast processes (50 ms or 100 ms)
5.1.5 Memory
If the warning threshold is crossed through importing new block types in complex processes,
first of all increase the maximum size of the local data area (which has a default setting of
65536 for CPU 410-5H) and then maximize the local data for the priority classes used.
It is also important to set the priorities 24 to 28 to a value of 2048. These contain OB 100
and the asynchronous error OBs.
The maximum amount of local data depends on the CPU; for example, it is 65536 for CPU
410-5HX08-0AB0 (V8.1).
Communication resources
The maximum number of communication jobs also depends on the CPU and roughly
corresponds to the maximum number of process objects (POs) for an AS.
A CPU 410-5HX08-0AB0 (V8.1) can manage a maximum of 10,000 communication jobs, for
example. Block instances from BSEND, BRCV, ALARM, ALARM_8, ALARM_8P, NOTIFY,
and AR_SEND, for example, always need one communication job.
With this CPU the default setting is for 10000 communication jobs which is adequate for
typical quantities of block instances. A check is made when compiling the charts during the
engineering phase as to whether a warning threshold has been crossed (with a default
setting of 90%).
5.1.6 Diagnostics/clock
Time synchronization
For process data to be compatible for evaluation, all components of the process control
system must work with the same time of day so that messages – regardless of the time zone
in which they are generated – can be assigned correctly in terms of temporal sequence. This
usually involves an OS server or an external time-of-day master ("SICLOCK" central plant
clock) taking on the role of the time master. All other operator stations and automation
systems on the plant bus then have the time from this master and, therefore, identical time.
As a result the synchronization type is set to: "As slave" for each AS in a time-synchronized
PCS 7 plant in the SIMATIC mode.
Activate time synchronization in the CPU from the "Diagnostics/Clock" tab.
Set the CPUs of the automation systems to function as time slaves. They receive the time
from the active time master on the plant bus.
Note
For the S7-400 CPU PN I/O with integrated Ethernet interface, the configuration information
contained in the "SIMATIC Process Control System PCS 7 Time Synchronization"
(http://support.automation.siemens.com/WW/view/en/90682531) manual applies:
Sections: "How to set time synchronization on an AS for NTP mode"
Note
Detailed information on linking up and updating can be found in the "SIMATIC S7-400H
Fault-tolerant Systems" (http://support.automation.siemens.com/WW/view/de/60458386)
manual.
Note
The default user program value settings (0,0,1024) provide the default monitoring times
(8,000 ms, 3,200 ms, 800 ms) . These values are already optimized for typical user cases
meaning that no new calculation is required.
In the event that monitoring times which are set too low prevent redundant operation during
a plant conversion (e.g. through configured DP slaves that cannot be reached, the update
will take longer than 800 ms), the times can be increased and updated during operation.
Ascertain the length of time for the monitoring time taken when updating
The period for the update phase for transition to redundant operation is adhered to each time
in the CPU diagnostics buffer. Look for the following event for this:
● Event 7 of 3000
– Event ID 16# 7303
– H system (1of2) gone into redundant operation
– Occurred in: Master CPU in rack no.: 0
● Start-up information:
– Start with no change in system expansion
– Update monitoring time in ms: 426
In order for the H system to transition to redundant operation the monitoring time displayed
for updating must be less than the maximum inhibit time for priority classes >15.
Redundant I/O
If redundant I/O modules have been configured, ensure that the DB number set here does
not conflict with the numbers of your user DBs.
Note
Detailed information on using and configuring redundant peripheral devices can be found in
the "SIMATIC S7-400H Fault-tolerant Systems"
(http://support.automation.siemens.com/WW/view/de/60458386) manual.
Introduction
Once the project has been created two CP443-1 are available in both racks of the H system
for a redundant connection of the H system (here Plant_A) to the plant bus.
Note
Both CP443-1 units in the H system must always be configured with different MAC
addresses.
Network settings
1. "Automatic setting" is the recommended "Transmission medium/duplex" in the "Options"
area.
Time synchronization
Activate time synchronization for both CPs in the SIMATIC mode.
Note
A MAC address can only be used once on a plant bus operated with the ISO protocol.
Network settings
"Automatic setting" is the recommended "Transmission medium/duplex" in the "Options"
area.
Time synchronization
Activate time synchronization in the SIMATIC mode.
NTP mode
S7-400 standard CPUs PN I/O with integrated Ethernet interface can only be synchronized
via NTP. The H-CPUs in FW V6 and above support both NTP as well as SIMATIC mode.
NTP mode is not yet supported by all PCS 7 components. As a result, both modes must be
used simultaneously in order to perform time synchronization with the IE bundles. If both
time servers are operated on a single PC, poor priority settings can lead to a time offset. In
this case, an effective remedy would be to use a central plant clock SICLOCK TC400 which
supports both modes.
An NTP server such as a SICLOCK or a PC is required to synchronize the time of the S7-
400IE. It only forwards the unadulterated GMT time to the connected NTP clients, with no
time zone information.
Note
You can find more information about configuration in the "PCS 7 Time Synchronization"
(http://support.automation.siemens.com/WW/view/en/90682531) manual.
Introduction
In PCS 7, each CP 443-5 Ext acting as a PROFIBUS master has its own PROFIBUS
network and its own DP master system assigned (single master system).
Two PROFIBUS masters in each case from both racks form a redundant master system in H
systems.
The settings shown below apply to both H systems and standard systems.
Note the following when using SIMATIC PDM in the project:
The integrated DP interfaces of a S7-400 CPU also support the "Data Record Routing"
function in configured firmware version V5.1 and above, and can therefore also be used as a
fully-fledged DP master. For all CPUs with lower firmware versions the "Data Record
Routing" function must be established with a CP 443-5 Extended.
Note
Always assign address 2 to the CP 443-5 Extended as the PROFIBUS master. Address 1
should be reserved for connecting a programming device to the PROFIBUS for servicing
purposes. Address 0 is reserved for connection of the ES to the PROFIBUS.
3. You can make the network settings for each PROFIBUS network.
The default "DP" profile is suitable for most use cases, e.g. networks in line structures. A
user-defined profile is required depending on the DP slaves used or the use of optical
rings via Profibus OLM.
Set the transmission rate depending on the connected DP slaves and the length of the
PROFIBUS segment. The default transmission speed of 1.5 Mbps can be adjusted in
individual cases.
4. Use the "Options" and "Take into account the following cable configuration" buttons to
add your bus architecture to the configuration and thereby optimize the DP bus
parameters for your process.
5. Using the "Bus parameter" button you can check the bus parameters for the PROFIBUS
networks and adapt these as necessary once you are working with the user-defined
profile. The parameters are updated each time you add another DP slave. The default
option "Turn on cyclic distribution of the bus parameters" must be selected.
The "Ttr" (target rotation time) value is included in the calculation of the monitoring times
for the H system. The parameter "Retry Limit" should be increased to 3 for ring structures
with Profibus OLM.
6. The "H Parameters" tab is only available when a redundant system is used.
Note
These H parameters for PROFIBUS are included in the calculation of the update monitoring
times. The following principles apply: The more DP slaves that are configured on the bus,
the higher these two H parameters and the longer your monitoring times for updating within
the CPU parameters.
Note
The topic of "Planning the PROFIBUS hardware" is described in detail in the "SIMATIC NET
PROFIBUS Networks" (http://support.automation.siemens.com/WW/view/en/35222591)
manual.
"DPV1" operating mode contains expansions for process automation. comprising acyclic
data exchange in respect of the parameter assignment, operation, visualization, and interrupt
control of intelligent programmable controllers, in parallel with cyclic data transmission.
In addition, DPV1 has three other interrupt types:
● Status interrupt
● Update interrupt
● Manufacturer-specific interrupt
Note
The DPV1 setting lets you connect and operate DP slaves that do not support DPV1.
Note
The "Data record gateway" option must be activated in order to use data routing with PDM.
Introduction
The following describes the configuration of an ET 200M station as a typical DP slave. The
name of the DP slave should be based on the naming conventions for a plant or plant
network to allow you to quickly locate faults in case of servicing.
Note
The exact step-by-step description for configuring an ET 200M station can be found in the
"SIMATIC Process Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
Example: 2550C01CA04
If an error occurs in the DP subnet, a message containing information about the position of
the faulty slave is generated on the OS.
Note
The following naming conventions apply to all components in HW Config:
The name should not exceed 14 characters. When generating the module drivers (CFC
compilation), the names from HW Config are used for the CFC block instances. CFC blocks
can have a maximum of 16 characters. The module driver wizard shortens the names from
HW Config to 14 characters and always adds "_1".
Make sure that the assigned names are unique. Simply changing the case of names does
not make them unique, as the OS compilation procedure does not take case into account.
Procedure
1. Open the HW Config catalog (PCS 7 profile) and select the appropriate IM 153-2HF from
the PROFIBUS DP/ET 200M folder.
2. Enter the DP address of the PROFIBUS DP slave in the DP slave properties. You can
also select the subnet for the DP slave (here, PROFIBUS (0)). With an H system, the
system automatically establishes the connection to the redundant subnet PROFIBUS (1).
3. The time synchronization must be activated in the properties of the ET 200M station
where high-precision stamping is being used, with 10.00 s also used as the
synchronization interval.
4. The "Replace modules during operation" option must be activated within the operating
parameters where the ET 200 station is set up with an active backplane bus. This is the
default option and is grayed out for connecting to a redundant Profibus as the active
backplane bus is mandatory in this case.
Introduction
You can connect the ET 200M using PROFINET IO as a field bus to a PCS 7 AS.
PROFINET IO lends itself as a field bus for PCS 7 plants where hardware changes during
operation, time stamp and module redundancy are not required.
In addition to the ET 200M the IE/PB link is also available as an additional IO device for
connecting intelligent DP und PA field devices to a standard AS.
As hardware requirements with PCS 7 V8.0 Update 1 you need one CPU with firmware >=
V6.0 and an IM153-4 HF V4.0. A CP443-1EX30 must be used as a PROFINET IO controller
for standard CPU with firmware V5.3.
Note
PROFIBUS DP continues to represent the preferred field bus solution for a PCS 7 plant.
Users should use the "SIMATIC Process Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual for planning
PROFINET IO within PCS 7.
Information on configuring and commissioning can be found in the "SIMATIC PROFINET
System Description" (http://support.automation.siemens.com/DE/view/en/19292127) manual.
The symbols are added to the symbol table automatically and can then be used in the CFC.
Note
You can also import the list of hardware signals from an Excel file. This only works directly in
the symbol table.
Introduction
In general, a channel of a module is activated only after connection of the corresponding
actuator, sensor or equivalent resistance. This approach avoids unnecessary diagnostic
messages in the PCS 7 OS during runtime.
With some modules, channels are combined into channel groups (an AI8x12Bit module with
8 channels may be comprised, for example, of 4 channel groups, each made up of 2
channels). In this case, a group is activated as soon as one of the two channels is connected
to a signal. At least one equivalent resistance must also be connected in this case.
Placing the "diagnostics interrupt" check mark in the "release" field effects the generation of
messages by the PCS 7 driver block "MOD_D1".
Note
For a description of the "MOD_D1" driver block including the available messages, see the
"Process Control System PCS 7 Basis Library"
(http://support.automation.siemens.com/WW/view/en/90683135) manual.
You should deactivate the "Hardware interrupt at limit violation" option. This is realized in
PCS 7 with the channel block functionality in the charts.
Note
The channel-specific setting "Reaction to CPU STOP" (OCV - No Output Current or Voltage,
KLV - Keep Last Value and USV - Use Substitute Value) of a module (for example, analog
output module with four channels) within the ET 200M distributed I/O must be set identically
for all channels.
Note
It is generally practical to initially assign all modules to a medium program cycle (e.g. 500 ms
or 1,000 ms) for a complete process consisting of a few fast and slow parts.
You then only have to assign the appropriate process image partition of the given cyclic
interrupt to the modules containing the signals for fast controlling or interlocking (e.g. 50 ms
or 100 ms).
This procedure saves configuration time.
Note
Information on setting up, wiring and configuring can be found in the document "Configuring
Redundant I/O Modules" (http://support.automation.siemens.com/WW/view/en/28430682).
Introduction
The functionality described for a standard AS is available directly in the H system without
any additional settings.
There are some process cells which must not be shut down during operation. This may be
due to the complexity of the automated process or to the high cost of restarting.
Nevertheless, it may be necessary to extend or modify the plant.
Use CiR (Configuration in RUN) to make certain configuration changes in the hardware
configuration in RUN mode.
CiR can only be used when the function has been activated in HW Config and the AS has
been loaded once with a STOP.
Note
A detailed description of possible hardware changes for an H system can be found in the
"SIMATIC Process Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
Procedure
1. To activate CiR in HW Config, right-click on the subnet (DP master system) and select
"Activate CiR capability" from the shortcut menu.
This attaches a CiR object to the respective master system. It offers the possibility of
configuring and loading an adjustable number of DP slaves in the future without any
STOP in loading the CPU. Each existing DP slave automatically receives an orange
colored title as a sign that it can be changed.
2. Adapt the object properties of the CiR object to your plans. If the guaranteed number of
additional DP slaves has been exhausted then a planed STOP of the AS can be used to
increase the number and to activate through a complete download.
3. When CiR is activated, you have a CiR module in the first free slot within ET 200M and
ET 200SP. It offers the possibility of configuring and loading an adjustable number of
modules in the future.
Adapt the object properties of the CiR modules to your plans.
4. After activating CiR and checking the CiR settings in the CiR objects and CiR modules,
save and compile the hardware configuration and download it to the automation system
in the STOP operating mode.
Following this you can run the "Download in RUN mode" function in HW Config.
In addition, all parameters marked in blue in the CPU properties dialog can be modified in
RUN.
Note
You can find a more detailed description of CiR for H systems and the changes that are
possible in the "SIMATIC S7-400H Fault-tolerant Systems"
(http://support.automation.siemens.com/WW/view/de/60458386) manual.
Note
You can find a list of components supported by the module wizard in the document "Process
Control System PCS 7 Released Modules"
(http://support.automation.siemens.com/WW/view/en/103151431).
You can find the following lists on the installation DVD:
• ListOfIntegratedDevices: Overview of integrated devices
• FF_Dynamic_Blocks_List: FOUNDATION Fieldbus devices with the support of dynamic
blocks
Integration via the generic station description (GSD) file 80 as a standard slave
Field devices made by any manufacturer can be integrated via the standard GSD file
(standard slaves). This type of integration is used for PROFIBUS DP, PROFIBUS PA, FF
and HART devices. The configuration is set in HW Config. The default parameter
assignment for the device is also defined in the GSD. Parameter adjustments must then be
made using a proprietary tool; alternatively, in the case of devices with EDD (Electronic
Device Description) the adaptations can be made using SIMATIC PDM.
Data can only be exchanged between the master and a field device if the master is aware of
the device-specific parameters and data formats. The field device manufacturer supplies this
"knowledge" in the form of a GSD file.
GSD files contain information about:
● Device manufacturer and identification number
● Transmission rate and bus parameters
● Volume and format of data for cyclic communication
In HW Config in the object properties of a device you can determine which revision level of
the GSD is installed and used. For this right-click on the device after positioning the device
and select "Object properties" in the context menu.
For S7 slaves which are integrated via the object manager, no GSD file is specified here.
You can occasionally procure a later GSD for a field device from the field device
manufacturer. This GSD can be easily installed.
To install a GSD:
1. Open HW Config.
2. Close all open projects.
3. Select the "Install GSD File" command from the "Options" menu.
Note
If a new device for which parameters are to be assigned using SIMATIC PDM is
integrated, the GSD and EDD files of the device must be imported using the "Device
Integration Manager" PDM application.
Assigning parameters using the SIMATIC Process Device Manager and EDD file
SIMATIC PDM can be used to assign the parameters for a field device (made by any
manufacturer). The EDD (Electronic Device Description) provides the basic information such
as device-specific parameters and information on acyclic communication.
The description language EDDL (Electronic Device Description Language) is used to create
EDDs; this is also standardized in the IEC standard (IEC 61804).
This language can be used universally and facilitates the creation of cross-vendor device
descriptions for field devices (sensors and actuators).
The device manufacturer provides the relevant descriptions for each device in electronic
format. The EDD files describe the parameters and functions of a device and also contain
elements used for operation and visualization.
Once SIMATIC PDM has been opened, on the "Device" tab found under "File > Object
Properties" you can define the storage folder and revision level of the EDD file corresponding
to the device.
You can occasionally procure later EDDs for field devices from the field device manufacturer.
The EDDs can be conveniently imported through the "SIMATIC PDM/Device Integration
Manager"
An EDD device description may contain the following components:
● Device description (EDD file)
● Lexicon/user languages
● Help files (relating to function and operation)
● Manuals (technical documentation)
● Communication description (GSD file)
● Images / graphics
PROFIBUS DP devices
Configuring DP devices is described in section "Configuration of the I/O devices (Page 114)".
PROFIBUS PA devices
Information on configuring PA devices in HW Config can be found in the "SIMATIC Process
Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
The PDM check box must be activated in the object properties of the DP/PA link in order to
be able to use the Multiview and LifeList functions for the devices on the PA field bus:
The "Configuration via PDM" option is activated as standard for PA field devices.
FF devices
You can find information on configuration and parameter assignment of FF devices in the
following manuals:
● SIMATIC Process Control System PCS 7 SIMATIC PDM 8.2
● FF Function Manual
● SIMATIC Bus links, FF Link bus link
(http://support.automation.siemens.com/WW/view/en/47357205)
Redundant interface
DP devices which have access to a redundant interface are always configured and
connected redundantly (e.g. ET 200M, ET 200iSP).
DP devices which do not have access to a redundant interface are connected downstream of
the Y link. The number of field devices which can be configured downstream of the Y link is
restricted here by the I/O range of 244 bytes that applies in each case.
PA devices are always connected redundantly downstream of a DP/PA link.
Variables which restrict the number of permissible devices per DP/PA link, with a redundant
and a non-redundant connection:
● Feeding current of the DP/PA coupler (110 mA EX or 1,000 mA non-EX)
● Current consumption of the field devices (typically 12 mA)
● Address range of the field devices (max. 244 bytes of I/O data, 5 bytes per analog value)
● Cycle time on the PROFIBUS PA (if specific customer requirements need to be met)
Information on configuring Y-Link and DP/PA Link can be found in the "SIMATIC Process
Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
Fieldbus connection
As well as the configuration of field devices in the process control system, the layout of
fieldbuses must be taken into consideration too. Detailed information on the following topics
can be found in the Industry Online Support:
● PROFIBUS DP (RS 485)
"SIMATIC NET PROFIBUS Network Manual"
(http://support.automation.siemens.com/WW/view/en/35222591)
● PROFIBUS DP intrinsically safe (RS 485 iS)
"SIMATIC ET 200iSP Distributed I/O"
(http://support.automation.siemens.com/WW/view/en/28930789) manual
● PROFIBUS PA
"SIMATIC DP/PA Couplers, Active Field Distributors, DP/PA Link and Y Link Bus
Couplers" (http://support.automation.siemens.com/WW/view/en/1142696) manual
● Foundation Fieldbus
"SIMATIC bus couplers, FF Link bus coupling"
(http://support.automation.siemens.com/WW/view/en/47357205) manual
Note
The installation guidelines for the PNO (PROFIBUS user organization) can be found under
(http://profibus.com/) .
Example
For this example, the network configuration is as follows:
● 2 AS
● 1 ES
● 1 redundant OS server pair
● 4 OS clients
A ring structure from SCALANCE X switches is recommended as the structure for the plant
bus or terminal bus; this is also available in a redundant design as an option. For the ring
structure a switch is set up as the redundancy manager (RM) in redundancy mode (HRP
Manager). The remaining switches must support the ring redundancy as nodes and be
configured as the HRP client in redundancy mode.
Note
Connecting redundant stations to the bus via 2 different switches is recommended in order to
guarantee the availability of the plant (affects H systems as well as a redundant OS server
pair).
The required and optional settings for SCALANCE X switches are described in the
corresponding manual.
The Media Redundancy Protocol (MRP) which can also be set is not permitted at the plant
bus or at the terminal bus in PCS 7.
NetPro view
In the NetPro view the following network structure for the project "01_Plant_A" with the H
system is presented as the result of the existing configuration.
The station's orange color denotes pending changes that have not yet been compiled. Once
the configuration described in this section has been completed in NetPro, all stations in the
multiproject must be represented by an error-free compilation in white before the
configuration is loaded into the automation systems.
With a station-selective configuration, as in this example, the networks (subnets) of the
individual subprojects must also be merged.
Procedure
1. In the SIMATIC Manager, right-click on the multiproject and select "Multiproject > Update
Projects".
2. Select "Ethernet" and click "Execute" to open the "Merge/Separate Industrial Ethernet"
dialog box. You can select the individual subnets here.
The S7 subnet ID is displayed in the properties (this is the same for all plant bus
components).
3. Click on the Industrial Ethernet plant bus in this view to obtain an overview of the MAC
addresses of the PC stations and automation systems in the multiproject.
Procedure
1. Open the NETPRO view in the OS subproject.
2. To add the S7 connection, right-click on the WinCC application of the OS and select the
option "Insert New Connection".
3. Select the CPU of SIMATIC H station AS1.
4. Select "Fault-tolerant S7 connection" for the H system and then click "OK".
6. Connect the AS2 in the same way with the "S7 connection" type (the S7 connection for
AS2 is not fault-tolerant).
The connections for SERVER1B are made in the same way as for AS1 and AS2.
Note
Configuring an AS-OS connection for the ES is only required where the "OS Simulation"
function is to be used on the ES. With "OS simulation" you can test the functions of the OS
server project such as pictures or scripts on the ES before loading them to the OS server at
a later time. In order to be able to use this simulation function, it is essential that the ES-AS
connection has the same name as the OS-AS connection.
Note
The connections that lead from the two OS servers (as well as the ES) to the same
automation system must have the same name, e.g. "AS1".
Introduction
In PCS 7 V7.1 and above you can use the "AS-wide interconnections between 2 charts"
function from different AS. This function automatically inserts the correct S7 connection
between the relevant AS in NetPro.
The possible S7 connections and the characteristics resulting from these are described
below.
Note
You will find additional information on AS-wide interconnections in the
"SIMATIC Process Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
1. Right-click on the CPU 410-5H of the AS2 in order to insert the S7 connection.
2. Select the "Insert new connection" option.
3. Select the CPU of SIMATIC station AS4 as the connection’s destination.
4. Select “S7 connection” as the connection type and click “OK”.
In this case a "Fault-tolerant S7 connection" can be configured between both H systems with
four routes. The number of available routes is displayed via the connection's object
properties, depending on the number of configured CP443-1 and the available networks.
This connection contains four routes internally from which the first is activated in operation.
The second route is a reserve and it automatically takes on the active role in the event of a
fault. The third and fourth routes are dismantled at the beginning.
Note
Fault-tolerant AS-AS communication is not possible between fault-tolerant systems and
standard systems in PCS 7 as standard, meaning that AS-wide interconnections also cannot
be used.
You can instead create two standard S7 connections and then realize the fault-tolerance as
an application-specific block solution.
The following provide the options for this:
• Industry-Library (ASSendH and ASRecvH)
• Library S7H4_BSR (also for older PCS 7 versions)
You can find additional information in the "SIMATIC Process Control System PCS 7 –
Industry Library for PCS 7" (http://support.automation.siemens.com/WW/view/en/81179761)
manual or by using the following link for Library S7H4_BSR:
http://www.industry.siemens.com/services/global/en/IT4Industry/products/simatic_add_ons/p
cs7_treiberbausteine/Pages/default_tab.aspx.
Introduction
Once you have configured the stations and created the network connections, you have to
download the configuration data to the stations (AS/PC stations).
A prerequisite at this point is that Station Configuration editors of the OS server must be
made operational with the "Configure Target System" function (Creating and managing a
PCS 7 project (Page 44) ).
Compile and save your configuration in NetPro for this purpose. All stations have a "white"
status color when the configuration is without errors.
For an initial configuration, perform the "PLC > Download to Current Project > Selected
Stations" function for all automation and PC stations (only possible with the AS in STOP
mode).
For new or modified S7 connections, select the corresponding connection and use the "PLC
> Download to Current Project > Selected Connections" function (possible with the AS in
RUN mode).
Note
The active AS-AS connections are briefly interrupted when the "PLC > Download to Current
Project > Connections and Gateways" function is used for an AS. This interruption will not
affect the output parameters for the standard blocks of the CFC library (REC_R, REC_BO).
Only the "PLC > Download to Current Project > Selected Stations" function is possible for a
PC station.
The OS will then need to be compiled and downloaded if AS-OS connections are changed.
Downloading to the ES
Always start with the Engineering Station when downloading stations.
1. Select the ES and then
2. select the menu command "PLC > Download to Current Project > Selected Stations".
Downloading to OS servers
Download the configuration to SERVER1A and SERVER1B too.
Downloading to AS stations
The "PLC > Download to Current Project > Selected Stations" function loads the complete
configuration including HW Config to the AS. This function can only be performed in the
STOP operating state.
Introduction
Plant engineering gives rise to plant parts, functions or program sections which only differ
from one another in a few respects. In the interests of working efficiently, create basic
elements which can be reused repeatedly and which only have to be supplied with the
current parameters. Once created these are managed in the master data library and used as
an instance or replica in the AS assigned.
Note
All the information on configuring the AS functions can be found in the "SIMATIC Process
Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual, from the
"Basic Engineering Concepts" section.
Further information can also be found in the "Technical Functions for the Chemical Industry"
(http://support.automation.siemens.com/WW/view/en/53843373) application.
Note
The complete description of the base elements and their use can be found in the "Typing,
reuse and central changeability of engineering data" section in the "SIMATIC Process
Control System PCS 7 Engineering System" manual.
(http://support.automation.siemens.com/WW/view/en/90663380)
Copy all required base elements from all libraries used for the configuration (e.g. PCS 7 AP
Library) to the master data library of the multiproject ("Comp_LIB" in this case).
In the event that individual blocks should have changed attributes or names through the
copying process then the following message is received. Calling up the "Synchronize
attributes" function is recommended in this event so that no project-specific changes are lost
in the master data library.
Note
When copying blocks observe the rules and notes in the "SIMATIC Process Control System
PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
Ensure that blocks are also copied that are opened as a multi-instance from other blocks, as
the function of the block is not ensured otherwise.
The following image shows an example of how existing process tags (templates) from the
PCS 7 Advanced Process Library are copied to the master library using the plant view in
each case.
Note
Only base elements from the master data library should be used for configuring the charts.
This ensures for example that all S7 programs will contain the same versions of the block
types used. This avoids errors and warnings during later OS compilation.
Block library
In PCS 7, user-specific blocks can be created quite easily, meaning that particular customer
requirements can be met in a very flexible way. A user-defined block has a faceplate and its
block icon for operating and monitoring the OS.
Please note that you should always take the expertise required and the time and expense
involved in creating, maintaining, and servicing user-defined blocks into account. Working
with existing PCS 7 block libraries is recommended with this. A major advantage with the
existing library blocks is the fact that they are serviced and maintained systematically,
including with regard to different PCS 7 versions. Project teams can save time and cost as a
result, particularly for future upgrades where the original project team may no longer be
available.
Note
Please note that the following CPU types do not support a block range of numbers greater
than 2048:
• CPUs 412-416 with V4.x version
• H-CPU 412 and 414 with V4.x version
Numbers in the range from 1200 to 1249 are recommended when using user-defined blocks
on these CPU types.
Guidelines on naming
The system has a limit of 16 characters for symbolic names for function blocks. However, a
maximum of 8 characters is recommended on account of the display in the CFC Editor.
Symbolic names with more than 8 characters are not displayed in full in the CFC Editor for
summary reasons.
When determining symbolic names the first characters should be allocated with the block
names in order to allow the function blocks to be uniquely assigned during the configuration
phase. If you want to expand a symbolic name with additional information (e.g. company
abbreviation) then place this at the end of the symbolic name.
The following example illustrates the naming guidelines:
● Block name: "CountOh"
● Symbolic name: "CountOh_Siemens"
● Display in the CFC Editor: "CountOh_"
Guidelines on creation
The "Compile chart as FB" function should not be used when using APL blocks to create
user-defined blocks as the "S7_x" attributes are not supported for structures. S7 SCL is
provided for creating the blocks in this case.
Note
Detailed information on creating technological blocks using the PCS 7 guidelines can be
found in the "PCS 7 - Programming Instructions for Blocks"
(http://support.automation.siemens.com/WW/view/en/24449702) manual.
Note
If necessary, you can also consult with an appropriate SIEMENS technical department when
creating driver blocks.
Introduction
You can change the message class, priority, and message text for all function blocks.
Note
Please take note of the "Aspects of Message Configuration" table in this regard in the
"SIMATIC Process Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
The appearance of limit violations at the block can be influenced in process control in group
displays and in message lists. The "User-configurable message classes" function is available
for this purpose.
You can find additional information on the topic of "User-configurable message classes" in
the manual "SIMATIC Process Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380).
Procedure
To do this, click on an FB in the master data library and select "Special Object Properties >
Message".
Note
First take care of the changes in the master data library and then update the FBs in the S7
programs of the AS subprojects (see also section: Updating block types (Page 161)).
Once these changes have been made, a delta download of the automation systems is still
possible. You will need to compile and download the OS servers if you make changes in the
PCS 7 message configuration.
Introduction
You can change the attributes of any function block. The attribute "S7_m_c = true" for
example means that the block/block I/O should be created as a structure/tag in the OS
project through the OP compilation.
Procedure
Set the attributes in the properties dialog of a block I/O on the appropriate tab.
Note
First take care of the changes in the master data library and then update the blocks in the S7
programs of the AS subprojects (see also section: Updating block types (Page 161)).
A delta download of the automation systems is still possible following changes to parameter
attributes.
You may need to compile and download the OS servers if you make changes to the block
attributes. You can find information on S7 attributes in the "PCS 7 Programming Guide for
Blocks" (http://support.automation.siemens.com/WW/view/en/24449702) manual.
Introduction
You can update changed block types automatically in the individual S7 programs from the
master data library.
The charts of the master data library (blocks from process tag types/models) are
automatically updated in addition to the S7 programs in the AS subprojects with the "Update
block types" system function.
SFC types from the master data library in the S7 programs can also be centrally updated.
Once the engineering phase is complete all the block types used should be present in their
current version in the master data library and should match the configured types within the
multiproject.
Procedure
To do this, select the block folder or a block in the master data library followed by "Options >
Charts > Update Block Types…".
Note
If you select one or more blocks in the block folder, only these are updated. The advantage
is that this accelerates the update process.
Additional information on this process is available in the "SIMATIC Process Control System
PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
Note
You can find additional information on the subject of "Type updating in RUN" in the "Process
Control System PCS 7 CFC for SIMATIC S7 (V8.1)"
(http://support.automation.siemens.com/WW/view/en/90683154)function manual and in the
Industry Online support portal in the contribution "Process optimization with the controller
SIMATIC PCS 7 CPU 410-5H"
(http://support.automation.siemens.com/WW/view/en/96839331).
General principle
Driver blocks act as an interface between the I/O modules, PI devices and the S7 program.
Input/output signals and status information (e.g. wire break), which can then be used in the
CFC editor, are made available via the driver blocks. "Signal value invalid" (QBAD) and
"Value status of the signal" (Quality) are available on the channel driver.
PCS 7 features channel blocks for the actual signal and diagnostic blocks for diagnosing the
subnet, racks, and modules. The channel blocks must be configured in CFC.
Define symbolic names for each channel in the hardware configuration (e.g. H4711GO).
Linking a driver block to this symbolic name assigns this I/O signal to the signal driver.
The diagnostic blocks are automatically created by the system in the charts (@Charts) when
the CFC charts are compiled.
Parameters are already assigned automatically to the diagnostic blocks in accordance with
the settings made in the hardware configuration.
If an entire ET 200M fails, for example, a process control message is provided pointing to the
faulty ET 200M. The individual process control messages of the modules and their channels
are automatically suppressed. This prevents a message burst from occurring, thus making
troubleshooting easier. The relevant technological messages continue to be evaluated.
Note
The diagnostic blocks from the charts (@Charts) are described in the "PCS 7 Basis Library"
(http://support.automation.siemens.com/WW/view/en/90683135) manual in the "Family:
@System" section.
The channel blocks of the PCS 7 Advanced Process Library are described in the "PCS 7
Advanced Process Library" (http://support.automation.siemens.com/WW/view/de/90682917)
manual in the "Channel Blocks" section.
The channel blocks of the PCS 7 Library V7.1 are described in the "PCS 7 Standard Library"
(http://support.automation.siemens.com/WW/view/en/36201733) function manual in the
"Family: DRIVER" section.
Note
Further information on "CPU_RT" can be found in the "Family: @System" section of the
"PCS 7 Basis Library" (http://support.automation.siemens.com/WW/view/en/90683135)
manual.
Cycle load
It is advisable to always determine the cycle load of the AS during the engineering phase.
Corresponding adjustments are required in the relevant AS where the actual load exceeds
the results from the planning tool, such as PCS 7 Protime.
You can do this in the following ways:
● Using the "CPU_RT" block in PCS 7 V7.0 and above and the corresponding AS (FW >
V4.5). Information on FW can be found in the "Driver concept (Page 163)" section.
● For an older AS (FW < V4.5) you can configure determination of the cycle load and
download it to the AS in RUN mode at any time using CFC blocks.
Note
You can find additional information in FAQ "How can you calculate the cycle load of the
automation system (AS) online?"
(http://support.automation.siemens.com/WW/view/en/22000962).
Typical limits for the cycle load after commissioning the AS:
Observe the TOTALAV I/O of the "CPU_RT" block (total average value of all OB 1, OB 3x,
OB 8x (in %). This value should never be above 75%, regardless of whether it involves a
standard AS or an H system. This corresponds with the default limit on the MAXLIM I/O with
which the "Net time consumption of all OBs exceeds Max Limit" is produced.
Peaks may occur through additional process loads, e.g. triggered by asynchronous OB
errors, which may also cause time errors with a basic load of more than 75%. This leads to
OB 80 being called up with a process control message included and results in the following
entry in the CPU diagnostic buffer:
"Event ID 16# 3502 OB demand error / OB demanded: OB time error (OB 80)".
Increased availability as part of Lifecycle agreements:
The net time consumption of all OBs may not be above an average of 75%.
Once the engineering phase has completed check the CPU diagnostic buffer for OB 80
entries. Where there are entries present reduce the cycle load of the relevant cyclic interrupt
OBs.
Memory load
Current memory utilization for the work memory and the load memory can be ascertained in
the online module status of the CPU. The warning threshold for the work memory and the
load memory is set at 90% as standard. This threshold can be changed in the CFC Editor.
Note
Setting the work memory code to no more than 80% is recommended where changes are
frequently downloaded.
Communication utilization
The following recommendations for communication between two PCS 7-AS can be deduced
from the rules on configuring AS-wide interconnections in the CFC online help:
● AS-wide interconnections can be used for configuration in PCS 7 V7.1 and above. The
advantage with this is that the quantity structures are checked automatically upon
compilation and are captured in the CFC reference data.
● Configurations with the communication blocks based on BSEND/BRCV (e.g. SEND_R
from PCS 7 Library) are preferred in earlier versions:
– Maximum of 50 or 100 frames/second
– Maximum number of nodes: 30 (CPU412/414) or 62(CPU 410-5H/416/417)
● The fastest cycle possible for the blocks is 200 ms for sending and receiving.
● The maximum transmission volume between automation systems in an OB is 4800 bytes.
● The volume to be transferred is calculated by adding all AS-wide interconnections of a
CPU in bytes per second. The maximum possible volume that can be transferred varies
depending on the CPU and its performance. This figure should not be exceeded.
The following table shows the recommended maximum values for the transmission volume
of a CPU:
Example
A valve-control process tag type from the PCS 7 AP library is shown below.
The valve-control process is completed here with the channel blocks for inputs and outputs,
the technological blocks "Intlk02" and "VlvL". The "Bad" output of the driver blocks is
interconnected to the "CSF" error input of the valve block (valve).
Numerous process tag types are available in the PCS 7 AP library. They serve as a basis
and can be adapted to the automation function for a specific project in your master data
library.
User-specific process tag types should be created in the same way as the process tag types
of the PCS 7 AP library.
Note
Information on creating CFCs and process tag types can be found in the "SIMATIC
Process Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
All process tag types are then to be saved in the master data library and can be maintained
and edited there as needed.
The process tags (replicas) in the project result from the process tag types of the master
data library - either by manual copying or using the Import/Export Assistant
(see also section: Import/Export Assistant (IEA) (Page 182)).
Introduction
Compared with a process tag type a control module type (CMT) has the following
advantages for bulk engineering with PCS 7 Advanced Engineering:
● Instance-specific changes to the instance of the control module are not lost during
synchronization of type and instance.
● It is possible to create different instances from a control module type. Optional blocks are
configured for this in the CMT. Before creating the instances a user can determine
whether the optional blocks are activated in the relevant instance in the Advanced
Engineering System. The "Technological I/Os" view is available for this in the CFC Editor.
The advantages for bulk engineering in PCS 7 cannot be exploited without PCS 7 Advanced
Engineering as there is no option for creating CMTs in bulk in PCS 7.
Creation
A control module type can be created directly from a CFC prototype in the plant view in the
same way as a process tag type or can be generated from an existing process tag type.
For this select a folder from the process tag types of the master data library (plant view) and
call "Insert new object > Control module type" or the "Control modules > Create control
module type from process tag type" function.
Defining variants
A control module type is defined via its settings in the "Technological I/Os" view of the CFC
Editor. Using a valve as an example you can set up certain variants in a control module type
of the master data library as shown in the following image:
Selecting variants
A control module (CMT instance) is created from a control module type by copying a control
module type into a folder of the plant hierarchy. The defined variants for a control module
type are available under the "Variants" context menu function in the "Technological I/Os"
view.
Here you can select whether the optional "Permit" block is required including its
interconnections in the case of the valve.
Note
Additional information on managing control modules can be found in the "SIMATIC Process
Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual as well as in the
CFC-Editor online help.
The settings for the number ranges should be the same for all S7 programs in the
multiproject. It may be necessary to change the preset range depending on the additional
project-specific user libraries.
The default settings are:
● DB: 1 to 60
● FC: 60 to 700
Note
The VXM process image is not updated during selective downloading of charts. An update is
complete if all changed charts have been downloaded.
Note
If blocks with startup characteristics are included, these are also integrated in OB 100.
Cyclic interrupt OB Default value for time frame Default value for priority class
OB 30 5s 7
OB 31 2s 8
OB 32 1s 9
OB 33 500 ms 10
OB 34 200 ms 11
OB 35 100 ms 12
OB 36 50 ms 13
OB 37 20 ms 14
OB 38 10 ms 15
One advantage of optimization is that all process tags of the entire S7 program are executed
in the same order. This sequence is based on optimization under the IPO principle: Input
driver block – Processed blocks - Output driver block.
Note
If the runtime group contains fail-safe blocks, the option is not activated.
You can find more detailed information on the run sequence and how it is optimized in the
"SIMATIC Process Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
Note
Additional information on this is available in the "Process Control System PCS 7
Engineering System" (http://support.automation.siemens.com/WW/view/en/90663380)
manual.
SFC types
In the SFC, there are the "SFC chart" and "SFC type" object types.
The SFC type allows the definition of sequential controls and of an expandable interface.
You can read about the advantages and disadvantages of SFC types/instances in the
manual mentioned above.
Note
The creation of SFC types is described in detail in "Compendium Part C - Technical
Functions with SFC Types".
An SFC type is generally preferred if a step sequencer (SFC) is used several times in the
project. The instances are placed in the CFC chart similar to a function block. The SFC type
is contained in the associated chart folder.
As of PCS 7 V7.0, the SFC type can be centrally edited in the master data library and all
instances in the project can be automatically updated. In addition, ways of accessing the
SFC instances are listed in the chart reference data of the CFC.
Introduction
Advanced Engineering combines the tools from the basic and detailed planning, e.g. EPlan,
ELCAD and SmartPlant, with those in PCS 7 Engineering (CFC, HW Config, Plant
Hierarchy).
Scope of functions
Advanced Engineering is an optional package for PCS 7 Engineering which can be used
from PCS 7 V7.1 SP2 and above.
● Advanced Engineering processes data for use in the PCS 7 ES.
● It is an application for importing data.
● Data can be imported into Advanced Engineering from process tag lists and signal lists
and transferred to PCS 7 ES.
● Plant hierarchy, signal and parameter settings can be incorporated automatically from the
process tag lists and signal lists.
● Hardware (distributed I/O including channel allocation) can be generated from the signal
lists. Object-dependent bulk processing and queries are possible.
● Variants can be formed from one type when using control module types (CMT).
Example: There is only one valve type. The variants are formed from this with or without
feedback.
The following image shows an example of the Advanced Engineering working environment:
Note
Further information on PCS 7 Advanced Engineering can be found in the following manuals:
• "SIMATIC Process Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380), "Exchanging data with
plant engineering" section
• "SIMATIC Process Control System PCS 7 Advanced Engineering System"
(http://support.automation.siemens.com/WW/view/en/90684126)
Introduction
During the planning of a plant, a wide variety of data is created, often at a time where no
definite control system is planned. By using the import function, this data can be made
available to the control system engineering. You use the import/export assistant if you want
to frequently use multiple models or process tag types in a project (bulk data processing)
and change block parameter descriptions easily.
Scope of functions
The functions that can be used with the IEA include:
● Standardized plant libraries with tested process tag types and models
● Import of plant data (e.g. process tag lists or I/O lists) from the higher-level CAD/CAE
environment
● Automatic generation of the AS configuration based on imported process tag lists and
process tag types (CMTs cannot be used).
– Creation of the plant hierarchy
– Editing stored process tags
● Automatic derivation of the OS picture hierarchy, automatic connection of blocks, and
positioning within pictures
● Automatic creation of an OS archive
● Creation of individual process objects using appropriate graphical tools such as CFC and
SFC
● Export of optimized parameters back to the CAD/CAE environment
Note
Information on working with the IEA can be found in the "SIMATIC Process Control System
PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
7.5 Managing process tag types with the process object view
Introduction
In the process object view, all the data of the basic control can be displayed in a process
control oriented view throughout the project. This means that a multiproject encompasses
the data of all the projects within it.
The process object view is mainly used during the FAT and commissioning. These tasks
involve working efficiently with great amount of data at a centralized location. The process
object view has the advantage that all changeable tags/values of an object (white
background) can be centrally edited.
When editing process tags and CFCs, all aspects (automation, I/O connection, messages,
operation, and monitoring) can be consistently displayed and documented. Jumps to CFCs,
SFCs, HW Config, and to the OS enable you to edit tags/values which cannot be edited in
the table (e.g. parameter definition of the models, picture contents).
Note
Information on the structure and on working with the process object view can be found in the
"SIMATIC Process Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
Values can be easily selected, checked, and modified using the different filter functions
"General", "Block", and "I/O".
In PCS 7 version V8.1, the process object view has been supplemented with the "Charts"
tab. All charts contained in the multiproject, including charts without PH assignment, are
shown in this tab. This enables charts to found quickly and simply. Switching from one
project to another is not necessary, since all charts are displayed in one tab.
The relevant chart can be selected using a filter and opened directly from the process object
view. Furthermore, the assignment of charts to an AS is visible immediately.
Note
Filters are ignored during import/export. All data are always exported when they are
displayed in the current view without filter.
These functions are particularly beneficial if you want to edit large amounts of data. You do
not need to open the individual charts with the CFC editor in order to edit the I/Os, as the
I/Os of all charts in the hierarchy folders are imported automatically.
Charts located in the selected hierarchy folder and all lower-level hierarchy folders are edited
(in accordance with the selection made in the process object view).
Note
The VXM process image is not updated during selective downloading of charts. An update is
complete if all changed charts have been downloaded.
Usage scenarios and information on working with the Version Cross Manager can be found
in the "SIMATIC Process Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
Note
A description of the process for archiving, including with the optional "Version Trail" package
can be found in the "SIMATIC Process Control System PCS 7 Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380) manual.
When compiling in PCS 7 it is important that the "Generate module drivers" option is always
selected where HW Config of the AS has been changed beforehand.
Note
As of PCS 7 V7.0, the two options "Make textual interconnections" and "Delete Empty
Runtime Groups" are no longer available in the compilation dialog; they appear in the CFC
editor instead. The sampling times are updated during every compilation.
Note
The user program must be loaded before the OS project
Do not load any blocks directly from the block folder of the SIMATIC Manager with PCS 7;
download the charts solely via the selected chart folder in the SIMATIC Manager or via the
function in the CFC/SFC Editor.
You can also download changes directly to the chart folder without starting compilation
beforehand. The system recognizes the changes in the program and completes a
compilation first of all.
A full download is required when the user program is downloaded for the first time. For this
the CPU switches from RUN to STOP mode following corresponding notification.
Interface changes to a function or a function block also require a full download of the
program.
Note
With PCS 7 V8.1 and CPU 410-5H (firmware V8.1) an interface change of a function or a
block does not necessarily lead to a loss of change download capability (see section
"Updating block types (Page 161)").
Downloading the changes is then normally sufficient for any program expansions.
Note
Refer to the online help for the CFC Editor and to the "Downloading changes online
(Page 289)" section for additional information.
By confirming with "OK" the following notice is displayed with a query on whether the
parameters need to be read back.
If read back of the parameters is confirmed with "OK" then the latest S7 program is
downloaded in full to the AS following the read back.
Work can continue with compiling and downloading changes as soon as the AS is in RUN
mode again.
The program currently configured has been downloaded if the time stamp of the last
compilation is the same as the time stamp of the program downloaded and the time stamp of
the last download-related change is dated before the two other time stamps.
An easier check can be made directly via the symbol for the chart folder of the component
view. If a small arrow is shown there in the symbol then the current configuration has not
been downloaded.
Note
The "Archive project after successful download" option requires that the Version trail options
package is installed on the ES.
Note
Dependent charts arise due to one of the following conditions:
• Change to an SFC type > all charts that contain an instance of this SFC type are
dependent and are also downloaded when the SFC type is downloaded.
• A dependent chart is a chart that contains at least one block which is in the same runtime
group as a block of the chart to be downloaded.
CAUTION
Make sure that no dangerous system states can arise before downloading
If you have changed multiple charts with cross-chart interconnections and not all charts
later transfer to the AS together through the "Selective Download" function, then damage
could occur due to inconsistent states.
Note
You can find additional information on the subject of "selective downloading" in the
configuration manual "Process Control System PCS 7 Engineering System (V8.1)"
(http://support.automation.siemens.com/WW/view/en/90663380) and in the function manual
"Process Control System PCS 7 CFC for SIMATIC S7 (V8.1)"
(http://support.automation.siemens.com/WW/view/en/90683154).
Inserting the new blocks of a chart in the runtime group of this chart reduces the number of
dependent charts, which would also need to be included in the selective download.
8.4 Compile OS
Introduction
With the OS compilation all the relevant AS engineering data is transferred to the OS project
and any corresponding OSD objects are created automatically (e.g. picture hierarchy, SFC
display, process tag symbols and picture blocks, tags, messages, archive tags, OS server
package). The actual OS configuration is thereby reduced to creating the static picture
objects and positioning the process tag symbols created.
OS compilation mode
The OS compilation mode can compile multiple OS within a project with an OS single/OS
server station via the "Options > Compile multiple OS assistant" menu in the SIMATIC
Manager ("20_OS" in the example).
With the "Area-oriented" mode the OS allocation of the area determined in the plant
hierarchy (PH) is decisive rather than the S7 program allocated when creating the OS
objects during the OS compilation. You can only select this mode when there is a configured
PH. This mode is the default for new projects as of V6.1.
Note
We recommend using the "Area-oriented" compilation mode. This setting must be used for
the PCS 7 Web option and PCS 7 asset management functions.
If a program change is performed for large systems with multiple automation systems in just
one AS, AS-based compiling is recommended. The result is that you save time for the
compiling, as only the changes of the particular AS are transferred to the OS.
Changing between area-based and AS-based compiling is possible.
Procedure
The following steps demonstrate how to compile the OS:
1. Select the "Compile" command in the context menu of the OS project.
2. Click "Next".
3. Check that the configured network connections AS1 and AS2 are selected. In this case
"Symb. Verb." is selected as the subnet type and "Named Connections" as the WinCC
unit.
4. If the connections stated in step 3 are not selected click on the "Connection" button and
select them in the open dialog box.
Note
The symbolic connections (Named Connection) offer the following advantages:
• A descriptive name instead of a connection ID reduces the risk of error when
associating the connections.
• The symbolic name remains unchanged, even if the IP addresses are changed again.
• Symbolic connections are created as reserved connections in the AS.
5. As an option you can adapt the default compilation data and the scope of the compilation.
Instructions on the individual options are available via the "Help" button.
6. By clicking "Next" you will receive the summary along with a notice that work may not
take place on the project during the compilation.
7. Click "Finish" to start the compilation.
The PCS 7 picture blocks are implemented as a change function when the OS is compiled or
with the "Create/update block icons" function.
The associated picture is updated when a change is made in the CFC chart. All block icons
of a picture are updated for all other changes.
E.g. if one of the "@PCS7Typicals*.pdl" or "@PCS7TypicalsXYZ.pdl" template pictures
changes, all plant pictures are updated.
Note
With the "Zoom block icons" option, you can proportionally scale the block icons and thus
adjust them to the right size for the screen resolution.
If the "Automatically place block icons" option is activated, all automatically generated block
icons in the WinCC images are placed once more (from top left to bottom right).
Note
Detailed information on configuring the OS functions can be found in the Process Control
System PCS 7 Operator Station manual
(http://support.automation.siemens.com/WW/view/en/90682677).
Introduction
In order for a client to be able to display the process data from different servers in a
distributed system, it needs information about the associated data. Server data (packages)
are generated for this, to be provided to the clients. The client requires the server data from
all servers, whose process information it should visualize.
The system creates/updates the server data automatically during OS compilation and
download. Alternatively, the server data can be generated manually in the SIMATIC
Manager using "Generate server data" in the context menu.
Procedure
1. Assign the required server data (in our example, the package of redundant OS1) for
every OS client project. To do this, use the shortcut menu command "Assign OS
Server…".
2. Make the assignment in the dialog window that opens. Entries in different colors indicate
different states. You can find details in the help ("Help" button).
Note
OS server data only has to be assigned once to the OS client project. The client is
automatically provided with the new OS server data when an OS server is downloaded
(complete or changes only). An update is also performed when the OS client starts
process mode.
When the assignment has been successfully performed, the result can also be seen in the
OS client project in the WinCC Explorer under "Server data".
Note
The server data includes the computer name of the ES from which the server data is to be
downloaded automatically. If the ES cannot be reached, the OS client attempts to download
the server data directly from the server when runtime is restarted.
If the project is moved to another path or to another ES (another computer name), the server
data must be regenerated (manually or by compiling the OS) and reassigned to the OS client
projects.
Introduction
In order to achieve even utilization of a redundant server pair and constant operability, even
during a switchover to the redundancy partner, you should assign one section of the OS
clients to the master server and another to the standby server.
A "preferred server" is an OS server in the redundant OS server pair that the OS client
connects to preferentially. The OS client receives the data from there as long as this OS
server is available.
This requires a consistent connection configuration on both OS servers and no errors
(redundancy) at the PCS 7 end. If the connection configuration is inconsistent or if there are
errors in the redundancy connections, the OS client switches to the OS server with the most
active/error-free connections.
Note
If no preferred server is entered in the "Configure the Server Data" dialog, the OS clients
interconnect to the OS server that is designated as the master.
The information contained in the "Configure the Server Data" dialog originates from server
data, which was assigned to the corresponding OS client.
Example
CLIENT01, CLIENT02 > assigned to SERVER1A
CLIENT03, CLIENT04 > assigned to SERVER1B
Allocation of OS clients
Referenced OS clients are automatically assigned to the same preferred server by the
assigned basis OS client. A different assignment is not possible.
Note
You can find more information on this topic in the "SIMATIC Process Control System PCS 7
Fault-tolerant Process Control Systems" manual
(http://support.automation.siemens.com/WW/view/en/90682535).
Introduction
You configure a standard server for a client in a distributed system to:
● Receive messages and alarms
● Make the user-configured message classes available on a client
● Create operator messages on the client
● Make trend groups assembled on a client available to other clients
● Have access to user archives
A standard server setting is required on each client.
Note
Selected standard servers (e.g. for operator messages, alarms, user-configured message
classes, etc.) set on a client should be configured redundantly.
Procedure
In the "Standard Servers" dialog, the standard servers are specified for the components
individually listed in the dialog.
Select the standard server for the "Alarms" and "SSM" (Split Screen Manager) components
only.
Note
Alarms
A standard server must always be specified for alarms. No alarm logging can be configured
on the client itself. Operator messages, which are generated on a client following a
successful operation, are saved on the standard server.
The user-configured message classes are transferred from the standard server.
Tags
No standard server may be specified for tags.
SSM (Split Screen Manager)
A standard server must always be specified for the SSM component. If trend groups are
assembled on a client, they are saved on the standard server and synchronized with the
redundant partner server on a cyclical basis.
User archives
Select the user archives component only if you have configured a user archive.
Introduction
In the OS project editor, you make settings for the user interface which a plant operator can
use to control and monitor the plant in process mode.
The OS project editor contains the following tabs:
Tab Function
Layout Settings relating to the screen resolution on the target computer and the defi-
nition of buttons in order to allow plant operators to change between individual
OS areas and individual OS servers
Message Configura- Settings for message lists and area assignments
tion
Message Display Configuration of the message system's runtime behavior and display of mes-
sages on message pages or in group displays
Areas Definition of areas which the plant operator can access in the overview area
Runtime Windows Definition of the maximum number of windows which may be open when
faceplates and trends are called
Basic Data Selection of objects which must be replaced after a change. The following
objects can be selected:
• Pictures
• Faceplates
• Scripts
General • Settings used by the OS project editor for downloading changes
• A full download must be performed for the "Entire configuration" setting.
• Settings for logs which are replaced when the project editor is run
When an OS project is created in the ES, the OS project editor is opened in the background
and initialized with default settings.
If you need another configuration, start the OS project editor from the WinCC Explorer and
configure the required project settings.
Note
Not all configuration options are available in the OS project editor in the the "Configurations
that support online delta loading only" mode. In this mode, the only settings that can be
changed are those that do not require a complete download of the PCS 7 OS. To be able to
make other changes, you to need to switch to "Complete configuration (loss of support for
online delta loading)" in the OS project editor in the "General" tab.
You will find more information on this topic in the WinCC Online Help.
Note
WinCC is always opened from the Simatic Manager in the language which is set there. Only
if WinCC is not opened from the Simatic Manager will the language correspond to the one
set before the program was last exited.
Additional information
Further instructions and information on language settings can be found in the document
“Configuring texts and languages in SIMATIC PCS 7"
(http://support.automation.siemens.com/WW/news/en/56248153).
Procedure
1. Open the "Redundancy" editor in the OS server project.
2. Check that the redundancy partner settings are correct and activate the options you
require.
Note
The redundancy partner can be connected either via a serial interface (null modem cable) or,
as of PCS 7 V7.0, via an additional network I/O (connected by means of a crossed network
cable between the redundancy partners).
Following the initial download to the target computer, the redundancy settings must be
checked/adapted once with regard to redundancy monitoring (e.g. connecting cable via COM
port or Ethernet connection) on the target computers and confirmed with "OK".
As of PCS 7 V7.0 SP1, you adapt the settings using SIMATIC Shell in the Windows
Explorer.
Introduction
The following example shows in abbreviated form the activation of time synchronization on
the OS computers in a Windows domain with a central plant clock.
As of Windows 2000 Server, all domain controllers (DC) have the same authorizations. Time
synchronization must be executed by the DC which performs the role of the "PDC emulator"
operating master.
The time signal comes from a SICLOCK central plant clock, which can be synchronized both
via GPS and DCF77.
Note
You can find the configuration options available with PCS 7 (e.g. Windows
workgroup/Windows domain with/without a central plant clock) and the corresponding
detailed configuration instructions in the manual "PCS 7 Time synchronization"
(http://support.automation.siemens.com/WW/view/en/90682531).
Information on further configuration options can also be found at
http://support.automation.siemens.com/WW/view/en/61931975.
3. The option "Synchronize with an Internet time server" found on the "Internet Time" tab
must not be activated.
4. Open the "Region and Language" editor via "Start > Control Panel > Regional and
Language Options" and configure the correct options for your location.
Note
If the ES does not have a CP1613/CP1623/CP1628 communication processor (as of PCS 7
V7.0 SP2), select the "Display symbolic name of the access points" option in the area
"Synchronization via Plant Bus (Master, Slave)". Select the communication processor
(CP1613/CP1623/1628) from the "Access point 1" drop-down list and select the "Master"
check box.
The OS servers act as cooperative time masters, in other words, the first OS server active
on the plant bus to not receive a time frame on the plant bus switches automatically to time
"master" mode. All other OS servers on the plant bus detect the time message frame from
the time master and automatically switch to time "slave" mode. A cooperative master does
not have to belong to a redundant server.
To ensure the Windows taskbar remains hidden during process mode even when standalone
applications are called (e.g. "Picture selection by name", "Picture selection by process tag",
"User permission", or "SFC visualization"), the "Keep the taskbar on top of other windows"
check box must be deactivated in the Windows operating system under "Taskbar and Start
Menu Properties".
Work station
Once the OS engineering has completed with OS runtime running check that there is
sufficient hard disk memory for operating the Microsoft SQL servers.
System partition (C): The free memory space must be greater than 20%.
Task Manager
Once the OS engineering has completed with OS runtime running check that the following
values are being adhered to within the Task Manager:
● System performance: Processor utilization less than 30% on average
● System performance: Available physical memory greater than 200 MB
Alarm Logging
Once the OS engineering has completed with OS runtime running check that the permanent
load of messages for an OS server is less than 10 messages per second.
The check can be made by additional configuration of an Alarm Control as a hitlist in a
process picture.
Tag Logging
Once the OS engineering has completed with OS runtime running check that the tag
archiving for an OS server is less than 1500 values per second.
For this monitor the internal tags @TLGRT_TAGS_PER_SECOND and
@TLGRT_AVERAGE_TAGS_PER_SECOND in the TagLoggingRT group.
Note
Check the configuration as well as the associated infrastructure if these limiting values are
being reached or even exceeded.
The process pictures are assigned during AS engineering of the navigation in the SIMATIC
Manager. The name displayed for the OS area can also be changed in the SIMATIC
Manager. As a rule, however, the same name as that shown in the plant view is used.
Introduction
In general, process pictures are created in accordance with a set of specifications which are
drawn up in close collaboration with the customer. Sector- and company-specific standards
and guidelines must be taken into account.
In the sample project, the following definitions have been laid down:
Function design
This function is provided for user objects. Use faceplates from
the OS library.
Cable design
Boiler design
Represent boilers in graphics by means of black lines on a gray background. The boiler
shape is defined by the RI flowchart.
Use static text to indicate the volume of the boilers. The fill quantity is shown by means of a
bar on the boiler.
This is implemented using the system library APL (Advanced Process Library) and the
AddOn APG (Advanced Process Graphics). In this process, the AddOn APG supplies a
function block, which collects the data from the AS and supplies the graphic objects provided
by APG with data. It is thus possible to create overview images that represent the entire
state of the process. This way the user can see whether there is a deviation from normal
operation (work area) in good time. He can therefore intervene before warning or alarm
messages are output.
Note
You can find additional information on the subject of "Advanced Process Graphics" in the
Industry Online Support portal in the contribution "Integration of Advanced Process Graphics
in SIMATIC PCS 7" (http://support.automation.siemens.com/WW/view/en/89332241).
Note
Take note of the following recommendations when creating process pictures:
• The use of numerous or extensive C actions and/or VBS actions increases the system
load which can have a negative influence on picture-call times in runtime. Move cyclic
computing operations to the automation system and avoid executing them on the OS.
• To achieve picture opening times of less than 2 seconds do not configure more than 100
process objects in one process picture.
Several block icons are available for some AS blocks. This is the case, for example, for the
direction of flow of the medium for a valve with a defined vertical or horizontal direction.
Which of these block icons will be selected is determined by an index number in the "type"
property of the corresponding block icon.
You make your selection and specification via the AS block's properties dialog in CFC. The
screenshot below shows the selection box that appears for the VALVE block by way of
example.
Note
The original "@PCS7TypicalsAPLV8.pdl" file must not be changed! Changes to the
original file are overwritten in the event of an update or upgrade.
User-defined template pictures must be created for customer-specific block icons. These
must start in all cases with the fixed name component "@PCS7Typicals". The file name
following this can be determined freely.
The "Create/update block icons" function open all pictures with the fixed name component
"@PCS7Typicals" and ascertains the picture priority alphabetically using the names:
● Prio 1: "@PCS7Typicals_MyAPL.pdl" (starting with the last picture alphabetically)
● Prio 2: "@PCS7TypicalsAPLV8.pdl"
● Prio 3: "@PCS7TypicalsAPLV7.pdl"
The pictures with the highest priority are added.
The "Create/Update Diagnostic Screens" function uses the template pictures from
"@@MaintenanceTypicals".
9.2.5 Faceplates
Introduction
A faceplate is the graphic representation of all elements in a technological block from the AS
intended for operator control and monitoring. Faceplates are displayed in a separate window
in the OS and can be opened using block icons.
The block icons and associated faceplates for valve control are shown below by way of
example.
Left-click the block icon to open the valve's faceplate within the process display.
When the OS project is compiled, the block icons are derived/updated from the plant
hierarchy.
Note
The derivation of the block icons is controlled with configuration files. A user normally does
not have to adapt the configuration files supplied by the system.
The following attributes of the block icons are taken into consideration in the configuration
file without adaptation:
• Higher ProcessControlling
• ProcessControlling
• View Tag
• Return Path
• StandardTrend
• Format_InputValue
• Format_OutputValue
• Format_xx
• defaultPos
• leftPos
• topPos
If other attribute values are to be taken into account when updating the block icons, the
configuration must be adapted accordingly.
You can find a detailed description of this under "Structure of the Configuration File" in the
WinCC Information System.
9.2.7 Wizards
If block icons are not derived from the plant hierarchy (PH) in the SIMATIC Manager by
default, various wizards are available for working with user object templates.
Note
Detailed information on working with the wizards can be found in the "SIMATIC Process
Control System PCS 7 Operator Station"
(http://support.automation.siemens.com/WW/view/en/90682677) manual.
Introduction
Interrupts and messages are divided into message classes and message types. There are
default settings for message classes and message types provided by the system when a
project is created. These predefined message classes and message types can be selected
in the AS configuration.
Note
When using the "User-configurable message classes" function, observe the information in
the section "Configuring the PCS 7 message system" in the manual "SIMATIC Process
Control System PCS 7 – Engineering System"
(http://support.automation.siemens.com/WW/view/en/90663380).
Process control and system messages are also automatically generated by the project editor
for a new project. The user does have the option of suppressing individual process control
messages and assigning a message priority on the "Message configuration" tab, but only if
the option for delta loading is disabled on the "General" tab, thus necessitating a complete
download subsequently.
Note
the highest priority of 16 is used to display "emergency messages" in a separate list named
"High priority messages". A button which can be selected in order to display these messages
has been added to the plant overview, next to the message line. This button flashes for as
long as messages with this priority are still pending, irrespective of whether they have been
acknowledged or not.
Note
To prevent too many messages being generated, the SIMATIC PCS 7 message concept
employs cumulative message suppression.
Example: An I/O module with eight channels can signal a wire break for every channel. If the
I/O module is not connected to a power supply, just this one message is output and other
messages relating to wire breaks are suppressed.
Preventive maintenance
Preventive maintenance indicates that maintenance personnel will soon have to take a look
at devices/components (due to a dirty sensor, for example).
Process messages
Process messages are specified to a user.
Operational messages
Operational messages provide information about the plant status during conventional
operation (e.g. "Temperature setpoint reached").
Operator prompts
Operator prompts are messages generated by the sequential control or stacking systems
which prompt the operator to perform certain tasks.
Operator messages
Operator messages indicate which tasks the operator has performed manually (e.g. "User
xy: control T4711: W was: 20 DEGC, W is now: 35 DEGC"). These can also be system-
generated messages which refer to events occurring in the system (e.g. "Incorrect
password").
Status messages
Status messages provide information about system states during normal operation and also
document these states (e.g. "Logon via Smart card").
The digits in brackets are code numbers which are used to define the message class and
message type in system files.
Introduction
SIMATIC PCS 7 categorizes and displays messages in different message lists, based on
their status and type. The message lists below are implemented in the message line:
Message line Displays the latest unacknowledged message above the process overview
Incoming alarm list Displays all unacknowledged messages
Acknowledged alarm Displays all acknowledged process messages which are still active
list
Outgoing alarm list Displays all messages marked as "Outgoing", which have not been acknowledged.
List of pending mes- Shows all acknowledged and unacknowledged messages which have not yet gone out.
sages
Operation list Displays all operator messages (e.g. "A controller setpoint is set to xxx.")
Journal list Displays all messages (incoming, acknowledged, and outgoing messages)
Hidden alarm list Displays all active, manually hidden, and automatically hidden messages.
List of messages to Display of all event messages which are hidden when they occur.
be hidden
Note
The list of hidden messages and the list of messages to hide are available as of PCS 7 V7.0.
Interrupt controls
The message lists are displayed via interrupt controls, which can be modified in the Graphics
Designer.
Double-click on an interrupt control in the Graphics Designer to open the configuration dialog
for message blocks/columns.
Right-click to access the properties dialog, where the "LongTimeArchiveConsistency"
attribute can be used to configure characteristics in terms of the number of messages
displayed per OS server.
No: A maximum of 1,000 messages are scanned and displayed per OS server. The scan is performed according
to date/time by default. The messages are sorted and displayed accordingly after all servers have been
scanned. In this case, time gaps may occur in the display (for individual servers).
Yes: A maximum of 1,000 messages are scanned and displayed throughout all OS servers. This setting always
ensures that the same time sequence is used for the messages throughout all servers. The amount of data
displayed is considerably less than in the first case.
Message status
A message recognizes up to four statuses, depending on the acknowledgment concept:
● Came in
● Came in, acknowledged
● Came in, went out, unacknowledged
● Came in, went out, acknowledged
The current message status is indicated by the following attributes:
● Color and flashing display of the elements
● Plain text in text elements
● Time entries in the message line
You can configure the acknowledgment theory of a message of the message type in the
alarm logging of the WinCC Configuration Studio in the properties window "Properties –
Message Type".
Note
From PCS 7 V8.1, the message types adopt the properties of the message classes. The
message classes remain as a higher-level element of the message types and can still be
used with their group variables. These properties can thus be used more flexibly in the
message types.
Option Description
"Came in" acknowledgment Activate the check box for single-mode message with came in acknowledgment. Came in
messages of this message class must be acknowledged. The message remains queued
until it is acknowledged.
"Went out" acknowledgment Activate the check box for a single message with dual-mode acknowledgment. Went out
messages of this message class must be acknowledgment.
Flashing on Activate the check box for a new value message with single or dual-mode acknowledg-
ment. The messages of this message class flash when displayed in the message window.
For a message block to flash in Runtime, flashing must be activated in the properties of
the respective message block.
Only for initial value Activate the check box for a first value message with single acknowledgment. Only the
first message of this message class flashes when displayed in the message window. The
"Flashing On" check box must be activated.
Without status "went out" Activate the check box for a message without "Went Out" status with or without acknowl-
edgment. When this option is activated, the messages do not have "Outgoing" status. If
the message only recognizes the "Came In" status, the message is not entered in the
message window and it is only archived.
Unique user If the check box is activated, the comments in the message window are assigned to the
logged on user. The user must be registered in the "User name" system block. If no
comment is entered, any user can enter the first comment. When the first comment is set,
all other users have read-only access to this comment.
Comment If the check box is activated, the comment of the incoming message is always displayed
in the user text blocks with the dynamic sections "@100%@", "@101%@", "@102%@",
and"@103%@". The display then depends on the status of the message in the message
list.
Note
Information on configuring and on operating and monitoring the Smart Alarm Hiding can
be found in the document "PCS 7 in Practice - Smart Alarm Hiding"
(http://support.automation.siemens.com/WW/view/en/55699984).
The messages are only valid in the relevant area. The group displays for an area are linked
on a local level by means of a logical OR function and encompass all lower hierarchy levels.
You can branch from the group display (when a newly received, flashing message is
present) to the picture tree at just the click of a mouse. The function branches down to the
process picture, in which the message can be uniquely assigned. If messages occur in two
process pictures at the same time and these pictures are "ORed", the function branches to
the first process picture in which the the group displays come together.
The group display can contain the following information:
This function is activated for an OS in the "Group display hierarchy" field of the "Message
display" tab in the OS project editor.
Note
Information on the function and installation of signal modules can be found in the "Process
Control System PCS 7 WinCC Basic Process Control"
(http://support.automation.siemens.com/WW/view/en/1400148) manual.
As of PCS 7 V7.0, the "Multiple acknowledgment in the following group" function has been
added to the horn multiple acknowledgment options in the Horn editor. Using the new
function for multiple acknowledgment is recommended in PCS 7 V7.0.
Note
Information on the time stamping in the distributed I/O can be found in the "SIMATIC
Process Control System PCS 7 High-Precision Time Stamp"
(http://support.automation.siemens.com/WW/view/en/68154111) manual.
9.4 Archiving
9.4.1 Introduction
The following figure shows the structure of the archives, which are designed as circular logs
and use single segments.
The archive values associated with TagLogging Fast and also with TagLogging Slow (as of
PCS 7 V7.0) are saved in the database in a compressed state, although this does not impair
the quality of the values.
The compression factor which can be achieved depends on a number of factors, particularly
on whether or not the archive values can be combined during the acquisition of measured
values by means of a sufficiently large hysteresis setting.
Compression ensures that the size of the values will be reduced by a factor of 0.5. This
results in a value that is usually around 6 bytes per measured value, but which can
sometimes reach up to 16 bytes per measured value.
A message with the maximum number of associated values and comments requires 4 KB.
The minimum value for a message is 172 bytes.
Archive settings
The system always offers two criteria for specifying the archive size of a single segment and
the overall size of the circular log:
● Definition of a time period
● Physical size in bytes
If one of these two criteria is exceeded, this will lead to a switch to the next segment in the
case of a single segment, or to the overwriting of the first segment of the entire circular log.
As the total hard disk capacity available for archiving is predefined, the specification in bytes
is the only criterion which is relevant for the entire circular log.
This specification must be standardized for all three archive databases (TagLogging Fast,
TagLogging Slow, and AlarmLogging) in line with the available hard disk capacity.
In practice, you define a time period which you would like to use for TagLogging and make a
rough calculation of the associated memory requirements. If a Process Historian (PH) is
used, experience has shown that it is sufficient to only create time ranges on the OS servers
which cover the period of time a standard operator would need to access the system for the
purpose of process control (several days/weeks/months).
Calculation
Calculation of the memory requirements of all segments for a specified period of y months
for TagLogging Fast:
To perform this calculation, you will need to know how many archive values are saved per
second on average. You can view this information in a clear format in the SIMATIC
Manager's process object view, which is also where the process value archives, created by
means of the OS, are read in.
The memory requirements for x bytes are generally calculated as follows:
number of archive values/s * x bytes * 60 s/min * 60 min/h * 24 h/day * 31 days/month * y
months
A specification comprising days or weeks is usually used for a single segment. A segment
change faster than one day may not be used, as this would make the number of segments to
be connected to the MS SQL database when the OS server starts up too large, thus
impairing performance.
Note
As a rule, no more than 200 single segments (for the TagLogging Fast/Slow and
AlarmLogging archive databases) may be generated in total.
The maximum size of a single segment should not exceed 700MB (up to PCS 7 V8.0) or
2GB (from PCS 7 V8.1).
The size of a single segment in bytes can also be calculated using the definition provided
above. It is not the decisive criterion, but it does need to be checked.
Example
You are planning on using a period of around 2 months: You have calculated a mean value
of 750 archive values/s for TagLogging Fast.
● The maximum size for all segments is calculated as follows:
– Where a memory requirement of 16 bytes per measured value is assumed:
approx. 60 GB
(750 archive values/s * 16 bytes/value * 60 s/min * 60 min/h * 24 h/day * 31
days/month * 2 months)
– Where a memory requirement of 6 bytes per measured value is assumed:
approx. 22 GB
(750 archive values/s * 6 bytes/value * 60 s/min * 60 min/h * 24 h/day * 31 days/month
* 2 months)
In our example, we have selected 30 GB.
● The following is calculated for a single segment per day:
– Where a memory requirement of 16 bytes per measured value is assumed:
approx. 1 GB
(750 archive values/s * 16 bytes/value * 60 s/min * 60 min/h * 24 h/day * 1 day)
– Where a memory requirement of 6 bytes per measured value is assumed:
approx. 370 MB
(750 archive values/s * 6 bytes/value * 60 s/min * 60 min/h * 24 h/day * 1 day)
In our example, we have selected 600 MB.
You must then make the following corresponding settings in the "TagLogging Fast"
configuration of the "TagLogging" editor:
You proceed in exactly the same way for "TagLogging Slow". You have calculated a mean
value of 100 archive values/s for TagLogging Slow.
● The maximum size for all segments is calculated as follows:
– Where a memory requirement of 16 bytes per measured value is assumed:
approx. 8 GB
(100 archive values/s * 16 bytes/value * 60 s/min * 60 min/h * 24 h/day * 31
days/month * 2 months)
– Where a memory requirement of 6 bytes per measured value is assumed:
approx. 3 GB
(100 archive values/s * 6 bytes/value * 60 s/min * 60 min/h * 24 h/day * 31 days/month
* 2 months)
In our example, we have selected 5 GB.
● The following is calculated for a single segment per day:
– Where a memory requirement of 16 bytes per measured value is assumed:
approx. 130 MB
(100 archive values/s * 16 bytes/value * 60 s/min * 60 min/h * 24 h/day * 1 day)
– Where a memory requirement of 6 bytes per measured value is assumed:
approx. 50 MB
(100 archive values/s * 6 bytes/value * 60 s/min * 60 min/h * 24 h/day * 1 day)
In our example, we have selected 100 MB.
You must then make the following corresponding settings in the "TagLogging Slow"
configuration of the "TagLogging" editor:
Calculation
Unlike with TagLogging, messages occur as events and you must make assumptions,
for example, as regards an average message load which is continuously present. These
assumptions can differ from one another considerably, depending on the technology/sector
in question.
In practice, however, you can also proceed in another way, by calculating the TagLogging
requirement and adding the available, unused hard disk memory space to the AlarmLogging
database. This would then become the specification for the maximum size of all segments.
The memory requirements are generally calculated as follows:
Number of messages/s * 4 KB/message * 60 s/min * 60 min/h * 24 h/day * 31 days/month
* y months
Example
You assume that the number of events in your plant is 1 message/s.
● The maximum size for all segments is calculated as follows:
approx. 20 GB
(1 message/s * 4,000 bytes/message * 60 s/min * 60 min/h * 24 h/day * 31 days/month
* 2 months)
● The following is calculated for a single segment per day:
approx. 330 MB
(1 message/s * 4,000 bytes/message * 60 s/min * 60 min/h * 24 h/day * 1 day)
Deliberately set this limit higher so that you can still achieve a daily swap-out even if a
message burst occurs. In our example, we have selected 700 MB.
Note
As a rule, no more than 200 single segments (for the TagLogging Fast/Slow and
AlarmLogging archive databases) may be generated in total.
You must then make the following settings in the "AlarmLogging" editor:
In our example, therefore, the hard disk not only has to provide the TagLogging memory
requirements, but also an additional 60 GB on the OS server for archiving purposes (total of
"Max. size of all segments").
9.4.4.1 Introduction
Note
The "Process Historian" and "Information Server" components can be installed on a
computer.
The new Process Historian (PH) with reporting system has been introduced in parallel with
the Central Archive Server (CAS) archiving system as part of the introduction of SIMATIC
PCS 7 V8.0. From SIMATIC PCS 7 V8.1 onwards, the CAS is no longer supported.
Note
A migration of the CAS/StoragePlus data from the PCS 7 versions greater than V7.0 to PH
data is possible in the PH version from PCS 7 V8.1 onwards.
1. Prompt data archiving of the OS single stations and the OS server on the PH.
2. SIMATIC BATCH swaps out its batch data to the PH in the manner in which this is also
available in the BATCH database (native archiving).
3. IS client access to the IS for report creation
Note
A redundant operation of the PH is possible.
Introduction
The Process Historian (PH) is used to archive process values, messages and batch data
from the process control system SIMATIC PCS 7 V8.1.
The process values and messages managed in the PH database can be displayed on OS
clients and OS single stations clearly and graphically (with WinCC Alarm or WinCC Trend
Control). Data selection is supported by integrated filter functions. Messages and process
values can be displayed both in tabular form as well as graphically. The saved data is
divided into segments for processing and managing very large amounts of data.
The following figure shows an example of segmenting in the PH:
There is also the option of exporting process values in CSV format for further processing in
other Windows applications, e.g. Microsoft Excel.
The SQL server is used for the data archiving. The managed data can be swapped out to
common storage media (backup/restore).
The PH does not need a connection to the plant bus. It can be connected to the OS and
Batch Servers of the SIMATIC PCS 7 plant via terminal bus, for example, using the
integrated network connection (on-board Ethernet RJ45 port) of the server.
The PH is suitable as long-term data storage for PCS 7 projects. You can swap out the data
from multiple projects/multiprojects to a PH.
Licensing
A "Process Historian Server" basic license is required to operate the PH. The "Process
Historian Server Redundancy" license is required for a redundantly configured system. This
includes a redundancy license in addition to the basic license. The "Process Historian and
Information Server" license is offered for a combined PH and Information Server.
Note
As of PCS 7 V8.0 SP1, no countable PH archive license is required for a PCS 7 OS as a PH
data source.
Hardware requirements
Using an "IPC 847D" type server is recommended for PCS 7 plants with up to three OS
servers (max. archiving load of 1500 values/sec. per OS server).
With intensive use a PH system is not a typical application area for an IPC. Using a SIMATIC
Premium server is therefore recommended for large plants.
The work memory and number of processors and hard disks can be expanded with the
configuration.
Software requirements
The following software requirements apply to the PH:
● Windows Server 2008 R2 SP1 Standard Edition (64 Bit) or Windows Server 2008 R2
Enterprise Edition (64 bits)
● Microsoft SQL-Server 2008 R2 SP1 Standard Edition (64 bit)
● MS Message Queuing
Note
The PH is approved exclusively for 64-bit operating systems.
Additional information
You can find additional information on the system requirements in the following
documentation:
● "SIMATIC Process Historian Administration"
(http://support.automation.siemens.com/WW/view/en/68713474) manual
● Process Historian Installation Notes
● Application note "Installation and Commissioning of Process Historian/Information Server
in the PCS 7 Environment"
(http://support.automation.siemens.com/WW/view/en/66579062).
Introduction
The Information Server is the Process Historian reporting system for compiling and
evaluating data or presenting it in graphic form. Based on Microsoft Reporting Services it
provides web-based Thin Client access to historical data.
The following image shows an example creation and view of a graphic (report) using MS
Office Plug-in at MS Excel level:
You can access the Information Server web application via Internet Explorer with the
corresponding access rights. In addition to displaying reports, the web application is also
used for administering the Information Server.
The Information Server uses the Internet Information Service (IIS) to provide data to an IS
client.
An add-in for Microsoft Word and Excel provides additional access to the Process Historian
database.
The following image shows an example of the Information Server web application:
Functions
The Information Server's functions include:
● Web Front End of the Process Historian
● IIS application
● Access protection
● User administration
● Report creation
● Report management
● Automated sending of reports via e-mail
● Report template uploads and downloads
● Report page creation
● Provision of the Microsoft Office add-in
Licensing
The License Manager counts all active report client connections. The Information Server
client (MS Internet Explorer, Excel or Word application) accesses the Information Server via
an installed add-in. This captures all active report clients for each computer and verifies a
license on the IS.
The following table shows the IS licenses:
Version Identifier
V8.0 Information server
n.v. Information Server - Client Access (1 Client)
n.v. Information Server - Client Access (3 Client)
n.v. Information Server - Client Access (5 Client)
n.v. Information Server - Client Access (10 Client)
n.v. Information Server - Data Source Access (1 Client)
n.v. Information Server - Data Source Access (3 Client)
n.v. = not versioned
Note
Only one "Information Server - Data Source Access" license is required for a PCS 7 OS
system, even if the system is configured redundantly
Hardware requirements
Using an IPC 547E or IPC 847D is recommended.
Software requirements
The following software requirements apply to the Information Server:
● Windows 7 SP1 Ultimate
● Windows Server 2008 R2 SP1 Standard Edition (64 bit)
● Internet Information Service
The following are also required for reporting with MS Office:
● Visual Studio Tools for Office VSTO 4.0
● .NET Framework V4.0
● IS Office PlugIn
Additional information
You can find additional information in the following manuals:
● Manual "Information Server 2014: Operating instructions"
(http://support.automation.siemens.com/WW/view/en/68099543)
● Information Server Installation Notes
● Application note "Installation and Commissioning of Process Historian/Information Server
in the PCS 7 Environment"
(http://support.automation.siemens.com/WW/view/en/66579062)
● Application note "Creating Report Templates for the Information Server on the Process
Historian Database in the PCS 7 Environment"
(http://support.automation.siemens.com/WW/view/en/64906050)
Requirements
The following requirements apply to using the Web solution:
● The Web solution can be implemented both in plants with a server/client structure as well
as on OS single stations.
● The Web solution gives users the opportunity to use a Web client to access Web servers
whose plants or plant areas still use a previous version of PCS 7 V8.1. You can find
additional information on this under
http://support.automation.siemens.com/WW/view/en/92190315.
● In order to execute a process operation via faceplates, the OS hierarchy (Picture Tree)
must be derived from the SIMATIC Manager plant hierarchy. At the very minimum,
however, the area names used in the OS and AS must match.
OS server load
In the case of a plant where the configuration is planned as a mixture of OS clients and Web
clients, the permissible number of clients in terms of the load on the OS servers can be
roughly calculated using this formula:
Number of OS clients * 2 + number of Web clients * 1 <= 60
Notes on configuration
The following points must be taken into account when configuring the Web solution:
● Where there is an existing server/client structure, the number of times run through to
publish images, scripts and status displays for the Web server is based on the number of
server packages downloaded (publishing operations: number of server packages + Web
server).
● The "WebNavigator" option must be enabled and selected as the startup screen
"@Screen.pd_" for the respective user in the User Administrator of the Web server.
● Different languages, which have been configured in the OS system, can be assigned in
the User Administrator for different logon profiles.
● It is also possible to emit an audible signal on a Web client when new messages occur.
You can find additional information on this in the configuration example "Audible interrupt
signals for PCS 7 Web clients"
(http://support.automation.siemens.com/WW/view/en/29088810).
Additional information
You will find a detailed description of how to use the Web solution in the "SIMATIC Process
Control System PCS 7 OS Web Option"
(http://support.automation.siemens.com/WW/view/en/90682846) manual.
Additional relevant information can be found in the "Security Concept PCS 7
Recommendations and Information"
(http://support.automation.siemens.com/WW/view/en/22229786) and "Security Concept PCS
7 and WinCC – Basic Document"
(http://support.automation.siemens.com/WW/view/en/60119725).
9.6 OpenPCS 7
Introduction
Data from PCS 7 is also available to higher-level systems with Open PCS 7 (e.g. plant
management level). The following standard interfaces can be used to exchange data from
OpenPCS 7 stations:
● OPC UA (Unified Architecture)
● OPC DA (Data Access)
● OPC HDA (Historical Data Access)
● OPC A&E (Alarm & Events)
● OPC "H" A&E (Historical Alarm & Events)
● OLE/DB for OLE-enabled applications (e.g. MS Office products) and for accessing
historical values, alarms and messages via standardized database access.
Note
System description
You will find a detailed description of how to use the Web solution in the "SIMATIC Process
Control System PCS 7 OpenPCS 7"
(http://support.automation.siemens.com/WW/view/en/68154075) manual.
Scope of functions
The "User Administrator" editor of the "WinCC Configuration Studio" is used to establish user
administration.
Note
The "WebUX" function displayed in the illustration is not enabled in the PCS 7 environment.
The editor is used to assign access rights to users for individual editors in the configuration
system and to functions in process mode, as well as to monitor these rights. To this end,
access rights, also known as authorizations, are assigned for OS functions in the User
Administrator. These authorizations can be assigned to individual users or to user groups;
they can also be assigned during process mode.
Note
You have the option of exporting or importing the entire configuration or selected parts of the
user administrator (e.g. in *.csv format).
SIMATIC Logon is supplied with "Contract License" in SIMATIC PCS 7 V7.1 and above.
which means there are no further licensing costs for SIMATIC Logon within PCS 7. As a
result, we generally recommend that SIMATIC Logon is used, as it provides more benefits
than WinCC Logon and is not associated with any additional costs.
Note
SIMATIC Logon and the User Administrator write different user information to a smart card.
SIMATIC Logon also requires the information as to which logon computer or domain
controller should be used for user authentication.
This is why the Smart card must be specified again with any change from SIMATIC Logon to
WinCC Logon or vice-versa.
Method of operation
When a user logs on to the system with a user name and password, the User Administrator
checks whether that user has been created in the OS. If the user has not been created,
he/she will not be assigned any authorizations in the OS; the same applies if an incorrect
password is entered.
This means that the user will not be able to monitor or control the process in process mode.
If a properly logged-on user calls an OS functionality which is protected by an authorization,
the User Administrator checks whether the relevant authorizations permit this function to be
accessed. If the appropriate authorizations are not in place, the User Administrator denies
the user access to the requested functionality.
User groups, users, and their passwords are managed in the "User Administrator" editor.
The user groups, users, and passwords must be created separately in every OS client. In
order to avoid having to duplicate creation work in the OS clients, you can work with
referenced OS clients. For referenced OS clients, however, the user administration
configurations must be exactly the same for every client.
Note
A distinction is made between uppercase and lowercase letters for user names and
passwords as of PCS 7 V8.0 SP1.
Introduction
SIMATIC Logon is a Windows-based central user management system with access
protection for the SIMATIC PCS 7 system components.
SIMATIC Logon consists of the following components:
Note
SIMATIC Logon users must be direct members of a Windows group. These users may not
be members of a subgroup of a Windows group.
You can find information on Windows users and groups, for example, at the following link:
http://technet.microsoft.com/en-us/library/dd861336.aspx
Method of operation
Information on the logon process and functional mechanism of SIMATIC Logon can be found
in the "SIMATIC Logon" (http://support.automation.siemens.com/WW/view/en/34519648)
manual.
The following image shows an authentication scenario with SIMATIC Logon:
Note
If you run SIMATIC Logon with a logon computer, this computer must be available at all
times and must not demonstrate any excessive peak loads; Using the ES as the logon
computer is not recommended for this reason.
With SIMATIC Logon you can log on via the local computer, irrespective of whether you are
working with a logon computer or a domain. We recommend that you create all the
necessary users and groups on the local computer also, so that you can still log on to
applications when the logon computer or domain are unavailable.
8. Create a new user named "JohnGreen", for example, in Computer Management and
assign this user to the "Operators" user group.
Note
Only the groups in the "User Administration" Editor should be created for SIMATIC PCS 7
OS.
The names of the newly created user groups must be written in exactly the same way in the
Windows operating system and the OS User Administrator. These names are case-sensitive.
Users are only created in the operating system of the logon computer. Once a user has
successfully logged on via the logon computer, authorizations are then assigned to that user
in the OS.
The following SIMATIC PCS 7 system components can also use SIMATIC Logon in addition
to the SIMATIC PCS 7 OS:
• SIMATIC PCS 7 OS
• SIMATIC BATCH
• SIMATIC Route Control
• SIMATIC Manager
• Automation License Manager
License
The license for SIMATIC Logon is integrated in PCS 7 in version V7.1 and above. A master
license is automatically created on the system through the installation via the SIMATIC PCS
7 framework setup.
Requirement
The following requirements must be fulfilled in order to load OS projects:
● Required NTFS permissions of the destination path must be set with the
"SIMATIC Rights" tool.
● The logged-on user must be a member of the Windows user group "SIMATIC HMI".
Note
You can find details about the "SIMATIC Rights" tool and Windows user permissions in the
PCS 7 Readme (http://support.automation.siemens.com/SDW/view/en/101094704).
Procedure
By and large, individual OS projects, OS servers, and OS clients are downloaded in the
same way. This is illustrated below, using SERVER1A as an example.
1. In the component view, select the OS object you want to download, then select the "PLC
> Download" menu command.
Note
In PCS 7 this is the only permissible method of downloading OS projects to the target
computer. Using the WinCC Project Duplicator is expressly forbidden.
You can find more details on configuring the Windows user authorizations in the
"SIMATIC Process Control System PCS 7 – PC Configuration"
(http://support.automation.siemens.com/WW/view/en/90635791) manual.
2. In the next dialog you define the scope of the data which you wish to download.
The first time an OS server (in this case, SERVER1A) is downloaded, a complete
download is required. The procedure to follow for downloading changes for OS servers is
described in this document, in section Downloading changes online (Page 289). OS
clients always have to be downloaded in full.
Note
You can initiate compilation of the OS prior to the download procedure.
3. The dialog below shows how the download procedure is progressing; this procedure must
be completed successfully.
4. You can call the load log for the server as well as for the client once the download
procedure is complete. All the actions performed during the download procedure are
recorded in this log, together with the time and date when they were executed.
In the component view, select the OS, followed by the "Display load log..." menu
command.
Note
The computer name in the WinCC project during configuration corresponds to the name
of the engineering station for all OS projects. When the OS projects are downloaded to
the individual PCs, the name is automatically replaced by that of the corresponding target
OS computer (see load log).
Introduction
Once you have inserted new plant objects/pictures and tested their function on the ES, you
must update the relevant AS and OS servers to make the changes available to the operator.
If no changes have been made to the structure and it is possible to only compile OS
changes, the OS servers can remain in runtime mode during the download procedure.
Runtime mode must be stopped for a complete download of the OS.
The OS clients are updated automatically. The OS client must be explicitly downloaded only
where changes have been made to the OS client project (permissions in the User
Administrator, for example). An OS client can only be downloaded in full.
Note
Never make changes to the OS projects on the individual OS servers and OS client stations
directly, as you will not be able to use the "Download changes" function. In this event you
must execute a complete download.
All changes are made on the ES and are then downloaded to the various OS stations. The
redundancy settings for OS servers and the settings for the Web server are exceptions.
The background to this and further information on downloading changes can be found in the
section "Downloading Changes to a Project" in the "SIMATIC Process Control System
PCS 7 Operator Station" (http://support.automation.siemens.com/WW/view/en/90682677)
manual.
There is an option for displaying the number of changes made via the "Details" button in the
dialog box for starting the OS download. Based on the number of changes the system
suggests whether downloading the changes is sufficient or whether a complete download
needs to be executed.
Requirement
You can only download changes online to a PCS 7 OS when runtime mode is activated on
the corresponding PC. Both stations must be in runtime mode for redundant servers.
In order to use the function for downloading changes online, the entire project must have
been compiled and downloaded without errors at least once. Exactly the same project data
must have been downloaded in full to redundant OS servers.
Procedure
The update procedure can be performed in stages or automatically, with the help of the
"Compile and Download Objects" dialog box.
Procedure
1. Compile the S7 program in the CFC or SFC editor or in the plan directory of the
component view. It makes no difference whether the "Changes only" or "Entire program"
option is selected in terms of the AS's capacity to download changes.
2. Download the S7 program into the AS, which is in the RUN-P state, using the "Changes"
option.
3. Compile the OS project of the master OS, using the "Changes only" option. This setting
also ensures that the server data corresponding to the OS is updated automatically.
4. Download the OS project from the ES to the servers.
Once the OS runtime is activated on the target station the "OS-Download" dialog box
offers the option of downloading the changes.
When downloading changes to a redundant OS server pair, the function first downloads
the changes to the configured standby OS. Once this procedure has been executed in full
and confirmed with "OK", the process of downloading changes to the configured master
OS is started. This order is observed regardless of which of the two OS servers is
currently configured as the master.
Note
The steps described should be performed promptly to ensure that no inconsistencies
arise for operators between the time when the AS is changed and the time when the OS
is changed. Operating staff should also be informed of any pending changes.
The settings for compiling changes and for downloading changes are made separately for
the relevant objects via the "Edit" button. This calls up the dialogs described in Section
"Compiling and downloading in stages (Page 290)".
The "Test" button can be used to check the consistency of the settings prior to starting the
automatic process.
When changes are downloaded to the OS servers, the OS clients are also updated, as they
receive the new server data.
10.1.3 Recommendations
Introduction
You always need to perform a complete download for the initial loading or after performing
substantial changes.
Procedure
The following steps must be taken to download the entire program during operation while
retaining data archiving:
1. Compile the OS project (in full or changes only).
2. Download the OS project in full from the ES to the OS servers. The OS runtime on the
target station is deactivated automatically with this and the project is closed.
The OS runtime is reactivated automatically once the download has completed.
3. After activation, the redundancy manager starts to synchronize the data of the two
redundant OS servers. Wait until the process control message "REDRT:Archive update
complete" appears.
4. Next download the standby OS. The server already loaded becomes the "Master" again.
The OS clients switch over again.
5. If a message appears confirming that the download procedure has been completed
successfully, the project has been downloaded in full. After activation, the redundancy
manager starts to synchronize the data again. Wait until the process control message
"REDRT:Archive update complete" appears.
Note
Both partners should always be downloaded promptly in order to restore the consistency
of the configuration data in the redundant system.
11.1 Configurations
Note
In this plant configuration, the OS must be configured as a single station system. You make
this setting when creating the project in the SIMATIC Manager, using the "New Project" PCS
7 wizard.
Introduction
The MS client runs directly on the master ES. The current multiproject is stored here. The
MS server can be installed on an existing OS server or on a separate computer depending
on the size of the plant. The MS server can be configured redundantly. You can provide one
MS server for each multiproject. All components in the multiproject is monitored by this
server.
① Network card with TCP/IP connection to the plant bus for monitoring via SNMP
Note
SIMATIC PDM access is gained from SIMATIC PDM V8.2 in connection with PCS 7 V8.1
through a PDM web server. This enables access to a selected field device from any OS
client.
Decision support
1. MS server on an existing OS server:
– Plants with 1-2 OS servers
– The OS server must be sufficiently scaled for licenses and performance. Buffers for
later expansions must also be figured in.
– The benefit with this option: There is no additional computer required.
– Furthermore only maintenance licenses are required and no additional OS server
licenses.
2. MS server as separate computer:
– Plant with three or more servers
– The benefit with this option: Clear assignment for the MS servers to the "diagnostics
area" and not to plant areas
– More transparent handling: When the MS server is loaded, for example, this has no
effect on the plant areas, which always have to be available to the operator.
– High flexibility due to separation, such as for upgrading the plant
Note
The configuration and the related requirements which must be met are described in detail in
the "Process Control System PCS 7 Maintenance Station"
(http://support.automation.siemens.com/WW/view/en/90683051) manual.
Asset management
In the "MS server as separate computer" option you create a separate project in the
multiproject for the PC stations for asset management
The data present in the multiproject serves as the basis for asset management (diagnostics
blocks, HW Config, system charts with diagnostic blocks and PDM).
The names of the components in the diagnostics area are derived from the names of the
components in HW Config and PDM. Assign unique names that do not exceed 14
characters.
Diagnostic structure
The following general steps show how to create a diagnostic structure:
1. Check the "Derive picture hierarchy from the plant hierarchy" option.
2. Check the "Derive diagnostics screens from the plant hierarchy" box.
3. Select a characteristic for the maintenance station.
4. Select the derivation of the PH name.
5. Select the MS server from the OS servers present in the multiproject.
Diagnostic screens
The following steps show how the diagnostics screens are created and/or updated:
1. Run the "Create/Update Diagnostic Images" command.
2. Compile and load the MS server.
These steps are required following any change in HW Config or to the SNMP configuration
or user diagnostics.