JPH03270848A - Processing control method for machine tool - Google Patents

Processing control method for machine tool

Info

Publication number
JPH03270848A
JPH03270848A JP6633490A JP6633490A JPH03270848A JP H03270848 A JPH03270848 A JP H03270848A JP 6633490 A JP6633490 A JP 6633490A JP 6633490 A JP6633490 A JP 6633490A JP H03270848 A JPH03270848 A JP H03270848A
Authority
JP
Japan
Prior art keywords
tool
machining
workpiece
tools
turret
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
JP6633490A
Other languages
Japanese (ja)
Inventor
Masaru Kato
勝 加藤
Kazuhiro Kikata
一博 木方
Yukio Itatsu
板津 幸雄
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.)
Yamazaki Mazak Corp
Original Assignee
Yamazaki Mazak 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 Yamazaki Mazak Corp filed Critical Yamazaki Mazak Corp
Priority to JP6633490A priority Critical patent/JPH03270848A/en
Publication of JPH03270848A publication Critical patent/JPH03270848A/en
Pending legal-status Critical Current

Links

Landscapes

  • Turning (AREA)

Abstract

PURPOSE:To save labor in preparing a processing program and utilize the memory region effectively by selecting a tool according to the ID code when the same kind of works on spindles are to be processed, and indexing it in the processing position on each turret. CONSTITUTION:When processing is to be made to the same kind of works 26 held on spindles 23, 25 according to the processing program PRG, the ID code TC corresponding to tools used 37 is read, and by reference to the corresponding file TDF, judgement is made about the tool fitting part of turrets 35, 36 of the tools 37 corresponding to the read ID code TC. The same kind of tools 37 are located in the processing position POS by indexing the tool fitting parts of the turrets 35, 36 obtained by the judgement, and then the same kind of works 26 held on the two spindles 23, 25 are processed by these tools 37 in accordance with the processing program PRG.

Description

【発明の詳細な説明】 (a)、産業上の利用分野 本発明は、互いに対向するワーク主軸を有する2台の主
軸台を有すると共に1割り出し自在のタレットを有する
刃物台が各主軸台に対応する形でそれぞれ設けられた工
作機械等に適用するに好適な工作機械における加工制御
方法に関する。
Detailed Description of the Invention (a) Industrial Application Field The present invention has two headstocks having workpiece spindles facing each other, and a tool rest having a freely indexable turret corresponds to each headstock. The present invention relates to a machining control method in a machine tool that is suitable for application to machine tools, etc. provided in a manner that

(b)、従来の技術 従来、この種の工作機械において、両方の主軸台で別々
に同じ種類(形状及び材質)のワークの加工を加工プロ
グラムに基づいて行なう際には、各主軸台での加工に使
用する工具は、加工プログラム中において、各刃物台の
タレットの工具装着部に対応した番号等により指定して
いた。
(b), Conventional technology Conventionally, in this type of machine tool, when machining workpieces of the same type (shape and material) separately on both headstocks based on a machining program, the The tools used for machining are designated in the machining program by numbers corresponding to the tool mounting portions of the turrets of each tool post.

(C)6発明が解決しようとする問題点しかし、これで
は1両主軸台での加工に使用する工具が両タレットで異
なる工具装着部に装着されている場合には、加工プログ
ラム中の工具の指定番号等が異なるので、各主軸台毎に
加工プログラムを作成する必要があった。即ち、この場
合には1両主軸台で同種の加工を行なうにも拘らず、加
工プログラムを別個に2つ作威し、所定のメモリ領域に
格納しなければならないので、加工プログラムの作成に
手間が掛かるばかりか、加工プログラムのメモリ領域も
それだけ多く必要となる不都合があった。
(C) 6 Problems to be Solved by the Invention However, in this case, if the tool used for machining with one double headstock is installed in different tool mounting parts on both turrets, the tool during the machining program Since the designation numbers, etc. are different, it was necessary to create a machining program for each headstock. That is, in this case, even though the same type of machining is performed using a single headstock, it is necessary to create two machining programs separately and store them in a predetermined memory area, which reduces the time and effort required to create machining programs. Not only does it take a lot of time, but it also requires a large memory area for the machining program.

本発明は、上記事情に鑑み、両方の主軸台で共用可能な
1つの加工プログラムに基づいて5両主軸台で同じ種類
のワークの加工を行なうことが出来る工作機械における
加工制御方法を提供することを目的とする。
In view of the above circumstances, the present invention provides a machining control method for a machine tool that allows machining of the same type of workpiece with five headstocks based on one machining program that can be shared by both headstocks. With the goal.

(d)9問題点を解決するための手段 即ち、本発明は、互いに相対向する形で設けられた2台
の主軸台(21,22)を有し、これ等主軸台(21,
22)に、ワーク(26)を保持し得るワーク主軸(2
3,25)を回転自在にそれぞれ設け、刃物台(32,
33)を前記各主軸台(21,22)に対応する形でそ
れぞれ設け、これ等刃物台(32,33)に、工具(3
7)を装着し得る複数個の工具装着部(35b、36b
)を有するタレット(35,36)を割り出し自在にそ
れぞれ設けた工作機械(1)において、ワーク(26)
の加工に使用する可能性のある工具(37)を前記各タ
レット(35,36)の工具装着部(35b、36b)
に装着すると共に、これ等工具(37)に関して、工具
(37)の種類を示す識別コード(TC)と該工具(3
7)が装着された前記各タレット(35,36)の工具
装着部(35b、36b)との対応を示す対応ファイル
(TDF)を格納しておき、前記各タレット(35,3
6)の工具装着部(35b、36b)に装着された工具
(37)の内、ワーク(26)の加工に実際に使用する
工具(37)を加工プログラム(PRG)中で前記識別
コード(TC)により指定しておき、前記各主軸台(2
1,22)のワーク主軸(23,25)にそれぞれ保持
された同し種類のワーク(26)に対して前記加工プロ
グラム(PRG)に基づく加工を行なう際には。
(d) Means for solving the nine problems, that is, the present invention has two headstocks (21, 22) provided facing each other, and these headstocks (21, 22).
22) has a workpiece spindle (2) that can hold the workpiece (26).
3, 25) are provided rotatably, and the tool rests (32, 25) are provided rotatably.
A tool (33) is provided corresponding to each of the headstocks (21, 22), and a tool (3) is provided on each of the tool rests (32, 33).
7), a plurality of tool mounting parts (35b, 36b
) in a machine tool (1) which is equipped with indexable turrets (35, 36), each having a workpiece (26).
The tool (37) that may be used for machining of
At the same time, an identification code (TC) indicating the type of the tool (37) and the tool (37) are attached to the tool (37).
A correspondence file (TDF) indicating the correspondence with the tool mounting part (35b, 36b) of each of the turrets (35, 36) to which the turrets (35, 36) are attached is stored, and
Among the tools (37) mounted on the tool mounting portions (35b, 36b) of 6), the tool (37) actually used for machining the workpiece (26) is identified by the identification code (TC) in the machining program (PRG). ), and each headstock (2
When performing machining based on the machining program (PRG) on the same type of workpieces (26) held by the workpiece spindles (23, 25) of Nos. 1 and 22), respectively.

前記加工プログラム(PRG)に示された加工に使用す
る工具(37)に対応した識別コード(TC)を読み出
し、該読み出された識別コード(TC)に基づいて前記
対応ファイル(TDF)を参照して前記読み出された識
別コー1”(TC)に対応する工具(37)の各タレッ
ト(35,36)における工具装着部(35b、36b
)を判定し、前記判定された各タレット(35,36)
の工具装着部(35b、36b)を所定の加工位置(P
O5)にそれぞれ割り出すことにより、同じ種類の工具
(37)を前記加工位置(pos)に位置決めし1次い
で、これ等位置決めされた工具(37)により前記加工
プログラム(PRG)に基づいて前記両ワーク主軸(2
3,25)に保持された同じ種類のワーク(26)に対
して加工を行なうようにして構成される。
Read the identification code (TC) corresponding to the tool (37) used for machining shown in the machining program (PRG), and refer to the corresponding file (TDF) based on the read identification code (TC). The tool mounting portions (35b, 36b) in each turret (35, 36) of the tool (37) corresponding to the read identification code 1" (TC)
), and each of the determined turrets (35, 36)
Place the tool mounting parts (35b, 36b) at the predetermined machining position (P
05), the same type of tool (37) is positioned at the machining position (pos), and then the positioned tools (37) are used to perform both workpieces based on the machining program (PRG). Main shaft (2
3, 25) is configured to process the same type of workpiece (26) held by the machine.

なお、括弧内の番号等は、図面における対応する要素を
示す便宜的なものであり、従って1本記述は図面上の記
載に限定拘束されるものではない。以下のr (e)、
作用」の欄についても同様である。
Note that the numbers in parentheses are for convenience to indicate corresponding elements in the drawings, and therefore, this description is not limited to the description on the drawings. r(e) below,
The same applies to the column "Effect".

