JP4396554B2 - Numerical control apparatus, numerical control method, and control program - Google Patents

Numerical control apparatus, numerical control method, and control program Download PDF

Info

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
Application number
JP2005076038A
Other languages
Japanese (ja)
Other versions
JP2006260104A (en
Inventor
敏明 鵜飼
克典 筒井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2005076038A priority Critical patent/JP4396554B2/en
Publication of JP2006260104A publication Critical patent/JP2006260104A/en
Application granted granted Critical
Publication of JP4396554B2 publication Critical patent/JP4396554B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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加工プログラムで指定された速度で、干渉に影響のある場合には手動モードに切り替え、手動ハンドルの操作により低速で、それぞれ移動させることにより、干渉の有無を確認することができる。
特開平2−212905号公報
For example, Patent Document 1 discloses an NC machining program operation confirmation device that executes an NC machining program in a manual mode and accelerates or decelerates the moving speed of a tool or a workpiece according to the rotation speed of a manual handle. In Patent Document 1, the operator can switch between the manual mode and the automatic mode. When there is no influence on the interference, the operator is switched to the automatic mode and affects the interference at the speed specified by the NC machining program. In this case, the presence or absence of interference can be confirmed by switching to the manual mode and moving each at a low speed by operating the manual handle.
JP-A-2-212905

しかし、特許文献1に開示した従来のNC加工プログラム動作確認装置では、工具又は工作物の移動速度が作業者のモード切替操作及び速度設定動作に依存しており、例えば自動モードから手動モードへ切り替えるタイミングが遅れた場合、移動体が高速で障害物に衝突することから、工具、冶具、ワーク等を損傷するおそれがあるという問題点があった。   However, in the conventional NC machining program operation confirmation device disclosed in Patent Document 1, the moving speed of the tool or workpiece depends on the operator's mode switching operation and speed setting operation, and for example, switching from the automatic mode to the manual mode. When the timing is delayed, the moving body collides with an obstacle at a high speed, which may cause damage to tools, jigs, workpieces and the like.

また、手動ハンドルを誤操作することにより、低速で動作が正常であるか否かを確認を行うべき移動位置で高速移動させてしまうことにより、工具、冶具、ワーク等を損傷するおそれもあるという問題点があった。   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の判断手段は、前記軸駆動部で供給される電流値を検出する電流値検出手段と、該電流値検出手段で検出した電流値が所定値を超えたか否かを判断する第の判断手段とを備え、該第の判断手段で検出した電流値が所定値を超えたと判断した場合、干渉が有ると判断するようにしてあることを特徴とする。 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.

また、第発明に係る数値制御装置は、第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.

また、第発明に係る数値制御装置は、第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.

また、第発明に係る数値制御装置は、第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.

また、第発明に係る数値制御装置は、第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.

また、第発明に係る数値制御方法は、複数の命令で構成された加工プログラムに従って、互いに直交する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 .

また、第発明に係る数値制御方法は、第発明において、命令ごとに動作中の干渉の有無を判断する場合、前記軸駆動部に備えた工具にツールを装着せずに前記加工プログラムの命令に従って動作させることを特徴とする。 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.

また、第発明に係る制御プログラムは、複数の命令で構成された加工プログラムに従って、互いに直交する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発明、第発明、及び第発明では、加工プログラムが、軸駆動部の動作中の干渉の有無を確認する動作モードである場合、軸駆動部の動作速度を、加工プログラムで指定した軸駆動部の動作速度より遅い速度に設定する。そして、設定した速度で軸駆動部を動作させ、軸駆動部が動作中に、命令ごとに干渉の有無を判断し、干渉が有る場合に軸駆動部の動作を停止する。これにより、軸駆動部の確認動作中は動作速度を遅くすることができ、軸駆動部の動作により干渉が生じるか否かを正確に判断し、干渉が生じる場合には軸駆動部の動作を停止することができることから、軸駆動部の動作による工具、冶具、ワーク等の損傷を未然に防止することができ、加工プログラムによる軸駆動部の動作が正常であるか否かを確認することが可能となる。
また干渉の有無の判断結果を記憶しておき、軸駆動部を動作させる加工プログラムの命令が既に実行されている場合、記憶してある命令の判断結果に基づいて干渉が無い命令であるか否かを判断し、干渉が無い命令であると判断した場合、軸駆動部の動作速度を前回の動作速度より速い速度に設定する。これにより、前回の確認動作で干渉が無いと判断された命令については、確認動作を行う場合に干渉により工具、冶具、ワーク等が損傷するおそれが無い命令であることから、動作速度を速めることにより、確認動作処理に要する時間を短縮することが可能となる。
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.

発明では、前回の確認動作で干渉が無いと判断された命令については、加工プログラムで指定した軸駆動部の動作速度、又は速度設定手段で設定した軸駆動部の動作速度よりも速い速度に設定することにより、干渉による工具、冶具、ワーク等の損傷を回避し、確認動作処理に要する時間を短縮することが可能となる。 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.

発明では、命令ごとの干渉の有無の判断結果を、命令に基づく軸駆動部の移動終点の座標値に対応付けて記憶手段に記憶しておき、実行する命令に基づく軸駆動部の移動終点の座標値を算出し、算出した座標値に基づいて干渉の有無の判断結果を抽出し、抽出した判断結果に基づいて干渉が無いと判断した場合、軸駆動部の速度を前回の速度より速い速度に設定する。これにより、軸駆動部の命令ごとの移動終点の座標値をキー情報として前回の確認動作における干渉の有無に関する情報を抽出することができ、例えば前回の動作で干渉有りと記憶されており、今回の判断で干渉無しと判断された場合には制御プログラムが修正されたものと判断して前回の動作速度よりも速い速度で動作させ、今回の判断で干渉有りと判断された場合には制御プログラムが前回のままであると判断して前回の動作速度よりも遅い速度で動作させる等、干渉の可能性に基づいて軸駆動部の動作速度を調整することができる。したがって、工具、冶具、ワーク等を損傷させることなく、制御プログラムによる軸駆動部の動作を確認することが可能となる。 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.

発明では、命令ごとの干渉の有無の判断結果を、命令に基づく軸駆動部の移動始点及び移動終点の座標値に対応付けて、記憶手段に記憶しておき、実行する命令に基づく軸駆動部の移動始点及び移動終点の座標値を算出し、算出した座標値に基づいて記憶手段に記憶してある干渉の有無の判断結果を抽出し、抽出した判断結果に基づいて干渉が無いと判断した場合、軸駆動部の速度を前回の速度より速い速度に設定する。これにより、軸駆動部の命令ごとの移動始点及び終点の座標値をキー情報として前回の確認動作における干渉の有無に関する情報を抽出することができ、例えば前回の動作で干渉有りと記憶されており、今回の判断で干渉無しと判断された場合には制御プログラムが修正されたものと判断して前回の動作速度よりも速い速度で動作させ、今回の判断で干渉有りと判断された場合には制御プログラムが前回のままであると判断して前回の動作速度よりも遅い速度で動作させる等、干渉の可能性に基づいて軸駆動部の動作速度を調整することができる。したがって、工具、冶具、ワーク等を損傷させることなく、制御プログラムによる軸駆動部の動作を確認することが可能となる。 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.

発明では、加工プログラムは一の記憶手段に記憶してあり、加工プログラムを複写して他の記憶手段に記憶し、実行する命令を特定する情報、例えば行番号を抽出し、抽出した特定する情報に対応する命令を、記憶してある複写した加工プログラムから抽出し、実行する命令と抽出した命令とが一致する場合、軸駆動部の速度を前回の速度より速い速度に設定する。これにより、前回の命令と今回の命令とが一致する場合には、前回の確認動作における干渉の有無に関する情報の信頼性が高いものと判断することができ、例えば前回の動作で干渉有りと記憶されており、今回の判断で干渉無しと判断された場合には制御プログラムが修正されたものと判断して高速に移動させ、今回の判断で干渉有りと判断された場合には制御プログラムが前回のままであると判断して低速に移動させることができる。また、前回の命令と今回の命令とが一致しない場合には、前回の確認動作における干渉の有無に関する情報の信頼性が低いものと判断することができ、例えば前回の動作で干渉無しと記憶されている場合であっても低速で移動させる等、干渉の可能性に基づいて軸駆動部の動作速度を調整することができる。したがって、工具、冶具、ワーク等を損傷させることなく、制御プログラムによる軸駆動部の動作を確認することが可能となる。 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.

発明では、命令ごとに動作中の干渉の有無を判断する場合、軸駆動部に備えた工具にツールを装着せずに加工プログラムの命令に従って動作させる。これにより、例えば穴あけ加工が有り、干渉が生じる場合であっても、冶具に穴を開けることがなく、無用な損傷を未然に回避することが可能となる。 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 numerical control device 1 according to an embodiment of the present invention includes a ROM 11, RAMs 12 and 13, a display device 14, an input device 15, which are connected to the CPU 10 via an internal bus 18 around at least a CPU (central control device) 10. It comprises an external interface 16, an auxiliary storage device 17 and the like that are communicably connected to a shaft drive unit 21 such as a motor (drive device) provided outside.

CPU10は、内部バス18を介して数値制御装置の上述したようなハードウェア各部と接続されており、上述したハードウェア各部を制御するとともに、ROM11に記憶されている処理プログラム、例えば工作機械の動作速度を条件に応じて数値制御する数値制御プログラム(以下、制御プログラム)を実行する。   The CPU 10 is connected to the above-described hardware units of the numerical controller via the internal bus 18 and controls the above-described hardware units, and also stores a processing program stored in the ROM 11 such as an operation of a machine tool. A numerical control program (hereinafter referred to as a control program) that numerically controls the speed according to conditions is executed.

ROM11は、不揮発性の記憶媒体であり、工作機械を制御する制御プログラムを記憶している。RAM12は、フラッシュメモリ等の不揮発性の記憶媒体であり、旋盤、マシニングセンタ等の工作機械の動作を数値制御し、工作物に対して加工を行う加工プログラム、及び加工プログラム、制御プログラム等の実行中に発生する一時的なデータを記憶する。また、加工プログラムの複製を記憶することもできる。加工プログラムは、通信手段(図示せず)を介して外部のコンピュータから、又はDVD、CD−ROM等の可搬型記憶媒体から補助記憶装置17を介して取得することが可能である。   The ROM 11 is a nonvolatile storage medium, and stores a control program for controlling the machine tool. The RAM 12 is a non-volatile storage medium such as a flash memory, and numerically controls the operation of a machine tool such as a lathe or a machining center, and executes a machining program for machining a workpiece, a machining program, a control program, and the like. Temporary data generated in the memory is stored. A copy of the machining program can also be stored. The machining program can be acquired from an external computer via communication means (not shown) or from a portable storage medium such as a DVD or CD-ROM via the auxiliary storage device 17.

RAM13は、フラッシュメモリ等の不揮発性の記憶媒体であり、運転に用いる加工プログラムのプログラム番号、その時点で実行している命令を識別する識別情報、例えば命令番号等を記憶する。   The RAM 13 is a non-volatile storage medium such as a flash memory, and stores a program number of a machining program used for operation and identification information for identifying a command being executed at that time, such as a command number.

表示装置14は、ユーザへ画像を表示出力する液晶表示装置(LCD)、表示ディスプレイ(CRT)等の表示装置であり、運転中の加工プログラムの内容、実行している命令の内容、動作速度、干渉の有無、干渉の有無の確認動作モードであるか否か等を表示する。   The display device 14 is a display device such as a liquid crystal display device (LCD) or a display device (CRT) that displays and outputs an image to the user. The content of the machining program being operated, the content of the command being executed, the operation speed, The presence / absence of interference, whether or not it is a confirmation operation mode for the presence / absence of interference, etc. are displayed.

入力装置15は、加工プログラム及び制御プログラムの実行に必要な条件等の情報を入力するキーボード、タッチパネル等に加えて、加工プログラムの確認動作を行う確認動作モードのオンオフ制御を行うパネルスイッチ、ボタンスイッチ、回転スイッチ等も含む。外部インタフェース16は、機器を移動、回転等する駆動源等へ、実行する加工プログラムに沿った指示信号を送出する。モータ(駆動装置)等の軸駆動部21は、通信可能に接続してある外部インタフェース16を介して、CPU10から加工プログラムに従った指示信号を受付ける。軸駆動部21は、互いに直交するx軸、y軸、z軸方向の移動及び3軸回りの回転の駆動源となる。   The input device 15 includes a panel switch and a button switch for performing on / off control of a confirmation operation mode for performing a confirmation operation of the machining program, in addition to a keyboard and a touch panel for inputting information such as conditions necessary for execution of the machining program and the control program. Also includes a rotation switch and the like. The external interface 16 sends an instruction signal in accordance with a machining program to be executed to a drive source that moves and rotates the device. The shaft drive unit 21 such as a motor (drive device) receives an instruction signal in accordance with the machining program from the CPU 10 via the external interface 16 connected to be communicable. The shaft drive unit 21 is a drive source for movement in the x-axis, y-axis, and z-axis directions orthogonal to each other and for rotation around three axes.

補助記憶装置17は、CD、DVD等の可搬型記憶媒体4を用い、RAM12へ、CPU10が処理する加工プログラム、制御プログラム、データ等をダウンロードする。また、CPU10が処理したデータをバックアップすべく書き込むことも可能である。   The auxiliary storage device 17 uses a portable storage medium 4 such as a CD or a DVD, and downloads a processing program, a control program, data, and the like to be processed by the CPU 10 to the RAM 12. It is also possible to write the data processed by the CPU 10 for backup.

以下、上述した構成の数値制御装置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 numerical controller 1 having the above-described configuration will be described. FIG. 2 is a flowchart showing a processing procedure of the CPU 10 of the numerical controller 1 according to the embodiment of the present invention. In this embodiment, the case of switching to the confirmation operation mode during the operation of the machining program will be described. However, the present invention is not particularly limited to this, and is specified for each machining program using parameters before the operation of the machining program. You can keep it. Further, switching to the confirmation operation mode is performed by the input device 15 of the numerical controller 1. For example, mode switching using a panel switch, a push button, or the like may be used, or mode setting using a rotary switch may be used.

数値制御装置1のCPU10は、加工プログラムに含まれる命令ごとにRAM13に記憶してある干渉の有無の判定結果を、前回の干渉有無の判結果として複写し、今回の干渉の有無の判定結果を記憶する領域を初期化する(ステップS201)。   The CPU 10 of the numerical controller 1 copies the determination result of the presence / absence of interference stored in the RAM 13 for each command included in the machining program as the determination result of the previous presence / absence of interference, and displays the determination result of the current presence / absence of interference. The area to be stored is initialized (step S201).

CPU10は、加工プログラムが終了したか否かを判断し(ステップS202)、CPU10が、加工プログラムが終了したと判断した場合(ステップS202:YES)、処理を終了する。CPU10が、加工プログラムが終了していないと判断した場合(ステップS202:NO)、CPU10は、加工プログラムを構成する命令を1ブロックずつ順次RAM13に読込み(ステップS203)、確認動作モードであるか否かを判断する(ステップS204)。なお、ステップS204は第1の判断手段として機能する。   The CPU 10 determines whether or not the machining program is finished (step S202), and when the CPU 10 judges that the machining program is finished (step S202: YES), the process is finished. When the CPU 10 determines that the machining program has not ended (step S202: NO), the CPU 10 sequentially reads the commands constituting the machining program into the RAM 13 one block at a time (step S203), and whether or not the confirmation operation mode is set. Is determined (step S204). Step S204 functions as a first determination unit.

CPU10が、確認動作モードではないと判断した場合(ステップS204:NO)、CPU10は、読込んだ命令を加工プログラムの指示に沿って実行し(ステップS205)、ステップS202へ戻って上述した処理を繰り返す。   When the CPU 10 determines that it is not in the confirmation operation mode (step S204: NO), the CPU 10 executes the read command in accordance with the instruction of the machining program (step S205), and returns to step S202 to perform the above-described processing. repeat.

CPU10が、確認動作モードであると判断した場合(ステップS204:YES)、CPU10は、読込んだ命令について、加工プログラムで指定された速度よりも遅い動作速度で実行し(ステップS206)、干渉の有無を検出する(ステップS207)。なお、ステップS206は、速度設定手段及び駆動手段として機能する。   When the CPU 10 determines that the operation mode is the confirmation operation mode (step S204: YES), the CPU 10 executes the read command at an operation speed slower than the speed specified by the machining program (step S206). The presence or absence is detected (step S207). Note that step S206 functions as a speed setting unit and a driving unit.

CPU10は、干渉が生じたか否かを判断し(ステップS208)、CPU10が、干渉が生じていないと判断した場合(ステップS208:NO)、CPU10は、ステップS202へ戻り、上述した処理を繰り返す。CPU10が、干渉が生じていると判断した場合(ステップS208:YES)、CPU10は、実行中の命令を停止し(ステップS209)、処理を終了する。なお、ステップS208は、第2の判断手段として、ステップS209は、停止手段として、それぞれ機能する。   The CPU 10 determines whether interference has occurred (step S208). If the CPU 10 determines that interference has not occurred (step S208: NO), the CPU 10 returns to step S202 and repeats the above-described processing. If the CPU 10 determines that interference has occurred (step S208: YES), the CPU 10 stops the command being executed (step S209) and ends the process. Step S208 functions as a second determination unit, and step S209 functions as a stop unit.

CPU10による命令の動作確認処理は、ステップS206に示すように、読込んだ命令について、加工プログラムで指定された速度よりも遅い動作速度で実行することに限定されるものではない。図3は、本発明の実施の形態に係る数値制御装置1のCPU10の一の動作確認処理のフローチャートである。   The instruction operation confirmation process by the CPU 10 is not limited to executing the read instruction at an operation speed slower than the speed specified by the machining program, as shown in step S206. FIG. 3 is a flowchart of one operation confirmation process of the CPU 10 of the numerical controller 1 according to the embodiment of the present invention.

図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 RAM 13 as a determination result table 131. The area is inquired by the coordinate value of the movement end point of the tool tip for each command.

図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は、第の判断手段として、それぞれ機能する。 The CPU 10 calculates a movement end point position based on the read command (step S301), and specifies an area number including the calculated movement end point position (step S302). The CPU 10 refers to the determination result table 131 of the RAM 13 (step S303), and determines whether or not the previous determination result is “2” (step S304). Note that step S301 functions as a first coordinate value calculation unit, step S303 functions as a determination result extraction unit, and step S304 functions as a third determination unit.

CPU10が、前回の判定結果が‘2’であると判断した場合(ステップS304:YES)、CPU10は、干渉のおそれがほとんどないものと判断し、工具の移動速度を‘3’に設定する(ステップS305)。ここで、工具の移動速度は、‘3’が加工プログラムで指定した移動速度よりも速い速度又は同等の速度を、‘2’が指定した移動速度より遅い速度で‘1’の場合より速い速度を、‘1’が指定した移動速度より遅い速度を、それぞれ示している。   When the CPU 10 determines that the previous determination result is “2” (step S304: YES), the CPU 10 determines that there is almost no possibility of interference, and sets the moving speed of the tool to “3” ( Step S305). Here, the moving speed of the tool is a speed that is faster than or equal to “3” specified by the machining program, and a speed that is slower than the moving speed specified by “2” and faster than “1”. Indicates a speed slower than the moving speed designated by “1”.

CPU10が、前回の判定結果が‘2’ではないと判断した場合(ステップS304:NO)、CPU10は、今回の判定結果が‘2’であるか否かを判断する。CPU10が、今回の判定結果が‘2’であると判断した場合(ステップS306:YES)、CPU10は、干渉のおそれが少ないものと判断し、工具の移動速度を‘2’に設定する(ステップS307)。   When the CPU 10 determines that the previous determination result is not “2” (step S304: NO), the CPU 10 determines whether or not the current determination result is “2”. When the CPU 10 determines that the current determination result is “2” (step S306: YES), the CPU 10 determines that there is little possibility of interference, and sets the moving speed of the tool to “2” (step S306). S307).

