# 2. PROGRAMMABLE LOGIC CONTROLLERS

Save this PDF as:

Size: px
Start display at page:

## Transcription

1 5 2. PROGRAMMABLE LOGIC CONTROLLERS Topics: PLC History Ladder Logic and Relays PLC Programming PLC Operation An Eample Objectives: Know general PLC issues To be able to write simple ladder logic programs Understand the operation of a PLC 2.1 INTRODUCTION Control engineering has evolved over time. In the past humans were the main method for controlling a system. More recently electricity has been used for control and early electrical control was based on relays. These relays allow power to be switched on and off without a mechanical switch. It is common to use relays to make simple logical control decisions. The development of low cost computer has brought the most recent revolution, the Programmable Logic Controller (PLC). The advent of the PLC began in the 1970s, and has become the most common choice for manufacturing controls. PLCs have been gaining popularity on the factory floor and will probably remain predominant for some time to come. Most of this is because of the advantages they offer. Cost effective for controlling comple systems. Fleible and can be reapplied to control other systems quickly and easily. Computational abilities allow more sophisticated control. Trouble shooting aids make programming easier and reduce downtime. Reliable components make these likely to operate for years before failure Ladder Logic Ladder logic is the main programming method used for PLCs. As mentioned before, ladder logic has been developed to mimic relay logic. The decision to use the relay logic diagrams was a strategic one. By selecting ladder logic as the main programming method, the amount of retraining needed for engineers and tradespeople was greatly reduced. Modern control systems still include relays, but these are rarely used for logic. A relay is a simple device that uses a magnetic field to control a switch, as pictured in Figure 2. When a voltage is

2 6 applied to the input coil, the resulting current creates a magnetic field. The magnetic field pulls a metal switch (or reed) towards it and the contacts touch, closing the switch. The contact that closes when the coil is energized is called normally open. The normally closed contacts touch when the input coil is not energized. Relays are normally drawn in schematic form using a circle to represent the input coil. The output contacts are shown with two parallel lines. Normally open contacts are shown as two lines, and will be open (non-conducting) when the input is not energized. Normally closed contacts are shown with two lines with a diagonal line through them. When the input coil is not energized the normally closed contacts will be closed (conducting). input coil OR normally closed normally open OR Figure 2 Simple Relay Layouts and Schematics Relays are used to let one power source close a switch for another (often high current) power source, while keeping them isolated. An eample of a relay in a simple control application is shown in Figure 3. In this system the first relay on the left is used as normally closed, and will allow current to flow until a voltage is applied to the input A. The second relay is normally open and will not allow current to flow until a voltage is applied to the input B. If current is flowing through the first two relays

3 7 then current will flow through the coil in the third relay, and close the switch for output C. This circuit would normally be drawn in the ladder logic form. This can be read logically as C will be on if A is off and B is on. 115VAC wall plug relay logic input A (normally closed) input B (normally open) output C (normally open) A B C ladder logic Figure 3 A Simple Relay Controller The eample in Figure 3 does not show the entire control system, but only the logic. When we consider a PLC there are inputs, outputs, and the logic. Figure 4 shows a more complete representation of the PLC. Here there are two inputs from push buttons. We can imagine the inputs as activating 24V DC relay coils in the PLC. This in turn drives an output relay that switches 115V AC, that will turn on a light. Note, in actual PLCs inputs are never relays, but outputs are often relays. The ladder logic in the PLC is actually a computer program that the user can enter and change. Notice that both of the input push buttons are normally open, but the ladder logic inside the PLC has one normally open contact, and one normally closed contact. Do not think that the ladder logic in the PLC needs to match the inputs or outputs. Many beginners will get caught trying to make the ladder logic match the input types.

4 8 push buttons power supply +24V com. PLC inputs ladder logic A B C outputs 115Vac AC power light neut. Figure 4 A PLC Illustrated With Relays Many relays also have multiple outputs (throws) and this allows an output relay to also be an input simultaneously. The circuit shown in Figure 5 is an eample of this, it is called a seal in circuit. In this circuit the current can flow through either branch of the circuit, through the contacts labelled A or B. The input B will only be on when the output B is on. If B is off, and A is energized, then B will turn on. If B turns on then the input B will turn on, and keep output B on even if input A goes off. After B is turned on the output B will not turn off.

5 9 A B B Note: When A is pushed, the output B will turn on, and the input B will also turn on and keep B on permanently - until power is removed. Note: The line on the right is being left off intentionally and is implied in these diagrams. Figure 5 A Seal-in Circuit Programming The first PLCs were programmed with a technique that was based on relay logic wiring schematics. This eliminated the need to teach the electricians, technicians and engineers how to program a computer - but, this method has stuck and it is the most common technique for programming PLCs today. An eample of ladder logic can be seen in Figure 6. To interpret this diagram imagine that the power is on the vertical line on the left hand side, we call this the hot rail. On the right hand side is the neutral rail. In the figure there are two rungs, and on each rung there are combinations of inputs (two vertical lines) and outputs (circles). If the inputs are opened or closed in the right combination the power can flow from the hot rail, through the inputs, to power the outputs, and finally to the neutral rail. An input can come from a sensor, switch, or any other type of sensor. An output will be some device outside the PLC that is switched on or off, such as lights or motors. In the top rung the contacts are normally open and normally closed. Which means if input A is on and input B is off, then power will flow through the output and activate it. Any other combination of input values will result in the output X being off.

