Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7791985B2 - machine tools - Google Patents
[go: Go Back, main page]

JP7791985B2 - machine tools - Google Patents

machine tools

Info

Publication number
JP7791985B2
JP7791985B2 JP2024508878A JP2024508878A JP7791985B2 JP 7791985 B2 JP7791985 B2 JP 7791985B2 JP 2024508878 A JP2024508878 A JP 2024508878A JP 2024508878 A JP2024508878 A JP 2024508878A JP 7791985 B2 JP7791985 B2 JP 7791985B2
Authority
JP
Japan
Prior art keywords
workpiece
contact detection
robot
control device
machining
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.)
Active
Application number
JP2024508878A
Other languages
Japanese (ja)
Other versions
JPWO2023181156A1 (en
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Publication of JPWO2023181156A1 publication Critical patent/JPWO2023181156A1/ja
Application granted granted Critical
Publication of JP7791985B2 publication Critical patent/JP7791985B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q7/00Arrangements for handling work specially combined with or arranged in, or specially adapted for use in connection with, machine tools, e.g. for conveying, loading, positioning, discharging, sorting
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q7/00Arrangements for handling work specially combined with or arranged in, or specially adapted for use in connection with, machine tools, e.g. for conveying, loading, positioning, discharging, sorting
    • B23Q7/04Arrangements for handling work specially combined with or arranged in, or specially adapted for use in connection with, machine tools, e.g. for conveying, loading, positioning, discharging, sorting by means of grippers

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Numerical Control (AREA)
  • Feeding Of Workpieces (AREA)

Description

本開示は、ロボットと相手装置との間でワークの受け渡しを行なう受渡位置を設定する技術に関するものである。 This disclosure relates to a technology for setting a transfer position for transferring work between a robot and a partner device.

従来、ワークの受け渡しを行う受渡位置を設定する技術について種々提案されている。例えば、下記特許文献1には、置台との間でワークの受け渡しを実行する産業ロボットについて記載されている。産業ロボットは、多関節ロボットであり、置台に配置されたワークをハンドによって把持して搬送する。置台には、ワークの長さを測定するワーク測定センサが設けられている。産業ロボットは、ワーク測定センサの測定信号を入力し、ワークの長手方向の中心位置を演算し、ハンドによる把持位置を演算した値に基づいて設定する。 Various technologies have been proposed for setting the transfer position for workpieces. For example, Patent Document 1 below describes an industrial robot that transfers workpieces between a table and itself. The industrial robot is an articulated robot that uses its hands to grasp and transport workpieces placed on the table. The table is equipped with a work measurement sensor that measures the length of the workpiece. The industrial robot inputs the measurement signal from the work measurement sensor, calculates the longitudinal center position of the workpiece, and sets the gripping position of the hand based on the calculated value.

特開平02-243285号公報Japanese Patent Application Publication No. 02-243285

また、上記したワークをロボットに受け取る際だけでなく、ワークをロボットから置台などの相手装置に受け渡す場合にもロボットの位置調整が必要となる。そして、ロボットや相手装置の部品の組み付け精度の誤差などに起因して、ワークの受け渡し制御において受け渡しを精度良く実行できなくなる虞がある。上記した産業ロボットの技術では、ワークを受け取る相手装置のそれぞれにワーク測定センサを設ける必要があり、装置全体が複雑化する虞があった。 In addition, adjustment of the robot's position is required not only when the robot receives the workpiece, but also when transferring the workpiece from the robot to a partner device such as a stand. Furthermore, there is a risk that the workpiece transfer control will not be able to execute with precision due to errors in the assembly accuracy of parts on the robot and the partner device. The industrial robot technology described above requires that a workpiece measurement sensor be installed on each partner device that receives the workpiece, which could complicate the entire system.

本開示は、上記の課題に鑑みてなされたものであり、装置の構造の簡素化を図りつつ、相手装置にワークを受け渡す受渡位置を測定結果に基づいて設定できる工作機械を提供することを目的とする。 This disclosure has been made in consideration of the above-mentioned problems, and aims to provide a machine tool that can set the transfer position for handing over the workpiece to the other device based on measurement results while simplifying the device structure.

上記課題を解決するために、本明細書は、接触検出装置と、保持部材を有し、前記保持部材によりワークを保持し前記ワークを搬送するロボットと、前記ロボットから前記ワークを受け取る相手装置と、制御装置と、を備え、前記接触検出装置は、接触に応じた接触検出信号を前記制御装置へ出力し、前記制御装置は、前記ロボットを制御し前記接触検出装置を前記相手装置に接触させ、前記相手装置との接触を検出した際の前記接触検出信号を前記接触検出装置から取得し、前記接触検出信号の取得に基づいて接触時の前記ロボットの位置を基準位置として設定する基準位置設定処理と、前記ワークの長さを入力値として取得し、取得した前記入力値と前記基準位置とに基づいて、前記入力値の長さの前記ワークを前記ロボットから前記相手装置へ受け渡す際の前記ロボットの位置である受渡位置を設定する位置設定処理と、を実行し、前記接触検出装置は、前記ロボットの前記保持部材により保持された状態で、前記接触検出信号を無線通信により前記制御装置へ送信するタッチプローブであり、前記制御装置前記基準位置設定処理において、前記相手装置に前記接触検出装置を接触させた際に前記接触検出装置から前記接触検出信号が出力されるタイミングにおける前記ロボットの位置に基づいて前記基準位置を設定する、工作機械を開示する。 In order to solve the above-mentioned problems, this specification provides a robot including a contact detection device, a robot having a holding member and holding a workpiece with the holding member and transporting the workpiece, a counterpart device that receives the workpiece from the robot, and a control device, wherein the contact detection device outputs a contact detection signal in response to contact to the control device, the control device controls the robot to bring the contact detection device into contact with the counterpart device, acquires the contact detection signal from the contact detection device when contact with the counterpart device is detected, and performs a reference position setting process that sets the position of the robot at the time of contact as a reference position based on the acquisition of the contact detection signal, and a control device that takes the length of the workpiece as an input value. and executing a position setting process that sets a transfer position, which is a position of the robot when the workpiece having a length of the input value is transferred from the robot to the counterpart device, based on the acquired input value and the reference position, wherein the contact detection device is a touch probe that transmits the contact detection signal to the control device by wireless communication while being held by the holding member of the robot, and the control device sets the reference position based on the position of the robot at the timing when the contact detection device is brought into contact with the counterpart device and the contact detection signal is output from the contact detection device .

また、本明細書は、保持部材を有し、前記保持部材によりワークを保持し前記ワークを搬送するロボットと、前記ロボットから前記ワークを受け取る相手装置と、制御装置と、を備え、前記ロボットは、前記保持部材により接触検出装置を保持可能であり、前記接触検出装置は、接触に応じた接触検出信号を前記制御装置へ出力し、前記制御装置は、前記ロボットの前記保持部材により前記接触検出装置を保持させた状態で前記ロボットを移動させ、前記接触検出装置を前記相手装置に接触させ、前記相手装置との接触を検出した際の前記接触検出信号を前記接触検出装置から取得し、前記接触検出信号の取得に基づいて接触時の前記ロボットの位置を基準位置として設定する基準位置設定処理と、前記ワークの長さを入力値として取得し、取得した前記入力値と前記基準位置とに基づいて、前記入力値の長さの前記ワークを前記ロボットから前記相手装置へ受け渡す際の前記ロボットの位置である受渡位置を設定する位置設定処理と、を実行し、前記接触検出装置は、前記ロボットの前記保持部材により保持された状態で、前記接触検出信号を無線通信により前記制御装置へ送信するタッチプローブであり、前記制御装置前記基準位置設定処理において、前記相手装置に前記接触検出装置を接触させた際に前記接触検出装置から前記接触検出信号が出力されるタイミングにおける前記ロボットの位置に基づいて前記基準位置を設定する、工作機械を開示する。 The present specification also provides a reference position control system for a robot having a holding member, which holds a workpiece with the holding member and transports the workpiece, a counterpart device that receives the workpiece from the robot, and a control device, wherein the robot is capable of holding a contact detection device with the holding member, the contact detection device outputs a contact detection signal in response to contact to the control device, the control device moves the robot with the contact detection device held by the holding member of the robot, brings the contact detection device into contact with the counterpart device, acquires the contact detection signal from the contact detection device when contact with the counterpart device is detected, and sets the position of the robot at the time of contact as a reference position based on the acquired contact detection signal. A machine tool is disclosed that executes a position setting process, and a position setting process that acquires the length of the workpiece as an input value and sets a transfer position, which is the position of the robot when transferring the workpiece of the length of the input value from the robot to the counterpart device, based on the acquired input value and the reference position, wherein the contact detection device is a touch probe that transmits the contact detection signal to the control device by wireless communication while held by the holding member of the robot, and the control device sets the reference position based on the position of the robot at the time when the contact detection signal is output from the contact detection device when the contact detection device is brought into contact with the counterpart device in the reference position setting process .

本開示の工作機械によれば、ロボットの接触検出装置と相手装置を接触させ、接触時の接触検出信号に基づいてロボットの基準位置を設定する。これにより、ロボットや相手装置の部品の組み付け精度の誤差を加味した基準位置を設定することができる。そして、制御装置は、ワークの長さを示す入力値と基準位置とに基づいて、ワークをロボットから相手装置へ受け渡す際の受渡位置を設定する。これにより、相手装置にセンサ等を設ける必要がなく、装置全体の簡素化を図りつつ、受渡位置を測定結果に基づいて精度良く設定できる。 With the machine tool disclosed herein, the robot's contact detection device is brought into contact with a mating device, and the robot's reference position is set based on the contact detection signal generated at the time of contact. This makes it possible to set a reference position that takes into account errors in the assembly accuracy of parts on the robot and mating device. The control device then sets the transfer position when transferring the workpiece from the robot to the mating device based on an input value indicating the workpiece's length and the reference position. This eliminates the need to install sensors or the like on the mating device, simplifying the entire device while allowing the transfer position to be set with high accuracy based on measurement results.

本実施例に係わる工作機械の正面図。FIG. 1 is a front view of a machine tool according to an embodiment of the present invention. 工作機械のブロック図。Block diagram of a machine tool. 工作機械の装置カバーを取り外した本体部分を示す斜視図。FIG. 2 is a perspective view showing a main body of the machine tool with the device cover removed. 図3の状態における工作機械の右側面図。FIG. 4 is a right side view of the machine tool in the state shown in FIG. 3 . 昇降アーム及びヘッドの斜視図。FIG. 基準位置設定時及びワーク受け渡し時における左側主軸装置とヘッドの状態を示す図。10A and 10B are diagrams showing the state of the left spindle device and the head when setting the reference position and when transferring the workpiece. 操作盤の受付画面を示す図。FIG. 10 is a diagram showing a reception screen of the operation panel. 基準位置設定時及びワーク受け渡し時におけるストッカ装置とヘッドの状態を示す図。10A and 10B are diagrams showing the state of the stocker device and the head when the reference position is set and when the workpiece is transferred.

以下、本開示の工作機械を具体化した一実施例について、図を参照しつつ詳しく説明する。図1は、本実施例の工作機械1の正面図を示している。図2は、工作機械1のブロック図を示している。図3は、工作機械1の装置カバー2(図1参照)を取り外した本体部分の斜視図を示している。以下の説明では、図1に示すように、工作機械1を正面から見た方向を基準として、機械幅方向であって装置の設置面に水平な方向における右方向をZ方向、装置の設置面に平行でZ方向に垂直な前方向をY方向、Z方向及びY方向に垂直な上方向をX方向と称して説明する。また、以下の説明では、概ね、工作機械1の左側に配置された装置に関する符号に「L」の文字を、右側に配置された装置に関する符号に「R」の文字を付加する。 An embodiment of the machine tool disclosed herein will be described in detail below with reference to the drawings. FIG. 1 shows a front view of the machine tool 1 of this embodiment. FIG. 2 shows a block diagram of the machine tool 1. FIG. 3 shows a perspective view of the main body of the machine tool 1 with the equipment cover 2 (see FIG. 1) removed. In the following description, the direction of the machine tool 1 viewed from the front, as shown in FIG. 1, will be used as the reference, and the rightward direction in the machine width direction and parallel to the equipment installation surface will be referred to as the Z direction, the forward direction parallel to the equipment installation surface and perpendicular to the Z direction will be referred to as the Y direction, and the upward direction perpendicular to the Z direction and Y direction will be referred to as the X direction. Furthermore, in the following description, the letter "L" will generally be added to the reference numerals for equipment located on the left side of the machine tool 1, and the letter "R" will be added to the reference numerals for equipment located on the right side.

(工作機械1の構成)
図1及び図2に示すように、工作機械1は、前面を装置カバー2によって覆われており、機械正面には可動式の操作盤3が設けられている。操作盤3は、装置カバー2の前面における右下に設けられたレール6に沿って、装置前面の中央から右端までZ方向へ移動可能となっている。装置カバー2は、工作機械1の左側に左側正面扉5Lが設けられ、右側に右側正面扉5Rが設けられている。左側及び右側正面扉5L,5Rは、例えば、スライド扉であり、扉を開けることで、扉の後方の加工スペースにアクセス可能となっている。
(Configuration of machine tool 1)
1 and 2, the front of machine tool 1 is covered by equipment cover 2, and a movable operation panel 3 is provided on the front of the machine. The operation panel 3 is movable in the Z direction from the center of the front of the machine to the right edge along a rail 6 provided on the lower right of the front of equipment cover 2. The equipment cover 2 is provided with a left front door 5L on the left side of the machine tool 1 and a right front door 5R on the right side. The left and right front doors 5L, 5R are, for example, sliding doors, and opening the doors allows access to the machining space behind the doors.

図1~図3に示すように、工作機械1は、操作盤3の他に、左側加工装置11L、右側加工装置11R、ストッカ装置9、ワーク搬送装置14、制御装置15を備えている。左側正面扉5Lの後方には、左側加工装置11Lの加工スペースが設けられている。左側加工装置11Lは、例えば、タレット型の旋盤であり、左側主軸装置12Lと、左側タレット13Lを備えている。左側主軸装置12Lは、例えば、ワークをチャックする複数の子爪を備え、複数の子爪によってワークを把持し、Z方向と平行な主軸を中心にワークを回転させる。左側タレット13Lは、複数の工具(回転工具や切削工具)を取り付け可能な刃物台を有し、工具の割り出しを実行する。左側タレット13Lは、割り出した工具によって左側主軸装置12Lに把持されたワークに対する加工(切削加工や穴開け加工など)を実行する。ユーザは、左側正面扉5Lを介してワークの加工状態の確認や劣化した工具の交換などを実行する。As shown in Figures 1 to 3, the machine tool 1 includes a control panel 3, a left-side machining device 11L, a right-side machining device 11R, a stocker device 9, a workpiece transport device 14, and a control device 15. A machining space for the left-side machining device 11L is provided behind the left-side front door 5L. The left-side machining device 11L is, for example, a turret-type lathe, and includes a left-side spindle unit 12L and a left-side turret 13L. The left-side spindle unit 12L, for example, includes multiple sub-jaws for chucking a workpiece. The multiple sub-jaws grip the workpiece and rotate the workpiece around a spindle parallel to the Z direction. The left-side turret 13L has a tool post to which multiple tools (rotary tools and cutting tools) can be attached, and performs tool indexing. The left-side turret 13L performs machining (such as cutting or drilling) on the workpiece held by the left-side spindle unit 12L using the indexed tools. A user can check the machining status of the workpiece and replace worn tools through the left-side front door 5L.

右側加工装置11Rは、主軸(装置)の向きを除いて、左側加工装置11Lと同一の構成となっている。このため、右側加工装置11Rの説明において左側加工装置11Lと同様の内容についての説明を省略する。右側正面扉5Rの後方には、右側加工装置11Rの右側主軸装置12R及び右側タレット13Rの加工スペースが設けられている。右側主軸装置12Rの主軸は、Z方向と平行であり、左側加工装置11Lの左側主軸装置12Lの主軸と左右方向で対向している(向き合っている)。従って、左側及び右側加工装置11L,11Rは、左右対称に配置された所謂、対向2軸型の旋盤である。尚、左側及び右側加工装置11L,11Rは、左右対称な構成でなくとも良い。また、右側加工装置11Rは、左側加工装置11Lと同一構成でなくとも良い。例えば、左側加工装置11L及び右側加工装置11Rの少なくとも一方が、マシニングセンタなどの他の種類の加工装置でも良い。 The right-side machining unit 11R has the same configuration as the left-side machining unit 11L, except for the orientation of the spindle (unit). Therefore, the description of the right-side machining unit 11R will omit the same details as the left-side machining unit 11L. Behind the right-side front door 5R, a machining space for the right-side spindle unit 12R and right-side turret 13R of the right-side machining unit 11R is provided. The spindle of the right-side spindle unit 12R is parallel to the Z direction and opposes (faces) the spindle of the left-side spindle unit 12L of the left-side machining unit 11L in the left-right direction. Therefore, the left-side and right-side machining units 11L, 11R are arranged symmetrically, forming a so-called opposed two-spindle lathe. The left-side and right-side machining units 11L, 11R do not have to be symmetrical. Furthermore, the right-side machining unit 11R does not have to have the same configuration as the left-side machining unit 11L. For example, at least one of the left-side processing device 11L and the right-side processing device 11R may be another type of processing device such as a machining center.

また、工作機械1は、NC旋盤とマシニングセンタの両方の機能を備えた複合加工機である。図4は、図3の状態における工作機械1の右側面図である。図2~図4に示すように、左右方向における工作機械1の略中央には、工具主軸装置21が設けられている。工具主軸装置21は、旋盤である左側及び右側加工装置11L,11Rでは難しい加工を実行する。工具主軸装置21は、例えば、左側及び右側主軸装置12L,12Rのそれぞれに把持されたワークに対し旋盤加工の他にも穴あけ加工などをすることができ、左側及び右側タレット13L,13Rでは難しい深さや角度でのワーク加工を可能にするものである。 The machine tool 1 is also a multi-tasking machine equipped with the functions of both an NC lathe and a machining center. Figure 4 is a right side view of the machine tool 1 in the state shown in Figure 3. As shown in Figures 2 to 4, a tool spindle unit 21 is provided approximately in the center of the machine tool 1 in the left-right direction. The tool spindle unit 21 performs machining that is difficult to perform with the left and right machining units 11L, 11R, which are lathes. The tool spindle unit 21 can perform machining such as drilling in addition to lathe machining on workpieces held by the left and right spindle units 12L, 12R, respectively, and enables workpiece machining at depths and angles that are difficult to perform with the left and right turrets 13L, 13R.

工作機械1は、左側及び右側加工装置11L,11R、及び工具主軸装置21を備える複合加工機を一つのベッド22の上に備えている。左側及び右側主軸装置12L,12Rの各々は、装置の外側に設けられたスピンドルモータ14L,14Rの駆動に基づいてワークW(図4参照)を回転させる。また、スピンドルモータ14L,14Rを含む左側及び右側主軸装置12L,12Rは、スラントベッド構造のベッド22の上の傾斜面23に沿ってZ方向と平行な方向にスライド移動可能となっている。左側及び右側主軸装置12L,12Rは、例えば、下部に設けられたZ軸サーボモータ17(図4参照)によりボールネジ機構(図示略)を駆動させ、Z方向と平行な方向に移動する。左側及び右側タレット13L,13Rと工具主軸装置21は、何れも主軸と直交する機体前後方向と機体上下方向に移動可能となっている。例えば、工具主軸装置21の移動方向が水平なY方向と鉛直なX方向であるのに対し、左側及び右側タレット13L,13Rの移動方向は、Y方向及びX方向を45度傾けたYL方向とXL方向となっている。The machine tool 1 comprises a multi-task machine equipped with left and right machining units 11L, 11R and a tool spindle unit 21 mounted on a single bed 22. The left and right spindle units 12L, 12R each rotate a workpiece W (see FIG. 4) driven by spindle motors 14L, 14R mounted outside the unit. The left and right spindle units 12L, 12R, including the spindle motors 14L, 14R, are slidable in a direction parallel to the Z direction along an inclined surface 23 on the slant-bed structure of the bed 22. The left and right spindle units 12L, 12R move in a direction parallel to the Z direction, for example, by driving a ball screw mechanism (not shown) via a Z-axis servo motor 17 (see FIG. 4) mounted below. The left and right turrets 13L, 13R and the tool spindle unit 21 are all movable in the longitudinal and vertical directions of the machine body, which are perpendicular to the spindles. For example, the movement direction of the tool spindle device 21 is the horizontal Y direction and the vertical X direction, while the movement directions of the left and right turrets 13L, 13R are the YL direction and the XL direction, which are inclined 45 degrees from the Y direction and the X direction.

また、工具主軸装置21の前方側には、自動工具交換装置25が設けられている。工具主軸装置21は、自動工具交換装置25との間で工具T(主軸ヘッド工具)を取り替え可能となっている。自動工具交換装置25は、複数の工具Tを収納したツールマガジン25Aを装置上部に備え、工具主軸装置21と向かい合った位置に設けられたツールチェンジャ25Bによって、ツールマガジン25Aから交換用の工具Tを、工具主軸装置21の工具交換位置まで搬送する。工作機械1は、左側及び右側加工装置11L,11Rの各々でワークWの加工を実行中に、工具主軸装置21の工具交換も実行できる。工作機械1は、例えば、Z方向における工具主軸装置21の左右両側にそれぞれ配置された分離シャッタ(図示略)を備えている。工作機械1は、駆動機構(図示略)によってY方向に2枚の分離シャッタを個別に移動可能となっている。図3は、この分離シャッタを収納した状態を示している。工作機械1は、2枚の分離シャッタにより、左側加工装置11L、右側加工装置11Rの各々の加工スペースと、工具主軸装置21の工具交換スペースを分離する。これにより、各装置がクーラントや切屑の影響を受けないようにすることができる。また、一方の分離シャッタだけを閉じることにより、工具交換スペースを含めた空間を一方のタレットや工具主軸装置21の加工スペースに拡張することもできる。An automatic tool changer 25 is also provided in front of the tool spindle unit 21. The tool spindle unit 21 can exchange tools T (spindle head tools) with the automatic tool changer 25. The automatic tool changer 25 has a tool magazine 25A containing multiple tools T at its top, and a tool changer 25B, located opposite the tool spindle unit 21, transports a replacement tool T from the tool magazine 25A to the tool exchange position of the tool spindle unit 21. The machine tool 1 can also exchange tools on the tool spindle unit 21 while machining a workpiece W with each of the left and right machining devices 11L, 11R. The machine tool 1 is equipped with, for example, separation shutters (not shown) located on both the left and right sides of the tool spindle unit 21 in the Z direction. The machine tool 1 can move the two separation shutters individually in the Y direction using a drive mechanism (not shown). Figure 3 shows the separation shutters in a retracted position. In the machine tool 1, two separation shutters separate the machining spaces of the left-side machining unit 11L and the right-side machining unit 11R from the tool changing space of the tool spindle unit 21. This prevents each unit from being affected by coolant or chips. Furthermore, by closing only one of the separation shutters, the space including the tool changing space can be expanded to the machining space of one of the turrets or the tool spindle unit 21.

ワーク搬送装置14は、左側及び右側加工装置11L,11Rや、ワークの搬入、排出、検査等を行なうための各装置との間でワークWの受け渡しを実行する。この左側及び右側加工装置11L,11Rや、ワークWの受け渡しを実行する各装置は、本開示の相手装置の一例である。工作機械1は、相手装置の1つとして、ストッカ装置9を備えている。図1に示すように、ストッカ装置9は、ワークWを積み上げ可能な複数のパレット10を備え、制御装置15の制御に基づいて作業位置のパレット10を入れ替える。ワーク搬送装置14は、作業位置のパレット10との間で、加工前のワークWの受け取りや加工後のワークWの受け渡しを実行する。ワーク搬送装置14の詳細については後述する。 The work transport device 14 transfers the workpiece W between the left and right processing devices 11L, 11R and each device for carrying in, unloading, inspecting, etc. the workpiece. The left and right processing devices 11L, 11R and each device for transferring the workpiece W are examples of counterpart devices of the present disclosure. The machine tool 1 is equipped with a stocker device 9 as one of the counterpart devices. As shown in FIG. 1, the stocker device 9 has multiple pallets 10 on which the workpieces W can be stacked, and swaps the pallets 10 at the work position based on the control of the control device 15. The work transport device 14 receives the workpiece W before machining and transfers the workpiece W after machining between the pallets 10 at the work position. Details of the work transport device 14 will be described later.

また、図1及び図2に示すように、操作盤3は、装置カバー2の前面に設けられ、タッチパネル3Aや操作装置3Bを備えている。操作装置3Bは、例えば、操作スイッチ、押しボタン、ダイヤル、表示ランプ等を備えている。操作盤3は、タッチパネル3Aや操作装置3Bに対する操作入力をユーザから受け付け、受け付けた操作入力に応じた信号を制御装置15に出力する。また、操作盤3は、制御装置15の制御に基づいてタッチパネル3Aの表示内容や操作装置3Bの表示ランプの点灯状態を変更する。また、装置カバー2の中央の下方には、工作機械1を操作するペンダント8が吊り下げ可能となっている。 As shown in Figures 1 and 2, the operation panel 3 is provided on the front of the device cover 2 and includes a touch panel 3A and an operating device 3B. The operating device 3B includes, for example, operating switches, push buttons, dials, indicator lamps, etc. The operation panel 3 accepts operation inputs from the user via the touch panel 3A and the operating device 3B, and outputs signals corresponding to the accepted operation inputs to the control device 15. The operation panel 3 also changes the display content of the touch panel 3A and the lighting status of the indicator lamps on the operating device 3B based on the control of the control device 15. A pendant 8 for operating the machine tool 1 can be suspended below the center of the device cover 2.

また、図2に示すように、工作機械1の制御装置15は、CPU15Aと、記憶装置15Bを備え、コンピュータを主体とする処理装置である。記憶装置15Bは、例えば、RAM、ROM、フラッシュメモリ等を備える。制御装置15は、各装置(左側加工装置11Lやワーク搬送装置14等)と電気的に接続され、各装置を制御可能となっている。記憶装置15Bには、各種の制御プログラム16が記憶されている。制御プログラム16には、例えば、ワークに対する加工において左側及び右側加工装置11L,11Rの各々の動作を制御するNCプログラム、ワーク搬送装置14の動作を制御するプログラム、各種の信号を処理するラダー回路用のプログラム等が含まれている。また、制御プログラム16には、例えば、ワーク搬送装置14がワークWの受け渡しを実行する受渡位置のXYZ座標、その受渡位置で作業を行なう工程名、その工程を識別するための識別情報等が関連付けて記憶されている。尚、以下の説明では、XYZの各方向の座標をX座標、Y座標、Z座標と称して説明する。この座標系は、説明の便宜上であり適宜変更可能である。各座標の設定は、上記した設定に限らず、例えば、左右方向(Z方向)をX座標、前後方向をY座標、上下方向(X方向)をZ座標として設定しても良い。As shown in FIG. 2, the control device 15 of the machine tool 1 is a computer-based processing device equipped with a CPU 15A and a storage device 15B. The storage device 15B includes, for example, RAM, ROM, flash memory, etc. The control device 15 is electrically connected to each device (such as the left-side machining device 11L and the workpiece transport device 14) and is capable of controlling each device. Various control programs 16 are stored in the storage device 15B. The control programs 16 include, for example, NC programs that control the operation of the left-side and right-side machining devices 11L and 11R when machining a workpiece, programs that control the operation of the workpiece transport device 14, and ladder circuit programs that process various signals. The control program 16 also stores, in association with each other, the X, Y, and Z coordinates of the transfer position where the workpiece transport device 14 transfers the workpiece W, the name of the process to be performed at that transfer position, and identification information for identifying that process. In the following description, the coordinates in the X, Y, and Z directions will be referred to as the X, Y, and Z coordinates. This coordinate system is used for convenience of explanation and can be changed as appropriate. The setting of each coordinate is not limited to the above setting, and for example, the left-right direction (Z direction) may be set as the X coordinate, the front-back direction as the Y coordinate, and the up-down direction (X direction) as the Z coordinate.

(ワーク搬送装置14について)
次に、ワーク搬送装置14の詳細について説明する。図1、図3、図4に示すように、ワーク搬送装置14は、例えば、ガントリ式の搬送装置であり、把持したワークWをXYZ方向の3方向に移動可能となっている。尚、図1は、複数の位置に移動するワーク搬送装置14の様子を1つの図の中に図示している。
(Regarding the workpiece transport device 14)
Next, the workpiece transport device 14 will be described in detail. As shown in Figures 1, 3, and 4, the workpiece transport device 14 is, for example, a gantry-type transport device, and is capable of moving the gripped workpiece W in three directions, the X, Y, and Z directions. Note that Figure 1 illustrates the workpiece transport device 14 moving to multiple positions in a single drawing.

工作機械1は、ベッド22の幅に合わせて立てられた前後左右の柱に前後左右に梁が接続された櫓型のフレーム構体31を備えている。工具主軸装置21などのベッド22上の各装置や自動工具交換装置25及びワーク搬送装置14は、フレーム構体31に支持された装置カバー2によって前面側を覆われている。また、図3及び図4に示すように、ワーク搬送装置14は、レール台32と、走行テーブル33を備えている。レール台32は、フレーム構体31の上であって、装置前方側に設けられている。レール台32の上には、Z方向と平行な2本の走行レール34と、1本の走行用ラック35が設けられている。走行テーブル33は、走行レール34に沿って摺動可能となっている。走行テーブル33には走行用モータ37が固定されている。走行テーブル33は、走行用モータ37の回転軸に固定されたピニオンが走行用ラック35と噛合することによりZ方向の移動が可能になっている。制御装置15は、走行用モータ37を制御することで、ワーク搬送装置14をZ方向の任意の位置に移動させることができる。The machine tool 1 includes a tower-shaped frame structure 31 with beams connected to front, rear, left, and right columns erected to match the width of the bed 22. The front sides of the various devices on the bed 22, such as the tool spindle device 21, the automatic tool changer 25, and the workpiece transport device 14, are covered by an equipment cover 2 supported by the frame structure 31. As shown in Figures 3 and 4, the workpiece transport device 14 includes a rail base 32 and a traveling table 33. The rail base 32 is located on the front side of the device, above the frame structure 31. Two traveling rails 34 parallel to the Z direction and one traveling rack 35 are provided on the rail base 32. The traveling table 33 is slidable along the traveling rails 34. A traveling motor 37 is fixed to the traveling table 33. The traveling table 33 is movable in the Z direction when a pinion fixed to the rotation shaft of the traveling motor 37 engages with the traveling rack 35. The control device 15 controls the travel motor 37 to move the workpiece transport device 14 to any position in the Z direction.

走行テーブル33の上面には、スライド台39がY方向にスライド移動可能に設けられている。スライド台39の側面には、Y方向に移動するためのラックが設けられている。走行テーブル33には、前後モータ41が固定されている。前後モータ41の回転軸に固定したピニオンはスライド台39のラックに噛合されている。制御装置15は、前後モータ41を制御することで、Y軸方向(前後方向)の任意の位置にスライド台39を移動させることができる。スライド台39は、フレーム構体31から前方へと突き出しており、その先端部分において上下移動する昇降アーム43が設けられている。 A slide base 39 is provided on the upper surface of the traveling table 33 so that it can slide in the Y direction. A rack is provided on the side of the slide base 39 for moving it in the Y direction. A forward/backward motor 41 is fixed to the traveling table 33. A pinion fixed to the rotation shaft of the forward/backward motor 41 is engaged with the rack of the slide base 39. The control device 15 can move the slide base 39 to any position in the Y-axis direction (forward/backward direction) by controlling the forward/backward motor 41. The slide base 39 protrudes forward from the frame structure 31, and a lifting arm 43 that moves up and down is provided at its tip.

スライド台39の前端部には、昇降用レールを備えた支持柱45がX方向と平行な姿勢で固定されている。支持柱45の前方には、昇降アーム43が設けられている。昇降アーム43は、支持柱45の昇降用レールに沿ってX方向へ移動可能となっている。支持柱45の頂部には昇降用モータ47が設けられている。昇降用モータ47の回転軸にはプーリが固定されている。昇降用モータ47のプーリは、支持柱45の下部に軸支されたプーリとの間にベルトが掛け渡されている。昇降アーム43は、そのベルトに連結され、昇降用モータ47の駆動に応じてX方向の位置を変更される。制御装置15は、昇降用モータ47を制御することで、X軸方向(上下方向)における昇降アーム43の位置を変更できる。昇降アーム43の下端部43Aには、ワークWを把持するヘッド51が設けられている。従って、制御装置15は、走行用モータ37、前後モータ41、昇降用モータ47を制御することで、XYZ方向の任意の位置にヘッド51を移動させることができる。 A support column 45 equipped with a lifting rail is fixed to the front end of the slide table 39 in a position parallel to the X direction. A lifting arm 43 is provided in front of the support column 45. The lifting arm 43 is movable in the X direction along the lifting rail of the support column 45. A lifting motor 47 is provided at the top of the support column 45. A pulley is fixed to the rotation shaft of the lifting motor 47. A belt is stretched between the pulley of the lifting motor 47 and a pulley journaled at the bottom of the support column 45. The lifting arm 43 is connected to the belt, and its position in the X direction is changed in response to the drive of the lifting motor 47. The control device 15 can change the position of the lifting arm 43 in the X-axis direction (up and down direction) by controlling the lifting motor 47. A head 51 for gripping the workpiece W is provided at the lower end 43A of the lifting arm 43. Therefore, the control device 15 can move the head 51 to any position in the X, Y and Z directions by controlling the travel motor 37, the front-rear motor 41 and the lift motor 47.

ヘッド51は、下端部43Aの後方側の面に取り付けられ、昇降アーム43に対して後方側となる位置に配置されている。図5は、昇降アーム43及びヘッド51の斜視図を示している。ヘッド51は、第1把持部52と第2把持部53の2つの把持部を有している。第2把持部53は、第1把持部52と同一構成となっている。このため、以下の説明では、第2把持部53についての説明を適宜省略する。 The head 51 is attached to the rear surface of the lower end 43A and is positioned rearward relative to the lifting arm 43. Figure 5 shows an oblique view of the lifting arm 43 and head 51. The head 51 has two gripping portions: a first gripping portion 52 and a second gripping portion 53. The second gripping portion 53 has the same configuration as the first gripping portion 52. Therefore, in the following explanation, the explanation of the second gripping portion 53 will be omitted as appropriate.

図5に示すように、ヘッド51は、支持部材56、第1爪部材57、第2爪部材58を備えている。支持部材56は、昇降アーム43の下端部43Aの後方に取り付けられている。支持部材56は、所定の厚さを有する略長方形の板状をなしている。厚さ方向(図5における左手前から右奥に向かう方向)で対向する支持部材56の各面には、第1把持部52及び第2把持部53がそれぞれ設けられている。支持部材56は、下端部43Aに対して回転可能に取り付けられている。制御装置15は、例えば、下端部43Aの中に設けられた旋回用モータ(図示略)を駆動することで、Y方向と平行な回転軸62(図4、図5参照)を中心にヘッド51を回転させる。これにより、支持部材56は、回転方向61(図4、図5参照)へ回転し、第1及び第2把持部52,53を異なる方向に向ける。As shown in FIG. 5, the head 51 includes a support member 56, a first claw member 57, and a second claw member 58. The support member 56 is attached to the rear of the lower end 43A of the lifting arm 43. The support member 56 is a generally rectangular plate with a predetermined thickness. A first gripping portion 52 and a second gripping portion 53 are provided on each side of the support member 56 that face each other in the thickness direction (from the front left to the rear right in FIG. 5). The support member 56 is rotatably attached to the lower end 43A. The control device 15 rotates the head 51 around a rotation axis 62 (see FIGS. 4 and 5) parallel to the Y direction, for example, by driving a rotation motor (not shown) provided in the lower end 43A. As a result, the support member 56 rotates in the rotation direction 61 (see FIGS. 4 and 5), orienting the first and second gripping portions 52, 53 in different directions.

ヘッド51は、例えば、旋回用モータの駆動に応じて90度ずつ回転方向61へ(時計回り又は反時計回りの方向へ)回転する。ヘッド51は、第1及び第2把持部52,53の各々をZ方向の両側(左右両側)に向けた状態となる旋回位置(180度反転した位置を含めて2つの旋回位置)と、第1及び第2把持部52,53の各々をX方向の両側(上下両側)に向けた状態となる旋回位置(180度反転した位置を含めて2つの旋回位置)の合計4つの旋回位置に回転する。以下の説明では、第1把持部52を左、上、右、下のそれぞれに向けた旋回位置を、第1~第4旋回位置RP1~RP4と称する。制御装置15は、例えば、後述する図6のように第1把持部52と左側主軸装置12Lとの間でワークWの受け渡しを実行する場合、ヘッド51を第1旋回位置RP1とする。また、制御装置15は、例えば、後述する図8に示すように、第1把持部52とストッカ装置9との間でワークWの受け渡しを実行する場合、第1把持部52を下に向けた第4旋回位置RP4までヘッド51を回転させる。尚、上記したヘッド51の回転角度や旋回位置は一例である。例えば、ヘッド51は、90度よりも大きい角度(180度など)の間隔や、小さい角度(45度など)の間隔で回転する構成でも良く、任意の回転角度に回転する構成でも良い。The head 51 rotates in a rotation direction 61 (clockwise or counterclockwise) by 90 degrees increments, for example, in response to the drive of the rotation motor. The head 51 rotates to a total of four rotation positions: one rotation position (two rotation positions, including a 180-degree inverted position) in which the first and second grippers 52, 53 are each oriented to both sides in the Z direction (left and right sides), and one rotation position (two rotation positions, including a 180-degree inverted position) in which the first and second grippers 52, 53 are each oriented to both sides in the X direction (top and bottom sides). In the following description, the rotation positions in which the first gripper 52 is oriented left, up, right, and down, respectively, are referred to as first to fourth rotation positions RP1 to RP4. For example, when transferring a workpiece W between the first gripper 52 and the left spindle unit 12L as shown in FIG. 6 (described later), the control device 15 sets the head 51 to the first rotation position RP1. Furthermore, for example, as shown in FIG. 8 (described later), when transferring a workpiece W between the first gripper 52 and the stocker device 9, the control device 15 rotates the head 51 to a fourth rotation position RP4 where the first gripper 52 faces downward. Note that the rotation angle and rotation position of the head 51 described above are merely examples. For example, the head 51 may be configured to rotate at intervals of an angle greater than 90 degrees (such as 180 degrees) or at intervals of a smaller angle (such as 45 degrees), or may be configured to rotate at any rotation angle.

第1把持部52には、例えば、3つの第1爪部材57を取り付け可能となっている。3つの第1爪部材57の各々は、例えば、同一形状をなし、120度だけ周方向にずれた位置に取り付けられている。3つの第1爪部材57は、支持部材56に対して着脱可能に設けられ、ワークWの種類等に応じて異なる種類の第1爪部材57に交換可能となっている。また、3つの第1爪部材57は、ヘッド51に設けられた油圧シリンダ(図示略)の駆動に応じて半径方向へスライド移動する(開閉する)。これにより、制御装置15は、油圧シリンダを駆動することで、3つの第1爪部材57を閉じてワークWを挟持する、あるいは3つの第1爪部材57を開いて挟持を解除する。同様に、第2把持部53は、例えば、3つの第2爪部材58を着脱可能であり、第2爪部材58を開閉可能となっている。 The first gripping unit 52 can be fitted with, for example, three first claw members 57. Each of the three first claw members 57 has, for example, the same shape and is fitted at positions offset 120 degrees in the circumferential direction. The three first claw members 57 are detachably attached to the support member 56 and can be replaced with different types of first claw members 57 depending on the type of workpiece W, etc. The three first claw members 57 also slide radially (open and close) in response to the actuation of a hydraulic cylinder (not shown) provided in the head 51. As a result, the control device 15 closes the three first claw members 57 to clamp the workpiece W, or opens the three first claw members 57 to release the clamping, by actuating the hydraulic cylinder. Similarly, the second gripping unit 53 can be fitted with, for example, three second claw members 58, which can be opened and closed.

(基準位置設定処理について)
次に、ヘッド51の基準位置の設定処理について説明する。制御装置15は、制御プログラム16に基づいて、ワークWに対する加工を実行する。加工対象となるワークWは、例えば、ワーク搬送装置14によってストッカ装置9から左側主軸装置12Lや右側主軸装置12Lへ搬送される。制御装置15は、ワークWを各主軸装置に受け渡した後、左側及び右側タレット13L,13Rや工具主軸装置21による所定の加工を実行する。制御装置15は、加工が完了したワークWを、左側主軸装置12L等からワーク搬送装置14に受け取り、ストッカ装置9へ搬送する。
(Regarding the reference position setting process)
Next, the process of setting the reference position of the head 51 will be described. The control device 15 performs machining on the workpiece W based on the control program 16. The workpiece W to be machined is transported, for example, by the workpiece transport device 14 from the stocker device 9 to the left spindle device 12L or the right spindle device 12R. After transferring the workpiece W to each spindle device, the control device 15 performs predetermined machining using the left and right turrets 13L, 13R and the tool spindle device 21. The control device 15 receives the machined workpiece W from the left spindle device 12L, etc., to the workpiece transport device 14, and transports it to the stocker device 9.

例えば、制御プログラム16のNCプログラムには、上記したワーク搬送装置14と各相手装置との間でワークWの受け渡しを行うヘッド51の位置である受渡位置のXYZ座標が設定されている。制御装置15は、このNCプログラムに設定された受渡位置(XYZ座標)にヘッド51を配置するとともにヘッド51を所定の旋回位置に旋回させ、ヘッド51と相手装置の間でワークWの受け渡しを実行する。そして、本実施例の工作機械1は、受渡位置を設定するための基準となる基準位置を、接触検出装置を用いて設定可能となっている。制御装置15は、ユーザから入力されたワークWの長さを入力値として、予め設定した基準位置と入力値の長さに基づいて各受渡位置を補正する。以下の説明では、一例として、相手装置として左側主軸装置12Lを採用し、ヘッド51の第1把持部52から左側主軸装置12LへワークWを受け渡す場合について説明する。尚、図8で後述するように、他の受渡位置についても同様に設定等を実施できる。For example, the NC program of the control program 16 sets the XYZ coordinates of the transfer position, which is the position of the head 51 where the workpiece W is transferred between the workpiece transport device 14 and each of the other devices. The control device 15 positions the head 51 at the transfer position (XYZ coordinates) set in the NC program and rotates the head 51 to a predetermined rotation position to transfer the workpiece W between the head 51 and the other device. The machine tool 1 of this embodiment is capable of setting a reference position, which serves as a reference for setting the transfer position, using a contact detection device. The control device 15 uses the length of the workpiece W input by the user as an input value and corrects each transfer position based on the preset reference position and the input length value. In the following explanation, as an example, the left spindle unit 12L is used as the other device, and a case where the workpiece W is transferred from the first gripper 52 of the head 51 to the left spindle unit 12L is described. Note that, as will be described later with reference to FIG. 8, similar settings can be implemented for other transfer positions.

図6は、上図が基準位置設定時における左側主軸装置12Lとヘッド51の状態を示しており、下図がワーク受け渡し時における左側主軸装置12Lとヘッド51の状態を示している。図6の上図に示すように、基準位置設定時において、左側主軸装置12Lには、マスターワーク63を装着する。このマスターワーク63は、基準位置P1を設定する際に接触検出装置65と接触させる部材として用いられ、主軸の芯出し作業において主軸のズレを確認するための部材としても用いられるものである。マスターワーク63は、例えば、円盤形状の被挟持部63Aと、被挟持部63Aの中心から突出する略円柱形状の凸状部63Bとを有している。尚、図6に示すマスターワーク63の形状は、一例である。 In Figure 6, the upper diagram shows the state of the left spindle unit 12L and head 51 when the reference position is set, and the lower diagram shows the state of the left spindle unit 12L and head 51 when the workpiece is transferred. As shown in the upper diagram of Figure 6, when the reference position is set, a master workpiece 63 is attached to the left spindle unit 12L. This master workpiece 63 is used as a member that comes into contact with the contact detection device 65 when setting the reference position P1, and is also used as a member for checking spindle misalignment during spindle centering operations. The master workpiece 63 has, for example, a disk-shaped clamped portion 63A and a roughly cylindrical convex portion 63B that protrudes from the center of the clamped portion 63A. Note that the shape of the master workpiece 63 shown in Figure 6 is just one example.

左側主軸装置12Lは、例えば、ワークWやマスターワーク63を挟持可能な複数(例えば、3つ)の子爪67を取り付け可能となっている。複数の子爪67の各々は、例えば、同一形状をなし、所定の回転角度(例えば、120度)だけ周方向にずれた位置に取り付けられる。また、複数の子爪67は、左側主軸装置12Lに設けられた駆動源(油圧シリンダなど)の駆動に基づいて半径方向へ移動し、ワークWやマスターワーク63を挟持する。尚、ワークWやマスターワーク63を保持する部材は、子爪67などの爪部材に限らず、コレットチャックなどの他の部材でも良い。 The left-side spindle unit 12L can be fitted with multiple (e.g., three) child jaws 67 that can clamp, for example, the workpiece W or the master workpiece 63. Each of the multiple child jaws 67 has the same shape and is fitted at positions offset circumferentially by a predetermined rotational angle (e.g., 120 degrees). Furthermore, the multiple child jaws 67 move radially based on the drive of a drive source (e.g., hydraulic cylinder) provided in the left-side spindle unit 12L, clamping the workpiece W or the master workpiece 63. The member that holds the workpiece W or the master workpiece 63 is not limited to a jaw member such as the child jaws 67, but may be another member such as a collet chuck.

接触検出装置65を用いた基準位置P1の設定作業では、マスターワーク63は、複数の子爪67によって挟持される。例えば、ユーザは、操作盤3を操作して子爪67を開いた状態にし、マスターワーク63を左側主軸装置12Lに着座させる。ユーザは、操作盤3を操作して子爪67を閉じて子爪67にマスターワーク63の被挟持部63Aを挟持させる。マスターワーク63は、子爪67に形成された当金部67Aに接触し、左側主軸装置12Lの基端側(図6の左側)への移動を規制される状態で配置される。また、マスターワーク63は、被挟持部63A及び凸状部63Bの中心が主軸69上となる。即ち、マスターワーク63は、測定するための正しい位置に配置されると、基端側への移動を規制され、回転中心が主軸69上となる。尚、マスターワーク63を左側主軸装置12Lに配置する作業をワーク搬送装置14のヘッド51によって自動で実施しても良い。例えば、制御装置15は、測定開始の指示に応じて、ストッカ装置9に配置されたマスターワーク63をヘッド51で把持させ、左側主軸装置12Lまでマスターワーク63を搬送し、ヘッド51から左側主軸装置12Lへマスターワーク63を受け渡しても良い。 When setting the reference position P1 using the contact detection device 65, the master workpiece 63 is clamped by multiple child jaws 67. For example, the user operates the operation panel 3 to open the child jaws 67 and seat the master workpiece 63 on the left spindle unit 12L. The user then operates the operation panel 3 to close the child jaws 67, causing the child jaws 67 to clamp the clamped portion 63A of the master workpiece 63. The master workpiece 63 contacts the abutment portion 67A formed on the child jaws 67, and is positioned in a state where movement toward the base end of the left spindle unit 12L (left side in Figure 6) is restricted. Furthermore, the centers of the clamped portion 63A and the convex portion 63B of the master workpiece 63 are aligned with the spindle 69. In other words, when the master workpiece 63 is positioned correctly for measurement, movement toward the base end is restricted, and the center of rotation is aligned with the spindle 69. The operation of placing the master workpiece 63 on the left spindle device 12L may be performed automatically by the head 51 of the workpiece transport device 14. For example, in response to an instruction to start measurement, the control device 15 may cause the head 51 to grip the master workpiece 63 placed on the stocker device 9, transport the master workpiece 63 to the left spindle device 12L, and hand over the master workpiece 63 from the head 51 to the left spindle device 12L.

ユーザは、マスターワーク63を左側主軸装置12Lに設置すると、接触検出装置65をヘッド51の第1把持部52に挟持させる。接触検出装置65をヘッド51に挟持させる作業は、マスターワーク63と同様に、ユーザが操作盤3を操作して実施しても良く、ストッカ装置9やワークステーションなどに接触検出装置65を配置してヘッド51が自動で掴み取っても良い。尚、図6に示す例では、基準位置設定時(上図)とワーク受け渡し時(下図)とで異なる形状の第1爪部材57を用いている。第1爪部材57は、接触検出装置65の挟持やワークWの挟持に適したものに変更されることが好ましいが、基準位置設定時とワーク受け渡し時で同一種類の第1爪部材57を用いても良い。 When the user places the master workpiece 63 on the left spindle unit 12L, the user clamps the contact detection device 65 in the first gripping portion 52 of the head 51. The user can clamp the contact detection device 65 in the head 51 by operating the operation panel 3, as with the master workpiece 63, or the contact detection device 65 can be placed in a stocker unit 9 or workstation and automatically grasped by the head 51. In the example shown in Figure 6, different shapes of first claw members 57 are used when setting the reference position (top figure) and when transferring the workpiece (bottom figure). It is preferable to change the first claw member 57 to one suitable for clamping the contact detection device 65 and clamping the workpiece W, but the same type of first claw member 57 may be used when setting the reference position and when transferring the workpiece.

接触検出装置65は、例えば、タッチプローブであり、スタイラス65Aの先端が他の部材に接触すると、接触の発生を示す接触検出信号を無線通信により送信する。図2に示すように、制御装置15は、接触検出装置65と無線通信可能な無線装置18を備えている。制御装置15は、ヘッド51の第1爪部材57により保持された接触検出装置65から、接触検出信号SIを無線通信により受信可能となっている。尚、接触検出装置65(タッチプローブ)における接触の検出方式は、特に限定されないが、可動接点方式、圧力センサ方式、光学センサ方式などを採用できる。従って、本開示の接触検出装置は、タッチプローブに限らず、可動接点を有する押しボタンスイッチを用いるものや、圧力センサを用いるものでも良い。また、接触検出信号SIを制御装置15へ送信する方法は、無線通信に限らず、赤外線や電磁誘導を用いた方法でも良い。また、接触検出信号SIを有線通信により送信しても良い。The contact detection device 65 is, for example, a touch probe. When the tip of the stylus 65A comes into contact with another component, it transmits a contact detection signal indicating the occurrence of contact via wireless communication. As shown in FIG. 2, the control device 15 includes a wireless device 18 capable of wireless communication with the contact detection device 65. The control device 15 can receive the contact detection signal SI via wireless communication from the contact detection device 65 held by the first claw member 57 of the head 51. The contact detection method used by the contact detection device 65 (touch probe) is not particularly limited, and may include a movable contact method, a pressure sensor method, an optical sensor method, and the like. Therefore, the contact detection device disclosed herein is not limited to a touch probe, and may also include a push button switch with a movable contact or a pressure sensor. Furthermore, the method of transmitting the contact detection signal SI to the control device 15 is not limited to wireless communication, and may include infrared or electromagnetic induction methods. The contact detection signal SI may also be transmitted via wired communication.

ユーザは、接触検出装置65をヘッド51に挟持させると、操作盤3を操作して基準位置P1の測定を開始する指示を行う。制御装置15は、測定開始の指示を受け付けると、ヘッド51を所定の測定開始位置P2(図6参照)に配置する。この測定開始位置P2は、基準位置P1の測定を開始する際に、ヘッド51を配置する位置である。例えば、予め芯出し作業等を実施し、図6における測定開始位置P2にヘッド51を配置した場合、測定開始位置P2のヘッド51のX方向のX座標及びY方向のY座標は、左側主軸装置12Lの主軸69のXY座標と一致する。例えば、制御装置15は、ユーザの操作指示に基づいて、接触検出装置65のスタイラス65Aを、マスターワーク63の凸状部63Bの複数箇所に接触させ、凸状部63Bの中心位置を検出し、主軸69とのズレ量を補正し芯出しを行う。制御装置15は、ヘッド51を測定開始位置P2に配置した後、Z方向にヘッド51を移動させ、接触検出装置65の検出に基づいてZ方向のZ座標を設定する。制御装置15は、XY座標については、主軸のXY座標を用いることができる。このため、制御装置15は、芯出し作業を行って決定した主軸69のXY座標(測定開始位置P2のXY座標)を、基準位置P1のXY座標として設定する。 After clamping the contact detection device 65 to the head 51, the user operates the operation panel 3 to issue an instruction to begin measuring the reference position P1. Upon receiving the instruction to begin measurement, the control device 15 positions the head 51 at a predetermined measurement start position P2 (see Figure 6). This measurement start position P2 is the position at which the head 51 is positioned when measurement of the reference position P1 begins. For example, if a centering operation or the like is performed in advance and the head 51 is positioned at the measurement start position P2 in Figure 6, the X coordinate in the X direction and the Y coordinate in the Y direction of the head 51 at the measurement start position P2 will match the X and Y coordinates of the spindle 69 of the left spindle unit 12L. For example, based on the user's operation instruction, the control device 15 contacts the stylus 65A of the contact detection device 65 with multiple points on the convex portion 63B of the master workpiece 63, detects the center position of the convex portion 63B, corrects the misalignment with the spindle 69, and performs centering. After placing the head 51 at the measurement start position P2, the control device 15 moves the head 51 in the Z direction and sets the Z coordinate in the Z direction based on the detection of the contact detection device 65. The control device 15 can use the X and Y coordinates of the spindle 69 for the X and Y coordinates. Therefore, the control device 15 sets the X and Y coordinates of the spindle 69 determined by performing the centering operation (the X and Y coordinates of the measurement start position P2) as the X and Y coordinates of the reference position P1.

制御装置15は、ヘッド51を測定開始位置P2に配置すると、XY座標を一定とし、ヘッド51をZ方向と平行な方向に沿って左側主軸装置12L側へ移動させる(図6の測定開始位置P2の矢印参照)。制御装置15は、走行用モータ37を制御して、ヘッド51をZ方向と平行な方向へ移動させる。接触検出装置65は、スタイラス65Aが凸状部63Bのヘッド51側の面に接触すると、接触検出信号SIを送信する。制御装置15は、接触検出装置65から接触検出信号SIを取得すると基準位置P1のZ座標を設定する。制御装置15は、例えば、接触検出信号SIを取得した時間に対して、接触検出信号SIを接触検出装置65から制御装置15へ送信するのに必要な遅延時間の補正を行い、接触検出信号SIが出力された出力時間を演算する。そして、制御装置15は、出力時間においてヘッド51が配置されていたZ座標を、基準位置P1のZ座標として設定する。ヘッド51のZ座標は、上記した走行用モータ37の位置情報等に基づいて検出できる。尚、制御装置15は、上記した送信時間の遅延補正を実施しなくとも良い。例えば、制御装置15は、接触検出信号SIを入力した時間のヘッド51のZ座標を、基準位置P1のZ座標として設定しても良い。Once the control device 15 positions the head 51 at the measurement start position P2, it keeps the X and Y coordinates constant and moves the head 51 toward the left spindle unit 12L in a direction parallel to the Z direction (see the arrow indicating the measurement start position P2 in Figure 6). The control device 15 controls the travel motor 37 to move the head 51 in a direction parallel to the Z direction. When the stylus 65A contacts the head 51-facing surface of the convex portion 63B, the contact detection device 65 transmits a contact detection signal SI. When the control device 15 receives the contact detection signal SI from the contact detection device 65, it sets the Z coordinate of the reference position P1. For example, the control device 15 compensates for the delay time required for the contact detection signal SI to be transmitted from the contact detection device 65 to the control device 15 relative to the time at which the contact detection signal SI was received, and calculates the output time at which the contact detection signal SI was output. The control device 15 then sets the Z coordinate at which the head 51 was positioned at the output time as the Z coordinate of the reference position P1. The Z coordinate of the head 51 can be detected based on the position information of the drive motor 37. The control device 15 does not need to perform the delay correction of the transmission time. For example, the control device 15 may set the Z coordinate of the head 51 at the time when the contact detection signal SI is input as the Z coordinate of the reference position P1.

制御装置15は、例えば、図6に示す原点位置P3から基準位置P1までのZ方向に沿った距離を基準距離L1として設定する。この原点位置P3は、受渡位置を決定するための基準(原点)となる位置である。尚、原点位置P3を、左側主軸装置12L以外の位置(フレーム構体31の所定の位置など)に設定しても良い。即ち、原点位置P3は、左側主軸装置12Lの位置に限らず、工作機械1の任意の位置に設定することができる。制御装置15は、基準距離L1の設定が完了すると、基準位置設定処理が完了したことを操作盤3に表示する。ユーザは、完了の表示を確認すると、接触検出装置65をヘッド51から取り外し、マスターワーク63を左側主軸装置12Lから取り外し、第1爪部材57を加工対象のワークWに合ったものに交換する。 The control device 15 sets the reference distance L1, for example, to the distance in the Z direction from the origin position P3 to the reference position P1 shown in FIG. 6. This origin position P3 is the reference (origin) position for determining the transfer position. The origin position P3 may be set to a position other than the left spindle unit 12L (such as a predetermined position on the frame structure 31). In other words, the origin position P3 is not limited to the position of the left spindle unit 12L and can be set to any position on the machine tool 1. Once the control device 15 has completed setting the reference distance L1, it displays on the operation panel 3 that the reference position setting process has been completed. Once the user confirms the completion display, they can remove the contact detection device 65 from the head 51, remove the master workpiece 63 from the left spindle unit 12L, and replace the first jaw member 57 with one appropriate for the workpiece W to be machined.

(位置設定処理、加工動作)
次に、工作機械1の位置設定処理及び加工動作について説明する。制御装置15は、ワークWに対する加工を実行する前に、加工対象のワークWの長さを受け付ける。制御装置15は、この長さを入力値として受け付ける処理を、加工の開始指示を受け付ける前に実施しても良い。例えば、制御装置15は、タッチパネル3Aに対する所定の操作入力に応じてワークWの長さを入力する受付画面をタッチパネル3Aに表示する。図7は、ワークWの長さを入力する受付画面73の一例を示している。図7に示すように、制御装置15は、入力値として、例えば、ポジション名、ワークWの重さ、ワークWの長さ、旋回位置、受け渡しの有無の情報を受け付ける。尚、図7に示す入力値は一例である。
(Position setting process, processing operation)
Next, the position setting process and machining operation of the machine tool 1 will be described. Before machining the workpiece W, the control device 15 receives the length of the workpiece W to be machined. The control device 15 may perform the process of receiving this length as an input value before receiving an instruction to start machining. For example, the control device 15 displays on the touch panel 3A a reception screen for inputting the length of the workpiece W in response to a predetermined operation input on the touch panel 3A. Figure 7 shows an example of a reception screen 73 for inputting the length of the workpiece W. As shown in Figure 7, the control device 15 receives, as input values, information such as the position name, the weight of the workpiece W, the length of the workpiece W, the rotation position, and whether or not to transfer the workpiece W. Note that the input values shown in Figure 7 are merely examples.

例えば、加工工程として、左側主軸装置12Lに保持したワークWの加工(第1加工工程)、右側主軸装置12Rに保持したワークWの加工(第2加工工程)、を順番に実行する場合を考える。この場合、ワークWの受け渡し作業は、例えば、6回発生する。制御装置15は、この6回の受け渡しの受渡位置の名前として、NO1~NO6のポジション名を設定し、受渡位置を識別する。具体的には、ヘッド51は、ポジション名NO1においてストッカ装置9から第1把持部52にワークWを受け取り、NO2において第1把持部52から左側主軸装置12LへワークWを受け渡す。また、ヘッド51は、NO3において左側主軸装置12Lから第1把持部52へ第1加工工程後のワークWを受け取り、NO4において第1把持部52から右側主軸装置12RへワークWを受け渡す。そして、ヘッド51は、NO5において右側主軸装置12Rから第2加工工程後のワークW受け取り、NO6においてストッカ装置9にワークWを受け渡す。For example, consider a case in which the machining process sequentially involves machining a workpiece W held by the left spindle unit 12L (first machining process) and machining a workpiece W held by the right spindle unit 12R (second machining process). In this case, the workpiece W is transferred six times. The control device 15 identifies the transfer positions by setting position names NO1 to NO6 as the names of the transfer positions for these six transfers. Specifically, the head 51 receives the workpiece W from the stocker unit 9 to the first gripper 52 at position NO1, and transfers the workpiece W from the first gripper 52 to the left spindle unit 12L at NO2. The head 51 also receives the workpiece W after the first machining process from the left spindle unit 12L to the first gripper 52 at NO3, and transfers the workpiece W from the first gripper 52 to the right spindle unit 12R at NO4. Then, the head 51 receives the workpiece W after the second machining process from the right spindle device 12R at NO5, and delivers the workpiece W to the stocker device 9 at NO6.

図7の受付画面73の上部には、各入力値を説明するための入力値名75が表示されている。また、各入力値名75の下部には、各ポジション名(受渡位置)における各入力値を入力するための入力欄76が設けられている。図7に示す例では、上から順番にNO1~NO6の受渡位置が設定されている。一番上のポジション名NO1は、ストッカ装置9から第1把持部52へ未加工のワークWを受け渡す受渡位置である。このため、ユーザは、入力値の重さX1として未加工のワークWの重さを入力し、長さY1として未加工のワークWの長さを入力欄76に入力する。また、例えば、ユーザは、NO3の第1加工工程後の重さX2及び長さY2を入力する場合、第1加工工程によって軽くなった重さX2及び短くなった長さY2を入力する。また、ユーザは、例えば、各ポジション名におけるヘッド51の旋回位置の情報(第1~第4旋回位置RP1~RP4)、ワークWをヘッド51から受け渡すか否かの情報)を、受付画面73で入力する。制御装置15は、受付画面73の設定ボタン77をタッチ操作されると、受付画面73の入力値を記憶装置15Bに記憶し、後述する受渡位置の補正に用いる。このようにして、制御装置15は、各受渡位置について、ワークWの長さを入力値として受け付ける。また、制御装置15は、受付画面73のキャンセルボタン78をタッチ操作されると、受付画面73で受け付けた情報を破棄する。尚、重さの入力値の取得方法は、上記した操作盤3によって入力する方法に限らず、例えば、入力値を記載した設定ファイルを制御装置15に読み込ませても良い。また、制御装置15は、予め受付画面73で長さの入力値を受け付けずに、加工の開始指示を受け付けた後に、加工を開始する前に長さの入力値を受け付けも良い。また、図7の受付画面73の画面構成は、一例であり、重さ、旋回位置、受け渡しの有無情報などを受付画面73に設けなくとも良い。 At the top of the reception screen 73 in Figure 7, input value names 75 are displayed to explain each input value. Below each input value name 75, an input field 76 is provided for entering each input value for each position name (transfer position). In the example shown in Figure 7, transfer positions NO1 to NO6 are set in order from top to bottom. The top position name NO1 is the transfer position where the unmachined workpiece W is transferred from the stocker device 9 to the first gripper 52. Therefore, the user inputs the weight of the unmachined workpiece W as the input value weight X1, and the length of the unmachined workpiece W as length Y1 in the input field 76. For example, when entering the weight X2 and length Y2 after the first processing step of NO3, the user inputs the weight X2 that has been reduced and the length Y2 that has been shortened by the first processing step. The user also inputs, for example, information on the rotation position of the head 51 for each position (first to fourth rotation positions RP1 to RP4) and information on whether the workpiece W is to be transferred from the head 51 to the receiving screen 73. When the setting button 77 on the receiving screen 73 is touched, the control device 15 stores the input value on the receiving screen 73 in the storage device 15B and uses it to correct the transfer position, as described below. In this way, the control device 15 accepts the length of the workpiece W as an input value for each transfer position. When the cancel button 78 on the receiving screen 73 is touched, the control device 15 discards the information accepted on the receiving screen 73. Note that the method for acquiring the weight input value is not limited to the method of inputting the weight via the operation panel 3 described above. For example, a setting file containing the input value may be loaded into the control device 15. Alternatively, the control device 15 may not accept the length input value on the receiving screen 73 in advance, but may accept the length input value after accepting a machining start instruction and before starting machining. Furthermore, the screen configuration of the reception screen 73 in FIG. 7 is an example, and the reception screen 73 does not necessarily need to include information such as weight, rotation position, and whether or not there is a transfer.

以下の説明では、図6の下図に示すヘッド51の第1把持部52から左側主軸装置12LへワークWを受け渡すポジション名NO2(図7参照)について主に説明する。この場合、制御装置15は、ポジション名NO2のワークWの長さY1として未加工のワークWの長さL2(図6参照)を受け付ける。ユーザは、長さL2として、例えば、未加工のワークWの図面上(設計上)の値を入力しも良く、加工前のワークWを実測した値を入力しても良い。制御装置15は、受け付けたワークWの長さL2を用いてポジション名NO2の受渡位置を設定する。例えば、図6の下図に示すように、制御装置15は、受け付けたワークWの長さL2に基づいて、受け渡しにおけるヘッド51の設計上の位置である設計上位置P5を演算する。設計上位置P5は、例えば、各部材の設計上の長さ等を考慮した計算上の位置であり、部材の組み付け誤差によるZ方向の誤差を含んでいない。下図に示すように、第1把持部52から受け渡されたワークWは、子爪67の当金部67Aに当接して着座し、複数の子爪67によって挟持された状態となる。設計上位置P5のXY座標は、例えば、芯出し作業によって調整されているため、基準位置P1と同一座標となる。一方、原点位置P3から設計上位置P5までのZ方向の距離L3は、例えば、原点位置P3から子爪67の当金部67Aまでの距離L4、ワークWの長さL2、ワークWから設計上位置P5までの距離L5を加算した値となる(L3=L4+L2+L5)。The following explanation focuses on position No. 2 (see FIG. 7), shown in the lower diagram of FIG. 6, where the workpiece W is transferred from the first gripper 52 of the head 51 to the left spindle unit 12L. In this case, the control device 15 accepts the length L2 of the unmachined workpiece W (see FIG. 6) as the length Y1 of the workpiece W for position No. 2. The user may enter, for example, a value on the drawing (design) of the unmachined workpiece W as length L2, or an actual measurement of the workpiece W before machining. The control device 15 sets the transfer position for position No. 2 using the accepted length L2 of the workpiece W. For example, as shown in the lower diagram of FIG. 6, the control device 15 calculates design position P5, which is the design position of the head 51 during transfer, based on the accepted length L2 of the workpiece W. Design position P5 is a calculated position that takes into account, for example, the design lengths of each component, and does not include errors in the Z direction due to component assembly errors. As shown in the diagram below, the workpiece W transferred from the first gripping unit 52 is seated against the abutment portions 67A of the child jaws 67 and is clamped by the multiple child jaws 67. The X and Y coordinates of the design position P5 are the same as those of the reference position P1, for example, because they have been adjusted by a centering operation. Meanwhile, the distance L3 in the Z direction from the origin position P3 to the design position P5 is, for example, the sum of the distance L4 from the origin position P3 to the abutment portions 67A of the child jaws 67, the length L2 of the workpiece W, and the distance L5 from the workpiece W to the design position P5 (L3 = L4 + L2 + L5).

距離L4は、原点位置P3から、左側主軸装置12Lの子爪67に保持されたワークWまでの距離に相当し、子爪67の構造などに応じて予め設定できる。距離L5は、例えば、第1爪部材57に保持されたワークWの支持部材56側の端部から、ヘッド51の中心までの距離であり、ヘッド51の構造などに応じて予め設定できる。制御装置15は、距離L3を演算すると、基準位置設定時に演算した基準距離L1と、距離L3の差となる補正距離L6を演算する。ここで、ワーク搬送装置14や左側主軸装置12L等には、装置固有の部品の組み付け誤差が発生する可能性がある。このため、設計上の受渡位置と、実際の組み付け誤差を含む受渡位置とがずれ、受け渡し動作を精度良く実行できなくなる虞がある。具体的には、ワークWのチャックミスや、ワークWと子爪67の干渉などが発生する。Distance L4 corresponds to the distance from the origin position P3 to the workpiece W held by the sub-jaw 67 of the left spindle unit 12L and can be preset depending on the structure of the sub-jaw 67. Distance L5 is, for example, the distance from the end of the workpiece W held by the first jaw member 57 on the support member 56 side to the center of the head 51 and can be preset depending on the structure of the head 51. After calculating distance L3, the control device 15 calculates a correction distance L6, which is the difference between distance L3 and the reference distance L1 calculated when the reference position was set. Here, assembly errors specific to the device may occur in the workpiece transport device 14, the left spindle unit 12L, etc. As a result, the designed transfer position may differ from the actual transfer position, including the actual assembly error, making it difficult to accurately execute the transfer operation. Specifically, this may result in chucking errors of the workpiece W or interference between the workpiece W and the sub-jaw 67.

