E.G.S. PILLAY ENGINEERING COLLEGE (Autonomous)

Similar documents
INSTITUTE OF TECHNOLOGY


8085 HOW-TO GUIDE Interfacing 8251 with 8085

Dhanalakshmi College of Engineering Manimangalam, Tambaram, Chennai

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

SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU DIGITAL ELECTRONICS & MICROPROCESSOR LAB MANUAL 2/4 CSE: II- SEMESTER

Pneumatics Simulation Software (LVSIM - PNEU) - 10 Users

PERIPHERAL INTERFACING Rev. 1.0

QUICK START Hydraulics

MECHATRONIC LAB ROOM NO: 4201, MECHANICAL DEPARTMENT INTERCOM: 418. INCHARGE: Mr. M. MOHANDASS, Associate Professor, Mechanical

ELECTRICAL CONTROL SYSTEMS 1


Faculty of Mechanical Engineering B.E. Mechanical and Automation Engineering (R 2013) Semester III CE6461 Fluid Mechanics and Machinery Laboratory - I

NPTEL

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

MECHATRONICS. William Bolton. Sixth Edition ELECTRONIC CONTROL SYSTEMS ENGINEERING IN MECHANICAL AND ELECTRICAL PEARSON

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

INDUSTRIAL PNEUMATICS - valves

Its Assembly language programming

Manipulation and Fluid Power. October 07, 2008

6485-V0 Pneumatics Simulation Software (LVSIM -PNEU) - 35 Users Network

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

TECHNICAL PRESENTATION FLOW METER CALIBRATION SYSTEM. G Rajabaskaran Vice Chairman

To demonstrate wide range of experiments, applications and advanced control techniques using industry standard instrumentation and controls.

NOTE ON PERFORMANCE TESTING

Retentive On-Delay (TONR)

ME2110: Creative Decisions and Design Electromechanical and Pneumatic Kit Manual

Electrical Motor Controls. Chapter 11 (4 th Edition) Chapter 6 (5 th Edition)

Application. Automation Studio is now compatible with Windows 8.

Advanced Systems Technology Program

SUBMITTED TO PROF. D.V. GADRE

EECE 340 Introduction to Microprocessors w/lab Section A. Term Project Parking Visitor Counter

The LVS Directional Valve with Digital Pilot Control A New Generation

Conveyor Station Exercise 1: Learning about components and their function

Apprenticeship Curriculum Standard. Level 3. Trade Code: 447A

QUICK START PLC. 1. Basic Manipulations

APROS laboratory manual:

Introduction to Programmable Logic Controllers in a Mechanical Engineering Instrumentation Course

What Can You Automate? We Sell Robots

EEET 2204 Industrial Automation

Product Family: Electro Mechanical Relays Number: AN-LC-008

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

T EN TROVIS Electropneumatic Positioner

INTERNATIONAL JOURNAL OF DESIGN AND MANUFACTURING TECHNOLOGY (IJDMT)

List of forms CLAP/WGP by subject /68/UE

Electropneumatics Basic Level Textbook TP 201

EXPERIMENT 1. SOFTWARE REQUIREMENT: LADSIM software

Project Report SOFTDRINK DISPENSER. Subject Code- ECE-316. Bachelor of Engineering. (Division of Electronics and Communication Engineering)

EKT222 Miroprocessor Systems Lab 5

Y-0044 MECHATRONICS TRAINING SET

Counters & Time Delays. Microprocessors & Interfacing 1

Compact Bellows Pumps

Control block EDC Modular Directional Valve Flow Sharing System

MECHATRONICS CATALOGUE

PERIPHERAL INTERFACING Rev. 1.0

Flexible Manufacturing System 1 AE-PLC-FMS1

glide glider kw R134a air cooled liquid chillers AND free cooling chillers FREE COOLING SHELL A C CLASS E C Energy Class RCGROUP SpA

