CONTROLS ENGINEERING ACADEMY

PLC Concepts

An introduction to PLCs, or Programmable Controllers, and how they are used to control automated processes.

Get Your First Course Free

For a limited time only, use the code "startfree" at checkout to get access to your first beginner PLC programming course for free.

Table of Contents

Get Your First Course Free

For a limited time only, use the code "startfree" at checkout to get access to your first beginner PLC programming course for free.

A PLC, or Programmable Logic Controller, is a specialized industrial computer designed to control automated processes and equipment. If you've ever wondered how modern factories, water treatment plants, or even traffic lights operate so reliably, the answer often lies in these robust devices.

Since controls engineers, PLC programmers, and maintenance technicians spend so much time working with PLCs, it's essential that anyone wanting to work in these fields understands:

  • What a PLC is
  • What components make up a PLC
  • How to program a PLC
  • What PLCs are used for

These are the exact topics we'll cover in this post. Let's dive in.

What is a PLC?

PLC stands for Programmable Logic Controller. These devices are specialized computers designed specifically for industrial automation to control automated processes and equipment. Think of a PLC as the brain of an automation system.

In almost all applications, a PLC follows a simple three-step process:

  1. Collect information about the condition of a process from input devices like sensors and pushbuttons
  2. Execute logic based on changes in the state of these input devices
  3. Actuate output devices like motors and lights based on the rules defined in its program

You'll find PLCs controlling everything from assembly lines in automotive plants to conveyor systems in distribution centers, from water treatment facilities to food processing operations.

Why Choose a PLC Over a Traditional Computer?

PLCs are preferred over traditional computers for several key reasons:

Easy Integration with Field Devices: Connecting a sensor like a photoelectric cell or an actuator like a signal light to a PLC is straightforward. Integrating these same devices with a standard computer requires significant additional hardware and software.

Exceptional Durability: PLCs are solid-state devices designed for harsh industrial environments. With no moving parts to wear out, properly installed PLCs can run continuously for ten, fifteen, or even twenty years. Anyone who's experienced frequent computer crashes knows you can't get this type of reliability from a traditional computer.

Simplified Programming: While PLCs are becoming more sophisticated, they remain much easier to program than traditional computers. Someone without extensive software engineering experience can learn to write effective PLC programs, whereas developing applications for standard computers requires significantly more technical expertise.

PLC vs. PAC vs. Controller: What's the Difference?

If you've talked to anyone about industrial automation, you may have heard various terms for the device that controls automation processes:

  • PLC (Programmable Logic Controller)
  • PAC (Programmable Automation Controller)
  • Controller
  • Processor
  • CPU

These terms are used interchangeably and all refer to the same thing: the industrial computer that controls a process. Regardless of whether someone mentions a PLC, PAC, controller, processor, or CPU, they're referring to the device that manages the automation process.

What Components Make Up a PLC?

Regardless of size or manufacturer, all PLCs contain the same essential components that enable them to function effectively.

Processor

PLC Processor

The processor is the heart of the PLC, responsible for executing the program downloaded to the device. Just as the PLC serves as the brain of an automation system, the processor serves as the brain of the PLC.

The processor contains:

  • A CPU that executes the program
  • Non-volatile memory that stores the program
  • A programming interface that allows users to connect and download programs

Inputs and Output Modules

PLC Input and Output Modules

Input Modules: PLCs gather information about the process through input devices like pushbuttons, sensors, and switches. Input modules convert electrical signals from these devices into digital signals the processor can understand.

Output Modules: PLCs control the process through output devices like motors, lights, and horns. Output modules perform the opposite function of input modules, converting digital signals from the processor into electrical signals that drive the actuators.

Communication Module

PLC Communication Modules

For integration into larger systems, PLCs need to communicate on industrial networks. Communication modules enable communication between the PLC and other devices via industrial networks like Profinet or Ethernet/IP. Most commonly, this takes the form of an RJ45 jack or similar port for Ethernet-based industrial networks.

Power Supply

PLC Power Supply

All PLC components require power to operate. While PLCs and many control devices run on 24V DC power, the incoming power supply is typically between 120 and 400V AC. A power supply converts the incoming power to the appropriate voltage level for the PLC and its components.

Embedded and Modular Components

These components can be integrated into a single housing or exist as separate modular components, depending on the PLC system.

Compact PLCs (Embedded Components)

In smaller PLC systems, all components are integrated into one housing. The PLC becomes a single piece of hardware that includes processor, I/O, communication module, and power supply. These compact PLCs are designed to control small, standalone machines or simple processes.

For example, a small PLC might have:

  • Input modules at the top of the housing
  • Output modules at the bottom
  • Processor and communication module (like an Ethernet port) in the main body
Compact PLC

Modular PLCs

PLCs controlling large automation systems like full factories or production lines are typically modular. In these systems, each component is a separate physical device connected to the PLC through a chassis or backplane that creates electrical connections between modules.

Modular systems offer significant advantages:

  • Customization: The PLC can be tailored to meet specific application requirements
  • Scalability: Components can be added or removed as needs change
  • Maintenance: Individual modules can be replaced without affecting the entire system

