JP2020069581A - Transport device and machine tool - Google Patents

Transport device and machine tool Download PDF

Info

Publication number
JP2020069581A
JP2020069581A JP2018205054A JP2018205054A JP2020069581A JP 2020069581 A JP2020069581 A JP 2020069581A JP 2018205054 A JP2018205054 A JP 2018205054A JP 2018205054 A JP2018205054 A JP 2018205054A JP 2020069581 A JP2020069581 A JP 2020069581A
Authority
JP
Japan
Prior art keywords
arm
door
unit
operable range
moving
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.)
Granted
Application number
JP2018205054A
Other languages
Japanese (ja)
Other versions
JP7035963B2 (en
Inventor
尚晃 吉良
Naoaki Kira
尚晃 吉良
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2018205054A priority Critical patent/JP7035963B2/en
Priority to CN201910978955.7A priority patent/CN111113126B/en
Publication of JP2020069581A publication Critical patent/JP2020069581A/en
Application granted granted Critical
Publication of JP7035963B2 publication Critical patent/JP7035963B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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
    • 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
    • B23Q7/043Construction of the grippers
    • 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
    • B23Q7/046Handling workpieces or tools

Abstract

To provide a transport device in which an arm device can be prevented from colliding with a door depending on an opened/closed condition of the door, and a machine tool.SOLUTION: A CPU receives a movement command to move a gripping part to a target coordinate (S11). The CPU sets an operable range on the basis of a position of a door and an extension and contraction position of an arm device (S12). The operable range is a range in which the gripping part does not contact a wall part of a cover and the door when extending the arm device toward the cover side or to the opposite side thereof and moving the arm device along a running shaft. The CPU determines whether or not the target coordinate is in the operable range (S13). When the target coordinate is in the operable range (S13:YES), the CPU starts to move the arm device (S14). When the target coordinate is out of the operable range (S13:NO), the CPU restricts execution of the movement command (S21). Therefore, the transport device can prevent the arm device from colliding with the door and the wall part.SELECTED DRAWING: Figure 18

Description

本発明は、搬送装置と工作機械に関する。   The present invention relates to a carrier device and a machine tool.

工作機械は、加工中に潤滑油と切り屑等が周囲に飛散しない様に、工作機械全体を覆うカバーを備える。カバーは壁部に被削材取り出し用の開口部と、該開口部を開閉する扉を備える。特許文献1に記載の被削材交換用のロボットは、扉の開閉方向に沿って移動可能に設ける。ロボットは、連結機構を備える。連結機構は、扉に設けたドグをセンサで検出した時に扉と連結する。ロボットと扉が連結すると、ロボットの移動で扉は開閉する。ロボットは、複数のアームを備えた多関節のアーム装置である。アーム装置は、アーム先端の把持部で被削材を掴み、ロボットの移動で扉を開いた状態で、被削材を外部からカバー内の工作台上に搬送し、或は加工済みの被削材をカバー外へ搬送する。   The machine tool includes a cover that covers the entire machine tool so that lubricating oil, chips, and the like do not scatter around during machining. The cover has an opening for taking out the work material on the wall portion and a door for opening and closing the opening. The work material replacement robot described in Patent Document 1 is provided so as to be movable along the opening and closing direction of the door. The robot includes a connecting mechanism. The connecting mechanism connects with the door when the dog provided on the door is detected by the sensor. When the robot and the door are connected, the door is opened and closed by the movement of the robot. The robot is an articulated arm device having a plurality of arms. The arm device grasps the work material with the gripping part at the tip of the arm, conveys the work material from the outside onto the work table in the cover with the door opened by the movement of the robot, or finishes the machined work material. Transport the material outside the cover.

特許第3249553号公報Japanese Patent No. 3249553

扉が十分に開いていない場合、アーム装置のアーム動作によって、アーム装置が扉と衝突する可能性があった。   If the door is not sufficiently open, the arm operation of the arm device may cause the arm device to collide with the door.

本発明の目的は、扉の開閉状態に応じて、アーム装置が扉と衝突するのを防止できる搬送装置と工作機械を提供することである。   An object of the present invention is to provide a carrier device and a machine tool capable of preventing the arm device from colliding with the door depending on the opened / closed state of the door.

請求項1の搬送装置は、工作機械を取り囲むカバーの壁部に設けた開口部を開閉する扉の移動方向に対して平行に設けられた走行軸と、前記走行軸に沿って移動する移動部と、前記移動部に設け、前記開口部に直交する方向に平行な所定方向に伸縮可能で、且つ先端部に被削材を把持可能な把持部を備え、前記カバー側に伸ばしたときに前記開口部を介して前記カバー内に進入可能なアーム装置と、前記移動部と前記アーム装置の動作を制御する動作制御部とを備え、前記動作制御部が前記移動部と前記アーム装置を制御して前記把持部が把持した前記被削材を搬送する搬送装置において、前記扉の位置である扉位置を検出する扉位置検出部と、前記移動部の位置である移動位置を検出する移動位置検出部と、前記アーム装置の前記所定方向における伸縮位置を検出するアーム位置検出部と、前記扉位置検出部が検出した前記扉位置と、前記移動位置検出部が検出した前記移動位置と、前記アーム位置検出部が検出した前記伸縮位置とに基づき、前記アーム装置を前記カバー側、若しくは前記カバー側とは反対側に伸ばし、前記移動部を前記走行軸に沿って移動した場合、前記アーム装置が前記壁部及び前記扉の何れにも接触しない動作可能範囲を設定する動作可能範囲設定部と、前記把持部を目標位置に移動する移動指令を受け付ける受付部と、前記受付部が前記移動指令を受け付けた場合、前記目標位置は前記動作可能範囲設定部が設定した前記動作可能範囲内か否か判断する判断部とを備え、前記動作制御部は、前記判断部が前記目標位置は前記動作可能範囲内と判断した場合、前記移動部及び前記アーム装置の動作を制御し、前記移動指令を実行する実行部と、前記判断部が前記目標位置は前記動作可能範囲外と判断した場合、前記移動指令の実行を制限する実行制限部とを備えたことを特徴とする。搬送装置は、扉位置、移動位置、アーム装置の伸縮位置に基づき、アーム装置の把持部の動作可能範囲を変更する。搬送装置は、移動指令の目標位置が動作可能範囲外の場合、移動指令の実行を制限する。故に搬送装置は、アーム装置が扉と壁に衝突するのを防止できる。例えば扉が十分に開放していないにも関わらず、把持部をカバー側に移動する移動指令を受け付けた場合、搬送装置は移動指令の実行を制限するので、アーム装置が扉に衝突するのを防止できる。   The transport apparatus according to claim 1, wherein a traveling shaft provided in parallel to a moving direction of a door that opens and closes an opening provided in a wall portion of a cover that surrounds the machine tool, and a moving unit that moves along the traveling axis. And a gripping part provided on the moving part, capable of expanding and contracting in a predetermined direction parallel to the direction orthogonal to the opening part, and having a tip part capable of gripping a work material, when extended to the cover side. An arm device that can enter the cover through an opening, and an operation control unit that controls operations of the moving unit and the arm device, and the operation control unit controls the moving unit and the arm device. And a moving position detecting unit for detecting a door position which is a position of the door, and a moving position detecting a moving position which is a position of the moving unit. And the predetermined direction of the arm device An arm position detection unit that detects an expansion / contraction position, the door position detected by the door position detection unit, the movement position detected by the movement position detection unit, and the expansion / contraction position detected by the arm position detection unit. Based on the above, when the arm device is extended to the cover side or the opposite side to the cover side and the moving part is moved along the traveling axis, the arm device is attached to both the wall part and the door. An operable range setting unit that sets an operable range that does not contact, a reception unit that receives a movement command to move the gripping unit to a target position, and if the reception unit receives the movement command, the target position is the movement And a determination unit that determines whether the target position is within the operable range set by the possible range setting unit. An execution unit that controls the operations of the moving unit and the arm device and executes the movement command; and, if the determination unit determines that the target position is outside the operable range, limits the execution of the movement command. And an execution limiting unit. The transfer device changes the operable range of the grip portion of the arm device based on the door position, the moving position, and the expansion / contraction position of the arm device. The carrier device limits execution of the movement command when the target position of the movement command is outside the operable range. Therefore, the transfer device can prevent the arm device from colliding with the door and the wall. For example, even if the door is not fully opened, when the movement command for moving the grip portion to the cover side is received, the transport device limits execution of the movement command, so that the arm device does not collide with the door. It can be prevented.

請求項2の搬送装置の前記動作可能範囲設定部は前記扉位置検出部が検出した前記扉位置が、前記開口部を閉塞する閉塞位置である場合、前記移動部の前記走行軸の全領域を走行可能な全領域走行ストロークと、前記アーム装置の前記反対側における伸縮ストロークである外側伸縮ストロークとに基づき、第一動作可能範囲を設定する第一範囲設定部と、前記扉位置検出部が検出した前記扉位置が、前記開口部を開放する開放位置で、且つ前記アーム位置検出部が検出した前記伸縮位置が前記反対側である場合、前記開口部の開口範囲に対応する前記移動部の前記走行軸における走行ストロークと、前記アーム装置の前記カバー側における伸縮ストロークである内側伸縮ストロークと、前記全領域走行ストロークと、前記外側伸縮ストロークとに基づき、第二動作可能範囲する第二範囲設定部と、前記扉位置検出部が検出した前記扉位置が、前記開口部を開放する開放位置で、且つ前記アーム位置検出部が検出した前記伸縮位置が前記カバー側である場合、前記走行ストロークと、前記アーム装置の前記所定方向における伸縮ストロークとに基づき、第三動作可能範囲を設定する第三範囲設定部とを備えるとよい。搬送装置は、扉位置、移動位置、アーム装置の伸縮位置に応じて、第一動作可能範囲、第二動作可能範囲、第三動作可能範囲の何れかを設定する。故に搬送装置は、アーム装置が扉と壁に衝突するのを効果的に防止できる。   When the door position detected by the door position detection unit is a closing position that closes the opening, the operable range setting unit of the transport apparatus according to claim 2 sets an entire region of the traveling shaft of the moving unit. Detected by the first range setting unit that sets the first operable range and the door position detection unit based on the travelable entire-region travel stroke and the outer expansion / contraction stroke that is the expansion / contraction stroke on the opposite side of the arm device. When the door position is the open position for opening the opening, and the expansion / contraction position detected by the arm position detection unit is on the opposite side, the moving unit corresponding to the opening range of the opening is A travel stroke on a travel axis, an inner expansion / contraction stroke that is an expansion / contraction stroke on the cover side of the arm device, the entire region travel stroke, and the outer expansion / contraction stroke. Based on the above, the second range setting section that is the second operable range and the door position detected by the door position detection section are the open positions that open the opening section, and the expansion and contraction detected by the arm position detection section. When the position is on the cover side, a third range setting unit that sets a third operable range based on the traveling stroke and the expansion / contraction stroke of the arm device in the predetermined direction may be provided. The transfer device sets any one of the first operable range, the second operable range, and the third operable range according to the door position, the moving position, and the expansion / contraction position of the arm device. Therefore, the transfer device can effectively prevent the arm device from colliding with the door and the wall.

請求項3の搬送装置は、工作機械を取り囲むカバーの壁部に設けた開口部を開閉する扉の移動方向に対して平行に設けられた走行軸と、前記走行軸に沿って移動する移動部と、前記移動部に設け、前記開口部に直交する方向に平行な所定方向に伸縮可能で、且つ先端部に被削材を把持可能な把持部を備え、前記カバー側に伸ばしたときに前記開口部を介して前記カバー内に進入可能なアーム装置と、前記アーム装置と前記扉を連結する連結機構と、前記移動部、前記アーム装置、前記連結機構の動作を制御する動作制御部とを備え、前記動作制御部が前記移動部と、前記アーム装置と、前記連結機構を制御し、前記把持部が把持した前記被削材を搬送する搬送装置において、前記扉の位置である扉位置を検出する扉位置検出部と、前記アーム装置の前記所定方向における伸縮位置を検出するアーム位置検出部と、前記扉位置検出部が検出した前記扉位置と、前記アーム位置検出部が検出した前記伸縮位置とに基づき、前記アーム装置を前記カバー側、若しくは前記カバーとは反対側に伸ばし、前記移動部を前記走行軸に沿って移動した場合、前記アーム装置が前記壁部及び前記扉の何れにも接触しない動作可能範囲を設定する動作可能範囲設定部と、前記把持部を目標位置に移動する移動指令を受け付ける受付部と、前記受付部が前記移動指令を受け付けた場合、前記目標位置は前記動作可能範囲設定部が設定した前記動作可能範囲内か否か判断する判断部とを備え、前記動作制御部は、前記判断部が前記目標位置は前記動作可能範囲内と判断した場合、前記移動部及び前記アーム装置の動作を制御し、前記移動指令を実行する実行部と、前記判断部が前記目標位置は前記動作可能範囲外と判断した場合、前記移動指令の実行を制限する実行制限部とを備えたことを特徴とする。搬送装置は、扉位置とアーム装置の伸縮位置に基づき、アーム装置の把持部の動作可能範囲を変更する。搬送装置は、移動指令の目標位置が動作可能範囲外の場合、移動指令の実行を制限する。故に搬送装置は、アーム装置が扉と壁に衝突するのを防止できる。例えば扉が十分に開放していないにも関わらず、把持部をカバー側に移動する移動指令を受け付けた場合、搬送装置は移動指令の実行を制限するので、アーム装置が扉に衝突するのを防止できる。   The transport apparatus according to claim 3, wherein the traveling shaft is provided in parallel with a moving direction of a door that opens and closes an opening provided in a wall of a cover that surrounds the machine tool, and a moving unit that moves along the traveling shaft. And a gripping part provided on the moving part, capable of expanding and contracting in a predetermined direction parallel to the direction orthogonal to the opening part, and having a tip part capable of gripping a work material, when extended to the cover side. An arm device that can enter the cover through an opening, a connection mechanism that connects the arm device and the door, and an operation control unit that controls operations of the moving unit, the arm device, and the connection mechanism. In the transfer device, in which the operation control unit controls the moving unit, the arm device, and the connection mechanism to transfer the work material held by the holding unit, a door position that is the position of the door is set. Door position detection unit to detect and the arm The arm device based on the arm position detection unit that detects the expansion / contraction position of the stationary unit in the predetermined direction, the door position detected by the door position detection unit, and the expansion / contraction position detected by the arm position detection unit. An operation of setting an operable range in which the arm device does not come into contact with either the wall part or the door when the moving part is extended along the traveling axis along the cover side or the opposite side of the cover. A possible range setting unit, a receiving unit that receives a movement command to move the gripping unit to a target position, and, if the receiving unit receives the movement command, the target position is the operation set by the operable range setting unit. A determination unit that determines whether or not the target position is within the operable range, the operation control unit determines whether the target position is within the operable range. And an execution limiting unit that limits the execution of the movement command when the determination unit determines that the target position is outside the operable range. It is characterized by The transfer device changes the operable range of the grip portion of the arm device based on the door position and the expansion / contraction position of the arm device. The carrier device limits execution of the movement command when the target position of the movement command is outside the operable range. Therefore, the transfer device can prevent the arm device from colliding with the door and the wall. For example, even if the door is not fully opened, when the movement command for moving the grip portion to the cover side is received, the transport device limits execution of the movement command, so that the arm device does not collide with the door. It can be prevented.

請求項4の搬送装置の前記動作可能範囲設定部は、前記扉位置検出部が検出した前記扉位置が前記開口部を閉塞する閉塞位置である場合、前記移動部の前記走行軸の全領域を走行可能な全領域走行ストロークと、前記アーム装置の前記反対側における伸縮ストロークである外側伸縮ストロークとに基づき、第一動作可能範囲を設定する第一範囲設定部と、前記扉位置検出部が検出した前記扉位置が前記開口部を開放する開放位置で、且つ前記アーム位置検出部が検出した前記伸縮位置が前記反対側である場合、前記連結機構で前記扉と連結した前記移動部の前記開口部の開口範囲に対応する前記走行軸における走行ストロークと、前記アーム装置の前記カバー側における伸縮ストロークである内側伸縮ストロークと、前記全領域走行ストロークと、前記外側伸縮ストロークとに基づき、第二動作可能範囲する第二範囲設定部と、前記扉位置検出部が検出した前記扉位置が、前記開口部を開放する開放位置で、且つ前記アーム位置検出部が検出した前記伸縮位置が前記カバー側である場合、前記走行ストロークと、前記アーム装置の前記所定方向における伸縮ストロークとに基づき、第三動作可能範囲を設定する第三範囲設定部とを備えるとよい。搬送装置は、扉位置とアーム装置の伸縮位置に応じて、第一動作可能範囲、第二動作可能範囲、第三動作可能範囲の何れかを設定する。故に搬送装置は、アーム装置が扉と壁に衝突するのを効果的に防止できる。   When the door position detected by the door position detection unit is a closing position that closes the opening, the operable range setting unit of the transport device according to claim 4 sets the entire area of the traveling axis of the moving unit. Detected by the first range setting unit that sets the first operable range and the door position detection unit based on the travelable entire-region travel stroke and the outer expansion / contraction stroke that is the expansion / contraction stroke on the opposite side of the arm device. When the door position is an open position that opens the opening, and the expansion / contraction position detected by the arm position detection unit is the opposite side, the opening of the moving unit that is connected to the door by the connecting mechanism. Travel stroke on the travel shaft corresponding to the opening range of the portion, an inner expansion / contraction stroke that is an expansion / contraction stroke on the cover side of the arm device, and the entire region travel straw. And a second range setting unit that is in a second operable range based on the outer expansion and contraction stroke, and the door position detected by the door position detection unit is an open position that opens the opening, and the arm position. When the expansion / contraction position detected by the detection unit is on the cover side, a third range setting unit that sets a third operable range based on the traveling stroke and the expansion / contraction stroke of the arm device in the predetermined direction is provided. Be prepared. The transfer device sets one of the first operable range, the second operable range, and the third operable range according to the door position and the expansion / contraction position of the arm device. Therefore, the transfer device can effectively prevent the arm device from colliding with the door and the wall.

請求項5の搬送装置は、前記アーム装置と前記扉の連結を検出する連結検出部と、前記アーム装置の移動位置を検出する移動位置検出部とを備え、前記扉位置検出部は、前記連結検出部が前記連結を検出した状態で、前記移動位置検出部が検出した前記移動位置に基づき、前記扉位置を検出するとよい。搬送装置は、扉と連結したアーム装置の移動位置を検出することで扉位置が分かるので、扉位置と移動位置を別個に検出する必要が無い。   The transport device according to claim 5, further comprising a connection detection unit that detects connection between the arm device and the door, and a movement position detection unit that detects a movement position of the arm device, wherein the door position detection unit includes the connection. The door position may be detected based on the moving position detected by the moving position detecting unit in a state where the detecting unit detects the connection. Since the transport device can know the door position by detecting the moving position of the arm device connected to the door, it is not necessary to detect the door position and the moving position separately.

請求項6の搬送装置の前記動作可能範囲設定部は、前記アーム位置検出部が検出した前記伸縮位置が、前記扉と前記アーム装置の間に設定する基準位置よりも前記カバー側である場合、前記伸縮位置は前記カバー側と判断するアーム位置判断部を備えるとよい。アーム装置の伸縮位置が基準位置よりもカバー側である場合、伸縮位置はカバー側と判断する。故に搬送装置は、仮に扉が開放した状態で、アーム装置がカバー内に進入していなくても、伸縮位置がカバー側である場合は、第三動作可能範囲を設定する。故に搬送装置は、アーム装置が扉に衝突するのを効果的に防止できる。   The movable range setting unit of the transport device according to claim 6, wherein the expansion / contraction position detected by the arm position detection unit is closer to the cover than a reference position set between the door and the arm device, It is preferable that the telescopic position includes an arm position determination unit that determines the cover side. When the expansion / contraction position of the arm device is closer to the cover than the reference position, the expansion / contraction position is determined to be the cover side. Therefore, even if the door is open and the arm device does not enter the cover, the transport device sets the third operable range if the expansion / contraction position is on the cover side. Therefore, the transfer device can effectively prevent the arm device from colliding with the door.

請求項7の搬送装置の前記アーム装置は、長尺状である複数のアーム部と、前記複数のアーム部を屈曲可能に連結する少なくとも一つの関節部とを備え、前記アーム位置検出部は、前記関節部の位置と、前記把持部の位置を検出し、前記アーム位置判断部は、前記アーム位置検出部が検出した前記関節部の位置と前記把持部の位置のうち少なくとも何れかが前記基準位置よりも前記カバー側である場合は、前記伸縮位置は前記カバー側と判断するとよい。搬送装置は、アーム装置の少なくとも一部が基準位置よりもカバー側に位置した場合でも、伸縮位置はカバー側と判断するので、アーム装置が扉に衝突するのを効果的に防止できる。   The arm device of the carrier device according to claim 7, comprising a plurality of elongated arm portions, and at least one joint portion that bendably connects the plurality of arm portions, and the arm position detection portion, The position of the joint part and the position of the grip part are detected, and the arm position determination part determines that at least one of the position of the joint part and the position of the grip part detected by the arm position detection part is the reference. When the position is closer to the cover than the position, the expansion / contraction position may be determined to be toward the cover. Even if at least a part of the arm device is located closer to the cover than the reference position, the transport device determines that the expansion / contraction position is on the cover side, so that the arm device can be effectively prevented from colliding with the door.

請求項8の搬送装置は、前記アーム部の長尺方向の長さであるアーム長を受け付けるアーム長受付部を備え、前記動作可能範囲設定部は、前記アーム長受付部が受け付けた前記アーム長に基づき、前記外側伸縮ストローク、前記内側伸縮ストローク、前記伸縮ストロークを算出する算出部を備えるとよい。故に搬送装置は、アーム装置を交換したことで、アーム長が変更した場合でも、交換後のアーム長から外側伸縮ストローク、内側伸縮ストローク、伸縮ストロークを算出できる。   The transport apparatus according to claim 8, further comprising an arm length receiving unit that receives an arm length that is the length of the arm unit in the lengthwise direction, and the operable range setting unit includes the arm length receiving unit that receives the arm length. Based on the above, it is preferable to include a calculation unit that calculates the outside expansion / contraction stroke, the inside expansion / contraction stroke, and the expansion / contraction stroke. Therefore, the transfer device can calculate the outer expansion / contraction stroke, the inner expansion / contraction stroke, and the expansion / contraction stroke from the changed arm length even if the arm length is changed by exchanging the arm device.

請求項9の工作機械は、工作機械を取り囲むカバーと、前記カバーの壁部に設けた開口部を開閉可能で、且つ被削材を搬送可能な請求項1から8の何れかに記載の搬送装置と
を備えたことを特徴とする。工作機械は請求項1から8の何れかに記載の搬送装置を備えるので、請求項1から8の何れかに記載の効果を得ることができる。
The machine tool according to claim 9, wherein a cover surrounding the machine tool and an opening provided in a wall portion of the cover can be opened and closed, and a work material can be transferred. And a device. Since the machine tool includes the carrying device according to any one of claims 1 to 8, the effect according to any one of claims 1 to 8 can be obtained.

工作機械1の右斜め前方からの斜視図。The perspective view from the diagonal right front of the machine tool 1. 工作機械1の右斜め後方からの斜視図。The perspective view from the diagonally right rear of the machine tool 1. アーム装置12の斜視図。FIG. 3 is a perspective view of the arm device 12. アーム装置12の正面図。The front view of the arm device 12. 扉6が閉じた時のアーム装置12の位置を示す図。The figure which shows the position of the arm apparatus 12 when the door 6 is closed. 扉6が開いた時のアーム装置12の位置を示す図。The figure which shows the position of the arm apparatus 12 when the door 6 opens. 図5に示すロッド機構30周囲の部分拡大図。The elements on larger scale around the rod mechanism 30 shown in FIG. 状態1を示す図。The figure which shows the state 1. 状態2−1を示す図。The figure which shows the state 2-1. 状態2−2を示す図。The figure which shows the state 2-2. アーム部122の伸縮の一態様を示す図。The figure which shows the one aspect | mode of expansion / contraction of the arm part 122. アーム部122の伸縮の別態様を示す図。The figure which shows another aspect of expansion and contraction of the arm part 122. アーム部122の伸縮の別態様を示す図。The figure which shows another aspect of expansion and contraction of the arm part 122. アーム部122の伸縮の別態様を示す図。The figure which shows another aspect of expansion and contraction of the arm part 122. 搬送装置10の電気的構成を示すブロック図。FIG. 3 is a block diagram showing an electrical configuration of the carrier device 10. 範囲設定テーブル741の概念図。The conceptual diagram of the range setting table 741. 伸縮ストローク算出処理の流れ図。The flow chart of expansion-contraction stroke calculation processing. 移動制御処理の流れ図。The flowchart of a movement control process. 動作可能範囲設定処理の流れ図。The flowchart of an operable range setting process. 範囲設定テーブル742(第二実施形態)の概念図。The conceptual diagram of the range setting table 742 (2nd embodiment). 状態1−1を示す図。The figure which shows the state 1-1. 状態1−2を示す図。The figure which shows the state 1-2. 状態2−1を示す図。The figure which shows the state 2-1. 状態2−2を示す図。The figure which shows the state 2-2. 状態2−3を示す図。The figure which shows the state 2-3. 動作可能範囲設定処理(第二実施形態)の流れ図。The flowchart of an operable range setting process (2nd embodiment).

本発明の第一実施形態を説明する。以下説明は図中に矢印で示す左右、前後、上下を使用する。工作機械1の左右方向、前後方向、上下方向は、夫々、工作機械1のX軸方向、Y軸方向、Z軸方向である。   A first embodiment of the present invention will be described. In the following description, left and right, front and rear, and up and down indicated by arrows in the drawing are used. The left-right direction, the front-back direction, and the up-down direction of the machine tool 1 are the X-axis direction, the Y-axis direction, and the Z-axis direction of the machine tool 1, respectively.

図1,図2を参照し、工作機械1の構造を説明する。工作機械1は、主軸(図示略)がZ軸方向に延びる立型工作機械である。工作機械1は、基台部2、機械本体3、カバー5を備える。基台部2は鉄製土台である。機械本体3は基台部2上部に設ける。機械本体3は、工作台(図示略)上面に固定する被削材(図示略)の切削加工等を行う。工作台は基台部2上面に設置する。カバー5は基台部2上部に固定し、機械本体3の周囲を取り囲む。工作機械1の動作は、数値制御装置8(図15参照)で制御する。   The structure of the machine tool 1 will be described with reference to FIGS. 1 and 2. The machine tool 1 is a vertical machine tool whose main axis (not shown) extends in the Z-axis direction. The machine tool 1 includes a base 2, a machine body 3, and a cover 5. The base part 2 is an iron base. The machine body 3 is provided above the base unit 2. The machine body 3 cuts a work material (not shown) fixed to the upper surface of a work table (not shown). The workbench is installed on the upper surface of the base 2. The cover 5 is fixed to the upper part of the base 2 and surrounds the machine body 3. The operation of the machine tool 1 is controlled by the numerical controller 8 (see FIG. 15).

カバー5は右側壁51に、開口部511、壁部512、扉6を備える。開口部511は、右側壁51の後側に設け右側面視略矩形状に形成する。壁部512は、開口部511の前側に並んで設け右側面視略矩形状に形成する。扉6は、壁部512の内面に沿って前後方向にスライド自在に設け開口部511を開閉する。扉6の開閉機構は、例えば右側壁51の開口部511の上下に設けたガイドレール(図示略)、扉6の上部と下部に設けた複数のベアリング等を備える。ガイドレールはY軸方向に延びる。扉6側に設けた複数のベアリングがガイドレールに沿って摺動し、扉6はY軸方向にスライド移動する。カバー5は右側壁51の外側に搬送装置10を更に取り付ける。搬送装置10は、数値制御装置8と相互に通信を行い、被削材の搬送と扉6の開閉を行う。   The cover 5 includes an opening 511, a wall 512, and a door 6 on the right side wall 51. The opening 511 is provided on the rear side of the right side wall 51 and is formed in a substantially rectangular shape in right side view. The wall portion 512 is provided side by side on the front side of the opening portion 511 and is formed in a substantially rectangular shape in right side view. The door 6 is provided slidably in the front-rear direction along the inner surface of the wall portion 512 and opens and closes the opening portion 511. The opening / closing mechanism of the door 6 includes, for example, guide rails (not shown) provided above and below the opening 511 of the right side wall 51, a plurality of bearings provided above and below the door 6, and the like. The guide rail extends in the Y-axis direction. A plurality of bearings provided on the door 6 side slide along the guide rails, and the door 6 slides in the Y-axis direction. The cover 5 further mounts the transfer device 10 on the outside of the right side wall 51. The transfer device 10 communicates with the numerical control device 8 to transfer the work material and open / close the door 6.

図1〜図4を参照し、搬送装置10の構成を説明する。図1,図2に示す如く、搬送装置10は、移動部11、アーム装置12、移動機構14等を備える。移動部11は移動機構14でY軸方向にスライド移動する。アーム装置12は移動部11上部に設け、X軸方向とZ軸方向に伸縮可能で、且つ被削材を把持可能である。故にアーム装置12は扉6を開いた状態で、カバー5内の工作台(図示略)上面に保持する被削材の交換を行える。   The configuration of the transport device 10 will be described with reference to FIGS. As shown in FIGS. 1 and 2, the transfer device 10 includes a moving unit 11, an arm device 12, a moving mechanism 14, and the like. The moving unit 11 slides in the Y-axis direction by the moving mechanism 14. The arm device 12 is provided on the upper part of the moving unit 11, is capable of expanding and contracting in the X-axis direction and the Z-axis direction, and is capable of gripping a work material. Therefore, the arm device 12 can exchange the work material held on the upper surface of the work table (not shown) in the cover 5 with the door 6 opened.

移動機構14は基台部2の右側面に設け、枠体部15、移動モータ16(図2参照)、ボール螺子17、一対の走行軸18A,18B、蛇腹カバー19等を備える。枠体部15は右側面視略矩形状に形成し、基台部2の右側面に固定する。移動モータ16は枠体部15の後部から後方に突出するように固定する。移動モータ16の出力軸は枠体部15内を前方に突出する。ボール螺子17は、枠体部15内にてY軸方向に延びるように配置し、回転可能に支持する。ボール螺子17は移動モータ16の出力軸と同軸上に連結する。   The moving mechanism 14 is provided on the right side surface of the base portion 2, and includes a frame body portion 15, a moving motor 16 (see FIG. 2), a ball screw 17, a pair of traveling shafts 18A and 18B, a bellows cover 19, and the like. The frame body portion 15 is formed in a substantially rectangular shape when viewed from the right side, and is fixed to the right side surface of the base portion 2. The moving motor 16 is fixed so as to project rearward from the rear portion of the frame body portion 15. The output shaft of the moving motor 16 projects forward in the frame body portion 15. The ball screw 17 is arranged in the frame body portion 15 so as to extend in the Y-axis direction and is rotatably supported. The ball screw 17 is coaxially connected to the output shaft of the moving motor 16.

一対の走行軸18A,18Bは、枠体部15の内側にてボール螺子17を上下方向から挟むように、且つY軸方向に延びるように互いに平行に設ける。走行軸18A,18Bは、移動部11をY軸方向に案内可能に支持する。以下説明は、走行軸18A,18Bを総称する場合、走行軸18と呼ぶ。移動部11はボール螺子17に取り付ける。蛇腹カバー19は、枠体部15の開口する右側を覆い、且つY軸方向に伸縮可能に枠体部15に固定する。蛇腹カバー19の後端部は移動部11の前側部に固定する。蛇腹カバー19と同じものを移動部11の後部にも設ける。蛇腹カバー19は移動部11のY軸方向への移動に従い伸縮する。故に移動機構14は枠体部15内に切粉等が侵入するのを防止できる。移動モータ16が駆動すると、ボール螺子17は回転する。ボール螺子17の回転に伴い、移動部11はY軸方向に移動するので、アーム装置12はY軸方向に移動する。   The pair of traveling shafts 18A and 18B are provided in parallel with each other so as to sandwich the ball screw 17 from the vertical direction inside the frame body portion 15 and extend in the Y-axis direction. The traveling shafts 18A and 18B support the moving unit 11 so that it can be guided in the Y-axis direction. In the following description, the traveling shafts 18A and 18B will be collectively referred to as the traveling shaft 18 when they are collectively referred to. The moving part 11 is attached to the ball screw 17. The bellows cover 19 covers the right side of the opening of the frame body portion 15 and is fixed to the frame body portion 15 so as to be expandable and contractable in the Y-axis direction. The rear end of the bellows cover 19 is fixed to the front side of the moving unit 11. The same thing as the bellows cover 19 is also provided in the rear part of the moving part 11. The bellows cover 19 expands and contracts as the moving unit 11 moves in the Y-axis direction. Therefore, the moving mechanism 14 can prevent chips and the like from entering the frame body portion 15. When the moving motor 16 is driven, the ball screw 17 rotates. With the rotation of the ball screw 17, the moving unit 11 moves in the Y-axis direction, so that the arm device 12 moves in the Y-axis direction.

アーム装置12は、本体部121とアーム部122を備える。本体部121は移動部11上部に立設し、上下方向に長い略直方体状に形成する。本体部121は後面上部に第一関節部41を備える。第一関節部41は、Y軸方向に延びる軸心を中心に、アーム部122の後述する第一アーム21を回転可能に支持する。本体部121は内部に第一モータ81(図15参照)を格納する。第一モータ81は第一アーム21を回転駆動する。本体部121は上面部にロッド機構30を備える。ロッド機構30は、ロッド35(図4,図5参照)をカバー5側である左方向に対し進退可能に駆動する。ロッド35は、扉6の外面の後端部に設けた連結板60(図1,図4,図7参照)の連結孔65(図7参照)に挿入して係合可能である。連結板60は、扉6の外面の後端部から右方に隙間を空けた状態で支持する。連結孔65は連結板60の中央部を左右方向に貫通する。ロッド35が連結孔65に挿入して係合すると、ロッド機構30と連結板60は連結し、本体部121と扉6は一体化する。故に扉6は、アーム装置12と一体してY軸方向に移動することで、右側壁51の開口部511を開閉できる(図5,図6参照)。   The arm device 12 includes a main body 121 and an arm 122. The main body 121 is erected on the upper part of the moving part 11 and is formed in a substantially rectangular parallelepiped shape that is long in the vertical direction. The main body 121 includes the first joint 41 on the upper rear surface. The first joint section 41 rotatably supports a first arm 21 of the arm section 122, which will be described later, around an axis extending in the Y-axis direction. The main body 121 stores the first motor 81 (see FIG. 15) inside. The first motor 81 rotationally drives the first arm 21. The main body 121 includes the rod mechanism 30 on the upper surface. The rod mechanism 30 drives the rod 35 (see FIGS. 4 and 5) so as to be able to move forward and backward with respect to the left side which is the cover 5 side. The rod 35 can be inserted into and engaged with the connecting hole 65 (see FIG. 7) of the connecting plate 60 (see FIGS. 1, 4, and 7) provided at the rear end of the outer surface of the door 6. The connecting plate 60 supports the door 6 with a gap leftward from the rear end of the outer surface of the door 6. The connecting hole 65 penetrates the central portion of the connecting plate 60 in the left-right direction. When the rod 35 is inserted into and engaged with the connecting hole 65, the rod mechanism 30 and the connecting plate 60 are connected, and the main body 121 and the door 6 are integrated. Therefore, the door 6 can open and close the opening 511 of the right side wall 51 by moving in the Y-axis direction integrally with the arm device 12 (see FIGS. 5 and 6).

図3,図4に示す如く、アーム部122は、第一アーム21と第二アーム22を折り畳み可能に備える。本体部121の第一関節部41は、第一アーム21の一端部を回動可能に支持する。第一アーム21は他端部に第二関節部42を備える。第二関節部42は、Y軸方向に延びる軸心を中心に、第二アーム22の一端部を回動可能に支持する。第二アーム22は他端部に第三関節部43を備える。第三関節部43は、Y軸方向に延びる軸心を中心に、二つの把持部23A,23B(図1,図2では図示略)を回動可能に支持する。把持部23A,23Bは、第三関節部43の軸心を中心とする周方向に90°離間する位置に夫々支持する。把持部23A,23Bは被削材を把持可能である。   As shown in FIGS. 3 and 4, the arm portion 122 includes a first arm 21 and a second arm 22 that can be folded. The first joint portion 41 of the main body portion 121 rotatably supports one end portion of the first arm 21. The first arm 21 has a second joint 42 at the other end. The second joint portion 42 rotatably supports one end portion of the second arm 22 about an axis extending in the Y-axis direction. The second arm 22 includes a third joint 43 at the other end. The third joint portion 43 rotatably supports the two gripping portions 23A and 23B (not shown in FIGS. 1 and 2) about an axis extending in the Y-axis direction. The grip portions 23A and 23B are respectively supported at positions separated by 90 ° in the circumferential direction around the axis of the third joint portion 43. The gripping portions 23A and 23B can grip the work material.

第一アーム21は内部に第二モータ82(図15参照)を格納する。第二モータ82は第二関節部42のギア(図示略)を介して第二アーム22を駆動する。第二アーム22は内部に第三モータ83(図15参照)を格納する。第三モータ83は第三関節部43のギアを介して把持部23A,23Bを回転駆動する。把持部23A,23Bはエアシリンダ231を備える。エアシリンダ231は、被削材の把持動作を行う為の駆動源である。以下説明は、二つの把持部23を総称する場合、把持部23と呼ぶ。   The first arm 21 stores the second motor 82 (see FIG. 15) inside. The second motor 82 drives the second arm 22 via a gear (not shown) of the second joint section 42. The second arm 22 stores the third motor 83 (see FIG. 15) inside. The third motor 83 rotationally drives the grip portions 23A and 23B via the gear of the third joint portion 43. The grip portions 23A and 23B include an air cylinder 231. The air cylinder 231 is a drive source for gripping a work material. In the following description, the two grips 23 will be collectively referred to as the grip 23.

図7を参照し、ロッド機構30の構造を説明する。ロッド機構30は、本体部121の上面部に固定する。ロッド機構30は、エアシリンダ33、連結竿34、ロッド35、進退センサ36,37、カバー38(図3参照)等を備える。エアシリンダ33は筒状に形成し、開口する先端側をカバー5側である左方に向け、且つX軸方向に沿うようにして上面部に固定する。エアシリンダ33は、先端部からシリンダロッド331を左方向に対して進退自在に備える。連結竿34は、エアシリンダ33のシリンダロッド331の先端部に同軸上に固定し左方に突出する。   The structure of the rod mechanism 30 will be described with reference to FIG. 7. The rod mechanism 30 is fixed to the upper surface of the main body 121. The rod mechanism 30 includes an air cylinder 33, a connecting rod 34, a rod 35, advance / retreat sensors 36 and 37, a cover 38 (see FIG. 3), and the like. The air cylinder 33 is formed in a tubular shape, and is fixed to the upper surface portion so that the open front end side is directed to the left side which is the cover 5 side and along the X-axis direction. The air cylinder 33 is provided with a cylinder rod 331 that can move forward and backward in the left direction from the tip portion. The connecting rod 34 is coaxially fixed to the tip end portion of the cylinder rod 331 of the air cylinder 33 and protrudes leftward.

ロッド35は、連結竿34の先端部に同軸上に固定し棒状に形成する。ロッド35は、扉6側に突出する。ロッド35は、連結竿34を介してエアシリンダ33のシリンダロッド331と同軸上に連結する。故にロッド35はシリンダロッド331の進退動作に伴い、左右方向に対して移動可能となる。   The rod 35 is coaxially fixed to the tip of the connecting rod 34 and formed into a rod shape. The rod 35 projects toward the door 6. The rod 35 is coaxially connected to the cylinder rod 331 of the air cylinder 33 via the connecting rod 34. Therefore, the rod 35 can move in the left-right direction as the cylinder rod 331 moves back and forth.

進退センサ36,37は、本体部121の上面部にて、連結竿34近傍にてY軸方向に離間して固定する。進退センサ37の位置は、ロッド35が左方に移動し、連結孔65に係合した時の連結竿34の位置に対応する。連結孔65に係合した状態のロッド35の位置は、突出位置である。故に進退センサ37は、ロッド35が突出位置に移動したことを検出する。進退センサ36は、ロッド35が右方に移動し、連結孔65から完全に抜けた時の連結竿34の位置に対応する。連結孔65から完全に抜けた状態のロッド35の位置は、待機位置である。故に進退センサ36は、ロッド35が待機位置に移動したことを検出する。カバー38は、エアシリンダ33、連結竿34、ロッド35等を上方から覆うようにして、本体部121の上面部に固定する。故にカバー38は、ロッド機構30内に切粉等が堆積するのを防止できる。   The advance / retreat sensors 36 and 37 are fixed on the upper surface of the main body 121 in the vicinity of the connecting rod 34 so as to be separated in the Y axis direction. The position of the advance / retreat sensor 37 corresponds to the position of the connecting rod 34 when the rod 35 moves leftward and engages with the connecting hole 65. The position of the rod 35 in the state of being engaged with the connecting hole 65 is the protruding position. Therefore, the advance / retreat sensor 37 detects that the rod 35 has moved to the protruding position. The advance / retreat sensor 36 corresponds to the position of the connecting rod 34 when the rod 35 moves to the right and is completely removed from the connecting hole 65. The position of the rod 35 completely removed from the connection hole 65 is the standby position. Therefore, the advance / retreat sensor 36 detects that the rod 35 has moved to the standby position. The cover 38 covers the air cylinder 33, the connecting rod 34, the rod 35, and the like from above, and is fixed to the upper surface of the main body 121. Therefore, the cover 38 can prevent chips and the like from accumulating in the rod mechanism 30.

図4に示す如く、本体部121は、第一関節部41の扉6側に、近接センサ91を固定する。近接センサ91は磁気の変化で部材の接近を感知する。近接センサ91は、扉6側に固定した位置検出用のドグ67を検出可能である。ドグ67は、扉6における近接センサ91に対応する位置に固定する。近接センサ91がドグ67を検出した時、本体部121は、扉6の後端部と相対し、ロッド35と連結孔65は互いに対向する位置関係(図5,図7参照)となる。   As shown in FIG. 4, the main body part 121 fixes the proximity sensor 91 to the door 6 side of the first joint part 41. The proximity sensor 91 detects the approach of a member by the change of magnetism. The proximity sensor 91 can detect the dog 67 for position detection fixed to the door 6 side. The dog 67 is fixed to the door 6 at a position corresponding to the proximity sensor 91. When the proximity sensor 91 detects the dog 67, the main body 121 faces the rear end of the door 6, and the rod 35 and the connecting hole 65 face each other (see FIGS. 5 and 7).

図1,図5,図6を参照し、搬送装置10の動作の一例を説明する。搬送装置10は、アーム装置12を走行軸18に沿って、扉6の閉端位置に移動する。扉6の閉端位置は、走行軸18におけるY軸方向の移動範囲のうち最後端の位置である。搬送装置10は、アーム装置12を閉端位置から扉6の開端方向(前方向)に向けて低速で移動する。   An example of the operation of the transport device 10 will be described with reference to FIGS. 1, 5, and 6. The carrier device 10 moves the arm device 12 along the traveling shaft 18 to the closed end position of the door 6. The closed end position of the door 6 is the rearmost position of the moving range of the traveling shaft 18 in the Y-axis direction. The carrier device 10 moves the arm device 12 from the closed end position toward the open end direction (front direction) of the door 6 at a low speed.

アーム装置12側の近接センサ91が、扉6側のドグ67を検出したとき、搬送装置10はアーム装置12を停止する。扉6が既に閉じている時(図5参照)、アーム装置12の移動開始と同時に、近接センサ91はドグ67を検出し、ロッド35と連結孔65は互いに対向する。搬送装置10はエアシリンダ33を駆動し、連結竿34とロッド35を左方に移動する。ロッド35の先端部は、連結孔65に挿入して係合する。ロッド35は左方に移動できないので、エアシリンダ33はロッド35の位置を保持する。搬送装置10は、アーム装置12を扉6と一体に連結した状態で、前方に高速で移動する。アーム装置12は高速で扉6を開き、開口部511を広げる。   When the proximity sensor 91 on the arm device 12 side detects the dog 67 on the door 6 side, the transport device 10 stops the arm device 12. When the door 6 is already closed (see FIG. 5), the proximity sensor 91 detects the dog 67 at the same time when the arm device 12 starts moving, and the rod 35 and the connecting hole 65 face each other. The transfer device 10 drives the air cylinder 33 to move the connecting rod 34 and the rod 35 to the left. The tip of the rod 35 is inserted into and engaged with the connecting hole 65. Since the rod 35 cannot move to the left, the air cylinder 33 holds the position of the rod 35. The transfer device 10 moves forward at high speed in a state where the arm device 12 is integrally connected to the door 6. The arm device 12 opens the door 6 at high speed and widens the opening 511.

搬送装置10は、アーム装置12を進入可位置で停止する。進入可位置とは、開口部511において、把持部23がカバー5内に進入できる開口幅を形成する時のアーム装置12の位置である。なお、Y軸方向において把持部23よりも被削材の幅が大きい場合、進入可位置は、被削材がカバー5内に進入できる開口幅を形成する時のアーム装置12の位置にするとよい。また、搬送装置10は、アーム装置12を開端位置で停止してもよい。開端位置とは、Y軸方向の移動範囲のうち最前端であって、開口部511を完全に開いた状態とする位置である。搬送装置10はアーム部122を駆動し、開口部511を介して、把持部23をカバー5内に移動し、例えば工作台上面に固定する被削材の交換動作を行う。被削材の交換動作後、搬送装置10は、アーム部122をカバー5外に移動する。   The carrier device 10 stops the arm device 12 at the admissible position. The accessible position is a position of the arm device 12 when the grip 23 forms an opening width that allows the grip 23 to enter the cover 5 in the opening 511. In addition, when the width of the work material is larger than the grip portion 23 in the Y-axis direction, the admissible position is preferably the position of the arm device 12 when forming the opening width that allows the work material to enter the cover 5. .. Further, the transfer device 10 may stop the arm device 12 at the open end position. The open end position is the foremost end in the range of movement in the Y-axis direction, and is the position where the opening 511 is completely opened. The transfer device 10 drives the arm part 122 to move the grip part 23 into the cover 5 through the opening part 511, and performs a work material exchange operation for fixing the work part to the upper surface of the work table, for example. After the work material replacement operation, the transfer device 10 moves the arm portion 122 to the outside of the cover 5.

搬送装置10は、アーム装置12を扉6と一体に連結した状態で、扉6の閉端位置まで高速で移動する。アーム装置12が閉端位置で停止すると、搬送装置10はエアシリンダ33の駆動を停止する。シリンダロッド331は右方に後退するので、連結竿34と共にロッド35は右方に後退し、連結孔65から抜ける。アーム装置12と扉6の連結は解消する。搬送装置10の一連の動作は終了する。   The transfer device 10 moves at high speed to the closed end position of the door 6 while the arm device 12 is integrally connected to the door 6. When the arm device 12 stops at the closed end position, the transfer device 10 stops driving the air cylinder 33. Since the cylinder rod 331 is retracted to the right, the rod 35 is retracted to the right along with the connecting rod 34, and is removed from the connecting hole 65. The connection between the arm device 12 and the door 6 is released. A series of operations of the carrier device 10 is completed.

図4,図8,図11〜図14を参照し、アーム部122の制御点を説明する。アーム装置12は移動部11で走行軸18に沿ってY軸方向に移動可能である。アーム部122はX軸方向とZ軸方向に伸縮可能である。搬送装置10はアーム部122のX軸方向とZ軸方向における伸縮位置を正確に認識する為、アーム部122に三つの制御点を設定する。アーム部122の伸縮位置とは、アーム部122の伸縮動作による把持部23の位置を意味する。本実施形態は説明の便宜上、X軸方向におけるアーム部122の伸縮位置を具体的に説明し、Z軸方向における伸縮位置の説明については、X軸方向の説明を援用して簡単に説明する。以下説明は、アーム部122のX軸方向における伸縮位置を、アーム部122のX軸位置と呼ぶ。   Control points of the arm portion 122 will be described with reference to FIGS. 4, 8, and 11 to 14. The arm unit 12 is movable in the Y-axis direction along the traveling shaft 18 by the moving unit 11. The arm part 122 is expandable / contractible in the X-axis direction and the Z-axis direction. The transport device 10 sets three control points on the arm portion 122 in order to accurately recognize the expansion / contraction position of the arm portion 122 in the X-axis direction and the Z-axis direction. The extension / contraction position of the arm portion 122 means the position of the grip portion 23 due to the extension / contraction operation of the arm portion 122. In the present embodiment, for convenience of description, the expansion / contraction position of the arm portion 122 in the X-axis direction will be specifically described, and the expansion / contraction position in the Z-axis direction will be briefly described with reference to the description of the X-axis direction. In the following description, the expansion / contraction position of the arm portion 122 in the X-axis direction is referred to as the X-axis position of the arm portion 122.

図4に示す如く、アーム部122の制御点は、第二関節部42、第三関節部43、把持部23の先端部44の三点の座標位置である。把持部23の先端部44は、把持部23A,23BのうちX軸方向に突出する把持部23Aの先端部とする。これら三点の座標位置は、第一アーム21、第二アーム22、把持部23を駆動する第一モータ81、第二モータ82、第三モータ83の夫々の回転位置に基づき算出する。   As shown in FIG. 4, the control points of the arm portion 122 are the coordinate positions of the three points of the second joint portion 42, the third joint portion 43, and the tip portion 44 of the grip portion 23. The tip portion 44 of the grip portion 23 is the tip portion of the grip portion 23A that protrudes in the X-axis direction among the grip portions 23A and 23B. The coordinate positions of these three points are calculated based on the respective rotational positions of the first arm 21, the second arm 22, and the first motor 81 that drives the grip 23, the second motor 82, and the third motor 83.

アーム部122は、待機姿勢に制御可能である。図1,図2に示す如く、アーム部122の待機姿勢は、第一アーム21と第二アーム22が互いに平行に重なるように、第二関節部42で180°屈曲して折れ曲がり、垂直上方に起立した姿勢である。図8に示す如く、待機姿勢時、平面視にて、第二関節部42、第三関節部43、把持部23の先端部44は、走行軸18に対して平行に延びる基準線P上に位置する。基準線Pはx=0である。本実施形態は、基準線Pから右側であって、カバー5とは反対側をプラス(+)側、基準線Pよりもカバー5側をマイナス(−)側とする。プラス側の領域には、例えば被削材を載置可能な作業台(図示略)等を設置するとよい。   The arm part 122 can be controlled to a standby posture. As shown in FIG. 1 and FIG. 2, the arm member 122 is in a standby posture in which the first arm 21 and the second arm 22 are bent and bent 180 ° at the second joint portion 42 and vertically upward so that the first arm 21 and the second arm 22 overlap each other in parallel. It is a standing posture. As shown in FIG. 8, in the standby posture, the second joint portion 42, the third joint portion 43, and the tip end portion 44 of the grip portion 23 are on a reference line P extending parallel to the traveling shaft 18 in plan view. To position. The reference line P is x = 0. In the present embodiment, the right side of the reference line P, the side opposite to the cover 5 is the plus (+) side, and the cover 5 side of the reference line P is the minus (-) side. In the plus side area, for example, a work table (not shown) on which a work material can be placed may be installed.

第二関節部42、第三関節部43、把持部23の先端部44の全ての制御点がプラス側に位置する場合、アーム部122のX軸位置はプラス側である。第二関節部42、第三関節部43、把持部23の先端部44の全ての制御点が基準線P上に位置する場合も、アーム部122のX軸位置はプラス側である。第二関節部42、第三関節部43、把持部23の先端部44の制御点のうち一点でもマイナス側に位置する場合、アーム部122のX軸位置はマイナス側である。   When all the control points of the second joint portion 42, the third joint portion 43, and the tip end portion 44 of the grip portion 23 are located on the plus side, the X-axis position of the arm portion 122 is on the plus side. Even when all the control points of the second joint portion 42, the third joint portion 43, and the tip end portion 44 of the grip portion 23 are located on the reference line P, the X-axis position of the arm portion 122 is on the plus side. When any one of the control points of the second joint portion 42, the third joint portion 43, and the tip portion 44 of the grip portion 23 is located on the minus side, the X-axis position of the arm portion 122 is on the minus side.

図11〜図14は、アーム部122のX軸位置がマイナス側である時の複数例である。図11では、第二関節部42、第三関節部43、把持部23の先端部44の全ての制御点がマイナス側に位置する。図12では、把持部23の先端部44と第三関節部43の二つの制御点がマイナス側に位置する。図13では、把持部23の先端部44の制御点のみがマイナス側に位置する。図14では、第二関節部42の制御点のみがマイナス側に位置する。これら4つの例は何れもアーム部122のX軸位置はマイナス側である。   11 to 14 show a plurality of examples when the X-axis position of the arm portion 122 is on the minus side. In FIG. 11, all the control points of the second joint portion 42, the third joint portion 43, and the tip end portion 44 of the grip portion 23 are located on the minus side. In FIG. 12, the two control points of the tip portion 44 of the grip portion 23 and the third joint portion 43 are located on the minus side. In FIG. 13, only the control point of the tip portion 44 of the grip portion 23 is located on the minus side. In FIG. 14, only the control point of the second joint 42 is located on the minus side. In each of these four examples, the X-axis position of the arm portion 122 is on the minus side.

図5,図6を参照し、扉6の開状態と閉状態を説明する。アーム装置12は、ロッド機構30で扉6と連結した状態で、走行軸18に沿って移動することで扉6を開閉する。故に扉6とアーム装置12が連結する時、扉6とアーム装置12のY軸方向の位置は同じである。故に搬送装置10は、扉6とアーム装置12が連結する時、アーム装置12のY軸方向の位置(以下、Y軸位置と呼ぶ)を検出することで、扉6が開状態か閉状態かを間接的に認識できる。開状態とは、開口部511において少なくとも把持部23がカバー5内に進入可能な開口幅を形成できる扉6の状態であり、アーム装置12が進入可位置と開端位置の間に位置した時の扉6の状態である(図6参照)。閉状態とは、把持部23がカバー5内に進入できない扉6の状態であり、アーム装置12が閉端位置と進入可位置の間に位置した時の扉6の状態である(図5参照)。故に搬送装置10は、アーム装置12のY軸位置を検出することで、扉6が開状態か閉状態かを認識できる。   The open state and the closed state of the door 6 will be described with reference to FIGS. 5 and 6. The arm device 12 opens and closes the door 6 by moving along the traveling shaft 18 while being connected to the door 6 by the rod mechanism 30. Therefore, when the door 6 and the arm device 12 are connected, the positions of the door 6 and the arm device 12 in the Y-axis direction are the same. Therefore, when the door 6 and the arm device 12 are connected to each other, the transport device 10 detects the position of the arm device 12 in the Y-axis direction (hereinafter referred to as the Y-axis position) to determine whether the door 6 is in the open state or the closed state. Can be indirectly recognized. The open state is a state of the door 6 in which at least the gripping portion 23 can form an opening width that allows the grip 23 to enter the cover 5 in the opening 511, and when the arm device 12 is positioned between the enterable position and the open end position. This is the state of the door 6 (see FIG. 6). The closed state is a state of the door 6 in which the grip portion 23 cannot enter the cover 5, and is a state of the door 6 when the arm device 12 is positioned between the closed end position and the admissible position (see FIG. 5). ). Therefore, the transport device 10 can recognize whether the door 6 is open or closed by detecting the Y-axis position of the arm device 12.

図8〜図10を参照し、アーム部122の動作可能範囲を説明する。アーム装置12のY軸位置と、アーム部122のX軸位置に応じて、アーム部122が動作できる範囲は異なる。本実施形態は、アーム装置12のY軸位置と、アーム部122のX軸位置に応じて、アーム装置12の状態を、状態1、2−1、2−2の三つに分類する。状態1は扉6が閉状態、状態2−1,2−2は扉6が開状態である。   The operable range of the arm portion 122 will be described with reference to FIGS. The operable range of the arm unit 122 differs depending on the Y-axis position of the arm device 12 and the X-axis position of the arm unit 122. In this embodiment, the state of the arm device 12 is classified into three states 1, 2-1, and 2-2 according to the Y-axis position of the arm device 12 and the X-axis position of the arm portion 122. In state 1, the door 6 is closed, and in states 2-1 and 2-2, the door 6 is open.

アーム装置12のY軸位置は、進入可と進入不可の二種類に分類する。進入可は、アーム装置12が進入可位置と開端位置の間であって、把持部23がカバー5内に進入可能な位置である。進入不可は、アーム装置12が閉端位置又は閉塞位置と進入可位置の間であって、把持部23がカバー5内に進入できない位置である。本実施形態は、アーム装置12の状態に応じて、アーム部122の動作可能範囲を設定する。動作可能範囲とは、現在の状態で、アーム部122をX軸方向とZ軸方向に伸縮し、且つアーム装置12をY軸方向に移動した場合、アーム部122がカバー5の右側壁51と扉6の何れにも衝突しない範囲を意味する。   The Y-axis position of the arm device 12 is classified into two types: entry possible and entry impossible. Entry is possible when the arm device 12 is between the entry position and the open end position, and the grip portion 23 can enter the cover 5. Inaccessible is a position where the arm device 12 is between the closed end position or the closed position and the accessible position, and the grip portion 23 cannot enter the cover 5. In the present embodiment, the operable range of the arm unit 122 is set according to the state of the arm device 12. In the present state, when the arm part 122 is expanded and contracted in the X-axis direction and the Z-axis direction and the arm device 12 is moved in the Y-axis direction in the current state, the arm part 122 moves to the right side wall 51 of the cover 5. It means a range that does not collide with any of the doors 6.

図8に示す状態1では、扉6は閉状態、アーム装置12のY軸位置は進入不可、アーム部122のX軸位置はプラス側である。扉6は閉状態であるので、アーム部122はマイナス側に伸縮できず、プラス側にのみ伸縮できる。アーム装置12は扉6との連結を解除した状態で、走行軸18の全領域を走行可能である。アーム装置12の走行軸18の全領域を走行可能な全領域走行ストロークはL1である。アーム部122のプラス側における外側伸縮ストロークはL2である。故に本実施形態は、全領域走行ストロークL1と外側伸縮ストロークL2に基づき、領域101を算出し、該領域101を第一動作可能範囲100として設定する。故にアーム装置12は状態1にて、扉6との連結を解除した状態で、走行軸18に沿って走行した場合、第一動作可能範囲100内であれば、アーム部122を伸縮可能である。   In state 1 shown in FIG. 8, the door 6 is closed, the Y-axis position of the arm device 12 cannot enter, and the X-axis position of the arm portion 122 is on the plus side. Since the door 6 is in the closed state, the arm portion 122 cannot extend or contract to the minus side, but only to the plus side. The arm device 12 is capable of traveling over the entire area of the traveling shaft 18 in a state of being disconnected from the door 6. The total travel stroke of the entire travel axis 18 of the arm device 12 is L1. The outward expansion stroke on the plus side of the arm portion 122 is L2. Therefore, in the present embodiment, the region 101 is calculated based on the entire region traveling stroke L1 and the outside expansion / contraction stroke L2, and the region 101 is set as the first operable range 100. Therefore, when the arm device 12 travels along the traveling shaft 18 in the state 1 in a state where the arm device 12 is disconnected from the door 6, the arm portion 122 can extend and contract within the first operable range 100. ..

図9に示す状態2−1では、扉6は開状態、アーム装置12のY軸位置は進入可、アーム部122のX軸位置はプラス側である。扉6は開状態であるので、アーム部122は、プラス側とマイナス側の双方に伸縮できる。アーム装置12と扉6が連結した状態で、アーム装置12の走行軸18における走行ストロークはL3である。アーム部122のカバー5側における内側伸縮ストロークはL4である。故に本実施形態は、走行ストロークL3と内側伸縮ストロークL4に基づき、領域102を算出し、該領域102と領域101を合わせた領域を第二動作可能範囲200として設定する。故にアーム装置12は状態2−1にて、扉6と連結した状態で、走行軸18に沿って走行した場合、第二動作可能範囲200内であれば、アーム部122を伸縮可能である。   In the state 2-1 shown in FIG. 9, the door 6 is in the open state, the Y-axis position of the arm device 12 can enter, and the X-axis position of the arm portion 122 is the plus side. Since the door 6 is in the open state, the arm portion 122 can expand and contract on both the plus side and the minus side. When the arm device 12 and the door 6 are connected, the traveling stroke of the arm device 12 on the traveling shaft 18 is L3. The inner expansion / contraction stroke of the arm 122 on the cover 5 side is L4. Therefore, in the present embodiment, the area 102 is calculated based on the traveling stroke L3 and the inner expansion / contraction stroke L4, and the area in which the area 102 and the area 101 are combined is set as the second operable range 200. Therefore, when the arm device 12 is connected to the door 6 in the state 2-1 and travels along the traveling shaft 18, the arm portion 122 can be expanded and contracted within the second operable range 200.

図10に示す状態2−2では、扉6は開状態、アーム装置12のY軸位置は進入可、アーム部122のX軸位置はマイナス側である。扉6は開状態であるので、アーム部122はプラス側とマイナス側の双方に伸縮できる。この場合、マイナス側では、状態2−1と同様に、領域102内であればアーム部122を伸縮可能である。プラス側では、状態2−1とは異なり、アーム部122はカバー5側に位置するので、アーム装置12が走行軸18に沿って移動できる範囲は、開口部511の開口範囲に対応する範囲に制限する。故に本実施形態は、プラス側においては、走行ストロークL3と外側伸縮ストロークL2に基づき、領域103を算出し、該領域103と領域102を合わせた領域を、第三動作可能範囲300として設定する。故にアーム装置12は状態2−2にて、扉6と連結した状態で、走行軸18に沿って走行した場合、第三動作可能範囲300内であれば、アーム部122を伸縮可能である。   In the state 2-2 shown in FIG. 10, the door 6 is in the open state, the Y-axis position of the arm device 12 can enter, and the X-axis position of the arm portion 122 is on the minus side. Since the door 6 is in the open state, the arm portion 122 can expand and contract on both the plus side and the minus side. In this case, on the minus side, the arm portion 122 can be expanded and contracted within the area 102, as in the state 2-1. On the plus side, unlike the state 2-1, since the arm portion 122 is located on the cover 5 side, the range in which the arm device 12 can move along the traveling shaft 18 is the range corresponding to the opening range of the opening 511. Restrict. Therefore, in the present embodiment, on the plus side, the area 103 is calculated based on the traveling stroke L3 and the outside expansion / contraction stroke L2, and the area in which the area 103 and the area 102 are combined is set as the third operable range 300. Therefore, in the state 2-2, when the arm device 12 is connected to the door 6 and travels along the traveling shaft 18, the arm portion 122 can be expanded and contracted within the third operable range 300.

なお、第一動作可能範囲100、第二動作可能範囲200、第三動作可能範囲300におけるZ軸方向は、開口部511の上端部の高さ位置に設定するのがよい。故にアーム部122は、開口部511の上側の右側壁51に衝突するのを防止できる。搬送装置10は、後述する移動制御処理(図17参照)において、アーム装置12の状態に応じて、上記の動作可能範囲を設定する。   The Z-axis direction in the first operable range 100, the second operable range 200, and the third operable range 300 is preferably set at the height position of the upper end of the opening 511. Therefore, the arm portion 122 can prevent the collision with the right side wall 51 on the upper side of the opening 511. In the movement control process (see FIG. 17) described later, the carrier device 10 sets the above operable range according to the state of the arm device 12.

図15を参照し、搬送装置10の電気的構成を説明する。搬送装置10は、制御部70を備える。制御部70は、CPU71、ROM72、RAM73、記憶装置74、入出力部77を備える。CPU71は、搬送装置10の動作を統括制御する。ROM72は、伸縮ストローク算出プログラム、移動制御プログラム等の各種プログラム等を記憶する。伸縮ストローク算出プログラムは、後述する伸縮ストローク算出処理(図17参照)を実行するものである。移動制御プログラムは、後述する移動制御処理(図18参照)を実行するものである。RAM73は、各種情報を一時的に記憶する。記憶装置74は不揮発性であり、後述する範囲設定テーブル741(図16参照)等の各種情報を記憶する。入出力部77は、外部装置とのデータの入出力を行う。入出力部77には、近接センサ91、進退センサ36,37、移動モータ16、第一モータ81、第二モータ82、第三モータ83、エアシリンダ33、エアシリンダ231等が接続する。   The electrical configuration of the transfer device 10 will be described with reference to FIG. The carrier device 10 includes a control unit 70. The control unit 70 includes a CPU 71, a ROM 72, a RAM 73, a storage device 74, and an input / output unit 77. The CPU 71 centrally controls the operation of the transport device 10. The ROM 72 stores various programs such as an expansion / contraction stroke calculation program and a movement control program. The expansion / contraction stroke calculation program executes expansion / contraction stroke calculation processing (see FIG. 17) described later. The movement control program executes a movement control process (see FIG. 18) described later. The RAM 73 temporarily stores various information. The storage device 74 is nonvolatile and stores various information such as a range setting table 741 (see FIG. 16) described later. The input / output unit 77 inputs / outputs data to / from an external device. The proximity sensor 91, the advance / retreat sensors 36, 37, the moving motor 16, the first motor 81, the second motor 82, the third motor 83, the air cylinder 33, the air cylinder 231, and the like are connected to the input / output unit 77.

移動モータ16は、エンコーダ16Aと原点センサ16Bを備える。エンコーダ16Aは、移動モータ16の回転位置を検出する。原点センサ16Bは、移動モータ16の原点位置を検出する。エンコーダ16Aと原点センサ16Bは、入出力部77に接続する。第一モータ81は、エンコーダ81Aと原点センサ81Bを備える。エンコーダ81Aは、第一モータ81の回転位置を検出する。原点センサ81Bは、第一モータ81の原点位置を検出する。エンコーダ81Aと原点センサ81Bは、入出力部77に接続する。第二モータ82は、エンコーダ82Aと原点センサ82Bを備える。エンコーダ82Aは、第二モータ82の回転位置を検出する。原点センサ82Bは、第二モータ82の原点位置を検出する。エンコーダ82Aと原点センサ82Bは、入出力部77に接続する。第三モータ83は、エンコーダ83Aと原点センサ83Bを備える。エンコーダ83Aは、第三モータ83の回転位置を検出する。原点センサ83Bは、第三モータ83の原点位置を検出する。エンコーダ83Aと原点センサ83Bは、入出力部77に接続する。   The moving motor 16 includes an encoder 16A and an origin sensor 16B. The encoder 16A detects the rotational position of the moving motor 16. The origin sensor 16B detects the origin position of the moving motor 16. The encoder 16A and the origin sensor 16B are connected to the input / output unit 77. The first motor 81 includes an encoder 81A and an origin sensor 81B. The encoder 81A detects the rotational position of the first motor 81. The origin sensor 81B detects the origin position of the first motor 81. The encoder 81A and the origin sensor 81B are connected to the input / output unit 77. The second motor 82 includes an encoder 82A and an origin sensor 82B. The encoder 82A detects the rotational position of the second motor 82. The origin sensor 82B detects the origin position of the second motor 82. The encoder 82A and the origin sensor 82B are connected to the input / output unit 77. The third motor 83 includes an encoder 83A and an origin sensor 83B. The encoder 83A detects the rotational position of the third motor 83. The origin sensor 83B detects the origin position of the third motor 83. The encoder 83A and the origin sensor 83B are connected to the input / output unit 77.

図16を参照し、範囲設定テーブル741を説明する。範囲設定テーブル741は、上記の状態1、2−1、2−2において、扉状態、アーム装置12のY軸位置、アーム部122のX軸位置、動作可能範囲を夫々対応づけて記憶する。状態1では、図8に示す状態を記憶し、扉状態は閉、Y軸位置は進入不可、X軸位置はプラス側、動作可能範囲は第一動作可能範囲を記憶する。状態2−1では、図9に示す状態を記憶し、扉状態は開、Y軸位置は進入可、X軸位置はプラス側、動作可能範囲は第二動作可能範囲を記憶する。状態2−2では、図10に示す状態を記憶し、扉状態は開、Y軸位置は進入可、X軸位置はマイナス側、動作可能範囲は第三動作可能範囲を記憶する。   The range setting table 741 will be described with reference to FIG. The range setting table 741 stores the door state, the Y-axis position of the arm device 12, the X-axis position of the arm unit 122, and the operable range in the above states 1, 2-1, and 2-2 in association with each other. In state 1, the state shown in FIG. 8 is stored, the door state is closed, the Y-axis position is inaccessible, the X-axis position is the plus side, and the operable range is the first operable range. In the state 2-1, the state shown in FIG. 9 is stored, the door state is opened, the Y-axis position is enterable, the X-axis position is positive, and the operable range is the second operable range. In state 2-2, the state shown in FIG. 10 is stored, the door state is open, the Y-axis position is enterable, the X-axis position is negative, and the operable range is the third operable range.

図17を参照し、伸縮ストローク算出処理を説明する。上記の外側伸縮ストロークL2と内側伸縮ストロークL4(以下纏めて呼ぶ場合は、伸縮ストロークL2,L4と呼ぶ)は、第一アーム21の長さA1(以下、第一アーム長A1と呼ぶ)、第二アーム22の長さA2(以下、第二アーム長A2と呼ぶ)、把持部23の長さA3の和である。具体的に言うと、第一アーム21の長さA1は、Y軸方向から見たときに、第一関節部41の回転中心K1から第二関節部42の回転中心K2までの長さにするとよい。第二アーム22の長さA2は、Y軸方向から見たときに、第二関節部42の回転中心K2から第三関節部43の回転中心K3までの長さにするとよい。把持部23の長さA3は、Y軸方向から見たときに第三関節部43の回転中心K3から先端部44までの長さにするとよい。   The expansion / contraction stroke calculation process will be described with reference to FIG. The outer extension stroke L2 and the inner extension stroke L4 (hereinafter, referred to as extension strokes L2 and L4 when collectively referred to) are the length A1 of the first arm 21 (hereinafter referred to as the first arm length A1), It is the sum of the length A2 of the two arms 22 (hereinafter referred to as the second arm length A2) and the length A3 of the grip 23. Specifically, if the length A1 of the first arm 21 is the length from the rotation center K1 of the first joint portion 41 to the rotation center K2 of the second joint portion 42 when viewed in the Y-axis direction. Good. The length A2 of the second arm 22 may be a length from the rotation center K2 of the second joint portion 42 to the rotation center K3 of the third joint portion 43 when viewed in the Y-axis direction. The length A3 of the grip portion 23 may be the length from the rotation center K3 of the third joint portion 43 to the tip portion 44 when viewed in the Y-axis direction.

