TW202129443A - 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
TW202129443A
TW202129443A TW109143936A TW109143936A TW202129443A TW 202129443 A TW202129443 A TW 202129443A TW 109143936 A TW109143936 A TW 109143936A TW 109143936 A TW109143936 A TW 109143936A TW 202129443 A TW202129443 A TW 202129443A
Authority
TW
Taiwan
Prior art keywords
action
basic
diagram
control program
automatic manufacturing
Prior art date
Application number
TW109143936A
Other languages
Chinese (zh)
Inventor
與語照明
Original Assignee
日商歐普同股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日商歐普同股份有限公司 filed Critical 日商歐普同股份有限公司
Publication of TW202129443A publication Critical patent/TW202129443A/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4097Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by using design data to control NC machines, e.g. CAD/CAM
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/052Linking several PLC's
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4155Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by programme execution, i.e. part programme or machine function execution, e.g. selection of a programme
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36243Convert source, high level code to machine, object code
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36276Program virtual, logical tools, select tool from tables
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36296Order, select, determine, change machining sequence, order

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Mechanical Engineering (AREA)
  • Geometry (AREA)
  • Programmable Controllers (AREA)
  • Numerical Control (AREA)

Abstract

The basic operations of a plurality of actuators mounted in an automatic manufacturing machine (1), and program elements for realizing the basic operations, are associated and stored. In addition, the operations of the automatic manufacturing machine are described in an operation chart (200) in which the completion of the plurality of basic operations and the start of other basic operations are associated through logic operations. The operation chart in which the operations of the automatic manufacturing machine are described is read, basic operations in the operation chart are converted to program elements, and the program elements are joined according to the operation chart. This makes it possible to automatically generate a control program that controls the operations of the automatic manufacturing machine.

Description

控制程式生成裝置、控制程式生成方法、程式 Control program generating device, control program generating 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.

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

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

此外,加工或製造之對象物之大小、形狀及材質等在每個製造現場不同,進一步,加工內容及加熱程度等亦依據製造現場而不同。因此,在將自動製造機械導入製造現場時,難以挪用在其他製造現場所使用之自動製造機械,一般必須針對每個製造現場新開發專用的自動製造機械。 In addition, the size, shape, and material of the object to be processed or manufactured differs in each manufacturing site. Furthermore, the processing content and heating degree also vary depending on the manufacturing site. Therefore, it is difficult to embezzle the automatic manufacturing machinery used in other manufacturing sites when introducing the automatic manufacturing machinery into the manufacturing site, and it is generally necessary to newly develop a dedicated automatic manufacturing machine for each manufacturing site.

【先前技術文獻】【Prior Technical Literature】

【專利文獻】【Patent Literature】

【專利文獻1】日本特開2011-245602號公報 [Patent Document 1] Japanese Patent Application Publication No. 2011-245602

【專利文獻2】日本特開2018-192570號公報 [Patent Document 2] Japanese Patent Application Publication No. 2018-192570

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

在開發新自動製造機械時,首先機械設計技術者在理解自動製造機械所要求之各種功能後,製作可實現所要求之功能之自動製造機械之圖。接著,具有用於製作程式的技術之技術者(所謂程式設計者),在理解圖所記載之各種致動器及機械零件之動作後,製作藉由各種致動器同時協調並動作來實現所要求之功能之控制程式。 When developing a new automatic manufacturing machine, first of all, after understanding the various functions required by the automatic manufacturing machine, the mechanical design technician makes a drawing of the automatic manufacturing machine that can realize the required functions. Next, a technician (the so-called programmer) who has the technology for making programs, after understanding the actions of various actuators and mechanical parts described in the diagram, makes the various actuators coordinate and operate at the same time to achieve all The control program of the requested function.

如此,程式設計者製作控制程式之作業,由於在自動製造機械之設計結束後開始,因此造成著手進行控制程式製作之時間延遲。另外,程式設計者亦需要時間理解各種致動器及機械零件之動作。其結果,從著手進行自動製造機械之開發到出貨至製造現場需要長時間,此情況成為在製造現場導入新自動製造機械時的巨大阻礙。 In this way, the operation of the program designer to create the control program starts after the design of the automatic manufacturing machine is completed, which results in a time delay in the manual creation 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 the development of the automatic manufacturing machine to the shipment to the manufacturing site. This situation is a huge obstacle to the introduction of new automatic manufacturing machines at the manufacturing site.

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

為了解決上述課題,本發明之控制程式生成裝置採用以下構成,亦即: In order to solve the above-mentioned problems, the control program generating device of the present invention adopts the following structure, namely:

一種控制程式生成裝置(100),其係生成具備複數個致動器(10~20)之自動製造機械(1)之控制程式者,其特徵係具備: A control program generating device (100), which generates a control program of an automatic manufacturing machine (1) equipped with a plurality of actuators (10-20), and is characterized by:

基本動作儲存部(102),將表示該致動器每個自由度的動作之基本動作,與用於實現該基本動作之程式元件相對應並儲存; The basic motion storage unit (102) corresponds and stores the basic motion representing the motion of each degree of freedom of the actuator with the program element used to realize the basic motion;

動作圖讀取部(103),藉由將該自動製造機械之動作分解為複數個該基本動作,並將該基本動作之結束與其他該基本動作之開始以邏輯運算相關聯,從而讀取描述有該自動製造機械動作之動作圖(200);及 The action diagram reading unit (103) decomposes the action of the automatic manufacturing machine into a plurality of the basic actions, and associates the end of the basic action with the beginning of other basic actions by logical operations, thereby reading the description There is an action diagram (200) of the action of the automatic manufacturing machine; and

控制程式生成部(105),藉由將儲存於該基本動作儲存部之該程式元件依照該動作圖結合,從而生成使該自動製造機械動作之該控制程式。 The control program generating unit (105) generates the control program for operating the automatic manufacturing machine by combining the program components stored in the basic operation storage unit in accordance with the operation diagram.

此外,與上述控制程式生成裝置對應之本發明之控制程式生成方法採用以下構成。亦即: In addition, the control program generation method of the present invention corresponding to the above-mentioned control program generation device adopts the following configuration. that is:

一種控制程式生成方法,其係藉由電腦生成具備複數個致動器(10~20)之自動製造機械(1)之控制程式者,其特徵係具備: A method for generating a control program, which generates a control program for an automatic manufacturing machine (1) equipped with a plurality of actuators (10-20) through a computer, and is characterized by:

動作圖讀取步驟(103),讀取使用表示該致動器每個自由度的動作之基本動作、及將其他該基本動作之開始與該基本動作之結束相關聯之邏輯運算,從而描述該自動製造機械動作之該動作圖(200); The action diagram reading step (103) is to read and use the basic action representing the action of each degree of freedom of the actuator, and the logical operation that associates the beginning of the basic action with the end of the basic action, thereby describing the The action diagram of automatic manufacturing machinery action (200);

動作圖解析步驟(104),藉由解析該動作圖,擷取該動作圖所包含之複數個該基本動作、及將複數個該基本動作相關聯之邏輯運算;及 An action diagram analysis step (104), by analyzing the action diagram, extracting a plurality of the basic actions included in the action diagram, and logical operations that associate a plurality of the basic actions; and

控制程式生成步驟(105),藉由參照將該基本動作與用於實現該基本動作之程式元件相對應並儲存之資料(102),從而在將記載於該動作圖之該基本動作變換為該程式元件的同時,依照該動作圖結合該程式元件,進而生成使該自動製造機械動作之該控制程式。 In the control program generation step (105), by referring to the stored data (102) corresponding to the basic action and the program element used to realize the basic action, the basic action recorded in the action diagram is transformed into the Simultaneously with the program components, the program components are combined in accordance with the action diagram to generate the control program for the automatic manufacturing machine to operate.

此種本發明之控制程式生成裝置及控制程式生成方法中,將搭載於自動製造機械之複數個致動器之基本動作、與用於實現基本動作之程式元件相對應並預先儲存。此外,藉由將自動製造機械之動作分解為複數個基本動作,並將基本動作之結束與其他基本動作之開始以邏輯運算相關聯,從而預先製作描述有自動製造機械動作之動作圖。接著,在生成自動製造機械之控制程式時,藉由在讀取描述有自動製造機械動作之動作圖,並將記載於動作圖之基本動作變換為程式元件的同時,將此等程式元件依照動作圖結合,從而生成控制程式。 In the control program generation device and control program generation method of the present invention, the basic actions of a plurality of actuators installed in an automatic manufacturing machine correspond to the program elements used to realize the basic actions and are stored in advance. In addition, by decomposing the motion of the automatic manufacturing machine into a plurality of basic motions, and correlating the end of the basic motion with the beginning of other basic motions by logical operations, an action diagram describing the motion of the automatic manufacturing machine is made in advance. Next, when generating the control program of the automatic manufacturing machine, by reading the motion diagram describing the motion of the automatic manufacturing machine, and transforming the basic motion recorded in the motion diagram into program components, these program components follow the motion Figures are combined to generate a control program.

由於致動器之基本動作為單純的動作,因此能夠預先製作用於使致動器進行基本動作之程式元件。此外,由於機械設計技術者在設計自動製造機械時,藉由組合致動器之基本動作實現自動製造機械之動作,因此設計自動製造機械之機械設計技術者,能夠藉由將複數個基本動作之結束與開始以邏輯運算相關聯,從而容易地製作描述自動製造機械動作之動作圖。據此,讀取動作圖,將動作圖中之基本動作變換為程式元件,並依照動作圖結合程式元件,則可自動生成控制自動製造機械動作之控制程式。 Since the basic motion of the actuator is a simple motion, it is possible to create a program component for making the actuator perform the basic motion in advance. In addition, since the mechanical design technicians design the automatic manufacturing machinery by combining the basic actions of the actuators to realize the motions of the automatic manufacturing machinery, the mechanical design technicians designing the automatic manufacturing machinery can combine multiple basic motions The end and the start are associated with logical operations, so that action diagrams describing the actions of automatic manufacturing machines can be easily produced. Accordingly, by reading the action diagram, transforming the basic actions in the action diagram into program components, and combining the program components according to the action diagram, a control program for controlling the actions of the automatic manufacturing machine can be automatically generated.

此外,在上述本發明之控制程式生成裝置中,亦可使於基本動作及程式元件之參數為可設定。 In addition, in the control program generating device of the present invention described above, the parameters of the basic actions and program elements can also be set.

如此,由於能夠對基本動作描述例如移動速度及旋轉速度、移動距離及旋轉角度等動作之細節,因此能夠在動作圖中更詳細地描述自動製造機械之動作。 In this way, since the basic actions can be described in detail, such as movement speed and rotation speed, movement distance, and rotation angle, the movement of the automatic manufacturing machine can be described in more detail in the movement diagram.

此外,在上述本發明之控制程式生成裝置中,亦可在描述自動製造機械動作之動作圖中,將計時器之計時動作或計數器之計數動作之至少一者,作為比照基本動作之動作描述。 In addition, in the above-mentioned control program generating device of the present invention, at least one of the timing action of the timer or the counting action of the counter can also be described as the action description of the basic action in the action diagram describing the action of the automatic manufacturing machine.

如此,能夠將自動製造機械之動作,例如推遲動作之開始直到經過一定時間、或推遲動作之開始直到按壓指定按鍵之次數達到指定次數,描述於動作圖。 In this way, the action of the automatic manufacturing machine can be described in the action diagram, such as delaying the start of the action until a certain time has passed, or delaying the start of the action until the number of times the designated button is pressed reaches the designated number of times.

此外,上述本發明之控制程式生成裝置中,亦可在描述自動製造機械動作之動作圖中,將擴音器之聲音輸出動作或燈之發光動作之至少一者,作為比照基本動作之動作來描述。 In addition, in the control program generating device of the present invention described above, at least one of the sound output action of the loudspeaker or the light-emitting action of the lamp can also be used as the action to compare the basic action in the action diagram describing the action of the automatic manufacturing machine. describe.

如此,能夠將自動製造機械之動作,例如致動器在從擴音器輸出效果音等聲音後動作、或致動器在燈開燈或熄燈後動作,描述於動作圖。 In this way, the operation of the automatic manufacturing machine, for example, the actuator operates after outputting sound effects such as sound from the loudspeaker, or the actuator operates after the light is turned on or off, can be described in the operation diagram.

此外,上述本發明之控制程式生成裝置中,亦可在描述自動製造機械動作之動作圖中,將加熱器之加熱動作,作為比照基本動作之動作描述。 In addition, in the above-mentioned control program generating device of the present invention, the heating action of the heater can also be described as the action description of the basic action in the action diagram describing the action of the automatic manufacturing machine.

如此,能夠將例如對金屬材料進行熱處理之自動製造機械之動作、及加熱調理食品之自動製造機械之動作,描述於動作圖。 In this way, for example, the action of an automatic manufacturing machine that heats metal materials and the action of an automatic manufacturing machine that heats and prepares food can be described in the action diagram.

