Chapter 1
Chapter 1
Chapter 1
12/10/2021 2
Programmable Logic
Controller – An Overview
CPU
Inputs Outputs
Principle of control system
Input signals:
• Usually come from various sensors that convert
physical quantities into electrical signals. These
sensors may be simple push-button switches,
limit switches or proximity sensors, etc.
• Depending on the sensor uses this information
may be an on/off(binary) or a continuous
(analogue) representation of the input quantity
Processor:
• From the input signals the automatic control system
has to produce the necessary output signal in
accordance to the control plant built into the
processor.
• The control plant can be implemented into two
different ways, using either hard – wired control
system or programmable control system.
• Hard-wired control systems have the control function
fixed permanently when the system components are
connected together (eg. Electrically).
• Programmable control system the control function is
programmed and stored within a memory unit. This
program can be changed or modified when
necessary.
Output:
• Motors, cylinders, relays, etc. are
the output devices which convert
signals from the control system into
other necessary quantities.
• Example: A pneumatic cylinder,
converts pneumatic signals into
linear motion.
History
Relay Computer
• Heart of control
system- a Designed to
specialised and operate in • Equipped with special input
computerised to industrial and output interfaces and
control machines environment control programming
& processes. (e.g: control a language.
repetitive task)
Parts of PLC
Major Components of a common PLC
POWER
SUPPLY
I M O M
N O U O
P D T D
U U PROCESSOR P U
T L U L
From E T E
To
SENSORS
OUTPUT
Pushbuttons, Solenoids,
contacts, contactors,
limit switches, alarms, motors
etc. PROGRAMMING
etc.
DEVICE
Major Components of a common PLC
PUSHBUTTONS LAMP
PLC
Major Components of a common PLC
Component Function
Power supply Provides the voltage needed to run the
primary PLC components
I/O modules Provides signal conversion and isolation
between the internal logic-level signals
inside the PLC and the field’s high level
signal.
Processor (CPU) Provides intelligence to command and
govern the activities of the entire PLC
systems.
Programmable Used to enter the desired program that will
devices determine the sequence of operation and
control of process equipment or driven
machine.
Major Components of a common PLC
TASK
CPU (Example)
Omron PLC model Communicate with
CQM1H-CPU51 external devices
Coordinate activities
in PLC system
Executes program
CPU
COMPONENTS Function
• To make the
Supporting circuitry
system works
Major Components of a common PLC
Processor – Central Processing Unit (CPU)
• The processor module contains
• PLC’s microprocessor
• Supporting circuitry
• Memory system
• The main function of the microprocessor is to analyse
data coming from field sensors through input modules,
make decisions based on the user’s defined control
program and return signal back through output modules to
the field devices. Field sensors: switches, flow, level,
pressure, temp. transmitters, etc. Field output devices:
motors, valves, solenoids, lamps, or audible devices.
• The memory system in the processor module has two
parts: a system memory and an application memory
Memory is the part of a PLC
controller that stores data,
instructions, and the control program.
•The application memory is divided into the data table area and
user program area.
•The data table stores any data associated with the user’s
APPLICATION control program, such as system input and output status data,
and any stored constants, variables, or preset values. The data
•Data Table table is where data is monitored, manipulated, and changed for
control purposes.
•User Program •The user program area is where the programmed instructions
entered by the user are stored as an application control
program.
Major Components of a common PLC
TYPE OF MEMORY
Type of Memory Description
Volatile • RAM – Random Access Memory • The words random access refer to the ability of
any location (address) in the memory to be
accessed or used.
• Must have battery backup to retain or protect the
stored program
• ROM – Read Only Memory • Read only indicates that the information stored in
memory can be read only and cannot be changed
Non-volatile • PROM – Programmable Read Only • Allows initial and/or additional information to be
• Able to retain Memory written into the chip
stored
information • EPROM – Erasable Programmable • Ideally suited when program storage is to be semi-
when power is Read On Memory permanent or additional security is needed to
removed, prevent unauthorized program changes
accidentally or • Has a quartz window over a silicon material that
intentionally contains the electronic integrated circuits
• Do not require • Also referred as UVPROM
back-up battery • EEPROM – Electrically Erasable • Can be programmed using a standard
Programmable Read Only Memory programming device and can be erased by the
proper signal being applied to the erase pin
• Used as a backup for the normal RAM memory
Major Components of a common PLC
TYPE OF MEMORY
Major Components of a common PLC
I/O Modules
• The I/O interface section of a PLC connects it to
external field devices.
Block
diagram
Circuit
diagram
Major Components of a common PLC
I/O devices
Analogue signal
Analogue • 4-20mA
• 0-10V
Input devices
Analogue Analogue
Discrete
Major Components of a common PLC
Programming Device
• Types
– Hand held unit with LED / LCD
display
– Desktop type with a CRT display
– Compatible computer terminal
• Also known as:
– Industrial Terminal ( Allen Bradley )
– Program Development Terminal (
General Electric )
– Programming Panel ( Gould
Modicon )
– Programmer ( Square D )
– Program Loader ( Idec-Izumi )
– Programming Console ( Keyence
/ Omron )
PLC Operation
The basic operation of PLC:
1. The Input system senses the status of the real world inputs (a switch,
a level, etc.)
2. Translates them to values that can be used by the CPU, and writes
those values to the Input table.
3. The application program is executed, and writes values to the Output
table.
4. The Output system then converts the output value to a real world
change (motor turns on, valve opens, etc.) These steps continually
take place in a repeating loop.
Starts with the CPU
reading the status of all
inputs.
Repeated
Continuously
Concludes with the
updating of all
outputs.
Computer vs PLC
The architecture of a PLC is basically the
same as that of a personal computer.
The PLC comes with its program language built into its memory
and has no permanently attached keyboard, CD drive, or monitor.
Troubleshooting is
simplified by the use of
fault indicators and
messaging displayed on
the programmer screen.
PLC PC
1. A PLC is designed for A computer optimized for
(logic) control and calculation and display task
regulation tasks
Motion Light
Light pen sensor sensor
Keyboard Mouse
Process-
PLC control
Data -
processing
Motor Light
Monitor Plotter
Solenoid Heater
Printer
PC
Advantages of PLC
Conventional Control Panel (Hard-wired)
and its difficulties
• Beginning of industrial
revolution, in 1960 & 1970
automated machines were
controlled by
electromechanical relays.
• Relays were all hardwired
together inside control panel.
• Conventional relay control
panel is very inflexible.
Disadvantages of Conventional Control
Panel
Labeling Station