JP2009282909A - Working condition generator - Google Patents

Working condition generator Download PDF

Info

Publication number
JP2009282909A
JP2009282909A JP2008136789A JP2008136789A JP2009282909A JP 2009282909 A JP2009282909 A JP 2009282909A JP 2008136789 A JP2008136789 A JP 2008136789A JP 2008136789 A JP2008136789 A JP 2008136789A JP 2009282909 A JP2009282909 A JP 2009282909A
Authority
JP
Japan
Prior art keywords
machining
calculation
program
data
parameter
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
JP2008136789A
Other languages
Japanese (ja)
Other versions
JP5088826B2 (en
Inventor
Hisanori Yamada
久典 山田
Ryusuke Komatsu
隆介 小松
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.)
Sodick Co Ltd
Original Assignee
Sodick 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 Sodick Co Ltd filed Critical Sodick Co Ltd
Priority to JP2008136789A priority Critical patent/JP5088826B2/en
Publication of JP2009282909A publication Critical patent/JP2009282909A/en
Application granted granted Critical
Publication of JP5088826B2 publication Critical patent/JP5088826B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem wherein a worker can not know easily a technique and a process for generating a combination of working conditions, and a problem wherein the worker can not prepare or correct easily a program for generating the combination of the working conditions. <P>SOLUTION: A display 4 displays graphically shown unit computation programs, a computation procedure, and a content of a basic data that is a data of a plurality of kinds of parameters having a theoretical relation. An operation device 5 prepares or corrects the computation procedure by coupling optionally and correlating the unit computation programs prepared or corrected on a display screen of the display 4. The operation device 5 prepares or edits the basic data on the display screen, to be stored into a storage device 2. The storage device 2 stores the computation procedure and the basic data. A computer 6 executes the plurality of unit computation programs according to the computation procedure, sequentially in a correlated order. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、加工前に複数種類の加工条件を設定することが要求される制御装置を備えた加工機械において、加工における制約を示す加工に関する情報を入力することで複数種類の加工条件でなる加工条件の組合せを生成する加工条件生成装置に関する。   The present invention is a processing machine equipped with a control device that is required to set a plurality of types of processing conditions before processing, and processing that includes a plurality of types of processing conditions by inputting information related to processing that indicates processing restrictions. The present invention relates to a machining condition generation device that generates a combination of conditions.

切削加工、研削加工、旋削加工、研磨加工、放電加工、ウォータジェット加工のような加工を実施する制御装置を備えた加工機械では、加工に先立って、加工面粗さのような所望の加工結果または工具電極と被加工物の材質のような加工における制約を示す加工に関する情報(以下、加工要求という)に適する複数種類の加工条件を決定して制御装置に設定することが要求される。加工条件列あるいは加工条件群と称される複数種類の加工条件の集合体は、加工要求に適する複数種類の加工条件でなる加工条件の組合せである。   In a processing machine equipped with a control device that performs machining such as cutting, grinding, turning, polishing, electrical discharge machining, and water jet machining, the desired machining result such as the surface roughness before machining. Alternatively, it is required to determine a plurality of types of processing conditions suitable for processing information (hereinafter, referred to as processing requests) indicating processing limitations such as tool electrodes and workpiece materials and set them in the control device. An assembly of a plurality of types of processing conditions referred to as a processing condition sequence or a group of processing conditions is a combination of processing conditions composed of a plurality of types of processing conditions suitable for processing requirements.

加工条件は、加工機械によって切削条件や電気条件のように加工結果に直接影響を与える特定のパラメータのことを限定的に示すことがあるが、ここでは加工毎に加工を実施する前に設定することが要求されるパラメータを加工条件と総称する。一般に、加工条件は、実数値ではなく、加工機械で固有に規定されたパラメータ値で設定するようにされているが、以下、実数値を含めてパラメータ値と称する。   The processing conditions may be limited to specific parameters that directly affect the processing results, such as cutting conditions and electrical conditions, depending on the processing machine, but here they are set before processing for each processing. These parameters are collectively called machining conditions. In general, the machining conditions are set not by real values but by parameter values uniquely defined by the processing machine, but hereinafter, the real values are also referred to as parameter values.

加工機械の種類によって設定することが要求される加工条件の種類は異なるが、殆どの加工機械において複数種類の加工条件を設定する必要があり、複数種類の加工条件でなる加工条件の組合せの違いによって加工面粗さ、加工速度(加工時間)、加工形状精度(寸法精度)、工具磨耗(工具電極消耗)のような加工結果に差異が生じるので、加工条件の設定作業には経験が要求される。   Although the types of machining conditions required to be set differ depending on the type of processing machine, it is necessary to set multiple types of processing conditions for most processing machines, and the difference in the combination of processing conditions consisting of multiple types of processing conditions Depending on machining surface roughness, machining speed (machining time), machining shape accuracy (dimension accuracy), tool wear (tool electrode consumption), and so on. The

設定することが要求される加工条件の種類が多いほど、加工条件の組合せの数が増えるので、加工データとして加工結果と加工要求に対応させて記録しておく加工条件の組合せの数は膨大になる。例えば、放電加工では、工具と被加工物とが非接触の状態で電気的に加工を行なうことから、複数種類の加工条件が相互に密接に関係して加工結果に重大な影響を及ぼす。また、加工要求に対する関係を物理式だけでは表わしきれない種類の加工条件が多数存在し、加工条件の組合せの僅かな違いによって加工結果に大きな差異を生じさせることがある。   As the number of machining conditions required to be set increases, the number of machining condition combinations increases, so the number of machining condition combinations to be recorded as machining data corresponding to machining results and machining requests is enormous. Become. For example, in electric discharge machining, since machining is performed in a state where the tool and the workpiece are not in contact with each other, a plurality of types of machining conditions are closely related to each other and have a significant effect on the machining result. In addition, there are many types of machining conditions that cannot be expressed only by physical formulas as a relationship to machining requirements, and a slight difference in the combination of machining conditions may cause a large difference in machining results.

そのため、加工条件の組合せにおける加工結果を予測することが難しく、加工機械のメーカから提供されている代表的な加工条件の組合せの加工データの中から選び出されて設定された加工条件の組合せでは満足のいく加工結果を得ることができないことが多く、加工条件の設定作業には、相当の熟練が要求される。以下、放電加工を例にして、加工条件の組合せを生成する方法について説明する。   For this reason, it is difficult to predict the processing result in the combination of processing conditions, and in the combination of processing conditions selected and set from the processing data of the representative processing condition combination provided by the manufacturer of the processing machine In many cases, satisfactory processing results cannot be obtained, and considerable skill is required for setting the processing conditions. Hereinafter, a method for generating a combination of machining conditions will be described using electric discharge machining as an example.

広く知られている加工条件設定装置は、加工結果または加工要求に対応して予め記憶装置に記憶されている多数の加工条件の組合せの加工データの中から入力された所望の加工結果と加工要求のパラメータ値に対応する加工条件の組合せを検索して抽出し設定する構成である。蓄積されている加工データの中に所望の加工結果と加工要求に一致する加工条件の組合せがないときは、所望の加工結果と加工要求に近い複数組の加工条件の組合せが候補として抽出される。作業者は、候補の加工条件の組合せから予想される加工時間が短い最適の加工条件の組合せを選定する。したがって、加工要求のデータを入力するだけで所望の加工結果を含む加工要求を満足する加工条件の組合せを選定して設定することができるので、加工条件の設定作業が容易になる(特許文献1参照)。   A widely known machining condition setting device is a desired machining result and machining request inputted from machining data of a combination of a number of machining conditions stored in advance in a storage device corresponding to the machining result or machining request. This is a configuration in which a combination of machining conditions corresponding to the parameter values is searched, extracted, and set. When there is no combination of machining conditions that match the desired machining result and machining request in the accumulated machining data, a combination of a plurality of machining conditions close to the desired machining result and machining request is extracted as a candidate. . The operator selects an optimum combination of machining conditions with a short machining time expected from a combination of candidate machining conditions. Therefore, since it is possible to select and set a combination of machining conditions that satisfy a machining request including a desired machining result by simply inputting machining request data, the machining condition setting operation is facilitated (Patent Document 1). reference).

加工要求に一致する加工条件の組合せがなく、所望の加工結果を含む加工要求に近い加工条件の組合せで加工したときは、所望の加工結果が得られないことが多い。そこで、入力された加工要求に従って抽出した加工条件の組合せにおける特定種類の加工条件のパラメータ値を変更調整して最適化するようにした加工条件設定装置が考えられている。このような加工条件設定装置によると、加工要求に一致する加工条件の組合せが加工データにない場合でも、加工要求に近い加工条件の組合せから加工要求に一致する加工条件の組合せを比較的容易に得ることができるので、作業効率が向上する(特許文献2参照)。   When there is no combination of machining conditions that matches the machining requirements and machining is performed with a combination of machining conditions that are close to the machining requirements including the desired machining results, the desired machining results are often not obtained. In view of this, a machining condition setting device is conceivable in which parameter values of specific types of machining conditions in a combination of machining conditions extracted according to an inputted machining request are changed and optimized. According to such a processing condition setting device, even if there is no processing condition combination that matches the processing request in the processing data, it is relatively easy to change the processing condition combination that matches the processing request from the processing condition combination that is close to the processing request. Therefore, working efficiency is improved (see Patent Document 2).

特定種類の加工条件のパラメータ値を変更調整して加工条件の組合せを最適化する方法として、データベースにある加工条件の組合せのデータの中から入力された所望の加工結果を含む加工要求のデータに近い複数組の加工条件の組合せを抽出して、複数組の加工条件の組合せの中間にある加工条件の組合せを生成する加工条件生成方法が考えられている。このような加工条件生成方法によると、加工要求に一致する加工条件の組合せのデータがデータベースになくても、加工要求に近い加工条件の組合せをより容易に得ることができるので、予めテスト加工を行なって用意しておく加工条件の組合せの加工データの数を少なくすることができる(特許文献3参照)。   As a method of optimizing the combination of machining conditions by changing and adjusting the parameter values of specific types of machining conditions, the processing request data including the desired machining results entered from the machining condition combination data in the database A machining condition generation method is considered in which a combination of machining conditions in a plurality of sets is extracted and a combination of machining conditions in the middle of the combination of machining conditions is generated. According to such a machining condition generation method, a combination of machining conditions close to the machining requirements can be obtained more easily even if the database does not have machining condition combination data that matches the machining requirements. It is possible to reduce the number of processing data of combinations of processing conditions prepared in line (see Patent Document 3).

また、基礎データとして所望の加工結果を含む加工要求に対応する特定種類の加工条件の代表的なデータから特定種類の加工条件を決定して、決定した加工条件に従って他の種類の加工条件を順次決定していき、加工条件の組合せを生成する加工条件設定装置が考えられている。具体的には、工具電極と被加工物毎の加工面積と、加工深さと、最低側面減寸量と、加工面粗さとの複数種類の加工要求に対応する加工電流のデータでなる基礎データから入力された加工要求に近い加工電流を複数個抽出して学習を行ない、複数個のデータの中間値データを得て特定種類の加工条件である加工電流を決定し、予め定められた算出式によってオン時間(放電電流パルス幅)やオフ時間(休止時間)を順次決定していき、加工条件の組合せを生成する。したがって、特定種類の加工条件を記録した基礎データがあるだけで加工条件の組合せが決定できるので、膨大な数の加工条件の組合せのデータを記録したデータベースが不要である(特許文献4参照)。   In addition, a specific type of machining condition is determined from representative data of a specific type of machining condition corresponding to a machining request including a desired machining result as basic data, and other types of machining conditions are sequentially set according to the determined machining condition. A processing condition setting device that determines and generates a combination of processing conditions is considered. Specifically, from basic data consisting of machining current data corresponding to multiple types of machining requirements, such as machining area for each tool electrode and workpiece, machining depth, minimum side surface reduction amount, and machining surface roughness A plurality of machining currents close to the input machining requirements are extracted and learned, intermediate data of a plurality of data is obtained to determine a machining current that is a specific type of machining condition, and a predetermined calculation formula is used. On-time (discharge current pulse width) and off-time (rest time) are sequentially determined to generate a combination of machining conditions. Therefore, since the combination of the machining conditions can be determined simply by having basic data recording a specific type of machining conditions, a database in which a huge number of combinations of machining conditions are recorded is unnecessary (see Patent Document 4).

複数種類の加工条件を順番に決定して加工条件の組合せを生成する加工条件設定装置の中には、最初に所望の加工結果と特定種類の加工条件との間の理論的な相関関係を示すデータに基づいて入力される所望の加工結果に対する特定種類の加工条件を決定してから、同様の複数種類のパラメータ間の理論的な相関関係を示すデータに基づいて他の種類の加工条件を順次決定していき、加工条件の組合せを生成する加工条件設定装置がある。この加工条件設定装置は、単なる中間値ではなく理論値を求めるので、加工条件の組合せのデータを記録したデータベースが不要であるだけではなく、生成される加工条件の組合せの信頼性がより高く、加工結果のばらつきを小さくすることができる(特許文献5参照)。   In a machining condition setting device that generates a combination of machining conditions by sequentially determining multiple types of machining conditions, a theoretical correlation between a desired machining result and a specific type of machining condition is shown first. After determining a specific type of machining condition for the desired machining result that is input based on the data, other types of machining conditions are sequentially set based on data that shows a theoretical correlation between multiple types of similar parameters. There is a machining condition setting device that determines and generates a combination of machining conditions. Since this machining condition setting device obtains a theoretical value rather than a mere intermediate value, not only a database that records the data of the combination of machining conditions is unnecessary, but the reliability of the generated combination of machining conditions is higher, Variation in processing results can be reduced (see Patent Document 5).

特開昭62−130131号公報JP-A-62-130131 特許第2862035号公報Japanese Patent No. 2862035 特開平5−233045号公報Japanese Patent Laid-Open No. 5-233045 特許第3231521号公報Japanese Patent No. 3231521 特開昭64−64723号公報Japanese Patent Laid-Open No. 64-64723

加工条件生成装置では、加工要求のデータを入力すると加工条件の組合せが自動的に生成されてしまうので、どのような理論に基づいてどのような加工データでどのような手法を用いてどのようなプロセスで加工条件の組合せが生成されたのかを作業者が知ることができない。そのため、加工結果が満足のいくものでなかった場合、作業者は、原因を容易に判別することができない。その結果、設定された加工条件の組合せを修正することが難しく、作業の負担が大きく、作業効率がよくない。   The machining condition generator automatically generates a combination of machining conditions when machining request data is input, so what kind of machining data and what method is used based on what theory. An operator cannot know whether a combination of machining conditions has been generated in the process. Therefore, when the processing result is not satisfactory, the operator cannot easily determine the cause. As a result, it is difficult to correct the combination of the set processing conditions, the work load is large, and the work efficiency is not good.

また、加工結果に関わらず、作業者は、加工条件の組合せを生成するときに用いる加工データ、手法、プロセスを知ることができないので、加工に関する理論と知識を理解することなく加工を行なってしまうから、加工の経験を積んでも加工に精通することができず、加工技術が向上しない。   In addition, regardless of the machining results, the operator cannot know the machining data, method, and process used to generate the combination of machining conditions, so that machining is performed without understanding the theory and knowledge about machining. Therefore, even if it has the experience of processing, it is not able to become familiar with processing, and processing technology does not improve.

コンピュータプログラミングの専門的な知識がなければ、加工条件生成装置を動作させる専用のアプリケーションソフトウェアのプログラムを作成したり、書き換えたりすることが難しい。そのため、加工条件を決定するために使用する加工データと、加工条件を決定するために必要なパラメータを求める手法または加工条件を決定していくプロセスが進化するのにともなって、専門的な知識を有するプログラマがプログラムを作成したり書き換えたりして新しいソフトウェアが提供されなければならない。しかしながら、加工技術とコンピュータプログラミングの高度で専門的な知識を兼ね備えている人材が少なく、加工条件生成装置が加工技術の進歩に追い付いていないのが現状である。   Without specialized knowledge of computer programming, it is difficult to create or rewrite a dedicated application software program for operating the machining condition generating apparatus. Therefore, as the process data for determining the machining data used to determine the machining conditions and the method for obtaining the parameters necessary to determine the machining conditions or the process for determining the machining conditions have evolved, specialized knowledge is required. New software must be provided by a programmer who creates or rewrites a program. However, there are few human resources who have advanced and specialized knowledge of processing technology and computer programming, and the current situation is that the processing condition generation device has not caught up with the progress of processing technology.

また、一般に、機械を操作する作業者は、コンピュータプログラミングの専門的な知識を有していないので、加工条件生成装置における加工条件を決定するプロセスに対して部分的に異なるプロセスでより的確に加工条件を決定することができる優れた加工技術の知識やノウハウを持っていたとしても、その知識やノウハウを加工条件生成装置に反映させることができない。そのため、熟練作業者の知識とノウハウが生かされず、加工技術の向上が妨げられている。   In general, since the operator who operates the machine does not have specialized knowledge of computer programming, machining is performed more accurately in a process that is partially different from the process for determining the machining conditions in the machining condition generation device. Even if there is knowledge and know-how of excellent machining technology that can determine the conditions, the knowledge and know-how cannot be reflected in the machining condition generation device. Therefore, knowledge and know-how of skilled workers are not utilized, and improvement of processing technology is hindered.

熟練作業者が加工条件生成装置を利用しないで各種類の加工条件のパラメータ値を制御装置に直接入力して加工条件を設定する場合は、熟練作業者がどのような理論と知識に基づきどのような加工データと手法を用いてどのようなプロセスで加工条件を設定したかが記録されていないと、熟練作業者の有する加工条件の組合せを生成する加工技術を継承することができず、加工技術が進歩しない。   When the skilled worker sets the machining condition by directly inputting the parameter values of each type of machining condition to the control device without using the machining condition generating device, what kind of theory and knowledge the skilled worker is based on If it is not recorded in which process the machining conditions are set by using various machining data and methods, the machining technology that generates combinations of machining conditions possessed by skilled workers cannot be inherited. Does not progress.

熟練作業者が加工条件を決定するために使用する加工データをデータブックに記録したり、加工条件を決定するために必要なパラメータを求める複数の手法をノートに書き残して記録しておくことがあるが、加工データや計算の数が多いので、記録する作業は大変な手間である。また、作業者にとって加工データや手法が部分的に変更されるたびに新しく変更した内容を消したり書き足したりして記録し直すことが面倒である。そして、熟練作業者は、ノートをノウハウ帳のようにして用いていることが多く、常に書き換えたり書き足したりしているので、記録が何度も更新される間に最新の加工データや手法が混乱してわかりにくくなってしまう。   Processing data used by skilled workers to determine processing conditions may be recorded in a data book, or multiple methods for obtaining parameters required to determine processing conditions may be recorded in a notebook. However, since the number of machining data and calculations is large, the work of recording is very troublesome. In addition, it is troublesome for an operator to re-record by deleting or adding newly changed contents every time the machining data or method is partially changed. Skilled workers often use notebooks like a know-how book and constantly rewrite and add notes, so the latest machining data and methods are updated while the records are updated many times. It becomes confusing and difficult to understand.

複数種類の加工条件に関してそれぞれパラメータ値を求める加工データや手法が記録されていても、加工条件の組合せを生成するプロセスが詳細に記録して残されていることは稀である。そのため、経験の少ない作業者が、データブックの加工データを参照しながらノートに記録されている手法を用いて熟練作業者のように加工条件を順番に決定して加工条件の組合せを生成することは容易ではない。また、熟練作業者の加工条件を決定するプロセスが記録されていたとしても、加工データや手法が異なるプロセスが複数存在して、経験が少ない作業者にとっては、そのときに実施しようとしている加工に対して最適なプロセスを辿って加工条件を順次決定していくことは容易なことではなく、熟練作業者の加工条件の組合せを生成する作業を再現することは困難である。   Even if machining data and methods for obtaining parameter values for each of a plurality of types of machining conditions are recorded, it is rare that a process for generating a combination of machining conditions is recorded in detail. For this reason, a worker with little experience can use the method recorded in the notebook while referring to the processing data in the data book to determine the processing conditions in order like a skilled worker and generate a combination of processing conditions. Is not easy. Even if a process for determining the machining conditions of a skilled worker is recorded, there are multiple processes with different machining data and methods, and for a worker with little experience, the machining to be performed at that time On the other hand, it is not easy to sequentially determine the machining conditions by following the optimum process, and it is difficult to reproduce the work for generating a combination of the machining conditions of skilled workers.

