PLC Programming for Beginners
Write ladder logic and Structured Text, press Run and watch a motor start, a crossing change lights and a conveyor sort boxes. Every exercise is checked on the machine.
109 lessons109 challenges105 quiz questions
- Beginner friendly
AI-assisted coding help
Hands-on interactive lessons
Audio narration on every lesson
Quizzes to test your knowledge
Free certificate of completion
Run a PLC right here
Three programs on three machines. Press Run, then use the machine's buttons.
Press Start and the motor keeps running: the seal-in. Press Stop, or trip the overload.
Syllabus
Section 1
First Rungs
Start sectionStartWhat a PLC is and how it scans: inputs and outputs, normally open and normally closed contacts, coils, AND and OR, and the start/stop seal-in that runs every motor.What a PLC Does
4 lessons4Contacts
6 lessons65The Motor Station
6 lessons65How Scans Work
4 lessons45Section 2
Latches, Edges and Interlocks
Start sectionStartSet and reset coils, the SR and RS latches, rising and falling edges, one-button toggles, and the interlocks that keep two contactors from ever closing together. Then a garage door.Set and Reset
6 lessons65Edges
4 lessons45Interlocks
4 lessons45Project: Garage Door
6 lessons65Section 3
Timers
Start sectionStartOn-delay, off-delay and pulse timers and their timing diagrams, delayed starts, run-on fans, flashers and timer chains. Then a pedestrian crossing.On-Delay
4 lessons45Off-Delay and Pulse
4 lessons45Flashing and Chains
4 lessons45Project: Pedestrian Crossing
6 lessons65Section 4
Counters and Numbers
Start sectionStartCTU, CTD and CTUD counters, INT tags, compare, MOVE and arithmetic, and a display. Then a conveyor that counts, batches and sorts boxes.Counting
4 lessons45Numbers in the PLC
5 lessons55Project: Sorting Conveyor
8 lessons85Section 5
Analog and Sequences
Start sectionStartLevel switches and hysteresis, analog inputs and scaling, alarms and thermostats, and step sequences that run a batch. Then a car wash.Analog Inputs
6 lessons65Sequences
5 lessons55Project: Car Wash
6 lessons65Section 6
Structured Text
Start sectionStartThe same machines written as text: assignments, IF and CASE, timers and counters as blocks, loops and functions, REAL math. Then three projects in Structured Text.From Rungs to Text
5 lessons55Blocks in Text
4 lessons45Control
5 lessons55Projects in Text
3 lessons35
Learn by Doing
Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.
Build Your Streak
Stay consistent and watch your progress grow! Track your daily coding habit, protect your streak with freeze days, and earn rewards for showing up every day.
12 days streak
Return tomorrow to keep your streak!
January 2026
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
21
22
23
24
25
26
27
28
29
30
Double or Nothing
Day 5 of 7
Streak Freeze
2 left
You're Not Alone
Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!
Every way to learn
Read, listen, test yourself, ask the AI, or look up anything you've already covered. Every lesson meets you where you are.
A variable is a named container that stores a value you can reference later in your program.
In Python, you create one by writing the name, an equals sign, then the value you want to store.
The value can change over time. Reassigning the name simply points it to a new value.
Earn a Certificate
Earn certificates for every course you complete. Add them to your LinkedIn profile and resume to showcase your coding expertise to employers.
Why learn PLC programming with Coddy
- Your program and the machine sit side by side. Press a button on the panel and watch power flow through your rungs.
- Seven machines to drive: an operator panel, a motor station, a garage door, a pedestrian crossing, a sorting conveyor, a mixing tank and a car wash.
- From your first contact to timers, counters, analog inputs and step sequences, then the same machines in Structured Text.
- IEC 61131-3, the standard most PLCs follow, so the ideas carry over to other brands' software.
PLC programming FAQ
What is a PLC?
A programmable logic controller: a tough computer that runs machines. It reads buttons and sensors, runs its program and switches motors, valves and lamps, over and over, every few milliseconds.
What is ladder logic?
The most common PLC language. A program looks like an electrical drawing: rungs between two rails, with contacts for conditions and coils for outputs.
Do I need a PLC or any software?
No. The PLC and its machines run in your browser.
Do I need to know how to program first?
No. The course starts with one button and one lamp and builds up one small lesson at a time.
Which PLC brand does the course teach?
None in particular. It teaches the IEC 61131-3 languages and names, and shows the common vendor mnemonic, such as XIC, beside each instruction.
Do I get a certificate?
Yes. Each section gives a certificate of completion from Coddy that you can share on LinkedIn.