Introduction to PLC and Ladder Logic

Save this PDF as:

Size: px
Start display at page:

Transcription

1 UNIVERSITY OF JORDAN FACULTY OF ENGINEERING & TECHNOLOGY MEASUREMENTS and CONTROL LAB EXPERIMENT N0. 2 Prepared by Eng. Hussam Khasawneh in March, 2009 OBJECTIVES: The aim of this experiment is to familiarize the student with Programmable Logic Controllers (PLC) as hardware and the software used to program it, also to familiarize him with programming PLC using ladder logic diagrams. EQUIPMENT and APPARATUS: 1. Elettronica Veneta, Programmable Logic Controller Trainer, mod. PLC-8/EV, see figure x 24V solenoids. 3. Multimeter. 4. Personal computer. 5. Electrical wires. Figure 1. Programmable Logic Controller Trainer, mod. PLC-8/EV. MEASUREMENTS and CONTROL LAB Page 1 of 22

2 Prelab Write (draw) the ladder diagrams that do all the following logical functions: o Q0.1 = NOT I0.1 o Q0.2 = I0.2 (OR) I0.3 o Q0.3 = I0.4 (AND) I0.5 o Q0.4 = I0.6 (NAND) I0.7 o Q0.5 = I1.0 (NOR) I1.1 o Q0.6 = I1.2 (XOR) I1.3 Draw a ladder diagram for turning the output Q0.0 ON when you activate the start pushbutton I0.0, and stop when you activate the pushbutton I0.1 Draw the same ladder in figure (28) but add a new pushbutton (STOPM) that will stop the motor whenever the user activates it. Draw a ladder diagram that does the following sequence: When you press the pushbutton (I0.0), (Q0.0) activated immediately, for 5 seconds, then it turns OFF. After it turns off, wait 10 seconds, and then turn Q0.1 ON. Draw a ladder diagram that does the following sequence: When activating the pushbutton I0.0 five times, the output Q0.0 turns ON. When activating the pushbutton I0.1, Q0.0 turns OFF, pushing I0.1 one more time Q0.0 turns ON again. Draw a ladder diagram that does the following sequence: 1. Push I0.0 pushbutton. 2. Delay 5 seconds. 3. Q0.0 turns ON, for 3 seconds, then turns OFF. 4. Q0.1 turns ON, for 2 seconds, then turns OFF. 5. Repeat steps 2-4 four times. MEASUREMENTS and CONTROL LAB Page 2 of 22

3 INTRODUCTION TO PLC: A computer system for automation has to satisfy many requirements that we take more or less for granted. It has to run all around the day and night since a production break may cost huge amounts of money. It has to work in real time taking various time requirements and process disturbances into consideration. Whatever happens, the system has to behave in a predictable way. It has to be safe, both for the process and for humans. In most automation systems there are events that will bring the process into another state of operation. Furthermore, there are a lot of applications in both the process and manufacturing industries where control involves primarily switching and sequencing. In both the process and manufacturing industries there is a wealth of applications of switching circuits for combinatorial and sequencing control. Switching theory, which provides the foundation for binary control, is not only used in automation technology but is also of fundamental importance in many other fields. This theory provides the very principle on which the function of digital computers is based. In general, binary combinatorial and sequencing control is simpler than conventional feedback (analog and digital) control, because both the measurement values and the control signals are binary. However, binary control also has specific properties that have to be considered in more detail. Programmable logical controllers (PLCs) have been in use since the 1960s and are still the basis for the low level control in many automation systems. Today PLCs can handle not only the lowest levels of control but also advanced control of hybrid systems, where time-driven continuous controllers have to be integrated with event-driven controllers. The Development of PLCs The modern computer control system of today is the result of two parallel developments, one from relay technology to implement logical circuits and the other from continuous instrumentation and pneumatic proportional integral derivative (PID) controllers developing into software realizations of continuous controllers. Logical circuits have traditionally been implemented with different techniques. The primary reason for designing a PLC was to eliminate the large cost involved in replacing the complicated relay-based machine control systems. When production requirements changed, so did the control system. This becomes very expensive when the changes are frequent. Since relays are mechanical devices they also have a limited lifetime, which required strict adhesion to maintenance schedules. Troubleshooting was also quite tedious when so many relays were involved. Usually, the machine control panel includes many, possibly hundreds or thousands of, individual relays. Then it is easily recognized that alternative solutions were sought. PLC brands Siemens, Allen-Bradley, IDEC, ABB, Mitsubishi, Omron, Honeywell, Schneider Electric, Saia-Burgess Controls, and General Electric. In this experiment we will use: I. PLC SIEMENS SIMANTIC S7-200, see figure 2. Figure 2. PLC SIEMENS S MEASUREMENTS and CONTROL LAB Page 3 of 22

