Patent ID: 7430457

Claim:
A program editing apparatus that arranges and displays three-dimensional models of at least one robot and at least one peripheral object on a screen, and edits a teaching program for the robot, the program editing apparatus comprising: voice input means; means for storing a plurality of models each of which allows one or more character strings to be assigned in certain places therein to complete a statement; candidate character string storing means for storing a plurality of candidate character strings to be assigned to each of the plurality of models; correspondence storing means for storing correspondence between a statement completed by assigning the candidate character strings to the model and a command to be used in instruction of the robot; search means for finding a statement, if any, that matches a statement input from the voice input means, in the statements completed by assigning any of the candidate character strings to any of the stored models; and means for converting the matching statement found by the search means to a robot command according to the correspondence stored in the correspondence storing means and for inserting the robot command into the teaching program.