JPH073943U - Controller for NC machine tool - Google Patents

Controller for NC machine tool

Info

Publication number
JPH073943U
JPH073943U JP3528293U JP3528293U JPH073943U JP H073943 U JPH073943 U JP H073943U JP 3528293 U JP3528293 U JP 3528293U JP 3528293 U JP3528293 U JP 3528293U JP H073943 U JPH073943 U JP H073943U
Authority
JP
Japan
Prior art keywords
interference
spindles
machine tools
machine
machine tool
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
JP3528293U
Other languages
Japanese (ja)
Inventor
孝之 望月
義男 橋本
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.)
JATCO Ltd
Original Assignee
JATCO 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 JATCO Ltd filed Critical JATCO Ltd
Priority to JP3528293U priority Critical patent/JPH073943U/en
Publication of JPH073943U publication Critical patent/JPH073943U/en
Pending legal-status Critical Current

Links

Landscapes

  • Auxiliary Devices For Machine Tools (AREA)

Abstract

(57)【要約】 【目的】 複数のNC工作機械をそれら相互間の干渉を
回避しつつ適確に制御して、加工効率の向上を図ること
ができるNC工作機械の制御装置を提供すること。 【構成】 2台のNC工作機械のそれぞれの主軸が所定
の干渉領域内に進入したか否かを干渉領域進入判定手段
21によって判定し、それらの主軸が所定の距離まで接
近したか否かを接近距離判定手段22によって判定し、
それら2台のNC工作機械の動作状態を動作状態比較手
段23によって比較し、それらの手段21,22の判定
結果、および手段23の比較結果に基づいて、回避動作
決定手段24Aが2台のNC工作機械の干渉を回避する
ための回避動作の内容を決定し、その決定内容にしたが
って回避動作制御手段24Bが2台のNC工作機械を制
御する。
(57) [Abstract] [Purpose] To provide an NC machine tool control device capable of appropriately controlling a plurality of NC machine tools while avoiding interference between them and improving machining efficiency. . [Structure] The interference area entry determining means 21 determines whether or not the respective spindles of the two NC machine tools have entered a predetermined interference area, and determines whether or not the spindles have approached a predetermined distance. Determined by the approach distance determination means 22,
The operating states of the two NC machine tools are compared by the operating state comparison means 23, and based on the determination results of the means 21 and 22 and the comparison result of the means 23, the avoidance operation determination means 24A has two NCs. The content of the avoidance operation for avoiding the interference of the machine tool is determined, and the avoidance operation control means 24B controls the two NC machine tools according to the content of the determination.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

本考案は、NC工作機械の制御装置に関するものである。 The present invention relates to a control device for an NC machine tool.

【0002】[0002]

【従来の技術】[Prior art]

従来、1台のNC工作機械を制御して、1つの被加工物にドリル加工やフライ ス加工等の複数種の加工を施こす制御装置にあっては、そのNC工作機械におけ る1つの主軸に対する工具の交換作業時に、被加工物に対する加工が一時的に中 断されることになる。 Conventionally, a control device that controls one NC machine tool to perform multiple types of machining such as drilling and milling on one workpiece is one of the NC machine tools. When exchanging tools for the spindle, machining of the work piece is temporarily interrupted.

【0003】[0003]

【考案が解決しようとする課題】[Problems to be solved by the device]

ところが、工具を交換する都度、加工作業を一時的に中断させることは、加工 効率の低下を招くという問題があった。 However, temporarily interrupting the machining operation every time the tool is replaced has a problem that the machining efficiency is lowered.

【0004】 本考案の目的は、複数のNC工作機械をそれら相互間の干渉を回避しつつ適確 に制御して、加工効率の向上を図ることができるNC工作機械の制御装置を提供 することにある。An object of the present invention is to provide an NC machine tool control device capable of appropriately controlling a plurality of NC machine tools while avoiding interference between them and improving machining efficiency. It is in.

【0005】[0005]

【課題を解決するための手段】[Means for Solving the Problems]

本考案のNC工作機械の制御装置の第1形態は、複数のNC工作機械の主軸を それらの工作機械毎の動作領域内において移動制御して、それぞれの主軸に装着 した工具によって1つの被加工物を同時に加工可能なNC工作機械の制御装置に おいて、前記動作領域が互いに隣接する工作機械の主軸の座標位置を比較して、 それらの主軸が共に所定の干渉領域内に進入したか否かを判定する干渉領域進入 判定手段と、前記干渉領域進入判定手段によって前記干渉領域内に進入したと判 定された前記複数の工作機械の動作状態を比較する動作状態比較手段と、前記動 作状態比較手段の比較結果に応じて、該比較対象の複数の工作機械の主軸の内の 1つを残して他を前記干渉領域外に回避移動させる干渉回避制御手段とを備えて なることを特徴とする。 The first embodiment of the NC machine tool control device of the present invention controls the movement of the spindles of a plurality of NC machine tools within the operating region of each of the machine tools, and performs one machining by the tools attached to the respective spindles. In a controller for an NC machine tool capable of simultaneously processing objects, the coordinate positions of the spindles of the machine tools whose operation areas are adjacent to each other are compared to determine whether or not both spindles have entered the predetermined interference area. Interference area entry determining means for determining whether or not the operation status comparing means for comparing the operating statuses of the plurality of machine tools determined to have entered the interference area by the interference area entry determining means, and the operation An interference avoidance control means for avoiding and moving one of the spindles of the plurality of machine tools to be compared to the other outside the interference area according to the comparison result of the state comparing means. To.

【0006】 本考案のNC工作機械の制御装置の第2形態は、複数のNC工作機械の主軸を それらの工作機械毎の動作領域内において移動制御して、それぞれの主軸に装着 した工具によって1つの被加工物を同時に加工可能なNC工作機械の制御装置に おいて、前記複数の工作機械の主軸の座標位置を比較して、それらの主軸が所定 の接近距離以内にまで接近したか否かを判定する接近距離判定手段と、前記接近 距離判定手段によって前記接近距離以内にまで接近したと判定された前記複数の 工作機械の動作状態を比較する動作状態比較手段と、前記動作状態比較手段の比 較結果に応じて、該比較対象の複数の工作機械の内の1つを残して他を干渉回避 動作させる干渉回避制御手段とを備えてなることを特徴とする。A second form of the NC machine tool control device of the present invention controls the movement of the spindles of a plurality of NC machine tools within the operating region of each of the machine tools, and uses a tool attached to each spindle to control the movement of the spindle. In an NC machine tool controller capable of simultaneously machining two workpieces, the coordinate positions of the spindles of the plurality of machine tools are compared to determine whether or not those spindles have approached each other within a predetermined approach distance. The approaching state determining means for determining whether or not the operating state comparing means compares the operating states of the plurality of machine tools determined to approach within the approaching distance by the approaching distance determining means, and the operating state comparing means. According to the comparison result, there is provided interference avoidance control means for leaving one of the plurality of machine tools to be compared and performing an interference avoiding operation for the other.

【0007】[0007]

【作用】[Action]

本考案のNC工作機械の制御装置は、複数のNC工作機械の主軸が所定の干渉 領域内に進入したか否かの判定結果と、それらの工作機械の動作状態の比較結果 とに基づいて、または複数のNC工作機械の主軸が所定の接近距離まで接近した か否かの判定結果と、それらの工作機械の動作状態の比較結果とに基づいて、干 渉回避動作の内容を決定し、そして、それらの干渉回避動作の内容にしたがって 工作機械の干渉を回避させることにより、複数の工作機械をそれら相互間の干渉 を回避しつつ適確に制御して加工効率の向上を実現する。 The NC machine tool controller of the present invention, based on the judgment result of whether or not the spindles of a plurality of NC machine tools have entered into a predetermined interference region, and the comparison result of the operating states of those machine tools, Alternatively, the content of the interference avoidance operation is determined based on the result of the determination as to whether the spindles of a plurality of NC machine tools have come close to a predetermined approach distance and the result of the comparison of the operation states of those machine tools, and By avoiding the interference of machine tools according to the content of the interference avoidance operation, it is possible to improve the machining efficiency by appropriately controlling a plurality of machine tools while avoiding the interference between them.

【0008】[0008]

【実施例】【Example】

以下、本考案の一実施例を図面に基づいて説明する。 An embodiment of the present invention will be described below with reference to the drawings.

