Method for displaying control block group, program for supporting setting of operation sequence of industrial robot, and device for supporting setting of operation sequence of industrial robot

The method improves industrial robot programming by using group display blocks and storage sections to clarify control block relationships, enhancing efficiency and reducing errors in sequence maintenance and reuse.

JP7541231B2Active Publication Date: 2024-08-28DENSO WAVE INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2020119839
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-07-13
Publication Date
2024-08-28
Estimated Expiration
2040-07-13

AI Technical Summary

Technical Problem

Existing visual programming methods for industrial robots lack clear indication of the relationship between control blocks, leading to difficulties in understanding the creator's intentions, which can result in setting errors and reduced reliability during maintenance and sequence reuse.

Method used

A method and apparatus that utilize group display blocks and storage sections to accommodate and visually indicate the relationship between control blocks, allowing users to clearly define and maintain operation sequences, reducing errors and improving efficiency.

Benefits of technology

Enhances work efficiency and reduces setting errors by clearly indicating the relationship between control blocks, facilitating maintenance and reuse of operation sequences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007541231000014
    Figure 0007541231000014
  • Figure 0007541231000003
    Figure 0007541231000003
  • Figure 0007541231000001
    Figure 0007541231000001
Patent Text Reader

Abstract

To provide a display method of a control block group, a setting support program of a motion sequence of an industrial robot and a setting support device of motion sequence of the industrial robot which improve operation efficiency and reduce setting errors upon confirmation and setting, etc. of the motion sequence of the industrial robot.SOLUTION: Motion sequence of a robot is preset based on species and arrangement of control blocks arranged on a script area in a display of a setting device. A group display block 74 as one of auxiliary blocks is displayed on a block palette on the display. On the group display block 74, a storage part 74b capable of storing a plurality of other control blocks is added when being arranged onto the script area based on an operation of a user. Other control blocks B11, B12 are stored into the storage part 74b by an operation of the user and, thereby, the control blocks B11, B12 are displayed as one lump.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method for displaying a group of control blocks, a program for supporting the setting of an operation sequence of an industrial robot, and a setting support device for an operation sequence of an industrial robot. [Background technology]

[0002] One method for setting an operation sequence for an industrial robot is one in which a user arranges a plurality of types of control blocks that define the robot's operation in a work area on a display screen, and the operation sequence can be set (a control program can be created) based on the types and arrangement of the control blocks arranged in the work area (see, for example, Patent Document 1). With this method (so-called visual programming), even a user with little knowledge of programming languages ​​can easily set an operation sequence. This is desirable for promoting the spread of robot systems. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2005-309593 A Summary of the Invention [Problem to be solved by the invention]

[0004] Here, in the above-mentioned visual programming, due to reasons such as simplification of display, there is no information showing the relationship between the control blocks, and it is assumed that the relationship (unity) between the arranged control blocks becomes weak. In other words, it becomes difficult to understand the intention of the user (creator) who set the operation sequence, and for example, when performing maintenance of the control program or when referring to an existing control program when creating a new control program, it is concerned that it will be difficult to understand the contents of the control program while taking into account the hidden intention of the creator. If another user misinterprets the program and reuses the control blocks in another operation sequence, a setting error (program error) may occur, such as the robot moving differently from the expected movement. Such an error is undesirable because it reduces the reliability of the robot's movement. On the other hand, the necessity of performing maintenance work while checking the relationship (unity) between the control blocks at any time by referring to various materials such as a manual is an obstacle to improving the work efficiency. Thus, there is still room for improvement in the configuration related to the setting of the operation sequence in order to improve the work efficiency and reduce the setting error.

[0005] The present invention has been made in consideration of the above problems, and a main object of the present invention is to improve work efficiency and reduce setting errors when checking and setting the operation sequence of an industrial robot. [Means for solving the problem]

[0006] Means for solving the above problems will be described below.

[0007] First means: A method for displaying a group of control blocks that is applied to a robot system (robot system 10) that includes an industrial robot (robot 20) that operates based on a set operation sequence, in which control blocks that define the operation of the industrial robot are arranged by a user in a predetermined area (script area 65) on a display screen (display 41), and the operation sequence is set based on the types and arrangement of the control blocks arranged in the predetermined area, the method comprising the steps of: an additional display step of additionally displaying a storage section (e.g., storage section 74b) configured to be able to store a plurality of the control blocks in the predetermined area when a predetermined display condition is established; a group display step of displaying the group of the control blocks in the predetermined area by storing the control blocks in the storage section based on a storing operation by a user; A method for displaying a group of control blocks having the above-mentioned items.

[0008] According to the first means, a part of the control block group arranged in a predetermined area can be displayed in a state of being accommodated in the accommodation section. By clearly indicating the grouping of the control blocks using the accommodation section, the intention of the user who set the operation sequence, that is, the relationship between the control blocks, becomes clear. This makes it possible to suitably improve the work efficiency and reduce work errors, for example, when performing maintenance on the control program (control block group) that defines the operation sequence, or when setting a new operation sequence by reusing the control program.

[0009] Second means: As a block displayed in the predetermined area, a special block (group display block 74) including the container is provided as a non-control block that does not contribute to the setting when the operation sequence is set based on the type and arrangement of the control blocks arranged in the predetermined area, In the additional display step, the special block is displayed in the predetermined area to additionally display the storage section in the predetermined area, In the group display step, a plurality of the control blocks are accommodated in the accommodation portion of the special block displayed in the predetermined area.

[0010] After displaying a special block that does not contribute to the setting of the operation sequence, multiple control blocks are accommodated in the accommodation section of the special block, thereby clearly indicating that the control blocks are a single group. Note that the control blocks may be directly accommodated in the accommodation section, or may be accommodated while being accommodated in another special block.

[0011] Third means: the special block has the storage section and a character string display section (block body section 74a) for displaying a character string, The method further includes a step of editing the character string displayed on the character string display section based on an editing operation by a user.

[0012] By editing the string, the intention of the grouping of multiple control blocks contained in the container of the special block can be made clear.

[0013] A fourth means includes a step of hiding the character string display portion of the special block based on a display switching operation by a user.

[0014] If the character string display section can be switched to non-display mode, the restriction on the number of blocks displayed in a given area can be alleviated, which is preferable in terms of encouraging the use of the comment function described above.

[0015] Fifth means: In the additional display step, when a specified operation is performed, including an operation of designating one of the control blocks displayed in the specified area, the specified display condition is established, and the storage section is added to the designated control block.

[0016] A container is added to the control block being displayed in the specified area, and other control blocks are contained in this container, thereby making it possible to clearly indicate that there is some relationship between those control blocks. This configuration is advantageous in avoiding the specified area being easily overwhelmed by the function of clearly indicating grouping.

[0017] Sixth Means: The additional display step adds the accommodation section to the control block to which the accommodation section is to be added, on a later side in the arrangement direction of the control blocks in the predetermined area.

[0018] By adding a storage section at the position shown in this means, it is possible to prevent the order of the control blocks from being disturbed even when a group is displayed.

[0019] Seventh means: The seventh means includes a step of making the storage section added to the control block invisible when all the other control blocks stored in the storage section are removed from the storage section.

[0020] By hiding the storage section when all of the control blocks contained therein are removed from the storage section, it is possible to easily prevent the function of adding a storage section to a control block from unnecessarily taking up space in a specified area.

[0021] Eighth means: A step of omitting or simplifying the display of the inside of the storage section based on a display switching operation by a user; The control block includes a branch block (branch formation block 73) that generates a branch in the operation sequence, The branch block is composed of a plurality of condition blocks (e.g., condition blocks B62a, B62b) displayed for each branch condition, In the additional display step, when the branch block is placed in the predetermined area, the predetermined display condition is satisfied, and the container is added to each of the condition blocks; Each of the containers added to the condition blocks can accommodate other control blocks following the condition block.

[0022] By arranging a branch block in a predetermined area, a branch can be generated in an operation sequence. In a branch, it is assumed that the intention of the program is likely to be misunderstood because it is unclear which control blocks are directly related to the branch. Therefore, as shown in Means 8, by adding a storage section to each condition block and making it possible to store a control block individually in each storage section, it is possible to suitably suppress the occurrence of such inconvenience. In addition, when a group of blocks in a storage section is hidden or simplified, that is, when a branch is closed, it becomes clear which blocks are to be hidden or simplified. This is preferable in terms of improving convenience when using a branch block.

[0023] The ninth means includes a step of omitting or simplifying the display of the inside of the storage section based on a display switching operation by a user.

[0024] If the display of the inside of the block housing can be omitted or simplified, the restriction on the number of blocks to be displayed in a given area of ​​the display screen can be suitably relaxed.

[0025] In addition, instead of the configuration shown in this means, it is also possible to "include a step of switching the storage section between a displayed state and a non-displayed state based on a display switching operation by a user."

[0026] 10. A program installed in a computer (setting device 40), A program for supporting the setting of an operation sequence of an industrial robot, which causes the computer to execute each of the steps.

[0027] If the operation sequence is configured using the setting support program described in the tenth aspect, it is possible to appropriately reflect the intention that cannot be fully understood from the arrangement of control blocks, which contributes to improving the work efficiency and reducing work errors when setting the operation sequence of an industrial robot.

[0028] 11. A setting support device (setting device 40) that is applied to a robot system (robot system 10) having an industrial robot (robot 20) that operates based on a set operation sequence and supports a user in setting the operation sequence, comprising: Control blocks that define the operation of the industrial robot are arranged in a predetermined area (script area 65) on a display screen (display 41) based on a placement operation by a user, and the operation sequence is set based on the type and arrangement of the control blocks arranged in the predetermined area. an additional display means for additionally displaying, in the predetermined area, a storage section (e.g., storage section 74b) configured to be capable of storing a plurality of the control blocks when a predetermined display condition is satisfied; a group display means for displaying a group of the control blocks in the predetermined area by storing the control blocks in the storage portion based on a storing operation by a user; An apparatus for supporting setting an operation sequence of an industrial robot having the above-mentioned configuration.

[0029] According to the setting support device shown in the eleventh aspect, a part of the control block group arranged in a predetermined area can be displayed in a state where it is accommodated in the accommodation section. By clearly indicating the grouping of the control blocks using the accommodation section, the intention of the user who set the operation sequence, that is, the relationship between the control blocks, becomes clear. This makes it possible to suitably improve the work efficiency and reduce work errors, for example, when performing maintenance on a control program (control block group) that defines an operation sequence or when setting a new operation sequence by reusing the control program. [Brief description of the drawings]

[0030] [Figure 1] 1 is a schematic diagram showing a robot system according to a first embodiment. [Diagram 2] FIG. [Diagram 3] FIG. 3 is a schematic diagram showing the functions of various control blocks. [Figure 4] A schematic diagram illustrating the variations in interpretation that can occur when unity is not made explicit. [Diagram 5] FIG. 13 is a schematic diagram showing the behavior when a group display block is selected. [Figure 6] FIG. 1 is a schematic diagram showing a state in which a group of control blocks is displayed. [Figure 7] 11 is a flowchart showing a group display process executed by a CPU of the setting device. [Figure 8] FIG. 11 is a schematic diagram illustrating a grouping flow. [Figure 9] FIG. 11 is a schematic diagram illustrating a grouping flow. [Figure 10] FIG. 11 is a schematic diagram illustrating a grouping flow. [Figure 11] 10 is a flowchart showing a group display process according to the second embodiment. [Figure 12] FIG. 11 is a schematic diagram illustrating a grouping flow. [Figure 13] FIG. 13A is a schematic diagram showing a comparative example, and FIG. 13B is a schematic diagram showing a grouping of control blocks in a branch creation block in the third embodiment. [Figure 14] FIG. 13 is a schematic diagram showing a modified example of the grouping flow. [Figure 15] FIG. 13 is a schematic diagram showing a modified example of the group display block. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0031] <First embodiment> Hereinafter, a first embodiment embodied in a robot system for use in a machine assembly factory or the like will be described with reference to the drawings.

[0032] As shown in FIG. 1, the robot system 10 includes a robot 20, which is a vertical articulated industrial robot, and a controller 30 that controls the robot 20, and the robot 20 and the controller 30 are connected so as to be able to communicate with each other.

[0033] The robot 20 is composed of a robot body and a servo amplifier attached to the robot body. The robot body has a base 21 fixed to a base plate, a six-axis arm 22 attached to the base 21, and a hand 23 (tool) provided at the tip of the arm 22. The arm 22 is composed of six movable parts connected to each other, and a motor for driving the movable parts and an encoder for detecting the rotation angle of each motor are provided for each joint. In addition, the arm 22 is provided with a motor for opening and closing the hand 23 (for driving the tool) and an encoder for detecting the rotation angle of the motor. The servo amplifier is provided with a communication unit that communicates with the controller 30, and a control unit that performs drive control of the motors for each joint and the motor for the hand 23 based on commands from the controller 30 and rotation angles detected by the encoder.

[0034] The controller 30 is capable of communicating with a setting device 40 (corresponding to a "setting assistance device") in which a setting assistance program (setting assistance application) for setting an operation sequence of the robot 20 is installed. The setting device 40 is a computer having a display 41, a keyboard 42, and a mouse 43, and sets an operation sequence based on the operation of the keyboard 42 and the mouse 43 by a user. The set operation sequence is transmitted from the setting device 40 to the controller 30, and the controller 30 controls the robot 20 in accordance with the received operation sequence.

[0035] The configuration relating to the setting of an operation sequence using the setting assistance program will be described below.

[0036] In the setting device 40, by starting the setting assistance program, a setting assistance screen (corresponding to a "display screen") is displayed on the display 41. This screen is divided into left and right halves as shown in Fig. 2. The left side of the screen displays a block palette 61 listing various icons such as control blocks that define the operation steps of the robot 20, auxiliary blocks for assisting in program creation, operation buttons 76-79 for block operations, and operation buttons 81-83 for program operations, while the right side of the screen displays a script area 65 (creation area) for creating a control program for the robot 20.

[0037] The user operates the cursor C linked to the mouse 43 to select blocks 71 to 75 displayed on the block palette 61, drags and drops the selected blocks into the script area 65 to place them in the script area 65, and arranges the arranged blocks in a predetermined direction in the script area 65 to set a movement sequence for the robot 20. That is, the movement sequence for the robot 20 is determined by the types and arrangement of the blocks arranged in the script area 65. In other words, the control program for the robot 20 is constructed by the types and arrangement of the blocks arranged in the script area 65. According to this method (so-called visual programming), even a user who has little knowledge of programming languages ​​can easily set a movement sequence.

[0038] In addition, considering that the setting device 40 assists the user in creating a control program, the setting device 40 can also be called a "creation support device" that assists in the creation of a control program, and the setting support program can also be called a creation support program (creation support application).

[0039] Here, the functions (roles) of the blocks 71 to 75 used for setting (programming) an operation sequence will be additionally described with reference to FIG.

[0040] The movement control block 71 is a control block that specifies the movement of the arm 22 of the robot 20. After placing the movement control block 71 in the script area 65, the user can individually specify various information such as the target position, movement speed, and trajectory from the detailed setting menu (properties) of the movement control block 71.

[0041] The hand control block 72 is a control block that prescribes the movement of the hand 23 of the robot 20. After placing the hand control block 72 in the script area 65, the user can specify whether to open or close the hand 23 from the detailed setting menu (properties) of the hand control block 72.

[0042] The branch formation block 73 is a control block that specifies the branching of an operation sequence. After placing the branch formation block 73 in the script area 65, the user can specify branch conditions from the detailed setting menu (properties) of the branch formation block 73.

[0043] The coordinate change block 75 is a control block that changes the tool coordinates. After placing the coordinate change block 75 in the script area 65, the user can specify new tool coordinates to be referenced from the detailed setting menu (properties) of the coordinate change block 75.