TABLE OF CONTENTS INTRODUCTION. 3. Analog Input Analog Output Digital Input Digital Output OPERATIONAL DESCRIPITON.. 7 PROGRAMMING AND INITIAL SETUP.

PLC Applications. LabVolt Series. Datasheet

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

LH 700. Spare parts list. Forward and reversible plate. Valid from serial number. LH 700 Hatz Electric start 810 mm Bio


Electro-Pneumatic Training System

Glossary access code alarm anemometer auto limits base screen central control mode Gloss

THE WIRELESS HYDROSTATIC TRANSMISSION CONTROL BY THE USE OF MOBILE TECHNOLOGY

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

CONTENTS. 1.0 Introduction Description of the Circuit Installation Connection of Power Supply 4

Tank terminal demonstrates the electrically operated solution for Emergency Shutdown Valves

TH240g+Ko TH240g+Ko Pneumatic vise grip TH240g+2Ko Pneumatic vise grip TH240g + Ko TH240g + 2Ko Ordering information

LH 700. Spare parts list. Forward and reversible plate. Valid from serial number. LH 700 Hatz Electric start 810 mm Bio

Product description for ED1600 generic Sigfox Module

Assembly and Maintenance

Industrial Training Zone (ITZ) eseries Courses

Mechatronics Resources. for high school. Mechatronics Resources. Preparing your students for success. 21st century learning. Aligned to standards

1. PLC - Introduction

Subject Code: Model Answer Page No: /25

8085 INSTRUCTION SET INSTRUCTION DETAILS

Challenges in EPC Projects for Online Analyzers. Zaheer Juddy AIMS

Programmable Logic Controller

MULTI-FUNCTION PROCESS CONTROL TEACHING SYSTEM PCT40

HARDWARE OF SUPERVISORY CONTROL & DATA ACQUISITION SYSTEM

Electronic SD1, AS 8, ASR 14, ASR 20

SPCH/ Big bottle blowing block

Programmable Logic Controller (PLC) Guide

Create idrawnics enabled SketchUp components with Stick and Flip Data Plates Catalog Lookup Customizable Time and Materials

INSTRUCTION SET OF 8085

Assembly Language Programming of 8085

Thermostat KP. Data sheet. The KP Thermostats are single-pole, doublethrow (SPDT) temperature-operated electric switches.

Mechatronics and Pneumatics Kit Manual

The Design and Development of the Precision Planter Sowing Depth Control System

DDDM 45 (40-60 TPH) DDDM 60 ( TPH) COLD AGGREGATE FEEDER. Auxiliary belt No. of bins. Gathering conveyor reduction gear

For information about the products exhibited: Walvoil Fluid Power Corp North Garnett Tulsa OK USA Tel Fax

Mechatronics Technician/Engineer (Basic, fitter-focus)

Innovative Products. Electric Drives and Controls

(2) Explain the addressing mode of OR What do you mean by addressing mode? Explain diff. addressing mode for 8085 with examples.

ELEC Sensors and Actuators

TPV 1200 BTB. Variable Displacement Closed Loop System Axial Piston Compact Tandem Pump THE PRODUCTION LINE OF HANSA-TMP HT 16 / M / 156 / 1214 / E

Manual Control Unit GFC 32


MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER

Transcription:

E.G.S. PILLAY ENGINEERING COLLEGE (Autonomous) Approved by AICTE, New Delhi Affiliated to Anna University, Chennai Accredited by NAAC with A Grade Accredited by NBA (CSE, EEE, MECH) NAGAPATTINAM 611 002. DEPARTMENT OF MECHANICAL ENGINEERING M.E. - MANUFACTURING ENGINEERING FIRST SEMESTER 2017-2018 1704MF107 - INDUSTRIAL AUTOMATION AND MECHATRONICS LABORATORY LAB RECORD NAME : ---------------------------------- REG. NO. : ----------------------------------

