Contact

Technical article · Siemens · TIA Portal · Migration

Migrating Siemens S7-300/400 to S7-1500 & TIA

Technical guide for migrating SIMATIC S5, S7-300, and S7-400 (STEP 7 Classic) to S7-1500 and TIA Portal: conversion vs rewrite, PROFINET, and cutover.

Migrating Siemens SIMATIC S5, S7-300, or S7-400 controllers (STEP 7 Classic) to SIMATIC S7-1500 and TIA Portal is one of the most frequent modernizations in industrial plants — especially facilities combining European OEM machinery with continuous or batch process lines.

Just as in PLC-5 and SLC 500 migration to ControlLogix, the real project risk rarely sits in buying the new CPU. It lies in underestimating the gap between running an automated converter and delivering a reliable, maintainable application, while managing aging PROFIBUS-DP networks, specialty I/O modules, locked blocks (Know-How Protect), STL indirect addressing, and tight outage windows.

Why plan exiting S5, S7-300, and S7-400 before a failure?

Three operational pressures push plants to leave the STEP 7 Classic ecosystem:

  1. Product lifecycle and spare parts. SIMATIC S5 has been discontinued for decades; the S7-300 family has entered product phase-out, and specialized I/O cards, communication processors (CPs), and power supplies already carry extended lead times or inflated secondary-market prices.
  2. Engineering stations trapped on obsolete operating systems. Legacy SIMATIC Manager and STEP 7 Classic projects often rely on Windows 7 or Windows XP virtual machines, legacy MPI/PROFIBUS adapters, and obsolete WinCC Flexible or ProTool releases — creating direct OT cybersecurity risk and single-point dependency on the one laptop capable of going online.
  3. Diagnostics and plant integration. SIMATIC S7-1500 paired with TIA Portal and PROFINET brings built-in system diagnostics, native OPC UA servers across many CPUs, strengthened communication security, and optimized symbolic blocks that speed up troubleshooting for new maintenance engineers.

Technical reference

Hardware and architecture selection before code conversion

SIMATIC controller portfolio and hardware selection architecture inside TIA Selection Tool
Enlarge figure

Hardware and architecture selection before code conversion

SIMATIC controller portfolio and hardware selection architecture inside TIA Selection Tool
Open original-resolution image ↗

Public Siemens reference across the SIMATIC portfolio: replacing S7-300/400 requires validating work memory, PROFINET/PROFIBUS interfaces, technology modules, safety (F-CPU), and I/O compatibility before locking the bill of materials.

Source: Siemens - SIMATIC Programmable Logic Controllers ST 70 Catalog · view related official documentation

Public Siemens reference across the SIMATIC portfolio: replacing S7-300/400 requires validating work memory, PROFINET/PROFIBUS interfaces, technology modules, safety (F-CPU), and I/O compatibility before locking the bill of materials.

Source: Siemens - SIMATIC Programmable Logic Controllers ST 70 Catalog · view related official documentation · accessed on July 12, 2026

Watch the TIA Portal version step: V20 before V21

One release-note detail regularly derails schedules planned without checking current documentation: according to Siemens’ official release information for STEP 7 V21 (SIOS 109989773), TIA Portal V21 no longer includes the integrated direct migration tool for STEP 7 Classic (V5.x) projects.

In practice, when a plant standardizes on TIA Portal V21 starting from an S7-300/S7-400 STEP 7 V5.x project, the technical workflow requires:

  • preparing and consistency-checking the original project in STEP 7 V5.x (clean compilation, cross-references, libraries, and hardware GSD files);
  • executing the Classic-to-TIA migration step inside TIA Portal V20 (or a release supporting the Migration Tool);
  • upgrading the migrated project into TIA Portal V21, validating S7-1500 CPU firmware, communication blocks, and safety libraries.

Prerequisites like this must surface during the initial survey, never the week before FAT.

Automated conversion, hybrid approach, or clean rewrite?

Not every S7-300 or S7-400 program should simply be fed through the migrator — and not every program warrants a ground-up rewrite. The right technical path depends on code health:

Approach What it does When it makes sense Primary risk
Assisted conversion Migrates the Classic project to S7-1500 while keeping non-optimized DBs and most legacy structure, resolving compile errors and unsupported instructions Well-documented code, no blocking Know-How Protect, very short outage window, minimal complex indirect addressing Carries forward dated structure, absolute addressing (DB10.DBW4), and forfeits part of S7-1500 symbolic diagnostics
Hybrid approach Converts stable base logic while rewriting critical blocks — PID loops, communications, recipes, interlocks, and opaque STL — into symbolic SCL/Ladder Most continuous or batch operating plants balancing outage constraints with long-term maintainability Demands strict behavioral verification comparing legacy and refactored blocks during FAT
Clean re-engineering Rebuilds the application from scratch using optimized blocks (FB/FC/UDT in Ladder and SCL) from functional narratives and cause-and-effect matrices SIMATIC S5 migrations, uncommented/symbol-stripped S7-300 code, heavily patched legacy logic, or combined HMI/SCADA redesign Higher upfront functional-discovery effort and operational validation prior to cutover