A typical modular PLC system includes separate modules for power supply, processor, communications, and multiple input/output modules.

Modular PLC

Why Are There so Many Different Controllers?

You might wonder why manufacturers like Rockwell Automation produce multiple series of controllers (Micro, CompactLogix, ControlLogix) or why Siemens offers LOGO!, S7-1200, and S7-1500 PLCs. The answer lies in the diverse requirements of automation applications.

Different automated processes require different performance levels. Controlling a single conveyor belt requires much less processing power and fewer I/O points than managing a fully automated warehouse. Similarly, motion control applications demand faster processors, while safety systems require redundant components.

By offering PLCs with varying performance levels and features, manufacturers enable users to select the right hardware for their specific applications. While this variety can seem overwhelming initially, manufacturers provide selection tools to help choose the appropriate PLC for each job.

What Type of Processes Does a PLC Control?

PLCs can control many different types of automated processes, but the four most important automation disciplines are:

  • Discrete Control
  • Process Control
  • Motion Control
  • Safety Control

Modern PLCs are capable of multi-discipline control, meaning one PLC can perform discrete, process, motion, and safety control functions. This capability provides huge benefits for end users, who no longer need multiple specialized controllers and can train their engineers on a single platform.

Discrete Control

RNA Automation

In discrete control, actuators like motors and valves are turned on and off to create individual products. Discrete industries include:

  • Assembly: Products are assembled
  • Packaging: Products are packaged
  • Logistics: Products are transported

An easy way to identify discrete control is if you can count the end product. If you can say "we manufactured 500 cars," you're dealing with discrete control in a discrete industry.

Process Control

FlySquare Solution

Process control involves adjusting setpoints to maintain process stability. The actual state of a process feeds into a control algorithm that adjusts setpoints to keep the process stable.

For example, in a brewery, you might need to control liquid temperature in a tank. The PLC would adjust a heater's setpoint and monitor temperature until the liquid reaches the target temperature. The control algorithm would then continue adjusting the heater setpoint to maintain stable temperature.

You can identify process control when you measure the end product. If you can say "we produced 10,000 liters of beer," you're dealing with process control in a process industry.

Why Does This Distinction Matter?

Historically, automation manufacturers focused on either discrete or process control, leading to completely different suppliers, system architectures, and technologies for each industry.

Today's multi-discipline PLCs bridge this gap, though many engineers still specialize in one or two disciplines. Interestingly, many process industries also have discrete control applications. A brewery controls a process application when brewing beer but switches to discrete control when bottling and packaging. Companies with mixed process and discrete control benefit most from multi-disciplinary controllers and engineers.

Programming a PLC

A PLC doesn't inherently know how to control a process. Controls engineers must program the PLC, defining exactly how to control the process by specifying:

  • What inputs to monitor
  • How to react to input changes
  • What outputs to actuate to control the process

Let's examine PLC programming basics through a simple example.

A Simple Process

Imagine a conveyor that transports pallets across a warehouse with these requirements:

  • The conveyor runs when an operator presses the Start button
  • The conveyor stops when an operator presses the Stop button or when a sensor detects a pallet at the end
  • A green indicator light shows when the conveyor is running
  • A red indicator light shows when the conveyor is stopped

How would we write a PLC program to control this process?

Programming Languages

PLC programs are written in proprietary development environments created by manufacturers. In these environments, you specify inputs to monitor, outputs to control, and logic to execute.

As a controls engineer, you write logic in high-level programming languages. When you download the program to the PLC, your logic compiles into efficient, binary machine code that the PLC can understand and execute.

Ladder Diagram

One of the most common PLC programming languages is Ladder Diagram, a high-level, visual programming language that resembles electrical schematics. This language uses familiar electrical symbols, making it intuitive for engineers with electrical backgrounds.

Function Block Diagram

Function Block Diagram is another high-level, visual language popular in process industries. It represents logic as interconnected function blocks, making it excellent for complex process control applications.

Structured Text

Structured Text is a text-based programming language useful for mathematical operations and complex algorithms. It resembles traditional programming languages and is powerful for computational tasks.

Language Flexibility

Most PLCs support multiple programming languages within a single project. This flexibility allows you to use the most appropriate language for each task. For example, you might write high-level logic in Ladder Diagram while handling complex calculations in Structured Text.

Language names may vary between manufacturers, but the core concepts remain consistent across platforms.

Wrap Up

In this post, we've explored the fundamentals of PLCs, covering what they are, their essential components, and how these components are arranged in both compact and modular configurations.

We've also examined the automation disciplines PLCs handle and the different types of processes they control, from discrete manufacturing to process industries.

Finally, we've previewed the programming languages used to create PLC programs, showing how engineers translate process requirements into executable logic.

You now have a solid high-level understanding of PLCs and their capabilities. From here, you can begin learning PLC programming through hands-on courses where you'll discover how to transform process requirements into working automation solutions.

Related Content

Programming Micro800 PLCs with Connected Components Workbench

Learn how to program Allen Bradley Micro800 PLCs using Rockwell Automation's Connected Components Workbench