Siemens SIMATIC PCS 7, SIMATIC OpenPCS 7 Function Manual

SIMATIC
Preface
Basics
Installation and licensing
PCS 7 Engineering
1
2
3
4
PCS 7 process control system OpenPCS 7
Function Manual
System configurations
OpenPCS 7 interface
Appendix
Lists and folders
5
6
A
B
05/2012
A5E02780178-02
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
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE indicates that an unintended result or situation can occur if the relevant information is not taken into account.
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.
Siemens AG
Industry Sector Postfach 48 48 90026 NÜRNBERG GERMANY
A5E02780178-02 Ⓟ 05/2012 Technical data subject to change
Copyright © Siemens AG 2012. All rights reserved

Table of contents

1 Preface.........................................................................................................................................................7
2 Basics...........................................................................................................................................................9
2.1 General..........................................................................................................................................9
2.2 Microsoft basics...........................................................................................................................10
2.3 OPC Foundation..........................................................................................................................11
2.4 Components of OpenPCS 7........................................................................................................12
2.5 OLE DB interface.........................................................................................................................14
2.6 COM / DCOM components of OpenPCS 7.................................................................................14
3 Installation and licensing.............................................................................................................................17
3.1 Hardware requirements...............................................................................................................17
3.2 Installing the OpenPCS 7 station.................................................................................................17
3.3 Licensing of the OpenPCS 7 station............................................................................................19
3.4 Licensing the OS-internal OPC server........................................................................................20
4 PCS 7 Engineering.....................................................................................................................................23
4.1 Configuring an OpenPCS 7 station.............................................................................................23
4.2 OpenPCS 7 and OS application on a shared PC station............................................................24
4.3 Configuring an OPC client...........................................................................................................25
4.4 Loading the OpenPCS 7 station..................................................................................................26
4.5 Configuration support with the PCS 7 project wizard..................................................................27
5 System configurations................................................................................................................................31
5.1 General configuration..................................................................................................................31
5.2 OpenPCS 7 without OS...............................................................................................................33
5.3 OpenPCS 7 combined with an OS..............................................................................................34
5.3.1 OpenPCS 7 combined with an OS client.....................................................................................34
5.3.2 OpenPCS 7 combined with an OS server or CAS.......................................................................35
5.3.3 OpenPCS 7 combined with an OS single station........................................................................36
5.4 OpenPCS 7 station for multiple PCS 7 projects..........................................................................38
5.5 DA linking of two PCS 7 projects using OpenPCS 7...................................................................39
5.6 Access to a CAS via OpenPCS 7................................................................................................40
5.7 OpenPCS 7 security concept......................................................................................................41
5.8 Settings in the Windows Firewall for Open PCS 7......................................................................42
5.9 Users and passwords in a workgroup.........................................................................................43
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 3
Table of contents
6 OpenPCS 7 interface..................................................................................................................................45
6.1 Access options............................................................................................................................45
6.2 Data transmission........................................................................................................................45
6.3 OPC Data Access (OPC DA)......................................................................................................46
6.3.1 Overview......................................................................................................................................46
6.3.2 Introduction to the OPC Data Access interface...........................................................................46
6.3.3 How the OPC DA server works...................................................................................................47
6.4 OPC Historical Data Access (OPC HDA)....................................................................................48
6.4.1 Overview......................................................................................................................................48
6.4.2 How the OPC HDA server works.................................................................................................48
6.4.3 Data structure of the OPC HDA server........................................................................................49
6.4.4 Overview of supported attributes.................................................................................................50
6.4.5 Overview of supported aggregate functions................................................................................50
6.4.6 Overview of supported functions.................................................................................................51
6.4.7 Time format of the OPC HDA server...........................................................................................52
6.4.8 Quality codes of the OPC HDA server........................................................................................54
6.4.9 Write access supported by the OPC HDA server........................................................................54
6.5 OPC Alarms and Events (OPC A&E)..........................................................................................55
6.5.1 Overview......................................................................................................................................55
6.5.2 Introduction to OPC A&E.............................................................................................................55
6.5.3 Mapping the PCS 7 OS message system on OPC A&E.............................................................57
6.5.4 Mapping the message classes and message types of PCS 7 OS on OPC A&E........................59
6.5.5 Mapping priorities of PCS 7 OS messages to OPC A&E............................................................59
6.5.6 Attributes of the PCS 7 OS message system..............................................................................60
6.5.7 Acknowledgment concept............................................................................................................61
6.5.8 Quality codes for OPC A&E.........................................................................................................64
6.5.9 OPC A&E with hierarchical access..............................................................................................64
6.5.9.1 Differences between OPC A&E and OPC A&E with hierarchical access....................................64
6.5.9.2 Example 1: Messages are not assigned to any area...................................................................66
6.5.9.3 Example 2: Messages are assigned to an area..........................................................................69
6.5.9.4 Example 3: Messages of an area are assigned to an alarm hiding group..................................71
6.5.10 Upgrading with OPC A&E............................................................................................................73
6.5.10.1 Updating PCS 7 projects with OPC A&E.....................................................................................73
6.5.10.2 How to update an OPC project with PCS 7 V8.0.........................................................................73
6.6 OPC Historical Alarms and Events (OPC "H" A&E)....................................................................74
6.6.1 Overview......................................................................................................................................74
6.6.2 Introduction to OPC "H" A&E.......................................................................................................75
6.6.3 Reading archived messages.......................................................................................................75
6.6.4 Syntax for access to archived messages....................................................................................76
6.6.5 Read modes for archived messages...........................................................................................78
6.6.6 Identifying archived messages....................................................................................................79
6.7 OLE DB.......................................................................................................................................80
6.7.1 Overview......................................................................................................................................80
6.7.2 Basics of OLE DB........................................................................................................................81
6.7.3 Establishing the connection to the database...............................................................................82
6.7.4 Access to the OLE DB provider...................................................................................................83
6.7.5 Querying archive data.................................................................................................................85
6.7.5.1 Representation of the process value archive..............................................................................85
OpenPCS 7
4 Function Manual, 05/2012, A5E02780178-02
Table of contents
6.7.5.2 Querying process value archives................................................................................................85
6.7.5.3 Representation of the message archives....................................................................................89
6.7.5.4 Querying the message archive....................................................................................................91
A Appendix.....................................................................................................................................................93
A.1 Commissioning............................................................................................................................93
B Lists and folders..........................................................................................................................................95
B.1 List of sources.............................................................................................................................95
B.2 List of abbreviations/acronyms....................................................................................................95
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 5

