How-to
Migrating S7-300 projects from STEP 7 v5.5 to TIA Portal
Short answer
You can migrate an S7-300 project from STEP 7 v5.5 into TIA Portal with the migration tool, but the converted project goes online without showing online blocks: timestamps in the CPU no longer match, so TIA treats the program as inconsistent and wants a full transfer after any change. Keep the classic toolset for large programs and firmware updates; use TIA for small S7-300 projects that gain a unified project with an HMI or an S7-1200.
On this page
Yes, an S7-300 project moves from STEP 7 v5.5 into TIA Portal, but by conversion, not by opening the file. The migration tool turns the classic project into a migration file that TIA Portal reads, and only hardware that exists in the TIA catalog comes across. Two limits decide whether the move pays: the migrated project connects and goes online but shows no online blocks, because the CPU's block timestamps no longer match the converted project, so TIA offers the whole program after every edit; and the practical case for TIA on an S7-300 is a small program that gains something, such as one project holding the CPU and its HMI, or an S7-300 standing next to S7-1200 machines. Large programs stay in v5.5. The workflow below gets you there without stopping the machine twice.
What the migration needs on the classic side #
TIA Portal never opens a v5.5 project directly. You prepare the project where classic STEP 7 is installed — today usually a VM or an old engineering PC — and the migration tool writes the file that TIA Portal then reads; in current TIA versions that migration file carries the extension *.am20. Before you run the tool, three things must be true:
- Every block opens. A plain v5.5 installation handles LAD, FBD and STL; blocks written in S7-SCL or S7-GRAPH need those option packages installed or they stay closed. If yours are missing, restoring the missing S7-SCL and WinCC packages in STEP 7 v5.5 is the short path.
- The S7-SCL sources are in the project. A compiled SCL block without its source opens as STL only — readable, but never edited as SCL again. Pull the sources from archived project copies before you start.
- The hardware exists in the TIA catalog. The tool carries over only modules TIA Portal knows; anything else stays behind for manual replacement.
If the program leans on S7-GRAPH or S7-SCL, read up on disadvantages of S7-GRAPH, S7-HiGraph and S7-SCL before you commit a weekend to the conversion, because the package and source rules above bite hardest in exactly those projects. And one naming trap while you plan: STEP 7 Basic is not a lighter v5.5 — it is the TIA Portal component for the S7-1200 only. If the editions get tangled, what STEP 7 is and which one you need sorts them out.
The migration workflow, step by step #
- Archive the v5.5 project and lock the original away. Everything below happens on the copy.
- Install the option packages the project uses — S7-SCL, S7-GRAPH — and copy any missing SCL sources into the project's source folder.
- Compile the whole project in classic STEP 7, hardware and software. Clear every error before moving on.
- Save the project as a new one and select the reorganization option, the slow one. The migration tool reads this cleaned copy.
- Delete the instruction calls that the conversion drops. The vendor's S7-300/S7-400 migration guide handles these by removing them in the v5.5 project and adding the instructions again in TIA Portal, dragging them from the "Instructions" task card.
- Run the migration tool. It writes the migration file; *.am20 is the extension in current TIA versions.
- Open the migration file in TIA Portal — v13 SP1 in the case this workflow is written around — with the full STEP 7 edition, since Basic carries only the S7-1200.
- Check the hardware module by module against the TIA catalog. Replace what did not come across and re-verify the addressing.
- Compile in TIA, clear the errors, and download in a planned window. A download stops and restarts the CPU, which is the one safety line in this whole procedure.
Why the online blocks stay hidden #
Your first online session surprises everyone: the CPU connects, TIA Portal goes online, and the online blocks view is empty. Nothing is broken. The block timestamps in the CPU predate the migration, the converted offline project carries new ones, and TIA compares the two, calls the program inconsistent and withholds the online view. The CPU keeps running — this is project bookkeeping, not a controller fault. Expect exactly this on TIA Portal v13 SP1 and treat it as normal there.
Plan on the diagnostic buffer being your useful online window into a migrated S7-300. The consistency state also surfaces on every edit: after any offline change, TIA offers to transfer the whole program, because it wants the two sides to match again. You can let it — one full transfer clears the state, and an upload pulls the CPU's program into the offline project without stopping the controller, while a download needs the window.
Or refuse, the way most people do: open the load dialog and tick only the blocks you actually changed. That is a surgical move, not a routine, and the mismatch simply stays. If TIA Portal cannot go online at all — link lights and no session — that is a connection fault rather than this one; an S7-1200 showing link lights while TIA Portal cannot connect is the pattern to chase.
Firmware stays a classic job #
Do not update the S7-300 operating system through the migrated project. An OS update stops the CPU for its duration and needs a controlled restart, which on a running plant is a maintenance-window job in classic STEP 7, the tool where the procedure is already known. Migrating the project changes nothing about what the update requires.
The arithmetic of one block versus the whole program #
A worked example with illustrative counts. A v5.5 project holds 96 blocks: 78 in LAD, FBD or STL, 12 S7-SCL blocks whose sources sit in the project, and 6 S7-SCL blocks whose sources are gone.
- Package check: without S7-SCL installed, 12 + 6 = 18 of 96 blocks stay closed. 18 ÷ 96 ≈ 0.19, so about 19 percent of the program is invisible. That is a stop-work condition, not a nuisance.
- Source check: the 12 sourced blocks remain editable SCL; the 6 unsourced ones arrive as STL. Six rewrite candidates out of 96 — schedule them as the manual share of the job.
- Download check: after migration you change one preset inside one FC. The consistency offer is all 96 blocks; ticking only that FC moves 1 of 96 and leaves 95 untouched. One block write instead of a program-wide stop, per edit, every time.
Decisions from those inputs: 19 percent closed means the package goes in before anything else. Six rewrites get budgeted as manual work, not as conversion. Every later edit rides the ticked selection, or you spend one deliberate full transfer in a window to reset the bookkeeping.
When TIA is worth it on an S7-300 #
Commit on size and payoff. Small programs — one CPU, mostly LAD, FBD and STL, a block list you can hold in your head — are fine to build or maintain in TIA. Large programs stay in v5.5, because the consistency workaround and the manual hardware and instruction rework both scale with the project and buy you nothing.
The payoff that justifies TIA is the unified project: the S7-300 and its Basic Panel HMI in one file, or the S7-300 standing next to S7-1200 machines, where classic offers only the Device proxy route between the worlds. If the mixed line is your reason, the S7-1200 side is a selection of its own; choosing an S7-1215C for Modbus TCP and OPC UA shows that check done with numbers.
One direction of travel to close out: if TIA Portal has already written to the CPU and classic STEP 7 now complains, the STEP 7 V5.5 warning after TIA Portal wrote an S7-300 is its own repair. Settle that before you trust either side's timestamps again.
Questions asked
Why does TIA Portal connect to my migrated S7-300 but show no online blocks?
The CPU's block timestamps predate the migration and the converted offline project carries new ones, so TIA labels the program inconsistent and withholds the online view. The controller itself is healthy and keeps running. Reconnecting, restarting TIA Portal or re-running the migration changes nothing; only a full transfer that makes the timestamps match again clears it.
Is STEP 7 Basic the same as STEP 7 v5.5?
No. STEP 7 Basic is the TIA Portal component for the S7-1200 only, a different product rather than a lighter edition of v5.5. An S7-300 in TIA Portal needs the wider STEP 7 edition, and on the classic side S7-SCL, S7-GRAPH and PLCSIM are separate option packages, so one v5.5 installation can open a project that another cannot.
Why does my SCL block open as STL?
Two conditions must hold: the S7-SCL option package must be installed for v5.5 to read the language, and the source must exist in the project. A compiled block without its source shows only its STL listing, which is fine to migrate but useless for editing as SCL. Look for the sources in archived copies of the project.
Can I update the S7-300 CPU operating system from TIA Portal after migrating?
Not as routine practice. The update stops the CPU for its duration and needs a controlled restart, so it belongs in classic STEP 7 inside a planned maintenance window. If a firmware update is due anyway, do it before the migration so both tools then work against the same operating system.
What does the migration tool actually produce?
A migration file that TIA Portal opens, with the extension *.am20 in current TIA versions. TIA Portal never opens the v5.5 project itself, so classic STEP 7 has to be installed somewhere, usually a VM today. Keep that classic install available after the migration too: firmware updates and the untouched original project both live there.