Introduction to Programmable Logic Controllers (PLC's)

Save this PDF as:
 WORD  PNG  TXT  JPG

Size: px
Start display at page:

Download "Introduction to Programmable Logic Controllers (PLC's)"

Transcription

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 the operation of systems such as a chemical processing plants. For this, they have several input ports. These measure the status of the outside world, such as recording when a car enters a parking lot or the temperature of a room. They also have several output ports. These serve to control valves, heaters, motors, or other devices. Most controllers used by industry are PLC's. Some of the reasons for this are that PLC's are off-the-shelf controllers which require no custom designs Should a PLC fail, it can be replaced with another off-the-shelf PLC resulting in minimal down time PLC's are programmed using a symbolic language called "ladder logic." This allows the operator to change the program as nee be. Microprocessor-based controllers, on the other hand, are more difficult to program as anyone who has had an assembler course can tell you. PLC's are programmed. Changing the function of the controller simply requires you to change the program. Hardware controllers are more difficult and expensive to change since they would require a new hardware design. Likewise, the following four labs serve to introduce the students to what PLC's are, how they operate, and what some of the functions are. 1

2 PicoSoft ver 6 (40.2Mb) Videos & Tutorials Basic PICO Controllers by Robert Roach Basic Counters with PICO Controllers by Robert Roach Basic Timers with PIC Controllers by Robert Roach Notation: Ladder logic is a graphical way to implement a program. The notation is as follows: On the left side of the screen is a power bus. On the right side is ground. If you connect an output from power to ground, it turns on. "On" in this case means The variable is logic '1' if it's an internal memory location, The output relay is closed if it's an output pin Power +24V Current Output ON Current > 0 Ground You can represent AND and OR gates by adding switches in series and parallel. For example, in the following diagram, Output #1 is ON if switch A and B are closed. Output #2 is ON if switch A or B is closed 2

3 +24V 0V rung #1 A B Out 1 rung #2 A Current Out 2 rung #3 B Outputs (far right column) Switches Each line of a ladder logic program is called a rung. Anything appearing before the last column is interprited as a switch: Logic 1 means the switch is closed, Logic 0 means the switch is open Anything in the last column is interprited as an output relay Logic 1 means the relay is closed. If you connect a light from power to ground through the relay, the light turns on at logic 1 Logic 0 means the relay is open (current = 0). Ladder logic came out begore graphical displays. As a result, keyboard symbols are used to represent relays and switches as follows: ( ) A relay (must be in the last column) A switch that is normally open (cannot be in the last column) / A normally closed switch. Can also be interprited as "not X" Outputs can be used as a switch by placing that variable on the left. If used in this way, it means "if output X is true and..." For example, the above ladder logic program would actually look like the following on a computer with a character display A B O ( )--- A O ( )--- B

4 or as followign in Picosoft 6 PicoSoft 6 Simulation When you run PicoSoft 6, if you select Circuit Diagram, you get the above display. The items on the top left are your options: I: Inputs. These are variables which are tied to external pins on the PLC where +24V means logic 1 (switch closed), 0V means logix 0 (switch open). O: Outputs. These are variables which are tied to the relay outputs. Logic 1 means switch closed (you can hear a "ping" when the switch closes). Logic 1 means the relay is open. M: Memory. These are variables which are not tied to the input or output pins on the PLC. They are simply various memory locations you can use for internal variables in your program. P: - don't know what this is C: A counter. These will be covered later T: A timer. These will be covered later as well. To input your circuit, drag and drop the component. When you do, you will have the option to define which input / output / memory location this is (0 to 999) as well as whether it is normally open (make) or closed (break) (i.e. A ot A') To connect the elements, click on the draw icon and connect up the circuit. To run your simulation, click on the Simulation button on the lower left corner. Under Inputs, you have various options: 4

