CNC Simulator Pro

user guide

5.1. Program

Each virtual machine has a predefined background color. If you prefer to use your own color for the background, click the switch: "Use own color for background" and select your color using the color selector.
If you want to have a crash test during the simulation (a crash will occur when, for example, you use G00 rapids in the workpiece), you can set the Activate crash test option switch to on.
Please note that when the crash test is activated, the simulation will run slightly slower as the simulator gets more work to do during the simulation.
This option lets you change the default X-axis coordinate system for lathes from diameter programming mode to radius programming mode.
Normally, you leave this setting inactivated as the most common way to enter X values in a lathe is by giving diameter values.
Activates the custom macro interpreter, enabling the use of parameterized macro programming codes. See Custom Macros.
If you do not use custom macro, leave this option off as it slows down the simulation.
This option must be activated if you want the Tool Offset Registry to be visible in the Inventory Browser.
D-offset values in the Tool Offsets table can be either diameter or radius values depending on this setting.
When this setting is activated, there is no need to put M06 (execute tool change) in the block. The tool will be automatically changed on T#. Normally used with lathe machines.
On many Fanuc lathe controls, tool numbers are often written as a four-digit code consisting of two pairs of two digits. The first pair specifies the tool number, while the second pair refers to the offset number. No M06 code is needed as the T- address will execute the tool change (see the setting above). Example: If this option is disabled, T0601 would be interpreted as T601, while when this option is enabled, it will be interpreted as T6.
The Solid buffer resolution setting lets you specify the quality of the solid graphic workpiece in the 3D view. The higher setting, the smaller 3D pixels (voxels) will be used.
A higher setting will consume more memory and make the simulation slower. Normally, you leave this setting on Medium for a good tradeoff between speed and graphics quality.
If you select the last option in the list: Other, you can enter your own value for the buffer resolution. The value is always entered in the number of millimeters per step. For example, putting the value 5 in this box will give you 0,2 mm steps (or voxels) in the buffer. If you enter a higher value than 8, you will get a warning as higher values will slow down the simulation drastically. You can also run into "Out of memory" errors when setting this value too high.
The Mill Solid buffer type setting lets you select what type of solid buffer will be used for milling. There are two types: 2.5D and 3D. The difference between these two is that the 2.5D buffer does not render a correct result when cutting from the side of the workpiece, as it only allows one depth per position. This means that even if you cut from the side with a disk mill, you will not see a slot but rather the cut all the way up in the Z-axis.
We provide an example to show the effect of the 2.5D buffer compared to the 3D buffer. It is called Sample13_SideCuts_units.cnc, where “units” should be replaced with mm or inch depending on what type of units you are using.
Sample cut with the 2.5D buffer setting.
The same sample cut with the 3D buffer setting.
We recommend leaving this setting on 2.5D when not cutting from the side, as the 3D buffer will result in slower simulations.
The final setting on the Program page is the Units setting.
Set to millimeters if you use millimeters in your CNC programs and to Inches if you use inches.
Please note that if you have a demo sample loaded when changing this setting, you will have to reload it to get a sample with the correct units.