TW202403480A - Control program generation device, control program generation method, and program - Google Patents

Control program generation device, control program generation method, and program Download PDF

Info

Publication number
TW202403480A
TW202403480A TW112138804A TW112138804A TW202403480A TW 202403480 A TW202403480 A TW 202403480A TW 112138804 A TW112138804 A TW 112138804A TW 112138804 A TW112138804 A TW 112138804A TW 202403480 A TW202403480 A TW 202403480A
Authority
TW
Taiwan
Prior art keywords
action
basic
actuator
diagram
manufacturing machine
Prior art date
Application number
TW112138804A
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
Priority claimed from JP2020011386A external-priority patent/JP6787616B1/en
Priority claimed from JP2020075017A external-priority patent/JP6829505B1/en
Application filed by 日商歐普同股份有限公司 filed Critical 日商歐普同股份有限公司
Publication of TW202403480A publication Critical patent/TW202403480A/en

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

In the present invention, by dividing an operation period from the start to the end of operation of an automatic manufacturing machine (1) into a plurality of partial periods, also dividing the operation of the automatic manufacturing machine into basic operations (206) of a plurality of actuators, and by assigning the basic operations to one of the partial periods, the operations of the automatic manufacturing machine are described in an operation chart (200). The basic operations on the operation chart are each described by using: an operation description (206a) in which operation is qualitatively described; and a numerical table (206b) or a plurality of numerical parameters (206c). Subsequently, the operation chart in which the operations of the automatic manufacturing machine are described is read, a plurality of the operation descriptions in the operation chart are converted to program elements stored in association with the operation descriptions, numerical values set to the numerical table or the plurality of numerical parameters are set to the program elements, and thereafter, the program elements are combined in accordance with the order of the partial periods in the operation chart.

Description

控制程式生成裝置、控制程式生成方法、程式Control program generation device, control program generation method, program

本發明係關於一種生成具備複數個致動器之自動製造機械的控制程式之技術。The present invention relates to a technology for generating a control program for an automatic manufacturing machine equipped with a plurality of actuators.

現今,橫跨所有業種,在工廠等製造現場皆強烈要求省力化,並預期此傾向在今後亦會日益增強。為了推進製造現場之省力化,必須活用自動進行動作之自動製造機械,該動作為持握欲加工或製造之對象物、搬運對象物、對對象物施行各種加工、或加熱。Today, across all industries, there is a strong demand for labor saving at manufacturing sites such as factories, and this trend is expected to increase in the future. In order to promote labor saving at the manufacturing site, it is necessary to utilize automatic manufacturing machines that automatically perform actions such as holding the object to be processed or manufactured, transporting the object, performing various processes on the object, or heating the object.

因此,根據欲加工或製造之對象物、或加工內容(例如,切削加工、彎曲加工)、為食品之情況下根據加熱程度等,開發各種種類之自動製造機械(例如,專利文獻1、專利文獻2)。Therefore, various types of automatic manufacturing machines have been developed depending on the object to be processed or manufactured, the processing content (for example, cutting processing, bending processing), the degree of heating in the case of food, etc. (for example, Patent Document 1, Patent Document 2).

此外,加工或製造之對象物之大小、形狀及材質等在每個製造現場不同,進一步,加工內容及加熱程度等亦依據製造現場而不同。因此,在將自動製造機械導入製造現場時,難以挪用在其他製造現場所使用之自動製造機械,一般必須針對每個製造現場新開發專用的自動製造機械。 〔先前技術文獻〕 〔專利文獻〕 In addition, the size, shape, material, etc. of the objects to be processed or manufactured are different at each manufacturing site. Furthermore, the processing content and heating degree are also different depending on the manufacturing site. Therefore, when automatic manufacturing machines are introduced to a manufacturing site, it is difficult to misappropriate automatic manufacturing machines used at other manufacturing sites, and it is generally necessary to newly develop dedicated automatic manufacturing machines for each manufacturing site. [Prior Technical Document] 〔Patent documents〕

〔專利文獻1〕日本特開2011-245602號公報 〔專利文獻2〕日本特開2018-192570號公報 [Patent Document 1] Japanese Patent Application Publication No. 2011-245602 [Patent Document 2] Japanese Patent Application Publication No. 2018-192570

〔發明所欲解決之技術問題〕[Technical problem to be solved by the invention]

然而,開發新自動製造機械,亦必須新製作用於控制該自動製造機械之控制程式,具有此情況成為在製造現場導入新的自動製造機械時的巨大阻礙之問題。其理由如後述。However, when developing a new automatic manufacturing machine, it is also necessary to create a new control program for controlling the automatic manufacturing machine. This situation becomes a huge obstacle when introducing a new automatic manufacturing machine to a manufacturing site. The reason for this will be described later.

在開發新自動製造機械時,首先機械設計技術者在理解自動製造機械所要求之各種功能後,製作可實現所要求之功能之自動製造機械之圖。接著,具有用於製作程式的技術之技術者(所謂程式設計者),必須在理解圖所記載之各種致動器及機械零件之動作後,藉由各種致動器同時協調並動作,製作實現所要求之功能之控制程式。When developing a new automatic manufacturing machine, first of all, the mechanical design technician understands the various functions required by the automatic manufacturing machine and then creates a drawing of the automatic manufacturing machine that can realize the required functions. Next, a technician (so-called programmer) who has the technology to create a program must understand the operations of the various actuators and mechanical parts described in the diagram, and then coordinate and operate the various actuators simultaneously to create the implementation. Control program for the required functions.

如此地,由於製作控制程式,在自動製造機械之設計結束後必須由具有專門的技能之程式設計者著手,因此造成著手進行控制程式製作之時間延遲。另外,程式設計者亦需要時間理解各種致動器及機械零件之動作。其結果,從著手進行自動製造機械之開發到出貨至製造現場需要長時間,此情況成為在製造現場導入新自動製造機械時的巨大阻礙。In this way, since the production of the control program must be started by a programmer with specialized skills after the design of the automatic manufacturing machine is completed, there is a time delay in starting the production of the control program. In addition, programmers also need time to understand the actions of various actuators and mechanical parts. As a result, it takes a long time from the start of development of the automatic manufacturing machine to shipment to the manufacturing site. This situation becomes a huge obstacle to the introduction of new automatic manufacturing machines at the manufacturing site.

本發明,係為了解決先前技術所具有之上述課題所成者,目的係提供可藉由自動生成自動製造機械之控制程式,大幅縮短為了開發新自動製造機械所需要的時間之技術。 〔技術手段〕 The present invention is made to solve the above-mentioned problems of the prior art, and aims to provide a technology that can significantly shorten the time required to develop a new automatic manufacturing machine by automatically generating a control program for the automatic manufacturing machine. [Technical means]

為解決上述課題,本發明之控制程式生成裝置採用以下之構成。亦即,本發明之控制程式生成裝置為 一種控制程式生成裝置(100a、110),其係生成具備複數個致動器(10~20)之自動製造機械(1)之控制程式者,其特徵係具備: 基本動作儲存部(102),將表示該致動器每個自由度的動作之基本動作,與實現該基本動作之程式元件相對應並儲存; 動作圖讀取部(103),讀取動作圖(200);該動作圖(200),係藉由將該自動製造機械從動作開始至結束之動作期間分割為複數個部分期間,並在將該自動製造機械之動作分解為複數個該基本動作之同時,將該基本動作分配於任一該複數個部分期間,從而描述該自動製造機械之動作;及 控制程式生成部(105),藉由將分配於該動作圖上複數個該部分期間之複數個該基本動作之該程式元件,依照該動作圖上之該部分期間之順序結合,從而生成使該自動製造機械動作之該控制程式; 該基本動作儲存部,係將該基本動作之內容分為定性描述之動作描述(206a)、及藉由數值描述該基本動作之定量事項之數值描述後,儲存與該基本動作之動作描述對應之該程式元件、及與該數值描述對應之數值表(206b); 該動作圖讀取部,讀取使用該動作描述及該數值表記載該基本動作之該動作圖; 該控制程式生成部,在結合複數個該程式元件時,依照與該程式元件之該動作描述同時記載之該數值表,設定該程式元件之數值。 In order to solve the above problems, the control program generating device of the present invention adopts the following structure. That is, the control program generating device of the present invention is A control program generating device (100a, 110) that generates a control program for an automatic manufacturing machine (1) equipped with a plurality of actuators (10~20), and is characterized by: The basic action storage unit (102) corresponds to and stores the basic action representing the action of each degree of freedom of the actuator and the program element that implements the basic action; The operation diagram reading unit (103) reads the operation diagram (200); the operation diagram (200) is obtained by dividing the operation period from the beginning to the end of the automatic manufacturing machine into a plurality of partial periods, and dividing the operation diagram (200) into a plurality of partial periods. While decomposing the action of the automatic manufacturing machine into a plurality of the basic actions, allocating the basic action to any of the plurality of partial periods, thereby describing the action of the automatic manufacturing machine; and The control program generation unit (105) combines the program elements of the plurality of basic actions allocated to the plurality of partial periods on the action diagram in accordance with the order of the partial periods on the action diagram, thereby generating the The control program for automatic manufacturing of mechanical movements; The basic action storage unit divides the content of the basic action into an action description (206a) that describes the qualitative description, and a numerical description that describes the quantitative matters of the basic action through numerical values, and then stores the action description corresponding to the basic action. The program component, and the value table corresponding to the value description (206b); The action diagram reading unit reads the action diagram that records the basic action using the action description and the numerical value table; The control program generation unit, when combining a plurality of the program components, sets the value of the program component according to the value table recorded simultaneously with the action description of the program component.

此外,與上述之本發明之控制程式生成裝置對應之控制程式生成方法為 一種控制程式生成方法,其係使電腦生成具備複數個致動器(10~20)之自動製造機械(1)之控制程式者,其特徵係具備: 動作圖讀取步驟(STEP1),讀取動作圖(200);該動作圖(200),係藉由將該自動製造機械從動作開始至結束之動作期間分割為複數個部分期間,並在將該自動製造機械之動作分解為表示該致動器每個自由度的動作之複數個基本動作之同時,將該基本動作分配於任一該複數個部分期間,從而描述該自動製造機械之動作,並且,該動作圖(200)使用定性地描述動作之動作描述(206a)及將該基本動作之定量事項藉由數值描述之數值表(206b)記載該基本動作; 動作圖解析步驟(STEP2),藉由解析該動作圖,擷取包含於該動作圖之複數個該基本動作、及分配有複數個該基本動作之該部分期間;及 控制程式生成步驟(STEP3),藉由參照將該基本動作之該動作描述與用於實現該動作描述之程式元件相對應並儲存之對應關係,將該動作描述變換為該程式元件之同時,依照與該動作描述同時記載之該數值表設定該程式元件之數值,而後藉由依照該部分期間之順序結合該程式元件,從而生成使該自動製造機械動作之該控制程式。 In addition, the control program generation method corresponding to the above-mentioned control program generation device of the present invention is A method for generating a control program, which enables a computer to generate a control program for an automatic manufacturing machine (1) equipped with a plurality of actuators (10~20), and is characterized by: The operation diagram reading step (STEP1) reads the operation diagram (200); the operation diagram (200) is divided into a plurality of partial periods from the beginning to the end of the operation of the automatic manufacturing machine, and The action of the automatic manufacturing machine is decomposed into a plurality of basic actions representing the action of each degree of freedom of the actuator, and the basic action is allocated to any of the plurality of partial periods, thereby describing the action of the automatic manufacturing machine, Furthermore, the action diagram (200) records the basic action using an action description (206a) that qualitatively describes the action and a numerical value table (206b) that describes the quantitative matters of the basic action using numerical values; Action graph analysis step (STEP 2): by analyzing the action graph, extract a plurality of the basic actions included in the action graph and the partial period allocated to a plurality of the basic actions; and In the control program generation step (STEP 3), by referring to the corresponding relationship between the action description of the basic action and the program element used to realize the action description, and converting the action description into the program element, according to The numerical value table recorded simultaneously with the action description sets the value of the program element, and then the control program for causing the automatic manufacturing machine to operate is generated by combining the program elements according to the sequence of the partial period.

在此種本發明之控制程式生成裝置及控制程式生成方法中,於動作圖預先描述自動製造機械之動作,並使用定性地描述動作內容之動作描述、及設定有描述動作之定量事項的數值之數值表,記載動作圖中的基本動作。進一步地,將動作描述、與實現表示該動作描述之動作之程式元件相對應並預先儲存。接著,生成自動製造機械之控制程式時,讀取描述有自動製造機械之動作之動作圖,並在將動作圖所記載之基本動作之動作描述變換為程式元件之同時,將程式元件設定為在與動作描述同時記載之數值表中所設定之數值。接著,藉由依照部分期間之順序結合該等程式元件,從而生成控制程式。In the control program generation device and the control program generation method of the present invention, the operation of the automatic manufacturing machine is described in advance in the operation diagram, and an operation description that qualitatively describes the content of the operation is used, and a numerical value that sets a quantitative matter describing the operation is used. A numerical table that records the basic actions in the action diagram. Further, the action description is associated with the program element that implements the action representing the action description and is stored in advance. Next, when generating the control program of the automatic manufacturing machine, the operation diagram describing the operation of the automatic manufacturing machine is read, and the operation description of the basic operation recorded in the operation diagram is converted into a program element, and the program element is set to The value set in the value table recorded at the same time as the action description. Then, a control program is generated by combining the program components in the order of partial periods.

由於動作描述係定性地描述為致動器之單純的動作之基本動作者,因此可預先製作使致動器進行動作描述之動作之程式元件。當然地,為了使用程式元件使致動器動作,必須指定例如動作量或動作速度等定量事項,而此等數值作為數值表與動作描述分別地設定。若為設計過自動製造機械之機械設計技術者、或對自動製造機械之構造具有充分知識之技術者,可容易地製作此種動作圖。接著,讀取製作之動作圖,並在將動作圖中之動作描述變換為程式元件之同時,依照與動作描述同時記載之數值表設定程式元件之數值,而後若依照動作圖結合其等程式元件,則可自動生成控制自動製造機械之動作之控制程式。另外,由於在動作圖記載基本動作時,分為動作描述及數值表來記載,因此藉由以下原因,可大幅地減少於動作圖(YOGO圖)記載有錯誤內容之情況。亦即,由於動作描述僅為直接地表現人類欲使致動器進行之動作者,因此於動作圖上記載動作描述之作業,僅為直接地表現人類的意圖之作業,因此可大幅地減少記載錯誤內容之可能性。當然地,由於僅記載動作描述而未設定具體的數值,因此無法使致動器動作,惟此等可使用於數值表中所設定的數值。並且,即使在修正具體的數值之情形下,只要修正數值表中所設定之數值即可,因此無需修正動作圖。因此,修正時亦不會錯誤地變更動作圖。其結果為可大幅地減少於動作圖(YOGO圖)記載錯誤內容之事態。Since the action description qualitatively describes the basic action of a simple action of the actuator, a program element that causes the actuator to perform the action described in the action can be created in advance. Of course, in order to use a program element to operate an actuator, quantitative matters such as an amount of operation or an operation speed must be specified, and these values are set separately as a numerical table and an operation description. Such an operation diagram can be easily created by a mechanical design technician who has designed automatic manufacturing machines or a technician who has sufficient knowledge of the structure of automatic manufacturing machines. Next, read the created action diagram, and while converting the action description in the action diagram into a program element, set the value of the program element according to the numerical table recorded at the same time as the action description, and then combine the other program elements according to the action diagram , then the control program that controls the movement of the automatic manufacturing machinery can be automatically generated. In addition, when basic actions are described in action diagrams, they are divided into action descriptions and numerical tables. Therefore, the number of incorrect contents recorded in action diagrams (YOGO diagrams) can be greatly reduced for the following reasons. That is, since the action description only directly expresses the actions that humans want the actuator to perform, the operation of recording the action description on the action diagram is only the operation that directly expresses the human intention, so the recording can be greatly reduced. Possibility of erroneous content. Of course, since only the description of the operation is recorded without setting specific numerical values, the actuator cannot be operated, but these can be used for the numerical values set in the numerical value table. Furthermore, even when a specific numerical value is corrected, it is only necessary to correct the numerical value set in the numerical value table, so there is no need to correct the operation diagram. Therefore, the operation diagram will not be changed incorrectly during correction. As a result, the number of incorrect content recorded in action diagrams (YOGO diagrams) can be significantly reduced.

此外,以上述態樣所理解之本發明之控制程式生成裝置中,數值表中亦可設定包含基本動作之動作量或動作速度或動作荷重之至少一個之複數個數值。In addition, in the control program generation device of the present invention understood in the above aspect, a plurality of values including at least one of the movement amount, movement speed, or movement load of the basic movement can be set in the numerical value table.

基本動作之動作量或動作速度或動作荷重等,係為了使致動器如預期地進行基本動作所必須的數值,惟無法以動作描述來描述。因此,若將此等事先設定於數值表中,則可使致動器如預期地進行基本動作,其結果為可使自動製造機械適當地動作。The amount of movement, speed of movement, load of movement, etc. of the basic movement are necessary values for the actuator to perform the basic movement as expected, but they cannot be described by movement description. Therefore, if these are set in the numerical table in advance, the actuator can perform basic operations as expected, and as a result, the automatic manufacturing machine can operate appropriately.

此外,以上述態樣所理解之本發明之控制程式生成裝置中,在數值表未設定有數值之情形下,亦可參照預先設定有適當的數值之參照表。In addition, in the control program generating device of the present invention understood in the above aspect, when the numerical value table is not set with numerical values, it is possible to refer to the reference table in which appropriate numerical values are set in advance.

如此,即使未事先於數值表設定數值,亦可使用設定於參照表之數值使致動器動作。因此,若能根據需要於數值表中設定適當的數值,則可使自動製造機械適當地動作。In this way, even if the value is not set in the value table in advance, the actuator can be operated using the value set in the reference table. Therefore, if appropriate values can be set in the numerical table as necessary, the automatic manufacturing machine can be operated appropriately.

此外,以上述態樣所理解之本發明之控制程式生成裝置中,亦可將等待基本動作之動作開始之動作待機時間設定於數值表。In addition, in the control program generation device of the present invention understood in the above aspect, the action waiting time waiting for the start of the basic action can also be set in the numerical table.

如此,藉由事先於數值表設定動作待機時間,可在經過動作待機時間後使致動器進行基本動作。此外,在使複數個致動器進行基本動作之情形下,藉由調節於各致動器之數值表設定之動作待機時間,亦可簡單地描述使各致動器開始基本動作之時機逐次一點一點地產生差異之細微動作。In this way, by setting the action standby time in the numerical table in advance, the actuator can be made to perform the basic action after the action standby time has elapsed. In addition, in the case of causing a plurality of actuators to perform basic operations, by adjusting the operation waiting time set in the numerical table of each actuator, it is also possible to simply describe the timing of causing each actuator to start basic operations one after another. Small movements that make a difference bit by bit.

此外,以前述態樣所理解之本發明之控制程式生成方法,亦可理解為用於使用電腦實現控制程式生成方法之程式。亦即,以前述態樣所理解之本發明之程式為 一種程式,其係使用電腦實現生成具備複數個致動器(10~20)之自動製造機械(1)之控制程式之方法者,其特徵係使用電腦實現: 動作圖讀取功能(STEP1),讀取動作圖(200);該動作圖(200),係藉由將該自動製造機械從動作開始至結束之動作期間分割為複數個部分期間,並在將該自動製造機械之動作分解為表示該致動器每個自由度的動作之複數個基本動作之同時,將該基本動作分配於任一該複數個部分期間,從而描述該自動製造機械之動作,並且,該動作圖(200)使用定性地描述動作之動作描述(206a)及將該基本動作之定量事項藉由數值描述之數值表(206b)記載該基本動作; 動作圖解析功能(STEP2),藉由解析該動作圖,擷取包含於該動作圖之複數個該基本動作、及分配有複數個該基本動作之該部分期間;及 控制程式生成功能(STEP3),藉由參照將該基本動作之該動作描述與用於實現該動作描述之程式元件相對應並儲存之對應關係,將該動作描述變換為該程式元件之同時,依照與該動作描述同時記載之該數值表設定該程式元件之數值,而後藉由依照該部分期間之順序結合該程式元件,從而生成使該自動製造機械動作之該控制程式。 In addition, the control program generation method of the present invention understood in the above aspect can also be understood as a program for realizing the control program generation method using a computer. That is, the formula of the present invention understood in the above aspect is A program that uses a computer to realize a method of generating a control program for an automatic manufacturing machine (1) equipped with a plurality of actuators (10~20). Its characteristics are realized using a computer: The action diagram reading function (STEP1) reads the action diagram (200); the action diagram (200) is divided into a plurality of partial periods from the beginning to the end of the operation of the automatic manufacturing machine, and then The action of the automatic manufacturing machine is decomposed into a plurality of basic actions representing the action of each degree of freedom of the actuator, and the basic action is allocated to any of the plurality of partial periods, thereby describing the action of the automatic manufacturing machine, Furthermore, the action diagram (200) records the basic action using an action description (206a) that qualitatively describes the action and a numerical value table (206b) that describes the quantitative matters of the basic action using numerical values; Action graph analysis function (STEP 2), by analyzing the action graph, extracts the plurality of basic actions included in the action graph and the partial period allocated to the plurality of basic actions; and The control program generation function (STEP 3) refers to the corresponding relationship between the action description of the basic action and the program element used to realize the action description and stores it, while converting the action description into the program element, according to The numerical value table recorded simultaneously with the action description sets the value of the program element, and then the control program for causing the automatic manufacturing machine to operate is generated by combining the program elements according to the sequence of the partial period.

使電腦讀取並執行此種程式,則可由動作圖自動生成控制自動製造機械之動作之控制程式,進一步地,亦可防止於動作圖記載有錯誤內容之事態。By causing a computer to read and execute such a program, a control program for controlling the operation of the automatic manufacturing machine can be automatically generated from the operation diagram. Furthermore, a situation in which erroneous content is recorded in the operation diagram can be prevented.

A.裝置構成: 圖1,係表示本實施例之自動製造機械1之大略外觀形狀之說明圖。本實施例之自動製造機械1,藉由對長尺寸之管材施行自動彎曲加工,加工為期望形狀之工作機械(即所謂彎管器)。當然地,本實施例之自動製造機械1,可搭載複數個致動器,對對象物自動執行持握、搬運、加工、加熱等複數個動作,亦可為彎管器以外之製造機械。例如,亦可為用於自動製造食品之製造機械。或者,亦可為組合具有複數個關節之機械手臂與搬運裝置之製造系統。 A. Device composition: FIG. 1 is an explanatory diagram showing the general appearance of the automatic manufacturing machine 1 according to this embodiment. The automatic manufacturing machine 1 of this embodiment performs automatic bending processing on long-sized pipes to form a working machine of a desired shape (that is, a so-called pipe bender). Of course, the automatic manufacturing machine 1 of this embodiment can be equipped with a plurality of actuators to automatically perform a plurality of actions such as holding, transporting, processing, and heating the object, and can also be a manufacturing machine other than a pipe bender. For example, it may be a manufacturing machine for automatically manufacturing food. Alternatively, it may be a manufacturing system that combines a robot arm with a plurality of joints and a handling device.