CPU10が、今回の判定結果が‘2’ではないと判断した場合(ステップS306:NO)、CPU10は、干渉の可能性が高いものと判断し、工具の移動速度を‘1’に設定する(ステップS308)。CPU10は、設定された移動速度で命令を実行し(ステップS309)、干渉が有るか否かを判断する(ステップS310)。   When the CPU 10 determines that the current determination result is not “2” (step S306: NO), the CPU 10 determines that there is a high possibility of interference, and sets the moving speed of the tool to “1” ( Step S308). The CPU 10 executes the command at the set moving speed (step S309), and determines whether there is interference (step S310).

CPU10が、干渉がないと判断した場合(ステップS310:NO)、CPU10は、判定結果テーブル131の今回の判定結果を‘2’に更新し(ステップS311)、ステップS202へ戻る。CPU10が、干渉が有ると判断した場合(ステップS310:YES)、CPU10は、判定結果テーブル131の今回の判定結果を‘1’に更新し(ステップS312)、ステップS209へ戻り、実行中の命令を停止する(ステップS209)。   When the CPU 10 determines that there is no interference (step S310: NO), the CPU 10 updates the current determination result in the determination result table 131 to “2” (step S311), and returns to step S202. If the CPU 10 determines that there is interference (step S310: YES), the CPU 10 updates the current determination result in the determination result table 131 to “1” (step S312), returns to step S209, and executes the command being executed. Is stopped (step S209).

なお、判定結果テーブル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 CPU 10. It becomes possible.

また、命令が更新されているか否かに基づいて命令の動作確認処理を実行しても良い。図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 CPU 10 of the numerical controller 1 according to the embodiment of the present invention.

図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 RAM 12, and each time a command is read block by block, the machining program copied with the read machining program Is compared, it is determined whether or not the read instruction has been updated. If the command has not been updated, the previous determination result can be trusted, so it can be determined that the operation speed does not need to be slowed, whereas if it has been updated, the previous determination result is trusted. It is determined that it cannot be performed, and the operation speed is adjusted according to the conditions.

図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 CPU 10 of the numerical controller 1 extracts information for specifying the read instruction, for example, a line number (step S601), and a machining program copied and stored in the RAM 12 based on the information for specifying the extracted instruction. Is specified (step S602). The CPU 10 determines whether or not the read instruction matches the instruction specified in the machining program copied and stored (step S603). Step S601 functions as an instruction specifying information extraction unit, step S602 functions as an instruction extraction unit, and step S603 functions as a fifth determination unit.

CPU10が、両命令が一致しないと判断した場合(ステップS603:NO)、CPU10は、RAM13の判定結果テーブル131を照会して(ステップS604)、前回の判定結果が‘1’であるか否かを判断する(ステップS605)。   When the CPU 10 determines that the two instructions do not match (step S603: NO), the CPU 10 inquires the determination result table 131 of the RAM 13 (step S604) and determines whether or not the previous determination result is “1”. Is determined (step S605).

