Cookies are important for this site to function properly, to guarantee your safety, and to provide you with the best experience. By clicking OK, you accept all cookies. For more information, please access our Privacy Policy.
Table of Contents
Tutorials / 
Siemens S7-300 to S7-1500 PLC migration using SIMATIC Manager and TIA Portal
Advanced

Siemens S7-300 to S7-1500 PLC migration using SIMATIC Manager and TIA Portal

Siemens
TIA Portal
S7-300
S7-1500
STEP 7

Introduction

S7-300 PLCs have been a cornerstone of industrial automation for many years, but as technology advances, these trusted workhorses will become obsolete starting in October 2023. To keep your automation systems up to date and leverage the latest capabilities, it's essential to migrate to modern PLC platforms like the S7-1500.

The migration process becomes crucial as it allows you to harness the benefits of improved performance, increased functionality, and future-proofing your automation systems. The S7-1500 series offers enhanced capabilities, including faster processing speeds, improved diagnostics, and a more extensive range of communication options. By transitioning your existing S7-300 project to an S7-1500, you can ensure the longevity and efficiency of your industrial automation systems.

In this tutorial, you will learn how to initiate the migration from a pre-configured S7-300 station in SIMATIC Manager. You will take the first step by archiving the project to convert it into a zipped file. Then, you will explore the process of migrating the archived project into the TIA Portal, preserving your program's integrity and structure. You will also discover how to replace the unspecific CPU model with an S7-1500 CPU, reconfiguring the hardware to meet your specific requirements. Throughout the tutorial, we will emphasize the importance of manually adding missing signal modules to ensure the seamless functionality of the newly migrated S7-1500 PLC. 

Prerequisites

To follow this tutorial, you will need an installation of SIMATIC Manager (Step 7) and TIA Portal. Here, we will be using versions 5.6 and 18, respectively. No additional hardware or software are required.

S7-300 project using SIMATIC Manager

For this tutorial, we will use a simple SIMATIC Manager project that contains an S7-300 station that is already configured. This station comes with its DI/DQ/AI/AQ modules and a simple program. We will execute the general steps of the migration so you can apply it to any other project. First, we need to check its hardware configuration. Open the project, select the station, and click on "Hardware."

Figure 1.1 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | SIMATIC Manager project
Figure 1.1 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | SIMATIC Manager project

Once the hardware configuration opens, take note of the modules used in the station and their I/Q addresses. We will need these later in the tutorial.

Figure 1.2 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Hardware configuration
Figure 1.2 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Hardware configuration

Now, let’s head to the station’s program blocks. For this example, the program will contain a motor control application similar to the one we programmed in the SIMATIC Manager programming tutorial. 

Figure 1.3 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Project’s blocks
Figure 1.3 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Project’s blocks

The program contains three blocks:

  • OB1: Main cyclic bock where FB1 will be called.
  • FB1: Function block containing the motor control application.
  • DB1: Instance Data block of FB1.¬†
Figure 1.4 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | FB1
Figure 1.4 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | FB1
Figure 1.5 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | OB1
Figure 1.5 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | OB1
Figure 1.6 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Symbol table
Figure 1.6 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Symbol table

Archiving the SIMATIC Manager project

The next step is to archive the project to convert it to a zipped file. Inside this file, we will find all the content of the project so we can export it to TIA Portal later. First, open the ‚ÄúFile‚ÄĚ menu and select ‚ÄúArchive‚Ķ‚ÄĚ

Figure 2.1 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Accessing the archiving menu
Figure 2.1 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Accessing the archiving menu

An archiving window will open where you can select the project to archive. Select the current project and click on ‚ÄúOK.‚ÄĚ

Figure 2.2 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Selecting the target project
Figure 2.2 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Selecting the target project

Next, select the location for the zipped file that will be created and click on ‚ÄúSave.‚ÄĚ

Figure 2.3 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Selecting the path
Figure 2.3 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Selecting the path

After that, we have to select the type of data media. Simply keep it at ‚ÄúNo.‚ÄĚ

Figure 2.4 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Archiving options
Figure 2.4 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Archiving options

If you go to the location you specified earlier, you will find that the archived project has been created.

Figure 2.5 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Archived zipped file
Figure 2.5 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Archived zipped file

Unzip the folder inside the archived file in the location of your choice. 

Figure 2.6 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Unzipped folder
Figure 2.6 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Unzipped folder

If you open this folder, you will find various folders and files essential for the project. Especially the .s7p file that will be required later in the tutorial.

Figure 2.7 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Project files
Figure 2.7 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Project files

Migrating the project to TIA Portal

Once done with the project folder, we can import it into TIA Portal. First, open TIA Portal and click on ‚ÄúMigrate project‚ÄĚ on the start page.

Figure 3.1 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | TIA Portal’s portal view
Figure 3.1 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | TIA Portal’s portal view

On this page, we need to specify the location of the unzipped project folder. Click on the ‚Äú...‚ÄĚ button in the ‚ÄúSource path‚ÄĚ section.

Figure 3.2 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migrate project
Figure 3.2 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migrate project

Browse to the unzipped folder and select the .s7p file. Then, click on ‚ÄúOK.‚ÄĚ

Figure 3.3 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Selecting the target project location
Figure 3.3 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Selecting the target project location

Once done, the project is ready to be migrated. Right under the source path section, you will find a ‚ÄúInclude hardware configuration‚ÄĚ checkbox. Enabling it will include the hardware configuration in addition to the PLC program in the migration. However, doing so may cause some compatibility issues. Let‚Äôs try to see what happens if it is enabled. Click on the checkbox, then, on the ‚ÄúMigrate‚ÄĚ button.

Figure 3.4 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Including the hardware configuration
Figure 3.4 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Including the hardware configuration