本発明は、上記課題に鑑みて、所望の加工結果と加工要求のデータを入力することで複数種類の加工条件を順番に決定していき、加工効率がよく信頼性のある初期の加工条件の組合せを容易に生成できる加工条件生成装置において、作業者が加工条件を決定するときに使用する加工データ、手法およびプロセスを容易に知ることができる加工条件生成装置を提供することを目的とする。また、作業者がコンピュータプログラミングの高度で専門的な知識がなくても加工条件を決定するプログラムをより容易に作成したり修正したりすることができる加工条件生成装置を提供することを目的とする。本発明の加工条件生成装置で得られる具体的な利点は、実施の形態の説明において説明される。   In view of the above-described problems, the present invention sequentially determines a plurality of types of processing conditions by inputting desired processing results and processing request data, so that the initial processing conditions are efficient and reliable. An object of the present invention is to provide a machining condition generation apparatus that can easily know machining data, a technique, and a process used when an operator determines a machining condition in a machining condition generation apparatus that can easily generate a combination. It is another object of the present invention to provide a machining condition generation apparatus that allows an operator to more easily create or modify a program for determining machining conditions without requiring advanced and specialized knowledge of computer programming. . Specific advantages obtained with the machining condition generation apparatus of the present invention will be described in the description of the embodiments.

本発明の加工条件設定装置は、予め指定または作成された演算アルゴリズムに従って入力されるパラメータ値に対応するパラメータ値を演算して出力する単位演算プログラムと複数の単位演算プログラムが関連付けられてなり加工条件のパラメータ値を出力する演算プロシージャとを図形化して表示する表示装置(4)と、表示装置(4)の表示画面上で1つ以上の図形化された単位演算プログラムを作成または修正して複数の単位演算プログラムを任意に結合して関連付けて1つ以上の演算プロシージャを作成または修正するように操作可能な操作装置(5)と、操作装置(5)で作成または修正された演算プロシージャを記憶する記憶装置(2)と、を備えてなる。   The machining condition setting device according to the present invention includes a unit calculation program that calculates and outputs a parameter value corresponding to a parameter value that is input according to a calculation algorithm that is designated or created in advance, and a plurality of unit calculation programs. A display device (4) for graphically displaying an operation procedure for outputting the parameter value of the display, and one or more graphic unit operation programs created or modified on the display screen of the display device (4) An operation device (5) operable to create or modify one or more operation procedures by arbitrarily combining and associating unit operation programs of the same, and an operation procedure created or modified by the operation device (5) And a storage device (2).

演算アルゴリズムは、具体的に、理論的な相関関係を有する複数種類のパラメータのデータである基礎データ、関数式、関数プログラム、または近似法の何れかであることを特徴とする。   Specifically, the arithmetic algorithm is any one of basic data, a function expression, a function program, or an approximation method, which is data of a plurality of types of parameters having a theoretical correlation.

複数種類のパラメータは、加工条件または加工における制約を示すパラメータとして加工条件を決定する上で初期に要求される加工に関する情報として与えられる加工要求であることがある。   The plurality of types of parameters may be processing requests given as information on processing that is initially required in determining the processing conditions as parameters indicating processing conditions or processing constraints.

また、基礎データは、理論的な相関関係を有する複数種類のパラメータのサンプルデータを含む代表的なデータの集積であることを特徴とする。好ましくは、基礎データは、代表的なデータを複数集積して理論的な相関関係を有する複数種類のパラメータの連続するパラメータ値のデータとして表わす近似式のデータを含むことを特徴とする。または、基礎データは、一方のパラメータの代表的なパラメータ値または所定の範囲のパラメータ値に1対1で対応する一方のパラメータと理論的な相関関係を有する他方のパラメータの代表的なパラメータ値または所定の範囲のパラメータ値でなるデータの集積であることを特徴とする。   The basic data is a collection of representative data including sample data of a plurality of types of parameters having a theoretical correlation. Preferably, the basic data includes data of an approximate expression expressed as continuous parameter value data of a plurality of types of parameters having a theoretical correlation by aggregating a plurality of representative data. Alternatively, the basic data may be a representative parameter value of one parameter or a representative parameter value of the other parameter having a one-to-one correspondence with one parameter corresponding to a predetermined range of parameter values or It is characterized by the accumulation of data consisting of parameter values within a predetermined range.

表示装置(4)は、基礎データにおける複数種類のパラメータのパラメータ値をグラフ表示することを特徴とする。   The display device (4) is characterized in that the parameter values of a plurality of types of parameters in the basic data are displayed in a graph.

好ましくは、操作装置(5)は、作業者が表示装置(4)の表示画面上で基礎データを生成して記憶装置(2)に記憶させるように操作可能であることを特徴とする。また、操作装置(5)は、作業者が表示装置(4)の表示画面上で記憶装置(2)に記憶された基礎データの内容を変更、削除または追加して変更、削除または削除された基礎データを記憶装置(2)に記憶させるように操作可能であることを特徴とする。また、操作装置(5)は、基礎データに含まれる近似式のデータを表示装置(4)の表示画面上で複数種類の近似式の候補の中から選択して設定するように操作可能であることを特徴とする。   Preferably, the operating device (5) is characterized in that the operator can operate the basic data to be generated on the display screen of the display device (4) and stored in the storage device (2). The operating device (5) is changed, deleted or deleted by the operator changing, deleting or adding the content of the basic data stored in the storage device (2) on the display screen of the display device (4). The basic data can be operated so as to be stored in the storage device (2). The operating device (5) can be operated to select and set the approximate expression data included in the basic data from a plurality of types of approximate expression candidates on the display screen of the display device (4). It is characterized by that.

また、好ましくは、操作装置(5)は、作業者が表示装置(4)の表示画面上で1以上の図形化された単位演算プログラムを任意に配置するように操作可能であることを特徴とする。また、操作装置(5)は、作業者が表示装置(4)の表示画面上で図形化された単位演算プログラムの演算アルゴリズムを指定または作成して設定するように操作可能であることを特徴とする。   Preferably, the operation device (5) is characterized in that the operator is operable to arbitrarily arrange one or more graphic unit operation programs on the display screen of the display device (4). To do. Further, the operation device (5) is characterized in that the operator can operate so as to designate or create and set a calculation algorithm of a unit calculation program that is made into a graphic on the display screen of the display device (4). To do.

また、好ましくは、操作装置(5)は、作業者が表示装置(4)の表示画面上で複数の演算プロシージャを予め定義された順番で実行されるように関連付けて記憶装置(2)に記憶させるように操作可能であることを特徴とする。より好ましくは、操作装置(5)は、複数の演算プロシージャが予め定義された順番で実行されるように関連付けられてなる演算プログラムユニットを記憶装置(2)に記憶させるように操作可能であることを特徴とする。   Preferably, the operation device (5) stores the plurality of calculation procedures in the storage device (2) in association with each other so that the operator executes a plurality of calculation procedures in a predefined order on the display screen of the display device (4). It is characterized by being operable. More preferably, the operating device (5) is operable to store in the storage device (2) an arithmetic program unit associated so that a plurality of arithmetic procedures are executed in a predefined order. It is characterized by.

図形化された単位演算プログラムはブロック図形(10)であり、図形化された演算プロシージャは単位演算プログラムのブロック図形(10)が任意に結合して関連付けられたブロックダイヤグラム(20)であることを特徴とする。   The figured unit calculation program is a block figure (10), and the figured calculation procedure is a block diagram (20) in which the block figures (10) of the unit calculation program are arbitrarily combined and associated. Features.

より具体的には、単位演算プログラムのブロック図形(10)は、少なくとも入力されるパラメータ値を取得する入力部分(11)と演算アルゴリズムを指定する指定部分(12)と演算されたパラメータ値を出力する出力部分(13)とを有することを特徴とする。   More specifically, the block graphic (10) of the unit calculation program outputs at least the input parameter value (11) for acquiring the input parameter value and the specified part (12) for specifying the calculation algorithm, and the calculated parameter value. And an output portion (13).

特に、理論的な相関関係を有する入力されるパラメータと出力されるパラメータとのパラメータ値の関係を変化させる条件である中間パラメータが存在する場合は、単位演算プログラムのブロック図形(10)は、中間パラメータを系列として中間パラメータを表示する系列部分(14)を有することを特徴とする。または、演算アルゴリズムが近似法の二等分割法である場合は、単位演算プログラムのブロック図形(10)は、入力されるパラメータ値を取得する第1の入力部分(11)と、複数種類のパラメータの理論的な相関関係を示す基礎データ、関数式または関数プログラムに従って得られる連続するパラメータ値を取得する第2の入力部分(15)と、任意の演算初期値を取得する第3の入力部分(16)とを有することを特徴とする。   In particular, when there is an intermediate parameter that is a condition for changing the relationship between the parameter value to be input and the parameter to be output having a theoretical correlation, the block diagram (10) of the unit operation program is set to the intermediate parameter. It has a series part (14) which displays an intermediate parameter by making a parameter into a series. Alternatively, when the arithmetic algorithm is an approximate bisection method, the block diagram (10) of the unit arithmetic program includes a first input part (11) for acquiring input parameter values and a plurality of types of parameters. A second input part (15) for obtaining continuous parameter values obtained in accordance with basic data, a functional expression or a function program showing a theoretical correlation of the above, and a third input part for obtaining an arbitrary calculation initial value ( 16).

また、好ましくは、本発明の加工条件生成装置は、加工条件を決定するプロセスで最初に与えられるパラメータ値に対応して演算プロシージャに従って複数の単位演算プログラムを関連付けられた順番で実行させて加工条件のパラメータ値を演算して出力する演算装置(6)を有する。   Preferably, the machining condition generation device of the present invention causes a plurality of unit operation programs to be executed in an associated order according to an operation procedure corresponding to a parameter value initially given in a process for determining a machining condition. And an arithmetic device (6) for calculating and outputting the parameter values.

より好ましくは、演算装置(6)は、複数の演算プロシージャを予め定義された順番で実行させて加工条件の組合せを生成して出力することを特徴とする。望ましくは、演算装置(6)は、複数の演算プロシージャが予め定義された順番で実行されるように関連付けられてなる演算プログラムユニットを記憶装置(2)から予め定義された所定の順番に読み出して、読み出した順番に従って演算プログラムユニットを実行させて加工条件の組合せを生成することを特徴とする。   More preferably, the calculation device (6) is characterized in that a plurality of calculation procedures are executed in a predefined order to generate and output a combination of machining conditions. Preferably, the arithmetic device (6) reads out arithmetic program units associated with each other so that a plurality of arithmetic procedures are executed in a predetermined order from the storage device (2) in a predetermined order. The processing program units are executed in accordance with the read order to generate a combination of machining conditions.

各装置に付された図面と対応する符号は、説明の便宜上付されたものであり、本発明の加工条件生成装置の構成を実施の形態で説明される加工条件生成装置の具体的な構成と全く同一の構成に限定するものではない。   The reference numerals corresponding to the drawings attached to each device are given for convenience of explanation, and the configuration of the machining condition generation device of the present invention is the specific configuration of the machining condition generation device described in the embodiment. It is not limited to the exact same configuration.

単位演算プログラムは、予め指定または作成された演算アルゴリズム(演算方法)に従って入力されるパラメータ値に対応するパラメータ値を演算して出力する演算プログラムであるから、パラメータ値を特定の理論に基づいて求める手法を示している。また、演算プロシージャは、複数の単位演算プログラムが所定の順番で実行されるように結合されてなり加工条件のパラメータ値を出力する演算プログラムであるから、理論的に加工条件を決定していくプロセスを示している。   Since the unit calculation program is a calculation program that calculates and outputs a parameter value corresponding to a parameter value input according to a calculation algorithm (calculation method) designated or created in advance, the parameter value is obtained based on a specific theory. The method is shown. In addition, the calculation procedure is a calculation program in which a plurality of unit calculation programs are combined so that they are executed in a predetermined order and outputs parameter values of the processing conditions. Is shown.

本発明の加工条件生成装置は、単位演算プログラムと演算プロシージャを図形化して表示する表示装置が設けられているので、作業者は、特定種類の加工条件を決定する手法とプロセスとを視覚的に知ることができる。そのため、望ましくない加工結果であるときに原因を発見しやすく、より容易に加工条件の組合せを修正することができる。その結果、作業効率が向上する効果を奏する。また、作業者は、加工に関する理論と知識を理解して加工を実施することができるので、経験を積んで加工に精通することができるようになる。その結果、加工技術が向上する効果を奏する。   Since the processing condition generation apparatus of the present invention is provided with a display device that displays the unit calculation program and the calculation procedure in a graphic form, the operator can visually determine the method and process for determining a specific type of processing condition. I can know. Therefore, it is easy to find the cause when it is an undesirable machining result, and the combination of machining conditions can be corrected more easily. As a result, the working efficiency is improved. In addition, since the worker can understand the theory and knowledge related to the machining and perform the machining, the worker can gain experience and become familiar with the machining. As a result, the processing technique is improved.

また、本発明の加工条件生成装置は、表示装置の表示画面上で図形化された単位演算プログラムを作成または修正したり、複数の単位演算プログラムを任意に結合して関連付けて演算プロシージャを作成または修正するように操作可能な操作装置が設けられているので、作業者は、コンピュータプログラミングの高度で専門的な知識がなくても、加工条件を決定するプログラムを比較的容易に作成したり修正したりすることができる。そのため、加工技術の進歩に合わせて進化する手法やプロセスを作成または修正して加工条件生成装置を速やかに改良することができ、または作業者独自のノウハウを直ちに加工条件生成装置に反映させることができる。その結果、作業効率が向上するとともに加工技術が向上する効果を奏する。   Further, the machining condition generating apparatus of the present invention creates or corrects a unit operation program that is made into a graphic on the display screen of the display device, or creates an operation procedure by arbitrarily combining and associating a plurality of unit operation programs. An operation device that can be operated to correct is provided, so that an operator can create and modify a program for determining machining conditions relatively easily even without advanced and specialized knowledge of computer programming. Can be. Therefore, it is possible to quickly improve the machining condition generation device by creating or modifying techniques and processes that evolve with the progress of machining technology, or to immediately reflect the operator's unique know-how in the machining condition generation device. it can. As a result, the working efficiency is improved and the processing technique is improved.

本発明の加工条件生成装置は、演算アルゴリズムとして一般的に知られている関数式、関数プログラム、または近似法だけではなく、理論的な相関関係を有する複数種類のパラメータのデータである基礎データをそのまま演算アルゴリズムとして使用することができる。したがって、作業者は、手法として複数種類のパラメータ間の理論的な相関関係に基づいて入力されるパラメータ値に対応するパラメータ値を求める場合に、基礎データを演算アルゴリズムとして指定するだけで単位演算プログラムを作成することができる。そのため、基礎データを関数演算で引用するプログラムをプログラミングする必要がないので、加工条件を決定するプログラムをより容易に作成することができる。その結果、作業効率が向上する効果を奏する。   The machining condition generation apparatus of the present invention is not limited to a function expression, function program, or approximation method generally known as an arithmetic algorithm, but also includes basic data that is data of a plurality of types of parameters having a theoretical correlation. It can be used as an arithmetic algorithm as it is. Therefore, when a worker obtains a parameter value corresponding to a parameter value input based on a theoretical correlation between a plurality of types of parameters as a technique, the operator only needs to specify basic data as an arithmetic algorithm. Can be created. For this reason, it is not necessary to program a program that cites basic data by a function operation, so that a program for determining machining conditions can be created more easily. As a result, the working efficiency is improved.

演算アルゴリズムは、加工条件を求める手法をより具体的に示している。特に、基礎データは、相関関係を有するパラメータの種類とその相関関係を有する複数種類のパラメータ間に存在する理論を示している。したがって、特定種類のパラメータの理論的な相関関係を図形化された単位演算プログラムによって視覚的に知ることができるので、特定種類の加工条件に影響を与えるパラメータの種類や特定種類の加工条件または加工要求が加工に与える影響のような加工条件と加工要求に関する理論をより容易に理解することができる。そのため、作業者は、加工に関する知識をより深めることができる。その結果、加工技術が向上する効果を奏する。   The calculation algorithm more specifically shows a method for obtaining the machining conditions. In particular, the basic data indicates the types of parameters having a correlation and the theory existing between a plurality of types of parameters having the correlation. Therefore, since the theoretical correlation of a specific type of parameter can be visually determined by a unit calculation program that has been made into a graphic, the type of parameter that affects the specific type of processing conditions and the specific type of processing conditions or processing It is easier to understand the theories about machining conditions and machining requirements, such as the effect of the requirements on machining. Therefore, the operator can deepen knowledge about processing. As a result, the processing technique is improved.

基礎データが複数種類のパラメータのサンプルデータを含む代表的なデータを集積して複数種類のパラメータの連続するパラメータ値のデータとして表わす近似式のデータを含んでいる場合、または一方のパラメータの代表的なパラメータ値または所定の範囲のパラメータ値に1対1で対応する一方のパラメータと理論的な相関関係を有する他方のパラメータの代表的なパラメータ値または所定の範囲のパラメータ値でなるデータの集積である場合は、実際に加工データが採取されていないパラメータ値に対応するパラメータ値を信頼性がある誤差の範囲で得ることができるので、テスト加工の数を大幅に減らすことができ、作業者の負担を軽減して作業効率が向上する効果を奏する。   When the basic data includes data of approximate expressions that represent representative data including sample data of multiple types of parameters and represent continuous parameter value data of multiple types of parameters, or representative of one parameter Of data consisting of a representative parameter value or a predetermined range of parameter values of the other parameter having a theoretical correlation with one parameter corresponding to a specific parameter value or a predetermined range of parameter values on a one-to-one basis In some cases, parameter values corresponding to parameter values for which machining data is not actually collected can be obtained within a reliable error range, so that the number of test machining can be greatly reduced, and There is an effect of reducing the burden and improving work efficiency.

表示装置が基礎データにおける複数種類のパラメータのパラメータ値をグラフ表示するようにされている場合は、基礎データの数値の入力をより容易にするとともにパラメータの理論的な相関関係を視覚的に知ることができるので、作業効率が向上するとともに加工技術が一層向上する効果を奏する。   When the display device is designed to display the parameter values of multiple types of parameters in the basic data in a graph, it is easier to input the numerical values of the basic data and to know the theoretical correlation of the parameters visually Therefore, the working efficiency is improved and the processing technique is further improved.

操作装置が表示装置の表示画面上で基礎データを生成して記憶装置に記憶させることができる場合は、パラメータの種類と数値を入力するだけで基礎データを生成して保存することができるので、より容易に基礎データを作成することができる。また、基礎データを記憶装置に記憶させておくので、データブックが不要であるとともに、加工条件を決定する作業のたびに基礎データを作成する必要がなく、作業者の負担が軽減される。その結果、作業効率が向上する効果を奏する。   If the operating device can generate basic data on the display screen of the display device and store it in the storage device, it can generate and save basic data simply by entering the parameter type and numerical value, Basic data can be created more easily. In addition, since the basic data is stored in the storage device, a data book is not necessary, and it is not necessary to create basic data every time work conditions are determined, thereby reducing the burden on the operator. As a result, the working efficiency is improved.

操作装置が表示装置の表示画面上で基礎データの内容を変更、削除または追加して記憶装置に記憶させることができる場合は、パラメータを求める理論が訂正されたり、パラメータ値が修正されたり、蓄積されているデータの数が増加するときに、基礎データの編集がより容易であるとともに間違いが生じにくい。そのため、加工を重ねるたびに良好な加工結果が得られた代表的なデータを追加して基礎データを充実させて加工技術の知識を広げたり、新しく生まれる優れた技術または熟練作業者の経験の蓄積で進歩する理論や知識に合わせて基礎データをより容易に進化させることができる。また、基礎データのコピーからデータを部分的に修正して類似の基礎データを生成することができるから、基礎データをより容易に生成することができる。その結果、作業効率が一層向上するとともに加工技術が向上する効果を奏する。   When the operating device can change, delete, or add the basic data on the display screen of the display device and store it in the storage device, the theory for calculating the parameter is corrected, the parameter value is corrected, or stored When the number of data being increased, the basic data is easier to edit and less prone to error. Therefore, by adding representative data with good machining results every time machining is performed, the basic data is expanded to expand the knowledge of machining technology, and newly born excellent technology or accumulated experience of skilled workers The basic data can be more easily evolved according to the theory and knowledge that are advanced in. In addition, since the basic data can be generated more easily because similar basic data can be generated by partially correcting the data from the copy of the basic data. As a result, the working efficiency is further improved and the processing technique is improved.

操作装置が基礎データに含まれる近似式のデータを表示装置の表示画面上で複数種類の近似式の候補の中から選択して設定するように操作可能である場合は、サンプルデータを含むパラメータ値が確定的な代表的なデータから連続するパラメータ値のデータを容易に生成することができる。また、近似式の種類を選択的に変更設定することができ、新しい理論に基づいて基礎データを容易に再構築することができる。   Parameter values including sample data if the operation device can be operated to select and set the approximate expression data included in the basic data from a plurality of types of approximate expression candidates on the display screen of the display device It is possible to easily generate data of continuous parameter values from representative data with definite. In addition, the type of approximate expression can be selectively changed and set, and basic data can be easily reconstructed based on a new theory.

