Ece415 Turning Tutorial
Ece415 Turning Tutorial
Based on the turning tutorial in NX, this tutorial steps you through the process of creating NC
codes for a shaft that can run on the machines in ECE415 lab.
You need to finish this tutorial and save your NC code to your M drive before next lab.
This pre-lab accounts for 20 points for the total points of Lab 6
To generate NC code of turning operation for Lab 6, you need to go through the following steps.
Note that these steps are also a summary for the subsequent detailed tutorial.
1. Setup the manufacturing task
a. Open a solid model you have built
b. Create a new manufacturing task
2. Define the manufacturing geometry
a. Establish the machine coordinate system
b. Define the part geometry and blank geometry
c. View the part and blank boundaries
d. Define collision zones
e. Avoid the chuck
3. Define the cutting tools
a. Define the first tool
b. Define the second tool
c. ..
4. Create the cutting operations
a. Create the first cutting operation
b. Create the second cutting operation
c. ..
5. Generate the NC codes (Post Process)
6. Run the NC code on a Turning Machine (Lathe)
We will follow the previous steps in this tutorial to generate the NC codes for manufacturing a
shaft in Lab 6. The raw material we will use is a Delrin rod with a diameter 0.75inch and length
3 inches.
Step 2: Click File/New to create a new manufacturing task. After making sure your selections
are the same as follows, click OK;
Double-click MCS_SPINDLE.
Notice that the ZM-axis is not along the parts centerline. Therefore, we need to change the default MCSs
settings.
In the MCS Spindle dialog box, under Machine Coordinate System, click CSYS Dialog
Then in the Specify Vector for X-axis and Y-axis, choose XC for X-axis, and YC for Y-axis. This
way, we can make sure the MCS has the correct setup. Please notice the changes of MCS after you
make the choice. Also, the lathe work plane changes to a different orientation.
In the CSYS dialog box, choose the Dynamic to set the origin position. Type -0.15 to the z
coordinates shown in the following right figure to move the origin to the left side of the part.
GEOMETRY
Unused Items
MCS_SPINDLE
WORKPIECE
TURNING_WORKPIECE
AVOIDANCE
Click Specify Part
In the Assembly Navigator, select the shaft check box so that it is greyed out
The displayed curves will be useful as a visual reference when developing operations and generating
tool
paths.
In the Motion to Start Point (ST) section of the dialog box, select Direct from the Motion Type list.
Motion Type
Direct
In the Motion to Return Point / Clearance (RT) section, select Direct from the Motion Type list.
Motion Type
Direct
In the Motion to Return Point / Clearance (RT) section, select Same as Start from the Point Option
list.
Point Option Same as Start
These steps define a clearance plane that can prevent the cutter from gouging the part when it enters and
exits the inside diameter.
Expand the Radial Clearance Plane section of the dialog box
Click Display
Click CONTAINMENT
Click Display
Click OK.
The CONTAINMENT group is created in the Operation Navigator.
GEOMETRY
Unused Items
MCS_SPINDLE
WORKPIECE
TURNING_WORKPIECE
AVOIDANCE
CONTAINMENT
will use two cutting tools to fabricate the shaft: an outside diameter profiling tool and a Groove
tool, which are installed in our labs machine.
Click Machine Tool View.
Expand STATION_01 and STATION_03. You can see the program has defined two tools. Right click
the two tools and delete them. We will create the tools by ourselves.
in the toolbar.
Select OD_55_L from the Tool Subtype and select STATION_01 from the Tool list as shown in the
previous left figure.
Click OK to accept the settings, and the Turning Tool-Standard dialog will appear. In the tool Tab,
make sure the settings are the same as the one showing in the previous right figure. Click OK to finish the
definition of this tool.
in the toolbar.
Select OD_GROOVE_L from the Tool Subtype and select STATION_05 from the Tool list as shown in
the following left figure.
Click OK to accept the settings, and the Grooving Tool-Standard dialog will appear. In the tool Tab,
make sure the settings are the same as the one showing in the following right figure. Click OK to finish
the definition of this tool.
10
Step 1: Facing the part: Facing is always the first operation for turning because the surface
may not be smooth.
Click Program Order View.
1234
Tool
OD_55_L
Geometry AVOIDANCE
Method
LATHE_FINISH
The operation will be placed in the 1234 program. It will use the part and blank geometry you specified in
WORKPIECE and the parameters you defined in AVOIDANCE. It will use the OD_55_L tool defined by
the setup. The LATHE_FINISH method removes all stock.
Click OK.
These steps define a trim plane that will constrain the cut region to the end of the part.
In the Geometry section of the dialog box, click Edit
In the Axial Trim Plane 1 section of the dialog box, select Point from the Limit Option list.
Limit Option Point
Select the end of the curve on the outside diameter of the part. Click OK to accept the Cut Regions
dialog box.
11
Click Generate
Click Verify
Click Play
. If the speed is fast, you can slow down with speed 1 instead of 10.
Step 2: Roughing the part: the following steps specify the operation type and the parameters
that define essential information for roughing the outside diameter of the part.
Click Create Operation
1234
Tool
OD_55_L
Geometry CONTAINMENT
Method
LATHE_ROUGH
12
Click OK.
Click Display
The operation uses the axial containment plane defined in CONTAINMENT to limit the cut region and
avoid the chuck
The Reversal Mode will prevent the tool from descending into smaller diameter areas in the part.
From the Reversal Mode list, select Omit.
Reversal Mode
Omit
Click Generate
Click OK to complete the roughing operation. Note that you can always view the machining process
by clicking Verify
Step 3: Finish the part: after roughing the outside diameter, we will create an operation that
finishes the outside diameter of the part.
Click Create Operation
1234
Tool
OD_55_L
Geometry CONTAINMENT
Method
LATHE_FINISH
The following steps define trim points that will constrain the cut region to the contoured outside diameter.
In the Geometry section of the dialog box, click Edit
In the Trim Point 1 section of the dialog box, select Specify from the Point Option list.
Point Option Specify
Select the top of the vertical line at the end of the part.
In the Trim Point 2 section of the dialog box, select Specify from the Point Option list.
Point Option Specify
Select the top of the vertical line at the other end of the part.
14
In the Region Selection section of the dialog box, select Multiple from the Region Machining list.
Region Machining Multiple
Select Single Direction from the Region Sequence list.
Region Sequence Single Direction
Click OK to complete the cut region.
The following steps remove the boundary members defining the groove from the geometry to be cut.
In the Geometry section of the dialog box, click Edit
Click Edit.
Select the boundary member defining the right side of the groove.
Select the boundary member defining the bottom of the groove and select the Ignore Member check
box.
15
Select the boundary member defining the left side of the groove and select the Ignore Member check
box.
Click OK.
Click OK in the Part Boundary dialog box.
In the Finish Turn OD dialog box, under More, select Feeds and Speeds
Under Spindle Speed, select Spindle Speed and enter 2000 RPM
Click Generate
Step 4: Groove the outside diameter: We will use the groove tool to cut the groove in the shaft
during this step.
Click Create Operation
Click Groove OD
1234
Tool
OD_GROOVE_L
Geometry AVOIDANCE
Method
LATHE_GROOVE
Click OK.
16
In the Axial Trim Plane 1 section of the dialog box, select Point from the Limit Option list.
Limit Option Point
Select the left end of the line defining the base of the groove.
In the Axial Trim Plane 2 section of the dialog box, select Point from the Limit Option list.
Limit Option Point
Select the right end of the line defining the base of the groove.
Click Generate
17
Step 5: Cut the part off: This last step will cut the part off using the grooving tool
Click Create Operation
1234
Tool
OD_GROOVE_L
Geometry AVOIDANCE
Method
LATHE_FINISH
Click OK.
In the Path Settings section of the dialog box, Part Off Position allows you to determine where to
position the tool path along the spindle. Choose Specify, and then click the Point Dialog.
Select the point at the left end of the part, and then click OK in the Point dialog.
Type 0.05 in the Extend Distance box. This will allow the part to be completely separated.
Click Feeds and Speeds
.
Under Spindle Speed, select Spindle Speed and enter 1500 RPM
18
Expand the Part Off Feed Rates section of the dialog box .
Type 25.0 in the Decelerate box and be sure %Cut is displayed in the list.
Type 10.0 in the Length box and be sure % is displayed in the list.
This will cause the cutting feed rate to slow down to 25% of the current cutting feed rate for the last 10%
of the cutting path.
Click Generate
in the toolbar.
The generic postprocessors provided by the system are displayed in the Postprocessor list box.
Click Browse for a Postprocessor and select the one on the course website with the name
SpectralLight Turning Center, which is the postprocessor for the machine in our lab.
Click Browse for an Output File and specify a directory in your M drive.
19
Click OK to postprocess, and the NC codes will appear. You can find your nc codes in the same
directory where you saved your parts.
20