上記した基準距離L1の設定では、接触検出装置65を用いた設定を実行することで、左側主軸装置12Lやワーク搬送装置14の部品の組み付け精度の誤差が含まれた距離、即ち、実測上の距離を基準距離L1として設定する。そして、制御装置15は、この基準距離L1を基準としてヘッド51の受渡位置を設定することで、誤差を補正した受渡位置を設定できる。具体的には、制御装置15は、例えば、図6に示すように、Z方向において、基準距離L1に補正距離L6だけ加算した位置を、ポジション名NO2の受渡位置P6のZ座標として設定することでZ座標を補正する。図6に示す例では、受渡位置P6は、基準位置P1よりも右側の位置となっているが、接触検出装置65やワークWの長さに応じて位置関係は変更される。 When setting the reference distance L1 described above, the contact detection device 65 is used to set the reference distance L1, which is a distance that includes errors in the assembly accuracy of the components of the left spindle unit 12L and the workpiece transport device 14, i.e., the actual measured distance. The control device 15 then sets the transfer position of the head 51 based on this reference distance L1, thereby correcting the error. Specifically, as shown in FIG. 6, the control device 15 corrects the Z coordinate by adding the correction distance L6 to the reference distance L1 in the Z direction and setting it as the Z coordinate of the transfer position P6 of position name No. 2. In the example shown in FIG. 6, the transfer position P6 is located to the right of the reference position P1, but the positional relationship can be changed depending on the contact detection device 65 and the length of the workpiece W.

