WinCCInformationSystemGeneralInfo_en-US
WinCCInformationSystemGeneralInfo_en-US
Migration 2
WinCC diagnosis 3
SIMATIC HMI
Licensing 4
WinCC V7.2
WinCC: General information Performance Data 5
System Manual
07/2013
A5E32316386-AB
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.
5 Performance Data.....................................................................................................................................111
5.1 Performance Data.....................................................................................................................111
5.2 Configurations...........................................................................................................................112
5.3 Graphics System.......................................................................................................................113
5.4 Message system........................................................................................................................114
5.5 Archiving system.......................................................................................................................115
5.6 User archives.............................................................................................................................116
5.7 Reports......................................................................................................................................118
5.8 Scripting with VBS and ANSI-C.................................................................................................119
5.9 Process Communication............................................................................................................121
Index.........................................................................................................................................................125
Safety notes
This manual contains information that must be observed to ensure your personal safety and
to prevent property damage. Notices referring to your personal safety are highlighted in the
manual by a safety alert symbol; notices referring to property damage only have no safety alert
symbol. Depending on the hazard level, warnings are displayed in a descending order as
follows:
DANGER
means that there can be severe physical injury or even death if the corresponding safety
measures are not followed.
WARNING
means that there can be severe physical injury or even death if the corresponding safety
measures are not followed.
CAUTION
means that there can be slight physical injury if the corresponding safety measures are not
followed.
NOTICE
means that there can be damage to property if the corresponding safety measures are not
followed.
Note
means an undesirable result or state can occur if the corresponding instruction is not followed.
Note
is an important information about the product, the way to handle the product or the respective
part of the documentation and we wish to especially bring this to your notice.
If multiple levels of hazards can occur, the warning is always displayed with the highest possible
level. If a warning with a warning triangle is to be indicate physical injury, the same warning
may also contain information about damage to property.
Qualified Personnel
The corresponding machine/ system may only be set up and operated with the help of this
documentation. A device/system must only be commissioned and operated by qualified
personnel. Qualified persons in the sense of safety instructions in this documentation stand
for persons who are authorized to operate, earth and mark machines, system and electrical
circuits according to safety standards.
Proper use
Please observe the following:
WARNING
The machine may only be used for the application instances that have been described in the
technical description and only in combination with third-party devices and components
recommended and/or approved by Siemens. Smooth and safe operations demand proper
transport, proper storage, installation and assembling as well as careful operations and
maintenance.
Brands
All designations with the trademark symbol ® are registered trademarks of Siemens AG. Other
designations in this documentation may be trademarks whose use by third parties for their own
purposes can violate the rights of the owner.
Security information
Siemens offers IT security mechanisms for its automation and drive product portfolio in order
to support the safe operation of the plant/machine. Our products are also continuously
developed further with regard to IT security. We therefore recommend that you keep yourself
informed about updates and upgrades for our products and always use the latest version of
each product. You can find information on this at:
● http://support.automation.siemens.com (http://support.automation.siemens.com)
You can register for a product-specific newsletter here.
For the safe operation of a plant/machine, however, it is also necessary to integrate the
automation components into an overall IT security concept for the entire plant/machine, which
corresponds to the state-of-the-art IT technology. You can find information on this at:
● http://www.siemens.com/industrialsecurity (http://www.siemens.com/industrialsecurity)
Products used from other manufacturers should also be taken into account here.
Disclaimer of liability
We have checked the contents of the description to ensure that it matches with the hardware
and the software it describes. Nevertheless, we cannot assume responsibility for any
deviations that may arise. The details outlined in this description are checked regularly and
the required corrections are done in the subsequent editions. Suggestions for improvement
are welcomed.
The statements in the online documentation are more binding than the statements in the
manuals and PDF files.
Please follow the Release Notes and Installation Notes. The information in these Release
Notes and Installation Notes has priority over that in the manuals and online help with regard
to legal validity.
See also
http://support.automation.siemens.com (http://support.automation.siemens.com)
http://www.siemens.com/industrialsecurity (http://www.siemens.com/industrialsecurity)
Technical support
WinCC FAQs
WinCC Online Support with information on FAQs (Frequently Asked Questions) may also be
found at the following URL:
● http://support.automation.siemens.com/WW/view/de/10805548/133000 (http://
support.automation.siemens.com/WW/view/en/10805583/133000)
Technical Forum
The Technical Forum supports exchange with other SIMATIC users. It is available at the
following URL:
● http://www.siemens.com/automation/csi/forum (http://www.siemens.de/automation/csi_en/
forum)
Product Information
SIMATIC WinCC
Go to the following URL for additional information about WinCC products:
● http://www.siemens.com/wincc (http://www.siemens.com/wincc)
SIMATIC Products
Go to the following URL for additional information about SIMATIC products:
● http://www.siemens.com/simatic (http://www.siemens.com/simatic)
See also
Internet: Support Request (http://www.siemens.com/automation/support-request)
Internet: Technical support (http://support.automation.siemens.com/WW/view/en/16605032)
Internet: Automation Validation Card (AVC) (http://support.automation.siemens.com/WW/
view/en/21981898)
Internet: Service and Support (http://www.siemens.com/automation/service&support)
Internet: WinCC FAQs (http://support.automation.siemens.com/WW/view/en/
10805583/133000)
Internet: Support Technical Forum (http://www.siemens.de/automation/csi_en/forum)
Internet: Support Search (http://www.siemens.de/automation/csi_en/km)
Internet: Support Online Help (http://support.automation.siemens.com/WW/support/html_76/
help/Online_Hilfe.htm)
Internet: Technical documentation for SIMATIC products (http://www.siemens.com/simatic-
tech-doku-portal)
Internet: Contact person database (http://www.automation.siemens.com/partner/index.asp?
lang=en)
Internet: Information about WinCC (http://www.siemens.com/wincc)
Internet: SIMATIC Products (http://www.siemens.com/simatic)
Procedure
1. Open the "Support Request" form using the link on the Internet. Step 1 "Select product" is
displayed:
2. Enter the project name in the "Product/Order number" box. Upper/lower case is not relevant.
Search for parts of the product name or enter the full product name in the correct order.
You can e. g. search for the following terms:
- "WinCC Runtime"
- "WinCC DataMonitor"
- "wincc webnavigator"
- "Connectivity"
The found products are offered in the "Product selection" field.
3. Select the desired product and click on "Next" to switch to step 2 "Select use case".
4. Select a use case or describe your specific use case in the "Other use case" field.
5. Press "Next" to switch to step 3 "Our solutions".
Suggested solutions and FAQs for the selected key words are listed.
Once you have found a suggested solution for your problem, you can close the form in the
browser.
If you did not find any applicable suggested solutions, press "Next" to switch to step 4
"Describe problem".
Thank you for your cooperation. We hope that we can be of assistance in solving your problems.
Your WinCC Team
See also
Internet: Error Report (http://www.siemens.com/automation/support-request)
Internet: Overview of Support Request (http://support.automation.siemens.com/WW/view/en/
16605654)
See also
Tooltips and Status Bar (Page 15)
Direct Help ("What's This?") in WinCC (Page 16)
WinCC Information System (Page 17)
Navigation in the WinCC Information System (Page 19)
Search in WinCC Information System (Page 22)
See also
WinCC Documentation (Page 15)
Direct Help ("What's This?") in WinCC (Page 16)
WinCC Information System (Page 17)
Navigation in the WinCC Information System (Page 19)
Search in WinCC Information System (Page 22)
Call up Using F1
During configuration, you call up "What's This?" help by using the function key <F1>.
After selecting an element in a window or dialog, call up "What's This?" help on the element
by pressing <F1>. The operable elements in a window can be selected by pressing the <TAB>
key.
Note
Close the windows that are not currently required. This helps limiting the number of open
windows.
See also
Tooltips and Status Bar (Page 15)
WinCC Documentation (Page 15)
WinCC Information System (Page 17)
Navigation in the WinCC Information System (Page 19)
Search in WinCC Information System (Page 22)
Dropdown texts
Some pages of the online help features headings underlined in blue. Click these headings to
call up drop-down texts.
The additional information consists of text, tables, etc. To hide the drop-down text, click it again.
The following notation is used in the online help:
Icon Meaning
Heading with this form indicate expandable text in
the online help.
Use menu commands "Tools" > "Open" and "Close" to open or close all drop-down texts of a
page.
See also
Tooltips and Status Bar (Page 15)
Adobe Acrobat Reader (http://www.adobe.com/products/acrobat)
WinCC Portal
The start page contains the WinCC Portal links, providing an overview of the WinCC
Information System.
Apart from the chapters of the WinCC Information System, you can also find links to Service
and Support in the lower part of the page.
You can also easily enter the main chapter of WinCC Information by using the portal pages
as the Homepage.
Tab Description
"Contents" Contains a hierarchical overview of all help topics that can be accessed directly from
here.
"Index" The index terms can be used as a basis for searching for help topics.
"Find" Enter a search term for full text search of the entire documentation.
"Favorites" Use this function to store topics that you wish to refer to again. They can then be called
up without having to search for them.
Tab Meaning
Click this button to hide the navigation section with the "Contents", "Index" and "Search"
tabs. The information system then requires less space on the screen.
If the navigation panel is hidden, it can be unhidden again clicking this button.
If the navigation panel is hidden, the table of contents displayed is not updated following
a topic change.
Click this button to return to the previous page.
Tab Meaning
Click this button to display the subordinate hierarchy levels of a book.
Double click this button to simultaneously open a help topic and display the subordinate
hierarchy levels.
Click this button to open the help topic on its own, without displaying the subordinate
hierarchy levels.
Tab Meaning
Double click one of these buttons to open a help topic.
Tab Description
In Section Go to a specific topic within the page.
Instructions Provides links to step-by-step instructions.
Examples Provides links to application examples and sample cases.
Basics Provides links to additional information, e.g. definitions or details.
Properties Provides links to information on the properties of objects.
Methods Provides links to information on methods that are applied to objects.
Events Provides links to information on events that are applied to objects.
Objects Provides links to information on related objects.
Tools > Open PDF Opens the printable PDF file of the help topic.
Tools > Open Opens all closed dropdown texts and dropdown images.
Tools > Close Closes all open dropdown texts and dropdown images.
Tools > Verlauf Offers links to topics opened earlier. Maximum ten topics are saved in Verlauf.
Additional Links
For some topics, there are links provided directly on the help page. These links are indicated
by a symbol or underlined in blue. Click the underlined text or the blue arrow to call up the
additional information.
Operation Function
<ALT+RIGHT> Go to next page.
<ALT+LEFT> Go to previous page.
<LEFT> Move the scroll bar in the active window to the left.
<RIGHT> Move scroll bar in the active window to the right.
<UP> Move scroll bar in the active window upwards.
<DOWN> Move scroll bar in the active window downwards.
<CTRL+TAB> Switch between the tabs ("Contents", "Index", "Search" and "Favorites").
Arrow Key Navigation in the Table of Contents
<ENTER> Display a topic selected on a tab in the navigation panel.
Trigger the function of the button previously selected.
<F6> Toggle between navigation and topic panel.
<TAB> Switch between the buttons in the topic area.
See also
WinCC Documentation (Page 15)
Tooltips and Status Bar (Page 15)
Direct Help ("What's This?") in WinCC (Page 16)
WinCC Information System (Page 17)
Search in WinCC Information System (Page 22)
Expanded Search
If the precise spelling of a term is not known or if you wish to search for all words containing
the entered character string use the asterisk * as a wildcard. The asterisk stands thereby for
any number of characters.
● Example: Using search term "*messages" the following words are found:
"Messages", "System operator input messages", "Process controlling messages", "Process
messages" etc.
Quotation Marks
Use quotation marks to search for phrases.
● Example: "Configuring graphics"
Boolean Operators
The arrow beside the input field can be used to logically link the search term with AND, OR,
NEAR and NOT.
● Example: "Configuring" AND "graphics"
See also
WinCC Documentation (Page 15)
Tooltips and Status Bar (Page 15)
Direct Help ("What's This?") in WinCC (Page 16)
WinCC Information System (Page 17)
Navigation in the WinCC Information System (Page 19)
Overview
You can search for WinCC documentation in the Internet. The search results will be displayed
in "My Documentation Manager". There, you compile your own documents which you can then
output in the formats PDF, RTF or XML.
Introduction
This section contains information on the migration of WinCC projects created in WinCC V6.2.3
or V7.0.
You are prompted to migrate a project of a previous version when opening it in WinCC V7.2.
However, you may also use WinCC Project Migrator to migrate several WinCC projects in a
single step.
Prior to migration, it is recommended to make a backup copy of the original version of the
project. For more information on this, refer to the "Working with WinCC" > "Working with
projects" > "Copying and duplicating projects" section in the WinCC Information System.
Multi-user Projects
When you are working on a multi-user project that was created in the previous version in WinCC
V7.2, migrate the individual multi-user projects from all servers in the system.
NOTICE
Migrating redundant systems without extended interruption
In order not to affect system operation, it is essential to observe the sequence of steps
described and to complete all the steps without any long interruptions.
A client may always only be connected to one server, on which the same WinCC version is
installed.
Note
No migration of a WinCC V6.2.3 project if a WinCC editor has never been opened before
You cannot migrate a project to WinCC V7.2 if you have never opened an editor in a WinCC
V6.2.3 project, for example, Alarm Logging or text library.
NOTICE
Conversion is irrevocable
Conversion of data cannot be undone.
Conversion starts immediately once you have selected the entry. No confirmation prompt is
displayed.
Note
It is not possible to convert an individual picture or a library object.
Conversion of pictures and libraries may take some time.
Procedure
1. Select the "Tools > Convert project data" menu command in WinCC Explorer.
2. Select the project data to be converted:
– Pictures and faceplates
– Global libraries
– Project libraries
– Page layouts and line layouts
– C and VB project functions and actions
– C and VB standard functions
– Data for Basic Process Control
3. Confirm with "OK".
The selected data is converted to the current version of WinCC.
See also
Differences between predecessor versions and WinCC V7.2 (Page 30)
Conditions for Migration (Page 32)
Introduction
Version 7.2 of WinCC provides new and extended functions as compared to the predecessor
version. An overview of the new features is provided in the section "What's New in WinCC
V7.2?".
NOTICE
The source language of a project cannot be set more than once in the migrator
You cannot rectify an incorrect setting of the source language, because a project can be
migrated only once to the version. Backup the projects and project libraries before you
launch migration.
● Scripting components.
VB Scripts may contain text in a specific language.
The C compiler does not support Unicode. Even though you can save C scripts in Unicode,
for example, the compiler converts them into multi-byte character strings (MBCS).
● Older Active X elements
● Channels, to ensure compatibility with the Channel Development Kit (CDK) and data types
within the PLC.
Introduction
You can migrate a WinCC project on any computer on which WinCC V7.2 has been installed.
The WinCC Project Migrator is default installation in the setup of WinCC V7.2.
Use Project Duplicator to copy the configuration data of the project to the migration computer.
For information on copying projects, refer to the "Working with projects" > "Copying and
duplicating projects" section in the WinCC Information System.
The code page settings of projects that you want to migrate in a single step must be uniform.
Requirements
The computer on which the migration should be performed must fulfill the following conditions:
Requirement
Operating system The requirements are specified in the "Hardware requirements" and
CPU "Software requirements" section of the installation instructions.
RAM
Free memory space on the In addition, at least the size of the overall project. Migration increases
hard disk the size of the projects.
User Rights User must be a member of the "SIMATIC HMI" group
WinCC version installed WinCC V7.2
WinCC version project data WinCC V7.0 or V6.2.3
Licenses ● New V7.2 RC license or RT license for Power Tags
● if needed additional license for archive tags
System status WinCC closed:
● Runtime deactivated
● WinCC Editors closed
● WinCC Explorer closed
Introduction
This chapter describes the migration of WinCC V6.2.3 or V7.0 projects to WinCC V7.2.
You have two options of migrating the projects:
● Migration of the configuration data and runtime data when opening an old project
● Using WinCC Migrator to migrate several projects in a single step.
There is no difference between single-user projects, multi-user projects and clients with their
own projects with regard to migration.
The projects are migrated to UNICODE. Tables that do not originate from WinCC are excluded
from migration.
The time it takes to migrate a project depends on the project size and computer performance.
The time it takes to migrate the runtime data varies depending on the number of messages
and tags. The operation may take several hours.
Note
Generate a backup copy of the project prior to migration. You can rely on this copy of the
original project to retrieve your data if migration fails.
If you have used a DDE connection in WinCC prior to V7.0, you must remove this connection
prior to migration. DDE is no longer supported as of WinCC V7.0.
Introduction
You have three options for migrating S7 projects from WinCC V6.2.3 or V7.0 to WinCC V7.2:
● Migration of the configuration data and Runtime data of an S7 project when opening the
old project
● Using SIMATIC Manager to migrate an S7 multi-project
● Using WinCC Migrator to migrate several WinCC projects in a single step. This last option
includes the WinCC projects, but not the S7 project. The OM database is migrated the next
time you open the S7 project.
Note
Generate a backup copy of the project prior to migration. You can rely on this copy of the
original project to retrieve your data if migration fails.
Migrating an S7 project
1. Open the S7 project. You are prompted to start migration.
2. Click "Yes". The WinCC Migrator opens. The project path is set by default. You cannot
select or enter a different path.
3. Set the language of the computer on which the project was created. The language version
that was set in the OS language options for non-Unicode programs or in the system locale
is set by default.
4. Click "Migrate". Wait for successful completion of the migration.
5. Acknowledge the prompt to wait for completion of the migration. Migration is completed
and the S7 project opens.
Migrating an S7 multi-project
1. Open the S7 multi-project. Proceed to step 2 if none of the project partitions is opened
automatically. Otherwise, the project is migrated as specified in chapter "Migrating an S7
project". Wait for completion of the migration. Proceed as follows.
You may also open the project partitions successively to migrate them separately.
2. Select the "Migrate OS projects" command in the "Tools" menu of SIMATIC Manager. The
WinCC Project Migrator opens. You cannot select or enter a different path.
3. Set the language of the computer on which the project was created. The language version
that was set in the OS language options for non-Unicode programs or in the system locale
is set by default.
4. Click "Migrate". Wait for successful completion of the migration.
5. Confirm the final prompt. Migration is complete.
Note
You must migrate all components of an S7 project
You must first migrate all components of an S7 project before you can work on this project.
Operation of a partially migrated project my result in inconsistencies.
Introduction
Clients are migrated together with the associated multi-user project.
When migrating multi-user projects, proceed in exactly the same way as in the migration of
single user projects.
Make a backup copy of the project before the migration. You can rely on this copy of the original
project to retrieve your data if migration fails.
Note
The following restrictions apply after the migration of multi-user systems:
Access to clients: Automatic, simultaneous booting of several clients is no longer possible.
Each server in the system can be activated by using the "Simatic Shell" dialog for remote
access.
Deactivating servers and clients in multi-user systems: An automatic, simultaneous booting
of several servers and clients is no longer possible. Each server in the system can be
deactivated by using the "WinCC Projects" dialog for remote access.
Introduction
You still have to make some project settings after migration.
See also
Migration Diagnostics (Page 50)
Introduction
Migrate a redundant system with WinCC V6.2.3 and V7.0 step-by-step to WinCC V7.2. This
will not interfere with plant operation.
Compare the initial situation described in the quick reference instructions with your system
and prepare your system accordingly.
Note
Framework Conditions for Upgrading During Ongoing Operation
A client may always only be connected to one server, on which the same WinCC version is
installed.
An upgrade in WinCC ServiceMode is not possible in logged off state.
Objective
● The automation system remains permanently in Runtime.
● The process is constantly operable.
Process
Upgrading consists of the following phases:
1. Upgrading the Standby Server
2. Upgrade WinCC clients
3. Upgrading Master Server
4. Defining Master Server
Introduction
A redundant system in operation is upgraded in four phases. Each phase is divided into
individual working steps. The necessary working steps are listed in the Section "Procedure".
Detailed instructions are provided in the chapters "Phase 1" to "Phase 4".
Initial Situation
● Server1 is the master server.
(Server1 stands for all master servers in a redundant server pair.)
● Server2 is the standby server.
(Server2 stands for all standby servers in a redundant server pair.)
● WinCC Client1 is connected to Server1.
(WinCC Client1 stands for all WinCC clients originally connected to Server1, which should
be reconnected with Server1 after the migration.)
● WinCC Client2 is connected to Server2 because it is configured for it as the preferred
server.
(WinCC Client2 stands for all WinCC clients originally connected to Server2, which should
be reconnected with Server2 after the migration.)
Note
In order not to interrupt operation of the system, observe the sequence of steps described.
The working steps from Phase 1 to Phase 4 must be completed without any longer
interruptions.
Note
Create a backup of the entire system before upgrading the server.
Configure a preferred server for all clients to be upgraded.
Results
When all the working steps from 1 to 25 have been completed, the system has the following
status:
● Upgraded Server1 is the master server.
● Upgraded Server2 is the standby server.
● Upgraded WinCC Client1 is connected to its preferred server Server1.
● Upgraded WinCC Client2 is connected to its preferred server Server2.
The upgrade of your redundant system to WinCC V7.2 is complete.
Note
Following migration of a server, the respective packages must be regenerated on this server.
Following migration of a client with own project, the respective packages must be regenerated
on this server.
Introduction
In the first phase, the redundant standby server Server2 is upgraded. This prevents an
unnecessary redundancy switching by WinCC clients.
You system will only run on one server while you complete the phase 1 steps.
NOTICE
Procedure
In order not to interrupt operation of the system, observe the sequence of steps described.
Complete the steps in phases 1 to 4 without any longer interruption.
Note
Create a backup copy before upgrading the server.
Procedure, Phase 1
For a detailed description of the procedure, please click one of the following working steps.
Note
Please note that you must work alternately on Server1 and Server2.
If a preferred server is not yet configured for WinCC Client1, then enter Server1 as the preferred
server.
Deactivate WinCC Client1 and reactivate the client so that the changed preferred server is
applied.
3. Server2: Deactivate
Deactivate WinCC Runtime on the standby Server2.
The system behaves as follows:
● WinCC Client1 remains connected to Server1.
● WinCC Client2, for which Server1 is now configured as the preferred server, remains
connected to Server1.
● Server1 detects an interruption through the deactivation of Server2.
If you have configured system alarms, Server1 creates a corresponding process control
message.
Create a backup of Server2 and save the WinCC data before you upgrade the server.
Modify the project for WinCC V7.2 after migration. Observe the corresponding notes in the
chapter "Additional steps".
Note
Following migration of a server, the respective packages must be deleted and regenerated
on this server. The package must have the same name as the deleted package.
8. Server2: Activate
1. Start WinCC on Server2.
2. Activate WinCC Runtime.
The system behaves as follows:
● There is no server switching. The activated Server2 is now standby in the upgraded WinCC
V7.2 project.
● The WinCC Client1 remains connected to Server1.
● The WinCC Client2 remains connected to Server1.
Wait for completion of any active redundancy synchronization before you go to the next step.
If you have configured system messages, Server1 then creates a corresponding process
control message.
Result of Phase 1
● Standby Server2 has been upgraded.
● WinCC Client2 is connected to Server1.
● WinCC Client1 is connected to Server1.
Introduction
Upgrade all WinCC clients to WinCC V7.2 clients in Phase 2.
In order for the system to remain operable, at least one WinCC client must remain connected
to an active server of the same WinCC version during the upgrade. The same WinCC version
must run on this server as on the WinCC client.
Phase 2 procedure
For a detailed description of the procedure, please click one of the following working steps.
Note
Following migration of a WinCC client with own project, the packages must be reloaded to
the migrated server.
Result of Phase 2
● Upgraded WinCC Client2 is connected to the upgraded Server2 as the preferred server.
● Upgraded WinCC Client1 is connected to Server2 as preferred server.
● Server1 is master in the V6.2.3 or V7.0 project.
● Upgraded Server2 is the standby in the migrated V7.2 project.
Introduction
In Phase 3, the master server Server1 is upgraded.
While carrying out the working steps in Phase 3, the system runs on just one server. The
system can be operated via the WinCC clients upgraded in Phase 2. Further information on
redundancy synchronization is available in the WinCC Information System under the topic
"Configurations > Redundant Systems".
Note
If necessary, create a backup copy before upgrading the server.
Procedure, Phase 3
For a detailed description of the procedure, please click one of the following working steps.
Note
Please note that you must work alternately on Server1 and Server2.
Note
Following migration of a server, the respective packages must be regenerated on this server.
The package must have the same name as the original package.
22. WinCC Client1: Loading Packages and Configuring the Preferred Server
Load the Server1 package to the WinCC clients.
Configure Server1 as the preferred server for WinCC Client1.
Deactivate and activate the respective client to apply the changed configuration to the preferred
server.
● The WinCC Client1 connects to the upgraded preferred server, Server1.
23. WinCC Client2: Loading Packages and Configuring the Preferred Server
Load the Server1 package to the WinCC clients.
Configure Server2 as the preferred server for WinCC Client2.
Deactivate and activate the respective client to apply the changed configuration to the preferred
server.
● The WinCC Client2 connects to the master server, Server2.
Result of Phase 3
● Upgraded Server1 is the standby server.
● Upgraded Server2 is the master server.
● Upgraded WinCC Client1 is connected to its preferred server Server1.
● Upgraded WinCC Client2 is connected to its preferred server Server2.
Introduction
After upgrading the system, all WinCC clients, for which no preferred server has been
configured, are connected to the master server. As a result of the redundancy switching for
upgrading, the original master server, Server1, was set to standby server. The original standby
server, Server2, was set to master server.
In order to restore the original status, the master server must be reset manually. Follow the
instructions in step 25. This step concludes the upgrade of your redundant system to WinCC
V7.2.
Further information on preferred servers in redundant systems is available in the WinCC
Information System under the topic "Configurations > Redundant Systems".
Procedure, Phase 4
For a detailed description of the procedure, click working step 25:
Result of Phase 4
● Server1 is the master server.
● Server2 is the standby server.
● WinCC Client1 is connected to its preferred server, Server1.
● WinCC Client2 is connected to its preferred server, Server2.
Introduction
When a fault occurs, clear the fault in a copy of the migrated project. Then restart the migration.
Cancelation of Migration
You may restart an aborted migration after having eliminated all errors. Use a backup copy
instead of the project containing the migration errors.
Diagnostics file
The Project Migrator saves the "MigratorLog.txt" diagnostics file to the directory of the migrated
project. You can view this file in any text editor.
The file contains the following general information:
● Project name
● Project type
● Type of migrated data
● Start and end of migration
If an error occurs during migration, the Project Migrator writes an error message in the file.
2.10 Appendix
Introduction
You will find information on functions and documentation of the predecessor versions in this
chapter.
Overview
Information on functions and documentation concerning the predecessor versions:
● The documentation on the controls before WinCC V7 are located following the description
of the new controls.
● The documentation for previous user objects is still located in the WinCC Information
System.
● The appendix also contains documentation on the WinCC Push Button Control.
Introduction
● The "WinCC Push Button" control can be used to configure a command button, which is
connected to the execution of a command.
In Runtime the Push Button can adopt the states "Pressed" and "Not pressed". Both
statuses can be assigned a different image, which shows the current state of the button.
The properties of the control are changed in the configuration dialog "Properties of the WinCC
Push Button Control" or in the window "Object Properties".
See also
How to Assign Pictures to the Push Button (Page 56)
How to Change the Font of the Push Button (Page 55)
How to Change the Color of the Push Button (Page 54)
How to Change the Appearance and Labeling of the Push Button (Page 53)
2.10.2.2 How to Change the Appearance and Labeling of the Push Button
Introduction
On the "General" tab, you have the option to adapt the general appearance of the Control. In
addition, you can also enter a function description as a labeling of the Push Button.
Requirements
● Double-click the inserted control to open the "WinCC Push Button Control Properties"
dialog.
● Select the "General" tab.
Caption
Enter here a text for the labeling of the button. This label can, for instance, contain a function
description.
Autosize
For the geometry of the Push Button, you can configure automatic size adaptation.
Select option 0 - None, in order to disable the automatic size adaptation. With option 1 - Adjust
Picture Size To Button the size of the image is adapted to the geometry of the button. Select
option 2 - Adjust Button Size To Picture, in order to adapt the geometry of the Push Button to
the size of an assigned picture.
Frame Width
Enter a value for the 3D Border Width of the button in pixel(s).
Transparent
The background of the button can be displayed transparent. In this case, the configured
background color is not shown.
Outline
The 3D border of the Push Button can be surrounded with an additional outer border line.
See also
The "WinCC Push Button" Control (Page 52)
How to Assign Pictures to the Push Button (Page 56)
How to Change the Font of the Push Button (Page 55)
How to Change the Color of the Push Button (Page 54)
Introduction
You can use the "Colors" tab to adapt the color for the display of the Control.
Requirements
● Double-click the inserted control to open the "WinCC Push Button Control Properties"
dialog.
● Select the "Colors" tab.
Property Name
From the drop-down list box, select the color attribute that you wish to change. The "OLE
Automation Name" is displayed. The "OLE Automation Name" is the name under which the
attribute is registered in WinCC.
System Color
The drop-down list box contains all the picture elements, the display options of which can be
adapted in the operating system control panel.
Select the picture element that has the color you wish to apply. Click the "Apply" button to
assign this system color to the color attribute selected in the "Property Name" area.
See also
The "WinCC Push Button" Control (Page 52)
How to Assign Pictures to the Push Button (Page 56)
How to Change the Font of the Push Button (Page 55)
How to Change the Appearance and Labeling of the Push Button (Page 53)
Introduction
Use the "Fonts" tab to adapt the label on the Push Button.
Requirements
● Double-click the inserted control to open the "WinCC Push Button Control Properties"
dialog.
● Select the "Font" tab.
Property Name
The currently selected property is shown.
Font
Select the required font for the control label. You can use any of the fonts registered in the
operating system.
Font Style
Select the required font style from the drop-down list box. The number of available font styles
depends on the font selected.
Size
Select the required font size from the drop-down list box. Alternatively, enter the font size
directly in the field. The value is specified in points (pt).
Effects
Select one or more effects. The selected font can be displayed as "Underline" and
"Strikethrough".
Example:
The selected settings are displayed in a preview.
See also
The "WinCC Push Button" Control (Page 52)
How to Assign Pictures to the Push Button (Page 56)
How to Change the Color of the Push Button (Page 54)
How to Change the Appearance and Labeling of the Push Button (Page 53)
Introduction
You can use the "Picture" tab to assign pictures for the statuses "Pressed" and "Not pressed"
to the Push Button.
Requirements
● Double-click the inserted control to open the "WinCC Push Button Control Properties"
dialog.
● Select the "Picture" tab.
Changing Configuration
Properties
Select the property for which you want to change the picture assignment. The current picture
is shown in the "Preview" area.
In Runtime, the Push Button can be in statuses of "Pressed" or "Not pressed". The image,
which is assigned to the property "PictureSelected", is displayed only if you click the button.
As long as the Push Button is not pressed in Runtime, it shows the image that is assigned to
the property "PictureUnselected".
Browsing
Click the "Browse..." button to access the "Find Picture" dialog. Select the graphic file, to which
you want to assign the selected property.
Pictures in the following formats can be inserted:
BMP, DIB, ICO, CUR, EMF, WMF, GIF and JPG.
Deleting
Click the "Clear" button to move on from the opening picture.
See also
The "WinCC Push Button" Control (Page 52)
How to Change the Font of the Push Button (Page 55)
How to Change the Color of the Push Button (Page 54)
How to Change the Appearance and Labeling of the Push Button (Page 53)
Introduction
WinCC script processing is a very open system. It allows Windows APIs and dedicated DLL
functions to be called. The underlying programming language C is very comprehensive and
offers a high degree of freedom. Incorrect implementation of these capabilities can also lead
to crashing the system. Incorrect configuration can also seriously decrease the performance
of the system.
The ApDiag.exe diagnostics tool should be used to support the analysis of errors and
performance problems. Note that the diagnostics application itself will affect performance;
collecting additional values costs time. Individual diagnostic functions can therefore be
activated and deactivated to avoid degrading the runtime of the system during operation.
This is why you should ensure that the diagnostic functions are deactivated during the final
commissioning stage.
This description will not explain every possible item of diagnostic information in detail, since
certain parts require a well-grounded knowledge of the system architecture for this. The
purpose of this description is to indicate possibilities and handling of the ApDiag diagnostics
tool so that ApDiag can be utilized as intended should the need arise.
Start ApDiag
Apdiag.exe is located in the installation directory in folder "...\Siemens\WinCC\Utools".
As soon as WinCC is opened, you can start the application as usual (double click). It is
irrelevant whether runtime is activated or not. If no project has been opened, a link to the action
controller can be created.
ApDiag is ended when changing projects and when closing WinCC.
To permanently display diagnostics information, independent of operation and navigation in
the system, ApDiag is in the foreground. Set your window position and size so that ApDiag
disturbs as little as possible. These settings are saved and reestablished again during the next
startup.
Overview
ApDiag operation is described in the following chapters.
The menu bar is constructed as follows:
In the online help, you can click on a menu command with the mouse and display the respective
description.
Diagnostics
Menu "Diagnostics" offers several types of diagnostics information.
Using "Start", "Change" and "Stop", the recording of diagnostic information (tracing) can be
controlled.
Menu command "OnFile" can be used for defining the output source for the individual types
of diagnostics information.
The runtime of actions can be measured and queue growth can be monitored with command
"Profile".
Using command "FillTags", saving important diagnostics information in internal tags is
activated and deactivated.
Output
Using menu "Output", trace entries generated with diagnostics can be output to a window,
stored in a file or deleted.
The trace entries are also collected in a circulating buffer when the window is not shown.
Info
Menu "Info" delivers current information on the system.
The diagnostic information is output one time when selected (not automatically). The output
is done as trace (Level1) and as printf.
Description
Use command "Exit" to end ApDiag.
3.3.3 Diagnostics
3.3.3.1 Start
Description
Use menu command "Start" to open a dialog, in which a diagnostics level can be selected.
Select the "OK" button to start the diagnosis and write the trace point in the defined level.
The higher the level, the more frequent and less serious the trace points are.
In level 1, only faults are output, as of level 3, printf (OnErrorExecute) are output as well. Levels
9 and 10 are mainly for testing for whether the script.exe application reacts.
In chapter "Trace points and their diagnostics level), a selection of trace points is described.
The diagnosis is different from the "printf information" in that the entries are collected with the
window closed as well and mainly system messages (trace points) are shown.
Other trace entries can also be created using internal functions TraceTime() and TraceText().
The functions are described in the WinCC Help.
The trace entries are output in the diagnostics window as standard.
Note
End ApDiag
The diagnosis is switched off when changing projects and when ending ApDiag.
The option "Start automatically at WinCC start" offers the ability to start the diagnosis in the
defined level automatically, each time a project is opened.
Since writing the trace points influences the performance, trace should really be switched off
for normal operation.
Note
End ApDiag
This setting is also retained after ending ApDiag.exe and after restarting the computer.
3.3.3.2 Change
Description
With menu command "Change", you can recognize whether a trace is switched on and change
the current diagnostics level if required:
The current diagnostics level is marked. Select another level and click on "OK" to change the
level.
Note
If no diagnosis is started, selecting "Change" opens no dialog.
3.3.3.3 Stop
Description
Writing trace points is ended with menu command "Stop". Since writing the trace points
influences the performance, trace should really be switched off for normal operation.
Note
End ApDiag
When ending ApDiag or when changing a project, the trace is ended.
3.3.3.4 OnFile
Description
Dialog "OnFile" can be used to convert diagnostics information (e.g. OnErrorExecute, printf)
into a text file. All settings are stored in the registry and are retained after a restart as well.
Since converting the diagnostics information influences the performance and the settings made
here are retained after restarting WinCC or the computer, you can use option "NothingInFile"
to centrally stop writing the diagnostics information to a file.
Nothing In File
This option can be used to centrally centrally suppress the conversion of diagnostics
information to a file.
Anything In File
Use this option to centrally activate the conversion of diagnostics information. The information
that is actually concerned, depends on the settings under "In File".
OnErrorExecute
This parameter can be used to define whether the output of an OnErrorExecute (standard
function of WinCC, which is called by the system in case of an error) to a file or in the output
window. An OnErrorExecute is lost when the diagnostics window is not shown, another error
analysis is enabled with the output to a file, even afterward.
The following applies for the output to a file: The file is called OnErrorN.txt and is located in
the installation directory:
● ..\Siemens\WinCC\Diagnose
A certain number of entries is written to a file. Then the next file is begun. It is always started
with OnError0. After file OnError10, it begins with OnError0 again. After activating the project,
it starts with OnError0 again the first time the function is called. The size of the files can be
influenced by modifying the limit value for tag "dwErrorCount" of this WinCC standard function
in the C editor for the Global Script.
OnPrintf
This parameter can be used for setting whether the outputs created by printf() are made to a
file or to the output window.
The following applies for the output to a file: The file is called OnprintfX.txt and is located in
the installation directory:
● ..\Siemens\WinCC\Diagnose
Particular attention is paid to the file size. 64 KB is written to a file and then the next file is
begun. It is always started with Onprintf0. After file Onprintf10, it begins with Onprintf 0 again.
After activation, it is also started with Onprintf 0 the first time the function is called.
OnDiagnose
When the diagnosis is switched on, all trace information for the respective level can be routed
to a file.
The following applies for the output to a file: The file is called OnDiagnoseX.txt and is located
in the installation directory:
● ..\Siemens\WinCC\Diagnose
Particular attention is paid to the file size. 64 KB is written to a file and then the next file is
begun. It is always started with OnDiagnose0. After file OnDiagnose10, it begins with
OnDiagnose0 again. After activation, it is also started with OnDiagnose0 the first time the
function is called.
OnProfile
This parameter is used for defining whether the diagnostics information delivered with
OnProfile will be output in a file or the application window.
The following applies for the output to a file: The file is called OnDiagnoseX.txt and is located
in the installation directory:
● ..\Siemens\WinCC\Diagnose
Particular attention is paid to the file size. 64 KB is written to a file and then the next file is
begun. It is always started with OnDiagnose0. After file OnDiagnose10, it begins with
OnDiagnose0 again. After activation, it is also started with OnDiagnose0 the first time the
function is called.
OnInfo
This parameter defines whether the information output via the menu Info should be output to
a file.
The following applies for the output to a file: The file is called OnInfoX.txt and is located in the
installation directory:
● ..\Siemens\WinCC\Diagnose
Particular attention is paid to the file size. 64 KB is written to a file and then the next file is
begun. It is always started with OnInfo0. After file OnInfo10, it begins with OnInfo0 again. After
activation, it is also started with OnInfo0 the first time the function is called.
3.3.3.5 Profile
Description
As of 10000 queued actions, by default, the system outputs message: "ActionOverflow:more
than 10000 Actions to work" to diagnostics file WinCC_Sys_01.log.
With this entry, determining the cause for an increase or overflow of the queue can only be
done with difficulty.
Menu command "Profile" now offers diagnostics information that enables the early detection
of growth or an overflow of the queue. Time measurements can be activated for actions and
an growth in the queue (ActionQueue) can be checked.
been integrated, which allows a quick overview to prevent any diagnostics measurements from
remaining switched on.
Profile off
This option is superordinate and can be used to switch measurements off.
Profile on
This option is superordinate and can be used to switch measurements on. It is absolutely
necessary to switch the switch and the desired information on to activate a measurement.
General
If option "Call On Time for each Action" is activated, a time measurement is performed for
every action that is executed and is output with standard function "On Time".
Example
Check
If checkbox "Check wich Action need more than xx msec" is activated, the runtime for all actions
that run longer than the defined time is output. This allows limiting the number of outputs and
less load is created by the measurement itself (the function OnTime will not continue to cycle).
Example
Example
3.3.3.6 FillTags
Description
Using menu command "FillTags", saving important diagnostics values in tags can be switched
on.
The diagnostics tags are created during the creation of a WinCC project and can be used as
usual. Switching on and off is also possible with internal function FillDiagnoseInTags(). This
function is described in the WinCC Help.
Note that writing the diagnostics values created more basic load. The runtime for each started
action is lengthened since the diagnostics values also have to be written in the tags. This
functionality should therefore be switched on for a short time only.
3.3.4 Output
Description
Use menu command "Output On Screen" to open the diagnostics window.
The previously collected trace entries are output here. Unlike Output Window, the diagnostics
window is only updated when opening and with the "Refresh" button. The contents are only
deleted if Reset is actuated or the diagnostics buffer has been written full.
Note
Sequence in the Diagnostics Buffer
The diagnostics buffer is a circulating buffer. The lowest entry is therefore not necessarily the
oldest entry.
Description
Menu command "Output To File" can be used one time to put the previously collected trace
entries into a text file.
Description
Use menu command "Reset Buffer" to delete the previously collected trace entries.
This functionality corresponds with the "Reset" button in the diagnostics window.
3.3.5 Info
3.3.5.1 FirstAction
Description
Menu command "FirstAction" delivers information on the action that is running and therefore
provides the ability to recognize which action in the queue is in the first position and e.g. blocks
the processing of other actions with a loop.
Similar to OnErrorExecute, the actions that are currently being processed are put in a text file.
In addition, the stack for these actions is output so that it is possible to recognize whether the
action e.g. is frozen in DLL calls.
The information on the currently processed action is also output again as OnErrorExecute.
Note
If no action is blocking the processing, no text file will be created and no OnErrorExecute will
be output.
Example
A "blocking" action can be simulated using the MessageBox(NULL, "Welt", "Hallo", MB_OK);
function.
The action which calls the error box is not resumed until the box has been closed. This is
comparable to a Message Box with a loop or a Sleep().
Note
"MB_SYSTEMMODAL" parameter
Execution of a message box function with parameter "MB_SYSTEMMODAL" ensures that
the message box is displayed in the foreground. If this parameter is not specified, the
message box is hidden to users and (in the background) and cannot be operated. Mouse
click events outside the message box are written to a buffer and processed after you exit the
message box.
Example: MessageBox(NULL, "Welt", "Hallo", MB_SYSTEMMODAL | MB_OK);
Description
The menu command "Count of Connections" lists all applications that have established a
connection to the action control.
Example
===============================================================
1.Applikation: GSC_RT
2.Applikation: ITLG-RT
3.Applikation: PDLRuntimeSystem
4.Applikation: APDiagnose
===============================================================
Description
Menu command "Count of Actions in RequestQueue" outputs the current number of actions
that are queued for processing.
There are jobs from Global Script, cycle jobs from pictures and event-controlled jobs from
pictures.
Example
===============================================================
Applikation: GSC_RT cycle Count of Requests 0
Applikation: PDLRuntimeSystem cycle Count of Requests 0
Applikation: PDLRuntimeSystem acycle Count of Requests 1
===============================================================
Description
Menu command "Count of TransAction" lists the current number of transactions for every
application that is logged in.
One transaction is established e.g. for every event-controlled action, for every picture window,
which contains at least one cyclic action, and for global scripts.
Example
===============================================================
1.Applikation: GSC_RT Count of Transactions 1
2.Applikation: ITLG-RT Count of Transactions 0
3.Applikation: PDLRuntimeSystem Count of Transactions 7
4.Applikation: APDiagnose Count of Transactions 0
===============================================================
Description
Menu command "Count of Actions of each Transaction" lists the number of actions contained
in the transactions.
The output is in the following form:
● Name of the Application
● Number of the Transaction
● Number of Actions
At the end of the list, the total sum of actions is output.
Example
===============================================================
Info to Transaktions: Count of Action in Transaction
1.Applikation: GSC_RT Count of Actions in TransAction(0): 15
3.Applikation: PDLRuntimeSystem Count of Actions in TransAction(7): 1
3.Applikation: PDLRuntimeSystem Count of Actions in TransAction(6): 1
3.Applikation: PDLRuntimeSystem Count of Actions in TransAction(5): 1
3.Applikation: PDLRuntimeSystem Count of Actions in TransAction(3): 1
3.Applikation: PDLRuntimeSystem Count of Actions in TransAction(2): 1
3.Applikation: PDLRuntimeSystem Count of Actions in TransAction(0): 19
3.Applikation: PDLRuntimeSystem Count of Actions in TransAction(1): 1
Info to Transaktions: Count of Action in Transaction 40
===============================================================
Description
Menu command "Count of Tags in each Transaction" lists the number of tags requested in the
transactions.
The output is in the following form:
● Name of the Application
● Number of the Transaction
● Cycle time, with which the tags use for logging in
● Number of tags
At the end of the list, the total sum of tags requested in transactions is output.
The numerical value defined in Cycle corresponds with the following trigger:
0 Upon change
1 250 ms
2 500 ms
3 1s
4 2s
5 5s
6 10 s
7 1 min
8 5 min
9 10 min
10 1h
11 - 15 User cycle 1 - 5
Example
===============================================================
Info to Transaktions: Count of Tags in Transaction
1.Applikation: GSC_RT Count of Tags in TransAction(0) in Cycle 0: 1
1.Applikation: GSC_RT Count of Tags in TransAction(0) in Cycle 4: 6
3.Applikation: PDLRuntimeSystem Count of Tags in TransAction(0) in Cycle 2: 1
Info to Transaktions: Count of Tags in Transaction 8
===============================================================
Description
Menu command "Count of Actions in Cycle" lists the amount of cyclic actions sorted by trigger.
In this case, the numerical values correspond with the following triggers:
0 250 ms
1 500 ms
2 1s
3 2s
4 5s
5 10 s
6 1 min
7 5 min
8 10 min
9 1h
10 - 14 User cycle 1 - 5
Example
===============================================================
Count of Actions in Cycle (0): 6
Count of Actions in Cycle (1): 5
Count of Actions in Cycle (2): 0
Count of Actions in Cycle (3): 6
Count of Actions in Cycle (4): 0
Count of Actions in Cycle (5): 1
Count of Actions in Cycle (6): 0
Count of Actions in Cycle (7): 0
Count of Actions in Cycle (8): 0
Count of Actions in Cycle (9): 0
Count of Actions in Cycle (10): 0
Count of Actions in Cycle (11): 0
Count of Actions in Cycle (12): 0
Count of Actions in Cycle (13): 0
Count of Actions in Cycle (14): 0
===============================================================
Description
Menu command "Count of Functions" provides the number of standard functions and project
functions and lists the functions by name.
Example
===============================================================
Count of Functions 112
FunctionName UTC PathName \\SERVER1\WinCC50_Project_GSLasttest
\library\UTC.Fct
FunctionName WriteNow PathName \\SERVER1\WinCC50_Project_GSLasttest
\library\WriteNow.Fct
===============================================================
Description
The levels of certain trace points can be changed with this menu command.
If you expect e.g. only one certain trace point, you can set the respective level high and are
no longer disrupted by a number of other trace points.
You can change the level by double clicking "Actual Level" for the desired trace point, setting
the desired level in the dialog box and leaving the box with "OK".
The original level is set again with a reset.
Description
Opens or closes the output window.
The output window corresponds with application window GSC diagnosis, but offers the
following advantages:
• It is independent of the configuration. The configuration does not have to be accessed,
especially with third-party projects.
3.4 Appendix
Introduction
Following is a list of selected trace points.
The trace points indicated with "d" can be changed in the respective level. These are allocated
to level 9 by default.
Overview
Introduction
The following system messages are generated by the script controller and are entered in the
Logfiles WinCC_SStart_xx.Log or WinCC_Sys_xx.Log.
Overview
Legend for the "Type" column:
● 1 = Note
● 2 = Warning
● 3 = Fault
Usage Authorization
With the purchase of this software, you have acquired the unlimited right to use the software
and its functionality. Furthermore, in accordance with our Terms and Conditions, you are
entitled to:
● our warranty
● our support
● our service
Our WinCC software is protected against unlawful use. The programs protected in such a
manner can run only in a restricted manner when a valid license for the program or the software
package has been transferred to the harddisk of the corresponding computer.
For WinCC, licensing represents the usage authorization and thus its real value.
Documentation
This section shows you
● How to Transfer Licenses
● How to Remove Licenses
● how to administer licenses
● how to repair licenses
● what type of licenses exist
Introduction
SIMATIC WinCC has software protection, just like the rest of SIMATIC software. Each installed
software requires a valid license for unrestricted operation. Without a valid license, WinCC
software can only be used in Demo mode.
Principle of Licensing
In technical terms, the license is represented by a License Key which the customer receives
on a license data carrier upon purchase of the WinCC basic software package. This license
key is copied to the hard disk of the computer and enables unlimited use of the software
installed from the DVD.
The required license keys and the Automation License Manager program is transferred as part
of the WinCC installation. The program manages the license key. A license key can thus be
transferred subsequently by the user.
Each license data carrier with valid License Keys for WinCC is supplied with a unique worldwide
serial number. This serial number is transferred to the computer while transferring the license
key and the same can be read by the Automation License Manager.
Please give this serial number with every inquiry, e.g. in case of a service call.
Note
WinCC versions prior to V6.0 SP3 used the program AuthorsW to manage licenses. The
"License Key" was referred to as "Authorization" in these WinCC versions. The respective
serial number consisted of a 10-digit numerical sequence.
You have the option to manage authorizations such as license keys of other SIMATIC
products with the Automation License Manager.
During first transmission of a license key, the Automation License Manager creates a directory
"AX NF ZZ" on the harddisk. This directory has the attributes "system" and "hidden" and is
automatically deleted when the last license key is removed.
NOTICE
Do not change the "AX NF ZZ" directory
Neither the name nor the attributes of the "AX NF ZZ" directory may be changed because
the transferred license keys can be irrecoverably lost.
Powerpack
The number of external tags (PowerTags) and archive tags (ArchivTags) permissible for a
WinCC software configuration - within a version - can be upgraded with a Powerpack.
● For the Powerpack of the PowerTags, there is the "WinCC RT (xxx) Powerpack" and
"WinCC RC (xxx) Powerpack" package. If the permissible number of PowerTags is
exceeded in Runtime, WinCC switches to demo mode. The number of PowerTags will not
be checked on a client.
If configured without RC license, WinCC runs in demo mode. In this case, the you can use
the editors until the demo mode period elapses.
● Upgrade license for ArchiveTags
A license to use 512 ArchiveTags is included in the RT and RC licenses. If you wish to use
more than 512 ArchivTags in RT, you must upgrade the system.
Note
The Powerpack is only used for the Upgrade procedure and cannot be used to operate
the WinCC software.
You can only upgrade the system once with the License Key held on the license data
carrier.
RT and RC Licensing
WinCC differentiates between RT licenses (Runtime) and RC licenses (Runtime and
Configuration). Another distinction is based on the number of tags.
● RT licenses permit the operation of WinCC in Runtime mode for an unlimited period of time.
The editors may only be used in demo mode for a limited period of time.
● RC licenses permit the operation of WinCC in Runtime mode and in project configuration
mode for an unlimited period of time.
● The description of the "WinCC RT (xxx)" or "WinCC RC (xxx)" license specifies how many
external tags and archive tags are permitted for the configuration.
Example: "WinCC RC (65536)"
With this license, you can use up to 64*1024 PowerTags (PTg) and up to 512 ArchiveTags
(ATg) in RT.
The system goes into demo mode if you activate a project where the number of external
tags or archive tags exceeds the number of permitted tags. In this case the system behaves
as if there was no license at all.
Note
On a client, the maximum number of PowerTags (256*1024) and ArchivTags is always
permitted with an existing RT/RC license since the number of tags is only checked on a
server.
Archive licenses
Archive licenses can be cumulated from WinCC V6.2 onwards. If there are two or more single
archive licenses locally on a computer, then the permissible volume for RT is the sum of the
individual archive licenses. You need the Automation License Manager Version V3.0 or higher
to cumulate the archive licenses.
Example:
Archive license (5000 tags) + Archive License (1500 tags) --> Archive license (6500 tags)
Archive licenses basically belong to "Floating License" type; however, they always need to be
transferred locally to the computer.
Note
For the Archives license count, the following applies as of WinCC V6.0 SP3:
- The tags for the process value archive are counted individually. A check of the tag numbers
is performed in Runtime.
- The tags for the compressed archive are no longer included in the license count.
- A license is only required for Runtime for user archives.
Introduction
From WinCC V6.0 SP3, software licenses for WinCC and other SIMATIC products are
managed using the Automation License Manager.
The Automation License Manager assigns each software license a 20-digit serial number. If it
displays only 10-digit serial number, the software license represents a version prior to WinCC
V6.0 SP3.
All software licenses acquired with older WinCC versions can no longer be used with WinCC
V6.2 and above. You must upgrade the licenses so that you can work with these licenses on
WinCC V6.2 and higher. This distinguishes between the following cases:
● License upgrade from WinCC V5.x --> WinCC V6.2
● License upgrade from WinCC V6.x --> WinCC V6.2
License Keys are assigned to different basic license types and license types.
Overview
The License Keys and the authorizations prior to V6.0 SP3 were displayed in the
"Management" view in the Automation License Manager. The column display depends on the
selected view.
Additional information on the meaning of individual columns may be found in the online help
of the Automation License Manager program.
Note
Read the current information on the licenses in the Release Notes.
Introduction
A missing license causes WinCC to run in demo mode. This mode permits the operation of
WinCC for testing and presentation purposes or for configuration modifications on site if only
an RT license is available.
● During installation of WinCC, a message informs the user that WinCC may only be operated
in demo mode without licensing.
● After one hour, the configuration software is terminated for lack of license RCxxx. You are
permitted to save changes before the software terminates. After one hour, the WinCC
Explorer and the editors are closed. In Runtime, the system will request the acquisition of
a valid license. This dialog will appear every 10 minutes.
● Upon the start of Runtime, a box appears requesting acknowledgment and acquisition of
a valid license (lack of license RTxxx). This message is redisplayed every 10 minutes and
must be acknowledged. If the message window is moved, the window reappears again,
centered, after 30 minutes at the most. As long as you are in Runtime, WinCC Explorer is
not terminated. On exiting from runtime, WinCC Explorer is also closed.
You can upgrade from a WinCC demo version to the full version. To do this, proceed as follows:
● Install the required licenses.
● Install the SQL Standard Server using the WinCC DVD.
When you subsequently transfer a license in the demo mode, it is effective only when you
restart WinCC.
Note
Even without a license, operational processing is fully functional without loss of data for
archiving or message system.
Introduction
You must remove all license keys and authorizations before using a disk optimization program
that moves fixed blocks. This also applies to formatting, compressing, or restoring the hard
disk or to installing a new operating system on your computer.
It is not possible to use compressed hard disks or disk drives.
If a backup contains copies of the license keys and authorizations, you run the risk of the
existing valid license keys and authorizatons will be overwritten and thus destroyed when you
restore the backup files on the harddisk.
If you lose a license key, it is possible to restore it again. Additional information may be found
under "How to Restore a License Key".
NOTICE
You may not change the directory "AX NF ZZ" or its contents! While transferring a WinCC
license to the harddisk, a cluster is marked as "defective". Do NOT attempt to restore it!
Hence you must remove the license keys before each backup or exclude them from the
backup.
Introduction
The licenses for WinCC and other SIMATIC products are managed using the Automation
License Manager.
The Automation License Manager uses the term "License Key" for licenses of WinCC and
other SIMATIC products. The term "Authorization" refers to a license of WinCC prior to V6.0
SP3.
Introduction
WinCC licenses or the license keys of other SIMATIC software can only be transferred using
lUSB memory sticks or uncompressed hard disk drives. You cannot transfer licenses to RAM
drives, DOS diskettes or compressed harddisk drives.
Exception: In case of compressed drives you can transfer the license to the corresponding
host drive.
The minimum amount of required space is 20 MB. You can transfer as many licenses as you
want if there is enough memory on the harddisk.
NOTICE
A write operation to the license data carrier is performed each time when you transfer or
remove a WinCC license.
Hardware
The hardware requirements for using the Automation License Manager are:
● Computer (Industrial computer, programming device, etc.) with
● Working memory >= 128 MByte
● Free hard disk space > 30 MB
Software
The 32-bit edition of the Automation License Manager is released for the following 32-bit
operating systems:
● MS Windows XP SP2 or SP3
● MS Windows Server 2003 SP1 or SP2 Standard Edition with or without R2
● MS Windows Server 2008 with or without SP2
● MS Windows 7
The 64-bit edition of the Automation License Manager is released for the following 64-bit
operating system:
● MS Windows Server 2008 R2
The software runs on all language versions for the supported operating systems.
Note
If you install the Automation License Manager as license server without WinCC, then you
also need to customize the firewall settings. At least File and Printer Release must be enabled
in the firewall.
Proceed as follows if you are using Windows Firewall:
Open Settings in the Control Panel in the Windows Start menu. Open the Windows Firewall
dialog.
Enable the File and Printer Release option in the Exceptions tab.
Introduction
Transferring a WinCC license means activating it on a local drive and deactivating it on the
license data carrier so that WinCC can use the license.
There are two ways of transferring your WinCC license:
● During the installation of the WinCC software. Call the Automation License Manager
administration program to transfer the licenses.
● By using the Automation License Manager administration program at a later point in time.
Note
If several licenses are present, WinCC uses the license found first. In many cases, this
license is not the most powerful license. Hence you need to ensure that only one and not
many licenses are transferred.
See also
System Requirements (Page 101)
How to Transfer Licenses using Automation License Manager (Page 103)
Introduction
You require the Automation License Manager program for license management. Setup
automatically installs the program while installing WinCC.
Automation License Manager can also be installed subsequently on computer where WinCC
has not been installed, for e.g. on a license server. Go to Start dialog on the WinCC DVD and
select "Other Software". To start installing the Automation License Manager program use the
Automation License Manager item in the Other Software dialog.
Procedure
1. Plug the WinCC USB stick into your USB port and select the drive in the Automation License
Manager navigation window.
The WinCC licenses on the license data carrier are displayed.
2. Select a license from the table. You can select more than one license for transfer. Choose
the "Transfer..." option from the pop-up menu of the license. The "Transfer License Key"
dialog opens. Select the target drive and confirm the selection with "OK".
3. The desired license is transferred and written to the destination drive in directory "AX NF
ZZ".
For more information, please see the online help for the Automation License Manager.
Note
You may also move the licenses using "Drag & Drop".
See also
System Requirements (Page 101)
Transferring licenses (Page 102)
Introduction
Removing a license means deactivating it on the local drive and activating it again on the
license data carrier so that the license can be used on other machines.
WinCC licenses are always removed using the Automation License Manager program.
Procedure
1. Connect the WinCC license data carrier with the computer. In the navigation window of the
Automation License Manager, select the drive where the license to be removed is located.
The WinCC licenses on the drive are displayed.
2. Select the desired license from the table. You can also select multiple licenses for removing.
Choose the "Transfer..." option from the pop-up menu of the license.
The "Transfer License Key" dialog opens.
Select the license data carrier as the target drive and confirm your selection with "OK".
3. The desired license is transferred and written to the destination drive in directory "AX NF
ZZ".
For more information, please see the online help for the Automation License Manager.
Note
You may also move the licenses using "Drag & Drop".
See also
System Requirements (Page 101)
Introduction
You can collect licenses on different media such as USB memory sticks or hard disk drives.
You can thus collect all licenses belonging to a WinCC configuration and collectively transfer
and remove them and thus transfer them easily from one computer to the other.
Licenses are collected by transferring the licenses from the used storage medium to the
harddisk. On the other hand, licenses are removed by transferring them from the harddisk to
various storage media. Both are performed with the Automation License Manager.
See also
How to Transfer Licenses using Automation License Manager (Page 103)
Introduction
Upgrading the permitted number of tags (PowerTags) and the Archive tag amount
(ArchivTags) is performed using the Automation License Manager.
You need the following:
● RT/RC licenses to be upgraded and archive licenses to be upgraded
● Powerpack license data carrier with upgrade license
Procedure
1. Plug the Powerpack license data carrier into a USB port.
2. Start the Automation License Manager using the Start menu. In the navigation window,
select the drive where the license to be upgraded is located. Select this license from the
table.
3. Select menu instruction "License Key" > "Upgrade...". The upgrade process is started.
4. The upgrade process concludes with the transfer of the upgraded license to the local drive.
Additional information may be found in WinCC Information System under the topic of "Migration
> Upgrade Licenses" and in online help of Automation License Manager under "Working with
the Automation License Manager" > "Handling License Keys" > "How to Upgrade a License".
See also
Management of Licenses (Page 101)
License Check
If WinCC continues to switch to demo mode even though the licenses have been transferred,
WinCC and the Automation License Manager offer a diagnostics function to check the licenses.
2. The window displays the installed licenses and the required licenses. Required licenses
that are not installed or not adequately dimensioned are highlighted in red.
3. Click "Update" if you install licenses via the Automation License Manager with the License
Analysis open.
Note
If the license for a used option is missing, WinCC switches to demo mode.
See also
How to Restore a License Key (Page 108)
Introduction
A license (authorization) key is defective if it is no longer accessible on the hard drive and so
cannot be removed by the Automation License Manager, or if the key disappears during
transfer to the license data carrier.
Using "Support for License Management", the license key may be restored.
To contact your local agent for Automation & Drives, search our contact database at the
following URL:
● http://www.automation.siemens.com/partner/index.asp (http://
www.automation.siemens.com/partner/index.asp)
Preparations
If you contact "Support for License Management", please have the following information ready:
● Company data (Name, Address, Country, Telephone/Fax...)
● From license data carrier: The product number (e.g., "6AV..."), product description in plain
text, and the serial number (license number).
Procedure
1. Select the view "Management" in the Automation License Manager. Switch to the view of
the drive to which the license data carrier is linked.
2. From the table, select the license key to be restored. Select menu instruction "License Key"
> "Restore". The "Restore License Key" dialog is opened.
3. Contact the "Support for License Management" and inform them of the product name,
license number and the numerical inquiry code.
4. Customer Support gives you a numerical Enable Code. Enter this code in the entry field.
5. The lost license key is restored to your license data carrier (counter = 1) and can now be
transferred to a local drive.
NOTICE
For several lost license keys, this process must be repeated for the appropriate number of
times.
See also
Internet: Contact person database (http://www.automation.siemens.com/partner/index.asp)
Contents
This chapter provides important technical data and performance limits on WinCC V7.
5.2 Configurations
Maximum 1)
Server or redundant server pairs 2) 18
WinCC clients in a system 32 3) 4)
Web clients in a system 150 5)
1)
The performance of the WinCC system depends on the employed hardware and the volume
of process data.
Central archive server is counted as one server. It cannot be used simultaneously as an
2)
operating unit.
3)
If the server is also used as an operating unit, the number of clients for this server is reduced
to four.
4)
Mixed configuration: 32 Clients + 3 Web Clients
5)
Mixed configuration: 150 Web clients + 1 WinCC client (also for Engineering)
Configuration
Maximum
Objects per picture 1) No limit 2)
Levels per picture 32
Pictures (PDL files) per project No limit 2)
Instances of fixed picture components in a system picture 31 instances of the same
picture type
Picture size in pixels 10,000 x 10,000
Nesting levels of picture objects 20
Number of colors Dependent on graphics card
1)
The number and complexity of the objects affect the performance.
2)
Limited by system resources.
Runtime
Note
The values depend on the hardware implemented.
Configuration
Maximum
Configurable messages per server/single user 150.000
Process tags per message line 10
User text blocks per message line 10
Message classes (incl. system message classes) 18
Message types 16
Message priorities 17 (0...16)
Runtime
Maximum
Messages per message archive No limit 1)
Messages per short-term archive 1.000
Messages per long-term archive 1.000 2)
Messages per message window 5.000 3)
Continuos message load without loss (single user/server) 10/sec
Message flow (single user/server) 2,000/10 sec every 5 min 4)
1)
Limited by system resources.
2)
On single user station or server or on clients per server or per redundant server pair if
"LongTimeArchiveConsistency" is set to "no". On single user, server, client or redundant server
pair if "LongTimeArchiveConsistency" is set to "yes".
3)
On single user station or server or on clients per server or per redundant server pair.
4)
If the interval to the next message flow is under five minutes, messages may be lost.
Note
The message overload and continuous message flow can be created simultaneously on a
single-user station or server.
Configuring
Maximum
Trend windows per picture 25
Configurable trends per trend window 80
Tables per picture 25
Columns per table 12
Values per table 30.000
Archives per single user/server 100
Archive tags per single user/server 1)
80.000 2)
Archive tags registered on WinCC CAS 120.000
1)
Dependent on the archive PowerPack used for the archive tags. 512 archive tags are
contained on the basis version.
2)
V6.0: up to 30,000 tags. Later versions: up to 80,000 tags.
Note
In cases of a combination of the maximum values, high picture selection times can occur.
Runtime
Maximum
Archiving in database for server/single user ("Tag Logging Fast") 5,000 values/second 1)
Archiving in database for server/single user ("Tag Logging Slow") 1,000 values/second 1) 2)
Trend printouts for each configured trend The number of printed values
matches the number of
values shown in
OnlineTrendControl.
1)
The stated values apply to archiving without signing-off of data.
During "Tag Logging Slow", you must expect longer picture selection times for identical
2)
Configuration
Maximum
Total archives No limit 1)
User archive fields 2)
500
User archive data records 3.000
User archive views No limit 1)
1)
Limited by system resources.
2)
Maximum 100,000 fields total.
Runtime
The following measurement values are guideline values for WinCC user archives in Runtime.
The values depend on the hardware used and the configuration.
Limit conditions
Hardware used:
● 1.5 GHz AMD Athlon 4
● 2 GB RAM
● No hardware linking
Software used:
● Windows Server 2003 SP2
Configuration of the user archives in the WinCC project used:
● One WinCC tag per field
● 300,000 entries each:
- 10 fields with 30,000 data records.
- 500 fields with 600 data records.
5.7 Reports
Configuring
Maximum
Configurable logs No limit 1)
Log lines per body 66
Tags per log 2)
300
1)
Limited by system resources.
2)
The number of tags per log is dependent on the performance of the process communication.
Runtime
Maximum
Simultaneously running message sequence reports per server/client 1
Simultaneously running message sequence reports 3
Runtime
The following measured vales indicate the difference between VB scripting and C scripting
base on the comparison of orientation values. The values depend on the hardware
implemented.
The measured values are specified in milliseconds.
VBS ANSI-C
Set colors from 1,000 rectangles 220 1.900
Set output values from 200 I/O fields 60 170
Select a screen with 1,000 static texts which determine the 460 260
object name and are issued as the return value
Read 1,000 internal tags 920 500
Re-read 1,000 internal tags 30 120
Conduct 100,000 calculations 1)
280 70
VBS ANSI-C
Set colors from 1,000 rectangles 610 4.440
Set output values from 200 I/O fields 170 670
Select a screen with 1,000 static texts which determine the 770 310
object name and are issued as the return value
Read 1,000 internal tags 3.650 1.310
Re-read 1,000 internal tags 70 250
Conduct 100,000 calculations1) 820 170
1)
Calculations in the example:
VBS
For i=1 To 100000
value=Cos(50)*i
Next
ANSI-C
for(i=1;i<=100000;i++)
{
dValue=cos(50)*i;
Note
The measured values can be negatively influenced by the type of configuration as well as
other processes, such as Tag Logging or Alarm Logging.
Introduction
The following table provides information on the possible configurations and maximum number
of connections.
Note
The limit values listed in the table are also dependent on the performance capability of the
system and the quantity structure of the WinCC project (e.g. number of process values/time
unit).
Configuration
Remarks
1)
In principle, all communication channels can be combined with each other. However, the
subordinate communication drivers can lead to limitations.
When the SIMATIC S7 Protocol Suite is used, a maximum of 64 S7 connections can be
operated. A typical configuration contains 60 S7 connections, for example.
Examples:
● 8 S7 connections via "MPI" and 52 S7 connections via "Industrial Ethernet TCP/IP"
or
● 60 S7 connections via "Industrial Ethernet TCP/IP"
2)
COM1/COM2 or internal software interfaces for SIMATIC S7 Protocol Suite communication
"Soft-PLC" and "Slot-PLC" as well as DCOM for OPC.
3)
In the case of Soft-Net, communication runs on the PC processor. In the case of Hard-Net,
the communication card has its own microprocessor and relieves the PC processor during
communication.
Only a Soft-Net module may be operated in the PC for the process communication.
Combinations with Hard-Net communication cards are possible. The driver software for Hard-
Net communication cards are supplied with the SIMATIC NET CDs enclosed.
Hard-Net communication cards enable the parallel operation of up to 2 protocols, e.g. Ethernet
communication using the SIMATIC S7 Protocol Suite and SIMATIC S5-Ethernet. In this case,
a reduction of approx. 20% of the table values must be taken into account.
Example:
● 40 connections using the "SIMATIC S7 Protocol Suite" combination and 8 connections via
"SIMATIC S5 Ethernet".
Depending on the number of serial interfaces. Can be expanded using communication cards
4)
F
B FAQ, (See support)
Basic Color Palette, 54 Font, 55
Browsing, 56 Font property name , 55
Font size, 55
Font Style, 55
C Fonts"Property Name, 55
Format, 56
Caption, 53
CAS
Migration to Process Historian, 28
Channel, 121
G
Quantity structure, 121 General, 53
Client, 36, 112 General Push Button , 53
N
L
None, 53
Labeling, 53
Not pressed, 52
License, 102, 103
Collecting licenses, 104
Deinstallation, 104
Demo Mode, 99
O
Diagnostics, 107 Online support, (See support)
Emergency license, 108 Outline, 53
Installation, 102, 103
Missing licenses, 107
Repair of license, 108 P
Upgrading, 105
Performance
WinCC License Analysis, 107
Action configuring, 119
Licensing, 92
Functions, 119
Automation License Manager, 92
Scripting, 119
Error avoidance, 100
Performance data, 112, 115, 116, 118, 121
Powerpack, 92
Performance Data, 113, 114, 119
Log, 118
Picture, 56
Quantity Structure, 118
Picture Graphic files , 56
Picture"Graphic files, 56
Pictures, 113
M Quantity Structure, 113
Menu bar PictureSelected, 56
ApDiag, 61 PictureUnselected, 56
Message, 114 Pressed, 52
Quantity Structure, 114 Process Communication, 121
Message archive Quantity structure, 121
Quantity Structure, 114 Process coupling, 121
Message Archive, 114 Quantity structure, 121
Message system, 114 Process data, 115
Quantity Structure, 114 Quantity Structure, 115
Migration Project
Cancelation, 50 Migrate, 33
Client project, 36 Properties, 56
Clients, 36 Properties of WinCC Push Button Control, 53, 54,
Diagnostics, 50 55, 56
Diagnostics Files, 50 Properties of WinCC Push Button Control , 54, 55,
Error Messages, 50 56
Migrating WinCC projects as of V7.0, 33