4 & 5 Axis Mill Training Tutorials
4 & 5 Axis Mill Training Tutorials
To order more books:
Call 1-800-529-5517 or
Visit www.inhousesolutions.com or
Contact your Mastercam Dealer
Mastercam X Training Tutorials – 4 & 5 Axis Mill Applications
Revised Date: July 8, 2009
Copyright © 1984 - 2009 In-House Solutions Inc. - All rights reserved.
Software: Mastercam X Mill
Authors: Mariana Lendel
ISBN: 978-1-926566-41-2
Notice
In-House Solutions Inc. reserves the right to make improvements to this manual at any time and without
notice.
Disclaimer Of All Warranties And Liability
In-House Solutions Inc. makes no warranties, either express or implied, with respect to this manual or
with respect to the software described in this manual, its quality, performance, merchantability, or fitness
for any particular purpose. In-House Solutions Inc. manual is sold or licensed "as is." The entire risk as to
its quality and performance is with the buyer. Should the manual prove defective following its purchase,
the buyer (and not In-House Solutions Inc., its distributor, or its retailer) assumes the entire cost of all
necessary servicing, repair, of correction and any incidental or consequential damages. In no event will In-
House Solutions Inc. be liable for direct, indirect, or consequential damages resulting from any defect in
the manual, even if In-House Solutions Inc. has been advised of the possibility of such damages. Some
jurisdictions do not allow the exclusion or limitation of implied warranties or liability for incidental or
consequential damages, so the above limitation or exclusion may not apply to you.
Copyrights
This manual is protected under the copyright laws of Canada and the United States. All rights are
reserved. This document may not, in whole or part, be copied, photocopied, reproduced, translated or
reduced to any electronic medium or machine readable form without prior consent, in writing, from In-
House Solutions Inc.
Trademarks
Mastercam is a registered trademark of CNC Software, Inc.
Microsoft, the Microsoft logo, MS, and MS-DOS are registered trademarks of Microsoft Corporation;
Mastercam Verify is created in conjunction with Sirius Systems Corporation; Windows 95, and Windows
NT; Windows XP are registered trademarks of Microsoft Corporation.
TABLE OF CONTENTS
Axis Substitution, Rotary Axis Positioning and Transform-Rotate Tutorial ................... 1-1
Axis Substitution To Create A Cylindrical and A Conical Helix Tutorial ...........................2-1
Axis Substitution, Rolldie C-Hook Tutorial .....................................................................3-1
Chuck Indexing Tutorial ................................................................................................4-1
Rotary4-Axis Toolpath and Axial 4ax Tutorial ................................................................ 5-1
Curve 5-Axis Tutorial..................................................................................................... 6-1
Drill 5-Axis and Circle Mill 5-Axis Tutorial ...................................................................... 7-1
TUTORIAL 4
CHUCK INDEXING TUTORIAL
4/5-Axis TUTORIAL 4
Objectives:
The Student will design a 3-dimensional drawing by:
Creating the 2D geometry in the Right Side view.
Creating the 3D geometry using translate command.
Creating circles knowing the diameter and the center location.
Changing the view of the part for better visualisation.
The Student will create a 2-dimensional milling toolpath in different Tplanes consisting of:
The Student will check the toolpath using Mastercam’s Verify verification module by:
Page 4-2
4/5-Axis TUTORIAL 4
Page 4-3
4/5-Axis TUTORIAL 4
GEOMETRY CREATION
STEP 1: CREATE THE 2D GEOMETRY IN THE RIGHT SIDE VIEW
Option 1The geometry file, Tutorial4_geometry.zip, can be downloaded from
www.emastercam.com/files
The finish part, Tutorial4_finish.zip including the toolpaths, is also provided on the same location
www.emastercam.com/files
Edit/Join entities
Select the two colinear lines; Press enter to finish the command
Page 4-4
4/5-Axis TUTORIAL 4
Delete the center line and the parallel lines closest to the origin.
Page 4-5
4/5-Axis TUTORIAL 4
Select the arc between the two parallel lines that you rotated in the previous step.
Select Entity B
Select a line; Select line B as shown
Select the point to place a parallel line through;
Pick a point to the right of the line; enter the distance 1.50
Diameter = .375;
Center at intersection between two of the lines created in the previous
step.
Delete the construction lines
File/Save as
File Name: Tut4_Rotary axis indexing.mcx
Page 4-6
4/5-Axis TUTORIAL 4
TOOLPATH CREATION
STEP 2: DEFINE THE STOCK
To display the Toolpaths Manager press Alt + O.
If a machine definition is already selected see Tutorial # 2 page 2-4 to learn how to change it.
Page 4-7
4/5-Axis TUTORIAL 4
Select the plus in front of Properties to expand the Toolpaths Group Properties.
Page 4-8
4/5-Axis TUTORIAL 4
Select the Tool Settings tab to set the tool parameters and the part material.
Change the parameters to match the following screenshot.
Page 4-9
4/5-Axis TUTORIAL 4
The tool plane (Tplane) is the plane in which the tool approaches and machines the part. The
Tplane represents the CNC machine’s coordinate system (XY axis and origin). This is the cutting
plane for a toolpath, typically normal to the tool axis
The Rotary axis for our part is A-axis. The axis orientation for different views should look as shown
in the following picture.
Compare the planes axis orientation when rotating the part about B axis. (horizontal machining
centers).
Page 4-10
4/5-Axis TUTORIAL 4
Toolpath Preview:
Page 4-11
4/5-Axis TUTORIAL 4
The axis should be orientated as shown in the following picture. Otherwise click on Select Next View.
Y
Select Next View
Z
X
Page 4-12
4/5-Axis TUTORIAL 4
3.2 Set both Cplane and Tplane to the flat area on a 165 degree angle.
Click on Set your current tool plane and origin to the selected view button.
Click on Set your current construction plane and origin to the selected view button.
Set Z to 0.
Page 4-13
4/5-Axis TUTORIAL 4
Toolpaths
Face
Select the OK button to accept the NC name.
Enable C-plane in the Chaining dialog box.
[Select OK to use the defined stock or select chain 1]:Select the chain as
shown
Select the
chain here
Page 4-14
4/5-Axis TUTORIAL 4
In the Tool Types field select the None button to disable all tools.
The Tool page allows you to select the tool used in this operation. It also allows you to
change the Spindle speed, the Feed rate, Plunge rate and Retract rate. You can insert a
comment that will be output in the NC file after running the post processor
Page 4-15
4/5-Axis TUTORIAL 4
From the Tree view list, select the Cut parameters and change the parameters as shown in the
following screenshots.
Make sure that you change the Cutting method to One pass.
Select the Linking Parameters page and match the settings shown.
Page 4-16
4/5-Axis TUTORIAL 4
Toolpath Preview:
Toolpaths
Transform
Page 4-17
4/5-Axis TUTORIAL 4
Enable Rotate and the Method should be set to Tool plane to be able to create a new tool plane for
the transform toolpath.
Enable Maintain source operation’s to keep the same Work offset number.(G54).
Page 4-18
4/5-Axis TUTORIAL 4
Page 4-19
4/5-Axis TUTORIAL 4
Toolpath Preview:
Toolpaths
Transform
Enable Rotate and the Method should be set to Tool plane to be able to create a new tool plane for
the transform toolpath.
Enable Maintain source operation’s to keep the same Work offset number.(G54).
Select only the Transform operation as shown below.
Page 4-20
4/5-Axis TUTORIAL 4
Make sure that Rotation view is enabled and set to Right Side. Otherwise follow the previous step to
select the Rotation view.
Select the OK button to exit Transform Operation Parameters
Page 4-21
4/5-Axis TUTORIAL 4
Toolpath Preview:
Note the holes are not drilled from the Back plane.
We will need to define a new plane by rotating the Top plane -90 degrees.
Press simultaneous Alt &T to disable the toolpath display if needed. Note that pressing Alt + T again
will display the toolpath of selected operations.
Page 4-22
4/5-Axis TUTORIAL 4
X
Y
Page 4-23
4/5-Axis TUTORIAL 4
Toolpaths
Drill
Select the Entities button in the Drill Point Selection dialog box.
Page 4-24
4/5-Axis TUTORIAL 4
In the Tool Types field select the None button to disable all tools.
Select the Drill tool type as shown (upper right corner).
In the Tool Diameter field click the pull-down arrow and select Equal.
Enter the Tool Diameter value to 0.375.
Select the OK button to exit Tool List Filter.
Page 4-25
4/5-Axis TUTORIAL 4
Make sure that the tool is selected (highlighted) in the Tool Selection screen.
From the Tree view list, select Cut Parameters page and ensure the cycle is set to
Drill/Counterbore
Page 4-26
4/5-Axis TUTORIAL 4
Select the Linking Parameters and change the parameters as shown in the following screenshot.
Page 4-27
4/5-Axis TUTORIAL 4
Toolpath Preview:
Page 4-28
4/5-Axis TUTORIAL 4
y
Z
Page 4-29
4/5-Axis TUTORIAL 4
Page 4-30
4/5-Axis TUTORIAL 4
Toolpaths
Contour
Select the contour and the bottom of the groove shape, as shown.
Click on Tool and then click on Select library tool button. Using Filter select a 0.5 Flat Endmill.
Make the necessary changes to match the parameters with the screenshot below.
Page 4-31
4/5-Axis TUTORIAL 4
Select the Cut parameters page and change the settings to match the following screenshot.
Select the Lead in/out page to set the parameters that extends the contour start and end.
Page 4-32
4/5-Axis TUTORIAL 4
Select the Linking Parameters page and change the values as shown.
Page 4-33
4/5-Axis TUTORIAL 4
Toolpath Preview:
Toolpaths
Transform
Enable Rotate and the Method should be set to Tool plane to be able to create a new tool plane for
the transform toolpath.
Enable Maintain source operation’s to keep the same Work offset number.(G54).
Make sure that only the contour operation is selected as shown in the following screenshot.
Page 4-34
4/5-Axis TUTORIAL 4
Make sure that the Rotation view is enabled and set to the Right Side View.
Select the OK button to exit Transform Operation Parameters
Page 4-35
4/5-Axis TUTORIAL 4
Make sure that you have the following buttons turned on (they will appear pushed down).
Display tool
Display rapid moves
Display tool
Page 4-36
4/5-Axis TUTORIAL 4
Page 4-37
4/5-Axis TUTORIAL 4
Set the Verify speed by moving the slider bar in the speed control bar.
Select the Machine button to start simulation.
To see the part from a different view select Dynamic Rotation button from the
toolbar.
Select this
midpoint
Page 4-38
4/5-Axis TUTORIAL 4
Page 4-39
4/5-Axis TUTORIAL 4
Select the OK button to accept the same name for the NC file as the geometry name.
Note in line N4 the work offset G54 and the angle A75; line N30 G54 and A-90; line N40 G54 and A30.
Select the red X at the upper right side to exit the Editor.
Page 4-40
TUTORIAL SERIES FOR
TUTORIAL 10
5 AXIS MULTISURFACE
4/5-AxisTUTORIAL 10
Objectives:
This tutorial covers Mastercam's 4 and 5-Axis toolpath functionality. To apply these toolpaths to a 5-Axis
machine tool, a customized post processor for your machine is required.
There are no default 5-Axis post processors included with Mastercam due to the variation in multi-axis
machine configurations. Contact your Mastercam reseller to request post processor services such as multi-axis
post development.
Your post processor may require certain additional programming information not covered in this tutorial. For
instance :
You may be required to position your stock in machine space rather than at Mastercam's origin
You may be required to use the Misc Values box
Your post may also prompt for tool gage lengths.
The nature of the additional information required depends largely on your machine's configuration. Contact
the developer of your post processor for details.
The Student will check the toolpath using Mastercam’s Verify verification module by:
Page 10-2
4/5-Axis TUTORIAL 10
The finished part, Tutorial10_finish.zip including the toolpaths, is also provided on the same location
www.emastercam.com/files
TOOLPATH CREATION
File
Open
If a machine definition is already selected see Tutorial # 2 page 2-4 to learn how to change it. Select Mill
5-AXIS Table-Head Vertical
Machine type
Mill
Select Mill 5-AXIS Table-Head Vertical.
Page 10-3
4/5-Axis TUTORIAL 10
Page 10-4
4/5-Axis TUTORIAL 10
Select the Tool Settings tab to set the tool parameters and the part material.
Change the parameters to match the following screenshot.
Page 10-5
4/5-Axis TUTORIAL 10
Multisurface 5 Axis generates a 5 axis surface toolpath over a series of surfaces or solids that allows
precise control of the scallop height or constant distance stepovers to create a smooth finish.
Toolpaths
Multiaxis
Multisurface 5 Axis
Select the OK button to accept the NC name.
Change the parameters for Msurf 5-axis as shown in the following screenshot.
Page 10-6
4/5-Axis TUTORIAL 10
Page 10-7
4/5-Axis TUTORIAL 10
Enable Color and select color magenta no.13 as shown to the right.
The top surfaces should be selected as shown below.
Page 10-8
4/5-Axis TUTORIAL 10
Page 10-9
4/5-Axis TUTORIAL 10
Tool control – Sets the tool tilt along the cut direction (Lead/lag angle) and to the right or left
side (Side tilt angle). For more details, see Curve5ax Parameters.
Cut control – Sets the toolpath accuracy.
Cut tolerance – Sets the tolerance in which the toolpath follows the surfaces.
Across Stepover – Sets the stepover as a Distance between the cutting passes.
Along Stepover – Sets the stepover as a Distance along the cutting direction.
Cutting method – Sets the toolpath motion to Zigzag, One way or Spiral
Flow parameters - Allows you to set the Offset, Cut direction,Step direction and Start of the
toolpath toggled between the different options (Flip). For more details, see Flow5ax
Parameters.
Ignore Surface Normals it is used when we are using a separate pattern surface to control the
cutting direction.
Page 10-10
4/5-Axis TUTORIAL 10
The cut direction should be along the magenta surfaces as shown below.
Page 10-11
4/5-Axis TUTORIAL 10
Toolpath Preview:
Toolpaths
Multiaxis
Multisurface 5 Axis
Page 10-12
4/5-Axis TUTORIAL 10
Enable Color and select color magenta no.13 as shown to the right.
Page 10-13
4/5-Axis TUTORIAL 10
[Select Check Surfaces]: Select the two flat surfaces at the top as shown below.
Page 10-14
4/5-Axis TUTORIAL 10
Page 10-15
4/5-Axis TUTORIAL 10
Select Axis Limits and enable Z Axis and change the angles as shown.
Page 10-16
4/5-Axis TUTORIAL 10
Select Point Generators tab and disable Angle and enable Distance as shown.
Point generators role is to add more tool positions for a more accurate
toolpath.
Distance is a linear distance used by Mastercam to add one or more
additional tool position if the distance between two moves exceeds the
current value.
Page 10-17
4/5-Axis TUTORIAL 10
Page 10-18
4/5-Axis TUTORIAL 10
Change the graphic view to Front and check the second operation only.
Select Step forward button to check it step by step.The toolpath should look as shown below.
STEP 5: VERIFY
Select Verify selected operations button.
Page 10-19
4/5-Axis TUTORIAL 10
Set the Verify speed by moving the slider bar in the speed control bar.
Page 10-20
4/5-Axis TUTORIAL 10
Page 10-21