

 						CNC Milling Simulation Software
                                                _______________________________

Special Features of the Project:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1.The Simulator supports both Incremental Coordinate System as well as Absolute coordinate system. In Incremental System, the next value of the coordinate will get added to the previous value of the coordinate.

2.The Simulator also supports Modal feature, in which G codes , Feed, X Y Z coordinates etc need not be specified again in the next line if they have the same value as that of the previous line.
NOTE: If we specify G91 in a single line, and in the previous line we have specified  a G code such as G00 or G01, we would have to mention the same G code in the line following G91, if we want that G code.
Eg:
N001 G00 x200000 y200000 z1000 
N002 G91
N003 G00 x5000 y5000 (here the G code has to be specified despite the fact that it is modal)

3.If a Through cut is made in the Top view using G01, either in a single pass or in multiple passes, a slot of depth z is formed on the front view.

4.The simulator provides simultaneous viewing of FRONT VIEW and TOP VIEW of the work piece so that the user can visualize the cutting more clearly.


5.The simulator also supports both the methods of G02 and G03. Which are
a)Radius Method
b)Center Method

6.If the coordinates of the circle are not given properly, an appropriate error message will be displayed. Besides this there are several messages which will be displayed if the values are not entered as per the ISO system.

7.This software also supports the feature of user changing the datum of the work piece. By specifying datum x0 y0 the lower left corner of the top view of the work piece is assumed to be the datum and a red circle appears on that corner. The user also has the liberty of specifying the size of the work piece. The user can enter sizes up to x300 y300 z50 for good display.

8.Tool change is possible during the program between tool diameters 1-6 mm. This can be done by calling M06 code. Initially the tool number along with its diameter should be provided. When the tool is changed the tool goes to the home position. And then the tool with the new diameter reaches the desired position specified in the line.

9.The user can also give comments to the line which he/she does not want to execute. The comments are in given between [and] brackets.
E.g. the line [n001 g00 x12000 y12000 z1000] will not be executed.
 
10.Sample programs are provided with the software so that an idea about the software can be achieved.


Sample Programs:
~~~~~~~~~~~~~~~
Following are the sample programs provided along with the software.

OHM.CNC
HELLO.CNC
DRILL.CNC
SLOT.CNC
FLOWER.CNC

How to use the software:
~~~~~~~~~~~~~~~~~~~~~~~~
There are three files Editor.EXE, Edito2.EXE and Simulato.EXE in the project folder. Along with these files NONAME.cnc (which is used to load the default page when the user first opens EDITOR.EXE), Temp2.fil (which saves the name of the file which was being worked upon before simulate was pressed.) and temp.cnc (which stores the data of the file currently worked upon before simulate was being pressed) need to be present in the same folder. 
One can start the software be double clicking on EDITOR.EXE and pressing alt-Enter for full screen. Then he/she can write the program CNC program (Examples: Hello.cnc, slot.cnc, Slot1.cnc, Drill.cnc and Flower.cnc ).In order to view the simulation press F4 or click on simulate to view the simulation. 

NOTE: All the above mentioned files should be in the same folder. 


Hardware & Software Requirements:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The software is made is Borland Turbo C 3.0. So the first requirement is a PC with DOS support. The PC should also support USB devices, as PEN DRIVE would be required to load the software on to the PC.
The CNC program would be fed in the editor through the keyboard, and the simulation would be viewed on Monitor.
The operating system should preferably be Windows XP.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you have any queries please contact the following:

Saraj Gupta
saraj_nsit@yahoo.co.in

Sameer Kackar
sameer.kackar@gmail.com