【0009】 図1および図2は、制御対象のNC工作機械の正面図および側面図である。本 実施例では、共通の工具交換装置Cを備えた2台のマシニングセンタAおよびB (以下「AM/C 」および「BM/C 」という)を制御対象としている。これらのA M/C およびBM/C は、図1中において左右対象に構成されており、それらは、マ シンヘッド1上のスライドベース2A,2Bに、図1中左右のX1 ,X2 方向に 摺動可能なサドル3A,3Bを備え、それらのサドル3A,3B上に、図1中紙 面の表裏方向(図2中の矢印Z1 ,Z2 方向)に摺動可能なコラム4A,4Bを 備え、さらに、それらのコラム4A,4Bに、図1中上下のY1 ,Y2 方向に摺 動可能かつ図2中左右方向の軸線O1 ,O2 を中心として回動可能な主軸5A, 5Bを備えた構成となっている。これにより、主軸5A,5Bは、それぞれX( X1 ,X2 ),Y(Y1 ,Y2 )およびZ(Z1 ,Z2 )方向に独立して移動制 御可能、かつ独立して回転制御可能となっている。工具交換装置Cは、AM/C と BM/C の中間に装備されており、図2中左右方向の軸線O3 を中心として回転可 能な工具ホルダー6に、ドリル,フライス加工具等の種々の工具が着脱可能に保 持されており、これらの工具がAM/C ,BM/C の主軸5A,5Bのそれぞれに交 換可能に装着されるようになっている。1 and 2 are a front view and a side view of an NC machine tool to be controlled. In this embodiment, two machining centers A and B (hereinafter referred to as “AM / C And "BM / C ")) Is the control target. These A M / C And BM / C 1 are configured to be bilaterally symmetrical in FIG.1 , X2 1 are provided with saddles 3A and 3B slidable in the directions.1 , Z2 Direction) is provided with columns 4A and 4B that can slide, and these columns 4A and 4B have Y and1 , Y2 Axis O in the horizontal direction in Fig. 21 , O2 It is configured to include main shafts 5A and 5B that can be rotated around. As a result, the main shafts 5A and 5B are respectively moved to X (X1 , X2 ), Y (Y1 , Y2 ) And Z (Z1 , Z2 ) Independent movement control and independent rotation control. Tool changer C is AM / C And BM / C It is installed in the middle of the3 Various tools such as drills and milling tools are detachably held in a tool holder 6 that can be rotated around the center of the tool holder.M / C , BM / C The spindles 5A and 5B are interchangeably mounted.

【0010】 図3は、AM/C ,BM/C の制御装置の概略構成図であり、コンピュータ内蔵の CNC(Computer NC)を構成している。FIG. 3 is a schematic configuration diagram of the control unit for the A M / C and B M / C , and constitutes a CNC (Computer NC) built in the computer.

【0011】 この図3中の符号AおよびBのAM/C およびBM/C のそれぞれにおいて、M1 ,M2 およびM3 は、主軸5Aおよび5BをX(X1 ,X2 ),Y(Y1 ,Y2 ),Z(Z1 ,Z2 )方向に移動させるためのサーボモータ、M4 は主軸5Aお よび5Bの回転駆動用のモータであり、また、PG1 ,PG2 ,PG3 およびP G4 は、それらのモータM1 ,M2 ,M3 およびM4 の回転角度に応じた信号を 出力するパルスジェネレータである。それらのモータM1 ,M2 ,M3 およびM 4 は、CPU11の制御下において、サーボアンプおよびI/Oインターフェー スを介してフィードバック制御される。NCプログラムはテープリーダ12から テープによって読み込まれてRAM13に格納され、また制御プログラムはRO M14に格納され、AM/C およびBM/C のそれぞれの可動範囲、主軸頭寸法、最 大送り速度等のデータはRAM13またはROM14に格納される。また、コン トロールパネル15によって、補正データ等の入力やAM/C およびBM/C の送り 速度がオーバライドされる。16はMCU(Machine Control Unit)である。A of reference characters A and B in FIG.M / C And BM / C In each of the1 , M2 And M3 Spins spindles 5A and 5B at X (X1 , X2 ), Y (Y1 , Y2 ), Z (Z1 , Z2 ) Direction servo motor, MFour Is a motor for rotating the spindles 5A and 5B, and1 , PG2 , PG3 And P GFour Is their motor M1 , M2 , M3 And MFour It is a pulse generator that outputs a signal according to the rotation angle of. Those motors M1 , M2 , M3 And M Four Under the control of the CPU 11, is feedback-controlled via a servo amplifier and an I / O interface. The NC program is read by the tape from the tape reader 12 and stored in the RAM 13, and the control program is stored in the ROM 14 and AM / C And BM / C Data such as the respective movable ranges, spindle head dimensions, maximum feed rates, etc. are stored in the RAM 13 or ROM 14. In addition, the control panel 15 is used to input correction data andM / C And BM / C The feed rate of is overridden. Reference numeral 16 is an MCU (Machine Control Unit).

【0012】 テープリーダ12から入力されたNCプログラムは、工具通路を機械座標系で 表示するCLデータ(Cutter Location Date)としてRA M13に格納され、さらに、ROM14に格納された制御プログラムにしたがっ てチェックされた後、New CLデータとして格納される。The NC program input from the tape reader 12 is stored in the RAM M13 as CL data (Cutter Location Date) for displaying the tool path in the machine coordinate system, and further checked according to the control program stored in the ROM 14. After that, it is stored as New CL data.

【0013】 図4は、AM/C およびBM/C による加工作業の実施中において、それらの干渉 を回避すべく機能する干渉回避制御部の機能ブロック図である。FIG. 4 is a functional block diagram of the interference avoidance control unit that functions to avoid the interference between the A M / C and the B M / C during the working operation.

【0014】 この図4において、干渉領域進入判定手段21は、AM/C ,BM/C の主軸5A ,5Bが所定の干渉領域内に進入したか否かを判定するものである。本例の場合 、主軸5Aおよび5BのX1 ,Y1 およびX2 ,Y2 方向の送り可能な範囲、つ まりX,Y平面内における動作領域S1 ,S2 は、図5に示すように予め規制さ れており、さらに、そのX,Y平面内において、それらの動作領域S1 ,S2 の 重なりの範囲を含みかつそれぞれの主軸5A,5Bが干渉し合うおそれのある範 囲が干渉領域S3 として予め設定されている。干渉領域進入判定手段21は、主 軸5A,5Bの座標位置に基づいて、それらが干渉領域S3 内に進入したか否か を判定し、後述するように、その干渉領域S3 内に主軸5Aが進入したときに位 置パラメータSを「S=11」、主軸5Bが進入したとき「S=12」、主軸5 A,5Bが共に進入したときに「S=10」と設定する。In FIG. 4, the interference region entry determination means 21 determines whether or not the spindles 5A, 5B of A M / C , B M / C have entered a predetermined interference region. For this example, X 1 of the main shaft 5A and 5B, Y 1 and X 2, Y 2 direction to the lead extent possible, one Mari X, the operation region S 1 in the Y plane, S 2, like that shown in FIG. 5 Is regulated in advance, and further, in the X and Y planes, a range including the overlapping range of the operation regions S 1 and S 2 and having a possibility that the respective spindles 5A and 5B may interfere with each other. The interference area S 3 is preset. Interference region entry judging means 21 based on the main shaft 5A, 5B coordinate position, they determine whether the vehicle has entered into the interference area S 3, as described later, the main shaft to the interference area S 3 The position parameter S is set to "S = 11" when 5A enters, "S = 12" when the spindle 5B enters, and "S = 10" when both the spindles 5A and 5B enter.

【0015】 接近距離判定手段22は、主軸5A,5Bの座標位置に基づいて、それらの回 転中心O1 ,O2 が所定の接近距離まで接近したか否かを判定するものである。 本例の場合は、図6に示すように、回転中心O1 ,O2 間の距離を距離パラメー タTの値として設定し、そのパラメータTが3つの範囲、つまり干渉接近距離L 1 未満の範囲(以下、「干渉接近範囲」という)、干渉接近距離L1 以上かつ接 近距離L2 未満の範囲(以下、「接近範囲」という)または接近距離L2 以上の 範囲(以下、「接近範囲外」という)のいずれであるかを判定する。The approach distance determining means 22 determines the rotation center O of the spindles 5A and 5B based on the coordinate positions of the spindles 5A and 5B.1 , O2 Is to determine whether or not has approached to a predetermined approach distance. In the case of this example, as shown in FIG.1 , O2 The distance between them is set as the value of the distance parameter T, and the parameter T has three ranges, that is, the interference approach distance L. 1 Range less than (hereinafter referred to as "interference approach range"), interference approach distance L1 Above and close distance L2 Range less than (hereinafter referred to as "approach range") or approach distance L2 It is determined which of the above ranges (hereinafter referred to as “outside the approach range”).