E.G.S. PILLAY ENGINEERING COLLEGE (Autonomous) Approved by AICTE, New Delhi Affiliated to Anna University, Chennai Accredited by NAAC with A Grade Accredited by NBA (CSE, EEE, MECH) NAGAPATTINAM 611 002. BONAFIDE CERTIFICATE REGISTER NO.: ----------------------------- Certified to be the bonafide record of work done by-----------------------------------, M.E. - Manufacturing Engineering / I Semester, during the year of 2017-2018. Head of the Department Staff-in-charge Submitted for practical examination held in ------------------ at E.G.S. Pillay Engineering College, Nagapattinam 611 002. INTERNAL EXAMINER EXTERNAL EXAMINER

TABLE OF CONTENTS SL. NO. DATE NAME OF THE EXPERIMENT PAGE NO. MARKS SIGN. 1 Introduction to Mechatronics System 2 3 4 5 Simulation of Single Acting Cylinder Circuit Simulation of Double Acting Cylinder Circuit Simulation of Simple Hydraulic Circuit using Autosim Software Simulation of Simple Pneumatic Circuit using Autosim Software 6 Simulation of Electro Hydraulic Circuit 7 Simulation of Electro Pneumatic Circuit 8 9 PLC Control of Single Acting Cylinders ON And OFF Delay Timer Automatic Actuation of Double Acting Cylinder Using PLC 10 11 12 PLC Control of Sequencing Circuit Using PLC Ladder Diagram Running a stepper motor at different speed in two directions using 8051 Microcontroller Running a stepper motor for required angle within 360, which is equivalent to 256 steps. 13 Running a stepper motor into two parts 14 To run Stepper Motor in both Forward and Reverse directions with delay.

EX.NO: 01 INTRODUCTION TO MECHATRONICS SYSTEM DATE: AIM: To study about the important features, about Mechatronics system. INTRODUCTION TO MECHATRONICS SYSTEM: Mechatronics is one of the new and existing fields on the engineering landscape, subsuming parts of traditional engineering fields and requiring a broader approach to the design of system that we can formally call as Mechatronics system. Many industries improving their works through automation which is based on the inter connection between the electronic control systems and mechanical engineering. Such control systems generally use microprocessors as controllers and have electrical sensors extracting information from mechanical inputs through electrical actuators to mechanical systems. This can be considered to be application of computer based digital control techniques through electronic and electric interfaces to mechanical engineering problems. Successful design of Mechatronics can lead to products that are extremely attractive to customer in quality costeffectiveness. MECHATRONICS DEFINITION: Mechatronics may be defined as a multi-disciplinary field of study that implies the synergistic integration of electronic engineering, electric engineering, control engineering and computer technology with mechanical engineering for the design, manufacture, analysis and maintenance of a wide range of engineering products and processes. Mechatronics brings together areas of technology involving sensors and measurement systems, drive and actuation systems, analysis of the behavior of systems microprocessor systems. The integration across the traditional boundaries of mechanical engineering, electrical engineering, electronics and control engineering has to occur at the earliest stages of the design process if cheaper, more reliable; more flexible systems are to be developed.

APPLICATIONS OF MECHATRONICS ENGINEERING: Mechatronics engineering finds application in the following fields. Electronic home appliances Electronic entertainment products Engine systems (cars) Large scale application BASIC COMPONENTS OF A HYDRAULIC SYSTEM: Schematic Layout of Hydraulic System

Reservoir (or air tank): A reservoir is an oil supply tank. It is provided to hold the hydraulic liquid (usually oil). Pump: The pump is used to force the liquid into the system. Prime mover: A Prime mover, usually an electric motor, is used to drive the pump. Valves: Valves are refitted in the system to control liquid direction, pressure, and flow rate. Actuator: An actuator is provided to convert the liquid energy into mechanical force or torque to do useful work. The actuator is the actual working element of the system. The actuators can be either cylinders (to provide linear motion) or hydro motors (to provide rotary motion). Fluid-transfer piping: The hydraulic Piping is provided to carry the compressed liquid from one place to another. BASIC COMPONENTS OF A PNEUMATIC SYSTEM: Schematic Layout of Pneumatic System

Reservoir (or air tank): An air tank is provided to store the compressed air required for the operations. Compressor: The compressor is used to compress the atmospheric air so as to increase the pressure of the air. Prime mover: A Prime mover, usually an electric motor, is used to drive the compressor. Valves: Valves are refitted in the system to control air direction, pressure, and flow rate. Actuator: An actuator is provided to convert the air energy into mechanical force or torque to do useful work. Fluid-transfer piping: Piping is provided to carry the compressed air from one place to another. BASIC SYMBOLS USED IN HYDRAULIS AND PNEUMATIC SYSTEM: Symbols Description LINES -continuous line - flow line CIRCULAR -dashed line - pilot, drain -envelope - long and short dashes around two or more component symbols -large circle - pump, motor -small circle - Measuring devices SQUARE -semi-circle - rotary actuator

DIAMOND -one square - pressure control function -two or three adjacent squares - directional control -diamond - Fluid conditioner (filter, separator, lubricator, heat exchanger) MISCELLANEOUS SYMBOLS TRIANGLE -Spring PUMPS AND COMPRESSORS -Flow Restriction Fixed Displacement Hydraulic Pump -solid - Direction of Hydraulic Fluid Flow -open - Direction of Pneumatic flow -unidirectional -bidirectional Variable Displacement Hydraulic Pump Compressor Symbols -unidirectional -Compressor Description DIRECTIONAL CONTROL VALVES Directional Control Valve (2 Ports / 2 Positions) -Normally closed directional control valve with 2 ports and 2 finite positions. -Normally open directional control valve with 2 ports and 2 finite positions. Directional Control Valve (3 Ports / 2 Positions) -Normally closed directional control valve with 3 ports and 2 finite positions.

-Normally open directional control valve with 3 ports and 2 finite positions. Directional Control Valve (4 Ports / 2 Positions) Directional Control Valve (4 Ports / 3 Positions) -directional control valve with 4 ports and 2 finite positions -directional control valve with 4 ports and 3 finite positions *-(center position can have various flow paths) Directional Control Valve (5 Ports / 2 Positions) Normally A Pneumatic Valve -directional control valve with 5 ports and 2 finite positions Directional Control Valve (5 Ports / 3 Positions) Normally A Pneumatic Valve CONTROL METHODS Manual Control Mechanical Control -directional control valve with 5 ports and 3 finite positions -general symbol (without showing the control type) -pushbutton -lever -foot pedal -plunger or tracer Symbols -spring Description -roller -roller(one direction only) Electrical Control -Solenoid (the one winding)

Pilot Operation -pneumatic -hydraulic Pilot Operated Two-Stage Valve -Hydraulic: Hyd pilot second stage CHECK VALVES, SHUTTLE VALVES, RAPID EXHAUST VALVES -check valve -free flow one direction, blocked flow in other direction -pilot operated check valve, pilot to close Shuttle Valve Rapid Exhaust Valve/Pneumatic PRESSURE CONTROL VALVES -pilot operated check valve, pilot to open -to isolate one part of a system from an alternate part of circuit -installed close to an actuator for rapid movement of the actuator Pressure Relief Valve(Safety Valve) Normally Closed PROPORTIONAL PRESSURE RELIEF - Line pressure is limited to the setting of the valve, secondary part is directed to tank - line pressure is limited to and proportional to an electronic signal SEQUENCE VALVE - When the line pressure reaches the setting of the valve, valve opens permitting flow to the secondary port. The pilot must be externally drained to tank.

