7 - Programmable Logic Control - Edited
7 - Programmable Logic Control - Edited
Chapter - 7
1
ARUNDEEP MURUGAN
PLC - Basics
1. What is a PLC
2. Before PLCs (Before PCs)
3. Advantages of PLC
4. Disadvantages of PLC
5. PLC Configurations
6. PLC versus PC
7. Parts of a PLC
8. PLC in Operation
9. Ladder Logic
10. Programming the PLC
▶ A Programmable Logic Controllers (PLC)
is a miniature industrial grade computer
that contains hardware and software –
1. What is a PLC ? capable of being programmed to perform
control functions
M O M
I
n
o Central Processing u o
p
d
Unit (CPU) t d
u p u
u
l u l
t
e t e
Push Button
Program-
ming Device
Programming Device
Scan Cycle of PLC
Read input
The Scan is a
continuous and
Adjusts Run
output
sequential process Program
2. Before the PLC
The development of the PLC can be compared
analogously to the development of the Personal
Computer,
Before the PC what were the computing devices:
▶ Abacus
▶ Slide Rule
▶ Table of Logarithms
▶ Electronic Calculator
▶ Personal Computer (Desktop, Laptop, Mobile
Devices
2. Before the PLC
▶ Control Relays
2. Before the PLC
▶ Complexity,
▶ Costly
▶ Hardwiring,
▶ Logistical nightmare
▶ Troubleshooting problems
▶ Strict Maintenance routine
▶ Not easy to modify
▶ Etc, etc
2. Before the PLC
Control devices:
• Modular Configuration
• Fixed Configuration .
5. PLC – Configurations
PLCs are of two main configurations.
• Modular Configuration
• Fixed Configuration
Fixed Configuration
6. PLC versus PC
PLC
• Designed for extreme industrial
environments
• Can operation in high
temperature and humidity
• High immunity to noise.
• Integrated Command interpreter
(proprietary)
• No secondary memory like HDD
• Optimized for a Single task
PC
• Mainly for Data Processing & Calculation
• Optimized for Speed
• Not built for extreme enviroments
• Can be programmed in several languages
• Secondary Memory is Built in.
• Built for multitasks
7. Parts of a PLC
Basic parts of a PLC
Power Supply
Processor Module
CPU
Memory
Communication Interface.
HMI – Status
HMI – Programming
I/O Modules
Discrete/Digital Inputs Sections of a PLC module.
Analog Inputs (Courtesy: Mitsubishi Automation)
Output Modules
7. Parts of a PLC
(Courtesy: Hitachi)
7. Parts of a PLC
Power Supply
Usually, PLC power supplies require input The first step in estimating the load is to
from an AC power source; however, some determine how many modules are required
PLCs will accept a DC power source. Those and then compute the total current
that will accept requirement of these modules.
Most PLCs, however, require a 120 VAC or The following table lists the module types,
220 VAC power source, while a few current requirements for all inputs and
controllers will accept 24 VDC. outputs ON at the same time, and the
Since industrial facilities normally available power supplies for our
experience fluctuations in line voltage and programmable controller example.
frequency, a PLC power supply must be
able to tolerate a 10 to 15% variation in
line voltage conditions.
7. Parts of a PLC
Power Supply The first step in estimating the load is to determine how many modules are
required and then compute the total current requirement of these modules.
The following table lists the module types, current requirements for all
inputs and outputs ON at the same time, and the available power supplies for
our programmable controller example.
4
CPU (Controller/ Processor)
7. Parts of a PLC Memory
Typical Processor
Module
7. Parts of a PLC
Processor Module
CPU (Controller/ Processor)
Memory
I/O Module
Manufacturing,
Mining,
CNC
• The PLC uses ladder logic diagrams, the The scan time needed to complete a full cycle by
conversion from any existing relay logic to the controller gives the measure of the speed of
programmed logic is therefore simplified. execution for the PLC.
9. Ladder Logic