Skip to content

Docs · Engines

Ladder logic (PLC)

IEC 61131-3 ladder diagrams: rungs of normally-open and normally-closed contacts, coils, set/reset latches, timers (TON/TOF/TP) and counters (CTU/CTD), drawn between the power rails with parallel branches for OR logic. The engine evaluates each rung against a declared input state, so the drawing can show which rungs are true — the industrial control diagram nothing else in a diagram tool renders.

Architectural composition of precision sculptural forms
Templates
10
Source language
plaintext
Workstation
Studio
Engine id
ladder

In the same space

Most users come to Ladder logic (PLC) from Rockwell Studio 5000 exports, Siemens TIA Portal screenshots or Visio ladder stencils. flowss runs this engine in the browser — no install, shareable via URL, exportable to PNG / SVG / PDF / source.

Syntax at a glance

state: Start_PB=0, Stop_PB, Overload_OK, Motor_Run
rung "Seal-in"
  branch
    --| |--Start_PB
    --| |--Motor_Run
  --| |--Stop_PB
  --( )--Motor_Run

Paste this in the Studio code pane to see Ladder logic (PLC) render live. The full grammar is at the upstream-docs link above.

Sample templates

All 10 →
Engine reference: ladder · ← Browse all engines · Quick-start guide