JPH0420736B2 - - Google Patents

Info

Publication number
JPH0420736B2
JPH0420736B2 JP60277746A JP27774685A JPH0420736B2 JP H0420736 B2 JPH0420736 B2 JP H0420736B2 JP 60277746 A JP60277746 A JP 60277746A JP 27774685 A JP27774685 A JP 27774685A JP H0420736 B2 JPH0420736 B2 JP H0420736B2
Authority
JP
Japan
Prior art keywords
program
block
interference
tool
interpolation
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.)
Expired - Lifetime
Application number
JP60277746A
Other languages
Japanese (ja)
Other versions
JPS62136340A (en
Inventor
Hideaki Kawamura
Takao Sasaki
Teruyuki Matsumura
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.)
Fanuc Corp
Original Assignee
Fanuc Corp
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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP60277746A priority Critical patent/JPS62136340A/en
Priority to PCT/JP1986/000624 priority patent/WO1987003524A1/en
Priority to KR1019870700671A priority patent/KR910007257B1/en
Priority to DE87900257T priority patent/DE3688746T2/en
Priority to US07/103,581 priority patent/US4821201A/en
Priority to EP87900257A priority patent/EP0250597B1/en
Publication of JPS62136340A publication Critical patent/JPS62136340A/en
Publication of JPH0420736B2 publication Critical patent/JPH0420736B2/ja
Granted legal-status Critical Current

Links

