JP2021177372A - 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
JP2021177372A
JP2021177372A JP2021009660A JP2021009660A JP2021177372A JP 2021177372 A JP2021177372 A JP 2021177372A JP 2021009660 A JP2021009660 A JP 2021009660A JP 2021009660 A JP2021009660 A JP 2021009660A JP 2021177372 A JP2021177372 A JP 2021177372A
Authority
JP
Japan
Prior art keywords
chart
numerical
actuator
basic
control program
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP2021009660A
Other languages
Japanese (ja)
Other versions
JP7114034B2 (en
Inventor
秀行 田中
Hideyuki Tanaka
利弘 可兒
Toshihiro Kani
秀典 尾崎
Shusuke Ozaki
照明 與語
Teruaki Yogo
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Opton Co Ltd
Original Assignee
Opton Co Ltd
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 Opton Co Ltd filed Critical Opton Co Ltd
Priority to EP21747216.6A priority Critical patent/EP4099107A4/en
Priority to CN202180011329.6A priority patent/CN115023670A/en
Priority to KR1020227014614A priority patent/KR102476169B1/en
Priority to PCT/JP2021/002590 priority patent/WO2021153544A1/en
Publication of JP2021177372A publication Critical patent/JP2021177372A/en
Priority to US17/852,009 priority patent/US20220326688A1/en
Application granted granted Critical
Publication of JP7114034B2 publication Critical patent/JP7114034B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)
  • Numerical Control (AREA)

Abstract

To avoid situations in which contents of an operation of an automatic manufacturing machine are wrongly described in an operation chart.SOLUTION: By dividing an operation period from the start to the end of an operation of an automatic manufacturing machine (1) into a plurality of partial periods, and further by dividing the operation of the automatic manufacturing machine into basic operations of a plurality of actuators and assigning the basic operations to one of the partial periods, the operation of the automatic manufacturing machine is described in an operation chart (200). The basic operations on the operation chart are described by using: an operation description (206a) in which the operation is qualitatively described; and a numerical table (206b) or a plurality of numerical parameters (206c). Subsequently, the operation chart in which the operation of the automatic manufacturing machine is described is read, the operation descriptions in the operation chart are converted into program elements stored in association with the operation descriptions, numerical values set to the numerical table or the plurality of numerical parameters are set to the program elements, and thereafter the program elements are combined in accordance with the order of the partial periods in the operation chart.SELECTED DRAWING: Figure 5

Description

本発明は、複数のアクチュエータを備えた自動製造機械の制御プログラムを生成する技術に関する。 The present invention relates to a technique for generating a control program of an automatic manufacturing machine including a plurality of actuators.

今日では、あらゆる業種に亘って、工場などの製造現場での省力化が強く要請されるようになっている。この要請に応えるためには自動製造機械を活用することが必須となる。そこで、加工あるいは製造しようとする対象物や、加工の内容(例えば、切削加工や、曲げ加工)などに応じて、様々なタイプの自動製造機械が開発されている(例えば、特許文献1、特許文献2)。 Today, there is a strong demand for labor saving at manufacturing sites such as factories across all industries. In order to meet this demand, it is essential to utilize automatic manufacturing machines. Therefore, various types of automatic manufacturing machines have been developed according to the object to be machined or manufactured, the content of the machining (for example, cutting or bending), etc. (for example, Patent Document 1, Patent). Document 2).

ここで、製造現場は、製造しようとする対象物の大きさや形状や材質や、加工の内容や条件が異なっていることが通常である。このため、他の製造現場で用いられている自動製造機械を流用することは困難であり、製造現場毎に専用の自動製造機械を開発することになる。そして、専用の自動製造機械を開発すると、その自動製造機械を制御するための制御プログラムも新たに開発する必要が生じる。 Here, the manufacturing site usually differs in the size, shape, material, processing content, and conditions of the object to be manufactured. For this reason, it is difficult to divert the automatic manufacturing machine used at other manufacturing sites, and a dedicated automatic manufacturing machine will be developed for each manufacturing site. Then, when a dedicated automatic manufacturing machine is developed, it becomes necessary to newly develop a control program for controlling the automatic manufacturing machine.

ところが、制御プログラムを開発するためには、ソフトウェアに関する専門知識を有する専門技術者(いわゆるプログラマ)が必要となる。しかも、自動製造機械の機械設計がある程度まで進んだ後でなければ制御プログラムの開発には着手できないので、制御プログラムの開発に要する期間を含めると、自動製造機械の開発に長い期間を要することになる。こうした点は、製造現場に自動製造機械を積極的に導入しようとした時の大きな障害となっている。 However, in order to develop a control program, a specialized engineer (so-called programmer) who has specialized knowledge about software is required. Moreover, the development of the control program can only be started after the mechanical design of the automatic manufacturing machine has progressed to a certain extent, so if the period required for the development of the control program is included, it will take a long time to develop the automatic manufacturing machine. Become. These points are major obstacles when trying to actively introduce automatic manufacturing machines to manufacturing sites.

そこで本願の発明者らは、自動製造機械の動作を特殊な動作チャートに記述して、動作チャートから制御プログラムを自動生成することで、こうした問題点を一気に解決する技術を開発して既に出願済みである(特願2020−075017)。尚、この特殊な動作チャートは、本願の発明者が開発した従来には存在しない動作チャートであるため、以下では「YOGOチャート」と呼ぶことがある。この動作チャート(YOGOチャート)は、自動製造機械の動作を理解していれば容易に作成することができ、しかも、この動作チャートから自動で制御プログラムを生成することができる。このため、自動製造機械の開発に要する期間を大幅に短縮することができ、しかもプログラマを確保する必要もないので製造コストも抑制することが可能である。 Therefore, the inventors of the present application have already applied for a technique for solving these problems at once by describing the operation of an automatic manufacturing machine in a special operation chart and automatically generating a control program from the operation chart. (Japanese Patent Application No. 2020-075017). Since this special operation chart is an operation chart developed by the inventor of the present application that does not exist in the past, it may be referred to as a "YOGO chart" below. This operation chart (YOGO chart) can be easily created if the operation of the automatic manufacturing machine is understood, and a control program can be automatically generated from this operation chart. Therefore, the period required for the development of the automatic manufacturing machine can be significantly shortened, and since it is not necessary to secure a programmer, the manufacturing cost can be suppressed.

特開2011−245602号公報Japanese Unexamined Patent Publication No. 2011-245602 特開2018−192570号公報JP-A-2018-192570

しかし、上述した出願中の技術であっても、動作チャート(YOGOチャート)に自動製造機械の動作を記述する際に間違えてしまうと、自動製造機械を意図した通りに動作させることができなくなる。このため、動作チャート(YOGOチャート)に自動製造機械の動作を記述する際に誤った内容を記述する事態を可能な限り減少させる技術の開発が要請されている。 However, even with the above-mentioned pending technology, if an error is made in describing the operation of the automatic manufacturing machine on the operation chart (YOGO chart), the automatic manufacturing machine cannot be operated as intended. Therefore, there is a demand for the development of a technique for reducing as much as possible the situation where an erroneous content is described when describing the operation of an automatic manufacturing machine on an operation chart (YOGO chart).

この発明は、従来の技術が有する上述した課題を解決するために成されたものであり、動作チャート(YOGOチャート)に自動製造機械の動作を記述する際に、誤った内容を記述する事態を減少させることが可能な技術の提供を目的とする。 The present invention has been made to solve the above-mentioned problems of the prior art, and when describing the operation of an automatic manufacturing machine on an operation chart (YOGO chart), a situation in which an erroneous content is described is described. The purpose is to provide technology that can be reduced.

上述した課題を解決するために、本発明の制御プログラム生成装置は次の構成を採用した。すなわち、
複数のアクチュエータ(10〜20)を備えた自動製造機械(1)の制御プログラムを生成する制御プログラム生成装置(100a、110)であって、
前記アクチュエータの自由度毎の動作を表す基本動作(206)を、前記基本動作を実現するプログラム要素と対応付けて記憶している基本動作記憶部(102)と、
前記自動製造機械が動作を開始してから終了するまでの動作期間が複数の部分期間に分割されており、前記自動製造機械の動作が複数の前記基本動作に分解されると共に、前記基本動作が前記複数の部分期間の何れかに割り当てられることによって前記自動製造機械の動作が記述された動作チャート(200)を読み込む動作チャート読込部(103)と、
前記動作チャート上の複数の前記部分期間に割り当てられた複数の前記基本動作の前記プログラム要素を、前記動作チャート上での前記部分期間の順序に従って結合することにより、前記自動製造機械を動作させる前記制御プログラムを生成する制御プログラム生成部(105)と
を備え、
前記基本動作記憶部は、前記基本動作の内容を、定性的に前記基本動作を記述するための動作記述(206a)と、前記基本動作の定量事項を数値によって記述するための数値記述とに分けた上で、前記基本動作の動作記述に対応する前記プログラム要素と、前記数値記述に対応する数値テーブル(206b)または前記数値記述に対応する複数の数値パラメータ(206c)とを記憶しており、
前記動作チャート読込部は、前記動作記述と、前記数値テーブルまたは前記複数の数値パラメータとを用いて前記基本動作が記載された前記動作チャートを読み込んでおり、
前記制御プログラム生成部は、複数の前記プログラム要素を結合する際に、前記プログラム要素の前記動作記述と共に記載された前記数値テーブルまたは前記複数の数値パラメータに従って、前記プログラム要素に数値を設定する
ことを特徴とする。
In order to solve the above-mentioned problems, the control program generator of the present invention adopts the following configuration. That is,
A control program generator (100a, 110) for generating a control program of an automatic manufacturing machine (1) provided with a plurality of actuators (10 to 20).
A basic operation storage unit (102) that stores a basic operation (206) representing an operation for each degree of freedom of the actuator in association with a program element that realizes the basic operation.
The operation period from the start to the end of the operation of the automatic manufacturing machine is divided into a plurality of partial periods, the operation of the automatic manufacturing machine is decomposed into the plurality of basic operations, and the basic operation is divided into a plurality of basic operations. An operation chart reading unit (103) that reads an operation chart (200) in which the operation of the automatic manufacturing machine is described by being assigned to any of the plurality of partial periods.
The automatic manufacturing machine is operated by combining the program elements of the basic operation assigned to the partial period on the operation chart in the order of the partial periods on the operation chart. It is equipped with a control program generator (105) that generates a control program.
The basic operation storage unit divides the content of the basic operation into an operation description (206a) for qualitatively describing the basic operation and a numerical description for numerically describing the quantitative items of the basic operation. Then, the program element corresponding to the operation description of the basic operation and the numerical table (206b) corresponding to the numerical description or a plurality of numerical parameters (206c) corresponding to the numerical description are stored.
The operation chart reading unit reads the operation chart in which the basic operation is described by using the operation description and the numerical table or the plurality of numerical parameters.
When a plurality of the program elements are combined, the control program generator sets a numerical value in the program element according to the numerical table or the plurality of numerical parameters described together with the operation description of the program element. It is a feature.

また、上述した制御プログラム生成装置に対応する本発明の制御プログラム生成方法は次の構成を採用した。すなわち、
複数のアクチュエータ(10〜20)を備えた自動製造機械(1)の制御プログラムをコンピュータによって生成する制御プログラム生成方法であって、
前記自動製造機械が動作を開始してから終了するまでの動作期間が複数の部分期間に分割されており、前記自動製造機械の動作が、前記アクチュエータの自由度毎の動作を表す複数の基本動作(206)に分解されると共に、前記基本動作が前記複数の部分期間の何れかに割り当てられることによって前記自動製造機械の動作が記述された動作チャート(200)を読み込む動作チャート読込工程(STEP1)と、
前記動作チャートを解析することによって、前記動作チャートに含まれる複数の前記基本動作と、複数の前記基本動作が割り当てられた前記部分期間とを抽出する動作チャート解析工程(STEP2)と、
前記基本動作を実現するためのプログラム要素を、前記動作チャート中で前記基本動作が割り当てられた前記部分期間の順番に従って結合することによって、前記自動製造機械を動作させる前記制御プログラムを生成する制御プログラム生成工程(STEP3)と
を備え、
前記動作チャート読込工程は、前記動作チャート中の前記基本動作が、前記基本動作の内容を定性的に記述するための動作記述(206a)と、前記基本動作の定量事項を数値によって記述するための数値テーブル(206b)または前記複数の数値パラメータ(206c)とを用いて記載された前記動作チャートを読み込む工程であり、
前記制御プログラム生成工程は、前記基本動作の前記動作記述と、前記動作記述を実現するためのプログラム要素とが対応付けて記憶された対応関係を参照することによって、前記動作記述を前記プログラム要素に変換すると共に、前記動作記述と共に記載された前記数値テーブルまたは前記複数の数値パラメータに従って前記プログラム要素に数値を設定した後、前記プログラム要素を前記部分期間の順番に従って結合することによって前記制御プログラムを生成する工程である
ことを特徴とする。
Further, the control program generation method of the present invention corresponding to the above-mentioned control program generation device adopts the following configuration. That is,
A control program generation method in which a control program of an automatic manufacturing machine (1) equipped with a plurality of actuators (10 to 20) is generated by a computer.
The operation period from the start to the end of the operation of the automatic manufacturing machine is divided into a plurality of partial periods, and the operation of the automatic manufacturing machine is a plurality of basic operations representing the operation of each degree of freedom of the actuator. The operation chart reading step (STEP1) of reading the operation chart (200) in which the operation of the automatic manufacturing machine is described by being decomposed into (206) and the basic operation being assigned to any of the plurality of partial periods. When,
An operation chart analysis step (STEP2) of extracting a plurality of the basic operations included in the operation chart and the partial period to which the plurality of basic operations are assigned by analyzing the operation chart.
A control program that generates the control program for operating the automatic manufacturing machine by combining program elements for realizing the basic operation in the order of the partial periods to which the basic operation is assigned in the operation chart. Equipped with a generation process (STEP3)
The operation chart reading step is for the basic operation in the operation chart to numerically describe an operation description (206a) for qualitatively describing the content of the basic operation and quantitative items of the basic operation. It is a step of reading the operation chart described by using the numerical table (206b) or the plurality of numerical parameters (206c).
The control program generation step converts the operation description into the program element by referring to a correspondence relationship stored in association with the operation description of the basic operation and the program element for realizing the operation description. The control program is generated by converting and setting numerical values in the program elements according to the numerical table or the plurality of numerical parameters described together with the operation description, and then combining the program elements in the order of the partial periods. It is characterized in that it is a process to be performed.

かかる本発明の制御プログラム生成装置および制御プログラム生成方法では、自動製造機械の動作が動作チャートに予め記述されている。この動作チャートは次のような動作チャートとなっている。先ず、自動製造機械が動作を開始してから終了するまでの動作期間が複数の部分期間に分割されており、また、自動製造機械の動作が、複数のアクチュエータの基本動作に分解されている。そして、それらの基本動作が、複数の部分期間の何れかに割り当てられることによって、自動製造機械の動作が記述されている。また、動作チャート中の基本動作は、基本動作の定性的な内容が動作記述によって記載され、数値によって記述される基本動作の定量事項が数値テーブルまたは複数の数値パラメータによって記載されている。更に、動作記述には、その動作記述が表す動作を実現するプログラム要素が対応付けて予め記憶されている。そして、自動製造機械の制御プログラムを生成するに際しては、自動製造機械の動作が記述された動作チャートを読み込んで、動作チャートに記載された基本動作の動作記述をプログラム要素に変換すると共に、動作記述と共に記載された数値テーブルまたは複数の数値パラメータに設定されている数値を、ブログラム要素に設定する。そして、それらのプログラム要素を、部分期間の順番に従って結合することによって、制御プログラムを生成する。 In the control program generation device and the control program generation method of the present invention, the operation of the automatic manufacturing machine is described in advance in the operation chart. This operation chart is as follows. First, the operation period from the start to the end of the operation of the automatic manufacturing machine is divided into a plurality of partial periods, and the operation of the automatic manufacturing machine is decomposed into the basic operations of the plurality of actuators. Then, the operation of the automatic manufacturing machine is described by assigning those basic operations to any of a plurality of subperiods. Further, as for the basic operation in the operation chart, the qualitative contents of the basic operation are described by the operation description, and the quantitative items of the basic operation described by the numerical values are described by the numerical table or a plurality of numerical parameters. Further, in the operation description, program elements that realize the operation represented by the operation description are associated and stored in advance. Then, when generating the control program of the automatic manufacturing machine, the operation chart in which the operation of the automatic manufacturing machine is described is read, the operation description of the basic operation described in the operation chart is converted into a program element, and the operation description is performed. Set the numerical value set in the numerical table or multiple numerical parameters described with to the program element. Then, the control program is generated by combining those program elements in the order of the partial periods.

動作記述は、アクチュエータの単純な動作である基本動作を定性的に記述したものであるため、アクチュエータに動作記述の動作を行わせるプログラム要素を予め作成しておくことができる。もちろん、ブログラム要素を用いてアクチュエータに動作させるためには、例えば動作量や動作速度などの定量事項を指定する必要が生じるが、これらの数値は数値テーブルまたは複数の数値パラメータとして、動作記述とは別に設定しておく。このような動作チャートは、自動製造機械を設計した機械設計技術者や、自動製造機械の構造について十分な知識を有する技術者であれば、容易に作成することができる。そして、作成した動作チャートを読み込んで、動作チャート中の動作記述をプログラム要素に変換すると共に、動作記述と共に記載されている数値テーブルに従ってプログラム要素に数値を設定した後、それらのプログラム要素を動作チャートに従って結合してやれば、自動製造機械の動作を制御する制御プログラムを自動で生成することが可能となる。加えて、動作チャートに基本動作を記載する際に、動作記述と、数値テーブルまたは数値パラメータとに分けて記載しているので、以下の理由から、動作チャート(YOGOチャート)に誤った内容が記載される事態を大幅に減少させることができる。すなわち、動作記述は、人間がアクチュエータにさせたい動作を素直に表現したものに過ぎないから、動作チャート上に動作記述を記載する作業は、人間の意図を素直に表現する作業に過ぎず、従って、誤った内容を記載する可能性を大幅に減らすことができる。もちろん、動作記述を記載しただけでは、具体的な数値が設定されていないのでアクチュエータを動作させることはできないが、これらは数値テーブルまたは数値パラメータに設定された数値を使用することができる。そして、具体的な数値を修正する場合でも、数値テーブルまたは数値パラメータに設定された数値を修正すればよいので、動作チャートは修正する必要が無い。このため、修正時に動作チャートを誤って変更してしまうこともない。その結果、動作チャート(YOGOチャート)に誤った内容が記載される事態を大幅に減少させることが可能となる。 Since the motion description qualitatively describes the basic motion, which is a simple motion of the actuator, a program element for causing the actuator to perform the motion of the motion description can be created in advance. Of course, in order to operate the actuator using the program element, it is necessary to specify quantitative items such as the amount of operation and the operation speed, but these numerical values are described as an operation description as a numerical table or a plurality of numerical parameters. Is set separately. Such an operation chart can be easily created by a mechanical design engineer who designed an automatic manufacturing machine or an engineer who has sufficient knowledge about the structure of the automatic manufacturing machine. Then, the created operation chart is read, the operation description in the operation chart is converted into a program element, numerical values are set in the program element according to the numerical table described together with the operation description, and then those program elements are converted into the operation chart. If they are combined according to the above, it is possible to automatically generate a control program that controls the operation of the automatic manufacturing machine. In addition, when describing the basic operation on the operation chart, the operation description and the numerical table or numerical parameters are described separately. Therefore, for the following reasons, incorrect contents are described in the operation chart (YOGO chart). The situation that is done can be greatly reduced. That is, since the motion description is merely a straightforward expression of the motion that the human wants the actuator to perform, the task of describing the motion description on the motion chart is merely a task of straightforwardly expressing the human intention. , The possibility of writing incorrect content can be greatly reduced. Of course, it is not possible to operate the actuator because the specific numerical values are not set only by describing the operation description, but these can use the numerical values set in the numerical table or the numerical parameters. Then, even when modifying a specific numerical value, it is sufficient to modify the numerical value set in the numerical table or the numerical parameter, so that the operation chart does not need to be modified. Therefore, the operation chart will not be changed by mistake at the time of correction. As a result, it is possible to significantly reduce the situation where an erroneous content is described in the operation chart (YOGO chart).

また、上述した本発明の制御プログラム生成装置においては、数値テーブルまたは数値パラメータには、基本動作の動作量または動作速度または動作荷重の少なくとも1つを含む複数の数値を設定することとしても良い。 Further, in the control program generator of the present invention described above, a plurality of numerical values including at least one of the operating amount, operating speed, or operating load of the basic operation may be set in the numerical table or the numerical parameter.

基本動作の動作量または動作速度または動作荷重などは、アクチュエータを意図した通りに基本動作させるためには必要な数値であるが、動作記述では記述することができない。そこで、これらを数値テーブルまたは数値パラメータに設定しておけば、アクチュエータを意図した通りに基本動作させることができ、その結果、自動製造機械を適切に動作させることが可能となる。 The operating amount, operating speed, operating load, etc. of the basic operation are numerical values necessary for the actuator to perform the basic operation as intended, but cannot be described in the operation description. Therefore, if these are set in the numerical table or the numerical parameters, the actuator can be basically operated as intended, and as a result, the automatic manufacturing machine can be operated appropriately.

また、上述した本発明の制御プログラム生成装置においては、数値テーブルに数値が設定されていない場合には、予め適切な数値が設定された参照テーブルを参照するようにしてもよい。 Further, in the control program generator of the present invention described above, when a numerical value is not set in the numerical table, a reference table in which an appropriate numerical value is set in advance may be referred to.

こうすれば、数値テーブルに数値を設定しておかなくても、参照テーブルに設定された数値を用いてアクチュエータを動作させることができる。そして、必要に応じて、数値テーブルに適切な数値を設定して行けば、自動製造機械を適切に動作させることが可能となる。 In this way, the actuator can be operated using the numerical value set in the reference table without setting the numerical value in the numerical value table. Then, if necessary, if an appropriate numerical value is set in the numerical value table, the automatic manufacturing machine can be operated appropriately.

また、上述した本発明の制御プログラム生成装置においては、基本動作の動作開始を待機する動作待機時間を、数値テーブルまたは数値パラメータに設定可能としても良い。 Further, in the control program generator of the present invention described above, the operation waiting time for waiting for the start of the operation of the basic operation may be set in the numerical table or the numerical parameter.

こうすれば、数値テーブルまたは数値パラメータに動作待機時間を設定しておくことで、動作待機時間が経過してからアクチュエータに基本動作させることができる。また、複数のアクチュエータに基本動作させる場合には、それぞれのアクチュエータの数値テーブルまたは数値パラメータに設定する動作待機時間を調節することで、各アクチュエータが基本動作を開始するタイミングを少しずつ異ならせるような、細かな動作も簡単に記述することが可能となる。 By doing so, by setting the operation standby time in the numerical table or the numerical parameter, the actuator can be basically operated after the operation standby time has elapsed. In addition, when the basic operation is performed on multiple actuators, the timing at which each actuator starts the basic operation is slightly different by adjusting the operation standby time set in the numerical table or numerical parameter of each actuator. , It is possible to easily describe detailed operations.

また、前述した本発明の制御プログラム生成方法は、コンピュータを用いて制御プログラム生成方法を実現するためのプログラムとして把握することも可能である。すなわち、本発明のプログラムは、
複数のアクチュエータ(10〜20)を備えた自動製造機械(1)の制御プログラムを生成する方法を、コンピュータを用いて実現するプログラムであって、
前記自動製造機械が動作を開始してから終了するまでの動作期間が複数の部分期間に分割されており、前記自動製造機械の動作が、前記アクチュエータの自由度毎の動作を表す複数の基本動作(206)に分解されると共に、前記基本動作が前記複数の部分期間の何れかに割り当てられることによって前記自動製造機械の動作が記述された動作チャート(200)を読み込む動作チャート読込機能(STEP1)と、
前記動作チャートを解析することによって、前記動作チャートに含まれる複数の前記基本動作と、複数の前記基本動作が割り当てられた前記部分期間とを抽出する動作チャート解析機能(STEP2)と、
前記基本動作を実現するためのプログラム要素を、前記動作チャート中で前記基本動作が割り当てられた前記部分期間の順番に従って結合することによって、前記自動製造機械を動作させる前記制御プログラムを生成する制御プログラム生成機能(STEP3)と
を前記コンピュータによって実現させており、
前記動作チャート読込機能は、前記動作チャート中の前記基本動作が、前記基本動作の内容を定性的に記述するための動作記述(206a)と、前記基本動作の定量事項を数値によって記述するための数値テーブル(206b)または前記複数の数値パラメータ(206c)とを用いて記載された前記動作チャートを読み込む機能であり、
前記制御プログラム生成機能は、前記基本動作の前記動作記述と、前記動作記述を実現するためのプログラム要素とが対応付けて記憶された対応関係を参照することによって、前記動作記述を前記プログラム要素に変換すると共に、前記動作記述と共に記載された前記数値テーブルまたは前記複数の数値パラメータに従って前記プログラム要素に数値を設定した後、前記プログラム要素を前記部分期間の順番に従って結合することによって前記制御プログラムを生成する機能である
ことを特徴とする。
Further, the control program generation method of the present invention described above can be grasped as a program for realizing the control program generation method using a computer. That is, the program of the present invention
A program that realizes a method of generating a control program of an automatic manufacturing machine (1) provided with a plurality of actuators (10 to 20) by using a computer.
The operation period from the start to the end of the operation of the automatic manufacturing machine is divided into a plurality of partial periods, and the operation of the automatic manufacturing machine is a plurality of basic operations representing the operation of each degree of freedom of the actuator. The operation chart reading function (STEP1) for reading the operation chart (200) in which the operation of the automatic manufacturing machine is described by being decomposed into (206) and the basic operation being assigned to any of the plurality of partial periods. When,
An operation chart analysis function (STEP2) for extracting a plurality of the basic operations included in the operation chart and the partial period to which the plurality of basic operations are assigned by analyzing the operation chart.
A control program that generates the control program for operating the automatic manufacturing machine by combining program elements for realizing the basic operation in the order of the partial periods to which the basic operation is assigned in the operation chart. The generation function (STEP3) is realized by the computer.
The operation chart reading function is for the basic operation in the operation chart to numerically describe an operation description (206a) for qualitatively describing the content of the basic operation and quantitative items of the basic operation. It is a function of reading the operation chart described by using the numerical table (206b) or the plurality of numerical parameters (206c).
The control program generation function converts the operation description into the program element by referring to a correspondence relationship stored in association with the operation description of the basic operation and the program element for realizing the operation description. The control program is generated by converting and setting numerical values in the program elements according to the numerical table or the plurality of numerical parameters described together with the operation description, and then combining the program elements in the order of the partial periods. The feature is that it is a function to perform.

このようなプログラムをコンピュータに読み込ませて実行させれば、自動製造機械の動作を制御する制御プログラムを動作チャートから自動で生成することができ、更に、動作チャートに誤った内容が記載されてしまう事態も防止することが可能となる。 If such a program is loaded into a computer and executed, a control program that controls the operation of the automatic manufacturing machine can be automatically generated from the operation chart, and erroneous contents are described in the operation chart. It is possible to prevent the situation.

本実施例の自動製造機械制御装置100によって制御される自動製造機械1の外観形状を示した説明図である。It is explanatory drawing which showed the appearance shape of the automatic manufacturing machine 1 controlled by the automatic manufacturing machine control device 100 of this Example. 自動製造機械制御装置100が、自動製造機械1に搭載された各種のアクチュエータ10〜20の動作を制御する様子を概念的に示したブロック図である。It is a block diagram conceptually showing how the automatic manufacturing machine control device 100 controls the operation of various actuators 10 to 20 mounted on the automatic manufacturing machine 1. 新たな自動製造機械1を開発するための大まかな工程を概念的に示した説明図である。It is explanatory drawing which conceptually showed the rough process for developing a new automatic manufacturing machine 1. 本実施例の自動製造機械制御装置100が自動製造機械1を動作チャート(YOGOチャート)から自動製造機械1の制御プログラムを自動で生成する基本原理についての説明図である。It is explanatory drawing about the basic principle that the automatic manufacturing machine control device 100 of this Example automatically generates the control program of the automatic manufacturing machine 1 from the operation chart (YOGO chart) of the automatic manufacturing machine 1. 本実施例の自動製造機械制御装置100が読み込む自動製造機械1の動作チャート(YOGOチャート)の一部を例示した説明図である。It is explanatory drawing which illustrated a part of the operation chart (YOGO chart) of the automatic manufacturing machine 1 read by the automatic manufacturing machine control device 100 of this Example. 基本動作の動作記述206aについての説明図である。It is explanatory drawing about the operation description 206a of a basic operation. 「Ω−AA」という動作記述206aに対する数値テーブル206bを例示した説明図である。It is explanatory drawing which illustrated the numerical table 206b with respect to the operation description 206a called "Ω-AA". 「Ω−AB」という動作記述206aに対する数値テーブル206bを例示した説明図である。It is explanatory drawing which illustrated the numerical table 206b with respect to the operation description 206a called "Ω-AB". 「Ω−AC」という動作記述206aに対する数値テーブル206bを例示した説明図である。It is explanatory drawing which illustrated the numerical table 206b with respect to the operation description 206a called "Ω-AC". 「Ω−AA」という動作記述206aに対する数値テーブル206bの参照テーブルを例示した説明図である。It is explanatory drawing which illustrated the reference table of the numerical value table 206b with respect to the operation description 206a of "Ω-AA". 「Ω−AB」という動作記述206aに対する数値テーブル206bの参照テーブルを例示した説明図である。It is explanatory drawing which illustrated the reference table of the numerical value table 206b with respect to the operation description 206a called "Ω-AB". 「Ω−AC」という動作記述206aに対する数値テーブル206bの参照テーブルを例示した説明図である。It is explanatory drawing which illustrated the reference table of the numerical value table 206b with respect to the operation description 206a of "Ω-AC". 本実施例の自動製造機械制御装置100が備える機能を示した説明図である。It is explanatory drawing which showed the function which the automatic manufacturing machine control apparatus 100 of this Example has. 本実施例の基本動作記憶部102に記憶された対応関係によって、アクチュエータと動作記述206aとプログラム要素番号とが対応づけられている様子を示した説明図である。It is explanatory drawing which showed the mode that the actuator, the operation description 206a, and the program element number are associated with each other by the correspondence relationship stored in the basic operation storage unit 102 of this embodiment. 本実施例の自動製造機械制御装置100が動作チャート(YOGOチャート)から制御プログラムを生成する制御プログラム生成処理のフローチャートである。6 is a flowchart of a control program generation process in which the automatic manufacturing machine control device 100 of this embodiment generates a control program from an operation chart (YOGO chart). 制御プログラム生成処理の中で実行されるYOGOチャート解析処理のフローチャートである。It is a flowchart of YOGO chart analysis processing executed in the control program generation processing. YOGOチャート解析処理によって生成される中間データを例示した説明図である。It is explanatory drawing which illustrated the intermediate data generated by the YOGO chart analysis processing. 中間データを変換することによって生成された制御プログラムを例示した説明図である。It is explanatory drawing which illustrated the control program generated by converting the intermediate data. 本実施例の自動製造機械制御装置100が制御プログラムデータに基づいて各アクチュエータの動作を制御する動作制御処理のフローチャートである。6 is a flowchart of an operation control process in which the automatic manufacturing machine control device 100 of this embodiment controls the operation of each actuator based on the control program data. 自動製造機械制御装置100がYOGOチャート処理装置100aと制御実行装置100bとによって形成された変形例についての説明図である。It is explanatory drawing about the modification which the automatic manufacturing machine control apparatus 100 was formed by the YOGO chart processing apparatus 100a, and the control execution apparatus 100b. 動作待機時間を設定可能な数値テーブル206bを例示した説明図である。It is explanatory drawing which illustrated the numerical table 206b which can set the operation waiting time. 数値テーブル206bの替わりに複数の数値パラメータ206cを用いて基本動作206を記載する様子を例示した説明図である。It is explanatory drawing which illustrated the mode that the basic operation 206 is described by using a plurality of numerical parameters 206c instead of a numerical table 206b. 数値テーブル206bまたは数値パラメータ206cに次動作許可位置を設定した様子を例示した説明図である。It is explanatory drawing which illustrated the appearance that the next operation permission position was set in the numerical table 206b or the numerical parameter 206c.

A.装置構成 :
図1は、本実施例の自動製造機械1の大まかな外観形状を示した説明図である。本実施例の自動製造機械1は、長尺のパイプ材に対して自動で曲げ加工を施すことによって、所望の形状に加工する工作機械(いわゆるパイプベンダ)である。もちろん、本実施例の自動製造機械1は、複数のアクチュエータを搭載して、対象物に対して把持、搬送、加工、加熱などの複数の動作を自動で実行することができれば、パイプベンダ以外の製造機械であっても良い。例えば、食料品を自動で製造するための製造機械であっても良い。あるいは、複数の関節を有するアームロボットと搬送装置とを組み合わせた製造システムであっても良い。
A. Device configuration :
FIG. 1 is an explanatory view showing a rough external shape of the automatic manufacturing machine 1 of this embodiment. The automatic manufacturing machine 1 of this embodiment is a machine tool (so-called pipe bender) that automatically bends a long pipe material to form a desired shape. Of course, if the automatic manufacturing machine 1 of this embodiment is equipped with a plurality of actuators and can automatically perform a plurality of operations such as gripping, transporting, processing, and heating on an object, it is not a pipe bender. It may be a manufacturing machine. For example, it may be a manufacturing machine for automatically manufacturing food products. Alternatively, it may be a manufacturing system in which an arm robot having a plurality of joints and a transfer device are combined.

図1に示したように、本実施例の自動製造機械1は、大まかには横長の直方体形状となっており、直方体の上面側には長手方向に2本のレール2が架設され、レール2上の一端側(図1では左側)には、加工対象の図示しないパイプ材を把持して搬送する搬送ユニット3が搭載されている。また、搬送ユニット3が搭載されている側に対して反対側には、図示しないパイプ材に曲げなどの加工を施す加工ユニット4が搭載されている。搬送ユニット3には、円柱形状の把持軸3aが突設されており、把持軸3aの先端には、図示しないパイプ材を把持するチャック3bが取り付けられている。このため、チャック3bでパイプ材を把持した状態で搬送ユニット3をレール2上で移動させることによって、パイプ材を加工ユニット4に供給し、そのパイプ材に対して加工ユニット4で曲げ加工などを施すことが可能となっている。 As shown in FIG. 1, the automatic manufacturing machine 1 of this embodiment has a roughly horizontally long rectangular parallelepiped shape, and two rails 2 are erected in the longitudinal direction on the upper surface side of the rectangular parallelepiped, and the rails 2 A transport unit 3 for gripping and transporting a pipe material (not shown) to be processed is mounted on one upper end side (left side in FIG. 1). Further, 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) is mounted. A cylindrical gripping shaft 3a is projected from the transport unit 3, and a chuck 3b for gripping a pipe material (not shown) is attached to the tip of the gripping shaft 3a. Therefore, by moving the transport unit 3 on the rail 2 while the pipe material is gripped by the chuck 3b, the pipe material is supplied to the processing unit 4, and the pipe material is bent by the processing unit 4. It is possible to apply.

本実施例の自動製造機械1は、搬送ユニット3の移動量によってパイプ材の送り量を制御することができるので、パイプ材に曲げ加工などを施す位置を自由に制御することができる。また、チャック3bが取り付けられた把持軸3aを軸回りに回転(いわゆる捻り動作)させることによって、所望の方向にパイプ材を曲げることも可能となっている。こうしたことを実現するために、搬送ユニット3の内部には、チャック3bを開閉させるためのアクチュエータ10や、把持軸3aを軸回りに回転させるためのアクチュエータ11や、把持軸3aを軸方向に進退動させるためのアクチュエータ12や、レール2上で搬送ユニット3を進退動させるためのアクチュエータ13などが搭載されている。本実施例の自動製造機械1では、これらのアクチュエータ10〜13は何れも交流電源で動作するサーボモータが用いられているが、アクチュエータに要求される性能に応じて、他の駆動方式のアクチュエータ(例えば、油圧シリンダや、ソレノイドや、ステッピングモータなど)を採用することができる。尚、搬送ユニット3には、把持軸3aの回転位置や、搬送ユニット3の移動位置を検出するためのエンコーダや、リミットスイッチなどのセンサー類も搭載されているが、図面が煩雑となることを回避する目的で、図1では図示が省略されている。 Since the automatic manufacturing machine 1 of this embodiment can control the feed amount of the pipe material by the movement amount of the transport unit 3, it is possible to freely control the position where the pipe material is bent or the like. Further, by rotating the gripping shaft 3a to which the chuck 3b is attached around the axis (so-called twisting operation), it is possible to bend the pipe material in a desired direction. In order to realize such a thing, the actuator 10 for opening and closing the chuck 3b, the actuator 11 for rotating the gripping shaft 3a around the axis, and the gripping shaft 3a advance and retreat in the axial direction inside the transport unit 3. An actuator 12 for moving the transfer unit 3 and an actuator 13 for moving the transport unit 3 on the rail 2 are mounted. In the automatic manufacturing machine 1 of the present embodiment, all of these actuators 10 to 13 use a servomotor that operates with an AC power supply, but depending on the performance required for the actuator, an actuator of another drive type (actuator of another drive method ( For example, a hydraulic cylinder, a solenoid, a stepping motor, etc.) can be adopted. The transfer unit 3 is also equipped with an encoder for detecting the rotation position of the gripping shaft 3a and the movement position of the transfer unit 3, and sensors such as a limit switch, but the drawing becomes complicated. For the purpose of avoiding this, the illustration is omitted in FIG.

加工ユニット4の内部には、パイプ材を曲げるためのアクチュエータ17や、パイプ材を曲げる際に、パイプ材に力を加える位置を移動させるためのアクチュエータ18や、加工ユニット4全体を上下方向に移動させるためのアクチュエータ19や、パイプ材に対してフランジと呼ばれる平端面を形成したり、バルジと呼ばれる環状の凸部を形成したりするためのアクチュエータ20などが搭載されている。尚、加工ユニット4にも、エンコーダや、接点スイッチなどのスイッチ・センサー類が搭載されているが、図面が煩雑となることを避けるため、これらについては図示が省略されている。 Inside the processing unit 4, the actuator 17 for bending the pipe material, the actuator 18 for moving the position where a force is applied to the pipe material when bending the pipe material, and the entire processing unit 4 are moved in the vertical direction. An actuator 19 for forming a flat end surface called a flange on a pipe material, an actuator 20 for forming an annular convex portion called a bulge, and the like are mounted. The processing unit 4 is also equipped with switches and sensors such as an encoder and a contact switch, but these are omitted from the drawing in order to avoid complicating the drawings.

また、加工ユニット4の内部には、上述した各種のアクチュエータ10〜13、17〜20を駆動するための複数のドライバ回路(図示は省略)が搭載されている。ここで、ドライバ回路とは、次のような機能を有する電気部品である。アクチュエータ10〜13、17〜20に所望の動作をさせるためには、アクチュエータ10〜13、17〜20に適切な波形の駆動電流を供給する必要がある。しかし、アクチュエータ10〜13、17〜20に供給するべき駆動電流は、アクチュエータ10〜13、17〜20の駆動方式によって異なっており、更に同じ方式のアクチュエータであっても、駆動電流の電流値はアクチュエータによって異なっている。そこで、アクチュエータ10〜13、17〜20にはドライバ回路と呼ばれる専用の電気部品が用意されており、ドライバ回路に対して駆動量を指定すると、ドライバ回路がアクチュエータ10〜13、17〜20に対して適切な駆動電流を出力し、その結果、アクチュエータ10〜13、17〜20が駆動されるようになっている。 Further, a plurality of driver circuits (not shown) for driving the various actuators 10 to 13 and 17 to 20 described above are mounted inside the processing unit 4. Here, the driver circuit is an electric component having the following functions. In order for the actuators 10 to 13 and 17 to 20 to perform the desired operation, it is necessary to supply the actuators 10 to 13 and 17 to 20 with a drive current having an appropriate waveform. However, the drive current to be supplied to the actuators 10 to 13 and 17 to 20 differs depending on the drive system of the actuators 10 to 13 and 17 to 20, and even if the actuators have the same system, the current value of the drive current is different. It depends on the actuator. Therefore, the actuators 10 to 13 and 17 to 20 are provided with dedicated electric components called driver circuits, and when the drive amount is specified for the driver circuit, the driver circuit is applied to the actuators 10 to 13 and 17 to 20. The appropriate drive current is output, and as a result, the actuators 10 to 13 and 17 to 20 are driven.

更に、図1に示されるように、2本のレール2の下方の空間にも各種の機械部品が搭載されているが、この空間は、加工ユニット4内に搭載された複数のドライバ回路(図示は省略)から、搬送ユニット3内の各種のアクチュエータ10〜13に向かって駆動電流を供給する電気ケーブル(図示は省略)や、搬送ユニット3に搭載された各種のスイッチ・センサー類からの信号を、加工ユニット4に伝達するための信号ケーブル(図示は省略)などが配線される空間となっている。レール2上で搬送ユニット3が進退動する動きに伴って、これらの電気ケーブルや信号ケーブルが空間内で移動すると、互いに絡まったり、何かに引っ掛かったりする虞が生じる。そこで、こうした事態が発生することを避けるため、レール2の下方の空間には、電気ケーブルや信号ケーブルに不要な遊びがある場合はケーブルを手繰ることによって不要な遊びを解消し、電気ケーブルや信号ケーブルが強い力で引っ張られる場合は、手繰ったケーブルを送り出すことによって、ケーブルに適度な遊びを持たせるためのアクチュエータ14〜16も搭載されている。本実施例の自動製造機械1では、アクチュエータ14〜16としてエアシリンダが採用されており、これらのエアシリンダの動作も、図示しないドライバ回路によって制御されている。 Further, as shown in FIG. 1, various mechanical parts are also mounted in the space below the two rails 2, and this space is a plurality of driver circuits (shown) mounted in the processing unit 4. Is omitted), signals from electric cables (not shown) that supply drive currents to various actuators 10 to 13 in the transfer unit 3 and various switches and sensors mounted on the transfer unit 3. , A space for wiring a signal cable (not shown) for transmitting to the processing unit 4. If these electric cables and signal cables move in the space as the transport unit 3 moves back and forth on the rail 2, there is a risk that they may get entangled with each other or get caught in something. Therefore, in order to avoid such a situation, if there is unnecessary play in the electric cable or signal cable in the space below the rail 2, the unnecessary play is eliminated by pulling the cable, and the electric cable or the electric cable or the signal cable is used. When the signal cable is pulled with a strong force, actuators 14 to 16 are also mounted to give the cable an appropriate amount of play by sending out the hand-held cable. In the automatic manufacturing machine 1 of this embodiment, air cylinders are adopted as actuators 14 to 16, and the operation of these air cylinders is also controlled by a driver circuit (not shown).

以上に説明したように、自動製造機械1には多数のアクチュエータ10〜20が搭載されている。そして、加工しようとする対象物(ここではパイプ材)を目的とする形状に自動で加工するためには、これらのアクチュエータ10〜20を適切なタイミングで、適切に動作させる必要がある。これらのアクチュエータ10〜20を駆動するのは、それぞれのアクチュエータ10〜20のドライバ回路であるが、ドライバ回路がそれぞれのアクチュエータ10〜20を駆動する動作は、後述する自動製造機械制御装置100が、予め読み込んでおいた制御プログラムに従って制御している。 As described above, the automatic manufacturing machine 1 is equipped with a large number of actuators 10 to 20. Then, in order to automatically process the object to be processed (here, the pipe material) into the desired shape, it is necessary to operate these actuators 10 to 20 appropriately at an appropriate timing. It is the driver circuits of the respective actuators 10 to 20 that drive these actuators 10 to 20, but the operation of the driver circuits driving the respective actuators 10 to 20 is carried out by the automatic manufacturing machine control device 100 described later. It is controlled according to the control program loaded in advance.

図2は、本実施例の自動製造機械制御装置100が、自動製造機械1に搭載されたアクチュエータ10〜20の動作を制御する様子を概念的に示したブロック図である。尚、図2においても、制御に必要なスイッチ・センサー類については図示が省略されている。図示されるように、自動製造機械制御装置100とアクチュエータ10との間には、アクチュエータ10の駆動用のドライバ回路10dが設けられており、自動製造機械制御装置100は、直接的にはドライバ回路10dを制御している。アクチュエータ11〜20についても同様に、自動製造機械制御装置100とアクチュエータ11〜20との間には、アクチュエータ11〜20を駆動するためのドライバ回路11d〜20dが設けられている。このように、自動製造機械制御装置100は、ドライバ回路10d〜20dを介して、間接的にアクチュエータ10〜20を制御している。 FIG. 2 is a block diagram conceptually showing how the automatic manufacturing machine control device 100 of this embodiment controls the operation of the actuators 10 to 20 mounted on the automatic manufacturing machine 1. Also in FIG. 2, the switches and sensors required for control are not shown. As shown in the drawing, a driver circuit 10d for driving the actuator 10 is provided between the automatic manufacturing machine control device 100 and the actuator 10, and the automatic manufacturing machine control device 100 directly has a driver circuit. It controls 10d. Similarly, for the actuators 11 to 20, driver circuits 11d to 20d for driving the actuators 11 to 20 are provided between the automatic manufacturing machine control device 100 and the actuators 11 to 20. In this way, the automatic manufacturing machine control device 100 indirectly controls the actuators 10 to 20 via the driver circuits 10d to 20d.

また、図1を用いて前述したように、本実施例の自動製造機械1では、アクチュエータ10〜13、17〜20にサーボモータが採用されており、アクチュエータ14〜16にはエアシリンダが採用されている。ここで、サーボモータとは、サーボ制御されたモータのことであり、位置(あるいは角度や、速度など)が目標値となるように、モータに流れる電流値をフィードバック制御することによって駆動されるモータである。また、エアシリンダとは、空気圧を利用して可動部を直線移動させるアクチュエータであり、圧縮空気の供給源に接続されたポートを開閉することによって動作するようになっている。また、ポートの開閉にはシーケンス制御が用いられている。 Further, as described above with reference to FIG. 1, in the automatic manufacturing machine 1 of this embodiment, servomotors are adopted for actuators 10 to 13, 17 to 20, and air cylinders are adopted for actuators 14 to 16. ing. Here, the servo motor is a servo-controlled motor, and is driven by feedback-controlling the current value flowing through the motor so that the position (or angle, speed, etc.) becomes a target value. Is. Further, the air cylinder is an actuator that linearly moves a movable part by using air pressure, and operates by opening and closing a port connected to a source of compressed air. In addition, sequence control is used to open and close the port.

このように本実施例の自動製造機械制御装置100には、サーボ制御されるアクチュエータ10〜13、17〜20と、シーケンス制御されるアクチュエータ14〜16とが接続されている。図中で、自動製造機械制御装置100とアクチュエータ10〜13、17〜20とが実線で接続されているのは、これらのアクチュエータ10〜13、17〜20がサーボ制御されていることを表している。また、自動製造機械制御装置100とアクチュエータ14〜16とが破線で接続されているのは、これらのアクチュエータ14〜16がシーケンス制御されることを表している。もちろん、サーボ制御やシーケンス制御以外の方式で制御されるアクチュエータを接続することも可能である。 In this way, the servo-controlled actuators 10 to 13, 17 to 20 and the sequence-controlled actuators 14 to 16 are connected to the automatic manufacturing machine control device 100 of the present embodiment. In the figure, the fact that the automatic manufacturing machine control device 100 and the actuators 10 to 13 and 17 to 20 are connected by a solid line indicates that these actuators 10 to 13 and 17 to 20 are servo-controlled. There is. Further, the fact that the automatic manufacturing machine control device 100 and the actuators 14 to 16 are connected by a broken line indicates that these actuators 14 to 16 are sequence-controlled. Of course, it is also possible to connect an actuator controlled by a method other than servo control or sequence control.

自動製造機械制御装置100は制御プログラムに従って、ドライバ回路10d〜20dを介してアクチュエータ10〜20を制御しており、その制御プログラムは、予め作成して自動製造機械制御装置100に読み込ませておく必要がある。ここで、図2に示したように多数のアクチュエータ10〜20を、適切なタイミングで適切に動作させるための制御プログラムを作成するのは容易なことではない。特に、サーボ制御やシーケンス制御のように、異なる制御方式のアクチュエータが混在している場合は、制御プログラムの作成に長い期間が必要となる。このため、新たな自動製造機械1の開発期間の中で、半分以上の期間が制御プログラムの作成に費やされてしまうのが現状となっている。 The automatic manufacturing machine control device 100 controls the actuators 10 to 20 via the driver circuits 10d to 20d according to the control program, and the control program needs to be created in advance and read into the automatic manufacturing machine control device 100. There is. Here, as shown in FIG. 2, it is not easy to create a control program for appropriately operating a large number of actuators 10 to 20 at an appropriate timing. In particular, when actuators of different control methods are mixed, such as servo control and sequence control, a long period of time is required to create a control program. For this reason, the current situation is that more than half of the development period of the new automatic manufacturing machine 1 is spent on creating the control program.

B.制御プログラムの作成方法 :
B−1.概要 :
図3は、新たな自動製造機械1を開発するための大まかな工程を概念的に示した説明図である。図3(a)には、従来から行われてきた開発工程が示されている。また、図3(b)には、本願の発明者が開発して既に出願済みの新たな開発工程が示されている。
B. How to create a control program:
B-1. Overview :
FIG. 3 is an explanatory diagram conceptually showing a rough process for developing a new automatic manufacturing machine 1. FIG. 3A shows a development process that has been conventionally performed. Further, FIG. 3B shows a new development process developed by the inventor of the present application and already applied for.

従来の開発工程では、図3(a)に示すように、先ず初めに機械設計技術者が、自動製造機械1に要求される各種の機能を把握した上で、それらの機能を実現するための機構が組み込まれた自動製造機械1の図面を作成する。図面を作成するに際して機械設計技術者は、どのような可動部分が必要なのか、それら可動部分がどのような動作をしなければならないのか、その動作をさせるためには、どれくらいのトルクや可動量や精度を有するアクチュエータが、何処に、何個、必要なのかといった内容を、一つ一つ検討して決定して行くことになる。そして、実際に搭載するアクチュエータを決定して、アクチュエータの搭載性や整備性なども考慮した上で、最終的に図面を完成させる。 In the conventional development process, as shown in FIG. 3A, the mechanical design engineer first grasps various functions required for the automatic manufacturing machine 1 and then realizes those functions. Create a drawing of the automatic manufacturing machine 1 in which the mechanism is incorporated. When creating a drawing, a mechanical design engineer asks what kind of moving parts are required, what kind of movement these moving parts must perform, and how much torque and amount of movement are required to make those movements. It is necessary to examine and decide the contents such as where and how many actuators have the same accuracy and accuracy one by one. Then, the actuator to be actually mounted is determined, and the drawing is finally completed after considering the mountability and maintainability of the actuator.

こうして自動製造機械1の機械設計が完了したら、今度は、その自動製造機械1を制御するための制御プログラムの作成に移行する。制御プログラムの作成には、ソフトウェアに関する専門技術が必要となるため、その専門技術を有する技術者(すなわちプログラマ)が作成しなければならない。そこで、機械技術者は機械設計が終了すると、自らが考えた自動製造機械1の動作を表現するフローチャートを作成した上で、プログラマと打ち合わせをして自動製造機械1の動作を説明する。ここまでが、機械設計技術者による作業となる。 After the mechanical design of the automatic manufacturing machine 1 is completed in this way, the process shifts to the creation of a control program for controlling the automatic manufacturing machine 1. Since the creation of a control program requires expertise in software, it must be created by an engineer (that is, a programmer) who has that expertise. Therefore, when the machine design is completed, the machine engineer creates a flowchart expressing the operation of the automatic manufacturing machine 1 that he / she thinks, and then has a meeting with the programmer to explain the operation of the automatic manufacturing machine 1. Up to this point, the work is done by a mechanical design engineer.