4 Figure 3.PLC SIEMENS S7-200 parts. PLC SIEMENS S7-200 has the following characteristics: Program 4096 words User data 2560 words User program storage type EEPROM Local I/O 14 In/10 Out Digital Inputs: I0.0-I0.7 and I1.0-I1.5 Digital Outputs: Q0.0-Q0.7 and Q1.0-Q1.1 Internal relays 256: M0.0-M31.7 Counters/Timers 256/256: C0-C255, T0-T255. Number of expansion modules 7 modules, types of expansion modules: Discrete Input / Output Analog Input / Output RTD / Thermocouple input PROFIBUS-DP slave AS-Interface master Ethernet Internet Modem Positioning Modules can be added directly next to the CPU, or in an extended arrangement with a 0.8m Expansion Cable, either with panel mounting or standard DIN rail mounting. DC input features Input type Sink/source (IEC type 1 sink). Input Voltage Maximum continuous 30 VDC. Surge 35 VDC for 0.5 s. Rated value 24 VDC at 4 ma, nominal. Logic 1 signal (minimum) 15 VDC at 2.5 ma, minimum. Logic 0 signal (maximum) 5 VDC at 1 ma, maximum. MEASUREMENTS and CONTROL LAB Page 4 of 22

5 DC output features Output specifications DC output Relay output Output type Solid State-MOSFET Relay, dry contact Permissible range 20.4 to 28.8 VDC 5-30VDC or 5-250VAC Rated value 24 VDC - Logic 1 at max. current 20 VDC, minimum - Logic 0 with 10 K W load 0.1 VDC, maximum - II. Digital expansion EM Points, 24 VDC Digital Output Module, see figure 4. III. Analog input/output module EM AI / 1 AO 12 bit, see figure 5. LADDER LOGIC: Figure 4. EM222. Figure 5. EM 235. It is a very popular graphical language for programming Programmable Logic Controllers (PLCs), Ladder Logic based on drawing electrical logic schematics to implement Boolean expressions. The Ladder Diagrams consists of graphic symbols, representing logic expressions, and contacts and coils, representing outputs. A program in ladder logic, ladder diagram, is similar to a schematic for a set of relay circuits. The relay circuits are usually drawn in the form of wiring diagrams that show the power source and the physical arrangement of the various components of the circuit (switches, relays, motors, etc.) as well as their interconnections. The wiring diagrams are used by technicians to do the actual wiring of a control panel. The Ladder Diagram is a widely used representation form for logical circuits. It represents a conventional wiring diagram in schematic form, without showing each electrical connection explicitly. In an LD each branch of the control circuit is shown on separate horizontal rows (the "rungs" of the "ladder"), between two vertical "Rails", see figure 6. MEASUREMENTS and CONTROL LAB Page 5 of 22

6 Figure 6. Rungs and Rails. Each branch reflects one particular function and the related sequence of operations. In this drawing frame it is implicitly assumed that one of the vertical lines is connected to a voltage source and the other to ground. Note that all the rungs of the ladder are "executed" simultaneously in a wiring diagram. In the LD are shown relay contacts that can be either of normally open or normally closed type (the normal state is the one in which the coil is not energized). The output consists of a relay (a coil) that could also symbolize a more complex circuit or a flip-flop. The drawing symbols for the switches and an actuator (relay) are shown in figure 7. Figure 7. DIN and the U.S. standards for symbols for (a) a normally open contact, (b) a normally closed contact, and (c) an output element. Normally Open Contact A normally open (NO) switch is one that normally prevents current and which allows current when it is actuated. In figure 8, normally the lamp is turnned OFF since the switch is Normally Open, it will turnned ON only if the switch is closed. Figure 8. A circuit consists of NO switch and Lamp. In figure 9, the equivalent circuit of the previous one in Ladder Logic Diagrams. MEASUREMENTS and CONTROL LAB Page 6 of 22

7 Normally Closed Contact Figure 9. A rung contains a NO contact and an output. A normally closed (NC) switch is one that normally allows current and which prevents current when it is actuated. In figure 10, normally the lamp is turnned ON since the switch is Normally Closed, it will turnned OFF only if the switch is activated. Figure 10. A circuit consists of NC switch and Lamp. In figure 11, the equivalent circuit of the previous one in Ladder Logic Diagrams. Figure 11. A rung contains a NC contact and an output. MEASUREMENTS and CONTROL LAB Page 7 of 22

8 Digital logic functions Using multiple contacts, simple and complex logic functions can be constructed easily. It is useful to use standard binary notation for the status of the switches and lamp (0 for un-actuated or de-energized; 1 for actuated or energized), a truth table can be made to show how the logic works: OR Gate Figure 12. OR. Now, the output will come on if either contact A or contact B is actuated, because all it takes for the lamp to be energized is to have at least one path for current from wire L1 to the wire L2. What we have is a simple OR logic function, implemented with nothing more than contacts and an output. AND Gate Figure 13. AND. MEASUREMENTS and CONTROL LAB Page 8 of 22

9 Now, the output energizes only if contact A and contact B are simultaneously actuated. A path exists for current from wire L1 to the wire L2, if and only if both switch contacts are closed. NOT Gate Figure 14. NOT. The logical inversion, or NOT, function can be performed on a contact input simply by using a normally-closed contact. Now, the output energizes if the contact is not actuated, and de-energizes when the contact is actuated. NAND Gate If we take our OR function and invert each "input" through the use of normally-closed contacts, we will end up with a NAND function. In a special branch of mathematics known as Boolean algebra, this effect of gate function identity changing with the inversion of input signals is described by DeMorgan's Theorem. Figure 15. NAND. MEASUREMENTS and CONTROL LAB Page 9 of 22

10 The output will be energized if either contact is un-actuated. It will go out only if both contacts are actuated simultaneously. NOR Gate Likewise, if we take our AND function and invert each "input" through the use of normallyclosed contacts, we will end up with a NOR function: Figure 16. NOR. A pattern quickly reveals itself when ladder circuits are compared with their logic gate counterparts: 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). MEASUREMENTS and CONTROL LAB Page 10 of 22

11 XOR Gate We can build combinational logic functions by grouping contacts in series-parallel arrangements, as well. In the following example, we have an Exclusive-OR function built from a combination of AND, OR, and inverter (NOT) gates: Figure 17. XOR. Latching If we have an electrical motor and a pushbutton for starting the motor, we can simply connect the pushbutton to one of the PLC's inputs and the motor to an output relay. The ladder will be as shown in figure 18. Figure 18. Pushbutton operates motor. But the problem here is that the output relay (motor) will turn off once you remove your finger from the pushbutton, but this is not the purpose of the pushbutton. To solve this problem, we need to latch the output in parallel to the push button, as shown in figure 19. MEASUREMENTS and CONTROL LAB Page 11 of 22