Classifications

    • B—PERFORMING OPERATIONS; TRANSPORTING
    • B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23Q—DETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00—Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00—Program-control systems
    • G05B19/02—Program-control systems electric
    • G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
    • G05B19/406—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by monitoring or safety
    • G05B19/4069—Simulating machining process on screen
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00—Program-control systems
    • G05B19/02—Program-control systems electric
    • G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
    • G05B19/406—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by monitoring or safety
    • G05B19/4061—Avoiding collision or forbidden zones
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00—Program-control systems
    • G05B2219/30—Nc systems
    • G05B2219/35—Nc in input of data, input till input file format
    • G05B2219/35313—Display, validate tool path for boundary, surface interference
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00—Program-control systems
    • G05B2219/30—Nc systems
    • G05B2219/36—Nc in input of data, input key till input tape
    • G05B2219/36084—Amend, modify program by inserting wait and wait dismiss command
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00—Program-control systems
    • G05B2219/30—Nc systems
    • G05B2219/45—Nc applications
    • G05B2219/45125—Four axis, spindle lathe
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00—Program-control systems
    • G05B2219/30—Nc systems
    • G05B2219/50—Machine tool, machine tool null till machine tool work handling
    • G05B2219/50001—Multislides, multispindles with multitool turret for each

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Numerical Control (AREA)
  • Auxiliary Devices For Machine Tools (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は4軸旋盤用NCプログラムの修正方法
に係り、特に第1、第2の2つの刃物台のそれぞ
れに対応して待ち合わせ指令を有する第1、第2
のNCプログラムを設け、該待ち合わせ指令によ
り同期をとりながら第1、第2のNCプログラム
で独立に対応する刃物台を移動制御してワークに
加工を施す4軸旋盤用NCプログラムの修正方法
に関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a method for modifying an NC program for a 4-axis lathe, and particularly includes a waiting command corresponding to each of two tool rests, a first and a second turret. 1st, 2nd
The present invention relates to a method for modifying an NC program for a 4-axis lathe in which a workpiece is machined by independently controlling the movement of corresponding tool rests using a first and second NC program while synchronizing with the waiting command.

<従来技術> 刃物台を2つ有する4軸旋盤では、それぞれの
刃物台を独立に制御して動かすことができるた
め、たとえば一方の刃物台11(第4図参照)に
取り付けられた工具12でワーク13の外径加工
を、もう一方の刃物台21に取り付けられた工具
22で内径加工を同時に行える利点を持ち、加工
時間の短縮を図ることができる。
<Prior art> In a four-axis lathe with two tool rests, each tool rest can be controlled and moved independently, so for example, the tool 12 attached to one tool rest 11 (see Fig. 4) can be moved. This has the advantage that the outer diameter machining of the workpiece 13 and the inner diameter machining can be simultaneously performed using the tool 22 attached to the other tool post 21, and the machining time can be shortened.

ところが、2つの刃物台11,21で同時に加
工を行う場合には2つの刃物台(工具を含める)
の衝突という事態がプログラム指令の誤りによつ
て発生する場合がある。かかる衝突は絶対に避け
なければならないため、従来より2つの刃物台が
衝突するかどうかを実際の加工前にチエツクし
(刃物台干渉チエツクという)、干渉する場合には
各刃物台に対応して設けられた第1、第2のNC
プログラムを修正するようにしている。
However, when machining is performed with two tool rests 11 and 21 at the same time, two tool rests (including tools) are used.
Conflicts may occur due to errors in program commands. Since such collisions must be avoided at all costs, it has traditionally been necessary to check whether the two turrets will collide before actual machining (called a turret interference check). First and second NC provided
I am trying to modify the program.

尚、2つの刃物台が衝突するかどうかの刃物台
干渉チエツクは従来以下の方法で行つている。
Incidentally, a tool post interference check to determine whether two tool posts will collide has conventionally been performed using the following method.

すなわち、それぞれの刃物台に取り付けられた
全ての工具について、第5図に点線で示すように
工具12,22及び刃物台11,21の形状を矩
形の領域として定義(近似)し、この2つの矩形
が重なり合うかどうかをチエツクし、重なり合う
場合には干渉するものとみなすものである。この
ように矩形として定義するのは矩形の重なり合い
をチエツクするのは比較的演算が簡単であるとい
う理由にほかならず、好ましくは実際の形状通り
の図形が重なり合うかどうかをチエツクすること
であるが演算が複雑となつて現実的ではない。た
だし、最近は実際の形状通りの図形をそれぞれの
工具毎にNC装置に入力させて、その図形が重な
り合うかどうかをチエツクすることも行われてい
る。というのは、CNC装置にカラーグラフイツ
ク表示が可能なCRTが装着されるようになつて
きているため、各工具を別々の色で表示させ、2
つの色表示が重なつたかどうかで容易に工具干渉
チエツクが行えるからである。
That is, for all the tools attached to each tool post, the shapes of the tools 12, 22 and the tool posts 11, 21 are defined (approximated) as rectangular areas as shown by dotted lines in FIG. It checks whether rectangles overlap, and if they overlap, it is assumed that they interfere. The reason why it is defined as a rectangle in this way is that it is relatively easy to perform calculations to check whether rectangles overlap, and it is preferable to check whether figures that match the actual shapes overlap. is complicated and unrealistic. However, recently, the actual shape of each tool is input into an NC device, and it is checked whether the shapes overlap. This is because CNC machines are increasingly being equipped with CRTs that can display color graphics, so each tool can be displayed in a different color, and two
This is because tool interference can be easily checked based on whether two color displays overlap.

<発明が解決しようとしている問題点> さて、工具干渉が発生すれば、干渉しないよう
にNCプログラムを修正しなくてはならないが従
来は自動的にNCプログラムの修正ができなかつ
た。このため、修正従業が面倒となり、修正に長
時間を要するという問題があつた。
<Problem to be solved by the invention> Now, when tool interference occurs, the NC program must be modified to prevent the interference, but in the past, it was not possible to automatically modify the NC program. For this reason, there was a problem in that it became troublesome for employees to make corrections, and it took a long time to make corrections.

以上から本発明の目的は、干渉しないように4
軸旋盤用NCプログラムを自動的に修正すること
ができる修正方法を提供することである。
From the above, it is an object of the present invention to avoid interference.
An object of the present invention is to provide a correction method that can automatically correct an NC program for an axis lathe.

<問題点を解決するための手段> 第1図は本発明の説明図である。<Means to solve the problem> FIG. 1 is an explanatory diagram of the present invention.

101,102は第1、第2の2つの刃物台に
対応して設けられた第1、第2のNCプログラ
ム、301はCNC装置、401はグラフイツク
デイスプレイ装置である。
101 and 102 are first and second NC programs provided corresponding to the first and second tool rests, 301 is a CNC device, and 401 is a graphic display device.

102,202は解読・実行データ作成部、1
03,203は補間シユミレータ、104,20
4,301aは記憶域である。
102, 202 is a decoding/execution data creation unit, 1
03,203 is an interpolation simulator, 104,20
4,301a is a storage area.

<作用> 干渉チエツクにおいて、第1、第2のNCプロ
グラム101,102に基づいて順次1ブロツク
づつ補間シユミレータ103,104で補間シユ
ミレーシヨンを実行させ、干渉する場合には補間
シユミレーシヨンを停止させると共に、干渉した
ブロツクの最初迄両刃物台を逆行させる。
<Operation> In the interference check, the interpolation simulators 103 and 104 execute interpolation simulation one block at a time based on the first and second NC programs 101 and 102, and when interference occurs, the interpolation simulation is stopped and the interpolation simulation is stopped. Move the turret backwards until you reach the beginning of the block.

しかる後、一方のNCプログラムによる補間シ
ユミレーシヨンを停止させたまゝ他方のNCプロ
グラムによる補間シユミレーシヨンを実行して他
方の刃物台を前記干渉ブロツクに沿つて単独移動
させ、単独移動の際干渉しない場合には前記干渉
した第1、第2のNCプログラムのブロツク番号
N,Mをそれぞれ記憶域301aに記憶する。
After that, while the interpolation simulation by one NC program is stopped, the interpolation simulation by the other NC program is executed to move the other tool rest independently along the interference block, and if there is no interference during independent movement, The block numbers N and M of the first and second NC programs that interfered are stored in the storage area 301a, respectively.

そして、干渉チエツク後、前記補間シユミレー
シヨンが停止されたNCプログラムのブロツク番
号Mのブロツクの前に待ち合わせ指令を挿入し、
前記補間シユミレーシヨンを実行したNCプログ
ラムのブロツク番号NBのブロツクのあとに待ち
合わせ指令を挿入してNCプログラムを修正す
る。
After the interference check, a wait command is inserted before the block number M of the NC program where the interpolation simulation was stopped,
The NC program is modified by inserting a wait command after the block with block number N B of the NC program in which the interpolation simulation was executed.

<実施例> 第1図は本発明の説明図である。<Example> FIG. 1 is an explanatory diagram of the present invention.

101,201は第1、第2の2つの刃物台に
対応して設けられた第1、第2のNCプログラ
ム、301はCNC装置、401は干渉チエツク
機能付きのグラフイツクデイスプレイ装置であ
る。
101 and 201 are first and second NC programs provided corresponding to the first and second two tool rests, 301 is a CNC device, and 401 is a graphic display device with an interference check function.

102,202はNCプログラムを1ブロツク
づつ読み取つて解読すると共に、実行形式のデー
タを作成する解読・実行データ作成部、103,
203は補間シユミレータ、104,204は数
ブロツク分の最新の通路データをブロツク番号
(シーケンス番号)と共に記憶する記憶域、30
1aは干渉するブロツクのシーケンス番号を記憶
する干渉ブロツク記憶域である。尚、100番台の
要素は第1の刃物台の移動制御用であり、200番
台の要素は第2刃物台の移動制御用である。
102, 202 is a decoding/execution data creation unit that reads and decodes the NC program one block at a time, and creates data in executable format; 103;
203 is an interpolation simulator; 104 and 204 are storage areas for storing the latest path data for several blocks together with block numbers (sequence numbers);
1a is an interfering block storage area that stores the sequence numbers of interfering blocks. Note that the elements in the 100s are for controlling the movement of the first tool rest, and the elements in the 200s are for controlling the movement of the second tool rest.

グラフイツクデイスプレイ装置401は両工具
を別々の色で描画すると共に、第1、第2工具の
重なり合うを判別する。たとえば、第1の刃物台
及び工具を青色で描画し、第2の刃物台及び工具
を緑色で描画するものとすれば、青色のフレーム
メモリと緑色のフレームメモリから同時に“1”
が読み出された時両工具は重なり合つていると判
定する。
The graphic display device 401 draws both tools in different colors and determines whether the first and second tools overlap. For example, if the first turret and tool are drawn in blue and the second turret and tool are drawn in green, "1" is simultaneously drawn from the blue frame memory and the green frame memory.
When is read out, it is determined that both tools overlap.

第2図は本発明の4軸旋盤用NCプログラム修
正方法の処理の流れ図である。以下、この流れ図
に従つて説明する。
FIG. 2 is a flow chart of the process of the NC program correction method for a four-axis lathe according to the present invention. The process will be explained below according to this flowchart.

(1) 起動がかかれば、各刃物台のNCプログラム
101,102は1ブロツクづつ読み取られて
解読され、実行形式のデータに変換される。
(1) When started, the NC programs 101 and 102 of each tool post are read one block at a time, decoded, and converted into executable data.

尚、NCデータがプログラムエンド、テープ
エンドであれば干渉チエツク処理を終了し、後
述する修正処理を実行する。
Incidentally, if the NC data is the program end or tape end, the interference check process is ended and the correction process described later is executed.

(2) 実行形式のデータはブロツクデータメモリと
称せられる記憶域104,204にそれぞれ記
憶される。尚、この記憶域には実行形式のデー
タと共に、シーケンス番号も記憶される。
(2) Executable data is stored in storage areas 104 and 204, respectively, called block data memories. Note that this storage area stores the sequence number as well as the execution format data.

(3) 実行形式のデータを用いて各補間シユミレー
シヨン103,203は補間シユミレーシヨン
を実行し、その結果をグラフイツクデイスプレ
イ装置401に送る。
(3) Each interpolation simulation 103, 203 executes an interpolation simulation using the data in the executable format, and sends the result to the graphic display device 401.

(4) グラフイツクデイスプレイ装置401は補間
されたデータに基づいて各工具を別々の色で移
動及び描画する。又、グラフイツクデイスプレ
イ装置は2つの工具が干渉するかどうかをチエ
ツクする。
(4) The graphic display device 401 moves and draws each tool in a different color based on the interpolated data. The graphic display device also checks whether the two tools interfere.

(5) 干渉しなければ1ブロツクの補間シユミレー
シヨンが終了したかどうかをチエツクし、終了
していなければステツプ(3)以降の処理を行い、
終了していれば次のブロツクのNCデータに基
づいてステツプ(1)以降の処理を繰り返す。
(5) If there is no interference, check whether the interpolation simulation for one block has finished, and if it has not finished, perform the processing from step (3) onwards.
If completed, the process from step (1) onwards is repeated based on the NC data of the next block.

(6) 一方ステツプ(4)において、工具が干渉すれば
補間シユミレータ103,203は補間を停止
する。尚、干渉した時の第1NCプログラムの
シーケンス番号をN、第2NCプログラムのシ
ーケンス番号をMとする。
(6) On the other hand, in step (4), if the tool interferes, the interpolation simulators 103 and 203 stop interpolation. Note that the sequence number of the first NC program at the time of interference is N, and the sequence number of the second NC program is M.

しかる後、補間が停止した時の各工具位置と
干渉ブロツクの始点位置(記憶域104,20
4に記憶されている)を用いて両刃物台を干渉
ブロツクの始点位置迄逆行させる。
After that, each tool position and the starting point position of the interference block (storage areas 104 and 20) are stored when interpolation is stopped.
4) is used to move the double turret back to the starting position of the interference block.