一方、機械設計技術者と打ち合わせたプログラマは、機械設計技術者が作成したフローチャートや、必要に応じて図面や、その他の資料を熟読することによって自動製造機械1の動作を理解した上で、自動製造機械1に搭載された各種のアクチュエータの動作を制御するための制御プログラムの作成を開始する。プログラマは、人間が判読可能な高級プログラム言語を用いて制御プログラムを作成するが、コンピュータは高級プログラム言語のままでは制御プログラムを実行することはできない。そこで、プログラマは、制御プログラムが完成したら、高級プログラム言語で記述された制御プログラムを、コンピュータが実行可能な機械語の制御プログラムに変換することによって、最終的に制御プログラムを完成させる。尚、高級プログラム言語の制御プログラムを機械語の制御プログラムに変換する作業は、コンパイルと呼ばれており、この作業は、コンパイラと呼ばれる専用プログラムを用いることによって短時間で終了する。 On the other hand, the program who had a meeting with the mechanical design engineer understands the operation of the automatic manufacturing machine 1 by carefully reading the flowchart created by the mechanical design engineer, drawings and other materials as necessary, and then automatically. Creation of a control program for controlling the operation of various actuators mounted on the manufacturing machine 1 is started. Programmers create control programs using a human-readable high-level programming language, but computers cannot execute control programs in the high-level programming language as it is. Therefore, when the control program is completed, the programmer finally completes the control program by converting the control program written in the high-level programming language into a machine language control program that can be executed by a computer. The work of converting a control program of a high-level programming language into a control program of a machine language is called compilation, and this work can be completed in a short time by using a dedicated program called a compiler.

図3(a)に例示されるように、従来から行われてきた開発工程では、機械設計に要する期間の1.5倍〜2.5倍程度の期間が、制御プログラムの作成に費やされるのが通常である。しかも、機械設計と制御プログラムの作成とは、大部分の工程がオーバーラップさせて進行させることが困難であるため、自動製造機械1の全体としての開発期間が長くなってしまう。加えて、機械設計技術者およびプログラマという異なる技術を有する専門家を確保する必要があり、このことも、新たな自動製造機械1を開発する際の大きな障害となっている。 As illustrated in FIG. 3A, in the conventional development process, a period of about 1.5 to 2.5 times the period required for mechanical design is spent on creating a control program. Is normal. Moreover, since it is difficult for most of the processes of machine design and creation of the control program to overlap and proceed, the development period of the automatic manufacturing machine 1 as a whole becomes long. In addition, it is necessary to secure specialists with different skills such as mechanical design engineers and programmers, which is also a major obstacle in developing a new automatic manufacturing machine 1.

一方、図3(b)には、本願の発明者が提案する新たな方法を用いて、自動製造機械1を開発する工程が示されている。新たな方法を用いた場合でも、機械設計自体は、従来の方法と同様である。すなわち、機械設計技術者が、自動製造機械1に要求される各種の機能を把握した上で、それらの機能を実現するための機構が組み込まれた自動製造機械1の図面を作成する。その際には、機能の実現に必要な可動部分や、可動部分の動作内容や、可動部分を動かすためのアクチュエータの性能などを検討して、アクチュエータを決定した上で、アクチュエータの搭載性や整備性なども考慮して最終的に図面を完成させる。 On the other hand, FIG. 3B shows a process of developing the automatic manufacturing machine 1 by using a new method proposed by the inventor of the present application. Even when the new method is used, the mechanical design itself is the same as the conventional method. That is, the mechanical design engineer grasps various functions required for the automatic manufacturing machine 1 and then creates a drawing of the automatic manufacturing machine 1 in which a mechanism for realizing those functions is incorporated. In that case, after considering the moving parts necessary for realizing the function, the operation contents of the moving parts, the performance of the actuator for moving the moving parts, etc., and deciding the actuator, the mountability and maintenance of the actuator Finally, the drawing is completed in consideration of gender.

図面が完成すると、新たな開発工程では、機械設計技術者は、フローチャートの代わりにYOGOチャートを作成する(図3(b)参照)。YOGOチャートとは、本願の発明者が独自に発案した特殊な動作チャートであり、機械設計技術者が機械設計する際に考えた各アクチュエータの動作をチャートの形式で記述したものである。尚、本実施例のYOGOチャートは、本発明における「動作チャート」に対応する。 When the drawing is completed, in the new development process, the mechanical design engineer creates a YOGO chart instead of the flowchart (see FIG. 3 (b)). The YOGO chart is a special operation chart originally devised by the inventor of the present application, and describes the operation of each actuator considered by a mechanical design engineer when designing a machine in the form of a chart. The YOGO chart of this embodiment corresponds to the "operation chart" in the present invention.

YOGOチャートについては、後ほど詳しく説明するが、YOGOチャートは、機械設計技術者が機械設計する際に考えた各アクチュエータの動作を、考えた通りに書き表したものに過ぎない。このため、機械設計した機械設計技術者であれば、フローチャートを作成する半分程度の期間で作成することができる(図3(b)参照)。加えて、YOGOチャートは、専用のコンパイラに掛けることによって、コンピュータのCPUが実行可能な制御プログラムに変換することができる。YOGOチャートを制御プログラムに変換可能な理由についても後述する。このように、自動製造機械1の動作をYOGOチャートに記述するようにすれば、YOGOチャートから機械語の制御プログラムを生成することができるので、図3に示したように、従来の方法に比べて、新たな自動製造機械1の開発期間を、少なくとも半分以下(代表的には1/3程度)に短縮することができる。加えて、YOGOチャートは機械設計技術者が簡単に作成することができ、プログラマを確保しておく必要もない。このため、新たな自動製造機械1を開発する際に大きな障害となっていた様々な事柄を、ほとんど完全に解消することが可能となる。加えて、自動製造機械1の動作を変更する場合や、自動製造機械1に新たなアクチュエータを追加する場合でも、YOGOチャートを書き直して専用のコンパイラに掛けてやれば、直ちに制御プログラムを生成することが可能となる。以下では、こうしたことが可能となる理由について説明する。 The YOGO chart will be described in detail later, but the YOGO chart is merely a description of the operation of each actuator that the mechanical design engineer considered when designing the machine as he or she thought. Therefore, a mechanical design engineer who designed a machine can create a flowchart in about half the time (see FIG. 3B). In addition, the YOGO chart can be converted into a control program that can be executed by the CPU of the computer by applying it to a dedicated compiler. The reason why the YOGO chart can be converted into a control program will also be described later. In this way, if the operation of the automatic manufacturing machine 1 is described in the YOGO chart, a machine language control program can be generated from the YOGO chart. Therefore, as shown in FIG. 3, as compared with the conventional method. Therefore, the development period of the new automatic manufacturing machine 1 can be shortened to at least half or less (typically about 1/3). In addition, the YOGO chart can be easily created by a mechanical design engineer, and there is no need to secure a programmer. For this reason, it is possible to almost completely eliminate various matters that have been major obstacles when developing a new automatic manufacturing machine 1. In addition, even when changing the operation of the automatic manufacturing machine 1 or adding a new actuator to the automatic manufacturing machine 1, if the YOGO chart is rewritten and applied to a dedicated compiler, a control program can be generated immediately. Is possible. The reasons why this is possible will be explained below.

B−2.YOGOチャートから制御プログラムを自動で生成する原理 :
図4は、動作チャート(YOGOチャート)から自動製造機械1の制御プログラムを自動で生成する原理についての説明図である。図4(a)には、各種改良を施す前の原始的なYOGOチャートが示されている。後述する本実施例のYOGOチャートは、図4(a)に示した原始的なYOGOチャートを発展させて改良したものとなっているが、制御プログラムを自動で生成する原理は原始的なYOGOチャートと同じである。そこで、理解を容易とするために、図4(a)に示した原始的なYOGOチャートを用いて、YOGOチャートから制御プログラムを自動で生成する原理について説明する。また、説明が複雑化することを避けるため、自動製造機械1に搭載されているアクチュエータは、2つのモータA,B、および2つのシリンダA,Bのみであるとする。
B-2. Principle of automatically generating a control program from the YOGO chart:
FIG. 4 is an explanatory diagram of a principle of automatically generating a control program of the automatic manufacturing machine 1 from an operation chart (YOGO chart). FIG. 4A shows a primitive YOGO chart before various improvements are made. The YOGO chart of this embodiment, which will be described later, is an improved version of the primitive YOGO chart shown in FIG. 4 (a), but the principle of automatically generating a control program is a primitive YOGO chart. Is the same as. Therefore, in order to facilitate understanding, the principle of automatically generating a control program from the YOGO chart will be described using the primitive YOGO chart shown in FIG. 4 (a). Further, in order to avoid complicating the explanation, it is assumed that the actuators mounted on the automatic manufacturing machine 1 are only two motors A and B and two cylinders A and B.

図4(a)に示したように、YOGOチャートでは、これらのアクチュエータ(ここでは、モータA,B、およびシリンダA,B)の基本的な動作を組み合わせることによって、自動製造機械1の動作を表現する。ここで、アクチュエータの基本的な動作とは、アクチュエータが有する自由度方向への動作(以下、基本動作)のことである。例えば、モータのような回転するアクチュエータであれば、回転動作が基本動作となり、シリンダのような進退動するアクチュエータであれば、進退動する動作が基本動作となる。また、モータによってボールねじを回転させることによって、ボールねじに噛み合う部材を進退動させるようなアクチュエータの場合は、モータの回転動作、あるいは部材が進退動する動作の何れかが基本動作となる。 As shown in FIG. 4A, in the YOGO chart, the operation of the automatic manufacturing machine 1 is performed by combining the basic operations of these actuators (here, the motors A and B, and the cylinders A and B). Express. Here, the basic operation of the actuator is an operation of the actuator in the direction of freedom (hereinafter referred to as a basic operation). For example, in the case of a rotating actuator such as a motor, the rotation operation is the basic operation, and in the case of an actuator such as a cylinder that moves forward and backward, the operation of moving forward and backward is the basic operation. Further, in the case of an actuator in which a member that meshes with the ball screw is moved forward and backward by rotating the ball screw by a motor, either the rotation operation of the motor or the movement of moving the member forward or backward is the basic operation.

また、YOGOチャートでは、自動製造機械1が動作を開始してから終了するまでの動作期間が複数の部分期間に分割されており、個々のアクチュエータの基本動作は、これらの部分期間の何れかに割り当てられている。図4(a)に示した例では、自動製造機械1の動作期間が5つの部分期間1〜5に分割されており、部分期間1には、シリンダAが動作量(a)で進退動する動作が割り当てられている。また、部分期間2には、モータAが動作量(b)で回転する動作が割り当てられている。部分期間には複数の動作を割り当てることもできる。すなわち、部分期間3には、モータBが動作量(c)で回転する動作と、シリンダBが動作量(d)で進退動する動作の2つの動作が割り当てられており、部分期間4には、モータAが動作量(−b)で回転する動作と、モータBが動作量(−c)で回転する動作と、シリンダBが動作量(−d)で進退動する動作の3つの動作が割り当てられている。そして、最後の部分期間5には、シリンダAが動作量(−a)で進退動する動作が割り当てられている。 Further, in the YOGO chart, the operation period from the start to the end of the operation of the automatic manufacturing machine 1 is divided into a plurality of partial periods, and the basic operation of each actuator is set to any of these partial periods. Assigned. In the example shown in FIG. 4A, the operating period of the automatic manufacturing machine 1 is divided into five partial periods 1 to 5, and in the partial period 1, the cylinder A moves forward and backward according to the operating amount (a). Actions are assigned. Further, the partial period 2 is assigned an operation in which the motor A rotates with the operating amount (b). Multiple actions can be assigned to a partial period. That is, the partial period 3 is assigned two operations, that is, the motor B rotates with the operating amount (c) and the cylinder B moves forward and backward with the operating amount (d), and the partial period 4 is assigned. , The operation of the motor A rotating with the operating amount (-b), the operation of the motor B rotating with the operating amount (-c), and the operation of the cylinder B moving forward and backward with the operating amount (-d). Assigned. Then, the final partial period 5 is assigned an operation in which the cylinder A moves forward and backward by the amount of movement (−a).

このように、部分期間にアクチュエータの基本動作を割り当てることによって、自動製造機械1が実行する次のような動作を記述することができる。先ず、シリンダAを動作量(a)だけ進退動させて、シリンダAの動作が終了したら、モータAを動作量(b)だけ回転させる。そして、モータAの動作が終了したら、モータBを動作量(c)だけ回転させると共に、シリンダBを動作量(d)だけ進退動させる。モータBおよびシリンダBの動作が終了したら、モータAおよびモータBをそれぞれ動作量(−a)および動作量(−c)だけ回転させると共に、シリンダBを動作量(−d)だけ進退動させる。そして、モータA、モータB、およびシリンダBの全ての動作が終了したら、最後にシリンダAを動作量(−a)だけ進退動させて、全ての動作を終了する。このように、自動製造機械1に搭載されているアクチュエータの基本動作を何れかの部分期間に割り当ててやれば、自動製造機械1の動作を記述することが可能となる。 By assigning the basic operation of the actuator to the partial period in this way, the following operation executed by the automatic manufacturing machine 1 can be described. First, the cylinder A is moved forward and backward by the operating amount (a), and when the operation of the cylinder A is completed, the motor A is rotated by the operating amount (b). Then, when the operation of the motor A is completed, the motor B is rotated by the operating amount (c), and the cylinder B is moved forward and backward by the operating amount (d). When the operations of the motor B and the cylinder B are completed, the motor A and the motor B are rotated by the operating amount (−a) and the operating amount (−c), respectively, and the cylinder B is moved forward and backward by the operating amount (−d), respectively. Then, when all the operations of the motor A, the motor B, and the cylinder B are completed, the cylinder A is finally moved forward and backward by the amount of operation (-a) to end all the operations. In this way, if the basic operation of the actuator mounted on the automatic manufacturing machine 1 is assigned to any partial period, the operation of the automatic manufacturing machine 1 can be described.

尚、以上の説明から明らかなように、部分期間は、割り当てられたアクチュエータが動作する期間を示しており、時間の長さを示しているわけではない。例えば、部分期間1の時間の長さはシリンダAが動作に要する時間となり、部分期間2の時間の長さはモータAが動作に要する時間となり、部分期間3の時間の長さは、モータBが動作に要する時間、およびシリンダBが動作に要する時間の長い方の時間となる。従って、それぞれの部分期間の時間の長さは、互いに異なっていることが通常である。 As is clear from the above description, the partial period indicates the period during which the assigned actuator operates, and does not indicate the length of time. For example, the time length of the partial period 1 is the time required for the cylinder A to operate, the time length of the partial period 2 is the time required for the motor A to operate, and the time length of the partial period 3 is the time required for the motor B. Is the longer time required for the operation and the time required for the cylinder B to operate. Therefore, the length of time in each subperiod is usually different from each other.

また、部分期間に割り当てられるアクチュエータの基本動作は、例えばモータを一定量だけ回転させたり、あるいはシリンダを一定量だけ進退動させたりするといった単純な動作である。従って、アクチュエータに基本動作させるための小さなプログラム(プログラム要素)を予め作成しておくことができる。ここでは自動製造機械1に搭載されているアクチュエータは、シリンダA,B、およびモータA,Bの4つであるとしているから、図4(b)に示すように、モータAを動作させるためのプログラム要素prog1と、モータBを動作させるためのプログラム要素prog2と、シリンダAを動作させるためのプログラム要素prog3と、シリンダBを動作させるためのプログラム要素prog4とを予め作成しておくことができる。 Further, the basic operation of the actuator assigned to the partial period is a simple operation such as rotating the motor by a certain amount or moving the cylinder forward or backward by a certain amount. Therefore, a small program (program element) for causing the actuator to perform basic operation can be created in advance. Here, it is assumed that there are four actuators mounted on the automatic manufacturing machine 1: cylinders A and B and motors A and B. Therefore, as shown in FIG. 4B, for operating the motor A. A program element prog1, a program element prog2 for operating the motor B, a program element prog3 for operating the cylinder A, and a program element prog4 for operating the cylinder B can be created in advance.

そこで、これらのプログラム要素を、図4(a)に示した原始的なYOGOチャートに記述された通りに連結してやれば、自動製造機械1を動作させるための制御プログラムを自動で生成することが可能となる。すなわち、図4(c)に示したように、初めにプログラム要素prog3が起動し、プログラム要素prog3が終了したらプログラム要素prog1が起動し、プログラム要素prog1が終了したら、プログラム要素prog2およびプログラム要素prog4が起動する。プログラム要素prog3、プログラム要素prog1、プログラム要素prog2、プログラム要素prog4の動作量は、YOGOチャート上での指定に従って、それぞれ(a)、(b)、(c)、(d)を使用する。更に、プログラム要素prog2およびプログラム要素prog4が何れも終了したら、今度は、プログラム要素prog1と、プログラム要素prog2と、プログラム要素prog4とを起動する。この時の動作量は、YOGOチャート上での指定に従って、それぞれ(−b)、(−c)、(−d)を使用する。これらのプログラム要素prog1、prog2、prog4が何れも終了したら、最後にプログラム要素prog3を起動する。この時の動作量は、YOGOチャート上での指定に従って(−a)を使用する。そして、プログラム要素prog3が終了したら、図4(a)のYOGOチャートに記述した自動製造機械1の動作が終了したことになる。 Therefore, if these program elements are connected as described in the primitive YOGO chart shown in FIG. 4A, it is possible to automatically generate a control program for operating the automatic manufacturing machine 1. It becomes. That is, as shown in FIG. 4C, the program element prog3 is started first, the program element prog1 is started when the program element prog3 is finished, and the program element prog2 and the program element prog4 are started when the program element prog1 is finished. to start. The operating quantities of the program element prog3, the program element prog1, the program element prog2, and the program element prog4 use (a), (b), (c), and (d), respectively, according to the specifications on the YOGO chart. Further, when both the program element prog2 and the program element prog4 are completed, the program element prog1, the program element prog2, and the program element prog4 are started this time. The amount of operation at this time uses (-b), (-c), and (-d), respectively, according to the designation on the YOGO chart. When all of these program elements prog1, prog2, and prog4 are completed, the program element prog3 is finally started. For the amount of operation at this time, (-a) is used according to the specification on the YOGO chart. Then, when the program element program 3 is completed, the operation of the automatic manufacturing machine 1 described in the YOGO chart of FIG. 4A is completed.

以上に説明したように、自動製造機械1の動作を、図4(a)に示したYOGOチャートの態様で記述しておけば、図4(c)に示した制御プログラムを生成して、自動製造機械1を動作させることができる。もっとも、自動製造機械1が意図した通りに動作するためには、YOGOチャートが正しく作成されている必要がある。以下に説明する本実施例のYOGOチャートは、こうした観点から、図4(a)に例示した原始的なYOGOチャートに対して様々な改良を加えた結果として得られたものである。 As described above, if the operation of the automatic manufacturing machine 1 is described in the mode of the YOGO chart shown in FIG. 4 (a), the control program shown in FIG. 4 (c) is generated and automatically. The manufacturing machine 1 can be operated. However, in order for the automatic manufacturing machine 1 to operate as intended, the YOGO chart needs to be created correctly. The YOGO chart of the present embodiment described below is obtained as a result of making various improvements to the primitive YOGO chart illustrated in FIG. 4 (a) from this viewpoint.

B−3.YOGOチャート :
図5は、本実施例のYOGOチャート200の概要を説明するための説明図である。尚、YOGOチャート200の全体を表示するために縮尺すると、潰れて判読不能となってしまうので、図5ではYOGOチャート200の一部分(左上隅の部分)が表示されている。図5に示されるように、YOGOチャート200は、複数本の横線と複数本の縦線とが交差した大きな表のような形状となっている。以下では、交差する複数本の線の内、横線については「仕切線」201と称し、縦線については「トリガー線」202と称することにする。
B-3. YOGO chart:
FIG. 5 is an explanatory diagram for explaining the outline of the YOGO chart 200 of this embodiment. If the scale is reduced to display the entire YOGO chart 200, it will be crushed and become unreadable. Therefore, in FIG. 5, a part (upper left corner portion) of the YOGO chart 200 is displayed. As shown in FIG. 5, the YOGO chart 200 has a shape like a large table in which a plurality of horizontal lines and a plurality of vertical lines intersect. In the following, among the plurality of intersecting lines, the horizontal line will be referred to as "partition line" 201, and the vertical line will be referred to as "trigger line" 202.

トリガー線202には、1番から始まる通し番号が付けられている。図5に示した例では、YOGOチャート200の上端の欄内に、その下のトリガー線202の通し番号が記載されている。また、互いに隣接するトリガー線202の間の領域は、図4を用いて前述した部分期間となっており、部分期間にも1番から始まる通し番号(以下、部分期間番号と称する)が付けられている。尚、図5に例示したYOGOチャート200では、トリガー線202が縦方向に引かれており、従って、トリガー線202とトリガー線202とに挟まれた部分期間は横方向に並んでいる。しかし、トリガー線202は横方向に引いても良く、この場合は、複数の部分期間が縦方向に並ぶことになる。 The trigger line 202 is numbered serially starting from 1. In the example shown in FIG. 5, the serial number of the trigger line 202 below the column is described in the upper end column of the YOGO chart 200. Further, the area between the trigger lines 202 adjacent to each other is the partial period described above with reference to FIG. 4, and the partial period is also given a serial number starting from No. 1 (hereinafter, referred to as a partial period number). There is. In the YOGO chart 200 illustrated in FIG. 5, the trigger line 202 is drawn in the vertical direction. Therefore, the partial period sandwiched between the trigger line 202 and the trigger line 202 is arranged in the horizontal direction. However, the trigger line 202 may be drawn in the horizontal direction, and in this case, a plurality of partial periods are arranged in the vertical direction.

また、本実施例のYOGOチャート200は、複数の仕切線201によって複数の横長の領域に分割されており、これらの横長の領域には1番から始まる通し番号(以下、アクチュエータ番号と称する)が付けられている。自動製造機械1に搭載されたアクチュエータは、何れかの領域に割り当てられている。図5に示した例では、アクチュエータ番号が1番の領域には、アクチュエータ10(図1参照)が割り当てられており、アクチュエータ番号が2番の領域にはアクチュエータ11(図1参照)が割り当てられ、アクチュエータ番号が3番の領域にはアクチュエータ12(図1参照)が、アクチュエータ番号が4番の領域にはアクチュエータ13(図1参照)が割り当てられている。本実施例の自動製造機械1にはアクチュエータ10〜20の11個のアクチュエータが搭載されているから、これらすべてのアクチュエータについて、このように横長の領域が1つずつ割り当てられることになる。 Further, the YOGO chart 200 of this embodiment is divided into a plurality of horizontally long regions by a plurality of partition lines 201, and these horizontally long regions are assigned serial numbers starting from No. 1 (hereinafter, referred to as actuator numbers). Has been done. The actuator mounted on the automatic manufacturing machine 1 is assigned to any area. In the example shown in FIG. 5, the actuator 10 (see FIG. 1) is assigned to the region having the actuator number 1, and the actuator 11 (see FIG. 1) is assigned to the region having the actuator number 2. The actuator 12 (see FIG. 1) is assigned to the region where the actuator number is 3, and the actuator 13 (see FIG. 1) is assigned to the region where the actuator number is 4. Since the automatic manufacturing machine 1 of this embodiment is equipped with 11 actuators of the actuators 10 to 20, a horizontally long region is allocated to all of these actuators one by one.

そして、アクチュエータ10〜20の基本動作は、そのアクチュエータ10〜20が割り当てられた領域上に記載されるようになっている。例えば、アクチュエータ10を部分期間4で基本動作させるのであれば、YOGOチャート200上で、アクチュエータ番号が1番、部分期間番号が4番で特定されるマス目状の座標位置に、アクチュエータ10にさせたい基本動作206を記載する。また、部分期間4と部分期間8とでアクチュエータ10に基本動作させるのであれば、アクチュエータ番号が1番で部分期間番号が4番のマス目状の座標位置と、アクチュエータ番号が1番で部分期間番号が8番の座標位置とに、アクチュエータ10にさせたい基本動作206を記載することになる。このように、アクチュエータ10の基本動作206は、YOGOチャート200上でアクチュエータ番号が1番の横長の領域上に記載され、アクチュエータ11の基本動作206は、アクチュエータ番号が2番の横長の領域上に記載されるというように、アクチュエータ10〜20の基本動作206は、YOGOチャート200上でそのアクチュエータ10〜20が割り当てられた領域上に記載されるようになっている。本実施例のYOGOチャート200が、このようにして基本動作を記載しているのは、次のような理由による。 The basic operation of the actuators 10 to 20 is described on the area to which the actuators 10 to 20 are assigned. For example, if the actuator 10 is basically operated in the partial period 4, the actuator 10 is set to the coordinate position of the grid specified by the actuator number 1 and the partial period number 4 on the YOGO chart 200. The basic operation 206 is described. Further, if the actuator 10 is basically operated in the partial period 4 and the partial period 8, the coordinate position in a grid pattern in which the actuator number is No. 1 and the partial period number is No. 4 and the actuator number is No. 1 in the partial period. The basic operation 206 to be caused by the actuator 10 will be described at the coordinate position where the number is 8. As described above, the basic operation 206 of the actuator 10 is described on the YOGO chart 200 on the horizontally long region where the actuator number is 1, and the basic operation 206 of the actuator 11 is on the horizontally long region where the actuator number is 2. As described, the basic operation 206 of the actuators 10 to 20 is described on the YOGO chart 200 on the area to which the actuators 10 to 20 are assigned. The reason why the YOGO chart 200 of this embodiment describes the basic operation in this way is as follows.

初めに、図4(a)に例示した原始的なYOGOチャートについて説明すると、原始的なYOGOチャートでは、複数のアクチュエータの動作が混在して記述されており、例えば、部分期間1で動作したシリンダAが、次にどの動作期間で動作するのかを直ちに認識することが難しい。このため、それぞれのアクチュエータが動作する様子をイメージすることが難しく、更には、各アクチュエータの動作回数を判読することも難しい。その結果、例えば、元の位置に復帰していないアクチュエータが存在することに気づかなかったり、動作を記述し忘れているアクチュエータが存在することに気づかなかったりする虞がある。 First, the primitive YOGO chart illustrated in FIG. 4A will be described. In the primitive YOGO chart, the operations of a plurality of actuators are described in a mixed manner. For example, a cylinder operated in a partial period 1 is described. It is difficult to immediately recognize which operating period A will operate next. Therefore, it is difficult to imagine how each actuator operates, and it is also difficult to decipher the number of times each actuator operates. As a result, for example, there is a possibility that the presence of the actuator that has not returned to the original position may not be noticed, or that the presence of the actuator that has forgotten to describe the operation may not be noticed.

