JPH08263115A - Interference evading method for nc machine tool - Google Patents

Interference evading method for nc machine tool

Info

Publication number
JPH08263115A
JPH08263115A JP6650995A JP6650995A JPH08263115A JP H08263115 A JPH08263115 A JP H08263115A JP 6650995 A JP6650995 A JP 6650995A JP 6650995 A JP6650995 A JP 6650995A JP H08263115 A JPH08263115 A JP H08263115A
Authority
JP
Japan
Prior art keywords
interference
priority
machine tool
operating
unit
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.)
Pending
Application number
JP6650995A
Other languages
Japanese (ja)
Inventor
Takakazu Nakatani
尊一 中谷
Toshio Ishimura
俊雄 石村
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.)
Citizen Watch Co Ltd
Original Assignee
Citizen Watch 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 Citizen Watch Co Ltd filed Critical Citizen Watch Co Ltd
Priority to JP6650995A priority Critical patent/JPH08263115A/en
Publication of JPH08263115A publication Critical patent/JPH08263115A/en
Pending legal-status Critical Current

Links

Landscapes

  • Turning (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE: To reduce a state wherein a machine enters an alarm state and stops operating while improving the safety by evading interference between operation parts of the NC machine tool. CONSTITUTION: While the NC machine tool is in operation, future tracks of plural operation parts in shapes that are previously set in an NC device are found (step 1) and an interference area where the future tracks of the operation parts cross each other to overlap is set (step 2). The priority of entries into the interference area is confirmed before the respective operation parts move in the interference area to make an operation part move in when it has top priority or stop before entering the interference area when there is another operation part with higher priority; and the operation part is allowed to move in the interference area when having top priority after the operation part having the higher priority exits from the interference area to eliminate interference (steps 3-7).

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、NC(数値制御)旋
盤等のNC工作機械における移動刃物台等の動作部同士
の干渉回避方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for avoiding interference between operating parts such as a moving tool rest in an NC machine tool such as an NC (numerical control) lathe.

【0002】[0002]

【従来の技術】近年ではNC旋盤,マシニングセンタ
(MC),NCフライス盤等のNC工作機械が各種部品
加工に使用されている。これらのNC工作機械は、動作
中にNC装置に読み込むか、予め読み込みあるいは作成
して記憶した加工プログラムを実行することにより、主
軸や刃物台等の各動作部の動作を制御して複雑な加工を
自動的に行なうことができる。
2. Description of the Related Art In recent years, NC machine tools such as NC lathes, machining centers (MCs) and NC milling machines have been used for machining various parts. These NC machine tools control the operation of each operation part such as the spindle and the tool post by performing a machining program that is read into the NC device during operation, or by executing a machining program that is read or created in advance and stored. Can be done automatically.

【0003】例えばNC旋盤は、NC装置が加工プログ
ラムにしたがって主軸の回転及びその主軸の中心線方向
(Z方向)の移動と、刃物台のX,Y方向(Z方向に直
交する面内で互いに直交する2方向)あるいはZ方向へ
の移動を制御して、刃物台に取り付けられた工具(刃
物)によって、主軸に保持された材料(ワーク)に切
削,孔明け等の加工を施す工作機械である。
For example, in the NC lathe, the NC device rotates the spindle and moves the spindle in the direction of the center line (Z direction) according to a machining program, and in the X and Y directions of the tool rest (in a plane orthogonal to the Z direction). A machine tool that controls the movement in two directions (orthogonal to each other) or in the Z direction, and uses a tool (blade) attached to a tool post to perform machining such as cutting or drilling on the material (workpiece) held on the spindle. is there.

【0004】そして、このようなNC工作機械の加工速
度の高速化,加工工程の複雑化,加工精度の高度化等が
進み、且つ機能の拡大(汎用性)も要求されている。そ
のため、1台の工作機械に多数の軸や移動刃物台等の動
作部が設けられており、その動作部同士が動作中に干渉
して工具(刃物)を破損したりワークを不良にしてしま
う恐れがある。そこで、これらの動作部と固定部あるい
は動作部同士の干渉をチェックし、実際に干渉する直前
にアラームを発生して動作を停止させたり、干渉回避動
作を行なわせるようにしたものもある。また、NC装置
に予め設定してある最高速で動作している動作部が停止
出来る距離以内に物があると干渉回避のためアラーム状
態となり、機械の動作を停止するものもある。
[0004] Further, there are demands for higher processing speed of such NC machine tools, more complicated processing steps, higher processing accuracy, and expansion of functions (general versatility). Therefore, a single machine tool is provided with a large number of axes and moving parts such as a moving tool rest, and the working parts interfere with each other during operation, damaging the tool (cutting tool) or making the work defective. There is a fear. Therefore, there is also a system in which interference between these operating unit and fixed unit or between operating units is checked, and an alarm is generated immediately before actual interference to stop the operation or to perform an interference avoiding operation. Further, there is a machine which stops the operation of the machine when an object which is preset in the NC device and which is operating at the highest speed is present within a distance where it can be stopped, which causes an alarm state to avoid interference.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うにNC工作機械がアラーム状態で止まってしまうと、
プログラムの続行が出来ず、加工中であればその加工を
最初からやり直さなければならないため、作業効率が大
幅に低下すると共に、加工材料の無駄が生じるという問
題があった。また、干渉回避動作を行なえるようにする
には、余分なプログラム及び無駄な時間が必要になると
いう問題がある。
However, if the NC machine tool stops in the alarm state as described above,
Since the program cannot be continued and the machining has to be restarted from the beginning if the machining is in progress, there is a problem that the working efficiency is significantly reduced and the machining material is wasted. In addition, there is a problem that an extra program and useless time are required to enable the interference avoiding operation.

【0006】この発明は、このような問題を解決するた
めになされたものであり、NC工作機械における移動刃
物台等の動作部同士の干渉を回避して安全性を高めなが
ら、アラーム状態となって機械が動作を停止するような
ことが極めて少なくなるようにして、作業効率を低下さ
せないようにし、余分なプログラムや無駄な時間も不要
にすることを目的とする。
The present invention has been made in order to solve such a problem, and avoids interference between operating parts such as a movable tool rest in an NC machine tool to improve safety and raises an alarm state. It is an object of the present invention to prevent the machine from stopping its operation so much that the work efficiency is not deteriorated, and unnecessary programs and unnecessary time are unnecessary.

【0007】[0007]

【課題を解決するための手段】この発明は、干渉する可
能性の有る複数の動作部を持つNC工作機械において、
上記の目的を達成するため、次のような干渉回避方法を
提供する。すなわち、NC工作機械の動作中に、複数の
動作部のそれぞれ予めNC装置に設定してある形状での
今後の軌跡を求め、その複数の動作部の今後の軌跡が交
差して重なる干渉領域を設定する。
SUMMARY OF THE INVENTION The present invention provides an NC machine tool having a plurality of moving parts which may interfere with each other.
In order to achieve the above object, the following interference avoidance method is provided. That is, during operation of the NC machine tool, future trajectories of the shapes of the plurality of motion parts that are set in the NC device in advance are obtained, and interference regions where future trajectories of the plurality of motion parts intersect and overlap with each other are determined. Set.

【0008】そして、上記各動作部が上記干渉領域に進
入する前に該干渉領域に進入する優先順位を確認して、
その動作部の優先順位が一番高い場合には進入させ、他
に優先順位が高い動作部がある場合には該干渉領域に進
入する前に停止させ、優先順位が高い動作部が干渉領域
の外に出て干渉しなくなり、優先順位が一番高くなって
から該干渉領域に進入させる。
[0008] Then, before each of the operation units enters the interference area, the priority order of entering the interference area is confirmed,
If the operation unit has the highest priority, the operation unit is entered, and if there is another operation unit with a higher priority, the operation unit is stopped before entering the interference region, and the operation unit having the higher priority is set to the interference region. It goes out and does not interfere, and it enters the interference area only when the priority becomes highest.

【0009】NC工作機械の動作中に上記干渉領域を設
定する際、NC装置が使用中の加工プログラムを複数ブ
ロック先読みして複数の動作部の今後の軌跡を求め、そ
の複数の動作部の今後の軌跡が交差して重なる干渉領域
を、2次元の干渉チェックでは面、3次元の干渉チェッ
クでは立体としてそれぞれ設定するとよい。また、上記
優先順位をNC装置に予め設定しておくとよいが、予め
優先順位を設定していない場合には、複数の動作部が干
渉領域に時間的に早く到達する順に優先順位を設定する
か、加工動作中の動作部に対して加工中でない動作部よ
り優先順位を高く設定するとよい。
When the above-mentioned interference area is set during the operation of the NC machine tool, a plurality of blocks of the machining program being used by the NC device are prefetched to obtain future trajectories of the plurality of operating parts, and the future of the plurality of operating parts is determined. It is advisable to set the interference areas where the trajectories of (1) and (2) overlap each other as a surface in the two-dimensional interference check and a solid in the three-dimensional interference check. Further, the above-mentioned priority order may be set in advance in the NC device. However, if the priority order is not set in advance, the priority order is set in the order in which a plurality of operating units reach the interference area earlier in time. Alternatively, it is preferable to set a higher priority to an operating unit that is being processed than an operating unit that is not being processed.

【0010】[0010]

【作用】この発明によるNC工作機械における干渉回避
方法によれば、NC工作機械の動作中に、干渉する可能
性のある複数の動作部のに対して今後の軌跡が交差して
重なる干渉領域を設定し、その各動作部がその干渉領域
に進入する際には優先順位が高い順に進入させ、優先順
位が低い方の動作部は優先順位が高い動作部が干渉領域
の外に出て干渉しなくなるまで待機させるので、動作部
同士の干渉を回避しながら、加工プログラムの実行を継
続することができる。したがって、アラーム状態となっ
て機械が動作を停止するようなことが極めて少なくな
り、作業効率を低下させずに安全性を高めることができ
る。また、干渉回避動作を行なうための余分なプログラ
ムや無駄な時間が不要である。
According to the method for avoiding interference in the NC machine tool according to the present invention, an interference area where future trajectories intersect and overlap with a plurality of moving parts which may interfere with each other during the operation of the NC machine tool. When the respective operation units enter the interference area, the operation units are entered in the order of higher priority, and the operation unit with the lower priority goes out of the interference area and interferes with the operation unit with the higher priority. Since the process waits until it disappears, it is possible to continue the execution of the machining program while avoiding the interference between the operating parts. Therefore, it is extremely unlikely that the machine will stop operating in an alarm state, and safety can be improved without lowering work efficiency. Moreover, an extra program and a wasteful time for performing the interference avoiding operation are unnecessary.

【0011】[0011]

【実施例】以下、この発明の実施例を図面に基づいて具
体的に説明する。図2はこの発明による干渉回避方法を
実施するNC旋盤の一例を示す要部外観斜視図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 2 is an external perspective view of an essential part showing an example of an NC lathe for carrying out the interference avoidance method according to the present invention.

【0012】これは棒材加工用の主軸台摺動型のNC旋
盤の加工位置付近の斜視図であり、一対の主軸と背面主
軸とを備えている。すなわち、図2に示すようにベッド
10の手前下がりに傾斜した上面後部に、主軸台(図示
せず)が主軸中心線に平行なZ1軸方向(矢示Z1方
向)に図示しないガイドレールに沿って摺動可能に載置
されており、この第1主軸台は図示しないZ1軸用サー
ボモータによって、送りねじ機構を介して矢示Z1方向
へ往復移動される。
[0012] This is a perspective view of the vicinity of the machining position of a headstock sliding NC lathe for machining a bar material, which is provided with a pair of spindles and a back spindle. That is, as shown in FIG. 2, a headstock (not shown) is provided along a guide rail (not shown) in the Z1 axis direction (Z1 direction indicated by an arrow) parallel to the centerline of the main spindle on the rear portion of the upper surface inclined toward the front. The first headstock is reciprocally moved in the Z1 direction indicated by an arrow by a Z1 axis servomotor (not shown) via a feed screw mechanism.

【0013】この主軸台に回転自在に支承され、かつ主
軸用スピンドルモータによって回転される主軸の前方に
は、刃物台ベース11がベッド10に固定されてその幅
方向に立設されている。その刃物台ベース11には、前
述の主軸の中心線と同心の位置にガイドブッシュ14が
配設されており、主軸に把持されたワークは、このガイ
ドブッシュ14から加工位置へ突出してZ1軸方向に摺
動可能に案内保持される。
A tool rest base 11 is fixed to the bed 10 and stands upright in the width direction thereof in front of a main spindle that is rotatably supported by the main spindle and is rotated by a spindle motor for the main spindle. A guide bush 14 is arranged on the tool rest base 11 at a position concentric with the center line of the main spindle, and the work gripped by the main spindle projects from the guide bush 14 to the machining position and extends in the Z1 axis direction. Is slidably guided and held by.

【0014】刃物台ベース11にはさらにXYテーブル
13を介して刃物台14が、Z1軸と直交し且つ互いに
直交するX1軸及びY1軸方向(矢示X1及びY1方
向)に摺動可能に配設されている。そして、そのXYテ
ーブル13には、図示しないX1軸用サーボモータ及び
Y1軸用サーボモータ及び送りねじ機構が設けられてお
り、それらによって刃物台14を矢示X1方向及び矢示
Y1方向にそれぞれ所定ストローク往復移動させること
ができる。
A tool rest 14 is further arranged on the tool rest base 11 via an XY table 13 so as to be slidable in the X1 axis and Y1 axis directions (arrows X1 and Y1 directions) orthogonal to the Z1 axis and orthogonal to each other. It is set up. The XY table 13 is provided with an X1-axis servo motor, a Y1-axis servo motor, and a feed screw mechanism, which are not shown, by which the tool rest 14 is predetermined in the arrow X1 direction and the arrow Y1 direction, respectively. The stroke can be reciprocated.

【0015】その刃物台14には、複数本(図示の例で
は5本)の切削工具であるバイト15及び複数個(図示
の例では3個)の回転工具16が、X1軸方向に並行に
Y1軸方向に所定の間隔で櫛歯状に取り付けられてい
る。さらに、刃物台ベース11の手前側に背面刃物台1
7を固設しており、この背面刃物台17に、複数本(図
示の例では5本)の背面加工用の工具18が、Z1軸方
向に並行にX1軸方向に所定の間隔で並ぶように配設さ
れている。この工具18は例えばドリル,エンドミルな
どの相対回転工具で、工具18は回転しないが、後述す
る背面主軸にチャックされたワークの回転により加工可
能である。
A plurality of (five in the illustrated example) cutting tools 15 and a plurality of (three in the illustrated example) rotary tools 16 are provided on the tool rest 14 in parallel in the X1 axis direction. They are attached in a comb-teeth shape at predetermined intervals in the Y1 axis direction. Further, the rear tool post 1 is provided on the front side of the tool post base 11.
7 are fixed, and a plurality of back surface processing tools 18 (five in the illustrated example) 18 for back surface processing are arranged parallel to the Z1 axis direction at a predetermined interval in the X1 axis direction. It is installed in. The tool 18 is, for example, a relative rotary tool such as a drill or an end mill. Although the tool 18 does not rotate, it can be machined by rotating a workpiece chucked on a back spindle described later.

【0016】ベッド10の刃物台ベース11の手前側に
は、背面主軸台20がZ1軸と並行なZ2軸方向及びそ
れに直交するX2軸(X1軸と並行)方向に摺動可能に
設けられており、その背面主軸台20に上述した主軸と
対向する背面主軸とそれに隣接して対向刃物台22が設
けられている。その対向刃物台22には、ドリル,エン
ドミルなどの複数本(図示の例では3本)の相対回転工
具23が、Z2軸方向に並行にX2軸方向に所定の間隔
で並ぶように固設されている。
On the front side of the tool rest base 11 of the bed 10, a rear headstock 20 is provided slidably in the Z2 axis direction parallel to the Z1 axis and in the X2 axis direction (parallel to the X1 axis) orthogonal thereto. The back spindle 20 is provided with a back spindle facing the above-mentioned spindle and an opposed tool post 22 adjacent to the back spindle. A plurality of (three in the illustrated example) relative rotary tools 23 such as drills and end mills are fixedly mounted on the opposed tool post 22 so as to be aligned in parallel in the Z2 axis direction at predetermined intervals. ing.

【0017】背面主軸台20は、Z2軸用サーボモータ
とX2軸用サーボモータとによって、送りねじ機構を介
して矢示Z2方向及び矢示X2方向に、それぞれ所定ス
トローク往復移動可能である。背面主軸は先端部にはワ
ークをつかむチャック21を備えており、背面主軸用の
スピンドルモータによって回転される。この背面主軸の
チャック21に保持されたワークは、主として前述した
背面刃物台17に取り付けられた工具18によって加工
されるが、刃物台14に背面加工用の工具を取り付けた
場合には、それらによって加工することも可能である。
The rear headstock 20 can be reciprocally moved by a predetermined stroke by the Z2 axis servomotor and the X2 axis servomotor in the arrow Z2 direction and the arrow X2 direction via the feed screw mechanism. The back spindle is provided with a chuck 21 for gripping a work piece at its tip, and is rotated by a spindle motor for the back spindle. The work held by the chuck 21 of the back spindle is mainly processed by the tool 18 attached to the back tool post 17 described above. However, when a tool for back machining is attached to the tool post 14, the work is held by them. It is also possible to process.

【0018】このNC旋盤を使用して、丸棒材料のワー
ク(部品)を加工するには、予め丸棒材料を、主軸に通
してガイドブッシュ12にガイドさせて若干突出させて
主軸でチャックし、ワークとする。そして主軸を回転さ
せてそのワークを回転させ、刃物台14をX1軸方向及
びY1軸方向に移動させて、それに取り付けられたバイ
ト15によって周面の切削加工を、ワークを固定して回
転工具16を回転させて径方向の孔明け加工等を行なう
ことができる。また、背面主軸台20をX2軸方向及び
Z2軸方向へ移動させて、主軸によって回転されるワー
クの前端面に、対向刃物台22に取り付けられた相対回
転工具23によって孔明けやタップ切り等の加工を行な
うこともできる。
In order to process a work (part) of a round bar material by using this NC lathe, the round bar material is previously passed through the main shaft, guided by the guide bush 12 and slightly projected, and chucked by the main shaft. , And work. Then, the spindle is rotated to rotate the work, the tool rest 14 is moved in the X1 axis direction and the Y1 axis direction, and the peripheral surface is cut by the cutting tool 15 attached thereto, and the work is fixed to the rotary tool 16 Can be rotated to perform radial drilling or the like. Further, the rear headstock 20 is moved in the X2 axis direction and the Z2 axis direction, and the front end face of the work rotated by the main shaft is pierced or tapped by the relative rotary tool 23 attached to the opposed tool post 22. Processing can also be performed.

【0019】その後、背面主軸台20を矢示Z2方向に
移動させて背面主軸のチャック21でワークの前端部を
掴んで保持し、刃物台14に取り付けられた突っ切りバ
イトを使用して、刃物台14を矢示X1方向に往復移動
させて突っ切り加工を行ない、ワークを丸棒から切り離
す。このワークの受渡しをピックオフという。そして、
背面主軸台20を背面刃物台17と対向する位置へ移動
させると共に背面主軸を回転させ、そのチャック21に
保持されて回転するワークの背面に、センタドリルや背
面タップ等の相対回転工具23によって、孔明け加工や
タップ切り加工等を行なうことができる。
After that, the rear spindle headstock 20 is moved in the Z2 direction as indicated by the arrow, the front end portion of the work is grasped and held by the chuck 21 of the rear spindle headstock, and the tool post is attached to the tool post 14 using the cut-off tool. 14 is reciprocally moved in the direction of the arrow X1 to perform the cut-off processing, and the work is separated from the round bar. The delivery of this work is called pickoff. And
By moving the rear headstock 20 to a position facing the rear tool rest 17 and rotating the rear main spindle, on the rear surface of the workpiece held by the chuck 21 and rotating, by a relative rotary tool 23 such as a center drill or a rear tap, It is possible to perform drilling and tap cutting.

【0020】このNC旋盤において、刃物台14及びそ
れに取り付けられて一体に移動するバイト15及び回転
工具16,背面主軸台20及びそれと一体に移動するチ
ャック21を有する背面主軸,及び対向刃物台22とそ
れに取り付けられた相対回転工具23等の移動可能な部
分が動作部であり、動作中にこれらの動作部同士の干渉
が発生しないようにこの発明による干渉回避を行なうの
である。
In this NC lathe, a tool post 14 and a tool 15, which is attached to the tool 15 and moves integrally, a rotary tool 16, a back spindle 20, a back spindle having a chuck 21 that moves integrally with the tool, and an opposing turret 22. The movable part such as the relative rotary tool 23 attached to it is the operating part, and the interference avoidance according to the present invention is performed so that the operating parts do not interfere with each other during operation.

【0021】なお、主軸側のガイドブッシュ12に保持
されるか、背面主軸のチャック21に掴まれるワーク
は、工具(刃物)と干渉することによって加工されるの
で、加工中は干渉チェックの対象から除外する。しか
し、加工時以外には干渉してはいけないので、干渉回避
の対象の動作部とすることができる。さらに、加工済み
のワークを受けるセパレータ(受け器)等の移動部材を
設けた場合には、それも干渉回避の対象とする動作部と
することができる。
Since the work held by the guide bush 12 on the main spindle side or held by the chuck 21 on the rear main spindle is machined by interfering with a tool (cutting tool), the work to be checked for interference during machining. exclude. However, since interference should not occur except during processing, it can be an operation unit targeted for interference avoidance. Furthermore, when a moving member such as a separator (receiver) for receiving the processed work is provided, it can also be an operation unit targeted for interference avoidance.

【0022】次に、このNC旋盤の制御ユニットである
NC装置の構成を図3のブロック図によって説明する。
このNC装置は、CPUを含むシステム制御部40,プ
ログラム入力部41,キーボード42a及びスイッチ4
2bとディスプレイ43を備えた操作盤44,その入出
力制御部45,システム制御用プログラムメモリ(RO
M)46,加工プログラム格納部48,表示データ記憶
部49,その他のデータを記憶するRAM50,加工プ
ログラム処理部51,加工動作制御部52とからなり、
その加工動作制御部52を介して図2に示した機構部を
直接駆動制御する駆動部30を制御する。
Next, the configuration of the NC device which is the control unit of this NC lathe will be described with reference to the block diagram of FIG.
This NC device includes a system control unit 40 including a CPU, a program input unit 41, a keyboard 42a, and a switch 4.
2b and an operation panel 44 having a display 43, an input / output control unit 45 thereof, a system control program memory (RO
M) 46, a machining program storage unit 48, a display data storage unit 49, a RAM 50 for storing other data, a machining program processing unit 51, and a machining operation control unit 52.
The drive unit 30 that directly drives and controls the mechanism unit shown in FIG. 2 is controlled via the machining operation control unit 52.

【0023】駆動部30は、Z1,Z2,X1,X2,
Y1の各軸用サーボモータのサーボ機構31を駆動制御
する各軸の制御駆動部32、各主軸(主軸及び背面主
軸)のスピンドルモータ33を駆動制御するスピンドル
モータ制御駆動部34、及び各センサ(各テーブルの位
置センサ等)35の検出信号を入力するセンサ入力部3
6等からなる。
The drive unit 30 includes Z1, Z2, X1, X2.
The control drive unit 32 of each axis for driving and controlling the servo mechanism 31 of the Y1 axis servo motor, the spindle motor control drive unit 34 for driving and controlling the spindle motor 33 of each spindle (main spindle and rear spindle), and each sensor ( A sensor input unit 3 for inputting a detection signal of the position sensor of each table) 35
It consists of 6 mag.

【0024】システム制御部40は、このNC装置全体
ひいてはNC旋盤全体を統括制御する部分で、加工プロ
グラム処理部51と共に加工プログラム格納部48に格
納された加工プログラムの判別,変換,編集等の処理、
入出力制御部45を介して操作盤44のキーボード42
a又はスイッチ42bからのデータや指令の入力及びデ
ィスプレイ43への加工プログラムその他の表示に関す
る処理、加工動作制御部52と共に加工プログラム格納
部48に格納されている加工プログラムに基づいて駆動
部30を動作させてNC加工を行なうための処理などを
行なう。また、この発明に係る干渉回避に関する処理も
ここで行なう。
The system control unit 40 is a unit for integrally controlling the entire NC device, and thus the entire NC lathe, and processes such as discrimination, conversion, and editing of the machining programs stored in the machining program storage unit 48 together with the machining program processing unit 51. ,
The keyboard 42 of the operation panel 44 via the input / output control unit 45
a or processing for inputting data or commands from the switch 42b and processing programs and other displays on the display 43, and the drive unit 30 is operated based on the processing program stored in the processing program storage unit 48 together with the processing operation control unit 52. Then, processing for performing NC processing is performed. In addition, processing related to interference avoidance according to the present invention is also performed here.

【0025】プログラム入力部41は、外部のプログラ
ム作成装置(パソコン等)によって作成された加工プロ
グラムを、紙テープやフロッピディスクから入力する紙
テープリーダ,フロッピディスク装置(FDD)などで
ある。操作盤44は、NC加工を行なう際にキーボード
42aあるいはスイッチ42bから動作指令を行ない、
ディスプレイ43の表示によって動作を確認したりする
運転操作手段となる。干渉チェック及び回避を行なう動
作部の組み合せ、およびその各動作部の形状と座標原
点、後述する干渉領域へ進入する優先順位などを予め設
定する際の入力操作も、この操作盤44で行なう。
The program input section 41 is a paper tape reader, a floppy disk device (FDD) or the like for inputting a processing program created by an external program creating device (personal computer or the like) from a paper tape or a floppy disk. The operation panel 44 issues an operation command from the keyboard 42a or the switch 42b when performing NC processing,
The display 43 serves as a driving operation means for confirming the operation. The operation panel 44 is also used to perform input operations for presetting a combination of operation units that perform interference check and avoidance, the shape and coordinate origin of each operation unit, a priority order to enter an interference area described later, and the like.

【0026】入出力制御部45は、この操作盤44のキ
ーボード42aあるいはスイッチ42bからの指令や入
力の判別、表示データ記憶部49に記憶された表示デー
タをディスプレイ43に表示するための制御等を行な
う。システム制御用プログラムメモリ46は、このNC
装置の動作を制御するためにシステム制御部40のCP
Uが使用するプログラム及び固定データを格納したRO
Mである。
The input / output control unit 45 determines the commands and inputs from the keyboard 42a or the switch 42b of the operation panel 44, controls for displaying the display data stored in the display data storage unit 49 on the display 43, and the like. To do. The system control program memory 46 is the NC
CP of the system control unit 40 for controlling the operation of the device
RO that stores the program and fixed data used by U
It is M.

【0027】自動プログラミング部47は、操作盤44
を用いた対話式プログラミングによって、このNC装置
自体で加工プログラムの作成を行なうための機能部であ
る。加工プログラム格納部48は、プログラム入力部4
1から入力された加工プログラム、あるいは自動プログ
ラミング部47で作成した加工プログラムを格納するR
AMである。表示データ記憶部49は、操作盤44のデ
ィスプレイ43に表示させる各種のデータを格納するビ
ットマップメモリ(VRAM)である。
The automatic programming section 47 includes a control panel 44.
This is a functional unit for creating a machining program in the NC device itself by interactive programming using. The machining program storage unit 48 includes the program input unit 4
R for storing the machining program input from 1 or the machining program created by the automatic programming unit 47
AM. The display data storage unit 49 is a bitmap memory (VRAM) that stores various data to be displayed on the display 43 of the operation panel 44.

【0028】RAM50は、加工に使用する各工具(ツ
ール)のデータや各種の初期セットデータ等を記憶する
メモリであり、この発明による干渉回避を行なうために
予め設定されるデータ、すなわち干渉チェック及び回避
を行なう動作部の組み合せ、ならびにその各動作部の形
状と座標原点、後述する干渉領域へ進入する優先順位等
のデータもこのRAM50に記憶される。なお、加工プ
ログラム格納部48と表示データ記憶部49も、このR
AM50の記憶容量が充分あればこれを兼用することが
できる。
The RAM 50 is a memory for storing data of each tool (tool) used for machining, various initial set data, etc., and is preset data for performing interference avoidance according to the present invention, that is, interference check and The RAM 50 also stores data such as the combination of the operating units for avoidance, the shape and coordinate origin of each operating unit, and the priority order of entering the interference area described later. The machining program storage unit 48 and the display data storage unit 49 are also the R
If the storage capacity of the AM 50 is sufficient, this can also be used.

【0029】ここで、この発明による干渉回避方法の基
本実施例の動作を、図1のフローチャートにしたがって
説明する。上述したNC旋盤のNC装置が動作を開始す
ると、ステップ1で干渉する可能性の有る複数の動作部
の今後の軌跡を算出して求め、ステップ2でその複数の
動作部の今後の軌跡が交差して重なる(干渉の可能性が
ある)干渉領域を設定する。このとき、実際の動作タイ
ミングと計算上の動作タイミングがずれる場合があるた
め、時間の要素は考慮しない。
The operation of the basic embodiment of the interference avoidance method according to the present invention will now be described with reference to the flow chart of FIG. When the NC device of the NC lathe described above starts operating, future trajectories of a plurality of moving parts that may interfere with each other are calculated and obtained in step 1, and future trajectories of the plurality of moving parts intersect in step 2. And set an overlapping area (possible interference). At this time, the actual operation timing and the calculated operation timing may deviate from each other, so that the time factor is not considered.

【0030】ついで、ステップ3で上記複数の動作部の
いずれかが干渉領域に進入する直前(待機しなければな
らない場合に干渉領域に進入せずに停止できるだけ手前
の位置)に来たかどうかをチェックし、直前に来たらス
テツプ4でその動作部の干渉領域に進入する優先順位を
確認して、優先順位が一番高ければステップ7へ進んで
そのまま干渉領域に進入させる。そして、ステップ8で
干渉領域を未通過の他の動作部があるか否かをチェック
して、なければ処理を終了し、あればステップ3へ戻
る。
Then, in step 3, it is checked whether or not any of the plurality of motion parts has arrived just before entering the interference area (a position as close as possible to stop without entering the interference area when waiting must be done). If it comes immediately before, in step 4, the priority order of entering the interference area of the operation unit is confirmed. If the priority order is the highest, the process proceeds to step 7 and the interference area is directly entered. Then, in step 8, it is checked whether or not there is another operation unit that has not passed through the interference region, and if not, the process ends, and if there is, the process returns to step 3.

【0031】ステップ4でその動作部の優先順位が一番
高くなければ、ステップ5へ進んで干渉領域に進入する
前に停止させて待機させる。そして、ステップ6で優先
順位の高い動作部が干渉領域の外に出たかどうかをチェ
ックし、外へ出たら再びステップ4へ戻って優先順位を
チェックするが、この時には干渉領域を通過した動作部
の優先順位は除外する。
If the priority of the operating unit is not the highest in step 4, the process proceeds to step 5 to stop and wait before entering the interference area. Then, in Step 6, it is checked whether or not the operation unit having a higher priority goes out of the interference area, and when it goes out, the operation returns to Step 4 to check the priority order. At this time, the operation unit that has passed through the interference area is checked. The priority of is excluded.

【0032】その結果待機させている動作部の優先順位
が一番高くなれば、干渉領域に進入させるが、まだ他に
優先順位の高い動作部があればステップ5で待機状態を
継続させ、その優先順位の高い動作部が干渉領域の外に
出たら、ステップ6からステップ4の優先順位のチェッ
クに戻ることを繰り返す。こうして、待機中の動作部の
優先順位が一番高くなるとステップ7へ進んでその動作
部を干渉領域へ進入させる。
As a result, if the priority of the operating unit in the standby state is the highest, it enters the interference area, but if there is another operating unit with a higher priority, the standby state is continued in step 5, When the operation unit having a higher priority goes out of the interference area, the process of step 6 to step 4 is repeated. In this way, when the priority of the operating unit in the standby state becomes the highest, the process proceeds to step 7 to enter the operating unit into the interference area.

【0033】このように、この発明による干渉回避方法
を実施すれば、加工プログラムとは別の処理によって動
作部相互間の干渉を自動的に回避するので、プログラマ
が加工プログラムを作成する際には、干渉する恐れのあ
る動作部の移動のタイミングについて予め考慮しなくて
よい。
As described above, when the interference avoidance method according to the present invention is implemented, the interference between the operating parts is automatically avoided by the processing different from the machining program. Therefore, when the programmer creates the machining program. It is not necessary to consider in advance the timing of movement of the operation unit that may cause interference.

【0034】ここで、干渉領域の設定について説明す
る。NC工作機械の動作中、NC装置は使用中の加工プ
ログラムを複数ブロック先読みして、複数の動作部の今
後の軌跡を求める。そして、その複数の動作部の今後の
軌跡が交差して重なる領域を干渉の可能性がある領域、
すなわち干渉領域として設定する。
Here, the setting of the interference area will be described. During operation of the NC machine tool, the NC device prefetches a plurality of blocks of the machining program in use to obtain future trajectories of a plurality of operating parts. Then, the area where the future trajectories of the plurality of operation units intersect and overlap, the area where there is a possibility of interference,
That is, the interference area is set.

【0035】図4の(A)は2次元の干渉チェックを行な
う場合、(B)は3次元の干渉チェックを行なう場合の例
を示し、いずれも動作部1の今後の軌跡1aと、動作部
2の今後の軌跡2aとが交差して重なる領域(斜線を施
して示す)を干渉領域3として設定する。したがって、
2次元の干渉チェックの場合は、動作部1,2の今後の
軌跡1a,2aは帯状になり、干渉領域3は面領域にな
る。3次元の干渉チェックの場合は、動作部1,2の今
後の軌跡1a,2aは筒状になり、干渉領域は立体領域
となる。なお、図中の矢印は動作部1,2の移動方向を
示し、斜めに移動する場合は互いに直交する方向の成分
で規定する。
FIG. 4A shows an example in which a two-dimensional interference check is carried out, and FIG. 4B shows an example in which a three-dimensional interference check is carried out. In both cases, the future trajectory 1a of the operating unit 1 and the operating unit are shown. A region (shown by hatching) where the future trajectory 2a of 2 intersects and overlaps is set as the interference region 3. Therefore,
In the case of a two-dimensional interference check, future trajectories 1a and 2a of the operation units 1 and 2 will be strip-shaped, and the interference area 3 will be a surface area. In the case of the three-dimensional interference check, the future trajectories 1a and 2a of the operation units 1 and 2 have a cylindrical shape, and the interference area becomes a three-dimensional area. The arrows in the figure indicate the movement directions of the operating units 1 and 2, and when the movement units are inclined, they are defined by components in directions orthogonal to each other.

【0036】図5は2次元の干渉チェックにより干渉を
回避する例であり、この例では動作部2が動作部1より
先に干渉領域3の直前(待機しなければならない場合に
干渉領域3に進入せずに停止できる距離dだけ干渉領域
3より手前の位置)に到達するが、そこで優先順位を確
認し、動作部2の方が動作部1より優先順位が高い場合
はそのまま干渉領域に進入するが、動作部1より優先順
位が低い場合はそこで停止して待機する。そして、動作
部1が干渉領域3を通過した後に動作部2が干渉領域に
進入する。したがって、動作部1と動作部2の干渉を回
避することができる。
FIG. 5 shows an example in which interference is avoided by a two-dimensional interference check. In this example, the operating unit 2 precedes the operating unit 1 immediately before the interfering region 3 (in the interfering region 3 when waiting is required). Although the vehicle arrives at a position before the interference area 3 by a distance d that can stop without entering, the priority order is confirmed there, and if the operation section 2 has a higher priority order than the operation section 1, it enters the interference area as it is. However, if the priority order is lower than that of the operation unit 1, it stops there and waits. Then, after the operation unit 1 passes through the interference area 3, the operation unit 2 enters the interference area. Therefore, the interference between the operation unit 1 and the operation unit 2 can be avoided.

【0037】このように、互いに干渉する恐れがある複
数の動作部の干渉領域へ進入する優先順位を、図3に示
した操作盤44を使用して予め設定して、RAM50に
記憶させておくことができる。しかし、干渉領域への進
入の優先順位を予め設定しておかなくても、複数の動作
部が時間的に先に干渉領域に到達する順に優先順位を設
定することもでき、その方が動作部の待機時間を最小限
にすることができる。
As described above, the priorities for entering the interference areas of a plurality of operating units that may interfere with each other are preset using the operation panel 44 shown in FIG. 3 and stored in the RAM 50. be able to. However, even if the priority order of entering the interference area is not set in advance, the priority order can be set in the order in which a plurality of operation units arrive at the interference area earlier in time. The waiting time can be minimized.

【0038】たとえば、図6の(A)に示すように、動作
部2が干渉領域3の直前に到達した時、干渉領域3に他
の動作部が進入していない場合には、この動作部2に優
先権を与え、そのまま干渉領域へ進入させる。そして、
図6の(B)に示すように、動作部2が干渉領域3に入っ
ている時に動作部1が干渉領域3の直前に到達した場合
には、先に干渉領域3に入った動作部2に優先権がある
ため、動作部1は停止して動作部2が干渉領域3から出
るまで待機する。但し、複数の動作部が同時に干渉領域
3の直前に到達する可能性もあり、その場合にはいずれ
か一つの動作部に優先権を与えることになるが、予め優
先順位が設定されていれば、それにしたがって優先権を
与えることができる。
For example, as shown in FIG. 6A, when the operating unit 2 arrives immediately before the interference region 3, if no other operating unit has entered the interference region 3, this operating unit 3 2 is given a priority, and is allowed to enter the interference area as it is. And
As shown in FIG. 6B, when the operating unit 1 arrives immediately before the interference region 3 when the operating unit 2 is in the interference region 3, the operating unit 2 that has entered the interference region 3 first. Has priority, the operation unit 1 stops and waits until the operation unit 2 comes out of the interference area 3. However, there is a possibility that a plurality of operating units will arrive immediately before the interference area 3, and in that case, one of the operating units will be given priority, but if the priority order is set in advance. , You can give priority accordingly.

【0039】また、複数の動作部のうち加工中の動作部
がある場合は、その加工中の動作部に優先権を与えるよ
うにするとよい。それは、例えば切削加工中の動作部を
加工途中で停止させると、切削したワーク(製品)にス
ジが残る恐れがあるからである。
If there is an operating part being processed among the plurality of operating parts, it is preferable to give priority to the operating part being processed. This is because, for example, if the operating part during cutting is stopped during the process, streaks may remain on the cut work (product).

【0040】3次元の干渉チェックを行なう場合には、
図7〜図9に示すように、図2に示したNC旋盤のZ
1,Z2軸方向(Z)と、X1,X2軸方向(X)と、
Y1軸方向(Y)の3次元空間を、X−Z平面への投影
形状とY−Z平面への投影形状とに分けて干渉をチェッ
クする。ここで、図4の(B)に示した3次元の干渉領
域3をX−Z平面に投影した面領域を3aで示し、Y−
Z平面に投影した面領域を3bで示す。以下の説明で
は、この面領域3a,3bも干渉領域という。図中の各
動作部1,2に付した矢印はその移動方向を示す。
When performing a three-dimensional interference check,
As shown in FIGS. 7 to 9, Z of the NC lathe shown in FIG.
1, Z2 axis direction (Z), X1, X2 axis direction (X),
The interference is checked by dividing the three-dimensional space in the Y1 axis direction (Y) into the projected shape on the XZ plane and the projected shape on the YZ plane. Here, a surface area obtained by projecting the three-dimensional interference area 3 shown in FIG. 4B onto the XZ plane is indicated by 3a, and Y-
The surface area projected on the Z plane is indicated by 3b. In the following description, the surface areas 3a and 3b are also referred to as interference areas. The arrows attached to the respective operating units 1 and 2 in the figure indicate the moving directions thereof.

【0041】この場合は、X−Z平面とY−Z平面の一
方のみで動作部1と2の形状が重なっても3次元空間で
は干渉していない。同様に、いずれか一方の面でのみ動
作部1又は2が干渉領域3a又は3bの直前にきても、
3次元空間では干渉領域3の直前(待機しなければなら
ない場合に干渉領域3に進入せずに停止できる距離だけ
干渉領域3より手前の位置)にきていることにはならな
い。
In this case, there is no interference in the three-dimensional space even if the shapes of the operating parts 1 and 2 overlap only on one of the XZ plane and the YZ plane. Similarly, even if the operating unit 1 or 2 comes in front of the interference region 3a or 3b only on one of the surfaces,
In the three-dimensional space, it does not mean that the vehicle is in front of the interference area 3 (a position before the interference area 3 by a distance that can stop without entering the interference area 3 when it is necessary to wait).

【0042】そこで、例えば動作部1がX−Z平面とY
−Z平面の両面で共に他の動作部2より先に干渉領域3
a及び3bの直前にきた場合には、3次元空間で動作部
1が動作部2り先に立体の干渉領域3の直前に到達した
ことになるので、動作部1に優先権を与え、図7に示す
ようにそのまま干渉領域3(3a,3b)内へ進入させ
る。そして、後から干渉領域3(3a,3b)の直前に
到達した動作1はその位置で停止させて、動作部1が干
渉領域3から出る(すくなくとも干渉領域3a又は3b
の一方から出る)まで待機する。
Therefore, for example, the operation unit 1 is operated in the XZ plane and the Y direction.
-Interference area 3 on both sides of the Z plane prior to other moving parts 2
When it comes just before a and 3b, it means that the motion unit 1 has reached the motion unit 2 ahead of the motion interference region 3 immediately before the motion unit 2 in the three-dimensional space. As shown in FIG. 7, the interference region 3 (3a, 3b) is directly entered. Then, the motion 1 that arrives immediately before the interference region 3 (3a, 3b) is stopped at that position, and the motion unit 1 exits from the interference region 3 (at least the interference region 3a or 3b).
Wait until one goes out).