CPU10が、前回の判定結果が‘1’ではないと判断した場合(ステップS605:NO)、CPU10は、命令が更新されていることから最初の動作確認処理と同様であると判断し、工具の移動速度を‘1’に設定する(ステップS606)。ここで、工具の移動速度は、‘3’が加工プログラムで指定した移動速度よりも速い速度を、‘2’が指定した移動速度と同等の速度を、‘1’が指定した移動速度より遅い速度を、それぞれ示している。   When the CPU 10 determines that the previous determination result is not “1” (step S605: NO), the CPU 10 determines that the instruction is updated and is the same as the first operation check process, and the tool The moving speed is set to “1” (step S606). Here, the moving speed of the tool is faster than the moving speed designated by “3” in the machining program, the speed equivalent to the moving speed designated by “2”, and slower than the moving speed designated by “1”. Each speed is shown.

CPU10が、前回の判定結果が‘1’であると判断した場合(ステップS605:YES)、CPU10は、命令が更新されていることから何らかの修正が施されているものと判断し、工具の移動速度を加工プログラムの設定と同じ‘2’に設定する(ステップS607)。   When the CPU 10 determines that the previous determination result is “1” (step S605: YES), the CPU 10 determines that some correction has been made because the command has been updated, and the tool is moved. The speed is set to “2”, which is the same as the machining program setting (step S607).

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 CPU 10 determines that both instructions match (step S603: YES), the CPU 10 inquires the determination result table 131 of the RAM 13 (step S608) and determines whether or not the previous determination result is “2”. Judgment is made (step S609). When the CPU 10 determines that the previous determination result is not “2” (step S609: NO), the CPU 10 determines that the possibility of interference is high, and sets the moving speed of the tool to “1” ( Step S610). When the CPU 10 determines that the previous determination result is “2” (step S609: YES), the CPU 10 determines that there is almost no possibility of interference, and sets the moving speed of the tool to “3”. (Step S611).

