S7-1200 Project Upload: Resolving TIA Portal V11 to V12 Conflicts

David Krause16 min read
S7-1200SiemensTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

S7-1200 Project Upload: Resolving TIA Portal V11 to V12 Compatibility Conflicts

When a SIMATIC S7-1200 CPU (with attached SM 1223 16DI/16DO and SM 1232 8AO signal modules) was programmed originally in STEP 7 (TIA Portal) V11 SP2, and the only available engineering license is STEP 7 Basic V12 SP1, a direct project transfer is not possible. The result is a project file that opens in V12 but generates multiple "conflicts" during compile or load, plus a hardware catalog that may not contain the original firmware version of the S7-1200 CPU. This article documents the official Siemens procedure to recover the project as an upload from the physical CPU, resolve the version-related diagnostics, and produce a verified backup.

1. Problem Description and Symptoms

The reported fault pattern is consistent across the S7-1200 G1 and G2 families when the source project and the engineering tool differ by major service-pack boundaries:

  • The .ap11 / .ap12 project file cannot be opened directly because the file format is not backward-compatible. TIA V12 SP1 can read V11 SP2 archives only after an explicit upgrade step, and it does not read a V11 project from disk without a TIA V11 installation present on the same PC.
  • After a forced upload from the online device, the offline blocks load with yellow warning icons in the project tree, indicating type-incompatible or version-incompatible blocks.
  • The hardware catalog in TIA V12 SP1 may not show the exact CPU order number (for example, 6ES7214-1AE30-0XB0) used in the original V11 project, producing the message "Unknown or incompatible version of CPU configuration" when the user attempts to compile or download.
  • Compile of the device configuration reports inconsistencies on the SM 1223 DI/DO module and SM 1232 AO module because the original slot assignment was preserved but the version firmware range was re-mapped.
Engineering note: The S7-1200 G1 series (order numbers ending in -0XB0) shipped with firmware V1.x through V4.x. TIA Portal V12 SP1 supports firmware up to V4.2 on the G1 family. If the CPU reports firmware V4.4 or higher on the online diagnostic, install the matching HSP (Hardware Support Package) before attempting upload, otherwise the catalog will not contain the device.

2. Root Cause Analysis

Three root causes typically overlap in this scenario:

  1. Project format incompatibility. The TIA Portal project format is not reverse-compatible. STEP 7 V12 SP1 cannot natively consume a project authored and saved in V11 SP2. The supported workflow is online upload from CPU, not offline file conversion. The Siemens Knowledge Base entry "How do you load a project into an S7-1200 CPU if its firmware version cannot be selected in the hardware catalog of STEP 7 (TIA Portal)?" describes the recommended recovery path.
  2. Firmware not in catalog. TIA V12 SP1's hardware catalog is locked at the support level of its release. Newer firmware variants of the S7-1200 (e.g., 6ES7214-1AG40-0XB0 firmware V4.4, or 6ES7215-1AG40-0XB0 firmware V4.4) require a corresponding HSP installed under Options > Support Packages. Without the HSP, the catalog only lists firmware up to a maximum revision, and the compile will fail.
  3. Block-time-stamp and type conflicts. Uploaded blocks retain their original time stamps and interface signatures. If the offline project was edited and saved in V12 prior to upload, then re-compiled after upload, the signature comparison fails and the user sees yellow warning triangles. Block consistency must be re-established by a full recompile and a download to the CPU (or by accepting the online blocks as the source of truth).

3. Prerequisites

  • STEP 7 Basic V12 SP1 installed and licensed on the engineering PC.
  • All HSPs required for the actual S7-1200 CPU firmware installed via Options > Support Packages. Open Online > Accessible Devices first to read the CPU's exact order number and firmware version.
  • Ethernet or PROFINET cable between the PG/PC and the S7-1200 CPU. The S7-1200 has a single PROFINET port (X1) on the CPU; do not use the CM/CP module port for engineering.
  • PG/PC Ethernet interface configured to the same subnet as the CPU (default 192.168.0.1/24, CPU default 192.168.0.1 — change PG to 192.168.0.2).
  • Read access to the CPU's password protection level (if project is read-protected, the password is required for full block upload).
  • Siemens SIMATIC Automation Tool or a card reader if a SIMATIC memory card is in the CPU; the card must be removed before a memory reset.

4. Step-by-Step Recovery Procedure

4.1 Read the actual CPU identity before opening a project

  1. Start TIA Portal V12 SP1 and select Online > Accessible Devices.
  2. Select the PG/PC interface (e.g., Intel(R) Ethernet Connection I219-V — Realtek, or your PROFINET adapter).
  3. Click Start Search. The CPU appears with its MAC, IP, and device name.
  4. Double-click the CPU. TIA opens the Online & Diagnostics view. Note the Order number, Firmware (e.g., V4.2.1), and Serial number directly from the Diagnostic buffer and the Online > Device Information view.