操作装置が表示装置の表示画面上で図形化された単位演算プログラムを任意に配置したり、演算アルゴリズムを指定または作成して設定できるようにされている場合は、視覚的に加工の理論や知識を把握しながらマウスやキーの操作で複数の単位演算プログラムを作成または修正することができる。そのため、コンピュータプログラミングの高度で専門的な知識がなくても加工条件生成装置における加工条件を決定するプログラムをより容易に作成または修正することができる。その結果、作業効率が一層向上する効果を奏する。   If the operation device can arbitrarily arrange a unit calculation program that is made into a graphic on the display screen of the display device, or specify or create an operation algorithm, it can be used for visual processing theory or knowledge. It is possible to create or modify a plurality of unit calculation programs by operating the mouse and keys while grasping the above. Therefore, it is possible to more easily create or modify a program for determining the machining conditions in the machining condition generating apparatus without the need for advanced and specialized knowledge of computer programming. As a result, the working efficiency is further improved.

操作装置が表示装置の表示画面上で複数の演算プロシージャを所定の順番で実行されるように関連付けて記憶装置に記憶させ、または複数の演算プロシージャが所定の順番で実行されるように関連付けられてなる演算プログラムユニットを記憶装置に記憶させるようにされている場合は、熟練作業者が加工条件を決定していく手法やプロセスをノートに書き残しておく必要がなく、手法やプロセスに部分的な変更があっても容易に記録し直すことができる。また、複数の作業者が別々に作成した各種類の加工条件を決定するプロセスを組み合わせて加工条件の組合せを生成するプログラムを柔軟に編集することができる。その結果、作業効率が一層向上する効果を奏する。   The operation device associates a plurality of operation procedures to be executed in a predetermined order on the display screen of the display device and stores them in a storage device, or associates a plurality of operation procedures to be executed in a predetermined order. If the calculation program unit is stored in the storage device, it is not necessary to write down the method or process for the skilled worker to determine the machining conditions in the notebook, and the method or process is partially changed. Even if there is, it can be easily re-recorded. In addition, it is possible to flexibly edit a program that generates a combination of machining conditions by combining processes for determining each type of machining condition created separately by a plurality of workers. As a result, the working efficiency is further improved.

また、作業者が最初に実行されるべき演算プロシージャまたは演算プログラムユニットを選択して起動し実行させることで、記憶された所定の順番で複数の演算プロシージャが実行されるようにすることができる。その結果、作業者によって作成または修正された演算プロシージャを使用して加工条件の組合せを生成するときに、作業者が演算プロシージャを順番に起動させ実行させる必要がなく、また、演算プロシージャを実行させる順番を間違うことがない。その結果、作業効率が一層向上する効果を奏する。   In addition, the operator can select a calculation procedure or a calculation program unit to be executed first, start it, and execute it, so that a plurality of calculation procedures can be executed in a predetermined order stored. As a result, when generating a combination of machining conditions using a calculation procedure created or modified by an operator, the operator does not need to start and execute the calculation procedure in sequence, and the calculation procedure is executed. There is no mistake in the order. As a result, the working efficiency is further improved.

図形化された単位演算プログラムがブロック図形であり、図形化された演算プロシージャがブロックダイヤグラムであるときは、単位演算プログラムの関係と流れがチャートで表示されるので、視覚的によりわかりやすく、加工条件を決定する手法とプロセスをより容易に理解することができる。その結果、加工技術が一層向上する効果を奏する。また、単位演算プログラムや演算プロシージャをブロック単位で操作することができるから、単位演算プログラムや演算プロシージャをより容易に作成または修正することができ、加工条件を決定するプログラムをより容易に作成することができる。その結果、作業効率が一層向上する効果を奏する。   When the figured unit calculation program is a block figure and the figured calculation procedure is a block diagram, the relationship and flow of the unit calculation program is displayed in a chart, so it is easier to understand visually and the machining conditions You can more easily understand the techniques and processes for determining As a result, the processing technique is further improved. In addition, since unit calculation programs and calculation procedures can be operated in block units, unit calculation programs and calculation procedures can be created or modified more easily, and programs for determining machining conditions can be created more easily. Can do. As a result, the working efficiency is further improved.

単位演算プログラムのブロック図形がパラメータ値の入力部分と演算アルゴリズムの指定部分とパラメータ値の出力部分とを有する場合は、単位演算プログラム同士の結合が簡単でレイアウトがわかりやすいので、演算プロシージャを作成したり修正したりする作業がより容易になる。その結果、作業効率が一層向上する効果を奏する。   If the unit operation program block diagram has a parameter value input part, an operation algorithm specification part, and a parameter value output part, the unit operation programs can be easily combined and the layout is easy to understand. It becomes easier to make corrections. As a result, the working efficiency is further improved.

理論的な相関関係を有する入力されるパラメータと出力されるパラメータとのパラメータ値の関係を変化させる条件であるパラメータが存在する場合は中間パラメータを表示する系列部分が設けられ、または、演算アルゴリズムが近似法の二等分割法である場合は、入力されるパラメータ値を取得する第1の入力部分以外に、連続するパラメータ値を取得する第2の入力部分と、任意の演算初期値を取得する第3の入力部分とが設けられるているので、基礎データに中間パラメータが存在したり、演算アルゴリズムが近似法の二等分割法である場合も単位演算プログラムをブロック図形で表示することができ、演算プロシージャをより容易に作成または修正することができる。その結果、作業効率が一層向上する効果を奏する。   When there is a parameter that is a condition for changing the relationship between the parameter value of the input parameter and the output parameter having a theoretical correlation, a series part for displaying an intermediate parameter is provided, or the calculation algorithm is In the case of the bisection method of the approximation method, in addition to the first input part for acquiring the input parameter value, the second input part for acquiring the continuous parameter value and an arbitrary calculation initial value are acquired. Since the third input portion is provided, the unit calculation program can be displayed in a block diagram even when an intermediate parameter exists in the basic data or the calculation algorithm is a bisection method of the approximation method, Arithmetic procedures can be created or modified more easily. As a result, the working efficiency is further improved.

そして、作業者は、記録された複数の演算プロシージャまたは演算プログラムユニットによって複数種類の加工条件を順番に決定していく手法とプロセスを視覚的によりわかりやすく知ることができる。その結果、熟練作業者の知識、経験、ノウハウが経験の浅い作業者に伝えられて加工技術が継承されることで、加工技術の低下を防止して、人材を育成することができる。したがって、加工技術が一層向上する効果を奏する。   Then, the operator can visually and easily know the method and process for sequentially determining a plurality of types of machining conditions by using a plurality of recorded operation procedures or operation program units. As a result, the knowledge, experience, and know-how of skilled workers are transmitted to inexperienced workers and the processing techniques are inherited, so that the deterioration of the processing techniques can be prevented and human resources can be trained. Therefore, there is an effect that the processing technique is further improved.

演算プロシージャに従って加工条件のパラメータ値を演算して出力する演算装置を有する場合は、作業者が加工要求のデータを入力するだけで常に最新の理論と知識に基づく優れた手法を用いて熟練作業者のノウハウを含む確実なプロセスで複数種類の加工条件を順番に決定していくので、全ての種類の加工条件がそれぞれ加工要求に適するように理論に基づいて決定されており、加工効率がよく信頼性のある初期の加工条件の組合せを容易に生成でき、優れた加工結果を得ることができる。その結果、作業効率が一層向上するとともに加工技術が一層向上する効果を奏する。   If you have an arithmetic unit that calculates and outputs the parameter values of the machining conditions according to the calculation procedure, the skilled worker will always use the best method based on the latest theory and knowledge just by inputting the data of the machining request. Since multiple types of machining conditions are determined in order by a reliable process including know-how, all types of machining conditions are determined based on the theory to suit each machining requirement, and machining efficiency is highly reliable. It is possible to easily generate a reliable combination of initial processing conditions and obtain excellent processing results. As a result, the working efficiency is further improved and the processing technique is further improved.

複数の演算プロシージャを予め定義された所定の順番で実行させて加工条件の組合せを生成して出力する演算装置を有する場合は、加工条件の組合せを生成するときに、作業者が複数の演算プロシージャを実行する順番を考慮する必要がない。その結果、作業効率が一層向上する効果を奏する。特に、演算プログラムユニットを予め定義された所定の順番で実行させる演算装置を有する場合は、複数の加工工程でそれぞれ加工条件の組合せを生成する場合や加工条件を決定するために必要なパラメータ値を演算プログラムユニットで求めることが要求される場合に、作業者が各演算プログラムユニットを選定して実行させる必要がない。その結果、作業効率が一層向上する効果を奏する。   When having an arithmetic device that executes a plurality of arithmetic procedures in a predetermined order to generate and output a combination of machining conditions, the operator can generate a plurality of arithmetic procedures when generating the combination of processing conditions. There is no need to consider the order of execution. As a result, the working efficiency is further improved. In particular, in the case of having an arithmetic unit that executes arithmetic program units in a predetermined order, a parameter value necessary for generating a combination of processing conditions in each of a plurality of processing steps and determining the processing conditions is set. When it is required to obtain the calculation program unit, the operator does not need to select and execute each calculation program unit. As a result, the working efficiency is further improved.

図1に、本発明の加工条件生成装置の好ましい実施の形態の構成がブロック図で示される。実施の形態の加工条件生成装置は、基本的にパーソナルコンピュータと同じ構成を有しているが、加工機械の本機に並設されるコンピュータ数値制御装置(CNC, Computerized Numerical Controller)に設けることができる。以下に、実施の形態の加工条件生成装置として、形彫放電加工における加工条件の組合せを生成する加工条件生成装置について説明する。   FIG. 1 is a block diagram showing the configuration of a preferred embodiment of the processing condition generation apparatus of the present invention. The machining condition generation apparatus according to the embodiment basically has the same configuration as that of a personal computer, but may be provided in a computer numerical control device (CNC) that is arranged in parallel with the main machine of the processing machine. it can. Hereinafter, a machining condition generation apparatus that generates a combination of machining conditions in the sculpting electric discharge machining will be described as a machining condition generation apparatus according to the embodiment.

加工条件生成装置は、入力装置1と、第1の記憶装置2と、第2の記憶装置3と、表示装置4と、操作装置5と、演算装置6を含んでなる。図1は、パーソナルコンピュータが加工条件生成装置として使用されることに限定して各装置の構成を示しているが、パーソナルコンピュータが加工条件を生成する以外の目的で使用されることを制限するものではない。   The processing condition generation device includes an input device 1, a first storage device 2, a second storage device 3, a display device 4, an operation device 5, and a calculation device 6. FIG. 1 shows the configuration of each apparatus limited to the use of a personal computer as a machining condition generation apparatus, but restricts the use of the personal computer for purposes other than generating machining conditions. is not.

加工条件生成装置の入力装置1は、キーボードまたはマウスのような操作装置、磁気ディスクまたは光ディスクのような記憶媒体からデータを読み込むことができるディスクドライブ、外部からデータを取り込むことができるUSBフラッシュメモリ(USB, Universal Serial Bus)のような外部記憶装置、LANアダプタ(LAN, Local Area Network)ようにコンピュータネットワークからデータを取り込むことができる通信装置と、必要な入出力インターフェースを含んでいう。   The input device 1 of the processing condition generation device includes an operation device such as a keyboard or a mouse, a disk drive that can read data from a storage medium such as a magnetic disk or an optical disk, and a USB flash memory that can capture data from the outside ( It includes an external storage device such as a USB (Universal Serial Bus), a communication device capable of capturing data from a computer network such as a LAN adapter (LAN, Local Area Network), and a necessary input / output interface.

入力装置1は、加工要求のデータを演算装置6に与える手段である。入力装置1から入力される加工要求のデータは、第2の記憶装置3に一旦記憶されて演算装置6によって適宜読み出される。また、入力装置1は、基礎データを作成するときに必要な数値データを入力する手段である。   The input device 1 is means for giving processing request data to the arithmetic device 6. The processing request data input from the input device 1 is temporarily stored in the second storage device 3 and appropriately read out by the arithmetic device 6. The input device 1 is means for inputting numerical data necessary when creating basic data.

加工要求のデータは、加工における制約を示すパラメータとして加工条件を決定する上で初期に要求される加工に関する情報として与えられる。加工要求は、所望の加工面粗さのような加工結果のパラメータである場合がある。加工要求は、制御装置に直接パラメータ値を入力して与えられる場合に限らず、制御装置に入力される加工要求ではないパラメータ値から演算して求められて与えられる場合がある。   The processing request data is given as information on processing that is initially required in determining processing conditions as a parameter indicating processing constraints. The machining request may be a parameter of a machining result such as a desired machining surface roughness. The machining request is not limited to the case where the parameter value is directly input to the control device and is given, and may be obtained by being calculated from the parameter value which is not the machining request inputted to the control device.

加工要求は、使用できる加工条件を制限するとともに加工結果に変動を及ぼす。例えば、形彫放電加工の場合、加工要求は、所望の加工面粗さのような期待される加工結果、工具電極と被加工物の材質、電極減寸量、加工面積、加工深さ、加工形態(加工形状)、液処理方法がある。   Machining requirements limit the machining conditions that can be used and also vary the machining results. For example, in the case of sculpting electrical discharge machining, machining requirements include expected machining results such as desired machining surface roughness, tool electrode and workpiece material, electrode reduction, machining area, machining depth, machining There are forms (processed shapes) and liquid treatment methods.

第1の記憶装置2は、大容量のハードディスクドライブのようなデータを記憶させておく補助記憶装置である。第1の記憶装置2として、磁気ディスクや光ディスクなどの記憶媒体にデータを読み書きするディスクドライブ装置を用いることができる。また、USBフラッシュメモリのような外部記憶装置でもよく、電源が切れている間も基礎データを記憶しておくことができるものであれば限定されない。   The first storage device 2 is an auxiliary storage device that stores data such as a large-capacity hard disk drive. As the first storage device 2, a disk drive device that reads / writes data from / to a storage medium such as a magnetic disk or an optical disk can be used. Also, an external storage device such as a USB flash memory may be used, and there is no limitation as long as basic data can be stored while the power is off.

第1の記憶装置2は、複数種類の基礎データを記憶しておく手段である。第1の記憶装置2は、必要に応じて、加工条件を決定するプロセスで最初に与えられるパラメータのデータを記憶する。実施の形態の加工条件生成装置においては、第1の記憶装置2は、最初に与えられるパラメータのデータとして、工具電極と被加工物との材質毎にファーストカットで取り得る複数のピーク電流値のデータを対応する無負荷電圧と極性のデータと共に記憶している。既に加工条件データベースを有している場合は、最初に与えられるパラメータのデータを抽出するときに、既存の加工条件データベースに登録されている複数組の加工条件の組合せのデータを利用できる。   The first storage device 2 is means for storing a plurality of types of basic data. The first storage device 2 stores data of parameters that are initially given in the process of determining the machining conditions as necessary. In the machining condition generation device of the embodiment, the first storage device 2 has a plurality of peak current values that can be obtained by first cut for each material of the tool electrode and the workpiece as parameter data given first. Data is stored along with corresponding no-load voltage and polarity data. In the case where the machining condition database is already provided, the data of the combination of a plurality of machining conditions registered in the existing machining condition database can be used when extracting the parameter data to be given first.

基礎データは、一方の種類のパラメータ(以下、主体パラメータという)のパラメータ値に対応する主体パラメータとの間に理論的な相関関係を有する他方のパラメータ(以下、従属パラメータという)のパラメータ値のデータを集積したデータである。したがって、基礎データは、複数種類のパラメータ間の理論的な相関関係を示している。理論的な相関関係を有する複数種類のパラメータには、加工条件と加工要求が含まれる。   The basic data is data of the parameter value of the other parameter (hereinafter referred to as the dependent parameter) having a theoretical correlation with the parameter value of the parameter of one type (hereinafter referred to as the principal parameter). It is the data which collected. Therefore, the basic data shows a theoretical correlation between a plurality of types of parameters. The plural types of parameters having a theoretical correlation include machining conditions and machining requirements.

複数種類のパラメータ間に理論的な相関関係があるということは、複数種類のパラメータ間に直接因果関係がある場合に限定されず、主体パラメータが科学的な根拠をもって直接または間接的に従属パラメータに影響を与えて従属パラメータのパラメータ値が決まるような相関関係が認められる場合を含む。したがって、本発明における基礎データは、少なくとも理論的な相関関係がない複数種類のパラメータのパラメータ値の集積または加工条件と加工結果とが組み合わされた加工データの単なる寄せ集めではなく、主体パラメータのパラメータ値が決定すると必ず対応する従属パラメータのパラメータ値が予め定められた誤差の範囲で決定する。そのため、基礎データによって得られる主体パラメータのパラメータ値に対応する従属パラメータのパラメータ値は、理論上正しい値であって信頼性が高い。   The theoretical correlation between multiple types of parameters is not limited to cases where there is a direct causal relationship between multiple types of parameters. This includes the case where a correlation is found that affects and determines the parameter value of the dependent parameter. Therefore, the basic data in the present invention is not an accumulation of parameter values of a plurality of parameters that have at least a theoretical correlation or a simple collection of machining data in which machining conditions and machining results are combined. When the value is determined, the parameter value of the corresponding dependent parameter is determined within a predetermined error range. Therefore, the parameter value of the dependent parameter corresponding to the parameter value of the main parameter obtained from the basic data is a theoretically correct value and has high reliability.

複数種類の基礎データは、それぞれ任意のデータファイル名が与えられてデータファイルの形式で第1の記憶装置2に記憶されている。複数種類のパラメータの理論的な相関関係を示す基礎データは、物理式や化学式で複数種類のパラメータ間の相関関係が示されるデータだけではなく、実際の加工で期待される加工結果が得られているサンプルデータのように経験値によって理論的に相関関係が示されるデータを含む。   The plurality of types of basic data are stored in the first storage device 2 in the form of a data file given arbitrary data file names. The basic data that shows the theoretical correlation of multiple types of parameters is not only the data that shows the correlation between multiple types of parameters in physical formulas or chemical formulas, but also the processing results expected in actual processing. Data that is theoretically correlated by experience, such as sample data.

基本的な基礎データは、理論的な相関関係を有する複数種類のパラメータにおける実際の加工で期待される加工結果が得られているサンプルデータを含むパラメータ値が確定的な代表的なデータの集積である。基本的な基礎データは、代表的なデータをばらばらに集積したデータではなく、複数種類のパラメータの相関関係における理論と精度を逸脱しない範囲で適当な近似式で連続するパラメータ値として表わすことができるデータである。したがって、基礎データは、代表的なデータを複数集積して理論的な相関関係を有する複数種類のパラメータの連続するパラメータ値のデータとして表わす近似式のデータを含んでいることがある。近似式を含む基礎データは、主体パラメータと従属パラメータとの理論的な相関関係を線グラフで表わすことができる。   Basic basic data is a collection of representative data with deterministic parameter values including sample data from which the expected machining results are obtained in actual machining with multiple types of parameters that have a theoretical correlation. is there. Basic basic data is not data in which representative data is collected in a discrete manner, but can be expressed as a continuous parameter value with an appropriate approximate expression within a range that does not deviate from the theory and accuracy in the correlation of multiple types of parameters. It is data. Therefore, the basic data may include data of approximate expressions expressed as continuous parameter value data of a plurality of types of parameters having a theoretical correlation by aggregating a plurality of representative data. The basic data including the approximate expression can represent a theoretical correlation between the main parameter and the dependent parameter with a line graph.

基礎データが複数種類のパラメータ間の理論的な相関関係に基づく代表的なデータから連続するパラメータ値のデータを形成する近似式のデータを含んでいる場合、代表的なデータに存在しないパラメータ値が与えられたときに、単なる中間値データではなく、必ず主体パラメータ値のパラメータ値に対応する従属するパラメータの理論値を得ることができる。また、実用上許容される誤差の範囲で理論に基づく連続するパラメータ値を得ることができる数の代表的なデータが与えられていればよいので、基礎データを加工データに基づいて生成する場合は、数少ないテスト加工で信頼性の高い基礎データを作成することができる利点を有する。   If the basic data contains approximate expression data that forms continuous parameter value data from representative data based on the theoretical correlation between multiple types of parameters, parameter values that do not exist in the representative data When given, it is possible to always obtain the theoretical value of the subordinate parameter corresponding to the parameter value of the main parameter value, not just the intermediate value data. In addition, since it is only necessary to provide a number of representative data that can obtain a continuous parameter value based on the theory within a practically acceptable error range, when generating basic data based on machining data, It has the advantage that reliable basic data can be created with few test processes.

実用上、中間値を必要としないパラメータに関する基礎データは、主体パラメータの代表的なパラメータ値または所定の範囲のパラメータ値に1対1で対応する主体パラメータとの間に理論的な相関関係を有する従属パラメータのパラメータ値または所定の範囲のパラメータ値でなるデータの集積である。このような基礎データは、主体パラメータと従属パラメータとの相関関係を示す対応表で表わすことができる。   In practice, basic data regarding parameters that do not require an intermediate value has a theoretical correlation with a representative parameter value of a principal parameter or a principal parameter corresponding to a parameter value in a predetermined range on a one-to-one basis. It is an accumulation of data consisting of parameter values of dependent parameters or parameter values within a predetermined range. Such basic data can be represented by a correspondence table indicating the correlation between the subject parameter and the dependent parameter.

第1の記憶装置2は、作業者が操作装置5によって表示装置4の表示画面上で1つ以上の図形化された単位演算プログラムを作成または修正して複数の単位演算プログラムを任意に結合して関連付けて1つ以上の演算プロシージャを作成または修正して加工条件を決定するプログラムを作成するとともに複数の演算プロシージャでなる演算プログラムユニットを作成して複数種類の加工条件を順番に決定していき加工条件の組合せを生成するプログラムを作成するツールであるアプリケーションソフトウェアを記憶する手段である。   In the first storage device 2, an operator creates or modifies one or more graphic unit operation programs on the display screen of the display device 4 by the operation device 5 and arbitrarily combines a plurality of unit operation programs. Create a program to determine machining conditions by creating or modifying one or more calculation procedures in association with each other, create a calculation program unit consisting of multiple calculation procedures, and determine multiple types of processing conditions in order. It is means for storing application software that is a tool for creating a program for generating a combination of machining conditions.

加工条件の組合せを生成するプログラムは、単位演算プログラム、演算プロシージャ、演算プログラムユニットを含んでなる。演算プロシージャは、相互に関連付けられた複数の単位演算プログラムの集合体である。また、演算プログラムユニットは、1つ以上の演算プロシージャの集合体であり、複数の演算プロシージャが予め所定の順番で実行されるように関連付けられている。加工条件の組合せを生成するプログラムは、演算プログラムユニット単位で第1の記憶装置2に記憶される。   A program for generating a combination of machining conditions includes a unit operation program, an operation procedure, and an operation program unit. The calculation procedure is a collection of a plurality of unit calculation programs associated with each other. The arithmetic program unit is a collection of one or more arithmetic procedures, and is associated with a plurality of arithmetic procedures so that they are executed in a predetermined order in advance. A program for generating a combination of machining conditions is stored in the first storage device 2 in units of arithmetic program units.

単位演算プログラムは、加工条件の組合せを生成するプログラムの最小単位である。単位演算プログラムは、与えられた値を演算アルゴリズムに従って演算して値を返すプログラムブロックである。本発明の単位演算プログラムにおける演算アルゴリズムは、入力されるパラメータ値に対応するパラメータ値を演算して出力するときの演算方法(算法)をいう。演算アルゴリズムは、具体的に、基礎データ、関数式、関数プログラムまたは近似法である。   The unit calculation program is a minimum unit of a program that generates a combination of machining conditions. The unit calculation program is a program block that calculates a given value according to a calculation algorithm and returns a value. The calculation algorithm in the unit calculation program of the present invention refers to a calculation method (calculation method) when calculating and outputting a parameter value corresponding to an input parameter value. The arithmetic algorithm is specifically basic data, a function formula, a function program, or an approximation method.

実施の形態における基本的なフォームの単位演算プログラムは、パラメータ値を入力して予め指定または作成された基礎データ、関数式または関数プログラムに従って入力されるパラメータ値に対応するパラメータ値を演算して出力する。単位演算プログラムがパラメータ値を入力するときは、単位演算プログラムの外からパラメータ値を取得する場合に限らず、単位演算プログラムの中で予め与えられ、または演算されて得られるパラメータ値を取得する場合を含む。   The basic form unit calculation program in the embodiment calculates and outputs a parameter value corresponding to a parameter value input in accordance with basic data, a function expression or a function program specified or created in advance by inputting the parameter value. To do. When the unit calculation program inputs parameter values, not only when acquiring parameter values from outside the unit calculation program, but also when acquiring parameter values given in advance or calculated in the unit calculation program including.

単位演算プログラムは、1種類のパラメータに限らず、複数種類のパラメータのパラメータ値を取得することができる。また、単位演算プログラムに与えられるパラメータ値は、単一の値である場合に限定されず、複数の値である場合を含む。あるいは、単位演算プログラムに与えられるパラメータ値は、演算アルゴリズムとして指定または作成された基礎データ、関数式または関数プログラムに従って得られる連続するパラメータ値である場合を含む。また、単位演算プログラムから出力される演算結果であるパラメータ値は、単一の値である場合に限定されず、複数の値である場合や連続するパラメータ値である場合を含む。   The unit calculation program is not limited to one type of parameter, and can acquire parameter values of a plurality of types of parameters. Further, the parameter value given to the unit calculation program is not limited to a single value, but includes a case of a plurality of values. Alternatively, the parameter value given to the unit calculation program includes a case where the parameter value is a continuous parameter value obtained according to basic data, a function expression, or a function program specified or created as the calculation algorithm. In addition, the parameter value that is the calculation result output from the unit calculation program is not limited to a single value, and includes a case where the parameter value is a plurality of values or a continuous parameter value.

基本的なフォームの単位演算プログラムが変形された単位演算プログラムは、入力されるパラメータ値と基礎データ、関数式または関数プログラムに従って得られる連続するパラメータ値y=f(x)と演算初期値x,xとを取得して、連続するパラメータ値と演算初期値に基づいて演算アルゴリズムとして指定された二等分割法(二分法)のような近似法に従って関数y=f(x)におけるパラメータ値yに対応するパラメータ値x(以下、単にy値に対するx解という)、2つの連続するパラメータ値の交点(x,y)、または連続するパラメータ値の最大値(頂点)xmaxを演算して出力する。出力されるパラメータ値は、予め定められた誤差の範囲内での近似値である。 A unit calculation program in which a basic form unit calculation program is modified includes an input parameter value, basic data, a function expression or a continuous parameter value y = f (x) obtained according to a function program and an operation initial value x 0. , X 1, and the parameter value in the function y = f (x) according to an approximation method such as a bisection method (bisection method) specified as a calculation algorithm based on the continuous parameter value and the calculation initial value a parameter value x corresponding to y (hereinafter simply referred to as an x solution for the y value), an intersection (x, y) of two consecutive parameter values, or a maximum value (vertex) x max of consecutive parameter values Output. The output parameter value is an approximate value within a predetermined error range.

演算プロシージャは、表示画面上で出力と入力とを接合線で結合させたり組み合わせたりして、複数の単位演算プログラムを任意に結合して関連付けて、複数の単位演算プログラムを関連付けられた順番に連続して実行するように構成された単位演算プログラムの集合体(リレーション)である。演算プロシージャは、演算プロシージャの終了を実行するプログラムブロック(エンドプログラム)で終了して、最終的に求めるパラメータ値を出力する。   Arithmetic procedures are a combination of multiple unit operation programs in the order in which multiple unit operation programs are linked by combining or combining outputs and inputs on the display screen with connecting lines or combining them. It is a collection (relation) of unit operation programs configured to be executed at the same time. The calculation procedure ends with a program block (end program) that executes the end of the calculation procedure, and finally outputs a parameter value to be obtained.

演算プロシージャから出力される最終的に求めるパラメータ値が加工条件のパラメータ値である場合は、基本的に1つの演算プロシージャで1種類の加工条件のパラメータ値が出力される。作業者が複数の演算プロシージャを所定の順番で実行させることによって、複数種類の加工条件を順次決定していき、加工条件の組合せが得られる。   When the parameter value finally obtained from the calculation procedure is the parameter value of the machining condition, basically, the parameter value of one kind of machining condition is output by one calculation procedure. When an operator executes a plurality of calculation procedures in a predetermined order, a plurality of types of machining conditions are sequentially determined, and a combination of machining conditions is obtained.

好ましくは、複数の演算プロシージャを予め定義された所定の順番で実行させるようにする。その結果、作業者が演算プロシージャを1つずつ起動して実行させることなく、最初の演算プロシージャを起動して実行させるだけで複数種類の加工条件が順次決定されて加工条件の組合せを生成させることができ、演算プロシージャの実行する順番を間違えることなくより確実にかつ容易に加工条件の組合せを生成することができる。   Preferably, a plurality of calculation procedures are executed in a predetermined order. As a result, multiple types of machining conditions can be determined sequentially and a combination of machining conditions can be generated simply by starting and executing the first calculation procedure without the operator having to start and execute calculation procedures one by one. Therefore, a combination of machining conditions can be generated more reliably and easily without making a mistake in the order in which the calculation procedures are executed.

演算プロシージャは、パラメータを求める手法を示す単位演算プログラムを含む加工条件を決定するプロセスを示すものであるから、作業者が作成した演算プロシージャには、その作業者の有する加工条件を決定する理論、知識、ノウハウが含まれる。したがって、他の作業者は、特定種類の加工条件を決定する演算プロシージャを表示装置の表示画面上に図形化して表示させることによって、演算プロシージャを作成した作業者の特定種類の加工条件を決定する理論、知識、ノウハウを視覚的に理解することができる。   Since the calculation procedure indicates a process for determining a machining condition including a unit calculation program indicating a method for obtaining a parameter, the calculation procedure created by the worker includes a theory for determining the machining condition of the worker, Knowledge and know-how are included. Therefore, the other operator determines the specific type of machining condition of the operator who created the calculation procedure by displaying the calculation procedure for determining the specific type of processing condition in a graphic form on the display screen of the display device. Can visually understand theory, knowledge and know-how.

演算プロシージャから出力される最終的に求めるパラメータ値は、一旦第2の記憶装置3に記憶される。第2の記憶装置3に記憶されたパラメータ値は、後続の演算プロシージャにおける演算で利用することができる。したがって、複数の演算プロシージャが実行される毎に複数種類の加工条件のパラメータ値が第2の記憶装置2に記憶されていき、一連の演算プロシージャの実行が完了したときに、第2の記憶装置3に記憶された複数種類の加工条件から加工条件の組合せが生成される。   The parameter value finally obtained from the calculation procedure is temporarily stored in the second storage device 3. The parameter values stored in the second storage device 3 can be used in calculations in subsequent calculation procedures. Therefore, each time a plurality of calculation procedures are executed, parameter values of a plurality of types of machining conditions are stored in the second storage device 2, and when the execution of a series of calculation procedures is completed, the second storage device A combination of machining conditions is generated from a plurality of types of machining conditions stored in 3.

実施の形態では、1つ以上の演算プロシージャで演算プログラムユニットを構成するようにされている。演算プログラムユニットは、複数の演算プロシージャが予め定義された所定の順番で実行されるように関連付けられてなる。複数の演算プログラムユニットを予め定義された所定の順番で実行させるためには、例えば、加工条件生成装置を動作させるアプリケーションプログラムに予め演算プログラムユニットを読み出す順番を定義したルールをプログラムしておくか、または演算プログラムユニットに次の演算プログラムユニットを続けて実行させるための順番を演算プログラムユニットのデータに関連付けて第1の記憶装置2に記憶させておく。   In the embodiment, the arithmetic program unit is configured by one or more arithmetic procedures. The arithmetic program unit is associated so that a plurality of arithmetic procedures are executed in a predetermined order. In order to execute a plurality of arithmetic program units in a predetermined order defined in advance, for example, an application program that operates the machining condition generation device is programmed with a rule that defines the order in which the arithmetic program units are read in advance, Alternatively, the order for causing the arithmetic program unit to continuously execute the next arithmetic program unit is stored in the first storage device 2 in association with the data of the arithmetic program unit.

演算プログラムユニットは、データファイル名を付けて1つのデータファイルとして第1の記憶装置2に保存することができる。したがって、複数種類の演算プログラムユニットを第1の記憶装置2に保存することができ、演算プログラムユニットの単位で第1の記憶装置2から選択的に読み出して表示装置4に表示させたり、実行させることができる。基本的に、1つの演算プログラムユニットで1組の加工条件の組合せを生成するようにされているが、1つ以上の演算プログラムユニットで1組の加工条件の組合せを生成するようにすることができる。   The arithmetic program unit can be stored in the first storage device 2 as a single data file with a data file name. Therefore, a plurality of types of arithmetic program units can be stored in the first storage device 2, and can be selectively read out from the first storage device 2 in units of arithmetic program units and displayed on the display device 4 or executed. be able to. Basically, one operation program unit generates one set of machining condition combinations. However, one or more operation program units may generate one set of machining condition combinations. it can.

1つの演算プログラムユニットを選択して実行することによって加工条件の組合せを生成させることができる。そのため、作業者は、所要の演算プログラムユニットを起動して実行させるだけで目的の加工条件の組合せを生成させることができ、より確実にかつ容易に加工条件の組合せを生成することができる。また、演算プログラムユニットに含まれる複数の演算プロシージャを表示装置の表示画面上に図形化して同時に表示させることができる。そのため、作業者は、複数の演算プロシージャの関係を容易に判別して複数種類の加工条件を順次決定していく一連のプロセスを視覚的に知ることができ、加工条件の組合せを生成する理論、知識、ノウハウを体系的に理解することができる利点を有する。   A combination of machining conditions can be generated by selecting and executing one arithmetic program unit. Therefore, the operator can generate a desired combination of machining conditions simply by starting and executing a required arithmetic program unit, and can more reliably and easily generate a combination of machining conditions. Also, a plurality of calculation procedures included in the calculation program unit can be displayed on the display screen of the display device at the same time. Therefore, the operator can visually determine a series of processes that easily determine the relationship between a plurality of operation procedures and sequentially determine a plurality of types of machining conditions, and generates a combination of machining conditions. Has the advantage of systematically understanding knowledge and know-how.

好ましくは、複数の演算プログラムユニットを第1の記憶装置2から予め定義された所定の順番に読み出して、読み出した順番に従って演算プログラムユニットを順次実行させるようする。その結果、作業者が演算プログラムユニットを1つずつ起動することなく、最初の演算プログラムユニットを起動するだけで複数組の加工条件の組合せを連続して生成させることができるから、例えば、荒加工工程から最終仕上げ加工工程までの複数の加工工程でそれぞれ加工条件の組合せを設定する必要がある場合のように、複数の演算プログラムユニットを実行させて加工条件の組合せを生成する必要がある場合に、作業者が演算プログラムユニットを選択しながら順番に実行させる必要なく、加工条件の組合せを生成させることができ、作業効率が一層向上する。   Preferably, a plurality of arithmetic program units are read from the first storage device 2 in a predetermined order, and the arithmetic program units are sequentially executed according to the read order. As a result, the operator can continuously generate a plurality of machining condition combinations by activating the first arithmetic program unit without starting the arithmetic program units one by one. When it is necessary to generate a combination of machining conditions by executing multiple operation program units, such as when it is necessary to set a combination of machining conditions for each of the machining processes from the process to the final finishing machining process. Further, it is possible to generate a combination of machining conditions without the operator having to select the calculation program units and sequentially execute them, thereby further improving the work efficiency.

演算プロシージャまたは演算プログラムユニットの中には、特定種類の加工条件を決定するために必要なパラメータのパラメータ値を得るための演算プロシージャまたは演算プログラムユニットがある。加工条件を決定するために必要なパラメータは、特定種類の加工条件または加工要求と理論的な相関関係を有している。   Among the calculation procedures or calculation program units are calculation procedures or calculation program units for obtaining parameter values of parameters necessary for determining a specific type of machining condition. The parameters necessary to determine the processing conditions have a theoretical correlation with a specific type of processing conditions or processing requirements.

実施の形態の形彫放電加工における加工条件生成装置では、例えば、放電ギャップの大きさを推論する演算プログラムユニットが準備されている。放電ギャップの大きさを推論する演算プログラムユニットから最終的に求められた放電ギャップの大きさは、第2の記憶装置3に記憶される。放電ギャップは、加工条件および加工要求ではないパラメータであるが、放電ギャップの大きさは、加工要求である電極減寸量に制約を受けるとともに、ピーク電流値の影響を直接受けて変動する。したがって、放電ギャップの大きさは、ピーク電流値を決定するために必要なパラメータであり、ピーク電流値との間に理論的な相関関係を有している。   In the machining condition generation apparatus in the sculpting electric discharge machining according to the embodiment, for example, an arithmetic program unit for inferring the size of the discharge gap is prepared. The size of the discharge gap finally obtained from the arithmetic program unit that infers the size of the discharge gap is stored in the second storage device 3. The discharge gap is a parameter that is not a machining condition and a machining request, but the size of the discharge gap is restricted by the electrode reduction amount that is a machining request and also varies directly under the influence of the peak current value. Therefore, the size of the discharge gap is a parameter necessary for determining the peak current value, and has a theoretical correlation with the peak current value.

実施の形態における形彫放電加工の加工条件の組合せを生成するプログラムは、ピーク電流値、オン時間(放電電流パルス幅)、オフ時間(休止時間)、サーボ基準電圧(平均加工電圧)、極性、無負荷電圧(電源電圧)のような電気条件を生成する演算プログラムユニットと、ジャンプ速度、ジャンプ時間、揺動量のような移動条件を生成する演算プログラムユニットと、放電ギャップのような特定種類の加工条件を決定するために必要なパラメータのパラメータ値を演算する演算プログラムユニットとでなる。また、各種類の演算プログラムユニットは、荒加工工程と中仕上げ加工工程と仕上げ加工工程とでそれぞれ異なる演算プログラムユニットを有する。   A program for generating a combination of machining conditions for EDM in the embodiment includes a peak current value, an on time (discharge current pulse width), an off time (pause time), a servo reference voltage (average machining voltage), polarity, An arithmetic program unit that generates electrical conditions such as no-load voltage (power supply voltage), an arithmetic program unit that generates movement conditions such as jump speed, jump time, and swing amount, and specific types of machining such as discharge gaps An arithmetic program unit that calculates parameter values of parameters necessary for determining the conditions. Further, each type of arithmetic program unit has different arithmetic program units for the roughing process, the intermediate finishing process, and the finishing process.

実施の形態の加工条件生成装置は、予め定義された順番で実行させるように複数の演算プログラムユニットを1つの加工条件自動生成プログラムのデータファイルとして第1の記憶装置2に記憶させておくことができる。したがって、1つの加工条件自動生成プログラムのデータファイルを第1の記憶装置2から読み出して実行させるだけで、各加工工程における加工条件の組合せを連続的に生成して複数組の加工条件の組合せを設定させることができる。複数の加工条件自動生成プログラムを第1の記憶装置2に記憶させることができる。本発明では、説明の便宜上、各加工工程における複数組の加工条件の組合せを決定する加工条件自動生成プログラムをプロジェクトプログラム(加工計画実行プログラム)と称する。   The machining condition generation device of the embodiment may store a plurality of operation program units in the first storage device 2 as a data file of one machining condition automatic generation program so as to be executed in a predefined order. it can. Therefore, by simply reading out a data file of one machining condition automatic generation program from the first storage device 2 and executing it, a combination of machining conditions in each machining process is continuously generated to create a combination of a plurality of machining conditions. Can be set. A plurality of machining condition automatic generation programs can be stored in the first storage device 2. In the present invention, for convenience of explanation, a machining condition automatic generation program that determines a combination of a plurality of machining conditions in each machining process is referred to as a project program (machining plan execution program).

図4に示されるように、表示装置4の表示画面上の表示領域70にプロジェクトプログラムに含まれる複数の演算プログラムユニットをツリー形式で表示させることができる。実施の形態の加工条件生成装置では、表示されたツリーの上側の演算プログラムユニットから順番に実行されるようにアプリケーションプログラム予め定義されている。また、表示されている演算プログラムユニットを選択的に指定して単独で実行させることができるとともに、指定した演算プログラムユニット毎に演算プログラムユニットの中の単位演算プログラムを含む図形化された演算プロシージャを表示装置4の表示画面上に表示させることができる。   As shown in FIG. 4, a plurality of operation program units included in the project program can be displayed in a tree format in the display area 70 on the display screen of the display device 4. In the machining condition generating apparatus of the embodiment, the application program is defined in advance so as to be executed in order from the arithmetic program unit on the upper side of the displayed tree. In addition, the displayed arithmetic program unit can be selectively designated and executed independently, and a graphic arithmetic procedure including a unit arithmetic program in the arithmetic program unit is provided for each designated arithmetic program unit. It can be displayed on the display screen of the display device 4.

以上のように、演算プロシージャ、演算プログラムユニット、プロジェクトプログラムの何れかの単位で第1の記憶装置2に記憶させ、第1の記憶装置2から読み出して実行させ、表示装置4の表示画面上に表示させることができる。データファイルをどのプログラム単位で構成するかは任意であるが、プロジェクトプログラムを1つのデータファイルとしておくことが、複数組の加工条件の組合せを生成するために加工条件生成装置を動作させるときや加工条件自動生成プログラムの全体の構造を図で理解するときに有利である。   As described above, the unit is stored in the first storage device 2 in any unit of the calculation procedure, the calculation program unit, and the project program, and is read from the first storage device 2 and executed, and is displayed on the display screen of the display device 4. Can be displayed. The program file can be configured in any program unit. However, it is possible to set the project program as one data file when operating the machining condition generation device to generate a combination of multiple machining conditions or machining This is advantageous when the overall structure of the condition automatic generation program is understood with a diagram.

第1の記憶装置2は、加工条件の組合せを生成するプログラムによって生成された加工条件の組合せを記憶させておくことができる。第1の記憶装置2に記憶された加工条件の組合せは、ディスクドライブ装置を通して記憶媒体に記憶させたり、USBポートを通してUSBフラッシュメモリに記憶させることができる。また、第1の記憶装置2に記憶される加工条件の組合せのデータは、加工条件番号を付けて既存の加工条件データベースの中に追加して登録させることができる。   The first storage device 2 can store a combination of machining conditions generated by a program that generates a combination of machining conditions. The combination of processing conditions stored in the first storage device 2 can be stored in a storage medium through a disk drive device or stored in a USB flash memory through a USB port. The processing condition combination data stored in the first storage device 2 can be registered by adding a processing condition number to an existing processing condition database.

第2の記憶装置3は、演算のために使用する揮発性メモリ(RAM, Random Access Memory)のような一時記憶装置である。第2の記憶装置3は、演算装置6との間で高速にデータのやり取りをできる一時的にデータを記憶しておくことができる記憶装置であればよい。   The second storage device 3 is a temporary storage device such as a volatile memory (RAM, Random Access Memory) used for calculation. The second storage device 3 may be any storage device that can temporarily store data that can exchange data with the arithmetic device 6 at high speed.

第2の記憶装置3は、入力装置1から入力された加工要求のデータ、演算装置6で生成された1組以上の加工条件の組合せのデータ、演算装置6の演算で得られる演算結果のデータ、演算装置6の演算に必要なデータなどを記憶しておく手段である。第2の記憶装置3は、演算装置6によって単位演算プログラムを実行して得られる演算結果のデータや演算プロシージャを実行して最終的に求める加工条件を含むパラメータ値を一旦記憶する。   The second storage device 3 stores processing request data input from the input device 1, data of a combination of one or more processing conditions generated by the arithmetic device 6, and calculation result data obtained by the arithmetic device 6. This is means for storing data necessary for the calculation of the calculation device 6. The second storage device 3 temporarily stores parameter values including processing result data obtained by executing the unit calculation program by the calculation device 6 and a calculation condition finally obtained by executing a calculation procedure.

表示装置4は、液晶ディスプレイ(LCD, Liquid Crystal Display)でなるモニタと表示しようとする画像データを表示用のデータに変換してモニタに送信する表示回路とで構成される。表示装置4は、グラフィックボードのようなグラフィック装置が増設されているときは、グラフィック装置を含む。   The display device 4 includes a monitor composed of a liquid crystal display (LCD) and a display circuit that converts image data to be displayed into display data and transmits the data to the monitor. The display device 4 includes a graphic device when a graphic device such as a graphic board is added.

表示装置4は、基礎データの内容を表示する手段である。表示装置4は、図2に示されるように、作業者が数値データを入力することができるように、基礎データを表示画面上に表形式で表示する。表示装置4は、画面を切り換えて基礎データにおける複数種類のパラメータのパラメータ値をグラフ表示することができる。例えば、図2および図3に、形彫放電加工におけるピーク電流値毎のオン時間に対する放電ギャップのデータが表示画面上に表示されている状態が示されている。また、表示装置4は、例えば、図3に示されるように、複数種類の近似式の候補を選択できるように表示する。   The display device 4 is means for displaying the contents of the basic data. As shown in FIG. 2, the display device 4 displays basic data in a tabular format on a display screen so that an operator can input numerical data. The display device 4 can display the graph of the parameter values of a plurality of types of parameters in the basic data by switching the screen. For example, FIG. 2 and FIG. 3 show a state in which the discharge gap data with respect to the ON time for each peak current value in the sculpting electric discharge machining is displayed on the display screen. Further, for example, as shown in FIG. 3, the display device 4 displays so that a plurality of types of approximate expression candidates can be selected.

表示装置4は、単位演算プログラムおよび複数の単位演算プログラムが関連付けられてなり最終的に求めるパラメータ値を出力する演算プロシージャを図形化して表示する手段である。具体的に、図形化された単位演算プログラムはブロック図形であり、図形化された演算プロシージャは単位演算プログラムのブロック図形が任意に結合して関連付けられたブロックダイヤグラムである。   The display device 4 is means for graphically displaying an operation procedure that associates a unit operation program and a plurality of unit operation programs and outputs a parameter value to be finally obtained. Specifically, the figured unit calculation program is a block figure, and the figured calculation procedure is a block diagram in which block figures of the unit calculation program are arbitrarily combined and associated.

図4に、単位演算プログラムのブロック図形10が表示装置4の表示画面上に表示された状態が示されている。単位演算プログラムの基本のブロック図形10(A)は、少なくとも入力されるパラメータ値を取得する入力部分11と、演算アルゴリズムを指定する指定部分12と、演算されたパラメータ値を出力する出力部分13とを有する。   FIG. 4 shows a state in which the block graphic 10 of the unit calculation program is displayed on the display screen of the display device 4. The basic block diagram 10 (A) of the unit calculation program includes at least an input part 11 for acquiring an input parameter value, a specifying part 12 for specifying an arithmetic algorithm, and an output part 13 for outputting the calculated parameter value. Have

理論的な相関関係を有する取得するパラメータと出力されるパラメータとのパラメータ値の関係を変化させる条件である第3のパラメータが存在することがある。条件となるパラメータのパラメータ値が異なると、相関関係の理論が同じであっても取得するパラメータのパラメータ値に対応する出力するパラメータのパラメータ値が異なる。このように理論的な相関関係を有する2種類のパラメータのパラメータ値を異ならしめるパラメータを中間パラメータという。   There may be a third parameter that is a condition for changing the parameter value relationship between the acquired parameter having a theoretical correlation and the output parameter. If the parameter values of the parameters that are the conditions are different, the parameter values of the output parameters corresponding to the parameter values of the acquired parameters are different even if the correlation theory is the same. A parameter that makes the parameter values of two kinds of parameters having a theoretical correlation different from each other is referred to as an intermediate parameter.

基礎データに理論的な相関関係を有する入力される主体パラメータと出力される従属パラメータとのパラメータ値の関係を変化させる条件である中間パラメータが存在するときは、単位演算プログラムのブロック図形10(B)は、単位演算プログラムの基本のブロック図形10(A)に、中間パラメータを系列として、中間パラメータを表示する系列部分14がブロック図形10(A)に追加されたブロック図形である。   When there is an intermediate parameter that is a condition for changing the parameter value relationship between the input subject parameter having a theoretical correlation and the output dependent parameter in the basic data, the block diagram 10 (B ) Is a block graphic in which a series part 14 for displaying intermediate parameters is added to the block graphic 10 (A) with the intermediate parameters as a series in the basic block graphic 10 (A) of the unit calculation program.

単位演算プログラムが関数におけるy値に対するx解、交点または最大値を求める演算プログラムであるときは、単位演算プログラムのブロック図形10(C)は、単位演算プログラムの基本のブロック図形10(A)における入力されるパラメータ値を取得する第1の入力部分11に、入力されるパラメータと出力されるパラメータとの理論的な相関関係を示す基礎データ、関数式または関数プログラムに従って得られる連続するパラメータ値を取得する第2の入力部分15と、演算アルゴリズムである近似法によって近似解を得るために要求される任意の演算初期値を取得する第3の入力部分16とがブロック図形10(A)に追加されたブロック図形である。実施の形態の加工条件生成装置では、演算アルゴリズムである近似法は予め二等分割法に定義されている。   When the unit operation program is an operation program for obtaining an x solution, intersection or maximum value for the y value in the function, the block graphic 10 (C) of the unit operation program is the same as the basic block graphic 10 (A) of the unit operation program. In the first input portion 11 for obtaining the input parameter value, continuous data values obtained according to basic data, a functional expression or a function program indicating a theoretical correlation between the input parameter and the output parameter are obtained. A second input portion 15 to be acquired and a third input portion 16 to acquire an arbitrary calculation initial value required for obtaining an approximate solution by an approximation method that is an operation algorithm are added to the block graphic 10 (A). Block shape. In the machining condition generation apparatus of the embodiment, the approximation method that is an arithmetic algorithm is defined in advance as a bisection method.

図4に、演算プロシージャブロックダイヤグラム20が表示装置4の表示画面上に表示されている状態が示されている。例えば、図4に示される演算プロシージャブロックダイヤグラム20は、形彫放電加工における加工条件のオン時間を演算する演算プロシージャブロックダイヤグラム20(A)とオフ時間を演算する演算プロシージャブロックダイヤグラム20(B)である。演算プロシージャブロックダイヤグラム20は、1つ以上の単位演算プログラムのブロック図形10を含んでいる。   FIG. 4 shows a state in which the operation procedure block diagram 20 is displayed on the display screen of the display device 4. For example, the operation procedure block diagram 20 shown in FIG. 4 includes an operation procedure block diagram 20 (A) for calculating an on time of a machining condition in sculpting electric discharge machining and an operation procedure block diagram 20 (B) for calculating an off time. is there. The operation procedure block diagram 20 includes one or more unit operation program block diagrams 10.

演算プロシージャは、演算プロシージャの終了を実行するプログラムブロックであるエンドプログラムで終了する。エンドプログラムは、演算プロシージャで演算される最終的に求めるパラメータ値を第2の記憶装置3に記憶させて保存してから演算プロシージャの実行を終了させる。エンドプログラムは、最終的に求めるパラメータ値を入力して第2の記憶装置3に出力するので、広義には、単位演算プログラムに含まれる。エンドプログラムの演算アルゴリズムは、関数プログラムである。   The arithmetic procedure ends with an end program which is a program block that executes the end of the arithmetic procedure. The end program stores the parameter value to be finally calculated calculated by the calculation procedure in the second storage device 3, and then ends the execution of the calculation procedure. Since the end program inputs the parameter value finally obtained and outputs it to the second storage device 3, it is included in the unit calculation program in a broad sense. The calculation algorithm of the end program is a function program.

図形化されたエンドプログラムは、ブロック図形30である。エンドプログラムのブロック図形30は、互いに関連付けられた単位演算プログラムのブロック図形10の中で最後に結合されている単位演算プログラムのブロック図形10(D)の出力を入力するように接続線17で結合されて表示装置4の表示画面上に配置される。   The graphicized end program is a block graphic 30. The block graphic 30 of the end program is coupled by the connection line 17 so as to input the output of the block graphic 10 (D) of the unit arithmetic program that is coupled last in the block graphic 10 of the unit arithmetic program associated with each other. Then, it is arranged on the display screen of the display device 4.

実施の形態の加工条件生成装置においては、エンドプログラムのブロック図形30には、重複しない数字(番号)が表示されている。演算プロシージャにおけるエンドプログラムのブロック図形30に示される番号が小さい順番で複数の演算プロシージャが連続して実行されるように加工条件生成装置を動作させるアプリケーションソフトウェアに予め定義されている。   In the machining condition generation apparatus of the embodiment, numbers (numbers) that do not overlap are displayed in the block graphic 30 of the end program. It is pre-defined in application software that operates the machining condition generating apparatus so that a plurality of calculation procedures are successively executed in order from the smallest number shown in the block diagram 30 of the end program in the calculation procedure.

例えば、図4で示される演算プロシージャの場合、エンドプログラムの番号が小さい演算プロシージャブロックダイヤグラム20(A)で示される演算プロシージャが先に実行されてオン時間のパラメータ値が求められ、第2の記憶装置3に記憶される。次に、第2の記憶装置3に記憶されているオン時間のパラメータ値を用いてエンドプログラムの番号が大きい演算プロシージャブロックダイヤグラム20(B)に示される演算プロシージャが実行されてオフ時間のパラメータ値が求められ、第1の記憶装置2に記憶される。   For example, in the case of the arithmetic procedure shown in FIG. 4, the arithmetic procedure indicated by the arithmetic procedure block diagram 20 (A) having the smaller end program number is executed first to obtain the on-time parameter value and the second storage. It is stored in the device 3. Next, the calculation procedure shown in the calculation procedure block diagram 20 (B) having the large end program number is executed using the parameter value of the on time stored in the second storage device 3, and the parameter value of the off time is executed. Is obtained and stored in the first storage device 2.

図4は、オン時間を演算する演算プロシージャブロックダイヤグラム20(A)とオフ時間を演算する演算プロシージャブロックダイヤグラム20(B)が表示されている状態を示しているが、他の演算プロシージャブロックダイヤグラムは、表示画面上の外に配置されていて、スクロールバー40を操作することによって、表示されていない他の演算プロシージャブロックダイヤグラムを表示画面上に表示させることができる。   FIG. 4 shows a state in which an arithmetic procedure block diagram 20 (A) for calculating the on-time and an arithmetic procedure block diagram 20 (B) for calculating the off-time are displayed, but other arithmetic procedure block diagrams are shown in FIG. By operating the scroll bar 40, which is arranged outside the display screen, other operation procedure block diagrams that are not displayed can be displayed on the display screen.

表示装置4は、複数種類の加工要求の中で、加工要求のパラメータ値によって演算アルゴリズムとして使用する基礎データ、特定種類のパラメータを求める手法、または加工条件を決定するプロセスを異ならしめる種類の加工要求を表示領域50に表示させる。例えば、形彫放電加工におけるこのような種類の加工要求は、工具電極と被加工物の材質(材質組合せ)と加工形状である。表示領域50に表示された加工要求は、パラメータ値を任意または選択的に入力することができ、表示画面上に現在表示されている演算プログラムユニットと関連付けて第1の記憶装置2に記憶させることができる。   The display device 4 includes a plurality of types of machining requests, which are different types of machining requests that change basic data used as an arithmetic algorithm according to the machining request parameter values, a method for obtaining a specific type of parameter, or a process for determining machining conditions. Is displayed in the display area 50. For example, such types of machining requirements in sculpting electric discharge machining are the material (material combination) and machining shape of the tool electrode and the workpiece. The machining request displayed in the display area 50 can be arbitrarily or selectively input a parameter value, and is stored in the first storage device 2 in association with the arithmetic program unit currently displayed on the display screen. Can do.

表示装置4は、加工条件を決定するプロセスで最初に与えられるパラメータのデータを表示領域60に表示する。第1の記憶装置2は、例えば、最初に与えられるパラメータのデータとして、工具電極と被加工物との材質毎にファーストカットで取り得る複数のピーク電流値のデータを無負荷電圧および極性のデータと共に記憶している。最初に与えられるパラメータのデータは、データテーブル形式で保存されている。既に加工条件データベースが存在するときは、表示領域60で既存の加工条件データベースのデータファイル名を選択的に指定して、最初に与えられるパラメータのデータを加工条件データベースから取得することができる。   The display device 4 displays, in the display area 60, parameter data that is initially given in the process of determining the machining conditions. The first storage device 2 uses, for example, data of a plurality of peak current values that can be obtained by the first cut for each material of the tool electrode and the workpiece as data of parameters given first, and data of no-load voltage and polarity. Remember with. The parameter data given first is stored in a data table format. When the machining condition database already exists, the data file name of the existing machining condition database can be selectively designated in the display area 60, and the parameter data given first can be acquired from the machining condition database.

表示装置4は、1つ以上の演算プログラムユニットを有するプロジェクトプログラムの構成を演算プログラムユニットの単位で表示領域70にツリー形式で表示する。互いに関連付けられた複数の演算プロシージャは、演算プログラムユニットの単位で第1の記憶装置2に記憶されていて、マウスを用いて表示領域70に表示されている演算プログラムユニットのデータファイル名をクリックすると、第1の記憶装置2からその演算プログラムユニットが読み出されて演算プログラムユニットを構成する演算プロシージャが表示画面上に操作可能に表示される。   The display device 4 displays the configuration of a project program having one or more arithmetic program units in a tree format in the display area 70 in units of arithmetic program units. A plurality of calculation procedures associated with each other are stored in the first storage device 2 in units of calculation program units, and when the data file name of the calculation program unit displayed in the display area 70 is clicked using the mouse, The arithmetic program unit is read from the first storage device 2 and the arithmetic procedure constituting the arithmetic program unit is displayed on the display screen so as to be operable.

操作装置5は、主にキーボードやマウスである。実施の形態の操作装置5は、機能的に、第2の記憶装置3、表示装置4、演算装置6を含んでいう。また、操作装置5は、加工要求のパラメータ値や基礎データを作成するときに与える数値データを入力する入力装置1を含んでいる。   The operation device 5 is mainly a keyboard and a mouse. The operation device 5 according to the embodiment functionally includes the second storage device 3, the display device 4, and the arithmetic device 6. Further, the operation device 5 includes an input device 1 for inputting numerical values given when creating parameter values and basic data of machining requests.

操作装置5は、作業者が表示装置4の表示画面上で単位演算プログラムのブロック図形を作成または修正して複数の単位演算プログラムのブロック図形10を任意に接合線で結合して関連付けて演算プロシージャを作成または修正するように操作する手段である。また、操作装置5は、作業者が表示画面上で単位演算プログラムのブロック図形10を任意に配置するように操作する手段である。また、操作装置5は、作業者が表示装置4の表示画面上で単位演算プログラムのブロック図形10の演算アルゴリズムを指定または作成して設定するように操作する手段である。   The operation device 5 is a calculation procedure in which an operator creates or corrects a block graphic of a unit calculation program on the display screen of the display device 4 and arbitrarily connects and associates block graphics 10 of a plurality of unit calculation programs with joint lines. Is a means of operating to create or modify. The operating device 5 is means for operating the operator so that the block graphic 10 of the unit calculation program is arbitrarily arranged on the display screen. The operation device 5 is a means for the operator to operate so as to designate or create and set the operation algorithm of the block graphic 10 of the unit operation program on the display screen of the display device 4.

操作装置5によって、表示装置4の表示画面上で基礎データを生成して第1の記憶装置2に記憶させることができる。数値データは、入力装置1から入力される。操作装置5によって、表示装置4の表示画面上で基礎データを選択して第1の記憶装置2に記憶された特定の基礎データを読み出して、当該基礎データの内容を変更、削除または追加するようにすることができる。   The basic data can be generated on the display screen of the display device 4 and stored in the first storage device 2 by the operation device 5. Numerical data is input from the input device 1. The operation device 5 selects basic data on the display screen of the display device 4 to read out the specific basic data stored in the first storage device 2 and changes, deletes or adds the content of the basic data. Can be.

基礎データが理論的な相関関係を有する複数種類のパラメータの代表的なデータを複数集積して理論的な相関関係を有する連続するパラメータ値のデータとして表わす近似式のデータを含むときは、作業者は、操作装置5を操作して近似式のデータを表示装置4の表示画面上に表示されている複数種類の近似式の候補の中から選択して設定することができる。   When the basic data includes data of approximate expressions expressed as continuous parameter value data having a theoretical correlation by collecting a plurality of representative data of a plurality of types of parameters having a theoretical correlation. The operation device 5 can be operated to select and set approximate expression data from a plurality of types of approximate expression candidates displayed on the display screen of the display device 4.

図形化された単位演算プログラムが少なくとも入力されてくるパラメータ値を取得する入力部分11と演算アルゴリズムを指定する指定部分12と演算されたパラメータ値を出力する出力部分13とを有する単位演算プログラムのブロック図形10であるときは、操作装置5は、作業者が表示装置4の表示画面上で出力部分13と入力部分11または指定部分12と入力部分11とを接続線17で結合させるだけで複数の単位演算プログラムを関連付けることができる。したがって、単位演算プログラムがブロック図形10である場合は、演算プロシージャをより容易に作成または修正することができる。   A block of a unit calculation program having an input part 11 for obtaining at least a parameter value to which the unit calculation program made into a figure is input, a specifying part 12 for specifying an operation algorithm, and an output part 13 for outputting the calculated parameter value In the case of the figure 10, the operating device 5 allows the operator to connect the output portion 13 and the input portion 11 or the designated portion 12 and the input portion 11 on the display screen of the display device 4 by connecting lines 17. Unit calculation programs can be associated. Therefore, when the unit calculation program is the block graphic 10, the calculation procedure can be created or modified more easily.

操作装置5は、作業者が表示装置5の表示画面上で複数の演算プロシージャを所定の順番で実行されるように関連付けて第1の記憶装置2に記憶させる手段である。演算プロシージャを所定の順番で実行されるように関連付けて記憶させる方法として、例えば、表示されている演算プロシージャ毎に実行する順番を示す数値データを入力することができるようにしておき、演算プロシージャと数値データとを関連付けて第1の記憶装置2に記憶させる方法がある。   The operating device 5 is means for causing the operator to store a plurality of calculation procedures on the display screen of the display device 5 in association with each other so as to be executed in a predetermined order in the first storage device 2. As a method of storing calculation procedures in association with each other so that they are executed in a predetermined order, for example, numerical data indicating the order of execution for each calculation procedure displayed can be input, and calculation procedures and There is a method of storing numerical data in the first storage device 2 in association with each other.

また、操作装置5は、複数の演算プロシージャが所定の順番で実行されるように関連付けられてなる演算プログラムユニットを第1の記憶装置2に記憶させる手段である。実施の形態の加工条件生成装置は、演算プロシージャにおけるエンドプログラムに番号を与えておき、エンドプログラムに付された番号が小さい順番で演算プロシージャが実行されるように関連付けられている。   The operation device 5 is means for causing the first storage device 2 to store a calculation program unit that is associated so that a plurality of calculation procedures are executed in a predetermined order. The machining condition generation apparatus according to the embodiment is associated with a number assigned to an end program in an operation procedure so that the operation procedure is executed in the order from the smallest number assigned to the end program.

演算装置6は、中央演算処理装置(CPU, Central Processing Unit)である。演算装置6は、最初に決定されるべき種類の加工条件を決定する演算プロシージャが起動されたときに、加工条件を決定するプロセスで最初に与えられるパラメータ値に対応して演算プロシージャに従って複数の単位演算プログラムを関連付けられた順番で実行させて加工条件のパラメータ値を演算して出力する。   The arithmetic device 6 is a central processing unit (CPU). When the calculation procedure for determining the type of machining condition to be determined first is activated, the calculation device 6 corresponds to the parameter value that is initially given in the process for determining the machining condition, according to the calculation procedure. The calculation program is executed in the associated order to calculate and output the parameter value of the machining condition.

例えば、形彫放電加工における荒加工工程(ファーストカット)の加工条件の組合せを生成する場合、最初に実行される演算プロシージャは、荒加工で取り得るピーク電流値に対するオン時間を求める演算を行なう。オン時間を求める演算プロシージャに最初に与えられるパラメータは、ピーク電流値である。最初に与えられる1つ以上のピーク電流値のパラメータ値は、第1の記憶装置2に保存されている加工条件データベースからピーク電流値と無負荷電圧と極性の組合せで読み出して取得する。最初に与えられるパラメータ値は、加工条件の組合せを生成するプログラムを実行する前に、作業者が入力装置1から入力して与えておくことができる。   For example, when generating a combination of machining conditions for the rough machining step (first cut) in the sculpting electric discharge machining, the calculation procedure executed first performs a calculation for obtaining an on time with respect to a peak current value that can be obtained by rough machining. The first parameter given to the calculation procedure for determining the on-time is the peak current value. The parameter values of one or more peak current values that are initially given are read out from the processing condition database stored in the first storage device 2 by a combination of the peak current value, the no-load voltage, and the polarity. The parameter value to be given first can be given by the operator from the input device 1 before executing the program for generating the combination of machining conditions.

演算装置6は、予め定義された所定の順番で複数の演算プロシージャを実行する。また、演算装置6は、複数の演算プロシージャが予め定義された所定の順番で実行されるように関連付けられてなる演算プログラムユニットを第1の記憶装置2から所定の順番に読み出して、読み出した順番に従って演算プログラムユニットを実行させて加工条件の組合せを生成する。   The arithmetic device 6 executes a plurality of arithmetic procedures in a predetermined order defined in advance. In addition, the arithmetic device 6 reads out the arithmetic program units associated with each other so that the plurality of arithmetic procedures are executed in a predetermined order, which is read out from the first storage device 2 in the predetermined order. The calculation program unit is executed according to the above to generate a combination of machining conditions.

以下に、実施の形態の加工条件生成装置において基礎データを作成または修正するプロセスと加工条件の組合せを生成するプログラムを作成または修正するプロセスを説明する。図5ないし図7は、単位演算プログラムのブロック図形を具体的に示す。   Hereinafter, a process for creating or modifying a program for creating a combination of a process for creating or modifying basic data and a machining condition in the machining condition generating apparatus according to the embodiment will be described. 5 to 7 specifically show block diagrams of the unit calculation program.

基礎データを作成するときは、操作装置5を操作して画面選択で数値入力ボタンをクリックして図2に示される基礎データの入力画面を表示装置4に表示させる。そして、入力装置1から数値データを入力して基礎データを作成する。基礎データにおける理論的な相関関係を有するパラメータの種類が2種類であるときのデータ次元数を2とし、パラメータの種類が3種類であるときのデータ次元数を3とする。   When creating the basic data, the operating device 5 is operated, and the numerical data input button is clicked by screen selection to display the basic data input screen shown in FIG. Then, numerical data is input from the input device 1 to create basic data. The number of data dimensions when there are two kinds of parameters having a theoretical correlation in the basic data is 2, and the number of data dimensions when there are three kinds of parameters is 3.

データ次元数が2であるときは、基礎データの縦軸と横軸に数値データを入力する。縦軸は、基礎データを線グラフ化したときの縦軸に相当し、出力する従属パラメータのパラメータ値である。横軸は、基礎データを線グラフ化したときの横軸に相当し、入力される主体パラメータのパラメータ値である。   When the number of data dimensions is 2, numerical data is input on the vertical and horizontal axes of the basic data. The vertical axis corresponds to the vertical axis when the basic data is converted into a line graph, and is the parameter value of the dependent parameter to be output. The horizontal axis corresponds to the horizontal axis when the basic data is converted into a line graph, and is the parameter value of the input main parameter.

データ次元数が3であるときは、基礎データの縦軸、横軸、系列に数値データを入力する。データ次元数が3であるときは、基礎データに理論的な相関関係を有する主体パラメータと従属パラメータとのパラメータ値の関係を変化させる条件になる中間パラメータが存在する場合であり、中間パラメータを系列として、中間パラメータのパラメータ値を系列に入力する。   When the number of data dimensions is 3, numerical data is input to the vertical axis, horizontal axis, and series of the basic data. When the number of data dimensions is 3, there is an intermediate parameter that becomes a condition for changing the parameter value relationship between the main parameter and the dependent parameter having a theoretical correlation with the basic data. As a result, the parameter value of the intermediate parameter is input to the series.

図2に、形彫放電加工におけるピーク電流値毎のオン時間に対する放電ギャップの相関関係を示す基礎データが表示画面上に表示されている状態が示されている。縦軸が従属パラメータである放電ギャップ、横軸が主体パラメータであるオン時間、系列が中間パラメータであるピーク電流値である。オン時間と放電ギャップは、オン時間が長くなるほど放電エネルギが大きくなるので放電ギャップが拡大するという理論に基づく相関関係を有する。また、ピーク電流値が高くなるほど放電エネルギが大きくなるのでオン時間が同じであっても放電ギャップが拡大するので、ピーク電流値は、オン時間と放電ギャップとのパラメータ値の関係を変化させる。   FIG. 2 shows a state in which basic data indicating the correlation of the discharge gap with respect to the ON time for each peak current value in the sculpting electric discharge machining is displayed on the display screen. The vertical axis represents the discharge gap as the dependent parameter, the horizontal axis represents the on-time as the main parameter, and the series represents the peak current value as the intermediate parameter. The on-time and the discharge gap have a correlation based on the theory that the discharge energy increases as the on-time increases, so that the discharge gap increases. In addition, since the discharge energy increases as the peak current value increases, the discharge gap expands even if the on-time is the same. Therefore, the peak current value changes the relationship between the parameter values of the on-time and the discharge gap.

次に、操作装置5を操作して加工条件生成装置の画面選択でグラフ生成画面ボタンをクリックして図3に示される基礎データのグラフ生成画面を表示装置4に表示させる。そして、グラフ生成画面に表示されている複数の近似式の候補の中から主体パラメータと従属パラメータとの理論的な相関関係に適する近似式を選択する。選択可能に候補として表示される近似式は、累乗近似、直線近似、対数近似、逆対数近似、指数近似、双曲線近似、平方根近似、立方根近似、幾何曲近似、直角双曲近似、変形累乗近似、有利関数近似、変形双曲近似、多項式近似、多変量解析などがある。   Next, the operation device 5 is operated, and the graph generation screen button shown in FIG. 3 is displayed on the display device 4 by clicking the graph generation screen button in the screen selection of the machining condition generation device. Then, an approximate expression suitable for the theoretical correlation between the main parameter and the dependent parameter is selected from a plurality of approximate expression candidates displayed on the graph generation screen. Approximate expressions that can be selected as candidates are power approximation, linear approximation, logarithmic approximation, inverse logarithmic approximation, exponential approximation, hyperbolic approximation, square root approximation, cube root approximation, geometric curvature approximation, right-angle hyperbolic approximation, modified power approximation, Advantage function approximation, modified hyperbolic approximation, polynomial approximation, multivariate analysis, etc.

近似式を選択して作成された基礎データは、近似式のデータを含んでいるので、代表的なデータが存在しないパラメータ値が与えられたときに、必ず主体パラメータのパラメータ値に対応する従属パラメータの理論値を所定の誤差の範囲で得ることができる。そして、このように理論に基づいて加工条件を決定していくので、膨大な数の加工条件の組合せを記録した加工条件データベースを予め準備しておく必要がない。そのため、テスト加工の数を減らすことができるとともに、加工結果のばらつきが小さい信頼性の高い加工条件の組合せを得ることができる利点を有する。   Since the basic data created by selecting the approximate expression includes the data of the approximate expression, when a parameter value for which no representative data exists is given, a dependent parameter corresponding to the parameter value of the main parameter is always used. Can be obtained within a predetermined error range. Since the machining conditions are determined based on the theory as described above, it is not necessary to prepare a machining condition database in which a huge number of machining condition combinations are recorded in advance. Therefore, the number of test processings can be reduced, and there is an advantage that a highly reliable combination of processing conditions with small variations in processing results can be obtained.

近似式が選択されているときは、近似グラフボタンをクリックすると、作成された基礎データを表示装置4にグラフ表示させることができる。中間パラメータが存在して系列を有する基礎データを線グラフ化したときは、図3に示されるように、中間パラメータ毎に線グラフが形成される。したがって、パラメータ値を入力した作業者は、基礎データが正しい理論に基づいて的確に基礎データが作成されているかどうかを容易に確認することができる利点がある。   When the approximate expression is selected, the created basic data can be displayed as a graph on the display device 4 by clicking the approximate graph button. When basic data having an intermediate parameter and having a series is converted into a line graph, a line graph is formed for each intermediate parameter as shown in FIG. Therefore, there is an advantage that the operator who has input the parameter value can easily confirm whether or not the basic data is accurately created based on the correct theory.

また、基礎データは単なる加工データの集積ではなく、理論的な相関関係を有する複数種類のパラメータのデータであるから、基礎データの内容を知ることによって加工に関する理論を知ることができる。特に、グラフ表示によって主体パラメータと従属パラメータ、および中間パラメータとの理論的な相関関係を視覚的に容易に理解することができ、加工に関する理論を知り知識を高めることができるので、加工技術が向上する利点がある。そして、熟練作業者が作成して修正を加えながら進化させた基礎データを他の作業者が利用することによって、熟練作業者の知識や経験がより効果的に伝えられるので、加工技術が継承される利点がある。   In addition, since the basic data is not a simple accumulation of machining data but data of a plurality of types of parameters having a theoretical correlation, the theory about machining can be known by knowing the contents of the basic data. In particular, the graph display makes it easy to visually understand the theoretical correlation between the main parameter, the dependent parameter, and the intermediate parameter, and it is possible to know the theory related to machining and enhance knowledge, so that machining technology is improved. There are advantages to doing. In addition, the knowledge and experience of skilled workers can be transmitted more effectively by other workers using the basic data created and modified by skilled workers. There are advantages.

作成された基礎データは、操作装置5を操作して任意にデータファイル名を付けてデータファイルとして第1の記憶装置2に記憶される。第1の記憶装置2に記憶された基礎データは、操作装置5を操作して演算装置4によって読み出され表示装置4に再び表示させることができる。また、操作装置5を操作して入力装置1から数値データを入力して、基礎データの数値を変更、削除、追加することができる。同様に操作装置5を操作して近似式を指定し直して変更することができ、変更された基礎データから新しい線グラフを生成することができる。   The created basic data is stored in the first storage device 2 as a data file by arbitrarily assigning a data file name by operating the operation device 5. The basic data stored in the first storage device 2 can be read by the arithmetic device 4 by operating the operation device 5 and displayed again on the display device 4. In addition, by operating the operation device 5 and inputting numerical data from the input device 1, the numerical values of the basic data can be changed, deleted, or added. Similarly, it is possible to change the approximate expression by operating the operating device 5 and change it, and a new line graph can be generated from the changed basic data.

このように、基礎データを適時読み出して表示させることによって、作業者がより容易にかつ的確に基礎データを修正することができ、作業効率が向上する。そして、作業者は、操作装置5を操作して基礎データを作成し、基礎データの内容を変更、追加、削除して編集することによって基礎データの精度を向上させ充実させて、加工技術の知識を広げたり、常に新しい優れた理論または熟練作業者の経験の蓄積で進歩する理論や知識に合わせて基礎データをより容易に進化させることができる利点がある。   In this way, by reading and displaying the basic data in a timely manner, the worker can correct the basic data more easily and accurately, and work efficiency is improved. Then, the operator operates the operation device 5 to create basic data, and changes, adds, deletes and edits the content of the basic data to improve and enhance the accuracy of the basic data. There is an advantage that the basic data can be more easily evolved in accordance with the theory and knowledge that is constantly advancing with the accumulation of new superior theories or accumulated experience of skilled workers.

加工条件を決定するプログラムを作成するときは、操作装置5を操作して加工条件生成装置の画面選択で図4に示される演算プロシージャの作成または修正画面を表示装置4に表示させる。そして、最初に決定するべき種類の加工条件のパラメータ値を求める演算プロシージャを作成する。最初に決定するべき種類の加工条件は、他の種類の加工条件を決定するときに与えられるパラメータ値として必要になる種類の加工条件である。実施の形態の加工条件生成装置では、最初に決定するべき種類の加工条件は、工具電極と被加工物との材質毎にファーストカットで取り得る複数のピーク電流値に対するオン時間である。   When creating a program for determining the machining conditions, the operation device 5 is operated to display the calculation procedure creation or correction screen shown in FIG. Then, a calculation procedure for obtaining parameter values of the types of machining conditions to be determined first is created. The type of machining condition to be determined first is a type of machining condition required as a parameter value given when another type of machining condition is determined. In the machining condition generating apparatus according to the embodiment, the type of machining condition to be determined first is the on-time for a plurality of peak current values that can be obtained by first cutting for each material of the tool electrode and the workpiece.

演算プロシージャは、複数の単位演算プログラムを関連付けて作成される。実施の形態の加工条件生成装置では、画面左側に配置されたブロック図形10の単位演算プログラムから画面右側に配置されたブロック図形10の単位演算プログラムに向かって順番に実行されるように定義されている。したがって、作業者は、操作装置5を操作して先に実行されるべき単位演算プログラムのブロック図形10と次に実行されるべき単位演算プログラムのブロック図形を表示画面上に画面左側から順番に配置して、先に実行されるべき単位演算プログラムのブロック図形10のパラメータ値を出力する出力部分13または演算アルゴリズムを指定する指定部分12とパラメータ値を取得する入力部分11とを接続線17で結合する。   The calculation procedure is created by associating a plurality of unit calculation programs. In the machining condition generating apparatus of the embodiment, the processing condition generator is defined to be executed in order from the unit arithmetic program of the block graphic 10 arranged on the left side of the screen toward the unit arithmetic program of the block graphic 10 arranged on the right side of the screen. Yes. Therefore, the operator operates the operation device 5 to place the block graphic 10 of the unit calculation program to be executed first and the block graphic of the unit calculation program to be executed next on the display screen in order from the left side of the screen. Then, the output part 13 for outputting the parameter value of the block graphic 10 of the unit arithmetic program to be executed first or the specifying part 12 for specifying the arithmetic algorithm and the input part 11 for acquiring the parameter value are connected by the connecting line 17. To do.

単位演算プログラムのブロック図形10は、演算アルゴリズムによって大きく3種類に分類される。基本的な第1の種類の単位演算プログラムは、演算アルゴリズムが第1の記憶装置2に記憶された基礎データである場合であり、図4に示されるように、基本のブロック図形10(A)で示される。第2の種類の単位演算プログラムは、演算アルゴリズムが関数式または関数プログラムである場合であり、ブロック図形10(E)で示される。第3の種類の単位演算プログラムは、演算アルゴリズムが予め定められた近似法であって求める近似解が値に対する解、交点または最大値を求めるものである場合であり、ブロック図形10(C)で示される。   The block graphic 10 of the unit calculation program is roughly classified into three types according to the calculation algorithm. The basic first type unit operation program is a case where the operation algorithm is basic data stored in the first storage device 2, and as shown in FIG. 4, a basic block graphic 10 (A). Indicated by The second type of unit operation program is a case where the operation algorithm is a function expression or a function program, and is indicated by a block graphic 10 (E). The third type of unit calculation program is a case where the calculation algorithm is a predetermined approximation method, and the approximate solution to be calculated is a solution for the value, an intersection, or a maximum value. Indicated.

単位演算プログラムのブロック図形10を表示装置4の表示画面上に配置するときは、操作装置5を操作して単位演算プログラム選択ボタン群80の配置したい単位演算プログラムの種類(基礎データ、関数、y値に対するx解、交点、最大値)をクリックして、配置したい場所にポインタを移動させてクリックする。また、例えば、表示されたブロック図形10をクリックすると、ブロック図形10の表示色が黒色から赤色に変更されて操作可能な状態(アクティブ)になるので、アクティブのブロック図形10をクリックしたまま移動すると、表示されているブロック図形10を任意の位置に移動することができる。   When the block graphic 10 of the unit calculation program is arranged on the display screen of the display device 4, the type (unit data, function, y) of the unit calculation program to be arranged by operating the operation device 5 and the unit calculation program selection button group 80 is arranged. Click x solution, intersection, maximum value), move the pointer to the place you want to place, and click. Further, for example, when the displayed block graphic 10 is clicked, the display color of the block graphic 10 is changed from black to red so that it can be operated (active). The displayed block graphic 10 can be moved to an arbitrary position.

