PCS 7 - System Documentation - Readme
PCS 7 - System Documentation - Readme
PCS 7 - System Documentation - Readme
Contents
1
Getting Started
10
11
12
-------------------------------------------------------------
Names of the user interface elements, such as menu command and dialog box
names
The German/English/French user interface names are used depending on the language of the
manual. If you have installed a multi-language package, some of the designations will be displayed
in the base language of the operating system after a language switch and will therefore differ from
the designations used in the manual.
What's new?
In the foreword of the manuals, you will find specific information concerning the changes in
comparison to the previous version of the respective manual.
Conventions
In the documentation, the designations of elements of the user interface are specified in the
language of this documentation. If you have installed a multi-language package for the operating
system, some of the designations will be displayed in the base language of the operating system
after a language switch and will, therefore, differ from the designations used in the documentation.
Readme file
Contrary to the description in the documentation, the following files ar only available in RTF format.
Calculation of the number of process objects for the selection of a "WinCC RC PO"
license for the Engineering Station
The number of process objects must be determined for each OS.
The number of process objects is calculated based on:
The number of process objects of the SIMATIC stations assigned to the corresponding OS (refer
to chapter 4.6.4)
1) Determine the path of the project directory at CAS1. The project directory is located at the ES
project under Object Properties/Target OS/"Path to target OS computer" in the project of
"WinCC CAS Appl." of the CAS1.
2) Determine the name of the StoragePlus database. The name is contained in the StoragePlus
Administration Console under System Configuration/Common Database Name (for example
"_ARCHIVE_01_.*).
3) Determine the path of the StoragePlus database in the installation directory. You can determine
the path in the Windows Explorer by searching for the name of the database that you
determined under Item 3 (for example ...\StoragePlus\Database\).
4) Install a PC station CAS2 with Windows Server2003 SP2 as the operating system and all the
required operating system settings and required components.
5) Change the configuration at the ES from a "non-redundant" CAS to a redundant CAS.
6) Terminate the process operation at CAS1. Restart the CAS1 PC station.
7) Terminate the "SQL Server (WinCC)" service by using the service console (note: administrator
rights required).
8) Copy the StoragePlus databases with the path of CAS1 (PC station) to CAS2 (PC station).
9) Copy the project from CAS1 (PC station) to CAS2 (PC station).
10)Restart the CAS1 PC station.
11) Carry out a full download for CAS1 and start the process operation.
12) Install the CAS on the PC station CAS2 from the PCS 7 V7.0 SP1 DVD "Central Archive
Server".
13)Adapt the path and name for the StoragePlus databases to the previously copied folder and
database name.
14) Complete the installation of the CAS2.
15) Load the target system for the operator stations that swap to the CAS Archive.
16) Carry out a full download for CAS2 and start the process operation.
Getting Started
Libraries
The libraries of the example projects for Getting Started located on the DVD may need to be
updated.
German (Germany)
English (USA)
French (France)
Italian (Italy)
Spanish (international sorting)
The texts for Spanish (international) are converted to texts for Spanish (traditional) when the OS is
compiled. The same applies if you want to translate your own texts into one of the five main
languages and import them into your project using the menu command Options > Manage
multilingual texts. For other languages, refer to the languages available in WinCC. It is not possible
to use different variants or sortings of a language in parallel for WinCC, i.e. you cannot use English
(USA) alongside English (UK) or Spanish (international sorting) alongside Spanish (traditional
sorting) or Dutch (Netherlands) alongside Dutch (Belgium).
Open PCS7 - Transparent OPC A&E access to historical alarms (Historical A&E) on a
central archive server (CAS)
Configure the following items in order to include access to OS alarms in a CAS archive when
reading alarms on the Operator Station by means of OPC Alarms & Events:
1) Open the Object Manager and also assign the CAS to the OS server while configuring in the
SIMATIC Manager (right-click the OS project, select "Assign server" and then select "CAS").
2) Deactivate the "All servers" check box in all the alarm controls of the OS server and explicitly
select the servers (without the CAS) from which you want to read alarms.
---------------------------------------------------------------------------------------------------------------Note
Alarms archived on the CAS are included automatically if you specify a time range in an Alarm
Control, irrespective of whether the CAS is excluded in your server selection.
----------------------------------------------------------------------------------------------------------------
supported the output of a faulty process value including the corresponding "quality code", nor the
implementation of corresponding failure alarm functionality in accordance with NAMUR
recommendation NE 107 on the OS. The following states were displayed after the failure of a
process value:
The "S7_trend" attribute is assigned to the block type for the block I/O which represents the tag.
For additional information, refer to the Process Control System PCS 7; Engineering System
Manual.
The I/O names and the block I/O which represent the minimum/ maximum range of values of the
tag were entered in the "Value" column for the "S7_trend" attribute. The I/O names are
separated by comma.
The OS is compiled.
"Disable alarms"
Disabled alarms are not displayed in list of "Highest-priority alarms" and do not trigger an
acoustic alarm signal
Filtering alarms
The dialog boxes and procedures described in the documentation are not implemented in PCS 7
V7.0 SP1. For information with regard to dialog boxes and filter settings, refer to the WinCC
Information System, chapter "Working with WinCC > Structure of an alarm system >
Visualization of alarms in Runtime > Operating in Runtime > How to select
alarms".
Check whether the project for this maintenance station is entered in the SIMATIC Manager
under Options > SIMATIC PDM > Settings in the "Maintenance Station" tab.
Note: When such error messages occur, the following menu command is activated for the
respective project (the multiproject): Options > SIMATIC PDM > Disconnect MS Connections.
If the correct (multi)project is entered as an MS project, carry out the following menu command:
Options > SIMATIC PDM > Disconnect MS Connections.
Step sequencers (SFC) for software updates without use of new functions
Note that step sequencers must be stopped for downloading changes.
Upgrading PCS 7 earlier than V6.0 including Service Pack 3 to PCS 7 V7.0 when
using FM355
Since PCS 7 V6.1 including Service Pack 1, you obtain modified blocks for high-performance
support of FM 355 modules (FMCS_PID block (FB 114)) or FM355-2 modules FMT_PID (FB 77) in
version 4.0 of the PCS 7 library.
The use of these new blocks requires the use of the new block FM_CO (FB 79). This coordinates
the access to FM 355 and needs to be correspondingly integrated and interconnected by the user.
Read the information about this in the online help for the block.
NOTICE: If you wish to use these new blocks, you can only do so after a complete compilation and
download, which requires a CPU stop!
If you want translate texts to be display texts in faceplates from the default English into other
languages, such as German or French.
If you want to retain old operator texts (with PCS 7 V5.x) from your project.
Texts for analog value and binary value conditions in faceplates are taken from the new V7.0 blocks
in PCS 7 V7.0. The default texts, which are read from the "s7_shortcut", "S7_string_0",
"S7_string_1" and "S7_unit" parameter attributes, are only available there in one language and not
in several languages as was previously the case in WinCC.
The operator texts of the updated faceplates are lost if you use the new faceplates. If, in PCS 7
V7.0, you wish to continue using operator texts (created with PCS 7 V5.x), which are anchored to
the faceplates, you need to append the operator texts in the function block.
Since you are exchanging the blocks (with PCS 7 V5.x) with the new V7.0 blocks, it is important that
you manually change the English default text for function blocks to the desired language in a PCS 7
project which is not to be configured with the English default texts. To change the default texts,
replace the blocks (created with PCS 7 V5.x or PCS 7 V6.0) with the V6.1 blocks in the master data
library.
---------------------------------------------------------------------------------------------------------------Note
If you have changed the operator texts in the block instances in your CFC charts, you can no longer
update the operator texts by importing the block type. You can then only change the operator texts
in the block instances.
----------------------------------------------------------------------------------------------------------------
For technical reasons, some INOUT parameter were already moved in the IN section in PCS 7
Library V6.0.
If these new blocks are exchanged in older programs (prior to PCS 7 V6.0), as of version PCS 7
V7.0 the interconnections to INOUT parameters are retained as so-called textual interconnections
at the new IN parameters. You can convert these open textual interconnections to real
interconnection using the command "Make Textual Interconnections" from the "Options" menu of
the CFC Editor. Textual interconnections that are still open or cannot be completed are recorded in
the log as warnings.
the "tagname" of the block symbol if parameter *asia: is not being used. Any server prefix is now
ignored in the derivation of the archive tag name.
It is advisable to make the following changes if you already configured archive tags with server
prefix:
Supplement all block symbols with server prefix in the "tagname" and StandardTrend > 2 property
you configured in pictures with parameter *asia:MyServerPrefix in the ReturnPath property.
Using tags for Tag Logging
The Tag Logging archives are generated automatically in the "System archives" folder in PCS 7
V6.1 or higher. Any archives created by users are retained in parallel.
Observer the following information with regard to archives named "Process value archive" used in
combination with PCS7 faceplates:
Faceplates of V7.0.2 or higher only use the default archives generated by the system.
Additional parameters must be configured in order to enable the use of previous archives named
"Process value archive, that is, existing parameters must be supplemented with the
*archivname:process_value_archive attribute in Block symbol -> Object properties -> Styles ->
ReturnPath.
OS projects must be compiled and downloaded. Do not execute this step until you reached item
6.
5) Copy the backed up diagnostics pictures which contain project-specific changes (as described in
item 2) to your project. Execute the "Derive diagnostics pictures from the plant hierarchy"
function once again in the plant hierarchy in order to update these pictures.
6) Compile and download all AS and OS projects defined in item 4.
For information on generally valid settings required for using the individual ASSET export function,
refer to the "PCS 7 Configuration Manual; Operator Station", chapter 15.13.2 "Individual export".
Order no.
Distributed I/O
device
Module
Revision
1 ms
6ES7 153-2BA01-0XB0
ET 200M
IM 153-2
All
1 ms
6ES7 153-2BA02-0XB0
ET 200M
IM 153-2
All
1 ms
6ES7 153-2BA81-0XB0
ET 200M
IM 153-2
All
1 ms
6ES7 153-2BA82-0XB0
ET 200M
IM 153-2
All
10 ms
6ES7 153-2AA02-0XB0
ET 200M
IM 153-2
>=7
10 ms
6ES7 153-2AB01-0XB0
ET 200M
IM 153-2 FO
>=6
10 ms
6ES7 153-2BA00-0XB0
ET 200M
IM 153-2
>=3
10 ms
6ES7 153-2BB00-0XB0
ET 200M
IM 153-2 FO
>=3
20 ms
6ES7 152-1AA00-0AB0
ET 200iSP
IM 152-1
1.0
20 ms
6ES7 152-1AA00-0AB0
ET 200iSP
IM 152-1
>=2.0
6ES7 153-2BA02-0XB0
ET 200M
IM 153-2
All
6ES7 153-2BA82-0XB0
Distributed I/O
device
Module
Use as
6ES7 321-7BH00-0AB0
ET 200M
SM 321
6ES7 321-7BH80-0AB0
ET 200M
SM 321
6ES7 321-7TH00-0AB0
ET 200M
SM 321
6ES7 321-7RD00-0AB0
ET 200M
SM 321
6ES7 326-1BK01-0AB0
ET 200M
SM 326
6ES7 321-7BH01-0AB0
12 inputs
(CH 00 to CH 11) for use
with interface module
6ES7 153-2BA01
6ES7 131-7RF00-0AB0
ET 200iSP
SM 131
8 inputs (NAMUR)
10
11
Overview of the most important functions from SIMATIC IT for all those who until now have
only known PCS 7
Overview of the most important functions from PCS 7 for all those who until now have only
known SIMATIC IT
12
12.1
WinCC V6.2 SP2: OPC A&E server with hierarchical access for
use in PCS 7
Introduction
WinCC V6.2 SP2 offers OPC A&E server with hierarchical access for PCS 7.
The OPC A&E server with hierarchical access is configured differently for use in WinCC and in PCS
7.
You can find documentation for its use in WinCC in the WinCC Information System in the section
"Interfaces > OPC - OLE for Process Control > WinCC OPC A&E Server > OPC A&E Server with
Hierarchical Access".
The documentation for the use in PCS 7 is located in the following sections.
---------------------------------------------------------------------------------------------------------------Note
Documentation of new functions for PCS 7
The use of the OPC A&E server with hierarchical access for PCS 7 is not described in the online
help of WinCC V6.2 SP2.
----------------------------------------------------------------------------------------------------------------
12.2
Principle
The OPC A&E client receives WinCC messages via subscription. You can use the subscription filter
to reduce the number of events that will be transferred with a subscription. The OPC A&E client can
be set for every event category that displays message attributes.
Installation
The OPC A&E server is installed along with the installation of PCS 7 with Open PCS 7. After the
installation, the OPC A&E server can be run on a server or a client without any configuration.
Licensing
In order to operate the OPC A&E server, one of the following licenses must be installed on each
computer running an OPC A&E server:
Simple events
Simple events are messages that inform the OPC A&E client about events. Simple events include
the launching and closing of programs.
---------------------------------------------------------------------------------------------------------------Note
Note the following when using redundant systems:
Simple events that switch to internal tags are sent twice while comparing tags.
The first message is triggered by master, the second from standby.
----------------------------------------------------------------------------------------------------------------
Tracking events
A tracking event is sent with an operator input message to the OPC A&E client. An operator input
message is triggered by manual intervention in the process.
---------------------------------------------------------------------------------------------------------------Note
When filtering for all alarms of a plant section, note that you need to replace the source with a wild
card in the filter text, since the source is only generated in runtime for tracking events. For example,
the filter text for all events from the "Plant1/Unit1/Tank1" section is "Server
prefix::*Plant1/Unit1/Tank1*" and not "Server prefix::Plant1\Plant1/Unit1/Tank1*".
----------------------------------------------------------------------------------------------------------------
12.3
12.3.1
Differences between OPC A&E and OPC A&E with hierarchical access
Displaying messages with OPC A&E
The OPC A&E server supports "conditional events" and "simple events" for accessing the message
system. With "conditional events", the message numbers are shown for each source. Since an OS
server can hold many more message numbers, it is hard to keep an overview of the messages.
The following figure shows an example of the display in an OPC browser:
Recommendation
Use an OPC A&E server with hierarchical access when creating a new project.
If you upgrade an existing project to PCS 7 V7.0 SP1, the OPC A&E server can be used as before
or the OPC A&E server can be converted to hierarchical access. The conversion can be undone
again without any loss of data. You can find additional information under "How to upgrade the OPC
A&E to PCS 7 V7.0 SP1".
12.3.2
12.4
12.4.1
Mapping the WinCC message system on OPC A&E with hierarchical access
The OPC source of the WinCC user text block "Source" and the OPC message of WinCC user text
block "Message text" are used in PCS 7 as a default setting for mapping the WinCC message
system.
Overview
The following table shows the most important attributes of the event notifications and the respective
Area
Source
Indicates the source of a message. The source has the format "<Server
S, C,
prefix>::Area\Source". The server prefix of a local computer is "@LOCALMACHINE".
The server prefix always shows the top Areas in the hierarchy of the server.
Time
Issues a time stamp for received, sent and acknowledged messages. Issues a time
stamp in UTC (Universal Time Coordinated).
S, C,
Type
S, C,
Severity
S, C,
EventCategory
Indicates the message class. "Event Category" is made up of the "CategoryID" and
the "Category Description". "CategoryID" corresponds with the internal ID of the
message class. "Category Description" corresponds with the name of the message
class.
S, C,
Message
S, C,
Condition
Indicates the message type. The message types "Alarm", "Warning" and "Tolerance"
are combined and shown under designation "Level" in PCS 7.
Sub Condition
Corresponds with the "Condition" parameter. Identical to the condition for single state C
conditions in PCS 7. The following subconditions are mapped for the "Level" multistate
condition in PCS 7:
Alarm low
Alarm high
Warning low
Warning high
Tolerance low
Tolerance high
Even
ChangeMask
Specifies the change of the condition. For more information, refer to "Acknowledgment C
policy".
NewState
Indicates the current status of the condition. For more information, refer to
"Acknowledgment policy".
ConditionQuality
Returns the quality of the message. For more information, refer to "Quality codes".
AckRequired
EventAttribute
Lists the attributes required for the respective message. For more information, refer to C
"Attributes of the WinCC message system".
Quality
Cookie
ActorID
---------------------------------------------------------------------------------------------------------------Note
The message classes and message types must be configured identically on the connected OS
servers, if you run the OPC A&E server as follows:
On a WinCC Client
On a Connectivity station
In the context of Open PCS7
If the OS server is not configured identically, the OPC client that is used must access the respective
OS server directly.
----------------------------------------------------------------------------------------------------------------
12.4.2
12.4.3
Attributes
OPC attributes
ClassName
Type name
ForeColor
Returns the text color for the display of received, sent and acknowledged
messages.
BackColor
Returns the background color for the display of received, sent and acknowledged
messages.
FlashColor
Flags
Source
Area
Event
Batch name
Operation
Text06
Text07
Text08
Text09
Text10
ProcessValue01
ProcessValue02
ProcessValue03
ProcessValue04
ProcessValue05
ProcessValue06
ProcessValue07
ProcessValue08
ProcessValue09
ProcessValue10
StateText
InfoText
LoopInAlarm
ClassID
TypeID
AG_Number
Returns the number of the automation device that generated the message.
CPU_Number
Duration
Indicates the period of time between message received, sent and acknowledged.
QuitStateText
Priority
12.4.4
Acknowledgement theory
Introduction
For WinCC, the acknowledgment policy is how a message is displayed and processed from "came
in" to "went out". On the OPC A&E server, this message status is displayed in the "ChangeMask"
and "NewState" parameters.
Messages of "System, does not require acknowledgment" message class with the "Operator
message" message class.
---------------------------------------------------------------------------------------------------------------NOTICE
Messages with "System, does not require acknowledgment" message class and "Process control
system" message type are transferred as simple events with the "System message" event category.
----------------------------------------------------------------------------------------------------------------
ChangeMask
The "ChangeMask" parameter keeps track of where the message status was changed.
Parameter values:
OPC_CHANGE_ACTIVE_STATE
OPC_CHANGE_ENABLE_STATE
OPC_CHANGE_ACK_STATE
NewState
The "NewState" parameter indicates the message status after a change.
Parameter values:
OPC_CONDITION_ACTIVE
OPC_CONDITION_ENABLED
OPC_CONDITION_ACKED
Overview
WinCC
NewState
ChangeState
Received message
OPC_CONDITION_ACTIVE
OPC_CONDITION_ENABLED
OPC_CHANGE_ACTIVE_STATE
OPC_CONDITION_ACTIVE
OPC_CONDITION_ENABLED
OPC_CHANGE_ACTIVE_STATE
OPC_CONDITION_ENABLED
OPC_CHANGE_ACTIVE_STATE
OPC_CONDITION_ACTIVE
OPC_CONDITION_ACKED
OPC_CONDITION_ENABLED
OPC_CHANGE_ACK_STATE
OPC_CONDITION_ACTIVE
OPC_CONDITION_ENABLED
OPC_CHANGE_ACK_STATE
Locked message
--------------------------------------
OPC_CHANGE_ENABLED_STATE
Unlocked message
OPC_CONDITION_ENABLED
OPC_CHANGE_ENABLED_STATE
OPC_CONDITION_ACTIVE
OPC_CONDITION_ACKED
OPC_CONDITION_ENABLED
OPC_CHANGE_ACTIVE_STATE
OPC_CONDITION_ACTIVE
OPC_CONDITION_ENABLED
OPC_CHANGE_ACK_STATE
OPC_CONDITION_ENABLED
OPC_CHANGE_ACK_STATE
OPC_CONDITION_ACTIVE
OPC_CONDITION_ACKED
OPC_CONDITION_ENABLED
OPC_CHANGE_ACK_STATE
OPC_CONDITION_ACTIVE
OPC_CONDITION_ENABLED
OPC_CHANGE_ACK_STATE
Emergency-acknowledged message
(message pending)
OPC_CONDITION_ACTIVE
OPC_CONDITION_ACKED
OPC_CONDITION_ENABLED
OPC_CHANGE_ACK_STATE
Emergency-acknowledged message
(message no longer pending)
OPC_CONDITION_ACTIVE
OPC_CONDITION_ENABLED
OPC_CHANGE_ACK_STATE
---------------------------------------------------------------------------------------------------------------Note
Historical alarms and events are not acknowledged. The OPC A&E historical events interface only
has read access.
----------------------------------------------------------------------------------------------------------------
12.5
Introduction
Quality codes are used to evaluate the status and quality of a message. The table below lists the
quality codes for OPC A&E.
Quality codes
Code
Quality
Status
0xC0
OPC_GOOD
OK
0x40
OPC_UNCERTAIN
0x00
OPC_BAD
12.6
12.6.1
Requirement
12.6.2
Requirement
The system project contains areas or diagnostic areas.
1.6.3
Requirement