A welding system comprising: - a main module equipped with an external casing in which the following are identifiable: - an inlet port for the connection to an external electric power source; - an electric generator configured to adapt the electrical characteristics of said electric power received at the inlet to a first type of welding; - at least an outlet port for the connection by means of an electric conductor to a welding torch, said adapted electric power being supplied to said outlet port; - an electronic control unit configured to control the functionality of said electric generator; - a welding torch configured to be connected by means of said electric conductor to said outlet port, said welding torch comprising electronic means comprising a microprocessor capable of communicating and exchanging information with said electronic control unit when said welding torch is connected to said main module, and a data medium in which identification data of said welding torch are stored; wherein said electronic control unit of said main module being configured, when said welding torch is connected to said outlet port, to detect said identification data from said electronic means and to enable the use of said welding torch if said welding torch is compatible with said main module; characterized in that said welding torch comprises an NFC reader configured to detect the identification data of a joint stored in an RFID tag applied near said joint, said microprocessor being configured to send said identification data to said electronic control unit when said welding torch is connected to said main module, said electronic control unit being configured to set the operating parameters of said electric generator of said main module based on the type of joint to be welded. - a main module equipped with an external casing in which the following are identifiable: - an inlet port for the connection to an external electric power source; - an electric generator configured to adapt the electrical characteristics of said electric power received at the inlet to a first type of welding; - at least an outlet port for the connection by means of an electric conductor to a welding torch, said adapted electric power being supplied to said outlet port; - an electronic control unit configured to control the functionality of said electric generator; - a welding torch configured to be connected by means of said electric conductor to said outlet port, wherein said electronic control unit of said main module being configured, when said welding torch is connected to said outlet port, to detect said identification data from said electronic means and to enable the use of said welding torch if said welding torch is compatible with said main module; characterized in that said welding torch comprises an NFC reader configured to detect the identification data of a joint stored in an RFID tag applied near said joint, said microprocessor being configured to send said identification data to said electronic control unit when said welding torch is connected to said main module, said electronic control unit being configured to set the operating parameters of said electric generator of said main module based on the type of joint to be welded.