JP2020175481A - Machine tool, machine tool control method and machine tool control program - Google Patents

Machine tool, machine tool control method and machine tool control program Download PDF

Info

Publication number
JP2020175481A
JP2020175481A JP2019079977A JP2019079977A JP2020175481A JP 2020175481 A JP2020175481 A JP 2020175481A JP 2019079977 A JP2019079977 A JP 2019079977A JP 2019079977 A JP2019079977 A JP 2019079977A JP 2020175481 A JP2020175481 A JP 2020175481A
Authority
JP
Japan
Prior art keywords
tool
arm
setting
abnormality
machine tool
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2019079977A
Other languages
Japanese (ja)
Inventor
宏和 濱中
hirokazu Hamanaka
宏和 濱中
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.)
DMG Mori Co Ltd
Original Assignee
DMG Mori Seiki Co 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 DMG Mori Seiki Co Ltd filed Critical DMG Mori Seiki Co Ltd
Priority to JP2019079977A priority Critical patent/JP2020175481A/en
Publication of JP2020175481A publication Critical patent/JP2020175481A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Automatic Tool Replacement In Machine Tools (AREA)

Abstract

To provide a technique that enables an ATC to be continuously driven even if an abnormality occurs in a machine tool.SOLUTION: The machine tool comprises a tool replacement mechanism that replaces first and second tools. The tool replacement mechanism includes arms that grasp the first and second tools. The machine tool comprises abnormality detection units 252 and 352 that detect abnormalities and a driving control unit 353 that performs replacement processing on the first and second tools according to predetermined operation settings relating to the arms. The replacement processing includes: performing replacement processing on the first and second tools by driving the arms standing-by at predetermined positions; processing for returning the arms to the predetermined positions after the replacement of the first and second tools is completed; and processing for changing the operation settings from current first settings to second settings for abnormal operation time at predetermined timing after abnormalities are detected by the abnormality detection units and maintaining the operation settings in the second settings in a portion or the whole of a step of driving the arms, after the change.SELECTED DRAWING: Figure 6

Description

本開示は、工作機械に備えられるATC(Automatic Tool Changer)を制御するための技術に関する。 The present disclosure relates to a technique for controlling an ATC (Automatic Tool Changer) provided in a machine tool.

近年、自動工具交換装置(ATC)を備えた工作機械が普及している。工作機械には、複数の工具を収納するためのマガジンが設けられている。ATCは、マガジンに収納されている工具の中から加工工程に応じた一の工具を選択し、主軸に装着されている工具(以下、「使用済工具」ともいう。)と、マガジンから選択された一の工具(以下、「次使用工具」ともいう。)とを自動で交換する。工具の交換は、たとえば、使用済工具と次使用工具とを同時に把持することができるアームを用いて行われる。 In recent years, machine tools equipped with an automatic tool changer (ATC) have become widespread. The machine tool is provided with a magazine for storing a plurality of tools. The ATC selects one tool according to the machining process from the tools stored in the magazine, and is selected from the tool mounted on the spindle (hereinafter, also referred to as "used tool") and the magazine. Automatically replaces only one tool (hereinafter, also referred to as "next tool"). Tool replacement is performed, for example, by using an arm that can simultaneously grip a used tool and a next-use tool.

より具体的には、ATCは、工具の交換指示を受けるまでは所定の原点位置にアームを待機させておく。そして、ATCは、工具の交換指示を受けたことに基づいて、主軸に装着されている使用済工具をアームの第1把持部に把持させ、マガジンから選択された次使用工具をアームの第2把持部に把持させる。次に、ATCは、使用済工具を主軸から引き抜き、次使用工具をマガジンから引き抜く。その後、ATCは、アームを半回転する。継いて、ATCは、第2把持部に把持されている次使用工具を主軸に装着するとともに、第1把持部に把持されている使用済工具をマガジンに収納する。それが完了すると、ATCは、上記原点位置にアームを戻す。これらの一連の工程が繰り返されることで、工具が加工工程に応じて順次変えられる。 More specifically, the ATC keeps the arm at a predetermined origin position until it receives a tool change instruction. Then, based on the instruction to replace the tool, the ATC causes the first grip portion of the arm to grip the used tool mounted on the spindle, and the next used tool selected from the magazine is the second tool of the arm. Let the gripping part grip it. Next, the ATC pulls out the used tool from the spindle and pulls out the next used tool from the magazine. The ATC then makes a half turn of the arm. Subsequently, the ATC mounts the next-use tool gripped by the second grip portion on the spindle, and stores the used tool gripped by the first grip portion in the magazine. When that is completed, the ATC returns the arm to the origin position. By repeating these series of processes, the tool is sequentially changed according to the machining process.

このようなATCに関し、特開2017−064842号公報(特許文献1)は、異常の発生により正規の動作経路から外れた位置に停止したアームを自動的に原点位置に復帰させることができる工具交換装置を開示している。 Regarding such ATC, Japanese Patent Application Laid-Open No. 2017-064842 (Patent Document 1) provides a tool change capable of automatically returning an arm stopped at a position deviated from the normal operation path due to an abnormality to the origin position. The device is disclosed.

特開2017−064842号公報JP-A-2017-064842

異常が発生した場合に、アームが原点位置に自動的に戻されたとしても、根本的な原因が解決されていなければ、ATCは、再稼働後に再び停止してしまう可能性がある。 Even if the arm is automatically returned to the homing position in the event of an anomaly, the ATC may stop again after restarting if the root cause is not resolved.

また、工作機械内のATCが停止すると、その影響が生産ライン全体に及ぶ。これにより、生産性が低下してしまうため、生産ラインは、可能な限り停止させないことが求められている。 Moreover, when the ATC in the machine tool is stopped, the effect extends to the entire production line. As a result, the productivity is lowered, so that the production line is required not to be stopped as much as possible.

異常の発生原因によっては、ATCが駆動している間に解決するものがある。一例として、異常の発生原因が工具の引っかかりに起因する場合、駆動過程で引っかかりが解消することがある。このような場合には、ATCを駆動し続けることで、異常発生の根本的な原因が解決し、さらには、生産ラインを停止させずに済む。したがって、工作機械に異常が発生した場合でも可能な限りATCを駆動し続けることが望まれている。 Depending on the cause of the abnormality, there is a solution while the ATC is being driven. As an example, when the cause of the abnormality is the catching of the tool, the catching may be eliminated in the driving process. In such a case, by continuing to drive the ATC, the root cause of the occurrence of the abnormality can be solved, and further, it is not necessary to stop the production line. Therefore, it is desired to continue driving the ATC as much as possible even if an abnormality occurs in the machine tool.

本開示の一例では、工作機械は、複数の工具を保持するためのマガジンと、上記複数の工具の内の一の工具が装着され得る主軸と、上記主軸に装着されている第1の工具と、上記複数の工具から選択された第2の工具とを交換するための工具交換機構とを備える。上記工具交換機構は、上記第1の工具および上記第2の工具の交換時に当該第1の工具および当該第2の工具を把持するためのアームを含む。上記工作機械は、さらに、上記工作機械に発生する異常を検知するための異常検知部と、上記アームに係る所定の動作設定に従って、上記第1の工具および上記第2の工具の交換処理を実行するための駆動制御部とを備える。上記交換処理は、予め定められた位置で待機している上記アームを駆動し、上記第1の工具および上記第2の工具を交換する処理と、上記第1の工具および上記第2の工具の交換が完了したことに基づいて、上記予め定められた位置に上記アームを戻す処理と、上記異常検知部によって異常が検知された後の所定のタイミングにおいて、上記動作設定を現在の第1の設定から異常動作時用の第2の設定に変更し、当該変更後における、上記アームの駆動工程の一部または全部において、上記動作設定を上記第2の設定に維持する処理とを含む。 In one example of the present disclosure, the machine tool includes a magazine for holding a plurality of tools, a spindle on which one of the plurality of tools can be mounted, and a first tool mounted on the spindle. A tool changing mechanism for exchanging a second tool selected from the plurality of tools is provided. The tool changing mechanism includes an arm for gripping the first tool and the second tool when the first tool and the second tool are replaced. The machine tool further executes the replacement process of the first tool and the second tool according to the abnormality detection unit for detecting the abnormality generated in the machine tool and the predetermined operation setting related to the arm. It is provided with a drive control unit for the operation. The replacement process is a process of driving the arm standing by at a predetermined position to replace the first tool and the second tool, and a process of replacing the first tool and the second tool. Based on the completion of the replacement, the operation setting is set to the current first setting at a predetermined timing after the abnormality is detected by the abnormality detection unit and the process of returning the arm to the predetermined position. Includes a process of changing from to the second setting for abnormal operation and maintaining the operation setting at the second setting in a part or all of the driving process of the arm after the change.

本開示の一例では、上記所定のタイミングは、上記アームが上記予め定められた位置にあるときのいずれかのタイミングである。上記駆動制御部は、上記所定のタイミングにおいて上記動作設定を上記第1の設定から上記第2の設定に変更した後には、上記アームの駆動工程の全部において、上記動作設定を上記第2の設定に維持する。 In one example of the present disclosure, the predetermined timing is any timing when the arm is in the predetermined position. After the drive control unit changes the operation setting from the first setting to the second setting at the predetermined timing, the drive control unit sets the operation setting to the second setting in the entire drive process of the arm. To maintain.

本開示の一例では、上記駆動制御部は、上記アームの一の駆動工程において上記異常検知部によって異常が検知された場合には、当該異常の検知後における上記一の駆動工程において上記動作設定を上記第2の設定に維持し、上記一の駆動工程とは異なる他の駆動工程において上記動作設定を上記第1の設定に維持する。 In one example of the present disclosure, when an abnormality is detected by the abnormality detection unit in one drive process of the arm, the drive control unit sets the operation setting in the one drive process after the detection of the abnormality. The above-mentioned second setting is maintained, and the above-mentioned operation setting is maintained at the above-mentioned first setting in another driving process different from the above-mentioned one driving process.

本開示の一例では、上記第2の設定による上記アームの移動速度は、上記第1の設定による上記アームの移動速度よりも遅い。 In one example of the present disclosure, the moving speed of the arm according to the second setting is slower than the moving speed of the arm according to the first setting.

本開示の一例では、上記第2の設定による上記アームの軌道は、上記第1の設定による上記アームの軌道とは異なる。 In one example of the present disclosure, the trajectory of the arm according to the second setting is different from the trajectory of the arm according to the first setting.

本開示の一例では、上記異常検知部は、上記アームの現在位置と、上記アームの移動先である目標位置との差が所定値以上になったことに基づいて、上記異常を検知する。 In one example of the present disclosure, the abnormality detection unit detects the abnormality based on the difference between the current position of the arm and the target position where the arm moves to a predetermined value or more.

本開示の一例では、上記異常検知部は、上記工作機械に発生する複数種類の異常を検知可能に構成されている。上記交換処理は、さらに、上記工作機械に発生し得る異常の種類に対応付けられている予め定められた複数種類の動作設定の中から、上記異常検知部によって検知された異常の種類に対応する動作設定を特定し、当該特定した動作設定を上記第2の設定として決定する処理を含む。 In one example of the present disclosure, the abnormality detecting unit is configured to be capable of detecting a plurality of types of abnormalities occurring in the machine tool. The exchange process further corresponds to the type of abnormality detected by the abnormality detection unit from among a plurality of predetermined operation settings associated with the types of abnormality that can occur in the machine tool. It includes a process of specifying an operation setting and determining the specified operation setting as the second setting.

本開示の他の例では、工作機械の制御方法が提供される。上記工作機械は、複数の工具を保持するためのマガジンと、上記複数の工具の内の一の工具が装着され得る主軸と、上記主軸に装着されている第1の工具と、上記複数の工具から選択された第2の工具とを交換するための工具交換機構とを備える。上記工具交換機構は、上記第1の工具および上記第2の工具の交換時に当該第1の工具および当該第2の工具を把持するためのアームを含む。上記制御方法は、上記工作機械に発生する異常を検知するステップと、上記アームに係る所定の動作設定に従って、上記第1の工具および上記第2の工具の交換処理を実行するステップを備える。上記交換処理は、予め定められた位置で待機している上記アームを駆動し、上記第1の工具および上記第2の工具を交換するステップと、上記第1の工具および上記第2の工具の交換が完了したことに基づいて、上記予め定められた位置に上記アームを戻すステップと、上記検知するステップで上記異常が検知された後の所定のタイミングにおいて、上記動作設定を現在の第1の設定から異常動作時用の第2の設定に変更し、上記動作設定の変更後における上記アームの駆動工程の一部または全部において上記第2の設定を維持するステップとを含む。 Another example of the present disclosure provides a method of controlling a machine tool. The machine tool includes a magazine for holding a plurality of tools, a spindle on which one of the plurality of tools can be mounted, a first tool mounted on the spindle, and the plurality of tools. It is provided with a tool changing mechanism for exchanging with a second tool selected from. The tool changing mechanism includes an arm for gripping the first tool and the second tool when the first tool and the second tool are replaced. The control method includes a step of detecting an abnormality occurring in the machine tool and a step of executing a replacement process of the first tool and the second tool according to a predetermined operation setting related to the arm. The replacement process involves driving the arm waiting at a predetermined position to replace the first tool and the second tool, and the first tool and the second tool. Based on the completion of the replacement, the operation setting is set to the current first step at a predetermined timing after the abnormality is detected in the step of returning the arm to the predetermined position and the step of detecting the abnormality. It includes a step of changing from the setting to the second setting for abnormal operation and maintaining the second setting in a part or all of the driving process of the arm after the change of the operation setting.

