TW202422253A - Program generation device, method and program - Google Patents

Program generation device, method and program Download PDF

Info

Publication number
TW202422253A
TW202422253A TW112144163A TW112144163A TW202422253A TW 202422253 A TW202422253 A TW 202422253A TW 112144163 A TW112144163 A TW 112144163A TW 112144163 A TW112144163 A TW 112144163A TW 202422253 A TW202422253 A TW 202422253A
Authority
TW
Taiwan
Prior art keywords
action
area
mark
parameter
image
Prior art date
Application number
TW112144163A
Other languages
Chinese (zh)
Inventor
栗原佑典
Original Assignee
日商發那科股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日商發那科股份有限公司 filed Critical 日商發那科股份有限公司
Publication of TW202422253A publication Critical patent/TW202422253A/en

Links

Images

Abstract

本發明提供一種程式生成裝置,包括:處理器、儲存裝置、顯示器、以及輸入裝置;其中,處理器進行下列步驟:從儲存裝置讀取至少一動作記號並顯示於顯示器之第一區域,該動作記號包含關於預先登錄至儲存裝置內之機器人之動作指令的資訊;藉由從顯示於第一區域之動作記號中選擇出一以上的前述動作記號,複製並配列到顯示器之第二區域而生成動作程式;藉由輸入裝置將參數輸入而生成附參數動作記號,該參數代表了所選擇的顯示於第一區域或第二區域的動作記號中之任意動作記號的機能;以及將所生成的附參數動作記號作為一動作記號並登錄至儲存裝置中。The present invention provides a program generation device, comprising: a processor, a storage device, a display, and an input device; wherein the processor performs the following steps: reading at least one action mark from the storage device and displaying it in the first area of the display, the action mark containing information about the action instructions of the robot pre-registered in the storage device; generating an action program by selecting one or more of the above-mentioned action marks from the action marks displayed in the first area, copying and arranging them in the second area of the display; generating a parameter-attached action mark by inputting a parameter through the input device, the parameter representing the function of any action mark selected from the action marks displayed in the first area or the second area; and registering the generated parameter-attached action mark as an action mark in the storage device.

Description

程式生成裝置、方法以及程式Program generation device, method and program

本發明關於程式生成裝置、方法以及程式。The present invention relates to a program generation device, method and program.

以往,已知有一種顯示裝置,拖曳顯示畫面之選擇區域中表示的圖像,對應地,會複製出與被拖曳的圖像相同的圖像並移動到作成區域(例如,參照專利文獻1。)。Conventionally, there is known a display device in which, when an image represented in a selection area of a display screen is dragged, an image identical to the dragged image is copied and moved to a creation area (for example, refer to Patent Document 1).

藉由在作成區域中羅列複數圖像,從而生成機器人的動作程式。對於複製到作成區域的圖像,使用者能夠對應設定至圖像的狀態視窗來設定圖像所代表的機能之參數。 [先前技術文獻] [專利文獻] By listing multiple images in a creation area, a robot action program is generated. For the images copied to the creation area, the user can set the parameters of the function represented by the image in a corresponding status window set to the image. [Prior art literature] [Patent literature]

[專利文獻1]國際公開第2020/012558號公報[Patent Document 1] International Publication No. 2020/012558

在動作程式中多次使用具有相同機能之圖像時,有需要多次使用已設定之參數的情形。此時,對於整個圖像重新再設定參數,會造成動作繁複的問題。因此,目前期望能夠簡單再利用設定有參數之圖像等之動作記號。When using an image with the same function multiple times in an action program, it is necessary to use the set parameters multiple times. In this case, resetting the parameters for the entire image will cause the action to be complicated. Therefore, it is currently desired to be able to easily reuse the action mark of the image with the parameter setting.

本發明之一態樣係一種程式生成裝置,包括:至少一處理器、至少一儲存裝置、顯示器、以及輸入裝置;其中,前述處理器進行下列步驟:從前述儲存裝置讀取至少一動作記號並顯示於前述顯示器之第一區域,該動作記號包含關於預先登錄至前述儲存裝置內之機器人之動作指令的資訊;藉由從顯示於該第一區域的前述動作記號中選擇出一以上的前述動作記號,複製並配列到前述顯示器的第二區域而生成動作程式;藉由前述輸入裝置輸入參數而生成附參數動作記號,該參數代表了所選擇的顯示於前述第一區域或前述第二區域的前述動作記號中之任意前述動作記號的機能;以及將所生成的該附參數動作記號作為一前述動作記號並登錄至前述儲存裝置中。One aspect of the present invention is a program generation device, comprising: at least one processor, at least one storage device, a display, and an input device; wherein the processor performs the following steps: reading at least one action mark from the storage device and displaying it on a first area of the display, the action mark containing information about an action instruction of a robot pre-registered in the storage device; and Select one or more of the aforementioned action marks, copy and arrange them in the second area of the aforementioned display to generate an action program; input parameters through the aforementioned input device to generate parameter-attached action marks, and the parameters represent the function of any of the aforementioned action marks selected and displayed in the aforementioned first area or the aforementioned second area; and register the generated parameter-attached action mark as an aforementioned action mark in the aforementioned storage device.

針對本發明之第一實施形態之程式生成裝置1、方法以及程式,參照圖式於下列進行說明。 本實施形態之程式生成裝置1,如圖1所示,適用於包括機器人10、以及控制機器人10之控制裝置11的機器人系統20。 The program generation device 1, method and program of the first embodiment of the present invention are described below with reference to the drawings. The program generation device 1 of this embodiment, as shown in FIG. 1 , is applicable to a robot system 20 including a robot 10 and a control device 11 for controlling the robot 10.

機器人10,例如為垂直六軸多關節型機器人,因應控制裝置11輸出的控制訊號而驅動。機器人10不受限於垂直六軸多關節型機器人,亦可為水平多關節型機器人、直動機器人(linear motion robot)等任意形態的機器人。The robot 10 is, for example, a vertical six-axis multi-joint robot, and is driven in response to a control signal output by the control device 11. The robot 10 is not limited to a vertical six-axis multi-joint robot, and may be a horizontal multi-joint robot, a linear motion robot, or any other robot.

控制裝置11讀取出儲存在後述儲存裝置3中的動作程式,基於所讀取的動作程式而生成控制訊號,並輸出至機器人10。動作程式係用來使機器人10進行動作的程式,包含一以上之動作指令的指令程式。The control device 11 reads out the action program stored in the storage device 3 described later, generates a control signal based on the read action program, and outputs it to the robot 10. The action program is a program for causing the robot 10 to perform an action, and includes a command program of one or more action commands.

本實施形態之程式生成裝置1係因應使用者的操作作成動作程式的裝置。在此,動作程式的作成,包含新作成動作程式以及編輯既有的動作程式。如圖2所示,程式生成裝置1包括:至少一處理器2、至少一儲存裝置3、顯示器4、以及輸入介面(輸入裝置)5。The program generation device 1 of this embodiment is a device for generating an action program in response to a user's operation. Here, the generation of an action program includes generating a new action program and editing an existing action program. As shown in FIG2 , the program generation device 1 includes: at least one processor 2, at least one storage device 3, a display 4, and an input interface (input device) 5.

處理器2可為CPU或MPU等之任意處理裝置。此外,處理器2所實行的處理的一部份亦可藉由專用的邏輯電路或硬體來實現。The processor 2 may be any processing device such as a CPU or an MPU. In addition, part of the processing performed by the processor 2 may also be implemented by a dedicated logic circuit or hardware.

儲存裝置3包括RAM(random access memory)、ROM(read-only memory)等之半導體記憶體以及藉由HDD(hard disc drive)、光碟等之記憶媒體的儲存裝置中之至少一種。 顯示器4係由液晶顯示器或有機EL顯示器等所構成。輸入介面5係由觸控螢幕裝置、鍵盤以及滑鼠等所構成。 The storage device 3 includes at least one of semiconductor memory such as RAM (random access memory) and ROM (read-only memory) and storage devices using storage media such as HDD (hard disc drive) and optical disks. The display 4 is composed of a liquid crystal display or an organic EL display. The input interface 5 is composed of a touch screen device, a keyboard, and a mouse.

程式生成裝置1可為控制裝置11具備的教示(teaching)操作盤等之專用教示裝置,亦可為安裝有程式生成程式之一般用電腦或平板終端等。The program generation device 1 may be a dedicated teaching device such as a teaching operation panel provided in the control device 11, or may be a general-purpose computer or tablet terminal installed with a program generation program.

本實施形態之程式生成裝置1儲存有至少一動作記號,該動作記號包含關於預先登錄至儲存裝置3內的機器人10之動作指令的資訊。動作記號,例如,代表機器人10之各種動作指令的各種圖像I(下列亦稱為圖像。)。作為動作指令,包括:直線移動命令、圓弧移動命令、以及安裝於機器人10之前端的工具之動作命令等。The program generation device 1 of this embodiment stores at least one action mark, which contains information about the action instructions of the robot 10 pre-registered in the storage device 3. The action mark, for example, is various images I (hereinafter also referred to as images) representing various action instructions of the robot 10. The action instructions include: linear movement commands, arc movement commands, and action commands of tools installed at the front end of the robot 10.

圖像I包括:能夠設定代表該圖像I的機能之參數的圖像、以及不須設定參數的圖像。作為參數,例如,包含相對於移動命令的目標位置、路徑位置或移動速度等。The images I include images for which parameters representing the functions of the images I can be set, and images for which no parameters need to be set. The parameters include, for example, a target position, a path position, or a moving speed relative to a moving command.

如圖3所示,處理器2從儲存裝置3讀取出儲存於儲存裝置3的圖像I,並顯示在顯示器4之選擇區域(第一區域)A讓使用者能夠選擇。使用者可利用輸入介面5選擇顯示於選擇區域A的任意圖像I。使用者可利用觸控螢幕或利用滑鼠等,配合顯示於顯示器4的游標來選擇圖像I。As shown in FIG3 , the processor 2 reads out the image I stored in the storage device 3 from the storage device 3 and displays it in the selection area (first area) A of the display 4 for the user to select. The user can select any image I displayed in the selection area A using the input interface 5. The user can select the image I using a touch screen or a mouse, etc., in conjunction with a cursor displayed on the display 4.

使用者利用輸入介面5選擇顯示於選擇區域A之圖像I並拖曳(複製操作)至作成區域(第二區域)B,藉此,處理器2會將被拖曳的圖像I複製。並且,藉由使用者將拖曳的圖像I移動至顯示器4之作成區域B並放置,處理器2會將圖像I配置於作成區域B內之放置位置附近。The user uses the input interface 5 to select the image I displayed in the selection area A and drags (copy operation) it to the creation area (second area) B, whereby the processor 2 copies the dragged image I. Furthermore, when the user moves the dragged image I to the creation area B of the display 4 and places it, the processor 2 arranges the image I near the placement position in the creation area B.

作成區域B內,放置圖像I的位置不需太精確,圖像I放置於作成區域B內任意的空白處時,例如,會在作成區域B靠左對齊配列。此外,作成區域B內已有其他圖像I配置時,可依據該等圖像I的相對位置關係來決定新的圖像I的配置。例如,作成區域B內有兩個圖像I配列時,新的圖像I會配置在既有的圖像I的中間附近之作成區域B,從而使新的圖像I配置於既有的兩個圖像I之間。The position of the image I in the production area B does not need to be too precise. When the image I is placed in any blank space in the production area B, for example, it will be aligned to the left of the production area B. In addition, when other images I are already arranged in the production area B, the arrangement of the new image I can be determined based on the relative position relationship of these images I. For example, when two images I are arranged in the production area B, the new image I will be arranged in the production area B near the middle of the existing image I, so that the new image I is arranged between the two existing images I.

使用者能夠使用輸入介面5選擇顯示於作成區域B中的任一圖像I。使用者選擇出顯示於作成區域B的圖像I若能夠設定參數,處理器2會在顯示器4表示參數設定區域C。參數設定區域C,例如,可為顯示於顯示器4上之任意位置的彈出視窗,亦可如圖4所示,取代選擇區域A表示者。使用者藉由輸入介面5在參數設定區域C將參數輸入,使處理器2對應輸入至作成區域B上被選擇的圖像I的參數而儲存至儲存裝置3。The user can use the input interface 5 to select any image I displayed in the creation area B. If the user selects an image I displayed in the creation area B and can set parameters, the processor 2 will display the parameter setting area C on the display 4. The parameter setting area C can be, for example, a pop-up window displayed at any position on the display 4, or can be displayed instead of the selection area A as shown in FIG. 4. The user inputs parameters in the parameter setting area C through the input interface 5, so that the processor 2 stores the parameters corresponding to the image I selected in the creation area B in the storage device 3.

使用者藉由重複進行該等操作,處理器2能夠將複數圖像I配列於作成區域B內,例如,沿著由左朝向右設定的時間線在作成區域B內進行左右配列。因此,處理器2藉由將圖像I進行左右配列,能夠生成圖像I沿著時間線以時間順序配列的動作程式。By repeatedly performing these operations, the processor 2 can arrange the plurality of images I in the creation area B, for example, arranging them left and right along a timeline set from left to right in the creation area B. Therefore, the processor 2 can generate an action program for arranging the images I in chronological order along the timeline by arranging the images I left and right.

此外,處理器2,如圖3所示,顯示器4以能夠選擇的方式表示圖像刪除標誌a、複製標誌b以及圖像登錄標誌c。 使用者選擇顯示器4之選擇區域A或作成區域B表示的任意圖像I後按下圖像登錄標誌c,則處理器2會表示用來設定圖像I之名稱的名稱設定區域D。名稱設定區域D,例如,圖4所示之例是在顯示器4之作成區域B上的彈出視窗表示。 In addition, the processor 2, as shown in FIG3, displays the image deletion mark a, the copy mark b, and the image registration mark c on the display 4 in a selectable manner. After the user selects any image I represented by the selection area A or the creation area B of the display 4 and presses the image registration mark c, the processor 2 will display the name setting area D for setting the name of the image I. The name setting area D, for example, is displayed in a pop-up window on the creation area B of the display 4 as shown in FIG4.

名稱設定區域D包括:輸入區域D1,使用者用來輸入代表圖像I名稱的任意文字;登錄按鈕D2,用來確定並登錄輸入的名稱;以及取消按鈕D3,用來中斷處理。使用者藉由在輸入區域D1輸入代表名稱的任意文字,再按下登錄按鈕D2,從而使處理器2在選擇區域A生成被賦予所輸入之名稱的新圖像I。The name setting area D includes: an input area D1 for the user to input any text representing the name of the image I; a registration button D2 for confirming and registering the input name; and a cancel button D3 for interrupting the processing. The user inputs any text representing the name in the input area D1 and then presses the registration button D2, so that the processor 2 generates a new image I in the selection area A and is given the input name.

亦即,處理器2,如圖5所示,將具有所輸入之名稱(例如,speed100)之新圖像I1作為顯示於選擇區域A的一圖像I而儲存(登錄)至儲存裝置3。新登錄的圖像I1,如圖6所示,亦可登錄至書籤。That is, the processor 2, as shown in Fig. 5, stores (registers) the new image I1 having the input name (eg, speed100) as an image I displayed in the selection area A in the storage device 3. The newly registered image I1, as shown in Fig. 6, can also be registered in the bookmark.

在此情形中,處理器2在圖像I設定代表該圖像I之機能的參數時,會複製設定有參數之附參數圖像(附參數動作記號)。選擇可設定或未設定參數之圖像I時,如圖4所示,處理器2會在顯示器4表示參數設定區域C讓使用者輸入參數。In this case, when the image I sets the parameters representing the function of the image I, the processor 2 will copy the parameter-attached image (parameter-attached action mark) with the set parameters. When the image I with settable or unset parameters is selected, as shown in FIG. 4 , the processor 2 will display the parameter setting area C on the display 4 for the user to input the parameters.

登錄附參數圖像時,使用者能夠如同處理其他圖像I,藉由選擇顯示於選擇區域A內之附參數圖像,拖曳並放置,從而複製到作成區域B。將附參數圖像複製到作成區域B時,設定至圖像I的參數會維持原樣。When registering a parametric image, the user can select the parametric image displayed in the selection area A, drag and drop it, and copy it to the creation area B just like other images I. When the parametric image is copied to the creation area B, the parameters set to the image I will remain the same.

使用者選擇出包含配列於顯示器4之作成區域B的複數圖像I之圖像群,按下複製標誌b,從而使處理器2生成任意的複製用圖像I2。 此外,使用者選擇顯示於選擇區域A中不需要的圖像I並按下圖像刪除標誌a時,處理器2會將登錄至儲存裝置3的任意圖像I刪除。 The user selects an image group including a plurality of images I arranged in the creation area B of the display 4 and presses the copy mark b, thereby causing the processor 2 to generate an arbitrary copy image I2. In addition, when the user selects an unnecessary image I displayed in the selection area A and presses the image deletion mark a, the processor 2 deletes the arbitrary image I registered in the storage device 3.

接著,針對本實施形態之程式生成方法,參照圖式於下列進行說明。 本實施形態之程式生成方法,如圖7所示,包括步驟S1,從儲存裝置3讀取出預先登錄至儲存裝置3內的至少一圖像I,並顯示於顯示器4之選擇區域A。此外,程式生成方法包括步驟S3,從顯示於選擇區域A之圖像I中選擇出一以上的圖像I再複製至作成區域B,且依照時間順序配列而生成動作程式。此外,程式生成方法包括步驟S5,藉由將從顯示於選擇區域A或作成區域B的圖像I中選擇的任意圖像I之參數輸入,從而生成附參數圖像。進一步,程式生成方法包括步驟S7,將所生成之附參數圖像作為一圖像I並登錄至儲存裝置3。 Next, the program generation method of this embodiment is described below with reference to the diagram. As shown in FIG. 7 , the program generation method of this embodiment includes step S1, reading out at least one image I pre-registered in the storage device 3 from the storage device 3, and displaying it in the selection area A of the display 4. In addition, the program generation method includes step S3, selecting one or more images I from the images I displayed in the selection area A and copying them to the production area B, and arranging them in time sequence to generate an action program. In addition, the program generation method includes step S5, by inputting the parameters of any image I selected from the images I displayed in the selection area A or the production area B, thereby generating a parameterized image. Furthermore, the program generation method includes step S7, taking the generated parameter-attached image as an image I and logging it into the storage device 3.

圖7所示之例,係在選擇區域A表示圖像I(步驟S1),使用者將任意圖像I拖曳時(步驟S2),受拖曳的圖像I會被複製(步驟S3)。並且,藉由將複製的圖像I放置到作成區域B,動作程式會生成至作成區域B。In the example shown in FIG. 7 , when the image I is displayed in the selection area A (step S1), the user drags any image I (step S2), and the dragged image I is copied (step S3). Furthermore, by placing the copied image I in the creation area B, an action program is generated in the creation area B.

判定放置到作成區域B之圖像I是否為可設定參數之圖像(步驟S4),判定為可設定參數設定之圖像時,表示參數設定區域C。使用者輸入參數(步驟S5),藉由按下圖像登錄標誌c(步驟S6),會表示名稱設定區域D。It is determined whether the image I placed in the creation area B is an image for which parameters can be set (step S4). If it is determined to be an image for which parameters can be set, the parameter setting area C is displayed. The user inputs parameters (step S5), and by pressing the image registration mark c (step S6), the name setting area D is displayed.

使用者藉由在輸入區域D1輸入名稱並按下登錄按鈕D2,會生成附參數圖像並作為圖像I之一登錄至儲存裝置3(步驟S7)。判定程式生成是否完成(步驟S8),尚未完成時,重複步驟S2開始的步驟。When the user inputs a name in the input area D1 and presses the registration button D2, a parameterized image is generated and registered in the storage device 3 as one of the images I (step S7). It is determined whether the program generation is completed (step S8). If it is not completed, the steps starting from step S2 are repeated.

此外,步驟S1中圖像I顯示於選擇區域A的圖像I,在步驟S2中使用者未拖曳任意圖像I時進入步驟S8。 此外,步驟S5中輸入參數之圖像I,在步驟S6中判定未按下圖像登錄標誌c時會進入步驟S8。 In addition, in step S1, image I is displayed in the image I of the selection area A, and in step S2, when the user does not drag any image I, the process proceeds to step S8. In addition, in step S5, when image I inputs parameters, in step S6, when it is determined that the image registration mark c is not pressed, the process proceeds to step S8.

進一步,步驟S3中所複製之圖像I,判定為步驟S4中不須設定參數之圖像I時,進入步驟S8。藉由將附參數圖像登錄至儲存裝置3,使步驟S1中之選擇區域A表示的圖像I包含新登錄的附參數圖像。Furthermore, when the image I copied in step S3 is determined to be an image I for which no parameters need to be set in step S4, the process proceeds to step S8. By registering the image with parameters in the storage device 3, the image I represented by the selection area A in step S1 includes the newly registered image with parameters.

藉此,依據本實施形態,以顯示器4之作成區域B配列出一以上之圖像I而生成動作程式之裝置,能夠將附參數圖像作為可選擇的圖像I進行登錄。藉此,相同附參數圖像在動作程式中被多次使用時,圖像I不須重新再設定參數。因此,即使在此情形中,使用者仍不需再進行參數重新設定等繁複的作業,有能夠簡單再利用圖像I之優點。Thus, according to the present embodiment, a device that generates an action program by arranging more than one image I in the creation area B of the display 4 can register a parameter-attached image as an optional image I. Thus, when the same parameter-attached image is used multiple times in the action program, it is not necessary to re-set the parameters of the image I. Therefore, even in this case, the user does not need to perform complicated operations such as re-setting the parameters, and has the advantage of being able to simply reuse the image I.

此外,複製作成區域B表示之附參數圖像時,能夠將附參數圖像包括參數整個複製到選擇區域A。In addition, when copying the parametric image represented by area B, the parametric image including the parameters can be copied to the selected area A.

又,本實施形態之程式生成裝置1以及程式生成方法中,係將從單一附參數圖像複製單一附參數圖像到選擇區域A內的情形作為例示。取代於此,亦可從單一附參數圖像複製複數附參數圖像到選擇區域A內。In the program generation device 1 and the program generation method of the present embodiment, the case where a single parameter image is copied from a single parameter image to the selection area A is exemplified. Instead, a plurality of parameter images may be copied from a single parameter image to the selection area A.

此時,只要藉由選擇顯示於選擇區域A的任意圖像I並按下圖像登錄標誌c,在表示名稱設定區域D輸入不同名稱即可。藉由顯示於選擇區域A之附參數圖像的選擇、按下圖像登錄標誌c以及輸入名稱,能夠複製同種圖像I所成的複數附參數圖像。At this time, by selecting any image I displayed in the selection area A and pressing the image registration mark c, a different name can be input in the display name setting area D. By selecting a parameter-attached image displayed in the selection area A, pressing the image registration mark c, and inputting a name, a plurality of parameter-attached images of the same image I can be copied.

此外,如圖8所示,顯示器4表示編輯標誌d,使用者按下編輯標誌d時,處理器2會表示名稱設定區域D以及參數設定區域C,亦可使名稱以及參數能夠編輯。 此外,亦可選擇顯示於選擇區域A但未登錄參數之圖像I,新登錄參數作成附參數圖像。 In addition, as shown in FIG8 , the display 4 shows the edit mark d. When the user presses the edit mark d, the processor 2 will display the name setting area D and the parameter setting area C, and the name and the parameter can also be edited. In addition, the image I displayed in the selection area A but without registered parameters can be selected, and the newly registered parameters are created as the parameter-attached image.

此外,複製附參數圖像並登錄時,處理器2會表示對應圖像I所儲存的參數,使用者亦可編輯參數。藉由在登錄時進行參數的編輯,能夠節省登錄不同參數的同種附參數圖像時所需的手續。In addition, when the parametric image is copied and registered, the processor 2 will display the parameters stored in the corresponding image I, and the user can also edit the parameters. By editing the parameters during registration, the procedures required for registering the same parametric image with different parameters can be saved.

此外,將具備複數參數之附參數圖像進行複製時,處理器2會一同表示名稱設定區域D以及參數設定區域C,使用者亦可選擇欲複製的參數。例如,如圖9所示,參數的選擇亦可藉由使用者將欲複製之參數的確認欄打勾來進行。In addition, when copying a parameter-attached image with multiple parameters, the processor 2 will display the name setting area D and the parameter setting area C together, and the user can also select the parameters to be copied. For example, as shown in FIG. 9, the selection of parameters can also be performed by the user checking the confirmation box of the parameters to be copied.

例如,登錄位置資訊、速度資訊以及路徑資訊作為參數時,使用者亦可例如僅將速度資訊以及路徑資訊打勾後,按下登錄按鈕D2。 此時,處理器2不會引用複製來源的附參數圖像中設定的位置資訊,僅將引用了速度資訊以及路徑資訊的附參數圖像登錄至儲存裝置3。能夠不設定被複製的附參數圖像之位置資訊,亦可設定預設的位置資訊。 For example, when registering position information, speed information, and path information as parameters, the user may also, for example, just check the speed information and path information and then press the registration button D2. At this time, the processor 2 will not reference the position information set in the parametric image of the copy source, but only register the parametric image that references the speed information and path information to the storage device 3. The position information of the copied parametric image can be set without setting the default position information.

此外,可在登錄附參數圖像時選擇欲複製的參數,取代於此,亦可在將顯示於選擇區域A之附參數圖像複製到作成區域B時選擇欲複製的參數。此情形中,使用者將顯示於選擇區域A的附參數圖像拖曳並複製到作成區域B時,只要將欲複製的參數的確認欄打勾即可。此外,藉由將參數的確認欄的勾勾取消,則亦可選擇不引用的參數。In addition, the parameters to be copied can be selected when registering the parameter image. Instead of this, the parameters to be copied can be selected when copying the parameter image displayed in the selection area A to the creation area B. In this case, when the user drags and copies the parameter image displayed in the selection area A to the creation area B, he only needs to check the confirmation box of the parameter to be copied. In addition, by unchecking the confirmation box of the parameter, it is also possible to select the parameter not to be referenced.

本實施形態中,係針對程式生成裝置1以及程式生成方法進行說明,但不受限於此。如上述,亦可為具有上述構成的專用教示裝置,或者亦可為安裝有程式生成程式的一般用電腦或平板終端等。 此情形中,程式生成程式只要藉由一般用電腦或平板電腦等實行上述程式生成方法的各步驟即可。此外,雖然是以動作記號的圖像作為例示,惟取代此,亦可採用其他任意的動作記號。 In this embodiment, the program generation device 1 and the program generation method are described, but the invention is not limited thereto. As described above, it may be a dedicated teaching device having the above-mentioned structure, or it may be a general-purpose computer or tablet terminal etc. installed with a program generation program. In this case, the program generation program only needs to implement each step of the above-mentioned program generation method by a general-purpose computer or tablet computer etc. In addition, although the image of the action mark is used as an example, other arbitrary action marks may be used instead.

接著,對於本發明之第二實施形態之程式生成裝置1、方法以及程式,參照圖式於下列進行說明。 第一實施形態係針對複製並使用單一附參數圖像的情形進行說明。本實施形態與第一實施形態不同的點在於複製並使用複數圖像I。 Next, the program generation device 1, method and program of the second embodiment of the present invention are described below with reference to the drawings. The first embodiment is for the case of copying and using a single parameterized image. The difference between this embodiment and the first embodiment is that multiple images I are copied and used.

本實施形態係將顯示於選擇區域A的圖像I複製並配列到作成區域B,對於一部分的圖像I設定參數,在生成至少一部份的動作程式的狀態下處理。如圖10所示,作成區域B顯示了配列有複數圖像I的動作程式或其中一部分。This embodiment copies and arranges the image I displayed in the selection area A in the creation area B, sets parameters for a part of the image I, and processes in a state where at least a part of the action program is generated. As shown in FIG. 10 , the creation area B displays an action program in which a plurality of images I are arranged or a part of them.

使用者選擇出包含配列於作成區域B的複數圖像I之圖像群,再拖曳至選擇區域A時,如圖11所示,處理器2會生成代表圖像群的複製用圖像(複製用記號)I2。或者,使用者選擇圖像群後,按下顯示於顯示器4的圖像登錄標誌c,使處理器2生成複製用圖像I2。複製用圖像I2代表所選擇的圖像群之單一圖像I。並且,處理器2將生成的複製用圖像I2作為一圖像I登錄至儲存裝置3。When the user selects an image group including a plurality of images I arranged in the creation area B and drags it to the selection area A, as shown in FIG11 , the processor 2 generates a copy image (copy mark) I2 representing the image group. Alternatively, after the user selects the image group, he presses the image registration mark c displayed on the display 4, so that the processor 2 generates the copy image I2. The copy image I2 represents a single image I of the selected image group. Furthermore, the processor 2 registers the generated copy image I2 as an image I in the storage device 3.

