0% found this document useful (0 votes)
142 views47 pages

CNC Machining Simulation Guide

This document provides instructions for a CNC machining simulation lab tutorial on vertical machining and profiling. The tutorial involves setting up the simulation software, selecting a machine and controller, loading a workpiece and tooling, and running a machining operation. Errors that may occur during the simulation are described, as well as how to ignore them. The full tutorial instructions are then provided in detail over several pages.

Uploaded by

balaji817150
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
142 views47 pages

CNC Machining Simulation Guide

This document provides instructions for a CNC machining simulation lab tutorial on vertical machining and profiling. The tutorial involves setting up the simulation software, selecting a machine and controller, loading a workpiece and tooling, and running a machining operation. Errors that may occur during the simulation are described, as well as how to ignore them. The full tutorial instructions are then provided in detail over several pages.

Uploaded by

balaji817150
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CNC Machining Simulation Lab

Tutorial

Work Integrated Learning Program


WISE Simulation Lab
Birla Institute of Technology & Science, Pilani
Errors to IGNORE During the tutorial

While creating new


project software will
ask you to save the NC
file, if you say YES then
After cycle start you may get
the above error
this error dialogue box, ignore
message may appear. this error, click CLOSE and
Ignore this error continue. If the error continues,
message just Click OK Ignore the floating decimals in
While switch ON the controller above error
and continue to your origin while editing in the
may appear, just ignore this error and
next steps. program. Just enter the
proceed with next steps. reference value as whole
numbers without any decimal
You may get these ignorable error messages during any tutorial. points
Collision and Over Travel error because of your wrong inputs

 “Collision Occur” is a common error message you will get because of your wrong input parameters. This
indicates that your input parameters are leading the spindle in wrong path instead of proper material
removal and collision occurs between the tool, work piece clamping fixture or the table

 Reasons for Collision and Over Travel


 Wrong work part origin reference value in NC program and
 Wrong tool dimensions

 Remedy
 Enter correct reference value as mentioned in the TUTORIAL Manual
 Enter correct tool nomenclatures as mentioned in the TUTORIAL Manual
Problems

Sl. No. Operation Workpiece size Tool used Controller


Vertical Milling
1. □ 100 x 100 x 20 Flat end mill ∅16 H 100 Fanuc 0iMD
(Linear Interpolation)
Vertical Milling
2. □ 80 x 80 x 20 Flat end mill ∅16 H 100 Fanuc 0iMD
(Profiling)

Central Drill - ∅04 H 100


Flat end mill ∅20 H 75
Vertical Milling
3. □ 100 x 100 x 20 Flat end mill ∅12 H 100 Fanuc 18i-MB5
(Profiling) Drill ∅10 H100
Flat end mill ∅12 H 85

Flat end mill ∅20 H 100


Horizontal Milling Central Drill - ∅3 H 100
4. □ 150 x 100 x 100 Fanuc 18i-MB5
(Step milling) Drill ∅8.5 H95
Tap D10 H100
Horizontal Milling
5. □ 205 x 155 x 100 Ball end mill ∅20 H 100 Mitsubishi
(Curvature profiling)
Problem 3: Vertical Machining-Profiling

Lab Perquisites: Basics of NC code in connection with vertical machining is required. Knowledge about flat

end mill, center drill and drill tool along with their corresponding nomenclatures is mandatory before

entering to this example.

Workpiece size: Rectangular piece (100 x 100 x 20 mm)

Tool required: V-CNC Pro

Mounting details: Length : 50mm & Height : 35 mm

Goal: To do the basic facing and profiling on the above workpiece in Fanuc 18i-MB5 machining center.

At the end of this example students will understand how to do the machining operation in Fanuc 18iMB5

machining center and further we shall interpret the NC code.


Problem 3: Vertical Machining - Profiling

Given work part diagram


Problem 3: Vertical Machining - Profiling

Desired work part diagram


