A PLC is a tough small computer that reads sensors and switches machines on and off using a stored program.
This guide is for students, people moving into industrial or plant IT work, and anyone curious about the computers that run factories, water works and buildings. You do not need any engineering background. If your organisation makes things, moves water or runs a large building, it very likely relies on PLCs.
In short
- A PLC (programmable logic controller) is a rugged computer that controls machines, such as pumps, valves, motors and conveyor belts.
- It runs a simple loop many times a second: read the sensors, run the program, set the outputs.
- If someone changes its program or settings, the machine it controls can behave in the wrong way, so access to it matters.
- Keep PLCs off the open internet, change default passwords, back up the program and allow changes only with approval.
What you will learn
- Explain what a PLC does in one sentence.
- Describe the read, think, act loop that every PLC runs.
- Spot the common set-up mistakes that put PLCs at risk.
- Ask the right questions about who can change a PLC and how.
- Machine controller (PLC)
- a rugged computer that runs the control program for a machine or process.
- Control screen (HMI)
- the screen operators use to see readings and give commands to the machines.
- Programming computer (engineering workstation)
- the computer engineers use to write and load programs into PLCs.
What is a PLC?
Think of the thermostat in a home. It keeps checking the room temperature, and it switches the boiler on or off to match the setting. Nobody needs to stand beside it.
A PLC does the same kind of job for machines, but it can follow a much longer list of rules. It reads signals from sensors (parts that measure things such as level, heat or pressure). It then switches actuators (parts that move things, such as valves, pumps and motors). The rules it follows are a program that engineers write and load into it.
The letters stand for programmable logic controller. "Programmable" means engineers can change the rules. "Logic" means it makes simple decisions, such as "if this, then that". "Controller" means it controls equipment. A US standards body describes a PLC as a control system with memory that users can program. It is used for jobs such as control, timing, counting and maths.[1]
PLCs are built to cope with dust, heat and vibration, and to run for years without stopping. You find them in factories, water and sewage works, power stations, food plants, lifts, car parks and large building systems. They are one part of the wider family called industrial control systems.
Where the comparison stops working: a home thermostat usually sits on a wall where you can see it. A PLC is often tucked inside a cabinet and joined to a network. Someone could change it from far away, and nobody may notice until the machine misbehaves.
Why does it matter?
A PLC turns computer commands into real movement. A wrong command can waste product, damage equipment or, in the worst cases, put people at risk.
If you are new to plant or factory IT
What could happen: a well-meaning change, such as plugging a PLC into the office network, opens a path nobody planned for.
Check this: ask the control engineers which networks each PLC is allowed to reach before you connect anything.
If you are a student or career changer
What could happen: you learn office IT security, then find that plant systems follow different priorities, where keeping the process running safely comes first.
Check this: learn the basic parts (PLC, control screen, sensors) before the security tools.
If you manage a site with machines
What could happen: a supplier leaves a PLC reachable from the internet with its factory password, and a stranger changes what the screen shows.
Check this: ask for a list of every PLC, who can change it and how remote access works.
This is not only a theory. In late 2023, US agencies reported attacks on at least 75 PLCs of one brand. At least 34 of them were used in the US water sector. The attackers got in through a default password or no password at all, and they replaced the control screen with a message.[2]
What does it look like?
Here is a made-up "Am I affected?" card that a site manager might fill in for one PLC.
Example only. All values are made up.
PLC record card: EXAMPLE-PUMP-PLC-01 Job: controls pumps 1 and 2 at the tank Network: plant network, also reachable from internet (1) Login: factory default password, never changed (2) Remote access: supplier connects with a shared account (3) Program backup: last copy saved "some time in 2019" (4) Key switch: left in REMOTE (5)
- In a real file, this line would show whether people on the internet could reach the PLC.
- Factory default passwords are often printed in public manuals.
- A shared login means nobody can tell which person made a change.
- An old backup may not match the program the PLC runs today.
- On some PLCs, a physical key decides whether the program can be changed from the network.
Why this is risky: each line makes it easier for the wrong person to change the PLC. It also makes it harder to put things right.
The safer way: the PLC sits on its own network with no direct internet path. Its password has been changed. Each supplier engineer has their own login and comes in by one controlled route. There is a recent backup that has been tested. The key stays in the run position unless a change is approved.
How does it work?
Every PLC runs a loop, often called the scan cycle, many times a second.
- Read the inputs. The PLC checks every sensor wired to it, such as a level sensor saying the tank is nearly full.
- Run the program. It works through its rules, for example "if the tank is nearly full, close the inlet valve".
- Set the outputs. It sends signals to switch valves, pumps or motors on or off.
- Repeat. It starts again straight away, so it reacts quickly when something changes.
- Report. A control screen, called an HMI (human machine interface), reads values from the PLC so operators can see what is happening and give commands.

Engineers write the program on a separate computer, called the engineering workstation, and then load it into the PLC over a cable or the network. That is why the workstation and the network matter so much: whoever can reach them may be able to change what the machines do.
Some PLCs have a physical key switch on the front. On one maker's controllers, the run position blocks changes such as loading a new program or updating the built-in software, called firmware. The maker says to use the remote or program positions for maintenance or when changing the program.[3] Other makers use different controls, so check your own manuals.