例えばアーム装置12を新品と交換する時、作業者は操作パネル1Aにて新品のアーム部のアーム長の入力を行う。作業者がアーム長を入力した場合、CPU71はROM72から伸縮ストローク算出プログラムを読出し、本処理を実行する。CPU71は第一アーム長A1を受け付ける(S1)。第一アーム長A1は、第一アーム21の長さである。作業者は第一アーム長A1を操作パネル1Aに入力する。CPU71は第二アーム長A2を受け付ける(S2)。第二アーム長A2は、第二アーム22の長さである。作業者は第二アーム長A2を操作パネル1Aに入力する。CPU71は把持部23の長さA3を受け付ける(S3)。作業者は把持部23の長さA3を操作パネル1Aに入力する。CPU71は、数値制御装置8からA1、A2、A3の各種データを受信し、記憶装置74に記憶する。CPU71は記憶したA1、A2、A3に基づき、伸縮ストロークL2,L4を算出する(S4)。CPU71は算出した伸縮ストロークL2,L4を記憶装置74に記憶し(S5)、本処理を終了する。   For example, when replacing the arm device 12 with a new one, the operator inputs the arm length of the new arm portion on the operation panel 1A. When the operator inputs the arm length, the CPU 71 reads the expansion / contraction stroke calculation program from the ROM 72 and executes this processing. The CPU 71 receives the first arm length A1 (S1). The first arm length A1 is the length of the first arm 21. The operator inputs the first arm length A1 to the operation panel 1A. The CPU 71 receives the second arm length A2 (S2). The second arm length A2 is the length of the second arm 22. The operator inputs the second arm length A2 to the operation panel 1A. The CPU 71 receives the length A3 of the grip portion 23 (S3). The operator inputs the length A3 of the grip portion 23 into the operation panel 1A. The CPU 71 receives various data of A1, A2, A3 from the numerical control device 8 and stores them in the storage device 74. The CPU 71 calculates expansion / contraction strokes L2, L4 based on the stored A1, A2, A3 (S4). The CPU 71 stores the calculated expansion / contraction strokes L2, L4 in the storage device 74 (S5), and ends this processing.

図18を参照し、移動制御処理を実行する。搬送装置10が起動すると、CPU71はROM72から移動制御プログラムを読出し、本処理を実行する。CPU71は、数値制御装置8から目標座標(本発明の目標位置の座標位置に相当)への移動命令を受け付ける(S11)。目標座標への移動命令とは、把持部23を目標座標まで移動する命令である。移動命令を受け付けた場合、CPU71は、動作可能範囲設定処理を実行する(S12)。   Referring to FIG. 18, the movement control process is executed. When the carrier device 10 is activated, the CPU 71 reads the movement control program from the ROM 72 and executes this processing. The CPU 71 receives a movement command from the numerical controller 8 to a target coordinate (corresponding to the coordinate position of the target position of the present invention) (S11). The command to move to the target coordinates is a command to move the grip portion 23 to the target coordinates. When the move command is received, the CPU 71 executes operable range setting processing (S12).

図19を参照し、動作可能範囲設定処理を説明する。CPU71は、アーム装置12と扉6は連結しているか否か判断する(S31)。図4に示す如く、アーム装置12側の近接センサ91が扉6側のドグ67を検出し、且つ進退センサ37が連結竿34を検出した場合、ロッド35は連結板60の連結孔65と対向し、且つロッド35は突出位置にあるので、ロッド35は連結孔65に係合する。アーム装置12と扉6は連結しているので(S31:YES)、CPU71は、扉6が開状態か閉状態かについて、アーム装置12のY軸位置で判断できる。   The operable range setting process will be described with reference to FIG. The CPU 71 determines whether or not the arm device 12 and the door 6 are connected (S31). As shown in FIG. 4, when the proximity sensor 91 on the arm device 12 side detects the dog 67 on the door 6 side and the advancing / retreating sensor 37 detects the connecting rod 34, the rod 35 faces the connecting hole 65 of the connecting plate 60. In addition, since the rod 35 is in the protruding position, the rod 35 engages with the connecting hole 65. Since the arm device 12 and the door 6 are connected (S31: YES), the CPU 71 can determine whether the door 6 is open or closed by the Y-axis position of the arm device 12.

例えば、近接センサ91がドグ67を検出するが、進退センサ37が連結竿34を検出しない場合、ロッド35は待機位置にあるので、ロッド35は連結孔65に係合せず、アーム装置12と扉6は連結していない(S31:NO)。近接センサ91が扉6側のドグ67を検出していない場合も、アーム装置12と扉6は連結していない(S31:NO)。この様な場合、CPU71は連結処理を実行する(S33)。連結処理では、上記の如く、CPU71は、アーム装置12を走行軸18に沿って、扉6の閉端位置に一旦移動した後、閉端位置から扉6の開端方向に向けて低速で移動する。近接センサ91がドグ67を検出した時、CPU71はアーム装置12を停止する。ロッド35と連結孔65は互いに対向する。CPU71はエアシリンダ33を駆動し、連結竿34とロッド35を左方に移動する。ロッド35の先端部は、連結孔65に挿入して係合する。ロッド35は連結孔65に係合し、アーム装置12と扉6は連結する。CPU71はS31に戻る。   For example, when the proximity sensor 91 detects the dog 67 but the advancing / retreating sensor 37 does not detect the connecting rod 34, the rod 35 is in the standby position, so the rod 35 does not engage with the connecting hole 65, and the arm device 12 and the door. 6 is not connected (S31: NO). Even when the proximity sensor 91 does not detect the dog 67 on the door 6 side, the arm device 12 and the door 6 are not connected (S31: NO). In such a case, the CPU 71 executes a connection process (S33). In the coupling process, as described above, the CPU 71 once moves the arm device 12 along the traveling shaft 18 to the closed end position of the door 6, and then moves at a low speed from the closed end position toward the open end of the door 6. .. When the proximity sensor 91 detects the dog 67, the CPU 71 stops the arm device 12. The rod 35 and the connecting hole 65 face each other. The CPU 71 drives the air cylinder 33 to move the connecting rod 34 and the rod 35 to the left. The tip of the rod 35 is inserted into and engaged with the connecting hole 65. The rod 35 engages with the connecting hole 65, and the arm device 12 and the door 6 are connected. The CPU 71 returns to S31.

アーム装置12と扉6が連結している場合(S31:YES)、CPU71は、移動モータ16のエンコーダ16Aからの検出信号に基づき、アーム装置12のY軸位置を検出する(S32)。CPU71は検出したY軸位置は進入可か否かを判定し、判定結果をRAM73に記憶する。進入可か否かは把持部23が開口部511を介してカバー5内に進入できる位置か否かで判定する。Y軸位置が進入可位置と開端位置の間に位置した時、進入可と判定し、閉端位置又は閉端位置と進入可位置の間に位置した時、進入不可と判定する。   When the arm device 12 and the door 6 are connected (S31: YES), the CPU 71 detects the Y-axis position of the arm device 12 based on the detection signal from the encoder 16A of the moving motor 16 (S32). The CPU 71 determines whether or not the detected Y-axis position can enter, and stores the determination result in the RAM 73. Whether or not entry is possible is determined by whether or not the grip portion 23 can enter the cover 5 through the opening 511. When the Y-axis position is between the approachable position and the open end position, it is determined that the entry is possible, and when the Y-axis position is between the closed end position or between the closed end position and the approachable position, it is determined that the entry is impossible.

CPU71は判定結果と範囲設定テーブル741(図16参照)に基づき、扉6は閉状態か否か判断する(S34)。Y軸位置が進入不可であれば、扉6は閉状態である(S34:YES)。この場合、アーム装置12は状態1(図8参照)なので、CPU71は、第一動作可能範囲100を設定する(S35)。第一動作可能範囲100(領域101)は、記憶装置74に記憶した外側伸縮ストロークL2と、全領域走行ストロークL1に基づき、設定する。全領域走行ストロークL1は、記憶装置74に予め記憶するとよい。CPU71は本処理を終了し、処理を図18のS13に進める。   The CPU 71 determines whether the door 6 is in the closed state based on the determination result and the range setting table 741 (see FIG. 16) (S34). If the Y-axis position is inaccessible, the door 6 is closed (S34: YES). In this case, since the arm device 12 is in the state 1 (see FIG. 8), the CPU 71 sets the first operable range 100 (S35). The first operable range 100 (area 101) is set based on the outside expansion / contraction stroke L2 stored in the storage device 74 and the entire area travel stroke L1. The entire region traveling stroke L1 may be stored in the storage device 74 in advance. The CPU 71 ends this processing and advances the processing to S13 of FIG.

一方、Y軸位置が進入可であれば、扉6は開状態である(S34:NO)。この場合、CPU71は、第一モータ81のエンコーダ81A、第二モータ82のエンコーダ82A、第三モータ83のエンコーダ83Aからの検出信号に基づき、アーム部122のX軸位置を検出する(S36)。   On the other hand, if the Y-axis position can be entered, the door 6 is open (S34: NO). In this case, the CPU 71 detects the X-axis position of the arm portion 122 based on the detection signals from the encoder 81A of the first motor 81, the encoder 82A of the second motor 82, and the encoder 83A of the third motor 83 (S36).

CPU71は検出したX軸位置に基づき、アーム部122のX軸位置はプラス側か否か判断する(S37)。X軸位置がプラス側である場合(S37:YES)、アーム装置12は状態2−1(図9参照)であるので、CPU71は、第二動作可能範囲200を設定する(S38)。第二動作可能範囲200の領域102は、記憶装置74に記憶した内側伸縮ストロークL4と、S32で検出したY軸位置に対応する走行ストロークL3に基づき設定する。領域101は上記の通りである。   Based on the detected X-axis position, the CPU 71 determines whether the X-axis position of the arm portion 122 is on the plus side (S37). When the X-axis position is on the plus side (S37: YES), the arm device 12 is in the state 2-1 (see FIG. 9), so the CPU 71 sets the second operable range 200 (S38). The area 102 of the second operable range 200 is set based on the inner extension stroke L4 stored in the storage device 74 and the traveling stroke L3 corresponding to the Y-axis position detected in S32. Area 101 is as described above.

X軸位置がマイナス側である場合(S37:NO)、アーム装置12は状態2−2(図10参照)であるので、CPU71は、第三動作可能範囲300を設定する(S39)。第三動作可能範囲300の領域103は、記憶装置74に記憶した外側伸縮ストロークL2と、S32で検出したY軸位置に対応する走行ストロークL3に基づき設定する。領域102は上記の通りである。CPU71は本処理を終了し、処理を図18のS13に進める。   When the X-axis position is on the minus side (S37: NO), the arm device 12 is in the state 2-2 (see FIG. 10), so the CPU 71 sets the third operable range 300 (S39). The area 103 of the third operable range 300 is set based on the outer expansion / contraction stroke L2 stored in the storage device 74 and the traveling stroke L3 corresponding to the Y-axis position detected in S32. Area 102 is as described above. The CPU 71 ends this processing and advances the processing to S13 of FIG.

図18に戻り、CPU71は、移動命令の目標座標が設定した動作可能範囲内か否か判断する(S13)。目標座標が動作可能範囲外の場合(S13:NO)、把持部23を目標座標まで移動できないので、CPU71は目標座標への移動を制限し(S21)、第一警告を実行する(S22)。第一警告は、把持部23を目標座標まで移動すると、アーム部122又は把持部23がカバー5と衝突する危険性があるので、移動を強制的に制限したことを報知する。報知の態様は限定しないが、例えば音、光、操作パネル1Aでの表示等を採用できる。該報知により、作業者は例えば数値制御装置8から受け付けたプログラム命令にミスがあったことに速やかに気付くことができる。   Returning to FIG. 18, the CPU 71 determines whether or not the target coordinates of the move command are within the set operable range (S13). If the target coordinate is outside the operable range (S13: NO), the gripper 23 cannot be moved to the target coordinate, so the CPU 71 limits the movement to the target coordinate (S21) and executes the first warning (S22). The first warning informs that the movement is forcibly restricted because the arm 122 or the grip 23 may collide with the cover 5 when the grip 23 is moved to the target coordinates. Although the mode of notification is not limited, for example, sound, light, display on the operation panel 1A, or the like can be adopted. By the notification, the worker can promptly notice that there is an error in the program command received from the numerical control device 8, for example.

例えば、図8に示す如く、扉6が閉状態であるにも関わらず、目標座標がカバー5内であった場合、第一動作可能範囲100外であるので、仮に把持部23を目標座標に移動すると、移動途中でアーム部122又は把持部23はカバー5の右側壁51又は扉6と衝突する。故に目標座標が動作可能範囲外の場合、CPU71は目標座標への移動を制限する。故に搬送装置10は、扉6が十分に開いていない場合に、アーム部122の動作によって、アーム部122と把持部23がカバー5の右側壁51及び扉6と衝突するのを防止できる。第一警告実行後、CPU71は本処理を終了する。   For example, as shown in FIG. 8, when the target coordinate is within the cover 5 even though the door 6 is in the closed state, the gripping portion 23 is temporarily set to the target coordinate because it is outside the first operable range 100. When moving, the arm portion 122 or the grip portion 23 collides with the right side wall 51 of the cover 5 or the door 6 during movement. Therefore, when the target coordinate is out of the operable range, the CPU 71 limits the movement to the target coordinate. Therefore, the transport device 10 can prevent the arm portion 122 and the grip portion 23 from colliding with the right side wall 51 of the cover 5 and the door 6 by the operation of the arm portion 122 when the door 6 is not sufficiently opened. After the execution of the first warning, the CPU 71 ends this processing.

目標座標が動作可能範囲内の場合(S13:YES)、CPU71は目標座標に向けて把持部23の移動を開始する(S14)。CPU71は、次の制御周期における目標座標までの径路上の移動座標を計算する(S15)。CPU71は移動座標が動作可能範囲内か否か判断する(S16)。移動座標が動作可能範囲外の場合(S16:NO)、アーム部122を移動座標に移動できないので、CPU71は移動座標への移動を制限し(S23)、第二警告を実行する(S24)。第二警告は、把持部23を目標座標まで移動する途中で、アーム部122がカバー5と衝突する危険性があるので、移動を強制的に停止したことを報知する。報知の態様については、第一警告と同様に、例えば音、光、操作パネル1Aでの表示等を採用できる。   When the target coordinates are within the operable range (S13: YES), the CPU 71 starts moving the gripping portion 23 toward the target coordinates (S14). The CPU 71 calculates the moving coordinates on the path to the target coordinates in the next control cycle (S15). The CPU 71 determines whether the moving coordinate is within the operable range (S16). When the moving coordinate is out of the operable range (S16: NO), the arm unit 122 cannot move to the moving coordinate, so the CPU 71 limits the movement to the moving coordinate (S23) and executes the second warning (S24). The second warning notifies that the movement is forcibly stopped because the arm 122 may collide with the cover 5 while moving the grip 23 to the target coordinates. As for the notification mode, similar to the first warning, for example, sound, light, display on the operation panel 1A, or the like can be adopted.

図9に示す如く、例えばS12で第二動作可能範囲200を設定した状態で、CPU71は、仮に領域102の左後角部である点G1から領域101の左後角部である点G2を目標座標とする移動命令を受け付けた場合、目標座標である点G2は第二動作可能範囲200内であるので、CPU71は把持部23の移動を開始する。   As shown in FIG. 9, for example, with the second operable range 200 set in S12, the CPU 71 temporarily targets the point G1 which is the left rear corner of the area 102 to the point G2 which is the left rear corner of the area 101. When the movement command for coordinates is received, the point G2, which is the target coordinate, is within the second operable range 200, so the CPU 71 starts moving the grip portion 23.

例えば、アーム装置12がY軸方向に移動しながら、アーム部122がX軸方向に移動することにより、把持部23が点G1から点G2に向けて直線的に移動した場合、移動途中で、アーム部122は第二動作可能範囲200から外れ、カバー5の右側壁51と衝突する可能性がある。故に把持部23が目標座標に向けて移動する途中で、次の制御周期の移動座標が第二動作可能範囲200外となった場合も(S16:NO)、CPU71は移動座標への移動を制限する(S23)。故に搬送装置10は把持部23の移動途中で、アーム部122の動作により、アーム部122がカバー5の右側壁51及び扉6と衝突するのを防止できる。第二警告実行後(S24)、CPU71は本処理を終了する。   For example, when the arm unit 12 moves in the Y-axis direction and the arm unit 122 moves in the X-axis direction so that the gripping unit 23 moves linearly from the point G1 to the point G2, during the movement, The arm portion 122 may come out of the second operable range 200 and collide with the right side wall 51 of the cover 5. Therefore, even when the moving coordinate of the next control cycle is outside the second operable range 200 while the gripper 23 is moving toward the target coordinate (S16: NO), the CPU 71 restricts the moving to the moving coordinate. Yes (S23). Therefore, the transport device 10 can prevent the arm portion 122 from colliding with the right side wall 51 of the cover 5 and the door 6 by the operation of the arm portion 122 while the grip portion 23 is moving. After the execution of the second warning (S24), the CPU 71 ends this processing.

