Migration of Wincc Projects From V4 To V6.2 Sp3
Migration of Wincc Projects From V4 To V6.2 Sp3
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG (“Siemens”). They are non-
binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
© Siemens 2020 All rights reserved
foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.
Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.
Security information
Siemens provides products and solutions with industrial security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary
to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.
Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the Internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
https://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: https://www.siemens.com/industrialsecurity.
Table of contents
Legal information ......................................................................................................... 2
1 Introduction ........................................................................................................ 5
1.1 Overview............................................................................................... 5
1.2 Principle of Operation ........................................................................... 5
1.3 Components Used ................................................................................ 5
2 General Information on Migration .................................................................... 6
2.1 Project Backup ..................................................................................... 6
2.2 Compatibility ......................................................................................... 6
2.2.1 Scripts and In-House Developments .................................................... 6
2.2.2 WinCC Options ..................................................................................... 6
2.3 Upgrade Overview from SIMATIC WinCC V3 to WinCC V6.2
SP3 ....................................................................................................... 7
3 Transferring Project Versions before V4.02 SP3 to WinCC V5 .................... 9
3.1 Requirements ....................................................................................... 9
3.2 Required Software ................................................................................ 9
3.3 Preparatory Activities ........................................................................... 9
3.4 Conversion Details within SIMATIC WinCC V4 ................................. 10
4 Migration from SIMATIC WinCC V4.02 SP3 to SIMATIC WinCC V5.1 ......... 12
4.1 Requirements ..................................................................................... 12
© Siemens AG 2020 All rights reserved
1 Introduction
1.1 Overview
If you open a project of the previous version with the current WinCC version, you
are prompted to migrate the project.
• In this manual (part 1), you will find the description of the migration of WinCC
projects that were created before WinCC V6.2 SP3.
• In the second manual (part 2) of the application example, you will find the
description of the migration of newer WinCC projects to
WinCC V7.x.
Migration
During a migration a WinCC project will be ported from version X to version Y. The
configuration data and Runtime data are transferred to the new version, even if the
new version has a different database.
You can migrate a WinCC project on every computer on which you have installed
WinCC.
The following applies here:
• Use Project Duplicator to copy the project configuration data to the migration
machine or to create a backup.
• The migration is basically carried out via the Migrator project.
Note • The Project Migrator is part of the standard installation scope of WinCC.
• The Project Duplicator is part of the standard installation of WinCC
Note Create a backup of the WinCC project after each migration step (from version to
version).
2.2 Compatibility
© Siemens AG 2020 All rights reserved
Please observe the compatibility of SIMATIC WinCC with the used operating
system incl. Service Pack, Step7 and other SIMATIC products.
An overview for the compatibility of SIMATIC WinCC V5, V6 and V7 can be found
under the following link.
https://support.industry.siemens.com/cs/ww/en/view/64847781
Note • If you want to migrate a WinCC project from another time zone to a newer
SIMATIC WinCC version, it is absolutely necessary to set the time zone on
the migration computer to the time zone from which the project originates.
• In WinCC, the UTC time is used in the databases. Errors may occur in the
calculation of this time if the time zone is set incorrectly.
• The code page settings of projects that you want to migrate in a single step
must be uniform.
Scripts and in-house developments can increase and complicate the migration
effort. These cannot be taken into account in this description.
No options are considered in this migration description. If you use options such as
Advanced User Administrator, Web Navigator, etc., please refer to the version
releases on the Service and Support pages.
Note Migrated projects need to be tested. The system operator himself is responsible
for proper functioning!
WinCC V6.0
WinCC V6.2
Frei verwendbar
Note The SIMATIC WinCC V3 licenses are also valid in SIMATIC WinCC V4.
Activities
• Open Global Script and select "Options" in the menu
• Compiling all functions
• Generate header anew
• Open Screen Tree Manager and exit with Save.
• Under the menu item "Options", "Recalculate collective display hierarchy completely
when saving" must be set.
WinCC system messages (without using the Basic Process Control option)
• Some new WinCC system messages were inserted and already existing system
messages were adapted in text and number.
• In order to receive these extensions/corrections in the system message window, the
system messages of existing projects must be re-imported.
• Proceed as follows:
• Start the Alarm Logging editor.
• Select "WinCC system messages..." from the "Tools" menu.
• In the "WinCC System Messages" dialog box activate "Create new system
messages, overwrite existing ones".
• Click the "Create" button.
must be converted.
Table 3-2
No. Procedure
1. Converting the "Global Library"
In the Control Center, open the context menu of the Graphics Designer and
activate the entry "Convert Global Library".
2. Converting the Project Library
Open the context menu of the Graphics Designer in the Control Center and
activate the entry "Convert project library".
3. Converting Graphic Screens
In the Control Center, open the context menu of the Graphics Designer and
activate the entry "Convert screens".
4. Split Screen Wizard
In the Control Center, open the context menu of the Split Screen Wizard in Base
Data and activate the "Open" entry.
5. Alarm Logging Wizard
In the Control Center, open the context menu of the Alarm Logging Wizard and
activate the "Open" entry.
No. Procedure
6. Converting the user archive
The conversion of the user archive is accomplished in two steps:
• Converting the archive structure
• Converting the runtime data
Close the "Convert old archives" dialog window with the "Close" button.
Note More information about allowed special characters may be found at the system
overview at "Configuration with WinCC > Disallowed characters".
Note The SIMATIC WinCC V3 and V4 licenses are also valid in SIMATIC WinCC V5.
No. Procedure
3. Converting the Global Library
• In WinCC Explorer, open the context menu of the Graphics Designer and activate
the entry "Convert Global Library".
© Siemens AG 2020 All rights reserved
No. Procedure
5. Converting screens
• In WinCC Explorer, open the context menu of the Graphics Designer and activate
the entry "Convert Screens".
• Confirm the message that the trend and alarm controls will be replaced.
© Siemens AG 2020 All rights reserved
• All screens of the WinCC project will be converted to the new version.
No. Procedure
7. Converting User Archives
• Converting the archive structure:
• Start the editor "User Archive" in the WinCC Explorer.
• In the "Convert old archives" dialog box, select the user archive to be converted and
start the conversion with the "Convert" button.
• Exit the dialog window with the "Close" button after the conversion has been
completed.
• Save the converted archive structure.
No. Procedure
8. Display in Runtime
• If data of a correctly imported user archive is not displayed in Runtime, then the
configuration data must be linked again:
• Open the Graphics Designer.
• Reconnect the table controls to the user archive.
• Save the screen.
9. User archives (before WinCC V4.02)
• The conversion of user archives created with WinCC older than V4.02 is not
possible if the archive and field names are longer than 20 characters at the same
time.
• For problems related to converted user archives, it is recommended to create user
archives with WinCC version V5.1 SP2.
10. Persistence
• A persistence configured in the tag logging is not transferred during conversion. The
persistence must be newly configured in the converted project.
11. Split Screen Wizard
• In WinCC Explorer, open the context menu of the Split Screen Wizard in Base Data
and activate the "Open" entry.
© Siemens AG 2020 All rights reserved
No. Procedure
13. If you have used the Basic Process Control option in an existing project, the following
steps are necessary to convert the project:
• Using the Split Screen Wizard.
• Using the Alarm Logging Wizard.
• Converting the Global Library.
• Converting the Project Library.
• Converting Graphic Screens.
• Open Tag Logging and exit with Save.
• Open Screen Tree Manager and exit with Save. Under the menu item "Options",
"Recalculate collective display hierarchy completely when saving" must be set.
14. If it is a multi-user project with multi-client connections, all packages on the servers
should be deleted, recreated and reloaded on the multi-clients.
Note You can only convert screens and libraries from one WinCC version to the next
main versions. For example, if you want to convert screens from WinCC V5.0
SP2 to V6.2, you must first convert the screens to WinCC V5.1, then to WinCC
© Siemens AG 2020 All rights reserved
WinCC V6.2 provides the Project Migrator for this purpose which automatically
migrates the project's configuration data, Runtime data and swapped data.
Requirement
Sybase 7 must be installed on the migration computer.
You can install Sybase SQL Anywhere 7 later using the autorun program of the
WinCC V6.2 DVD. For this you need the installation CD for WinCC V5.0 Service
Pack 2 or WinCC V5.1.
Installation
No. Procedure
1. Start the installation DVD of WinCC V6.2.
2. Select “SQL Anywhere Studio 7" from the "Other Software" menu. Follow the
© Siemens AG 2020 All rights reserved
3. Upon request, insert the installation CD for WinCC V5.0 SP2 or WinCC V5.1 into the
CD drive.
No. Procedure
4. If you have activated the autorun function in your operating system, the inserted CD
will be started. The started autorun program of WinCC V5 is not required for the
migration. Close the program with "Exit".
5. Click the "Repeat" button in Sybase Setup. Sybase SQL Anywhere 7 is installed.
6. Restart the computer.
Note The migration of a project can only be started once. Only swapped data can be
migrated subsequently.
Table 5-2
No. Procedure
1. Check the following setting in Windows Explorer prior to the start of the Migrator
Project:
In the menu "Tools > Folder options > View" in the "Advanced settings" section, the
check box "Hide file name extension for known file types" must not be checked.
2. Open "Simatic > WinCC > Tools > Project migrator" in the start menu of the operating
system. Project Migrator opens with the "CCMigrator - Step 1 of 3" start window.
© Siemens AG 2020 All rights reserved
3. Select the project directory, in which the V5 project is located by clicking the button.
The "Configuration data" check box is already activated in the "Select the desired data"
area.
Select all data to be migrated. If available, you can also select the path of your backup
archives. These will then also be migrated to the new WinCC version.
No. Procedure
4. Click "Continue". The "CCMigrator - Step 3 of 3" window opens. The Project Migrator
shows all components of the project that are migrated.
The Project Migrator indicates the estimated migration duration: "Estimated Migration
Duration: XX hour(s) XX minute(s)". This specification is only a rough guideline value.
The migration of a project may take several hours.
5. If migration was successfully completed, the Project Migrator sends the following
message: "Data was successfully migrated."
Click "OK" to close the dialog.
© Siemens AG 2020 All rights reserved
You can use Project Migrator to migrate the Runtime data, configuration data, and
Note exported Runtime data individually!
Note During migration, the Runtime data and exported data are saved in a common
database.
DBStopEngine
New functions
The following functions are new in WinCC V6.0 or higher:
– DBDataBaseAttach
– DBDataBaseDetach
– MldRegisterMsgEx
– MldUnRegisterMsg
– Mitsubishi FX
– Modbus Protocol Suite
– Modbus Serial
– SIMATIC S5 PMC Ethernet
– SIMATIC S5 PMC Profibus
– SIPART
Procedure
1. Navigate to the <WinCC installation directory\bin> and copy the file
"@GLOBAL.PDT " to another directory.
2. Install WinCC V6.2.
3. Copy the file "@GLOBAL.PDT" from your storage directory to <WinCC
installation directory\Templates>.
4. Migrate the WinCC project.
dialog appears: "The configured server is not available. Would you like to open
the project with the local computer as the server?"
• Select the "Start server locally".
• After opening the project, change the computer name in the "Computer
properties" dialog.
8 Migration Testing
Note The migration check up to a target version of WinCC V5.1 can only be performed
in the configuration and Runtime environment.
Log files are only created during the migration of projects to WinCC V6.x.
Introduction
In the following cases, the migration from WinCC V5.1 to WinCC V6.x may result in
error messages or aborting:
• Sybase 7 is not installed.
• The migration computer has too little memory space available.
• The project is not loaded on the migration computer.
• The project was created with a WinCC version below V5.0 SP2.
CCMigrator.txt
The "CCMigrator.txt" file contains general information:
• Project name
• Project type
• Type of migrated data
• Start and end of migration
If the migration was successful, the file contains the message: "Migration
succeeded.".
If an error occurs during migration, the Project Migrator writes an error message in
the file.
Details are provided in the "DTSPackages.log" file.
© Siemens AG 2020 All rights reserved
DTSPackages.log
The Project Migrator protocols the migration of the individual components in
"DTSPackages.log" file.
The diagnostics file contains the following important entries:
Message text Meaning
Package name migrated component
Package description Function of the migrated component
Execution started / Execution completed Time: start of migration / Time: end of
migration
Package steps execution information Migration steps of a component, specifying
whether migration was successfully
executed:
"succeeded" = successful / "failed" = error
during migration
Error source / Error description Error source and description of the error
which occurred
9 License Overview
9.1 Migration from WinCC V3 to V4
No license upgrade is necessary.
License upgrade
Upgrade the licenses in the Automation License Manager from version 5 to version
6.
Table 9-1
Step Procedure
© Siemens AG 2020 All rights reserved
Compatibility
• After an upgrade from WinCC V5 to WinCC V6.2, only one V6.2 license is
available. This license is not recognized by WinCC V5.
• If WinCC V5 is used as an alternative to WinCC V6, the user is authorized to
create an screen of WinCC V5, including its license. However, both WinCC
versions may only be used as an alternative to the other. Any concurrent use
of WinCC V6 and WinCC V5 represents a violation of the license agreement.
• If you have configured more than 512 archive variables in your project, you will
also need a license for archive tags starting with WinCC V6.
Note Upgrade licenses for the redundancy, user archive, and server options are
included in the RC and RT upgrade packages.
10 Useful Information
WinCC database versions
Table 10-1
WinCC version Database
<= V4.x Sybase Anywhere 4
V5.0 Sybase Anywhere 5
V5.1 Sybase Anywhere 7
V6.0 SQL Server 2000
V6.0 SP4 SQL Server 2000 SP4
V6.2 SQL Server 2005 SP1
© Siemens AG 2020 All rights reserved
11 Appendix
11.1 Service and support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire
service and support know-how and portfolio.
The Industry Online Support is the central address for information about our
products, solutions and services.
Product information, manuals, downloads, FAQs, application examples and videos
– all information is accessible with just a few mouse clicks:
https://support.industry.siemens.com/cs/sc
Technical Support
The Technical Support of Siemens Industry provides you fast and competent
support regarding all technical queries with numerous tailor-made offers
– ranging from basic support to individual support contracts. Please send queries
to Technical Support via Web form:
www.siemens.com/industry/supportrequest
© Siemens AG 2020 All rights reserved
Service offer
Our range of services includes the following:
• Plant data services
• Spare parts services
• Repair services
• On-site and maintenance services
• Retrofitting and modernization services
• Service programs and contracts
You can find detailed information on our range of services in the service catalog
web page:
https://support.industry.siemens.com/cs/sc