12 Figure 19. Latching. Now, when you activate the push button, the output relay will be energized, so the electrical motor will turn ON, at the same moment the normally open contact (Output Relay) will be activated. As a result, even if you hold the pushbutton the output relay will stay ON due to the other contact. But here the motor will stay ON forever; to stop it you need another pushbutton, let say Stop PB as shown in figure 20. Figure 20. Latching the start with stop pushbutton. Now, to stop the motor, all what you need to is pressing the stop pushbutton, so the output relay will disconnect the power of the motor. MEASUREMENTS and CONTROL LAB Page 12 of 22

13 HOW TO PROGRAM THE PLC: To program the PLC, we will use the STEP7-Micro/WIN software. 1. Turn the PC ON. 2. Turn the PLC ON. 3. Start V4.0 STEP 7 Micro WIN SP5. 4. Select View>>Ladder, see figure 21. Figure Form Bit Logic double click the normally open contact. MEASUREMENTS and CONTROL LAB Page 13 of 22

14 Figure Click on the red question marks, and rename the normally open contactor with a physical input name, I0.0-I0.7 or I1.0-I1.5, let us say I0.0. Figure Now from the Bit Logic, double click the output, and name it with a physical output name, Q0.0-Q0.7 or Q1.0-Q1.1, let us say Q0.0, the result rung will be as shown in figure 24. Figure 24. The result rung. 8. Select PLC>>Compile All; make sure that the "Total Errors" is zero. 9. Select PLC>>STOP to place the PLC in the stop mode. 10. To download the ladder diagram to the PLC, click download (shown to the right), the window for downloading appears as shown in figure 25, click download. MEASUREMENTS and CONTROL LAB Page 14 of 22

15 OUTPUT RELAY: Figure 25. Downloading window. 11. Now place the PLC in the run mode, by selecting PLC>>RUN. 12. Now the PLC is ready for use performing the function of the ladder diagram that you have drawn. You will use solenoids that operate using larger current than what the PLC can source, so you need output relays, as shown in figure 26. Figure 26. Relay's function. MEASUREMENTS and CONTROL LAB Page 15 of 22

16 MOTOR CONTROL CIRCUITS: One of the applications of the PLC is to control the direction of rotation for the 3-Phase Induction Motor, see figure 27. When you select M1, The sequence of phases will be A, B, C and that will occur forward rotation. But when you select M2, the sequence of phases will be B, A, C and that will occur reverse rotation. Figure 27. The circuit that is used to control the direction of rotation for 3-phase motor. To control the direction of rotation for this motor, you should connect the three phases into starter with two control signals (M1) and (M2). Figure 28. The ladder logic diagram to control the direction of rotation for 3-phase motor. MEASUREMENTS and CONTROL LAB Page 16 of 22

17 Note: The rung can contain many inputs, but should contain ONE output only. TIMERS/COUNTERS On-Delay Timer The On-Delay Timer (TON) instruction counts time when the enabling input is ON. When the current value (Txxx) is greater than or equal to the present time (PT), the timer bit is ON. The On-Delay timer current value is cleared when the enabling input is OFF. This timer continues counting after the Preset is reached, and it stops counting at the maximum value of Figure 28. TON. The timer shown in figure 28, will delay for 1000*1ms= 1000ms = 1 second then it will be activated ON. Figure 29. (a) Ladder logic diagram for on-delay timer. (b) the timing diagram. Here when you activate the input I0.0, the timer T37 starts delaying time, until it reaches 1000ms, then T37 bit turns ON, hence Q0.0 will be ON. As a result Q0.0 will be activated after 1 second activating I0.0. MEASUREMENTS and CONTROL LAB Page 17 of 22

