Explainer
What a browser PLC simulator can and cannot teach
Short answer
A browser PLC simulator is the right first bench for ladder logic: it teaches rung evaluation, seal-ins and interlocks against animated sensors and actuators with no install. It cannot teach the target instruction set, measured scan timing, field wiring, fault behavior or safety validation, so a passing simulation proves only that simulator. Learn the logic there, then verify on the intended controller and I/O before any commissioning decision.
On this page
A browser PLC simulator is the right first bench for ladder logic, and the wrong place to stop. It runs in a tab, animates a conveyor with sensors and actuators from your rungs, and asks nothing of you but a browser, so rung evaluation, seal-ins and interlocks become muscle memory fast. What it cannot teach is everything that lives outside the logic: the target controller's instruction set, its measured scan time, field wiring, fault behavior and safety validation. A passing run proves exactly one thing — that this logic produces that behavior in that simulator. Learn the boolean craft there; commit to commissioning decisions only on the intended PLC and I/O, and use the pulse-catch arithmetic below to see why no browser session can make that call for you.
What a browser simulator teaches well #
A typical browser tool animates a small plant — a conveyor, photoelectric sensors, a few actuators — and drives it from the rungs you draw, so cause and effect appear in front of you instead of in a textbook. That feedback loop is exactly what a beginner needs, and it is worth pushing hard while you are there:
- Rung mechanics. How contacts gate a coil on each pass, and why rung order matters once two rungs share a bit.
- The core patterns. Start/stop with a seal-in contact, interlocks that keep two outputs apart, momentary inputs driving latched states, simple sequence steps.
- Set-and-reset discipline. Prove the rung turns the output on, then prove the condition that turns it off. Most beginner faults are missing reset paths, and an animated plant exposes one instantly — the belt never stops and the parts pile up.
- Diagnosis habits. Watch the behavior, decide which contact is lying, change one element, run it again.
None of this needs a controller. That is the point of the tool — and the boundary of the tool.
What it cannot teach #
- Instruction semantics. IEC 61131-3 defines the ladder language, not a universal behavior for every timer, counter or edge instruction on every runtime. Each vendor implements them to its own documented specification, and vendors publish compliance documents precisely because implementations differ. Behavior such as a timer output that stays on after its rung drops is the kind of vendor-specific semantics a practice simulator glosses over — why a CODESYS TON output stays on after its rung goes false is a worked case. After simulator practice, read the target manual for every instruction you plan to use.
- Scan timing. The tab solves your rungs on the browser's schedule. A controller reads inputs, solves logic and writes outputs in a measured cycle, and that period decides whether a short sensor pulse is seen at all. The worked example below turns this into arithmetic against your own measurement.
- Field wiring and electrical reality. The simulated photoeye is a boolean. A real one is a three-wire device on a real input module, with sinking or sourcing polarity, module voltage, commons, contact bounce and broken-wire behavior the simulator never models. No browser session has ever checked a terminal assignment.
- Faults and communications. A simulator has no lost module, no network timeout, no watchdog trip. Fault rungs and comms-loss logic only behave where something can actually fail, so they are bench and machine work, not tab work.
- Safety. One rule, stated once: no simulation is a safety argument. A safety function is specified from the machine's risk assessment and validated as an installed function on the physical machine; performance level under ISO 13849-1 and SIL under IEC 62061 are machine-level ratings, not something a green run in a browser can confer.
Worked example: catching a 200 ms sensor pulse against a 12 ms scan #
Inputs. Pulse width W = 200 ms — an example test value standing in for how long a part physically blocks the photoelectric sensor; time your own machine to replace it. Scan period T = 12 ms — an example measurement from a controller's scan-time monitor with the real program loaded; measure yours, because program length and instruction mix move it. Neither value comes from a browser session.
Rule, in words. A PLC reads all inputs, solves the logic, then writes all outputs, once per scan. An input change landing just after the input read waits nearly a full scan to be noticed. A pulse is therefore guaranteed to be caught only if its width exceeds one scan period, W > T, and responding while the pulse is still present budgets two scan periods, 2T, for the worst case.
Arithmetic.
- Reads inside the pulse: 200 ms ÷ 12 ms ≈ 16.7, so roughly 16 to 17 consecutive input reads land inside the beam — the pulse cannot slip between two reads.
- Worst-case input-to-output delay: 2 × 12 ms = 24 ms, far inside the pulse.
Result. Every input read catches the beam, with a margin of about 16.7 scans, and the output reacts within 24 ms at worst.
Decision. With W > 2T here, the plain rung is sufficient and no pulse-extension logic is needed. For whatever your own measurement returns: W > 2T, plain rung; T < W ≤ 2T, the pulse is seen but the output can lag past its end, so add a seal or pulse-extender rung; W ≤ T, consecutive reads can miss the pulse entirely, so pulse extension or a fast input is mandatory. The boundary stands: the scan period must come from the target's monitor, never from the simulator — rerun the division with your measured value, and if the margin falls below two scans, change the logic and prove the change on the bench.
Where each skill is verified #
| Skill | Verified on | Passing looks like |
|---|---|---|
| Rung logic: seal-ins, interlocks, sequence steps | Browser simulator | Output follows inputs, and the reset path is tested |
| Instruction behavior on the target | Vendor engineering software, bench CPU if available | Behavior matches that vendor's instruction documentation |
| Pulse-versus-scan timing margin | Bench hardware with the scan-time monitor | Pulse width exceeds two scan periods |
| Wiring and real I/O | Bench or machine I/O | A real device drives the real input through both states |
| Fault and comms handling | Bench, with a fault you create | Fault logic reacts as designed |
| Safety function | The machine, from its risk assessment | The installed function is validated as a whole |
Read the table as a gate order: a pass in the first row authorizes nothing in the rows under it.
Moving from browser practice to the real bench #
- Rebuild in the target editor. Redraw every practice rung in the platform's addressing and instruction names. A useful middle rung is a desktop plant simulation bound to a real soft PLC, which exercises the real runtime and the real protocol while the plant stays virtual — connecting Factory I/O to a local CODESYS soft PLC over OPC UA sets one up.
- Touch real I/O. A free desktop ladder editor running against real USB I/O is the cheapest way to watch a live input respond — how SoapBox Snap runs ladder logic with USB I/O walks that setup.
- Work platform-native practice projects, so addressing, instruction names and project structure stop being new on day one; building ladder logic practice projects in STEP 7 is one template.
- Add machine-tier exercises, where logic meets real actuator behavior; homing a double-acting pneumatic cylinder in ladder logic is a classic next step.
- Climb past discrete logic deliberately. Supervisory skill — alarming, trends, historians — grows on platform and SCADA software, and a guide to SCADA platforms worth learning for career growth maps that tier.
The simulator earns its keep as the cheap, fast first pass over boolean logic. Every commissioning decision still lands on the target controller and I/O, verified there — the tab was never going to make that call.
Questions asked
Do browser simulators scan rungs the same way a real PLC does?
Most evaluate your rungs top to bottom, like ladder theory, but the cycle timing belongs to the browser, not to a measured controller scan. There is no input-read, logic, output-write cycle you can time, so pulse widths, overlapping timers and anything latency-sensitive can behave differently once the same rung runs on hardware. Practice the logic there; test timing on the target.
How do I measure the scan time I need for the pulse-catch check?
Open the programming software for your controller and look for the cycle or scan-time monitor while your real program runs; most platforms display current and maximum scan time there. Measure with the real program loaded, because scan time grows with program length and instruction mix. Use that measured figure in the rule from the worked example, not a value carried over from a simulator session.
Which exercises transfer from a simulator to real hardware most directly?
Boolean patterns transfer best: start-stop with a seal-in, interlocks between outputs, momentary inputs driving latched states, and simple sequence steps. Timing chains, analog scaling, high-speed counting and anything involving a safety function must be reworked on the target, because the simulator models none of their hardware. Expect to rebuild, then bench-test, every rung before it goes near a live machine.
Does practicing in a simulator count toward learning a specific vendor platform?
It builds ladder literacy that carries over, but vendor exams, jobs and commissioning work test their software, instruction semantics and workflow. Schedule simulator time as the first week or two of study, then move to the target platform's software and manuals; the browser tool never covers that vendor's timers, counters, addressing or programming conventions.