Overview
Engineers commissioning a new SIMATIC S7-1200 PLC that ships with CPU firmware V4.0 must select the correct version of the TIA Portal engineering framework. The SIMATIC STEP 7 Professional V12 engineering software (order number 6ES7822-1AA02-0YA5) does not support the V4.0 generation of S7-1200 CPUs. The minimum compatible environment is TIA Portal V13. This technical reference documents the firmware-to-TIA Portal mapping, the project migration path from V12, the inability to flash older hardware from firmware 3.x to 4.0, the requirement on the matching WinCC Advanced version for HMI tag integration, and the support status of the CP 1242-7 GPRS modem and the CB 1241 RS485 communications board on the new generation of S7-1200 controllers.
Siemens published a formal support note confirming the V12 limitation and the TIA Portal V13 trial availability for engineers evaluating the upgrade. The V13 SP1 release introduced forward project compatibility that allows V13 base projects to load directly in V13 SP2 without re-saving, and SP1 projects load directly in SP2 with no additional license cost for the conversion, which simplifies multi-engineer workflows where team members may be on incremental service packs.
6ES7214-1AG40-0XB0), the entire engineering station must run TIA Portal V13 or later. V12 projects containing only V3.0 hardware can remain on V12, but mixed fleets should be migrated to V13 to avoid side-by-side installations.
S7-1200 CPU Generation and Firmware Map
The S7-1200 platform has been shipped in two hardware generations identified by the firmware major version and the catalog order number. The order number encodes the firmware release as part of the product version block (digit positions 11 and 12 of the MLFB). Engineers should always verify the printed part number on the CPU front flap and the firmware version reported by the online diagnostic buffer before assuming compatibility.
| Generation | CPU Model | Order Number (MLFB) | CPU Firmware | TIA Portal Minimum |
|---|---|---|---|---|
| Gen 1 | CPU 1211C DC/DC/DC | 6ES7211-1AD30-0XB0 | V3.0.x | V12 |
| Gen 1 | CPU 1212C DC/DC/DC | 6ES7212-1AD30-0XB0 | V3.0.x | V12 |
| Gen 1 | CPU 1214C DC/DC/DC | 6ES7214-1AG31-0XB0 | V3.0.x | V12 |
| Gen 1 | CPU 1215C DC/DC/DC | 6ES7215-1AG31-0XB0 | V3.0.x | V12 |
| Gen 2 | CPU 1211C DC/DC/DC | 6ES7211-1AD40-0XB0 | V4.0.x | V13 |
| Gen 2 | CPU 1212C DC/DC/DC | 6ES7212-1AD40-0XB0 | V4.0.x | V13 |
| Gen 2 | CPU 1214C DC/DC/DC | 6ES7214-1AG40-0XB0 | V4.0.x | V13 |
| Gen 2 | CPU 1215C DC/DC/DC | 6ES7215-1AG40-0XB0 | V4.0.x | V13 |
The two generations share the same I/O footprint and signal terminal layout, but the V4.0 generation is a distinct hardware revision. Functional changes include an expanded web server with user administration, additional PROFINET IO controller diagnostics, the extended _getTimeOfDay system API, integrated trace recording on the CPU, motion control extensions, and improved security (know-how protection per block, copy protection binding to the SIMATIC memory card). Siemens has explicitly stated that an update of already delivered SIMATIC S7-1200 controllers (CPU 1211C, CPU 1212C, CPU 1214C, and CPU 1215C) of the previous generation to the new CPU firmware V4.0 is not possible. This is not a license or firmware-blob restriction; the V4.0 firmware is built for the new hardware revision and will not execute on V3.0 silicon.
Verifying the CPU Generation in the Field
- Power the CPU and connect the engineering PC to the PROFINET port (X1).
- Open Online > Accessible Devices in TIA Portal.
- Read the Order Number field. A V4.0 CPU is identified by the
40in the product version block (e.g.,6ES7214-1AG40-0XB0). - Cross-check the Firmware field in the Online & Diagnostics view. V4.0 hardware reports firmware
V4.0.xor later. - Confirm both values match the V4.0 catalog before proceeding with the V13 project.
TIA Portal V12 vs V13 Firmware Support Matrix
Each TIA Portal major version embeds the device descriptions (HSP — Hardware Support Packages) for the S7-1200 generation released up to that point. V12 was released in 2013 and ships with HSP updates covering the S7-1200 V3.0 product family. The V4.0 product family was released later, and the corresponding HSP was bundled with TIA Portal V13. As a result, V12 cannot enumerate, configure, or download to a V4.0 CPU.
| Engineering Software | Order Number | S7-1200 V3.0 Support | S7-1200 V4.0 Support |
|---|---|---|---|
| STEP 7 Professional V12 (TIA Portal V12) | 6ES7822-1AA02-0YA5 | Yes | No |
| STEP 7 Professional V13 (TIA Portal V13) | 6ES7822-1AA03-0YA5 | Yes | Yes |
| STEP 7 Professional V13 SP1 | 6ES7822-1AA03-0YA5 + SP1 | Yes | Yes |
| STEP 7 Professional V13 SP2 | 6ES7822-1AA03-0YA5 + SP2 | Yes | Yes |
The trial license for TIA Portal V13 and V13 SP1 is available from the Siemens Industry Online Support portal. Engineers evaluating the migration can download the trial to validate project conversion before purchasing the full license:
Per the Siemens support note for the V13 SP1 trial, projects authored in TIA Portal V13 can be used directly in TIA Portal V13 SP2 without any upgrade step. There are no additional license costs for converting from TIA Portal V13 to V13 SP1. This means an engineering team that standardizes on the V13 branch can adopt SP1 or SP2 incrementally without rewriting the project.
Why V12 Cannot Load V4.0 Projects
The TIA Portal project file (.ap12 for V12, .ap13 for V13, .ap13_1 for V13 SP1) embeds a schema version that records the TIA Portal release used to author the project. When a V12 project containing V3.0 hardware is opened in V13, the migration wizard inspects each device, validates its hardware catalog key, and rebuilds the device view against the V13 hardware catalog. If the project only references V3.0 hardware, the migration is lossless and all program blocks, tag tables, watch tables, recipes, and HMI connections are preserved.
Attempting to open a V13 project in V12 — or to download a V13 project to a V3.0 CPU — is blocked because the schema version is forward-only. The V12 compiler does not understand the V4.0 system constants (such as the expanded _getTimeOfDay API, the new web server user management, the integrated trace, or the expanded PROFINET diagnostics blocks) and will refuse to build. Engineers must keep the engineering environment on the highest major version present in the fleet.
| Operation | V12 Project → V13 Tool | V13 Project → V12 Tool |
|---|---|---|
| Open | Migration wizard runs, project saved as .ap13
|
Blocked: schema version too new |
| Compile | Compiles against V13 HSP catalog | Blocked before compile |
| Download to V3.0 CPU | Allowed if no V4.0-only blocks used | N/A |
| Download to V4.0 CPU | Allowed | N/A |
Project Upgrade Path: V12 to V13 (and SP1/SP2)
Siemens has documented that TIA Portal V13 SP1 projects can be used directly in TIA Portal V13 SP2 without any upgrade, and there are no additional license costs for converting from TIA Portal V13 to V13 SP1. The same forward-compatibility policy applies in patches within the V13 branch. The migration rules are:
-
V12 → V13: Open the
.ap12project. The V13 migration wizard prompts to upgrade. Save as.ap13. The V12 source file is not modified, so a rollback is possible. -
V13 → V13 SP1: Open the
.ap13project directly in V13 SP1. No explicit upgrade step is required. Optionally save as.ap13_1if the team standardizes on the SP1 file extension. -
V13 SP1 → V13 SP2: Open the
.ap13_1project in V13 SP2. SP2 loads it without conversion or re-license.
For S7-1200 V3.0 projects migrated from V12 to V13, the CPU type, the user program in OB1/FB/FC, the DB layouts, the HMI tags, and the recipe data are preserved. The HMI device in the project (e.g., a KTP700 Basic PN or a TP900 Comfort) is re-resolved against the V13 HMI catalog. If the panel was added with a V12-only HSP, the migration will replace the catalog key with the equivalent V13 key. Connections to the PLC are restored automatically because the connection endpoint IP and slot are independent of the engineering version.
Migration Step-by-Step
- Back up the
.ap12project file and any referenced libraries (*.al12) to a safe location. - Launch TIA Portal V13. Select Open Existing Project and navigate to the
.ap12file. - When prompted Do you want to upgrade the project?, click Upgrade. The wizard inspects every device and library reference.
- Review the migration report. Any device that requires manual catalog key replacement is flagged with a warning.
- Resolve flagged devices by selecting the equivalent V13 catalog type. The configuration (slots, addresses, comments) is carried over automatically.
- Save the project as
.ap13. The original.ap12file remains on disk for rollback. - Compile the project (Project tree > CPU > Compile > All) and address any compile errors introduced by V13 catalog changes.
Firmware 3.0 to 4.0: Hardware vs Software Update
Engineers often ask whether an existing V3.0 CPU can be flashed to V4.0 to gain the new features. Siemens has explicitly answered this question in the product support database: the V4.0 firmware is targeted at the V4.0 hardware revision, and an update of already delivered SIMATIC S7-1200 controllers (CPU 1211C, CPU 1212C, CPU 1214C, CPU 1215C) of the previous generation to the new CPU firmware V4.0 is not possible. The CPU must be replaced with a V4.0 catalog number. There is no license key, firmware file, or SIMATIC memory card procedure that will change the outcome — the V3.0 bootloader rejects the V4.0 image because the hardware ID does not match.
| Action | Result on V3.0 Hardware (e.g., 6ES7214-1AG31-0XB0) | Result on V4.0 Hardware (e.g., 6ES7214-1AG40-0XB0) |
|---|---|---|
| Online firmware update via TIA Portal V13 (Online > Firmware Update) | Refuses V4.0 file; reports hardware mismatch (diagnostic event 0x013E) | Accepts V4.0 file |
Manual firmware update via SIMATIC memory card (S7-1200 FWUPDATE.S7S + S7_JOB.S7S) |
Bootloader rejects image; CPU stays on existing firmware | Executes successfully |
| Order a replacement CPU with V4.0 | N/A — replacement is V3.0 catalog | Order 6ES7214-1AG40-0XB0 (V4.0 part number) |
6ES7214-1AG40-0XB0) and plan to upgrade the engineering station to TIA Portal V13 in the same work package. Do not stock V3.0 catalog numbers as long-term spares for new deployments; the V3.0 line is end-of-life and no longer receives firmware updates.
New V4.0 Features Exposed Only in TIA Portal V13
The V4.0 CPU generation and the V13 engineering toolchain jointly expose a set of features that are not available on V3.0/V12 combinations. Engineers migrating a V3.0 program to a V4.0 CPU will gain access to:
| Feature | Description | Project Impact |
|---|---|---|
| Integrated trace | CPU-internal trace recording on a configured trigger, viewable in V13 Online & Diagnostics > Traces | Add new trace objects; existing OB/FB/FC unchanged |
| Expanded web server | User management with password-protected pages, custom web pages via the Web Editor | Enable in CPU properties > Web server; configure users and pages |
| PROFINET diagnostics extensions | Port statistics, neighborhood discovery, enhanced diagnostics buffer entries | Automatic; no program changes |
Extended _getTimeOfDay API |
Microsecond-resolution time reading and timezone offset support | Optional: replace legacy READ_CLK calls in the user program |
| Know-how protection with copy protection | Bind protected blocks to the serial number of a specific SIMATIC memory card | Optional: re-protect blocks before deployment |
| Motion control extensions | Additional axis command bits and positioning profiles | Optional: re-tune axis configuration |
None of these features are mandatory. A V13 project compiled for a V3.0 CPU and then redeployed to a V4.0 CPU (with the V3.0 CPU removed from the device tree) will run unchanged. The V4.0 features are available for engineers who choose to use them; the migration path does not force code changes.
WinCC Advanced Compatibility
For HMIs programmed with SIMATIC WinCC Advanced V12 (order number 6AV2102-0AA02-0AA5), the HMI runtime project is largely independent of the PLC firmware. WinCC Advanced V12 will compile and download a Comfort Panel or KTP project that connects to a V3.0 PLC. When the same WinCC Advanced V12 project is targeted at a V4.0 PLC, the HMI compile does not fail, but the tag browser cannot resolve V4.0-only PLC system constants introduced after V12. Two paths are available:
-
Stay on WinCC Advanced V12: Use only standard V3.0-compatible tag addresses. HMI integration with V4.0 PLCs works for user-defined DBs and the legacy system clock. The new web server user-management symbols and the extended
_getTimeOfDayAPI are not exposed to the HMI tag list. - Upgrade to WinCC Advanced V13 or later: The V13 WinCC catalog recognizes the V4.0 PLC system constants and the expanded diagnostic block set. This is the recommended path for new deployments and for any site that wants full HMI visibility into the V4.0 trace and diagnostic features.
Siemens recommends running the HMI engineering and the PLC engineering on the same TIA Portal major version to ensure that the integrated project tree resolves all device references consistently. Side-by-side installation of V12 and V13 is supported on the same engineering PC, allowing a phased migration. The HMI connection — a PROFINET or MPI/PROFIBUS relationship between the panel and the PLC — is preserved across the engineering upgrade; the engineer does not need to re-establish the connection in the V13 project.
Communication Module Compatibility Matrix
Two communication modules are commonly added to an S7-1200 system: the CP 1242-7 GPRS modem for telecontrol and the CB 1241 RS485 communication board for freeport / Modbus RTU message-based communication. Both have been qualified for use with the S7-1200 firmware V4.0 CPU family.
| Module | Order Number | Minimum CPU Firmware | V4.0 Compatible | Protocol / Use |
|---|---|---|---|---|
| CP 1242-7 GPRS | 6GK7242-7KX30-0XE0 | V2.0 | Yes | Telecontrol per IEC 60870-5-104 or DNP3 |
| CB 1241 RS485 (screw-type) | 6ES7241-1CH30-1XB0 | V2.0 | Yes | Message-based freeport, Modbus RTU master / slave |
| CM 1241 RS232 | 6ES7241-1AH30-0XB0 | V2.0 | Yes | Freeport, Modbus RTU |
| CM 1241 RS422/485 | 6ES7241-1CH30-0XB0 | V2.0 | Yes | Freeport, Modbus RTU |
| CSM 1277 (unmanaged switch) | 6GK7277-1AA10-0AA0 | V2.0 | Yes | PROFINET network extension |
For the CB 1241 RS485 with the message-based freeport protocol, the configuration is performed in TIA Portal under Device Configuration > CB 1241 > Properties > Port Configuration. The send/receive POU blocks (Send_P2P, Receive_P2P, Receive_Reset, Send_Config) are part of the STEP 7 instruction library and are available in TIA Portal V13 without additional installation. The V4.0 CPU does not require a different instruction set for freeport operation; the existing PtP program blocks load and execute unchanged from a V3.0 project.
For the CP 1242-7 GPRS, the telecontrol configuration is performed through the CP's own web-based management or via TIA Portal under the CP device properties. The CP firmware is independent of the CPU firmware and continues to be updated through the CP's own web interface or via the SIMATIC Automation Tool. The telecontrol protocol stack (IEC 60870-5-104 or DNP3) is loaded into the CP, not the CPU, and the PLC program interacts with the CP via the TMAIL_C instruction or the telecontrol library blocks.
Recommended Upgrade Workflow
For a site transitioning from V3.0 to V4.0 CPUs, the following sequenced workflow minimizes downtime and engineering risk.
- Inventory the existing fleet. Build a spreadsheet of every S7-1200 CPU by order number, firmware version, and installed HSP. Identify the V3.0 units that will be replaced.
-
Order V4.0 replacement CPUs. Use the V4.0 catalog numbers (the
40product version block, e.g.,6ES7214-1AG40-0XB0). Do not order V3.0 spares for long-term stocking. - Upgrade the engineering station. Install TIA Portal V13 (or V13 SP1 / V13 SP2) on each PC that will be used for the migration. The trial download is available from Siemens Industry Online Support.
- Migrate the project. Open the existing V12 project in V13. Run the migration wizard. Verify that the project compiles cleanly. Resolve any device catalog key replacements that the migration tool flags.
- Add the V4.0 CPU to the device tree. Insert a new CPU of the V4.0 catalog type. Copy the user program blocks, DBs, and tag tables from the V3.0 CPU instance. Remove the V3.0 CPU from the project.
- Upgrade the HMI engineering. If WinCC Advanced V12 is installed, decide whether to keep it (standard tags only) or upgrade to V13 for full V4.0 PLC system constant access.
- Compile and download the upgraded project. Compile the entire project (PLC + HMI). Download to the new V4.0 CPU and to the HMI panel.
- Verify online. Use Online & Diagnostics > Compare to verify that the offline project matches the online program in the new CPU. Run the user program in RUN and confirm that the I/O scan is healthy.
Verification and Commissioning Checklist
After the migration, the following checks confirm that the V4.0 CPU is operating correctly with the V13 project and that the HMI link is healthy.
| Check | Procedure | Expected Result |
|---|---|---|
| CPU online diagnostic | Online > Online & Diagnostics > Diagnostic buffer | No errors; CPU in RUN; SF/BF LEDs off |
| Firmware version | Online > Accessible Devices > Order Number / Firmware | Order number contains 40 in product version block, firmware V4.0.x |
| Project offline/online compare | Right-click CPU > Compare offline/online | Code blocks, DBs, and HW config match |
| HMI connection status | HMI runtime > Connections > Status | Connection established, status green |
| CB 1241 freeport loopback | Send test frame, monitor Receive_P2P POU |
Frame echoed correctly on RS485 bus |
| CP 1242-7 GPRS link | Trigger telecontrol send, check CP web interface | Connection to telecontrol center established, signal level reported |
| Web server | Browse to http://<CPU-IP> from a PC on the PROFINET network |
Web server login page loads; authenticated users see configured standard pages |
| Trace | Configure a trace on a fast input, trigger once, read back the recording | Trace view in V13 displays the captured samples with timestamp |
Troubleshooting Matrix
| Symptom | Likely Cause | Resolution |
|---|---|---|
| V12 cannot find the V4.0 CPU in Accessible Devices | V12 lacks the V4.0 HSP | Upgrade engineering software to TIA Portal V13 or later |
| V13 reports device version not supported on a V3.0 CPU | V3.0 catalog key was removed in a later HSP | Install the legacy V3.0 HSP from the Siemens support database; re-add the V3.0 CPU to the device tree |
| Firmware update fails with diagnostic event 0x013E hardware mismatch | Attempting to flash V4.0 firmware onto a V3.0 CPU | Order a V4.0 catalog replacement CPU; V3.0 cannot be upgraded to V4.0 |
| HMI tag resolves to invalid address at runtime | HMI project on WinCC V12 references a V4.0 system constant | Upgrade HMI engineering to WinCC V13, or replace the tag with a user DB address |
| V13 project will not open in V12 | Schema version is forward-only | Keep V13 as the engineering baseline; do not downgrade |
| CB 1241 RS485 freeport silent (no receive interrupt) | Port configuration mismatch (baud, parity, framing, line termination) | Compare Port Configuration in TIA Portal to the connected device's serial settings; add 220 Ω termination if the bus requires it |
| CP 1242-7 will not register on the cellular network | SIM card PIN locked, APN not configured, or antenna disconnected | Unlock SIM, configure APN in CP web interface, verify antenna gain and cable |
| Diagnostic buffer shows PROFINET IO controller: station failure | IO device powered off, wrong device name assigned, or duplicate IP on the subnet | Check device power; re-assign PROFINET device name from Online > Assign PROFINET device name; scan the subnet for duplicate IPs |
FAQ
Does TIA Portal V12 support S7-1200 CPUs with firmware 4.0?
No. TIA Portal V12 (STEP 7 Professional V12, order number 6ES7822-1AA02-0YA5) does not include the hardware support package for the V4.0 generation. The minimum compatible environment is TIA Portal V13.
Can a V3.0 S7-1200 CPU be firmware-upgraded to V4.0?
No. The V4.0 firmware is built for the V4.0 hardware revision. Siemens has explicitly stated that an update of already delivered S7-1200 CPUs (1211C, 1212C, 1214C, 1215C) of the previous generation to firmware V4.0 is not possible. Replace the CPU with the V4.0 catalog number (e.g., 6ES7214-1AG40-0XB0).
Can a V12 project be opened and edited in TIA Portal V13?
Yes. Open the .ap12 project in V13 and run the migration wizard. The V13 environment saves the project as .ap13. TIA Portal V13 SP1 projects load directly in V13 SP2 without any upgrade, and there are no additional license costs for converting from V13 to V13 SP1.
Are CP 1242-7 GPRS and CB 1241 RS485 supported on a V4.0 CPU?
Yes. Both modules are supported on S7-1200 firmware V2.0 and later, including V4.0. The CP 1242-7 (6GK7242-7KX30-0XE0) and the CB 1241 RS485 (6ES7241-1CH30-1XB0) can be added to a V4.0 device configuration in TIA Portal V13 without changes to the program blocks. Freeport and Modbus RTU configurations are preserved across the V3.0 to V4.0 migration.
Do I need to upgrade WinCC Advanced V12 to support a V4.0 PLC?
Not strictly required for HMI projects that use only standard DB addresses and V3.0-compatible system tags. For full access to V4.0-specific PLC system constants, the integrated trace, and the expanded diagnostic block set, upgrade to WinCC Advanced V13. Siemens recommends running the HMI and PLC engineering on the same TIA Portal major version.