6 10 HOT A B X NEUTRAL C D G Y E F H INPUTS OUTPUTS Note: Power needs to flow through some combination of the inputs (A,B,C,D,E,F,G,H) to turn on outputs (X,Y). Figure 6 A Simple Ladder Logic Diagram The second rung of Figure 6 is more comple, there are actually multiple combinations of inputs that will result in the output Y turning on. On the left most part of the rung, power could flow through the top if C is off and D is on. Power could also (and simultaneously) flow through the bottom if both E and F are true. This would get power half way across the rung, and then if G or H is true the power will be delivered to output Y. In later chapters we will eamine how to interpret and construct these diagrams. There are other methods for programming PLCs. One of the earliest techniques involved mnemonic instructions. These instructions can be derived directly from the ladder logic diagrams and entered into the PLC through a simple programming terminal. An eample of mnemonics is shown in Figure 7. In this eample the instructions are read one line at a time from top to bottom. The first line has the instruction LDN (input load and not) for input A. This will eamine the input to the PLC and if it is off it will remember a 1 (or true), if it is on it will remember a 0 (or false). The net line uses an LD (input load) statement to look at the input. If the input is off it remembers a 0, if the input is on it remembers a 1 (note: this is the reverse of the LDN). The AND statement recalls the last two numbers remembered and if the are both true the result is a 1, otherwise the result is a 0. This result now replaces the two numbers that were recalled, and there is only one number remembered. The process is repeated for lines and 00004, but when these are done there are now three numbers remembered. The oldest number is from the AND, the newer numbers are from the two LD instructions. The AND in line combines the results from the last LD instructions and now there are two numbers remembered. The OR instruction takes the two numbers now remaining and if either one is a 1 the result is a 1, otherwise the result is a 0. This result replaces the two numbers, and there is now a single number there. The last instruction is the ST (store output) that will look at the last value stored and if it is 1, the output will be turned on, if it is 0 the output will be turned off.

7 LDN LD AND LD LD AND OR ST END A B C D X A the mnemonic code is equivalent to the ladder logic below B X C D END Note: The notation shown above is not standard Allen-Bradley notation. The program to the right would be the A-B equivalent. SOR BST XIC A XIO B NXB XIO C XIO D BND OTE X EOR END Figure 7 An Eample of a Mnemonic Program and Equivalent Ladder Logic The ladder logic program in Figure 7, is equivalent to the mnemonic program. Even if you have programmed a PLC with ladder logic, it will be converted to mnemonic form before being used by the PLC. In the past mnemonic programming was the most common, but now it is uncommon for users to even see mnemonic programs. Sequential Function Charts (SFCs) have been developed to accommodate the programming of more advanced systems. These are similar to flowcharts, but much more powerful. The eample seen in Figure 8 is doing two different things. To read the chart, start at the top where is says start. Below this there is the double horizontal line that says follow both paths. As a result the PLC will start to follow the branch on the left and right hand sides separately and simultaneously. On the left there are two functions the first one is the power up function. This function will run until it decides it is done, and the power down function will come after. On the right hand side is the flash function, this will run until it is done. These functions look uneplained, but each function, such as power up will be a small ladder

8 12 logic program. This method is much different from flowcharts because it does not have to follow a single path through the flowchart. Start power up Eecution follows multiple paths power down flash End Figure 8 An Eample of a Sequential Function Chart Structured Tet programming has been developed as a more modern programming language. It is quite similar to languages such as BASIC. A simple eample is shown in Figure 9. This eample uses a PLC memory location i. This memory location is for an integer, as will be eplained later in the book. The first line of the program sets the value to 0. The net line begins a loop, and will be where the loop returns to. The net line recalls the value in location i, adds 1 to it and returns it to the same location. The net line checks to see if the loop should quit. If i is greater than or equal to 10, then the loop will quit, otherwise the computer will go back up to the REPEAT statement continue from there. Each time the program goes through this loop i will increase by 1 until the value reaches 10. i := 0; REPEAT i := i + 1; UNTIL i >= 10 END_REPEAT; Figure 9 An Eample of a Structured Tet Program PLC Connections When a process is controlled by a PLC it uses inputs from sensors to make decisions and update

