Professional Documents
Culture Documents
Tutorial 2
Getting Started ››
Tutorial 2 Turning
The purpose of this tutorial is to learn the basic concepts of how to use the CNCSimulator Pro turning from scratch.
We are going to make a very simple part, taking a few rough cuts, fine cuts and drill a hole.
This is the part we are going to make:
This tutorial is made in millimeters, so the first thing we have to do is to ensure we have millimeters set as units in
the program se ngs. Click Se ngs – Se ngs from the main menu.
http://cncsimulator.info/OnlineHelp/Tutorial2.html 1/10
27/11/2018 Tutorial 2
While we are at it, set all other se ngs like in the picture above. Click OK.
Now what we have to do is to load a machine for the project. Click on the Open Machine bu on to show the
Select Machine dialog. You can also click File – Load Machine from the main menu.
http://cncsimulator.info/OnlineHelp/Tutorial2.html 2/10
27/11/2018 Tutorial 2
Uncheck the Open demo checkbox and click on the Turning Center machine. Click the "Open" bu on.
This is how your CNCSimulator Pro window should look like now.
OK, now we need to create a workpiece for your project. Press F2 to open the Inventory Browser where we keep all
our tools, workpieces, materials and offsets.
Click the Lathe Workpieces tab.
If you have not previously created any workpieces, this is what you will see.
http://cncsimulator.info/OnlineHelp/Tutorial2.html 3/10
27/11/2018 Tutorial 2
As you can see on the blue bar below the workpiece picture, our index for this workpiece is one. Yours might be
another index if you already had workpieces stored.
OK great, now let's start wri ng the CNC program!
We start with a special CNCSimulator Pro command to put the workpiece we just created in the chuck. It is called
$AddRegPart. You can either type in the command by hand followed by the index number for the workpiece or take
a shortcut by clicking the Insert at cursor bu on. This bu on will automa cally put the command in the editor.
Put the cursor at the end of the first line and press enter. This is to ensure that the next command we insert will end
up on a new line.
http://cncsimulator.info/OnlineHelp/Tutorial2.html 4/10
27/11/2018 Tutorial 2
We are going to use one of the fixed embedded tools that come with the CNCSimulator Pro. Actually, we are going to
use the first one so you could just go ahead and click the Insert at cursor bu on again.
Normally, to select a tool you use only the code T but as this is an embedded tool, we use ET as in “Embedded Tool”.
If you create your own tools later, you will use only T for tool selec ons.
Besides selec ng the tool, we need to execute the actual tool change by pu ng the code M06 a er the tool
selec on. Note when you press M (or G or any other recognized code) a list of available codes will pop-up.
Either type 6 or select M06 from the list by using the mouse or the arrow keys on the keyboard.
OK, by now we are all set to start cu ng the workpiece.
Click the Reset View bu on to zoom in on the workpiece.
http://cncsimulator.info/OnlineHelp/Tutorial2.html 5/10
27/11/2018 Tutorial 2
Zoom in a bit further by clicking in the 3D view and rolling the mouse wheel away from you.
Click the Start Simula on bu on to execute the commands we have entered so far.
As you can see, the workpiece that we made and the tool we selected are in place.
Let's move the tool in posi on for the first rough cut by using the G00 code.
Important! The CNCSimulator Pro does automa cally put the zero point at the right plane of the jaws. The distance
from the plane to the spindle is 23 millimeter. That means that the right end of our 100 mm long workpiece is at
(100-23) 77 in the Z axis. This rule goes for all lathes in the CNCSimulator Pro. Always take the 23 millimeters into
account!
http://cncsimulator.info/OnlineHelp/Tutorial2.html 6/10
27/11/2018 Tutorial 2
We want to take away 10 millimeter from the diameter per cut (5 mm material) so we should put the tool on 40 as
our ini al diameter is 50. Let us also put the tool on Z 80 so we have some space (3 mm) between the tool and the
workpiece end plane.
Type G00 X40 Z80 and press Enter.
Fine, now let's take the first actual cut.
Type G01 Z50 F250 S1000 M04 M08 and press Enter.
If you move the mouse over the codes in the block above, you will see tool p windows explaining what they do.
OK, now we back out the tool a bit before going with fast traverse back to Z80.
Type X44 Z52 and press Enter.
Note that we did not have to write G01 again as it is already ac vated. The code is modal.
To help us see clearly the tool moves we do, we can turn on the toolpath display. Click on the glasses bu on and
check the Feeds and Fast Traverses checkboxes.
Now, if you simulate you will see feed movements (G01-G03) in green and fast traverses (G00) in red.
http://cncsimulator.info/OnlineHelp/Tutorial2.html 7/10
27/11/2018 Tutorial 2
Without pressing Enter, write M06 to execute the tool change, then press Enter.
A er a tool change, the tool is at the tool change posi on of the machine and we need to go back to the workpiece.
Type G00 X28 Z80 and press Enter.
Enter the following blocks to finish the fine cut:
G01 Z59
X38
Z49
X45
X50 Z45
This is how your program should look by now:
http://cncsimulator.info/OnlineHelp/Tutorial2.html 8/10
27/11/2018 Tutorial 2
http://cncsimulator.info/OnlineHelp/Tutorial2.html 9/10
27/11/2018 Tutorial 2
http://cncsimulator.info/OnlineHelp/Tutorial2.html 10/10