18 Off-Delay Timer The Off-Delay Timer (TOF) is used to delay turning an output OFF for a fixed period of time after the input turns OFF. When the enabling input turns ON, the timer bit turns ON immediately, and the current value is set to 0. When the input turns OFF, the timer counts until the elapsed time reaches the preset time. When the preset is reached, the timer bit turns OFF and the current value stops counting. If the input is OFF for a time shorter than the preset value, the timer bit remains ON. The TOF instruction must see an ON to OFF transition to begin counting. Figure 30. TOF. Figure 31. (a) Ladder logic diagram for off-delay timer. (b) The timing diagram. Here when you switch the input I0.0 OFF, the timer T33 will delay for 1000ms before the T33 bit turns OFF. Notes: You cannot share the same timer numbers for TOF and TON. For example, you cannot have both a TON T32 and a TOF T32. The Reset (R) instruction can be used to reset any timer. The Reset instruction performs the following operations Timer Bit = OFF and Timer Current = 0 TON, TONR, and TOF timers are available in three resolutions. The resolution is determined by the timer number as shown in the chart below. Each count of the current value is a multiple of the time base. For example, a count of 50 on a 10-ms timer represents 500 ms. MEASUREMENTS and CONTROL LAB Page 18 of 22

19 Timer Type Resolution Maximum Value Timer Number TON, TOF 1 ms s T32, T96 10 ms s T33-T36, T97-T ms s T37-T63, T101-T255 Count Up Counter The Count Up (CTU) instruction counts up from the current value each time the count-up input CU makes the transition from off to on. When the current value (Cxxx) is greater than or equal to the Preset Value (PV), the counter bit (Cxxx) turns on. The counter is reset when the Reset (R) input turns on, or when the Reset instruction is executed. The counter stops counting when it reaches the maximum value (32,767). Counter ranges: Cxxx=C0 through C255 Count Down Counter The Count Down (CTD) instruction counts down from the current value of that counter each time the count down input CD makes the transition from off to on. When the current value Cxxx is equal to zero, the counter bit (Cxxx) turns on. The counter resets the counter bit (Cxxx) and loads the current value with the preset value (PV) when the load input (LD) turns on. The Down Counter stops counting when it reaches zero, and the counter bit Cxxx turns on. Counter ranges: Cxxx=C0 through C255 Figure 32. (a) Ladder logic diagram for Count Down Counter. (b) The timing diagram. MEASUREMENTS and CONTROL LAB Page 19 of 22

20 Procedure and Results Note 1. The rung can contain many inputs, but should contain ONE output only. 2. Let the Engineering staff check what you have achieved 1. Program the PLC with ladder diagram that do all the following logical functions: o Q0.1 = NOT I0.1 o Q0.2 = I0.2 (OR) I0.3 o Q0.3 = I0.4 (AND) I0.5 o Q0.4 = I0.6 (NAND) I0.7 o Q0.5 = I1.0 (NOR) I1.1 o Q0.6 = I1.2 (XOR) I1.3 Check the results: I0.1 Q I0.2 I0.3 Q I0.4 I0.5 Q I0.6 I0.7 Q I1.0 I1.1 Q I1.2 I1.3 Q Now build a new ladder diagram for turning the output Q0.0 ON when you activate the start pushbutton I0.0, and stop when you activate the pushbutton I0.1, recall figure 20. Check the results (keep the sequence): I0.0 I0.1 Q Program the PLC with the ladder diagram in figure (28). Check the results (keep the sequence): I0.0 I0.1 Q0.0 Q Draw the same ladder in step.3 again but add a new pushbutton (STOPM) that will stop the motor whenever the user activates it. Program the PLC with the new ladder diagram, after adding STOPM. Check the results (keep the sequence): MEASUREMENTS and CONTROL LAB Page 20 of 22

21 I0.3 I0.0 I0.1 Q0.0 Q0.1 (stop) Now program the PLC to do the following sequence: When you press the pushbutton (I0.0), (Q0.0) activated immediately, for 5 seconds, then it turns OFF. After it turns off, wait 10 seconds, and then turn Q0.1 ON. Check the results (keep the sequence): I0.0 Q0.0 Immediately Q0.0 After 5 seconds Q0.1 Immediately Q0.1 After 10 seconds 6. Now program the PLC to do the following sequence: When activating the pushbutton I0.0 five times, the output Q0.0 turns ON. When activating the pushbutton I0.1, Q0.0 turns OFF, pushing I0.1 one more time Q0.0 turns ON again. Check the results (keep the sequence): I0.0 I0.1 Q0.0 Pushed 1,2,3 and 4 times 0 Pushed 5 times 0 Pushed 5 times Pushed 1 time Pushed for the second time What will happen if Q0.0 has been already Off and pushed I0.1 once or twice? Program the PLC to do the following sequence: 1. Push I0.0 pushbutton. 2. Delay 5 seconds. 3. Q0.0 turns ON, for 3 seconds, then turns OFF. 4. Q0.1 turns ON, for 2 seconds, then turns OFF. 5. Repeat steps 2-4 four times. Check the results (state what output is changing at each second): MEASUREMENTS and CONTROL LAB Page 21 of 22

