Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Siemens TIA Portal: Structured PLC Programming for Machines
New
3 students

Siemens TIA Portal: Structured PLC Programming for Machines

One real assembly machine in TIA Portal V18, from first data block to handover: UDT, station FB, sequence, alarms, HMI
Created byAyoub Alaoui
Last updated 11/2026
English
English

What you'll learn

  • Design the data first: a station UDT, one data block per station and one for the machine, so the program and the HMI read the same records
  • Build one reusable station FB with a clean interface and call it for every station from OB1
  • Write a step sequence with timeouts, interlocks, manual and automatic modes, alarm bits and a reset that behaves on site
  • Build an HMI on top of that data: an overview, one faceplate bound to the station type, an alarm view and a recipe
  • Hand a project over properly: types in a global library, project compare, archive and the documents a maintenance team reads

Course content

8 sections • 35 lectures • 2h 0m total length
  • 1.1 What we are building1:53

    The machine of the course on one diagram: a rotary table with four positions, two stations built the same way, and where the course ends. The order of the eight sections.

  • 1.2 Tools and versions1:26

    TIA Portal V18 with STEP 7 Professional and WinCC, S7-PLCSIM instead of hardware, the devices in the project, and what you should know before you start.

  • 1.3 A new project, the right way2:46

    We create the project, add the CPU with its exact article number and firmware, set the security wizard for a training machine, give the PROFINET interface an address and a short device name, switch on system and clock memory, add 16 inputs and 16 outputs and compile the hardware.

  • Section 1 quiz

Requirements

  • Basic PLC knowledge: you know what a PLC, an input, an output and a data block are
  • TIA Portal V17 or newer with S7-PLCSIM installed (the trial version is enough); no hardware is needed

Description

This course contains the use of artificial intelligence.

Most PLC courses stop at what a data block is and how a timer works. This course starts there and goes to the part that only shows up after a machine has been running for two years: how the project is structured, so that a maintenance electrician finds a fault at three in the morning, and so that the next engineer adds a station without unpicking the last one.


We build one machine from start to finish in TIA Portal V18: a small assembly cell on a rotary table with an infeed, two identical stations and an outfeed. Everything runs in S7-PLCSIM, so no hardware is needed.


The order is deliberate. The data comes first: a station type (UDT), one data block per station and one for the machine. Then one station function block with a clean interface, called twice from OB1. Then the logic inside it: binary logic, edges, a step sequence with a timeout on every step, timers and counters, interlocks, manual and automatic modes. Then diagnostics: alarm bits in the type, fault handling and reset, the diagnostics buffer, cycle time. Then the machine itself: rotary table, infeed, outfeed, part tracking, a dry run and a pre-FAT checklist. Then the HMI on top of that data: an overview screen, one faceplate bound to the station type and used for every station, an alarm view and a recipe. Finally we standardise: the types go into a global library, we compare projects, archive and hand over.


Every lesson that shows code ends with a compile at zero errors and zero warnings on screen. Each lesson is short, between three and nine minutes, and shows the real TIA Portal screen with the instructions as overlays, so you can follow along in your own project.


The narration is a generated voice, produced from scripts written by our engineers.


What you need: basic PLC knowledge, and TIA Portal V17 or newer with S7-PLCSIM. The trial version is enough.

Who this course is for:

  • Automation technicians and engineers who can write a working TIA Portal program and want to structure it so it stays maintainable
  • Beginners with PLC basics who prefer to learn by building one complete machine project from the first data block to the handover