Tool change time as function of tool switch time, to replace tool with another