Interchangeable head automatic numerical control