摘要 |
According to the present invention, a plurality of actual spots (P1 to P5, Pn) where normal directions (N1, N2) of welding surfaces (S1, S2) are parallel to each other and arranged successively, are set as a spot group (G1, G2, Gm). Then, when the actual spots (P1 to P5, Pn) included in the spot group (G1, G2, Gm) are collectively moved in the same direction by the same distance (V10, V11, V20, V30, Vn), a search is conducted of candidates for the directions and the distances (V10, V11, V20, V30, Vn) that cause the actual spots (P1 to P5, Pn) having been moved to approach welding points (Q1 to Q3, Qn). Further, optimum direction and distance (V10, V11, V20, V30, Vn) are selected from among the candidates for the directions and distances (V10, V11, V20, V30, Vn), and a plurality of teaching points corresponding to the plurality of actual spots (P1 to P5, Pn) included in the spot group (G1, G2, Gm) are corrected by using the selected direction and distance (V10, V11, V20, V30, Vn). |