摘要 |
An operator inputs a sensing instruction at a sensing point, which is a rough taught point, in a teaching mode (S22). The instruction and sensing point are stored in a second storage region 23b (S23). Further, a target angle and an advance/retraction angle are both input in the second storage region 23b (S24). A CPU 20 moves a robot to the sensing point (S33) in a sensing mode, to perform detection tasks by a laser sensor, thereby acquiring the shape of a workpiece (S33). The CPU 20 calculates a position and a posture of a welding torch to create a task program (S35). In such a manner, it is possible to greatly simplify teaching tasks in an environment free of workpiece displacements. |