CPU10は、設定された移動速度で命令を実行し(ステップS612)、干渉が有るか否かを判断する(ステップS613)。CPU10が、干渉がないと判断した場合(ステップS613:NO)、CPU10は、判定結果テーブル131の今回の判定結果を‘2’に更新し(ステップS614)、ステップS202へ戻る。CPU10が、干渉が有ると判断した場合(ステップS613:YES)、CPU10は、判定結果テーブル131の今回の判定結果を‘1’に更新し(ステップS615)、ステップS209へ戻り、実行中の命令を停止する(ステップS209)。   The CPU 10 executes the command at the set moving speed (step S612), and determines whether there is interference (step S613). When the CPU 10 determines that there is no interference (step S613: NO), the CPU 10 updates the current determination result in the determination result table 131 to “2” (step S614), and returns to step S202. When the CPU 10 determines that there is interference (step S613: YES), the CPU 10 updates the current determination result in the determination result table 131 to “1” (step S615), returns to step S209, and executes the command being executed. Is stopped (step S209).

なお、実行中の命令を停止する場合、数値制御装置1のCPU10は、スピーカ等の音声出力装置(図示せず)に対して警告音の出力を支持する信号を送出しても良いし、表示装置14を介して警告表示しても良い。   When the command being executed is stopped, the CPU 10 of the numerical controller 1 may send a signal that supports the output of a warning sound to a sound output device (not shown) such as a speaker, or display A warning may be displayed via the device 14.