如圖1所示,本實施例之自動製造機械1,大略為橫長之長方體形狀,在長方體頂面側於長邊方向架設二條軌道2,在軌道2上之一端側(圖1中為左側),搭載有持握並搬運加工對象之未圖示之管材之搬運單元3。此外,在相對於搭載有搬運單元3側之相反側,搭載有對未圖示之管材施行彎曲等加工之加工單元4。在搬運單元3,突出設置有圓柱形狀之持握軸3a,在持握軸3a之前端,安裝有持握未圖示之管材之夾頭3b。因此,將能夠藉由以夾頭3b持握管材之狀態使搬運單元3在軌道2上移動,從而將管材供給至加工單元4,並以加工單元4對管材施行彎曲加工等。As shown in Figure 1, the automatic manufacturing machine 1 of this embodiment is roughly in the shape of a horizontally long rectangular parallelepiped. Two rails 2 are set up on the top side of the cuboid in the long direction. One end side of the rails 2 (the left side in Figure 1 ), equipped with a transport unit 3 that holds and transports a pipe (not shown) to be processed. In addition, a processing unit 4 that performs processing such as bending on a pipe material (not shown) is mounted on the side opposite to the side where the transport unit 3 is mounted. In the transport unit 3, a cylindrical holding shaft 3a is protrudingly provided, and a chuck 3b for holding a pipe (not shown) is installed at the front end of the holding shaft 3a. Therefore, by moving the transport unit 3 on the rail 2 while holding the pipe material with the chuck 3b, the pipe material can be supplied to the processing unit 4, and the processing unit 4 can perform bending processing on the pipe material.

本實施例之自動製造機械1,由於能夠藉由搬運單元3之移動量控制管材之運送量,因此能夠自由地控制對管材施行彎曲加工等之位置。此外,可藉由使安裝有夾頭3b之持握軸3a軸旋轉地旋轉(即所謂扭轉動作),從而將管材往期望之方向彎曲。為了實現此情況,在搬運單元3之內部,搭載有用於使夾頭3b開閉之致動器10、用於使持握軸3a軸旋轉地旋轉之致動器11、用於使持握軸3a於軸方向進退移動之致動器12、及用於使搬運單元3在軌道2上進退移動之致動器13等。本實施例之自動製造機械1中,此等致動器10~13皆使用以交流電源動作之伺服馬達,但根據致動器所要求之性能,能夠採用其他驅動方式之致動器(例如油壓缸、螺線管、步進馬達等)。再者,在搬運單元3中,亦搭載有用於檢測持握軸3a之旋轉位置及搬運單元3之移動位置之編碼器、及限位開關等之感應器類,但為了避免圖變得繁雜,在圖1中將圖示省略。The automatic manufacturing machine 1 of this embodiment can control the transportation amount of the pipe material by the movement amount of the transportation unit 3, and therefore can freely control the position where the pipe material is bent, etc. In addition, the pipe material can be bent in a desired direction by axially rotating the holding shaft 3a to which the chuck 3b is attached (that is, a so-called twisting operation). In order to realize this, the transport unit 3 is equipped with an actuator 10 for opening and closing the chuck 3b, an actuator 11 for axially rotating the grip shaft 3a, and an actuator 11 for axially rotating the grip shaft 3a. An actuator 12 that moves forward and backward in the axial direction, an actuator 13 that moves the transport unit 3 forward and backward on the rail 2, and the like. In the automatic manufacturing machine 1 of this embodiment, the actuators 10 to 13 all use servo motors operated by AC power. However, according to the required performance of the actuators, actuators with other driving methods (such as oil, etc.) can be used. cylinder, solenoid, stepper motor, etc.). Furthermore, the transport unit 3 is also equipped with sensors such as an encoder and a limit switch for detecting the rotational position of the holding shaft 3a and the movement position of the transport unit 3. However, in order to avoid making the diagram complicated, The illustration is omitted in FIG. 1 .

在加工單元4之內部,搭載有用於將管材彎曲之致動器17;彎曲管材時用於使管材施加力的位置移動之致動器18;用於使加工單元4整體在上下方向移動之致動器19;及用於對管材形成稱為凸緣之平端面、及形成稱為凸出之環狀的凸部之致動器20等。再者,在加工單元4,亦搭載有編碼器、及接點開關等之開關・感應器類,但為了避免圖變得繁雜,在圖1中將此等之圖示省略。Inside the processing unit 4, there are installed an actuator 17 for bending the pipe; an actuator 18 for moving the position where force is applied to the pipe when bending the pipe; and an actuator 18 for moving the entire processing unit 4 in the up and down direction. The actuator 19; and the actuator 20 used to form a flat end surface called a flange and an annular convex portion called a protrusion on the pipe, etc. Furthermore, the machining unit 4 is also equipped with switches and sensors such as encoders and contact switches, but these are omitted in FIG. 1 in order to avoid complicating the diagram.

此外,在加工單元4之內部,搭載有用於驅動上述之各種致動器10~13、17~20之複數個驅動電路(省略圖示)。於此,驅動電路意指具有如下功能之電子零件。為使致動器10~13、17~20進行期望之動作,必須供給致動器10~13、17~20適當的波形之驅動電流。然而,應提供致動器10~13、17~20之驅動電流,係根據致動器10~13、17~20之驅動方式相異,進一步地即使為相同的方式之致動器,驅動電流之電流值亦根據致動器而相異。因此,於致動器10~13、17~20準備稱為驅動電路之專用的電子零件,當對驅動電路指定驅動量後,驅動電路對致動器10~13、17~20輸出適當的驅動電流,其結果係使致動器10~13、17~20被驅動。In addition, a plurality of drive circuits (not shown) for driving the above-mentioned various actuators 10 to 13 and 17 to 20 are mounted inside the processing unit 4 . Here, the drive circuit means an electronic component having the following functions. In order for the actuators 10 to 13 and 17 to 20 to perform desired actions, the actuators 10 to 13 and 17 to 20 must be supplied with driving currents of appropriate waveforms. However, the driving currents that should be provided to the actuators 10 to 13 and 17 to 20 are different depending on the driving methods of the actuators 10 to 13 and 17 to 20. Furthermore, even if they are actuators of the same method, the driving current The current value also varies depending on the actuator. Therefore, dedicated electronic components called drive circuits are prepared for the actuators 10 to 13 and 17 to 20. When the drive amount is specified to the drive circuit, the drive circuit outputs appropriate drive to the actuators 10 to 13 and 17 to 20. As a result, the actuators 10~13 and 17~20 are driven.

進一步,如圖1所示,在二條軌道2之下方空間亦搭載有各種機械零件,惟此空間為配線之空間,配線有從搭載於加工單元4內之複數個驅動電路(省略圖示)向搬運單元3內之各種致動器10~13供給驅動電流之電力纜線(省略圖示)、以及用於將來自搭載於搬運單元3之各種開關・感應器類的訊號傳達至加工單元4之訊號纜線(省略圖示)等。隨著搬運單元3在軌道2上之進退移動,此等之電力纜線及訊號纜線在空間內移動,則有發生互相纏繞、或卡在某物上之疑慮。因此,為了避免此種事態的發生,在軌道2下方之空間亦搭載有致動器14~16,其用於在電力纜線及訊號纜線有不用的餘裕之情況下藉由拉引纜線排除不用的餘裕,而在電力纜線及訊號纜線被強力拉緊之情況下藉由送出拉引之纜線,以保持纜線適度的餘裕。本實施例之自動製造機械1中,採用氣壓缸作為致動器14~16,此等氣壓缸之動作,亦藉由未圖示之驅動電路控制。Furthermore, as shown in Figure 1, various mechanical parts are also mounted in the space below the two rails 2, but this space is a space for wiring. The wiring is from a plurality of drive circuits (not shown) mounted in the processing unit 4 to Power cables (not shown) that supply driving current to the various actuators 10 to 13 in the transport unit 3, and signals from various switches and sensors mounted on the transport unit 3 to the processing unit 4 Signal cables (illustration omitted), etc. As the transport unit 3 moves forward and backward on the track 2, these power cables and signal cables move in the space, and there is a possibility that they will become entangled with each other or get stuck on something. Therefore, in order to avoid such a situation from happening, actuators 14~16 are also installed in the space below the track 2, which are used to remove the power cables and signal cables by pulling the cables when there is unused margin. When the power cables and signal cables are strongly tightened, the cables are pulled out to maintain an appropriate margin. In the automatic manufacturing machine 1 of this embodiment, pneumatic cylinders are used as actuators 14 to 16, and the movements of these pneumatic cylinders are also controlled by drive circuits not shown in the figure.

如以上之說明,自動製造機械1中搭載有大量的致動器10~20。接著,為了將欲加工之對象物(於此為管材)自動加工為目的之形狀,必須使此等致動器10~20在適當的時間點做出適當的動作。驅動此等致動器10~20的為各個致動器10~20之驅動電路,惟驅動電路驅動各個致動器10~20之動作,係後述之自動製造機械控制裝置10依照預先讀取之控制程式而控制。As explained above, the automatic manufacturing machine 1 is equipped with a large number of actuators 10 to 20 . Next, in order to automatically process the object to be processed (here, a pipe) into a desired shape, the actuators 10 to 20 must be made to perform appropriate actions at appropriate time points. What drives these actuators 10 to 20 is the drive circuit of each actuator 10 to 20. However, the action of the drive circuit to drive each actuator 10 to 20 is based on the pre-read instructions of the automatic manufacturing machine control device 10 described later. Control by control program.

圖2,係概念性地表示本實施例之自動製造機械控制裝置100控制搭載於自動製造機械1之致動器10~20之動作之情形之方塊圖。再者,在圖2中,亦省略控制中必要之開關・感應器類之圖示。如圖示,在自動製造機械控制裝置100與致動器10之間,設置有致動器10之驅動用之驅動電路10d,自動製造機械控制裝置100直接地控制驅動電路10d。致動器11~20亦相同地,在自動製造機械控制裝置100與致動器11~20之間,設置有用於驅動致動器11~20之驅動電路11d~20d。如此,自動製造機械控制裝置100藉由驅動電路10d~20d間接地控制致動器10~20。FIG. 2 is a block diagram conceptually showing how the automatic manufacturing machine control device 100 of this embodiment controls the operations of the actuators 10 to 20 mounted on the automatic manufacturing machine 1 . Furthermore, in Figure 2, the illustrations of switches and sensors necessary for control are also omitted. As shown in the figure, a drive circuit 10d for driving the actuator 10 is provided between the automatic manufacturing machine control device 100 and the actuator 10, and the automatic manufacturing machine control device 100 directly controls the drive circuit 10d. Likewise for the actuators 11 to 20 , drive circuits 11 d to 20 d for driving the actuators 11 to 20 are provided between the automatic manufacturing machine control device 100 and the actuators 11 to 20 . In this way, the automatic manufacturing machine control device 100 indirectly controls the actuators 10 to 20 through the drive circuits 10d to 20d.

此外,使用圖1如前述地,在本實施例之自動製造機械1中,於致動器10~13、17~20採用伺服馬達,致動器14~16則採用氣壓缸。於此,伺服馬達係指由伺服控制之馬達,係回饋控制在馬達流動之電流值而驅動使位置(或角度、或速度等)成為目標值之馬達。此外,氣壓缸係利用空氣壓使可動部直線移動之致動器,藉由開閉連接於壓縮空氣供給源之端口而動作。此外,端口之開閉使用順序控制。In addition, as mentioned above using FIG. 1 , in the automatic manufacturing machine 1 of this embodiment, servo motors are used as actuators 10 to 13 and 17 to 20 , and pneumatic cylinders are used as actuators 14 to 16 . Here, a servo motor refers to a motor controlled by a servo. It is a motor that uses feedback control to control the current value flowing in the motor to drive the position (or angle, or speed, etc.) to a target value. In addition, the pneumatic cylinder is an actuator that uses air pressure to move a movable part linearly, and operates by opening and closing a port connected to a compressed air supply source. In addition, the port opening and closing uses sequence control.

如此地在本實施例之自動製造機械控制裝置100中,連接有以伺服控制之致動器10~13、17~20、及以順序控制之致動器14~16。圖中,自動製造機械控制裝置100與致動器10~13、17~20以實線連接,表示以伺服控制此等致動器10~13、17~20。此外,自動製造機械控制裝置100與致動器14~16以虛線連接,表示以順序控制此等致動器14~16。當然地,亦可連接以伺服控制及順序控制以外之方式控制之致動器。In this way, in the automatic manufacturing machine control device 100 of this embodiment, the servo-controlled actuators 10 to 13, 17 to 20, and the sequence-controlled actuators 14 to 16 are connected. In the figure, the automatic manufacturing machine control device 100 and the actuators 10 to 13 and 17 to 20 are connected by solid lines, indicating that these actuators 10 to 13 and 17 to 20 are controlled by servo. In addition, the automatic manufacturing machine control device 100 and the actuators 14 to 16 are connected by dotted lines, indicating that the actuators 14 to 16 are sequentially controlled. Of course, actuators controlled by means other than servo control and sequence control can also be connected.

自動製造機械控制裝置100,依照控制程式藉由驅動電路10d~20d控制致動器10~20,該控制程式必須預先製作並使自動製造機械控制裝置100事先讀取。於此,製作用於如圖2所示地使大量的致動器10~20在適當的時間點進行適當動作之控制程式並不容易。特別是,在如伺服控制與順序控制之有相異的控制方式之致動器混合存在之情形下,控制程式之製作需要長時間。因此現狀為在製造新自動製造機械1之開發期間之中,一半以上之期間被耗費於控制程式之製作。The automatic manufacturing machine control device 100 controls the actuators 10 to 20 through the drive circuits 10 d to 20 d according to the control program. The control program must be prepared in advance and read by the automatic manufacturing machine control device 100 in advance. Here, it is not easy to create a control program for causing a large number of actuators 10 to 20 to perform appropriate operations at appropriate points in time as shown in FIG. 2 . In particular, when actuators with different control methods such as servo control and sequence control are mixed, it takes a long time to create a control program. Therefore, the current situation is that more than half of the development period for manufacturing a new automatic manufacturing machine 1 is spent on creating control programs.

B.控制程式之製作方法 B-1.概要: 圖3,係概念地表示用於開發新自動製造機械1之大略步驟之說明圖。圖3(a)中,表示歷來實行之開發步驟。此外,圖3(b),表示本發明之發明人所開發並已提出專利申請之新的開發步驟。 B. How to create control program B-1. Summary: FIG. 3 is an explanatory diagram conceptually showing the general steps for developing the new automatic manufacturing machine 1. Figure 3(a) shows the development steps that have been performed historically. In addition, Figure 3(b) shows a new development step developed by the inventor of the present invention and has filed a patent application.

習知開發步驟中,如圖3(a)所示,首先機械設計技術者在理解自動製造機械1所要求之各種功能後,製作安裝有用於實現此等功能的機構之自動製造機械1之圖。在製作圖時機械設計技術者要一個一個探討並決定何種可動部分為必要、此等可動部分必須進行何種動作、為了實現其動作,需要具有何種程度之扭力、可動量及精確度之致動器、將其設在何處、設置幾個、以及其是否必要等內容來進行。接著,在決定實際搭載之致動器,亦考量致動器之搭載性及維護性後,最終完成圖。In the conventional development step, as shown in Fig. 3(a) , first, the mechanical design technician understands the various functions required by the automatic manufacturing machine 1, and then creates a drawing of the automatic manufacturing machine 1 equipped with a mechanism for realizing these functions. . When making drawings, mechanical design technicians must discuss and decide one by one what kind of movable parts are necessary, what kind of movements these movable parts must perform, and what degree of torque, amount of movement, and accuracy are required to realize their movements. actuators, where to locate them, how many to install, and whether they are necessary. Then, after deciding on the actual actuator to be mounted, and also considering the mounting and maintainability of the actuator, the drawing is finally completed.

當如此完成自動製造機械1之機械設計後,轉為進行用於控制自動製造機械1之控制程式之製作。由於控制程式之製作需要軟體相關之專業技術,因此必須由具有該專業技術之技術者(亦即程式設計者)製作。因此,當機械技術者完成機械設計,則製作表現其親自思考之自動製造機械1之動作之流程圖,而後與程式設計者討論並說明自動製造機械1之動作。至此為止為機械設計技術者之作業。After the mechanical design of the automatic manufacturing machine 1 is completed in this way, the control program for controlling the automatic manufacturing machine 1 is produced. Since the production of control programs requires software-related professional skills, they must be produced by technicians (i.e. programmers) with such professional skills. Therefore, when the mechanical engineer completes the mechanical design, he or she creates a flow chart showing the operation of the automatic manufacturing machine 1 that he or she has personally thought about, and then discusses and explains the operation of the automatic manufacturing machine 1 with the programmer. Up to this point is the work of the mechanical design technician.

另一方面,與機械設計技術者討論之程式設計者,在藉由熟讀機械設計技術者製作之流程圖、根據所需之圖、及其他資料從而理解自動製造機械1之動作後,開始製作用於控制搭載於自動製造機械1之各種致動器之動作之控制程式。程式設計者,使用人類可判讀之高階程式語言製作控制程式,惟電腦無法直接以高階程式語言執行控制程式。因此,程式設計者完成控制程式後,藉由將以高階程式語言描述之控制程式轉換為電腦可執行之機器語言之控制程式,最終完成控制程式。再者,將高階程式語言之控制程式轉換為機器語言之控制程式之作業稱為編譯,此作業藉由使用稱為編譯器之專用程式在短時間完成。On the other hand, the programmer who discusses with the mechanical design technician starts to create the automatic manufacturing machine 1 after understanding the operation of the automatic manufacturing machine 1 based on the required diagrams and other data by familiarly reading the flow chart produced by the mechanical design technician. A control program for controlling the movements of various actuators mounted on the automatic manufacturing machine 1. Programmers use high-level programming languages that can be read by humans to create control programs, but computers cannot directly execute control programs in high-level programming languages. Therefore, after the programmer completes the control program, he finally completes the control program by converting the control program described in a high-level programming language into a control program in a computer-executable machine language. Furthermore, the operation of converting a control program in a high-level programming language into a control program in a machine language is called compilation. This operation is completed in a short time by using a special program called a compiler.

如圖3(a)所例示,在歷來實行之開發步驟中,控制程式之製作通常花費機械設計所需期間之1.5倍~2.5倍左右。並且,由於機械設計及控制程式之製作,大部分之步驟難以同時進行,因此拉長自動製造機械1整體之開發時間。另外,必須確保有機械設計技術者及程式設計者之具有相異技術之專家,此亦為在開發新自動製造機械1時之巨大阻礙。As shown in Figure 3(a), in the development process that has been carried out historically, the production of control programs usually takes about 1.5 times to 2.5 times the time required for machine design. Furthermore, due to the mechanical design and control program production, it is difficult to carry out most of the steps at the same time, thus prolonging the overall development time of the automatic manufacturing machine 1 . In addition, it is necessary to ensure that there are experts with different technologies such as mechanical design technicians and programmers, which is also a huge obstacle in the development of new automatic manufacturing machinery 1 .

另一方面,圖3(b)中,表示使用本發明之發明人提出之新方法開發自動製造機械1之步驟。即使在使用新方法之情形下,機械設計本身亦與習知方法相同。亦即,機械設計技術者在理解自動製造機械1所要求之各種功能後,製作安裝有用於實現此等功能的機構之自動製造機械1之圖。此時,在探討實現功能之必要的可動部分、可動部分之動作內容、及用於啟動可動部分之致動器之性能等,並決定致動器後,亦考量致動器之搭載性及維護性等,最終完成圖。On the other hand, FIG. 3(b) shows the steps of developing the automatic manufacturing machine 1 using the new method proposed by the inventor of the present invention. Even where new methods are used, the mechanical design itself remains the same as the conventional method. That is, after understanding the various functions required by the automatic manufacturing machine 1, the mechanical design technician creates a drawing of the automatic manufacturing machine 1 equipped with a mechanism for realizing these functions. At this time, after considering the movable parts necessary to realize the function, the action content of the movable parts, and the performance of the actuator used to activate the movable parts, and deciding on the actuator, the mountability and maintenance of the actuator are also considered. Sex, etc., and finally complete the picture.

完成圖後,在新的開發步驟中,機械設計技術者製作YOGO圖取代流程圖(參照圖3(b))。YOGO圖,為本發明之發明人獨自發想之特殊的動作圖,係將機械設計技術者在機械設計時所考量之各致動器之動作以圖的形式描述者。再者,本實施例之YOGO圖,與本發明中之「動作圖」對應。After completing the diagram, in a new development step, the mechanical design technician creates a YOGO diagram to replace the flow chart (see Figure 3(b)). The YOGO diagram is a special action diagram uniquely conceived by the inventor of the present invention. It describes in the form of a diagram the actions of each actuator that mechanical design technicians consider during mechanical design. Furthermore, the YOGO diagram in this embodiment corresponds to the "action diagram" in the present invention.

YOGO圖,之後將詳細說明,惟其係僅將機械設計技術者在機械設計時所考量之各致動器之動作,如其所想地表達者。因此,機械設計之機械設計技術者,可以製作流程圖之一半左右的期間製作(參照圖3(b))。另外,YOGO圖可藉由通過專用之編譯器,轉換為電腦之CPU能執行之控制程式。YOGO圖可轉換為控制程式的理由亦於後述。如此,由於將自動製造機械1之動作描述於YOGO圖,將可從YOGO圖生成機器語言之控制程式,因此如圖3所示,與習知方法相比,可將新自動製造機械1之開發時間縮短為至少一半以下(代表性地為1/3左右)。另外,YOGO圖係機械設計技術者可簡單地製作,且亦不必確保有程式設計者。因此,可幾乎完全地解決在開發新自動製造機械1時成為阻礙之各種事態。另外,即使在變更自動製造機械1之動作、或於自動製造機械1追加新的致動器之情形下,只要將YOGO圖改寫並通過專用之編譯器,則可立刻生成控制程式。以下,說明可為如此情事之理由。The YOGO diagram will be explained in detail later, but it only expresses the movements of each actuator that a mechanical design technician considers during mechanical design, as he or she would like. Therefore, a mechanical design technician can create the flow chart in about half the time (see Figure 3(b)). In addition, YOGO diagrams can be converted into control programs that can be executed by the computer's CPU through a dedicated compiler. The reason why the YOGO diagram can be converted into a control program will be described later. In this way, since the operation of the automatic manufacturing machine 1 is described in the YOGO diagram, the control program of the machine language can be generated from the YOGO diagram. Therefore, as shown in Figure 3, compared with the conventional method, the development of the new automatic manufacturing machine 1 can be The time is shortened to at least half (typically about 1/3). In addition, YOGO diagrams can be easily produced by mechanical design technicians, and there is no need to have a programmer. Therefore, various situations that hinder the development of the new automatic manufacturing machine 1 can be almost completely solved. In addition, even when the operation of the automatic manufacturing machine 1 is changed or a new actuator is added to the automatic manufacturing machine 1, the control program can be generated immediately by simply rewriting the YOGO diagram and passing it through a dedicated compiler. The following explains the reasons why this may be the case.