第1の種類の単位演算プログラムを作成するときは、操作装置5を操作して単位演算プログラム選択ボタン群80の基礎データのボタンをクリックし、表示画面上の任意の位置に基本のブロック図形10(A)を配置する。図5に示されるような表示画面上に配置されたブロック図形10(A)の演算アルゴリズムを指定する指定部分12をダブルクリックすると、図5の下側に示されるように、第1の記憶装置2に記憶され登録されている基礎データ一覧の画面がウィンドウ表示される。   When creating the first type of unit calculation program, the controller 5 is operated to click the basic data button of the unit calculation program selection button group 80, and the basic block graphic 10 is placed at an arbitrary position on the display screen. (A) is arranged. When the designation portion 12 that designates the operation algorithm of the block graphic 10 (A) arranged on the display screen as shown in FIG. 5 is double-clicked, as shown in the lower side of FIG. The basic data list screen stored and registered in 2 is displayed in a window.

既に作成されて第1の記憶装置2に記憶されることで登録されている基礎データの中から演算アルゴリズムに使用する基礎データが選択されると、図4に示されるようなブロック図形10(A)の指定部分12に基礎データのデータファイル名が表示される。同時に、演算装置6は、選択された基礎データを解析して、主体パラメータ、従属パラメータ、中間パラメータを探索する。探索の結果、中間パラメータが存在しないときは、入力するパラメータの名称が入力部分11に表示され、出力するパラメータの名称が出力部分13に自動的に表示される。また、中間パラメータが存在するときは、表示されている基本のブロック図形10(A)が変形されて図4に示されるブロック図形10(B)のように系列部分14が拡張して表示され、中間パラメータの名称が系列部分14に自動的に表示される。   When basic data to be used for the calculation algorithm is selected from basic data that has already been created and stored in the first storage device 2, a block graphic 10 (A The data file name of the basic data is displayed in the designation portion 12). At the same time, the arithmetic unit 6 analyzes the selected basic data and searches for the main parameter, the dependent parameter, and the intermediate parameter. As a result of the search, when there is no intermediate parameter, the name of the parameter to be input is displayed on the input portion 11, and the name of the parameter to be output is automatically displayed on the output portion 13. When the intermediate parameter exists, the displayed basic block graphic 10 (A) is deformed and the series part 14 is expanded and displayed like the block graphic 10 (B) shown in FIG. The name of the intermediate parameter is automatically displayed in the series part 14.