また、確認動作中の干渉の有無の検出方法は、特に限定されるものではない。例えば、干渉が有る場合に生じる軸駆動部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 shaft drive unit 21 that occurs when there is interference. FIG. 8 is a flowchart of the process for determining the presence or absence of interference based on the current value supplied to the shaft drive unit 21 of the CPU 10 of the numerical controller 1 according to the embodiment of the present invention.

数値制御装置1のCPU10は、軸駆動部へ供給される電流値を一定時間間隔で検出する(ステップS801)。CPU10は、確認動作モードであるか否かを判断する(ステップS802)。なお、ステップS801は、電流値検出手段として機能する。   The CPU 10 of the numerical controller 1 detects the current value supplied to the shaft drive unit at regular time intervals (step S801). The CPU 10 determines whether or not the confirmation operation mode is set (step S802). Step S801 functions as current value detection means.

CPU10が、確認動作モードではないと判断した場合(ステップS802:NO)、CPU10は、異常な電流値を検出している時間を計時する電流検出タイマを0(ゼロ)に初期化し(ステップS803)、干渉無しである旨を示す信号を送出する(ステップS804)。   When the CPU 10 determines that it is not in the confirmation operation mode (step S802: NO), the CPU 10 initializes a current detection timer that measures the time during which an abnormal current value is detected to 0 (zero) (step S803). Then, a signal indicating that there is no interference is transmitted (step S804).