A worked example
Hana Varga has just joined a small fictional water treatment works as its first IT officer. She comes from office IT and has never worked with PLCs.
In her first week, she reads a US government alert about attacks on water sites. It says attackers found PLCs on the internet and logged in with default passwords.[4] She wonders whether her own site could be affected.
She does not touch anything. Instead, she asks Reza Jovanovic, the control engineer, to walk her round. He shows her four PLCs, each running pumps or dosing chemicals, and the control screen in the operations room.
Together they fill in a record card for each one. Three are fine. The fourth, fitted by a supplier years ago, has a mobile data router beside it so the supplier can connect from outside. Reza is not sure whether its password was ever changed.
Reza books a maintenance window with the operations manager, because the pumps must keep running safely. During the window, he saves a fresh backup of the program first. Then he changes the password and records it in the site's password safe.
Hana asks the supplier to connect through the site's own remote access route instead, with a named login and a second check, called multi-factor authentication. The spare router is unplugged once the new route works.
A week later, Hana writes a short list for the manager. It shows every PLC, who can change it, how remote access works and where the backups are. Nothing went wrong, but the gaps are now closed and written down.
Myths and mistakes
| What people think | What is true |
|---|---|
| PLCs are not on the internet, so nobody can reach them. | Some are, often through a supplier's router or a quick fix that stayed. US agencies have found exposed PLCs at water sites.[2] |
| A PLC is just a small office computer. | It controls physical equipment, so a careless restart or update can stop a process. Changes need planning with the engineers. |
| The factory password is fine because it is a closed system. | Default passwords are widely known. US agencies advise replacing them with strong passwords.[2] |
| If a PLC is attacked, we can just reinstall it. | Only if a recent, tested backup of the program and settings exists. Back up before you need to.[4] |
| Security tools from the office can be pointed at the plant. | Some scans and tools can upset older plant devices. We suggest agreeing any testing with the control engineers first. |
What can I do this week?
- Ask for a list of the PLCs at your site and what each one controls.
- Ask whether any PLC or control screen can be reached from the internet, including through supplier routers.
- Check that default passwords have been changed, without changing anything yourself.
- Find out where the program backups are kept and when one was last restored as a test.
- Ask how suppliers connect from outside and whether each engineer has a named login.
Checklist
- Every PLC is listed with its job, location and owner.
- No PLC or control screen is directly reachable from the internet.
- Plant networks are separated from office networks, with a firewall between them.
- Default passwords on PLCs and control screens have been changed.
- Remote access goes through one controlled route with named logins and a second check.
- Recent backups of each PLC program and its settings exist, and a restore has been tested.
- Key switches stay in the run position except during approved, recorded changes.
- Program changes are approved, recorded and checked by an engineer.
Common questions
What is the difference between a PLC and SCADA?
A PLC controls a machine or process directly, close to the equipment. SCADA is the wider system that gathers readings from many PLCs and shows them to operators. It often covers a whole site or region. See Industrial Control Systems and SCADA for Beginners.
What language are PLCs programmed in?
Often in ladder logic, a drawing style that looks like the rungs of a ladder and comes from old electrical wiring diagrams. Many PLCs also accept text and block-based languages. Engineers use the maker's software on the engineering workstation to write and load the program.
Why do attackers go after PLCs?
Because a PLC can change something in the physical world. An attacker might want to stop production, cause damage, make a political point or show they could get in. In the 2023 water sector attacks, the attackers replaced the control screen with a message.[2]
Can I update a PLC like a laptop?
Not in the same way. Updates can need the process stopped, so they are planned with engineers and done in a maintenance window. Makers do release updates, and US agencies advise installing them.[2] Test first, keep a backup and record the change.
Is a PLC a non-human identity?
In a way, yes. A PLC is a device that connects to other systems, such as control screens and data collectors, and may need to prove who it is. Engineering tools and supplier accounts that log in to PLCs need the same care as any other account.
Where next?
Ready for the detail? Read the practitioner guide: PLC Security Guide. It goes further into hardening settings, protecting the program and firmware, securing engineering workstations and spotting unexpected changes.
Also useful:
- Industrial Control Systems and SCADA for Beginners
- Industrial Protocols for Beginners
- Famous Industrial Cyber Attacks for Beginners
- How to Back Up PLC and Controller Configurations
- Unitronics Vision and UniStream PLC Hardening Guide
Related NHI Mgmt Group resources: OT Security Guide · OT Security Engineer for Beginners · Non-Human Identities for Beginners
Key terms
- PLC
- A rugged computer that runs the control program for a machine or process.
- HMI
- The screen operators use to see readings from machines and give commands.
- Engineering workstation
- The computer engineers use to write programs and load them into PLCs.
- SCADA
- A system that gathers readings from many controllers and lets operators watch and steer a whole process.
- Operational technology
- Computers and systems that control physical equipment, rather than handling office data.
- Firmware
- The built-in software that makes a device work, below the program engineers write.
- Default password
- The password a device ships with, which is often published and should be changed.
Sources and further reading
- NIST Computer Security Resource Center, "Programmable logic controller (PLC)", glossary entry citing NIST SP 800-82 Rev. 3. https://csrc.nist.gov/glossary/term/programmable_logic_controller (accessed 28 Nov 2026).
- CISA, FBI, NSA, EPA, INCD, "IRGC-Affiliated Cyber Actors Exploit PLCs in Multiple Sectors, Including US Water and Wastewater Systems Facilities", advisory AA23-335A, published 1 December 2023, updated 18 December 2024. https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-335a (accessed 28 Nov 2026).
- Rockwell Automation, "Change the operation mode", ControlLogix 5590 Controller User Manual (1756-UM900). https://www.rockwellautomation.com/en-ca/docs/technical/logix5000/_online/1756-um900/controllogix-5590-controller-user-manual-ditamap/create-a-controller-project/change-the-operation-mode.html (accessed 28 Nov 2026).
- CISA, "Exploitation of Unitronics PLCs used in Water and Wastewater Systems", alert, November 2023, updated 19 December 2023. https://www.cisa.gov/news-events/alerts/2023/11/28/exploitation-unitronics-plcs-used-water-and-wastewater-systems (accessed 28 Nov 2026).