摘要 |
The invention relates to a machine tool comprising a first and a second tool magazine, wherein a tool for machining a workpiece can be received from the first tool magazine and a tool from the second tool magazine can be transferred into the first tool magazine, and wherein one of the tools comprises a multiple tool that can be fitted with a plurality of tools prior to the machining. A method for controlling a machine tool comprises the steps of: detecting workpieces to be machined, determining the tools required for machining the detected workpieces and determining the tools, with which the multiple tool is to be fitted. In this case, the tools are determined in such a manner that the weighted sum 1 * LC + w * TP is minimized over all the workpieces to be machined, LC being the number of the tools which were transferred from the second tool magazine into the first tool magazine for machining the workpiece, TP being the number of the tools which are to be fitted for the machining of the workpiece in one of the tool magazines, l and w representing predetermined weighting factors. |