My WebsiteTruong2008 Chuyển đổi com

60

description

Mastercam Book

Transcript of My WebsiteTruong2008 Chuyển đổi com

Page 1: My WebsiteTruong2008 Chuyển đổi  com
Page 2: My WebsiteTruong2008 Chuyển đổi  com

4 & 5 Axis Mill Training Tutorials

��

www.Truong2008.com

www.Truong2008.com

Page 3: My WebsiteTruong2008 Chuyển đổi  com

www.Truong2008.com

Page 4: My WebsiteTruong2008 Chuyển đổi  com

Mastercam��X³�Training�Tutorials�–�4�&�5�Axis�Mill�Applications�Revised�Date:�September�26,�2008�

www.Truong2008.com

Page 5: My WebsiteTruong2008 Chuyển đổi  com
Page 6: My WebsiteTruong2008 Chuyển đổi  com

TABLE�OF�CONTENTS�����Getting�Started .............................................................................................................A�1��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�And�Drill�5�Axis�Tutorial ............................................................................6�1��Swarf�5�Axis�With�Wall�Defined�By�Using�2�Contours�Tutorial........................................7�1��Flow�5�Axis�Tutorial ......................................................................................................8�1��Multisurface�5�Axis�Tutorial ..........................................................................................9�1��Port�5�Axis�Tutorial................................................................................. 10�1��General�Notes....................................................................................... B�1�

www.Truong2008.com

Page 7: My WebsiteTruong2008 Chuyển đổi  com

TUTORIAL�SERIES�FOR�

��

��

CHUCK�INDEXING�TUTORIAL���

�����

��

�����������������

www.Truong2008.com

Page 8: My WebsiteTruong2008 Chuyển đổi  com

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:��

Using�View�Manager�to�select�the�Tplane�for�each�face.�Create�an�operation�for�each�face�using�the�same�work�offset�(G54).�Facing�one�flat�surfaces.�Facing�the�other�two�flat�surfaces�using�Transform�Rotate�toolpath.�Drilling�the�two�holes.�Removing�the�material�inside�of�one�groove�using�contour�toolpath.�Machine�the�second�groove�using�Transform�Rotate�toolpath.�

�The�Student�will�check�the�toolpath�using�Mastercam’s�Verify�verification�module�by:��

Defining�a�3�dimensional�block,�the�size�of�the�workpiece.�Running�the�Verify�function�to�machine�the�part�on�the�screen.�

���������������������

� Page�4�2� �

www.Truong2008.com

Page 9: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4����������������������������������������������

� Page�4�3� �

www.Truong2008.com

Page 10: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

GEOMETRY�CREATION��

STEP�1:��CREATE�THE�2D�GEOMETRY�IN�THE�RIGHT�SIDE�VIEW.��Option�1�The�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.Truong2008.com �

�Option�2�Create�the�geometry�using�the�following�instructions:��Create�the�2D�profile�in�the�Righ�side�view:��

Create/Arc/�Create�Circle�Center�Point�and�set�parameters�to:�Diameter�=�5.0;��Center�Origin��

Create/Line/�Create�Line�Endpoint�and�set�parameters�to:�Specify�an�endpoint�=�Origin�Line�length�=�2.45�Angle�=�165�deg.;��

Create/Line/�Create�Line�Perpendicular�and�set�parameters�to:�Select�line,�arc�or�spline;�Select�the�existing�line�Sketch�a�point;�Select�the�Endpoint�of�the�existing�line�opposite�the�origin.�Select�which�line�to�keep;�Select�the�line�above�the�existing�one.�Repeat�the�steps�to�select�the�other�perpendicular�line�below�the�first�line�that�we�created.��

Delete�the�first�line��

Edit/Join�entities�Select�the�two�colinear�lines;�Press�enter�to�finish�the�command��

Edit/�Trim/Break/�Trim/Break/Extend�Enable�divide�and�select�the�arc�left�to�the�line�and�the�two�ends�of�the�line.����

Xform/�Xform�Rotate�Select�the�line;�Enable�Copy�and�set�#�to�1;�Rotation�angle�90�deg�

Select�these�lines�and�the�arc�here

�Xform/�Xform�Rotate�

Select�the�rotated�line;�Enable�Copy�and�set�#�to�1;�Rotation�angle�105�deg�

� Page�4�4� �

www.Truong2008.com

Page 11: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4��

� Page�4�5� �

�Edit/�Trim/Break/�Trim/Break/Extend�

Enable�divide�and�select�the�two�arcs�one�below�andthe�other�one�to�the�right�of�the�rotated�lines.�

��

Create/Line/�Create�Line�Endpoint�and�set�

Select�Entity�A�here�

parameters�to:�Specify�an�endpoint�=�Origin�Line�length�=�2.5�Angle�=�120�deg.;��

Create/Line/�Create�Line�Parallel�and�set�parameters�to:�Select�a�line;�Select�the�120�deg�line�Select�the�point�to�place�a�parallel�line�through;�Pick�a�point�above�the�line;�enter�the�distance�0.25�Select�the�flip�buton�several�times�until�you�make�both�parallel�lines�(above�and�below�the�120�deg.�line)��

Edit/�Trim/Break/�Trim/Break/Extend�Enable�Break�in�the�ribbon�bar.�Select�an�entity�to�break;�Select�the�first�parallel�line�end�that�is�further�away�from�the�origin.�Enable�the�length�button�in�the�Ribbon�bar�and�enter��0.25�Repeat�the�command�to�break�at�0.25�distance�the�other�parallel�line�that�we�created�in�the�previous�step��

Delete�the�center�line�and�the�parallel�lines�closes�to�the�origin.������

Select�these�entities�

Create/Line/�Create�Line�Endpoint�and�set�parameters�to:�Select�the�endpoints�of�the�parallel�lines�left�to�close�the�slot.��

Edit/�Trim/Break/�Trim/Break/Extend�Enable�Divide�in�the�ribbon�bar.�

Select�the�arc�between�the�two�parallel�lines.��

Edit/�Trim/Break/�Trim/Break/Extend�Enable�Trim�2�entities�in�the�ribbon�bar.�Select�the�entities�at�the�top�corners�of�the�slot.��

Xform/�Xform�Rotate�Select�the�three�lines�of�the�slot;�Enable�Copy�and�set�#�to�1;�Rotation�angle�180�deg��

Edit/�Trim/Break/�Trim/Break/Extend�Enable�Divide�in�the�ribbon�bar.�

www.Truong2008.com

www.Truong2008.com

Page 12: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4��

� Page�4�6� �

�Select�the�arc�between�the�two�parallel�lines�that�you�rotated�in�the�previous�step.�

�Create�the�cylindrical�shape��

Xform/�Xform�Translate�Select�all�entities;��Enable�Join;�#�=1;z�=�6.0���Create�the�circles�in�the�Front�plan�

�Select�Entity�A�Set�the�plane�to�Front.�

Set�the�Z�depth�at�the�holes�plane.�(�2.45)������

Create/Line/�Create�Line�Parallel�and�set�parameters�to:�Select�a�line;�Select�line�A�as�shown�Select�the�point�to�place�a�parallel�line�through;�Pick�a�point�below�the�line;�enter�the�distance�0.50���� 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��Select�a�line;�Select�line�C�as�shown�Select�the�point�to�place�a�parallel�line�through;�Pick�a�point�to�the�left�of�the�line;�enter�the�distance�1.50�

Select�Entity�C�

�Create/Arc/�Create�Circle�Center�Point�and�set�parameters�to:�

Diameter�=�.375;��Center�at�intersection�between�two�of�the�lines�created�in�the�previous�step.��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�

www.Truong2008.com

Page 13: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

TOOLPATH�CREATION��

STEP�5:��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.��

Otherwise�follow�next�step.�

Set�the�construction�plane�to�Top�Plane.� ���

Select�Mill�4�AXIS�VMC.MMD������������������������������

� Page�4�7� �

www.Truong2008.com

www.Truong2008.com

Page 14: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4��

� Page�4�8� �

�Select�the�plus�in�front�of�Properties�to�expand�the�Toolpaths�Group�Properties.�

������

Select�the�plus�

Select�Stock�setup�

Select�the�Stock�setup.�����������

The�stock�shape�should�be�set�to�Cylinder.�Enable�X��Axis��Enter�the�Diameter�and�Length�values�of�the�stock�size.�Enable�Display�stock�as�Wireframe�and�enable�Fit�Screen�to�the�stock.�

����

����

The�Stock�Origin�values�adjust�the�positioning�of�the�stock,�ensuring�that�you�have�equal�amount�of�extra�stock�around�the�finish�part.�Display�options�allows�you�to�set�the�stock�as�Wireframe�and�to�fit�the�stock�to�the�screen.(Fit�Screen)�

www.Truong2008.com

www.Truong2008.com

Page 15: My WebsiteTruong2008 Chuyển đổi  com

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.�

��������������������������

Assign�tool�numbers�sequentially�allows�you�to�overwrite�the�tool�number�from�the�library�with�the�next�available�tool�number.�(First�operation��tool�number�1;�Second�operation��tool�number�2,�etc) Warn�of�duplicate�tool�numbers�allows�you�to�get�a�warning�if�you�enter�two�tools�with�the�same�number.�Override�defaults�with�modal�values�enables�the�system�to�keep�the�values�that�you�enter.�Feed�Calculation�set�From�tool�uses�feed�rate,�plunge�rate,�retract�rate�and�spindle�speed�from�the�tool�definition.�

Select�the�OK�button�to�exit�Toolpath�Group�Properties.� ���������������

� Page�4�9� �

www.Truong2008.com

www.Truong2008.com

www.Truong2008.com

Page 16: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4�

STEP�6:��FACE�THE�FLAT�SURFACE�AT�165�DEGREES�ANGLE.�

6.1�About�Tool�Planes�

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� �

www.Truong2008.com

www.Truong2008.com

Page 17: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4��6.2�Create�the�new�view�at�165�degrees�angle.��

Select�WCS�in�the�Status�Bar.��Select�View�Manager.�

������

Select�Geometry�button.������������

[Select�a�flat�entity,�2�lines,�or,�3�points]:�Select�the�two�lines�as�shown�in�the�following�picture����������������������

Select�the�first�line�here�

Select�the�second�line�here�

� Page�4�11� �

www.Truong2008.com

www.Truong2008.com

Page 18: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

The�axis�should�be�orientated�as�shown�in�the�following�picture.�Otherwise�select�Next�View�������������������

Select�Next�View�

Select�the�OK�button�to�accept�the�view.�

�Enter�the�Name�for�the�new�view�as�shown.�Disable�Associative�and�Set�new�origin.�

Select�the�OK�button�to�exit.� ���

Change�the�parameters�to�match�the�following�screenshot.�Make�sure�that�X,�Y,�Z�for�the�Origin�are�set�to�0�and�Associative�is�disable.�The�Work�Offset�#�should�be�change�to�0�(G54�for�Fanuc).�

�We�will�set�only�one�work�offset�at�the�center�of�the�cylinder.�

� Page�4�12� �

www.Truong2008.com

www.Truong2008.com

Page 19: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���6.3�Set�both�Cplane�and�Tplane�to�the�flat�at�165�degrees�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.� �����

The�View�Manager�will�look�as�shown�to�the�right�

�����������

Select�the�OK�button�to�exit�the�View�Manager�name.� ��

Set�Z�to�0.������

The�grid�orientation�and�origin�should�look�as�shown�in�the�following�picture.�

����������

� Page�4�13� �

www.Truong2008.com

www.Truong2008.com

Page 20: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���6.3�Face�the�plane.��Toolpaths�

Face�toolpath�

Select�the�OK�button�to�accept�the�NC�name.� �Enable�C�plane�in�the�Chaining�dialog�box.�

Select�the�chain�here�

[Select�OK�to�use�the�defined�stock�or�select�chain�1]:Select�the�chain�as�shown�

������������������

Select�the�OK�button�to�exit�Chaining.� �Click�on�the�Select�library�tool�button.��

�Select�the�Filter�button�in�the�Tool�Selection.�

� Page�4�14� �

www.Truong2008.com

www.Truong2008.com

Page 21: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

In�the�Tool�Types�field�select�the�None�button�to�disable�all�tools.���������������

Select�the�Face�mill�tool�type�as�shown.�In�the�Tool�Diameter�field�click�the�pull�down�arrow�and�select�Equal.�Enter�the�Tool�Diameter�value�to�3.0.�

Select�the�OK�button�to�exit�Tool�List�Filter.� �Make�sure�that�the�tool�is�selected�(highlighted)�in�the�Tool�Selection�screen.�

Select�the�OK�button�to�exit�the�Tool�Selection�dialog�box.� ��

Make�the�necessary�changes�to�match�the�parameters�with�the�screenshot�below.��������������������

� Page�4�15� �

www.Truong2008.com

www.Truong2008.com

Page 22: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

�The�Tool�parameters�dialog�box�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.�

�Select�the�Facing�parameters�and�change�the�parameters�as�shown�in�the�following�screenshots.�

������������

Make�sure�that�you�change�the�Cutting�method�to�One�pass.�

������

�The�Facing�parameters�dialog�box�allows�you�to�establish�the�heights�for�rapid�movement�(Clearance)and�(Retract);�the�height�from�where�the�tool�moves�with�feedrate�(Feed�plane);�the�Top�of�stock�and�the�final�depth�(Depth).�Depth�and�Top�of�Stock�set�to�Incremental�values�are�relative�to�the�location�of�the�chained�geometry.�Clearance,�Retract,�and�Feed�plane�are�relative�to�the�Top�of�stock.�

�Select�the�OK�button�from�the�Facing�

parameter�screen.� ���������

� Page�4�16� �

www.Truong2008.com

www.Truong2008.com

www.Truong2008.com

Page 23: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

STEP�7:��FACE�THE�FLAT�AT�255�DEGREES�ANGLE�USING�ROTATE�TRANSFORM�TOOLPATH.��Toolpaths�

Transform�Toolpath�Enabled�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).���

Note�that�the�Facing�operation�is�selected���������

� Page�4�17� �

www.Truong2008.com

www.Truong2008.com

Page 24: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4��

Select�Rotate�tab�and�change�the�parameters�as�shown.��������������������������

Enable�Rotation�view�and�select�the�arrow�button.� ��Select�the�Right�Side�View.�

Select�the�OK�button�to�exit�View�Selection� �Select�the�OK�button�to�exit�Transform�Operation�

Parameters� �������������

� Page�4�18� �

www.Truong2008.com

www.Truong2008.com

Page 25: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

STEP�8:��FACE�THE�FLAT�AT�0�DEGREES�ANGLE�USING�ROTATE�TRANSFORM�TOOLPATH.��Toolpaths�

Transform�toolpath�Enabled�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�19� �

www.Truong2008.com

www.Truong2008.com

Page 26: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

Select�Rotate�tab�and�change�the�parameters�as�shown.�������������������������

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�20� �

www.Truong2008.com

Page 27: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

STEP�9:��DRILL�THE�0.375�DIAMETER�HOLES.��9.1�Set�both�Cplane�and�Tplane.��

Note�that�because�of�the�Y�axis�orientation�(please�check�page�2�22)�the�plane�in�which�the�holes�are�drilled�is�not�the�Back�plane.�

�We�will�need�to�define�a�new�plane�by�rotating�the�Top�plane��90�degrees.�

�Click�on�Select�all�operations�button�in�Toolpaths�manager.�

���������

Press�simultaneous�Alt�&T�to�disable/enable�the�toolpath�display.��

Select�Planes�in�the�Status�Bar.����

Select�Top�plane.���

Select�Planes�in�the�Status�Bar.������

Select�Rotate�planes.������

Enter�About�X��90�degrees.����

Select�the�OK�button�to�exit.� ��

� Page�4�21� �

www.Truong2008.com

www.Truong2008.com

Page 28: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

Enter�the�Name�for�the�new�view�as�shown.�

�Disable�Set�new�origin�if�necessary.��

Select�the�OK�button�to�exit.� ��

Select�WCS�in�the�Status�Bar.��

���

Select�View�Manager.���

Select�the�Holes�View.�

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.� �����������������������

Change�the�Work�Offset�#�to�0�Make�sure�that�Enable�origin�is�not�check�and�x,�y,�z�values�for�the�origin�are�set�to�0�as�shown�

�Select�the�OK�button�to�exit�the�View�Manager�name.� �

� Page�4�22� �

www.Truong2008.com

www.Truong2008.com

Page 29: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���9.2�Drilling�the�hole.��Toolpaths�

Drill�Toolpath�Select�the�Entities�button�in�the�Drill�Point�Selection�dialog�box.�Select�the�arcs�as�shown�in�the�following�picture.�

Select�these�arcs�

Select�the�OK�button�to�exit�Drill�Point�Selection.� �����������������

Click�on�the�Select�library�tool.���

Select�the�Filter�button�in�the�Tool�Selection.�

�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�23� �

www.Truong2008.com

Page 30: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

Make�sure�that�the�tool�is�selected�(highlighted)�in�the�Tool�Selection�screen.�

Select�the�OK�button�to�exit�the�Tool�Selection�dialog�box.� �Make�the�necessary�changes�to�match�the�parameters�with�the�screenshot�below.�

���������������������

Select�the�Drill�parameters�and�change�the�parameters�as�shown�in�the�following�screenshot.�������������������

� Page�4�24� �

www.Truong2008.com

www.Truong2008.com

Page 31: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4�����

Enable�and�select�the�Tip�comp�button.�Make�the�Breakthrough�amount�0�

����

Select�the�OK�button�to�exit.� ���

The�Drill�parameters�dialog�box�allows�you�to�establish�the�height�for�rapid�movement�(Clearance)and�the�height�from�where�the�tool�moves�with�feedrate�(Retract);�the�Top�of�stock�and�the�final�depth�(Depth).�Clearance,�Retract,�Depth�and�Top�of�Stock�set�to�Absolute�values�are�relative�to�the�new�tool�origin.�

�������������

Select�the�OK�button�to�exit.� ��

STEP�10:��MACHINE�THE�GROOVE�AT�THE�120�DEGREES�ANGLE.����10.1�Set�both�Cplane�and�Tplane.��

Select�Planes�in�the�Status�Bar.�����

Select�Top�plane.�����

Select�Planes�in�the�Status�Bar.���

� Page�4�25� �

www.Truong2008.com

Page 32: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

Select�Rotate�planes.��������

Enter�About�X�30�degrees.�����

Select�the�OK�button�to�exit.� ���

Enter�the�Name�for�the�new�view�as�shown.�

�Disable�Set�new�origin.�

��

Select�the�OK�button�to�exit.� ���

Page�4�26� �

Select�WCS�in�the�Status�Bar.���

Select�View�Manager.��

Select�the�Groove�at�120�degrees�angle�view.�Change�the�Work�Offset�#�to�0�Make�sure�that�Enable�origin�is�not�check�and�x,�y,�z�values�for�the�origin�are�set�to�0�as�shown�above.�

��Select�the�OK�button�to�exit�the�View�Manager�name.�

��

www.Truong2008.com

www.Truong2008.com

Page 33: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���10.2�Machine�the�groove�using�contour�toolpath.��Toolpaths�

Contour�Toolpath��

Select�the�contour�here�

Select�the�contour�and�the�bottom�of�the�groove�shape,�as�shown.����������������

Select�the�OK�button�to�exit�Chaining�dialog�box.� ��

Click�on�the�Select�library�tool�and�using�Filter�select�a�0.5�Flat�Endmill.�Make�the�necessary�changes�to�match�the�parameters�with�the�screenshot�below.�

�������������������

� Page�4�27� �

www.Truong2008.com

www.Truong2008.com

Page 34: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

Select�the�Contour�parameters�page�and�change�the�settings�to�match�the�following�screenshot.������������������������

Select�the�Lead�in/out�button�to�set�the�parameters�that�allows�to�extend�the�contour�start�and�end.�

��������������

Select�the�OK�button�to�exit�

Lead�In/Out.� ��

� Page�4�28� �

www.Truong2008.com

www.Truong2008.com

Page 35: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4������������

Select�the�OK�button�twice�to�exit�Contour�

parameters.� ���

STEP�11:��MACHINE�THE�SECOND�GROOVE�USING�TRANSFORM�–ROTATE�TOOLPATH.��Toolpaths�

Transform�toolpath�Enabled�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�29� �

www.Truong2008.com

www.Truong2008.com

www.Truong2008.com

Page 36: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

Select�the�Rotate�tab�and�change�the�parameters�as�shown.�������������������������

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�30� �

www.Truong2008.com

www.Truong2008.com

Page 37: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

STEP�12:��BACKPLOT�THE�TOOLPATH.���

Select�the�Select�all�operations�button.�����

Select�the�Backplot�selected�operations�button.�����

Make�sure�that�you�have�the�following�buttons�turned�on�(they�will�appear�pushed�down).�Display�tool��Display�rapid�moves��

�������

Select�the�Play�button.�

���������������

Display�rapid�moves�

Display�tool�

Select�the�OK�button�to�exit�

Backplot.� ��

� Page�4�31� �

www.Truong2008.com

Page 38: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

VERIFY��TOOLPATH�VERIFICATION��

STEP�13:��VERIFY.��

Expand�the�Toolpaths�Manager�if�necessary�by�dragging�the�right�side.�

�Select�the�Verify�selected�operations�button.��

���������

Select�the�Configure�button.� ������

Make�the�changes�as�shown.��

Initial�stock�size�source�should�be�set�to�Job�Setup�to�use�the�stock�information�from�Stock�Setup.�Use�True�Solid�allows�you,�after�verifying�the�part,�to�rotate�and�magnify�the�part�to�more�closely�check�features,�surface�finish,�or�scallops.�Cutter�comp�in�control�allows�Verify�to�use�the�information�regarding�the�tool�diameter�and�to�simulate�the�cutter�compensation.�Change�tool/color�to�change�the�color�of�the�cut�stock�to�indicated�tool�changes�in�the�toolpath.�

� Page�4�32� �

www.Truong2008.com

Page 39: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

Select�the�OK�button�to�exit�Verify�Options.� �

Set�the�Verify�speed�by�moving�the�slider�bar�in�the�speed�control�bar.� �

Select�the�Machine�button�to�start�simulation.� ��The�finished�part�should�appear�as�shown�in�the�following�picture.�������������������

To�see�the�part�from�a�different�view�select�Dynamic�Rotation�button�from�the�toolbar.�

��

[Pick�a�point�to�begin�dynamics]:�Select�the�midpoint�as�shown.���������������

Select�this�midpoint�

� Page�4�33� �

www.Truong2008.com

www.Truong2008.com

Page 40: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4���

Slightly�move�the�cursor�to�the�right.���

Click�the�mouse�button�when�done.���������

To�exit�Verify�close�select�the�OK�

button.� ����

STEP�14:��POST�PROCESS�THE�FILE.��

To�apply�these�toolpaths�to�a�vertical�machining�center�with�a�rotary�axis�(A�axis),�a�customized�post�processor�for�your�machine�is�required.��

�Make�sure�that�all�operations�are�selected.�

�Select�the�Post�selected�operations�button�from�Toolpath�Manager.�

����

In�the�Post�processing�window,�make�all�the�necessary�changes�as�shown�to�the�right.�

�Enable�NC�file�to�keep�the�NC�file�assigning�the�same�name�as�the�MCX�file.�

��

Enable�Edit�to�automatically�launch�the�default�editor.����

Select�the�OK�button�to�continue.� ����

� Page�4�34� �

www.Truong2008.com

www.Truong2008.com

Page 41: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�4��

� Page�4�35� �

�Select�the�OK�button�to�accept�the�warnig.(we�want�only�one�work�offset�G54�for�all�the�views)�

����

Select�the�Save�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.���

STEP�15:��SAVE�THE�UPDATED�MCX�FILE.����

Select�the�Save�icon.���

www.Truong2008.com

www.Truong2008.com

Page 42: My WebsiteTruong2008 Chuyển đổi  com

www.Truong2008.com

Page 43: My WebsiteTruong2008 Chuyển đổi  com

TUTORIAL�SERIES�FOR�

��

��

TUTORIAL�9�5�AXIS�MULTISURFACE�

�����������

www.Truong2008.com

www.Truong2008.com

Page 44: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9��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�create�a�5�axis�milling�toolpaths�by:��

Machining�the�part�using�the�5�axis�multisurface�toolpath.��The�Student�will�check�the�toolpath�using�Mastercam’s�Verify�verification�module�by:��

Defining�a�3�dimensional�rectangular�block�the�size�of�the�workpiece.�Running�the�Backplot�function�by�simulating�the�axis�substitution�and�the�rotary�axis.�Running�the�Verify�function�to�machine�the�part�on�the�screen.�

����������������������

� Page�9�2� �

www.Truong2008.com

Page 45: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9���The�geometry�file,�Revised�Tutorial9_geometry.zip,�can�be�downloaded�from�www.emastercam.com/files��The�finish�part,�Revised�Tutorial9_finish.zip�including�the�toolpaths,�is�also�provided�on�the�same�location�www.emastercam.com/files��

TOOLPATH�CREATION��Open�

File��

Select�the�Tut9_5axismultisurface.mcx��

STEP�1:��SET�UP�THE�STOCK�TO�BE�MACHINED.���

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.�Select�Mill�5�AXIS�Table�Head�Vertical�

�Otherwise�follow�next�step.��Machine�type�

Mill�Select�Mill�5�AXIS�Table�Head�Vertical�

������������������

� Page�9�3� �

www.Truong2008.com

www.Truong2008.com

Page 46: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9��

� Page�9�4� �

Select�the�plus�

Select�the�plus�in�front�of�Properties�to�expand�the�Toolpaths�Group�Properties.�

������

Select�Stock�setup�Select�the�Stock�setup.����������

The�stock�shape�should�be�set�to�Rectangular�Shape�

�Enter�the�Y,�X�and�Z�values�of�the�stock�size.�

��

Set�the�Stock�Origin�values�as�shown��

The�Stock�Origin�values�adjust�the�positioning�of�the�stock,�ensuring�that�you�have�equal�amount�of�extra�stock�around�the�finish�part.�Display�options�allows�you�to�set�the�stock�as�Wireframe�and�to�fit�the�stock�to�the�screen.(Fit�Screen)�

Enable�Display�stock�as�Wireframe�and�enable�Fit�Screen�to�the�stock.�

���������������

www.Truong2008.com

www.Truong2008.com

Page 47: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9���

Select�the�Tool�Settings�tab�to�set�the�tool�parameters�and�the�part�material.�

Assign�tool�numbers�sequentially�allows�you�to�overwrite�the�tool�number�from�the�library�with�the�next�available�tool�number.�(First�operation��tool�number�1;�Second�operation��tool�number�2,�etc) Warn�of�duplicate�tool�numbers�allows�you�to�get�a�warning�if�you�enter�two�tools�with�the�same�number.�Override�defaults�with�modal�values�enables�the�system�to�keep�the�values�that�you�enter.�Feed�Calculation�set�From�tool�uses�feed�rate,�plunge�rate,�retract�rate�and�spindle�speed�from�the�tool�definition.�

Change�the�parameters�to�match�the�following�screenshot.���������������������������

Select�the�OK�button�to�exit�Toolpath�Group�Properties.� ���

STEP�2��5�AXIS�MULTISURFACE�–�ROUGHING�THE�PART.��

5�Axis�Multisurface�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�5�Axis�Multisurface�Toolpath�

Select�the�OK�button�to�accept�the�NC�name.� ����

� Page�9�5� �

www.Truong2008.com

www.Truong2008.com

Page 48: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9��

� Page�9�6� �

The�Output�Format�is�5�Axis.�Cut�Pattern�alows�you�to�establish�the�surfaces�for�general�cutting�area.�Tool�Axis�Control�allows�you�to�establish�the�method�to�control�the�tool�axis�orientation.�Tool�axis�control�to�the�Chain�will�keep�the�tool�axis�oriented�to�the�selected�chain.�Cut�Surfaces�are�surfaces�to�project�the�tool�position�to,�to�compensate�the�tool�axis�vector�for�gouge�protection.�Check�Surfaces�are�surfaces�to�be�avoided�during�machining.�

Change�the�parameters�for�Msurf�5�axis�as�shown�in�the�following�screenshot.�����������������

Select�this�surface�

Select�Surface(s)�button�as�shown�in�the�previous�screenshot.�

��������

Hit�Enter�key�to�end�the�selection.�

�Select�Chain�button.�

Select�the�line�here�

[Select�tool�vector�chain]:�Select�the�line�as�shown.�������������

www.Truong2008.com

www.Truong2008.com

Page 49: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9��

Select�the�OK�button�to�exit�from�Chaining�dialog�box.� �Enable�Entire�chain�per�surface�in�the�Chain�Option�dialog�box�to�allow�the�tool�axis�direction�to�gradually�transition�along�the�selected�chain�one�time�for�the�entire�surface.�

Select�the�OK�button�to�exit�from�Chain�Options�dialog�box.� �

��

Select�Comp�To�Surfaces�button�as�shown�in�the�previous�screenshot.�

��������

Click�on�the�select�button�in�the�Toolpath/surface�selection.��

[Select�Comp�Surfaces]:�Click�on�Select�All�button.�

�Enable�Color�and�select�color�magenta�no.13�as�shown�to�the�right.�The�top�surfaces�should�be�selected�as�shown�below.�

���������������

Select�the�OK�button�to�exit�Select�All.� �Hit�Enter�key�to�end�the�selection.�

Select�the�OK�button�twice�to�exit�Msurf�5�axis�dialog�box.� �

� Page�9�7� �

www.Truong2008.com

www.Truong2008.com

Page 50: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9��

� Page�9�8� �

�Click�on�Select�library�tool�button�and�using�Filter�select�3/8�Ball�Endmill.�Make�all�the�necessary�changes�as�shown�in�the�following�screenshots.�

�������������������������������������������

www.Truong2008.com

www.Truong2008.com

Page 51: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9��

Select�Depth�cuts�button�and�change�the�parameters�as�shown.�

�����

Select�the�OK�button�to�exit�Multiaxis�Depth�

Cuts.� �Select�Entry/Exit�button�and�change�the�parameters�as�shown.�

��������������

Select�the�OK�button�to�exit�Entry/Exit.� �Select�Msurf5ax�Parameters�page�and�change�the�parameters�as�shown.�

������������������

� Page�9�9� �

www.Truong2008.com

www.Truong2008.com

Page 52: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9���

Select�Flow�parameters�button.�If�the�flowlines�look�as�shown�below,�across�the�magenta�surfaces,�than�click�on�Cut�Direction�in�the�Flowline�data�dialog�box.�

��������������

The�cut�direction�should�be�along�the�magenta�surfaces�as�shown�below.�������������������

Select�the�OK�button�to�exit�Flowline�data�

dialog�box.� ��

Select�the�OK�button�to�exit�Multisurface�5�axis�

parameters.� ��

Enter�Alt�+T�to�toggle�the�toolpath�display�off.�

� Page�9�10� �

www.Truong2008.com

Page 53: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9���

STEP�3:��5�AXIS�MULTISURFACE�–�FINISH�THE�PART�USING�AXIS�LIMITS.��Toolpaths�

Multiaxis�5�Axis�Multisurface�Toolpath�

������

�Click�on�Cut�Pattern�Surface(s)�button.�

����������

[Select�Tool�Pattern�Surfaces]:�Click�on�Select�All�button.��

Enable�Color�and�select�color�magenta�no.13�as�shown�to�the�right.������������������

� Page�9�11� �

www.Truong2008.com

www.Truong2008.com

Page 54: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9���

The�top�surfaces�should�be�selected�as�shown�below.����������

Select�the�OK�button�to�exit�Select�

All.� ��

Hit�Enter�key�to�end�the�selection.�������

Select�Check�Surfaces�button�as�shown.������

Click�on�Select�button.���

[Select�Check�Surfaces]:�Select�the�two�flat�surfaces�at�the�top�as�shown�below.���������������

Hit�Enter�key�to�end�the�selection.�

� Page�9�12� �

www.Truong2008.com

www.Truong2008.com

Page 55: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9���

Select�the�OK�button�twice�to�exit�Msurf�5�axis�dialog�box.� �Click�on�Select�library�tool�button�and�using�Filter�select�1/4�Ball�Endmill.�Make�all�the�necessary�changes�as�shown�in�the�following�screenshots.�

���������������������

�������������������

� Page�9�13� �

www.Truong2008.com

www.Truong2008.com

Page 56: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9���

Select�Msurf5ax�Parameters�page�and�change�the�parameters�as�shown.������������������������

Select�Axis�Limits�and�enable�Z�Axis�and�change�the�angles�as�shown.�������������

Select�the�OK�button�to�exit�Multisurface�5�axis�parameters.�

���

� Page�9�14� �

www.Truong2008.com

www.Truong2008.com

Page 57: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9�����������������

STEP�4:��BACKPLOT�THE�5�AXIS�MULTISURFACE�TOOLPATHS.��

Click�on�the�Toolpath�Group�1�in�the�Toolpaths�Manager�to�select�all�operations�

�Select�Backplot�selected�operations�button.�

Display�tool�

Make�sure�that�you�have�only�the�following�button�turn�on�(they�will�appear�pushed�down).�

�Display�tool��

Select�the�Options�button.� ����

Enable�Simulate�Axis�Substitution�and�disable�Simulate�Rotary�Axis.��

Disable�Connect�Top�and�Shade.��������

Select�the�OK�button�to�exit�Backplot�Options.� ���

� Page�9�15� �

www.Truong2008.com

www.Truong2008.com

Page 58: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9���

Select�Play�button.�

������������������

Select�the�OK�button�to�exit�Backplot.� �

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.�������������������

� Page�9�16� �

www.Truong2008.com

Page 59: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9���

STEP�5:��VERIFY��

To�be�able�to�use�Verify�function�Use�True�solid�for�4/5�axis�toolpaths�you�have�to�have�the�5�axis�Verify�option.�This�option�is�not�included�in�Mastercam�and�must�be�purchased�separately.�For�more�information�please�contact�your�Mastercam�dealer.�

�Select�Verify�selected�operations�button.��

��

Change�the�graphic�view�to�Isometric.� �������������������������

Set�the�Verify�speed�by�moving�the�slider�bar�in�the�speed�control�bar.� ����

Select�Fast�forward�button�to�start�simulation.� ����

� Page�9�17� �

www.Truong2008.com

www.Truong2008.com

Page 60: My WebsiteTruong2008 Chuyển đổi  com

4/5�Axis���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������TUTORIAL�9���The�finish�part�should�appear�as�shown�in�the�picture�below���������������������

Select�the�OK�button�to�exit�Verify.� ������

STEP�6:��SAVE�THE�UPDATED�MCX�FILE.���

Select�the�Save�icon.�����������

� Page�9�18� �

www.Truong2008.com

www.Truong2008.com