B-2.YOGO圖 圖4,係關於從動作圖(YOGO圖)自動生成自動製造機械1之控制程式之原理的說明圖。圖4(a)中表示在施行各種改進前之原始的YOGO圖。後述之本實施例之YOGO圖,為發展圖4(a)所示之原始的YOGO圖並改良者,惟自動生成控制程式之原理與原始的YOGO圖相同。因此,為了容易理解,使用圖4(a)所示之原始的YOGO圖,說明從YOGO圖自動生成控制程式之原理。此外,為避免說明複雜化,使搭載於自動製造機械1之致動器,僅二個馬達A、B、及二個缸A、B。 B-2.YOGO diagram Figure 4 is an explanatory diagram on the principle of automatically generating a control program for the automatic manufacturing machine 1 from an action diagram (YOGO diagram). Figure 4(a) shows the original YOGO diagram before implementing various improvements. The YOGO diagram of this embodiment described later is a development and improvement of the original YOGO diagram shown in Figure 4(a), but the principle of automatically generating a control program is the same as the original YOGO diagram. Therefore, for easy understanding, the original YOGO diagram shown in Figure 4(a) is used to illustrate the principle of automatically generating a control program from the YOGO diagram. In addition, in order to avoid complicating the description, the actuators mounted on the automatic manufacturing machine 1 are only two motors A and B, and two cylinders A and B.

如圖4(a)所示,YOGO圖中藉由組合此等之致動器(此處為馬達A、B及缸A、B)之基本的動作,表現自動製造機械1之動作。於此,致動器之基本的動作,為朝向致動器具有之自由度方向之動作(以下稱為基本動作)。例如,若為如馬達之旋轉的致動器,則旋轉動作為基本動作,若為如缸之進退移動的致動器,則進退移動之動作為基本動作。此外,在如藉著由馬達使滾珠螺桿旋轉,而使咬合滾珠螺桿之部件進退移動之致動器之情況下,馬達之旋轉動作、或部件進退移動之動作之任一者為基本動作。如此,致動器之基本動作,係僅以致動器被指定之動作量向致動器之自由度方向進行動作之單純的動作。As shown in Figure 4(a), the YOGO diagram expresses the movement of the automatic manufacturing machine 1 by combining the basic movements of these actuators (here, motors A and B and cylinders A and B). Here, the basic movement of the actuator is the movement in the direction of the degree of freedom the actuator has (hereinafter referred to as the basic movement). For example, if it is an actuator that rotates like a motor, the rotational action is the basic action, and if it is an actuator that moves forward and backward like a cylinder, the action of forward and backward movement is the basic action. In addition, in the case of an actuator that rotates a ball screw by a motor and moves a component engaging the ball screw forward and backward, either the rotational action of the motor or the forward and backward movement of the component is the basic action. In this way, the basic movement of the actuator is a simple movement in which the actuator moves in the direction of the actuator's degree of freedom by the specified movement amount.

此外,YOGO圖中,將自動製造機械動作從開始至結束之動作期間分割為複數個部分期間,並將各個致動器之基本動作,分配於每個基本動作從此等複數個部分期間中所選擇之任一個部分期間。圖4(a)所示之例中,將自動製造機械1之動作期間分割為五個部分期間1〜5,在部分期間1分配有缸A以動作量(a)進退移動之動作。此外,在部分期間2分配有馬達A以動作量(b)旋轉之動作。可在部分期間分配複數個動作。亦即,在部分期間3分配有二個動作:馬達B以動作量(c)旋轉之動作、及缸B以動作量(d)進退移動之動作,在部分期間4分配有三個動作:馬達A以動作量(-b)旋轉之動作、馬達B以動作量(-c)旋轉之動作、缸B以動作量(-d)進退移動之動作。接著,於最後的部分期間5,分配有缸A以動作量(-a)進退移動之動作。In addition, in the YOGO diagram, the operation period from the beginning to the end of the automatic manufacturing machine operation is divided into a plurality of partial periods, and the basic operation of each actuator is allocated to each basic operation. Select from these plural partial periods. any part of the period. In the example shown in FIG. 4(a) , the operation period of the automatic manufacturing machine 1 is divided into five partial periods 1 to 5. Partial period 1 is allocated with the motion of the cylinder A moving forward and backward by the operation amount (a). In addition, in the partial period 2, the operation of the motor A rotating by the operation amount (b) is allocated. Multiple actions can be assigned to a partial period. That is, in partial period 3, two actions are allocated: the action of motor B rotating with an action amount (c), and the action of cylinder B moving forward and backward with an action amount (d). In part period 4, three actions are allocated: motor A The action of rotating with the action amount (-b), the action of motor B rotating with the action amount (-c), and the action of cylinder B moving forward and backward with the action amount (-d). Then, in the last partial period 5, cylinder A is assigned an action of moving forward and backward with an action amount (-a).

如此,藉由在部分期間分配致動器之基本動作,可描述自動製造機械所執行之如以下的動作。首先,使缸A以動作量(a)進退移動,當缸A之動作結束,則使缸A以動作量(b)旋轉。接著,當馬達A之動作結束,則在使馬達B以動作量(c)旋轉之同時,使缸B以動作量(d)進退移動。當馬達B及缸B之動作結束,則在使馬達A及馬達B各別以動作量(-a)及動作量(-c)旋轉之同時,使缸B以動作量(-d)進退移動。接著,當馬達A、馬達B及缸B之全部的動作結束,最後使缸A以動作量(-a)進退移動,則全部的動作結束。如此,只要將搭載於自動製造機械1之致動器之基本動作分配於任一部分期間,則可描述自動製造機械1之動作。In this way, by allocating the basic actions of the actuator in part of the period, the following actions performed by the automatic manufacturing machine can be described. First, make the cylinder A move forward and backward with the action amount (a). When the action of the cylinder A ends, make the cylinder A rotate with the action amount (b). Then, when the operation of the motor A is completed, the motor B is rotated by the operation amount (c), and the cylinder B is moved forward and backward by the operation amount (d). When the action of motor B and cylinder B ends, while motor A and motor B are rotated by the action amount (-a) and action amount (-c) respectively, cylinder B is moved forward and backward by the action amount (-d). . Then, when all movements of motor A, motor B and cylinder B are completed, and cylinder A is finally moved forward and backward by the movement amount (-a), all movements are completed. In this way, as long as the basic operation of the actuator mounted on the automatic manufacturing machine 1 is allocated to any part of the period, the operation of the automatic manufacturing machine 1 can be described.

再者,由以上說明可清楚得知,部分期間係表示分配之致動器進行動作之期間,而非表示時間長。例如,部分期間1之時間長為缸A動作所需要之時間,部分期間2之時間長為馬達A動作所需要之時間,部分期間3之時間長為馬達B動作所需要之時間及缸B動作所需要之時間中較長的一者之時間。因此,一般而言各個部分期間之時間長為相異。Furthermore, it can be clearly understood from the above description that the partial period represents the period during which the assigned actuator operates, rather than indicating a long time. For example, the length of partial period 1 is the time required for cylinder A to operate, the length of partial period 2 is the time required for motor A to operate, and the length of partial period 3 is the time required for motor B to operate and cylinder B to operate. The longer of the required times. Therefore, generally speaking, the length of each partial period is different.

此外,分配於部分期間之致動器之基本動作,係例如使馬達以一定量旋轉,或使缸以一定量進退移動之單純的動作。因此,可預先製作用於使致動器進行基本動作之小型的程式(程式元件)。圖4中搭載於自動製造機械1之致動器為四個:缸A、B、及馬達A、B,因此,如圖4(b)所示,可預先製作用於使馬達A動作之程式元件prog1、用於使馬達B動作之程式元件prog2、用於使缸A動作之程式元件prog3、及用於使缸B動作之程式元件prog4。In addition, the basic operation of the actuator allocated to the partial period is, for example, a simple operation of rotating the motor by a certain amount or moving the cylinder forward and backward by a certain amount. Therefore, a small program (program element) for causing the actuator to perform basic operations can be created in advance. In Figure 4, there are four actuators mounted on the automatic manufacturing machine 1: cylinders A, B, and motors A, B. Therefore, as shown in Figure 4(b), a program for operating the motor A can be created in advance. Component prog1, program component prog2 for operating motor B, program component prog3 for operating cylinder A, and program component prog4 for operating cylinder B.

因此,只要將此等程式元件如圖4(a)所示之原始的YOGO圖所描述地連結,則可自動生成用於使自動製造機械1動作之控制程式。亦即,如圖4(c)所示,首先程式元件prog3啟動,當程式元件3結束則程式元件prog1啟動,當程式元件1結束則程式元件prog2及程式元件prog4啟動。程式元件prog3、程式元件prog1、程式元件prog2、及程式元件prog4之動作量,依照YOGO圖上之指定,各別使用(a)、(b)、(c)、(d)。進一步地,當程式元件prog2及程式元件prog4均結束,則程式元件prog1、程式元件prog2、及程式元件prog4啟動。此時之動作量,依照YOGO圖上之指定,各別使用(-b)、(-c)、(-d)。當此等之程式元件prog1、程式元件prog2、程式元件prog4均結束,最後程式元件prog3啟動。此時之動作量,依照YOGO圖上之指定使用(-a)。接著,當程式元件prog3結束,則圖4(a)之YOGO圖所描述之自動製造機械1之動作結束。Therefore, as long as these program elements are connected as described in the original YOGO diagram shown in FIG. 4(a) , a control program for operating the automatic manufacturing machine 1 can be automatically generated. That is, as shown in Figure 4(c), first the program element prog3 is started, when the program element 3 ends, the program element prog1 is started, and when the program element 1 ends, the program element prog2 and program element prog4 are started. The action quantities of program element prog3, program element prog1, program element prog2, and program element prog4 are respectively (a), (b), (c), and (d) according to the specifications on the YOGO diagram. Further, when the program element prog2 and the program element prog4 are both terminated, the program element prog1, the program element prog2, and the program element prog4 are started. The amount of movement at this time is determined by (-b), (-c), and (-d) as specified on the YOGO chart. When these program elements prog1, program element prog2, and program element prog4 are all terminated, the last program element prog3 is started. The amount of movement at this time is used as specified on the YOGO chart (-a). Next, when the program element prog3 ends, the operation of the automatic manufacturing machine 1 described in the YOGO diagram of Figure 4(a) ends.

如以上說明,只要事先將自動製造機械1之動作,以圖4(a)所示之YOGO圖的態樣描述,則可生成圖4(c)所示之控制程式,並使自動製造機械1動作。然而,為使自動製造機械1如所望地動作,必須正確地製作YOGO圖。以下說明之本實施例之YOGO圖,從此種觀點而言,為對圖4(a)所例示之原始的YOGO圖進行各種改良的結果所得者。As explained above, as long as the operation of the automatic manufacturing machine 1 is described in advance in the form of the YOGO diagram shown in Fig. 4(a), the control program shown in Fig. 4(c) can be generated and the automatic manufacturing machine 1 action. However, in order for the automatic manufacturing machine 1 to operate as expected, the YOGO diagram must be accurately created. From this point of view, the YOGO diagram of this embodiment described below is the result of various improvements to the original YOGO diagram illustrated in FIG. 4(a) .

B-3.YOGO圖: 圖5為用於說明本實施例之YOGO圖200之概要之說明圖。再者,由於縮小尺寸使YOGO圖200之整體容納在圖中,將破壞而無法判讀,因此以圖5表示YOGO圖200之一部份(左上角之部分)。如圖5所示,YOGO圖200,為如複數條橫線與複數條直線交叉之大表格之形狀。以下,在交叉之複數條線內,將橫線稱為「分隔線」201,直線則稱為「觸發線」202。 B-3.YOGO diagram: FIG. 5 is an explanatory diagram for explaining the outline of the YOGO diagram 200 of this embodiment. Furthermore, since the entire YOGO chart 200 would be damaged and unreadable if it was reduced in size and contained in the figure, a part of the YOGO chart 200 (the upper left corner part) is shown in FIG. 5 . As shown in FIG. 5 , the YOGO diagram 200 is in the shape of a large table in which a plurality of horizontal lines intersect with a plurality of straight lines. Hereinafter, within the plurality of intersecting lines, the horizontal line is called the "dividing line" 201, and the straight line is called the "trigger line" 202.

於觸發線202上賦予從1號開始之連續編號。圖5所示之例中,於YOGO圖200之上端之欄內,記載有其下方之觸發線202之連續編號。此外,互相鄰接之觸發線202之間的區域,為使用圖4前述之部分期間,且在部分期間亦賦予從1號開始之連續編號(以下稱為部分期間編號)。再者,在圖5所例示之YOGO圖200中,觸發線202拉向縱方向,因此觸發線202與觸發線202相隔之部分期間向橫方向並排。然而,觸發線202亦可拉向橫方向,在此情形下複數個部分期間向縱方向並排。The trigger line 202 is assigned consecutive numbers starting from No. 1. In the example shown in FIG. 5 , in the upper column of the YOGO chart 200 , the consecutive numbers of the trigger lines 202 below are recorded. In addition, the area between mutually adjacent trigger lines 202 uses the partial periods described in FIG. 4 , and the partial periods are also assigned consecutive numbers starting from No. 1 (hereinafter referred to as partial period numbers). Furthermore, in the YOGO diagram 200 illustrated in FIG. 5 , the trigger line 202 is pulled in the vertical direction, so the trigger line 202 and the trigger line 202 are aligned in the horizontal direction during the interval. However, the trigger line 202 can also be pulled in the transverse direction, in which case the plurality of portions are aligned vertically.

此外,本實施例之YOGO圖200,藉由複數條分隔線201分割為複數個長方形區域,且在此等長方形區域賦予從1號開始之連續編號(以下稱為致動器編號)。搭載於自動製造機械1之致動器,分配於任一區域。圖5所示之例中,於致動器編號為1號之區域,分配有致動器10(參照圖1),於致動器編號為2號之區域,分配有致動器11(參照圖1),於致動器編號為3號之區域,分配有致動器12(參照圖1),於致動器編號為4號之區域,分配有致動器13(參照圖1)。由於在本實施例之自動製造機械1搭載有致動器10~20之11個致動器,因此此等全部之致動器,如此地逐個分配於長方形區域中。In addition, the YOGO diagram 200 of this embodiment is divided into a plurality of rectangular areas by a plurality of dividing lines 201, and consecutive numbers starting from No. 1 (hereinafter referred to as actuator numbers) are assigned to these rectangular areas. The actuator mounted on the automatic manufacturing machine 1 is allocated to any area. In the example shown in FIG. 5 , the actuator 10 is allocated to the area with the actuator number 1 (refer to FIG. 1 ), and the actuator 11 is allocated to the area with the actuator number 2 (refer to FIG. 1 ), the actuator 12 is allocated to the area with the actuator number 3 (refer to Figure 1), and the actuator 13 is allocated to the area with the actuator number 4 (refer to Figure 1). Since the automatic manufacturing machine 1 of this embodiment is equipped with 11 actuators 10 to 20, all of these actuators are distributed one by one in the rectangular area in this way.

接著,使致動器10~20之基本動作,記載於分配有致動器10~20之區域上。例如,欲使致動器10在部分期間4進行基本動作,則在YOGO圖200上,於致動器編號為1號、部分期間編號為4號所特定之方格狀座標位置,記載欲使致動器10進行之基本動作。此外,欲使致動器10在部分期間4及部分期間8進行基本動作,則在致動器編號為1號且部分期間編號為4號之方格狀座標位置、及致動器編號為1號且部分期間編號為8號之座標位置,記載欲使致動器10進行之基本動作。如此,如同將致動器10之基本動作記載於YOGO圖200上致動器編號為1號之長方形區域上、並將致動器11之基本動作記載於致動器編號為2號之長方形區域上地,將致動器10~20之基本動作記載於YOGO圖200上分配有該致動器10~20之區域上。本實施例之YOGO圖200,如此地記載基本動作係根據以下之理由。Next, the basic movements of the actuators 10 to 20 are recorded on the areas where the actuators 10 to 20 are allocated. For example, if you want the actuator 10 to perform the basic operation in partial period 4, on the YOGO diagram 200, record the desired operation at the specified grid coordinate position where the actuator number is No. 1 and the partial period number is No. 4. The basic actions performed by the actuator 10. In addition, in order to cause the actuator 10 to perform the basic operation in the partial period 4 and the partial period 8, the grid coordinate position where the actuator number is 1 and the partial period number is 4, and the actuator number is 1 The coordinate position numbered No. 8 and the partial period number is No. 8 records the basic movement to be performed by the actuator 10 . In this way, it is as if the basic movement of the actuator 10 is recorded on the rectangular area with the actuator number 1 on the YOGO diagram 200, and the basic movement of the actuator 11 is recorded in the rectangular area with the actuator number 2. As above, the basic operations of the actuators 10 to 20 are recorded on the areas allocated to the actuators 10 to 20 on the YOGO diagram 200 . The YOGO diagram 200 of this embodiment describes the basic operations in this way for the following reasons.

首先,說明在圖4(a)所例示之原始的YOGO圖,原始YOGO圖中,複數個致動器之動作混合存在而被描述,例如,難以立即理解在部分期間1中動作之缸A,接下來將在哪個動作期間動作。因此,難以想像各個致動器動作的樣子,進一步地亦難以判讀各個致動器的動作次數。其結果為,例如,有未發覺有未返回原本位置之致動器存在、或未發覺有忘記描述動作之致動器存在的疑慮。First, the original YOGO diagram illustrated in Figure 4(a) will be described. In the original YOGO diagram, the operations of multiple actuators are mixed and described. For example, it is difficult to immediately understand the operation of cylinder A in part period 1. During which action will be performed next. Therefore, it is difficult to imagine how each actuator operates, and it is also difficult to interpret the number of operations of each actuator. As a result, for example, there is a possibility that the presence of an actuator that has not returned to its original position is not detected, or that the presence of an actuator whose operation is forgotten is not detected.

相對於此,本實施例之YOGO圖200,如圖5所示,由於致動器每個動作所描述之區域分開,因此可藉由視覺理解並容易想像哪個致動器在哪個部分期間動作,並可容易地判讀各個致動器之動作次數。因此,即使在存在有未返回原本位置之致動器、或存在有忘記描述動作之致動器之情形,亦可容易地理解該情事。其結果為可容易地製作使自動製造機械1如所望地動作之YOGO圖200。In contrast, in the YOGO diagram 200 of this embodiment, as shown in FIG. 5 , since the areas described for each action of the actuators are separated, it can be visually understood and easily imagined which actuator operates during which part. And the number of actions of each actuator can be easily judged. Therefore, even if there is an actuator that has not returned to its original position, or there is an actuator whose operation has been forgotten, this can be easily understood. As a result, the YOGO diagram 200 for causing the automatic manufacturing machine 1 to operate as desired can be easily created.

再者,如後述地本實施例之YOGO圖200中,亦可描述除了致動器以外之機器之動作(例如,加熱器等),並亦將其等之機器逐個分配於長方形區域。Furthermore, as described later in the YOGO diagram 200 of this embodiment, the actions of machines other than actuators (for example, heaters, etc.) can also be described, and the machines can also be allocated to rectangular areas one by one.

此外,在本實施例之YOGO圖200中,如下地描述基本動作。作為一例,以圖5之YOGO圖200說明關於率先進行動作之致動器13之基本動作。由於進行動作之致動器為致動器13,因此對應之致動器編號為4號,且由於為率先動作者,因此所對應之部分期間編號為1號。因此,在YOGO圖200上記載有基本動作之位置,為致動器編號4號、部分期間編號為1號之座標位置。與部分期間編號為1號之座標位置對應之方格,由於在左側存在1號觸發線202、在右側存在2號觸發線202,因此從1號觸發線202向2號觸發線202標記表示致動器動作之動作線203。接著,在動作線203之左端(因此為1號觸發線202上)標記表示動作開始之起點204,在動作線203之右端(因此為2號觸發線202上)標記表示動作結束之終點205。在圖5所示之例中,動作線203以粗實線表示,起點204以黑邊白底之圓記號表示,終點205以黑色圓記號表示。In addition, in the YOGO diagram 200 of this embodiment, basic operations are described as follows. As an example, the basic operation of the actuator 13 that operates first will be described using the YOGO diagram 200 in FIG. 5 . Since the actuator that operates is actuator 13, the corresponding actuator number is No. 4, and since it is the first to operate, the corresponding partial period number is No. 1. Therefore, the position of the basic operation recorded on the YOGO diagram 200 is the coordinate position of the actuator number 4 and the partial period number 1. In the square corresponding to the coordinate position numbered No. 1 in the partial period, since there is trigger line No. 1 202 on the left and trigger line No. 2 202 on the right, the mark from trigger line No. 1 202 to trigger line No. 2 202 indicates agreement. Action line 203 of actuator action. Next, mark the starting point 204 indicating the start of the action on the left end of the action line 203 (so it is on the trigger line No. 1 202), and mark the end point 205 showing the end of the action on the right end of the action line 203 (so it is on the trigger line No. 2 202). In the example shown in FIG. 5 , the action line 203 is represented by a thick solid line, the starting point 204 is represented by a black circle mark with a white background, and the end point 205 is represented by a black circle mark.

進一步地,在動作線203上,標記欲使致動器進行之基本動作。於此,在本實施例之YOGO圖200中,將基本動作使用「動作描述」及「數值表」二個要素來標記。在圖5所示之例中,在致動器編號為4號、部分期間編號為1號之動作線203上,記載有二個標示:「Ω-AC」及「AC-B11」,其中標示「Ω-AC」為動作描述206a,標示「AC-B11」為數值表206b。動作描述206a及數值表206b詳細於後述,惟大略而言,動作描述206a,係描述基本動作之定性內容(例如,前進、後退、旋轉等)之標示。此外,數值表206b,係設定有表示基本動作之定量內容(例如,移動量、速度、扭力等)之數值之表。Further, on the action line 203, the basic action to be performed by the actuator is marked. Here, in the YOGO diagram 200 of this embodiment, the basic actions are marked using two elements: "action description" and "numeric value table". In the example shown in Figure 5, on the operating line 203 with the actuator number 4 and the partial period number 1, there are two marks: "Ω-AC" and "AC-B11", among which the mark "Ω-AC" is the action description 206a, and the label "AC-B11" is the numerical value table 206b. The action description 206a and the numerical value table 206b will be described in detail later, but roughly speaking, the action description 206a is an indication describing the qualitative content of the basic action (for example, forward, backward, rotation, etc.). In addition, the numerical value table 206b is a table in which numerical values indicating the quantitative content of the basic movement (for example, movement amount, speed, torque, etc.) are set.

因此,在圖5之YOGO圖200上,標記於致動器編號為4號、部分期間編號為1號之座標位置之「Ω-AC」及「AC-B01」之標示,表示以下內容,亦即:使致動器編號為4號之致動器(圖5之例中為致動器13),在部分期間編號為1號之時間點,依照動作描述206a「Ω-AC」進行基本動作,且在進行基本動作時使用之具體數值,使用設定於數值表206b「AC-B01」之數值。Therefore, on the YOGO diagram 200 of FIG. 5 , the marks "Ω-AC" and "AC-B01" marked at the coordinate positions where the actuator number is No. 4 and the partial period number is No. 1 represent the following contents, and That is, the actuator with the actuator number 4 (actuator 13 in the example of Figure 5) performs the basic operation according to the operation description 206a "Ω-AC" at the time point with the partial period number 1. , and the specific numerical value used when performing basic actions is the value set in the numerical value table 206b "AC-B01".

