JPH086621A - Machining information generating device - Google Patents

Machining information generating device

Info

Publication number
JPH086621A
JPH086621A JP6137569A JP13756994A JPH086621A JP H086621 A JPH086621 A JP H086621A JP 6137569 A JP6137569 A JP 6137569A JP 13756994 A JP13756994 A JP 13756994A JP H086621 A JPH086621 A JP H086621A
Authority
JP
Japan
Prior art keywords
machining
machining axis
axis
machine
information
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
JP6137569A
Other languages
Japanese (ja)
Other versions
JP3211564B2 (en
Inventor
Tomoko Uchida
智子 内田
Yoshiyuki Ohama
佳之 大濱
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP13756994A priority Critical patent/JP3211564B2/en
Publication of JPH086621A publication Critical patent/JPH086621A/en
Application granted granted Critical
Publication of JP3211564B2 publication Critical patent/JP3211564B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

PURPOSE:To automatically optimize the peripheral shape of a machining axis in consideration of the size, weight, etc., of the peripheral shape of the machining axis by correcting the tool projection quantity of the machining axis based on the work information and machining axis information without causing a work and a constituent component of the machining axis to interfere with each other at a machining end position. CONSTITUTION:Based on the work information stored in a storage means for a work information file 20 and machining axis information stored in a storage means for a machining axis information file 29, the tool projection quantity correcting means consisting of a component interference verification part 31 and a tool projection quantity correction part 32 corrects the tool projection quantity of the machining axis so that the work and the constituent component of the machining axis do not interfere with each other at the machining end position. Consequently, the interference between the work and the constituent component of the machining axis at the machining end position can be evaded and the peripheral shape of the machining axis can be optimized.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、CAD/CAMシステ
ムを用いた加工情報作成装置に関し、特にギアヘッドに
割り当てられる加工軸の周辺形状、重量などを考慮して
設計検討レベルのシステム化を図ったものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a machining information creating apparatus using a CAD / CAM system, and particularly, systematization has been made at a design study level in consideration of peripheral shape and weight of a machining shaft assigned to a gear head. It is a thing.

【0002】[0002]

【従来の技術】近年、コンピュータやグラフィックディ
スプレイならびにそれらの周辺技術の発展により、設計
者等が図形情報を媒介として計算機(コンピュータ)を
使いながら設計から加工までを行うCAD(コンピュー
タ援用設計)/CAM(コンピュータ援用生産)システ
ムが実用化され、その適用範囲を拡大しつつある。
2. Description of the Related Art In recent years, with the development of computers and graphic displays and their peripheral technologies, CAD (computer-aided design) / CAM in which a designer or the like uses a computer (computer) with graphic information as a medium to perform design to processing. (Computer-aided production) system has been put into practical use and its range of application is expanding.

【0003】その一適用例として、たとえば、機械加工
の加工工程を検討するためのCAD/CAMシステムが
あり、従来のシステムでは、ギアヘッドと加工軸の位置
関係、切削条件、切削動力、加工可能時間などを考慮し
て加工軸の最適化を図っている。
As one application example thereof, for example, there is a CAD / CAM system for studying the machining process, and in the conventional system, the positional relationship between the gear head and the machining axis, the cutting conditions, the cutting power, and the workable time. The machining axis is optimized in consideration of such factors.

【0004】[0004]

【発明が解決しようとする課題】ところが、従来のシス
テムにあっては、上記のような仕様検討レベルまでしか
考慮されておらず、たとえば、ギアヘッドに割り当てら
れる加工軸の周辺部の形状・寸法、タレット面の重量
(タレットマシンの場合)などといった設計検討レベル
は一切考慮されていない。そのため、設計者は、グルー
ピング設定等において設計変更が発生した場合、ワーク
と加工軸とが干渉しないようなギアヘッド形状の計算
や、タレット面の重量チェックのための計算などを行わ
なければならないので、手間がかかり、設計検討にも時
間がかかる。しかも、計算の精度に保証はない。さら
に、従来は、マシンの原位置の計算も、設計者が自分で
行っていたので、上記と同様の問題がある。
However, in the conventional system, only the specification examination level as described above is taken into consideration. For example, the shape and size of the peripheral portion of the machining shaft assigned to the gear head, No consideration is given to the level of design consideration such as the weight of the turret surface (in the case of a turret machine). Therefore, if a design change occurs in the grouping settings, etc., the designer must calculate the gear head shape so that the work and the machining axis do not interfere with each other, and calculate for the weight check of the turret surface. It takes time and time for design study. Moreover, there is no guarantee in the accuracy of the calculation. Further, conventionally, the original position of the machine was also calculated by the designer, so there is the same problem as described above.

【0005】本発明は、このような従来技術の問題点に
鑑みてなされたものであり、加工軸のグルーピングを実
施する際に、加工軸の周辺形状の寸法、重量などを考慮
して、自動的に加工軸の周辺形状の最適化を図るととも
に、マシンの原点座標を自動決定しうる加工情報作成装
置を提供することを目的とする。
The present invention has been made in view of the above problems of the prior art, and when performing the grouping of the machining axes, the dimension of the peripheral shape of the machining axis, the weight, etc. are taken into consideration and the automatic machining is performed. It is an object of the present invention to provide a machining information creation device capable of automatically optimizing the peripheral shape of a machining axis and automatically determining the origin coordinates of a machine.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、本発明の加工情報作成装置は、ギアヘッドに割り当
てられた加工軸の周辺形状を補正する加工情報作成装置
であって、ワークに関する情報を記憶するワーク情報記
憶手段と、ギアヘッドに割り当てられた加工軸に関する
情報を記憶する加工軸情報記憶手段と、ワーク情報およ
び加工軸情報に基づいて、加工終了位置においてワーク
と加工軸の構成部品とが干渉しないよう、加工軸のツー
ル突出し量を補正するツール突出し量補正手段とを有し
て構成されている。
In order to achieve the above object, a machining information creating apparatus of the present invention is a machining information creating apparatus for correcting a peripheral shape of a machining axis assigned to a gear head, and is provided with information about a workpiece. Workpiece information storage means to be stored, machining axis information storage means to store information on the machining axis assigned to the gear head, and the workpiece and the component parts of the machining axis at the machining end position based on the work information and the machining axis information. The tool protrusion amount correcting means for correcting the tool protrusion amount of the machining axis is configured so as not to interfere with each other.

【0007】さらに、ワーク情報および加工軸情報に基
づいて、同一ギアヘッドに割り当てられた加工軸のフロ
ントケース間の段差がなくなるよう、加工軸のスピンド
ル突出し量を補正するスピンドル突出し量補正手段を有
して構成されている。
Further, based on the work information and the machining axis information, there is provided a spindle protrusion amount correction means for correcting the spindle protrusion amount of the machining axis so that there is no step between the front cases of the machining axes assigned to the same gear head. Is configured.

【0008】さらには、マシンの諸元を記憶するマシン
諸元記憶手段と、加工軸の構成部品の重量データを記憶
する重量データ記憶手段と、加工軸情報、マシン諸元、
および重量データに基づいて、マシンのギアヘッドの重
量を算出するギアヘッド重量算出手段と、各ギアヘッド
の重量を加算してマシンの全ギアヘッドの総重量を算出
し、この総重量が所定の許容値内におさまっているかど
うかを検証するギアヘッド総重量検証手段とを有して構
成されている。
Further, machine specification storage means for storing machine specifications, weight data storage means for storing weight data of components of the machining axis, machining axis information, machine specifications,
And the weight data, the gear head weight calculation means for calculating the weight of the gear head of the machine and the weight of each gear head are added to calculate the total weight of all the gear heads of the machine, and the total weight is within a predetermined allowable value. It has a gear head total weight verification means for verifying whether or not it has subsided.

【0009】マシンがタレットマシンの場合は、さら
に、算出したギアヘッド重量データに基づいて、対角位
置にあるタレット面の重量差を算出し、この重量差が所
定の規定値内におさまっているかどうかを検証する重量
バランス検証手段を有して構成されている。
When the machine is a turret machine, the weight difference between the turret surfaces at the diagonal positions is calculated based on the calculated gear head weight data, and whether the weight difference is within a predetermined specified value or not. It has a weight balance verification means for verifying.

【0010】上記装置は、さらに、ワーク情報、加工軸
情報、およびマシン諸元に基づいて、ワークに対するマ
シンの原位置の座標値を算出するマシン原位置座標算出
手段を有して構成されている。
The above apparatus is further provided with a machine original position coordinate calculating means for calculating the coordinate value of the original position of the machine with respect to the work based on the work information, machining axis information, and machine specifications. .

【0011】好ましくは、前記ツール突出し量補正手段
は、ワーク情報および加工軸情報に基づいて、加工終了
位置におけるワークと加工軸の構成部品との間隔を算出
する手段と、前記間隔を所定の規定値と比較する手段
と、前記間隔が前記規定値よりも小さいときに、ワーク
と前記構成部品との間隔が前記規定値と等しくなるよう
に加工軸のツール突出し量を修正する手段と、修正した
ツール突出し量を所定の許容値と比較する手段と、前記
修正ツール突出し量が前記許容値を超えるときに、現在
の加工軸割当て結果をキャンセルする手段とを有して構
成されている。
Preferably, the tool protrusion amount correction means calculates the distance between the work and the component of the processing axis at the processing end position based on the work information and the processing axis information, and the distance is defined by a predetermined value. A means for comparing with a value, and a means for correcting the tool protrusion amount of the machining axis so that the distance between the work and the component becomes equal to the specified value when the interval is smaller than the specified value. It comprises means for comparing the tool protrusion amount with a predetermined allowable value, and means for canceling the current machining axis assignment result when the corrected tool protrusion amount exceeds the allowable value.

【0012】好ましくは、前記スピンドル突出し量補正
手段は、ワーク情報および加工軸情報に基づいて、加工
終了位置においてフロントケース位置がワークの加工面
から最も近い加工軸を検出する手段と、検出した加工軸
のフロントケース位置から入力された段差修正可能値の
範囲内にフロントケース位置が存在する加工軸を選出す
ることにより、修正対象となる加工軸を設定する手段
と、修正対象加工軸の中からフロントケース位置が前記
加工面から最も遠い加工軸を検出し、この検出した加工
軸のフロントケース位置にそろえるように修正対象加工
軸のスピンドル突出し量を修正する手段と、修正したス
ピンドル突出し量を所定の許容値と比較する手段と、前
記修正スピンドル突出し量が前記許容値を超えるとき
に、対話操作により、許容値外の加工軸を修正対象から
除外する手段とを有して構成されている。
[0012] Preferably, the spindle protrusion amount correcting means detects the machining axis whose front case position is closest to the machining surface of the workpiece at the machining end position based on the workpiece information and the machining axis information, and the detected machining. By selecting a machining axis whose front case position exists within the range of the level difference correction value that is input from the front case position of the axis, the machining axis that is the correction target is set and A means for correcting the spindle protrusion amount of the correction target machining axis so that the front case position detects the machining axis farthest from the machining surface and aligns the detected machining axis with the front case position of the detected machining axis, and the corrected spindle protrusion amount is predetermined. Means for comparing with the allowable value of, and when the corrected spindle protrusion amount exceeds the allowable value, by interactive operation, And a way to exclude machining axis outside volume value from the correction target is constructed.

【0013】計算の簡単化のため、前記ギアヘッド重量
算出手段は、ギヤヘッドの加工軸取付面の面積に基づい
て、加工軸のフロントケースおよびギアケースの重量を
算出することが好ましい。
For simplification of calculation, it is preferable that the gear head weight calculating means calculates the weights of the front case and the gear case of the machining shaft based on the area of the machining shaft mounting surface of the gear head.

【0014】好ましくは、前記ギアヘッド総重量検証手
段は、マシンの各ギアヘッドの重量を加算してマシンの
全ギアヘッドの総重量を算出する手段と、算出した総重
量を所定の許容値と比較する手段と、前記総重量が前記
許容値を超えるときに、現在の加工軸割当て結果をキャ
ンセルする手段とを有して構成されている。
Preferably, the gear head total weight verification means adds the weights of the gear heads of the machine to calculate the total weight of all the gear heads of the machine, and compares the calculated total weight with a predetermined allowable value. And a means for canceling the current machining axis assignment result when the total weight exceeds the allowable value.

【0015】好ましくは、前記重量バランス検証手段
は、対角位置にあるタレット面について加工軸の割当て
がなされているかどうかを判定する手段と、対角位置に
あるタレット面について加工軸の割当てがなされている
場合に、算出されたギアヘッド重量データに基づいて、
対角位置にあるタレット面との重量差を算出する手段
と、算出した重量差を所定の規定値と比較する手段と、
前記重量差が前記規定値を超えるときに、対話操作によ
り、どちらか一方のタレット面の加工軸割当て結果をキ
ャンセルする手段と、対角位置にあるタレット面につい
て加工軸の割当てがなされていない場合には、その割当
て未実施のタレット面に同等の重量を設定する手段とを
有して構成されている。
Preferably, the weight balance verification means determines whether or not the machining axis is assigned to the turret surface in the diagonal position, and the machining axis is assigned to the turret surface in the diagonal position. , Based on the calculated gearhead weight data,
Means for calculating a weight difference from the turret surface in a diagonal position, means for comparing the calculated weight difference with a predetermined specified value,
When the weight difference exceeds the specified value, a means for canceling the machining axis assignment result of either one of the turret surfaces by interactive operation, and no machining axis assignment for the turret surface in the diagonal position Has a means for setting an equivalent weight on the turret surface which has not been allocated yet.

【0016】好ましくは、前記マシン原位置座標算出手
段は、加工軸情報に基づいてギアヘッドに割り当てられ
た加工軸の長さを算出し、この結果により、最長の加工
軸を検出する手段と、最長加工軸のツール先端がワーク
の加工面から所定のエアカット量だけ離れた位置にくる
ようにマシンの原位置を決定する手段と、ワーク情報お
よびマシン諸元に基づいて、ワークに対する前記マシン
原位置の座標値を算出する手段とを有して構成されてい
る。
Preferably, the machine original position coordinate calculating means calculates the length of the machining axis assigned to the gear head based on the machining axis information, and from this result, a means for detecting the longest machining axis and a longest machining axis. Means for determining the original position of the machine so that the tool tip of the machining axis is located at a position that is away from the machining surface of the work by a predetermined air cut amount, and the machine original position for the work based on the work information and machine specifications. And a means for calculating the coordinate value of.

【0017】[0017]

【作用】このように構成した本発明にあっては、ツール
突出し量補正手段は、ワーク情報記憶手段に記憶されて
いるワーク情報と加工軸情報記憶手段に記憶されている
加工軸情報とに基づいて、加工終了位置においてワーク
と加工軸の構成部品とが干渉しないよう、加工軸のツー
ル突出し量を補正する。これにより、加工終了位置にお
けるワークと加工軸の構成部品との干渉が回避され、加
工軸の周辺形状の最適化が図られる。
In the present invention thus constituted, the tool protrusion amount correction means is based on the work information stored in the work information storage means and the machining axis information stored in the machining axis information storage means. Then, the tool protrusion amount of the machining axis is corrected so that the workpiece and the component of the machining axis do not interfere with each other at the machining end position. As a result, the interference between the workpiece and the components of the machining axis at the machining end position is avoided, and the peripheral shape of the machining axis is optimized.

【0018】好ましい構成においては、ツール突出し量
補正手段は、ワーク情報および加工軸情報に基づいて加
工終了位置におけるワークと加工軸の構成部品との間隔
を算出し、結果を所定の規定値と比較する。そして、得
られた間隔が規定値よりも小さいときには、ワークと構
成部品との間隔が規定値と等しくなるように加工軸のツ
ール突出し量を修正し、結果を所定の許容値と比較す
る。そして、修正ツール突出し量が許容値を超えるとき
には、現在の加工軸割当て結果をキャンセルして、再度
の割当て結果を待つ。
In a preferred configuration, the tool protrusion amount correction means calculates the distance between the workpiece and the component of the machining axis at the machining end position based on the work information and the machining axis information, and compares the result with a predetermined prescribed value. To do. Then, when the obtained distance is smaller than the specified value, the tool protrusion amount of the machining axis is corrected so that the distance between the work and the component becomes equal to the specified value, and the result is compared with a predetermined allowable value. When the correction tool protrusion amount exceeds the allowable value, the current machining axis assignment result is canceled and the assignment result is waited for again.

【0019】スピンドル突出し量補正手段を有する装置
にあっては、スピンドル突出し量補正手段は、ワーク情
報および加工軸情報に基づいて、同一ギアヘッドに割り
当てられた加工軸のフロントケース間の段差がなくなる
よう、加工軸のスピンドル突出し量を補正する。これに
より、同一ギアヘッドに割り当てられた加工軸のフロン
トケース間の段差がなくなり、マシンの製作コストの低
減が図られる。
In the apparatus having the spindle protrusion amount correction means, the spindle protrusion amount correction means eliminates the step between the front cases of the processing shafts assigned to the same gear head based on the work information and the processing shaft information. , Correct the amount of spindle protrusion of the machining axis. As a result, there is no step between the front cases of the processing shafts assigned to the same gear head, and the manufacturing cost of the machine can be reduced.

【0020】好ましい構成においては、スピンドル突出
し量補正手段は、ワーク情報および加工軸情報に基づい
て加工終了位置においてフロントケース位置がワークの
加工面から最も近い加工軸を検出し、検出した加工軸の
フロントケース位置から入力された段差修正可能値の範
囲内にフロントケース位置が存在する加工軸を選出する
ことにより、修正対象となる加工軸を設定する。それか
ら、修正対象加工軸の中からフロントケース位置が前記
加工面から最も遠い加工軸を検出し、この検出した加工
軸のフロントケース位置にそろえるように修正対象加工
軸のスピンドル突出し量を修正し、結果を所定の許容値
と比較する。そして、修正スピンドル突出し量が許容値
を超えるときには、対話操作により、許容値外の加工軸
を修正対象から除外する。
In a preferred configuration, the spindle protrusion amount correcting means detects the machining axis whose front case position is closest to the machining surface of the workpiece at the machining end position based on the workpiece information and the machining axis information, and detects the machining axis of the detected machining axis. The machining axis to be corrected is set by selecting the machining axis having the front case position within the range of the level difference correctable value input from the front case position. Then, the machining axis whose front case position is farthest from the machining surface is detected from the machining axis to be corrected, and the spindle protrusion amount of the machining axis to be corrected is corrected so as to be aligned with the front case position of the detected machining axis. The result is compared with a given tolerance. When the corrected spindle protrusion amount exceeds the allowable value, the machining axis outside the allowable value is excluded from the correction target by the interactive operation.

【0021】また、重量チェック機能を有する装置にあ
っては、ギアヘッド重量算出手段は、加工軸情報、マシ
ン諸元記憶手段に記憶されているマシン諸元、および重
量データ記憶手段に記憶されている重量データに基づい
て、マシンのギアヘッドの重量を算出し、ギアヘッド総
重量検証手段は、それら各ギアヘッドの重量を加算して
マシンの全ギアヘッドの総重量を算出し、この総重量が
所定の許容値内におさまっているかどうかを検証する。
これにより、マシンを駆動するモータへの負荷や、マシ
ンを移動させる際の動力などの問題をクリアすることが
でき、設計検討の精度が向上し、マシンの信頼性や耐久
性が向上する。
Further, in the apparatus having the weight check function, the gear head weight calculating means is stored in the machining axis information, the machine specifications stored in the machine specification storing means, and the weight data storing means. The weight of the gear head of the machine is calculated based on the weight data, and the gear head total weight verification means adds the weights of the respective gear heads to calculate the total weight of all the gear heads of the machine, and the total weight is a predetermined allowable value. Verify that you are inside.
As a result, problems such as the load on the motor that drives the machine and the power required to move the machine can be cleared, the accuracy of design consideration is improved, and the reliability and durability of the machine are improved.

【0022】好ましい構成においては、ギアヘッド総重
量検証手段は、マシンの各ギアヘッドの重量を加算して
マシンの全ギアヘッドの総重量を算出し、結果を所定の
許容値と比較する。そして、算出した総重量が許容値を
超えるときには、現在の加工軸割当て結果をキャンセル
して、再度の割当て結果を待つ。
In the preferred arrangement, the gearhead total weight verification means adds the weights of each gearhead of the machine to calculate the total weight of all gearheads of the machine and compares the result to a predetermined tolerance. When the calculated total weight exceeds the allowable value, the current machining axis allocation result is canceled and the allocation result is awaited again.

【0023】マシンがタレットマシンで重量バランス検
証手段を有する装置にあっては、重量バランス検証手段
は、算出されたギアヘッド重量データに基づいて、対角
位置にあるタレット面の重量差を算出し、この重量差が
所定の規定値内におさまっているかどうかを検証する。
これにより、タレット面の重量バランスがチェックさ
れ、タレットマシンの旋回時にバランスが悪くなった
り、加工時に加工タレット面が微妙に上下に向くなどの
不具合がなくなり、所定の精度を確保できるようにな
る。
In an apparatus in which the machine is a turret machine and has weight balance verification means, the weight balance verification means calculates the weight difference between the turret surfaces at diagonal positions based on the calculated gear head weight data, Verify that this weight difference is within the specified limits.
As a result, the weight balance of the turret surface is checked, and there are no problems such as a poor balance when the turret machine turns, or the machining turret surface slightly deviates up and down during processing, and it is possible to ensure a predetermined accuracy.

【0024】好ましい構成においては、重量バランス検
証手段は、対角位置にあるタレット面について加工軸の
割当てがなされているかどうかを判定し、対角位置にあ
るタレット面について加工軸の割当てがなされている場
合には、算出されたギアヘッド重量データに基づいて対
角位置にあるタレット面との重量差を算出し、結果を所
定の規定値と比較する。そして、算出された重量差が規
定値を超えるときには、対話操作により、どちらか一方
のタレット面の加工軸割当て結果をキャンセルし、その
タレット面に対して再度の割当て結果を待つ。また、対
角位置にあるタレット面について加工軸の割当てがなさ
れていない場合には、その割当て未実施のタレット面に
とりあえず同等の重量を設定して、そのタレット面に割
当てがなされるのを待つ。
In a preferred configuration, the weight balance verification means determines whether or not the machining axis is assigned to the turret surface in the diagonal position, and the machining axis is assigned to the turret surface in the diagonal position. If so, the weight difference from the turret surface at the diagonal position is calculated based on the calculated gear head weight data, and the result is compared with a predetermined specified value. Then, when the calculated weight difference exceeds the specified value, the machining axis allocation result of either one of the turret surfaces is canceled by an interactive operation, and the allocation result of the turret surface is awaited again. If the machining axis is not assigned to the turret surface in the diagonal position, set an equivalent weight for the turret surface that has not been assigned and wait until the turret surface is assigned. .

【0025】さらに、マシン原位置座標算出手段を有す
る装置にあっては、マシン原位置座標算出手段は、ワー
ク情報、加工軸情報、およびマシン諸元に基づいて、ワ
ークに対するマシンの原位置の座標値を算出する。これ
により、マシンの原位置の座標値が自動的に提供される
ようになり、割当ての検討または変更に対して容易に対
応できるようになる。
Further, in the apparatus having the machine original position coordinate calculating means, the machine original position coordinate calculating means is based on the work information, the machining axis information, and the machine specifications, and the coordinates of the original position of the machine with respect to the work. Calculate the value. This will automatically provide the machine's in-situ coordinate values, making it easier to address assignment considerations or changes.

【0026】好ましい構成においては、マシン原位置座
標算出手段は、加工軸情報に基づいてギアヘッドに割り
当てられた加工軸の長さを算出し、この結果により、最
長の加工軸を検出する。それから、検出した最長加工軸
のツール先端がワークの加工面から所定のエアカット量
だけ離れた位置にくるようにマシンの原位置を決定した
後、ワーク情報およびマシン諸元に基づいて、ワークに
対する前記マシン原位置の座標値を算出する。
In a preferred configuration, the machine original position coordinate calculating means calculates the length of the machining axis assigned to the gear head based on the machining axis information, and detects the longest machining axis based on this result. Then, after determining the original position of the machine so that the detected tool tip of the longest machining axis will be at a position separated from the machined surface of the workpiece by the predetermined air cut amount, based on the workpiece information and machine specifications, The coordinate value of the original position of the machine is calculated.

【0027】[0027]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図1は本発明の加工情報作成装置を構成す
るハードウェアの一例を示す図である。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a diagram showing an example of hardware constituting the processing information creation device of the present invention.

【0028】この装置は、一般的なCADシステムの構
成と同様に、入力装置として設計者が従来の製図板や鉛
筆の代わりに使用するグラフィックディスプレイ装置1
0(以下、単にディスプレイという)、ライトペン1
1、キーボード12、そしてタブレット13などがあり
(以下、簡単化のためにキーボード12で入力装置を代
表させることにする)、設計者はこれらライトペン11
やキーボード12などを操作することによってコンピュ
ータ14にデータやコマンドなどを入力することができ
る。コンピュータ14には外部記憶装置15が接続され
ており、コンピュータ14の処理結果やデータなどはこ
れに記憶されるようになっている。また、コンピュータ
14には出力装置として自動製図機(プロッタ)16や
プリンタ17などが接続されており、前記ディスプレイ
10とともに、必要に応じて加工軸のグルーピング状況
や加工軸の周辺形状(ツーリングレイアウト)などの各
種図面を作図または表示したり、データや演算結果を印
字または表示することができるようになっている。
This device has a graphic display device 1 which is used as an input device by a designer in place of a conventional drawing board or pencil, as in the structure of a general CAD system.
0 (hereinafter referred to as display), light pen 1
1, a keyboard 12, and a tablet 13 (hereinafter, the keyboard 12 will be used as a representative of the input device for simplification).
Data and commands can be input to the computer 14 by operating the keyboard 12 or the like. An external storage device 15 is connected to the computer 14, and processing results and data of the computer 14 are stored therein. Further, an automatic drafting machine (plotter) 16 and a printer 17 are connected to the computer 14 as output devices, and together with the display 10, the machining axis grouping status and the machining axis peripheral shape (tooling layout) as required. It is possible to draw or display various drawings such as, and print or display data and calculation results.

【0029】図2は上記装置の機能ブロック図である。
本発明の加工情報作成装置は、CADシステム上で、加
工軸のグルーピングを実施する際に、加工軸の最適な周
辺形状を自動決定し、また、ワークに対するマシンの原
点(加工開始位置)の座標値を自動的に算出する機能を
有するものであって、たとえば、ワーク情報ファイル2
0と、マシン諸元ファイル21と、重量データファイル
22と、加工情報ファイル23と、工程分割決定部24
と、工程分割決定ファイル25と、工程分割情報ファイ
ル26と、加工軸情報作成部27と、ツーリング情報フ
ァイル28と、加工軸情報ファイル29と、グルーピン
グ実行部30と、部品干渉検証部31と、ツール突出し
量修正部32と、スピンドル突出し量修正部33と、タ
レット重量検証部34と、マシン原位置座標算出部35
と、これらの全体を制御する図示しない制御部とから構
成され、これらは入出力インタフェース36を介して内
部的に相互に接続され、また、外部の入力装置(キーボ
ード12など)や出力装置(ディスプレイ10、プリン
タ17、プロッタ16など)とも接続されている。
FIG. 2 is a functional block diagram of the above apparatus.
The machining information creation device of the present invention automatically determines the optimum peripheral shape of the machining axis when performing grouping of the machining axis on the CAD system, and also coordinates of the origin (machining start position) of the machine with respect to the workpiece. It has a function of automatically calculating a value, for example, the work information file 2
0, the machine specification file 21, the weight data file 22, the processing information file 23, and the process division determination unit 24.
A process division determination file 25, a process division information file 26, a machining axis information creation unit 27, a tooling information file 28, a machining axis information file 29, a grouping execution unit 30, a component interference verification unit 31, Tool protrusion amount correction unit 32, spindle protrusion amount correction unit 33, turret weight verification unit 34, machine original position coordinate calculation unit 35
And a control unit (not shown) that controls all of them, which are internally connected to each other via an input / output interface 36, and an external input device (keyboard 12 or the like) or output device (display). 10, printer 17, plotter 16, etc.).

【0030】なお、ワーク情報記憶手段はワーク情報フ
ァイル20、加工軸情報記憶手段は加工軸情報ファイル
29、ツール突出し量補正手段は部品干渉検証部31と
ツール突出し量修正部32、スピンドル突出し量補正手
段はスピンドル突出し量修正部33、マシン諸元記憶手
段はマシン諸元ファイル21、重量データ記憶手段は重
量データファイル22、ギアヘッド重量算出手段、ギア
ヘッド総重量検証手段、および重量バランス検証手段は
タレット重量検証部34、マシン原位置座標算出手段は
マシン原位置座標算出部35によってそれぞれ構成され
ている。
The work information storage means is a work information file 20, the machining axis information storage means is a machining axis information file 29, and the tool protrusion amount correction means is a component interference verification section 31, a tool protrusion amount correction section 32, and a spindle protrusion amount correction. The means is a spindle protrusion amount correcting unit 33, the machine specification storage means is a machine specification file 21, the weight data storage means is a weight data file 22, the gear head weight calculation means, the gear head total weight verification means, and the weight balance verification means are turret weights. The verification unit 34 and the machine original position coordinate calculation means are respectively configured by a machine original position coordinate calculation unit 35.

【0031】ワーク情報ファイル20は、ワークに関す
る情報、たとえば、ワークの形状データや、加工部位
(加工穴と加工面)の位置データなどを登録したもので
ある。ワークの形状データは、たとえば3次元のソリッ
ドモデル、または2次元の図形データに高さデータを加
えた2.5次元モデルなどで与えられ、また、加工部位
の位置データは、所定の基準位置に対する座標値の形で
設定されている。これらのワーク情報は、あらかじめ、
オペレータにより入力装置12を介して、または他のC
ADシステムから入力されている。
The work information file 20 is a file in which information about the work, such as the shape data of the work and the position data of the machined portion (machined hole and machined surface), is registered. The shape data of the work is given by, for example, a three-dimensional solid model or a 2.5-dimensional model in which height data is added to two-dimensional figure data, and the position data of the processed portion is relative to a predetermined reference position. It is set in the form of coordinate values. This work information is
By the operator via the input device 12 or another C
It is input from the AD system.

【0032】マシン諸元ファイル21は、マシンの諸
元、たとえば、タレットマシンを例にとると、タレット
面の個数(4面または6面)、タレット面の面積、タレ
ット面の寸法などを登録したものである。タレット面の
寸法は、たとえば、タレット面の中心から縁部までの長
さとして設定されている。これらのマシン諸元は、あら
かじめ、オペレータにより入力装置12を介して入力さ
れている。
The machine specification file 21 registers machine specifications, for example, in the case of a turret machine, the number of turret surfaces (4 or 6), the area of the turret surface, the size of the turret surface, and the like. It is a thing. The dimension of the turret surface is set, for example, as the length from the center of the turret surface to the edge. These machine specifications are input in advance by the operator via the input device 12.

【0033】重量データファイル22は、加工軸を構成
する各部品(たとえばツール、ホルダー、スピンドル、
ベアリング、フロントケースなど)の重量データを型式
型番ごとに登録したものである。また、重量データファ
イル22には、タレット面の面積ごとにフロントケース
とギアケースのおおよその重量が登録されている。さら
に、対角位置にあるタレット面の重量バランスの良否を
判定するための所定の規定値、ならびに、全タレット面
の総重量の最大許容値(以下、単に許容値という)も登
録されている。これらのデータもまた、あらかじめ、オ
ペレータにより入力装置12を介して入力されている。
The weight data file 22 includes each component (for example, tool, holder, spindle,
Bearing, front case, etc.) weight data is registered for each model number. In the weight data file 22, the approximate weights of the front case and the gear case are registered for each area of the turret surface. Further, a predetermined specified value for determining the quality of the weight balance of the turret surfaces in diagonal positions and the maximum allowable value of the total weight of all the turret surfaces (hereinafter, simply referred to as an allowable value) are also registered. These data are also input in advance by the operator via the input device 12.

【0034】加工情報ファイル23は、各加工部位に対
する加工情報、たとえば、加工部位名称、加工種類(た
とえばドリル加工、ドリル面取り加工、リーマ加工、タ
ップ加工など)、加工形状(たとえば、止まり穴のドリ
ル加工の場合、加工径、深さ、先端角)、加工前情報
(たとえば下穴径)、加工方向(たとえば穴基準位置に
対するXY方向)、加工優先度などを登録したものであ
る。これらの加工情報は、所定の加工情報表記パターン
に従って表記され、オペレータにより入力装置12を介
して入力される。たとえば、止まり穴のドリル加工の場
合、加工情報表記パターンは下記のとおりである。 なお、上記の各要素には、加工精度、加工公差、加工粗
さなどの情報を付加することができる。また、いくつか
の加工種類を組み合わせた複合加工の場合は、加工する
順番に加工情報要素を組み合わせて表記される。
The machining information file 23 includes machining information for each machining site, for example, machining site name, machining type (for example, drilling, drill chamfering, reaming, tapping, etc.), machining shape (for example, blind hole drill). In the case of machining, the machining diameter, depth, tip angle, pre-machining information (for example, prepared hole diameter), machining direction (for example, XY direction with respect to hole reference position), machining priority, etc. are registered. The processing information is written according to a predetermined processing information writing pattern, and is input by the operator via the input device 12. For example, in the case of drilling a blind hole, the processing information notation pattern is as follows. Information such as machining accuracy, machining tolerance, and machining roughness can be added to each of the above elements. Further, in the case of combined machining in which several machining types are combined, the machining information elements are combined and described in the order of machining.

