ET 349 LABORATORY  2:
Introduction to HAAS MachinesAnd Basic CNC procedures


PURPOSE

The purpose of this laboratory exercise is to provide a framework for understanding the basic CNC
procedures and becoming familiar with the HAAS machine tool controller.   A simple name plate will
be produced on the HAAS vertical mill. Students will create a simple CNC program, download to
controller, set up  a part zero work plane, reference tool offsets, and operate the HAAS machine to
produce a simple name plate.

OBJECTIVES

After completing this laboratory exercise you should be able to do the following:

Identify steps required to produce a CNC machined part
Write a manual CNC program
Download a CNC program to the HAAS controller
Set a “Part zero” work plane
Set tool offsets
Operate the HASS vertical mill to produce a name plate


TERMS

MACH3 Mill
ASCII file
Absolute Coordinate System
NC “Words”
  X Word
Y Word
Z Word
S Word
F Word
G Codes
M Codes
Part Zero Work plane
Tool offset
Graphic Simulator
HAAS Controller


Pre-Laboratory Preparation

1.  Study the drawing shown in Figure 1, and identify the maximum machineable area for the work
part to be produced.  Note that pre-sized stock will be provided that conforms to the dimensions shown.
The first step for this lab exercise will be the creation of a luggage tag.  You have the choice of designing
the product as you wish within the constraints as follows:  The name plate must display WCU and ET
in some manner and fit within the allowable work space.  Since you will writing the program manually,
it is suggested that the layout be kept relatively simple.  There are two machining operations that must
be performed:  1) WCU and ET text; and 2) A drilled 1/8” hole to accept a chain, string, or strap for
mounting.   Your layout design could look something like what is shown in Figure 2.


 

2.  Go to the following website and download a copy of the AutoEdit CNC software (free for educational use).

     http://www.machsupport.com/downloads.php .

     Use the following STANDARD TEMPLATE for your first manual CNC program.
 

%
O0001 (Program Name)
N05 G20 G40 G49 G54 G80 G90 G98
N10 M06 T01
N15 G43 H01
N20 M03 S1200
N25 G00 X0.0 Y0.0 (M08)
N30 G00 Z.2
N35
N40 (PLACE CODE HERE)
N45
N50
N97 G91 G28 Z2.0
N98 M05
N99 M30
%

NOTE:  Go to the following page and download a personal copy of the HAAS G and M codes:
http://www.haascnc.com/training/MillProgram_PDF/xMGMCard.pdf

Insert comments in your program to explain the use of EACH G and M code used.
Make sure you provide the necessary reference information at the beginning of your program.
Below are examples:

%
O0001 (Program Name:  Lab 1--Luggage Tag)
(Programmer Name:  Aaron Ball)
(Part Name:  Luggage Tag)
(Part Zero Reference:   Left corner of fixed vice jaw)
(Material Type:  Acrylic)
(Cutter:  1/8 Dia. HSS)
(G 54 Reference:  Top plane of work piece)
N05 G20 G40 G49 G54 G80 G90 G98 (G20 Inches, G40 Cutter Comp Off, G49 Tool Length Cancel)
N07                                                   (G80 Cancel Canned Cycle, G90 Absolute Positioning,)
N09                                                   (G98 Canned Cycle Initial Point Return)
N10 M06 T01 (M06 Tool Change; T01 Tool Number 1)

EXAMPLE CODE COVERED IN CLASS

%
O0001 (Luggage Tag)
N10 (PROGRAMMER:  A BALL)
N20 (PART ZERO: LEFT CORNER OF FIXED JAW)
N30 (MAT'L: ACRYLIC)
N40 (CUTTER: 1/8" 2 FL. HSS END MILL)
N50 G20 G40 G49 (G20",G40 CUTTER COMP CANCEL, G49 TL CANCEL)
N60 G54 G80 G90 G98 (G54 WORK PLANE, G80 CANCEL CAN'D CYCYE)
N70 G90 G98 (G90 ABS, G98 CC IPR)
N80 M06 T01 (M06 TOOL CHANGE, T01 TOOL #1)
N90 G43 H01 (G43 TL COMP, H01 FOR T01 IN Z)
N100 M03 S1200 (M03 SPINDLE ON CW, S1200 SPINDLE RPM)
N110 G00 X0.0 Y0.0(G00 RAPID TO 0,0)
N120 M09 (M09 COOLANT OFF for acrylic)
N130 G00 Z.2 (RAPID TO .200 ABOVE WORK PIECE)
N140 G00 X.75Y-.75 (RAPID TO PT. 1)
N150 G01 Z-.01 F 4.0 (SPINDLE DOWN .010 D.O.C)
N160 G01 X1.0Y-1.25Z-.01F 6.0 (CUT TO PT 2 @ 6 IPM)
N170 G01 X1.25Y-1.0 (CUT TO PT. 3 @ 6 IMP)
N172 G01 X1.5Y-1.25 (CUT TO PT.4 @ 6 IMP)
N174 G01 X1.75Y-.75 (CUT TO PT.5 @ 6 IMP)
N176 G01 Z.1 (SPINDLE UP TO CLEAR PART)
N180 G91 G28 Z2.0 (G91 INCR, G28 HOME THRU Z 2.0 PT)
N190 M05 (SPINDLE OFF)
N200 M30 (PROGRAM END AND RESET)
%

3.  Visit the following websites and become familiar with the HAAS controller and general setup procedures. 
     Study each section so that you
have a good understanding of how the panel is organized and the function of general keys 
     areas.  Your lab
instructor will cover more detail in the first lab.

    http://www.haascnc.com/solutions_control.asp#control

    http://www.ie.imse.iastate.edu/cnc/Module2.html

Procedure:
1.    Using the dimensions of the blank stock shown in figure 1, draw a
       rectangular work envelope representing the working area.
2.    Design the WCU logo to be machined using the following restrictions:
       a. The letter segments will be straight lines;
       b. Maximum height of letters must not exceed 1.25 inches and be located in the
           available work area.
3.    Using graph paper, determine the coordinates of end points for each letter
       Segment.
4.    Add any additional straight line segments desired for your logo design;
5.    Using Word Pad and MACH3 Mill (CNC software), write a program to produce the
       designed part.
6.    Save the file as a plain ASCII text file.
7.    Run a simulation of the part to be machined to verify the tool path.
8.    Upon verification, save the file to a 1.44 M floppy disk using the following
       Name format:     Filename.txt    (note: no more than 8 characters for filename).
9.    Next Step will be machining the part.  Notify the instructor or lab assistant
       When you are ready to transfer the part to the HAAS machine.
10.  Load the engraving tool as specified by the lab instructor in position 1.
11.   Load a 1/8 inch drill into tool position 2.
12.   Mount a stock blank in the fixture and vice.
12    Set workplane coordinates for G54.
13.   Touch off and set tool work off-sets for each tool.
14.   Download your program to the CNC machine.
15.   Graphically simulate your program for verification.
16.   Have your instructor approve the program and set-up.
17.   Run the CNC program to produce the luggage tag.
18.   Have your instructor sign the lab completion form.
10.   Write a brief lab report using the following format shown below
        and turn in deliverables as indicated.
 
 

Title:

Your Name:

Lab Section:

Date:

Purpose:

Objectives:

Procedure:

Results (deliverables)
 

1. Part Sketch
2. Program Listing
3. Printed tool path simulation
4. Set Up  and Operations Sheet
5. Actual Machined Part
6. Material Type and Cost (visit http://www.mscdirect.com)
7. Cutter specifications and cost (refer to MSC Direct webpage)
Conclusion/Discussion:  (Discuss the outcomes and describe any difficulties encountered.

Make recommendations for changes for improvements).

NOTE:  LAB WRITE UP AND DELIVERABLES ARE DUE AT THE BEGINNING OF THE NEXT SCHEDULED LABORATORY SESSION.