Preface

Purpose of this manual
PCS 7 is an open system that allows access to process values, archived process values and hardware interrupts by third-party applications. PCS 7 uses the industry standard of the OPC Foundation, OPC Data Access, OPC Alarm and Events and OPC Historical Data Access for this purpose. PCS 7 also supports access by third-party applications using the database mechanism, WinCC OLE DB.
This documentation describes OPC access to one or more PCS 7 OS servers using the OpenPCS 7 station.
This documentation will familiarize you with the steps required to configure the OpenPCS 7 station in PCS 7 and demonstrate the configuration options.
To familiarize yourself in detail with the topics relating to the OPC interfaces, you will also require the OPC-documentation from the OPC Foundation. You can download the documentation from the Internet at www.opcfoundation.org (
Required basic knowledge
You require general knowledge of automation engineering to understand this manual. Because OpenPCS 7 is based on the PCS 7 process control system, you should also be familiar with the operation of PCS 7.
1
www.opcfoundation.org).
Basic knowledge of the general use of the PC/programming device and of the use of the Windows operating system is required. If you want to develop an OPC client application, you will also need to be able to work with Microsoft Visual Basic or Microsoft Visual C++.
Target Audience of this Documentation
This documentation is intended for PCS 7 users and SIMATIC S7 specialists.
Options for accessing PCS 7 documentation
Note PCS 7 Readme
The information given in the PCS 7 manuals. Please read this and amendments on PCS 7.
● The
● After installation of PCS 7, you can find documents such as Process Control System
PCS 7 Readme
important information regarding PCS 7 and takes precedence over the PCS 7 documentation supplied.
7; PCS 7 Readme
Information > <Language>.
on the
and
What's New in PCS 7?
PCS 7 Readme
PCS 7 Readme
Process Control System; SIMATIC PCS 7
on the Internet takes precedence over all the
carefully; it contains important information
via the submenu SIMATIC > Product
DVD contains
PCS
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 7
Preface
As of PCS 7 V8.0, you receive basic PCS 7 system documentation with the
System; SIMATIC PCS 7
The PCS 7 Internet site www.siemens.de/pcs7-dokumentation (www.siemens.com/pcs7-
documentation) provides convenient access to the complete PCS 7 documentation. You can
find the following for the latest PCS 7 versions:
● In the section "Hardware manuals for SIMATIC PCS 7 ..."
– The manuals for components approved for a PCS 7 version
● In the section "Software manuals for SIMATIC PCS 7 ..."
– The complete system documentation
– The separate setup program for PCS 7 documentation and the PCS 7 help system for
download. After the installation of the setup program, you will find the documentation at the following locations on the Engineering Station:
- As online help (CHM file) for the SIMATIC Manager application
- As a PDF file in the Windows Start menu with the SIMATIC documentation
– The complete documentation for PCS 7 as a
Validity of the documentation
This documentation is valid for the software package
PCS 7
, V8.0 or higher.
Process Control
DVD.
Manual Collection
Process Control System; SIMATIC
OpenPCS 7
8 Function Manual, 05/2012, A5E02780178-02

