Design & Manufacturing II. The CAD/CAM Labs. Lab I Process Planning G-Code Mastercam Lathe

Similar documents
ENGI 7962 Mastercam Lab Mill 1

Projects. 5 For each component, produce a drawing showing the intersection BO.O. C'BORE 18 DIA x 5 DEEP FROM SECTION ON A - A

CNC PROGRAMMING WORKBOOK. Sample not for. Distribution MILL & LATHE. By Matthew Manton and Duane Weidinger

NUMERICAL CONTROL.

Preview Sample. Date: September 1, 2010 Author: Matthew Manton and Duane Weidinger ISBN:

G02 CW / G03 CCW Circular Interpolation Motion (Group 01) - Mill

CAD/CAM/CAE Computer Aided Design/Computer Aided Manufacturing/Computer Aided Manufacturing. Part-10 CNC Milling Programming

for Solidworks TRAINING GUIDE LESSON-9-CAD

CNC Machinery. Module 4: CNC Programming "Turning" IAT Curriculum Unit PREPARED BY. August 2009

VisualCAM 2018 TURN Quick Start MecSoft Corporation

Table of Contents. Preface 9 Prerequisites 9. Key Concept 1: Know Your Machine From A Programmer s Viewpoint 13. Table of Contents

Computer Aided Manufacturing

Figure 1: NC Lathe menu

MACH3 TURN ARC MOTION 6/27/2009 REV:0

CNC Machinery. Module 5: CNC Programming / Milling. IAT Curriculum Unit PREPARED BY. August 2009

MadCAM 2.0: Drill Pattern Toolpath

CNC Applications. Programming Machining Centers

Controlled Machine Tools

Lathe Series Training Manual. Haas CNC Lathe Programming

COMPUTER INTEGRATED MANUFACTURING LABORATORY (14AME31)

CNC Programming Guide MILLING

Conversational CAM Manual

Using Surfcam to Produce a Numeric Control (NC) Program Part #1 Surfcam Demonstration Version Use

Prof. Steven S. Saliterman Introductory Medical Device Prototyping

Basic NC and CNC. Dr. J. Ramkumar Professor, Department of Mechanical Engineering Micro machining Lab, I.I.T. Kanpur

STATE UNIVERSITY OF NEW YORK COLLEGE OF TECHNOLOGY CANTON, NEW YORK COURSE OUTLINE MECH 223 INTRODUCTION TO COMPUTER NUMERICAL CONTROL

Machinist--Cert Students apply industry standard safety practices and specific safety requirements for different machining operations.

Trade of Toolmaking. Module 6: Introduction to CNC Unit 2: Part Programming Phase 2. Published by. Trade of Toolmaking Phase 2 Module 6 Unit 2

WINMAX LATHE NC PROGRAMMING

Performance. CNC Turning & Milling Machine. Conversational CAM 3.11 Instruction Manual

Tutorial 4 - Open Dxf file and create multiple toolpaths (Contour, Pocket and Drill).

Computer Numeric Control

Table of Contents. Table of Contents. Preface 11 Prerequisites... 12

527F CNC Control. User Manual Calmotion LLC, All rights reserved

TRAINING PRODUCTS NEW PRODUCTS INSIDE

WINMAX LATHE NC PROGRAMMING

Prasanth. Lathe Machining

Pro/NC. Prerequisites. Stats

UNIT 5 CNC MACHINING. known as numerical control or NC.

TRAINING PRODUCTS. p f caminstructor.com 330 Chandos Court, Kitchener, ON, N2A 3C2

2.008 Design & Manufacturing II

MasterCAM for Dresser Valet

INDEX A FAGOR. 1. MC Training Manual. 2. Additional Simple Cycles. 3. USB Interface. 4. Installation. 5. Electrical Drawings

LAB MANUAL / OBSERVATION

Standard. CNC Turning & Milling Machine Rev 1.0. OM5 Control Software Instruction Manual

HAAS AUTOMATION, INC.

PROGRAMMING January 2005

Flip for User Guide. Inches. When Reliability Matters

Motion Manipulation Techniques

HAAS AUTOMATION, INC.

CNC Applications. Tool Nose Radius Compensation on Turning Centers

HAAS AUTOMATION, INC. PROGRAMMING MILL SERIES WORKBOOK ANSWERS HAAS AUTOMATION, INC STURGIS ROAD OXNARD, CA

Prof. Steven S. Saliterman Introductory Medical Device Prototyping

Getting Started. Terminology. CNC 1 Training


