SlideShare a Scribd company logo
1 of 21
Download to read offline
Introduction to PLCs
1
Intro to PLC
Learning objectivesLearning objectives
 Two ways to categorize a control systemy g y
 Overview of PLCs
 Differences between PLC, relay and PC-based
control
 Basic PLC architecture
2
Automatic Control in Manufacturing
Why Automatic Control is necessaryWhy Automatic Control is necessary
 To improve the quality and lower the cost of production.
 To increase the production rate.
 To attain optimal performance To attain optimal performance.
 To relieve the drudgery of many routine, repetitive manual
operations:
M t l t hi Metal matching sequences
 Product assembly lines
 Batch chemical processes
Profitability usually depends on productivity and automation is
a means towards greater productivity
3
Automatic Control System
Basic Elements
P bl Output
Input Sensors
Programmable
Logic Controller
Output
Actuators
Measurements
(Electrical signals)
Resultant
Actions
 Input Sensors: Convert physical phenomena (for example, position)
to electrical signal.
 Output Actuators: Convert electrical signal to a physical action for Output Actuators: Convert electrical signal to a physical action, for
example, air valve or motor.
 Programmable Logic Controller: Using the measurements,
calculates control actionscalculates control actions.
4
Programmable Logic Controllers
M j TMajor Types
 Programmable Logic Control (PLC)
 Developed initially out of Automotive Industry
 Distributed Control System (DCS)
 Employed in the Chemical Industry
DCS and PLC systems are merging into one device:DCS and PLC systems are merging into one device:
Programmable Electronic System (PES)
Our focus is on PLCs We will talk more about this shortly
5
Our focus is on PLCs. We will talk more about this shortly
Automatic Control System
Major Types of Sensors/ActuatorsMajor Types of Sensors/Actuators
 Discrete Control Systems:y
 Dominated by Discrete Sensors and Actuators:
 Take one of two values: Take one of two values:
 On/off, Open/Closed, running/Stopped, extend/retract
Analog Control System: Analog Control System:
 Dominated by Analog Sensors and Actuators
 Take an infinite number of values (continuous stream)
 Position, acceleration, temperature, flow
6
Automatic Control System
Continuous Vs Discrete ControlContinuous Vs. Discrete Control
 Most real programmable logic control systems are a combination
of continuous and discrete sensors and actuators.
Discrete:
Analog:
 Discrete elements:
i it it h ( ) proximity switches (sensors)
 control valve for air solenoid (actuators)
 Continuous (Analog) elements:
 air flow sensor
7
 command speed to fan motor controller
Automatic Control System
Type of ProcessType of Process
 Industrial Manufacturing processes are Industrial Manufacturing processes are
classified based on the behavior of the
actuator’s output:
 Continuous Process
 Material passes in a continuous stream through the
processing equipment:
 Steel Rolling Mill
8
Automatic Control System
Type of Process (Batch)Type of Process (Batch)
 Batch Process
 Actuators produce Finite quantities (batch) of materials The input Actuators produce Finite quantities (batch) of materials. The input
materials typically assume a defined order of processing actions
9
Automatic Control System
Type of Process (Discrete)Type of Process (Discrete)
 Discrete-Parts Manufacturing
 A specified quantity of materials moves as a unit (group of parts) between
workstations on an assembly line/conveyor belt Each unit has a unique id A unitworkstations, on an assembly line/conveyor belt. Each unit has a unique id. A unit
may be modified (drilled, painted etc) at a workstation. What is the output of the
actuators?
10
Programmable Logic Control
PLCPLC
 PLC – is an “Industrial” Computerp
 Hardware & Software adapted to Industrial Environment and
Electrical Technician
 Why Programmable Logic Control?y g g
 PLC is the work horse of industrial automation
 Production processes go through a fixed repetitive sequence of
operation with logical stepsp g p
 Electronic Relays were used prior to PLCs:
 Control systems were hard-wired using relays, timers and logical
units
 Control system had to be re-wired for new applications
 Inflexible and time consuming
 Resulted in product delays, high production costs…
11
PLC Overview
Output Device
D i
Data
Memory
Process actuators
Control Unit
Driver
Memory
Input Device
Driver
Program
Memory Process sensors
Programmable Module (PC)
12
PLC Overview
A PLC consists of 4 main parts:
 Program Memory: Stores instructions for logical control sequence Program Memory: Stores instructions for logical control sequence
 Data Memory: Stores status of switches, interlocks, past and