本開示の他の例では、工作機械の制御プログラムが提供される。上記工作機械は、複数の工具を保持するためのマガジンと、上記複数の工具の内の一の工具が装着され得る主軸と、上記主軸に装着されている第1の工具と、上記複数の工具から選択された第2の工具とを交換するための工具交換機構とを備える。上記工具交換機構は、上記第1の工具および上記第2の工具の交換時に当該第1の工具および当該第2の工具を把持するためのアームを含む。上記制御プログラムは、上記工作機械に、上記工作機械に発生する異常を検知するステップと、上記アームに係る所定の動作設定に従って、上記第1の工具および上記第2の工具の交換処理を実行するステップとを実行させる。上記交換処理は、予め定められた位置で待機している上記アームを駆動し、上記第1の工具および上記第2の工具を交換するステップと、上記第1の工具および上記第2の工具の交換が完了したことに基づいて、上記予め定められた位置に上記アームを戻すステップと、上記検知するステップで上記異常が検知された後の所定のタイミングにおいて、上記動作設定を現在の第1の設定から異常動作時用の第2の設定に変更し、上記動作設定の変更後における上記アームの駆動工程の一部または全部において上記第2の設定を維持するステップとを含む。 In another example of the present disclosure, a machine tool control program is provided. The machine tool includes a magazine for holding a plurality of tools, a spindle on which one of the plurality of tools can be mounted, a first tool mounted on the spindle, and the plurality of tools. It is provided with a tool changing mechanism for exchanging with a second tool selected from. The tool changing mechanism includes an arm for gripping the first tool and the second tool when the first tool and the second tool are replaced. The control program executes the machine tool to replace the first tool and the second tool according to a step of detecting an abnormality occurring in the machine tool and a predetermined operation setting related to the arm. To execute steps. The replacement process involves driving the arm waiting at a predetermined position to replace the first tool and the second tool, and the first tool and the second tool. Based on the completion of the replacement, the operation setting is set to the current first step at a predetermined timing after the abnormality is detected in the step of returning the arm to the predetermined position and the step of detecting the abnormality. It includes a step of changing from the setting to the second setting for abnormal operation and maintaining the second setting in a part or all of the driving process of the arm after the change of the operation setting.

本発明の上記および他の目的、特徴、局面および利点は、添付の図面と関連して理解される本発明に関する次の詳細な説明から明らかとなるであろう。 The above and other objects, features, aspects and advantages of the present invention will become apparent from the following detailed description of the present invention as understood in connection with the accompanying drawings.

実施の形態に従う工作機械の内部構造の一例を示す図である。It is a figure which shows an example of the internal structure of the machine tool according to embodiment. 実施の形態に従う工作機械の制御機構の一例を示す図である。It is a figure which shows an example of the control mechanism of the machine tool according to embodiment. 工具の交換処理過程における、アームの進退位置の時間的変化と、アームの旋回角度の時間的変化とを示す図である。It is a figure which shows the time change of the advance / retreat position of an arm, and the time change of a turning angle of an arm in the process of changing a tool. 工具の交換処理過程におけるアームの各駆動工程をY方向およびZ方向のそれぞれから時系列に示す図である。It is a figure which shows each drive process of an arm in the process of changing a tool in time series from each of the Y direction and the Z direction. 工具の交換処理過程におけるアームの各駆動工程をY方向およびZ方向のそれぞれから時系列に示す図である。It is a figure which shows each drive process of an arm in the process of changing a tool in time series from each of the Y direction and the Z direction. アーム動作設定の変更処理を実現するための機能構成の一例を示す図である。It is a figure which shows an example of the functional structure for realizing the change processing of an arm operation setting. アーム動作設定の変更方法の具体例1を示す図である。It is a figure which shows the specific example 1 of the method of changing the arm operation setting. アーム動作設定の変更方法の具体例2を示す図である。It is a figure which shows the specific example 2 of the method of changing the arm operation setting. 正常動作設定および異常動作設定のそれぞれによるアームの駆動態様の具体例1を示す図である。It is a figure which shows the specific example 1 of the driving mode of an arm by each of a normal operation setting and an abnormal operation setting. 正常動作設定および異常動作設定のそれぞれによるアームの駆動態様の具体例2を示す図である。It is a figure which shows the specific example 2 of the driving mode of an arm by each of a normal operation setting and an abnormal operation setting. ATC制御ユニットの主要なハードウェア構成を示すブロック図である。It is a block diagram which shows the main hardware composition of the ATC control unit. 工具交換処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a tool change process.

以下、図面を参照しつつ、本発明に従う各実施の形態について説明する。以下の説明では、同一の部品および構成要素には同一の符号を付してある。それらの名称および機能も同じである。したがって、これらについての詳細な説明は繰り返さない。なお、以下で説明される各実施の形態および各変形例は、適宜選択的に組み合わされてもよい。 Hereinafter, embodiments according to the present invention will be described with reference to the drawings. In the following description, the same parts and components are designated by the same reference numerals. Their names and functions are the same. Therefore, the detailed description of these will not be repeated. In addition, each embodiment and each modification described below may be selectively combined as appropriate.

<A.工作機械100の構成>
図1を参照して、工作機械100の構成について説明する。図1は、工作機械100の内部構造の一例を示す図である。
<A. Configuration of machine tool 100>
The configuration of the machine tool 100 will be described with reference to FIG. FIG. 1 is a diagram showing an example of the internal structure of the machine tool 100.

図1には、マシニングセンタとしての工作機械100が示されている。以下では、マシニングセンタとしての工作機械100について説明するが、工作機械100は、マシニングセンタに限定されない。たとえば、工作機械100は、旋盤であってもよいし、その他の切削機械や研削機械であってもよい。また、工作機械100は、工具が鉛直方向に取り付けられる縦形のマシニングセンタであってもよいし、工具が水平方向に取り付けられる横形のマシニングセンタであってもよい。 FIG. 1 shows a machine tool 100 as a machining center. Hereinafter, the machine tool 100 as a machining center will be described, but the machine tool 100 is not limited to the machining center. For example, the machine tool 100 may be a lathe, or another cutting machine or grinding machine. Further, the machine tool 100 may be a vertical machining center in which the tool is mounted in the vertical direction, or a horizontal machining center in which the tool is mounted in the horizontal direction.

工作機械100は、主軸頭21を有する。主軸頭21は、主軸22と、ハウジング23とで構成されている。主軸22は、ハウジング23の内部に配置されている。主軸22には、被加工物であるワークを加工するための工具が装着される。図2の例では、エンドミルとしての工具32が主軸22に装着されている。 The machine tool 100 has a spindle head 21. The spindle head 21 is composed of a spindle 22 and a housing 23. The spindle 22 is arranged inside the housing 23. A tool for machining a workpiece, which is a workpiece, is mounted on the spindle 22. In the example of FIG. 2, the tool 32 as an end mill is mounted on the spindle 22.

主軸頭21は、ボールねじ25に沿ってZ軸方向に駆動可能に構成されている。ボールねじ25にはサーボモータなどの駆動機構が接続されている。当該駆動機構は、ボールねじ25を駆動することで主軸頭21を移動させ、Z軸方向の任意の位置に主軸頭21を移動する。 The spindle head 21 is configured to be driveable in the Z-axis direction along the ball screw 25. A drive mechanism such as a servomotor is connected to the ball screw 25. The drive mechanism moves the spindle head 21 by driving the ball screw 25, and moves the spindle head 21 to an arbitrary position in the Z-axis direction.

また、主軸22にはサーボモータなどの駆動機構が接続される。当該駆動機構は、Z軸方向(鉛直方向)に平行な中心軸AX1を中心に主軸22を回転駆動する。その結果、主軸22に装着された工具32は、主軸22の回転に伴って中心軸AX1を中心に回転する。なお、工作機械100が旋盤である場合には、主軸22には、ワークが装着される。この場合、主軸22の回転に伴って、主軸22に装着されたワークが回転する。 Further, a drive mechanism such as a servomotor is connected to the spindle 22. The drive mechanism rotationally drives the main shaft 22 around the central shaft AX1 parallel to the Z-axis direction (vertical direction). As a result, the tool 32 mounted on the spindle 22 rotates about the central axis AX1 as the spindle 22 rotates. When the machine tool 100 is a lathe, a work is mounted on the spindle 22. In this case, the work mounted on the spindle 22 rotates as the spindle 22 rotates.

工作機械100は、さらに、ATC30を有する。ATC30は、マガジン31と、押出し機構33と、アーム36とで構成されている。マガジン31は、ワークを加工するための種々の工具32を収容するための装置である。マガジン31は、複数の工具保持部34と、スプロケット35とで構成されている。 Machine tool 100 also has an ATC 30. The ATC 30 includes a magazine 31, an extrusion mechanism 33, and an arm 36. The magazine 31 is a device for accommodating various tools 32 for machining a work. The magazine 31 is composed of a plurality of tool holding portions 34 and a sprocket 35.

工具保持部34は、種々の工具32を保持可能なように構成されている。複数の工具保持部34は、スプロケット35の周囲に環状に配列されている。スプロケット35は、モータ駆動により、X軸に平行な中心軸AX2を中心に回転可能に設けられている。スプロケット35の回転に伴って、複数の工具保持部34が中心軸AX2を中心に回転移動する。 The tool holding unit 34 is configured to be able to hold various tools 32. The plurality of tool holding portions 34 are arranged in an annular shape around the sprocket 35. The sprocket 35 is rotatably provided about a central axis AX2 parallel to the X axis by being driven by a motor. As the sprocket 35 rotates, the plurality of tool holding portions 34 rotate around the central axis AX2.

ATC30は、工具の交換命令を受けたことに基づいて、マガジン31から装着対象の工具32を抜き取り、当該工具32を主軸22に装着する。より具体的には、ATC30は、目的の工具32を保持する工具保持部34を押出し機構33の前に移動する。次に、押出し機構33は、アーム36による交換位置に向けて目的の工具32を押し出す。その後、アーム36は、次に使用される工具32を工具保持部34から抜き取るとともに、使用済の工具32を主軸22から抜き取る。その後、アーム36は、これらの工具32を保持した状態で半回転し、次に使用される工具32を主軸22に装着するとともに、使用済の工具32を工具保持部34に収容する。これにより、工具32の交換が行われる。 Based on receiving the tool replacement order, the ATC 30 extracts the tool 32 to be mounted from the magazine 31 and mounts the tool 32 on the spindle 22. More specifically, the ATC 30 moves the tool holding portion 34 that holds the target tool 32 in front of the pushing mechanism 33. Next, the extrusion mechanism 33 pushes out the target tool 32 toward the replacement position by the arm 36. After that, the arm 36 pulls out the tool 32 to be used next from the tool holding portion 34 and pulls out the used tool 32 from the spindle 22. After that, the arm 36 rotates half a turn while holding these tools 32, mounts the tool 32 to be used next on the spindle 22, and accommodates the used tool 32 in the tool holding portion 34. As a result, the tool 32 is replaced.

工作機械100は、加工対象のワークをXY平面上で移動するための移動機構50をさらに有する。移動機構50は、ガイド51,53と、ボールねじ52,54と、ワークを保持するためのテーブル55(ワーク保持部)とで構成されている。 The machine tool 100 further includes a moving mechanism 50 for moving the work to be machined on the XY plane. The moving mechanism 50 includes guides 51 and 53, ball screws 52 and 54, and a table 55 (work holding portion) for holding the work.

ガイド51は、Y軸に対して平行に設置されている。ガイド53は、ガイド51上に設けられており、X軸に対して平行に設置されている。ガイド53は、ガイド51に沿って駆動可能に構成されている。テーブル55は、ガイド53上に設けられており、ガイド53に沿って駆動可能に構成されている。 The guide 51 is installed parallel to the Y axis. The guide 53 is provided on the guide 51 and is installed parallel to the X-axis. The guide 53 is configured to be driveable along the guide 51. The table 55 is provided on the guide 53 and is configured to be driveable along the guide 53.

ボールねじ52にはサーボモータなどの駆動機構が接続されている。当該駆動機構は、ボールねじ52を駆動することでガイド53をガイド51に沿って移動し、Y軸方向の任意の位置にガイド53を移動する。同様に、ボールねじ54にもサーボモータなどの駆動機構が接続されている。当該駆動機構は、ボールねじ54を駆動することでテーブル55をガイド53に沿って移動し、X軸方向の任意の位置にテーブル55を移動する。すなわち、工作機械100は、ボールねじ52,54のそれぞれに接続される駆動機構を協働して制御することで、XY平面上の任意の位置にテーブル55を移動する。これにより、工作機械100は、テーブル55上で保持されるワークをXY平面上で移動させながら加工を行うことができる。 A drive mechanism such as a servomotor is connected to the ball screw 52. The drive mechanism moves the guide 53 along the guide 51 by driving the ball screw 52, and moves the guide 53 to an arbitrary position in the Y-axis direction. Similarly, a drive mechanism such as a servomotor is also connected to the ball screw 54. The drive mechanism moves the table 55 along the guide 53 by driving the ball screw 54, and moves the table 55 to an arbitrary position in the X-axis direction. That is, the machine tool 100 moves the table 55 to an arbitrary position on the XY plane by cooperatively controlling the drive mechanisms connected to the ball screws 52 and 54, respectively. As a result, the machine tool 100 can perform machining while moving the work held on the table 55 on the XY plane.

主軸頭21には、圧力センサ110が設けられている。圧力センサ110は、主軸22や工具32にかかる負荷を検知する。 A pressure sensor 110 is provided on the spindle head 21. The pressure sensor 110 detects the load applied to the spindle 22 and the tool 32.

<B.工作機械100の制御機構>
図2は、工作機械100の制御機構の一例を示す図である。図2を参照して、工作機械100の制御機構の一例について説明する。
<B. Control mechanism of machine tool 100>
FIG. 2 is a diagram showing an example of a control mechanism of the machine tool 100. An example of the control mechanism of the machine tool 100 will be described with reference to FIG.

図2に示されるように、工作機械100は、PLC(Programmable Logic Controller)20と、ATC30と、センシング部40とを含む。 As shown in FIG. 2, the machine tool 100 includes a PLC (Programmable Logic Controller) 20, an ATC 30, and a sensing unit 40.

PLC20およびATC30は、ネットワークNWに接続される。ネットワークNWには、データの到達時間が保証される、定周期通信を行うフィールドネットワークを採用することが好ましい。このような定周期通信を行うフィールドネットワークとして、EtherCAT(登録商標)、EtherNet/IP(登録商標)、CC−Link(登録商標)、またはCompoNet(登録商標)などが採用される。 The PLC 20 and ATC 30 are connected to the network NW. As the network NW, it is preferable to adopt a field network that performs regular periodic communication with a guaranteed data arrival time. As a field network that performs such constant cycle communication, EtherCAT (registered trademark), EtherNet / IP (registered trademark), CC-Link (registered trademark), CompoNet (registered trademark), and the like are adopted.

ATC30は、アーム36と、ATC制御ユニット300と、2軸アンプ350と、サーボモータ360A,360Bとを含む。ATC制御ユニット300は、2軸アンプ350と通信可能に構成される。ATC制御ユニット300および2軸アンプ350は、有線で通信接続されてもよいし、無線で通信接続されてもよい。サーボモータ360Aは、進退方向DAにアーム36を駆動する。サーボモータ360Bは、回転方向DBにアーム36を駆動する。 The ATC 30 includes an arm 36, an ATC control unit 300, a two-axis amplifier 350, and servomotors 360A and 360B. The ATC control unit 300 is configured to be able to communicate with the two-axis amplifier 350. The ATC control unit 300 and the 2-axis amplifier 350 may be connected by wire or wirelessly. The servomotor 360A drives the arm 36 in the advancing / retreating direction DA. The servomotor 360B drives the arm 36 in the rotation direction DB.

ATC制御ユニット300は、PLC20から受信した制御指令に基づいて、2軸アンプ350に指令値を送る。PLC20がATC制御ユニット300に出力する制御指令は、たとえば、アーム36の前進または後退を示す指令や、アーム36の正転または逆転を示す指令や、アーム36の駆動速度(たとえば、高速または低速など)を示す指令などを含む。 The ATC control unit 300 sends a command value to the 2-axis amplifier 350 based on the control command received from the PLC 20. The control commands output by the PLC 20 to the ATC control unit 300 include, for example, a command indicating forward or backward movement of the arm 36, a command indicating forward or reverse rotation of the arm 36, and a driving speed of the arm 36 (for example, high speed or low speed). ) Is included.

ATC制御ユニット300は、このような大まかな制御指令をPLC20から受けて、より細かな動作指令を生成し、生成した動作指令を2軸アンプ350に出力する。これにより、ATC制御ユニット300は、進退方向DAにおけるアーム36の位置(以下、「進退位置」ともいう。)と、回転方向DBにおけるアーム36の角度(以下、「旋回角度」ともいう。)とを任意に調整する。 The ATC control unit 300 receives such a rough control command from the PLC 20, generates a finer operation command, and outputs the generated operation command to the 2-axis amplifier 350. As a result, the ATC control unit 300 determines the position of the arm 36 in the advancing / retreating direction DA (hereinafter, also referred to as “advancing / retreating position”) and the angle of the arm 36 in the rotational direction DB (hereinafter, also referred to as “turning angle”). Is adjusted arbitrarily.

より具体的には、ATC制御ユニット300は、PLC20から受けた制御指令に基づいて、進退方向DAにおけるアーム36の軌道と、回転方向DBにおけるアーム36の軌道とを生成する。進退方向DAにおける軌道とは、所定時間ごとのアーム36の目標進退位置を意味する。回転方向DBにおける軌道とは、所定時間ごとのアーム36の目標回転角度を意味する。ATC制御ユニット300は、アーム36の進退位置を現在の目標進退位置に近付けるための進退動作指令を生成するとともに、アーム36の旋回角度を現在の目標旋回角度に近付けるための回転動作指令を生成する。進退動作指令および回転動作指令は、一定周期ごとに生成され、2軸アンプ350に順次出力される。 More specifically, the ATC control unit 300 generates the trajectory of the arm 36 in the advancing / retreating direction DA and the trajectory of the arm 36 in the rotation direction DB based on the control command received from the PLC 20. The trajectory in the advancing / retreating direction DA means a target advancing / retreating position of the arm 36 at predetermined time intervals. The trajectory in the rotation direction DB means the target rotation angle of the arm 36 at predetermined time intervals. The ATC control unit 300 generates an advance / retreat operation command for bringing the advance / retreat position of the arm 36 closer to the current target advance / retreat position, and also generates a rotation operation command for bringing the turning angle of the arm 36 closer to the current target turning angle. .. The advance / retreat operation command and the rotation operation command are generated at regular intervals and are sequentially output to the 2-axis amplifier 350.

2軸アンプ350は、ATC制御ユニット300から受けた進退動作指令に応じて電気信号を生成し、当該電気信号を進退用のサーボモータ360Aに出力する。これにより、サーボモータ360Aは、目標進退位置に向けてアーム36を駆動する。サーボモータ360Aには、エンコーダ(図示しない)が取り付けられており、2軸アンプ350は、当該エンコーダのフィードバック信号からアーム36の実進退位置を算出する。算出した実進退位置は、ATC制御ユニット300にフィードバックされる。ATC制御ユニット300は、当該実進退位置を目標進退位置に近付けるための進退動作指令を生成し、当該進退動作指令を2軸アンプ350に再び出力する。このように、ATC制御ユニット300は、アーム36の実進退位置のフィードバックを逐次的に受けながらアーム36の進退位置を任意の目標進退位置に近付ける。 The 2-axis amplifier 350 generates an electric signal in response to an advance / retreat operation command received from the ATC control unit 300, and outputs the electric signal to the advance / retreat servomotor 360A. As a result, the servomotor 360A drives the arm 36 toward the target advance / retreat position. An encoder (not shown) is attached to the servomotor 360A, and the 2-axis amplifier 350 calculates the actual advance / retreat position of the arm 36 from the feedback signal of the encoder. The calculated actual advance / retreat position is fed back to the ATC control unit 300. The ATC control unit 300 generates an advance / retreat operation command for bringing the actual advance / retreat position closer to the target advance / retreat position, and outputs the advance / retreat operation command to the 2-axis amplifier 350 again. In this way, the ATC control unit 300 brings the advance / retreat position of the arm 36 closer to an arbitrary target advance / retreat position while sequentially receiving feedback of the actual advance / retreat position of the arm 36.

2軸アンプ350は、ATC制御ユニット300から受けた回転動作指令に応じて電気信号を生成し、当該電気信号を回転用のサーボモータ360Bに出力する。これにより、サーボモータ360Bは、目標旋回角度に向けてアーム36を駆動する。サーボモータ360Bには、エンコーダ(図示しない)が取り付けられており、2軸アンプ350は、当該エンコーダのフィードバック信号からアーム36の実旋回角度を算出する。算出した実旋回角度は、ATC制御ユニット300にフィードバックされる。ATC制御ユニット300は、当該実旋回角度を目標旋回角度に近付けるための回転動作指令を生成し、当該回転動作指令を2軸アンプ350に再び出力する。このように、ATC制御ユニット300は、アーム36の実旋回角度のフィードバックを逐次的に受けながらアーム36の旋回角度を任意の目標旋回角度に近付ける。 The 2-axis amplifier 350 generates an electric signal in response to a rotation operation command received from the ATC control unit 300, and outputs the electric signal to the rotation servomotor 360B. As a result, the servomotor 360B drives the arm 36 toward the target turning angle. An encoder (not shown) is attached to the servomotor 360B, and the 2-axis amplifier 350 calculates the actual turning angle of the arm 36 from the feedback signal of the encoder. The calculated actual turning angle is fed back to the ATC control unit 300. The ATC control unit 300 generates a rotation operation command for bringing the actual turning angle closer to the target turning angle, and outputs the rotation operation command to the two-axis amplifier 350 again. In this way, the ATC control unit 300 brings the turning angle of the arm 36 closer to an arbitrary target turning angle while sequentially receiving feedback of the actual turning angle of the arm 36.

センシング部40は、リモートI/Oユニット41と、各種センサ42とを含む。各種センサ42は、工作機械100内の異常を検知するために設けられる。各種センサ42の具体例については後述する。リモートI/Oユニット41は、工作機械100内の各種センサ42と、PLC20との間のデータのやり取りを仲介する。各種センサ42の検出値は、リモートI/Oユニット41介してPLC20に一定周期ごとに送られる。 The sensing unit 40 includes a remote I / O unit 41 and various sensors 42. Various sensors 42 are provided to detect an abnormality in the machine tool 100. Specific examples of the various sensors 42 will be described later. The remote I / O unit 41 mediates the exchange of data between various sensors 42 in the machine tool 100 and the PLC 20. The detected values of the various sensors 42 are sent to the PLC 20 via the remote I / O unit 41 at regular intervals.

<C.アーム36の駆動工程>
図3〜図5を参照して、工具の交換処理時におけるアーム36の駆動工程について説明する。図3は、工具の交換処理過程における、アーム36の進退位置の時間的変化と、アーム36の旋回角度の時間的変化とを示す図である。図4および図5は、工具の交換処理過程におけるアーム36の各駆動工程をY方向およびZ方向のそれぞれから時系列に示す図である。
<C. Arm 36 drive process>
The driving process of the arm 36 during the tool replacement process will be described with reference to FIGS. 3 to 5. FIG. 3 is a diagram showing a temporal change in the advancing / retreating position of the arm 36 and a temporal change in the turning angle of the arm 36 in the tool replacement process. 4 and 5 are diagrams showing each driving process of the arm 36 in the tool replacement process in chronological order from each of the Y direction and the Z direction.

以下では、説明の便宜のために、現在の加工工程において加工が完了した工具であって、主軸22に装着されている工具を「使用済工具」ともいう。また、次の加工工程おいて使用するためにマガジン31から選択された一の工具を「次使用工具」ともいう。 Hereinafter, for convenience of explanation, a tool that has been machined in the current machining process and is mounted on the spindle 22 is also referred to as a “used tool”. Further, one tool selected from the magazine 31 for use in the next machining process is also referred to as a "next tool".

ATC30は、図3〜図5に示されるステップS1〜S7の駆動工程を順に実行することにより、使用済工具32Aと次使用工具32Bとの交換処理を実現する。 The ATC 30 realizes the exchange processing between the used tool 32A and the next used tool 32B by sequentially executing the driving steps of steps S1 to S7 shown in FIGS. 3 to 5.

より具体的には、時刻T0において、アーム36は、予め定められた原点位置に待機している。当該初期位置は、ATC30の制御プログラムに規定されていてもよいし、当該制御プログラムによって読み込まれる設定ファイルに規定されていてもよい。一例として、当該原点位置は、アーム36の旋回角度と、アーム36の進退位置とで定義される。図3の例では、旋回角度「0度」および進退位置「z0」がアーム36の原点位置として示されている。 More specifically, at time T0, the arm 36 stands by at a predetermined origin position. The initial position may be specified in the control program of ATC30, or may be specified in the setting file read by the control program. As an example, the origin position is defined by the turning angle of the arm 36 and the advancing / retreating position of the arm 36. In the example of FIG. 3, the turning angle “0 degree” and the advancing / retreating position “z0” are shown as the origin position of the arm 36.

時刻T0において、ATC30は、使用済工具32Aと次使用工具32Bと交換するための指示をPLC20から受けたとする。このことに基づいて、ATC30は、ステップS1の処理の実行を開始する。 At time T0, it is assumed that the ATC 30 receives an instruction from the PLC 20 for exchanging the used tool 32A and the next used tool 32B. Based on this, the ATC 30 starts executing the process of step S1.

