The present invention relates to a teaching device for teaching operation to an industrial machine.
In general, it is difficult for a user to grasp the content of a robot program for controlling a robot, and thus annotations for facilitating understanding of the content of the robot program are included in the robot program. PTL 1 relates to a programming device that creates a program for a robot system by arranging graphical symbols in a sequence creation zone, and describes as follows: “Move the robot 1 to position [1] at 300 m/s. The motion format is “linear” and the smoothness of acceleration/deceleration control is 50%. Additionally, as additional information, it is noted that the direction of movement is vertical. Next, SDO [10] is outputted as ON. It is written as additional information that SDO [10] has the content of hand open.” (
PTL 2 describes a configuration example of a program editing screen for creating a machining program of a machine tool (
Readability of a program for controlling an industrial machine can be improved by including annotations in a region where the program is displayed on a display screen of a teaching device. However, when the number of annotations included in a program for controlling an industrial machine increases, the display state of the program may become complex. Therefore, a teaching device having the function of allowing a user, who intends to use annotations when programming an industrial machine, to include annotations in a program in a more convenient form for a user is desired.
One aspect of the present disclosure is a teaching device of an industrial machine including: a program creation unit configured to generate a program creation screen for creating a program of the industrial machine; an annotation setting unit configured to receive an annotation related to a command constituting the program; and an annotation display switching unit configured to switch between display and non-display of the set annotation on a display screen.
The objects, the features, and the advantages, and other objects will become more apparent from the detailed description of typical embodiments of the present invention illustrated in accompanying drawings.
Next, embodiments of the present disclosure will be described with reference to drawings. The same configuration portion or the same functional portion is denoted by the same reference sign in the referred drawings. A scale is appropriately changed in the drawings in order to facilitate understanding. An aspect illustrated in the drawing is one example for implementing the present invention, and the present invention is not limited to the illustrated aspect.
Hereinafter, a teaching device according to a first embodiment to a ninth embodiment will be described. Since a configuration of a robot system including the teaching device is common in the first embodiment to the ninth embodiment, the configuration of the robot system common to each of the embodiments and a hardware configuration of each apparatus constituting the robot system will be first described with reference to
The robot controller 20 controls motion of the robot 10 according to an instruction from the teaching device 30 or a motion program loaded in the robot controller 20. Various tools can be mounted as an end effector on an arm tip portion (flange portion) of the robot 10, and the robot 10 can be controlled to perform various pieces of work. For example, by installing a hand and a sensor (such as a visual sensor and a force sensor) on the arm tip portion, the robot 10 can be controlled to perform various pieces of work such as work for picking up a workpiece, palletizing, and precision fitting.
The teaching device 30 (or the PC 40) is configured to allow a user to carry out programming using a command icon (hereinafter also simply referred to as an icon) representing a function constituting a control program of the robot 10 (i.e., representing a command of robot control) in addition to programming on a text basis. Furthermore, the teaching device 30 provides a function of adding an annotation in a more convenient form for a user in programming of a robot. The PC 40 is configured to have the same function as that of the teaching device 30 in regard to teaching of the robot 10.
Hereinafter, the teaching device 30 according to the first embodiment to the ninth embodiment will be described. The first embodiment to the fifth embodiment and the seventh embodiment to the ninth embodiment relate to a function for carrying out programming by an icon among functions of the teaching device 30. The sixth embodiment relates to a function for carrying out programming on a text basis among the functions of the teaching device 30. The teaching devices according to the first embodiment to the sixth embodiment are provided with reference signs 30A, 30B, 30C, 30D, 30E, and 30F, respectively.
As illustrated in
The teaching device 30A further includes an annotation setting unit 132, an annotation display/non-display setting unit 133, an annotation display switching unit 137, and an annotation drawing processing unit 134.
The annotation setting unit 132 receives a setting input of an annotation for an icon arranged in a region (hereinafter, the region is also referred to as a program display region) for creating and displaying a program by arranging a command (such as an icon and a command sentence) on a program creation screen.
The annotation display/non-display setting unit 133 provides a function of receiving an operation input for switching whether to display an annotation set by the annotation setting unit 132 on a display screen of the display unit 33, or a setting input for setting, for each icon, whether to display an annotation.
The annotation display switching unit 137 provides a function of switching between display and non-display of an annotation according to the operation input or the setting input received by the annotation display/non-display setting unit 133.
The annotation drawing processing unit 134 draws or deletes an annotation set by the annotation setting unit 132 on or from the display screen according to an instruction on whether to display the annotation from the annotation display switching unit 137.
As illustrated in
In the program creation screen 400, the user selects a programming tab 261 when the user carries out programming. The user carries out programming by selecting a desired icon from the icon display region 200 and arranging the icon in the program display region 300 by, for example, a drag-and-drop operation. In the example in
On the other hand, by selecting an icon in the program display region 300 by, for example, putting a cursor on the icon, and selecting a detail tab 262, the user can open a setting screen for carrying out detailed setting on the icon. Alternatively, when an icon is selected in the program display region 300, a setting screen of the icon may be activated.
The user can execute a program by carrying out a predetermined operation while icons are arranged in the program display region 300. A program constituted by icons arranged in the program display region 300 can be entirely collectively executed, or a program can be stopped halfway. Alternatively, a program can be executed step by step for each command icon. Execution in a step-by-step manner is effective when a program is checked while a content of the program created by the user and motion of a robot are compared on a one-by-one basis.
A switching function between display and non-display of an annotation by the teaching device 30A will be described with reference to
The wide pickup icon 311 includes, as detailed setting, a stand-by position for approaching a target object, a holding position at which the target object is approached and held, and the like, and achieves motion for picking up a workpiece by the pickup icon 311 and an icon (herein, the hand close icon 312) included in a range of the pickup icon 311. It should be noted that the annotation command icon 401 is also included in the range of the pickup icon 311, and the annotation command icon 401 is also executed and an annotation is displayed in response to execution of the pickup icon 311. The wide FOR loop icon 314 includes, as detailed setting, a condition for executing each command in the FOR loop icon 314, and achieves a function of palletizing a workpiece by the FOR loop icon 314 and each icon arranged in a range of the FOR loop icon 314.
In the program display region 300, a portion of the entire program 501 that can be displayed in the program display region 300 is displayed. The user can horizontally scroll display of the program display region 300 by carrying out a predetermined operation, and display the other portion of the program 501. When the program 501 is executed, icons arranged in the program display region 300 may be horizontally scrolled so that, for example, a command (icon) being currently executed is located at the center of the program display region 300.
The user inserts the annotation command icon 401 between the pickup icon 311 and the hand close icon 312 in order to provide an annotation to a portion related to the workpiece pickup motion attained by the pickup icon 311 and the hand close icon 312. The annotation command icon provides a function of displaying, in a position where the annotation command icon is arranged or in the vicinity of the position, an annotation set for the annotation command icon. When setting for the annotation command icon is carried out, a setting screen 450 for carrying out detailed setting can be activated below the program display region 300 by carrying out an operation of selecting the annotation command icon (moving the cursor to the annotation command icon, clicking the annotation command icon, and the like).
“Pickup workpiece A” is specified as an annotation sentence for the annotation command icon 401. In the program display region 300, the annotation “pickup workpiece A” (annotation 401a) set for the annotation command icon 401 is displayed in a flag form. By viewing the annotation “pickup workpiece A”, the user can immediately recognize a motion attained by a command (pickup icon 311) located in a position where the annotation command icon 401 is disposed.
In the program display region 300 in
In the setting screen 450 of the annotation command icon 402, “palletize workpiece A” is set as an annotation sentence by the user in the annotation input field 471. As described above, setting of an annotation on the setting screen 450 is provided as a function of the annotation setting unit 132. In this way, the annotation sentence “palletize workpiece A” (annotation 402a) set in the annotation input field 471 is displayed in the program display region 300. Such a display of an annotation is performed by drawing of the annotation by the annotation drawing processing unit 134 under an instruction to display the annotation from the annotation display switching unit 137.
In this way, in the present embodiment, the annotation drawing processing unit 134 displays an annotation set for an annotation command icon in a style that the annotation is recognizably associated with the icon and that the annotation is contained in the program display region 300. It should be noted that
As illustrated in
The annotation display switching button 461 provides a function of collectively switching an annotation set for each annotation command icon to display or non-display.
As illustrated in
It should be noted that, in a configuration in which the check box 481 is provided in a setting screen of each annotation command icon, the annotation display switching button 461 may be omitted or the annotation display switching button 461 may be provided. In a configuration in which both of the annotation display switching button 461 and the check box 481 are provided in a setting screen of each annotation command icon, for example, display and non-display of an annotation may be switched depending on a state of the check box 481 when annotation display is permitted by the annotation display switching button 461, and an annotation may not be displayed regardless of a state of the check box 481 when annotation display is not permitted by the annotation display switching button 461.
In this way, the user can display an annotation set by the user in a desired position in the program display region 300 by arranging an annotation command icon in a desired position in the program display region 300. Further, at the same time, the user can set non-display of an annotation in a situation where annotation display is not desired, for example, when the program 501 is executed and the like.
As in
Hereinafter, the teaching device 30B according to the second embodiment will be described.
The teaching device 30B according to the second embodiment provides functions as follows in regard to display and non-display of an annotation.
The annotation display/non-display setting unit 133B provides, to the annotation display switching unit 137B, information about setting as to whether to permit display of each annotation command icon at the time of execution of a program.
The program execution unit 135 provides a function of executing or stopping a program created on the program display region 300 in response to a user operation by cooperating with a robot controller 20.
The program execution state recognition unit 136 recognizes whether a program is being executed by receiving information about an execution state of the program from the program execution unit 135, and provides information indicating whether the program is being executed to the annotation display switching unit 137B.
The annotation display switching unit 137B instructs the annotation drawing processing unit 134 to switch between display and non-display of an annotation, based on information, which is provided from the annotation display/non-display setting unit 133B, about setting as to whether to permit display of the annotation during program execution, and information, which is provided from the program execution state recognition unit 136, indicating whether the program is being executed.
The annotation drawing processing unit 134 draws or deletes an annotation set by the annotation setting unit 132 on or from the display screen according to an instruction on switching setting between display and non-display of the annotation by the annotation display switching unit 137B.
Hereinafter, a switching function between display and non-display of an annotation by the teaching device 30B according to the second embodiment will be described with reference to
In each of the annotation command icons 401 and 402, it is assumed that a check box 472 that permits display of an annotation during program execution is not checked by default (display of an annotation during program execution is set to be not permitted). The annotation display/non-display setting unit 133B provides the setting information about each annotation command icon to the annotation display switching unit 137B. In this case, the annotation display switching unit 137B operates to switch between display and non-display of an annotation according to information, which is provided from the program execution state recognition unit 136, about whether a program is being executed.
On the other hand,
In this way, in the second embodiment, the teaching device can operate according to the basic operation for setting non-display of an annotation during program execution. While a user who creates a program improves readability of the program by displaying an annotation during creation of the program, the user often pays close attention to the type of a command being currently executed and the types of commands arranged around the command being currently executed during execution of the program, and also pays close attention to how a robot is actually performing motion. Therefore, the operation for automatically setting non-display of an annotation during execution of a program is useful for a user who desires to set non-display of an annotation during program execution and pay close attention to a program execution state.
Next, a case where the teaching device 30B operates according to the functions (F21) and (F22) described above will be described. When a check box 472 for setting whether to permit display of an annotation also at the time of execution of a program is checked (i.e., when setting that permits display of an annotation also at the time of execution of a program is carried out) in a setting screen of the annotation command icon 402 illustrated in
In this case, the annotation display switching unit 137B instructs the annotation drawing processing unit 134 to display the annotation for the annotation command icon 402 also when the program 501 is being executed. As a result, in regard to the annotation command icon 402, the annotation set for the annotation command icon 402 is displayed in the program display region 300 even during program execution. By such operation, an annotation having high importance can also be displayed during program execution, while achieving an advantage that a program can be made easy to see by setting non-display of an annotation during program execution, which is useful for a user.
It should be noted that, also in the teaching device 30B, an annotation display switching button 461 may be provided, and a function of setting non-display of an annotation regardless of whether a program is being stopped or being executed may be added.
The above second embodiment describes the example of the configuration that automatically switches between display and non-display of an annotation according to an execution state of a program. As a configuration example of automatically switching between display and non-display of an annotation according to an execution state of a program, the following is also possible. In this example, display and non-display of an annotation are automatically switched according to an operation mode of the robot controller 20. Specifically, when the robot controller 20 is during automatic operation (Auto mode), an annotation is automatically not displayed as illustrated in
Such a function may be achieved by adding a function of recognizing an operation mode of the robot controller 20 to the program execution state recognition unit 136 in the functional block diagram as illustrated in
Hereinafter, the teaching device 30C according to the third embodiment will be described. The teaching device 30C according to the third embodiment provides functions as follows in regard to switching between display and non-display of an annotation similarly to the teaching device 30B according to the second embodiment.
Furthermore, the teaching device 30C operates to display an annotation in an annotation display region 490 (see
The annotation display region 490 includes three annotation display fields 491, 492, and 493. In the present example, the three annotation display fields 491, 492, and 493 may be arranged such that annotations of icons arranged in the order of execution from a start side (left side of the screen) of the program are displayed, in the annotation display region 490, in the order from the top to the bottom of the annotation display region 490 in the vertical direction. In the present example, an annotation set for the annotation command icon 401 is displayed in the annotation display field 491, and an annotation set for the annotation command icon 402 is displayed in the annotation display field 492. It should be noted that an annotation of a next annotation command icon that has not been displayed yet in the program display region 300 may be displayed in the next annotation display field 493.
When the program 501 is brought into an execution state, 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 in the annotation display fields 491, 492, and 493 in the annotation display region 490 to be in a non-display state. Then, the annotation drawing processing unit 134 deletes the annotations in the annotation display fields 491, 492, and 493 (or may delete the annotation display region 490).
A case where the teaching device 30C operates according to the functions (F31) and (F32) described above will be described. As also illustrated in
With the configuration for displaying an annotation in the fixed annotation display region 490 provided independently of the program display region 300, annotations can be displayed while avoiding occurrence of a situation where the program display region 300 becomes complicated by annotations.
Hereinafter, the teaching device 30D according to the fourth embodiment will be described. The teaching device 30D provides functions as follows in regard to a switching function between display and non-display of an annotation.
The program execution determination unit 138 acquires information about which position a program 501 is currently executed, based on information, which is provided from the program execution unit 135, about an execution state of the program 501, and instructs the annotation display switching unit 137D to set an annotation command icon located at an execution position of the program 501 to be a target of annotation display.
The annotation display switching unit 137D notifies the program display region display unit 139A or the annotation display region display unit 139B of an instruction on whether to display an annotation set for an annotation command icon located at an execution position.
The program display region display unit 139A provides a function of displaying, in a program display region 300, an annotation in a flag form added to an annotation command icon as illustrated in
With reference to
The annotation display/non-display setting unit 133B sends, to the annotation display switching unit 137D, an instruction on setting (setting of a check box 472) as to whether to permit annotation display during program execution. Herein, display of an annotation during execution of the annotation command icon 402 is assumed to be permitted. Therefore, as illustrated in
In the example in
According to the present embodiment, an icon (annotation command icon) located at an execution position is a target of display, and thus there is also an advantage that an annotation is also easy to recognize for a user, in particular, who pays close attention to a position of a command currently executed.
As an additional function to the functions (F41) and (F42) of switching between display and non-display of an annotation described above, whether to permit display of an annotation during a stop of a program may be able to be set for each annotation command icon by providing setting (check box) as to whether to permit display of the annotation during a stop of a program in a setting screen of each annotation command icon. In this case, when the program is stopped in a state of the display screen as illustrated in
The operation example described above is an operation example when the program display region display unit 139A serves to draw an annotation, but the teaching device may be set in such a way that the annotation display region display unit 139B serves to draw an annotation. Hereinafter, a case where the teaching device 30D operates according to the functions (F41) and (F42) described above and the annotation display region display unit 139B serves to draw an annotation will be described with reference to
As illustrated in
In this case, the annotation display region display unit 139B displays, in an annotation display field 492 located at the center in the vertical direction of an annotation display region 490, an annotation set for the annotation command icon 402 currently executed, and also displays the annotation in an emphasized manner. The emphasized display of an annotation can be performed by various ways of changing a character of an annotation to a bold character, changing a color, changing a color or a pattern of an annotation display field, and the like. In the program display region 300, the annotation command icon 402 being currently executed is displayed in an emphasized manner. A manner of emphasized display of an annotation (annotation display field) and a manner of emphasized display of an annotation command icon during execution may be set the same. The emphasized display of an annotation and an icon may be achieved in cooperation between the functional blocks of the teaching device 30D. In this way, an annotation command icon during execution and an annotation displayed in the annotation display region 490 are displayed in an emphasized manner, and thus a user can immediately recognize which annotation command icon is executed, and also immediately recognize an annotation set for the annotation command icon.
In the annotation display region 490, an annotation set for an annotation command icon 401 executed right before the annotation command icon 402 may be displayed in an annotation display field 491 located on an upper row above the annotation display field 492 that displays an annotation of an annotation command icon being currently executed. Further, an annotation set for an annotation command icon (it is assumed that the annotation command icon has not yet entered the program display region 300) to be executed after the annotation command icon 402 may be displayed in an annotation display field 493 located on a lower row below the annotation display field 492.
It should be noted that execution time of an annotation command icon itself is relatively short, and thus display of an annotation in the annotation display region 490 may be maintained for a predetermined period of time since the annotation command icon is executed. Specifically, during a predetermined period of time since execution of the annotation command icon 402 starts and an annotation of the annotation command icon 402 is displayed in the annotation display field 492, the annotation set for the annotation command icon 402 may continue to be displayed in the annotation display field 492 even after execution of the annotation command icon 402 ends.
Hereinafter, the teaching device 30E according to the fifth embodiment will be described. The teaching device 30E provides a function of displaying an annotation in a style in which a range to which an annotation is applied is clearly expressed in a program display region 300.
The annotation display/non-display setting unit 133E is configured to receive
The icon selection unit 140 supports an operation of selecting an icon arranged in the program display region 300. For example, the icon selection unit 140 may indicate a selected state of an icon by changing a color and the like of the icon when the icon is selected by a user operation of putting a cursor on the icon.
The icon range determination unit 141 determines whether an icon selected by the user is included in a range annotation icon, and provides information about a determination result to the annotation display switching unit 137E. When a 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.
When an icon selected by the user is included in a range of a range annotation icon or when a range annotation icon is selected, the annotation display switching unit 137E instructs the annotation drawing processing unit 134 to display annotations set for the range annotation icon and the icon included in the range of the range annotation icon.
Hereinafter, an operation example of a switching function between display and non-display of an annotation by the teaching device 30E will be described with reference to
As illustrated in
In the state of
As a result, as illustrated in
It should be noted that, also in a situation where the annotation command icon 401 or the hand close icon 312 included in the range of the range annotation icon 403 is selected by a user operation, the icon range determination unit 141 determines that the icons are also included in the range of the range annotation icon 403, and the annotations set for the range annotation icon 403 and the annotation command icon 401 are displayed similarly to the state illustrated in
It should be noted that the user can freely set a size in the width direction of a range annotation icon under support by the program creation unit 131. The user is allowed to create a program in a way where the user includes a desired icon in a range of a range annotation icon.
According to such a present embodiment, an annotation associated with a range annotation icon is displayed in a state where the range annotation icon clearly and graphically expresses a range to which an annotation is applied (a start end position and a terminal end position of the range to which the annotation is applied), and thus a user can check a content of the annotation while clearly grasping the range to which the annotation is applied. By displaying a range annotation icon in a selected state in an emphasized manner, the user can more clearly grasp a range to which an annotation is applied.
In the first embodiment to the fifth embodiment described above, the configuration example in which an annotation is set for an annotation command icon or a wide range annotation command icon being a special icon for displaying the annotation is described, but an icon to which an annotation can be set is not limited to the special icon for setting the annotation. For example, a command icon such as a palletizing command icon may be configured in such a way that an annotation can be set thereto. In this case, a setting field of an annotation described above and various check boxes for setting display and non-display of an annotation are provided in a setting screen of the palletizing command icon. In this way, a switching function between display and non-display of an annotation similar to a case where a special annotation command icon and a special range annotation command icon are used can be achieved.
Hereinafter, the teaching device 30F according to the sixth embodiment will be described. The teaching device 30F relates to a configuration in which switching between display and non-display of an annotation is applied to a program on a text basis. The teaching device 30F has a function of switching between display and non-display of an annotation according to whether a program is being executed.
The program creation unit 131 provides various functions for supporting program creation on a text basis, including provision of a program creation screen for creating a program.
The annotation setting unit 132F provides a function of setting an annotation for a program on a text basis.
The annotation display/non-display setting unit 133F provides a function of adding, to each annotation, setting related to display and non-display of an annotation.
The program execution unit 135F has a function of executing a program created in the program creation screen.
The program execution state recognition unit 136F receives information about an execution state of a program from the program execution unit 135F, recognizes whether the program is being executed, and provides information indicating whether the program is being executed to the annotation display switching unit 137F.
The annotation display switching unit 137F instructs the annotation drawing processing unit 134 to switch between display and non-display of an annotation, based on information, which is provided from the annotation display/non-display setting unit 133F, about setting of display and non-display of the annotation, and the information, which is provided from the program execution state recognition unit 136F, indicating whether the program is being executed.
The annotation drawing processing unit 134F draws or deletes the annotation on or from a display screen according to the switching instruction between display and non-display of the annotation by the annotation display switching unit 137F.
Hereinafter, an operation example of a switching function between display and non-display of an annotation by the teaching device 30F will be described with reference to
An annotation is input to the program 511 according to the rules (R1) and (R2) described above. Specifically, each of an annotation “start movement of workpiece A” in a first row and an annotation “end movement of workpiece A” in a 14th row is described after “!”, and each of an annotation “close hand” in a second row, an annotation “rise” in a fourth row, an annotation “move to point A” in a sixth row, an annotation “lower” in an eighth row, an annotation “open hand” in a tenth row, and an annotation “wait” in a 12th row is described after “!!”. As illustrated in
In the present embodiment, the annotation setting unit 132F provides a function of setting, as annotation, text after the first symbol and the second symbol as described above. The annotation display/non-display setting unit 133F provides, to the annotation display switching unit 137F, setting information about whether to permit display of the annotation at the time of execution of a program according to the first symbol and the second symbol. Then, the annotation display switching unit 137F instructs the annotation drawing processing unit 134F to switch between display and non-display of the annotation according to the setting information from the annotation display/non-display setting unit 133F.
In this way, by providing a function of setting non-display of an annotation at the time of program execution, a user can improve readability of the program by displaying all annotations before program execution (during a stop), also reduce the number of annotations displayed during program execution, and avoid complicatedness of the program display region 300A. In a different expression, the user can specify an annotation having a high degree of importance and being desired to be displayed also during program execution.
It should be noted that, also in the teaching device 30F according to the sixth embodiment, an operation button that collectively switches between display and non-display of an annotation in the program display region 300A, such as the annotation display switching button 461 in the teaching device 30A according to the first embodiment, may be provided on a display screen.
Hereinafter, the teaching device 30 according to the seventh embodiment will be described. The teaching device 30 according to the seventh embodiment relates to a specific technique for switching between display and non-display of an annotation and a display style, and corresponds to a modification of a part of the function of the teaching device 30A according to the first embodiment. Thus, the teaching device 30 according to the seventh embodiment will be described below with reference to the functional block diagram (
As illustrated in
In the present embodiment, when the small icon 611 indicating presence of the annotation is selected by a tap operation and the like, the annotation of the annotation command icon 401 corresponding to the small icon 611 is displayed. In a state where the small icon 611 is not selected, a non-display state of the annotation is maintained. The annotation display switching unit 137 cooperates with the program creation unit 131, and achieves such a switching function between display and non-display of an annotation.
Display of an annotation may be performed in a manner as follows in order to improve convenience of a user who uses an annotation function. A content of an annotation displayed when the small icon 611 indicating presence of the annotation is touched may be shortened. In the example in
Then, when the shortened annotation 401a is touched or dragged, the annotation is displayed in an emphasized manner so that the whole sentence is also displayed (annotation 601). Further, in this case, for example, the annotation 601 may be drawn in the frontmost layer so that display of the whole sentence of the annotation 601 is prioritized over the other annotations in the program display region 300.
Further, the display position of the annotation 601 of which the whole sentence is displayed may be movable in the display screen by a drag operation and the like.
The drawing function of an annotation described above can be achieved by the annotation drawing processing unit 134 cooperating with the other functional elements.
According to the configuration as described above, there is an advantage that an annotation needed by a user can be appropriately displayed while a space for displaying an annotation is prevented from being complicated or full.
Furthermore, in the operation described above in the present embodiment, setting as to whether to permit or not permit annotation display by a check box 481 may effectively act. For example, when the check box 481 is not checked (display of an annotation is not permitted), a small icon added to an annotation command icon of this setting may be the small icon 612 indicating absence of an annotation.
Hereinafter, the teaching device 30 according to the eighth embodiment will be described. The teaching device 30 according to the eighth embodiment relates to a specific technique for switching between display and non-display of an annotation and a display style, and corresponds to a modification of a part of the function of the teaching device 30A according to the first embodiment. Thus, the teaching device 30 according to the eighth embodiment will be described below with reference to the functional block diagram (
It is assumed that an annotation “pickup workpiece A” is set for an annotation command icon 401 via a setting screen 450, and an annotation “palletize workpiece A” is set for an annotation command icon 402 via the setting screen 450. A function of collectively displaying annotations located in a specified region in a program display region 300 in cooperation among functional elements of the teaching device 30 according to the eighth embodiment is achieved in a manner as follows.
A user can specify a region in the program display region 300 by a drag operation and the like. Herein, as illustrated in
An annotation display/non-display setting unit 133 makes settings so as to display an annotation of an annotation command icon in the specified region 621. In this case, even when a check box 481 of annotation display in the annotation command icon is not checked (annotation non-display), the annotation display/non-display setting unit 133 displays an annotation for the annotation command icon located in the specified region 621.
In this case, as illustrated in
With the configuration as described above, a user can collectively switch between display and non-display of an annotation in the program display region 300. The configuration described above is beneficial to a user when a plurality of annotations set to non-display are desired to be collectively temporarily checked.
Furthermore, in the present embodiment, a function of collectively making settings of annotation command icons can be achieved as follows. For example, the annotation display/non-display setting unit 133 may collectively switch setting of the check box 481 of all annotation command icons located in the specified region 621 according to setting of the check box 481 of one annotation command icon located in the specified region 621. Such a function is beneficial to a user who desires to collectively carry out setting of many annotation command icons.
Hereinafter, the teaching device 30 according to the ninth embodiment will be described. The teaching device 30 according to the ninth embodiment relates to a specific technique for switching setting between display and non-display of an annotation, and corresponds to a modification of a part of the function of the teaching device 30A according to the first embodiment. Thus, the teaching device 30 according to the ninth embodiment will be described below with reference to the functional block diagram (
In the present embodiment, a function for setting display and non-display of an annotation of each icon is activated in response to a predetermined operation such as, an operation of pressing an annotation display switching button 461 or an operation of pressing and holding one annotation command icon (for example, the annotation command icon 402 in
The button 633 functions as a toggle button that switches setting between display and non-display every time the button 633 is pressed. A user can make setting of display and non-display of an annotation in regard to the annotation command icon by operating the button 633. The function of setting display and non-display of an annotation by activating such a pop-up menu 630 may be achieved as a function by an annotation display/non-display setting unit 133.
According to the configuration as described above, a user can easily make setting of display and non-display of an annotation for each icon. Since a list of positions and annotation contents of annotation command icons is displayed in the pop-up menu 630, convenience of the user in regard to setting of display and non-display improves.
According to each embodiment as described above, in regard to programming of an industrial machine using a teaching device, complicatedness of a display state due to a greater number of annotations can be avoided, while achieving an advantage of improving readability of a program by inputting an annotation.
In other words, according to the configuration of each embodiment, the function of adding an annotation in a more convenient form for a user who intends to use an annotation in teaching of an industrial machine can be provided.
The present invention has been described above by using the typical embodiments, but it will be understood by those of ordinary skill in the art that changes, other various changes, omission, and addition may be made in each of the embodiments described above without departing from the scope of the present invention.
The embodiment described above is the example in which a target of programming by a teaching device is a robot, but various functions described in the embodiments described above of switching between display and non-display of an annotation can be applied to a teaching device (programming device) of various industrial machines including a machine tool and the like.
The program for executing various pieces of motion for switching between display and non-display of an annotation described in the embodiments described above can be recorded in various computer-readable recording media (for example, a ROM, an EEPROM, a semiconductor memory such as a flash memory, a magnetic recording medium, and an optical disk such as a CD-ROM and a DVD-ROM).
This is the U.S. National Phase application of PCT/JP2022/003142, filed Jan. 27, 2022, the disclosures of this application being incorporated herein by reference in its entirety for all purposes.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2022/003142 | 1/27/2022 | WO |