【0016】 動作状態比較手段23は、AM/C とBM/C の動作状態を比較するものであり、 本例の場合は、AM/C ,BM/C のそれぞれの状態パラメータD1 ,D2 の値同士 、およびAM/C ,BM/C のそれぞれの速度パラメータV1 ,V2 の値同士を比較 する。状態パラメータD1 ,D2 は、AM/C ,BM/C が停止状態のときに「0」 、加工を伴なわない送り状態のときに「1」、フライス加工状態のときに「21 」、ドリル加工状態のときに「22」となる。また、AM/C ,BM/C の主軸5A ,5Bの移動速度が速度パラメータV1 ,V2 の値となる。The operation state comparison means 23 compares the operation states of A M / C and B M / C , and in the case of this example, the state parameters D of A M / C and B M / C respectively. The values of 1 and D 2 and the values of the velocity parameters V 1 and V 2 of A M / C and B M / C are compared with each other. The state parameters D 1 and D 2 are “0” when the A M / C and B M / C are in the stopped state, “1” in the feed state without machining, and “21” in the milling state. , "22" in the drilling state. The moving speeds of the spindles 5A and 5B of A M / C and B M / C are the values of the speed parameters V 1 and V 2 .

【0017】 干渉回避制御手段24は、回避動作決定手段24Aおよび回避動作制御手段2 4Bを有する。前者の回避動作決定手段24Aは、前記の判定手段21,22の 判定結果、および比較手段23の比較結果に基づいて、後述するようにAM/C お よび/またはBM/C の回避動作の内容を決定する。そして、その決定内容に基づ いて、後者の回避動作制御手段24BがAM/C および/またはBM/C に対する回 避動作指令を出力する。The interference avoidance control unit 24 has an avoidance action determination unit 24A and an avoidance action control unit 24B. The former avoiding motion determining means 24A is based on the judgment results of the judging means 21 and 22 and the comparison result of the comparing means 23, and as described later, avoiding motions of A M / C and / or B M / C. Determine the content of. Then, based on the content of the determination, the latter avoidance operation control means 24B outputs the avoidance operation command to A M / C and / or B M / C.

【0018】 次に、回避動作決定手段24Aの機能の説明と共に、1つのワークをAM/C , BM/C によって同時に加工する場合の動作について説明する。Next, an explanation will be given of the function of the avoidance action determining means 24A and an action when one work is simultaneously machined by A M / C and B M / C.

【0019】 AM/C ,BM/C のそれぞれは、RAM13(図3参照)に格納された前記のN ew CLデータ、またはコンソールパネル15(図3参照)からのオーバライ ド指令にしたがって制御され、それぞれの動作領域S1 ,S2 (図5参照)内に て主軸5A,5Bを移動させてワークを加工する。また、それらの主軸5A,5 Bに装着される工具は、共通の工具交換装置C(図1,図2参照)によって交換 される。したがって、AM/C ,BM/C の一方の加工作業を続行したまま、他方側 の工具を交換して、加工効率を向上させることができる。Each of A M / C and B M / C is controlled according to the above-mentioned New CL data stored in the RAM 13 (see FIG. 3) or an overwrite command from the console panel 15 (see FIG. 3). Then, the spindles 5A and 5B are moved within the respective operation regions S 1 and S 2 (see FIG. 5) to process the work. The tools mounted on those spindles 5A and 5B are replaced by a common tool changing device C (see FIGS. 1 and 2). Therefore, it is possible to improve the machining efficiency by exchanging the tool on the other side while continuing the machining work on one of the A M / C and B M / C.

【0020】 回避動作決定手段24Aは、動作状態比較手段23にて比較される状態パラメ ータD1 ,D2 の値の組合せに応じて、図7に示すように、A〜Hの計8通りの 回避動作を決定する。すなわち、AM/C が停止(D1 =0)のときに回避動作A ,BM/C が停止(D2 =0)のときに回避動作B,AM/C とBM/C が共に加工を 伴なわない送り状態(D1 =1,D2 =1)のときに回避動作C、AM/C が送り 状態(D1 =1)かつBM/C が加工状態(D2 =21またはD2 =22)のとき に回避動作D、BM/C が送り状態(D1 =1)かつAM/C が加工状態(D1 =2 1またはD1 =22)のときに回避動作E、AM/C とBM/C が共にフライス加工 状態(D1 =21,D2 =21)または共にドリル加工状態(D1 =22,D2 =22)のときに回避動作F、AM/C がフライス加工状態(D1 =21)かつB M/C がドリル加工状態(D2 =22)のときに回避動作G、AM/C がドリル加工 状態(D1 =22)かつBM/C がフライス加工状態(D2 =21)のときに回避 動作Hをそれぞれ決定する。The avoidance action determining means 24 A is a state parameter D that is compared by the action state comparing means 23.1 , D2 As shown in FIG. 7, a total of eight avoidance actions A to H are determined according to the combination of the values of A. That is, AM / C Stops (D1 = 0) avoidance actions A and BM / C Stops (D2 = 0) avoidance actions B and AM / C And BM / C Feed state without machining (D1 = 1, D2 = 1) avoidance actions C and AM / C Is feeding (D1 = 1) and BM / C Is the processed state (D2 = 21 or D2 = 22), avoidance actions D and BM / C Is in the feeding state (D1 = 1) and AM / C Is the processed state (D1 = 21 or D1 = 22), avoidance actions E and AM / C And BM / C Are both milled (D1 = 21, D2 = 21) or both are drilled (D1 = 22, D2 = 22), avoidance actions F and AM / C Is milling (D1 = 21) and B M / C Is in the drilled state (D2 = 22), avoidance actions G and AM / C Is in the drilled state (D1 = 22) and BM / C Is milling (D2 = 21), the avoidance motion H is determined.

【0021】 回避動作A〜Hの内容は下表1,表2のとおりである。The contents of the avoidance operations A to H are as shown in Tables 1 and 2 below.

【0022】[0022]

【表1】 [Table 1]

【0023】[0023]

【表2】 [Table 2]

【0024】 回避動作制御手段24Bは、このような回避動作A〜Hの内容にしたがってA M/C およびBM/C を制御すべく、それらに対して回避動作指令を出力する。The avoidance operation control means 24B operates according to the contents of such avoidance operations A to H. M / C And BM / C In order to control, the avoidance operation command is output to them.

【0025】 図8から図14は、回避動作A〜Hを決定するための各種パラメータの設定( 図4中の判定手段21,22および比較手段23の機能に相当)、それらのパラ メータに基づく回避動作A〜Hの決定(図4中の回避動作決定手段24Aの機能 に相当)、およびその決定内容にしたがうAM/C およびBM/C の制御(図4中の 回避動作制御手段24Bの機能に相当)を説明するための一連のフローチャート である。8 to 14 are based on the setting of various parameters (corresponding to the functions of the judging means 21 and 22 and the comparing means 23 in FIG. 4) for determining the avoidance actions A to H, and their parameters. Determination of avoidance actions A to H (corresponding to the function of avoidance action determination means 24A in FIG. 4), and control of A M / C and B M / C according to the determination contents (avoidance action control means 24B in FIG. 4) (Corresponding to the function of) is a series of flowcharts for explaining.

【0026】 図8中のステップS11〜S20は、パラメータの設定ステップであり、まず 、AM/C およびBM/C の主軸5A,5B(図1,図2参照)の座標位置を読み込 み(ステップS11)、次のステップS12にて、AM/C の主軸5Aが干渉領域 S3 (図5参照)内に進入したか否かを判定する。その判定結果が「YES」の 場合にはステップS13に進み、また「NO」の場合にはステップS14に進み 、それらのステップS13,S14にて、BM/C の主軸5Bが干渉領域S3 内に 進入したか否かを判定する。ステップS13の判定結果が「YES」の場合には ステップS15にて位置パラメータSを「S=11」、「NO」の場合にはステ ップS16にて「S=10」とし、またステップS14の判定結果が「YES」 の場合にはステップS17にて「S=12」とする。そして、このように位置パ ラメータSを設定した後、次のステップS18に進む。一方、ステップS14の 判定結果が「NO」の場合には、NCプログラムにしたがってAM/C ,BM/C を 制御する通常の標準制御(以下、単に「標準制御」という)に移行する(ステッ プS19)。Steps S11 to S20 in FIG. 8 are parameter setting steps. First, the coordinate positions of the spindles 5A and 5B (see FIGS. 1 and 2) of A M / C and B M / C are read. Only (step S11), in the next step S12, it is determined whether or not the main shaft 5A of A M / C has entered the interference area S 3 (see FIG. 5). If the determination result is “YES”, the process proceeds to step S13, and if “NO”, the process proceeds to step S14. In those steps S13 and S14, the spindle 5B of B M / C interferes with the interference region S 3 It is determined whether or not you have entered. If the determination result in step S13 is "YES", the position parameter S is set to "S = 11" in step S15, and if it is "NO", it is set to "S = 10" in step S16. If the result of the determination is "YES", "S = 12" is set in step S17. Then, after setting the position parameter S in this way, the process proceeds to the next step S18. On the other hand, when the result of the determination in step S14 is "NO", the process shifts to a normal standard control for controlling A M / C and B M / C according to the NC program (hereinafter, simply referred to as "standard control") ( Step S19).

【0027】 ステップS18では、AM/C ,BM/C の動作状態に基づいて、状態パラメータ D1 ,D2 および速度パラメータV1 ,V2 を設定する。状態パラメータD1 , D2 の値は、前述したように、「0」,「1」,「21」または「22」に設定 され、また速度パラメータV1 ,V2 の値は、前述したように主軸5A,5Bの 移動速度とされる。In step S18, state parameters D 1 and D 2 and speed parameters V 1 and V 2 are set based on the operating states of A M / C and B M / C. The values of the state parameters D 1 and D 2 are set to “0”, “1”, “21” or “22” as described above, and the values of the speed parameters V 1 and V 2 are as described above. And the moving speed of the spindles 5A and 5B.

【0028】 次のステップS20では、主軸5A,5Bの座標位置に基づいて、それらの間 の距離を距離パラメータT(図6参照)として設定する。In the next step S20, the distance between the main axes 5A and 5B is set as a distance parameter T (see FIG. 6) based on the coordinate positions of the main axes 5A and 5B.

【0029】 図9中のステップS21〜S24は、先の図8中のステップS20に続く回避 動作のA(図7および表1参照)のためのステップであり、まず、ステップS2 1にて、状態パラメータD1 が「D1 =0」であるか否かを判定する。そして、 その判定結果が「YES」であることを条件として位置パラメータSが「S=1 0」であるか否かを判定し(ステップS22)、それが「YES」の場合にはAM/C を干渉領域S3 の外に回避移動させ(S23)、「NO」の場合には標準制 御に移行する(ステップS24)。したがって、この回避動作Aは、図7に示す ようにAM/C が停止状態(D1 =0)のときに実行され、主軸5A,5Bが共に 干渉領域S3 内に位置する(S=10)場合、つまり主軸5Aが干渉領域S3 内 に停止していて主軸5Bがその干渉領域S3 内に進入した場合には、停止中のA M/C の主軸5Aを干渉領域S3 の外に回避移動させ(ステップS23)、それ以 外の場合には標準制御に移行する(ステップS24)ことになる。なお、主軸5 Aを回避移動させる位置は、例えば、その主軸5Aの動作領域S1 (図5参照) 内にて予め設定しておく。Steps S21 to S24 in FIG. 9 are steps for the avoidance operation A (see FIG. 7 and Table 1) following step S20 in FIG. 8, and first, in step S21. State parameter D1 Is "D1 It is determined whether or not “= 0”. Then, it is determined whether or not the position parameter S is "S = 1 0" on the condition that the determination result is "YES" (step S22), and if it is "YES", AM / C Interference area S3 (S23), and if "NO", shifts to standard control (step S24). Therefore, this avoidance operation A is performed as shown in FIG.M / C Is stopped (D1 = 0), the spindles 5A and 5B are both in the interference region S3 When it is located inside (S = 10), that is, the spindle 5A is in the interference region S3 The main shaft 5B is stopped inside and the interference area S3 If you enter inside M / C The main axis 5A of the interference area S3 It is moved to the outside of the range (step S23), and if not, the standard control is performed (step S24). The position at which the spindle 5A is moved around is, for example, the operation area S of the spindle 5A.1 (See FIG. 5).

【0030】 図9中のステップS21,S25〜S28は、回避動作B(図7および表1参 照)のためのステップであり、まず、前記のステップS21の判定結果が「NO 」であることを条件としてステップS25に進み、状態パラメータD2 が「D2 =0」であるか否かを判定する。そして、その判定結果が「YES」であること を条件として位置パラメータSが「S=10」であるか否かを判定し(ステップ S26)、それが「YES」の場合にはBM/C を干渉領域S3 の外に回避移動さ せ(ステップS27)、「NO」の場合には標準制御に移行する(ステップS8 )。したがって、この回避動作Bは、図7に示すようにBM/C が停止状態(D2 =0)のときに実行され、主軸5A,5Bが共に干渉領域S3 内に位置する(S =10)場合、つまり、主軸5Bが干渉領域S3 内に停止していて主軸5Aがそ の干渉領域S3 内に進入した場合には、停止中のBM/C の主軸5Bを干渉領域S 3 の外に回避移動させ(ステップS27)、それ以外の場合には標準制御に移行 する(ステップS28)ことになる。主軸5Bを回避移動させる位置は、例えば 、その主軸5Bの動作領域S2 (図5参照)内にて予め設定しておく。Steps S21 and S25 to S28 in FIG. 9 are steps for avoidance operation B (see FIG. 7 and Table 1). First, the determination result of step S21 is “NO”. The condition parameter D2 Is "D2 It is determined whether or not “= 0”. Then, it is determined whether or not the position parameter S is "S = 10" on the condition that the determination result is "YES" (step S26). If it is "YES", B is determined.M / C Interference area S3 To avoid the movement (step S27), and if "NO", shift to the standard control (step S8). Therefore, this avoidance operation B is performed as shown in FIG.M / C Is stopped (D2 = 0), the spindles 5A and 5B are both in the interference region S3 When the position is inside (S = 10), that is, the main axis 5B is in the interference region S3 Is stopped inside and the spindle 5A is in the interference area S3 If you enter inside, you will be at a stop BM / C The main axis 5B of the interference area S 3 To avoid the movement (step S27), and otherwise shift to the standard control (step S28). The position for avoiding movement of the spindle 5B is, for example, the operation area S of the spindle 5B.2 (See FIG. 5).

【0031】 図10中のステップS31〜S39は、先の図9中のステップS25に続く回 避動作C(図7および表1参照)のためのステップであり、まず、ステップS3 1およびS32によって、「D1 =1」かつ「D2 =1」であることが条件付け され、それらの条件を満たすことによってステップS33に進む。そのステップ S33にて、距離パラメータTが「T<L1 」(図6参照)であるか否かを判定 し、それが「YES」であることを条件として位置パラメータSが「S=10」 であるか否かを判定し(ステップS34)、それが「YES」の場合には、AM/ C またはBM/C の内の後発のものつまり送り状態(D1 =1,D2 =1)となっ た時点が遅いもの(以下、単に「後発M/C 」という)を干渉領域S3 の外に回避 移動させ(ステップS35)、「NO」の場合には後発M/C を停止させる(ステ ップS36)。一方、ステップS33の判定結果が「NO」の場合には、距離パ ラメータTが「L1 ≦T<L2 」(図6参照)であるか否かを判定し、それが「 YES」の場合には後発M/C の移動速度を減速させ(ステップS38)、「NO 」の場合には標準制御に移行する。なお、後発M/C の減速の程度は、例えば、予 め所定の大きさに設定しておく。Steps S31 to S39 in FIG. 10 are steps for the evasion operation C (see FIG. 7 and Table 1) following step S25 in FIG. 9 described above. First, in steps S31 and S32. , "D 1 = 1" and "D 2 = 1" are conditioned, and if these conditions are satisfied, the process proceeds to step S33. At that step S33, the distance parameter T is "T <L 1" to determine whether or not the (see FIG. 6), position parameter S on the condition that it is "YES" is "S = 10" Is determined (step S34), and if it is "YES", the later one of A M / C or B M / C , that is, the feeding state (D 1 = 1 and D 2 = 1) and became what time is slow (hereinafter, simply by avoiding moving) as "late M / C" out of the interference area S 3 (step S35), stops the late M / C in the case of "NO" (Step S36). On the other hand, when the result of the determination in step S33 is "NO", it is determined whether or not the distance parameter T is "L 1 ≤T <L 2 " (see FIG. 6), and if it is "YES". In this case, the moving speed of the subsequent M / C is decelerated (step S38), and in the case of "NO", the control shifts to the standard control. The degree of deceleration of the late M / C is set to a predetermined magnitude in advance, for example.

【0032】 したがって、この回避動作Cは、図7に示すように、AM/C およびBM/C が共 に送り状態(D1 =1,D2 =1)のときに実行され、主軸5A,5B間の距離 (距離パラメータTの値)の大きさを3段階的に判定して、それらの主軸5A, 5Bが前述した「干渉接近範囲」、「接近範囲」、または「接近範囲外」のいず れに位置するかによって回避動作の内容を変更することになる。すなわち、第1 に、主軸5A,5Bが「干渉接近範囲」にある場合には、主軸5A,5Bが共に 干渉領域S3 (図5参照)内に位置するか否かによって動作内容が異なり、それ らが共に干渉領域S3 内に位置するときは、AM/C およびBM/C の内、先に送り 動作をしたもの(以下、「先発M/C 」という)を優先すべく後発M/C を干渉領域 S3 の外に回避移動させ(ステップS35)、一方、それらが共に干渉領域S3 内に位置しないとき、つまり主軸5A,5Bの内の一方のみしか干渉領域S3 内 に位置しないときには、先発M/C を優先すべく後発M/C を停止させる(ステップ S36)。第2に、主軸5A,5Bが「接近範囲」にある場合には、先発M/C を 優先すべく後発M/C を減速する(ステップS38)。第3に、主軸5A,5Bが 「接近範囲外」にある場合には、標準制御に移行する(ステップS39)。Therefore, this avoiding operation C is executed when both A M / C and B M / C are in the feed state (D 1 = 1 and D 2 = 1) as shown in FIG. The magnitude of the distance (value of the distance parameter T) between the 5A and 5B is determined in three stages, and the spindles 5A and 5B of the spindles 5A and 5B are the aforementioned "interference approach range", "approach range", or "outside the approach range" The content of the avoidance action will be changed depending on which of the two is located. That is, first, when the main shaft 5A, 5B is in the "interference close range", the main shaft 5A, 5B is different behavior contents depending on whether or not located in both interference region S 3 (see FIG. 5) within, When both of them are located in the interference area S 3 , the later one of the A M / C and B M / C that has performed the feeding operation (hereinafter referred to as “starting M / C ”) is given priority. outside to avoid movement of the M / C interference area S 3 (step S35), whereas, when they are not located in the interference area S 3 together, that the main shaft 5A, only one of the 5B only the interference area S 3 when not located in stops the late M / C in order to give priority to starting M / C (step S36). Second, when the main shaft 5A, 5B is in the "close range", it decelerates the late M / C in order to give priority to starting M / C (step S38). Thirdly, when the spindles 5A and 5B are out of the "approaching range", the control shifts to standard control (step S39).

