Beruflich Dokumente
Kultur Dokumente
Projects from V4 to V7
Siemens
SIMATIC WinCC Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/44029132 Support
This entry is from the Siemens Industry Online Support. The following Terms of
Use shall apply (www.siemens.com/Terms_of_use).
Security Siemens provides products and solutions with industrial security functions that
informa- support the secure operation of plants, systems, machines and networks.
tion 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 only
form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems,
machines and networks. Systems, machines and components should only be
connected to the enterprise network or the internet if and to the extent necessary
and with appropriate security measures (e.g. use of firewalls and network
segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be
taken into account. For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them
more secure. Siemens strongly recommends to apply product updates as soon
as available and to always use the latest product versions. Use of product
versions that are no longer supported, and failure to apply latest updates may
increase customer’s exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial
Siemens AG 2017 All rights reserved
Conversion
Conversions affect parts of a project. This happens, for example, when changing to
a new service pack. Here, for example only the WinCC Runtime pictures or the
libraries have to be converted.
1.2 Compatibility
Please consider the compatibility of SIMATIC WinCC with the operating system
used, incl. Service Pack, Step7 and other SIMATIC products.
An overview of the compatibility of SIMATIC WinCC V5, V6 and V7 is available at
the following link.
Siemens AG 2017 All rights reserved
https://support.industry.siemens.com/cs/ww/en/view/64847781
Note If you want to migrate a WinCC project from a different time zone to a more
recent SIMATIC WinCC version, it is absolutely necessary to set the migration
computer to the time zone from which the project originates.
In WinCC, the UTC time is used in the databases. If the time zone is set
incorrectly, this might result in a faulty calculation of this time here.
Note You can use the scheduler function of the "Windows Backup", for example to
create a daily or weekly backup of the WinCC project.
The backups can also be stored on external data carriers or network drives.
For each backup, a log file is created.
The Runtime data in the WinCC project folder "ArchiveManager" are also
archived.
The following graphic shows the intermediate steps to be taken in order to migrate
WinCC projects from previous versions.
Note Experience shows that some customer projects cannot be upgraded with version
leaps from the history. In this case, an upgrade from version to version is
reasonable, e. g. from V6 > V7.0 > V7.2 > V7.4
WinCC V5.0
WinCC V5.1
WinCC V6.0
WinCC V6.2
WinCC V7.0
WinCC V7.0 SP1
WinCC V7.0 SP2
WinCC V7.0 SP3
WinCC V7.0
WinCC V7.2
WinCC V7.3 SE
WinCC V7.4
WinCC V7.0
WinCC V7.2
WinCC V7.3 SE
WinCC V7.4
6. Migration check
7. Project adaptations
Note Migrated projects must be tested. It is the plant operator who is responsible for a
perfect functioning!
Note The WinCC V3 licenses are still valid in SIMATIC WinCC V4.
Activities
Opening Global Script and in the "Options" menu
Compiling all functions
Regenerating the header
Opening the Picture Tree Manager and closing with Save
Under the menu item "Options", "Completely recalculate group display hierarchy
upon saving" must be set.
WinCC system alarms (without using the Basic Process Control option)
Some new WinCC system alarms have been added and the text and number of
already existing system alarms has been adapted.
To obtain these expansions/corrections in the system alarm window, the system
alarms must be reimported in existing projects.
To do this, proceed as follows:
Start the Editor Alarm Logging.
From the “Tools" menu, select the item "WinCC system alarm...".
In the dialog box "WinCC system alarm", activate "Create new system alarms,
overwrite existing ones".
Click the "Create" button.
When switching to a new version or after the installation of a Service Pack, the
projects must be converted.
Table 2-2
No. Procedure
1. Conversion of the global library
In the Control Center, open the context menu of the Graphics Designer and
activate the entry "Convert global library".
2. Conversion of the project library
In the Control Center, open the context menu of the Graphics Designer and
activate the entry "Convert project library".
3. Conversion of pictures
In the Control Center, open the context menu of the Graphics Designer and
activate the entry "Convert pictures".
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.
6. Conversion of the user archives
The conversion of the user archives is performed in two steps:
Conversion of the archive structure
Conversion of the Runtime data
No. Procedure
After completed conversion, leave the dialog window via the "Close" button.
Save the converted archive structure.
Prerequisites
Link to Online Support
When installing V5.1 SP2, please observe the Installation Notes.
Siemens AG 2017 All rights reserved
The released operating systems for SIMATIC WinCC V5.x can be found at
https://support.industry.siemens.com/cs/ww/en/view/64847781 .
Note The SIMATIC WinCC V3 and V4 licenses are also valid in V5!
Siemens AG 2017 All rights reserved
No. Procedure
3. Conversion of the global library
In the WinCC Explorer, open the context menu of the Graphics Designer and
activate the entry "Convert global library".
Siemens AG 2017 All rights reserved
No. Procedure
5. Conversion of pictures
In the WinCC Explorer, open the context menu of the Graphics Designer and
activate the entry "Convert pictures".
Confirm the warning note that the trend and alarm controls are replaced.
Siemens AG 2017 All rights reserved
All pictures of the WinCC project are converted to the new version.
No. Procedure
7. Conversion of user archives
Conversion of the archive structure:
Start the "User Archive" editor in the WinCC Explorer.
In the "Converting Old Archives" dialog window, select the user archive to be
converted and start the conversion via the "Converting" button.
After completed conversion, leave the dialog window via the "Close" button.
Save the converted archive structure.
No. Procedure
Save the picture.
13. If you used the Basic Process Control option in an existing project, the following steps
are required to convert the project:
Using the Split Screen Wizard
Using the Alarm Logging Wizard
Conversion of the global library
Conversion of the project library
Conversion of the pictures
Opening the Tag Logging and closing with Save
Opening the Picture Tree Manager and closing with Save Under the menu item
"Options", "Completely recalculate group display hierarchy upon saving" must be
set.
No. Procedure
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.
During migration/conversion, no log files are created. The migration can only be
checked in the configuration and Runtime environment.
Note Pictures and libraries from one WinCC version can only be converted via the
next main versions. If, for example, you want to convert pictures from WinCC
V5.0 SP2 to V6.2, you first have to convert the pictures to WinCC V5.1, then to
WinCC V6.0 and finally to WinCC V6.2.
Siemens AG 2017 All rights reserved
For this purpose, WinCC V6.2 provides the Project Migrator, which automatically
migrates the configuration data, Runtime data and swapped-out data of a project.
Installation
No. Procedure
1. Start the installation DVD of WinCC V6.2.
2. In the "Further software" menu, select the entry "SQL Anywhere Studio 7". Follow
the instructions in the setup of Sybase SQL Anywhere 7.
3. When requested, insert the installation CD for WinCC V5.0 SP2 or WinCC V5.1 in
the CD drive.
Siemens AG 2017 All rights reserved
Note The licensing can be updated during the installation of WinCC V6.2 or
subsequently. Detailed information is available in the WinCC Information System
at "Licensing".
If you got WinCC as upgrade V5.x -> V6.2, you must upgrade the existing
authorizations. The same applies to the authorizations of communication drivers
and WinCC options.
Upgrade to WinCC V6
After an upgrade from WinCC V5 to WinCC V6, only one V6 license is available.
This license is not recognized by WinCC V5.
Siemens AG 2017 All rights reserved
If WinCC V5 is also used alternatively to WinCC V6, the user has the right to create
an image of WinCC V5 including the license. Though, the two WinCC versions
must only be used alternatively. Simultaneous use of WinCC V6 and WinCC V5
violates the license terms.
New licenses
If you configured more than 512 archive variables in your project, you require an
additional license for Archive Tags from WinCC V6 on.
Note If using an upgrade license, during an upgrade to WinCC V6.2 the authorizations
for WinCC V5.x are converted to V6.2 licenses.
Note Update licenses for the options Redundancy, User Archive and Server are
contained in the update packages RC and RT.
Note The migration of a project can only be started once. Subsequently, only
swapped-out data can be migrated.
Table 4-4
No. Procedure
1. Before starting the Project Migrator, check the following settings in the Window
Siemens AG 2017 All rights reserved
Explorer:
In the menu "Tools" > "Folder Options" > "View", under "Advanced Settings" the
checkbox "Hide file extension for known file types" must not be checked.
2. In the Start menu of the operating system, open "Simatic" > "WinCC" > "Tools" >
"Project Migrator". The start window of the Project Migrator "CCMigrator - Step 1 of 3"
opens.
No. Procedure
3. Use the button to select the project directory in which the V5 project is stored.
Under "Select the desired objects", the checkbox "Configuration data" is already
checked.
Select all data to be migrated. If available, you can also select the path to your backup
archives. These are then also migrated to the new WinCC version.
4. Click on the "Next" button. The "CCMigrator - Step 3 of 3" window opens. The Project
Siemens AG 2017 All rights reserved
5. If the migration has been completed successfully, the Project Migrator outputs the
following message: “Migration completed.”
Click the "OK" button to close the dialog.
With the Project Migrator, you can migrate the Runtime data, configuration data and
Note swapped-out Runtime data individually!
The Windows DDE channel is part of the scope of delivery because of the compatibility
with earlier WinCC versions. However, new links should be created via the "OPC"
channel.
Note During the migration, Runtime data and swapped-out data are stored in a
common database.
In the following cases, error messages or an abortion might occur during the migration:
Sybase 7 is not installed.
The migration computer does not have sufficient free disk space.
The project is not stored on the migration computer.
The project was created with a WinCC version lower than V5.0 SP2.
If an error occurs, fix the error in a copy of the migrated project. Restart the migration
afterwards.
An error in the migration of a component does not interrupt the migration. The Project
Migrator writes an error message in a diagnosis file and processes the next component.
When the migration has been completed, the Project Migrator outputs the following
message:
"Migration has finished with errors.
See <path>\CCMigrator.txt file for details."
Abortion of the migration
If the migration is aborted, the migration can be restarted after having fixed the error.
Do not use the incorrectly migrated project but a copy of the backup.
Diagnosis files of the Project Migrator
CCMigrator.txt
DTSPackages.log
The diagnosis files are stored in the project directory.
Diagnosis file for the conversion of pictures
If converting pictures, WinCC logs error messages and warnings in a log file with the
name CONVERT.LOG.
The CONVERT.LOG file can be found in the graphics directory "GraCS" of the current
WinCC project.
DBCreateDataSource
DBStartEngine
DBStopEngine
New functions
From WinCC V6.0 on, the following new functions are provided:
DBDataBaseAttach
DBDataBaseDetach
MldRegisterMsgEx
MldUnRegisterMsg
If you use channels in your migrated project which are no longer part of the scope
of delivery, the corresponding process variables will no longer be displayed in the
tag management after the migration.
When opening the tag management for the first time, a dialog appears in which you
are asked to subsequently install the driver. Corresponding recommendations can
be found in the Section "Differences between previous versions and WinCC V6.2".
It is also possible to reconfigure the process variables before the migration. Move
the process variables to another communication driver, e. g. OPC. However, you
must adapt the addressing in all moved process variables.
With the WinCC Configuration Tool you can reconfigure the process variables
more effectively. In the spreadsheet "Connections/Groups" of the data manager,
you can create new connections under a different communication driver. In the
spreadsheet "Tags" you can readdress the process variables and adapt the
properties.
The following channels are no longer part of the scope of delivery of WinCC V6.2:
Allen Bradley DH DH+ DH485
Allen Bradley Serial DF1
Applicom Multi Protocol Interface
GE Fanuc SNP SNPX
Mitsubishi FX
Modbus Protocol Suite
Modbus Serial
SIMATIC S5 PMC Ethernet
SIMATIC S5 PMC Profibus
SIPART
Note Alternatively, you can use OPC, for example. Some channels are supported as
add-ons. Further notes can be found in the Section "Differences between WinCC
V5 and WinCC V6" in the WinCC Information System.
VBA code
Before installing WinCC V6.2, save the "@GLOBAL.PDT" file. The file contains
your global VBA extensions, e. g. own menus. When installing WinCC V6.2, the file
is replaced.
Procedure
1. Navigate to the <WinCC-installation-directory\bin> directory and copy the
"@GLOBAL.PDT " file into another directory.
2. Install WinCC V6.2.
3. Copy the "@GLOBAL.PDT" file from your storage directory to <WinCC-
installation-directory\Templates >
4. Migrate the WinCC project.
Siemens AG 2017 All rights reserved
Note In principle, upgrading directly to WinCC V7.4 SP1 from V6.2 SP3 is possible.
We recommend an intermediate step via WinCC V7.2. For upgrading to V7.3 SE
and V7.4, please observe chapter 5.10.
Please note:
The Installation Notes for the installation of V7.4 SP1
The released operating systems for SIMATIC WinCC V7.x can be found in the Online
Support at the following link:
https://support.industry.siemens.com/cs/ww/en/view/64847781 .
Pictures must only be converted if they do not contain any "Unknown Objects".
"Unknown Objects" are picture objects whose associated object server is not
installed, e. g. unregistered ActiveX Controls.
Once pictures have been stored or converted with WinCC >=V7.2, it is no longer
possible to open the pictures with previous versions of WinCC.
Siemens AG 2017 All rights reserved
Note Please observe conversion functions from strings to floating-point numbers and
vice versa. Also refer to the FAQ
“How can you avoid truncation of the decimal places when converting a
character string into a floating-point number?”
https://support.industry.siemens.com/cs/ww/en/view/22277926
As of V7.2, the previous scripts for which adaptations from decimal comma to
decimal point have been made (according to the FAQ mentioned above) will
work only if the Runtime language is set to English (or to countries using the
decimal point).
If you have selected the dynamic Runtime language setting in V7.2, the
adaptations described in the FAQ mentioned above are no longer required.
However, this also means that the string has to be available in the country-
specific representation (e. g. in German Runtime language, strings with decimal
comma are expected whereas English Runtime language uses the decimal
point...).
Prerequisites
WinCC V7.2 Update 7 (With Update 7, it is possible to change the language
settings for C scripts that have already been migrated.) or V7.3 must be
installed.
WinCC Runtime is terminated.
Note If using an upgrade license, during an upgrade to WinCC V7.4 the authorizations
for WinCC <= V6.0 SP2 are converted to V7.4 licenses.
If you purchased a WinCC upgrade package V6.x, you upgrade your licenses with
the included Powerpack license data carrier with upgrade license. Your existing
licenses are upgraded to WinCC V7.0 licenses.
Siemens AG 2017 All rights reserved
Table 5-2
Step Procedure
Note From WinCC V7.0 on, SIMATIC Logon is part of the scope of delivery.
Table 5-3
Station Update Order number Description
SIMATIC WinCC RT Upgrade V7.3, from
V6.2 to V7.3, for SIMATIC WinCC
6AV6381-2AA07-3AX4 Runtime (RT)
Runtime (RT)
including Driver, Server, Redundancy,
User Archive, Connectivity Pack,
Server Connectivity Station
V6.2
V7.3 SIMATIC WinCC RC Upgrade V7.3, from
V6.2 to V7.3, for SIMATIC WinCC
Runtime & 6AV6381-2AB07-3AX4 Runtime & Configuration (RC)
Configuration
(RC) including Driver, Server, Redundancy,
User Archive, Connectivity Pack,
Connectivity Station
SIMATIC WinCC Runtime Client Upgrade
Client from V6.2 to V7.3 for SIMATIC WinCC RT
V6.2 Client Update 6AV6381-2CA07-3AK4 Clients
V7.3 including Driver, User Archive,
Connectivity Pack, Connectivity Station
Table 5-4
Station Update Order number Description
SIMATIC WinCC RT Upgrade V7.4 SP1,
Siemens AG 2017 All rights reserved
Pictures and libraries can also be converted manually and individually by selecting
the following function in the WinCC Explorer in the context menu of the Graphics
Designer:
Convert project library
Convert global library
Convert pictures
Notes Only convert pictures and libraries while the Runtime is not active.
In the case of multi-user systems, perform the conversion on the server.
The conversion of pictures during the migration cannot be interrupted.
The conversion of pictures and libraries during the migration is aborted after 18
hours.
If an error occurs during the migration of pictures and libraries via the Project
Migrator, the migration is not interrupted. The Project Migrator writes an error
message in a diagnosis file and processes the next component. When the migration
has been completed, the Project Migrator indicates the error (see Section 5.6).
Siemens AG 2017 All rights reserved
Table 5-5
No. Procedure
1. In the Start menu of the operating system, open “Siemens Automation > Simatic
> WinCC > Tools > Project Migrator". The start window of the Project Migrator
"CCMigrator - Step 1 of 2" opens.
Siemens AG 2017 All rights reserved
2. Use the button to select the project directory in which the V6 project is stored.
Select the *.mcp file.
No. Procedure
3. Click the “Migrate” button. The Project Migrator starts the migration and ticks off
all steps of the project which have been migrated.
Siemens AG 2017 All rights reserved
The "CCMigrator - Step 2 of 2" window opens. The Project Migrator shows the
steps of the migration. The Project Migrator indicates the estimated duration:
"Estimated time to complete migration: XX hour(s) XX minute(s)". However, this
is just an approximate value. The migration of a project might take several hours.
No. Procedure
4. If the migration has been completed successfully, the Project Migrator outputs
the following message: “Migration completed.”
Siemens AG 2017 All rights reserved
In the following cases, error messages or an abortion might occur during the migration:
The migration computer does not have sufficient free disk space.
The project is not stored on the migration computer.
The project was created with a WinCC version lower than V6.0.
If an error occurs, fix the error in a copy of the migrated project. Restart the migration
afterwards.
An error in the migration of a component does not interrupt the migration. The Project
Migrator writes an error message in a diagnosis file and processes the next component.
When the migration has been completed, the Project Migrator outputs the following
message:
"Migration has finished with errors.
See <path>\CCMigrator.txt file for details."
If the migration is aborted, the migration can be restarted after having fixed the error. Do
not use the incorrectly migrated project but a copy of the backup.
The Project Migrator creates two diagnosis files:
CCMigrator.txt
DTSPackages.log
The diagnosis files are stored in the project directory of the migrated project. You can view
the files with any text editor.
CCMigrator.txt
The "CCMigrator.txt" file contains general information: Project name, project type,
type of migrated data, start and end of migration. In the case of a successful
migration, the file contains the note: "Migration succeeded.".
If an error occurs during the migration, the Project Migrator additionally writes an
error message in the file. Details can be found in the "DTSPackages.log" file.
Diagnosis file
The Project Migrator creates the diagnosis file “MigratorLog.txt” in the project
Siemens AG 2017 All rights reserved
directory of the migrated project. You can view the file with 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 the migration, the Project Migrator additionally writes an
error message in the file.
Please note:
The Installation Notes for the installation of V7.4 SP1
The released operating systems for SIMATIC WinCC V7.x can be found in the Online
Support at the following link:
https://support.industry.siemens.com/cs/ww/en/view/64847781 .
How do you retro-install .NET Framework 3.5 on SIMATIC IPCs with Windows 10 or
Windows Server 2012? (e. g. for WinCC TIA Portal, STEP 7 TIA Portal or WinCC V7):
https://support.industry.siemens.com/cs/de/en/view/109745988
Pictures must only be converted if they do not contain any "Unknown Objects".
"Unknown Objects" are picture objects whose associated object server is not
installed, e. g. unregistered ActiveX Controls.
Once pictures have been stored or converted with WinCC V7.4 SP1, it is no longer
possible to open the pictures with previous versions of WinCC.
The conversion of pictures and libraries cannot be undone. A downward
conversion of WinCC V7.4 SP1 pictures back to WinCC V6.x pictures is not
Siemens AG 2017 All rights reserved
possible.
Note Do not upgrade pictures and scripts from previous versions by opening and
saving them in the “Graphics Designer” and “Global Script” editors, but convert
the project data before.
Note The WinCC user must no longer be a member of the user group
“SQLServerMSSQLUser$<RECHNERNAME>$WINCC”.
If you migrate projects that have been created earlier than WinCC V7.2, remove
the WinCC user from this group.
In WinCC projects earlier than V7.2, you will find the use group under the name
"SQLServer2005MSSQLUser$<RECHNERNAME>$WINCC".
Source versions
The following versions can be upgraded directly to WinCC V7.2:
WinCC V7.0
WinCC V7.0 SP1
WinCC V7.0 SP2
WinCC V7.0 SP3
Target version
WinCC V7.2
Required software
Table 5-6
Product Order number Note
WinCC V7.2 https://eb.automation.s
and the last available iemens.com/
update
Microsoft SQL Server Is supplied with WinCC V7.2.
2008 R2 SP2
Siemens AG 2017 All rights reserved
Source versions
The following versions can be upgraded directly to WinCC V7.2:
WinCC V7.2
WinCC V7.3 SE
Target version
You can migrate a WinCC project on any computer on which WinCC V7.4 has
been installed. The WinCC Project Migrator is included in the standard installation
scope of WinCC V7.4.
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.
As of WinCC V7, several WinCC controls have been replaced with new WinCC
controls. In migrated projects, you can still use these controls.
The documentation regarding the replaced WinCC controls can be found following
the description of the current WinCC controls.
Note Update licenses for the options Redundancy, User Archive and Server are
contained in the update packages RC and RT.
Siemens AG 2017 All rights reserved
Table 6-3
Station Update Order number Description
SIMATIC WinCC RT Upgrade V7.4 SP1,
from V7.x to V7.4 SP1, for SIMATIC
6AV6381-2AA07-4AK3 WinCC Runtime (RT)
Runtime (RT)
including Driver, Server, Redundancy,
User Archive, Connectivity Pack,
Server Connectivity Station
V7.X
V7.4 SP1 SIMATIC WinCC RC Upgrade V7.4 SP1,
from V7.x to V7.4 SP1, for SIMATIC
Runtime & 6AV6381-2AB07-4AK3 WinCC Runtime & Configuration (RC)
Configuration
(RC) including Driver, Server, Redundancy,
User Archive, Connectivity Pack,
Connectivity Station
SIMATIC WinCC Runtime Client Upgrade
Client from V7.x to V7.4 SP1 for SIMATIC
V7.x Client Update 6AV6381-2CB07-4AK3 WinCC RT Clients
V7.4 SP1 including Driver, User Archive,
Connectivity Pack, Connectivity Station
7 Appendix
7.1 Service and support
Industry Online Support
Do you have any questions or need support?
Siemens Industry Online Support offers access to our entire service and support
know-how as well as to our services.
Siemens Industry Online Support is the central address for information on our
products, solutions and services.
Product information, manuals, downloads, FAQs and application examples – all
information is accessible with just a few mouse clicks at
https://support.industry.siemens.com
Technical Support
Siemens Industry's Technical Support offers quick and competent support
regarding all technical queries with numerous tailor-made offers
– from basic support right up to individual support contracts.
Please address your requests to the Technical Support via the web form:
www.siemens.de/industry/supportrequest
Service offer
Siemens AG 2017 All rights reserved
Our service offer comprises, among other things, the following services:
Product Training
Plant Data Services
Spare Parts Services
Repair Services
Field & Maintenance Services
Retrofit & Modernization Services
Service Programs & Agreements
Detailed information on our service offer is available in the Service Catalog:
https://support.industry.siemens.com/cs/sc