(e)9作用 上記した構成により1本発明は、各主軸台(21,22
)のワーク主軸(23,25)にそれぞれ保持された同
じ種類のワーク(26)に対する加工を行なう際に、ワ
ーク(26)の加工に実際に使用される同じ種類の工具
(37)が、工具(37)の種類に対応した識別コード
(TC)により選定され、各タレット(35,36)上
の加工位置(pos)にそれぞれ割り出されるように作
用する。
(e) 9 Effects With the above-described configuration, the present invention has the following features:
), when machining the same type of workpiece (26) held on the workpiece spindles (23, 25), the same type of tool (37) actually used for machining the workpiece (26) is (37) is selected by the identification code (TC) corresponding to the type, and acts to be respectively assigned to the processing position (pos) on each turret (35, 36).

(f)、実施例 以下、本発明の実施例を図面に基づき説明する。(f), Example Embodiments of the present invention will be described below based on the drawings.

第1図は本発明による工作機械における加工制御方法の
一実施例が適用された複合加工工作機械の一例を示す制
御ブロック図。
FIG. 1 is a control block diagram showing an example of a multi-tasking machine tool to which an embodiment of the machining control method for a machine tool according to the present invention is applied.

第2図は第1図に示す複合加工工作機械のタレット部分
の斜視図、 第3図は工具データファイルの一例を示す模式図。
FIG. 2 is a perspective view of the turret part of the multitasking machine tool shown in FIG. 1, and FIG. 3 is a schematic diagram showing an example of a tool data file.

第4図は加工プログラムの一例を示す模式図である。FIG. 4 is a schematic diagram showing an example of a machining program.

工作機械である複合加工工作機械1は、第1図に示すよ
うに、主制御部2を有しており、主制御部2にはバス線
3を介してキーボード等の入力部5、加工プログラムメ
モリ6、加工制御部7、ヘッドデータメモリ9、第1主
軸制御部15、第2主軸制御部16、第1刃物台制御部
17、第2刃物台制御部19、第1タレット制御部10
及び第2タレット制御部11等が接続している。
As shown in FIG. 1, a multi-tasking machine tool 1, which is a machine tool, has a main control section 2, and an input section 5 such as a keyboard, etc., and a machining program are connected to the main control section 2 via a bus line 3. Memory 6, processing control section 7, head data memory 9, first spindle control section 15, second spindle control section 16, first turret control section 17, second turret control section 19, first turret control section 10
and the second turret control section 11 etc. are connected.

また、複合加工工作機械工には、2台の主軸台21.2
2がZ軸方向、即ち第1図矢印A、 B方向に移動駆動
自在に設けられており、これ等主軸台21.22にはそ
れぞれワーク主軸23.25が矢印M、N方向に回転駆
動自在に設けられている(ここで、矢印M、N方向は制
御上の回転方向を表わしており、矢印N方向を制御上の
正転方向、矢印N方向を制御上の逆転方向とする。)。
Also, for multi-tasking machine machinists, two headstocks 21.2
2 is provided so as to be freely movable and driven in the Z-axis direction, that is, in the directions of arrows A and B in FIG. (Here, the arrow M and N directions represent the rotation direction for control purposes, and the arrow N direction is the forward rotation direction for control purposes, and the arrow N direction is the reverse rotation direction for control purposes.)

ワーク主軸23.25には、チャックワーク、シャフト
ワーク等のワーク26を把持し得るチャック23a、2
5aがそれぞれ設けられており、更に主軸台21.22
にはナツト21a、22aを介してボールネジ27.2
9が螺合している。ボールネジ27.29にはそれぞれ
主軸台駆動モータ30.31が該ボールネジ27.29
を回転駆動自在なる形に接続しており、主軸台駆動モー
タ30.31にはそれぞれトランスデユーサ30a、3
1aが設けられている。主軸台駆動モータ30及びトラ
ンスデユーサ30aには前記第1主軸制御部15が接続
しており、主軸台駆動モータ31及びトランスデユーサ
31aには前記第2主軸制御部16が接続している。
The workpiece spindle 23.25 has chucks 23a and 2 that can grip a workpiece 26 such as a chuck workpiece or a shaft workpiece.
5a are provided respectively, and further headstocks 21 and 22 are provided.
is connected to the ball screw 27.2 via the nuts 21a and 22a.
9 are screwed together. A headstock drive motor 30.31 is connected to the ball screw 27.29, respectively.
The headstock drive motors 30 and 31 are connected to transducers 30a and 3, respectively, so that they can be rotated freely.
1a is provided. The first spindle control section 15 is connected to the headstock drive motor 30 and the transducer 30a, and the second spindle control section 16 is connected to the headstock drive motor 31 and the transducer 31a.

また、主軸台21.22の第1図上方には刃物台32.
33が、各主軸台21.22に対応する形で矢印A、B
方向と直角な矢印C,D方向、即ちX軸方向に移動駆動
自在に設けられており、これ等刃物台32.33にはそ
れぞれタレット35.36がその側面を互いに対向させ
た形、即ち互いに背面的に配置された形で、割り出し駆
動モータ12、工3により矢印E、F方向に回転割り出
し自在に設けられている。割り出し駆動モータ12には
前記第1タレット制御部10が接続しており1割り出し
駆動モータ13には前記第2タレット制御部11が接続
している。各タレット35゜36は、第2図に示すよう
に、六角柱状の本体35a、36aを有しており、各本
体35a、36aの外周部にはそれぞれ、6個の工具装
着部35b、36bが「1」〜「6」の工具装着位置番
号TN○を付された形で設けられている。各工具装着部
35b、36bには、ワーク26の加工に使用する可能
性のあるバイト等の旋削工具及びドリル、ミーリングカ
ッタ等の回転工具等の各種の工具37が着脱自在に設け
られており、タレット35.36の本体35a、36a
を割り出し駆動モータ12.13により矢印E、F方向
に回転させることにより、各工具装着部35b、36b
上の工具37を対応するワーク主軸23.25に対向す
る所定の加工位置PO8に割り出すことが出来る。また
、第1図に示す各刃物台32.33にはナツト32a、
33aを介して、刃物台駆動モータ39.40に装着さ
れたボールネジ41.42がそれぞれ螺合しており、刃
物台駆動モータ39゜40を正逆方向に駆動することに
より、刃物台32.33をX軸方向(矢印C,D方向)
に移動駆動することが出来る。刃物台駆動モータ39,
40にはそれぞれトランスデユーサ39a、40aが設
けられており、刃物台駆動モータ39及びトランスデユ
ーサ39aには前記第1刃物台制御部■7が接続してお
り、更に、刃物台駆動モータ40及びトランスデユーサ
40aには前記第2刃物台制御部19が接続している。
Further, above the headstock 21.22 in FIG. 1, there is a tool rest 32.
33 corresponds to each headstock 21.22 and arrows A and B.
The tool rests 32 and 33 are provided with turrets 35 and 36 that are movable and driven in the directions of arrows C and D perpendicular to the direction, that is, in the direction of the X axis. It is provided so that it can be rotated and indexed in the directions of arrows E and F by an indexing drive motor 12 and a mechanism 3 in a rear-facing configuration. The first turret control section 10 is connected to the indexing drive motor 12, and the second turret control section 11 is connected to the first indexing drive motor 13. As shown in FIG. 2, each turret 35° 36 has a hexagonal prism-shaped body 35a, 36a, and six tool mounting portions 35b, 36b are provided on the outer periphery of each body 35a, 36a, respectively. They are provided with tool mounting position numbers TN○ of "1" to "6". Each tool mounting part 35b, 36b is removably provided with various tools 37, such as a turning tool such as a cutting tool and a rotary tool such as a drill or a milling cutter, which may be used for machining the workpiece 26. Main bodies 35a and 36a of turrets 35 and 36
By rotating the index drive motor 12.13 in the directions of arrows E and F, each tool mounting portion 35b, 36b
The upper tool 37 can be indexed to a predetermined machining position PO8 facing the corresponding workpiece spindle 23.25. In addition, each tool rest 32, 33 shown in FIG. 1 has a nut 32a,
Ball screws 41 and 42 attached to the tool post drive motors 39 and 40 are respectively screwed together through the turret drive motors 33a, and by driving the tool post drive motors 39 and 40 in forward and reverse directions, the tool rests 32 and 33 in the X-axis direction (arrow C, D direction)
It can be driven to move. Turret drive motor 39,
40 are provided with transducers 39a and 40a, respectively, and the first tool post control section (7) is connected to the tool post drive motor 39 and the transducer 39a. The second tool rest control section 19 is connected to the transducer 40a.

