The short version.
A programmable logic controller (PLC) is a rugged industrial computer that reads sensors, runs a stored control program and drives machines in real time. PLCs appeared in the late 1960s to replace relay-based control systems.
Each PLC has a CPU, input/output modules and a power supply. Engineers write the logic on a programming device, most often in Ladder Logic, and upload it to the controller.
Modern PLCs connect to other systems over protocols such as OPC UA and MQTT. That connectivity calls for network segmentation, access control, patching and monitoring.
What PLCs do in a plant
PLCs run the machines on a factory floor. Each one reads its sensors, decides what to do and drives motors, valves and conveyors. Anyone who works in manufacturing works with them.
What is a PLC?
A Programmable Logic Controller (PLC) is a specialized computer that controls machines and processes. A general-purpose computer is not built for a plant floor. A PLC is built for real-time control in harsh conditions and keeps working in dust, moisture, heat and cold.
Key Characteristics of PLCs
- Rugged build: PLCs keep running in dust, heat and vibration.
- Real-time operation: PLCs act on live input data, so the process responds on time.
- Modular design: You can add modules for I/O, communication and processing to fit the application.
How PLCs have changed since the 1960s
PLCs were developed in the late 1960s to replace relay-based control systems. Since then they have gained speed, memory and network connections. Modern PLCs connect to IoT devices and cloud services.
Recent Developments in PLC Technology
- IoT connections: PLCs can connect to IoT devices, which allows remote monitoring and control.
- More processing power: Faster processors and more memory let PLCs run complex algorithms and process data.
- Standard communication protocols: OPC UA and MQTT let PLCs exchange data with SCADA, MES and IT systems.
How a PLC works
Basic Components of a PLC
- Processor (CPU): The CPU runs the control program.
- Input/Output (I/O) Modules: These modules connect the PLC to sensors and actuators. Inputs bring in readings, and outputs send commands.
- Power Supply: The power supply feeds the PLC and its modules.
- Programming Device: Engineers use it to write the control logic and upload it to the PLC.
Programming a PLC
Engineers usually program PLCs in Ladder Logic, which looks like an electrical relay diagram. They also use Function Block Diagram (FBD), Structured Text (ST) and Sequential Function Chart (SFC), depending on the application and their own preference.
PLCs in Industry 4.0
Smart factory projects still run on PLCs. The controller remains the device that moves the machine, and it now also feeds data to the systems above it.
PLCs and Smart Manufacturing
- Data acquisition: PLCs collect sensor data that feeds real-time analytics.
- Interoperability: PLCs support several protocols, so they can exchange data with other industrial systems.
- Scalability: You can extend a modular PLC system when production changes.
How to secure PLCs
A PLC on a network can be reached by anything else on that network, including an attacker. Each connection you add to a controller is one more path to protect. Our guide to PLC security covers this in detail.
Best Practices for PLC Security
- Network Segmentation: Separate PLC networks from IT networks so fewer people and systems can reach the controllers.
- Regular Updates and Patch Management: Keep PLC firmware and software up to date to close known vulnerabilities.
- Access Control: Require authentication and limit who can change a PLC configuration.
- Monitoring and Logging: Monitor PLC activity and keep logs for anomaly detection and incident response.
Which standards apply to PLCs
NIST 800-171, CMMC and IEC 62443 set the requirements for securing PLCs and the networks they sit on.
Key Compliance Considerations
- Data Protection: Check that PLC systems meet data protection requirements, including encryption and secure data storage.
- Incident Response: Write and maintain an incident response plan for PLC-related security incidents.
- Audit and Documentation: Audit PLC systems on a schedule and keep documentation that supports compliance.
What to do next
PLCs will keep running manufacturing automation. What has changed is that a modern PLC sits on a network and needs the same security attention as any other device on it. If you operate PLCs, take four steps: audit their network exposure, disable unused services and ports, control access at the network level, and monitor the traffic to and from each controller.