TIA Portal V20 and later supports configuration and programming of the S7‑1200 G2 CPU. Older versions of the TIA Portal do not support the S7-1200 G2 family.
Working with an older project and adding S7-1200 G2 CPUs
You might want to add S7-1200 G2 CPUs to an existing application that uses other CPUs and that was created in an older version of the TIA Portal. To do this, you will need a TIA Portal V20 project.
You can open a project in TIA Portal V20 from a V13 SP2 or later project and upgrade the project to V20. The TIA Portal dialogs guide you in upgrading the project if it is possible. You can then add the S7-1200 G2 CPUs for your application and perform these tasks in the TIA Portal:
Configure the S7-1200 G2 devices.
Program the logic for the S7-1200 G2 CPUs.
Download the hardware configuration and software to the S7‑1200 CPUs.
Risks with editing and executing program logic from versions older than TIA Portal V13
Do not attempt to upgrade a project that is V13 or older to the current version by copying program logic from one CPU to an S7‑1200 G2 CPU.
You must first open the V13 project in TIA Portal V13 SP2 and upgrade the project to V13 SP2. Then you can open the latest version of the TIA Portal and upgrade the project from V13 SP2 project to V20.
Executing STEP 7 program logic that you copied from an older version to a newer version can cause unpredictable program behavior and can result in death or severe personal injury.
Migrating program logic from an S7‑1200 CPU to an S7-1200 G2 CPU
If you want to migrate existing program logic from an S7‑1200 CPU to an S7-1200 G2 CPU, note that there is no device exchange from any type of CPU to an S7‑1200 G2 CPU. Note also that the instruction set and library support in S7‑1200 G2 has differences from other CPU families. To migrate program logic from an S7‑1200 CPU to an S7-1200 G2 CPU, follow these steps:
Add an S7‑1200 G2 CPU to the upgraded project that has S7‑1200 CPUs and configure the device. Be sure to observe the Warning above when upgrading a project.
Copy the program blocks from the S7-1200 CPU to the program blocks of the S7‑1200 G2 CPU.
Create and edit any PLC tag tables that you need.
Attempt to compile the program, choosing "rebuild all" for both hardware and software.
Resolve any memory and I/O addressing differences between the two CPUs. Resolve any instruction differences between the two CPUs. Continue resolving compiler errors until the program compiles.