第2の種類の単位演算プログラムを作成するときは、操作装置5を操作して単位演算プログラム選択ボタン群80の関数のボタンをクリックし、表示画面上の任意の位置にブロック図形10(E)を配置する。図6に示されるような表示画面上に配置されたブロック図形10(E)の演算アルゴリズムを指定する指定部分12をダブルクリックすると、図6の下側に示されるように、関数式または関数プログラムを作成する画面(関数プロパティ)がウィンドウ表示される。   When creating the second type of unit operation program, the operation device 5 is operated to click the function button of the unit operation program selection button group 80, and the block graphic 10 (E) is placed at an arbitrary position on the display screen. Place. When a designation portion 12 for designating an operation algorithm of the block graphic 10 (E) arranged on the display screen as shown in FIG. 6 is double-clicked, as shown in the lower side of FIG. A window (function properties) for creating a window is displayed.

関数式は、数学で広く使用されている演算子と変数符号で記述される。関数プログラムは、図6に示されるように、数式だけでは表現できない関数演算を実行する。関数プログラムは、比較的簡単なプログラム言語で作成される。簡単なプログラム言語は、例えば、C言語のような高度なプログラム言語のようにアプリケーションプログラムを作成することはできないが、簡単な演算を実行する程度の関数プログラムを作成することができる。そのため、作業者にとっては、高度な専門的なコンピュータプログラミングの知識が不要である利点がある。   A function expression is described with operators and variable signs widely used in mathematics. As shown in FIG. 6, the function program executes a function operation that cannot be expressed by a mathematical expression alone. A function program is created in a relatively simple programming language. For example, a simple program language cannot create an application program like an advanced program language such as C language, but can create a function program that performs simple calculations. Therefore, there is an advantage for the operator that highly specialized computer programming knowledge is unnecessary.