Problem 3: Vertical Machining - Profiling

Experiment Outline
Part I : Set up the workpiece and machine Part II : Set up the controller and cycle start
 Open V-CNC Pro Mill Software  Simulation environment settings
 Save Project  Set collision check
 Open wizard floating menu  Power on the controller
 Select machine  Spindle Zero Return
 Select controller  Cutter Compensation
 Open NC File  Edit H number in Program
 Create work part  Start the machining process
 Load work part
 Edit Magazine & Tool
 Offset Mill Fixture
 Set origin of the work part
Problem 3: Vertical Machining - Profiling

Experiment Outline (Contd.,)


Part III – Verification
 Verification of Machined component window open
 Verification of Machined component: Tool path
 Verification of Machined component: Gouge check
 Verification of Machined component: View sections
 Verification of Machined component: Work part drawing preparation
 Verification of Machined component : Save Work part diagram
 Save and close the project
Problem 3: Vertical Machining - Profiling
Shortcuts to represent various mouse shortcuts in the tutorial for convenience.

LMB: Left Mouse Button Single click RMB: Right Mouse Button click once

DLMB: Left Mouse Button Double click


Problem 3: Vertical Machining - Profiling

Experiment Outline
Part I : Set up the workpiece and machine
Step 1: Open V-CNC Pro Mill Software
 Once log in to the citrix server, click
VCNCProStart.
 VCNCProStart window will appear
 Click Machining Center in the
window and wait for some time, then
you can see VCNC Promill software
window open in your system.

V-CNC Pro Mill Software Interface

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 2: Reset the toolbar
 View (LMB)
Toolbars (LMB)
Init Toolbar (LMB)

Note: There may not be any changes in the screen after this step, proceed to next step.
Part 1: Set up the workpiece and machine
Problem 3: Vertical Machining - Profiling
Step 3: Save project
 File (LMB)
Project save(LMB)
 Save as project file window will pop up
LMB the drop down menu (Save in:)
Personal Directory (P:) (LMB)
Create new folder inside the
personal directory and name it as your
BITS ID (for example 201518… )
 DLMB the created folder
 Type File name”Tutorial3”
 Save (LMB)

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 4: Open wizard floating menu
 Settings (LMB)
Wizard (LMB)
 Now you can see the floating window
included the steps, Set User
Information, Select Machine and so on.

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 5: Select Machine
 Select Machine (LMB) (in wizard)
 Now Select Machine window will Tool Magazine
pop up.
1_Vertical M-C (LMB) Tool Head
Apply (LMB)
Tool Assembly

Work part and


Fixture
Table
Rotate, Move and other icons

Directions in vertical
machining center

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 6: Select Controller
 Select Controller (LMB) (in wizard)
 Now Select Controller window will
pop up.
Commercial controllers (LMB)
Among the list of controllers
select Fanuc 0iMD (M/C) (LMB)
Apply (LMB)
 Fanuc 18iMB5 controller interface
window will pop up now.
 Maximize the controller interface
to have a better view. (Refer next
page for the maximized controller
interface)

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Power
ON
MDI Mode
Remote Single
Block
Display Edit Mode
Auto Mode Machine
Lock

Zero
Cycle Start Cycle Stop return
Feed
Override
Reset
Spindle
Position Override

Emergenc
Set Offset y Stop

Fanuc 18i-MB5 Controller Interface Part 1: Set up the workpiece and machine
Problem 3: Vertical Machining - Profiling
Step 7: Open NC File (Numerical Code)
 Before starting this step, Minimize (find in
right top) the controller down
 Open NC File (LMB) (in wizard)
 Now Open window will appear
 In the Look in drop down menu select
Tutorial Share (T:), Scroll down and find V-
CNC Pro Tutorial Folder. DLMB the folder. You
can find NC Files folders (DLMB), find
“Tutorial 3” folder. DLMB the same folder.
 Tutorial3 notepad file (LMB)
 Open (LMB)

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 8: Create Work Part
 Create Work Part (LMB) (in wizard)
 Create work-part window will appear
