Teaching device

By introducing a program creation unit, annotation setting unit, and annotation display switching unit into the teaching pendant for industrial machinery, the problem of display clutter caused by too many annotations is solved, and more convenient addition and display management of annotations are achieved, improving Improves the readability of the program.

CN118555995APending Publication Date: 2024-08-27FANUC LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202280089149.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-01-27
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In the current teaching of industrial machinery, too many comments lead to cluttered program display status, making it difficult to improve the readability of the program.

Method used

Design a teaching device that includes a program creation unit, annotation setting unit, and annotation display switching unit. The user can switch the display or non-display of annotations on the display screen, and display or hide annotations in the program display area through the annotation drawing processing unit. .

Benefits of technology

It improves the readability of the program, avoids cluttered display status caused by too many comments, and provides a more convenient comment attachment form, which is suitable for teaching industrial machinery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555995A
    Figure CN118555995A
Patent Text Reader

Abstract

This teaching device (30) is a teaching device (30) for an industrial machine, and is provided with: a program creation unit (131) that generates a program creation screen for creating a program for the industrial machine; an annotation setting unit (132) that receives a setting of an annotation relating to a command constituting the program; and an annotation display switching unit (137) for switching between display and non-display of the set annotation on the display screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a teaching device for teaching industrial machinery. Background Art

[0002] It is generally difficult to understand the contents of a robot program, so comments are added to the program. Patent Document 1 describes a programming device that configures graphic symbols in a sequence creation area to create programs for a robot system, which states, "Move robot 1 to position "1" at 300 m / s. The motion form is "straight line" and the smoothness of the acceleration and deceleration control is set to 50%. In addition, as additional information, it is recorded that the motion direction is vertical. Next, the output of SDO

[10] is turned on. In SDO

[10] , the content of having hand open is recorded as additional information." Figure 7 , paragraph 0043).

[0003] In addition, Patent Document 2 describes a configuration example of a program editing screen for creating a machining program for a machine tool ( Figure 4 , paragraphs 0095-0100).

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: Japanese Patent Application Laid-Open No. 08-249026

[0007] Patent Document 2: Japanese Patent Re-Publication No. 2021-014517 Summary of the invention

[0008] Problem that the invention aims to solve

[0009] The readability of a program can be improved by writing comments into the area where the program is displayed on the display screen of a teaching device. On the other hand, when there are too many comments, the display state becomes cluttered. For users who want to use comments in teaching industrial machinery, it is desirable to provide a function of adding comments in a more convenient form.

[0010] Solutions for solving problems

[0011] One embodiment of the present disclosure is a teaching device, which is a teaching device for industrial machinery, and the teaching device comprises: a program creation unit, which generates a program creation screen for creating a program for the industrial machinery; a comment setting unit, which accepts the setting of comments related to the commands constituting the program; and a comment display switching unit, which is used to switch the display and non-display of the set comments on the display screen.

[0012] These objects, features and advantages as well as other objects of the present invention will become more apparent from the detailed description of typical embodiments of the present invention as shown in the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a diagram showing the configuration of a robot system including a teaching device according to one embodiment.

[0014] Figure 2 It is a diagram showing a hardware configuration example of a robot control device, a teaching device, and a PC.

[0015] Figure 3 This is a functional block diagram of the teaching device according to the first embodiment.

[0016] Figure 4 This is a diagram showing a basic configuration example of a program creation screen.

[0017] Figure 5 It is a diagram for explaining a function of switching between display and non-display of annotations in the teaching device according to the first embodiment.

[0018] Figure 6 This is a diagram for explaining a display state when there are many annotations as a reference example.

[0019] Figure 7 This is a functional block diagram of a teaching device according to a second embodiment.

[0020] Fig. 8A It is a diagram for explaining a function of switching between display and non-display of annotations in the teaching device according to the second embodiment.

[0021] Figure 8B It is a diagram for explaining a function of switching between display and non-display of annotations in the teaching device according to the second embodiment.

[0022] Fig. 9 This is a functional block diagram of a teaching device according to a third embodiment.

[0023] Fig.10 It is a diagram for explaining a function of switching between display and non-display of annotations in the teaching device according to the third embodiment.

[0024] Fig.11 This is a functional block diagram of a teaching device according to a fourth embodiment.

[0025] Fig. 12A It is a diagram for explaining a function of switching between display and non-display of annotations in the teaching device according to the fourth embodiment.

[0026] Fig. 12BIt is a diagram for explaining a function of switching between display and non-display of annotations in the teaching device according to the fourth embodiment.

[0027] Fig.13 This is a functional block diagram of a teaching device according to a fifth embodiment.

[0028] Fig.14A It is a diagram for explaining a function of switching between display and non-display of annotations in the teaching device according to the fifth embodiment.

[0029] Fig. 14B It is a diagram for explaining a function of switching between display and non-display of annotations in the teaching device according to the fifth embodiment.

[0030] Fig.15 This is a functional block diagram of a teaching device according to a sixth embodiment.

[0031] Fig.16 It is a diagram showing a display state of a program and comments before the program is executed in the teaching device according to the sixth embodiment.

[0032] Fig.17 It is a diagram showing a display state of a program and comments during execution of a program in the teaching device according to the sixth embodiment.

[0033] Fig.18 The display state of the program and the comments during the execution of the program in the teaching device according to the sixth embodiment is shown and Fig.17 Figure 1 shows different display examples.

[0034] Fig.19 It is a diagram for explaining a function of switching between display and non-display of annotations in the teaching device according to the seventh embodiment.

[0035] Fig. 20 It is a diagram for explaining a function of switching between display and non-display of annotations in the teaching device according to the eighth embodiment.

[0036] Fig.21 It is a diagram for explaining a function of switching between display and non-display of annotations in the teaching device according to the ninth embodiment. DETAILED DESCRIPTION

[0037] Next, the embodiments of the present disclosure are described with reference to the accompanying drawings. In the referenced drawings, the same structural parts or functional parts are marked with the same reference figure marks. For ease of understanding, the scales of these drawings are appropriately changed. In addition, the method shown in the drawings is an example for implementing the present invention, and the present invention is not limited to the method shown in the drawings.

[0038] Next, the teaching device involved in the first to ninth embodiments will be described. The structure of the robot system including the teaching device is common to the first to ninth embodiments, so first refer to Figure 1 and Figure 2 The configuration of the robot system common to each embodiment and the hardware configuration of each device constituting the robot system will be described.

[0039] Figure 1 1 is a diagram showing a structure of a robot system 100 including a teaching device 30 according to an embodiment. Figure 1 As shown, the robot system 100 includes a robot 10 as an example of an industrial machine, a robot control device 20 for controlling the robot 10, and a teaching device 30 connected to the robot control device 20. Figure 1 In the figure, the robot 10 is described as a vertical multi-joint robot, but other types of robots, such as an orthogonal coordinate robot, a horizontal joint robot, a parallel link robot, etc., may be used as the robot 10. The teaching device 30 has various functions for teaching (programming) the robot 10. Here, it is assumed that the teaching device 30 is a flat-panel device. Other types of information processing devices may also be used as the teaching device 30. In addition, as Figure 1 As shown, a PC (personal computer) 40 may be connected to the robot control device 20 to use the PC 40 as a teaching device (programming device).

[0040] The robot control device 20 controls the motion of the robot 10 according to the instruction from the teaching device 30 or the motion program loaded into the robot control device 20. A tool is installed as an end effector at the front end (flange) of the arm of the robot 10, so that the robot 10 can perform various operations. For example, by installing a hand and a sensor (visual sensor, force sensor, etc.) at the front end of the arm, the robot 10 can perform various operations such as taking out workpieces, palletizing, and precision inlaying.