PRESSURE REDUCING VALVE - pressure downstream of valve is limited to the setting of the valve FLOW CONTROL VALVES Throttle valve FLOW CONTROL VALVE -adjustable output flow -with fixed output (variations in inlet pressure do not affect rate of flow) -with fixed output and relief port to reservoir with relief for excess flow (variations in inlet pressure do not affect rate of flow) -with variable output -fixed orifice FLOW DIVIDING VALVE -metered flow toward right free flow to left -pressure compensated flow control fixed output flow regardless of load -pressure and temperature compensated -with variable output and relief port to reservoir SHUT-OFF VALVE Symbols -flow is divided equally to two outputs -Simplified symbol Description FILTERS, WATER TRAPS, LUBRICATORS AND MISCELLANEOUS APPARATUS Filter or Strainer

-filter Water Trap -with manual drain Filter With Water Trap -with automatic drained -with manual drain -automatic drain Air Dryer Lubricator - refrigerant, or chemical removal of water from compressed air line -oil vapor is inducted into air line Conditioning unit -compound symbol of filter, regulator, lubricator unit -Simplified Symbol RESULT: Thus the important feature Mechatronics system was studied.

EX.NO: 02 SIMULATION OF SINGLE ACTING CYLINDER CIRCUIT DATE: AIM: To simulate the single acting cylinder circuit by using AUTOSIM 200 software. APPARATUS REQUIRED: 1. CPU, Monitor 2. Keyboard and Mouse 3. AUTOSIM 200 Software PROCEDURE: 1. Autosim software icon is available is the desktop by double clicking the icon. 2. The software home page will open, click new for creating the blank page. 3. Side of the wizard tool is available by using tool use drown the circuit. 4. In the tool symbols, just trag the symbol to the sheet which are the element are necessary such as (pneumatic supply element actuator values) compressor, 3/2 mechanically operated spring controlled direction controlled valve and single acting cylinder. 5. Then correct the ports according to the circuit. 6. Finally simulate by using the simulation tool.

RESULT: 200 software. Thus the simulation of the single acting cylinder circuit is simulated by using AUTOSIM

EX.NO: 03 SIMULATION OF DOUBLE ACTING CYLINDER CIRCUIT DATE: AIM: To simulate the double acting cylinder circuit by using AUTOSIM 200 software. APPARATUS REQUIRED: 1. CPU and Monitor 2. Keyboard and Mouse 3. AUTOSIM 200 Software PROCEDURE: 1. Autosim software icon is available is the desktop by double clicking the icon. 2. The software home page will open, click new for creating the blank page. 3. Side of the wizard tool is available by using tool use drown the circuit. 4. In the tool symbols, just trag the symbol to the sheet which are the element are necessary such as (pneumatic supply element actuator values) compressor, 3/2 mechanically operated spring controlled direction controlled valve and single acting cylinder. 5. Then correct the ports according to the circuit. 6. Finally simulate by using the simulation tool.

RESULT: Thus the simulation of the double acting cylinder circuit is simulated by using AUTOSIM 200 software.

EX.NO: 04 SIMULATION OF SIMPLE HYDRAULIC CIRCUIT DATE: AIM: To simulate the simple hydraulic circuit by using AUTOSIM 200 software. APPARATUS REQUIRED: 1. CPU and Monitor 2. Keyboard and Mouse 3. AUTOSIM 200 Software PROCEDURE: 1. Autosim software icon is available is the desktop by double clicking the icon. 2. The software home page will open, click new for creating the blank page. 3. Side of the wizard tool is available by using tool use drown the circuit. 4. In the tool symbols, just trag the symbol to the sheet which are the element are necessary such as (simple hydraulic circuit supply element actuator values) compressor, 3/2 mechanically operated spring controlled direction controlled valve and single acting cylinder. 5. Then correct the ports according to the circuit. 6. Finally simulate by using the simulation tool.

RESULT: software. Thus the simulation of the simple hydraulic circuit is simulated by using AUTOSIM 200

