PLC programming courses

Start with Boolean Logic, then work down the ladder. Solve every exercise in Ladder Logic, Structured Text or both, then run automated tests that check your logic.Learn PLC programming the practical way.

  1. 0

    The starting point for every PLC program: combine inputs with AND, OR and XOR, then build the seal-in circuit that lets a motor keep running after you release the start button. Starts with Lamp Follow.

    Boolean Logic

    COURSE
    Exercises8
    AccessFREE
    Solvedunknown
  2. 1

    Compare the current input with its previous-scan state to detect a transition, turn that edge into a one-scan pulse and make a held button act only once. Starts with One-Scan Delay.

    Edges and One-Shots

    COURSE
    Exercises4
    AccessPLUS
    Solvedunknown
  3. 2

    Timers are how a PLC waits. Start with on-delay and off-delay, combine timing with one-shots, then build retained and drift-resistant time patterns. Starts with On Delay.

    Timers

    COURSE
    Exercises9
    AccessPLUS
    Solvedunknown
  4. 3

    Counters track how many times something happened. Count parts off a line, count up and down against a target, and keep a count inside sensible bounds. Starts with Count Up.

    Counters

    COURSE
    Exercises5
    AccessPLUS
    Solvedunknown
  5. 4

    Move beyond on/off. Compare two values, work with signs and magnitudes, wrap with modulo, hold a result inside a safe range, then apply signed math to a drive reference. Starts with Sign Check.

    Math and Comparison

    COURSE
    Exercises7
    AccessPLUS
    Solvedunknown
  6. 5

    An analog input arrives as raw counts, not degrees or litres per minute. Scaling converts it, and the same maths drives a speed reference back out to a drive. Starts with Scale.

    Analog and Scaling

    COURSE
    Exercises5
    AccessPLUS
    Solvedunknown
  7. 6

    Clean up noisy digital and analog signals, preserve and derive useful measurements, then apply them to tank level control and process alarms. Starts with Debounce.

    Process Control

    COURSE
    Exercises8
    AccessPLUS
    Solvedunknown
  8. 7

    Read and build packed device registers, then use masks to keep, force, replace or remember selected bits without disturbing the rest of the word. Starts with Word Invert.

    Bit Manipulation

    COURSE
    Exercises10
    AccessPLUS
    Solvedunknown
  9. 8

    Start with explicit states and transition conditions, then build increasingly realistic timed and interruptible machine cycles. Starts with Single-Trigger Sequencer.

    Sequencing

    COURSE
    Exercises6
    AccessPLUS
    Solvedunknown
  10. End

How it works

Read the spec

Every exercise states its inputs, its outputs and the required behaviour in plain sentences, with the tag names you will actually use.

TagTypeDescription
In_StartBOOLPush button to start the motor
In_StopBOOLNC stop signal; 1 = OK to run, 0 = stop pressed
Out_MotorBOOLMotor drive signal

Required behavior

  • Motor turns on when In_Start is 1 and In_Stop is 1.
  • Motor stays on after In_Start returns to 0.
  • Motor turns off when In_Stop goes to 0.
  • If In_Start is 1 and In_Stop is 0, the motor remains off (stop priority).

Write the logic

Ladder or Structured Text, in the browser. The editor is the same one you would use for any other project on Rungs.

0

In_Start

Out_Motor

In_Stop

Out_Motor

Run the tests

Test vectors drive your logic scan by scan. A failure names the step and the signal that disagreed; pass them all and the exercise is done — there is no marking scheme to argue with.

  1. 18:08:25Running tests for MotorStarter...
  2. 18:08:25Motor starts on start event (20ms)
  3. 18:08:25Motor stays running after start event (3ms)
  4. 18:08:25Motor stops on stop event (1ms)
  5. 18:08:25Motor stays stopped on stop priority (1ms)
    expect failed at step 1: Out_Motor should be 0 at the end of this step; got 1
  6. 18:08:25— Summary — 3 passed, 1 failed (4 total)

Common questions

Are these PLC programming courses free?
Boolean Logic is free in full — all 8 exercises, start to finish. The other 8 courses unlock with a one-off Plus purchase; there is no subscription. Every course page and exercise brief stays readable either way, so you can see exactly what you would be buying before you buy it.
Do I need a PLC to take the course?
No. Everything compiles and runs in the browser. There is no controller to buy, no licence to request and nothing to install — open an exercise and start typing.
Is this ladder logic or structured text?
Both. Every exercise can be solved in either language, and the tests are identical, so you can write a rung in ladder, then solve the same problem again in structured text to see how the two compare.
How does the grading work?
Each exercise ships with test vectors — a table of inputs and the outputs your logic must produce, scan by scan. When you run them, a failure tells you which scan and which signal disagreed, not just that something is wrong.
What order should I take the courses in?
Start with Boolean Logic and work through the foundations — logic, timers, counters, math — in order. The later courses stand on their own, so take analog scaling, process control, bit manipulation and sequencing in the order that matches your work.
Can I use these courses to teach a class?
Yes. Students work in the browser with no software to install on lab machines, and the tests mark the work, so you are not grading fifty ladder diagrams by hand.