A work model (or an image) is displayed on an image plane of a robot
simulator (201), and a measuring portion and a measuring method are
designated (202, 203) and a work shape and a work loading state are
designated (204), and then it is judged whether or not the measuring
portion and the measuring method are good (205). When the measuring
portion and the measuring method are good, a program is generated and the
processing is completed (207, 208). When the measuring portion and the
measuring method are not good, an alarm is given (206), and the
continuation (207) or the repetition (201) of the processing is directed.
At the time of analyzing the program, the loading (101), the analysis and
display of the measuring portion and the measuring method (102, 103) and
the work information (104) are designated, and then it is judged whether
or not the measuring portion and the measuring method, which have been
analyzed, are good (105). When the measuring portion and the measuring
method are good, the processing is finished (107). When the measuring
portion and the measuring method are not good, an alarm is given (106),
and either the completion of the processing (107) or the correction of
the program (201) is selected. Due to the foregoing, a burden imposed for
raising and maintaining the visual sensor robot system can be reduced.