時刻T0から時刻T1までのステップS1において、ATC30は、アーム36の目標旋回角度を「90度」に設定し、Z方向の軸AXを中心にアーム36を回転駆動する。これにより、アーム36の旋回角度は、「0度」から「90度」に変化する。 In step S1 from the time T0 to the time T1, the ATC 30 sets the target turning angle of the arm 36 to "90 degrees" and rotationally drives the arm 36 around the axis AX in the Z direction. As a result, the turning angle of the arm 36 changes from "0 degrees" to "90 degrees".

時刻T1から時刻T2までのステップS2において、ATC30は、アーム36の第1把持部36Aに使用済工具32Aを把持させ、アーム36の第2把持部36Bに次使用工具32Bを把持させる。各工具の把持が完了したか否かは、第1把持部36A用の第1把持完了フラグと、第2把持部36B用の第1把持完了フラグとに基づいて判断される。各工具の把持が完了した場合には、第1,第2把持完了フラグの値がPLC20によって更新される。第1,第2把持完了フラグは、ATC30の制御プログラムによって参照される。ATC30は、使用済工具32Aおよび次使用工具32Bの把持が完了したことを第1,第2把持完了フラグが示す場合には、駆動工程をステップS3に進める。 In step S2 from the time T1 to the time T2, the ATC 30 causes the first grip portion 36A of the arm 36 to grip the used tool 32A, and causes the second grip portion 36B of the arm 36 to grip the next used tool 32B. Whether or not the gripping of each tool is completed is determined based on the first gripping completion flag for the first gripping portion 36A and the first gripping completion flag for the second gripping portion 36B. When the gripping of each tool is completed, the values of the first and second gripping completion flags are updated by the PLC 20. The first and second gripping completion flags are referred to by the control program of ATC30. When the first and second gripping completion flags indicate that the used tool 32A and the next used tool 32B have been gripped, the ATC 30 advances the driving step to step S3.

時刻T2から時刻T3までのステップS3において、ATC30は、アーム36の目標進退位置を「z1」に設定し、アーム36をZ方向に駆動する。これにより、アーム36の進退位置は、「z0」から「z1」に変化する。これにより、使用済工具32Aが主軸22から取り外され、かつ、次使用工具32Bがマガジン31の工具保持部34から取り外される。 In step S3 from the time T2 to the time T3, the ATC 30 sets the target advance / retreat position of the arm 36 to "z1" and drives the arm 36 in the Z direction. As a result, the advancing / retreating position of the arm 36 changes from "z0" to "z1". As a result, the used tool 32A is removed from the spindle 22, and the next used tool 32B is removed from the tool holding portion 34 of the magazine 31.

時刻T3から時刻T4までのステップS4において、ATC30は、アーム36の目標旋回角度を「270度」に設定し、Z方向の軸AXを中心にアーム36を回転駆動する。これにより、アーム36の旋回角度は、「90度」から「270度」に変化する。結果として、アーム36は、半回転する。アーム36が半回転することで、使用済工具32Aの位置と次使用工具32Bの位置とが入れ替わる。 In step S4 from the time T3 to the time T4, the ATC 30 sets the target turning angle of the arm 36 to "270 degrees" and rotationally drives the arm 36 around the axis AX in the Z direction. As a result, the turning angle of the arm 36 changes from "90 degrees" to "270 degrees". As a result, the arm 36 makes a half turn. When the arm 36 rotates half a turn, the position of the used tool 32A and the position of the next used tool 32B are exchanged.

時刻T4から時刻T5までのステップS5において、ATC30は、アーム36の目標進退位置を「z0」に設定し、アーム36をZ方向に駆動させる。これにより、アーム36の進退位置は、「z1」から「z0」に後退する。 In step S5 from the time T4 to the time T5, the ATC 30 sets the target advance / retreat position of the arm 36 to "z0" and drives the arm 36 in the Z direction. As a result, the advancing / retreating position of the arm 36 retreats from "z1" to "z0".

時刻T5から時刻T6までのステップS6において、ATC30は、アーム36の第1把持部36Aによる使用済工具32Aの把持を解除し、使用済工具32Aをマガジン31に収納する。並行して、ATC30は、アーム36の第2把持部36Bによる次使用工具32Bの把持を解除し、次使用工具32Bを主軸22に装着する。使用済工具32Aの収納が完了したか否か、および、次使用工具32Bの装着が完了したか否かは、上述の第1,第2把持完了フラグによって判断される。ATC30は、使用済工具32Aの収納と、次使用工具32Bの装着とが完了したことに基づいて、駆動工程をステップS6に進める。 In step S6 from the time T5 to the time T6, the ATC 30 releases the grip of the used tool 32A by the first grip portion 36A of the arm 36, and stores the used tool 32A in the magazine 31. At the same time, the ATC 30 releases the grip of the next-use tool 32B by the second grip portion 36B of the arm 36, and mounts the next-use tool 32B on the spindle 22. Whether or not the storage of the used tool 32A is completed and whether or not the mounting of the next used tool 32B is completed is determined by the above-mentioned first and second gripping completion flags. The ATC 30 advances the driving process to step S6 based on the completion of the storage of the used tool 32A and the mounting of the next used tool 32B.

時刻T6から時刻T7までのステップS7において、ATC30は、アーム36の目標旋回角度を「180度」に設定し、Z方向の軸AXを中心にアーム36を回転駆動する。これにより、アーム36の旋回角度は、「270度」から「180度」に変化する。 In step S7 from the time T6 to the time T7, the ATC 30 sets the target turning angle of the arm 36 to "180 degrees" and rotationally drives the arm 36 around the axis AX in the Z direction. As a result, the turning angle of the arm 36 changes from "270 degrees" to "180 degrees".

以上のようなステップS1〜S7の駆動工程により、使用済工具32Aと次使用工具32Bとの交換処理が実現される。 By the driving steps of steps S1 to S7 as described above, the exchange processing between the used tool 32A and the next used tool 32B is realized.

なお、ステップS7の駆動工程が完了した時点では、アーム36は、原点位置と比較して、半回転した状態(すなわち、旋回角度が180度となっている状態)になっている。そのため、ATC30は、ステップS7の駆動工程が完了した時点のアーム36の旋回角度を新たな原点位置として認識し、その上で次の工具の交換指示を受ける。すなわち、ATC30は、ステップS7の駆動工程が完了した時点の旋回角度を次の新たな交換過程では原点位置(すなわち、0度)として認識する。その上で、ステップS1〜S7の一連の駆動工程が繰り返されることで、工具の交換処理が連続的に実現される。 When the driving step of step S7 is completed, the arm 36 is in a state of being half-rotated (that is, a state in which the turning angle is 180 degrees) as compared with the origin position. Therefore, the ATC 30 recognizes the turning angle of the arm 36 at the time when the driving process of step S7 is completed as a new origin position, and then receives the next tool replacement instruction. That is, the ATC 30 recognizes the turning angle at the time when the driving process of step S7 is completed as the origin position (that is, 0 degree) in the next new exchange process. Then, by repeating the series of driving steps of steps S1 to S7, the tool replacement process is continuously realized.

<D.工作機械100の機能構成>
通常、何らかの異常が工作機械100に発生した場合、工作機械100は、ATC30の駆動を停止する。しかしながら、ATC30を停止させると、その影響が生産ライン全体に及んでしまい、生産性が低下してしまう。したがって、生産ラインは、可能な限り停止させないことが求められている。
<D. Functional configuration of machine tool 100>
Normally, when some abnormality occurs in the machine tool 100, the machine tool 100 stops driving the ATC 30. However, if the ATC 30 is stopped, its influence extends to the entire production line, and the productivity is lowered. Therefore, the production line is required not to be stopped as much as possible.

異常が発生したとしても、警告程度の異常である場合には、工作機械100(ATC30)を駆動し続けても問題ない場合がある。また、異常の発生原因によっては、ATC30が駆動している間に解決するものがある。一例として、異常の発生原因が工具の引っかかりに起因する場合、ATC30を駆動し続けることで工具の引っかかりが解消することがある。 Even if an abnormality occurs, if it is an abnormality of a warning level, there may be no problem even if the machine tool 100 (ATC30) is continuously driven. Further, depending on the cause of the abnormality, there is a solution while the ATC 30 is being driven. As an example, when the cause of the abnormality is due to the tool being caught, the tool may be eliminated by continuing to drive the ATC 30.

そこで、本実施の形態に従う工作機械100は、アーム36の駆動に係る動作設定(以下、「アーム動作設定」ともいう。)を複数保持しておく。保持するアーム動作設定は、正常動作時用のアーム動作設定(以下、「正常動作設定」ともいう。)と、異常発生時用のアーム動作設定(以下、「異常動作設定」ともいう。)とを少なくとも含む。ATC制御ユニット300は、工作機械100に異常が発生した場合には、異常が検知された後の所定のタイミングにおいて、アーム動作設定を正常動作設定(第1の設定)から異常動作設定(第2の設定)に変更する。このとき、ATC制御ユニット300は、アーム36の駆動工程の全部について異常動作設定を適用してもよいし、アーム36の駆動工程の一部について異常動作設定を適用してもよい。そして、ATC制御ユニット300は、アーム動作設定の変更後においては、アーム36の駆動工程の一部または全部において、アーム動作設定を異常動作設定に維持する。 Therefore, the machine tool 100 according to the present embodiment holds a plurality of operation settings (hereinafter, also referred to as “arm operation settings”) related to driving the arm 36. The arm operation settings to be held are the arm operation setting for normal operation (hereinafter, also referred to as "normal operation setting") and the arm operation setting for abnormal occurrence (hereinafter, also referred to as "abnormal operation setting"). At least include. When an abnormality occurs in the machine tool 100, the ATC control unit 300 changes the arm operation setting from the normal operation setting (first setting) to the abnormal operation setting (second setting) at a predetermined timing after the abnormality is detected. Change to (setting). At this time, the ATC control unit 300 may apply the abnormal operation setting to the entire driving process of the arm 36, or may apply the abnormal operation setting to a part of the driving process of the arm 36. Then, the ATC control unit 300 maintains the arm operation setting at the abnormal operation setting in a part or all of the driving process of the arm 36 after the change of the arm operation setting.

これにより、ATC制御ユニット300は、工作機械100の異常発生時において、正常動作設定よりも安全な異常動作設定でアーム36を駆動し続けることができる。アーム36を駆動し続けると、工具の引っかかりが解消することがある。また、ATC制御ユニット300は、ATC30を停止させないので、生産ラインを停止させずに済む。結果として、ATC制御ユニット300は、安全性と生産性とを両立することができる。 As a result, the ATC control unit 300 can continue to drive the arm 36 with an abnormal operation setting that is safer than the normal operation setting when an abnormality occurs in the machine tool 100. If the arm 36 is continuously driven, the tool may not be caught. Further, since the ATC control unit 300 does not stop the ATC 30, it is not necessary to stop the production line. As a result, the ATC control unit 300 can achieve both safety and productivity.

以下では、図6を参照して、アーム動作設定の変更処理を実現するための機能構成について説明する。図6は、アーム動作設定の変更処理を実現するための機能構成の一例を示す図である。 Hereinafter, the functional configuration for realizing the change processing of the arm operation setting will be described with reference to FIG. FIG. 6 is a diagram showing an example of a functional configuration for realizing a process of changing the arm operation setting.

図6に示されるように、工作機械100は、制御機構として、PLC20と、ATC制御ユニット300とを含む。PLC20は、異常検知部252を含む。ATC制御ユニット300は、異常検知部352と、駆動制御部353とを含む。駆動制御部353は、動作設定部354と、指令出力部356とを含む。 As shown in FIG. 6, the machine tool 100 includes a PLC 20 and an ATC control unit 300 as control mechanisms. The PLC 20 includes an abnormality detection unit 252. The ATC control unit 300 includes an abnormality detection unit 352 and a drive control unit 353. The drive control unit 353 includes an operation setting unit 354 and a command output unit 356.

以下では、異常検知部252,352、動作設定部354、および指令出力部356の機能について順に説明する。 Hereinafter, the functions of the abnormality detection unit 252, 352, the operation setting unit 354, and the command output unit 356 will be described in order.

(D1.異常検知部252,352)
工作機械100は、工作機械100内で発生する種々の異常を検知することができる。そのための機能構成の一例として、工作機械100は、異常検知部252と、異常検知部352とを含む。
(D1. Anomaly detection unit 252,352)
The machine tool 100 can detect various abnormalities that occur in the machine tool 100. As an example of the functional configuration for that purpose, the machine tool 100 includes an abnormality detection unit 252 and an abnormality detection unit 352.

異常検知部252は、PLC20に発生する異常を検知する。ある局面において、異常検知部252は、停電を検知する。より具体的には、工作機械100には、停電検知回路が搭載されている。当該停電検知回路は、上述の各種センサ42(図2参照)の一例である。PLC20は、上述のリモートI/Oユニット41(図2参照)を介して停電検知回路の出力信号を一定周期ごとに受ける。PLC20の異常検知部252は、停電が発生したことを示す出力信号を停電検知回路から受けた場合、停電発生を示す異常をATC制御ユニット300に出力する。 The abnormality detection unit 252 detects an abnormality that occurs in the PLC 20. In a certain aspect, the abnormality detection unit 252 detects a power failure. More specifically, the machine tool 100 is equipped with a power failure detection circuit. The power failure detection circuit is an example of the above-mentioned various sensors 42 (see FIG. 2). The PLC 20 receives an output signal of the power failure detection circuit at regular intervals via the remote I / O unit 41 (see FIG. 2) described above. When the abnormality detection unit 252 of the PLC 20 receives an output signal indicating that a power failure has occurred from the power failure detection circuit, the abnormality detection unit 252 outputs an abnormality indicating the occurrence of a power failure to the ATC control unit 300.

他の局面において、異常検知部252は、地震を検知する。より具体的には、工作機械100には、工作機械100の揺れを検知するための地震検知センサ(たとえば、加速度センサなど)が搭載されている。当該地震検知センサは、上述の各種センサ42の一例である。PLC20は、上述のリモートI/Oユニット41を介して地震検知センサの出力信号を一定周期ごとに受ける。PLC20の異常検知部252は、地震が発生したことを示す出力信号を地震検知センサから受けた場合、地震発生を示す異常をATC制御ユニット300に出力する。 In another aspect, the anomaly detection unit 252 detects an earthquake. More specifically, the machine tool 100 is equipped with an earthquake detection sensor (for example, an acceleration sensor) for detecting the shaking of the machine tool 100. The earthquake detection sensor is an example of the above-mentioned various sensors 42. The PLC 20 receives the output signal of the earthquake detection sensor at regular intervals via the remote I / O unit 41 described above. When the abnormality detection unit 252 of the PLC 20 receives an output signal indicating that an earthquake has occurred from the earthquake detection sensor, the abnormality detection unit 252 outputs an abnormality indicating the occurrence of an earthquake to the ATC control unit 300.

他の局面において、異常検知部252は、工具にかかる負荷異常を検知する。より具体的には、工作機械100には、主軸22と工具との装着部分や、アーム36と工具との装着部分に設けられている圧力センサが搭載されている。当該圧力センサは、上述の各種センサ42の一例である。圧力センサは、工具にかかる負荷を示す圧力値を出力する。PLC20は、上述のリモートI/Oユニット41を介して圧力センサの出力信号を一定周期ごとに受ける。PLC20の異常検知部252は、圧力センサによって検知される圧力値が所定値以上である場合に、過負荷を示す異常をATC制御ユニット300に出力する。 In another aspect, the abnormality detection unit 252 detects a load abnormality applied to the tool. More specifically, the machine tool 100 is equipped with a pressure sensor provided on a mounting portion between the spindle 22 and the tool and a mounting portion between the arm 36 and the tool. The pressure sensor is an example of the above-mentioned various sensors 42. The pressure sensor outputs a pressure value indicating the load applied to the tool. The PLC 20 receives the output signal of the pressure sensor at regular intervals via the remote I / O unit 41 described above. The abnormality detection unit 252 of the PLC 20 outputs an abnormality indicating an overload to the ATC control unit 300 when the pressure value detected by the pressure sensor is equal to or higher than a predetermined value.

異常検知部352は、ATC30に発生する異常を検知する。一例として、異常検知部352は、ATC30に発生している引っかかりを検知する。検知可能な引っかかりは、たとえば、アーム36に対する工具の引っかかりや、アーム36の駆動部分における引っかかりなどを含む。 The abnormality detection unit 352 detects an abnormality that occurs in the ATC 30. As an example, the abnormality detection unit 352 detects a catch occurring in the ATC 30. The detectable catch includes, for example, a tool catch on the arm 36, a catch on the driving portion of the arm 36, and the like.

ある局面において、異常検知部352は、アーム36の目標進退位置を指令出力部356から定期的に受けるとともに、アーム36の実進退位置を2軸アンプ350から定期的に受ける。目標進退位置および実進退位置については図2で説明した通りであるので、それらの説明については繰り返さない。油の固着などに起因する何らかの引っかかりがATC30に発生している場合には、目標進退位置と実進退位置との差が徐々に大きくなる。この点に着目して、異常検知部352は、目標進退位置と実進退位置との差が所定値以上になったことに基づいて、引っかかり示す異常を検知する。検知された異常は、動作設定部354に出力される。 In a certain aspect, the abnormality detection unit 352 periodically receives the target advance / retreat position of the arm 36 from the command output unit 356, and periodically receives the actual advance / retreat position of the arm 36 from the two-axis amplifier 350. Since the target advance / retreat position and the actual advance / retreat position are as described in FIG. 2, these explanations will not be repeated. When some kind of catching due to oil sticking or the like occurs in the ATC 30, the difference between the target advance / retreat position and the actual advance / retreat position gradually increases. Focusing on this point, the abnormality detection unit 352 detects an abnormality that is caught and indicated based on the difference between the target advance / retreat position and the actual advance / retreat position becoming a predetermined value or more. The detected abnormality is output to the operation setting unit 354.

他の局面において、異常検知部352は、アーム36の目標回転角度を指令出力部356から定期的に受けるとともに、アーム36の実回転角度を2軸アンプ350から定期的に受ける。目標回転角度および実回転角度については図2で説明した通りであるので、それらの説明については繰り返さない。油の固着などに起因する何らかの引っかかりがATC30に発生している場合には、目標回転角度と実回転角度との差が徐々に大きくなる。この点に着目して、異常検知部352は、目標回転角度と実回転角度との差が所定値以上になったことに基づいて、引っかかり示す異常を検知する。検知された異常は、動作設定部354に出力される。 In another aspect, the abnormality detection unit 352 periodically receives the target rotation angle of the arm 36 from the command output unit 356, and periodically receives the actual rotation angle of the arm 36 from the two-axis amplifier 350. Since the target rotation angle and the actual rotation angle are as described in FIG. 2, these explanations will not be repeated. When some kind of catching due to oil sticking or the like occurs in the ATC 30, the difference between the target rotation angle and the actual rotation angle gradually increases. Focusing on this point, the abnormality detection unit 352 detects an abnormality that is caught and shown based on the difference between the target rotation angle and the actual rotation angle becoming a predetermined value or more. The detected abnormality is output to the operation setting unit 354.

(D2.動作設定部354)
次に、図6に示される動作設定部354の機能について説明する。
(D2. Operation setting unit 354)
Next, the function of the operation setting unit 354 shown in FIG. 6 will be described.

動作設定部354は、工作機械100に発生した異常の種類に応じて、アーム36の動作設定を切り替える。アーム動作設定の切り替えは、たとえば、状態別動作設定324を参照することで行われる。状態別動作設定324は、工作機械100の正常状態時における正常動作設定と、異常の種別に対応付けられている異常動作設定とを含む。正常動作設定および異常動作設定は、アーム36の駆動に係る各種の制御パラメータを規定する。当該各種の制御パラメータは、たとえば、アーム36の移動速度や、アーム36の回転速度や、アーム36の目標進退位置や、アーム36の目標旋回角度などを含む。 The operation setting unit 354 switches the operation setting of the arm 36 according to the type of abnormality generated in the machine tool 100. The switching of the arm operation settings is performed by referring to, for example, the state-specific operation settings 324. The state-specific operation setting 324 includes a normal operation setting in a normal state of the machine tool 100 and an abnormal operation setting associated with the type of abnormality. The normal operation setting and the abnormal operation setting define various control parameters related to the driving of the arm 36. The various control parameters include, for example, the moving speed of the arm 36, the rotation speed of the arm 36, the target advancing / retreating position of the arm 36, the target turning angle of the arm 36, and the like.

工作機械100が正常に動作している場合には、動作設定部354は、状態別動作設定324を参照して、状態「正常」に対応付けられている正常動作設定「X」を現動作設定326に設定する。一方で、工作機械100に異常が発生した場合には、動作設定部354は、状態別動作設定324に規定されている複数種類のアーム動作設定の中から、異常検知部252,352によって検知された異常の種類に対応する異常動作設定を特定し、当該異常動作設定を現動作設定326に設定する。 When the machine tool 100 is operating normally, the operation setting unit 354 refers to the operation setting 324 for each state and sets the normal operation setting "X" associated with the state "normal" to the current operation setting. Set to 326. On the other hand, when an abnormality occurs in the machine tool 100, the operation setting unit 354 is detected by the abnormality detection unit 252,352 from among a plurality of types of arm operation settings defined in the operation setting 324 for each state. The abnormal operation setting corresponding to the type of abnormality is specified, and the abnormal operation setting is set to the current operation setting 326.

(D3.指令出力部356)
次に、図6に示される指令出力部356の機能について説明する。
(D3. Command output unit 356)
Next, the function of the command output unit 356 shown in FIG. 6 will be described.

指令出力部356は、現動作設定326に基づいて、アーム36を駆動するための動作指令を生成し、当該動作指令を2軸アンプ350に出力する。一例として、指令出力部356は、アーム36の実進退位置を目標進退位置に近付けるための進退動作指令と、アーム36の実旋回角度を目標旋回角度に近付けるための回転動作指令とを生成し、これらの動作指令を2軸アンプ350に出力する。目標進退位置、目標旋回角度、実進退位置、および実旋回角度については図2で説明した通りであるので、その説明については繰り返さない。 The command output unit 356 generates an operation command for driving the arm 36 based on the current operation setting 326, and outputs the operation command to the 2-axis amplifier 350. As an example, the command output unit 356 generates an advance / retreat operation command for bringing the actual advance / retreat position of the arm 36 closer to the target advance / retreat position, and a rotation operation command for making the actual turning angle of the arm 36 closer to the target turning angle. These operation commands are output to the 2-axis amplifier 350. Since the target advance / retreat position, the target turning angle, the actual advance / retreat position, and the actual turning angle are as described in FIG. 2, the description will not be repeated.

また、指令出力部356は、目標進退位置および目標旋回角度を一定周期ごとに異常検知部352に出力する。 Further, the command output unit 356 outputs the target advance / retreat position and the target turning angle to the abnormality detection unit 352 at regular intervals.

<E.アーム動作設定の変更方法>
上述のように、ATC制御ユニット300の駆動制御部353は、工作機械100に以上が発生したことに基づいて、アーム動作設定を正常動作設定から異常動作設定に変更する。このとき、異常動作設定は、アーム36の駆動工程の全部において適用されてもよいし、アーム36の駆動工程の一部において適用されてもよい。
<E. How to change the arm operation setting>
As described above, the drive control unit 353 of the ATC control unit 300 changes the arm operation setting from the normal operation setting to the abnormal operation setting based on the occurrence of the above in the machine tool 100. At this time, the abnormal operation setting may be applied in the entire driving process of the arm 36, or may be applied in a part of the driving process of the arm 36.

以下では、図7および図8を参照して、アーム36の駆動工程の全部において異常動作設定を適用する例と、アーム36の駆動工程の一部において異常動作設定を適用する例について説明する。 In the following, with reference to FIGS. 7 and 8, an example in which the abnormal operation setting is applied in the entire driving process of the arm 36 and an example in which the abnormal operation setting is applied in a part of the driving process of the arm 36 will be described.

(E1.アーム動作設定の変更方法の具体例1)
まず、図7を参照して、アーム36の駆動工程の全部において異常動作設定を適用する例について説明する。図7は、アーム動作設定の変更方法の具体例1を示す図である。
(E1. Specific example 1 of how to change the arm operation setting)
First, with reference to FIG. 7, an example in which the abnormal operation setting is applied in the entire driving process of the arm 36 will be described. FIG. 7 is a diagram showing a specific example 1 of a method of changing the arm operation setting.

上述の図3〜図5で説明したように、駆動制御部353は、ステップS1〜S7の駆動工程を実行することで、工具の交換処理を実現する。以下では、n回目の工具交換処理のステップS4の駆動工程において、アーム36の引っかかりを示す異常「β」が発生した前提で説明を行う。 As described with reference to FIGS. 3 to 5 described above, the drive control unit 353 realizes the tool replacement process by executing the drive steps of steps S1 to S7. Hereinafter, the description will be made on the premise that an abnormality “β” indicating that the arm 36 is caught has occurred in the driving step of step S4 of the nth tool change process.

アーム動作設定がアーム36の駆動途中に変えられると、予期しない不具合が発生する可能性があるため、駆動制御部353は、アーム36が原点位置(図3参照)にあるときのいずれかのタイミング(所定のタイミング)においてアーム動作設定を変更する。図7の例では、n回目の工具交換処理が完了してから、n+1回目の工具交換処理が開始されるまでの間に、アーム動作設定が変更されている。アーム36が停止中であり、かつ、アーム36が工具を保持していないときに、アーム動作設定が変更されることで、アーム動作設定が安全に変更される。 If the arm operation setting is changed during the driving of the arm 36, an unexpected malfunction may occur. Therefore, the drive control unit 353 performs one of the timings when the arm 36 is in the origin position (see FIG. 3). The arm operation setting is changed at (predetermined timing). In the example of FIG. 7, the arm operation setting is changed between the completion of the nth tool change process and the start of the n + 1th tool change process. When the arm 36 is stopped and the arm 36 is not holding the tool, the arm operation setting is changed, so that the arm operation setting is safely changed.