Basics

S7-400S7-400S7-400
ET 200ET 200ET 200
OpenPCS 7 Station
PCS 7 OS-Clients
OPC-Clients
PCS 7 OS-Server
Plant bus
Terminal bus
Fieldbus

2.1 General

Overview
Higher-level process control systems for production planning, process data evaluation, and process data management can access SIMATIC PCS 7 process data via the OpenPCS 7 station. The higher-level systems are OPC clients of the OpenPCS 7 station.
2
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 9
Depending on the system configuration, the OpenPCS 7 station can provide data from various OS servers and from the central archive server. The OpenPCS 7 station hides the distribution of the data in terms of:
● Time period (OS1, OS2, …, CAS / Process Historian)
● Location (OS1, OS2, …, CAS / Process Historian) and
● Redundancy (OS1 master, OS1 standby …)
OpenPCS 7 replaces @PCS 7previously available in the context of SIMATIC PCS 7 and is, at the same time, the equivalent of the Connectivity Station and the Connectivity Pack of the WinCC SCADA system. Direct access to SIMATIC BATCH and SIMATIC Route Control data is not possible with OpenPCS 7.
Basics

2.2 Microsoft basics

Layout
The OpenPCS 7 station can be operated in various configurations:
● OpenPCS 7 station without OS client, based on a SIMATIC PCS 7 Industrial Workstation in the client version. This is the recommended preferred configuration.
● OpenPCS 7 station on an OS client.
● OpenPCS 7 station on a central archive server (CAS)
● OpenPCS 7 station on an OS single station.
● OpenPCS 7 station on the OS server.
Note
The hardware and software requirements of the PC station on which OpenPCS 7 is to be installed must be met.
2.2 Microsoft basics
Microsoft basics
The basis of OPC is provided by several Microsoft technologies. These technologies are explained in the following section.
OPC
OPC stands for "OLE for Process Control".
OPC is a standardized, vendor-independent software interface that allows data to be exchanged between hardware and software. One system can provide another system with process data via OPC .
OLE
OLE means "Object Linking and Embedding", the technology for embedding objects in documents.
COM
COM means "Component Object Model" and is necessary for the use of OPC.
COM is a central component of Windows operating systems and controls the interaction between multiple software components. By using COM , the OPCserver effectively becomes part of the Windows operating system and is therefore not dependent on file names, storage locations and versions.
COM defines a standard that allows objects to be defined as self-contained units in Windows and to access these units beyond the limits of a process.
OpenPCS 7
10 Function Manual, 05/2012, A5E02780178-02
DCOM
Object
Events
Basics

2.3 OPC Foundation

COMobjects can be understood as extensions of the operating system. They are not dependent on programming languages and are available in principle to all applications.
The data and code of the object are not directly accessible to the user of the COMobject.
DCOM is the acronym for "Distributed Component Object Model". It is based on COM technology and provides the additional option of communicating over a network.
Objects are defined by properties and methods that can be used on objects.
An event is used to control program flow. Program execution is not linear, instead special event handling routines are executed whenever a specific event occurs.
In terms of OpenPCS 7 and the OPC standard, Events mean messages / operation messages of the PCS 7-system.
DLL
It is possible to use DLLs with Microsoft Visual Basic (VB) and Microsoft Visual Basic for Applications (VBA). DLL stands for Dynamic Link Library. A DLL is a dynamic link library. Users can link the functionalities of a DLL into their own applications. If you want to program an OPCclient with VB, make sure that the relevant automation interface DLL is selected in the VB Editor in "Project > References".
Collection
Collections are objects that support count and item properties. A collection consists of a certain number of items. An item can be collection-specific, any data structure, or an object. The count property specifies the number of items in a collection. In Microsoft Visual Basic, each item in a collection can be identified using loops.
2.3 OPC Foundation
OPC Foundation
The aim of the OPC Foundation is to ensure compatibility between different subsystems in automation and process control engineering. Compatibility is achieved by creating and maintaining open specifications for the standardization of communication between subsystems of different manufacturers. This allows process data, alarms and messages as well as archived process data to be exchanged between subsystems regardless of their manufacturer.
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 11
Basics

2.4 Components of OpenPCS 7

The OPC Foundation has more than 300 members worldwide. These include the most important manufacturers of control systems, process instrumentation and process control systems worldwide. SIEMENS is a member of the OPC Foundation.
The declared goal of the OPC Foundation is vertical integration of information from the field level through to the enterprise level. Using the OPC standard, this integration is possible regardless of the system and manufacturer.
The most important standards of the OPC Foundation for OpenPCS 7
● Data Access Custom Interface Standard
● Data Access Automation Interface Standard
● Historical Data Access Specification Standard
● Historical Data Access Automation Interface Standard
● Alarms and Events Custom Interface Standard
● Alarm & Events Automation Interface Standard
2.4 Components of OpenPCS 7
Overview
OpenPCS 7 provides the following components:
● OPC DA (Data Access server)
● OPC HDA (Historical Data Access server)
● OPC A&E (Alarms & Events server)
● OPC "H" A&E (Historical Alarms & Events server)
● OLE DB
In the following graphic, you can see all the OPC components that will run on the OpenPCS 7 station. The figure also shows the PCS 7environment. OLE DB starts a direct database query on the PCS 7 OS server.
OpenPCS 7
12 Function Manual, 05/2012, A5E02780178-02
OpenPCS 7 Station
AS
Plant bus
Terminal bus
Office network
PCS 7 OS client
PCS 7 OS ser ver
OPC client
OPC DA server OPC HDA ser ver OPC A&E server OPC “H” A&E ser ver
Basics
2.4 Components of OpenPCS 7
OPC DA (Data Access server)
For read and write access to process values according to the OPC specification OPC DA V1.00, V2.05a, V3.00.
As an OPC DA server, the OpenPCS 7 station provides other applications with current data from the OS data management. The OPC DA client can register for current changes or write values.
OPC HDA (Historical Data Access server)
For read access to archived process values according to the OPC Specification OPC HDA V1.20.
As an OPC HDA server, the OpenPCS 7 station provides other applications with historical data from the OS archive system. The OPC client - for example a reporting tool - can specifically request the data required by specifying the start and end of a period. Various aggregate functions, such as variance, mean value, or integral, allow preprocessing by the OPC HDA server and contribute to a reduction in the communication load.
OPC A&E (Alarms & Events server)
For read access to messages, alarms and events according to the OPC Specification OPC A&E V1.10.
As an OPC A&E server, the OpenPCS 7 station forwards OS messages with all the associated process values to the subscribers at the production and enterprise management level. OS
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 13
Basics

