← Back to Blog

Industrial Automation

21 articles

PLC Tags and the Hardware Address Space

June 1, 2026 — Article 6 of the Studying TIA Portal series. Why PLC tags should be treated as a readable hardware vocabulary, not the whole software architecture: I/Q/M/DB spaces, IO mapping, symbolic names, and clean ownership boundaries.

Error Handling in SIMATIC AX - TRY/CATCH from a TIA Portal Lens

June 1, 2026 — Article 16 of the Studying SIMATIC AX series. The current tested SIMATIC AX ST compiler rejects general TRY/CATCH, so expected PLC fault conditions still need deterministic guard/report/recover logic, safe defaults, and alarm/status reporting.

Data Blocks — Why TIA Treats Data as First-Class Objects

June 1, 2026 — Article 5 of the Studying TIA Portal series. Why Data Blocks in TIA Portal are more than storage: global DBs, instance DBs, commissioning diagnostics, start values, retention, download discipline, and the ownership rules that keep shared data readable.

Where Codesys Actually Runs — Runtime Targets and the Hardware Story

May 29, 2026 — A TIA Portal engineer's walk through Codesys runtime targets — why the IDE and the runtime are separate products, the free Control Win SL soft PLC, the €55 Raspberry Pi runtime, hard-real-time RTE, the OEM-embedded runtime ecosystem, and what the licensing model means in practice.

Configuration, Tasks, and Programs — The AX Scan Cycle

May 27, 2026 — Article 15 of the Studying SIMATIC AX series. The AX scan cycle explained from the configuration.st file — what CONFIGURATION, TASK, and PROGRAM actually mean, how task priorities and interruption work, the declarative TASK→PROGRAM binding pattern versus calling OBs from OB1, multi-task patterns including a measured struct atomicity test on PLCSIM Advanced V8.0, and the complete mapping back to TIA Portal architecture.

Function Blocks vs Functions — Code, State, and the Instance

May 25, 2026 — Article 4 of the Studying TIA Portal series. The structural difference between Function Blocks (FB) and Functions (FC) — code that remembers vs code that forgets — and how the instance data block model carries state across calls. Includes a cross-platform comparison of how Siemens TIA Portal, Beckhoff TwinCAT 3, Codesys, and SIMATIC AX implement the same IEC 61131-3 split, plus a worked example of multi-instance FB design and the two Siemens download-without-reinitialization mechanisms (per-DB memory reserve since V12, V21 "Keep actual values" for S7-1500).

Codesys ST Through SCL Eyes — The Language Differences That Catch You First

May 21, 2026 — Article 3 of the Studying Codesys series. A TIA Portal engineer walks the Codesys ST language surface from a TIA SCL point of view — the `#` prefix and the `stat` naming convention, the two-pane editor, the VS Code question, data-type deltas in both directions, the OOP keyword surface, Actions as first-class callable sub-routines, RETAIN and PERSISTENT alongside the lived TIA snapshot-workflow gap, pragmas and attributes, and per-Action language mixing.

The apax CLI — Every Command Worth Knowing

May 19, 2026 — Article 14 of the Studying SIMATIC AX series. A walk through every apax command worth knowing — create, install, build, test, dm, and the supporting commands around the edges. With honest notes on the rough edges of the Device Manager subsystem from hands-on use of apax CLI v4.3.0.

Organization Blocks — TIA Portal's Execution Model

May 18, 2026 — Article 3 of the Studying TIA Portal series. A working engineer's tour of TIA Portal's execution model through Organization Blocks — OB1, OB100, cyclic and hardware interrupts, diagnostic OBs — including a cross-platform comparison of how Siemens, Beckhoff, Codesys, Rockwell, and SIMATIC AX handle the main scan cycle.

Inside a Codesys Project — Devices, Applications, POUs, and the Habits Worth Unlearning

May 15, 2026 — A TIA Portal engineer studying Codesys steps inside the IDE — Devices view vs POUs view, Applications, Task Configuration, per-application Library Manager, six programming-language editors, and the structural habits a TIA engineer has to unlearn. Article 2 of the Studying Codesys series.

Variables and the Type System in SIMATIC AX

May 11, 2026 — How SIMATIC AX organizes variables and types for TIA Portal engineers — VAR_INPUT/VAR_OUTPUT/VAR sections, VAR_GLOBAL and VAR_EXTERNAL contracts, STRUCT and ENUM patterns, typed literals, and the AT keyword for direct addresses. A practical mapping from TIA Portal mental models to AX text.

Why I'm Studying Codesys — And What a TIA Portal Engineer Actually Sees Looking at the Alternative

May 7, 2026 — A TIA Portal engineer studies Codesys — the IDE/runtime split, who owns CODESYS GmbH, the cost story, where Codesys actually shows up, and the topical arc of the Studying Codesys series.

The Map Before the Territory — What TIA Portal Programs Are Actually Made Of

May 7, 2026 — Article 2 of the Studying TIA Portal series. A working engineer's map of the building blocks of a TIA Portal program — OBs, FBs, FCs, DBs, instances, PLC tags, and types — and what makes TIA's design choices distinctive compared with other PLC platforms.

TempController on a Real Screen — End-to-End AX + WinCC UE Demo

May 6, 2026 — Hands-on walkthrough of connecting a SIMATIC AX function block to a WinCC Unified Elements screen over OPC UA. Pragmas, YAML tags, the V:1$DA$ address quirk, and the full apax build → run loop — with PLCSIM Advanced and Unified Runtime, no TIA Portal GUI involved.

Why I'm Writing a Structured TIA Portal Series — And What You'll Get Out of It

May 4, 2026 — Series kickoff — why I am writing a structured TIA Portal series, the gap between Siemens manuals and engineering judgment, and the five movements that organize the series.

WinCC Unified Elements — Code-Based HMI for TIA Portal Engineers

April 30, 2026 — WinCC Unified Elements explained for TIA Portal engineers — how the new code-based HMI environment works, how it pairs with SIMATIC AX over OPC UA, and what is missing today.

What Is the Future PLC Programming Tool of Siemens: Simatic AX or TIA Portal?

March 31, 2026 — The question is no longer what tool is more convenient for humans. The question is what tool is more convenient for AI agents. My take on Simatic AX vs TIA Portal.

Two Types of SIMATIC AX Projects — Full AX vs TIA Portal Hybrid

March 11, 2026 — When you run apax create, you face a choice between two fundamentally different project types — full AX engineering or a hybrid with TIA Portal. Here is how they differ and which one to start with.

You Don't Need AX Code IDE — SIMATIC AX Runs From Any VS Code Workspace

March 10, 2026 — SIMATIC AX is fully CLI-driven. You can run apax commands from any terminal inside your normal VS Code workspace — no AX Code IDE required.

Siemens Just Filled the Biggest Gap in Simatic AX — HMI Design

March 4, 2026 — WinCC Unified Elements brings code-based HMI design to the Simatic AX family — visual and YAML-based screen design in VS Code, with native Git support.

How AI Is Changing Industrial Automation Development

January 26, 2026 — How AI agents are transforming PLC development — from virtual commissioning to shipping an industrial oven in 5 days instead of 3 weeks.