[0044] In the script area 65, these control blocks are arranged vertically in a linked state, and an operation sequence is set so that the operation steps proceed in sequence from the upper control block to the lower control block. In this embodiment, a small gap is provided between the linked control blocks, but the size of this gap is arbitrary. However, an excessively large gap may cause the user to mistakenly recognize whether the control blocks are linked or not. Therefore, it is preferable that the gap is smaller than the minimum vertical width of the control blocks. Alternatively, the gap may be set to 0 so that the control blocks abut against each other.

[0045] In the visual programming described above, information showing the relationship between control blocks is omitted to simplify the display. In such a configuration, it is expected that the relationship (unity) between the arranged control blocks will be weak. In other words, it will be difficult to understand the intention of the user (creator) when setting the operation sequence. A specific example will be described below with reference to Figure 4.

[0046] FIG. 4(a) shows a group of control blocks that prescribe four operation steps: move to point A (Pa) → open hand 23 → move to point B (Pb) → close hand 23. Specifically, the four control blocks are arranged in the order of movement control block B1 → hand control block B2 → movement control block B3 → hand control block B4 from the top. When trying to read the creator's intention from the four control blocks B1 to B4 arranged in this way, the following two interpretations arise. That is, as shown in FIG. 4(b), when the control blocks B1 to B4 are divided into a group of control blocks B1 to B2 and a group of control blocks B3 to B4, the interpretation "I want to open the hand at point A" arises. On the other hand, as shown in FIG. 4(c), when the control blocks B1 to B4 are divided into a group of control blocks B1 and a group of control blocks B2 to B4, the interpretation "I want to open the hand before moving to point B" arises.

[0047] When performing maintenance on an operation sequence (control program) or when referring to an existing operation sequence (control program) when creating a new operation sequence (control program), there is a concern that it may be difficult to understand the contents of the operation sequence while taking into account the hidden intention of the creator of the operation sequence. If another user misinterprets the control blocks and reuses them in another operation sequence, a setting error (program error) may occur, such that the movement of the robot 20 is different from that expected. Such an error is undesirable because it reduces the reliability of the operation of the robot 20. One of the features of the present embodiment is that it is designed to take such circumstances into consideration. Hereinafter, the design will be described with reference to Figs. 3, 5, and 6.

[0048] The auxiliary blocks described above include a group display block 74 for displaying a collection (group) of multiple blocks (see FIG. 3). The form of the group display block 74 changes when it is placed in the script area 65. Specifically, as shown in FIG. 5, when it is placed in the script area 65, a storage section 74b capable of storing other blocks is added below a block main body section 74a constituting the group display block 74. That is, in the block palette 61, the display of the group display block 74 is simplified so that it has only the block main body section 74a, and when it is placed in the script area 65, the group display block 74 is expanded so that it has the block main body section 74a and the storage section 74b.

[0049] The storage section 74b has a rectangular frame line FL, and the area surrounded by this frame line FL is the storage area SE. The size of the storage section 74b is automatically changed depending on the number and size of the blocks stored in the storage section 74b.

[0050] The block body 74a is provided with a comment area NE for displaying a comment (character string), and in the initial state of placement, the comment is set to "group." This comment can be changed arbitrarily by the user performing a change operation (e.g., double-clicking) on ​​the block body 74a.

[0051] In the example shown in Figure 6, the movement control block B1 and the hand control block B2 are stored in the storage section 74b of the group display block 74, and the comment of the group display block 74 has been changed to "Release at point A." By applying this configuration to the example shown in Figure 4(a), it becomes self-evident that the intention of the program creator is the pattern in Figure 4(b). This makes it possible to prevent the above-mentioned mistakes due to the inconsistencies (mistakes) in interpretation mentioned above.

[0052] Next, a group display process executed by the CPU 45 of the setting device 40 as part of the regular process will be described with reference to FIG.

[0053] In the group display process, first, in step S101, it is determined whether or not a group display block 74 has been placed in the script area 65. If a negative determination is made in step S101, the process proceeds to step S102. In step S102, it is determined whether or not the user has performed an operation (drag & drop) to add the group display block 74 to the script area 65. If a negative determination is made in step S102, the group display process is terminated as is. If a positive determination is made in step S102, the process proceeds to step S103, where an addition process for the group display block 74 is performed. This addition process adds a group display block 74 (see FIG. 6) consisting of a block main body portion 74a and a storage portion 74b to the position specified by the user.

[0054] Returning to the explanation of step S101, if a group display block 74 is placed in the script area 65, an affirmative determination is made in step S101 and the process proceeds to step S104. In step S104, it is determined whether or not the comment displayed in the comment area NE of the block main body 74a is being changed. If an affirmative determination is made in step S104, a comment change process is executed in step S111, and then the group display process is terminated.

[0055] If a negative determination is made in step S104, the process proceeds to step S105. In step S105, it is determined whether or not a block accommodation operation has been performed. If a positive determination is made in step S105, the block accommodation process is executed in step S106, and then the group display process is terminated. In this embodiment, the operation patterns (accommodation patterns) for accommodating blocks are divided into three: pattern A, in which a control block is directly accommodated from the block palette 61, and patterns B and C, in which a control block arranged in the script area 65 is accommodated. Each pattern will be described below with reference to Figs. 8 to 10. Note that each pattern in Figs. 8 to 10 illustrates an example in which the arrangement of the control blocks is the same as that in Fig. 4.

[0056] As shown in FIG. 8, in pattern A, first, the group display block 74 displayed in the block palette 61 is dragged and dropped into the script area 65. As a result, the group display block B23 with the added accommodation section is placed in the script area 65. Next, the movement control block 71 displayed in the block palette 61 is dragged and dropped into the accommodation area SE of the group display block B23. As a result, the movement control block B24 is accommodated (placed) in the accommodation area SE. Similarly, the hand control block 72 displayed in the block palette 61 is dragged and dropped into the accommodation area SE of the group display block B23, more specifically, into a position below the movement control block B24. As a result, the hand control block B25 is accommodated (placed) in the accommodation area SE. At this point, the accommodation area SE of the group display block B23 has a certain amount of blank space in the arrangement direction (vertical direction). This blank space is automatically reduced by connecting the group display block B23 to the movement control block B21 located below it.

[0057] 9, in pattern B, with the movement control block B31 and hand control block B32 to be accommodated placed in the script area 65, the group display block 74 displayed in the block palette 61 is dragged and dropped into the script area 65. This places the group display block B35 with an accommodation section added in the script area 65. Next, the movement control block B31 placed in the script area 65 is dragged and dropped into the accommodation area SE of the group display block B35. This places the movement control block B31 in the accommodation area SE. 31 is accommodated (placed). Similarly, the hand control block B32 arranged in the script area 65 is dragged and dropped into the accommodation area SE of the group display block B35, more specifically, into a position below the movement control block B31. This causes the hand control block B32 to be accommodated (placed) in the accommodation area SE. At this point, there is a certain amount of blank space in the arrangement direction (vertical direction) in the accommodation area SE of the group display block B35. This blank space is automatically reduced by connecting the group display block B35 to the movement control block B33 located below it.

[0058] As shown in FIG. 10, in pattern C, with the movement control block B41 and hand control block B42 to be accommodated placed in the script area 65, the group display block 74 displayed in the block palette 61 is dragged and dropped into the script area 65. As a result, the group display block B45 with an accommodation section added is placed in the script area 65. Next, the lower frame section of the frame line FL in the group display block B45 is dragged and dropped between the hand control block B42 to be accommodated and the movement control block B43 which is not to be accommodated. As a result, the position of the lower frame section is changed from a position above the movement control block B41 to a position between the hand control block B42 and the movement control block B43, and the movement control block B41 and the hand control block B42 are accommodated in the accommodation area SE. At this time, the group display block B 4The position of 5 and the size of the accommodation area SE are automatically changed in accordance with the control blocks B41 to B42.

[0059] Returning to the explanation of the group display process in FIG. 7, if a negative judgment is made in step S105, i.e., if a block accommodation operation has not been performed, the process proceeds to step S107. In step S107, it is judged whether or not a block accommodation operation has been performed for a block accommodated in the group display block. If a positive judgment is made in step S107, the block accommodation process is executed in step S108, and then the group display process is terminated. The accommodation area SE is reduced by performing a block accommodation operation. Note that if a control block is removed while the group display block is connected to another block located above or below, the connection is maintained.

[0060] If a negative determination is made in step S107, the process proceeds to step S109. In step S109, it is determined whether or not a deletion operation of the group display block has been performed. If a negative determination is made in step S109, the group display process is terminated. If a positive determination is made in step S109, the group display block deletion process is executed in step S110, and after executing a block extraction process in step S108, the group display process is terminated. In other words, if a deletion operation of the group display block is performed when a block is contained in the containing area SE of the group display block, the contained block will remain in the script area 65 without being deleted.

[0061] According to the first embodiment described above in detail, the following excellent effects are achieved.

[0062] A part of the control blocks arranged in the script area 65 (corresponding to the "predetermined area") can be displayed in a state where it is accommodated in the accommodation section 74b of the group display block 74 (corresponding to the "non-control block" and "special block"). By clearly indicating the grouping of the control blocks using the accommodation section 74b, the intention of the user who set the operation sequence, that is, the relationship between the control blocks, becomes clear. This makes it possible to suitably improve the work efficiency and reduce setting errors, for example, when performing maintenance of the operation sequence (control program) or when setting a new operation sequence by reusing a part of the control blocks that constitute the operation sequence.

[0063] When the control blocks are connected to each other, a gap is formed between the control blocks. The frame line FL of the group display block 74 is configured to pass through this gap, and overlap between the frame line FL and the control block is avoided. By ensuring a gap between the control blocks even in such a connected state, it is possible to suitably improve the identifiability when displaying a group by the frame line FL.

[0064] The comment in the block body 74a (corresponding to the "character string display section") of the group display block 74 can be changed as desired by the user. This is preferable in that it clearly indicates the intention of the grouping of control blocks and suppresses inconsistencies in interpretation by other users.

[0065] <Second embodiment> In the first embodiment, a group of control blocks is displayed by accommodating a plurality of control blocks in the accommodation area SE of the group display block 74. This embodiment is similar in that a group of control blocks is displayed by accommodating control blocks in the accommodation area, but the configuration differs from the first embodiment in that the display of the group is realized without using the group display block 74. The following describes the characteristic configuration of this embodiment, focusing on the differences from the first embodiment. First, FIG. 11The group display process executed as part of the periodic process by the CPU 45 of the setting device 40 will be described with reference to FIG.

[0066] In the group display process, first, in step S201, it is determined whether or not a control block accommodation operation has been performed. If a positive determination is made in step S201, the process proceeds to step S202. In step S202, it is determined whether or not a frame line FL is displayed. If the frame line FL is already displayed, the control block accommodation process is executed in step S204, and then the group display process is terminated. If the frame line FL is not displayed, the frame line FL display process is executed in step S203, and then the control block accommodation process is executed in the following step S204, and then the group display process is terminated.

[0067] Here, the storing operation and additional targets of the frame line FL (storage section) in this embodiment will be described with reference to FIG.

[0068] When at least one control block is arranged in the script area 65, other control blocks can be accommodated in the one control block by dragging and dropping other control blocks displayed in the script area 65 or control blocks displayed in the block palette 61 to a position where they overlap the one control block. For example, in the example shown in Fig. 12, a plurality of control blocks B51 to B54 including a movement control block B51 and a hand control block B52 are arranged in the script area 65. By moving the hand control block B52 to a position where it overlaps with the movement control block B51, the accommodation section (frame line FL and accommodation area SE) is accommodated in the movement control block B51, and the hand control block B52 is accommodated in the accommodation area SE.

[0069] In the following description, the control block that accommodates a control block will be referred to as a "parent control block" and the control block that is accommodated will be referred to as a "child control block" as appropriate.

[0070] Returning to the explanation of the group display process in FIG. 11, if a negative determination is made in step S201, i.e., if a control block accommodation operation has not been performed, the process proceeds to step S205. In step S205, it is determined whether or not a child control block removal operation has been performed. If a positive determination is made in step S205, the process proceeds to step S206, where it is determined whether or not another child control block is accommodated in the targeted parent control block. If a negative determination is made in step S206, a process of hiding the frame line FL is performed in step S207. This erases the added frame line FL and accommodation area SE. After the hide process in step S207 is performed, or in step S20 6 If the determination is affirmative in step S204, the process goes to step S208, where the removal process for the child control block that was the target of the removal operation is executed, and the group display process is terminated.

[0071] If a negative judgment is made in step S205, i.e., if a removal operation has not been performed, the process proceeds to step S209. In step S209, it is judged whether or not a parent control block deletion operation has been performed. If a negative judgment is made in step S209, the group display process is terminated. If a positive judgment is made in step S209, the parent control block deletion process is executed in step S210. Thereafter, if the parent control block does not contain a child control block, a negative judgment is made in step S211 and the group display process is terminated, and if the parent control block contains a child control block, a positive judgment is made in step S211 and the removal process of step S208 is executed, and then the group display process is terminated.

[0072] According to the second embodiment described above in detail, the following excellent effects are achieved.

[0073] A container is added to the control block arranged in the script area 65, and other control blocks are contained in this container, so that it is possible to clearly indicate that there is some relationship between those control blocks. This configuration is advantageous in avoiding the predetermined area from being easily overwhelmed by the function of displaying a grouping.

[0074] A container added to a control block is added to the lower side of the control block to which it is added, so that the order of the control blocks is later. By adding a container to such a position, it is possible to prevent the order of the control blocks from being disrupted even when displaying a group.

[0075] The main function of a control block is to set an operation step. In view of this, it is not preferable that the storage section remains even after the display of the group is released, since this reduces the visibility of the arrangement, etc. In this embodiment, when all child control blocks contained in a parent control block are removed from the storage section, the storage section is hidden. With this configuration, it is possible to easily avoid the function of adding a storage section to a control block from unnecessarily compressing the script area 65, and the above-mentioned concerns can be suitably eliminated.

[0076] Here, when creating a control program for a robot using visual programming, the program may be created by first defining a basic motion trajectory by combining movement control blocks, and then fleshing out other detailed movements to the trajectory (program). In light of this situation, being able to add and accommodate other control blocks in a movement control block and display the whole has the technical significance of dramatically improving user convenience.

[0077] <Third embodiment> In this embodiment, the configuration related to the branch-forming block is a characteristic feature. The characteristic configuration of this embodiment will be described below, focusing on the differences from the second embodiment.

[0078] As shown in Fig. 13(a), if the hand control block B61 which is the trigger for branching, the branch formation block B62 which forms the branch according to the result of the control of the hand control block B61 (grasping success / grasping failure), the condition blocks B62a and B62b which indicate the branching conditions, the movement control blocks B63, B64, and B65 which continue when the gripping is successful, the movement control block B66 which continues when the gripping is unsuccessful, the hand control block B67, and the movement control block B68 are simply arranged side by side, it becomes unclear what kind of grouping is formed from the trigger for branching to the operation after the branching occurs. In particular, it is difficult to interpret the creator's intention when it becomes unclear which control block is the grouping related to the branching after the branching occurs, and it is assumed that the above-mentioned setting mistake (program mistake) is likely to occur.

[0079] In this embodiment, when the branch formation block 73 displayed in the block palette 61 is placed in the script area 65 by dragging and dropping, the branch formation block 73 is displayed in a state in which it is divided into a plurality of condition blocks. As shown in Fig. 13(b), the condition blocks B62a and B62b are also targets for adding accommodation sections (frame line FL and accommodation area SE), and when each of the condition blocks B62a and B62b is placed in the script area 65, an accommodation section is added to each of the condition blocks B62a and B62b. These accommodation sections can accommodate other control blocks following each of the condition blocks B62a and B62b based on the user's accommodation operation.

[0080] In the specific example shown in FIG. 13(b), the accommodation area SE of the condition block B62a resulting in successful grasping contains the movement control block B63, but does not contain the subsequent movement control blocks B64 and B65. This clearly indicates that the group with the condition branch resulting in successful grasping is up to the movement control block B63. In addition, the accommodation area SE of the condition block B62b resulting in unsuccessful grasping contains the movement control block B66 and the hand control block B67, but does not contain the subsequent movement control block B68. This clearly indicates that the group with the condition branch resulting in unsuccessful grasping is up to the hand control block B67. In this way, if it is clear which control block is directly related to the branch in the branch, it is possible to preferably suppress fluctuations in the interpretation of the intention of the program.

[0081] <Other embodiments> The present invention is not limited to the contents of the above-described embodiments, and may be implemented, for example, as follows. Each of the following configurations may be applied individually to each of the above-described embodiments, or may be applied to each of the above-described embodiments in combination in part or in whole. It is also possible to arbitrarily combine all or part of the various configurations shown in each of the above-described embodiments. In this case, it is preferable that the technical significance (effects to be exerted) of each of the configurations to be combined is guaranteed.

[0082] In each of the above embodiments, the frame line FL is used to clearly indicate the accommodation area SE, but it is also possible to omit displaying this frame line FL. It is sufficient that the configuration is such that at least the user can distinguish the accommodation area SE from other areas, and the specific configuration is arbitrary. For example, the color of the accommodation area SE may be made different from the other areas to make the accommodation area SE identifiable. The shape of the frame line FL is not limited to a rectangle and is arbitrary. For example, it can be a circle, an ellipse, or a polygon. In addition, it is sufficient that the boundary between the inside and outside can be clearly indicated, and it is not necessarily necessary for the frame line FL to be a ring.

[0083] In the above-described embodiments, the operation sequence setting program (setting assistance program) is provided to the user via the Internet, but the present invention is not limited to this. For example, a storage medium such as a CD-ROM or USB memory storing the operation sequence setting program may be provided to the user. Alternatively, a setting device 40 with the operation sequence setting program installed may be provided to the user.

[0084] The specific configuration of the setting device 40 that sets the operation sequence for the robot is arbitrary. For example, it may be a mobile terminal (including a teaching pendant) such as a tablet or a smartphone.

[0085] In the above embodiments, when a deletion operation of a group display block is performed, the group display block is deleted while the other blocks contained in the group display block remain in the script area 65. However, this can also be configured as follows. That is, when a deletion operation of a group display block is performed, the other blocks contained in the group display block may also be deleted. Also, when a melting operation (ungrouping operation) of a group display block is performed, the group display block is deleted while the other blocks contained in the group display block remain in the script area 65, and when a deletion operation of a group display block is performed, the other blocks contained in the group display block may also be deleted.

[0086] · It may be possible to edit comments on control blocks as well, in the same way as with group display blocks.

[0087] In the first embodiment, a group of control blocks is displayed by adding the control blocks to the group display block 74 displayed in the script area 65 afterwards, but instead of or in addition to this, it is also possible to configure the group display block to be applied (added) to the control blocks displayed in the script area 65 afterwards. For example, as shown in the schematic diagram of Fig. 14, a configuration may be adopted in which a group display block B75 is displayed with the control blocks B71, B72 accommodated in the accommodation section by selecting a plurality of control blocks B71, B72 displayed in the script area 65, displaying an operation menu, and selecting a grouping item from the operation menu.

[0088] The group display block 74 shown in the first embodiment is configured to constantly display comments such as the group name, but it may be configured to display the comment in a pop-up only when a specified display operation is performed by the user (for example, an operation of placing the cursor C on the group display block).

[0089] In addition, the group display block 74 may be configured to switch display states (presence or absence of a block body portion, etc.) based on a switching operation by the user. For example, as shown in the schematic diagram of FIG. 15, the display states of the group display block 74 may be a first display state in which both the block body portion 74a and the storage portion 74b are displayed and various blocks stored in the storage portion 74b are clearly indicated, a second display state in which both the block body portion 74a and the storage portion 74b are displayed and the display of various blocks stored in the storage portion 74b is simplified or omitted, and a third display state in which the display of the block body portion 74a is omitted and the storage portion 74b is displayed and various blocks stored in the storage portion 74b are clearly indicated, and the first display state, the second display state, and the third display state may be switched based on a switching operation by the user. With such a configuration, the constraint on the number of blocks displayed in the script area 65 can be relaxed. This is preferable in terms of encouraging the use of the comment function described above.

[0090] In particular, when the second display state is displayed as shown in the center of Fig. 15, it is preferable to display information about various blocks such as control blocks contained therein in a simplified manner on the storage section, etc. For example, it is preferable to display the number of contained blocks, or to display an overview of the contained blocks using simple comments. This makes it possible to prevent the contents of the program from becoming extremely difficult to understand even when the display is simplified.

[0091] In the second display state, the display of the storage section itself may be omitted. Even in such a case, it is preferable to easily distinguish between a state in which other control blocks are stored and a state in which they are not stored. For example, the display color of the block main body may be changed depending on the presence or absence and number of stored blocks. Specifically, the color may be "white" when no blocks are stored, "blue" when 1 to 3 blocks are stored, "yellow" when 4 to 10 blocks are stored, and "red" when 11 or more blocks are stored. Incidentally, the switching function between the first display state / second display state in the modified example of FIG. 15 may be applied to the control block with the storage section shown in the second and third embodiments.

[0092] The group display block 74 shown in the first embodiment may be configured to be able to accommodate other group display blocks 74. In other words, a hierarchical display of groups may be performed.

