PLC & Controls13 July 2026

Siemens TIA Portal Explained: Getting Started with Siemens PLC Programming

Discover the essentials of Siemens TIA Portal in this comprehensive guide. Learn how to navigate STEP 7, WinCC, S7 hardware platforms, and modern IEC 61131-3 programming practices to build a solid foundation in industrial automation.

Siemens TIA Portal Explained: Getting Started with Siemens PLC Programming

Introduction to Siemens TIA Portal

For industrial automation engineers, mastering the Siemens ecosystem is often a career-defining move. As one of the most widely deployed automation platforms globally, Siemens hardware controls everything from complex manufacturing lines to critical national infrastructure. At the heart of this ecosystem is the Totally Integrated Automation (TIA) Portal.

Historically, Siemens automation engineering was fragmented. Engineers used SIMATIC Manager (STEP 7 v5.x) for PLC logic, WinCC flexible for HMI design, and separate software for drives and safety. TIA Portal, introduced in 2010, fundamentally changed this by unifying these tools into a single, cohesive engineering framework.

For junior automation engineers, software developers transitioning into Operational Technology (OT), or hiring managers evaluating technical candidates, understanding TIA Portal is essential. This guide breaks down the core components, hardware platforms, programming languages, and best practices needed to get started with Siemens PLC programming.

The Core Components of TIA Portal

The phrase "Totally Integrated" is not just marketing terminology; it represents a shared database architecture. When you create a tag for a PLC input in TIA Portal, that same tag is instantly available to the HMI, the drives, and the SCADA system. This eliminates duplicate data entry and drastically reduces integration errors.

The TIA Portal framework encompasses several key software packages:

  • STEP 7 (Basic and Professional): The core PLC programming environment. STEP 7 Basic is used for the entry-level S7-1200 controllers, while STEP 7 Professional unlocks programming for the advanced S7-1500, S7-300, and S7-400 ranges.
  • WinCC (Basic, Comfort, Advanced, Professional, and Unified): The visualization software used to program Human Machine Interfaces (HMIs) and PC-based Supervisory Control and Data Acquisition (SCADA) systems. WinCC Unified is the latest web-based iteration leveraging HTML5 and JavaScript.
  • Startdrive: The integration tool for commissioning and configuring SINAMICS drives directly alongside the PLC code.
  • Safety Advanced / Basic: Add-on packages that allow engineers to program fail-safe PLCs (e.g., S7-1500F) to meet functional safety standards like IEC 61508 and ISO 13849-1.

Understanding the Siemens Hardware Platforms

While TIA Portal supports legacy hardware like the S7-300 and S7-400 series for migration purposes, modern automation projects are built primarily on two controller families:

SIMATIC S7-1200: The Compact Controller

The S7-1200 is the successor to the S7-200. It is a compact, cost-effective PLC designed for small to medium-sized applications. It features integrated I/O, a built-in PROFINET port, and basic motion control capabilities. For engineers setting up a home lab or learning TIA Portal for the first time, the S7-1200 is the perfect starting point.

SIMATIC S7-1500: The Advanced Controller

The S7-1500 is the flagship PLC family, designed to replace the S7-300 and S7-400. It boasts significantly faster processing times, advanced system diagnostics via an integrated display, and deep integration with motion control. Crucially for modern Industry 4.0 applications, the S7-1500 features an integrated OPC UA Server and Client, allowing seamless, secure communication with IT systems, SCADA platforms (like Ignition or AVEVA), and ERPs.

ET 200SP: Distributed I/O

In modern machine design, it is rare to route all field wiring back to a central control cabinet. The ET 200SP system is a modular distributed I/O platform that communicates with the main PLC via PROFINET. Interestingly, Siemens also offers the ET 200SP CPU, which packs the power of an S7-1500 into the compact form factor of the distributed I/O rack.

IEC 61131-3 Programming Languages in TIA Portal

TIA Portal supports the standard IEC 61131-3 programming languages. However, the industry is experiencing a massive shift in how these languages are applied. Hiring leaders in industrial automation are increasingly prioritizing candidates who are fluent in text-based programming over traditional relay logic.

Ladder Logic (LAD)

LAD remains the most recognized PLC programming language. It visually resembles electrical relay circuits, making it intuitive for maintenance technicians and electricians to troubleshoot. It is best used for basic boolean logic, interlocks, and straightforward sequence control.

Function Block Diagram (FBD)

FBD uses graphical blocks that resemble digital logic gates (AND, OR, XOR). It is highly popular in process industries (like water/wastewater and chemical processing) where control strategies are often mapped out as signal flows.

Structured Control Language (SCL)

SCL is Siemens' implementation of Structured Text (ST). It is a high-level, Pascal-like language. As PLCs take on more complex tasks (such as parsing JSON payloads, complex array manipulation, algorithmic calculations, and string handling) SCL has become indispensable. Modern PLC engineering relies heavily on SCL, and proficiency here is a strong differentiator in the automation job market.

