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

JP7643282B2 - Detection device and machine tool - Google Patents

Detection device and machine tool Download PDF

Info

Publication number
JP7643282B2
JP7643282B2 JP2021160563A JP2021160563A JP7643282B2 JP 7643282 B2 JP7643282 B2 JP 7643282B2 JP 2021160563 A JP2021160563 A JP 2021160563A JP 2021160563 A JP2021160563 A JP 2021160563A JP 7643282 B2 JP7643282 B2 JP 7643282B2
Authority
JP
Japan
Prior art keywords
detection
switch
switches
unit
states
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021160563A
Other languages
Japanese (ja)
Other versions
JP2023050458A (en
Inventor
匡一 森田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2021160563A priority Critical patent/JP7643282B2/en
Publication of JP2023050458A publication Critical patent/JP2023050458A/en
Application granted granted Critical
Publication of JP7643282B2 publication Critical patent/JP7643282B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Auxiliary Devices For Machine Tools (AREA)
  • Machine Tool Sensing Apparatuses (AREA)

Description

本発明は検出装置及び工作機械に関する。 The present invention relates to a detection device and a machine tool.

スイッチのON/OFFを検出する検出部を複数有し、複数の検出部の検出結果に基づき制御対象の状態を検出する検出装置がある。特許文献1は、操作盤の着脱が可能な接続部を有する制御装置を開示する。制御装置は、操作盤の接続状態を検出する信号線と接続する第二端子を備える。第二端子は、制御装置に対して操作盤が接続中か否かを検出する為の一方側接続端子と他方側接続端子を含む。操作盤が接続中か否かを一方側接続端子に依り検出できる時の制御装置と操作盤の間の距離と、操作盤が接続中か否かを他方側接続端子に依り検出できる時の制御装置と操作盤の間の距離は相違する。制御装置は、一方側接続端子と他方側接続端子の何れか一方に依り操作盤が接続中か否かを検出できる状態が所定時間継続した時、接続異常を通知する。 There is a detection device that has multiple detection units that detect the ON/OFF of a switch and detects the state of a controlled object based on the detection results of the multiple detection units. Patent Document 1 discloses a control device having a connection unit that allows a control panel to be attached and detached. The control device has a second terminal that connects to a signal line that detects the connection state of the control panel. The second terminal includes a one-side connection terminal and an other-side connection terminal for detecting whether the control panel is connected to the control device. The distance between the control device and the control panel when it is possible to detect whether the control panel is connected using the one-side connection terminal is different from the distance between the control device and the control panel when it is possible to detect whether the control panel is connected using the other-side connection terminal. The control device notifies a connection abnormality when a state in which it is possible to detect whether the control panel is connected using either the one-side connection terminal or the other-side connection terminal continues for a predetermined time.

特開2018-122397号JP 2018-122397 A

制御装置が接続異常と判定しないよう、複数の検出部の検出結果が相違する状態を解消したい時がある。 There are times when you want to eliminate a situation where the detection results of multiple detectors are different so that the control device does not determine that there is a connection abnormality.

本発明の目的は、複数の検出部の検出結果が相違する状態から、検出結果が一致する状態に切替えることができる検出装置及び工作機械を提供することである。 The object of the present invention is to provide a detection device and machine tool that can switch from a state in which the detection results of multiple detection units differ to a state in which the detection results match.

本発明の第一態様に係る検出装置は、導通状態が切替わる検出スイッチと、前記検出スイッチの前記導通状態を検出するスイッチ検出部とを有する検出系統を複数有する検出装置であって、複数の検出系統の夫々の前記スイッチ検出部が検出する前記導通状態が一致するよう前記複数の検出系統の状態を切替える為の切替部と、複数の検出系統の夫々の前記スイッチ検出部が検出した前記導通状態が相違するか判定する判定部と、前記判定部に依り、前記導通状態が相違すると判定した場合、前記複数の検出系統の状態を前記切替部に依り切替え、前記複数の検出系統の夫々の前記スイッチ検出部が検出する前記導通状態を一致させる変更部とを備えたことを特徴とする。 The detection device according to the first aspect of the present invention is a detection device having a plurality of detection systems each including a detection switch whose conduction state is switched and a switch detection unit that detects the conduction state of the detection switch, and is characterized in that it is equipped with a switching unit for switching the states of the plurality of detection systems so that the conduction states detected by the switch detection units of the plurality of detection systems match, a determination unit for determining whether the conduction states detected by the switch detection units of the plurality of detection systems differ, and a change unit for switching the states of the plurality of detection systems by the switching unit and matching the conduction states detected by the switch detection units of the plurality of detection systems when the determination unit determines that the conduction states differ.

検出装置は、複数のスイッチ検出部が検出した複数の検出スイッチの導通状態が相違する場合、複数のスイッチ検出部が検出する導通状態が一致するよう、複数の検出系統の状態を切替部に依り切替える。従って検出装置は、複数の検出スイッチの導通状態が相違する場合でも、複数のスイッチ検出部が検出する導通状態を一致させることができる。 When the conduction states of the multiple detection switches detected by the multiple switch detection units differ, the detection device switches the states of the multiple detection systems using a switching unit so that the conduction states detected by the multiple switch detection units match. Therefore, even when the conduction states of the multiple detection switches differ, the detection device can match the conduction states detected by the multiple switch detection units.

第一態様において、前記変更部は、前記判定部に依り、前記導通状態が相違する状態が所定時間継続したと判定した場合、前記複数の検出系統の状態を前記切替部に依り切替え、前記複数の検出系統の夫々の前記スイッチ検出部が検出する前記導通状態を一致させてもよい。該時、検出装置は、複数のスイッチ検出部が検出する導通状態が所定時間継続して相違することを防止できる。 In the first aspect, when the determination unit determines that the state in which the continuity states differ has continued for a predetermined time, the change unit may switch the states of the multiple detection systems using the switching unit, and match the continuity states detected by the switch detection units of the multiple detection systems. At that time, the detection device can prevent the continuity states detected by the multiple switch detection units from differing for a predetermined time.

第一態様において、前記切替部は、前記複数の検出系統の夫々の前記検出スイッチと前記スイッチ検出部との間の導通状態を切替える介在スイッチであってもよい。介在スイッチは、複数の検出スイッチの導通状態が相違する場合でも、複数のスイッチ検出部が検出する導通状態を一致させることができる。 In the first aspect, the switching unit may be an intervening switch that switches the conduction state between the detection switch of each of the multiple detection systems and the switch detection unit. The intervening switch can match the conduction states detected by the multiple switch detection units even if the conduction states of the multiple detection switches are different.

第一態様において、開閉可能な扉の位置に対応する位置情報を検出する位置検出部を更に有し、前記検出スイッチは、前記扉の開閉に応じて前記導通状態が切替わり、前記変更部は、前記位置検出部が検出した前記位置情報が所定範囲内にある状態で、前記判定部に依り前記導通状態が相違すると判定した場合、前記複数の検出系統の状態を前記切替部に依り切替え、前記複数の検出系統の夫々の前記スイッチ検出部が検出する前記導通状態を一致させてもよい。該時、検出装置は、扉が所定条件を満たす位置にある状態で、複数のスイッチ検出部が検出する導通状態を一致させることができる。 In a first aspect, the device further includes a position detection unit that detects position information corresponding to the position of an openable/closable door, and the detection switch switches the conductive state in response to the opening and closing of the door, and when the determination unit determines that the conductive states differ when the position information detected by the position detection unit is within a predetermined range, the change unit switches the states of the multiple detection systems using the switching unit, and matches the conductive states detected by the switch detection units of the multiple detection systems. At that time, the detection device can match the conductive states detected by the multiple switch detection units when the door is in a position that satisfies a predetermined condition.

第一態様において、前記位置検出部が検出した前記位置情報が前記所定範囲内にある状態から前記所定範囲外にある状態に変化した場合、前記複数の検出系統の状態を前記切替部に依り元に戻してもよい。該時、検出装置は、扉が所定条件を満たさない位置にある状態で、複数の検出スイッチの導通状態を複数のスイッチ検出部により検出できる。 In the first aspect, when the position information detected by the position detection unit changes from a state in the predetermined range to a state outside the predetermined range, the state of the multiple detection systems may be restored by the switching unit. At that time, the detection device can detect the conductive state of the multiple detection switches by the multiple switch detection units when the door is in a position that does not satisfy the predetermined condition.

本発明の第二態様に係る工作機械は、第一態様に係る検出装置と、カバーの壁部に設けた開口部を開閉可能な前記扉と、開放した前記開口部を介して前記カバーの内部に進入し、端部に把持した被削材を前記工作機械に向けて搬送する腕部とを備えたことを特徴とする。第二態様に依れば、第一態様と同様の効果を奏する。 The machine tool according to the second aspect of the present invention is characterized in that it includes the detection device according to the first aspect, the door capable of opening and closing an opening provided in the wall of the cover, and an arm that enters the inside of the cover through the open opening and conveys the workpiece held at its end toward the machine tool. According to the second aspect, the same effect as the first aspect is achieved.

扉6が閉塞した工作機械1を右斜め前方から見た斜視図。FIG. 4 is a perspective view of the machine tool 1 with the door 6 closed, viewed from diagonally forward right. 扉6が開放した工作機械1を右斜め前方から見た斜視図。FIG. 4 is a perspective view of the machine tool 1 with the door 6 open, viewed from diagonally forward right. 連結機構30の断面図。FIG. 腕装置12を左斜め前方から視た斜視図。FIG. 2 is a perspective view of the arm device 12 as viewed diagonally from the front left. 工作機械1の電気的構成を示すブロック図。FIG. 2 is a block diagram showing the electrical configuration of the machine tool 1. 検出機構60の回路図。FIG. 扉6が最大開位置から閉位置迄移動する時の信号線図。4 is a signal diagram when the door 6 moves from the maximum open position to the closed position. 扉6が閉位置から最大開位置迄移動する時の信号線図。4 is a signal diagram when the door 6 moves from the closed position to the maximum open position. 主処理の流れ図。1 is a flow chart of the main process.

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

図1,図2を参照し、工作機械1の構造を説明する。工作機械1は、工具を装着した主軸(図示略)を回転し、工作台(図示略)上に固定した被削材を切削する。工作機械1は基台2とカバー5を備える。基台2は工作機械1の下部に設ける。カバー5は基台2上部に設け、切粉と切削液の周囲への飛散を防止する。カバー5は前面右側に操作パネル1Aを備える。カバー5は右側壁51に、開口部511、壁部512、扉6を備える。開口部511は、右側壁51の中央よりも後側に設け略矩形状に形成する。壁部512は開口部511の周囲に設ける。扉6は、壁部512の内面に沿って前後方向に滑動自在に設け開口部511を開閉する。扉6の開閉機構は、例えば右側壁51の開口部511の上下に設けたガイドレール(図示略)、扉6の上部と下部に設けた複数の軸受等を備える。ガイドレールはY軸方向に延びる。扉6側に設けた複数の軸受がガイドレールに沿って摺動することで、扉6はY軸方向に滑動する。図1は、扉6が開口部511を閉塞した状態を示す。図2は、扉6が開口部511を開放した状態を示す。 The structure of the machine tool 1 will be described with reference to Figures 1 and 2. The machine tool 1 rotates a spindle (not shown) to which a tool is attached, and cuts a workpiece fixed on a work table (not shown). The machine tool 1 includes a base 2 and a cover 5. The base 2 is provided at the bottom of the machine tool 1. The cover 5 is provided at the top of the base 2, and prevents chips and cutting fluid from scattering to the surrounding area. The cover 5 includes an operation panel 1A on the right side of the front. 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 rearward of the center of the right side wall 51 and is formed in a substantially rectangular shape. The wall 512 is provided around the opening 511. The door 6 is provided slidably in the front-rear direction along the inner surface of the wall 512, and opens and closes the opening 511. The opening and closing mechanism of the door 6 includes, for example, guide rails (not shown) provided above and below the opening 511 in the right side wall 51, and multiple bearings provided at the top and bottom of the door 6. The guide rail extends in the Y-axis direction. The door 6 slides in the Y-axis direction as multiple bearings provided on the door 6 slide along the guide rail. Figure 1 shows the state in which the door 6 closes the opening 511. Figure 2 shows the state in which the door 6 opens the opening 511.

基台2は右側面に搬送装置10を取り付ける。搬送装置10は、数値制御装置8(図5参照)と相互に通信を行い、被削材の搬送と扉6の開閉を行う。搬送装置10の具体的構成は後述する。カバー5は背面に制御箱1Bを備える。制御箱1Bは数値制御装置8を格納する。数値制御装置8は工作機械1の動作を制御する。 The transport device 10 is attached to the right side of the base 2. The transport device 10 communicates with the numerical control device 8 (see Figure 5) to transport the workpiece and open and close the door 6. The specific configuration of the transport device 10 will be described later. The cover 5 has a control box 1B on the back. The control box 1B stores the numerical control device 8. The numerical control device 8 controls the operation of the machine tool 1.

図1,図2を参照し、搬送装置10の構成を説明する。搬送装置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 Figures 1 and 2. The transport device 10 includes a moving part 11, an arm device 12, a moving mechanism 14, etc. The moving part 11 slides in the Y-axis direction by the moving mechanism 14. The arm device 12 is provided on the top of the moving part 11, is extendable in the X-axis direction and the Z-axis direction, and is capable of gripping the workpiece. Therefore, the arm device 12 can replace the workpiece held on the workbench inside the cover 5 with the door 6 open.

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

走行軸18A,18Bは、枠体部15の内側にてボール螺子17を上下方向から挟むように、且つY軸方向に延びるように互いに平行に設ける。走行軸18A,18Bは、移動部11をY軸方向に案内可能に支持する。以下説明は、走行軸18A,18Bを総称する場合、走行軸18と呼ぶ。移動部11はボール螺子17に取り付ける。蛇腹カバー19は、枠体部15に設け、枠体部15の開口する部分を覆う。蛇腹カバー19は移動部11のY軸方向への移動に従い伸縮する。従って、移動機構14は枠体部15内に切粉等が侵入するのを防止できる。移動モータ16が駆動すると、ボール螺子17は回転する。ボール螺子17の回転に伴い、移動部11はY軸方向に移動するので、腕装置12はY軸方向に移動する。 The traveling shafts 18A and 18B are arranged parallel to each other so as to sandwich the ball screw 17 from above and below inside the frame body 15 and extend in the Y-axis direction. The traveling shafts 18A and 18B support the moving part 11 so as to be guided in the Y-axis direction. In the following description, the traveling shafts 18A and 18B are collectively referred to as the traveling shaft 18. The moving part 11 is attached to the ball screw 17. The bellows cover 19 is provided on the frame body 15 and covers the opening of the frame body 15. The bellows cover 19 expands and contracts as the moving part 11 moves in the Y-axis direction. Therefore, the moving mechanism 14 can prevent chips and the like from entering the frame body 15. When the moving motor 16 is driven, the ball screw 17 rotates. As the ball screw 17 rotates, the moving part 11 moves in the Y-axis direction, and the arm device 12 moves in the Y-axis direction.

腕装置12は、本体部121と腕部122を備える。本体部121は移動部11上部に設け、上下方向に長い略直方体状に形成する。本体部121は前面上部に第一関節部41(図4参照)を備える。第一関節部41は、Y軸方向に延びる軸心を中心に、腕部122の後述する第一腕21を回転可能に支持する。本体部121は内部に第一モータ81(図5参照)を格納する。第一モータ81は第一腕21を回転駆動する。 The arm device 12 comprises a main body 121 and an arm 122. The main body 121 is provided on the upper part of the moving part 11, and is formed in a generally rectangular parallelepiped shape that is long in the vertical direction. The main body 121 comprises a first joint 41 (see FIG. 4) on the upper front part. The first joint 41 supports a first arm 21 (described later) of the arm 122 so that it can rotate around an axis extending in the Y-axis direction. The main body 121 houses a first motor 81 (see FIG. 5) inside. The first motor 81 drives and rotates the first arm 21.

本体部121は上面部に連結機構30を備える。図3(A)に示すように、連結機構30は、連結棒35、センサ36、37(図5参照)を備える。連結棒35は、エアシリンダ(図示略)を駆動源として、カバー5側である左方向に対し進退可能に駆動する。図3(B)に示すように、連結棒35は、扉6の外面の前端部に設けた連結穴65に挿入して係合可能である。連結棒35が連結穴65に挿入して係合すると、腕装置12は連結棒35を介して扉6と連結する。従って扉6は、腕装置12と連結してY軸方向に移動することで、右側壁51の開口部511を開閉できる。センサ36は、連結棒35が待機位置に移動したことを検出し、信号を出力する。待機位置は、連結穴か65ら完全に抜けた状態の連結棒35の位置である。センサ37は、連結棒35が突出位置に移動したことを検出し、信号を出力する。突出位置は、連結穴65に係合した状態の連結棒35の位置である。 The main body 121 has a connecting mechanism 30 on the upper surface. As shown in FIG. 3A, the connecting mechanism 30 has a connecting rod 35 and sensors 36 and 37 (see FIG. 5). The connecting rod 35 is driven by an air cylinder (not shown) as a driving source so as to be able to move forward and backward in the left direction, which is the cover 5 side. As shown in FIG. 3B, the connecting rod 35 can be inserted into and engaged with a connecting hole 65 provided at the front end of the outer surface of the door 6. When the connecting rod 35 is inserted into and engaged with the connecting hole 65, the arm device 12 is connected to the door 6 via the connecting rod 35. Therefore, the door 6 can open and close the opening 511 in the right side wall 51 by moving in the Y-axis direction while connected to the arm device 12. The sensor 36 detects that the connecting rod 35 has moved to the standby position and outputs a signal. The standby position is the position of the connecting rod 35 when it is completely removed from the connecting hole 65. The sensor 37 detects that the connecting rod 35 has moved to the protruding position and outputs a signal. The protruding position is the position of the connecting rod 35 when it is engaged with the connecting hole 65.

図1に示すように、壁部512の内部の後上方に、検出スイッチ61Aが固定してある。図示されていないが、壁部512の内部の後下方に、検出スイッチ62Aが固定してある。検出スイッチ61A、62Aはリミットスイッチである。検出スイッチ61A、62Aは上下方向に離隔する。検出スイッチ61A、62Aを、検出スイッチ6Aと総称する。検出スイッチ6Aは、接点601、602(図6参照)、プランジャ606を有する。 As shown in FIG. 1, detection switch 61A is fixed to the upper rear inside wall 512. Although not shown, detection switch 62A is fixed to the lower rear inside wall 512. Detection switches 61A and 62A are limit switches. Detection switches 61A and 62A are spaced apart in the vertical direction. Detection switches 61A and 62A are collectively referred to as detection switch 6A. Detection switch 6A has contacts 601 and 602 (see FIG. 6) and a plunger 606.

プランジャ606は、壁部512内面に沿って滑動する扉6の後端に接触可能である。扉6が開口部511を全て閉塞した状態で、扉6の後端は、検出スイッチ61A、62Aの夫々のプランジャ606に接触する。該時、検出スイッチ61A、62Aの夫々の接点601、602は導通する。扉6が開口部511を閉塞しない状態で、検出スイッチ61A、62Aの夫々のプランジャ606に対して扉6は前方に離隔する。該時、検出スイッチ61A、62Aの夫々の接点601、602は導通しない。以下、接点601、602が導通することを、検出スイッチ6AがONすると称し、接点601、602が導通しないことを、検出スイッチ6AがOFFすると称す。 The plunger 606 can come into contact with the rear end of the door 6, which slides along the inner surface of the wall portion 512. When the door 6 completely blocks the opening 511, the rear end of the door 6 comes into contact with the plungers 606 of the detection switches 61A and 62A. At that time, the contacts 601 and 602 of the detection switches 61A and 62A are conductive. When the door 6 does not block the opening 511, the door 6 moves forward away from the plungers 606 of the detection switches 61A and 62A. At that time, the contacts 601 and 602 of the detection switches 61A and 62A are not conductive. Hereinafter, when the contacts 601 and 602 are conductive, it is referred to as the detection switch 6A being ON, and when the contacts 601 and 602 are not conductive, it is referred to as the detection switch 6A being OFF.

図4を参照し、腕部122の構造を説明する。腕部122は、第一腕21と第二腕22を折り畳み可能に備える。本体部121の第一関節部41は、第一腕21の一端部を回動可能に支持する。第一腕21は他端部に第二関節部42を備える。第二関節部42は、Y軸方向に延びる軸心を中心に、第二腕22の一端部を回動可能に支持する。第二腕22は他端部に第三関節部43を備える。第三関節部43は、Y軸方向に延びる軸心を中心に、二つの把持部23A,23B(図1では省略)を回動可能に支持する。把持部23A,23Bは被削材Wを把持可能である。 The structure of the arm 122 will be described with reference to FIG. 4. The arm 122 includes a first arm 21 and a second arm 22 that can be folded. The first joint 41 of the main body 121 rotatably supports one end of the first arm 21. The first arm 21 includes a second joint 42 at the other end. The second joint 42 rotatably supports one end of the second arm 22 around an axis extending in the Y-axis direction. The second arm 22 includes a third joint 43 at the other end. The third joint 43 rotatably supports two gripping parts 23A and 23B (not shown in FIG. 1) around an axis extending in the Y-axis direction. The gripping parts 23A and 23B can grip the workpiece W.

第一腕21は内部に第二モータ82(図5参照)を格納する。第二モータ82は第二関節部42のギア(図示略)を介して第二腕22を駆動する。第二腕22は内部に第三モータ83(図5参照)を格納する。第三モータ83は第三関節部43のギアを介して把持部23A,23Bを回転駆動する。把持部23A,23Bはエアシリンダ231(図5参照)を夫々備える。エアシリンダ231は、被削材Wの把持動作を行う為の駆動源である。以下説明は、二つの把持部23A,23Bを総称する場合、把持部23と呼ぶ。 The first arm 21 houses a second motor 82 (see FIG. 5) therein. The second motor 82 drives the second arm 22 via a gear (not shown) of the second joint 42. The second arm 22 houses a third motor 83 (see FIG. 5) therein. The third motor 83 rotates and drives the gripping parts 23A and 23B via a gear of the third joint 43. The gripping parts 23A and 23B each have an air cylinder 231 (see FIG. 5). The air cylinder 231 is a drive source for gripping the workpiece W. In the following description, when the two gripping parts 23A and 23B are collectively referred to as gripping parts 23.

搬送装置10の動作の一例を説明する。以下説明では、X軸方向において、走行軸18から右側であって、扉6とは反対方向を(+)方向、走行軸18よりも扉6の方向を(-)方向とする。Y軸方向における前方を(+)方向、後方を(-)方向とする。図1に示すように、搬送装置10に依り扉6が開口部511を全て閉塞した状態での腕装置12のY軸方向の位置を、閉位置という。図2に示すように、搬送装置10に依り扉6が開口部511を全て開放した状態での腕装置12のY軸方向の位置を、最大開位置とする。閉位置及び最大開位置は、原点から腕装置12迄のY軸方向の距離で示す。原点は、搬送装置10に依り扉6が開口部511を全て閉塞した時の腕装置12の位置(図1参照)で示す。従って、原点と閉位置とは一致し、夫々の間の距離は0である。原点と最大開位置との距離を、Y(max)と表記する。 An example of the operation of the conveying device 10 will be described. In the following description, in the X-axis direction, the direction to the right of the travel axis 18 and opposite the door 6 is the (+) direction, and the direction of the door 6 from the travel axis 18 is the (-) direction. In the Y-axis direction, the front is the (+) direction, and the rear is the (-) direction. As shown in FIG. 1, the position of the arm device 12 in the Y-axis direction when the door 6 is completely closed by the conveying device 10 is called the closed position. As shown in FIG. 2, the position of the arm device 12 in the Y-axis direction when the door 6 is completely opened by the conveying device 10 is called the maximum open position. The closed position and the maximum open position are indicated by the distance in the Y-axis direction from the origin to the arm device 12. The origin is indicated by the position of the arm device 12 when the door 6 is completely closed by the conveying device 10 (see FIG. 1). Therefore, the origin and the closed position coincide, and the distance between them is 0. The distance between the origin and the maximum open position is represented as Y(max).

図1に示すように、搬送装置10は腕装置12が閉位置に配置する状態で、連結棒35を扉6側(左方)に移動する(図3(A)→図3(B))。連結棒35の先端部は連結穴65に挿入し、腕装置12と扉6は連結する。搬送装置10は、該状態で、腕装置12をY軸(+)方向に高速で移動する。腕装置12は高速で扉6を開き、開口部511を広げる。搬送装置10は、腕装置12がY軸(+)方向に距離Ymax移動した後、停止する。該時、図2に示すように、腕装置12は最大開位置に位置し、開口部511は全て開放する。 As shown in FIG. 1, the conveying device 10 moves the connecting rod 35 toward the door 6 (leftward) with the arm device 12 in the closed position (FIG. 3(A) → FIG. 3(B)). The tip of the connecting rod 35 is inserted into the connecting hole 65, and the arm device 12 and the door 6 are connected. In this state, the conveying device 10 moves the arm device 12 in the Y-axis (+) direction at high speed. The arm device 12 opens the door 6 at high speed, widening the opening 511. The conveying device 10 stops after the arm device 12 has moved a distance Ymax in the Y-axis (+) direction. At that time, as shown in FIG. 2, the arm device 12 is in the maximum open position, and the opening 511 is fully open.

次に、搬送装置10は腕部122をX軸(-)方向に伸ばす。腕部122は、開口部511を介してカバー5内に進入し、把持部23と被削材Wをカバー5内に配置する。腕装置12は、例えば工作機械1の工作台上面に被削材Wを設置する。被削材Wの設置後、搬送装置10は腕部122を折り畳んでX軸(+)方向に縮め、把持部23をカバー5外に移動する。 Next, the transport device 10 extends the arm 122 in the X-axis (-) direction. The arm 122 enters the cover 5 through the opening 511, and places the gripping portion 23 and the workpiece W inside the cover 5. The arm device 12 places the workpiece W on, for example, the top surface of the work table of the machine tool 1. After placing the workpiece W, the transport device 10 folds the arm 122 and contracts it in the X-axis (+) direction, and moves the gripping portion 23 out of the cover 5.

搬送装置10は、腕装置12を扉6と連結した状態で、Y軸(-)方向に高速で移動する。検出スイッチ6AがONした場合、搬送装置10は腕装置12の移動を停止する。該時、図1に示すように、腕装置12は閉位置に位置し、扉6は開口部511を全て閉塞する。搬送装置10は連結棒35を右方に後退する。連結棒35は連結穴65から抜ける(図3(B)→図3(A))。腕装置12と扉6の連結は解消する。以上に依り、搬送装置10の一連の動作は終了する。 The transport device 10 moves at high speed in the Y-axis (-) direction with the arm device 12 connected to the door 6. When the detection switch 6A is turned ON, the transport device 10 stops the movement of the arm device 12. At that time, as shown in FIG. 1, the arm device 12 is in the closed position and the door 6 completely blocks the opening 511. The transport device 10 moves the connecting rod 35 back to the right. The connecting rod 35 comes out of the connecting hole 65 (FIG. 3(B) → FIG. 3(A)). The connection between the arm device 12 and the door 6 is released. This completes the series of operations of the transport device 10.

搬送装置10は、検出スイッチ61A、62Aのうち一方のみONして他方がOFFした状態が所定時間以上継続した場合、検出スイッチ61A、62Aのうち少なくとも一方が故障したと判定する。該時、工作機械1は動作を停止する。 When only one of the detection switches 61A, 62A is ON and the other is OFF for a predetermined period of time or longer, the conveying device 10 determines that at least one of the detection switches 61A, 62A has failed. At that time, the machine tool 1 stops operating.

図5を参照し、工作機械1の電気的構成を説明する。搬送装置10は、制御部70を備える。制御部70は、CPU71、ROM72、RAM73、記憶装置74、入出力部77を備える。CPU71は、搬送装置10の動作を統括制御する。ROM72は、CPU71が駆動する為のプログラム等を記憶する。RAM73は、各種情報を一時的に記憶する。記憶装置74は不揮発性の記憶装置であり、距離Y(max)、Y(inv)(後述)等の各種パラメータを記憶する。入出力部77は、外部装置とのデータの入出力を行う。入出力部77には、数値制御装置8、エンコーダ16A、81A、82A、83A、移動モータ16、第一モータ81、第二モータ82、第三モータ83、エアシリンダ231、センサ36、37、検出スイッチ61A、62A、及び、後述する介在スイッチ61B、62B等が接続する。 The electrical configuration of the machine tool 1 will be described with reference to FIG. 5. The conveying 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 controls the operation of the conveying device 10. The ROM 72 stores programs and the like for the CPU 71 to operate. The RAM 73 temporarily stores various information. The storage device 74 is a non-volatile storage device, and stores various parameters such as distance Y (max) and Y (inv) (described later). The input/output unit 77 inputs and outputs data to and from external devices. The input/output unit 77 is connected to the numerical control device 8, the encoders 16A, 81A, 82A, 83A, the moving motor 16, the first motor 81, the second motor 82, the third motor 83, the air cylinder 231, the sensors 36, 37, the detection switches 61A, 62A, and the intervening switches 61B, 62B described later.

移動モータ16は、エンコーダ16Aを備える。エンコーダ16Aは、移動モータ16の回転位置を検出する。第一モータ81は、エンコーダ81Aを備える。エンコーダ81Aは、第一モータ81の回転位置を検出する。第二モータ82は、エンコーダ82Aを備える。エンコーダ82Aは、第二モータ82の回転位置を検出する。第三モータ83は、エンコーダ83Aを備える。エンコーダ83Aは、第三モータ83の回転位置を検出する。 The movement motor 16 is equipped with an encoder 16A. The encoder 16A detects the rotational position of the movement motor 16. The first motor 81 is equipped with an encoder 81A. The encoder 81A detects the rotational position of the first motor 81. The second motor 82 is equipped with an encoder 82A. The encoder 82A detects the rotational position of the second motor 82. The third motor 83 is equipped with an encoder 83A. The encoder 83A detects the rotational position of the third motor 83.

図6を参照し、検出機構60について説明する。検出機構60は、扉6の閉塞を検出する為の機構であり、検出系統610、620を有する。検出系統610は、検出スイッチ61Aに依り扉6の閉塞を検出する。検出系統620は、検出スイッチ62Aに依り扉6の閉塞を検出する。 The detection mechanism 60 will be described with reference to FIG. 6. The detection mechanism 60 is a mechanism for detecting the closure of the door 6, and has detection systems 610 and 620. The detection system 610 detects the closure of the door 6 by a detection switch 61A. The detection system 620 detects the closure of the door 6 by a detection switch 62A.

検出系統610は、検出スイッチ61A、介在スイッチ61B、スイッチ検出部77A、スイッチ切替部77Cを有する。スイッチ検出部77Aは入出力部77に設け、検出スイッチ61Aの導通状態を検出可能である。スイッチ検出部77Aは、検出スイッチ61Aの接点601に接続する端子台771Aと、介在スイッチ61Bを介して検出スイッチ61Aの接点602に接続する端子台772Aを有する。 The detection system 610 has a detection switch 61A, an intervening switch 61B, a switch detection unit 77A, and a switch changeover unit 77C. The switch detection unit 77A is provided in the input/output unit 77, and is capable of detecting the conductive state of the detection switch 61A. The switch detection unit 77A has a terminal block 771A that connects to the contact 601 of the detection switch 61A, and a terminal block 772A that connects to the contact 602 of the detection switch 61A via the intervening switch 61B.

介在スイッチ61Bはフォトカプラであり、検出スイッチ61Aの接点602と、スイッチ検出部77Aの端子台772Aとの間に介在する。介在スイッチ61Bのエミッタ603は、検出スイッチ61Aの接点602に接続する。介在スイッチ61Bのコレクタ604は、スイッチ検出部77Aの端子台772Aに接続する。介在スイッチ61Bのダイオード605は、スイッチ切替部77Cに接続する。 The intermediate switch 61B is a photocoupler and is interposed between the contact 602 of the detection switch 61A and the terminal block 772A of the switch detection unit 77A. The emitter 603 of the intermediate switch 61B is connected to the contact 602 of the detection switch 61A. The collector 604 of the intermediate switch 61B is connected to the terminal block 772A of the switch detection unit 77A. The diode 605 of the intermediate switch 61B is connected to the switch changeover unit 77C.

スイッチ切替部77Cは入出力部77に設け、介在スイッチ61Bのエミッタ603とコレクタ604の導通状態を切替え可能である。エミッタ603とコレクタ604が導通した状態で、検出スイッチ61Aの接点602とスイッチ検出部77Aの端子台772Aは導通する。エミッタ603とコレクタ604が導通しない状態で、検出スイッチ61Aの接点602とスイッチ検出部77Aの端子台772Aは導通しない。 The switch changeover unit 77C is provided in the input/output unit 77, and can switch the conductive state of the emitter 603 and collector 604 of the intervening switch 61B. When the emitter 603 and collector 604 are conductive, the contact 602 of the detection switch 61A and the terminal block 772A of the switch detection unit 77A are conductive. When the emitter 603 and collector 604 are not conductive, the contact 602 of the detection switch 61A and the terminal block 772A of the switch detection unit 77A are not conductive.

検出系統620の検出スイッチ62A、介在スイッチ62B、スイッチ検出部77B、スイッチ切替部77Dは夫々、検出系統610の検出スイッチ61A、介在スイッチ61B、スイッチ検出部77A、スイッチ切替部77Cに対応する。スイッチ検出部77Bの端子台771B、772Bは夫々、スイッチ検出部77Aの端子台771A、772Aに対応する。スイッチ検出部77B、スイッチ切替部77Dは、入出力部77に設ける。 The detection switch 62A, the intervening switch 62B, the switch detection unit 77B, and the switch changeover unit 77D of the detection system 620 correspond to the detection switch 61A, the intervening switch 61B, the switch detection unit 77A, and the switch changeover unit 77C of the detection system 610, respectively. The terminal blocks 771B and 772B of the switch detection unit 77B correspond to the terminal blocks 771A and 772A of the switch detection unit 77A, respectively. The switch detection unit 77B and the switch changeover unit 77D are provided in the input/output unit 77.

以下、検出系統610、620を区別しない場合、検出系統600と総称する。介在スイッチ61B、62Bを区別しない場合、介在スイッチ6Bと総称する。介在スイッチ6Bのエミッタ603とコレクタ604が導通することを、介在スイッチ6BがONすると称し、エミッタ603とコレクタ604が導通しないことを、介在スイッチ6BがOFFすると称す。スイッチ検出部77A、77Bを区別しない場合、スイッチ検出部701と総称する。スイッチ切替部77C、77Dを区別しない場合、スイッチ切替部702と総称する。 Hereinafter, when the detection systems 610, 620 are not differentiated, they are collectively referred to as the detection system 600. When the intervening switches 61B, 62B are not differentiated, they are collectively referred to as the intervening switch 6B. When the emitter 603 and collector 604 of the intervening switch 6B are conductive, it is said that the intervening switch 6B is ON, and when the emitter 603 and collector 604 are not conductive, it is said that the intervening switch 6B is OFF. When the switch detection units 77A, 77B are not differentiated, they are collectively referred to as the switch detection unit 701. When the switch changeover units 77C, 77D are not differentiated, they are collectively referred to as the switch changeover unit 702.

搬送装置10は、扉6が開口部511を開閉する動作と、エンコーダ16Aが検出する移動モータ16の回転位置との関係を確認する為、確認動作を行う。確認動作では、扉6に連結した腕装置12を、移動モータ16の駆動に依り低速で閉位置(図1参照)と最大開位置(図2参照)の間で移動する。搬送装置10は、該時にエンコーダ16Aが検出する回転位置を、記憶装置74に記憶する。 The conveying device 10 performs a confirmation operation to confirm the relationship between the operation of the door 6 opening and closing the opening 511 and the rotational position of the moving motor 16 detected by the encoder 16A. In the confirmation operation, the arm device 12 connected to the door 6 is moved at a low speed between the closed position (see FIG. 1) and the maximum open position (see FIG. 2) by the drive of the moving motor 16. The conveying device 10 stores the rotational position detected by the encoder 16A at that time in the storage device 74.

腕装置12のY軸方向の所定の位置であって最大開位置と閉位置との間の何れかの位置を、無効位置(図7、図8参照)と定義する。原点(閉位置)と無効位置との間のY軸方向の距離Y(inv)は、記憶装置74に予め記憶する。扉6に連結した腕装置12が無効位置と閉位置との間の何れかの位置にある時、検出スイッチ6Aのプランジャ606と扉6の接触状態が変化する。該時、検出スイッチ6Aの導通状態はONとOFFの間で切替わる。 A predetermined position in the Y-axis direction of the arm device 12, which is any position between the maximum open position and the closed position, is defined as the ineffective position (see Figures 7 and 8). The distance Y (inv) in the Y-axis direction between the origin (closed position) and the ineffective position is stored in advance in the memory device 74. When the arm device 12 connected to the door 6 is in any position between the ineffective position and the closed position, the contact state between the plunger 606 of the detection switch 6A and the door 6 changes. At that time, the conductive state of the detection switch 6A switches between ON and OFF.

検出スイッチ61A、62Aは上下方向に離隔する為、夫々のプランジャ606は扉6の異なる位置に接触する。又、検出スイッチ61A、62Aには個体差がある。従って、扉6が開口部511を閉塞する過程で腕装置12が無効位置から閉位置まで移動する時、検出スイッチ61Aのプランジャ606、及び、検出スイッチ62Aのプランジャ606には、異なるタイミングで扉6が接触する。このため、検出スイッチ61A、62Aは夫々異なるタイミングでOFFからONに切替わる。図7(A)に示す例では、介在スイッチ61B、62BがONした状態で、検出スイッチ62Aが先にOFFからONに切替わり(時機t11)、その後、検出スイッチ61AがOFFからONに切替わる(時機t12)。 Since the detection switches 61A and 62A are spaced apart in the vertical direction, the plungers 606 of the detection switches 61A and 62A come into contact with different positions on the door 6. There are also individual differences between the detection switches 61A and 62A. Therefore, when the arm device 12 moves from the inactive position to the closed position in the process of the door 6 closing the opening 511, the door 6 comes into contact with the plungers 606 of the detection switches 61A and 606 of the detection switches 62A at different times. Therefore, the detection switches 61A and 62A are switched from OFF to ON at different times. In the example shown in FIG. 7(A), with the intermediate switches 61B and 62B turned ON, the detection switch 62A is switched from OFF to ON first (time t11), and then the detection switch 61A is switched from OFF to ON (time t12).

搬送装置10は、スイッチ検出部77Bが検出する検出スイッチ62Aの導通状態がOFFからONに切替わったと判定し(時機t13)、スイッチ検出部77Aが検出する検出スイッチ62Aの導通状態がOFFからONに切替わったと判定する(時機t14)。時機t13~t14の期間Y11中、スイッチ検出部77Aは検出スイッチ61AがOFFであることを検出し、且つ、スイッチ検出部77Bは検出スイッチ62AがONであることを検出する。搬送装置10は、スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態が、一方がONして他方がOFFした状態であると判定する。 The transport device 10 determines that the conductive state of the detection switch 62A detected by the switch detection unit 77B has switched from OFF to ON (time t13), and determines that the conductive state of the detection switch 62A detected by the switch detection unit 77A has switched from OFF to ON (time t14). During the period Y11 from time t13 to t14, the switch detection unit 77A detects that the detection switch 61A is OFF, and the switch detection unit 77B detects that the detection switch 62A is ON. The transport device 10 determines that the conductive states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B are one ON and the other OFF.

確認動作時、腕装置12は低速移動する為、検出スイッチ61A、62Aの導通状態が異なる期間Y11は、腕装置12が高速移動する時よりも長くなる。搬送装置10は、期間Y11が経過する前に、該状態が所定時間T11以上継続した場合、検出スイッチ61A、62Aのうち少なくとも一方が故障したと判定し、工作機械1の動作を停止する。該時、搬送装置10は、扉6が開口部511を閉塞する過程で確認動作を行えない。 During the confirmation operation, the arm device 12 moves at a low speed, so the period Y11 during which the conduction states of the detection switches 61A and 62A are different is longer than when the arm device 12 moves at a high speed. If this state continues for a predetermined time T11 or more before the period Y11 has elapsed, the transport device 10 determines that at least one of the detection switches 61A and 62A has failed and stops the operation of the machine tool 1. At that time, the transport device 10 cannot perform the confirmation operation while the door 6 is in the process of blocking the opening 511.

同様に、扉6が開口部511を開放する過程で腕装置12が閉位置から無効位置まで移動する時、検出スイッチ61A、62Aは夫々異なるタイミングでONからOFFに切替わる。図8(A)に示す例では、介在スイッチ61B、62BがONした状態で、検出スイッチ61Aが先にONからOFFに切替わり(時機t21)、その後、検出スイッチ62AがONからOFFに切替わる(時機t22)。 Similarly, when the arm device 12 moves from the closed position to the inactive position in the process of the door 6 opening the opening 511, the detection switches 61A and 62A switch from ON to OFF at different times. In the example shown in FIG. 8(A), with the intervening switches 61B and 62B turned ON, the detection switch 61A switches from ON to OFF first (time t21), and then the detection switch 62A switches from ON to OFF (time t22).

搬送装置10は、スイッチ検出部77Aが検出する検出スイッチ61Aの導通状態がONからOFFに切替わったと判定し(時機t23)、スイッチ検出部77Bが検出する検出スイッチ62Aの導通状態がONからOFFに切替わったと判定する(時機t24)。時機t23~t24の期間Y21中、スイッチ検出部77Aは検出スイッチ61AがOFFであることを検出し、且つ、スイッチ検出部77Bは検出スイッチ62AがONであることを検出する。搬送装置10は、スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態が、一方がONして他方がOFFした状態であると判定する。搬送装置10は、期間Y21が経過する前に、該状態が所定時間T11以上継続した場合、検出スイッチ61A、62Aのうち少なくとも一方が故障したと判定し、工作機械1の動作を停止する。該時、搬送装置10は、扉6が開口部511を開放する過程で確認動作を行えない。 The conveying device 10 determines that the conductive state of the detection switch 61A detected by the switch detection unit 77A has switched from ON to OFF (time t23), and determines that the conductive state of the detection switch 62A detected by the switch detection unit 77B has switched from ON to OFF (time t24). During the period Y21 from time t23 to t24, the switch detection unit 77A detects that the detection switch 61A is OFF, and the switch detection unit 77B detects that the detection switch 62A is ON. The conveying device 10 determines that the conductive states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B are one ON and the other OFF. If this state continues for a predetermined time T11 or more before the period Y21 has elapsed, the conveying device 10 determines that at least one of the detection switches 61A, 62A has failed and stops the operation of the machine tool 1. At that time, the conveying device 10 cannot perform the confirmation operation while the door 6 is in the process of opening the opening 511.

これに対し、搬送装置10は、スイッチ検出部77A、77Bが検出する導通状態が一致するよう、検出系統600の状態を介在スイッチ6Bに依り切替える。これにより、搬送装置10は、腕装置12を低速で移動する時も確認動作を可能とする。詳細は次の通りである。 In response to this, the transport device 10 switches the state of the detection system 600 using the intervening switch 6B so that the conduction states detected by the switch detection units 77A and 77B match. This allows the transport device 10 to perform the confirmation operation even when the arm device 12 is moving at a low speed. The details are as follows.

図7(B)に示すように、搬送装置10は、扉6が開口部511を閉塞する確認動作時、スイッチ検出部77Bが検出する検出スイッチ62Aの導通状態がOFFからONに切替わったと判定する(時機t31)。尚、スイッチ検出部77Aが検出する検出スイッチ61Aの導通状態はOFFである為、スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態は、この時点で相違する。 As shown in FIG. 7B, when the conveying device 10 performs a check operation to confirm that the door 6 is blocking the opening 511, it determines that the conduction state of the detection switch 62A detected by the switch detection unit 77B has switched from OFF to ON (time t31). Note that since the conduction state of the detection switch 61A detected by the switch detection unit 77A is OFF, the conduction states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B are different at this point.

搬送装置10は、時機t31から所定時間T12経過後、スイッチ切替部77C、77Dを制御して介在スイッチ61B、62BをONからOFFに切替える(時機t32、t33)。尚、所定時間T12は所定時間T11よりも短い(T11>T12)。該時、スイッチ検出部77Bが検出する検出スイッチ62Aの導通状態は、ONからOFFに切替わる(時機t34)。スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態は、何れもOFFとなり一致する。スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態が異なる状態は、所定時間T11以上継続しない。従って、図7(A)と異なり、搬送装置10は、検出スイッチ61A、62Aのうち少なくとも一方が故障したと判定せず、工作機械1の動作を停止しない。従って、搬送装置10は、扉6が開口部511を閉塞する過程で確認動作を行うことができる。 After a predetermined time T12 has elapsed from time t31, the conveying device 10 controls the switch changeover units 77C and 77D to switch the intermediate switches 61B and 62B from ON to OFF (times t32 and t33). The predetermined time T12 is shorter than the predetermined time T11 (T11>T12). At that time, the conduction state of the detection switch 62A detected by the switch detection unit 77B switches from ON to OFF (time t34). The conduction states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B are both OFF and match. The state in which the conduction states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B are different does not continue for more than the predetermined time T11. Therefore, unlike FIG. 7(A), the conveying device 10 does not determine that at least one of the detection switches 61A and 62A has failed, and does not stop the operation of the machine tool 1. Therefore, the conveying device 10 can perform a confirmation operation while the door 6 is in the process of closing the opening 511.

該後、搬送装置10は、エンコーダ16Aが検出する移動モータ16の回転位置に基づき、腕装置12のY軸方向における現在位置を取得する。搬送装置10は、取得した現在位置に基づき、腕装置12が閉位置迄移動したか判定する。搬送装置10は腕装置12が閉位置迄移動した場合、スイッチ切替部77C、77Dを制御して介在スイッチ61B、62BをOFFからONに切替える(時機t35、t36)。尚、腕装置12が閉位置迄移動する前の時機t12で、検出スイッチ61AはOFFからONに切替わる。検出スイッチ61A、62Aの導通状態は何れもONとなる。従って、時機t35、t36で介在スイッチ61B、62BがONになった後、スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態は、何れもONとなり一致する。 Then, the conveying device 10 acquires the current position of the arm device 12 in the Y-axis direction based on the rotational position of the movement motor 16 detected by the encoder 16A. The conveying device 10 determines whether the arm device 12 has moved to the closed position based on the acquired current position. When the arm device 12 has moved to the closed position, the conveying device 10 controls the switch changeover units 77C and 77D to switch the intermediate switches 61B and 62B from OFF to ON (times t35 and t36). At time t12 before the arm device 12 moves to the closed position, the detection switch 61A switches from OFF to ON. The conductive states of the detection switches 61A and 62A are both ON. Therefore, after the intervening switches 61B and 62B are turned ON at times t35 and t36, the conduction states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B are both ON and match.

図8(B)に示すように、搬送装置10は、扉6が開口部511を開放する確認動作時、スイッチ検出部77Aが検出する検出スイッチ61Aの導通状態がONからOFFに切替わったと判定する(時機t41)。尚、スイッチ検出部77Bが検出する検出スイッチ62Aの導通状態はONである為、スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態は、この時点で相違する。 As shown in FIG. 8(B), when the conveying device 10 performs a confirmation operation to confirm that the door 6 opens the opening 511, it determines that the conduction state of the detection switch 61A detected by the switch detection unit 77A has switched from ON to OFF (time t41). Note that the conduction state of the detection switch 62A detected by the switch detection unit 77B is ON, so the conduction states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B are different at this point.

搬送装置10は、時機t41から所定時間T12経過後、スイッチ切替部77C、77Dを制御して介在スイッチ61B、62BをONからOFFに切替える(時機t42、t43)。該時、搬送装置10は、スイッチ検出部77Bが検出する検出スイッチ62Aの導通状態は、ONからOFFに切替わる(時機t44)。スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態は、何れもOFFとなり一致する。スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態が異なる状態は、所定時間T11以上継続しない。従って、図8(A)と異なり、搬送装置10は、検出スイッチ61A、62Aのうち少なくとも一方が故障したと判定せず、工作機械1の動作を停止しない。従って、搬送装置10は、扉6が開口部511を開放する過程で確認動作を行うことができる。 After a predetermined time T12 has elapsed from time t41, the conveying device 10 controls the switch changeover units 77C and 77D to switch the intermediate switches 61B and 62B from ON to OFF (times t42 and t43). At that time, the conveying device 10 switches the conduction state of the detection switch 62A detected by the switch detection unit 77B from ON to OFF (time t44). The conduction states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B are both OFF and match. The state in which the conduction states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B are different does not continue for more than the predetermined time T11. Therefore, unlike FIG. 8(A), the conveying device 10 does not determine that at least one of the detection switches 61A and 62A has failed, and does not stop the operation of the machine tool 1. Therefore, the conveying device 10 can perform a checking operation while the door 6 is in the process of opening the opening 511.

該後、搬送装置10は、エンコーダ16Aが検出する移動モータ16の回転位置に基づき、腕装置12のY軸方向における現在位置を取得する。搬送装置10は、取得した現在位置に基づき、腕装置12が無効位置迄移動したか判定する。搬送装置10は腕装置12が無効位置迄移動した場合、スイッチ切替部77C、77Dを制御して介在スイッチ61B、62BをOFFからONに切替える(時機t45、t46)。尚、腕装置12が無効位置まで移動する前の時機t22で、検出スイッチ62AはONからOFFに切替わる。検出スイッチ61A、62Aの導通状態は何れもOFFとなる。従って、時機t45、t46で介在スイッチ61B、62BがONになった後、スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態は、何れもOFFとなり一致する。 Then, the conveying device 10 acquires the current position of the arm device 12 in the Y-axis direction based on the rotational position of the movement motor 16 detected by the encoder 16A. The conveying device 10 determines whether the arm device 12 has moved to the invalid position based on the acquired current position. When the arm device 12 has moved to the invalid position, the conveying device 10 controls the switch changeover units 77C and 77D to switch the intermediate switches 61B and 62B from OFF to ON (times t45 and t46). At time t22 before the arm device 12 moves to the invalid position, the detection switch 62A switches from ON to OFF. The conductive states of the detection switches 61A and 62A are both OFF. Therefore, after the intervening switches 61B and 62B are turned ON at times t45 and t46, the conduction states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B are both OFF and match.

図9を参照し、主処理について説明する。主処理は、搬送装置10が確認動作を実行する時、ROM72に記憶したプログラムをCPU71が読み出して実行することにより開始する。 The main process will be described with reference to FIG. 9. The main process starts when the transport device 10 executes a confirmation operation by having the CPU 71 read and execute a program stored in the ROM 72.

CPU71は、スイッチ切替部77C、77Dを制御して介在スイッチ61B、62BをONする(S11)。CPU71は、センサ36、37が出力する信号に基づき、腕装置12と扉6が連結した状態か判定する(S13)。CPU71は、センサ36が検出する信号に基づき、連結棒35が待機位置にあると判定した場合、腕装置12と扉6が連結した状態でないと判定する(S13:NO)。該時、CPU71は処理をS11に戻す。CPU71は、センサ37が検出する信号に基づき、連結棒35が突出位置にあると判定した場合、腕装置12と扉6が連結した状態であると判定する(S13:YES)。該時、CPU71は処理をS15に進める。 The CPU 71 controls the switch changeover units 77C and 77D to turn on the intermediate switches 61B and 62B (S11). The CPU 71 determines whether the arm device 12 and the door 6 are connected based on the signals output by the sensors 36 and 37 (S13). If the CPU 71 determines that the connecting rod 35 is in the standby position based on the signal detected by the sensor 36, it determines that the arm device 12 and the door 6 are not connected (S13: NO). At that time, the CPU 71 returns the process to S11. If the CPU 71 determines that the connecting rod 35 is in the extended position based on the signal detected by the sensor 37, it determines that the arm device 12 and the door 6 are connected (S13: YES). At that time, the CPU 71 advances the process to S15.

CPU71は、エンコーダ16Aが検出する移動モータ16の回転位置に基づき、腕装置12のY軸方向における現在位置を取得する。CPU71は、記憶装置74に記憶した距離Y(inv)に基づき、取得した現在位置が閉位置よりもY軸方向の(+)側、且つ、無効位置よりもY軸方向の(-)側であるか判定する(S15)。CPU71は、取得した現在位置が、閉位置よりもY軸方向の(+)側、且つ、無効位置よりもY軸方向の(-)側であると判定した場合(S15:YES)、現在位置が閉位置と無効位置との間に位置することになるので、処理をS17に進める。 The CPU 71 acquires the current position of the arm device 12 in the Y-axis direction based on the rotational position of the movement motor 16 detected by the encoder 16A. The CPU 71 determines whether the acquired current position is on the (+) side of the closed position in the Y-axis direction and on the (-) side of the invalid position in the Y-axis direction based on the distance Y(inv) stored in the storage device 74 (S15). If the CPU 71 determines that the acquired current position is on the (+) side of the closed position in the Y-axis direction and on the (-) side of the invalid position in the Y-axis direction (S15: YES), the current position is between the closed position and the invalid position, and the process proceeds to S17.

CPU71は、スイッチ検出部77Aが検出する検出スイッチ61Aの導通状態と、スイッチ検出部77Bが検出する検出スイッチ62Aの導通状態を取得する。CPU71は、取得した検出スイッチ61A、62Aの夫々の導通状態が相違するか判定する(S17)。CPU71は、取得した検出スイッチ61A、62Aの夫々の導通状態が一致すると判定した場合(S17:NO)、処理をS11に戻す。CPU71は、取得した検出スイッチ61A、62Aの夫々の導通状態が相違すると判定した場合(S17:YES)、処理をS19に進める。 The CPU 71 acquires the conductive state of the detection switch 61A detected by the switch detection unit 77A and the conductive state of the detection switch 62A detected by the switch detection unit 77B. The CPU 71 determines whether the acquired conductive states of the detection switches 61A and 62A are different (S17). If the CPU 71 determines that the acquired conductive states of the detection switches 61A and 62A are the same (S17: NO), the process returns to S11. If the CPU 71 determines that the acquired conductive states of the detection switches 61A and 62A are different (S17: YES), the process proceeds to S19.

CPU71は、検出スイッチ61A、62Aの夫々の導通状態が相違する状態が、所定時間T12以上継続したか判定する(S19)。CPU71は、検出スイッチ61A、62Aの夫々の導通状態が相違する状態が、所定時間T12以上継続していないと判定した場合(S19:NO)、処理をS17に戻す。CPU71は、検出スイッチ61A、62Aの夫々の導通状態が相違する状態が、所定時間T12以上継続したと判定した場合(S19:YES)、処理をS21に進める。 The CPU 71 determines whether the state in which the respective conduction states of the detection switches 61A and 62A differ has continued for a predetermined time T12 or more (S19). If the CPU 71 determines that the state in which the respective conduction states of the detection switches 61A and 62A differ has not continued for the predetermined time T12 or more (S19: NO), the process returns to S17. If the CPU 71 determines that the state in which the respective conduction states of the detection switches 61A and 62A differ has continued for the predetermined time T12 or more (S19: YES), the process proceeds to S21.

CPU71は、スイッチ切替部77C、77Dを制御して介在スイッチ61B、62BをOFFし(S21)、検出系統610、620の状態を切替える。該時、スイッチ検出部77Aが検出する検出スイッチ61Aの導通状態と、スイッチ検出部77Bが検出する検出スイッチ62Aの導通状態は、検出スイッチ61A、62Aの実際の導通状態に関わらず何れもOFFとなり、一致する。CPU71は、処理をS23に進める。 The CPU 71 controls the switch changeover units 77C and 77D to turn off the intermediate switches 61B and 62B (S21) and switch the states of the detection systems 610 and 620. At that time, the conductive state of the detection switch 61A detected by the switch detection unit 77A and the conductive state of the detection switch 62A detected by the switch detection unit 77B are both OFF and match, regardless of the actual conductive states of the detection switches 61A and 62A. The CPU 71 advances the process to S23.

CPU71は、エンコーダ16Aが検出する移動モータ16の回転位置に基づき、腕装置12のY軸方向における現在位置を取得する。CPU71は、記憶装置74に記憶した距離Y(inv)に基づき、取得した現在位置が閉位置よりもY軸方向の(-)側、又は、無効位置よりもY軸方向の(+)側であるか判定する(S23)。CPU71は、取得した現在位置が閉位置よりもY軸方向の(+)側、且つ、無効位置よりもY軸方向の(-)側であると判定した場合(S23:NO)、処理をS21に戻す。CPU71は、取得した現在位置が閉位置よりもY軸方向の(-)側、又は、無効位置よりもY軸方向の(+)側であると判定した場合(S23:YES)、処理をS11に戻す。CPU71は、スイッチ切替部77C、77Dを制御し、S21でOFFした介在スイッチ61B、62Bを元に戻して夫々ONとする(S11)。 The CPU 71 acquires the current position of the arm device 12 in the Y-axis direction based on the rotational position of the moving motor 16 detected by the encoder 16A. The CPU 71 determines whether the acquired current position is on the negative side of the closed position in the Y-axis direction or on the positive side of the invalid position in the Y-axis direction based on the distance Y(inv) stored in the storage device 74 (S23). If the CPU 71 determines that the acquired current position is on the positive side of the closed position in the Y-axis direction and on the negative side of the invalid position in the Y-axis direction (S23: NO), the process returns to S21. If the CPU 71 determines that the acquired current position is on the negative side of the closed position in the Y-axis direction or on the positive side of the invalid position in the Y-axis direction (S23: YES), the process returns to S11. The CPU 71 controls the switch changeover units 77C and 77D to return the intermediate switches 61B and 62B that were turned OFF in S21 to their original ON states (S11).

CPU71は、S15の処理で、取得した現在位置が閉位置よりもY軸方向の(-)側、又は、無効位置よりもY軸方向の(+)側であると判定した場合(S15:NO)、処理をS25に進める。CPU71は、取得した現在位置が無効位置よりもY軸方向の(+)側であると判定した場合(S25:NO)、処理をS11に戻す。CPU71は、取得した現在位置が閉位置よりもY軸方向の(-)側にあると判定した場合(S25:YES)、処理をS27に進める。 If the CPU 71 determines in the process of S15 that the acquired current position is on the (-) side of the closed position in the Y-axis direction or on the (+) side of the invalid position in the Y-axis direction (S15: NO), the process proceeds to S25. If the CPU 71 determines that the acquired current position is on the (+) side of the invalid position in the Y-axis direction (S25: NO), the process returns to S11. If the CPU 71 determines that the acquired current position is on the (-) side of the closed position in the Y-axis direction (S25: YES), the process proceeds to S27.

CPU71は、現在位置が閉位置よりもY軸方向の(-)側にある状態が所定時間T3以上継続したか判定する(S27)。CPU71は、現在位置が閉位置よりもY軸方向の(-)側にある状態が所定時間T3以上継続していないと判定した場合(S27:NO)、処理をS11に戻す。CPU71は、現在位置が閉位置よりもY軸方向の(-)側にある状態が所定時間T3以上継続したと判定した場合(S27:YES)、検出スイッチ6Aが故障した可能性があることを通知する為に、数値制御装置8に通知信号を出力する。数値制御装置8は、検出スイッチ6Aが故障した可能性があることを示すエラーコードを、操作パネル1Aに含まれる表示部に表示して使用者に通知する(S29)。CPU71は、主処理を終了する。 The CPU 71 determines whether the current position is on the negative side of the closed position in the Y-axis direction for a predetermined time T3 or more (S27). If the CPU 71 determines that the current position is not on the negative side of the closed position in the Y-axis direction for a predetermined time T3 or more (S27: NO), the process returns to S11. If the CPU 71 determines that the current position is on the negative side of the closed position in the Y-axis direction for a predetermined time T3 or more (S27: YES), the CPU 71 outputs a notification signal to the numerical control device 8 to notify the user that the detection switch 6A may have failed. The numerical control device 8 notifies the user by displaying an error code indicating that the detection switch 6A may have failed on a display unit included in the operation panel 1A (S29). The CPU 71 ends the main process.

搬送装置10は、スイッチ検出部77A、77Bが検出した検出スイッチ61A、62Aの導通状態が相違する場合(S17:YES)、スイッチ検出部77A、77Bが検出する導通状態が一致するよう、検出系統610、620の状態を介在スイッチ61B、62Bに依り切替える(S21)。従って搬送装置10は、検出スイッチ61A、62Aの導通状態が相違する場合でも、スイッチ検出部77A、77Bが検出する導通状態を一致させることができる。このため搬送装置10は、確認動作中において検出スイッチ61A、62Aのうち少なくとも一方が故障したと判定することを回避できるので、確認動作を確実に実行できる。 When the conductive states of the detection switches 61A, 62A detected by the switch detectors 77A, 77B differ (S17: YES), the conveying device 10 switches the states of the detection systems 610, 620 using the intervening switches 61B, 62B so that the conductive states detected by the switch detectors 77A, 77B match (S21). Therefore, even if the conductive states of the detection switches 61A, 62A differ, the conveying device 10 can match the conductive states detected by the switch detectors 77A, 77B. Therefore, the conveying device 10 can avoid determining that at least one of the detection switches 61A, 62A has failed during the confirmation operation, and can reliably perform the confirmation operation.

搬送装置10は、スイッチ検出部77A、77Bが検出した検出スイッチ61A、62Aの導通状態が相違する状態が、所定時間T12継続したと判定した場合(S17:YES、S19:YES)、検出系統610、620の状態を介在スイッチ61B、62Bに依り切替える(S21)。この場合、搬送装置10は、スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態が所定時間T12以上継続して相違することを防止できる。なお、搬送装置10は、スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態が所定時間T11(T11>T12)以上継続して相違する場合、検出スイッチ61A、62Aのうち少なくとも一方が故障したと判定する。従って、搬送装置10は、検出スイッチ61A、62Aのうち少なくとも一方が故障したと判定することを、上記動作により回避できるので、確認動作を確実に実行できる。 When the conveying device 10 determines that the difference in the conduction states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B continues for a predetermined time T12 (S17: YES, S19: YES), the conveying device 10 switches the state of the detection systems 610 and 620 using the intermediate switches 61B and 62B (S21). In this case, the conveying device 10 can prevent the conduction states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B from continuing to differ for more than the predetermined time T12. In addition, when the conduction states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B continue to differ for more than the predetermined time T11 (T11>T12), the conveying device 10 determines that at least one of the detection switches 61A and 62A has failed. Therefore, the above operation allows the transport device 10 to avoid determining that at least one of the detection switches 61A and 62A has failed, so the confirmation operation can be performed reliably.

搬送装置10は、検出系統610の検出スイッチ61Aとスイッチ検出部77Aとの間の導通状態を、介在スイッチ61Bに依り切替え、検出系統620の検出スイッチ62Aとスイッチ検出部77Bとの間の導通状態を、介在スイッチ62Bに依り切替える。該時、介在スイッチ61B、62Bは、検出スイッチ61A、62Aの実際の導通状態が相違する場合でも、スイッチ検出部77A、77Bが検出する導通状態を一致させることができる。 The conveying device 10 switches the conduction state between the detection switch 61A of the detection system 610 and the switch detection unit 77A by the intervening switch 61B, and switches the conduction state between the detection switch 62A of the detection system 620 and the switch detection unit 77B by the intervening switch 62B. At that time, the intervening switches 61B and 62B can match the conduction states detected by the switch detection units 77A and 77B even if the actual conduction states of the detection switches 61A and 62A differ.

搬送装置10は、エンコーダ16Aが検出する移動モータ16の回転位置に基づき、腕装置12のY軸方向における現在位置を取得する。搬送装置10は、腕装置12の現在位置が、閉位置よりもY軸方向の(+)側、且つ、無効位置よりもY軸方向の(-)側(即ち、閉位置と無効位置との間の何れかの位置)である状態で(S15:YES)、スイッチ検出部77A、77Bが検出した検出スイッチ61A、62Aの導通状態が相違する場合(S17:YES)、検出系統610、620の状態を介在スイッチ61B、62Bに依り切替える(S21)。尚、検出スイッチ61A、62Aは、扉6に連結した腕装置12が閉位置と無効位置の間の何れかの位置にある時、プランジャ606と扉6の接触状態が変化し、導通状態が切替わる。従って、搬送装置10は、検出スイッチ61A、62Aの夫々のプランジャ606と扉6の接触状態が変化して導通状態が切替わるタイミングで、スイッチ検出部77A、77Bが検出する導通状態を一致させることができる。 The conveying device 10 acquires the current position of the arm device 12 in the Y-axis direction based on the rotational position of the moving motor 16 detected by the encoder 16A. When the current position of the arm device 12 is on the (+) side of the Y-axis direction from the closed position and on the (-) side of the Y-axis direction from the invalid position (i.e., any position between the closed position and the invalid position) (S15: YES), if the conduction states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B are different (S17: YES), the conveying device 10 switches the state of the detection systems 610 and 620 by the intermediate switches 61B and 62B (S21). Note that when the arm device 12 connected to the door 6 is in any position between the closed position and the invalid position, the contact state of the plunger 606 and the door 6 changes, and the conduction state of the detection switches 61A and 62A is switched. Therefore, the conveying device 10 can match the electrical continuity states detected by the switch detection units 77A and 77B at the timing when the contact state between the plungers 606 of the detection switches 61A and 62A and the door 6 changes and the electrical continuity state is switched.

搬送装置10は、現在位置が、閉位置よりもY軸方向の(-)側、又は、無効位置よりもY軸方向の(+)側(即ち、閉位置と無効位置との間を除く何れかの位置)であると判定した場合(S23:YES)、介在スイッチ61B、62BをONし(S11)、検出系統610、620の状態を元に戻す。尚、扉6に連結した腕装置12が閉位置と無効位置との間を除く何れかの位置にある時、検出スイッチ61A、62Aの夫々のプランジャ606と扉6の接触状態は変化せず、導通状態は切替わらない。該時、搬送装置10は、スイッチ検出部77A、77Bに依り検出スイッチ61A、62Aの導通状態の検出が可能な状態を維持できる。 When the conveying device 10 determines that the current position is on the negative side of the closed position in the Y-axis direction, or on the positive side of the invalid position in the Y-axis direction (i.e., any position except between the closed position and the invalid position) (S23: YES), it turns on the intermediate switches 61B, 62B (S11) and returns the detection systems 610, 620 to their original states. Note that when the arm device 12 connected to the door 6 is in any position except between the closed position and the invalid position, the contact state between the plungers 606 of the detection switches 61A, 62A and the door 6 does not change, and the conductive state does not switch. At that time, the conveying device 10 can maintain a state in which the conductive state of the detection switches 61A, 62A can be detected by the switch detection units 77A, 77B.

本発明は上記実施形態に限定されず、種々の変更が可能である。搬送装置10は、工作機械1に設けられる場合に限定されず、扉により開口部を開閉する他の機器に設けられてもよい。搬送装置10は、扉以外の移動対象物の位置を検出することが可能な他の機器に設けられてもよい。 The present invention is not limited to the above embodiment, and various modifications are possible. The conveying device 10 is not limited to being installed in the machine tool 1, but may be installed in other equipment that opens and closes an opening with a door. The conveying device 10 may be installed in other equipment that is capable of detecting the position of a moving object other than a door.

搬送装置10は、扉6と連結した腕装置12を移動することにより扉6を移動して開口部511を開閉した。搬送装置10は、移動モータ16の駆動により扉6を直接的に移動し、開口部511を開閉してもよい。即ち、搬送装置10は、腕装置12の移動と扉6の移動を独立して実行してもよい。 The conveying device 10 moves the arm device 12 connected to the door 6 to move the door 6 and open and close the opening 511. The conveying device 10 may also directly move the door 6 by driving the movement motor 16 to open and close the opening 511. In other words, the conveying device 10 may move the arm device 12 and the door 6 independently.

検出スイッチ61A、62Aが設けられる位置は、上記実施形態に限らない。検出スイッチ6A、介在スイッチ6B、及びスイッチ検出部701を含む検出系統600の数は2つに限定されず、3つ以上でもよい。腕装置12が最大開位置にある時の扉6を検出する検出系統が更に設けられてもよい。検出スイッチ6Aはリミットスイッチに限定されず、接触方式及び非接触方式を含む他のスイッチでもよい。 The positions at which the detection switches 61A and 62A are provided are not limited to those in the above embodiment. The number of detection systems 600 including the detection switch 6A, the intervening switch 6B, and the switch detection unit 701 is not limited to two, and may be three or more. A detection system that detects the door 6 when the arm device 12 is in the maximum open position may be further provided. The detection switch 6A is not limited to a limit switch, and may be other switches including contact and non-contact switches.

搬送装置10は、検出スイッチ61A、62Aの夫々の導通状態が相違すると判定した場合(S17:YES)、該状態が所定時間T12以上継続したか否かに関わらず介在スイッチ61B、62BをOFFし(S21)、検出系統610、620の状態を切替えてもよい。 When the conveying device 10 determines that the respective conductive states of the detection switches 61A and 62A are different (S17: YES), it may turn off the intermediate switches 61B and 62B (S21) regardless of whether the state has continued for a predetermined time T12 or more, and switch the state of the detection systems 610 and 620.

介在スイッチ6Bは、検出系統610、620毎に1つずつ設けられなくてもよい。即ち、検出系統610、620に共通する介在スイッチ6Bが1つ設けられてもよい。介在スイッチ6Bはフォトカプラに限定されず、接点と端子台との間の導通状態を切替えることが可能な他のスイッチ(トランジスタスイッチ、リレー等)でもよい。搬送装置10は、スイッチの切替えとは異なる方法で、スイッチ検出部77A、77Bが検出する導通状態が一致するよう検出系統610、620の状態を切替えてもよい。例えば、搬送装置10は、スイッチ検出部77Aの端子台772A、及び、スイッチ検出部77Bの端子台772Bを夫々強制的にプルアップ又はプルダウンすることに依り、スイッチ検出部77A、77Bが検出する導通状態を一致させてもよい。 The intermediate switch 6B does not have to be provided for each of the detection systems 610 and 620. That is, one intermediate switch 6B common to the detection systems 610 and 620 may be provided. The intermediate switch 6B is not limited to a photocoupler, and may be another switch (transistor switch, relay, etc.) capable of switching the conduction state between the contact and the terminal block. The conveying device 10 may switch the state of the detection systems 610 and 620 so that the conduction states detected by the switch detection units 77A and 77B match by a method other than switching the switch. For example, the conveying device 10 may forcefully pull up or pull down the terminal block 772A of the switch detection unit 77A and the terminal block 772B of the switch detection unit 77B, respectively, to match the conduction states detected by the switch detection units 77A and 77B.

搬送装置10は、閉位置から最大開位置までの全域に亘って、検出スイッチ61A、62Aの夫々の導通状態が相違するか判定してもよい。 The conveying device 10 may determine whether the conduction states of the detection switches 61A and 62A differ across the entire range from the closed position to the maximum open position.

搬送装置10は、S21の処理で介在スイッチ61B、62Bの何れか一方のみOFFしてもよい。例えば搬送装置10は、図7(B)の時機t11でスイッチ検出部77Bが検出する検出スイッチ62Aの導通状態がOFFからONに切替わったと判定してから所定時間T12経過後、スイッチ切替部77Dを制御して介在スイッチ62BのみONからOFFに切替えてもよい(時機t33)。該時、介在スイッチ61BをOFFしなくても、スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態は、何れもOFFとなり一致する。該後、例えば搬送装置10は、図7(B)の時機t12でスイッチ検出部77Aが検出する検出スイッチ61Aの導通状態がOFFからONに切替わったと判定してから所定時間T12経過後、スイッチ切替部77Cを制御して介在スイッチ61BをONからOFFに切替えてもよい。該時、介在スイッチ61B、62Bは何れもOFFとなる為、スイッチ検出部77A、77Bが検出する検出スイッチ61A、62Aの導通状態は何れもOFFとなり一致する。即ち搬送装置10は、検出系統610、620の夫々のスイッチ検出部701が検出する導通状態が一致するよう介在スイッチ6Bの状態を切替えればよく、介在スイッチ61B、62Bの導通状態は必ずしも一致しなくてもよい。 The conveying device 10 may turn off only one of the intervening switches 61B and 62B in the process of S21. For example, the conveying device 10 may control the switch changeover unit 77D to change only the intervening switch 62B from ON to OFF (time t33) after a predetermined time T12 has elapsed since the conveying device 10 determined that the conductive state of the detection switch 62A detected by the switch detection unit 77B has changed from OFF to ON at time t11 in FIG. 7B. At that time, even if the intervening switch 61B is not turned off, the conductive states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B will both be OFF and will match. Thereafter, for example, the conveying device 10 may control the switch changeover unit 77C to change the intermediate switch 61B from ON to OFF after a predetermined time T12 has elapsed since it was determined that the conductive state of the detection switch 61A detected by the switch detection unit 77A has changed from OFF to ON at time t12 in FIG. 7B. At that time, the intermediate switches 61B and 62B are both OFF, so that the conductive states of the detection switches 61A and 62A detected by the switch detection units 77A and 77B are both OFF and match. In other words, the conveying device 10 only needs to change the state of the intermediate switch 6B so that the conductive states detected by the switch detection units 701 of the detection systems 610 and 620 match, and the conductive states of the intermediate switches 61B and 62B do not necessarily have to match.

搬送装置10は、本発明の「検出装置」の一例である。工作機械1は、「搬送装置」の一例である。介在スイッチ6Bは、本発明の「切替部」の一例である。S17、S19の処理を行うCPU71は、本発明の「判定部」の一例である。S21の処理を行うCPU71は、本発明の「変更部」の一例である。エンコーダ16Aは、本発明の「位置検出部」の一例である。 The conveying device 10 is an example of a "detection device" of the present invention. The machine tool 1 is an example of a "conveying device". The intervening switch 6B is an example of a "switching unit" of the present invention. The CPU 71 that performs the processes of S17 and S19 is an example of a "determination unit" of the present invention. The CPU 71 that performs the process of S21 is an example of a "changing unit" of the present invention. The encoder 16A is an example of a "position detection unit" of the present invention.

1 :工作機械
5 :カバー
6 :扉
6A、61A、62A :検出スイッチ
6B、61B、62B :介在スイッチ
10 :搬送装置
16A :エンコーダ
60A :検出系統
60B :検出系統
71 :CPU
77A、77B、701:スイッチ検出部
77C、77D、702:スイッチ切替部
511 :開口部
512 :壁部
600、610、620 :検出系統
1: Machine tool 5: Cover 6: Door 6A, 61A, 62A: Detection switch 6B, 61B, 62B: Intervening switch 10: Conveyor device 16A: Encoder 60A: Detection system 60B: Detection system 71: CPU
77A, 77B, 701: switch detection section 77C, 77D, 702: switch changeover section 511: opening 512: wall section 600, 610, 620: detection system

Claims (6)

導通状態が切替わる検出スイッチと、前記検出スイッチの前記導通状態を検出するスイッチ検出部とを有する検出系統を複数有する、移動対象物の位置を検出する検出装置であって、
複数の検出系統の夫々の前記スイッチ検出部が検出する前記導通状態が一致するよう前記複数の検出系統の状態を切替える為の切替部と、
複数の検出系統の夫々の前記スイッチ検出部が検出した前記導通状態が相違するか判定する判定部と、
前記判定部に依り、前記導通状態が相違すると判定した場合、前記複数の検出系統の状態を前記切替部に依り切替え、前記複数の検出系統の夫々の前記スイッチ検出部が検出する前記導通状態を一致させる変更部と
を備えたことを特徴とする、前記移動対象物の位置を検出する検出装置。
A detection device for detecting a position of a moving object , the detection device including a plurality of detection systems each including a detection switch whose conductive state is switched and a switch detector that detects the conductive state of the detection switch,
a switching unit for switching states of the plurality of detection systems so that the conduction states detected by the respective switch detection units of the plurality of detection systems coincide with each other;
a determination unit that determines whether the conduction states detected by the switch detection units of the plurality of detection systems are different;
a change unit that, when the judgment unit determines that the conduction states are different, switches the states of the multiple detection systems using the switching unit , and matches the conduction states detected by the switch detection units of each of the multiple detection systems.
前記変更部は、
前記判定部に依り、前記導通状態が相違する状態が、前記検出スイッチの少なくとも一つが故障したと判断する時間よりも短い所定時間継続したと判定した場合、前記複数の検出系統の状態を前記切替部に依り切替え、前記複数の検出系統の夫々の前記スイッチ検出部が検出する前記導通状態を一致させることを特徴とする請求項1に記載の検出装置。
The change unit is
The detection device according to claim 1, characterized in that when the determination unit determines that the state in which the conductivity states differ has continued for a predetermined time period that is shorter than the time for which it is determined that at least one of the detection switches has failed, the states of the multiple detection systems are switched by the switching unit, and the conductivity states detected by the switch detection units of the multiple detection systems are made to be consistent.
前記切替部は、
前記複数の検出系統の夫々の前記検出スイッチと前記スイッチ検出部との間の導通状態を切替える介在スイッチであることを特徴とする請求項1又は2に記載の検出装置。
The switching unit is
3. The detection device according to claim 1, further comprising an intervening switch that switches a conductive state between the detection switch of each of the plurality of detection systems and the switch detection unit.
開閉可能な扉の位置に対応する位置情報を検出する位置検出部を更に有し、
前記検出スイッチは、前記扉の開閉に応じて前記導通状態が切替わり、
前記変更部は、
前記位置検出部が検出した前記位置情報が所定範囲内にある状態で、前記判定部に依り前記導通状態が相違すると判定した場合、前記複数の検出系統の状態を前記切替部に依り切替え、前記複数の検出系統の夫々の前記スイッチ検出部が検出する前記導通状態を一致させることを特徴とする請求項1から3の何れかに記載の検出装置。
The device further includes a position detection unit that detects position information corresponding to the position of the openable/closable door,
The detection switch switches the conductive state depending on whether the door is opened or closed,
The change unit is
A detection device as described in any one of claims 1 to 3, characterized in that when the position information detected by the position detection unit is within a predetermined range and the judgment unit judges that the conduction states are different, the states of the multiple detection systems are switched by the switching unit, and the conduction states detected by the switch detection units of each of the multiple detection systems are made to be consistent.
前記切替部は、
前記検出スイッチと前記スイッチ検出部とが導通した状態から導通しない状態に切替えることにより、前記複数の検出系統の夫々の前記スイッチ検出部が検出する前記導通状態が一致するよう前記複数の検出系統の状態を切替え、
前記位置検出部が検出した前記位置情報が前記所定範囲内にある状態から前記所定範囲外にある状態に変化した場合、前記切替部は、前記複数の検出系統の夫々の前記検出スイッチと前記スイッチ検出部とが導通しない状態を導通した状態に切替えることを特徴とする請求項4に記載の検出装置。
The switching unit is
by switching the detection switch and the switch detector from a conductive state to a non-conductive state, the states of the plurality of detection systems are switched so that the conductive states detected by the respective switch detectors of the plurality of detection systems coincide with each other;
The detection device according to claim 4, characterized in that when the position information detected by the position detection unit changes from a state in which it is within the specified range to a state in which it is outside the specified range , the switching unit switches a state in which the detection switches of each of the multiple detection systems and the switch detection unit are not conductive to a conductive state .
請求項4又は5に記載の検出装置と、
カバーの壁部に設けた開口部を開閉可能な前記扉と、
開放した前記開口部を介して前記カバーの内部に進入し、端部に把持した被削材を搬送する腕部と
を備えたことを特徴とする工作機械。
A detection device according to claim 4 or 5,
the door capable of opening and closing an opening provided in a wall portion of the cover;
and an arm portion that enters the inside of the cover through the open opening and transports a workpiece held at an end thereof.
JP2021160563A 2021-09-30 2021-09-30 Detection device and machine tool Active JP7643282B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021160563A JP7643282B2 (en) 2021-09-30 2021-09-30 Detection device and machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021160563A JP7643282B2 (en) 2021-09-30 2021-09-30 Detection device and machine tool

Publications (2)

Publication Number Publication Date
JP2023050458A JP2023050458A (en) 2023-04-11
JP7643282B2 true JP7643282B2 (en) 2025-03-11

Family

ID=85805899

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021160563A Active JP7643282B2 (en) 2021-09-30 2021-09-30 Detection device and machine tool

Country Status (1)

Country Link
JP (1) JP7643282B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001311605A (en) 2000-02-25 2001-11-09 Koyo Seiko Co Ltd Angle of rotation detector, torque detector and steering apparatus
JP2005004557A (en) 2003-06-12 2005-01-06 Keyence Corp Input unit for safe relay system, safe relay system, and method for controlling safe relay
JP2019099316A (en) 2017-11-30 2019-06-24 株式会社日立製作所 Elevator
JP2020069594A (en) 2018-10-31 2020-05-07 ブラザー工業株式会社 Door opening/closing device and machine tool
JP2020196311A (en) 2019-05-31 2020-12-10 株式会社アドヴィックス Switch abnormality detection device
WO2021177216A1 (en) 2020-03-05 2021-09-10 ファナック株式会社 Work machine and work machine system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001311605A (en) 2000-02-25 2001-11-09 Koyo Seiko Co Ltd Angle of rotation detector, torque detector and steering apparatus
JP2005004557A (en) 2003-06-12 2005-01-06 Keyence Corp Input unit for safe relay system, safe relay system, and method for controlling safe relay
JP2019099316A (en) 2017-11-30 2019-06-24 株式会社日立製作所 Elevator
JP2020069594A (en) 2018-10-31 2020-05-07 ブラザー工業株式会社 Door opening/closing device and machine tool
JP2020196311A (en) 2019-05-31 2020-12-10 株式会社アドヴィックス Switch abnormality detection device
WO2021177216A1 (en) 2020-03-05 2021-09-10 ファナック株式会社 Work machine and work machine system

Also Published As

Publication number Publication date
JP2023050458A (en) 2023-04-11

Similar Documents

Publication Publication Date Title
CN107363543B (en) Machine tool
JP3249553B2 (en) Door open / close control device using robot
TWI679082B (en) Machine tool
JP5689504B2 (en) Machining system with automatic servo door
TWI723301B (en) Machine tool
JP2017202548A (en) Machine tool
JP3186213B2 (en) Tool breakage detection method
JP7643282B2 (en) Detection device and machine tool
CN111113138A (en) Door opening and closing devices and machine tools
JP6247023B2 (en) Twin-axis lathe
CN111113139B (en) Door opening/closing device and machine tool
CN112571087B (en) Conveyors and Machine Tools
JP7035963B2 (en) Conveyors and machine tools
CN111775167B (en) Transfer service robot and mobile chassis thereof
EP3441204B1 (en) Loading device and method tool using the same
CN111123847B (en) Movable device
JP2006095627A (en) Machine tool and tool change method for machine tool
CN108247401A (en) Workpiece replacing device and workpiece replacing method
JP2021135746A (en) Transfer device and control method of transfer device
JP4581613B2 (en) Machine tool with operation panel
JP2024048955A (en) Machine tool, control method, and program
KR200348153Y1 (en) Automatic offset safety input device of numerical control shelf
JP2025188027A (en) Processing device and method for controlling the same
CN121038935A (en) Robot control device
JPH08164531A (en) Article transfer device and molding machine using the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240315

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241016

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241029

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241217

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250210

R150 Certificate of patent or registration of utility model

Ref document number: 7643282

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150