そして、制御装置15は、この受渡位置P6をNCプログラムに設定し、第1把持部52から左側主軸装置12LへワークWを受け渡すポジション名NO2の受渡位置として設定する。これにより、部品の組み付け誤差等を補正した受渡位置P6を設定でき、ワークWの受け渡しを精度良く実行できる。制御装置15は、設定した受渡位置P6を用いてヘッド51から左側主軸装置12LへのワークWの受け渡しを実行する。具体的には、制御装置15は、ワークWを把持したヘッド51を受渡位置P6に配置すると、子爪67によってワークWを挟持させる。制御装置15は、第1爪部材57のチャックを解除し、ヘッド51を退避させた後に、左側主軸装置12Lを回転させ加工を開始する。 The control device 15 then sets this transfer position P6 in the NC program, setting it as the transfer position for position name No. 2 where the workpiece W is transferred from the first gripper 52 to the left spindle device 12L. This allows the transfer position P6 to be set while correcting for component assembly errors, etc., enabling the transfer of the workpiece W to be carried out with high precision. The control device 15 then transfers the workpiece W from the head 51 to the left spindle device 12L using the set transfer position P6. Specifically, when the control device 15 positions the head 51 gripping the workpiece W at the transfer position P6, it causes the child jaws 67 to clamp the workpiece W. The control device 15 releases the chuck of the first jaw member 57, retracts the head 51, and then rotates the left spindle device 12L to begin processing.

上記したように、本実施例の制御装置15は、基準位置設定処理において、左側主軸装置12Lの原点位置P3を基準として基準位置P1を設定する。これにより、相手装置である左側主軸装置12Lの所定の位置を原点とし、その原点を基準として接触検出装置65の測定結果を用いて、基準位置P1を精度良く設定できる。また、制御装置15は、位置設定処理において、入力されたワークWの長さと、左側主軸装置12Lの原点位置P3に基づいて、ヘッド51の設計上位置P5を演算する。制御装置15は、設計上位置P5と基準位置P1の差(補正距離L6)に基づいて受渡位置P6を補正する。これにより、実測値である基準距離L1と、設計上の距離L3を用いて補正距離L6を精度良く演算できる。尚、補正距離L6の演算方法は、上記した原点位置P3を用いる方法に限らず、例えば、ワーク搬送装置14の初期位置等を基準としても良い。As described above, in the reference position setting process, the control device 15 of this embodiment sets the reference position P1 based on the origin position P3 of the left spindle unit 12L. This allows the reference position P1 to be set accurately using the measurement results of the contact detection device 65, with a predetermined position of the mating device, the left spindle unit 12L, as the origin and the origin as the reference. Furthermore, in the position setting process, the control device 15 calculates the design position P5 of the head 51 based on the input length of the workpiece W and the origin position P3 of the left spindle unit 12L. The control device 15 corrects the transfer position P6 based on the difference between the design position P5 and the reference position P1 (correction distance L6). This allows the correction distance L6 to be calculated accurately using the reference distance L1, which is the actual measurement value, and the design distance L3. The method of calculating the correction distance L6 is not limited to using the origin position P3 described above; for example, the initial position of the workpiece transport device 14 may also be used as the reference.

また、制御装置15は、基準位置設定処理においてタッチプローブである接触検出装置65を用いて、スタイラス65Aを左側主軸装置12L(マスターワーク63)に接触させ、無線通信で接触検出信号SIを取得する。制御装置15は、接触検出信号SIが出力されるタイミングにおけるヘッド51の位置に基づいて基準位置P1を設定する。これにより、ヘッド51に接触検出装置65を保持させて計測する場合に、接触検出装置65と制御装置15を接続するケーブルが不要となる。また、複数の工作機械1の各々に無線装置18を設けることで、各工作機械1で接触検出装置65から接触検出信号SIを取得可能となり、接触検出装置65を複数の工作機械1で使い回しすることができる。全ての工作機械1に接触検出装置65を設ける必要がなく、工作機械1の製造コストを低減できる。 In addition, during the reference position setting process, the control device 15 uses the contact detection device 65, which is a touch probe, to bring the stylus 65A into contact with the left spindle unit 12L (master workpiece 63) and acquire a contact detection signal SI via wireless communication. The control device 15 sets the reference position P1 based on the position of the head 51 at the time the contact detection signal SI is output. This eliminates the need for a cable connecting the contact detection device 65 to the control device 15 when measurements are performed with the contact detection device 65 held by the head 51. Furthermore, by providing a wireless device 18 to each of multiple machine tools 1, the contact detection signal SI can be acquired from the contact detection device 65 at each machine tool 1, allowing the contact detection device 65 to be shared among multiple machine tools 1. This eliminates the need to provide a contact detection device 65 on every machine tool 1, thereby reducing the manufacturing cost of the machine tool 1.

また、制御装置15は、位置設定処理において、ワークWの長さL2として、左側主軸装置12Lに保持された状態のワークWにおける主軸69に沿った長さを入力値として取得している。制御装置15は、取得した入力値と基準位置P1とに基づいて、主軸69と平行なZ方向における受渡位置P6を設定する。これにより、左側主軸装置12Lの主軸69に沿った方向における受渡位置P6の誤差を、入力値により補正できる。 In addition, in the position setting process, the control device 15 acquires as an input value the length L2 of the workpiece W along the spindle 69 of the workpiece W while it is held by the left spindle device 12L. The control device 15 sets the transfer position P6 in the Z direction parallel to the spindle 69 based on the acquired input value and the reference position P1. This allows the input value to correct any error in the transfer position P6 in the direction along the spindle 69 of the left spindle device 12L.

上記した例では、ポジション名NO2の受渡位置について説明したが、他の受渡位置についても、同様に、補正を行うことができる。例えば、上記したポジション名NO1~NO6の加工工程では、2回の加工が実行されるため、ワークWの長さが、未加工の長さY1、第1加工工程後の長さY2、第2加工工程後の長さY3の3種類に変化する可能性がある。そこで、制御装置15は、図7の受付画面73に示すように、上記した3種類の長さY1、Y2、Y3を受け付ける。 In the above example, the transfer position for position No. 2 was described, but similar corrections can be made for other transfer positions. For example, in the machining processes for position Nos. 1 to 6 described above, two machining operations are performed, so the length of the workpiece W can change to three different lengths: the unmachined length Y1, the length after the first machining operation Y2, and the length after the second machining operation Y3. Therefore, the control device 15 accepts the three lengths Y1, Y2, and Y3, as shown on the reception screen 73 in Figure 7.

例えば、制御装置15は、ユーザの操作に基づいて、上記したポジション名NO2と同様に、他のポジション名NO1、3~6で必要な基準位置P1、基準距離L1の設定を、接触検出装置65を用いて実行する。また、制御装置15は、図7に示すように、3種類の長さY1,Y2、Y3を入力値として受け付ける。制御装置15は、3種類の長さY1、Y2、Y3について、長さの値そのものを入力値として受け付けても良く、長さの差分を受け付けても良い。例えば、制御装置15は、未加工の長さY1と、各加工工程後に短くなる差分の長さを受け付けても良い。制御装置15は、例えば、ポジション名NO1,2では未加工の長さY1を用いて、ポジション名NO3,4では、第1加工工程後の長さY2を用いて、ポジション名NO5,6では第2加工工程後の長さY3を用いて補正を実施する。For example, based on user operation, the control device 15 uses the contact detection device 65 to set the reference position P1 and reference distance L1 required for other position names Nos. 1, 3, and 6, similar to the above-mentioned position name No. 2. Furthermore, as shown in FIG. 7, the control device 15 accepts three lengths Y1, Y2, and Y3 as input values. For the three lengths Y1, Y2, and Y3, the control device 15 may accept the length values themselves as input values, or the difference in length. For example, the control device 15 may accept the unprocessed length Y1 and the difference in length resulting from each processing step. For example, the control device 15 performs correction using the unprocessed length Y1 for position names Nos. 1 and 2, the length after the first processing step Y2 for position names Nos. 3 and 4, and the length after the second processing step Y3 for position names Nos. 5 and 6.

従って、制御装置15は、位置設定処理において、例えば、加工前のワークWの長さY1を第1入力値、左側加工装置11Lにより加工が完了した後のワークWの長さY2を第2入力値、右側加工装置11Rにより加工が完了した後のワークWの長さY3を第3入力値として取得する。制御装置15は、左側加工装置11LへワークWを受け渡す際の受渡位置P6を長さY1に基づいて設定する。また、制御装置15は、右側加工装置11RへワークWを受け渡す際の受渡位置を長さY2に基づいて設定する。また、制御装置15は、ストッカ装置9へワークWを受け渡す際の受渡位置を長さY3に基づいて設定する。これにより、上記した第1把持部52から左側主軸装置12Lへの受け渡しと同様に、部品の組み付け誤差を補正した各受渡位置を設定し、精度良く受け渡しを実行できる。 Therefore, in the position setting process, the control device 15 acquires, for example, the length Y1 of the workpiece W before machining as a first input value, the length Y2 of the workpiece W after machining by the left-side machining device 11L as a second input value, and the length Y3 of the workpiece W after machining by the right-side machining device 11R as a third input value. The control device 15 sets the transfer position P6 when transferring the workpiece W to the left-side machining device 11L based on the length Y1. The control device 15 also sets the transfer position when transferring the workpiece W to the right-side machining device 11R based on the length Y2. The control device 15 also sets the transfer position when transferring the workpiece W to the stocker device 9 based on the length Y3. As a result, similar to the transfer from the first gripper 52 to the left-side spindle device 12L described above, each transfer position can be set to compensate for component assembly errors, allowing for accurate transfer.

図8は、一例として、ヘッド51とストッカ装置9の間でワークWを受け渡す場合を示している。図8のパレット10は、ストッカ装置9の作業位置に配置されたパレット10である。ストッカ装置9のパレット10には、例えば、複数の位置決めピン10Aが設けられている。パレット10の上面に載置されたワークWは、複数の位置決めピン10Aによって軸方向を上下方向に沿わせた状態で載置される。ヘッド51は、例えば、第1把持部52を下方へ向けた第4旋回位置RP4において、パレット10との間でワークWの受け渡しを実行する。この場合、制御装置15は、X方向におけるX座標を補正する。図8の上図に示すように、制御装置15は、ヘッド51に保持した接触検出装置65を、例えば、パレット10の上面に接触させた際のヘッド51の位置に基づいて、X方向の基準位置P1を設定する。制御装置15は、例えば、パレット10からワークWをヘッド51に受け取る際のワークWの長さとして、未加工のワークWの長さ(受付画面73のポジション名NO1の長さY1)を受け付ける。また、制御装置15は、パレット10にワークWを受け渡す長さとして第2加工後の長さ(受付画面73のポジション名NO6の長さY3)を受け付ける。そして、制御装置15は、受け付けた長さY1,Y3に基づいて、X方向における距離L3や補正距離L6を演算し、ポジション名NO1,NO6の受渡位置P6のX座標を補正する。 Figure 8 shows an example of transferring a workpiece W between the head 51 and the stocker device 9. The pallet 10 in Figure 8 is located at the work position of the stocker device 9. The pallet 10 of the stocker device 9 is provided with, for example, multiple positioning pins 10A. The workpiece W placed on the top surface of the pallet 10 is placed with its axial direction aligned in the vertical direction by the multiple positioning pins 10A. The head 51 transfers the workpiece W to and from the pallet 10, for example, at the fourth rotation position RP4 with the first gripper 52 facing downward. In this case, the control device 15 corrects the X coordinate in the X direction. As shown in the upper diagram of Figure 8, the control device 15 sets a reference position P1 in the X direction based on the position of the head 51 when the contact detection device 65 held by the head 51 is brought into contact with, for example, the top surface of the pallet 10. For example, the control device 15 receives the length of the unprocessed workpiece W (length Y1 of position name No. 1 on the reception screen 73) as the length of the workpiece W when it is received by the head 51 from the pallet 10. The control device 15 also receives the length after the second processing (length Y3 of position name No. 6 on the reception screen 73) as the length when the workpiece W is transferred to the pallet 10. The control device 15 then calculates the distance L3 and the correction distance L6 in the X direction based on the received lengths Y1 and Y3, and corrects the X coordinate of the transfer position P6 of position names No. 1 and No. 6.

従って、制御装置15は、未加工のワークWの受け渡し、加工後のワークWの受け渡し、ヘッド51から相手装置へのワークWの受け渡し、相手装置からヘッド51へのワークWの受け取りなど、様々な場合について受渡位置P6を設定できる。制御装置15は、3種類のワークWの長さY1~Y3を入力値として受け付けることで、上記した図6の場合と同様に、各長さY1~Y3に基づく補正距離L6と基準位置P1とによって受渡位置P6を精度良く補正できる。ユーザは、各長さY1~Y3を変更することで、各ポジションの受渡位置を変更できる。 The control device 15 can therefore set the transfer position P6 for various cases, such as the transfer of an unmachined workpiece W, the transfer of a machined workpiece W, the transfer of a workpiece W from the head 51 to a partner device, and the receipt of a workpiece W from a partner device to the head 51. By accepting the lengths Y1 to Y3 of three types of workpiece W as input values, the control device 15 can accurately correct the transfer position P6 using the correction distance L6 based on each length Y1 to Y3 and the reference position P1, as in the case of Figure 6 above. The user can change the transfer position for each position by changing each length Y1 to Y3.

また、上記した構成であれば、種類の異なるワークWに対しても、同じ基準位置P1、基準距離L1を用いることができる。ワークWの種類が異なっていても、左側主軸装置12Lとヘッド51の距離がワークWの長さに応じて変動するだけで、基本的には、同一の基準位置P1を流用できる。例えば、ユーザは、加工対象のワークWを変更する段取り替えごとに、受付画面73において、次に加工するワークWの長さを入力する。制御装置15は、任意のワークWをヘッド51から相手装置に受け渡す際の受渡位置P6を設定する場合と、任意のワークWとは種類が異なるワークWの受渡位置P6を設定する場合とで、同じ基準位置P1を用いる。このような構成では、段取り替えを実施しても、接触検出装置65を用いた基準位置設定処理を再度実施する必要がなくなる。このため、段取り替えにともなう作業時間を短縮し、生産効率を向上できる。尚、段取り替えごとに接触検出装置65を用いた基準位置設定処理を実施しても良い。 Furthermore, with the above-described configuration, the same reference position P1 and reference distance L1 can be used for different types of workpieces W. Even if the type of workpiece W is different, the distance between the left spindle unit 12L and the head 51 merely varies depending on the length of the workpiece W; essentially, the same reference position P1 can be used. For example, the user inputs the length of the next workpiece W to be machined on the reception screen 73 each time a changeover is performed to change the workpiece W to be machined. The control device 15 uses the same reference position P1 when setting the transfer position P6 for transferring a given workpiece W from the head 51 to the other device and when setting the transfer position P6 for a workpiece W of a different type from the given workpiece W. With this configuration, even when a changeover is performed, it is not necessary to perform the reference position setting process using the contact detection device 65 again. This reduces the work time associated with the changeover and improves production efficiency. It is also possible to perform the reference position setting process using the contact detection device 65 each time a changeover is performed.

因みに、ストッカ装置9は、相手装置、置台の一例である。左側主軸装置12Lは、相手装置、第1主軸装置の一例である。右側主軸装置12Rは、相手装置、第2主軸装置の一例である。左側タレット13Lは、第1加工装置の一例である。右側タレット13Rは、第2加工装置の一例である。ワーク搬送装置14は、ロボットの一例である。工具主軸装置21は、第1及び第2加工装置の一例である。第1爪部材57、第2爪部材58は、保持部材の一例である。長さY1、Y2、Y3は、第1入力値、第2入力値、第3入力値の一例である。 Incidentally, the stocker device 9 is an example of a counterpart device or a stand. The left-side spindle device 12L is an example of a counterpart device or a first spindle device. The right-side spindle device 12R is an example of a counterpart device or a second spindle device. The left-side turret 13L is an example of a first processing device. The right-side turret 13R is an example of a second processing device. The work transport device 14 is an example of a robot. The tool spindle device 21 is an example of a first and second processing device. The first claw member 57 and the second claw member 58 are examples of holding members. The lengths Y1, Y2, and Y3 are examples of a first input value, a second input value, and a third input value.

以上、上記した本実施例によれば以下の効果を奏する。
本実施例の一態様では、制御装置15は、ヘッド51で保持した接触検出装置65を左側主軸装置12Lに接触させ、接触検出装置65の接触検出信号SIの取得に基づいて接触時のヘッド51の基準位置P1を設定する。これにより、ヘッド51等の部品の組み付け精度の誤差を加味した基準位置P1を設定できる。そして、制御装置15は、ワークWの長さL2を入力値として取得し、入力値と基準位置P1とに基づいてヘッド51から左側主軸装置12LへワークWを受け渡す際の受渡位置P6を設定する。これにより、相手装置にセンサ等を設ける必要がなく、工作機械1の装置全体の簡素化を図りつつ、受渡位置P6を測定結果に基づいて精度良く設定できる。
As described above, the present embodiment provides the following effects.
In one aspect of the present embodiment, the control device 15 brings the contact detection device 65 held by the head 51 into contact with the left spindle device 12L, and sets a reference position P1 of the head 51 at the time of contact based on the contact detection signal SI obtained from the contact detection device 65. This makes it possible to set the reference position P1 taking into account errors in the assembly accuracy of parts such as the head 51. The control device 15 then obtains the length L2 of the workpiece W as an input value, and sets a transfer position P6 for transferring the workpiece W from the head 51 to the left spindle device 12L based on the input value and the reference position P1. This eliminates the need to provide a sensor or the like on the mating device, and allows the transfer position P6 to be set with high accuracy based on the measurement results while simplifying the entire machine tool 1.

尚、本開示は上記の実施例に限定されるものではなく、本開示の趣旨を逸脱しない範囲内での種々の改良、変更が可能であることは言うまでもない。
例えば、上記実施例において、工作機械1は、接触検出装置65を備える(常設された)構成でも良い。例えば、ワークWの置台や工具を置くステーションに接触検出装置65を常設しても良い。この場合、制御装置15は、測定等の必要な時に、接触検出装置65をワーク搬送装置14で取りに行き、測定を実施しても良い。
あるいは、図5の破線で示すように、ヘッド51に接触検出装置165を取り付けても良い。接触検出装置165は、例えば、スタイラス65Aを伸縮可能に構成され、制御装置15の制御に基づいて測定時はスタイラス65Aを第1爪部材57よりも前方へ突出する構成でも良い。また、接触検出装置165は、測定を実施しない不要な時は、スタイラス65Aを、支持部材56内に収納する構成でも良い。このように、工作機械1が、装置の一部に接触検出装置165を備えても良い。
また、上記実施例のヘッド51の構成は一例である。例えば、第2把持部53を第1把持部52と同一構造としたが、異なる構造でも良い。第2爪部材58の数が第1爪部材57の数よりも多くとも良い。また、第1及び第2把持部52,53は、180度だけ回転した位置に設けられたが、これに限らない。例えば、第2把持部53を、第1把持部52から90度だけ回転した位置に設けても良い。また、ヘッド51は、第1把持部52だけを備え、第2把持部53を備えなくとも良い。
It goes without saying that the present disclosure is not limited to the above-described embodiments, and various improvements and modifications are possible within the scope of the present disclosure.
For example, in the above embodiment, the machine tool 1 may be configured to include (permanently install) the contact detection device 65. For example, the contact detection device 65 may be permanently installed on a table for placing the workpiece W or on a station for placing tools. In this case, the control device 15 may retrieve the contact detection device 65 using the workpiece transport device 14 when measurement or the like is required, and perform the measurement.
Alternatively, as shown by the dashed line in Fig. 5, contact detection device 165 may be attached to head 51. Contact detection device 165 may be configured, for example, to enable stylus 65A to be extended and retracted, and may be configured to cause stylus 65A to protrude forward beyond first claw member 57 during measurement under the control of control device 15. Furthermore, contact detection device 165 may be configured to store stylus 65A within support member 56 when measurement is not being performed and is not required. In this way, machine tool 1 may be provided with contact detection device 165 as part of its device.
Furthermore, the configuration of the head 51 in the above embodiment is merely an example. For example, although the second gripping portion 53 has the same structure as the first gripping portion 52, it may have a different structure. The number of second claw members 58 may be greater than the number of first claw members 57. Furthermore, although the first and second gripping portions 52, 53 are provided at positions rotated 180 degrees, this is not limiting. For example, the second gripping portion 53 may be provided at a position rotated 90 degrees from the first gripping portion 52. Furthermore, the head 51 may include only the first gripping portion 52 and not the second gripping portion 53.

また、図6に示す基準位置設定時においてマスターワーク63を用いなくとも良い。例えば、左側主軸装置12Lにおけるヘッド51側の面の中心(複数の子爪67に囲まれた中心、主軸69上の位置)に接触検出装置65を接触させて基準位置P1を設定しても良い。従って、上記実施例では、接触検出装置65を接触させる相手装置の部材として、マスターワーク63を採用したが、これに限らない。例えば、左側主軸装置12Lが、ワークWを着座させ子爪67との間にワークWを把持する当金を備える場合、接触検出装置65を接触させる部材は、当金でも良い。また、左側主軸装置12Lが、子爪67と対向して配置され子爪67との間にワークWを把持する親爪を備える場合、接触検出装置65を接触させる部材は、親爪でも良い。また、左側主軸装置12Lのチャックが、コレットチャックである場合、接触検出装置65を接触させる部材は、コレットチャックでも良い。
また、相手装置としては、左側及び右側主軸装置12L,12R、ストッカ装置9に限らず、例えば、ワークWの向きを反転させるワーク反転装置、加工後のワークWをユーザが確認するために載置する仮置台、加工不良のワークWを排出する排出シュートでも良い。また、工作機械1は、本開示の相手装置として、複数の相手装置(左側及び右側主軸装置12L,12R、ストッカ装置9)を備えたが、相手装置を1つだけ(例えば、主軸装置を1つだけ)備える構成でも良い。
制御装置15は、種類の異なるワークWごとに基準位置設定処理を実行しても良い。
本開示におけるロボットは、上記したガントリ式のローダに限らず、多関節ロボットでも良い。
また、左側及び右側加工装置11L,11Rは、対向2軸の旋盤に限らず、平行2軸の旋盤でも良い。また、左側及び右側加工装置11L,11Rとしては、例えば、横型旋盤、正面旋盤、立型旋盤、マシニングセンタ、フライス盤、ボール盤など、様々な構成を採用できる。
Furthermore, the master workpiece 63 does not have to be used when setting the reference position shown in FIG. 6 . For example, the reference position P1 may be set by bringing the contact detection device 65 into contact with the center of the face of the left spindle unit 12L facing the head 51 (the center surrounded by multiple child jaws 67, a position on the spindle 69). Therefore, in the above embodiment, the master workpiece 63 is used as the component of the mating device with which the contact detection device 65 comes into contact, but this is not limited thereto. For example, if the left spindle unit 12L has a stopper that seats the workpiece W and grips the workpiece W between it and the child jaws 67, the component with which the contact detection device 65 comes into contact may be the stopper. Furthermore, if the left spindle unit 12L has a master jaw that is arranged opposite the child jaws 67 and grips the workpiece W between it and the child jaws 67, the component with which the contact detection device 65 comes into contact may be the master jaw. Furthermore, if the chuck of the left spindle unit 12L is a collet chuck, the component with which the contact detection device 65 comes into contact may be the collet chuck.
Furthermore, the mating devices are not limited to the left and right spindle devices 12L, 12R and the stocker device 9, but may also be, for example, a workpiece inversion device that inverts the orientation of the workpiece W, a temporary table on which the machined workpiece W is placed so that the user can check it, or a discharge chute that discharges defectively machined workpieces W. Furthermore, although the machine tool 1 is provided with a plurality of mating devices (the left and right spindle devices 12L, 12R, and the stocker device 9) as the mating devices of the present disclosure, it may also be configured to have only one mating device (for example, only one spindle device).
The control device 15 may execute the reference position setting process for each different type of workpiece W.
The robot in the present disclosure is not limited to the gantry-type loader described above, but may also be an articulated robot.
The left and right machining devices 11L, 11R are not limited to lathes with two opposing axes, but may be lathes with two parallel axes. Various configurations can be used for the left and right machining devices 11L, 11R, such as a horizontal lathe, a face lathe, a vertical lathe, a machining center, a milling machine, or a drill press.

1 工作機械、9 ストッカ装置(相手装置、置台)、12L 左側主軸装置(相手装置、第1主軸装置)、12R 右側主軸装置(相手装置、第2主軸装置)、13L 左側タレット(第1加工装置)、13R 右側タレット(第2加工装置)、14 ワーク搬送装置(ロボット)、15 制御装置、21 工具主軸装置(第1、第2加工装置)、57 第1爪部材(保持部材)、58 第2爪部材(保持部材)、63 マスターワーク、65 接触検出装置、69 主軸、L2 長さ、P1 基準位置、P3 原点位置、P6 受渡位置、SI 接触検出信号、Y1 長さ(第1入力値)、Y2 長さ(第2入力値)、Y3 長さ(第3入力値)、W ワーク。 1 Machine tool, 9 Stocker device (counter device, stand), 12L Left side spindle device (counter device, first spindle device), 12R Right side spindle device (counter device, second spindle device), 13L Left side turret (first processing device), 13R Right side turret (second processing device), 14 Workpiece transport device (robot), 15 Control device, 21 Tool spindle device (first and second processing devices), 57 First jaw member (holding member), 58 Second jaw member (holding member), 63 Master workpiece, 65 Contact detection device, 69 Spindle, L2 Length, P1 Reference position, P3 Origin position, P6 Delivery position, SI Contact detection signal, Y1 Length (first input value), Y2 Length (second input value), Y3 Length (third input value), W Workpiece.

Claims (6)

接触検出装置と、
保持部材を有し、前記保持部材によりワークを保持し前記ワークを搬送するロボットと、
前記ロボットから前記ワークを受け取る相手装置と、
制御装置と、
を備え、
前記接触検出装置は、
接触に応じた接触検出信号を前記制御装置へ出力し、
前記制御装置は、
前記ロボットを制御し前記接触検出装置を前記相手装置に接触させ、前記相手装置との接触を検出した際の前記接触検出信号を前記接触検出装置から取得し、前記接触検出信号の取得に基づいて接触時の前記ロボットの位置を基準位置として設定する基準位置設定処理と、
前記ワークの長さを入力値として取得し、取得した前記入力値と前記基準位置とに基づいて、前記入力値の長さの前記ワークを前記ロボットから前記相手装置へ受け渡す際の前記ロボットの位置である受渡位置を設定する位置設定処理と、
を実行し、
前記接触検出装置は、
前記ロボットの前記保持部材により保持された状態で、前記接触検出信号を無線通信により前記制御装置へ送信するタッチプローブであり、
前記制御装置
前記基準位置設定処理において、前記相手装置に前記接触検出装置を接触させた際に前記接触検出装置から前記接触検出信号が出力されるタイミングにおける前記ロボットの位置に基づいて前記基準位置を設定する、工作機械。
a contact detection device;
a robot having a holding member, which holds a workpiece with the holding member and transports the workpiece;
a counterpart device that receives the workpiece from the robot;
a control device;
Equipped with
The contact detection device
outputting a contact detection signal corresponding to the contact to the control device;
The control device
a reference position setting process for controlling the robot to bring the contact detection device into contact with the counterpart device, acquiring a contact detection signal from the contact detection device when contact with the counterpart device is detected, and setting the position of the robot at the time of contact as a reference position based on the acquired contact detection signal;
a position setting process for acquiring the length of the workpiece as an input value, and setting a transfer position, which is a position of the robot when transferring the workpiece having the length of the input value from the robot to the partner device, based on the acquired input value and the reference position;
Run
The contact detection device
a touch probe that transmits the contact detection signal to the control device by wireless communication while being held by the holding member of the robot;
the control device
In the reference position setting process, the reference position is set based on the position of the robot at the time when the contact detection device outputs the contact detection signal when the contact detection device is brought into contact with the counterpart device .
保持部材を有し、前記保持部材によりワークを保持し前記ワークを搬送するロボットと、
前記ロボットから前記ワークを受け取る相手装置と、
制御装置と、
を備え、
前記ロボットは、
前記保持部材により接触検出装置を保持可能であり、
前記接触検出装置は、
接触に応じた接触検出信号を前記制御装置へ出力し、
前記制御装置は、
前記ロボットの前記保持部材により前記接触検出装置を保持させた状態で前記ロボットを移動させ、前記接触検出装置を前記相手装置に接触させ、前記相手装置との接触を検出した際の前記接触検出信号を前記接触検出装置から取得し、前記接触検出信号の取得に基づいて接触時の前記ロボットの位置を基準位置として設定する基準位置設定処理と、
前記ワークの長さを入力値として取得し、取得した前記入力値と前記基準位置とに基づいて、前記入力値の長さの前記ワークを前記ロボットから前記相手装置へ受け渡す際の前記ロボットの位置である受渡位置を設定する位置設定処理と、を実行し、
前記接触検出装置は、
前記ロボットの前記保持部材により保持された状態で、前記接触検出信号を無線通信により前記制御装置へ送信するタッチプローブであり、
前記制御装置
前記基準位置設定処理において、前記相手装置に前記接触検出装置を接触させた際に前記接触検出装置から前記接触検出信号が出力されるタイミングにおける前記ロボットの位置に基づいて前記基準位置を設定する、工作機械。
a robot having a holding member, which holds a workpiece with the holding member and transports the workpiece;
a counterpart device that receives the workpiece from the robot;
a control device;
Equipped with
The robot
The holding member can hold the contact detection device,
The contact detection device
outputting a contact detection signal corresponding to the contact to the control device;
The control device
a reference position setting process in which the robot is moved while the contact detection device is held by the holding member of the robot, the contact detection device is brought into contact with the counterpart device, a contact detection signal is acquired from the contact detection device when contact with the counterpart device is detected, and the position of the robot at the time of contact is set as a reference position based on the acquired contact detection signal;
a position setting process for acquiring the length of the workpiece as an input value, and setting a transfer position, which is a position of the robot when the workpiece having the length of the input value is transferred from the robot to the counterpart device, based on the acquired input value and the reference position ;
The contact detection device
a touch probe that transmits the contact detection signal to the control device by wireless communication while being held by the holding member of the robot;
the control device
In the reference position setting process, the reference position is set based on the position of the robot at the time when the contact detection device outputs the contact detection signal when the contact detection device is brought into contact with the counterpart device .
前記制御装置は、
前記基準位置設定処理において、前記相手装置の原点位置を基準として前記基準位置を設定する、請求項1又は請求項2に記載の工作機械。
The control device
3. The machine tool according to claim 1, wherein in the reference position setting process, the reference position is set using an origin position of the counterpart device as a reference.
前記制御装置
前記位置設定処理において、前記ワークの種類ごとに前記入力値をそれぞれ取得し、任意の前記ワークを前記ロボットから前記相手装置に受け渡す際の前記受渡位置を設定する場合と、任意の前記ワークとは種類が異なるワークを前記ロボットから前記相手装置に受け渡す際の前記受渡位置を設定する場合とで、同じ前記基準位置を用いる、請求項1又は請求項2に記載の工作機械。
The control device: In the position setting process, the input value is acquired for each type of workpiece, and the same reference position is used when setting the transfer position when transferring any of the workpieces from the robot to the other device and when setting the transfer position when transferring a workpiece of a different type from the any of the workpieces from the robot to the other device.
複数の前記相手装置を備え、
複数の前記相手装置は、
前記ワークを保持して回転する第1主軸装置及び第2主軸装置と、
前記ワークを載置可能な置台と、
を含み、
前記工作機械は、
前記第1主軸装置により保持された前記ワークに対する加工を実行する第1加工装置と、
前記第2主軸装置により保持された前記ワークに対する加工を実行する第2加工装置と、
を備え、
前記置台は、
前記第1加工装置及び前記第2加工装置による加工が完了した後の前記ワークを載置可能であり、
前記制御装置
前記位置設定処理において、加工前の前記ワークの長さを第1入力値、前記第1加工装置により加工が完了した後の前記ワークの長さを第2入力値、前記第2加工装置により加工が完了した後の前記ワークの長さを第3入力値として取得し、前記第1加工装置へ前記ワークを受け渡す際の前記受渡位置を前記第1入力値に基づいて設定し、前記第2加工装置へ前記ワークを受け渡す際の前記受渡位置を前記第2入力値に基づいて設定し、前記置台へ前記ワークを受け渡す際の前記受渡位置を前記第3入力値に基づいて設定する、請求項1又請求項2に記載の工作機械。
a plurality of the counterpart devices;
The plurality of counterpart devices
a first spindle unit and a second spindle unit that hold and rotate the workpiece;
a table on which the workpiece can be placed;
Including,
The machine tool comprises:
a first machining device that performs machining on the workpiece held by the first spindle device;
a second machining device that performs machining on the workpiece held by the second spindle device;
Equipped with
The stand is
The workpiece can be placed on the worktable after the processing by the first processing device and the second processing device is completed,
The control device of claim 1 or claim 2, wherein in the position setting process, the length of the workpiece before machining is acquired as a first input value, the length of the workpiece after machining is completed by the first machining device as a second input value, and the length of the workpiece after machining is completed by the second machining device as a third input value, and the transfer position when transferring the workpiece to the first machining device is set based on the first input value, the transfer position when transferring the workpiece to the second machining device is set based on the second input value, and the transfer position when transferring the workpiece to the table is set based on the third input value.
前記相手装置は、
前記ワークを保持し主軸を中心に前記ワークを回転させる主軸装置であり、
前記制御装置
前記位置設定処理において、前記ワークの長さとして、前記主軸装置に保持された状態の前記ワークにおける前記主軸に沿った長さを前記入力値として取得し、取得した前記入力値と前記基準位置とに基づいて、前記主軸と平行な方向における前記受渡位置を設定する、請求項1又は請求項2に記載の工作機械。
The other device is
a spindle device that holds the workpiece and rotates the workpiece around a spindle,
3. The control device of claim 1, wherein in the position setting process, the length of the workpiece along the spindle while it is held by the spindle device is acquired as the input value, and the transfer position in a direction parallel to the spindle is set based on the acquired input value and the reference position.
JP2024508878A 2022-03-23 2022-03-23 machine tools Active JP7791985B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/013438 WO2023181156A1 (en) 2022-03-23 2022-03-23 Machine tool

Publications (2)

Publication Number Publication Date
JPWO2023181156A1 JPWO2023181156A1 (en) 2023-09-28
JP7791985B2 true JP7791985B2 (en) 2025-12-24

Family

ID=88100437

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2024508878A Active JP7791985B2 (en) 2022-03-23 2022-03-23 machine tools

Country Status (2)

Country Link
JP (1) JP7791985B2 (en)
WO (1) WO2023181156A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002187041A (en) 2000-12-19 2002-07-02 Murata Mach Ltd Loader control equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03213241A (en) * 1990-01-17 1991-09-18 Murata Mach Ltd Workpiece conveying method
JPH10301609A (en) * 1997-04-28 1998-11-13 Denso Corp Robot position error detection method and device
JPH11333672A (en) * 1998-05-22 1999-12-07 Okuma Corp Work conveying device
US6257077B1 (en) * 1998-09-08 2001-07-10 Alan C. Patterson Remotely powered sensing arrangement for a rotatable device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002187041A (en) 2000-12-19 2002-07-02 Murata Mach Ltd Loader control equipment

Also Published As

Publication number Publication date
WO2023181156A1 (en) 2023-09-28
JPWO2023181156A1 (en) 2023-09-28

Similar Documents

Publication Publication Date Title
US11376739B2 (en) Workpiece transport robot
CN113639702B (en) Automatic system and method for machining and flatness detection
JP7545488B2 (en) Automatic Tool Changer
CN112888533B (en) Automatic workpiece conveyor
CN106425651A (en) Machining system with machine tool and robot for attaching and detaching workpiece
US20210379709A1 (en) Machining center and workpiece processing method
JP7791985B2 (en) machine tools
JP2003275941A (en) Nc machine tool
JPS61231406A (en) Size measuring device
JP7796206B2 (en) machine tools
WO2026004624A1 (en) Display control device
JPH11333672A (en) Work conveying device
JP4898290B2 (en) Work transfer device with electric chuck with measurement function
KR102479602B1 (en) Machine tools and control method of the same
JPH11188513A (en) Automatic chuck changing method and automatic chuck changing device for machine tool
JP7572453B2 (en) Teaching system for automatic workpiece transport device
JP3087075B2 (en) Scroll shape processing device
JP7675905B1 (en) Robot control device and robot control method
JPH09131606A (en) Working device
JP7594655B2 (en) Inspection Equipment
JP2001009666A (en) Machine tool equipment
WO2026004177A1 (en) Conveyance system and robot
CN118103173A (en) Front double-spindle lathe
WO2022180921A1 (en) Processing system
JP2023027515A (en) Workpiece turnover device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20241127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250916

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20251003

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20251209

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20251212

R150 Certificate of patent or registration of utility model

Ref document number: 7791985

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150