Selecting TIA Portal Software for Siemens S7-1200 PLC Fault

David Krause12 min read
S7-1200SiemensTutorial / How-to
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

1. S7-1200 Software Ecosystem Overview

The SIMATIC S7-1200 is programmed, diagnosed, and commissioned exclusively through Siemens' Totally Integrated Automation (TIA) Portal engineering framework. The TIA Portal bundles STEP 7 (controller programming), WinCC (HMI design), and SINAMICS Startdrive (drive commissioning) into a single integrated tool. For first-time Siemens sites, the two practical questions are which version to buy and which license family covers the work scope.

Every TIA Portal version is delivered as a discrete installation image with a version-specific license key. Projects are saved in version-tagged archives (for example MyProject.ap13 for V13). The version of TIA Portal used to develop the project is the version that owns the program source; opening the same project with a newer or older version is constrained by Siemens' compatibility matrix, not by free-form file read.

TIA Portal Version Release Era STEP 7 Build for S7-1200 Typical Use Case
V11 2010-2011 STEP 7 Basic V11 Legacy S7-1200 firmware 1.x / 2.x
V12 2012-2013 STEP 7 Basic V12 (incl. SP1) Interim deployments
V13 / V13 SP1 2014-2015 STEP 7 Basic V13 Common baseline at S7-1200 firmware 4.x
V14 / V14 SP1 2016-2017 STEP 7 Basic V14 S7-1200 firmware 4.2 / 4.3
V15 and later 2018 onward STEP 7 Basic V15+ Modern S7-1200 firmware 4.4 / 4.5 / 4.6
S7-1200 CPU firmware and TIA Portal version are tightly coupled. A CPU running firmware V4.x generally requires TIA Portal V13 or later. A CPU running firmware V2.x is restricted to TIA Portal V11/V12. Verify the CPU article number and firmware version before committing to a license.

2. TIA Portal Version Compatibility and Project Files

TIA Portal does not auto-translate project archives between arbitrary versions. The compatibility rules engineers encounter most often are:

  1. You cannot open a project built in a newer TIA Portal version using an older TIA Portal installation. A V13 project cannot be opened in V11 or V12; a V14 project cannot be opened in V13.
  2. You cannot reliably edit a project built in an older TIA Portal version using a newer TIA Portal installation unless you perform a formal migration. Migration is a one-way operation that updates the project archive to the newer version.
  3. A license for a newer version allows you to install the matching version and, in the same product family, the previous versions side-by-side. Holding a V13 license, for example, permits installation of V11, V12, and V13 on the same engineering workstation. Each installation is independent; project files are not converted automatically.

This third rule is the operational trick used by integrators and end users who inherit projects of unknown vintage: keep the newest license, install it, then side-load the older versions to read legacy archives without converting them.

3. STEP 7 Basic vs STEP 7 Professional

TIA Portal is sold in two principal editions relevant to S7-1200 work:

Feature STEP 7 Basic STEP 7 Professional
S7-1200 programming (LAD, FBD, SCL, GRAPH limited) Included Included
S7-300 / S7-400 programming Not supported Included
S7-1500 programming Limited (firmware < V2.0) Included
Graph (S7-GRAPH) sequential control Optional add-on Optional add-on
SCL (Structured Control Language) Included Included
PLCSIM simulation S7-PLCSIM for S7-1200 Full S7-PLCSIM
Typical catalog ID 6ES7822-0AA0x-0YA5 6ES7822-1AA0x-0YA5

For an S7-1200-only wrapping machine line, STEP 7 Basic is the correct economic choice. Step up to STEP 7 Professional only if the site already runs S7-300/S7-400 controllers or intends to standardise on S7-1500 in parallel.

4. License Models and Floating vs Single-User

Siemens sells TIA Portal licenses in three common forms:

  • Floating License — the key is checked out from a license server (Automation License Manager) for a configurable period; usable across multiple engineers. Most common in OEM and integration shops.
  • Single License — bound to one engineering workstation (per USB dongle or softkey activation). Typical for a single maintenance engineer on site.
  • Trial License — 14- or 21-day activation keys for evaluation; not legal for production deployment.

For a single wrapping machine being commissioned, a single-user license is the most cost-effective. If the same engineer is responsible for multiple Siemens lines across the plant, evaluate the floating license amortised across the asset base.

5. Matching Your TIA Portal Version to the Installed Project

When a machine arrives with an S7-1200, the version of the offline program source determines which TIA Portal version you need. The decision tree below covers the three realistic scenarios.

5.1 Scenario A — Program source is delivered as a TIA Portal archive

The OEM hands over a file such as WrapperLine.ap13 on USB or via a customer portal. The file extension encodes the TIA Portal major version:

File Extension Originating TIA Portal Version Required Engineering Version
*.ap11 V11 V11 (or V13+ via side-load)
*.ap12 V12 V12 (or V13+ via side-load)
*.ap13 V13 / V13 SP1 V13 (or V14+ via migration)
*.ap14 V14 / V14 SP1 V14 (or V15+ via migration)