(7) 逆行完了後、補間シユミレータ103(補間
シユミレータ203でもよい)のみ干渉ブロツ
クの通路データに基づいて補間シユミレーシヨ
ンを行い、第1の刃物台を干渉ブロツクに沿つ
て単独移動させる。
(7) After completing the backward movement, only the interpolation simulator 103 (or the interpolation simulator 203) performs interpolation simulation based on the path data of the interference block, and moves the first tool rest independently along the interference block.

(8) グラフイツクデイスプレイ装置401は単独
移動に於て干渉するかどうかをチエツクする。
(8) The graphic display device 401 checks whether it interferes with the individual movement.

(9) 干渉しなければ干渉ブロツクに沿つた単独移
動が完了したかどうかをチエツクする。単独移
動が完了していなければステツプ(7)以降の処理
を継続する。
(9) If there is no interference, check whether independent movement along the interference block has been completed. If the independent movement is not completed, the processing from step (7) onwards is continued.

(10) 干渉することなく単独移動が完了すれば、干
渉ブロツク記憶域301aにN,Mを記憶し、
以後同時移動制御を開始する。尚、第1刃物台
は次のNCデータに基づいて通路制御され、第
2刃物台は記憶域204に記憶されている最新
の通路データに基づいて通路制御される。
(10) If the independent movement is completed without interference, store N and M in the interference block storage area 301a,
After that, simultaneous movement control will start. Note that the path of the first tool rest is controlled based on the next NC data, and the path of the second tool rest is controlled based on the latest path data stored in the storage area 204.