Statement List (STL)

STL is a low-level, assembler-like language heavily used in legacy S7-300/400 systems. While TIA Portal supports STL for the S7-1500 to aid in code migration, it is actively discouraged for new projects. The S7-1200 does not support STL at all.

S7-GRAPH

GRAPH is used to program Sequential Function Charts (SFC). It is ideal for complex state machines, step-by-step manufacturing sequences, and batch processing, offering excellent visual diagnostics for when a sequence stalls.

Siemens Program Architecture: Blocks Explained

Unlike simpler PLCs that run a single continuous routine, Siemens PLCs use a highly structured, modular architecture. A well-organized program utilizes the following block types:

  • Organization Blocks (OB): The interface between the operating system and the user program. OB1 is the main cyclic program, but other OBs handle startup logic, hardware interrupts, and timed cyclic interrupts (e.g., a PID loop running exactly every 10ms).
  • Function Blocks (FB): Code blocks that possess "memory." Whenever you call an FB, you must assign it an Instance Data Block. FBs are perfect for creating reusable, object-oriented code, such as a standardized motor or valve control module.
  • Functions (FC): Code blocks without memory. They take inputs, process logic, and return outputs. If an FC needs to store a state between scan cycles, it must write to a global tag. They are ideal for mathematical calculations or data conversions.
  • Data Blocks (DB): Memory areas used to store data. Global DBs can be accessed from anywhere in the program, while Instance DBs are dedicated to a specific FB.

Optimised Block Access

A critical concept for beginners transitioning to modern Siemens PLCs is "Optimised Block Access." In legacy S7-300s, data in DBs was assigned an absolute address (e.g., DB1.DBX0.0). In S7-1200 and S7-1500 PLCs, blocks are optimized by default. The CPU handles the memory management, and variables are accessed purely by their symbolic name. This drastically improves processing speed and security. Engineers must break the habit of using absolute memory addressing (M-flags) and embrace symbolic programming.

Industrial Networking: PROFINET and OPC UA

You cannot learn TIA Portal without learning industrial networking. Siemens is synonymous with PROFINET, an industrial Ethernet standard that operates in real-time. Setting up a PROFINET network in TIA Portal involves configuring the "Network View," assigning IP addresses, and crucially, assigning PROFINET Device Names. Unlike standard IT networks that rely heavily on IP routing, PROFINET controllers identify field devices via these assigned names.

Furthermore, the S7-1500's native support for OPC UA represents the bridging of Operational Technology (OT) and Information Technology (IT). Engineers can configure the PLC to act as an OPC UA Server, allowing higher-level systems like MES (Manufacturing Execution Systems) or external SCADA platforms to securely browse and subscribe to PLC data without specialized drivers.

Best Practices for TIA Portal Beginners

  1. Utilize PLCSIM: You do not need expensive hardware to start learning. S7-PLCSIM and PLCSIM Advanced allow you to simulate a virtual PLC on your desktop, complete with network interfaces and the ability to download logic exactly as you would to physical hardware.
  2. Embrace User-Defined Data Types (UDTs): Group related data together. Instead of passing 20 different tags (Start, Stop, Speed, Fault) to a motor block, create a

Frequently Asked Questions

What is the difference between STEP 7 and TIA Portal?

TIA Portal is the overarching software framework that integrates multiple automation tools. STEP 7 is the specific software package within TIA Portal used for programming the PLCs. Legacy STEP 7 (v5.x) was a standalone application, whereas STEP 7 (v1X) operates entirely inside the TIA Portal environment.

Can I program an older S7-300 in TIA Portal?

Yes, TIA Portal (STEP 7 Professional) supports the programming and migration of S7-300 and S7-400 PLCs. However, you cannot utilize some of the modern features like Optimised Block Access, which are exclusive to the newer S7-1200 and S7-1500 families.

Is TIA Portal free to use for learning?

Siemens offers a 21-day trial for TIA Portal, which provides full functionality for learning and simulation purposes. After the trial period, a valid commercial license is required to compile and download projects.

Why should I learn SCL instead of Ladder Logic?

While Ladder Logic is excellent for simple boolean operations and electrical troubleshooting, modern automation involves complex data parsing, array manipulation, and mathematical algorithms. SCL (Structured Text) is far more efficient and readable for these advanced, IT-adjacent tasks.

What is PLCSIM?

PLCSIM is a simulation software included with TIA Portal that creates a virtual PLC on your PC. It allows engineers to write, download, test, and debug their logic without needing to purchase physical Siemens hardware.

© 2026 Vertech Group (UK) Ltd. All rights reserved.

Registered in England and Wales · Company No: 10888803

Back to main site