[0041] The teaching pendant 30 (or PC 40) is configured to realize programming using command icons (hereinafter simply referred to as icons) that represent functions constituting the control program of the robot 10 (i.e., commands representing robot control) in addition to text-based programming. In addition, the teaching pendant 30 provides a function of adding comments in a form that is more convenient for the user during programming of the robot. In addition, the PC 40 is configured to have the same function as the teaching pendant 30 with respect to teaching the robot 10.

[0042] exist Figure 2, an example of the hardware configuration of the robot control device 20, the teaching device 30, and the PC 40 is shown. The robot control device 20 may have a general computer configuration including a memory 22 (ROM, RAM, nonvolatile memory, etc.), various input / output interfaces 23, and an operation unit 24 including various operation switches connected to the processor 21 via a bus. The teaching device 30 may have a general computer configuration including a memory 32 (ROM, RAM, nonvolatile memory, etc.), a display unit 33, an operation unit 34 including an input device such as a keyboard (or software key), and various input / output interfaces 35 connected to the processor 31 via a bus. The PC 40 has a configuration including a memory 42 (ROM, RAM, nonvolatile memory, etc.), a display unit 43, an operation unit 44 including an input device such as a keyboard and a mouse, a storage device (HDD, etc.) 45, and various input / output interfaces 46 connected to the processor 41 as a general general-purpose computer hardware configuration.

[0043] Next, the teaching device 30 involved in the first to ninth embodiments is described. The first to fifth embodiments and the seventh to ninth embodiments relate to the function of the teaching device 30 for performing icon-based programming. The sixth embodiment relates to the function of the teaching device 30 for performing text-based programming. The teaching devices involved in the first to sixth embodiments are respectively denoted by reference numerals 30A, 30B, 30C, 30D, 30E, and 30F.

[0044] First embodiment

[0045] Figure 3 This is a functional block diagram showing the functional structure of the teaching device 30A involved in the first embodiment. The functional structure shown in this functional block diagram can be realized by the processor 31 of the teaching device 30A executing various software stored in the memory 32, or can be realized by a structure with hardware such as ASIC (Application Specific Integrated Circuit) as the main body. In addition, this point is the same for the functional block diagrams involved in other embodiments shown later.

[0046] like Figure 3As shown, the teaching device 30A has a program creation unit 131, which provides various basic functions for text-based or icon-based programming. The program creation unit 131 has the following functions: providing a program creation screen, a setting screen for detailed parameter setting (teaching), and other various UI (user interface) screens, and assisting user operations (selection and configuration of command statements or command icons, etc.) performed via various UI screens.

[0047] The teaching device 30A further includes an annotation setting unit 132 , an annotation display and non-display setting unit 133 , an annotation display switching unit 137 , and an annotation drawing processing unit 134 .

[0048] The comment setting unit 132 receives input of setting comments for icons arranged in an area (hereinafter also referred to as a program display area) on the program creation screen for arranging commands (icons, command statements, etc.) to create and display a program.

[0049] The annotation display / non-display setting unit 133 provides a function of accepting an operation input for switching whether to display the annotation set by the annotation setting unit 132 on the display screen of the display unit 33 or a setting input for setting whether to display the annotation for each of the icons.

[0050] The annotation display switching unit 137 provides a function of switching display and non-display of annotations according to an operation input or a setting input received by the annotation display and non-display setting unit 133 .

[0051] The annotation drawing processing unit 134 draws the annotation set by the annotation setting unit 132 on the display screen or deletes the annotation from the display screen according to the instruction of whether to display the annotation from the annotation display switching unit 137 .

[0052] exist Figure 4 2 shows an example of the basic structure of a program creation screen 400 created by the program creation unit 131 and displayed on the display unit 33. It is assumed that the basic structure of the program creation screen 400 created by the program creation unit 131 is the same in the second to fifth embodiments and the seventh to ninth embodiments described below.

[0053] like Figure 4 As shown, the program creation screen 400 includes an icon display area 200 for displaying a list of various icons that can be used for programming, and a program display area 300 for sequentially arranging icons to create a program. Figure 4In the example, the icon display area 200 includes a hand closing icon 201 indicating a command to close the hand, a hand opening icon 202 indicating a command to open the hand, a straight line movement icon 203, an arc movement icon 204, a point addition icon 205, a rotation icon 206 for rotating the hand, and an annotation command icon 207 for setting and displaying annotations.

[0054] In the program creation screen 400, the user selects the programming tab 261 when performing programming. The user selects a desired icon in the icon display area 200 by, for example, a drag-and-drop operation and arranges the icon in the program display area 300, thereby performing programming. Figure 4 In the example of FIG. 3 , a hand closing icon 201, an arc movement icon 204, two straight movement icons 203, and a hand opening icon 202 are sequentially arranged in the program display area 300. When the number of icons arranged in the program display area 300 increases, the user can scroll the screen horizontally to arrange the icons.

[0055] On the other hand, in the program display area 300, for example, by placing a cursor on an icon to select an icon, the user can open a setting screen for performing detailed settings of the icon by selecting the detail tab 262. Alternatively, when an icon is selected in the program display area 300, the setting screen of the icon is activated.

[0056] The user can execute the program by performing a predetermined operation in a state where the icons are arranged in the program display area 300. The program of the icon arranged in the program display area 300 can be executed as a whole, or the program can be stopped in the middle. Alternatively, the program can be executed step by step according to each command icon. Step-by-step execution is effective when the user compares the content of the created program with the actions of the robot one by one while confirming the program.

[0057] Reference Figure 5 The function of switching between display and non-display of the annotations of the teaching device 30A will be described. The teaching device 30A provides a function of switching between display and non-display of annotations according to a predetermined operation or setting by the user.

[0058] Figure 5 The figure shows a state where the user arranges icons in the program display area 300 to create a program 501 . Figure 5 The program 501 is assumed to be in the process of being created (before execution). In the program display area 300 , the following icons are displayed among the icons constituting the program 501 .

[0059] A wide pick-up icon 311 indicating pick-up of a workpiece

[0060] ·Comment command icon 401

[0061] ·Hand closure icon 312 to close the hand to hold the workpiece

[0062] ·Specified register icon 313 indicating a value to a register

[0063] ·Comment command icon 402

[0064] · Specify the wide FOR loop icon 314 for FOR loop processing

[0065] Palletizing Icon 315

[0066] · Straight line movement icons 316, 317

[0067] ·Hand open icon 318

[0068] The wide pick icon 311 includes a standby position for approaching an object, a holding position for approaching an object and holding the object as detailed settings, and the pick icon 311 and the icons included in its range (here, the hand closing icon 312) are used to realize the action of taking out the workpiece. In addition, the range of the pick icon 311 also includes a comment command icon 401, and as the pick icon 311 is executed, the comment command icon 401 is also executed and the comment is displayed. The wide FOR loop icon 314 includes the conditions for executing each command in the FOR loop icon 314 as detailed settings, and the FOR loop icon 314 and the icons configured in its range are used to realize the function of stacking the workpieces.

[0069] The portion of the entire program 501 that can be displayed in the program display area 300 is displayed in the program display area 300. The user can scroll the display of the program display area 300 horizontally by performing a predetermined operation, thereby displaying other portions of the program 501. In addition, the following structure may be adopted: when the program 501 is executed, the icons arranged in the program display area 300 are scrolled horizontally so that, for example, the command (icon) being executed is located in the center of the program display area 300.

[0070] In order to annotate the part involved in the workpiece removal action composed of the pick-up icon 311 and the hand-closed icon 312, the user inserts the comment command icon 401 between the pick-up icon 311 and the hand-closed icon 312. The comment command icon provides a function of displaying the comment set for the comment command icon at the position where the comment command icon is configured or near the position. When setting the comment command icon, by selecting the comment command icon (moving the cursor to the comment command icon, clicking the comment command icon, etc.), a setting screen 450 for detailed setting can be started below the program display area 300.