Type 100 in W(width) and D(depth) box
Type 20 in H(height) box
 Let the material be unchanged
 Reload (LMB)
 Wait for a moment, work part will be reloaded
in the fixture.
 Now the work part will be loaded in the fixture.

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 09: Load Work Part
 Load Work Part (LMB) (in wizard)
 Load work-part window will appear
Type 0 in Mounting Length box
Type 30 in Mounting Height box
 Load (LMB)
 Create Work Part (LMB)
 Reload (LMB)
 Wait for a moment, work part will be reloaded
in the fixture.
 Now the work part will be loaded with the
specified mounting height and length in the
fixture.
Part 1: Set up the workpiece and machine
Problem 3: Vertical Machining - Profiling
Step 10: Edit Magazine & Tool
(T01-Center Drill ∅04 H100)
 Edit Magazine & Tool (LMB) (in wizard)
 Magazine window will appear
Center drill (LMB)
Enter the following parameters
Tool Dia 20
Tool Length 100
Blade Length 30
L 20
a 120
d 4
 Add tool to Tool
No. 1.
 Click Next Tool>>
and keep the tool
no 2 active. (To
add the next tool)

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 10: Edit Magazine & Tool (T02-FEM∅20 H 75)
Flat end mill (LMB)
Modify Tool (LMB) below window will appear
 Edit the Tool Dia. 10 into 20.
 Edit the Tool Length 100 into 75
 (DLMB the tool dia and height text box and edit
the value, then press ENTER)

 Add tool to Tool


No. 2.
 Click Next Tool>>
and keep the tool
no 3 active. (To
add the next tool)

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 10: Edit Magazine & Tool (T03-FEM∅12 H100)
Flat end mill (LMB)
Modify Tool (LMB) below window will appear
 Edit the Tool Dia. 20 into 12.
 Edit the Length from 75 to 100.
 (DLMB the tool dia text box and edit the value,
then press ENTER)

 Add tool to Tool


No. 3.
 Click Next Tool>>
and keep the tool
no 4 active. (To
add the next tool)

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 10: Edit Magazine & Tool (T04-Drill ∅10 H100)
 Drill (LMB)
 Add tool (LMB) to
Tool No. 4.
 Click Next Tool>>
and keep the tool
no 5 active. (To
add the next tool)

No need to edit the


Tool Dia, since the
default tool dia is 10
and the desired tool
dia is also 10 mm.

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 10: Edit Magazine & Tool (T05-FEM∅12 H100)
Flat end mill (LMB)
Modify Tool (LMB) below window will appear
 Edit the Tool Dia. 10 into 20.
 Edit the Length to 75.
 (DLMB the tool dia and length text box and edit
the value, then press ENTER)

 Add tool to Tool


No. 5.
 Click Next Tool>>
and keep the tool
no 6 active. (To
add the next tool)

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 10: Edit Magazine & Tool (T05-FEM∅12 H100)
Flat end mill (LMB)
Modify Tool (LMB) below window will appear
 Edit the Tool Dia. 20 into 12.
 Edit the Length to 85.
 (DLMB the tool dia and length text box and edit
the value, then press ENTER)

 Add tool to Tool


No. 6

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 10: Edit Magazine & Tool (Contd.,)
 Now Tool library manager window will disappear
and magazine window will appear.
 OK (LMB).
 Now do you want to save pop up window will
appear press Yes.

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 10: Edit Magazine & Tool (Contd.,)
 LMB the drop down menu (Save in:)
Personal Directory (LMB)
Your folder DLMB
 Type File name”Tutorial3Tool”
 Save (LMB)
 Tool library has been saved
confirmation window will appear
click ok.

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 11: OFFSET Mill Fixture
 Machine (LMB)
Offset Mill Fixture
 Offset fixture window will appear
 Enter 4 in Y mm