此外,上述本發明之控制程式生成裝置中,亦可將藉由順序控制所控制之致動器之基本動作,與藉由順序控制實現基本動作之程式元件相對應並儲存,並將藉由伺服控制所控制之致動器之基本動作,與藉由伺服控制實現基本動作之程式元件相對應並儲存。 In addition, in the above-mentioned control program generating device of the present invention, the basic actions of the actuators controlled by the sequence control can also be stored in correspondence with the program elements that realize the basic actions by the sequence control, and will be stored by the servo The basic actions of the actuators controlled by the control correspond to the program components that realize the basic actions by the servo control and are stored.

如此,即使在順序控制之致動器與伺服控制之致動器混合存在之自動製造機械中,能夠藉由將自動製造機械之動作描述於動作圖,從而自動生成控制程式。 In this way, even in an automatic manufacturing machine in which sequence-controlled actuators and servo-controlled actuators are mixed, it is possible to automatically generate a control program by describing the actions of the automatic manufacturing machine in the action diagram.

此外,前述本發明之控制程式生成方法,亦可理解作為用於使用電腦實現控制程式生成方法之程式。亦即,本發明之程式: In addition, the aforementioned control program generation method of the present invention can also be understood as a program for implementing the control program generation method using a computer. That is, the program of the present invention:

其係使用電腦實現生成具備複數個致動器(10~20)之自動製造機械(1) 之控制程式之方法者,其特徵係使用電腦實現: It uses a computer to generate an automatic manufacturing machine with multiple actuators (10-20) (1) The method of controlling the program is characterized by the use of a computer:

動作圖讀取功能(103),讀取使用表示該致動器每個自由度的動作之基本動作、及將其他該基本動作之開始與該基本動作之結束相關聯之邏輯運算,從而描述該自動製造機械動作之該動作圖(200); Action diagram reading function (103), which reads and uses the basic motion representing the motion of each degree of freedom of the actuator, and logical operations that associate the beginning of the basic motion with the end of the basic motion, thereby describing the The action diagram of automatic manufacturing machinery action (200);

動作圖解析功能(104),藉由解析該動作圖,擷取該動作圖所包含之複數個該基本動作、及將複數個該基本動作相關聯之邏輯運算;及 The action diagram analysis function (104), by analyzing the action diagram, captures a plurality of the basic actions contained in the action diagram, and logical operations that associate a plurality of the basic actions; and

控制程式生成功能(105),藉由參照將該基本動作與用於實現該基本動作之程式元件相對應並儲存之資料(102),從而在將記載於該動作圖之該基本動作變換為該程式元件的同時,依照該動作圖結合該程式元件,進而生成使該自動製造機械動作之該控制程式 The control program generation function (105), by referring to the stored data (102) corresponding to the basic action and the program element used to realize the basic action, the basic action recorded in the action diagram is transformed into the At the same time as the program components, the program components are combined according to the action diagram to generate the control program for the automatic manufacturing machine to operate

使電腦讀取並執行此種程式,則能夠自動生成控制自動製造機械之動作之控制程式。 If the computer reads and executes this kind of program, it can automatically generate a control program that controls the actions of the automatic manufacturing machine.

1:自動製造機械 1: Automatic manufacturing machinery

2:軌道 2: track

3:搬運單元 3: Handling unit

3a:持握軸 3a: Hold the shaft

3b:夾頭 3b: Chuck

4:加工單元 4: Processing unit

10~20:致動器 10~20: Actuator

10d~20d:驅動電路 10d~20d: drive circuit

50:控制電腦 50: Control the computer

100:控制程式生成裝置 100: Control program generator

100a:顯示器畫面 100a: display screen

100b:鍵盤 100b: keyboard

100c:滑鼠指標 100c: mouse pointer

101:YOGO圖製作部 101: YOGO map production department

102:基本動作儲存部 102: Basic movement storage

103:YOGO圖讀取部 103: YOGO image reading department

104:YOGO圖解析部 104: YOGO Graph Analysis Department

105:控制程式生成部 105: Control program generation department

106:控制程式輸出部 106: Control program output section

110:編譯器 110: Compiler

200:YOGO圖 200: YOGO diagram

201:分隔線 201: Divider line

202:觸發線 202: trigger line

203:動作線 203: Action Line

204:起點 204: starting point

205:終點 205: end

206:基本動作名 206: Basic Action Name

209:ON確認動作 209: ON confirmation action

210:開關特定資訊 210: Switch specific information

211:OFF確認動作 211: OFF confirmation action

〔圖1〕表示藉由以實施例之控制程式生成裝置100生成之控制程式,所控制之自動製造機械1之外觀形狀之說明圖。 [FIG. 1] shows an explanatory diagram of the appearance and shape of the automatic manufacturing machine 1 controlled by the control program generated by the control program generating device 100 of the embodiment.

〔圖2〕概念性地表示搭載於自動製造機械1之控制電腦50,控制搭載於自動製造機械1之各種致動器10~20之動作之情形之方塊圖。 [FIG. 2] A block diagram conceptually showing a situation where the control computer 50 installed in the automatic manufacturing machine 1 controls the actions of various actuators 10-20 installed in the automatic manufacturing machine 1.

〔圖3〕表示用於開發新自動製造機械1之大略步驟之說明圖。 [Fig. 3] shows an explanatory diagram of the outline steps used to develop a new automatic manufacturing machine 1.

〔圖4〕例示本實施例之控制程式生成裝置100讀取之動作圖(YOGO圖)之概要之說明圖。 [FIG. 4] An explanatory diagram illustrating the outline of the action diagram (YOGO diagram) read by the control program generating device 100 of this embodiment.

〔圖5〕表示使用動作圖(YOGO圖)描述自動製造機械1之動作之方法之說明圖。 [FIG. 5] An explanatory diagram showing the method of describing the action of the automatic manufacturing machine 1 using the action diagram (YOGO diagram).

〔圖6〕例示使用其他態樣之動作圖(YOGO圖)描述自動製造機械1之動作之方法之說明圖。 [Fig. 6] An explanatory diagram illustrating the method of describing the action of the automatic manufacturing machine 1 using other modes of action diagrams (YOGO diagrams).

〔圖7〕例示在動作圖(YOGO圖)上能夠與基本動作同樣地操作之動作之說明圖。 [FIG. 7] Illustrates an explanatory diagram of actions that can be operated in the same way as the basic actions on the action diagram (YOGO diagram).

〔圖8〕例示將開關之狀態作為動作開始條件並描述於YOGO圖之態樣之說明圖。 [Figure 8] An explanatory diagram that illustrates the state of the switch as the start condition of the action and described in the YOGO diagram.

〔圖9〕例示將開關之狀態作為動作結束條件並描述於YOGO圖之態樣之說明圖。 [Figure 9] An explanatory diagram illustrating the state of the switch as an end condition of the action and described in the YOGO diagram.

〔圖10〕表示本實施例之控制程式生成裝置100所具備之功能之說明圖。 [FIG. 10] An explanatory diagram showing the functions of the control program generating device 100 of this embodiment.

〔圖11〕例示本實施例之控制程式生成裝置100將基本動作與程式元件相關聯並儲存之狀態之說明圖。 [FIG. 11] An explanatory diagram illustrating the state in which the control program generating device 100 of this embodiment associates and stores basic actions with program elements.

A.裝置構成: A. Device composition:

圖1,係表示本實施例之自動製造機械1之大略外觀形狀之說明圖。本實施例之自動製造機械1,藉由對長尺寸之管材施行自動彎曲加工,加工為期望形狀之工作機械(即所謂彎管器)。當然地,本實施例之自動製造機械1,可搭載複數個致動器,對對象物自動執行持握、搬運、加工、加熱等複數個動作,亦可為彎管器以外之工作機械。例如,亦可為用於自動製造食品之製造機械。 FIG. 1 is an explanatory diagram showing a rough appearance shape of the automatic manufacturing machine 1 of this embodiment. The automatic manufacturing machine 1 of this embodiment processes a long-sized pipe material into a working machine (a so-called pipe bender) of a desired shape by performing automatic bending processing. Of course, the automatic manufacturing machine 1 of this embodiment can be equipped with multiple actuators to automatically perform multiple actions such as holding, conveying, processing, and heating the object, and it can also be a working machine other than a pipe bender. For example, it can also be a manufacturing machine used to automatically manufacture food.

如圖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 roughly has a horizontally long rectangular parallelepiped shape. Two rails 2 are erected on the top side of the rectangular parallelepiped in the longitudinal direction, and one end side of the rail 2 (in Figure 1 is On the left), it is equipped with a pipe that is not shown in the figure to hold and transport the processing object 运unit 3. In addition, on the side opposite to the side on which the transport unit 3 is mounted, a processing unit 4 that performs processing such as bending on a pipe material not shown in the figure is mounted. In the conveying unit 3, a cylindrical grip shaft 3a is protrudingly provided, and at the front end of the grip shaft 3a, a chuck 3b for holding a pipe (not shown) is installed. Therefore, the conveying unit 3 can be moved on the rail 2 while holding the pipe by the chuck 3b, so that the pipe can be supplied to the processing unit 4, and the processing unit 4 can perform bending processing and the like on the pipe.

本實施例之自動製造機械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 the present embodiment can control the conveying amount of the pipe by the movement amount of the conveying unit 3, and therefore can freely control the position where the pipe is subjected to bending processing and the like. In addition, it is possible to bend the pipe in a desired direction by rotating the grip shaft 3a with the chuck 3b mounted thereon (that is, a so-called twisting action). In order to achieve this, inside the transport unit 3, an actuator 10 for opening and closing the chuck 3b, an actuator 11 for rotating the grip shaft 3a, and an actuator 11 for rotating the grip shaft 3a are mounted. 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, these actuators 10-13 all use AC power-operated servo motors, but according to the required performance of the actuators, actuators of other driving methods (such as oil Cylinders, solenoids, stepping motors, etc.). Furthermore, the conveying unit 3 is also equipped with encoders for detecting the rotation position of the grip shaft 3a and the moving position of the conveying unit 3, and sensors such as limit switches. However, in order to avoid complicated drawings, The illustration is omitted in FIG. 1.

在加工單元4之內部,搭載有用於將管材彎曲之致動器17;用於為了彎曲管材而使在管材施加力的位置移動之致動器18;用於使加工單元4整體在上下方向移動之致動器19;及用於對管材形成稱為凸緣之平端面、及形成稱為凸出之環狀的凸部之致動器20等。再者,在加工單元4,亦搭載有編碼器、及接點開關等之開關‧感應器類,但為了避免圖變得繁雜,在圖1中將此等之圖示省略。 Inside the processing unit 4, an actuator 17 for bending the pipe is mounted; an actuator 18 for moving the position where a force is applied to the pipe for bending the pipe; 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 a ring-shaped convex portion called a bulge on the pipe. Furthermore, the processing unit 4 is also equipped with switches and sensors such as encoders and contact switches. However, in order to avoid complicated drawings, the illustrations of these are omitted in FIG. 1.

此外,在加工單元4之內部,搭載有用於控制自動製造機械1 之整體動作之控制電腦50、及用於驅動上述各種致動器10~13、17~20之複數個驅動電路(省略圖示)。於此,驅動電路意指具有如下功能之電子零件。致動器10~13、17~20,為了產生強大的力量而消耗大量電力。然而,由於控制電腦50輸出之電力僅少量電力,因此控制電腦50無法直接驅動致動器10~13、17~20。因此,控制電腦50藉由可供給大量電力之驅動電路,使其驅動致動器10~13、17~20。關於控制電腦50藉由驅動電路驅動致動器10~13、17~20之情形,使用其他圖式於後述之。 In addition, inside the processing unit 4 is equipped with a machine for controlling automatic manufacturing 1 The control computer 50 for the overall operation, and a plurality of driving circuits (not shown) for driving the various actuators 10-13, 17-20. Here, the drive circuit means an electronic component with the following functions. Actuators 10-13 and 17-20 consume a lot of electricity in order to generate powerful forces. However, since the power output from the control computer 50 is only a small amount of power, the control computer 50 cannot directly drive the actuators 10-13 and 17-20. Therefore, the control computer 50 drives the actuators 10-13, 17-20 through a drive circuit that can supply a large amount of power. Regarding the case where the control computer 50 drives the actuators 10-13 and 17-20 through the driving circuit, other figures will be used in the following description.

進一步,如圖1所示,在二條軌道2之下方空間亦搭載有各種機械零件,但此空間為配線之空間,配線有從搭載於加工單元4內之複數個驅動電路(省略圖示)向搬運單元3內之各種致動器10~13供給電力之電力纜線(省略圖示)、以及用於將來自搭載於搬運單元3之各種開關‧感應器類的訊號傳達至加工單元4之訊號纜線(省略圖示)等。隨著搬運單元3在軌道2上之進退移動,此等之電力纜線及訊號纜線在空間內移動,則有發生互相纏繞、或卡在某物上之疑慮。因此,為了避免此種事態的發生,在軌道2下方之空間亦搭載有致動器14~16,其用於在電力纜線及訊號纜線有不用的餘裕之情況下藉由拉引纜線排除不用的餘裕,而在電力纜線及訊號纜線被強力拉緊之情況下藉由送出拉引之纜線,以保持纜線適度的餘裕。本實施例之自動製造機械1中,採用氣壓缸作為致動器14~16,此等氣壓缸之動作,亦由控制電腦50藉由未圖示之驅動電路控制。 Furthermore, as shown in FIG. 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 runs from a plurality of drive circuits (not shown) mounted in the processing unit 4 Power cables (not shown) for supplying power to various actuators 10 to 13 in the handling unit 3, and signals for transmitting signals from various switches and sensors mounted on the handling unit 3 to the processing unit 4 Cable (not shown), etc. As the handling unit 3 advances and retreats on the track 2 and these power cables and signal cables move in the space, there is a suspicion that they may become entangled or stuck on something. Therefore, in order to avoid such a situation from happening, the space under the track 2 is also equipped with actuators 14-16, which are used to remove the power cable and signal cable by pulling the cable when there is unused margin for the power cable and signal cable. Unused margin, and when the power cable and signal cable are strongly tensioned, the cable is sent out to maintain the proper margin of the cable. In the automatic manufacturing machine 1 of this embodiment, pneumatic cylinders are used as actuators 14-16, and the actions of these pneumatic cylinders are also controlled by the control computer 50 through a drive circuit not shown.

如以上之說明,自動製造機械1中搭載有大量的致動器10~20。接著,為了將欲加工之對象物(於此為管材)自動加工為目的之形狀,必須使此等致動器10~20在適當的時間點做出適當的動作。此種致動器10~20之動作,藉由控制電腦50依照預先讀取之控制程式來控制致動器10~20之動作而實現。 As described above, the automatic manufacturing machine 1 is equipped with a large number of actuators 10-20. Next, in order to automatically process the object to be processed (in this case, the pipe) into the desired shape, the actuators 10 to 20 must be made to perform appropriate actions at appropriate points in time. The actions of the actuators 10-20 are realized by controlling the actions of the actuators 10-20 by the control computer 50 according to a control program read in advance.

圖2,係概念性地表示搭載於自動製造機械1之控制電腦50控制致動器10~20之動作之情形之方塊圖。再者,在圖2中,亦省略控制中必要之開關‧感應器類之圖示。如圖示,在控制電腦50與致動器10之間,設置有致動器10之驅動用之驅動電路10d,控制電腦50藉由驅動電路10d控制致動器10之動作。致動器11~20亦相同地,在控制電腦50與致動器11~20之間,設置有用於驅動致動器11~20之驅動電路11d~20d,控制電腦50則藉由驅動電路11d~20d控制致動器11~20之動作。 FIG. 2 is a block diagram conceptually showing a situation in which the control computer 50 mounted on the automatic manufacturing machine 1 controls the actions of the actuators 10-20. Furthermore, in Figure 2, the switches and sensors necessary for control are also omitted. As shown in the figure, between the control computer 50 and the actuator 10, a drive circuit 10d for driving the actuator 10 is provided, and the control computer 50 controls the operation of the actuator 10 through the drive circuit 10d. The actuators 11-20 are also the same. Between the control computer 50 and the actuators 11-20, there are drive circuits 11d-20d for driving the actuators 11-20, and the control computer 50 uses the drive circuit 11d. ~20d controls the actions of actuators 11~20.

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

此種控制電腦50中,連接有以伺服控制之致動器10~13、17~20、及以順序控制之致動器14~16。圖中,控制電腦50與致動器10~13、17~20以實線連接,表示以伺服控制此等致動器10~13、17~20。此外,控制電腦50與致動器14~16以虛線連接,表示以順序控制此等致動器14~16。當然地,以伺服控制及順序控制以外之方式控制之致動器,亦可連接於控制電腦50。 In this control computer 50, servo-controlled actuators 10-13, 17-20, and sequence-controlled actuators 14-16 are connected. In the figure, the control computer 50 and the actuators 10-13, 17-20 are connected by solid lines, which means that these actuators 10-13, 17-20 are controlled by a servo. In addition, the control computer 50 and the actuators 14-16 are connected by dotted lines, which means that the actuators 14-16 are controlled in sequence. Of course, actuators controlled by means other than servo control and sequence control can also be connected to the control computer 50.

控制電腦50,依照控制程式來控制致動器10~20之動作,其控制程式在使用控制程式生成裝置100預先製作後,使控制電腦50讀取。於此,製作用於使如圖2所示之大量的致動器10~20在適當的時間點進行適當動作的控制程式並不容易。尤其是,在如伺服控制與順序控制之有不同控制方式的致動器混合存在之情況下,控制程式之製作需要長時間。因此現 狀為,在製造新自動製造機械1之情況下,開發時期的一半以上之時間被耗費於控制程式之製作上。 The control computer 50 controls the actions of the actuators 10-20 according to the control program, and the control program is prepared in advance by the control program generating device 100 and then read by the control computer 50. Here, it is not easy to create a control program for making a large number of actuators 10-20 as shown in FIG. 2 perform appropriate actions at appropriate time points. Especially, in the case where actuators with different control methods such as servo control and sequence control are mixed, it takes a long time to create the control program. So now The situation is that in the case of manufacturing a new automatic manufacturing machine 1, more than half of the development period is spent on the production of the control program.

B.控制程式之製作方法 B. How to make the control program

B-1.概要: B-1. Summary:

圖3,係概念地表示用於開發新自動製造機械1之大略步驟之說明圖。圖3(a)中,表示一直以來實行之開發步驟。此外,圖3(b),則表示本發明之發明人所提出之新開發步驟。 Fig. 3 is an explanatory diagram conceptually showing the outline steps for developing a new automatic manufacturing machine 1. Figure 3 (a) shows the development steps that have been implemented. In addition, Figure 3(b) shows the new development steps proposed by the inventor of the present invention.

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

如此完成自動製造機械1之機械設計後,接著,著手製作用於控制其自動製造機械1之控制程式。在控制程式之製作中,由於需要與機械設計不同之專業技術,因此由具有專業技術之程式設計者製作。因此,在機械技術者結束機械設計,並製作呈現自動製造機械1之動作之流程圖後,向程式設計者說明自動製造機械1之動作。至此為機械設計技術者的作業。 After completing the mechanical design of the automatic manufacturing machine 1 in this way, proceed to make a control program for controlling the automatic manufacturing machine 1. In the production of the control program, since it requires a different professional technology from the mechanical design, it is produced by a program designer with professional technology. Therefore, after the mechanical technician finishes the mechanical design and creates a flowchart showing the operation of the automatic manufacturing machine 1, the operation of the automatic manufacturing machine 1 is explained to the programmer. So far, it is the job of the mechanical design technician.

另一方面,從機械設計技術者接收到說明之程式設計者,在藉由熟讀機械設計技術者製作之流程圖、根據所需之圖、及其他資料從而理解自動製造機械1之動作後,開始製作用於控制搭載於自動製造機械1之各種致動器之動作之控制程式。程式設計者,一般使用高階程式語言製作 控制程式,但電腦無法直接以高階程式語言執行控制程式。因此,程式設計者藉由將以高階程式語言描述之控制程式轉換為電腦可執行的機器語言之控制程式,最終完成控制程式。再者,將高階程式語言之控制程式轉換為機器語言之控制程式之作業稱為編譯,此作業藉由使用稱為編譯器之專用程式而在短時間完成。 On the other hand, the programmer who received the description from the mechanical design technician understands the operation of the automatic manufacturing machine 1 by familiarizing himself with the flowchart produced by the mechanical design technician, based on the required diagrams, and other data. Started to produce a control program for controlling the actions of various actuators mounted in the automatic manufacturing machine 1. Programmers, generally use high-level programming languages to produce The control program, but the computer cannot directly execute the control program in a high-level programming language. Therefore, the programmer finally completes the control program by converting the control program described in a high-level programming language into a computer-executable control program in 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, and 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 steps that have been implemented, the production of control programs usually takes about 1.5 to 2.5 times the time required for mechanical design. In addition, since it is difficult in principle to perform the machine design and control program production at the same time, the development time of the automatic manufacturing machine 1 is lengthened. In addition, it is necessary to ensure that there are mechanical design technicians and programming experts with different technologies, 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 an automatic manufacturing machine 1 using the new method proposed by the inventor of the present invention. In the case of using the new method, the mechanical design itself is also the same as the conventional method. That is, after understanding the various functions required by the automatic manufacturing machine 1, the machine design technician makes a drawing of the automatic manufacturing machine 1 equipped with a mechanism for realizing these functions. At this time, after discussing the movable parts necessary to realize the function, the content of the movable parts, and the performance of the actuator used to activate the movable parts, etc., and determining the actuator, the mountability and maintenance of the actuator are also considered. Sex, etc., and finally complete the picture.

完成圖後,在如圖3(b)所示新開發步驟中,機械設計技術者製作動作圖取代流程圖。之後將詳細說明此動作圖,但其係將機械設計技術者在機械設計時所考量之各致動器之動作以圖的形式描述者。此動作圖,由於為本發明之發明人獨自發想者,非為已存在世間之圖,因此將其取名為「YOGO圖」。因此在以下,將此新動作圖記為YOGO圖。 After completing the diagram, in the new development step shown in Figure 3(b), the mechanical designer creates an action diagram to replace the flowchart. This action diagram will be described in detail later, but it is a description of the action of each actuator considered by the mechanical design technician during the mechanical design in the form of a diagram. Since this action figure was originally thought by the inventor of the present invention, it is not a figure that already exists in the world, so it is named "YOGO figure". Therefore, in the following, this new action graph is referred to as a YOGO graph.

如後述之YOGO圖,係僅將機械設計技術者在機械設計時所考量之各致動器之動作,如其所想地表達者。因此,機械設計之機械設計 技術者,能夠以製作流程圖之一半左右的時間製作(參照圖3(b))。另外,YOGO圖能夠藉由通過專用之編譯器,轉換為機器語言之控制程式。YOGO圖能夠轉換為機器語言之控制程式的理由亦於後述。如此,由於將自動製造機械1之動作描述於YOGO圖,將能夠從YOGO圖生成機器語言之控制程式,因此如圖3所示,與習知方法相比,能夠將新自動製造機械1之開發時間縮短至少一半以下(代表性地為1/3左右)。另外,YOGO圖係機械設計技術者能夠簡易地製作,且亦不必確保有程式設計者。因此,可幾乎完全解決在開發新自動製造機械1時成為阻礙之各種事態。以下,說明可完成此事之YOGO圖。再者,本實施例之YOGO圖,對應於本發明中之「動作圖」。 As the YOGO diagram described later, it only expresses the action of each actuator that the mechanical design technician considers when designing the machine as they want. Therefore, the mechanical design of the mechanical design A technician can produce it in about half of the production flow chart (see Fig. 3(b)). In addition, the YOGO diagram can be converted into a machine language control program by a dedicated compiler. The reason why the YOGO diagram can be converted into a machine language control program will also be described later. In this way, since the action of the automatic manufacturing machine 1 is described in the YOGO diagram, it will be possible to generate a machine language control program 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 developed. The time is reduced by 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 ensure that there are programmers. Therefore, it is possible to almost completely solve various situations that hinder the development of the new automatic manufacturing machine 1. The following describes the YOGO diagram that can accomplish this. Furthermore, the YOGO diagram in this embodiment corresponds to the "action diagram" in the present invention.

B-2.YOGO圖 B-2.YOGO diagram

圖4,係用於說明YOGO圖200之概要之說明圖。再者,若為了表示YOGO圖200之整體而縮小尺寸,將破壞記載而無法判讀,因此以圖4表示YOGO圖200之一部分(左上角部分)。如圖4所示,YOGO圖200係如複數條橫線與複數條直線交叉之大表格的形狀。以下,在交叉之複數條的線內,橫線稱為「分隔線」201,直線則稱為「觸發線」202。 Fig. 4 is an explanatory diagram for explaining the outline of the YOGO diagram 200. Furthermore, if the size is reduced in order to show the entire YOGO diagram 200, the description will be broken and cannot be read. Therefore, a part of the YOGO diagram 200 (the upper left corner part) is shown in FIG. 4. As shown in FIG. 4, the YOGO diagram 200 is a large table shape in which a plurality of horizontal lines and a plurality of straight lines intersect. Hereinafter, in the plurality of intersecting lines, the horizontal line is referred to as the "separation line" 201, and the straight line is referred to as the "trigger line" 202.

在互相鄰接之分隔線201之間所形成之長方形區域,為描述致動器之動作的區域。YOGO圖200左端之欄位,在分隔線201與分隔線201之間記載有致動器之名稱。接著,在分隔線201與分隔線201之間的長方形區域,描述於左端欄位所記載之致動器之動作。圖4所示之例中,於最上方之長方形區域中描述致動器A之動作,於自上方第二之長方形區域中描述致動器B之動作,而於自上方第三之長方形區域中則描述致動器C之動作。使用圖1及圖2如前述,由於在本實施例之自動製造機械1中,搭載有11個致動器10~20,因此將其等所有致動器10~20,一個一個各別分配於長方形區域。此外,如後所述,在YOGO圖200中,亦可描述致動器以外之機器的動作, 並亦將其等之機器一個一個各別分配於長方形區域。 The rectangular area formed between the adjacent dividing lines 201 is an area describing the action of the actuator. In the column at the left end of the YOGO diagram 200, the name of the actuator is recorded between the dividing line 201 and the dividing line 201. Next, in the rectangular area between the dividing line 201 and the dividing line 201, the action of the actuator described in the column at the left end is described. In the example shown in Fig. 4, the action of actuator A is described in the top rectangular area, the action of actuator B is described in the rectangular area second from the top, and the action of actuator B is described in the rectangular area third from the top Then describe the action of the actuator C. Using Figures 1 and 2 as described above, since 11 actuators 10-20 are mounted in the automatic manufacturing machine 1 of this embodiment, all the actuators 10-20, including them, are allocated one by one. Rectangular area. In addition, as described later, in the YOGO diagram 200, the actions of machines other than actuators can also be described. It also distributes the machines in the rectangular area one by one.

賦予觸發線202連續編號。圖4所示之例中,在YOGO圖200上端的欄位內,記載有其下方之觸發線202之連續編號。此觸發線202,在由YOGO圖200生成機器語言之控制程式時完成重要任務,關於此點將在之後詳細說明。 The trigger line 202 is given consecutive numbers. In the example shown in FIG. 4, in the column at the upper end of the YOGO chart 200, the serial number of the trigger line 202 below it is recorded. The trigger line 202 completes an important task when the machine language control program is generated by the YOGO diagram 200, and this point will be described in detail later.

在分隔線201與分隔線201之間的區域,標記表示分配於其區域之致動器的動作之動作線203,在動作線203之左端標記表示動作的開始之起點204,而在動作線203之右端則標記表示動作的結束之終點205。圖4所示之例中,動作線203以粗實線表示,起點204以黑邊白底之圓記號表示,終點205以黑色圓記號表示。動作線203,必須標記於分隔線201與分隔線201之間的區域,據此,不可跨越分隔線201。此外,動作線203能夠跨越觸發線202標記,但起點204及終點205必須標記於觸發線202上。 In the area between the dividing line 201 and the dividing line 201, the mark indicates the action line 203 of the action of the actuator assigned to the area. The left end of the action line 203 marks the starting point 204 that indicates the start of the action, and the mark indicates the start point 204 of the start of the action, and in the action line 203 The right end marks the end point 205 which indicates the end of the action. In the example shown in FIG. 4, the action line 203 is represented by a thick solid line, the starting point 204 is represented by a circle mark with a black border and a white background, and the end point 205 is represented by a black circle mark. The action line 203 must be marked in the area between the dividing line 201 and the dividing line 201, and accordingly, the dividing line 201 cannot be crossed. In addition, the action line 203 can cross the trigger line 202 mark, but the start point 204 and the end point 205 must be marked on the trigger line 202.

進一步,在動作線203上,表示有示出致動器之基本動作之名稱(以下稱為基本動作名206)。於此,致動器之基本動作,例如,若為馬達此種旋轉運動之致動器,係如往正方向旋轉動作及往反方向旋轉動作之基本動作,若為氣壓缸等此種直線運動之致動器,係如前進動作及後退動作之基本動作。此等基本動作,能夠藉由指定旋轉速度或移動速度、及動作時間等必要參數,從而規定致動器之動作。再者,本實施例中,往正方向旋轉動作與往反方向旋轉動作,係作為自由度不同之二個基本動作。然而,此等之參數雖為正負相異者,但亦可作為具有相同自由度之一個基本動作來操作。YOGO圖200中,使用如以上之分隔線201、觸發線202、動作線203、起點204、終點205、及基本動作名206等,來描述自動製造機械1之動作。 Furthermore, on the action line 203, a name showing the basic action of the actuator (hereinafter referred to as the basic action name 206) is indicated. Here, the basic action of the actuator, for example, if it is a rotary actuator such as a motor, it is a basic action such as a forward rotation and a reverse rotation, and if it is a linear motion such as a pneumatic cylinder The actuator is the basic movement such as forward movement and backward movement. These basic actions can specify the necessary parameters such as rotation speed or movement speed, and action time to specify the action of the actuator. Furthermore, in this embodiment, the rotation movement in the forward direction and the rotation movement in the reverse direction are two basic movements with different degrees of freedom. However, although these parameters are different in positive and negative, they can also be operated as a basic action with the same degree of freedom. In the YOGO diagram 200, the separation line 201, the trigger line 202, the action line 203, the start point 204, the end point 205, and the basic action name 206 as described above are used to describe the action of the automatic manufacturing machine 1.

圖5,表示使用YOGO圖200描述自動製造機械1之動作之方 法之說明圖。圖5所示之例中,描述四個致動器a~d協調並動作之情形。首先,著眼於1號觸發線202,在1號觸發線202上,於描述致動器a之動作的區域標記起點204,並從此起點204向右方向拉出動作線203。由於1號觸發線202表示向自動製造機械1供應電源之時間點,故此標示表示向自動製造機械1供應電源後首先使致動器a動作。 Figure 5 shows how to use YOGO diagram 200 to describe the action of the automatic manufacturing machine 1 An explanatory diagram of the law. In the example shown in Fig. 5, a situation where four actuators a~d coordinate and operate is described. First, focus on the trigger line 202 No. 1. On the trigger line 202, the starting point 204 is marked in the area describing the action of the actuator a, and the action line 203 is drawn from the starting point 204 to the right. Since the trigger line 202 No. 1 indicates the time point when power is supplied to the automatic manufacturing machine 1, this mark indicates that the actuator a is first activated after the power is supplied to the automatic manufacturing machine 1.

此外,在動作線203上,基本動作名206「Ω-AA-1」附有「A-10」及「B-5」二個參數地標記。如後所述將基本動作名206,與用於使致動器a進行基本動作之電腦可執行之程式元件相對應。據此,能夠藉由在動作線203上標記基本動作名206,從而特定電腦可執行之程式元件,並藉由使用此程式元件控制致動器a之動作,從而使致動器a進行基本動作名206之基本動作。 In addition, on the action line 203, the basic action name 206 "Ω-AA-1" is marked with two parameters "A-10" and "B-5". As described later, the basic action name 206 corresponds to a computer-executable program element used to make the actuator a perform basic actions. Accordingly, by marking the basic action name 206 on the action line 203, the program element executable by the computer can be specified, and the action of the actuator a can be controlled by using the program element, so that the actuator a can perform the basic action The basic action of the name 206.

再者,致動器a,例如為如氣壓缸於衝程極限內前進或後退此種單純動作之致動器時,藉由程式元件所實現之基本動作,為直到經過一定時間前只前進或後退之動作,或者為直到接點開關變為ON之前前進或後退之動作。由於此種單純之動作不需要參數,因此在動作線203上標記不附有參數之基本動作名206。相對於此,致動器a例如為線性馬達此種可指定使其前進或後退時之移動速度及移動距離(或停止位置)之致動器時,必須對程式元件指定此等之條件。此外,致動器a為如一般馬達可指定在旋轉軸往正方向或反方向旋轉時之旋轉速度及旋轉角度(或停止角度位置)之致動器時,亦必須對程式元件指定此等之條件。因此,對於此種致動器,在動作線203上標記附有用於指定此等條件之參數之基本動作名206。再者,藉由參數指定之內容,不限於表示速度及位置等之數值,亦可指定例如馬達之加速及減速的程度、表示加減速態樣之驅動型態等。 Furthermore, the actuator a, for example, when the pneumatic cylinder moves forward or backward within the stroke limit, the basic movement realized by the programming element is to only move forward or backward until a certain time has passed. The action, or the action of moving forward or backward until the contact switch turns ON. Since this simple action does not require parameters, the basic action name 206 without parameters is marked on the action line 203. In contrast, when the actuator a is, for example, a linear motor, which can specify the moving speed and moving distance (or stop position) when it moves forward or backward, these conditions must be specified for the program element. In addition, when the actuator a is an actuator that can specify the rotation speed and rotation angle (or stop angle position) when the rotating shaft rotates in the forward or reverse direction, such as a general motor, these must also be specified for the program component condition. Therefore, for this type of actuator, the action line 203 is marked with the basic action name 206 attached to the parameters for specifying these conditions. Furthermore, the content specified by the parameter is not limited to the numerical value indicating the speed and position, etc., but can also specify the degree of acceleration and deceleration of the motor, the drive type indicating the acceleration and deceleration state, etc.

圖5中,對致動器a從1號觸發線202上之起點204拉出之動作 線203,結束於2號觸發線202上之終點205。此標示係表示在電源供應後開始之致動器a動作結束之時間點為2號觸發線202。從1號觸發線202所表示之時間點到2號觸發線202所表示之時間點之經過時間,依據藉由動作線203上之基本動作名206所指定之程式元件而變化。 In Fig. 5, the action of pulling the actuator a from the starting point 204 on the trigger line 202 on the 1st The line 203 ends at the end point 205 on the trigger line 202 on the 2nd. This mark indicates that the time point at which the action of the actuator a starts after the power supply ends is the trigger line 202 No. 2. The elapsed time from the time point indicated by the trigger line 202 No. 1 to the time point indicated by the trigger line No. 2 202 varies according to the program element specified by the basic action name 206 on the action line 203.

此外,2號觸發線202上,在與致動器b對應之位置標記起點204,並從此起點204拉出動作線203,此動作線203結束於標記在3號動作線203上之終點205。同樣地,與致動器c對應之位置,亦標記在2號觸發線202上具有起點204、且在3號觸發線202上具有終點205之動作線203。此等標示表示致動器a之基本動作名206「Ω-AA-1」之動作結束,則致動器b及致動器c之動作開始。此外,此時致動器b之動作,為標記在對應之動作線203上之基本動作名206「Ω-AA-2」所特定之動作,而致動器c之動作,為標記在對應之動作線203上之基本動作名206「Ω-BB-1」所特定之動作。 In addition, on No. 2 trigger line 202, a starting point 204 is marked at a position corresponding to actuator b, and an action line 203 is drawn from this starting point 204. This action line 203 ends at the end point 205 marked on No. 3 action line 203. Similarly, the position corresponding to the actuator c is also marked with an action line 203 having a starting point 204 on the second trigger line 202 and an end point 205 on the third trigger line 202. These marks indicate that the action of the basic action name 206 "Ω-AA-1" of the actuator a ends, and the actions of the actuator b and the actuator c start. In addition, the action of the actuator b at this time is the action specified by the basic action name 206 "Ω-AA-2" marked on the corresponding action line 203, and the action of the actuator c is the action marked on the corresponding action line 203. The action specified by the basic action name 206 "Ω-BB-1" on the action line 203.

進一步,3號觸發線202上,在與致動器d對應之位置標記起點204,並從此起點204,拉出在4號觸發線202上之終點205結束之動作線203。進一步,在此動作線203上,標記基本動作名206「Ω-AA-1」。此標示表示致動器b及致動器c之動作結束,則致動器d之動作開始。於此,由於致動器b之動作為基本動作名206「Ω-AA-2」之動作,致動器c之動作為基本動作名206「Ω-BB-1」之動作,因此致動器b之動作與致動器c之動作並非同時結束。因此,致動器d,當致動器b之動作結束、且致動器c之動作結束後,開始基本動作名206(於此為Ω-AA-1)所特定之動作。 Furthermore, on the trigger line 202 of No. 3, the starting point 204 is marked at the position corresponding to the actuator d, and from this starting point 204, the action line 203 ending at the end point 205 of the trigger line 202 on the No. 4 is drawn. Furthermore, on this action line 203, the basic action name 206 "Ω-AA-1" is marked. This mark indicates that the action of the actuator b and the actuator c ends, and the action of the actuator d starts. Here, since the action of the actuator b is the action of the basic action name 206 "Ω-AA-2", the action of the actuator c is the action of the basic action name 206 "Ω-BB-1", so the actuator The action of b and the action of actuator c do not end at the same time. Therefore, the actuator d starts the action specified by the basic action name 206 (herein Ω-AA-1) after the action of the actuator b ends and the action of the actuator c ends.

於此,說明觸發線202真正的功能。觸發線202,用直覺思考容易理解為「表示動作時間點者」。然而,觸發線202真正的功能並非表示動作的時間點。例如,雖然上述之致動器b及致動器c之動作線203,於3號觸發線202上之終點205結束,但由於致動器b與致動器c之動作內容不同, 因此實際上並非在相同時間點結束動作。據此,觸發線202真正的功能為將一個以上致動器之動作結束與其他一個以上致動器之動作開始,以邏輯運算相關聯。在上述例中,3號觸發線202,為將事項「致動器b之動作結束」之真假、事項「致動器c之動作結束」之真假、及事項「致動器d之動作開始」之真假,以「致動器b之動作結束」AND「致動器c之動作結束」=「致動器d之動作開始」之邏輯運算相關聯。 Here, the real function of the trigger line 202 is explained. The trigger line 202 can be easily understood by intuitive thinking as "the person indicating the time point of the action". However, the real function of the trigger line 202 does not indicate the time point of the action. For example, although the action line 203 of the actuator b and the actuator c mentioned above ends at the end point 205 on the trigger line 202 of No. 3, the action content of the actuator b and the actuator c are different, Therefore, the action does not actually end at the same point in time. Accordingly, the real function of the trigger line 202 is to associate the end of the action of one or more actuators with the start of the action of the other or more actuators, and correlate them with logic operations. In the above example, the trigger line 202 of No. 3 is the true or false of the event "End of action of actuator b", the true or false of event of "End of action of actuator c", and the true or false of event "The action of actuator d" The true or false of "Start" is related to the logical operation of "End of action of actuator b" AND "End of action of actuator c" = "Start of action of actuator d".

此外,從以上說明可知,YOGO圖200之本質,為藉由將複數個致動器之基本動作以邏輯運算相關聯,從而描述自動製造機械1之整體動作。據此,實現此種功能之圖,即使為不使用動作線203、起點204、終點205、以及依據情況之分隔線201及觸發線202等所製成之圖,該圖僅能夠稱為只是YOGO圖之變形之一。 In addition, it can be seen from the above description that the essence of the YOGO diagram 200 is to describe the overall actions of the automatic manufacturing machine 1 by associating the basic actions of a plurality of actuators with logical operations. According to this, even if the figure that realizes this function is made without using the action line 203, the start point 204, the end point 205, and the separation line 201 and the trigger line 202 according to the situation, the figure can only be called just YOGO One of the deformation of the picture.

圖6,為例示使用與YOGO圖具有同樣功能之動作圖(YOGO圖之變形),來表示自動製造機械1之動作的情形之說明圖。在圖6例示之YOGO圖之變形中,使用矩形之動作方塊213代替前述動作線203。動作方塊213為表示致動器動作者,致動器動作之內容藉由在動作方塊213中寫入基本動作名206來規定。接著,亦可藉由將動作方塊213所表示之動作結束、與其他動作方塊213之動作開始,以表示邏輯運算之線連結,來將動作相關聯。 FIG. 6 is an explanatory diagram illustrating the operation of the automatic manufacturing machine 1 using an action diagram (a modification of the YOGO diagram) having the same function as the YOGO diagram. In the modification of the YOGO diagram illustrated in FIG. 6, a rectangular action block 213 is used instead of the aforementioned action line 203. The action block 213 represents the action of the actuator, and the content of the actuator action is specified by writing the basic action name 206 in the action block 213. Then, it is also possible to associate the action by connecting the action represented by the action block 213 to the end of the action represented by the action block 213 and the action of the other action block 213 to connect the line representing the logical operation.

例如,圖6(a)中,表示將圖5中所示之3號觸發線202之部分以變形之YOGO圖描述之情形。圖6(a)中,在2號觸發線202之位置,表示標記基本動作名206「Ω-AA-2」之動作方塊213、及標記基本動作名206「Ω-BB-1」之動作方塊213,而在3號觸發線202之位置,表示標記基本動作 名206「Ω-AA-1」之動作方塊213。接著,將標記於2號觸發線202之二個動作方塊213之後端、與標記3號觸發線202之二個動作方塊213之前端,以實線之AND線214連接。此AND線214,表示此等動作方塊213係以AND之邏輯運算相關聯。據此,此情況下,為描述當「Ω-AA-2」之基本動作結束、且「Ω-BB-1」之基本動作結束後,則開始「Ω-AA-1」之基本動作之動作。 For example, in FIG. 6(a), the part of trigger line 202 shown in FIG. 5 is described as a deformed YOGO diagram. In Figure 6(a), the position of trigger line 202 on No. 2 shows the action block 213 marked with the basic action name 206 "Ω-AA-2" and the action block marked with the basic action name 206 "Ω-BB-1" 213, and at the position of trigger line 202 on the 3rd, it means the basic action of marking The action block 213 of the name 206 "Ω-AA-1". Next, connect the rear end of the two action blocks 213 marked on the No. 2 trigger line 202 and the front end of the two action blocks 213 marked on the No. 3 trigger line 202 by a solid AND line 214. The AND line 214 indicates that these action blocks 213 are related by the logical operation of AND. Based on this, in this case, it is described that when the basic action of "Ω-AA-2" ends and the basic action of "Ω-BB-1" ends, then the basic action of "Ω-AA-1" will start. .

當然地,亦可將複數個動作方塊213,以OR運算而非AND運算相關聯。例如,如圖6(b)所示,將表示「Ω-AA-2」之基本動作之動作方塊213及表示「Ω-BB-1」之基本動作之動作方塊213,使用以虛線所示之OR線215,與表示「Ω-AA-1」之基本動作之動作方塊213連接。如此,可描述當「Ω-AA-2」之基本動作或「Ω-BB-1」之基本動作之任一者結束後,則開始「Ω-AA-1」之基本動作之動作。 Of course, a plurality of action blocks 213 can also be associated with an OR operation instead of an AND operation. For example, as shown in Figure 6(b), the action block 213 representing the basic action of "Ω-AA-2" and the action block 213 representing the basic action of "Ω-BB-1" are used as shown in dotted lines The OR line 215 is connected to the action block 213 representing the basic action of "Ω-AA-1". In this way, it can be described that when either the basic action of "Ω-AA-2" or the basic action of "Ω-BB-1" ends, the action of the basic action of "Ω-AA-1" is started.

以上之內容,為使用YOGO圖200描述動作之基本方法,但以使動作之描述更加容易為目的,在YOGO圖200準備有各種描述方法。例如,圖5中所示之4號觸發線202及5號觸發線202以一點鏈線表示,此等表示條件分歧。此外,在4號觸發線202之下方、及5號觸發線202之下方,各自表示有一點鏈線之矩形207,此等表示分歧條件。在圖5所示之例中,4號觸發線202之下方的矩形207中標記有「A>B」、5號觸發線202之下方的矩形207中標記有「ELSE」,此等表示,當「A>B」之條件成立則開始從4號觸發線202上之起點204拉出之動作線203之動作,而在「A>B」之條件不成立之情況下(ELSE之情況),則開始從5號觸發線202上之起點204拉出之動作線203之動作。據此,在致動器d之基本動作名206「Ω-AA-1」之動作結束的時間點,在「A>B」之條件成立之情況下,致動器b開始基本動作名206「Ω-AA-3」之動作,而在「A>B」之條件不成立之情況下,致動器c開始基本動作名206「Ω-BB-1」之動作。 The above content is the basic method of using the YOGO diagram 200 to describe the action, but for the purpose of making the description of the action easier, various description methods are prepared in the YOGO diagram 200. For example, the trigger line No. 4 202 and the trigger line No. 5 202 shown in FIG. 5 are represented by a dotted chain line, which indicates that the conditions are different. In addition, below the trigger line 202 No. 4 and below the trigger line 202 No. 5, each represents a rectangle 207 with one point of the chain line, and these represent divergence conditions. In the example shown in FIG. 5, the rectangle 207 below the trigger line 202 No. 4 is marked with "A>B", and the rectangle 207 below the trigger line 202 No. 5 is marked with "ELSE", which means that when If the condition of "A>B" is satisfied, the action of the action line 203 drawn from the starting point 204 on the trigger line 202 of No. 4 will start, and if the condition of "A>B" is not satisfied (in the case of ELSE), it will start The action of the action line 203 drawn from the starting point 204 on the trigger line 202 on the 5th. According to this, at the point in time when the action of the basic action name 206 "Ω-AA-1" of the actuator d ends, when the condition of "A>B" is established, the actuator b starts the basic action name 206" If the condition of "A>B" is not satisfied, the actuator c starts the operation of the basic action name 206 "Ω-BB-1".

此外,表示如此開始之致動器b之動作結束之終點205、及表示致動器c之動作結束之終點205,以黑色方記號表示。此表示此等動作之結束以OR運算與其他動作之開始相關聯。再者,由於以黑色圓記號表示之一般的終點205,動作之結束與其他動作之開始係以AND運算連結,因此尤其是黑色方記號之終點205,在必須將其相對於一般黑色圓記號之終點205作區分時,記為「OR終點205a」。在圖5中所示之例中,致動器b之名為「Ω-AA-3」之基本動作、及致動器c之名為「Ω-BB-1」之基本動作,任一者皆在6號觸發線202上結束,但當任一者之動作結束後,致動器d則開始名為「Ω-AA-1」之基本動作。 In addition, the end point 205 indicating the end of the action of the actuator b started in this way and the end point 205 indicating the end of the action of the actuator c are indicated by black square marks. This means that the end of these actions is associated with the beginning of other actions by OR operation. Furthermore, since the general end point 205 represented by a black circle mark, the end of the action and the beginning of other actions are connected by an AND operation, so in particular, the end point 205 of the black square mark must be compared to the general black circle mark. When the end point 205 is distinguished, it is recorded as "OR end point 205a". In the example shown in Figure 5, the basic motion of actuator b named "Ω-AA-3" and the basic motion of actuator c named "Ω-BB-1", either All ends on the trigger line 202 on the 6th, but when any of the actions ends, the actuator d starts a basic action named "Ω-AA-1".

進一步,表示如此開始之致動器d之動作結束之終點205,標記於以虛線表示之7號觸發線202上。虛線之觸發線202,表示重複進行。在圖5中所示之例中,重複執行從以虛線表示之7號觸發線202,到同樣以虛線表示之9號觸發線202之動作。此外,在此等二條觸發線202中率先出現之7號觸發線202之下方,將重複條件標記於虛線之矩形208中。在圖5所示之例中,重複執行從7號觸發線202到9號觸發線202之動作(據此,為致動器a之動作及致動器b之動作)直到變數VC的值變為0。接著,當7號觸發線202之下方標記之重複條件(於此為變數VC=0)成立後,則開始於9號觸發線202上之起點204標記之致動器c之動作。 Further, the end point 205 indicating the end of the action of the actuator d started in this way is marked on the 7th trigger line 202 indicated by a broken line. The dashed trigger line 202 indicates that it is repeated. In the example shown in FIG. 5, the action from the trigger line 202 of No. 7 shown by the dotted line to the trigger line 202 of No. 9 also shown by the dotted line is repeated. In addition, below the No. 7 trigger line 202 that appears first among these two trigger lines 202, the repetition condition is marked in the dotted rectangle 208. In the example shown in FIG. 5, the actions from the 7th trigger line 202 to the 9th trigger line 202 (according to this, the action of the actuator a and the action of the actuator b) are repeated until the value of the variable VC changes. Is 0. Then, when the repetition condition marked below the trigger line 202 of No. 7 (here, the variable VC=0) is established, the action of the actuator c marked at the starting point 204 on the trigger line of No. 9 is started.

此外,在自動製造機械1中,有在致動器之動作開始前輸出聲音(包含效果音)促使周圍作業者注意之情況,以及經過一定時間使燈開燈及熄燈之情況。雖然此種從擴音器輸出聲音之動作、及使燈發光之開燈或熄燈之動作並非藉由致動器之動作,但能夠作為比照其之動作並與基本動作同樣地操作。在YOGO圖200中,雖然並非藉由致動器之動作,但亦可描述能夠與基本動作同樣地操作之動作。 In addition, in the automatic manufacturing machine 1, there are cases where a sound (including effect sound) is output before the start of the operation of the actuator to prompt the attention of surrounding workers, and there are cases where a lamp is turned on and off after a certain period of time. Although the action of outputting sound from the loudspeaker and the action of turning on or off the lamp to turn on the light are not by the action of the actuator, it can be compared with the action and can be operated in the same way as the basic action. In the YOGO diagram 200, although it is not based on the action of the actuator, it can also describe the action that can be operated in the same way as the basic action.