4.2 Install the matching HSP if the catalog lacks the firmware

  1. Open Options > Support Packages.
  2. Connect to the Siemens support server or browse to a local HSP directory.
  3. Search for the exact order number identified in step 4.1.
  4. Install the HSP. TIA Portal restarts.
  5. Verify the new firmware appears in Hardware Catalog > PLC > SIMATIC S7-1200 > CPU.

4.3 Create a new empty project and upload from the CPU

  1. In TIA Portal V12 SP1 select Project > New. Name the project, for example S71200_Backup_2024.
  2. Insert a new S7-1200 station: Add new device > SIMATIC S7-1200 > CPU > <exact order number> > <exact firmware>.
  3. Select the CPU in the project tree, then select Online > Compile and download > Software (only upload) in the toolbar — or right-click the device and choose Upload from device (software).
  4. In the Upload preview dialog, mark Continue without specifying a password if the project has no protection, or enter the password.
  5. Click Upload. TIA transfers all OB, FB, FC, DB, SDT, and technology objects to the offline project.

4.4 Reconstitute the hardware configuration of the attached I/O

The user reported a configuration with one SM 1223 (16 digital inputs / 16 digital outputs) and one SM 1232 (8 analog outputs). After the upload these modules appear in slot 1 and slot 2 of the device view. Verify:

  1. Open Device configuration and confirm the modules match the order numbers actually inserted in the physical rack. The exact catalog numbers to verify against are:
Slot Function Typical order number (verify with online diagnostic) Catalog path in TIA V12 SP1
0 CPU 1214C / 1215C 6ES7214-1AE30-0XB0 or 6ES7215-1AG40-0XB0 PLC > SIMATIC S7-1200 > CPU
1 SM 1223 DI16/DQ16 6ES7223-1PL30-0XB0 (or -1BL30 variant) PLC > SIMATIC S7-1200 > SM
2 SM 1232 AQ8 6ES7232-4HF30-0XB0 (8 AO, ±10V / 0-20mA) PLC > SIMATIC S7-1200 > SM
  1. For the SM 1223, open Properties > Digital inputs and verify Input filter (typical 6.4 ms), Enable diagnostics, and the Short-circuit / Open-circuit enable flags. These match the original V11 settings only if the diagnostics-enabled flags are checked in the original hardware configuration; otherwise the original V11 project had them disabled, and the new offline view should be the same.
  2. For the SM 1232 AQ8, open Properties > Outputs and verify the output type per channel (voltage 0-10V, ±10V, or current 0/4-20mA). For a 4-wire current loop set Output type to Current and Range to 0-20 mA or 4-20 mA. For a 2-wire loop, the SM 1232 must be configured to voltage and an external resistor used, since the module does not source loop power.
  3. Reconcile any compile warnings. Right-click the device and choose Compile > Hardware (rebuild all). The output window lists each warning with a hyperlink; resolve each before download.

4.5 Address any block conflicts and re-sign blocks

  1. Open the Program blocks folder. Blocks with type mismatches display a yellow exclamation triangle. Select them in turn.
  2. For FB blocks with incompatible interface, open the FB, delete the local instance DB, re-compile, and let TIA regenerate the instance. Note: this changes the block interface signature. If the FB is also called from other code, the call sites must be re-wired.
  3. For DB blocks with Structure mismatch, open the DB, switch to Snapshot / Actual values view, and confirm the UDTs referenced by the DB are present in the project. If the UDT was not uploaded (because it was a system UDT not generated by user code), insert it manually from the V12 standard library.
  4. After all blocks compile clean, perform a Project > Compile all > Software and hardware.

4.6 Resolve the "Unknown or incompatible version of CPU configuration" error

The Siemens TIA documentation portal entry CPU error behavior lists the canonical recovery actions for this message. Apply them in order:

  1. Remove the transfer card. Power off the CPU, pull the SIMATIC memory card if present, and power back on. A transfer card can force the CPU into firmware update mode on the next power-up and blocks normal program load.
  2. STOP to RUN transition. With the PG connected online, switch the CPU from RUN to STOP via Online > Stop CPU, then back to RUN. If the configuration version error is non-fatal, the transition clears it.
  3. Memory reset (MRES). With the CPU in STOP, select Online > Memory and reset > Reset to factory settings in TIA Portal. Confirm with the on-CPU MRES selector if your CPU has the physical selector (S7-1200 G2 retains MRES as a function but no longer has a physical selector switch). After reset, repeat the upload in 4.3.
  4. Cycle power. After the MRES or factory reset, power-cycle the CPU to clear the diagnostic buffer and re-init the PROFINET interface.

