Abstract: A device for training a robot adapted to carry out automated tasks in order to accomplish various functions, in particular at least one of processing, mounting, packaging or maintaining tasks, using a specific tool on a part. The device includes a way for displaying the part as a 3D virtual model and for controlled movement of the specific tool of the robot. At least one virtual guide is associated with the 3D model of the part, defining a space arranged for delimiting an approach path of the tool to a predetermined operation area of the 3D model of the part. The predetermined operation area is associated with the virtual guide. The device stores, in a computer, spacial coordinates of the tool with respect to a given coordinate system in which the 3D model of the part is positioned when the tool is effectively located in the predetermined operation area.