JP6387653B2 - Numerical controller - Google Patents
Numerical controller Download PDFInfo
- Publication number
- JP6387653B2 JP6387653B2 JP2014073474A JP2014073474A JP6387653B2 JP 6387653 B2 JP6387653 B2 JP 6387653B2 JP 2014073474 A JP2014073474 A JP 2014073474A JP 2014073474 A JP2014073474 A JP 2014073474A JP 6387653 B2 JP6387653 B2 JP 6387653B2
- Authority
- JP
- Japan
- Prior art keywords
- abnormality
- stop
- time
- unit
- machining program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Description
本発明は、工作機械を加工プログラムに基づいて制御する数値制御装置に関する。 The present invention relates to a numerical control device that controls a machine tool based on a machining program.
従来、工作機械に異常が発生した場合に、工作機械の管理者に対して、後述するアラーム情報が通知されることがある(特許文献1参照)。
特許文献1に記載されているアラーム通知システムは、工作機械に発生した異常の重要度を判定する。
Conventionally, when an abnormality occurs in a machine tool, alarm information to be described later may be notified to a manager of the machine tool (see Patent Document 1).
The alarm notification system described in
重要度が高い異常である場合、アラーム通知システムは、管理者にアラーム情報を通知する。アラーム情報には、異常発生時刻、及び異常の種類を示す識別番号等が含まれている。管理者は、通知されたアラーム情報に基づいて、工作機械のオペレータに異常の解消を指示する。このとき、異常を解消するために必要であれば、オペレータは工作機械を手動で停止させる。 When the abnormality is of high importance, the alarm notification system notifies the administrator of alarm information. The alarm information includes an abnormality occurrence time, an identification number indicating the type of abnormality, and the like. The administrator instructs the operator of the machine tool to solve the abnormality based on the notified alarm information. At this time, if necessary to resolve the abnormality, the operator manually stops the machine tool.
重要度が低い異常である場合、アラーム通知システムは、アラーム情報を通知しない。故に、工作機械はワークに対する加工を続行する。
ただし、異常発生から所定時間が経過しても異常が解消されていないとき、アラーム通知システムは、重要度が低い異常を重要度が高い異常と同様に扱う。この結果、管理者にアラーム情報が通知される。
When the abnormality is low in importance, the alarm notification system does not notify the alarm information. Therefore, the machine tool continues to process the workpiece.
However, when the abnormality has not been resolved even after a predetermined time has elapsed since the occurrence of the abnormality, the alarm notification system treats the abnormality having the low importance in the same manner as the abnormality having the high importance. As a result, alarm information is notified to the administrator.
工作機械による加工は、ワーク加工用のコンピュータプログラム(以下、加工プログラムという)に従って制御される。
従来、工作機械又は工作機械の周辺機器等に異常が発生している場合に、加工プログラムの実行終了を待ってから、工作機械の動作を自動的に停止させる数値制御装置が用いられている。
Machining by a machine tool is controlled in accordance with a computer program for machining a workpiece (hereinafter referred to as a machining program).
2. Description of the Related Art Conventionally, a numerical control device that automatically stops the operation of a machine tool after waiting for the end of execution of a machining program when an abnormality has occurred in a machine tool or a peripheral device of the machine tool has been used.
近年、加工プログラムは長くなる傾向にある。このため、異常が発生している場合に、実行中の加工プログラムの実行終了まで待っていると、異常の悪化、又は異常の解消までに要する時間の長期化等を招く虞がある。
このような問題を解決するために特許文献1を参照した場合、異常が発生してから所定時間が経過したときには、加工プログラムの実行終了を待たずに工作機械の動作を自動的に停止させるような数値制御装置が考えられる。
In recent years, machining programs tend to be long. For this reason, when an abnormality has occurred, waiting for the end of execution of the machining program being executed may cause the deterioration of the abnormality or the prolongation of the time required to eliminate the abnormality.
When
しかしながら、特許文献1に記載のアラーム通知システムにおいて、重要度を上昇させるための条件は1つだけである。
一律に所定時間が経過したときに工作機械の動作が自動的に停止する構成の場合、異常の種類、又は加工の種類等によっては、工作機械の動作を適切なタイミングで停止させることができない虞がある。何故ならば、所定時間が経過する前に異常が悪化してしまう場合と、所定時間が経過した後でもワークに対する加工の続行が可能な場合とがあるからである。
However, in the alarm notification system described in
In the case of a configuration in which the operation of the machine tool automatically stops when a predetermined time has elapsed uniformly, there is a possibility that the operation of the machine tool cannot be stopped at an appropriate timing depending on the type of abnormality or type of machining There is. This is because there are cases where the anomaly deteriorates before the predetermined time elapses, and there are cases where the machining of the workpiece can be continued even after the predetermined time elapses.
本発明は斯かる事情に鑑みてなされたものであり、その主たる目的は、異常が発生している場合に、工作機械の動作を適切なタイミングで自動的に停止させることができる数値制御装置を提供することにある。 The present invention has been made in view of such circumstances, and its main object is to provide a numerical control device that can automatically stop the operation of a machine tool at an appropriate timing when an abnormality has occurred. It is to provide.
本発明に係る数値制御装置は、ワークを加工する工作機械の動作を、ワーク加工用の加工プログラムに基づいて制御する制御部を備え、該制御部は、所定の異常が発生している場合、所定のタイミングで前記加工プログラムの実行を終了して前記工作機械の動作を停止させる第1停止手段を有する数値制御装置において、前記制御部は、前記異常が発生している場合、前記所定のタイミングに至る前に前記工作機械の動作を停止させるか否かを判定する複数種類の停止判定手段と、少なくとも一の停止判定手段が停止させると判定したときに、前記加工プログラムの実行を終了して前記工作機械の動作を停止させる第2停止手段と、異常発生からの経過時間を計時する異常計時手段とを有し、該異常計時手段は、前記ワークに対する加工中は前記経過時間の計時を継続し、前記ワークに対する非加工中は前記経過時間の計時を中断するようにしてあり、一の停止判定手段は、前記異常計時手段の計時結果が、前記経過時間の閾値以上である場合に、停止させると判定するようにしてあることを特徴とする。 The numerical control device according to the present invention includes a control unit that controls the operation of a machine tool that processes a workpiece based on a machining program for workpiece machining, and the control unit has a predetermined abnormality, In the numerical control apparatus having first stop means for stopping the operation of the machine tool by terminating the execution of the machining program at a predetermined timing, the control unit performs the predetermined timing when the abnormality occurs. When the plurality of types of stop determination means for determining whether or not to stop the operation of the machine tool and at least one stop determination means are determined to stop before ending the execution of the machining program, and second stop means for stopping the operation of the machine tool, possess an abnormality counting means for counting an elapsed time from the occurrence of abnormality, the abnormal time measuring means, during processing with respect to the workpiece The elapsed time is continuously measured, and the elapsed time is stopped during non-machining of the workpiece, and one stop determination means is configured such that the time measurement result of the abnormal time measurement means is a threshold value of the elapsed time. If it is above, and wherein Citea Rukoto to determine that stops.
本発明に係る数値制御装置は、前記制御部は、発生した異常の種類に応じて、前記閾値を設定する設定手段を更に有することを特徴とする。 The numerical control device according to the present invention is characterized in that the control unit further includes setting means for setting the threshold according to the type of abnormality that has occurred.
本発明に係る数値制御装置は、表示部を更に備え、前記制御部は、前記閾値から前記異常計時手段の計時結果を減算することによって、前記第2停止手段による前記工作機械の動作の停止までに要する停止時間を演算する停止演算手段と、該停止演算手段の演算結果を前記表示部に表示させる停止表示手段とを更に有することを特徴とする。 The numerical control device according to the present invention further includes a display unit, and the control unit subtracts the time measurement result of the abnormal time measuring unit from the threshold value until the second stop unit stops the operation of the machine tool. It further has stop calculation means for calculating a stop time required for the stop calculation means, and stop display means for displaying the calculation result of the stop calculation means on the display unit.
本発明に係る数値制御装置は、前記所定のタイミングとは、実行中の加工プログラムが実行終了したときであり、前記制御部は、少なくとも前記異常が発生している場合に、実行中の加工プログラムのサイズを検出するサイズ検出手段を更に有し、一の停止判定手段は、前記サイズ検出手段の検出結果が所定サイズ以上である場合に、停止させると判定するようにしてあることを特徴とする。
本発明に係る数値制御装置は、ワークを加工する工作機械の動作を、ワーク加工用の加工プログラムに基づいて制御する制御部を備え、該制御部は、所定の異常が発生している場合、所定のタイミングで前記加工プログラムの実行を終了して前記工作機械の動作を停止させる第1停止手段を有する数値制御装置において、前記所定のタイミングとは、実行中の加工プログラムが実行終了したときであり、前記制御部は、前記異常が発生している場合、前記所定のタイミングに至る前に前記工作機械の動作を停止させるか否かを判定する複数種類の停止判定手段と、少なくとも一の停止判定手段が停止させると判定したときに、前記加工プログラムの実行を終了して前記工作機械の動作を停止させる第2停止手段と、少なくとも前記異常が発生している場合に、実行中の加工プログラムのサイズを検出するサイズ検出手段とを有し、一の停止判定手段は、前記サイズ検出手段の検出結果が所定サイズ以上である場合に、停止させると判定するようにしてあることを特徴とする。
In the numerical control device according to the present invention, the predetermined timing is when execution of a running machining program ends, and the control unit is executing a machining program at least when the abnormality occurs. Size detection means for detecting the size of the image, wherein one stop determination means determines that the stop is made when the detection result of the size detection means is equal to or larger than a predetermined size. .
The numerical control device according to the present invention includes a control unit that controls the operation of a machine tool that processes a workpiece based on a machining program for workpiece machining, and the control unit has a predetermined abnormality, In the numerical control apparatus having first stop means for stopping the operation of the machine tool by terminating execution of the machining program at a predetermined timing, the predetermined timing is when execution of the machining program being executed is completed. And when the abnormality occurs, the control unit includes at least one stop and a plurality of types of stop determination means for determining whether or not to stop the operation of the machine tool before reaching the predetermined timing. When the determination means determines to stop, the second stop means stops the operation of the machine tool by terminating execution of the machining program, and at least the abnormality occurs A size detecting unit that detects a size of the machining program being executed, and one stop determining unit determines to stop when the detection result of the size detecting unit is equal to or larger than a predetermined size. It is made to do so.
本発明に係る数値制御装置は、前記加工プログラムと、該加工プログラムの実行開始から終了までに要する終了時間とを関連付けて記憶する記憶部を更に有し、前記制御部は、前記加工プログラムの実行を開始してからの経過時間を計時する経過計時手段と、少なくとも前記異常が発生している場合に、実行中の加工プログラムに関連付けられている終了時間を前記記憶部から読み出す読出手段と、該読出手段が読み出した終了時間から前記経過計時手段の計時結果を減算することによって、前記加工プログラムの実行を終了するまでに要する時間を演算する時間演算手段とを更に有し、一の停止判定手段は、前記時間演算手段の演算結果が所定閾値以上である場合に、停止させると判定するようにしてあることを特徴とする。
本発明に係る数値制御装置は、ワークを加工する工作機械の動作を、ワーク加工用の加工プログラムに基づいて制御する制御部を備え、該制御部は、所定の異常が発生している場合、所定のタイミングで前記加工プログラムの実行を終了して前記工作機械の動作を停止させる第1停止手段を有する数値制御装置において、前記加工プログラムと、該加工プログラムの実行開始から終了までに要する終了時間とを関連付けて記憶する記憶部を備え、前記制御部は、前記異常が発生している場合、前記所定のタイミングに至る前に前記工作機械の動作を停止させるか否かを判定する複数種類の停止判定手段と、少なくとも一の停止判定手段が停止させると判定したときに、前記加工プログラムの実行を終了して前記工作機械の動作を停止させる第2停止手段と、前記加工プログラムの実行を開始してからの経過時間を計時する経過計時手段と、少なくとも前記異常が発生している場合に、実行中の加工プログラムに関連付けられている終了時間を前記記憶部から読み出す読出手段と、該読出手段が読み出した終了時間から前記経過計時手段の計時結果を減算することによって、前記加工プログラムの実行を終了するまでに要する時間を演算する時間演算手段とを有し、一の停止判定手段は、前記時間演算手段の演算結果が所定閾値以上である場合に、停止させると判定するようにしてあることを特徴とする。
The numerical control device according to the present invention further includes a storage unit that associates and stores the machining program and an end time required from the start to the end of execution of the machining program, and the control unit executes the machining program. A time measuring means for measuring an elapsed time from the start of reading, a reading means for reading out an end time associated with a machining program being executed from the storage unit when at least the abnormality occurs, One stop determination means, further comprising: a time calculation means for calculating a time required to end the execution of the machining program by subtracting a time measurement result of the elapsed time measurement means from an end time read by the reading means. Is characterized in that it is determined to stop when the calculation result of the time calculation means is equal to or greater than a predetermined threshold value.
The numerical control device according to the present invention includes a control unit that controls the operation of a machine tool that processes a workpiece based on a machining program for workpiece machining, and the control unit has a predetermined abnormality, In a numerical control apparatus having first stop means for stopping execution of the machine tool by stopping execution of the machining program at a predetermined timing, the machining program and an end time required from the start to the end of execution of the machining program Are stored in association with each other, and when the abnormality occurs, the control unit determines whether or not to stop the operation of the machine tool before reaching the predetermined timing. When it is determined that the stop determination means and at least one stop determination means are to be stopped, the execution of the machining program is terminated and the operation of the machine tool is stopped. A stop means, an elapsed time measuring means for measuring an elapsed time from the start of execution of the machining program, and an end time associated with a running machining program at least when the abnormality has occurred, Reading means for reading from the storage unit, and time calculating means for calculating the time required to finish execution of the machining program by subtracting the time measurement result of the elapsed time measuring means from the end time read by the reading means. And the one stop determination means is characterized in that it is determined to stop when the calculation result of the time calculation means is a predetermined threshold value or more.
本発明に係る数値制御装置は、表示部を更に備え、前記制御部は、前記時間演算手段の演算結果を前記表示部に表示させる終了表示手段を更に有することを特徴とする。 The numerical control device according to the present invention further includes a display unit, and the control unit further includes an end display unit for displaying the calculation result of the time calculation unit on the display unit.
本発明にあっては、所定の異常が発生している場合、制御部は、所定のタイミングまで待ってから工作機械の動作を停止させる(第1停止手段)か、又は所定のタイミングまで待つことなく工作機械の動作を停止させる(第2停止手段)。第1停止手段と第2停止手段とは、停止判定手段の判定結果に応じて使い分けられる。 In the present invention, when a predetermined abnormality has occurred, the control unit waits until a predetermined timing and then stops the operation of the machine tool (first stop means) or waits until a predetermined timing. Without stopping the operation of the machine tool (second stopping means). The first stop means and the second stop means are properly used according to the determination result of the stop determination means.
制御部は、複数種類の停止判定手段を有する。換言すれば、所定のタイミングに至る前に工作機械の動作を停止させるための条件(以下、停止条件という)が、複数種類存在する。然して、停止条件が成立していないときには、所定のタイミングで工作機械の動作が自動的に停止し、少なくとも1種類の停止条件が成立したときには、所定のタイミングに至らずとも工作機械の動作が自動的に停止する。
従って、例えば1種類の所定の異常に関して複数種類の停止条件を適用することが可能である。或いは、複数種類の所定の異常に関して、異常の種類毎に停止条件を使い分けることが可能である。
The control unit has a plurality of types of stop determination means. In other words, there are multiple types of conditions (hereinafter referred to as stop conditions) for stopping the operation of the machine tool before reaching a predetermined timing. However, when the stop condition is not satisfied, the operation of the machine tool is automatically stopped at a predetermined timing. When at least one kind of stop condition is satisfied, the operation of the machine tool is automatically performed even if the predetermined timing is not reached. Stop.
Therefore, for example, it is possible to apply a plurality of types of stop conditions for one type of predetermined abnormality. Alternatively, with respect to a plurality of types of predetermined abnormalities, it is possible to use different stop conditions for each type of abnormality.
本発明にあっては、異常発生からの経過時間が閾値以上である場合、制御部は、所定のタイミングまで待つことなく工作機械の動作を停止させる。
ただし、このとき計時される経過時間は、ワークに対する加工が行なわれている時間を積算したものであり、ワークに対する加工が行なわれていない時間(例えば、ワークを移動させている時間)は含まれていない。何故ならば、異常の種類によっては、ワークに対する加工が行なわれていない間は異常が悪化しないからである。この結果、工作機械の動作が停止するタイミングを適切に計ることができる。
In the present invention, when the elapsed time from the occurrence of an abnormality is equal to or greater than the threshold, the control unit stops the operation of the machine tool without waiting for a predetermined timing.
However, the elapsed time measured at this time is the sum of the time during which the workpiece is processed, and includes the time during which the workpiece is not processed (for example, the time during which the workpiece is moved). Not. This is because, depending on the type of abnormality, the abnormality does not worsen while the workpiece is not processed. As a result, it is possible to appropriately measure the timing at which the operation of the machine tool stops.
本発明にあっては、異常発生からの経過時間が閾値以上である場合、制御部は、所定のタイミングまで待つことなく工作機械の動作を停止させる。
ただし、このとき用いられる閾値は、発生した異常の種類に応じて設定手段が設定したものである。設定手段には、例えば作業者によって、異常の種類に関連付けられた適宜の閾値が予め与えられている。この結果、工作機械の動作が停止するタイミングを適切に計ることができる。
In the present invention, when the elapsed time from the occurrence of an abnormality is equal to or greater than the threshold, the control unit stops the operation of the machine tool without waiting for a predetermined timing.
However, the threshold used at this time is set by the setting means in accordance with the type of abnormality that has occurred. For example, an appropriate threshold value associated with the type of abnormality is given to the setting means in advance by an operator. As a result, it is possible to appropriately measure the timing at which the operation of the machine tool stops.
本発明にあっては、停止時間が表示される。停止時間は、異常発生からの経過時間が閾値に達するまでに要する時間である。これは、停止条件が成立して工作機械の動作が停止する場合に、工作機械の動作が実際に停止するまでに要する時間の目安である。
作業者は、表示された停止時間を視認することによって、工作機械の動作が実際に停止するまでに要する時間の目安を知ることができる。即ち、作業者の利便性が向上する。
In the present invention, the stop time is displayed. The stop time is the time required for the elapsed time from occurrence of an abnormality to reach a threshold value. This is a measure of the time required for the operation of the machine tool to actually stop when the stop condition is satisfied and the operation of the machine tool stops.
The operator can know the approximate time required for the operation of the machine tool to actually stop by visually recognizing the displayed stop time. That is, the convenience for the operator is improved.
本発明にあっては、実行中の加工プログラムのサイズが所定サイズ以上である場合、制御部は、所定のタイミング(具体的には、加工プログラムの実行終了)まで待つことなく工作機械の動作を停止させる。何故ならば、実行中の加工プログラムのサイズが所定サイズ以上である場合には、加工プログラムの実行終了までに長時間を要すると考えられるからである。
実行中の加工プログラムのサイズが所定サイズ以上であるか否かの判定は、異常の発生から間を置かずに行なうことができる。従って、例えば作業者は、異常の発生から所定時間が経過するまで待つことなく異常の解消に取りかかることができる。
In the present invention, when the size of the machining program being executed is equal to or larger than the predetermined size, the control unit allows the operation of the machine tool without waiting until a predetermined timing (specifically, completion of execution of the machining program). Stop. This is because, if the size of the machining program being executed is equal to or larger than a predetermined size, it is considered that it takes a long time to complete the execution of the machining program.
The determination as to whether or not the size of the machining program being executed is greater than or equal to a predetermined size can be made without delay from the occurrence of an abnormality. Therefore, for example, the operator can start to solve the abnormality without waiting for a predetermined time after the occurrence of the abnormality.
本発明にあっては、加工プログラムの実行終了までに要する時間(以下、加工時間という)を演算し、演算結果が所定閾値以上である場合、制御部は、所定のタイミング(具体的には、加工プログラムの実行終了)まで待つことなく工作機械の動作を停止させる。何故ならば、加工時間が所定閾値以上である場合には、加工プログラムの実行終了までに長時間を要すると考えられるからである。
加工時間は、記憶部に記憶してある終了時間から、加工プログラムの実行を開始してからの経過時間を減算することによって求められたものである。ここで、記憶部に記憶してある終了時間は、加工プログラムの実行を開始してから終了するまでに要する時間の実測値又は推定値等である。
In the present invention, when the time required to complete the execution of the machining program (hereinafter referred to as machining time) is calculated, and the calculation result is equal to or greater than a predetermined threshold, the control unit has a predetermined timing (specifically, The machine tool operation is stopped without waiting for the machining program to finish). This is because, if the machining time is equal to or greater than a predetermined threshold, it is considered that a long time is required until the machining program is completed.
The machining time is obtained by subtracting the elapsed time from the start of the machining program from the end time stored in the storage unit. Here, the end time stored in the storage unit is an actual measurement value or an estimated value of the time required from the start of execution of the machining program to the end thereof.
加工時間が所定閾値以上であるか否かの判定は、異常の発生から間を置かずに行なうことができる。従って、例えば作業者は、異常の発生から所定時間が経過するまで待つことなく異常の解消に取りかかることができる。 The determination as to whether or not the machining time is equal to or greater than a predetermined threshold can be made without any delay from the occurrence of an abnormality. Therefore, for example, the operator can start to solve the abnormality without waiting for a predetermined time after the occurrence of the abnormality.
本発明にあっては、加工時間が表示される。加工時間は、加工プログラムの実行開始からの経過時間が、記憶部に記憶してある終了時間に達するまでに要する時間である。これは、加工プログラムの実行終了までに要する実時間の目安である。
作業者は、表示された加工時間を視認することによって、加工プログラムの実行終了までに要する実時間の目安を知ることができる。即ち、作業者の利便性が向上する。
In the present invention, the processing time is displayed. The machining time is the time required for the elapsed time from the start of execution of the machining program to reach the end time stored in the storage unit. This is a measure of the actual time required to complete the machining program.
The operator can know the standard of the actual time required until the end of execution of the machining program by visually checking the displayed machining time. That is, the convenience for the operator is improved.
本発明の数値制御装置による場合、停止判定手段が複数種類存在し、停止判定手段の判定結果に応じて、第1停止手段と第2停止手段とが適宜に使い分けられる。このため、異常の種類、又は加工の種類等によらず、異常が発生している場合に工作機械の動作を適切なタイミングで自動的に停止させることができる。従って、異常の悪化、無駄な加工続行、無用な加工中止、及び異常の解消までに要する時間の長期化等を抑制することができる。 In the numerical control device according to the present invention, there are a plurality of types of stop determination means, and the first stop means and the second stop means are properly used according to the determination result of the stop determination means. Therefore, the operation of the machine tool can be automatically stopped at an appropriate timing when an abnormality has occurred regardless of the type of abnormality or the type of machining. Accordingly, it is possible to suppress the deterioration of the abnormality, the unnecessary processing continuation, the unnecessary processing stop, the prolongation of the time required to resolve the abnormality, and the like.
以下、本発明を、その実施の形態を示す図面に基づいて詳述する。以下の説明では、図において矢符で示す上下、前後、及び左右を使用する。 Hereinafter, the present invention will be described in detail with reference to the drawings illustrating embodiments thereof. In the following description, up and down, front and rear, and left and right indicated by arrows in the figure are used.
図1〜図6に示す工作機械1は、装置本体10と制御装置(数値制御装置)2とを備えている。制御装置2は、ワーク加工用の加工プログラムを実行することによって、ワークを加工する工作機械1の動作を制御すると共に、監視用のコンピュータプログラム(以下、監視プログラムという)を実行することによって、異常が発生している場合に適切なタイミングで後述する工作部3を停止させる。
装置本体10は、基台11、支柱部12、カバー13、及び工作部3を備えている。工作部3は、加工部31、工具交換部32、保持部33、移動部34、及び給油部4を備えている。
A
The apparatus
基台11は、4本の脚部が突設したベッド状である。基台11の上部には、保持部33が配されている。基台11の上部且つ保持部33の後ろ側には、支柱部12が立設されている。保持部33の下側の基台11は、上下方向に貫通した図示しない開口が設けられている。
基台11及び支柱部12には、移動部34と給油部4とが配されている。
支柱部12は、工具交換部32及び制御装置2を支持している。工具交換部32は支柱部12の前側に配されている。制御装置2は支柱部12の後ろ側に配されている。更に、支柱部12は、加工部31を上下移動可能に支持している。
加工部31は、保持部33の上側且つ工具交換部32の近傍に配されている。
カバー13は、前壁、左右両側、及び後壁を有し、基台11の上側を囲繞している。カバー13は、ワークの切削加工時に生じる切削屑が工作機械1の周辺に散乱することを抑制する。
The
The
The
The
The
図1〜図7を参照し、工作部3の各部について述べる。
加工部31には、1個の工具310が着脱可能に装着される。加工部31に装着された工具310は、主軸モータ311の駆動によって回転する。
工具交換部32は、工具マガジン321を有する。工具マガジン321は、周方向に回転可能な円盤状であり、マガジンモータ322の駆動によって回転する。工具マガジン321には、複数個の工具310が、夫々着脱可能に装着される。
保持部33は、いわゆるテーブルであり、図示しないワークを保持する。
Each part of the
One
The
The holding
移動部34は、X軸モータ341、X軸ボールねじ345、及びX軸ガイドレール347,347と、Y軸モータ342、Y軸ボールねじ346、及びY軸ガイドレール348,348と、Z軸モータ343及びZ軸ボールねじ349、及びZ軸ガイドレール340,340とを有する。
X軸ガイドレール347,347は左右方向に敷設されている。X軸ボールねじ345はX軸モータ341に連結されており、X軸モータ341の回転運動を左右方向の直線運動に変換する。この直線運動は保持部33に伝達される。
Y軸ガイドレール348,348は左右方向に敷設されている。Y軸ボールねじ346はY軸モータ342に連結されており、Y軸モータ342の回転運動を前後方向の直線運動に変換する。この直線運動は保持部33に伝達される。
保持部33は、X軸モータ341及びY軸モータ342夫々の駆動により、X軸ガイドレール347,347とY軸ガイドレール348,348とに案内されて、仮想的な平面上を前後左右に移動する。
The moving
The
The Y-
The holding
Z軸ガイドレール340,340は上下方向に敷設されている。Z軸ボールねじ349はZ軸モータ343の回転運動を上下方向の直線運動に変換する。この直線運動は加工部31に伝達される。加工部31は、Z軸モータ343の駆動により、Z軸ガイドレール340,340に案内されて、上下方向に移動する。
The Z-
加工部31が上方向に移動することによって、加工部31に装着されている工具310が、ワークに対する加工を実行する加工実行位置から離隔する。加工部31が更に上方向に移動することによって、加工部31に装着されている工具310は、加工部31から離脱すると共に工具マガジン321に装着される。
工具マガジン321が回転することによって、工具マガジン321に装着されている複数個の工具310の内の1個が、工具マガジン321の周方向における工具交換位置に送られる。
When the
By rotating the
加工部31が下方向に移動することによって、工具マガジン321に装着されている工具310が、工具マガジン321から離脱すると共に加工部31に装着される。加工部31が更に下方向に移動することによって、加工部31に装着されている工具310は、加工実行位置へ接近する。
加工実行位置にある工具310が回転することによって、ワークは加工(例えば切削)される。工具310が加工実行位置にない場合、又は、工具310が回転していない場合等には、ワークは加工されない(非加工)。移動部34による保持部33の移動は、ワークの非加工中に行なわれる。
When the
The workpiece is machined (for example, cut) by the rotation of the
給油部4は、オイルタンク41、給油ポンプ42、給油管43、油量検出部44、及び圧力検出部45を備えている。
オイルタンク41に貯留されている潤滑油は、給油ポンプ42によって加圧され、給油管43を通って移動部34(具体的にはX軸ボールねじ345、Y軸ボールねじ346、X軸ガイドレール347,347、Y軸ガイドレール348,348、Z軸ボールねじ349、及びZ軸ガイドレール340,340等)に供給される。給油部4による給油は、間欠的に行なわれる(図8参照)。潤滑油はグリスを用いてもよい。
The
Lubricating oil stored in the
油量検出部44はフロートスイッチを用いてなる。油量検出部44は、オイルタンク41に貯留されている潤滑油の残量が十分である場合(油面が高い場合)にはオンになる。このとき、潤滑油の残量が十分であることを示す残量信号が制御装置2へ出力される。オイルタンク41に貯留されている潤滑油の残量が不十分である場合(油面が低い場合)、油量検出部44はオフになる。従って、残量信号は出力されない。
圧力検出部45は圧力スイッチを用いてなる。圧力検出部45は、給油管43を潤滑油が通過している場合に、潤滑油によって加圧されてオンになる。このとき、移動部34への給油が実行されていることを示す給油信号が制御装置2へ出力される。給油管43を潤滑油が通過していない場合、圧力検出部45はオフになる。従って、給油信号は出力されない。
The oil
The
制御装置2は、筐体20、制御部21、記憶部22、操作部23、表示部24、及びインタフェース部25を備えている。
筐体20は、支柱部12に支持されている。筐体20には、制御部21、記憶部22、及びインタフェース部25が収容されている。筐体20の後部には図示しない扉が設けられている。
操作部23及び表示部24はカバー13の前壁に配されている。
The
The
The
操作部23は、作業者が操作すべきスイッチ及びダイヤル等を有する。
作業者は、操作部23を操作することによって、工作機械1に対し、ワークに対する加工の開始指示を与える。このとき、操作部23から制御部21へ、ワークに対する加工の開始を指示する指示信号が出力される。
作業者は、操作部23を操作することによって、工作機械1に対して各種のデータ(後述)を与える。
The
The operator gives an instruction to start machining the workpiece to the
The operator gives various data (described later) to the
表示部24は、ランプ、7セグメントディスプレイ、又は液晶ディスプレイ等(各不図示)を有する。表示部24には、工作機械1の運転状況、又は作業者へのメッセージ等が表示される。運転状況又はメッセージ等は、ランプの点灯/消滅/点滅、7セグメントディスプレイが示す数字、又は、液晶ディスプレイが示す文字若しくは記号等を用いて表現される。
The display unit 24 includes a lamp, a 7-segment display, a liquid crystal display, etc. (each not shown). The display unit 24 displays the operating status of the
インタフェース部25には、チップコンベア5が接続される。チップコンベア5からは、チップコンベア5が正常に稼働していることを示す正常稼働信号が送信される。
インタフェース部25には、図示しないパーソナルコンピュータが接続される。このパーソナルコンピュータからは、工作機械1にて実行すべき加工プログラムが送信される。
インタフェース部25には、可搬型の記録媒体(例えばメモリカード)が装着されるスロットが設けられている。
The
A personal computer (not shown) is connected to the
The
記憶部22は、ROM、RAM、補助記憶装置、及び/又は、インタフェース部25のスロットに装着されている記録媒体を用いてなる。記憶部22は、監視プログラムとデフォルトのデータとを予め記憶している。また、記憶部22は、操作部23を介して与えられたデータ、及びインタフェース部25を介して受信した加工プログラムを記憶する。更に、記憶部22は、監視プログラム又は加工プログラムを実行するために必要なデータ(例えば各種フラグ)を記憶する。このデータは、制御部21によって適宜のタイミングで生成される。
The
以下では、記憶部22に複数の加工プログラムが予め記憶されているものとする。
加工プログラムには、固有のプログラム識別番号が与えられている。記憶部22に記憶してある複数の加工プログラムの内、実際に実行されるものは、作業者が指定したプログラム識別番号が示す加工プログラムである。作業者は、操作部23を介して所望の加工プログラムのプログラム識別番号を工作機械1に与える。
Hereinafter, it is assumed that a plurality of machining programs are stored in the
A unique program identification number is given to the machining program. Among the plurality of machining programs stored in the
加工プログラムには、ワークの移動、ワークの加工、給油、及び工具310の交換等を制御するための複数行のブロックが含まれている。各ブロックは1行ずつ順に実行される。例えば、一のブロックが実行されることによって、工具310が加工実行位置へ接近し、他のブロックが実行されることによって、工具310がワークに作用する。
The machining program includes a plurality of blocks for controlling the movement of the workpiece, the machining of the workpiece, the oil supply, the exchange of the
制御部21は、工作機械1の制御中枢であり、記憶部22に記憶してある監視プログラム及び加工プログラムに従って工作機械1の各部の動作を制御する。
制御部21には、油量検出部44からの残量信号、圧力検出部45からの給油信号、チップコンベア5から受信した正常稼働信号が夫々入力される。
The
The
図10は、工作機械1で実行される加工処理の手順を示すフローチャートである。制御部21は、作業者が指定したプログラム識別番号が示す加工プログラムに従って、加工処理を実行する。
制御部21は、加工プログラムに含まれている1行分のブロックを実行する(S11)。
S11の処理終了後、制御部21は、S11で実行したブロックが最終行のブロックであるか否かを判定し(S12)、最終行以外であれば(S12でNO)、後述する重度異常フラグ又は特殊異常フラグがセットされているか否かを判定する(S13)。即ち、S13の処理は、1行分のブロックの実行が終了する都度、実行される。
FIG. 10 is a flowchart illustrating a processing procedure executed by the
The
After the processing of S11 is completed, the
重度異常フラグ及び特殊異常フラグが両方ともセットされていない場合(S13でNO)、制御部11は、処理をS11へ戻す。
S13でYESと判定されることなくS11〜S13の処理が繰り返されることによって、加工プログラムに含まれているブロックは、第1行から順に最終行まで実行される。
If neither the severe abnormality flag nor the special abnormality flag is set (NO in S13), the
By repeating the processes of S11 to S13 without determining YES in S13, the blocks included in the machining program are executed from the first line to the last line in order.
S11で実行したブロックが最終行のブロックである場合(S12でYES)、最終行のブロックを実行終了したことを示す最終行フラグをセットする(S14)。セットされている最終行フラグは、加工プログラムの実行終了を意味する。
S14の処理終了後、制御部21は、加工処理を終了する。
If the block executed in S11 is the block in the last row (YES in S12), a last row flag indicating that the execution of the block in the last row has been completed is set (S14). The set last line flag means the end of execution of the machining program.
After the process of S14 ends, the
重度異常フラグ及び特殊異常フラグの少なくとも一方がセットされている場合(S13でYES)、実行中の加工プログラムは、割り込みで強制終了される。このとき、制御部21は、実行中の加工プログラムの強制終了を意味する強制終了フラグをセットしてから(S15)、加工処理を終了する。
If at least one of the severe abnormality flag and the special abnormality flag is set (YES in S13), the machining program being executed is forcibly terminated by interruption. At this time, the
S11の処理において制御部21は、例えば、主軸モータ311、マガジンモータ322、X軸モータ341、Y軸モータ342、又はZ軸モータ343の動作を制御する。また、制御部21は、給油部4による給油を制御する。
給油部4による給油の制御とは、具体的には、給油ポンプ42の動作の制御である。制御部21は、給油ポンプ42をオンにする場合に給油制御信号の出力を開始する。給油ポンプ42をオフにする場合には、制御部21は給油制御信号の出力を終了する。
In the process of S11, the
The oil supply control by the
図8には、制御部21による給油ポンプ42への給油制御信号の出力タイミングと、制御部21に対する圧力検出部45からの給油信号の入力タイミングとが示されている。
時刻T10は、前回の給油を終了した時点である。
FIG. 8 shows the output timing of the oil supply control signal to the
Time T10 is the time when the previous refueling is finished.
制御部21は、時刻T10から所定休止時間To2が経過した時刻T11の時点で給油制御信号の出力を開始する。この結果、給油ポンプ42がオンになる。
オンになった給油ポンプ42はオイルタンク41からの潤滑油の汲み出しを開始する。時刻T11より後の時刻T12の時点で、汲み出された潤滑油が給油管43に達し、圧力検出部45がオンになる。以降、給油信号が制御部21に入力され、移動部34に潤滑油が供給される。
時刻T12は、移動部34に潤滑油が供給され始めた時点と看做すことができる。
The
The
The time T12 can be regarded as a point in time when the lubricating oil starts to be supplied to the moving
制御部21は、時刻T12から所定供給時間To1が経過した時刻T13の時点で給油制御信号の出力を終了する。この結果、給油ポンプ42がオフになる。換言すれば、時刻T13の時点で、制御部21は給油を終了する。
給油ポンプ42がオフになった後、圧力検出部45がオフになる(時刻T14の時点)。このとき以降、給油信号が制御部21に入力されなくなり、移動部34へ潤滑油の供給が休止される。
The
After the
制御部21は、時刻T13から所定休止時間To2が経過した時刻T21の時点で給油制御信号の出力を開始する。この結果、給油ポンプ42がオンになる。時刻T21より後の時刻T22の時点で圧力検出部45がオンになり、給油信号が制御部21に入力され始める。
以上のようにして、移動部34に対する間欠的な給油が行なわれる。
記憶部22には、所定供給時間To1及び所定休止時間To2としてデフォルトのデータが記憶してある。ただし、所定供給時間To1又は所定休止時間To2となすべきデータが操作部23を介して与えられた場合、このデータは記憶部22に記憶され、デフォルトのものよりも優先的に用いられる。
The
As described above, intermittent fuel supply to the moving
The
次に、図9を参照しつつチップコンベア5について説明する。
チップコンベア5は、工作機械1におけるワークの切削加工時に生じる切削屑と切削加工時に用いられるクーラントとを回収する。切削屑及びクーラントは、工作機械1の基台11に設けられている開口を通して、基台11の下方へ落下する。
Next, the
The
チップコンベア5は、基台51、支柱部52、水平筐体53、傾斜筐体54、及び制御装置55を備えている。
基台51の上部且つ後ろ側には、支柱部52が立設されている。支柱部52は制御装置55を支持している。制御装置55は、支柱部52の上部且つ後ろ側に配されている。
水平筐体53は前後方向に長い。水平筐体53は工作機械1の基台11下方に配される。水平筐体53の上部は開放されている。工作機械1から落下した切削屑及びクーラントは、水平筐体53の開放部分を通して水平筐体53に収容される。水平筐体53は切削屑及びクーラント受けとして機能する。水平筐体53は基台51の前部に突設されている。
The
A
The
傾斜筐体54は、工作機械1の後方にて立ち上がる後傾姿勢に配されている。傾斜筐体54の下端部は、基台51の上部に位置し、傾斜筐体54の上端部は、支柱部52の上部前側にて支柱部52に支持されている。傾斜筐体54の上端後部には、図示しない開放部が設けられている。
傾斜筐体54の開放部の下方には、図示しない屑受けが配されている。
水平筐体53の内部、基台51の内部、及び傾斜筐体54の内部に亘って、図示しないヒンジコンベアが配されている。このヒンジコンベアは、支柱部52によって支持されている第1モータ561によって駆動される。
The
Below the open part of the
A hinge conveyor (not shown) is arranged in the
水平筐体53に収容された切削屑は、ヒンジコンベアによって移送され、傾斜筐体54の開放部を通して屑受けへ落下する。
水平筐体53に収容されたクーラントは、ヒンジコンベアの隙間から下方へ滴下する。
ヒンジコンベアの下方には、図示しないスクレーパコンベアが配されている。このスクレーパコンベアは、支柱部52によって支持されている第2モータ562によって駆動される。
The cutting waste accommodated in the
The coolant accommodated in the
A scraper conveyor (not shown) is disposed below the hinge conveyor. The scraper conveyor is driven by a
ヒンジコンベアの下方に滴下したクーラントは、スクレーパコンベアによって移送され、基台51の内部に配されているクーラントタンク563に貯留される。クーラントタンク563に貯留されたクーラントは、基台51に配されているクーラントポンプ564によって汲み出され、図示しないフィルタによって濾過された上で、工作機械1へ戻される。
The coolant dripped below the hinge conveyor is transferred by the scraper conveyor and stored in a
チップコンベア5の各部の動作は、制御装置55によって制御される。
制御装置55には図示しないリレーが配されている。このリレーがオンになっている場合、チップコンベア5の各部に給電され、チップコンベア5が稼働する。このとき、正常稼働信号が工作機械1へ送信される。
制御装置55のリレーの故障、又はリレーに接続されている図示しない配線部の断線等が発生している場合、チップコンベア5には給電されない。従って、チップコンベア5は稼働しない。このとき、工作機械1への正常稼働信号の送信は断たれる。
The operation of each part of the
The
When a failure of the relay of the
工作機械1における異常発生時の対処について説明する。
異常発生時の対処は、監視プログラムに従って行なわれる。
本実施の形態では、軽度の異常が発生したときに、発生した異常の種類に関連付けて、軽度異常フラグがセットされる。軽度異常フラグがセットされている場合、制御部21は、表示部24にエラーメッセージを表示させ続けると共に、実行中の加工プログラムを最終行のブロックまで実行する。従って、ワークに対する加工は完了する。
A countermeasure when an abnormality occurs in the
When an abnormality occurs, countermeasures are taken according to the monitoring program.
In the present embodiment, when a minor abnormality occurs, a minor abnormality flag is set in association with the type of abnormality that has occurred. When the minor abnormality flag is set, the
重度の異常が発生したときに、発生した異常の種類に関連付けて、重度異常フラグがセットされる。重度異常フラグがセットされている場合、制御部21は、表示部24にエラーメッセージを表示させ続けると共に、実行中のブロックの実行終了を待ってから、割り込みで加工プログラムを強制終了し、更に、工作部3をオフにして作動不能にする(以下、工作部3の停止という)。従って、ワークに対する加工は中止される。
When a serious abnormality occurs, a severe abnormality flag is set in association with the type of abnormality that has occurred. When the severe abnormality flag is set, the
中程度の異常が発生したときに、発生した異常の種類に関連付けて、一般異常フラグがセットされ、この後、停止条件が成立したときに、特殊異常フラグが更にセットされる。停止条件は複数存在する。
一般異常フラグがセットされ、特殊異常フラグがセットされていない場合、制御部21は、表示部24にエラーメッセージを表示させ続けると共に、実行中の加工プログラムの実行終了を待ってから、工作部3を停止させる。故に、ワークに対する加工は完了する。
When a moderate abnormality occurs, a general abnormality flag is set in association with the type of abnormality that has occurred, and then a special abnormality flag is further set when a stop condition is satisfied. There are multiple stop conditions.
If the general abnormality flag is set and the special abnormality flag is not set, the
一般異常フラグ及び特殊異常フラグが両方セットされている場合、制御部21は、表示部24にエラーメッセージを表示させ続けると共に、実行中のブロックの実行終了を待ってから、割り込みで加工プログラムを強制終了し、更に、工作部3を停止させる。故に、ワークに対する加工は中止される。
When both the general abnormality flag and the special abnormality flag are set, the
各種異常フラグは、対応する異常が解消した時点でリセットされる。このため、実行中の加工プログラム又はブロックの実行終了を待っている間に異常が解消されれば、S13、後述するS51、S55、又はS59の処理でNOと判定されるため、加工プログラムの強制終了も工作部3の停止も行なわれない。
異常の重要度を問わず、エラーメッセージの表示は、対応する異常フラグがリセットされるまで継続される。ここで、エラーメッセージは、例えば発生している異常の種類を示す異常識別番号を用いてなる。
以下では、異常の解消に起因する各種異常フラグのリセットについては説明を省略する。
Various abnormality flags are reset when the corresponding abnormality is resolved. For this reason, if the abnormality is resolved while waiting for the execution of the machining program or block being executed to be completed, it is determined NO in the processing of S13, S51, S55, or S59, which will be described later. Neither the end nor the stop of the
Regardless of the importance of the abnormality, the display of the error message is continued until the corresponding abnormality flag is reset. Here, the error message uses, for example, an abnormality identification number indicating the type of abnormality that has occurred.
Hereinafter, description of resetting various abnormality flags resulting from the elimination of the abnormality will be omitted.
本実施の形態では、重度異常フラグ及び特殊異常フラグの何れがセットされている場合でも、1行分のブロックの実行が終了してから工作部3が停止するが、これに限定されるものではない。例えば、重度異常フラグがセットされている場合には1行分のブロックの実行が終了してから、特殊異常フラグがセットされている場合には複数行分のブロックの実行が終了してから、工作部3が停止してもよい。この場合、重度の異常の発生時には、ワークの加工は即時中止されるが、中程度の異常の発生及び停止条件の成立時には、ワークの加工は一段落してから中止されるよう構成することができる。
In this embodiment, regardless of whether the severe abnormality flag or the special abnormality flag is set, the
なお、軽度の異常が発生している場合に、停止条件が1つでも成立したとき、制御部21は、実行中の加工プログラムの実行終了を待ってから、工作部3を停止させる(又は、実行中のブロックの実行終了を待ってから、割り込みで加工プログラムを強制終了し、更に、工作部3を停止させる)構成でもよい。
また、重度の異常が発生している場合に、停止条件が1つでも成立したとき、制御部21は、実行中のブロックの実行終了さえも待たずに、割り込みで加工プログラムを強制終了し、更に、工作部3を停止させる構成でもよい。
In addition, when a slight abnormality has occurred, when even one stop condition is satisfied, the
Further, when one of the stop conditions is satisfied when a serious abnormality has occurred, the
本実施の形態においては、中程度の異常として、給油部4に関する異常、及びチップコンベア5に関する異常を例示する。
また、本実施の形態においては、4種類の停止条件を例示する。停止条件は、中程度の異常が発生している場合に、所定のタイミング(本実施の形態では加工プログラムの実行終了)に至る前に工作部3を停止させるか否かを判定するためのものである。少なくとも1種類の停止条件が成立すると、工作部3は自動的に停止する。
In the present embodiment, examples of the abnormality relating to the
Moreover, in this Embodiment, four types of stop conditions are illustrated. The stop condition is for determining whether or not to stop the
1種類目の条件は、給油部4に関する異常が発生している場合に用いられるものであり、2種類目の条件は、チップコンベア5に関する異常が発生している場合に用いられるものである。
1種類目及び2種類目は、何れも、異常発生からの経過時間が閾値以上である点は同じである。
The first type of condition is used when an abnormality relating to the
The first type and the second type are the same in that the elapsed time from the occurrence of abnormality is equal to or greater than a threshold value.
次に、両条件の差異について述べる。
制御部21は、経過時間の閾値を設定する。この閾値が、1種類目の条件と2種類目の条件とでは異なる。
更に詳細には、給油部4に関する異常が発生している場合、制御部21は、所定休止時間To2を閾値として設定する。チップコンベア5に関する異常が発生している場合、制御部21は、経過時間の閾値として記憶部22に予め記憶してあるもの(以下、所定経過時間という)を閾値として設定する。
記憶部22には、所定経過時間としてデフォルトのデータが記憶してある。ただし、所定経過時間となすべきデータが操作部23を介して与えられた場合、このデータは記憶部22に記憶され、デフォルトのものよりも優先的に用いられる。
Next, the difference between the two conditions will be described.
The
More specifically, when an abnormality relating to the
The
1種類目の条件と2種類目の条件とでは、経過時間の計時手順が異なる。具体的には、給油部4に関する異常が発生している場合には、後述する図16に示す通常計時処理に従って、経過時間が異常発生時から連続的に計時される。チップコンベア5に関する異常が発生している場合には、後述する図17に示す間欠計時処理に従って、経過時間が間欠的に計時される。
The elapsed time measuring procedure differs between the first type of condition and the second type of condition. Specifically, when an abnormality relating to the
3種類目の条件は、実行中の加工プログラムのサイズが所定サイズ以上であること、である。
加工プログラムのサイズとは、加工プログラムが記憶部22に占める記憶容量である。実行中の加工プログラムのサイズが大きいほど、加工プログラムの実行が終了するまでに要する時間は長いと推測される。なお、実行中の加工プログラムのサイズは、ブロックの行数であってもよい。
記憶部22には、所定サイズが予め記憶してある。これはデフォルトのもの、又は操作部23を介して与えられたものである。
The third condition is that the size of the machining program being executed is equal to or larger than a predetermined size.
The size of the machining program is a storage capacity that the machining program occupies in the
The
4種類目の条件は、加工時間が所定閾値以上であること、である。
加工時間とは、加工プログラムの実行終了までに要する時間である。加工時間は、演算によって求められる。具体的には、加工プログラムの実行を開始してからの経過時間を、後述する終了時間から減算すれば、加工時間が得られる。
記憶部22には、所定閾値が予め記憶してある。これはデフォルトのもの、又は操作部23を介して与えられたものである。
The fourth type of condition is that the processing time is equal to or greater than a predetermined threshold.
The machining time is the time required to finish the machining program. The machining time is obtained by calculation. Specifically, the machining time can be obtained by subtracting the elapsed time from the start of execution of the machining program from the end time described later.
The
記憶部22には、加工時間を演算するために、プログラム識別番号と終了時間とが関連付けられた時間テーブル221が記憶される。終了時間とは、プログラム識別番号が示す加工プログラムの実行開始から実行終了までの時間の実測値である。これは、加工プログラムを実行したときに、制御部21によって計時され、記憶部22に記憶される。
なお、終了時間は、推測値、又は実測値の平均値等であってもよい。
また、まだ一度も実行していない加工プログラムに関しては、終了時間となすべきデータが操作部23を介して与えられる構成でもよい。或いは、まだ一度も実行していない加工プログラムに関しては、この加工プログラムの終了時間の計時が終了するまで、4種類目の条件の成否が判定されない構成でもよい。
The
The end time may be an estimated value or an average value of actually measured values.
In addition, regarding a machining program that has not been executed yet, data to be the end time may be provided via the
次に、給油部4に関する異常について説明する。
給油部4に関する異常とは、具体的には次の3種類の異常の何れかである。
第1の異常は、制御部21に油量検出部44から残量信号が入力されていないことである。この原因は、オイルタンク41に貯留されている潤滑油の残量が不十分であること、又は油量検出部44の故障等である。
Next, the abnormality regarding the
Specifically, the abnormality relating to the
The first abnormality is that the remaining amount signal is not input from the oil
第2の異常は、制御部21が給油制御信号を出力してから所定監視時間To3が経過しても制御部21に給油信号が入力されないことである(図8参照)。この原因は、給油ポンプ42若しくは圧力検出部45の故障、又は給油管43の破損等である。
第3の異常は、制御部21が給油制御信号の出力を停止してから所定監視時間To4が経過しても制御部21に給油信号が入力されていることである(図8参照)。この原因は、給油ポンプ42又は圧力検出部45等の故障である。
給油部4に関する異常が起きた場合、移動部34への間欠的な給油は正常に行なわれない。
記憶部22には、所定監視時間To3及び所定監視時間To4が予め記憶してある。これはデフォルトのもの、又は操作部23を介して与えられたものである。所定監視時間To3及び所定監視時間To4は同一でも相異なっていてもよい。
The second abnormality is that the fuel supply signal is not input to the
The third abnormality is that the fuel supply signal is input to the
When an abnormality relating to the
The
前述したように、給油部4に関する異常が発生している場合には、異常発生からの経過時間が閾値以上であるか否かを判定するときに、経過時間の閾値として所定休止時間To2が用いられる。
何故ならば、移動部34への給油は、平常時であっても間欠的に行なわれるからである。即ち、給油部4に関する異常が発生してから所定休止時間To2が経過するまでは、給油せずにワークに対する加工を続行しても特段の問題はないと考えられるからである。
As described above, when an abnormality relating to the
This is because the oil supply to the moving
仮に、給油部4に関する異常が発生してから所定休止時間To2が経過してもまだワークに対する加工を続行していると、移動部34にも異常が発生する(即ち、異常が悪化する)虞がある。
なお、記憶部22に記憶されている所定経過時間が所定休止時間To2よりも短い場合には、所定休止時間To2に替えて所定経過時間が経過時間の閾値として設定されてもよい。
If the workpiece is still being processed even after the predetermined rest time To2 has elapsed since an abnormality relating to the
If the predetermined elapsed time stored in the
次に、チップコンベア5に関する異常について説明する。
チップコンベア5に関する異常とは、制御部21に正常稼働信号が入力されていないことである。この原因は、チップコンベア5が稼働していないことである。
チップコンベア5が稼働していない場合、工作機械1から落下した切削屑及びクーラントが正常に処分されない。この場合に特に問題となることは、工作機械1から落下した切削屑がチップコンベア5の水平筐体53に堆積し、工作機械1の内部へ侵入することである。
Next, abnormality relating to the
The abnormality relating to the
When the
ただし、チップコンベア5に関する異常が発生してから所定経過時間が経過するまでは、堆積した切削屑が工作機械1に到達することがないため、ワークに対する切削加工を続行しても特段の問題はないと考えられる。
チップコンベア5に関する異常が発生してから所定経過時間が経過してもまだワークに対する切削加工を続行していると、工作機械1にも異常が発生する(即ち、異常が悪化する)虞がある。
However, since the accumulated cutting waste does not reach the
Even if a predetermined elapsed time has elapsed since the occurrence of the abnormality relating to the
工作機械1にてワークの切削加工が行なわれていない間は、切削屑が生じないため、異常は悪化しない。このため、切削加工が行なわれている間(工具310がワークに作用している間)だけ、チップコンベア5に関する異常が発生してからの経過時間の計時が行なわれ、切削加工が行なわれていない間(工具310がワークに作用している間の前後)は、経過時間の計時は中断される。換言すれば、経過時間は間欠的に計時される。
仮に、切削加工が行なわれていない間も経過時間を計時し続けた場合、経過時間が所定経過時間に達した後でもワークの切削加工の続行が可能な状況である可能性が高い。
While the workpiece is not being cut by the
If the elapsed time is continuously counted even when the cutting process is not performed, there is a high possibility that the cutting of the workpiece can be continued even after the elapsed time reaches the predetermined elapsed time.
図11及び図12は、工作機械1で実行される監視処理の手順を示すフローチャートである。制御部21は、記憶部22に記憶されている監視プログラムに従って、監視処理を実行する。
作業者は、工作機械1に対して各種のデータ(例えばプログラム識別番号、所定休止時間To2、又は所定経過時間等)を与える。次いで、作業者は、操作部23を操作することによって、ワークに対する加工の開始指示を与える。
なお、作業者は、データを与えることなくワークに対する加工の開始を指示してもよい。この場合、工作機械1では、記憶部22に記憶してあるデータ(デフォルトのデータ、又は前回以前に与えられたデータ)が用いられる。
FIG. 11 and FIG. 12 are flowcharts showing the procedure of the monitoring process executed by the
The worker gives various data (for example, a program identification number, a predetermined pause time To2, or a predetermined elapsed time) to the
Note that the operator may instruct the start of machining on the workpiece without providing data. In this case, in the
図11に示すように、制御部21は、操作部23を介してデータを受け付けたか否かを判定する(S31)。
データを受け付けた場合(S31でYES)、制御部21は、受け付けたデータを記憶部22に記憶させる(S32)。
S32の処理終了後、又は、各種のデータを受け付けていない場合(S31でNO)、制御部21は、操作部23から指示信号が入力されたか否かを判定する(S33)。
指示信号がまだ入力されていない場合(S33でNO)、ワークに対する加工の開始指示はまだ与えられていない。このため、制御部21は、処理をS31へ戻す。
As shown in FIG. 11, the
When data is received (YES in S31), the
After the process of S32 is completed or when various data are not received (NO in S31), the
If the instruction signal has not yet been input (NO in S33), the machining start instruction for the workpiece has not been given yet. For this reason, the
指示信号が入力された場合(S33でYES)、ワークに対する加工の開始指示が与えられたため、制御部21は、前述した最終行フラグ、軽度異常フラグ、重度異常フラグ、一般異常フラグ、及び特殊異常フラグを含む各種フラグをリセットする(S34)。
When the instruction signal is input (YES in S33), since the machining start instruction for the workpiece is given, the
制御部21は、作業者が指定したプログラム識別番号が示す加工プログラムの実行を開始する(S35)。S35の処理の結果、図11及び図12に示す監視処理の実行に並行して、図10に示す加工処理が実行される。以下では、S35で実行開始された加工プログラムを、実行中の加工プログラムという。
次いで、制御部21は、後述する図13に示す経過計時処理の実行を開始する(S36)。経過計時処理では、監視処理の実行に並行して、実行中の加工プログラムの実行を開始してからの経過時間が計時される。
The
Subsequently, the
制御部21は、後述する図14及び図15に示す異常判定処理を実行する(S37)。
異常判定処理においては、重度の異常が発生している場合、重度異常フラグがセットされる。軽度の異常が発生している場合、軽度異常フラグがセットされる。中程度の異常が発生している場合、一般異常フラグがセットされる。中程度の異常の発生下で停止条件が成立すれば、特殊異常フラグがセットされる。
The
In the abnormality determination process, when a serious abnormality has occurred, a serious abnormality flag is set. If a minor abnormality has occurred, a minor abnormality flag is set. If a moderate abnormality has occurred, the general abnormality flag is set. A special abnormality flag is set if the stop condition is satisfied under the occurrence of a medium abnormality.
S37の処理終了後、制御部21は、図12に示すように、重度異常フラグがセットされているか否かを判定する(S51)。
重度異常フラグがセットされている場合(S51でYES)、制御部21は、強制終了フラグがセットされているか否かを判定し(S52)、まだセットされていないときには(S52でNO)、S51の処理を再度実行する。
強制終了フラグがセットされている場合(S52でYES)、制御部21は、工作部3を停止させる(S53)。以上の結果、実行中の加工プログラムは、1行分のブロックの実行終了に伴って割り込みで強制終了され、工作部3は自動的に停止する。
最後に、制御部21は、経過時間の計時処理を終了することを意味する計時終了フラグをセットして(S54)、監視処理を終了する。
After the process of S37 is completed, the
When the severe abnormality flag is set (YES in S51), the
When the forced end flag is set (YES in S52), the
Finally, the
重度異常フラグがセットされていない場合(S51でNO)、制御部21は、特殊異常フラグがセットされているか否かを判定する(S55)。
特殊異常フラグがセットされている場合(S55でYES)、制御部21は、処理をS52へ移す。
まだ特殊異常フラグがセットされていない場合(S55でNO)、制御部21は、最終行フラグがセットされているか否かを判定する(S56)。
When the severe abnormality flag is not set (NO in S51), the
When the special abnormality flag is set (YES in S55), the
If the special abnormality flag has not been set yet (NO in S55), the
最終行フラグがセットされている場合(S56でYES)、制御部21は、計時終了フラグをセットする(S57)。この結果、S36で実行開始された経過計時処理が終了する。次に、制御部21は、経過計時処理による計時結果を、実行中の加工プログラムのプログラム識別番号と同じプログラム識別番号に関連付けて記憶部22の時間テーブル221に記憶させる(S58)。換言すれば、S58の処理では、実行中の加工プログラムを開始してから終了するまでに要した時間の実測値が、終了時間として記憶される。
制御部21は、一般異常フラグがセットされているか否かを判定する(S59)。
一般異常フラグがセットされている場合(S59でYES)、制御部21は、工作部3を停止させる(S60)。以上の結果、実行中の加工プログラムが実行終了してから、工作部3は自動的に停止する。
When the last line flag is set (YES in S56), the
The
When the general abnormality flag is set (YES in S59), the
最終行フラグがセットされていない場合(S56でNO)、制御部21は、処理を図11に示すS37に戻す。
以上の結果、一般異常フラグ又は軽度異常フラグがセットされているか否かに関わらず、ワークに対する加工は続行される。
一方、一般異常フラグがセットされていない場合(S59でNO)、制御部21は、処理を図11に示すS31に戻す。この後、連続的に、新たなワークに対する加工を行なうことが可能である。
When the last line flag is not set (NO in S56), the
As a result, the machining for the workpiece is continued regardless of whether the general abnormality flag or the minor abnormality flag is set.
On the other hand, when the general abnormality flag is not set (NO in S59), the
S36の経過計時処理について詳述する。
図13は、工作機械1で実行される経過計時処理の手順を示すフローチャートである。
制御部21は、まず、実行中の加工プログラムのプログラム識別番号に関連付けて、経過時間のリセットを行なう(S71)。また、制御部21は、実行中の加工プログラムのプログラム識別番号に関連付けて、クロックカウンタ(クロック計数用の変数)をリセットする(S72)。ここで、経過時間(又はクロックカウンタ)のリセットとは、経過時間“0”(又はクロックカウンタ“0”)を記憶部22に記憶させることである。
次に、制御部21は、クロックが1個入力される都度、クロックカウンタを“1”インクリメントし続ける処理を開始する(S73)。
The progress timing process in S36 will be described in detail.
FIG. 13 is a flowchart showing the procedure of the elapsed time measurement process executed by the
First, the
Next, every time one clock is input, the
制御部21は、クロックカウンタの計数結果が所定個数以上であるか否かを判定し(S74)、クロックカウンタの計数結果が所定個数未満である場合には(S74でNO)、再びS74の処理を実行する。
クロックカウンタの計数結果が所定個数以上である場合(S74でYES)、制御部21は、クロックカウンタをリセットし(S75)、記憶部22にて、実行中の加工プログラムのプログラム識別番号に関連付けてある経過時間の計時結果を単位時間(例えば1秒)インクリメントする(S76)。
The
When the count result of the clock counter is equal to or greater than the predetermined number (YES in S74), the
制御部21は、実行中の加工プログラムのプログラム識別番号と同じプログラム識別番号に関連付けて時間テーブル221に記憶してある終了時間を読み出し(S77)、読み出した終了時間から、S76でインクリメントした経過時間を減算することによって、実行中の加工プログラムに係る加工時間を演算する(S78)。
S78における演算結果と、実行中の加工プログラムが実行終了するまでに要する実時間とが一致する可能性は低い。しかしながら、両者が大幅に異なる可能性も低い。従って、S78における演算結果を、実際に加工プログラムの実行が終了するまでに要する時間の目安として用いても特段の問題はない。
The
There is a low possibility that the calculation result in S78 and the actual time required until the execution of the machining program being executed is the same. However, it is unlikely that they are significantly different. Therefore, there is no particular problem even if the calculation result in S78 is used as a guideline for the time required until the execution of the machining program is actually finished.
制御部21は、表示部24を制御して、S78の演算結果である加工時間を表示する(S79)。
作業者が表示部24を視認すれば、加工プログラムの実行が終了するまでに要する時間(中程度の異常が発生している場合には、工作部3が停止するまでに要する時間)の目安を知ることができる。この結果、作業者の利便性が向上する。
The
If the operator visually recognizes the display unit 24, a guideline for the time required to finish the execution of the machining program (the time required for the
制御部21は、計時終了フラグがセットされているか否かを判定し(S80)、まだ計時終了フラグがセットされていない場合には(S80でNO)、処理をS74へ戻す。
計時終了フラグがセットされている場合(S80でYES)、制御部21は、S73で開始したクロックカウンタのインクリメントを終了し(S81)、経過計時処理を終了する。
The
If the time measurement end flag is set (YES in S80), the
S37の異常判定処理について詳述する。
図14及び図15は、工作機械1で実行される異常判定処理手順の詳細を示すフローチャートである。
図14に示すように、制御部21は、重度の異常が発生しているか否かを判定する(S91)。
重度の異常が発生している場合とは、例えば、工作部3の各種モータが作動しない場合である。
重度の異常が発生している場合(S91でYES)、制御部21は、S91で発生していると判定した異常に関連付けて重度異常フラグをセットし(S92)、表示部24を制御して、発生している異常に関するエラーメッセージを表示する(S93)。
S93の処理が終了した場合、制御部21は、異常発生処理を終了して、図11に示す監視処理へ戻る。
The abnormality determination process in S37 will be described in detail.
14 and 15 are flowcharts showing details of the abnormality determination processing procedure executed by the
As shown in FIG. 14, the
The case where the serious abnormality has occurred is, for example, a case where various motors of the working
If a severe abnormality has occurred (YES in S91), the
When the process of S93 ends, the
重度の異常が発生していない場合(S91でNO)、制御部21は、軽度の異常が発生しているか否かを判定する(S94)。
軽度の異常が発生している場合とは、例えば、表示部24の点灯すべきランプが点灯しない場合である。
軽度の異常が発生していない場合(S94でNO)、制御部21は、処理を後述するS98へ移す。
When a serious abnormality has not occurred (NO in S91), the
The case where the minor abnormality has occurred is, for example, a case where the lamp to be lit on the display unit 24 is not lit.
If a minor abnormality has not occurred (NO in S94), the
軽度の異常が発生している場合(S94でYES)、制御部21は、発生している異常に関連付けた軽度異常フラグが既にセットされているか否かを判定する(S95)。
発生している異常に関連付けられた軽度異常フラグがまだセットされていない場合(S95でNO)、制御部21は、発生している異常に関連付けて軽度異常フラグをセットし(S96)、表示部24を制御して、発生している異常に関するエラーメッセージを表示する(S97)。
S97の処理が終了した場合、又は、発生している異常に関連付けられた軽度異常フラグが既にセットされている場合(S95でYES)、制御部21は、処理を次のS98へ移す。
If a minor abnormality has occurred (YES in S94), the
When the minor abnormality flag associated with the occurring abnormality has not yet been set (NO in S95), the
When the process of S97 is completed, or when the minor abnormality flag associated with the occurring abnormality has already been set (YES in S95), the
制御部21は、中程度の異常が発生しているか否かを判定し(S98)、発生していない場合(S98でNO)、異常発生処理を終了して、図11に示す監視処理へ戻る。
中程度の異常が発生している場合(S98でYES)、制御部21は、発生している異常に関連付けて一般異常フラグが既にセットされているか否かを判定する(S99)。
発生している異常に関連付けられた一般異常フラグが既にセットされている場合(S99でYES)、制御部21は、異常発生処理を終了して、図11に示す監視処理へ戻る。
The
If a moderate abnormality has occurred (YES in S98), the
If the general abnormality flag associated with the occurring abnormality has already been set (YES in S99), the
発生している異常に関連付けられた一般異常フラグがセットされていない場合(S99でNO)、制御部21は、発生している異常に関連付けて一般異常フラグをセットし(S100)、表示部24を制御して、発生している異常に関するエラーメッセージを表示する(S101)。
If the general abnormality flag associated with the occurring abnormality is not set (NO in S99), the
制御部21は、図15に示すように、実行中の加工プログラムのサイズを検出する(S111)。具体的には、S111における制御部21は、記憶部22を走査して実行中の加工プログラムの記憶容量を検出する。なお、制御部21は、実行中の加工プログラムの進捗状況又は実行中の加工プログラムに繰り返しブロックが含まれるか否か等に応じて、実際の検出値を適宜増減したものを、S111における検出結果としてもよい。
S111の処理の終了後、制御部21は、S111における検出結果(即ち実行中の加工プログラムのサイズ)が所定サイズ以上であるか否かを判定する(S112)。
As shown in FIG. 15, the
After the process of S111 is completed, the
実行中の加工プログラムのサイズが所定サイズ以上である場合(S112でYES)、制御部21は、S98で発生していると判定した異常に関連付けて特殊異常フラグをセットする(S113)。
S113の処理が終了した場合、制御部21は、異常発生処理を終了して、図11に示す監視処理へ戻る。
When the size of the machining program being executed is equal to or larger than the predetermined size (YES in S112), the
When the process of S113 ends, the
実行中の加工プログラムのサイズが所定サイズ未満である場合(S112でNO)、制御部21は、図13に示すS78における演算結果(即ち、加工時間)の最新の値が、記憶部22に記憶されている所定閾値以上であるか否かを判定する(S114)。
加工時間が所定閾値以上である場合(S114でYES)、制御部21は、処理をS113へ移す。
If the size of the machining program being executed is less than the predetermined size (NO in S112), the
If the processing time is equal to or greater than the predetermined threshold (YES in S114), the
加工時間が所定閾値未満である場合(S114でNO)、制御部21は、S98で発生していると判定した異常が給油部4に関する異常であるか否かを判定する(S115)。
給油部4に関する異常が発生している場合(S115でYES)、制御部21は、給油部4に関する経過時間の閾値として、所定休止時間To2を設定し(S116)、後述する図16に示す通常計時処理を開始する(S117)。通常計時処理では、監視処理の実行に並行して、給油部4に関する異常が発生してからの経過時間が計時される。
When the machining time is less than the predetermined threshold (NO in S114), the
When an abnormality relating to the fueling
給油部4に関する異常が発生していない場合(S115でNO)、チップコンベア5に関する異常が発生しているため、制御部21は、チップコンベア5に関する経過時間の閾値として、所定経過時間を設定し(S118)、後述する図17に示す間欠計時処理を開始する(S119)。間欠計時処理では、監視処理の実行に並行して、チップコンベア5に関する異常が発生してからの経過時間が間欠的に計時される。
S117又はS119の処理の終了後、制御部21は、異常発生処理を終了して、図11に示す監視処理へ戻る。
If an abnormality relating to the
After the process of S117 or S119 ends, the
図16は、工作機械1で実行される通常計時処理の手順を示すフローチャートである。
制御部21は、図13に示すS71〜S76と略同様にして、給油部4に関する異常に関連付けられた経過時間のリセット(S131)、クロックカウンタのリセット(S132)、クロックカウンタのインクリメント処理開始(S133)、クロックカウンタの計数結果の判定(S134)、クロックカウンタのリセット(S135)、及び経過時間のインクリメント(S136)を行なう。
制御部21は、S116で設定された閾値(即ち所定休止時間To2)から、S136でインクリメントした経過時間(即ち、給油部4に関する異常が発生してからの経過時間)を減算することによって、工作部3が自動的に停止するまでに要する時間(停止時間)を演算する(S137)。
FIG. 16 is a flowchart showing a procedure of normal time measurement processing executed by the
The
The
更に、制御部21は、表示部24を制御して、S137の演算結果である停止時間を表示する(S138)。
作業者が表示部24を視認すれば、工作部3が自動的に停止するまでに要する時間を知ることができる。この結果、作業者の利便性が向上する。例えば、停止時間が長すぎると判断した作業者は、手動で工作部3を停止させればよい。
なお、停止時間と加工時間とは、両方表示されてもよく、何れか短いほうだけ表示されてもよい。
Further, the
If the operator visually recognizes the display unit 24, the time required until the
Note that both the stop time and the machining time may be displayed, or only one of them may be displayed.
次いで、制御部21は、S136でインクリメントした経過時間が、S116で設定された閾値以上であるか否かを判定する(S139)。
異常発生からの経過時間が閾値以上である場合(S139でYES)、制御部21は、給油部4に関する異常に関連付けて、特殊異常フラグをセットする(S140)。
Next, the
When the elapsed time from the occurrence of the abnormality is equal to or greater than the threshold (YES in S139), the
S140の処理終了後、又は異常発生からの経過時間が閾値未満である場合(S139でNO)、制御部21は、計時終了フラグがセットされているか否かを判定する(S141)。
まだ計時終了フラグがセットされていない場合(S141でNO)、制御部21は、処理をS134へ戻す。
計時終了フラグがセットされている場合(S141でYES)、制御部21は、S133で開始したクロックカウンタのインクリメントを終了し(S142)、通常計時処理を終了する。
After the completion of the process of S140 or when the elapsed time from the occurrence of the abnormality is less than the threshold (NO in S139), the
If the timing end flag has not been set yet (NO in S141), the
If the time measurement end flag is set (YES in S141), the
図17は、工作機械1で実行される間欠計時処理の手順を示すフローチャートである。
制御部21は、チップコンベア5に関する異常に関連付けて、図13に示すS71〜S75又は図16に示すS131〜S135と略同様にして、チップコンベア5に関する異常に関連付けられた経過時間のリセット(S151)、クロックカウンタのリセット(S152)、クロックカウンタのインクリメント処理開始(S153)、クロックカウンタの計数結果の判定(S154)、及びクロックカウンタのリセット(S155)を行なう。
次に、制御部21は、加工部31にて切削加工中か否かを判定する(S156)。
加工部31にて切削加工中である場合(S156でYES)、制御部21は、チップコンベア5に関する異常に関連付けてある経過時間の計時結果を単位時間インクリメントする(S157)。
FIG. 17 is a flowchart showing a procedure of intermittent timing processing executed by the
The
Next, the
When cutting is being performed in the processing unit 31 (YES in S156), the
次に、制御部21は、S118で設定された閾値(即ち所定経過時間)から、S157でインクリメントした経過時間を減算することによって、停止時間を演算する(S158)。
更に、制御部21は、表示部24を制御して、S158の演算結果である停止時間を表示する(S159)。
このため、作業者が表示部24を視認すれば、チップコンベア5に関する異常によって工作部3が自動的に停止するまでに要する時間(停止するまでに切削が可能な時間)を知ることができる。
なお、給油部4に関する停止時間とチップコンベア5に関する停止時間とは、両方表示されてもよく、何れか短いほうだけ表示されてもよい。
Next, the
Furthermore, the
For this reason, if the operator visually recognizes the display unit 24, it is possible to know the time required for the
It should be noted that both the stop time related to the
次に、S157でインクリメントした経過時間が、S118で設定された閾値以上であるか否かを判定する(S160)。
異常発生からの経過時間が閾値以上である場合(S160でYES)、制御部21は、チップコンベア5に関する異常に関連付けて、特殊異常フラグをセットする(S161)。
S161の処理終了後、又は異常発生からの経過時間が閾値未満である場合(S160でNO)、制御部21は、計時終了フラグがセットされているかを判定する(S162)。
Next, it is determined whether the elapsed time incremented in S157 is equal to or greater than the threshold set in S118 (S160).
When the elapsed time from the occurrence of the abnormality is equal to or greater than the threshold (YES in S160), the
After the process of S161 ends, or when the elapsed time from the occurrence of the abnormality is less than the threshold (NO in S160), the
まだ計時終了フラグがセットされていない場合(S162でNO)、制御部21は、処理をS154へ戻す。
計時終了フラグがセットされている場合(S162でYES)、制御部21は、S157で開始したクロックカウンタのインクリメントを終了し(S163)、間欠計時処理を終了する。
切削加工中ではない場合(S156でNO)、制御部21は、S162へ処理を移す。
以上の結果、切削加工中は経過時間が単位時間ずつ積算され、非切削加工中は経過時間が計時されない。即ち、経過時間が間欠的に計時される。
If the timing end flag has not yet been set (NO in S162), the
If the time measurement end flag is set (YES in S162), the
When cutting is not in progress (NO in S156), the
As a result, the elapsed time is integrated by unit time during cutting, and the elapsed time is not counted during non-cutting. That is, the elapsed time is measured intermittently.
S60及びS100の処理を実行する制御部21は、本発明の実施の形態における第1停止手段として機能する。S112、S114、S139、及びS160の処理を実行する制御部21は、本発明の実施の形態における複数種類の停止判定手段として機能する。S53と、S113、S140、又はS161との処理を実行する制御部21は、本発明の実施の形態における第2停止手段として機能する。
S136又はS157の処理を実行する制御部21は、本発明の実施の形態における異常計時手段として機能する。S31の処理を実行する制御部21は、本発明の実施の形態における受付手段として機能する。S116及びS118の処理を実行する制御部21は、本発明の実施の形態における設定手段として機能する。
The
The
S137又はS158の処理を実行する制御部21は、本発明の実施の形態における停止演算手段として機能する。S138又はS159の処理を実行する制御部21は、本発明の実施の形態における停止表示手段として機能する。
S111の処理を実行する制御部21は、本発明の実施の形態におけるサイズ検出手段として機能する。
S76の処理を実行する制御部21は、本発明の実施の形態における経過計時手段として機能する。S77の処理を実行する制御部21は、本発明の実施の形態における読出手段として機能する。S78の処理を実行する制御部21は、本発明の実施の形態における時間演算手段として機能する。S79の処理を実行する制御部21は、本発明の実施の形態における終了表示手段として機能する。
The
The
The
以上のような工作機械1には、停止条件が複数種類設定されているため、中程度の異常が発生している場合に、停止条件の成否に応じて、工作部3が自動的に停止する2種類のタイミング(実行中の加工プログラムが実行終了してからか、それとも実行中のブロックが実行終了してからか)を適宜に使い分けることができる。このため、異常の種類、又はワークに対する加工の状況等によらず、中程度の異常が発生している場合に適切なタイミングで工作部3を自動的に停止させることができる。従って、異常の悪化、ワークに対する加工の無駄な続行、ワークに対する加工の無用な中止、及び異常の解消までに要する時間の長期化等を抑制することができる。
なお、経過計時処理、通常計時処理、又は間欠計時処理において、経過時間の計時は、図示しないタイマを用いて行なってもよい。
Since a plurality of types of stop conditions are set in the
In the elapsed time measurement process, the normal time measurement process, or the intermittent time measurement process, the elapsed time may be measured using a timer (not shown).
今回開示された実施の形態は、全ての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上述した意味ではなく、特許請求の範囲と均等の意味及び特許請求の範囲内での全ての変更が含まれることが意図される。
また、本発明の効果がある限りにおいて、工作機械1に、実施の形態に開示されていない構成要素が含まれていてもよい。
各実施の形態に開示されている構成要件(技術的特徴)はお互いに組み合わせ可能であり、組み合わせによって新しい技術的特徴を形成することができる。
The embodiment disclosed this time is to be considered as illustrative in all points and not restrictive. The scope of the present invention is not intended to include the above-described meanings, but is intended to include meanings equivalent to the claims and all modifications within the scope of the claims.
As long as the effects of the present invention are obtained, the
The constituent elements (technical features) disclosed in each embodiment can be combined with each other, and a new technical feature can be formed by the combination.
1 工作機械
21 制御部
22 記憶部
24 表示部
DESCRIPTION OF
Claims (8)
該制御部は、所定の異常が発生している場合、所定のタイミングで前記加工プログラムの実行を終了して前記工作機械の動作を停止させる第1停止手段を有する数値制御装置において、
前記制御部は、
前記異常が発生している場合、前記所定のタイミングに至る前に前記工作機械の動作を停止させるか否かを判定する複数種類の停止判定手段と、
少なくとも一の停止判定手段が停止させると判定したときに、前記加工プログラムの実行を終了して前記工作機械の動作を停止させる第2停止手段と、
異常発生からの経過時間を計時する異常計時手段と
を有し、
該異常計時手段は、前記ワークに対する加工中は前記経過時間の計時を継続し、前記ワークに対する非加工中は前記経過時間の計時を中断するようにしてあり、
一の停止判定手段は、前記異常計時手段の計時結果が、前記経過時間の閾値以上である場合に、停止させると判定するようにしてあることを特徴とする数値制御装置。 A control unit that controls the operation of a machine tool that processes a workpiece based on a machining program for workpiece machining,
In the numerical control device having a first stop means for stopping the operation of the machine tool by stopping execution of the machining program at a predetermined timing when a predetermined abnormality occurs,
The controller is
When the abnormality occurs, a plurality of types of stop determination means for determining whether to stop the operation of the machine tool before reaching the predetermined timing;
A second stop means for stopping the operation of the machine tool by terminating the execution of the machining program when it is determined that at least one stop determination means stops ;
It possesses an abnormality counting means for counting an elapsed time from the occurrence of abnormality,
The abnormal time measuring means continues to measure the elapsed time while machining the workpiece, and interrupts the elapsed time while non-machining the workpiece,
One stop determining means, the measurement result of the abnormality counting means, when it is more than the threshold value of the elapsed time, the numerical control device according to claim Citea Rukoto to determine that stops.
前記制御部は、
前記閾値から前記異常計時手段の計時結果を減算することによって、前記第2停止手段による前記工作機械の動作の停止までに要する停止時間を演算する停止演算手段と、
該停止演算手段の演算結果を前記表示部に表示させる停止表示手段と
を更に有することを特徴とする請求項1又は2に記載の数値制御装置。 A display unit;
The controller is
A stop calculation means for calculating a stop time required until the operation of the machine tool is stopped by the second stop means by subtracting a time measurement result of the abnormal time measurement means from the threshold;
Numerical controller according to claim 1 or 2, characterized by further comprising a stop display means for displaying the calculation result of the stopping operation unit on the display unit.
前記制御部は、
少なくとも前記異常が発生している場合に、実行中の加工プログラムのサイズを検出するサイズ検出手段を更に有し、
一の停止判定手段は、前記サイズ検出手段の検出結果が所定サイズ以上である場合に、停止させると判定するようにしてあることを特徴とする請求項1に記載の数値制御装置。 The predetermined timing is when the processing program being executed is finished,
The controller is
A size detecting means for detecting the size of the machining program being executed at least when the abnormality occurs;
2. The numerical control apparatus according to claim 1, wherein the stop determination unit determines that the stop is performed when the detection result of the size detection unit is equal to or larger than a predetermined size.
該制御部は、所定の異常が発生している場合、所定のタイミングで前記加工プログラムの実行を終了して前記工作機械の動作を停止させる第1停止手段を有する数値制御装置において、In the numerical control device having a first stop means for stopping the operation of the machine tool by stopping execution of the machining program at a predetermined timing when a predetermined abnormality occurs,
前記所定のタイミングとは、実行中の加工プログラムが実行終了したときであり、The predetermined timing is when the processing program being executed is finished,
前記制御部は、The controller is
前記異常が発生している場合、前記所定のタイミングに至る前に前記工作機械の動作を停止させるか否かを判定する複数種類の停止判定手段と、When the abnormality occurs, a plurality of types of stop determination means for determining whether to stop the operation of the machine tool before reaching the predetermined timing;
少なくとも一の停止判定手段が停止させると判定したときに、前記加工プログラムの実行を終了して前記工作機械の動作を停止させる第2停止手段と、A second stop means for stopping the operation of the machine tool by terminating the execution of the machining program when it is determined that at least one stop determination means stops;
少なくとも前記異常が発生している場合に、実行中の加工プログラムのサイズを検出するサイズ検出手段とSize detecting means for detecting the size of the machining program being executed at least when the abnormality occurs;
を有し、Have
一の停止判定手段は、前記サイズ検出手段の検出結果が所定サイズ以上である場合に、停止させると判定するようにしてあることを特徴とする数値制御装置。The numerical control apparatus according to claim 1, wherein the stop determination unit determines that the stop is performed when a detection result of the size detection unit is equal to or larger than a predetermined size.
前記制御部は、
前記加工プログラムの実行を開始してからの経過時間を計時する経過計時手段と、
少なくとも前記異常が発生している場合に、実行中の加工プログラムに関連付けられている終了時間を前記記憶部から読み出す読出手段と、
該読出手段が読み出した終了時間から前記経過計時手段の計時結果を減算することによって、前記加工プログラムの実行を終了するまでに要する時間を演算する時間演算手段と
を更に有し、
一の停止判定手段は、前記時間演算手段の演算結果が所定閾値以上である場合に、停止させると判定するようにしてあることを特徴とする請求項1又は5に記載の数値制御装置。 A storage unit that associates and stores the machining program and an end time required from the start to the end of execution of the machining program;
The controller is
An elapsed time measuring means for measuring an elapsed time since the execution of the machining program was started;
Reading means for reading out an end time associated with the machining program being executed from the storage unit when at least the abnormality has occurred;
Further comprising time calculating means for calculating a time required to end the execution of the machining program by subtracting a time measurement result of the elapsed time measuring means from an end time read by the reading means;
One stop determining means, wherein, when the operation result is equal to or greater than a predetermined threshold time calculation unit, the numerical control apparatus according to claim 1 or 5, characterized in that you have to be determined to be stopped.
該制御部は、所定の異常が発生している場合、所定のタイミングで前記加工プログラムの実行を終了して前記工作機械の動作を停止させる第1停止手段を有する数値制御装置において、In the numerical control device having a first stop means for stopping the operation of the machine tool by stopping execution of the machining program at a predetermined timing when a predetermined abnormality occurs,
前記加工プログラムと、該加工プログラムの実行開始から終了までに要する終了時間とを関連付けて記憶する記憶部を備え、A storage unit that associates and stores the machining program and an end time required from the start to the end of execution of the machining program;
前記制御部は、The controller is
前記異常が発生している場合、前記所定のタイミングに至る前に前記工作機械の動作を停止させるか否かを判定する複数種類の停止判定手段と、When the abnormality occurs, a plurality of types of stop determination means for determining whether to stop the operation of the machine tool before reaching the predetermined timing;
少なくとも一の停止判定手段が停止させると判定したときに、前記加工プログラムの実行を終了して前記工作機械の動作を停止させる第2停止手段と、A second stop means for stopping the operation of the machine tool by terminating the execution of the machining program when it is determined that at least one stop determination means stops;
前記加工プログラムの実行を開始してからの経過時間を計時する経過計時手段と、An elapsed time measuring means for measuring an elapsed time since the execution of the machining program was started;
少なくとも前記異常が発生している場合に、実行中の加工プログラムに関連付けられている終了時間を前記記憶部から読み出す読出手段と、Reading means for reading out an end time associated with the machining program being executed from the storage unit when at least the abnormality has occurred;
該読出手段が読み出した終了時間から前記経過計時手段の計時結果を減算することによって、前記加工プログラムの実行を終了するまでに要する時間を演算する時間演算手段とTime calculating means for calculating the time required to end the execution of the machining program by subtracting the time measurement result of the elapsed time measuring means from the end time read by the reading means;
を有し、Have
一の停止判定手段は、前記時間演算手段の演算結果が所定閾値以上である場合に、停止させると判定するようにしてあることを特徴とする数値制御装置。The numerical control apparatus according to claim 1, wherein the stop determination unit determines that the stop is performed when the calculation result of the time calculation unit is equal to or greater than a predetermined threshold value.
前記制御部は、前記時間演算手段の演算結果を前記表示部に表示させる終了表示手段を更に有することを特徴とする請求項6又は7に記載の数値制御装置。 A display unit;
Wherein the control unit, the numerical control apparatus according to claim 6 or 7, characterized by further comprising an end display means for displaying the calculation result of the time calculating unit on the display unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014073474A JP6387653B2 (en) | 2014-03-31 | 2014-03-31 | Numerical controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014073474A JP6387653B2 (en) | 2014-03-31 | 2014-03-31 | Numerical controller |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015197684A JP2015197684A (en) | 2015-11-09 |
JP6387653B2 true JP6387653B2 (en) | 2018-09-12 |
Family
ID=54547355
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014073474A Active JP6387653B2 (en) | 2014-03-31 | 2014-03-31 | Numerical controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6387653B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200306912A1 (en) * | 2019-04-01 | 2020-10-01 | Fanuc Corporation | Monitoring device, monitoring system and monitoring method |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6430926B2 (en) * | 2015-12-24 | 2018-11-28 | ファナック株式会社 | Numerical control device, method, and computer program for controlling machine tool |
JP6863184B2 (en) * | 2017-08-31 | 2021-04-21 | ブラザー工業株式会社 | Machine tools, control devices, control methods and computer programs |
JPWO2022030437A1 (en) * | 2020-08-05 | 2022-02-10 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3606595B2 (en) * | 1994-01-28 | 2005-01-05 | 三菱電機株式会社 | Machine tool control device |
-
2014
- 2014-03-31 JP JP2014073474A patent/JP6387653B2/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200306912A1 (en) * | 2019-04-01 | 2020-10-01 | Fanuc Corporation | Monitoring device, monitoring system and monitoring method |
Also Published As
Publication number | Publication date |
---|---|
JP2015197684A (en) | 2015-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6387653B2 (en) | Numerical controller | |
US10926367B2 (en) | Machine tool | |
US20100063617A1 (en) | Machining state checking method and machining state checking apparatus | |
JP7148421B2 (en) | Preventive maintenance system for machine tools | |
JP2017033346A (en) | Information acquisition device for machine tool | |
US20150051728A1 (en) | Detecting method of abnormality of machine tool operation | |
EP0417289B1 (en) | Electric discharge machine equipped with control information display function | |
JP2016083759A (en) | Processing state monitoring method and system for work machine | |
JP2006189472A (en) | Spectacle lens processing device | |
US9984452B2 (en) | Monitoring apparatus for machine tool | |
JP2020116666A (en) | Tool management system of machine tool | |
JP6637689B2 (en) | Machine tool tool state determination device | |
JP2017121679A (en) | Wire electric discharge machine | |
JPH10286743A (en) | Tool abnormality detection device for machine tool, and recording medium in which tool abnormality detecting program for machine tool is recorded | |
KR20090076363A (en) | A machine tool monitoring system | |
CN110919392B (en) | Multi-Y-axis automatic machining system and control method | |
JP4915319B2 (en) | Machine tool control device | |
JP2014014914A (en) | Cutting device and cutting method | |
JP4615242B2 (en) | Rotating blade replacement time determination method and cutting device | |
US20240075574A1 (en) | Machine Tool, Machine Tool Control Method, and Machine Tool Control Program | |
CN108942407B (en) | Device and method for detecting breakage of main shaft belt of machining center | |
JP2017140675A (en) | Cutting tool monitoring device | |
JP7000560B2 (en) | Abnormality sign detection device and machine tool | |
JP2020151817A (en) | Diagnostic device, diagnostic system, and diagnostic program | |
WO2023218590A1 (en) | Control device, machine tool, and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170221 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180206 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180329 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180717 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180730 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6387653 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |