摘要 |
<p>A method of preparing NC data, and particularly a method of preparing NC data wherein a predetermined region on a menu (17c) secured on a tablet surface (17a) of a tablet device (17) is indicated by using a coordinate indicator (17b) to determine which data should be prepared among quick feed data, line cut data and arc cut data, a coordinate value of a point on the drawing specified by the coordinate indicator (17b) is input by turning on switches (SW1, SW2), and predetermined NC data is prepared among the quick feed data, line cut data and arc cut data relying upon the thus input coordinate value. In this invention, a plurality of macros (MCR1, MCR2) are registered in a memory 11c in advance, a predetermined macro is called by turning on or off said predetermined switches, and NC data which includes the motion in the Z-axis direction is prepared using said macro, e.g., NC data for approach and NC data for escape are prepared. For instance, when the operation is being transferred from the positioning operation to the cutting operation, a macro is called to prepare NC data for approach by a switching operation. When the operation is being transferred from the cutting operation to the positioning operation, a macro is called to prepare NC data for escape by the switching operation, thereby to prepare NC data which includes the operation in the Z-axis direction.</p> |