Figures 2 and 3 illustrate respectively a photograph and a labelled diagram of the PLC that will be discussed in this class.

Similar documents
1. PLC - Introduction

Programmable Logic Controller

Introduction. Upon completion of Basics of PLCs you should be able to: Identify the major components of a PLC and describe their functions

Topics. PLC Fundamentals Ladder Logic Fundamentals

Question & its answer Remark Total marks 01 Attempt any THREE 12. a) State any three different tools used for Automation. 04 Ans.

-----other notes This picture was taken from here:

Standard Instructions Special Instructions High-Speed Instructions SIMATIC S7-200 Programmable Controller System Manual

PLC CODE ANALISYS FOR SIMILARITY. Olivér Hornyák and Gábor Sáfrány

Laboratory Learning Objectives

EDEXCEL NATIONAL CERTIFICATE/DIPLOMA SELECTION AND APPLICATIONS OF PROGRAMMABLE LOGIC CONTROLLERS UNIT 25 - NQF LEVEL 3 OUTCOME 2 - PROGRAMMING

Pretest Programmable Logic Controllers. Unit 1, Task 1

MET 487 Instrumentation and Automatic Control. Topics of Discussion

output devices. connected to the controller. data communications link. relay systems. user program. MECH1500Quiz1ReviewVersion2 Name: Class: Date:

Ch 9 Discrete Control Using PLCs and PCs

PLC control system and HMI in the Pharmaceutical World

Programmable Logic Controllers

An OR Operation. Or (O) Function I0.4 Q0.1 I0.5 I0.5 I0.4 Q0.1. Input 3. Input 4. Output 2

MFS605/EE605 Systems for Factory Information and Control

CM 3310 Process Control, Spring Lecture 18

INDUSTRIAL POWER GROUP DEPT.OF ELECTRICAL ENGINEERING NIT CALICUT

PLC Fundamentals. Module 1: Introduction to PLC. Academic Services Unit PREPARED BY. August 2011

Further Programmable Logic Controllers (PLCs)

PLC Fundamentals. Module 3: Programming with Function Blocks. Academic Services Unit PREPARED BY. August 2011

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

Simple Ladder Logic. Simple Ladder Logic. OR Operation. Chapter 2: Basic Ladder Logic Programming. Ladder Logic Learning objectives.

Combinational and sequential systems. Prof. Cesar de Prada Dpt. of Systems Engineering and Automatic Control UVA

Programmable Logic Controller

Ladder Logic Diagram For Washing Machine Compax

Sample. Pearson BTEC Levels 4 Higher Nationals in Engineering (RQF) Unit 15: Automation, Robotics and Programmable Logic Controllers (PLCs)

EEET 2204 Industrial Automation

Introduction. Upon completion of Basics of PLCs you should be able to: Identify the major components of a PLC and describe their functions

PLC Programming. Ladder Diagrams

Programmable Logic Controllers

Industrial Automation

CTEET003_Programmable Logic Controls CTAG Rubric EET. Some applied skills present

Project Planning. Module 4: Practice Exercises. Academic Services Unit PREPARED BY. August 2012

