The invention relates to a five-axis linkage 
numerical control welding machine and the 
welding technique control method thereof. The 
welding technique control method comprises the following steps: adopting CAD / 
CAM to build a welding workpiece model; planning and outputting the specific welding spot sequence data; and then carrying out a coordinate conversion and generating a G-code 
numerical control program file by applying a specific 
machine tool kinematical formula. The 
mechanical transmission system ensures the five-axis linkage according to the converted specific welding-spot data, so as to optimize the position between the welding gun and the welding spot while welding, ensure that the welding product has the advantages of good quality uniformity, high 
repeatability precision, good movement and 
power performance, etc.; the 
mechanical transmission system includes three linear movement guide rails X, Y and Z which drive the welding guns to work, and two rotating shafts which drive the welding guns to rotate, wherein the linear movement guide rails can ensure that the rotating shafts can move transversely in any position in the 
working space, and the two rotating shafts which drive the welding guns to rotate can ensure that the welding guns can perform a 360-degree rotation round the welding spot, therefore, the welding 
machine and the control method thereof have the advantages of large 
machine tool stroke, no dead area, high generality, high suitability, etc.