次の制御周期の移動座標が動作可能範囲内である場合(S16:YES)、CPU71は把持部23を移動座標へ移動する(S17)。CPU71は、エンコーダ16A,81A〜83Aの夫々の検出信号に基づき、把持部23の位置を算出し、把持部23が目標座標に到達したか否か判断する(S18)。目標座標に到達しない場合(S18:NO)、CPU71はS15に戻り、処理を繰り返す。目標座標に到達した場合(S18:YES)、CPU71は把持部23の移動を完了し(S19)、本処理を終了する。   When the moving coordinate of the next control cycle is within the operable range (S16: YES), the CPU 71 moves the grip 23 to the moving coordinate (S17). The CPU 71 calculates the position of the grip portion 23 based on the detection signals of the encoders 16A and 81A to 83A, and determines whether or not the grip portion 23 has reached the target coordinates (S18). When the target coordinates are not reached (S18: NO), the CPU 71 returns to S15 and repeats the processing. When the target coordinates are reached (S18: YES), the CPU 71 completes the movement of the grip portion 23 (S19), and ends this processing.

以上説明した如く、第一実施形態の工作機械1は、カバー5の右側壁51に搬送装置10を備える。搬送装置10は、走行軸18、移動部11、アーム装置12、ロッド機構30、制御部70を備える。走行軸18は、工作機械1のカバー5の右側壁51に設けた開口部511を開閉する扉6の移動方向に対して平行に設ける。扉6の移動方向はY軸方向である。移動部11は、走行軸18に沿って移動する。アーム装置12は、移動部11上部に設け、X軸方向に伸縮可能なアーム部122と、該アーム部122の先端部に被削材を把持可能な把持部23を備え、カバー5側に伸ばしたときに開口部511を介してカバー5内に進入可能である。ロッド機構30は、アーム装置12と扉6を連結する。搬送装置10は、制御部70が移動部11、アーム装置12、ロッド機構30の動作を制御することで、把持部23が把持した被削材を搬送する。   As described above, the machine tool 1 according to the first embodiment includes the transport device 10 on the right side wall 51 of the cover 5. The transfer device 10 includes a traveling shaft 18, a moving unit 11, an arm device 12, a rod mechanism 30, and a control unit 70. The traveling shaft 18 is provided parallel to the moving direction of the door 6 that opens and closes the opening 511 provided in the right side wall 51 of the cover 5 of the machine tool 1. The moving direction of the door 6 is the Y-axis direction. The moving unit 11 moves along the traveling shaft 18. The arm device 12 is provided on the upper part of the moving unit 11 and is provided with an arm part 122 that can expand and contract in the X-axis direction, and a grip part 23 that can grip a work material at the tip of the arm part 122 and extends to the cover 5 side. When it is opened, it can enter the cover 5 through the opening 511. The rod mechanism 30 connects the arm device 12 and the door 6. The transfer device 10 transfers the work material gripped by the gripping part 23 by the controller 70 controlling the operations of the moving part 11, the arm device 12, and the rod mechanism 30.

制御部70のCPU71は、扉6の位置と、X軸方向におけるアーム装置12の伸縮位置(アーム部122のX軸位置)を検出する。CPU71は扉6の位置と、アーム装置12のX軸位置に基づき、動作可能範囲を設定する。動作可能範囲とは、アーム装置12をカバー5側、若しくはカバー5とは反対側に伸ばし、移動部11を走行軸18に沿って移動した場合、アーム部122と把持部23が右側壁51及び扉6の何れにも接触しない範囲である。CPU71は把持部23を目標座標に移動する移動指令を受け付け、目標座標は動作可能範囲内か否か判断する。目標座標が動作可能範囲内と判断した場合、CPU71は、移動部11及びアーム装置12の動作を制御し、移動指令を実行する。目標座標が動作可能範囲外と判断した場合、CPU71は、移動指令の実行を制限する。故に搬送装置10は、アーム装置12のアーム部122と把持部23が扉6と右側壁51に衝突するのを防止できる。例えば扉6が十分に開放していないにも関わらず、把持部23をカバー5側に移動する移動指令を受け付けた場合、搬送装置10は移動指令の実行を制限するので、アーム部122と把持部23が扉6に衝突するのを防止できる。   The CPU 71 of the control unit 70 detects the position of the door 6 and the expansion / contraction position of the arm device 12 in the X-axis direction (X-axis position of the arm unit 122). The CPU 71 sets the operable range based on the position of the door 6 and the X-axis position of the arm device 12. The operable range means that when the arm device 12 is extended to the cover 5 side or the side opposite to the cover 5 and the moving part 11 is moved along the traveling shaft 18, the arm part 122 and the gripping part 23 cause the right side wall 51 and the grip part 23 to move. It is a range that does not touch any of the doors 6. The CPU 71 receives a movement command for moving the grip portion 23 to the target coordinates, and determines whether the target coordinates are within the operable range. When it is determined that the target coordinates are within the operable range, the CPU 71 controls the operations of the moving unit 11 and the arm device 12, and executes the movement command. When determining that the target coordinate is outside the operable range, the CPU 71 limits execution of the movement command. Therefore, the transfer device 10 can prevent the arm part 122 and the grip part 23 of the arm device 12 from colliding with the door 6 and the right side wall 51. For example, when the movement instruction to move the grip portion 23 to the cover 5 side is received even though the door 6 is not fully opened, the conveyance device 10 restricts execution of the movement instruction, and therefore the grip portion 23 and the grip portion It is possible to prevent the portion 23 from colliding with the door 6.

第一実施形態では、CPU71は、扉6の位置とアーム部122のX軸位置に応じて、第一動作可能範囲100、第二動作可能範囲200、第三動作可能範囲300の何れかを設定する。故に搬送装置10は、アーム部122と把持部23が扉6と右側壁51に衝突するのを効果的に防止できる。   In the first embodiment, the CPU 71 sets one of the first operable range 100, the second operable range 200, and the third operable range 300 according to the position of the door 6 and the X-axis position of the arm portion 122. To do. Therefore, the carrier device 10 can effectively prevent the arm portion 122 and the grip portion 23 from colliding with the door 6 and the right side wall 51.

第一実施形態の搬送装置10は、アーム装置12側に設けた近接センサ91、扉6側に設けた位置検出用のドグ67、ロッド機構30のロッド35が突出位置に移動したことを検出する進退センサ37を備える。近接センサ91がドグ67を検出したとき、ロッド35と連結板60の連結孔65は対向する。ロッド35が連結孔65と対向し、且つロッド35が突出位置に移動したことを進退センサ37が検出した場合、ロッド35は連結孔65に挿入して係合するので、扉6とアーム装置12は互いに連結する。CPU71は、移動モータ16のエンコーダ16Aからの検出信号に基づき、アーム装置12のY軸位置を検出可能である。CPU71は、扉6とアーム装置12が互いに連結した場合、アーム装置12のY軸位置を検出することにより、扉6の位置を検出する。故に搬送装置10は、扉6と連結したアーム装置12のY軸位置を検出することで、扉6の位置が分かるので、扉6の位置とアーム装置12のY軸位置を別個に検出する必要が無い。   The transport device 10 according to the first embodiment detects that the proximity sensor 91 provided on the arm device 12 side, the position detection dog 67 provided on the door 6 side, and the rod 35 of the rod mechanism 30 have moved to the projecting position. An advance / retreat sensor 37 is provided. When the proximity sensor 91 detects the dog 67, the rod 35 and the connecting hole 65 of the connecting plate 60 face each other. When the rod 35 faces the connecting hole 65 and the advancing / retreating sensor 37 detects that the rod 35 has moved to the projecting position, the rod 35 is inserted into the connecting hole 65 and engages with the door 6 and the arm device 12. Connect to each other. The CPU 71 can detect the Y-axis position of the arm device 12 based on the detection signal from the encoder 16A of the moving motor 16. When the door 6 and the arm device 12 are connected to each other, the CPU 71 detects the position of the door 6 by detecting the Y-axis position of the arm device 12. Therefore, the carrier device 10 can know the position of the door 6 by detecting the Y-axis position of the arm device 12 connected to the door 6, and therefore it is necessary to detect the position of the door 6 and the Y-axis position of the arm device 12 separately. There is no.

第一実施形態では、アーム装置12のX軸位置が基準線Pよりもカバー5側である場合、CPU71は、X軸位置はカバー5側と判断する。故に搬送装置10は、仮に扉6が開状態で、アーム装置12がカバー5内に進入していなくても、X軸位置がカバー5側である場合は、第三動作可能範囲300を設定する。故に搬送装置10は、アーム部122と把持部23が扉6に衝突するのを効果的に防止できる。   In the first embodiment, when the X-axis position of the arm device 12 is on the cover 5 side with respect to the reference line P, the CPU 71 determines that the X-axis position is on the cover 5 side. Therefore, even if the door 6 is open and the arm device 12 does not enter the cover 5, the carrier device 10 sets the third operable range 300 when the X-axis position is on the cover 5 side. .. Therefore, the carrier device 10 can effectively prevent the arm portion 122 and the grip portion 23 from colliding with the door 6.

第一実施形態のアーム装置12は、第一アーム21、第二アーム22、把持部23、第一関節部41、第二関節部42、第三関節部43等を備える多関節型ロボットである。アーム装置12の把持部23、第二関節部42、第三関節部43の少なくとも何れかが基準線Pよりもカバー5側に位置した場合、CPU71は、X軸位置はカバー5側と判断する。故に搬送装置10は、アーム部122と把持部23が扉6に衝突するのを効果的に防止できる。   The arm device 12 of the first embodiment is a multi-joint robot including a first arm 21, a second arm 22, a grip 23, a first joint 41, a second joint 42, a third joint 43, and the like. .. When at least one of the grip 23, the second joint 42, and the third joint 43 of the arm device 12 is located closer to the cover 5 than the reference line P, the CPU 71 determines that the X-axis position is the cover 5 side. .. Therefore, the carrier device 10 can effectively prevent the arm portion 122 and the grip portion 23 from colliding with the door 6.

第一実施形態の搬送装置10は、アーム部122の第一アーム21及び第二アーム22のアーム長を操作パネル1Aで受け付ける。CPU71は、操作パネル1Aで受け付けたアーム長に基づき、アーム部122のX軸方向における伸縮ストローク(L2,L4)を算出する。故に搬送装置10は、アーム装置12を交換したことによって、第一アーム21及び第二アーム22のアーム長が変更した場合でも、交換後のアーム長から伸縮ストロークを算出できる。故に搬送装置10は算出した伸縮ストロークに基づき、動作可能範囲を設定できる。   The carrier device 10 of the first embodiment receives the arm lengths of the first arm 21 and the second arm 22 of the arm portion 122 on the operation panel 1A. The CPU 71 calculates the extension / contraction stroke (L2, L4) of the arm portion 122 in the X-axis direction based on the arm length received by the operation panel 1A. Therefore, even if the arm lengths of the first arm 21 and the second arm 22 are changed by exchanging the arm device 12, the transfer device 10 can calculate the extension / contraction stroke from the arm length after the exchange. Therefore, the transport device 10 can set the operable range based on the calculated expansion / contraction stroke.

上記説明にて、制御部70のCPU71は本発明の動作制御部の一例である。図19のS34の処理を実行するCPU71は本発明の扉位置検出部の一例である。S32の処理を実行するCPU71はアーム位置検出部の一例である。S34〜S39の処理を実行するCPU71は動作可能範囲設定部の一例である。図18のS11の処理を実行するCPU71は本発明の受付部の一例である。S13、S16の処理を実行するCPU71は本発明の判断部の一例である。S14の処理を実行するCPU71が本発明の実行部の一例である。S21の処理を実行するCPU71が本発明の実行制限部の一例である。   In the above description, the CPU 71 of the control unit 70 is an example of the operation control unit of the present invention. CPU71 which performs the process of S34 of FIG. 19 is an example of the door position detection part of this invention. CPU71 which performs the process of S32 is an example of an arm position detection part. CPU71 which performs the process of S34-S39 is an example of an operable range setting part. CPU71 which performs the process of S11 of FIG. 18 is an example of the reception part of this invention. CPU71 which performs the process of S13 and S16 is an example of the determination part of this invention. CPU71 which performs the process of S14 is an example of the execution part of this invention. The CPU 71 that executes the process of S21 is an example of the execution limiting unit of the present invention.

図19のS35の処理を実行するCPU71は本発明の第一範囲設定部の一例である。S38の処理を実行するCPU71は本発明の第二範囲設定部の一例である。S39の処理を実行するCPU71は本発明の第三範囲設定部の一例である。近接センサ91、ドグ67、進退センサ37は本発明の連結検知部の一例である。S36、S37の処理を実行するCPU71はアーム位置判断部の一例である。第一アーム21、第二アーム22は本発明の複数のアーム部の一例である。図17のS1とS2の処理を実行するCPU71は本発明のアーム長受付部の一例である。S4の処理を実行するCPU71は本発明の算出部の一例である。   CPU71 which performs the process of S35 of FIG. 19 is an example of the 1st range setting part of this invention. CPU71 which performs the process of S38 is an example of the 2nd range setting part of this invention. CPU71 which performs the process of S39 is an example of the 3rd range setting part of this invention. The proximity sensor 91, the dog 67, and the advance / retreat sensor 37 are an example of the connection detection unit of the present invention. The CPU 71 that executes the processes of S36 and S37 is an example of an arm position determination unit. The 1st arm 21 and the 2nd arm 22 are examples of a plurality of arm parts of the present invention. The CPU 71 that executes the processes of S1 and S2 in FIG. 17 is an example of the arm length acceptance unit of the present invention. CPU71 which performs the process of S4 is an example of the calculation part of this invention.

図20〜図26を参照し、本発明の第二実施形態を説明する。第二実施形態の工作機械は、第一実施形態と同様に搬送装置を備えるが、ロッド機構30を備えない点で異なる(図20参照)。扉6とアーム装置12は連結しないので、扉6は手動で開閉する。故に第二実施形態は、第一実施形態とは異なり、アーム装置12のY軸位置とは別に、扉6の位置を検出する必要がある。   A second embodiment of the present invention will be described with reference to FIGS. The machine tool of the second embodiment is provided with a transfer device as in the first embodiment, but is different in that the rod mechanism 30 is not provided (see FIG. 20). Since the door 6 and the arm device 12 are not connected, the door 6 is manually opened and closed. Therefore, unlike the first embodiment, the second embodiment needs to detect the position of the door 6 separately from the Y-axis position of the arm device 12.

図21に示す如く、第二実施形態の搬送装置は、扉6の位置を検出する為に、距離センサ55を備える。距離センサ55は、例えば光センサであり、送信部から送信した検出波が異物で反射した反射波を受信部で受信し、三角測距方式を応用して異物までの距離を測定する測距センサ等を使用できる。距離センサ55は、カバー5の右側壁51の外面において、開口部511を閉じたときの扉6の後端部上部に対向する位置に設ける。扉6の後端部上部には、被検出部61を取り付ける。距離センサ55は、被検出部61までの距離を測定し、測定信号を制御部70に出力する。CPU71は測定信号に基づき、扉6が開状態か閉状態かを判定する。なお、扉6の位置を検出する方法は、距離センサに限らず、別方式のセンサ等を用いてもよく、例えば近接センサを用いてもよい。また、扉6の開閉に応じて機械的にオンオフする機械スイッチ等を用いてもよい。   As shown in FIG. 21, the transport device according to the second embodiment includes a distance sensor 55 to detect the position of the door 6. The distance sensor 55 is, for example, an optical sensor, and receives a reflected wave of the detection wave transmitted from the transmission section reflected by a foreign object at the reception section, and applies a triangulation method to measure the distance to the foreign object. Etc. can be used. The distance sensor 55 is provided on the outer surface of the right side wall 51 of the cover 5 at a position facing the upper end of the rear end of the door 6 when the opening 511 is closed. A detected part 61 is attached to the upper part of the rear end of the door 6. The distance sensor 55 measures the distance to the detected part 61 and outputs a measurement signal to the control part 70. The CPU 71 determines whether the door 6 is open or closed based on the measurement signal. The method of detecting the position of the door 6 is not limited to the distance sensor, but another type of sensor or the like may be used, for example, a proximity sensor may be used. Moreover, you may use the mechanical switch etc. which turn on / off mechanically according to opening / closing of the door 6.

扉6は、アーム装置12とは独立して開閉するので、扉6とアーム装置12の相互の位置関係は、第一実施形態よりも多種である。上記の通り、第一実施形態は、扉6と連結可能なアーム装置12の状態を、状態1、状態2−1、状態2−2の三種類に分類する。第二実施形態は、扉6とアーム装置12の状態を、後述する状態1−1、1−2、1−3、1−4、2−1、2−2、2−3、2−4の八種類に分類する。   Since the door 6 opens and closes independently of the arm device 12, the positional relationship between the door 6 and the arm device 12 is different from that in the first embodiment. As described above, in the first embodiment, the state of the arm device 12 that can be connected to the door 6 is classified into three types of state 1, state 2-1, and state 2-2. In the second embodiment, the states of the door 6 and the arm device 12 are the states 1-1, 1-2, 1-3, 1-4, 2-1, 2-2, 2-3, 2-4 described later. It is classified into eight types.

第二実施形態の記憶装置74は、範囲設定テーブル742(図20参照)を記憶する。範囲設定テーブル742は、第一実施形態の範囲設定テーブル741(図16参照)と同様に、扉状態、アーム装置12のY軸位置、アーム部122のX軸位置、動作可能範囲を夫々対応づけて記憶する。状態は、状態1−1、1−2、1−3、1−4、2−1、2−2、2−3、2−4の八種類である。状態1−1、1−2、1−3、1−4の扉状態は閉、状態2−1、2−2、2−3、2−4の扉状態は開である。   The storage device 74 of the second embodiment stores a range setting table 742 (see FIG. 20). The range setting table 742 associates the door state, the Y-axis position of the arm device 12, the X-axis position of the arm unit 122, and the operable range, respectively, similarly to the range setting table 741 (see FIG. 16) of the first embodiment. To remember. There are eight types of states 1-1, 1-2, 1-3, 1-4, 2-1, 2-2, 2-3, and 2-4. The door states of states 1-1, 1-2, 1-3, 1-4 are closed, and the door states of states 2-1, 2-2, 2-3, 2-4 are open.