【0033】 図11中のステップS41〜S47は、先の図10中のステップS32から続 く回避動作D(図7および表1参照)のためのステップであり、まず、図10中 のステップS31,S32によって、「D1 =1」かつ「D2 ≠1」であること が条件付けされ、それらの条件を満たすことを前提としてステップS41に進み 、距離パラメータTが「T<L1 」であるか否かを判定する。その判定結果が「 YES」であることを条件として位置パラメータSが「S=10」であるか否か を判定し(ステップS42)、それが「YES」の場合にはAM/C を干渉領域S 3 の外に回避移動させ(ステップS43)、「NO」の場合にはAM/C を停止さ せる(ステップS44)。一方、ステップS41の判定結果が「NO」の場合に は距離パラメータTが「L1 ≦T<L2 」であるか否かを判定し(ステップS4 5)、それが「YES」の場合にはAM/C の移動速度を減速し(ステップS46 )、「NO」の場合には標準制御に移行する(ステップS47)。AM/C の減速 の程度は、例えば、予め所定の大きさに設定しておく。Steps S41 to S47 in FIG. 11 are steps for the avoidance operation D (see FIG. 7 and Table 1) following step S32 in FIG. 10, and first, step S31 in FIG. , S321 = 1 "and" D2 "≠ 1" is conditioned, and on the assumption that these conditions are satisfied, the process proceeds to step S41, and the distance parameter T is "T <L".1 It is determined whether or not It is determined whether the position parameter S is "S = 10" on the condition that the determination result is "YES" (step S42), and if it is "YES", AM / C Interference area S 3 To avoid the movement (step S43), and in the case of "NO", AM / C Is stopped (step S44). On the other hand, if the determination result in step S41 is "NO", the distance parameter T is "L".1 ≤T <L2 Is determined (step S45), and if it is "YES", AM / C The moving speed is reduced (step S46), and if "NO", the control shifts to standard control (step S47). AM / C The degree of deceleration is set to a predetermined magnitude in advance, for example.

【0034】 したがって、この回避動作Dは、図7に示すように、AM/C が送り状態(D1 =1)かつBM/C が加工状態(D2 =21,D2 =22)のときに実行され、主 軸5A,5B間の距離(距離パラメータTの値)の大きさを3段階的に判定して 、それらの主軸5A,5Bが「干渉接近範囲」、「接近範囲」または「接近範囲 外」のいずれに位置するかによって回避動作の内容を変更することになる。すな わち、第1に、主軸5A,5Bが「干渉接近範囲」にある場合には、主軸5A, 5Bが共に干渉領域S3 (図5参照)内に位置するか否かによって動作内容が異 なり、それらが共に干渉領域S3 内に位置するとき(S=10)には、加工状態 にあるBM/C を優先すべく、送り状態にあるAM/C を干渉領域S3 の外に回避移 動させ(ステップS43)、一方、それらが共に干渉領域S3 内に位置しないと き、つまり主軸5A,5Bの内の一方のみしか干渉領域S3 内に位置しないとき (S=11,S=12)には、BM/C を優先すべくAM/C を停止させる。第2に 主軸5A,5Bが「接近範囲」にある場合には、BM/C を優先すべくAM/C の移 動速度を減速する(ステップS46)。第3に、主軸5A,5Bが「接近範囲外 」にある場合は、標準制御に移行する(ステップS47)。Therefore, in this avoidance operation D, as shown in FIG. 7, A M / C is in the feeding state (D 1 = 1) and B M / C is in the processing state (D 2 = 21, D 2 = 22). Is executed at three times, the magnitude of the distance (value of the distance parameter T) between the spindles 5A and 5B is judged in three stages, and the spindles 5A and 5B are "interference approach range" and "approach range". Alternatively, the content of the avoidance action is changed depending on whether the vehicle is located “outside the approach range”. Ie, the first, when the main shaft 5A, 5B is in the "interference close range" operation content depending on whether the main shaft 5A, 5B is located both within the interference area S 3 (see FIG. 5) Are different from each other, and when they are both located in the interference area S 3 (S = 10), in order to prioritize the B M / C in the processing state, the A M / C in the feeding state is set to the interference area S 3 outside to avoid moving of (step S43), whereas, when they are come not located in both the interference area S 3, i.e. the main shaft 5A, only one of the 5B only not located within the interference area S 3 (S = 11, S = 12), A M / C is stopped to give priority to B M / C. Secondly, when the spindles 5A and 5B are in the "approaching range", the moving speed of A M / C is decelerated to prioritize B M / C (step S46). Thirdly, when the spindles 5A and 5B are out of the "approaching range", the control shifts to standard control (step S47).

【0035】 図12中のステップS51〜S58は、先の図10中のステップS31から続 く回避動作E(図7および表1参照)のためのステップであり、まず、図10中 のステップS31および図12中のステップS51によって、「D1 ≠1」かつ 「D2 =1」であることが条件付けされ、それらの条件を満たすことを前提とし てステップS52に進み、距離パラメータTが「T<L1 」であるか否かを判定 する。その判定結果が「YES」であることを条件として位置パラメータSが「 S=10」であるか否かを判定し(ステップS53)、それが「YES」の場合 にはBM/C を干渉領域S3 の外に回避移動させ(ステップS54)、「NO」の 場合にはBM/C を停止させる(ステップS55)。一方、ステップS52の判定 結果が「NO」の場合には距離パラメータTが「L1 ≦T<L2 」であるか否か を判定し(ステップS56)、それが「YES」の場合にはBM/C の移動速度を 減速し(ステップS57)、「NO」の場合には標準制御に移行する(ステップ S58)。BM/C の減速の程度は、例えば、予め所定の大きさに設定しておく。Steps S51 to S58 in FIG. 12 are steps for the avoidance operation E (see FIG. 7 and Table 1) following step S31 in FIG. 10, and first, step S31 in FIG. Then, in step S51 in FIG. 12, it is conditioned that “D 1 ≠ 1” and “D 2 = 1”, and on the assumption that these conditions are satisfied, the process proceeds to step S52 and the distance parameter T is “T”. It is determined whether or not <L 1 ”. It is determined whether or not the position parameter S is "S = 10" on the condition that the determination result is "YES" (step S53). If it is "YES", the B M / C is interfered with. It is moved out of the area S 3 (step S54), and if “NO”, B M / C is stopped (step S55). On the other hand, if the determination result of step S52 is "NO", it is determined whether or not the distance parameter T is "L 1 ≤T <L 2 " (step S56), and if it is "YES". The moving speed of B M / C is decelerated (step S57), and in the case of "NO", shifts to standard control (step S58). The degree of deceleration of B M / C is set in advance to a predetermined magnitude, for example.

【0036】 したがって、この回避動作Eは、図7に示すように、AM/C が加工状態(D1 =21,D1 =22)かつBM/C が送り状態(D2 =1)のときに実行され、主 軸5A,5B間の距離(距離パラメータTの値)の大きさを3段階的に判定して 、それらの主軸5A,5Bが「干渉接近範囲」、「接近範囲」または「接近範囲 外」のいずれに位置するかによって回避動作の内容を変更することになる。すな わち、第1に、主軸5A,5Bが「干渉接近範囲」にある場合には、主軸5A, 5Bが共に干渉領域S3 (図5参照)内に位置するか否かによって動作内容が異 なり、それらが共に干渉領域S3 内に位置するとき(S=10)には、加工状態 にあるAM/C を優先すべく、送り状態にあるBM/C を干渉領域S3 の外に回避移 動させ(ステップS54)、一方、それらが共に干渉領域S3 内に位置しないと き、つまり主軸5A,5Bの内の一方のみしか干渉領域S3 内に位置しないとき (S=11,S=12)には、AM/C を優先すべくBM/C を停止させる。第2に 主軸5A,5Bが「接近範囲」にある場合には、AM/C を優先すべくBM/C の移 動速度を減速する(ステップS57)。第3に、主軸5A,5Bが「接近範囲外 」にある場合は、標準制御に移行する(ステップS58)。Therefore, in this avoidance operation E, as shown in FIG. 7, A M / C is in the processing state (D 1 = 21, D 1 = 22) and B M / C is in the feeding state (D 2 = 1). Is executed at three times, the magnitude of the distance (value of the distance parameter T) between the spindles 5A and 5B is judged in three stages, and the spindles 5A and 5B are "interference approach range" and "approach range". Alternatively, the content of the avoidance action is changed depending on whether the vehicle is located “outside the approach range”. Ie, the first, when the main shaft 5A, 5B is in the "interference close range" operation content depending on whether the main shaft 5A, 5B is located both within the interference area S 3 (see FIG. 5) Are different from each other and both are located in the interference area S 3 (S = 10), the B M / C in the feeding state is set to the interference area S 3 in order to give priority to the A M / C in the processing state. outside to avoid moving of (step S54), whereas, when they are come not located in both the interference area S 3, i.e. the main shaft 5A, only one of the 5B only not located within the interference area S 3 (S = 11, S = 12), B M / C is stopped to give priority to A M / C. Secondly, when the spindles 5A and 5B are in the "approaching range", the moving speed of B M / C is decelerated so as to give priority to A M / C (step S57). Thirdly, when the spindles 5A and 5B are out of the "approaching range", the control shifts to standard control (step S58).

【0037】 図13中のステップS61〜S70は、先の図12のステップS51に続く回 避動作F(図7および表2参照)のためのステップであり、まず、図12中のス テップS51および図13中のステップS61によって、「D2 ≠1」かつ「D 1 =D2 」であることが条件付けされ、それらの条件を満たすことを前提として ステップS62に進み、距離パラメータTが「T<L1 」であるか否かを判定す る。その判定結果が「YES」であることを条件として位置パラメータSが「S =12」であるか否かを判定し(ステップS63)、それが「YES」の場合に はAM/C を干渉領域S3 (図5参照)の外に回避移動させ(ステップS64)、 「NO」の場合にはBM/C を干渉領域S3 の外に回避移動させる(ステップS6 5)。一方、ステップS62の判定結果が「NO」の場合には、距離パラメータ Tが「L1 ≦T<L2 」であるか否かを判定し(ステップS66)、それが「Y ES」の場合には速度パラメータV1 ,V2 の値を比較し(ステップS67)、 V>V2 のときはAM/C の移動速度を減速し(ステップS68)、V≦V2 のと きはBM/C の移動速度を減速する(ステップS69)。また、ステップS66の 判定結果が「NO」の場合には標準制御に移行する(ステップS70)。Steps S61 to S70 in FIG. 13 are steps for the retreat operation F (see FIG. 7 and Table 2) following step S51 in FIG. 12, and first, step S51 in FIG. And step S61 in FIG.2 ≠ 1 "and" D 1 = D2 Is satisfied, and on the assumption that these conditions are satisfied, the process proceeds to step S62, and the distance parameter T is “T <L.1 It is determined whether or not On the condition that the determination result is "YES", it is determined whether the position parameter S is "S = 12" (step S63), and if it is "YES", AM / C Interference area S3 (See FIG. 5) Avoiding movement (step S64), and if "NO", BM / C Interference area S3 It is moved out of the area (step S65). On the other hand, if the determination result in step S62 is "NO", the distance parameter T is "L".1 ≤T <L2 Is determined (step S66), and if it is "Y ES", the speed parameter V1 , V2 Are compared (step S67), and V> V2 When is AM / C The moving speed of the vehicle (step S68), and V ≦ V2 When it comes to BM / C The moving speed of is reduced (step S69). If the determination result of step S66 is "NO", the control shifts to standard control (step S70).

【0038】 したがって、この回避動作Fは、図7に示すように、AM/C およびBM/C が共 に同一の加工状態(D1 =D2 =21,D1 =D2 =22)のときに実行され、 主軸5A,5B間の距離(距離パラメータTの値)の大きさを3段階的に判定し て、それらの主軸5A,5Bが「干渉接近範囲」、「接近範囲」または「接近範 囲外」のいずれに位置するかによって回避動作の内容を変更することになる。す なわち、第1に、主軸5A,5Bが「干渉接近範囲」にある場合には、主軸5A ,5Bが共に干渉領域S3 (図5参照)内に位置するか否かによって動作内容が 異なり、それらが共に干渉領域S3 内に位置するとき(S=10)には、AM/C を優先すべくBM/C を干渉領域S3 の外に回避移動させ(ステップS64)、一 方、それらが共に干渉領域S3 内に位置しないとき、つまり主軸5A,5Bの内 の一方のみしか干渉領域S3 内に位置しないとき(S=11,S=12)には、 AM/C を優先すべくBM/C を停止させる(ステップS65)。なお、本実施例で はAM/C を優先させているがBM/C を優先させるようにしてもよい。第2に、主 軸5A,5Bが「接近範囲」にある場合には、AM/C ,BM/C の内の移動速度が 速い方のものの移動速度を減速する(ステップS68,S69)。第3に、主軸 5A,5Bが「接近範囲外」にある場合には、標準制御に移行する(ステップS 70)。Therefore, as shown in FIG. 7, this avoiding operation F is performed in the same machining state (D 1 = D 2 = 21, D 1 = D 2 = 22) in both A M / C and B M / C. ), The magnitude of the distance (value of the distance parameter T) between the spindles 5A and 5B is determined in three stages, and the spindles 5A and 5B are "interference approach range" and "approach range". Alternatively, the content of the avoidance action is changed depending on whether the vehicle is located “outside the approach range”. Ie, the first, when the main shaft 5A, 5B is in the "interference close range", the main shaft 5A, 5B are both interference area S 3 operation contents according to whether located (see FIG. 5) in the Differently, when they are both located in the interference area S 3 (S = 10), B M / C is moved out of the interference area S 3 to prioritize A M / C (step S64), On the other hand, when they are not both located in the interference region S 3 , that is, when only one of the main axes 5A and 5B is located in the interference region S 3 (S = 11, S = 12), A M BM / C is stopped to prioritize / C (step S65). In this embodiment, A M / C is prioritized, but B M / C may be prioritized. Secondly, when the spindles 5A and 5B are in the "approaching range", the moving speed of the faster one of A M / C and B M / C is reduced (steps S68 and S69). . Thirdly, when the spindles 5A and 5B are out of the "approaching range", the control is shifted to the standard control (step S70).

【0039】 図14中のステップS71〜S77は、先の図13のステップS61に続く回 避動作G(図7および表2参照)のためのステップであり、まず、図13中のス テップS61および図14中のステップS71によって、「D1 ≠D2 」かつ「 D1 =22」であることが条件付けされ、それらの条件を満たすことを前提とし てステップS72に進み、距離パラメータTが「T<L1 」であるか否かを判定 する。その判定結果が「YES」の場合にはAM/C を干渉領域S3 (図5参照) の外に回避移動させ(ステップS74)、「NO」の場合には、距離パラメータ Tが「L1 ≦T<L2 」であるか否かを判定し(ステップS75)、それが「Y ES」の場合にはAM/C の移動速度を減速し(ステップS76)、「NO」の場 合には標準制御に移行する(ステップS77)。Steps S71 to S77 in FIG. 14 are steps for the retreat operation G (see FIG. 7 and Table 2) following step S61 in FIG. 13, and first, step S61 in FIG. Then, in step S71 in FIG. 14, it is conditioned that “D 1 ≠ D 2 ” and “D 1 = 22”, and assuming that these conditions are satisfied, the process proceeds to step S72, and the distance parameter T is “ It is determined whether or not T <L 1 ". If the determination result is “YES”, the A M / C is moved to avoid the interference region S 3 (see FIG. 5) (step S74), and if “NO”, the distance parameter T is “L”. It is determined whether or not “ 1 ≦ T <L 2 ” (step S75), and if it is “Y ES”, the moving speed of A M / C is decelerated (step S76). If so, the control shifts to standard control (step S77).