[0071] In the comment command icon 401, "pick up workpiece A" is specified as a comment sentence. The comment "pick up workpiece A" (comment 401a) set for the comment command icon 401 is displayed in the form of a mark in the program display area 300. By viewing the comment "pick up workpiece A", the user can immediately recognize the action content of the command (pick up icon 311) at the position where the comment command icon 401 is configured.

[0072] exist Figure 5 In the program display area 300 of FIG. 1 , a comment command icon 402 is arranged before the FOR loop icon 314. Figure 5 4 shows a state where, in order to set a comment in the comment command icon 402, a setting screen 450 of the comment command icon 402 is displayed at the bottom of the program creation screen 400 by selecting the comment command icon 402. The user can specify the comment to be displayed in the program display area 300 by inputting a comment in the comment input field 471 of the setting screen 450.

[0073] In the setting screen 450 of the comment command icon 402, the user sets "palletizing workpieces A" in the comment input field 471 as a comment sentence. As described above, setting comments on the setting screen 450 is provided as a function of the comment setting unit 132. As a result, the comment sentence "palletizing workpieces A" (comment 402a) set in the comment input field 471 is displayed in the program display area 300. Such display of comments is performed by drawing comments by the comment drawing processing unit 134 under the instruction of displaying comments from the comment display switching unit 137.

[0074] As described above, in the present embodiment, the annotation drawing processing unit 134 displays the annotation set to the annotation command icon in a manner that allows identification as an annotation attached to the icon and in a manner that the annotation is arranged in the program display area 300. Figure 5In the example of displaying such annotations, an example of displaying in the form of a mark is described, but other display methods for displaying annotations such as a balloon form may also be used. In addition, when the display of annotations is allowed, the annotation drawing processing unit 134 may also perform the following actions: drawing annotations on the condition that the annotation command icons 401 and 402 enter the program display area 300 (scroll in), and deleting annotations on the condition that the annotation command icons 401 and 402 leave the program display area 300 (scroll out).

[0075] like Figure 5 As shown, a comment display switching button 461 for switching between displaying and hiding comments and an enlarged display button 462 for enlarged display are arranged on the upper right side of the program creation screen 400. The comment display switching button 461 provides a function of switching between displaying and hiding the comments set for each comment command icon. Figure 5 This indicates that the annotation display switching button 461 is set to a state where the annotations can be displayed. Therefore, the annotations 401a and 402a set to the annotation command icons 401 and 402 are displayed. Figure 5 In the state where the annotations are displayed, the annotation display switching button 461 is operated to hide the annotations 401a and 402a (see Figure 8B ). As such, in this example, the annotation display switching button 461 operates in a manner that switches the display and non-display of the annotation each time it is pressed. In order to easily identify whether the annotation is displayable or non-displayable, the display method of the annotation display switching button 461 may be changed according to the displayable state and non-displayable state of the annotation (changing the color, highlighting the annotation when it is displayed, etc.). The switching of the display and non-display of the annotation by operating such an annotation display switching button 461 is performed by the annotation display and non-display setting unit 133 accepting the operation input and indicating the content of the operation input to the annotation display switching unit 137.

[0076] like Figure 5As shown, a check box 481 for setting whether to allow the display of comments may be provided in the setting screen 450 of the comment command icon. When the check box 481 is checked, the comment of the comment command icon is allowed to be displayed on the program display area 300. On the other hand, when the check box 481 is not checked, even if the comment is set in the comment input field 471, the comment is not allowed to be displayed on the program display area 300. The switching function of displaying and not displaying the comments based on the check box 481 brings the advantage of being able to set the display and not display of the comments for each of the comment command icons. The switching of displaying and not displaying the comments of each icon based on the setting using such a check box 481 is performed by the comment display and non-display setting unit 133 accepting the setting input and indicating the content of the setting input to the comment display switching unit 137.

[0077] In addition, in the case of a configuration in which a check box 481 is provided on the setting screen of each annotation command icon, the annotation display switching button 461 may be omitted or provided. In the case of a configuration in which both the annotation display switching button 461 and the check box 481 on the setting screen of each annotation command icon are provided, for example, when the annotation display is permitted by the annotation display switching button 461, the display and non-display of the annotation may be switched depending on the state of the check box 481, and when the annotation display is not permitted by the annotation display switching button 461, the annotation may be set to non-display regardless of the state of the check box 481.

[0078] In this way, the user can display the annotation set by the user at the desired position in program display area 300 by arranging the annotation command icon at the desired position in program display area 300. In addition, at the same time, the user can set the annotation not to be displayed when the annotation display is not desired, such as when executing program 501.

[0079] exist Figure 6 In FIG. 1 , an example of displaying comments on the program display area 300 when the comments are long sentences or the number of comments increases is shown as a reference example. Figure 6 In the example, the comments 401 b , 312 b , 402 b , and 314 b set to the comment command icon 401 , the hand closing icon 312 , the comment command icon 402 , and the FOR loop icon 314 , respectively, are displayed in the program display area 300 .

[0080] like Figure 6In that case, when there are many comments and the comments are long sentences, it may become impossible to display the comment sentences completely at the desired position. In this regard, it can be understood that according to this embodiment, by having a function of switching the display and non-display of the comments at the same time, or switching each of the icons, the user can adjust the display of the comments to an appropriate state.

[0081] Second embodiment

[0082] Next, a teaching device 30B according to a second embodiment will be described. Figure 7 1 is a functional block diagram of a teaching device 30B. The teaching device 30B includes a program creation unit 131, an annotation setting unit 132, an annotation display and non-display setting unit 133B, an annotation drawing processing unit 134, a program execution unit 135, a program execution state recognition unit 136, and an annotation display switching unit 137B. Among the functions of the teaching device 30B, the functions of the program creation unit 131, the annotation setting unit 132, and the annotation drawing processing unit 134 are equivalent to the functions of the teaching device 30A according to the first embodiment.

[0083] The teaching device 30B according to the second embodiment provides the following functions regarding display and non-display of annotations.

[0084] (F21) displays comments before program execution (while the program is stopped) and hides comments during program execution as basic operation contents.

[0085] (F22) Here, it is possible to set, for each of the icons (for each of the comment command icons), to allow the comment to be displayed when the program is executed.

[0086] Comment display and non-display setting section 133B supplies information on the setting of whether to permit display when executing a program for each comment command icon to comment display switching section 137B.

[0087] The program execution unit 135 cooperates with the robot control device 20 to provide a function of executing or stopping a program created in the program display area 300 according to a user operation.

[0088] The program execution state identification section 136 identifies whether the program is being executed by receiving information on the execution state of the program from the program execution section 135 , and supplies information indicating whether the program is being executed to the comment display switching section 137B.

[0089] The annotation display switching unit 137B instructs the annotation drawing processing unit 134 to switch the display and non-display of the annotation based on the setting of whether to allow the display of the annotation during program execution provided by the annotation display and non-display setting unit 133B and the information indicating whether the program is being executed provided by the program execution state recognition unit 136.

[0090] The annotation drawing processing unit 134 draws the annotation set by the annotation setting unit 132 on the display screen or deletes the annotation from the display screen in accordance with the instruction for switching the display and non-display of the annotation issued by the annotation display switching unit 137B.

[0091] Below, refer to Fig. 8A and Figure 8B The switch function of displaying and not displaying annotations of the teaching device 30B according to the second embodiment is described below. It is assumed that the programs (command icons) arranged in the program display area 300, the arrangement of the annotation command icons 401 and 402, and the annotations set for the annotation command icons 401 and 402 are the same as those of the first embodiment. Fig. 8A and Figure 8B , an example is shown in which the teaching device 30B operates according to the above-mentioned basic function (F21).