Five constructs the automated converter routinely breaks

Even when a STEP 7 Classic project compiles cleanly, five patterns almost always demand careful manual engineering:

  1. Indirect addressing and ANY pointers in STL (AR1, AR2, LAR1, OPN DB). Legacy Statement List (STL) routines manipulating raw memory offsets require line-by-line inspection — rewriting them in SCL with typed arrays and UDTs is often cleaner and far safer.
  2. Locked blocks without source (Know-How Protect). If an OEM skid embeds protected FBs without source code or an S7-1500 library equivalent, the migrator stops immediately. Identify locked blocks on day one of the audit.
  3. S5 timers (S5TIME), legacy counters, and system blocks (SFC/SFB). Older instructions often require replacement with IEC timers (TON/TOF) and S7-1500 equivalents, carefully verifying time-base scaling and scan-edge behavior.
  4. Legacy communications (MPI, PROFIBUS-DP, CP340/CP341 serial, PUT/GET, and AG_SEND/AG_RECV). Moving from PROFIBUS to PROFINET (or temporarily retaining ET 200M/ET 200S racks behind a PROFIBUS master module during phased upgrades) changes diagnostic mapping, addressing, and station-fault handling.
  5. Functional safety (F-CPU) and S7-400H (high availability). Safety applications and redundant S7-400H / S7-1500R/H systems impose strict rules on instructions, scan cycles, and failover behavior that must never be treated as routine migration work.

Technical reference

Classic project inventory and consistency check before migrating

Block compilation and download consistency workflow in SIMATIC Manager STEP 7 Classic
Enlarge figure

Classic project inventory and consistency check before migrating

Block compilation and download consistency workflow in SIMATIC Manager STEP 7 Classic
Open original-resolution image ↗

Public Siemens reference: auditing block consistency, symbol tables, online/offline comparisons, and hardware configuration in STEP 7 Classic prevents migrating a stale backup.

Source: Siemens AG - SIMATIC ST 70 Catalog (2025) · view related official documentation

Public Siemens reference: auditing block consistency, symbol tables, online/offline comparisons, and hardware configuration in STEP 7 Classic prevents migrating a stale backup.

Source: Siemens AG - SIMATIC ST 70 Catalog (2025) · view related official documentation · accessed on July 12, 2026

I/O strategy, PROFIBUS, and cabinet reuse

In many facilities, the steepest outage cost is not the CPU — it is lifting and re-landing hundreds of field wires. Before specifying new panels, evaluate three physical transition options:

  • Full panel and remote-I/O replacement to ET 200SP / ET 200MP on PROFINET: cleanest electrical finish, channel-level diagnostics, and complete PROFIBUS retirement; requires a longer turnaround or a pre-tested parallel cabinet with pre-wired harnesses.
  • Phased migration keeping existing PROFIBUS remote racks temporarily: swaps the S7-300/S7-400 CPU first to S7-1500 equipped with a PROFIBUS DP master module (CM 1542-5), retaining ET 200M racks and drives in outage one and converting field networks to PROFINET in subsequent outages.
  • Front-connector wiring adapters (where available for S7-300 racks): compress panel swap time during short windows, provided terminal blocks and existing conductors are mechanically sound enough for safe reuse.

Six-stage migration roadmap

  1. Online vs offline audit: upload the live program running in the CPU, reconcile it against maintenance archives, flag protected blocks, log WinCC/HMI versions, and list every external link (SCADA, historian, VFDs, scales, ERP).
  2. Target architecture and compatibility: size the S7-1500 CPU, memory, PROFINET/PROFIBUS interfaces, HMI/SCADA path (WinCC Unified, WinCC V8, or multi-vendor SCADA), and network segmentation aligned with ISA/IEC 62443.
  3. Bench conversion or re-engineering: build the TIA Portal project with consistent tag standards, UDTs, clear engineering comments, and explicit communication-fault handling.
  4. Simulation and FAT (Factory Acceptance Test): exercise control logic, sequences, interlocks, alarms, and displays with PLCSIM Advanced and a test bench before scheduling the plant outage.
  5. Cutover with documented rollback: define area windows, point-to-point checklists (I/O checks, motor rotation, analog scaling, permissives), and an objective go/no-go rollback trigger returning to the legacy CPU if blocked.
  6. Handover and lifecycle sustainment: deliver unlocked source code, versioned TIA Portal archives, HMI backups, IP/GSDML inventories, as-built drawings, and maintenance team training.

Next step

Operating SIMATIC S5, S7-300, or S7-400 controllers and need to evaluate obsolescence risk, I/O reuse, plantwide integration, or outage strategy? Start with a technical triage covering our Rockwell and multi-vendor PLC programming and industrial commissioning, FAT, and SAT engineering services.

Ready to apply this in your operation?

When reference architecture meets a live plant, the right engineering questions surface fast. We discuss architectures, standards, and trade-offs at any project stage.

Or call (44) 3305-7147 · WhatsApp (44) 99952-3947 Target initial response time: 1 business day (English & Portuguese).