CNC Simulator Pro

user guide
×
Menu
Index

11.13. Radius compensation

When using G41/G42 for tool radius compensation, there are two optional letters that can be used. The first letter is D, which is used to fetch a diameter value from either the in-program defined D-offset registry or the Tool Offset Registry in the Inventory Browser. The second letter is P, and it is used to directly program the compensation distance (radius). If these addresses are not included in the program, the radius of the currently selected tool will be used for the compensated tool path (default automatic tool radius compensation).
 
To program the local in-program D-offset registry, the simulator command $DefineDoffsetDiameter can be used.
 
If an in-program D-offset is not found, the simulator will look for the D-offset in the Tool Offsets Registry (Inventory Browser). It is important to note that the registry must be enabled in settings before it becomes visible in the Inventory browser.
 
In addition, please be aware that the D-offset values in the Tool Offsets table can be either diameter or radius values, depending on the option "Use diameters for tool offsets" under the Program page in settings.
 
By understanding these options and settings, users can take full advantage of the tool radius compensation feature in the simulator, and ensure accurate and efficient tool paths for their CNC programs.
 
 
It is important to note that if the D-offset index is not programmed or not found, the current tool radius will be used for the compensated tool path. Additionally, to ensure that the D-offset value is valid, the D-offset index row in the registry must be checked. Therefore, it is recommended that you verify the D-offset index values in the registry to avoid errors in the program.
 
 
The Wear value will be added to the tool radius/diameter when the compensation is calculated.
 

Example (using automatic and in-program defined offsets):

 
 
Tutorial:
 
Please note that enabling the Tool Offset Registry adds additional complexity to the simulator and increases the level of machine-like realism. As a result, we recommend that beginners keep the Tool Offset Registry disabled and allow the simulator to automatically fetch tool values from the standard tool registry. In this case, any D-words in the G41/42 blocks will not affect the tool radius compensation.
 
It is essential to keep in mind that enabling the Tool Offset Registry requires additional setup and configuration. Therefore, it is best to leave it disabled until you become more familiar with the simulator's advanced features.
 
However, suppose you are interested in learning about tool radius compensation or want to simulate a more realistic machining environment. In that case, you can enable the Tool Offset Registry to define custom D-offset values, which will be used for tool radius compensation. Please ensure that the D-offset index row is checked in the registry and that you have specified the appropriate diameter or radius values based on your requirements.