生成複製用圖像I2時,處理器2顯示名稱設定區域E,用以設定複製用圖像I2的名稱。名稱設定區域E,可如圖12所示,例如在顯示器4上的任意位置顯示彈出視窗。When the copy image I2 is generated, the processor 2 displays a name setting area E for setting the name of the copy image I2. The name setting area E can be displayed as a pop-up window at any position on the display 4 as shown in FIG.

名稱設定區域E包括:輸入區域E1,讓使用者輸入任意文字來代表複製用圖像I2的名稱;以及登錄按鈕E2與取消按鈕E3,確定並登錄所輸入的名稱。使用者在輸入區域E1輸入代表名稱的任意文字,並按下登錄按鈕E2,從而使處理器2在選擇區域A生成被賦予所輸入名稱的複製用圖像I2。亦即,處理器2將具有所輸入之名稱的複製用圖像I2作為顯示於選擇區域A的一圖像I並儲存(登錄)至儲存裝置3中。The name setting area E includes: an input area E1 for the user to input any text to represent the name of the copy image I2; and a registration button E2 and a cancel button E3 for confirming and registering the input name. The user inputs any text representing the name in the input area E1 and presses the registration button E2, so that the processor 2 generates the copy image I2 given the input name in the selection area A. That is, the processor 2 stores (registers) the copy image I2 having the input name as an image I displayed in the selection area A in the storage device 3.

在此情形中,構成圖像群的至少一圖像I設定有參數時,處理器2會在維持參數的狀態下生成複製用圖像I2。登錄複製用圖像I2時,與其他圖像I相同,使用者選擇顯示於選擇區域A內的複製用圖像I2,拖曳與配置,從而能夠複製到作成區域B。In this case, when at least one image I constituting the image group is set with parameters, the processor 2 generates the copy image I2 while maintaining the parameters. When registering the copy image I2, the user selects the copy image I2 displayed in the selection area A, drags and arranges it, and can copy it to the creation area B, just like other images I.

此外,將複製用圖像I2複製到作成區域B時,構成複製用圖像I2的圖像群係以展開的形態以複製。構成圖像群的至少一圖像I所設定的參數會維持原樣。Furthermore, when the copy image I2 is copied to the creation area B, the image group constituting the copy image I2 is copied in an expanded form. The parameters set for at least one image I constituting the image group are maintained as they are.

本實施形態之程式生成方法,除了第一實施形態之程式生成方法,還進一步包括下列步驟。亦即,在選擇顯示於作成區域B的圖像群並按下複製標誌b或進行拖曳至選擇區域A時,會生成複製用圖像I2。並且,所生成的複製用圖像I2會作為一圖像I登錄至儲存裝置3。The program generation method of this embodiment, in addition to the program generation method of the first embodiment, further includes the following steps. That is, when the image group displayed in the creation area B is selected and the copy mark b is pressed or dragged to the selection area A, the copy image I2 is generated. And the generated copy image I2 is registered as an image I in the storage device 3.

藉此,依據本實施形態,能夠將包含配列於作成區域B的複數圖像I的圖像群作為可選擇的複製用圖像I2登錄。從而,動作程式在多次使用相同圖像群時,可直接一併複製貼上。Thus, according to this embodiment, it is possible to register an image group including a plurality of images I arranged in the creation area B as the selectable copy-use image I2. Therefore, when the action program uses the same image group multiple times, it can directly copy and paste them all at once.

特別地,構成圖像群之至少一圖像I設定有參數時,不須對於所複製的圖像群內的圖像I再重新設定參數。因此,即使在此情形中,使用者不須進行參數再設定等繁雜的作業,有能夠簡單再利用圖像I的優點。In particular, when at least one image I constituting the image group is set with parameters, it is not necessary to re-set parameters for the image I in the copied image group. Therefore, even in this case, the user does not need to perform complicated operations such as re-setting parameters, and has the advantage of being able to simply reuse the image I.

又,本實施形態中,將包含複數圖像I之圖像群複製到選擇區域A時,會生成合併圖像群的單一複製用圖像I2。從顯示於選擇區域A的複製用圖像I2的外觀以及該名稱無法確認該內容即為圖像群。In this embodiment, when the image group including the plurality of images I is copied to the selection area A, a single copy image I2 is generated in which the image group is combined. From the appearance and name of the copy image I2 displayed in the selection area A, it cannot be confirmed that the content is an image group.

在此,如圖13所示,選擇顯示於選擇區域A之複製用圖像I2時,亦可將代表複製用圖像I2的內容之圖像群顯示於顯示器4。例如,選擇複製用圖像I2時,只要在彈出視窗表示的內容表示區域F中表示代表複製用圖像I2之內容的圖像群即可。13, when the copy image I2 displayed in the selection area A is selected, the image group representing the content of the copy image I2 may be displayed on the display 4. For example, when the copy image I2 is selected, the image group representing the content of the copy image I2 may be displayed in the content display area F displayed in the pop-up window.

此外,如圖14所示,將包含設定有參數的圖像I的複製用圖像I2複製到作成區域B時,亦可表示確認區域G用以確認所設定的參數是否維持並複製。選擇維持參數時,則將維持所設定之參數的圖像I複製。選擇不維持參數時,可取消參數的設定,亦可設定為預設的參數。In addition, as shown in FIG. 14, when the copy image I2 including the image I with set parameters is copied to the creation area B, a confirmation area G may be displayed to confirm whether the set parameters are maintained and copied. When the parameters are maintained, the image I is copied with the set parameters maintained. When the parameters are not maintained, the parameter settings can be canceled or set to the default parameters.

此外,上述各實施形態係以設定有參數之圖像I或圖像群在生成相同動作程式時被多次使用的情形作為例示。取代於此,亦可用於以儲存裝置3所儲存的附參數圖像或複製用圖像I2生成不同動作程式的情形。In addition, the above-mentioned embodiments are exemplified by the case where the image I or image group with parameters is used multiple times when generating the same action program. Instead, it can also be used to generate different action programs using the image with parameters stored in the storage device 3 or the copy image I2.

此外,上述各實施形態係以設定有參數的圖像I或圖像群在生成相同動作程式時被多次使用的情形作為例示。取代於此,作為參考例,亦可適用於多次使用未設定參數的複數圖像I所成圖像群來生成動作程式的情形。In addition, the above-mentioned embodiments are exemplified by the situation that the image I or image group with parameters is used multiple times when generating the same action program. Instead of this, as a reference example, it can also be applied to the situation that the image group composed of multiple images I without parameters is used multiple times to generate the action program.

亦即,可在作成區域B中選擇未設定參數之複數圖像I,藉由拖曳或按下圖像登錄標誌c而生成複製用圖像I2,並登錄至儲存裝置3。即使是未設定參數的情形,藉由將複製用圖像I2作為一圖像I登錄,亦可與上述相同,能夠大幅改善操作性。That is, a plurality of images I for which no parameters are set can be selected in the creation area B, and a copy image I2 can be generated by dragging or pressing the image registration mark c, and registered in the storage device 3. Even in the case where no parameters are set, by registering the copy image I2 as one image I, the operability can be greatly improved as described above.

