To print one sheet, choose its page range in the print dialog; each worksheet starts on a new page. Choose Save as PDF there if you want a file. Instructors may print and copy these for class. For a procedure written step by step, use the printable lab manual; for a week plan see the course outline.
Name: ______________________________ Date: ______________ Class: ______________
The problem
A panel has one switch and one indicator lamp. The lamp must follow the switch.
1. The machine: inputs and outputs
| Tag | In or out | Type | What it is |
|---|
| SWITCH | input | BOOL | Rocker switch (ON/OFF) |
| LIGHT | output | BOOL | Desk lamp |
2. What correct behaviour looks like
These are the cases the simulator checks. Tick each one when you have seen it pass.
- ☐SWITCH true → LIGHT on
- ☐SWITCH false → LIGHT off
Think first
Which tag does a contact read, and which does a coil write?
Predict: truth table (0 = off, 1 = on)
3. Draw your ladder rungs on paper
4. Run it, then check each behaviour above
Run the lab at plcsimulationsoftware.com/scenarios/beginner-01-switch-light. The simulator checks what the machine does, so any correct program passes. Tick each behaviour you saw pass.
What did the simulator show that you did not expect?
Name: ______________________________ Date: ______________ Class: ______________
The problem
A machine may only show its lamp when two conditions hold at once, such as a guard closed and a key turned. Two switches, one lamp.
1. The machine: inputs and outputs
| Tag | In or out | Type | What it is |
|---|
| SWITCH_1 | input | BOOL | Rocker switch 1 (ON/OFF) |
| SWITCH_2 | input | BOOL | Rocker switch 2 (ON/OFF) |
| LIGHT | output | BOOL | Desk lamp |
2. What correct behaviour looks like
These are the cases the simulator checks. Tick each one when you have seen it pass.
- ☐Only SWITCH_1 on → LIGHT off
- ☐Both switches on → LIGHT on
- ☐Both off → LIGHT off
- ☐Only SWITCH_2 on → LIGHT off
Think first
Two switches have four combinations. Fill in the table: in which should the lamp be on?
Predict: truth table (0 = off, 1 = on)
| SWITCH_1 | SWITCH_2 | LIGHT? |
|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 | |
3. Draw your ladder rungs on paper
4. Run it, then check each behaviour above
Run the lab at plcsimulationsoftware.com/scenarios/beginner-02-and. The simulator checks what the machine does, so any correct program passes. Tick each behaviour you saw pass.
What did the simulator show that you did not expect?
Name: ______________________________ Date: ______________ Class: ______________
The problem
An operator can start a line from the front or from the back. Either start switch alone must turn the lamp on.
1. The machine: inputs and outputs
| Tag | In or out | Type | What it is |
|---|
| SWITCH_1 | input | BOOL | Rocker switch 1 (ON/OFF) |
| SWITCH_2 | input | BOOL | Rocker switch 2 (ON/OFF) |
| LIGHT | output | BOOL | Desk lamp |
2. What correct behaviour looks like
These are the cases the simulator checks. Tick each one when you have seen it pass.
- ☐SWITCH_2 only → LIGHT on
- ☐SWITCH_1 only → LIGHT on
- ☐Both off → LIGHT off
- ☐Both switches on → LIGHT on
Think first
Fill in the table before you build anything. How does it differ from the AND lab?
Predict: truth table (0 = off, 1 = on)
| SWITCH_1 | SWITCH_2 | LIGHT? |
|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 | |
3. Draw your ladder rungs on paper
4. Run it, then check each behaviour above
Run the lab at plcsimulationsoftware.com/scenarios/beginner-03-or. The simulator checks what the machine does, so any correct program passes. Tick each behaviour you saw pass.
What did the simulator show that you did not expect?
Name: ______________________________ Date: ______________ Class: ______________
The problem
The lamp is on whenever nobody is pressing STOP_BUTTON, and pressing it turns the lamp off. In this lab STOP_BUTTON reads TRUE while it is pressed. A real emergency stop is wired and validated differently, so do not copy this model for a safety function.
1. The machine: inputs and outputs
| Tag | In or out | Type | What it is |
|---|
| STOP_BUTTON | input | BOOL | Simulated stop command (TRUE when pressed) |
| LIGHT | output | BOOL | Indicator lamp |
2. What correct behaviour looks like
These are the cases the simulator checks. Tick each one when you have seen it pass.
- ☐STOP released → LIGHT on
- ☐STOP pressed → LIGHT off
Think first
What should the lamp do while the button is released? Fill in the table, then decide which contact type matches it.
Predict: truth table (0 = off, 1 = on)
3. Draw your ladder rungs on paper
4. Run it, then check each behaviour above
Run the lab at plcsimulationsoftware.com/scenarios/beginner-04-nc. The simulator checks what the machine does, so any correct program passes. Tick each behaviour you saw pass.
What did the simulator show that you did not expect?
Name: ______________________________ Date: ______________ Class: ______________
The problem
START and STOP are momentary buttons. Build the obvious version in which LIGHT follows START unless STOP is pressed, then find out what an operator would have to do to keep the light on.
1. The machine: inputs and outputs
| Tag | In or out | Type | What it is |
|---|
| START | input | BOOL | Momentary start push-button (NO) |
| STOP | input | BOOL | Stop push-button (read as NC) |
| LIGHT | output | BOOL | Indicator lamp |
2. What correct behaviour looks like
These are the cases the simulator checks. Tick each one when you have seen it pass.
- ☐Press STOP → LIGHT off
- ☐Hold START → LIGHT on
- ☐Release START → LIGHT off
Think first
Predict: what will LIGHT do the instant you release START? Write your prediction before you run it.
Predict: timing diagram
Draw each signal high or low over time for one run of the machine. Mark the time of any delay.
3. Draw your ladder rungs on paper
4. Run it, then check each behaviour above
Run the lab at plcsimulationsoftware.com/scenarios/beginner-05-start-stop-no-latch. The simulator checks what the machine does, so any correct program passes. Tick each behaviour you saw pass.
What did the simulator show that you did not expect?
Name: ______________________________ Date: ______________ Class: ______________
The problem
An operator taps START once. LIGHT must come on and stay on after the button is released.
1. The machine: inputs and outputs
| Tag | In or out | Type | What it is |
|---|
| START | input | BOOL | Momentary start push-button (NO) |
| LIGHT | output | BOOL | Indicator lamp |
2. What correct behaviour looks like
These are the cases the simulator checks. Tick each one when you have seen it pass.
- ☐Pulse START → LIGHT latches on
- ☐Idle → LIGHT off
Think first
START is only pressed for a moment. What has to remember that it was pressed?
Predict: timing diagram
Draw each signal high or low over time for one run of the machine. Mark the time of any delay.
3. Draw your ladder rungs on paper
4. Run it, then check each behaviour above
Run the lab at plcsimulationsoftware.com/scenarios/beginner-06-latch-start. The simulator checks what the machine does, so any correct program passes. Tick each behaviour you saw pass.
What did the simulator show that you did not expect?
Name: ______________________________ Date: ______________ Class: ______________
The problem
Add a STOP to lab 6. Tap START and LIGHT comes on, tap STOP and it goes off, tap START again and it comes back on.
1. The machine: inputs and outputs
| Tag | In or out | Type | What it is |
|---|
| START | input | BOOL | Momentary start push-button (NO) |
| STOP | input | BOOL | Momentary stop push-button (NO) |
| LIGHT | output | BOOL | Indicator lamp |
2. What correct behaviour looks like
These are the cases the simulator checks. Tick each one when you have seen it pass.
- ☐Pulse STOP → LIGHT off
- ☐Pulse START → LIGHT on
- ☐Restart after stop → LIGHT on again
Think first
What has to be true for LIGHT to go off again? Which of your rungs does that?
Predict: timing diagram
Draw each signal high or low over time for one run of the machine. Mark the time of any delay.
3. Draw your ladder rungs on paper
4. Run it, then check each behaviour above
Run the lab at plcsimulationsoftware.com/scenarios/beginner-07-latch-stop. The simulator checks what the machine does, so any correct program passes. Tick each behaviour you saw pass.
What did the simulator show that you did not expect?
Name: ______________________________ Date: ______________ Class: ______________
The problem
LIGHT must come on only after SWITCH has been held on for 2 seconds. If SWITCH is released early the delay starts over.
1. The machine: inputs and outputs
| Tag | In or out | Type | What it is |
|---|
| SWITCH | input | BOOL | Hold-to-arm switch (NO) |
| LIGHT | output | BOOL | Indicator lamp |
2. What correct behaviour looks like
These are the cases the simulator checks. Tick each one when you have seen it pass.
- ☐Hold SWITCH 2200 ms → LIGHT on
- ☐Hold SWITCH 1700 ms → LIGHT stays off
- ☐Release SWITCH early → LIGHT stays off
Think first
Draw a timing diagram below for SWITCH held on for 3 seconds, then a second one for SWITCH released at 1 second.
Predict: timing diagram
Draw each signal high or low over time for one run of the machine. Mark the time of any delay.
3. Draw your ladder rungs on paper
4. Run it, then check each behaviour above
Run the lab at plcsimulationsoftware.com/scenarios/beginner-08-ton-delay. The simulator checks what the machine does, so any correct program passes. Tick each behaviour you saw pass.
What did the simulator show that you did not expect?
Name: ______________________________ Date: ______________ Class: ______________
The problem
A single tap of START runs MOTOR, and MOTOR stops by itself 3 seconds later with no further input.
1. The machine: inputs and outputs
| Tag | In or out | Type | What it is |
|---|
| START | input | BOOL | Momentary start push-button (NO) |
| MOTOR | output | BOOL | Conveyor motor contactor |
2. What correct behaviour looks like
These are the cases the simulator checks. Tick each one when you have seen it pass.
- ☐After 3.5 s → MOTOR off (timer auto-shut)
- ☐Pulse START → MOTOR on
- ☐Mid-cycle (2.6 s) → MOTOR still on
Think first
List the three jobs this program has to do. What starts the timer, and what stops the motor?
Predict: timing diagram
Draw each signal high or low over time for one run of the machine. Mark the time of any delay.
3. Draw your ladder rungs on paper
4. Run it, then check each behaviour above
Run the lab at plcsimulationsoftware.com/scenarios/beginner-09-conveyor-stop-delay. The simulator checks what the machine does, so any correct program passes. Tick each behaviour you saw pass.
What did the simulator show that you did not expect?
Name: ______________________________ Date: ______________ Class: ______________
The problem
A photo-eye pulses once for each box dropped into a carton. After five boxes the CARTON_FULL lamp lights. CNT_RESET clears the count for the next carton.
1. The machine: inputs and outputs
| Tag | In or out | Type | What it is |
|---|
| CNT_RESET | input | BOOL | Counter reset push-button (NO) |
| BOX_EYE | input | BOOL | Photo-eye — pulses once per box |
| CARTON_FULL | output | BOOL | Carton-full indicator lamp |
2. What correct behaviour looks like
These are the cases the simulator checks. Tick each one when you have seen it pass.
- ☐Five BOX_EYE pulses → CARTON_FULL on
- ☐Four BOX_EYE pulses → CARTON_FULL still off
- ☐CNT_RESET after a full carton → lamp off, next carton counts from zero
Think first
A counter counts a change at its input, not a level. Why does that matter for a photo-eye that stays blocked for half a second?
Predict: timing diagram
Draw each signal high or low over time for one run of the machine. Mark the time of any delay.
CNT_RESET
BOX_EYE
CARTON_FULL
3. Draw your ladder rungs on paper
4. Run it, then check each behaviour above
Run the lab at plcsimulationsoftware.com/scenarios/beginner-10-count-to-five. The simulator checks what the machine does, so any correct program passes. Tick each behaviour you saw pass.
What did the simulator show that you did not expect?
Name: ______________________________ Date: ______________ Class: ______________
The problem
The carton counting from lab 10 now sits on a conveyor. START runs MOTOR. After five boxes the carton is full: the lamp lights and the conveyor stops. CNT_RESET clears the count so the next carton can start.
1. The machine: inputs and outputs
| Tag | In or out | Type | What it is |
|---|
| START | input | BOOL | Momentary start push-button (NO) |
| CNT_RESET | input | BOOL | Counter reset push-button (NO) |
| BOX_EYE | input | BOOL | Photo-eye — pulses once per box |
| MOTOR | output | BOOL | Conveyor motor contactor |
| CARTON_FULL | output | BOOL | Carton-full indicator lamp |
2. What correct behaviour looks like
These are the cases the simulator checks. Tick each one when you have seen it pass.
- ☐Tap START → MOTOR on, CARTON_FULL off
- ☐Five BOX_EYE pulses → CARTON_FULL on, MOTOR off
- ☐Three BOX_EYE pulses → MOTOR still on, CARTON_FULL off
- ☐CNT_RESET after full carton → lamp off, conveyor can restart
Think first
The lamp and the motor both depend on the same fact. What is it, and where in your program does it come from?
Predict: timing diagram
Draw each signal high or low over time for one run of the machine. Mark the time of any delay.
START
CNT_RESET
BOX_EYE
MOTOR
CARTON_FULL
3. Draw your ladder rungs on paper
4. Run it, then check each behaviour above
Run the lab at plcsimulationsoftware.com/scenarios/beginner-10-counter. The simulator checks what the machine does, so any correct program passes. Tick each behaviour you saw pass.
What did the simulator show that you did not expect?
Name: ______________________________ Date: ______________ Class: ______________
The problem
A small carton line. START begins a 2 second warning pause, then MOTOR runs. Five boxes fill a carton: the lamp lights and the conveyor stops. STOP stops the line at any time, including during the pause. CNT_RESET clears the count.
1. The machine: inputs and outputs
| Tag | In or out | Type | What it is |
|---|
| START | input | BOOL | Momentary start push-button (NO) |
| STOP | input | BOOL | Momentary stop push-button |
| BOX_EYE | input | BOOL | Photo-eye — pulses once per box |
| CNT_RESET | input | BOOL | Counter reset push-button (NO) |
| MOTOR | output | BOOL | Conveyor motor contactor |
| CARTON_FULL | output | BOOL | Carton-full indicator lamp |
2. What correct behaviour looks like
These are the cases the simulator checks. Tick each one when you have seen it pass.
- ☐START → MOTOR off for 0.5 s, then on after the delay
- ☐STOP while running → MOTOR off and stays off
- ☐STOP during the 2 s wait → MOTOR never starts
- ☐Five boxes → CARTON_FULL on, MOTOR off
- ☐Three boxes → MOTOR still on, CARTON_FULL off
- ☐CNT_RESET after a full carton → lamp off, START runs again
Think first
List every condition that must be true for MOTOR to be on. Which of them is allowed to cut in during the 2 second pause?
Predict: timing diagram
Draw each signal high or low over time for one run of the machine. Mark the time of any delay.
START
STOP
BOX_EYE
CNT_RESET
MOTOR
CARTON_FULL
3. Draw your ladder rungs on paper
4. Run it, then check each behaviour above
Run the lab at plcsimulationsoftware.com/scenarios/beginner-12-carton-line. The simulator checks what the machine does, so any correct program passes. Tick each behaviour you saw pass.
What did the simulator show that you did not expect?
plcsimulationsoftware.com/ladder-logic-worksheets. Instructors may print and copy for class.