PLC Lab teaching notes

For high school PLC, mechatronics, robotics and automation, industrial maintenance and engineering teachers. Twelve jobs on one training station, from a start/stop circuit to a bottling line, a shift that scores each program, and a broken program on every job for troubleshooting days.

Using this with a class? Make a free class and add your students yourself: each gets a username and password, with no email or Google account needed. Or give them one join code. Using Google Classroom? Post the link there; with a free class, the link also puts each student in your class, so you see their work. mytekDev is also available from the Google Workspace Marketplace, so your school's Google admin can install it for everyone.A first lesson: Open Job 1 on the projector and turn the line on. Hold Start: the belt runs. Let go: it stops. Ask the class why, and what the program needs so the belt keeps running after a person lets go of the button. Then look at the Stop button's lamp in the wiring list: it is lit before anyone touches it. Ask why a stop button would be wired that way.

Set up a free class Share to Google Classroom
Put this on your class site

Students can use PLC Lab right on your page, with no account. What they make stays on that page; to keep their work, they make a free account.

Google Sites: Insert, then Embed, then By URL, and paste this address.

https://mytekdev.com/try/plclab?embed=1

Canvas, a blog, or any page that takes HTML: paste this code where you edit the page as HTML.

<iframe src="https://mytekdev.com/try/plclab?embed=1" width="100%" height="640" style="border:0" allow="fullscreen" title="PLC Lab demo from mytekDev"></iframe>

About these notes

PLC Lab is a training station on screen: a conveyor on a bench with a control panel, and the devices each job adds, such as photoeyes, a labeler, a pusher, a filler, a stack light, a reversing tote, a pick-and-place arm, a heated tank and a bottling line. Students write the ladder program that runs it. The PLC scans the way a real one does: it reads every input, runs the rungs top to bottom, then writes the outputs.

Each job follows the same shape: a story and a wiring list, a starting program, the program check, a try with the line on, then a shift where a crew works the panel and every part is counted. A job passes after three clean shifts, each one a little different, so a program tuned to one run does not pass by luck.

Nothing in the app drives real hardware. Export for OpenPLC writes Structured Text that a school can load on an OpenPLC trainer; load it only on a trainer you are allowed to use, with an instructor there.

A first period

Job 1 is the tutorial. It is the circuit every motor control course starts with, and the one students most often get wrong.

  1. Read the wiring list (5 minutes) Before anyone writes a rung, look at the three tags together. Start is wired normally open; Stop is wired normally closed, and its lamp is lit before anyone touches it. Ask why a stop button would be wired that way. (A broken wire then stops the line instead of leaving it unstoppable.)
  2. Hold Start, let go (5 minutes) Turn the line on and hold Start, or press S. The belt runs only while the button is held. Ask what the program needs so the belt keeps running after a person lets go.
  3. Build the seal-in (15 minutes) A branch around Start with a Motor contact on it. Students who put a normally closed contact on Stop, because the button is normally closed, find that the belt never starts. Let them find it on the station before explaining it.
  4. Run the shift (5 minutes) The crew presses Start, lets go, and presses Stop later. Three clean shifts pass the job.
  5. Fix the line (10 minutes) The Fix the line tab hands out a program that used to work. On Job 1 the Stop contact has been changed to normally closed. Students who built it themselves usually find it in a minute; the ones who did not are the ones to watch.

The twelve jobs

Jobs 1 to 6 make a first PLC unit and Jobs 7 to 12 a second. Each job's Fix the line fault is the mistake that job is built to show.