After that, you should be redirected to the ‚ÄúInfo‚ÄĚ tab of the project with multiple errors displayed indicating that the hardware of the project couldn‚Äôt be migrated. This is because these hardware components are not present in the TIA Portal catalog so they cannot be added.¬†

Figure 3.5 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migration errors
Figure 3.5 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migration errors

The solution is to never include the hardware configuration when migrating and add it later manually. Go back to the Portal view and repeat the previous steps but without enabling the ‚ÄúInclude hardware configuration‚ÄĚ checkbox.

Figure 3.6 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Removing the hardware configuration from the migration
Figure 3.6 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Removing the hardware configuration from the migration

This time, the migration should happen normally. Wait for the migration process to be completed.

Figure 3.7 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migration progress
Figure 3.7 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migration progress

Once it is done, you will have a message indicating that the migration is complete with warnings.

Figure 3.8 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migration complete
Figure 3.8 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migration complete

The warnings simply inform you that the CPU has been replaced with an unspecific CPU model that you can change later. Also, you should find that a station has been added to the Project tree which is the actual migrated station.

Figure 3.9 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migration warnings
Figure 3.9 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migration warnings

Replacing the CPU model with an S7-1500

Next, we need to take a look at the hardware configuration and change the CPU model. Open the station in the Project tree and click on ‚ÄúDevice configuration.‚ÄĚ

Figure 4.1 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Opening the device configuration

Here, you will find the hardware configuration of the current project. As you can notice, an unspecific CPU is present in the rack configuration (displayed in white color). 

Figure 4.2 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Unspecific CPU
Figure 4.2 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Unspecific CPU

Now, we need to replace this unspecific CPU with the S7-1500 CPU model you will use. To do this, right-click on the CPU and bring your attention to the two first options. ‚ÄúChange device‚ÄĚ allows you to replace this CPU with another S7-300 CPU. Since 300s are being dropped by Siemens, doing this would not be relevant. In that case, we need to select ‚ÄúMigrate to S7-1500.‚ÄĚ

Figure 4.3 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migrating to S7-1500
Figure 4.3 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migrating to S7-1500

A ‚ÄúMigrate to S7-1500‚ÄĚ window will open where you can find the hardware catalog for the S7-1500 CPUs. Here, we can select the target 1500 CPU model we want to migrate to.

Figure 4.4 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migrate to S7-1500 window
Figure 4.4 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migrate to S7-1500 window

Browse the catalog until you find the CPU model you want to use in this project For this example, we will use a 1512-2 PN CPU. Once done, click on ‚ÄúOK.‚ÄĚ

Figure 4.5 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Selecting the new CPU model
Figure 4.5 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Selecting the new CPU model

After that, a warning window will appear indicating that you will need to test the program after migration. Click on ‚ÄúOK.‚ÄĚ

Figure 4.6 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Warning message
Figure 4.6 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Warning message

Another window will appear right after where you have to specify the communication instructions settings. Keep the ‚ÄúUse new PtP instructions for the integrated communication modules of the S7-1500‚ÄĚ option enabled.

Figure 4.7 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migration settings
Figure 4.7 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Migration settings

And the CPU migration is done.

Figure 4.8 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | CPU migration complete
Figure 4.8 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | CPU migration complete

You should find the newly selected S7-1500 CPU displayed in the rack configuration.

Figure 4.9 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | New CPU in the rack configuration
Figure 4.9 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | New CPU in the rack configuration

After that, we can open the PLC programs and compare them to the ones in SIMATIC Manager to check if the migration did not alter any of them.

Figure 4.10 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | OB1
Figure 4.10 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | OB1
Figure 4.11 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | FB1
Figure 4.11 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | FB1
Figure 4.12 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | PLC Tags
Figure 4.12 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | PLC Tags

Adding the missing signal modules

Now, let’s go back to the hardware configuration. As we mentioned earlier, there were four signal modules present in the original project (DI, DQ, AI, and AQ). Since we didn’t include the hardware configuration during migration, we have to add these modules manually.

Figure 5.1 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Adding the missing signal modules
Figure 5.1 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Adding the missing signal modules

The first module we need to add is the 16*DI module. Browse the catalog and add a similar module to the next available slot. After that, go to the module’s parameters and check its IO addresses. It must match the addresses of the original module.

Figure 5.2 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Adding the DI module
Figure 5.2 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Adding the DI module

Repeat this last step to add the three other modules. Be sure to always check the IO addresses of each module so it matches the addresses of the original modules.

Figure 5.3 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Adding the DO module
Figure 5.3 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Adding the DO module
Figure 5.4 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Adding the AI module
Figure 5.4 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Adding the AI module
Figure 5.5 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Adding the AQ module
Figure 5.5 - Siemens S7-300 to S7-1500 PLC Migration using SIMATIC Manager and TIA Portal | Adding the AQ module

Conclusion

In this tutorial, you learned how to migrate an existing S7-300 project in SIMATIC Manager to a cutting-edge S7-1500 PLC using the TIA Portal. We covered the key steps of this migration process, including archiving the project, importing it into TIA Portal, replacing the CPU model, and manually adding missing signal modules to ensure a seamless transition. By following these steps, you can successfully modernize your industrial automation systems, harnessing the enhanced capabilities and features of the S7-1500 series.

The importance of migrating old PLC systems cannot be overstated. As technology evolves, legacy PLCs, like the S7-300, face challenges such as diminishing support, limited spare parts availability, and reduced compatibility with modern communication protocols. Upgrading to newer PLC models, such as the S7-1500, not only ensures the longevity and reliability of your automation systems but also unlocks a range of benefits, including increased processing power, improved diagnostics, and enhanced connectivity options. Moreover, it positions your industrial processes for future advancements, making your operations more agile and adaptable to changing industrial requirements.