摘要 |
PURPOSE:To shorten the working time and to improve the working efficiency, by prefetching a position command of the next block during a numerically controlled work and comparing an actual movement length of the movement based on this command with an allowable movement length to perform processings. CONSTITUTION:In a numerically controlled device which prefetches NC data of the next block during a numerically controlled work, an allowable movement length TD and an allowable length TW are set preliminarily. A length AD from a current position R0 of a cutting tool to a next point R1 based of data prefetch is operated, and the length TD and the length AD are compared with each other. In case of AD>=TD, the cutting tool is moved along a line R0R1, and the next block is prefetched during the movement of the cutting tool as R1 R0, R2 R1..., and this operation is repeated. In case of AD<TD, the movement control based on the position command of the current block is omitted, and a line S connecting points R0 and R1 is operated, and NC data at the point R2 is prefetched, and a length AW from the point R2 to the line S is obtained. The length AW and the length TW are compared with each other; and in case of AW<TW, the position command of the next block is read; and in case of AW>=TW, the cutting tool is moved to a position indicated by the just preceding block. |