【0035】工程分割決定部24は、加工情報ファイル
23に登録されている加工情報に基づいて自動的に加工
工程分割を行うものである。この工程分割決定部24に
は工程分割決定ファイル25が接続されており、この工
程分割決定ファイル25には、加工部位名称ごとに、優
先順位の付いた何パターンかの加工工程分割方法と、分
割後の各工程における加工形状(パラメトリック形状)
とがあらかじめ登録されている。工程分割決定部24
は、各加工部位に対し、加工情報ファイル23から加工
部位名称、加工種類、最終加工形状(寸法)を読み出し
て、加工部位名称をもとにして工程分割決定ファイル2
5を参照しながら、優先順位に従って自動的に加工工程
分割を行い、そして分割された工程ごとに最終加工形状
(寸法)をもとにして加工形状の寸法を自動設定し、さ
らには加工種類をもとにして使用ツールの種類を自動設
定する機能を有している。得られた結果は、専用の工程
分割情報ファイル26に格納される。
The process division decision unit 24 automatically divides the machining process based on the machining information registered in the machining information file 23. A process division determination file 25 is connected to the process division determination unit 24. The process division determination file 25 includes a plurality of machining process division methods with priorities for each machining part name, and divisions. Processed shape (parametric shape) in each subsequent process
And are registered in advance. Process division determination unit 24
Reads the machining site name, machining type, and final machining shape (dimension) from the machining information file 23 for each machining site, and based on the machining site name, the process division decision file 2
5, the machining process is automatically divided according to the priority order, and the dimensions of the machining shape are automatically set based on the final machining shape (dimension) for each divided process. It has a function to automatically set the type of tool used. The obtained result is stored in the dedicated process division information file 26.

【0036】加工軸情報作成部27は、分割された各工
程に対し、加工軸の構成部品(たとえばツール、ホルダ
ー、スピンドル、ベアリングキャップ、フロントケース
など)に関する情報を自動決定して、加工軸を自動的に
構築するものである。この加工軸情報作成部27にはツ
ーリング情報ファイル28が接続されている。ツーリン
グ情報ファイル28は、加工情報(加工形状寸法・精
度)に対する最適ツール、ならびにツールに付随する他
の加工軸構成部品(ホルダー、スピンドル、ベアリング
キャップ、フロントケースなど)に関する情報(諸元、
形状データなど)を型式型番ごとにあらかじめ登録した
ものである。加工軸情報作成部27は、機能的に大別し
て、ツール決定部とツーリング情報作成部とからなって
いる。ツール決定部は、工程分割情報ファイル26から
各分割工程の加工情報(加工形状、ツールの種類)を読
み出し、ツーリング情報ファイル28を参照しながら、
分割工程ごとに最適な使用ツールを自動決定する機能を
有している。また、ツーリング情報作成部は、決定され
た使用ツールの型式型番をもとにしてツーリング情報フ
ァイル28を参照しながら、加工軸を構成する他の部品
(ホルダー、スピンドル、ベアリングキャップ、フロン
トケースなど)を自動決定する機能を有している。こう
した加工軸情報作成部27の結果は、加工軸情報ファイ
ル29に格納される。
The machining axis information creating section 27 automatically determines information regarding the components of the machining axis (for example, tools, holders, spindles, bearing caps, front cases, etc.) for each of the divided processes, and determines the machining axis. It is built automatically. A tooling information file 28 is connected to the machining axis information creating unit 27. The tooling information file 28 is information (specification, information) regarding an optimum tool for processing information (processing shape dimension / accuracy) and other processing axis components (holder, spindle, bearing cap, front case, etc.) attached to the tool.
(Shape data etc.) is registered in advance for each model number. The machining axis information creation unit 27 is roughly divided into a functional determination unit and a tooling information creation unit. The tool determination unit reads the machining information (machining shape, tool type) of each divided process from the process division information file 26, and while referring to the tooling information file 28,
It has a function to automatically determine the optimum tool to use for each division process. Further, the tooling information creation unit refers to the tooling information file 28 based on the determined model number of the tool to be used, and refers to the tooling information file 28, and other parts (holder, spindle, bearing cap, front case, etc.) that constitute the machining axis. Has a function of automatically determining. The result of the machining axis information creating unit 27 is stored in the machining axis information file 29.

【0037】図3は構築された加工軸の一例を示す断面
図である。同図において、加工軸は、ツール40をスピ
ンドル41に差し込んでホルダー42で固定して構成さ
れており、スピンドル41はベアリング43を介してフ
ロントケース44に取り付けられている。このフロント
ケース44の前面にはベアリングキャップ45が装着さ
れている。そして、このベアリングキャップ45の前面
には、切削油や切粉などがベアリングキャップ45内へ
侵入するのを防ぐため、Vリング46とVリングプレー
ト47が装着されている。
FIG. 3 is a sectional view showing an example of the constructed machining axis. In the figure, the processing shaft is constructed by inserting the tool 40 into a spindle 41 and fixing it with a holder 42, and the spindle 41 is attached to a front case 44 via a bearing 43. A bearing cap 45 is attached to the front surface of the front case 44. A V ring 46 and a V ring plate 47 are mounted on the front surface of the bearing cap 45 in order to prevent cutting oil and chips from entering the bearing cap 45.

【0038】加工軸情報ファイル29は、分割された工
程ごとに、加工軸に関する情報、換言すれば、加工軸の
構成部品(ツール40、ホルダー42、スピンドル4
1、ベアリングキャップ45、フロントケース44な
ど)に関する情報を記憶するものである。加工軸情報に
は、ツール40に関する情報として、たとえばツール諸
元(種類、径、長さなど)、ツール先端長、ツール突出
し量などがあり、ホルダー42に関する情報として、た
とえばホルダー諸元(ホルダー高さを含む)などがあ
り、スピンドル41に関する情報として、たとえばスピ
ンドル諸元、スピンドル突出し量などがあり、ベアリン
グキャップ45に関する情報として、たとえばベアリン
グキャップ形状データ(ベアリングキャップ高さを含
む)などがあり、フロントケース44に関する情報とし
て、たとえばフロントケース形状データ(フロントケー
ス高さを含む)などがある。マシンのタイプによって
は、さらに、Vリング46やVリングプレート47(図
3参照)、エアカバーなどに関する情報も付加される。
これらの加工軸情報は、上記したように、加工軸情報作
成部27の処理結果として与えられる。また、それらの
一部情報(ツール突出し量とスピンドル突出し量)は、
後述するように、加工軸の周辺形状が最適化されるよう
自動修正されるようになっている。
The machining axis information file 29 is information on the machining axis, in other words, components of the machining axis (tool 40, holder 42, spindle 4) for each divided process.
1, the bearing cap 45, the front case 44, etc.) are stored. The machining axis information includes, for example, tool specifications (type, diameter, length, etc.), tool tip length, tool protrusion amount, and the like regarding the tool 40, and information related to the holder 42 includes, for example, holder specifications (holder height). Information about the spindle 41, for example, the spindle specifications, the amount of protrusion of the spindle, etc., and the information about the bearing cap 45 includes, for example, bearing cap shape data (including the bearing cap height). The information on the front case 44 includes, for example, front case shape data (including the front case height). Depending on the type of machine, information about the V-ring 46, the V-ring plate 47 (see FIG. 3), the air cover, etc. may also be added.
The processing axis information is given as the processing result of the processing axis information creating unit 27 as described above. Also, some of these information (tool protrusion amount and spindle protrusion amount) are
As will be described later, the peripheral shape of the machining axis is automatically corrected so as to be optimized.

【0039】加工軸情報ファイル29には、上記の加工
軸情報以外に、たとえばホルダー42、スピンドル4
1、ベアリングキャップ45、フロントケース44など
に対して、それぞれ、加工終了位置におけるワークとの
間隔を規定するための所定の値(規定値)が設定登録さ
れている。これら規定値は、ワークと加工軸の構成部品
等との干渉を防止するためにワークと加工軸構成部品と
の間に最低限必要とされるクリアランスであって、ワー
クに対し加工軸構成部品の接近をどこまで許容するかを
判断するために設けられるものである。規定値に関する
データは、あらかじめシステム内に設定登録されるか、
または、その都度、前処理段階においてオペレータによ
りキー入力される。また、ツール40とスピンドル41
に対しては、それぞれ、加工精度上の観点から、ツール
突出し量およびスピンドル突出し量の最大許容値(以
下、単に許容値という)があらかじめ設定登録されてい
る(ユーザーによる入力や変更は不可)。これら許容値
は、加工径や加工種類等によって決定されている。さら
に、加工軸情報ファイル29には、後述するグルーピン
グ実行部30の結果、さらには、ギアケースの高さが格
納される。ギアケースの高さは、グルーピングの結果に
基づいてモータ軸から加工軸までギアをつなぐ際に何段
になるかによって異なり、したがって各タレット面によ
って異なるため、後述するように、その都度、適当な所
定の段階においてオペレータによりキー入力される。
In the machining axis information file 29, in addition to the above machining axis information, for example, the holder 42, the spindle 4 and the like.
Predetermined values (regulated values) for defining the distance to the work at the processing end position are set and registered for the bearing cap 45, the front case 44, and the like. These specified values are the minimum clearances required between the workpiece and the machining axis component to prevent interference between the workpiece and the machining axis component, and the clearance of the machining axis component relative to the workpiece. It is provided in order to determine how much access is allowed. Data about the specified value is set and registered in the system in advance, or
Alternatively, each time, it is keyed in by the operator in the preprocessing stage. Also, the tool 40 and the spindle 41
However, the maximum allowable values of the tool protrusion amount and the spindle protrusion amount (hereinafter, simply referred to as allowable values) are set and registered in advance from the viewpoint of machining accuracy (the user cannot input or change them). These allowable values are determined by the processing diameter, the processing type, and the like. Further, the processing axis information file 29 stores the result of the grouping execution unit 30 described later and further the height of the gear case. The height of the gear case differs depending on the number of stages when connecting the gears from the motor shaft to the machining shaft based on the result of the grouping, and therefore depends on each turret surface. It is keyed in by an operator at a predetermined stage.

【0040】また、本実施例では、加工軸情報ファイル
29にツール関連情報として記憶されるツール先端長
は、加工軸情報作成部27による加工軸構築処理の際
に、ツール径と先端角とから、計算によって求められ
る。また、同じく加工軸情報ファイル29に記憶される
ツール突出し量およびスピンドル突出し量は、加工軸構
築処理の際に、たとえばツーリング情報ファイル28に
あらかじめ登録された標準値にそれぞれ設定されるよう
になっている。
Further, in the present embodiment, the tool tip length stored as tool-related information in the machining axis information file 29 is calculated from the tool diameter and the tip angle during the machining axis construction processing by the machining axis information creating section 27. , Calculated. The tool protrusion amount and the spindle protrusion amount, which are also stored in the machining axis information file 29, are set to standard values registered in advance in the tooling information file 28, for example, during the machining axis construction process. There is.

【0041】グルーピング実行部30は、オペレータと
の対話操作により、どの加工軸を、どのマシンの、どの
ギアヘッドに割り当てるかを検討するものである。マシ
ンとしてタレットマシンを例にとれば、どの加工軸を、
どのタレットマシンの、どのタレット面に割り振るかを
検討するものである。また、グルーピング実行部30
は、一度割り当てた加工軸を、そのギアヘッド(タレッ
ト面)からキャンセルし、別のギアヘッド(タレット
面)に割り当てる等の編集機能をも有している。このグ
ルーピング実行部30の結果は、上記のように、加工軸
情報ファイル29に格納される。なお、以下では、タレ
ットマシンを例にとって説明する。
The grouping executing section 30 examines which machining axis is to be assigned to which gearhead of which machine by an interactive operation with the operator. Taking a turret machine as an example, which machining axis is
This is to consider which turret machine should be assigned to which turret surface. In addition, the grouping execution unit 30
Has an editing function of canceling a machining axis once assigned to the gear head (turret surface) and assigning it to another gear head (turret surface). The result of the grouping execution unit 30 is stored in the machining axis information file 29 as described above. In the following, a turret machine will be described as an example.

【0042】図4は加工軸の構成例を示す模式図であ
る。同図において、「40」はツール、「42」はホル
ダー、「41」はスピンドル、「44」はフロントケー
ス、「48」はギアケース、「49」はタレットマシン
の一タレット面である。前述したように、干渉防止の観
点からは、加工終了位置においてワークと加工軸の周辺
形状との間にある値(規定値)以上の間隔が存在するこ
とが望まれる。そこで、たとえば図4に示される加工軸
の場合には、ワークとホルダー42(この場合、ホルダ
ー42とスピンドル41とは径が同じなのでワークとス
ピンドル41との干渉チェックは必要ない)、およびワ
ークとフロントケース44との間でそれぞれ干渉チェッ
クを行う必要がある。
FIG. 4 is a schematic diagram showing an example of the structure of the processing shaft. In the figure, "40" is a tool, "42" is a holder, "41" is a spindle, "44" is a front case, "48" is a gear case, and "49" is a turret surface of a turret machine. As described above, from the viewpoint of preventing interference, it is desirable that there is a gap of a certain value (specified value) or more between the workpiece and the peripheral shape of the machining axis at the machining end position. Therefore, for example, in the case of the machining axis shown in FIG. 4, the workpiece and the holder 42 (in this case, since the holder 42 and the spindle 41 have the same diameter, the interference check between the workpiece and the spindle 41 is not necessary), and It is necessary to check the interference with the front case 44.

【0043】なお、図3に示される加工軸の場合には、
フロントケース44の前面にベアリングキャップ45が
取り付けられ、さらにその前にはVリング46とVリン
グプレート47が設けられており、それぞれ径を異にし
ているので、ワークとVリング46、Vリングプレート
47、およびベアリングキャップ45との間においても
干渉チェックをそれぞれ行う必要がある。また、ホルダ
ー42とスピンドル41との段差関係については、図3
や図4に示される加工軸のように両者の径が同じで段差
がない場合のほか、図5(A)に示すようにホルダー4
2aの径がスピンドル41aの径よりも大きい場合と、
図5(B)に示すようにホルダー42bの径がスピンド
ル41bの径よりも小さい場合とがある。後者の場合に
は、さらにワークとスピンドル41bの干渉チェックを
も行う必要がある。このように、ワークとどの構成部品
との干渉チェックを行う必要があるかは、加工軸の周辺
形状によって異なる。本実施例では、簡単化のため、図
4の加工軸を例にとって、ワークとホルダー40、およ
びワークとフロントケース44の間の干渉チェックを検
討するにとどめる。
In the case of the machining axis shown in FIG. 3,
A bearing cap 45 is attached to the front surface of the front case 44, and a V ring 46 and a V ring plate 47 are provided in front of the bearing cap 45. Since the diameters are different, the work, the V ring 46, and the V ring plate are provided. It is necessary to carry out interference check between 47 and the bearing cap 45. Also, regarding the step relationship between the holder 42 and the spindle 41, see FIG.
In addition to the case where the diameters of both are the same and there is no step like the machining shaft shown in FIG.
When the diameter of 2a is larger than the diameter of the spindle 41a,
As shown in FIG. 5 (B), the diameter of the holder 42b may be smaller than the diameter of the spindle 41b. In the latter case, it is also necessary to check the interference between the work and the spindle 41b. In this way, which component needs to be checked for interference with the work differs depending on the peripheral shape of the machining axis. In the present embodiment, for simplification, the interference check between the work and the holder 40 and the work and the front case 44 will be considered only by taking the machining axis of FIG. 4 as an example.

【0044】部品干渉検証部31は、加工軸が所定の加
工終了位置にあるときに、ワークとツールを除く加工軸
構成部品との干渉チェック(両者の間隔が規定値以上あ
るかどうか)を行うものである。具体的には、グルーピ
ング処理によりタレット面に割り振られた各加工軸に対
し、ワークと構成部品との間隔を算出し、加工軸情報フ
ァイル29に登録されている規定値と比較して、算出し
た間隔が規定値よりも小さい加工軸を検出する。なお、
前記間隔は、ワークと構成部品とが実際に干渉している
(つまり、重なり合っている)場合には、たとえば、負
の数値として与えられる(負値化)。
When the machining axis is at a predetermined machining end position, the component interference verification section 31 checks the interference between the work and the machining axis constituent parts excluding the tool (whether the interval between them is equal to or more than a specified value). It is a thing. Specifically, for each machining axis assigned to the turret surface by the grouping process, the distance between the work and the component is calculated and compared with the specified value registered in the machining axis information file 29 to calculate. Detects a machining axis whose interval is smaller than the specified value. In addition,
The interval is given as a negative value (negative value), for example, when the workpiece and the component actually interfere (that is, overlap).

