SlideShare a Scribd company logo
1 of 30
PROGRAMMING LOGIC
CONTROLLERS
Unit 4
Programmable Logic Controllers – Basic Structure
– Input / Output Processing – Programming –
Mnemonics – Timers, Internal relays and counters
– Shift Registers – Master and Jump Controls –
Data Handling – Analogs Input / Output –
Selection of a PLC.
2
Introduction
A Programmable logic controller is a solid
state digital electronic device, designed for
use in an industrial environment.
It is a microprocessor based specialized
computer that carries out control functions of
many functions of many types and levels of
complexity.
3
Basic Structure:
The three major parts of PLC are
i. Central processing unit,
ii. Programmer / Monitor, and
iii. Input / Output modules.
4
5
Central Processing Unit (CPU)
i. Microprocessor: It carries out mathematical
and logical operations.
ii. Memory: The area of the CPU in which data and
information is stored and retrieved. It holds the
system software and user program.
iii. Power supply: The electrical supply that
converts Alternating Current (AC) line voltage to
various operational DC values.
6
Various Input and Output Devices
Digital / Discrete Input Devices:
i. Mechanical switches,
ii. Proximity switches,
iii. Photo elective switches,
iv. Encoders,
v. Temperature switches,
vi. Pressure switches.
7
Analog Input Devices:
i. Potentiometer,
ii. Linear variable differential transformer,
iii. Strain gauges,
iv. Temperature sensors,
v. Pressure sensors,
vi. Level detectors,
vii. Flow measurement devies.
8
Output devices:
i. Contactors,
ii. Directional control valves,
iii. Motors, and
iv. Stepper motors.
9
PLCs Vs Computers
i. The application for PLC is for industrial
environment with wide variation in atmosphere
conditions and PLC is very rigid and compact.
ii. PLC programming can be accomplished in the
ladder logic by an electrician and technician
who have no much knowledge hardware and
softwares, whereas the computers will require
person with knowledge of hardware and
software.
10
iii. PLC deal with input/output in the form of sensors,
switches and actuators etc, through appropriate
interface units and computer receives inputs from
keyboard and gives output to a screen or printer.
iv. The power supply in industrial environment is
shared by many devices and therefore there can be
interruption of supply. Such disruption of supply
will normally not affect the program and storage of
data in PLC. In a computers such loss of data could
happen.
11
PLC Programming
• Ladder diagram is commonly used
programming method evolved from electrical
relay circuits in the form of graphical
language.
• It is a network of contacts and coils are
arranged on rungs between two vertical lines
called rails.
12
Following are the symbols used in ladder diagram.
13
Proper construction of PLC adder
diagrams
i. No vertical contacts are allowed.
ii. A coil must be inserted at the end of the
rung.
iii. All contacts must run horizontally.
iv. Only one output may be connected to a
group of contacts.
v. Flow must be from left to right.
14
Improper PLC ladder diagram Proper PLC ladder diagram
15
Process Scanning Consideration
• PLCs function by scanning their operational
programs.
• Each PLC operational cycle is made up of three
separate parts:
i. Input scan
ii. Program scan and
iii. Output scan
• Total time for one complete program scan is a
function of processor speed and length of the user
program.
16
Operational cycle
17
Process scan detailed
Input
Terminals
Input
status
table
User
program
Output
status
table
Output
terminals
INPUT SCAN
PROGRAM
SCAN
OUTPUT SCAN
18
LOGIC GATES
19
AND Logic
20
OR Logic
21
NOT Logic
22
NAND Logic
23
NOR Logic
24
EXOR Logic
25
Latch circuit
• A ladder latch circuit facilitates to hold an
output energized, even when the input
ceases.
• The output coil maintains its status until a
different conditions occurs which is used to
reset the coil to OFF.
26
27
Counters
• Conventional counters replaced by the PLC
counter function include mechanical,
electrical and electronic types.
Types of counters:
1. Up counter
2. Down counter
3. Up/down counter
28
29
Up/down counter
30

More Related Content

Similar to Unit 4.ppt

Programmable Logic Controllers Paper (PLC) SM54
Programmable Logic Controllers Paper (PLC) SM54Programmable Logic Controllers Paper (PLC) SM54
Programmable Logic Controllers Paper (PLC) SM54Subhash Mahla
 
Presentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar RoyPresentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar RoyDilip Kumar Ckt
 
PLC programmable logic controller (MSME)
PLC programmable logic controller (MSME) PLC programmable logic controller (MSME)
PLC programmable logic controller (MSME) ankit kaim
 
Programmable Logic Controller (PLC Part 2)
Programmable Logic Controller (PLC Part 2)Programmable Logic Controller (PLC Part 2)
Programmable Logic Controller (PLC Part 2)Priyanshu
 
Simulation and Modelling of 3-Floor Elevator System using PLC
Simulation and Modelling of 3-Floor Elevator System using PLCSimulation and Modelling of 3-Floor Elevator System using PLC
Simulation and Modelling of 3-Floor Elevator System using PLCIRJET Journal
 
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
 
Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)Mohamed Atef
 
CAM PRESENTATION AFAQ, DANISH.pptx
CAM PRESENTATION AFAQ, DANISH.pptxCAM PRESENTATION AFAQ, DANISH.pptx
CAM PRESENTATION AFAQ, DANISH.pptxMuhammadAfaq91
 
Session 07 - PLC Architecture
Session 07 - PLC ArchitectureSession 07 - PLC Architecture
Session 07 - PLC ArchitectureVidyaIA
 
Basics and applications of programmable logic controller (plc)
Basics and applications of programmable logic controller (plc)Basics and applications of programmable logic controller (plc)
Basics and applications of programmable logic controller (plc)Ali Altahir
 
Programmable Logic Controllers
Programmable Logic ControllersProgrammable Logic Controllers
Programmable Logic ControllersAnchit Walia
 

Similar to Unit 4.ppt (20)

Plc basics
Plc   basicsPlc   basics
Plc basics
 
Programmable Logic Controllers Paper (PLC) SM54
Programmable Logic Controllers Paper (PLC) SM54Programmable Logic Controllers Paper (PLC) SM54
Programmable Logic Controllers Paper (PLC) SM54
 
Presentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar RoyPresentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar Roy
 
Plc on cnc
Plc on cncPlc on cnc
Plc on cnc
 
PLC-converted.pdf
PLC-converted.pdfPLC-converted.pdf
PLC-converted.pdf
 
module 1.pptx
module 1.pptxmodule 1.pptx
module 1.pptx
 
Plc notes
Plc notesPlc notes
Plc notes
 
PLC programmable logic controller (MSME)
PLC programmable logic controller (MSME) PLC programmable logic controller (MSME)
PLC programmable logic controller (MSME)
 
Programmable Logic Controller (PLC Part 2)
Programmable Logic Controller (PLC Part 2)Programmable Logic Controller (PLC Part 2)
Programmable Logic Controller (PLC Part 2)
 
Simulation and Modelling of 3-Floor Elevator System using PLC
Simulation and Modelling of 3-Floor Elevator System using PLCSimulation and Modelling of 3-Floor Elevator System using PLC
Simulation and Modelling of 3-Floor Elevator System using PLC
 
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
 
Plc 131022133632-phpapp02
Plc 131022133632-phpapp02Plc 131022133632-phpapp02
Plc 131022133632-phpapp02
 
Basic plc
Basic plcBasic plc
Basic plc
 
Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)
 
CAM PRESENTATION AFAQ, DANISH.pptx
CAM PRESENTATION AFAQ, DANISH.pptxCAM PRESENTATION AFAQ, DANISH.pptx
CAM PRESENTATION AFAQ, DANISH.pptx
 
Session 07 - PLC Architecture
Session 07 - PLC ArchitectureSession 07 - PLC Architecture
Session 07 - PLC Architecture
 
Basics and applications of programmable logic controller (plc)
Basics and applications of programmable logic controller (plc)Basics and applications of programmable logic controller (plc)
Basics and applications of programmable logic controller (plc)
 
Programmable Logic Controllers
Programmable Logic ControllersProgrammable Logic Controllers
Programmable Logic Controllers
 
PLC Architecture
PLC ArchitecturePLC Architecture
PLC Architecture
 
UNIT-IV.ppt
UNIT-IV.pptUNIT-IV.ppt
UNIT-IV.ppt
 

More from sharonmarishkawilfre (10)

Unit 2.ppt
Unit 2.pptUnit 2.ppt
Unit 2.ppt
 
ME6702_Unit I INTRODUCTION.pptx
ME6702_Unit I INTRODUCTION.pptxME6702_Unit I INTRODUCTION.pptx
ME6702_Unit I INTRODUCTION.pptx
 
Phase diagrams.ppt
Phase diagrams.pptPhase diagrams.ppt
Phase diagrams.ppt
 
IRON- IRON CARBIDE DIAGRAM.ppt
IRON- IRON CARBIDE DIAGRAM.pptIRON- IRON CARBIDE DIAGRAM.ppt
IRON- IRON CARBIDE DIAGRAM.ppt
 
EMM lecture.ppt
EMM lecture.pptEMM lecture.ppt
EMM lecture.ppt
 
Presentation_advance_1n.pptx
Presentation_advance_1n.pptxPresentation_advance_1n.pptx
Presentation_advance_1n.pptx
 
calabration-principles-chapter1.pdf
calabration-principles-chapter1.pdfcalabration-principles-chapter1.pdf
calabration-principles-chapter1.pdf
 
Crystal_Structure_PPT.pptx
Crystal_Structure_PPT.pptxCrystal_Structure_PPT.pptx
Crystal_Structure_PPT.pptx
 
UNITIIIEG.ppt
UNITIIIEG.pptUNITIIIEG.ppt
UNITIIIEG.ppt
 
I-_UNIT-_CURVES [Autosaved].pptx
I-_UNIT-_CURVES [Autosaved].pptxI-_UNIT-_CURVES [Autosaved].pptx
I-_UNIT-_CURVES [Autosaved].pptx
 

Recently uploaded

School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxchumtiyababu
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 

Recently uploaded (20)

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 

Unit 4.ppt

  • 2. Programmable Logic Controllers – Basic Structure – Input / Output Processing – Programming – Mnemonics – Timers, Internal relays and counters – Shift Registers – Master and Jump Controls – Data Handling – Analogs Input / Output – Selection of a PLC. 2
  • 3. Introduction A Programmable logic controller is a solid state digital electronic device, designed for use in an industrial environment. It is a microprocessor based specialized computer that carries out control functions of many functions of many types and levels of complexity. 3
  • 4. Basic Structure: The three major parts of PLC are i. Central processing unit, ii. Programmer / Monitor, and iii. Input / Output modules. 4
  • 5. 5
  • 6. Central Processing Unit (CPU) i. Microprocessor: It carries out mathematical and logical operations. ii. Memory: The area of the CPU in which data and information is stored and retrieved. It holds the system software and user program. iii. Power supply: The electrical supply that converts Alternating Current (AC) line voltage to various operational DC values. 6
  • 7. Various Input and Output Devices Digital / Discrete Input Devices: i. Mechanical switches, ii. Proximity switches, iii. Photo elective switches, iv. Encoders, v. Temperature switches, vi. Pressure switches. 7
  • 8. Analog Input Devices: i. Potentiometer, ii. Linear variable differential transformer, iii. Strain gauges, iv. Temperature sensors, v. Pressure sensors, vi. Level detectors, vii. Flow measurement devies. 8
  • 9. Output devices: i. Contactors, ii. Directional control valves, iii. Motors, and iv. Stepper motors. 9
  • 10. PLCs Vs Computers i. The application for PLC is for industrial environment with wide variation in atmosphere conditions and PLC is very rigid and compact. ii. PLC programming can be accomplished in the ladder logic by an electrician and technician who have no much knowledge hardware and softwares, whereas the computers will require person with knowledge of hardware and software. 10
  • 11. iii. PLC deal with input/output in the form of sensors, switches and actuators etc, through appropriate interface units and computer receives inputs from keyboard and gives output to a screen or printer. iv. The power supply in industrial environment is shared by many devices and therefore there can be interruption of supply. Such disruption of supply will normally not affect the program and storage of data in PLC. In a computers such loss of data could happen. 11
  • 12. PLC Programming • Ladder diagram is commonly used programming method evolved from electrical relay circuits in the form of graphical language. • It is a network of contacts and coils are arranged on rungs between two vertical lines called rails. 12
  • 13. Following are the symbols used in ladder diagram. 13
  • 14. Proper construction of PLC adder diagrams i. No vertical contacts are allowed. ii. A coil must be inserted at the end of the rung. iii. All contacts must run horizontally. iv. Only one output may be connected to a group of contacts. v. Flow must be from left to right. 14
  • 15. Improper PLC ladder diagram Proper PLC ladder diagram 15
  • 16. Process Scanning Consideration • PLCs function by scanning their operational programs. • Each PLC operational cycle is made up of three separate parts: i. Input scan ii. Program scan and iii. Output scan • Total time for one complete program scan is a function of processor speed and length of the user program. 16
  • 26. Latch circuit • A ladder latch circuit facilitates to hold an output energized, even when the input ceases. • The output coil maintains its status until a different conditions occurs which is used to reset the coil to OFF. 26
  • 27. 27
  • 28. Counters • Conventional counters replaced by the PLC counter function include mechanical, electrical and electronic types. Types of counters: 1. Up counter 2. Down counter 3. Up/down counter 28
  • 29. 29