(11) ステツプ(8)において干渉すればI+1→Iと
する(ただし、Iは干渉回数であり、待ち合わ
せ指令により0にクリアされる)。
(11) If there is interference in step (8), I+1→I (where I is the number of interferences and is cleared to 0 by the rendezvous command).

(12) ついで、I≧Isかどうかをチエツクする。た
だし、Isは1つの待ち合わせ指令から次の待ち
合わせ指令迄に許容される干渉回数である。
(12) Next, check whether I≧I s . However, I s is the number of times of interference allowed from one rendezvous command to the next rendezvous command.

(13) I≧Isであれば、第1、第2のNCプログラ
ムで4軸旋盤制御することは不適当であるとし
てその旨を表示して処理を終了する。
(13) If I≧I s , it is inappropriate to control the 4-axis lathe using the first and second NC programs, and this fact is displayed and the process ends.

(14) しかし、I<Isであれば、N−1→N,M
−1→Mとして実際に干渉したブロツクより1
つ前のブロツクを干渉ブロツクとみなし、以後
ステツプ(6)以降の処理を繰り返す。
(14) However, if I<I s , then N-1→N,M
1 from the block that actually interfered as -1→M
The previous block is regarded as an interfering block, and the processing from step (6) onwards is repeated.

以上により、干渉チエツクが完了すれば干渉ブ
ロツク記憶域301aに記憶されているシーケン
ス番号を用いて第1、第2NCプログラムの修正
処理を行う。
As described above, when the interference check is completed, the first and second NC programs are corrected using the sequence numbers stored in the interference block storage area 301a.