此外,如圖5之YOGO圖200所示,對致動器10記載動作描述206a「Ω-AA」,惟對致動器11記載動作描述206a「Ω-AB」,動作記述206a相異。理由為如使用圖1而前述地,致動器10為用於使夾頭3b開閉之致動器,致動器11為用於使持握軸3a繞軸旋轉之致動器。亦即,由於致動器10之基本動作之動作描述206a為「開閉動作」、致動器11之基本動作之動作描述206a為「旋轉動作」,因此致動器10及致動器11,使用相異之動作描述206a。由同樣的理由,致動器11及致動器12亦使用相異的動作描述206a。In addition, as shown in the YOGO diagram 200 of FIG. 5 , the operation description 206a "Ω-AA" is written for the actuator 10, but the operation description 206a "Ω-AB" is written for the actuator 11, and the operation descriptions 206a are different. The reason is that as described above using FIG. 1 , the actuator 10 is an actuator for opening and closing the chuck 3 b, and the actuator 11 is an actuator for rotating the grip shaft 3 a around the axis. That is, since the action description 206a of the basic action of the actuator 10 is "opening and closing action" and the action description 206a of the basic action of the actuator 11 is "rotating action", the actuator 10 and the actuator 11 use Different action description 206a. For the same reason, the actuator 11 and the actuator 12 also use different action descriptions 206a.

相對於此,致動器12及致動器13使用相同的動作描述206a「Ω-AC」。如使用圖1而前述地,致動器12為用於使持握軸3a於軸方向進退移動之致動器,致動器13為用於使搬運單元3之整體進退移動之致動器,雖然移動之對象物的大小、重量及移動量等有巨大差異,惟以使對象物進退移動之觀點而言為相同。因此,致動器12及致動器13可使用相同之動作描述206a。此外,致動器17為用於使加工單元4之整體上下移動之致動器,惟由於上下移動可理解為進退移動之一種,因此致動器17亦可與致動器12及致動器13使用相同的動作描述206a「Ω-AC」。進一步地,由於致動器14~16皆為使氣壓缸進退移動之致動器,因此此等皆使用動作描述206a「Ω-CA」。In contrast, the actuator 12 and the actuator 13 use the same operation description 206a "Ω-AC". As mentioned above using FIG. 1 , the actuator 12 is an actuator for moving the holding shaft 3 a forward and backward in the axial direction, and the actuator 13 is an actuator for moving the entire transport unit 3 forward and backward. Although the size, weight, movement amount, etc. of the moving object are greatly different, from the perspective of moving the object forward and backward, they are the same. Therefore, actuator 12 and actuator 13 can use the same action description 206a. In addition, the actuator 17 is an actuator used to move the entire processing unit 4 up and down. However, since the up and down movement can be understood as a kind of forward and backward movement, the actuator 17 can also be combined with the actuator 12 and the actuator 17 . 13 Use the same action description for 206a "Ω-AC". Furthermore, since the actuators 14 to 16 are all actuators that move the pneumatic cylinder forward and backward, they all use the action description 206a "Ω-CA".

如此,本實施例之YOGO圖200中,原則上使用動作描述206a及數值表206b描述致動器之基本動作。如此,可對多數的致動器共通化動作描述206a。如圖1所示,在本實施例之自動製造機械1搭載有致動器10~20之11個致動器,惟YOGO圖200中所使用之動作描述206a為4種。In this way, in the YOGO diagram 200 of this embodiment, in principle, the action description 206a and the value table 206b are used to describe the basic action of the actuator. In this way, the operation description 206a can be common to a plurality of actuators. As shown in FIG. 1 , the automatic manufacturing machine 1 of this embodiment is equipped with 11 actuators 10 to 20 , but there are four types of operation descriptions 206 a used in the YOGO diagram 200 .

以上為使用YOGO圖200描述自動製造機械1之動作之基本的方法,惟為使動作之描述更加容易,在YOGO圖200準備有各種描述方法。The above is the basic method of describing the operation of the automatic manufacturing machine 1 using the YOGO diagram 200. However, in order to make the description of the operation easier, various description methods are prepared in the YOGO diagram 200.

圖6表示與上述圖5位置相異、且包含圖之下端範圍之YOGO圖200,惟圖6所示之YOGO圖200中,13號觸發線202及15號觸發線202,為虛線觸發線202。此表示重複進行分配於13號~15號觸發線202之間相隔之部分期間(亦即,部分期間編號為13號及14號之部分期間)之動作。在此等二條觸發線202中率先出現之13號觸發線202之下方,將重複條件標記於虛線之矩形208中。在圖6所示之例中,重複執行分配於從13號觸發線202到15號觸發線202為止之部分期間之動作,直到變數VC之值變為0。接著,當13號觸發線202之下方標記之重複條件(於此為變數VC=0)成立,則於15號觸發線202上之起點204所標記之動作開始(亦即,分配於部分期間編號為15號之部分期間之動作)。Figure 6 shows a YOGO chart 200 that is different from the above-mentioned Figure 5 and includes the lower range of the chart. However, in the YOGO chart 200 shown in Figure 6, the trigger line No. 13 202 and the trigger line No. 15 202 are dotted trigger lines 202. . This means that the action assigned to the partial period between trigger line 202 No. 13 to No. 15 (that is, the partial period numbered No. 13 and No. 14) is repeated. Below the No. 13 trigger line 202 that appears first among the two trigger lines 202, the repeat condition is marked in the dotted rectangle 208. In the example shown in FIG. 6 , the operation assigned to a part of the period from trigger line 202 to trigger line 15 is repeatedly executed until the value of variable VC becomes 0. Then, when the repetition condition marked below the trigger line 202 No. 13 (here, the variable VC=0) is established, the action marked by the starting point 204 on the trigger line 202 No. 15 starts (that is, the partial period number is allocated It is an action during part of the 15th).

此外,圖6所示YOGO圖200中,16號觸發線202及19號觸發線202為一點鏈線之觸發線202。此等表示條件分歧。此外,在16號觸發線202之下方、及19號觸發線202之下方,各自表示有一點鏈線之矩形208,此等表示分歧條件。在圖6所示之例中,16號觸發線202之下方的矩形208中標記有「A>B」、19號觸發線202之下方的矩形208中標記有「ELSE」,此等表示,當「A>B」之條件成立,則16號觸發線202上之起點204所標記之動作(亦即,分配於部分期間編號為16號之部分期間之動作)開始,而在「A>B」之條件不成立之情形(ELSE之情形),則16號觸發線202上之起點204所標記之動作(亦即,分配於部分期間編號為16號之部分期間之動作)開始。In addition, in the YOGO chart 200 shown in FIG. 6 , the trigger line 202 No. 16 and the trigger line 202 No. 19 are the trigger lines 202 of the one-point chain line. These indicate different conditions. In addition, below the No. 16 trigger line 202 and below the No. 19 trigger line 202, each represents a rectangle 208 with a one-point chain line, which represents a divergence condition. In the example shown in Figure 6, the rectangle 208 below the trigger line 202 No. 16 is marked with "A>B", and the rectangle 208 below the trigger line 202 No. 19 is marked with "ELSE". This means that when If the condition of "A>B" is established, then the action marked by the starting point 204 on the trigger line 202 of No. 16 (that is, the action allocated to the partial period with the partial period number 16) starts, and when "A>B" If the condition is not met (ELSE situation), then the action marked by the starting point 204 on the trigger line 202 of No. 16 (that is, the action assigned to the partial period with the partial period number 16) starts.

如以上概要之說明,YOGO圖200,係藉由於以致動器編號及部分期間編號所特定之方格狀之座標位置記載基本動作,從而描述自動製造機械1之動作。本實施例之YOGO圖200,使用動作描述206a及數值表206b指定基本動作。此理由係為使YOGO圖200上記載錯誤內容之可能性盡可能地變小。以下,為說明此原因,說明關於動作描述206a及數值表206b。As explained in summary above, the YOGO diagram 200 describes the operation of the automatic manufacturing machine 1 by recording basic operations in grid-like coordinate positions specified by actuator numbers and partial period numbers. The YOGO diagram 200 of this embodiment uses action description 206a and value table 206b to specify basic actions. The reason for this is to minimize the possibility of erroneous content being recorded on the YOGO chart 200 . In the following, in order to explain this reason, the operation description 206a and the numerical value table 206b will be described.

B-4.動作描述: 圖7,為關於本實施例之YOGO圖200所使用之動作描述206a之說明圖。動作描述206a「Ω-AA」,為表示使致動器進行開閉動作之動作描述206a,此動作描述206a假定為於AC伺服馬達組合有夾頭機構之致動器。反之,在非為於AC伺服馬達組合有夾頭機構之致動器之情形下,即使該致動器之動作為開閉動作,亦無法使用動作描述206a「Ω-AA」。 B-4. Action description: FIG. 7 is an explanatory diagram of the action description 206a used in the YOGO diagram 200 of this embodiment. The operation description 206a "Ω-AA" is an operation description 206a indicating that the actuator performs an opening and closing operation. This operation description 206a assumes that the actuator has a chuck mechanism combined with an AC servo motor. On the contrary, in the case of an actuator that is not combined with an AC servo motor and has a chuck mechanism, even if the action of the actuator is an opening and closing action, the action description 206a "Ω-AA" cannot be used.

此外,由於動作描述206a「Ω-AA」,係描述使於AC伺服馬達組合有夾頭機構之致動器進行開閉動作之單純的動作內容者,因此可預先製作用於實現該動作內容之小型程式(亦即程式元件)。由此,動作描述206a,與用於特定使該動作內容實現之程式元件之連續編號(以下稱為程式元件編號)相對應並儲存。再者,即使為相同地進行開閉動作之致動器,在非為於AC伺服馬達組合有夾頭機構之致動器之情形下,亦無法使用動作描述206a「Ω-AA」。理由係由於在動作描述206a對應並儲存有程式元件編號。亦即,其原因在於:考量到若致動器之構造相異,則用於使致動器動作之程式元件亦相異,而當相對應之程式元件相異,則亦需事先使動作描述206a相異。In addition, since the action description 206a "Ω-AA" describes the simple action content of causing the actuator combined with the chuck mechanism to open and close the AC servo motor, a small device for realizing the action content can be created in advance. Program (i.e. program component). Therefore, the action description 206a is stored in association with a serial number (hereinafter referred to as a program element number) for specifying a program element that realizes the action content. Furthermore, even if it is an actuator that performs the same opening and closing operation, the action description 206a "Ω-AA" cannot be used unless it is an actuator with a chuck mechanism combined with an AC servo motor. The reason is that the program element number is stored in a corresponding manner in the action description 206a. That is, the reason is: considering that if the structure of the actuator is different, the program components used to operate the actuator are also different, and when the corresponding program components are different, it is also necessary to describe the action in advance 206a is different.

此外,如圖7所示,動作描述206a「Ω-AB」,係表示假定為於AC伺服馬達組合有減速機構之致動器,並使該致動器進行旋轉動作之動作描述206a,且程式元件編號對應儲存為7號。同樣地,動作描述206a「Ω-AC」,係表示假定為於AC伺服馬達組合有滾珠螺桿機構之致動器,並使該致動器進行進退動作之動作描述206a,且程式元件編號對應儲存為4號。進一步地,動作描述206a「Ω-CA」,係表示假定為使用氣壓缸之致動器,並使該致動器進行進退動作之動作描述206a,且程式元件編號對應並儲存為2號。In addition, as shown in FIG. 7 , the operation description 206a "Ω-AB" represents an operation description 206a assuming that an AC servo motor is combined with a deceleration mechanism and the actuator is rotated, and the program The corresponding component number is stored as No. 7. Similarly, the action description 206a "Ω-AC" represents the action description 206a assuming that an AC servo motor is combined with a ball screw mechanism and causing the actuator to perform forward and backward movements, and the program element number is stored accordingly for number 4. Furthermore, the action description 206a "Ω-CA" represents the action description 206a assuming that an actuator using a pneumatic cylinder is used and causing the actuator to perform a forward and backward action, and the program element number corresponds to and is stored as No. 2.

再者,由於2號之程式元件,係僅切換氣壓缸之端口開閉狀態之單純者,本應藉由更單純的方法(例如繼電器、邏輯電路、順序控制等)實現。然而,藉由將該單純的內容使用程式元件來實現,從而可將假定為氣壓缸之單純的控制,與假定為AC伺服馬達之其他複雜的控制同樣地進行操作。Furthermore, since the program component No. 2 only switches the opening and closing state of the port of the pneumatic cylinder, it should be realized by a simpler method (such as relay, logic circuit, sequence control, etc.). However, by realizing this simple content using a program component, simple control assuming a pneumatic cylinder can be operated in the same manner as other complex control assuming an AC servo motor.

B-5.數值表: 上述之動作描述206a,僅為將動作之內容定性描述為如開閉動作、旋轉動作、進退動作等者。因此動作描述206a原則上與數值表206b組合使用。例如,圖5所示之YOGO圖200中,對致動器編號為1號之致動器10使用之動作描述206a為「Ω-AA」,而在部分期間編號為4號時使用數值表206b「AA-B01」,在部分期間編號為6號時使用數值表206b「AA-B01」,在部分期間編號為10號時使用數值表206b「AA-B01」。於此,名稱「AA-B01」,係表示與動作描述206a「Ω-AA」組合使用之數值表206b「B01」。同樣地,名稱「AA-B02」,係表示與動作描述206a「Ω-AA」組合使用之數值表206b「B02」。 B-5. Numerical table: The above action description 206a only qualitatively describes the content of the action, such as opening and closing actions, rotation actions, forward and backward actions, etc. Therefore, the action description 206a is basically used in combination with the value table 206b. For example, in the YOGO diagram 200 shown in FIG. 5, the action description 206a used for the actuator 10 with the actuator number 1 is "Ω-AA", and the numerical table 206b is used when the partial period number is 4. "AA-B01" uses numerical table 206b "AA-B01" when the partial period number is No. 6, and uses numerical table 206b "AA-B01" when the partial period number is No. 10. Here, the name "AA-B01" indicates the value table 206b "B01" used in combination with the action description 206a "Ω-AA". Similarly, the name "AA-B02" represents the value table 206b "B02" used in combination with the action description 206a "Ω-AA".

圖8為例示與動作描述206a「Ω-AA」組合使用之數值表206b之說明圖。圖8(a)表示數值表206b「AA-B01」,圖8(b)表示數值表206b「AA-B02」。再者,圖8中例示二個數值表206b,惟可根據需要設定更多的數值表206b。圖8所例示之數值表206b,設定有四個項目:「數值表編號」、「開閉速度」、「開閉荷重」、「參照表」。其中「數值表編號」為數值表206b之連續編號。例如,當數值表編號指定為5號,則會特定為圖8(a)之數值表206b「AA-B01」,而當數值表編號指定為6號,則會特定為圖8(b)之數值表206b「AA-B02」。關於「參照表」於後說明。FIG. 8 is an explanatory diagram of the numerical value table 206b used in combination with the action description 206a "Ω-AA". Fig. 8(a) shows the numerical value table 206b "AA-B01", and Fig. 8(b) shows the numerical value table 206b "AA-B02". Furthermore, two numerical tables 206b are illustrated in FIG. 8, but more numerical tables 206b can be set as needed. The numerical value table 206b illustrated in FIG. 8 is set with four items: "numeric value table number", "opening and closing speed", "opening and closing load", and "reference table". The "numeric value table number" is the consecutive number of the numerical value table 206b. For example, when the value table number is designated as No. 5, it will be specified as the value table 206b "AA-B01" in Figure 8(a), and when the value table number is designated as No. 6, it will be designated as Figure 8(b) Numerical value table 206b "AA-B02". The "reference table" will be explained later.

此外,圖8所例示之數值表206b設定有四個項目,惟為了與動作描述206a組合以描述基本動作而使用者,為「開閉速度」及「開閉荷重」二個項目。於此,設定「開閉速度」及「開閉荷重」二個項目之理由,係由於此數值表206b與表示開閉動作之動作描述206a「Ω-AA」組合使用。亦即,以動作描述206a「Ω-AA」僅能得知使其進行開閉動作之定性的內容,而無法得知使其進行開閉動作之速度及開閉時之荷重等定量的內容。因此,於數值表206b設置項目「開閉速度」及「開閉荷重」,並事先設定此等數值。再者,數值表206b之「開閉速度」設定為正的數值,表示使其進行關閉動作(參照圖8(a)),設定為負的數值表示使其進行開啟動作(參照圖8(b))。In addition, the numerical value table 206b illustrated in FIG. 8 is set with four items, but for the user to combine with the action description 206a to describe the basic action, there are two items: "opening and closing speed" and "opening and closing load". Here, the reason why the two items of "opening and closing speed" and "opening and closing load" are set is because this numerical table 206b is used in combination with the action description 206a "Ω-AA" indicating the opening and closing action. That is, the action description 206a "Ω-AA" can only know the qualitative content of the opening and closing action, but cannot know the quantitative content such as the speed of the opening and closing action and the load during opening and closing. Therefore, the items "opening and closing speed" and "opening and closing load" are set in the numerical value table 206b, and these values are set in advance. Furthermore, setting the "opening and closing speed" of the numerical value table 206b to a positive value indicates that the closing action is performed (see FIG. 8(a) ), and setting the "opening and closing speed" to a negative value indicates that the opening action is performed (refer to FIG. 8(b) ).

此外,圖5之YOGO圖200中,對致動器編號為2號之致動器11使用一個動作描述206a「Ω-AB」,在部分期間編號為2號時組合使用數值表206b「AB-B01」,在部分期間編號8號時組合使用數值表206b「AB-B02」。名稱「AB-B01」及「AB-B02」,各別表示與動作描述206a「Ω-AB」組合使用之數值表206b「B01」及「B02」。In addition, in the YOGO diagram 200 of FIG. 5, an action description 206a "Ω-AB" is used for the actuator 11 with the actuator number 2, and a numerical table 206b "AB-" is used in combination with the partial period number 2. B01", when the partial period number is No. 8, the value table 206b "AB-B02" is used in combination. The names "AB-B01" and "AB-B02" respectively represent the numerical tables 206b "B01" and "B02" used in combination with the action description 206a "Ω-AB".

圖9為例示與動作描述206a「Ω-AB」組合使用之數值表206b之說明圖。圖9(a)表示數值表206b「AB-B01」,圖9(b)表示數值表206b「AB-B02」。再者,圖9例示二個數值表206b,惟可根據需要設定更多數值表206b。圖9所例示之數值表206b,除了「數值表編號」及「參照表」,還設定有「旋轉角度」、「旋轉速度」、「旋轉力矩」之總共五個項目。其中「旋轉角度」、「旋轉速度」、「旋轉力矩」之項目,係為了與動作描述206a組合以描述基本動作所使用之項目。此外,於圖9之數值表206b設定「旋轉角度」、「旋轉速度」、「旋轉力矩」之項目之理由,係由於此數值表206b與表示旋轉動作之動作描述206a「Ω-AB」組合使用。亦即,由於以動作描述206a「Ω-AB」僅能得知使其進行旋轉動作,因此關於使其旋轉之角度、使其旋轉之速度、及使其旋轉之力矩,以「旋轉角度」、「旋轉速度」、「旋轉力矩」之項目事先設定於數值表206b。再者,存在有數值表206b之「旋轉角度」設定為正的數值、及設定為負的數值之情形,係表示旋轉方向相反。FIG. 9 is an explanatory diagram of the numerical table 206b used in combination with the action description 206a "Ω-AB". Fig. 9(a) shows the numerical value table 206b "AB-B01", and Fig. 9(b) shows the numerical value table 206b "AB-B02". Furthermore, FIG. 9 illustrates two numerical tables 206b, but more numerical tables 206b can be set as needed. The numerical value table 206b illustrated in FIG. 9 has a total of five items including "rotation angle", "rotation speed", and "rotation torque" in addition to "numerical table number" and "reference table". Among them, the items "rotation angle", "rotation speed", and "rotation torque" are items used to describe the basic action in combination with the action description 206a. In addition, the reason why the items of "rotation angle", "rotation speed", and "rotation torque" are set in the numerical value table 206b in FIG. 9 is because this numerical value table 206b is used in combination with the action description 206a "Ω-AB" indicating the rotation action. . That is, since the action description 206a "Ω-AB" can only determine the rotational action, the angle at which it rotates, the speed at which it rotates, and the torque at which it rotates are expressed as "rotation angle", The items of "rotation speed" and "rotation torque" are set in the numerical value table 206b in advance. Furthermore, there are cases where the "rotation angle" of the numerical value table 206b is set to a positive numerical value, and when it is set to a negative numerical value, this means that the rotation direction is opposite.

進一步地,圖5之YOGO圖200中,對致動器編號為3號之致動器12、致動器編號為4號之致動器13、及致動器編號為8號之致動器17,皆使用動作描述206a「Ω-AB」。另一方面,在致動器編號為3號之致動器12、致動器編號為4號之致動器13、及致動器編號為8號之致動器17,使用相異的數值表206b。亦即,對致動器編號為3號之致動器12,組合使用數值表206b「AC-B01」或「AC-B02」,對致動器編號為4號之致動器13,組合使用數值表206b「AC-B11」或「AC-B12」,對致動器編號為8號之致動器17,組合使用數值表206b「AC-B21」或「AC-B22」。於此,名稱「AC-B01」、「AC-B02」、「AC-B11」、「AC-B12」、「AC-B21」、及「AC-B22」,各別表示與動作描述206a「Ω-AC」組合使用之數值表206b「B01」、「B02」、「B11」、「B12」、「B21」、及「B22」。Further, in the YOGO diagram 200 of FIG. 5 , the actuator 12 with the actuator number 3, the actuator 13 with the actuator number 4, and the actuator 8 with the actuator number 17, both use action description 206a "Ω-AB". On the other hand, different values are used for the actuator 12 with the actuator number 3, the actuator 13 with the actuator number 4, and the actuator 17 with the actuator number 8. Table 206b. That is, for the actuator 12 whose actuator number is No. 3, use the numerical table 206b "AC-B01" or "AC-B02" in combination, and for the actuator 13 whose actuator number is No. 4, use the combination The numerical value table 206b "AC-B11" or "AC-B12" is used in combination with the numerical value table 206b "AC-B21" or "AC-B22" for the actuator 17 whose actuator number is No. 8. Here, the names "AC-B01", "AC-B02", "AC-B11", "AC-B12", "AC-B21", and "AC-B22" respectively represent and describe the actions 206a "Ω -AC" numerical table 206b used in combination with "B01", "B02", "B11", "B12", "B21", and "B22".