current values of data items
O t t D i H d / ft d i f i d t i l Output Devices: Hardware/software drivers for industrial process
actuators
 Solenoid switches, motors, valves
 Input Devices: Hardware/software drivers for industrial process
sensors
 Switch status sensors, proximity detectors, interlock settings … Switch status sensors, proximity detectors, interlock settings …
 Central Processing Unit: Brain of the PLC
13
PLC Components
Power Supply
Central
Processing
Unit (CPU)
Input
Section
Output
Section
Switches
Sensors
Smart Devices…
Motor Starters
Lights, Valves
Smart Devices…Unit (CPU)
Memory
Protects CPU from Real-world input
Programming Unit
Protects CPU from Real-world input
PLC Components
Central Processing Unit (CPU)Central Processing Unit (CPU)
 CPU CPU
 Contains one or more processors to control the PLC
 Handles communication with other components
Handles computations: executes OS manages memory monitors Handles computations: executes OS, manages memory, monitors
inputs, evaluates the user logic (“ladder logic”)
 Programming language: ladder logic
 Lab PLC CPU (Rockwell)
 Keyswitch is used to switch between different CPU modes
 Program Mode Program Mode
 Run Mode
 Remote Mode
Lab PLC
CPU ModesCPU Modes
 Program Mode: All outputs are forced to off Program Mode: All outputs are forced to off
condition regardless of their state in logic:
 Develop and download your program in memory Develop and download your program in memory
 Run Mode: PLC continuously scans and
executes your ladder logicexecutes your ladder logic
 Remote Mode: Allows you to remotely
control the CPU mode from your computer:control the CPU mode from your computer:
Switch between Program and Run modes
from your computero you co pute
16
PLC Components
MemoryMemory
 PLC Memory stores OS memory and application memory PLC Memory stores OS memory and application memory
 OS Memory: The OS is burned into ROM by manufacturer
and controls system software used to program PLC
ROM is non-volatile
 Application Memory:
 Stores status of inputs and outputs, i.e. I/O Image tables as patterns of 0p p , g p
and 1 (binary digits)
 Stores contents of variables in user programs: “timers”, “counters”
 Random Access Memory:y
 Your programs run/execute in the RAM.
 RAM is volatile – All data items in the RAM are lost if power is turned off
 Mode
PLC
Input/Output ModulesInput/Output Modules
 Input Module:
 Takes inputs from the outside world from any device (protects the Takes inputs from the outside world from any device (protects the
CPU)
 Converts real-world logic to CPU logic
250 VAC Device  (250 VAC Input Module)  low level DC Signal250 VAC Device  (250 VAC Input Module)  low-level DC Signal
Identify the input module in your lab PLC; How may inputs does it take?
 Output Module:
 Provides connection to the real-world output devices
O t t d l h dl DC AC lt t t t di it l Output modules can handle DC or AC voltages to output digital or
analog signals
Identify the output module in your lab PLC; How may output devices
d it t k ?does it take?
18
Basic PLC Architecture
19
Control System Hardware
A C iA Comparison
Characteristic Relay Systems Computers PLC Systems
Price per func.
Physical size
Oper. Speed
Fairly low
Bulky Fairly compact Compact
Slow Fairly fast Fast
Low Low
Industrial
environment
Design
Complicated
Excellent Fair to good Good
Time-consuming Simple
No Yes Yes
Usually simple
Co p cated
operations
Installation
Easy to change
function
No Yes Yes
Simple
Very difficult Usually simple Very simple
Time-consuming Simple to complex
function
Ease of
maintenance
Recovery from
power failure
Poor - many
contacts
Fair - several
custom boards
Good - few
std. cards
0 sec. 1 - 100 sec. 1 - 3 sec.
20
power failure
PLCs Vs. Computers
The architecture of the PLC is basically the same as of a general-purpose
computer.
Industrial Environment Can be placed in areas with substantial amount of:Industrial Environment - Can be placed in areas with substantial amount of:
Electrical noise
 Electromagnetic interference
 Mechanical vibration
 Extreme temperatures (140° F)
 Non-condensing humidity (95%)
Reliability – Built to run continuously for years. (Compare with Windows OS)
Easily maintained by plant technicians - Hardware interfaces easily connectedEasily maintained by plant technicians Hardware interfaces easily connected.
Modular and self-diagnosing interface circuits pinpoint malfunctions and are
easily replaced. Programmed using ladder logic, easy to learn.
Executes a single program in orderly and sequential fashion - Most medium to
l PLC h i i h ll b i lli i ilarge PLCs have instructions that allow subroutine calling, interrupt routines,
and bypass of certain instructions. Also, many PLCs can have modules that
implement higher-level languages, e.g., BASIC.
Recovers quickly from power failure – No boot-up procedure. Diagnostic self-
21
Recovers quickly from power failure No boot up procedure. Diagnostic self
tests and resumes running.

More Related Content

What's hot

Hierarchical control and industrial automation
Hierarchical control and industrial automationHierarchical control and industrial automation
Hierarchical control and industrial automationArpit Jain
 
Getting started with PLCs
Getting started with PLCsGetting started with PLCs
Getting started with PLCsplc_course
 
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)Řőmĕő Šhűbhąm
 
