ControlByteVirtual PLC SimTry for free ↗

Virtual PLC Sim

Free online PLC simulator
Right in your browser.

Build the logic. Press Run. See it happen.
Hands-on PLC programming, without the hardware.

No installation · No account needed to start

Virtual PLC Sim / Ladder logic REAL APP SCREENSHOT
Actual Virtual PLC Sim interface running a motor start-stop ladder program, with live green signal paths, a Micro850 controller and illuminated outputs
From a contact on the screen to a motor that runs.Motor start / stop · course exercise
PRACTICE WITH FAMILIAR PLC PROFILES
Allen-Bradley Micro850
Siemens S7-1200
Siemens LOGO!

Online PLC simulation for hands-on programming practice

Ladder logic, Structured Text and SCL

Write a program, run the PLC scan and watch tag values change. Practice NO and NC contacts, AND, OR and NOT logic, timers, counters and start-stop sequences. Available instructions and languages depend on the selected PLC profile.

The sandbox and starter exercises are free. Course exercises require an account with the relevant access. This is an educational tool, not a Siemens or Allen-Bradley firmware emulator.

Virtual processes and program checks

Test your logic on conveyor, sensor and tank models. Compare input and output states with the required behavior, then run the task checks. No physical PLC or desktop installation is needed.

For voltage measurements and wiring faults, explore Wiring Sim, our electrical circuit simulator in development.

LESS SETUP. MORE UNDERSTANDING.

That moment when
the logic clicks.

A PLC program makes more sense when you can see it working. Write a rung, change an input and follow the result - all in one browser window.

01 Build02 Run03 Understand

01 / YOUR LOGIC, YOUR WAY

Think in rungs.
Or write in code.

Start visually with ladder logic. When you’re ready, open a Structured Text sheet and express the same idea in code.

Switch between LD + ST for Micro850, LAD + SCL for S7-1200, and LAD for LOGO!. Watch live values as your program runs.

Open your workbench ↗
LD / LADST / SCL
Structured Text / Motor start-stopACTUAL APP
Actual Structured Text editor with an IF / ELSIF motor start-stop program and the virtual Micro850 workbench
One program. Live inputs, outputs and feedback.

02 / SEE THE BIGGER PICTURE

Code that does
something.

Fill a tank. Move a cylinder. Stop a box on a conveyor. Turn individual instructions into a sequence you can actually follow.

Process exercises and additional guided challenges are included with eligible paid course access.

Explore ControlByte courses ↗
Process simulation / Tank level control ACTUAL APP
Actual PLC tank simulation showing the ladder program, inlet valve, liquid level and high and low sensors
Tank level control with hysteresis · course exercise

03 / YOUR TURN

Start with a switch.
See where it takes you.

Three free exercises. Clear goals. Automatic checks.
No account between you and your first working program.

Prefer to figure things out your own way?

Explore the free sandbox ↗

Ready for a harder test? Two pumps, one PID loop and a live leaderboard.

Take the PLC Challenge ↗

Your first ladder logic program: switch a conveyor on and off

Build one rung

Open Conveyor with boxes. Add a normally open contact assigned to xSel_Run, followed by an output coil assigned to xMotor_ConvRun. The rule is MOTOR = RUN: the output follows the maintained selector.

Press the CPU Run button, then switch the station's RUN selector on. These are separate controls: the CPU executes your program; the selector supplies its input.

Check both states

With RUN off, the motor output must be FALSE and the conveyor must stop. With RUN on, the output must be TRUE and boxes must move. Stop the CPU as a final check: its outputs must turn off even if the selector remains on.

Use the exercise checks to test the required behavior. Save an export before clearing browser storage or moving to another computer.

Understand what the PLC scan does

The controller reads inputs, executes the program and updates outputs repeatedly. A normally open instruction passes a TRUE input; a normally closed instruction passes a FALSE input. The instruction's logic is separate from how a physical switch is wired.

What to practice next

Try an AND condition: allow a conveyor to run only when RUN is selected and a collection bin is present. Then compare it with a fault lamp that turns on when a healthy-circuit signal disappears. Change one input at a time and predict the output before testing.

For a learning sequence beyond the simulator, read ControlByte's PLC programmer roadmap. For circuit measurements instead of code, see the electrical wiring simulator preview.

How does an online PLC simulator work?

A virtual PLC, your program and a process model

An online PLC simulator runs a PLC program in the browser instead of on a physical controller. Virtual PLC Sim repeats the same cycle a real CPU uses: read the inputs, execute your ladder logic or Structured Text, write the outputs, and start the next PLC scan. You operate the inputs with virtual buttons, selectors and sensors, and the outputs drive lamps, motors and conveyor models on the screen.

The whole PLC simulation runs in one browser tab, so there is no installer, no licence key and no PLC hardware. It works on Windows, macOS, Linux and Chromebook in a current desktop browser.

Choose the PLC profile you want to learn

Settings → PLC system switches the controller on the workbench: Allen-Bradley Micro850 with ladder diagram (LD) and Structured Text (ST), Siemens S7-1200 with LAD and SCL in Siemens syntax ("Start", #T1(IN := ..., PT := T#1s)), or Siemens LOGO! with LOGO-style ladder, a working display, cursor keys, message texts and a softkey.

Addresses follow each system: _IO_EM_DI_00 on Micro850, %I0.0 on S7-1200 and I1 on LOGO!. Task programs and checks stay the same, so you can solve one exercise on all three.

Test, monitor and troubleshoot PLC logic

While the CPU is in RUN, the rungs show power flow and every tag shows its live value, so you can see why an output is on or off. Timers show elapsed time and counters their current value. Exercises run automatic test cases against your program and name the requirement that fails - the same way you troubleshoot logic on a real machine, but without the risk.

Instructions you can practice

Normally open and normally closed contacts, coils, set and reset, rising and falling edges, TON, TOF and TP timers, CTU and CTD counters and comparison instructions, in the IEC 61131-3 languages LD and ST plus Siemens SCL. The instruction palette follows the selected profile, just as each vendor editor does.

New to the instructions? Start with the PLC programming tutorials or open the free sandbox and build your own rung.

Online PLC simulator or vendor PLC simulation software?

Free PLC simulators fall into two groups: browser tools for learning the logic, and simulators that come with a manufacturer's engineering software. Both are useful, at different stages.

Siemens S7-PLCSIM and TIA Portal

S7-PLCSIM simulates S7-1200 and S7-1500 CPUs for projects created in TIA Portal. Use it when you need the real Siemens engineering workflow: device configuration, data blocks, downloads and online diagnostics. It runs on Windows next to TIA Portal, which needs a Siemens licence after the trial period.

Rockwell Connected Components Workbench

CCW Standard is a free Windows download for Micro800 controllers and includes a Micro800 simulator. Studio 5000 for CompactLogix and ControlLogix is commercial software.

Siemens LOGO!Soft Comfort

LOGO!Soft Comfort has a built-in simulation mode for LOGO! programs. It is commercial software with a demo version.

CODESYS

The CODESYS Development System is a free IEC 61131-3 programming environment for Windows. Its PC soft PLC can run in demo mode for a limited time, which is enough for practice.

Factory I/O

Factory I/O is a 3D process simulation, not a PLC. It gives you conveyors, sensors and actuators that you control from a real PLC, S7-PLCSIM or another soft PLC - a natural next step once the basics are clear.

Where Virtual PLC Sim fits

Start here to learn ladder logic and PLC thinking without installing anything: one browser tab, three PLC profiles, process models and automatic checks. Move to vendor software when you are ready for project configuration and hardware. No simulator can verify wiring, power supplies, networks, safety functions or the timing of a real machine, so final tests always happen on real hardware.

Learn PLC programming, one exercise at a time

Five practical tutorials

Follow real simulator workstations from a first ladder rung to Boolean logic, a START/STOP holding circuit and an on-delay timer. Each guide includes an app screenshot, test cases and a direct exercise link.

All guides are free to read. Course exercises require eligible access; their tutorials include a simpler sandbox example.

Browse all PLC programming tutorials ↗

Wiring Sim: an electrical circuit simulator (coming soon)

From PLC logic to the wires behind it

Our second browser tool is for electrical troubleshooting. Practice on 24 V DC circuits: take multimeter measurements, locate open circuits and short circuits, and investigate PLC input wiring with PNP sensors.

Public release is coming soon. The development preview is available to platform administrators only.

Explore Wiring Sim ↗

Wiring Sim - electrical circuit diagram and virtual multimeter

A LITTLE MORE CONTEXT

Before you
press Run.

Is this online PLC simulator free?

Yes - the sandbox and three beginner exercises are free, with no account required. Additional guided exercises, including the motor and tank examples shown above, require eligible paid course access.

Do I need software or a real PLC?

No installation or physical controller is needed. Virtual PLC Sim runs in a modern browser with JavaScript enabled. A desktop or laptop is recommended for editing programs.

Can I learn ladder logic and Structured Text here?

Yes. You can practice LD and ST with the Allen-Bradley Micro850 profile, LAD and SCL with Siemens S7-1200, and LAD with Siemens LOGO!. The editor includes contacts, coils, timers and counters, with live feedback and automatically checked exercises.

Is this the same as vendor PLC software?

This is an independent learning tool with virtual controller models and its own execution engine. It is not Siemens or Allen-Bradley software or firmware emulation. Exercise programs are educational examples, not validated designs for real machinery.

Will my programs be saved?

Your programs are stored in your browser, and you can export them to a file. Signing in with a ControlByte account enables account-based progress saving. Browser storage and sign-in are separate on the English and Polish sites.

What is the best free PLC simulator for beginners?

For your first programs, a browser simulator with guided exercises is the fastest start: nothing to install, and you get feedback on every rung. Virtual PLC Sim covers ladder logic, Structured Text and SCL on Allen-Bradley and Siemens profiles. When you need a specific brand's workflow, add TIA Portal with S7-PLCSIM, CCW or CODESYS.

Does it work on Mac, Linux or Chromebook?

Yes. The simulator runs in the browser, so it works on Windows, macOS, Linux and ChromeOS. A desktop or laptop with a mouse is recommended for editing ladder diagrams; on a phone you can open it, but editing is less comfortable.

Can a PLC simulator replace real hardware?

For learning logic, yes - most beginner skills are about reading inputs, writing rungs and testing sequences. For commissioning, no: wiring, I/O modules, networks, safety and real machine timing still have to be tested on site.

LESS WATCHING. MORE DOING.

Make your
first connection.

Try for free

Open your browser. Meet your PLC.

Ready for the next step?

From the simulator to a PLC programming course

Use the sandbox to test logic, then follow a structured course to learn the engineering workflow, project setup and controller-specific tools.

Siemens S7-1200/1500 - LAD/FBD - Start with ladder logic and learn the Siemens TIA Portal workflow.

CODESYS - Structured Text - Choose text-based PLC programming and learn the CODESYS environment.

Choose a course or a complete learning path

Compare PLC courses by platform and experience, or explore PLC Bootcamp for a broader learning path.

Check each course page for its syllabus, software requirements and access conditions. Simulator course exercises require eligible access; the free sandbox remains available without a purchase.

Your cookie preferences

Allow analytics cookies to help us improve Virtual PLC Sim? You can change your choice anytime.