9 13 outputs to drive actuators, as shown in Figure 10. The process is a real process that will change over time. Actuators will drive the system to new states (or modes of operation). This means that the controller is limited by the sensors available, if an input is not available, the controller will have no way to detect a condition. PROCESS Feedback from sensors/switches Connections to actuators PLC Figure 10 The Separation of Controller and Process The control loop is a continuous cycle of the PLC reading inputs, solving the ladder logic, and then changing the outputs. Like any computer this does not happen instantly. Figure 11 shows the basic operation cycle of a PLC. When power is turned on initially the PLC does a quick sanity check to ensure that the hardware is working properly. If there is a problem the PLC will halt and indicate there is an error. For eample, if the PLC power is dropping and about to go off this will result in one type of fault. If the PLC passes the sanity check it will then scan (read) all the inputs. After the inputs values are stored in memory the ladder logic will be scanned (solved) using the stored values - not the current values. This is done to prevent logic problems when inputs change during the ladder logic scan. When the ladder logic scan is complete the outputs will be scanned (the output values will be changed). After this the system goes back to do a sanity check, and the loop continues indefinitely. Unlike normal computers, the entire program will be run every scan. Typical times for each of the stages is in the order of milliseconds. PLC program changes outputs by eamining inputs Read inputs THE CONTROL LOOP Set new outputs Power turned on Process changes and PLC pauses while it checks its own operation Figure 11 The Scan Cycle of a PLC

10 2.1.4 Ladder Logic Inputs 14 PLC inputs are easily represented in ladder logic. In Figure 12 there are three types of inputs shown. The first two are normally open and normally closed inputs, discussed previously. The IIT (Immediate InpuT) function allows inputs to be read after the input scan, while the ladder logic is being scanned. This allows ladder logic to eamine input values more often than once every cycle. (Note: This instruction is not available on the ControlLogi processors, but is still available on older models.) Normally open, an active input will close the contact and allow power to flow. Normally closed, power flows when the input is not open. IIT immediate inputs will take current values, not those from the previous input scan. (Note: this instruction is actually an output that will update the input table with the current input values. Other input contacts can now be used to eamine the new values.) Figure 12 Ladder Logic Inputs Ladder Logic Outputs In ladder logic there are multiple types of outputs, but these are not consistently available on all PLCs. Some of the outputs will be eternally connected to devices outside the PLC, but it is also possible to use internal memory locations in the PLC. Si types of outputs are shown in Figure 13. The first is a normal output, when energized the output will turn on, and energize an output. The circle with a diagonal line through is a normally on output. When energized the output will turn off. This type of output is not available on all PLC types. When initially energized the OSR (One Shot Relay) instruction will turn on for one scan, but then be off for all scans after, until it is turned off. The L (latch) and U (unlatch) instructions can be used to lock outputs on. When an L output is energized the output will turn on indefinitely, even when the output coil is deenergized. The output can only be turned off using a U output. The last instruction is the IOT (Immediate OutpuT) that will allow outputs to be updated without having to wait for the ladder logic scan to be completed.

11 15 When power is applied (on) the output is activated for the left output, but turned off for the output on the right. An input transition on will cause the output to go on for one scan (this is also known as a one shot relay) OSR When the L coil is energized, will be toggled on, it will stay on until the U coil is energized. This is like a flip-flop and stays set even when the PLC is turned off. L U Some PLCs will allow immediate outputs that do not wait for the program scan to end before setting an output. (Note: This instruction will only update the outputs using the output table, other instruction must change the individual outputs.) IOT Note: Outputs are also commonly shown using parentheses -( )- instead of the circle. This is because many of the programming systems are tet based and circles cannot be drawn. Figure 13 Ladder Logic Outputs 2.2 A CASE STUDY Problem: Try to develop (without looking at the solution) a relay based controller that will allow three switches in a room to control a single light.

12 16 Solution: There are two possible approaches to this problem. The first assumes that any one of the switches on will turn on the light, but all three switches must be off for the light to be off. switch 1 light switch 2 switch 3 The second solution assumes that each switch can turn the light on or off, regardless of the states of the other switches. This method is more comple and involves thinking through all of the possible combinations of switch positions. You might recognize this problem as an eclusive or problem. switch 1 switch 2 switch 3 light switch 1 switch 2 switch 3 switch 1 switch 2 switch 3 switch 1 switch 2 switch 3 Note: It is important to get a clear understanding of how the controls are epected to work. In this eample two radically different solutions were obtained based upon a simple difference in the operation. 2.3 SUMMARY Normally open and closed contacts. Relays and their relationship to ladder logic. PLC outputs can be inputs, as shown by the seal in circuit. Programming can be done with ladder logic, mnemonics, SFCs, and structured tet. There are multiple ways to write a PLC program. 2.4 PRACTICE PROBLEMS 1. Give an eample of where a PLC could be used.

13 2. Why would relays be used in place of PLCs? Give a concise description of a PLC. 4. List the advantages of a PLC over relays. 5. A PLC can effectively replace a number of components. Give eamples and discuss some good and bad applications of PLCs. 6. Eplain why ladder logic outputs are coils? 7. In the figure below, will the power for the output on the first rung normally be on or off? Would the output on the second rung normally be on or off? 8. Write the mnemonic program for the Ladder Logic below. A Y B 2.5 ASSIGNMENT PROBLEMS 1. Eplain the trade-offs between relays and PLCs for contro applications. 2. Develop a simple ladder logic program that will turn on an output X if inputs A and B, or input C is on.

14 18