CPU10が、確認動作モードであると判断した場合(ステップS802:YES)、CPU10は、検出した電流値が所定の上限値を超えているか否かを判断する(ステップS805)。CPU10が、検出した電流値が所定の上限値を超えていないと判断した場合(ステップS805:NO)、CPU10はステップS803へ処理を移行する。なお、ステップS805は、第の判断手段として機能する。 When the CPU 10 determines that the confirmation operation mode is set (step S802: YES), the CPU 10 determines whether or not the detected current value exceeds a predetermined upper limit value (step S805). When the CPU 10 determines that the detected current value does not exceed the predetermined upper limit value (step S805: NO), the CPU 10 shifts the process to step S803. Note that step S805 functions as a fourth determination unit.

CPU10が、検出した電流値が所定の上限値を超えていると判断した場合(ステップS805:YES)、CPU10は、異常な電流値を検出したものと判断し、電流検知タイマによる計時を開始する(ステップS806)。CPU10は、電流検知タイマで計時した計時時間が、所定の時間より大きいか否かを判断する(ステップS807)。   When the CPU 10 determines that the detected current value exceeds the predetermined upper limit value (step S805: YES), the CPU 10 determines that an abnormal current value has been detected and starts measuring time by the current detection timer. (Step S806). The CPU 10 determines whether or not the time measured by the current detection timer is greater than a predetermined time (step S807).

CPU10が、電流検知タイマで計時した計時時間が所定の時間以下であると判断した場合(ステップS807:NO)、CPU10はステップS804へ処理を移行する。CPU10が、電流検知タイマで計時した計時時間が所定の時間より大きいと判断した場合(ステップS807:YES)、CPU10は、干渉有りである旨を示す信号を送出する(ステップS808)。   When the CPU 10 determines that the time measured by the current detection timer is equal to or shorter than the predetermined time (step S807: NO), the CPU 10 shifts the process to step S804. If the CPU 10 determines that the time measured by the current detection timer is greater than the predetermined time (step S807: YES), the CPU 10 sends a signal indicating that there is interference (step S808).

以上のように本実施の形態によれば、干渉の有無等の確認動作中は、軸駆動部21の動作速度を遅くすることができ、軸駆動部21の動作により干渉が生じるか否かを正確に判断し、干渉が生じる場合には軸駆動部21の動作を停止することができることから、軸駆動部21の動作による工具、冶具、ワーク等の損傷を未然に防止することができ、加工プログラムによる軸駆動部21の動作が正常であるか否かを確認することが可能となる。   As described above, according to the present embodiment, it is possible to slow down the operation speed of the shaft drive unit 21 during the confirmation operation for the presence or absence of interference, and to determine whether or not interference occurs due to the operation of the shaft drive unit 21. Since the operation of the shaft drive unit 21 can be stopped when an accurate determination is made and interference occurs, damage to tools, jigs, workpieces, etc. due to the operation of the shaft drive unit 21 can be prevented in advance. It is possible to confirm whether or not the operation of the shaft drive unit 21 by the program is normal.

また、前回の確認動作で干渉が無いと判断された命令については、確認動作を行う場合に干渉により工具、冶具、ワーク等が損傷するおそれが無い命令であることから、動作速度を速めることにより、確認動作処理に要する時間を短縮することが可能となる。   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 shaft drive unit 21 according to the command of the machining program without mounting the 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.

また、本発明は上述した実施の形態に何等限定されるものではなく、本発明の要旨を逸脱しない範囲で種々の形態で実施することができる。   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.

本発明の実施の形態に係る数値制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the numerical control apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る数値制御装置のCPUの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of CPU of the numerical control apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る数値制御装置のCPUの一の動作確認処理のフローチャートである。It is a flowchart of one operation | movement confirmation process of CPU of the numerical control apparatus which concerns on embodiment of this invention. 判定結果テーブルの一例を示す図である。It is a figure which shows an example of the determination result table. 工具先端部の移動始点及び移動終点の座標値に基づいて照会する場合の判定結果テーブルの一例を示す図である。It is a figure which shows an example of the determination result table in the case of inquiring based on the coordinate value of the movement start point of a tool front-end | tip part, and a movement end point. 本発明の実施の形態に係る数値制御装置のCPUの他の動作確認処理のフローチャートである。It is a flowchart of other operation | movement confirmation processing of CPU of the numerical control apparatus which concerns on embodiment of this invention. 判定結果テーブルの他の例を示す図である。It is a figure which shows the other example of a determination result table. 本発明の実施の形態に係る数値制御装置のCPUの、軸駆動部へ供給される電流値に基づく干渉の有無の判断処理のフローチャートである。It is a flowchart of the judgment process of the presence or absence of interference based on the electric current value supplied to the axial drive part of CPU of the numerical controller which concerns on embodiment of this invention.

