CNC operation and programming