圖10為例示與動作描述206a「Ω-AC」組合使用之數值表206b之說明圖。再者,圖10例示六個數值表206b,惟可根據需要設定更多數值表206b。圖10所例示之數值表206b,除了「數值表編號」及「參照表」,還設定有「移動量」、「移動速度」、「移動荷重」之總共五個項目。其中「移動量」、「移動速度」、「移動荷重」之項目,係為了與動作描述206a組合以描述基本動作所使用之項目。此外,於圖10之數值表206b設定「移動量」、「移動速度」、「移動荷重」之項目之理由,係由於此數值表206b與表示進退動作之動作描述206a「Ω-AC」組合使用。再者,存在有數值表206b之「移動量」設定為正的數值、及設定為負的數值之情形,係表示移動方向相反。FIG. 10 is an explanatory diagram of the numerical value table 206b used in combination with the action description 206a "Ω-AC". Furthermore, FIG. 10 illustrates six numerical tables 206b, but more numerical tables 206b can be set as needed. The numerical value table 206b illustrated in FIG. 10 has a total of five items including "moving amount", "moving speed", and "moving load" in addition to "numerical table number" and "reference table". Among them, the items of "moving amount", "moving speed", and "moving load" are items used to describe the basic action in combination with the action description 206a. In addition, the reason why the items of "moving amount", "moving speed" and "moving load" are set in the numerical value table 206b in Figure 10 is because this numerical value table 206b is used in combination with the action description 206a "Ω-AC" indicating the forward and backward action. . Furthermore, there are cases where the "movement amount" of the numerical value table 206b is set to a positive value and a negative value, which means that the moving direction is opposite.

進一步地,圖5之YOGO圖200中,對致動器編號為5號之致動器14、致動器編號為6號之致動器15、及致動器編號為7號之致動器16,皆使用動作描述206a「Ω-CA」。此係與致動器14~16皆為氣壓缸,且基本動作之內容為「進退動作」相對應。此外,對動作描述206a「Ω-CA」,不組合數值表206b。此理由係由於致動器14~16為氣壓缸,此氣壓缸以在二個動作端口內切換施加空氣壓之動作端口而進行動作,因此不需要使用定量的數值描述動作之內容。Further, in the YOGO diagram 200 of FIG. 5 , the actuator 14 with the actuator number 5, the actuator 15 with the actuator number 6, and the actuator 7 with the actuator number 16, all use action description 206a "Ω-CA". This system corresponds to the fact that the actuators 14 to 16 are all pneumatic cylinders, and the basic action content is "forward and backward action". In addition, the numerical value table 206b is not combined with the action description 206a "Ω-CA". The reason for this is that the actuators 14 to 16 are pneumatic cylinders, and the pneumatic cylinder operates by switching the action port that applies air pressure among the two action ports, so there is no need to use quantitative numerical values to describe the content of the action.

如以上之詳細說明,本實施例之YOGO圖200中,藉由在由部分期間編號與致動器編號之組合所規定之座標位置標記基本動作,從而特定使其進行基本動作之致動器及使其進行基本動作之時機。進一步地,基本動作原則上藉由動作描述206a與數值表206b之組合來表現。藉此,可避免於YOGO圖200記載錯誤內容之事態。其理由如下。As described in detail above, in the YOGO diagram 200 of this embodiment, the basic motion is marked at the coordinate position specified by the combination of the partial period number and the actuator number, thereby specifying the actuator and the actuator that perform the basic motion. Give it the opportunity to perform basic actions. Furthermore, in principle, the basic action is represented by a combination of action description 206a and numerical value table 206b. This can avoid a situation in which erroneous content is recorded in the YOGO chart 200 . The reason is as follows.

例如,在描述一個致動器之基本運動之情形下,相較於僅描述「前進」或「旋轉」,描述「僅前進55毫米」或「僅向正方向旋轉35度」會大幅地增加困難度。此原因係由於,相對於「使致動器前進」或「使致動器旋轉」之定性描述僅為直接地表現人類思考之內容,而加入「僅55mm」或「僅35度」之定量內容,已無法謂其係直接地表現思考之內容。如圖5所示,由於在YOGO圖200中標記大量的基本動作,因此當用於標記各個基本動作之困難度提高,則在YOGO圖200整體標記錯誤內容之可能性提高。For example, in the case of describing the basic motion of an actuator, describing "only forward 55 mm" or "only rotating 35 degrees in the forward direction" will greatly increase the difficulty compared to just describing "forward" or "rotation" Spend. This reason is because the qualitative description of "making the actuator advance" or "making the actuator rotate" only directly expresses the content of human thinking, and adds the quantitative content of "only 55mm" or "only 35 degrees" , it can no longer be said that it directly expresses the content of thinking. As shown in FIG. 5 , since a large number of basic actions are marked in the YOGO diagram 200 , as the difficulty of marking each basic action increases, the possibility of erroneous content being marked in the YOGO diagram 200 as a whole increases.

相對於此,本實施例之YOGO圖200中,由於係藉由動作描述206a及數值表206b之組合從而描述基本動作,因此,可在製作YOGO圖200時,集中於標記動作描述206a,且關於數值表206b可事先標記數值表206b。如此,由於製作YOGO圖200之作業,實質上與直接地表現人類思考內容之作業相同,因此可大幅地減少在YOGO圖200標記錯誤內容之可能性。此外,即使在修正致動器之移動量等之情況下,亦僅需修正數值表206b即可,不需修正YOGO圖200。因此,亦可防止誤將YOGO圖200修正之事態。In contrast, in the YOGO diagram 200 of this embodiment, since the basic operation is described by a combination of the action description 206a and the numerical value table 206b, when making the YOGO diagram 200, you can focus on marking the action description 206a, and about The value table 206b may be marked in advance. In this way, since the operation of creating the YOGO diagram 200 is essentially the same as the operation of directly expressing human thinking content, the possibility of marking wrong content in the YOGO diagram 200 can be greatly reduced. In addition, even when correcting the movement amount of the actuator, etc., it is only necessary to correct the numerical value table 206b, and there is no need to correct the YOGO diagram 200. Therefore, it is possible to prevent the YOGO chart 200 from being mistakenly corrected.

另外,當將致動器之基本動作分為動作描述206a及數值表206b來考量,則自然使各個致動器可進行之動作描述206a受到限制。例如,圖5所示之例中,致動器10可進行之動作描述206a僅有「Ω-AA」,此係由於致動器10為用於使夾頭3b開閉之致動器,作為基本動作之定性描述內容(亦即,動作描述206a),以開閉動作一個種類即足夠。當然地,亦可使夾頭3b能夠以複數個態樣進行開閉並準備每個態樣之動作描述206a,惟即使在如此之情況下,各個致動器可進行之動作描述206a之種類至多僅有幾個種類。In addition, when the basic actions of the actuator are divided into action descriptions 206a and numerical tables 206b, then the action descriptions 206a that each actuator can perform are naturally limited. For example, in the example shown in FIG. 5 , the action description 206a that the actuator 10 can perform is only "Ω-AA". This is because the actuator 10 is an actuator for opening and closing the chuck 3b. As a basic As for the qualitative description content of the action (that is, the action description 206a), one category of opening and closing actions is sufficient. Of course, the chuck 3b can also be opened and closed in a plurality of modes and an action description 206a of each mode can be prepared. However, even in this case, the types of action descriptions 206a that each actuator can perform are at most only There are several species.

其結果為,YOGO圖200中,於致動器編號相同的座標位置重複標記相同的動作描述206a(即使為相異之情形,至多亦僅有幾個種類之動作描述206a)。因此,若標記錯誤的動作描述206a,則僅有該動作描述206a為相異的動作描述206a,從而可容易地發覺錯誤並修正。As a result, in the YOGO diagram 200, the same action description 206a is repeatedly marked at the coordinate position with the same actuator number (even if they are different, there are at most only a few types of action descriptions 206a). Therefore, if an incorrect action description 206a is marked, only the action description 206a is a different action description 206a, so that the error can be easily discovered and corrected.

B-6.參照表: 如圖8~圖10所例示地,本實施例之數值表206b中亦設定有項目「參照表」。此參照表亦為用於使YOGO圖200可容易地製作者。 B-6. Reference table: As illustrated in FIGS. 8 to 10 , the item "reference table" is also set in the numerical value table 206b of this embodiment. This reference table is also used to make the YOGO chart 200 easy to create.

圖11為例示於圖8所示之數值表206b中設定之參照表之說明圖。圖11(a)示出圖8(a)之數值表206b(AA-B01)中設定之參照表(AA-A01)。此外,圖11(b)示出圖8(b)之數值表206b(AA-B02)中設定之參照表(AA-A02)。圖11所示之此等參照表中,設定有六個項目:「最大速度」、「最大荷重」、「開閉速度標準值」、「開閉荷重標準值」、「夾頭機構減速比」、「夾頭機構對應直徑範圍」。FIG. 11 is an explanatory diagram illustrating the reference table set in the numerical value table 206b shown in FIG. 8 . FIG. 11(a) shows the reference table (AA-A01) set in the numerical value table 206b (AA-B01) of FIG. 8(a). In addition, FIG. 11(b) shows the reference table (AA-A02) set in the numerical value table 206b (AA-B02) of FIG. 8(b). In the reference tables shown in Figure 11, there are six settings: "Maximum speed", "Maximum load", "Opening and closing speed standard value", "Opening and closing load standard value", "Clamp mechanism reduction ratio", " The collet mechanism corresponds to the diameter range."

其中,項目「最大速度」、「最大荷重」、「開閉速度標準值」、「開閉荷重標準值」,對應於此等參照表(AA-A01、AA-A02)從圖8所示之數值表206b(AA-B01、AA-B02)所參照之情形。亦即,數值表206b(AA-B01、AA-B02)為設定有「開閉速度」及「開閉荷重」之數值之表(參照圖8),而可設定之開閉速度最大值及開閉荷重最大值,各別作為「最大速度」及「最大荷重」設定於參照表。此外,「開閉速度標準值」及「開閉荷重標準值」,係在數值表206b之「開閉速度」及「開閉荷重」中未設定數值之情形所使用的標準值。Among them, the items "Maximum speed", "Maximum load", "Opening and closing speed standard value", "Opening and closing load standard value" correspond to these reference tables (AA-A01, AA-A02) from the value table shown in Figure 8 206b (AA-B01, AA-B02). In other words, the numerical value table 206b (AA-B01, AA-B02) is a table in which the numerical values of "opening and closing speed" and "opening and closing load" are set (see Figure 8), and the maximum value of the opening and closing speed and the maximum value of the opening and closing load can be set. , respectively, are set in the reference table as "maximum speed" and "maximum load". In addition, the "opening and closing speed standard value" and the "opening and closing load standard value" are the standard values used when no values are set in the "opening and closing speed" and "opening and closing load" of the numerical value table 206b.

接著,在製作圖8(a)之數值表206b(AA-B01)時,於項目「參照表」中事先設定「AA-A01」。此外,在製作圖8(b)之數值表206b(AA-B02)時,於項目「參照表」中事先設定「AA-A02」。如此,在設定數值表206b(AA-B01、AA-B02)之項目「開閉速度」或「開閉荷重」之數值時,參照圖11(a)或圖11(b)之參照表之「最大速度」或「最大荷重」之項目,可使其不會設定超過最大速度或最大荷重之不適當之數值。因此,可容易地製作適當的數值表206b。Next, when creating the numerical value table 206b (AA-B01) in FIG. 8(a) , "AA-A01" is set in advance in the item "reference table". In addition, when creating the numerical value table 206b (AA-B02) in FIG. 8(b), "AA-A02" is set in advance in the item "reference table". In this way, when setting the value of the item "opening and closing speed" or "opening and closing load" of the numerical value table 206b (AA-B01, AA-B02), refer to the "maximum speed" of the reference table in Figure 11(a) or Figure 11(b) ” or “maximum load” items, so that inappropriate values that exceed the maximum speed or maximum load will not be set. Therefore, an appropriate numerical value table 206b can be easily created.

另外,由於即使在數值表206b(AA-B01、AA-B02)之項目中未設定數值之情形,會挪用於參照表中對應項目所設定之標準值,因此藉由先使自動製造機械1進行動作,並根據需要修正數值表206b之數值,最終亦可完成適當的YOGO圖200。In addition, even if no value is set in the items of the numerical value table 206b (AA-B01, AA-B02), the standard value set in the corresponding item in the reference table will be used. Therefore, by first letting the automatic manufacturing machine 1 action, and modify the values in the value table 206b as needed, and finally the appropriate YOGO chart 200 can be completed.

此外,圖11(a)及11(b)之參照表中亦設定有項目「夾頭機構減速比」及「夾頭機構對應直徑範圍」。此等為描述致動器之機械特性者。亦即,參照表係從數值表206b參照,而數值表206b係假定具體的致動器而設定者。因此,參照表亦為假定具體的致動器而設定者。例如,圖11(a)及圖11(b)之參照表係從圖8(a)及圖8(b)之數值表206b參照,由於此等之數值表206b為對致動器10使用,因此圖11(a)及圖11(b)之參照表亦對致動器10使用。In addition, the items "collet mechanism reduction ratio" and "collet mechanism corresponding diameter range" are also set in the reference table of Figures 11(a) and 11(b). These describe the mechanical characteristics of the actuator. That is, the reference table is referenced from the numerical value table 206b, and the numerical value table 206b is set assuming a specific actuator. Therefore, the reference table is also set assuming a specific actuator. For example, the reference tables of FIGS. 11(a) and 11(b) are referenced from the numerical tables 206b of FIGS. 8(a) and 8(b). Since these numerical tables 206b are used for the actuator 10, Therefore, the reference tables of FIG. 11( a ) and FIG. 11( b ) are also used for the actuator 10 .

如此,參照表各別地適用於固有之致動器。因此,事先設定該致動器之機械特性於參照表。圖11所例示之參照表,適用於在AC伺服馬達組合有夾頭機構並使夾頭3b進行開閉之致動器11。與此對應地,於參照表中設定夾頭機構之減速比、及以夾頭機構可持握之部件之直徑範圍等機械特性。如此地於參照表中事先設定特性值,則即使在控制AC伺服馬達之程式元件中需要此等機械特性之情形,由於可參照參照表並讀出特性值,因此可避免使用錯誤的特性值控制馬達,而錯誤地控制致動器之事態。In this way, the reference table applies individually to the respective actuator. Therefore, the mechanical characteristics of the actuator are set in the reference table in advance. The reference table illustrated in FIG. 11 is applicable to the actuator 11 which has a chuck mechanism combined with an AC servo motor and opens and closes the chuck 3b. Correspondingly, mechanical characteristics such as the reduction ratio of the collet mechanism and the diameter range of the parts that can be held by the collet mechanism are set in the reference table. By setting the characteristic values in the reference table in advance in this way, even if these mechanical characteristics are required in the program element for controlling the AC servo motor, the reference table can be referred to and the characteristic values can be read out, so the use of wrong characteristic value control can be avoided. motor, and incorrectly controls the actuator state.

圖12為例示於圖9所示之二個數值表206b中所設定之參照表之說明圖。圖12(a)示出圖9(a)之數值表206b(AB-B01)中所設定之參照表(AB-A01),圖12(b)示出圖9(b)之數值表206b(AB-B02)中所設定之參照表(AB-A02)。此等參照表中,設定有七個項目:「角度範圍」、「最大旋轉速度」、「最大旋轉扭力」、「旋轉角度標準值」、「旋轉速度標準值」、「旋轉扭力標準值」、及「減速比」。FIG. 12 is an explanatory diagram illustrating the reference table set in the two numerical tables 206b shown in FIG. 9 . Fig. 12(a) shows the reference table (AB-A01) set in the numerical value table 206b (AB-B01) of Fig. 9(a), and Fig. 12(b) shows the numerical value table 206b (AB-B01) of Fig. 9(b) Reference table (AB-A02) set in AB-B02). In these reference tables, there are seven settings: "Angle range", "Maximum rotation speed", "Maximum rotation torque", "Rotation angle standard value", "Rotation speed standard value", "Rotation torque standard value", and "reduction ratio".

其中,項目「角度範圍」、「最大旋轉速度」、「最大旋轉扭力」、「旋轉角度標準值」、「旋轉速度標準值」、「旋轉扭力標準值」,對應於此等之參照表(AB-A01、AB-A02)從圖9所示之數值表206b(AB-B01、AB-B02)所參照之情形。亦即,數值表206b(AB-B01、AB-B02)為設定有「旋轉角度」、「旋轉速度」、及「旋轉扭力」之數值之表(參照圖9),對應於此,實際可進行之最大角度範圍、最大旋轉速度、最大旋轉扭力,各別設定於參照表。此外,「旋轉角度標準值」、「旋轉速度標準值」、及「旋轉扭力標準值」,係在數值表206b之「旋轉角度」、「旋轉速度」、及「旋轉扭力」中未設定數值之情形所使用的標準值。Among them, the items "angle range", "maximum rotation speed", "maximum rotation torque", "standard value of rotation angle", "standard value of rotation speed", "standard value of rotation torque" correspond to the reference table (AB -A01, AB-A02) refer to the numerical table 206b (AB-B01, AB-B02) shown in FIG. 9 . That is, the numerical table 206b (AB-B01, AB-B02) is a table in which the numerical values of "rotation angle", "rotation speed", and "rotation torque" are set (see FIG. 9). Corresponding to this, it is actually possible to perform The maximum angle range, maximum rotation speed, and maximum rotation torque are respectively set in the reference table. In addition, the "standard value of rotation angle", "standard value of rotation speed" and "standard value of rotation torque" are the values that have not been set in the "rotation angle", "rotation speed" and "rotation torque" of the value table 206b. The standard value used in the situation.

接著,在製作圖9(a)及圖9(b)之數值表206b(AB-B01、AB-B02)時,於項目「參照表」中事先設定「AB-A01」或「AB-A02」。如此,在設定數值表206b(AB-B01、AB-B02)之「旋轉角度」之數值時,參照參照表之項目「角度範圍」,可使其無法設定超過旋轉後之角度±180度之數值。此外,在設定數值表206b(AB-B01、AB-B02)之「旋轉速度」及「旋轉扭力」之數值時,亦可參照參照表之項目「最大旋轉速度」及「最大旋轉扭力」,而使其不會設定超過最大旋轉速度及最大旋轉扭力之不適當之數值。Next, when creating the numerical table 206b (AB-B01, AB-B02) in Figure 9(a) and Figure 9(b), set "AB-A01" or "AB-A02" in the item "Reference Table" in advance . In this way, when setting the value of the "rotation angle" of the value table 206b (AB-B01, AB-B02), refer to the item "angle range" of the reference table, so that it cannot set a value exceeding the angle after rotation ±180 degrees. . In addition, when setting the values of "rotation speed" and "rotation torque" of numerical value table 206b (AB-B01, AB-B02), you can also refer to the items "maximum rotation speed" and "maximum rotation torque" of the reference table, and This prevents it from setting inappropriate values that exceed the maximum rotation speed and maximum rotation torque.

另外,即使在數值表206b(AB-B01、AB-B02)之項目中未設定數值之情形,可挪用於參照表中對應項目所設定之標準值。進一步地,亦在圖12所例示之參照表中,作為參照表所使用之致動器(於此為致動器11)之機械特性值而設定減速機構之「減速比」。In addition, even if no numerical value is set in the items of numerical value table 206b (AB-B01, AB-B02), the standard value set for the corresponding item in the reference table can be used. Furthermore, in the reference table illustrated in FIG. 12 , the "reduction ratio" of the reduction mechanism is set as the mechanical characteristic value of the actuator (actuator 11 in this case) used in the reference table.

圖13為例示於圖10所示之六個數值表206b中所設定之參照表之說明圖。圖13(a)示出圖10(a)之數值表206b(AC-B01)中所設定之參照表(AC-A01),圖13(b)示出圖10(b)之數值表206b(AC-B02)中所設定之參照表(AC-A02)。進一步地,圖13(c)彙整示出圖10(c)~10(f)所示之四個數值表206b(AC-B11、AC-B12、AC-B21、AC-B22)中設定之參照表(AC-A11、AC-A12、AC-A21、AC-A22)。此等參照表中,設定有八個項目:「移動範圍」、「最大移動速度」、「最大移動荷重」、「移動量標準值」、「移動速度標準值」、「移動荷重標準值」、「減速比」、及「螺距」。FIG. 13 is an explanatory diagram illustrating the reference table set in the six numerical table 206b shown in FIG. 10 . Fig. 13(a) shows the reference table (AC-A01) set in the numerical value table 206b (AC-B01) of Fig. 10(a), and Fig. 13(b) shows the numerical value table 206b (AC-B01) of Fig. 10(b) Reference table (AC-A02) set in AC-B02). Further, FIG. 13(c) summarizes the references set in the four numerical tables 206b (AC-B11, AC-B12, AC-B21, AC-B22) shown in FIGS. 10(c) to 10(f). Table (AC-A11, AC-A12, AC-A21, AC-A22). In these reference tables, there are eight settings: "Moving range", "Maximum moving speed", "Maximum moving load", "Moving amount standard value", "Moving speed standard value", "Moving load standard value", "Reduction ratio" and "pitch".

其中,項目「移動範圍」、「最大移動速度」、「最大移動荷重」、「移動量標準值」、「移動速度標準值」、「移動荷重標準值」,對應於從圖10所示之數值表206b參照此等參照表之情形。亦即,圖10之數值表206b為設定有「移動量」、「移動速度」、及「移動荷重」之數值之表(參照圖10),對應於此,實際可進行之移動範圍、最大移動速度、最大移動荷重,各別設定於參照表。此外,「移動量標準值」、「移動速度標準值」、及「移動荷重標準值」,係在數值表206b之「移動量」、「移動速度」、「移動荷重」中未設定數值之情形所使用的標準值。Among them, the items "moving range", "maximum moving speed", "maximum moving load", "moving amount standard value", "moving speed standard value", and "moving load standard value" correspond to the values shown in Figure 10 Table 206b refers to the situation of these reference tables. That is, the numerical value table 206b in Fig. 10 is a table in which the numerical values of "movement amount", "movement speed" and "movement load" are set (see Fig. 10). Corresponding to this, the actual possible movement range and maximum movement are Speed and maximum moving load are respectively set in the reference table. In addition, the "standard value of movement amount", "standard value of movement speed", and "standard value of movement load" are the cases where values are not set in the "movement amount", "movement speed", and "moving load" of the value table 206b The standard value used.

若在製作圖10所例示之數值表206b時,亦於各自之數值表206b之項目「參照表」中事先設定適當的參照表,則可使其不會於數值表206b中設定不適當之數值。此外,即使在數值表206b之項目中未設定數值之情形,可挪用於參照表中對應項目所設定之標準值。進一步地,亦在圖13所例示之參照表中,作為參照表所使用之致動器之機械特性值而設定減速機構之「減速比」及滾珠螺桿機構之「螺距」等。When creating the numerical value table 206b illustrated in FIG. 10, if an appropriate reference table is set in advance in the item "reference table" of each numerical value table 206b, inappropriate numerical values can be prevented from being set in the numerical value table 206b. . In addition, even if no numerical value is set in an item of the numerical value table 206b, the standard value set for the corresponding item in the reference table can be used. Furthermore, in the reference table illustrated in FIG. 13 , the "reduction ratio" of the reduction mechanism, the "pitch" of the ball screw mechanism, etc. are set as mechanical characteristic values of the actuator used in the reference table.