【0045】ワークと構成部品との間隔の算出方法は、
たとえば、次のとおりである。ワークの形状データが3
次元ソリッドモデルで与えられている場合には、加工軸
の3次元ソリッドモデルを用いて周知の干渉検討演算を
実行し、実際に干渉している場合は、最も干渉範囲が大
きい部分を選択し、その干渉範囲の値を負値化して前記
間隔とし、規定値と比較する。たとえば、図6に示すよ
うに、ワーク50とホルダー42とが実際に2か所(B
とC)で干渉している場合、Cのほうの干渉部分が大き
いので、その干渉範囲の値Cを負値化して前記間隔と
し、規定値と比較する。一方、ワークの形状データが
2.5次元モデルで与えられている場合には、ワークの
面の高さデータが付与されているので、これを用いて前
記間隔を算出する。たとえば、図7において、2.5次
元モデルの場合にはワーク面に関してH1 〜H4 の位置
情報(高さデータ)が与えられており、FR面を加工す
る場合、FR面として登録されているFR1とFR2の
各位置と、加工深さC、ツール突出し量C、および加工
穴の基準位置(ワーク基準位置からの座標値の形で登録
されている)から算出されるホルダー42の位置Gとに
基づいてワーク50とホルダー42の干渉の有無をチェ
ックし、H1 値とG値とから干渉範囲(=H1 −G)を
求め、この値を負値化して前記間隔とし、規定値と比較
する。
The method of calculating the distance between the work and the component is
For example: Workpiece shape data is 3
If it is given as a three-dimensional solid model, a well-known interference examination calculation is executed using the three-dimensional solid model of the machining axis, and if it actually interferes, select the part with the largest interference range, The value in the interference range is negatively set to the above interval and compared with the specified value. For example, as shown in FIG. 6, the work 50 and the holder 42 are actually at two positions (B
And C), since the interference part of C is larger, the value C of the interference range is made negative to obtain the above interval and compared with the specified value. On the other hand, when the shape data of the work is given by the 2.5-dimensional model, since the height data of the surface of the work is given, the interval is calculated using this. For example, in FIG. 7, in the case of the 2.5-dimensional model, position information (height data) of H1 to H4 is given with respect to the work surface, and when machining the FR surface, FR1 registered as the FR surface is used. And FR2 and the position G of the holder 42 calculated from the machining depth C, the tool protrusion amount C, and the machining hole reference position (registered in the form of coordinate values from the workpiece reference position). Based on this, the presence or absence of interference between the workpiece 50 and the holder 42 is checked, the interference range (= H1 −G) is obtained from the H1 value and the G value, and this value is made a negative value to obtain the above interval and compared with the specified value.

【0046】ツール突出し量修正部32は、ワークと加
工軸構成部品(本実施例ではホルダー42とフロントケ
ース44)との間隔が加工軸情報ファイル29に登録さ
れている規定値よりも小さい加工軸に対し、両者の間隔
が規定値となるようにツール突出し量を修正するもので
ある。また、ツール突出し量は、前述したように、加工
精度上の問題から所定の値(許容値)を超えることは許
されないので、加工軸情報ファイル29に登録されてい
る許容値と比較して、修正されたツール突出し量が許容
値内におさまるかどうかをチェックする機能をも有して
いる。修正ツール突出し量が許容値を超えるときは、グ
ルーピング実行部30を介して当該グルーピング結果を
キャンセルし、その旨オペレータに知らせる。チェック
を経た修正ツール突出し量は加工軸情報ファイル29に
格納され、ツール突出し量のデータを修正値に更新す
る。
The tool protrusion amount correction unit 32 has a machining axis in which the distance between the workpiece and the machining axis component (in this embodiment, the holder 42 and the front case 44) is smaller than the specified value registered in the machining axis information file 29. On the other hand, the tool protrusion amount is corrected so that the distance between the two becomes a specified value. Further, as described above, the tool protrusion amount is not allowed to exceed a predetermined value (allowable value) due to a problem in processing accuracy. Therefore, as compared with the allowable value registered in the processing axis information file 29, It also has a function to check whether the corrected tool overhang is within the allowable value. When the correction tool protrusion amount exceeds the permissible value, the grouping result is canceled via the grouping execution unit 30 and the operator is notified to that effect. The corrected tool protrusion amount that has been checked is stored in the machining axis information file 29, and the data of the tool protrusion amount is updated to the correction value.

