The Tool widget is available in CNCjs 1.11.0 or later versions
If the Tool widget is not visible in your workspace, you can enable it to access its functionality:

The Tool widget allows you to configure the tool change behavior for the M6 command. Below are the available options:
This will send the line exactly as it is to the controller.
This will completely skip the M6 command and prevent it from being sent to the controller.
Expands the M6 command into a manual tool change cycle. After the cycle, the Work Coordinate System (WCS) is updated to reflect the Z offset of the new tool.
It has the advantage that the offset persists even after resetting the controller. However, the WCS will represent the tool on the spindle rather than the workpiece.
Expands the M6 command into a manual tool change process. Instead of modifying the Work Coordinate System (WCS), it updates the Tool Length Offset (TLO). This approach is ideal for workflows where the WCS represents the workpiece rather than the tool. Note that the TLO will be lost if the controller is reset, so a probing tool (e.g., a touch plate) is necessary to maintain a consistent reference.
Expands the M6 command with built-in tool change commands, providing the flexibility to customize and implement your own tool change routine.
For manual tool changes, you must set the tool change position for clearance and the initial tool probe position in absolute machine coordinates.
- Move the machine to the desired position for the tool change or probe.
- Click the “Get Position” button to record the current machine position.