状態1−1は、第一実施形態の状態1と同じ位置関係である(図21参照)。故に範囲設定テーブル742は、状態1−1に対して、扉状態は閉、Y軸位置は進入不可、X軸位置はプラス側、動作可能範囲は第一動作可能範囲100を記憶する。状態1−2は、扉6は閉状態であるが、アーム装置12は把持部23がカバー5内に進入できる位置に在る位置関係である(図22参照)。アーム部122はプラス側に伸びている。扉6は閉状態なので、動作可能範囲は、第一動作可能範囲100を設定する。故に範囲設定テーブル742は、扉状態は閉、Y軸位置は進入可、X軸位置はプラス側、動作可能範囲は第一動作可能範囲を記憶する。   The state 1-1 has the same positional relationship as the state 1 of the first embodiment (see FIG. 21). Therefore, the range setting table 742 stores, for state 1-1, the door state is closed, the Y-axis position is inaccessible, the X-axis position is the plus side, and the operable range is the first operable range 100. State 1-2 is a positional relationship in which the door 6 is in the closed state, but the arm device 12 is in a position where the grip portion 23 can enter the cover 5 (see FIG. 22). The arm portion 122 extends to the plus side. Since the door 6 is in the closed state, the operable range is set to the first operable range 100. Therefore, the range setting table 742 stores the door closed, the Y-axis position is enterable, the X-axis position is positive, and the operable range is the first operable range.

なお、状態1−3では、扉6が閉状態であるにも関わらず、X軸位置はマイナス側であるので、アーム部122と把持部23は扉6と右側壁51に干渉する可能性が高い。故に範囲設定テーブル742は動作可能範囲を記憶せずに、エラーとする。状態1−4でも、扉6が閉状態であるにも関わらず、X軸位置はマイナス側であるので、アーム部122と把持部23は扉6と右側壁51に干渉する可能性が高い。故に範囲設定テーブル742は動作可能範囲を記憶せずに、エラーとする。   In the state 1-3, the X-axis position is on the minus side even though the door 6 is in the closed state, so that the arm portion 122 and the grip portion 23 may interfere with the door 6 and the right side wall 51. high. Therefore, the range setting table 742 does not store the operable range and causes an error. Even in the state 1-4, the X-axis position is on the minus side even though the door 6 is closed, so that the arm portion 122 and the grip portion 23 are likely to interfere with the door 6 and the right side wall 51. Therefore, the range setting table 742 does not store the operable range and causes an error.

状態2−1は、第一実施形態の状態2−1と同じ位置関係である(図23参照)。故に範囲設定テーブル742は、状態2−1に対して、扉状態は開、Y軸位置は進入可、X軸位置はプラス側、動作可能範囲は第二動作可能範囲200を記憶する。状態2−2も、第一実施形態の状態2−2と同じ位置関係である(図24参照)。故に範囲設定テーブル742は、状態2−2に対して、扉状態は開、Y軸位置は進入可、X軸位置はマイナス側、動作可能範囲は第三動作可能範囲300を記憶する。   The state 2-1 has the same positional relationship as the state 2-1 of the first embodiment (see FIG. 23). Therefore, the range setting table 742 stores the state 2-1 in which the door state is open, the Y-axis position is enterable, the X-axis position is positive, and the operable range is the second operable range 200. The state 2-2 also has the same positional relationship as the state 2-2 of the first embodiment (see FIG. 24). Therefore, the range setting table 742 stores the state 2-2 in which the door state is open, the Y-axis position is enterable, the X-axis position is negative, and the operable range is the third operable range 300.

状態2−3は、扉6は開状態であるが、アーム装置12は走行軸18の閉端位置であって、把持部23がカバー5内に進入できない位置に在る位置関係である(図25参照)。アーム部122のX軸位置はプラス側である。扉6は開状態であるが、把持部23がカバー5内に進入できないので、動作可能範囲は第一動作可能範囲100を設定する。故に範囲設定テーブル742は、扉状態は開、Y軸位置は進入可、X軸位置はプラス側、動作可能範囲は第一動作可能範囲100を記憶する。なお、状態2−4では、Y軸位置は進入不可であるにも関わらず、X軸位置はマイナス側であるので、アーム部122と把持部23は扉6と右側壁51に干渉する可能性が高い。故に範囲設定テーブル742は動作可能範囲を記憶せずに、エラーとする。   State 2-3 is a positional relationship in which the door 6 is in the open state, but the arm device 12 is at the closed end position of the traveling shaft 18 and the grip portion 23 is in a position where it cannot enter the cover 5 (Fig. 25). The X-axis position of the arm portion 122 is on the plus side. Although the door 6 is in the open state, since the grip 23 cannot enter the cover 5, the operable range is set to the first operable range 100. Therefore, the range setting table 742 stores the door state is open, the Y-axis position is enterable, the X-axis position is positive, and the operable range is the first operable range 100. In the state 2-4, although the Y-axis position is inaccessible, the X-axis position is on the minus side, so that the arm portion 122 and the grip portion 23 may interfere with the door 6 and the right side wall 51. Is high. Therefore, the range setting table 742 does not store the operable range and causes an error.

図26を参照し、動作可能範囲設定処理を説明する。第二実施形態のCPU71が実行する移動制御処理は、第一実施形態の移動制御処理(図18参照)と同じなので、説明を省略する。CPU71は、距離センサ55からの測定信号に基づき、扉6の位置を検出する(S41)。CPU71は検出した扉6の位置に基づき、閉状態か否か判断する(S42)。扉6が閉状態である場合(S42:YES)、CPU71はアーム部122のX軸位置を検出する(S43)。CPU71はX軸位置がプラス側か否か判断する(S44)。   The operable range setting process will be described with reference to FIG. The movement control process executed by the CPU 71 of the second embodiment is the same as the movement control process (see FIG. 18) of the first embodiment, and thus the description thereof is omitted. The CPU 71 detects the position of the door 6 based on the measurement signal from the distance sensor 55 (S41). The CPU 71 determines whether or not it is in the closed state based on the detected position of the door 6 (S42). When the door 6 is in the closed state (S42: YES), the CPU 71 detects the X-axis position of the arm section 122 (S43). The CPU 71 determines whether the X-axis position is on the plus side (S44).

X軸位置がプラス側の場合(S44:YES)、状態1−1なので、CPU71は範囲設定テーブル742に基づき、第一動作可能範囲100を設定する(S45)。X軸位置がマイナス側の場合(S44:YES)、アーム部122は扉6及び右側壁51と干渉する可能性が高いので、CPU71は警告を行い(S46)、動作を停止(S47)して処理を終了する。警告の態様については、例えば音、光、操作パネル1Aでの表示等を採用できる。故に搬送装置10は、扉6が閉状態の場合に、アーム部122が扉6と干渉しながら移動するのを防止できる。   When the X-axis position is on the plus side (S44: YES), since it is the state 1-1, the CPU 71 sets the first operable range 100 based on the range setting table 742 (S45). When the X-axis position is on the minus side (S44: YES), the arm portion 122 is likely to interfere with the door 6 and the right side wall 51, so the CPU 71 issues a warning (S46) and stops the operation (S47). The process ends. As for the warning mode, for example, sound, light, display on the operation panel 1A, or the like can be adopted. Therefore, the carrier device 10 can prevent the arm portion 122 from moving while interfering with the door 6 when the door 6 is in the closed state.

扉6が開状態である場合(S42:NO)、CPU71はアーム装置12のY軸位置を検出する(S51)。CPU71は検出したY軸位置は、進入可か否か判断する(S52)。進入可である場合(S52:YES)、CPU71はアーム部122のX軸位置を検出する(S53)。CPU71はX軸位置がプラス側か否か判断する(S54)。X軸位置がプラス側の場合(S54:YES)、状態2−1なので、CPU71は範囲設定テーブル742に基づき、第二動作可能範囲200を設定する(S55)。X軸位置がマイナス側の場合(S54:NO)、状態2−2なので、CPU71は範囲設定テーブル742に基づき、第三動作可能範囲300を設定する(S56)。   When the door 6 is in the open state (S42: NO), the CPU 71 detects the Y-axis position of the arm device 12 (S51). The CPU 71 determines whether or not the detected Y-axis position can enter (S52). When it is possible to enter (S52: YES), the CPU 71 detects the X-axis position of the arm portion 122 (S53). The CPU 71 determines whether the X-axis position is on the plus side (S54). If the X-axis position is on the plus side (S54: YES), the state is 2-1 and the CPU 71 sets the second operable range 200 based on the range setting table 742 (S55). When the X-axis position is on the minus side (S54: NO), the state is 2-2, so the CPU 71 sets the third operable range 300 based on the range setting table 742 (S56).

Y軸位置が進入不可である場合(S52:NO)、CPU71はアーム部122のX軸位置を検出する(S58)。CPU71はX軸位置がプラス側か否か判断する(S59)。X軸位置がプラス側の場合(S59:YES)、状態2−3なので、CPU71は範囲設定テーブル742に基づき、第一動作可能範囲100を設定する(S60)。X軸位置がマイナス側の場合(S59:NO)、アーム部122は扉6及び右側壁51と干渉する可能性が高いので、CPU71はS46に処理を進めて警告を行い、動作を停止(S47)して処理を終了する。   When the Y-axis position is inaccessible (S52: NO), the CPU 71 detects the X-axis position of the arm portion 122 (S58). The CPU 71 determines whether the X-axis position is on the plus side (S59). When the X-axis position is on the plus side (S59: YES), the state is 2-3, so the CPU 71 sets the first operable range 100 based on the range setting table 742 (S60). When the X-axis position is on the minus side (S59: NO), the arm portion 122 is likely to interfere with the door 6 and the right side wall 51, so the CPU 71 advances the processing to S46 to issue a warning and stop the operation (S47). ) And ends the process.

以上説明した如く、第二実施形態の工作機械は、第一実施形態と同様に搬送装置を備えるが、扉6とアーム装置12を連結する連結機構を備えていない。故に搬送装置のCPU71は、扉6の位置、アーム装置12のY軸位置、アーム部122のX軸位置を夫々検出する。CPU71は扉6の位置と、アーム装置12のY軸位置、アーム部122のX軸位置に基づき、動作可能範囲を設定する。CPU71は把持部23を目標座標に移動する移動指令を受け付け、目標座標は動作可能範囲内か否か判断する。目標座標が動作可能範囲内と判断した場合、CPU71は、移動部11及びアーム装置12の動作を制御し、移動指令を実行する。目標座標が動作可能範囲外と判断した場合、CPU71は、移動指令の実行を制限する。故に第二実施形態の搬送装置は、第一実施形態と同様に、アーム装置12が扉6と右側壁51に衝突するのを防止できる。扉6は手動で開閉するものではなく、サーボモータ、エアシリンダ、油圧シリンダ等の駆動源で自動で開閉するものでもよい。   As described above, the machine tool of the second embodiment includes the transfer device as in the first embodiment, but does not include the connecting mechanism that connects the door 6 and the arm device 12. Therefore, the CPU 71 of the transport device detects the position of the door 6, the Y-axis position of the arm device 12, and the X-axis position of the arm portion 122, respectively. The CPU 71 sets the operable range based on the position of the door 6, the Y-axis position of the arm device 12, and the X-axis position of the arm unit 122. The CPU 71 receives a movement command for moving the grip portion 23 to the target coordinates, and determines whether the target coordinates are within the operable range. When it is determined that the target coordinates are within the operable range, the CPU 71 controls the operations of the moving unit 11 and the arm device 12, and executes the movement command. When determining that the target coordinate is outside the operable range, the CPU 71 limits execution of the movement command. Therefore, the carrier device of the second embodiment can prevent the arm device 12 from colliding with the door 6 and the right side wall 51, as in the first embodiment. The door 6 may not be opened and closed manually, but may be automatically opened and closed by a drive source such as a servo motor, an air cylinder, a hydraulic cylinder or the like.

本発明は上記第一、第二実施形態に限らず各種変形が可能である。例えば、工作機械1は立型工作機械であるが、主軸が水平方向に延びる横型工作機械でもよい。工作機械1は被削材を加工する機械であれば何でもよく、例えば旋盤、旋削と切削の両方の加工が可能な複合機等でもよい。   The present invention is not limited to the first and second embodiments described above, and various modifications are possible. For example, although the machine tool 1 is a vertical machine tool, it may be a horizontal machine tool whose main axis extends in the horizontal direction. The machine tool 1 may be anything as long as it is a machine for processing a work material, and may be, for example, a lathe or a composite machine capable of both machining and cutting.

搬送装置10は、カバー5の右側壁51に設けるが、それ以外の壁部に設けてもよく、例えば前壁部、左壁部、又は背壁部に設けてもよい。   The transfer device 10 is provided on the right side wall 51 of the cover 5, but may be provided on another wall portion, for example, on the front wall portion, the left wall portion, or the back wall portion.

アーム装置12のアーム部122は、二つの第一アーム21と第二アーム22を備えるが、二以上のアームを備えてもよい。アーム部122はアーム数に合わせ、関節部を設ければよい。把持部23の把持構造についても上記実施形態に限定しない。   The arm unit 122 of the arm device 12 includes two first arms 21 and two second arms 22, but may include two or more arms. The arm portion 122 may be provided with a joint portion in accordance with the number of arms. The grip structure of the grip portion 23 is not limited to the above embodiment.

ロッド機構30はロッド35をカバー5側に突出し、扉6に設けた連結板60の連結孔65に挿入して係合する方式であるが、これ以外の方式で扉6とアーム装置12を連結してもよい。   The rod mechanism 30 is a system in which the rod 35 is projected toward the cover 5 side and is inserted into and engaged with the connecting hole 65 of the connecting plate 60 provided in the door 6, but the door 6 and the arm device 12 are connected by a method other than this. You may.

上記実施形態の移動制御処理(図18参照)のS11では、CPU71は、数値制御装置8から移動指令を受け付けるが、例えば搬送装置10に操作部(図示略)を設け、該操作部から移動指令を受け付けてもよい。   In S11 of the movement control process (see FIG. 18) of the above embodiment, the CPU 71 receives a movement command from the numerical control device 8. For example, the transport device 10 is provided with an operation unit (not shown), and the movement command is issued from the operation unit. May be accepted.

1 工作機械
1A 操作パネル
5 カバー
6 扉
10 搬送装置
11 移動部
12 アーム装置
18 走行軸
21 第一アーム
22 第二アーム
23 把持部
30 ロッド機構
41 第一関節部
42 第二関節部
43 第三関節部
51 右側壁
55 距離センサ
65 連結孔
71 CPU
100 第一動作可能範囲
200 第二動作可能範囲
300 第三動作可能範囲
511 開口部
512 壁部
A1 第一アーム長
A2 第二アーム長
L1 全領域走行ストローク
L2 外側伸縮ストローク
L3 走行ストローク
L4 内側伸縮ストローク
P 基準線
DESCRIPTION OF SYMBOLS 1 Machine tool 1A Operation panel 5 Cover 6 Door 10 Transfer device 11 Moving part 12 Arm device 18 Traveling shaft 21 First arm 22 Second arm 23 Gripping part 30 Rod mechanism 41 First joint part 42 Second joint part 43 Third joint Part 51 Right Side Wall 55 Distance Sensor 65 Connection Hole 71 CPU
100 First movable range 200 Second movable range 300 Third movable range 511 Opening 512 Wall part A1 First arm length A2 Second arm length L1 Full range traveling stroke L2 Outside expansion stroke L3 Running stroke L4 Inside expansion stroke P reference line

Claims (9)