すなわち、 (a) 補間シユミレーシヨンが停止された第2NC
プログラムのシーケンス番号Mのブロツクの前
に待ち合わせ指令を挿入し、 (b) 補間シユミレーシヨンを実行したNCプログ
ラムのシーケンス番号Nのブロツクのあとに待
ち合わせ指令を挿入 してNCプログラムを修正する。
(a) 2nd NC with interpolation simulation stopped;
Insert a wait command before the block with sequence number M in the program; (b) Correct the NC program by inserting a wait command after the block with sequence number N in the NC program that executed the interpolation simulation.

たとえば、第1NCプログラム、第2NCプログ
ラムがそれぞれ以下のように構成され、 第1NCプログラム 第2NCプログラム …………………… …………………… N1100M100; N2100M100; N1101G00X Z S M03;
N2101G00X Z ; N1102G01X F ; N2102G01Z F ; N1103G00Z ; N2103G00X ; N1104X ; N2104Z ; N1105G01Z ; N2105G01X ; N1106X ; N2106Z ; …………… …………… N1200M200; N2200M200; (ただし、M100,M200は待ち合わせ指令であ
る)、第3図に示すように第1NCプログラムのシ
ーケンス番号N1102と第2NCプログラムのシーケ
ンス番号N2102の移動において干渉するものとす
れば、N=1102,M=2102となり(ただし、単独
移動で干渉しないものとする)、第1、第2の
NCプログラムは以下のように修正される。
For example, the 1st NC program and the 2nd NC program are configured as follows. 1st NC program 2nd NC program …………………… …………………… N1100M100; N2100M100; N1101G00X Z S M03;
N2101G00X Z ; N1102G01X F ; N2102G01Z F ; N1103G00Z ; N2103G00X ;N1104X ;N2104Z ; N1105G01Z ; N2105G01X ;N1106X ;N2106Z ; …………… …………… N1200M200; N2200M200; (However, M100 and M200 are waiting commands), as shown in Figure 3, the sequence number N1102 of the first NC program and the sequence number N2102 of the second NC program If it interferes with the movement of
The NC program is modified as follows.

第1NCプログラム 第2NCプログラム …………………… …………………… N1100M100; N2100M100; N1101G00X Z S M03;
N2101G00X Z ; N1102G01X F ; N2102M300; N1103M300; N2103G01Z F; N1104G00Z; N2104G00X ; N1105X ; N2105Z ; N1106G01Z ; N2106G01X ; N1107X ; N2107Z ; …………… …………… N1200M200; N2200M200; 尚、以上では逆行完了後、無条件に予め定めた
一方のNCプログラムにより単独移動させた場合
であるが、どちらの補間シユミレーシヨンを実行
させるかは刃物台の加工の種類を考慮して決定し
てもよい。たとえば、内径加工を端面加工、外径
加工より優先するなどの条件で補間シユミレーシ
ヨンを停止させるNCプログラムを決定してもよ
い。
1st NC program 2nd NC program …………………… …………………… N1100M100; N2100M100; N1101G00X Z S M03;
N2101G00X Z ; N1102G01X F ; N2102M300; N1103M300; N2103G01Z F; N1104G00Z; N2104G00X ;N1105X ;N2105Z ; N1106G01Z ;N2106G01X ;N1107X ;N2107Z ; …………… …………… N1200M200; N2200M200; In addition, the above example is a case where the motor is moved independently using one of the predetermined NC programs after completing the reverse movement, but which interpolation simulation is executed? It may be determined by considering the type of machining of the tool rest. For example, an NC program may be determined to stop the interpolation simulation under conditions such as giving priority to inner diameter machining over end face machining and outer diameter machining.

