Detection tool presence in tool holder, spindle before starting motor