PLC lab · Level 5
Motor start/stop with overload
Start, seal-in, stop, E-stop and an overload that trips. The first thing every PLC programmer builds.
- Foundation
- About 45 minutes
- 373 learners
Ladder logic
Ladder logic is the language most PLC programmers learn first, and it is best learned by watching a machine obey it.

In short
Ladder logic is the language most PLC programmers learn first, and it is best learned by watching a machine obey it.
The ladder editor in EDWartens Lab runs your rungs live beside a simulated plant, free in your browser.
Labs to open for this
Each one is a job with a client brief, a 3D machine and an automatic test.
PLC lab · Level 5
Start, seal-in, stop, E-stop and an overload that trips. The first thing every PLC programmer builds.
PLC lab · Level 6
Two contactors that must never close together, and a dead time before the motor may reverse. The program stops them closing together; a real panel also has NC auxiliary cross-interlocks (21-22) and a mechanical interlock.
PLC lab · Level 8
Count boxes past a photo-eye once each, stop at the batch size, and survive a backed-up line.
PLC lab · Level 9
Fill between two floats, protect the pump from running dry, and latch a high-high alarm.
Browse all labs. They open without an account; a free account records your results.
4 steps
Every lab runs the same way.
Open a PLC lab and read the brief, the I/O list and the acceptance tests.
Build the rungs in the ladder editor and press run.
Watch the energised rungs, the tag table and the plant model.
Change the program until the machine behaves, then run the FAT.
A ladder diagram reads like a relay circuit: contacts on the left, a coil on the right, power flowing along the rung when the conditions are true. In the lab, energised rungs turn green as the program scans, and the tag table shows each input and output change as it happens.
You see why a rung is true or false instead of guessing.
That live feedback is what makes the simulator useful for a beginner. When a motor will not stay running, you can see that the seal-in contact never closed. When a tank overfills, you can see which float contact you forgot.

Every ladder exercise is a small piece of real plant work. The first is a motor start/stop with an overload and an emergency stop.
After that come interlocked forward and reverse contactors, a star-delta changeover with a dead gap, a batch counter that has to count each box once, and a tank pump with dry-run protection and a latched high-high alarm.
The acceptance tests are numbered and run automatically. They check the behaviour a client would check, including the awkward cases, such as a backed-up conveyor or a pump that trips while its partner is already running.

Ladder is not the only language in the studio. The same job can be written in Structured Text or as a sequential function chart, and the same acceptance tests judge whichever you choose. Many learners write a job in ladder first, then rewrite it in Structured Text to see the difference.
The lab uses its own PLC engine rather than a copy of a vendor's software, so some instruction details will differ from the PLC you use at work. The logic ideas do not. The lab is free, needs no account to start and is in beta.
Keep going
Guides on the same subject, and every lab in one place.
Guide
Free online PLC simulator that runs in your browser. Write ladder, Structured Text or SFC and test it on a running plant model. No download needed.
Read the guideGuide
Free IEC 61131-3 simulator in your browser: write Structured Text, SFC or ladder and run it against a live plant model. No install needed.
Read the guideGuide
Free motor control circuit simulator: build DOL, star-delta and forward/reverse starters, wire the panel and program the PLC. In your browser.
Read the guideHome
The front page of the lab, with every lab and the first level to open.
Go to the front page
PLC labProgram a working machine in ladder, Structured Text or SFC and watch it run.
Electrical labLock out, wire, test and fault-find a control panel, then prove it with a factory acceptance test.
Robotics labTeach a robot arm a pick and place job and prove its handshake with the PLC.
Process labRead the P&ID, check and calibrate instruments, tune loops and run a plant from a control room.
HMI and SCADA labBuild a touch panel and a SCADA picture, connect them to a PLC and prove them with a numbered acceptance test.
Maintenance labKeep a small plant running: find faults with real instruments, fix them safely and record the work in a CMMS.
Substation and MCC labWalk a small substation, isolate a motor bucket safely, grade a relay and fault-find a motor control centre.
Solar and EV labSize a solar array, set a battery and fault-find an EV charger on a commercial site.
AI Basics labLearn what AI is by playing with it: teach a camera, watch a model learn, test it and check it is fair.
AI WorkbenchPrepare data, train a model and check the AI's work against a brief.
AI Data Centre labWalk an AI data hall, rack and cable a GPU server, and size its power and cooling.
OT security labMap a plant network, split it into zones, write the firewall rules, read the logs and run the response drill.Questions
Yes. EDWartens Lab has a free ladder logic editor that runs in your browser. Each exercise connects the program to a simulated machine, so you can see the effect of every rung. You can start without an account; a free EDWartens account records your results.
Start with a start/stop circuit and add one idea at a time: seal-in, overload, timer, counter. Run each version against a simulated machine and read what the rungs are doing. Practice on real jobs teaches more than reading alone.
Yes. Ladder diagram is one of the five IEC 61131-3 PLC languages and is widely used for discrete machine control and maintenance work, because electricians and technicians can read it like a relay circuit.
Yes. The PLC labs include timer and counter work, such as the dead time before a conveyor reverses, the star-delta changeover and the batch counter on a packing line.
Open a lab, read the brief and run your program on a machine in the browser. No account needed to start.