Dcs or plc
Dcs or plcDcs or plc
Dcs or plcCh Aamir
 
Plc scada details and comparison
Plc scada details and comparisonPlc scada details and comparison
Plc scada details and comparisontamannataneja
 
Plc and scada presentation
Plc and scada presentationPlc and scada presentation
Plc and scada presentationVikasKumar1628
 
Programmable logic Controller
Programmable logic ControllerProgrammable logic Controller
Programmable logic Controlleraksh07
 
Industrialautomation final
Industrialautomation finalIndustrialautomation final
Industrialautomation finalMISHAIL GUPTA
 
43542179 programmable-logic-controller-plc-ppt
43542179 programmable-logic-controller-plc-ppt43542179 programmable-logic-controller-plc-ppt
43542179 programmable-logic-controller-plc-pptParbat Rajpurohit
 
The basics of plc technology
The basics of plc technologyThe basics of plc technology
The basics of plc technologysakshij91
 
Factory Automation Full Overview
Factory Automation Full OverviewFactory Automation Full Overview
Factory Automation Full OverviewAutomation123
 

What's hot (20)

DCS
DCSDCS
DCS
 
Hierarchical control and industrial automation
Hierarchical control and industrial automationHierarchical control and industrial automation
Hierarchical control and industrial automation
 
Getting started with PLCs
Getting started with PLCsGetting started with PLCs
Getting started with PLCs
 
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
 
Dcs or plc
Dcs or plcDcs or plc
Dcs or plc
 
PLC Basic
PLC BasicPLC Basic
PLC Basic
 
Plc scada details and comparison
Plc scada details and comparisonPlc scada details and comparison
Plc scada details and comparison
 
Basic plc
Basic plcBasic plc
Basic plc
 
DCS Or PLC
DCS Or PLCDCS Or PLC
DCS Or PLC
 
Automation systems
Automation systemsAutomation systems
Automation systems
 
Plc and scada presentation
Plc and scada presentationPlc and scada presentation
Plc and scada presentation
 
Programmable logic Controller
Programmable logic ControllerProgrammable logic Controller
Programmable logic Controller
 
A study on PLC basic
A study on PLC basicA study on PLC basic
A study on PLC basic
 
Industrialautomation final
Industrialautomation finalIndustrialautomation final
Industrialautomation final
 
Plc description
Plc  descriptionPlc  description
Plc description
 
43542179 programmable-logic-controller-plc-ppt
43542179 programmable-logic-controller-plc-ppt43542179 programmable-logic-controller-plc-ppt
43542179 programmable-logic-controller-plc-ppt
 
PLC & scada
PLC & scada PLC & scada
PLC & scada
 
PLC SCADA
PLC SCADAPLC SCADA
PLC SCADA
 
The basics of plc technology
The basics of plc technologyThe basics of plc technology
The basics of plc technology
 
Factory Automation Full Overview
Factory Automation Full OverviewFactory Automation Full Overview
Factory Automation Full Overview
 

Similar to PLC Intro

Programmable Logic Controllers
Programmable Logic ControllersProgrammable Logic Controllers
Programmable Logic ControllersAnchit Walia
 
