Machining routines such as longitudinal turning, facing and freehand turning are supplemented by machine cycle output for roughing, drilling, thread turning and drilling, recessing and tapping, which considerably shortens NC programs and simplifies subsequent optimisation.