【0043】この場合、図8に示すように動作部2がY
−Z平面では先に干渉領域3bの直前に到達しても、X
−Z平面ではまだ干渉領域の直前に達していない場合に
は、動作部2は未だ3次元空間での干渉領域3の直前に
はきていないので、優先順位が決められていなければそ
のまま移動して、例えばY−Z平面で干渉領域3bに進
入することがあるが、その場合も動作部1は実際の3次
元空間での干渉領域3には進入していないので問題はな
い。
In this case, as shown in FIG.
On the −Z plane, even if it reaches immediately before the interference region 3b first, X
In the -Z plane, if it does not reach immediately before the interference region 3, the operating unit 2 has not yet arrived immediately before the interference region 3 in the three-dimensional space, so if the priority order is not decided, it moves as it is. Then, for example, the interference region 3b may enter the YZ plane, but in that case as well, since the operation unit 1 does not enter the interference region 3 in the actual three-dimensional space, there is no problem.

【0044】そして、上述のように動作部1が先に干渉
領域3a及び3bの両方の直前にくると(図8に示す状
態)、動作部1に優先権が与えられ、動作部1はそのま
ま干渉領域3a,3b内に進入する。その際、図9に示
すようにY−Z平面の干渉領域3b内で先に進入してい
る動作部2と重なって干渉してしまうように見えるが、
X−Z平面では動作部2と干渉していないので、3次元
空間では動作部1と2は干渉していない。
Then, as described above, when the operating unit 1 comes immediately before both the interference regions 3a and 3b (the state shown in FIG. 8), the operating unit 1 is given priority and the operating unit 1 remains as it is. It enters into the interference areas 3a and 3b. At that time, as shown in FIG. 9, it seems to interfere with the moving part 2 which has entered first in the interference area 3b of the YZ plane,
Since the operation unit 2 does not interfere in the XZ plane, the operation units 1 and 2 do not interfere in the three-dimensional space.