アーム動作設定の変更時において、駆動制御部353は、上述の状態別動作設定324(図6参照)に規定されている複数種類のアーム動作設定の中から、発生した異常「β」に対応する異常動作設定「Y2」を特定する。本具体例においては、駆動制御部353は、ステップS1〜S7の全部の駆動工程について異常動作設定「Y2」を適用する。すなわち、駆動制御部353は、異常「β」の発生後には、ステップS1〜S7の全ての駆動工程において、アーム動作設定を異常動作設定「Y2」に維持する。 When the arm operation setting is changed, the drive control unit 353 corresponds to the abnormality "β" that has occurred from the plurality of types of arm operation settings defined in the above-mentioned state-specific operation settings 324 (see FIG. 6). Specify the abnormal operation setting "Y2". In this specific example, the drive control unit 353 applies the abnormal operation setting "Y2" to all the drive steps of steps S1 to S7. That is, the drive control unit 353 maintains the arm operation setting at the abnormal operation setting “Y2” in all the driving steps of steps S1 to S7 after the occurrence of the abnormality “β”.

(E2.アーム動作設定の変更方法の具体例2)
次に、図8を参照して、アーム36の駆動工程の一部において異常動作設定を適用する例について説明する。図8は、アーム動作設定の変更方法の具体例2を示す図である。
(E2. Specific example 2 of how to change the arm operation setting)
Next, an example of applying the abnormal operation setting in a part of the driving process of the arm 36 will be described with reference to FIG. FIG. 8 is a diagram showing a specific example 2 of a method of changing the arm operation setting.

本具体例においても、n回目の工具交換処理のステップS4の駆動工程において、工作機械100に異常「β」が発生したとする。 Also in this specific example, it is assumed that an abnormality "β" occurs in the machine tool 100 in the driving process of step S4 of the nth tool change process.

異常「β」が発生した場合、駆動制御部353は、アーム36が原点位置(図3参照)にあるときのいずれかのタイミング(所定のタイミング)において、アーム動作設定を変更する。図8の例では、n回目の工具交換処理が完了してから、n+1回目の工具交換処理が開始されるまでの間に、アーム動作設定が変更されている。 When the abnormality "β" occurs, the drive control unit 353 changes the arm operation setting at any timing (predetermined timing) when the arm 36 is at the origin position (see FIG. 3). In the example of FIG. 8, the arm operation setting is changed between the completion of the nth tool change process and the start of the n + 1th tool change process.

このとき、本具体例においては、駆動制御部353は、アーム36の駆動工程の一部について異常動作設定を適用する。より具体的には、駆動制御部353は、上述の状態別動作設定324(図6参照)に規定されている複数種類のアーム動作設定の中から、発生した異常「β」に対応する異常動作設定「Y2」を特定する。本具体例においては、異常「β」が発生したステップS4の駆動工程において、異常動作設定「Y2」が適用される。すなわち、一方で、その他のステップS1〜S3,S5〜S7の駆動工程においては、正常動作設定「X」が維持される。このように、駆動制御部353は、ある駆動工程において異常が検知された場合には、異常が発生した駆動工程についてのみ対応する異常動作設定を適用し、その他の駆動工程については正常動作設定を維持する。 At this time, in this specific example, the drive control unit 353 applies the abnormal operation setting to a part of the drive process of the arm 36. More specifically, the drive control unit 353 performs an abnormal operation corresponding to the generated abnormality "β" from the plurality of types of arm operation settings defined in the above-mentioned state-specific operation setting 324 (see FIG. 6). Specify the setting "Y2". In this specific example, the abnormal operation setting "Y2" is applied in the driving process of step S4 in which the abnormality "β" occurs. That is, on the other hand, in the other driving steps of steps S1 to S3 and S5 to S7, the normal operation setting "X" is maintained. In this way, when an abnormality is detected in a certain drive process, the drive control unit 353 applies the corresponding abnormal operation setting only to the drive process in which the abnormality occurs, and sets the normal operation setting for the other drive processes. maintain.

<F.アーム36の駆動態様>
次に、正常動作設定および異常動作設定のそれぞれによるアーム36の駆動態様の具体例1〜3について説明する。
<F. Driving mode of arm 36>
Next, specific examples 1 to 3 of the driving mode of the arm 36 according to the normal operation setting and the abnormal operation setting will be described.

(F1.アーム36の駆動態様の具体例1)
図9は、正常動作設定および異常動作設定のそれぞれによるアーム36の駆動態様の具体例1を示す図である。
(F1. Specific example 1 of driving mode of arm 36)
FIG. 9 is a diagram showing a specific example 1 of a driving mode of the arm 36 according to each of the normal operation setting and the abnormal operation setting.

図9には、正常動作設定時におけるアーム36の旋回角度の時間的変化が駆動態様XAとして示されている。また、異常動作設定時におけるアーム36の旋回角度の時間的変化が駆動態様YAとして示されている。また、正常動作設定時におけるアーム36の進退位置の時間的変化が駆動態様XBとして示されている。また、異常動作設定時におけるアーム36の進退位置の時間的変化が駆動態様YBとして示されている。 In FIG. 9, the temporal change of the turning angle of the arm 36 at the time of setting the normal operation is shown as the driving mode XA. Further, the temporal change of the turning angle of the arm 36 at the time of setting the abnormal operation is shown as the driving mode YA. Further, the temporal change of the advancing / retreating position of the arm 36 at the time of setting the normal operation is shown as the driving mode XB. Further, the temporal change of the advancing / retreating position of the arm 36 at the time of setting the abnormal operation is shown as the driving mode YB.

本具体例では、アーム36の駆動制御部353は、異常動作設定時には、正常動作設定時と比較して、アーム36の移動速度を遅くする。すなわち、異常動作設定によるアーム36の移動速度は、正常動作設定によるアーム36の移動速度よりも遅い。図9の例では、異常動作設定時と正常動作設定時と間で、アーム36の移動速度のみが異なり、アーム36の軌道は同じである。このように、アーム36の移動速度が異常発生時において下げられることで、駆動制御部353は、アーム36を安全に駆動することができ、かつ、生産ラインを停止させずに済む。 In this specific example, the drive control unit 353 of the arm 36 slows down the moving speed of the arm 36 when the abnormal operation is set as compared with when the normal operation is set. That is, the moving speed of the arm 36 due to the abnormal operation setting is slower than the moving speed of the arm 36 due to the normal operation setting. In the example of FIG. 9, only the moving speed of the arm 36 is different between the time when the abnormal operation is set and the time when the normal operation is set, and the trajectory of the arm 36 is the same. In this way, by reducing the moving speed of the arm 36 when an abnormality occurs, the drive control unit 353 can safely drive the arm 36 and does not have to stop the production line.

一例として、駆動制御部353は、正常動作設定時におけるアーム36の駆動速度に所定係数w1(0<w1<1)を掛けることで、アーム36の駆動速度を正常時よりも遅くする。所定係数w1は、アーム36の駆動工程の全部に対して適用されてもよいし、アーム36の駆動工程の一部のみに対して適用されてもよい。また、所定係数w1は、進退方向DA(図2参照)の移動速度に係る動作パラメータと、回転方向DB(図2参照)の回転速度に係る動作パラメータとの両方に掛けられても良いし、いずれか一方の動作パラメータのみに掛けられても良い。 As an example, the drive control unit 353 makes the drive speed of the arm 36 slower than that in the normal state by multiplying the drive speed of the arm 36 in the normal operation setting by a predetermined coefficient w1 (0 <w1 <1). The predetermined coefficient w1 may be applied to the entire driving process of the arm 36, or may be applied to only a part of the driving process of the arm 36. Further, the predetermined coefficient w1 may be multiplied by both an operation parameter related to the movement speed in the advancing / retreating direction DA (see FIG. 2) and an operation parameter related to the rotation speed in the rotation direction DB (see FIG. 2). It may be multiplied by only one of the operating parameters.

(F2.アーム36の駆動態様の具体例2)
図10は、正常動作設定および異常動作設定のそれぞれによるアーム36の駆動態様の具体例2を示す図である。
(F2. Specific example 2 of the driving mode of the arm 36)
FIG. 10 is a diagram showing a specific example 2 of a driving mode of the arm 36 according to each of the normal operation setting and the abnormal operation setting.

図10には、正常動作設定時におけるアーム36の駆動態様が駆動態様XCとして示されている。また、異常動作設定時におけるアーム36の駆動態様が駆動態様YCとして示されている。 In FIG. 10, the driving mode of the arm 36 at the time of setting the normal operation is shown as the driving mode XC. Further, the driving mode of the arm 36 at the time of setting the abnormal operation is shown as the driving mode YC.

本具体例では、アーム36の駆動制御部353は、正常動作設定時と異常動作設定時とで、アーム36の軌道を異ならせる。図10の例では、異常動作設定時と正常動作設定時と間で、進退位置が異ならされている。 In this specific example, the drive control unit 353 of the arm 36 makes the trajectory of the arm 36 different between the normal operation setting and the abnormal operation setting. In the example of FIG. 10, the advancing / retreating position is different between when the abnormal operation is set and when the normal operation is set.

より具体的には、駆動制御部353は、正常動作設定時においては、ステップS3の駆動工程において、アーム36の目標進退位置を「z1」としている。これに対して、駆動制御部353は、異常動作設定時においては、ステップS3の駆動工程において、アーム36の目標進退位置を「z2」としている。「z2」は、「z1」よりも大きい。これにより、駆動制御部353は、異常動作設定時には、正常動作設定時と比較して、アーム36をより大きく動かすこととなる。 More specifically, the drive control unit 353 sets the target advance / retreat position of the arm 36 to "z1" in the drive process of step S3 when the normal operation is set. On the other hand, the drive control unit 353 sets the target advance / retreat position of the arm 36 to "z2" in the drive step of step S3 when the abnormal operation is set. "Z2" is larger than "z1". As a result, the drive control unit 353 moves the arm 36 more when the abnormal operation is set as compared with when the normal operation is set.

一例として、駆動制御部353は、正常動作設定時におけるアーム36の目標進退位置に所定係数w2(1<w2)を掛けることで、アーム36の目標進退位置をより大きくする。所定係数w2は、制御プログラムに規定されるアーム36の目標進退位置の全部に適用されてもよいし、当該目標進退位置の一部のみに適用されてもよい。 As an example, the drive control unit 353 increases the target advance / retreat position of the arm 36 by multiplying the target advance / retreat position of the arm 36 by a predetermined coefficient w2 (1 <w2) when the normal operation is set. The predetermined coefficient w2 may be applied to all the target advance / retreat positions of the arm 36 defined in the control program, or may be applied to only a part of the target advance / retreat positions.

なお、上述では、異常動作設定時において進退位置をより大きくする例について説明を行ったが、駆動制御部353は、異常動作設定時において進退位置をより小さくしてもよい。 In the above description, an example in which the advance / retreat position is made larger when the abnormal operation is set has been described, but the drive control unit 353 may make the advance / retreat position smaller when the abnormal operation is set.

また、上述では、異常動作設定時において目標進退位置を変えることでアーム36の軌道を変える例について説明を行ったが、駆動制御部353は、異常動作設定時において目標旋回角度を変えることでアーム36の軌道を変えてもよい。また、駆動制御部353は、異常動作設定時において目標進退位置および目標旋回角度の両方を変えることでアーム36の軌道を変えてもよい。 Further, in the above description, an example of changing the trajectory of the arm 36 by changing the target advance / retreat position when the abnormal operation is set has been described, but the drive control unit 353 changes the target turning angle when the abnormal operation is set. The orbit of 36 may be changed. Further, the drive control unit 353 may change the trajectory of the arm 36 by changing both the target advance / retreat position and the target turning angle when the abnormal operation is set.

(F3.アーム36の駆動態様の具体例3)
上述の具体例1,2では、異常動作設定時において、アーム36の速度やアーム36の軌道が変えられる例について説明を行ったが、その他の制御パラメータが変えられてもよい。
(F3. Specific example 3 of the driving mode of the arm 36)
In the above-mentioned specific examples 1 and 2, an example in which the speed of the arm 36 and the trajectory of the arm 36 can be changed at the time of setting the abnormal operation has been described, but other control parameters may be changed.

一例として、異常動作設定時においては、アーム36の各駆動工程の間に待ち時間が設けられてもよい。各駆動工程に待ち時間が設けられることで、駆動制御部353は、旋回角度と進退位置とを同時に制御することを防止することができ、各駆動工程を確実に実施することが可能になる。 As an example, when an abnormal operation is set, a waiting time may be provided between each driving process of the arm 36. By providing a waiting time in each drive process, the drive control unit 353 can prevent the turning angle and the advance / retreat position from being controlled at the same time, and each drive process can be reliably executed.

<G.ATC制御ユニット300のハードウェア構成>
図11を参照して、ATC制御ユニット300のハードウェア構成の一例について説明する。図11は、ATC制御ユニット300の主要なハードウェア構成を示すブロック図である。
<G. Hardware configuration of ATC control unit 300>
An example of the hardware configuration of the ATC control unit 300 will be described with reference to FIG. FIG. 11 is a block diagram showing a main hardware configuration of the ATC control unit 300.

ATC制御ユニット300は、プロセッサ301と、ROM(Read Only Memory)302と、RAM(Random Access Memory)303と、通信インターフェイス304,305と、記憶装置320とを含む。 The ATC control unit 300 includes a processor 301, a ROM (Read Only Memory) 302, a RAM (Random Access Memory) 303, communication interfaces 304 and 305, and a storage device 320.