Introduction to Programmable Logic Controllers (PLC's)

Answers to Chapter 2 Review Questions. 2. To convert controller signals into external signals that are used to control the machine or process

ADVANCED TRAINING INSTITUTE, HYDERABAD

PROGRAMMABLE LOGIC CONTROLLERS LAB ELEC 2141

Microprocessors/Microcontrollers

PLC AUTOMATION USING VHDL PROGRAMMING

PROGRAMMABLE LOGIC CONTROLLER

High School PLTW Digital Electronics Curriculum

Lesson 14. Title of the Experiment: Introduction to Microcontroller (Activity number of the GCE Advanced Level practical Guide 27)

Exercise 7. Controlling a Filling Line with a PLC EXERCISE OBJECTIVE

ELECTRICAL CONTROL SYSTEMS 1

9/7/2010. Chapter , The McGraw-Hill Companies, Inc. MOTOR SYMBOLS. 2010, The McGraw-Hill Companies, Inc.

Development of Virtual Machine for Programmable Logic Controller (PLC) by Using STEPS Programming Method

1 Discrete/Sequence Control

INITIAL FACE OF AUTOMATION PROGRAMMABLE LOGIC CONTROLLER

State machines with CODESYS: Clever usage of language properties CODESYS Users' Conference 2014, Manfred Werner

PLC Fundamentals. Module 3: Programming with Function Blocks. Academic Services Unit PREPARED BY. January 2013

NATIONAL CERTIFICATE (VOCATIONAL) ELECTRONIC CONTROL AND DIGITAL ELECTRONICS NQF LEVEL 3 NOVEMBER 2010

PROGRAMMABLE LOGIC CONTROLLERS. Wiley USING CODESYS A PRACTICAL APPROACH TO IEC. Dag H. Hanssen Institute of Engineering and Safety,

PLC COURSE LIST NMU TRAINING CENTRE

Schneider Training Center. Course catalogue 8/13/2018

PLC. Module 3: Hardware and Terminology. IAT Curriculum Unit PREPARED BY. Jan 2010

Automation of Conveyor System and Process Control with Power Reduction Using Efficient PLC Programming and SCADA

the absence of a signal. produce a result at one or more of their outputs. parallel. Y= AB. interconnected. connected. changed.

PLC Training - Intermediate

Initial Face of Automation Programmable Logic Controller

L12 - Basic PLC Programming with Micro800 Controllers Hands-on Lab

Fundamentais of Programmable Logic Controllers, Sensors, and Communications. Jon Stenerson

CUSTOMIZED TEACHER ASSESSMENT BLUEPRINT. Test Code: 5936 Version: 01


University of Technology Control and System Engineering Department Computer and Mechatronics Engineering Branches

Steam Boiler Automation Using Programmable Logic Controller

International Journal of Modern Trends in Engineering and Research e-issn No.: , Date: April, 2016

Function Block Diagram Programming with PLC Tutorial

Branch PLC. Velocio s Branch PLC

IEC Why the IEC standard was developed, The languages and concepts defined in the standard, How to obtain further information

High Power Three Phase Motor Control Using PLC Siemens S 7-300

Function Block Diagram Programming with PLC Tutorial

PLC Fundamentals. Module 2: Hardware and Terminology. Academic Services Unit PREPARED BY. August 2011

PLC: introduction. PLC: introduction. PLC: application. PLC: application

Electronic Control systems are also: Members of the Mechatronic Systems. Control System Implementation. Printed Circuit Boards (PCBs) - #1

To program and test PLC ladder programs that use timer instructions. Timer Instructions of the Trainer PLC. the timer-on-delay (TON) instruction;

LAB 10 INTRODUCTION TO LADDER LOGIC PROGRAMMING. 2 Lab Equipment 2.1. CLICK Series Micro Programmable Logic Controller (PLC)

Plc Ladder Logic Diagram For Car Parking

Control System Implementation

Industrial Automation (Automação de Processos Industriais)

InstrumentationTools.com

XC Series PLC Hardware Manual

L05 Programmable logic controller

Introduction to PLC Systems

Basics of Industrial Electricity and Troubleshooting Electrical Control Circuits

MODULE: PLC PROGRAMMING

CHAPTER TWO LITERATURE REVIEW AND THEORETICAL BACKGROUND

Programmable Logic Controllers. Second Edition

Answers to Chapter 2 Review Questions. 2. To convert controller signals into external signals that are used to control the machine or process

1 of 8. I. (13pts) TRUE OR FALSE

PLC Fundamentals. Module 1: Introduction to PLC. Academic Services Unit PREPARED BY. January 2013

Simulation & Hardware Implementation of PLC Based Star- Delta Starter

Scientech Universal PLC Platform. Features. New

Finite State Machine Lab

Basic WorkflowChapter1:

Basic WorkflowChapter1:

General information. Display. Supply voltage. Input current. Encoder supply. Output current

Supply voltage. Input current. Encoder supply. Memory

Transcription:

Lesson 15 Title of the Experiment: Programmable Logic Controllers (Activity number of the GCE Advanced Level practical Guide 27) Name and affiliation of the author: N W K Jayatissa Department of Physics, University of Kelaniya Introduction As we introduced in the previous section microprocessors can be used to control machines and processes. For example automatic washing machines use microprocessor based control system. A programmable logic controller (PLC) is a special form of microprocessor based controller that uses a programmable memory to store instructions and to implement functions such as logic, sequencing, timing, counting and arithmetic in order to control machines and processes. PLC s are designed to be operated by engineers with perhaps a limited knowledge of computers and computing languages. The term logic is used because programming is primarily concerned with implementing logic and switching operations. PLC s are optimized to control industrial environment. Some advantageous of using PLC s are; PLC is designed to withstand vibration, temperature, noise in an industrial environment Inbuilt interface for input and output devices Programing language is based on logic and switching operations (easy to understand) Similar to the microcontroller, PLC consists of a CPU, memory and I/O interface. A programmer (programming device) and power supply for a PLC are also attached to the system. The I/O interface in the PLC system was designed to deliver high current to operate a relay switch or similar device. Two or more PLC s can be connected using communication interface of the PLC. This helps to establish supervisory systems to monitor all processes from one place. A block diagram of PLC system is shown in figure 1. Figure 1: Block diagram of a PLC Generally PLC might have 6,8,12 or 24 inputs and 4, 8 or 16 outputs with a memory. Several discrete elements can be connected to the PLC such as push buttons, selector switches, relay contacts, level switches, limit switches and various sensors. Figures 2 and 3 illustrate respectively a photograph and a labelled diagram of the PLC that will be discussed in this class. 95

Figure 2: Picture of PLC Figure 3: Labeled diagram of PLC Introduction to Ladder Programming The IEC 1131-3 is the international standard for ladder programming. The IEC 1131-3 programming languages are ladder diagrams (LAD), instruction list (IL), sequential function charts (SFC), structured text (ST), and function block diagrams (FBD). PLC can be programed using List or Ladder method but in this course only consider the ladder programing. In addition to that functional block programming 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. A simple ladder diagram controlled by a hand switch is shown in figure 4. 96

Figure 4: A simple ladder diagram The L 1 and L 2 are referring to the supply rails and has no relation with the standard inductor symbol (L). In this notation L 1 is the live (hot) conductor and L 2 is the neutral (grounded) conductor. The power lines, or rails as they are often termed, are like the vertical sides of a ladder with the horizontal circuit lines like the rungs of the ladder. The horizontal rungs show only the control portion of the circuit. In this way any electrical circuit can be represented by a ladder diagram. Figure 5 illustrates analogue between these two circuits. Figure 5: An analogue between circuit diagram and ladder diagram A ladder diagram is read from left to right and top to bottom. PLC reading starts from left side of the first rung and after the first rung reading of the second rung starts from the left side. Figure 6: Reading pattern of ladder diagram The reading pattern is shown in figure 6. A last or end rung is designated by END or RET. The program is returned back if it is denoted as RET. Each rung must be started with one or more inputs and end with at least one output. In any type of PLC, input and output devices are labeled according to the IEC-1131-3 symbols as shown in figure 7. 97

Figure 7: Symbols used in ladder diagrams PLC manufacturer provides output and input labels with the product. This label represents the memory address of a particular device. The PLC module used in this experiment, input relay starts with X followed by octal number (X000 to X007). First zero (MSB) explains that the system contains only a base unit. When the system contains more than one module X100 refers to the address of the first module and X200 refers the address of the second module and so on. In a similar way the output relays are denoted by symbol Y. Figure 8: Ladder diagram with input and output devices In the above diagram (figure 8), Y001 provides an output only when X001 is activated otherwise Y002 provides an output. Like input and output denoted by X and Y there are a few other device ID s incorporated with the PLC. Please read the following table, it shows other possible device ID s related to PLC. Specific prefix and memory address for each item. As example counters start with C and timers starts with T and the address (table 1). Example 1 In the following example (figure 9), a program test lamp is switched on when the pump is running and the pressure is satisfactory or the test switch is closed. Figure 9: Ladder diagram for example 1 98

Table 1: Mnemonics used in ladder programing Experiment 1 Standard logic functions There are many control situations requiring actions to be initiated when certain combinations of conditions are realized. Standard logic functions are the fundamental building blocks of any logic control device. Learning outcome: At the end of the experiment, the student will be able to implement logic gates and demonstrate logic operations using PLC. 99

Procedure: Connect the PLC into the computer. Power the PLC and draw the following ladder circuits one by one. Physical diagram Ladder equivalent (a) (b) (c) Ladder circuit (d) Ladder circuit 100

Observations: (a) (b) (c) (d) Conclusions: Circuit (a) Circuit (b) Circuit (c) Circuit (d) 101

Experiment 2 Output device control Output is on as long as the push button is pressed. Learning outcome: At the end of the experiment, the student will be able to demonstrate skills on operating output devices attached to the PLC. Procedure: Connect the power supply to the L, N terminals. Connect COM terminal on basic units and expansion together. Note that 24V, COM is a power supply which can deliver 400mA/DC24V therefore do not connect 24V to these terminals. Connect the push button to the input and indicator lamp to the output as shown in figure 10. Figure 10: Circuit diagram for Experiment 2 Draw a ladder diagram which can light the lamp as long as you press the push button. Download the program to the PLC and run the program. Observations 102

Conclusion Experiment 3 Output device control with timer Objective: The output lamp should light 5s and switch off once the push button is pressed. Learning outcome: At the end of the experiment, the student will be able to demonstrate skills on controlling output devices with inbuilt PLC timer modules. Procedure: In this practical, use the same wiring diagram used in the previous experiment. Design the ladder circuits as shown in the diagram and download it to the PLC. Change the timer values and observe the difference. Observations Conclusion Experiment 4 Output device control with loop Objective: Output lamp should on and off continuously once the push button is pressed. Procedure: Do not change the wiring diagram. Design the ladder circuits as shown in figure 10 and download it to the PLC. Change the timer values and observe the difference. (Hackworth & Hackworth, 2004) (Listo, 2013) (Thinget, 2009) Learning outcome: At the end of the experiment, the student will be able to demonstrate skills on controlling output devices with closed loop program. 103

Observations Conclusion References Hackworth, J., & Hackworth, F. (2004). Programable Logic Controllers; Programing methods and applications, ebook. Listo. (2013). XC series PLC software manual; Listo Ltd; Nothern Ireland. Thinget. (2009). XC series programable controler user manual; Xinje Electronic co. Ltd. 104