圖7,為例示在YOGO圖200上,描述能夠與基本動作同樣地操作之動作的態樣之說明圖。圖7(a)中,描述從擴音器輸出聲音之動作(聲音輸出動作)。在YOGO圖200中,擴音器之聲音輸出動作,亦藉由在左端具有起點204且右端具有終點205之動作線203上,標記表示擴音器之驅動之基本動作名206(於此為Ω-SP-1)來描述。從擴音器輸出之聲音資料,可使用參數來指定。 FIG. 7 is an explanatory diagram exemplified on the YOGO diagram 200 to describe the state of the action that can be operated in the same manner as the basic action. In Fig. 7(a), the action of outputting sound from the loudspeaker (sound output action) is described. In the YOGO diagram 200, the sound output action of the loudspeaker is also marked on the action line 203 with a starting point 204 at the left end and an end point 205 at the right end, marking the basic action name 206 of the loudspeaker driving (here Ω -SP-1) to describe. The sound data output from the loudspeaker can be specified using parameters.

圖7(b)中,描述使燈發光之發光動作。燈之發光動作,亦藉由在左端具有起點204且右端具有終點205之動作線203上,標記表示燈之發光動作之基本動作名206(於此為Ω-LL-1)來描述。使燈發光之態樣(例如,開燈或熄燈之態樣),能夠使用參數來指定。 In Fig. 7(b), the light-emitting action of making the lamp light is described. The light-emitting action of the lamp is also described by the action line 203 with a starting point 204 at the left end and an end point 205 at the right end, marking the basic action name 206 (herein, Ω-LL-1) of the light-emitting action of the lamp. The state in which the light is illuminated (for example, the state in which the light is turned on or off) can be specified using parameters.

進一步,例如計算按壓開關(或按鈕)之次數達到指定次數為止之計數動作、計算從按壓開關(或按鈕)直到經過指定時間為止之計時動作、及使用加熱器加熱對象物或加熱調理材料之加熱動作,亦能夠作為比照基本動作之動作而描述於YOGO圖200中。圖7(c),表示使用計數器計算達指定次數為止之計數動作之描述例,圖7(d),表示使用計時器計算經過指定時間之計時動作之描述例,圖7(e),表示使用加熱器加熱之加熱動作之描述例。 Further, for example, counting the counting action until the number of times the switch (or button) is pressed reaches the specified number, counting the timing action from pressing the switch (or button) until the specified time has elapsed, and heating the object using a heater or heating the conditioning material Actions can also be described in YOGO diagram 200 as actions that compare basic actions. Figure 7(c) shows a description example of the counting action using a counter to count up to a specified number of times, Figure 7(d) shows a description example of the counting action using a timer to calculate the specified time elapsed, and Figure 7(e) shows the use Description example of heating action of heater heating.

此外,自動製造機械1中,有開關變為ON、或開關變為OFF,為用於開始動作之條件之情況。進一步,有開關變為ON、或開關變為OFF,為用於結束動作之條件之情況。考量此種情況,YOGO圖200中,能夠將開關之狀態作為動作開始條件、或動作結束條件來描述。 In addition, in the automatic manufacturing machine 1, there are cases where the switch is turned ON or the switch is turned OFF, which is a condition for starting the operation. Furthermore, there are cases where the switch turns ON or the switch turns OFF, which is a condition for ending the operation. Considering this situation, in the YOGO diagram 200, the state of the switch can be described as an action start condition or an action end condition.

圖8,為例示將開關狀態作為動作開始條件描述於YOGO圖200之態樣之說明圖。在圖8(a)所示之例中,11號觸發線202上記載有終點205、起點204、及黑邊白底三角記號。此黑邊白底三角記號,表示確認 開關為ON之動作(以下稱為ON確認動作209),在ON確認動作209之旁邊,記載有用於特定確認開關之開關特定資訊210。此外,ON確認動作209、起點204、終點205,各自記載於不同分隔線201之間的區域。此種圖8(a)之記載,表示當基本動作名206「Ω-AA-2」之動作結束,且開關SW-1變為ON(或已為ON),則基本動作名206「Ω-AA-3」之動作開始。 FIG. 8 is an explanatory diagram illustrating a state in which the switch state is used as an action start condition to be described in the YOGO diagram 200. In the example shown in FIG. 8(a), an end point 205, a start point 204, and a triangle mark with a black border and a white background are recorded on the trigger line 202 No. 11. The triangle mark with black border and white background indicates confirmation The action that the switch is ON (hereinafter referred to as the ON confirmation action 209), beside the ON confirmation action 209, there is a switch specific information 210 for specifying the confirmation switch. In addition, the ON confirmation action 209, the start point 204, and the end point 205 are each described in the area between the different dividing lines 201. The record in Fig. 8(a) indicates that when the action of the basic action name 206 "Ω-AA-2" ends, and the switch SW-1 is turned ON (or is already ON), the basic action name 206 "Ω- The action of "AA-3" begins.

此外,在圖8(b)所示之例中,將黑邊白底三角記號所表示之ON確認動作209變更為黑色三角記號。此黑色三角記號,表示確認開關為OFF之動作(以下稱為OFF確認動作211)。在OFF確認動作211之旁邊,亦記載有用於特定確認開關之開關特定資訊210。據此,圖8(b)之記載,表示當基本動作名206「Ω-AA-2」之動作結束,且開關SW-1變為OFF(或已為OFF),則開始基本動作名206「Ω-AA-3」之動作。 In addition, in the example shown in FIG. 8(b), the ON confirmation action 209 represented by the triangle mark with a black border and a white background is changed to a black triangle mark. This black triangle mark indicates the action of confirming that the switch is OFF (hereinafter referred to as OFF confirmation action 211). Beside the OFF confirmation action 211, switch specific information 210 for the specific confirmation switch is also recorded. According to this, the record in Figure 8(b) indicates that when the action of the basic action name 206 "Ω-AA-2" ends, and the switch SW-1 turns OFF (or is already OFF), the basic action name 206 " Ω-AA-3" action.

圖9,為例示將開關狀態作為動作結束條件描述於YOGO圖200之態樣之說明圖。圖9(a)與前述之圖8(a)相比,圖9(a)中,黑邊白底三角記號之ON確認動作209、及終點205,記載於相同分隔線201之間的區域。此表示ON確認動作209為動作結束條件。據此,圖9(a)所示之記載,表示當開關SW-1變為ON,則結束基本動作名206「Ω-AA-2」之動作,並開始基本動作名206「Ω-AA-3」之動作。 FIG. 9 is an explanatory diagram illustrating a state in which the switch state is used as an action end condition to be described in the YOGO diagram 200. FIG. 9(a) is compared with the aforementioned FIG. 8(a). In FIG. This indicates that the ON confirmation action 209 is an action end condition. According to this, the record shown in Figure 9(a) indicates that when the switch SW-1 is turned ON, the operation of the basic operation name 206 "Ω-AA-2" is ended, and the basic operation name 206 "Ω-AA-" is started. 3" action.

此外,在圖9(b)所示之例中,將圖9(a)中之ON確認動作209變更為OFF確認動作211。據此,圖9(b)所示之記載,表示當開關SW-1變為OFF,則結束基本動作名206「Ω-AA-2」之動作,並開始基本動作名206「Ω-AA-3」之動作。 In addition, in the example shown in FIG. 9(b), the ON confirmation operation 209 in FIG. 9(a) is changed to the OFF confirmation operation 211. According to this, the record shown in Figure 9(b) indicates that when the switch SW-1 is turned OFF, the operation of the basic operation name 206 "Ω-AA-2" is ended, and the basic operation name 206 "Ω-AA-" is started. 3" action.

B-3.由YOGO圖可產生機器語言之控制程式之理由: B-3. Reasons for generating machine language control programs from YOGO diagrams:

使用圖3(b)並如前述地,將自動製造機械1之動作記載於YOGO圖200,則能夠藉由將此YOGO圖200通過專用之編譯器,從而自動生成控制電腦50 可執行之機器語言之控制程式。此係以後述之理由而可達成。 Using FIG. 3(b) and recording the action of the automatic manufacturing machine 1 in the YOGO diagram 200 as described above, the YOGO diagram 200 can be passed through a dedicated compiler to automatically generate the control computer 50 Executable control program in machine language. This can be achieved for the reasons described later.

首先,YOGO圖200藉由將搭載於自動製造機械1之致動器之基本動作、及比照基本動作之動作(參照圖7~圖9)使用邏輯運算相關聯,從而描述自動製造機械1之動作。此外,基於分歧條件之條件分歧之判斷、及基於重複條件之重複動作之判斷,亦能夠以邏輯運算為基準來思考。於此,基本動作或比照基本動作之動作,可預先製作用於實現此動作之程式元件。再者,此種程式元件,可以高階程式語言描述,亦可以機器語言描述。 First, the YOGO diagram 200 describes the actions of the automatic manufacturing machine 1 by using logical operations to correlate the basic actions of the actuators mounted on the automatic manufacturing machine 1 and the actions that follow the basic actions (refer to Figures 7 to 9). . In addition, the judgment of conditional divergence based on divergent conditions and the judgment of repeated actions based on repetitive conditions can also be considered based on logic operations. Here, the basic action or the action based on the basic action can be pre-made program components used to realize this action. Furthermore, such programming elements can be described in high-level programming languages or machine languages.

進一步,執行邏輯運算之程式、執行基於分歧條件之判斷之程式、及執行基於重複條件之判斷之程式,由於為單純之程式因此能自動生成。據此,在將YOGO圖200變換為控制程式時,首先藉由解析YOGO圖200,擷取記載於YOGO圖200之基本動作(及比照基本動作之動作)、以及將其等相關聯之邏輯運算(或條件判斷)。接著,在將基本動作(及比照基本動作之動作)置換為預先製作之程式元件的同時,將其等程式元件藉由與已擷取之邏輯運算(或條件判斷)對應之程式而結合。如此,能夠由YOGO圖200自動生成以高階程式語言或機器語言描述之控制程式。在本實施例中,使用如以下之控制程式生成裝置100生成控制程式。 Furthermore, programs that execute logic operations, programs that execute judgments based on divergent conditions, and programs that execute judgments based on repetitive conditions can be automatically generated because they are simple programs. Accordingly, when transforming the YOGO diagram 200 into a control program, first, by analyzing the YOGO diagram 200, extract the basic actions recorded in the YOGO diagram 200 (and the actions corresponding to the basic actions), and the logical operations associated with them. (Or conditional judgment). Then, while replacing the basic actions (and actions that follow the basic actions) with pre-made program components, the program components are combined with the programs corresponding to the extracted logical operations (or conditional judgments). In this way, a control program described in a high-level programming language or machine language can be automatically generated from the YOGO diagram 200. In this embodiment, the control program generating device 100 as follows is used to generate the control program.

C.本實施例之控制生成裝置100: C. The control generating device 100 of this embodiment:

圖10,為表示本實施例之控制程式生成裝置100所具備之功能之說明圖。本實施例之控制程式生成裝置100,可使用所謂個人電腦來實現。 FIG. 10 is an explanatory diagram showing the functions of the control program generating device 100 of this embodiment. The control program generating device 100 of this embodiment can be implemented using a so-called personal computer.

如圖10所示,本實施例之控制程式生成裝置100,具備YOGO圖製作部101、基本動作儲存部102、YOGO圖讀取部103、YOGO圖解析部104、控制程式生成部105、及控制程式輸出部106等。再者,此等之「部」,係為了使用控制程式生成裝置100製作YOGO圖200,並由此YOGO圖200自 動生成控制程式,而將控制程式生成裝置100應具備之複數個功能分類之抽象的概念。據此,並非表示控制程式生成裝置100,為組合相當於此等「部」之零件而形成。實際上,此等「部」,能夠以由中央處理器(CPU)執行的程式之型態實現,亦能夠以組合積體電路(IC)晶片及大型積體電路(LSI)等之電子電路之型態實現,進一步,能夠以此等混合存在之型態等各種型態實現。 As shown in FIG. 10, the control program generation device 100 of this embodiment includes a YOGO diagram creation unit 101, a basic movement storage unit 102, a YOGO diagram reading unit 103, a YOGO diagram analysis unit 104, a control program generation unit 105, and a control The program output unit 106 and so on. Furthermore, these "parts" are used to create the YOGO diagram 200 using the control program generating device 100, and the YOGO diagram 200 is self-contained. It is an abstract concept that automatically generates a control program, and classifies a plurality of functions that the control program generation device 100 should have. Accordingly, it does not mean that the control program generating device 100 is formed by combining parts corresponding to these "parts". In fact, these "parts" can be implemented in the form of programs executed by a central processing unit (CPU), and can also be implemented as a combination of integrated circuit (IC) chips and large-scale integrated circuits (LSI) and other electronic circuits. Type realization, and further, it can be realized in various forms such as this mixed type.

YOGO圖製作部101,連接有顯示器畫面100a、鍵盤100b、及滑鼠指標100c等,進行自動製造機械1之機械設計的機械設計技術者,藉由在觀看顯示器畫面100a的同時操作鍵盤100b及滑鼠指標100c,製作圖4所例示之YOGO圖200。如前述,YOGO圖200係組合搭載於自動製造機械1之複數個致動器之動作,並描述自動製造機械1之動作者。由於在機械設計時,機械設計技術者為了實現自動製造機械1之動作,而充分地探討如何將複數個致動器之動作組合為佳,因此能夠簡易地製作描述自動製造機械1之動作之YOGO圖200。 The YOGO drawing production department 101 is connected to the display screen 100a, keyboard 100b, and mouse pointer 100c, etc., and is a mechanical design technician who performs mechanical design of the automatic manufacturing machine 1. By viewing the display screen 100a while operating the keyboard 100b and sliding The mouse index 100c is used to make the YOGO chart 200 illustrated in FIG. 4. As mentioned above, the YOGO diagram 200 combines the actions of a plurality of actuators mounted on the automatic manufacturing machine 1 and describes the actions of the automatic manufacturing machine 1. In order to realize the action of the automatic manufacturing machine 1 in the mechanical design, the mechanical design technician fully explores how to combine the actions of multiple actuators. Therefore, it is possible to easily create a YOGO describing the action of the automatic manufacturing machine 1 Figure 200.

此外,使用圖4~圖7並如前述地,在YOGO圖200中,必須標記用於特定基本動作(或比照基本動作之動作)之基本動作名206。因此,基本動作儲存部102中,將致動器(或擴音器、燈、開關等)之名稱、與能夠由此致動器等執行的基本動作等之基本動作名206相關聯並儲存。 In addition, using FIGS. 4 to 7 and as mentioned above, in the YOGO diagram 200, the basic action name 206 used for a specific basic action (or an action that follows the basic action) must be marked. Therefore, the basic operation storage unit 102 associates and stores the name of the actuator (or loudspeaker, lamp, switch, etc.) with the basic operation name 206 such as the basic operation that can be performed by the actuator or the like.

圖11,為例示將致動器等之名稱、與基本動作名206相關聯,並儲存於基本動作儲存部102之狀態之說明圖。如圖所示,致動器等,與可執行的基本動作等之基本動作名206相關聯並儲存。可執行複數種類之基本動作等之致動器等,對可執行的動作儲存基本動作名206。此外,存在有可指定之參數之基本動作名206,亦儲存可指定之參數。例如,圖11中,於最上方表示之基本動作名206「Ω-AA-1」,儲存為可指定參數「A」之意,上 方第三之基本動作名206「Ω-AA-3」,儲存為可指定二個參數「A」及「B」之意。此外,上方第四之基本動作名206「Ω-AA-4」,儲存為不存在有可指定之參數之意。 FIG. 11 is an explanatory diagram illustrating a state in which the names of actuators and the like are associated with the basic operation name 206 and stored in the basic operation storage unit 102. As shown in the figure, actuators, etc., are associated with and stored with basic action names 206 such as executable basic actions. For actuators that can perform plural types of basic actions, etc., the basic action name 206 is stored for the executable actions. In addition, there is a basic action name 206 with parameters that can be specified, and the parameters that can be specified are also stored. For example, in Figure 11, the basic action name 206 "Ω-AA-1" shown at the top is stored as the meaning of the assignable parameter "A". The third basic action name 206 "Ω-AA-3" is stored as meaning that two parameters "A" and "B" can be specified. In addition, the fourth basic action name 206 "Ω-AA-4" above is stored as meaning that there are no parameters that can be specified.

此外,如圖11所示,對於各個基本動作名206亦儲存程式元件名。程式元件名,係用於實現基本動作名206所表示之基本動作(或比照基本動作之動作)之程式名稱。由於基本動作、及比照此之動作為單純的動作,因此實現其等動作之程式可為小尺寸,且能夠作為元件與尺寸大之其他程式組合。因此本說明書中,將實現此等動作之程式記為「程式元件」。程式元件,可為使用高階程式語言描述之程式,亦可為以機器語言描述之程式。 In addition, as shown in FIG. 11, the program component name is also stored for each basic action name 206. The program component name is the name of the program used to realize the basic action represented by the basic action name 206 (or the action corresponding to the basic action). Since the basic actions and the actions referred to here are simple actions, the programs that implement such actions can be small in size, and can be used as a combination of components and other programs with large sizes. Therefore, in this manual, the program that realizes these actions is recorded as "program component". Program components can be programs described in high-level programming languages, or programs described in machine language.

如圖10所示,YOGO圖製作部101,連接於基本動作儲存部102。因此,機械設計技術者在製作YOGO圖200時可參照儲存於基本動作儲存部102之圖11之資料。接著,由於設計自動製造機械1之機械技術設計者,充分了解何種致動器會如何動作,因此能夠從致動器等之名稱得知基本動作名206。進一步,指定參數之內容亦能夠容易地決定。因此,能夠簡易地製作YOGO圖200。 As shown in FIG. 10, the YOGO diagram creation unit 101 is connected to the basic movement storage unit 102. Therefore, the mechanical design technician can refer to the data in FIG. 11 stored in the basic motion storage unit 102 when making the YOGO diagram 200. Next, since the machine technical designer who designs the automatic manufacturing machine 1 fully understands what kind of actuator will operate, it is possible to know the basic operation name 206 from the name of the actuator and the like. Furthermore, the content of the specified parameter can also be easily determined. Therefore, the YOGO chart 200 can be easily produced.

YOGO圖讀取部103,讀取以YOGO圖製作部101製作之YOGO圖200,並輸出至YOGO圖解析部104。再者,本實施例中,YOGO圖200亦以控制程式生成裝置100製作,與此對應地,YOGO圖讀取部103從YOGO圖製作部101讀取YOGO圖200。相對於此,以其他電腦製作YOGO圖200之情況下,YOGO圖讀取部103則從其他電腦讀取YOGO圖200。 The YOGO graph reading unit 103 reads the YOGO graph 200 produced by the YOGO graph producing unit 101, and outputs it to the YOGO graph analyzing unit 104. Furthermore, in this embodiment, the YOGO diagram 200 is also produced by the control program generating device 100. Correspondingly, the YOGO diagram reading unit 103 reads the YOGO diagram 200 from the YOGO diagram producing unit 101. On the other hand, when the YOGO diagram 200 is made by another computer, the YOGO diagram reading unit 103 reads the YOGO diagram 200 from the other computer.

YOGO圖解析部104,藉由解析從YOGO圖讀取部103接收之YOGO圖200,擷取記載於YOGO圖200之基本動作(及比照基本動作之動作)、以及將其等相關聯之邏輯運算(或條件判斷)。接著,將其結果輸出 至控制程式生成部105。 The YOGO graph analysis unit 104, by analyzing the YOGO graph 200 received from the YOGO graph reading unit 103, extracts the basic actions recorded in the YOGO graph 200 (and the actions corresponding to the basic actions), and the logical operations associated with them (Or conditional judgment). Then, output the result To the control program generating unit 105.

控制程式生成部105,藉由參照儲存於基本動作儲存部102之基本動作名206與程式元件之對應關係(參照圖11),將描述於YOGO圖200之基本動作(及比照基本動作之動作)置換為程式元件。進一步,藉由將此等程式元件基於從YOGO圖200擷取之邏輯運算(或條件判斷),並執行邏輯運算等之程式來結合。由於能夠藉此由YOGO圖200生成控制程式,因此將生成之控制程式輸出至控制程式輸出部106。再者,用於由YOGO圖200生成控制程式之編譯器110,藉由上述之基本動作儲存部102、YOGO圖讀取部103、YOGO圖解析部104、及控制程式生成部105來實現。 The control program generation unit 105, by referring to the corresponding relationship between the basic action name 206 stored in the basic action storage unit 102 and the program element (refer to FIG. 11), will describe the basic actions in the YOGO diagram 200 (and the actions that follow the basic actions) Replaced by program components. Further, these program elements are combined based on logical operations (or conditional judgments) extracted from the YOGO diagram 200, and programs such as logical operations are executed. Since the control program can be generated from the YOGO chart 200 by this, the generated control program is output to the control program output unit 106. Furthermore, the compiler 110 for generating the control program from the YOGO diagram 200 is implemented by the basic operation storage unit 102, the YOGO diagram reading unit 103, the YOGO diagram analyzing unit 104, and the control program generating unit 105 described above.

控制程式輸出部106,將從控制程式生成部105接收之控制程式,寫入自動製造機械1之控制電腦50(參照圖1及圖2)之儲存區域。其結果,控制電腦50能夠藉由依照控制程式控制搭載於自動製造機械1之各種致動器,從而控制自動製造機械1之動作。 The control program output unit 106 writes the control program received from the control program generation unit 105 into the storage area of the control computer 50 of the automatic manufacturing machine 1 (refer to FIGS. 1 and 2). As a result, the control computer 50 can control the operation of the automatic manufacturing machine 1 by controlling various actuators mounted on the automatic manufacturing machine 1 in accordance with the control program.

再者,本實施例之YOGO圖讀取部103,對應於本發明之「動作圖讀取部」。此外,本實施例之控制程式生成裝置100具備之YOGO圖讀取部103、YOGO圖解析部104、控制程式生成部105,亦可認定為表示生成控制程式之方法。據此,本實施例之YOGO圖讀取部103,對應於已理解為控制程式生成方法之本發明之「動作圖讀取步驟」,本實施例之YOGO圖解析部104,對應於本發明之「動作圖解析步驟」,本實施例之控制程式生成部105,對應於本發明之「控制程式生成步驟」。進一步,本實施例之控制程式產生裝置100所具備之YOGO圖讀取部103、YOGO圖解析部104、控制程式生成部105所實現之功能,亦能夠理解為具備使用電腦實現生成自動製造機械1之控制程式之方法之程式之功能。據此,本實施例之YOGO圖讀取部103,對應於已理解為程式之本發明之「動作圖讀取功能」,本實施例之YOGO 圖解析部104,對應於本發明之「動作圖解析功能」,本實施例之控制程式生成部105,對應於本發明之「控制程式生成功能」。 Furthermore, the YOGO graph reading unit 103 of this embodiment corresponds to the "action graph reading unit" of the present invention. In addition, the YOGO graph reading unit 103, the YOGO graph analyzing unit 104, and the control program generating unit 105 included in the control program generating device 100 of this embodiment can also be regarded as representing a method of generating a control program. Accordingly, the YOGO graph reading unit 103 of this embodiment corresponds to the "action graph reading step" of the present invention that has been understood as a control program generation method, and the YOGO graph analyzing unit 104 of this embodiment corresponds to the present invention The "action diagram analysis step", the control program generation unit 105 of this embodiment, corresponds to the "control program generation step" of the present invention. Furthermore, the functions implemented by the YOGO graph reading unit 103, the YOGO graph analyzing unit 104, and the control program generating unit 105 included in the control program generating device 100 of this embodiment can also be understood as having the ability to generate an automatic manufacturing machine 1 using a computer. The function of the program of the method of controlling the program. Accordingly, the YOGO graph reading unit 103 of this embodiment corresponds to the "action graph reading function" of the present invention, which has been understood as a program, and the YOGO of this embodiment The graph analysis unit 104 corresponds to the "action graph analysis function" of the present invention, and the control program generation unit 105 of this embodiment corresponds to the "control program generation function" of the present invention.

如以上之詳細說明,將自動製造機械1之動作以YOGO圖200描述,則能夠藉由以控制程式生成裝置100處理其YOGO圖200,從而自動生成用於控制自動製造機械1之控制程式。因此,由於即使無程式設計者製作控制程式亦可,而能夠大幅(至少一半以下)縮短為了開發新自動製造機械1所需要的時間,亦無確保有程式設計者之必要。其結果,使在製造現場導入新自動製造機械變得容易,且將能夠充分對應業界對省力化之要求。 As described in detail above, the operation of the automatic manufacturing machine 1 is described by the YOGO diagram 200, and the control program generating device 100 can process the YOGO diagram 200 to automatically generate a control program for controlling the automatic manufacturing machine 1. Therefore, since it is possible to create a control program even without a programmer, the time required for the development of a new automatic manufacturing machine 1 can be significantly (at least half or less) shortened, and there is no need to ensure that there is a programmer. As a result, it is easy to introduce new automatic manufacturing machinery at the manufacturing site, and it will be able to fully respond to the industry's requirements for labor-saving.

以上,說明本實施例之控制程式生成裝置100,但本發明非限於上述實施例者,亦可在不脫離其要旨之範圍內以各種態樣實施。 Above, the control program generating device 100 of the present embodiment is described, but the present invention is not limited to the above-mentioned embodiments, and can be implemented in various modes without departing from the spirit thereof.

例如,上述實施例中,說明YOGO圖200為藉由基本動作(或比照基本動作之動作)描述者。然而,亦有藉由購入其他自由度之複雜動作之零件,並使其零件進行指定動作,從而作為自動製造機械1之致動器來利用之情況。此種情況下,亦可將其零件指定之動作作為比照基本動作之動作來操作,並在賦予基本動作名206後標記於YOGO圖200。在此種情況下,預先製作與基本動作名206對應之程式元件,亦能夠使用控制程式生成裝置100自動生成控制程式。 For example, in the above embodiment, it is described that the YOGO diagram 200 is described by basic actions (or actions based on basic actions). However, there are cases in which parts with complicated movements with other degrees of freedom are purchased and the parts perform designated movements to be used as an actuator of the automatic manufacturing machine 1. In this case, the specified action of the part can also be operated as an action based on the basic action, and the basic action name 206 is assigned and marked on the YOGO chart 200. In this case, a program element corresponding to the basic action name 206 is created in advance, and the control program generating device 100 can also be used to automatically generate a control program.

100:控制程式生成裝置 100: Control program generator

100a:顯示器畫面 100a: display screen

100b:鍵盤 100b: keyboard

100c:滑鼠指標 100c: mouse pointer

101:YOGO圖製作部 101: YOGO map production department

102:基本動作儲存部 102: Basic movement storage

103:YOGO圖讀取部 103: YOGO image reading department

104:YOGO圖解析部 104: YOGO Graph Analysis Department

105:控制程式生成部 105: Control program generation department

106:控制程式輸出部 106: Control program output section

110:編譯器 110: Compiler

Claims (8)

一種控制程式生成裝置(100),其係生成具備複數個致動器(10~20)之自動製造機械(1)之控制程式者,其特徵係具備: A control program generating device (100), which generates a control program of an automatic manufacturing machine (1) equipped with a plurality of actuators (10-20), and is characterized by: 基本動作儲存部(102),將表示該致動器每個自由度的動作之基本動作,與用於實現該基本動作之程式元件相對應並儲存; The basic motion storage unit (102) corresponds and stores the basic motion representing the motion of each degree of freedom of the actuator with the program element used to realize the basic motion; 動作圖讀取部(103),藉由將該自動製造機械之動作分解為複數個該基本動作,並將該基本動作之結束與其他該基本動作之開始以邏輯運算相關聯,從而讀取描述有該自動製造機械動作之動作圖(200);及 The action diagram reading unit (103) decomposes the action of the automatic manufacturing machine into a plurality of the basic actions, and associates the end of the basic action with the beginning of other basic actions by logical operations, thereby reading the description There is an action diagram (200) of the action of the automatic manufacturing machine; and 控制程式生成部(105),藉由將儲存於該基本動作儲存部之該程式元件依照該動作圖結合,從而生成使該自動製造機械動作之該控制程式。 The control program generating unit (105) generates the control program for operating the automatic manufacturing machine by combining the program components stored in the basic operation storage unit in accordance with the operation diagram. 如請求項1所述之控制程式生成裝置,其中, The control program generating device according to claim 1, wherein: 該基本動作儲存部,可儲存可設定參數之該基本動作及該程式元件; The basic action storage unit can store the basic action and the program element that can be parameterized; 該動作圖讀取部,可讀取對該基本動作設定該參數之該動作圖。 The action diagram reading unit can read the action diagram that sets the parameter for the basic action. 如請求項1或2所述之控制程式生成裝置,其中, The control program generating device according to claim 1 or 2, wherein: 該基本動作儲存部,除該基本動作,將計時器之計時動作或計數器之計數動作之至少一者,與用於實現該計時動作或該計數動作之該程式元件相對應並儲存; The basic action storage unit, in addition to the basic action, corresponds and stores at least one of the timing action of the timer or the counting action of the counter with the program element used to realize the timing action or the counting action; 該動作圖讀取部,可讀取包含該計時動作或該計數動作之至少一者之該動作圖。 The action chart reading unit can read the action chart including at least one of the timing action or the counting action. 如請求項1至3中任一項所述之控制程式生成裝置,其中, The control program generating device according to any one of claims 1 to 3, wherein: 該基本動作儲存部,除該基本動作,將擴音器之聲音輸出動作或燈之發光動作之至少一者,與用於實現該聲音輸出動作或該發光動作之該程式元件相對應並儲存; The basic action storage unit, in addition to the basic action, corresponds to and stores at least one of the sound output action of the loudspeaker or the light-emitting action of the lamp with the program element used to realize the sound output action or the light-emitting action; 該動作圖讀取部,可讀取包含該聲音輸出動作或該發光動作之至少一者之該動作圖。 The action diagram reading unit can read the action diagram including at least one of the sound output action or the light-emitting action. 如請求項1至4中任一項所述之控制程式生成裝置,其中, The control program generating device according to any one of claims 1 to 4, wherein: 該基本動作儲存部,除該基本動作,將加熱器之加熱動作與用於實現該加熱動作之該程式元件相對應並儲存; The basic action storage unit, in addition to the basic action, corresponds and stores the heating action of the heater with the program element used to realize the heating action; 該動作圖讀取部,可讀取包含該加熱動作之該動作圖。 The action diagram reading unit can read the action diagram including the heating action. 如請求項1至5中任一項所述之控制程式生成裝置,其中, The control program generating device according to any one of claims 1 to 5, wherein: 該基本動作記憶部, The basic movement memory, 將藉由順序控制所控制之該致動器之該基本動作,與藉由該順序控制實現該基本動作之該程式元件相對應並儲存; Correspond and store the basic action of the actuator controlled by the sequence control with the program element that realizes the basic action by the sequence control; 將藉由伺服控制所控制之該致動器之該基本動作,與藉由該伺服控制實現該基本動作之該程式元件相對應並儲存。 The basic action of the actuator controlled by the servo control is corresponding to the program element that realizes the basic action by the servo control and stored. 一種控制程式生成方法,其係藉由電腦生成具備複數個致動器(10~20)之自動製造機械(1)之控制程式者,其特徵係具備: A method for generating a control program, which generates a control program for an automatic manufacturing machine (1) equipped with a plurality of actuators (10-20) through a computer, and is characterized by: 動作圖讀取步驟(103),讀取使用表示該致動器每個自由度的動作之基本動作、及將其他該基本動作之開始與該基本動作之結束相關聯之邏輯運算,從而描述該自動製造機械動作之該動作圖(200); The action diagram reading step (103) is to read and use the basic action representing the action of each degree of freedom of the actuator, and the logical operation that associates the beginning of the basic action with the end of the basic action, thereby describing the The action diagram of automatic manufacturing machinery action (200); 動作圖解析步驟(104),藉由解析該動作圖,擷取該動作圖所包含之複數個該基本動作、及將複數個該基本動作相關聯之邏輯運算;及 An action diagram analysis step (104), by analyzing the action diagram, extracting a plurality of the basic actions included in the action diagram, and logical operations that associate a plurality of the basic actions; and 控制程式生成步驟(105),藉由參照將該基本動作與用於實現該基本動作之程式元件相對應並儲存之資料(102),從而在將記載於該動作圖之該基本動作變換為該程式元件的同時,依照該動作圖結合該程式元件,進而生成使該自動製造機械動作之該控制程式。 In the control program generation step (105), by referring to the stored data (102) corresponding to the basic action and the program element used to realize the basic action, the basic action recorded in the action diagram is transformed into the Simultaneously with the program components, the program components are combined in accordance with the action diagram to generate the control program for the automatic manufacturing machine to operate. 一種程式,其係使用電腦實現生成具備複數個致動器(10~20) 之自動製造機械(1)之控制程式之方法者,其特徵係使用電腦實現: A program that uses a computer to generate multiple actuators (10~20) The method of the control program of the automatic manufacturing machine (1) is characterized by the use of a computer: 動作圖讀取功能(103),讀取使用表示該致動器每個自由度的動作之基本動作、及將其他該基本動作之開始與該基本動作之結束相關聯之邏輯運算,從而描述該自動製造機械動作之該動作圖(200); Action diagram reading function (103), which reads and uses the basic motion representing the motion of each degree of freedom of the actuator, and logical operations that associate the beginning of the basic motion with the end of the basic motion, thereby describing the The action diagram of automatic manufacturing machinery action (200); 動作圖解析功能(104),藉由解析該動作圖,擷取該動作圖所包含之複數個該基本動作、及將複數個該基本動作相關聯之邏輯運算;及 The action diagram analysis function (104), by analyzing the action diagram, captures a plurality of the basic actions contained in the action diagram, and logical operations that associate a plurality of the basic actions; and 控制程式生成功能(105),藉由參照將該基本動作與用於實現該基本動作之程式元件相對應並儲存之資料(102),從而在將記載於該動作圖之該基本動作變換為該程式元件的同時,依照該動作圖結合該程式元件,進而生成使該自動製造機械動作之該控制程式。 The control program generation function (105), by referring to the stored data (102) corresponding to the basic action and the program element used to realize the basic action, the basic action recorded in the action diagram is transformed into the Simultaneously with the program components, the program components are combined in accordance with the action diagram to generate the control program for the automatic manufacturing machine to operate.
TW109143936A 2020-01-28 2020-12-11 Control program generation device, control program generation method, and program TW202129443A (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
TW202129443A true TW202129443A (en) 2021-08-01

Family

ID=73220068

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109143936A TW202129443A (en) 2020-01-28 2020-12-11 Control program generation device, control program generation method, and program

Country Status (7)

Country Link
US (1) US20220291653A1 (en)
EP (1) EP4099109A4 (en)
JP (2) JP6787616B1 (en)
KR (1) KR102476173B1 (en)
CN (1) CN115023669A (en)
TW (1) TW202129443A (en)
WO (1) WO2021153521A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7037787B1 (en) * 2021-01-08 2022-03-17 株式会社ザイテック sequencer
KR102558102B1 (en) 2022-11-29 2023-07-21 최한수 User-configurable automated process control system
KR102589041B1 (en) * 2022-12-01 2023-10-19 (주)연합시스템 Machining speed control system for multiple smart machine tools using digital twin, server, method and program

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03154105A (en) * 1989-11-10 1991-07-02 Toshiba Mach Co Ltd Nc program generating device
JPH0991335A (en) * 1995-09-22 1997-04-04 Fuji Facom Corp Logic circuit design support device
JPH11202912A (en) * 1998-01-20 1999-07-30 Takashi Nishikawa Sequence control method
JP4039595B2 (en) * 1998-09-03 2008-01-30 リコーエレメックス株式会社 Robot system
JP4888582B2 (en) 2010-05-28 2012-02-29 株式会社安川電機 Robot device, processing system, and method of manufacturing processed product
WO2013099032A1 (en) * 2011-12-28 2013-07-04 株式会社安川電機 Motion controller and motor control system
DE112013007560T5 (en) * 2013-10-31 2016-08-11 Mitsubishi Electric Corporation Programmer, programmer and program
US10518409B2 (en) * 2014-09-02 2019-12-31 Mark Oleynik Robotic manipulation methods and systems for executing a domain-specific application in an instrumented environment with electronic minimanipulation libraries
JP6821497B2 (en) * 2017-04-27 2021-01-27 株式会社日立産機システム Data sharing method in the program development system of the industrial controller and the program development system of the industrial controller
JP6445084B2 (en) 2017-05-18 2018-12-26 ファナック株式会社 Machine Tools

Also Published As

Publication number Publication date
WO2021153521A1 (en) 2021-08-05
JP2021117975A (en) 2021-08-10
CN115023669A (en) 2022-09-06
US20220291653A1 (en) 2022-09-15
JP2021117804A (en) 2021-08-10
JP7148091B2 (en) 2022-10-05
KR20220062544A (en) 2022-05-17
EP4099109A1 (en) 2022-12-07
EP4099109A4 (en) 2024-03-27
KR102476173B1 (en) 2022-12-08
JP6787616B1 (en) 2020-11-18

Similar Documents

Publication Publication Date Title
TW202129443A (en) Control program generation device, control program generation method, and program
JP5000543B2 (en) Machine tool control method and apparatus therefor
US20220326688A1 (en) Control program generation apparatus, control program generation method, and program
JP2009297877A (en) Device and method for preparing robot teaching program
JP7074378B2 (en) Control program generator, control program generation method, program
WO2021153533A1 (en) Control program generation device, control program generation method, and program
TWM607486U (en) Visualized stack-controllable program compiling system
CN100361074C (en) Visualized three-dimensional graphic control programming method
TW202147048A (en) Control program generation device, control program generation method, and program
JP7114034B2 (en) Control program generation device, control program generation method, program
KR920008099B1 (en) Sewing data producing device for sewing machine
JP2528198B2 (en) Method and apparatus for creating ladder sequence program
JP2022026361A (en) Control program production system
US20220350310A1 (en) Operation control apparatus, operation control method, and program
JPH0728521A (en) Automatic generating method for simulation program
JPS62121515A (en) Numerical controller
JP2023104873A (en) Control program generation device, control program generation method, and program
TW201339776A (en) Automation controller that can be used flexibly
JPH0588719A (en) Picture cam converter
JPS63288685A (en) Robot operation-order drawing output method