Electric welder on automatic and semiautomatic machines