Mach4 CNC Controller Lathe Programming Guide Version 1.0

A Build-Your-Own Open Source CNC Lathe Machine

HAAS LATHE PANEL TUTORIAL

LinuxCNC Help for the Sherline Machine CNC System

MasterCAM for Sculpted Bench

CNC Turning Training CNC MILLING / ROUTING TRAINING GUIDE. Page 1

CNC Router Tutorial Jeremy Krause

Assembly Receiver/Hitch/Ball/Pin to use for CAD LAB 5A and 5B:

When the machine makes a movement based on the Absolute Coordinates or Machine Coordinates, instead of movements based on work offsets.

Safety Hazards Material Processing Laboratory Room 232

In this tutorial you will open a Dxf file and create the toolpath that cut the external of the part.

CAD/CAM Software & High Speed Machining

User's Guide. Servo CNC System. for Windows Programming and Operation. SW Version 5.0 Manual Version 1.1b. Form

Fusion 360 Part Setup. Tutorial


Techniques With Motion Types

Total Related Training Instruction (RTI) Hours: 144

Exercise 1. Milling a Part with the Lab-Volt CNC Mill EXERCISE OBJECTIVE

EASY CNC. Table of Contents

Kerf Bent Clock Front Toolpaths in MasterCAM. Open the MasterCAM application and open your clock front geometry file.

Review Label the Parts of the CNC Lathe

Conversational Programming. Alexsys Operator Manual

Flip for User Guide. Metric. When Reliability Matters

Machine Tool Technology/Machinist CIP Task Grid

In this tutorial you will open a Dxf file and create the toolpath to remove the material contained in a closed profile.

Manual Guide i. Lathe Training Workbook. For. Lathe Turning & Milling

Figure 1: NC EDM menu

Design Guide: CNC Machining VERSION 3.4

Turning and Lathe Basics

(Refer Slide Time: 01:19)

Block Delete techniques (also called optional block skip)

Table 5.1: Drilling canned cycles. Action at the bottom of the hole. Cancels drilling canned cycle Intermittent or continuous feed.

Mill Series Training Manual. Haas CNC Mill Programming

MANUAL GUIDE i Turning Examples GE FANUC

Section 6: Fixed Subroutines

10 x 16 Cutting Board - Juice Groove in MasterCAM

What's New in AlibreCAM 2018 May 1, 2018

CAMWorks How To Create CNC G-Code for CO2 Dragsters

Tutorial 1 getting started with the CNCSimulator Pro

NC Programming for PUMA Turning Centers Equipped with Live Tools, Sub Spindle, Y- Axis

BHARATHIDASAN ENGINEERING COLLEGE NATTRAMPALLI DEPARTMENT OF MECHANICAL ENGINEERING LABORATORY MANUAL ME6411-MANUFACTURING TECHNOLOGY LAB- II

Optimization of Cycle Time through Mastercam Virtual Simulation and Four Axis CNC Milling Machining of Camshaft

H2PN-T. Lathe CNC Controller. Manual. Version: Feb, 2009

Module 2. Milling calculations, coordinates and program preparing. 1 Pepared By: Tareq Al Sawafta

Mill OPERATING MANUAL

Transcription:

2.008 Design & Manufacturing II The CAD/CAM Labs Lab I Process Planning G-Code Mastercam Lathe Lab II Mastercam Mill Check G-Code Lab III CNC Mill & Lathe Machining OBJECTIVE BACKGROUND LAB EXERCISES DELIVERABLES APPENDIX A: PRODUCING THE SAMPLE PART APPENDIX B: PROGRAMMING MACHINE TOOLS 2 2 3 4 5 7