工作機械を取り囲むカバーの壁部に設けた開口部を開閉する扉の移動方向に対して平行に設けられた走行軸と、
前記走行軸に沿って移動する移動部と、
前記移動部に設け、前記開口部に直交する方向に平行な所定方向に伸縮可能で、且つ先端部に被削材を把持可能な把持部を備え、前記カバー側に伸ばしたときに前記開口部を介して前記カバー内に進入可能なアーム装置と、
前記移動部と前記アーム装置の動作を制御する動作制御部と
を備え、
前記動作制御部が前記移動部と前記アーム装置を制御して前記把持部が把持した前記被削材を搬送する搬送装置において、
前記扉の位置である扉位置を検出する扉位置検出部と、
前記移動部の位置である移動位置を検出する移動位置検出部と、
前記アーム装置の前記所定方向における伸縮位置を検出するアーム位置検出部と、
前記扉位置検出部が検出した前記扉位置と、前記移動位置検出部が検出した前記移動位置と、前記アーム位置検出部が検出した前記伸縮位置とに基づき、前記アーム装置を前記カバー側、若しくは前記カバー側とは反対側に伸ばし、前記移動部を前記走行軸に沿って移動した場合、前記アーム装置が前記壁部及び前記扉の何れにも接触しない動作可能範囲を設定する動作可能範囲設定部と、
前記把持部を目標位置に移動する移動指令を受け付ける受付部と、
前記受付部が前記移動指令を受け付けた場合、前記目標位置は前記動作可能範囲設定部が設定した前記動作可能範囲内か否か判断する判断部と
を備え、
前記動作制御部は、
前記判断部が前記目標位置は前記動作可能範囲内と判断した場合、前記移動部及び前記アーム装置の動作を制御し、前記移動指令を実行する実行部と、
前記判断部が前記目標位置は前記動作可能範囲外と判断した場合、前記移動指令の実行を制限する実行制限部と
を備えたことを特徴とする搬送装置。
A traveling axis provided parallel to the moving direction of the door that opens and closes the opening provided in the wall of the cover that surrounds the machine tool;
A moving unit that moves along the traveling axis,
The moving part is provided with a gripping part capable of expanding and contracting in a predetermined direction parallel to the direction orthogonal to the opening part, and having a tip part capable of gripping a work material, and the opening part when extended to the cover side. An arm device that can enter into the cover via
An operation control unit that controls the operation of the moving unit and the arm device;
In a transfer device in which the operation control unit controls the moving unit and the arm device to transfer the work material held by the holding unit,
A door position detection unit that detects a door position that is the position of the door,
A moving position detecting unit that detects a moving position that is the position of the moving unit,
An arm position detection unit that detects an expansion / contraction position of the arm device in the predetermined direction,
Based on the door position detected by the door position detection unit, the movement position detected by the movement position detection unit, and the expansion / contraction position detected by the arm position detection unit, the arm device is provided on the cover side, or Operable range setting that extends to the side opposite to the cover side and sets an operable range in which the arm device does not come into contact with either the wall part or the door when the moving part is moved along the traveling axis Department,
A receiving unit that receives a movement command to move the gripping unit to a target position,
When the reception unit receives the movement command, the target position includes a determination unit that determines whether the target position is within the operable range set by the operable range setting unit,
The operation control unit,
If the determination unit determines that the target position is within the operable range, an execution unit that controls operations of the moving unit and the arm device and executes the movement command,
A carrying device, comprising: an execution restriction unit that restricts execution of the movement command when the determination unit determines that the target position is outside the operable range.
前記動作可能範囲設定部は
前記扉位置検出部が検出した前記扉位置が、前記開口部を閉塞する閉塞位置である場合、前記移動部の前記走行軸の全領域を走行可能な全領域走行ストロークと、前記アーム装置の前記反対側における伸縮ストロークである外側伸縮ストロークとに基づき、第一動作可能範囲を設定する第一範囲設定部と、
前記扉位置検出部が検出した前記扉位置が、前記開口部を開放する開放位置で、且つ前記アーム位置検出部が検出した前記伸縮位置が前記反対側である場合、前記開口部の開口範囲に対応する前記移動部の前記走行軸における走行ストロークと、前記アーム装置の前記カバー側における伸縮ストロークである内側伸縮ストロークと、前記全領域走行ストロークと、前記外側伸縮ストロークとに基づき、第二動作可能範囲する第二範囲設定部と、
前記扉位置検出部が検出した前記扉位置が、前記開口部を開放する開放位置で、且つ前記アーム位置検出部が検出した前記伸縮位置が前記カバー側である場合、前記走行ストロークと、前記アーム装置の前記所定方向における伸縮ストロークとに基づき、第三動作可能範囲を設定する第三範囲設定部と
を備えたこと
を特徴とする請求項1に記載の搬送装置。
When the door position detected by the door position detection unit is a closed position that closes the opening, the operable range setting unit is a full-area travel stroke capable of traveling in the entire area of the travel axis of the moving unit. And a first range setting unit that sets a first operable range based on an outside expansion / contraction stroke that is an expansion / contraction stroke on the opposite side of the arm device,
When the door position detected by the door position detection unit is an open position for opening the opening, and the expansion / contraction position detected by the arm position detection unit is on the opposite side, the opening range of the opening is A second operation is possible based on the traveling stroke of the corresponding moving portion on the traveling axis, the inner stretching stroke that is the stretching stroke on the cover side of the arm device, the entire region traveling stroke, and the outer stretching stroke. A second range setting section for the range,
When the door position detected by the door position detection unit is an open position that opens the opening and the expansion / contraction position detected by the arm position detection unit is on the cover side, the travel stroke and the arm The transport device according to claim 1, further comprising a third range setting unit that sets a third operable range based on a stretching stroke of the device in the predetermined direction.
工作機械を取り囲むカバーの壁部に設けた開口部を開閉する扉の移動方向に対して平行に設けられた走行軸と、
前記走行軸に沿って移動する移動部と、
前記移動部に設け、前記開口部に直交する方向に平行な所定方向に伸縮可能で、且つ先端部に被削材を把持可能な把持部を備え、前記カバー側に伸ばしたときに前記開口部を介して前記カバー内に進入可能なアーム装置と、
前記アーム装置と前記扉を連結する連結機構と、
前記移動部、前記アーム装置、前記連結機構の動作を制御する動作制御部と
を備え、
前記動作制御部が前記移動部と、前記アーム装置と、前記連結機構を制御し、前記把持部が把持した前記被削材を搬送する搬送装置において、
前記扉の位置である扉位置を検出する扉位置検出部と、
前記アーム装置の前記所定方向における伸縮位置を検出するアーム位置検出部と、
前記扉位置検出部が検出した前記扉位置と、前記アーム位置検出部が検出した前記伸縮位置とに基づき、前記アーム装置を前記カバー側、若しくは前記カバーとは反対側に伸ばし、前記移動部を前記走行軸に沿って移動した場合、前記アーム装置が前記壁部及び前記扉の何れにも接触しない動作可能範囲を設定する動作可能範囲設定部と、
前記把持部を目標位置に移動する移動指令を受け付ける受付部と、
前記受付部が前記移動指令を受け付けた場合、前記目標位置は前記動作可能範囲設定部が設定した前記動作可能範囲内か否か判断する判断部と
を備え、
前記動作制御部は、
前記判断部が前記目標位置は前記動作可能範囲内と判断した場合、前記移動部及び前記アーム装置の動作を制御し、前記移動指令を実行する実行部と、
前記判断部が前記目標位置は前記動作可能範囲外と判断した場合、前記移動指令の実行を制限する実行制限部と
を備えたことを特徴とする搬送装置。
A traveling axis provided parallel to the moving direction of the door that opens and closes the opening provided in the wall of the cover that surrounds the machine tool;
A moving unit that moves along the traveling axis,
The moving part is provided with a gripping part capable of expanding and contracting in a predetermined direction parallel to the direction orthogonal to the opening part, and having a tip part capable of gripping a work material, and the opening part when extended to the cover side. An arm device that can enter into the cover via
A connecting mechanism for connecting the arm device and the door,
An operation control unit that controls the operation of the moving unit, the arm device, and the connecting mechanism;
In a transfer device in which the operation control unit controls the moving unit, the arm device, and the connection mechanism, and which transfers the work material held by the holding unit,
A door position detection unit that detects a door position that is the position of the door,
An arm position detection unit that detects an expansion / contraction position of the arm device in the predetermined direction,
Based on the door position detected by the door position detection unit and the expansion / contraction position detected by the arm position detection unit, the arm device is extended to the cover side or the side opposite to the cover, and the moving unit is extended. An operable range setting unit that sets an operable range in which the arm device does not come into contact with either the wall portion or the door when the arm device moves along the traveling axis;
A receiving unit that receives a movement command to move the gripping unit to a target position,
When the reception unit receives the movement command, the target position includes a determination unit that determines whether the target position is within the operable range set by the operable range setting unit,
The operation control unit,
If the determination unit determines that the target position is within the operable range, an execution unit that controls operations of the moving unit and the arm device and executes the movement command,
A carrying device, comprising: an execution restriction unit that restricts execution of the movement command when the determination unit determines that the target position is outside the operable range.
前記動作可能範囲設定部は、
前記扉位置検出部が検出した前記扉位置が前記開口部を閉塞する閉塞位置である場合、前記移動部の前記走行軸の全領域を走行可能な全領域走行ストロークと、前記アーム装置の前記反対側における伸縮ストロークである外側伸縮ストロークとに基づき、第一動作可能範囲を設定する第一範囲設定部と、
前記扉位置検出部が検出した前記扉位置が前記開口部を開放する開放位置で、且つ前記アーム位置検出部が検出した前記伸縮位置が前記反対側である場合、前記連結機構で前記扉と連結した前記移動部の前記開口部の開口範囲に対応する前記走行軸における走行ストロークと、前記アーム装置の前記カバー側における伸縮ストロークである内側伸縮ストロークと、前記全領域走行ストロークと、前記外側伸縮ストロークとに基づき、第二動作可能範囲する第二範囲設定部と、
前記扉位置検出部が検出した前記扉位置が、前記開口部を開放する開放位置で、且つ前記アーム位置検出部が検出した前記伸縮位置が前記カバー側である場合、前記走行ストロークと、前記アーム装置の前記所定方向における伸縮ストロークとに基づき、第三動作可能範囲を設定する第三範囲設定部と
を備えたこと
を特徴とする請求項3に記載の搬送装置。
The operable range setting unit,
When the door position detected by the door position detection unit is a closing position that closes the opening, the entire region traveling stroke capable of traveling the entire region of the traveling shaft of the moving unit, and the opposite of the arm device. A first range setting unit that sets the first operable range based on the outer expansion and contraction stroke that is the expansion and contraction stroke on the side,
When the door position detected by the door position detection unit is an open position that opens the opening and the expansion / contraction position detected by the arm position detection unit is on the opposite side, the door is connected to the door by the connecting mechanism. The traveling stroke of the traveling shaft corresponding to the opening range of the opening of the moving unit, the inner stretching stroke that is the stretching stroke on the cover side of the arm device, the entire region traveling stroke, and the outer stretching stroke. Based on, and a second range setting unit to the second operable range,
When the door position detected by the door position detection unit is an open position that opens the opening and the expansion / contraction position detected by the arm position detection unit is on the cover side, the travel stroke and the arm The transport device according to claim 3, further comprising: a third range setting unit that sets a third operable range based on a stretching stroke of the device in the predetermined direction.
前記アーム装置と前記扉の連結を検出する連結検出部と、
前記アーム装置の移動位置を検出する移動位置検出部と
を備え、
前記扉位置検出部は、
前記連結検出部が前記連結を検出した状態で、前記移動位置検出部が検出した前記移動位置に基づき、前記扉位置を検出すること
を特徴とする請求項3又は4に記載の搬送装置。
A connection detection unit that detects the connection between the arm device and the door,
A moving position detecting unit for detecting a moving position of the arm device;
The door position detection unit,
The transport apparatus according to claim 3, wherein the door position is detected based on the movement position detected by the movement position detection unit in a state where the connection detection unit detects the connection.
前記動作可能範囲設定部は、
前記アーム位置検出部が検出した前記伸縮位置が、前記扉と前記アーム装置の間に設定する基準位置よりも前記カバー側である場合、前記伸縮位置は前記カバー側と判断するアーム位置判断部を備えたこと
を特徴とする請求項2又は4に記載の搬送装置。
The operable range setting unit,
When the extension / contraction position detected by the arm position detection unit is closer to the cover than the reference position set between the door and the arm device, the extension / contraction position is determined to be the cover side by an arm position determination unit. The transport apparatus according to claim 2, further comprising:
前記アーム装置は、
長尺状である複数のアーム部と、
前記複数のアーム部を屈曲可能に連結する少なくとも一つの関節部と
を備え、
前記アーム位置検出部は、前記関節部の位置と、前記把持部の位置を検出し、
前記アーム位置判断部は、前記アーム位置検出部が検出した前記関節部の位置と前記把持部の位置のうち少なくとも何れかが前記基準位置よりも前記カバー側である場合は、前記伸縮位置は前記カバー側と判断すること
を特徴とする請求項6に記載の搬送装置。
The arm device is
A plurality of long arm parts,
At least one joint that connects the plurality of arms in a bendable manner,
The arm position detection unit detects a position of the joint unit and a position of the grip unit,
If at least one of the position of the joint portion and the position of the grip portion detected by the arm position detection unit is closer to the cover than the reference position, the arm position determination unit determines that the expansion / contraction position is The transport device according to claim 6, wherein the transport device is determined to be on the cover side.
前記アーム部の長尺方向の長さであるアーム長を受け付けるアーム長受付部を備え、
前記動作可能範囲設定部は、
前記アーム長受付部が受け付けた前記アーム長に基づき、前記外側伸縮ストローク、前記内側伸縮ストローク、前記伸縮ストロークを算出する算出部を備えたこと
を特徴とする請求項7に記載の搬送装置。
An arm length receiving unit that receives an arm length that is the length of the arm unit in the lengthwise direction,
The operable range setting unit,
The transport device according to claim 7, further comprising: a calculation unit that calculates the outer expansion / contraction stroke, the inner expansion / contraction stroke, and the expansion / contraction stroke based on the arm length received by the arm length reception unit.
工作機械を取り囲むカバーと、
前記カバーの壁部に設けた開口部を開閉可能で、且つ被削材を搬送可能な請求項1から8の何れかに記載の搬送装置と
を備えたことを特徴とする工作機械。
A cover surrounding the machine tool,
A machine tool comprising: the transport device according to any one of claims 1 to 8, which is capable of opening and closing an opening provided in a wall portion of the cover and capable of transporting a work material.
JP2018205054A 2018-10-31 2018-10-31 Conveyors and machine tools Active JP7035963B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018205054A JP7035963B2 (en) 2018-10-31 2018-10-31 Conveyors and machine tools
CN201910978955.7A CN111113126B (en) 2018-10-31 2019-10-15 Conveying device and machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018205054A JP7035963B2 (en) 2018-10-31 2018-10-31 Conveyors and machine tools

Publications (2)

Publication Number Publication Date
JP2020069581A true JP2020069581A (en) 2020-05-07
JP7035963B2 JP7035963B2 (en) 2022-03-15

Family

ID=70495344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018205054A Active JP7035963B2 (en) 2018-10-31 2018-10-31 Conveyors and machine tools

Country Status (2)

Country Link
JP (1) JP7035963B2 (en)
CN (1) CN111113126B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112571087A (en) * 2019-09-27 2021-03-30 兄弟工业株式会社 Conveying device and machine tool

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2771148C1 (en) * 2021-05-31 2022-04-27 Публичное акционерное общество "Красногорский завод им. С.А. Зверева", ПАО КМЗ Precision positioning mechanism for the manufacture of high-precision optical devices

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05104391A (en) * 1991-10-18 1993-04-27 Brother Ind Ltd Door opening/closing controller using robot
JPH06106445A (en) * 1992-09-24 1994-04-19 Toyoda Mach Works Ltd Working system
JP2017094459A (en) * 2015-11-25 2017-06-01 株式会社ジェイテクト Transport device
JP2017094430A (en) * 2015-11-20 2017-06-01 ファナック株式会社 Manual feed apparatus for robot for calculating operation possible range of robot
JP2017185584A (en) * 2016-04-05 2017-10-12 ファナック株式会社 Machine tool system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2126135B (en) * 1982-09-03 1986-01-08 600 Group P L C The A robot serviced machine tool
KR20140095160A (en) * 2013-01-23 2014-08-01 두산인프라코어 주식회사 Opening and shutting device of door for machine tool
JP5689504B2 (en) * 2013-03-21 2015-03-25 ファナック株式会社 Machining system with automatic servo door
CN104108045A (en) * 2013-04-16 2014-10-22 宁夏巨能机器人系统有限公司 Opening and closing device of automatic machine tool roof gate
CN105150013A (en) * 2015-09-14 2015-12-16 芜湖德力自动化装备科技有限公司 Automatic feeding and discharging device for shaft rods
JP6693229B2 (en) * 2016-03-30 2020-05-13 ブラザー工業株式会社 Work exchange device, work exchange method, and computer program
JP6790819B2 (en) * 2016-12-28 2020-11-25 ブラザー工業株式会社 Work exchange device, work exchange method and computer program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05104391A (en) * 1991-10-18 1993-04-27 Brother Ind Ltd Door opening/closing controller using robot
JPH06106445A (en) * 1992-09-24 1994-04-19 Toyoda Mach Works Ltd Working system
JP2017094430A (en) * 2015-11-20 2017-06-01 ファナック株式会社 Manual feed apparatus for robot for calculating operation possible range of robot
JP2017094459A (en) * 2015-11-25 2017-06-01 株式会社ジェイテクト Transport device
JP2017185584A (en) * 2016-04-05 2017-10-12 ファナック株式会社 Machine tool system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112571087A (en) * 2019-09-27 2021-03-30 兄弟工业株式会社 Conveying device and machine tool

Also Published As

Publication number Publication date
JP7035963B2 (en) 2022-03-15
CN111113126A (en) 2020-05-08
CN111113126B (en) 2022-04-01

Similar Documents

Publication Publication Date Title
CN107363543B (en) Machine tool
CN109877626B (en) Machine tool
KR102020149B1 (en) Telescopic 6-axis vertical articulated robot
CN104057456A (en) Robot picking system and method of manufacturing a workpiece
KR20170098892A (en) Production system
US11602811B2 (en) Machine tool
KR20190055777A (en) Robot control method and apparatus
JP2020069581A (en) Transport device and machine tool
JP2012121134A (en) Method for deciding position of tool
CN111975250A (en) Workpiece rotating device and robot system
JP2022514780A (en) Manufacturing system and manufacturing method
KR20170125088A (en) Robot, control method of robot, mounting method of work, and method of returning work
US11161239B2 (en) Work robot system and work robot
KR101193211B1 (en) Direct teaching method for dual-arm robot
JP4044361B2 (en) Attachment changer with a tool position sensor
US20220388179A1 (en) Robot system
CN111113138B (en) Door opening/closing device and machine tool
JP6800421B1 (en) Measuring device and measuring method
JP2020069594A (en) Door opening/closing device and machine tool
JP7400300B2 (en) Conveyance equipment and machine tools
US11590616B1 (en) Underactuated joining system for moving assembly line
JP7230851B2 (en) Conveying device and control method of the conveying device
EP3441204B1 (en) Loading device and method tool using the same
JP4242229B2 (en) Method and apparatus for correcting thermal displacement of machine tool
JP2021098249A (en) Robot system, transport vehicle, control method for robot system, method of manufacturing article, control program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220104

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220128

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: 20220201

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220214

R150 Certificate of patent or registration of utility model

Ref document number: 7035963

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150