CNCSimulator Pro

user guide
×
Menu
Index

7.13. Radius compensation

There are two optional letters used with G41/G42. The first one is the D word that 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 one is the P word and it used to directly program the compensation distance (radius). If these addresses are omitted, the radius of the currently selected tool will be used for the compensated tool path (default automatic tool radius compensation).
 
The local in-program D-offset registry can be programmed using the simulator command $DefineDoffsetDiameter.
 
If no in-program D-offset is found, the simulator will look for the D-offset in the Tool Offsets Registry (Inventory Browser). Please note that the registry has to be enabled in settings before it becomes visible in the Inventory browser.
 
Please also note that the D-offset values in the Tool Offsets table can be either diameter or radius values depending on the checkbox Use diameters for tool offsets under the Program page in settings.
 
If the D-offset index is not programmed or not found, the current tool radius will be used instead. Also, the D-offset index row has to be checked in the registry to be considered valid.
 
 
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 also note that the activation of the Tool Offset Registry adds complexity to the simulator as well as more machine-like realism. For beginners, we suggest keeping the Tool Offset Registry disabled letting the simulator fetch tool values automatically from the normal tool registry. When disabled, D-words can still be present in the G41/42 blocks without having any effect on the tool radius compensation.