2.6 COM / DCOM components of OpenPCS 7

messages can also be acknowledged via this server. Filter mechanisms and subscriptions ensure that only selected, changed data is transmitted.
OPC "H" A&E (Historical Alarms & Events server)
For read access to archived alarms and messages.
Thanks to an expansion of the OPC standard interface by Siemens, the OpenPCS 7 station is also able to transfer historical alarms and messages from the archive to the subscribers at production and enterprise management levels.
OLE-DB
The WinCC OLE DB provider allows standardized and direct access to the archive data in the Microsoft SQL server database on the OS server.
This setup permits access to all OS archive data, along with the associated process values, message texts, and user texts.

2.5 OLE DB interface

OLE DB
The WinCC OLE DB Provider allows access to the process value and message archives. Compressed process value archives are made available uncompressed. OLE DB is used to read the PCS 7 OS or archive server database remotely.
OLE DB is an open standard for fast access to different databases. The connection between the OLE DB level and the database is established by a database provider.
The WinCC OLE DB provider, which is integrated in the OpenPCS 7 station, enables transparent access to archived process data of the following PCS 7 stations:
● PCS 7OS server
● Central archive server
2.6 COM / DCOM components of OpenPCS 7
COM / DCOM components used by OpenPCS 7
● OPC client runs on the OpenPCS 7 station
If the OPC client and OPC server process run on one computer, the OPC client accesses the local OPC server object using an "in-process server" component via LRPC and a stub object.
OpenPCS 7
14 Function Manual, 05/2012, A5E02780178-02
,Q3URFHVV
&20
&RPSRQHQW
,Q3URFHVV6HUYHU
/RFDO2EMHFW
/RFDO6HUYHU
&20
/53&/53&
&URVVSURFHVV
ZLWK/LJKWZHLJKW
53&
,QWHUSURFHVV
&RPPXQLFDWLRQ
&OLHQW
$SSOLFDWLRQ
2SHQ3&66WDWLRQ
6WXE
/RFDO2EMHFW
3UR[\
5HPRWH2EMHFW
3UR[\
&20
5HPRWH2EMHFW
5HPRWH6HUYHU
&20
53&53&
&URVVQHWZRUN
ZLWKWUXH53&
,QWHUSURFHVV
&RPPXQLFDWLRQ
&OLHQW
$SSOLFDWLRQ
23&&OLHQW2SHQ3&66WDWLRQ
6WXE
Basics
2.6 COM / DCOM components of OpenPCS 7
● OPC client runs on a separate computer
If the OPC client and the OPC server process run on separate computers, the OPC client accesses a local and a remote proxy object. These objects communicate via RPC and a stub object, with the OPC server object on a different computer.
Remote Procedure Call (RPC) is a technique used for communication between different processes. The processes typically run on different computers.
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 15

Installation and licensing

3.1 Hardware requirements

Recommended configuration for PC stations
Use PC components according to the recommendations for SIMATIC PCS 7 PC stations.
3
For additional information, refer to the
Minimum hardware configuration of the PC stations
Parameter Performance data Processor Intel Pentium IV
Clock-pulse rate >= 2.0 GHz Hard disk >= 120 GB Minimum partition size C:\ 20GB Work memory (RAM) 1 GB Communications interfaces for
terminal bus communication Communications interfaces for
OPC client communication Opt. drive DVD-ROM
RJ-45 on-board Gigabit Ethernet
INTEL PCI network adapter for connection to Industrial Ethernet (10/100/1000 Mbps), with RJ-45 connector

3.2 Installing the OpenPCS 7 station

PCS 7readme file
OpenPCS 7 stations in different configurations
Configuration Requirements for installation Intended use of the software Program packages for the
installation
OpenPCS 7 station without OS client
OpenPCS 7 station with OS client
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 17
Installation requirements for the SIMATIC PCS 7 Workstation with OS client configuration
Installation requirements for the SIMATIC PCS 7 Workstation with OS client configuration
This serves as software for a separate OpenPCS 7 station without OS client functionality.
This serves to expand an existing OS client with the functionality of an OpenPCS 7 station.
● ""OpenPCS 7"" package
● "OpenPCS 7 with OS­Client" package (corresponds to the software packages: "OpenPCS 7" + "OS Client")
Installation and licensing
3.2 Installing the OpenPCS 7 station
Configuration Requirements for installation Intended use of the software Program packages for the
installation
OpenPCS 7 station on the OS single station
OpenPCS 7 station on the CAS
OpenPCS 7 station on the OS server
Installation requirements for the OS single station
Installation requirements for the CAS
Installation requirements for the OS server
This serves to expand an existing OS single station with the functionality of an OpenPCS 7 station.
This serves to expand an existing Central Archive Server with the functionality of an OpenPCS 7 station.
This serves to expand an existing OS server with the functionality of anOpenPCS 7 station.
● "OpenPCS 7" package
● Package "OS Single Station"
● "OpenPCS 7" package
● Package "Central Archive Server"
● "OpenPCS 7" package
● Package "OS-Server"
Requirement
Procedure
Note
If you only purchase the "OpenPCS 7 (OS Client)" software package, you will only receive the license for OpenPCS 7 . The required licenses for OS clients must be obtained additionally and must be available on the computer at runtime.
Message queuing must be installed.
An example procedure for the standalone variant is explained below:
1. Insert the "SIMATIC Process Control System; PCS 7" DVD in the DVD drive.
2. Run the "SETUP.exe" installation program.
3. Select the setup language and click "Next".
4. Close all programs and click "Next".
5. Read the product instructions and click "Next".
6. Accept the license conditions and click "Next".
7. Select the setup type "Install" and click "Next".
8. Enter the user information and click "Next".
9. Select the package installation and click "Next".
10.Select the program package and click "Next". If, for example, you want to select the OpenPCS 7 station without OS client, click on OpenPCS 7".
OpenPCS 7
18 Function Manual, 05/2012, A5E02780178-02

3.3 Licensing of the OpenPCS 7 station

11.Check the components selected for installation and click "Next".
12.Click the "Install" button.
The following picture shows the selection for the program package:
Installation and licensing
Additional information
● You can find additional information about different modules in the manual
System PCS 7; PC Configuration and Authorization
Process Control
3.3 Licensing of the OpenPCS 7 station
General
Two licenses are available for OpenPCS 7. The licenses for the OpenPCS 7 station are license keys that must be transferred directly to the machine on which the OpenPCS 7 station runs using the Automation License Manager. A license is required for each OpenPCS 7 station.
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 19
Installation and licensing

3.4 Licensing the OS-internal OPC server

The licenses for an OpenPCS 7 station are single licenses. This means that a license server cannot be used for OpenPCS 7.
Note
PCS 7data can be accessed via OpenPCS 7 under the following conditions as regards license keys:
● The OpenPCS 7 station / OS require a license for a PCS 7 OS. This is applicable for all configurations of the OpenPCS 7 station.
● If you use the "OpenPCS 7 station" license key, you can always access PCS 7data via OpenPCS 7.
● Access to the corresponding PCS 7data is only ensured when a license is available.
Licenses for OpenPCS 7
The following licenses are available for OpenPCS 7. The order numbers are available in the current PCS 7 catalog or in the online catalog.
License Description OpenPCS 7 station / OSLicense for the software for expanding an existing OS client, single station or
CAS with OpenPCS 7 station functionality. This is a single license for one installation.
OpenPCS 7 station License for one OpenPCS 7 software installation for a separate OpenPCS 7
station based on the hardware of the SIMATIC PCS 7 workstation (client version).
Note
This is a single license for one installation.
OPC client - server connections
On a PC with the Microsoft XP operating system, Microsoft permits 10 connections between PCs. COM access between an OPC client and the OpenPCS 7 station does not count as a connection in this sense.
3.4 Licensing the OS-internal OPC server
Licensing
The PCS 7 OS provides the following internal OPC servers on an OS server or an OS single station:
● SOPCSRVRWinCC.exe for OPC DA
● SOPCAESRVRWinCC.exe for OPC A&E
● SOPCHDASRVRWinCC.exe for OPC HDA
OpenPCS 7
20 Function Manual, 05/2012, A5E02780178-02
Installation and licensing
3.4 Licensing the OS-internal OPC server
These internal OPC servers can be used with OpenPCS 7-licenses. This is only possible if the "OpenPCS 7 station / OS" or "OpenPCS 7 station" license is available on the OS station.
Note
If the internal OPC servers of an OS station are used, this represents additional load in terms of the OS station's performance.
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 21

PCS 7 Engineering

4.1 Configuring an OpenPCS 7 station

Introduction
The OpenPCS 7 station is configured as a SIMATIC PC station in the SIMATIC Manager. It includes the "SPOSA application" object. SPOSA is the acronym for Single Point Of System Access. The OPC client application can also be executed on the OpenPCS 7 station. During configuration, the following steps need to be taken:
● Insertion of a SIMATIC PC station
● Insert and configure the SPOSA application in the hardware configuration of the SIMATIC PC station
If you created the multiproject with the PCS 7wizard, you will already have inserted an OpenPCS 7 station if you selected the appropriate option. You can also insert an OpenPCS 7 station by expanding the project later with the "Expand Project" PCS 7wizard. The steps required to create an OpenPCS 7 station manually are explained in the following section.
Requirement
4
Procedure
The PCS 7 project is open. You have created the OS servers and generated the server packages.
1. Select the project into which you want to insert the OpenPCS 7 station, in the component view of the SIMATIC Manager.
2. Select the menu command "Insert > Station > SIMATIC PC Station". A new SIMATIC PC station is inserted into the selected project.
3. Select the SIMATIC PC station, select the menu command "Edit > Object Properties" and enter the desired name for the PC station and the computer name.
4. Select the SIMATIC PC station in the component view and open the hardware configuration by double-clicking on the "Configuration" object in the detailed view. The SIMATIC PC station hardware configuration opens.
5. If the hardware catalog is not visible, select the menu command "View > Catalog".
6. Select the SPOSA application from "SIMATIC PC Station > HMI" in the hardware catalog and drag it to the configuration table.
7. Save and compile the hardware configuration using the menu command "Station > Save and Compile"
8. Expand the newly created PC station and the SPOSA application in the SIMATIC Manager.
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 23
PCS 7 Engineering

4.2 OpenPCS 7 and OS application on a shared PC station

9. Open the object properties of the "Open_PCS7_Station(1)" object and enter the download path to the OpenPCS 7 station in the "CPU" tab.
10.Right-click on the "Open_PCS7_Station(1)" object to open the shortcut menu and select "Assign OS Server...".
11.Assign the PCS 7 OS server packages to the SPOSA application.
12.Open the hardware configuration of the OpenPCS 7 station and select the menu command "Station > Save and Compile".
13.Right-click on the "Open_PCS7_Station(1)" object to open the shortcut menu and select "CPU > Download".
4.2 OpenPCS 7 and OS application on a shared PC station
Configuration
In the hardware configuration of the PC station, you configure a "SPOSA application" and a "WinCC application client". Likewise, you can configure a "WinCC application", "CAS application" or "CAS application standby". You specify the path to the target system of the OpenPCS 7-computer in the object properties of the "SPOSA application". You configure the path to the target OS computer in the object properties of the "OS client application".
Note
In a PCS 7-version lower than V7.1, a SPOSA application and an OS client cannot be configured on the same SIMATIC PC station. In a PCS 7-version lower than V7.1, two PC stations with the same computer name but with different PC station names must be configured.
OpenPCS 7
24 Function Manual, 05/2012, A5E02780178-02
4.3 Configuring an OPC client
OPC client engineering within PCS 7
OPC client engineering is not part of the PCS 7 engineering. No PC station is inserted and configured in the SIMATIC Manager. In the SIMATIC Manager, only the OpenPCS 7 station
OPC client configuration outside PCS 7
is configured.
Note
If you want to use the SIEMENS OPC Automation Interfaces, the OPC client must be executed either on the OpenPCS 7 station or you will have to take steps manually to ensure that the required files exist and are registered on the OPC client. Refer to the section " Configuring an OPC client computer".
An OPC client communicates with the OpenPCS 7 station via a network connection. We recommend that you install a firewall between the OPC client and the OpenPCS 7 station if the OPC client is on a non-secure network. So that communication between the OPC client and OpenPCS 7 station works correctly, you need to configure the firewall and configure the DCOM settings on the PC on which the OPC client is being executed. You will find the relevant settings in the documentation of the OPC client and the firewall.
Note
PCS 7 Engineering

4.3 Configuring an OPC client

The DCOM and firewall settings for the Windows operating system are described in the documentation "Using OPC via DCOM with Microsoft Windows XP Service Pack 2" from the OPC Foundation.
Note
If you want to use an OPC client on a PC without an OpenPCS 7-installation, you will need to install the OPC proxy / stub components of the OPC Foundation. You can install these with the "OPC Core Components 3.00 Redistributable" setup of the OPC Foundation. In this case, you should also check the installation instructions of the OPC client vendor.
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 25
PCS 7 Engineering

4.4 Loading the OpenPCS 7 station

Additional information
● You can find more information about PCS 7 security concepts in the manual
concept
4.4 Loading the OpenPCS 7 station
Requirements
● The following components are installed on the PC station:
– Operating system
– OpenPCS 7 station software
● The terminal bus is configured on the OpenPCS 7 station.
● The OpenPCS 7 station is connected to the engineering station via the terminal bus.
● The protocol for the communication on the terminal bus is set to TCP/IP.
● The OpenPCS 7 station is configured in the PCS 7project.
● The user logged in on the ES can access the shared Windows folder "\\<OpenPCS 7 Station>\Automation Projects". The folder is located on the OpenPCS 7 station in the path "C:\Program Files\SIEMENS".
● The PCS 7multiproject is open on the ES.
PCS 7Security
Procedure
1. Expand the PC station of the OpenPCS 7 station.
2. Expand the SPOSA application.
OpenPCS 7
26 Function Manual, 05/2012, A5E02780178-02

4.5 Configuration support with the PCS 7 project wizard

3. Right-click on the object below the SPOSA application.
4. Select " CPU > Download".
PCS 7 Engineering
4.5 Configuration support with the PCS 7 project wizard
The PCS 7 project wizard
The PCS 7project wizard supports you when creating a PCS 7project including an OpenPCS 7 station. In the following example, we will create the minimum configuration for a PCS 7project with an OpenPCS 7 station. We will only deal with the configuration steps on the ES that relate to the OpenPCS 7 station. AS / OS engineering and downloading of the project are not dealt with at this point.
Requirement
You have an engineering station with at least a PCS 7 V8.0 installation.
Example
1. Open SIMATIC Manager.
2. Start the PCS 7project wizard in the SIMATIC manager using the " File > ' New Project'
Wizard" menu.
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 27
PCS 7 Engineering
4.5 Configuration support with the PCS 7 project wizard
3. Click the "Next" button in the "Introduction" dialog.
4. Select the required CPU in the "Which CPU are you using in your project?" dialog and then click the "Next" button.
5. Click the " Preview >>>" button.
6. Select the "OpenPCS 7" option in the "Which objects are you still using?" dialog.
7. Click "Continue".
8. Enter a directory name in the "Directory name" box in the "Where do you want to store the multiproject?" dialog.
OpenPCS 7
28 Function Manual, 05/2012, A5E02780178-02
4.5 Configuration support with the PCS 7 project wizard
9. Click the "Browse" button and set the path for the storage location.
PCS 7 Engineering
10.Click the "Finish" button.
11.Click "OK" in the "Message Number Assignment" dialog.
12.Insert a new PC station in your project.
13.Enter the computer name in the object properties of the PC station.
14.Open the hardware configuration and insert an OS application.
15.Compile the OS.
16.Open the context menu of the OpenPCS 7 station.
OpenPCS 7 Function Manual, 05/2012, A5E02780178-02 29
Loading...
+ 67 hidden pages