【0045】しかし、動作部1が図9に示すようにX−
Z平面でも干渉領域3aの直前にくると、3次元空間で
も干渉領域3の直前に来たことになるので、優先順位を
確認し、他の動作部2に優先権が与えられているので、
そこで停止して、動作部2が干渉領域3を出るまで待機
する。図9のY−Z平面におけるように、動作部1と2
の形状が重なってしまった場合は、その平面内ではもは
や干渉することはないと判断できるので、その平面内に
おける優先順位の決定は不要であり、他方の平面のみで
優先順位を決定することができる。
However, as shown in FIG.
If it comes in front of the interference region 3a even in the Z plane, it means that it comes in front of the interference region 3 in the three-dimensional space, so the priority order is confirmed and priority is given to the other operation unit 2.
Therefore, it stops and waits until the operation unit 2 leaves the interference region 3. As in the YZ plane of FIG.
If the shapes of the two overlap, it can be determined that they will no longer interfere in that plane, so it is not necessary to determine the priority in that plane, and it is possible to determine the priority in only the other plane. it can.

【0046】また、3個以上の動作部が共通の干渉領域
を有する場合にも、同様に優先順位を決定して優先順位
の高い順に干渉領域を通過させるようにすればよい。複
数の動作部が同時に干渉領域の直前に達した場合には、
2次元の干渉回避の場合と同様に、予め設定された優先
順位によって優先権を与えたり、加工中の動作部に最優
先権を与えるようにすればよい。
Further, even when three or more operating units have a common interference region, the priorities may be similarly determined and the interference regions may be passed in descending order of priority. If multiple moving parts reach just before the interference area,
Similar to the case of avoiding two-dimensional interference, the priority may be given according to a preset priority order, or the highest priority right may be given to the operating part being processed.