【0047】ツール突出し量の修正方法は、具体的には
次のとおりである。まず、図8を用いてワーク50とホ
ルダー42との場合を説明する。このとき、加工終了位
置においてワーク50とホルダー42との間隔が規定値
よりも小さい場合としては、単に両者の間隔が狭い場合
(図8(A)の上図参照)と、ワーク50とホルダー4
2とが実際に干渉している、つまり重なり合っている場
合(図8(B)の上図参照)とがある。どちらの場合に
も、下記の式1に従って、ワーク50とホルダー42と
の間隔が前記規定値と等しくなるようにツール突出し量
を修正する(図8(A)(B)参照)。 P′=P+M=P+(D1 −S1 ) …式1 ただし、P′:修正後のツール突出し量 P :修正前のツール突出し量 M :修正分 D1 :規定値 S1 :算出された間隔(実際に干渉している場合は負と
なる) 次に、図9を用いてワーク50とフロントケース44と
の場合を説明する。このときも、加工終了位置において
ワーク50とフロントケース44との間隔が規定値より
も小さい場合としては、単に両者の間隔が狭い場合(図
示せず)と、ワーク50とフロントケース44とが実際
に干渉している場合(図9の上図参照)とがある。どち
らの場合にも、下記の式2に従って、ワーク50とフロ
ントケース44との間隔が前記規定値と等しくなるよう
にツール突出し量を修正する(図9参照)。 P′=P+M=P+(D2 −S2 ) …式2 ただし、P′:修正後のツール突出し量 P :修正前のツール突出し量 M :修正分 D2 :規定値 S2 :算出された間隔(実際に干渉している場合は負と
なる) なお、ここで修正対象となった加工軸が先行する処理に
おいてすでにツール突出し量の修正を受けている場合に
は、前回修正されたツール突出し量に今回の修正分を加
えた値が新たなツール突出し量となる。許容値内に入っ
ているかどうかのチェックは、もちろん最新の修正値
P′に対して行う。
The method of correcting the tool protrusion amount is specifically as follows. First, the case of the work 50 and the holder 42 will be described with reference to FIG. At this time, when the distance between the workpiece 50 and the holder 42 is smaller than the specified value at the machining end position, the distance between the workpiece 50 and the holder 42 is simply narrow (see the upper diagram of FIG.
2 and 2 actually interfere with each other, that is, they overlap each other (see the upper diagram of FIG. 8B). In either case, the tool protrusion amount is corrected so that the distance between the work 50 and the holder 42 becomes equal to the specified value according to the following formula 1 (see FIGS. 8A and 8B). P '= P + M = P + (D1-S1) ... Equation 1 where P': Tool protrusion amount after correction P: Tool protrusion amount before correction M: Correction component D1: Specified value S1: Calculated interval (actually The case of the work 50 and the front case 44 will be described below with reference to FIG. 9. Also at this time, when the distance between the work 50 and the front case 44 is smaller than the specified value at the machining end position, the case where the distance between the work 50 and the front case 44 is simply small (not shown) is actually the work 50 and the front case 44. In some cases (see the upper diagram of FIG. 9). In either case, the tool protrusion amount is corrected so that the distance between the work 50 and the front case 44 becomes equal to the specified value according to the following expression 2 (see FIG. 9). P '= P + M = P + (D2-S2) ... Equation 2 where P': Tool protrusion amount after correction P: Tool protrusion amount before correction M: Correction amount D2: Specified value S2: Calculated interval (actually (If it interferes, it will be negative.) If the machining axis that has been corrected here has already been corrected in the tool protrusion amount in the preceding process, the previously corrected tool protrusion amount The value with the modification added becomes the new tool protrusion amount. Of course, the latest correction value P'is checked to see if it is within the allowable value.

【0048】スピンドル突出し量修正部33は、同一グ
ルーピング内の加工軸に対し、フロントケース位置(フ
ロントケース44の前面の位置)の段差がなくなるよう
にスピンドル突出し量を修正するものである。グルーピ
ング処理によりタレット面に割り当てられた各加工軸の
周辺形状は、加工軸情報作成部27における加工軸構築
の際にすでに決定され、加工軸情報ファイル29に格納
されているが、加工軸のフロントケース位置が各加工軸
でばらばらの場合にはマシンの製作コストが余計にかか
るため、加工軸のフロントケース位置はできるだけそろ
えることが望まれる。スピンドル突出し量修正部33
は、そうした要請から、タレット面に割り当てられた加
工軸のフロントケース位置をそろえるという作業を自動
的に行うものである。また、スピンドル突出し量も、ツ
ール突出し量と同様に、加工精度上の問題から所定の値
(許容値)を超えることは許されないので、加工軸情報
ファイル29に登録されている許容値と比較して、修正
されたスピンドル突出し量が許容値内におさまるかどう
かをチェックする機能をも有している。修正スピンドル
突出し量が許容値を超えるときは、その旨をオペレータ
に知らせる。チェックを経た修正スピンドル突出し量は
加工軸情報ファイル29に格納され、スピンドル突出し
量のデータを修正値に更新する。
The spindle protrusion amount correction unit 33 corrects the spindle protrusion amount so that there is no step at the front case position (the position on the front surface of the front case 44) with respect to the processing axis in the same grouping. The peripheral shape of each machining axis assigned to the turret surface by the grouping process is already determined when the machining axis is constructed by the machining axis information creating unit 27 and is stored in the machining axis information file 29. If the case positions are different in each machining axis, the manufacturing cost of the machine is extra. Therefore, it is desirable that the front case positions of the machining axes are aligned as much as possible. Spindle protrusion amount correction unit 33
In response to such a request, the work of automatically aligning the front case position of the machining axis assigned to the turret surface is automatically performed. Similarly to the tool protrusion amount, the spindle protrusion amount is not allowed to exceed a predetermined value (allowable value) due to problems in machining accuracy, so compare it with the allowable value registered in the machining axis information file 29. It also has a function of checking whether the corrected spindle protrusion amount is within the allowable value. If the corrected spindle protrusion amount exceeds the allowable value, the operator is notified to that effect. The corrected spindle protrusion amount that has been checked is stored in the machining axis information file 29, and the data of the spindle protrusion amount is updated to the correction value.

【0049】スピンドル突出し量の修正方法は、具体的
には次のとおりである。まず、フロントケース位置がワ
ーク50の加工面から最も近い加工軸を検出する。検出
方法は次のとおりである。各加工軸に対し、加工情報フ
ァイル23および加工軸情報ファイル29から必要なデ
ータを読み出して、ワーク50の加工面と加工軸のフロ
ントケース位置との距離Iを計算し、I値が最も小さい
加工軸を選び出す。ここで、距離Iは、下記の式3によ
って求められる(図10参照)。 I=(P−C)+Q+R …式3 ただし、C:加工深さ P:ツール突出し量 Q:ホルダー高さ R:スピンドル突出し量 それから、加工終了位置における各加工軸のフロントケ
ース位置の位置データに基づいて、上記検出加工軸のフ
ロントケース位置からオペレータにより適当に設定され
た値(段差修正可能値)の範囲内にフロントケース位置
が存在する加工軸をすべて選び出し、それらをスピンド
ル突出し量の修正対象とする。それから、修正対象とさ
れた加工軸の中で、フロントケース位置が加工面から最
も遠くにある加工軸を基準として、その加工軸のフロン
トケース位置に他の加工軸のフロントケース位置がそろ
うように修正対象加工軸のスピンドル突出し量を修正す
る。具体的には、基準とされた加工軸と他の修正対象加
工軸とのフロントケース位置の段差量をそれぞれ算出
し、前記他の修正対象加工軸のスピンドル突出し量に前
記算出した段差量を加算する。なお、前記段差修正可能
値は、オペレータによりキーボード12を介してキー入
力される。
The method of correcting the spindle protrusion amount is specifically as follows. First, the machining axis whose front case position is closest to the machining surface of the workpiece 50 is detected. The detection method is as follows. For each machining axis, necessary data is read from the machining information file 23 and the machining axis information file 29, the distance I between the machining surface of the workpiece 50 and the front case position of the machining axis is calculated, and machining with the smallest I value is performed. Select the axis. Here, the distance I is calculated by the following Expression 3 (see FIG. 10). I = (P−C) + Q + R ... Equation 3 where C: machining depth P: tool protrusion amount Q: holder height R: spindle protrusion amount Then, in the position data of the front case position of each machining axis at the machining end position. Based on the detected machining axis front case position, select all machining axes whose front case position is within the range of values (step correction possible value) set appropriately by the operator, and correct them for spindle protrusion amount correction. And Then, of the machining axes that are subject to correction, the front case position of the other machining axis should be aligned with the front case position of that machining axis, with the machining axis that is farthest from the machining surface as the reference. Correct the spindle protrusion amount of the target machining axis. Specifically, the step difference of the front case position between the reference machining axis and the other correction target machining axis is calculated, and the calculated step difference is added to the spindle protrusion amount of the other correction target machining axis. To do. The step-correctable value is keyed in by the operator via the keyboard 12.

【0050】以上を図11を用いて具体的に説明する。
同一のタレット面に割り当てられた4つの加工軸S1 〜
S4 が、図11の左図に示すような加工終了位置にある
とする。このとき、加工面から最も近い加工軸はS1 軸
であり、このS1 軸のフロントケース位置から入力され
た段差修正可能値Eの範囲内にフロントケース位置があ
る加工軸はS2 軸とS3 軸である。したがって、S1
軸、S2 軸、S3 軸が修正対象となる。そしてS1 軸〜
S3 軸の中で、フロントケース位置が加工面から最も遠
いのはS2 軸であるから、このS2 軸のフロントケース
位置にS1 軸とS3 軸のフロントケース位置を合わせる
ようにS1 軸とS3 軸のスピンドル突出し量を修正す
る。このとき、S1 軸〜S3 軸の修正前のスピンドル突
出し量をそれぞれR1 、R2 、R3 、修正後のスピンド
ル突出し量をそれぞれR1 ′、R2 ′、R3 ′とする
と、下記の式4〜式6が成立する。 R1 ′=R1 +a …式4 R2 ′=R2 …式5 R3 ′=R3 +b …式6 ただし、a:S1 軸とS2 軸とのフロントケース位置の
段差量 b:S2 軸とS3 軸とのフロントケース位置の段差量 ここで、修正後のスピンドル突出し量R1 ′〜R3 ′
は、前述したように、所定の許容値を超えることは許さ
れない。修正の結果は、図11の右図に示すとおりであ
る。
The above will be described in detail with reference to FIG.
Four machining axes S1 assigned to the same turret surface
It is assumed that S4 is at the machining end position as shown on the left side of FIG. At this time, the machining axis closest to the machining surface is the S1 axis, and the machining axes that have the front case position within the range of the level difference correctable value E input from the front case position of the S1 axis are the S2 axis and the S3 axis. is there. Therefore, S1
Axis, S2 axis, S3 axis are the correction target. And S1 axis ~
Of the S3 axes, the front case position is farthest from the machined surface is the S2 axis, so that the front case positions of the S1 axis and S3 axis should be aligned with the front case position of this S2 axis. Correct the protruding amount of the spindle. At this time, if the pre-correction spindle protrusion amounts of the S1 to S3 axes are R1, R2, and R3, and the corrected spindle protrusion amounts are R1 ', R2', and R3 ', respectively, the following equations 4 to 6 are obtained. To establish. R1 '= R1 + a ... Equation 4 R2' = R2 ... Equation 5 R3 '= R3 + b ... Equation 6 However, a: the step difference between the front case positions of the S1 and S2 axes b: the front of the S2 and S3 axes Step amount of case position Here, after correction, the spindle protrusion amount R1 'to R3'
Is not allowed to exceed a predetermined tolerance, as described above. The result of the correction is as shown in the right diagram of FIG.

【0051】タレット重量検証部34は、タレットマシ
ンの各タレット面の重量を算出し、その重量バランスを
チェックするとともに、タレット面の総重量が所定の許
容値内におさまっているかどうかをチェックする機能を
有している。タレット面の重量が各タレット面で大きく
異なっている場合には、タレットマシンの旋回時にバラ
ンスが悪くなったり、あるいは加工時においても加工タ
レット面が微妙に上下に向いてしまう等、所定の精度を
出すことができなくなるおそれがある(図12参照)。
また、各タレット面の重量を加算した総重量が所定の許
容値(最大総重量)を超える場合には、タレットマシン
を旋回させるモータへの負荷や、タレットマシンを移動
(早送り、切削送りなど)させる際の動力などで問題が
生じるおそれがある。したがって、本発明のように、タ
レットの重量を考慮することによって、設計検討(グル
ーピング)の精度を上げることができるようになる。
The turret weight verification unit 34 has a function of calculating the weight of each turret surface of the turret machine, checking the weight balance, and checking whether the total weight of the turret surface is within a predetermined allowable value. have. If the weight of the turret surface is significantly different on each turret surface, the turret machine may be out of balance when turning, or the machining turret surface may slightly deviate vertically during machining. It may not be possible to take it out (see FIG. 12).
If the total weight of the turret surfaces exceeds the predetermined allowable value (maximum total weight), the load on the motor that rotates the turret machine and the movement of the turret machine (fast feed, cutting feed, etc.) There is a possibility that a problem may occur due to the power when performing the operation. Therefore, by considering the weight of the turret as in the present invention, it is possible to improve the accuracy of design examination (grouping).

【0052】各タレット面の重量の算出方法は、まず、
対象となるタレット面に割り当てられたすべての加工軸
を加工軸情報ファイル29から検索し、その型式型番を
もとにして重量データファイル22から加工軸を構成す
る各部品の重量データを読み出し、それらの合計を算出
する。また、フロントケース44とギアケース48の重
量は、タレット面の面積ごとにおおよその重量があらか
じめ重量データファイル22に登録されているので、こ
れを参照して、フロントケース44およびギアケース4
8のおおよその重量を算出する。そして、これら加工軸
(フロントケース48を除く)の重量、フロントケース
44の重量、およびギアケース48の重量をすべて加算
して、対象となるタレット面のおおよその重量を算出す
る。このように、本実施例では、タレット面のおおよそ
の重量を算出するが、それで足りるのは、ここで問題と
されるタレット面の重量は各タレット面の間で大幅に
(後述する規定値外)異なっていなければよいので、そ
もそもタレット面の重量をあまり高精度に求める必要は
ないからである。そこで、フロントケース44とギアケ
ース48の重量の算出に当たっては、簡便性も考慮し
て、タレット面の面積からそれらのおおよその重量を求
めるようにしているのである。
The calculation method of the weight of each turret surface is as follows.
All the machining axes assigned to the target turret surface are searched from the machining axis information file 29, the weight data of each component constituting the machining axis is read from the weight data file 22 based on the model number, and these are read. Calculate the sum of As for the weights of the front case 44 and the gear case 48, approximate weights are registered in advance in the weight data file 22 for each area of the turret surface.
Calculate the approximate weight of 8. Then, the weights of these machining axes (excluding the front case 48), the weight of the front case 44, and the weight of the gear case 48 are all added to calculate the approximate weight of the target turret surface. As described above, in this embodiment, the approximate weight of the turret surface is calculated, but it is sufficient that the weight of the turret surface, which is a problem here, is significantly different between the turret surfaces (outside the specified value described later). This is because the weight of the turret surface does not need to be calculated with high accuracy in the first place because it does not have to be different. Therefore, in calculating the weights of the front case 44 and the gear case 48, the approximate weights of the front case 44 and the gear case 48 are calculated from the area of the turret surface in consideration of simplicity.

【0053】また、タレット面の重量バランスのチェッ
ク方法は、重量を算出したタレット面の対角に位置する
タレット面がすでにグルーピング済であれば、両タレッ
ト面の重量差を算出し、重量データファイル22に登録
されている所定の規定値と比較する。そして、重量差が
規定値を超えているときは、グルーピング実行部30を
介してオペレータとの対話操作によりどちらか一方のタ
レット面のグルーピング結果をキャンセルし、規定値以
内であるときは、そのタレット面の重量をマシン諸元フ
ァイル21に格納する。また、対角にあるタレット面が
グルーピング未実施の場合であれば、そのグルーピング
未実施のタレット面にとりあえず同等の重量(バランス
おもり)を付加し、これをその対角タレット面の重量と
してマシン諸元ファイル21に格納する。その後、グル
ーピング未実施のタレット面に対してグルーピングが実
施され、重量バランスのチェックを経た有効なタレット
面の重量が求まると、マシン諸元ファイル21内の当該
タレット面の重量は、そのグルーピング後の有効な重量
の値に更新される。
Further, the method of checking the weight balance of the turret surfaces is such that if the turret surfaces located diagonally of the turret surface for which the weight has been calculated have already been grouped, the weight difference between the turret surfaces is calculated and the weight data file is calculated. It is compared with a prescribed value registered in No. 22. When the weight difference exceeds the specified value, the grouping result of either one of the turret surfaces is canceled by an interactive operation with the operator via the grouping execution unit 30, and when it is within the specified value, the turret The surface weight is stored in the machine specification file 21. If the turret surface on the diagonal is not grouped, add an equal weight (balance weight) to the turret surface that is not grouped and use this as the weight of the diagonal turret surface. Stored in the original file 21. After that, grouping is performed on the turret surface that has not been grouped, and when the effective weight of the turret surface after checking the weight balance is obtained, the weight of the turret surface in the machine specification file 21 is Updated to a valid weight value.

【0054】さらに、タレット面の総重量のチェック
は、マシン諸元ファイル21からタレット面の重量を読
み出して順次加算していき、タレット面の重量の総和、
つまり総重量を求め、求めたタレット面の総重量を重量
データファイル22に登録されている所定の許容値と比
較することによって行う。タレット面の総重量が許容値
を超えているときは、最も重いタレット面を検索してオ
ペレータに提示する。これを受けてオペレータは、最も
重いとされたタレット面に対してグルーピングを再実行
することになる。
Further, to check the total weight of the turret surface, the weight of the turret surface is read from the machine specification file 21 and sequentially added to obtain the total weight of the turret surface,
That is, the total weight is obtained, and the obtained total weight of the turret surface is compared with a predetermined allowable value registered in the weight data file 22. When the total weight of the turret surface exceeds the allowable value, the heaviest turret surface is searched and presented to the operator. In response to this, the operator re-executes the grouping for the turret surface which is considered to be the heaviest.

【0055】なお、タレットマシン以外のマシン(たと
えばマシニングセンタ、専用機)の場合には、重量バラ
ンスは問題とならないので、ギヤヘッドの総重量を算出
し、許容値と比較してそのチェックを行うだけでよい。
In the case of a machine other than the turret machine (for example, a machining center or a dedicated machine), the weight balance does not cause any problem. Therefore, the total weight of the gear head is calculated, and it is checked by comparing it with the allowable value. Good.

【0056】マシン原位置座標算出部35は、ワーク情
報ファイル20および加工軸情報ファイル23から所定
の必要なデータを読み出して、マシンの原位置(加工開
始位置)の座標値を自動的に決定するものである。従
来、マシンの原位置は、設計者が、ワークの位置、エア
カット量、加工軸の長さなどを考慮して、自分で計算し
て決めていたのを、所定のデータに基づいて自動的に算
出するようにしたものである。求めたマシンの原位置の
座標値は、図示しない専用のファイルに格納され、必要
に応じて出力装置10、16、17を介してオペレータ
に提供される。
The machine original position coordinate calculating section 35 reads predetermined necessary data from the work information file 20 and the machining axis information file 23, and automatically determines the coordinate value of the original position (machining start position) of the machine. It is a thing. Conventionally, the original position of the machine was automatically calculated by the designer based on the predetermined data, which was determined by the designer himself considering the work position, air cut amount, machining axis length, etc. It is calculated as follows. The obtained coordinate values of the original position of the machine are stored in a dedicated file (not shown) and provided to the operator via the output devices 10, 16 and 17 as necessary.

【0057】具体的には、タレット面ごとのグルーピン
グ結果において、まず、そのグルーピングに属する加工
軸に対し、加工軸情報ファイル23から所定の必要デー
タを読み出して、下記の式7に従って加工軸の長さ(フ
ロントケース高さを含む)Lを計算する(図13参
照)。なお、ここでは加工軸の長さにギアケース高さを
加えていないが、それは、ギアケース48は1つのタレ
ット面に割り当てられた全加工軸に共通であるから、計
算を簡単化するためであって、もちろん加工軸の長さに
ギアケース高さを加えることも可能である。 L=C+P+Q+R+T …式7 ただし、C:ツール先端長 P:ツール突出し量 Q:ホルダー高さ R:スピンドル突出し量 T:フロントケース高さ それから、上記の計算結果に基づいて、長さが最も長い
加工軸を選び出し、この最長加工軸のツール先端が、オ
ペレータによりキーボード12を介してキー入力された
エアカット量Aだけワーク50の加工面からマシン側へ
離れた位置にくるようにマシンの原位置を決定する。こ
こで、前記エアカット量Aは、あらかじめ適当なファイ
ル(たとえばマシン諸元ファイル21)に登録してお
き、必要に応じて読み出すようにしてもよい。マシンの
原位置が決まると、さらにワーク情報ファイル20とマ
シン諸元ファイル21から所定の必要なデータを読み出
して、ワーク基準位置に対するマシンの原位置の座標値
(γ,δ)を算出する。たとえば、加工方向におけるマ
シンの座標値δは、下記の式8によって求められる。 δ=β+A+L+U+V …式8 =β+A+(C+P+Q+R+T)+U+V ただし、(α,β):加工穴の座標値 A :エアカット量 L :加工軸長さ(フロントケース高さを含む) U :ギアケース高さ V :タレット面の寸法 次に、図14〜図20を参照して本装置の動作を説明す
る。なお、ここでは、簡単化のため、図4に示される加
工軸をタレットマシンに割り当てる場合を例にとって説
明する。図14は本装置の動作を概略的に示すメインフ
ローチャートである。電源が投入されてプログラムがス
タートすると、まず、加工軸の構築などを行う前処理を
実行する(S1)。次に、グルーピング実行部30にお
いて、オペレータとの対話操作により、どの加工軸を、
どのマシンの、どのギアヘッドに割り当てるかを検討す
る。タレットマシンの場合は、どの加工軸を、どのタレ
ットマシンの、どのタレット面に割り振るかを検討し、
結果を加工軸情報ファイル29に格納する(S2)。こ
のグルーピング処理が終わると、順次、ワーク50とホ
ルダー42との干渉チェック処理(S3)、ワーク50
とフロントケース44との干渉チェック処理(S4)、
フロントケース44間の段差修正処理(S5)、タレッ
トの重量チェック処理(S6)、マシンの原位置座標算
出処理(S7)を実行する。その際、ステップS3、S
4、S6においては、所定の判断の結果としてステップ
S2に戻り、ステップS2以下の処理を繰り返すことが
ある。
Specifically, in the grouping result for each turret surface, first, predetermined necessary data is read from the machining axis information file 23 for the machining axis belonging to the grouping, and the machining axis length is calculated according to the following equation 7. Calculate L (including front case height) (see FIG. 13). Note that the gear case height is not added to the length of the machining axis here, but this is because the gear case 48 is common to all machining axes assigned to one turret surface, so that the calculation is simplified. Of course, it is also possible to add the gear case height to the length of the machining axis. L = C + P + Q + R + T ... Equation 7 However, C: Tool tip length P: Tool protrusion amount Q: Holder height R: Spindle protrusion amount T: Front case height Then, based on the above calculation results, the longest machining The axis is selected, and the original position of the machine is set so that the tool tip of this longest machining axis is located away from the machining surface of the workpiece 50 toward the machine by the air cut amount A keyed by the operator via the keyboard 12. decide. Here, the air cut amount A may be registered in advance in an appropriate file (for example, the machine specification file 21) and read out as needed. When the original position of the machine is determined, predetermined necessary data is further read from the work information file 20 and the machine specification file 21, and the coordinate value (γ, δ) of the original position of the machine with respect to the work reference position is calculated. For example, the machine coordinate value δ in the processing direction is obtained by the following equation 8. δ = β + A + L + U + V Equation 8 = β + A + (C + P + Q + R + T) + U + V However, (α, β): Coordinate value of the machining hole A: Air cut amount L: Machining shaft length (including front case height) U: Gear case height V: Dimensions of Turret Surface Next, the operation of the present apparatus will be described with reference to FIGS. Here, for simplification, a case where the machining axis shown in FIG. 4 is assigned to the turret machine will be described as an example. FIG. 14 is a main flow chart schematically showing the operation of this device. When the power is turned on and the program is started, first, preprocessing for constructing a machining axis is executed (S1). Next, in the grouping execution unit 30, which machining axis is to be changed by an interactive operation with the operator.
Consider which machine and which gearhead to assign. In the case of a turret machine, consider which machining axis is to be assigned to which turret surface of which turret machine.
The result is stored in the machining axis information file 29 (S2). When this grouping process is completed, the interference check process between the work 50 and the holder 42 (S3), the work 50 is sequentially performed.
Interference check processing between the front case 44 and the front case 44 (S4),
A step correction process (S5) between the front cases 44, a turret weight check process (S6), and a machine original position coordinate calculation process (S7) are executed. At that time, steps S3 and S
In steps S4 and S6, as a result of the predetermined determination, the process may return to step S2, and the processing from step S2 onward may be repeated.

【0058】図15は図14のステップS1の前処理の
フローチャートである。図15の前処理においては、ま
ず、各種データの入力が行われる。すなわち、オペレー
タにより入力装置12を介して、または他のCADシス
テムから、ワークに関するワーク情報(ワークの形状デ
ータ、加工部位の位置データなど)を入力してワーク情
報ファイル20に格納し(S11)、同じくオペレータ
により入力装置12を介して、マシンの諸元(タレット
マシンの場合は、タレット面の個数、タレット面の面
積、タレット面の寸法など)を入力してマシン諸元ファ
イル21に格納し(S12)、同じくオペレータにより
入力装置12を介して、加工軸の構成部品(ツール4
0、ホルダー42、スピンドル41、ベアリング43、
フロントケース44など)の重量データを型式型番ごと
に入力し、また、フロントケース44とギアケース48
のおおよその重量をタレット面積ごとに入力し、さら
に、タレット面の重量バランス判定用の規定値、および
全タレット面の総重量判定用の許容値を入力し、これら
のデータを重量データファイル22に格納する(S1
3)。さらには、同じくオペレータにより入力装置12
を介して、所定の加工情報表記パターンに従って各加工
部位に対する加工情報(加工部位名称、加工種類、加工
形状、加工前情報、加工方向、加工優先度など)を入力
して加工情報ファイル23に格納する(S14)。な
お、ステップS11〜S14の入力処理の順番は本実施
例のものに限定されず、任意でよい。
FIG. 15 is a flowchart of the preprocessing of step S1 of FIG. In the preprocessing of FIG. 15, first, various data are input. That is, the operator inputs work information (work shape data, machining portion position data, etc.) related to the work via the input device 12 or from another CAD system and stores it in the work information file 20 (S11). Similarly, the operator inputs the machine specifications (in the case of a turret machine, the number of turret surfaces, the area of the turret surface, the dimensions of the turret surface, etc.) via the input device 12 and stores them in the machine specification file 21 ( S12), similarly through the input device 12 by the operator, the components of the machining axis (tool 4
0, holder 42, spindle 41, bearing 43,
Enter the weight data of the front case 44, etc. for each model and model number.
Enter the approximate weight for each turret area, and also enter the specified value for determining the weight balance of the turret surface and the allowable value for determining the total weight of all turret surfaces, and enter these data into the weight data file 22. Store (S1
3). Further, the operator also inputs the input device 12
Via, the processing information (processing site name, processing type, processing shape, pre-processing information, processing direction, processing priority, etc.) for each processing site is input according to a predetermined processing information notation pattern and stored in the processing information file 23. Yes (S14). The order of the input processing in steps S11 to S14 is not limited to that in this embodiment, and may be arbitrary.

【0059】上記の入力処理が終わると、工程分割決定
部24において、加工情報ファイル23に登録されてい
る加工情報に基づいて自動的に加工工程分割を行い、結
果を工程分割情報ファイル26に格納する(S15)。
具体的には、各加工部位に対し、加工情報ファイル23
から加工部位名称、加工種類、最終加工形状(寸法)を
読み出して、加工部位名称をもとにして工程分割決定フ
ァイル25を参照しながら、優先順位に従って自動的に
加工工程分割を行い、そして分割された工程ごとに最終
加工形状(寸法)をもとにして加工形状の寸法を自動設
定し、さらには加工種類をもとにして使用ツールの種類
を自動設定する。
When the above input processing is completed, the process division decision unit 24 automatically divides the machining process based on the machining information registered in the machining information file 23, and stores the result in the process division information file 26. Yes (S15).
Specifically, for each processing part, the processing information file 23
The machining part name, the machining type, and the final machining shape (dimension) are read from, and the machining process is automatically divided according to the priority order while referring to the process division decision file 25 based on the machining part name, and the division is performed. The dimension of the machining shape is automatically set based on the final machining shape (dimension) for each process, and the type of tool used is automatically set based on the machining type.

【0060】それから、加工軸情報作成部27のツール
決定部において、工程分割情報ファイル26から各分割
工程の加工情報(加工形状、ツールの種類)を読み出
し、ツーリング情報ファイル28を参照しながら、分割
工程ごとに最適な使用ツールを自動決定し(S16)、
さらに、加工軸情報作成部27のツーリング情報作成部
において、ステップS16で決定された使用ツールの型
式型番をもとにしてツーリング情報ファイル28を参照
しながら、加工軸を構成する他の部品(ホルダー42、
スピンドル41、ベアリング43、ベアリングキャップ
45、フロントケース44など)を自動決定する(S1
7)。こうして、加工軸情報作成部27は、分割された
各工程に対し、加工軸の構成部品(ツール40、ホルダ
ー42、スピンドル41、ベアリング43、ベアリング
キャップ45、フロントケース44など)に関する情報
を自動決定して加工軸を構築し(図3参照)、結果を加
工軸情報ファイル29に格納する。これにより、加工軸
の周辺形状が作成されたことになる。なお、この処理に
おいて、上記したように、ツール径と先端角とからツー
ル先端長が計算され、また、ツール突出し量およびスピ
ンドル突出し量はそれぞれ所定の標準値に設定される。
また、本実施例では、規定値と許容値はあらかじめシス
テム内に設定登録されているものとしているが、規定値
については、上述のように、このステップS1の前処理
段階においてキー入力するようにしてもよい。
Then, in the tool determining section of the machining axis information creating section 27, the machining information (machining shape, tool type) of each division process is read from the process division information file 26, and the division is performed while referring to the tooling information file 28. The optimum tool to be used is automatically determined for each process (S16),
Further, the tooling information creation unit of the working axis information creation unit 27 refers to the tooling information file 28 based on the model number of the tool used in step S16, and refers to other parts (holders) that make up the working axis. 42,
The spindle 41, the bearing 43, the bearing cap 45, the front case 44, etc. are automatically determined (S1).
7). In this way, the machining axis information creation unit 27 automatically determines information regarding the components of the machining axis (tool 40, holder 42, spindle 41, bearing 43, bearing cap 45, front case 44, etc.) for each divided process. Then, the machining axis is constructed (see FIG. 3), and the result is stored in the machining axis information file 29. As a result, the peripheral shape of the machining axis is created. In this process, as described above, the tool tip length is calculated from the tool diameter and the tip angle, and the tool protrusion amount and the spindle protrusion amount are set to predetermined standard values.
Further, in the present embodiment, the specified value and the allowable value are set and registered in the system in advance. However, as described above, the specified value may be keyed in in the pre-processing stage of step S1. May be.

【0061】図16は図14のステップ3の干渉チェッ
ク処理のフローチャートである。この処理においては、
まず、部品干渉検証部31において、グルーピング処理
によりタレット面に割り振られた各加工軸に対し、上記
した方法(図6と図7参照)により、加工終了位置にお
けるワーク50とホルダー42との間隔S1 を算出し
(S21)、結果S1 を加工軸情報ファイル29に登録
されている所定の規定値D1 と比較して、算出した間隔
S1 が規定値D1 よりも小さい加工軸が存在するかどう
かを判断する(S22)。規定値D1 よりも小さい加工
軸が存在しなければ、当該タレット面に割り当てられた
すべての加工軸についてワーク50とホルダー42との
間隔は規定値D1 以上で良好な位置関係を保っているも
のと判断してリターンし、図14のステップS4に進
む。
FIG. 16 is a flowchart of the interference check process of step 3 of FIG. In this process,
First, in the component interference verification unit 31, the distance S1 between the workpiece 50 and the holder 42 at the machining end position is calculated by the above method (see FIGS. 6 and 7) for each machining axis assigned to the turret surface by the grouping process. Is calculated (S21), and the result S1 is compared with a predetermined prescribed value D1 registered in the machining axis information file 29 to determine whether or not there is a machining axis whose calculated interval S1 is smaller than the prescribed value D1. Yes (S22). If there is no machining axis smaller than the specified value D1, it is assumed that the distance between the workpiece 50 and the holder 42 for all the machining axes assigned to the turret surface is equal to or larger than the specified value D1 and a good positional relationship is maintained. The determination is made and the process returns, and the process proceeds to step S4 in FIG.

【0062】これに対し、ステップS22の判断の結果
として規定値D1 よりも小さい加工軸が存在すれば、こ
れらの加工軸(対象加工軸)に対し、ツール突出し量修
正部32において、まず、上記した式1に従って、ワー
ク50とホルダー42との間隔が規定値D1 と等しくな
るようなツール突出し量P′を算出し(S23)、結果
を加工軸情報ファイル29に登録されている所定の許容
値と比較して、算出したツール突出し量P′が対象加工
軸のすべてについて許容値内に入っているかどうかを判
断する(S24)。すべて許容値内に入っておれば、そ
の値P′を修正値として加工軸情報ファイル29に格納
してツール突出し量のデータをその修正値P′に更新す
る(S26)。これに対し、すべて許容値内に入ってい
なければ、グルーピング実行部30を介して当該ギアヘ
ッド(タレット面)に対するグルーピング結果をキャン
セルし(S25)、図14のステップS2に戻って、対
話操作によってNGの加工軸のみを当該タレット面から
はずしたり、あるいは当該タレット面に対するグルーピ
ングのやり直しなどを行い、ステップ24の判断結果が
OKとなるまでステップS21〜S25の処理を繰り返
す(以上、図8(A)(B)参照)。
On the other hand, if there are machining axes smaller than the specified value D1 as a result of the determination in step S22, the tool protrusion amount correction unit 32 first performs the above processing on these machining axes (target machining axes). The tool protrusion amount P'so that the distance between the workpiece 50 and the holder 42 becomes equal to the specified value D1 is calculated according to the equation 1 (S23), and the result is a predetermined allowable value registered in the machining axis information file 29. Then, it is determined whether or not the calculated tool protrusion amount P ′ is within the allowable value for all the target machining axes (S24). If all are within the allowable value, the value P'is stored as a correction value in the machining axis information file 29, and the data of the tool protrusion amount is updated to the correction value P '(S26). On the other hand, if all are not within the allowable value, the grouping result for the gear head (turret surface) is canceled via the grouping execution unit 30 (S25), and the process returns to step S2 in FIG. The processing axis is removed from the turret surface, or the grouping is performed again on the turret surface, and the processes in steps S21 to S25 are repeated until the result of the determination in step 24 is OK (above, FIG. 8A). (See (B)).

【0063】図17は図14のステップ4の干渉チェッ
ク処理のフローチャートである。この処理においては、
上記したステップS3の処理と同様、まず、部品干渉検
証部31において、グルーピング処理によりタレット面
に割り振られた各加工軸に対し、上記した方法によ
り、、加工終了位置におけるワーク50とフロントケー
ス44との間隔S2 を算出し(S31)、結果S2 を加
工軸情報ファイル29に登録されている所定の規定値D
2 と比較して、算出した間隔S2 が規定値D2よりも小
さい加工軸が存在するかどうかを判断する(S32)。
規定値D2 よりも小さい加工軸が存在しなければ、当該
タレット面に割り当てられたすべての加工軸についてワ
ーク50とフロントケース44との間隔は規定値D2 以
上で良好な位置関係を保っているものと判断してリター
ンし、さらに図14のステップS5に進む。
FIG. 17 is a flowchart of the interference check process of step 4 of FIG. In this process,
Similar to the process of step S3 described above, first, in the component interference verification unit 31, the workpiece 50 and the front case 44 at the machining end position are processed by the above-described method for each machining axis assigned to the turret surface by the grouping process. The distance S2 is calculated (S31), and the result S2 is set to the predetermined specified value D registered in the machining axis information file 29.
By comparing with 2, it is determined whether or not there is a machining axis whose calculated interval S2 is smaller than the specified value D2 (S32).
If there is no machining axis smaller than the specified value D2, the distance between the workpiece 50 and the front case 44 for all the machining axes assigned to the turret surface is not less than the specified value D2 and a good positional relationship is maintained. Then, the process returns and further proceeds to step S5 of FIG.

【0064】これに対し、ステップS32の判断の結果
として規定値D2 よりも小さい加工軸が存在すれば、こ
れらの加工軸(対象加工軸)に対し、ツール突出し量修
正部32において、まず、上記した式2に従って、ワー
ク50とフロントケース44との間隔が規定値D2 と等
しくなるようなツール突出し量P′を算出し(S3
3)、結果を加工軸情報ファイル29に登録されている
所定の許容値と比較して、算出したツール突出し量P′
が対象加工軸のすべてについて許容値内に入っているか
どうかを判断する(S34)。すべて許容値内に入って
おれば、その値P′を修正値として加工軸情報ファイル
29に格納してツール突出し量のデータをその修正値
P′に更新するが(S36)、そうでなければ、つまり
すべて許容値内に入っていなければ、グルーピング実行
部30を介して当該ギアヘッド(タレット面)に対する
グルーピング結果をキャンセルし(S35)、図14の
ステップS2に戻って、対話操作によってNGの加工軸
のみを当該タレット面からはずしたり、あるいは当該タ
レット面に対するグルーピングのやり直しなどを行い、
ステップS34の判断結果がOKとなるまでステップS
31〜S35の処理を繰り返す(以上、図9参照)。な
お、前述したように、ステップS33で得られる修正ツ
ール突出し量P′は、ステップS3の処理においてツー
ル突出し量の修正を受けた加工軸の場合には、前回修正
されたツール突出し量に今回の修正分を加えた値とな
る。
On the other hand, if there are machining axes smaller than the specified value D2 as a result of the determination in step S32, the tool protrusion amount correction unit 32 first performs the above-mentioned processing on these machining axes (target machining axes). According to the equation 2, the tool protrusion amount P'so that the distance between the workpiece 50 and the front case 44 becomes equal to the specified value D2 is calculated (S3
3) Comparing the result with a predetermined allowable value registered in the machining axis information file 29, the calculated tool protrusion amount P ′
Determines whether or not is within the allowable value for all the target machining axes (S34). If all are within the allowable value, the value P ′ is stored in the machining axis information file 29 as a correction value and the data of the tool protrusion amount is updated to the correction value P ′ (S36), but otherwise. That is, if all are not within the allowable value, the grouping result for the gear head (turret surface) is canceled via the grouping execution unit 30 (S35), and the process returns to step S2 in FIG. Remove only the axis from the turret surface, or re-group the turret surface,
Until the determination result of step S34 is OK, step S
The processing from 31 to S35 is repeated (see FIG. 9 above). As described above, the corrected tool protrusion amount P ′ obtained in step S33 is the same as the previously corrected tool protrusion amount in the case of the machining axis whose tool protrusion amount is corrected in the process of step S3. It is the value with the correction added.

【0065】図18は図14のステップ5のフロントケ
ース間段差修正処理のフローチャートである。まず、ス
ピンドル突出し量修正部33において、オペレータによ
りキーボード12を介して、段差修正の対象となる加工
軸を選出するための値E(段差修正可能値)をキー入力
する(S41)。
FIG. 18 is a flowchart of the front case level difference correcting process in step 5 of FIG. First, in the spindle protrusion amount correction unit 33, the operator inputs a value E (step correction possible value) for selecting a machining axis to be a step correction target, via the keyboard 12 (S41).

【0066】次に、当該タレット面に割り当てられてい
る各加工軸(S1 〜S4 )に対し、加工情報ファイル2
3および加工軸情報ファイル29から必要なデータ(加
工深さC、ツール突出し量P、ホルダー高さQ、スピン
ドル突出し量R)を読み出し、上記した式3に従って、
ワーク50の加工面と加工軸のフロントケース位置との
距離Iを計算し(S42)(図10参照)、得られた結
果からI値が最も小さい、つまり最短距離の加工軸(S
1 )を検出する(S43)。
Next, for each machining axis (S1 to S4) assigned to the turret surface, the machining information file 2
3 and the necessary data (processing depth C, tool protrusion amount P, holder height Q, spindle protrusion amount R) from the machining axis information file 29, and according to the above-mentioned formula 3,
The distance I between the machining surface of the workpiece 50 and the front case position of the machining axis is calculated (S42) (see FIG. 10), and the obtained value has the smallest I value, that is, the machining axis of the shortest distance (S
1) is detected (S43).

【0067】それから、加工終了位置における各加工軸
(S1 〜S4 )のフロントケース位置の位置データに基
づいて、前記検出加工軸(S1 )のフロントケース位置
から前記入力した段差修正可能値Eの範囲内にフロント
ケース位置が存在する加工軸(S1 〜S3 )をすべて選
び出し、これらをスピンドル突出し量の修正対象とする
(S44)。
Then, based on the position data of the front case position of each machining axis (S1 to S4) at the machining end position, the range of the level difference correctable value E input from the front case position of the detected machining axis (S1). All the machining axes (S1 to S3) in which the front case position exists are selected, and these are set as the correction targets of the spindle protrusion amount (S44).

【0068】それから、修正対象加工軸(S1 〜S3 )
の中で、フロントケース位置が加工面から最も遠くにあ
る加工軸(S2 )を基準として、その加工軸(S2 )の
フロントケース位置に他の加工軸(S1 、S3 )のフロ
ントケース位置をそろえるよう、たとえば上記した式4
〜式6に従って、修正対象加工軸(S1 〜S3 )のスピ
ンドル突出し量R1 ′〜R3 ′を算出する(S45)。
つまり、基準とされた加工軸(S2 )と他の修正対象加
工軸(S1 、S3 )とのフロントケース位置の段差量
a、bをそれぞれ算出し、修正対象加工軸(S1 、S3
)のスピンドル突出し量(R1 、R3 )に前記段差量
a、bを加算する。
Then, the machining axis to be corrected (S1 to S3)
Among the above, the front case position is based on the machining axis (S2) farthest from the machining surface, and the front case position of that machining axis (S2) is aligned with the front case positions of the other machining axes (S1, S3). , For example Equation 4 above
~ According to the equation 6, the spindle protrusion amounts R1 'to R3' of the correction target machining axes (S1 to S3) are calculated (S45).
That is, the step amounts a and b of the front case position between the reference machining axis (S2) and the other correction target machining axes (S1, S3) are calculated, and the correction target machining axes (S1, S3) are calculated.
), The amount of step difference a, b is added to the amount of protrusion (R1, R3) of the spindle.

【0069】それから、ステップS45の結果を加工軸
情報ファイル29に登録されている所定の許容値と比較
して、算出したスピンドル突出し量R1 ′〜R3 ′がす
べて許容値内に入っているかどうかを判断する(S4
6)。すべて許容値内に入っておれば、それらの値R1
′〜R3 ′を修正値として加工軸情報ファイル29に
格納してスピンドル突出し量のデータを更新するが(S
49)、すべて許容値内に入ってなければ、対話操作に
より、段差修正可能値Eを設定し直して(S47、S4
1)フロントケース位置をそろえる範囲を狭くしてステ
ップS42〜S46の処理を繰り返すか、あるいは、そ
の許容値外の加工軸についてはここではフロントケース
位置をそろえることはせずに当該修正対象から除外して
(S47、S48)残りの対象加工軸についてステップ
S49に進む。
Then, the result of step S45 is compared with a predetermined allowable value registered in the machining axis information file 29 to determine whether the calculated spindle protrusion amounts R1 'to R3' are all within the allowable values. Judge (S4
6). If all values are within the allowable values, those values R1
The data of the spindle protrusion amount is updated by storing "-R3" as a correction value in the machining axis information file 29 (S
49) If all values are not within the allowable values, the step-correctable value E is reset by an interactive operation (S47, S4).
1) The range of aligning the front case positions is narrowed and the processes of steps S42 to S46 are repeated, or machining axes outside the allowable value are excluded from the correction target without aligning the front case positions here. Then (S47, S48), the process proceeds to step S49 for the remaining target machining axes.

【0070】それから、当該タレット面に割り付けられ
た加工軸のすべてに対してステップS41〜S49の処
理が終了したかどうかを判断し(S50)、終了してお
れば、さらに図14のステップS6に進み、終了してい
なければ、ステップS41に戻ってS41〜S50の処
理を繰り返す(以上、図11参照)。
Then, it is judged whether or not the processes of steps S41 to S49 have been completed for all the machining axes assigned to the turret surface (S50), and if completed, the process proceeds to step S6 of FIG. If not, the process returns to step S41 and the processes of S41 to S50 are repeated (see FIG. 11).

【0071】図19は図14のステップ6のタレット重
量チェック処理のフローチャートである。ここでは、ま
ず、オペレータによりキーボード12を介して、ギアケ
ース48の高さをキー入力し、そのデータを加工軸情報
ファイル29に格納した(S60)後、重量検証部34
において、対象となるタレット面に割り当てられたすべ
ての加工軸を加工軸情報ファイル29から検索し、その
型式型番をもとにして重量データファイル22から加工
軸を構成する各部品の重量データを読み出し、それらの
合計を計算してタレット面の重量を算出する(S6
1)。その際、前述したように、フロントケース44と
ギアケース48の重量は、タレット面の面積ごとにおお
よその重量があらかじめ重量データファイル22に登録
されているので、これを参照して、フロントケース44
およびギアケース48についてはおおよその重量を求め
る。
FIG. 19 is a flowchart of the turret weight check process of step 6 of FIG. Here, first, the operator inputs the height of the gear case 48 through the keyboard 12 and stores the data in the machining axis information file 29 (S60), and then the weight verification unit 34.
In, the processing axis information file 29 is searched for all the processing axes assigned to the target turret surface, and the weight data of each component forming the processing axis is read from the weight data file 22 based on the model number. , And calculate the total of them to calculate the weight of the turret surface (S6).
1). At this time, as described above, since the approximate weights of the front case 44 and the gear case 48 are registered in advance in the weight data file 22 for each area of the turret surface, refer to this to refer to the front case 44.
The approximate weight of the gear case 48 is calculated.