これに対して、本実施例のYOGOチャート200は、図5に示されるように、アクチュエータ毎に動作が記述される領域が分離されているので、どのアクチュエータが、どの部分期間で動作しているのかを視覚によって把握して容易にイメージすることができ、各アクチュエータの動作回数を容易に判読することができる。このため、元の位置に復帰していないアクチュエータが存在していたり、動作を記述し忘れているアクチュエータが存在していたりした場合でも、そのことを容易に認識することができる。その結果、自動製造機械1を意図した通りに動作させるYOGOチャート200を容易に作成することが可能となる。 On the other hand, in the YOGO chart 200 of this embodiment, as shown in FIG. 5, since the region where the operation is described is separated for each actuator, which actuator is operating in which partial period. It is possible to visually grasp and easily imagine what is happening, and it is possible to easily interpret the number of operations of each actuator. Therefore, even if there is an actuator that has not returned to the original position or there is an actuator that has forgotten to describe the operation, it can be easily recognized. As a result, it becomes possible to easily create the YOGO chart 200 that operates the automatic manufacturing machine 1 as intended.

また、本実施例のYOGOチャート200には、次のようにして基本動作を記述する。一例として、図5のYOGOチャート200で最初に動作するアクチュエータ13の基本動作について説明する。動作するアクチュエータはアクチュエータ13であり、且つ、最初に動作するのであるから、YOGOチャート200上で基本動作が記載される位置は、アクチュエータ番号が4番で、部分期間番号が1番のマス目状の座標位置となる。部分期間番号が1番のマス目は、1番のトリガー線202と、2番のトリガー線202とに挟まれているから、左側に存在する1番のトリガー線202から、右側に存在する2番のトリガー線202に向かって、アクチュエータの動作を示す動作線203を記入する。そして、動作線203の左端(従って1番のトリガー線202上)には動作の開始を示す始点204を記入し、動作線203の右端(従って2番のトリガー線202上)には動作の終了を示す終点205を記入する。図5に示した例では、動作線203は太い実線で示されており、始点204は白抜きの丸印で示されて、終点205は黒い丸印で示されている。 Further, in the YOGO chart 200 of this embodiment, the basic operation is described as follows. As an example, the basic operation of the actuator 13 that first operates in the YOGO chart 200 of FIG. 5 will be described. Since the actuator 13 that operates is the actuator 13 and operates first, the position where the basic operation is described on the YOGO chart 200 is a grid pattern in which the actuator number is No. 4 and the partial period number is No. 1. It becomes the coordinate position of. Since the square with the partial period number No. 1 is sandwiched between the No. 1 trigger line 202 and the No. 2 trigger line 202, the No. 1 trigger line 202 existing on the left side and the No. 2 trigger line 202 existing on the right side are present. An operation line 203 indicating the operation of the actuator is entered toward the trigger line 202 of the number. Then, the start point 204 indicating the start of the operation is entered at the left end of the operation line 203 (hence, on the first trigger line 202), and the end of the operation is entered at the right end of the operation line 203 (hence, on the second trigger line 202). Enter the end point 205 indicating. In the example shown in FIG. 5, the operation line 203 is indicated by a thick solid line, the start point 204 is indicated by a white circle, and the end point 205 is indicated by a black circle.

更に、動作線203の上には、アクチュエータにさせようとする基本動作を記入する。ここで、本実施例のYOGOチャート200では、基本動作を「動作記述」と「数値テーブル」の2つの要素を用いて記入する。図5に示した例では、アクチュエータ番号が4番で、部分期間番号が1番の動作線203の上には、「Ω−AC」と「AC−B11」という2つの表示が記載されているが、「Ω−AC」という表示が動作記述206aであり、「AC−B11」という表示が数値テーブル206bである。動作記述206aおよび数値テーブル206bの詳細については後述するが、大まかにいうと、動作記述206aとは、基本動作の定性的な内容(例えば、前進、後退、回転など)を記述した表示である。また、数値テーブル206bとは、基本動作の定量的な内容(例えば、移動量や、速度や、トルクなど)を示す数値が設定されたテーブルである。 Further, on the operation line 203, the basic operation to be caused by the actuator is written. Here, in the YOGO chart 200 of this embodiment, the basic operation is entered by using two elements of "operation description" and "numerical value table". In the example shown in FIG. 5, two indications "Ω-AC" and "AC-B11" are described on the operation line 203 having the actuator number 4 and the partial period number 1. However, the display "Ω-AC" is the operation description 206a, and the display "AC-B11" is the numerical table 206b. The details of the operation description 206a and the numerical table 206b will be described later, but roughly speaking, the operation description 206a is a display describing the qualitative contents (for example, forward movement, backward movement, rotation, etc.) of the basic movement. Further, the numerical table 206b is a table in which numerical values indicating quantitative contents (for example, movement amount, speed, torque, etc.) of the basic operation are set.

従って、図5のYOGOチャート200上で、アクチュエータ番号が4番、部分期間番号が1番の座標位置に記入された「Ω−AC」、「AC−B01」という表示は、以下のような内容、すなわち、アクチュエータ番号が4番のアクチュエータ(図5の例ではアクチュエータ13)を、部分期間番号が1番のタイミングで、「Ω−AC」という動作記述206aに従って基本動作させ、且つ、基本動作させる際に使用する具体的な数値は、「AC−B01」という数値テーブル206bに設定された数値を用いることを表している。 Therefore, on the YOGO chart 200 of FIG. 5, the indications of "Ω-AC" and "AC-B01" in which the actuator number is No. 4 and the partial period number is No. 1 are as follows. That is, the actuator having the actuator number 4 (actuator 13 in the example of FIG. 5) is basically operated and basically operated according to the operation description 206a of "Ω-AC" at the timing when the partial period number is 1. The specific numerical value used in this case indicates that the numerical value set in the numerical table 206b called "AC-B01" is used.

また、図5のYOGOチャート200に示されるように、アクチュエータ10に対しては「Ω−AA」という動作記述206aが記載されているが、アクチュエータ11に対しては「Ω−AB」という動作記述206aが記載されている。この理由は、図1を用いて前述したように、アクチュエータ10はチャック3bを開閉させるためのアクチュエータであり、アクチュエータ11は把持軸3aを軸回りに回転させるためのアクチュエータであるためである。アクチュエータ10の基本動作の動作記述206aは「開閉動作」となり、アクチュエータ11の基本動作の動作記述206aは「回転動作」となるため、アクチュエータ10とアクチュエータ11とでは、異なる動作記述206aが使用される。同様な理由から、アクチュエータ11とアクチュエータ12とも、異なる動作記述206aが使用される。 Further, as shown in the YOGO chart 200 of FIG. 5, the operation description 206a of "Ω-AA" is described for the actuator 10, but the operation description of "Ω-AB" is described for the actuator 11. 206a is described. The reason for this is that, as described above with reference to FIG. 1, the actuator 10 is an actuator for opening and closing the chuck 3b, and the actuator 11 is an actuator for rotating the gripping shaft 3a about an axis. Since the operation description 206a of the basic operation of the actuator 10 is the "opening / closing operation" and the operation description 206a of the basic operation of the actuator 11 is the "rotational operation", different operation descriptions 206a are used between the actuator 10 and the actuator 11. .. For the same reason, different operation descriptions 206a are used for the actuator 11 and the actuator 12.

これに対して、アクチュエータ12およびアクチュエータ13は「Ω−AC」という同じ動作記述206aが使用される。図1を用いて前述したように、アクチュエータ12は把持軸3aを軸方向に進退動させるためのアクチュエータであり、アクチュエータ13は搬送ユニット3の全体を進退動させるためのアクチュエータであって、移動させる対象物の大きさや重量や移動量などは大きく異なるが、対象物を進退動させる点では同じである。このため、アクチュエータ12およびアクチュエータ13は、同じ動作記述206aを使用することができる。また、アクチュエータ17は加工ユニット4の全体を上下動させるためのアクチュエータであるが、上下動は進退動の一種と考えることができるから、アクチュエータ17も、アクチュエータ12やアクチュエータ13と同じく「Ω−AC」という動作記述206aを使用することができる。更に、アクチュエータ14〜16は、何れもエアシリンダを進退動させるアクチュエータであるから、これらは何れも「Ω−CA」という動作記述206aが使用されている。 On the other hand, the actuator 12 and the actuator 13 use the same operation description 206a of "Ω-AC". As described above with reference to FIG. 1, the actuator 12 is an actuator for moving the gripping shaft 3a forward and backward in the axial direction, and the actuator 13 is an actuator for moving the entire transfer unit 3 forward and backward, and moves the grip shaft 3a. Although the size, weight, and amount of movement of the object differ greatly, they are the same in that the object moves back and forth. Therefore, the actuator 12 and the actuator 13 can use the same operation description 206a. Further, the actuator 17 is an actuator for moving the entire machining unit 4 up and down, but since the up and down movement can be considered as a kind of forward and backward movement, the actuator 17 is also "Ω-AC" like the actuator 12 and the actuator 13. The operation description 206a can be used. Further, since the actuators 14 to 16 are all actuators that move the air cylinder forward and backward, the operation description 206a of "Ω-CA" is used for all of them.

このように、本実施例のYOGOチャート200では、アクチュエータの基本動作を、原則として、動作記述206aと数値テーブル206bとを用いて記述する。こうすれば、多くのアクチュエータについて、動作記述206aを共通化することが可能となる。図1に示したように、本実施例の自動製造機械1にはアクチュエータ10〜20の11個のアクチュエータが搭載されているが、YOGOチャート200で用いられる動作記述206aは4種類となっている。 As described above, in the YOGO chart 200 of this embodiment, in principle, the basic operation of the actuator is described by using the operation description 206a and the numerical table 206b. In this way, the operation description 206a can be shared for many actuators. As shown in FIG. 1, the automatic manufacturing machine 1 of this embodiment is equipped with 11 actuators of actuators 10 to 20, but there are four types of operation descriptions 206a used in the YOGO chart 200. ..

B−4.動作記述 :
図6は、本実施例のYOGOチャート200で用いられる動作記述206aの詳細についての説明図である。「Ω−AA」という動作記述206aは、アクチュエータに開閉動作させることを表す動作記述206aであり、この動作記述206aはACサーボモータにチャック機構を組み合わせたアクチュエータを想定している。逆に言えば、ACサーボモータにチャック機構を組み合わせたアクチュエータでない場合は、たとえ、そのアクチュエータの動作が開閉動作である場合でも、「Ω−AA」という動作記述206aを使用することはできない。
B-4. Operation description:
FIG. 6 is an explanatory diagram for details of the operation description 206a used in the YOGO chart 200 of this embodiment. The operation description 206a of "Ω-AA" is an operation description 206a indicating that the actuator is operated to open and close, and this operation description 206a assumes an actuator in which a chuck mechanism is combined with an AC servomotor. Conversely, if the actuator is not an AC servomotor combined with a chuck mechanism, the operation description 206a of "Ω-AA" cannot be used even if the operation of the actuator is an opening / closing operation.

また、「Ω−AA」という動作記述206aは、ACサーボモータにチャック機構を組み合わせたアクチュエータに開閉動作させるという単純な動作内容を記述したものであるから、その動作内容を実現するための小さなプログラム(すなわち、プログラム要素)を予め作成しておくことができる。このことから、動作記述206aには、その動作内容を実現させるプログラム要素を特定するための通し番号(以下、プログラム要素番号)が対応付けて記憶されている。尚、同じように開閉動作するアクチュエータであっても、ACサーボモータにチャック機構を組み合わせたアクチュエータでない場合は、「Ω−AA」という動作記述206aを使用することができない理由は、動作記述206aにプログラム要素番号が対応付けて記憶されるからである。すなわち、アクチュエータの構造が異なれば、アクチュエータを動作させるためのプログラム要素は異なると考えられるので、対応付けられるプログラム要素が異なる以上、動作記述206aも異ならせておく必要があるためである。 Further, since the operation description 206a of "Ω-AA" describes a simple operation content of opening and closing an actuator in which a chuck mechanism is combined with an AC servomotor, a small program for realizing the operation content is described. (That is, the program element) can be created in advance. For this reason, the operation description 206a stores a serial number (hereinafter referred to as a program element number) for specifying a program element that realizes the operation content in association with the operation description 206a. The reason why the operation description 206a of "Ω-AA" cannot be used if the actuator is not an actuator in which the AC servomotor and the chuck mechanism are combined even if the actuator operates in the same way is described in the operation description 206a. This is because the program element numbers are associated and stored. That is, if the structure of the actuator is different, it is considered that the program elements for operating the actuator are different. Therefore, as long as the associated program elements are different, the operation description 206a also needs to be different.

また、図6に示すように、「Ω−AB」という動作記述206aは、ACサーボモータに減速機構を組み合わせたアクチュエータを想定して、そのアクチュエータに回転動作させることを表す動作記述206aであり、プログラム要素番号は7番が対応付けて記憶されている。同様に、「Ω−AC」という動作記述206aは、ACサーボモータにボールねじ機構を組み合わせたアクチュエータを想定して、そのアクチュエータに進退動作させることを表す動作記述206aであり、プログラム要素番号は4番が対応付けて記憶されている。更に、「Ω−CA」という動作記述206aは、エアシリンダによるアクチュエータを想定して、そのアクチュエータに進退動作させることを表す動作記述206aであり、プログラム要素番号は2番が対応付けて記憶されている。 Further, as shown in FIG. 6, the operation description 206a of "Ω-AB" is an operation description 206a indicating that the actuator is rotated by assuming an actuator in which a reduction mechanism is combined with an AC servomotor. The program element number 7 is associated and stored. Similarly, the operation description 206a of "Ω-AC" is an operation description 206a indicating that an actuator in which a ball screw mechanism is combined with an AC servomotor is assumed and the actuator is moved forward and backward, and the program element number is 4. The numbers are associated and stored. Further, the operation description 206a of "Ω-CA" is an operation description 206a indicating that the actuator is moved forward and backward assuming an actuator by an air cylinder, and the program element number 2 is stored in association with it. There is.

B−5.数値テーブル :
また、動作記述206aは、開閉動作や、回転動作、進退動作などのように、動作の内容を定性的に記述したものに過ぎないので、動作記述206aは原則として数値テーブル206bと組み合わせて使用される。例えば、図5に示したYOGOチャート200では、アクチュエータ番号が1番のアクチュエータ10に対して用いられる動作記述206aは「Ω−AA」であるが、部分期間番号が4番のタイミングでは「AA−B01」という数値テーブル206bが使用され、部分期間番号が6番のタイミングでは「AA−B01」という数値テーブル206bが、部分期間番号が10番のタイミングでは「AA−B01」という数値テーブル206bが使用されている。ここで、「AA−B01」という名称は、「Ω−AA」という動作記述206aと組み合わせて使用される「B01」という数値テーブル206bであることを表している。同様に、「AA−B02」という名称は、「Ω−AA」という動作記述206aと組み合わせて使用される「B02」という数値テーブル206bであることを表している。
B-5. Numeric table:
Further, since the operation description 206a is merely a qualitative description of the contents of the operation such as opening / closing operation, rotation operation, advance / retreat operation, etc., the operation description 206a is used in combination with the numerical table 206b in principle. NS. For example, in the YOGO chart 200 shown in FIG. 5, the operation description 206a used for the actuator 10 having the actuator number 1 is "Ω-AA", but at the timing when the partial period number is 4, "AA-". The numerical table 206b of "B01" is used, the numerical table 206b of "AA-B01" is used at the timing of the partial period number 6, and the numerical table 206b of "AA-B01" is used at the timing of the partial period number 10. Has been done. Here, the name "AA-B01" indicates that the numerical table 206b "B01" is used in combination with the operation description 206a "Ω-AA". Similarly, the name "AA-B02" indicates that it is the numerical table 206b "B02" used in combination with the operation description 206a "Ω-AA".

図7は「Ω−AA」という動作記述206aと組み合わせて使用される数値テーブル206bを例示した説明図である。図7(a)には「AA−B01」という数値テーブル206bが示されており、図7(b)には「AA−B02」という数値テーブル206bが示されている。尚、図7では2つの数値テーブル206bが例示されているが、必要に応じてより多くの数値テーブル206bを設定することができる。図7に例示した数値テーブル206bには、「数値テーブル番号」、「開閉速度」、「開閉荷重」、「参照テーブル」の4つの項目が設定されている。このうちの「数値テーブル番号」は数値テーブル206bの通し番号である。例えば、数値テーブル番号を5番と指定すると、図7(a)の「AA−B01」という数値テーブル206bが特定され、数値テーブル番号を6番と指定すると、図7(b)の「AA−B02」という数値テーブル206bが特定されるようになっている。「参照テーブル」については後ほど説明する。 FIG. 7 is an explanatory diagram illustrating a numerical table 206b used in combination with the operation description 206a of "Ω-AA". FIG. 7A shows a numerical table 206b called “AA-B01”, and FIG. 7B shows a numerical table 206b called “AA-B02”. Although two numerical tables 206b are illustrated in FIG. 7, more numerical tables 206b can be set as needed. In the numerical table 206b illustrated in FIG. 7, four items of "numerical table number", "opening / closing speed", "opening / closing load", and "reference table" are set. Of these, the "numerical table number" is a serial number of the numerical table 206b. For example, if the numerical table number is specified as No. 5, the numerical table 206b called "AA-B01" in FIG. 7 (a) is specified, and if the numerical table number is specified as No. 6, "AA-" in FIG. 7 (b) is specified. A numerical table 206b called "B02" is specified. The "reference table" will be described later.

また、図7に例示した数値テーブル206bには4つの項目が設定されているが、動作記述206aと組み合わせて、基本動作を記述するために用いられるのは、「開閉速度」と「開閉荷重」という2つの項目である。ここで、「開閉速度」と「開閉荷重」という2つの項目が設定されている理由は、この数値テーブル206bが、開閉動作を表す「Ω−AA」という動作記述206aと組み合わせて使用されるためである。すなわち、「Ω−AA」という動作記述206aだけでは、開閉動作させるという定性的な内容しか分からず、開閉動作させる速度や開閉時の荷重といった定量的な内容については分からない。そこで、数値テーブル206bに「開閉速度」および「開閉荷重」という項目を設けて、これらの数値を設定しておくようになっている。尚、数値テーブル206bの「開閉速度」にはプラスの数値が設定されているのは、閉動作させることを表しており(図7(a)参照)、マイナスの数値が設定されているのは開動作させることを表している(図7(b)参照)。 Further, although four items are set in the numerical table 206b illustrated in FIG. 7, "opening / closing speed" and "opening / closing load" are used to describe the basic operation in combination with the operation description 206a. There are two items. Here, the reason why the two items "opening / closing speed" and "opening / closing load" are set is that this numerical table 206b is used in combination with the operation description 206a "Ω-AA" indicating the opening / closing operation. Is. That is, only the operation description 206a of "Ω-AA" can understand only the qualitative content of opening and closing operation, and cannot know the quantitative content such as the speed of opening and closing operation and the load at the time of opening and closing. Therefore, items "opening / closing speed" and "opening / closing load" are provided in the numerical table 206b, and these numerical values are set. In addition, the fact that a positive value is set in the "opening / closing speed" of the numerical table 206b indicates that the closing operation is performed (see FIG. 7A), and the negative value is set. It shows that the operation is opened (see FIG. 7B).

また、図5のYOGOチャート200では、アクチュエータ番号が2番のアクチュエータ11に対しては「Ω−AB」という動作記述206aが使用されるが、部分期間番号が2番のタイミングでは「AB−B01」という数値テーブル206bが組み合わせて用いられ、部分期間番号が8番のタイミングでは「AB−B02」という数値テーブル206bが組み合わせて用いられている。「AB−B01」および「AB−B02」という名称は、それぞれ「Ω−AB」という動作記述206aと組み合わせて使用される「B01」および「B02」という数値テーブル206bであることを表している。 Further, in the YOGO chart 200 of FIG. 5, the operation description 206a of "Ω-AB" is used for the actuator 11 having the actuator number 2, but "AB-B01" is used at the timing when the partial period number is 2. The numerical table 206b "" is used in combination, and the numerical table 206b "AB-B02" is used in combination at the timing when the partial period number is 8. The names "AB-B01" and "AB-B02" indicate that they are the numerical tables 206b "B01" and "B02" used in combination with the operation description 206a "Ω-AB", respectively.

図8は「Ω−AB」という動作記述206aと組み合わせて使用される数値テーブル206bを例示した説明図である。図8(a)には「AB−B01」という数値テーブル206bが示されており、図8(b)には「AB−B02」という数値テーブル206bが示されている。尚、図8では2つの数値テーブル206bが例示されているが、必要に応じてより多くの数値テーブル206bを設定することができる。図8に例示した数値テーブル206bには、「数値テーブル番号」および「参照テーブル」に加えて、「回転角度」、「回転速度」、「回転トルク」の全部で5つの項目が設定されている。これらの内で「回転角度」、「回転速度」、「回転トルク」の項目が、動作記述206aと組み合わせて、基本動作を記述するために用いられる項目である。また、図8の数値テーブル206bに「回転角度」、「回転速度」、「回転トルク」の項目が設定されている理由は、この数値テーブル206bが、回転動作を表す「Ω−AB」という動作記述206aと組み合わせて使用されるためである。すなわち、「Ω−AB」という動作記述206aだけでは回転動作させることしか分からないので、回転させる角度や、回転させる速度、回転させるトルクについては、「回転角度」、「回転速度」、「回転トルク」という項目で数値テーブル206bに数値を設定しておくようになっている。尚、数値テーブル206bの「回転角度」にプラスの数値が設定される場合と、マイナスの数値が設定される場合とが存在するのは、回転方向が逆であることを表している。 FIG. 8 is an explanatory diagram illustrating a numerical table 206b used in combination with the operation description 206a of "Ω-AB". FIG. 8A shows a numerical table 206b called “AB-B01”, and FIG. 8B shows a numerical table 206b called “AB-B02”. Although two numerical tables 206b are illustrated in FIG. 8, more numerical tables 206b can be set as needed. In the numerical table 206b illustrated in FIG. 8, in addition to the "numerical table number" and the "reference table", a total of five items of "rotation angle", "rotation speed", and "rotation torque" are set. .. Among these, the items of "rotation angle", "rotation speed", and "rotation torque" are items used to describe the basic operation in combination with the operation description 206a. Further, the reason why the items of "rotation angle", "rotation speed", and "rotation torque" are set in the numerical table 206b of FIG. 8 is that the numerical table 206b has an operation of "Ω-AB" indicating a rotation operation. This is because it is used in combination with the description 206a. That is, since the operation description 206a of "Ω-AB" can only be used for rotational operation, the rotation angle, rotation speed, and rotation torque are the "rotation angle", "rotation speed", and "rotation torque". A numerical value is set in the numerical value table 206b in the item "." The fact that a positive value is set for the "rotation angle" of the numerical table 206b and a case where a negative value is set indicates that the rotation directions are opposite.

更に、図5のYOGOチャート200では、アクチュエータ番号が3番のアクチュエータ12、4番のアクチュエータ13、および8番のアクチュエータ17に対しては、何れも「Ω−AB」という動作記述206aが使用されている。その一方で、数値テーブル206bについては、アクチュエータ番号が3番のアクチュエータ12と4番のアクチュエータ13と8番のアクチュエータ17とで、異なる数値テーブル206bが使用されている。すなわち、アクチュエータ番号が3番のアクチュエータ12に対しては、「AC−B01」あるいは「AC−B02」という数値テーブル206bが組み合わせて用いられ、アクチュエータ番号が4番のアクチュエータ13に対しては、「AC−B11」あるいは「AC−B12」という数値テーブル206bが、アクチュエータ番号が8番のアクチュエータ17に対しては、「AC−B21」あるいは「AC−B22」という数値テーブル206bが組み合わせて用いられている。ここで、「AC−B01」、「AC−B02」、「AC−B11」、「AC−B12」、「AC−B21」、「AC−B22」という名称は、それぞれ「Ω−AC」という動作記述206aと組み合わせて使用される「B01」、「B02」、「B11」、「B12」、「B21」、「B22」という数値テーブル206bであることを表している。 Further, in the YOGO chart 200 of FIG. 5, the operation description 206a of "Ω-AB" is used for the actuator No. 3, the actuator No. 4, the actuator No. 13 and the actuator No. 8. ing. On the other hand, regarding the numerical table 206b, different numerical tables 206b are used for the actuator 12 having the actuator number 3 and the actuator 13 having the actuator number 4 and the actuator 17 having the actuator number 8. That is, the numerical table 206b of "AC-B01" or "AC-B02" is used in combination for the actuator 12 having the actuator number 3, and "AC-B01" or "AC-B02" is used for the actuator 13 having the actuator number 4. A numerical table 206b of "AC-B11" or "AC-B12" is used in combination, and a numerical table 206b of "AC-B21" or "AC-B22" is used in combination for the actuator 17 having an actuator number of 8. There is. Here, the names "AC-B01", "AC-B02", "AC-B11", "AC-B12", "AC-B21", and "AC-B22" are each operated as "Ω-AC". It represents the numerical table 206b of "B01", "B02", "B11", "B12", "B21", and "B22" used in combination with the description 206a.

図9は「Ω−AC」という動作記述206aと組み合わせて使用される数値テーブル206bを例示した説明図である。尚、図9では6つの数値テーブル206bが例示されているが、必要に応じてより多くの数値テーブル206bを設定することができる。図9に例示した数値テーブル206bには、「数値テーブル番号」および「参照テーブル」に加えて、「移動量」、「移動速度」、「移動荷重」の全部で5つの項目が設定されている。これらの内で「移動量」、「移動速度」、「移動荷重」の項目が、動作記述206aと組み合わせて、基本動作を記述するために用いられる項目である。また、図9の数値テーブル206bに「移動量」、「移動速度」、「移動荷重」の項目が設定されている理由は、この数値テーブル206bが、進退動作を表す「Ω−AC」という動作記述206aと組み合わせて使用されるためである。尚、数値テーブル206bの「移動量」にプラスの数値が設定される場合と、マイナスの数値が設定される場合とが存在するのは、移動方向が逆であることを表している。 FIG. 9 is an explanatory diagram illustrating a numerical table 206b used in combination with the operation description 206a of "Ω-AC". Although six numerical tables 206b are illustrated in FIG. 9, more numerical tables 206b can be set as needed. In the numerical table 206b illustrated in FIG. 9, in addition to the "numerical table number" and the "reference table", a total of five items of "movement amount", "movement speed", and "movement load" are set. .. Among these, the items of "movement amount", "movement speed", and "movement load" are items used to describe the basic operation in combination with the operation description 206a. Further, the reason why the items of "movement amount", "movement speed", and "movement load" are set in the numerical table 206b of FIG. 9 is that the numerical table 206b has an operation of "Ω-AC" indicating an advance / retreat operation. This is because it is used in combination with the description 206a. The fact that a positive value is set in the "movement amount" of the numerical table 206b and a case where a negative value is set indicates that the movement directions are opposite.