具体的に、関数プログラムを作成する簡単なプログラム言語は、図6に示されるような広く知られているビジュアルベーシックが採用される。関数演算は、ビジュアルベーシックの規定に従う演算子、変数符号、命令(ステートメント)を使用して表現される必要があるが、演算子と変数符号の殆んどが数学で広く使用されている演算子と変数符号である。また、基本的な命令文は一般の言語に近似しているとともに、ビルダと称される支援ツールを利用して演算子、変数符号、ステートメント、あるいは例文を読み出してプログラムを記述することができる。   Specifically, a well-known visual basic as shown in FIG. 6 is adopted as a simple programming language for creating a function program. Functional operations must be expressed using operators, variable signs, and instructions (statements) that conform to Visual Basic rules, but most of operators and variable signs are operators widely used in mathematics. And the variable sign. The basic command sentence is similar to a general language, and a program can be described by reading an operator, a variable code, a statement, or an example sentence using a support tool called a builder.

関数式または関数プログラムを作成して定義した後に、関数式または関数プログラムに任意の関数名を付けて入力する。そして、操作装置5を操作してOKボタンをクリックすると、作成した関数が演算単位プログラムのデータの一部分として記憶され保存される。関数を保存して登録すると、図4に示されるようなブロック図形10(E)の指定部分12に登録された関数名が表示されるとともに、入力部分11と出力部分13に関数のパラメータ(変数符号)が表示される。   After creating and defining a function expression or function program, enter the function expression or function program with an arbitrary function name. When the operation device 5 is operated and the OK button is clicked, the created function is stored and stored as part of the data of the operation unit program. When the function is saved and registered, the function name registered in the designated portion 12 of the block graphic 10 (E) as shown in FIG. 4 is displayed, and the function parameters (variables) are displayed in the input portion 11 and the output portion 13. Sign) is displayed.

第3の種類の単位演算プログラムを作成するときは、操作装置5を操作して単位演算プログラム選択ボタン群80の求める近似解のボタンをクリックし、表示画面上の任意の位置にブロック図形10(C)を配置する。実施の形態の加工条件生成装置では、演算アルゴリズムである近似法は予め二等分割法に定義されており、求めることができる近似解の種類は、y値に対するx解、交点または最大値に決められている。したがって、y値に対するx解を選択するときはY>=Xのボタンをクリックし、交点を選択するときは交点のボタンをクリックし、最大値を選択するときは頂点のボタンをクリックする。   When creating the third type of unit calculation program, the controller 5 is operated to click the approximate solution button to be obtained by the unit calculation program selection button group 80, and the block graphic 10 ( C) is arranged. In the machining condition generation apparatus of the embodiment, the approximation method that is an arithmetic algorithm is defined in advance as a bisection method, and the type of approximate solution that can be obtained is determined as an x solution, an intersection, or a maximum value with respect to the y value. It has been. Therefore, when selecting the x solution for the y value, click the button of Y> = X, click the intersection button to select the intersection, and click the vertex button to select the maximum value.

二等分割法によって近似解を求める単位演算プログラムのブロック図形10(C)は、図4および図7に示されるように、入力される主体パラメータのパラメータ値を取得する第1の入力部分11と、演算アルゴリズムを指定する指定部分12と、入力するパラメータと出力するパラメータとの理論的な相関関係を示す基礎データ、関数式または関数プログラム(以下、連続するパラメータ値を示す関数と総称する)に従って得られる連続するパラメータ値y=f(x)を取得する第2の入力部分15と、任意の演算初期値を入力する入力部分16と、出力される従属パラメータのパラメータ値である近似解を出力する出力部分13を有する。   As shown in FIGS. 4 and 7, a block diagram 10 (C) of a unit calculation program for obtaining an approximate solution by the bisection method includes a first input portion 11 for acquiring a parameter value of an input main parameter, and In accordance with basic data, a function expression or a function program (hereinafter collectively referred to as a function indicating a continuous parameter value) indicating a theoretical correlation between a specification portion 12 for specifying an arithmetic algorithm and an input parameter and an output parameter A second input part 15 for obtaining the obtained continuous parameter value y = f (x), an input part 16 for inputting an arbitrary calculation initial value, and an approximate solution that is a parameter value of the output dependent parameter is output. Output portion 13 to be output.

演算アルゴリズムは、二等分割法に定義されているので、演算アルゴリズムを指定する指定部分12には、求める近似解の種類が表示される。図7に示されるブロック図形10(C)の場合、求める近似解の種類としてY>=X(y値に対するx解)が表示されている。   Since the calculation algorithm is defined by the bisection method, the type of approximate solution to be obtained is displayed in the designation portion 12 for specifying the calculation algorithm. In the case of the block graphic 10 (C) shown in FIG. 7, Y> = X (x solution for y value) is displayed as the type of approximate solution to be obtained.

近似解を求めるための基礎となる連続するパラメータ値を示す関数は、第1の記憶装置2に記憶されている基礎データから選択的に指定するか、関数式または関数プログラムを作成する画面で関数式または関数プログラムを作成して登録する。また、他の単位演算プログラムの演算アルゴリズムに指定された基礎データ、関数または関数プログラムを引用することができる。   A function indicating a continuous parameter value that is a basis for obtaining an approximate solution is selectively specified from basic data stored in the first storage device 2, or a function is displayed on a screen for creating a function expression or a function program. Create and register an expression or function program. In addition, basic data, a function, or a function program specified in an operation algorithm of another unit operation program can be cited.

他の単位演算プログラムの演算アルゴリズムに指定された基礎データ、関数または関数プログラムを引用して連続するパラメータ値を示す関数を指定する場合は、操作装置5を操作して他のブロック図形10(A)またはブロック図形10(B)の演算アルゴリズムを指定する指定部分12の右端をクリックして連続するパラメータ値を示す関数を指定している状態で、図7に示されるブロック図形10(C)の連続するパラメータ値を取得する入力部分15まで接続線17を引いて、2つの単位演算プログラムを結合させる。   In the case of designating a basic data, a function or a function program indicating a continuous parameter value specified by an arithmetic algorithm of another unit arithmetic program, the controller 5 is operated to operate another block graphic 10 (A ) Or the state of the block graphic 10 (C) shown in FIG. 7 in the state in which the function indicating the continuous parameter value is specified by clicking the right end of the designating portion 12 designating the operation algorithm of the block graphic 10 (B). The connection line 17 is drawn to the input portion 15 for acquiring the continuous parameter value, and the two unit calculation programs are combined.

連続するパラメータ値を示す関数が指定されると、演算装置6は、指定された連続するパラメータ値を示す関数を解析して、求める近似解のパラメータを探索する。そして、求める近似解のパラメータの名称が近似解の出力部分13に自動的に表示される。   When a function indicating a continuous parameter value is specified, the arithmetic unit 6 analyzes the function indicating the specified continuous parameter value and searches for a parameter of an approximate solution to be obtained. The name of the approximate solution parameter to be obtained is automatically displayed in the output portion 13 of the approximate solution.

二等分割法で近似解を計算するためには、求める近似解が間に存在し得る大小の演算初期値が必要である。演算初期値を入力する場合は、操作装置5を操作して演算アルゴリズムを指定する指定部分12をダブルクリックすると、図7の下側に示されるように、演算初期値を与える画面がウィンドウ表示されるので、求めるy値に対するx解、交点または最大値における近似解が大小の演算初期値の間に存在しかつ演算に要する時間が可能な限り短くなるような適当な演算初期値を予測して入力する。   In order to calculate an approximate solution by the bisection method, large and small calculation initial values that can exist between the obtained approximate solutions are required. When inputting the calculation initial value, when the operation unit 5 is operated to double-click the designation portion 12 for specifying the calculation algorithm, a window for giving the calculation initial value is displayed in a window as shown in the lower part of FIG. Therefore, an appropriate calculation initial value is estimated such that an x solution for the y value to be obtained, an approximate solution at the intersection or maximum value exists between the large and small calculation initial values, and the time required for the calculation is as short as possible. input.

複数の単位演算プログラムを結合して関連付けるときは、先に実行されるブロック図形10の出力部分13をクリックしながら次に実行される単位演算プログラムの入力部分11まで接続線17を引いてクリックを解除する。接続線17によってブロック図形10同士が結合すると、実際の単位演算プログラムが実行する順番に関連付けられる。ブロック図形10の中で最後に結合されている単位演算プログラムのブロック図形10(D)の出力部分と演算プロシージャの終了を実行するエンドプログラムを示すブロック図形30とを接続線17で結合すると、1つの演算プロシージャ20が形成される。   When combining and associating a plurality of unit operation programs, click the output line 13 of the block graphic 10 to be executed first and then click the connection line 17 to the input part 11 of the unit operation program to be executed next. To release. When the block graphics 10 are connected to each other by the connection line 17, they are associated in the order in which the actual unit calculation program is executed. When the output part of the block graphic 10 (D) of the unit arithmetic program connected last in the block graphic 10 and the block graphic 30 indicating the end program for executing the end of the arithmetic procedure are connected by the connection line 17, 1 Two arithmetic procedures 20 are formed.

エンドプログラムのブロック図形30に表記される番号は、演算プロシージャを実行する順番を決定する。したがって、操作装置5を操作して表示装置4の表示画面上でブロック図形30を配置してブロック図形10(D)と結合することで、複数の演算プロシージャが所定の順番で実行されるように関連付けられる。   The number written in the block graphic 30 of the end program determines the order in which the arithmetic procedures are executed. Therefore, by operating the operation device 5 and arranging the block graphic 30 on the display screen of the display device 4 and combining it with the block graphic 10 (D), a plurality of calculation procedures are executed in a predetermined order. Associated.

実施の形態の加工条件生成装置においては、演算プログラムユニットの単位で第1の記憶装置2に加工条件自動生成プログラムのサブプログラムとして記録することができるようにされている。複数の演算プロシージャは、エンドプログラムの番号の順番で実行されるように関連付けられているので、演算プログラムユニットに任意のデータファイル名を付けて第1の記憶装置2に記憶させるだけで、複数の演算プロシージャを予め定義された所定の順番で実行されるように関連付けられた状態で保存される。   In the machining condition generation device according to the embodiment, the first storage device 2 can be recorded as a subprogram of the machining condition automatic generation program in units of arithmetic program units. Since the plurality of arithmetic procedures are associated so as to be executed in the order of the numbers of the end programs, a plurality of arithmetic procedures are simply stored in the first storage device 2 with arbitrary data file names assigned to the arithmetic program units. Arithmetic procedures are stored in an associated state so as to be executed in a predetermined order.

実施の形態の加工条件生成装置は、複数の演算プログラムユニットを1つのプロジェクトプログラムとしてデータファイル名を付けて第1の記憶装置2に記憶させることができる。プロジェクトプログラムは、1つの加工条件自動生成プログラムのメインプログラムである。演算装置6は、作業者が操作装置5を操作して複数の演算プログラムユニットを第1の記憶装置2に記憶させるときに、複数の演算プログラムユニットがツリー形式で関連付けられるように記憶させる。   The machining condition generation apparatus of the embodiment can store a plurality of operation program units in the first storage device 2 with a data file name as one project program. The project program is the main program of one machining condition automatic generation program. When the operator operates the operation device 5 to store a plurality of operation program units in the first storage device 2, the operation device 6 stores the plurality of operation program units so as to be associated in a tree format.

ツリー形式で関連付けられて記憶された複数の演算プログラムユニットは、ツリー形式で表示装置4の表示画面上の表示領域70に表示される。表示されたツリーの上側の演算プログラムユニットから順番に実行されるようにアプリケーションプログラム予め定義されているので、プロジェクトプログラムが起動され実行されるときは、ツリー形式で予め定められた順番で演算プログラムユニットが実行される。   A plurality of operation program units associated and stored in a tree format are displayed in the display area 70 on the display screen of the display device 4 in a tree format. Since application programs are pre-defined so that they are executed in order from the arithmetic program unit on the upper side of the displayed tree, when the project program is started and executed, the arithmetic program units are arranged in a predetermined order in a tree format. Is executed.

演算プロシージャを修正するときは、表示装置4の表示画面の表示領域70に表示されている修正したい演算プロシージャを含む演算プログラムユニットをクリックすることで第1の記憶装置2から修正したい演算プログラムユニットを読み出して、図4に示される表示画面に表示させる。そして、操作装置5を操作して単位演算プログラムのブロック図形10同士の結合を変更し、ブロック図形10をアクティブにして削除し、演算アルゴリズムを変更し、あるいはブロック図形10を新しく作成して追加する。   When correcting the calculation procedure, the calculation program unit to be corrected is selected from the first storage device 2 by clicking the calculation program unit including the calculation procedure to be corrected displayed in the display area 70 of the display screen of the display device 4. The data is read out and displayed on the display screen shown in FIG. Then, the operation device 5 is operated to change the connection between the block graphics 10 of the unit calculation program, to activate and delete the block graphics 10, to change the calculation algorithm, or to create and add a new block graphic 10. .

表示装置4の表示画面を加工条件の組合せを生成する画面に切り換えると、図示しない1種類以上の加工要求を入力する表示画面が表示される。作業者が入力することを要求されている1種類以上の加工要求のパラメータ値を順次入力してから加工条件の組合せを生成するプログラムを実行させると、演算装置6は、所定のプロジェクトプログラムを第1の記憶装置2から読み込んで実行する。   When the display screen of the display device 4 is switched to a screen for generating a combination of processing conditions, a display screen for inputting one or more types of processing requests (not shown) is displayed. When a program for generating a combination of machining conditions is executed after sequentially inputting parameter values of one or more types of machining requests that the operator is required to input, the arithmetic unit 6 executes a predetermined project program. 1 from the storage device 2 is executed.

演算装置6は、プロジェクトプログラムを解読して実行し、最初にツリー形式で予め定義されている上位の演算プログラムユニットに含まれるエンドプログラムの番号が最も小さい最初の演算プロシージャを実行する。したがって、最初に加工条件を決定するプロセスで最初に与えられるパラメータ値に対応して演算プロシージャに従って複数の単位演算プログラムを関連付けられた順番で実行して、加工条件のパラメータ値を演算して出力する。そして、エンドプログラムの番号で予め定義された所定の順番で次々と演算プロシージャを実行させて複数種類の加工条件のパラメータ値を順次決定する。   The arithmetic device 6 decodes and executes the project program, and first executes the first arithmetic procedure having the smallest end program number included in the upper arithmetic program unit defined in advance in a tree format. Therefore, a plurality of unit operation programs are executed in the associated order according to the operation procedure corresponding to the parameter value initially given in the process of determining the machining condition first, and the parameter value of the machining condition is calculated and output. . Then, the calculation procedures are sequentially executed in a predetermined order defined by the numbers of the end programs, and parameter values for a plurality of types of machining conditions are sequentially determined.

求められた加工条件のパラメータ値は、演算プロシージャが終了するときに第2の記憶装置3に記憶される。全ての演算プロシージャが終了して演算プログラムユニットの実行が完了すると、複数の演算プロシージャが実行される毎に第2の記憶装置3に順次記憶された複数種類の加工条件のパラメータ値が結合されて加工条件の組合せが生成される。生成された加工条件の組合せは、加工条件番号が付されて第2の記憶装置3に一旦記憶される。   The obtained parameter value of the machining condition is stored in the second storage device 3 when the calculation procedure is finished. When all the calculation procedures are completed and the execution of the calculation program unit is completed, parameter values of a plurality of types of machining conditions sequentially stored in the second storage device 3 are combined each time a plurality of calculation procedures are executed. A combination of processing conditions is generated. The generated combination of machining conditions is assigned a machining condition number and temporarily stored in the second storage device 3.

加工の種類によって、1つの加工における複数の加工工程毎に加工条件の組合せを設定することがある。このような場合は、それぞれの加工工程毎に加工条件の組合せを生成する演算プログラムユニットが作成されている。複数の演算プログラムユニットで複数の加工条件の組合せを生成するプログラムが構成されている場合は、演算装置6は、複数の演算プログラムユニットをツリー形式で予め定義された順番に実行して各加工工程における加工条件の組合せを順番に生成して加工条件番号を付して第2の記憶装置3に記憶させる。   Depending on the type of processing, a combination of processing conditions may be set for each of a plurality of processing steps in one processing. In such a case, a calculation program unit that generates a combination of machining conditions for each machining process is created. When a program for generating a combination of a plurality of machining conditions is configured by a plurality of arithmetic program units, the arithmetic device 6 executes the plurality of arithmetic program units in a tree order in a predetermined order and performs each machining step. The processing condition combinations are sequentially generated, and processing condition numbers are assigned and stored in the second storage device 3.

表示装置4の表示画面の表示領域70にフォルダ形式で表示されている複数の演算プログラムユニットのデータファイル名を指定して起動することによって、必要に応じて任意に1つの演算プログラムユニットを第1の記憶装置2から読み出して単独で実行させることができる。単独で実行させたときに生成される加工条件の組合せは、第2の記憶装置3に一時的に記憶され、適時表示装置4に表示させることができる。   By specifying and starting data file names of a plurality of operation program units displayed in the folder format in the display area 70 of the display screen of the display device 4, one operation program unit can be arbitrarily set as the first as required. Can be read out from the storage device 2 and executed alone. A combination of processing conditions generated when executed alone is temporarily stored in the second storage device 3 and can be displayed on the display device 4 in a timely manner.

NCプログラムに加工条件の組合せを記述するときは、加工条件の組合せを生成するプログラムを実行させて生成され第2の記憶装置3に一旦記憶されている加工条件の組合せを抽出して、加工条件番号を含む加工条件の組合せのデータをNCプログラムの形式で所定の位置に記述してNCプログラムと共に保存する。   When a combination of machining conditions is described in the NC program, a combination of machining conditions generated by executing a program for generating a combination of machining conditions and temporarily stored in the second storage device 3 is extracted. Data of the combination of machining conditions including numbers is described at a predetermined position in the form of an NC program and saved together with the NC program.

既に加工条件データベースが存在する場合は、プロジェクトプログラムあるいは演算プログラムユニットを実行することによって生成されて第2の記憶装置3に記憶されている加工条件番号が付された1組以上の加工条件の組合せは、加工条件番号と共に第1の記憶装置2に記憶されている加工条件データベースに追加して記憶させることができる。そのため、テスト加工を行なうことなく、加工条件データベースを拡充することができる利点がある。   If a machining condition database already exists, a combination of one or more machining conditions that are generated by executing a project program or an arithmetic program unit and are assigned a machining condition number stored in the second storage device 3 Can be stored in addition to the machining condition database stored in the first storage device 2 together with the machining condition number. Therefore, there is an advantage that the processing condition database can be expanded without performing test processing.