JobThe lineWhat it is built to showFix the line fault
1. Start and StopA belt, a Start and a normally closed StopSeal-in; a contact reads the input, not the buttonStop changed to a normally closed contact
2. Stop at the EyeA labeler and a photoeyeOn-delay timer; a through-beam eye is OFF when blockedThe hold timer set to 300 ms instead of 3000
3. Fill a CaseSix boxes to a case, a Case full lamp, ResetCounters count edges; a reset rung clears themThe counter's reset reads Start instead of Reset
4. Sort the MetalA metal sensor and a pusherLatch and unlatch; a pusher must come backThe pusher's unlatch deleted, so it stays out
5. Fill the BottleA filler with a level switchInterlocks: the valve opens only with a bottle under itThe Bottle contact taken out of the valve rung
6. Run the LineCases, a stack light, a jam and an E-stopA whole line; the E-stop drops a safety relay and needs Start againA failed sensor stuck ON: the program is right, the device is not
7. The Signal TowerA horn and an amber lightPulse timer: a 3 second warning before the belt movesThe warning pulse set to 300 ms
8. Both WaysA reversing tote, limit switches and JogForward and reverse interlock; jog does not sealThe interlock removed from the reverse rung
9. Rush HourParts close together, an encoderShift registers track each part to the pusherThe push reads the wrong bits, four places early
10. Pick and PlaceA vacuum arm moving parts to a fixtureSequences that wait for each sensor; Hold and Cycle StopA step lost its Up check, so the arm swings while down
11. The Batch TankAnalog level and temperature, a heater and a mixerAnalog inputs in counts; keep the heater coveredThe fill compare set to 98% instead of 80%
12. The Bottling LineFill, cap, weigh and reject, with Auto/Manual and JogA capstone: modes, an analog checkweigher and the shift reportThe weight limit set so short bottles pass

What students get wrong, and where the app answers it

The research on teaching ladder logic names the same mistakes again and again, and the first one is the most common of all. Each job is built so the mistake shows on the station, not just in a grade.

What students thinkWhere the app answers it
The contact in the program should match the physical buttonJob 1: a normally closed contact on a normally closed Stop button, and the belt never starts. The Stop lamp in the wiring list is lit at rest.
Rungs run all at once, like wiresSlow scan steps through one scan: inputs in, each rung in order, outputs out. A coil written on two rungs is decided by the last one, and the program check says so.
A counter counts while a sensor is onJob 3: counters count the rising edge. A box that sits on the eye counts once.
A photoeye is ON when it sees somethingJob 2: a through-beam eye is ON while the beam is clear and OFF when a box blocks it. The wiring list says which kind each eye is.
Stopping the program stops the machine safelyJob 6: the E-stop drops a safety relay in hardware; the program only reads its status, and the line waits for Start after it is reset. Job 12: Manual is not a lockout.
An analog input is a percentJob 11: Level arrives as 0 to 4095 counts. Students work out 80% and 60 °C in counts before the compares work.
When a routine stops, its outputs turn offRoutines: a routine that stops being called keeps its outputs as they were, so a motor it started keeps running. The app shows the kept value with a note.

What the app simplifies, on purpose

Fix the line as an assessment

Every job has a Fix the line tab: a program that used to work with one fault in it. The shift result names the symptom only, the way a supervisor would describe it, so the student has to go from what the line did to the rung that caused it. A fixed program passes on one clean shift.

Ask for a short write-up with each fix: what the line did, which rung was wrong, why, and how they proved it. On Job 6 the program is right and the sensor has failed, which is the case students are least ready for.

In Setup the teacher picks each job's fault, and Print answer key prints one working program for each job, its fault, and answers to the sheet's questions. Other programs can pass too: the shifts are the test.

Setting it up for a class

No setup is needed. With free accounts, each student's programs, results and sheet answers save as one project. To hand out a configured copy, open Setup, choose the settings, press Done, save the project, and hand it out as a starter.

Setup chooses which jobs the class sees, whether each job shows Build it, Fix the line or both, whether the guide offers Show me how or hints only, whether everyone gets the same three shifts or each student their own, the fault on each job's Fix the line, and up to ten questions of your own for the sheet.

Labels match the app to the school's trainer: Allen-Bradley names and MicroLogix addresses (I:0/0), Siemens, IEC 61131-3 and OpenPLC (%IX0.0), or AutomationDirect CLICK (X001). Big screen makes the station fill a projector.

Standards

PLC Lab addresses these; it is practice for the skills, not a replacement for time on a real trainer, and it does not prepare for a vendor's hardware exam on its own.

More help

Is something on this page wrong or not clear? Write to us.

Page last reviewed November 2026.
Google, Google Classroom and Chromebook are trademarks of Google LLC.