4.7 Compile and download the recovered project back to the CPU

  1. Right-click the device and select Compile > Hardware and software (rebuild all).
  2. Select Online > Download to device. Choose the PG/PC interface, click Start search, select the CPU, and click Load.
  3. Confirm the overwrite prompt for STOP/RUN. Recommended: select Stop CPU before download and Start CPU after download.
  4. After load, verify the diagnostic buffer is clean. Online & Diagnostics > Diagnostics buffer should show only the entry for the download event and no red entries.

5. Verification and Acceptance Test

Once the upload and re-compile are clean, run the following acceptance checks before treating the file as a valid backup:

  1. Block consistency. Online > Compare offline/online. Every block should report identical. Any different status indicates the offline file is not in sync and the backup is not yet valid.
  2. Hardware consistency. In the device view, Right-click > Compare with online. Slot configuration, module order numbers, and firmware versions must all be identical.
  3. I/O wiring check. With the CPU in RUN, force each digital input via a jumper or sensor and watch the corresponding input LED and the tag in an online watch table. For the SM 1232 AQ8, write a known value (e.g., 0.0 V or 0.0 mA, then full-scale) and read back with a multimeter. The output should reach ±0.5% of full scale.
  4. Diagnostics buffer. Open the buffer and confirm no entries for I/O faults, configuration errors, or PROFINET station failure. The only events present should be the most recent power-on, mode transitions, and the download event.
  5. Watch table smoke test. Create a watch table with all process-critical tags and verify the values are being updated at the expected scan cycle.

6. Creating the Backup File

  1. With the project consistent, select Project > Archive. Use the format *.ap12 (TIA V12 archive) or *.zap12 (compressed).
  2. Save the archive to a network share and to a removable medium. Do not save only to the local hard disk.
  3. Document the project name, CPU order number, CPU firmware, and the TIA Portal version used to create the archive inside a readme.txt stored next to the archive.
  4. If long-term support is required, repeat the upgrade to a current TIA Portal version (V18 / V19) by opening the V12 archive in that version and saving forward. V11 archives cannot be opened directly by V18 — they must move forward one major at a time, V11 → V12 → V13 → V14 → V15 → V16 → V17 → V18.

7. Troubleshooting Matrix

Symptom Likely cause Action Reference
"Unknown or incompatible version of CPU configuration" Transfer card inserted; firmware not in catalog Remove card, install HSP, MRES, cycle power CPU error behavior
CPU not found in accessible devices Wrong subnet or wrong PG/PC interface selected Set PG/PC to 192.168.0.2/24, choose PROFINET interface System manual, chapter networking
Upload fails with password error Read/write protection active in the V11 project Enter the correct password; if unknown, factory reset clears the project but also all passwords S7-1200 system manual, security chapter
Compile error: SM 1223 / SM 1232 not in catalog Module firmware not in V12 SP1 catalog Install matching HSP, re-compile KB 109817857
Block shows yellow triangle after upload Interface signature change between V11 and V12 Recompile, accept regenerated instance DBs, re-download TIA Portal help: "Compiling and loading blocks"
Download fails with "Firmware version conflict" CPU firmware newer than catalog max Install HSP for that firmware; do not downgrade CPU firmware unless the original V11 project ran on that older firmware KB 109817857
Analog output reads full scale regardless of value Output type set to voltage but wiring is current loop (or vice versa) Set output type to match wiring; for 4-20 mA loops check the load resistance is below 600 Ω SM 1232 module data sheet

8. Alternate Paths and Field-Proven Caveats

Using the SIMATIC Memory Card as an intermediate. If the CPU itself is locked (forgotten password) but the user can read the card, the project can be recovered by reading the card with a card reader. The card is formatted as FAT16/32 and contains the project under the SIMATIC.S7S directory and the S7_JOB.S7S file. Insert the card into a card reader, copy the contents, and open the project in TIA V12 SP1 directly. This path is not officially documented by Siemens for the S7-1200 G1 series but is widely used in the field; the G2 series (firmware V4.5+) tightens the file system and the S7S directory may be encrypted.

Using a virtual TIA V11 environment. Another approach is to install TIA V11 SP2 alongside V12 SP1 on a separate VM or partition, upload the project in V11, archive it, then open the archive in V12. This is the only way to preserve original V11 time stamps and block signatures. It is the recommended path when block signatures are legally significant (e.g., validated processes).

Field caveat — Siemens Automation License Manager (ALM). The V12 SP1 license is a floating or single-seat license managed by ALM. Confirm the license has not expired; an expired license still allows project open and edit but blocks compile and download. Move the license to the engineering PC or activate a borrowed license via the ALM before attempting the load.