5 The I/R functions tell you what kind of switch col 1: col 2: col 3: col 4: I Inputs: Momentary switch that is normally closed Momentary switch that is normally open On/off switch that is closed on reset On/off switch that is open on reset. Clicking on the button simulates applying +24V to the input pin If a momentary switch, the voltage is applied only as long as you hold down the left mouse button. If an on/off switch, the switch toggles each left click of the mouse. Ladder Logic Do's and Don'ts All outputs belong at the top of the program. Each output should appear only once. Ladder Logic Examples: From above, you can implement AND, OR, NOT. Given these, you can implement any program. Clock Pulse: Example: Write a program to generate a clock pulse (a variable which pulses high momentarily each time it sees a rising edge) 5

6 D flip flop Q = Q CLK' + D CLK Ring Counter: Write a ladder-logic program which rotates states every time you press a button (4-element ring counter) 6

7 00 CLK 01 CLK 11 CLK 10 M1 : M2 A B C D CLK Assume we're using D flip flops (i,e, use the previous solution). The logic for the D states are: D1 M2 D2 M M M From this D1 = M2 D2 = M1' A ladder-logic program is then: 7

8 If you want this to drive a starter tree for a race track, define four outputs: Q1 (red) M1' M2' Q2 (yellow 1) M1' M2 Q3 (yellow 2) M1 M2 Q4 (green) M1 M2' Add four rungs at the top (outputs come first) 8

9 9