【0072】次に、加工軸情報ファイル29を参照し
て、ステップS61で重量を算出したタレット面の対角
に位置するタレット面についてすでにステップS2のグ
ルーピング処理が行われているかどうかを判断し(S6
2)、グルーピング済であれば、両タレット面の重量差
を算出し(S63)、結果を重量データファイル22に
登録されている所定の規定値と比較して、重量差が規定
値内かどうかを判断する(S64)。この判断の結果と
して両タレット面の重量差が規定値内であれば、重量差
はそれほど大きくはなく重量バランスに問題はないもの
と判断して、算出したタレット面の重量をマシン諸元フ
ァイル21に格納してステップS67に進むが、規定値
内になければ、相互に対角位置にあるタレット面の重量
が著しく異なり重量バランスに問題があるものと判断し
て(図12参照)、対話操作により、どちらか一方のタ
レット面に対するグルーピング結果をキャンセルし(S
65)、図14のステップS2に戻り、割り当てる加工
軸を減らしたり増加させるなどの処理を行い、ステップ
S64の判断結果がOKとなるまで一連の処理を繰り返
す。
Next, with reference to the machining axis information file 29, it is determined whether or not the grouping processing of step S2 has already been performed on the turret surface positioned diagonally to the turret surface whose weight was calculated in step S61 ( S6
2) If grouping is completed, the weight difference between both turret surfaces is calculated (S63), and the result is compared with a prescribed value registered in the weight data file 22 to determine whether the weight difference is within the prescribed value. Is determined (S64). If the weight difference between the two turret surfaces is within the specified value as a result of this determination, it is determined that the weight difference is not so large and there is no problem in the weight balance, and the calculated weight of the turret surface is stored in the machine specification file 21. However, if it is not within the specified value, it is determined that the weights of the turret surfaces in diagonal positions are significantly different from each other and there is a problem in weight balance (see FIG. 12), and the interactive operation is performed. Cancels the grouping result for either one of the turret surfaces (S
65), the process returns to step S2 in FIG. 14 to perform processing such as reducing or increasing the assigned machining axis, and repeats a series of processing until the determination result in step S64 becomes OK.

【0073】これに対し、ステップS62の判断の結果
としてグルーピング済でなければ、そのグルーピング未
実施のタレット面にとりあえず同等の重量(バランスお
もり)を付加し、これをその対角タレット面の重量とし
てマシン諸元ファイル21に格納して(S66)、ステ
ップS67に進む。この場合には、その後、グルーピン
グ未実施のタレット面に対してグルーピングが実施さ
れ、重量バランスのチェック(S64)を経た有効なタ
レット面の重量が求まると、マシン諸元ファイル21内
の当該タレット面の重量は、そのグルーピング後の有効
な重量の値に更新されることになる。
On the other hand, if the grouping has not been completed as a result of the determination in step S62, an equivalent weight (balance weight) is added to the turret surface for which the grouping has not been performed, and this is used as the weight of the diagonal turret surface. It is stored in the machine specification file 21 (S66), and the process proceeds to step S67. In this case, after that, the turret surface that has not been grouped is grouped, and when the effective turret surface weight after the weight balance check (S64) is obtained, the turret surface in the machine specification file 21 is determined. Will be updated to the effective weight value after the grouping.

【0074】ステップS67では、マシン諸元ファイル
21から当該タレットマシンにおけるタレット面の重量
を読み出して順次加算していくことにより、タレット面
の重量の総和、つまり総重量を算出する。それから、算
出したタレット面の総重量を重量データファイル22に
登録されている所定の許容値と比較して、タレット面の
総重量が許容値内かどうかを判断する(S68)。総重
量が許容値内になければ、最も重いタレット面を検索
し、グルーピング実行部30を介してそのタレット面に
対するグルーピング結果をキャンセルし(S65)、図
14のステップS2に戻って、対話操作により、キャン
セルされたタレット面に対するグルーピング処理を再実
行し、ステップS68の判断結果がOKとなるまで、つ
まりタレット面の総重量が許容値内におさまるまで一連
の処理を繰り返す。
In step S67, the total weight of the turret surfaces, that is, the total weight is calculated by reading the weights of the turret surfaces of the turret machine from the machine specification file 21 and sequentially adding the weights. Then, the calculated total weight of the turret surface is compared with a predetermined allowable value registered in the weight data file 22 to determine whether the total weight of the turret surface is within the allowable value (S68). If the total weight is not within the allowable value, the heaviest turret surface is searched, the grouping result for that turret surface is canceled via the grouping execution unit 30 (S65), and the process returns to step S2 in FIG. The grouping process for the canceled turret surface is re-executed, and a series of processes is repeated until the determination result in step S68 is OK, that is, until the total weight of the turret surface falls within the allowable value.

【0075】それから、加工軸情報ファイル29を参照
して、当該タレットマシンのすべてのタレット面に対し
て当該タレット面に割り付けられた加工軸のすべてに対
してグルーピング処理が終了しているかどうかを判断し
(S69)、終了しておれば、さらに図14のステップ
S7に進み、終了していなければ、図14のステップS
2に戻って一連の処理を繰り返す。
Then, by referring to the machining axis information file 29, it is judged whether or not the grouping processing has been completed for all the machining axes assigned to the turret surface for all the turret surfaces of the turret machine. If it is completed (S69), the process proceeds to step S7 of FIG. 14, and if not completed, step S of FIG.
Returning to 2, the series of processes is repeated.

【0076】図20は図14のステップ7のマシン原位
置座標算出処理のフローチャートである。この処理にお
いては、マシン原位置座標算出部35において、図14
のステップS6までで決定されたタレット面ごとのグル
ーピング結果において、まず、オペレータによりキーボ
ード12を介してエアカット量Aをキー入力した(S7
1)後、対象となるタレット面に対するグルーピングに
属する加工軸に対し、加工軸情報ファイル23から所定
の必要データ(ツール先端長C、ツール突出し量P、ホ
ルダー高さQ、スピンドル突出し量R、フロントケース
高さT)を読み出して、上記した式7に従って、加工軸
の長さLを計算し(S72)、この結果に基づいて加工
軸長さが最長の加工軸を検出し(S73)、検出した最
長加工軸のツール先端が前記入力されたエアカット量A
だけワーク50の加工面からマシン側へ離れた位置にく
るようにマシンの原位置を決定する(S74)。それか
ら、ワーク情報ファイル20から加工穴の座標値、加工
軸情報ファイル23からギアケース高さU、そしてマシ
ン諸元ファイル21からタレット面の寸法Vを読み出
し、これらのデータと前記最長加工軸の加工軸長さLと
に基づいて、ワーク基準位置に対するマシンの原位置の
座標値(γ,δ)を算出する(S75)。たとえば、加
工方向におけるマシンの座標値δは、上記した式8に従
って算出する。そして、ステップS71〜S75の処理
をすべてのタレット面について終了するまで繰り返す
(以上、図13参照)。
FIG. 20 is a flowchart of the machine original position coordinate calculation processing in step 7 of FIG. In this process, in the machine original position coordinate calculation unit 35, as shown in FIG.
In the grouping result for each turret surface determined up to step S6, the operator first inputs the air cut amount A through the keyboard 12 (S7).
1) After that, predetermined necessary data (tool tip length C, tool protrusion amount P, holder height Q, spindle protrusion amount R, front) from the machining axis information file 23 for the machining axis belonging to the grouping for the target turret surface. The case height T) is read out, the length L of the machining axis is calculated according to the above-mentioned formula 7 (S72), and the machining axis having the longest machining axis length is detected based on this result (S73) and detected. The input air cut amount A is for the tool tip of the longest machining axis
The original position of the machine is determined so that the machine 50 is located away from the machined surface of the workpiece 50 toward the machine (S74). Then, the machining hole coordinate values from the work information file 20, the gear case height U from the machining axis information file 23, and the turret surface dimension V from the machine specification file 21 are read out, and these data and the machining of the longest machining axis are read. Based on the axis length L, the coordinate value (γ, δ) of the original position of the machine with respect to the work reference position is calculated (S75). For example, the coordinate value δ of the machine in the processing direction is calculated according to the above-mentioned equation 8. Then, the processing of steps S71 to S75 is repeated until all turret surfaces are completed (see FIG. 13 above).

【0077】したがって、本実施例によれば、タレット
面49に割り当てられた加工軸に対し、加工終了位置に
おけるワーク50と加工軸構成部品(ホルダー42、フ
ロントケース44)との干渉チェック(間隔が規定値以
上あるかどうかのチェック)を行い、規定値に満たない
場合には、間隔が規定値になるように加工軸のツール突
出し量を修正(長く)するようにしたので、ワークと加
工軸周辺形状との干渉が回避され、構築された加工軸の
周辺形状の最適化が図られる。
Therefore, according to this embodiment, with respect to the machining axis assigned to the turret surface 49, the interference between the workpiece 50 and the machining axis components (holder 42, front case 44) at the machining end position is checked (the interval is Checking whether there is a specified value or more), and if it is less than the specified value, the tool protrusion amount of the machining axis is corrected (longer) so that the interval becomes the specified value. The interference with the peripheral shape is avoided, and the peripheral shape of the constructed machining axis is optimized.

【0078】また、同一のタレット面49に割り当てら
れた加工軸に対し、フロントケース44間の段差がなく
なるように加工軸のスピンドル突出し量を修正するよう
にしたので、同一タレット面49に割り当てられる加工
軸のフロントケース位置ができるだけそろうようにな
り、マシン(タレットマシン)の製作コストが低減され
る。
Further, with respect to the machining axis assigned to the same turret surface 49, the spindle protrusion amount of the machining axis is adjusted so that the step between the front cases 44 is eliminated, so that it is assigned to the same turret surface 49. The position of the front case of the machining axis is aligned as closely as possible, and the manufacturing cost of the machine (turret machine) is reduced.

【0079】さらに、タレットマシンのタレット面の重
量を算出し、対角位置にあるタレット面の重量と比較し
てそれらの重量バランスをチェックし、NGの場合に
は、どちらか一方のタレット面に対するグルーピング処
理をやり直すようにしたので、相互に対角位置にあるタ
レット面の重量バランスの不良によってタレットマシン
の旋回時にバランスが悪くなったり、加工時に加工タレ
ット面が微妙に上下に向くなどの不具合がなくなり、所
定の精度を確保できるようになる。
Further, the weight of the turret surface of the turret machine is calculated, and the weight balance between them is checked by comparing with the weight of the turret surface at the diagonal position. In the case of NG, one of the turret surfaces is measured. Since the grouping process is performed again, there is a problem that the turret machine is unbalanced during turning due to poor weight balance between the turret surfaces that are diagonally opposite each other, and the machining turret surface slightly deviates up and down during machining. It becomes possible to secure a predetermined accuracy.

【0080】また、タレットマシンのタレット面の総重
量を算出して許容値と比較し、タレット面の総重量が許
容値を超える場合には、最も重いタレット面に対するグ
ルーピング処理をやり直すようにしたので、マシン(タ
レットマシン)を駆動するモータへの負荷や、マシンを
移動させる際の動力などの問題がクリアされるようにな
り、設計検討の精度が向上し、マシンの信頼性や耐久性
が向上する。
Further, the total weight of the turret surface of the turret machine is calculated and compared with an allowable value. When the total weight of the turret surface exceeds the allowable value, the grouping process for the heaviest turret surface is performed again. , Problems such as the load on the motor driving the machine (turret machine) and the power to move the machine will be cleared, the accuracy of design consideration will be improved, and the reliability and durability of the machine will be improved. To do.

【0081】また、周辺形状などが最適化された加工軸
の割り当てられたタレット面に対し、得られたデータに
基づいてマシンの原位置の座標値を算出するようにした
ので、マシンの原位置の座標値が自動的に提供されるよ
うになり、グルーピングの検討または変更に対して容易
に対応できるようになる。
Further, since the coordinate value of the original position of the machine is calculated based on the obtained data for the turret surface to which the machining axis is assigned with optimized peripheral shape and the like, the original position of the machine is calculated. The coordinate values of will be automatically provided, and it will be possible to easily respond to the examination or change of the grouping.

【0082】また、以上に共通して、設計検討に当たっ
て従来設計者が自分で計算していたのを自動的に行うよ
うにしたので、計算精度の向上が図られ、マシンの信頼
性や耐久性が向上するとともに、設計検討の時間が大幅
に短縮されることになる。
Further, in common with the above, in the design study, since the conventional designer automatically performed the calculation by himself, the calculation accuracy is improved and the reliability and durability of the machine are improved. Will be improved and the time for design study will be significantly shortened.

【0083】[0083]

【発明の効果】請求項1の発明によれば、ワークと加工
軸周辺形状との干渉が回避され、構築された加工軸の周
辺形状の最適化が図られる。
According to the invention of claim 1, the interference between the work and the peripheral shape of the machining axis is avoided, and the peripheral shape of the constructed machining axis is optimized.

【0084】請求項2の発明によれば、さらに、加工軸
のフロントケース間の段差が可及的になくなり、マシン
の製作コストの低減が図られる。
According to the second aspect of the invention, the step between the front cases of the machining shaft is eliminated as much as possible, and the manufacturing cost of the machine can be reduced.

【0085】請求項3の発明によれば、さらに、マシン
の駆動モータやマシンを移動させる際の動力などの問題
がクリアされ、マシンの信頼性や耐久性が向上する。
According to the third aspect of the invention, the problems such as the drive motor of the machine and the power for moving the machine are cleared, and the reliability and durability of the machine are improved.

【0086】請求項4の発明によれば、さらに、相互に
対角位置にあるタレット面の重量バランスの不良に起因
する不具合がなくなり、所定の精度を確保できるように
なり、タレットマシンの信頼性が向上する。
According to the fourth aspect of the present invention, further, it is possible to eliminate a defect due to a poor weight balance between the turret surfaces which are diagonal to each other, and it is possible to ensure a predetermined accuracy, and the reliability of the turret machine is improved. Is improved.

【0087】請求項5の発明によれば、さらに、マシン
の原位置の座標値が自動的に提供されるようになり、グ
ルーピングの検討または変更に対して容易に対応できる
ようになる。
According to the invention of claim 5, the coordinate value of the original position of the machine is automatically provided, and it is possible to easily deal with examination or change of grouping.

【0088】請求項6の発明によれば、請求項1の発明
と同様に、ワークと加工軸周辺形状との干渉が回避さ
れ、構築された加工軸の周辺形状の最適化が図られる。
According to the invention of claim 6, similarly to the invention of claim 1, the interference between the work and the peripheral shape of the machining axis is avoided, and the peripheral shape of the constructed machining axis is optimized.

【0089】請求項7の発明によれば、請求項2の発明
と同様に、加工軸のフロントケース間の段差が可及的に
なくなり、マシンの製作コストの低減が図られる。
According to the invention of claim 7, like the invention of claim 2, the step between the front cases of the machining shaft is eliminated as much as possible, and the manufacturing cost of the machine can be reduced.

【0090】請求項8の発明によれば、ギアヘッドの重
量の算出を必要な計算精度を保ちつつ簡便化することが
できる。
According to the invention of claim 8, the calculation of the weight of the gear head can be simplified while maintaining necessary calculation accuracy.

【0091】請求項9の発明によれば、請求項3の発明
と同様に、マシンの駆動モータやマシンを移動させる際
の動力などの問題がクリアされ、マシンの信頼性や耐久
性が向上する。
According to the invention of claim 9, similarly to the invention of claim 3, the problems such as the drive motor of the machine and the power for moving the machine are cleared, and the reliability and durability of the machine are improved. .

【0092】請求項10の発明によれば、請求項4の発
明と同様に、相互に対角位置にあるタレット面の重量バ
ランスの不良に起因する不具合がなくなり、所定の精度
を確保できるようになり、タレットマシンの信頼性が向
上する。
According to the tenth aspect of the present invention, as in the fourth aspect of the present invention, the problem caused by the poor weight balance of the turret surfaces which are diagonal to each other is eliminated, and the predetermined accuracy can be secured. Therefore, the reliability of the turret machine is improved.

【0093】請求項11の発明によれば、請求項5の発
明と同様に、マシンの原位置の座標値が自動的に提供さ
れるようになり、グルーピングの検討または変更に対し
て容易に対応できるようになる。
According to the eleventh aspect of the invention, like the invention of the fifth aspect, the coordinate values of the original position of the machine are automatically provided, and it is easy to deal with the examination or change of the grouping. become able to.

【0094】請求項1〜請求項11の発明に共通して、
設計検討に当たって従来設計者が自分で計算していたの
を自動的に行うようにしたので、計算精度の向上が図ら
れ、マシンの信頼性や耐久性が向上するとともに、設計
検討の時間が大幅に短縮されることになる。
In common with the inventions of claims 1 to 11,
In the design study, the former designer automatically performed the calculation by himself, which improves the calculation accuracy, improves the machine reliability and durability, and significantly reduces the design study time. Will be shortened to.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明の加工情報作成装置を構成するハード
ウェアの一例を示す斜視図
FIG. 1 is a perspective view showing an example of hardware constituting a processing information creation device of the present invention.

【図2】 図1の装置の機能ブロック図FIG. 2 is a functional block diagram of the device shown in FIG.

【図3】 構築された加工軸の一例を示す断面図FIG. 3 is a cross-sectional view showing an example of a constructed machining axis.

【図4】 実施例で用いる加工軸の構成例を示す模式図FIG. 4 is a schematic diagram showing a configuration example of a processing shaft used in the embodiment.