Plc presentation
Plc presentationPlc presentation
Plc presentationNits Sharma
 
1 introduction to plc and its programming-1
1 introduction to plc and its programming-11 introduction to plc and its programming-1
1 introduction to plc and its programming-1VishalGupta969
 
PLC and SCADA in Industrial Automation
PLC and SCADA in Industrial AutomationPLC and SCADA in Industrial Automation
PLC and SCADA in Industrial AutomationNikhil nnk
 
automation plc - scada
automation plc - scadaautomation plc - scada
automation plc - scadaSaif Akhtar
 
Industrial Automation EMERSON EDUARDO RODRIGUES
Industrial Automation EMERSON EDUARDO RODRIGUESIndustrial Automation EMERSON EDUARDO RODRIGUES
Industrial Automation EMERSON EDUARDO RODRIGUESEMERSON EDUARDO RODRIGUES
 
Chapter 4 plc programing(1) by m
Chapter 4 plc programing(1) by mChapter 4 plc programing(1) by m
Chapter 4 plc programing(1) by mGerbawYasgat
 
Introduction to PLC
Introduction to PLCIntroduction to PLC
Introduction to PLCVeerakumar S
 
PLC basic concepts
PLC  basic conceptsPLC  basic concepts
PLC basic conceptsYasir Hashmi
 
imp plc-presentation-140205031532-phpapp02
imp plc-presentation-140205031532-phpapp02imp plc-presentation-140205031532-phpapp02
imp plc-presentation-140205031532-phpapp02Haji Hussain
 
Programmable logic controllers
Programmable logic controllersProgrammable logic controllers
Programmable logic controllersphotoshop
 

Similar to PLC Intro (20)

Programmable Logic Controllers
Programmable Logic ControllersProgrammable Logic Controllers
Programmable Logic Controllers
 
PLC
PLCPLC
PLC
 
PLC General
PLC   GeneralPLC   General
PLC General
 
Plc presentation
Plc presentationPlc presentation
Plc presentation
 
1 introduction to plc and its programming-1
1 introduction to plc and its programming-11 introduction to plc and its programming-1
1 introduction to plc and its programming-1
 
First
First First
First
 
PLC and SCADA in Industrial Automation
PLC and SCADA in Industrial AutomationPLC and SCADA in Industrial Automation
PLC and SCADA in Industrial Automation
 
automation plc - scada
automation plc - scadaautomation plc - scada
automation plc - scada
 
Plc basics
Plc   basicsPlc   basics
Plc basics
 
plc-basics.pptx
plc-basics.pptxplc-basics.pptx
plc-basics.pptx
 
Industrial Automation EMERSON EDUARDO RODRIGUES
Industrial Automation EMERSON EDUARDO RODRIGUESIndustrial Automation EMERSON EDUARDO RODRIGUES
Industrial Automation EMERSON EDUARDO RODRIGUES
 
Chapter 4 plc programing(1) by m
Chapter 4 plc programing(1) by mChapter 4 plc programing(1) by m
Chapter 4 plc programing(1) by m
 
Introduction to PLC
Introduction to PLCIntroduction to PLC
Introduction to PLC
 
PLC basic concepts
PLC  basic conceptsPLC  basic concepts
PLC basic concepts
 
Industrial Automation
Industrial AutomationIndustrial Automation
Industrial Automation
 
imp plc-presentation-140205031532-phpapp02
imp plc-presentation-140205031532-phpapp02imp plc-presentation-140205031532-phpapp02
imp plc-presentation-140205031532-phpapp02
 
Programmable logic controllers
Programmable logic controllersProgrammable logic controllers
Programmable logic controllers
 
Automation(plc&scada)
Automation(plc&scada)Automation(plc&scada)
Automation(plc&scada)
 
plc introduction
plc introductionplc introduction
plc introduction
 
Finalppt
FinalpptFinalppt
Finalppt
 

Recently uploaded

HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 

Recently uploaded (20)

HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 

PLC Intro

  • 2. Intro to PLC Learning objectivesLearning objectives  Two ways to categorize a control systemy g y  Overview of PLCs  Differences between PLC, relay and PC-based control  Basic PLC architecture 2
  • 3. Automatic Control in Manufacturing Why Automatic Control is necessaryWhy Automatic Control is necessary  To improve the quality and lower the cost of production.  To increase the production rate.  To attain optimal performance To attain optimal performance.  To relieve the drudgery of many routine, repetitive manual operations: M t l t hi Metal matching sequences  Product assembly lines  Batch chemical processes Profitability usually depends on productivity and automation is a means towards greater productivity 3
  • 4. Automatic Control System Basic Elements P bl Output Input Sensors Programmable Logic Controller Output Actuators Measurements (Electrical signals) Resultant Actions  Input Sensors: Convert physical phenomena (for example, position) to electrical signal.  Output Actuators: Convert electrical signal to a physical action for Output Actuators: Convert electrical signal to a physical action, for example, air valve or motor.  Programmable Logic Controller: Using the measurements, calculates control actionscalculates control actions. 4
  • 5. Programmable Logic Controllers M j TMajor Types  Programmable Logic Control (PLC)  Developed initially out of Automotive Industry  Distributed Control System (DCS)  Employed in the Chemical Industry DCS and PLC systems are merging into one device:DCS and PLC systems are merging into one device: Programmable Electronic System (PES) Our focus is on PLCs We will talk more about this shortly 5 Our focus is on PLCs. We will talk more about this shortly
  • 6. Automatic Control System Major Types of Sensors/ActuatorsMajor Types of Sensors/Actuators  Discrete Control Systems:y  Dominated by Discrete Sensors and Actuators:  Take one of two values: Take one of two values:  On/off, Open/Closed, running/Stopped, extend/retract Analog Control System: Analog Control System:  Dominated by Analog Sensors and Actuators  Take an infinite number of values (continuous stream)  Position, acceleration, temperature, flow 6
  • 7. Automatic Control System Continuous Vs Discrete ControlContinuous Vs. Discrete Control  Most real programmable logic control systems are a combination of continuous and discrete sensors and actuators. Discrete: Analog:  Discrete elements: i it it h ( ) proximity switches (sensors)  control valve for air solenoid (actuators)  Continuous (Analog) elements:  air flow sensor 7  command speed to fan motor controller
  • 8. Automatic Control System Type of ProcessType of Process  Industrial Manufacturing processes are Industrial Manufacturing processes are classified based on the behavior of the actuator’s output:  Continuous Process  Material passes in a continuous stream through the processing equipment:  Steel Rolling Mill 8
  • 9. Automatic Control System Type of Process (Batch)Type of Process (Batch)  Batch Process  Actuators produce Finite quantities (batch) of materials The input Actuators produce Finite quantities (batch) of materials. The input materials typically assume a defined order of processing actions 9
  • 10. Automatic Control System Type of Process (Discrete)Type of Process (Discrete)  Discrete-Parts Manufacturing  A specified quantity of materials moves as a unit (group of parts) between workstations on an assembly line/conveyor belt Each unit has a unique id A unitworkstations, on an assembly line/conveyor belt. Each unit has a unique id. A unit may be modified (drilled, painted etc) at a workstation. What is the output of the actuators? 10
  • 11. Programmable Logic Control PLCPLC  PLC – is an “Industrial” Computerp  Hardware & Software adapted to Industrial Environment and Electrical Technician  Why Programmable Logic Control?y g g  PLC is the work horse of industrial automation  Production processes go through a fixed repetitive sequence of operation with logical stepsp g p  Electronic Relays were used prior to PLCs:  Control systems were hard-wired using relays, timers and logical units  Control system had to be re-wired for new applications  Inflexible and time consuming  Resulted in product delays, high production costs… 11
  • 12. PLC Overview Output Device D i Data Memory Process actuators Control Unit Driver Memory Input Device Driver Program Memory Process sensors Programmable Module (PC) 12
  • 13. PLC Overview A PLC consists of 4 main parts:  Program Memory: Stores instructions for logical control sequence Program Memory: Stores instructions for logical control sequence  Data Memory: Stores status of switches, interlocks, past and current values of data items O t t D i H d / ft d i f i d t i l Output Devices: Hardware/software drivers for industrial process actuators  Solenoid switches, motors, valves  Input Devices: Hardware/software drivers for industrial process sensors  Switch status sensors, proximity detectors, interlock settings … Switch status sensors, proximity detectors, interlock settings …  Central Processing Unit: Brain of the PLC 13
  • 14. PLC Components Power Supply Central Processing Unit (CPU) Input Section Output Section Switches Sensors Smart Devices… Motor Starters Lights, Valves Smart Devices…Unit (CPU) Memory Protects CPU from Real-world input Programming Unit Protects CPU from Real-world input
  • 15. PLC Components Central Processing Unit (CPU)Central Processing Unit (CPU)  CPU CPU  Contains one or more processors to control the PLC  Handles communication with other components Handles computations: executes OS manages memory monitors Handles computations: executes OS, manages memory, monitors inputs, evaluates the user logic (“ladder logic”)  Programming language: ladder logic  Lab PLC CPU (Rockwell)  Keyswitch is used to switch between different CPU modes  Program Mode Program Mode  Run Mode  Remote Mode
  • 16. Lab PLC CPU ModesCPU Modes  Program Mode: All outputs are forced to off Program Mode: All outputs are forced to off condition regardless of their state in logic:  Develop and download your program in memory Develop and download your program in memory  Run Mode: PLC continuously scans and executes your ladder logicexecutes your ladder logic  Remote Mode: Allows you to remotely control the CPU mode from your computer:control the CPU mode from your computer: Switch between Program and Run modes from your computero you co pute 16
  • 17. PLC Components MemoryMemory  PLC Memory stores OS memory and application memory PLC Memory stores OS memory and application memory  OS Memory: The OS is burned into ROM by manufacturer and controls system software used to program PLC ROM is non-volatile  Application Memory:  Stores status of inputs and outputs, i.e. I/O Image tables as patterns of 0p p , g p and 1 (binary digits)  Stores contents of variables in user programs: “timers”, “counters”  Random Access Memory:y  Your programs run/execute in the RAM.  RAM is volatile – All data items in the RAM are lost if power is turned off  Mode
  • 18. PLC Input/Output ModulesInput/Output Modules  Input Module:  Takes inputs from the outside world from any device (protects the Takes inputs from the outside world from any device (protects the CPU)  Converts real-world logic to CPU logic 250 VAC Device  (250 VAC Input Module)  low level DC Signal250 VAC Device  (250 VAC Input Module)  low-level DC Signal Identify the input module in your lab PLC; How may inputs does it take?  Output Module:  Provides connection to the real-world output devices O t t d l h dl DC AC lt t t t di it l Output modules can handle DC or AC voltages to output digital or analog signals Identify the output module in your lab PLC; How may output devices d it t k ?does it take? 18
  • 20. Control System Hardware A C iA Comparison Characteristic Relay Systems Computers PLC Systems Price per func. Physical size Oper. Speed Fairly low Bulky Fairly compact Compact Slow Fairly fast Fast Low Low Industrial environment Design Complicated Excellent Fair to good Good Time-consuming Simple No Yes Yes Usually simple Co p cated operations Installation Easy to change function No Yes Yes Simple Very difficult Usually simple Very simple Time-consuming Simple to complex function Ease of maintenance Recovery from power failure Poor - many contacts Fair - several custom boards Good - few std. cards 0 sec. 1 - 100 sec. 1 - 3 sec. 20 power failure
  • 21. PLCs Vs. Computers The architecture of the PLC is basically the same as of a general-purpose computer. Industrial Environment Can be placed in areas with substantial amount of:Industrial Environment - Can be placed in areas with substantial amount of: Electrical noise  Electromagnetic interference  Mechanical vibration  Extreme temperatures (140° F)  Non-condensing humidity (95%) Reliability – Built to run continuously for years. (Compare with Windows OS) Easily maintained by plant technicians - Hardware interfaces easily connectedEasily maintained by plant technicians Hardware interfaces easily connected. Modular and self-diagnosing interface circuits pinpoint malfunctions and are easily replaced. Programmed using ladder logic, easy to learn. Executes a single program in orderly and sequential fashion - Most medium to l PLC h i i h ll b i lli i ilarge PLCs have instructions that allow subroutine calling, interrupt routines, and bypass of certain instructions. Also, many PLCs can have modules that implement higher-level languages, e.g., BASIC. Recovers quickly from power failure – No boot-up procedure. Diagnostic self- 21 Recovers quickly from power failure No boot up procedure. Diagnostic self tests and resumes running.