Virtual PLC Lab

A vendor-neutral programmable PLC rack with connected field devices, a ladder editor, live scan stepping, timers, counters, analog control, fault testing and guided projects.

About this tool — how it works & FAQ

About the Virtual PLC Lab

Program, connect and test a vendor-neutral teaching PLC. The visible rack, ladder power flow, I/O image, field devices and process trends share one executable scan model. No API key, vendor software or physical controller is needed.

A complete controls workbench

Inspect a 24 V supply, universal CPU, two eight-channel digital input cards, two eight-channel digital output cards and four-channel analog input/output cards. Wire pushbuttons, guard and overload signals, a photoeye, cylinder limits, transmitters, motors, a conveyor, a pump, valves, heating and stack lights. Swap assignments, remove modules and open individual wires.

Trace the live connection schematic

Open Schematic for the complete functional single-line reference: power supply, output fuse, E-stop interlock, CPU, six I/O cards and all 40 channels. It follows your current device assignments and shows captured input values, staged outputs, actual actuator states, forces, module removal and wire breaks. Select equipment to focus the same component in 3D; filter by card, zoom, pan or open the full sheet.

Write and execute ladder programs

Build up to 64 rungs with series contacts and parallel branches. Instructions include normally-open/closed and edge contacts, comparisons, coils, set/reset latches, TON/TOF/retentive timers, up/down counters, arithmetic, scaling, limiting and a teaching PID. Watch live power flow, validate programs and step through input-read, logic-execution and output-write phases.

Explore and troubleshoot

Orbit, pan, pinch/wheel zoom, select and focus equipment, explode the rack, toggle wiring/labels, use orthographic or plan/elevation views, and move the camera using keyboard or on-screen controls. Test forces, power loss, output fuse failure, overload, a bad analog sensor, a conveyor jam and instruction-watchdog stops. Monitor memory, timers, counters, process trends and events.

Projects and your workspace

Nine starting points cover a motor seal-in circuit, on/off delays, batch counting, tank hysteresis, analog PID control, pneumatic dwell, traffic-light sequencing, a heater trip and a blank workbench. Save locally or export/import the vendor-neutral workspace JSON. Restored projects always open stopped without forces; physical process state is not restored.

Teaching scope

This simulator implements its documented ladder instruction set and simplified process models. It does not import vendor PLC projects, compile structured text, communicate with physical hardware, execute industrial network protocols or certify safety functions. Browser timing is not real-time PLC performance. Use it for learning and experiments, not design verification or commissioning.

Frequently asked questions

Is this PLC tied to a manufacturer?

No. The rack, addresses and ladder instructions are generic teaching conventions. They are not a vendor emulator or a claim of complete IEC compatibility.

Does my ladder program actually control the simulated devices?

Yes. Inputs are sampled, rungs execute in order, then physical outputs update and the plant advances. Scan stepping lets you inspect each boundary. Device behavior also respects module configuration, wiring, forces and the simulated hardwired E-stop.

Can we use the lab on phones and tablets?

Yes. The responsive workbench supports touch orbit, pinch zoom, two-finger pan and on-screen camera controls. On smaller screens, the rack and programming panels stack. A modern WebGL browser is needed for 3D; the HTML programming and monitoring controls remain available if 3D cannot initialize.

Related tools & guides