此外,上述亦將藉由複製操作生成複製用圖像I2的情形作為例示,惟取代於此,亦可藉由剪下操作來生成複製用圖像I2。例如,對於作成區域B的圖像群進行剪下操作後,在選擇區域A進行貼上操作時,亦可在選擇區域A生成複製用圖像I2。In addition, the above also uses the case where the copy image I2 is generated by the copy operation as an example, but instead of this, the copy image I2 can also be generated by the cut operation. For example, after the image group that creates the area B is cut, when the area A is selected for the paste operation, the copy image I2 can also be generated in the selected area A.

藉此,欲變更所選擇的複數圖像I在動作程式內的位置時,可從選擇區域A輕易實行將圖像I插入至動作程式上的任意位置。Thus, when the positions of the selected multiple images I in the action program are to be changed, the images I can be easily inserted into any position on the action program from the selection area A.

此外,上述實施形態中,作為動作指令係以直線移動命令、圓弧移動命令、安裝於機器人10之前端的工具之動作命令等作為例示,為不受限於此等。例如,亦可包含條件分支命令、登錄值以及其他I/O操作命令等之動作程式上所必須的任意動作命令。In addition, in the above-mentioned embodiment, the motion instructions are illustrated as linear movement commands, arc movement commands, and motion commands of tools installed on the front end of the robot 10, but are not limited to these. For example, any motion commands required by the motion program such as conditional branching commands, registration values, and other I/O operation commands may also be included.

上列詳述本發明之各實施型態,惟上述各實施型態並非用以限定本發明。該等實施型態,在不脫離本發明之主旨,或者,在不脫離申請專利範圍記載之內容及不脫離其均等物所導出之本發明之思想以及主旨的範圍內,能夠進行各種增加、替換、更改及部分刪除等。例如,在上述實施方式中,各運轉的順序或各處理的順序,僅作為其中一例來例示,惟不受限於此。The above detailed description of the various embodiments of the present invention is not intended to limit the present invention. These embodiments can be added, replaced, modified, or partially deleted without departing from the subject matter of the present invention, or without departing from the content described in the scope of the patent application and the idea and subject matter of the present invention derived from its equivalents. For example, in the above embodiments, the order of each operation or the order of each processing is only illustrated as an example, but is not limited thereto.

關於上述實施形態以及變形例進一步記載於下列附記。 (附記1) 一種程式生成裝置,包括:至少一處理器、至少一儲存裝置、顯示器、以及輸入裝置;其中,前述處理器進行下列步驟:從前述儲存裝置讀取至少一動作記號並顯示於前述顯示器之第一區域,該動作記號包含關於預先登錄至前述儲存裝置內之機器人之動作指令的資訊;藉由從顯示於該第一區域的前述動作記號中選擇出一以上的前述動作記號,複製並配列到前述顯示器的第二區域而生成動作程式;藉由前述輸入裝置輸入參數而生成附參數動作記號,該參數代表了所選擇的顯示於前述第一區域或前述第二區域的前述動作記號中之任意前述動作記號的機能;以及將所生成的該附參數動作記號作為一前述動作記號並登錄至前述儲存裝置中。 The above-mentioned embodiments and variations are further described in the following notes. (Note 1) A program generation device comprises: at least one processor, at least one storage device, a display, and an input device; wherein the processor performs the following steps: reading at least one action mark from the storage device and displaying it on a first area of the display, the action mark including information about an action instruction of a robot pre-registered in the storage device; selecting an action mark from the action marks displayed in the first area; The aforementioned action mark is copied and arranged in the second area of the aforementioned display to generate an action program; a parameter is input through the aforementioned input device to generate an action mark with parameters, the parameter represents the function of any of the aforementioned action marks selected and displayed in the aforementioned first area or the aforementioned second area; and the generated action mark with parameters is recorded as an aforementioned action mark in the aforementioned storage device.

(附記2) 如附記1所述之程式生成裝置,其中,前述處理器對應將前述附參數動作記號登錄至前述儲存裝置,藉由前述輸入裝置而輸入對應於該附參數動作記號的名稱。 (Supplementary Note 2) The program generation device as described in Supplementary Note 1, wherein the processor registers the parameter-attached action symbol to the storage device, and inputs the name corresponding to the parameter-attached action symbol through the input device.

(附記3) 如附記1或附記2所述之程式生成裝置,其中,前述處理器,對應前述附參數動作記號的選擇,藉由前述輸入裝置將輸入至該附參數動作記號的參數進行編輯。 (Note 3) A program generation device as described in Note 1 or Note 2, wherein the processor edits the parameters input to the parameter-attached action symbol via the input device in response to the selection of the parameter-attached action symbol.

(附記4) 如附記1至附記3中任一項所述之程式生成裝置,其中,前述處理器,對應所選擇的動作記號群生成代表前述動作記號群的單一複製用記號,且該動作記號群中包含配列於前述第二區域的複數前述動作記號;以及將所生成的前述複製用記號作為一前述動作記號並登錄至前述儲存裝置。 (Note 4) A program generation device as described in any one of Notes 1 to 3, wherein the processor generates a single copy token representing the selected action token group, and the action token group includes a plurality of the action tokens arranged in the second area; and the generated copy token is recorded as one of the action tokens in the storage device.

(附記5) 如附記4所述之程式生成裝置,其中,前述處理器,對應前述複製用記號的選擇,將構成該複製用記號之前述動作記號群顯示於前述顯示器。 (Supplementary Note 5) The program generation device as described in Supplementary Note 4, wherein the processor displays the aforementioned action symbol group constituting the copying symbol on the display in response to the selection of the aforementioned copying symbol.

(附記6) 如附記4或附記5所述之程式生成裝置,其中,前述處理器,作成不同動作程式時,能夠選擇顯示於前述第一區域的前述複製用記號。 (Note 6) A program generation device as described in Note 4 or Note 5, wherein the processor can select the copy mark displayed in the first area when creating different action programs.

(附記7) 如附記4至附記6中任一項所述之程式生成裝置,其中,前述處理器,在將前述複製用記號登錄至前述儲存裝置時,藉由前述輸入裝置將是否維持前述參數的資訊輸入,且前述參數係設定至構成前述複製用記號之各前述動作記號的前述參數,若不維持時,重設前述參數並將前述複製用記號登錄至前述儲存裝置。 (Note 7) A program generation device as described in any one of Notes 4 to 6, wherein the processor, when registering the copy mark to the storage device, inputs information on whether to maintain the parameters through the input device, and the parameters are set to the parameters of each of the action marks constituting the copy mark. If not maintained, the parameters are reset and the copy mark is registered to the storage device.

(附記8) 一種程式生成方法,包括:從儲存裝置讀取至少一動作記號並顯示於顯示器之第一區域,且該動作記號係包含關於預先登錄至前述儲存裝置內的機器人之動作指令的資訊;從顯示於該第一區域的前述動作記號選擇出一以上的前述動作記號,複製並配列到前述顯示器之第二區域而生成動作程式;藉由輸入參數而生成附參數動作記號,該參數代表所選擇的顯示於前述第一區域或前述第二區域的前述動作記號中的任意前述動作記號之機能;以及將所生成的該附參數動作記號作為一前述動作記號登錄至前述儲存裝置 (Note 8) A program generation method, comprising: reading at least one action mark from a storage device and displaying it in a first area of a display, wherein the action mark includes information about an action instruction of a robot pre-registered in the storage device; selecting one or more action marks from the action marks displayed in the first area, copying and arranging them in a second area of the display to generate an action program; generating a parameter-attached action mark by inputting a parameter, wherein the parameter represents the function of any of the selected action marks displayed in the first area or the second area; and registering the generated parameter-attached action mark as an action mark in the storage device

(附記9) 一種程式生成程式,利用電腦實行,程式生成程式包括:將至少一動作記號從儲存裝置中讀取並顯示於顯示器之第一區域,該動作記號包含關於預先登錄至前述儲存裝置內的機器人之動作指令的資訊;從顯示於該第一區域之前述動作記號中選擇出一以上的前述動作記號,複製並配列於前述顯示器之第二區域而生成動作程式,藉由輸入參數而生成附參數動作記號,該參數代表所選擇的顯示於前述第一區域或前述第二區域的前述動作記號中的任意前述動作記號之機能;以及將所生成的該附參數動作記號作為一前述動作記號登錄至前述儲存裝置。 (Supplementary Note 9) A program generation program is implemented by using a computer, the program generation program comprising: reading at least one action mark from a storage device and displaying it on a first area of a display, the action mark including information about an action instruction of a robot pre-registered in the aforementioned storage device; selecting one or more of the aforementioned action marks from the aforementioned action marks displayed in the first area, copying and arranging them in a second area of the aforementioned display to generate an action program, generating a parameter-attached action mark by inputting a parameter, the parameter representing the function of any of the aforementioned action marks selected and displayed in the aforementioned first area or the aforementioned second area; and registering the generated parameter-attached action mark as an aforementioned action mark in the aforementioned storage device.

(附記10) 一種程式生成裝置,包括:至少一處理器、至少一儲存裝置、顯示器、以及輸入裝置;其中,前述處理器進行下列步驟:從前述儲存裝置讀取至少一動作記號並顯示於前述顯示器之第一區域,該動作記號包含關於預先登錄至前述儲存裝置內之機器人之動作指令的資訊;藉由從顯示於該第一區域的前述動作記號中選擇出一以上的前述動作記號,複製並以時間順序配列到前述顯示器的第二區域而生成動作程式;選擇包含配列於前述第二區域的複數前述動作記號的動作記號群,對應複製操作而生成代表前述動作記號群的單一複製用記號,將所生成的前述複製用記號作為一前述動作記號並登錄至前述儲存裝置中。 (Note 10) A program generation device comprises: at least one processor, at least one storage device, a display, and an input device; wherein the processor performs the following steps: reading at least one action mark from the storage device and displaying it on a first area of the display, the action mark containing information about an action instruction of a robot pre-registered in the storage device; and Select one or more of the aforementioned action marks from the aforementioned action marks, copy and arrange them in time sequence in the second area of the aforementioned display to generate an action program; select an action mark group including a plurality of the aforementioned action marks arranged in the aforementioned second area, generate a single copy mark representing the aforementioned action mark group corresponding to the copy operation, and register the generated aforementioned copy mark as one of the aforementioned action marks in the aforementioned storage device.

1:程式生成裝置 2:處理器 3:儲存裝置 4:顯示器 5:輸入介面(輸入裝置) 10:機器人 11:控制裝置 20:機器人系統 A:選擇區域 B:作成區域 C:參數設定區域 D:名稱設定區域 D1:輸入區域 D2:登錄按鈕 D3:取消按鈕 E:名稱設定區域 E1:輸入區域 E2:登錄按鈕 E3:取消按鈕 G:確認區域 a:圖像刪除標誌 b:複製標誌 c:圖像登錄標誌 I:圖像 I1:新圖像 I2:複製用圖像 S1~S8:步驟 1: Program generation device 2: Processor 3: Storage device 4: Display 5: Input interface (input device) 10: Robot 11: Control device 20: Robot system A: Selection area B: Creation area C: Parameter setting area D: Name setting area D1: Input area D2: Login button D3: Cancel button E: Name setting area E1: Input area E2: Login button E3: Cancel button G: Confirmation area a: Image deletion mark b: Copy mark c: Image registration mark I: Image I1: New image I2: Image for copying S1~S8: Steps

[圖1]表示適用本發明之第一實施形態之程式生成裝置的機器人系統之一例的示意圖。 [圖2]表示圖1之程式生成裝置之方塊圖。 [圖3]表示圖2之程式生成裝置中,顯示器之表示例的示意圖。 [圖4]表示圖2之程式生成裝置中,顯示器所表示之參數設定區域以及名稱設定區域之一例的示意圖。 [圖5]表示圖2之程式生成裝置中,複製於選擇區域之附參數圖像之一例的示意圖。 [圖6]表示圖2之程式生成裝置中,將附參數圖像複製至書籤之狀態的示意圖。 [圖7]說明本發明之第一實施形態之程式生成方法的流程圖。 [圖8]表示圖2之程式生成裝置中顯示器之變形例的示意圖。 [圖9]表示增加用來選擇登錄至圖4之參數設定區域的參數之確認欄的圖。 [圖10]說明本發明之第二實施形態之程式生成裝置之顯示器之表示例的示意圖。 [圖11]表示圖10之作成區域中,將複數圖像複製到選擇區域並生成複製用圖像之狀態的示意圖。 [圖12]表示對於圖10之複製用圖像輸入名稱的名稱輸入區域之一例的示意圖。 [圖13]表示確認圖10之複製用圖像之內容之一例的示意圖。 [圖14]表示將圖10之複製用圖像複製到作成區域時,確認是否維持參數之一例的示意圖。 [FIG. 1] is a schematic diagram showing an example of a robot system to which the program generation device of the first embodiment of the present invention is applied. [FIG. 2] is a block diagram showing the program generation device of FIG. 1. [FIG. 3] is a schematic diagram showing an example of a display in the program generation device of FIG. 2. [FIG. 4] is a schematic diagram showing an example of a parameter setting area and a name setting area shown on the display in the program generation device of FIG. 2. [FIG. 5] is a schematic diagram showing an example of a parameter-attached image copied to a selection area in the program generation device of FIG. 2. [FIG. 6] is a schematic diagram showing a state in which a parameter-attached image is copied to a bookmark in the program generation device of FIG. 2. [FIG. 7] is a flow chart showing a program generation method of the first embodiment of the present invention. [FIG. 8] is a schematic diagram showing a variation of a display in the program generation device of FIG. 2. [FIG. 9] is a diagram showing a confirmation column added for selecting parameters to be registered in the parameter setting area of FIG. 4. [FIG. 10] is a schematic diagram showing an example of a display of a program generation device according to the second embodiment of the present invention. [FIG. 11] is a schematic diagram showing a state in which a plurality of images are copied to a selection area in the creation area of FIG. 10 and a copy image is generated. [FIG. 12] is a schematic diagram showing an example of a name input area for inputting a name for the copy image of FIG. 10. [FIG. 13] is a schematic diagram showing an example of confirming the content of the copy image of FIG. 10. [FIG. 14] is a schematic diagram showing an example of confirming whether to maintain parameters when the copy image of FIG. 10 is copied to the creation area.

1:程式生成裝置 1: Program generation device

2:處理器 2: Processor

3:儲存裝置 3: Storage device

4:顯示器 4: Display

5:輸入介面(輸入裝置) 5: Input interface (input device)

Claims (9)

一種程式生成裝置,包括:至少一處理器、至少一儲存裝置、顯示器、以及輸入裝置; 其中,該處理器進行下列步驟: 從該儲存裝置讀取至少一動作記號並顯示於該顯示器之第一區域,該動作記號包含關於預先登錄至該儲存裝置內之機器人之動作指令的資訊; 藉由從顯示於該第一區域的該動作記號中選擇一以上的該動作記號並複製配列到該顯示器的第二區域而生成動作程式; 藉由該輸入裝置輸入參數而生成附參數動作記號,該參數代表了所選擇的顯示於該第一區域或該第二區域的該動作記號中之任意該動作記號的機能;以及 將所生成的該附參數動作記號作為一該動作記號並登錄至該儲存裝置中。 A program generation device, comprising: at least one processor, at least one storage device, a display, and an input device; wherein the processor performs the following steps: reading at least one action mark from the storage device and displaying it in the first area of the display, the action mark containing information about the action instructions of the robot pre-registered in the storage device; generating an action program by selecting one or more action marks from the action marks displayed in the first area and copying and arranging them in the second area of the display; generating a parameterized action mark by inputting a parameter through the input device, the parameter representing the function of any of the action marks selected and displayed in the first area or the second area; and The generated action token with parameters is recorded as an action token in the storage device. 如請求項1所述之程式生成裝置,其中,該處理器對應將該附參數動作記號登錄至該儲存裝置,藉由該輸入裝置而輸入對應於該附參數動作記號的名稱。A program generation device as described in claim 1, wherein the processor registers the parameter-attached action token to the storage device in response to inputting a name corresponding to the parameter-attached action token through the input device. 如請求項1或2所述之程式生成裝置,其中,該處理器,對應該附參數動作記號的選擇,藉由該輸入裝置將輸入至該附參數動作記號的參數進行編輯。A program generation device as described in claim 1 or 2, wherein the processor edits the parameters input to the parameter-attached action token via the input device in response to the selection of the parameter-attached action token. 如請求項1或2所述之程式生成裝置,其中,該處理器,對應所選擇的動作記號群生成代表該動作記號群的單一複製用記號,且該動作記號群中包含配列於該第二區域的複數該動作記號;以及 將所生成的該複製用記號作為一該動作記號並登錄至該儲存裝置。 A program generation device as described in claim 1 or 2, wherein the processor generates a single copy token representing the selected action token group, and the action token group includes a plurality of the action tokens arranged in the second area; and The generated copy token is used as one of the action tokens and is registered in the storage device. 如請求項4所述之程式生成裝置,其中,該處理器,對應該複製用記號的選擇,將構成該複製用記號之該動作記號群顯示於該顯示器。A program generation device as described in claim 4, wherein the processor, in response to the selection of the copy mark, displays the action mark group constituting the copy mark on the display. 如請求項4所述之程式生成裝置,其中,該處理器,作成不同動作程式時,能夠選擇顯示於該第一區域的該複製用記號。A program generation device as described in claim 4, wherein the processor, when creating different action programs, is capable of selecting the copy mark displayed in the first area. 如請求項4所述之程式生成裝置,其中,該處理器,在將該複製用記號登錄至該儲存裝置時,藉由該輸入裝置將是否維持該參數的資訊輸入,且該參數係設定至構成該複製用記號之各該動作記號的該參數,若不維持時,重設該參數並將該複製用記號登錄至該儲存裝置。A program generation device as described in claim 4, wherein the processor, when logging the copy mark to the storage device, inputs information on whether the parameter is maintained through the input device, and the parameter is set to the parameter of each action mark constituting the copy mark. If it is not maintained, the parameter is reset and the copy mark is logged to the storage device. 一種程式生成方法,包括: 從儲存裝置讀取至少一動作記號並顯示於顯示器之第一區域,且該動作記號係包含關於預先登錄至該儲存裝置內的機器人之動作指令的資訊; 從顯示於該第一區域的該動作記號選擇一以上的該動作記號,且複製並配列到該顯示器之第二區域而生成動作程式; 藉由輸入參數而生成附參數動作記號,該參數代表所選擇的顯示於該第一區域或該第二區域的該動作記號中的任意該動作記號之機能;以及 將所生成的該附參數動作記號作為一該動作記號登錄至該儲存裝置。 A program generation method, comprising: reading at least one action mark from a storage device and displaying it in a first area of a display, wherein the action mark contains information about an action instruction of a robot pre-registered in the storage device; selecting one or more action marks from the action marks displayed in the first area, and copying and arranging them in a second area of the display to generate an action program; generating a parameter-attached action mark by inputting a parameter, wherein the parameter represents the function of any of the selected action marks displayed in the first area or the second area; and registering the generated parameter-attached action mark as an action mark in the storage device. 一種程式生成程式,利用電腦實行,該程式生成程式包括: 將至少一動作記號從儲存裝置中讀取並顯示於顯示器之第一區域,該動作記號包含關於預先登錄至該儲存裝置內的機器人之動作指令的資訊; 從顯示於該第一區域之該動作記號中選擇一以上的該動作記號且複製並配列於該顯示器之第二區域而生成動作程式; 藉由輸入參數而生成附參數動作記號,該參數代表所選擇的顯示於該第一區域或該第二區域的該動作記號中的任意該動作記號之機能;以及 將所生成的該附參數動作記號作為一該動作記號登錄至該儲存裝置。 A program generation program is implemented using a computer, and the program generation program includes: Reading at least one action mark from a storage device and displaying it in a first area of a display, the action mark containing information about the action instructions of a robot pre-registered in the storage device; Selecting one or more action marks from the action marks displayed in the first area and copying and arranging them in a second area of the display to generate an action program; Generating a parameter-attached action mark by inputting a parameter, the parameter representing the function of any of the selected action marks displayed in the first area or the second area; and Registering the generated parameter-attached action mark as an action mark in the storage device.
TW112144163A 2022-11-29 2023-11-15 Program generation device, method and program TW202422253A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
WOPCT/JP2022/043895 2022-11-29

Publications (1)

Publication Number Publication Date
TW202422253A true TW202422253A (en) 2024-06-01

Family

ID=

Similar Documents

Publication Publication Date Title
JP4770901B2 (en) Computer emulation device and computer emulation program
TWI498693B (en) Multi-axes control system setting and adjusting functions support device
JP2008269554A (en) Source code generating device
JP2007004734A (en) Information processing system, information processing method and computer program
JP2014149634A (en) Input/output device
JPH0388087A (en) Document reader
WO2018220921A1 (en) Program development support device, program development support method, and program development support program
TW201416954A (en) Screen creation device and screen creation method
TW202422253A (en) Program generation device, method and program
JP2008146225A (en) Editor, edit method, and edit program
JP2007065914A (en) Screen generation device and program, and recording medium recording program
JP2010009167A (en) Screen display device, screen display method, and screen display program
JP3842811B2 (en) File editing apparatus, file editing method, and file editing program
WO2024116261A1 (en) Program generation device, method, and program
JP4766300B2 (en) Program editing support device
JP2008077317A (en) Verification device, verification program and verification method
TWI764414B (en) Method for creating a human-machine interface and computer program product
JPH0417002A (en) Sequence program searching system
JP2706558B2 (en) Ladder program editing method
JP5195406B2 (en) Display control apparatus and method, program, and recording medium
JP5807441B2 (en) Image processing apparatus and program
JPH08147264A (en) Multimedia presentation editing executing device
JPH10187849A (en) Data string processor
JP2023092609A5 (en)
JPH1185733A (en) Document editing device and its method and recording medium