Match the version exactly to avoid migration risk. Migration silently strips features that the new version no longer supports and re-resolves hardware catalogue numbers, which can change if Service Packs have been applied.

5.2 Scenario B — No source, only the running PLC

If the OEM will not release the source, the PLC can be uploaded to the engineering workstation using the TIA Portal "Upload from device" function. This requires a TIA Portal version compatible with the PLC's CPU firmware. Refer to the CPU's online diagnostics (Online & Diagnostics → Information) to identify the firmware version, then cross-check with the TIA Portal compatibility table.

5.3 Scenario C — No source, but a SIMATIC Memory Card

If the OEM shipped a SIMATIC Memory Card (SMC) containing the program, the program can be downloaded to a fresh PLC directly from the card without needing the engineering toolchain. This is the most resilient scenario for ongoing maintenance: the SMC becomes the version-independent archive, and the TIA Portal version is only required when a code change is needed.

6. Using a SIMATIC Memory Card as a Version-Independent Strategy

The SIMATIC Memory Card is the single most valuable preventive measure for first-time Siemens sites. Each S7-1200 CPU accepts an SMC in a slot on the front face; the card holds the project source and acts as the program store. Operational advantages:

  • Field replacement of a failed CPU becomes a five-minute swap: insert the SMC into a new CPU of the same article number, power up, and the project transfers automatically.
  • Uploading from the CPU to the engineering workstation yields the same project the OEM used, regardless of which TIA Portal version they had — provided the CPU firmware matches what your TIA Portal installation supports.
  • The SMC is read/write in any PC with an SD card slot, so the program archive can be copied and version-controlled in a normal backup system.
Always request the SMC at handover. If the OEM is reluctant, include a clause in the purchase specification stating that the SIMATIC Memory Card (with program source) is part of the delivery scope. This clause is cheap to write and disproportionately valuable during commissioning.

7. Installing TIA Portal and Required Service Packs

Installation of TIA Portal V13 or later requires a 64-bit Windows installation (Windows 7 SP1 / Windows Server 2008 R2 SP1 or later). Recommended specification at the time of V13 was:

  • Intel Core i5 or equivalent, 2.4 GHz or faster
  • 8 GB RAM minimum (16 GB recommended for projects over 200 program blocks)
  • 10 GB free disk space per installed version
  • Display resolution 1920 × 1080 minimum

Service Packs are mandatory if the project archive was saved by a SP1 build and the engineering installation is the original RTM build. Read the project's metadata via TIA Portal → Project → Properties → Project Information before installing any patch.

8. Online Access, Fault Finding, and Modification Workflow

Once the version is correct and the project is open, the practical fault-finding workflow on an S7-1200 wrapping machine follows a fixed sequence:

  1. Connect the engineering PC to the CPU via PROFINET (TCP/IP) or via the S7-1200's PPI/Modbus interface using a USB-to-RS485 adapter. PROFINET is preferred for online diagnostics throughput.
  2. Set the PG/PC interface under "Online → Accessible Nodes." The CPU should appear with its IP address, MAC address, and firmware version.
  3. Establish an online connection (Online → Go Online). Authenticate with the CPU's password if password protection is enabled (recommended from the start).
  4. Open the diagnostic buffer (Online & Diagnostics → Diagnostics Buffer). Each event is timestamped and categorised: CPU errors, I/O faults, programming errors, and system events. The diagnostic buffer is the primary fault-finding resource.
  5. Use Monitor/Modify to view live tag values and force outputs (with the appropriate CPU access level — usually "Read/write with stop" for force operations).
  6. Cross-reference against the project structure using the Cross-reference (Ctrl+Shift+F) tool to identify every usage of a suspect tag.

8.1 Common Fault Patterns

Symptom Likely Cause Diagnostic Path
CPU in STOP, MRES LED lit Fatal firmware error or memory card fault Read diagnostics buffer; check SMC seating
CPU in STOP, RUN LED flashing Programmatic STOP via OB call Monitor OB82/OB121/OB122 time stamps
Inputs not registering Wiring fault or SM 1223 module pulled Online & Diagnostics → Module Information → I/O Status
PROFINET IO dropouts Device-name mismatch after field replacement Online → Accessible Nodes → Assign PROFINET device name
HMI tags show #### Tag type mismatch or HMI connection disrupted WinCC Tag Simulation; verify HMI connection in TIA Portal

9. Migrating Projects to a Newer TIA Portal Version

If a maintenance site is forced to upgrade TIA Portal (for example, the existing PC is being retired and only V15+ is supported), the migration workflow is:

  1. Open the legacy project in its original version. Resolve any compile errors first. Do not migrate a broken project — the migration cannot repair logic errors.
  2. Save a backup copy of the legacy archive in a version-controlled location.
  3. From inside the legacy installation, choose Project → Migrate to the target version. TIA Portal generates a new archive tagged with the destination version (e.g. WrapperLine.ap15).
  4. Compile the migrated project. Review the migration log; every stripped feature or replaced library block is listed. Resolve each item manually.
  5. Download the migrated project to a spare PLC or a PLCSIM instance first. Test against the original I/O mapping before connecting to the running machine.
