Explainer
Why TIA Portal cannot migrate a project to an S7-1200
Short answer
No TIA Portal version migrates a project onto an S7-1200. Migration brings a STEP 7 V5.x project in with its S7-300/400 CPU unchanged, and the only controller family it converts that program to is the S7-1500. Moving to an S7-1200 is a reprogramming job with a rebuilt hardware configuration and a full re-test, not an import.
On this page
No TIA Portal version migrates a project onto an S7-1200. Migration in TIA Portal ends at one of two places: the S7-300/400 CPU your STEP 7 V5.x project already runs on, kept unchanged, or the S7-1500, to which that program can then be converted. The S7-1200 is absent by design, so moving an S7-300/400 application onto one is a reprogramming job with a rebuilt hardware configuration, not an import. Below is what the migration tool really does, which release still performs the import, and a channel count that tells you whether an S7-1200 can carry your machine at all.
What the migration in TIA Portal actually does #
"Migration" in TIA Portal is two operations, and neither ends at an S7-1200.
The first is project migration: you open the STEP 7 V5.x project file (*.s7p) in TIA Portal and it becomes a TIA Portal project with the CPU family untouched. The Siemens "Guide for Migrating SIMATIC S7-300/S7-400 to S7-1500" records that the CPU is not automatically migrated to S7-1500 during this step. The S7-300 or S7-400 stays what it was; only the engineering environment changes, and TIA Portal still engineers both families, so the imported project remains fully maintainable.
The second operation is program migration: after the import, you convert the S7-300/400 CPU to an S7-1500. The documentation topic "Basic information on migrating PLC programs (S7-1500)" provides the mapping table, each original block listed with the target block it becomes: S7-300/400 CPU to S7-1500 CPU, with the ET 200 I/O modules mapped as well. That table is the complete list of conversion targets, and it contains no S7-1200.
One version limit applies to the import itself: per the documentation topic "Migration of STEP 7 projects (S7-300, S7-400)", the integrated migration of STEP 7 projects is no longer supported as of TIA Portal V20. TIA Portal V19 is therefore the last release that opens a STEP 7 V5.x project file, and a station running a newer release needs V19 for this one step.
Why the S7-1200 is not a migration target #
The S7-1200 has only ever been engineered inside TIA Portal, so there is no old-format S7-1200 program to import, and its block model and instruction set differ from the S7-300/400. The conversion tables run S7-300/400 to S7-1500 because those families share block structures a converter can map. Producing S7-1200 code from S7-300 code would mean rewriting the logic, and rewriting is engineering work, not a file translation any tool performs for you. The V21 documentation still describes the S7-1500 as the only conversion target, so this is architecture, not a version lag: waiting for the next release changes nothing.
There is a second, practical exclusion: the S7-1200 is a compact controller in a smaller class. An S7-300 machine with two racks of modules frequently has no S7-1200 counterpart at any configuration.
Keep the S7-300 or S7-400 and move only the engineering #
If the hardware stays and the goal is only to step up to TIA Portal, import the project with the CPU unchanged: no reprogramming, and the program keeps running as before. The import procedure is walked through step by step in Migrating S7-300 projects from STEP 7 v5.5 to TIA Portal, and the editor, library and project-structure differences you meet afterwards are collected in What changes when you move from STEP 7 V5.5 to TIA Portal.
For the version sequence, perform the import in V19, then open the resulting project in your main release so it updates forward. Run one practice import on a copy and read every migration message before the production copy is touched.
Replace the CPU with an S7-1500 #
When the hardware is being replaced, this is the only conversion TIA Portal performs: import first, then migrate the CPU to S7-1500 against the documented block mapping, then work through everything the migration report flags as needing manual treatment. Communication is where the leftover work concentrates: the links a panel migration leaves behind are a known follow-up task, covered in S7-300 to S7-1500 PUT/GET links during panel migration.
When the target must be an S7-1200 #
Write this into the plan as a reprogramming job. Concretely: create a new TIA Portal project, build the S7-1200 hardware configuration by hand, port the logic block by block, remap the I/O and memory addresses, and rebuild communication with the S7-1200's own instructions. The S7-300's built-in S7 communication calls have no S7-1200 equivalent, so point-to-point data exchange moves to its open communication instructions, and the HMI connection is retargeted afterwards.
Then test it as a commissioning: every sequence, every interlock, every digital point and analog channel against the original functional requirements. One safety note where it belongs: a reprogrammed machine is a changed machine, so where safety functions run in this program, revalidate them against the machine's risk assessment before production.
Once the program exists, it is tied to the TIA Portal version and CPU firmware it was written against, the coupling behind Why an S7-1200 upload fails across TIA Portal versions.
Count the channels before promising an S7-1200 #
One documented limit decides whether the S7-1200 can host the machine at all: its CPUs accept at most eight expansion modules, and the smaller ones accept fewer, down to none.
Worked example, with example numbers. Take an old S7-300 project whose I/O list shows 68 digital inputs, 44 digital outputs, 12 analog inputs and 4 analog outputs, 128 channels in total. Take an S7-1200 CPU whose data sheet lists 14 digital inputs, 10 digital outputs, 2 analog inputs and 2 analog outputs on board, and fill the gaps with 16-channel digital modules, 8-channel analog input modules and a 4-channel analog output module:
- Digital inputs: 68 minus 14 leaves 54; 54 divided by 16 is 3.4, so 4 modules, 64 channels with 10 spare, about the 15 percent spare you want anyway.
- Digital outputs: 44 minus 10 leaves 34; 34 divided by 16 is 2.1, so 3 modules, 48 channels with 14 spare.
- Analog inputs: 12 minus 2 leaves 10; 10 divided by 8 is 1.25, so 2 modules, 16 channels with 6 spare.
- Analog outputs: 4 minus 2 leaves 2; 2 divided by 4 is 0.5, so 1 module with 2 spare.
- Total: 4 plus 3 plus 2 plus 1 gives 10 expansion modules.
Ten against a ceiling of eight: this machine does not fit on a single S7-1200 CPU. The decision for the example: take it to an S7-1500, which is the documented migration route anyway, or, if the S7-1200 is fixed, move enough I/O onto PROFINET remote I/O, which a current S7-1200 CPU can run as IO controller, to free two module slots. Run this count in the planning meeting, before the controller is promised.
The decision for each case #
- The hardware stays S7-300 or S7-400: import the project with the CPU unchanged, using the last import-capable release for the import and your main release for everything after. No rewrite; the program keeps running.
- The hardware will be replaced and the family is open: S7-1500, through the documented block migration. It is the only controller conversion TIA Portal supports.
- The S7-1200 is fixed as the target: schedule a reprogramming job with a rebuilt hardware configuration, a retargeted HMI connection and a full commissioning test scope, and run the channel count first; past the eight-module ceiling, the honest targets are an S7-1500 or distributed I/O.
And never write "migration to S7-1200" into a project plan: there is no such step to schedule.
Questions asked
Which TIA Portal version do I need to import an old STEP 7 project?
TIA Portal V19 is the last release with the integrated import of STEP 7 V5.x projects, and it installs side by side with a newer release on one engineering station. Import there first, then open the result in your main release so the project updates forward; a project saved by a newer release does not open in an older one, so keep that install available until the import is archived.
Does the conversion work the other way, from S7-1200 to S7-1500?
Yes. TIA Portal converts an existing S7-1200 CPU to an S7-1500 and maps its blocks across, so an S7-1200 that exists today has a forward path. The exclusion runs one way only: no release converts S7-300, S7-400 or S7-1500 blocks into an S7-1200 program. If your company's roadmap ends at the S7-1500 anyway, that is one more reason not to stop at the S7-1200.
Do S7-300 instructions run unchanged in an S7-1200?
No. The instruction sets only partly overlap: the S7-300/400 system function blocks have no S7-1200 equivalents, timers and counters are handled differently, and indirect addressing is more limited. Port the program block by block, and treat every block that touches communication, special-function modules or fail-safe logic as a redesign with its own test rather than a copy.
Can the HMI screens stay when the PLC becomes an S7-1200?
Yes, when the screens are engineered in TIA Portal: they stay in the project and are switched to the new PLC connection, so nothing is redrawn. What breaks is addressing: the rebuilt program moves I/O and memory addresses, so every tag referenced by absolute address must be remapped, and the screens should be stepped through against the running machine before cutover.