PLC Simulator
Practice exercises

PLC Practice Exercises That Grade Themselves

Stop checking your own homework against a PDF answer key. Every exercise here runs against real test cases in your browser — write the logic, hit Run, and find out immediately whether it survives the edge cases.

Join 9900+ learners practicing PLC programming

How practice works

Write it. Run it against a machine. Get graded on the edge cases.

Write the logic

Build your program in ladder logic or structured text, in IEC 61131-3, Allen-Bradley, or Siemens-style syntax. The same editor for every exercise — no software to install.

The simulator drives a real machine model

Your code does not get pattern-matched against a model answer. It executes on a real scan cycle that controls a simulated machine — the tank fills, the motor runs, the conveyor jams.

The auto-grader checks what you would miss

Hidden test cases force the conditions you would never think to check by hand: stop pressed mid-sequence, sensor chatter, timer overlap. Per-test pass/fail, with failure reasons.

PLC practice exercises comparison — static worksheet PDFs versus auto-graded in-browser simulator exercises with instant per-test feedback
A static exercise PDF shows you one correct diagram. An auto-graded exercise runs your program and tells you which test case broke it.

The patterns you practise

The core ladder logic patterns every exercise drills

Almost every PLC practice exercise reduces to a handful of foundational rung patterns. Learn these six cold and you can build the seal-in circuits, timed sequences, and counting logic behind the entire machine library.

