Transcript
Page 1: Programmable Logic Controller and ladder logic programming

Introduction to Programmable

Logic Controllersand Ladder Logic

Page 2: Programmable Logic Controller and ladder logic programming

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

To begin with..

What is

automation?

Page 4: Programmable Logic Controller and ladder logic programming

You may have come across the word “automated” very usually!

Page 5: Programmable Logic Controller and ladder logic programming

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

Automation has made our life extremely simple.

Page 7: Programmable Logic Controller and ladder logic programming

Earlier, processes were carried out by operator, hence were much prone to human errors.

Page 8: Programmable Logic Controller and ladder logic programming

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

Where do we begin?

Page 10: Programmable Logic Controller and ladder logic programming

Let’s recall the story of an explorer in Africa who asked the native tribesman,

Page 11: Programmable Logic Controller and ladder logic programming

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

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

Programmable logic controllers

Lets Start With…

What is

Page 14: Programmable Logic Controller and ladder logic programming

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

Well, that was simple isn’t it ?

Lets put it in another way..

Page 16: Programmable Logic Controller and ladder logic programming

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

Elements of PLC

Let’s have al look at..

Page 18: Programmable Logic Controller and ladder logic programming

Input ModulesSenses the input signal, isolates it and converts it to DC level.

Page 19: Programmable Logic Controller and ladder logic programming

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

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

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

PLC scanWhat is a

Page 23: Programmable Logic Controller and ladder logic programming

Reads Inputs

Execute Programs

Diagnostics & Communication

Updates Outputs

PLC scan

Page 24: Programmable Logic Controller and ladder logic programming

PLC scan

Page 25: Programmable Logic Controller and ladder logic programming

Programming PLC

Page 26: Programmable Logic Controller and ladder logic programming

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

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

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

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

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

Schematic of ladder diagram

Page 32: Programmable Logic Controller and ladder logic programming

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

Functional Operation

AND OperationOR Operation

NOT Operation

Page 34: Programmable Logic Controller and ladder logic programming

Lets have a look at their truth table and Ladder Logic diagram

Page 35: Programmable Logic Controller and ladder logic programming

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

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

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

Programming Functions

TimersCounters

Page 39: Programmable Logic Controller and ladder logic programming

Timers

On-Delay Timer (TON)Off-Delay Timer (TOF)Retentive On-Delay Timer (TONR)

Page 40: Programmable Logic Controller and ladder logic programming

Counters

Count UP Counter (CTU)Count DOWN Counter (CDU)Count UP/DOWN Counter (CTUD)

Page 41: Programmable Logic Controller and ladder logic programming

Programming Examples

Lets start with simple examples…

Page 42: Programmable Logic Controller and ladder logic programming

Programming Examples

D = (A AND B) OR C

Page 43: Programmable Logic Controller and ladder logic programming

Programming Examples

Triggering the Relay Coil

Page 44: Programmable Logic Controller and ladder logic programming

Ladder Diagram for Triggering the Relay Coil

Page 45: Programmable Logic Controller and ladder logic programming

Learn the Basics of Programming Logic Controller & Ladder Logic by Downloading this E-book

Page 46: Programmable Logic Controller and ladder logic programming

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

DOWNLOAD OUR EBOOK

For Further Reading

Introduction to Programmable Logic Controller and Ladder Logic


Recommended