Ladder, FBD, ST, SFC: 4 PLC Languages Engineers Still Use in 2026

PLC Fundamentals · Engineering Notes · Updated 2026-06-30

By KOEED Engineering Team · 2026-06-30 · 7 min read · Engineering Notes

The four core PLC programming languagesLadder Diagram (LD), Function Block Diagram (FBD), Structured Text (ST), and Sequential Function Chart (SFC) — still cover almost every controller KOEED ships. They are the four normative languages from IEC 61131-3 that every modern vendor IDE (Studio 5000 v36+, TIA Portal V20, GX Works3, Sysmac Studio) implements, plus a handful of vendor-specific dialects that are still useful to recognize on legacy and brownfield lines. This 2026 update walks through what each language is for, what changed since the 2024 edition of this article, and which one to reach for on a Allen-Bradley ControlLogix 5580, Siemens S7-1500 / S7-1200 G2, or Mitsubishi MELSEC iQ-R retrofit.

> AI Summary

  • The four normative IEC 61131-3 PLC languages — LD, FBD, ST, SFC — cover discrete I/O, process loops, algorithms, and state machines on every modern controller.
  • Ladder (LD) still wins for wiring, motor starters, and safety circuits that maintenance electricians must read with a printout at 02:00.
  • Structured Text (ST) is now the default for math, recipes, IIoT payloads, and any code that needs OOP extensions or refactoring tools.
  • FBD dominates closed-loop process work; SFC dominates batch, mode-of-operation, and any state-driven sequence.
  • Vendor-specific dialects — Allen-Bradley FBD / SFC in Studio 5000, Siemens S7-SCL, Mitsubishi GX Works3 ST — map cleanly onto the IEC 61131-3 base.

In 2026 the four IEC 61131-3 languages still cover the same control problems, but the recommended mix is ST for code, LD for wiring, FBD for loops, and SFC for sequences.

What changed since 2024

Two shifts are worth noting if you learned these languages before 2024:

  1. ST became the default in vendor IDEs. Studio 5000 v36+, TIA Portal V20, GX Works3, and Sysmac Studio now expose Structured Text with full OOP, namespaces, and refactoring tools on par with C# or Java. SFC gained clearer branch and step-action semantics in the 4th edition of IEC 61131-3 (IS 2025), which removes a long-standing source of confusion.
  2. Vendor-specific dialects are now clearly branded. Allen-Bradley calls its ladder dialect Ladder Diagram (LD) and supports the same IEC 61131-3 constructs in Studio 5000. Siemens S7-SCL is essentially ST with Siemens extensions. Mitsubishi's GX Works3 ST, Omron's ST on Sysmac Studio, and Schneider's ST in EcoStruxure Control Expert all follow the IEC 61131-3 base — code ports with a renaming pass.

> Tip

Treat vendor-specific PLC programming languages (Studio 5000 LD, TIA Portal SCL, GX Works3 ST) as dialects of IEC 61131-3, not as separate ecosystems. Code ports across them; the differences live in tag naming, I/O addressing, and library access, not in language semantics.

The four core PLC programming languages, 2026 perspective

1. Ladder Diagram (LD / LAD)

Ladder Logic, also written as LAD in Siemens and AB literature, is the most widely used of the four. It is a graphical language designed to resemble the electrical schematic of a relay panel, with two vertical rails (power) and horizontal rungs (logic). Contacts represent inputs, coils represent outputs, timers and counters are standard blocks, and a 2026 IDE lets you drop an inline ST expression inside a contact or coil when the Boolean logic gets dense.

LD is the right choice for applications dominated by discrete logic: on/off control, motor starters, valve manifolds, and any safety circuit a wireman will fault-find at 02:00 with a printout. Modern ladder rungs can call ST functions and FBD blocks, so the discipline of "keep the wiring sheet in LD" survives in 2026. For the current Allen-Bradley and Mitsubishi line-up, see Allen-Bradley ControlLogix and Mitsubishi MELSEC iQ-R CPU stock.

2. Function Block Diagram (FBD)

FBD is a graphical, data-flow language: blocks with named inputs and outputs, wired together to form the program. Each block is a function (PID, scaling, motor, filter) and the wiring shows how data flows between them. FBD is the language of choice for process loops, drives, and any code where you want the program to be self-documenting on a single screen.

In 2026, vendor libraries ship thousands of certified FBD blocks (PID, motor, filter, signal conditioning, OPC UA client), so a closed-loop PID becomes five connected blocks instead of a 200-line ST routine. FBD is also the natural target for Schneider Modicon M580 process work and for EcoStruxure Control Expert, where the FBD library is one of the most complete in the industry.

3. Structured Text (ST)

Structured Text, often called SCL on Siemens platforms, is a text-based, high-level language that looks like Pascal or a constrained C. It has IF / CASE / FOR / WHILE, functions, function blocks, methods, namespaces, and structured data types, and is now the default for everything that is not a wire diagram. The third edition of IEC 61131-3 (2013) added OOP extensions; the fourth edition (IS 2025) refined them.

ST is the right choice for math, parsing, recipe management, MQTT payloads, alarm engines, and any algorithmic logic. The snippet below is a typical 2026 ST method on a function block, the kind you would write once and reuse across multiple Omron NX/NJ or Allen-Bradley ControlLogix projects.

// Structured Text: OOP method on a function block (IEC 61131-3 ed. 3+)
FUNCTION_BLOCK PneumaticCylinder
  VAR
    ExtendOK  : BOOL;
    RetractOK : BOOL;
    Position  : REAL := 0.0;
  END_VAR
  METHOD MoveTo : BOOL
    VAR_INPUT
      Target : REAL;
    END_VAR
    Position := Target;
    MoveTo := (Position = Target) AND ExtendOK AND RetractOK;
  END_METHOD
END_FUNCTION_BLOCK

4. Sequential Function Chart (SFC)

SFC models a program as steps, transitions, and actions — a state machine in graphical form. Each step does work; each transition waits for a Boolean condition; actions attached to a step run while the step is active. SFC is the right tool for batch processes, mode-of-operation logic, and any sequence with a finite number of named states.

The 4th edition of IEC 61131-3 (IS 2025) tightened the rules around simultaneous and alternative branches, which used to trip up new users. For a CIP clean-in-place sequence, a palletizer mode change, or a mill rewind cycle, SFC is faster to draw and easier to validate than the equivalent ST.

Vendor-specific dialects worth knowing in 2026

Vendor IDE / Version LD dialect ST / FBD / SFC Notes
Allen-Bradley Studio 5000 v36+ Ladder Diagram (LD) ST, FBD, SFC all supported Add-On Instructions (AOIs) reuse ST methods
Siemens TIA Portal V20 LAD (Ladder) + FBD SCL (= ST), S7-Graph (= SFC), CFC SCL is the dominant high-level language
Mitsubishi GX Works3 Ladder Diagram (LD) ST, FBD, SFC supported MELSEC iQ-R / iQ-F (FX5) coverage
Omron Sysmac Studio Ladder Diagram (LD) ST, FBD, SFC supported NX/NJ series native IEC 61131-3
Schneider EcoStruxure Control Expert Ladder Diagram (LD) ST, FBD, SFC, CFC M580 ePAC and M340 supported

Cross-Reference

Older vendor-specific PLC programming languages you may still see on installed base equipment: Siemens STL / SCL / S7-Graph / CFC, Allen-Bradley FBD / SFC / Structured Text under RSLogix 5000, and Mitsubishi GX Developer ladder on FX3U. The IEC 61131-3 base carries forward into Studio 5000, TIA Portal V20, and GX Works3; renaming a tag is usually the only edit needed.

Migration note: cross-vendor porting of FBD blocks is the most expensive because the block libraries are vendor-specific. ST ports most cheaply — the language syntax is the same, only the IDE call sites differ.

Choosing the right language in 2026

A practical rule of thumb for a new project: start with three languages — LD for the wiring sheet, FBD for loops and drives, and ST for everything else. Add SFC the moment your state count exceeds four or five. All four are now first-class citizens in Studio 5000 v36+, TIA Portal V20, GX Works3, and Sysmac Studio, so mixing per routine is the standard 2026 workflow, not a workaround.

For runtime math, recipe work, and Modbus commissioning, the Hex to Float Converter and Modbus CRC Calculator pair well with ST routines. For module identification and EOL cross-reference, the AI Diagnostic Tool reads a nameplate and returns a modern equivalent.

Sourcing a ControlLogix, SIMATIC, or MELSEC module for an IEC 61131-3 retrofit?

Send your BOM to Moritta@KOEED.COM. Active stock, EOL stock, and cross-references for the IDE you are migrating to, all in one quote within 24 hours.

Send My BOM →

Related on KOEED Blog

  • Engineering Notes — long-form technical deep dives for maintenance engineers.
  • Daily PLC News — firmware releases and EOL notices across the 9 brands KOEED supports.
  • FAQs — selection, sourcing, and cross-reference questions answered by the engineering team.
  • Siemens SIMATIC modules — S7-1500 / S7-1200 G2 / ET200 stock.

Frequently asked questions

What are the four main PLC programming languages?

The four normative languages defined by IEC 61131-3 are Ladder Diagram (LD), Function Block Diagram (FBD), Structured Text (ST), and Sequential Function Chart (SFC). All four are supported on Allen-Bradley, Siemens, Mitsubishi, Omron, and Schneider controllers in 2026.

Which language should I start with in 2026?

Start with Ladder (LD) if you are coming from a maintenance / electrical background, and with Structured Text (ST) if you are coming from a software background. ST is the default high-level language in TIA Portal V20, Studio 5000 v36+, GX Works3, and Sysmac Studio, and covers roughly 70% of real control code.

Are vendor-specific languages still relevant in 2026?

Yes — Siemens SCL, Allen-Bradley Ladder Diagram, Mitsubishi GX Works3 ST, and Omron ST are all IEC 61131-3 dialects. They are first-class languages in the vendor IDE, and code ports cleanly between them with a tag-rename pass.

Can I mix ladder, FBD, and ST in the same project?

Yes. All major vendor IDEs allow per-routine language selection. A typical 2026 pattern is Ladder for I/O wiring, FBD for the process loop, and Structured Text for recipe and alarm logic, all in one project.

Where can I learn these four languages in 2026?

PLCopen publishes free coding guidelines and style guides online. Every major vendor (Rockwell, Siemens, Mitsubishi, Omron, Schneider) publishes free self-paced courses for their IDE. For module-level fault codes and cross-reference, see the PLC Error Code Database on KOEED.

KOEED Engineering Team

Industrial automation editors at KOEED. We write about PLC sourcing, cross-reference, and legacy system support. Reach the team at Moritta@KOEED.COM .

Related Articles

Kembali ke blog