JP4396554B2 - Numerical control apparatus, numerical control method, and control program - Google Patents
Numerical control apparatus, numerical control method, and control program Download PDFInfo
- Publication number
- JP4396554B2 JP4396554B2 JP2005076038A JP2005076038A JP4396554B2 JP 4396554 B2 JP4396554 B2 JP 4396554B2 JP 2005076038 A JP2005076038 A JP 2005076038A JP 2005076038 A JP2005076038 A JP 2005076038A JP 4396554 B2 JP4396554 B2 JP 4396554B2
- Authority
- JP
- Japan
- Prior art keywords
- interference
- speed
- determination result
- command
- 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.)
- Expired - Fee Related
Links
Images
Description
本発明は、旋盤、マシニングセンタ等の工作機械を制御するための数値制御(Numerical Control)装置、数値制御方法、及び制御プログラムに関し、特に機器の干渉の確認動作時の動作速度を調整することができる数値制御装置、数値制御方法、及び制御プログラムに関する。 The present invention relates to a numerical control device, a numerical control method, and a control program for controlling a machine tool such as a lathe and a machining center, and in particular, can adjust an operation speed during an operation of checking for interference of equipment. The present invention relates to a numerical control device, a numerical control method, and a control program.
例えば旋盤、マシニングセンタ等の工作機械を制御するための数値制御(Numerical Control)装置は、NC加工プログラムに従って工作機械の動作を制御し、工作物に対して加工を行う。NC加工プログラムは、準備機能(G機能、Gコード)、補助機能(M機能、Mコード)、主軸機能(Sコード)、送り機能(Fコード)、工具機能(T機能)等により、座標系の設定、工具又は工作物の移動指令、主軸の回転等を制御し、工作物に対して加工を行うためのプログラムであり、コンピュータで実行することにより、工作機械の動作を制御する。 For example, a numerical control device for controlling a machine tool such as a lathe or a machining center controls the operation of the machine tool according to the NC machining program and performs machining on the workpiece. NC machining program is coordinate system by preparation function (G function, G code), auxiliary function (M function, M code), spindle function (S code), feed function (F code), tool function (T function), etc. Is a program for controlling the setting of the tool, the movement command of the tool or the workpiece, the rotation of the spindle, etc., and machining the workpiece, and the operation of the machine tool is controlled by being executed by a computer.
NC加工プログラムが新規に作成された場合、又は修正された場合、動作が制御される工具又は工作物の動作が保証されるものではなく、NC加工プログラムは、動作の確認を行っていない状態で完成とは言えない。NC加工プログラムが新規に作成された場合、又は修正された場合、従来は、動作が制御される工具又は工作物の動作を手動で行い、干渉等の発生の有無を確認していた。 When an NC machining program is newly created or modified, the operation of the tool or workpiece whose operation is controlled is not guaranteed, and the NC machining program is in a state where the operation has not been confirmed. Not complete. When an NC machining program is newly created or modified, conventionally, the operation of a tool or workpiece whose operation is controlled is manually performed to check for the occurrence of interference or the like.
たとえば特許文献1では、NC加工プログラムを手動モードで実行し、手動ハンドルの回転速度に応じて工具又は工作物の移動速度を加減速するNC加工プログラム動作確認装置が開示されている。特許文献1では、作業者が手動モードと自動モードとを切替可能になっており、干渉に影響のない場合には自動モードに切り替え、NC加工プログラムで指定された速度で、干渉に影響のある場合には手動モードに切り替え、手動ハンドルの操作により低速で、それぞれ移動させることにより、干渉の有無を確認することができる。
しかし、特許文献1に開示した従来のNC加工プログラム動作確認装置では、工具又は工作物の移動速度が作業者のモード切替操作及び速度設定動作に依存しており、例えば自動モードから手動モードへ切り替えるタイミングが遅れた場合、移動体が高速で障害物に衝突することから、工具、冶具、ワーク等を損傷するおそれがあるという問題点があった。
However, in the conventional NC machining program operation confirmation device disclosed in
また、手動ハンドルを誤操作することにより、低速で動作が正常であるか否かを確認を行うべき移動位置で高速移動させてしまうことにより、工具、冶具、ワーク等を損傷するおそれもあるという問題点があった。 Also, there is a risk that tools, jigs, workpieces, etc. may be damaged by operating the manual handle at a low speed and moving at a high speed at a moving position where it should be confirmed whether the operation is normal. There was a point.
さらに、確認動作中に工具、冶具、ワーク等が相互に干渉するか否かを判断することができず、干渉すると判断した場合に動作を停止することもできないことから、工具、冶具、ワーク等の損傷を未然に防止することができないという問題点もあった。 Furthermore, it is impossible to determine whether tools, jigs, workpieces, etc. interfere with each other during the confirmation operation, and it is also impossible to stop the operation when it is determined that they interfere with each other. There was also a problem that it was not possible to prevent the damage.
本発明は、斯かる事情に鑑みてなされたものであり、工具、冶具、ワーク等を損傷させることなく、NC加工プログラムに基づく工具等の動作を確認することができる数値制御装置、数値制御方法、及び制御プログラムを提供することを目的とする。 The present invention has been made in view of such circumstances, and a numerical control device and a numerical control method capable of confirming the operation of a tool or the like based on an NC machining program without damaging a tool, jig, workpiece or the like. It is an object to provide a control program.
上記目的を達成するために第1発明に係る数値制御装置は、複数の命令で構成された加工プログラムに従って、互いに直交する3軸方向に工具とワークとを相対的に駆動する複数の軸駆動部の動作を制御する数値制御装置において、前記加工プログラムによる前記軸駆動部の動作中の干渉の有無を確認する旨を示す情報の有無を判断する第1の判断手段と、該第1の判断手段で、干渉の有無を確認する旨を示す情報が有ると判断した場合、前記軸駆動部の動作速度を、前記加工プログラムで指定した軸駆動部の動作速度より遅い速度に設定する速度設定手段と、該速度設定手段で設定した速度で前記軸駆動部を動作させる駆動手段と、前記軸駆動部が動作中に、前記命令ごとに干渉の有無を判断する第2の判断手段と、該第2の判断手段の判断結果を命令ごとに記憶手段に記憶する判断結果記憶手段と、前記駆動手段で、前記軸駆動部を動作させる加工プログラムの命令が既に実行されているか否かを判断する第3の判断手段と、前記第2の判断手段で干渉が有ると判断した場合、前記軸駆動部の動作を停止する停止手段とを備え、前記速度設定手段は、前記第3の判断手段で前記命令が既に実行されていると判断した場合、前記判断結果記憶手段に記憶してある前記命令の判断結果に基づいて干渉が無い命令であるか否かを判断し、干渉が無い命令であると判断した場合、前記軸駆動部の動作速度を前回の動作速度より速い速度に設定するようにしてあることを特徴とする。 In order to achieve the above object, a numerical controller according to a first aspect of the present invention includes a plurality of shaft drive units that relatively drive a tool and a workpiece in three mutually perpendicular directions in accordance with a machining program composed of a plurality of instructions. In the numerical control apparatus for controlling the operation of the first, a first determination means for determining the presence or absence of information indicating that the machining program confirms the presence or absence of interference during the operation of the shaft drive unit, and the first determination means When it is determined that there is information indicating that the presence or absence of interference is present, speed setting means for setting the operation speed of the shaft drive unit to a speed slower than the operation speed of the axis drive unit specified by the machining program; a driving means for operating the shaft driving unit at a speed set by the speed setting means, in the shaft drive unit is operated, a second determination means for determining whether the interference for each of the instruction, the second Judgment method A determination result storage unit that stores a result in a storage unit for each command; a third determination unit that determines whether a command of a machining program for operating the shaft driving unit is already executed by the driving unit; If it is determined that the interference is present in the second determination means, and a stop means for stopping the operation of the shaft driving unit, said speed setting means, wherein the instructions already being executed by the third determination means If it is determined that there is no interference based on the determination result of the command stored in the determination result storage means, and if it is determined that there is no interference, the axis the operating speed of the drive unit, characterized in Citea Rukoto to set the speed faster than the previous operating speed.
また、第2発明に係る数値制御装置は、第1発明において、前記軸駆動部は電動であり、前記第2の判断手段は、前記軸駆動部で供給される電流値を検出する電流値検出手段と、該電流値検出手段で検出した電流値が所定値を超えたか否かを判断する第4の判断手段とを備え、該第4の判断手段で検出した電流値が所定値を超えたと判断した場合、干渉が有ると判断するようにしてあることを特徴とする。 In the numerical control device according to a second aspect of the present invention, in the first aspect, the shaft driving unit is electrically operated, and the second determining means detects a current value supplied from the shaft driving unit. And a fourth determination means for determining whether or not the current value detected by the current value detection means exceeds a predetermined value, and the current value detected by the fourth determination means exceeds a predetermined value. If it is determined, it is determined that there is interference.
また、第3発明に係る数値制御装置は、第1又は第2発明において、前記前回の動作速度は、前記加工プログラムで指定した前記軸駆動部の動作速度、又は前記速度設定手段で設定した前記軸駆動部の動作速度であることを特徴とする。 In the numerical control device according to a third aspect of the present invention, in the first or second aspect , the previous operation speed is set by the operation speed of the shaft drive unit specified by the machining program or the speed setting means. It is the operating speed of the shaft drive unit.
また、第4発明に係る数値制御装置は、第1〜第3発明のいずれかにおいて、命令ごとの干渉の有無の判断結果を、命令に基づく前記軸駆動部の移動終点の3軸で特定される座標系での座標値に対応付けて、記憶手段に記憶する判断結果記憶手段と、実行する命令に基づく前記軸駆動部の移動終点の座標値を算出する第1の座標値算出手段と、算出した座標値に基づいて前記記憶手段に記憶してある干渉の有無の判断結果を抽出する判断結果抽出手段とを備え、前記速度設定手段は、抽出した判断結果に基づいて干渉が無いと判断した場合、前記軸駆動部の速度を前回の速度より速い速度に設定するようにしてあることを特徴とする。 Further, the numerical control apparatus according to the fourth invention, in any one of the first to third invention, the determination result of the presence of interference for each instruction, is identified in three axes of movement end point of the shaft driving unit based on the instruction A determination result storage means for storing in a storage means in association with a coordinate value in a coordinate system, a first coordinate value calculation means for calculating a coordinate value of a movement end point of the axis drive unit based on a command to be executed, A determination result extraction unit that extracts a determination result of presence / absence of interference stored in the storage unit based on the calculated coordinate value, and the speed setting unit determines that there is no interference based on the extracted determination result. In this case, the speed of the shaft driving unit is set to be higher than the previous speed.
また、第5発明に係る数値制御装置は、第1〜第3発明のいずれかにおいて、命令ごとの干渉の有無の判断結果を、命令に基づく前記軸駆動部の移動始点及び移動終点の3軸で特定される座標系での座標値に対応付けて、記憶手段に記憶する判断結果記憶手段と、実行する命令に基づく前記軸駆動部の移動始点及び移動終点の座標値を算出する第2の座標値算出手段と、算出した座標値に基づいて前記記憶手段に記憶してある干渉の有無の判断結果を抽出する判断結果抽出手段とを備え、前記速度設定手段は、抽出した判断結果に基づいて干渉が無いと判断した場合、前記軸駆動部の速度を前回の速度より速い速度に設定するようにしてあることを特徴とする。 Further, in any one of the first to third inventions, the numerical control device according to the fifth aspect of the present invention provides a determination result of the presence or absence of interference for each command based on the three axes of the movement start point and the movement end point of the axis driving unit based on the command. A determination result storage means for storing in the storage means in association with the coordinate values in the coordinate system specified in (2), and a second coordinate value for calculating the coordinate values of the movement start point and movement end point of the axis drive unit based on the command to be executed. A coordinate value calculating unit; and a determination result extracting unit that extracts a determination result of presence / absence of interference stored in the storage unit based on the calculated coordinate value, wherein the speed setting unit is based on the extracted determination result When it is determined that there is no interference, the speed of the shaft driving unit is set to be higher than the previous speed.
また、第6発明に係る数値制御装置は、第1〜第3発明のいずれかにおいて、前記加工プログラムは一の記憶手段に記憶してあり、前記加工プログラムを複写して他の記憶手段に記憶する複写手段と、実行する命令を特定する情報を抽出する命令特定情報抽出手段と、抽出した特定する情報に対応する命令を、記憶してある複写した加工プログラムから抽出する命令抽出手段と、実行する命令と抽出した命令とが一致するか否かを判断する第5の判断手段とを備え、該第5の判断手段で命令が一致すると判断した場合、前記軸駆動部の速度を前回の速度より速い速度に設定するようにしてあることを特徴とする。 Further, the numerical control apparatus according to a sixth invention, in any one of the first to third invention, the machining program Yes stored in the first storage means, storing and copying the machining program to another storage means Copying means, instruction specifying information extracting means for extracting information for specifying an instruction to be executed, instruction extracting means for extracting an instruction corresponding to the extracted specifying information from a stored machining program, and execution And a fifth determining means for determining whether or not the extracted instruction matches the extracted instruction, and when the fifth determining means determines that the instructions match, the speed of the shaft drive unit is set to the previous speed. It is characterized in that a higher speed is set.
また、第7発明に係る数値制御方法は、複数の命令で構成された加工プログラムに従って、互いに直交する3軸方向に工具とワークとを相対的に駆動する複数の軸駆動部の動作を制御する数値制御装置を用いる数値制御方法において、前記加工プログラムによる前記軸駆動部の動作中の干渉の有無を確認する旨を示す情報の有無を判断し、動作中に、前記命令ごとに干渉の有無を判断し、干渉の有無の判断結果を命令ごとに記憶手段に記憶し、前記軸駆動部を動作させる加工プログラムの命令が既に実行されているか否かを判断し、干渉の有無を確認する旨を示す情報が有ると判断した場合、前記加工プログラムで指定した軸駆動部の動作速度より遅い速度で前記軸駆動部を動作させ、干渉が有ると判断した場合、前記軸駆動部の動作を停止し、前記命令が既に実行されていると判断した場合、前記記憶手段に記憶してある前記命令の判断結果に基づいて干渉が無い命令であるか否かを判断し、干渉が無い命令であると判断した場合、前記軸駆動部の動作速度を前回の動作速度より速い速度に設定することを特徴とする。 The numerical control method according to the seventh aspect of the present invention controls operations of a plurality of axis driving units that relatively drive the tool and the workpiece in three orthogonal directions in accordance with a machining program composed of a plurality of instructions. In a numerical control method using a numerical control device, the presence or absence of information indicating that the machining program confirms the presence or absence of interference during operation of the shaft drive unit is determined, and during operation, the presence or absence of interference is determined for each command. The determination result of the presence or absence of interference is stored in the storage means for each command, it is determined whether or not the command of the machining program for operating the shaft driving unit has already been executed, and the presence or absence of interference is confirmed. If it is determined that the information indicated there, the machining program is operated the shaft drive section at a slower velocity than the operating speed of the shaft driving unit specified in, if it is determined that the interference is present, the operation of the shaft driving unit stoppage When it is determined that the command has already been executed, it is determined whether or not the command has no interference based on the determination result of the command stored in the storage unit, and the command has no interference. If it is determined, the operation speed of the shaft drive unit is set to a speed higher than the previous operation speed .
また、第8発明に係る数値制御方法は、第7発明において、命令ごとに動作中の干渉の有無を判断する場合、前記軸駆動部に備えた工具にツールを装着せずに前記加工プログラムの命令に従って動作させることを特徴とする。 The numerical control method according to an eighth aspect of the present invention is the numerical control method according to the seventh aspect of the present invention, when determining whether or not there is interference during operation for each command, without attaching a tool to the tool provided in the shaft drive unit. It is characterized by operating according to instructions.
また、第9発明に係る制御プログラムは、複数の命令で構成された加工プログラムに従って、互いに直交する3軸方向に工具とワークとを相対的に駆動する複数の軸駆動部の動作を制御する数値制御装置で実行することが可能な制御プログラムにおいて、前記数値制御装置を、前記加工プログラムによる前記軸駆動部の動作中の干渉の有無を確認する旨を示す情報の有無を判断する第1の判断手段、該第1の判断手段で、干渉の有無を確認する旨を示す情報が有ると判断した場合、前記軸駆動部の動作速度を、前記加工プログラムで指定した軸駆動部の動作速度より遅い速度に設定する速度設定手段、該速度設定手段で設定した速度で前記軸駆動部を動作させる駆動手段、前記軸駆動部が動作中に、前記命令ごとに干渉の有無を判断する第2の判断手段、該第2の判断手段の判断結果を命令ごとに記憶手段に記憶する判断結果記憶手段、前記駆動手段で、前記軸駆動部を動作させる加工プログラムの命令が既に実行されているか否かを判断する第3の判断手段、及び前記第2の判断手段で干渉が有ると判断した場合、前記軸駆動部の動作を停止する停止手段として機能させ、前記第3の判断手段で前記命令が既に実行されていると判断した場合、前記判断結果記憶手段に記憶してある前記命令の判断結果に基づいて干渉が無い命令であるか否かを判断し、干渉が無い命令であると判断した場合、前記速度設定手段が、前記軸駆動部の動作速度を前回の動作速度より速い速度に設定するようにしてあることを特徴とする。 A control program according to the ninth invention is a numerical value for controlling the operation of a plurality of axis driving units that relatively drive a tool and a workpiece in three orthogonal directions according to a machining program composed of a plurality of instructions. In the control program that can be executed by the control device, a first determination is made to determine whether the numerical control device has information indicating that the machining program confirms the presence or absence of interference during the operation of the shaft driving unit. If the first determination means determines that there is information indicating that the presence or absence of interference is present, the operation speed of the shaft drive unit is slower than the operation speed of the axis drive unit specified in the machining program A speed setting means for setting the speed, a drive means for operating the shaft driving section at a speed set by the speed setting means, and a second for judging the presence or absence of interference for each command while the shaft driving section is operating. Determining means, determination result storage means for storing a determination result of the determination means of the second to the storage means for each instruction, at the driving means, whether or not a command of a machining program for operating the shaft driving unit is already running third determination means for determining, and when it is determined that the interference is present at the second determining means, to function as a stop means for stopping the operation of the shaft driving unit, said instruction by said third determination means If it is determined that the command has already been executed, it is determined whether the command has no interference based on the determination result of the command stored in the determination result storage unit, and it is determined that the command has no interference. If the speed setting means, characterized in Citea Rukoto to set the operating speed of the shaft driving portion faster than the previous operation speed.
第1発明、第7発明、及び第9発明では、加工プログラムが、軸駆動部の動作中の干渉の有無を確認する動作モードである場合、軸駆動部の動作速度を、加工プログラムで指定した軸駆動部の動作速度より遅い速度に設定する。そして、設定した速度で軸駆動部を動作させ、軸駆動部が動作中に、命令ごとに干渉の有無を判断し、干渉が有る場合に軸駆動部の動作を停止する。これにより、軸駆動部の確認動作中は動作速度を遅くすることができ、軸駆動部の動作により干渉が生じるか否かを正確に判断し、干渉が生じる場合には軸駆動部の動作を停止することができることから、軸駆動部の動作による工具、冶具、ワーク等の損傷を未然に防止することができ、加工プログラムによる軸駆動部の動作が正常であるか否かを確認することが可能となる。
また干渉の有無の判断結果を記憶しておき、軸駆動部を動作させる加工プログラムの命令が既に実行されている場合、記憶してある命令の判断結果に基づいて干渉が無い命令であるか否かを判断し、干渉が無い命令であると判断した場合、軸駆動部の動作速度を前回の動作速度より速い速度に設定する。これにより、前回の確認動作で干渉が無いと判断された命令については、確認動作を行う場合に干渉により工具、冶具、ワーク等が損傷するおそれが無い命令であることから、動作速度を速めることにより、確認動作処理に要する時間を短縮することが可能となる。
In the first invention, the seventh invention, and the ninth invention, when the machining program is an operation mode for confirming the presence or absence of interference during the operation of the shaft drive unit, the operation speed of the shaft drive unit is designated by the machining program. Set to a speed slower than the operating speed of the shaft drive. Then, the shaft drive unit is operated at the set speed, the presence or absence of interference is determined for each command while the shaft drive unit is operating, and the operation of the shaft drive unit is stopped when there is interference. This makes it possible to slow down the operation speed during the confirmation operation of the shaft drive unit, accurately determine whether or not interference occurs due to the operation of the shaft drive unit, and if the interference occurs, operate the shaft drive unit. Since it can be stopped, damage to tools, jigs, workpieces, etc. due to the operation of the shaft drive unit can be prevented in advance, and it can be confirmed whether the operation of the shaft drive unit by the machining program is normal or not It becomes possible.
In addition, when the determination result of the presence / absence of interference is stored and a machining program command for operating the shaft driving unit has already been executed, whether or not the command has no interference based on the determination result of the stored command. If it is determined that the command has no interference, the operation speed of the shaft drive unit is set to a speed higher than the previous operation speed. As a result, for commands that are determined to have no interference in the previous confirmation operation, the operation speed should be increased because there is no risk of damage to tools, jigs, workpieces, etc. due to interference when performing the confirmation operation. Thus, the time required for the confirmation operation process can be shortened.
第2発明では、軸駆動部へ供給されている電流値を検出し、検出した電流値が所定値を超えた場合に干渉が有ると判断する。これにより、干渉が生じた場合に軸駆動部へ供給過大となる電流値を検出することができ、干渉の発生を確実に検出することが可能となる。 In the second invention, the current value supplied to the shaft drive unit is detected, and it is determined that there is interference when the detected current value exceeds a predetermined value. Accordingly, it is possible to detect a current value that is excessively supplied to the shaft drive unit when interference occurs, and to reliably detect the occurrence of interference.
第3発明では、前回の確認動作で干渉が無いと判断された命令については、加工プログラムで指定した軸駆動部の動作速度、又は速度設定手段で設定した軸駆動部の動作速度よりも速い速度に設定することにより、干渉による工具、冶具、ワーク等の損傷を回避し、確認動作処理に要する時間を短縮することが可能となる。 In the third aspect of the invention, the command determined to have no interference in the previous confirmation operation is faster than the operation speed of the axis drive unit specified by the machining program or the operation speed of the axis drive unit set by the speed setting means. By setting to, damage to tools, jigs, workpieces and the like due to interference can be avoided, and the time required for the confirmation operation process can be shortened.
第4発明では、命令ごとの干渉の有無の判断結果を、命令に基づく軸駆動部の移動終点の座標値に対応付けて記憶手段に記憶しておき、実行する命令に基づく軸駆動部の移動終点の座標値を算出し、算出した座標値に基づいて干渉の有無の判断結果を抽出し、抽出した判断結果に基づいて干渉が無いと判断した場合、軸駆動部の速度を前回の速度より速い速度に設定する。これにより、軸駆動部の命令ごとの移動終点の座標値をキー情報として前回の確認動作における干渉の有無に関する情報を抽出することができ、例えば前回の動作で干渉有りと記憶されており、今回の判断で干渉無しと判断された場合には制御プログラムが修正されたものと判断して前回の動作速度よりも速い速度で動作させ、今回の判断で干渉有りと判断された場合には制御プログラムが前回のままであると判断して前回の動作速度よりも遅い速度で動作させる等、干渉の可能性に基づいて軸駆動部の動作速度を調整することができる。したがって、工具、冶具、ワーク等を損傷させることなく、制御プログラムによる軸駆動部の動作を確認することが可能となる。 In the fourth invention, the determination result of the presence or absence of interference for each command is stored in the storage means in association with the coordinate value of the movement end point of the shaft driving unit based on the command, and the movement of the shaft driving unit based on the command to be executed Calculate the coordinate value of the end point, extract the determination result of the presence or absence of interference based on the calculated coordinate value, and if it is determined that there is no interference based on the extracted determination result, the speed of the shaft drive unit is compared to the previous speed Set to a faster speed. As a result, information on the presence or absence of interference in the previous confirmation operation can be extracted using the coordinate value of the movement end point for each command of the axis drive unit as key information. For example, it is stored that there is interference in the previous operation. If it is determined that there is no interference, it is determined that the control program has been corrected and operated at a speed higher than the previous operation speed. If it is determined that there is interference in this determination, the control program It is possible to adjust the operation speed of the shaft drive unit based on the possibility of interference, for example, by determining that the operation speed remains unchanged from the previous operation. Therefore, it is possible to confirm the operation of the shaft driving unit by the control program without damaging tools, jigs, workpieces and the like.
第5発明では、命令ごとの干渉の有無の判断結果を、命令に基づく軸駆動部の移動始点及び移動終点の座標値に対応付けて、記憶手段に記憶しておき、実行する命令に基づく軸駆動部の移動始点及び移動終点の座標値を算出し、算出した座標値に基づいて記憶手段に記憶してある干渉の有無の判断結果を抽出し、抽出した判断結果に基づいて干渉が無いと判断した場合、軸駆動部の速度を前回の速度より速い速度に設定する。これにより、軸駆動部の命令ごとの移動始点及び終点の座標値をキー情報として前回の確認動作における干渉の有無に関する情報を抽出することができ、例えば前回の動作で干渉有りと記憶されており、今回の判断で干渉無しと判断された場合には制御プログラムが修正されたものと判断して前回の動作速度よりも速い速度で動作させ、今回の判断で干渉有りと判断された場合には制御プログラムが前回のままであると判断して前回の動作速度よりも遅い速度で動作させる等、干渉の可能性に基づいて軸駆動部の動作速度を調整することができる。したがって、工具、冶具、ワーク等を損傷させることなく、制御プログラムによる軸駆動部の動作を確認することが可能となる。 In the fifth invention, the determination result of the presence or absence of interference for each command is stored in the storage means in association with the coordinate values of the movement start point and the movement end point of the axis driving unit based on the command, and the axis based on the command to be executed Calculate the coordinate values of the movement start point and movement end point of the drive unit, extract the determination result of the presence or absence of interference stored in the storage means based on the calculated coordinate value, and if there is no interference based on the extracted determination result If it is determined, the speed of the shaft drive unit is set to a speed higher than the previous speed. As a result, it is possible to extract information on the presence or absence of interference in the previous confirmation operation using the coordinate values of the movement start point and end point for each command of the axis drive unit as key information, and for example, it is stored that there is interference in the previous operation. If it is determined that there is no interference in this determination, it is determined that the control program has been modified and operated at a speed higher than the previous operation speed, and if it is determined that there is interference in this determination It is possible to adjust the operation speed of the shaft drive unit based on the possibility of interference, for example, by determining that the control program remains as it was last time and operating at a speed slower than the previous operation speed. Therefore, it is possible to confirm the operation of the shaft driving unit by the control program without damaging tools, jigs, workpieces and the like.
第6発明では、加工プログラムは一の記憶手段に記憶してあり、加工プログラムを複写して他の記憶手段に記憶し、実行する命令を特定する情報、例えば行番号を抽出し、抽出した特定する情報に対応する命令を、記憶してある複写した加工プログラムから抽出し、実行する命令と抽出した命令とが一致する場合、軸駆動部の速度を前回の速度より速い速度に設定する。これにより、前回の命令と今回の命令とが一致する場合には、前回の確認動作における干渉の有無に関する情報の信頼性が高いものと判断することができ、例えば前回の動作で干渉有りと記憶されており、今回の判断で干渉無しと判断された場合には制御プログラムが修正されたものと判断して高速に移動させ、今回の判断で干渉有りと判断された場合には制御プログラムが前回のままであると判断して低速に移動させることができる。また、前回の命令と今回の命令とが一致しない場合には、前回の確認動作における干渉の有無に関する情報の信頼性が低いものと判断することができ、例えば前回の動作で干渉無しと記憶されている場合であっても低速で移動させる等、干渉の可能性に基づいて軸駆動部の動作速度を調整することができる。したがって、工具、冶具、ワーク等を損傷させることなく、制御プログラムによる軸駆動部の動作を確認することが可能となる。 In the sixth invention, the machining program is stored in one storage means, the machining program is copied and stored in another storage means, information for specifying an instruction to be executed, for example, a line number is extracted and extracted The command corresponding to the information to be extracted is extracted from the stored copied machining program, and when the command to be executed matches the extracted command, the speed of the shaft drive unit is set to a speed higher than the previous speed. As a result, if the previous command matches the current command, it can be determined that the reliability of the information regarding the presence or absence of interference in the previous check operation is high. For example, the previous operation stores interference. If it is determined that there is no interference in this determination, it is determined that the control program has been corrected and moved at high speed, and if it is determined in this determination that there is interference, the control program is It is possible to move the vehicle at a low speed. If the previous command and the current command do not match, it can be determined that the reliability of the information regarding the presence or absence of interference in the previous check operation is low. For example, it is stored as no interference in the previous operation. Even in such a case, it is possible to adjust the operating speed of the shaft driving unit based on the possibility of interference, such as moving at a low speed. Therefore, it is possible to confirm the operation of the shaft driving unit by the control program without damaging tools, jigs, workpieces and the like.
第8発明では、命令ごとに動作中の干渉の有無を判断する場合、軸駆動部に備えた工具にツールを装着せずに加工プログラムの命令に従って動作させる。これにより、例えば穴あけ加工が有り、干渉が生じる場合であっても、冶具に穴を開けることがなく、無用な損傷を未然に回避することが可能となる。 In the eighth invention, when it is determined whether or not there is interference during operation for each command, the tool provided in the shaft drive unit is operated according to the command of the machining program without attaching a tool. As a result, for example, even when there is a drilling process and interference occurs, it is possible to avoid unnecessary damage without drilling a hole in the jig.
本発明によれば、干渉の有無等の確認動作中は、軸駆動部の動作速度を遅くすることができ、軸駆動部の動作により干渉が生じるか否かを正確に判断し、干渉が生じる場合には軸駆動部の動作を停止することができることから、軸駆動部の動作による工具、冶具、ワーク等の損傷を未然に防止することができ、加工プログラムによる軸駆動部の動作が正常であるか否かを確認することが可能となる。 According to the present invention, during the operation of checking for the presence or absence of interference, the operation speed of the shaft drive unit can be slowed down, and it is accurately determined whether or not interference occurs due to the operation of the shaft drive unit, and interference occurs. In this case, since the operation of the shaft drive unit can be stopped, damage to tools, jigs, workpieces, etc. due to the operation of the shaft drive unit can be prevented in advance, and the operation of the shaft drive unit by the machining program is normal. It is possible to confirm whether or not there is.
また、本発明によれば、前回の確認動作で干渉が無いと判断された命令については、確認動作を行う場合に干渉により工具、冶具、ワーク等が損傷するおそれが無い命令であることから、動作速度を速めることにより、確認動作処理に要する時間を短縮することが可能となる。 In addition, according to the present invention, since the instruction determined to have no interference in the previous confirmation operation is a command that does not cause damage to the tool, jig, workpiece, etc. due to interference when performing the confirmation operation, By increasing the operation speed, the time required for the confirmation operation process can be shortened.
さらに、本発明によれば、例えば穴あけ加工が有り、干渉が生じる場合であっても、冶具に穴を開けることがなく、無用な損傷を未然に回避することが可能となる。 Furthermore, according to the present invention, for example, even when there is a drilling process and interference occurs, it is possible to avoid unnecessary damage without making a hole in the jig.
以下に、本発明をその実施の形態を示す図面に基づいて説明する。図1は、本発明の実施の形態に係る数値制御装置の構成を示すブロック図である。本発明の実施の形態に係る数値制御装置1は、少なくともCPU(中央制御装置)10を中心として、CPU10に内部バス18を介して接続したROM11、RAM12、13、表示装置14、入力装置15、外部に備えたモータ(駆動装置)等の軸駆動部21と通信可能に接続してある外部インタフェース16、補助記憶装置17等で構成されている。
Hereinafter, the present invention will be described with reference to the drawings illustrating embodiments thereof. FIG. 1 is a block diagram showing a configuration of a numerical controller according to an embodiment of the present invention. A
CPU10は、内部バス18を介して数値制御装置の上述したようなハードウェア各部と接続されており、上述したハードウェア各部を制御するとともに、ROM11に記憶されている処理プログラム、例えば工作機械の動作速度を条件に応じて数値制御する数値制御プログラム(以下、制御プログラム)を実行する。
The
ROM11は、不揮発性の記憶媒体であり、工作機械を制御する制御プログラムを記憶している。RAM12は、フラッシュメモリ等の不揮発性の記憶媒体であり、旋盤、マシニングセンタ等の工作機械の動作を数値制御し、工作物に対して加工を行う加工プログラム、及び加工プログラム、制御プログラム等の実行中に発生する一時的なデータを記憶する。また、加工プログラムの複製を記憶することもできる。加工プログラムは、通信手段(図示せず)を介して外部のコンピュータから、又はDVD、CD−ROM等の可搬型記憶媒体から補助記憶装置17を介して取得することが可能である。
The
RAM13は、フラッシュメモリ等の不揮発性の記憶媒体であり、運転に用いる加工プログラムのプログラム番号、その時点で実行している命令を識別する識別情報、例えば命令番号等を記憶する。
The
表示装置14は、ユーザへ画像を表示出力する液晶表示装置(LCD)、表示ディスプレイ(CRT)等の表示装置であり、運転中の加工プログラムの内容、実行している命令の内容、動作速度、干渉の有無、干渉の有無の確認動作モードであるか否か等を表示する。
The
入力装置15は、加工プログラム及び制御プログラムの実行に必要な条件等の情報を入力するキーボード、タッチパネル等に加えて、加工プログラムの確認動作を行う確認動作モードのオンオフ制御を行うパネルスイッチ、ボタンスイッチ、回転スイッチ等も含む。外部インタフェース16は、機器を移動、回転等する駆動源等へ、実行する加工プログラムに沿った指示信号を送出する。モータ(駆動装置)等の軸駆動部21は、通信可能に接続してある外部インタフェース16を介して、CPU10から加工プログラムに従った指示信号を受付ける。軸駆動部21は、互いに直交するx軸、y軸、z軸方向の移動及び3軸回りの回転の駆動源となる。
The
補助記憶装置17は、CD、DVD等の可搬型記憶媒体4を用い、RAM12へ、CPU10が処理する加工プログラム、制御プログラム、データ等をダウンロードする。また、CPU10が処理したデータをバックアップすべく書き込むことも可能である。
The
以下、上述した構成の数値制御装置1で用いる加工プログラムに従って、工具とワークと、又は工具と冶具との干渉の有無を確認する場合の動作速度の調整方法について説明する。図2は、本発明の実施の形態に係る数値制御装置1のCPU10の処理手順を示すフローチャートである。なお、本実施の形態では、加工プログラムの動作途上で確認動作モードへ切り替える場合について説明するが、特にこれに限定されるものではなく、加工プログラムの動作前にパラメータを用いて加工プログラムごとに指定しておいても良い。また、確認動作モードへの切り替えは、数値制御装置1の入力装置15により行われる。例えばパネルスイッチ、プッシュボタン等によるモード切替であっても良いし、回転スイッチによるモード設定であっても良い。
Hereinafter, a method for adjusting the operation speed when checking the presence of interference between the tool and the workpiece or between the tool and the jig according to the machining program used in the
数値制御装置1のCPU10は、加工プログラムに含まれる命令ごとにRAM13に記憶してある干渉の有無の判定結果を、前回の干渉有無の判結果として複写し、今回の干渉の有無の判定結果を記憶する領域を初期化する(ステップS201)。
The
CPU10は、加工プログラムが終了したか否かを判断し(ステップS202)、CPU10が、加工プログラムが終了したと判断した場合(ステップS202:YES)、処理を終了する。CPU10が、加工プログラムが終了していないと判断した場合(ステップS202:NO)、CPU10は、加工プログラムを構成する命令を1ブロックずつ順次RAM13に読込み(ステップS203)、確認動作モードであるか否かを判断する(ステップS204)。なお、ステップS204は第1の判断手段として機能する。
The
CPU10が、確認動作モードではないと判断した場合(ステップS204:NO)、CPU10は、読込んだ命令を加工プログラムの指示に沿って実行し(ステップS205)、ステップS202へ戻って上述した処理を繰り返す。
When the
CPU10が、確認動作モードであると判断した場合(ステップS204:YES)、CPU10は、読込んだ命令について、加工プログラムで指定された速度よりも遅い動作速度で実行し(ステップS206)、干渉の有無を検出する(ステップS207)。なお、ステップS206は、速度設定手段及び駆動手段として機能する。
When the
CPU10は、干渉が生じたか否かを判断し(ステップS208)、CPU10が、干渉が生じていないと判断した場合(ステップS208:NO)、CPU10は、ステップS202へ戻り、上述した処理を繰り返す。CPU10が、干渉が生じていると判断した場合(ステップS208:YES)、CPU10は、実行中の命令を停止し(ステップS209)、処理を終了する。なお、ステップS208は、第2の判断手段として、ステップS209は、停止手段として、それぞれ機能する。
The
CPU10による命令の動作確認処理は、ステップS206に示すように、読込んだ命令について、加工プログラムで指定された速度よりも遅い動作速度で実行することに限定されるものではない。図3は、本発明の実施の形態に係る数値制御装置1のCPU10の一の動作確認処理のフローチャートである。
The instruction operation confirmation process by the
図3に示す動作確認処理では、空間を互いに直交するx軸、y軸、z軸方向に適当な間隔で分割し、分割したエリアにエリア番号を付し、エリア番号に対応付けて、干渉の有無を判定したか否か及び判定結果をRAM13に判定結果テーブル131として記憶しておく。エリアの照会は、命令ごとの工具先端部の移動終点の座標値により行う。
In the operation confirmation process shown in FIG. 3, the space is divided at appropriate intervals in the x-axis, y-axis, and z-axis directions orthogonal to each other, area numbers are assigned to the divided areas, and the areas are associated with the area numbers. Whether the presence / absence has been determined and the determination result are stored in the
図4は、判定結果テーブル131の一例を示す図である。判定結果テーブル131は、エリア番号ごとに今回の判定結果と前回の判定結果とを記憶してある。判定結果は、‘1’が干渉あり、‘2’が干渉なし、‘0’が未確認を、それぞれ示している。 FIG. 4 is a diagram illustrating an example of the determination result table 131. The determination result table 131 stores the current determination result and the previous determination result for each area number. The determination result indicates that “1” is interference, “2” is no interference, and “0” is unconfirmed.
CPU10は、読込んだ命令による移動終点位置を算出し(ステップS301)、算出した移動終点位置を含むエリア番号を特定する(ステップS302)。CPU10は、RAM13の判定結果テーブル131を照会して(ステップS303)、前回の判定結果が‘2’であるか否かを判断する(ステップS304)。なお、ステップS301は、第1の座標値算出手段として、ステップS303は、判断結果抽出手段として、ステップS304は、第3の判断手段として、それぞれ機能する。
The
CPU10が、前回の判定結果が‘2’であると判断した場合(ステップS304:YES)、CPU10は、干渉のおそれがほとんどないものと判断し、工具の移動速度を‘3’に設定する(ステップS305)。ここで、工具の移動速度は、‘3’が加工プログラムで指定した移動速度よりも速い速度又は同等の速度を、‘2’が指定した移動速度より遅い速度で‘1’の場合より速い速度を、‘1’が指定した移動速度より遅い速度を、それぞれ示している。
When the
CPU10が、前回の判定結果が‘2’ではないと判断した場合(ステップS304:NO)、CPU10は、今回の判定結果が‘2’であるか否かを判断する。CPU10が、今回の判定結果が‘2’であると判断した場合(ステップS306:YES)、CPU10は、干渉のおそれが少ないものと判断し、工具の移動速度を‘2’に設定する(ステップS307)。
When the
CPU10が、今回の判定結果が‘2’ではないと判断した場合(ステップS306:NO)、CPU10は、干渉の可能性が高いものと判断し、工具の移動速度を‘1’に設定する(ステップS308)。CPU10は、設定された移動速度で命令を実行し(ステップS309)、干渉が有るか否かを判断する(ステップS310)。
When the
CPU10が、干渉がないと判断した場合(ステップS310:NO)、CPU10は、判定結果テーブル131の今回の判定結果を‘2’に更新し(ステップS311)、ステップS202へ戻る。CPU10が、干渉が有ると判断した場合(ステップS310:YES)、CPU10は、判定結果テーブル131の今回の判定結果を‘1’に更新し(ステップS312)、ステップS209へ戻り、実行中の命令を停止する(ステップS209)。
When the
なお、判定結果テーブル131は、命令ごとの工具先端部の移動終点の座標値により定まるエリア番号をキー情報として照会する方法に限定されるものではなく、例えば命令ごとの工具先端部の移動始点及び移動終点の座標値に基づいて照会する方法であっても良い。図5は、工具先端部の移動始点及び移動終点の座標値に基づいて照会する場合の判定結果テーブル131の一例を示す図である。このように、移動始点及び移動終点に基づいて前回の判定結果を取得する方法では、移動終点位置に基づいてエリアを特定する特定処理を省くことができ、CPU10の演算処理負荷を小さくすることが可能となる。
Note that the determination result table 131 is not limited to the method of inquiring, as key information, the area number determined by the coordinate value of the movement end point of the tool tip for each command. A method of inquiring based on the coordinate value of the movement end point may be used. FIG. 5 is a diagram illustrating an example of the determination result table 131 when inquiring based on the coordinate values of the movement start point and the movement end point of the tool tip. As described above, in the method of obtaining the previous determination result based on the movement start point and the movement end point, it is possible to omit the specifying process of specifying the area based on the movement end point position, and to reduce the calculation processing load of the
また、命令が更新されているか否かに基づいて命令の動作確認処理を実行しても良い。図6は、本発明の実施の形態に係る数値制御装置1のCPU10の他の動作確認処理のフローチャートである。
Further, the instruction operation confirmation process may be executed based on whether or not the instruction has been updated. FIG. 6 is a flowchart of another operation confirmation process of the
図6に示す動作確認処理では、前回の動作確認処理に用いた加工プログラムそのものをRAM12に複写しておき、1ブロックずつ命令を読込む都度、読込んだ加工プログラムと複写してある加工プログラムとを対比することにより、読込んだ命令が更新されているか否かを判断する。命令が更新されていない場合、前回の判定結果を信頼することができることから、動作速度を遅くする必要がないと判断することができるのに対し、更新されている場合、前回の判定結果を信頼することができないものと判断し、条件に応じて動作速度を調整する。
In the operation confirmation process shown in FIG. 6, the machining program itself used in the previous operation confirmation process is copied to the
図7は、判定結果テーブル131の他の例を示す図である。判定結果テーブル131は、複写した加工プログラムの命令ごとに今回の判定結果と前回の判定結果とを記憶してある。判定結果は、‘1’が干渉あり、‘2’が干渉なし、‘0’が未確認を、それぞれ示している。 FIG. 7 is a diagram illustrating another example of the determination result table 131. The determination result table 131 stores the current determination result and the previous determination result for each instruction of the copied machining program. The determination result indicates that “1” is interference, “2” is no interference, and “0” is unconfirmed.
数値制御装置1のCPU10は、読込んだ命令を特定する情報、例えば行番号を抽出し(ステップS601)、抽出した命令を特定する情報に基づいて、RAM12に複写して記憶してある加工プログラムの命令を特定する(ステップS602)。CPU10は、読込んだ命令と、複写して記憶してある加工プログラム中で特定された命令とが一致するか否かを判断する(ステップS603)。なお、ステップS601は、命令特定情報抽出手段として、ステップS602は、命令抽出手段として、ステップS603は、第5の判断手段として、それぞれ機能する。
The
CPU10が、両命令が一致しないと判断した場合(ステップS603:NO)、CPU10は、RAM13の判定結果テーブル131を照会して(ステップS604)、前回の判定結果が‘1’であるか否かを判断する(ステップS605)。
When the
CPU10が、前回の判定結果が‘1’ではないと判断した場合(ステップS605:NO)、CPU10は、命令が更新されていることから最初の動作確認処理と同様であると判断し、工具の移動速度を‘1’に設定する(ステップS606)。ここで、工具の移動速度は、‘3’が加工プログラムで指定した移動速度よりも速い速度を、‘2’が指定した移動速度と同等の速度を、‘1’が指定した移動速度より遅い速度を、それぞれ示している。
When the
CPU10が、前回の判定結果が‘1’であると判断した場合(ステップS605:YES)、CPU10は、命令が更新されていることから何らかの修正が施されているものと判断し、工具の移動速度を加工プログラムの設定と同じ‘2’に設定する(ステップS607)。
When the
CPU10が、両命令が一致すると判断した場合(ステップS603:YES)、CPU10は、RAM13の判定結果テーブル131を照会して(ステップS608)、前回の判定結果が‘2’であるか否かを判断する(ステップS609)。CPU10が、前回の判定結果が‘2’ではないと判断した場合(ステップS609:NO)、CPU10は、干渉の可能性が高いものと判断し、工具の移動速度を‘1’に設定する(ステップS610)。CPU10が、前回の判定結果が‘2’であると判断した場合(ステップS609:YES)、CPU10は、干渉の可能性がほとんどないものと判断し、工具の移動速度を‘3’に設定する(ステップS611)。
When the
CPU10は、設定された移動速度で命令を実行し(ステップS612)、干渉が有るか否かを判断する(ステップS613)。CPU10が、干渉がないと判断した場合(ステップS613:NO)、CPU10は、判定結果テーブル131の今回の判定結果を‘2’に更新し(ステップS614)、ステップS202へ戻る。CPU10が、干渉が有ると判断した場合(ステップS613:YES)、CPU10は、判定結果テーブル131の今回の判定結果を‘1’に更新し(ステップS615)、ステップS209へ戻り、実行中の命令を停止する(ステップS209)。
The
なお、実行中の命令を停止する場合、数値制御装置1のCPU10は、スピーカ等の音声出力装置(図示せず)に対して警告音の出力を支持する信号を送出しても良いし、表示装置14を介して警告表示しても良い。
When the command being executed is stopped, the
また、確認動作中の干渉の有無の検出方法は、特に限定されるものではない。例えば、干渉が有る場合に生じる軸駆動部21へ供給される電流値の変動を検出することにより、干渉が生じていることを検出する。図8は、本発明の実施の形態に係る数値制御装置1のCPU10の、軸駆動部21へ供給される電流値に基づく干渉の有無の判断処理のフローチャートである。
Moreover, the detection method of the presence or absence of interference during confirmation operation | movement is not specifically limited. For example, the occurrence of interference is detected by detecting fluctuations in the current value supplied to the
数値制御装置1のCPU10は、軸駆動部へ供給される電流値を一定時間間隔で検出する(ステップS801)。CPU10は、確認動作モードであるか否かを判断する(ステップS802)。なお、ステップS801は、電流値検出手段として機能する。
The
CPU10が、確認動作モードではないと判断した場合(ステップS802:NO)、CPU10は、異常な電流値を検出している時間を計時する電流検出タイマを0(ゼロ)に初期化し(ステップS803)、干渉無しである旨を示す信号を送出する(ステップS804)。
When the
CPU10が、確認動作モードであると判断した場合(ステップS802:YES)、CPU10は、検出した電流値が所定の上限値を超えているか否かを判断する(ステップS805)。CPU10が、検出した電流値が所定の上限値を超えていないと判断した場合(ステップS805:NO)、CPU10はステップS803へ処理を移行する。なお、ステップS805は、第4の判断手段として機能する。
When the
CPU10が、検出した電流値が所定の上限値を超えていると判断した場合(ステップS805:YES)、CPU10は、異常な電流値を検出したものと判断し、電流検知タイマによる計時を開始する(ステップS806)。CPU10は、電流検知タイマで計時した計時時間が、所定の時間より大きいか否かを判断する(ステップS807)。
When the
CPU10が、電流検知タイマで計時した計時時間が所定の時間以下であると判断した場合(ステップS807:NO)、CPU10はステップS804へ処理を移行する。CPU10が、電流検知タイマで計時した計時時間が所定の時間より大きいと判断した場合(ステップS807:YES)、CPU10は、干渉有りである旨を示す信号を送出する(ステップS808)。
When the
以上のように本実施の形態によれば、干渉の有無等の確認動作中は、軸駆動部21の動作速度を遅くすることができ、軸駆動部21の動作により干渉が生じるか否かを正確に判断し、干渉が生じる場合には軸駆動部21の動作を停止することができることから、軸駆動部21の動作による工具、冶具、ワーク等の損傷を未然に防止することができ、加工プログラムによる軸駆動部21の動作が正常であるか否かを確認することが可能となる。
As described above, according to the present embodiment, it is possible to slow down the operation speed of the
また、前回の確認動作で干渉が無いと判断された命令については、確認動作を行う場合に干渉により工具、冶具、ワーク等が損傷するおそれが無い命令であることから、動作速度を速めることにより、確認動作処理に要する時間を短縮することが可能となる。 In addition, for commands that were determined to have no interference in the previous confirmation operation, the command, which does not cause damage to tools, jigs, workpieces, etc. due to interference when performing the confirmation operation, can be increased by increasing the operation speed. Thus, the time required for the confirmation operation process can be shortened.
なお、命令ごとに動作中の干渉の有無を判断する場合、軸駆動部21に備えた工具を、ツールを装着することなく加工プログラムの命令に従って動作させることが好ましい。これにより、例えば穴あけ加工が有り、干渉が生じる場合であっても、冶具に穴を開けることがなく、無用な損傷を未然に回避することが可能となる。
When determining whether or not there is interference during operation for each command, it is preferable to operate the tool provided in the
また、本発明は上述した実施の形態に何等限定されるものではなく、本発明の要旨を逸脱しない範囲で種々の形態で実施することができる。 The present invention is not limited to the above-described embodiments, and can be implemented in various forms without departing from the gist of the present invention.
4 可搬型記憶媒体
10 CPU
11 ROM
12、13 RAM
14 表示装置
15 入力装置
16 外部インタフェース
17 補助記憶装置
21 軸駆動部
4
11 ROM
12, 13 RAM
14
Claims (9)
前記加工プログラムによる前記軸駆動部の動作中の干渉の有無を確認する旨を示す情報の有無を判断する第1の判断手段と、
該第1の判断手段で、干渉の有無を確認する旨を示す情報が有ると判断した場合、前記軸駆動部の動作速度を、前記加工プログラムで指定した軸駆動部の動作速度より遅い速度に設定する速度設定手段と、
該速度設定手段で設定した速度で前記軸駆動部を動作させる駆動手段と、
前記軸駆動部が動作中に、前記命令ごとに干渉の有無を判断する第2の判断手段と、
該第2の判断手段の判断結果を命令ごとに記憶手段に記憶する判断結果記憶手段と、
前記駆動手段で、前記軸駆動部を動作させる加工プログラムの命令が既に実行されているか否かを判断する第3の判断手段と、
前記第2の判断手段で干渉が有ると判断した場合、前記軸駆動部の動作を停止する停止手段とを備え、
前記速度設定手段は、
前記第3の判断手段で前記命令が既に実行されていると判断した場合、前記判断結果記憶手段に記憶してある前記命令の判断結果に基づいて干渉が無い命令であるか否かを判断し、干渉が無い命令であると判断した場合、前記軸駆動部の動作速度を前回の動作速度より速い速度に設定するようにしてあることを特徴とする数値制御装置。 In a numerical control device that controls the operation of a plurality of axis driving units that relatively drive a tool and a workpiece in three axial directions orthogonal to each other in accordance with a machining program configured by a plurality of instructions,
First determination means for determining presence / absence of information indicating confirmation of presence / absence of interference during operation of the shaft driving unit by the machining program;
When it is determined by the first determination means that there is information indicating that the presence or absence of interference is confirmed, the operation speed of the shaft drive unit is set to be slower than the operation speed of the shaft drive unit specified by the machining program. Speed setting means to set;
Driving means for operating the shaft driving section at a speed set by the speed setting means;
A second determining means for determining presence or absence of interference for each of the commands while the shaft driving unit is operating;
A determination result storing means for storing in the memory means for each instruction determination result of said second determination means,
A third judging means for judging whether or not an instruction of a machining program for operating the shaft driving unit has already been executed by the driving means;
If it is determined that the interference is present in the second determination means, and a stop means for stopping the operation of the shaft driving unit,
The speed setting means includes
When the third determination means determines that the command has already been executed, it is determined whether or not the instruction has no interference based on the determination result of the command stored in the determination result storage means. If it is determined that the interference is not instruction, a numerical control device according to claim Citea Rukoto to set the operating speed of the shaft driving portion faster than the operating speed of the previous.
前記第2の判断手段は、
前記軸駆動部で供給される電流値を検出する電流値検出手段と、
該電流値検出手段で検出した電流値が所定値を超えたか否かを判断する第4の判断手段と
を備え、
該第4の判断手段で検出した電流値が所定値を超えたと判断した場合、干渉が有ると判断するようにしてあることを特徴とする請求項1記載の数値制御装置。 The shaft driving unit is electric,
The second determination means includes
Current value detecting means for detecting a current value supplied by the shaft driving unit;
And fourth determination means for determining whether or not the current value detected by the current value detection means exceeds a predetermined value,
2. The numerical control apparatus according to claim 1, wherein when it is determined that the current value detected by the fourth determination means exceeds a predetermined value, it is determined that there is interference.
実行する命令に基づく前記軸駆動部の移動終点の座標値を算出する第1の座標値算出手段と、
算出した座標値に基づいて前記記憶手段に記憶してある干渉の有無の判断結果を抽出する判断結果抽出手段と
を備え、
前記速度設定手段は、
抽出した判断結果に基づいて干渉が無いと判断した場合、前記軸駆動部の速度を前回の速度より速い速度に設定するようにしてあることを特徴とする請求項1乃至請求項3のいずれかに記載の数値制御装置。 A determination result storage unit that stores a determination result of the presence or absence of interference for each command in a storage unit in association with a coordinate value in a coordinate system specified by three axes of the movement end point of the axis driving unit based on the command;
First coordinate value calculating means for calculating a coordinate value of a movement end point of the axis driving unit based on an instruction to be executed;
A determination result extraction means for extracting a determination result of the presence or absence of interference stored in the storage means based on the calculated coordinate value;
The speed setting means includes
4. The method according to claim 1, wherein when it is determined that there is no interference based on the extracted determination result, the speed of the shaft driving unit is set to a speed higher than the previous speed . numerical controller according to.
実行する命令に基づく前記軸駆動部の移動始点及び移動終点の座標値を算出する第2の座標値算出手段と、
算出した座標値に基づいて前記記憶手段に記憶してある干渉の有無の判断結果を抽出する判断結果抽出手段と
を備え、
前記速度設定手段は、
抽出した判断結果に基づいて干渉が無いと判断した場合、前記軸駆動部の速度を前回の速度より速い速度に設定するようにしてあることを特徴とする請求項1乃至請求項3のいずれかに記載の数値制御装置。 A determination result storage that stores in the storage means the determination result of the presence or absence of interference for each command in association with coordinate values in the coordinate system specified by the three axes of the movement start point and the movement end point of the axis driving unit based on the command Means,
Second coordinate value calculation means for calculating the coordinate values of the movement start point and the movement end point of the axis drive unit based on the command to be executed;
A determination result extraction means for extracting a determination result of the presence or absence of interference stored in the storage means based on the calculated coordinate value;
The speed setting means includes
4. The method according to claim 1, wherein when it is determined that there is no interference based on the extracted determination result, the speed of the shaft driving unit is set to a speed higher than the previous speed . numerical controller according to.
前記加工プログラムを複写して他の記憶手段に記憶する複写手段と、
実行する命令を特定する情報を抽出する命令特定情報抽出手段と、
抽出した特定する情報に対応する命令を、記憶してある複写した加工プログラムから抽出する命令抽出手段と、
実行する命令と抽出した命令とが一致するか否かを判断する第5の判断手段と
を備え、
該第5の判断手段で命令が一致すると判断した場合、前記軸駆動部の速度を前回の速度より速い速度に設定するようにしてあることを特徴とする請求項1乃至請求項3のいずれかに記載の数値制御装置。 The machining program is stored in one storage means,
Copy means for copying the machining program and storing it in another storage means;
Command specifying information extracting means for extracting information for specifying a command to be executed;
An instruction extracting means for extracting an instruction corresponding to the extracted specified information from a stored machining program;
And a fifth determination means for determining whether or not the instruction to be executed and the extracted instruction match,
4. The method according to claim 1, wherein when the fifth determining means determines that the instructions coincide with each other, the speed of the shaft driving unit is set to be higher than the previous speed . numerical controller according to.
前記加工プログラムによる前記軸駆動部の動作中の干渉の有無を確認する旨を示す情報の有無を判断し、
動作中に、前記命令ごとに干渉の有無を判断し、
干渉の有無の判断結果を命令ごとに記憶手段に記憶し、
前記軸駆動部を動作させる加工プログラムの命令が既に実行されているか否かを判断し、
干渉の有無を確認する旨を示す情報が有ると判断した場合、前記加工プログラムで指定した軸駆動部の動作速度より遅い速度で前記軸駆動部を動作させ、
干渉が有ると判断した場合、前記軸駆動部の動作を停止し、
前記命令が既に実行されていると判断した場合、前記記憶手段に記憶してある前記命令の判断結果に基づいて干渉が無い命令であるか否かを判断し、干渉が無い命令であると判断した場合、前記軸駆動部の動作速度を前回の動作速度より速い速度に設定することを特徴とする数値制御方法。 In a numerical control method using a numerical control device that controls operations of a plurality of axis driving units that relatively drive a tool and a workpiece in three mutually orthogonal directions according to a machining program configured by a plurality of instructions,
Determining the presence or absence of information indicating the presence or absence of interference during operation of the shaft drive unit by the machining program;
During operation, determine the presence or absence of interference for each of the instructions,
Store the result of determination of the presence or absence of interference in the storage means for each command,
Determining whether or not a machining program command for operating the shaft drive unit has already been executed,
If the information indicating that to check for interference is determined that there, before Symbol machining program is operated the shaft drive section at a slower velocity than the operating speed of the shaft driving unit specified in,
If it is determined that the interference is present, it stops the operation of the shaft driving unit,
If it is determined that the command has already been executed, it is determined whether or not the command has no interference based on the determination result of the command stored in the storage unit, and it is determined that the command has no interference. In this case, the numerical control method is characterized in that the operation speed of the shaft drive unit is set to a speed higher than the previous operation speed .
前記数値制御装置を、
前記加工プログラムによる前記軸駆動部の動作中の干渉の有無を確認する旨を示す情報の有無を判断する第1の判断手段、
該第1の判断手段で、干渉の有無を確認する旨を示す情報が有ると判断した場合、前記軸駆動部の動作速度を、前記加工プログラムで指定した軸駆動部の動作速度より遅い速度に設定する速度設定手段、
該速度設定手段で設定した速度で前記軸駆動部を動作させる駆動手段、
前記軸駆動部が動作中に、前記命令ごとに干渉の有無を判断する第2の判断手段、
該第2の判断手段の判断結果を命令ごとに記憶手段に記憶する判断結果記憶手段、
前記駆動手段で、前記軸駆動部を動作させる加工プログラムの命令が既に実行されているか否かを判断する第3の判断手段、及び
前記第2の判断手段で干渉が有ると判断した場合、前記軸駆動部の動作を停止する停止手段
として機能させ、
前記第3の判断手段で前記命令が既に実行されていると判断した場合、前記判断結果記憶手段に記憶してある前記命令の判断結果に基づいて干渉が無い命令であるか否かを判断し、干渉が無い命令であると判断した場合、前記速度設定手段が、前記軸駆動部の動作速度を前回の動作速度より速い速度に設定するようにしてあることを特徴とする制御プログラム。 A control program that can be executed by a numerical control device that controls the operation of a plurality of axis drive units that relatively drive a tool and a workpiece in three mutually orthogonal directions according to a machining program configured by a plurality of instructions In
The numerical control device,
First determination means for determining presence / absence of information indicating confirmation of presence / absence of interference during operation of the shaft driving unit by the machining program;
If the first determination means determines that there is information indicating that the presence or absence of interference is confirmed, the operation speed of the shaft drive unit is set to a speed slower than the operation speed of the shaft drive unit specified by the machining program. Speed setting means to set,
Drive means for operating the shaft drive section at a speed set by the speed setting means;
A second determining means for determining presence or absence of interference for each of the commands while the shaft driving unit is operating;
A determination result storage means for storing the determination result of the second determination means in the storage means for each instruction;
A third judging means for judging whether or not an instruction of a machining program for operating the shaft driving section has already been executed by the driving means; and
If the second determination means determines that there is interference, the second determination means functions as a stop means for stopping the operation of the shaft drive unit ,
When the third determination means determines that the instruction has already been executed, it is determined whether or not the instruction has no interference based on the determination result of the instruction stored in the determination result storage means. If it is determined that the interference is not instruction, a control program wherein the speed setting means, characterized in Citea Rukoto to set the operating speed of the shaft driving portion faster than the previous operation speed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005076038A JP4396554B2 (en) | 2005-03-16 | 2005-03-16 | Numerical control apparatus, numerical control method, and control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005076038A JP4396554B2 (en) | 2005-03-16 | 2005-03-16 | Numerical control apparatus, numerical control method, and control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006260104A JP2006260104A (en) | 2006-09-28 |
JP4396554B2 true JP4396554B2 (en) | 2010-01-13 |
Family
ID=37099293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005076038A Expired - Fee Related JP4396554B2 (en) | 2005-03-16 | 2005-03-16 | Numerical control apparatus, numerical control method, and control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4396554B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190002936A (en) * | 2017-06-30 | 2019-01-09 | 주식회사 일진글로벌 | Cnc lathe system capable of notifying changes of operational commands and method of notifying changes of operational commands of a cnc lathe |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7175340B2 (en) * | 2021-04-05 | 2022-11-18 | Dmg森精機株式会社 | Machine tools, information processing devices and information processing programs |
-
2005
- 2005-03-16 JP JP2005076038A patent/JP4396554B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190002936A (en) * | 2017-06-30 | 2019-01-09 | 주식회사 일진글로벌 | Cnc lathe system capable of notifying changes of operational commands and method of notifying changes of operational commands of a cnc lathe |
Also Published As
Publication number | Publication date |
---|---|
JP2006260104A (en) | 2006-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1758004A2 (en) | NC Machine Tool | |
JP2008027045A (en) | Numerical control apparatus provided with interference checking function | |
US10384320B2 (en) | Position compensation system and position compensation method for tool changer | |
JP4374045B2 (en) | Numerical control device with program restart function | |
US20110257778A1 (en) | Method and device for simulating nc working machine | |
WO2011135611A1 (en) | Numerical control device | |
JP7414507B2 (en) | Control device, measurement system, measurement method | |
JP4396554B2 (en) | Numerical control apparatus, numerical control method, and control program | |
JP2010231737A (en) | Numerical control device having interference check function | |
US10007252B2 (en) | Machine tool controller | |
US10890894B2 (en) | Numerical controller and misinput detecting method | |
US10996655B2 (en) | Numerical controller | |
JPH07124849A (en) | Correcting device for tool mounting position in machine tool and its correcting method | |
JP4233559B2 (en) | Numerically controlled machine tool | |
JP4867876B2 (en) | Numerical control device, numerical control program, and storage medium storing numerical control program | |
JP2007213241A (en) | Interruption workable numerically controlled machine tool | |
JPH0628838B2 (en) | Numerical control device | |
JP2008234278A (en) | Numerical control device, control program, control program recording medium, and machine tool | |
JP2002328707A (en) | Numerical controller | |
CN111185801A (en) | Numerical controller | |
JP2005040929A (en) | Machining center | |
JP2020008979A (en) | Numerical control device | |
JP2007249671A (en) | Method for preventing collision in machine tool | |
WO2023228356A1 (en) | Numerical control device and computer-readable storage medium | |
JP2020011258A (en) | Numerical control unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070328 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090526 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090528 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090722 |
|
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: 20090929 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20091012 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121030 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131030 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |