摘要 |
<p>A numerical control device for controlling a machine tool having an X shaft on which a turret to which a tool is attached is caused to move, an H shaft on which the turret is caused to rotate, and a C shaft on which a workpiece is caused to rotate, the Y shaft not intersecting with the X shaft; wherein the numerical control device is provided with: an analysis means for analyzing a hypothetical-Y-shaft rapid-traverse command in a hypothetical-Y-shaft interpolation mode in which an X-Y shaft movement command in a processing program is converted to a command in an X-H-C coordinate system, the results obtained by analyzing the converted command are interpolated, and the X shaft, H shaft, and C shaft are driven in an associated manner; a C-shaft interpolation processing means for interpolating the C-shaft angle according to the analyzed hypothetical-Y-shaft rapid-traverse command; and an X-shaft interpolation processing means for interpolating the X-shaft position on the basis of the interpolated C-shaft angle. The e numerical control device controls the position of the X shaft so that the C shaft is rotated while being kept at a constant speed and the hypothetical Y shaft moves in a substantially straight line.</p> |