If you’ve just installed Siemens TIA Portal for the first time, you already know the feeling: a huge, unfamiliar interface with panels, trees, and menus that don’t tell you where to start.
That confusion is normal, and it’s also the number one reason beginners give up on TIA Portal before they ever write a working program.
This tutorial walks you through TIA Portal step by step, from installation through building, downloading, and testing your first ladder logic program on a Siemens S7-1200 PLC. No prior Siemens experience required.
If you’ve touched any PLC platform before, or even just understand basic electrical logic, you’ll be able to follow along.
What Is TIA Portal?
TIA Portal (Totally Integrated Automation Portal) is Siemens’ unified engineering software for programming PLCs, configuring HMIs, and setting up drives all inside one project environment.
Instead of switching between separate tools for controllers, operator panels, and networking like older Siemens software required, TIA Portal keeps everything under one project file.
TIA Portal supports the Siemens S7-1200, S7-1500, and S7-300/400 controller families (via different levels of the software), along with WinCC for HMI development.
For this tutorial, we’ll focus on the S7-1200, since it’s the most common entry point for beginners and hobbyists working with Siemens hardware.
TIA Portal Editions: Which One Do You Need?
Siemens sells TIA Portal in tiers, and picking the wrong one is a common early mistake:
| Edition | What It Includes | Best For |
|---|---|---|
| STEP 7: Basic | S7-1200 programming only | Beginners, small projects |
| STEP 7: Professional | S7-1200, S7-1500, S7-300/400 | Most working automation engineers |
| WinCC Basic/Comfort/Advanced | HMI development, bundled by panel tier | Anyone adding an operator panel |
| TIA Portal Trial | Full-featured, time-limited | Learning and evaluation |
For following this tutorial, the free TIA Portal Trial or STEP 7 Basic is enough. Both let you fully program an S7-1200.
What You Need Before Starting
Before opening the software, get these in place:
- A Windows PC meeting Siemens’ minimum specs (TIA Portal does not run natively on Mac or Linux).
- TIA Portal software (STEP 7 Basic/Professional or the trial version, downloaded from Siemens Industry Online Support).
- A Siemens S7-1200 CPU (or the ability to work in simulation using PLCSIM if you don’t have hardware yet).
- An Ethernet cable to connect your PC to the PLC.
- Basic understanding of relay logic or Boolean logic, helpful but not required.
If you don’t have physical hardware yet, don’t let that stop you. TIA Portal includes PLCSIM, a built-in simulator that lets you build and test full programs without a physical PLC. Every step in this tutorial works in simulation.
Step 1: Install TIA Portal
- Download the installer package from Siemens Industry Online Support (you’ll need a free Siemens account).
- Run the setup file and select the product you’re licensed for (STEP 7 Basic, Professional, or Trial).
- During installation, TIA Portal will prompt you to also install S7-PLCSIM if you want simulation capability. Select yes.
- Restart your PC after installation completes; TIA Portal installs several background services that need a fresh boot.
Installation typically takes 30–60 minutes depending on which options you select. Don’t skip installing PLCSIM even if you have hardware. It’s invaluable for testing logic before you touch a real machine.
Step 2: Create Your First Project
Open TIA Portal and you’ll land on the Portal View, a simplified launcher screen. This is different from the Project View, which is the full engineering workspace you’ll spend most of your time in.
- Click Create new project.
- Name your project something descriptive (e.g., “Conveyor_Training_01”) and choose a save location.
- Click Create.
- On the next screen, click Configure a device, then Add new device.
This is where beginners often freeze up, because TIA Portal now asks you to pick your exact CPU model and firmware version.
Step 3: Configure Your Hardware
- Under Controllers, expand SIMATIC S7-1200, then select your specific CPU model (for example, CPU 1214C DC/DC/DC).
- Match the firmware version to what’s printed on your physical PLC’s label, or on the sticker on the front of the module. If you’re unsure, choosing “unspecified CPU” lets TIA Portal auto-detect it later, but matching it manually now saves you a headache during download.
- Click OK. TIA Portal opens the Device Configuration view, showing your CPU with its I/O modules represented visually, just like the physical rack.
This is a good moment to add any expansion modules (digital I/O, analog I/O, communication modules) by dragging them from the hardware catalog on the right into the empty slots next to your CPU.
Step 4: Understand the TIA Portal Interface
Before writing logic, take a minute to orient yourself in the Project View:
- Project Tree (left panel): Your entire project structure, devices, program blocks, tags, PLC variables.
- Working Area (center): Where you edit device configuration, write logic, and build HMI screens.
- Hardware/Instructions Catalog (right panel): Drag-and-drop instructions (contacts, coils, timers, math functions) and hardware modules.
- Inspector Window (bottom): Shows properties, diagnostics, and cross-references for whatever’s selected.
You’ll toggle constantly between the Project Tree and the Working Area, so get comfortable navigating both before moving forward.
Step 5: Write Your First Ladder Logic Program
Now for the part you’ve been waiting for. In the Project Tree, expand your PLC, then Program blocks, and double-click Main [OB1]. This is your main program routine.
We’ll build a simple start/stop motor circuit, one of the most common beginner exercises in PLC programming.
- In the instructions catalog on the right, find the Normally Open contact and drag it onto the first rung of the ladder.
- Click the red question mark above the contact and type a tag name, like
Start_PB. - Add a second Normally Open contact in parallel below the first (this creates a seal-in/latch circuit), assign it the tag
Motor_Run(same as the output coil, so it holds itself on). - Add a Normally Closed contact in series after the parallel branch and name it
Stop_PB. - At the end of the rung, add a Coil (Output) instruction and name it
Motor_Run.
Your finished rung should read: (Start_PB OR Motor_Run) AND NOT Stop_PB → Motor_Run.
This is the classic seal-in circuit: pressing Start energizes the output, and the parallel contact keeps it energized after you release the button, until Stop is pressed.
Step 6: Compile and Check for Errors
Before downloading anything to hardware, compile the program:
- Right-click your PLC in the Project Tree and select Compile > Software (only changes).
- Check the Inspector Window at the bottom for errors or warnings.
- Fix any red errors. Most beginner errors are missing tag assignments or mismatched data types.
Compiling doesn’t touch the PLC at all; it just checks your logic is syntactically valid.
Step 7: Download to Your PLC (or PLCSIM)
If using real hardware
- Connect your PC to the PLC via Ethernet.
- Click Download to device in the toolbar.
- In the extended download dialog, select your PC’s network adapter and click Start search to find the PLC.
- Select your PLC from the results, click Load, then confirm and click Finish.
If using PLCSIM:
- Click Start simulation in the toolbar instead of Download.
- PLCSIM opens as a virtual PLC. Set it to RUN mode.
- Download your program to the simulated PLC the same way you would to real hardware.
Step 8: Test and Monitor Your Program
With the program downloaded and the CPU in RUN mode.
- Open your Main [OB1] block again and click the Monitoring (glasses) icon in the toolbar.
- You’ll see live green highlighting showing current logic states.
- Force
Start_PBto TRUE (right-click the tag > Modify > Modify to 1) and watchMotor_Runenergize and latch. - Force
Stop_PBto TRUE and confirm the output drops.
Watching your logic execute live is where TIA Portal and ladder logic in general finally start to click for most beginners.
Common Beginner Mistakes in TIA Portal
Skipping the CPU firmware match
A mismatched firmware version is the most common reason downloads fail for new users.
Confusing Portal View and Project View
Most real engineering work happens in Project View. Don’t get stuck in the launcher.
Not organizing tags early
Beginners often skip creating a PLC tag table and hardcode addresses instead. Build the habit early; it pays off on larger projects.
Ignoring the Inspector Window
Compile warnings often point directly to the bug you’re chasing.
Downloading without compiling first
Always compile and clear errors before attempting a download.
Next Steps After This Tutorial
Once you’re comfortable with the basics covered here, the natural next steps are.
- Learning function blocks (FBs) and function calls (FCs) to modularize your programs
- Exploring timers and counters (TON, TOF, CTU) for sequencing logic
- Adding a basic HMI screen in WinCC to visualize and control your program
- Studying structured text (SCL) as an alternative to ladder logic for more complex math and data handling
FAQ
Is TIA Portal free to use?
Siemens offers a free trial version of TIA Portal that is fully functional but time-limited (typically 21 days). Beyond that, a paid license (STEP 7 Basic or Professional) is required for continued use.
Do I need a physical PLC to learn TIA Portal?
No. The built-in PLCSIM simulator lets you build, download, and test complete programs without any physical hardware, making it possible to learn TIA Portal entirely on a laptop.
What’s the difference between TIA Portal and STEP 7 Classic?
STEP 7 Classic (also called STEP 7 V5.x) is Siemens’ older programming environment for S7-300/400 PLCs.
TIA Portal is the newer, unified platform covering S7-1200, S7-1500, and S7-300/400 (with STEP 7 Professional), plus HMI and drive configuration in a single project.
Can TIA Portal run on Mac or Linux?
Not natively. TIA Portal is a Windows-only application. Mac and Linux users typically run it inside a Windows virtual machine (via Parallels, VMware, or VirtualBox).
How long does it take to learn TIA Portal as a beginner?
Most beginners can build simple ladder logic programs within a few days of focused practice.
Comfort with function blocks, HMI integration, and structured text generally takes several weeks to a few months of hands-on project work.
