PLC BASICS

PLC SCAN CYCLE
EXPLAINED

The PLC scan cycle is the fast repeating process a PLC uses to read inputs, run your program, update outputs and control real equipment.

Simple PLC scan cycle diagram showing how the PLC reads inputs, executes the program, updates outputs and repeats
Quick answer

A PLC scan cycle is how a PLC checks the real world, runs the logic, then updates the outputs.

It does this over and over again, usually very quickly, so the system reacts to buttons, sensors and program conditions.

Simple example

Press a green button. The PLC reads the input, checks the ladder logic, then turns on an output such as a lamp or relay.

What is the PLC scan cycle?

The PLC scan cycle is the repeating loop a PLC follows while it is running. Instead of doing one thing and stopping, the PLC keeps checking the system, running the program and updating the outputs.

That is what makes PLC control feel live. The PLC is constantly checking what is happening and deciding what should happen next.

01

Read inputs

The PLC checks buttons, switches, sensors and other input signals.

02

Run logic

The PLC follows the program written by the engineer.

03

Update outputs

The PLC switches lamps, relays, contactors, valves or other outputs.

Simple PLC scan cycle diagram showing input devices, PLC logic and output devices
A basic ladder logic example helps show how inputs, logic and outputs connect during the scan cycle.

Why does the scan cycle matter?

The scan cycle matters because a PLC does not simply react to one signal in isolation. It checks the full program repeatedly, which means timing, logic order and input conditions all matter.

When you understand the scan cycle, ladder logic starts to make more sense. You can see why an input may need to be true before an output turns on, why latching logic works, and why a fault might appear to happen “too quickly” to spot.

Step 1: The PLC reads the inputs

At the start of the scan, the PLC checks the input devices connected to it. These could be pushbuttons, selector switches, sensors, safety circuits or signals from another control device.

For a beginner, the key idea is simple: inputs tell the PLC what is happening in the real world.

Start buttons Stop buttons Selector switches Sensors Safety devices Machine signals

Step 2: The PLC runs the program

Once the PLC knows the input states, it runs the control logic. In ladder logic, this usually means checking each rung and deciding whether each output instruction should be true or false.

This is where the program makes decisions. For example, the PLC might check if a start button is pressed, a stop button is healthy, and a safety circuit is made before switching an output on.

Step 3: The PLC updates the outputs

After the program has been scanned, the PLC updates the outputs. Outputs are the signals that control real devices such as lamps, relays, contactors, solenoid valves or alarms.

This is where the decision becomes action. The PLC has read the inputs, checked the logic, and now changes the physical outputs.

Indicator lamps Relays Contactors Solenoid valves Buzzers Other controllers

What is scan time?

Scan time is the amount of time it takes the PLC to complete one full scan cycle. In simple beginner projects, this is usually very fast.

As programs get larger, the scan time can increase. In most learning tasks, you do not need to obsess over it, but you should understand the principle. The PLC is not magic. It is repeatedly reading, processing and updating.

Simple example: push button and lamp

Imagine a green push button connected to a PLC input and a lamp connected to a PLC output.

01

You press the button

The input changes state and the PLC sees it on the next scan.

02

The program checks it

The ladder logic checks whether the input condition is true.

03

The lamp turns on

If the logic is true, the PLC updates the output and the lamp switches on.

Then the PLC does it all again. If you release the button and the logic is no longer true, the output may turn off on the next scan, depending on how the program is written.

Common beginner mistakes

A common mistake is thinking the PLC instantly connects an input directly to an output. That is not quite right. The input is read, the program is scanned, and then the output is updated.

Another common mistake is forgetting that the PLC repeats the program continuously. This is why latching circuits, timers, counters and edge detection can behave differently from what beginners first expect.

Why hands-on practice helps

The scan cycle becomes much easier to understand when you can press a real button, watch a real lamp, and see the ladder logic change online.

That is the whole point of hands-on PLC learning. You do not just read about inputs, outputs and logic. You build it, test it, break it, fix it, and make it click.

What Is Ladder Logic?

Once the scan cycle makes sense, the next step is understanding the ladder logic the PLC scans each time.

BUILD. LEARN. MASTER.

READY TO LEARN
WITH REAL HARDWARE?

Rising Edge training kits are designed to help learners build practical PLC confidence with real industrial components.