[0092] In each of the comment command icons 401 and 402, it is assumed that the check box 472 for allowing the display of comments during program execution is not checked by default (set to not allow the display of comments during program execution). The comment display and non-display setting unit 133B provides these setting information about each comment display icon to the comment display switching unit 137B. In this case, the comment display switching unit 137B operates in a manner to switch the display and non-display of comments according to the information related to whether the program is being executed provided from the program execution state recognition unit 136.

[0093] Fig. 8A 501 before executing the program. Fig. 8A As shown, before the program 501 is executed, the comments 401 a (“pick up workpiece A”) and 402 a (“palletize workpiece A”) set to the comment command icon 401 and the comment command icon 402 are displayed in the program display area 300 .

[0094] on the other hand, Figure 8BThe display mode during the execution of the program 501 is shown. In this case, the information indicating that the program is being executed is provided from the program execution state recognition unit 136 to the annotation display switching unit 137B, and the annotation display switching unit 137B instructs the annotation drawing processing unit 134 to set the annotations 401a and 402a to a non-display state. Then, the annotation drawing processing unit 134 deletes the annotations 401a and 402a. Figure 8B In the figure, for convenience, dotted boxes are marked at the positions where the comments 401a and 402a are configured to illustrate that the comments 401a and 402a are deleted when the program is executed.

[0095] As described above, in the second embodiment, the basic operation of hiding comments during program execution can be performed. Users who create programs improve the readability of programs by displaying comments during program creation, and on the other hand, often watch what commands are being executed and surrounding commands during program execution, and watch how the robot actually moves. Therefore, the operation of automatically hiding comments during program execution is useful for users who want to hide comments during program execution to watch the program execution status.

[0096] Next, the teaching device 30B will be described as operating according to the above functions (F21) and (F22). Fig. 8A As shown, in a case where the check box 472 for setting whether to allow comments to be displayed is checked in the setting screen of the comment command icon 402 even when the program is executed (i.e., the setting for allowing the display of comments is made even when the program is executed), the comment display and non-display setting unit 133B instructs the comment display switching unit 137B to allow the display of comments during program execution for the comment command icon 402.

[0097] In this case, even when the program 501 is being executed, the annotation display switching unit 137B instructs the annotation drawing processing unit 134 to display the annotation for the annotation command icon 402. As a result, the annotation set for the annotation command icon 402 is displayed in the program display area 300 even during the program execution. According to such an operation, the advantage of making it easy to view the program by not displaying the annotation during the program execution can be enjoyed, and the annotation with high importance can be displayed during the program execution, which is useful for the user.

[0098] Furthermore, the teaching device 30B may be provided with a comment display switching button 461 to add a function of not displaying comments regardless of whether the program is stopped or executed.

[0099] In the second embodiment described above, an example of a structure in which the display and non-display of comments are automatically switched according to the execution state of the program is shown. As an example of a structure in which the display and non-display of comments are automatically switched according to the execution state of the program, there may be another example of a structure as follows. In this example, the display and non-display of comments are automatically switched according to the operation mode of the robot control device 20. Specifically, when the robot control device 20 is automatically operating (automatic (Auto) mode), as shown in FIG. Figure 8B As shown in FIG. 1 , the annotation is automatically set to non-display. When the robot controller 20 is in the teaching operation (T1 and T2 modes), as shown in FIG. Fig. 8A The user can consider that the comment display is desired during the teaching operation to make it easy to understand the content of the program, and the comment display is not necessary during the automatic operation, so such a function is beneficial to the user. According to such a function, the user can omit the need to change the display setting of the comment every time the operation mode of the robot controller 20 is switched.

[0100] Such functionality can also be achieved by Figure 7 The program execution state recognition unit 136 in the functional block diagram shown in FIG. 1 is implemented by adding a function for recognizing the operation mode of the robot controller 20. In this case, when the robot controller 20 is automatically operating (automatic mode), the program execution state recognition unit 136 instructs the comment display switching unit 137B to set the comment not to be displayed, and when the robot controller 20 is performing a teaching operation (T1 and T2 modes), the program execution state recognition unit 136 instructs the comment display switching unit 137B to display the comment.

[0101] Third embodiment

[0102] Next, a teaching device 30C according to a third embodiment will be described. The teaching device 30C according to the third embodiment provides the following functions regarding switching between display and non-display of annotations, similarly to the teaching device 30B according to the second embodiment.

[0103] (F31) displays comments before program execution (while the program is stopped) and hides comments during program execution as basic operation contents.

[0104] (F32) Here, it is possible to set, for each of the icons (for each of the comment command icons), to allow the comment to be displayed when the program is executed.

[0105] The teaching device 30C displays the comments in a comment display area 490 (see FIG. 4 ) arranged at a fixed position on the display screen. Fig.10 ) to perform the action.

[0106] Fig. 9 30C is a functional block diagram of the teaching device 30C. Fig. 9 As shown in the figure, the teaching device 30C includes a program creation unit 131, an annotation setting unit 132, an annotation display and non-display setting unit 133B, an annotation drawing processing unit 134C, a program execution unit 135, a program execution state recognition unit 136, and an annotation display switching unit 137B. Among these functions, the program creation unit 131, the annotation setting unit 132, the annotation display and non-display setting unit 133B, the program execution unit 135, the program execution state recognition unit 136, and the annotation display switching unit 137B are the same as those of the teaching device 30B according to the second embodiment. The annotation drawing processing unit 134C displays the annotation in the annotation display area 490 whose position on the display screen is fixed.

[0107] Fig.10 This is a diagram showing an example of screen display when the teaching device 30C operates according to the basic function (F1) of switching the display and non-display of comments according to the execution state of the program. It is assumed that the arrangement of the program (command icon) and comment command icons 401 and 402 arranged in the program display area 300 is the same as that of the second embodiment.

[0108] Fig.10 The display state before executing program 501 is shown. A comment display area 490 for displaying comments is provided in a fixed area of ​​the display screen (in this example, the uppermost part of the display screen). In this example, the comment display area 490 is made into an area of ​​a size that can display three comments in a row in the vertical direction of the display screen. Fig.10 The size of the comment display area 490 shown is an example, and the size of the comment display area 490 may be different (for example, a size capable of displaying five comments).

[0109] The comment display area 490 includes three comment display columns 491, 492, and 493. In this example, the three comment display columns 491, 492, and 493 may be arranged in order from the top to the bottom of the comment display area 490 starting from the comment belonging to the command icon at the front side of the program (the left side of the screen). In this example, the comment set to the comment command icon 401 is displayed in the comment display column 491, and the comment set to the comment command icon 402 is displayed in the comment display column 492. In addition, the comment of the next comment command icon that has not yet been displayed in the program display area 300 may also be displayed in the next comment display column 493.

[0110] When the program 501 is being executed, the information indicating that the program is being executed is provided from the program execution state recognition unit 136 to the comment display switching unit 137B, and the comment display switching unit 137B instructs the comment drawing processing unit 134 to set the comments in the comment display columns 491, 492, and 493 in the comment display area 490 to a non-display state. Then, the comment drawing processing unit 134 deletes the comments in the comment display columns 491, 492, and 493 (or may delete the comment display area 490).

[0111] The following describes how the teaching device 30C operates according to the above functions (F31) and (F32). Fig.10 As also shown in FIG. 1 , a check box 472 for setting whether to allow the display of comments during program execution may be provided in the setting screen of each comment command icon. When the check box 472 is checked in the setting screen of the comment command icon (i.e., when the setting is made to allow the display of comments during program execution), the comment display and non-display setting unit 133B instructs the comment display switching unit 137B to allow the display of comments during program execution for the comment command icon. In this case, the comment drawing processing unit 134 operates in such a manner that the comment is displayed in the comment display area 490 during program execution for the comment command icon that is allowed to display comments during program execution.

