chapter 10 programmable logic controller
TRANSCRIPT
![Page 1: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/1.jpg)
1
PLC: Programmable Logical Controller
CONTENTS
1. What is PLC
2. Electrical Ladder Logic Diagrams
3. Software Ladder Logic Diagrams
4. PLC Implementation
5. An example
Adapted from www.engr.usask.ca/classes/ME/.../note%208%20PLC%20introduction.pp
![Page 2: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/2.jpg)
2
1. PLC - Introduction
What does PLC stand for?
PLC - programmable logic controller PLC implements logic control functions by means
of a program PLC are basically microprocessor devices that are
used in industry to control plant operations
![Page 3: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/3.jpg)
3
1. PLC - Introduction
Features
![Page 4: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/4.jpg)
4
1. PLC - Introduction
Features
![Page 5: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/5.jpg)
5
1. PLC - Introduction
PLCs
![Page 6: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/6.jpg)
6
1. PLC - Introduction
An application example 1: Gate Control
PLC can sense a vehicle at the entrance or exit, and open and close the gate automatically
The current vehicle count is easily determined by programming a simple counter
![Page 7: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/7.jpg)
7
1. PLC - Introduction
An application example 2: Conveyor System
PLC can be used to start/stop latching logic for motor control
Counters can be used for monitoring product amounts
![Page 8: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/8.jpg)
8
1. PLC - Introduction
![Page 9: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/9.jpg)
9
1. PLC - Introduction
![Page 10: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/10.jpg)
10
1. PLC - Introduction
![Page 11: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/11.jpg)
11
1. PLC - Introduction
![Page 12: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/12.jpg)
12
1. PLC - Introduction
![Page 13: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/13.jpg)
13
1. PLC - IntroductionComparing traditional and programmable control systems - 1
![Page 14: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/14.jpg)
14
1. PLC - Introduction
Comparing traditional and programmable control ystems - 2
In traditional control, the switches S1, S2 and S3 must close for K1 to be turned on - the wiring makes the rule @ “hard wired”
In PLC systems, the program is written to perform the logic “when S1 is closed AND S2 is closed AND S3 is closed, THEN turn on K1” - the program makes the rule
It is much simpler to change program then wiring!
![Page 15: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/15.jpg)
15
1. PLC - Introduction
How does a PLC differ from a computer?
A computer is optimized for calculation and display tasks A computer is programmed by specialists A PLC is designed for (logic) control and regulation tasks A PLC is programmed by non-specialists A PLC is well adapted to industrial environment
![Page 16: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/16.jpg)
16
1. PLC - Introduction
Why are PLCs so common?
They are cost-effective They are flexible, reliable and compact They have significant advantages over traditional
control systems based on relay or pneumatics
![Page 17: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/17.jpg)
17
1. PLC - Introduction
Where are PLCs used?
In every industry where automation is involved, from individual machines to whole processes
![Page 18: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/18.jpg)
18
1. PLC - Introduction
What tasks do PLCs perform?
The logic control tasks such as interlocking, sequencing, timing and counting (previously undertaken with relays or pneumatics)
In addition, PLCs can perform a variety of calculation, communication and monitoring tasks
![Page 19: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/19.jpg)
19
Inputs
Outputs & Power Supply
Com
mun
icat
ion
Ports
(RS-
485)
1. PLC - Introduction
![Page 20: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/20.jpg)
lecture note 9 PLC 20
1. PLC - IntroductionStructure of a PLC
![Page 21: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/21.jpg)
21
1. PLC - Introduction
The PLC processor
![Page 22: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/22.jpg)
22
1. PLC - Introduction
PLC Input/Output Devices
![Page 23: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/23.jpg)
23
1. PLC - Introduction
PLC Input Devices
Push buttons Switches (limit switches, level switches, etc.) Sensors ...
![Page 24: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/24.jpg)
24
1. PLC - Introduction
PLC Output Devices
Relay contacts Solenoid valves Signal devices (such as lamps, alarms, etc.) Motors ...
![Page 25: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/25.jpg)
25
1. PLC - Introduction
Programming terminal
![Page 26: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/26.jpg)
26
1. PLC - Introduction
Programming is done through programming terminal
Programming terminal translates engineering language (logic control) to machine language (binary code)
![Page 27: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/27.jpg)
27
1. PLC - Introduction
Programming through standard computer Most PLC manufacturers offer software packages
that allow a standard computer to be used as a programming terminal
![Page 28: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/28.jpg)
28
1. PLC - Introduction
Programming through standard computer
![Page 29: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/29.jpg)
29
1. PLC - Introduction
Relating the program to inputs and outputs The CPU reads the data from the inputs The program in the CPU uses the inputs to
evaluate the control logic. As the program runs, the CPU updates the data
The CPU writes the data to the output
![Page 30: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/30.jpg)
30
1. PLC - IntroductionRelating the program to inputs and outputs
![Page 31: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/31.jpg)
31
1. PLC - Introduction
Data Flow in the PLC
![Page 32: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/32.jpg)
32
1. PLC - Introduction One of the advantages of PLC is that it can be programmed by
non-specialists
Program can be written either in the form of a
statement list: a set of mnemonic instructions representing a function of the CPU
or a
ladder diagram: a graphical language resembling the
electrical relay diagrams
![Page 33: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/33.jpg)
33
1. PLC - Introduction
statement list
![Page 34: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/34.jpg)
34
1. PLC - Introduction
Ladder diagram
![Page 35: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/35.jpg)
35
1. PLC - Introduction
Relay Ladder schematic diagram
![Page 36: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/36.jpg)
36
1. PLC - Introduction
Programming symbols and terminology
![Page 37: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/37.jpg)
37
1. PLC - Introduction
Ladder equivalent of electrical circuits
![Page 38: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/38.jpg)
38
1. PLC - Introduction
Ladder equivalent of electrical circuits
![Page 39: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/39.jpg)
39
1. PLC - Introduction
Ladder equivalent of electrical circuits
![Page 40: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/40.jpg)
40
1. PLC - Introduction
Ladder equivalent of electrical circuits
![Page 41: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/41.jpg)
41
1. PLC - Introduction
Graph type
![Page 42: Chapter 10 Programmable Logic Controller](https://reader035.vdocuments.site/reader035/viewer/2022081420/577cceeb1a28ab9e788e7754/html5/thumbnails/42.jpg)
42
1. PLC - Introduction
Selection
1. The physical size of the PLC and its functionality.
2. The type and number of I/O modules.