# Saving and deleting of tool data (P-CHAN-00103)

P-CHAN-00103 | Save and delete tool data in an external tool management
Description | Tool data of the current tool (e.g. wear parameters) can be modified via variable access (V.G.WZ_AKT...) in the NC program. For saving, this data is written back to external tool management each time a new tool is selected. If a tool was programmed in the previous NC program, D0 (tool deselection) is implicitly requested at Program restart. With this request the data of the tool last used is transmitted back at the same time to external tool management. This ensures that no modified tool data is lost.

This saving by implicitly initiating a D0 at program start can be achieved by setting the parameter to 1. The assignment only makes sense if an external tool management function is used (P-CHAN-00016).

Parameter | d_clear_to_wzv
Data type | BOOLEAN
Data range | 0/1
Dimension | ----
Default value | 0
Remarks | On reset, no implicit D0 is initiated. This means that the data of the tool last used is only saved on the next program start.