Ladder logic rung practice exercise — an examine-if-closed contact driving an output coil between two power railsA basic ladder logic rung between two power rails: an examine-if-closed contact (XIC) in series driving an output coil (OTE).L1L2] [StartXIC I:0/0LampOTE O:0/0
Contact + coil. The first exercise — one input examines closed, one output energises. The whole beginner track builds from this rung.
Seal-in latch practice exercise — a parallel holding contact keeps a motor running after the start button is releasedA seal-in latch rung: a Start contact in parallel with a Hold contact, in series with a normally-closed Stop contact, driving an output coil.StartHold (seal)StopMotor
Seal-in latch. Three-wire control — the pattern in the Motor Start/Stop exercise and nearly every real control panel.
TON on-delay timer practice exercise — timing diagram showing the enable rung, accumulated time, and the done bit firing at presetA TON on-delay timer: the accumulated time bar ramps up toward the preset value, and the done (DN) bit turns on when the accumulator reaches preset.TONPRE 5000ACCACC ramps to PREPREDNdone bit
TON on-delay timer. The timing-sequence exercises: the enable rung accumulates time, the Done bit fires at preset, the rung resets.
CTU up-counter practice exercise — counting parts on a conveyor and setting the done bit when the accumulated count reaches presetA CTU count-up counter: each input pulse increments the accumulator toward the preset, and the done (DN) bit turns on when count reaches preset.count pulsesCTUPRE 5ACC 3ACCcount toward presetDNdone bit
CTU counter. The batch and bottle-counting exercises — each rising edge increments the count, the done bit stops the line at preset.
Motor start/stop control practice exercise — start and stop pushbuttons, seal-in branch, overload, and the motor output coilA 3-wire motor control circuit: Stop and Start pushbuttons, a contactor coil with a seal-in auxiliary contact and an overload contact, driving a motor.StopStartM (seal-in)OLMMmotor
Motor control. Start PB, NC Stop, overload interlock, and seal-in together — the canonical motor exercise graded on the stop-mid-cycle edge case.
Ladder logic symbol reference for PLC practice exercises — examine-if-closed, examine-if-open, output energise, latch, unlatch, timer and counter blocksThe core ladder logic symbols side by side: XIC examine-if-closed, XIO examine-if-open, OTE output energize, OTL output latch and OTU output unlatch.XICIfXIOIfOTEEnergizeLOTLLatchUOTUUnlatch
Symbol set. XIC, XIO, OTE, OTL/OTU, TON, CTU — the instructions you place in the editor, in Allen-Bradley or IEC 61131-3 form.

Exercise tracks

131 exercises across seven tracks (one shared)

Each track is sequenced by difficulty so you always know what to attempt next. Free, Basic, and Pro labels show exactly what each tier unlocks — no surprises behind the paywall.

Beginner track

Free

10 exercises · Difficulty 1–2

From "switch turns on light" to counting five boxes with a CTU. Contacts, coils, AND/OR, NC stop buttons, latching, TON timers — 3 to 7 minutes each.

Browse the track →

Curriculum lessons

Free (1–6) / Pro

12 lessons · Difficulty 1–3

A sequenced course in exercise form: button-to-light, E-stop NC contacts, seal-in, SET/RST, edge triggers, TON/TOF, counters, a conveyor-reject integration exercise, and a traffic-light capstone (shared with the machines track).

Browse the track →

Machine scenarios

Free / Basic / Pro

47 machines · Difficulty 1–5

Full machine projects with physics models — motors, pumps, conveyors, packaging lines, HVAC, brewing. The closest thing to plant work you can do in a tab.

Browse the track →

Fault-finding

Pro

8 exercises · Difficulty 2–4

Someone else broke the program — you diagnose it. NO/NC swaps, broken seal-ins, wrong addresses, stuck inputs, scan-order races, and intermittent bugs.

Browse the track →

Wiring labs

Free (1–2) / Pro

10 labs · Difficulty 1–4

24 VDC supplies, NPN/PNP sensors, 4–20 mA loops, relay outputs, dual-channel E-stops, RS-485, and industrial Ethernet — wiring before programming.

Browse the track →

CCST cert prep

Pro

40 exercises · Difficulty 1–4

Exam-style exercises in the style of the ISA CCST: contacts, timers, diagnostics, safety categories, drive handshakes, HMI tags, and documentation reading.

Browse the track →

Analog & scaling

Free (first) / Pro

4 exercises · Difficulty 2–3

Scale a 4–20 mA pressure transmitter, build level alarms with hysteresis, hold a temperature setpoint with deadband, and drive a proportional valve.

Browse the track →

Free tier

Start free right now — 23 exercises, no card

The free tier is not a teaser. You get the entire 10-exercise beginner track, curriculum lessons 1–6, and these complete exercises — all auto-graded, all in the browser:

Practice free. Upgrade when you run out of exercises.

Free

$0

Beginner track, curriculum lessons 1–6, and free-tier machine, wiring, and analog exercises.

Basic

$12/mo or $99/yr

All 60 Free and Basic scenarios, the 12-lesson core curriculum, eligible learning modules and 10 Free/Basic quizzes.

Pro

$29/mo or $249/yr

All tracks: fault-injection, CCST cert prep, all 9 dialects, AI rung assistant, and solution walk-throughs.

Full pricing comparison →

Questions

PLC practice exercises FAQ

A real slice of them, yes — 27 source-tagged practice records are available to a free account, including the 10-exercise beginner track, curriculum lessons 1–6, machine scenarios such as Motor Start/Stop and Traffic Light, analog scaling, and introductory wiring work. Visibility can vary by entitlement and staged rollout. No credit card and no trial clock.

Your next practice session starts in the browser

No install. No PDF answer keys. No credit card.

Create free account →

Competency and practice field guide

PLC practice exercises: implementation, evidence and troubleshooting

Direct answer

PLC practice exercises becomes useful when it connects a skill objective, starting state, available i/o, required behavior, forbidden behavior and scoring rule with each exercise requirement through tags, scan execution, outputs, modeled equipment and independent checks, then proves a baseline solution repeated from reset with stop priority and expected feedback under normal, boundary, fault and recovery conditions. The objective is a repeatable engineering or learning result, not merely activity inside a page or tool.

This guide is written for pLC beginners, apprentices and instructors who need exercises that progress from Boolean reasoning into complete machine behavior. The intended result is specific: the learner can solve, test and explain a ladder or Structured Text task against explicit initial conditions, pass criteria and changed cases.

Adult automation learners rotating through PLC programming, motor-control, instrumentation and fault-diagnosis practice stations
A useful exercise produces observable control evidence and an explanation, not only a completed screen.

System map / 02

Six concepts that control the result

Treat these as connected checkpoints. Each checkpoint has an expected state, an observable state and a boundary to the next part of the system. That structure prevents a software indication from being mistaken for physical proof.

NODE 01observable

Define the operating contract

a skill objective, starting state, available I/O, required behavior, forbidden behavior and scoring rule. For progressive PLC practice exercises, record the initial condition, actor, requested change, observable result and stopping condition before selecting a tool or implementation.

NODE 02observable

Map the evidence path

each exercise requirement through tags, scan execution, outputs, modeled equipment and independent checks. Separate request, internal state, output or service, physical or user-visible result and independent feedback so each boundary can be inspected.

NODE 03observable

Prove normal operation

a baseline solution repeated from reset with stop priority and expected feedback. Run more than one cycle from a known state and retain the values, timings or artifacts that demonstrate repeatability.

NODE 04observable

Exercise a boundary case

changed inputs, timer edges, simultaneous commands, power return and incomplete feedback. Choose minimum, maximum, simultaneous, delayed or restart conditions that reveal assumptions hidden by the happy path.

NODE 05observable

Diagnose a controlled fault

a hidden contact, timer, state, mapping or restart defect diagnosed without revealing the answer. Preserve the first symptom, divide the system at a measurable boundary and change one condition only after predicting the result.

NODE 06observable

Transfer and hand over

the solution explained, varied and recreated in the intended vendor environment. Restore normal state, remove temporary changes, repeat affected checks and document which claims remain limited to the learning environment.

Procedure / 03

A six-step practice and commissioning workflow

Run the steps in order the first time. Later, the same structure becomes a diagnostic loop: define the expected condition, observe the boundary, interpret the difference and choose one proving action.

  1. 01

    Write the acceptance case

    Convert a skill objective, starting state, available i/o, required behavior, forbidden behavior and scoring rule into initial conditions, one stimulus and observable pass criteria.

    Evidence: Another person can repeat the case without guessing the intended result.

    Avoid: Using page completion or an animation as the acceptance criterion.

  2. 02

    Build the map

    Document each exercise requirement through tags, scan execution, outputs, modeled equipment and independent checks and name who owns each state or decision.

    Evidence: Every request and result has a source, destination and useful inspection point.

    Avoid: Using the same value as command, status and independent feedback.

  3. 03

    Run the baseline

    Apply a baseline solution repeated from reset with stop priority and expected feedback from a clean start and record the expected evidence.

    Evidence: Repeated runs produce the same bounded result.

    Avoid: Changing several parameters before a baseline exists.

  4. 04

    Challenge assumptions

    Test changed inputs, timer edges, simultaneous commands, power return and incomplete feedback without changing the acceptance contract.

    Evidence: Limits, timing and restart behavior reach defined states.

    Avoid: Testing only one ideal sequence.

  5. 05

    Isolate one failure

    Introduce or analyse a hidden contact, timer, state, mapping or restart defect diagnosed without revealing the answer and locate the first disagreement.

    Evidence: The proving action distinguishes the leading hypotheses.

    Avoid: Resetting, forcing or replacing before evidence is retained.

  6. 06

    Close the evidence loop

    Complete the solution explained, varied and recreated in the intended vendor environment and repeat the affected regression cases.

    Evidence: A learner completes the surface by explaining the result, passing a changed case and identifying what still requires supervised target-equipment practice.

    Avoid: Treating an acknowledged message or one successful rerun as handover.

Diagnostic matrix / 04

Symptoms, proving points and next actions

The table is a reasoning aid, not a parts-replacement chart. Preserve the initial symptom, inspect the named boundary and use the interpretation to choose the next controlled test. Site safety procedures and equipment manuals remain authoritative.

Diagnostic symptoms, inspection points, interpretations and next actions for PLC practice exercises: implementation, evidence and troubleshooting
Observed symptomInspectInterpretationNext proving action
The expected result is unclearRequirement, initial state, actor, stimulus, units and pass conditionThe learner, instructor and assessor may be solving different versions of the task.Rewrite one observable acceptance case before continuing.
Internal state changes but the outcome does notRequest, final owner, output or service boundary and independent feedbackA software or interface indication proves intent at one layer, not the complete outcome.Trace the first boundary after the changing state.
Normal case passes but an edge case failsLimits, timing, simultaneous events, reset and restart assumptionsThe implementation contains a hidden assumption exposed by the changed condition.Add the failed boundary as a permanent regression case.
The failure disappears after resetOriginal symptom, histories, diagnostics, timestamps and active causeReset changed evidence or state without proving the initiating cause.Reproduce under a controlled condition and preserve pre/post-event data.
Simulator and target disagreeModel boundary, software version, task timing, I/O behavior, data types and configurationA learning model and the intended target do not share one of the recorded assumptions.Reduce the case and verify against current target documentation.
The result cannot be explainedPrediction, observation, proving action, alternative hypotheses and limitationsActivity occurred but the evidence is not yet transferable or reviewable.Have the learner defend the signal path and repeat a changed case.

Product evidence / 05

What the browser practice can actually demonstrate

The browser platform can retain programs, scenario results, attempts and observable machine state so practice is attached to evidence rather than seat time alone.

Where simulation stops

Exercise completion proves behavior in the documented learning runtime; it does not certify target firmware, live wiring competence or safe machine commissioning.

Commissioning notebook / 06

Six cases that turn the concepts into evidence

Use these as written briefs rather than click-through instructions. For every case, state the expected condition before acting, retain the first useful observation and explain why the final result proves the requirement. A different program or component choice can still be correct when it produces the same bounded behavior and evidence.

Case 01

predict → observe → prove

Prove define the operating contract

Engineering context. a skill objective, starting state, available I/O, required behavior, forbidden behavior and scoring rule. For progressive PLC practice exercises, record the initial condition, actor, requested change, observable result and stopping condition before selecting a tool or implementation. Begin with a written normal condition and identify which request, state, physical result or communication value will provide independent confirmation. Do not begin by changing the configuration; the initial state is part of the evidence and should remain reproducible.

Controlled setup. Use the “Write the acceptance case” stage of the workflow: convert a skill objective, starting state, available i/o, required behavior, forbidden behavior and scoring rule into initial conditions, one stimulus and observable pass criteria. The acceptance record should show this result: another person can repeat the case without guessing the intended result. Record initial conditions, the exact stimulus and the observation point so another learner can repeat the case without relying on your memory.

Fault challenge. Introduce or analyse “The expected result is unclear” as one bounded deviation. Inspect requirement, initial state, actor, stimulus, units and pass condition The working interpretation is that the learner, instructor and assessor may be solving different versions of the task. The next proving action is to rewrite one observable acceptance case before continuing. Change only one condition before observing the result, and preserve timestamps or measurements where timing matters.

Review and recovery. The most common trap here is using page completion or an animation as the acceptance criterion. After restoring the cause, repeat the normal case and at least one stop, timeout, disconnect or restart boundary relevant to this topic. Remove temporary forces and bypasses, return the model to a known state and retain the evidence that both operation and recovery are deliberate.

Explain it aloud: What should I learn first about progressive PLC practice exercises? A defensible short answer is: Start with the operating contract and evidence path: a skill objective, starting state, available i/o, required behavior, forbidden behavior and scoring rule, followed by each exercise requirement through tags, scan execution, outputs, modeled equipment and independent checks. Add advanced features only after the baseline is predictable.

Case 02

predict → observe → prove

Prove map the evidence path

Engineering context. each exercise requirement through tags, scan execution, outputs, modeled equipment and independent checks. Separate request, internal state, output or service, physical or user-visible result and independent feedback so each boundary can be inspected. Begin with a written normal condition and identify which request, state, physical result or communication value will provide independent confirmation. Do not begin by changing the configuration; the initial state is part of the evidence and should remain reproducible.

Controlled setup. Use the “Build the map” stage of the workflow: document each exercise requirement through tags, scan execution, outputs, modeled equipment and independent checks and name who owns each state or decision. The acceptance record should show this result: every request and result has a source, destination and useful inspection point. Record initial conditions, the exact stimulus and the observation point so another learner can repeat the case without relying on your memory.

Fault challenge. Introduce or analyse “Internal state changes but the outcome does not” as one bounded deviation. Inspect request, final owner, output or service boundary and independent feedback The working interpretation is that a software or interface indication proves intent at one layer, not the complete outcome. The next proving action is to trace the first boundary after the changing state. Change only one condition before observing the result, and preserve timestamps or measurements where timing matters.

Review and recovery. The most common trap here is using the same value as command, status and independent feedback. After restoring the cause, repeat the normal case and at least one stop, timeout, disconnect or restart boundary relevant to this topic. Remove temporary forces and bypasses, return the model to a known state and retain the evidence that both operation and recovery are deliberate.

Explain it aloud: How do I practise progressive PLC practice exercises effectively? A defensible short answer is: Use short cases with known initial conditions, a written prediction, one action and an observable result. Then alter a boundary or fault and explain why the evidence changed.

Case 03

predict → observe → prove

Prove prove normal operation

Engineering context. a baseline solution repeated from reset with stop priority and expected feedback. Run more than one cycle from a known state and retain the values, timings or artifacts that demonstrate repeatability. Begin with a written normal condition and identify which request, state, physical result or communication value will provide independent confirmation. Do not begin by changing the configuration; the initial state is part of the evidence and should remain reproducible.

Controlled setup. Use the “Run the baseline” stage of the workflow: apply a baseline solution repeated from reset with stop priority and expected feedback from a clean start and record the expected evidence. The acceptance record should show this result: repeated runs produce the same bounded result. Record initial conditions, the exact stimulus and the observation point so another learner can repeat the case without relying on your memory.

Fault challenge. Introduce or analyse “Normal case passes but an edge case fails” as one bounded deviation. Inspect limits, timing, simultaneous events, reset and restart assumptions The working interpretation is that the implementation contains a hidden assumption exposed by the changed condition. The next proving action is to add the failed boundary as a permanent regression case. Change only one condition before observing the result, and preserve timestamps or measurements where timing matters.

Review and recovery. The most common trap here is changing several parameters before a baseline exists. After restoring the cause, repeat the normal case and at least one stop, timeout, disconnect or restart boundary relevant to this topic. Remove temporary forces and bypasses, return the model to a known state and retain the evidence that both operation and recovery are deliberate.

Explain it aloud: What counts as proof of competence? A defensible short answer is: A repeatable artifact or system result plus an explanation of the signal path is stronger than time spent, screenshots or a copied answer. Physical competence requires separate supervised evidence.

Case 04

predict → observe → prove

Prove exercise a boundary case

Engineering context. changed inputs, timer edges, simultaneous commands, power return and incomplete feedback. Choose minimum, maximum, simultaneous, delayed or restart conditions that reveal assumptions hidden by the happy path. Begin with a written normal condition and identify which request, state, physical result or communication value will provide independent confirmation. Do not begin by changing the configuration; the initial state is part of the evidence and should remain reproducible.

Controlled setup. Use the “Challenge assumptions” stage of the workflow: test changed inputs, timer edges, simultaneous commands, power return and incomplete feedback without changing the acceptance contract. The acceptance record should show this result: limits, timing and restart behavior reach defined states. Record initial conditions, the exact stimulus and the observation point so another learner can repeat the case without relying on your memory.

Fault challenge. Introduce or analyse “The failure disappears after reset” as one bounded deviation. Inspect original symptom, histories, diagnostics, timestamps and active cause The working interpretation is that reset changed evidence or state without proving the initiating cause. The next proving action is to reproduce under a controlled condition and preserve pre/post-event data. Change only one condition before observing the result, and preserve timestamps or measurements where timing matters.

Review and recovery. The most common trap here is testing only one ideal sequence. After restoring the cause, repeat the normal case and at least one stop, timeout, disconnect or restart boundary relevant to this topic. Remove temporary forces and bypasses, return the model to a known state and retain the evidence that both operation and recovery are deliberate.

Explain it aloud: Why test faults and restart behavior? A defensible short answer is: Because a hidden contact, timer, state, mapping or restart defect diagnosed without revealing the answer or changed inputs, timer edges, simultaneous commands, power return and incomplete feedback can expose assumptions that never appear during ideal startup and steady operation.

Case 05

predict → observe → prove

Prove diagnose a controlled fault

Engineering context. a hidden contact, timer, state, mapping or restart defect diagnosed without revealing the answer. Preserve the first symptom, divide the system at a measurable boundary and change one condition only after predicting the result. Begin with a written normal condition and identify which request, state, physical result or communication value will provide independent confirmation. Do not begin by changing the configuration; the initial state is part of the evidence and should remain reproducible.

Controlled setup. Use the “Isolate one failure” stage of the workflow: introduce or analyse a hidden contact, timer, state, mapping or restart defect diagnosed without revealing the answer and locate the first disagreement. The acceptance record should show this result: the proving action distinguishes the leading hypotheses. Record initial conditions, the exact stimulus and the observation point so another learner can repeat the case without relying on your memory.

Fault challenge. Introduce or analyse “Simulator and target disagree” as one bounded deviation. Inspect model boundary, software version, task timing, I/O behavior, data types and configuration The working interpretation is that a learning model and the intended target do not share one of the recorded assumptions. The next proving action is to reduce the case and verify against current target documentation. Change only one condition before observing the result, and preserve timestamps or measurements where timing matters.

Review and recovery. The most common trap here is resetting, forcing or replacing before evidence is retained. After restoring the cause, repeat the normal case and at least one stop, timeout, disconnect or restart boundary relevant to this topic. Remove temporary forces and bypasses, return the model to a known state and retain the evidence that both operation and recovery are deliberate.

Explain it aloud: Can browser practice replace official software or hardware? A defensible short answer is: No. It can build concepts and diagnostic reasoning. Exact firmware, I/O electrical behavior, networking, safety and commissioning require current official tools, documentation and target equipment.

Case 06

predict → observe → prove

Prove transfer and hand over

Engineering context. the solution explained, varied and recreated in the intended vendor environment. Restore normal state, remove temporary changes, repeat affected checks and document which claims remain limited to the learning environment. Begin with a written normal condition and identify which request, state, physical result or communication value will provide independent confirmation. Do not begin by changing the configuration; the initial state is part of the evidence and should remain reproducible.

Controlled setup. Use the “Close the evidence loop” stage of the workflow: complete the solution explained, varied and recreated in the intended vendor environment and repeat the affected regression cases. The acceptance record should show this result: a learner completes the surface by explaining the result, passing a changed case and identifying what still requires supervised target-equipment practice. Record initial conditions, the exact stimulus and the observation point so another learner can repeat the case without relying on your memory.

Fault challenge. Introduce or analyse “The result cannot be explained” as one bounded deviation. Inspect prediction, observation, proving action, alternative hypotheses and limitations The working interpretation is that activity occurred but the evidence is not yet transferable or reviewable. The next proving action is to have the learner defend the signal path and repeat a changed case. Change only one condition before observing the result, and preserve timestamps or measurements where timing matters.

Review and recovery. The most common trap here is treating an acknowledged message or one successful rerun as handover. After restoring the cause, repeat the normal case and at least one stop, timeout, disconnect or restart boundary relevant to this topic. Remove temporary forces and bypasses, return the model to a known state and retain the evidence that both operation and recovery are deliberate.

Explain it aloud: How should progress be documented? A defensible short answer is: Keep the requirement, initial state, program or configuration, observed values, fault hypothesis, proving action, recovery result and a concise limitations statement.

Answer surface / 07

Questions people ask about PLC practice exercises

These concise answers define the operating, training and product boundaries most often missed in broad summaries. The full workflow and diagnostic table above provide the evidence behind them.

What should I learn first about progressive PLC practice exercises?

Start with the operating contract and evidence path: a skill objective, starting state, available i/o, required behavior, forbidden behavior and scoring rule, followed by each exercise requirement through tags, scan execution, outputs, modeled equipment and independent checks. Add advanced features only after the baseline is predictable.

How do I practise progressive PLC practice exercises effectively?

Use short cases with known initial conditions, a written prediction, one action and an observable result. Then alter a boundary or fault and explain why the evidence changed.

What counts as proof of competence?

A repeatable artifact or system result plus an explanation of the signal path is stronger than time spent, screenshots or a copied answer. Physical competence requires separate supervised evidence.

Why test faults and restart behavior?

Because a hidden contact, timer, state, mapping or restart defect diagnosed without revealing the answer or changed inputs, timer edges, simultaneous commands, power return and incomplete feedback can expose assumptions that never appear during ideal startup and steady operation.

Can browser practice replace official software or hardware?

No. It can build concepts and diagnostic reasoning. Exact firmware, I/O electrical behavior, networking, safety and commissioning require current official tools, documentation and target equipment.

How should progress be documented?

Keep the requirement, initial state, program or configuration, observed values, fault hypothesis, proving action, recovery result and a concise limitations statement.

What should I do when the answer differs from a guide?

Check assumptions, version, units and initial state first. Reduce the case, compare one boundary at a time and prefer current primary documentation for target-specific behavior.

When is a progressive PLC practice exercises exercise finished?

A learner completes the surface by explaining the result, passing a changed case and identifying what still requires supervised target-equipment practice.