The five IEC 61131-3 languages, and when each is right
One standard, five notations. Most projects use two, and choosing badly makes a program nobody wants to maintain.
Short answer
IEC 61131-3 defines Ladder Diagram, Function Block Diagram, Sequential Function Chart, Structured Text and Instruction List. Ladder dominates discrete machine control because maintenance staff read it; Structured Text suits calculation and data handling; SFC suits sequences with clear steps; FBD suits process and signal flow; Instruction List is deprecated and should not be used for new work.
One standard, five notations, and a lot of arguments about which to use.
Ladder Diagram
Graphical, descended from relay schematics. It dominates discrete machine control for one reason that has nothing to do with expressiveness: a maintenance technician can read it at three in the morning without being a programmer.
That is a genuine engineering property and it is why ladder outlives every prediction of its death.
Structured Text
Textual, Pascal-like. Far better than ladder at calculation, string handling, arrays and loops. Most platforms let you call an ST routine from a ladder rung, which is usually the right structure: ladder for the machine logic, ST for the maths.
Sequential Function Chart
Steps and transitions. Genuinely good for anything with a clear sequence: batch, start-up, complicated machine cycles. It makes 'which step are we on' a first-class question rather than something you infer from a set of bits.
Function Block Diagram
Graphical, signal flow. Common in process industries and in anything descended from a control-loop drawing.
Instruction List
Deprecated. You will meet it as Siemens STL in older programs. Do not start new work in it.
The practical rule: ladder for what maintenance must read, Structured Text for what maths must be right, SFC for what has steps. Mixing deliberately beats picking one and forcing everything into it.
Common questions
- Which IEC 61131-3 language should I learn first?
- Ladder, because it is what you will meet most and what maintenance staff can read. Learn Structured Text second: it handles calculation, string work and data manipulation far better than ladder, and most platforms let you call an ST routine from a ladder rung.
- Is Instruction List still used?
- It is deprecated in the third edition of the standard and should not be used for new work. You will still meet it in older Siemens programs as STL, where it survives because it can express things the graphical languages cannot, but there is no reason to start a new project in it.
Keep reading
- Safety
SIL or PL: which one does your machine need?
Two standards, two scales, and one machine. Which one applies, how they map to each other, and why the answer is usually ISO 13849.
- Safety
Categories B, 1, 2, 3 and 4, in plain terms
Five architectures, what a single fault does to each, and the practical wiring that goes with them.
- Safety
Safety relay or safety PLC: how to decide
One is a wiring decision, the other is a programming one. The count of safety functions, not the size of the machine, is what settles it.