【0040】 したがって、この回避動作Gは、図7に示すように、AM/C がフライス加工状 態(D1 =21)かつBM/C がドリル加工状態(D2 =22)のときに実行され 、主軸5A,5B間の距離(距離パラメータTの値)の大きさを3段階的に判定 して、それらの主軸5A,5Bが「干渉接近範囲」、「接近範囲」または「接近 範囲外」のいずれに位置するかによって回避動作の内容を変更することになる。 すなわち、第1に、主軸5A,5Bが「干渉接近範囲」にある場合には、ドリル 加工状態のBM/C を優先すべく、フライス加工状態のAM/C を干渉領域S3 の外 に回避移動させる(ステップS74)。第2に、主軸5A,5Bが「接近範囲」 にある場合には、BM/C を優先すべくAM/C の移動速度を減速する(ステップS 76)。第3に、主軸5A,5Bが「接近範囲外」にある場合には、標準制御に 移行する(ステップS77)。Therefore, as shown in FIG. 7, this avoiding operation G is performed when A M / C is in the milling state (D 1 = 21) and B M / C is in the drilling state (D 2 = 22). The distance between the main shafts 5A and 5B (the value of the distance parameter T) is determined in three steps, and the main shafts 5A and 5B are detected as "interference approach range", "approach range" or "approach range". The content of the avoidance operation is changed depending on which one of the "outside the range" is located. That is, first, when the main shaft 5A, 5B is in the "interference close range", in order to give priority to B M / C of the drilling conditions, outside interference A M / C of the milling status area S 3 To avoid the movement (step S74). Secondly, when the spindles 5A and 5B are in the "approaching range", the moving speed of A M / C is decelerated so as to prioritize B M / C (step S76). Thirdly, when the spindles 5A and 5B are out of the "approaching range", the control is shifted to the standard control (step S77).

【0041】 図14中のステップS81〜S85は、先のステップS71に続く回避動作H (図7および表2参照)のためのステップであり、まず、図13中のステップS 61および図14中のステップS71によって、「D1 ≠D2 」かつ「D1 ≠2 2」であることが条件付けされ、それらの条件を満たすことを前提としてステッ プS81に進み、距離パラメータTが「T<L1 」であるか否かを判定する。そ の判定結果が「YES」の場合にはBM/C を干渉領域S3 (図5参照)の外に回 避移動させ(ステップS82)、「NO」の場合には、距離パラメータTが「L 1 ≦T<L2 」であるか否かを判定し(ステップS83)、それが「YES」の 場合にはBM/C の移動速度を減速し(ステップS84)、「NO」の場合には標 準制御に移行する(ステップS85)。Steps S81 to S85 in FIG. 14 are steps for the avoidance operation H (see FIG. 7 and Table 2) following step S71. First, in steps S61 and FIG. 14 in FIG. In step S71 of “D1 ≠ D2 And "D1 ≠ 22 ”, and on the assumption that these conditions are satisfied, the process proceeds to step S81, where the distance parameter T is“ T <L1 It is determined whether or not If the determination result is “YES”, BM / C Interference area S3 (Refer to FIG. 5), it is moved to the outside (step S82), and in the case of "NO", the distance parameter T is "L". 1 ≤T <L2 Is determined (step S83), and if it is "YES", B is determined.M / C The moving speed is reduced (step S84), and in the case of "NO", the standard control is performed (step S85).

【0042】 したがって、この回避動作Hは、図7に示すように、AM/C がドリル加工状態 (D1 =22)かつBM/C がフライス加工状態(D2 =21)のときに実行され 、主軸5A,5B間の距離(距離パラメータTの値)の大きさを3段階的に判定 して、それらの主軸5A,5Bが「干渉接近範囲」、「接近範囲」または「接近 範囲外」のいずれに位置するかによって回避動作の内容を変更することになる。 すなわち、第1に、主軸5A,5Bが「干渉接近範囲」にある場合には、ドリル 加工状態のAM/C を優先すべく、フライス加工状態のBM/C を干渉領域S3 の外 に回避移動させる(ステップS82)。第2に、主軸5A,5Bが「接近範囲」 にある場合には、AM/C を優先すべくBM/C の移動速度を減速する(ステップS 84)。第3に、主軸5A,5Bが「接近範囲外」にある場合には、標準制御に 移行する(ステップS85)。Therefore, as shown in FIG. 7, this avoiding operation H is performed when A M / C is in the drilling state (D 1 = 22) and B M / C is in the milling state (D 2 = 21). It is executed and the magnitude of the distance (value of the distance parameter T) between the spindles 5A and 5B is judged in three stages, and those spindles 5A and 5B are "interference approach range", "approach range" or "approach range". The content of the avoidance action is changed depending on which of the "outside" positions. That is, first, when the spindles 5A and 5B are in the "interference approaching range", the B M / C in the milling state is placed outside the interference area S 3 in order to give priority to the A M / C in the drilling state. To avoid the movement (step S82). Secondly, when the spindles 5A and 5B are in the "approaching range", the moving speed of B M / C is decelerated to give priority to A M / C (step S84). Thirdly, when the spindles 5A and 5B are out of the "approaching range", the control shifts to standard control (step S85).

【0043】 なお、本実施例では、主軸5A,5Bが干渉領域S3 内に進入したか否かを判 定する干渉領域進入決定手段21(図4参照)の判定結果(以下「第1の判定結 果」という)、接近距離判定手段22(図4参照)による主軸5A,5B間の接 近距離の判定結果(以下「第2の判定結果」という)、および動作状態比較手段 23(図4参照)によるAM/C ,BM/C の動作状態の比較結果(以下、単に「状 態比較結果」という)に基づいて、干渉回避のための干渉回避動作の内容を決定 しているが、第1の判定結果と状態比較結果のみに基づいて干渉回避動作の内容 を決定したり、または第2の判定結果と状態比較結果のみに基づいて干渉回避動 作を決定するようにしてもよい。In the present embodiment, the determination result of the interference area entry determining means 21 (see FIG. 4) for determining whether the spindles 5A and 5B have entered the interference area S 3 (hereinafter referred to as “first "Determination result"), a determination result of the proximity distance between the spindles 5A and 5B by the approach distance determination means 22 (see FIG. 4) (hereinafter referred to as "second determination result"), and an operation state comparison means 23 (see FIG. 4)), the content of the interference avoidance operation for interference avoidance is determined based on the comparison result of the operation state of A M / C and B M / C (hereinafter, simply referred to as “state comparison result”). However, even if the content of the interference avoidance operation is determined based on only the first determination result and the state comparison result, or the interference avoidance operation is determined based only on the second determination result and the state comparison result. Good.

【0044】 前者の場合には、少なくとも、主軸5A,5Bが共に干渉領域S3 内に進入し たときに、状態比較結果に応じて、主軸5Aまたは5Bの内のいずれか1つを残 して他を干渉領域S3 の外に回避移動することができればよい。一方、後者の場 合には、少なくとも、主軸5A,5Bが相対的に干渉接近距離L1 まで接近した ときに、状態比較結果に応じて、主軸5Aまたは5Bの内のいずれか1つを残し て他を干渉回避動作できればよく、その干渉回避動作としては、例えば、干渉領 域S3 の外の所定位置まで回避移動させたり、移動速度を減速させたり、移動を 停止させたりすることができる。In the former case, at least when one of the main shafts 5A and 5B enters into the interference region S 3 , either one of the main shafts 5A and 5B remains depending on the result of the state comparison. It is only necessary to move the others to the outside of the interference area S 3 . On the other hand, in the latter case, at least when one of the spindles 5A and 5B relatively approaches the interference approach distance L 1, one of the spindles 5A and 5B is left, depending on the result of the state comparison. It suffices that the other can perform the interference avoidance operation. As the interference avoidance operation, for example, avoidance movement to a predetermined position outside the interference area S 3 , movement speed deceleration, or movement stop can be performed. .

【0045】[0045]

【考案の効果】[Effect of device]

以上説明したように、本考案のNC工作機械の制御装置は、複数のNC工作機 械の主軸が所定の干渉領域内に進入したか否かの判定結果と、それらの工作機械 の動作状態の比較結果とに基づいて、または複数のNC工作機械の主軸が所定の 接近距離まで接近したか否かの判定結果と、それらの工作機械の動作状態の比較 結果とに基づいて、干渉回避動作の内容を決定し、そして、それらの干渉回避動 作の内容にしたがって工作機械の干渉を回避させる構成であるから、複数の工作 機械をそれら相互間の干渉を回避しつつ適確に制御して加工効率の向上を図るこ とができる。 As described above, the controller for the NC machine tool of the present invention determines whether the spindles of a plurality of NC machine tools have entered the predetermined interference area and the operation status of those machine tools. Based on the comparison result, or based on the judgment result of whether or not the spindles of a plurality of NC machine tools have approached to a predetermined approach distance and the comparison result of the operation states of those machine tools, the interference avoidance operation is performed. Since the contents are determined and the interference of the machine tools is avoided according to the contents of the interference avoidance operation, it is possible to appropriately control and process a plurality of machine tools while avoiding the interference between them. It is possible to improve efficiency.

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

【図1】本考案の一実施例の制御対象となるNC工作機
械の正面図である。
FIG. 1 is a front view of an NC machine tool to be controlled according to an embodiment of the present invention.

【図2】図1のII矢視図である。FIG. 2 is a view on arrow II in FIG.

【図3】本考案の一実施例の概略構成図である。FIG. 3 is a schematic configuration diagram of an embodiment of the present invention.

【図4】本考案の一実施例の要部を示す機能ブロック図
である。
FIG. 4 is a functional block diagram showing a main part of an embodiment of the present invention.

【図5】図1に示すNC工作機械の動作範囲の説明図で
ある。
5 is an explanatory view of an operation range of the NC machine tool shown in FIG.

【図6】図1に示すNC工作機械の主軸の接近距離の説
明図である。
6 is an explanatory diagram of an approach distance of a spindle of the NC machine tool shown in FIG. 1. FIG.

【図7】図4の干渉回避制御手段によって実行される回
避動作の種類の説明図である。
FIG. 7 is an explanatory diagram of types of avoidance operations executed by the interference avoidance control means of FIG.

【図8】図7に示す回避動作のためのパラメータの設定
動作を説明するためのフローチャートである。
8 is a flowchart for explaining a parameter setting operation for the avoidance operation shown in FIG. 7. FIG.

【図9】図7に示す回避動作AおよびBを説明するため
のフローチャートである。
9 is a flow chart for explaining avoidance operations A and B shown in FIG. 7. FIG.

【図10】図7に示す回避動作Cを説明するためのフロ
ーチャートである。
10 is a flowchart for explaining an avoidance operation C shown in FIG.

【図11】図7に示す回避動作Dを説明するためのフロ
ーチャートである。
11 is a flow chart for explaining an avoidance operation D shown in FIG.

【図12】図7に示す回避動作Eを説明するためのフロ
ーチャートである。
12 is a flowchart for explaining an avoidance operation E shown in FIG.

【図13】図7に示す回避動作Fを説明するためのフロ
ーチャートである。
FIG. 13 is a flowchart for explaining an avoidance operation F shown in FIG.

【図14】図7に示す回避動作GおよびHを説明するた
めのフローチャートである。
FIG. 14 is a flowchart for explaining avoidance operations G and H shown in FIG. 7.

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

A,B マシニングセンタ(NC工作機械) C 工具交換装置 1 マシンヘッド 2A,2B スライドベース 3A,3B サドル 4A,4B コラム 5A,5B 主軸 6 工具ホルダー 21 干渉領域進入判定手段 22 接近距離判定手段 23 動作状態比較手段 24 干渉回避制御手段 24A 回避動作決定手段 24B 回避動作制御手段 S1 ,S2 動作領域 S3 干渉領域A, B Machining center (NC machine tool) C Tool changer 1 Machine head 2A, 2B Slide base 3A, 3B Saddle 4A, 4B Column 5A, 5B Spindle 6 Tool holder 21 Interference area entry determination means 22 Approach distance determination means 23 Operating state comparison means 24 the interference avoidance control means 24A avoidance operation determining means 24B avoidance operation control means S 1, S 2 operating area S 3 interference region

Claims (4)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 複数のNC工作機械の主軸をそれらの工
作機械毎の動作領域内において移動制御して、それぞれ
の主軸に装着した工具によって1つの被加工物を同時に
加工可能なNC工作機械の制御装置において、 前記動作領域が互いに隣接する工作機械の主軸の座標位
置を比較して、それらの主軸が共に所定の干渉領域内に
進入したか否かを判定する干渉領域進入判定手段と、 前記干渉領域進入判定手段によって前記干渉領域内に進
入したと判定された前記複数の工作機械の動作状態を比
較する動作状態比較手段と、 前記動作状態比較手段の比較結果に応じて、該比較対象
の複数の工作機械の主軸の内の1つを残して他を前記干
渉領域外に回避移動させる干渉回避制御手段とを備えて
なることを特徴とするNC工作機械の制御装置。
1. An NC machine tool capable of simultaneously controlling a plurality of NC machine tool spindles within an operation region of each of the machine tools to machine one workpiece by a tool mounted on each spindle. In the control device, the operation area is compared with the coordinate position of the spindle of the machine tool adjacent to each other, the interference area entry determination means for determining whether or not both the spindles have entered into a predetermined interference area, The operation state comparison means for comparing the operation states of the plurality of machine tools determined to have entered the interference area by the interference area entry determination means and the comparison result of the operation state comparison means according to the comparison result of the operation state comparison means. A controller for an NC machine tool, comprising: an interference avoidance control means for avoiding and moving one of the spindles of a plurality of machine tools to the outside of the interference area.
【請求項2】 複数のNC工作機械の主軸をそれらの工
作機械毎の動作領域内において移動制御して、それぞれ
の主軸に装着した工具によって1つの被加工物を同時に
加工可能なNC工作機械の制御装置において、 前記複数の工作機械の主軸の座標位置を比較して、それ
らの主軸が所定の接近距離以内にまで接近したか否かを
判定する接近距離判定手段と、 前記接近距離判定手段によって前記接近距離以内にまで
接近したと判定された前記複数の工作機械の動作状態を
比較する動作状態比較手段と、 前記動作状態比較手段の比較結果に応じて、該比較対象
の複数の工作機械の内の1つを残して他を干渉回避動作
させる干渉回避制御手段とを備えてなることを特徴とす
るNC工作機械の制御装置。
2. An NC machine tool capable of simultaneously machining one work piece by a tool attached to each spindle by controlling movement of the spindles of a plurality of NC machine tools within an operating region of each of the machine tools. In the control device, by comparing the coordinate positions of the spindles of the plurality of machine tools, the approach distance determining means for determining whether the spindles have approached within a predetermined approach distance, and the approach distance determining means. An operating state comparing means for comparing operating states of the plurality of machine tools determined to have approached within the approaching distance, and a plurality of machine tools to be compared according to a comparison result of the operating state comparing means. An NC machine tool control device, comprising: an interference avoidance control means for performing an interference avoidance operation for one of the other components while leaving the other.
【請求項3】 前記複数の工作機械の相互間に、該複数
の工作機械の主軸のそれぞれに対して異種の工具を取付
け変換可能な工具交換装置を備えたことを特徴とする請
求項1または2に記載のNC工作機械の制御装置。
3. A tool exchanging device capable of attaching and converting different kinds of tools to each of the spindles of the plurality of machine tools is provided between the plurality of machine tools. 2. The NC machine tool control device according to 2.
【請求項4】 前記干渉回避制御手段による干渉回避動
作は停止動作および/または減速動作であることを特徴
とする請求項2に記載のNC工作機械の制御装置。
4. The control device for an NC machine tool according to claim 2, wherein the interference avoiding operation by the interference avoiding control means is a stopping operation and / or a decelerating operation.
JP3528293U 1993-06-29 1993-06-29 Controller for NC machine tool Pending JPH073943U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3528293U JPH073943U (en) 1993-06-29 1993-06-29 Controller for NC machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3528293U JPH073943U (en) 1993-06-29 1993-06-29 Controller for NC machine tool

Publications (1)

Publication Number Publication Date
JPH073943U true JPH073943U (en) 1995-01-20

Family

ID=12437432

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3528293U Pending JPH073943U (en) 1993-06-29 1993-06-29 Controller for NC machine tool

Country Status (1)

Country Link
JP (1) JPH073943U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011087682A (en) * 2009-10-21 2011-05-06 Fujishoji Co Ltd Game machine
KR101865237B1 (en) * 2012-01-26 2018-06-07 두산공작기계 주식회사 Operation panel arm control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011087682A (en) * 2009-10-21 2011-05-06 Fujishoji Co Ltd Game machine
KR101865237B1 (en) * 2012-01-26 2018-06-07 두산공작기계 주식회사 Operation panel arm control method

Similar Documents

Publication Publication Date Title
US5888037A (en) Method of and apparatus for moving feed shafts of numerical controlled machine tool
JP3036143B2 (en) Numerical control unit
US10558193B2 (en) Method for machining a workpiece in a machine tool with optimized machining time
EP3278925A1 (en) Tool path-generating method, drilling method, and tool path-generating device
US4862380A (en) Numerical control unit
KR930010589B1 (en) Cutting tool stop control apparatus
JP4639058B2 (en) Threading machine
US4698573A (en) Numerically controlled working process
CN107065782A (en) Numerical control device with the incision control function rotated based on turntable
JP3207125B2 (en) Turret tool selection command method
JPH073943U (en) Controller for NC machine tool
JPH08263115A (en) Interference evading method for nc machine tool
US4999784A (en) Axis changeover apparatus
JP4398070B2 (en) Numerical control device and groove processing method for machine tool
JP3085339B2 (en) Machining method
JPH07210225A (en) Numerical controller
JP2002273601A (en) Multispindle machine tool
JP2772450B2 (en) Non-circular workpiece machining method
JPH10143213A (en) Multi-surface working machine and multi-surface working method
JP6935606B1 (en) Information processing equipment and information processing programs
JPH08118200A (en) Nc lathe control method
US20240126241A1 (en) Numerical controller
KR100227183B1 (en) Multiple piston processing machine
JPH08150540A (en) Interference preventing device for machine tool
JPH044405A (en) Numerical controller