更に、図5のYOGOチャート200で、アクチュエータ番号が5番のアクチュエータ14、6番のアクチュエータ15、および7番のアクチュエータ16に対しては、何れも「Ω−CA」という動作記述206aが使用されている。これは、アクチュエータ14〜16が何れもエアシリンダであり、基本動作の内容が「進退動作」であることに対応している。また、「Ω−CA」という動作記述206aに対しては、数値テーブル206bが組み合わされていない。この理由は、アクチュエータ14〜16が、2つの動作ポートの内で空気圧を加える動作ポートを切り換えることで動作するエアシリンダであるため、動作の内容を記述するために定量的な数値を用いる必要が無いためである。 Further, in the YOGO chart 200 of FIG. 5, the operation description 206a of "Ω-CA" is used for the actuator 14 of the actuator number 5, the actuator 15 of the actuator number 6, and the actuator 16 of the actuator number 7. ing. This corresponds to the fact that the actuators 14 to 16 are all air cylinders and the content of the basic operation is "advance / retreat operation". Further, the numerical table 206b is not combined with the operation description 206a of "Ω-CA". The reason for this is that the actuators 14 to 16 are air cylinders that operate by switching the operation port that applies air pressure among the two operation ports, so it is necessary to use a quantitative numerical value to describe the content of the operation. Because there is no such thing.

以上に詳しく説明したように、本実施例のYOGOチャート200では、部分期間番号とアクチュエータ番号との組み合わせで規定される座標位置に、基本動作を記入することによって、基本動作させるアクチュエータと基本動作させるタイミングとを特定する。更に、基本動作は、原則として、動作記述206aと数値テーブル206bとの組み合わせによって表現することとしている。こうすることによって、YOGOチャート200に誤った内容を記載する事態を回避することが可能となる。これは次のような理由による。 As described in detail above, in the YOGO chart 200 of this embodiment, the actuator to be basically operated and the actuator to be basically operated are operated by entering the basic operation at the coordinate position defined by the combination of the partial period number and the actuator number. Identify the timing. Further, as a general rule, the basic operation is expressed by a combination of the operation description 206a and the numerical table 206b. By doing so, it is possible to avoid the situation where an erroneous content is described in the YOGO chart 200. This is due to the following reasons.

例えば、あるアクチュエータの基本動作を記述する場合、単に「前進」あるいは「回転」という記述に比べると、「55mmだけ前進」あるいは「35度だけ正方向に回転」と記述するのは大幅に難易度が増加する。この理由は、「アクチュエータを前進させる」あるいは「アクチュエータを回転させる」という定性的な記述は、人間が考えた内容を素直に表現したものに過ぎないのに対して、「55mmだけ」あるいは「35度だけ」という定量的な内容が加わると、もはや、考えた内容を素直に表現したものとは言えなくなってしまうためである。図5に例示したようにYOGOチャート200には多数の基本動作が記入されるから、個々の基本動作を記入するための難易度が高くなると、YOGOチャート200全体として誤った内容が記入される可能性が高くなる。 For example, when describing the basic operation of a certain actuator, it is much more difficult to describe "forward by 55 mm" or "rotate in the forward direction by 35 degrees" than simply "forward" or "rotate". Will increase. The reason for this is that while the qualitative description of "advancing the actuator" or "rotating the actuator" is merely a straightforward expression of what humans think, "only 55 mm" or "35". This is because when the quantitative content of "only degree" is added, it can no longer be said that the thought content is expressed in a straightforward manner. As illustrated in FIG. 5, since a large number of basic movements are entered in the YOGO chart 200, if the difficulty level for entering each basic movement becomes high, it is possible that incorrect contents are entered in the YOGO chart 200 as a whole. The sex becomes high.

これに対して本実施例のYOGOチャート200では、基本動作を動作記述206aと数値テーブル206bとの組み合わせによって記述しているので、YOGOチャート200を作成する際には動作記述206aを記入することに集中し、数値テーブル206bについては取りあえず記入しておくことができる。こうすれば、YOGOチャート200を作成する作業は、実質的には、人間が考えた内容を素直に表現する作業と同じになるので、YOGOチャート200に誤った内容を記入してしまう可能性を大幅に減少させることができる。また、アクチュエータの移動量などを修正する場合でも、数値テーブル206bだけを修正すればよく、YOGOチャート200は修正する必要が無い。このため、誤ってYOGOチャート200を修正してしまう事態も防止することができる。 On the other hand, in the YOGO chart 200 of this embodiment, the basic operation is described by the combination of the operation description 206a and the numerical table 206b. Therefore, when the YOGO chart 200 is created, the operation description 206a is entered. Concentrate, you can fill in the numerical table 206b for the time being. In this way, the work of creating the YOGO chart 200 is practically the same as the work of expressing the contents that human beings think in a straightforward manner, so there is a possibility that incorrect contents will be entered in the YOGO chart 200. It can be significantly reduced. Further, even when the movement amount of the actuator is corrected, only the numerical table 206b needs to be corrected, and the YOGO chart 200 does not need to be corrected. Therefore, it is possible to prevent a situation in which the YOGO chart 200 is accidentally modified.

加えて、アクチュエータの基本動作を、動作記述206aと数値テーブル206bとに分けて考えると、個々のアクチュエータが取り得る動作記述206aは自ずから限られたものとなる。例えば、図5に示した例では、アクチュエータ10が取り得る動作記述206aは「Ω−AA」のみとなっているが、これは、アクチュエータ10がチャック3bを開閉させるためのアクチュエータであり、基本動作の定性的な記述内容(すなわち、動作記述206a)としては、開閉動作の1種類で十分なためである。もちろん、チャック3bを複数の態様で開閉できるようにして、態様毎に動作記述206aを用意することも可能であるが、このような場合でも個々のアクチュエータが取り得る動作記述206aの種類は、高々数種類に過ぎない。 In addition, when the basic operation of the actuator is divided into the operation description 206a and the numerical table 206b, the operation description 206a that can be taken by each actuator is naturally limited. For example, in the example shown in FIG. 5, the operation description 206a that the actuator 10 can take is only "Ω-AA", but this is an actuator for the actuator 10 to open and close the chuck 3b, and is a basic operation. This is because one type of opening / closing operation is sufficient as the qualitative description content (that is, the operation description 206a). Of course, it is also possible to prepare the operation description 206a for each mode by allowing the chuck 3b to be opened and closed in a plurality of modes, but even in such a case, the types of the motion description 206a that can be taken by each actuator are at most. There are only a few types.

この結果、YOGOチャート200は、アクチュエータ番号が同じ座標位置には、同じ動作記述206a(異なる場合でも高々数種類の動作記述206a)が繰り返して記入されることになる。このため、誤った動作記述206aが記入されると、その動作記述206aだけ異なった動作記述206aになるので、誤りに容易に気付いて修正することが可能となる。 As a result, in the YOGO chart 200, the same operation description 206a (at most several types of operation description 206a even if they are different) is repeatedly entered at the coordinate positions where the actuator numbers are the same. Therefore, if an erroneous operation description 206a is entered, the operation description 206a is different by the operation description 206a, so that the error can be easily noticed and corrected.

B−6.参照テーブル :
図7〜図9に例示したように、本実施例の数値テーブル206bには「参照テーブル」という項目も設定されている。この参照テーブルも、YOGOチャート200を容易に作成できるようにするためのものである。
B-6. Reference table:
As illustrated in FIGS. 7 to 9, an item called "reference table" is also set in the numerical table 206b of this embodiment. This reference table is also for facilitating the creation of the YOGO chart 200.

図10は、図7に示した数値テーブル206bに設定されている参照テーブルを例示した説明図である。図10(a)は、図7(a)の数値テーブル206b(AA−B01)に設定された参照テーブル(AA−A01)を示している。また、図10(b)は、図7(b)の数値テーブル206b(AA−B02)に設定された参照テーブル(AA−A02)を示している。図10に示したこれらの参照テーブルには、「最大速度」、「最大荷重」、「開閉速度標準値」、「開閉荷重標準値」、「チャック機構減速比」、「チェック機構対応直径範囲」という6つの項目が設定されている。 FIG. 10 is an explanatory diagram illustrating a reference table set in the numerical table 206b shown in FIG. 7. FIG. 10A shows a reference table (AA-A01) set in the numerical table 206b (AA-B01) of FIG. 7A. Further, FIG. 10 (b) shows a reference table (AA-A02) set in the numerical table 206b (AA-B02) of FIG. 7 (b). In these reference tables shown in FIG. 10, "maximum speed", "maximum load", "opening / closing speed standard value", "opening / closing load standard value", "chuck mechanism reduction ratio", "check mechanism compatible diameter range" Six items are set.

この内で「最大速度」、「最大荷重」、「開閉速度標準値」、「開閉荷重標準値」という項目は、これらの参照テーブル(AA−A01、AA−A02)が、図7に示した数値テーブル206b(AA−B01、AA−B02)から参照されることに対応する。すなわち、数値テーブル206b(AA−B01、AA−B02)は「開閉速度」および「開閉荷重」の数値が設定されるテーブルであるが(図7参照)、設定可能な開閉速度の最大値および開閉荷重の最大値が、それぞれ「最大速度」および「最大荷重」として参照テーブルに設定されている。また、「開閉速度標準値」および「開閉荷重標準値」は、数値テーブル206bの「開閉速度」および「開閉荷重」に数値が設定されていない場合に用いられる標準値である。 Among these, the items "maximum speed", "maximum load", "opening / closing speed standard value", and "opening / closing load standard value" are shown in FIG. 7 by these reference tables (AA-A01, AA-A02). Corresponds to being referenced from the numerical table 206b (AA-B01, AA-B02). That is, the numerical table 206b (AA-B01, AA-B02) is a table in which the numerical values of the "opening / closing speed" and the "opening / closing load" are set (see FIG. 7), but the maximum value of the opening / closing speed and the opening / closing that can be set are set. The maximum load values are set in the reference table as "maximum velocity" and "maximum load", respectively. Further, the "opening / closing speed standard value" and the "opening / closing load standard value" are standard values used when the numerical values are not set in the "opening / closing speed" and the "opening / closing load" of the numerical table 206b.

そして、図7(a)の数値テーブル206b(AA−B01)を作成する際には、「参照テーブル」という項目に「AA−A01」と設定しておく。また、図7(b)の数値テーブル206b(AA−B02)を作成する際には、「参照テーブル」という項目に「AA−A02」と設定しておく。こうすれば、数値テーブル206b(AA−B01、AA−B02)の「開閉速度」あるいは「開閉荷重」という項目の数値を設定する際に、図10(a)あるいは図10(b)の参照テーブルの「最大速度」あるいは「最大荷重」の項目が参照されて、最大速度や最大荷重を超える不適切な数値が設定されないようにすることができる。このため、適切な数値テーブル206bを簡単に作成することができる。 Then, when creating the numerical table 206b (AA-B01) of FIG. 7 (a), "AA-A01" is set in the item "reference table". Further, when creating the numerical table 206b (AA-B02) of FIG. 7 (b), "AA-A02" is set in the item "reference table". In this way, when setting the numerical value of the item "opening / closing speed" or "opening / closing load" of the numerical table 206b (AA-B01, AA-B02), the reference table of FIG. 10 (a) or FIG. 10 (b) is set. The item "Maximum speed" or "Maximum load" can be referred to to prevent the setting of inappropriate values exceeding the maximum speed and maximum load. Therefore, an appropriate numerical table 206b can be easily created.

加えて、数値テーブル206b(AA−B01、AA−B02)の項目に数値を設定しなかった場合でも、参照テーブル中の対応する項目に設定された標準値が流用されるので、取りあえず自動製造機械1を動作させて、必要に応じて数値テーブル206bの数値を修正することにより、最終的に適切なYOGOチャート200を完成させるようなことも可能となる。 In addition, even if the numerical value is not set in the item of the numerical table 206b (AA-B01, AA-B02), the standard value set in the corresponding item in the reference table is diverted, so the automatic manufacturing machine is used for the time being. It is also possible to finally complete an appropriate YOGO chart 200 by operating 1 and modifying the numerical values in the numerical table 206b as necessary.

また、図10(a)および図10(b)の参照テーブルには、「チャック機構減速比」や「チャック機構対応直径範囲」という項目も設定されている。これらは、アクチュエータの機械的な特性を記述したものである。すなわち、参照テーブルは数値テーブル206bから参照されており、数値テーブル206bは具体的なアクチュエータを想定して設定されるものである。従って、参照テーブルも具体的なアクチュエータを想定して設定されていることになる。例えば、図10(a)や図10(b)の参照テーブルは図7(a)や図7(b)の数値テーブル206bから参照されており、これらの数値テーブル206bはアクチュエータ10に対して用いられるから、図10(a)や図10(b)の参照テーブルもアクチュエータ10に対して用いられることになる。 Further, in the reference tables of FIGS. 10A and 10B, items such as "chuck mechanism reduction ratio" and "chuck mechanism compatible diameter range" are also set. These describe the mechanical properties of the actuator. That is, the reference table is referenced from the numerical table 206b, and the numerical table 206b is set assuming a specific actuator. Therefore, the reference table is also set assuming a specific actuator. For example, the reference tables of FIGS. 10 (a) and 10 (b) are referred to from the numerical tables 206b of FIGS. 7 (a) and 7 (b), and these numerical tables 206b are used for the actuator 10. Therefore, the reference tables of FIGS. 10 (a) and 10 (b) are also used for the actuator 10.

このように、参照テーブルはそれぞれに固有のアクチュエータに適用される。そこで、そのアクチュエータの機械的な特性を参照テーブルに設定しておく。図10に例示した参照テーブルは、ACサーボモータにチャック機構を組み合わせてチャック3bを開閉させるアクチュエータ11に適用される。このことに対応して、チャック機構の減速比や、チャック機構で把持可能な部材の直径範囲などの機械的な特性が、参照テーブルに設定されている。こうして参照テーブルに特性値を設定しておけば、ACサーボモータを制御する際にこれらの機械的な特性が必要となった場合でも、参照テーブルを参照して特性値を読み出すことができるので、誤った特性値がモータの制御に用いられて、アクチュエータが誤って制御されてしまう事態を回避することが可能となる。 In this way, the reference table is applied to each unique actuator. Therefore, the mechanical characteristics of the actuator are set in the reference table. The reference table illustrated in FIG. 10 is applied to an actuator 11 that opens and closes the chuck 3b by combining an AC servomotor with a chuck mechanism. Correspondingly, mechanical characteristics such as the reduction ratio of the chuck mechanism and the diameter range of the member that can be gripped by the chuck mechanism are set in the reference table. By setting the characteristic values in the reference table in this way, even if these mechanical characteristics are required when controlling the AC servomotor, the characteristic values can be read out by referring to the reference table. It is possible to avoid a situation in which an erroneous characteristic value is used to control the motor and the actuator is erroneously controlled.

図11は、図8に示した2つの数値テーブル206bに設定されている参照テーブルを例示した説明図である。図11(a)は、図8(a)の数値テーブル206b(AB−B01)に設定された参照テーブル(AB−A01)を示しており、図11(b)は、図8(b)の数値テーブル206b(AB−B02)に設定された参照テーブル(AB−A02)を示している。これらの参照テーブルには、「角度範囲」、「最大回転速度」、「最大回転トルク」、「回転角度標準値」、「回転速度標準値」、「回転トルク標準値」、「減速比」という7つの項目が設定されている。 FIG. 11 is an explanatory diagram illustrating a reference table set in the two numerical tables 206b shown in FIG. 11 (a) shows a reference table (AB-A01) set in the numerical table 206b (AB-B01) of FIG. 8 (a), and FIG. 11 (b) shows FIG. 8 (b). The reference table (AB-A02) set in the numerical table 206b (AB-B02) is shown. These reference tables are referred to as "angle range", "maximum rotation speed", "maximum rotation torque", "rotation angle standard value", "rotation speed standard value", "rotation torque standard value", and "reduction ratio". Seven items are set.

この内で「角度範囲」、「最大回転速度」、「最大回転トルク」、「回転角度標準値」、「回転速度標準値」、「回転トルク標準値」という項目は、これらの参照テーブル(AB−A01、AB−A02)が、図8に示した数値テーブル206b(AB−B01、AB−B02)から参照されることに対応する。すなわち、数値テーブル206b(AB−B01、AB−B02)は「回転角度」、「回転速度」、および「回転トルク」の数値が設定されるテーブルであり(図8参照)、これに対応して、実際に取り得る最大の角度範囲や、最大回転速度、最大回転トルクが、それぞれ参照テーブルに設定されている。また、「回転角度標準値」や「回転速度標準値」や「回転トルク標準値」は、数値テーブル206bの「回転角度」や「回転速度」や「回転トルク」に数値が設定されていない場合に用いられる標準値である。 Among them, the items "angle range", "maximum rotation speed", "maximum rotation torque", "rotation angle standard value", "rotation speed standard value", and "rotation torque standard value" are referred to in these reference tables (AB). -A01, AB-A02) corresponds to being referenced from the numerical table 206b (AB-B01, AB-B02) shown in FIG. That is, the numerical table 206b (AB-B01, AB-B02) is a table in which the numerical values of "rotation angle", "rotation speed", and "rotation torque" are set (see FIG. 8), and corresponding to this. , The maximum angle range that can be actually taken, the maximum rotation speed, and the maximum rotation torque are set in the reference table, respectively. Further, the "rotation angle standard value", "rotation speed standard value", and "rotation torque standard value" are not set in the "rotation angle", "rotation speed", and "rotation torque" of the numerical table 206b. It is a standard value used for.

図8(a)や図8(b)の数値テーブル206b(AB−B01、AB−B02)を作成する際には、「参照テーブル」という項目に「AB−A01」あるいは「AB−A02」と設定しておく。こうすれば、数値テーブル206b(AB−B01、AB−B02)の「回転角度」の数値を設定する際に、参照テーブルの「角度範囲」という項目が参照されて、回転後の角度が±180度を超える数値が設定できないようにすることができる。また、数値テーブル206b(AB−B01、AB−B02)の「回転速度」や「回転トルク」の数値を設定する際にも、参照テーブルの「最大回転速度」や「最大回転トルク」という項目が参照されて、最大回転速度や最大回転トルクを超える不適切な数値が設定されないようにすることができる。 When creating the numerical table 206b (AB-B01, AB-B02) of FIGS. 8 (a) and 8 (b), the item "reference table" should be "AB-A01" or "AB-A02". Set it. In this way, when setting the numerical value of the "rotation angle" of the numerical table 206b (AB-B01, AB-B02), the item "angle range" of the reference table is referred to, and the angle after rotation is ± 180. It is possible to prevent the setting of a numerical value exceeding the degree. Also, when setting the numerical values of "rotation speed" and "rotation torque" of the numerical table 206b (AB-B01, AB-B02), the items "maximum rotation speed" and "maximum rotation torque" of the reference table are displayed. By reference, it is possible to prevent setting an inappropriate numerical value that exceeds the maximum rotational speed or maximum rotational torque.

加えて、数値テーブル206b(AB−B01、AB−B02)の項目に数値を設定しなかった場合でも、参照テーブル中の対応する項目に設定された標準値を流用することが可能となる。更に、図11に例示した参照テーブルにも、参照テーブルが用いられるアクチュエータ(ここでは、アクチュエータ11)の機械的な特性値として、減速機構の「減速比」が設定されている。 In addition, even if the numerical value is not set in the item of the numerical table 206b (AB-B01, AB-B02), the standard value set in the corresponding item in the reference table can be diverted. Further, in the reference table illustrated in FIG. 11, the “reduction ratio” of the reduction mechanism is set as a mechanical characteristic value of the actuator (here, the actuator 11) in which the reference table is used.

図12は、図9に示した6つの数値テーブル206bに設定されている参照テーブルを例示した説明図である。図12(a)は、図9(a)の数値テーブル206b(AC−B01)に設定された参照テーブル(AC−A01)を示しており、図12(b)は、図9(b)の数値テーブル206b(AC−B02)に設定された参照テーブル(AC−A02)を示している。更に、図12(c)は、図9(c)〜図9(f)に示した4つの数値テーブル206b(AC−B11、AC−B12、AC−B21、AC−B22)に設定された参照テーブル(AC−A11、AC−A12、AC−A21、AC−A22)をまとめて示している。これらの参照テーブルには、「移動範囲」、「最大移動速度」、「最大移動荷重」、「移動量標準値」、「移動速度標準値」、「移動荷重標準値」、「減速比」、「ネジピッチ」という8つの項目が設定されている。 FIG. 12 is an explanatory diagram illustrating a reference table set in the six numerical tables 206b shown in FIG. FIG. 12 (a) shows a reference table (AC-A01) set in the numerical table 206b (AC-B01) of FIG. 9 (a), and FIG. 12 (b) shows FIG. 9 (b). The reference table (AC-A02) set in the numerical table 206b (AC-B02) is shown. Further, FIG. 12 (c) is a reference set in the four numerical tables 206b (AC-B11, AC-B12, AC-B21, AC-B22) shown in FIGS. 9 (c) to 9 (f). The tables (AC-A11, AC-A12, AC-A21, AC-A22) are shown together. In these reference tables, "moving range", "maximum moving speed", "maximum moving load", "moving amount standard value", "moving speed standard value", "moving load standard value", "reduction ratio", Eight items called "screw pitch" are set.

この内で「移動範囲」、「最大移動速度」、「最大移動荷重」、「移動量標準値」、「移動速度標準値」、「移動荷重標準値」という項目は、これらの参照テーブルが、図9に示した数値テーブル206bから参照されることに対応する。すなわち、図9の数値テーブル206bは「移動量」や「移動速度」や「移動荷重」の数値が設定されるテーブルであり(図9参照)、これに対応して、実際に取り得る移動範囲や、最大移動速度、最大移動荷重が、それぞれ参照テーブルに設定されている。また、「移動量標準値」や「移動速度標準値」や「移動荷重標準値」は、数値テーブル206bの「移動量」や「移動速度」や「移動荷重」に数値が設定されていない場合に用いられる標準値である。 Among them, the items "moving range", "maximum moving speed", "maximum moving load", "moving amount standard value", "moving speed standard value", and "moving load standard value" are described in these reference tables. Corresponds to the reference from the numerical table 206b shown in FIG. That is, the numerical table 206b in FIG. 9 is a table in which the numerical values of "movement amount", "movement speed", and "movement load" are set (see FIG. 9), and correspondingly, the movement range that can be actually taken. , Maximum moving speed, and maximum moving load are set in the reference table, respectively. In addition, the "moving amount standard value", "moving speed standard value", and "moving load standard value" are not set in the "moving amount", "moving speed", and "moving load" of the numerical table 206b. It is a standard value used for.

図9に例示した数値テーブル206bを作成する際にも、それぞれの数値テーブル206bの「参照テーブル」という項目に、適切な参照テーブルを設定しておけば、数値テーブル206bに不適切な数値が設定されないようにすることができる。また、数値テーブル206bの項目に数値を設定しなかった場合でも、参照テーブル中の対応する項目に設定された標準値を流用することが可能となる。更に、図12に例示した参照テーブルにも、参照テーブルが用いられるアクチュエータの機械的な特性値として、減速機構の「減速比」やボールねじ機構の「ネジピッチ」などが設定されている。 When creating the numerical table 206b illustrated in FIG. 9, if an appropriate reference table is set in the item "reference table" of each numerical table 206b, an inappropriate numerical value is set in the numerical table 206b. It can be prevented from being done. Further, even if the numerical value is not set in the item of the numerical table 206b, the standard value set in the corresponding item in the reference table can be diverted. Further, in the reference table illustrated in FIG. 12, the "reduction ratio" of the reduction mechanism, the "screw pitch" of the ball screw mechanism, and the like are set as the mechanical characteristic values of the actuator in which the reference table is used.

尚、図12中の「AC−A01」および「AC−A02」という参照テーブルと、「AC−A11」および「AC−A12」という参照テーブルと、「AC−A21」および「AC−A22」という参照テーブルとでは、アクチュエータの機械的な特性値を示す「減速比」や「ネジピッチ」に設定された数値が異なっている。この理由は、参照テーブルが適用されるアクチュエータが異なるためである。すなわち、図12中の「AC−A01」および「AC−A02」という参照テーブルはアクチュエータ12に適用され、「AC−A11」および「AC−A12」という参照テーブルはアクチュエータ13に適用され、「AC−A21」および「AC−A22」という参照テーブルはアクチュエータ17に適用される。このように、適用されるアクチュエータが違えば、アクチュエータの機械的な特性値も変わるので、参照テーブルに設定される数値も異なったものとなる。 The reference tables "AC-A01" and "AC-A02" in FIG. 12, the reference tables "AC-A11" and "AC-A12", and the reference tables "AC-A21" and "AC-A22" are used. The values set in the "reduction ratio" and "screw pitch", which indicate the mechanical characteristic values of the actuator, are different from those in the reference table. The reason for this is that the actuators to which the reference table is applied are different. That is, the reference tables "AC-A01" and "AC-A02" in FIG. 12 are applied to the actuator 12, and the reference tables "AC-A11" and "AC-A12" are applied to the actuator 13. The reference tables "-A21" and "AC-A22" are applied to the actuator 17. As described above, if the actuator to be applied is different, the mechanical characteristic value of the actuator is also changed, so that the numerical value set in the reference table is also different.

以上に詳しく説明したように、本実施例のYOGOチャートでは、アクチュエータ番号と、部分期間番号とによって特定されるマス目状の座標位置に、動作記述206aおよび数値テーブル206bを用いてアクチュエータの基本動作を記入する。そして、自動製造機械1に搭載された全てのアクチュエータ10〜20の基本動作を、このようにしてYOGOチャート上に記載することによって、自動製造機械1の動作を記述する。そして、自動製造機械制御装置100は、このようなYOGOチャートから制御プログラムを生成して、自動製造機械1の動作を制御する。 As described in detail above, in the YOGO chart of this embodiment, the basic operation of the actuator is performed by using the operation description 206a and the numerical table 206b at the grid-like coordinate positions specified by the actuator number and the partial period number. Fill in. Then, the operation of the automatic manufacturing machine 1 is described by describing the basic operations of all the actuators 10 to 20 mounted on the automatic manufacturing machine 1 on the YOGO chart in this way. Then, the automatic manufacturing machine control device 100 generates a control program from such a YOGO chart to control the operation of the automatic manufacturing machine 1.