22 time (sec) I0.0 is Off I0.0 is ON Questions Q1) Describe the sequence of ladder diagram in figure (28). Q2) What is the type of interlock that the diagram contains in Q1? Describe. Q3) Is the PLC programs working when you shut the computer down? MEASUREMENTS and CONTROL LAB Page 22 of 22

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

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

Analog Inputs and Outputs PLCs must also work with continuous or analog signals. Typical analog signals are 0-10 VDC or 4-20 ma. Analog signals are used to represent changing values such as speed, temperature,

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

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

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

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 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

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

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,

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

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:

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

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

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

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

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

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

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

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

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

Specifications for EM223 24 VDC 4 In/4 Out and EM223 24 VDC 4 In/4 Relay Out

SIMATIC S7-200 EM223 Digital Combination Modules EM223 2 VDC In/ Out and EM223 2 VDC In/ Relay Out Table 1 Specifications for EM223 2 VDC In/ Out and EM223 2 VDC In/ Relay Out EM223 2VDC In/Out 6ES7 2231BF200XA0

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 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

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

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

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

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

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

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 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

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

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

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

Data Sheet SIMATIC S7-200 CPU 226 DC/DC/DC and CPU 226 AC/DC/Relay

SIMATIC S7-200 and Table 1 Specifications for and Physical Size Dimensions (W x H x D) Weight Power loss (dissipation) CPU Features On-board digital inputs On-board digital outputs High speed counters

2. PROGRAMMABLE LOGIC CONTROLLERS

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

STEP 7 MICRO/WIN TUTORIAL. Step-1: How to open Step 7 Micro/WIN

STEP 7 MICRO/WIN TUTORIAL Step7 Micro/WIN makes programming of S7-200 easier. Programming of S7-200 by using Step 7 Micro/WIN will be introduced in a simple example. Inputs will be defined as IX.X, outputs

University of Oulu Department of Process and Environmental Engineering Systems Engineering Laboratory

University of Oulu Department of Process and Environmental Engineering Systems Engineering Laboratory 477021A Laboratory Exercises of Process Engineering Programmable Logic Controller in a dosing process

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,

PROGRAMMABLE LOGIC CONTROLLERS AND LADDER LOGIC

PROGRAMMABLE LOGIC CONTROLLERS AND LADDER LOGIC Submitted to Dr. Alfred R. Boysen Department of Humanities South Dakota School of Mines and Technology Technical Communications I By Greg P. Zimmerman April

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

A.4 Specifications for the CPU 224

A.4 Specifications for the CPU 224 Specifications for and Physical Size Dimensions (W x H x D) Weight Power loss (dissipation) CPU Features On-Board digital inputs On-Board digital outputs High speed counters

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/,

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

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

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

S7-200 Micro PLCs. The model description indicates the type of CPU, the power supply, the type of input, and the type of output.

S7-200 Micro PLCs The S7-200 Micro PLC is the smallest member of the SIMATIC S7 family of programmable controllers. The central processing unit (CPU) is internal to the PLC. Inputs and outputs (I/O) are

Module 3 Digital Gates and Combinational Logic

Introduction to Digital Electronics, Module 3: Digital Gates and Combinational Logic 1 Module 3 Digital Gates and Combinational Logic INTRODUCTION: The principles behind digital electronics were developed

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

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

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

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,

How to read this guide The following shows the symbols used in this Quick start guide with descriptions and examples. Symbol Description Example P oint Reference Caution [ ] This symbol explains information

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

EASTERN MEDITERRANEAN UNIVERSITY FACULTY OF ENGINEERING DEPARTMENT OF MECHANICAL ENGINEERING. Course IE-447. Assoc. Prof. Dr.

EASTERN MEDITERRANEAN UNIVERSITY FACULTY OF ENGINEERING DEPARTMENT OF MECHANICAL ENGINEERING Programmable Logic Controller (PLC) Course IE-447 Assoc. Prof. Dr. Majid Hashemipour Outline: 1.Intorduction

Chapter II Programmable Logic Controller

Chapter II Programmable Logic Controller Programmable logic controller hardware parts Based on section 1.4, a PLC is nothing more than a computer (device), tailored specifically for certain control tasks

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

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

File: chap04, Chapter 04 1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1. 2. True or False? A gate is a device that accepts a single input signal and produces one

Ladder Interface Software Manual Version 1.0 beta 01/09

Ladder Interface Software Manual Version 1.0 beta 01/09 Galil's Ladder Interface Software is a software tool for the RIO-471x0 compact PLC. The software converts a relay Ladder Logic program into code

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,

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 1 INTRODUCTION TO PROGRAMMABLE LOGIC CONTROLLERS

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

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

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

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.

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

L12 - The Guardmaster 440C-CR30 Software Configurable Safety Relay Training Demo Lab. For Classroom Use Only!

L12 - The Guardmaster 440C-CR30 Software Configurable Safety Relay Training Demo Lab For Classroom Use Only! Important User Information This documentation, whether, illustrative, printed, online or electronic

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

Chapter 4. Gates and Circuits. Chapter Goals. Chapter Goals. Computers and Electricity. Computers and Electricity. Gates

Chapter Goals Chapter 4 Gates and Circuits Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors Combine basic gates into circuits Describe the

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:

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

SECTION PROCESS INSTRUMENTATION AND CONTROL SYSTEM PROGRAMMABLE LOGIC CONTROLLERS

SECTION 13311 - PROCESS INSTRUMENTATION AND CONTROL SYSTEM PROGRAMMABLE LOGIC CONTROLLERS PART 1 - GENERAL 1.01 WORK INCLUDED A. This Section covers work related to the Programmable Logic Controllers (PLC)

Switch Actuator, 8-fold, 10 A, MDRC AT/S 8.10.1, GH Q631 0075 R0111

, GH Q631 0075 R0111 The 8-fold switch actuator is a DIN rail mounted device for insertion in the distribution board. It is connected to the EIB via a bus terminal. In the event of bus voltage failure,

DIGITAL SYSTEM DESIGN LAB

EXPERIMENT NO: 7 STUDY OF FLIP FLOPS USING GATES AND IC S AIM: To verify various flip-flops like D, T, and JK. APPARATUS REQUIRED: Power supply, Digital Trainer kit, Connecting wires, Patch Chords, IC

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

INDEX. Cables Operator Interface, 2 15 Programming Device, 2 15

INDEX A Accessing AUX Functions via direct entry, A 3 via DirectSOFT 5, A 3 via the Handheld Programmer, A 3 Accumulating Fast Timer Instruction, 5 38 Accumulating Timer Instruction, 5 38 Accumulator /

AE8-1328 R5 March 2011. Copeland Digital Compressor Controller AE8-1328 R5. Specifications

AE8-1328 R5 March 2011 Copeland Digital Compressor Controller Introduction The Digital Compressor Controller is the electronics interface between the Copeland Scroll Digital compressor or the Copeland

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

ABB i-bus EIB Logic Module LM/S 1.1

Product Manual ABB i-bus EIB Logic Module LM/S 1.1 Intelligent Installation System Contents page 1 General... 3 1.1 About this manual... 3 1.2 Product and functional overview... 3 2 Device technology...

