IEC 61131-3 · Sequential Function Chart

SFC / GRAFCET Lab

Ladder shows you wiring. Structured Text shows you logic. SFC shows you the sequence — which is what a machine actually is. Sixteen lessons take you from a two-step chart to a full CIP recipe, each one proven by scripted commissioning tests running on the in-browser SFC engine.

Ladder = wiring · ST = logic · SFC = sequence

IDLEStartPB AND PartAtCLAMPClamp.T >= T#500msDRILL
Lessons
16
Completed
0/16
XP earned
0/1500
Chapters
4

The problem

Machines don't run in if/else. They run in sequences: load → clamp → drill → release → unload. Ladder fights this. SFC is the native language.

What you'll build

Sixteen hands-on charts, from a two-step light to a full CIP recipe. Every lesson is proven by a scripted commissioning test running in the browser.

No PLC required

The SFC engine runs in your browser. No hardware, no simulator setup, no license. Open the page, press Run, watch the machine.

Chapter 1 — Steps and transitions

0/4 completeSiemens S7-GRAPH · CODESYS SFC · Schneider GRAFCET

The token, the guard and the scan cycle — how a chart actually executes.

  • Pass the previous lesson to unlock this one
  • Pass the previous lesson to unlock this one
  • Pass the previous lesson to unlock this one

Chapter 2 — Action qualifiers

0/4 completeIEC 61131-3 action qualifiers, identical across vendors

All eleven IEC qualifiers — the difference between a command and a latch.

  • Pass the previous lesson to unlock this one
  • Pass the previous lesson to unlock this one
  • Pass the previous lesson to unlock this one
  • Pass the previous lesson to unlock this one

Chapter 3 — Chart structure

0/4 completeGRAFCET divergence/convergence rails

Alternative branches, parallel branches, convergence and priority.

  • Pass the previous lesson to unlock this one
  • Pass the previous lesson to unlock this one
  • Pass the previous lesson to unlock this one
  • Pass the previous lesson to unlock this one

Chapter 4 — Real machines

0/4 completePatterns taken from installed plant

Complete sequences: batch, handshake, safe abort and CIP.

  • Pass the previous lesson to unlock this one
  • Pass the previous lesson to unlock this one
  • Pass the previous lesson to unlock this one
  • Pass the previous lesson to unlock this one