<発明の効果> 以上本発明によれば、干渉チエツクにおいて、
干渉する場合には補間シユミレーシヨンを停止さ
せると共に、干渉したブロツクの最初迄両刃物台
を逆行させ、しかる後一方のNCプログラムによ
る補間シユミレーシヨンを停止させたまゝ他方の
NCプログラムによる補間シユミレーシヨンを実
行して他方の刃物台を単独移動させ、単独移動の
際干渉しない場合には干渉した第1、第2のNC
プログラムのブロツク番号N,Mをそれぞれ記憶
し、干渉チエツク後補間シユミレーシヨンが停止
されたNCプログラムの前記ブロツク番号Mの前
に待ち合わせ指令を挿入し、補間シユミレーシヨ
ンを実行したNCプログラムの前記ブロツク番号
Nのあとに待ち合わせ指令を挿入してNCプログ
ラムを修正するように構成したから、干渉しない
ように4軸旋盤用NCプログラムを自動的に修正
することができ、修正処理を短時間で簡単に行う
ことができる。
<Effects of the Invention> According to the present invention, in the interference check,
If there is interference, stop the interpolation simulation and move both tool rests backwards to the beginning of the block that interfered, then stop the interpolation simulation by one NC program and move the other one.
Execute interpolation simulation using the NC program to move the other turret independently, and if there is no interference during independent movement, the first and second NCs that interfered
The block numbers N and M of the program are memorized, and a wait command is inserted before the block number M of the NC program where the interpolation simulation was stopped after the interference check, and the block number N of the NC program where the interpolation simulation was executed is stored. Since the configuration is configured to modify the NC program by inserting a wait command later, it is possible to automatically modify the NC program for a 4-axis lathe to avoid interference, and the modification process can be performed easily in a short time. can.

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

第1図は本発明の機能ブロツク図、第2図は本
発明の処理の流れ図、第3図は干渉する場合のプ
ログラム修正説明図、第4図は4軸旋盤の説明
図、第5図は工具干渉チエツクの説明図である。 101,201……第1、第2のNCプログラ
ム、102,202……解読・実行データ作成
部、103,203……補間シユミレータ、10
4,204……記憶域、301a……干渉ブロツ
ク記憶域、301……CNC装置、401……グ
ラフイツクデイスプレイ装置。
Fig. 1 is a functional block diagram of the present invention, Fig. 2 is a flowchart of the processing of the present invention, Fig. 3 is an explanatory diagram of program correction in case of interference, Fig. 4 is an explanatory diagram of a 4-axis lathe, and Fig. 5 is an explanatory diagram of a 4-axis lathe. FIG. 3 is an explanatory diagram of a tool interference check. 101,201...First and second NC programs, 102,202...Decoding/execution data creation section, 103,203...Interpolation simulator, 10
4,204...Storage area, 301a...Interference block storage area, 301...CNC device, 401...Graphic display device.

Claims (1)

【特許請求の範囲】 1 第1、第2の2つの刃物台のそれぞれに対応
して待ち合わせ指令を有する第1、第2のNCプ
ログラムを設け、該待ち合わせ指令により同期を
とりながら第1、第2のNCプログラムで独立に
対応する刃物台を移動制御してワークに加工を施
す4軸旋盤用NCプログラムの修正方法におい
て、 干渉チエツク時、第1、第2のNCプログラム
に基づいて順次1ブロツクづつ補間シユミレーシ
ヨンを実行させると共に、 第1、第2の刃物台の工具が互いに干渉するか
どうかをチエツクし、 干渉する場合には補間シユミレーシヨンを停止
させると共に、干渉したブロツクの最初迄両刃物
台を逆行させ、 しかる後、一方のNCプログラムによる補間シ
ユミレーシヨンを停止させたまゝ他方のNCプロ
グラムによる補間シユミレーシヨンを実行して他
方の刃物台を前記干渉ブロツクに沿つて単独移動
させ、 単独移動の際干渉しない場合には干渉した第
1、第2のNCプログラムのブロツク番号をそれ
ぞれ記憶し、 干渉チエツク後、前記補間シユミレーシヨンが
停止されたNCプログラムの前記ブロツク番号の
前に待ち合わせ指令を挿入し、前記補間シユミレ
ーシヨンを実行したNCプログラムの前記ブロツ
ク番号のあとに待ち合わせ指令を挿入してNCプ
ログラムを修正する ことを特徴とする4軸旋盤用NCプログラムの修
正方法。 2 前記単独移動の際干渉する場合には、干渉ブ
ロツクより1つ前のブロツクを干渉ブロツクとみ
なして該ブロツクの始点迄両刃物台を逆行させ、
しかる後前記単独移動制御を行うことを特徴とす
る特許請求の範囲第1項記載の4軸旋盤用NCプ
ログラムの修正方法。
[Claims] 1. First and second NC programs each having a waiting command are provided corresponding to the first and second two tool rests, and the first and second NC programs are synchronized by the waiting command. In the method for modifying an NC program for a 4-axis lathe that processes a workpiece by controlling the movement of the corresponding tool rest independently using the 2nd NC program, when checking for interference, 1 block is sequentially changed based on the 1st and 2nd NC programs. While executing the interpolation simulation one by one, it checks whether the tools on the first and second tool posts interfere with each other, and if they do, it stops the interpolation simulation and moves both tool posts up to the beginning of the block that interfered. Then, while the interpolation simulation by one NC program is stopped, the interpolation simulation by the other NC program is executed to move the other tool rest independently along the interference block, so that it does not interfere when moving independently. If so, the block numbers of the first and second NC programs that interfered are memorized, and after checking the interference, a wait command is inserted before the block number of the NC program where the interpolation simulation was stopped, and the interpolation simulation is restarted. A method for modifying an NC program for a 4-axis lathe, characterized in that the NC program is modified by inserting a waiting command after the block number of the NC program that has executed. 2. If there is interference during the independent movement, consider the block immediately before the interfering block as the interfering block, and move the double turret backwards to the starting point of the block;
2. The method of modifying an NC program for a four-axis lathe according to claim 1, wherein the independent movement control is then performed.
JP60277746A 1985-12-10 1985-12-10 Method of modifying numerically controlled (nc) program for 4-spindle lathe Granted JPS62136340A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP60277746A JPS62136340A (en) 1985-12-10 1985-12-10 Method of modifying numerically controlled (nc) program for 4-spindle lathe
PCT/JP1986/000624 WO1987003524A1 (en) 1985-12-10 1986-12-10 Method of correcting nc program for four-spindle lathe
KR1019870700671A KR910007257B1 (en) 1985-12-10 1986-12-10 How to modify NC program for 4-axis lathe
DE87900257T DE3688746T2 (en) 1985-12-10 1986-12-10 CORRECTION PROCEDURE OF A NUMERICAL CONTROL PROGRAM FOR A FOUR-SPINDLE BANK.
US07/103,581 US4821201A (en) 1985-12-10 1986-12-10 Method of revising NC program for four-axis lathes
EP87900257A EP0250597B1 (en) 1985-12-10 1986-12-10 Method of correcting nc program for four-spindle lathe

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60277746A JPS62136340A (en) 1985-12-10 1985-12-10 Method of modifying numerically controlled (nc) program for 4-spindle lathe