再者,在圖13中之參照表「AC-A01」及「AC-A02」、參照表「AC-A11」及「AC-A12」、以及參照表「AC-A21」及「AC-A22」中,表示致動器之機械特性值之「減速比」及「螺距」所設定之數值相異。其理由係由於參照表所適用之致動器相異。亦即,圖13中之參照表「AC-A01」及「AC-A02」適用於致動器12,參照表「AC-A11」及「AC-A12」適用於致動器13,參照表「AC-A21」及「AC-A22」適用於致動器17。如此,若適用之致動器相異,則致動器之機械特性值亦改變,因此設定於參照表中之數值亦相異。Furthermore, in Figure 13, the reference tables "AC-A01" and "AC-A02", the reference tables "AC-A11" and "AC-A12", and the reference tables "AC-A21" and "AC-A22" , the values set for "reduction ratio" and "pitch" that represent the mechanical characteristics of the actuator are different. The reason is that the reference tables are applied to different actuators. That is, the reference tables "AC-A01" and "AC-A02" in Figure 13 are applicable to the actuator 12, the reference tables "AC-A11" and "AC-A12" are applicable to the actuator 13, and the reference table " AC-A21" and "AC-A22" are suitable for actuator 17. In this way, if the applicable actuators are different, the mechanical characteristic values of the actuators will also change, so the values set in the reference table will also be different.

如以上之詳細說明,本實施例之YOGO圖200中,藉由在由致動器編號及部分期間編號所特定之座標位置標記致動器之基本動作,從而描述自動製造機械1之動作。然而,自動製造機械1中,有在致動器之動作開始前空出一定時間之間隔,以及例如在確認已供給一定數量之零件後,才使致動器進行動作之情形。進一步地,有在致動器之動作開始前輸出聲音(包含效果音)促使周圍作業者注意,以及經過一定時間使燈開燈及熄燈之情形。雖然如此地使用計時器計算一定時間之動作、使用計數器計算一定數量之動作、從擴音器輸出聲音之動作、及使燈發光之開燈或熄燈之動作並非致動器之動作,惟可作為比照其之動作並與基本動作同樣地操作。因此,在YOGO圖200中,雖然並非致動器之動作,惟亦可描述能夠與基本動作同樣地操作之動作(以下稱為比照基本動作之動作)。As described in detail above, in the YOGO diagram 200 of this embodiment, the operation of the automatic manufacturing machine 1 is described by marking the basic operation of the actuator at the coordinate position specified by the actuator number and the partial period number. However, in the automatic manufacturing machine 1, there is a case where a certain time interval is left before starting the operation of the actuator, or, for example, the actuator is operated only after confirming that a certain number of parts have been supplied. Furthermore, there are cases where a sound (including sound effect) is outputted before the operation of the actuator is started to draw the attention of surrounding workers, and the lights are turned on and off after a certain period of time. Even so, the action of using a timer to count a certain amount of time, the action of using a counter to count a certain number, the action of outputting sound from a loudspeaker, and the action of turning on or off the light to make the light shine are not actions of the actuator, but can be regarded as actions of the actuator. Compare its movements and operate in the same way as the basic movements. Therefore, in the YOGO diagram 200 , although it is not the movement of the actuator, it is possible to describe a movement that can be operated in the same manner as the basic movement (hereinafter referred to as a movement that is compared to the basic movement).

B-7.比照基本動作之動作: 圖14,為例示在YOGO圖200上,描述可與基本動作同樣地操作之動作的態樣之說明圖。圖14(a)中,描述計算經過指定時間之動作(計時動作)。在YOGO圖200中,計時器之計時動作,亦可藉由在左端具有起點204且右端具有終點205之動作線203上,標記表示計時器之計時之動作描述206a(於此為Ω-TM1)及計時器用之數值表206b(於此為T-15)來描述。計時器用之數值表206b中,事先設定以計時器計時之經過時間。 B-7. Compare the basic movements: FIG. 14 is an explanatory diagram illustrating an aspect of actions that can be operated similarly to basic actions on the YOGO diagram 200 . In Figure 14(a), the action of calculating the elapsed specified time (timing action) is described. In the YOGO diagram 200, the timing action of the timer can also be represented by marking the action description 206a of the timer on the action line 203 with the starting point 204 at the left end and the end point 205 at the right end (here it is Ω-TM1). And the timer is described by the value table 206b (here T-15). In the value table 206b for the timer, the elapsed time measured by the timer is set in advance.

圖14(b)中,例示描述計算指定個數(或指定次數)之動作(計數動作)之態樣。計數器之計數動作亦可藉由在左端具有起點204且右端具有終點205之動作線203上,標記表示計數器之計數動作之動作描述206a(於此為Ω-CT1)及計數器用之數值表206b(於此為N-12)來描述。計數器用之數值表206b中,設定有計算之指定個數或指定次數。In FIG. 14(b) , an aspect of an action (counting action) of counting a specified number (or a specified number of times) is illustrated. The counting action of the counter can also be achieved by marking on the action line 203 having the starting point 204 at the left end and the end point 205 at the right end, indicating the action description 206a (here Ω-CT1) of the counting action of the counter and the value table 206b for the counter ( This is described as N-12). In the value table 206b for the counter, a designated number or a designated number of times for calculation is set.

圖14(c)中,例示描述監視指定時間之期間開關之狀態,並檢測開關切換之動作(開關檢測動作)之態樣。於此,開關可為如操作按鈕之開關、亦可為接近開關、亦可為如光電耦合器之光學開關。此種開關檢測動作亦可藉由在左端具有起點204且右端具有終點205之動作線203上,標記表示開關檢測動作之動作描述206a(於此為Ω-SW1)及開關檢測用之數值表206b來描述。開關檢測用之數值表206b中,設定有用於監視開關之狀態之時間。In FIG. 14(c), an example is described of monitoring the state of the switch during a specified time and detecting the switch switching operation (switch detection operation). Here, the switch may be a switch such as an operation button, a proximity switch, or an optical switch such as a photoelectric coupler. This kind of switch detection action can also be achieved by marking an action description 206a (here, Ω-SW1) of the switch detection action and a numerical table 206b for switch detection on the action line 203 having a starting point 204 at the left end and an end point 205 at the right end. to describe. In the value table 206b for switch detection, a time for monitoring the status of the switch is set.

圖14(d)中,例示描述從擴音器輸出聲音之動作(聲音輸出動作)之態樣。在YOGO圖200中,擴音器之聲音輸出動作,亦藉由在左端具有起點204且右端具有終點205之動作線203上,標記表示擴音器之驅動之動作描述206a(於此為Ω-SP1)及聲音輸出用之數值表206b來描述。聲音輸出用之數值表206b中,設定有從擴音器輸出之聲音資料。FIG. 14(d) illustrates an operation of outputting sound from a loudspeaker (sound output operation). In the YOGO diagram 200, the sound output action of the loudspeaker is also represented by a mark on the action line 203 having a starting point 204 at the left end and an end point 205 at the right end indicating the action description 206a of the driving of the loudspeaker (here Ω- SP1) and the sound output are described by the numerical table 206b. The sound data output from the loudspeaker is set in the value table 206b for sound output.

圖14(e)中,例示描述使燈發光之發光動作之態樣。燈之發光動作,亦藉由在左端具有起點204且右端具有終點205之動作線203上,標記表示燈之發光動作之動作描述206a(於此為Ω-LL1)及發光動作用之數值表206b來描述。發光動作用之數值表206b中,設定有使燈發光之態樣(例如,開燈或熄燈之態樣)。In FIG. 14(e) , a state of the light-emitting operation for causing the lamp to light is exemplified. The light-emitting action of the lamp is also marked on the action line 203 having the starting point 204 at the left end and the end point 205 at the right end, indicating the action description 206a of the light-emitting action of the lamp (here Ω-LL1) and the numerical table 206b of the light-emitting action. to describe. In the value table 206b of the light-emitting action, the state of making the lamp light up (for example, the state of turning the light on or off) is set.

圖14(f)中,例示使用加熱器加熱對象物或加熱調理食材之加熱動作之態樣。加熱器之加熱動作,亦藉由在左端具有起點204且右端具有終點205之動作線203上,標記表示加熱器之加熱動作之動作描述206a(於此為Ω-HT1)及加熱動作用之數值表206b來描述。加熱動作用之數值表206b中,設定有加熱溫度及加熱時間。FIG. 14( f ) illustrates a heating operation in which a heater is used to heat an object or to heat and prepare ingredients. The heating action of the heater is also marked on the action line 203 having the starting point 204 at the left end and the end point 205 at the right end, indicating the action description 206a of the heater's heating action (here, Ω-HT1) and the numerical value of the heating action. Table 206b to describe. The heating temperature and heating time are set in the numerical value table 206b of the heating action.

如上所述,本實施例之YOGO圖200中,藉由在YOGO圖200上之座標位置使用動作描述206a及數值表206b來標記基本動作(或比照基本動作之動作),從而描述自動製造機械1之動作。接著,當製作此種YOGO圖200,則可藉由將YOGO圖200於自動製造機械控制裝置100中讀取從而生成控制程式,其結果為,可控制自動製造機械1之動作。As mentioned above, in the YOGO diagram 200 of this embodiment, the automatic manufacturing machine 1 is described by using the action description 206a and the numerical table 206b to mark the basic actions (or actions based on the basic actions) at the coordinate positions on the YOGO diagram 200 action. Next, when such a YOGO diagram 200 is created, the YOGO diagram 200 can be read in the automatic manufacturing machine control device 100 to generate a control program. As a result, the operation of the automatic manufacturing machine 1 can be controlled.

C.本實施例之自動製造機械控制裝置100: 圖15為表示本實施例之自動製造機械控制裝置100所具備之功能之說明圖。如圖15所示,本實施例之自動製造機械控制裝置100,具備YOGO圖製作部101、基本動作儲存部102、YOGO圖讀取部103、YOGO圖解析部104、控制程式生成部105、及控制執行部106等。再者,此等之「部」,係為了使用自動製造機械控制裝置100製作YOGO圖200,並由此YOGO圖200生成控制程式從而控制自動製造機械1之動作,而表達自動製造機械控制裝置100應事先具備之複數個功能之抽象的概念。因此,並非表示自動製造機械控制裝置100為組合相當於此等「部」之零件而形成。實際上,此等「部」,能夠以由中央處理器(CPU)執行之程式之型態實現,亦能夠以組合IC晶片及LSI等之電子電路之型態實現,進一步地,能夠以此等混合存在之型態等各種型態實現。 C. Automatic manufacturing machinery control device 100 of this embodiment: FIG. 15 is an explanatory diagram showing the functions of the automatic manufacturing machine control device 100 of this embodiment. As shown in FIG. 15 , the automatic manufacturing machine control device 100 of this embodiment includes a YOGO diagram creation part 101 , a basic action storage part 102 , a YOGO diagram reading part 103 , a YOGO diagram analysis part 104 , a control program generation part 105 , and Control execution unit 106 and so on. In addition, these "parts" are used to express the automatic manufacturing machine control device 100 in order to use the automatic manufacturing machine control device 100 to create the YOGO diagram 200 and generate a control program from the YOGO diagram 200 to control the operation of the automatic manufacturing machine 1. An abstract concept with multiple functions that should be provided in advance. Therefore, it does not mean that the automatic manufacturing machine control device 100 is formed by combining parts corresponding to these "parts". In fact, these "parts" can be realized in the form of programs executed by a central processing unit (CPU), or in the form of electronic circuits that combine IC chips, LSIs, etc., and further, can be realized in the form of electronic circuits such as IC chips and LSIs. It can be realized in various forms such as the form of mixed existence.

YOGO圖製作部101,與顯示器畫面100m及操作輸入按鍵100s等連接,具有自動製造機械1相關知識之機械技術者等,藉由在觀看顯示器畫面100m的同時操作操作輸入按鍵100s,從而製作如圖5所例示之YOGO圖200。如前述,YOGO圖200係使用搭載於自動製造機械1之複數個致動器之基本動作,而描述自動製造機械1之動作者。由於在機械設計時,機械設計技術者為了實現自動製造機械1之動作,而充分地探討如何將複數個致動器之基本動作組合為佳,因此只要為進行過機械設計之機械設計技術者,則可簡單地製作描述自動製造機械1之動作之YOGO圖200。當然地,只要為具有自動製造機械1之構造或動作之相關知識者,即使非為設計自動製造機械1之技術者,亦可簡單地製作YOGO圖200。The YOGO diagram making unit 101 is connected to the display screen 100m and the operation input buttons 100s, etc., and a mechanical technician or the like with knowledge related to the automatic manufacturing machine 1 can create a diagram by operating the operation input buttons 100s while viewing the display screen 100m. 5 illustrates the YOGO diagram 200. As mentioned above, the YOGO diagram 200 describes the movement of the automatic manufacturing machine 1 using the basic movements of a plurality of actuators mounted on the automatic manufacturing machine 1 . Since during machine design, mechanical design technicians fully explore how to optimally combine the basic movements of a plurality of actuators in order to realize the movement of the automatic manufacturing machine 1, therefore as long as they are mechanical design technicians who have performed mechanical design, Then, the YOGO diagram 200 describing the operation of the automatic manufacturing machine 1 can be easily created. Of course, as long as a person has relevant knowledge about the structure or operation of the automatic manufacturing machine 1 , even a person who is not skilled in designing the automatic manufacturing machine 1 can easily create the YOGO diagram 200 .

此外,本實施例中,在將基本動作標記於YOGO圖200時,原則上使用動作描述206a及數值表206b標記基本動作,並根據致動器決定可使用之動作描述206a(參照圖7)。因此,在基本動作儲存部102中,將致動器之名稱與可以該致動器使用之動作描述206a相對應並預先儲存。In addition, in this embodiment, when marking basic actions in the YOGO diagram 200, in principle, the action description 206a and the numerical value table 206b are used to mark the basic actions, and the usable action description 206a is determined according to the actuator (see FIG. 7). Therefore, in the basic action storage unit 102, the name of the actuator is associated with the action description 206a that can be used by the actuator and stored in advance.

圖16,係表示將致動器之名稱與可使用之動作描述206a相對應並儲存於基本動作儲存部102之情形之說明圖。如圖示,在基本動作儲存部102儲存有每個致動器可使用之動作描述206a,進一步地,在各個動作描述206a儲存有程式元件編號。如前述地,程式元件編號,係特定用於使用致動器實現動作描述206a之動作的程式元件之編號。例如,致動器18及致動器19,可選擇動作之態樣相異之二個動作描述206a,而在各個動作描述206a儲存程式元件編號。此外,在各個致動器,亦一併儲存致動器構造、及致動器之基本動作之內容。進一步地,亦將圖8~圖10所例示之數值表206b、及圖11~圖13所例示之參照表儲存於基本動作儲存部102。FIG. 16 is an explanatory diagram showing a state in which the name of the actuator is associated with the usable action description 206a and stored in the basic action storage unit 102. As shown in the figure, the basic action storage unit 102 stores action descriptions 206a that can be used by each actuator. Furthermore, each action description 206a stores a program element number. As mentioned above, the program element number is the number of the program element that is specifically used to implement the action of the action description 206a using the actuator. For example, the actuator 18 and the actuator 19 can select two action descriptions 206a with different action modes, and store the program element number in each action description 206a. In addition, for each actuator, the actuator structure and the content of the actuator's basic movement are also stored. Furthermore, the numerical value table 206b illustrated in FIGS. 8 to 10 and the reference table illustrated in FIGS. 11 to 13 are also stored in the basic action storage unit 102.

上述之基本動作儲存部102連接於YOGO圖製作部101。因此機械技術者,在製作YOGO圖200時可參照基本動作儲存部102。接著,由於只要為具有自動製造機械1之相關知識之機械技術者,可理解要如何使何種致動器進行動作,因此可根據致動器選擇適當的動作描述206a。另外,如前所述,由於動作描述206a係定性描述基本動作之內容者,因此在YOGO圖200上標記動作描述206a之作業,僅為直接地描述欲使自動製造機械1進行之動作之作業,無標記錯誤的內容之情事。此外,關於數值表206b,只要事先設定暫時之數值表206b即可。亦即,如使用圖8~圖10前述地,由於數值表206b之名稱,係將組合使用之動作描述206a的名稱中之指定部分與連續編號組合者,因此可事先決定數值表206b之名稱並標記於YOGO圖200,接著在之後修正數值表206b之數值,或變更數值表206b。此外,當製作新的名稱之數值表206b,則在該數值表206b自動編號新的數值表編號(參照圖8~圖10)。The above-mentioned basic action storage unit 102 is connected to the YOGO chart creation unit 101. Therefore, mechanical technicians can refer to the basic motion storage unit 102 when creating the YOGO diagram 200 . Next, as long as a mechanical technician with relevant knowledge of the automatic manufacturing machine 1 can understand how to operate which actuator, the appropriate operation description 206a can be selected according to the actuator. In addition, as mentioned above, since the operation description 206a qualitatively describes the content of the basic operation, the operation marked with the operation description 206a on the YOGO diagram 200 is only an operation that directly describes the operation to be performed by the automatic manufacturing machine 1. Unmarked content. In addition, regarding the numerical value table 206b, it is only necessary to set the temporary numerical value table 206b in advance. That is, as described above using Figures 8 to 10, since the name of the numerical value table 206b is a combination of the designated part of the name of the action description 206a used in combination with the consecutive number, the name of the numerical value table 206b can be determined in advance and Mark the YOGO chart 200, and then later correct the values in the value table 206b, or change the value table 206b. In addition, when the value table 206b of a new name is created, a new value table number is automatically numbered in the value table 206b (see Figures 8 to 10).

YOGO圖讀取部103,讀取以YOGO圖製作部101製作之YOGO圖200,並輸出至YOGO圖解析部104。再者,本實施例中,作為以自動製造機械控制裝置100製作YOGO圖200者,對應於此,YOGO圖讀取部103係從YOGO圖製作部101讀取YOGO圖200。與此相對,亦能夠事先以有別於自動製造機械控制裝置100而設置之電腦50來製作YOGO圖200,並由YOGO圖讀取部103讀取該YOGO圖。The YOGO chart reading unit 103 reads the YOGO chart 200 created by the YOGO chart creating unit 101 and outputs it to the YOGO chart analyzing unit 104 . Furthermore, in this embodiment, the automatic manufacturing machine control device 100 is used to create the YOGO chart 200 . Correspondingly, the YOGO chart reading unit 103 reads the YOGO chart 200 from the YOGO chart creating unit 101 . On the other hand, the YOGO diagram 200 can be prepared in advance by the computer 50 provided separately from the automatic manufacturing machine control device 100 and the YOGO diagram 200 can be read by the YOGO diagram reading unit 103 .

YOGO圖解析部104,藉由解析從YOGO圖讀取部103接收之YOGO圖200,從而生成中間資料,而後將中間資料輸出至控制程式生成部105。關於從YOGO圖生成中間資料之處理,於後詳細說明。The YOGO diagram analysis unit 104 generates intermediate data by analyzing the YOGO diagram 200 received from the YOGO diagram reading unit 103, and then outputs the intermediate data to the control program generation unit 105. The processing of generating intermediate data from YOGO graphs will be explained in detail later.

當控制程式生成部105接收中間資料,則藉由參照基本動作儲存部102,從中間資料生成控制程式。從中間資料生成控制程式之方法於後詳細說明。接著,將獲得之控制程式,輸出至控制執行部106。When the control program generation unit 105 receives the intermediate data, it generates a control program from the intermediate data by referring to the basic action storage unit 102 . The method of generating the control program from the intermediate data is explained in detail later. Then, the obtained control program is output to the control execution unit 106 .

當控制執行部106從控制程式生成部105接收控制程式,則從基本動作儲存部102取得與控制程式中的程式元件編號相對應儲存之程式元件。此外,藉由參照基本動作儲存部102,檢索與控制程式中的數值表編號相對應儲存之數值表206b,並取得該數值表206b中所設定之數值作為程式元件之參數。藉由執行如此讀取並設定參數之程式元件,從而控制致動器10~20。其結果為,搭載於自動製造機械1之致動器10~20,如YOGO圖200所記載地進行動作。When the control execution unit 106 receives the control program from the control program generation unit 105, it obtains the program element stored corresponding to the program element number in the control program from the basic action storage unit 102. In addition, by referring to the basic action storage part 102, the value table 206b stored corresponding to the value table number in the control program is retrieved, and the values set in the value table 206b are obtained as parameters of the program element. By executing the program element that reads and sets the parameters in this way, the actuators 10 to 20 are controlled. As a result, the actuators 10 to 20 mounted on the automatic manufacturing machine 1 operate as described in the YOGO diagram 200 .

再者,本實施例之YOGO圖讀取部103,與本發明之「動作圖讀取部」對應。此外,使用圖9前述之YOGO圖讀取部103、YOGO圖解析部104、及控制程式生成部105,使此等為一整體,以實現從YOGO圖200生成控制程式的功能。因此,在本實施例之自動製造機械控制裝置100中,YOGO圖讀取部103、YOGO圖解析部104、及控制程式生成部105,與本發明之「控制程式生成裝置110」對應。Furthermore, the YOGO diagram reading unit 103 of this embodiment corresponds to the "action diagram reading unit" of the present invention. In addition, the YOGO diagram reading unit 103, the YOGO diagram analysis unit 104, and the control program generation unit 105 described above in FIG. 9 are used to integrate them to realize the function of generating a control program from the YOGO diagram 200. Therefore, in the automatic manufacturing machine control device 100 of this embodiment, the YOGO diagram reading unit 103, the YOGO diagram analysis unit 104, and the control program generation unit 105 correspond to the "control program generation device 110" of the present invention.

D.控制程式生成處理: 圖17,係表示於本實施例之自動製造機械控制裝置100中,執行與控制程式生成裝置110對應之部分之控制程式生成處理之概要之流程圖。如圖所示,在控制程式生成處理中,首先讀取YOGO圖200(STEP1)。本實施例中,由於自動製造機械控制裝置100製作YOGO圖200,因此讀取由其自身製作之YOGO圖200之資料。當然地,亦可讀取由其他之電腦50製作之YOGO圖200之資料。 D. Control program generation processing: FIG. 17 is a flowchart illustrating an outline of the control program generation process for executing the portion corresponding to the control program generation device 110 in the automatic manufacturing machine control device 100 of this embodiment. As shown in the figure, in the control program generation process, YOGO diagram 200 is first read (STEP1). In this embodiment, since the automatic manufacturing machine control device 100 creates the YOGO chart 200, it reads the data of the YOGO chart 200 created by itself. Of course, the data of the YOGO chart 200 created by other computers 50 can also be read.

接著,解析所讀取之YOGO圖200,並輸出中間資料(STEP2)。圖18係本實施例之自動製造機械控制裝置100解析YOGO圖200並輸出中間資料之處理(YOGO圖解析處理)之流程圖。此處理係由圖15中所示之YOGO圖解析部104執行之處理。Next, the read YOGO graph 200 is analyzed and intermediate data is output (STEP 2). FIG. 18 is a flowchart of the process of analyzing the YOGO diagram 200 and outputting intermediate data (YOGO diagram analysis processing) by the automatic manufacturing machine control device 100 of this embodiment. This processing is performed by the YOGO diagram analysis unit 104 shown in FIG. 15 .

如圖18所示,當開始YOGO圖解析處理,首先將部分期間編號N及致動器編號M初始化為「1」(STEP10)。接著,判斷在YOGO圖200上之座標(N,M)之位置是否標記有基本動作(STEP11)。於此,在YOGO圖200上之座標(N,M),係表示在YOGO圖200上,以部分期間編號N與致動器編號M之組合所特定之方格狀之座標位置。在STEP10初始化部分期間編號N及致動器編號M後,由於N及M皆為「1」,因此判斷在YOGO圖200上之座標(1,1)之位置是否標記有基本動作。As shown in Fig. 18, when the YOGO diagram analysis process is started, the partial period number N and the actuator number M are first initialized to "1" (STEP 10). Next, it is determined whether the position of coordinates (N, M) on the YOGO diagram 200 is marked with a basic movement (STEP 11). Here, the coordinates (N, M) on the YOGO diagram 200 represent grid-shaped coordinate positions specified by the combination of the partial period number N and the actuator number M on the YOGO diagram 200 . During the initialization part of STEP 10, after the number N and the actuator number M, since N and M are both "1", it is determined whether the position of coordinates (1, 1) on the YOGO diagram 200 is marked with a basic action.

