Programmable Logic Controller

Slides:



Advertisements
Similar presentations
Programmable Logic Controllers.
Advertisements

Programming with Ladder Logic
Unit 7 Discrete Controllers
PLC Timer Instructions
Copyright © 2002 Delmar Thomson Learning Chapter 12 Basic Relay Instructions.
Dr. HABEEB HATTAB HABEEB Dr. HABEEB HATTAB HABEEB Office: BN-Block, Level-3, Room Ext. No.: 7292 UNITEN.
PROGRAMMING. Each PLC manufacturer offers a different set of instructions within its PLC family. Many of these instruction sets are not applicable to.
Programmable Logic Controllers
Programmable Logic Controller PLC
Elec467 Power Machines & Transformers
4/24/05 BAE Motor Control PLCs and Ladder Logic An Introduction.
Ladder Logic PLC Programs are made up of combinations of AND; OR; NAND; NOR; and other gates, along with timers, inputs, outputs, counters, comparators,
EUT 1040 Lecture 10: Programmable Logic Controllers.
Chapter 6 Introduction to Logic.
Drafting RLL. SLC 500 Processor Operating Cycle Event in Operating Cycle Input Scan Program Scan Output Scan Communications Processor Overhead.
Creating Relay Logic Diagrams
Switchgears Control Using SCADA System Based on PLC
Programmable Logic Controllers
1 The University of Jordan Mechatronics Engineering Department PLC: Programmable Logical Controller.
Introduction To Programmable Logic Controllers
PLC OPERATION & PROGRAMMING Dr. ONUR TOKER. What is a PLC ? PLC is a computer system controlling a process. inputs - the keyboard is analogous to a proximity.
Lecture 4: Programmable logic Controllers
Programming Logic Controllers
Chapter 19 Fundamental PLC Programming
Module 2: Hardware and Terminology
Timers.
1 Starting & Stopping Motors Pico Pico LAB#4. 2 Program a series of three basic ladder logic rungs. These basic rungs are the most common rungs found.
PLC introduction1 Discrete Event Control Concept Representation DEC controller design DEC controller implementation.
PLC: Programmable Logical Controller
Programming PLCs using LADDER Logic
Programmable Logic Controller (PLC)
Memory Layout and SLC500™ System Addresses. Processor Memory Division An SLC 500 processor's memory is divided into two storage areas. Like two drawers.
Memory Layout and SLC500™ System Addresses. Processor Memory Division An SLC 500 processor's memory is divided into two storage areas. Like two drawers.
Memory Layout and SLC500 System Addresses. Processor Memory Division An SLC 500 processor's memory is divided into two storage areas. Like two drawers.
Control Technology and Automation
©2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
Implementing software in IEC Languages in IEC IEC uses the following languages Instruction List – Assembly level programming using.
Logic Functions and Symbols
PROGRAMMABLE LOGIC CONTROLLER
CHAPTER 3 INTRODUCTION TO PROGRAMMABLE LOGIC CONTROLLER
PLC PROGRAMMING.
LADDER PROGRAMMING LANGUAGE by Dr. Amin Danial Asham.
Prepared by: Engr. Qurban Ali Memon 11ES (SEC- 1 & 2)
INTRODUCTION TO FBD - Function Block Diagram by ( LOGO ) Revision 2.
1 RLL: Relay Ladder Logic CONTENTS 1. PLC operation 2. PLC programming 3. Ladder logic 4. Memory and gates.
PROGRAMMABLE LOGIC CONTROLLER (PLC) AND AUTOMATION
PLC ARCHITECTURE – Memory 2 by Dr. Amin Danial Asham.
MECH 1500 Chapter 4. MECH 1500 The Binary Concept 4.1.
PROGRAMMABLE LOGIC CONTROLLER
PROGRAMMABLE LOGIC CONTROLLER (PLC) MUNIRA MOHAMED NAZARI PPK BIOPROSES UniMAP.
SEMINAR ON P.L.C. SUBMITTED BY HRIDAY MUKHERJEE AMIT DEBNATH SOMNATH SHIL
Actuators and Control, Part 4 Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning.
© 2013 Eaton Corporation. All rights reserved. PLC Programming Basics.
Chapter 5.
Lesson 1 PLC BASICS. PLC Definition  Programmable Logic Controllers are industrial computers that control machine and other applications.  PLC have.
Programmable Logic Controllers
Chapter 5.
PLC Terminology and Application
PLC: Programmable Logical Controller
Industrial Electronics
Chapter 12 © 2011, The McGraw-Hill Companies, Inc.
Manisha Goel, Lecturer, EE Deptt Govt. Polytechnic Manesar
Workbook Section.
MECH 1500 Motor Controls.
PROGRAMMING.
S RAJARAJAN_ASST PROF, BSARCIS&T
Control System Applications (2)
Presentation transcript:

Programmable Logic Controller Ladder Diagram

Introduction Programs for microprocessor based systems have to be loaded into them in machine code (sequence of binary number to represent the program instruction) Assembly language based on the use of mnemonic, (eg. LD to indicate the operation required to load data) Assembler is used to translate the mnemonics into machine code.

IEC 61131-3 Standard IEC 61131-3 (International Electrotechnical Commission) is the standard of PLC programming language Examples of PLC Programming language are; Ladder Diagrams, Instruction List (like mnemonic), Structured Text (like C Programming) and Functional Block Diagrams.

Ladder Diagram Ladder diagrams are specialized schematics commonly used to document industrial control logic systems. They are called "ladder" diagrams because they resemble a ladder, with two vertical rails (supply power) and as many "rungs" (horizontal lines) as there are control circuits to represent. If we wanted to draw a simple ladder diagram showing a lamp that is controlled by a hand switch, it would look like this:

Ladder Diagram The left and right uprights represent power. If we connect the left and right uprights through a load, power can flow through the rung from the left upright to the right upright Ladder logic diagrams are read from left-to-right, top-to-bottom. Rungs are sometimes referred to as networks

Ladder Diagram The load(s) must always be located nearest the grounded power conductor in the ladder diagram The PLC then runs the ladder and monitors the input continually and controls output. This called scanning

Ladder Diagram Symbols The main function of PLC program is to control outputs based on the condition of inputs The symbols used in ladder logic programming can be divided into two broad categories: Contacts (inputs) and Coils (outputs)

Contacts Most inputs to a PLC are simple devices that are either on (true) or off (false). These inputs are sensors and switches that detect part presence, empty or full status, and so on. Contacts can be thought of as switches. The two basic kinds of switches are normally open and normally closed: A normally open switch does not pass current until it closed A normally closed switch allows current flow until it closed

Coil Coils are output symbols. There are many types of real-world output devices: motors, lights, pumps, counters, timers and relays The PLC examines the contacts (inputs) in the ladder and turns the coils (outputs) on or off, depending on the condition of the inputs

Basic Programming Instruction Programmable control is based on the basic logic function (AND, OR, NOT) to form the instruction. Parallel contacts are equivalent to an OR gate. Series contacts are equivalent to an AND gate. Normally-closed contacts are equivalent to a NOT gate (inverter).

Mnemonic Code When using programming console, ladder diagram need to be converted into mnemonic code for entering the programming instructions. The operand or data, is the item to be operated on by the operation. Address is the memory storage location of the operand.

PLC Processor Memory Size The size of the programmable controller relates to the amount of user program that can be stored. The 1 K word memory size shown can store 1,024 words, or 16,380 (1,024 x 16) bits of information using 16-bit words or 32,768 (1,024 x 32) using 32 bit words.

Instructions Description LD A starting instruction for logic line AND This is used to connect two or more inputs in serial OR This is used to connect two or more inputs in parallel AND LD This is used to connect two blocks in serial OR LD This is used to connect two blocks in parallel NOT NOT invert its inputs Often used to form an NC (Normally Closed) input or output. NOT can be used with LD, OUT, AND or OR OUT This is used to connect output /designated operand bit END This is used to indicate the end of program. The last instruction in any program must be an END instruction.

AND Logic Function Address Instructions Data 00000 LD 00001 AND 00002 AND NOT 00003 OUT 01000 00004 END(01)

OR Logic Function Address Instructions Data 00000 LD 00001 OR 00002 OR NOT 00003 OUT 01000 00004 END(01)

Combining The Logic Functions 0001 0002 0004 0005 1000 Address Instruction Data 0000 LD 0001 AND 0002 OR 0003 0004 AND NOT 0005 OUT 1000 END(01) 0003 END

AND LD END Address Instruction Data 0000 LD 0001 OR 0002 0003 OR NOT 1000 0001 0003 END Address Instruction Data 0000 LD 0001 OR 0002 0003 OR NOT 0004 AND LD 0005 OUT 1000 0006 END(01) 0002 0004

OR LD END Address Instruction Data 0000 LD 0001 AND 0002 0003 AND NOT 1000 0001 0002 END Address Instruction Data 0000 LD 0001 AND 0002 0003 AND NOT 0004 OR LD 0005 OUT 1000 0006 END(01) 0003 0004

Combining AND LD and OR LD Address Instruction Data 0000 LD 00001 0001 AND NOT 00002 0002 LD NOT 00008 0003 AND 00003 0004 OR LD 0005 00004 0006 00005 0007 00006 0008 00007 0009 0010 AND LD 0011 OUT 1000 0012 END(01) 1000 0001 0002 0004 0005 END 0008 0003 0006 0007

A Systematic Approach of Control System Design using a PLC Determine the Machine Sequence of Operation Assignment of Inputs and Outputs Writing of the Program Programming into Memory Running the System