[0093] Other control blocks may be accommodated in the coordinate change block 75. With this configuration, the range (control block group) to which the changed tool coordinates are applied can be clearly indicated by a group of control blocks.

[0094] In the second embodiment, the container is automatically added to the control block (parent control block) that contains the control block by moving the other control block to a position where it overlaps with a control block (e.g., a moving control block) that is arranged in the script area 65, but the present invention is not limited to this. For example, the container may be added to the control block by selecting an item for adding a container from the operation menu that is displayed by placing a cursor on the control block that contains the control block.

[0095] In the second embodiment, when all child control blocks contained in a parent control block are removed from the parent control block, the storage section of the parent control block is erased (hidden), but this is not limited to the above. Even when all child control blocks contained in a parent control block are removed, the display of the storage section in the parent control block may be maintained, and the storage section may be erased (hidden) when a user performs an erase operation.

[0096] In the second embodiment, a configuration in which a storage unit that stores a control block is added below the control block is illustrated, but the location where the storage unit is added may be changed as desired. For example, a storage unit may be added above the control block (downstream in the program progression). [Explanation of symbols]

[0097] 10... robot system, 20... robot, 21... base, 22... arm, 23... hand , 30...controller, 40...setting device, 41...display, 45...CPU, 61...block palette, 65...script area, 74...group display block, 74a...block main body, 74b...accommodation section, NE...comment area, SE...accommodation area, FL...frame line.

Claims

1. A method for displaying a group of control blocks, which is applied to a robot system including an industrial robot that operates based on a set operation sequence, in which control blocks that define the operation of the industrial robot are arranged in a predetermined area on a display screen by a user, and the operation sequence is set based on the types and arrangement of the control blocks arranged in the predetermined area, and which displays a group of control blocks in the predetermined area when the control blocks are arranged in the predetermined area, comprising: an additional display step of additionally displaying a housing section configured to be able to house a plurality of the control blocks in the predetermined area when a predetermined display condition is satisfied; a group display step of displaying the group of the control blocks in the predetermined area by storing the control blocks in the storage section based on a storing operation by a user; A method for displaying a group of control blocks having the above-mentioned items.

2. a special block including the accommodation portion and which does not contribute to the setting of the operation sequence when the operation sequence is set based on the types and arrangement of the control blocks arranged in the predetermined area is provided as a block displayed in the predetermined area; In the additional display step, the special block is displayed in the predetermined area to additionally display the storage section in the predetermined area, 2. The method for displaying a group of control blocks according to claim 1, wherein in said group display step, a plurality of said control blocks are accommodated in said accommodation portion of said special block displayed in said predetermined area.

3. The special block includes the storage section and a character string display section that displays a character string, 3. The method for displaying a group of control blocks according to claim 2, further comprising the step of editing the character string displayed on said character string display section based on an editing operation by a user.

4. 4. The method for displaying a group of control blocks according to claim 3, further comprising the step of: making the character string display portion of the special block non-displayable based on a display switching operation by a user.

5. 2. The method for displaying a group of control blocks according to claim 1, wherein, in the additional display step, when a predetermined operation including an operation of designating one of the control blocks displayed in the predetermined area is performed, the predetermined display condition is met, and the storage section is added to the designated control block.

6. 6. The method for displaying a group of control blocks according to claim 5, wherein the additional display step adds the accommodation portion to a later side of the control block to which the accommodation portion is to be added in a direction in which the control blocks are arranged in the specified area.

7. 7. The method for displaying a group of control blocks according to claim 5 or claim 6, further comprising a step of hiding the storage section added to the control block when all of the other control blocks stored in the storage section are removed from the storage section.

8. The method further includes a step of omitting or simplifying the display of the inside of the storage unit based on a display switching operation by a user, the control block includes a branch block that generates a branch in the operation sequence; The branch block is composed of a plurality of condition blocks displayed for each branch condition, In the additional display step, when the branch block is placed in the predetermined area, the predetermined display condition is satisfied, and the storage unit is added to each of the condition blocks; 8. The method for displaying a group of control blocks according to claim 5, wherein each of the accommodation sections added to the condition blocks can accommodate other control blocks following each of the condition blocks.

9. 8. The method for displaying a group of control blocks according to claim 1, further comprising a step of omitting or simplifying the display of the inside of the container based on a display switching operation by a user.

10. A program installed on a computer, 10. A program for supporting setting of an operation sequence of an industrial robot, the program causing a computer to execute each step of the method for displaying a group of control blocks according to claim 1.

11. A setting support device that is applied to a robot system including an industrial robot that operates based on a set operation sequence and supports a user in setting the operation sequence, comprising: a configuration in which control blocks that define operations of the industrial robot are arranged in a line in a predetermined area on a display screen based on an arrangement operation by a user, and the operation sequence is set based on the types and arrangement of the control blocks arranged in the predetermined area, an additional display means for additionally displaying, in the predetermined area, a housing section configured to be capable of housing a plurality of the control blocks when a predetermined display condition is satisfied; a group display means for displaying a group of the control blocks in the predetermined area by storing the control blocks in the storage portion based on a storing operation by a user; An apparatus for supporting setting an operation sequence of an industrial robot having the above-mentioned configuration.

Citation Information

Patent Citations

  • Communication equipment equipped with communication network selection function

    JP1989098366A

  • Program preparation device and program preparation method

    JP2005309593A