[0112] By setting a configuration in which comments are displayed in a fixed comment display area 490 that is independent of the program display area 300 , it is possible to present the comments while avoiding a situation in which the program display area 300 becomes cluttered with comments.

[0113] Fourth embodiment

[0114] Next, a teaching device 30D according to a fourth embodiment will be described. The teaching device 30D provides the following functions regarding the function of switching between display and non-display of annotations.

[0115] (F41) During the execution of a program, the comment set to the icon of the execution part (comment command icon) is set as the object to be displayed.

[0116] (F42) Whether to allow the comment to be displayed when the program is executed can be set for each of the icons (for each of the comment command icons).

[0117] Fig.1112 is a functional block diagram of a teaching device 30D. As shown in FIG12 , the teaching device 30D includes a program creation unit 131, a comment setting unit 132, a comment display and non-display setting unit 133B, a program execution unit 135, a comment display switching unit 137D, a command execution determination unit 138, a program display area display unit 139A, and a comment display area display unit 139B. The functions of the program creation unit 131, the comment setting unit 132, the comment display and non-display setting unit 133B, and the program execution unit 135 are the same as those of the teaching device 30B according to the second embodiment.

[0118] The command execution determination unit 138 obtains information about which position of the program 501 is being executed based on the information about the execution state of the program 501 provided by the program execution unit 135, and instructs the comment display switching unit 137D to set the comment command icon at the execution position of the program 501 as the object of comment display.

[0119] The comment display switching unit 137D notifies the program display area display unit 139A or the comment display area display unit 139B of an instruction as to whether or not to display the comment set for the comment command icon at the execution location.

[0120] The program display area display unit 139A provides a way to display comments in the form of Fig. 8A The function of displaying the comment in the program display area 300 in the form of a mark attached to the comment command icon in the form shown in FIG. The comment display area display unit 139B provides a function of displaying the comment in the form of a mark attached to the comment command icon in the form shown in FIG. Fig.10 The teaching device 30D is configured to be able to perform either of the program display area display unit 139A displaying comments in the form of marks on the program display area or the comment display area display unit 139B displaying comments on the comment display area.

[0121] Reference Fig. 12A Next, an operation example in which the teaching device 30D operates according to the above functions (F41) and (F42) will be described. Fig. 12A In the above description, it is assumed that the programs (command icons) arranged in the program display area 300, the arrangement of the comment command icons 402, and the comments set for the comment command icons 402 are the same as those in the first embodiment. Fig. 12A The scene shows that the current execution position of program 501 is at the position of comment command icon 402. Vertical bar 351 indicating the execution position of the program overlaps comment command icon 402. In this case, command execution determination unit 138 provides information indicating that comment command icon 402 is at the execution position to comment display switching unit 137D.

[0122] The comment display and non-display setting unit 133B sends an instruction to the comment display switching unit 137D regarding whether to allow the comment display during program execution (setting of the check box 472). Here, it is assumed that the comment display during execution of the comment command icon 402 is allowed. Fig. 12A As shown, the comment display switching unit 137D operates so as to display the comment 402a ("palletizing workpiece A") of the comment command icon 402 at the current execution location.

[0123] exist Fig. 12A In the example of FIG. 1 , it is assumed that the program display area display unit 139A is responsible for drawing the annotation. Fig. 12A In the display screen of , the comment 402a set for the comment command icon 402 is displayed in the program display area 300 in the form of a mark.

[0124] According to the present embodiment, since the icon (annotation command icon) at the execution location is set as the object of the annotation display, there is an advantage that the annotation can be easily recognized by the user who is particularly looking at the location of the command being executed.

[0125] As an additional function to the above-mentioned comment display and non-display switching functions (F41) and (F42), it is also possible to set whether to allow the comment to be displayed when the program is stopped in the setting screen of each comment command icon (check box), and whether to allow the comment to be displayed when the program is stopped can be set for each of the comment command icons. In this case, it is possible to Fig. 12A When the program is stopped in the state of the display screen as shown, it is set whether to display the comment set to the comment command icon 402.

[0126] The above-mentioned operation example is an operation example in which the program display area display unit 139A is responsible for drawing the annotation, but it can also be set so that the annotation display area display unit 139B is responsible for drawing the annotation. Fig. 12B The operation in the case where the teaching device 30D operates according to the above functions ( F41 ) and ( F42 ) and the annotation display area display unit 139B is responsible for drawing the annotation will be described.

[0127] like Fig. 12B As shown, the program 501 is being executed and is currently at a position where the annotation command icon 402 is being executed. The command execution determination section 138 supplies the annotation display switching section 137D with information indicating that the annotation command icon 402 is at the execution position.

[0128] In this case, the comment display area display unit 139B displays the comment set for the comment command icon 402 in the execution state in the comment display bar 492 located in the center of the comment display area 490 in the vertical direction, and highlights the comment. The highlighting of the comment can be performed by various methods such as setting the text of the comment to bold, changing the color, changing the color and pattern of the comment display bar, etc. In the program display area 300, the comment command icon 402 being executed is highlighted. It is also possible to make the highlighting of the comment (comment display bar) consistent with the highlighting of the comment command icon being executed. The highlighting of the comment and the icon can be achieved through the cooperation of the functional blocks of the teaching device 30D. In this way, by highlighting the comment command icon being executed and the comment displayed in the comment display area 490 together, the user can immediately recognize which comment command icon is being executed, and can immediately recognize the comment set for the comment command icon.

[0129] In the comment display area 490, the comment set for the comment command icon 401 executed before the comment command icon 402 may be displayed in the comment display column 491 located above the comment display column 492, which displays the comment of the currently executed comment command icon. In addition, the comment set for the comment command icon to be executed after the comment command icon 402 (assuming that the comment command icon has not yet entered the program display area 300) may be displayed in the comment display column 493 located below the comment display column 492.

[0130] In addition, since the execution time of the annotation command icon itself is relatively short, the display of the annotation in the annotation display area 490 may be maintained for a predetermined time from the time when the annotation command icon is executed. Specifically, during a predetermined time from the time when the annotation command icon 402 is executed and the annotation of the annotation command icon 402 is displayed in the annotation display column 492, the annotation set for the annotation command icon 402 may be continuously displayed in the annotation display column 492 even after the execution of the annotation command icon 402 is completed.

[0131] Fifth embodiment

[0132] Next, a teaching device 30E according to a fifth embodiment will be described. The teaching device 30E provides a function of displaying comments in the program display area 300 so as to clearly indicate the range to which the comments are applied.

[0133] Fig.13 30E is a functional block diagram of the teaching device 30E. Fig.13As shown in FIG. 1 , the teaching device 30E includes a program creation unit 131, an annotation setting unit 132, an annotation display and non-display setting unit 133E, an annotation display switching unit 137E, an annotation drawing processing unit 134, an icon selection unit 140, and an icon range determination unit 141. The functions of the program creation unit 131, the annotation setting unit 132, and the annotation drawing processing unit 134 in these functional blocks are equivalent to those of these functional blocks in the first embodiment.

[0134] The annotation display / non-display setting unit 133E is configured to accept the following settings:

[0135] (1) In the range annotation icon (refer to Fig.14A A setting for displaying or not displaying annotations when a range annotation icon 403) is selected; and

[0136] (2) Whether to allow comments to be displayed during program execution.

[0137] The icon selection unit 140 assists the operation of selecting an icon arranged in the program display area 300. For example, the icon selection unit 140 may select an icon by placing a cursor on the icon by the user, and change the color of the icon to indicate the selected state.

