Menu
CoddyTech
NewJourney

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
  • sparkles iconAI-assisted coding help
  • hint iconHands-on interactive lessons
  • volume On iconAudio narration on every lesson
  • quiz iconQuizzes to test your knowledge
  • certificate iconFree 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

6 sections109 lessons109 challenges105 quiz questions
  1. Start sectionStartExpandCollapseWhat 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 lessons4

    Contacts

    6 lessons65

    The Motor Station

    6 lessons65

    How Scans Work

    4 lessons45
  2. Start sectionStartExpandCollapseSet 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 lessons65

    Edges

    4 lessons45

    Interlocks

    4 lessons45

    Project: Garage Door

    6 lessons65
  3. Start sectionStartExpandCollapseOn-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 lessons45

    Off-Delay and Pulse

    4 lessons45

    Flashing and Chains

    4 lessons45

    Project: Pedestrian Crossing

    6 lessons65
  4. Start sectionStartExpandCollapseCTU, CTD and CTUD counters, INT tags, compare, MOVE and arithmetic, and a display. Then a conveyor that counts, batches and sorts boxes.

    Counting

    4 lessons45

    Numbers in the PLC

    5 lessons55

    Project: Sorting Conveyor

    8 lessons85
  5. Start sectionStartExpandCollapseLevel switches and hysteresis, analog inputs and scaling, alarms and thermostats, and step sequences that run a batch. Then a car wash.

    Analog Inputs

    6 lessons65

    Sequences

    5 lessons55

    Project: Car Wash

    6 lessons65
  6. Start sectionStartExpandCollapseThe 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 lessons55

    Blocks in Text

    4 lessons45

    Control

    5 lessons55

    Projects in Text

    3 lessons35
What you get
Everything you'll use to learn to code

Learn by Doing

Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.

playground.js
Code Editor
1const greeting = "Hello, Coddy!"
2function sayHi(name) {
3    return greeting + " " + name
4}
5
bottombar Collapse icon
Test #1test Case Success icon
Test #2test Case Success icon
Test #3test Case Failure icon
Input
"Alex"
Output
"Hello, Coddy! Alex"

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!

fire Filled icon
left icon

January 2026

right icon

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

product Double Or Nothing icon

Double or Nothing

Day 5 of 7

fire Freeze icon

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!

Challenger League
Challenger LeagueTop 7 advance
leaderboard First icon1
avatar 1 icon
fire Filled icon
Alex7+ Days
2840
leaderboard Second icon2
avatar 2 icon
fire Filled icon
Jordan7+ Days
2650
leaderboard Third icon3
avatar 3 icon
fire Filled icon
Sam7+ Days
2420
4
avatar 4 icon
Casey
2180
5
avatar placeholder icon
fire Filled icon
Morgan7+ Days
1950
leaderboard Arrow Up iconPromotion zoneleaderboard Arrow Up icon

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.

Intro to Variables
Audio

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.

1xSarah

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.

CoddyCertificate of Completion
This certifies thatJohn Doehas successfully completed
python iconPython Fundamentals
Verified
DateJan 2026
LinkedInAdd to LinkedIn

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.

Coddy programming languages illustration

Learn PLC Programming with Coddy

Get started