### 1. PROGRAMMABLE LOGIC CONTROLLERS

1. PROGRAMMABLE LOGIC CONTROLLERS Topics: PLC History Ladder Logic and Relays PLC Programming PLC Operation An Example Objectives: Know general PLC issues To be able to write simple ladder logic programs

### Chapter 2: Basic Ladder Logic Programming. Computer Aided Manufacturing TECH 4/53350 1

Chapter 2: Basic Ladder Logic Programming Computer Aided Manufacturing TECH 4/53350 1 Ladder Logic Learning objectives Understand basic ladder logic symbol Write ladder logic for simple applications Translate

### 2011, The McGraw-Hill Companies, Inc. Chapter 5

Chapter 5 5.1 Processor Memory Organization The memory structure for a PLC processor consists of several areas, some of these having specific roles. With rack-based memory structures addresses are derived

### Basics of PLC Programming

Basics of PLC Programming Industrial Control Systems Fall 2006 Lecture PLC Programming Basics MME 486 Fall 2006 1 of 62 PLC Architecture Lecture PLC Programming Basics MME 486 Fall 2006 2 of 62 PLC System

### 3BASIC RELAY INSTRUCTIONS

M O D U L E T H R E E 3BASIC RELAY INSTRUCTIONS Key Points So far, you have learned about the components of the MicroLogix 1000 PLC, including the CPU, the memory system, the power supply, and the input/output

### Programming Logic controllers

Programming Logic controllers Programmable Logic Controller (PLC) is a microprocessor based system that uses programmable memory to store instructions and implement functions such as logic, sequencing,

### Creating Relay Logic Diagrams

This sample chapter is for review purposes only. Copyright The Goodheart-Willcox Co., Inc. All rights reserved. Creating elay Logic Diagrams Chapter Outline 5. Introduction 5. elay Logic Diagrams 5.3 ules

### Programmable Logic Controllers

Programmable Logic Controllers Basic Ladder Logic Programming Dr. D. J. Jackson Lecture 4-1 Outline Boolean statements and ladder logic equivalents Logical AND Logical OR Logical NOT Commonly used ladder

### 11. FLOWCHART BASED DESIGN

plc flowchart - 11.1 Topics: Describing process control using flowcharts Conversion of flowcharts to ladder logic Objectives: Ba able to describe a process with a flowchart. Be able to convert a flowchart

### Programmable Logic Controllers

Programmable Logic Controllers PLC Addressing and Basic Instructions Dr. D. J. Jackson Lecture 3-1 Basic addressing For the Allen-Bradley PLCs and the simulator used, the input and output image areas (in

### Ladder and Functional Block Programming

CHPTER 11 Ladder and Functional lock Programming W. olton This (and the following) chapter comes from the book Programmable Logic Controllers by W. olton, ISN: 9780750681124. The first edition of the book

### Measurements and Control Lab Exp.4: Introduction to PLC

Measurements and Control Lab Exp.4: Introduction to PLC OBJECTIVES: The aim of this experiment is to familiarize the student with Programmable Logic Controllers (PLC) as hardware and the software used

### Experiment #3 Programming the PLC Via Ladder logic. OBJECTIVES After successfully completing this laboratory, you should be able to:

Experiment #3 Programming the PLC Via Ladder logic OBJECTIVES After successfully completing this laboratory, you should be able to: to convert a simple electrical ladder diagram to a PLC program. Know

### Edited by Sarath S Nair Composed by Ramesh December 27, 2008

Programmable Logic Controllers (PLC) Edited by Sarath S Nair www.technologyfuturae.com Composed by Ramesh December 27, 2008 INTRODUCTION First PLC is introduced by Bedford Associates founded by Richard

### Introduction to Programmable Logic Controllers Part II

Introduction to Programmable Logic Controllers Part II Module 6: Control Instructions Control instructions are used to enable or to disable a block of the ladder logic program or to move the execution

### Test Questions for learning objectives. (Select the best answer from the choices given)

Chapter 1 Test Questions for learning objectives. (Select the best answer from the choices given) 1-1. Write the definition of a PLC 1) PLCs are designed for use in the control of a wide variety of manufacturing

### SFC Design Example. Industrial Controls Programmable Logic Controllers

SFC Design Example Industrial Controls Programmable Logic Controllers Sequential Function Chart (SFC) design leads to an architecture that is different from standard RLL. Design Process Read and Understand

### 3. PLC HARDWARE 3.1 INTRODUCTION

plc wiring - 3.1 Topics: PLC hardware configurations Input and outputs types Electrical wiring for inputs and outputs Relays Electrical Ladder Diagrams and JIC wiring symbols Objectives: Be able to understand

### 1.Basically, the function of a PLC is to:

1.Basically, the function of a PLC is to: a.amplify various weak signal sources. b.control a high voltage output with a low voltage input. c.control the speed of motors. d.make logical decisions and provide

### Programming A PLC. Standard Instructions

Programming A PLC STEP 7-Micro/WIN32 is the program software used with the S7-2 PLC to create the PLC operating program. STEP 7 consists of a number of instructions that must be arranged in a logical order