【0047】なお、干渉回避動作中にある動作部相互間
の相対距離が1軸でも増加に転じた時点で回避完了と判
断する。すなわち、複数の動作部のうち優先権のない動
作部が干渉領域の直前で待機し、優先権のある動作部が
干渉領域を通過している間は、両動作部の相対距離は変
化しないが、優先権のある動作部が干渉領域を出ると両
者の相対距離が増加に転じるので、回避完了と判断でき
る。したがって、その時点から待機中の動作部が移動を
再開できる。また、各軸(X,Y,Z)の相対距離のベ
クトル量が増加に転じた瞬間を回避完了と判断すること
もできる。
It is judged that the avoidance is completed when the relative distance between the operating parts during the interference avoiding operation starts to increase even for one axis. That is, among the plurality of operating units, the operating unit without priority waits immediately before the interference region, and while the operating unit with priority passes through the interference region, the relative distance between both operating units does not change. When the operation unit having the priority goes out of the interference area, the relative distance between the two starts to increase, and it can be determined that the avoidance is completed. Therefore, the operation unit on standby from that point can resume the movement. It is also possible to determine that the avoidance is completed at the moment when the vector amount of the relative distance of each axis (X, Y, Z) turns to increase.

【0048】さらに安全のために、複数の動作部に対し
て2次元と3次元の干渉チェックを行ない、共に干渉が
検出された瞬間に双方の動作部を停止させたアラームと
することもできる。その場合は、リセット操作によって
アラームは解除される。この発明は、前述したNC旋盤
に限らず、複数の動作部を有する全てのNC工作機械に
適用することができる。
Further, for safety, it is possible to perform a two-dimensional and three-dimensional interference check on a plurality of operating units and stop both operating units at the moment when the interference is detected. In that case, the alarm is canceled by the reset operation. The present invention can be applied not only to the NC lathe described above, but also to all NC machine tools having a plurality of operating parts.

