Beruflich Dokumente
Kultur Dokumente
HANDBOOK VOLUME 1
MILL 2D
& SOLIDS
THE GUIDE TO MASTERCAM
Handbook Volume 1
Call 1-800-529-5517 or
Visit www.emastercam.com or
Table of Contents
Legend ........................................................................................................................ 1
Chapters
Introduction To Mastercam ....................................................................................................................3
Mastercam Workspace .........................................................................................................................39
CAD Drawing......................................................................................................................................... 71
Advanced CAD Drawing ......................................................................................................................151
Solid Modeling ....................................................................................................................................211
Drill Toolpaths ....................................................................................................................................251
Contour Toolpaths ..............................................................................................................................327
Pocket, Face, Circle & Slot Mill Toolpaths ..........................................................................................383
High Speed Toolpaths & Feature Based Machining ...........................................................................425
Rotary Toolpaths ................................................................................................................................491
Change Recognition ............................................................................................................................519
Handbook Volume 1
Introduction To Mastercam CHAPTER 11
Introduction To Mastercam
1
OBJECTIVES
In this chapter, you will learn what CAD/CAM software is and how Mastercam works. Upon completion of this
chapter, you should be able to do the following:
INTRODUCTION
CAD and CAM are the acronyms of Computer-Aided Design and Computer-Aided Manufacturing, respectively.
CAM/CAM software is used to program CNC (Computer Numerical Control) machine tools.
CAD/CAM software allows you to draw or model a part on the computer. This electronic model is accurate and
can be easily modified.
Machining operations can be applied to remove excessive material and to finish the part. The machining
processes are accurately simulated, allowing you to find and resolve problems before running the program on the
machine.
Once you are certain that the machining processes are safe and effective, Mastercam performs all the tedious
calculations and formatting to generate the NC (Numerical Control) code file.
CAD/CAM software is often used to program CNC machine tools because it offers many advantages over manual
programming, including
Faster programming
More efficient CNC programs
Fewer CNC program human errors, resulting in fewer scrapped parts and broken tools
CNC SETUPS
Parts must be located precisely and held securely during the machining process. Work holding devices are
referred to as fixtures. A fixture can be as simple as a vise with hard jaws. Very complex fixtures, like those used in
the aerospace industry, may cost many thousands of dollars and be designed by highly experienced tooling
engineers.
For example, many parts can be accurately located and held in a vise. If the part is machined on several sides, pay
careful attention to the order in which each face is machined and how the part is flipped between operations.
Production quantity is an important consideration. Higher production volumes usually justify more expensive
tooling to speed production and reduce scrap rate.
Size and type of material and cutting forces also affect fixture choice. A foam or plastic visual prototype may be
simply glued or taped down. More substantial parts can be bolted, clamped, or held with a vacuum.
A basic vise setup uses a vise, step jaws, vise stop, and stock material machined to size as shown in Figure 1. The
back edge of the fixed step jaw is dial-indicated parallel to the machines X-axis. The vise stop sets a limit to slide
the stock against as new stock material is loaded.
Figure 1
NOTE: Improperly designed setups are extremely dangerous. Parts, tooling, or fixture components can shatter
or be ejected at high speed, causing serious injury or even death. Always wear safety attire (glasses, steel toes,
hearing protection, etc) and observe all machine safety procedures.
Figure 2 shows the layout of a typical VMC and the location of the spindle when the machine is at its Home
Position.
Figure 2
NOTE: CNC programs are written in terms of the tool tip motion, not table motion. For example, a command of
X1.0 moves the tool to the right (though on a VMC the table will move to the left).
Fixture Offsets
You have probably noticed that when the machine is at its home position, its coordinate system datum is far away
from the part datum. The reason is explained below.
When you first power-up a CNC machine, the machine does not know where the spindle is in the workspace. The
machine finds the spindles position, also known as the machine position, during the startup-home process by
simply driving each machine axis towards its limit. Just before the machine reaches an axis limit, it trips a micro-
switch. This signals the control that the axis is at a known location, called the Machine Home. Home is usually
defined as the center-face of the spindle where the machine is at its axes limits.
Once a machine has been to the Machine Home, the machine keeps track of its own position by measuring how
far each axis moves from Home. Coordinates in relation to the Machine Home are called Machine Coordinates.
The Machine Home position is far from the work piece; hence, programs written in Machine Coordinates will
have numbers that hardly exhibit obvious relations to coordinates on the part. Further, if a fixture is removed, it
will be difficult to put back the fixture exactly where it was, and the CNC program written in Machine Coordinates
will have to be rewritten to account for all the changes. Therefore, Machine Coordinates are rarely employed to
generate CNC programs.
Since a part has its own datum, NC programs can be written in reference to the Part Datum, and such programs
can be easily understood. Figure 3 gives an example of the coordinate system based on the Part Datum.
Figure 3
Any point on the part or fixture can be used to locate the part datum, as long as the points position can be
reliably obtained.
In Figure 4, the material is machined to the finished size before loading it into a standard six-inch vise with step
jaws. The top of the finished material is the Z-Datum.
The fixed (back) vise jaw is dial-indicated parallel to the machine X-axis. A Vise Stop, in this case an adjustable rod,
allows stock material to be loaded into the vise in the exact same position each time.
The part datum must be located precisely, typically +/- .001 or less. There are many ways to find the part datum.
For example, the XY-Datum can be easily obtained using the Edge Finder to locate the back and left edges of the
part.
Figure 4
The coordinate system is shifted from Machine Home to the Part Datum by a Fixture Offset. A fixture offset is
simply a record of the distance between the Machine Home position and the Part Datum point, which is kept by
the machine control. Each time the NC program commands a move, the machine control checks this record, or
Register, and internally adds this value to that move.
G-codes that are assigned for Fixture Offset are usually G54 through G59, and some machines may allocate more.
Each fixture offset has an XYZ shift value.
In Figure 5, the G54 offset register is called on line (N2) of the NC program. This line of code moves the center of
the spindle from the Machine Home position to directly above the Part Datum.
Figure 5
You have probably noticed that the fixture offset in the previous example was used only to shift the datum in the
X-Y directions, not in Z. This is because the Z shift distance changes based on the tool length - how far the tool
extends below the center-face of the spindle. Most tools are of different lengths. Length may also change when
you replace a worn or broken tool.
Shifting the Z-datum is completed by using Tool Length Offsets. Tool offsets function similarly to fixture offsets.
They inform the machine of the location of the tool tip in relation to the part Z-datum. Each tool has its own Tool
Length Offset number. For most machines, Tool Length Offset number is an H-value that uses the same number
as the tool (i.e., T1 uses H1, T2 uses H2, etc).
The H-value is called in the G-code file with the first rapid move to depth along with a G43 (Read Tool Height
Offset Register). This requests the machine to check the H-register value and add this to the move, as shown in
Figure 6.
Figure 6
There is another method of using the Tool Length Offsets, which employs preset tooling. This method is used
more often in larger companies and long production run work. A more detailed description of the method is as
follows.
The tool length (distance from the center-face of the spindle to the tip of the tool) is accurately measured
in the tool room.
This gage length is entered in the tool-offset register as a positive value.
The fixture offset Z-value represents the distance from the center-face of the spindle to the part Z-datum.
Internally, the control first subtracts the fixture offset from a command move. It then adds the tool gage
length to the move.
NOTE: Some machines have automatic tool probes which measure the length automatically. Follow the
instructions in the machine operator manual for use of tool and fixture offsets with a probe. There are other
ways to use fixture and tool offsets.
They all work, and companies have good reasons to adopt a particular method. But, once you understand how
fixture and tool offsets work, you will easily be able to adapt to whatever method your company or school
uses.
CNC Setups
Plate work refers to machining sheets or plates of material. The material is manufactured to a specified thickness
that is the same as the finish thickness of the part. Hence no facing operation is required.
The purpose of the fixture plate is to locate accurately the stock material and then keep the part from moving
during machining.
The illustration below shows a typical fixture plate. The fixture base is machined to be flat, square, and parallel.
The plate is engraved with the part name and the coordinates of the part datum in reference to the upper-left
corner, as shown in Figure 7. This makes it easier to reuse the fixture plate.
Figure 7
The fixture plate below shows the setup just before the first machining operation. After the holes are drilled and
the bolts are inserted through the part, the dowel pins and clamps should be removed if there is any possibility of
a collision with the tool or holder, as shown in Figure 8.
Figure 8
Component Description
Fixture Plate This is the base on which the fixture is built. For short production and
prototype parts, an aluminum plate is commonly used. It is machined flat,
square, and parallel.
Deburr all sharp edges and holes so that the stock lies flat on the surface
and is not scratched.
Stock A sheet of aluminum stock that is within specification in thickness.
Since an OD contour cut is made all around the part, stock can be sheared
or saw cut to approximate the size.
A .093 vent hole is drilled from the bottom of the reamed hole through
the bottom of the plate. This allows air to enter into the space between
the bottom of the dowel pins. Without it, the dowel may become
impossible to remove due to the vacuum created with a blind hole.
Washers Steel cap screws will mar aluminum. Place an aluminum washer or pad
between clamps and an aluminum surface.
Cap Screws Two screws hold the clamps in place during drilling operations. Others are
installed to hold the plate down during the OD contour cut.
Clamps Simple shop-made aluminum clamps hold the part during drilling.
Component Specifications
Component Specifications
Process Overview
The following steps show how a simple fixture plate may be set up and used on a vertical machining center.
NOTE: Remove dowel pins after clamps are tightened if there is any chance of the tool impacting the pins.
NOTE: The machine operator is responsible for part quality. This is more than just adjusting a machine offset
to ensure the part is within specification.
Shoulder Bolts
In cases where you need to position a plate with existing holes, never rely on threaded holes to locate the part.
Instead, use Shoulder Bolts (aka Stripper Bolts) as shown in Figure 9.
Counterbore a hole in the fixture plate the diameter of the bolt shank.
Drill and tap a hole in the bottom of this counterbore to screw in the shoulder bolt.
Figure 9
Mastercam uses several file types, and each file plays a specific role in programming your machine. They are
installed on the computers hard drive in the directories shown in the Mastercam directory structure.
Mastercam automatically keeps track of the file location and extension. Below are the extensions that are most
widely used.
Depending on the type of operating system installed on your computer, Mastercam will install files into different
file paths.
For Windows 7, Windows 8 or Windows 10 you can find individual files and folders located at Documents\my
mcam2017. Shared files and folders will be located at C:\Users\Public\Public Documents\shared mcam2017.
NOTE: Above lists the default locations of files. Mastercam will automatically store files there unless another
location is set. The location of these files can be changed to any location on the computer or network at any
time.
STARTING MASTERCAM
To start Mastercam double click on the Mastercam 2017 icon on your computer desktop.
GETTING HELP
Mastercam has a network of extensive technical support. Whenever you need help to understand a function or
some setting hit Alt+H or select the Question mark icon.
You can also access the Help menu through the FILE (Backstage).
The Help menu lists several resources available, including Whats New, Contents, Tutorials, ReadMe, Check for
Updates, Network Licensing and About Mastercam.
If you are a student, your instructor is your primary source for help.
Mastercam has a worldwide network of Authorized Resellers to support industrial customers. Mastercam
resellers are highly qualified and have extensive experience helping customers get the most from their
Mastercam software investment.
The Mastercam forum is an excellent resource. It includes answers to frequently asked questions. Also, the
Forum section lets you post questions and read answers from Mastercam users worldwide. Please visit
www.emastercam.com for more information.
Mastercam 2017 features a new ribbon interface that is similar with other software such as Microsoft Office
products which makes it easier to find the functions you need to complete your part. Most functions in
Mastercam can be accessed using a ribbon tab.
File functions are used to manage MCAM and other file types. You can also access information about the current
file, customize the interface open the help or connect with the Mastercam community. The following functions
are available in the Backstage view.
Symbols C
# Finish Cuts .................................................. 411 CAD Drawing ................................................... 71
Numerics CAD/CAM .......................................................... 3
2D Contour ................................................... 349 Canned Text .................................................. 412
2D/3D Drawing Mode ................................... 178 Cartesian Coordinate System ......................... 73
2D/3D Mode ................................................... 44 Center Drill .................................................... 254
3D Cartesian Coordinate System .................. 172 Centerline Vs Of Center Machining .............. 505
3D Contour ................................................... 350 Chain Feature Options .................................. 334
Chaining ........................................................ 330
A
Chaining Example ......................................... 338
Absolute coordinates ...................................... 75 Chaining Options .......................................... 336
Absolute/Incremental ................................... 283 Chaining Problems ........................................ 339
Air regions ..................................................... 428 Chamfer ................................................108, 213
All Mastercam X Files ...................................... 28 Chamfer Contour .......................................... 351
Analyze Chain ............................................... 342 Chamfer Ribbon Bar ..................................... 109
Arc ................................................................... 82 Change Recognition ..............................519, 524
Arc Filter/Tolerance ...................................... 376 Change Recognition Step By Step ................. 530
Arc Options ................................................... 100 Changing Toolpaths ...................................... 307
Arc Ribbon Bar .............................................. 101 Changing Views ............................................... 50
Arc/Filter Tolerance ...................................... 439 Check All Tracked Files ................................. 523
Arcs ................................................................. 99 Check Current File ........................................ 521
Area Mill - Cut Parameters ........................... 441 Circle Mill Toolpath ....................................... 416
Area Mill - Transitions ................................... 443 Clear All Solid Face and Feature Color .......... 236
Area Mill - Trochoidal Motion ...................... 442 Climb vs Conventional Machining ................ 357
Area Mill Toolpath ........................................ 440 Color .........................................................44 , 47
AutoCursor Cues ............................................. 95 Communicate ............................................... 321
Automated Hole Processing ......................... 323 Compensation Direction ............................... 359
Avoidance Regions ........................................ 428 Configuation ................................................... 66
Axes Designation .......................................... 492 Configure AutoCursor Dialog .......................... 96
Axis Substitution ........................................... 504 Constant Radius ............................................ 227
Axis Substitution Toolpaths .......................... 514 Construction Depth (Z
B ) 175
Backplot ........................................................ 309 Construction Depth Example ........................ 176
Backplot Example ......................................... 313 Construction Plane (Cplane) ......................... 173
Backplot Home Tab ....................................... 310 Containment regions .................................... 428
Backplot View Tab ........................................ 313 Contour Break Through ................................ 371
Base Feature .........................................213, 216 Contour Cut Parameters ............................... 347
Bisecting lines ................................................. 86 Contour Depth Cuts ...................................... 365
Blend Mill - Cut Parameters .......................... 450 Contour Lead In/Out ..................................... 367
Blend Mill - Lead In/Out ............................... 452 Contour Linking Parameters ......................... 374
Blend Mill Toolpath ...................................... 450 Contour Multi Passes .................................... 372
Boolean .................................................213, 234 Contour Remachining ................................... 355
Boolean Add ................................................. 214 Contour Tool Selection ................................. 329
Bore .............................................................. 254 Contour Tool Types ....................................... 328
Bore In-Out (G85) ......................................... 297 Contour Toolpath ......................................... 330
Boss ............................................................... 212 Contour Toolpaths ................................327, 378
Bounding Box ........................................119, 124 Coolant ......................................................... 439
Brick Solid ..................................................... 213 Copy WCS ..................................................... 265