在圖5所例示之YOGO圖200之情形,由於座標(1,1)未標記基本動作,因此STEP11判斷為「no」,並判斷致動器編號M是否達到最終值(STEP14)。由於本實施例之自動製造機械1搭載有11個致動器10~20,因此致動器編號M之最終值為11。因此,由於在確認座標(1,1)有無基本動作後之STEP14之判斷中判斷為「no」,因此將致動器編號M增加1(STEP15)。接著,使用增加之致動器編號M,再次判斷在座標位置(N,M)是否標記有基本動作(STEP11)。In the case of the YOGO diagram 200 illustrated in FIG. 5 , since the coordinates (1,1) do not mark the basic action, STEP 11 determines "no" and determines whether the actuator number M has reached the final value (STEP 14 ). Since the automatic manufacturing machine 1 of this embodiment is equipped with 11 actuators 10 to 20, the final value of the actuator number M is 11. Therefore, since the judgment in STEP 14 after confirming whether there is a basic movement at coordinates (1,1) is "no", the actuator number M is increased by 1 (STEP 15). Then, use the increased actuator number M to determine again whether there is a basic action marked at the coordinate position (N, M) (STEP 11).

如此,在維持部分期間編號N為「1」,並逐個增加致動器編號M之同時,判斷座標(1,M)是否標記有基本動作,最後,在變為標記有基本動作之座標(1,M)時,STEP11判斷為「yes」。In this way, while maintaining the partial period number N as "1" and increasing the actuator number M one by one, it is judged whether the coordinate (1, M) is marked with a basic action. Finally, it becomes the coordinate (1, M) marked with a basic action. ,M), STEP11 determines as "yes".

接著,在STEP11判斷為「yes」之情形,讀取標記於該座標之基本動作之動作描述206a,進一步地,在亦標記有基本動作之數值表206b之情形下讀取數值表206b(STEP12)。圖5所例示之YOGO圖200中,當到達座標(1,4),則STEP11判斷為「yes」,並讀取動作描述206a「Ω-AC」、及數值表206b「AC-B11」作為基本動作。Next, if the judgment of STEP11 is "yes", the action description 206a of the basic action marked at the coordinate is read. Furthermore, if the value table 206b of the basic action is also marked, the value table 206b is read (STEP12) . In the YOGO diagram 200 illustrated in Figure 5, when the coordinates (1, 4) are reached, STEP11 is judged as "yes", and the action description 206a "Ω-AC" and the value table 206b "AC-B11" are read as the basic action.

接著,將中間資料(N,M,動作描述,數值表)儲存於記憶體(STEP1)。在圖5所例示之YOGO圖200之座標(1,4)之情形,將中間資料(1,4,Ω-AC,AC-B11)儲存於記憶體中。因此,此中間資料,係表示在YOGO圖200上部分期間編號為1號、致動器編號M為4號之位置,標記有藉由動作描述206a「Ω-AC」及數值表206b「AC-B11」所規定之基本動作。Next, store the intermediate data (N, M, action description, numerical table) in the memory (STEP1). In the case of the coordinates (1,4) of the YOGO diagram 200 illustrated in FIG. 5 , the intermediate data (1,4,Ω-AC,AC-B11) is stored in the memory. Therefore, this intermediate data represents the position where the partial period number is No. 1 and the actuator number M is No. 4 on the YOGO diagram 200. It is marked with the action description 206a "Ω-AC" and the numerical table 206b "AC- Basic actions specified in B11".

如此,在將從YOGO圖200擷取之中間資料儲存於記憶體後(STEP13),判斷致動器編號M是否達到最終值(於此為11)(STEP14)。其結果為,在未達最終值之情形下(STEP14:no),將致動器編號M增加1後(STEP15),返回STEP11,並再次判斷在YOGO圖200上之座標(N,M)是否標記有基本動作。In this way, after the intermediate data retrieved from the YOGO diagram 200 is stored in the memory (STEP 13), it is determined whether the actuator number M reaches the final value (11 in this case) (STEP 14). As a result, if the final value is not reached (STEP14: no), increase the actuator number M by 1 (STEP15), return to STEP11, and judge again whether the coordinates (N, M) on the YOGO diagram 200 are Basic actions are marked.

相對於此,在致動器編號M達到最終值之情況下(STEP14:yes),接著則判斷部分期間編號N是否達到最終值(STEP16)。例如,在YOGO圖200上,自動製造機械1之動作使用100個部分期間描述,則部分期間編號N之最終值為100。On the other hand, when the actuator number M reaches the final value (STEP14: yes), it is next determined whether the partial period number N reaches the final value (STEP16). For example, on the YOGO diagram 200, if the operation of the automatic manufacturing machine 1 is described using 100 partial periods, then the final value of the partial period number N is 100.

其結果為,部分期間編號N未達最終值之情形下(STEP16:no),在將部分期間編號N增加1(STEP17)之同時,將致動器編號M初始化為「1」後(STEP18),返回STEP11,並再次判斷在YOGO圖200上座標(N,M)是否標記有基本動作。亦即,在YOGO圖200上(參照圖5),對部分期間編號N為1號之部分期間從上開始依序進行確認,直到確認至最下方,接著對部分期間編號N為2號之部分期間從上開始依序進行確認,當2號之部分期間確認結束,則接著為部分期間編號N為3號之部分期間,如此地依序從部分期間編號N為小的部分期間向大的部分期間,讀取標記於YOGO圖200之基本動作,並將中間資料儲存於記憶體。As a result, when the partial period number N does not reach the final value (STEP16: no), increase the partial period number N by 1 (STEP17) and initialize the actuator number M to "1" (STEP18) , return to STEP11, and judge again whether the coordinates (N, M) on the YOGO diagram 200 are marked with basic actions. That is, on the YOGO chart 200 (refer to FIG. 5 ), the partial period whose partial period number N is No. 1 is sequentially confirmed from the top until it is confirmed to the bottom, and then the part whose partial period number N is No. 2 is confirmed. The periods are confirmed sequentially from the top. When the confirmation of the partial period of No. 2 is completed, the partial period number N is the partial period of No. 3. In this way, the partial period number N is the smaller partial period to the larger part. During this period, the basic actions marked in the YOGO diagram 200 are read, and the intermediate data is stored in the memory.

接著,重複此種操作,最終當判斷部分期間編號N達到最終值(STEP16:yes),則標記於YOGO圖200之全部的基本動作被讀取。接著,讀取事先儲存於記憶體之中間資料,並輸出至控制程式生成部105(STEP19)。圖19係例示圖5所示之解析YOGO圖200而獲得之中間資料。當輸出此種中間資料,則圖18之YOGO圖解析處理結束,並返回圖17之控制程式生成處理。Then, this operation is repeated. Finally, when the judgment part period number N reaches the final value (STEP16: yes), all the basic actions marked in the YOGO diagram 200 are read. Next, the intermediate data stored in the memory in advance is read and output to the control program generation unit 105 (STEP 19). FIG. 19 illustrates the intermediate data obtained by analyzing the YOGO graph 200 shown in FIG. 5 . When such intermediate data is output, the YOGO diagram analysis process of Figure 18 ends, and returns to the control program generation process of Figure 17.

在圖17之控制程式生成處理中,基於如此所獲得之中間資料,生成控制程式(STEP3)。圖20,表示從圖19所例示之中間資料生成之控制程式。比較圖19之中間資料、與圖20之控制程式,明顯地,在控制程式中,係將中間資料之動作描述206a及數值表206b置換為數值者。此係由於在將動作描述206a置換為實現該動作描述206a之程式元件編號(參照圖16)之同時,將數值表206b置換為該數值表206b之數值表編號。In the control program generation process of Fig. 17, a control program is generated based on the intermediate data obtained in this way (STEP 3). Fig. 20 shows a control program generated from the intermediate data illustrated in Fig. 19. Comparing the intermediate data in Figure 19 and the control program in Figure 20, it is obvious that in the control program, the action description 206a and the numerical value table 206b of the intermediate data are replaced with numerical values. This is because the action description 206a is replaced with the program element number (see FIG. 16) that realizes the action description 206a, and the numerical table 206b is replaced with the numerical table number of the numerical table 206b.

將中間資料中之動作描述206a及數值表206b各別置換為程式元件編號及數值表編號之操作,係圖9中之控制程式生成部105藉由參照基本動作儲存部102而執行。亦即,基本動作儲存部102中,動作描述206a與程式元件編號相對應並儲存(參照圖16)。進一步地,基本動作儲存部102中,儲存有圖8~圖10所例示之數值表206b,且在各個數值表206b設定有數值表編號。因此,控制程式生成部105,藉由參照儲存於基本動作儲存部102之圖16之對應關係、及圖8~圖10所例示之數值表206b,從而將中間資料中之動作描述206a及數值表206b,置換為程式元件編號及數值表編號。The operation of replacing the action description 206a and the numerical table 206b in the intermediate data with the program element number and the numerical table number respectively is performed by the control program generation unit 105 in FIG. 9 by referring to the basic action storage unit 102. That is, in the basic action storage unit 102, the action description 206a is stored in association with the program element number (see FIG. 16). Furthermore, the basic action storage unit 102 stores the numerical table 206b illustrated in FIGS. 8 to 10 , and a numerical table number is set in each numerical table 206b. Therefore, the control program generation unit 105 refers to the correspondence relationship in FIG. 16 stored in the basic action storage unit 102 and the numerical value table 206b illustrated in FIGS. 8 to 10, thereby generating the action description 206a and the numerical value table in the intermediate data. 206b, replaced by the program component number and the numerical table number.

如以上,當從中間資料生成控制程式(圖17之STEP3),則將生成之控制程式輸出至控制執行部106(STEP4),圖17之控制程式生成處理結束。As described above, when the control program is generated from the intermediate data (STEP 3 in FIG. 17 ), the generated control program is output to the control execution unit 106 (STEP 4 ), and the control program generation process in FIG. 17 is completed.

再者,如圖20所示,本實施例之控制程式,為匯集以部分期間編號N、致動器編號M、程式元件編號、數值表編號之順序排列之一組資料(以下,稱為「資料組」)。因此,在資料組中,將表示部分期間編號N之第一個資料稱為「第一要素」,將表示致動器編號M之第二個資料稱為「第二要素」,將表示程式元件編號之第三個資料稱為「第三要素」,將表示數值表編號之第四個資料稱為「第四要素」。此外,本實施例之控制程式僅為連續複數個資料組之資料。然而,自動製造機械控制裝置100之控制執行部106,基於如此之控制程式,如以下地控制自動製造機械控制裝置100之致動器10~20之動作。Furthermore, as shown in FIG. 20 , the control program of this embodiment is a set of data (hereinafter referred to as " data group"). Therefore, in the data group, the first data representing the partial period number N is called the "first element", the second data representing the actuator number M is called the "second element", and the program element is represented The third data of the number is called the "third element", and the fourth data representing the numerical table number is called the "fourth element". In addition, the control program of this embodiment is only the data of a plurality of consecutive data groups. However, the control execution unit 106 of the automatic manufacturing machine control device 100 controls the operations of the actuators 10 to 20 of the automatic manufacturing machine control device 100 as follows based on such a control program.

E.動作控制處理: 圖21,係自動製造機械控制裝置100之控制執行部106依照控制程式控制自動製造機械1之動作之動作控制處理之流程圖。如圖21所示,當動作控制處理開始,則首先將部分期間編號N初始化為「1」(STEP50)。接著,從控制程式中取得第一要素為N之資料組(STEP51)。由於在動作處理開始後,部分期間編號N被設定為「1」,因此從圖20所例示之控制程式讀取資料組(1,4,4,19)。 E. Action control processing: FIG. 21 is a flowchart of an operation control process in which the control execution unit 106 of the automatic manufacturing machine control device 100 controls the operation of the automatic manufacturing machine 1 according to the control program. As shown in FIG. 21, when the action control process starts, the partial period number N is first initialized to "1" (STEP 50). Next, obtain the data group whose first element is N from the control program (STEP51). After the operation process is started, the partial period number N is set to "1", so the data group (1, 4, 4, 19) is read from the control program illustrated in FIG. 20 .

接著,基於讀取之資料組之第二要素的值,來特定成為控制對象之致動器(STEP52)。在STEP51讀取之資料組若為(1,4,4,19),則第二要素的值為「4」,因此致動器編號M為「4」之致動器成為控制對象之致動器。此外,在STEP51讀取複數個資料組之情形,基於各個資料組之第二要素的值,而特定成為控制對象之各個致動器。Next, based on the value of the second element of the read data group, the actuator to be the control target is specified (STEP 52). If the data group read in STEP51 is (1,4,4,19), then the value of the second element is "4", so the actuator whose actuator number M is "4" becomes the control target. device. In addition, when a plurality of data groups are read in STEP 51, each actuator to be the control target is specified based on the value of the second element of each data group.

進一步地,藉由基於讀取之資料組之第三要素的值,檢索儲存於基本動作儲存部102之程式元件編號,來取得用於使致動器進行基本動作之程式元件(STEP53)。在STEP51讀取之資料組若為(1,4,4,19),則第三要素的值為「4」,因此用於使其進行基本動作之程式元件,為程式元件編號為「4」號之程式元件。Furthermore, the program component number for causing the actuator to perform the basic movement is obtained by retrieving the program component number stored in the basic movement storage unit 102 based on the value of the third element of the read data group (STEP 53 ). If the data group read in STEP51 is (1,4,4,19), then the value of the third element is "4", so the program component used to perform basic operations is the program component number "4" Program component number.

最後,於資料組存在第四要素之情形,其值表示在程式元件中指定之參數之數值表編號。因此,藉由檢索儲存於基本動作儲存部102之數值表206b來特定具有數值表編號之數值表206b後,將設定於數值表206b之數值作為參數設定於程式元件(STEP54)。Finally, in the case where a fourth element exists in the data group, its value represents the value table number of the parameter specified in the program element. Therefore, after specifying the numerical table 206b having the numerical table number by retrieving the numerical table 206b stored in the basic action storage unit 102, the numerical value set in the numerical table 206b is set as a parameter in the program element (STEP 54).

藉由進行以上之STEP51~STEP54之操作,使各個致動器進行於YOGO圖上某個部分期間(在動作控制處理開始後,部分期間編號N為「1」號之部分期間)所標記之基本動作的準備已完成。亦即,由於已特定成為控制對象之致動器(STEP52)、已取得用於控制之程式元件(STEP53)、並已對程式元件設定參數(STEP54),因此執行該程式元件(STEP55)。例如,致動器為伺服馬達,且基本動作之內容為使馬達向正方向旋轉180度之內容之情形,則執行在檢測馬達之旋轉角度之同時,以指定之控制週期重複驅動馬達直到旋轉角度達到180度之動作的程式元件。此外,存在複數個程式元件之情形,則此等之程式元件同時執行。By performing the above operations of STEP51~STEP54, each actuator is made to perform the basic operation marked in a certain partial period on the YOGO diagram (after the start of the motion control process, the partial period number N is the partial period "1") Preparation for the action is complete. That is, since the actuator to be controlled has been specified (STEP 52), the program element for control has been acquired (STEP 53), and the parameters of the program element have been set (STEP 54), the program element is executed (STEP 55). For example, if the actuator is a servo motor and the basic action is to rotate the motor 180 degrees in the positive direction, the execution is to detect the rotation angle of the motor and repeatedly drive the motor in a specified control cycle until the rotation angle A program component that achieves 180 degree motion. In addition, if there are multiple program components, these program components will be executed simultaneously.

接著,判斷全部的程式元件之執行是否已結束(STEP56)。亦即,在STEP55執行複數個程式元件之情形下,由於此等之程式元件之執行未必同時結束,因此判斷全部的程式元件之執行是否已結束。當然地,在STEP55僅執行一個程式元件之情形,則判斷該程式元件之執行是否已結束。Next, it is judged whether the execution of all program components has ended (STEP56). That is, when STEP 55 executes multiple program components, since the execution of these program components may not end at the same time, it is determined whether the execution of all program components has ended. Of course, when only one program element is executed in STEP 55, it is determined whether the execution of the program element has ended.

其結果為,在有執行中之程式元件殘留之情形,STEP56判斷為「no」,並再次重複相同的判斷(STEP56)。藉此,直到全部的程式元件之執行結束為止為待機狀態。接著,當全部的程式元件之執行結束(STEP56:yes),則判斷部分期間編號N是否已達到最終值(STEP57)。例如,為了在YOGO圖200上描述自動製造機械1之動作而使用100個部分期間之情形,判斷部分期間編號N是否已達到「100」。As a result, if there are program components being executed remaining, STEP56 determines "no", and the same determination is repeated again (STEP56). Thereby, the system is in a standby state until the execution of all program components is completed. Then, when the execution of all program elements ends (STEP56: yes), it is judged whether the partial period number N has reached the final value (STEP57). For example, in the case where 100 partial periods are used to describe the operation of the automatic manufacturing machine 1 on the YOGO diagram 200, it is determined whether the partial period number N has reached "100".

其結果為,在部分期間編號N未達最終值之情形(STEP57:no),將部分期間編號N增加1(STEP58)。接著,返回到STEP51,從控制程式中讀取第一要素與新的部分期間編號N一致的資料組後,對讀取之資料組進行上述STEP52~STEP55之操作。藉此,從執行在先之基本動作之部分期間前進一個部分期間,並執行新的部分期間所標記之全部的基本動作。接著,當新的部分期間之全部的基本動作結束,而STEP56判斷為「yes」,則判斷其部分期間之部分期間編號N是否達到最終值(STEP57)。其結果為,在部分期間編號N未達最終值之情形(STEP57:no),則使部分期間編號N增加1後(STEP58),返回STEP51,對於新的部分期間編號N,則重複上述STEP51~STEP57之操作。As a result, when the partial period number N does not reach the final value (STEP57: no), the partial period number N is increased by 1 (STEP58). Then, return to STEP51. After reading the data group whose first element is consistent with the new partial period number N from the control program, perform the above-mentioned operations of STEP52~STEP55 on the read data group. Thereby, one partial period is advanced from the partial period in which the previous basic action was executed, and all the basic actions marked in the new partial period are executed. Then, when all the basic operations of the new partial period are completed and STEP56 determines "yes", it is judged whether the partial period number N of the partial period has reached the final value (STEP57). As a result, if the partial period number N does not reach the final value (STEP57: no), increase the partial period number N by 1 (STEP58) and return to STEP51. For the new partial period number N, repeat the above STEP51~ Operation of STEP57.

如此,圖21之動作控制處理中,從YOGO圖200最前面之部分期間(亦即,部分期間編號N為1號之部分期間)向最後的部分期間(部分期間編號N為最終值之部分期間),逐一選擇部分期間,並重複執行於該部分期間所記載之基本動作之動作。接著,當最後的部分期間之基本動作結束,則STEP57判斷為「yes」,並結束動作控制處理。In this way, in the operation control process of FIG. 21 , from the first partial period of the YOGO diagram 200 (that is, the partial period in which the partial period number N is No. 1) to the last partial period (the partial period in which the partial period number N is the final value) ), select part of the period one by one, and repeatedly perform the basic actions recorded in that part of the period. Then, when the basic action of the last part of the period is completed, STEP57 determines "yes" and ends the action control process.

如以上之詳細說明,本實施例之自動製造機械控制裝置100,可藉由在YOGO圖200描述自動製造機械1之動作,而從該YOGO圖200自動生成控制程式,並使自動製造機械控制裝置100動作。此外,由於只要理解自動製造機械1之結構及動作,即使在沒有程式之相關知識之情況下,亦可簡單地製作YOGO圖200,因此不需要程式設計者製作控制程式。因此,可大幅地縮短(至少縮短為一半以下)為了開發新自動製造機械1所需要的時間,另外亦無事先確保有程式設計者之必要。其結果,能夠使在製造現場導入新自動製造機械變得容易,且將可充分地對應業界對省力化之要求。As described in detail above, the automatic manufacturing machine control device 100 of this embodiment can describe the operation of the automatic manufacturing machine 1 in the YOGO diagram 200, automatically generate a control program from the YOGO diagram 200, and make the automatic manufacturing machine control device 100 actions. In addition, as long as the structure and operation of the automatic manufacturing machine 1 are understood, the YOGO diagram 200 can be easily created even if there is no relevant knowledge of the program. Therefore, there is no need for a programmer to create a control program. Therefore, the time required to develop a new automatic manufacturing machine 1 can be significantly shortened (at least to less than half), and there is no need to secure a programmer in advance. As a result, it will be easier to introduce new automatic manufacturing machines at manufacturing sites, and the industry's demands for labor saving will be fully met.

另外,本實施例之YOGO圖200中,將致動器之基本動作分開標記於動作描述206a及數值表206b。由於動作描述206a僅為定性表現基本動作之內容者,因此只是將動作描述206a標記於YOGO圖200,係與直接標記人類所思考之內容之作業實質上相同。因此可大幅地減少在YOGO圖200標記錯誤內容之可能性。接著,若事先於YOGO圖200正確地標記動作描述206a,則在之後修正設定於數值表206b之數值即可,不需變更YOGO圖200本身。其結果為,可以容易地獲得正確地記載致動器之基本動作之YOGO圖200。In addition, in the YOGO diagram 200 of this embodiment, the basic actions of the actuator are marked separately in the action description 206a and the value table 206b. Since the action description 206a only qualitatively expresses the content of the basic action, simply marking the action description 206a in the YOGO diagram 200 is essentially the same as directly marking the content of human thinking. Therefore, the possibility of marking wrong content in the YOGO chart 200 can be greatly reduced. Next, if the action description 206a is correctly marked in the YOGO diagram 200 in advance, then the values set in the value table 206b can be modified later without changing the YOGO diagram 200 itself. As a result, the YOGO diagram 200 that accurately describes the basic operation of the actuator can be easily obtained.

以上,說明本實施例之自動製造機械控制裝置100,惟本發明不限於上述實施例,可在不脫離該要旨之範圍內以各種態樣實施。The automatic manufacturing machine control device 100 of this embodiment has been described above. However, the present invention is not limited to the above-described embodiment, and can be implemented in various forms without departing from the gist.

例如,上述實施例之自動製造機械控制裝置100,除了製作YOGO圖200,並從YOGO圖200生成控制程式之功能(對應於圖15之YOGO圖製作部101、基本動作儲存部102、YOGO圖讀取部103、YOGO圖解析部104、及控制程式生成部105)以外,亦具備基於控制程式執行控制之功能(對應於圖15之控制執行部106)。然而,亦可藉由組合搭載有此等之複數個功能之一部分的複數個裝置,來形成作為整體之自動製造機械控制裝置100。For example, the automatic manufacturing machine control device 100 of the above embodiment has the function of creating a YOGO diagram 200 and generating a control program from the YOGO diagram 200 (corresponding to the YOGO diagram creation part 101, the basic action storage part 102, and the YOGO diagram reading part of FIG. 15 In addition to the acquisition unit 103, the YOGO diagram analysis unit 104, and the control program generation unit 105), it also has a function of executing control based on the control program (corresponding to the control execution unit 106 in Fig. 15). However, the automatic manufacturing machine control device 100 as a whole can also be formed by combining a plurality of devices equipped with some of these functions.

