Programmable Logic Controllers
Programmable Logic Controllers
Controllers (PLCs)
Introduction
• A programmable logic controller (PLC) is an industrial grade computer
that is capable of being programmed to perform control functions.
• The programmable controller has eliminated much of the hardwiring
associated with conventional relay control circuits. Other benefits
include easy programming and installation, high control speed,
network compatibility, troubleshooting and testing convenience, and
high reliability.
• The programmable logic controller is designed for multiple input and
output arrangements, extended temperature ranges, immunity to
electrical noise, and resistance to vibration and impact.
Introduction…
• The programmable logic controller is, then, basically a digital
computer designed for use in machine control.
• Unlike a personal computer, it has been designed to operate in the
industrial environment and is equipped with special input/output
interfaces and a control programming language.
Why using PLC?
• Programmable controllers offer several advantages over a
conventional relay type of control.
• Relays have to be hardwired to perform a specific function. When the
system requirements change, the relay wiring has to be changed or
modified.
• The programmable controller has eliminated much of the hardwiring
associated with conventional relay control circuits.
Why using PLC?
Modular type
Parts of a PLC
Fixed type
Parts of a PLC: I/Os (Inputs/Outputs)
• There are two ways in which I/Os (Inputs/Outputs) are incorporated
into the PLC: fixed and modular.
• Fixed I/O is typical of small PLCs that come in one package with no
separate, removable units. The processor and I/O are packaged
together, and the I/O terminals will have a fixed number of
connections built in for inputs and outputs.
• Modular I/O is divided by compartments into which separate modules
can be plugged. The basic modular controller consists of a rack, power
supply, processor module (CPU), input/output (I/O modules), and an
operator interface for programming and monitoring.
Parts of a PLC: I/Os (Inputs/Outputs)
Fixed I/O
Modular I/O
Parts of a PLC: Power Supply
• The power supply supplies DC
power to other modules that
plug into the rack.
• With larger systems, power to
field devices is provided by
external alternating current (AC)
or direct current (DC) supplies.
• For some small micro PLC
systems, the power supply may
be used to power field devices.
Parts of a PLC: Processor (CPU)
• The processor (CPU) is the “brain” of the PLC.
• A typical processor usually consists of a microprocessor for
implementing the logic and controlling the communications among
the modules.
• The processor requires memory for storing the results of the logical
operations performed by the microprocessor. Memory is also required
for the program EPROM or EEPROM plus RAM.
• The CPU controls all PLC activity and is designed so that the user can
enter the desired program in relay ladder logic.
Parts of a PLC: Processor (CPU)
Typical PLC
input/output (I/O)
system
connections.
Parts of a PLC: Programming Device
• A programming device is used to enter the desired program into the
memory of the processor.
• The program can be entered using relay ladder logic, which is one of
the most popular programming languages.
• Instead of words, ladder logic programming language uses graphic
symbols that show their intended outcome. A program in ladder logic
is similar to a schematic for a relay control circuit. It is a special
language written to make it easy for people familiar with relay logic
control to program the PLC.
Parts of a PLC: Programming Device
• Hand-held programming devices are sometimes used to program
small PLCs because they are inexpensive and easy to use. Once
plugged into the PLC, they can be used to enter and monitor
programs.
• Both compact hand-held units and laptop computers are frequently
used on the factory floor for troubleshooting equipment, modifying
programs, and transferring programs to multiple machines.
Parts of a PLC: Programming Device
Typical hand-held
programming device
Parts of a PLC: Programming Device
• A personal computer (PC) is the most commonly used programming
device.
• Most brands of PLCs have software available so that a PC can be used
as the programming device.
• This software allows users to create, edit, document, store, and
troubleshoot ladder logic programs.
Parts of a PLC: Programming Device
Typical wiring
required to
implement the
process control
scheme using a
fixed PLC
controller.
Principles of Operation: Modifying the
Operation
• One of the important features of a PLC
is the ease with which the program
can be changed. For example, assume
that the original process control circuit
for the mixing operation must be
modified as shown in the relay ladder
diagram of Figure at Right. The change
requires that the manual pushbutton
control be permitted to operate at any
pressure, but not unless the specified
temperature setting has been
reached. PLC ladder logic program for the modified process
PLCs versus Computers
• The architecture of a PLC is basically the same as that of a personal
computer. A personal computer (PC) can be made to operate as a
programmable logic controller if you provide some way for the computer
to receive information from devices such as pushbuttons or switches.
• However, some important characteristics distinguish PLCs from personal
computers. First, unlike PCs, the PLC is designed to operate in the
industrial environment with wide ranges of ambient temperature and
humidity.
• A well-designed industrial PLC installation is not usually affected by the
electrical noise inherent in most industrial locations.
PLCs versus Computers