【0049】[0049]

【発明の効果】以上説明してきたように、この発明によ
る干渉回避方法を用いれば、NC工作機械における移動
刃物台やそれに取り付けられた工具等の動作部同士の干
渉を回避して安全性を高めながら、アラーム状態となっ
て機械が動作を停止するようなことが極めて少なくなる
ようにして、作業効率を低下させないようにし、余分な
プログラムや無駄な時間も不要にすることが可能にな
る。また、微妙な位置や時間の関係を考えずにプログラ
ムを作成しても干渉を回避できるたるめ、プログラム作
成時間を短縮できる。互いに干渉する動作部のうち待機
する動作部をも干渉領域に入る直前で待機するので待ち
時間を最小にできる。
As described above, if the interference avoidance method according to the present invention is used, the interference between the moving tool rests of NC machine tools and the operating parts such as the tools attached thereto is avoided to enhance the safety. However, it is possible to reduce the possibility that the machine will stop operating due to an alarm condition so as not to lower the work efficiency, and to eliminate extra programs and unnecessary time. Further, even if a program is created without considering a delicate position or time relationship, interference can be avoided, and the program creation time can be shortened. The waiting part can be minimized because the waiting part of the operating parts that interfere with each other also waits immediately before entering the interference area.

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

【図1】この発明による干渉回避方法の基本的実施例の
動作フロー図である。
FIG. 1 is an operation flow diagram of a basic embodiment of an interference avoidance method according to the present invention.

