JP4489323B2 - Numerical controller - Google Patents

Numerical controller Download PDF

Info

Publication number
JP4489323B2
JP4489323B2 JP2001158386A JP2001158386A JP4489323B2 JP 4489323 B2 JP4489323 B2 JP 4489323B2 JP 2001158386 A JP2001158386 A JP 2001158386A JP 2001158386 A JP2001158386 A JP 2001158386A JP 4489323 B2 JP4489323 B2 JP 4489323B2
Authority
JP
Japan
Prior art keywords
unit
area
machining program
boundary
machining
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 - Lifetime
Application number
JP2001158386A
Other languages
Japanese (ja)
Other versions
JP2002351519A (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.)
Shibaura Machine Co Ltd
Original Assignee
Toshiba Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Machine Co Ltd filed Critical Toshiba Machine Co Ltd
Priority to JP2001158386A priority Critical patent/JP4489323B2/en
Publication of JP2002351519A publication Critical patent/JP2002351519A/en
Application granted granted Critical
Publication of JP4489323B2 publication Critical patent/JP4489323B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Numerical Control (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、数値制御装置に係り、特に、指定領域を設定して加工する機能を備えたNC工作機械(数値制御工作機械)に関する。
【0002】
【従来の技術】
数値制御装置を使用した加工においては、領域により加工内容を変えることがある。例えば、金型加工においては、上下の金型が互いに接する部分と接しない部分が存在するが、これらの金型が互いに接する部分は必ずしも全面とはならず、部分的にのみ接する場合がある。これらの互いに接する部分と接しない部分のそれぞれの領域に対して最適な加工を行う技術として、特開平9−230920号に開示されたような数値制御装置が提案されている。
【0003】
この数値制御装置では、指定領域データを設定する領域指定部と、前記領域指定部により指定された前記指定領域データ及び加工プログラムを記憶する加工プログラム記憶部と、予め設定された切り込み変化量を記憶する切り込みパラメータ記憶部と、前記加工プログラム記憶部に記憶された前記加工プログラムの各命令が、前記指定領域の領域内か領域外かを判別し、その判別結果に応じて、前記各命令を前記切り込みパラメータ記憶部の前記切り込み変化量により補正する補正制御部と、前記補正制御部により補正された前記加工プログラムに従って加工を行なう駆動部とを備える。
【0004】
このような数値制御装置においては、NC工作機械に予め設定した領域に対して、工具の切り込み量を変化させることにより、特定の領域だけの加工を行う。ここで、例えば、加工領域の指定は、工具に垂直な平面(例えば、XY平面)で指定し、工具の切り込み量は、工具の方向の軸(例えば、Z軸)に対して変化させる。Z軸の切り込み変化量は、例えば、最大0.5mm程度であり、パラメータとして設定する。そして、加工時にはこの設定値を加算又は減算して、領域内外の切り込み量を変える。
【0005】
典型的な例として、図5に、荒引き工程及び仕上げ工程において、Z軸切り込み量を変化させるようにした加工の一例を示す。すなわち、(1)荒引き工程においては、図5(a)に示すように、工具3のZ軸切り込み変化量を制御することにより、下型2の指定領域外では深く切り込み、領域内では浅く切り込むように変化させることができる。具体的には、領域外では実際の加工プログラムより深く(−ΔZ)切り込み、領域内では実際の加工プログラムにより切り込むようにする。このようにすると、(2)仕上げ工程においては、図5(b)に示すように、実際の加工プログラムを実行すると、指定領域外は工具3が下型2に接しなくなり、領域内では工具3が下型2に接して加工できるように設定することができる。
【0006】
このように、領域加工の場合、領域外から領域内へ移行する際にZ切り込み量を変化させるようにする。
【0007】
したがって、この数値制御装置では、領域指定機能を利用して、指定領域内の移動に対して予め設定された切り込み変化量で補正し、指定した領域内だけを切削することができる。たとえば、磨き工程では、領域外の部分は上型と下型が接しないので本来磨きを必要としないが、領域指定機能を有する数値制御装置では、領域内の接する部分を磨くだけで良くなり、磨き時間を短縮し、工具寿命を延ばすことができる。
【0008】
【発明が解決しようとする課題】
しかしながら、ある領域の内部のみを切削しようとする場合、従来の領域加工機能では加減速処理を行った機械座標に対して領域の内外の判定およびZ切り込み量の補正を行っているため、領域外から領域内に移動するときには図7の実線のように領域内でZ切り込み量の高さ移動が行われ、一方、領域内から領域外に移動するときには図7の破線のように領域外でZ切り込み量のない状態になるように高さ移動が行われる。この結果、図7に記載のZ切り込み量が多い場合には領域内から領域外への移動の場合と領域外から領域内への移動の場合とでずれが生じてしまうという問題がある。
【0009】
また、金型加工に特有な機能として、NCプログラムを先読みして加工中の経路の全体を認識し、その経路の各部分に最適な加減速を行う機能がある。しかしながら、前述したように領域加工については、図8に示すように加減速処理後の機械座標に対して分配ごとにその領域に対するZ切り込み変化量で補正するようにしているので、境界経路に対する速度調整はできず、前述したずれを解決することはできなかった。
【0010】
本発明は、最適な領域補正処理を行うことのできる領域加工可能な制御装置を提供することを目的とする。
【0011】
本発明によれば、指定領域データを設定する領域指定部と、前記領域指定部により指定された前記指定領域データ及び加工プログラムを記憶する加工プログラム記憶部と、前記領域の内外に対して予め設定された切り込み変化量を記憶する切り込みパラメータ記憶部と、前記加工プログラム記憶部に記憶された前記加工プログラムの各命令を解析する加工プログラム解析部と、この加工プログラム解析部の解析結果に基づいて、加工が前記領域指定部により指定された領域の内または外で行われかを決定する領域判別部と、この領域判別部での判別結果に基づいて領域の内外で切り込み変化量を補正する切り込み補正処理部と、前記領域判別部での判別結果および前記切り込み補正処理部での補正結果に基づいて加工領域と非加工領域の境界を表す境界点を結んだ境界経路を生成する境界経路生成部と、前記境界経路の形状を認識する形状認識部と、前記境界経路生成部で生成された境界経路に対して前記形状認識部により認識された形状により各経路に対する最適な加減速処理を行う加減速処理部と、加減速処理を行った前記境界経路について機械座標上の補正を行う補正処理部と、前記補正処理部により補正された前記加工プログラムに従って駆動部の制御を行う出力制御部とを備えた数値制御装置が提供される。
【0012】
前記加工プログラム解析部と前記領域判別部との間に、加工プログラムから領域の内外の概略を暫定的に決定する仮分配部を設けたことを特徴とする
【0013】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照して詳細に説明する。
【0014】
本発明の数値制御装置においては、前述したように、NC工作機械に予め設定した領域に対して、工具の切り込み量を変化させることにより、特定の領域だけの加工を行うことが前提である。
【0015】
図1に本発明による実施の一形態にかかる数値制御装置の構成図を、図2に本発明の数値制御装置による経路生成の様子をそれぞれ示す。
【0016】
入力装置11は、キーボード、マウス等周知の入力装置であり、領域指定部101及びNC加工プログラム指定部102を含む。領域指定部101は、加工領域の指定を行う。指定領域としては、任意の多角形、円(一周)、円弧等を含む任意の形状を指定することができる。例えば、直線の両端の端点として、複数の直線及び端点による多角形を指定することができる。この際、直線の数又は端点の数について、最大値(例えば30点等)を設定し、その範囲で定めることもできる。上述のような図形の他、文字パターン(例、A,B,C等)、特定パターン(例、#、☆、◎、▽等)も指定することができる。
【0017】
NC加工プログラム指定部102は、実際の加工プログラムを指定する。また、入力装置11は、各種設定値、メインテナンス、障害対策等のための入力も行うことができる。
【0018】
数値制御装置12は、NC加工プログラム記憶部103、NC加工プログラム解析部104、表示処理部105、表示部106、仮分配部107、領域テーブル記憶部108、領域判別部109、記憶バッファ110、切り込み補正処理部111、切り込みパラメータ記憶部112、境界経路生成部113、形状認識部114、加減速処理部115、分配部116、補正処理部117、出力制御部118を備えている。
【0019】
NC加工プログラム記憶部103は、入力装置11の領域指定部101及びNC加工プログラム指定部102によりそれぞれ設定された、加工領域データ及び加工プログラムを記憶する。加工プログラムとしては、例えば、1ブロック毎に機械の動作を命令する情報である加工プログラムデータがある。これらの加工プログラムデータは、通常は、JIS B 6311で規定されたISOコードとEIAコードのいずれかが用いられる。例えば、NC工作装置の加工プログラムデータとしては、G機能(制御機能、準備機能)、M機能(補助機能)、F機能(送り機能)、寸法語X、Y、Z(X軸、Y軸、Z軸の運動ディメンジョン)等がある。
【0020】
NC加工プログラム解析部104は、マイクロコンピュータ等で構成され、NC加工プログラム記憶部103に記憶された加工プログラムの指令データを1ブロックずつ順次読み出し解析するが、先読み機能も有しており、加工プログラムのうちの加工領域に関する情報を解析して仮分配部107に送る。図2の段階1はこの先読み機能を表しており、加工を行おうとする経路全体について経路の始点A、終点F、変曲点B、C、D、Eが認識されている。また、加工領域データにより、表示処理部105に対して表示命令を出力し、これを制御する。
【0021】
表示処理部105は、この表示命令により、表示部106に出力表示するとともに、指定領域をビットパターンに変換して、領域テーブル記憶部108にビットパターンを出力する。また、入力装置11又は他に設けられている入力手段により、適宜、指定領域の修正・指定・選択等を行うことができる。例えば、描画確認及び修正時に、切り込み変化量を与える部分が領域の内側又は外側かを指定・選択することができる。
【0022】
表示部106は、CRT、液晶ディスプレー等の表示装置により構成され、各種のデータ、プログラム等を表示できる。登録された指定領域は、画面上で描画確認及び修正が可能である。また、2次元又は3次元のグラフィック機能を備えることにより、全体加工図又は部分加工図等により、必要に応じて加工範囲、加工状況等を表示することができる。
【0023】
領域テーブル記憶部108には、表示処理部105で設定・変換されたビットパターンが記憶される。
【0024】
仮分配部107はNC加工プログラム解析部104で解釈された加工プログラムに含まれる領域情報から前述した始点、終点、変曲点間の点を仮に分配する。例えば、図2の段階2に示されるように始点Aと変曲点B間にはa1、a2、a3の3点が分配されており、以下同様に仮分配点について図示のような符号付けが行われている。
【0025】
この仮に分配された各点について領域判別部109で加工領域の内外を厳密に判定される。この判定は領域外、境界、領域内について行われ、図2の段階3に示された例では、点b1およびd2が領域を出た直後の境界点となり、境界点よりも外側の点は領域外、境界点よりも内側の点は領域内と判定される。領域内の点は加工が行われる点であって黒丸で表現され、それ以外の点は白丸で表現されている。
【0026】
そして、領域判別部109は、領域情報を領域外移動、境界移動、領域内移動の3つの態様に分けて記憶バッファ110に対して出力する。境界移動は後述するように境界点について行われる垂直に下降する移動である。
【0027】
次に、切り込みパラメータ記憶部112には、切り込み変化量(ΔZ)が記憶されている。荒引き、中引き、仕上げ等の各工程において、それぞれ異なる切り込み変化量を複数設定することも可能である。また、領域外と領域内とで異なる変化量をそれぞれ設定することもできる。ここで、この値を「0」に設定すると通常の加工プログラムの実行と同等となる。これらの設定値は、入力装置11又は他に設けられている入力手段により、適宜入力することができる。
【0028】
切り込み補正処理部111では、NC加工プログラム解析部104から出力された加工プログラムを、切り込みパラメータ記憶部112から出力された切り込み変化量で補正し、出力する。領域外に対する経路設定は不要であるので、切り込み補正処理部111では前述した領域判別部109による領域内外判定にしたがってそのままとするが、境界点b1およびd2、並びに領域外の各点については切り込み量Zだけ下降させる補正を行う。この降下した点については切り込み量Zだけ下降させる補正を行う。この降下した点については、図2の段階4ではいずれも符号’を付けてる。そして境界経路生成部113で点b1−b1’間およびd2−d2’間を結ぶ境界経路を生成する。
【0029】
続いて、加工形状、特に境界経路を形状認識部114で認識し、この認識結果を用いて加減速処理部115で各経路に対して最適な加減速を付加する。
【0030】
この加減速処理の様子を図3および図4を参照して説明する。
図3のように、領域外移動▲1▼ から境界経路▲2▼でZ切り込み量だけ下降した上で領域内移動▲3▼を行う単純な下降考える。この場合、境界経路▲2▼については図4に示すように、速度を低下させるようにする。すなわち、境界経路▲2▼に移行する直前の領域外移動▲1▼ において減速を行い、境界経路▲2▼では中央部で最大速になるように加速および減速を行い、領域内経路▲3▼に移行してから加速を行うようにしている。なお、境界経路▲2▼における最大速度は領域外移動速度および領域内移動速度よりも小さい速度となっている。
【0031】
このように、境界領域で速度を低下させることにより、境界領域内でオーバシュート等を生じることなくZ軸方向の移動が可能となるので、経路のずれは著しく減少する。
【0032】
なお、この例では境界経路は単純な垂直線であったが、曲率半径の小さい曲面の加工等では境界経路が曲線になったり、階段状になることもある。このような場合、形状認識部114の認識結果を用いて加減速処理部115が最適な加減速パターンを選択することになる。
【0033】
続いて、各経路に対する分配が分配部116で行われる。前述した境界経路の移動については前述した加減速処理部115における処理結果が補正処理部117に与えられ、補正処理が行われた後、出力制御部118に与えられる。この補正処理は、図2の段階5に示されるように、境界経路の分配はプログラム座標ではなく、機械座標に対して行われる。
【0034】
一方、境界経路以外の領域内経路、領域外経路については切り込み補正処理部で補正された値が分配され、出力制御部118に与えられる。
【0035】
出力制御部118は切り込み補正処理部111および補正処理部117からの指令により、送りモータ等によるNC工作機の回転部又は移動部等から構成される駆動装置(図示せず)に回転数、回転角度、回転速度、移動幅、移動速度等を指示する。この駆動装置は、通常、サーボ機構を有し、複数の駆動装置により構成されており、出力制御部118を介して送られてきた指令信号により駆動され、NC工作機の位置決め、移動幅、移動速度又は回転速度等が制御される。
【0036】
【発明の効果】
以上のように、本発明にかかる数値制御装置によれば、先読み機能を用いて境界領域の経路に対しては最適な加減速を行うようにしているので、境界領域における領域内から領域外への移動と領域外から領域内への移動の間でずれを生ずることなく、高精度の加工を行うことが可能となる。
【図面の簡単な説明】
【図1】本発明にかかる数値制御装置の構成図である。
【図2】本発明の数値制御装置による境界領域の経路生成の様子を段階を追って示す説明図である。
【図3】領域外経路、Z切り込み量の移動を行う境界領域経路、領域内経路をそれぞれ示す説明図である。
【図4】境界領域に対して速度補正を行う様子を示すグラフである。
【図5】従来提案されている領域加工を荒引き工程及び仕上げ工程においてZ軸切り込み量を変化させるように適用した様子を示す説明図である。
【図6】領域の内外を説明する説明図である。
【図7】従来の領域加工における補正の様子を示す説明図である。
【図8】従来の機械座標に対する分配毎の切り込み量補正を示す説明図である。
【符号の説明】
11 入力装置
12 数値制御装置
101 領域指定部
102 NC加工プログラム指定部
103 NC加工プログラム記憶部
104 NC加工プログラム解析部
105 表示処理部
106 表示部
107 仮分配部
108 領域テーブル記憶部
109 領域判定部
110 記憶バッファ
111 切り込み補正処理部
112 切り込みパラメータ記憶部
113 境界経路生成部
114 形状認識部
115 加減速処理部
116 分配部
117 補正処理部
118 出力制御部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a numerical control device, and more particularly, to an NC machine tool (numerical control machine tool) having a function of setting a specified area and machining.
[0002]
[Prior art]
In machining using a numerical controller, the machining content may vary depending on the region. For example, in mold processing, there are portions where the upper and lower dies are not in contact with each other, but the portions where these dies are in contact with each other are not necessarily the entire surface, and may be in contact only partially. As a technique for performing optimum processing on each of the regions that are in contact with each other and the portions that are not in contact with each other, a numerical control device as disclosed in JP-A-9-230920 has been proposed.
[0003]
In this numerical control apparatus, an area designating unit for setting designated area data, a machining program storage unit for storing the designated area data and machining program designated by the area designating unit, and a preset cutting change amount are stored. And determining whether each instruction of the machining program stored in the cutting program storage unit and the machining program storage unit is within or outside the specified area, and depending on the determination result, A correction control unit that corrects the amount of change in the cut in the cutting parameter storage unit; and a drive unit that performs machining in accordance with the machining program corrected by the correction control unit.
[0004]
In such a numerical control apparatus, only a specific region is processed by changing the cutting depth of the tool with respect to the region preset in the NC machine tool. Here, for example, the machining area is designated by a plane perpendicular to the tool (for example, the XY plane), and the cutting depth of the tool is changed with respect to the axis in the tool direction (for example, the Z axis). The Z-axis cutting change amount is, for example, about 0.5 mm at the maximum, and is set as a parameter. Then, at the time of processing, this set value is added or subtracted to change the cut amount inside and outside the region.
[0005]
As a typical example, FIG. 5 shows an example of machining in which the Z-axis cutting amount is changed in the roughing process and the finishing process. That is, (1) in the roughing step, as shown in FIG. 5A, by controlling the amount of change in the Z-axis cutting of the tool 3, a deep cut is made outside the designated region of the lower mold 2 and a shallow portion is made in the region. Can be changed to cut. Specifically, the cutting is performed deeper (−ΔZ) than the actual machining program outside the area, and the actual machining program is used inside the area. In this way, (2) in the finishing step, as shown in FIG. 5B, when the actual machining program is executed, the tool 3 does not contact the lower mold 2 outside the designated area, and the tool 3 is within the area. Can be set so that can be processed in contact with the lower mold 2.
[0006]
Thus, in the case of area machining, the Z cut amount is changed when moving from outside the area to inside the area.
[0007]
Therefore, in this numerical control apparatus, it is possible to cut only the designated region by using the region designating function to correct the movement in the designated region with a preset cutting change amount. For example, in the polishing process, the upper die and the lower die do not touch the part outside the area, so polishing is not necessary.However, in the numerical control device having the area designation function, it is only necessary to polish the part in contact with the area. Polishing time can be shortened and tool life can be extended.
[0008]
[Problems to be solved by the invention]
However, when cutting only inside an area, the conventional area machining function determines the inside / outside of the area and corrects the Z-cut amount for the machine coordinates that have been subjected to acceleration / deceleration processing. When moving from the region to the region, the Z-cut amount is moved within the region as indicated by the solid line in FIG. 7, while when moving from within the region to the region, the Z is moved outside the region as indicated by the broken line in FIG. The height is moved so that there is no cut amount. As a result, when the Z cut amount shown in FIG. 7 is large, there is a problem that a shift occurs between the movement from the inside of the area to the outside of the area and the movement from the outside of the area to the inside of the area.
[0009]
As a function unique to die machining, there is a function of pre-reading an NC program, recognizing the whole machining path, and performing optimum acceleration / deceleration for each part of the machining path. However, as described above, in the area processing, as shown in FIG. 8, since the machine coordinates after the acceleration / deceleration processing are corrected by the Z cut change amount for each area for each distribution, the speed for the boundary path is corrected. Adjustment was not possible, and the above-described deviation could not be solved.
[0010]
An object of the present invention is to provide a control device capable of performing region processing that can perform optimal region correction processing.
[0011]
According to the present invention, an area designating section for setting designated area data, a machining program storage section for storing the designated area data and machining program designated by the area designating section, and presetting for the inside and outside of the area Based on the analysis result of the cutting program storage unit that stores the cutting parameter storage amount, the machining program analysis unit that analyzes each instruction of the machining program stored in the machining program storage unit , An area discriminating unit that determines whether or not the processing is performed within or outside the area specified by the area specifying unit, and an incision correction that corrects an incision change amount inside or outside the area based on the discrimination result of the area discriminating unit processor and the boundary of the discrimination result of the region determination unit and the cut correction processing region based on the correction result of the processing unit and the non-processing region Recognition and boundary path generator for generating a connecting I boundary path boundary points, and shape recognizing shape recognition part of the boundary path, by the shape recognition unit with respect to the boundary path boundary path generated by the generating unit representing The acceleration / deceleration processing unit that performs optimal acceleration / deceleration processing for each path according to the shape formed, the correction processing unit that corrects the boundary path for which acceleration / deceleration processing has been performed, on the machine coordinates, and the correction processing unit A numerical control device is provided that includes an output control unit that controls the drive unit in accordance with the machining program.
[0012]
A temporary distribution unit is provided between the machining program analysis unit and the region determination unit to provisionally determine the outline of the inside and outside of the region from the machining program.
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0014]
In the numerical control device of the present invention, as described above, it is premised on that only a specific region is processed by changing the cutting depth of the tool with respect to the region preset in the NC machine tool.
[0015]
FIG. 1 shows a configuration diagram of a numerical control apparatus according to an embodiment of the present invention, and FIG. 2 shows how a path is generated by the numerical control apparatus of the present invention.
[0016]
The input device 11 is a known input device such as a keyboard and a mouse, and includes an area specifying unit 101 and an NC machining program specifying unit 102. The area designation unit 101 designates a machining area. As the designated area, an arbitrary shape including an arbitrary polygon, a circle (round), an arc, or the like can be specified. For example, a polygon made up of a plurality of straight lines and end points can be designated as end points at both ends of the straight line. At this time, a maximum value (for example, 30 points) can be set for the number of straight lines or the number of end points, and can be determined within the range. In addition to the graphic as described above, a character pattern (eg, A, B, C, etc.) and a specific pattern (eg, #, ☆, ◎, ▽, etc.) can also be designated.
[0017]
The NC machining program designation unit 102 designates an actual machining program. The input device 11 can also perform input for various setting values, maintenance, trouble countermeasures, and the like.
[0018]
The numerical controller 12 includes an NC machining program storage unit 103, an NC machining program analysis unit 104, a display processing unit 105, a display unit 106, a temporary distribution unit 107, an area table storage unit 108, an area determination unit 109, a storage buffer 110, and a cutting buffer. A correction processing unit 111, a cutting parameter storage unit 112, a boundary path generation unit 113, a shape recognition unit 114, an acceleration / deceleration processing unit 115, a distribution unit 116, a correction processing unit 117, and an output control unit 118 are provided.
[0019]
The NC machining program storage unit 103 stores machining area data and a machining program set by the area designation unit 101 and the NC machining program designation unit 102 of the input device 11, respectively. As the machining program, for example, there is machining program data which is information for instructing the operation of the machine for each block. As these machining program data, either ISO code or EIA code defined in JIS B 6311 is usually used. For example, machining program data of NC machine tool includes G function (control function, preparation function), M function (auxiliary function), F function (feed function), dimension words X, Y, Z (X axis, Y axis, Z-axis motion dimension).
[0020]
The NC machining program analysis unit 104 is composed of a microcomputer and the like, and sequentially reads and analyzes the machining program command data stored in the NC machining program storage unit 103 one block at a time. Among them, information on the processing area is analyzed and sent to the temporary distribution unit 107. Stage 1 in FIG. 2 represents this look-ahead function, and the start point A, end point F, and inflection points B, C, D, and E of the route are recognized for the entire route to be processed. Further, a display command is output to the display processing unit 105 based on the processing area data, and this is controlled.
[0021]
In response to this display command, the display processing unit 105 outputs and displays it on the display unit 106, converts the designated area into a bit pattern, and outputs the bit pattern to the area table storage unit 108. In addition, the designated area can be corrected, designated, selected, and the like as appropriate using the input device 11 or other input means. For example, at the time of drawing confirmation and correction, it is possible to designate / select whether the portion to which the cutting change amount is given is inside or outside the region.
[0022]
The display unit 106 includes a display device such as a CRT or a liquid crystal display, and can display various data, programs, and the like. The registered designated area can be checked and modified on the screen. In addition, by providing a two-dimensional or three-dimensional graphic function, a processing range, a processing status, and the like can be displayed as required by an overall processing diagram or a partial processing diagram.
[0023]
The area table storage unit 108 stores the bit pattern set and converted by the display processing unit 105.
[0024]
The temporary distribution unit 107 temporarily distributes the points between the start point, the end point, and the inflection point described above from the area information included in the machining program interpreted by the NC machining program analysis unit 104. For example, as shown in stage 2 of FIG. 2, three points a1, a2, and a3 are distributed between the start point A and the inflection point B, and the temporary distribution points are similarly labeled as shown below. Has been done.
[0025]
The inside / outside of the machining area is strictly determined by the area discriminating unit 109 for each temporarily distributed point. This determination is performed for the outside of the region, the boundary, and the inside of the region. In the example shown in Step 3 of FIG. 2, the points b1 and d2 are the boundary points immediately after leaving the region, and the points outside the boundary point are the regions. Points outside and outside the boundary point are determined to be in the region. The points in the region are processed points and are represented by black circles, and the other points are represented by white circles.
[0026]
Then, the region determination unit 109 outputs the region information to the storage buffer 110 by dividing the region information into three modes of movement outside the region, boundary movement, and movement within the region. The boundary movement is a vertically descending movement performed on the boundary point as described later.
[0027]
Next, the cutting parameter storage unit 112 stores a cutting change amount (ΔZ). In each process such as roughing, thinning, finishing, etc., it is also possible to set a plurality of different cutting change amounts. Also, different amount of change can be set for each of the areas outside and within the area. Here, setting this value to “0” is equivalent to executing a normal machining program. These set values can be appropriately input by the input device 11 or other input means.
[0028]
The cutting correction processing unit 111 corrects and outputs the machining program output from the NC machining program analysis unit 104 with the cutting change amount output from the cutting parameter storage unit 112. Since it is not necessary to set a route outside the area, the cut correction processing unit 111 does not change according to the above-described area inside / outside determination by the area discriminating unit 109, but the boundary points b1 and d2 and the points outside the area are cut amounts. Correction for lowering by Z is performed. The lowered point is corrected to be lowered by the cut amount Z. These lowered points are all marked with a sign 'in stage 4 of FIG. Then, the boundary route generation unit 113 generates a boundary route that connects the points b1-b1 ′ and d2-d2 ′.
[0029]
Subsequently, the machining shape, particularly the boundary route, is recognized by the shape recognition unit 114, and the acceleration / deceleration processing unit 115 adds optimum acceleration / deceleration to each route using the recognition result.
[0030]
The state of this acceleration / deceleration process will be described with reference to FIGS.
As shown in FIG. 3, let us consider a simple descent in which the movement in the area (3) is performed after the movement from the out-of-area movement (1) is lowered by the Z-cut amount along the boundary path (2). In this case, the speed of the boundary route (2) is reduced as shown in FIG. That is, the vehicle is decelerated during the movement outside the region immediately before the transition to the boundary route {circle around (2)}, and the boundary route {circle around (2)} is accelerated and decelerated so as to reach the maximum speed at the center, and the route within the region {circle around (3)}. Accelerate after moving to. Note that the maximum speed in the boundary route {circle around (2)} is smaller than the movement speed outside the area and the movement speed within the area.
[0031]
In this way, by reducing the speed in the boundary region, movement in the Z-axis direction is possible without causing overshoot or the like in the boundary region, so that the deviation of the path is remarkably reduced.
[0032]
In this example, the boundary path is a simple vertical line. However, when processing a curved surface with a small radius of curvature, the boundary path may be curved or stepped. In such a case, the acceleration / deceleration processing unit 115 selects an optimal acceleration / deceleration pattern using the recognition result of the shape recognition unit 114.
[0033]
Subsequently, distribution to each route is performed by the distribution unit 116. As for the movement of the boundary path described above, the processing result in the acceleration / deceleration processing unit 115 described above is given to the correction processing unit 117, and after correction processing is performed, it is given to the output control unit 118. In this correction process, as shown in step 5 of FIG. 2, the distribution of the boundary path is performed not on the program coordinates but on the machine coordinates.
[0034]
On the other hand, the values corrected by the cut correction processing unit are distributed and supplied to the output control unit 118 for the intra-region route and the non-region route other than the boundary route.
[0035]
In response to commands from the cutting correction processing unit 111 and the correction processing unit 117, the output control unit 118 applies a rotational speed and rotation to a driving device (not shown) including a rotating unit or a moving unit of an NC machine tool by a feed motor or the like. Specify the angle, rotation speed, movement width, movement speed, etc. This drive device usually has a servo mechanism, and is composed of a plurality of drive devices. The drive device is driven by a command signal sent via the output control unit 118 to position, move, and move the NC machine tool. The speed or rotational speed is controlled.
[0036]
【The invention's effect】
As described above, according to the numerical control device of the present invention, since the optimum acceleration / deceleration is performed for the path of the boundary area using the prefetch function, the inside of the boundary area is moved out of the area. It is possible to perform high-precision machining without causing a shift between the movement and the movement from the outside to the inside of the area.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a numerical controller according to the present invention.
FIG. 2 is an explanatory diagram showing step by step how a boundary region path is generated by the numerical controller of the present invention;
FIG. 3 is an explanatory diagram showing an out-of-area path, a boundary area path for moving the Z cut amount, and an in-area path.
FIG. 4 is a graph showing a state in which speed correction is performed on a boundary region.
FIG. 5 is an explanatory view showing a state in which a conventionally proposed region machining is applied so as to change a Z-axis cutting amount in a roughing step and a finishing step.
FIG. 6 is an explanatory diagram for explaining the inside and outside of a region.
FIG. 7 is an explanatory diagram showing a state of correction in conventional area processing.
FIG. 8 is an explanatory diagram showing a cut amount correction for each distribution with respect to a conventional machine coordinate.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 11 Input device 12 Numerical control apparatus 101 Area designation | designated part 102 NC machining program designation | designated part 103 NC machining program memory | storage part 104 NC machining program analysis part 105 Display processing part 106 Display part 107 Temporary distribution part 108 Area table memory | storage part 109 Area determination part 110 Storage buffer 111 Cutting correction processing unit 112 Cutting parameter storage unit 113 Boundary path generation unit 114 Shape recognition unit 115 Acceleration / deceleration processing unit 116 Distribution unit 117 Correction processing unit 118 Output control unit

Claims (2)

指定領域データを設定する領域指定部と、
前記領域指定部により指定された前記指定領域データ及び加工プログラムを記憶する加工プログラム記憶部と、
前記領域の内外に対して予め設定された切り込み変化量を記憶する切り込みパラメータ記憶部と、
前記加工プログラム記憶部に記憶された前記加工プログラムの各命令を解析する加工プログラム解析部と、
この加工プログラム解析部の解析結果に基づいて、加工が前記領域指定部により指定された領域の内または外で行われかを決定する領域判別部と、
この領域判別部での判別結果に基づいて領域の内外で切り込み変化量を補正する切り込み補正処理部と、
前記領域判別部での判別結果および前記切り込み補正処理部での補正結果に基づいて加工領域と非加工領域の境界を表す境界点を結んだ境界経路を生成する境界経路生成部と、
前記境界経路の形状を認識する形状認識部と、
前記境界経路生成部で生成された境界経路に対して前記形状認識部により認識された形状により各経路に対する最適な加減速処理を行う加減速処理部と、
加減速処理を行った前記境界経路について機械座標上の補正を行う補正処理部と、
前記補正処理部により補正された前記加工プログラムに従って駆動部の制御を行う出力制御部とを備えた数値制御装置。
An area designating section for setting designated area data;
A machining program storage unit for storing the designated area data and machining program designated by the area designation unit;
A cutting parameter storage unit for storing a cutting change amount set in advance for the inside and outside of the area;
A machining program analysis unit for analyzing each instruction of the machining program stored in the machining program storage unit;
Based on the analysis result of the machining program analysis unit, an area determination unit that determines whether machining is performed within or outside the area designated by the area designation unit ;
A notch correction processing unit that corrects the amount of change in the inside and outside of the region based on the determination result in the region determining unit ;
A boundary path generation unit that generates a boundary path that connects the boundary points representing the boundary between the machining area and the non-machining area based on the determination result in the area determination unit and the correction result in the cut correction processing unit ;
A shape recognition unit for recognizing the shape of the boundary path;
An acceleration / deceleration processing unit that performs optimum acceleration / deceleration processing for each route by the shape recognized by the shape recognition unit with respect to the boundary route generated by the boundary route generation unit;
A correction processing unit that performs correction on machine coordinates for the boundary path that has been subjected to acceleration / deceleration processing;
A numerical control device comprising: an output control unit that controls the drive unit according to the machining program corrected by the correction processing unit.
前記加工プログラム解析部と前記領域判別部の間に、前記加工プログラムから領域の内外の概略を暫定的に決定する仮分配部を設けたことを特徴とする請求項1に記載の数値制御装置。The numerical control apparatus according to claim 1 , wherein a temporary distribution unit that provisionally determines an outline of the inside and outside of the area from the machining program is provided between the machining program analysis unit and the area determination unit .
JP2001158386A 2001-05-28 2001-05-28 Numerical controller Expired - Lifetime JP4489323B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001158386A JP4489323B2 (en) 2001-05-28 2001-05-28 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001158386A JP4489323B2 (en) 2001-05-28 2001-05-28 Numerical controller

Publications (2)

Publication Number Publication Date
JP2002351519A JP2002351519A (en) 2002-12-06
JP4489323B2 true JP4489323B2 (en) 2010-06-23

Family

ID=19002120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001158386A Expired - Lifetime JP4489323B2 (en) 2001-05-28 2001-05-28 Numerical controller

Country Status (1)

Country Link
JP (1) JP4489323B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20240126241A1 (en) * 2021-03-16 2024-04-18 Fanuc Corporation Numerical controller

Also Published As

Publication number Publication date
JP2002351519A (en) 2002-12-06

Similar Documents

Publication Publication Date Title
US6597142B2 (en) Apparatus and method for setting control parameters of machining apparatus
EP2258516B1 (en) Method and system for automated software control of waterjet orientation parameters
US7058473B2 (en) Method and device for generation of machining program
JP5737970B2 (en) Machine tool control system
JP2003108210A (en) Method for setting machining speed for machine tool and machine tool
KR100421789B1 (en) Numerical Control Instruction Writing Device and Method
JPH1039915A (en) Numerical controller
JP4639058B2 (en) Threading machine
JP4489323B2 (en) Numerical controller
JP2002096243A (en) Numerical controller and cam system
JP3808125B2 (en) Numerical controller
JP4489324B2 (en) Numerical controller
JP4059614B2 (en) Control device for 3D laser processing machine
JP2001312309A (en) Numerical control working machine and acceleration/ deceleration control method therefor
JP3856917B2 (en) Numerical controller
JP3471644B2 (en) Control device for area machining operation
JP3378445B2 (en) Numerical control device for 3D cutting machine
JPH08168925A (en) Numerical controller for wire cut electric discharge machine
JPH10328938A (en) Wire electric discharge machining method and device
JP3660038B2 (en) Numerical controller
CN114769898B (en) Laser processing control method, device and readable storage medium
JPH02306308A (en) Automatic programming device
JP2000126987A (en) Working method, nc device commanding same, nc working machine, nc program composing device, and recording medium
JP2001009672A (en) Numerical control device
JP2605427B2 (en) Processing condition setting method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080317

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091217

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100215

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

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

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130409

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4489323

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140409

Year of fee payment: 4

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350