なお、第1図に示すように、主軸台21及び刃物台32
が移動駆動される座標系を28−X1座標とし、図中右
向きである矢印B方向をZ□軸の正方向、図中上向きで
ある矢印C方向をX1軸の正方向にとる。また、主軸台
22及び刃物台33が移動駆動される座標系をZ2−X
2座標とし1図中左向きである矢印入方向をZ2軸の正
方向、図中上向きである矢印C方向をX2軸の正方向に
とる。
In addition, as shown in FIG. 1, the headstock 21 and the tool rest 32
The coordinate system in which is driven to move is assumed to be the 28-X1 coordinate, and the direction of arrow B pointing right in the figure is the positive direction of the Z□ axis, and the direction of arrow C pointing upward in the figure is the positive direction of the X1 axis. In addition, the coordinate system in which the headstock 22 and the tool rest 33 are moved and driven is Z2-X.
Assuming 2 coordinates, the leftward direction of the arrow in the figure is the positive direction of the Z2 axis, and the upward direction of the arrow C in the figure is the positive direction of the X2 axis.

ところで、第1図に示すヘソドテータメモリ9には、例
えば第3図に示すように、各刃物台32.33に関する
工具データファイルTDF (TDFl及びTDF、)
が格納されており、工具データファイルTDF1は刃物
台32(図中、「ヘッドエ」と表示)に関するものであ
り、工具データファイルTDF2は刃物台33(図中、
「ヘッド2」と表示)に関するものである。刃物台32
に関する工具データファイルTDF□内には、第2図に
示す刃物台32のタレット35に装着された複数個の工
具37に関する工具データDATが、タレット35の各
工具装着部35bの工具装着位置番号TNOに基づいて
整理された形で格納されている。即ち、該工具データフ
ァイルTDF工内においては、rTNo、Jの桁には刃
物台32のタレット35の工具装着位置番号TNOが格
納されており、「Xツールセット」の桁には、第1図に
示す刃物台32がX軸方向の所定の第1機械原点MXP
工に位置決めされると共に、タレット35に装着された
工具37が所定の加工位置PO8に割り出された際の該
工具37の刃先から基準ワーク原点SWP工(なお、基
準ワーク原点SWPは、主軸台21と共にZ軸方向に移
動するが、機械原点MXP、MZPは移動しない。)ま
でのX1軸方向の距′Im(本明細書において、これを
第12ツールセツト値ZTL1と称する。)が格納され
ており、「Zツールセット」の桁には、主軸台21がZ
軸方向の所定の第1機械原点MZP工に位置決めされる
と共に、刃物台32のタレット35に装着された工具3
7が加工位置PO8に割り出された際の該工具37の刃
先から基準ワーク原点5WP1までのz1軸方向の距I
II(本明細書において、これを第12ツールセツト値
ZTL1と称する。)が格納されている。更に、第3図
に示す工具データファイルTDF工中の「工具コート」
の桁には工具コードTCが格納されている。ここで、工
具コードTCとは、各工具固有の工具番号とは別に、工
具37の種類、即ち形状及び材質(例えば、超硬開側バ
イト、高速度鋼中ぐリバイト等)に対応した識別コード
を意味し、各種類の工具37に対してro OOIJ〜
r9999Jの4桁の数値が工具コートTCとしてそれ
ぞれ付与されている。例えば、第3図に示す工具データ
ファイルTDF1のrTNo、Jの桁に格納された工具
装着位置番号TNOが「2」である工具37は、「Xツ
ールセット」の桁に第1Xツールセツト値XTLIとし
てr−200Jが、「Zツールセット」の桁に第1Zツ
ールセツト値ZTLIとしてr−300,4Jが、更に
「工具コート」の桁に工具コードTCとして「1234
」がそれぞれ格納されていることから、第2図に示す刃
物台32のタレット35の工具装着位置番号TN○が「
2」である第2工具装着部35bに装着された工具37
は、所定の加工位置PO8に割り出された際に、その刃
先が第1機械原点MZP□に位置決めされた主軸台21
の基準ワーク原点swp1からXi軸の正方向である矢
印C方向に200mn。
By the way, in the hesodotator memory 9 shown in FIG. 1, for example, as shown in FIG. 3, tool data files TDF (TDFl and TDF,
The tool data file TDF1 is related to the tool rest 32 (indicated as "Head E" in the figure), and the tool data file TDF2 is related to the tool rest 33 (indicated as "Head E" in the figure).
(displayed as "Head 2"). Tool rest 32
In the tool data file TDF□, tool data DAT regarding a plurality of tools 37 mounted on the turret 35 of the tool rest 32 shown in FIG. are stored in an organized format based on That is, in the tool data file TDF work, the rTNo, J digit stores the tool installation position number TNO of the turret 35 of the tool rest 32, and the "X tool set" digit stores the tool mounting position number TNO of the turret 35 of the tool rest 32. The tool rest 32 shown in is located at a predetermined first mechanical origin MXP in the X-axis direction.
When the tool 37 mounted on the turret 35 is indexed to a predetermined machining position PO8, the reference work origin SWP machining (the reference work origin SWP is the headstock 21 in the Z-axis direction, but the machine origins MXP and MZP do not move). In the "Z tool set" column, the headstock 21 is
The tool 3 is positioned at a predetermined first machine origin MZP machining in the axial direction and is mounted on the turret 35 of the tool rest 32.
Distance I in the z1-axis direction from the cutting edge of the tool 37 to the reference workpiece origin 5WP1 when 7 is indexed to the machining position PO8
II (herein referred to as the twelfth toolset value ZTL1). Furthermore, the "tool coat" in the tool data file TDF construction shown in Figure 3
The tool code TC is stored in the digit. Here, the tool code TC is an identification code that corresponds to the type of tool 37, that is, its shape and material (for example, carbide open-side bit, high-speed steel boring rebit, etc.), in addition to the tool number unique to each tool. means ro OOIJ~ for each type of tool 37
A four-digit numerical value of r9999J is assigned as the tool coat TC. For example, the tool 37 whose tool installation position number TNO stored in the rTNo, J digit of the tool data file TDF1 shown in FIG. 3 is "2" has the first X tool set value XTLI in the "X tool set" digit r-200J as the first Z tool set value ZTLI in the "Z tool set" digit, and "1234" as the tool code TC in the "tool coat" digit.
" are stored respectively, so the tool mounting position number TN○ of the turret 35 of the tool post 32 shown in FIG. 2 is "
The tool 37 attached to the second tool attachment part 35b which is "2"
is the headstock 21 whose cutting edge is positioned at the first machine origin MZP□ when the predetermined machining position PO8 is indexed.
200 m from the reference work origin swp1 in the direction of arrow C, which is the positive direction of the Xi axis.

Zユ軸の正方向である矢印B方向に300.4mmだけ
オフセットすることを表わすと共に、当該工具37の工
具コードTCがr1234Jであることを示している。
This indicates that the tool 37 is offset by 300.4 mm in the direction of arrow B, which is the positive direction of the Z-axis, and that the tool code TC of the tool 37 is r1234J.

このことは、第3図に示す刃物台33に関する工具デー
タファイルTDF、についても同様である。即ち、該工
具データファイルTDF、内には、第2図に示す刃物台
33のタレット36に装着された複数個の工具37に関
する工具データDATが、タレット36の各工具装着部
36bの工具装着位置番号TNOに基づいて整理された
形で格納されている。即ち、該工具データファイルTD
F2中のrTNo、Jの桁には刃物台33のタレット3
6の工具装着位置番号TN○が格納されており、「Xツ
ールセット」の桁には、第1図に示す刃物台33がX軸
方向の所定の第2機械原点MXP2に位置決めされると
共に、タレット36に装着された工具37が所定の加工
位gposに割り出された際の該工具37の刃先から基
準ワーク原点swp、までのX2軸方向の距離(本明細
書において、これを第2Xツールセツト値XTL2と称
する。)が格納されており、「Zツールセット」の桁に
は、主軸台22が2軸方向の所定の第2機械原点MZP
、に位置決めされると共に、刃物台33のタレット36
に装着された工具37が加工位置PO8に割り出された
際の該工具37の刃先から基準ワーク原点swp2まで
の22軸方向の距1m1(本明細書において、これを第
22ツールセツト値ZTL2と称する。)が格納されて
いる。
This also applies to the tool data file TDF regarding the tool rest 33 shown in FIG. That is, the tool data file TDF contains tool data DAT regarding a plurality of tools 37 mounted on the turret 36 of the tool rest 33 shown in FIG. The information is stored in an organized manner based on the number TNO. That is, the tool data file TD
rTNo in F2, the J digit is the turret 3 of the tool rest 33.
The tool mounting position number TN○ of 6 is stored, and in the digit of "X tool set", the tool rest 33 shown in FIG. 1 is positioned at a predetermined second machine origin MXP2 in the X axis direction, The distance in the X2-axis direction from the cutting edge of the tool 37 mounted on the turret 36 to the reference workpiece origin swp when the tool 37 is indexed to a predetermined machining position gpos (herein, this is referred to as the second A set value XTL2) is stored, and the "Z tool set" digit indicates that the headstock 22 is at a predetermined second machine origin MZP in the two-axis direction.
, and the turret 36 of the tool rest 33
The distance in the 22nd axis direction from the cutting edge of the tool 37 when the tool 37 attached to the tool 37 is indexed to the machining position PO8 to the reference workpiece origin swp2 is 1 m1 (in this specification, this is referred to as the 22nd tool set value ZTL2). ) is stored.