[0138] The icon range determination unit 141 determines whether the icon selected by the user is included in the range annotation icon, and provides information on the determination result to the annotation display switching unit 137E. In addition, when the selected icon is a range annotation icon, the icon range determination unit 141 provides information indicating that the range annotation icon is selected to the annotation display switching unit 137E.

[0139] When the icon selected by the user is included in the range of the range annotation icon or the range annotation icon is selected, the annotation display switching unit 137E instructs the annotation drawing processing unit 134 to display the annotations set for the range annotation icon and the icons included in the range of the range annotation icon.

[0140] Below, refer to Fig.14A , Fig. 14B The following describes an operation example related to the function of switching between displaying and hiding annotations of the teaching device 30E. Fig.14A and Fig. 14B In the program display area 300 shown in the figure, a program 502 including annotation command icons 401 and 402 and wide range annotation icons 403 and 404 is created.

[0141] like Fig.14AAs shown, the comment command icon 401 and the hand closing icon 312 are included in the range of the range comment icon 403, which is a way to clearly show in a graphical form that these comment command icons 401 and the hand closing icon 312 are within the range to which the range comment icon 403 is applied. That is, with respect to the range comment icon 403, the start end position 403s and the end end position 403e of the comment application in the program scheme are clearly indicated. In addition, the size of the range comment icon in the width direction can be changed by user operation. In addition, the stacking icon 315, the linear movement icons 316 and 317, the hand opening icon 318, etc. are included in the range of the range comment icon 404, which is a way to clearly show in a graphical form that these stacking icons 315, the linear movement icons 316 and 317, the hand opening icon 318, etc. are within the range to which the range comment icon 404 is applied.

[0142] Fig.14A This is an example of a display screen before the program is executed (during the stop period). Here, it is assumed that the range annotation icon 403 is selected by the user operation. Fig.14A As shown, a setting screen 450 of a range annotation icon 403 is displayed at the bottom of the program creation screen 400. The setting screen is provided with a check box 472 for setting whether to allow the annotation to be displayed even when the program is executed, and a check box 473 for setting whether to allow the annotation to be displayed when the range annotation icon is selected. Here, the check boxes 472 and 473 are checked, and the annotation display during program execution and the annotation display when the range annotation icon is selected are allowed.

[0143] exist Fig.14A , the icon range determination unit 141 notifies the annotation display switching unit 137E that the range annotation icon 403 is in the selected state. In this case, the annotation display switching unit 137E instructs the annotation drawing processing unit 134 to display the annotation set for the range annotation icon 403. In addition, since the annotation command icon 401 is also included in the range of the range annotation icon 403, the icon range determination unit 141 also indicates to the annotation display switching unit 137E that the annotation command icon 401 is included in the range annotation icon 403. In this case, the annotation display switching unit 137E instructs the annotation drawing processing unit 134 to also display the annotation of the annotation command icon 401.

[0144] As a result, if Fig.14A As shown, in the program display area 300, the comment 403a ("palletize workpiece A") set to the range comment icon 403 and the comment 401a ("pick up workpiece A") set to the comment command icon 401 are displayed in the form of a mark.

[0145] In addition, when the annotation command icon 401 or the hand closing icon 312 included in the range of the range annotation icon 403 is selected by the user operation, the icon range determination unit 141 determines that these icons are also included in the range of the range annotation icon 403, and Fig.14A In the illustrated state, the comments set to the range comment icon 403 and the comment command icon 401 are also displayed.

[0146] Fig. 14B Shows from Fig.14A In the display state of , the range annotation icon 404 is selected in the program display area 300 by the user operation. By canceling the selection of the range annotation icon 403, the annotations of the range annotation icon 403 and the annotation command icon 401 are deleted by the annotation drawing processing unit 134. By selecting the range annotation icon 404, the annotation 404a ("palletizing workpiece A") set to the range annotation icon 404 is newly displayed in the program display area 300 in the form of a mark.

[0147] Furthermore, the user can freely set the width dimension of the range annotation icon with the assistance of the program creation unit 131. The user can create a program by appropriately including a desired icon within the range of the range annotation icon.

[0148] As described above, according to the present embodiment, the annotation attached to the range annotation icon is displayed in a state where the range annotation icon clearly shows the range to which the annotation is applied (the start end position and the end end position of the applied annotation) in a graphical form, so that the user can clearly understand the range to which the annotation is applied and confirm the content of the annotation. By highlighting the range annotation icon in the selected state, the user can more clearly understand the range to which the annotation is applied.

[0149] In the first to fifth embodiments described above, a structural example of setting annotations for an annotation command icon or a wide range annotation command icon as a dedicated icon for displaying annotations is described, but the icons that can set annotations are not limited to such dedicated icons for setting annotations. For example, it is also possible to configure so that annotations can be set for command icons such as the palletizing command icon. In this case, the above-mentioned annotation setting bar and various check boxes for setting the display and non-display of annotations are set in the setting screen of the palletizing command icon. Thereby, the same switching function of displaying and non-displaying annotations as in the case of using a dedicated annotation command icon or a range annotation command icon can be realized.

[0150] Sixth Embodiment

[0151] Next, a teaching device 30F according to a sixth embodiment will be described. The teaching device 30F is a configuration that applies switching between displaying and hiding comments to a text-based program. The teaching device 30F has a function of switching between displaying and hiding comments depending on whether a program is being executed.

[0152] Fig.15 The teaching device 30F includes a program creation unit 131, an annotation setting unit 132F, an annotation display and non-display setting unit 133F, a program execution unit 135F, a program execution state recognition unit 136F, an annotation display switching unit 137F, and an annotation drawing processing unit 134F.

[0153] The program creation unit 131 provides various functions for assisting program creation based on text, including providing a program creation screen for creating a program.

[0154] The comment setting unit 132F provides a function of setting comments for a text-based program.

[0155] The comment display / non-display setting unit 133F provides a function of making settings related to display / non-display of comments added to each comment.

[0156] The program execution unit 135F manages the execution of the program created on the program creation screen.

[0157] The program execution state recognition unit 136F receives information on the execution state of the program from the program execution unit 135 , recognizes whether the program is being executed, and supplies information indicating whether the program is being executed to the comment display switching unit 137F.

[0158] The annotation display switching unit 137F instructs the annotation drawing processing unit 134 to switch the display and non-display of the annotation based on the annotation display and non-display setting provided by the annotation display and non-display setting unit 133F and the information indicating whether the program is being executed provided by the program execution state recognition unit 136F.

[0159] The annotation drawing processing unit 134F draws the annotation on the display screen or deletes the annotation from the display screen in accordance with the switching instruction of displaying and hiding the annotation issued by the annotation display switching unit 137F.

[0160] Below, refer to Figure 16-18 An operation example related to the function of switching between display and non-display of annotations in the teaching device 30F will be described. Fig.16The program 511 created in the program display area 300A presented as part of the program creation screen with the assistance of the program creation unit 131 of the teaching device 30F is shown. Comments are also input in the program 511. In the text-based program 511, it is assumed that the display and non-display of comments follow the following rules.

[0161] (R1) When the comment content is always displayed (when the program is not being executed and when it is being executed), the comment content is described after the first symbol ("!" in this example).

[0162] (R2) When the comment content is set not to be displayed during program execution, the comment content is described after the second symbol (in this example, "!!").

[0163] In program 511, comments are input according to the above rules (R1) and (R2). Specifically, the comments "Workpiece A starts moving" in the first line and "Workpiece A ends moving" in the 14th line are recorded after "!", and the comments "Hand closed" in the second line, "Rise" in the fourth line, "Move to point A" in the sixth line, "Descend" in the eighth line, "Hand open" in the tenth line, and "Standby" in the 12th line are recorded after "!!". Fig.16 As shown, before the program is executed, all the comments entered are in the displayed state.

[0164] In this embodiment, the comment setting unit 132F provides a function of setting the text following the first symbol and the second symbol as a comment. The comment display and non-display setting unit 133F provides the comment display switching unit 137F with setting information on whether to allow the comment to be displayed during program execution according to the first symbol and the second symbol. Then, the comment display switching unit 137F instructs the comment drawing processing unit 134F to switch the display and non-display of the comment according to the setting information from the comment display and non-display setting unit 133F.

[0165] Fig.17 The display state of the program 511 in the program display area 300A when it is executed is shown. Since the program is in the execution state, the comments of the 2nd, 4th, 6th, 8th, 10th and 12th lines are not displayed. On the other hand, the comments of the 1st and 14th lines are displayed even when the program is executed.

[0166] By providing a function to hide comments during program execution, the user can display all comments before program execution (during stop) to improve program readability, and reduce the number of displayed comments during program execution to avoid cluttering program display area 300A. In another embodiment, the user can specify important comments that he wants to be displayed even during program execution.

[0167] Fig.18 It is shown in Fig.16 FIG. 5 is another display example when the program 511 is executed. Fig.18 As shown, this display example is an example of an operation in which blank lines are omitted due to non-display of comments during execution. By omitting blank lines and displaying the entire program 511, the following state is achieved: the program display area 300A becomes compact, the program 511 is easy to view, and more lines containing command statements can be displayed. It can be set as a structure in which the function of performing such display is managed by the comment display switching unit 137F. For example, the comment display switching unit 137F can also indicate information related to blank lines due to non-display of comments during program execution to the program creation unit 131, so that blank lines are omitted for display.

[0168] In addition, in the teaching device 30F involved in the sixth embodiment, an operation button for switching the display and non-display of the comments in the program display area 300A can also be set on the display screen, like the comment display switching button 461 in the teaching device 30A involved in the first embodiment.

[0169] Seventh embodiment

[0170] Next, the teaching device 30 according to the seventh embodiment will be described. The teaching device 30 according to the seventh embodiment is equivalent to a device obtained by partially modifying the function of the teaching device 30A according to the first embodiment with respect to the specific method and display mode of switching between display and non-display of annotations. Therefore, the following refers to the functional block diagram ( Figure 3 ) is used to illustrate the teaching device 30 involved in the seventh embodiment.

[0171] Fig.19 This is a diagram for explaining the display and non-display switching function of the teaching device 30 involved in this embodiment and the display method of the annotations. These functions are realized by the cooperation of the functional elements of the teaching device 30 (program creation unit 131, annotation setting unit 132, annotation display and non-display setting unit 133, annotation display switching unit 137, annotation drawing processing unit 134). Figure 5 In the illustrated example as well, a program 501 is created in the program creation area 300 .

[0172] like Fig.19 As shown, in the present embodiment, a function is provided to attach a small icon (611, 612) to each annotation command icon so that the user can instantly grasp whether an annotation is set. Here, for the annotation command icon 401, it is assumed that an annotation is set through its setting screen 450, and on the other hand, the annotation is not set for the annotation command icon 402. In this case, the information on whether an annotation is set in the annotation input field 471 is notified to the program production unit 131 via the annotation setting unit 132. The program production unit 131 displays the small icons 611 and 612 indicating whether there is an annotation content in a manner attached to the annotation command icons 401 and 402, respectively. In this example, the small icon 611 indicating that an annotation is set is attached to the annotation command icon 401. On the other hand, the small icon 612 indicating that no annotation is set is attached to the annotation command icon 402.

[0173] In this embodiment, when the small icon 611 indicating that there is a comment is selected by tapping or the like, the comment of the comment command icon 401 corresponding to the small icon 611 is displayed. When the small icon 611 is not selected, the comment remains hidden. The comment display switching unit 137 cooperates with the program creation unit 131 to realize such a switching function of displaying and hiding the comment.

[0174] In order to improve the convenience of users who use the annotation function, the annotation may be displayed in the following manner. The content of the annotation displayed when the small icon 611 indicating the presence of an annotation is touched may be omitted. Fig.19 In the example, when the comment set for the comment command icon 401 is "Pick up workpiece A if there is space at the destination, etc.", the comment 401a displayed in the program display area 300 when the small icon 611 is touched becomes "Pick up workpiece A" which is omitted.

[0175] Then, when the omitted annotation 401a is touched or dragged, the annotation is highlighted and displayed in full (annotation 601). In addition, in this case, for example, a drawing process displayed in the front may be performed to display the annotation 601 displayed in full in the program display area 300 in priority to other annotations.

[0176] In addition, the full-text annotation 601 may be moved to its display position within the display screen by dragging or the like. Fig.19 6 shows a state where the annotation 601 is moved to a location indicated by reference numeral 602. Such a function is useful when the user desires to temporarily move an annotation or further confirm the content thereof.

[0177] The annotation drawing function described above can be realized by the annotation drawing processing unit 134 in cooperation with other functional elements.

[0178] According to the above configuration, the following advantages are obtained: the space for displaying annotations is prevented from becoming cluttered or being filled up, and annotations required by the user can be accurately displayed.

[0179] In addition, in the above-mentioned operation of the present embodiment, the setting of enabling or disabling the annotation display using the check box 481 can also function more effectively. For example, when the check box 481 is not checked (disabling the annotation display), the small icon attached to the annotation command icon for the setting can also be set to a small icon 612 indicating no annotation.

[0180] Eighth Embodiment

[0181] Next, the teaching device 30 according to the eighth embodiment will be described. The teaching device 30 according to the eighth embodiment is equivalent to a device obtained by partially modifying the function of the teaching device 30A according to the first embodiment with respect to the specific method and display mode of switching between display and non-display of annotations. Therefore, the following refers to the functional block diagram ( Figure 3 ) is used to illustrate the teaching device 30 involved in the eighth embodiment.

[0182] Fig. 20 It is a diagram for explaining the function of switching between display and non-display of annotations and the display form of annotations in the teaching device 30 according to the present embodiment.

[0183] Assume that the comment "pick up workpiece A" is set for the comment command icon 401 through its setting screen 450, and the comment "palletize workpiece A" is set for the comment command icon 402 through its setting screen 450. The various components of the teaching device 30 involved in the eighth embodiment cooperate to realize the function of collectively displaying the comments within a certain range in the program display area 300 in the following manner.

[0184] The user can specify a certain range in the program display area 300 by dragging the program display area 300. Fig. 20 As shown in FIG. 6 , it is assumed that a rectangular designated area 621 is designated. The designated area 621 is displayed by a frame line or the like. Such an area designation operation may also be provided as a function of the program creation unit 131 .

[0185] The comment display and non-display setting unit 133 is set to display the comment of the comment display icon in the designated area 621. In this case, even if the comment display check box 481 in the comment display icon is not checked (the comment is not displayed), the comment display and non-display setting unit 133 displays the comment for the comment command icon in the designated area 621.

[0186] In this case, if Fig. 20 As shown, annotations 401a and 402a are displayed for the annotation command icons 401 and 402 respectively in the designated area 621. When the designated area 621 is cancelled, the annotation display and non-display setting unit 133 restores the annotations of the annotation command icons in the designated area 621 that were in a non-display state before the area designation to a non-display state.

[0187] According to the above configuration, the user can switch between display and non-display of comments at once in program display area 300. The above configuration is useful in a case where the user wants to temporarily check a plurality of comments that are set to be non-displayed at once.