例如,如圖22所例示,亦可將自動製造機械控制裝置100分割為YOGO圖處理裝置100a、及控制執行裝置100b。接著,在自動製造機械控制裝置100搭載從YOGO圖200之製作到控制程式之生成之一連串的功能(亦即,YOGO圖製作部101、基本動作儲存部102、YOGO圖讀取部103、YOGO圖解析部104、控制程式生成部105)。此外,亦可在控制執行裝置100b,搭載依照控制程式執行程式元件之功能(亦即,控制執行部106、程式元件儲存部107)。For example, as illustrated in FIG. 22 , the automatic manufacturing machine control device 100 may be divided into a YOGO image processing device 100 a and a control execution device 100 b. Next, the automatic manufacturing machine control device 100 is equipped with a series of functions from the creation of the YOGO diagram 200 to the generation of the control program (that is, the YOGO diagram creation part 101, the basic operation storage part 102, the YOGO diagram reading part 103, the YOGO diagram Analysis unit 104, control program generation unit 105). In addition, the control execution device 100b may be equipped with a function of executing program components according to the control program (that is, the control execution unit 106 and the program component storage unit 107).

如此,則可藉由以設置於辦公室之YOGO圖處理裝置100a進行製作YOGO圖200、及生成控制程式之作業,並在設置於自動製造機械1附近之控制執行裝置100b,讀取所生成之控制程式,從而使自動製造機械1動作。再者,如圖22所示之例中,YOGO圖處理裝置100a與本發明之「控制程式生成裝置」對應。In this way, the YOGO diagram processing device 100a installed in the office can be used to create the YOGO diagram 200 and generate the control program, and the generated control can be read in the control execution device 100b installed near the automatic manufacturing machine 1 program, thereby making the automatic manufacturing machinery move. Furthermore, in the example shown in FIG. 22, the YOGO image processing device 100a corresponds to the "control program generating device" of the present invention.

此外,圖8~圖10所示之數值表206b中,亦可根據需要設定各種項目。例如,除了圖8~圖10所例示之項目以外,亦可設定項目「動作待機時間」。於此「動作待機時間」設定如下之時間。首先,藉由如前述地將數值表206b與動作描述206a組合來規定基本動作,並將該基本動作標記於YOGO圖200,從而規定進行動作之致動器及進行動作之時機。亦即,在YOGO圖200上之座標位置(N,M)所標記之基本動作,表示使致動器編號為N之致動器,在部分期間編號為M號時進行基本動作之情形。然而,於數值表206b中包含項目「動作待機時間」之情形下,即使在部分期間編號變為M時,致動器也不會立即開始動作,而是經過動作待機時間所設定之時間後動作。In addition, various items can also be set as needed in the numerical value table 206b shown in FIGS. 8 to 10 . For example, in addition to the items illustrated in Figures 8 to 10, the item "action waiting time" can also be set. Set the following time for this "action waiting time". First, a basic action is defined by combining the numerical value table 206b and the action description 206a as described above, and the basic action is marked on the YOGO diagram 200, thereby specifying the actuator that performs the action and the timing of the action. That is, the basic operation marked at the coordinate position (N, M) on the YOGO diagram 200 indicates that the actuator numbered N performs the basic operation during the partial period numbered M. However, in the case where the value table 206b includes the item "action waiting time", even when the partial period number becomes M, the actuator will not start operating immediately, but will act after the time set by the action waiting time has elapsed. .

圖23例示在與動作描述206a「Ω-AA」組合使用之數值表206b中,設定有項目「動作待機時間」之情形。圖23(a)所例示之數值表206b中,「動作待機時間」設定為5秒。於此,與動作描述206a組合之動作描述206a「Ω-AA」係表示夾頭之開閉動作。因此,可藉由將動作描述206a「Ω-AA」與圖23(a)之數值表206b組合,從而描述經過5秒後使夾頭開始閉合之動作。當然地,只要如圖23(b)所例示之數值表206b,事先設定「動作待機時間」為0秒,亦可描述立即使夾頭開始閉合之動作。FIG. 23 illustrates a case where the item "action waiting time" is set in the numerical value table 206b used in combination with the action description 206a "Ω-AA". In the numerical table 206b illustrated in FIG. 23(a), the "operation waiting time" is set to 5 seconds. Here, the operation description 206a "Ω-AA" combined with the operation description 206a represents the opening and closing operation of the chuck. Therefore, by combining the action description 206a "Ω-AA" with the value table 206b of Figure 23(a), the action of causing the chuck to start closing after 5 seconds can be described. Of course, as long as the "action waiting time" is set to 0 seconds in the numerical table 206b as shown in FIG. 23(b) in advance, the action of immediately starting to close the chuck can also be described.

1:自動製造機械 2:軌道 3:搬運單元 3a:持握軸 3b:夾頭 4:加工單元 11~20:致動器 10d~20d:驅動電路 50:電腦 100:自動製造機械控制裝置 100a:YOGO圖處理裝置 100b:控制執行裝置 100m:顯示器畫面 100s:操作輸入按鍵 102:基本動作儲存部 105:控制程式生成部 106:控制執行部 107:程式元件儲存部 110:控制程式生成裝置 200:YOGO圖 201:分隔線 202:觸發線 203:動作線 204:起點 205:終點 206a:動作描述 206b:數值表 1: Automatic manufacturing machinery 2: Orbit 3:Handling unit 3a:Hold shaft 3b:Chuck 4: Processing unit 11~20: Actuator 10d~20d: drive circuit 50:Computer 100: Automatic manufacturing machinery control device 100a:YOGO image processing device 100b: Control execution device 100m:Monitor screen 100s: Operation input button 102:Basic action storage department 105: Control program generation department 106:Control Execution Department 107: Program component storage department 110: Control program generation device 200:YOGO chart 201:Divider line 202:Trigger line 203: Action line 204: starting point 205:End point 206a: Action description 206b: Numerical table

〔圖1〕表示藉由本實施例之自動製造機械裝置100控制之自動製造機械1之外觀形狀之說明圖。 〔圖2〕概念性地表示自動製造機械控制裝置100控制搭載於自動製造機械1之各種致動器10~20之動作之情形之方塊圖。 〔圖3〕概念性表示用於開發新自動製造機械1之大略步驟之說明圖。 〔圖4〕關於本實施例之自動製造機械控制裝置100使自動製造機械1從動作圖(YOGO圖)自動生成自動製造機械1之控制程式之基本原理之說明圖。 〔圖5〕例示本實施例之自動製造機械控制裝置100讀取之自動製造機械1之動作圖(YOGO圖)之一部分之說明圖。 〔圖6〕例示具有重複動作或條件分岐動作之動作圖(YOGO圖)之說明圖。 〔圖7〕關於基本動作之動作描述206之說明圖。 〔圖8〕例示與動作描述206a「Ω-AA」相對之數值表206b之說明圖。 〔圖9〕例示與動作描述206a「Ω-AB」相對之數值表206b之說明圖。 〔圖10〕例示與動作描述206a「Ω-AC」相對之數值表206b之說明圖。 〔圖11〕例示與動作描述206a「Ω-AA」相對之數值表206b之參照表之說明圖。 〔圖12〕例示與動作描述206a「Ω-AB」相對之數值表206b之參照表之說明圖。 〔圖13〕例示與動作描述206a「Ω-AC」相對之數值表206b之參照表之說明圖。 〔圖14〕例示可在動作圖(YOGO圖)上與基本動作同樣地操作之動作之說明圖。 〔圖15〕表示本實施例之自動製造機械控制裝置100具備之功能之說明圖 〔圖16〕表示藉由儲存於本實施例之基本動作儲存部102之對應關係,將致動器與動作描述206a與程式元件編號相對應之情形之說明圖。 〔圖17〕本實施例之自動製造機械控制裝置100從動作圖(YOGO圖)生成控制程式之控制程式生成處理之流程圖。 〔圖18〕控制程式生成處理中執行之YOGO圖解析處理之流程圖。 〔圖19〕例示藉由YOGO圖解析處理生成之中間資料之說明圖。 〔圖20〕例示藉由變換中間資料而生成之控制程式之說明圖。 〔圖21〕本實施例之自動製造機械控制裝置100基於控制程式資料控制各致動器的動作之動作控制處理之流程圖。 〔圖22〕關於自動製造機械控制裝置100藉由YOGO圖處理裝置100a及控制執行裝置100b所形成之變形例之說明圖。 〔圖23〕例示可設定動作待機時間之數值表206b之說明圖。 [Fig. 1] is an explanatory diagram showing the appearance of the automatic manufacturing machine 1 controlled by the automatic manufacturing machine device 100 of this embodiment. [Fig. 2] A block diagram conceptually showing how the automatic manufacturing machine control device 100 controls the operations of the various actuators 10 to 20 mounted on the automatic manufacturing machine 1. [Fig. 3] An explanatory diagram conceptually showing the general steps for developing a new automatic manufacturing machine 1. [Fig. 4] An explanatory diagram of the basic principle of the automatic manufacturing machine control device 100 in this embodiment to automatically generate the control program of the automatic manufacturing machine 1 from an operation diagram (YOGO diagram). [Fig. 5] An explanatory diagram illustrating a part of the operation diagram (YOGO diagram) of the automatic manufacturing machine 1 read by the automatic manufacturing machine control device 100 of this embodiment. [Figure 6] An explanatory diagram illustrating an action diagram (YOGO diagram) with repeated actions or conditional branching actions. [Fig. 7] An explanatory diagram of the action description 206 of the basic action. [Fig. 8] An explanatory diagram illustrating an example of the numerical value table 206b corresponding to the operation description 206a "Ω-AA". [Fig. 9] An explanatory diagram illustrating an example of the numerical value table 206b corresponding to the operation description 206a "Ω-AB". [Fig. 10] An explanatory diagram illustrating the numerical value table 206b corresponding to the operation description 206a "Ω-AC". [Fig. 11] An explanatory diagram illustrating a reference table of the numerical value table 206b corresponding to the operation description 206a "Ω-AA". [Fig. 12] An explanatory diagram illustrating a reference table of the numerical value table 206b corresponding to the operation description 206a "Ω-AB". [Fig. 13] An explanatory diagram illustrating a reference table of the numerical value table 206b relative to the operation description 206a "Ω-AC". [Fig. 14] An explanatory diagram illustrating actions that can be operated in the same way as basic actions on an action diagram (YOGO diagram). [Fig. 15] An explanatory diagram showing the functions of the automatic manufacturing machine control device 100 of this embodiment. [FIG. 16] is an explanatory diagram showing how the actuator and action description 206a are associated with program element numbers through the correspondence relationship stored in the basic action storage unit 102 of this embodiment. [Fig. 17] A flowchart of the control program generation process of the automatic manufacturing machine control device 100 of this embodiment to generate a control program from an action diagram (YOGO diagram). [Figure 18] Flowchart of the YOGO diagram analysis process executed in the control program generation process. [Fig. 19] An explanatory diagram illustrating intermediate data generated by YOGO graph analysis processing. [Fig. 20] An explanatory diagram illustrating an example of a control program generated by converting intermediate data. [Fig. 21] A flowchart of an action control process in which the automatic manufacturing machine control device 100 of this embodiment controls the action of each actuator based on the control program data. [Fig. 22] An explanatory diagram of a modification of the automatic manufacturing machine control device 100 using the YOGO image processing device 100a and the control execution device 100b. [Fig. 23] An explanatory diagram illustrating a numerical value table 206b in which the action waiting time can be set.

200:YOGO圖 200:YOGO chart

201:分隔線 201:Divider line

202:觸發線 202:Trigger line

203:動作線 203: Action line

204:起點 204: starting point

205:終點 205:End point

206a:動作描述 206a: Action description

206b:數值表 206b: Numerical table

Claims (6)

一種控制程式生成裝置(100a、110),其係生成具備複數個致動器(10~20)之自動製造機械(1)之控制程式者,其特徵係具備: 基本動作儲存部(102),將表示該致動器每個自由度的動作之基本動作(206a、206b),與實現該基本動作之程式元件相對應並儲存; 動作圖讀取部(103),讀取動作圖(200);該動作圖(200),係藉由將該自動製造機械從動作開始至結束之動作期間分割為複數個部分期間,並在將該自動製造機械之動作分解為複數個該基本動作之同時,將該基本動作分配於任一該複數個部分期間,從而描述該自動製造機械之動作;及 控制程式生成部(105),藉由將分配於該動作圖上複數個該部分期間之複數個該基本動作之該程式元件,依照該動作圖上之該部分期間之順序結合,從而生成使該自動製造機械動作之該控制程式; 該基本動作儲存部,係將該基本動作之內容分為定性描述之動作描述(206a)、及藉由數值描述該基本動作之定量事項之數值描述後,儲存與該基本動作之動作描述對應之該程式元件、及與該數值描述對應之數值表(206b); 該動作圖讀取部,讀取使用該動作描述及該數值表記載該基本動作之該動作圖; 該控制程式生成部,在結合複數個該程式元件時,依照與該程式元件之該動作描述同時記載之該數值表,設定該程式元件之數值。 A control program generating device (100a, 110) that generates a control program for an automatic manufacturing machine (1) equipped with a plurality of actuators (10~20), and is characterized by: The basic action storage unit (102) corresponds and stores the basic actions (206a, 206b) representing the actions of each degree of freedom of the actuator with the program elements that implement the basic actions; The operation diagram reading unit (103) reads the operation diagram (200); the operation diagram (200) is obtained by dividing the operation period from the beginning to the end of the automatic manufacturing machine into a plurality of partial periods, and dividing the operation diagram (200) into a plurality of partial periods. While decomposing the action of the automatic manufacturing machine into a plurality of the basic actions, allocating the basic action to any of the plurality of partial periods, thereby describing the action of the automatic manufacturing machine; and The control program generation unit (105) combines the program elements of the plurality of basic actions allocated to the plurality of partial periods on the action diagram in accordance with the order of the partial periods on the action diagram, thereby generating the The control program for automatic manufacturing of mechanical movements; The basic action storage unit divides the content of the basic action into an action description (206a) that describes the qualitative description, and a numerical description that describes the quantitative matters of the basic action through numerical values, and then stores the action description corresponding to the basic action. The program component, and the value table corresponding to the value description (206b); The action diagram reading unit reads the action diagram that records the basic action using the action description and the numerical value table; The control program generation unit, when combining a plurality of the program components, sets the value of the program component according to the value table recorded simultaneously with the action description of the program component. 如請求項1所述之控制程式生成裝置,其中, 儲存於該基本動作儲存部之該數值表中,設定有包含該基本動作之動作量或動作速度或動作荷重中至少一個之複數個數值。 The control program generation device as described in claim 1, wherein, The value table stored in the basic movement storage unit is set with a plurality of values including at least one of the movement amount, movement speed, or movement load of the basic movement. 如請求項1或2所述之控制程式生成裝置,其中, 該基本動作儲存部,係儲存在該數值表中未設定數值之情形下所參照之參照表。 The control program generation device as described in claim 1 or 2, wherein, The basic action storage unit stores a reference table that is referenced when no numerical value is set in the numerical value table. 如請求項1至3中任一項所述之控制程式生成裝置,其中, 儲存於該基本動作儲存部之該數值表中,設定有等待該基本動作之動作開始之動作待機時間。 The control program generation device according to any one of claims 1 to 3, wherein, The action waiting time for waiting for the start of the basic action is set in the value table stored in the basic action storage unit. 一種控制程式生成方法,其係使電腦生成具備複數個致動器(10~20)之自動製造機械(1)之控制程式者,其特徵係具備: 動作圖讀取步驟(STEP1),讀取動作圖(200);該動作圖(200),係藉由將該自動製造機械從動作開始至結束之動作期間分割為複數個部分期間,並在將該自動製造機械之動作分解為表示該致動器每個自由度的動作之複數個基本動作之同時,將該基本動作分配於任一該複數個部分期間,從而描述該自動製造機械之動作,並且,該動作圖(200)使用定性描述動作之動作描述(206a)及將該基本動作之定量事項藉由數值描述之數值表(206b)記載該基本動作; 動作圖解析步驟(STEP2),藉由解析該動作圖,擷取包含於該動作圖之複數個該基本動作、及分配有複數個該基本動作之該部分期間;及 控制程式生成步驟(STEP3),藉由參照將該基本動作之該動作描述與用於實現該動作描述之程式元件相對應並儲存之對應關係,將該動作描述變換為該程式元件之同時,依照與該動作描述同時記載之該數值表設定該程式元件之數值,而後藉由依照該部分期間之順序結合該程式元件,從而生成使該自動製造機械動作之該控制程式。 A method for generating a control program, which enables a computer to generate a control program for an automatic manufacturing machine (1) equipped with a plurality of actuators (10~20), and is characterized by: The operation diagram reading step (STEP1) reads the operation diagram (200); the operation diagram (200) is divided into a plurality of partial periods from the beginning to the end of the operation of the automatic manufacturing machine, and The action of the automatic manufacturing machine is decomposed into a plurality of basic actions representing the action of each degree of freedom of the actuator, and the basic action is allocated to any of the plurality of partial periods, thereby describing the action of the automatic manufacturing machine, Furthermore, the action diagram (200) records the basic action using an action description (206a) that qualitatively describes the action and a numerical table (206b) that describes the quantitative matters of the basic action through numerical values; Action graph analysis step (STEP 2): by analyzing the action graph, extract a plurality of the basic actions included in the action graph and the partial period allocated to a plurality of the basic actions; and In the control program generation step (STEP 3), by referring to the corresponding relationship between the action description of the basic action and the program element used to realize the action description, and converting the action description into the program element, according to The numerical value table recorded simultaneously with the action description sets the value of the program element, and then the control program for causing the automatic manufacturing machine to operate is generated by combining the program elements according to the sequence of the partial period. 一種程式,其係使用電腦實現生成具備複數個致動器(10~20)之自動製造機械(1)之控制程式之方法者,其特徵係使用電腦實現: 動作圖讀取功能(STEP1),讀取動作圖(200);該動作圖(200),藉由將該自動製造機械從動作開始至結束之動作期間分割為複數個部分期間,並在將該自動製造機械之動作分解為表示該致動器每個自由度的動作之複數個基本動作之同時,將該基本動作分配於任一該複數個部分期間,從而描述該自動製造機械之動作,並且,該動作圖(200)使用定性描述動作之動作描述(206a)及將該基本動作之定量事項藉由數值描述之數值表(206b)記載該基本動作; 動作圖解析功能(STEP2),藉由解析該動作圖,擷取包含於該動作圖之複數個該基本動作、及分配有複數個該基本動作之該部分期間;及 控制程式生成功能(STEP3),藉由參照將該基本動作之該動作描述與用於實現該動作描述之程式元件相對應並儲存之對應關係,將該動作描述變換為該程式元件之同時,依照與該動作描述同時記載之該數值表設定該程式元件之數值,而後藉由依照該部分期間之順序結合該程式元件,從而生成使該自動製造機械動作之該控制程式。 A program that uses a computer to realize a method of generating a control program for an automatic manufacturing machine (1) equipped with a plurality of actuators (10~20). Its characteristics are realized using a computer: The action diagram reading function (STEP1) reads the action diagram (200); the action diagram (200) is divided into a plurality of partial periods from the start to the end of the operation of the automatic manufacturing machine, and the Decompose the action of the automatic manufacturing machine into a plurality of basic actions representing the action of each degree of freedom of the actuator, and allocate the basic action to any of the plurality of partial periods, thereby describing the action of the automatic manufacturing machine, and , the action diagram (200) uses an action description (206a) that qualitatively describes the action and a numerical table (206b) that describes the quantitative matters of the basic action through numerical values to record the basic action; Action graph analysis function (STEP 2), by analyzing the action graph, extracts the plurality of basic actions included in the action graph and the partial period allocated to the plurality of basic actions; and The control program generation function (STEP 3) refers to the corresponding relationship between the action description of the basic action and the program element used to realize the action description and stores it, while converting the action description into the program element, according to The numerical value table recorded simultaneously with the action description sets the value of the program element, and then the control program for causing the automatic manufacturing machine to operate is generated by combining the program elements according to the sequence of the partial period.
TW112138804A 2020-01-28 2021-01-14 Control program generation device, control program generation method, and program TW202403480A (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP2020011386A JP6787616B1 (en) 2020-01-28 2020-01-28 Control program generator, control program generation method, program
JP2020-011386 2020-01-28
JP2020075017A JP6829505B1 (en) 2020-04-20 2020-04-20 Control program generator, control program generation method, program
JP2020-075017 2020-04-20
JP2020-080857 2020-04-30
JP2020080857 2020-04-30

Publications (1)

Publication Number Publication Date
TW202403480A true TW202403480A (en) 2024-01-16

Family

ID=80783749

Family Applications (2)

Application Number Title Priority Date Filing Date
TW110101500A TW202147048A (en) 2020-01-28 2021-01-14 Control program generation device, control program generation method, and program
TW112138804A TW202403480A (en) 2020-01-28 2021-01-14 Control program generation device, control program generation method, and program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
TW110101500A TW202147048A (en) 2020-01-28 2021-01-14 Control program generation device, control program generation method, and program

Country Status (1)

Country Link
TW (2) TW202147048A (en)

Also Published As

Publication number Publication date
TW202147048A (en) 2021-12-16

Similar Documents

Publication Publication Date Title
US6600964B2 (en) Method for controlling technical processes
US20220291653A1 (en) Control program generation apparatus, control program generation method, and program
US20220326688A1 (en) Control program generation apparatus, control program generation method, and program
WO2006043873A1 (en) A system and a method for programming an in¬ dustrial robot
JP2010250832A (en) Method and device for programming industrial controller of automated installation
EP3441831B1 (en) Information processing device, information processing method, and information processing program
TW202403480A (en) Control program generation device, control program generation method, and program
JP7074378B2 (en) Control program generator, control program generation method, program
US20220308558A1 (en) Control program generation apparatus, control program generation method, and program
JP7322604B2 (en) Program development device, project creation method, and program for realizing program development device
US7133738B2 (en) System and method for programming an automation system, based on pulse timing diagrams
CN100375938C (en) Controller for machinery
JP7114034B2 (en) Control program generation device, control program generation method, program
JP2022026361A (en) Control program production system
KR102476171B1 (en) Motion control device, motion control method, program
US20230229140A1 (en) Control program generation apparatus, control program generation method, and program
JPWO2013099032A1 (en) Motion controller and motor control system
JP7183488B1 (en) MACHINING PROGRAM CREATION DEVICE AND MACHINING PROGRAM CREATION METHOD
JP2023547855A (en) Systems and equipment for authoring and developing automation interfaces and processes without writing code
JP3636711B2 (en) Electrical equipment control system
JP2016207169A (en) Motion control system
JP2023104873A (en) Control program generation device, control program generation method, and program
JP2004334258A (en) Robot control unit
JPH0257289A (en) Embroidery machine and device for forming embroidery pattern
JPH02201503A (en) System for preparing control execution program