CNC Simulator Pro

user guide

11.12. Tool Length Compensation (milling)

The CNC Simulator Pro software automatically handles tool length compensation, so users typically don't need to worry about it. When calling in a tool with M06, for example, the program automatically fetches and applies the length compensation value from the milling tool registry.
However, some users may want to have more control over the tool length compensation value, either for the sake of realism or for educational purposes. In this case, they can manually add the G43 code to the program, followed by the H word which specifies the index of the value in the Tool Offset Registry.
It's important to note that the Tool Offset Registry must be enabled in the settings, and the index row must be checked in order for the value to be considered valid. If the registry is disabled and/or the index row is unchecked, the software will default to using the currently selected tool length for automatic tool length compensation.
It's also important to understand that the Geometry value specified in the program refers to the positive tool length sticking out from the holder, which is different from how it may be treated in real CNC machines where the gauge line is used. Users should always refer to their machine manual for specific details and comparisons.
The Wear value will be added to the tool length when the compensation is calculated.
The tool length compensation can also be directly programmed using the P word.
Example: G43 P55.7 Z2 (Setting 55.7 as the tool length compensation).
If the tool length compensation differs from the tool length set in the milling tool registry, the simulator will be “fooled” into milling deeper (tool compensation less than tool length) or shallower (tool compensation greater than tool length) than the programmed Z contour depth.
Note! It is important to keep in mind that enabling the Tool Offset Registry in the simulator adds an additional layer of complexity and a higher level of machine-like realism. This can be beneficial for users who want to have a more realistic simulation experience or those who want to gain a deeper understanding of how tool length compensation works. However, for beginners or those who do not need this level of realism, it is recommended to keep the Tool Offset Registry disabled. When disabled, the simulator will automatically fetch tool values from the normal tool registry without the need for manual input. This means that H-words can still be used in G43 blocks without having any effect on the tool length compensation.