Publications (2)

Publication Number Publication Date
JPS62136340A JPS62136340A (en) 1987-06-19
JPH0420736B2 true JPH0420736B2 (en) 1992-04-06

Family

ID=17587750

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60277746A Granted JPS62136340A (en) 1985-12-10 1985-12-10 Method of modifying numerically controlled (nc) program for 4-spindle lathe

Country Status (6)

Country Link
US (1) US4821201A (en)
EP (1) EP0250597B1 (en)
JP (1) JPS62136340A (en)
KR (1) KR910007257B1 (en)
DE (1) DE3688746T2 (en)
WO (1) WO1987003524A1 (en)

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5239477A (en) * 1987-07-24 1993-08-24 Fanuc Ltd. Conversational-type programming apparatus classifying by color regions to be machined
JPS6462706A (en) * 1987-09-03 1989-03-09 Fanuc Ltd Nc program output system
JPH07107647B2 (en) * 1988-02-12 1995-11-15 三菱電機株式会社 Interference check method for multiple system control
JP2534305B2 (en) * 1988-03-09 1996-09-11 ファナック株式会社 Numerical control unit
JPH07115278B2 (en) * 1988-05-19 1995-12-13 ファナック株式会社 Control device for compound machine tools
JPH0218603A (en) * 1988-07-07 1990-01-22 Fanuc Ltd Numerical controller
JPH0277805A (en) * 1988-09-14 1990-03-16 Fanuc Ltd Debugging system for robot off-line teaching point
JPH0698552B2 (en) * 1988-12-26 1994-12-07 オ−クマ株式会社 Method of determining processing method in numerical control information generator
US5122966A (en) * 1989-09-18 1992-06-16 Northern Research & Engineering Computer generated tool path interference check method
JP2752743B2 (en) * 1989-11-24 1998-05-18 オ−クマ株式会社 Method and apparatus for determining inner diameter machining method in numerical control information creation function
JPH03196310A (en) * 1989-12-26 1991-08-27 Fanuc Ltd Display system for numerical controller
JPH05216527A (en) * 1992-02-03 1993-08-27 Fanuc Ltd Graphic interference check device
ATE201777T1 (en) * 1995-03-31 2001-06-15 Siemens Ag METHOD FOR OPERATING A MACHINE TOOL OR A ROBOT
US5880954A (en) * 1995-12-04 1999-03-09 Thomson; Robert Continous real time safety-related control system
AU4008097A (en) * 1997-09-09 1999-03-29 Schaublin Sa Method for generating a part-programme for digital control of a machine tool
KR100582993B1 (en) * 1998-12-31 2006-08-23 두산인프라코어 주식회사 Anti-collision method of machine tool
JP2000207004A (en) * 1999-01-19 2000-07-28 Yukiwa Seiko Inc Nc control system
US6094365A (en) * 1999-10-20 2000-07-25 Chiao; Po-Lun Power supply device of switching mode with leakage current protection circuit
JP4329248B2 (en) * 2000-09-05 2009-09-09 株式会社森精機製作所 NC machining simulation equipment
JP4505295B2 (en) * 2004-09-16 2010-07-21 ヤマザキマザック株式会社 NC machining simulation method and NC machining simulation apparatus
JP4955451B2 (en) 2007-05-16 2012-06-20 ヤマザキマザック株式会社 Control method of compound lathe device, compound lathe device, blade position registration device, and blade position detection device
JP5139230B2 (en) * 2008-10-06 2013-02-06 オークマ株式会社 Collision prevention device in numerical control device
WO2011004420A1 (en) * 2009-07-06 2011-01-13 三菱電機株式会社 Numerical control programming method, apparatus therefor, and program for causing a computer to execute the method
JP6066041B2 (en) * 2012-07-17 2017-01-25 三菱日立パワーシステムズ株式会社 Processing support device and processing support system
TWI564110B (en) 2014-11-20 2017-01-01 財團法人工業技術研究院 Feedback control numerical machine tool and method thereof
EP3416006B1 (en) * 2016-02-10 2021-12-15 Fujitsu Limited Dental technical object manufacturing device, method, and program
DE112021000506T5 (en) * 2020-01-10 2022-10-20 Fanuc Corporation MOVEMENT PATH RECORDING DEVICE

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5760407A (en) * 1980-09-30 1982-04-12 Fanuc Ltd Numerical control system
JPS58168105A (en) * 1982-03-30 1983-10-04 Yamazaki Mazak Corp Numerical controller
JPS5976701A (en) * 1982-10-25 1984-05-01 Fanuc Ltd Control method of chasing type lathe
JPS59152042A (en) * 1983-02-16 1984-08-30 Mitsubishi Electric Corp Numerically controlled processing system
JPS59214539A (en) * 1983-05-17 1984-12-04 Fanuc Ltd Checking of interference between tools
JPS59216205A (en) * 1983-05-23 1984-12-06 Mitsubishi Electric Corp Numerical control device
JPS62199338A (en) * 1986-02-27 1987-09-03 Fanuc Ltd Automatic prevention device for tool collision

