PLC · Lesson 1 of 10
A PLC (Programmable Logic Controller) is a small, rugged computer for factories: it handles heat, dust and electrical noise, reads buttons and sensors, and runs motors and valves according to a program you write. Here you will see why factories left relay circuits behind, and how a PLC "thinks" in a cycle called the scan.
In the past, every machine was controlled by relay circuits, contactors and timers wired together. That circuit was the "program". To change something small (a 5-second delay, or one more condition) you had to unwire, rewire and add relays.
A PLC does not watch the buttons "all the time" like a wire does. It runs 3 steps in a row and repeats them forever. Each round is called a scan:
A scan usually takes 1–20 milliseconds, depending on the program length. Try it yourself in slow motion:
A PLC is either compact (everything in one box: CPU, inputs and outputs, like the small models) or modular (a rack where you mount the cards you need). Tap each card:
| Card | What connects to it | Signal |
|---|---|---|
| DI digital input | Buttons, limit switches, proximity sensors, photocells, overload contacts | 0 / 24V DC |
| DO digital output | Contactor coils, relays, pilot lamps, solenoid valves | Relay or transistor |
| AI analog input | Pressure / level / temperature / flow transmitters | 4–20mA or 0–10V |
| AO analog output | Drive (VFD) speed, control valves | 4–20mA or 0–10V |
| Brand | Examples | Programming software |
|---|---|---|
| Siemens | S7-1200, S7-1500, LOGO! | TIA Portal |
| Allen-Bradley (Rockwell) | Micro800, CompactLogix, ControlLogix | CCW, Studio 5000 |
| Schneider | Modicon M221, M241, M340 | EcoStruxure Machine Expert |
| Mitsubishi | FX5U, iQ-R | GX Works |
| Delta | DVP, AS series | ISPSoft |
| Omron | CP1E, NX1P | CX-Programmer, Sysmac Studio |
All of them support Ladder (LD), plus other languages of the IEC 61131-3 standard: FBD (blocks), ST (structured text) and SFC (steps). We focus on Ladder because it looks like the contactor circuits electricians already know.
Answer at least 5 of 6 correctly to mark the lesson done.
The numbers (scan time, number of cards) are typical examples and vary by model. The simulator here is a generic trainer with IEC / Siemens style addresses: the exact addresses and instructions differ from one brand to another, and the manual of your PLC is the reference. Your progress is saved on this device only.
© 2026 LearnElectricals. All rights reserved. This site is not affiliated with any of the companies mentioned (such as Siemens, Allen-Bradley, Delta, Schneider and others); names and trademarks belong to their owners and are used only to explain the devices.