本発明の加工条件生成装置は、以上に説明され図示される実施の形態の加工条件生成装置と同一の構成に限定されず、本発明の目的と効果を逸脱しない範囲で種々の変形と応用が可能である。例えば、操作装置は、キーボードやマウスに限定されず、キーパッドや液晶ディスプレイ上のタッチパネルであってよい。また、発明の詳細な説明における特定の用語で示される部品、部材、データ、パラメータに限定されることなく、実質的に同一の意味を有する部品と部材を含む。   The machining condition generation apparatus of the present invention is not limited to the same configuration as the machining condition generation apparatus of the embodiment described and illustrated above, and various modifications and applications can be made without departing from the object and effect of the present invention. Is possible. For example, the operating device is not limited to a keyboard or a mouse, but may be a keypad or a touch panel on a liquid crystal display. In addition, the present invention includes parts and members having substantially the same meaning without being limited to parts, members, data, and parameters indicated by specific terms in the detailed description of the invention.

本発明の加工条件生成装置は、切削加工、研削加工、旋削加工、研磨加工、放電加工、ウォータジェット加工のような加工機械に利用される。本発明は、作業効率を向上させるとともに加工技術を向上させる。そして、加工条件生成装置が速やかに改良され加工技術の進歩に追従し、加工技術が継承されて加工機械を操作する作業者を育成し、加工業界の発展に寄与する。   The processing condition generating apparatus of the present invention is used in processing machines such as cutting, grinding, turning, polishing, electric discharge, and water jet processing. The present invention improves working efficiency and improves processing technology. Then, the machining condition generation device is quickly improved to follow the progress of machining technology, and the machining technology is inherited to train workers who operate the machining machine, thereby contributing to the development of the machining industry.

本発明の加工条件生成装置の構成を示すブロック図である。It is a block diagram which shows the structure of the processing condition production | generation apparatus of this invention. 本発明の加工条件生成装置における基礎データを表示装置に表形式で表示する表示状態を示す表示画面の平面図である。It is a top view of the display screen which shows the display state which displays the basic data in the process condition production | generation apparatus of this invention on a display apparatus in a table | surface form. 本発明の加工条件生成装置における基礎データを表示装置にグラフィック表示する表示状態を示す表示画面の平面図である。It is a top view of the display screen which shows the display state which displays the basic data in the display apparatus graphically in the processing condition production | generation apparatus of this invention. 本発明の加工条件生成装置における演算プログラムユニットの構成を表示装置に図形化して表示する表示状態を示す表示画面の平面図である。It is a top view of the display screen which shows the display state which displays the structure of the arithmetic program unit in the processing condition production | generation apparatus of this invention as a figure on a display apparatus. 演算に使用する所定の演算方法が基礎データである図形化された単位演算プログラムを示す表示画面の平面図である。It is a top view of the display screen which shows the figured unit calculation program whose predetermined calculation method used for a calculation is basic data. 演算に使用する所定の演算方法が予め作成された関数である図形化された単位演算プログラムを示す表示画面の平面図である。It is a top view of the display screen which shows the figured unit calculation program whose predetermined calculation method used for a calculation is a function created beforehand. 演算に使用する所定の演算方法が予め定められた近似法である図形化された単位演算プログラムを示す表示画面の平面図である。It is a top view of the display screen which shows the figured unit calculation program whose predetermined calculation method used for a calculation is a predetermined approximation method.

符号の説明Explanation of symbols

1 入力装置
2 第1の記憶装置
3 第2の記憶装置
4 表示装置
5 操作装置
6 演算装置
10 単位演算プログラムブロック図形
20 演算プロシージャブロックダイヤグラム
30 エンドプログラムブロック図形
40 スクロールバー
80 単位演算プログラム選択ボタン群
DESCRIPTION OF SYMBOLS 1 Input device 2 1st memory | storage device 3 2nd memory | storage device 4 Display device 5 Operating device 6 Arithmetic device 10 Unit arithmetic program block figure 20 Arithmetic procedure block diagram 30 End program block figure 40 Scroll bar 80 Unit arithmetic program selection button group

Claims (21)

予め指定または作成された演算アルゴリズムに従って入力されるパラメータ値に対応するパラメータ値を演算して出力する単位演算プログラムと複数の前記単位演算プログラムが関連付けられてなり加工条件のパラメータ値を出力する演算プロシージャとを図形化して表示する表示装置と、前記表示装置の表示画面上で1つ以上の前記図形化された単位演算プログラムを作成または修正して前記複数の単位演算プログラムを任意に結合して関連付けて1つ以上の前記演算プロシージャを作成または修正するように操作可能な操作装置と、前記操作装置で作成または修正された前記演算プロシージャを記憶する記憶装置と、を有する加工条件生成装置。 A calculation procedure in which a unit calculation program for calculating and outputting a parameter value corresponding to a parameter value input in accordance with a calculation algorithm designated or created in advance and a plurality of the unit calculation programs are associated with each other and outputting a parameter value of a machining condition And a display device that displays the data in a graphic form and one or more of the figured unit operation programs created or modified on the display screen of the display device to arbitrarily associate and associate the plurality of unit operation programs A processing condition generation apparatus comprising: an operation device operable to create or modify one or more of the calculation procedures; and a storage device that stores the calculation procedure created or corrected by the operation device. 前記演算アルゴリズムは、理論的な相関関係を有する複数種類のパラメータのデータである基礎データ、関数式、関数プログラム、または近似法の何れかであることを特徴とする請求項1に記載の加工条件生成装置。 The processing condition according to claim 1, wherein the calculation algorithm is any one of basic data, a function expression, a function program, or an approximation method that is data of a plurality of types of parameters having a theoretical correlation. Generator. 前記複数種類のパラメータは、加工条件または加工における制約を示すパラメータとして加工条件を決定する上で初期に要求される加工に関する情報として与えられる加工要求を含むことを特徴とする請求項2に記載の加工条件生成装置。 The plurality of types of parameters include a processing request given as information on processing required initially in determining the processing conditions as parameters indicating processing conditions or processing constraints. Processing condition generator. 前記基礎データは、前記複数種類のパラメータのサンプルデータを含む代表的なデータの集積であることを特徴とする請求項2に記載の加工条件生成装置。 3. The machining condition generation apparatus according to claim 2, wherein the basic data is a collection of representative data including sample data of the plurality of types of parameters. 前記基礎データは、前記代表的なデータを集積して理論的な相関関係を有する前記複数種類のパラメータの連続するパラメータ値のデータとして表わす近似式のデータを含むことを特徴とする請求項4に記載の加工条件生成装置。 5. The basic data includes data of an approximate expression expressed as data of continuous parameter values of the plurality of types of parameters having a theoretical correlation by aggregating the representative data. The processing condition generation device described. 前記基礎データは、一方のパラメータの代表的なパラメータ値または所定の範囲のパラメータ値に1対1で対応する前記一方のパラメータと理論的な相関関係を有する他方のパラメータの代表的なパラメータ値または所定の範囲のパラメータ値でなるデータの集積であることを特徴とする請求項4に記載の加工条件生成装置。 The basic data includes a representative parameter value of one parameter or a representative parameter value of the other parameter having a one-to-one correspondence with the one parameter corresponding to a predetermined range of parameter values, or 5. The machining condition generation apparatus according to claim 4, wherein the machining condition generation apparatus is an accumulation of data including parameter values within a predetermined range. 前記表示装置は、前記基礎データにおける複数種類のパラメータのパラメータ値をグラフ表示することを特徴とする請求項2に記載の加工条件生成装置。 The processing condition generating apparatus according to claim 2, wherein the display device graphically displays parameter values of a plurality of types of parameters in the basic data. 前記操作装置は、作業者が前記表示装置の表示画面上で前記基礎データを生成して前記記憶装置に記憶させるように操作可能であることを特徴とする請求項2に記載の加工条件生成装置。 3. The processing condition generation device according to claim 2, wherein the operation device is operable so that an operator generates the basic data on the display screen of the display device and stores the basic data in the storage device. . 前記操作装置は、作業者が前記表示装置の表示画面上で前記記憶装置に記憶された前記基礎データの内容を変更、削除または追加して変更、削除または削除された前記基礎データを前記記憶装置に記憶させるように操作可能であることを特徴とする請求項8に記載の加工条件生成装置。 The operation device is configured to store the basic data changed, deleted, or deleted by an operator changing, deleting, or adding the content of the basic data stored in the storage device on the display screen of the display device. The machining condition generation device according to claim 8, wherein the machining condition generation device is operable to store the machining condition. 前記操作装置は、前記基礎データに含まれる近似式のデータを前記表示装置の表示画面上で複数種類の近似式の候補の中から選択して設定するように操作可能であることを特徴とする請求項5に記載の加工条件生成装置。 The operation device is operable to select and set approximate expression data included in the basic data from a plurality of types of approximate expression candidates on a display screen of the display device. The processing condition production | generation apparatus of Claim 5. 前記操作装置は、作業者が前記表示装置の表示画面上で1以上の前記図形化された単位演算プログラムを任意に配置するように操作可能であることを特徴とする請求項1に記載の加工条件生成装置。 2. The processing according to claim 1, wherein the operation device is operable so that an operator arbitrarily arranges one or more of the figured unit operation programs on a display screen of the display device. Condition generator. 前記操作装置は、作業者が前記表示装置の表示画面上で前記図形化された単位演算プログラムの前記演算アルゴリズムを指定または作成して設定するように操作可能であることを特徴とする請求項1に記載の加工条件生成装置。 The operation device is operable so that an operator can designate or create and set the calculation algorithm of the graphic unit calculation program on a display screen of the display device. The processing condition generation device described in 1. 前記操作装置は、作業者が前記表示装置の表示画面上で複数の前記演算プロシージャを予め定義された順番で実行されるように関連付けて記憶装置に記憶させるように操作可能であることを特徴とする請求項1に記載の加工条件生成装置。 The operation device is operable so that an operator can store a plurality of the calculation procedures on a display screen of the display device in association with each other so that the calculation procedures are executed in a predefined order and stored in a storage device. The processing condition generator according to claim 1. 前記操作装置は、複数の前記演算プロシージャが予め定義された順番で実行されるように関連付けられてなる演算プログラムユニットを記憶装置に記憶させるように操作可能であることを特徴とする請求項13に記載の加工条件生成装置。 14. The operation device is operable to store a calculation program unit associated with a plurality of the calculation procedures so that the calculation procedures are executed in a predetermined order in a storage device. The processing condition generation device described. 前記図形化された単位演算プログラムはブロック図形であり、前記図形化された演算プロシージャは前記単位演算プログラムのブロック図形が任意に結合して関連付けられたブロックダイヤグラムであることを特徴とする請求項1に記載の加工条件生成装置。 2. The figured unit operation program is a block figure, and the figured operation procedure is a block diagram in which block figures of the unit operation program are arbitrarily combined and associated. The processing condition generation device described in 1. 前記単位演算プログラムのブロック図形は、少なくとも前記入力されるパラメータ値を取得する入力部分と前記演算アルゴリズムを指定する指定部分と前記演算されたパラメータ値を出力する出力部分とを有することを特徴とする請求項15に記載の加工条件生成装置。 The block diagram of the unit calculation program has at least an input part for acquiring the input parameter value, a designation part for specifying the calculation algorithm, and an output part for outputting the calculated parameter value. The processing condition production | generation apparatus of Claim 15. 理論的な相関関係を有する入力されるパラメータと出力されるパラメータとのパラメータ値の関係を変化させる条件である中間パラメータが存在する場合は、前記単位演算プログラムのブロック図形は、前記中間パラメータを系列として前記中間パラメータを表示する系列部分を有することを特徴とする請求項16に記載の加工条件生成装置。 When there is an intermediate parameter that is a condition for changing the relationship between the parameter value of the input parameter having the theoretical correlation and the output parameter, the block diagram of the unit calculation program uses the intermediate parameter as a sequence. The machining condition generation apparatus according to claim 16, further comprising: a series part that displays the intermediate parameter as 前記演算アルゴリズムが近似法の二等分割法である場合は、前記単位演算プログラムのブロック図形は、前記入力されるパラメータ値を取得する第1の入力部分と、複数種類のパラメータの理論的な相関関係を示す基礎データ、関数式または関数プログラムに従って得られる連続するパラメータ値を取得する第2の入力部分と、任意の演算初期値を取得する第3の入力部分とを有することを特徴とする請求項16に記載の加工条件生成装置。 When the calculation algorithm is an approximate bisection method, the block diagram of the unit calculation program includes a first input part for acquiring the input parameter value and a theoretical correlation between a plurality of types of parameters. 2. A second input part for acquiring continuous parameter values obtained according to basic data, a function expression or a function program indicating a relationship, and a third input part for acquiring an arbitrary calculation initial value. Item 17. The machining condition generation device according to Item 16. 加工条件を決定するプロセスで最初に与えられるパラメータ値に対応して前記演算プロシージャに従って前記複数の単位演算プログラムを関連付けられた順番で実行させて加工条件のパラメータ値を演算して出力する演算装置を有する請求項1に記載の加工条件生成装置。 An arithmetic unit that calculates and outputs the parameter values of the machining conditions by executing the plurality of unit arithmetic programs in the associated order according to the arithmetic procedure corresponding to the parameter values that are initially given in the process of determining the machining conditions The processing condition generation device according to claim 1. 前記演算装置は、複数の前記演算プロシージャを予め定義された順番で実行させて加工条件の組合せを生成して出力することを特徴とする請求項19に記載の加工条件生成装置。 20. The machining condition generation apparatus according to claim 19, wherein the calculation apparatus executes a plurality of the calculation procedures in a predetermined order to generate and output a combination of machining conditions. 前記演算装置は、複数の前記演算プロシージャが予め定義された順番で実行されるように関連付けられてなる演算プログラムユニットを前記記憶装置から予め定義された所定の順番に読み出して、読み出した順番に従って前記演算プログラムユニットを実行させて加工条件の組合せを生成することを特徴とする請求項20に記載の加工条件生成装置。 The arithmetic device reads out arithmetic program units associated with each other so that a plurality of the arithmetic procedures are executed in a predefined order from the storage device in a predetermined order, and in accordance with the readout order, 21. The machining condition generation device according to claim 20, wherein the calculation program unit is executed to generate a combination of machining conditions.
JP2008136789A 2008-05-26 2008-05-26 Processing condition generator Active JP5088826B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008136789A JP5088826B2 (en) 2008-05-26 2008-05-26 Processing condition generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008136789A JP5088826B2 (en) 2008-05-26 2008-05-26 Processing condition generator

Publications (2)

Publication Number Publication Date
JP2009282909A true JP2009282909A (en) 2009-12-03
JP5088826B2 JP5088826B2 (en) 2012-12-05

Family

ID=41453268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008136789A Active JP5088826B2 (en) 2008-05-26 2008-05-26 Processing condition generator

Country Status (1)

Country Link
JP (1) JP5088826B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013232102A (en) * 2012-04-27 2013-11-14 Nec Computertechno Ltd Numerical control device
WO2016051549A1 (en) * 2014-09-30 2016-04-07 株式会社牧野フライス製作所 Control device for machine tool
JP2017156170A (en) * 2016-02-29 2017-09-07 国立大学法人神戸大学 Object surface correction method and working method of workpiece
JP2020049606A (en) * 2018-09-27 2020-04-02 株式会社ジェイテクト Machining support system and cutting device
WO2022224399A1 (en) * 2021-04-22 2022-10-27 三菱電機株式会社 Processing condition finding device, program, and processing condition finding method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6464723A (en) * 1987-09-02 1989-03-10 Amada Co Ltd Automatic selecting device for machining condition of wire-cut electric discharge machine
JPH05282021A (en) * 1992-03-31 1993-10-29 Fanuc Ltd Machining condition generation system for nc machine tool
JPH05293741A (en) * 1992-04-20 1993-11-09 Mitsubishi Electric Corp Machining condition creating device
JPH08249026A (en) * 1995-03-10 1996-09-27 Fanuc Ltd Programming method for system including robot
JP2000089813A (en) * 1998-09-11 2000-03-31 Mitsubishi Electric Corp Working program editing method and controller for machine tool
JP2007242054A (en) * 1995-09-19 2007-09-20 Yaskawa Electric Corp Robot language processing apparatus
JP2009187206A (en) * 2008-02-05 2009-08-20 Toshiba Mach Co Ltd Apparatus for supporting decision of optimum machining condition for precision machining

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6464723A (en) * 1987-09-02 1989-03-10 Amada Co Ltd Automatic selecting device for machining condition of wire-cut electric discharge machine
JPH05282021A (en) * 1992-03-31 1993-10-29 Fanuc Ltd Machining condition generation system for nc machine tool
JPH05293741A (en) * 1992-04-20 1993-11-09 Mitsubishi Electric Corp Machining condition creating device
JPH08249026A (en) * 1995-03-10 1996-09-27 Fanuc Ltd Programming method for system including robot
JP2007242054A (en) * 1995-09-19 2007-09-20 Yaskawa Electric Corp Robot language processing apparatus
JP2000089813A (en) * 1998-09-11 2000-03-31 Mitsubishi Electric Corp Working program editing method and controller for machine tool
JP2009187206A (en) * 2008-02-05 2009-08-20 Toshiba Mach Co Ltd Apparatus for supporting decision of optimum machining condition for precision machining

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013232102A (en) * 2012-04-27 2013-11-14 Nec Computertechno Ltd Numerical control device
WO2016051549A1 (en) * 2014-09-30 2016-04-07 株式会社牧野フライス製作所 Control device for machine tool
JPWO2016051549A1 (en) * 2014-09-30 2017-04-27 株式会社牧野フライス製作所 Machine tool controller
CN108701167B (en) * 2016-02-29 2022-07-05 国立大学法人神户大学 Object surface correction method, workpiece machining method, and machining system
WO2017150578A1 (en) * 2016-02-29 2017-09-08 国立大学法人神戸大学 Object-surface correcting method, and processing method and processing system for workpiece
CN108701167A (en) * 2016-02-29 2018-10-23 国立大学法人神户大学 The processing method and system of processing of body surface modification method, workpiece
US10788812B2 (en) 2016-02-29 2020-09-29 National University Corporation Kobe University Object-surface correcting method, and processing method and processing system for workpiece
JP2017156170A (en) * 2016-02-29 2017-09-07 国立大学法人神戸大学 Object surface correction method and working method of workpiece
JP2020049606A (en) * 2018-09-27 2020-04-02 株式会社ジェイテクト Machining support system and cutting device
CN110955935A (en) * 2018-09-27 2020-04-03 株式会社捷太格特 Machining auxiliary system and cutting device
JP7441602B2 (en) 2018-09-27 2024-03-01 株式会社ジェイテクト Machining support system and cutting equipment
WO2022224399A1 (en) * 2021-04-22 2022-10-27 三菱電機株式会社 Processing condition finding device, program, and processing condition finding method
JPWO2022224399A1 (en) * 2021-04-22 2022-10-27
JP7286055B2 (en) 2021-04-22 2023-06-02 三菱電機株式会社 MACHINING CONDITION SEARCH DEVICE, PROGRAM AND MACHINING CONDITION SEARCH METHOD

Also Published As

Publication number Publication date
JP5088826B2 (en) 2012-12-05

Similar Documents

Publication Publication Date Title
JP5088826B2 (en) Processing condition generator
JP5936781B1 (en) Numerical control device, NC processing device, NC processing method and simulation device
JP4329248B2 (en) NC machining simulation equipment
JP2007004734A (en) Information processing system, information processing method and computer program
KR20120085420A (en) Cutting shape input apparatus and method using interactive program in computer numarical control machine tools
CN106843141B (en) numerical controller
JP6867457B2 (en) Information processing device
CN103676785A (en) Intelligent fan blade manufacturing method
US20030090526A1 (en) Analysis work support system
JP4276656B2 (en) CAD system, program for executing the CAD system, and recording medium recording the program
JP3805776B2 (en) Graphical programming device and programmable display
KR101405039B1 (en) Manufacturing process automation method and system
JP2017220213A (en) Machining load analysis device, machining load analysis program, and machining load analysis system
JP6734314B2 (en) Control device, data creation device, control method, and control program
JP2021068005A (en) Programming support device, programming support system, and programming support method
JP2019057963A (en) Amplifier selection device having power supply capacity display function, amplifier selection method, and amplifier selection program
CN112732244A (en) Drawing programming and table programming method for router based on new controller
JP7204054B1 (en) Program, setting device and display method
KR100959240B1 (en) Automatic tooling system for cnc machine tool
JP4032306B2 (en) Design work support device
JP4634958B2 (en) Plant data processing apparatus and computer program for its realization
CN111767412B (en) Data mapping method and system for knowledge graph construction and electronic equipment
JP2021060806A (en) Processing program creation device
JP5763352B2 (en) NC program creation device
JP2004310317A (en) Business support device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101020

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120412

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120419

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120531

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: 20120906

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120906

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150921

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5088826

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250