更に、第3図に示す工具データファイルTDF2中の「
工具コード」の桁には工具コードTCが格納されている
。例えば、工具データファイルTDF2のrTNo、J
の桁に格納された工具装着位置番号TNOが「1」であ
る工具37は、「Xツールセット」の桁に第2Xツール
セツト値XTL2としてr−203Jが、「Zツールセ
ット」の桁に第22ツールセツト値ZTL2として「−
301、IJが、更にr工具コード」の桁に工具コード
TCとしてr1234Jがそれぞれ格納されていること
から、第2図に示す刃物台33のタレット36の工具装
着位置番号TN○がrlJである第1工具装着部36b
に装着された工具37は。
Furthermore, in the tool data file TDF2 shown in FIG.
The tool code TC is stored in the "tool code" digit. For example, rTNo of tool data file TDF2, J
The tool 37 whose tool mounting position number TNO stored in the digit is "1" has r-203J as the second X tool set value XTL2 in the "X tool set" digit and the second X tool set value XTL2 in the "Z tool set" digit. 22 toolset value ZTL2 as “-
301, IJ, and r1234J are stored as the tool code TC in the digit of "r tool code", so the tool mounting position number TN○ of the turret 36 of the tool post 33 shown in FIG. 1 tool mounting part 36b
The tool 37 attached to is.

所定の加工位置PO8に割り出された際に、その刃先が
第2機械原点MZP2に位置決めされた主軸台22の基
準ワーク原点swp2からX2軸の正方向である矢印C
方向に203 un 、 Z x軸の正方向である矢印
A方向に301.1++aだけオフセットすることを表
わすと共に、当該工具37の工具コードTCがr123
4Jであることを示している。従って、刃物台32のタ
レット35の工具装着位置番号TN○が「2」の第2工
具装着部35bに装着された工具37と、刃物台33の
タレット36の工具装着位置番号TN○が「1」の第1
工具装着部36bに装着された工具37は、第3図に示
すように、同じ工具コードTCr1234Jを有してい
るので、同じ種類(形状及び材質)の工具37であるこ
とになる。
When indexed to predetermined machining position PO8, arrow C is the positive direction of the X2 axis from the reference workpiece origin swp2 of the headstock 22 whose cutting edge is positioned at the second machine origin MZP2.
It represents an offset of 203 un in the Z direction and 301.1++a in the direction of arrow A, which is the positive direction of the Z x axis, and the tool code TC of the tool 37 is r123.
It shows that it is 4J. Therefore, the tool 37 mounted on the second tool mounting portion 35b whose tool mounting position number TN○ of the turret 35 of the tool rest 32 is "2" and the tool mounting position number TN○ of the turret 36 of the tool rest 33 is "1". ” No. 1
As shown in FIG. 3, the tools 37 mounted on the tool mounting portion 36b have the same tool code TCr1234J, so they are of the same type (shape and material).

複合加工工作機械lは以上のような構成を有するので、
該複合加工工作機械1を用いてワーク26に対して多種
多様の加工を行なうことが出来る。例えば、チャックワ
ーク、シャフトワーク等のワーク26を第1図中左側に
位置する主軸台21側のワーク主軸23にチャック23
aを介して装着し、その状態で刃物台32のタレット3
5上で所定の加工位置pos、に割り出された工具37
により第1工程の加工を行なった後、該第1工程の終了
したワーク26をワーク主軸25側へ受は渡し、刃物台
33のタレット36上で所定の加工位置PO8に割り出
された工具37により第2工程の加工を行なうことによ
り、第1工程及び第2工程からなるワーク26の加工を
連続的に行なうことも可能である。なお、この種の加工
については1例えば特開平1−246045に開示され
ているので、ここではその詳細な説明は省略する。
Since the multi-tasking machine tool l has the above configuration,
A wide variety of machining operations can be performed on the workpiece 26 using the multitasking machine tool 1. For example, a workpiece 26 such as a chuck workpiece or a shaft workpiece is chucked 26 onto a workpiece spindle 23 on the headstock 21 side located on the left side in FIG.
a, and in that state, attach it to the turret 3 of the tool rest 32.
5, the tool 37 is indexed to a predetermined processing position pos.
After machining the first step, the workpiece 26 that has completed the first step is transferred to the workpiece spindle 25 side, and the tool 37 is indexed to a predetermined machining position PO8 on the turret 36 of the tool post 33. By performing the second process, it is also possible to continuously process the workpiece 26 in the first and second processes. This type of processing is disclosed in, for example, Japanese Unexamined Patent Publication No. 1-246045, so a detailed explanation thereof will be omitted here.

ところで、ワーク26の加工形状によっては、第2工程
の加工を必要としない(即ち、第1工程のみによりワー
ク26の加工が完了する)場合があるが、この場合には
、第1図に示す複合加工工作機械1の両方の主軸台21
.22で別々に同種の加工を行なうことにより、複合加
工工作機械工の稼働率を高めることが出来る。それには
1作業者は、ワーク26の加工形状を参照しつつ、入力
部5を介して加工に必要な加工データを入力して、どち
らの主軸台21.22での加工にも適用可能な1つの加
工プログラムPRGを共用の加工プログラムPRGとし
て作成し、該作成された共用の加工プログラムPRGを
加工プログラムメモリ6に格納する。
By the way, depending on the shape of the workpiece 26, the second process may not be necessary (that is, the process of the workpiece 26 is completed only in the first process), but in this case, the process shown in FIG. Both headstocks 21 of the multitasking machine tool 1
.. By performing the same type of machining separately in 22, the operating rate of the multi-tasking machine tool can be increased. To do this, one operator inputs the machining data necessary for machining via the input unit 5 while referring to the machining shape of the workpiece 26, and inputs machining data that can be applied to machining with either headstock 21 or 22. One machining program PRG is created as a shared machining program PRG, and the created shared machining program PRG is stored in the machining program memory 6.

この共用の加工プログラムPRGは、例えば第4図に示
すように、加工内容に対応したワーク番号WNを有する
と共に、複数個の加工プロセスPR(PRl、PR,、
PR3等)から構成されており、各加工プロセスPRに
は、実行順序を表わす3桁のシーケンス番号SQNが付
されている。
For example, as shown in FIG. 4, this shared machining program PRG has a workpiece number WN corresponding to the machining content, and also has a plurality of machining processes PR (PRl, PR, . . .
PR3, etc.), and each machining process PR is assigned a three-digit sequence number SQN representing the order of execution.

各加工プロセスPRにおいて、シーケンス番号SQNの
図中右方には当該加工プロセスPRにおける動作内容に
対応した動作指令COMがEIAコードで格納されてお
り、また所定の加工プロセスPRには、当該加工プロセ
スPR及びそれに続く加工プロセスPRにおける加工に
実際に使用する工具37の工具コードTC1即ち工具3
7の種類(形状及び材質)に対応した識別コードが格納
されている。即ち、当該加工に実際に使用する工具37
は、共用の加工プログラムPRG中において、タレット
35.36の工具装着位置番号TNOではなく該工具3
7の種類に対応した工具コードTCで指定されている。
In each machining process PR, an operation command COM corresponding to the operation content in the machining process PR is stored in the right side of the diagram of the sequence number SQN as an EIA code, and a predetermined machining process PR stores the operation command COM corresponding to the operation content in the machining process PR. Tool code TC1 of the tool 37 actually used for machining in PR and the subsequent machining process PR, that is, tool 3
Identification codes corresponding to 7 types (shapes and materials) are stored. That is, the tool 37 actually used for the processing
is the tool 3 instead of the tool mounting position number TNO of the turret 35, 36 in the shared machining program PRG.
It is specified by tool code TC corresponding to 7 types.

なお、共用の加工プログラムPRGは、必ずしもEIA
コードを用いて作成する必要はなく、当該加工に使用す
る工具37の工具コードTCが含まれている限り、対話
方式の簡易プログラム等どのような加工プログラムPR
Gであっても構わない。
Note that the shared machining program PRG is not necessarily EIA
There is no need to create a PR using a code, as long as the tool code TC of the tool 37 used for the machining is included, any machining program PR such as a simple interactive program can be created.
It doesn't matter if it's G.

例えば、第4図に示す共用の加工プログラムPRGは、
rWNo、Jの桁にワーク番号WNとしてrlOOJが
格納されていることから、「100Jなるワーク番号W
Nに対応した加工内容を有している。該加工プログラム
PRG中において、図中最上段の加工プロセスPR工は
「001」なるシーケンス番号SQNを有しており、該
加工プロセスPR工には工具コードTCとして「123
4」が格納されていることから、当該加工プロセスPR
1による動作は1番目に実行し、その動作内容は、工具
コードTCがr1234Jである工具37の刃先を動作
指令COMに基づく所定の加工開始点に早送り位置決め
することであることを意味している。また、該加工プロ
セスPR,の下方の加工プロセスPR1即ちシーケンス
番号SQNがr002Jの加工プロセスPR,、シーケ
ンス番号SQNがroO3Jの加工プロセスPR1等に
ついても加工プロセスPRよと同様である。
For example, the shared machining program PRG shown in FIG.
rWNo, rlOOJ is stored as the work number WN in the J digit, so the work number W is 100J.
It has processing contents corresponding to N. In the machining program PRG, the machining process PR machine at the top of the diagram has a sequence number SQN of "001", and the machining process PR machine has a tool code TC of "123".
4" is stored, the corresponding machining process PR
The operation 1 is executed first, and the content of the operation is to rapidly position the cutting edge of the tool 37 whose tool code TC is r1234J to a predetermined machining start point based on the operation command COM. . Further, the processing process PR1 below the processing process PR, that is, the processing process PR with the sequence number SQN r002J, the processing process PR1 with the sequence number SQN roO3J, etc., is the same as the processing process PR.

即ち、次の工具コードTCの指定があるまでは、工具コ
ードTCがr1234Jの工具37により所定の早送り
位置決め動作、旋削動作等を行なうように指示されてい
る。
That is, until the next tool code TC is designated, the tool 37 with the tool code TC r1234J is instructed to perform a predetermined rapid positioning operation, turning operation, etc.

こうして、所定のワーク番号WNを有する共用の加工プ
ログラムPRGが加工プログラムメモリ6に格納された
ところで、作業者は、加工す入き同じ種類(形状及び材
質)のワーク26を2個、第1図に示す複合加工工作機
械1の両方の主軸台21.22のワーク主軸23.25
にチャック23a、25aを介してそれぞれ装着しくこ
こで、主軸台21側のワーク主軸23に装着されたワー
ク26をワーク26A、主軸台22側のワーク主軸25
に装着されたワーク26をワーク26□と称する。)、
その状態で入力部5を介して、これ等のワーク26A、
26.に対してこれから行なう加工の加工内容に対応し
たワーク番号WN、即ちワーク番号WNrlOOJを入
力すると共に、入力部5を介して主制御部2に対して加
工開始指令を出力する。すると、主制御部2は加工制御
部7に対して、該入力されたワーク番号WN(即ち、r
loOJ)を有する共用の加工プログラムPRGに基づ
く加工を両生軸台21.22で行なうように指令する。
In this way, when the shared machining program PRG having the predetermined workpiece number WN is stored in the machining program memory 6, the operator cuts two workpieces 26 of the same type (shape and material) into the machining slot as shown in FIG. Workpiece spindles 23.25 of both headstocks 21.22 of the multitasking machine tool 1 shown in
Here, the workpiece 26 mounted on the workpiece spindle 23 on the headstock 21 side is attached to the workpiece 26A and the workpiece spindle 25 on the headstock 22 side via the chucks 23a and 25a, respectively.
The workpiece 26 mounted on the is referred to as a workpiece 26□. ),
In this state, these works 26A,
26. A workpiece number WN corresponding to the contents of the machining to be performed from now on, ie, a workpiece number WNrlOOJ, is inputted to the input section 5, and a machining start command is outputted to the main control section 2 via the input section 5. Then, the main controller 2 informs the processing controller 7 of the input workpiece number WN (i.e. r
command to perform machining based on the shared machining program PRG having the filename (loOJ) on the ambidextrous spindles 21 and 22.

これを受けて加工制御部7は、第4図に示すrloo」
なるワーク番号WNを有する加工プログラムPRGを加
工プログラムメモリ6から読み出し、該読み出された加
工プログラムPRG中のシーケンス番号SQNがr O
O1’Jである加工プロセスPR□の工具コートTC5
即ち両生軸台21.22でこれから行なう加工に使用す
る工具37.37の工具コードTC(即ち、r1234
J)を読み込む。更に、第工図に示す加工制御部7は、
該読み込まれた工具コードTCであるr1234Jを第
1タレット制御部10及び第2タレット制御部11に出
力して、工具コートTCがr1234Jである工具37
.37をこれから行なう加工に使用する工具37.37
として各タレット35.36上の加工位置PO8に割り
出すように指令する。
In response to this, the machining control unit 7 executes "rloo" shown in FIG.
The machining program PRG having the workpiece number WN is read from the machining program memory 6, and the sequence number SQN in the read machining program PRG is r O
Tool coat TC5 of machining process PR□ which is O1'J
In other words, the tool code TC of the tool 37.37 (i.e. r1234
Load J). Furthermore, the processing control section 7 shown in the engineering drawing
The read tool code TC, r1234J, is output to the first turret control unit 10 and the second turret control unit 11, and the tool 37 whose tool coat TC is r1234J is output.
.. Tools to be used for processing 37 from now on 37.37
command to index the machining position PO8 on each turret 35,36.

すると、第1図に示す第1タレット制御部10は、第3
図に示す刃物台32に関する工具データファイルTDF
1をヘッドデータメモリ9から読み出し、該読み出され
た工具データファイルTDF1中の「工具コード」の桁
に格納された工具コードTCを検索して、工具コードT
Cが「1234」である工具37のrTNo、Jの桁に
格納された刃物台32のタレット35の工具装着位置番
号TN○(即ち、「2」)を読み込む。次いで、第1タ
レット制御部10は、該読み込まれた工具装着位置番号
TN○である「2」に基づいて、第1図に示す割り出し
駆動モータ12を駆動して刃物台32のタレット35を
矢印E又はF方向に回転させて、第2図に示すように、
タレット35の工具装着位置番号TN○が「2」の第2
工具装着部35bに装着された工具37(工具コードT
Cはr1234J)を所定の加工位置PO5に割り出す
。一方、第2タレット制御部11は、刃物台33に関す
る工具データファイルTDF2をヘッドデータメモリ9
から読み出し、該読み出された工具データファイルTD
F2中の「工具コード」の桁に格納された工具コードT
Cを検索して、工具コードTCがr1234Jである工
具37のrTNo、Jの桁に格納された刃物台33のタ
レット36の工具装着位置番号TN○(即ち、「1」)
を読み込む。次いで、第2タレット制御部11は、該読
み込まれた工具装着位置番号TN○である「1」に基づ
いて、割り出し駆動モータ13を駆動して刃物台33の
タレット36を矢印E又はF方向に回転させて、タレッ
ト36の工具装着位置番号TNOが「1」の第1工具装
着部36bに装着された工具37(工具コードTCは「
1234」)を所定の加工位置PO8に割り出す。
Then, the first turret control section 10 shown in FIG.
Tool data file TDF regarding the tool post 32 shown in the figure
1 is read from the head data memory 9, the tool code TC stored in the "tool code" digit in the read tool data file TDF1 is searched, and the tool code T
The rTNo of the tool 37 whose C is "1234" and the tool mounting position number TN○ (ie, "2") of the turret 35 of the tool post 32 stored in the J digit are read. Next, the first turret control unit 10 drives the indexing drive motor 12 shown in FIG. 1 to move the turret 35 of the tool rest 32 in the direction of the arrow based on the read tool mounting position number TN○ "2". Rotate in the E or F direction, as shown in Figure 2,
The second tool mounting position number TN○ of the turret 35 is “2”
Tool 37 (tool code T) mounted on tool mounting portion 35b
C determines r1234J) to a predetermined processing position PO5. On the other hand, the second turret control unit 11 stores the tool data file TDF2 regarding the tool rest 33 in the head data memory 9.
The read tool data file TD
Tool code T stored in the "tool code" digit in F2
C is searched, rTNo of the tool 37 whose tool code TC is r1234J, and the tool installation position number TN○ of the turret 36 of the tool post 33 stored in the J digit (i.e., "1")
Load. Next, the second turret control unit 11 drives the indexing drive motor 13 to move the turret 36 of the tool post 33 in the direction of arrow E or F based on the read tool mounting position number TN○, which is "1". The tool 37 (the tool code TC is "
1234'') to a predetermined processing position PO8.

その結果、第4図に示す加工プログラムPRG中のシー
ケンス番号SQNがrooIJである加工プロセスPR
よ及びそれ以降の加工プロセスPR2,PR,等で指示
された加工で実際に使用される工具37.37、即ち工
具コートTCが共にr1234Jである工具37.37
 (従って、同じ種類の工具37.37)が、両方のタ
レット35.36において所定の加工位置PO8に割り
出される。即ち、両生軸台21.22でこれから行なう
加工に実際に使用する工具37.37は、既に述べたよ
うに、同じ種類の工具37.37であるにも拘らず、刃
物台32側ではタレット35の工具装着位置番号TN○
が「2」である第2工具装着部35bに装着されている
のに対して、刃物台33側ではタレット36の工具装着
位置番号TN○がrlJである第1工具装着部36bに
装着されているので、両生軸台21.22でこれから行
なう加工に使用する工具37.37を、従来のように、
各刃物台32.33のタレット35.36の工具装着位
置番号TN○で指定する場合には。
As a result, the machining process PR whose sequence number SQN in the machining program PRG shown in FIG. 4 is rooIJ
A tool 37.37 that is actually used in the machining instructed in the following machining processes PR2, PR, etc., that is, a tool 37.37 whose tool coat TC is r1234J.
A tool 37.37 (therefore of the same type) is indexed to a predetermined machining position PO8 in both turrets 35.36. That is, although the tools 37.37 that will actually be used for the machining that will be performed on the ambidextrous spindle stock 21.22 are of the same type as mentioned above, the turret 35 on the tool post 32 side is Tool mounting position number TN○
is mounted on the second tool mounting portion 35b whose number is “2”, whereas on the tool rest 33 side, the tool mounting position number TN○ of the turret 36 is mounted on the first tool mounting portion 36b where the tool mounting position number TN○ is rlJ. Therefore, the tools 37 and 37 that will be used for the machining that will be performed from now on the ambidextrous spindle 21 and 22, as before,
When specifying the tool mounting position number TN○ of the turret 35, 36 of each tool post 32, 33.

互いに異なる2個の工具装着位置番号TN○、即ち「2
」とrlJが必要となる(従って、加工プログラムPR
Gも別々に2つ作成する必要がある。
Two different tool mounting position numbers TN○, that is, “2
” and rlJ are required (therefore, the machining program PR
It is also necessary to create two separate Gs.

)。しかし、これ等の工具37.37は、第4図に示す
加工プログラムPRG中で、タレット35゜36の各工
具装着位置番号TN○ではなく「1234」という工具
コートTC1即ち工具37の種類に対応した識別コード
により指定されているので、工具コードTCがr123
4Jである同じ種類の工具37.37が両タレット35
.36で異なる工具装着位置番号TN○を有する工具装
着部35b、36bに装着されている場合でも、1個の
工具コードTC(即ち、r12:34J)で指定するこ
とが出来るので、加工プログラムPRGも1つだけ作成
すれば十分であり、当該共用の加工プログラムPRGに
基づいて、両刃吻合32,33において適正な割り出し
動作を行なうことが可能となる。
). However, these tools 37 and 37 correspond to the tool coat TC1, that is, the type of tool 37, which is "1234" instead of the tool mounting position number TN○ of the turrets 35 and 36 in the machining program PRG shown in FIG. The tool code TC is r123.
4J is the same type of tool 37.37 is on both turrets 35
.. Even if the tool is mounted on the tool mounting parts 35b and 36b having different tool mounting position numbers TN○ in 36, it can be specified with one tool code TC (i.e. r12:34J), so the machining program PRG can also be It is sufficient to create only one program, and it is possible to perform appropriate indexing operations in the double-edged anastomoses 32 and 33 based on the shared machining program PRG.

こうして、両生軸台21.22でこれから行なう加工に
実際に使用する工具37.37(即ち、工具コードTC
が共にrl 234Jである同じ種類の工具37.37
)が両方のタレット35,36において所定の加工位置
PO8に割り出されたところで、公知の手法により、こ
れ等タレット35.36上の加工値1posに割り出さ
れた工具37.37を用いて両生軸台21.22で別々
に同種の加工を行なう。即ち、加工制御部7は、第1主
軸制御部15及び第1刃物台制御部17並びに第2主軸
制御部16及び第2刃物台制御部19に対して、第3図
に示す刃物台32に関する工具データファイルTDF1
中の工具コードTCが「1234Jである工具37の第
12ツールセツト値ZTLI (即ち、r−200J)
及び第12ツールセツト値ZTLI (即ち、r−30
0,4J )並びに刃物台33に関する工具データファ
イルTDF、中の工具コードTCがr1234Jである
工具37の第2Xツールセツト値XTL2 (即ち。
In this way, the tool 37.37 (i.e. tool code TC
are both rl 234J tools 37.37 of the same type
) has been determined to a predetermined machining position PO8 on both turrets 35, 36, using a known method, the two turrets 35, 36 are used with tools 37, 37 that are determined to have a machining value of 1pos. The same type of machining is performed separately on the spindles 21 and 22. That is, the machining control section 7 controls the first spindle control section 15 and the first tool post control section 17, as well as the second spindle control section 16 and the second tool post control section 19, regarding the tool post 32 shown in FIG. Tool data file TDF1
The 12th tool set value ZTLI of tool 37 whose tool code TC is "1234J" (i.e. r-200J)
and the twelfth toolset value ZTLI (i.e. r-30
0,4J) and the second X tool set value XTL2 of the tool 37 whose tool code TC in the tool data file TDF regarding the tool post 33 is r1234J (i.e.

r−203J)及び第2Zツー)Ltセット値ZTL2
(即ち、r−3ox、IJ )を考慮した形で、前記加
工プログラムPRG中の各加工プロセスPRよ、PR,
、PR,等で指示された動作指令COMに基づく指令を
シーケンス番号SQNの小さい順番に適宜出力して、両
方の主軸台21.22において前記各タレット35.3
6上の加工位置P○Sに割り出された工具37.37に
より所定の加工をそれぞれ実行していく。
r-203J) and 2nd Z2) Lt set value ZTL2
(i.e. r-3ox, IJ), each machining process PR in the machining program PRG, PR,
, PR, etc., are outputted as appropriate in order of decreasing sequence number SQN to each of the turrets 35.3 in both headstocks 21.22.
Predetermined machining is performed using the tools 37 and 37 determined at the machining position P○S on 6.

即ち、ワーク主軸23に装着されたワーク26Aに対す
る加工に関しては、第1主軸制御部15は、主軸台駆動
モータ30を駆動してボールネジ27を介して主軸台2
1を2□軸方向、即ち第1図矢印A、B方向に移動させ
ると共に、第1刃物台制御部17は、刃物台能動モータ
39を駆動してボールネジ41を介して刃物台32をX
□軸方向、即ち矢印C1D方向に移動させて、前記加工
プログラムPRG中の工具コードTCに基づいて刃物台
32のタレット35上の加工値1PO5に割り出された
工具37により、ワーク主軸23に装着されたワーク2
6Aに対して該加工プログラムPRGに基づく所定の加
工を行なう。この際。
That is, regarding machining of the workpiece 26A mounted on the workpiece spindle 23, the first spindle control section 15 drives the headstock drive motor 30 to control the workpiece 26A via the ball screw 27.
1 in the 2□ axis direction, that is, in the directions of arrows A and B in FIG.
□Move in the axial direction, that is, in the direction of arrow C1D, and attach it to the workpiece spindle 23 by the tool 37 that is indexed to the machining value 1PO5 on the turret 35 of the tool post 32 based on the tool code TC in the machining program PRG. completed work 2
A predetermined process is performed on 6A based on the process program PRG. On this occasion.

主軸台21の矢印A、B方向の移動量は、主軸台駆動モ
ータ30のトランスデユーサ30aを介して常時検知さ
れ、第1主軸制御部15にフィードバックされるので、
主軸台21の移動動作は、加工プログラムPRG通りに
行なわれる。また、刃物台32の矢印C,D方向の移動
量は、刃物台駆動モータ39のトランスデユーサ39a
を介して常時検知され、第1刃物台制御部17にフィー
ドバックされるので、刃物台32の移動動作は、加工プ
ログラムPRG通りに行なわれる。
The amount of movement of the headstock 21 in the directions of arrows A and B is constantly detected via the transducer 30a of the headstock drive motor 30 and fed back to the first spindle control section 15.
The movement of the headstock 21 is performed according to the machining program PRG. Further, the amount of movement of the tool post 32 in the directions of arrows C and D is determined by the transducer 39a of the tool post drive motor 39.
The movement of the tool rest 32 is performed according to the machining program PRG because it is constantly detected via the tool post and fed back to the first tool post control section 17.

一方、ワーク主軸25に装着されたワーク26□に対し
ても、同一の加工プログラムPRGに基づいて同様の加
工が行なわれる。即ち、第2主軸制御部16は、主軸台
駆動モータ31を駆動してボールネジ29を介して主軸
台22を22軸方向、即ち第1図矢印A、B方向に移動
させると共に、第2刃物台制御部19は、刃物台能動モ
ータ40を駆動してボールネジ42を介して刃物台33
をX2軸方向、即ち矢印C,D方向に移動させて、前記
加工プログラムPRG中の工具コードTCに基づいて刃
物台33のタレット36上の加工位置PO8に割り出さ
れた工具37により、ワーク主軸25に装着されたワー
ク2G、に対して該加工プログラムPRGに基づく所定
の加工を行なう。この際、主軸台駆動モータ31及び刃
物台駆動モータ40にはそれぞれトランスデユーサ31
a及び40aが設けられているので、主軸台22の矢印
A、B方向の移動動作及び刃物台33の矢印C,D方向
の移動動作は、加工プログラムPRG通りに行なわれる
。なお、各タレット35.36上の加工位置PO8に割
り出された工具37゜37が、第1図に示すように、共
に上向きにセットされている場合には、加工制御部7が
適宜判断して、主軸台21側のワーク主軸23を矢印N
方向に、主軸台22側のワーク主軸25を矢印M方向に
それぞれ回転させることが出来るので、ワーク主軸23
に装着されたワーク26A及びワーク主軸25に装着さ
れた26.Bに対する加工は、各工具37の向きに対応
した形で適正に行なわれる。
On the other hand, the workpiece 26□ mounted on the workpiece spindle 25 is similarly machined based on the same machining program PRG. That is, the second spindle control section 16 drives the headstock drive motor 31 to move the headstock 22 through the ball screw 29 in the 22-axis direction, that is, in the directions of arrows A and B in FIG. The control unit 19 drives the tool post active motor 40 to control the tool post 33 via the ball screw 42.
is moved in the X2-axis direction, that is, in the arrow C and D directions, and the workpiece spindle is moved by the tool 37 indexed to the machining position PO8 on the turret 36 of the tool post 33 based on the tool code TC in the machining program PRG. A predetermined process is performed on the workpiece 2G mounted on the workpiece 25 based on the process program PRG. At this time, the headstock drive motor 31 and the tool post drive motor 40 each have a transducer 31
a and 40a, the movement of the headstock 22 in the directions of arrows A and B and the movement of the tool post 33 in the directions of arrows C and D are performed according to the machining program PRG. Note that when the tools 37° 37 indexed to the machining position PO8 on each turret 35, 36 are both set upward as shown in FIG. , move the work spindle 23 on the headstock 21 side in the direction of arrow N.
The workpiece spindle 25 on the headstock 22 side can be rotated in the direction of the arrow M, so that the workpiece spindle 23 can be rotated in the direction of the arrow M.
The workpiece 26A mounted on the workpiece 26A and the workpiece 26A mounted on the workpiece spindle 25. Machining for B is performed appropriately in a manner corresponding to the orientation of each tool 37.

こうして、第4図に示す加工プログラムPRGの実行が
両生軸台21.22において終了すると、ワーク主軸2
3に装着されたワーク26Aの外周部及びワーク主軸2
5に装着されたワーク26Bの外周部に対して、加工プ
ログラムPRGに基づく所定の旋削加工動作が終了し、
その結果、第1図破線で示すように、両生軸台21.2
2において同一形状のワーク26A、26!lの加工が
完了する。該加工の完了後、これ等加工済みワーク26
A、26Bを主軸台21.22から取り外し。
In this way, when the execution of the machining program PRG shown in FIG.
The outer periphery of the workpiece 26A mounted on the workpiece 26A and the workpiece spindle 2
A predetermined turning operation based on the machining program PRG is completed on the outer circumference of the workpiece 26B mounted on the
As a result, as shown by the broken line in FIG.
Works 26A, 26! of the same shape in 2! The processing of l is completed. After the processing is completed, these processed workpieces 26
Remove A and 26B from the headstock 21.22.

次に加工すべきワーク26.26を主軸台21゜22に
装着し、同様の手順により、これ等のワーク26.26
に対して共用の加工プログラムPRGに基づく旋削加工
をそれぞれ行なっていく。
Next, the workpieces 26.26 to be machined are mounted on the headstock 21°22, and the workpieces 26.26
Turning processing is performed on each of them based on a common processing program PRG.

なお、上述の実施例においては、第1図に示すように2
両方の主軸台21.22が2軸方向(矢印A、B方向)
に移動し、両方の刃物台32゜33がX軸方向(矢印C
,D方向)に移動する複合加工工作機械1について述へ
たが、本発明は、複数台の主軸台21.22及び、該主
軸台21゜22と同数の刃物台32.33を有する工作
機械である限り、どのようなタイプの工作機械に対して
も適用可能である。例えば、2台の主軸台が固定されて
おり、2台の刃物台が共にX及びZ軸方向に移動する対
向主軸旋盤や、2台の主軸台の内、1台が固定されてお
り、それに対応する刃物台がX及びZ軸方向に移動する
対向主軸旋盤に本発明を適用することも勿論可能である
In addition, in the above-mentioned embodiment, as shown in FIG.
Both headstocks 21 and 22 are in two-axis directions (arrows A and B directions)
, and both turrets 32 and 33 move in the X-axis direction (arrow C
, D directions), the present invention is a machine tool having a plurality of headstocks 21, 22 and the same number of tool rests 32, 33 as the headstocks 21, 22. It can be applied to any type of machine tool as long as it is. For example, there is an opposed spindle lathe in which two headstocks are fixed and both tool rests move in the X and Z axis directions, and one in which one of the two headstocks is fixed and Of course, it is also possible to apply the present invention to opposed spindle lathes in which the corresponding tool rests move in the X and Z axis directions.

(g)1発明の詳細 な説明したように、本発明によれば、互いに相対向する
形で設けられた2台の主軸台21゜22を有し、これ等
主軸台2工、22に、ワーク26を保持し得るワーク主
軸23.25を回転自在にそれぞれ設け、刃物台32.
33を前記各主軸台21.22に対応する形でそれぞれ
設け、これ等刃物台32.33に、工具37を装着し得
る複数個の工具装着部35b、36bを有するタレット
35.36を割り出し自在にそれぞれ設けた複合加工工
作機械1等の工作機械において、ワーク26の加工に使
用する可能性のある工具37を前記各タレット35.3
6の工具装着部35b、36bに装着すると共に、これ
等工具37に関して、工具コードTC等の工具37の種
類を示す識別コードと該工具37が装着された前記各タ
レット35.36の工具装着部35b、36bとの対応
を示す工具データファイルTDF等の対応ファイルを格
納しておき、前記各タレットの工具装着部35b、36
bに装着された工具37の内、ワーク26の加工に実際
に使用する工具37を加工プログラムPRG中で前記識
別コードにより指定しておき、前記各主軸台21.22
のワーク主軸23.25にそれぞれ保持された同じ種類
のワーク26に対して前記加工プログラムPRGに基づ
く加工を行なう際には、前記加工プログラムPRGに示
された加工に使用する工具37に対応した識別コートを
読み出し、該読み出された識別コードに基づいて前記対
応ファイルを参照して前記読み出された識別コードに対
応する工具37の各タレット35.36における工具装
着部35b、36bを判定し、前記判定された各タレッ
ト35゜36の工具装着部35b、36bを所定の加工
位置PO5にそれぞれ割り出すことにより、同し種類の
工具37を前記加工位置PO3に位N快めし、次いで、
これ等位置決めされた工具37により前記加工プログラ
ムPRGに基づいて前記両ワーク主軸23.25に保持
された同じ種類のワーク26に対して加工を行なうよう
にして構成したので、各主軸台21.22における同じ
種類のワーク26の加工に実際に使用する同じ種類の工
具37は、当該工具37が装着されたタレット35.3
6の工具装着部35b、36bとは無関係に、工具37
の種類に対応した同一の工具コードTCにより選定され
、各タレット35.36上の加工位置PO8にそれぞれ
割り出された後、両生軸台21、22における加工に使
用されることから1両主軸台21.22における同じ種
類のワーク26の加工を1つの共用の加工プログラムP
RGに基づいて行なうことが可能となる。
(g) As described in detail of the first invention, according to the present invention, there are two headstocks 21 and 22 provided facing each other, and these headstocks 2 and 22 have the following features: Workpiece spindles 23, 25 capable of holding a workpiece 26 are rotatably provided, respectively, and a tool rest 32.25 is provided.
A turret 35.36 having a plurality of tool mounting portions 35b, 36b on which a tool 37 can be mounted can be freely indexed to the tool rest 32.33. In a machine tool such as a multi-tasking machine tool 1 installed in each of the turrets 35.
6, and an identification code indicating the type of the tool 37, such as a tool code TC, and a tool mounting portion of each of the turrets 35 and 36 to which the tool 37 is mounted. A corresponding file such as a tool data file TDF indicating the correspondence with the tool mounting portions 35b and 36b of each turret is stored.
Among the tools 37 installed in the headstock 21, 22, the tool 37 actually used for machining the workpiece 26 is designated by the identification code in the machining program PRG.
When performing machining based on the machining program PRG on the same type of workpieces 26 held on the workpiece spindles 23 and 25 of reading the coat, and determining the tool mounting portions 35b, 36b in each turret 35, 36 of the tool 37 corresponding to the read identification code by referring to the corresponding file based on the read identification code; By determining the tool mounting portions 35b and 36b of each of the determined turrets 35 and 36 to a predetermined machining position PO5, the same type of tool 37 is placed in the machining position PO3, and then,
Since these positioned tools 37 are configured to machine the same type of work 26 held by both work spindles 23.25 based on the machining program PRG, each work head 21.25 The same type of tool 37 actually used for machining the same type of workpiece 26 is the turret 35.3 on which the tool 37 is attached.
6, the tool 37
The same tool code TC corresponding to the type is selected, and after being indexed to the machining position PO8 on each turret 35 and 36, it is used for machining on the double headstocks 21 and 22, so one double headstock is selected. 21. Machining of the same type of workpiece 26 in 22 is performed using one shared machining program P.
This can be done based on RG.

従って、使用する主軸台21.22は違っても加工内容
が同一であれば加工プログラムPRGを1つだけ作成す
ればよく、しかも加工プログラムPRGを作成する際に
、ワーク26の加工に実際に使用する工具37がタレッ
ト35.36のどの工具装着部35b、36bに装着さ
れているかを意識する必要がないので、加工プログラム
PRGの作成に掛かる手間を大幅に省くと共に、加工プ
ログラムPRGのメモリ領域を効率的に使用することが
可能となる。
Therefore, even if the headstocks 21 and 22 used are different, if the machining contents are the same, only one machining program PRG needs to be created. Since there is no need to be aware of which tool mounting section 35b, 36b of the turret 35, 36 the tool 37 is attached to, the time and effort required to create a machining program PRG can be greatly reduced, and the memory area of the machining program PRG can be saved. It becomes possible to use it efficiently.

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

第1図は本発明による工作機械における加工制御方法の
一実施例が適用された複合加工工作機械の一例を示す制
御ブロック図。 第2図は第1図に示す複合加工工作機械のタレット部分
の斜視図、 第3図は工具データファイルの一例を示す模式図。 第4図は加工プログラムの一例を示す模式図である。 1・・・・・・工作機械(複合加工工作機械)2工、2
2・・・・・・主軸台 23.25・・・・・・ワーク主軸 26・・・・・・ワーク 32.33・・・・・・刃物台 35.36・・・・・・タレット 35b、36b・・・・・・工具装着部37・・・・・
・工具 pos・・・・・・加工位置 PRG・・・・・・加工プログラム TC・・・・・・識別コード(工具コード)TDF・・
・・・・対応ファイル (工具データファイル)
FIG. 1 is a control block diagram showing an example of a multi-tasking machine tool to which an embodiment of the machining control method for a machine tool according to the present invention is applied. FIG. 2 is a perspective view of the turret part of the multitasking machine tool shown in FIG. 1, and FIG. 3 is a schematic diagram showing an example of a tool data file. FIG. 4 is a schematic diagram showing an example of a machining program. 1...Machine tool (complex processing machine tool) 2nd, 2
2... Headstock 23.25... Workpiece spindle 26... Workpiece 32.33... Turret 35.36... Turret 35b , 36b... Tool mounting part 37...
・Tool pos... Machining position PRG... Machining program TC... Identification code (tool code) TDF...
...Corresponding file (tool data file)

Claims (1)

【特許請求の範囲】 互いに相対向する形で設けられた2台の主 軸台を有し、 これ等主軸台に、ワークを保持し得るワー ク主軸を回転自在にそれぞれ設け、 刃物台を前記各主軸台に対応する形でそれ ぞれ設け、 これ等刃物台に、工具を装着し得る複数個 の工具装着部を有するタレットを割り出し自在にそれぞ
れ設けた工作機械において、 ワークの加工に使用する可能性のある工具 を前記各タレットの工具装着部に装着すると共に、 これ等工具に関して、工具の種類を示す識 別コードと該工具が装着された前記各タレットの工具装
着部との対応を示す対応ファイルを格納しておき、 前記各タレットの工具装着部に装着された 工具の内、ワークの加工に実際に使用する工具を加工プ
ログラム中で前記識別コードにより指定しておき、 前記各主軸台のワーク主軸にそれぞれ保持 された同じ種類のワークに対して前記加工プログラムに
基づく加工を行なう際には、 前記加工プログラムに示された加工に使用 する工具に対応した識別コードを読み出し、該読み出さ
れた識別コードに基づいて前記 対応ファイルを参照して前記読み出された識別コードに
対応する工具の各タレットにおける工具装着部を判定し
、 前記判定された各タレットの工具装着部を 所定の加工位置にそれぞれ割り出すことにより、同じ種
類の工具を前記加工位置に位置決めし、次いで、これ等
位置決めされた工具により 前記加工プログラムに基づいて前記両ワーク主軸に保持
された同じ種類のワークに対して加工を行なうようにし
て構成した工作機械における加工制御方法。
[Scope of Claims] Two headstocks are provided facing each other, each of these headstocks is rotatably provided with a workpiece spindle that can hold a workpiece, and a tool rest is attached to each of the spindles. In machine tools, each of which has a turret that can be freely indexed and has a plurality of tool mounting parts on which tools can be mounted, may be used for machining workpieces. Attach the tools to the tool mounting portions of each of the turrets, and store, for these tools, a correspondence file indicating the correspondence between an identification code indicating the type of the tool and the tool mounting portion of each of the turrets to which the tool is mounted. Among the tools mounted on the tool mounting portion of each of the turrets, the tool actually used for machining the workpiece is specified in the machining program by the identification code, and is attached to the workpiece spindle of each headstock. When performing machining based on the machining program on the same type of work held, read the identification code corresponding to the tool used for machining indicated in the machining program, and apply the read identification code to the tool. determining the tool mounting portion of each turret of the tool corresponding to the read identification code by referring to the corresponding file based on the identification code, and determining the tool mounting portion of each of the determined turrets to a predetermined machining position. The same type of tools are positioned at the machining position, and then the same type of workpieces held by the two workpiece spindles are machined using these positioned tools based on the machining program. Machining control method for configured machine tools.
JP6633490A 1990-03-16 1990-03-16 Processing control method for machine tool Pending JPH03270848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6633490A JPH03270848A (en) 1990-03-16 1990-03-16 Processing control method for machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6633490A JPH03270848A (en) 1990-03-16 1990-03-16 Processing control method for machine tool

Publications (1)

Publication Number Publication Date
JPH03270848A true JPH03270848A (en) 1991-12-03

Family

ID=13312852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6633490A Pending JPH03270848A (en) 1990-03-16 1990-03-16 Processing control method for machine tool

Country Status (1)

Country Link
JP (1) JPH03270848A (en)

Similar Documents

Publication Publication Date Title
JPH0321299B2 (en)
JPS58155101A (en) Tool selection control in four-axis numerical control lathe
US4604705A (en) Numerical control machining method and system therefor
JPH028855B2 (en)
JPS5877424A (en) Tool selective control method for machining center
JP2002079409A (en) Method of machining workpiece using composite tool
JPH046001B2 (en)
US20020117021A1 (en) Control apparatus for cutting machine and method of indication
JP2002079438A (en) Service life controlling method for composite tool
JP2002079401A (en) Composite working machine tool
JPH03270848A (en) Processing control method for machine tool
JPH0716805B2 (en) Numerical control compound lathe
JP3886237B2 (en) Machine Tools
JPH04129645A (en) Simultaneous processing method for numerical control lathe
JP2882534B2 (en) Turning center tool calling device Built-in numerical controller
JP2850143B2 (en) Machining control method for machine tools
JPH06218645A (en) Automatic tool change control and device therefor
JPH0146263B2 (en)
JP3226459B2 (en) Turret indexing control device for lathe
JP3120263B2 (en) Machining program creation method for facing spindle lathe
JP3342589B2 (en) Machining method using NC lathe and method for creating machining program
JPH05158515A (en) Offset correcting method for nc cutting machine with tool turning shaft
JPH0469131A (en) Machining supporting method for third tool rest of numerically controlled lathe and controller therefor
JPH04131909A (en) Setting method for machining coordinate system of numerically controlled combination lathe
JPS61241043A (en) Creation system of machining data