摘要 |
PURPOSE:To make it possible to automatically compensate the length of the front end part of a cutting tool to aim at facilitating the preparation of instruction programs, by providing means for compensating the instruction value of tool-feed with the use of the length of the front end part of the tool which is stored in a memory in accordance with the tool number thereof. CONSTITUTION:A control circuit 30 receives tape instructions TP which is therefore decoded, and sets a moving instruction value in the drilling direction of a tool once onto a register 34, but if a tool number is instructed by the instructions TP, the control circuit devlivers the compensating data of tool length and the data of front end part length of the tool, which are stored in an address area in a memory 33 corresponding to the tool number to an adder 35. Therefore, the adder 35 addes both compensating data together to obtain the compensating data of position of the shear point of the tool. Further, a shear point compensating circuit 36 compesates an instruction value which is set in accordance with the compensating data, and sets the thus compensated value onto a register 34. In accordance with the content set on register, distributing pulses DP are fed to a Z-axis motor control circuit. Thus, even if tools having different front lengths of their front end parts are used, the instruction values by programs may be always made equal to the effective depths, thereby it is possible to facilitate the preparation of programs. |