【図2】この発明による干渉回避方法を実施するNC旋
盤の一例を示す要部外観斜視図である。
FIG. 2 is an external perspective view of an essential part showing an example of an NC lathe that implements the interference avoidance method according to the present invention.

【図3】図1に示したNC旋盤の制御ユニットであるN
C装置の構成例を示すブロック図である。
3 is a control unit N of the NC lathe shown in FIG.
It is a block diagram which shows the structural example of C apparatus.

【図4】図1のステップ2における干渉領域の設定につ
いての説明図である。
FIG. 4 is an explanatory diagram for setting an interference area in step 2 of FIG.

【図5】2次元の干渉領域を設定した場合の干渉回避動
作の説明図である。
FIG. 5 is an explanatory diagram of an interference avoiding operation when a two-dimensional interference area is set.

【図6】同じくその場合の他の干渉回避動作の説明図で
ある。
FIG. 6 is an explanatory diagram of another interference avoiding operation in that case as well.

【図7】3次元の干渉領域を設定した場合の干渉回避動
作の説明図である。
FIG. 7 is an explanatory diagram of an interference avoiding operation when a three-dimensional interference area is set.

【図8】同じくその優先権決定時の状態を示す説明図で
ある。
FIG. 8 is an explanatory diagram showing a state when the priority is determined.

