Gantry-type electroslag welding machine is a device specially used for welding diaphragms of box girders, which can form an automated production line for box girders together with auxiliary equipment such as diaphragm assembling machines, U-shaped and box-shaped assembling machines, priming and capping machines, end milling machines, as well as drilling, conveying, flipping, shot blasting equipment, etc.