C.本実施例の自動製造機械制御装置100 :
図13は、本実施例の自動製造機械制御装置100が備える機能を示した説明図である。図13に示されるように、本実施例の自動製造機械制御装置100は、YOGOチャート作成部101や、基本動作記憶部102や、YOGOチャート読込部103や、YOGOチャート解析部104や、制御プログラム生成部105や、制御実行部106などを備えている。尚、これらの「部」は、自動製造機械制御装置100を用いてYOGOチャート200を作成し、そのYOGOチャート200から制御プログラムを生成して自動製造機械1の動作を制御するために、自動製造機械制御装置100が備えておくべき複数の機能を表した抽象的な概念である。従って、自動製造機械制御装置100が、これらの「部」に相当する部品を組み合わせて形成されていることを表しているわけではない。実際には、これらの「部」は、CPUで実行されるプログラムの形態で実現することもできるし、ICチップやLSIなどを組み合わせた電子回路の形態で実現することもできるし、更には、これらが混在した形態など、様々な形態で実現することができる。
C. Automatic manufacturing machine control device 100 of this embodiment:
FIG. 13 is an explanatory diagram showing the functions included in the automatic manufacturing machine control device 100 of this embodiment. As shown in FIG. 13, the automatic manufacturing machine control device 100 of this embodiment includes a YOGO chart creation unit 101, a basic operation storage unit 102, a YOGO chart reading unit 103, a YOGO chart analysis unit 104, and a control program. It includes a generation unit 105, a control execution unit 106, and the like. It should be noted that these "parts" are automatically manufactured in order to create a YOGO chart 200 using the automatic manufacturing machine control device 100, generate a control program from the YOGO chart 200, and control the operation of the automatic manufacturing machine 1. It is an abstract concept that represents a plurality of functions that the machine control device 100 should have. Therefore, it does not mean that the automatic manufacturing machine control device 100 is formed by combining the parts corresponding to these "parts". Actually, these "parts" can be realized in the form of a program executed by a CPU, can be realized in the form of an electronic circuit in which an IC chip, an LSI, or the like is combined, and further. It can be realized in various forms such as a form in which these are mixed.

YOGOチャート作成部101は、モニター画面100mや、操作入力ボタン100sなどに接続されており、自動製造機械1について十分な知識を有する機械技術者などが、モニター画面100mを見ながら操作入力ボタン100sを操作することによって、図5に例示したようなYOGOチャート200を作成する。前述したように、YOGOチャート200は自動製造機械1に搭載されている複数のアクチュエータの基本動作を、部分期間の何れかに割り当てることによって、自動製造機械1の動作を記述したものである。機械設計に際して機械設計技術者は、自動製造機械1の動作を実現するためには、複数のアクチュエータの基本動作をどのように組み合わせれば良いかについて、十分に検討しているので、機械設計を行った機械設計技術者であれば、自動製造機械1の動作を記述したYOGOチャート200を簡単に作成することができる。もちろん、自動製造機械1の構造や動作について十分な知識を有していれば、自動製造機械1を設計した技術者でなくても、簡単にYOGOチャート200を作成することができる。 The YOGO chart creation unit 101 is connected to a monitor screen 100m, an operation input button 100s, etc., and a machine engineer or the like who has sufficient knowledge about the automatic manufacturing machine 1 presses the operation input button 100s while looking at the monitor screen 100m. By operating, a YOGO chart 200 as illustrated in FIG. 5 is created. As described above, the YOGO chart 200 describes the operation of the automatic manufacturing machine 1 by assigning the basic operations of the plurality of actuators mounted on the automatic manufacturing machine 1 to any of the partial periods. When designing a machine, a mechanical design engineer has fully considered how to combine the basic operations of a plurality of actuators in order to realize the operation of the automatic manufacturing machine 1, so that the mechanical design should be performed. Any mechanical design engineer who has done this can easily create a YOGO chart 200 that describes the operation of the automatic manufacturing machine 1. Of course, if the engineer who designed the automatic manufacturing machine 1 has sufficient knowledge about the structure and operation of the automatic manufacturing machine 1, the YOGO chart 200 can be easily created.

また、本実施例では、YOGOチャートに基本動作を記入する際には、原則として動作記述206aと数値テーブル206bとを用いて基本動作を記入することになっているが、アクチュエータに応じて、使用可能な動作記述206aは決まっている(図6参照)。そこで、基本動作記憶部102には、アクチュエータの名称と、そのアクチュエータで使用可能な動作記述206aとが対応付けて予め記憶されている。 Further, in this embodiment, when the basic operation is entered in the YOGO chart, in principle, the basic operation is entered using the operation description 206a and the numerical table 206b, but it is used depending on the actuator. The possible operation description 206a is fixed (see FIG. 6). Therefore, the name of the actuator and the operation description 206a that can be used by the actuator are stored in advance in the basic operation storage unit 102 in association with each other.

図14は、アクチュエータの名称と、使用可能な動作記述206aとが対応付けられて基本動作記憶部102に記憶されている様子を示した説明図である。図示されるように基本動作記憶部102には、アクチュエータ毎に使用可能な動作記述206aが記憶されており、更に、それぞれの動作記述206aにはプログラム要素番号が記憶されている。前述したようにプログラム要素番号とは、アクチュエータを用いて動作記述206aの動作を実現するためのプログラム要素を特定する番号である。例えば、アクチュエータ18やアクチュエータ19には、動作の態様が異なる2つの動作記述206aが選択可能となっているが、それぞれの動作記述206aに対してプログラム要素番号が記憶されている。また、それぞれのアクチュエータには、アクチュエータの構造や、アクチュエータの基本動作の内容も併せて記憶されている。更に、図7〜図9に例示した数値テーブル206bや、図10〜図12に例示した参照テーブルも、基本動作記憶部102に記憶されている。 FIG. 14 is an explanatory diagram showing how the name of the actuator and the usable operation description 206a are associated and stored in the basic operation storage unit 102. As shown in the figure, the basic operation storage unit 102 stores an operation description 206a that can be used for each actuator, and further, each operation description 206a stores a program element number. As described above, the program element number is a number that specifies a program element for realizing the operation of the operation description 206a by using the actuator. For example, in the actuator 18 and the actuator 19, two operation descriptions 206a having different operation modes can be selected, and a program element number is stored for each operation description 206a. In addition, the structure of the actuator and the contents of the basic operation of the actuator are also stored in each actuator. Further, the numerical table 206b illustrated in FIGS. 7 to 9 and the reference table illustrated in FIGS. 10 to 12 are also stored in the basic operation storage unit 102.

上述した基本動作記憶部102は、YOGOチャート作成部101に接続されている。このため機械設計技術者(あるいは機械技術者)は、YOGOチャート200を作成するに際して基本動作記憶部102を参照することができる。そして、自動製造機械1について十分な知識を有する機械技術者であれば、どのようなアクチュエータをどのように動作させるかは十分に分かっているので、アクチュエータに応じて使用可能な動作記述206aの中から適切な動作記述206aを選択することができる。加えて、前述したように動作記述206aは、基本動作の内容を定性的に記述したものであるため、YOGOチャート200に動作記述206aを記入する作業は、自動製造機械1にさせたい動作を素直に記述する作業に過ぎないので、誤った内容を記入することがない。また、数値テーブル206bについては、仮の数値テーブル206bを設定しておけば良い。すなわち、図7〜図9を用いて前述したように、数値テーブル206bの名称は、組み合わせて用いる動作記述206aの名称中の所定部分と通し番号とが組み合わされたものとなっているから、取りあえず数値テーブル206bの名称を決定してYOGOチャート200に記入しておき、そして、後から数値テーブル206bの数値を修正したり、数値テーブル206bを変更したりすることができる。また、新たな名称の数値テーブル206bを作成すると、その数値テーブル206bには新たな数値テーブル番号(図7〜図9参照)が自動的に付番されるようになっている。 The basic operation storage unit 102 described above is connected to the YOGO chart creation unit 101. Therefore, the mechanical design engineer (or the mechanical engineer) can refer to the basic operation storage unit 102 when creating the YOGO chart 200. A mechanical engineer who has sufficient knowledge about the automatic manufacturing machine 1 fully knows what kind of actuator is to be operated and how to operate it. Therefore, in the operation description 206a that can be used according to the actuator. The appropriate operation description 206a can be selected from. In addition, as described above, since the operation description 206a qualitatively describes the content of the basic operation, the work of entering the operation description 206a on the YOGO chart 200 obediently performs the operation desired to be performed by the automatic manufacturing machine 1. Since it is just the work to be described in, there is no need to enter incorrect contents. Further, for the numerical table 206b, a temporary numerical table 206b may be set. That is, as described above with reference to FIGS. 7 to 9, the name of the numerical table 206b is a combination of a predetermined part in the name of the operation description 206a used in combination and a serial number, so that the numerical value is used for the time being. The name of the table 206b can be determined and entered in the YOGO chart 200, and the numerical values in the numerical table 206b can be modified or the numerical table 206b can be changed later. Further, when a numerical table 206b having a new name is created, a new numerical table number (see FIGS. 7 to 9) is automatically assigned to the numerical table 206b.

YOGOチャート読込部103は、YOGOチャート作成部101で作成したYOGOチャート200を読み込んで、YOGOチャート解析部104に出力する。尚、本実施例では、自動製造機械制御装置100でYOGOチャート200を作成するものとしており、このことに対応して、YOGOチャート読込部103は、YOGOチャート作成部101からYOGOチャート200を読み込んでいる。これに対して、自動製造機械1とは別体に設けたコンピュータ50でYOGOチャート200を作成しておき、そのYOGOチャートをYOGOチャート読込部103が読み込むようにしても良い。 The YOGO chart reading unit 103 reads the YOGO chart 200 created by the YOGO chart creating unit 101 and outputs it to the YOGO chart analysis unit 104. In this embodiment, the automatic manufacturing machine control device 100 creates the YOGO chart 200. Correspondingly, the YOGO chart reading unit 103 reads the YOGO chart 200 from the YOGO chart creating unit 101. There is. On the other hand, the YOGO chart 200 may be created by a computer 50 provided separately from the automatic manufacturing machine 1, and the YOGO chart reading unit 103 may read the YOGO chart.

YOGOチャート解析部104は、YOGOチャート読込部103から受け取ったYOGOチャート200を解析することによって、中間データを生成した後、中間データを制御プログラム生成部105に出力する。YOGOチャートから中間データを生成する処理については、後ほど詳しく説明する。 The YOGO chart analysis unit 104 analyzes the YOGO chart 200 received from the YOGO chart reading unit 103 to generate intermediate data, and then outputs the intermediate data to the control program generation unit 105. The process of generating intermediate data from the YOGO chart will be described in detail later.

制御プログラム生成部105は、中間データを受け取ると、基本動作記憶部102を参照することによって、中間データから制御プログラムを生成する。中間データから制御プログラムを生成する方法については、後ほど詳しく説明する。そして、得られた制御プログラムを制御実行部106に出力する。 When the control program generation unit 105 receives the intermediate data, the control program generation unit 105 generates a control program from the intermediate data by referring to the basic operation storage unit 102. The method of generating the control program from the intermediate data will be described in detail later. Then, the obtained control program is output to the control execution unit 106.

制御実行部106は、制御プログラム生成部105から制御プログラムを受け取ると、制御プログラム中のプログラム要素番号に対応付けて記憶されているプログラム要素を、基本動作記憶部102から取得する。また、基本動作記憶部102を参照することによって、制御プログラム中の数値テーブル番号に対応付けて記憶されている数値テーブル206bを検索して、その数値テーブル206bに設定されている数値を、プログラム要素の引数として取得する。こうして読み込まれて、引数が設定されたプログラム要素を実行することによって、アクチュエータ10〜20を制御する。その結果、自動製造機械1に搭載されたアクチュエータ10〜20が、YOGOチャートに記載された通りに動作することになる。 When the control execution unit 106 receives the control program from the control program generation unit 105, the control execution unit 106 acquires the program element stored in association with the program element number in the control program from the basic operation storage unit 102. Further, by referring to the basic operation storage unit 102, the numerical table 206b stored in association with the numerical table number in the control program is searched, and the numerical value set in the numerical table 206b is set as a program element. Get as an argument of. Actuators 10 to 20 are controlled by executing a program element that is read in this way and has arguments set. As a result, the actuators 10 to 20 mounted on the automatic manufacturing machine 1 operate as described in the YOGO chart.

尚、本実施例のYOGOチャート読込部103は、本発明の「動作チャート読込部」に対応している。また、図13を用いて前述したYOGOチャート読込部103と、YOGOチャート解析部104と、制御プログラム生成部105とは、これらが一体となって、YOGOチャート200から制御プログラムを生成する機能を実現している。従って、本実施例の自動製造機械制御装置100では、YOGOチャート読込部103と、YOGOチャート解析部104と、および制御プログラム生成部105とが、本発明の「制御プログラム生成装置110」に対応する。 The YOGO chart reading unit 103 of the present embodiment corresponds to the "operation chart reading unit" of the present invention. Further, the YOGO chart reading unit 103, the YOGO chart analysis unit 104, and the control program generation unit 105 described above using FIG. 13 are integrated to realize a function of generating a control program from the YOGO chart 200. doing. Therefore, in the automatic manufacturing machine control device 100 of the present embodiment, the YOGO chart reading unit 103, the YOGO chart analysis unit 104, and the control program generation unit 105 correspond to the "control program generation device 110" of the present invention. ..

D.制御プログラム生成処理 :
図15は、本実施例の自動製造機械制御装置100の中で、制御プログラム生成装置110に対応する部分が実行する制御プログラム生成処理の概要を示したフローチャートである。図示されるように、制御プログラム生成処理では、先ず初めにYOGOチャートを読み込む(STEP1)。本実施例では、自動製造機械制御装置100がYOGOチャートを作成しているから、作成したYOGOチャートのデータを読み込むことになる。もちろん、他のコンピュータ50で作成したYOGOチャートのデータを読み込んでも良い。
D. Control program generation process:
FIG. 15 is a flowchart showing an outline of the control program generation process executed by the portion corresponding to the control program generation device 110 in the automatic manufacturing machine control device 100 of this embodiment. As shown in the figure, in the control program generation process, the YOGO chart is first read (STEP 1). In this embodiment, since the automatic manufacturing machine control device 100 creates the YOGO chart, the data of the created YOGO chart is read. Of course, the data of the YOGO chart created by another computer 50 may be read.

続いて、読み込んだYOGOチャートを解析して中間データを出力する(STEP2)。図16は、本実施例の自動製造機械制御装置100が、YOGOチャートを解析して中間データを出力する処理(YOGOチャート解析処理)のフローチャートである。この処理は、図13中に示したYOGOチャート解析部104が実行する処理である。 Subsequently, the read YOGO chart is analyzed and intermediate data is output (STEP2). FIG. 16 is a flowchart of a process (YOGO chart analysis process) in which the automatic manufacturing machine control device 100 of the present embodiment analyzes the YOGO chart and outputs intermediate data. This process is a process executed by the YOGO chart analysis unit 104 shown in FIG.

図16に示したように、YOGOチャート解析処理を開始すると、先ず初めに、部分期間番号Nおよびアクチュエータ番号Mを「1」に初期化する(STEP10)。続いて、YOGOチャート上での座標(N,M)の位置に、基本動作が記入されているか否かを判断する(STEP11)。ここで、YOGOチャート上での座標(N,M)とは、YOGOチャート上で、部分期間番号Nとアクチュエータ番号Mとの組み合わせで特定されるマス目状の座標位置を表している。STEP10で部分期間番号Nおよびアクチュエータ番号Mを初期化した直後は、NおよびMは何れも「1」であるから、YOGOチャート上の座標(1,1)の位置に基本動作が記入されているか否かを判断することになる。 As shown in FIG. 16, when the YOGO chart analysis process is started, first, the partial period number N and the actuator number M are initialized to "1" (STEP 10). Subsequently, it is determined whether or not the basic operation is entered at the position of the coordinates (N, M) on the YOGO chart (STEP 11). Here, the coordinates (N, M) on the YOGO chart represent the coordinate positions in a grid pattern specified by the combination of the partial period number N and the actuator number M on the YOGO chart. Immediately after initializing the partial period number N and the actuator number M in STEP 10, since both N and M are "1", is the basic operation entered at the position of the coordinates (1, 1) on the YOGO chart? It will be judged whether or not.

図5に例示したYOGOチャートの場合では、座標(1,1)には基本動作は記入されていないから、STEP11では「no」と判断して、アクチュエータ番号Mが最終値に達したか否かを判断する(STEP14)。本実施例の自動製造機械1には11個のアクチュエータ10〜20が搭載されているから、アクチュエータ番号Mの最終値は11となる。従って、座標(1,1)の基本動作の有無を確認した後のSTEP14の判断では、「no」と判断されるので、アクチュエータ番号Mを1つ増加させる(STEP15)。そして、増加させたアクチュエータ番号Mを用いて、再び、座標位置(N,M)に基本動作が記入されているか否かを判断する(STEP11)。 In the case of the YOGO chart illustrated in FIG. 5, since the basic operation is not entered in the coordinates (1, 1), it is judged as "no" in STEP 11 and whether or not the actuator number M has reached the final value. Is determined (STEP 14). Since 11 actuators 10 to 20 are mounted on the automatic manufacturing machine 1 of this embodiment, the final value of the actuator number M is 11. Therefore, in the determination of STEP 14 after confirming the presence or absence of the basic operation of the coordinates (1, 1), it is determined to be "no", so the actuator number M is increased by one (STEP 15). Then, using the increased actuator number M, it is determined again whether or not the basic operation is entered in the coordinate positions (N, M) (STEP 11).

このように、部分期間番号Nは「1」のまま、アクチュエータ番号Mを1つずつ増加させながら、座標(1,M)に基本動作が記入されているか否かを判断していくと、やがては、基本動作が記入されている座標(1,M)になった時に、STEP11で「yes」と判断されることになる。 In this way, while the partial period number N remains "1" and the actuator number M is incremented by one, it is determined whether or not the basic operation is entered in the coordinates (1, M). Will be determined as "yes" in STEP 11 when the coordinates (1, M) in which the basic operation is entered are reached.

そして、STEP11で「yes」と判断された場合は、その座標に記入されている基本動作の動作記述206aを読み込み、更に、基本動作の数値テーブル206bも記入されている場合は数値テーブル206bを読み込む(STEP12)。図5に例示したYOGOチャートでは、座標(1,4)に達した時に、STEP11で「yes」と判断されて、「Ω−AC」という動作記述206aと「AC−B11」という数値テーブル206bとを、基本動作として読み込むことになる。 Then, when it is determined as "yes" in STEP 11, the operation description 206a of the basic operation entered in the coordinates is read, and further, when the numerical table 206b of the basic operation is also entered, the numerical table 206b is read. (STEP12). In the YOGO chart illustrated in FIG. 5, when the coordinates (1,4) are reached, it is determined as "yes" in STEP11, and the operation description 206a of "Ω-AC" and the numerical table 206b of "AC-B11" are displayed. Will be read as the basic operation.

続いて、(N,M,動作記述,数値テーブル)という中間データをメモリに記憶する(STEP1)。図5に例示したYOGOチャートの座標(1,4)の場合であれば、(1,4,Ω−AC,AC−B11)という中間データをメモリに記憶することになる。従って、この中間データは、YOGOチャート上で部分期間番号が1番、アクチュエータ番号Mが4番の位置に、「Ω−AC」という動作記述206aと「AC−B11」という数値テーブル206bとによって規定される基本動作が記入されていることを表している。 Subsequently, intermediate data (N, M, operation description, numerical table) is stored in the memory (STEP 1). In the case of the coordinates (1,4) of the YOGO chart illustrated in FIG. 5, the intermediate data (1,4, Ω-AC, AC-B11) is stored in the memory. Therefore, this intermediate data is defined by the operation description 206a of "Ω-AC" and the numerical table 206b of "AC-B11" at the positions where the partial period number is No. 1 and the actuator number M is No. 4 on the YOGO chart. Indicates that the basic operation to be performed is entered.

こうして、YOGOチャートから読み出したデータをメモリに記憶した後は(STEP13)、アクチュエータ番号Mが最終値(ここでは、11)に達したか否かを判断する(STEP14)。その結果、最終値に達していない場合は(STEP14:no)、アクチュエータ番号Mを1つ増加させた後(STEP15)、STEP11に戻って、再び、YOGOチャート上の座標(N,M)に基本動作が記入されているか否かを判断する。 In this way, after storing the data read from the YOGO chart in the memory (STEP 13), it is determined whether or not the actuator number M has reached the final value (here, 11) (STEP 14). As a result, if the final value is not reached (STEP14: no), the actuator number M is increased by one (STEP15), then the process returns to STEP11, and the coordinates (N, M) on the YOGO chart are used again. Determine if the action is entered.

これに対して、アクチュエータ番号Mが最終値に達していた場合は(STEP14:yes)、今度は、部分期間番号Nが最終値に達したか否かを判断する(STEP16)。例えば、YOGOチャート上で、自動製造機械1の動作が100個の部分期間を用いて記述されているのであれば、部分期間番号Nの最終値は100となる。 On the other hand, when the actuator number M has reached the final value (STEP14: yes), this time, it is determined whether or not the partial period number N has reached the final value (STEP16). For example, if the operation of the automatic manufacturing machine 1 is described using 100 partial periods on the YOGO chart, the final value of the partial period number N is 100.

その結果、部分期間番号Nが最終値に達していない場合は(STEP16:no)、部分期間番号Nを1つ増加させると共に(STEP17)、アクチュエータ番号Mを「1」に初期化した後(STEP18)、STEP11に戻って、再び、YOGOチャート上の座標(N,M)に基本動作が記入されているか否かを判断する。すなわち、YOGOチャート上で(図5参照)、部分期間番号Nが1番の部分期間を上から順番に確認して行き、一番下まで確認したら、今度は、部分期間番号Nが2番の部分期間を上から順番に確認して行き、2番の部分期間を確認し終わったら、部分期間番号Nが3番の部分期間というように、部分期間番号Nが小さな部分期間から大きな部分期間に向かって順番に、YOGOチャートに記入されている基本動作を読み出して、中間データをメモリに記憶して行くのである。 As a result, when the partial period number N has not reached the final value (STEP16: no), the partial period number N is increased by one (STEP17), and after the actuator number M is initialized to "1" (STEP18). ), Returning to STEP11, it is determined again whether or not the basic operation is entered in the coordinates (N, M) on the YOGO chart. That is, on the YOGO chart (see FIG. 5), the partial period with the partial period number N is confirmed in order from the top, and after confirming to the bottom, this time, the partial period number N is the second. Check the partial period in order from the top, and when you finish checking the second partial period, the partial period number N is the third partial period, and so on, from the small partial period to the large partial period. In order, the basic operation written in the YOGO chart is read out, and the intermediate data is stored in the memory.

そして、このような操作を繰り返していき、最終的に、部分期間番号Nが最終値に達したと判断したら(STEP16:yes)、YOGOチャートに記入された全ての基本動作を読み出したことになる。そこで、メモリに記憶しておいた中間データを読み出して、制御プログラム生成部105に出力する(STEP19)。図17には、図5に例示したYOGOチャートを解析した場合に得られる中間データが例示されている。このような中間データを出力したら、図16のYOGOチャート解析処理を終了して、図15の制御プログラム生成処理に復帰する。 Then, by repeating such an operation and finally determining that the partial period number N has reached the final value (STEP16: yes), it means that all the basic operations entered in the YOGO chart have been read out. .. Therefore, the intermediate data stored in the memory is read out and output to the control program generation unit 105 (STEP 19). FIG. 17 illustrates intermediate data obtained when the YOGO chart illustrated in FIG. 5 is analyzed. After outputting such intermediate data, the YOGO chart analysis process of FIG. 16 is terminated, and the process returns to the control program generation process of FIG.

図15の制御プログラム生成処理では、このようにして得られた中間データに基づいて、制御プログラムを生成する(STEP3)。図18には、図17に例示した中間データから生成された制御プログラムが示されている。図17の中間データと、図18の制御プログラムとを比較すれば明らかなように、制御プログラムでは、中間データの動作記述206aおよび数値テーブル206bが数値に置き換えられたものとなっている。これは、動作記述206aを、その動作記述206aを実現するプログラム要素番号(図14参照)に置き換えると共に、数値テーブル206bを、その数値テーブル206bの数値テーブル番号に置き換えたためである。 In the control program generation process of FIG. 15, a control program is generated based on the intermediate data thus obtained (STEP 3). FIG. 18 shows a control program generated from the intermediate data illustrated in FIG. As is clear from comparing the intermediate data of FIG. 17 with the control program of FIG. 18, in the control program, the operation description 206a and the numerical table 206b of the intermediate data are replaced with numerical values. This is because the operation description 206a is replaced with the program element number (see FIG. 14) that realizes the operation description 206a, and the numerical table 206b is replaced with the numerical table number of the numerical table 206b.

中間データ中の動作記述206aおよび数値テーブル206bを、それぞれプログラム要素番号および数値テーブル番号に置き換える操作は、図8中の制御プログラム生成部105が、基本動作記憶部102を参照することによって実行される。すなわち、基本動作記憶部102には、動作記述206aがプログラム要素番号と対応付けて記憶されている(図14参照)。更に、基本動作記憶部102には、図7〜図9に例示した数値テーブル206bが記憶されており、それぞれの数値テーブル206bには数値テーブル番号が設定されている。そこで、制御プログラム生成部105は、基本動作記憶部102に記憶されている図14の対応関係や、図7〜図9に例示した数値テーブル206bを参照することによって、中間データ中の動作記述206aや数値テーブル206bを、プログラム要素番号および数値テーブル番号に置き換えて行く。 The operation of replacing the operation description 206a and the numerical table 206b in the intermediate data with the program element number and the numerical table number, respectively, is executed by the control program generation unit 105 in FIG. 8 referring to the basic operation storage unit 102. .. That is, the operation description 206a is stored in the basic operation storage unit 102 in association with the program element number (see FIG. 14). Further, the basic operation storage unit 102 stores the numerical tables 206b illustrated in FIGS. 7 to 9, and the numerical table numbers are set in the respective numerical tables 206b. Therefore, the control program generation unit 105 refers to the correspondence relationship of FIG. 14 stored in the basic operation storage unit 102 and the numerical table 206b illustrated in FIGS. 7 to 9, and thereby, the operation description 206a in the intermediate data is used. And the numerical table 206b are replaced with the program element number and the numerical table number.

以上のようにして、中間データから制御プログラムを生成したら(図15のSTEP3)、生成した制御プログラムを制御実行部106に出力して(STEP4)、図15の制御プログラム生成処理を終了する。 After the control program is generated from the intermediate data as described above (STEP 3 in FIG. 15), the generated control program is output to the control execution unit 106 (STEP 4), and the control program generation process in FIG. 15 is completed.