【図9】同じく動作部1が停止して待機する状態を示す
説明図である。
FIG. 9 is an explanatory diagram showing a state in which the operating unit 1 is stopped and is on standby.

【符号の説明】 1,2動作部 3:干渉領域 3a:X−Z平面に投影した干渉領域 3b:Y−Z平面に投影した干渉領域 10:ベッド 11:刃物台ベース 12:ガイドブッシュ 13:XYテーブル 14:刃物台 15:バイト 16:回転工具 17:背面刃物台 18:背面加工用の工具 20:背面主軸台 21:チャック 22:対向刃物台 23:相対回転工具 30:駆動部 40:システム制御部 44:操作盤 45:入出力制御部 46:システム制御用プログラムメモリ 48:加工プログラム格納部 50:RAM 52:加工動作制御部[Explanation of Codes] 1, 2 Operation part 3: Interference area 3a: Interference area projected on XZ plane 3b: Interference area projected on YZ plane 10: Bed 11: Turret base 12: Guide bush 13: XY table 14: Turret 15: Bit 16: Rotating tool 17: Back turret 18: Back machining tool 20: Back headstock 21: Chuck 22: Opposing turret 23: Relative rotating tool 30: Drive unit 40: System Control unit 44: Operation panel 45: Input / output control unit 46: System control program memory 48: Machining program storage unit 50: RAM 52: Machining operation control unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G05B 19/19 G05B 19/19 M ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G05B 19/19 G05B 19/19 M

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 干渉する可能性の有る複数の動作部を持
つNC工作機械において、 該NC工作機械の動作中に、前記複数の動作部のそれぞ
れ予めNC装置に設定してある形状での今後の軌跡を求
め、該複数の動作部の今後の軌跡が交差して重なる干渉
領域を設定し、 前記各動作部が前記干渉領域に進入する前に該干渉領域
に進入する優先順位を確認して、該動作部の優先順位が
一番高い場合には進入させ、他に優先順位が高い動作部
がある場合には該干渉領域に進入する前に停止させ、優
先順位が高い動作部が干渉領域の外に出て干渉しなくな
り、優先順位が一番高くなってから該干渉領域に進入さ
せることを特徴とするNC工作機械における干渉回避方
法。
1. An NC machine tool having a plurality of moving parts having a possibility of interfering with each other, in the future, in a shape in which each of the plurality of moving parts is preset in an NC device during the operation of the NC machine tool. Of the plurality of operation units, sets an interference region where future trajectories of the plurality of operation units intersect and overlaps with each other, and confirms the priority of each operation unit entering the interference region before entering the interference region. , If the operating unit has the highest priority, it enters, and if there is another operating unit with a high priority, it stops before entering the interference area, and the operating unit with the higher priority operates in the interference area. A method for avoiding interference in an NC machine tool, which is characterized in that the user goes out of the area and does not interfere with it, and enters the interference area after the priority becomes highest.
【請求項2】 NC工作機械の動作中に、前記NC装置
が使用中の加工プログラムを複数ブロック先読みして複
数の動作部の今後の軌跡を求め、該複数の動作部の今後
の軌跡が交差して重なる干渉領域を、2次元の干渉チェ
ックでは面、3次元の干渉チェックでは立体としてそれ
ぞれ設定することを特徴とする請求項1記載のNC工作
機械における干渉回避方法。
2. During operation of the NC machine tool, a plurality of blocks of a machining program being used by the NC device are prefetched to obtain future trajectories of a plurality of operating parts, and future trajectories of the plurality of operating parts intersect. 2. The interference avoiding method for an NC machine tool according to claim 1, wherein the overlapping interference areas are set as a surface for a two-dimensional interference check and a solid for a three-dimensional interference check.
【請求項3】 前記優先順位を、前記NC装置に予め設
定しておくことを特徴とする請求項1又は2記載のNC
工作機械における干渉回避方法。
3. The NC according to claim 1, wherein the priority order is set in advance in the NC device.
Interference avoidance method for machine tools.
【請求項4】 前記優先順位を、前記複数の動作部が前
記干渉領域に時間的に早く到達する順に設定することを
特徴とする請求項1又は2記載のNC工作機械における
干渉回避方法。
4. The interference avoidance method for an NC machine tool according to claim 1, wherein the priority order is set in the order in which the plurality of operation units reach the interference area earlier in time.
【請求項5】 前記優先順位を、加工動作中の動作部に
対して加工中でない動作部より高く設定することを特徴
とする請求項1又は2記載のNC工作機械における干渉
回避方法。
5. The interference avoidance method for an NC machine tool according to claim 1, wherein the priority is set to be higher for an operating part that is performing a processing operation than for an operating part that is not processing.
JP6650995A 1995-03-24 1995-03-24 Interference evading method for nc machine tool Pending JPH08263115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6650995A JPH08263115A (en) 1995-03-24 1995-03-24 Interference evading method for nc machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6650995A JPH08263115A (en) 1995-03-24 1995-03-24 Interference evading method for nc machine tool

