Lab 9 Proximity Sensors and PLC Introduction

Similar documents
Introduction to LogixPro - Lab

Creating Relay Logic Diagrams

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

How to read this guide

Fig 3. PLC Relay Output

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

Programming A PLC. Standard Instructions

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

Resistance, Ohm s Law, and the Temperature of a Light Bulb Filament

To Begin Customize Office

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

Beckhoff TwinCAT. Configuring the TwinCAT I/O System

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

Microsoft Access 2010 handout

Maximum value. resistance. 1. Connect the Current Probe to Channel 1 and the Differential Voltage Probe to Channel 2 of the interface.

Experiment 3: Magnetic Fields of a Bar Magnet and Helmholtz Coil

Lab 4 - Data Acquisition

Electrical Symbols and Line Diagrams

Proximity Switches RS (Reed Switch)

How To Use Multiisim On A Computer Or A Circuit Design Suite 10.0 (Aero)

Advanced Presentation Features and Animation

Experiment: Series and Parallel Circuits

Using Microsoft Word. Working With Objects

Designing a Schematic and Layout in PCB Artist

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

GENERAL SCIENCE LABORATORY 1110L Lab Experiment 6: Ohm s Law

Resistors in Series and Parallel Circuits

Plots, Curve-Fitting, and Data Modeling in Microsoft Excel

Kaplan Higher Education Seminar Student User Guide

Petrel TIPS&TRICKS from SCM

Corsair Link v2.4 Manual. Initial Set-up. Placing devices within the chassis

cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller

Creating Fill-able Forms using Acrobat 8.0: Part 1

Ofgem Carbon Savings Community Obligation (CSCO) Eligibility System

Creating a Poster in PowerPoint A. Set Up Your Poster

HOW TO CREATE AN HTML5 JEOPARDY- STYLE GAME IN CAPTIVATE

Experiment 3: Magnetic Fields of a Bar Magnet and Helmholtz Coil

Lab 3 - DC Circuits and Ohm s Law

Create a Poster Using Publisher

Adobe Dreamweaver CC 14 Tutorial

SE05: Getting Started with Cognex DataMan Bar Code Readers - Hands On Lab Werner Solution Expo April 8 & 9

Guide To Creating Academic Posters Using Microsoft PowerPoint 2010

Instructions for Formatting MLA Style Papers in Microsoft Word 2010

Programmable Logic Controllers

DN1600 MEGA SPIN Installation Guide INNOVATIVE CONCEPTS IN ENTERTAINMENT INC MAIN STREET, CLARENCE, NY SERVICE: FAX:

2. How to Use SMART Board as a Projector and Whiteboard

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

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

EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

FREE FALL. Introduction. Reference Young and Freedman, University Physics, 12 th Edition: Chapter 2, section 2.5

Programmable Logic Controllers

The corresponding control ladder program is shown at below: The content of element comment will be built is shown below

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

How To Use The Powerpoint 3.5 On A Computer With A Powerpoint 2.5 (Powerpoint) On A Pc Or Macbook 2.2 (Powerstation) On An Iphone Or Ipad (Powerplane)

Microsoft PowerPoint 2010 Handout

BECKHOFF. Application Notes. BC9000: Getting Started Guide. For additional documentation, please visit.

GDP11 Student User s Guide. V. 1.7 December 2011

Switch & Circuit Prototypes

Creating Web Pages With Dreamweaver MX 2004

CREATING AN IMAGE FROM AUTOCAD CADD NOTE 16. MENU: AutoCAD, File, Plot COMMAND: plot ICON:

Intro. Review of. Boeing B737 Gear Lever Set (replica) Manufactured by Opencockpits

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

CurveMaker v2.1 DYNAFS programmable ignition software

WAMLocal. Wireless Asset Monitoring - Local Food Safety Software. Software Installation and User Guide BA/WAM-L-F

How to Mimic the PanelMate Readout Template with Vijeo Designer

Measuring Electric Phenomena: the Ammeter and Voltmeter

PROGRAMMABLE LOGIC CONTROL

Create a PDF File. Tip. In this lesson, you will learn how to:

First Bytes Programming Lab 2

MET 306 Activity 6. Using Pro/MFG Milling Operations Creo 2.0. Machining a Mast Step

Microsoft Word 2010 Prepared by Computing Services at the Eastman School of Music July 2010

Introduction. Drenth Motorsport Gearboxes Fleuweweg AG Enter The Netherlands Phone: +31 (0) Fax: +31 (0)

Course Project Lab 3 - Creating a Logo (Illustrator)

MICROSOFT WORD TUTORIAL

Electronic Power Control

Windows 8.1 Update 1 Supplement

INSTALL INSTRUCTIONS KK-C-HVAC-1 HVAC UNIT CHEVROLET/GMC VANS FOR

Taco Hydronic System Solutions Quick Start Guide

SMART Ink 1.5. Windows operating systems. Scan the following QR code to view the SMART Ink Help on your smart phone or other mobile device.

RACEAIR REMOTE PAGER SYSTEM

Presentations and PowerPoint

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices.

Color Mark Sensor with Red or Green LED E3S-VS

Ampere's Law. Introduction. times the current enclosed in that loop: Ampere's Law states that the line integral of B and dl over a closed path is 0

1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs

SMART Board Tips & Tricks (version 9.0) Getting Started. SMART Tools vs. SMART Notebook software

MET 306. Activity 8a. Mechanism Design Creo 2.0 Level 7 POINT A GROUND LINK LINK 1 LINK 2 LINK 3 POINT B 10/15/2010 1

WEB TRADER USER MANUAL

Smart Cam, CC-Smart-Cam, and Smart Cam Packages Installation and Quick Start Operating Instructions

Inductors in AC Circuits

HOW TO TRANSFER FILES BETWEEN EEN IDL7000 PVR AND USB2 DEVICE

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

Capacitive Touch Sensor Project:

Macs are not directly compatible with Noetix.

Document Manager 2.0. Corporate Administrator Guide

Microsoft Outlook 2010 Part 1: Introduction to Outlook

Learning Systems Software Simulation

Two's Complement Adder/Subtractor Lab L03

STARTING WEBSTER...3 GETTING STARTED WITH WEBSTER TOOLS...5

Transcription:

Spring 11 Lab 9 Proximity Sensors and PLC Introduction Lab 9-1 Lab 9 Proximity Sensors and PLC Introduction Format This lab will be conducted during your regularly scheduled lab time in a group format. Rotate roles during the lab - don't let one person do all of the programming at the computer. You may ask the lab instructor for assistance if needed, but successful completion of the lab is your responsibility not theirs! Report A short, informal, group report is due at 8:00 AM on the Friday of the week after you complete this lab. This short report does NOT need to follow the formal report format described in the ME 360 course manual. All of the information specifically requested in this lab handout should be present in your report. Procedures 9.1 Testing Different Proximity Switches: Several different proximity switches will be provided. Each group will need to connect power (+12V) and ground to the proximity switches and read the output voltage with a DMM. Most of the proximity switches will have a small wiring diagram label attached to the sensor or supplied with the packaging. A typical wiring arrangement is shown below in Figure 1. Note that the proximity switch manufacturers do NOT use the ME 360 color code! If the resistor symbol is shown on the label, then try a 10 k resistor first. If no resistor symbol is shown on the label, try not using one first. Use a different color wire (orange, yellow, blue, etc.) for the output from each proximity switch. If you are not confident about your wiring, please ask the lab monitor for assistance before applying power to the switch. Proximity Switch Wires Red User Supplied Wires White +12V Proximity Switch White ~10 kresistor Orange, Yellow, Blue, etc. + V OUT Black Black - Figure 1. Typical Proximity Switch Wiring

Spring 11 Lab 9 Proximity Sensors and PLC Introduction Lab 9-2 As you bring different targets to close proximity (a relative term) to the different switches, the output voltage V out should change from about 12V ( not activated ) to about 0V ( activated ). Some of the switches may operate in the opposite manner where the voltage changes from about 0V ( not activated ) to about 12V ( activated ). For each of the switches, determine the effective sensing distance with each different target. There will be 6 to 8 target objects to be detected for each of the switches. Targets will be made of a variety of materials, such as steel, aluminum, plastic, wood, Styrofoam, etc. Sensing distance Object Sensor Figure 2. Sensing Distance Definition For each switch and object combination, 1. Record the approximate distance at which the object is sensed, i.e., when the output voltage changes from the not activated state to the activated state. 2. Record the activated output voltage and the not activated output voltage from the proximity switch for each target. Outside of Lab: 3. Create a table that clearly presents the information requested above. 4. For each switch, write a brief sentence or two that describes your observations of the strengths and weaknesses of each switch. (There will not necessarily be a great difference between some of the switches.) 9.2 PLC Wiring Diagram 1. Use the PLC program (ME360_Test_Stand) to verify the solenoid and limit switch assignments shown in Figure 3. Pushbutton and indicator light assignments are shown in Figure 4. Note that the red LED light X0 on the PLC is on when the horizontal cylinder controlled by Y1 is retracted. Note that the red LED light X1 on the PLC is off when the horizontal cylinder controlled by Y1 is retracted. Press and hold C41 to turn on output Y1 and extend the horizontal cylinder. Note that the red LED light X0 goes off when the horizontal cylinder first moves and that the red LED light X1 goes on when the horizontal cylinder is fully extended.

Spring 11 Lab 9 Proximity Sensors and PLC Introduction Lab 9-3 Observe the operation of the remaining limit switches and red LED lights as the other solenoid valves connected to Y2 and Y3 are activated. Notice the operation of the fan as output Y11 is activated. 2. Make a rough sketch of the PLC wiring diagram (connection of limit switches, pushbuttons, solenoids, etc. to the PLC), including pushbuttons and limit switches, for the components used on the PLC test stand. Outside of Lab: 3. Use the PowerPoint files provided on the ME 360 website to create a PLC wiring diagram for the report, draw one by hand neatly with a ruler or straight edge, or draw one in AutoCAD. Include all of the components used on the PLC test stand. Operator Interface Panel PLC Solenoid Valves Controlled by Y0 Fan output Y11 X1 (NO) X0 (NO) Controlled by Y1 X7 (NC) X6 (NC) X3 (NO) Controlled by Y2 Controlled by Y3 X2 (NO) Figure 3. Solenoid and Limit Switch Assignments

Spring 11 Lab 9 Proximity Sensors and PLC Introduction Lab 9-4 Write to internal contacts C12 - C17 to turn on the lamps C12 C14 C16 C13 C15 C17 Read from internal contacts C40 - C50 to read status of the pushbuttons C40 C41 C42 C43 C44 C45 C46 C47 C50 Figure 4. Pushbutton and Indicator Light Assignments 9.3 Pneumatic System Schematic 1. Make a rough sketch of the pneumatic system schematic diagram for the PLC test stands. Include all of the components mounted to the test stand, including the ones mounted on the back. Be sure to include the flow control valves (shown in Figure 5) mounted to each of the four cylinders. Draw the rodless cylinder (mounted on the lower left side) as a double-acting, double-ended cylinder. Note that the schematic symbol for many of the components is given on the component itself. Outside of Lab: Figure 5. Pneumatic Valves 2. Use the PowerPoint file provided on the ME 360 website to create a pneumatic system schematic diagram for the report, draw one by hand neatly with a ruler or straight edge, or draw one in AutoCAD. For each of the remaining 4 assignments (#9.4 - #9.7): Draw the ladder logic diagram for the exercise (or make screenshots ) and give a thorough description of the operation of each configuration of the program. Be sure to give a functional description of what is happening to the pneumatic cylinder as well as a description of the operation of the PLC ladder logic program. Answer all questions asked for each assignment.

Spring 11 Lab 9 Proximity Sensors and PLC Introduction Lab 9-5 9.4 PLC Program - Sample1 Goal: Create the program shown below and name it Sample1. Page references in bold refer to the DirectSoft 5 User Manual Quick Start guide. Steps: 1. Start a new ladder diagram (called a project in DirectSoft) (p. 2-12) 2. Enter the Edit Mode for the ladder diagram (2-15) 3. Insert and edit the individual elements in rung #1 of the ladder diagram (2-16) a. N.O and N.C. contacts (2-17) b. Output coils (timers and counters go here as well) (2-18) 4. Create the parallel row below rung #1 ( OR constructs) (5-13) 5. Insert and edit the individual elements in rung #1b of the ladder diagram 6. Add the End rung below the two rungs already created (2-19) (Note that a Fatal Error occurs if program does not have the End rung!) 7. Accept and save the program (2-20) 8. DirectSoft 5 will compare the program you have just written and are saving to the one currently stored on the PLC, so the Online/Offline Differences dialog box will appear. Select Use Disk to continue. (2-25) 9. Read the top of p. 2-26 and download the program to the PLC by clicking on the (Write Program to PLC) icon. (2-26) 10. Place the PLC in the Run mode (2-26, 2-27) 11. Check for Run mode status at the bottom of the screen (2-27) 12. Monitor the status of the inputs and outputs on the PLC screen (2-28)

Spring 11 Lab 9 Proximity Sensors and PLC Introduction Lab 9-6 13. Execute the program several times (by pressing the C40 pushbutton to start the program and C41 to stop it on the operator interface panel). 14. Describe what the PLC program and the pneumatic system do when you press the buttons this goes in your report! 15. Review the procedure for drawing and/or deleting connecting lines (5-19) 16. Review the procedure for selecting rungs for deleting, cutting, or copying (5-19) 17. Return to the Edit mode (step #2) and modify your Sample1 program by changing the location of the NO contacts X0 as shown below. Accept your edits (step #4), then download the program to the PLC (step #6) and execute the modified program several times. 18. Describe what the modified PLC program and the pneumatic system do when you press the buttons this goes in your report! 19. Hold the NO pushbutton C40 down for 3 seconds. How does program Sample1 work now? Complete the DirectSoft 5 User Manual Quick Start guide by reviewing the remaining items. 20. Summary of offline toolbar components (4-2) 21. Summary of online toolbar components (4-5) 22. Print ladder diagrams (8-3) (Note that printing to an Adobe PDF file is the only option)

Spring 11 Lab 9 Proximity Sensors and PLC Introduction Lab 9-7 Timers (TMR) and Counters (CNT) can be found by selecting the Box icon in the lower right-hand corner of the screen when in the Edit mode. 9.5 PLC Program Sample2 Create the program shown below and name it Sample2. Accept your edits, save your PLC program to disk and download the program to the PLC Execute the program several times and adjust the flow controls on the Y2 cylinder such that it takes about 1 to 1.5 seconds to fully extend and 1 to 1.5 seconds to fully retract. If you are not sure about how to adjust the flow controls ask the lab monitor. Describe what the PLC program and the pneumatic system do when you press the buttons - this goes in your report! Execute the program several times and adjust the speed of the Y2 cylinder such that it takes about 4 seconds to fully extend and 4 seconds to fully retract. What does the program do? Change the NO contacts X3 to a N.O. contact Y2. How does program Sample2 work now? this goes in your report!

Spring 11 Lab 9 Proximity Sensors and PLC Introduction Lab 9-8 9.6 PLC Program Sample3 Create the program shown below and name it Sample3. Download the program to the PLC and execute several times. Describe what the PLC program and the pneumatic system do when you press the buttons - this goes in your report! Does it matter when in the cycle you press the NC pushbutton C45? Change the NC contacts X1 to NO contacts. How does program Sample3 work now? - this goes in your report! 9.7 PLC Program Sample4 Create the program shown below and name it Sample4. Download the program to the PLC and execute several times. Describe what the PLC program and the pneumatic system do when you press the buttons - this goes in your report!