プロセッサ301は、少なくとも1つの集積回路によって構成される。集積回路は、たとえば、少なくとも1つのCPU(Central Processing Unit)、少なくとも1つのGPU(Graphics Processing Unit)、少なくとも1つのASIC(Application Specific Integrated Circuit)、少なくとも1つのFPGA(Field Programmable Gate Array)、またはそれらの組み合わせなどによって構成され得る。 The processor 301 is composed of at least one integrated circuit. The integrated circuit is, for example, at least one CPU (Central Processing Unit), at least one GPU (Graphics Processing Unit), at least one ASIC (Application Specific Integrated Circuit), at least one FPGA (Field Programmable Gate Array), or them. It may be composed of a combination of.

プロセッサ301は、制御プログラム322など各種プログラムを実行することでアーム36の駆動を制御する。プロセッサ301は、制御プログラム322の実行命令を受け付けたことに基づいて、記憶装置320からROM302に制御プログラム322を読み出す。RAM303は、ワーキングメモリとして機能し、制御プログラム322の実行に必要な各種データを一時的に格納する。 The processor 301 controls the drive of the arm 36 by executing various programs such as the control program 322. The processor 301 reads the control program 322 from the storage device 320 into the ROM 302 based on the reception of the execution instruction of the control program 322. The RAM 303 functions as a working memory and temporarily stores various data necessary for executing the control program 322.

通信インターフェイス304は、フィールドネットワークに接続するためのインターフェイスである。ATC制御ユニット300は、通信インターフェイス304をPLC20とデータをやり取りする。 The communication interface 304 is an interface for connecting to a field network. The ATC control unit 300 exchanges data with the PLC 20 through the communication interface 304.

通信インターフェイス305は、2軸アンプ350との通信を実現するためのインターフェイスである。ATC制御ユニット300および2軸アンプ350は、有線で通信接続されてもよいし、無線で通信接続されてもよい。 The communication interface 305 is an interface for realizing communication with the two-axis amplifier 350. The ATC control unit 300 and the 2-axis amplifier 350 may be connected by wire or wirelessly.

記憶装置320は、たとえば、ハードディスクやフラッシュメモリなどの記憶媒体である。記憶装置320は、制御プログラム322、上述の状態別動作設定324、現動作設定326などを格納する。記憶装置320に記憶される各種データの格納場所は、記憶装置320に限定されず、プロセッサ301の記憶領域(たとえば、キャッシュ領域など)、ROM302、RAM303、外部機器(たとえば、サーバー)などに格納されていてもよい。 The storage device 320 is, for example, a storage medium such as a hard disk or a flash memory. The storage device 320 stores the control program 322, the above-mentioned state-specific operation setting 324, the current operation setting 326, and the like. The storage location of various data stored in the storage device 320 is not limited to the storage device 320, but is stored in the storage area of the processor 301 (for example, cache area), ROM 302, RAM 303, external device (for example, server), and the like. You may be.

制御プログラム322は、単体のプログラムとしてではなく、任意のプログラムの一部に組み込まれて提供されてもよい。この場合、本実施の形態に従う制御処理は、任意のプログラムと協働して実現される。このような一部のモジュールを含まないプログラムであっても、本実施の形態に従う制御プログラム322の趣旨を逸脱するものではない。さらに、制御プログラム322によって提供される機能の一部または全部は、専用のハードウェアによって実現されてもよい。さらに、少なくとも1つのサーバーが制御プログラム322の処理の一部を実行する所謂クラウドサービスのような形態でATC制御ユニット300が構成されてもよい。 The control program 322 may be provided as a part of an arbitrary program, not as a single program. In this case, the control process according to the present embodiment is realized in cooperation with an arbitrary program. Even a program that does not include such a part of modules does not deviate from the purpose of the control program 322 according to the present embodiment. Further, some or all of the functions provided by the control program 322 may be realized by dedicated hardware. Further, the ATC control unit 300 may be configured in the form of a so-called cloud service in which at least one server executes a part of the processing of the control program 322.

<H.工具交換処理のフローチャート>
図12を参照して、ATC30による工具交換処理のフローについて説明する。図12は、工具交換処理の流れを示すフローチャートである。
<H. Flowchart of tool change process>
The flow of the tool change process by the ATC 30 will be described with reference to FIG. FIG. 12 is a flowchart showing the flow of the tool change process.

図12に示される処理は、ATC制御ユニット300のプロセッサ301(図11参照)が上述の制御プログラム322(図11参照)を実行することにより実現される。他の局面において、処理の一部または全部が、回路素子またはその他のハードウェアによって実行されてもよい。 The process shown in FIG. 12 is realized by the processor 301 (see FIG. 11) of the ATC control unit 300 executing the above-mentioned control program 322 (see FIG. 11). In other aspects, some or all of the processing may be performed by circuit elements or other hardware.

ステップS110において、プロセッサ301は、工具の交換指示をPLC20から受け付けたか否かを判断する。プロセッサ301は、工具の交換指示をPLC20から受け付けたと判断した場合(ステップS110においてYES)、制御をステップS112に切り替える。そうでない場合には(ステップS110においてNO)、プロセッサ301は、制御をステップS120に切り替える。 In step S110, the processor 301 determines whether or not the tool change instruction has been received from the PLC 20. When the processor 301 determines that the tool change instruction has been received from the PLC 20 (YES in step S110), the processor 301 switches the control to step S112. If not (NO in step S110), processor 301 switches control to step S120.

ステップS112において、プロセッサ301は、上述の駆動制御部353(図6参照)として機能し、現動作設定326(図6参照)に基づいて、上述のステップS1〜S7(図3〜図5参照)の駆動工程を実行する。これにより、使用済工具32Aと次使用工具32Bとの交換処理が実現される。 In step S112, the processor 301 functions as the drive control unit 353 (see FIG. 6) described above, and based on the current operation setting 326 (see FIG. 6), steps S1 to S7 (see FIGS. 3 to 5) described above. Perform the driving process of. As a result, the exchange processing between the used tool 32A and the next used tool 32B is realized.

ステップS120において、プロセッサ301は、工作機械100に異常が発生しているか否かを判断する。各種の異常は、たとえば、上述の異常検知部252,352(図6参照)によって検知される。異常監視処理は、たとえば、図12に示される各ステップの処理と並行して行われ、異常が発生した場合には、異常フラグの値が更新される。異常フラグは、異常の種別に規定され、PLC20やATC制御ユニット300によって更新される。プロセッサ301は、当該異常フラグを参照して、工作機械100内に異常が発生しているか否かを判断する。プロセッサ301は、工作機械100に異常が発生していると判断した場合(ステップS120においてYES)、制御をステップS122に切り替える。そうでない場合には(ステップS120においてNO)、プロセッサ301は、制御をステップS132に切り替える。 In step S120, the processor 301 determines whether or not an abnormality has occurred in the machine tool 100. Various abnormalities are detected by, for example, the above-mentioned abnormality detection unit 252,352 (see FIG. 6). The abnormality monitoring process is performed in parallel with the process of each step shown in FIG. 12, for example, and when an abnormality occurs, the value of the abnormality flag is updated. The abnormality flag is defined by the type of abnormality and is updated by the PLC 20 or the ATC control unit 300. The processor 301 refers to the abnormality flag and determines whether or not an abnormality has occurred in the machine tool 100. When the processor 301 determines that an abnormality has occurred in the machine tool 100 (YES in step S120), the processor 301 switches the control to step S122. If not (NO in step S120), processor 301 switches control to step S132.

ステップS122において、プロセッサ301は、上述の駆動制御部353として機能し、上述の状態別動作設定324(図6参照)を参照して、検知された異常に対応付けられているアーム動作設定(すなわち、異常動作設定)を特定する。 In step S122, the processor 301 functions as the drive control unit 353 described above, and with reference to the state-based operation setting 324 (see FIG. 6) described above, the arm operation setting associated with the detected abnormality (that is, that is). , Abnormal operation setting).

ステップS124において、プロセッサ301は、上述の駆動制御部353として機能し、ステップS122で特定したアーム動作設定を現動作設定326(図6参照)に設定する。図12に示されるように、アーム動作設定の変更は、ステップS112における工具の交換処理が開始される前、または、ステップS112における工具の交換処理が完了した後に実行される。すなわち、アーム動作設定は、アーム36が原点位置にあるときのいずれかのタイミングで変更される。 In step S124, the processor 301 functions as the drive control unit 353 described above, and sets the arm operation setting specified in step S122 to the current operation setting 326 (see FIG. 6). As shown in FIG. 12, the change of the arm operation setting is executed before the tool replacement process in step S112 is started or after the tool replacement process in step S112 is completed. That is, the arm operation setting is changed at any timing when the arm 36 is in the origin position.

ステップS132において、プロセッサ301は、上述の駆動制御部353として機能し、上述の状態別動作設定324(図6参照)を参照して、正常状態に対応付けられているアーム動作設定(すなわち、正常動作設定)を特定する。 In step S132, the processor 301 functions as the drive control unit 353 described above, and with reference to the state-specific operation setting 324 (see FIG. 6) described above, the arm operation setting associated with the normal state (that is, normal). Operation settings) are specified.

ステップS134において、プロセッサ301は、上述の駆動制御部353として機能し、ステップS132で特定したアーム動作設定を現動作設定326(図6参照)に設定する。図12に示されるように、アーム動作設定の変更は、ステップS112における工具の交換処理が開始される前、または、ステップS112における工具の交換処理が完了した後に実行される。すなわち、アーム動作設定は、アーム36が原点位置にあるときのいずれかのタイミングで変更される。 In step S134, the processor 301 functions as the drive control unit 353 described above, and sets the arm operation setting specified in step S132 to the current operation setting 326 (see FIG. 6). As shown in FIG. 12, the change of the arm operation setting is executed before the tool replacement process in step S112 is started or after the tool replacement process in step S112 is completed. That is, the arm operation setting is changed at any timing when the arm 36 is in the origin position.

<I.まとめ>
以上のようにして、ATC制御ユニット300は、正常動作設定と異常動作設定とを含む複数のアーム動作設定を保持する。ATC制御ユニット300は、工作機械100に異常が発生した場合には、異常が検知された後の所定のタイミングにおいて、アーム36の駆動工程の全部または一部について、アーム動作設定を正常動作設定から異常動作設定に変更する。そして、ATC制御ユニット300は、アーム動作設定の変更後においては、アーム36の駆動工程の一部または全部において、異常動作設定を維持する。
<I. Summary>
As described above, the ATC control unit 300 holds a plurality of arm operation settings including the normal operation setting and the abnormal operation setting. When an abnormality occurs in the machine tool 100, the ATC control unit 300 sets the arm operation setting from the normal operation setting for all or part of the drive process of the arm 36 at a predetermined timing after the abnormality is detected. Change to abnormal operation settings. Then, the ATC control unit 300 maintains the abnormal operation setting in a part or all of the driving process of the arm 36 after the change of the arm operation setting.

これにより、ATC制御ユニット300は、工作機械100の異常発生時において、正常動作設定よりも安全な異常動作設定でアーム36を駆動し続けることができる。アーム36を駆動し続けると、工具の引っかかりが解消することがある。また、ATC制御ユニット300は、ATC30を停止させないので、生産ラインを停止させずに済む。結果として、ATC制御ユニット300は、安全性と生産性とを両立することができる。 As a result, the ATC control unit 300 can continue to drive the arm 36 with an abnormal operation setting that is safer than the normal operation setting when an abnormality occurs in the machine tool 100. If the arm 36 is continuously driven, the tool may not be caught. Further, since the ATC control unit 300 does not stop the ATC 30, it is not necessary to stop the production line. As a result, the ATC control unit 300 can achieve both safety and productivity.

今回開示された実施の形態は全ての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内での全ての変更が含まれることが意図される。 It should be considered that the embodiments disclosed this time are exemplary in all respects and not restrictive. The scope of the present invention is shown by the scope of claims rather than the above description, and it is intended to include all modifications within the meaning and scope equivalent to the scope of claims.

20 PLC、21 主軸頭、22 主軸、23 ハウジング、25,52,54 ボールねじ、30 ATC、31 マガジン、32 工具、32A 使用済工具、32B 次使用工具、33 押出し機構、34 工具保持部、35 スプロケット、36 アーム、36A 第1把持部、36B 第2把持部、40 センシング部、41 リモートI/Oユニット、42 各種センサ、50 移動機構、51,53 ガイド、55 テーブル、100 工作機械、110 圧力センサ、252,352 異常検知部、300 ATC制御ユニット、301 プロセッサ、302 ROM、303 RAM、304,305 通信インターフェイス、320 記憶装置、322 制御プログラム、324 状態別動作設定、326 現動作設定、350 2軸アンプ、353 駆動制御部、354 動作設定部、356 指令出力部、360A,360B サーボモータ。 20 PLC, 21 Spindle head, 22 Spindle, 23 Housing, 25, 52, 54 Ball screw, 30 ATC, 31 Magazine, 32 Tools, 32A Used tools, 32B Next-use tools, 33 Extrusion mechanism, 34 Tool holder, 35 Sprocket, 36 arm, 36A 1st grip, 36B 2nd grip, 40 sensing, 41 remote I / O unit, 42 various sensors, 50 moving mechanism, 51, 53 guide, 55 table, 100 machine tool, 110 pressure Sensor, 252,352 Abnormality detector, 300 ATC control unit, 301 processor, 302 ROM, 303 RAM, 304, 305 communication interface, 320 storage device, 322 control program, 324 status-specific operation setting, 326 current operation setting, 350 2 Axis amplifier, 353 drive control unit, 354 operation setting unit, 356 command output unit, 360A, 360B servo motor.