【図5】 ホルダーとスピンドルの他の関係を示す模式
FIG. 5 is a schematic diagram showing another relationship between the holder and the spindle.

【図6】 3次元モデルを用いた干渉チェックの説明に
供する図
FIG. 6 is a diagram for explaining interference check using a three-dimensional model.

【図7】 2.5次元モデルを用いた干渉チェックの説
明に供する図
FIG. 7 is a diagram for explaining interference check using a 2.5-dimensional model.

【図8】 ワークのホルダーの干渉チェックの説明に供
する図
FIG. 8 is a diagram for explaining the interference check of the work holder.

【図9】 ワークとフロントケースの干渉チェックの説
明に供する図
FIG. 9 is a diagram for explaining the interference check between the work and the front case.

【図10】 加工面とフロントケース間の距離の算出方
法の説明に供する図
FIG. 10 is a diagram for explaining a method of calculating the distance between the processed surface and the front case.

【図11】 フロントケース間の段差修正の説明に供す
る図
FIG. 11 is a diagram for explaining correction of a step between front cases.

【図12】 タレット面の重量バランスの説明に供する
FIG. 12 is a diagram for explaining the weight balance of the turret surface.

【図13】 マシンの原位置座標の算出方法の説明に供
する図
FIG. 13 is a diagram for explaining a method of calculating the original position coordinates of the machine.

【図14】 図1および図2の装置の動作を概略的に示
すメインフローチャート
FIG. 14 is a main flow chart schematically showing the operation of the apparatus of FIGS. 1 and 2.

【図15】 図14の前処理のフローチャートFIG. 15 is a flowchart of the preprocessing of FIG.

【図16】 図14のホルダーの干渉チェック処理のフ
ローチャート
16 is a flowchart of the collision check process of the holder of FIG.

【図17】 図14のフロントケースの干渉チェック処
理のフローチャート
FIG. 17 is a flowchart of the front case interference check process of FIG. 14;

【図18】 図14のフロントケース間の段差修正処理
のフローチャート
FIG. 18 is a flowchart of a step correction process between the front cases of FIG.

【図19】 図14のタレットの重量チェック処理のフ
ローチャート
FIG. 19 is a flowchart of the turret weight check process of FIG.

【図20】 図14のマシンの原位置座標算出処理のフ
ローチャート
20 is a flowchart of original position coordinate calculation processing of the machine of FIG.

【符号の説明】[Explanation of symbols]

20…ワーク情報ファイル(ワーク情報記憶手段) 21…マシン諸元ファイル(マシン諸元記憶手段) 22…重量データファイル(重量データ記憶手段) 29…加工軸情報ファイル(加工軸情報記憶手段) 30…グルーピング実行部 31…部品干渉検証部(ツール突出し量補正手段) 32…ツール突出し量修正部(ツール突出し量補正手
段) 33…スピンドル突出し量修正部(スピンドル突出し量
補正手段) 34…タレット重量検証部(ギアヘッド重量算出手段、
ギアヘッド総重量検証手段、重量バランス検証手段) 35…マシン原位置座標算出部(マシン原位置座標算出
手段)
20 ... Work information file (work information storage means) 21 ... Machine specification file (machine specification storage means) 22 ... Weight data file (weight data storage means) 29 ... Machining axis information file (machining axis information storage means) 30 ... Grouping execution unit 31 ... Parts interference verification unit (tool protrusion amount correction means) 32 ... Tool protrusion amount correction unit (tool protrusion amount correction unit) 33 ... Spindle protrusion amount correction unit (spindle protrusion amount correction unit) 34 ... Turret weight verification unit (Gear head weight calculation means,
Gear head gross weight verification means, weight balance verification means) 35 ... Machine original position coordinate calculation unit (machine original position coordinate calculation means)

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 ギアヘッドに割り当てられた加工軸の周
辺形状を補正する加工情報作成装置であって、 ワークに関する情報を記憶するワーク情報記憶手段と、 ギアヘッドに割り当てられた加工軸に関する情報を記憶
する加工軸情報記憶手段と、 ワーク情報および加工軸情報に基づいて、加工終了位置
においてワークと加工軸の構成部品とが干渉しないよ
う、加工軸のツール突出し量を補正するツール突出し量
補正手段と、 を有することを特徴とする加工情報作成装置。
1. A machining information creation device for correcting the peripheral shape of a machining axis assigned to a gear head, which stores work information storage means for storing information about a work, and information about a machining axis assigned to a gear head. Machining axis information storage means, and tool protrusion amount correction means for correcting the tool protrusion amount of the machining axis based on the work information and the machining axis information so that the workpiece and the component parts of the machining axis do not interfere with each other at the machining end position, A processing information creation device having:
【請求項2】 ワーク情報および加工軸情報に基づい
て、同一ギアヘッドに割り当てられた加工軸のフロント
ケース間の段差がなくなるよう、加工軸のスピンドル突
出し量を補正するスピンドル突出し量補正手段を有する
ことを特徴とする請求項1記載の加工情報作成装置。
2. A spindle protrusion amount correcting means for correcting the spindle protrusion amount of the machining axis so that the step between the front cases of the machining axes assigned to the same gear head is eliminated based on the work information and the machining axis information. The processing information creation device according to claim 1, wherein
【請求項3】 マシンの諸元を記憶するマシン諸元記憶
手段と、 加工軸の構成部品の重量データを記憶する重量データ記
憶手段と、 加工軸情報、マシン諸元、および重量データに基づい
て、マシンのギアヘッドの重量を算出するギアヘッド重
量算出手段と、 各ギアヘッドの重量を加算してマシンの全ギアヘッドの
総重量を算出し、この総重量が所定の許容値内におさま
っているかどうかを検証するギアヘッド総重量検証手段
と、 を有することを特徴とする請求項1または2記載の加工
情報作成装置。
3. Machine specification storage means for storing machine specifications, weight data storage means for storing weight data of component parts of the machining axis, and machining axis information, machine specifications, and weight data based on the machine axis information. , The total weight of all gear heads of the machine is calculated by adding the weight of each gear head and the gear head weight calculation means for calculating the weight of the gear head of the machine, and it is verified whether this total weight is within the predetermined allowable value. 3. The processing information creation device according to claim 1 or 2, further comprising:
【請求項4】 マシンがタレットマシンの場合は、さら
に、算出したギアヘッド重量データに基づいて、対角位
置にあるタレット面の重量差を算出し、この重量差が所
定の規定値内におさまっているかどうかを検証する重量
バランス検証手段を有することを特徴とする請求項3記
載の加工情報作成装置。
4. When the machine is a turret machine, the weight difference between the turret surfaces at diagonal positions is calculated based on the calculated gear head weight data, and the weight difference is kept within a predetermined specified value. The processing information creation apparatus according to claim 3, further comprising a weight balance verification means for verifying whether or not there is any.
【請求項5】 ワーク情報、加工軸情報、およびマシン
諸元に基づいて、ワークに対するマシンの原位置の座標
値を算出するマシン原位置座標算出手段を有することを
特徴とする請求項1〜4のいずれか1つに記載の加工情
報作成装置。
5. A machine original position coordinate calculating means for calculating the coordinate value of the original position of the machine with respect to the work based on the work information, machining axis information, and machine specifications. The processing information creation device described in any one of 1.
【請求項6】 ツール突出し量補正手段は、ワーク情報
および加工軸情報に基づいて、加工終了位置におけるワ
ークと加工軸の構成部品との間隔を算出する手段と、 前記間隔を所定の規定値と比較する手段と、 前記間隔が前記規定値よりも小さいときに、ワークと前
記構成部品との間隔が前記規定値と等しくなるように加
工軸のツール突出し量を修正する手段と、 修正したツール突出し量を所定の許容値と比較する手段
と、 前記修正ツール突出し量が前記許容値を超えるときに、
現在の加工軸割当て結果をキャンセルする手段と、 を有することを特徴とする請求項1〜5のいずれか1つ
に記載の加工情報作成装置。
6. The tool protrusion amount correction means calculates a distance between the workpiece and a component of the processing axis at the processing end position based on the work information and the processing axis information, and the distance is a prescribed value. Means for comparing, means for correcting the tool protrusion amount of the machining axis so that the distance between the workpiece and the component becomes equal to the specified value when the interval is smaller than the specified value, and the corrected tool protrusion Means for comparing the amount to a predetermined tolerance, and when the correction tool protrusion amount exceeds the tolerance,
A means for canceling the current machining axis assignment result, and a machining information creation apparatus according to any one of claims 1 to 5.
【請求項7】 スピンドル突出し量補正手段は、 ワーク情報および加工軸情報に基づいて、加工終了位置
においてフロントケース位置がワークの加工面から最も
近い加工軸を検出する手段と、 検出した加工軸のフロントケース位置から入力された段
差修正可能値の範囲内にフロントケース位置が存在する
加工軸を選出することにより、修正対象となる加工軸を
設定する手段と、 修正対象加工軸の中からフロントケース位置が前記加工
面から最も遠い加工軸を検出し、この検出した加工軸の
フロントケース位置にそろえるように修正対象加工軸の
スピンドル突出し量を修正する手段と、 修正したスピンドル突出し量を所定の許容値と比較する
手段と、 前記修正スピンドル突出し量が前記許容値を超えるとき
に、対話操作により、許容値外の加工軸を修正対象から
除外する手段と、 を有することを特徴とする請求項2〜6のいずれか1つ
に記載の加工情報作成装置。
7. The spindle protrusion amount correcting means detects a machining axis whose front case position is closest to the machining surface of the workpiece at the machining end position, based on the workpiece information and the machining axis information, and the detected machining axis of the machining axis. By selecting a machining axis that has a front case position within the range of the level difference correction value input from the front case position, a means for setting the machining axis to be corrected, and the front case from the correction target machining axes. A means for detecting the machining axis whose position is farthest from the machining surface and correcting the spindle protrusion amount of the machining axis to be corrected so as to align it with the detected front case position of the machining axis; Means for comparing with the value, and when the corrected spindle protrusion amount exceeds the allowable value, an interactive operation is performed to add a value outside the allowable value. Machining information generating apparatus according to any one of claims 2-6, characterized in that it comprises a way to exclude an axis from the correction object, a.
【請求項8】 ギアヘッド重量算出手段は、ギヤヘッド
の加工軸取付面の面積に基づいて、加工軸のフロントケ
ースおよびギアケースの重量を算出することを特徴とす
る請求項3〜7のいずれか1つに記載の加工情報作成装
置。
8. The gear head weight calculation means calculates the weights of the front case and the gear case of the machining shaft based on the area of the machining shaft mounting surface of the gear head. Processing information creation device described in.
【請求項9】 ギアヘッド総重量検証手段は、 マシンの各ギアヘッドの重量を加算してマシンの全ギア
ヘッドの総重量を算出する手段と、 算出した総重量を所定の許容値と比較する手段と、 前記総重量が前記許容値を超えるときに、現在の加工軸
割当て結果をキャンセルする手段と、 を有することを特徴とする請求項3〜8のいずれか1つ
に記載の加工情報作成装置。
9. The gear head total weight verification means includes means for adding the weights of the gear heads of the machine to calculate the total weight of all the gear heads of the machine, and means for comparing the calculated total weight with a predetermined allowable value. 9. The machining information creation device according to claim 3, further comprising: a unit that cancels a current machining axis assignment result when the total weight exceeds the allowable value.
【請求項10】 重量バランス検証手段は、 対角位置にあるタレット面について加工軸の割当てがな
されているかどうかを判定する手段と、 対角位置にあるタレット面について加工軸の割当てがな
されている場合に、算出されたギアヘッド重量データに
基づいて、対角位置にあるタレット面との重量差を算出
する手段と、 算出した重量差を所定の規定値と比較する手段と、 前記重量差が前記規定値を超えるときに、対話操作によ
り、どちらか一方のタレット面の加工軸割当て結果をキ
ャンセルする手段と、 対角位置にあるタレット面について加工軸の割当てがな
されていない場合には、その割当て未実施のタレット面
に同等の重量を設定する手段と、 を有することを特徴とする請求項4〜9のいずれか1つ
に記載の加工情報作成装置。
10. The weight balance verification means determines whether or not a machining axis is assigned to a turret surface in a diagonal position, and the machining axis is assigned to a turret surface in a diagonal position. In this case, based on the calculated gear head weight data, a means for calculating a weight difference from the turret surface at a diagonal position, a means for comparing the calculated weight difference with a predetermined specified value, and the weight difference is When the specified value is exceeded, a means for canceling the machining axis assignment result for either one of the turret surfaces by interactive operation, and the assignment of the machining axis for the turret surface in the diagonal position if it has not been assigned. The processing information creation device according to any one of claims 4 to 9, further comprising: a unit that sets an equivalent weight on a turret surface that has not been executed.
【請求項11】 マシン原位置座標算出手段は、 加工軸情報に基づいてギアヘッドに割り当てられた加工
軸の長さを算出し、この結果により、最長の加工軸を検
出する手段と、 最長加工軸のツール先端がワークの加工面から所定のエ
アカット量だけ離れた位置にくるようにマシンの原位置
を決定する手段と、 ワーク情報およびマシン諸元に基づいて、ワークに対す
る前記マシン原位置の座標値を算出する手段と、 を有することを特徴とする請求項5〜10のいずれか1
つに記載の加工情報作成装置。
11. The machine original position coordinate calculating means calculates the length of the machining axis assigned to the gear head based on the machining axis information, and based on this result, means for detecting the longest machining axis, and the longest machining axis. Based on the means for determining the original position of the machine so that the tool tip of the tool will be at a position separated by a specified air cut amount from the machined surface of the work, and the work information and machine specifications, the coordinates of the machine's original position with respect to the work A unit for calculating a value, and a unit for calculating a value.
Processing information creation device described in.
JP13756994A 1994-06-20 1994-06-20 Processing information creation device Expired - Fee Related JP3211564B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13756994A JP3211564B2 (en) 1994-06-20 1994-06-20 Processing information creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13756994A JP3211564B2 (en) 1994-06-20 1994-06-20 Processing information creation device

Publications (2)

Publication Number Publication Date
JPH086621A true JPH086621A (en) 1996-01-12
JP3211564B2 JP3211564B2 (en) 2001-09-25

Family

ID=15201787

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13756994A Expired - Fee Related JP3211564B2 (en) 1994-06-20 1994-06-20 Processing information creation device

Country Status (1)

Country Link
JP (1) JP3211564B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012218111A (en) * 2011-04-08 2012-11-12 Fanuc Ltd Numerical control device having function of determining tool holder and tool mounting length to tool holder
EP3822022A4 (en) * 2018-07-10 2022-02-09 Makino Milling Machine Co., Ltd. Machine tool system, and tool determining method
CN114089691A (en) * 2021-11-24 2022-02-25 歌尔股份有限公司 Machining information interactive verification method, electronic device and readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012218111A (en) * 2011-04-08 2012-11-12 Fanuc Ltd Numerical control device having function of determining tool holder and tool mounting length to tool holder
EP3822022A4 (en) * 2018-07-10 2022-02-09 Makino Milling Machine Co., Ltd. Machine tool system, and tool determining method
CN114089691A (en) * 2021-11-24 2022-02-25 歌尔股份有限公司 Machining information interactive verification method, electronic device and readable storage medium
CN114089691B (en) * 2021-11-24 2023-11-07 歌尔股份有限公司 Machining information interaction verification method, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
JP3211564B2 (en) 2001-09-25

Similar Documents

Publication Publication Date Title
US4750105A (en) Automatic programming system including machining accuracy optimization
US7761183B2 (en) Methods and systems for producing numerical control program files for controlling machine tools
US5249135A (en) Automatic design processing system for creating design processes for machining of parts
EP3582048A1 (en) Machining based on strategies selected based on prioritized aspects of manufacturing
EP0089561A2 (en) Machine tool numerical controller with an interference checking function
US20220379380A1 (en) Hybrid additive and subtractive manufacturing
GB2168172A (en) Machine tools
EP1424656A2 (en) Apparatus for generating three-dimensional model data for a machine tool
US5282143A (en) Method and system for machining a sculptured surface
CN103901818A (en) Computer assisted manufacturing apparatus, method for product shape processing and storage medium
WO2013051432A1 (en) Production planning device and production planning method
CN113950651A (en) Information processing apparatus, information processing method, and information processing program
US6862493B2 (en) Numerical control programming device and numerical control programming method
JP3068827B2 (en) Process design processing method in machining
JPS58186548A (en) Numerical control device with automatic programming function
JP2013161111A (en) Tool path generation system and generation method for thrust work
CN107407926B (en) Tool path generation method and tool path generation device
JPH086621A (en) Machining information generating device
JP7253995B2 (en) Manufacturing process design method and manufacturing process design system
JP2006235776A (en) Machine tool and processing method by this machine tool
JP5322881B2 (en) Processing simulation device and optimum process determination device
JP5441604B2 (en) Optimal process determination device and optimal process determination method
JPH11345013A (en) Method and device for generating tool route for nc working
JPH0611456B2 (en) Calculation method of machining route
JPH07261815A (en) Method and device for generating tool machining path for nc machining

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080719

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees