Physical AIUpdated 21 October 20267 min read

PLC Programming Languages: LD, FBD, ST and SFC Explained

IEC 61131-3 defines four current PLC programming languages: ladder diagram, function block diagram, structured text and sequential function chart. Instruction list was deprecated in 2013. In the six months to 21 October 2026, ITJobsWatch counted 67 UK permanent adverts citing ladder logic, up from 22 a year earlier.

PLC ProgrammingIEC 61131-3Ladder LogicStructured TextFunction Block DiagramSFC
Electrician in a blue hard hat checking wiring inside a tall industrial control cabinet

Key takeaways

  • IEC 61131-3 defines four current PLC languages (LD, FBD, ST, SFC); instruction list was deprecated in the third edition in 2013.
  • Learn ladder diagram first, then structured text: ITJobsWatch counted 67 UK permanent adverts citing ladder logic in the six months to 21 October 2026, up from 22 a year earlier.
  • Siemens' April 2025 style guide recommends structured text (SCL) for reusable standard blocks and LAD or FBD for mostly binary logic that service staff must read.
  • Use sequential function chart for batch and machine sequences, with each step's action written in ladder, FBD or structured text.
  • Most UK adverts name a platform (Siemens appeared in 483 ITJobsWatch adverts, Rockwell in 101) as well as the language, so learn both together.

PLC programming languages are defined by the IEC 61131-3 standard, which names four current languages: ladder diagram (LD), function block diagram (FBD), structured text (ST) and sequential function chart (SFC). Instruction list (IL) was deprecated in the third edition (2013) and, according to Wikipedia's summary of the standard, removed from the 2025 fourth edition. If you are planning a UK career, learn ladder first, add structured text second, and treat FBD and SFC as tools you will meet inside vendor software.

What are the PLC programming languages in IEC 61131-3?

The standard defines two graphical-style languages for logic (LD and FBD), one text language for algorithms (ST), and one chart language for sequences (SFC). PLCopen, the vendor-neutral body that promotes the standard, describes IEC 61131-3 (part 3 of IEC 61131) as the basis for PLC programming languages across manufacturers, which is why the skills transfer between brands even though the software looks different.

LanguageStyleBest forWatch out for
Ladder diagram (LD)Graphical, relay-style rungsDiscrete logic, interlocks, motor control, online fault-findingCluttered when it has to do maths or data handling
Function block diagram (FBD)Graphical, blocks joined by signal flowAnalogue processing, PID loops, signal chainsLarge networks become hard to follow
Structured text (ST)Text, Pascal-likeCalculations, loops, arrays, recipes, string handlingHarder for electricians to read online
Sequential function chart (SFC)Graphical steps and transitionsBatch processes and machine sequencesStep actions still need another language
Instruction list (IL)Text, assembly-likeReading legacy programmes onlyDeprecated since 2013, avoid for new work

Which PLC language should you learn first?

Learn ladder diagram first because it is the language you will meet on almost every UK site, then add structured text within your first year. Ladder reads like an electrical schematic, so electricians and maintenance technicians can follow it, and it shows live power flow when you go online, which makes fault-finding quick. Structured text is far more compact once you need arithmetic, loops or arrays, and engineers with a software background pick it up fast.

Most experienced engineers mix languages in one project. A common split is ladder or FBD for I/O handling, interlocks and motor control, and structured text for calculations, data processing and communications handling. The aim is not to pick a winner but to choose the language that the next person on call can read at three in the morning.

When should you use ladder diagram?

Use ladder for discrete, mostly Boolean logic where a technician may need to read it online: start-stop circuits, permissives, interlocks and alarms. It was designed to mirror relay schematics, so the learning curve is gentle for anyone with an electrical background.

A basic ladder logic diagram with a normally open contact X1 driving output Y1 and a normally closed contact X2 driving output Y2 between two power rails
A basic ladder logic diagram with a normally open contact X1 driving output Y1 and a normally closed contact X2 driving output Y2 between two power railsPhoto: Mithilrkadam, CC BY-SA 4.0, via Wikimedia Commons

The classic example is the motor start-stop seal-in. Both languages below do exactly the same job, so you can see how the same logic looks in each.

LanguageStart-stop logic with seal-in
LadderNormally open Start contact in parallel with a normally open Motor contact, in series with normally closed Stop and normally closed Fault contacts, driving the Motor coil
Structured textMotor := (Start OR Motor) AND NOT Stop AND NOT Fault;

Ladder struggles when the job turns into data handling. Long chains of maths blocks, string handling and large arrays make programmes visually cluttered and hard to navigate, which is the moment to move that part into structured text. Our ladder logic tutorial walks through the basics step by step.

PLC Programming: Ladder Logic vs Structured Text Explained from AutomationDirect

When should you use structured text?

Use structured text for calculations, scaling, loops, recipes and anything that would take a screen of ladder to express in five lines. It is Pascal-like, with IF, CASE, FOR and WHILE constructs, so the syntax is familiar to anyone who has written Python or C.

Here is a tank level controller with hysteresis, line by line.

Line of structured textWhat it does
IF Level_pct < 30.0 THENStart filling when the tank falls below 30 per cent
FillPump := TRUE;Energise the pump output
ELSIF Level_pct > 80.0 THENStop filling above 80 per cent
FillPump := FALSE;De-energise the pump output
END_IF;Between 30 and 80 per cent the pump keeps its last state, which gives hysteresis
Level_pct := Raw / 27648.0 * 100.0;Scale a Siemens analogue input (nominal range 0 to 27648) to per cent; check your module's data sheet

The trade-offs are the mirror image of ladder: text is compact and powerful, but online monitoring is less visual and a maintenance electrician may be uncomfortable editing it on a live plant. If you want a short visual explanation, this video covers the basics.

Structured Text PLC Programming Explained (IEC 61131-3 Basics)

What about function block diagram and sequential function chart?

Function block diagram wires blocks together so you can see signal flow, which suits analogue processing, PID control and chains of scaling and filtering. Sequential function chart splits a programme into steps and transitions, which suits batch processes and machine sequences because the chart documents the process as well as running it.

A function block diagram where an ADD block feeds a LIMIT block with maximum 10000 and minimum minus 10000
A function block diagram where an ADD block feeds a LIMIT block with maximum 10000 and minimum minus 10000Photo: Stkl, CC BY-SA 4.0, via Wikimedia Commons

In practice SFC is often used for the overall sequence, with each step's action written in ladder, FBD or structured text.

What does Siemens recommend for each language?

Siemens' own programming style guide for S7-1200 and S7-1500 (version 2.1.0, April 2025) gives a clear steer on which language to use for which job, and it is a useful default even outside the Siemens world.

TaskSiemens recommendation
Standard blocks (reusable logic)Structured text (SCL), described as the most compact form with the best readability
Call environments and mostly binary logicLAD or FBD, which give easier diagnosis and a faster overview for service personnel
Sequential controlGRAPH (Siemens' sequential language)
Process engineering and signal flowCFC (Continuous Function Chart)
Time-critical codeSCL, LAD or FBD, because GRAPH and CFC add runtime

Notice how this matches the engineer's rule of thumb: text for algorithms, graphics for logic that humans need to read quickly. Siemens' TIA Portal product page also highlights its fully graphical LAD and FBD editors, which is why most newcomers start there. Our TIA Portal beginner's guide shows the first steps, and the programme structure guide explains how to organise blocks.

What PLC languages do UK job adverts ask for?

UK adverts ask for ladder logic and a named platform far more often than they name structured text on its own. According to ITJobsWatch (permanent UK vacancies, six months to 21 October 2026), 67 adverts cited ladder logic, against 22 a year earlier and 9 two years earlier, with a median advertised salary of £47,500 from 20 quoted salaries. Siemens appeared in 483 adverts (median £52,500) and Rockwell in 101 (median £52,500).

TermITJobsWatch permanent adverts, 6 months to 21 Oct 2026Same period 2025Median salary
Ladder logic6722£47,500
Siemens483254£52,500
Rockwell101117£52,500

On Reed on 21 October 2026, searches returned 48 ladder logic jobs, 64 TIA Portal jobs, 67 Allen-Bradley jobs, 24 CODESYS jobs and 104 PLC programmer jobs. One live advert was titled Control Systems Engineer (Structured Text / Ladder Logic), a good example of employers wanting both. Reed's search for structured text mostly returns document-production roles, so we have not quoted a count for it. Treat all of these as a snapshot: ITJobsWatch is an IT-focused index with small samples, and counts change daily. Our UK PLC job market roundup and PLC engineer salary guide put the numbers in context.

What happened to instruction list?

Instruction list is the old assembly-style language, and you only need to read it, not write it. It was deprecated in the third edition of IEC 61131-3 in 2013, and Wikipedia reports it was removed in the fourth edition in 2025. You may still meet it on legacy installations, so recognise it, but spend your learning time on ladder and structured text.

How EDWartens can help

The EDWartens UK Professional Module is a five-day live online class in Siemens TIA Portal (the certificate states V19). Days one and two cover the TIA Portal environment, S7 PLC hardware, ladder logic and simulation, so it is ladder-first, and the course is Siemens-focused rather than Allen-Bradley. It is online, using PLCSIM and Factory I/O rather than a physical rig. To practise for free, try the ladder logic simulator and the IEC 61131-3 simulator, or the free Siemens TIA Portal course. Details are on the Professional Module page, and you can sign up to reserve a seat with a £100 deposit.

Start free

Learn PLC programming free, then practise the job

Free job simulation

PLC Programmer

Write the I/O list, program the line, run the FAT and handle a change request.

The first five days are free, no card needed.

Live UK jobs

PLC and automation jobs in the UK

Updated daily, with licensed visa sponsors marked.

Browse all engineering jobs

Frequently asked questions

What are the five PLC programming languages?

The older IEC 61131-3 list had five: ladder diagram, function block diagram, structured text, sequential function chart and instruction list. Instruction list was deprecated in the third edition (2013), and Wikipedia reports it was removed in the 2025 fourth edition, so four languages are current. Ladder and structured text are the two most worth learning.

Should I learn ladder logic or structured text first?

Start with ladder logic. It reads like an electrical schematic, shows live power flow online and appears in most UK adverts, so it builds PLC fundamentals quickly. Add structured text once you are comfortable, because it handles calculations, loops and data far more compactly. Most engineers end up using both on the same project.

Is instruction list still used?

Only on older installations. IL was deprecated in the third edition of IEC 61131-3 in 2013 and, according to Wikipedia, removed from the 2025 fourth edition. You should be able to recognise it when maintaining legacy equipment, but there is little reason to write new programmes in it.

What language does Siemens TIA Portal use?

TIA Portal projects for S7-1200 and S7-1500 can use ladder (LAD), function block diagram (FBD) and structured text (SCL), plus GRAPH for sequences and CFC for process solutions. Siemens' April 2025 style guide recommends SCL for standard blocks and LAD or FBD where binary logic must be easy for service staff to read.

Do UK PLC job adverts ask for structured text?

Some do, usually alongside ladder logic. One live Reed advert on 21 October 2026 was titled Control Systems Engineer (Structured Text / Ladder Logic). Most adverts focus on a platform such as Siemens TIA Portal or Allen-Bradley, so showing ladder plus basic structured text on that platform is a sound combination.

Sources

  1. IEC 61131-3 - Wikipedia
  2. PLCopen - IEC 61131-3 standard
  3. Siemens - Programming style guide for SIMATIC S7-1200/S7-1500 (V2.1.0, April 2025)
  4. Siemens - STEP 7 (TIA Portal)
  5. ITJobsWatch - Ladder Logic job trends
  6. ITJobsWatch - Siemens job trends
  7. ITJobsWatch - Rockwell job trends
  8. Reed - Ladder logic jobs
  9. Reed - TIA Portal jobs
  10. Reed - Allen Bradley jobs

Share this article

About the author

EDWartens Team

EDWartens Instructional Team

The EDWartens instructional team brings together UK-based automation engineers, certified Siemens and Rockwell specialists, and industry practitioners with decades of combined experience in PLC programming, SCADA engineering, and industrial AI.

View all articles by EDWartens

Ready to become job-ready?

Start with a free course today, or train live in Siemens PLC, HMI and SCADA on the Professional Module.