Open the 3D workbench

PLC programming in Structured Text

PLC programming you can see: Structured Text on a 3D training station

Write IEC 61131-3 Structured Text, log in to a simulated PLC and watch your program drive a training station, a conveyor, a storage tank, a sliding gate, a lift and a pedestrian crossing — build your own visualisation screen and see live values next to every line of code.

PLC Simulator Online — Structured Text in 3D

Learn it in order

Each topic has a step-by-step lesson with programs that run on the training station, and generated exercises with new values every time:

Work like on a real PLC

Build, Login, Run

Compile with clear error messages (line and hint), download to the simulated PLC and run it in a fixed scan cycle (1–100 ms).

Online mode

Live values next to every variable in the code, a Watch table, Write and Force of prepared values, breakpoints and flow control.

Scope and I/O

Record every variable cycle by cycle, link variables to the inputs and outputs (AT %I*, AT %Q*) and see the hardware state.

Standard blocks

TON, TOF, TP, R_TRIG, F_TRIG, CTU, CTD, CTUD, SR and RS, with timing diagrams drawn by the simulator itself.

3D training station

A PLC with DI/DO/AI/AO modules on a DIN rail, terminal blocks, cable duct and an operator panel with switches, push buttons, lamps, potentiometers and displays.

Machines

A belt conveyor with light barrier, a storage tank with an analogue level transmitter and float switch, a sliding gate with limit switches and photo-eye, a three-floor lift and a pedestrian crossing, all driven by your program.

Visualisation editor

Build an operator screen next to your code: buttons (tap or toggle), lamps, texts with %d values, bars, sliders and rectangles with absolute movement, linked to your variables and operated online.

19 graded challenges

Each challenge is tested like an instructor would: the inputs are operated automatically on a separate copy of the PLC and the outputs are measured cycle by cycle. Any program that behaves correctly passes.

PLC programming lab in VisoTrain: Structured Text online, 3D conveyor and Scope
PLC programming lab in VisoTrain: Structured Text online, 3D conveyor and Scope

Frequently asked questions

Is there a free online PLC simulator for Structured Text?

Yes. The VisoTrain PLC lab runs in the browser and is included in the Free plan (two 30-minute sessions a day).

Which language does it use?

Structured Text (ST) as defined by IEC 61131-3: declarations with VAR … END_VAR, IF, CASE, FOR, WHILE, REPEAT, the standard timers, counters, edge and bistable blocks, and type conversions.

Does it behave like a real PLC?

Yes: inputs are read once per cycle, MAIN runs from top to bottom and the outputs are written at the end; run-time errors such as division by zero or an array index out of bounds stop the PLC, and a watchdog catches endless loops.

Is it tied to one manufacturer?

No. The lab follows the IEC 61131-3 standard and the workflow common to industrial PLC environments, without any manufacturer branding.

Build your first circuit in two minutes — free, in the browser.Open the 3D workbenchPlans and pricing