To detect the tool diameter and tool length by rotating spindle. The tool wear can also be monitored with this system. Tools which are broken during the working process can be detected.