Field caveat — password on the CPU. The S7-1200 supports a CPU-level read/write password. If the original V11 project set Access level = Read protection and the password is lost, the only recovery is a factory reset (MRES with the selector on a G1, or the menu option on a G2). The factory reset erases the program from the CPU, so this path destroys the source — only do it if a project file is already in hand.

9. Firmware and Catalog Compatibility Reference

S7-1200 generation Typical order number suffix Firmware range TIA V12 SP1 support TIA V18 support
G1 (DC/DC/DC) -0XB0 V1.0 – V4.2 Yes, with HSP for V4.x Yes
G1 (AC/DC/RLY) -0XB0 V1.0 – V4.2 Yes, with HSP Yes
G2 (F-variant) -0XB0 / -0XB1 V4.4 – V4.6 No (V12 SP1 predates G2) Yes, with V18 HSP
G2 (standard) -0XB0 / -0XB1 V4.4 – V4.6 No Yes, with V18 HSP

Rule of thumb. If the S7-1200 CPU is a G2 unit (order number contains 6ES721x-1xxxxx-0XB1 or -0XB2, firmware V4.4 or higher), TIA V12 SP1 cannot program it at all. The minimum TIA version for G2 is V15.1 with the matching G2 HSP. In that case the only recovery path for the V11 project is the upgrade path through the intermediate TIA versions on a different PC, or a vendor service that retains older engineering seats.

10. Diagnostic Buffer Quick Reference

The S7-1200 diagnostics buffer holds the most recent 50 events in a ring. The following entries are relevant to the upload/load flow:

Event ID (hex) Meaning Action
0x1381 Manual restart performed Informational; no action
0x4304 Configuration error in module Check slot assignment and module order number; reconcile device configuration
0x4346 Module removed or wrong module inserted Re-insert correct module or update device configuration
0x4355 Parameter assignment error on module Re-compile device configuration; check output range and diagnostics flags
0x4560 PROFINET station failure Check Ethernet cable, switch, and IP configuration
0x49FF Firmware update in progress Wait for completion; do not power-cycle

11. Field Commissioning Checklist

  1. Verify CPU order number, firmware, and serial number match the documentation plate.
  2. Verify the SM 1223 and SM 1232 order numbers and slot positions match the device configuration.
  3. Configure the PG/PC interface to 192.168.0.2, mask 255.255.255.0.
  4. Read the CPU via Online > Accessible Devices and record the diagnostic buffer top events.
  5. Install all required HSPs.
  6. Create a new project, upload blocks from CPU, recompile, and re-download.
  7. Run online/offline compare and resolve all differences.
  8. Run the I/O smoke test on every channel.
  9. Archive the project to network and removable media.
  10. Update the plant documentation to record the new backup location and TIA version.
Safety reminder. When forcing outputs or inputs on a running process, ensure the machine is in a safe state (emergency stop active, guards closed, drive enable removed). Forcing an analog output to 10 V on a control loop with a live actuator can drive the actuator to its mechanical limit and damage equipment. Use the TIA Watch table in Modify mode only when authorized and only with the process in a safe state.

Can I open a TIA V11 project directly in TIA V12 SP1?

No. TIA Portal project formats are not reverse-compatible. The only supported path is to upload the project from the physical S7-1200 CPU using TIA V12 SP1, or to install TIA V11 SP2 on a separate PC and archive the project there before opening the archive in V12.

The hardware catalog in V12 SP1 does not show my S7-1200 firmware — what do I do?

Install the matching Hardware Support Package (HSP) via Options > Support Packages. The HSP adds the order number and firmware revision to the catalog. For a G2 CPU (firmware V4.4 or higher), TIA V12 SP1 cannot support the device at all — upgrade the engineering seat to TIA V15.1 or later with the G2 HSP.

What does the error "Unknown or incompatible version of CPU configuration" mean?

The CPU has a configuration version on the memory card or in flash that TIA V12 SP1 cannot reconcile — typically a transfer card was left in the CPU, or the firmware on the CPU is newer than the catalog supports. Remove the card, perform a STOP/RUN transition, then a memory reset (MRES), and cycle power. The recovery sequence is documented in the TIA documentation CPU error behavior page.

Do I lose the program if I do a factory reset on the S7-1200?

Yes. A factory reset erases the user program, all data blocks, and the password protection. Only perform a factory reset if you already have a confirmed backup file, or if the original program is no longer required. The recommended sequence is to upload the project from the CPU first, archive it, and only then perform the factory reset.

How do I archive the recovered project for long-term storage?

Use Project > Archive in TIA Portal and save as a *.zap12 (compressed archive) or *.ap12 file. Store the archive on at least two independent media (e.g., a network share and a USB drive) and include a readme with the CPU order number, firmware, and TIA version. For long-term support beyond V12, plan a forward upgrade through the intermediate TIA versions to V18 or later.

Back to blog