符号の説明Explanation of symbols

4 可搬型記憶媒体
10 CPU
11 ROM
12、13 RAM
14 表示装置
15 入力装置
16 外部インタフェース
17 補助記憶装置
21 軸駆動部
4 Portable storage medium 10 CPU
11 ROM
12, 13 RAM
14 Display Device 15 Input Device 16 External Interface 17 Auxiliary Storage Device 21 Axis Drive Unit

Claims (9)

複数の命令で構成された加工プログラムに従って、互いに直交する3軸方向に工具とワークとを相対的に駆動する複数の軸駆動部の動作を制御する数値制御装置において、
前記加工プログラムによる前記軸駆動部の動作中の干渉の有無を確認する旨を示す情報の有無を判断する第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の判断手段は、
前記軸駆動部で供給される電流値を検出する電流値検出手段と、
該電流値検出手段で検出した電流値が所定値を超えたか否かを判断する第の判断手段と
を備え、
該第の判断手段で検出した電流値が所定値を超えたと判断した場合、干渉が有ると判断するようにしてあることを特徴とする請求項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又は請求項2に記載の数値制御装置。 Operating speed of the last time, according to claim 1 or claim 2, wherein the operating speed of the shaft driving unit specified by the machining program, or an operation speed of the shaft driving portion set by the speed setting means numerical controller according to. 命令ごとの干渉の有無の判断結果を、命令に基づく前記軸駆動部の移動終点の3軸で特定される座標系での座標値に対応付けて、記憶手段に記憶する判断結果記憶手段と、
実行する命令に基づく前記軸駆動部の移動終点の座標値を算出する第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.
命令ごとの干渉の有無の判断結果を、命令に基づく前記軸駆動部の移動始点及び移動終点の3軸で特定される座標系での座標値に対応付けて、記憶手段に記憶する判断結果記憶手段と、
実行する命令に基づく前記軸駆動部の移動始点及び移動終点の座標値を算出する第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.
複数の命令で構成された加工プログラムに従って、互いに直交する3軸方向に工具とワークとを相対的に駆動する複数の軸駆動部の動作を制御する数値制御装置を用いる数値制御方法において、
前記加工プログラムによる前記軸駆動部の動作中の干渉の有無を確認する旨を示す情報の有無を判断し、
動作中に、前記命令ごとに干渉の有無を判断し、
干渉の有無の判断結果を命令ごとに記憶手段に記憶し、
前記軸駆動部を動作させる加工プログラムの命令が既に実行されているか否かを判断し、
干渉の有無を確認する旨を示す情報が有ると判断した場合、前記加工プログラムで指定した軸駆動部の動作速度より遅い速度で前記軸駆動部を動作させ
渉が有ると判断した場合、前記軸駆動部の動作を停止し、
前記命令が既に実行されていると判断した場合、前記記憶手段に記憶してある前記命令の判断結果に基づいて干渉が無い命令であるか否かを判断し、干渉が無い命令であると判断した場合、前記軸駆動部の動作速度を前回の動作速度より速い速度に設定することを特徴とする数値制御方法。
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 .
命令ごとに動作中の干渉の有無を判断する場合、前記軸駆動部に備えた工具にツールを装着せずに前記加工プログラムの命令に従って動作させることを特徴とする請求項記載の数値制御方法。 8. The numerical control method according to claim 7 , wherein when determining whether or not there is interference during operation for each command, the operation is performed according to the command of the machining program without attaching a tool to the tool provided in the shaft driving unit. . 複数の命令で構成された加工プログラムに従って、互いに直交する3軸方向に工具とワークとを相対的に駆動する複数の軸駆動部の動作を制御する数値制御装置で実行することが可能な制御プログラムにおいて、
前記数値制御装置を、
前記加工プログラムによる前記軸駆動部の動作中の干渉の有無を確認する旨を示す情報の有無を判断する第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.
JP2005076038A 2005-03-16 2005-03-16 Numerical control apparatus, numerical control method, and control program Expired - Fee Related JP4396554B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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