TC30P - Pre-Instructional Survey

TC30P - Pre-Instructional Survey Name: Date: 1. What is the purpose of the battery back up? a. To operate the process for a short period of time upon loss of power. b. To maintain the contents of the RAM

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

Gates, Circuits, and Boolean Algebra

Gates, Circuits, and Boolean Algebra Computers and Electricity A gate is a device that performs a basic operation on electrical signals Gates are combined into circuits to perform more complicated tasks

Computer Systems Lab 1. Basic Logic Gates

Computer Systems Lab Basic Logic Gates Object To investigate the properties of the various types of logic gates, and construct some useful combinations of these gates. Parts () 700 Quad -input NAND gate

Basics of Digital Logic Design

CSE 675.2: Introduction to Computer Architecture Basics of Digital Logic Design Presentation D Study: B., B2, B.3 Slides by Gojko Babi From transistors to chips Chips from the bottom up: Basic building

SUBJECT: How to wire a motor starter Number: AN-MC-004 Date Issued: 2/08/2005 Revision: Original

SUBJECT: How to wire a motor starter Number: AN-MC-004 Date Issued: 2/08/2005 Revision: Original A motor starter is a combination of devices to allow an induction motor to start, run and stop according

Technical Training Module ( 30 Days)

Annexure - I Technical Training Module ( 30 Days) Section 1 : Programmable Logic Controller (PLC) 1. Introduction to Programmable Logic Controller - A Brief History, Need and advantages of PLC, PLC configuration,

SIMATIC. S7-1200 Getting started with S7-1200. Preface. Quick review 1. Installation 2. Create a simple latch circuit 3. Complete the user program 4

Preface S7-1200 SIMATIC S7-1200 Getting Started Quick review 1 Installation 2 Create a simple latch circuit 3 Complete the user program 4 Use a watch table for monitoring 5 11/2009 A5E02486791-01 Legal

KBMS PROGRAMMABLE RELAYS

Relay Output x 4 QUICK START MANUAL KBMS PROGRAMMABLE RELAYS L1 L2(N) I1 I2 I3 I4 I5 I6 85~265 VAC AC Input x 6! See Safety Warning on page 4 KBMS-10MR-A P/N 16020 The information contained in this manual

Chapter 1: Introduction to PLCs. Computer Aided Manufacturing TECH 4/53350 1

Chapter 1: Introduction to PLCs Computer Aided Manufacturing TECH 4/53350 1 Intro to PLC Learning objectives Two ways to categorize a control system Overview of PLCs Differences between PLC, relay and

COMPUTERS AND LOGIC CIRCUITS

COMPUTERS AND LOGIC CIRCUITS Dealing with computers can seem overwhelming for those who are accustomed to working with mechanical systems. Since we cannot actually see what is going on inside the computer

SCE Training Curriculum for Integrated Automation Solutions Totally Integrated Automation (TIA)

SCE Training Curriculum for Integrated Automation Solutions Totally Integrated Automation (TIA) Siemens Automation Cooperates with Education TIA Portal Module 010-030 IEC Timers and IEC Counters at the

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

(Or Gate) (And Gate) (Not Gate)

6 March 2015 Today we will be abstracting away the physical representation of logical gates so we can more easily represent more complex circuits. Specifically, we use the shapes themselves to represent

ECET 4530. Industrial Motor Control. RS Logix Example Problem. RS Logix Problem Statement

ECET 4530 Industrial Control RS Logix Example Problem RS Logix Problem Statement Given a simple PLC-controlled conveyor that will be used to transport a box back-and-forth between the conveyor s ends;

Application Note Interfacing AC Drives with Safety Relays

Purpose The intent of this document is to provide typical examples of how to interface AC Drives with safety relays. This document will not describe machine guarding safety or risk assessment, which are

Straton and Zenon for Advantech ADAM-5550 Copalp integrates the straton runtime into the ADAM-5550 device from Advantech Project Introduction: Programmable Application Controllers (PAC) are powerful and

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

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