摘要 |
An automatically generating program and device are provided which can easily and accurately create an operation program with no need of providing an image data input device, such as a camera, near a work head. A program for automatically generating an operation program, which causes a work head to move relative to a work object and to carry out desired work, comprises a first step of displaying a reference data input window which allows input of shape data of the work object or a work region (STEP 201), a second step of taking in image data of the work object or the work region (STEP 202), a third step of compensating for distortion in the taken-in image data (STEP 203), a fourth step of displaying a movement path input window which allows designation of a movement path with the compensated image data displayed as a background (STEP 204), and a fifth step of automatically generating the operation program based on the movement path that is designated on the movement path input window (STEP 205). |