An image showing positions of a robot and peripheral devices in a work
cell and teaching points in a program is displayed on a display means. A
distance Jmm preceding to a teaching point for spot weld is set. A robot
program is run and robot operation is stopped at a point retreating by
Jmm from the teaching point for spot weld. If there is no risk of
interference, the operator allows the program to continue running. If
there is risk of interference, the operator moves the robot to a new
position by means of jog feeding and obtains a correction amount for
setting this new position as a new teaching point. With this correction
amount, teaching points in the program and arrangement of images are also
shifted.