[0188] Furthermore, in the present embodiment, a function of collectively performing settings of annotation command icons can be provided as follows. For example, the annotation display / non-display setting unit 133 can collectively switch the settings of the check boxes 481 of all annotation command icons in the designated area 621 according to the setting of the check box 481 of one annotation command icon in the designated area 621. Such a function is useful for users who wish to collectively operate the settings of a large number of annotation command icons.

[0189] Ninth embodiment

[0190] Next, the teaching device 30 according to the ninth embodiment will be described. The teaching device 30 according to the ninth embodiment is equivalent to a device obtained by partially modifying the function of the teaching device 30A according to the first embodiment with respect to the specific method of setting the switch between display and non-display of annotations. Therefore, the following description will refer to the functional block diagram ( Figure 3 ) is used to illustrate the teaching device 30 involved in the ninth embodiment.

[0191] Fig.21 This is a diagram for explaining a method of switching the setting of display and non-display of annotations in the teaching device 30 according to the present embodiment.

[0192] In this embodiment, according to an operation such as pressing the annotation display switching button 461 or long pressing one of the annotation command icons (for example, Figure 5The function for setting the display and non-display of annotations of each icon is started by performing a predetermined operation such as the annotation command icon 402 in the image. Fig.21 A pop-up menu 630 is displayed as shown. In the pop-up menu 630, a display column 631 of "Position" shows the position (row number) of the icon, and a display column 632 of "Comment Content" shows the comment set for the icon. The "Display" column shows the setting state indicating whether to display or not display the comment (same as the check box 481 ( Figure 5 The state corresponding to the button 633 (etc.)

[0193] The button 633 functions as a toggle button that switches the display and non-display settings each time it is pressed. The user can set the display and non-display of the annotation for the annotation command icon by operating the button 633. The function of activating such a pop-up menu 630 to set the display and non-display of the annotation can also be implemented as a function of the annotation display and non-display setting unit 133.

[0194] According to the above configuration, the user can easily set the display and non-display of the annotation for each icon. Since the position of the annotation command icon and the list of annotation contents are displayed in the pop-up menu 630, the user's convenience regarding the display and non-display setting is improved.

[0195] As described above, according to the embodiments, in programming using the teaching device of industrial machinery, the readability of the program can be improved by inputting comments while preventing the display from becoming complicated due to an increase in the number of comments.

[0196] That is, according to the configuration of each embodiment, it is possible to provide a function of adding annotations in a more convenient form for users who want to use annotations in teaching industrial machinery.

[0197] The present invention has been described above using typical embodiments, but it will be understood by those skilled in the art that changes and various other changes, omissions, and additions may be made to the above-described embodiments without departing from the scope of the present invention.

[0198] The above-mentioned embodiment is an example in which the object of programming by the teaching device is a robot, but the various functions described in the above-mentioned embodiment such as switching the display and non-display of annotations can be applied to teaching devices (programming devices) of various industrial machines including machine tools.

[0199] The program for executing the various actions for switching the display and non-display of annotations described in the above-mentioned embodiments can be recorded on various computer-readable recording media (for example, semiconductor memories such as ROM, EEPROM, and flash memory, magnetic recording media, CD-ROMs, DVD-ROMs, and other optical disks).

[0200] Description of Reference Numerals

[0201] 10: robot; 20: robot control device; 30, 30A, 30B, 30C, 30D, 30E, 30F: teaching device; 40: PC; 21, 31, 41: processor; 22, 32, 42: memory; 23, 35, 46: input / output interface; 33, 43: display unit; 24, 34, 44: operation unit; 45: storage device; 100: robot system; 131: program creation unit; 132, 132F: annotation setting unit; 133, 133B, 133E, 133F: annotation display and non-display setting unit; 134, 134C, 134F: annotation drawing processing unit; 135, 135F: program execution unit; 136, 136F : Program execution status identification unit; 137, 137B, 137D, 137E, 137F: Comment display switching unit; 138: Command execution determination unit; 139A: Program display area display unit; 139B: Comment display area display unit; 140: Icon selection unit; 141: Icon range determination unit; 200: Icon display area; 300, 300F: Program display area; 400: Program creation screen; 401, 402: Comment command icon; 403, 404: Range comment icon; 403s: Start end position; 403e: End end position; 450: Setting screen; 461: Comment display switching button; 471: Comment input bar; 490: Comment display area.

Claims

1. A teaching device, which is a teaching device for industrial machinery, comprising: a program creation unit that generates a program creation screen for creating a program for the industrial machine; an annotation setting unit that receives settings of annotations related to commands constituting the program; and The annotation display switching unit is used to switch between display and non-display of the set annotation on the display screen.

2. The teaching device according to claim 1, in, The commands are described by icons representing functions constituting the program.

3. The teaching device according to claim 1, in, The commands are described as text-based command statements.

4. The teaching device according to any one of claims 1 to 3, in, The apparatus further comprises an annotation display and non-display setting unit for accepting a user operation for switching whether to display the annotation on the display screen. The annotation display switching unit switches display and non-display of the annotation on the display screen according to the accepted user operation.

5. The teaching device according to any one of claims 1 to 3, in, The apparatus further comprises a comment display / non-display setting unit for accepting a setting input for setting whether to display the comment on the display screen for each of the commands. The comment display switching unit switches display and non-display of the comment set for each of the commands according to the setting input set for each of the commands.

6. The teaching device according to any one of claims 1 to 3, in, The comment display switching unit automatically switches display and non-display of the comment on the display screen according to an execution state of the program.

7. The teaching device according to claim 6, in, The comment display switching unit displays the comment while the program is not being executed, and does not display the comment while the program is being executed.

8. The teaching device according to any one of claims 1 to 3, in, further comprising a comment display / non-display setting unit for accepting a setting input for setting whether to allow display of comments during execution of the program for each of the commands constituting the program, The comment display switching unit switches between display and non-display of the comment set for each of the commands during execution of the program in accordance with the setting input set for each of the commands.

9. The teaching device according to claim 1 or 2, in, further comprising a command execution determination unit for determining which command is being executed during execution of the program, The comment display switching unit displays a comment set for the command determined by the command execution determination unit to be currently being executed.

10. The teaching device according to claim 1 or 2, in, The comment display switching unit switches display and non-display of the comment on the display screen according to whether the command is in a selected state.

11. The teaching device according to claim 1 or 2, in, The program creation unit presents, on the program creation screen, an image clearly showing in a graphical form a start end position and an end end position of application of the comment in the program.

12. The teaching device according to claim 2, in, Also available: An icon selection unit that receives a selection of one of the plurality of icons constituting the program; and an icon range determination unit for determining whether the icon selected by the icon selection unit is a prescribed icon having a shape that clearly indicates in a graphical form the start end position and the end end position of the annotation applied in the program, or an icon within a range between the start end position and the end end position of the prescribed icon, When the icon range determination unit determines that the specified icon or the icon within the range between the start end position and the end end position is selected, the annotation display switching unit displays the annotations set for the specified icon and the icon within the range between the start end position and the end end position.

13. The teaching device according to any one of claims 1 to 12, in, The comment display switching unit displays the comment in a predetermined area for displaying the program in the program creation screen.

14. The teaching device according to claim 1 or 2, in, The comment display switching unit displays the comment in a predetermined display area whose position is fixed on the display screen.

15. The teaching device according to claim 3, in, The comment display switching unit displays the entire program by omitting a line that becomes blank in the program due to non-displaying of the comment.

Citation Information

Patent Citations

  • Robot teaching device

    CN111843986A

  • Machine tool, machining program editing method for machine tool, and program for machining program editing for machine tool

    CN113518953A

  • Robot system and robot controller

    CN1899774A

  • Method and device for displaying information

    JP2002373007A

  • Robot Control Apparatus And Robot System

    US20080009973A1