Robot programming device and programming method
The programming device and method streamline robot programming by allowing users to easily skip and restore instructions within robot programs, enhancing efficiency and user experience by using a simple execution setting change interface for managing command execution.
Patent Information
- Application Number
- PCT/JP2023/010107
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-15
- Publication Date
- 2024-09-19
AI Technical Summary
Current robot programming methods are inefficient and inconvenient when trying to skip specific instructions in a program, as they often require time-consuming methods like adding branch statements or re-teaching, which are not user-friendly for checking operations or executing only necessary instructions.
A programming device and method that allow users to easily select and skip specific motion commands in a robot program by displaying motion symbols on a timeline, with an execution setting change image that enables commenting or uncommenting instructions with simple user operations, such as tapping or pressing buttons, to visually indicate and manage skipped commands.
Enables efficient skipping and restoration of instructions within robot programs, facilitating quick checks and operations by allowing users to easily comment out or uncomment commands, improving user experience and reducing time consumption.
Smart Images

Figure JP2023010107_19092024_PF_FP_ABST
Abstract
Description
Robot programming device and programming method
[0001] The present disclosure relates to a programming device and a programming method for a robot.
[0002] In the field of robot programming, a programming technique using icons is known, which allows an operator to create or edit a robot program by using a mobile device or the like to place iconized commands on a timeline or manipulate icons displayed on the screen.
[0003] Furthermore, a technique has been proposed for skipping some commands in a robot program based on predetermined conditions.
[0004] JP 2021-091025 A JP 2021-091026 A JP 2022-114299 A JP 2015-136762 A JP 2013-039626 A
[0005] When programming a robot, there are times when you want to skip some of the instructions in the program without executing them, such as when you need to check the operation of the robot program. In this case, you can consider adding branch statements to the program to skip some of the instructions, or deleting the relevant instructions and then re-adding them, but both methods are time-consuming and inconvenient.
[0006] Therefore, there is a need for an apparatus and method that can easily set whether or not some instructions should be skipped when a program is executed.
[0007] One aspect of the present disclosure is a programming device for generating or editing an operation program for a robot, comprising: a display unit that displays a plurality of operation symbols each representing a plurality of operation commands included in the operation program; and an input unit that accepts user operations on the operation symbols displayed on the display unit, wherein the display unit is configured to display, in response to a predetermined operation by the user, an execution setting change image that the user can set as to whether or not to skip an operation command included in an operation symbol selected by the user when the operation program is executed.
[0008] Another aspect of the present disclosure is a programming method for generating or editing an operation program for a robot, the programming method including: displaying a plurality of operation symbols on a display unit, each representing a plurality of operation commands included in the operation program; and accepting a user's operation on the operation symbols displayed on the display unit, wherein the display unit displays an execution setting change image that the user can set as to whether or not to skip an operation command included in an operation symbol selected by the user when the operation program is executed, in response to a predetermined operation by the user.
[0009] Fig. 1 is a schematic configuration diagram of a system including a programming device according to an embodiment. Fig. 2 is a diagram showing a state in which some instructions have been commented out. Fig. 3 is a diagram showing a second embodiment of the programming device. Fig. 4 is a diagram showing a state in which some instructions have been commented out. Fig. 5 is a diagram showing a state in which multiple icons have been selected in Fig. 7.
[0010] FIG. 1 is a schematic diagram of a robot system including a programming device according to an embodiment. The robot system 2 includes an industrial robot 4 such as a vertical articulated robot, a robot control device 6 including a processor, memory, etc., and controlling the robot 4, and a teaching device 8 such as a teaching console connected to the robot control device 6 via wired or wireless communication. A processing unit 10 such as a personal computer (PC) including a processor, monitor, memory, etc. may be connected to at least one of the robot control device 6 and the teaching device 8 via wired or wireless communication. The teaching device 8 is, for example, a mobile terminal such as a tablet that a user can operate to teach the robot 4. In this specification, the term "user" is used to include a person capable of operating a teaching device, such as a user or worker.
[0011] 2-8, the means and procedures for generating and editing a robot's operation program will be described below. In this embodiment, the teaching device 8 functions as a programming device that generates or edits the robot's operation program, and the user can input various pieces of information for generating and editing the operation program via a user interface (UI) 14 displayed on a display 12 of the teaching device 8. In other words, the display 12 functions as a display unit that allows the user to visually recognize various pieces of information, and the UI 14 functions as an input unit that accepts various inputs and operations from the user.
[0012] First Example The display 12 displays a plurality of icons as operation symbols, each representing a plurality of operation commands included in an operation program. The UI 14 includes a timeline display area 16 that can display the icons displayed on the display 12 in chronological order, and a menu display area 18 that can display each icon so that a user can select a desired icon. In the first example, it is assumed that a user has created a desired robot program by arranging, by drag-and-drop or other operations, in the timeline display area 16, icons (each axis) 22 that include commands to move each axis of the robot, an icon (register) 24 that includes commands to perform processing to read a predetermined value from memory or the like, an icon (line) 26 that includes commands to linearly move a representative point of the robot (such as a tool tip point), and an icon (If) 28 for conditional branching.
[0013] Suppose that when executing a created program, it becomes necessary or desirable to skip instructions included in an icon 24. For example, when checking the operation of a program, it may be desirable to execute only the instructions necessary for the check to efficiently check the operation. In such a case, the user first selects an icon 24 that is not required for the check by tapping or the like. The icon 24 is highlighted by changing its color or shading, and a pop-up menu 30, such as the one shown in FIG. 2, is then displayed. The menu 30 includes graphics and symbols that visualize various processes for the selected icon 24. In this embodiment, the menu 30 includes an execution setting change image (button) 32 for commenting / uncommenting, as described below, and buttons 34, 36, and 38 for deleting, copying, or cutting (to move) the selected icon.
[0014] When the user operates the execution setting change button 32 by pressing or tapping while the icon 24 is selected, the status of the command included in the icon 24 is changed. Specifically, if the button 32 is operated when the command of the icon 24 is in a state where it will be executed when the program is executed, the command of the icon 24 will not be executed when the program is executed; this operation is also referred to as "commenting" in this specification. Therefore, in the first embodiment, when the operating program is executed, after the processing of the icon 22 is executed, the processing of the icon 24 is not executed, and then the processing of the icon 28 is executed.
[0015] In this way, by simply selecting a specific icon and operating the execution setting change button, it is possible to execute the program by skipping the commands contained in that icon. Also, as shown in Figure 3, it is preferable that the appearance of the selected icon 24, more specifically, its color and shade, change when it is commented out, so that the user can easily visually recognize that the icon 24 has been commented out.
[0016] Conversely, if button 32 is operated when the command of icon 24 will not be executed when the program is run (i.e., when icon 24 is commented out), the command of icon 24 will be executed when the program is run, and this operation is also referred to as "uncommenting." Because uncommenting can be done with a simple operation, it is also extremely easy to restore a skipped command (so that it will be executed when the program is run).
[0017] It is preferable to store the information of commented icons (commands) in an appropriate memory, so that the uncommented icons can be executed immediately.
[0018] Second Embodiment Fig. 4 shows an example of simultaneously commenting or uncommenting a plurality of icons. Note that a description of the second embodiment that may be the same as the first embodiment will be omitted.
[0019] In the second embodiment, an operating program is created in which an icon (cash register) 24 containing a command to perform a process of reading a predetermined value from a memory, etc. is followed by an icon (take / place) 40 containing a command to remove a workpiece using a robot hand, and an icon (open handle) 42 containing a command to release the removed workpiece.
[0020] Now, suppose that when executing the created program, it becomes necessary or desirable to skip the commands included in the icons 24, 40, and 42. In this case, if the user selects the icons 24, 40, and 42 by successive tapping or the like, the icons 24, 40, and 42 are highlighted by changing their color or shading, and further, a confirmation image (execution setting change image) 44 as shown in FIG.
[0021] When the user taps or otherwise selects the "Comment" button 46 included in the confirmation image 44, the commands included in the icons 24, 40, and 42 are commented out and are skipped and not executed when the program is executed. Note that it is preferable to store information about the commented icons (commands) in an appropriate memory.
[0022] In this way, it is possible to execute a program by skipping over the commands contained in the icons through the simple operation of selecting multiple icons and selecting the comment button 46 from the confirmation image 44. As shown in Fig. 6, it is preferable that the appearance (color, shading, etc.) of the selected icons 24, 40, and 42 changes after being commented, so that the user can easily visually recognize that the icons 24, 40, and 42 have been commented.
[0023] Conversely, when icons 24, 40, and 42 are commented, selecting these icons and selecting the "Uncomment" button 48 on the confirmation image 44 by tapping or the like will uncomment the commands contained in icons 24, 40, and 42, and they will be executed without being skipped when the program is executed. In this way, multiple icons can be commented or uncommented with a simple user operation.
[0024] 7 and 8 show another example of simultaneously commenting or uncommenting multiple icons. The same parts of the third embodiment as those of the first embodiment will not be described. In the third embodiment, it is assumed that a robot program has been created that includes multiple icons (lines) 26 each containing a command to move the robot in a straight line.
[0025] Suppose that when executing the created program, it becomes necessary or desirable to skip some of the multiple icons 26. In this case, the user first performs a predetermined operation, such as long press or double click, on one of the icons to be skipped (icon 26a in this case). As a result, as shown in FIG. 7, icon 26a is highlighted, and a menu 30 including an execution setting change button 32 is displayed.
[0026] If button 32 is operated in the state shown in Fig. 7, only the selected icon 26a is commented. However, from the state shown in Fig. 7, by selecting the other icons 26b, 26c, and 26d to be skipped by tapping or the like, icons 26a, 26b, 26c, and 26d are highlighted as shown in Fig. 8. By operating button 32 in this state, icons 26a, 26b, 26c, and 26d can be commented all at once. The same operation can also be used to uncomment the icons.
[0027] According to the present disclosure, when executing a robot operation program generated by arranging multiple icons on a timeline, each containing a robot operation command, the user can skip commands included in some of the icons (comment them out) with a simple operation via a UI, and can also uncomment them with a similarly simple operation. This provides a programming device that is extremely useful in situations where it is not necessary to execute some commands, such as when checking the operation of a program.
[0028] In the above-described embodiment, the teaching device 8 functions as a programming device that generates or edits an operation program for the robot, but the present disclosure is not limited to this, and for example, the PC 10 shown in Fig. 1 can also be used as a programming device. Furthermore, at least one of the teaching device 8, the control device 6, and the PC 10 can also function as an execution device that executes a generated or edited operation program.
[0029] Although the present disclosure has been described in detail, the present disclosure is not limited to the individual embodiments described above. Various additions, substitutions, modifications, partial deletions, etc. are possible in these embodiments without departing from the gist of the present disclosure or the spirit of the present disclosure derived from the content of the claims and their equivalents. These embodiments can also be implemented in combination. For example, in the above-described embodiments, the order of each operation and the order of each process are shown as examples and are not limited to these. The same applies when numerical values or mathematical expressions are used in the description of the above-described embodiments.
[0030] The following additional notes are provided regarding the above-described embodiment and modifications.
[0031] (Supplementary Note 1) A programming device for generating or editing an operation program for a robot, comprising: a display unit that displays a plurality of operation symbols each representing a plurality of operation commands included in the operation program; and an input unit that accepts user operations on the operation symbols displayed on the display unit, wherein the display unit is configured to display, in response to a predetermined operation by the user, an execution setting change image that the user can set as to whether or not an operation command included in an operation symbol selected by the user is to be skipped when the operation program is executed.
[0032] (Supplementary Note 2) The programming device according to Supplementary Note 1, wherein the display unit displays each operation symbol in a different appearance depending on whether the operation symbol is set to be skipped or executed when the operation program is executed.
[0033] (Supplementary Note 3) A programming method for generating or editing an operation program for a robot, comprising: displaying a plurality of operation symbols on a display unit, each representing a plurality of operation commands included in the operation program; and accepting a user's operation on the operation symbols displayed on the display unit, wherein the display unit displays an execution setting change image that the user can set as to whether or not to skip an operation command included in an operation symbol selected by the user when the operation program is executed, in response to a predetermined operation by the user.
[0034] 2 Robot system 4 Robot 6 Control device 8 Teaching operation panel 10 PC 12 Display unit 14 User interface 16 Timeline display area 18 Menu display area 22, 24, 26, 28, 40, 42 Icon 30 Menu 32, 44 Execution setting change image 46 Comment button 48 Cancel button
Claims
1. A programming device for generating or editing a robot's operation program, comprising: a display unit that displays a plurality of operation symbols each representing a plurality of operation commands included in the operation program; and an input unit that accepts user operations on the operation symbols displayed on the display unit, wherein the display unit is configured to display, in response to a specified operation by the user, an execution setting change image that the user can set as to whether or not to skip an operation command included in an operation symbol selected by the user when executing the operation program.
2. A programming device as claimed in claim 1, wherein the display unit displays each operation symbol in a different appearance depending on whether the operation symbol is set to be skipped or executed when the operation program is executed.
3. A programming method for generating or editing a robot's operation program, comprising: displaying on a display unit a plurality of operation symbols each representing a plurality of operation commands included in the operation program; and accepting a user's operation on the operation symbols displayed on the display unit, wherein the display unit displays, in response to a specified operation by the user, an execution setting change image that can be set by the user as to whether or not to skip an operation command included in the operation symbol selected by the user when executing the operation program.
Citation Information
Patent Citations
Map data distribution service system, method therefor, server, mobile terminal, and recording medium
JP2007003743A
Program generation device for generating operation program containing operation symbol of robot device
JP2021091025A
Robot teaching device, computer program, and robot teaching method
WO2017072979A1
