CIMCO CNC-Calc 2 - User Guide With Tutorials 1-10
CIMCO CNC-Calc 2 - User Guide With Tutorials 1-10
CIMCO CNC-Calc 2 - User Guide With Tutorials 1-10
2
3
2. License information
Information in this document is subject to change without notice and does not represent a
commitment on the part of CIMCO Integration. The software described in this document
may be used or copied only in accordance with the terms of the license. The purchaser
may make one copy of the software for a backup, but no part of this user manual may
be reproduced, stored in a retrieval system, or transmitted in any form or by any means
electronic or mechanical, including photocopying and recording for any purpose other than
the purchasers personal use, without prior written permission from CIMCO Integration.
Notice:
CIMCO Integration reserves the right to make changes to the CNC-Calc v2 Software at any
time and without notice.
Software License
You have the right to use the number of licenses of the enclosed program, which you have
bought from CIMCO Integration. You may not distribute copies of the program or related
documentation to any persons or companies. You may not modify the program or related
documentation without the prior written consent of CIMCO Integration.
Notice:
The accompanying software is confidential and proprietary to CIMCO Integration. No use
or disclosure is permitted other than as expressly set forth by written license with CIMCO
Integration.
The CIMCO Logo is a trademark of CIMCO Integration. Microsoft, Windows, and Windows
NT are registered trademarks of Microsoft Corporation. Other brand and product names are
trademarks or registered trademarks of their respective holders.
Address:
CIMCO Integration I/S
Lundtoftegaardsvej 97, 3.
DK-2800 Lyngby
Denmark
3. Table of Content
4. Installation9
5. Overview10
6. Mouse functions12
7. Toolbars13
8. Menus23
9. Configuring CNC-Calc32
10. Color configuration36
11. Other configurations that affect CNC-Calc37
Milling tutorials
12. Tutorial 1 2D Construction 38
13. Tutorial 2 CNC-toolpaths and Face milling48
14. Tutorial 3 Contour milling57
15. Tutorial 4 Pocket milling67
16. Tutorial 5 Backplot in the Editor77
17. Tutorial 6 Drilling84
18. Tutorial 7 Milling of Letters89
19. Tutorial 8 Milling of TrueType Letters96
Turning tutorials
20. Tutorial 9 Drawing the part 105
21. Tutorial 10 Machining the part 119
9
4. Installation
CNC-Calc v2 is installed as part of CIMCO Edit v5. Please see the CIMCO Edit v5
documentation for installation instructions.
If you are upgrading an existing installation without CNC-Calc v2 you do not need to
reinstall CIMCO Edit v5. Just copy the new keyfile (named license.key) to the appropriate
directory.
10
5. Overview
CNC-Calc v2 can draw 2D geometry, and generate NC code in ISO and Heidenhain
conversational format for contours and drilling cycles. The main program window looks like
this (with an empty drawing pane):
The toolbars can be arranged as desired by dragging them around. They can be docked along
any edge of the program window, in any order, or they can be placed floating on top of the
program window or outside the program window.
Most of the functions in CNC-Calc v2 can be accessed through toolbars and the CNC-
Calc menu, though a few functions are accessed in the File menu in CIMCO Edit v5 . The
following sections will first describe the mouse functions, then the toolbars and menus.
12
6. Mouse functions
The mouse buttons are used to perform the following functions:
Left button Selects whatever is described in the lower left corner of the
program window.
Right button Drag the geometry drawing across the graphics area by holding
down the right mouse button as you drag the mouse.
7. Toolbars
7.1. Tool
The Tools toolbar handles file operations, toolpath functions, zoom, snap and configuration
access. The functions in the Tools toolbar are also available from the CNC-Calc menu.
New Drawing clears the graphics area (you will get a chance to save
any unsaved changes). This can also be accessed with Ctrl N.
Save saves the drawing to your hard disk. If it is the first time you
save the drawing, you will be prompted for a file location and name.
Save can also be accessed with Ctrl S.
Zoom out centered on the middle of the graphics area. Zoom out can
also be accessed with Page Up.
Zoom All fits the drawing to the graphics area. This can also be done
by clicking the middle button on the mouse (on most mice, pressing
the scroll wheel), or with Ctrl-End.
Zoom Window lets you zoom in on an area, which you select by first
clicking at one corner, then dragging the rectangle and clicking at the
opposite corner.
14
The Points/Lines toolbar contains functions for drawing lines and points defined in different
ways. The functions in this toolbar can be found under Draw Points/Lines in the menu.
Vertical will draw a vertical line. The first point selected defines
the starting point (and the X coordinate), the second point selected
defines the length (and need not be directly above or below the first
point).
15
Polar lets you select the starting point of a line, and you then select
(or write) the angle and length of the line.
Parallel draws a line parallel to another line. You first select the line
your new line is to be parallel to, then the starting point of your new
line. You then select the length of your new line, and last you select
in which direction from the starting point your new line is to go.
Bisector draws a line bisecting two other lines, i.e. a line that halves
the angle between two lines. You first select the two lines you want
to bisect, then you select the length of your new line (from the
intersection of the two lines you are bisecting), and last you select
which of the four possible solutions you want to keep.
Tangent Two Elements lets you draw a line tangent to two circles or
arcs. You select the two circles or arcs your new line is to be tangent
to, and then you select which of the solutions you want to keep.
The Arcs/Circles toolbar lets you draw full circles (360 degree arcs), arcs and bolt patterns.
The functions in the Arcs/Circles toolbar can be found under Draw Arcs / Circles and Draw
Special in the menu.
Center Radius lets you define the center of the circle, followed by
the radius.
Two Points lets you define the circle by selecting two (diametrically
opposite) points.
Three Points lets you define the circle by selecting three points on
the periphery of the circle.
Center Diameter lets you define the center of the circle, followed by
the diameter.
Two Points lets you draw an arc by selecting the endpoints of the
arc, entering the radius, and selecting which solution you want to
keep.
Three Points lets you draw an arc by selecting three points. Note,
that the arc created will not cross the zero degree point (3 oclock);
The order the three points are selected in does not matter.
Start and End Angles lets you define an arc by its center point,
radius, starting angle and end angle.
Circular Bolt Hole Pattern defines a circular bolt pattern. You select
the center of the bolt pattern, select the radius of the bolt pattern, and
then enter the start angle, step angle, number of holes and the hole
diameter.
18
7.4. Letters
The Letters toolbar lets you draw two kinds of letters; simple letters and True Type letters.
The simple letters are like the letters used on drawings. These letters can be used to mill, for
instance, a part number on a part. The True Type letter is more artistic, and any True Type
font installed in the Windows operating system can be used. The Letters toolbar can be found
under Draw Arcs / Circles and Draw Special in the menu.
True Type Text Linear Alignment defines True Type text written on
a line. You enter the starting point and angle of the line, and then the
height of the letters. It is also possible to select the horizontal and
vertical alignment of the text.
True Type Text Circular Alignment defines True Type text that is
written on a circle. You select or enter the center and radius of the
alignment circle, then the start angle and height of the letters. It is
also possible to select the horizontal and vertical alignment of the
text, on the circle.
19
7.5. Modify
The Modify toolbar modifies the geometry in different ways. The functions in the Modify
toolbar can be found under Modify in the menu.
Trim One Element will trim one element to another. Select the
element to be trimmed first, on the side to be kept, and then select
the element to trim to.
Trim Two Elements will trim two elements to each other. Select the
two elements to be trimmed, on the side to be kept.
Break Elements will divide an element into two pieces. First select
the element to be broken into two, and then select the point at which
it should be divided.
Delete will delete the elements you select. They can be restored with
the Undo function (the icon or Undo under Modify in the menu.
Mirror Elements will mirror the elements you select about a line
selected as the mirror axis.
Undo will undo one or more operations. This can mean deleting
elements created, restoring deleted elements, and/or undoing
modifications to elements. Undo can also be accessed with Ctrl-
Backspace.
7.6. Milling
The Milling toolbar allows the user to perform various operations used in the manufacturing
of parts. All the operation can be exported directly to CIMCO Edit or to the clipboard, for
insertion in a user defined location. The functions in the Milling toolbar are also found under
Milling operations in the menu.
Helix Milling can generate operations for helix drilling. Like normal
drilling, multiple holes can be selected with the use of filters, or by
selecting the individual circles on the drawing.
True Type letter milling can create operations to mill the outline and/
or the interior of the individual letters. The letters can be selected
with the window function, and all letters with the same parameters
can be machined in one operation.
22
Export Contour can export a contour that the operator has selected
on the drawing. If a controller have smart canned cycles for example
a specific pocket operation, the user can create a macro in the editor
to support this, and then export the actual contour for insertion in the
canned cycle.
8. Menus
Most of the CNC-Calc v2 functions are accessed through the CNC-Calc menu, however, the
following functions are accessed through the File menu.
Close All Closes all open files. If any files have been modified, then the
user will be prompted to save them.
Save Saves the drawing to your hard disk. If it is the first time you
save the drawing, you will be prompted for a file location and
name. Save can also be accessed with Ctrl S.
Exit Closes CIMCO Edit v5, and thus also CNC-Calc v2. If any
files have been modified, then the user will be prompted to
save them. Exit can also be accessed with Alt F4 (Alt F4 is a
Windows standard).
Open Drawing Opens an existing CNC-Calc v2 file. Open can also be accessed
with Ctrl O.
24
Vertical Draws a vertical line. The first point selected defines the
starting point (and the X coordinate), the second point selected
defines the length (and need not be directly above or below the
first point).
Horizontal Draws a horizontal line. The first point selected defines the
starting point (and the Y coordinate), the second point selected
defines the length (and need not be directly to the left or right
of the first point).
Polar Lets you select the starting point of a line, and you then select
(or write) the angle and length of the line.
Perpendicular Draws a line perpendicular to another line. You first select the
line your new line is to be perpendicular to, then the starting
point of your new line. You then select the length of your new
line, and last you select in which direction from the starting
point your new line is to go.
Parallel Draws a line parallel to another line. You first select the line
your new line is to be parallel to, then the starting point of your
new line. You then select the length of your new line, and last
you select in which direction from the starting point your new
line is to go.
Bisector Draws a line bisecting two other lines, i.e. a line that halves the
angle between two lines. You first select the two line you want
to bisect, then you select the length of your new line (from the
intersection of the two lines you are bisecting), and last you
select which of the four possible solutions you want to keep.
Tangent Two Elements Lets you draw a line tangent to two circles or arcs. You select
the two circles or arcs your new line is to be tangent to, and
then you select which of the solutions you want to keep.
25
Tangent Angle Draws a line tangent to an arc or circle, at a selected angle. You
first select the arc or circle your new line is to be tangent to,
then the angle and length, and last you select which of the two
solutions you want to keep.
Tangent Through Point Draws a line tangent to an arc or circle, to a selected point. You
first select the arc or circle your new line is to be tangent to,
then the point it is to go though, and last you select which of
the two solutions you want to keep.
Rectangle Draws a rectangle where you select the two opposite corners.
It is possible to define a corner radius for the rectangle (the
corner radius is ignored if there is not room for it).
Three Points Lets you define the circle by selecting three points on the
periphery of the circle.
Center Radius Lets you define the center of the circle, followed by the radius.
Center Diameter Lets you define the center of the circle, followed by the
diameter.
Tangent Two Elements Lets you define a circle tangent to two elements, of a defined
radius. You first write the radius, then you select the two
elements the circle is to be tangent to. Last you select which of
the solutions you want to keep.
Tangent Three Elements Defines a circle tangent to three elements. You select the three
elements the circle is to be tangent to, and then you select
which of the solutions you want to keep.
Tangent Center on Line Lets you define a circle tangent to one element, with its center
on a line, of a defined radius. You first write the radius, then
26
you select the line the center is to be on, and the element the
circle is to be tangent to. Last you select which of the solutions
you want to keep.
Tangent through Point Lets you define a circle tangent to one element, through a point,
of a defined radius. You first select the point the circle is to go
through then write the radius, and select the element the circle
is to be tangent to. Last you select which of the solutions you
want to keep.
Two Points Lets you draw an arc by selecting the endpoints of the arc,
entering the radius, and selecting which solution you want to
keep.
Three Points Lets you draw an arc by selecting three points. Note, that the
arc created will not cross the zero degree point (3 oclock); The
order the three points are selected in does not matter.
Start and End Angles Lets you define an arc by its center point, radius, starting angle
and end angle.
Circular Bolt Hole Pattern Defines a circular bolt pattern. You select the center of the bolt
pattern, select the radius of the bolt pattern, and then enter the
start angle, step angle, number of holes and the hole diameter.
Defines simple text written on a line. You enter the start point,
angle of the line, then the distance between and height of the
27
Defines True Type text written on a line. You enter the start
point and angle of the line, and then the height of the letters. It
is also possible to select the horizontal and vertical alignment
of the text.
8.2.4. Modify
Trim To Intersection ill trim the selected element to the nearest intersection(s).
W
Select the element to be trimmed on that part to be removed; it
is then trimmed to the intersection(s) nearest the point where
it was selected. The trimmed element is also broken in two, if
there are intersections on both sides of the selected point.
Trim One Element Will trim one element to another. Select the element to be
trimmed first, on the side to be kept, and then select the
element to trim to.
28
Trim Two Elements ill trim two elements to each other. Select the two elements
W
to be trimmed, on the side to be kept.
Fillet Elements Creates a fillet between two elements, with a fillet radius the
user selects. It is optional, whether the two elements should
also be trimmed to the fillet.
Break Elements Will divide an element into two pieces. First select the element
to be broken into two, and then select the point at which it
should be divided.
Join Elements Will join two selected elements into one. The two elements
have to elements that can be joined into one element, of course.
Delete Will delete the elements you select. They can be restored with
the Undo function (the icon or Undo under Modify in the
menu.
Mirror Elements will mirror the elements you select about a line selected as the
mirror axis.
Translate Elements Will translate the elements you select along a vector defined by
selecting two points. It is optional whether the original should
be kept, and it is possible to create multiple copies, where each
copy is translated one step further along the selected vector.
Rotate Elements Will create one or more copies of the selected elements, rotated
around a selected point, at a specified angle per copy. It is
optional whether the original should be kept.
Scale Elements Will create one or more copies of the selected elements, scaled
about a selected point by a specified scale factor. It is optional
whether the original should be kept.
Undo Will undo one or more operations. This can mean deleting
elements created, restoring deleted elements, and/or undoing
modifications to elements. Undo can also be accessed with
29
Ctrl- Backspace.
Zoom in Centered on the middle of the graphics area. Zoom in can also
be accessed with Page Down.
Zoom out Centered on the middle of the graphics area. Zoom out can also
be accessed with Page Up.
Zoom All Will fit the drawing to the graphics area. This can also be done
by clicking the middle button on the mouse (on most mice,
pressing the scroll wheel), or with Ctrl-End.
Zoom Window Lets you zoom in on an area, which you select by first clicking
at one corner, then dragging the rectangle and clicking at the
opposite corner.
Layout Toolpath Lets you chain a toolpath contour, and then export it as ISO or
Heidenhain Conversational NC code.
Drill Holes Lets you select drill points and a drill cycle, and then export it
as ISO or Heidenhain Conversational NC code.
Pocket Milling Creates pocket operations for one or multiple pockets. These
pockets can contain none or multiple islands. In a single
operation, it is possible to make both roughing and finishing
cuts, but only with one tool.
Contour Milling Creates operations for contour milling. A contour operation can
machine multiple contours with roughing and finishing cuts,
but only with one tool.
Drill Holes Creates drilling operations for hole drilling. From the drawing
the hole positions can be selected with the use of a filter, or
by simply indicating the hole position. If multiple holes are
drilled, they can be arranged in both rectangular and circular
patterns.
Helix Drilling Generates operations for helix drilling. Like normal drilling,
multiple holes can be selected with the use of filters, or by
selecting the individual circles on the drawing.
Thread Milling Creates threading milling operations. The threads can be inside
or outside, and the can be created for tools with one or multiple
teeth. Again multiple threads can easily be selected with the
use of the filter function.
Mill Letters Generates operations for milling simple letters on the drawing.
These letters will have to be drawn using the simple letter
function, but then all letters can be selected with the window
functions, and machined in operations based on their start and
end depth.
Mill True type Letters creates operations to mill the outline and/or the interior of the
individual letters. The letters can be selected with the window
function, and all letters with the same parameters can be
machined in one operation.
31
Export Contour Can export a contour that the operator has selected on the
drawing. If a controller has smart canned cycles for example
a specific pocket operation, the user can create a macro in the
editor to support this, and then export the actual contour for
insertion in the canned cycle.
Calculator The feed and speed calculator is used to generate tool changes,
or to simply calculate the feed and speed, based on the data for
a specific tool.
32
9. Configuring CNC-Calc
Perhaps the most important thing to remember when configuring CNC-Calc is that, except
for the toolbar positions, the configuration is specific to each machine type.
It is important to select the correct machine type, and it should be noted, that the selection
between ISO and Heidenhain conversational NC code output is made by the template used
when creating the machine type. The window below shows the main configuration dialog.
33
It is important to select the correct machine type, and it should be noted, that the selection
between ISO and Heidenhain conversational NC code output is made by the template used
when creating the machine type. The window below shows the main configuration dialog.
The top part of the CNC-Calc configuration dialog contains the settings for toolpath output,
with the settings for the drawing grid at the bottom. The correct settings for toolpath output
depend on the machine and control that is to run the NC code. You should consult the
programming manual for your specific machine if in doubt.
Turning Select this for turning (lathe) output. This option is unavailable
for Heidenhain conversational NC code output.
Always add sign Selects whether to always output the sign of the coordinate
(giving a + sign on positive and zero coordinates), or whether
the sign is only output on negative coordinates.
Modal X/Y values Selects whether the coordinates are modal or not. Modal
coordinates means coordinates are only output when changed,
while non-modal coordinates means both X and Y are output
on every line, regardless of whether they are changed or not.
34
Machine Type Select the machine that the output should be formatted for. For
milling this could be Heidenhain or ISO milling.
Arc Type
Radius (R) values The arc radius is given (with the address R), rather
than the arc center.
Number of decimals All coordinates are rounded to this number of decimals, and if
padding with trailing zeroes is selected below, coordinates are
padded with trailing zeroes to this number of decimals.
Trailing 0s
Maximum arc output angle This is primarily used in milling, and it allows the operator to
control the maximum sweep of the arcs. Some controllers can
not handle arcs with a sweep larger than 180 degrees, and here
it is possible to ensure that these arcs will not be generated.
35
Rotary axis If Y-axis substitution is used, this field contains the address
letter of the axis used in this substitution.
Grid size This sets the spacing between main grid points.
Show origin Select this to have lines along X and Y zero visible.
36
To change the color of a CNC-Calc element, either left click the element in the list to select
it and click the select color button , or you can double-click the element in the list. The
color can then be picked from a standard palette, or a custom color can be defined.
37
Machine type template As has already been mentioned, the template used when
creating a machine type determines whether the NC code
output from CNC-Calc is in ISO or Heidehain conversational.
Machine under file types In the Machine dialog under File types in the configuration, the
Comment start, Comment end and Decimal point settings are
used by CNC-Calc when creating NC code.
38
12. Tutorial 1
2D Construction
This tutorial demonstrates one of many ways in which the 2-dimensional part above can be
drawn in CNC-Calc v2. Since the part consists of a number of similar elements and since
its part-elements are symmetrical, only a subsection of the part needs to be drawn. The
rest emerges from mirroring and finally joining the mirrored elements with straight lines
completes the part.
To make a new drawing you must click on CNC-Calc and then select New Drawing.
40
Note If you hold the cursor over an icon a short description of its functionality
will appear.
You can change the colors of the drawing area by selecting Setup and
then Colors from the dropdown menu.
41
First Corner X = 75
First Corner Y = 50
Second Corner X = -75
Second Corner Y = -50
Corner Radius = 12.5
Draw a vertical and horizontal line defined by its end point and length
Similar to the above draw a horizontal line with length = 20 from the same center. This time
Line Length is set to 20 and next the mirror line is added from the center of the left horizontal
line (the X-axis, see picture below).
43
Offset a circle
Click on the circle and select the outermost of the appearing circles.
B
A
From the possible solutions select the part of the circle, which makes the right fillet. In the
picture below you can see how it should look.
C
45
Click on all the elements, which should be mirrored (the circle and the inner corner). You can
hold down the left mouse button while dragging out a window around the elements.
Now do the same and mirror about the horizontal mirror line. Continue mirroring until your
drawing looks similar to the one below.
Snap to the two arcs end points and add the remaining horizontal and vertical lines to finish
the part.
Click on Files and then select Save as from the dropdown menu. Give the file a new name
and save it (the file extension is added automatically).
47
48
13. Tutorial 2
CNC-toolpaths and Face milling
With CNC-Calc v2 it is possible to create toolpaths directly from the programs geometrical
drawings. Thereby calculations become more secure and programming becomes much
faster compared to doing it manually. At the same time you get a big advantage since it is
possible to move, copy, rotate, scale and mirror elements with the result of instant NC-code
generation.
This tutorial demonstrates how the 2-dimensional part above can form the basis for NC-codes
for various types of machining.
Note This tutorial builds upon the result from CNC-Calc v2 Tutorial 1.
49
You should now see the part from CNC-Calc v2 Tutorial 1 displayed in front of you.
Note If you hold the cursor over an icon, for a moment, a short description of
its functionality will appear.
51
Cutter Diameter:
This is the diameter of the cutter. Here it is a 30
mm Face Mill.
Now close the parameters dialog with OK and click on Export Editor. The following screen
should now be displayed.
In the facing example, we used a face mill that we give the following characteristics:
diameter is 30mm, it has 5 flutes, a cutting feed of 0.08mm per tooth and a cutting speed of
190mm/min.
54
The line for the NC program is now in the clipboard, and it is ready for insertion. Change the
window to the NC program, and move to the very start, by pressing Ctrl-Home.
Insert the text from the clipboard, either by pressing Ctrl-v, or selecting Edit Paste from
the drop down menu.
14. T
utorial 3
Contour milling
CNC-Calc v2 can generate contour milling - with and without radius compensation. There
are several machine types in CNC-Calc, but the most comonly used are ISO G-code
programming and Heidenhain plain text.
This tutorial demonstrates how the above 2-dimensional part can form the basis of NC-codes
for various types of machining.
Note This tutorial builds upon the result from CNC-Calc v2 Tutorial 1.
58
You should now see the part from CNC-Calc v2 Tutorial 1 displayed in front of you.
Note If you hold the cursor over an icon, for a moment, a short description of
its functionality will appear.
60
Cutter Diameter:
Diameter of the tool in use.
Work Side: This field determines which side of the contour the tool will pass on. Together
with the selected direction of the contour, it determines if the milling type will be climb or
conventional.
Use Line:
Enable or disables the lead in/out lines.
Line Length:
Is the length of the lead in/out line.
Use Arc:
Enables/disables the lead in/out arcs.
Now close the parameters dialog with OK and click on Export Clipboard. The NC
operation is now in the clipboard, and it is ready for insertion.
Change the window to the NC program, and move to the very end, by pressing Ctrl-End.
Insert the text from the clipboard, either by pressing Ctrl-v, or selecting Edit Paste from
the drop down menu.
The NC program in the Editor now consists of two operations and currently they are both
made with the same tool. Now we need to insert a new tool for the contour operatio
Tool # :2
Diameter (D) in mm : 10
# Flutes (Z) :4
Feed per tooth (Sz) in mm : 0.06
Cutting Speed (V) in mm/min : 175
RPM : 5570
Feedrate (F) in mm/min : 1336.9015
Now the Feed and Speed dialog should look like the
one to the right:
66
Change to the NC program in the editor. After the contour operation was copied to the editor,
the cursor is at the very end of the program. In order to insert the tool line from the clipboard,
we must locate the start of the contour operation. Since the comment CONTOUR was
inserted, it is easy to locate the start of the operation.
Find the text CONTOUR, either by pressing Ctrl-f, or selecting Edit Find from the drop
down menu.
Go to the start of the comment line and insert the text from the clipboard. The NC program
should now look like the following.
15. T
utorial 4
Pocket milling
CNC-Calc v2 can generate pocket milling. There are several machine types in CNC-Calc, but
the most commonly used are ISO G-code programming and Heidenhain plain text.
This tutorial demonstrates how the above 2-dimensional part can form the basis of NC-codes
for various types of machining.
Note This tutorial builds upon the result from CNC-Calc v2 Tutorial 1.
68
You should now see the part from CNC-Calc v2 Tutorial 1 displayed in front of you.
Note If you hold the cursor over an icon, for a moment, a short description of
its functionality will appear.
70
Cutting Diameter:
The diameter of the used tool.
Line Length:
Is the length of the lead in/out line.
Use Arc:
Enable or disables the lead in/out arcs.
Sweep:
Is the sweep angle of the lead in/out arc.
Now close the parameters dialog with OK and click on Export Clipboard. The NC
operation is now in the clipboard, and is ready for insertion.
Change the window to the NC program, and move to the very end, by pressing Ctrl-End.
Insert the text from the clipboard, either by pressing Ctrl-v, or selecting Edit Paste from the
drop down menu.
The NC program in the Editor now consists of three operations, and since we use the same
tool for the contour and pocket operation we will not insert a tool in front of the pocket
operation.
16. T
utorial 5
Backplot in the Editor
One of the advantages of running CNC-Calc inside CIMCO Edit v5 is that the editor can be
used to manipulate and backplot the NC programs generated in CNC-Calc. In the following
we will setup the backplot, and verify the program.
You should now see the NC program from the last tutorial.
79
Here the toolpath is shown. It looks OK, but it can be configured to look a lot more like the
final part. To do this we need to define the individual tools, and the stock.
80
After the tools have been configured, the screen should look like the one below. Try to
find the tool changes and verify that the tool does endeed change when a tool change is
encountered in the NC program.
Now everything has been configured, and the backplot can now be used to verify the
operations. The screen should now look like the one shown below.
84
17. T
utorial 6
Drilling
CNC-Calc v2 can generate codes for drilling in either canned cycles or as longhand. There
are several machine types in CNC-Calc, but the most commonly used are ISO G-code
programming and Heidenhain plain text. Before you start
You should now see the part from CNC-Calc v2 Tutorial 1 displayed in front of you.
Note If you hold the cursor over an icon, for a moment, a short description of
its functionality will appear.
86
Please enter these parameters for this drilling operation. Notice that in this example it makes
no Difference if we have selected Incremental or Absolute Safe Distance and Depth, since
these incremental values refer to the Reference Plane, which is 0.
87
For the selection of the location of the holes several options are available:
1. S
elect each hole location with the cursor. In order to get the correct hole center
for circles and arcs, the snap to center should be used
2. S
elect the actual circle or arc. This will create a new hole location, at the center
of the circle/arc.
3. U
se window selection with or without filter. If the filter is used it is possible to
limit the selection to cirles or arcs in different ranges.
4. I n the following we will use the filter to select the corner holes, but not any of the
arcs.
In the following we will use the filter to select the corner holes, but not any of the arcs.
Now enable the Use Selection Filter in the lefthand pane, and then make a window selection,
that includes the entire drawing. When this selection is made, only the four corner holes
should be selected.
88
(DRILL)
G00 X12.5 Y87.5
G00 Z10.0
G83 X12.5 Y87.5 Z-7.0 R2.0 Q1.0 F200.0
X137.5
Y12.5
X12.5
G80
The order of operation can then be changed by clicking on Reorder Circ and Reorder Rect
in the dialog.
89
18. T
utorial 7
Milling of Letters
This tutorial demonstrates how a 2-dimensional text can be used as the basis for an NC
program milling letters and numbers.
Notice This menu can also be reached by right-clicking any toolbar already in view.
90
The dialog Text Entry appears to the left. In the input field at the bottom named text, enter
the text that will be machined. In this example CIMCO 123.
In addition to the text five additional parameters are needed to specify start point, baseline
angle, letter distance and letter height. Fill in the fields with the values from below.
When you are done entering text and values click the blue check mark button at the
bottom right of the dialog to accept.
91
The text is now showing in the drawing and its geometry can now be used for generating the
toolpaths.
Select the feature Letter Milling by clicking the CNC-Calc menu, then Millng Operations,
Mill Letters, or select the corresponding icon from the Milling Operations toolbar.
The dialog Letter Milling will appear on the left side of the screen as shown above.
Now use window selection to select the text you want to mill. On the drawing left-click one
corner, hold down the mouse button and drag diagonally. When the desired text is framed,
release the button. The frame disappears and the text will have turned yellow to indicate that
it has been selected.
Next click on the Export Editor button, and this will show the NC codes for machining the
text in the Editor.
If you want to verify a certain operation in the NC program, simply click on a line of the NC
code to the left. The simulation tool will immediately position itself on the corresponding
place in the simulation. You can move the tool one line at a time using the up and down
arrow keys on your keyboard, or skip through the code a page at a time using PageUp and
PageDown.
Your screen should now present CIMCO 123 in the following way.
Notice the rapid moves, indicated by the yellow lines, retracting to the level we defined using
the Parameters dialog.
The example text milling program CIMCO 123 can be used as subprogram to another
program by simple cut-and-paste, but can also be completed as an independent program,
providing it is supplied with the code lines for Program Start/Program Stop, Tool Change,
and Feed/Speed, which you can quickly add either manually or with the Macro function in
CIMCO Edit 5.
Important notice
The final execution of the program depends to a high degree of the applied macro programs.
It is also important that the correct set-up of CNC-Calc is used for each machine/control.
95
19. T
utorial 8
Milling of TrueType Letters
This tutorial demonstrates how a 2-dimensional TrueType text can provide the basis for an
NC program milling letters and numbers.
To start a new drawing, either click on the icon or click on CNC-Calc in the menu, and then
on New Drawing.
In this tutorial we will machine a single line of TrueType text composed of letters and
numbers. For this example we have chose the text CIMCO 456.
To create TrueType letters, numbers, and characters select the function Create TrueType
text in drawing by clicking on .
The dialog Text Entry appears to the left. Enter the coordinates for the starting point of
the text, the angle (relative to the horizontal axis) of the text baseline, and the height of the
letters.
In the bottom field you write the text (here CIMCO 456) to be milled with TrueType
letters.
98
Next select the font type and font size by opening the font dialog by clicking on the button
Select Font. End this dialog by clicking OK. As a result of the changes you make in the
font dialog the look of the text changes. You can enter the font dialog again until you are
satisfied with the layout.
When done click on the blue check mark button to insert the text. This is important since
otherwise the text will disappear once you start doing other things.
99
With parameters, text, and font defined your screen should look like the following.
Depending on your choice of font this might vary.
The geometry is now finished and can be used for the generation of toolpaths.
From the CNC-Calc menu, select Milling Operations and Mill TrueType letters, or click the
corresponding icon on the toolbar.
The Letter Milling dialog has now appeared to the left. Click on the Parameters button.
The TrueType Text Milling Parameters dialog appears. Check the Mill Outline checkbox
at the top and fill in the rest of the fields as shown below. Click OK when done.
101
Use window selection to select the letters to mill. This is done by left-clicking in the upper-
left corner of the drawing. Now hold the mouse button down and drag the cursor to the
lower-right corner and release the mouse button. Click on the button Show Toolpath. Now
the screen will show the generated toolpaths which is layed out directly over the outline of
the text (it might be hard to see). Finally click on the button Export Editor.
Now the NC-codes for the machining are shown in the editor. Use the Graphical Backplot to
simulate and verify the toolpaths. To start the backplot click on the Backplot menu and then
on Backplot Window.
Use the buttons in the lower-right corner of the window to control the simulation speed and
direction. By clicking on a line in the NC-code to the left the tool will jump to that position
in the simulation. The up and down key moves the line selection to the previous or next line,
and the tool will be moved acordingly.
102
1. Click on the button New marked B, and select the letters for the operation.
1. I nsert the new parameters as shown below (remember to check the 5. checkbox
Mill Interior).
D
A
C
B
103
lick on Show Toolpath marked D - the generated toolpaths will now be shown
1. C
on the screen.
lick the button Export Editor. Now the NC-codes for the machining are shown
1. C
in the editor
104
Simulate the program to verify the toolpath the same way we did earlier in this tutorial.
It is possible to generate toolpaths with both Mill Interior and Mill Outline selected under
Parameters. This will create both the pocket operation on the inside, and the milling of the
contours.
The example program CIMCO 456 can be used as subprogram to another program by
simple cut-and-paste, but can also be completed as an independent program, providing it is
supplied with the code lines for Program Start/Program Stop, Tool Change, and Feed/Speed,
which you can quickly add either manually or with the Macro function in CIMCO Edit 5.
Important notice
The final execution of the program depends to a high degree of the applied macro programs.
It is also important that the correct set-up of CNC-Calc is used for each machine/control.
20. T
utorial 9
Drawing the part
To make a new drawing you must click on
CNC-Calc and then select New Drawing.
107
Note If you hold the cursor over an icon a short description of its functionality
will appear.
You can change the colors of the drawing area by selecting Setup and then
Colors from the dropdown menu. For this tutorial we have chosen to use red as
our drawing color and white for the background.
108
Draw another vertical lines defined by start point and length
Click on in the zoom toolbar. This will make the drawing fill the whole drawing area on
the screen.
109
Offset an element
Offset Distance = 80
A
110
Draw a line defined by its endpoints.
First click on to activate the snap function Snap to Endpoints Labeled A on the drawing
below.
Select the top point of the two long lines indicated by B and C. Please notice that the cursor
changes when it snaps to the endpoint of the lines. After the line is drawn the drawing should
look like the one below.
111
B C
112
With the end point snap enabled. Select the end of the
short horizontal line. This is indicated on the picture
below.
113
First Length = 2
Chamfer Angle = 30
A
114
115
A
116
Fillet Radius = 2
B
117
Select the other two corners as A+B and A+C as shown at the picture below. Then select the
correct arcs to keep. At the end of the operation the drawing should look something like the
drawing below.
Now repeat the process for the fillet operations with radius 1 corners
Then you might want to zoom in on the area we will be working on as on the following
picture.
Then select the 3 corners as A+B, B+C and C+D as shown on the picture below. Then select
the correct arcs to keep. At the end of the operation the drawing should look something like
the drawing below.
118
B
C
Now the drawing is finished and it should look like the one below
Name the file and save it
Click on Files and then select Save as from the dropdown menu. Give the file a new name
and save it (the file extension is added automatically).
119
21. T
utorial 10
Machining the part
CNC-toolpaths
With CNC-Calc v2 it is possible to create toolpaths directly from the programs geometrical
drawings. Thereby calculations become more secure and programming becomes much
faster compared to doing it manually. At the same time you get a big advantage since it is
possible to move, copy, rotate, scale and mirror elements with the result of instant NC-code
generation.
In the following we assume that the stock used are 60, and that it projects sufficiently from
the Chuck Jaws.
In order to produce the final part we will used the following operations:
This tutorial demonstrates how the shown 2-dimensional part can form the basis of NC-codes
for various types of machining.
Note: This tutorial builds upon the result from the previous tutorial (Tutorial 9).
121
You should now see the part from CNC-Calc v2 Tutorial 9 displayed in front of you.
Note: If you hold the cursor over an icon, for a moment, a short description of its
functionality will appear.
122
Comment:
This comment will be shown in the final NC-
Program. It is always good to include a comment, in
order to distinguish the various operations in the final
program.
Click the parameters button in the dialog to define how the operation will be performed.
Enter the following values shown below into the parameter dialogs.
123
Click on Export to Editor in order to generate the actual program. Now a window like the
one shown below will appear. Notice that the comment from the dialog is inserted at the top
of the program as a comment.
In order to see how the program will run you can simulate this with the Backplot
functionality.
Click on icon in the toolbar or select Backplot Backplot Window from the menu.
The Backplot animation is controlled using the slider and command buttons bottom right.
127
Comment:
This comment will be shown in the final NC-
Program. It is always good to include a comment, in
order to distinguish the various operations in the final
program.
The roughing operation work on a contour, and in order to generate a toolpath we must select
that contour. This is done by selecting the contour as indicated by A on the picture below.
A
128
When the selection is made the contour is selected until the end. This is OK for this operation
but we really dont want any work done on the leftmost face so in order to exclude this press
the Back button once. This will deselect the leftmost face.
Now your drawing should look something like the one above.
Click on the Parameters button to open the parameters dialog. Enter the following values
shown below into the parameter dialogs.
Click on Show Toolpath, and the toolpath will be shown on the drawing.
Try to experiment with the various parameters, in order to see how they will change the
generated toolpath.
The program is now in the computers clipboard and is ready to be inserted into the CNC
program.
Change the window to the NC program, and move to the very end, by pressing Ctrl-End.
Insert the text from the clipboard, either by pressing Ctrl-v, or selecting Edit Paste from
the drop down menu.
131
In order to see how the program will run you can simulate this with the Backplot
functionality. Click on icon in the toolbar or select Backplot Backplot Window from
the menu. Now a window like the one below will appears.
132
Comment:
This comment will be shown in the final NC-
Program. It is always good to include a comment,
in order to distinguish the various operations in
the final program.
Now your drawing should look something like the one below.
Click on the Parameters button to open the parameters dialog. Enter the following values
shown below into the parameter dialogs.
Click on Show Toolpath, and the toolpath will be shown on the drawing.
Try to experiment with the various parameters, in order to see how they will change the
generated toolpath.
The program is now in the computers clipboard and is ready to be inserted into the CNC
program. Change the window to the NC program, and move to the very end, by pressing
Ctrl-End.
Insert the text from the clipboard, either by pressing Ctrl-v, or selecting Edit Paste from
the drop down menu.
136
In order to see how the program will run you can simulate this with the Backplot
functionality.
Click on icon in the toolbar or select Backplot Backplot Window from the menu.
137
Comment:
This comment will be shown in the final NC-
Program. It is always good to include a comment,
in order to distinguish the various operations in
the final program.
Now your drawing should look something like the one below.
138
Enter the following values shown below into the parameter dialogs.
Click on Show Toolpath, and the toolpath will be shown on the drawing.
Try to experiment with the various parameters, in order to see how they will change the
generated toolpath.
The program is now in the computers clipboard and is ready to be inserted into the CNC
program.
Change the window to the NC program, and move to the very end, by pressing Ctrl-End.
Insert the text from the clipboard, either by pressing Ctrl-v, or selecting Edit Paste from
the drop down menu.
140
In order to see how the program will run you can simulate this with the Backplot
functionality.
Click on icon in the toolbar or select Backplot Backplot Window from the menu.
141
Comment:
This comment will be shown in the final NC-
Program. It is always good to include a comment,
in order to distinguish the various operations in
the final program.
After the values have been entered in the dialog the screen will look something like the
picture below. Notice that the area of operation is shown with the blue rectangle.
142
Click on Show Toolpath, and the toolpath will be shown on the drawing.
Try to experiment with the various parameters, in order to see how they will change the
generated toolpath.
The program is now in the computers clipboard and is ready to be inserted into the CNC
program.
Change the window to the NC program, and move to the very end, by pressing Ctrl-End.
Insert the text from the clipboard, either by pressing Ctrl-v, or selecting Edit Paste from
the drop down menu.
147
In order to see how the program will run you can simulate this with the Backplot
functionality.
Click on icon in the toolbar or select Backplot Backplot Window from the menu.
148
Comment:
This comment will be shown in the final NC-
Program. It is always good to include a comment,
in order to distinguish the various operations in
the final program.
149
The Drilling operation is defined by the above parameters and after the parameters above is
entered the screen will look something like the one shown below.
The four entered distances are shown as the crosses on the drawing.
Click on the Parameters button to open the parameter dialog.
Enter the following values shown below into the parameter dialog.
150
Try to experiment with the various parameters, in order to see how they will change the
generated toolpath.
The program is now in the computers clipboard and is ready to be inserted into the CNC
program.
Change the window to the NC program, and move to the very end, by pressing Ctrl-End.
Insert the text from the clipboard, either by pressing Ctrl-v, or selecting Edit Paste from
the drop down menu.
152
In order to see how the program will run you can simulate this with the Backplot
functionality.
Click on icon in the toolbar or select Backplot Backplot Window from the menu.
153
Comment:
This comment will be shown in the final NC-
Program. It is always good to include a comment,
in order to distinguish the various operations in
the final program.
154
The Tapping operation is defined by the above parameters and after the parameters above is
entered the screen will look something like the one shown below. The four entered distances
are shown as the crosses on the drawing.
Click on the Parameters button to open the parameter dialog.
Enter the following values shown below into the parameter dialog. Notice that the dialog
is different from the one in the previous drilling operation. It is no longer possible to use
pecking because the Operation Type is selected as CW Tapping.
155
Try to experiment with the various parameters, in order to see how they will change the
generated toolpath.
The program is now in the computers clipboard and is ready to be inserted into the CNC
program.
Change the window to the NC program, and move to the very end, by pressing Ctrl-End.
Insert the text from the clipboard, either by pressing Ctrl-v, or selecting Edit Paste from
the drop down menu.
156
In order to see how the program will run you can simulate this with the Backplot
functionality.
Click on icon in the toolbar or select Backplot Backplot Window from the menu.