Apply offset (LMB)
Close (LMB)

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Step 12: Set origin work part
 Set origin work part (LMB) (in wizard)
 Work-Part origin setting (auto) window will appear
 Click the corner of the rectangle as shown
 In Work-Part drop down box click Hexahedron
 In NC Code drop down box select G92
 Shown X, Y and Z values are the origin point of the
component. NC code is generation for the same
origin.
X = 640
Y = 360
Z = 340

Ignore the minus sign.

Part 1: Set up the workpiece and machine


Problem 3: Vertical Machining - Profiling
Part II : Set up the controller and cycle start
Step 1: Simulation Environment settings
 Settings (LMB)
Environment setting (LMB)
 Environment Setting window will appear
Reduce the simulation speed to 70% (drag the
horizontal bar towards left)
 Simulation On is selected.
 Select High speed mode not use
 Give Tool Tolerance of 0.06
Select Coolant Effect ON
 Select the Show tool path option
 Click OK.

Part II: Set up the controller and cycle start


Problem 3: Vertical Machining - Profiling
Step 2: Set collision check
 Settings (LMB)
Set collision check (LMB)
 Collision Setting window will appear
Select Stop
Apply (LMB)

When there is a collision occurs between tool,


table, or any other components machining
operation will be stopped.

Part II: Set up the controller and cycle start


Problem 3: Vertical Machining - Profiling
Step 3: Power ON the controller
 Maximize the controller window
 Power ON (LMB)
ignore any error messages in the display
 EDIT (LMB) (Green LED should glow)
 RESET (LMB)
 Click PROG icon.
 Check the G92 reference value in the
program.
 Check the 4 th block
N4 G90 G92 X640. Y360. Z340.;
 Note that, in this program we have
moved the fixture to the NC code
G92 reference value.

Part II: Set up the controller and cycle start


Problem 3: Vertical Machining - Profiling
Step 5: Spindle Zero return
 Move the controller window and
machine as shown in Figure using rotate
and pan options.
 MDI (LMB)
 In the program box type the following code.
G28 X0. Y0. Z0.;
 Press Cycle start green button.
 Above process will return the spindle to its
extreme origin position.
 Cross check the spindle position in the display
after each click.

Spindle Zero
Position

Part II: Set up the controller and cycle start


Problem 3: Vertical Machining - Profiling
Step 6:Tool length and cutter
dia compensation
 Set offset button (LMB)

 Offset window will appear in the


desktop
 Enter compensation values as
shown in Figure (which will be
called in the NC code as D and
H numbers)
 Click EDIT

Part II: Set up the controller and cycle start


Problem 3: Vertical Machining - Profiling
Step 7: Start the machining process
 Auto (LMB) Green led should glow
 Rotate the FEED OVERRIDE to 40% (108
mm/min)
 Press the cycle start
 Once the machining starts, press SINGLE
BLOCK (green LED should glow)
 Now, press cycle start to execute each and
every block.
 Once the simulation is completed, take the
spindle to its original position.

Part II: Set up the controller and cycle start


Problem 3: Vertical Machining - Profiling
Part III Verification
Step 1: Verification of Machined
component window open
 Inspection (LMB)
 Verification
 Separate verification module page
will open as shown.
 In Move Work-Part dialogue box
enter 0,0,0 in X, Y and Z then click
Move.

Part III: Verification


Problem 3: Vertical Machining - Profiling
Step 2: Verification of … Tool path without machining ___ Tool path during machining
Machined component :
Tool Path
 View(LMB)
 Tool Path (LMB)
 Tool path attribute
icon (LMB)
 Color drop down
menu and select black
color,
 OK (LMB)

Note: Cutter compensation will be added during interpolation Part III: Verification
Problem 3: Vertical Machining - Profiling
Step 3: Verification of Machined
component : Gouge Check
Gouge check (LMB)
Open Model File(o) LMB
In the Look in drop down menu select
Tutorial Share (T:). Scroll down and find V-
CNC Pro Tutorial Folder. DLMB the folder.
You can find STL Files folder (DLMB), find
“Tutorial 3” folder. DLMB the same folder.
Tutorial3 STL file (LMB) Open (LMB)
Machined component is overlapped with
the final component to check the undercut
and overcut.
Green color portion indicates that there is
no under cut in the model.
Blue and Red colored areas are the under
cut and over cut respectively.
Gouge check usually decides whether the
machine settings, NC code and offset is in
par with the desired workpart geometry.
Finish gouge check (LMB) Use rotate and pan option to manipulate the component Part III: Verification
Problem 3: Vertical Machining - Profiling
Step 4: Verification of Machined
component : View Section
 Measure (LMB)
 View section
 Select the points as shown in the
Fig.
 OK (LMB)
 View Section window will appear
 In the view Section window, click
next to cross check the
coordinates. (This will help us to
Point
cross verify geometry of the
selected
complex curvature geometry)
 Close the View Section window
 Take different cross section and
check the coordinates of the
component.

Part III: Verification


Problem 3: Vertical Machining - Profiling
Step 4: Verification of Machined
component : View Section
Dimension
 Measure (LMB)
 View section
 Select the points as shown in the
Fig.
 OK (LMB)
 View Section window will appear.
Tick the Dimension check box.
 Check the dimension of the
Point
section. (Click the consecutive
selected
vertex points shown in Figure to
check the dimension.
 First and last vertex point in the
shown cut section is selected and
the figure indicates the respective
dimension.
 Similarly check the dimensions of
various cut sections. Part III: Verification
Problem 3: Vertical Machining - Profiling
Step 4: Verification of Machined
component : View Section
Dimension

 While checking the dimension, you


may end up with the shown error.
 This error message indicates that
the dimension can check only in
the horizontal or vertical cut
section. That is the selection points
should be a straight line (either
vertical or horizontal).
 Click ok and redo the cut section
with different point (selected
points should be approximately
straight)

Part III: Verification


Problem 3: Vertical Machining - Profiling
Step 5: Verification of
Machined component : Work
Part diagram
 Measure (LMB)
 Work Part Diagram (LMB)
 Separate CbDrawer window
will appear.
 Click at the corner as shown in
the Fig and press OK.

 Continue in the next page…

Part III: Verification


Problem 3: Vertical Machining - Profiling
Step 6: Verification of Machined
component : Work Part diagram
 Give the dimensions as shown.
 Horizontal direction icon (LMB)

 Use Zoom in, Zoom out, and Pan


to manipulate the diagram.
 Finally press Zoom all icon to have
the default diagram view

Zoom in Pan

Zoom Out Zoom All

Part III: Verification


Problem 3: Vertical Machining - Profiling
Step 7: Verification of Machined
component : Work Part diagram
 Give the dimensions as shown.
 Vertical direction icon (LMB)

 Set Y and X section view to 50


  OK (LMB)
 Cancel (LMB)

 Press Radius icon and select the four


corner fillet circles as shown.
Part III: Verification
Problem 3: Vertical Machining - Profiling
Step 8: Verification of Machined
component : Save Work part
diagram
 Save image icon (LMB)
 In the Save in drop down menu click
Personal Directory (P:)
 DLMB – Folder created in the first
step.
 Give File name in the text box
 Save (LMB)
Step 9: Save and close the project
 Work part Diagram window (Close)
 Verification window (close)
 File (LMB) in VCNC PRO Mill
Software page
 Project Save (LMB)
 File (LMB)
 Exit (LMB)
 Save the program alert (Click save)
Part III: Verification
Contact us if you have any queries

Work Integrated Learning Program


WISE Simulation Lab
Birla Institute of Technology & Science, Pilani

Email : [email protected]
Text @ Hangout : [email protected]

You might also like