### Ladder and Functional Block Programming

HPTER 5 Ladder and Functional lock Programming Programs for microprocessor-based systems have to be loaded in machine code, a sequence of binary code numbers to represent the program instructions. However,

### Introduction to Programmable Logic Controllers Part I

Introduction to Programmable Logic Controllers Part I Module 4: Timers and Counters In this module, PLC timer and counter instructions are discussed. After studying this module, the student should be able

### Lesson 5. Sensors and Programmable Controls

Sensors and Programmable Controls Assignment 15 should be considered unrelated to assignments 16, 17, and 18, since its primary focus is on detection sensors while the other three assignments address topics

### PLC INDUSTRIAL MAINTENANCE CERTIFICATE

PLC INDUSTRIAL MAINTENANCE CERTIFICATE PLC Troubleshooting W-40660-BA-01 Introduction to Programmable Controllers PLCs W-40660-BA-02 Basic PLC Programming PLCs W-40660-BA-03 PLC Motor Control PLCs W-40660-BA-04

### PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 OUTCOME 3 PART 1

UNIT 22: PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 OUTCOME 3 PART 1 This work covers part of outcome 3 of the Edexcel standard module: Outcome 3 is the most demanding

### Omega.com TM. RELAY-URM SERIES Universal Relay Module

Omega.com TM http://www.omega.com e-mail: info@omega.com RELAY-URM SERIES Universal Relay Module SPECIFICATIONS... 2 DESCRIPTION... 3 POWER CONNECTION... 3 INPUT CONNECTIONS Relays 1-4... 4 Figure 2:

### Ron Beaufort Training, LLC 5900 Core Avenue, #102 Charleston, SC 29406 843-437-1883

Ron Beaufort Training, LLC 5900 Core Avenue, #102 Charleston, SC 29406 843-437-1883 www.ronbeaufort.com Hands-On Technical Workshops by Ron Beaufort Email PLC Quiz #115 Questions Greetings... This edition

### CHAPTER 10: PROGRAMMABLE LOGIC CONTROLLERS

CHAPTER 10: PROGRAMMABLE LOGIC CONTROLLERS 10.1 Introduction The National Electrical Manufacturers Association (NEMA) as defines a programmable logic controller: A digitally operating electronic apparatus

### Programmable Logic Controllers

Programmable Logic Controllers Introduction to PLCs Dr. D. J. Jackson Lecture 1-1 Outline Introduction Definition and History of the PLC Example PLCs Overall PLC System PLC Advantages and Disadvantages

### Fig 3. PLC Relay Output

1. Function of a PLC PLC Basics A PLC is a microprocessor-based controller with multiple inputs and outputs. It uses a programmable memory to store instructions and carry out functions to control machines

### Structured PLC Programming with Sequential Function Charts

Structured PLC Programming with Sequential Function Charts James A. Rehg Pennsylvania State University Session 2648 Abstract Programmable logic controllers (PLCs) have been programmed using ladder logic

### White Paper. Converting Relays to Programmable Controllers

White Paper Converting Relays to Programmable Controllers Introduction For years now, engineers have been considering programmable controller versus relay-based control for their applications. While many

### Introduction to LogixPro - Lab

Programmable Logic and Automation Controllers Industrial Control Systems I Introduction to LogixPro - Lab Purpose This is a self-paced lab that will introduce the student to the LogixPro PLC Simulator

### PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 3

UNIT 22: PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 3 This work covers part of outcome 2 of the Edexcel standard module. The material is

### Introduction to PLC and Ladder Logic

UNIVERSITY OF JORDAN FACULTY OF ENGINEERING & TECHNOLOGY MEASUREMENTS and CONTROL LAB. 0908448 EXPERIMENT N0. 2 Prepared by Eng. Hussam Khasawneh in March, 2009 OBJECTIVES: The aim of this experiment is

### Laboratory Learning Objectives

ET 438B Sequential Control and Data Acquisition Laboratory 8 IEC 1131-3 PLC Programming Languages: Introduction to Function Block and Structured Text Programming of a PLC Laboratory Learning Objectives

### 8. PLC OPERATION 8.1 INTRODUCTION. Topics: The computer structure of a PLC The sanity check, input, output and logic scans Status and memory types

plc operation - 8.1 8. PLC OPERATION Topics: The computer structure of a PLC The sanity check, input, output and logic scans Status and memory types Objectives: Understand the operation of a PLC. 8.1 INTRODUCTION

### 10. STRUCTURED LOGIC DESIGN

plc design - 10.1 Topics: Timing diagrams Design examples Designing ladder logic with process sequence bits and timing diagrams Objectives: Know examples of applications to industrial problems. Know how

### TECH TIP # 56 MORE ON LADDER DIAGRAMS

TECH TIP # 56 One of a series of dealer contractor technical advisories prepared by HARDI wholesalers as a customer service. MORE ON LADDER DIAGRAMS To complete an electrical circuit you need a source

### Programmable Logic Controller