Publications (1)

Publication Number Publication Date
JPH08263115A true JPH08263115A (en) 1996-10-11

Family

ID=13317884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6650995A Pending JPH08263115A (en) 1995-03-24 1995-03-24 Interference evading method for nc machine tool

Country Status (1)

Country Link
JP (1) JPH08263115A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002067068A1 (en) * 2001-02-22 2002-08-29 Mitsubishi Denki Kabushiki Kaisha Method of numeriacl control and apparatus for the same
JP2005305572A (en) * 2004-04-19 2005-11-04 Citizen Watch Co Ltd Work machining method in numerical control lathe
JP2006004128A (en) * 2004-06-17 2006-01-05 Mori Seiki Co Ltd Interference confirmation device
JP2007286688A (en) * 2006-04-12 2007-11-01 Nakamura Tome Precision Ind Co Ltd Interference detection method and control device for machine tool
US7487004B2 (en) 2002-07-30 2009-02-03 Citizen Holdings Co., Ltd. Tool selection method for machine tool, control device, and numerically controlled lathe
JPWO2013157081A1 (en) * 2012-04-17 2015-12-21 株式会社牧野フライス製作所 Machine tool interference judgment method and interference judgment device
JP2016091142A (en) * 2014-10-31 2016-05-23 ファナック株式会社 System enabling self-control of peripheral equipment of machine tool
JP2016115074A (en) * 2014-12-12 2016-06-23 ファナック株式会社 Numerical control device with interference avoidance/positioning function

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2376088A (en) * 2001-02-22 2002-12-04 Mitsubishi Electric Corp Method of numerical control and apparatus for the same
WO2002067068A1 (en) * 2001-02-22 2002-08-29 Mitsubishi Denki Kabushiki Kaisha Method of numeriacl control and apparatus for the same
US8145348B2 (en) 2002-07-30 2012-03-27 Citizen Holdings Co., Ltd. Tool selection method for machine tool, control device, and numerically controlled lathe
US7487004B2 (en) 2002-07-30 2009-02-03 Citizen Holdings Co., Ltd. Tool selection method for machine tool, control device, and numerically controlled lathe
JP4666675B2 (en) * 2004-04-19 2011-04-06 シチズンホールディングス株式会社 Machining method of workpiece on numerically controlled lathe
JP2005305572A (en) * 2004-04-19 2005-11-04 Citizen Watch Co Ltd Work machining method in numerical control lathe
JP2006004128A (en) * 2004-06-17 2006-01-05 Mori Seiki Co Ltd Interference confirmation device
JP2007286688A (en) * 2006-04-12 2007-11-01 Nakamura Tome Precision Ind Co Ltd Interference detection method and control device for machine tool
JPWO2013157081A1 (en) * 2012-04-17 2015-12-21 株式会社牧野フライス製作所 Machine tool interference judgment method and interference judgment device
JP2016091142A (en) * 2014-10-31 2016-05-23 ファナック株式会社 System enabling self-control of peripheral equipment of machine tool
US10101726B2 (en) 2014-10-31 2018-10-16 Fanuc Corporation Autonomous control system
JP2016115074A (en) * 2014-12-12 2016-06-23 ファナック株式会社 Numerical control device with interference avoidance/positioning function
US9983568B2 (en) 2014-12-12 2018-05-29 Fanuc Corporation Numerical controller

Similar Documents

Publication Publication Date Title
EP1195665B1 (en) Apparatus and method for setting control parameters of machining apparatus
JPH046001B2 (en)
JPS62237504A (en) Numerical controller
KR930010589B1 (en) Cutting tool stop control apparatus
JPH08263115A (en) Interference evading method for nc machine tool
JP3464307B2 (en) Interference check method in NC lathe
JP4947534B2 (en) Machine tool and method of operating machine tool
JP5059360B2 (en) Rapid feed control method for machine tools
JPS61293704A (en) Numerical controller for automatic lathe
JP3572113B2 (en) Control method of NC machine tool
JP3207125B2 (en) Turret tool selection command method
JP3435229B2 (en) Machining method by NC lathe and NC lathe capable of backup machining
JP2000284817A (en) Numerical controller to simultaneously control two movable objects no common track
JP3440149B2 (en) Control method of NC lathe
JP2002273601A (en) Multispindle machine tool
JP3450065B2 (en) NC lathe
JP4672288B2 (en) Control device for controlling movement of movable part of machine tool, machine tool having control device, and moving method of movable part
JP4261708B2 (en) NC machining equipment
JP3313001B2 (en) Control method at the start and end of machining of NC lathe
JP3342589B2 (en) Machining method using NC lathe and method for creating machining program
JPH11242511A (en) Numeric controller for simultaneously controlling two movable bodies on comomon path
KR20230030526A (en) Machine tool
JPH01205954A (en) Automatic determination device for tool route of machine tool
JPH04332005A (en) Program checking device for nc device
JP2000317772A (en) Control method for machine tool