Control of feed and spindle, cutting speed