Programmable Logic Controller By Dr. Mohammad Salah Mechatronics Engineering Department Hashemite University Outlines Introduction What can a PLC do? Structure and Hardware Programming the PLC PLC Operation

### So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

equential Logic o far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs. In sequential logic the output of the

### Programming Timers CHAPTER 4-1 GOALS AND OBJECTIVES 4-2 MECHANICAL TIMING RELAYS

CHAPTER 4 4-1 GOALS AND OBJECTIVES There are two principal goals of this chapter. The first goal is to provide the student with information on the operation and functions of hardware timers both mechanical

### Programmable Logic Controllers

Programmable Logic Controllers PLC Basics Dr. D. J. Jackson Lecture 2-1 Operating systems and application programs A PLC contains a basic operating system that allows for: Downloading and executing user

### Logic Control Systems

Logic Control Systems 124 Logic Control Systems To begin the discussion of industrial logic control systems, consider the simple pneumatic system shown in Figure LC-1. The pneumatic cylinder moves in a

### CHAPTER 1 INTRODUCTION TO PROGRAMMABLE LOGIC CONTROLLERS

CHAPTER 1 INTRODUCTION TO PROGRAMMABLE LOGIC CONTROLLERS --------------------------------------------- GENERAL ---------------------------------------------------- A PLC DEFINITIONS AND TERMS A PLC SYSTEM

### Programmable Logic Controllers

Programmable Logic Controllers Programming the Unitronics V1040 PLC: Getting Started, Basic Ladder Logic, and HMI Operation Dr. D. J. Jackson Lecture 14-1 VisiLogic Overview VisiLogic is the software tool

### LADDER LOGIC/ FLOWCHART PROGRAMMING DIFFERENCES AND EXAMPLES

page 1/10 This document is designed as a quick-start primer to assist industrial automation programmers who are familiar with PLCs and Relay Ladder Logic programming to better understand the corresponding

### Module 4. Programmable Logic Control Systems. Version 2 EE IIT, Kharagpur 1

Module 4 Programmable Logic Control Systems Version 2 EE IIT, Kharagpur 1 Lesson 19 The Software Environment and Programming of PLCs Version 2 EE IIT, Kharagpur 2 Instructional Objectives After learning

### Chapter 4: Input/Output Modules and. Computer Aided Manufacturing TECH 4/

Chapter 4: Input/Output Modules and Installation Computer Aided Manufacturing TECH 4/53350 1 Learning objectives Understand Wiring of typical sensors and actuators to PLC I/O modules Surge protection for

### Programmable Logic Controller PLC

Programmable Logic Controller PLC UPCO ICAI Departamento de Electrónica y Automática 1 PLC Definition PLC is a user friendly, microprocessor based, specialized computer that carries out control functions

### Introduction to Programmable Logic Controllers (PLC's)

NDSU Intro to PLC's 1 Introduction to Programmable Logic Controllers (PLC's) Programmable Logic Controllers (PLC's) are microprocessor devices much like the PIC microcontroller. Their function is to control

### TRILOGI 5.3 PLC Ladder Diagram Programmer and Simulator. A tutorial prepared for IE 575 by Dr. T.C. Chang. Use On-Line Help

TRILOGI 5.3 PLC Ladder Diagram Programmer and Simulator A tutorial prepared for IE 575 by Dr. T.C. Chang 1 Use On-Line Help Use on-line help for program editing and TBasic function definitions. 2 Open

### PROGRAMMABLE LOGIC CONTROLLERS - PLC

UNESCO-NIGERIA TECHNICAL & VOCATIONAL EDUCATION REVITALISATION PROJECT-PHASE II NATIONAL DIPLOMA IN ELECTRICAL ENGINEERING TECHNOLOGY PROGRAMMABLE LOGIC CONTROLLERS - PLC COURSE CODE: EEC 246 YEAR II-

### PLC SW and Programming. Nagy István, BMF BGK MEI

PLC SW and Programming Introduction: In the PLCs is usually running 2 Programs: Basic Software: what is the operating system User Program what is the code of instructions written by programators. The PLC

### STEP Basics of PLCs

STEP 2000 Basics of PLCs Table of Contents Introduction...2 PLCs...4 Number Systems...8 Terminology...14 Basic Requirements...23 S7-200 Micro PLCs...28 Connecting External Devices...39 Programming A PLC...41

### 2011, The McGraw-Hill Companies, Inc. Chapter 4

Chapter 4 4.1 The Binary Concept Binary refers to the idea that many things can be thought of as existing in only one of two states. The binary states are 1 and 0 The 1 and 0 can represent: ON or OFF Open

A PLC Primer TABLE OF CONTENTS What Is a PLC? pg 3 Why Use PLCs? pg 4 But What Exactly Is a PLC? pg 5 A Little More About Inputs and Outputs pg 7 And a Little More About the Control Program pg 10 So How

### PROGRAMMABLE LOGIC CONTROL

PROGRAMMABLE LOGIC CONTROL James Vernon: control systems principles.co.uk ABSTRACT: This is one of a series of white papers on systems modelling, analysis and control, prepared by Control Systems Principles.co.uk

### PLC Line. USER S MANUAL Catalog No Rev. E

PLC Line USER S MANUAL Catalog No. 100125 Rev. E May 2015 Copyright 2015 Intelitek Inc. PLC Line User s Manual Catalog No. 100125 Rev. E May 2015 Every effort has been made to make this technical note

### 5: Ladder Logic - NOTES

5: Ladder Logic - NOTES TOPIC 1: Relay Logic Before going forward, review how a relay works here. Now that you understand the relay function let s look at the way in which relays are typically drawn in

### Remote Control Cut Off Switch NEFA20 Plus F1

Remote Control Cut Off Switch NEFA20 Plus F1 Installation Guide Please read this entire guide before beginning the installation! Supplied Parts Antenna NEFA20 F1 Plus Cutoff Switch Protective Covers DIN

### Process switches and PLC circuits

Process switches and PLC circuits This worksheet and all related files are licensed under the Creative Commons Attribution License, version 1.0. To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0/,

### Standex-Meder Electronics. Custom Engineered Solutions for Tomorrow

Standex-Meder Electronics Custom Engineered Solutions for Tomorrow Latching & Form B Reed Relays & Sensors Product Training Copyright 2013 Standex-Meder Electronics. All rights reserved. Introduction Purpose

### Provides an activation of Relay 1 triggered by Input 1. The function also provides an option for reverse-logic on the activation of Input 1.

1 Description The is a programmable 3 relay logic module that may be used for multiple applications, including simple timing, door mounted sensor inhibiting and advanced relay sequencing. The contains

### Programmable Logic Controllers Definition. Programmable Logic Controllers History

Definition A digitally operated electronic apparatus which uses a programmable memory for the internal storage of instructions for implementing specific functions such as logic, sequencing, timing, counting,

### Chapter 5. Components, Symbols, and Circuitry of Air-Conditioning Wiring Diagrams

Chapter 5 Components, Symbols, and Circuitry of Air-Conditioning Wiring Diagrams Objectives Upon completion of this course, you will be able to: Explain what electrical loads are and their general purpose

### Lecture 42 PNEUMATIC CIRCUIT DESIGN USING PLC

Lecture 42 PNEUMATIC CIRCUIT DESIGN USING PLC Learning Objectives Upon completion of this chapter, Student should be able to Define PLC and its function Explain the difference between hard wired control

### PLC sequence controller

G:/PAGINATION/ELSEVIER UK/PLC/3B2/REVISES_04-05-04/CH008.3D 91 [91 104/14] 9.5.2004 6:08PM 8 PLC sequence controller The following notes describe how a system, which consists of two pneumatic pistons,

### Introduction to Automation and Process Control

Introduction to Automation and Process Control An overview of automation, automation systems, and system engineering Topics Automation Defined Automation Systems and Applications Automation System Components

### RCP-0006 Through RCP-0042 System Manual

Touch-Plate Lighting Controls RCP SERIES RCP Series System Manual RCP-0006 Through RCP-0042 System Manual Touch-Plate Lighting Controls 1830 Wayne Trace Fort Wayne, IN 46803 Phone: 260-424-4323 Fax: 260-420-3651

### PLC Features. Programmable Logic Controller (PLC) PLC & Related Components. Basic Components

PLC Features Programmable Logic Controller (PLC) Prof. Dr. M. Zahurul Haq zahurul@me.buet.ac.bd http://teacher.buet.ac.bd/zahurul/ Department of Mechanical Engineering Bangladesh University of Engineering

### 2011, The McGraw-Hill Companies, Inc. Chapter 9

Chapter 9 9.1 Master Control Reset Instruction Program control instructions are used to enable or disable a block of logic program or to move execution of a program from one place to another place. Program

### Programmable Logic Controllers of RLL. Programmable Controllers. PLC Station Operator Interface Panel. PLC Direct DL205. PLC physical wiring diagram

Programmable Logic Controllers 4. Programmable Logic Controllers of RLL Relay Ladder Logic (RLL) is "hard-wired" by the interconnection of the relays, limit switches, timers, counters, etc. Changing the

### In order to get the G.C.S.E. grade you are capable of, you must make your own revision notes using your Physics notebook.

In order to get the G.C.S.E. grade you are capable of, you must make your own revision notes using your Physics notebook. When summarising notes, use different colours and draw diagrams/pictures. If you

### TIMING, COUNTING, AND DATA-HANDLING INSTRUCTIONS. Key Points

M O D U L E F O U R TIMING, 4 COUNTING, AND DATA-HANDLING INSTRUCTIONS Key Points This module is a further exploration of the MicroLogix s programming instructions. Module 3 covered basic relay instructions,

### Exercise 2-2. Symbols, Designations, and Diagrams EXERCISE OBJECTIVE DISCUSSION OUTLINE DISCUSSION. Wiring diagrams

Exercise 2-2 Symbols, Designations, and Diagrams EXERCISE OBJECTIVE Identify symbols and designations used on electrical diagrams. Become familiar with schematic and wiring diagrams. DISCUSSION OUTLINE

### Application on three phase induction motor

Islamic University of Gaza Faculty of Engineering Electrical Engineering Department Programmable Logic Controller Lab Eng. Mohammed S. Jouda Experiment 3 Application on three phase induction motor Objectives:

### Programmable Controllers (RBTC 1401) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite/Co-requisite: None required

Programmable Controllers (RBTC 1401) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite/Co-requisite: None required Course Description A study in programmable controllers (PLC).

### THE INPUT/OUTPUT SYSTEM. Key Points

M O D U L E T W O THE 2 INPUT/OUTPUT SYSTEM Key Points In the first module, you learned about the basic architecture and operation of the Allen-Bradley Micrologix 1000, including a brief introduction to

### Introduction to Programmable Logic Controllers Part II

Introduction to Programmable Logic Controllers Part II Module 5: Comparison Instructions and Math Instructions This module addresses comparison and math instructions. After studying this module, the student

### Take for instance this circuit:

"Ladder" diagrams 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

### LAB 11 LADDER LOGIC PROGRAMMING WITH FINISH FLAGS

LAB 11 LADDER LOGIC PROGRAMMING WITH FINISH FLAGS 1 Lab Objective In this lab you will continue working with programmable logic controllers and the use of relay ladder logic. 2 Ladder Logic Elements 2.1.

Table of Contents Legal Notice... 2 Preface... 3 Chapter 1 Establish a Base... 5 Rails & Rungs... 6 Understanding the logical flow of rungs... 8 A bit about instructions...12 Tags, an address to memory...15

### EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC

YEDITEPE UNIVERSITY ENGINEERING & ARCHITECTURE FACULTY INDUSTRIAL ELECTRONICS LABORATORY EE 432 INDUSTRIAL ELECTRONICS EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC Introduction:

### Understanding the IEC61131-3 Programming Languages

profile Drive & Control Technical Article Understanding the IEC61131-3 Programming Languages It was about 120 years ago when Mark Twain used the phrase more than one way to skin a cat. In the world of

### Sequential Function Chart to PLC Ladder Logic Translation

Sequential Function Chart to PLC Ladder Logic Translation Eric Anderson, Project Engineer, DMC 9/8/2009 OVERVIEW This whitepaper describes a procedure for translating a state transition diagram or sequential

### Motor Control Motor Overload Protection

0 otor Control Purpose of The National Electric Code (NEC) defines as that which is intended to protect motors, motor-control apparatus, and motor branch-circuit conductors against excessive heating due

(North America version) Lightning Switch Wire-In Receivers can be a convenient and flexible way to provide wireless, batteryless remote control of any electrical device. The Wire-In Receiver s small size,

### Linear Motion and Assembly Technologies Pneumatics Service. Understanding the IEC61131-3 Programming Languages

Electric Drives and Controls Hydraulics Linear Motion and Assembly Technologies Pneumatics Service profile Drive & Control Understanding the IEC61131-3 Programming Languages It was about 120 years ago

### Photoillustration: Harold A. Perry; photos: Jupiter Images

Photoillustration: Harold A. Perry; photos: Jupiter Images 40 December 2008 WIRING DIAGRAM COLOR- CODING: More Than Meets the Eye BY JORGE MENCHU One of your earliest childhood memories may be a remonstration

### QUICK START GUIDE. SG2 Client - Programming Software SG2 Series Programmable Logic Relay

QUICK START GUIDE SG2 Client - Programming Software SG2 Series Programmable Logic Relay SG2 Client Programming Software T he SG2 Client software is the program editor for the SG2 Series Programmable Logic

### ME576 Siemens Tutorial Manual

ME576 Siemens Tutorial Manual Programming the Siemens PLC with S5 S7 for Windows Programming Create a new project Start S5 S7 for Windows by double clicking the desktop icon or using the start menu. Create

### (Refer Slide Time: 2:14)

(Refer Slide Time: 2:14) Digital Circuits and Systems Prof. S. Srinivasan Professor Department of Electrical Engineering Indian Institute of Technology, Madras Lecture # 24 Design of Synchronous Sequential

### ILD Liftgate trouble shooting guide

ILD Liftgate trouble shooting guide 1.1) Check voltage minimum 10 volts at motor at by pass. 1.2) Motor does not run. Check motor solenoid. If it is getting power but you Do not hear click, you should

### Input and Output Devices

Input and Output Devices Brief overview of typical input and output devices used with PLC s. INPUT DEVICES: Sensors which give digital/discrete, i.e. on/off signal to the input ports of the PLC. Mechanical

### Chapter 5: Sequential Circuits (LATCHES)

Chapter 5: Sequential Circuits (LATCHES) Latches We focuses on sequential circuits, where we add memory to the hardware that we ve already seen Our schedule will be very similar to before: We first show

### Electrical Symbols and Line Diagrams

Electrical Symbols and Line Diagrams Chapter 3 Material taken from Chapter 3 of One-Line Diagrams One-line diagram a diagram that uses single lines and graphic symbols to indicate the path and components