Teaching Device
The teaching device simplifies programming by displaying related information in pop-up windows during icon selection and execution, addressing inefficiencies in conventional systems by making programming more intuitive and efficient.
Patent Information
- Application Number
- JP2022578374
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-01-28
- Filing Date
- 2022-01-24
- Publication Date
- 2024-09-18
- Estimated Expiration
- 2042-01-24
Smart Images

Figure 0007553612000019 
Figure 0007553612000020 
Figure 0007553612000014
Abstract
Description
[Technical field]
[0001] The present invention relates to a teaching device. [Background technology]
[0002] A teaching device that enables programming using icons representing each command for controlling a robot has been proposed (for example, Patent Document 1).Related to this, Patent Document 2 describes a configuration (abstract) in which a teaching device for inputting (setting) various teaching data such as selecting the operation method of the robot body and teaching movement points displays an item selection screen in which multiple teaching items are represented by icons when a setting menu on a touch panel is selected, and displays a video that expresses the content of the teaching item on each icon. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6498366 [Patent Document 2] JP 2001-88068 A Summary of the Invention [Problem to be solved by the invention]
[0004] Generally, in teaching (programming) using an icon in a conventional teaching device, the setting information of the icon cannot be confirmed unless the icon is selected on the program creation screen and a parameter setting screen for setting the parameters of the icon is opened. In addition, in teaching (programming) using an icon, there are many cases where the user wants to check not only the setting information displayed on the parameter setting screen, but also information on a sensor related to the icon and the results of executing the icon. [Means for solving the problem]
[0005] One aspect of the present disclosure is a teaching device for creating a control program for a robot, the teaching device including: a screen generation unit that generates a program creation screen for creating a program using instructions that represent functions that constitute the control program for the robot; and a related information display control unit that displays, in response to a selection or execution instruction for an instruction placed on the program creation screen, information related to the instruction that is the subject of the selection or execution instruction. Effect of the Invention
[0006] According to the above-mentioned configuration, various pieces of information for assisting programming in programming a robot control program can be provided with extremely simple operations, enabling more intuitive and efficient programming.
[0007] These and other objects, features and advantages of the present invention will become more apparent from the detailed description of exemplary embodiments of the invention that are illustrated in the accompanying drawings. [Brief description of the drawings]
[0008] [Figure 1] 1 is an overall configuration diagram of a robot system including a teaching device according to a first embodiment. [Diagram 2] FIG. 13 is a diagram showing a state in which a force sensor is disposed between a wrist flange and a hand of a robot. [Diagram 3] FIG. 2 is a diagram illustrating an example of a hardware configuration of a visual sensor control device and a robot control device. [Figure 4] FIG. 2 is a functional block diagram of a visual sensor control device and a robot control device. [Diagram 5] FIG. 2 is a diagram illustrating an example of a hardware configuration of a teaching device. [Figure 6] FIG. 2 is a functional block diagram of a teaching device. [Figure 7] FIG. 11 is a diagram showing an example of operation of the first embodiment, illustrating a state in which a live image of a visual sensor is displayed by selecting a view icon arranged in an icon display area. [Figure 8]FIG. 11 is a diagram showing an example of operation of the first embodiment, illustrating a state in which a live image of a visual sensor is displayed by selecting a view icon arranged in a program creation area. [Figure 9] FIG. 11 is a diagram illustrating an example of operation of the second embodiment, showing a state in which detection result information is displayed as a result of executing a view icon arranged in a program creation area. [Figure 10] FIG. 13 is a diagram illustrating an example of operation of the third embodiment, showing a state in which information about the force sensor is displayed in response to an icon related to the function of the force sensor being selected in the icon display area. [Figure 11] FIG. 13 is a diagram illustrating an operation example of the fourth embodiment, showing an example of displaying information about a device connected to the robot in response to an execution instruction for an icon related to the device. [Figure 12] FIG. 13 is a diagram illustrating an operation example of the fifth embodiment, showing an example of displaying setting information of a standby setting icon arranged in an icon display area in response to selection of the icon. [Figure 13] FIG. 13 is a diagram illustrating an operation example of the fifth embodiment, showing an example of displaying setting information of a standby setting icon arranged in a program creation area in response to an execution instruction of the icon. [Figure 14] FIG. 13 is a diagram illustrating an operation example of the fifth embodiment, showing an example of displaying setting information of a linear movement icon arranged in an icon display area in response to selection of the icon. [Figure 15] FIG. 23 is a diagram illustrating an example of the operation of the sixth embodiment, showing an example of displaying an internal variable related to a register icon arranged in an icon display area in response to the selection of the icon. [Figure 16] 13 is a diagram illustrating an example of the operation of the sixth embodiment, showing a display example when an error occurs in the setting of the register icon. [Figure 17] FIG. 13 is a diagram illustrating an operation example of the seventh embodiment, which shows an example of displaying information related to an icon before the icon is executed in response to an instruction to execute a program of the icon placed in the program creation area. [Figure 18] FIG. 11 is a functional block diagram of a teaching device according to a second embodiment. [Figure 19]11 is a diagram for explaining switching of display contents based on display attribute information. FIG. [Figure 20] FIG. 13 is a diagram for explaining switching of display contents according to execution state attributes. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Next, an embodiment of the present disclosure will be described with reference to the drawings. In the drawings, similar components or functional parts are given similar reference symbols. To facilitate understanding, the scale of these drawings is appropriately changed. In addition, the form shown in the drawings is one example for implementing the present invention, and the present invention is not limited to the illustrated form.
[0010] First embodiment FIG. 1 is a diagram showing the overall configuration of a robot system 100 including a teaching device 10 according to an embodiment. The teaching device 10 is a teaching device for programming by commands representing functions constituting a control program of a robot, as described later. In the following, as an example, the teaching device 10 is a teaching device that enables programming using icons representing functions constituting a control program of a robot (i.e., representing commands for controlling the robot). Although there are various possible configurations for a robot system including the teaching device 10, in this embodiment, as an example, the robot system 100 shown in FIG. 1 will be described. The robot system 100 includes a robot 30 having a hand 33 mounted on the arm tip, a robot control device 50 that controls the robot 30, a teaching device 10 connected to the robot control device 50, a visual sensor 70 attached to the arm tip of the robot 30, and a visual sensor control device 40 that controls the visual sensor 70. The robot system 100 is configured to detect an object 1 on a workbench 2 by the visual sensor 70 and handle the object 1 by the hand 33 mounted on the robot 30.
[0011] The visual sensor control device 40 has a function of controlling the visual sensor 70 and a function of performing image processing on the image captured by the visual sensor 70. The visual sensor control device 40 detects the position of the object 1 from the image captured by the visual sensor 70, and provides the detected position of the object 1 to the robot control device 50. This enables the robot control device 50 to correct the taught position and perform operations such as picking up the object 1.
[0012] 1 shows a configuration example in which the robot system 100 is equipped with a visual sensor 70 as a sensor related to the function of the robot system, but there are various examples of sensors related to the function of the robot system. For example, when a force sensor is mounted on the robot system, the force sensor 71 may be disposed between the wrist flange 31 and the hand 33A of the robot 30 as shown in FIG. 2. For convenience of explanation, FIG. 2 shows only the vicinity of the arm tip of the robot 30. By using the force sensor 71, the robot 30 can be caused to perform a task of pressing a workpiece W1 against another workpiece with a certain force (for example, a precision fitting task).
[0013] Fig. 3 is a diagram showing an example of the hardware configuration of the visual sensor control device 40 and the robot control device 50. As shown in Fig. 3, the visual sensor control device 40 may have a configuration as a general computer in which a memory 42 (ROM, RAM, non-volatile memory, etc.), an input / output interface 43, etc. are connected to a processor 41 via a bus. The robot control device 50 may have a configuration as a general computer in which a memory 52 (ROM, RAM, non-volatile memory, etc.), an input / output interface 53, an operation unit 54 including various operation switches, etc. are connected to a processor 51 via a bus.
[0014] The visual sensor 70 may be a camera that captures grayscale images or color images, or a stereo camera or a three-dimensional sensor that can obtain distance images or a three-dimensional point cloud. A plurality of visual sensors may be arranged in the robot system 100. The visual sensor control device 40 holds a model pattern of the object, and executes image processing to detect the object by pattern matching between an image of the object in the captured image and the model pattern. Although FIG. 1 shows an example in which the visual sensor 70 is attached to the tip of the arm of the robot 30, the visual sensor 70 may be fixed to a known position in the working space where the object 1 on the work table 2 can be photographed. Alternatively, there may be a configuration example in which the robot 30 grasps the object 1 and performs an operation of showing the object to a visual sensor fixedly installed in the working space, thereby detecting, inspecting, etc. the object 1.
[0015] Fig. 4 is a functional block diagram showing main functional blocks of the visual sensor control device 40 and the robot control device 50. As shown in Fig. 4, the visual sensor control device 40 includes an image processing unit 402 that executes image processing on an input image 401 captured by the visual sensor 70, and a calibration data storage unit 403 that stores calibration data that determines the relative position of the visual sensor 70 with respect to a reference coordinate system set in the robot 30. As an example, the image processing unit 402 executes image processing to detect an object 1 from the input image by pattern matching using a model pattern.
[0016] The robot control device 50 includes an operation control unit 501 that controls the operation of the robot 30 according to an operation command input from the teaching device 10 or a control program stored in an internal memory. As an example, the image processing unit 402 provides the detected position of the object 1 to the operation control unit 501, and the operation control unit 501 handles the object 1 using the detected position provided from the image processing unit 402.
[0017] The teaching device 10 is used to teach the robot 30 (i.e., to create a control program). As the teaching device 10, various information processing devices such as a teaching operation panel, a tablet terminal, a smartphone, a personal computer, etc. can be used. FIG. 5 is a diagram showing an example of a hardware configuration of the teaching device 10. As shown in FIG. 5, the teaching device 10 may have a configuration as a general computer in which a processor 11 is connected to a memory 12 (ROM, RAM, non-volatile memory, etc.), a display unit 13, an operation unit 14 consisting of input devices such as a keyboard (or software keys), an input / output interface 15, etc. via a bus.
[0018] As described in detail below, the teaching device 10 is configured to enable programming using icons representing functions constituting a control program for the robot 30. FIG. 6 is a functional block diagram of the teaching device 10. As shown in FIG. 6, the teaching device 10 includes a program creation unit 110 for creating and editing a control program using icons. The program creation unit 110 includes an icon data storage unit 111 for storing icon data, a screen generation unit 112 for generating various screens for creating a control program, an operation input acceptance unit 113 for accepting various user operations for creating and editing a control program, a program generation unit 114, an execution unit 115, a parameter setting unit 116, and a related information display control unit 117.
[0019] The icon data storage unit 111 is configured, for example, by a non-volatile memory, and stores various information related to icons. The information related to icons includes information related to the design of the icon, parameters (setting information) set for the function of the icon, character strings briefly expressing the function of the icon, etc. Note that default values may be set in the icon data storage unit 111 as parameter settings for each icon.
[0020] The screen generating unit 112 generates a program creation screen 500 for creating a control program using icons. As shown in FIG. 7 as an example, the program creation screen 500 includes a first area (icon display area 200) for displaying a list of one or more icons representing functions constituting the control program of the robot 30, and a second area (program creation area 300) for creating a control program by arranging the icons selected from the first area. In the program creation screen 500 as shown in FIG. 7 as an example, the user selects desired icons from the icon display area 200 and arranges them in the program creation area 300. Then, the user sets parameters related to the functions of each icon arranged in the program creation area 300 as necessary. This allows the user to create a control program without needing knowledge of the grammar of the programming language.
[0021] The operation input receiving unit 113 receives various operation inputs to the program creation screen 500. For example, the operation input receiving unit 113 supports an operation input for selecting an icon in response to an operation of aligning a cursor of an input device with one of the icons arranged in the icon display area 200 or the program creation area 300, or for dragging and dropping an icon arranged in the icon display area 200 and arranging it in the program creation area 300.
[0022] The program generation unit 114 generates a control program in a programming language from one or more icons arranged in the program creation area 300 in the order of operation.
[0023] The execution unit 115 executes an icon in response to a user operation that instructs execution of the icon arranged in the program creation area 300. The execution unit 115 can execute all the icons arranged in the program creation area 300 at once, or execute one or more icons in the program creation area 300. For example, when an execution tab 651 (see FIG. 7) is operated with icons arranged in the program creation area 300, the execution unit 115 may be configured to execute the icons arranged in the program creation area 300 in order, and to execute the icon in response to an operation of selecting an icon in the program creation area 300 and instructing execution (a click operation (or a tap operation) by placing a cursor on the icon). Note that the execution instruction for the icon (program) is not limited to a user operation. For example, the icon (program) may be executed by an external signal input to the teaching device (for example, a signal input from various devices to the robot 30 or the robot control device 50).
[0024] The parameter setting unit 116 provides a function for setting parameters for an icon selected in the program creation area 300 or the icon display area 200. For example, when a detail tab 652 (see FIG. 7) is selected with an icon selected, the parameter setting unit 116 generates a screen for parameter input and accepts parameter setting input. Here, the parameter setting is, for example, the following: "Seeing Icon" for detection functions using visual sensors: Camera initial settings -Teaching settings for objects -Shooting position setting "Linear movement icon" for linear movement functions: ·Operating speed Positioning settings -Specify the location register As described above, default values may be set in advance for these parameters.
[0025] In response to at least one of a selection operation on an icon in the icon display area 200 or the program creation area 300, or an operation to instruct execution of an icon placed in the program creation area 300, the related information display control unit 117 displays information related to an icon that is the target of the selection operation or the operation to instruct execution on the display screen of the display unit 13. The information related to an icon includes any of parameter setting information of the icon, information on a sensor or device associated with the icon, the execution result or the status during execution of the icon, internal variables of a program related to the icon, etc.
[0026] In the following, an embodiment of the display of various information by the teaching device 10 in response to an operation of selecting an icon or an operation of issuing an instruction for execution via the program creation screen 500 will be described.
[0027] Example 1 A first embodiment will be described with reference to Fig. 7. The first embodiment is an example in which, in response to an icon being selected in the icon display area 200 or the program creation area 300, information on a sensor related to the icon is displayed. Here, as an example, it is assumed that a "viewing icon 601" is selected. The viewing icon 601 provides a function of detecting an object using the visual sensor 70 and acquiring position information of the object.
[0028] Here, a basic configuration of the program creation screen 500 generated by the screen generation unit 112 will be described. As shown in FIG. 7, the program creation screen 500 includes an icon display area 200 that displays a list of various icons that can be used for program creation, and a program creation area 300 for creating a control program by arranging the icons in the order of operation. A pop-up screen 700 that displays information related to the icon is displayed in response to an operation of selecting the icon or an operation of instructing the execution of the icon. The pop-up screen 700 is preferably displayed as a screen (window) separate from the icon display area 200 and the program creation area 300 (so as not to overlap with these areas). Note that the form in which the information related to the icon is displayed is not limited to a pop-up screen, and various display forms can be adopted.
[0029] The program creation screen 500 may further include a status display area 450. In Examples 1-7, an example is shown in which a robot model 30M representing the current position and posture of the robot 30 is displayed in the status display area 450. Note that an image of such a robot model 30M can be realized by the teaching device 10 acquiring current position and posture information of the robot 30 from the robot control device 50 and operating the 3D model data of the robot 30 in a virtual working space according to the position and posture information.
[0030] 7, the icon 601 to be viewed is selected by placing the cursor 671 on the icon 601 to be viewed in the icon display area 200. Note that the icon may remain selected during the operation of selecting a target icon in the icon display area 200 and arranging it in the program creation area 300 by dragging and dropping the icon.
[0031] In response to the selection of the viewing icon 601 in the icon display area 200, the related information display control unit 117 displays a live image M1 of the shooting area of the visual sensor 70 on the pop-up screen 700 as information of the visual sensor 70 associated with the viewing icon 601. By checking such live image M1, the user can instantly check what is visible in the field of view of the visual sensor 70 associated with the viewing icon 601, whether an object is correctly positioned in the field of view of the visual sensor, and the like. Since the live image M1 is instantly displayed when the user simply selects the viewing icon 601 for program creation, the user does not need to perform complicated operations to check the image in the field of view of the visual sensor 70.
[0032] Also, as shown in FIG. 8, the related information display control unit 117 may display a pop-up screen 700 showing a live image M1 of the visual sensor 70 in response to the selection of a view icon 601 placed in the program creation area 300.
[0033] 7 and 8, while a target icon (the view icon 601 in this example) is selected, the icon is highlighted. The related information display control unit 117 may display information related to the icon (the live image M1 in this example) on a pop-up screen 700 while the target icon is selected.
[0034] According to this embodiment, the information related to the icons is displayed in a pop-up display separately from the program creation screen and the parameter setting screen, so that the user can create a program while grasping the entire program creation area 300 and checking the information related to the icons. In programming using icons, various information supporting programming is provided by a very simple operation, enabling more intuitive and efficient programming. Such an effect of the first embodiment is common to each of the following embodiments.
[0035] Example 2 A second embodiment will be described with reference to FIG. 9. The second embodiment is an example in which, when an operation is performed on an icon arranged in the program creation area 300 to instruct execution, information on the execution result of the icon is displayed. In the program creation screen 500 shown in FIG. 9, a view icon 601, an action (vision) icon 602, and a linear movement icon 603 are arranged in the program creation area 300 by a user operation. The action (vision) icon 602 provides a function of moving the robot 30 (control part) to a position detected by the view icon 601 and taking out an object. The linear movement icon 603 provides a function of moving the robot 30 (control part) in a straight line. Here, it is assumed that the user performs an operation of selecting the view icon 601 in the program creation area 300 and executing it (for example, an operation of placing a cursor on the view icon 601 and clicking (or tapping)).
[0036] In response to the completion of execution of the view icon 601, the related information display control unit 117 displays an image of the detection result by the visual sensor 70 (visual sensor control device 40) on a pop-up screen 700. As shown in Fig. 9, an image 710 of the detected object 1 and text information 711 indicating the number of detected objects ("detection number = 1") are displayed in the pop-up screen 700.
[0037] Note that, here, an example of operation has been described in which the execution result of the view icon 601 is displayed in response to an operation of selecting and executing the view icon 601. However, when an instruction to execute all of the icons arranged in the program creation area 300 of FIG. 9 is given by selecting the execution tab 651, the execution result may be displayed in response to completion of the execution of the view icon 601.
[0038] Thus, according to this embodiment, the user can quickly check the execution results of an icon related to a visual sensor or a program including an icon related to a visual sensor on the program creation screen 500 (i.e., the detection results indicating the presence or absence of the instructed object) by simply performing an operation to instruct the execution of the icon.
[0039] Example 3 Example 3 will be described with reference to Fig. 10. Example 3 is an example in which, in response to an icon relating to a function using a force sensor being selected or instructed to execute in the icon display area 200, information on the force sensor related to the icon is displayed. Note that in this example, it is assumed that the force sensor 71 is arranged in the robot system 100 as shown in Fig. 2. As shown in Fig. 10, it is assumed that a "pressing operation icon 604" related to force control using the force sensor 71 is selected in the icon display area 200. It is assumed that the force sensor 71 is a 6-axis force sensor.
[0040] In this case, in response to selection of the pressing operation icon 604, the related information display control unit 117 displays a graph 721 representing the detection values of the force sensor 71 on the pop-up screen 700. The graph 721 indicates the time transition of the magnitude of the load in the XYZ axis directions (X, Y, Z) and the moment (W, P, R) about the XYZ axes in the coordinate system set for the force sensor 71 as output values of the force sensor 71. In the graph 721, the vertical axis represents the magnitude of the load or moment, and the horizontal axis represents time.
[0041] In this way, according to this embodiment, the user can instantly check the current detection value of the force sensor simply by selecting an icon related to the force sensor on the program creation screen 500.
[0042] In the above, an example of an operation has been described in which the graph 721 of the detection values of the force sensor 71 is displayed in response to the selection of the pressing operation icon 604 displayed in the icon display area 200. However, in response to a selection / execution instruction operation for the pressing operation icon 604 arranged in the program creation area 300, the graph 721 of the detection values of the force sensor 71 may be displayed on the pop-up screen 700 as information regarding the status during execution of the pressing operation icon 604, or as information regarding the execution result after execution.
[0043] According to this embodiment, it becomes possible to create a control program relating to force control more intuitively and efficiently.
[0044] Example 4 A fourth embodiment will be described with reference to Fig. 11. The fourth embodiment is an example in which information about a device (IO device) connected to the robot 30 (robot control device 50) is displayed in response to a selection or execution instruction for an icon related to the device. In the program creation screen 500 of Fig. 11, it is assumed that, among the icons arranged in the program creation area 300, the "talk icon 605" has been selected and an execution instruction has been given. The talk icon 605 corresponds to a command to open the hand 33.
[0045] In this case, the related information display control unit 117 displays IO information 731 indicating the state of IO control of the hand 33 and a hand image 732 graphically indicating the current open / closed state of the hand 33 on the pop-up screen 700 in response to the operation of selecting and instructing to execute the talk icon 605. For example, the IO information 731 indicating the state of IO control and the hand image 732 may be displayed in real time during the execution of the talk icon 605, or may be displayed as information indicating the execution result after the execution of the talk icon 605. Note that, as an example, FIG. 11 shows a display example in which the IO information 731 regarding the hand 33 is "IO1=ON" and the hand image 732 is in a hand open state. The related information display control unit 117 can obtain IO control information from the robot control device 50. Alternatively, the teaching device 10 and the hand 33 may be directly connected, and the teaching device 10 may obtain the control state of the hand 33 directly from the hand 33 (the control unit of the hand 33).
[0046] Example 5 A fifth embodiment will be described with reference to Figs. 12-14. The fifth embodiment is an example of a case where the parameters (setting information) of an icon are displayed in response to the selection of the icon or an instruction to execute the icon. Figs. 12-13 show an example of an operation where information about the standby setting icon 606 is displayed in response to the selection of an icon (standby setting icon 606) of an instruction to put a program on standby for a specified time or an instruction to execute the icon.
[0047] In the program creation screen 500 shown in FIG. 12, the standby setting icon 606 is selected in the icon display area 200. In response to the selection of the standby setting icon 606, the related information display control unit 117 displays the setting time information 741 of the standby setting icon 606 ("standby setting time 6 sec") in the pop-up screen 700. This allows the user to check the setting information of the target icon simply by selecting the target icon. It is assumed that the "standby setting time 6 sec" displayed in the pop-up screen 700 in FIG. 12 is a value previously set by the user via the parameter setting screen. If the standby setting icon 606 is selected in a state where the user has not yet set the standby time, the related information display control unit 117 may display a default value of the standby setting time (for example, 5 sec) as the setting time information 741. It is to be noted that in the pop-up screen 700 in FIG. 12, since the standby setting icon 606 is not in operation, the elapsed time information 742 indicating the actual elapsed time of the standby time is displayed as 0.0 sec.
[0048] In the program creation screen 500 shown in FIG. 13, a user operation is performed to instruct execution of four icons arranged in the program creation area 300, and the standby setting icon 606 is currently being executed. In this case, the related information display control unit 117 displays information on the setting of the standby setting icon 606 and information on the status of the icon during execution on the pop-up screen 700 in response to the start of execution of the standby setting icon 606. Here, the related information display control unit 117 displays real-time elapsed time information 742 ("3.3 sec") regarding the standby time together with information 741 ("standby setting time 6 sec") of the standby setting icon 606. This allows the user to check at a glance how long the robot 30 has been stopped.
[0049] FIG. 14 shows an example of a case where a linear movement icon 603 corresponding to a linear movement command is selected in the icon display area 200, and setting information related to the linear movement icon 603 is displayed.
[0050] 14, it is assumed that the linear movement icon 603 in the icon display area 200 is designated and selected by the cursor 671. In response to the selection of the linear movement icon 603, the related information display control unit 117 displays information 751 of the settings of the linear movement icon 603 in the pop-up screen 700. The information 751 of the linear movement icon 603 includes the linear movement speed (1000 mm / sec), a designation that this is a "positioning" operation in which the linear movement is stopped at a target position after the movement, the fact that the position register [2] is used to designate the position, and a comment ('take-out position').
[0051] By displaying the setting information of the icon in this way, the user can easily find setting errors. Therefore, the fifth embodiment supports the user who creates (teaches) a program and makes programming more efficient.
[0052] Example 6 A sixth embodiment will be described with reference to Fig. 15 and Fig. 16. The sixth embodiment relates to an example of an operation for displaying internal variables of a program related to a target icon. Here, a description will be given of the display of information when an icon related to a register (register icon 607) is selected.
[0053] 15, a register icon 607 is specified and selected by a cursor 671 in the icon display area 200. In response to the selection of the register icon 607, the related information display control unit 117 displays the register value (register [1]=10) as the setting information 761 of the register icon 607 in the pop-up screen 700.
[0054] If there is an error in the setting of the register icon 607, the related information display control unit 117 may display a message indicating that the setting is incorrect in the pop-up screen 700. In the example of Fig. 16, an invalid register number (register [0]) is specified in the setting of the register icon 607, so that the register number "0" is highlighted in red or in another display mode in the pop-up screen 700 to indicate that it is incorrect.
[0055] The internal variables of the program may also be displayed as a pop-up display during or after the execution of the target icon as an execution result.
[0056] According to this embodiment, the internal variables of the program are displayed, and if there is an error in the variable settings, etc., error information is also displayed, thereby supporting the user who is creating (teaching) a program and making programming more efficient.
[0057] Example 7 A seventh embodiment will be described with reference to Fig. 17. The seventh embodiment is an example in which, when an operation is performed to instruct execution of a program of an icon arranged in the program creation area 300, information related to the icon is displayed as a pop-up before the icon is executed.
[0058] As shown in Fig. 17, in the program creation screen 500, a view icon 601, an action (vision) icon 602, and a linear movement icon 603 are arranged in the program creation area 300. Assume that the execution tab 651 is operated to instruct execution of a program in the program creation area 300, and the second action (vision) icon 602 is currently being executed. The related information display control unit 117 acquires the execution state of the program from the execution unit 115, and displays information related to the linear movement icon 603 in a pop-up display before the execution of the linear movement icon 603 starts. Fig. 17 shows a situation in which information 751 of the setting contents of the linear movement icon 603 is displayed while the action (vision) icon 602 is being executed.
[0059] Although FIG. 17 illustrates an example in which information is presented for one icon before the icon is executed, information may be presented for each of multiple icons included in the program creation area 300 before the icon is executed.
[0060] According to this embodiment, since information related to an icon is displayed before the icon is executed, the user can know information related to the icon that is scheduled to be executed in advance. For example, if the setting contents of the icon that is scheduled to be executed contain an error, the program can be stopped before the icon is executed.
[0061] As described above, according to this embodiment, various pieces of information that assist in programming a robot control program are provided with extremely simple operations, enabling more intuitive and efficient programming.
[0062] Second embodiment Next, a teaching device 10A according to a second embodiment will be described. As shown in FIG. 18, the teaching device 10A has a configuration in which an attribute information setting unit 118 is added to the teaching device 10 according to the first embodiment. The teaching device 10A includes the functions of the teaching device 10 described above. It is assumed that the robot system to be programmed by the teaching device 10A is a welding robot system. In the case of a welding robot system, it can be realized by attaching a welding torch to the tip of the arm of the robot 30 instead of the hand 33 in the robot system 100 shown in FIG. 1, connecting a welding power supply that supplies a welding current to the welding torch to the robot control device 50, and operating the welding power supply under the control of the robot control device 50. In this embodiment, such a welding robot system is assumed.
[0063] Attribute information setting unit 118 provides a function of setting, for each icon, display attribute information that defines display content to be displayed as information related to the icon. The set display attribute information is stored in association with the icon in icon data storage unit 111. When displaying information related to an icon in response to an execution instruction for the icon, related information display control unit 117 determines the display content according to the display attribute information set for the icon.
[0064] An example of displaying information using the display attribute information will be described with reference to Fig. 19. In the example shown in Fig. 19, linear movement icons 621 and 622, welding start icon 623, welding point movement icon 624, and linear movement icons 625 and 626 are arranged as welding programs in program creation area 300. Welding start icon 623 represents a command to start the welding power supply. Welding start icon 623 has a long strip shape, and represents that an icon arranged therein (welding point movement icon 624) is executed during welding. In response to an execution instruction for these icons (welding programs), a welding operation is performed in which the welding machine moves from an initial position to a welding standby position to start welding, and then returns to the initial position after welding is completed.
[0065] It is assumed that the display attribute information for the above icon is set as follows: Linear movement icon: 'Motion' Welding start icon: 'Arc welding' While the linear movement icon with the display attribute information 'motion' is being executed, the related information display control unit 117 acquires the position information of the robot in real time from the robot control device 50 and displays the robot model 30M representing the robot's motion in the status display area 450, as an example. During execution of the welding start icon 623 with the display attribute information 'arc welding', the related information display control unit 117 switches the display content displayed in the status display area 450 to information indicating the welding status. Here, an example is shown in which indicator images 771 and 772 indicating the current and voltage during arc welding, respectively, are displayed as the information indicating the welding status. The related information display control unit 117 acquires the welding current and voltage via the robot control device 50.
[0066] In this way, by making it possible to set display attribute information for each icon, it becomes possible to automatically switch and display information desired by the user according to the function of the icon, without requiring user operation.
[0067] There are various examples of settings for the time to display information related to an icon, the time to start displaying, and the like. The timing of such information display may also be configurable. For example, for the welding start icon 623, a setting may be made such that the screen is not switched for three seconds after a welding command is executed. Also, a priority may be set for each display attribute information. For example, if a high priority is set for the display attribute 'arc welding', when a conflict occurs in the display contents to be displayed in the status display area 450, the information with the high priority can be displayed preferentially. The timing and priority of displaying such information may also be set via the attribute information setting unit 118 as attributes related to each icon.
[0068] In addition to the display attribute information, an execution state attribute may be set for each icon via attribute information setting unit 118. A display example of information related to an icon according to the execution state attribute will be described with reference to FIG. 20. As an example, it is assumed that 'welding enabled' or 'welding disabled' can be set as the execution state attribute for welding start icon 623. When the execution state attribute is 'welding enabled' (i.e., when arc discharge is enabled), related information display control unit 117 displays indicator images 771 and 772 indicating the current and voltage of arc welding, respectively, in status display area 450. On the other hand, when the execution state attribute is 'welding disabled' (i.e., when arc discharge is disabled), related information display control unit 117 displays a live image of the processing site at the tip of the welding torch in status display area 450.
[0069] With the above configuration, when the welding is enabled, the information on the current and voltage during arc welding desired by the user is presented, while when the welding is disabled, a live image M2 on which the position of the tip of the welding torch can be confirmed as the information desired by the user can be provided. Note that the settings regarding what information is to be displayed according to the execution state attributes may also be set (i.e., customizable) via the attribute information setting unit 118.
[0070] In this way, by making it possible to set execution state information for each icon, it becomes possible to automatically switch and display information desired by the user according to the execution state of the icon, without requiring user operation.
[0071] The attribute information setting unit 118 may accept the setting of the above-mentioned various attribute information through a user operation. Alternatively, the various attribute information may be input to the teaching device 10A from an external device, or may be stored in advance in the icon data storage unit 111. In the second embodiment, an example in which information related to an icon is displayed in the status display area 450 has been described, but the information related to an icon may be displayed in a pop-up manner as in the first embodiment.
[0072] Although the present invention has been described using exemplary embodiments, those skilled in the art will understand that modifications and various other changes, omissions, and additions can be made to the above-described embodiments without departing from the scope of the present invention.
[0073] In the above embodiment, a configuration has been described in which, in a teaching device that enables programming using icons as commands representing functions constituting a robot control program, information related to a command (icon) that is the target of a selection or execution instruction is displayed in response to a selection or execution instruction for the command (icon) arranged on a program creation screen. The various functions of displaying information related to a command (icon) in response to a selection or execution instruction in the above embodiment can also be applied to a teaching device configured to perform programming using text-based command statements as commands representing functions constituting a robot control program. In this case, the teaching device (screen generation unit) creates, as a program creation screen, a first area (command list display area) that displays a list of command statements, and a second area (program creation area) for creating a program by arranging command statements selected from the first area.
[0074] For example, the first area (instruction list display area) is 'Choksen' 'Kakujik' 'YobidashiHAND_OPEN' 'YOBIDASHI HAND_CLOSE' 'Vision Sensing' 'Vision correction data stock' Here, the command 'CHOKUSEN' corresponds to a command to move the control part of the robot in a straight line, the command 'KAKUJIKU' corresponds to a command to move the robot in each axis motion, 'HAND_OPEN' corresponds to a command to open the hand, the command 'HAND_CLOSE' corresponds to a command to close the hand and grab an object, 'VISION DETECT' corresponds to a command to capture an object with a visual sensor, and 'VISION POSITION DATA STOCK' corresponds to a command to detect the position of the object from the captured image.
[0075] The user selects commands from the first area (pop-up menu screen), places them in the second area (program creation area) to create a program, and specifies detailed parameters for each command as necessary. Below is an example of a program written in the second area (program creation area). 1: Center position [1] 2000mm / sec 1st position; 2: ; 3: Vision Sensor 'A'; 4: Vision correction data 'A' Vision register [1] Jump label
[0100] ; 5: ; 6: !Handling ; 7: Position [2] 2000mm / sec Position 100 Vision correction, vision register [1] Tool correction, position register [1]; 8: Position position [2] 500mm / sec Position vision correction, vision registration [1]; 9: Yobidashi HAND_CLOSE ; 10: Position position [2] 2000mm / sec Position 100 Vision correction, vision register [1] Tool correction, position register [1]; The above program detects the position of an object using a visual sensor (camera A) moved to a specified position (lines 1-5), and then grasps the object while correcting the robot's position based on the detected position (lines 6-10).
[0076] Even when programming using command statements in this way, the teaching device provides functions equivalent to those of the above-mentioned embodiment in terms of creating a program by placing a command statement selected from a first area (command list display area) in a second area (program creation area) using a functional block configuration equivalent to the functional block shown in Fig. 6. Then, the teaching device (related information display control unit) displays information related to the target command statement as, for example, a pop-up screen in response to a selection of a command statement in the first or second area, or an execution instruction for a command statement placed in the second area.
[0077] In the above-described embodiment, an example of displaying one pop-up screen has been mainly described; however, for example, when multiple icons are selected by a user operation, or when an instruction to execute multiple icons is given, related information for each of the multiple icons may be presented on multiple pop-up screens.
[0078] In the above embodiment, the program creation screen 500 is displayed in the form of a single rectangular frame, and the program creation area 300 and the icon display area 200 are contained within the single rectangular frame, but this is merely an example, and there are various other possible screen display forms for the program creation screen, for example, the program creation area 300 and the icon display area 200 may each be displayed as separate windows. In this case, the program creation area 300, the icon display area 200, and the pop-up screen 700 are each displayed as separate windows.
[0079] The layout of the functional blocks of the visual sensor control device, the robot control device, and the teaching device shown in FIG. 2 and FIG. 4 is one example, and the layout of these functional blocks can be changed as appropriate.
[0080] The functional blocks of the teaching device shown in FIG. 4 may be realized by a processor of the teaching device executing various software stored in a storage device, or may be realized by a hardware-based configuration such as an ASIC (Application Specific Integrated Circuit). [Explanation of symbols]
[0081] 1. Object 2 Workbench 10 Teaching device 11 Processors 12. Memory 13 Display section 14 Control section 15 Input / Output Interface 30. Robot 30M Robot Model 31 Wrist flange 33, 33A Hand 40 Visual sensor control device 41 Processors 42 Memory 43 Input / Output Interface 50 Robot control device 51 Processors 52 Memory 53 Input / Output Interface 54 Control section 70 Visual Sensor 71 Force Sensor 100 Robot System 110 Program Creation Department 111 Icon data storage unit 112 Screen generation section 113 Operation input reception unit 114 Program Generation Unit 115 Executive Department 116 Parameter setting section 117 Related information display control unit 118 Attribute information setting section 200 Icon display area 300 Programming area 401 Input Image 402 Image Processing Unit 403 Calibration data storage unit 450 Robot model display area 501 Motion control section 601 View Icon 602 Action (vision) icon 603 Linear movement icon 604 Pressing operation icon 605 Talking Icon 606 Waiting setting icon 607 Register Icon 651 Execution tab 652 Details tab 671 Cursor 700 Pop-up screens
Claims
1. A teaching device for creating a control program for a robot, comprising: a screen generating unit that generates a program creation screen for creating a program by using commands representing functions that constitute the control program for the robot; a related information display control unit that displays, in response to a selection or an execution instruction for a command arranged on the program creation screen, information related to the command that is the target of the selection or the execution instruction; A teaching device comprising:
2. the program creation screen has a first area displaying a list of one or more commands representing functions constituting a control program for the robot, and a second area for creating the control program by arranging commands selected from the first area, The teaching device of claim 1 , wherein the related information display control unit displays information related to the target instruction in response to a selection of an instruction in the first area or the second area, or an execution instruction for an instruction placed in the second area.
3. The teaching device according to claim 1 , wherein the related information display control unit displays information related to an instruction placed on the program creation screen while the instruction is being selected.
4. The teaching device of claim 1 or 2, wherein the related information display control unit displays information related to an instruction that is the target of an execution instruction, in response to an execution instruction for an instruction placed on the program creation screen, either before, during, or after the execution of the instruction.
5. The teaching device according to claim 4 , wherein the related information display control unit displays information about a state during execution of the instruction that is the target of the execution instruction during the execution of the instruction.
6. The teaching device according to claim 4 , wherein the related information display control unit displays information about a result of execution of the instruction after the instruction that is the subject of the execution instruction is executed.
7. A teaching device as claimed in any one of claims 1 to 6, wherein the information related to the target instruction includes parameter setting information of the instruction, information of a sensor or equipment associated with the instruction, the execution result or status of the instruction during execution, or internal variables of a program related to the instruction.
8. The teaching device of claim 7, wherein the information related to the target instruction includes information of a sensor associated with the instruction, the sensor being a visual sensor.
9. The teaching device of claim 7, wherein the information related to the target command includes information of a sensor associated with the command, the sensor being a force sensor.
10. The teaching device according to claim 1 , wherein the related information display control unit displays information related to the target instruction in a pop-up display.
11. an attribute information setting unit that sets display attribute information for the command, the display attribute information defining display contents to be displayed as information related to the command; The teaching device according to claim 1 , wherein the related information display control unit determines display content according to the display attribute information set for the instruction when displaying information about the instruction in response to an execution instruction for the instruction.
12. A teaching device for creating a control program for a robot, comprising: a screen generating unit that generates a program creation screen for creating a program by using commands representing functions that constitute the control program for the robot; a related information display control unit that displays, in response to a selection or an execution instruction for a command arranged on the program creation screen, information related to the command that is the target of the selection or the execution instruction; an attribute information setting unit that sets, for the command, display attribute information that defines display content to be displayed as information related to the command; the related information display control unit determines display contents in accordance with the display attribute information set for the command when displaying information related to the command in response to an execution instruction for the command, the attribute information setting unit is further configured to set an execution state attribute which is information relating to an execution state of the instruction; The related information display control unit, when displaying information related to the instruction in response to an execution instruction for the instruction, determines display contents further based on the execution state attribute.
13. The teaching device according to claim 1 , wherein the instruction is represented by an icon or a command sentence.
Citation Information
Patent Citations
Communication equipment equipped with communication network selection function
JP1989098366A
Programmable controller
JP1996249025A
Teaching of device robot
JP2001088068A
Working situation monitoring device
JP2011158981A
Robot, robot system, and teaching method
JP2015182142A