EX.NO: 05 SIMULATION OF SIMPLE PNEUMATIC CIRCUIT DATE: AIM: To simulate the simple pneumatic circuit by using AUTOSIM 200 software. APPARATUS REQUIRED: 1. CPU and Monitor 2. Keyboard and Mouse 3. AUTOSIM 200 Software PROCEDURE: 1. Fluidsim software icon is available is the desktop by double clicking the icon. 2. The software home page will open, click new for creating the blank page. 3. Side of the wizard tool is available by using tool use drown the circuit. 4. In the tool symbols, just trag the symbol to the sheet which are the element are necessary such as (pneumatic supply element actuator values) compressor, 3/2 mechanically operated spring controlled direction controlled valve and single acting cylinder. 5. Then correct the ports according to the circuit. 6. Finally simulate by using the simulation tool.

RESULT: software. Thus the simulation of the simple pneumatic circuit is simulated by using AUTOSIM 200

EX.NO: 06 SIMULATION OF ELECTRO HYDRAULIC CIRCUIT DATE: AIM: To simulate the electro hydraulic circuit by using AUTOSIM 200 software. APPARATUS REQUIRED: 1. CPU and Monitor 2. Keyboard and Mouse 3. AUTOSIM 200 Software PROCEDURE: 1. Autosim software icon is available is the desktop by double clicking the icon. 2. The software home page will open, click new for creating the blank page. 3. Side of the wizard tool is available by using tool use drown the circuit. 4. In the tool symbols, just trag the symbol to the sheet which are the element are necessary such as (hydraulic supply element actuator values) compressor, 3/2 mechanically operated spring controlled direction controlled valve and single acting cylinder. 5. Then correct the ports according to the circuit. 6. Finally simulate by using the simulation tool.

RESULT: software. Thus the simulation of the electro hydraulic circuit is simulated by using AUTOSIM 200

EX.NO: 07 SIMULATION OF ELECTRO PNEUMATIC CIRCUIT DATE: AIM: To simulate the electro pneumatic circuit by using AUTOSIM 200 software. APPARATUS REQUIRED: 1. CPU and Monitor 2. Keyboard and Mouse 3. AUTOSIM 200 Software PROCEDURE: 1. Autosim software icon is available is the desktop by double clicking the icon. 2. The software home page will open, click new for creating the blank page. 3. Side of the wizard tool is available by using tool use drown the circuit. 4. In the tool symbols, just trag the symbol to the sheet which are the element are necessary such as (pneumatic supply element actuator values) compressor, 3/2 mechanically operated spring controlled direction controlled valve and single acting cylinder. 5. Then correct the ports according to the circuit. 6. Finally simulate by using the simulation tool.

RESULT: software. Thus the simulation of the electro pneumatic circuit is simulated by using AUTOSIM 200

EX.NO: 08 SIMULATION OF ELECTRO PNEUMATIC CIRCUIT DATE: AIM: To design a circuit to extend and retract the single acting cylinder with the help of delay timer controlled by PLC. APPARATUS REQUIRED: 1. Single acting cylinder 2. RS 232 cable 3. Versa pro software 4. 3/2 single solenoid valve 5. FRL unit 6. PLC 7. Connecting wires and tube PROCEDURE: ON DELAY TIMER: 1. Draw the circuit diagram 2. Provide +24V and 24V from PLC trainer to panel. 3. Open the versa pro software in desktop 4. Interface PLC with PC using RS 232 cable. 5. Write a ladder diagram. 6. Output of PLC (q1) is directly connected to input of solenoid coil.

7. Following the opening procedure of versa pro software. 8. Check the ladder diagram. 9. Connect the air supply to FRL unit. 10. Run the PLC. After some delay the cylinder will be activated. CIRCUIT DIAGRAM: ON DELAY TIMER

