SlideShare a Scribd company logo
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

Plc basics
Plc   basicsPlc   basics
Programmable Logic Controllers Paper (PLC) SM54
Programmable Logic Controllers Paper (PLC) SM54Programmable Logic Controllers Paper (PLC) SM54
Programmable Logic Controllers Paper (PLC) SM54
Subhash 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 Roy
Dilip Kumar Ckt
 
Plc on cnc
Plc on cncPlc on cnc
Plc on cnc
AnjanaPaswan
 
PLC-converted.pdf
PLC-converted.pdfPLC-converted.pdf
PLC-converted.pdf
SaidAbouzeid1
 
module 1.pptx
module 1.pptxmodule 1.pptx
module 1.pptx
akshaya870130
 
Plc notes
Plc notesPlc notes
Plc notes
Nishant Bhamare
 
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 PLC
IRJET 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 m
GerbawYasgat
 
Plc 131022133632-phpapp02
Plc 131022133632-phpapp02Plc 131022133632-phpapp02
Plc 131022133632-phpapp02
Dhanabal sundar .M
 
Basic plc
Basic plcBasic plc
Basic plc
sundar sivam
 
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.pptx
MuhammadAfaq91
 
Session 07 - PLC Architecture
Session 07 - PLC ArchitectureSession 07 - PLC Architecture
Session 07 - PLC Architecture
VidyaIA
 
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 Controllers
Anchit Walia
 
PLC Architecture
PLC ArchitecturePLC Architecture
PLC Architecture
PranavAutomation
 
UNIT-IV.ppt
UNIT-IV.pptUNIT-IV.ppt

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

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

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

CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
shahdabdulbaset
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 

Recently uploaded (20)

CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 

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