尚、図18に示すように、本実施例の制御プログラムは、部分期間番号N、アクチュエータ番号M、プログラム要素番号、数値テーブル番号が、この順序で並んだ一組のデータ(以下、「データ組」と呼ぶ)が集まったものとなっている。そこで、データ組の中で、部分期間番号Nを表す1番目のデータを「第1要素」と呼び、アクチュエータ番号Mを表す2番目のデータを「第2要素」と呼び、プログラム要素番号を表す3番目のデータを「第3要素」と呼び、数値テーブル番号を表す4番目のデータを「第4要素」と呼ぶことにする。また、本実施例の制御プログラムは、複数のデータ組が連続したデータに過ぎない。しかし、自動製造機械制御装置100の制御実行部106は、このような制御プログラムに基づいて、以下のようにして、自動製造機械制御装置100のアクチュエータ10〜20の動作を制御する。 As shown in FIG. 18, in the control program of this embodiment, a set of data in which the partial period number N, the actuator number M, the program element number, and the numerical table number are arranged in this order (hereinafter, "data set"). ") Is a collection. Therefore, in the data set, the first data representing the partial period number N is called the "first element", the second data representing the actuator number M is called the "second element", and represents the program element number. The third data will be referred to as the "third element", and the fourth data representing the numerical table number will be referred to as the "fourth element". Further, the control program of this embodiment is merely data in which a plurality of data sets are continuous. However, the control execution unit 106 of the automatic manufacturing machine control device 100 controls the operations of the actuators 10 to 20 of the automatic manufacturing machine control device 100 as follows based on such a control program.

E.動作制御処理 :
図19は、自動製造機械制御装置100の制御実行部106が、制御プログラムに従って自動製造機械1の動作を制御する動作制御処理のフローチャートである。図19に示すように、動作制御処理を開始すると、先ず初めに、部分期間番号Nを「1」に初期化する(STEP50)。続いて、制御プログラムの中から、第1要素がNのデータ組を取得する(STEP51)。動作制御処理を開始した直後であれば、部分期間番号Nは「1」に設定されているから、図18に例示した制御プログラムから、(1,4,4,19)というデータ組を読み出すことになる。
E. Operation control processing:
FIG. 19 is a flowchart of an operation control process in which the control execution unit 106 of the automatic manufacturing machine control device 100 controls the operation of the automatic manufacturing machine 1 according to a control program. As shown in FIG. 19, when the operation control process is started, the partial period number N is first initialized to "1" (STEP 50). Subsequently, a data set in which the first element is N is acquired from the control program (STEP51). Immediately after starting the operation control process, the partial period number N is set to "1", so that the data set (1, 4, 4, 19) is read from the control program illustrated in FIG. become.

続いて、読み出したデータ組の第2要素の値に基づいて、制御対象となるアクチュエータを特定する(STEP52)。STEP51で読み出したデータ組を(1,4,4,19)とすれば第2要素の値は「4」であるから、アクチュエータ番号Mが「4」のアクチュエータが制御対象のアクチュエータとなる。また、STEP51で複数のデータ組を読み出していた場合には、それぞれのデータ組の第2要素の値に基づいて、制御対象となるそれぞれのアクチュエータを特定する。 Subsequently, the actuator to be controlled is specified based on the value of the second element of the read data set (STEP 52). Assuming that the data set read in STEP 51 is (1, 4, 4, 19), the value of the second element is "4", so that the actuator whose actuator number M is "4" is the actuator to be controlled. When a plurality of data sets are read out in STEP 51, each actuator to be controlled is specified based on the value of the second element of each data set.

更に、読み出したデータ組の第3要素の値に基づいて、基本動作記憶部102に記憶されているプログラム要素番号を検索することによって、アクチュエータに基本動作させるためのプログラム要素を取得する(STEP53)。STEP51で読み出したデータ組を(1,4,4,19)とすれば第3要素の値は「4」であるから、基本動作させるためのプログラム要素は、プログラム要素番号が「4」番のプログラム要素となる。 Further, by searching for the program element number stored in the basic operation storage unit 102 based on the value of the third element of the read data set, the program element for causing the actuator to perform the basic operation is acquired (STEP53). .. If the data set read in STEP 51 is (1, 4, 4, 19), the value of the third element is "4". Therefore, the program element for basic operation has the program element number "4". It becomes a program element.

最後に、データ組に第4要素が存在している場合は、その値は、プログラム要素に指定するパラメータの数値テーブル番号を示している。そこで、基本動作記憶部102に記憶されている数値テーブル206bを検索することによって、数値テーブル番号を有する数値テーブル206bを特定した後、数値テーブル206bに設定されている数値を、プログラム要素に引数として設定する(STEP54)。 Finally, if the fourth element exists in the data set, its value indicates the numerical table number of the parameter specified in the program element. Therefore, by searching the numerical table 206b stored in the basic operation storage unit 102, the numerical table 206b having the numerical table number is specified, and then the numerical value set in the numerical table 206b is used as an argument in the program element. Set (STEP 54).

以上のSTEP51〜STEP54の操作を行うことによって、YOGOチャート上のある部分期間(動作制御処理が開始された直後は、部分期間番号Nが「1」番の部分期間)に記入された基本動作を、それぞれのアクチュエータに行わせる準備が整ったことになる。すなわち、制御対象となるアクチュエータが特定され(STEP52)、制御に用いるプログラム要素が取得され(STEP53)、プログラム要素に対して引数が設定された(STEP54)ことになるので、そのプログラム要素を実行する(STEP55)。例えば、アクチュエータがサーボモータであり、基本動作の内容がモータを正方向に180度回転させるという内容であった場合は、モータの回転角度を検出しながら、回転角度が180度になるまでモータを駆動する動作を、所定の制御周期で繰り返すようなプログラム要素を実行する。また、複数のプログラム要素が存在する場合は、それらのプログラム要素が並行して実行されることになる。 By performing the above operations of STEP 51 to STEP 54, the basic operation entered in a certain partial period on the YOGO chart (immediately after the operation control process is started, the partial period number N is the "1" partial period) is performed. , It means that each actuator is ready to do it. That is, the actuator to be controlled is specified (STEP52), the program element used for control is acquired (STEP53), and the argument is set for the program element (STEP54). Therefore, the program element is executed. (STEP55). For example, if the actuator is a servomotor and the basic operation is to rotate the motor 180 degrees in the forward direction, the motor is rotated 180 degrees while detecting the rotation angle of the motor. A program element that repeats the driving operation at a predetermined control cycle is executed. If a plurality of program elements exist, those program elements will be executed in parallel.

続いて、全てのプログラム要素の実行が終了したか否かを判断する(STEP56)。すなわち、STEP55で複数のプログラム要素を実行した場合は、それらのプログラム要素の実行が同時に終了するとは限らないので、全てのプログラム要素の実行が終了したか否かを判断する。もちろん、STEP55で1つのプログラム要素しか実行していない場合は、そのプログラム要素の実行が終了したか否かを判断することになる。 Then, it is determined whether or not the execution of all the program elements is completed (STEP56). That is, when a plurality of program elements are executed in STEP55, the execution of those program elements is not always completed at the same time, so it is determined whether or not the execution of all the program elements is completed. Of course, when only one program element is executed in STEP55, it is determined whether or not the execution of the program element is completed.

その結果、実行中のプログラム要素が残っている場合は、STEP56では「no」と判断して、再び同じ判断(STEP56)を繰り返す。こうすることによって、全てのプログラム要素の実行が終了するまで待機状態となる。そして、全てのプログラム要素の実行が終了したら(STEP56:yes)、部分期間番号Nが最終値に達したか否かを判断する(STEP57)。例えば、YOGOチャート上で自動製造機械1の動作を記述するために、100個の部分期間が用いられていた場合は、部分期間番号Nが「100」に達したか否かを判断する。 As a result, if the program element being executed remains, it is determined as "no" in STEP56, and the same determination (STEP56) is repeated again. By doing so, the program waits until the execution of all the program elements is completed. Then, when the execution of all the program elements is completed (STEP56: yes), it is determined whether or not the partial period number N has reached the final value (STEP57). For example, when 100 partial periods are used to describe the operation of the automatic manufacturing machine 1 on the YOGO chart, it is determined whether or not the partial period number N has reached "100".

その結果、部分期間番号Nがまだ最終値に達していない場合は(STEP57:no)、部分期間番号Nを1つ増加させる(STEP58)。そして、STEP51に戻って、制御プログラムの中から、第1要素が新たな部分期間番号Nに一致するデータ組を読み出した後、読み出したデータ組に対して上述したSTEP52〜STEP55の操作を行う。こうすることにより、先に基本動作を実行した部分期間から1つ部分期間を進めて、新たな部分期間に記入された全ての基本動作が実行されることになる。そして、新たな部分期間の全ての基本動作が終了して、STEP56で「yes」と判断したら、その部分期間の部分期間番号Nが最終値に達しているか否かを判断する(STEP57)。その結果、部分期間番号Nが最終値に達していない場合は(STEP57:no)、部分期間番号Nを1つ増加させた後(STEP58)、STEP51に戻って、新たな部分期間番号Nについて、上述したSTEP51〜STEP57の操作を繰り返す。 As a result, if the partial period number N has not yet reached the final value (STEP57: no), the partial period number N is increased by one (STEP58). Then, returning to STEP 51, after reading a data set whose first element matches the new partial period number N from the control program, the above-mentioned operations of STEP 52 to STEP 55 are performed on the read data set. By doing so, all the basic operations entered in the new partial period are executed by advancing one partial period from the partial period in which the basic operation was executed earlier. Then, when all the basic operations of the new partial period are completed and "yes" is determined in STEP 56, it is determined whether or not the partial period number N of the partial period has reached the final value (STEP 57). As a result, if the partial period number N has not reached the final value (STEP57: no), after increasing the partial period number N by one (STEP58), the process returns to STEP51 and the new partial period number N is described. The above-mentioned operations of STEP 51 to STEP 57 are repeated.

このように、図19の動作制御処理では、YOGOチャートの先頭の部分期間(すなわち、部分期間番号Nが1番の部分期間)から最後の部分期間(部分期間番号Nが最終値の部分期間)に向かって、部分期間を1つずつ選択して、その部分期間に記載された基本動作を実行する動作を繰り返す。そして、最後の部分期間の基本動作が終了したら、STEP57で「yes」と判断して、動作制御処理を終了する。 As described above, in the operation control process of FIG. 19, the first partial period (that is, the partial period number N is the first partial period) to the last partial period (the partial period number N is the final value partial period) of the YOGO chart. The operation of executing the basic operation described in the partial period is repeated by selecting the partial periods one by one. Then, when the basic operation of the last partial period is completed, STEP57 determines "yes" and ends the operation control process.

以上に詳しく説明したように、本実施例の自動製造機械制御装置100では、自動製造機械1の動作をYOGOチャート200で記述することによって、そのYOGOチャート200から制御プログラムを自動で生成して、自動製造機械制御装置100を動作させることができる。また、YOGOチャートは、自動製造機械1の構造や動作が分かっていれば、プログラムに関する知識が無くても簡単に作成することができるので、プログラマが制御プログラムを作成する必要が無い。このため、新たな自動製造機械1を開発するために要する時間を、大幅に(少なくとも半分以下に)短縮することができ、加えて、プログラマを確保しておく必要も無くなる。その結果、製造現場に新たな自動製造機械を導入することが容易になって、産業界での省力化に対する要請に十分に対応することが可能となる。 As described in detail above, in the automatic manufacturing machine control device 100 of the present embodiment, by describing the operation of the automatic manufacturing machine 1 on the YOGO chart 200, a control program is automatically generated from the YOGO chart 200. The automatic manufacturing machine control device 100 can be operated. Further, if the structure and operation of the automatic manufacturing machine 1 are known, the YOGO chart can be easily created without any knowledge about the program, so that the programmer does not need to create the control program. Therefore, the time required to develop the new automatic manufacturing machine 1 can be significantly reduced (at least half or less), and in addition, it is not necessary to secure a programmer. As a result, it becomes easy to introduce a new automatic manufacturing machine to the manufacturing site, and it becomes possible to fully meet the demand for labor saving in the industrial world.

加えて、本実施例のYOGOチャート200では、アクチュエータの基本動作を、動作記述206aと数値テーブル206bとに分けて記入することとしている。動作記述206aは基本動作の内容を定性的に表現したものに過ぎないから、YOGOチャート200に動作記述206aを記入するだけなら、人間が考えた内容を素直に記入する作業と実質的に変わらない。このため、YOGOチャート200に誤った内容を記入してしまう可能性を大幅に減らすことができる。そして、YOGOチャート200に動作記述206aを正しく記入しておけば、その後は数値テーブル206bに設定する数値を修正すればよく、YOGOチャート200自体は変更する必要が無い。その結果、アクチュエータの基本動作が正しく記載されたYOGOチャート200を容易に得ることが可能となる。 In addition, in the YOGO chart 200 of this embodiment, the basic operation of the actuator is separately entered in the operation description 206a and the numerical table 206b. Since the operation description 206a is merely a qualitative expression of the content of the basic operation, if the operation description 206a is only entered in the YOGO chart 200, it is substantially the same as the work of obediently entering the content considered by humans. .. Therefore, the possibility of entering erroneous contents on the YOGO chart 200 can be greatly reduced. Then, if the operation description 206a is correctly entered in the YOGO chart 200, then the numerical value set in the numerical table 206b may be corrected, and the YOGO chart 200 itself does not need to be changed. As a result, it becomes possible to easily obtain the YOGO chart 200 in which the basic operation of the actuator is correctly described.

以上、本実施例の自動製造機械制御装置100について説明したが、本発明は上記の実施例に限られるものではなく、その要旨を逸脱しない範囲において種々の態様で実施することが可能である。 Although the automatic manufacturing machine control device 100 of the present embodiment has been described above, the present invention is not limited to the above-described embodiment, and can be implemented in various modes without departing from the gist thereof.

例えば、上述した実施例の自動製造機械制御装置100では、YOGOチャートを作成して、そのYOGOチャートから制御プログラムを生成する機能(図13のYOGOチャート作成部101、基本動作記憶部102、YOGOチャート読込部103、YOGOチャート解析部104、制御プログラム生成部105に対応)に加えて、制御プログラムに基づいて制御を実行する機能(図13の制御実行部106に対応)も備えているものとして説明した。しかし、これらの複数の機能の一部を搭載した複数の装置を組み合わせることによって、全体として自動製造機械制御装置100を形成するようにしても良い。 For example, in the automatic manufacturing machine control device 100 of the above-described embodiment, a function of creating a YOGO chart and generating a control program from the YOGO chart (YOGO chart creation unit 101, basic operation storage unit 102, YOGO chart of FIG. 13). In addition to the reading unit 103, the YOGO chart analysis unit 104, and the control program generation unit 105), it is assumed that it also has a function to execute control based on the control program (corresponding to the control execution unit 106 in FIG. 13). bottom. However, the automatic manufacturing machine control device 100 may be formed as a whole by combining a plurality of devices equipped with a part of these plurality of functions.

例えば、図20に例示したように、自動製造機械制御装置100を、YOGOチャート処理装置100aと、制御実行装置100bとに分割してもよい。そして、自動製造機械制御装置100には、YOGOチャートの作成から制御プログラムの生成までの一連の機能(すなわち、YOGOチャート作成部101、基本動作記憶部102、YOGOチャート読込部103、YOGOチャート解析部104、制御プログラム生成部105)を搭載する。また、制御実行装置100bには、制御プログラムに従ってプログラム要素を実行する機能(すなわち、制御実行部106、ブログラム要素記憶部107)を搭載するようにしても良い。 For example, as illustrated in FIG. 20, the automatic manufacturing machine control device 100 may be divided into a YOGO chart processing device 100a and a control execution device 100b. Then, the automatic manufacturing machine control device 100 has a series of functions from the creation of the YOGO chart to the generation of the control program (that is, the YOGO chart creation unit 101, the basic operation storage unit 102, the YOGO chart reading unit 103, and the YOGO chart analysis unit. 104, the control program generation unit 105) is mounted. Further, the control execution device 100b may be equipped with a function of executing a program element according to a control program (that is, a control execution unit 106 and a program element storage unit 107).

こうすれば、YOGOチャートを作成したり、制御プログラムを生成したりする作業は事務室に設置しておいたYOGOチャート処理装置100aで行い、自動製造機械1の傍に設置しておいた制御実行装置100bに、生成した制御プログラムを読み込ませることによって、自動製造機械1を動作させることが可能となる。尚、図20に示した例では、YOGOチャート処理装置100aが、本発明における「制御プログラム生成装置」に対応する。 In this way, the work of creating the YOGO chart and generating the control program is performed by the YOGO chart processing device 100a installed in the office, and the control execution installed near the automatic manufacturing machine 1 is performed. By causing the device 100b to read the generated control program, the automatic manufacturing machine 1 can be operated. In the example shown in FIG. 20, the YOGO chart processing device 100a corresponds to the "control program generator" in the present invention.

また、図7〜図9に例示した数値テーブル206bには、必要に応じて様々な項目を設定することもできる。例えば、図7〜図9に例示した項目に加えて、「動作待機時間」という項目を設定しても良い。この「動作待機時間」には、次のような時間を設定する。先ず、前述したように数値テーブル206bは、動作記述206aと組み合わされて基本動作を規定しており、その基本動作はYOGOチャート200に記入されることによって、動作するアクチュエータと動作するタイミングとを規定する。すなわち、YOGOチャート200上で座標位置(N,M)に記入された基本動作は、アクチュエータ番号がNのアクチュエータを、部分期間番号がM番のタイミングで、基本動作させることを表している。しかし、数値テーブル206bに「動作待機時間」という項目が含まれている場合は、部分期間番号がM番のタイミングになっても直ちにアクチュエータが動作し始めるのではなく、動作待機時間に設定された時間が経過した後にアクチュエータが動作する。 Further, various items can be set in the numerical table 206b illustrated in FIGS. 7 to 9 as needed. For example, in addition to the items illustrated in FIGS. 7 to 9, an item called "operation standby time" may be set. The following time is set in this "operation standby time". First, as described above, the numerical table 206b defines the basic operation in combination with the operation description 206a, and the basic operation is entered in the YOGO chart 200 to specify the actuator to be operated and the timing to be operated. do. That is, the basic operation entered in the coordinate positions (N, M) on the YOGO chart 200 indicates that the actuator having the actuator number N is basically operated at the timing when the partial period number is M number. However, when the numerical table 206b includes the item "operation standby time", the actuator does not start operating immediately even when the partial period number reaches the timing of M, but is set to the operation standby time. The actuator operates after a lapse of time.

図21には、「Ω−AA」という動作記述206aに組み合わせて用いられる数値テーブル206bに、「動作待機時間」という項目が設定されている様子が例示されている。図21(a)に例示した数値テーブル206bには、「動作待機時間」に5秒と設定されている。ここで、動作記述206aが組み合わされる「Ω−AA」という動作記述206aはチャックの開閉動作を表している。従って、「Ω−AA」という動作記述206aに、図21(a)の数値テーブル206bを組み合わせることによって、5秒間が経過してからチャックを閉じ始めるような動作を記述することが可能となる。もちろん、図21(b)に例示した数値テーブル206bのように、「動作待機時間」の0秒と設定しておけば、直ちにチャックを閉じ始める動作を記述することも可能となる。 FIG. 21 illustrates how the item “operation standby time” is set in the numerical table 206b used in combination with the operation description 206a of “Ω-AA”. In the numerical table 206b illustrated in FIG. 21 (a), the "operation standby time" is set to 5 seconds. Here, the operation description 206a "Ω-AA" to which the operation description 206a is combined represents the opening / closing operation of the chuck. Therefore, by combining the operation description 206a of "Ω-AA" with the numerical table 206b of FIG. 21 (a), it is possible to describe an operation in which the chuck starts to close after 5 seconds have elapsed. Of course, as shown in the numerical table 206b illustrated in FIG. 21B, if the "operation standby time" is set to 0 seconds, it is possible to describe an operation in which the chuck starts to close immediately.

また、上述した実施例では、YOGOチャート200の基本動作206は、動作記述206aと、数値テーブル206bとを用いて記載されるものとして説明した。このため、YOGOチャート200から制御プログラムを生成する際には、動作記述206aをプログラム要素に変換すると共に、数値テーブル206bの各項目に記憶されている数値を読み出して、プログラム要素の引数として設定することになる。こうすれば、YOGOチャート200の作成後に各アクチュエータの動作を調節する場合には、(YOGOチャート200は変更することなく)数値テーブル206bの内容を変更すれば良いので、たいへん便利である。しかし、プログラム要素に設定する引数の個数が多くならない限りは(例えば、10個以下であれば)、数値テーブル206bの替わりに、複数の数値パラメータを設定するようにしても良い。この場合は、基本動作206は、動作記述206aと、複数の数値パラメータとを用いて記載されることになる。 Further, in the above-described embodiment, the basic operation 206 of the YOGO chart 200 has been described as being described by using the operation description 206a and the numerical table 206b. Therefore, when a control program is generated from the YOGO chart 200, the operation description 206a is converted into a program element, and the numerical value stored in each item of the numerical table 206b is read out and set as an argument of the program element. It will be. In this way, when adjusting the operation of each actuator after creating the YOGO chart 200, it is very convenient because the contents of the numerical table 206b may be changed (without changing the YOGO chart 200). However, as long as the number of arguments set in the program element is not large (for example, if the number is 10 or less), a plurality of numerical parameters may be set instead of the numerical table 206b. In this case, the basic operation 206 will be described using the operation description 206a and a plurality of numerical parameters.

図22は、YOGOチャート200上の基本動作206が、動作記述206aと、複数の数値パラメータ206cとを用いて記載された様子を例示した説明図である。図22(a)には、「Ω−AB」という動作記述206aと、「Θ1」、「RV1」、「RT1」という数値パラメータ206cとを用いて基本動作206が記載されている。ここで、前述したように「Ω−AB」という動作記述206aは、ACサーボモータに減速機構を組み合わせたアクチュエータに回転動作させることを表しているから(図6参照)、引数としては「回転角度」と「回転速度」と「回転トルク」とを設定する必要がある(図8参照)。そこで、図22(a)に示した例では、これらに対応する3つの数値パラメータ206cが設定されている。ここで、図22(a)中に示した「Θ1」は「回転角度」を表す数値パラメータ206cであり、「RV1」は「回転速度」を表す数値パラメータ206cであり、「RT1」は「回転トルク」を表す数値パラメータ206cである。また、それぞれの数値パラメータ206c(すなわち、「Θ1」、「RV1」、「RT1」)の数値は、基本動作記憶部102に予め記憶しておく。 FIG. 22 is an explanatory diagram illustrating a state in which the basic operation 206 on the YOGO chart 200 is described by using the operation description 206a and a plurality of numerical parameters 206c. In FIG. 22A, the basic operation 206 is described using the operation description 206a of “Ω-AB” and the numerical parameters 206c of “Θ1”, “RV1”, and “RT1”. Here, as described above, the operation description 206a of "Ω-AB" indicates that the actuator in which the AC servomotor is combined with the reduction mechanism is rotated (see FIG. 6), and therefore the argument is "rotational angle". , "Rotation speed" and "Rotation torque" need to be set (see FIG. 8). Therefore, in the example shown in FIG. 22A, three numerical parameters 206c corresponding to these are set. Here, "Θ1" shown in FIG. 22A is a numerical parameter 206c representing "rotation angle", "RV1" is a numerical parameter 206c representing "rotation speed", and "RT1" is "rotation". It is a numerical parameter 206c representing "torque". Further, the numerical values of the respective numerical parameters 206c (that is, "Θ1", "RV1", and "RT1") are stored in advance in the basic operation storage unit 102.

また、図22(b)には、「Ω−AA」という動作記述206aと、「OV1」、「OF1」という数値パラメータ206cとを用いて基本動作206が記載されている。前述したように「Ω−AA」という動作記述206aは、ACサーボモータにチャック機構を組み合わせたアクチュエータに開閉動作させることを表しているから(図6参照)、引数としては「開閉速度」と「開閉荷重」とを設定する必要がある(図7参照)。そこで、図22(b)に示した例では、「開閉速度」を表す数値パラメータ206c(「OV1」)と、「開閉荷重」を表す数値パラメータ206c(「OF1」)とが設定されている。また、これらの数値パラメータ206c(すなわち、「OV1」、「OF1」)の数値は、基本動作記憶部102に予め記憶しておく。 Further, in FIG. 22B, the basic operation 206 is described by using the operation description 206a of "Ω-AA" and the numerical parameters 206c of "OV1" and "OF1". As described above, the operation description 206a of "Ω-AA" indicates that the actuator that combines the AC servomotor and the chuck mechanism is operated to open and close (see FIG. 6). Therefore, the arguments are "opening and closing speed" and "opening and closing speed". It is necessary to set "opening and closing load" (see FIG. 7). Therefore, in the example shown in FIG. 22B, a numerical parameter 206c (“OV1”) representing “opening / closing speed” and a numerical parameter 206c (“OF1”) representing “opening / closing load” are set. Further, the numerical values of these numerical parameters 206c (that is, "OV1" and "OF1") are stored in advance in the basic operation storage unit 102.

このようにしても、YOGOチャート200上の基本動作206を、動作記述206aと複数の数値パラメータ206cとを用いて記載することができる。そして、YOGOチャート200の作成後にアクチュエータの動作を調節する場合には、YOGOチャート200を変更しなくても、基本動作記憶部102に記憶しておいた数値を変更すれば良い。 Even in this way, the basic operation 206 on the YOGO chart 200 can be described by using the operation description 206a and the plurality of numerical parameters 206c. Then, when adjusting the operation of the actuator after creating the YOGO chart 200, the numerical value stored in the basic operation storage unit 102 may be changed without changing the YOGO chart 200.

また、YOGOチャート200に基本動作206を記載する際には、動作記述206aと数値テーブル206bとを用いて記載する方法と、動作記述206aと複数の数値パラメータ206cとを用いて記載する方法とを混在させて記載するようにしても構わない。 Further, when describing the basic operation 206 on the YOGO chart 200, a method of describing using the operation description 206a and the numerical table 206b and a method of describing using the operation description 206a and a plurality of numerical parameters 206c are described. It is also possible to describe them in a mixed manner.

また、自動製造機械1の制御では、製造効率(時間あたりの製造数)を出来るだけ高めることが要請される場合がある。このような場合は、基本動作206の終了前に次の基本動作206の開始を許可する位置を、数値テーブル206bまたは数値パラメータ206cに設定可能としても良い。 Further, in the control of the automatic manufacturing machine 1, it may be required to increase the manufacturing efficiency (the number of manufactured products per hour) as much as possible. In such a case, the position at which the start of the next basic operation 206 is permitted before the end of the basic operation 206 may be set in the numerical table 206b or the numerical parameter 206c.

例えば、図5に例示したYOGOチャート200では、部分期間番号が1番の部分期間で動作するアクチュエータはアクチュエータ13のみであり、部分期間番号が2番の部分期間で動作するアクチュエータはアクチュエータ11のみとなっている。従って、アクチュエータ13の動作が終了したら、アクチュエータ11の動作が開始されることになる。しかし、アクチュエータ13の動作が終了する前にアクチュエータ11の動作を開始すれば、アクチュエータ11の動作終了を早めることができる。 For example, in the YOGO chart 200 illustrated in FIG. 5, the actuator 13 operates only in the partial period having the partial period number 1, and the actuator 11 operates only in the partial period having the partial period number 2. It has become. Therefore, when the operation of the actuator 13 is completed, the operation of the actuator 11 is started. However, if the operation of the actuator 11 is started before the operation of the actuator 13 is completed, the operation of the actuator 11 can be completed earlier.

例えば、図5のYOGOチャート200では、アクチュエータ13の基本動作206は、動作記述206aが「Ω−AC」であり、数値テーブル206bが「AC−B11」となっている。「Ω−AC」という動作記述206aはアクチュエータを進退動させる動作を表している(図6参照)。また、図9(c)に示した例では、「AC−B11」という数値テーブル206bには、進退動させる移動量として、「(+)46mm」が設定されている。従って、アクチュエータ13を46mmだけ前進させたら、次のアクチュエータ11の動作を開始することになる。しかし、アクチュエータ13の移動量が46mmに達する前(たとえば移動量が43mm)の時点で、次のアクチュエータ11の動作を開始すれば、アクチュエータ11の動作終了を早めることができる。こうしたことを可能とするには、前述した数値テーブル206bまたは数値パラメータ206cの中に、次の基本動作の開始を許可する位置(以下、次動作許可位置)を設定しておけば良い。 For example, in the YOGO chart 200 of FIG. 5, in the basic operation 206 of the actuator 13, the operation description 206a is "Ω-AC" and the numerical table 206b is "AC-B11". The operation description 206a of "Ω-AC" represents an operation of moving the actuator forward and backward (see FIG. 6). Further, in the example shown in FIG. 9 (c), "(+) 46 mm" is set as the moving amount to move forward and backward in the numerical table 206b called "AC-B11". Therefore, when the actuator 13 is advanced by 46 mm, the operation of the next actuator 11 is started. However, if the operation of the next actuator 11 is started before the movement amount of the actuator 13 reaches 46 mm (for example, the movement amount is 43 mm), the operation end of the actuator 11 can be accelerated. In order to make this possible, a position for permitting the start of the next basic operation (hereinafter referred to as a position for permitting the next operation) may be set in the numerical table 206b or the numerical parameter 206c described above.

図23は、数値テーブル206bまたは数値パラメータ206cに次動作許可位置が設定された様子を例示した説明図である。図23(a)には数値テーブル206b中の項目の1つとして、次動作許可位置が設定された様子を表しており、図23(b)には複数の数値パラメータ206cの1つとして、次動作許可位置が設定された様子を表している。 FIG. 23 is an explanatory diagram illustrating a state in which the next operation permission position is set in the numerical table 206b or the numerical parameter 206c. FIG. 23A shows how the next operation permission position is set as one of the items in the numerical table 206b, and FIG. 23B shows the following as one of the plurality of numerical parameters 206c. It shows how the operation permission position is set.

図23(a)に例示した数値テーブル206bでは、図9(c)に例示した数値テーブル206bに対して、「次動作許可位置」という項目が追加されており、この項目には「−5(mm)」という数値が設定されている。数値テーブル206bの「移動量」という項目に設定されている数値は「46(mm)」であるから、移動量41(mm)(=46−5)に達したら、次のアクチュエータの基本動作206が開始可能となることを表している。 In the numerical table 206b illustrated in FIG. 23 (a), an item "next operation permitted position" is added to the numerical table 206b illustrated in FIG. 9 (c), and "-5 ("-5 ( The numerical value "mm)" is set. Since the numerical value set in the item "movement amount" in the numerical table 206b is "46 (mm)", when the movement amount 41 (mm) (= 46-5) is reached, the basic operation 206 of the next actuator Indicates that can be started.

図23(b)に示した例では、「Ω−AC」という動作記述206aに対して設定された複数の数値パラメータ206cの中の1つに、次動作許可位置が設定されている。すなわち、「LM1」という数値パラメータ206cは移動量を表しており、「ALM1」という数値パラメータ206cは次動作許可位置を表している。従って、「Ω−AC」という動作記述206aの基本動作206は、移動量が、「LM1」という数値パラメータ206cに設定された数値に達するまで継続されるが、「ALM1」という数値パラメータ206cによって設定された数値(=LM1−ALM1)に移動量が達すると、次の基本動作206を開始することが可能となる。 In the example shown in FIG. 23B, the next operation permission position is set in one of the plurality of numerical parameters 206c set for the operation description 206a of "Ω-AC". That is, the numerical parameter 206c "LM1" represents the movement amount, and the numerical parameter 206c "ALM1" represents the next operation permitted position. Therefore, the basic operation 206 of the operation description 206a of "Ω-AC" is continued until the movement amount reaches the numerical value set in the numerical parameter 206c of "LM1", but is set by the numerical parameter 206c of "ALM1". When the movement amount reaches the value (= LM1-ALM1), the next basic operation 206 can be started.

以上では、図5に例示したYOGOチャート200上で、部分期間番号が1番の部分期間に設定されているアクチュエータ13について説明した。部分期間番号が1番の部分期間にはアクチュエータ13しか設定されていないから、アクチュエータ13の移動量が次動作許可位置に達したら、次の部分期間(すなわち、部分期間番号が2番の部分期間)に設定されたアクチュエータ11の基本動作206が開始される。また、アクチュエータ11の基本動作206についても、同様にして次動作許可位置を設定しておけば、アクチュエータ11の移動量(アクチュエータ11の動作態様は回転動作なので、実際には回転角度)が次動作許可位置に達した時点で、その次の部分期間のアクチュエータ12の基本動作206が開始される。 In the above, the actuator 13 in which the partial period number is set to the first partial period on the YOGO chart 200 illustrated in FIG. 5 has been described. Since only the actuator 13 is set in the partial period whose partial period number is 1, when the movement amount of the actuator 13 reaches the next operation permitted position, the next partial period (that is, the partial period whose partial period number is 2) is set. The basic operation 206 of the actuator 11 set in) is started. Further, for the basic operation 206 of the actuator 11, if the next operation permission position is set in the same manner, the movement amount of the actuator 11 (since the operation mode of the actuator 11 is a rotational operation, the actual rotation angle) is the next operation. When the permitted position is reached, the basic operation 206 of the actuator 12 for the next partial period is started.

また、部分期間番号が4番の部分期間にはアクチュエータ10の基本動作206しか設定されていないが、次の部分期間(すなわち部分期間番号が5番の部分期間)には、3つのアクチュエータ14〜16の基本動作206が設定されている。従って、アクチュエータ10の移動量が次動作許可位置に達すると、3つのアクチュエータ14〜16の基本動作206が開始されることになる。尚、アクチュエータ14〜16はシーケンス制御されるアクチュエータであって、移動量や回転角度などを指定して制御されるわけではないので、次動作許可位置が設定されることはない。 Further, only the basic operation 206 of the actuator 10 is set in the partial period having the partial period number 4, but in the next partial period (that is, the partial period having the partial period number 5), the three actuators 14 to 14 to 16 basic operations 206 are set. Therefore, when the movement amount of the actuator 10 reaches the next operation permitted position, the basic operation 206 of the three actuators 14 to 16 is started. Since the actuators 14 to 16 are sequence-controlled actuators and are not controlled by designating a movement amount, a rotation angle, or the like, the next operation permission position is not set.

また、部分期間番号が7番の部分期間にはアクチュエータ12の基本動作206しか設定されていないが、直前の部分期間(すなわち部分期間番号が6番の部分期間)には、アクチュエータ10およびアクチュエータ17の2つの基本動作206が設定されている。従って、これら2つのアクチュエータ10,17の移動量が何れも次動作許可位置に達した後に、アクチュエータ12の基本動作206が開始されることになる。 Further, only the basic operation 206 of the actuator 12 is set in the partial period having the partial period number 7, but the actuator 10 and the actuator 17 are set in the immediately preceding partial period (that is, the partial period having the partial period number 6). Two basic operations 206 are set. Therefore, the basic operation 206 of the actuator 12 is started after the movement amounts of these two actuators 10 and 17 both reach the next operation permitted position.

このように、サーボ制御されるアクチュエータに対して次動作許可位置を設定して行けば、自動製造機械1の動作終了を早めることができるので、製造効率を高めることができる。また、次動作許可位置を設定する際には、初めは数値0を設定しておき、自動製造機械1を動作させながら、数値テーブル206bあるいは数値パラメータ206cの設定を修正して、少しずつ次動作許可位置の数値を増やしていけば、適切な次動作許可位置を容易に設定することが可能となる。 By setting the next operation permission position for the servo-controlled actuator in this way, the operation of the automatic manufacturing machine 1 can be completed earlier, so that the manufacturing efficiency can be improved. Further, when setting the next operation permission position, the numerical value 0 is set at the beginning, and while operating the automatic manufacturing machine 1, the setting of the numerical table 206b or the numerical parameter 206c is corrected, and the next operation is performed little by little. By increasing the numerical value of the permitted position, it becomes possible to easily set an appropriate next operation permitted position.

1…自動製造機械、 2…レール、 3…搬送ユニット、 3a…把持軸、
3b…チャック、 4…加工ユニット、 11〜20…アクチュエータ、
10d〜20d…ドライバ回路、 50…コンピュータ、
100…自動製造機械制御装置、 100a…YOGOチャート処理装置、
100b…制御実行装置、 100m…モニター画面、
100s…操作入力ボタン、 102…基本動作記憶部、
105…制御プログラム生成部、 106…制御実行部、
107…ブログラム要素記憶部、 110…制御プログラム生成装置、
201…仕切線、 202…トリガー線、 203…動作線、
204…始点、 205…終点、 206…基本動作、
206a…動作記述、 206b…数値テーブル、 206c…数値パラメータ。
1 ... Automatic manufacturing machine, 2 ... Rail, 3 ... Conveying unit, 3a ... Gripping shaft,
3b ... Chuck, 4 ... Machining unit, 11-20 ... Actuator,
10d to 20d ... driver circuit, 50 ... computer,
100 ... Automatic manufacturing machine control device, 100a ... YOGO chart processing device,
100b ... Control execution device, 100m ... Monitor screen,
100s ... Operation input button, 102 ... Basic operation storage unit,
105 ... Control program generation unit, 106 ... Control execution unit,
107 ... Program element storage, 110 ... Control program generator,
201 ... Partition line, 202 ... Trigger line, 203 ... Operation line,
204 ... start point, 205 ... end point, 206 ... basic operation,
206a ... Operation description, 206b ... Numerical table, 206c ... Numerical parameters.

Claims (6)

複数のアクチュエータ(10〜20)を備えた自動製造機械(1)の制御プログラムを生成する制御プログラム生成装置(100a、110)であって、
前記アクチュエータの自由度毎の動作を表す基本動作(206)を、前記基本動作を実現するプログラム要素と対応付けて記憶している基本動作記憶部(102)と、
前記自動製造機械が動作を開始してから終了するまでの動作期間が複数の部分期間に分割されており、前記自動製造機械の動作が複数の前記基本動作に分解されると共に、前記基本動作が前記複数の部分期間の何れかに割り当てられることによって前記自動製造機械の動作が記述された動作チャート(200)を読み込む動作チャート読込部(103)と、
前記動作チャート上の複数の前記部分期間に割り当てられた複数の前記基本動作の前記プログラム要素を、前記動作チャート上での前記部分期間の順序に従って結合することにより、前記自動製造機械を動作させる前記制御プログラムを生成する制御プログラム生成部(105)と
を備え、
前記基本動作記憶部は、前記基本動作の内容を、定性的に前記基本動作を記述するための動作記述(206a)と、前記基本動作の定量事項を数値によって記述するための数値記述とに分けた上で、前記基本動作の動作記述に対応する前記プログラム要素と、前記数値記述に対応する数値テーブル(206b)または前記数値記述に対応する複数の数値パラメータ(206c)とを記憶しており、
前記動作チャート読込部は、前記基本動作が、前記動作記述と、前記数値テーブルまたは前記複数の数値パラメータとを用いて記載された前記動作チャートを読み込んでおり、
前記制御プログラム生成部は、複数の前記プログラム要素を結合する際に、前記プログラム要素の前記動作記述と共に記載された前記数値テーブルまたは前記複数の数値パラメータに従って、前記プログラム要素に数値を設定する
ことを特徴とする制御プログラム生成装置。
A control program generator (100a, 110) for generating a control program of an automatic manufacturing machine (1) provided with a plurality of actuators (10 to 20).
A basic operation storage unit (102) that stores a basic operation (206) representing an operation for each degree of freedom of the actuator in association with a program element that realizes the basic operation.
The operation period from the start to the end of the operation of the automatic manufacturing machine is divided into a plurality of partial periods, the operation of the automatic manufacturing machine is decomposed into the plurality of basic operations, and the basic operation is divided into a plurality of basic operations. An operation chart reading unit (103) that reads an operation chart (200) in which the operation of the automatic manufacturing machine is described by being assigned to any of the plurality of partial periods.
The automatic manufacturing machine is operated by combining the program elements of the basic operation assigned to the partial period on the operation chart in the order of the partial periods on the operation chart. It is equipped with a control program generator (105) that generates a control program.
The basic operation storage unit divides the content of the basic operation into an operation description (206a) for qualitatively describing the basic operation and a numerical description for numerically describing the quantitative items of the basic operation. Then, the program element corresponding to the operation description of the basic operation and the numerical table (206b) corresponding to the numerical description or a plurality of numerical parameters (206c) corresponding to the numerical description are stored.
The operation chart reading unit reads the operation chart in which the basic operation is described by using the operation description and the numerical table or the plurality of numerical parameters.
When a plurality of the program elements are combined, the control program generator sets a numerical value in the program element according to the numerical table or the plurality of numerical parameters described together with the operation description of the program element. A featured control program generator.
請求項1に記載の制御プログラム生成装置であって、
前記基本動作記憶部に記憶されている前記数値テーブルまたは前記複数の数値パラメータには、前記基本動作の動作量または動作速度または動作荷重の少なくとも1つを含んだ数値が設定されている
ことを特徴とする制御プログラム生成装置。
The control program generator according to claim 1.
The numerical table or the plurality of numerical parameters stored in the basic operation storage unit is characterized in that a numerical value including at least one of the operation amount, the operation speed, and the operation load of the basic operation is set. Control program generator.
請求項1または請求項2に記載の制御プログラム生成装置であって、
前記基本動作記憶部は、前記数値テーブルに数値が設定されていない場合に参照される参照テーブルを記憶している
ことを特徴とする制御プログラム生成装置。
The control program generator according to claim 1 or 2.
The control program generation device is characterized in that the basic operation storage unit stores a reference table that is referred to when a numerical value is not set in the numerical value table.
請求項1ないし請求項3の何れか一項に記載の制御プログラム生成装置であって、
前記基本動作記憶部は、前記基本動作の動作開始を待機する動作待機時間を含んだ前記数値テーブルまたは前記複数の数値パラメータを記憶している
ことを特徴とする制御プログラム生成装置。
The control program generator according to any one of claims 1 to 3.
The control program generation device is characterized in that the basic operation storage unit stores the numerical table or the plurality of numerical parameters including an operation waiting time for waiting for the start of the operation of the basic operation.
複数のアクチュエータ(10〜20)を備えた自動製造機械(1)の制御プログラムをコンピュータによって生成する制御プログラム生成方法であって、
前記自動製造機械が動作を開始してから終了するまでの動作期間が複数の部分期間に分割されており、前記自動製造機械の動作が、前記アクチュエータの自由度毎の動作を表す複数の基本動作(206)に分解されると共に、前記基本動作が前記複数の部分期間の何れかに割り当てられることによって前記自動製造機械の動作が記述された動作チャート(200)を読み込む動作チャート読込工程(STEP1)と、
前記動作チャートを解析することによって、前記動作チャートに含まれる複数の前記基本動作と、複数の前記基本動作が割り当てられた前記部分期間とを抽出する動作チャート解析工程(STEP2)と、
前記基本動作を実現するためのプログラム要素を、前記動作チャート中で前記基本動作が割り当てられた前記部分期間の順番に従って結合することによって、前記自動製造機械を動作させる前記制御プログラムを生成する制御プログラム生成工程(STEP3)と
を備え、
前記動作チャート読込工程は、前記動作チャート中の前記基本動作が、前記基本動作の内容を定性的に記述するための動作記述(206a)と、前記基本動作の定量事項を数値によって記述するための数値テーブル(206b)または前記複数の数値パラメータ(206c)とを用いて記載された前記動作チャートを読み込む工程であり、
前記制御プログラム生成工程は、前記基本動作の前記動作記述と、前記動作記述を実現するためのプログラム要素とが対応付けて記憶された対応関係を参照することによって、前記動作記述を前記プログラム要素に変換すると共に、前記動作記述と共に記載された前記数値テーブルまたは前記複数の数値パラメータに従って前記プログラム要素に数値を設定した後、前記プログラム要素を前記部分期間の順番に従って結合することによって前記制御プログラムを生成する工程である
ことを特徴とする制御プログラム生成方法。
A control program generation method in which a control program of an automatic manufacturing machine (1) equipped with a plurality of actuators (10 to 20) is generated by a computer.
The operation period from the start to the end of the operation of the automatic manufacturing machine is divided into a plurality of partial periods, and the operation of the automatic manufacturing machine is a plurality of basic operations representing the operation of each degree of freedom of the actuator. The operation chart reading step (STEP1) of reading the operation chart (200) in which the operation of the automatic manufacturing machine is described by being decomposed into (206) and the basic operation being assigned to any of the plurality of partial periods. When,
An operation chart analysis step (STEP2) of extracting a plurality of the basic operations included in the operation chart and the partial period to which the plurality of basic operations are assigned by analyzing the operation chart.
A control program that generates the control program for operating the automatic manufacturing machine by combining program elements for realizing the basic operation in the order of the partial periods to which the basic operation is assigned in the operation chart. Equipped with a generation process (STEP3)
The operation chart reading step is for the basic operation in the operation chart to numerically describe an operation description (206a) for qualitatively describing the content of the basic operation and quantitative items of the basic operation. It is a step of reading the operation chart described by using the numerical table (206b) or the plurality of numerical parameters (206c).
The control program generation step converts the operation description into the program element by referring to a correspondence relationship stored in association with the operation description of the basic operation and the program element for realizing the operation description. The control program is generated by converting and setting numerical values in the program elements according to the numerical table or the plurality of numerical parameters described together with the operation description, and then combining the program elements in the order of the partial periods. A control program generation method characterized in that it is a process of performing.
複数のアクチュエータ(10〜20)を備えた自動製造機械(1)の制御プログラムを生成する方法を、コンピュータを用いて実現するプログラムであって、
前記自動製造機械が動作を開始してから終了するまでの動作期間が複数の部分期間に分割されており、前記自動製造機械の動作が、前記アクチュエータの自由度毎の動作を表す複数の基本動作(206)に分解されると共に、前記基本動作が前記複数の部分期間の何れかに割り当てられることによって前記自動製造機械の動作が記述された動作チャート(200)を読み込む動作チャート読込機能(STEP1)と、
前記動作チャートを解析することによって、前記動作チャートに含まれる複数の前記基本動作と、複数の前記基本動作が割り当てられた前記部分期間とを抽出する動作チャート解析機能(STEP2)と、
前記基本動作を実現するためのプログラム要素を、前記動作チャート中で前記基本動作が割り当てられた前記部分期間の順番に従って結合することによって、前記自動製造機械を動作させる前記制御プログラムを生成する制御プログラム生成機能(STEP3)と
を前記コンピュータによって実現させており、
前記動作チャート読込機能は、前記動作チャート中の前記基本動作が、前記基本動作の内容を定性的に記述するための動作記述(206a)と、前記基本動作の定量事項を数値によって記述するための数値テーブル(206b)または前記複数の数値パラメータ(206c)とを用いて記載された前記動作チャートを読み込む機能であり、
前記制御プログラム生成機能は、前記基本動作の前記動作記述と、前記動作記述を実現するためのプログラム要素とが対応付けて記憶された対応関係を参照することによって、前記動作記述を前記プログラム要素に変換すると共に、前記動作記述と共に記載された前記数値テーブルまたは前記複数の数値パラメータに従って前記プログラム要素に数値を設定した後、前記プログラム要素を前記部分期間の順番に従って結合することによって前記制御プログラムを生成する機能である
ことを特徴とするプログラム。
A program that realizes a method of generating a control program of an automatic manufacturing machine (1) provided with a plurality of actuators (10 to 20) by using a computer.
The operation period from the start to the end of the operation of the automatic manufacturing machine is divided into a plurality of partial periods, and the operation of the automatic manufacturing machine is a plurality of basic operations representing the operation of each degree of freedom of the actuator. The operation chart reading function (STEP1) for reading the operation chart (200) in which the operation of the automatic manufacturing machine is described by being decomposed into (206) and the basic operation being assigned to any of the plurality of partial periods. When,
An operation chart analysis function (STEP2) for extracting a plurality of the basic operations included in the operation chart and the partial period to which the plurality of basic operations are assigned by analyzing the operation chart.
A control program that generates the control program for operating the automatic manufacturing machine by combining program elements for realizing the basic operation in the order of the partial periods to which the basic operation is assigned in the operation chart. The generation function (STEP3) is realized by the computer.
The operation chart reading function is for the basic operation in the operation chart to numerically describe an operation description (206a) for qualitatively describing the content of the basic operation and quantitative items of the basic operation. It is a function of reading the operation chart described by using the numerical table (206b) or the plurality of numerical parameters (206c).
The control program generation function converts the operation description into the program element by referring to a correspondence relationship stored in association with the operation description of the basic operation and the program element for realizing the operation description. The control program is generated by converting and setting numerical values in the program elements according to the numerical table or the plurality of numerical parameters described together with the operation description, and then combining the program elements in the order of the partial periods. A program characterized by being a function to do.
JP2021009660A 2020-01-28 2021-01-25 Control program generation device, control program generation method, program Active JP7114034B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP21747216.6A EP4099107A4 (en) 2020-01-28 2021-01-26 Control program generation device, control program generation method, and program
CN202180011329.6A CN115023670A (en) 2020-01-28 2021-01-26 Control program generation device, control program generation method, and program
KR1020227014614A KR102476169B1 (en) 2020-01-28 2021-01-26 Control program generation device, control program generation method, program
PCT/JP2021/002590 WO2021153544A1 (en) 2020-01-28 2021-01-26 Control program generation device, control program generation method, and program
US17/852,009 US20220326688A1 (en) 2020-01-28 2022-06-28 Control program generation apparatus, control program generation method, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020080857 2020-04-30
JP2020080857 2020-04-30

Publications (2)

Publication Number Publication Date
JP2021177372A true JP2021177372A (en) 2021-11-11
JP7114034B2 JP7114034B2 (en) 2022-08-08

Family

ID=78409560

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2021006778A Withdrawn JP2021177371A (en) 2020-01-28 2021-01-19 Control program generation device, control program generation method, and program
JP2021009660A Active JP7114034B2 (en) 2020-01-28 2021-01-25 Control program generation device, control program generation method, program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2021006778A Withdrawn JP2021177371A (en) 2020-01-28 2021-01-19 Control program generation device, control program generation method, and program

Country Status (1)

Country Link
JP (2) JP2021177371A (en)

Citations (4)

* 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
JPH11202912A (en) * 1998-01-20 1999-07-30 Takashi Nishikawa Sequence control method
JP2001101258A (en) * 1999-10-04 2001-04-13 Hitachi Ltd Method for calculating effective load capacity in wiring part and method for calculating delay time of electronic circuit
JP2003281210A (en) * 2002-03-26 2003-10-03 Hitachi Ltd Layout design method and data library providing method

Patent Citations (4)

* 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
JPH11202912A (en) * 1998-01-20 1999-07-30 Takashi Nishikawa Sequence control method
JP2001101258A (en) * 1999-10-04 2001-04-13 Hitachi Ltd Method for calculating effective load capacity in wiring part and method for calculating delay time of electronic circuit
JP2003281210A (en) * 2002-03-26 2003-10-03 Hitachi Ltd Layout design method and data library providing method

Also Published As

Publication number Publication date
JP2021177371A (en) 2021-11-11
JP7114034B2 (en) 2022-08-08

Similar Documents

Publication Publication Date Title
WO2021153521A1 (en) Control program generation device, control program generation method, and program
WO2021153544A1 (en) Control program generation device, control program generation method, and program
US8706302B2 (en) Method for offline programming of an NC-controlled manipulator
CN107791244B (en) Controller, work control device, multi-axis operation control device, and drive control device
CN115003459A (en) Origin resetting device
JP2021177372A (en) Control program generation device, control program generation method, and program
JP7074378B2 (en) Control program generator, control program generation method, program
WO2021153533A1 (en) Control program generation device, control program generation method, and program
JP7114035B2 (en) Motion control device, motion control method, program
JP7347169B2 (en) Information presentation device, information presentation method, and information presentation program
JP2022026361A (en) Control program production system
WO2021153591A1 (en) Operation control device, operation control method, and program
Li et al. Reconfigurable mechanisms for application control (RMAC): applications
JP7276359B2 (en) Motion command generation device, mechanism control system, computer program, motion command generation method, and mechanism control method
JP2023104873A (en) Control program generation device, control program generation method, and program
TW202403480A (en) Control program generation device, control program generation method, and program
Syrjänen Task level robot programming: Background, methods and current state
Miljković et al. Development of a Domestic 4-axis SCARA Robot
KR20210080868A (en) Robot Control Apparatus Having Virtual Axis Interface and Driving Method Thereof
TW202342246A (en) Robot control device, numerical control system, and numerical control method
JPH07223183A (en) Work teaching device to robot and method thereof
Nagy et al. A transputer based, flexible, real-time control system for robotic manipulators

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211208

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20211208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220308

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220506

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220719

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220719

R150 Certificate of patent or registration of utility model

Ref document number: 7114034

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150