PROCEDURE: OFF DELAY TIMER 1. Draw the circuit diagram 2. Provide +24V and 24V from PLC trainer to panel. 3. Open the versa pro software in desktop 4. Interface PLC with PC using RS 232 cable. 5. Write a ladder diagram. 6. Output of PLC (q1) is directly connected to input of solenoid coil. 7. Following the opening procedure of versa pro software. 8. Check the ladder diagram. 9. Connect the air supply to FRL unit. 10. Run the PLC and observe the working of single acting cylinder.

CIRCUIT DIAGRAM-OFF DELAY TIMER RESULT: Thus the actuation of single acting cylinder with ON and OFF delay timer was done using PLC.

EX.NO: 09 SIMULATION OF ELECTRO PNEUMATIC CIRCUIT DATE: AIM: To simulate the automatic sequence of double acting cylinder using PLC APPARATUS REQUIRED 1. Double acting cylinder 2. RS 232 cable 3. Versa pro software 4. 5/2 double solenoid valve 5. FRL unit 6. PLC 7. Connecting wires and tube. PROCEDURE: 1. Draw the circuit diagram 2. Provide +24V and 24V from PLC trainer to panel. 3. Open the versa pro software in desktop 4. Interface PLC with PC using RS 232 cable. 5. Write a ladder diagram. 6. Both outputs of PLC (q1 and q2) are directly connected to inputs of solenoid coils. 7. Following the opening procedure of versa pro software. 8. Check the ladder diagram and connect the air supply to FRL unit 9. Run the PLC and observe the working of double acting cylinder.

CIRCUIT DIAGRAM RESULT: Thus the ladder diagram for the automatic running of double acting cylinder is drawn and executed.

EX.NO: 10 SIMULATION OF ELECTRO PNEUMATIC CIRCUIT DATE: AIM: To design a circuit for the sequence A+B+A-B using PLC. APPARATUS REQUIRED: 1. Single and double acting cylinder 2. RS 232 cable 3. Versa pro software 4. 3/2 single solenoid valve, 5/2 double solenoid valve 5. FRL unit 6. PLC 7. Connecting wires and tube PROCEDURE: 1. Draw the circuit diagram 2. Provide +24V and 24V from PLC trainer to panel. 3. Open the versa pro software in desktop 4. Interface PLC with PC using RS 232 cable. 5. Write a ladder diagram. 6. Outputs of PLC (q1, q2, q3 and q4) are directly connected to the inputs of solenoid coil. 7. Following the opening procedure of versa pro software. 8. Check the ladder diagram. 9. Connect the air supply to FRL unit. 10. Run the PLC and observe the working of double acting cylinder.

CIRCUIT DIAGRAM: RESULT: Thus the ladder diagram for the automatic running of double acting cylinders is designed and executed.

EX.NO: 11 DATE: RUNNING A STEPPER MOTOR AT DIFFERENT SPEED IN TWO DIRECTIONS USING 8051 MICROCONTROLLER AIM: To run a stepper motor at different speed in two directions. PROGRAM: 4100 21 1A 41 START: LXI H,LOOK UP 4103 06 04 MVI B, 04 4105 7E REPT: MOV A,M 4106 D3 C0 OUT 0C0H 4108 11 03 03 LXI D, 0303H 410B 00 DELAY NOP 410C 1B DCX D 410D 7B MOV A,E 410E B2 ORA D 410F C2 0B 41 JNZ DELAY 4112 23 INX H 4113 05 DCR B 4114 CZ 05 41 JNZ REPT 4117 C3 00 41 JMP START 411A 09 03 06 0C LOOK UP: DB 09 05 06 0A RESULT: Enter the above program starting from location 4100. Execute the same. The stepper motor rotates. Speed can be varied by varying the count at DE pair. Direction can be varied by entering the data in the look-up table in the reverse order.

EX.NO: 12 DATE: RUNNING A STEPPER MOTOR FOR REQUIRED ANGLE WITHIN 360, WHICH IS EQUIVALENT TO 256 STEPS AIM: To run a stepper motor for required angle within 360, which is equivalent to 256 steps. PROGRAM: 4101 OE HEX DATA MVI C, HEX DATA 4102 21 20 41 START: LXI H, LOOK UP 4105 06 04 MVI B, 04 4107 7E REPT: MOV A,M 4108 D3 C0 OUT C0 410A OD DCR C 410B CA 24 41 JZ END 410E 11 03 03 LXI D, COUNT 4111 00 DELAY: NOP 4112 1B DCX D 4113 7B MOV A,E 4114 B2 ORA D 4115 C2 11 41 JNZ DELAY 4118 23 INX H 4119 05 DCR B 411A C2 07 41 JNZ REPT 411D C3 02 41 JMP START 4120 09 05 06 0A LOOK UP: DB 09 05 06 0A 4124 76 END: HLT RESULT: Enter the above program and execute it. By converting the required step in decimal to hex and entering the hex data at 4101 the motor rotates for so much steps and then stops.

EX.NO: 13 DATE: RUNNING A STEPPER MOTOR INTO TWO PARTS AIM: Enter the program starting from 5000H onwards. Connect the stepper motors in the two ports. Execute the program. PROGRAM: 5000 ORG 5000H 5000 21 1B 50 START: LXI H, LOOKUP 5003 06 04 MVI B, 04 5005 7E REPT: MOV A, M 5006 D3 C0 OUT 0C0H 5008 D3 C8 OUT 0C8H 500A 11 03 03 LXI D, 0303H 500D 1B DELAY: DCX D 500E 7B MOV A, E 500F B2 ORA D 5010 C2 0D 50 JNZ DELAY 5013 23 INX H 5014 05 DCR B 5015 C2 05 50 JNZ REPT 5018 C3 00 50 JMP START 501B 09 05 06 0A LOOKUP: DB 09H, 05H, 06H, 0AH 501F END RESULT: Now it can be seen that the two stepper motors runs in the forward direction simultaneously.

EX.NO: 14 DATE: RUNNING A STEPPER MOTOR IN BOTH FORWARD AND REVERSE DIRECTIONS WITH DELAY AIM: To run Stepper Motor in both forward and reverse directions with delay. PROGRAM: 4100 ORG 4100H 4100 0E 20 START: MVI C, 20H 4102 21 3F 41 FORWD: LXI H, FORLOOK 4105 CD 21 41 CALL ROTATE 4108 0D DCR C 4109 C2 02 41 JNZ FORWD 410C CD 35 41 CALL STOP 410F 0E 20 MVI C, 20H 4111 21 43 41 REVES: LXI H, REVLOOK 4114 CD 21 41 CALL ROTATE 4117 0D DCR C 4118 C2 11 41 JNZ REVES 411B CD 35 41 CALL STOP 411E C3 00 41 JMP START 4121 06 04 ROTATE: MVI B, 04H 4123 7E REPT: MOV A, M

4124 D3 C0 OUT 0C0H 4126 11 03 03 LXI D, 0303H 4129 1B LOOP1: DCX D 412A 7B MOV A, E 412B B2 ORA D 412C C2 29 41 JNZ LOOP1 412F 23 INX H 4130 05 DCR B 4131 C2 23 41 JNZ REPT 4134 C9 RET 4135 11 FF FF STOP: LXI D, FFFFH 4138 1B LOOP2: DCX D 4139 7B MOV A, E 413A B2 ORA D 413B C2 38 41 JNZ LOOP2 413E C9 RET 413F 09 05 06 0A FORLOOK DB 09H, 05H, 06H, 0AH 4143 0A 06 05 09 REVLOOK DB 0AH, 06H, 05H, 09H 4147 END RESULT: Enter the program starting from 4100H location and connect the stepper motor in port 1. Execute the program. Now you can see that the stepper motor runs in forward direction and reverse direction continuously with a delay.