Beruflich Dokumente
Kultur Dokumente
Using Tutorials
Tutorial 1in mm
Tutorial 2
Tutorial 3
Tutorial 4
Tutorial 5
Tutorial 6
Tutorial 7
Tutorial 8
Tutorial 9
Using tutorials
The tutorials guide you through the actual programming process for a few sample parts. When you complete all the tutorials you will be able to use
CAPSmill independently without any guidance.
To get the tutorials, click on the tutorials book in the help. A list of tutorials indicating the topics covered in it appears. Double click on the first
tutorial.
Perform the actions listed. At the end of each section, you will find a Back button, which leads you to the previous section, and a Next button, which
leads you to the next.
Clicking on underlined text leads to additional information on the topic.
If you need information not available in the Tutorial, use the context sensitive Help in the software.
The programming process consists of the following 8 steps:
You will notice that till View tool path the order of the steps is the same as in the main menu and icon bar. To do a program you will be following this
order from Left to Right.
Part drawing in MM
View A-A
200 40
A
150
A 12 - φ10 holes
at 30° pitch on 75
PCD 100.
Steps to NC program
Define work setup Start new program à Define work setup à Draw the part à Define Blank à Perform
Machining à Select Machine à View tool path à Generate NC program
The Work set up data is divided into Setup data and General data. Setup data is required for machining, and General data is documentation
related to the program. Setup data must be entered, while General data is optional.
Click on the General tab at the top of the dialog box and enter the general data as shown below.
• Enter the Part number as 567-0099.
• Enter the Part name as PLATE BOTTOM.
• Enter the Setup number as 1.
• Enter the Fixture name as FXT-9944.
• Enter the Programmer name.
• Enter the Remark as MODIFIED DUE TO DESIGN CHANGE NO. 7-A.
I A fast way of moving between edit boxes is through the TAB key. Press TAB to move to the next edit box, or SHIFT+TAB
(hold down the SHIFT key and press TAB) to move to the previous box.
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
Select Geometry on the menu bar. The geometry menu appears, with options for drawing and editing the objects.
The points lie on a pitch circle diameter of 100 mm. The coordinates for any hole machining operations should be defined as Points.
• Select Draw → Machinable objects → Points on Circle .
• The prompt Specify the center point appears in the status bar located at the bottom left hand corner of the screen. Enter the value 0,0
through the keyboard and press Enter.
• A dialog box appears for entering the points data. Enter the following values against the respective prompts.
Diameter=100
Angle of first hole=0
Number of holes=12
• Click on the OK button.
The part has now been defined. It should appear as shown below.
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
The blank is always defined as a rectangular block. It is displayed during tool path simulation. To define it,
• Select Define → Blank.
• At the prompt Select rectangle <Press ‘Insert’ key for dialog input> that appears in the status bar, click on the 200 x 150 rectangle drawn
earlier.
• Enter the following data in the dialog box that appears and click on the OK button.
Blank thickness = 80
Z coordinate at bottom = -75
The Minimum and Maximum X, Y coordinates are picked up automatically from the selected rectangle. Leave them unaltered.
This ends the definition of Part (Rectangular block) and Blank.
I
The blank definition is optional. If it is not defined, it is automatically assumed as a rectangular block surrounding the area
that is cut. The blank thickness entered here is 80 mm and the Z coordinate at bottom is -75 mm. This means that the blank
is at a height of 75 mm from the machine bed, which is the Z reference point for the program (i.e., the zero offset the along
Z axis).
Perform machining
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
I If you use the menu to change from Geometry to Machining, Machining to Tool path, etc., you must come to the Main menu
each time before you select an option. Clicking on an icon takes you straight to the selected mode. Using icons is faster.
Notice that the cutting parameters are automatically selected from the database for the selected tool type, tool material and work piece material.
• The prompt Select the machining start point appears in the status bar and also 4 symbols indicating the machining points and direction
appear around the selected rectangle. Select the point at the top right corner as shown below.
Select
this point
Note : The Work surface Z to be specified for face milling is dependent on the blank definition. You had specified the blank thickness as 80
mm and the Z coordinate at bottom as -75 mm, while defining the blank. The remaining 5 mm over the blank is removed during the face milling
operation.
A tool change is performed using the End option in the menu bar. To end the tool,
• Click on End in the menu bar . The dialog box for End of tool appears.
• Leave the data unaltered and click on the OK button.
Select
this point
Since the hole is part of a pattern, all the points in the pattern get selected.
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
The Work setup, Geometry definition, and Machining are independent of any machine. All functions after this are however dependent on the
machine since they use the machine’s mechanical data like feed rate and spindle speed limits, spindle power, etc. The machine must be selected
before executing the following functions:
• View tool path
• View power graph
• Generate NC program
• Generate Time study sheet
• Generate Tool list
To select a machine,
Select Main → Machines . A dialog box appears showing the list of machines
• Click on the machine you want to select.
• Click on the OK button.
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
• Click on Main to return to the main menu, then click on NC program on the menu bar.
• Enter the program number in the dialog box that appears.
• Select OK.
• A status box indicating the location and file name of the program generated appears. The file gets saved with the main file name and .PRG
extension.
• Click on the Edit button to view the NC program.
• Select File → Exit to exit the editor.
Note: The preview section displays the format selected. You can export the time study sheet to different formats through the Export button.
• Click on the OK button to return to Time study sheet format dialog box and then click on OK to exit time study sheet.
Note: The preview section displays the format selected. You can export the tool list to different formats through the Export button.
• Click on the OK button to return to Tool list format dialog box and then click on OK to exit tool list.
A 12 - φ10 holes 3
at 30° pitch on
PCD 4.0
Steps to NC program
Define work setup Start new program à Define work setup à Draw the part à Define Blank à Perform
Machining à Select Machine à View tool path à Generate NC program
The Work set up data is divided into Setup data and General data. Setup data is required for machining, and General data is documentation related
to the program. Setup data must be entered, while General data is optional.
General data
• Click on the General tab at the top of the dialog box and enter the general data as shown below.
• Enter the Part number as 567-0099.
• Enter the Part name as PLATE BOTTOM.
• Enter the Setup number as 1.
• Enter the Fixture name as FXT-9944.
• Enter the Programmer name.
• Enter the Remark as MODIFIED DUE TO DESIGN CHANGE NO. 7-A.
Tip: A faster way of moving between edit boxes is through the TAB key. Press TAB to move to the next edit box, or SHIFT+TAB (hold down the
SHIFT key and press TAB) to move to the previous box.
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
Select Geometry on the menu bar. The geometry menu appears, with options for drawing and editing the objects.
The points lie on a pitch circle diameter of 4 mm. The coordinates for any hole machining operations should be defined as Points.
• Select Draw → Machinable objects → Points on Circle .
• The prompt Specify the center point appears in the status bar located at the bottom left hand corner of the screen. Enter the value 0,0
through the keyboard and press Enter.
• A dialog box appears for entering the data. Enter the following values against the respective prompts.
Diameter = 4
Angle of first hole = 0
Number of holes = 12
• Click on the OK button.
The part has now been completely defined. It should appear as shown below.
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
The blank is always defined as a rectangular block. It is displayed during tool path simulation. To define it,
• Select Define → Blank.
• At the prompt Select rectangle <Press ‘Insert’ key for dialog input> that appears on the status bar, click on the 6 x 4 rectangle drawn
earlier.
• Enter the following data in the dialog box that appears and click on the OK button.
Blank thickness = 3.3
Z coordinate at bottom = -3
Click on the OK button.
This ends the definition of the Part (Rectangular block) and Blank.
I
The blank definition is optional. If it is not defined, it is automatically assumed as a rectangular block surrounding the area
that is cut. The blank thickness entered here is 80 mm and the Z coordinate at bottom is -75 mm. This means that the blank
is at a height of 75 mm from the machine bed, which is the Z reference point for the program (i.e., the zero offset the along
Z axis).
Perform machining
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
I If you use the menu to change from Geometry to Machining, Machining to Tool path, etc., you must come to the Main menu
each time before you select an option. Clicking on an icon takes you straight to the selected mode. Using icons is faster.
Notice that the cutting parameters are automatically selected from the database for the selected tool type, tool material and work piece material.
The prompt Select the machining start point appears in the status bar and also 4 symbols indicating the machining points and direction appear
around the selected rectangle. Select the point at the top right corner as shown below.
Select
this point
Note: The Work surface z to be specified for face milling operation is dependent on the blank definition. You had specified the blank thickness
as 3.3 inches and the Z coordinate at bottom as –3 inch, while defining the blank. The remaining 0.3 inch over the blank is removed during the
face milling operation.
A tool change is performed using the End option in the menu bar. To end the tool,
• Click on End in the menu bar . The dialog box for End of tool appears.
• Leave the data unaltered and click on the OK button.
Select
this point
Since the hole is part of point pattern, all the points in the pattern get selected.
• Click the right mouse button and select Done.
• The prompt Do you want to omit any holes? appears. Click on the No button.
• A dialog box appears with default values for some of the prompts. Enter the following data and leave the rest unchanged.
Operation name = Drill on PCD
Work surface Z = 0
Hole depth = 1.2
Return to Z = 4
• Click on the OK button.
• End the tool
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
The Work setup, Geometry definition, and Machining are independent of any machine. All functions after this are however dependent on the
machine since they use the machine’s mechanical data like feed rate and spindle speed limits, spindle power, etc. The machine must be selected
before executing the following functions:
• View tool path
• View power graph
• Generate NC program
• Generate Time study sheet
• Generate Tool list
To select a machine,
Select Main → Machines . A dialog box appears showing the list of machines
• Click on the machine you want to select.
• Click on the OK button.
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
• Select Toolpath from the menu bar . The tool path menu appears.
• By default, simulation starts in solid mode and isometric view.
• Select Simulation → Start or click on .
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
• Click on Main to return to the main menu, then click on NC program on the menu bar.
• Enter the program number in the dialog box that appears.
• Select OK.
• A status box indicating the location and file name of the program generated appears. The file gets saved with the main file name and .PRG
extension.
• Click on the Edit button to view the NC program.
• Select File → Exit to exit the editor.
Note: The preview section displays the format selected. You can export the time study sheet to different formats through the Export button.
• Click on the OK button to return to Time study sheet format dialog box and then click on OK to exit time study sheet.
Note: The preview section displays the format selected. You can export the tool list to different formats through the Export button.
• Click on the OK button to return to Tool list format dialog box and then click on OK to exit tool list.
R15
0
75 75
125
R100
R200 (typ)
B
M10 X1.5 pitch
6 holes on 60 30
PCD, 60° pitch,
10 mm deep
Steps to NC program
Define work setup Start new program à Define work setup à Draw the part à Define Blank à Perform
Machining à Select Machine à View tool path à Generate NC program
Enter the data shown below in the work setup dialog box that appears.
• Select the Units as MM.
• Select Cast iron, medium hardness as the Workpiece material from the list.
• Leave the Work coordinate system unchanged. (The numbers 1 to 6 in the list corresponds to the work offsets G54 to G59 on the machine).
• Enter the Clearance height as 250 mm.
• Enter the Tool change position as X=0, Y=0, Z=400.
Click on OK, or enter the following General data and then click on OK (General data is optional).
• Enter the Part number as 540-103-00022.
• Enter the Part name as END PLATE.
• Enter the Setup number as 1.
• Enter the Fixture name as EP-540-808-011.
• Enter the name of the Programmer.
• Enter the Remark as IMPORTANT: CHECK THE COMPONENT HEIGHT.
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
Circle C1
Circle C2
• To draw the circle c3 tangential to c1 and c2, Select Draw → Circle → Tangent-Tangent-Radius .
• At the prompt Select first object that appears in the status bar, select the circle c1 by clicking on its upper half.
• At the prompt Select second object, select the circle c2 by clicking on its upper half.
• Enter 200 at the prompt Specify the Radius that appears in the status bar. Circle C3 appears on the screen, which is drawn tangent to the
circles C1 and C2.
• Similarly, draw the circle C4 tangential to C1 and C2, with the same radius of circle C3 (200).
• Select Display → Zoom all , to get all the objects within the screen.
Circle C3
C2
C1
Circle C4
Break the circles at their points of tangency and erase the unwanted arcs.
• Break the circle C3: Select Edit → Break . The prompt Select the object to break appears. Click on C3.
• At the prompt Specify a point on the selected object that appears in the status bar, click on the right mouse button and select Intersection of.
• Click on the intersection point of C1 and C3, at point P1 as shown in the figure below.
• Another prompt Specify a point on the selected object appears in the status bar. Click on the right mouse button and select Intersection of.
• Click at the intersection point of the circles C2 and C3, at point P2.
C3 is now broken into two individual arcs.
• To erase the upper arc of C3 select Edit → Erase . The prompt Select objects [Press W to select through window] appear. Click on the
point shown in the figure below.
Click here to erase
after break
C3
P1
P2
C1 C2
C4
P3
P5
C1 C2
P6
P4
• Break the circle C1 at the points P5 and P6 as shown above and erase the inner arc.
• Break the circle C2 at the points P3 and P4 as shown above and erase the inner arc.
Click here to
continue contour
creation.
Tip: Select Display →Zoom All to shift the part you have drawn to the center of the screen..
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
8 steps to NC program
Start new program à Define work setup à Draw the part à Define Blank à Perform Machining à Select Machine à View tool path à
Generate NC program
Click on Main to return to the main menu and then Machining in the menu bar .
Machining involves:
1. Face milling the plate with a 50 mm diameter face mill.
2. Drilling with 9.8 mm diameter drill.
4. Countersink with 16 mm diameter countersink cutter
5. Tap with M10 x 1.5 tap
6. Pocket mill the inside rectangle with 20 mm diameter end mill.
7. Side mill contour with 20 mm diameter end mill
Here, we will first define the subprograms for hole machining operations.
The hole machining operations to be performed on this part are Drilling, Countersinking and Tapping.
The operations are performed on the same six hole locations. These hole locations can be defined in a subprogram and which is called for
different operations.
The subprogram Tappoints with six hole locations has now been defined.
Note: If you have made a mistake in entering the data for any process, it can still be modified through the Edit menu in Machining.
• Select the tool : Select Tool → Face mill . Enter or select the following parameters in the Face mill selection dialog box that appears:
Process name: MILL FACE
Manufacturer: GENERAL-MM
Tool type: Face mill
Tool material: Carbide
Tool name: Face mill Dia 50.0
• Select the tool : Click on Enter the data shown below in the dialog box that appears:
Process name: Drill 9.8 Dia. Holes
Manufacturer: GENERAL-MM
Tool type: Drill
Tool material: HSS
Tool name: Drill Dia. 9.8
The location for the drilling operation will be specified as the subprogram Tappoints instead of actually selecting points.
• The following data in the Perform the drilling operation : Select Hole → Drill .
• At the prompt Select the points to be machined select Subprogram → Call.
• Select the subprogram Tappoints and click on OK.
• Click the right mouse button and select Done.
• Select No at the prompt Do you want to omit any holes?
• Enter drilling dialog box that appears, leaving the remaining entries unchanged.
Hole depth = 20
Return to Z = 200
Click on the OK button.
End the tool.
• Select the tool : Select Tool → Countersink . Select the appropriate tool from the GENERAL-MM manufacturer.
• Perform the operation : Select Hole → Countersink . Call the subprogram Tappoints for the points to be machined, from the Subprogram
menu.
• Click on the right mouse button and select Done.
• Enter the following data in the countersink dialog box that appears, leaving the remaining entries unchanged.
- Work surface Z = 100
- Chamfer diameter = 16
- Dwell at bottom = 1
- Return to Z = 200
Click on the OK button.
• End the tool.
• Select the tool : Select Tool → Tap . Select the appropriate tool from the GENERAL-MM manufacturer.
• Perform the operation : Select Hole → Tap . Call the subprogram Tappoints for the points to be machined, from the Subprogram menu.
• Click on the right mouse button and select Done.
• Enter the following data in the Tap dialog box that appears, leaving the remaining entries unaltered.
Work surface Z = 100
Hole depth = 10
Return to Z = 200
Click on the OK button.
• End the tool.
Click here
This completes the pocket milling operation. Do not End the tool now. The same tool can be used to perform Side milling operation along the
contour.
This completes all the machining operations on the part. We have however made a mistake. The material thickness is 5 mm for the face milling
operation and the depth of cut too is 5 mm, which means that the entire material is removed in a single cut. Modify the operation to reduce the depth
of cut to 3 mm. To modify the process,
• Click on Edit .
• The Edit box appears with the list of all the tools selected and operations performed so far.
• Click on the operation Face mill profile, and then click on the Modify button.
• The prompt Do you want to reselect the machining area appears. Select No.
• The face milling dialog box appears with the data entered earlier. Change the depth of cut to 3.
• Click on the OK button.
• Click on the OK button to return to the Machining menu.
Modify a process
• Click on Edit.
• An edit box appears with the list of all the tools selected and operations performed so far.
• Select the tool or operation that you want to modify by clicking on it. Click on the Modify button.
• If you have selected a tool for modification, the tool dialog box appears. Make the necessary changes and click on the OK button.
• If you have selected an operation for modification, a prompt Do you want to reselect the machining area appears.
- Select yes if you want to change the machining area for that operation. Reselect the machining area at the respective prompts.
- Click on No if you want to change only the dialog box entries and not the machining area.
• Click on the OK button after making the necessary changes.
• After all the changes are made, click on the OK button to return to the Machining menu.
50
R6
20
R5
200
10
200
Define blank
The rectangle of dimension 200 x 200 can be defined as the blank.
• Select Define → Blank.
• Click on rectangle (200 x 200).
• Specify Blank thickness as 50 and Z coordinate at the bottom as 0.
Observe that the Work surface Z specified is 50 mm and the Z coordinate at the bottom is 0. This means that the zero offset on the machine along Z
axis is the machine bed.
This completes the Geometry part.
First, select an end mill of dia. 20 mm. The tool is available in GENERAL-MM tool manufacturer.
To perform pocket milling operation,
• Click on Milling → Pocket.
• Select the octagon for pocket machining.
• At the prompt Do you want to specify islands? Select Yes.
• Click on the smaller rectangle (This rectangle is selected as the island).
• Click the right mouse button and select Done.
Alter only the following data in the dialog box that appears:
Operation name: Mill pocket excluding islands
Work surface Z: 50
Pocket depth: 20
Allowance after roughing Bottom: 0.3
Return to Z: 100
Click on Cutting method tab
Select Cutting method: ZigZag.
Click on Cutting parameters tab
Select Depth of cut: 2
• Click on the OK button.
• Click inside the polygon drawn earlier, at the prompt Select the point of ramping INSIDE the pocket
• Click on End on the menu bar to end the operation.
Select an end mill of dia. 12 mm. The tool is available in GENERAL-MM manufacturer.
To perform pocket milling operation,
Select Milling → Grooving .
• Click on the groove at the prompt Select the object for grooving.
• Alter only the following data in the dialog box that appears:
Operation name: Groove milling
Process: Click on Side finish.
Work surface Z: 50
Groove depth: 10
Allowance after roughing Bottom: 0.3
Return to Z: 100
Click on Tool entry / exit tab
Entry distance: 10
Exit distance: 10
Click on Cutting parameters tab
Depth of cut: 2
FACE 1 FACE 2
On a VMC, after machining FACE 1, FACE 2 is placed beside FACE 1 and then machined using a different work offset number. There is no table
rotation in this case.
On an HMC, the component is clamped on the table that can rotate along an axis, Say B axis. After machining FACE 1, the table is rotated through
180º, and then FACE 2 is machined using a different work offset number.
Part drawing
200 15 30
Face 1 Face 2
10
8 holes of dia.
20 with 25 dia 60
counterbore
100
Draw the first face (Face 1) of the part in the standard face (Default face).
Draw the rectangle of dimension 200 x 200 (Refer the drawing for the coordinates).
To draw the points for the holes,
• Select Draw → Machinable objects → Points on Parallelogram.
• Enter -75, -75 at the prompt Specify start point that appears in the status bar.
• Enter the data as shown in the dialog box that appears, and click on the OK button.
Length: 150
Breadth: 150
Number of holes along length: 4
Number of holes along breadth: 2
Angle of length side: 0
Included angle: 90
• Define the rectangle (200 x 200) as the blank. Specify the Blank thickness Z as 105 and the Z coordinate at the bottom as -100 (Facing
allowance of 5 mm is provided on the blank, which will be machined during Face milling).
Define FACE 2
Before drawing the part, the second face (Face 2) must be defined.
First the face (FACE 2) must be made as the active face. To do this,
• Click on Machining faces on the menu bar.
• From the dialog box that appears, select FACE-2.
• Click on Set active and then select Done.
FACE-2 is now the current machining face and it represents the face opposite to the standard face.
• Draw the rectangle of dimension 200 x 200 (Refer the drawing).
• Draw the second rectangle of dimension 100 x 100.
• Draw the circle of dia. 50 mm (The circle must be defined as a machinable object).
• Define the rectangle (200 x 200) as the blank. Specify the Blank thickness as 100 and the Z coordinate at the bottom as –100 (No material is
left for face milling in this case).
Perform machining
Perform machining operations on FACE 1
Click on Main to return to the main menu and then go to the Machining menu.
The geometry on the Standard Face (Face 1) appears. Perform the machining operations as explained below. All the tools are available in
GENERAL - MM tool manufacturer database. Follow the prompts that appear on the status bar for all the machining operations and refer the drawing
for entering the machining parameters.
The machining operations on FACE - 1 (i.e. the Standard face) are now complete.
Perform machining operations on this face as explained below: All the tools are available in GENERAL- MM tool manufacturer database. Follow the
prompts that appear on the status bar for all the machining operations and refer the drawing for entering the machining parameters.
Select machine
To select a machine,
The file gets saved with the main file name and .PRG extension.
To select a machine
Toolpath simulation is done in a separate menu (Simulation menu). To get this menu, do the following:
Generate NC program
The file gets saved with the main file name and .PRG extension.
FACE 1 FACE 2
This chapter illustrates, performing repetitive operations using Single motions in a subprogram.
Part drawing
200
X0, Y0
Z0
12 12
12
70
525
All dimensions are in MM.
In this case, the slots in the part need not be drawn individually. You need to define only the blank. To get the slot, a tool equal to the width of
the groove can be selected and the tool movement can be traced using single motions, which are stored in CAPSmill’ s subprogram, and
repeated at various locations.
• Click on Main to return to the main menu and then go to the Machining menu.
• Click on Subprogram in the menu bar and then select Define.
• Enter Millslots as the subprogram name.
• Select Standard face as the current face.
• Select Subprogram of single motions as Subprogram type.
• Click on the OK button.
Select Machining to end the subprogram definition and get to the machining menu.
Absolute Y215.0
Incremental X-50.0
Absolute Z3.0
Incremental X-50.0
Absolute Y-15.0
Absolute Z-12.0
Perform machining
Since the tool motion is already defined in the subprogram, you only need to position the tool at the start point and repeat the subprogram for
the required number of times.
• → Spindle speed
Click on Single motion→ ,and enter the spindle speed as 1200 (RPM ). Select the spindle direction as CW. Click on the
OK button.
• Click on Single motion→ → Miscellaneous function → Standard and select Coolant ON. Click on the OK button.
• Click on Single motion→ → Rapid traverse and enter X -37.5, Y -15, leaving Z blank. Click on the OK button.
• Click on Single motion→ → Rapid traverse and enter Z3, leaving X and Y blank. Click on the OK button.
• Click on Subprogram, then select Call.
• Select the subprogram Millslots from the list of subprograms that appears.
• Enter the Number of calls as 5.
• Click on the OK button.
• End the tool.
• Save the file.
Here, you will configure the database for each functions mentioned above.
CAPSmill is shipped with a master database file Mill.MDB in which all the tool manufacturer database, tools and cutting parameters, tool and
workpiece materials, machine list are stored. This file is stored in the directory in which CAPSmill is installed.
Whenever you create a new tool manufacturer it gets stored in Mill.mdb file. You can either create a blank tool manufacturer in which case you
will have to enter all the tools, tool materials and cutting parameters right from scratch. Building a tool manufacturer this way consumes a lot of
time.
Hence, the easier and efficient method would be to create a new manufacturer and copy the data from an existing manufacturer into it. This way
you will only have to modify the names of tools, leaving the cutting parameters and tool materials unaltered.
• Select Config {bmc arrow.bmp} Tool and FS database from the Main menu.
• At the prompt for password, enter cadem.
• Click on Tool Manufacturer button.
• A list of existing tool manufacturers appears. Click on the Add button.
• Against the prompt Manufacturer name, enter First manufacturer – MM. Note: This is the name which will appear in the list of
manufacturers.
• Select the units as MM.
• Specify the remarks as New tool manufacturer included during training session.
So far you have specified all the details to create a new manufacturer. But as explained earlier, you need to copy the data from an existing
manufacturer into this new manufacturer. To do this,
Note: The process of copying data from an existing manufacturer may take some time depending on the amount of data in the selected
manufacturer.
Notice that the new tool manufacturer First manufacturer – MM is created in the list of manufacturers. Select the manufacturer and click on
Tools button. Note that the tools available in this manufacturer are similar to that of General – MM manufacturer.
• Click on the Workpiece material button. A dialog box with the list of existing materials appear.
• Click on the Add button.
• Enter the material name as New raw material against the prompt Workpiece material.
• Enter the Hardness factor as 0.8 and Machining exponent as 1. These are the parameters required to determine the material properties
and is used in Power graph calculation.
• Click on the OK button.
• Click on the OK button to exit workpiece material dialog box.
Before you add a tool type, you need to understand the concept of Tool class and Tool type in CAPSmill.
Tool class
These are the basic category of tools which are used to perform an operation. E.g., Drill, Face mill, Boring tool, End mill etc.
Tool type
These are various types of tools under a tool class. E.g., Twist drills, Insert drills, Flat drills are all different types of tools under Drill tool class.
Tool classes are fixed within CAPSmill, and cannot be added, modified or deleted. Tool types can be defined by you to put tools in separate
categories (types) and make selection easier. A tool type is specific to a Tool manufacturer.
• Select the newly added tool manufacturer First manufacturer – MM from the Tool and FS database dialog box.
• Click on the Tool types button. A dialog box with the list of existing tool types appear.
• Click on the Add button.
• Enter the name of tool type as New tool type against the prompt Tool type.
• Against the prompt Tool class, select Drill from the list.
• Enter the safe height as 3 MM.
Here, you have assigned the ‘New tool type’ to ‘Drill’ tool class. This means that New tool type belongs to the tool class drill and hence you can
select the tools from this tool type only when you select a Drill in the Machining menu.
• Click on the OK button. Notice that the tool type appears in the list.
• Click on the OK button to exit Tool types dialog box.
• Select the tool manufacturer First manufacturer – MM from the Tool and FS database dialog box.
• Click on Tool material button.
Configuring databases
CAPSmill has a feature of automatically selecting the cutting parameters (Feed rate and cutting speed) for an operation. You configure the
parameters suitable to your machining conditions which will be automatically selected during machining.
• Select the tool manufacturer First manufacturer – MM from the Tool and FS database dialog box.
• Click on Cutting parameters button.
Cutting parameters are specified for a combination of Workpiece material, tool type and tool material.
Notice that when you select a tool type, the tool material configured under the selected tool type is only listed. This is because Tool material is
specific to a tool type.
• Select the tool manufacturer First manufacturer – MM from the Tool and FS database dialog box.
• Click on Tools button. A list of tools appear under the current tool type.
• Select the Tool type as New tool type from the list. This is the new tool type added to the list earlier.
• Click on the Add button.
• Enter the Tool name as New tool. Click on the Tool geometry button.
Notice that the dialog box that appears is for specifying the Drill parameters. This is because when you added the tool type ‘New tool type’, you had
assigned it to Drill TOOL CLASS.
• Click on the Show tool button to view the line diagram of the drill. Click on the OK button.
• Click on the OK button in the tool geometry, tool data and the Add tool dialog boxes in sequence to exit the dialog box.
• Click on the OK button to exit Tool and FS database.
So far you have completed configuring the database for a single tool, tool type etc. Now, you can select these objects from the database for a
component and check the output, which will make the concept of CAPSmill Database clear.
Configuring databases
Checking the output with new tool manufacturer
To check the outputs, we go back to Tutorial 1. You will open tutorial 1 and save it in a different name and then insert a new drilling operation in it.
• Open the file Shaft.CPM (This is the name in which you saved tutorial 1).
• Select File {bmc arrow.bmp} Save As. In the dialog box, enter the filename as Database test and click on the Save button.
• Go to the Machining menu.
• Click on Edit. Select Work setup and then click on the Modify button.
• Change the Workpiece material to New raw material. Click on the OK button.
• Click on the OK button to exit Edit dialog box and then save the file.
• Select Tool {bmc arrow.bmp} Drill.
• In the dialog box, enter a process name.
• Select the Manufacturer as First manufacturer - MM. Select Tool type as New tool type.
• Select Tool material as New material and Tool name as New tool.
• Click on the Tool geometry button. Notice that the geometry specified when adding the tool to the database is automatically picked up. Click on
the OK button.
• Notice that depending on the Hand of tool specified, the spindle direction is automatically selected (Here, Hand of tool was set to Left and
hence the spindle direction is selected as CCW). Click on the OK button.
• Select a drilling operation. In the dialog box, enter the Hole depth as 20.
When the drill diameter selected is above 50 mm and upto 100 mm, select a feed rate of 0.15 mm/rev. and a cutting speed of 80 m/min. Here the
drill diameter is 60 mm.
By now you should be understanding the relationship between Tool class and Tool type and how cutting parameters are related to Tool
manufacturer, Workpiece material, Tool material and Tool type.
Modifying a machine
In the Machines dialog box select Modify and enter the appropriate data.
Building a postprocessor from scratch is a long process, and the fastest method of making a post is to copy an existing postprocessor and change
only the relevant parameters. Here, you will open the postprocessor file Tutorial.GPM and change some settings and parameters.
• Add a new machine to the machines list for the postprocessor file Tutorial.gpm.
• Select Config Postprocessor builder from the Main menu. Enter the password as cadem.
• Select File {bmc arrow.bmp} Open and open the file Tutorial.GPM.
• Click on Machine Data. In the dialog box, alter the following parameters leaving the remaining entries unchanged.
Machine name = Test machine
Rapid traverse rate = 18000
Tool change time in seconds = 2
• Click on Miscellaneous functions tab. Select Program stop and click on the Modify button.
• Enter the Function code as M02 and click on the OK button.
• Select Tool change and click on the Modify button. Enter the Function code as M06 and Execution time in secs as 2. Click on the OK
button.
• Click on History tab. Enter the following comment:
Postprocessor configured trial during learning session.
Machine: Test machine.
Control system: Fanuc 0MC.
Date of configuration: * * / * * / * *
Configured by: <ENTER YOUR NAME>
The NC program format for this postprocessor is configured for a standard Fanuc 0MC controller and hence you need not make any major
changes in it. You can make some minor changes to make it more specific to your machine.
Here, the blocks that need to be altered to change the program output are,
Program start
Tool change
• Place the cursor at the end of third line (i.e. before <$PROCESS_NAME> variable) and press Enter.
• Select the variable <BLOCK_NUM> from List variables dialog box and click on the OK button.
• Enter the code M01 next to the variable <BLOCK_NUM>.
• Click on the Sample output button to view the sample and then click on the OK button.
• Click on the OK button to exit Block format.
This completes the configuration of machine data. Generate and view the NC program for any part. Notice the changes in the program after
modifying the postprocessor.
• To go to DNC menu, select Utilities {bmc arrow.bmp} DNC from the Main menu.
Prepare a loop back connector with the pin configuration shown below. Use a 9 pin or a 25 pin connector depending on the type of connector on
the port to be tested.
2 2
3 3
7 4
8 5
1 6
4 8
6 20
If the port is defective get it rectified. If the port is proper, proceed to set the communication parameters for the machine.
Adding a machine
• Select Settings {bmc arrow.bmp} Enable settings. Enter the password as cadem. The password is case sensitive.
• Select Settings {bmc arrow.bmp} Machine data. Click on the Add button.
• In the dialog box change the following parameters, leaving all the remaining entries unaltered.
Machine name = Machine 1
Control system = Fanuc
• Click on DNC param tab.
Select the port number which was tested, from the list.
Baud rate = 9600
Parity = Even
Data bits = 7
Stop bits = 2
Handshake = Hardware
You have now configured the communication parameters on the PC. The similar settings must be made on the machine controller too. The
parameter settings to be made on the controller are Baudrate, parity, data bits, stop bits and communication mode (ie; set it to ISO).
You can also note the current setting on the controller and set it on the PC.
Communication can be in Manual, Auto or Simultaneous mode. Here you will try to transmit and receive a program to the machine in Manual
mode.
Whenever you do a communication, it is recommended to make the receiving end ready to receive the program. Here the receiving end is the
machine.
On the PC,
• Select DNC {bmc arrow.bmp} Manual mode.
• Double click on the machine and select Transmit program from the menu that appears.
• In the dialog box that appears, select a program file (Program file will have an extension of .PRG).
• Click on the Open button.
If the communication is successful, DNC will give a message ‘Program transmitted’. Check the program on the controller.
On the PC,
• Double click on the machine and select Receive program from the menu that appears.
• In the dialog box that appears, enter From machine as the file name in which the received program must be saved.
• Click on the Save button.
If the communication is successful, DNC will give a message ‘Program received. Check the program in the NC editor.