PURPOSE: To reduce the extent of labor for making a machining tape by outputting a travel command corresponding to that portion to a shaft long in a stroke when a command valve to a shaft short in a movable stroke exceeds an allowable stroke, in case of a machine tool.
CONSTITUTION: A travel command of each axis in a double housing type machine tool is read in a pulse distributor circuit 2 from an NC command tape 1, driving each of axis driving mechanism 51 and 52 via a selector circuit 3 and Z-axis and W-axis output circuits 41 and 42. Here, Z-axis and W-axis command position registers 71 and 72 have stored each existing value of Z-axis and W-axis driving mechanisms 51 and 52, and a difference between this existing value and Z-axis and W-axis stroke limit values 81 and 82 is detected by detectors 61 and 62, and when a command value to the Z-axis driving mechanism 51 short in the stroke from the pulse distributor circuit 2 exceeds the allowable stroke, tool travel for the exceeded portion is carried out by the W-axis driving mechanism 52. Thus, labor for making a machining tape is relievable.
FUJIBAYASHI KENTARO