Claims (9)

工作機械であって、
複数の工具を保持するためのマガジンと、
前記複数の工具の内の一の工具が装着され得る主軸と、
前記主軸に装着されている第1の工具と、前記複数の工具から選択された第2の工具とを交換するための工具交換機構とを備え、前記工具交換機構は、前記第1の工具および前記第2の工具の交換時に当該第1の工具および当該第2の工具を把持するためのアームを含み、さらに、
前記工作機械に発生する異常を検知するための異常検知部と、
前記アームに係る所定の動作設定に従って、前記第1の工具および前記第2の工具の交換処理を実行するための駆動制御部とを備え、
前記交換処理は、
予め定められた位置で待機している前記アームを駆動し、前記第1の工具および前記第2の工具を交換する処理と、
前記第1の工具および前記第2の工具の交換が完了したことに基づいて、前記予め定められた位置に前記アームを戻す処理と、
前記異常検知部によって異常が検知された後の所定のタイミングにおいて、前記動作設定を現在の第1の設定から異常動作時用の第2の設定に変更し、当該変更後における、前記アームの駆動工程の一部または全部において、前記動作設定を前記第2の設定に維持する処理とを含む、工作機械。
It ’s a machine tool,
A magazine for holding multiple tools and
A spindle on which one of the plurality of tools can be mounted,
A tool changing mechanism for exchanging a first tool mounted on the spindle and a second tool selected from the plurality of tools is provided, and the tool changing mechanism includes the first tool and the tool. Includes an arm for gripping the first tool and the second tool when replacing the second tool, and further
An abnormality detection unit for detecting an abnormality that occurs in the machine tool,
A drive control unit for executing a replacement process of the first tool and the second tool according to a predetermined operation setting related to the arm is provided.
The exchange process
A process of driving the arm waiting at a predetermined position to replace the first tool and the second tool, and
A process of returning the arm to the predetermined position based on the completion of replacement of the first tool and the second tool, and
At a predetermined timing after the abnormality is detected by the abnormality detection unit, the operation setting is changed from the current first setting to the second setting for abnormal operation, and the arm is driven after the change. A machine tool that includes, in part or all of the steps, a process of maintaining the operation setting at the second setting.
前記所定のタイミングは、前記アームが前記予め定められた位置にあるときのいずれかのタイミングであり、
前記駆動制御部は、前記所定のタイミングにおいて前記動作設定を前記第1の設定から前記第2の設定に変更した後には、前記アームの駆動工程の全部において、前記動作設定を前記第2の設定に維持する、請求項1に記載の工作機械。
The predetermined timing is any timing when the arm is in the predetermined position.
After changing the operation setting from the first setting to the second setting at the predetermined timing, the drive control unit sets the operation setting to the second setting in all the driving steps of the arm. The machine tool according to claim 1, which is maintained in.
前記駆動制御部は、前記アームの一の駆動工程において前記異常検知部によって異常が検知された場合には、当該異常の検知後における前記一の駆動工程において前記動作設定を前記第2の設定に維持し、前記一の駆動工程とは異なる他の駆動工程において前記動作設定を前記第1の設定に維持する、請求項1に記載の工作機械。 When an abnormality is detected by the abnormality detecting unit in one driving process of the arm, the drive control unit sets the operation setting to the second setting in the one driving process after the detection of the abnormality. The machine tool according to claim 1, wherein the machine tool is maintained and the operation setting is maintained at the first setting in another driving process different from the one driving process. 前記第2の設定による前記アームの移動速度は、前記第1の設定による前記アームの移動速度よりも遅い、請求項1〜3のいずれか1項に記載の工作機械。 The machine tool according to any one of claims 1 to 3, wherein the moving speed of the arm according to the second setting is slower than the moving speed of the arm according to the first setting. 前記第2の設定による前記アームの軌道は、前記第1の設定による前記アームの軌道とは異なる、請求項1〜4のいずれか1項に記載の工作機械。 The machine tool according to any one of claims 1 to 4, wherein the trajectory of the arm according to the second setting is different from the trajectory of the arm according to the first setting. 前記異常検知部は、前記アームの現在位置と、前記アームの移動先である目標位置との差が所定値以上になったことに基づいて、前記異常を検知する、請求項1〜5のいずれか1項に記載の工作機械。 Any of claims 1 to 5, wherein the abnormality detection unit detects the abnormality based on the difference between the current position of the arm and the target position to which the arm is moved becomes a predetermined value or more. The machine tool described in item 1. 前記異常検知部は、前記工作機械に発生する複数種類の異常を検知可能に構成されており、
前記交換処理は、さらに、前記工作機械に発生し得る異常の種類に対応付けられている予め定められた複数種類の動作設定の中から、前記異常検知部によって検知された異常の種類に対応する動作設定を特定し、当該特定した動作設定を前記第2の設定として決定する処理を含む、請求項1〜6のいずれか1項に記載の工作機械。
The abnormality detection unit is configured to be capable of detecting a plurality of types of abnormalities that occur in the machine tool.
The replacement process further corresponds to the type of abnormality detected by the abnormality detection unit from among a plurality of predetermined operation settings associated with the types of abnormality that can occur in the machine tool. The machine tool according to any one of claims 1 to 6, which includes a process of specifying an operation setting and determining the specified operation setting as the second setting.
工作機械の制御方法であって、
前記工作機械は、
複数の工具を保持するためのマガジンと、
前記複数の工具の内の一の工具が装着され得る主軸と、
前記主軸に装着されている第1の工具と、前記複数の工具から選択された第2の工具とを交換するための工具交換機構とを備え、前記工具交換機構は、前記第1の工具および前記第2の工具の交換時に当該第1の工具および当該第2の工具を把持するためのアームを含み、
前記制御方法は、
前記工作機械に発生する異常を検知するステップと、
前記アームに係る所定の動作設定に従って、前記第1の工具および前記第2の工具の交換処理を実行するステップを備え、
前記交換処理は、
予め定められた位置で待機している前記アームを駆動し、前記第1の工具および前記第2の工具を交換するステップと、
前記第1の工具および前記第2の工具の交換が完了したことに基づいて、前記予め定められた位置に前記アームを戻すステップと、
前記検知するステップで前記異常が検知された後の所定のタイミングにおいて、前記動作設定を現在の第1の設定から異常動作時用の第2の設定に変更し、前記動作設定の変更後における前記アームの駆動工程の一部または全部において前記第2の設定を維持するステップとを含む、制御方法。
It is a control method for machine tools.
The machine tool
A magazine for holding multiple tools and
A spindle on which one of the plurality of tools can be mounted,
A tool changing mechanism for exchanging a first tool mounted on the spindle and a second tool selected from the plurality of tools is provided, and the tool changing mechanism includes the first tool and the tool. Includes an arm for gripping the first tool and the second tool when replacing the second tool.
The control method is
The step of detecting an abnormality occurring in the machine tool and
A step of executing the replacement process of the first tool and the second tool according to a predetermined operation setting related to the arm is provided.
The exchange process
A step of driving the arm waiting at a predetermined position to replace the first tool and the second tool, and
A step of returning the arm to the predetermined position based on the completion of replacement of the first tool and the second tool, and
At a predetermined timing after the abnormality is detected in the detection step, the operation setting is changed from the current first setting to the second setting for abnormal operation, and the operation setting is changed. A control method including a step of maintaining the second setting in a part or all of the arm driving process.
工作機械の制御プログラムであって、
前記工作機械は、
複数の工具を保持するためのマガジンと、
前記複数の工具の内の一の工具が装着され得る主軸と、
前記主軸に装着されている第1の工具と、前記複数の工具から選択された第2の工具とを交換するための工具交換機構とを備え、前記工具交換機構は、前記第1の工具および前記第2の工具の交換時に当該第1の工具および当該第2の工具を把持するためのアームを含み、
前記制御プログラムは、前記工作機械に、
前記工作機械に発生する異常を検知するステップと、
前記アームに係る所定の動作設定に従って、前記第1の工具および前記第2の工具の交換処理を実行するステップとを実行させ、
前記交換処理は、
予め定められた位置で待機している前記アームを駆動し、前記第1の工具および前記第2の工具を交換するステップと、
前記第1の工具および前記第2の工具の交換が完了したことに基づいて、前記予め定められた位置に前記アームを戻すステップと、
前記検知するステップで前記異常が検知された後の所定のタイミングにおいて、前記動作設定を現在の第1の設定から異常動作時用の第2の設定に変更し、前記動作設定の変更後における前記アームの駆動工程の一部または全部において前記第2の設定を維持するステップとを含む、制御プログラム。
A machine tool control program
The machine tool
A magazine for holding multiple tools and
A spindle on which one of the plurality of tools can be mounted,
A tool changing mechanism for exchanging a first tool mounted on the spindle and a second tool selected from the plurality of tools is provided, and the tool changing mechanism includes the first tool and the tool. Includes an arm for gripping the first tool and the second tool when replacing the second tool.
The control program is applied to the machine tool.
The step of detecting an abnormality occurring in the machine tool and
According to a predetermined operation setting related to the arm, the step of executing the replacement process of the first tool and the second tool is executed.
The exchange process
A step of driving the arm waiting at a predetermined position to replace the first tool and the second tool, and
A step of returning the arm to the predetermined position based on the completion of replacement of the first tool and the second tool, and
At a predetermined timing after the abnormality is detected in the detection step, the operation setting is changed from the current first setting to the second setting for abnormal operation, and the operation setting is changed. A control program including a step of maintaining the second setting in a part or all of the arm driving process.
JP2019079977A 2019-04-19 2019-04-19 Machine tool, machine tool control method and machine tool control program Pending JP2020175481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019079977A JP2020175481A (en) 2019-04-19 2019-04-19 Machine tool, machine tool control method and machine tool control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019079977A JP2020175481A (en) 2019-04-19 2019-04-19 Machine tool, machine tool control method and machine tool control program

Publications (1)

Publication Number Publication Date
JP2020175481A true JP2020175481A (en) 2020-10-29

Family

ID=72935694

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019079977A Pending JP2020175481A (en) 2019-04-19 2019-04-19 Machine tool, machine tool control method and machine tool control program

Country Status (1)

Country Link
JP (1) JP2020175481A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0335952A (en) * 1989-07-04 1991-02-15 Toyoda Mach Works Ltd Tool attaching device
JPH05169347A (en) * 1991-12-20 1993-07-09 Honda Motor Co Ltd Tool setting trouble procedure of numerical control system
JP2009039792A (en) * 2007-08-06 2009-02-26 Toshiba Mach Co Ltd Machine tool with automatic tool changer, and tool detaching method
JP2018027587A (en) * 2016-08-17 2018-02-22 Dmg森精機株式会社 Tool exchange device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0335952A (en) * 1989-07-04 1991-02-15 Toyoda Mach Works Ltd Tool attaching device
JPH05169347A (en) * 1991-12-20 1993-07-09 Honda Motor Co Ltd Tool setting trouble procedure of numerical control system
JP2009039792A (en) * 2007-08-06 2009-02-26 Toshiba Mach Co Ltd Machine tool with automatic tool changer, and tool detaching method
JP2018027587A (en) * 2016-08-17 2018-02-22 Dmg森精機株式会社 Tool exchange device

Similar Documents

Publication Publication Date Title
US9910426B2 (en) Device and method of controlling machine tool, to control synchronized operation of spindle axis and feed axis
US10081085B2 (en) Tool changer
JP6209392B2 (en) Interference confirmation device
JP3990441B1 (en) Automatic tool changing method and automatic tool changing device for machine tool with numerical control device
JP5037372B2 (en) Numerical control device with function to stop machine tool by earthquake information
US20220244701A1 (en) Control Device for Use on a Numerically Controlled Machine Tool, and Machine Tool Comprising a Control Device
US9753452B2 (en) Device and method of controlling machine tool, to control synchronized operation of spindle axis and feed axis
JP2017204038A (en) Collision detection device of machine tool having abutment release device
JPH10143216A (en) Collision detector for movable unit
JP2020175481A (en) Machine tool, machine tool control method and machine tool control program
JP4947534B2 (en) Machine tool and method of operating machine tool
US6785584B2 (en) Loader control device
JP2007286688A (en) Interference detection method and control device for machine tool
JP5965044B1 (en) Tool changer
JP7343365B2 (en) Turret optimization system
JP2009282625A (en) Machine tool, and control method of machine tool
US20230033414A1 (en) Numerical controller
JP4233559B2 (en) Numerically controlled machine tool
JP7101128B2 (en) Machine tools and control methods
JP6759159B2 (en) Interference detector
JP2020082276A (en) lathe
KR101686317B1 (en) Automatic tool changer
US20230280707A1 (en) Numerical controller, manufacturing machine, and method of controlling manufacturing machine
JP2965418B2 (en) Tool changer
JP6579708B2 (en) Tool changer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211019

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220817

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220823

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230110

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20230303

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20230627