Also Published As

Publication number Publication date
DE3688746T2 (en) 1993-10-28
US4821201A (en) 1989-04-11
EP0250597A4 (en) 1989-10-04
EP0250597A1 (en) 1988-01-07
EP0250597B1 (en) 1993-07-21
KR910007257B1 (en) 1991-09-24
WO1987003524A1 (en) 1987-06-18
KR880700710A (en) 1988-04-11
JPS62136340A (en) 1987-06-19
DE3688746D1 (en) 1993-08-26

Similar Documents

Publication Publication Date Title
JPS62136340A (en) Method of modifying numerically controlled (nc) program for 4-spindle lathe
KR930001910B1 (en) Method and apparatus for preventing tool collision
US4646228A (en) Graphic display device
JPS6259321B2 (en)
JPS59172013A (en) Synchronizing system for tool post of numerical controller
JPS5833711A (en) Numerical controller
US5872894A (en) Robot control apparatus and method eliminating any influence of motion in a preceding path and a recording medium storing the same
JP7022090B2 (en) Numerical control system for machine tools
JPH04217009A (en) Method for teaching work program
JPH0653335B2 (en) Numerical control program machining simulation method
JPH07115278B2 (en) Control device for compound machine tools
JP3660038B2 (en) Numerical controller
JP2887176B2 (en) Numerical control unit
JPS6349803A (en) Nc program production system for nc device
JPS61203251A (en) Tool interference check system
JPS6299051A (en) Automatic programming apparatus
JP2850568B2 (en) Positioning operation method
JPS62121515A (en) Numerical controller
JPS60205886A (en) Tape editing system
JPS63278742A (en) Tool length correction method for NC machine tools
JPS63136205A (en) Production system for part program on nc device
JPH04209009A (en) Numerical control method and control device
JPH04322935A (en) Tool change control method
JPH01295306A (en) Numerical controller
KR19980083294A (en) How to edit graphic G-code of numeric controller