Programmable Logic Controller and ladder logic programming
-
Upload
seema-vishwakarma -
Category
Business
-
view
6.276 -
download
4
description
Transcript of Programmable Logic Controller and ladder logic programming
![Page 1: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/1.jpg)
Introduction to Programmable
Logic Controllersand Ladder Logic
![Page 2: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/2.jpg)
Welcome
The purpose of this Presentation is to give you a very simple look Programmable Logic Controllers and its programming using Ladder Logic.
There is no need for you to be familiar in any way with this field. The only requirement is that you
enter with an open mind.
![Page 3: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/3.jpg)
To begin with..
What is
automation?
![Page 4: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/4.jpg)
You may have come across the word “automated” very usually!
![Page 5: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/5.jpg)
Automation is the use of machines, control systems and information technologies to monitor and control the production.
In other words, an automated system is any system that require minimum or no human intervention.
![Page 6: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/6.jpg)
Automation has made our life extremely simple.
![Page 7: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/7.jpg)
Earlier, processes were carried out by operator, hence were much prone to human errors.
![Page 8: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/8.jpg)
So we can imply that with Industrial control, factory automation, and PLC (if are done well), we can save a lot of time, materials, energy, and money.
![Page 9: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/9.jpg)
Where do we begin?
![Page 10: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/10.jpg)
Let’s recall the story of an explorer in Africa who asked the native tribesman,
![Page 11: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/11.jpg)
How does one eat a huge animal like an elephant?"
The tribesman looked at the explorer in astonishment and replied, "We eat it just like
everything else, one bite at a time."
![Page 12: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/12.jpg)
Simple as it is, industrial control is comprised of many smaller circuits. By exploring and learning simple smaller circuits, you can learn to build a complete automated system.
![Page 13: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/13.jpg)
Programmable logic controllers
Lets Start With…
What is
![Page 14: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/14.jpg)
a small computer with a built-in operating system which monitor inputs and other variable values, make decisions based on a stored program, and control outputs to automate a process or machine.
Programmable logic controllersWhat is
![Page 15: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/15.jpg)
Well, that was simple isn’t it ?
Lets put it in another way..
![Page 16: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/16.jpg)
A PLC is similar to a computer which is designed to be programmed once, and run repeatedly as needed.
![Page 17: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/17.jpg)
Elements of PLC
Let’s have al look at..
![Page 18: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/18.jpg)
Input ModulesSenses the input signal, isolates it and converts it to DC level.
![Page 19: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/19.jpg)
Central Processor Unit (CPU)
microprocessor system that contains the system memory and its decision making unit very similar to that of a computer’s CPU.
Input ModulesSenses the input signal, isolates it and converts it to DC level.
![Page 20: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/20.jpg)
Output Modulereceives the convert control signals from the CPU and them converts them into digital or analog values that can be used to control various output devices.
Central Processor Unit (CPU)
microprocessor system that contains the system memory and its decision making unit very similar to that of a computer’s CPU.
Input ModulesSenses the input signal, isolates it and converts it to DC level.
![Page 21: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/21.jpg)
Programming Device Personal computer or a Laptop
And Communication Cable
Output Modulereceives the convert control signals from the CPU and them converts them into digital or analog values that can be used to control various output devices.
Central Processor Unit (CPU)
microprocessor system that contains the system memory and its decision making unit very similar to that of a computer’s CPU.
Input ModulesSenses the input signal, isolates it and converts it to DC level.
![Page 22: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/22.jpg)
PLC scanWhat is a
![Page 23: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/23.jpg)
Reads Inputs
Execute Programs
Diagnostics & Communication
Updates Outputs
PLC scan
![Page 24: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/24.jpg)
PLC scan
![Page 25: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/25.jpg)
Programming PLC
![Page 26: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/26.jpg)
The first and still most popular programming language used with PLC is Ladder Logic Programming (LAD).
![Page 27: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/27.jpg)
They are called "ladder" diagrams because they resemble a ladder,
with two vertical rails (supply power) and as many "rungs"
(horizontal lines).
The first and still most popular programming language used with PLC is Ladder Logic Programming (LAD).
![Page 28: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/28.jpg)
Basic Ladder Logic Symbols
Normally Open (NO) contactPasses power (on) when coil driving the contact is on.
Contacts
![Page 29: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/29.jpg)
Normally Closed (NC) contactPasses power (on) when coil driving the contact is off.
Basic Ladder Logic Symbols
Normally Open (NO) contactPasses power (on) when coil driving the contact is on.
Contacts
![Page 30: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/30.jpg)
Output or CoilWhen power flows through the Coils via contacts they are energized.
Basic Ladder Logic Symbols
![Page 31: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/31.jpg)
Schematic of ladder diagram
![Page 32: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/32.jpg)
Selecting a PLC
Criteria
• Number of logical inputs and outputs.• Memory• Number of special I/O modules• Scan Time• Communications• Software
![Page 33: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/33.jpg)
Functional Operation
AND OperationOR Operation
NOT Operation
![Page 34: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/34.jpg)
Lets have a look at their truth table and Ladder Logic diagram
![Page 35: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/35.jpg)
35
AND Operation
Both inputs S4 and S5 must be true (1) in order for the output L3 to be true (1).
Ladder diagram
![Page 36: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/36.jpg)
OR Operation
Ladder diagram
Either input S1 or S2 is true (1), or both are true, then the output L2 is true (1).
![Page 37: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/37.jpg)
37
NOT Operation
If input S1 is be true (1), then the output L1 is true (0) or when A is (0), output C is 1.
Ladder diagram
![Page 38: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/38.jpg)
Programming Functions
TimersCounters
![Page 39: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/39.jpg)
Timers
On-Delay Timer (TON)Off-Delay Timer (TOF)Retentive On-Delay Timer (TONR)
![Page 40: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/40.jpg)
Counters
Count UP Counter (CTU)Count DOWN Counter (CDU)Count UP/DOWN Counter (CTUD)
![Page 41: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/41.jpg)
Programming Examples
Lets start with simple examples…
![Page 42: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/42.jpg)
Programming Examples
D = (A AND B) OR C
![Page 43: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/43.jpg)
Programming Examples
Triggering the Relay Coil
![Page 44: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/44.jpg)
Ladder Diagram for Triggering the Relay Coil
![Page 45: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/45.jpg)
Learn the Basics of Programming Logic Controller & Ladder Logic by Downloading this E-book
![Page 46: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/46.jpg)
This E-book contains
Programmable logic controllersPLC ScanBasic Ladder Logic SymbolsFunctional Operation Programming Functions Programming To PLC (Practical Examples)Illustration of PLC Scan
![Page 47: Programmable Logic Controller and ladder logic programming](https://reader033.fdocuments.in/reader033/viewer/2022061618/554a2225b4c9051b578b4602/html5/thumbnails/47.jpg)
DOWNLOAD OUR EBOOK
For Further Reading
Introduction to Programmable Logic Controller and Ladder Logic