Labs I, II, III OBJECTIVE These lab exercises will introduce you to process planning and the tools you will need to carry through on such a plan. In the end (lab III) you will produce a machined paperweight with your own unique inscription. You will become familiar with a CNC lathe and a CNC mill, as well as Mastercam, a computer-aided manufacturing software package. You will also learn G-code, the alphanumeric programming language used to control CNC machine tools. BACKGROUND Process planning is an engineering activity that determines the appropriate procedures for transforming raw materials into a final product as specified by an engineering design. Engineering designs are conventionally documented using detailed diagrams indicating important design characteristics such as dimensions, tolerances, materials, and other pertinent specifications. Even though these diagrams convey a large amount of information about a design, they are incomplete in that they do not describe the manufacturing steps necessary to produce the final part. Effective process plans provide this information. In practice, design, process planning, and manufacturing are interrelated since the capabilities and characteristics of available equipment, manufacturing processes, and personnel can have a significant impact on the final design of a product. G-code When the designed product is produced using CNC machine tools, the machine tool controller needs explicit instructions describing the type and order of individual steps required to perform a given task. These instructions are provided to the controller in the form of alphanumeric codes (G-code) and are usually called a part program. A complete listing of G-code commands and a set of example code/part pairs can be found in the appendices. G-code itself can be written with any number of text editors, including the Windows notepad and, of course, emacs. After the code is verified with a simulation, it is loaded into one of the CNC machines. Mastercam Mastercam is a commercial Computer Aided Manufacturing software package. CAM is the process that links CAD (computer-aided design) with machine tools by automatically producing CNC code from a drawing. Mastercam includes a CAD environment, a geometry-to-g-code translator, and a G-code simulator. It is possible to import geometry from other drawing tools like AutoCAD, SolidWorks, or Pro/ENGINEER. 2.008 - Design & Manufacturing II 2 of 8 The CAD/CAM Labs

LAB EXERCISES In the next two labs, you will obtain an aluminum disc 3 in diameter and.5 thick (Fig. 1). Inscribe your own unique pattern on the top with the CNC milling machine (Fig. 2), and turn a custom border/facial profile on the remainder of the disk with the CNC lathe (Fig. 3). All exercises will be conducted with a partner - each pair must turn in only one part and will receive a common grade. 1 You and your lab mate may need to meet outside of class in order to complete some of these assignments. If you are feeling adventurous, you and your lab mate may produce two different paperweights. They will be graded separately. Fig. 1 Fig. 2 Fig. 3 During Lab I, you and your lab mate will: learn how to write G-code so that you can manually create your own part programs run a series of tutorials designed to teach you how to use Mastercam Lathe see Mastercam create the G-code for a similar profile as shown in Fig. 3 use Mastercam to draw the lathe profile of your paperweight (the top drawing can be done by hand or any software) use Mastercam to run a toolpath on the profile prepare for next week's lab During Lab II you and your lab mate will: learn how to use Mastercam Mill check your pre-prepared handwritten G-code program for the mill portion of your paperweight prepare for next week's lab During Lab III you and your lab mate will: finalize the drawings (combining top and side views) finalize your pre-prepared handwritten G-code program for the mill portion of your paperweight run your program on the CNC mill to inscribe your unique symbol into the center of your disc use the CNC lathe to run the profile program to turn/face the shape on your paperweight 1 If you feel that your lab mate is not performing his/her fair share of the work please contact the TA to discuss grading arrangements. 2.008 - Design & Manufacturing II 3 of 8 The CAD/CAM Labs

DELIVERABLES This page explains what you must have completed by a week after each lab session. See the "Grading Procedures" section of the webpage for more details. DELIVERABLE - Lab I 1) A 2-D drawing of the inscription to be machined on the top of your paperweight. This should be either handdrawn on graph paper or computer-drawn and dimensioned. 2) A handwritten G-code program of your unique inscription. A Mastercam Mill generated program is cheating! 3) A separate detailed cross-sectional sketch of the side view showing the profile shape that will be machined on the lathe. This should also be properly dimensioned and neat. Things to think about: You should have the handwritten program on a 3.5 floppy, or a Zip disk, (100MB, or 250MB) if you work on it at home so that you will be ready to debug and run at the beginning of Lab III. The program should be typed in using Windows Notepad. It must have a filename extension.txt. Keep in mind that your inscription should fit within a 2.0 diameter circle to allow for machining of the profile on the perimeter. Your milled inscription and profile shape must be unique. When dimensioning, be sure to reference everything from the center and top of the disk. Don t forget Z depths! Your inscription must have at least one arc or circle - all straight lines are not allowed. Remember the diameter of the end mill (it must fit between features) before you try anything too fine and detailed. Remember to consider how the disk will be held in the chuck on the lathe so that you don't machine into the jaws of the chuck - leave at least.200 of uncut material at the bottom. Remember to consider the shape of the bit and the angle from which it will cut. An isometric view of your part is purely optional. DELIVERABLE - Lab II 1) Finalized handwritten G-code for mill. 2) Mastercam generated lathe toolpath for the profile view. DELIVERABLE - Lab III 1) A completed paperweight, with both the milled inscription and turned profile. 2) A hardcopy of the final handwritten program of the milled inscription if it was changed since Lab II. 3) A Mastercam drawing of the final output of the entire paperweight, with both the top view and the side view on the same drawing, completely dimensioned. 2.008 - Design & Manufacturing II 4 of 8 The CAD/CAM Labs

APPENDIX A: Producing the Sample Part Step I: Milled Inscription In this example the Z0 has been established below the top of the raw stock by.010. The first tool in the program is a 1.5 diameter end mill (T11) that will face off the top of the raw stock to establish a plane at Z0. It will remove all imperfections from the original rough surface to create a uniform flat surface parallel to the machine s X, and Y planes. It is important to note that the parallelism of the surface to the machine s axes is critical for the engraving to be uniform in depth and width of cut. The engraving tool (T14) is then used to engrave the letters KC at a depth of -.007 into the face, followed by a 1/4 ball end mill (T8) to machine a circular groove around the letters KC. The following is the program. The 2 nd column is only to describe what each line, or block is doing and is not used by the control on the machine. 2.008 - Design & Manufacturing II 5 of 8 The CAD/CAM Labs

N1M26T11S2000 N2G0G55G75G90X-2.0Y-1.3 N3Z.1 N4G1Z0.F5. N5X2.0F10. N6X2.4Y0. N7X-2.4 N8X-2.0Y1.3 N9X2.0 N10G0Z.1 N11M26T14S4000 N12G0G55G75G90X-.375Y.5 N13Z.1 N14G1Z-.007F5. N15Y-.25F10. N16G0Z.1 N17X.375Y.5 N18G1Z-.007F5. N19X-.375Y.125F10. N20X.375Y-.25 N21G0Z.1 N22X.515Y.1333 N23G1Z-.007F5. N24G3X.25Y.243R.375F10. N25X-.125Y-.132R.375 N26X.25Y-.507R.375 N27X.375Y-.4855R.375 N28G0Z.1 N29M26T8S3000 N30G0G55G75G90X.825Y0 N31Z.1 N32G1Z-.125F5. N33G3X0.Y.825R.825F5. N34X-.825Y0.R.825 N35X0.Y-.825R.825 N36X.825Y0.R.825 N37G0Z.1 N38M26 N39M30 Return the X, Y, and Z-axes to a predetermined clearance point for changing tools. Install tool T11 (1.5" end mill) for facing top surface, spindle speed 2000RPM Rapid positioning mode, designate work coordinate system 1, multi-quadrant circle mode, absolute positioning mode, move to the X, and Y values, Rapid position Z to the clearance plane,.100" above the part. Linear feed to Z0 at 5" per minute Linear feed to X value at 10" per minute Compound linear feed movement, still at 10" per minute Rapid position Z up to clearance plane Return the X, Y, and Z-axes to a predetermined clearance point for changing tools. Tool change, T14. (Engraving tool), spindle speed 4000RPM Rapid positioning mode, designate work coordinate system 1, multi-quadrant circle mode, absolute positioning mode, move to the X, and Y values, Rapid position Z down to clearance plane Feed Z into part to a depth of -.007" at 5.0" per minute Feed Y to -.25 at 10" per minute Rapid Z up to clearance plane Rapid position to start point of next cut Feed into part Rapid Z up to clearance plane Rapid position to start point of next cut Feed into part Circular interpolate CCW to the first quadrant of the circle. R is the radius of the circle. Continue to circular interpolate to the next quadrant Continue to circular interpolate to the next quadrant Continue to circular interpolate to the end of the circle Rapid Z up to clearance plane Return the X, Y, and Z-axes to a predetermined clearance point for changing tools. Tool change, T8. (.250 ball end mill) Rapid positioning mode, designate work coordinate system 1, multi-quadrant circle mode, absolute positioning mode, move to the X, and Y values Rapid Z down to clearance plane Feed Z-axis into part to a depth of -.125" at 5.0" per minute Circular interpolate CCW to first quadrant of circle, at 5.0" per minute Circular interpolate CCW to next quadrant Circular interpolate CCW to next quadrant Circular interpolate CCW to next quadrant Rapid Z up.100 to clearance plane Return the X, Y, and Z-axes to the clearance point. End program Step II: Turned Profile 2.008 - Design & Manufacturing II 6 of 8 The CAD/CAM Labs

To view the profile: Launch Mastercam Lathe, from the MAIN MENU, select File, Get, go to the course locker: X:\2.008\Lathe\Mc8\, open KCL.Mc8. Mastercam will try to find the associated tools, just click OK, or Cancel to get through the screens. To view the toolpath: From the MAIN MENU, select Toolpaths, Operations. In the Operations Manager window, click Select All, then Backplot, then select Run on the Lathe Backplot menu. To view the G-code: From the MAIN MENU, select File, Edit, NC, open KCL.NC, this is also in the course locker: X:\2.008\Lathe\NC\ APPENDIX B: Programming Machine Tools A part program is composed of a number of machine tool instructions. These instructions can be commands to: turn the spindle on, move on an axis, turn the coolant on, select a tool, or execute an entire pattern of movements. A letter followed by digits is called a word and each program line is termed a block. The commands are executed in order, one block at a time. Machine tool programming began from a common starting point. The current common character set derives from the first standard NC machining data communication standard one-inch wide paper tape. In this standard, letters are used to define specific program elements: Address Meaning Address Meaning O program number F feed rate N sequence number E thread lead G preparatory function S spindle speed X, Y, Z coordinate axis motion T tool number R arc/corner radius, or rapid plane M misc./machine functions I absolute center of arc in x-axis J absolute center of arc in y-axis Due to the power and frequent use of the preparatory functions, CNC control programs are often called G-code. Logically, different types of machines require different G-code programs. A lathe has different requirements than a mill or a grinder. In addition, as products have become more advanced and manufacturers have wished to differentiate their products from their competitors, custom commands have proliferated and made certain programs incompatible with different machines. It is therefore important to learn which codes are available on which machines. COMMONLY USED G-CODE FOR MILLING G00 G01 G02 G03 G04 G40 G41 G42 G70 G75 G80 G81 G83 G90 G91 G92 rapid linear motion linear motion at preset feedrate F circular feed motion - CW circular feed motion CCW dwell for time (P seconds) cutter compensation off cutter compensation left cutter compensation right inch units multi-quadrant circles (EZ-Trak machine) canned drill cycle cancel standard canned drilling cycle (no pecking) peck drill cycle absolute values incremental values establish zero point 2.008 - Design & Manufacturing II 7 of 8 The CAD/CAM Labs

G55 G56 G57 S F T R M00 M01 M02 M03 M04 M05 M06 M08 M09 M13 M25 M26 M30 H Workshift 1 (WS1) EZ-Trak machine, Paperweight, and Thermoform mold origin Workshift 2 (WS2) EZ-Trak machine, Core mold origin Workshift 3 (WS3) EZ-Trak machine, Cavity mold origin spindle speed (RPM) feed rate (IPM) tool number Height for rapid positioning in drilling cycles, or arc radius value when in G02, or G03 program stop planned optional stop, can be turned on or off at machine control end program (Cincinnati Milacron 7vc machine) spindle on (CW) spindle on (CCW) spindle off change tool coolant on coolant off coolant & spindle on (Cincinnati Milacron 7vc machine) return Z-axis to machine home (EZ-Trak machine) return X, Y, and Z axes to a predetermined clearance position for tool change (EZ-Trak) end program tool height offset Leading zeros are commonly left out to help reduce the size of the programs. Computer notes: The computers are networked to the ME server in bldg. 3. Please note that Mastercam writes to C:\temp on the local hard drives. You must Copy your geometry file.mc8, and part program file.txt for the EZ-Trak mills, or.nc for the lathe, to your assigned lab folder on the server, they are safer there and you will be able to access them from any computer in the lab next time you come in, and others in your work group will be able to find them as well. The computers also have 250MB Zip drives and will recognize 100MB Zip disks. Make sure you save your work over the network! The computers are set to automatically log you off after 15 minutes of inactivity. This time period may change before the labs begin. This automatic logging off will clean the desktop, and the temp folder. Please keep all files backed up on a floppy disk, or Zip disk. You may create additional folders within your assigned folder to keep your files organized. Such as a Mill folder, and a Lathe folder, with sub-folders under each such as MC8, NC. Refrain from saving your work in your personal network folder, others in your group will not be able to access the data. Always work out of your assigned lab folder. There are 2 computers in the shop, Crossshop1, and Crossshop2. Send the Lathe programs to the appropriate folder within the send folder on Crossshop1. The path: My Network Places\\Entire Network\\Microsoft Windows Network\\Mecheng\\Crossshop1\ Daewoo\Send\ Send the Mill programs to the appropriate folder within the send folder on Crossshop2. The path: My Network Places\\Entire Network\\Microsoft Windows Network\\Mecheng\\Crossshop2\ EZ-Trak\Send\ 2.008 - Design & Manufacturing II 8 of 8 The CAD/CAM Labs