Migration is one-way. Once the project is migrated to V15, it can no longer be opened in V13 or V14 unless a separate backup of the legacy archive is preserved. Keep one archive per version boundary you cross.

10. Catalog Numbers and Order Data

At the time of the S7-1200 wrapping machine deployment captured in this reference, the active catalog identifier for STEP 7 Basic in TIA Portal V13 was:

Catalog Number Description Source
6ES7822-0AA03-0YA5 STEP 7 Basic V13 in TIA Portal — Floating License Siemens Industry Mall

The "0AA03" segment identifies V13; the "0YA5" suffix identifies the Floating License delivery. A Single License variant is published under the same article root with a different suffix (0YE5 historically). Confirm the current article number on the Siemens Industry Online Mall before purchase — Siemens refreshes SKUs at major version boundaries.

11. Practical Recommendations for First-Time Siemens Sites

For an end-user site commissioning its first Siemens S7-1200 line, apply the following decisions in order:

  1. Identify the OEM-supplied source. Request the TIA Portal archive and the SIMATIC Memory Card. Both. The archive is for engineering; the SMC is for resilience.
  2. Match the TIA Portal version to the archive extension. If the OEM delivers *.ap13, license STEP 7 Basic V13. Do not "improve" by migrating to V14 or V15 on day one.
  3. Buy one license tier above your current need. A STEP 7 Basic license is sufficient. Upgrade to Professional only if the plant is standardising on S7-300/S7-400/S7-1500 in parallel.
  4. Lock the engineering workstation. Disk-image the PC after a clean TIA Portal installation so a crash can be recovered in minutes. TIA Portal does not store its toolchain configuration in the project; it lives in the OS profile.
  5. Document the CPU article number and firmware version. These two strings define which TIA Portal versions can connect to the running CPU and which SMC part numbers are valid substitutes.
  6. Build a fault-finding template project. Pre-configure the PG/PC interface, the HMI tag list, and the diagnostics layout. Save it as Site_Master.apXX so new engineers can be productive in hours, not days.

12. Troubleshooting Matrix

Problem Likely Root Cause Resolution Verification
Cannot open project archive TIA Portal version mismatch with the archive extension Install the matching older version side-by-side under the newest license Archive opens without "Incompatible version" prompt
Go Online fails with "Protected module" CPU password protection active Enter password in Online → Connect Online status icon turns green
Compile errors after migration Library or function block deprecated in the new version Review migration log; replace deprecated blocks Compile returns 0 errors, 0 warnings
PLCSIM cannot start Local firewall blocking TCP 102 and 50000-50010 Add firewall exception for S7-PLCSIM service PLCSIM instance reachable from TIA Portal
Cannot upload from device CPU firmware older than the TIA Portal version supports Use the matching older TIA Portal or perform an OS update on the CPU first Upload completes; project opens in offline view
License server unreachable Floating license server offline Start Automation License Manager service; verify network reachability License returns to "Available" state

Reference Material Note

All catalog numbers, TIA Portal version identifiers, and compatibility statements above are drawn from the version state of the TIA Portal V13 / V14 transition period. If you are working with TIA Portal V17, V18, V19, or V20, the article-level catalog numbers and minimum PC requirements have been refreshed by Siemens. Always cross-check the live catalog entry on the Siemens Industry Online Mall before procurement.

Which TIA Portal version should I buy for a new S7-1200 wrapping machine?

Match the version of the offline program source delivered by the OEM. If the source is a *.ap13 archive, license STEP 7 Basic V13 (catalog number 6ES7822-0AA03-0YA5 in the V13 era). If the OEM delivers a later archive, license the matching newer version.

Can I open a V11 project in V13?

No. TIA Portal cannot open a project built in an older version. With a V13 license, install V11 side-by-side and open the legacy archive in V11, then migrate it to V13 only when you need to make a modification.

Is STEP 7 Basic enough for an S7-1200?

Yes. STEP 7 Basic supports every S7-1200 firmware version, all S7-1200 languages (LAD, FBD, SCL), and the S7-PLCSIM simulation variant for S7-1200. STEP 7 Professional is only required for S7-300, S7-400, or full S7-1500 support.

How do I connect to the S7-1200 if I have no project source?

Use Online → Accessible Nodes in TIA Portal over PROFINET. Identify the CPU by its MAC address and IP, then use "Upload from device" to retrieve the program. The CPU must be running a firmware version supported by the installed TIA Portal.

Why is a SIMATIC Memory Card important for maintenance?

The SIMATIC Memory Card holds the project source on the CPU, making field replacement a five-minute swap of the SMC into a spare CPU of the same article number. It also acts as a version-independent backup that any matching TIA Portal version can read.

Back to blog