Introduction to Programmable Logic Controllers (PLC's)

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

More information

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

More information

Programming A PLC. Standard Instructions

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

More information

CHAPTER 10: PROGRAMMABLE LOGIC CONTROLLERS

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

More information

Programmable Logic Controllers

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

More information

Introduction to LogixPro - Lab

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

More information

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

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

More information

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Objectives: Analyze the operation of sequential logic circuits. Understand the operation of digital counters.

More information

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

More information

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

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

More information

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

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

More information

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

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

More information

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

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

More information

In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the current

In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the current Module 12 In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the current inputs. The following topics will be on sequential

More information

Programming Logic controllers

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,

More information

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

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

More information

LAB 11 LADDER LOGIC PROGRAMMING WITH FINISH FLAGS

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.

More information

Basics of PLC Programming

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

More information

CHAPTER 11: Flip Flops

CHAPTER 11: Flip Flops CHAPTER 11: Flip Flops In this chapter, you will be building the part of the circuit that controls the command sequencing. The required circuit must operate the counter and the memory chip. When the teach

More information

CHAPTER TEN. 10.1 New Truth Table Symbols. 10.1.1 Edges/Transitions. Memory Cells

CHAPTER TEN. 10.1 New Truth Table Symbols. 10.1.1 Edges/Transitions. Memory Cells CHAPTER TEN Memory Cells The previous chapters presented the concepts and tools behind processing binary data. This is only half of the battle though. For example, a logic circuit uses inputs to calculate

More information

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

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

More information

Creating Relay Logic Diagrams

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

More information

Programmable Logic Controller

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

More information

Programmable Logic Controllers

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

More information

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

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

More information

Building an Example Program

Building an Example Program 6 Building an What You Will Learn The pages that follow will explain how to do the following: create a project use the tool palette to enter instructions and build a ladder program use hot keys to work

More information

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential

More information

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop. Objectives Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop. describe how such a flip-flop can be SET and RESET. describe the disadvantage

More information

How to read this guide

How to read this guide 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

More information

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies ETEC 2301 Programmable Logic Devices Chapter 10 Counters Shawnee State University Department of Industrial and Engineering Technologies Copyright 2007 by Janna B. Gallaher Asynchronous Counter Operation

More information

PIC Microcontrollers: Principles and Applications (Advanced Higher)

PIC Microcontrollers: Principles and Applications (Advanced Higher) National Unit Specification: general information NUMBER D8XR 13 COURSE Mechatronics SUMMARY The candidate will develop an understanding of PIC microcontrollers and their applications. OUTCOMES 1 Describe

More information

D Flip-Flop Example (continued)

D Flip-Flop Example (continued) D Flip-Flop Example Design a sequential circuit with one D flip-flop, two inputs and, and external gates. The circuit operation is specified by the following table: 0 0 1 1 0 1 0 1 Operation Q (next clock

More information

COMPUTERS AND LOGIC CIRCUITS

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

More information

Fig 3. PLC Relay Output

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

More information

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 5. Combinational & Sequential Circuits

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 5. Combinational & Sequential Circuits SAMPLE OF THE STUD MATERIAL PART OF CHAPTER 5 5. Introduction Digital circuits can be classified into two types: Combinational digital circuits and Sequential digital circuits. 5.2 Combinational Digital

More information

Rockwell Software RSLogix5000 ControlLogix Programming

Rockwell Software RSLogix5000 ControlLogix Programming Rockwell Software RSLogix5000 ControlLogix Programming RSLogix5000-1 Table of Contents Page A. Starting a Project With the ControlLogix RSLogix5000 3 1. Configuring the Processor RSLogix5000 3 2. I/O

More information

Electrical Symbols and Line Diagrams

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

More information

5 X 7 LED Matrix Display Project V1.0

5 X 7 LED Matrix Display Project V1.0 5 X 7 LED Matrix Display Project V1.0 Package designed by Allan Byres H.J.Cambie Secondary School Rationale: This project came about while I was teaching level 3 electronics students how to use the PIC

More information

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

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

More information

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

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:

More information

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa Experiment # 9 Clock generator circuits & Counters Eng. Waleed Y. Mousa 1. Objectives: 1. Understanding the principles and construction of Clock generator. 2. To be familiar with clock pulse generation

More information

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR INTRODUCTION This Project "Automatic Night Lamp with Morning Alarm" was developed using Microprocessor. It is the Heart of the system. The sensors

More information

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

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

More information

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 UNIT 22: PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 ASSIGNMENT 3 DESIGN AND OPERATIONAL CHARACTERISTICS NAME: I agree to the assessment as contained in this assignment.

More information

Programmable Logic Controllers Definition. Programmable Logic Controllers History

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,

More information

Lab 5 Fully Functional Stop Watch

Lab 5 Fully Functional Stop Watch 1 Objective Lab 5 Fully Functional Stop Watch Build a fully functional stopwatch. 2 Introduction The overall goal of this lab is to build a fully functional stopwatch. This system will involve many smaller

More information

Introduction. - Please be sure to read and understand Precautions and Introductions in CX-Simulator Operation Manual and

Introduction. - Please be sure to read and understand Precautions and Introductions in CX-Simulator Operation Manual and Introduction - Please be sure to read and understand Precautions and Introductions in CX-Simulator Operation Manual and CX-Programmer Operation Manual before using the product. - This guide describes the

More information

Lab 5 Digital I/O. Figure 5.0. Four bit Digital Counter Circuit on NI ELVIS II Protoboard

Lab 5 Digital I/O. Figure 5.0. Four bit Digital Counter Circuit on NI ELVIS II Protoboard Lab 5 Digital I/O Digital electronics is the heart and soul of modern computers. The ability to set and read digital lines is essential to digital circuit diagnostics. Figure 5.0. Four bit Digital Counter

More information

ME576 Siemens Tutorial Manual

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

More information

Ladder and Functional Block Programming

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

More information

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC. 8.1 Objectives To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC. 8.2 Introduction Circuits for counting events are frequently used in computers and other digital

More information

Control of an Industrial Mixer using PLC

Control of an Industrial Mixer using PLC RESEARCH ARTICLE OPEN ACCESS Control of an Industrial Mixer using PLC * Dheerendra Yadav & ** Keerti Sharma *, **(Department Electronics and Instrumentation Engineering, Institute of Technology and Management,

More information

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design PH-315 COMINATIONAL and SEUENTIAL LOGIC CIRCUITS Hardware implementation and software design A La Rosa I PURPOSE: To familiarize with combinational and sequential logic circuits Combinational circuits

More information

SHORT TRAINING COURSES

SHORT TRAINING COURSES Post Office Box SR 95, Spintex Road, Ghana Tel: +233 302 812680, Fax: +233 302 814709 E mail: contact@automationghana.com Website: www.automationghana.com SHORT TRAINING COURSES Equipping industries with

More information

Laboratory Learning Objectives

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

More information

Lesson 12 Sequential Circuits: Flip-Flops

Lesson 12 Sequential Circuits: Flip-Flops Lesson 12 Sequential Circuits: Flip-Flops 1. Overview of a Synchronous Sequential Circuit We saw from last lesson that the level sensitive latches could cause instability in a sequential system. This instability

More information

Ladder and Functional Block Programming

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,

More information

DIFFERENT APPLICATIONS OF PROGRAMMABLE LOGIC CONTROLLER (PLC)

DIFFERENT APPLICATIONS OF PROGRAMMABLE LOGIC CONTROLLER (PLC) DIFFERENT APPLICATIONS OF PROGRAMMABLE LOGIC CONTROLLER (PLC) By, Maha M. Lashin Mechanical Engineering Department, Shoubra Faculty of Engineering, Banha University, Egypt. ABSTRACT Early Programming Logic

More information

LAB 10 INTRODUCTION TO LADDER LOGIC PROGRAMMING

LAB 10 INTRODUCTION TO LADDER LOGIC PROGRAMMING LAB 10 INTRODUCTION TO LADDER LOGIC PROGRAMMING This lab consists of four parts: I. INTRODUCTION TO THE LAB EQUIPMENT: - Modicon Series Programmable Logic Controllers. - Taylor software for RLL(Relay Ladder

More information

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

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;

More information

Automation with Embedded C Learn the technology that meets operational excellence

Automation with Embedded C Learn the technology that meets operational excellence Automation with Embedded C Learn the technology that meets operational excellence The principal goal of education is to create men and women who are capable of doing new things, not simply repeating what

More information

Final Exam review: chapter 4 and 5. Supplement 3 and 4

Final Exam review: chapter 4 and 5. Supplement 3 and 4 Final Exam review: chapter 4 and 5. Supplement 3 and 4 1. A new type of synchronous flip-flop has the following characteristic table. Find the corresponding excitation table with don t cares used as much

More information

PLC sequence controller

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,

More information

PLC Application Exercise - Water Level Control

PLC Application Exercise - Water Level Control PLC Application Exercise - Water Level Control 1. Aim Use a Programmable Logic Controller (PLC) to control a real to life industrial model. 2. Objectives Understand the principles and operation of a tank

More information

PROGRAMMABLE LOGIC CONTROL

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

More information

CPSC 121: Models of Computation Lab #5: Flip-Flops and Frequency Division

CPSC 121: Models of Computation Lab #5: Flip-Flops and Frequency Division CPSC 121: Models of Computation Lab #5: Flip-Flops and Frequency Division Objectives In this lab, we will see the sequential circuits latches and flip-flops. Latches and flip-flops can be used to build

More information

STEP Basics of PLCs

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

More information

Unit 4 Session - 15 Flip-Flops

Unit 4 Session - 15 Flip-Flops Objectives Unit 4 Session - 15 Flip-Flops Usage of D flip-flop IC Show the truth table for the edge-triggered D flip-flop and edge-triggered JK flip-flop Discuss some of the timing problems related to

More information

EXPERIMENT 8. Flip-Flops and Sequential Circuits

EXPERIMENT 8. Flip-Flops and Sequential Circuits EXPERIMENT 8. Flip-Flops and Sequential Circuits I. Introduction I.a. Objectives The objective of this experiment is to become familiar with the basic operational principles of flip-flops and counters.

More information

Unit 4: Principles of Electrical and Electronic Engineering

Unit 4: Principles of Electrical and Electronic Engineering Unit 4: Principles of Electrical and Electronic Engineering LO6: Understand digital electronics type bistable flip-flop Instructions and answers for teachers These instructions should accompany the OCR

More information

Programmable Logic Controllers

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

More information

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

More information

Lecture 8: Synchronous Digital Systems

Lecture 8: Synchronous Digital Systems Lecture 8: Synchronous Digital Systems The distinguishing feature of a synchronous digital system is that the circuit only changes in response to a system clock. For example, consider the edge triggered

More information

Microprocessors and Microcontrollers. Lab #0 Getting Started with MPLAB-X IDE

Microprocessors and Microcontrollers. Lab #0 Getting Started with MPLAB-X IDE EE 3954 Microprocessors and Microcontrollers Lab #0 Getting Started with MPLAB-X IDE Background: Some or all of the laboratory exercises performed throughout this course will involve writing assembly language

More information

Introduction to Programmable Logic Controllers Part II

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

More information

ET398 LAB 6. Flip-Flops in VHDL

ET398 LAB 6. Flip-Flops in VHDL ET398 LAB 6 Flip-Flops in VHDL Flip-Flops March 3, 2013 Tiffany Turner OBJECTIVE The objectives of this lab are for you to begin the sequential and memory programming using flip flops in VHDL program.

More information

Lecture-3 MEMORY: Development of Memory:

Lecture-3 MEMORY: Development of Memory: Lecture-3 MEMORY: It is a storage device. It stores program data and the results. There are two kind of memories; semiconductor memories & magnetic memories. Semiconductor memories are faster, smaller,

More information

Intro to Microprocessors and Microcomputers

Intro to Microprocessors and Microcomputers Intro to Microprocessors and Microcomputers Content Microprocessor, microcontrollers and microcomputers Communication within microcomputers Registers Process architecture CPU Data and program storage Negative

More information

COMP2121 Experiment 5

COMP2121 Experiment 5 COMP2121 Experiment 5 1. Objectives In this lab, you will learn AVR programming on Parallel input/output; Some typical input/output devices; and Interrupts 2. Preparation Before coming to the laboratory,

More information

Finite State Machine Lab

Finite State Machine Lab Finite State Machine Module: Lab Procedures Goal: The goal of this experiment is to reinforce state machine concepts by having students design and implement a state machine using simple chips and a protoboard.

More information

Lesson 5. Sensors and Programmable Controls

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

More information

Decimal Number (base 10) Binary Number (base 2)

Decimal Number (base 10) Binary Number (base 2) LECTURE 5. BINARY COUNTER Before starting with counters there is some vital information that needs to be understood. The most important is the fact that since the outputs of a digital chip can only be

More information

SCE Training Curriculum

SCE Training Curriculum Siemens AG 2015 SCE Training Curriculum LOGO! Logic Module Startup 0BA8 Additional Module 900 010 Edition 06/2015 1 Siemens AG 2015 siemens.com/logo LOGO! 8 Simply ingenious. Simply more. The logic module

More information

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

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

More information

2!;!JOUSPEVDJOH! DSPDPEJMF!DMJQT!

2!;!JOUSPEVDJOH! DSPDPEJMF!DMJQT! Gjstu!djsdvjut! 2!;!JOUSPEVDJOH! DSPDPEJMF!DMJQT! Crocodile Clips is a circuit simulation program for Windows 98, 95 and NT computers and also for Macintosh computers. Using the program, you can design

More information

The goal is to program the PLC and HMI to count with the following behaviors:

The goal is to program the PLC and HMI to count with the following behaviors: PLC and HMI Counting Lab The goal is to program the PLC and HMI to count with the following behaviors: 1. The counting should be started and stopped from buttons on the HMI 2. The direction of the count

More information

Jianjian Song LogicWorks 4 Tutorials (5/15/03) Page 1 of 14

Jianjian Song LogicWorks 4 Tutorials (5/15/03) Page 1 of 14 LogicWorks 4 Tutorials Jianjian Song Department of Electrical and Computer Engineering Rose-Hulman Institute of Technology March 23 Table of Contents LogicWorks 4 Installation and update...2 2 Tutorial

More information

Process switches and PLC circuits

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

More information

Introduction to Programmable Logic Controllers Part II

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

More information

Chapter 9 Latches, Flip-Flops, and Timers

Chapter 9 Latches, Flip-Flops, and Timers ETEC 23 Programmable Logic Devices Chapter 9 Latches, Flip-Flops, and Timers Shawnee State University Department of Industrial and Engineering Technologies Copyright 27 by Janna B. Gallaher Latches A temporary

More information

LabVIEW and Arduino as a gateway to PLC programming

LabVIEW and Arduino as a gateway to PLC programming Paper ID #6767 LabVIEW and Arduino as a gateway to PLC programming Dr. Wesley B. Williams P.E., University of North Carolina, Charlotte Dr. Wesley B. Williams is an assistant professor in the Department

More information

Using PLC Projects to Aid Teaching of Advanced Electrical Control Principles

Using PLC Projects to Aid Teaching of Advanced Electrical Control Principles 24 Using PLC Projects to Aid Teaching of Advanced Electrical Control Principles by Wm. Ted Evans Engineering Technology College of Engineering U of Toledo Toledo, Ohio Abstract A course in Programmable

More information

Sequential Circuits: Latches & Flip-Flops

Sequential Circuits: Latches & Flip-Flops ESD I Lecture 3.b Sequential Circuits: Latches & Flip-Flops 1 Outline Memory elements Latch SR latch D latch Flip-Flop SR flip-flop D flip-flop JK flip-flop T flip-flop 2 Introduction A sequential circuit

More information

Siemens Step 7. S7-300 Programming

Siemens Step 7. S7-300 Programming Step7_300-1 Siemens Step 7 S7-300 Programming Step7_300-1 Table of Contents Page A. Starting a Project With the S7-300 Step7_300 3 1. Configuring Communications Step7_300 3 2. I/O Configuration Step7_300

More information

MODULE 11- DESIGN OF SYNCHRONOUS SEQUENTIAL COUNTERS AND STATE MACHINES

MODULE 11- DESIGN OF SYNCHRONOUS SEQUENTIAL COUNTERS AND STATE MACHINES Introduction to Digital Electronics Module 11: Design of Sequential Counters and State Machines 1 MODULE 11- DESIGN OF SYNCHRONOUS SEQUENTIAL COUNTERS AND STATE MACHINES OVERVIEW: A synchronous sequential

More information

DIGITAL SYSTEM DESIGN LAB

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

More information

ezsystem elab16m Project 1F: Alarm System (Full Project description)

ezsystem elab16m Project 1F: Alarm System (Full Project description) ezsystem elab16m Project 1F: Alarm System (Full Project description) ezsystem The aim of ezsystem is to enable Creativity and Innovation at an early age in a Problem Based Learning (PBL) approach. ezsystem

More information

MULTISIM TUTORIAL. Click on Start All Programs National Instruments Circuit Design Suite 10.0 Multisim. Virtual Component Toolbar. Instrument Toolbar

MULTISIM TUTORIAL. Click on Start All Programs National Instruments Circuit Design Suite 10.0 Multisim. Virtual Component Toolbar. Instrument Toolbar MULTISIM TUTORIAL Start Click on Start All Programs National Instruments Circuit Design Suite 10.0 Multisim. Component Toolbar Ammeter/ Voltmeter Toolbar Virtual Component Toolbar Simulation Toolbar Instrument

More information

5.4 Microcontrollers I: Introduction

5.4 Microcontrollers I: Introduction 5.4 Microcontrollers I: Introduction Dr. Tarek A. Tutunji Mechatronics Engineering Department Philadelphia University, Jordan Microcontrollers: Introduction Microprocessors were described in the last three

More information

Introduction to Microcontrollers. ECE473/573 Microprocessor System Design, Dr. Shiue

Introduction to Microcontrollers. ECE473/573 Microprocessor System Design, Dr. Shiue Introduction to Microcontrollers 1 Introduction It is hard to imagine the present world of electronic devices without the microprocessor. Cash register, scales, ovens, washing machine, alarm clock, thermostats,

More information