JPH03161240A - Nc cutting device - Google Patents

Nc cutting device

Info

Publication number
JPH03161240A
JPH03161240A JP30100689A JP30100689A JPH03161240A JP H03161240 A JPH03161240 A JP H03161240A JP 30100689 A JP30100689 A JP 30100689A JP 30100689 A JP30100689 A JP 30100689A JP H03161240 A JPH03161240 A JP H03161240A
Authority
JP
Japan
Prior art keywords
tool
value
cutting
amount
override
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP30100689A
Other languages
Japanese (ja)
Inventor
Tetsuo Kato
哲生 加藤
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.)
Mitsubishi Motors Corp
Original Assignee
Mitsubishi Motors Corp
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 Mitsubishi Motors Corp filed Critical Mitsubishi Motors Corp
Priority to JP30100689A priority Critical patent/JPH03161240A/en
Publication of JPH03161240A publication Critical patent/JPH03161240A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce operator's load of manual operation, previously prevent breakage trouble of a tool, and highly institute a tool feed speed command in numerical control data, by constituting the device so as to automatically adjust a tool feed speed corresponding to sudden variation of load applied on a cutting tool. CONSTITUTION:When an override quantity is instituted at a value to accelerate a tool feed speed after the override quantity is instituted at a value on the side to decelerate a tool feed speed from a prescribed standard value to maintain the tool feed speed indicated by numerical control data, namely, when the tool feed speed is varied on the side to incrase cutting load, the present value of override quantity is instituted so as to limit variation of the present value within a prescribed allowable variation with a NC computing device 30. Hereby, sudden variation of cutting load on a tool 20 due to unexpected variation of form of an object to be cutting worked W is previously prevented.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、NC切削装置に関し、特に、NC型彫機等
に好適に適用され、オーバライド機能を有する切削装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to an NC cutting device, and particularly to a cutting device that is suitably applied to an NC die-sinking machine and has an override function.

(従来の技術) 例えば、自動車のドアパネルやフェンダパネル等の外板
はプレス加工され、このプレス加工には、形状変化に富
んだプレス金型が必要となる。プレス金形は、NC型彫
機を使用して鋳物型を荒加工し、曲面形状が付与された
後、型用モデルを基準に細部の仕上げがなされる。
(Prior Art) For example, the outer panels of automobiles, such as door panels and fender panels, are press-formed, and this press-forming requires a press mold with a wide variety of shapes. For press molds, a casting mold is roughly machined using an NC die carving machine to give it a curved shape, and then detailed finishing is done based on the mold model.

NC型彫機による荒加工は、予め記憶されているNCデ
ータに従い、スピンドルに取り付けたポ−ルエンドミル
をワークに対し相対的にX, Y.Z等の方向(多軸方
向)に所要の速度で所要量だけ順次移動させると共に、
スピンドルの回転速度が制御されて所要の形状に或形さ
れる。そして、x,y,z方向の工具送り速度や、スピ
ンドルの回転速度は、工具折損や切削時間の短縮等を考
慮して最適値に設定される。
Rough machining using an NC die-sinking machine is performed by moving a pole end mill attached to a spindle relative to the work in X, Y, etc. according to pre-stored NC data. While sequentially moving the required amount at the required speed in directions such as Z (multi-axis directions),
The rotational speed of the spindle is controlled to form the desired shape. The tool feed speed in the x, y, and z directions and the spindle rotation speed are set to optimal values in consideration of tool breakage, cutting time reduction, and the like.

(発明が解決すべき課題) 従来のNC型彫機による荒加工においては、鋳造時の製
造誤差に起因して、個々のワークの外形寸法を正確に把
握することが困難であり、ワークの外形寸法を正確に把
握できない場合に、数値制御データにより指定される切
削条件で切削すると、予め設定された最適切込み量や切
込み幅から大きく逸脱して工具に大きな負荷が掛かり、
工具の折損事故が生じる等の問題があった。そのため、
荒加工における切削開始時や荒加工初期段階においては
、作業者が工具の送り量や送り速度を手操作により調整
する必要があり、作業者の負担が大きく、又、作業者の
経験や熟練が必要であった。更に、急激な形状変化によ
る工具負荷の急変を避けるために、工具の送り速度を大
きく設定することが出来ず、加工に時間が掛かるという
問題もあった。
(Problem to be solved by the invention) In rough machining using a conventional NC die-sinking machine, it is difficult to accurately grasp the external dimensions of each workpiece due to manufacturing errors during casting, and the external dimensions of the workpiece If the dimensions cannot be accurately determined and cutting is performed using the cutting conditions specified by numerical control data, the tool will deviate significantly from the optimum depth of cut and width of cut, placing a large load on the tool.
There were problems such as tool breakage accidents. Therefore,
At the start of cutting or at the initial stage of rough machining, the operator must manually adjust the feed rate and feed rate of the tool, which places a heavy burden on the operator and requires less experience and skill. It was necessary. Furthermore, in order to avoid a sudden change in the tool load due to a sudden change in shape, the feed rate of the tool cannot be set high, resulting in the problem that machining takes time.

本発明は、このような課題を解決するためになされたも
ので、被削材の外形形状が充分に把握されていない場合
であっても、工具送り速度を最適値に常時調節するとと
もに、不測の工具切削負荷に対する工具折損を未然に防
止し、加工時間の短縮を図ったNC切削装置を提供する
ことを目的とする。
The present invention was made to solve these problems, and even when the external shape of the workpiece is not fully known, the tool feed rate is always adjusted to the optimum value, and even when the external shape of the workpiece is not fully understood, An object of the present invention is to provide an NC cutting device that prevents tool breakage due to tool cutting loads and shortens machining time.

(課題を解決する手段) 上述の目的を達成するために本発明に依れば、外部デー
タ読込装置からNC演算装置に読み込まれた数値制御デ
ータに基づき、切削工具を、被切削物に対して相対的に
、多軸方向の所要の位置に、所要の速度で順次移動させ
、被切削物を所要の形状に切削するNC切削装置におい
て、前記切削工具の切削負荷を検出する負荷センサと、
該負荷センサが検出した工具切削負荷に応じてオーバラ
イド量を演算するオーバライド演算装置とを備え、前記
NC演算装置は、オーバライド演算装置が演算するオー
バライド量に応じて前記数値制御データが指定する工具
送り速度を修正し、この修正した工具送り速度で前記切
削工具を相対移動させる一方、オーバライド量が、前記
数値制御データが指定する工具送り速度を保持させる所
定基準値より工具送り速度を減速させる側の値に設定さ
れた後、工具送り速度を加速させるべき値に設定された
とき、オーバライド量の、前回値と今回値の変化量を所
定許容変化量と比較して、該変化量がこの所定許容変化
量を超えるとき、オーバライド量の今回値を、今回値の
変化量が前記所定許容変化量に制限されるように設定す
ることを特徴とするNC切削装置が提供される。
(Means for Solving the Problems) In order to achieve the above-mentioned object, according to the present invention, the cutting tool is moved against the workpiece based on the numerical control data read into the NC calculation device from the external data reading device. A load sensor that detects a cutting load of the cutting tool in an NC cutting device that relatively moves sequentially to required positions in multiple axis directions at a required speed to cut a workpiece into a required shape;
and an override calculation device that calculates an override amount according to the tool cutting load detected by the load sensor, and the NC calculation device calculates the tool feed specified by the numerical control data according to the override amount calculated by the override calculation device. The speed is corrected, and the cutting tool is relatively moved at the corrected tool feed rate, while the override amount is a side that decelerates the tool feed rate from a predetermined reference value that maintains the tool feed rate specified by the numerical control data. After the tool feed rate is set to a value that should be accelerated, the amount of change between the previous value and the current value of the override amount is compared with a predetermined allowable change amount, and the amount of change is determined as this predetermined allowable change amount. An NC cutting device is provided, characterized in that when the amount of change is exceeded, the current value of the override amount is set such that the amount of change in the current value is limited to the predetermined allowable amount of change.

(作用) オーバライド演算装置は、工具切削負荷に応じて、工具
送り速度適正化のためのオーバライド量を常時演算して
おり、NCm算装置が、このオーバライド量に応じ、数
値制御データが指定する工具送り速度を修正することに
より、工具切削負荷の急変に自動的に対処することが可
能になる。そして、オーバライド量が、前記数値制御デ
ータが指定する工具送り速度を保持させる所定基準値よ
り工具送り速度を減速させる側の値に設定された後、工
具送り速度を加速させるべき値に設定されたとき、即ち
、工具送り速度を工具切削負荷が増加する側に変化させ
るとき、オーバライド量の今回値を、今回値の変化量が
前記所定許容変化量に制限されるように設定し、被切削
物の形状の不測の変化による工具切削負荷の急変が未然
に防止される。
(Function) The override calculation device constantly calculates the override amount for optimizing the tool feed rate according to the tool cutting load. By modifying the feed rate, it is possible to automatically cope with sudden changes in the tool cutting load. After the override amount is set to a value that decelerates the tool feed rate from a predetermined reference value that maintains the tool feed rate specified by the numerical control data, it is set to a value that should accelerate the tool feed rate. In other words, when changing the tool feed rate to the side where the tool cutting load increases, the current value of the override amount is set so that the amount of change in the current value is limited to the predetermined allowable change amount. This prevents sudden changes in the tool cutting load due to unexpected changes in the shape of the tool.

(実施例) 以下本発明の一実施例を図面に基づいて詳細に説明する
。尚、本発明は種々のNC切削装置に適用可能であるが
、この実施例では、ボールエンドミルによりプレス金型
を荒加工するNC型彫機に適用したものを例に説明する
(Example) An example of the present invention will be described in detail below based on the drawings. Although the present invention is applicable to various NC cutting devices, in this embodiment, an example in which the present invention is applied to an NC die carving machine for rough machining a press die using a ball end mill will be described.

望旦聖星盪史盪底 先ず、第1図を参照してNC型彫機1の概略構或を示す
。NC型彫機1のテーブル10は、ワークWを載置固定
し、X軸モータ(サーボモータ)11によりX軸方向に
移動可能である。左右のコラムl2には、クロスビーム
l4が架け渡され、このクロスビームl4は、Z軸モー
タ(サーボモータ)15により、X軸方向に直交する上
下方向(Z軸方向)に移動可能である。クロスビームl
4には主軸ヘッドl6が取り付けられ、この主軸ヘッド
l6は、Y軸モータ(サーボモータ)17によりクロス
ビーム14の長手方向、即ち、X軸及びZ軸に直交する
方向(Y軸方向)に沿って移動可能である。
First, a schematic structure of the NC die carving machine 1 will be shown with reference to FIG. A table 10 of the NC die carving machine 1 mounts and fixes a work W, and is movable in the X-axis direction by an X-axis motor (servo motor) 11. A cross beam 14 spans the left and right columns 12, and this cross beam 14 is movable in the vertical direction (Z-axis direction) perpendicular to the X-axis direction by a Z-axis motor (servo motor) 15. cross beam l
4 is attached with a spindle head l6, and this spindle head l6 is driven by a Y-axis motor (servo motor) 17 along the longitudinal direction of the cross beam 14, that is, the direction perpendicular to the X-axis and the Z-axis (Y-axis direction). It is possible to move.

主軸ヘッドl6には、主軸モータl8によって回転駆動
される主軸(図示せず)がZ軸方向に回転自在に軸支さ
れ、主軸にはカッタ(ボールエンドミル)20が取り付
けられている。そして、主軸ヘッドl6の下端面のカッ
タ20近傍には、カッタ20の切削時に発生する振動音
を検出するAEセンサ40が取り付けられている。この
AEセンサ40は入力装置34を介して後述する速度制
御装置32に電気的に接続されて、検出信号をこの速度
制御装置32に供給する。
A main shaft (not shown) rotatably driven by a main shaft motor l8 is rotatably supported in the main shaft head l6 in the Z-axis direction, and a cutter (ball end mill) 20 is attached to the main shaft. An AE sensor 40 is attached near the cutter 20 on the lower end surface of the spindle head l6 to detect vibration noise generated when the cutter 20 cuts. The AE sensor 40 is electrically connected to a speed control device 32 (described later) via an input device 34, and supplies a detection signal to the speed control device 32.

虹星及里凶凰広 型彫機lの作動制御は、NC制御装置30、前述した速
度制御装置32、入力装置34、NCデータ読取装置3
6、マニアル操作盤39等によって行なわれる。入力装
置34の入力側には前述のAEセンサ40の他に、前述
した各モータの負荷(電流値)を検出するX軸モータ負
荷センサ4l、Y軸モータ負荷センサ42、Z軸モータ
負荷センサ43、主軸モータ負荷センサ44がそれぞれ
接続され、これらの負荷センサは各モータの負荷検出信
号を入力装置34を介して速度制御装置32に供給する
。入力装置34は、増幅回路、フィルタ回路、A/D変
換回路等により構或されている。
The operation of the Hongsei-Yori-Kouo wide die carving machine 1 is controlled by an NC control device 30, the aforementioned speed control device 32, an input device 34, and an NC data reading device 3.
6. This is performed using the manual operation panel 39 or the like. On the input side of the input device 34, in addition to the above-mentioned AE sensor 40, there are an X-axis motor load sensor 4l, a Y-axis motor load sensor 42, and a Z-axis motor load sensor 43 that detect the load (current value) of each motor mentioned above. , and main shaft motor load sensors 44 are connected to each of the motors, and these load sensors supply load detection signals of each motor to the speed control device 32 via the input device 34. The input device 34 includes an amplifier circuit, a filter circuit, an A/D conversion circuit, and the like.

NCデータ読取装置36は、NCテープ等により外部か
らNCデータ(数値制御データ)を読み取り、これをN
C制御装置30のNC演算部30a及び速度制御装置3
2に供給する。速度制御装置32の出力側は切換スイッ
チ38を介してNC制御装置30の演算部30aに接続
されている。速度制御装置32は、後述するようにオー
バライド量演算プログラムを有しており、この演算プロ
グラムにより、NCデータが指定する位置・速度指令値
、工具径、被削材の種類による工具送り速度、及び各サ
ーボモータの電流データと、前述の負荷センサ41〜4
4が検出する各モータの負荷とから、カッタ20の工具
送り速度が、目標速度(この場合、x. y.  z軸
方向の送り速度及び主軸の回転速度が含まれる)になる
ように、オーバライド量を濱算してこれをNC演算部3
0aに供給する。
The NC data reading device 36 reads NC data (numerical control data) from the outside using an NC tape or the like, and reads the NC data from the outside.
NC calculation section 30a of C control device 30 and speed control device 3
Supply to 2. The output side of the speed control device 32 is connected to the calculation section 30a of the NC control device 30 via a changeover switch 38. The speed control device 32 has an override amount calculation program as described later, and this calculation program calculates the position/speed command value specified by the NC data, the tool diameter, the tool feed rate depending on the type of workpiece material, and Current data of each servo motor and the load sensors 41 to 4 mentioned above
Based on the load of each motor detected by 4, the tool feed speed of the cutter 20 is overridden so that it reaches the target speed (in this case, the feed speed in the x, y, and z axis directions and the rotation speed of the main shaft are included). Calculate the amount and send it to the NC calculation section 3.
Supply to 0a.

切換スイッチ38の゜入力側にはマニアル操作盤39が
接続され、マニアル操作盤39の盤面の操作キー(図示
せず)を操作することによりオーバライド量を設定し、
これをマニアル操作盤39側に切り換えられた切換スイ
ッチ38を介してNC演算部30aに供給する。切換ス
イッチ38の切り換えは、通常マニアル操作盤39の特
定のキー操作により切り換えられると共に、速度制御装
置32やNC演算部30aからの切換指令によっても切
り換えられる。また、マニアル操作盤39の出力側は速
度制御装置32にも接続され、マニアル操作盤39から
作業者によってイップットされる作業指令信号を速度制
御装置32にも供給できるようになっている。
A manual operation panel 39 is connected to the ° input side of the changeover switch 38, and an override amount is set by operating operation keys (not shown) on the surface of the manual operation panel 39.
This is supplied to the NC calculation section 30a via the changeover switch 38 which is switched to the manual operation panel 39 side. The switching of the changeover switch 38 is normally performed by operating a specific key on the manual operation panel 39, and also by a switching command from the speed control device 32 or the NC calculation section 30a. The output side of the manual operation panel 39 is also connected to the speed control device 32, so that a work command signal inputted by the operator from the manual operation panel 39 can also be supplied to the speed control device 32.

NC演算部30aは、詳細は後述するように、NCデー
タ読取装置36からのNCデータにより指定される、カ
ッタ20の移動位置、工具送り速度、並びに速度制御装
置32が出力するオーバライド量あるいはマニアル操作
盤39が出力するオーバライド量を基に、各軸モータ1
 1,  1 5. 17.18の駆動量を演算し、演
算した駆動量に応じた制御信号をサーボモータ駆動制御
部30bに供給する。サーボモータ駆動制御部30bは
、制御信号に応じて各軸モータ11,15,17.18
を駆動する。
As will be described in detail later, the NC calculation unit 30a calculates the moving position of the cutter 20, the tool feed speed specified by the NC data from the NC data reading device 36, and the override amount or manual operation output by the speed control device 32. Based on the override amount output by the panel 39, each axis motor 1
1, 1 5. The driving amount of 17.18 is calculated, and a control signal corresponding to the calculated driving amount is supplied to the servo motor drive control section 30b. The servo motor drive control unit 30b controls each axis motor 11, 15, 17, 18 according to the control signal.
to drive.

速 制   によるオーバライド量の生成 順次に、速
度制御装置32によりオーバライド量を自動生成する手
順を、第2八図ないし第26図を参照して説明する。
Generation of Override Amount by Speed Control Next, the procedure for automatically generating an override amount by the speed control device 32 will be explained with reference to FIGS. 28 to 26.

速度制御装置32は、先ず、ステップSIOにおいて、
各種の制御変数、定数、等の記憶値のイニシャライズ(
初期化)を行なう。これらの記憶値には、工具刃長、工
具径、被削材の種類、各軸モータの電流データ、種々の
判別値等が含まれる。
First, in step SIO, the speed control device 32
Initialization of memory values of various control variables, constants, etc.
initialization). These stored values include tool blade length, tool diameter, type of work material, current data for each axis motor, various discrimination values, and the like.

又、レジスタのクリアもこのステップで行なわれる。Also, registers are cleared in this step.

次に、ステップ812に進み、運転条件入力ルーチンが
実行され、NCデータ読取装置36から型彫機lの運転
条件を入力する。そして、各負荷センサからの入力信号
の有無を判別し(ステップS14)、どのセンサからも
入力信号がなければ、ステップSl5を実行してステッ
プSl2に戻る。
Next, the process advances to step 812, where an operating condition input routine is executed, and the operating conditions of the die engraving machine I are input from the NC data reading device 36. Then, it is determined whether there is an input signal from each load sensor (step S14), and if there is no input signal from any sensor, step Sl5 is executed and the process returns to step Sl2.

前述のステップS15では、オーバライド量KORを1
00%に設定し、これをNC演算部30aに出力する。
In step S15 described above, the override amount KOR is set to 1.
00% and outputs this to the NC calculation section 30a.

このオーバライド量100%の信号は、NC演算部30
aにおいて、NCデータにより演算された工具送り速度
VTLになんら修正を加えずに、各モータを駆動するこ
とを意味する。尚、オ一バライド量KORが100%以
下の値に設定されることは、送り速度VTLを、送り速
度VTLにオーバライド量KORを掛け合わせた値(V
TLXKOR÷100 ’)に修正して減速させること
を意味する。例えば、オーバライド量50%は、NCデ
ータで指定される送り速度の50%に減速し、オーバラ
イド量O%の場合には、送り速度をO%、即ち、停止さ
せることを意味する。逆に、オーバライド量が100%
を超える値の場合には、送り速度をその値に修正して加
速させることを意味する。
This override amount signal of 100% is sent to the NC calculation unit 30.
In a, it means that each motor is driven without making any correction to the tool feed speed VTL calculated by NC data. In addition, setting the override amount KOR to a value of 100% or less means that the feed speed VTL is set to the value (V
TLXKOR÷100'). For example, an override amount of 50% means deceleration to 50% of the feed speed specified by the NC data, and an override amount of 0% means that the feed speed is reduced to 0%, that is, stopped. On the other hand, the override amount is 100%
If the value exceeds , it means that the feed rate is corrected to that value and accelerated.

負荷センサからの入力がある場合には、ステップ816
に進み、AE信号入力ルーチンが実行され、AEセンサ
40からのAE信号を取り込む。
If there is input from a load sensor, step 816
Then, the AE signal input routine is executed and the AE signal from the AE sensor 40 is taken in.

AE信号入力ルーチンでは、AEセンサ40から出力さ
れる信号を増幅、フィルタIJング等が行なわれる。そ
して、AE信号の有無を判別、即ち、カッタ20による
切削が開始されたか否かを判別する(ステップ318)
。この判別は、ステップSl6で読み込んだAE信号が
所定の閾値より犬であるか否かにより行なわれる。
In the AE signal input routine, the signal output from the AE sensor 40 is amplified, filtered, and so on. Then, the presence or absence of the AE signal is determined, that is, it is determined whether cutting by the cutter 20 has started (step 318).
. This determination is made based on whether or not the AE signal read in step Sl6 indicates a dog based on a predetermined threshold value.

ステップ318において、AE信号が検出されなかった
場合、ステップS20に進み、切削フラグCFLが値1
であるか否かを判別する。この切削フラグCFLは、前
回ループで切削を行っていたことを記憶するためのプロ
グラム制御変数であり、この切削フラグCFLが値lで
ある場合には値0にリセットし(ステップS22)、レ
ジスタをクリアして(ステップS24)、前述のステッ
プ315を経由してステップ312に戻る。一方、切削
フラグCFLが値lでない場合にはそのままステップS
l5を経由してステップSl2に戻る。
If the AE signal is not detected in step 318, the process advances to step S20, and the cutting flag CFL is set to a value of 1.
Determine whether or not. This cutting flag CFL is a program control variable for remembering that cutting was performed in the previous loop, and when this cutting flag CFL has the value l, it is reset to the value 0 (step S22) and the register is It is cleared (step S24), and the process returns to step 312 via step 315 described above. On the other hand, if the cutting flag CFL is not the value l, then step S
The process returns to step Sl2 via l5.

盟剋翌生豊史慰理 前回ループで切削が行われておらず、今回ループでAE
信号を検出して切削が開始されたことを検出した場合、
即ち、ステップ31Bにおいて、AE信号を検出した場
合、ステップS26に進む。
There was no cutting in the previous loop, and there was no cutting in this loop.
If a signal is detected to indicate that cutting has started,
That is, if the AE signal is detected in step 31B, the process advances to step S26.

この切削開始が検出されるのは、加工開始時の場合もあ
るし、断続的な切削が繰り返され、ワークの非切削部か
ら切削部に移行した時点の場合もある〜 ステップ326では、AE信号により工具異常が発生し
たか否かを判別する。AEセンサ40は、工具に異常な
負荷が掛かった場合や工具が折損した場合に発生する異
常振動信号や異常音響信号を検出することができ、AE
信号に異常がなければ、第2B図のステップS30に進
む。
The start of cutting may be detected at the start of machining, or when intermittent cutting is repeated and the workpiece transitions from a non-cutting section to a cutting section.In step 326, the AE signal is detected. It is determined whether or not a tool abnormality has occurred. The AE sensor 40 can detect abnormal vibration signals and abnormal acoustic signals that occur when an abnormal load is applied to the tool or when the tool breaks.
If there is no abnormality in the signal, the process advances to step S30 in FIG. 2B.

ステップS30では、切削フラグCFLがセット(CF
L=1)されているか否かを判別する。
In step S30, the cutting flag CFL is set (CF
L=1).

切削開始時(第4図のto時点)にはこの判別は否定で
あるから、ステップS32に進み、切削開始減速処理ル
ーチンが実行される。
Since this determination is negative at the time of starting cutting (time "to" in FIG. 4), the process advances to step S32, and a cutting start deceleration processing routine is executed.

第3図は、切削開始減速処理ルーチンのフローチャート
を示し、速度制御装置32はオーバライド量KORを所
定値Xinに設定してこれをNC演算部30aに出力す
る(ステップS321)。そして、ステップS322に
進みで所定時間Tinの経過を待ち(第4図(b)参照
)、当該ルーチンを終了する。尚、オーパライド量KO
Rを入力したNC演算部30aは、NCデータの指令に
より設定した工具送り速度VTLにオーバライド量KO
Rを乗算し、修正した値(VTLX KOI{+ 10
0 )を制御信号として、これを所定期間Tinに亘っ
て駆動制御部30bに供給することになる(第4図(b
)のto時点から11時点間の期間参照)。
FIG. 3 shows a flowchart of the cutting start deceleration processing routine, in which the speed control device 32 sets the override amount KOR to a predetermined value Xin and outputs it to the NC calculation unit 30a (step S321). Then, the process advances to step S322, waits for the predetermined time Tin to elapse (see FIG. 4(b)), and ends the routine. In addition, the amount of opalide is KO
The NC calculation unit 30a that receives R inputs an override amount KO to the tool feed speed VTL set by the NC data command.
Multiply R and corrected value (VTLX KOI{+10
0 ) as a control signal, which is supplied to the drive control section 30b over a predetermined period Tin (see FIG. 4(b)).
)).

このように、切削開始減速処理ルーチンでは、AEせ4
0によりカッタ20がワークに接触して切削開始を検出
すると工具送り速度を一旦減速して所定期間Tinに亘
りその値に保持するのである。
In this way, in the cutting start deceleration processing routine, the AE
0, when the cutter 20 comes into contact with the workpiece and the start of cutting is detected, the tool feed rate is once decelerated and held at that value for a predetermined period of time Tin.

次に、第2B図のステップS34に進み、速度制御装置
32は、減速させた工具送り速度を元の指令速度VTL
に戻すに必要な立上げffiHX  (%)を次式(A
l)により演算し、これを記憶しておく。
Next, the process proceeds to step S34 in FIG. 2B, where the speed control device 32 changes the decelerated tool feed speed to the original command speed VTL.
The start-up ffiHX (%) required to return to
1) and store it.

HX = 1 0 0 −KOR      −・・・
−・(AI)そして、ステップ336及び338におい
て、後述する減速フラグDFL及び切削フラグCFLを
値lにセットして、ステップS12に戻る。
HX = 1 0 0 - KOR -...
- (AI) Then, in steps 336 and 338, a deceleration flag DFL and a cutting flag CFL, which will be described later, are set to the value 1, and the process returns to step S12.

ワークWの正常な切削が開始されると、前述のステップ
Sl2,Sl8.326等が順次実行され、ステップS
30における判別結果が、今度は肯定となり、後続のス
テップS40−349が順次実行され、工具切削負荷T
Aが検出される。この工具切削負荷TAの検出方法につ
いての詳細は後述する。そして、ステップS5Qにおい
て、工具切削負荷TAを所定判別値X MAXと比較す
ることにより過大な負荷がカッタ20に掛かつていない
ことを確認した後、第2D図のステップS52に進む。
When normal cutting of the workpiece W is started, steps Sl2, Sl8.326, etc. described above are executed in sequence, and step S
The determination result in step S30 is now positive, and the subsequent steps S40-349 are sequentially executed, and the tool cutting load T
A is detected. Details of the method for detecting this tool cutting load TA will be described later. Then, in step S5Q, after confirming that no excessive load is applied to the cutter 20 by comparing the tool cutting load TA with a predetermined determination value XMAX, the process proceeds to step S52 in FIG. 2D.

ステップS52では、工具切削負荷TAが所定の基準値
Xstより大であるか否かが判別され、判別結果が肯定
の場合には後述する減速演算処理が実行される。一方、
ステップS52の判別結果が否定の場合には、ステップ
S54に進み、工具切削負荷TAが所定の基準値Xsは
り小であるか否かが判別される。そして、この判別結果
が肯定の場合には前述した減速フラグDFLが値1であ
るか否かを判別する(ステップ356)。このフラグD
FLは、前述した切削開始減速処理ルーチンの実行によ
り値lに設定されており、切削開始減速処理が実行され
た直後ではこの判別結果は肯定となり、後述のステップ
S84に進み、減速処理後の復帰処理が実行される。尚
、減速フラグDFLが値lにセットされていなければ、
ステップS56の判別結果は否定となり、ステップS7
0に進んで、後述の加速濱算処理ルーチンが実施される
In step S52, it is determined whether the tool cutting load TA is greater than a predetermined reference value Xst, and if the determination result is affirmative, a deceleration calculation process to be described later is executed. on the other hand,
If the determination result in step S52 is negative, the process proceeds to step S54, where it is determined whether the tool cutting load TA is less than a predetermined reference value Xs. If the result of this determination is affirmative, it is determined whether the deceleration flag DFL described above is 1 (step 356). This flag D
FL is set to the value l by executing the cutting start deceleration processing routine described above, and immediately after the cutting start deceleration processing is executed, this determination result becomes affirmative, and the process proceeds to step S84, which will be described later, to return after the deceleration processing. Processing is executed. Note that if the deceleration flag DFL is not set to the value l,
The determination result in step S56 is negative, and step S7
The process advances to 0, and an acceleration calculation processing routine to be described later is executed.

一方、ステップS54の判別結果が否定の場合、即ち、
工具切削負荷TAが所定の基準値Xstと等しく、減速
演算処理でもなく加速演算処理でもない場合、ステップ
358に進み、このステップにおいても減速フラグDF
Lが値lであるか否かが判別される。そして、減速フラ
グDFLが値1に設定されている場合には、ステップS
84に進んで減速処理後の復帰処理が実行され、値lに
設定されていなければ、ステップS80に進み、後述す
る速度維持処理が実行される。
On the other hand, if the determination result in step S54 is negative, that is,
If the tool cutting load TA is equal to the predetermined reference value Xst and neither deceleration calculation processing nor acceleration calculation processing is performed, the process advances to step 358, and the deceleration flag DF is also set in this step.
It is determined whether L is the value l. Then, if the deceleration flag DFL is set to the value 1, step S
The process advances to step S84, where a return process after the deceleration process is executed, and if the value l has not been set, the process proceeds to step S80, where a speed maintenance process, which will be described later, is executed.

このように、切削開始減速処理ルーチンが実行された直
後では、工具切削負荷TAが所定の基準値Xstより大
で切削速度を減速すべき場合には、この減速処理が優先
されるが、工具切削負荷TAが所定の基準値Xstより
小、ないしは等しく、加速演算処理ないしは速度維持処
理を実行すべき場合であっても、減速フラグDFLのセ
ットにより、これらの処理が無視されて、後述するステ
ップS84以降の復帰処理が優先して実行されることに
なる。
In this way, immediately after the cutting start deceleration processing routine is executed, if the tool cutting load TA is greater than the predetermined reference value Xst and the cutting speed should be reduced, this deceleration processing is given priority, but the tool cutting Even if the load TA is smaller than or equal to the predetermined reference value Xst and acceleration calculation processing or speed maintenance processing should be executed, these processing will be ignored by setting the deceleration flag DFL, and the process will be ignored in step S84, which will be described later. Subsequent return processing will be executed with priority.

尚、減速フラグDFLが値lにセットされるのは、上述
した切削開始減速処理ルーチンの他に、後述する減速演
算処理ルーチンの実行直後にもセットされ、このような
場合にも後述のステップS84に進んで、復帰処理が実
行される。
Note that the deceleration flag DFL is set to the value l not only in the cutting start deceleration processing routine described above, but also immediately after the deceleration calculation processing routine described later is executed, and in such a case, it is also set to the value l in step S84, which will be described later. Then, the recovery process is executed.

復帰処理のステップS84では、立上げ量HXが0であ
るか否か、即ち、前回ループにおいて設定されたオーバ
ライド量KORが既に100%に復帰しているか否かを
判別する。切削開始減速処理が実行された直後(第4図
のto時点直後)では、この立上げ量HXは0でないか
ら、ステップS85が実行され、立上げ量HXが所定値
XHX(例えば、40%)より大であるか否かが判別さ
れる。切削開始減速処理が実行された直後では、この判
別結果は肯定の筈であり、ステップS86の立上げ処理
が実行される。
In step S84 of the return process, it is determined whether the start-up amount HX is 0, that is, whether the override amount KOR set in the previous loop has already returned to 100%. Immediately after the cutting start deceleration process is executed (immediately after time 0 in FIG. 4), this start-up amount HX is not 0, so step S85 is executed, and the start-up amount HX is set to a predetermined value XHX (for example, 40%). It is determined whether or not it is larger than that. Immediately after the cutting start deceleration process is executed, this determination result should be affirmative, and the start-up process of step S86 is executed.

第5図は、10%立上げ処理ルーチンのフローチャート
を示し、先ず、ダウンカウンタが計数するカウント値N
upfJ<oであるか否かを判別する(ステップS 8
 6 0)。このダウンカウンタは、セットないしはリ
セットされると、カウント値が初期値に戻され、所定時
間毎にカウント値を、その値が0になるまで減じていく
ものであり、所定時間TUP(第4図(b)参照)を計
時するタイマである。
FIG. 5 shows a flowchart of the 10% start-up processing routine. First, the count value N counted by the down counter is
Determine whether upfJ<o (step S8
60). When this down counter is set or reset, the count value is returned to the initial value, and the count value is decremented at predetermined time intervals until the value becomes 0. This is a timer that measures the time (see (b)).

切削開始減速処理ルーチンが実行された直後、このlO
%立上げ処理ルーチンが実行された場合には、ダウンカ
ウンタのカウント値NUPはOである筈であり、ステッ
プ8860の判別結果は肯定となり、ステップ8861
に進む。
Immediately after the cutting start deceleration processing routine is executed, this lO
When the % startup processing routine is executed, the count value NUP of the down counter should be O, and the determination result in step 8860 is affirmative, and step 8861 is executed.
Proceed to.

ステップ3861では、前回設定したオーバライド量K
ORに第1の所定値ΔKl(例えば、10%)が加算さ
れ、この加算値を新たなオーバライド量KOR(=KO
R+ΔKl)として記憶する。そして、前述の式(AI
)により立上げ量HXを演算し(ステップS862)、
ダウンカウンタをセットして当該ルーチンを終了する(
ステップ3863)。
In step 3861, the previously set override amount K
A first predetermined value ΔKl (for example, 10%) is added to OR, and this added value is used as a new override amount KOR (=KO
R+ΔKl). Then, the above formula (AI
) to calculate the rise amount HX (step S862),
Set the down counter and end the routine (
step 3863).

このルーチンは、復帰処理が実行され、前述のステップ
385の判別結果が肯定である限り繰り返し実行される
。そして、ステップ8860の判別結果が肯定になるま
で、即ち、ダウンカウンタが初期値にセットされ、カウ
ントダウンし終え、所定時間TUPが経過する迄は、同
じオーバライド量KORが保持され、所定時間TOPが
経過する毎にオーバライド量KORはその値を所定値Δ
Kl宛増加させると共に、立上げ量HXを所定値ΔKl
宛減少させていく(第4図(b)のtl時点からt2時
点間)。
This routine is repeatedly executed as long as the return process is executed and the determination result in step 385 is affirmative. Then, the same override amount KOR is maintained until the determination result in step 8860 becomes affirmative, that is, until the down counter is set to the initial value and finishes counting down, and the predetermined time TUP has elapsed, and the predetermined time TOP has elapsed. Each time, the override amount KOR changes its value to a predetermined value Δ
Kl, and the start-up amount HX is increased to a predetermined value ΔKl.
(from time t1 to time t2 in FIG. 4(b)).

立上げ量HXが所定値XHX以下になると、ステップS
85の判別結果が否定となり、ステップS87に進み、
今度は20%立上げ処理ルーチンが実行される。
When the start-up amount HX becomes less than the predetermined value XHX, step S
The determination result of 85 is negative, and the process advances to step S87.
This time, the 20% startup processing routine is executed.

第6図は、20%立上げ処理ルーチンのフローチャート
を示し、先ず、ダウンカウンタが計数するカウント値N
UPがOであるか否かを判別する(ステップS 8 7
 0)。このダウンカウンタは、前述のlO%立上げ処
理ルーチンで使用したものと同じダウンカウンタを用い
てもよいし、初期値が異なる値に設定される、即ち、計
時時間の異なる別のダウンカウンタを使用してもよい。
FIG. 6 shows a flowchart of the 20% start-up processing routine. First, the count value N counted by the down counter is
Determine whether UP is O (step S87
0). This down counter may be the same as that used in the above-mentioned 1O% startup processing routine, or another down counter whose initial value is set to a different value, that is, whose clock time is different, may be used. You may.

そして、カウント値NuPが0でなければ、オーバライ
ド量KORおよび立上げ量HXに変更を加えずに当該ル
ーチンを終了するが、所定時間TUPが経過してカウン
ト値NUPが0になると、即ち、所定時間TUPの経過
毎に次ステップ3871以降の各ステップが実行される
Then, if the count value NuP is not 0, the routine ends without changing the override amount KOR and the start-up amount HX. Each step after the next step 3871 is executed every time the time TUP elapses.

ステップS871では、前回設定したオーバライド量K
ORに、前述の第1の所定値ΔK 1 (IOX)より
大きい値に設定されている第2の所定値ΔK2(例えば
、20%)が加算され、この加算値を新たなオーバライ
ド量KOR(=KOR+ΔK2)として記憶する。そし
て、新たに設定したオーバライド量KORが100%以
下であるか否かを判別し、以下であればそのままステッ
プS874に進むが、100%より大であれば、オーバ
ライド量KORをlOO%に設定し直して(ステップS
 8 7 3)、ステップS874に進む。即ち、この
20%立上げ処理ルーチンにおいて、オーバライド量K
ORが100%より大きい値に設定されることはない。
In step S871, the previously set override amount K
A second predetermined value ΔK2 (for example, 20%) that is set to a value larger than the first predetermined value ΔK 1 (IOX) described above is added to OR, and this added value is used as a new override amount KOR (= KOR+ΔK2). Then, it is determined whether the newly set override amount KOR is less than or equal to 100%, and if it is less than or equal to 100%, the process directly proceeds to step S874, but if it is greater than 100%, the override amount KOR is set to lOO%. Fix it (Step S)
8 7 3), the process advances to step S874. That is, in this 20% startup processing routine, the override amount K
OR is never set to a value greater than 100%.

次に、立上げ量HXを前述の式(A)により演算し(ス
テップS874)、ステップS875に進む。
Next, the rise amount HX is calculated using the above-mentioned formula (A) (step S874), and the process proceeds to step S875.

ステップS875ではダウンカウンタをセットしてカウ
ント値を初期値に戻し、当該ルーチンを終了する。
In step S875, a down counter is set to return the count value to the initial value, and the routine ends.

この20%立上げ処理ルーチンは、復帰処理が実行され
、前述のステップS84の判別結果が肯定である限り繰
り返し実行され、所定時間TUPが経過する毎にオーバ
ライド量KORはその値を所定値ΔK2宛増加させると
共に、立上げ量HXは所定値ΔK2宛減少させる(第4
図(b)のt2時点から(3時点間)。
This 20% startup processing routine is repeatedly executed as long as the return processing is executed and the determination result in step S84 is positive, and each time the predetermined time TUP elapses, the override amount KOR transfers its value to the predetermined value ΔK2. At the same time, the start-up amount HX is decreased by a predetermined value ΔK2 (fourth
From time t2 in Figure (b) (3 time points).

立上げ量HXがOに到達し、ステップS84において、
判別結果が肯定になると、ステップ388に進み、減速
フラグDFLを0にリセットして復帰処理が終了する。
The start-up amount HX reaches O, and in step S84,
If the determination result is affirmative, the process proceeds to step 388, where the deceleration flag DFL is reset to 0, and the return process ends.

尚、上述のように設定さたオーバライド量KORは、後
述するステップS90およびS91において上限値及び
下限値のチェックが行われた後、NC演算部30aに出
力されるが、この処理については、通常の工具切削負荷
に応じたオーバライド量制御と同じであるから、その詳
細は後述する。
Note that the override amount KOR set as described above is output to the NC calculation unit 30a after checking the upper limit value and lower limit value in steps S90 and S91, which will be described later. Since this is the same as the override amount control according to the tool cutting load, the details will be described later.

このように、切削開始時において工具送り速度を一旦減
速させた後、これを漸増させるようにしたので、切削開
始時に切削を滑らかに進行させることが出来、工具負荷
の急変による工具折損事故を未然に防止することが出来
る。しかも、従来、切削開始時に作業者がマニアル操作
によって行っていた工具送り速度の減速を自動的に行う
ことが出来る。
In this way, the tool feed rate is first decelerated at the start of cutting, and then gradually increased, so cutting can proceed smoothly at the start of cutting, and tool breakage accidents caused by sudden changes in tool load can be prevented. can be prevented. Furthermore, the tool feed rate can be automatically reduced, which was conventionally done manually by the operator at the start of cutting.

尚、第2E図に示す復帰処理において、立上げ量HXが
所定値XHxに到達した後、20%立上げ処理を実行し
てオーバライド量KORを第2の所定値ΔK2宛漸増さ
せるようにしたが、本発明はこの実施例に限定されず、
立上げ量HXが所定値XHXに到達したとき、オーバラ
イド量KORを100%まで一気に立ち上げるようにし
てもよい。
In the return process shown in FIG. 2E, after the start-up amount HX reaches the predetermined value XHx, the 20% start-up process is executed to gradually increase the override amount KOR to the second predetermined value ΔK2. , the invention is not limited to this example,
When the rise amount HX reaches the predetermined value XHX, the override amount KOR may be raised all at once to 100%.

切削が開始され、AEセンサ40により切削異常が検出
されない限り(ステップ326の判別結果により異常信
号が検出されない場合)、後述するように、工具切削負
荷に応じたオーバライド量KORが設定され、NCデー
タが設定する工具送り速度をオーバライド量KORで修
正することにより工具送り速度が制御される。ここで、
工具切削負荷の検出方法について説明する。
As long as cutting is started and no cutting abnormality is detected by the AE sensor 40 (if no abnormal signal is detected according to the determination result in step 326), an override amount KOR is set according to the tool cutting load as described later, and the NC data is The tool feed rate is controlled by modifying the tool feed rate set by the override amount KOR. here,
A method for detecting tool cutting load will be explained.

本発明に依れば、外乱や測定誤差等による制御ミスを最
小限に抑制するため、各軸モータに供給される電流値を
夫々所定サンプリング回数XNIだけ検出してこれらの
総和を求め、この総和から工具切削負荷の大きさが判定
される。より具体的に説明すると、速度制御装置32は
、第2B図のステップS40ないしS.43において、
各軸モータ負荷センサ4l〜44が検出した電流値AS
,AX,AZ.AYINをサンプリングして取り込む。
According to the present invention, in order to minimize control errors due to disturbances, measurement errors, etc., the current value supplied to each axis motor is detected a predetermined number of sampling times XNI, and the sum of these is calculated. The magnitude of the tool cutting load is determined from More specifically, the speed control device 32 performs steps S40 to S. in FIG. 2B. In 43,
Current value AS detected by each axis motor load sensor 4l to 44
, AX, AZ. Sample and import AYIN.

次いで、ステップS44ないしS46において、Y軸モ
ータ17の電流値AYINに対して基準モータ換算処理
を行う。この換算処理を行うのは、下記の理由による。
Next, in steps S44 to S46, reference motor conversion processing is performed on the current value AYIN of the Y-axis motor 17. This conversion process is performed for the following reasons.

無負荷状態において、各軸モータを駆動すると、無負荷
であるにも拘ず各軸モータに供給される電流値が異なる
。第7図は、無負荷状態(非切削状態)において、X軸
モータ11およびY軸モータl7に供給される各電流値
Aと、送り速度VFとの関係を示し、図から明白なよう
に、電流比率(AX /AY)が略7倍から40倍程度
もある。また、第8図は、X軸モータl1およびY軸モ
ータl7の送り速度VFをそれぞれ700mm/min
に設定して被削材を切削したときの、切込み量と各モー
タの電流値Aとの関係を示したもので、図から明白なよ
うに、この場合の電流比率(AX /AY)も略1.2
倍から1.4倍程度もある。これらの供給電流値の相違
は、テーブル10や主軸ヘッド16の摺動抵抗、重量の
相違、モータの容量の相違等によるものであり、これら
の相違を考慮に入れずに各軸方向の工具切削負荷を求め
ることは出来ない。そこで、上述した摺動抵抗等の影響
が無視できない軸モータに対しては、基準となる軸モー
タの電流値に換算することにより工具切削負荷を正確に
把握しようとするものである。
When each axis motor is driven in a no-load state, the current value supplied to each axis motor differs even though there is no load. FIG. 7 shows the relationship between each current value A supplied to the X-axis motor 11 and the Y-axis motor 17 and the feed rate VF in a no-load state (non-cutting state), and as is clear from the figure, The current ratio (AX/AY) is approximately 7 times to 40 times. In addition, FIG. 8 shows that the feed speed VF of the X-axis motor l1 and Y-axis motor l7 is each 700 mm/min.
This figure shows the relationship between the depth of cut and the current value A of each motor when cutting the workpiece material with the settings set to 1.2
It is about 1.4 times to 1.4 times. These differences in supply current values are due to sliding resistance of the table 10 and spindle head 16, differences in weight, differences in motor capacity, etc., and tool cutting in each axis direction is performed without taking these differences into account. It is not possible to calculate the load. Therefore, for shaft motors where the influence of the above-mentioned sliding resistance etc. cannot be ignored, it is attempted to accurately grasp the tool cutting load by converting it into a reference current value of the shaft motor.

実施例では、Y軸モータl7の実電流値AYINをX軸
モータ11を基準モータとしてこの基準モークの電流値
に換算することにより、電流検出条件を揃えるようにし
ている。そこで、Y軸モータl7の実電流値AYINが
所定判別値XAYより小であるか否かを判別する(ステ
ップS44)。この判別値XAYは、Y軸モータl7が
無負荷で駆動されているか、即ち、空切削中であるか、
或いは切削中であるかを判別することが出来る値、例え
ば、2OAに設定される。そして、実電流値AYINが
所定判別値XAYより小である場合には、空切削中と判
定し、ステップS45に進み、Y軸モータ17の基準換
算電流値AYを次式(Bl)により演算する。
In the embodiment, current detection conditions are made uniform by converting the actual current value AYIN of the Y-axis motor 17 into the current value of this reference motor using the X-axis motor 11 as the reference motor. Therefore, it is determined whether the actual current value AYIN of the Y-axis motor l7 is smaller than a predetermined determination value XAY (step S44). This discrimination value
Alternatively, it is set to a value that allows it to be determined whether cutting is in progress, for example, 2OA. If the actual current value AYIN is smaller than the predetermined determination value XAY, it is determined that idle cutting is in progress, and the process proceeds to step S45, where the reference converted current value AY of the Y-axis motor 17 is calculated by the following equation (Bl). .

AY =AYIN +XK1       ・・・・・
・(81)ここに、XKIは補正定数であり、例えば、
15Aに設定される。
AY=AYIN+XK1...
・(81) Here, XKI is a correction constant, for example,
It is set to 15A.

ステップS44の判別結果が否定、即ち、実電流値AY
INが所定判別値XAYより大である場合には、切削中
と判定し、ステップ846に進み、Y軸モータ17の基
準換算電流値AYを次式(B2)により演算する。
If the determination result in step S44 is negative, that is, the actual current value AY
If IN is larger than the predetermined determination value XAY, it is determined that cutting is in progress, and the process proceeds to step 846, where the standard converted current value AY of the Y-axis motor 17 is calculated using the following equation (B2).

AY =AYIN X K l       −・・・
・・(B2)ここに、Klは補正係数であり、例えば、
値1.4に設定される。第9図は、上述のように換算さ
れた基準換算電流値AYと実電流値AYINとの関係を
示す。
AY = AYIN X K l -...
...(B2) Here, Kl is a correction coefficient, for example,
It is set to a value of 1.4. FIG. 9 shows the relationship between the reference current value AY converted as described above and the actual current value AYIN.

このように、基準電流値換算の必要な電流値の換算が終
わると、ステップ347に進み、前回ループで演算した
電流値の総和TAに、今回ループで得た各軸モータの電
流値を加算して今回値TAを次式(B3)により演算す
る。
In this way, when the conversion of the current value required for standard current value conversion is completed, the process proceeds to step 347, where the current value of each axis motor obtained in the current loop is added to the total sum TA of the current values calculated in the previous loop. Then, the current value TA is calculated using the following equation (B3).

TA=TA+AS+AX+AY+AZ =・=− (B
3)そして、第2C図のステップ848に進み、サンプ
リング回数Nlが所定値XNIに到達したか否かを判別
する。到達していなければ、サンプリング回数Nlに値
lを加算した後(ステップS49)、ステップSl2に
戻り、各軸モータの電流値の検出を繰り返す。そして、
サンプリング回数Nlが所定値XNIに到達したら、上
述のようにして加算した各軸モータのXNI回のサンプ
リング値の総和を工具切削負荷TAとしてこれを記憶し
、前述のステップS50に進む。
TA=TA+AS+AX+AY+AZ =・=- (B
3) The process then proceeds to step 848 in FIG. 2C, where it is determined whether the number of sampling times Nl has reached the predetermined value XNI. If the value has not been reached, the value l is added to the sampling number Nl (step S49), and then the process returns to step Sl2 to repeat detection of the current value of each axis motor. and,
When the number of sampling times Nl reaches the predetermined value XNI, the sum of the XNI sampling values of each axis motor added as described above is stored as the tool cutting load TA, and the process proceeds to step S50 described above.

縁星直見皇旦 次に、上述のようにして求めた工具切削負荷TAに応じ
て実行される減速演算処理について説明する。
Next, a description will be given of the deceleration calculation process executed according to the tool cutting load TA determined as described above.

速度制御装置32は、ステップ352において、上述の
ようにして求めた工具切削負荷TAが所定基準値Xst
より大であるか否かを判別する。この工具切削負荷TA
と基準値Xstとの関係は、第lO図に示される。工具
切削負荷TAは、XNl回のサンプリングにより各軸モ
ータの電流値を総和した値であり、同図中斜線で示す部
分の面積が工具切削負荷TAに相当する。これに対して
、基準値Xstは、基準電流値AstをXNI回加算し
た値であり、同図中、点0 − XNI − D − 
Ast − 0で囲まれる面積に対応する。このように
、工具切削負荷TAは、各サンプリング毎の電流検出値
を基準値と比較するのではなく、第lO図に示すような
面積比較により工具切削負荷TAの大きさを基準値と比
較するので、外乱の影響や検出誤差を最小限に抑えるこ
とが出来る。
In step 352, the speed control device 32 controls the tool cutting load TA obtained as described above to a predetermined reference value Xst.
Determine whether the value is greater than or not. This tool cutting load TA
The relationship between the reference value Xst and the reference value Xst is shown in FIG. The tool cutting load TA is a value obtained by summing the current values of the respective axis motors by sampling XNl times, and the area of the shaded portion in the figure corresponds to the tool cutting load TA. On the other hand, the reference value Xst is the value obtained by adding the reference current value Ast XNI times, and in the same figure, the reference value Xst is the value obtained by adding the reference current value Ast XNI times, and in the same figure,
Corresponds to the area surrounded by Ast-0. In this way, the tool cutting load TA is determined by comparing the size of the tool cutting load TA with the reference value by comparing the areas as shown in Figure 1O, rather than comparing the detected current value for each sampling with the reference value. Therefore, the influence of disturbances and detection errors can be minimized.

ステップS52の判別結果が肯定、即ち、工具切削負荷
TAが所定基準値X s tより大であれば、ステップ
360に進み、減速演算処理ルーチンが実行される。
If the determination result in step S52 is affirmative, that is, if the tool cutting load TA is greater than the predetermined reference value X s t, the process proceeds to step 360, where a deceleration calculation processing routine is executed.

第1lA図及び第11B図は、この減速演算処理ルーチ
ンのフローチャートを示し、速度制御装置32は、先ず
、工具切削負荷TAに応じたオーバライド量KORを設
定する(ステップS601)。
11A and 11B show a flowchart of this deceleration calculation processing routine, and the speed control device 32 first sets an override amount KOR according to the tool cutting load TA (step S601).

第12図は工具切削負荷TAと、この工具切削負荷TA
に応じて設定されるオーバライド量KORとの関係を示
し、工具切削負荷TAが所定基準値Xstである場合に
はオーバライド量KORは値100%に設定され、この
基準値Xstより大の場合には、工具切削負荷TAの増
加に伴って減少する値に、工具切削負荷TAが切削最大
値XMAXに到達すると、0%に設定される。ここで、
基準値Xstはカッタ20による切込み量を所定値に設
定し、このときの切削負荷に対応する値である。又、切
削最大値XMAXは、切込み量が工具刃長に到達したと
きの最大許容切込み量に対応する切削負荷電流値であり
、工具切削負荷TAの最大値をこの値に制限することで
工具折損を防止している。第12図に示す関係は工具l
刃当りの取り代を略一定にするように設定されており、
切込み量が増加するとこれに反比例して工具送り速度を
遅く設定している。
Figure 12 shows the tool cutting load TA and this tool cutting load TA.
The relationship between the override amount KOR and the override amount KOR that is set according to the tool cutting load TA is shown. , the value decreases as the tool cutting load TA increases, and is set to 0% when the tool cutting load TA reaches the maximum cutting value XMAX. here,
The reference value Xst is a value that sets the amount of cutting by the cutter 20 to a predetermined value and corresponds to the cutting load at this time. In addition, the maximum cutting value XMAX is the cutting load current value corresponding to the maximum allowable depth of cut when the depth of cut reaches the tool blade length, and by limiting the maximum value of the tool cutting load TA to this value, tool breakage can be prevented. is prevented. The relationship shown in Figure 12 is that the tool l
It is set to keep the removal amount per blade approximately constant,
As the depth of cut increases, the tool feed rate is set to be slower in inverse proportion to this.

このとき、工具送り速度に比例して主軸の回転速度も遅
くした方が工具寿命上好ましい。
At this time, it is preferable for the life of the tool to slow down the rotation speed of the spindle in proportion to the tool feed speed.

次に、速度制御装置32は、減速フラグDFLが値1に
セットされているか否かを判別する。この減速演算処理
ルーチンが初めて実行された場合には、通常このフラグ
はセットされていないから、後続のステップをスキップ
して当該ルーチンを終了する。即ち、この場合、オーバ
ライド量KORは、工具切削負荷TAに対応した値にそ
のまま設定されて当該ルーチンを終了することになる。
Next, the speed control device 32 determines whether the deceleration flag DFL is set to the value 1 or not. When this deceleration calculation processing routine is executed for the first time, this flag is normally not set, so the subsequent steps are skipped and the routine ends. That is, in this case, the override amount KOR is set as is to the value corresponding to the tool cutting load TA, and the routine ends.

減速演算処理ルーチンが終了すると、ステップ362に
おいて、減速フラグDFLを値lにセットした後、ステ
ップS64において、立上げ量HX(=100−KOR
)が前述の式(At)により演算される。
When the deceleration calculation processing routine ends, the deceleration flag DFL is set to the value l in step 362, and then the start-up amount HX (=100-KOR
) is calculated by the above-mentioned formula (At).

次に、第2F図のステップS90に進み、オーバライド
量KORが上限値MAXより犬であるか否かを判別し、
大であれば、この上限値MAXにオーバライド量KOR
を設定し直してステップS96に進む。一方、オーバラ
イド量KORが上限値MAX以下であれば、ステップ3
91に進み、今度は下限値MENと比較し、下限値MI
Nより小であれば、この下限値MINに設定し直し、下
限値MIN以上であれば、オーバライド量KORに変更
を加えずにステップS96に進む。
Next, proceeding to step S90 in FIG. 2F, it is determined whether the override amount KOR is a dog based on the upper limit value MAX,
If it is large, the override amount KOR is set to this upper limit value MAX.
is reset and the process proceeds to step S96. On the other hand, if the override amount KOR is less than the upper limit value MAX, step 3
Proceed to step 91, this time compare it with the lower limit value MEN, and find the lower limit value MI.
If it is smaller than N, the lower limit value MIN is set again, and if it is greater than or equal to the lower limit value MIN, the process proceeds to step S96 without changing the override amount KOR.

尚、この実施例では、下限値MINは0%に、上限値M
AXは、例えば120%に設定されており、許容範囲以
外の値で送り速度が制御されることを防止している。こ
れらの上下限値の設定は、型彫機の性能等により適宜値
に設定出来ることは勿論のことである。
In this embodiment, the lower limit value MIN is set to 0%, and the upper limit value M is set to 0%.
AX is set to 120%, for example, to prevent the feed rate from being controlled at a value outside the allowable range. Of course, these upper and lower limit values can be set to appropriate values depending on the performance of the die carving machine.

ステップ396では、上述のようにして設定したオーバ
ライド量KORをNC演算部30aに出力して、NCデ
ータにより指定されるカッタ20の送り速度をこのオー
バライド量KORで減速修正し、工具切削負荷TAの急
変に対処される。
In step 396, the override amount KOR set as described above is output to the NC calculation section 30a, the feed speed of the cutter 20 specified by the NC data is decelerated and corrected by this override amount KOR, and the tool cutting load TA is reduced. Sudden changes will be dealt with.

減速演算処理ルーチンのステップS602において、減
速フラグDFLが値1にセットされている場合、即ち、
前回ループにおいて減速演算処理が実行され、今回ルー
プにおいても引続き減速演算処理が実行されると、ステ
ップS603に進み、今回ループのステップS601に
おいて設定されたオーバライド量K ORnと前回NC
演算部30aに出力されたオーバライド量K ORn−
1の偏差Δkを演算する。
In step S602 of the deceleration calculation processing routine, if the deceleration flag DFL is set to the value 1, that is,
When the deceleration calculation process was executed in the previous loop and the deceleration calculation process is continued in the current loop, the process advances to step S603, where the override amount KORn set in step S601 of the current loop and the previous NC are calculated.
Override amount KORn- outputted to the calculation unit 30a
Calculate the deviation Δk of 1.

Δk = KORn − KORn−1      =
−(CI)次いで、この偏差Δkが負値であるか否か、
即ち、今回設定されたオーバライド量K ORnは、前
回NC演算部30aに出力されたオーバライド量KOR
n−1より小であるか否かを判別する。判別結果が肯定
である場合、即ち、前回より大きい工具切削負荷TAが
検出された場合には、ステップS601で設定されたオ
ーバライト量KORに変更を加えずにこれをNC演算部
30aに出力することになる。
Δk = KORn - KORn-1 =
-(CI) Then, whether this deviation Δk is a negative value or not,
That is, the override amount KORn set this time is the override amount KORn outputted to the NC calculation section 30a last time.
It is determined whether it is smaller than n-1. If the determination result is positive, that is, if a tool cutting load TA larger than the previous one is detected, the overwrite amount KOR set in step S601 is output to the NC calculation unit 30a without being changed. It turns out.

一方、ステップS604の判別結果が否定の場合、第1
1B図のステップ8606に進み、ダウンカウンタが計
数するカウント値NUPが0であるか否かを判別する。
On the other hand, if the determination result in step S604 is negative, the first
Proceeding to step 8606 in Figure 1B, it is determined whether the count value NUP counted by the down counter is 0 or not.

このダウンカウンタも、前述の10%立上げ処理ルーチ
ンで使用したものと同じダウンカウンタを用いてもよい
し、初期値が異なる値に設定される別のダウンカウンタ
を使用してもよい。そして、カウント値NtJPが0で
なければ、オーバライド量KORを前回NC演算部30
aに出力した値と同じ値K ORn−1に設定し(ステ
ップ3607)、当該減速演算処理ルーチンを終了する
。そして、ステップS601で演算したオーバライド量
KORが前回NC演算部30aに出力した値以上である
限り、上述したダウンカウンタのカウント値NUPが0
になるまで、繰り返しステップS607が実行され、オ
ーバライド量KORが一定値に保持される。
This down counter may be the same as that used in the above-described 10% startup processing routine, or may be another down counter whose initial value is set to a different value. If the count value NtJP is not 0, the override amount KOR is calculated by the previous NC calculation unit 30.
The same value KORn-1 as the value outputted to a is set (step 3607), and the deceleration calculation processing routine ends. Then, as long as the override amount KOR calculated in step S601 is greater than or equal to the value output to the NC calculation unit 30a last time, the count value NUP of the down counter described above is 0.
Step S607 is repeatedly executed until the override amount KOR is maintained at a constant value.

ダウンカウンタのカウント値NIPが0に到達すると、
ステップ8606の判別結果が肯定となり、ステップ8
608に進む。立上げ量HXが所定値XHX(40%)
より大であるか否かが判別される。
When the count value NIP of the down counter reaches 0,
The determination result in step 8606 is affirmative, and step 8
Proceed to 608. The start-up amount HX is the predetermined value XHX (40%)
It is determined whether or not it is larger than that.

この判別は前述した復帰処理の判別と同じであり、この
判別結果が肯定であれば、ステップS609に進み、前
述の偏差Δkが、前述の第1の所定値ΔKl(to%)
より大きいか否かを判別する。即ち、前回と今回のオー
バライド量KO[lの差が所定値ΔKlより大きいか否
かを判別し、大きければ、前記ステップS601で演算
したオーバライド量KORをそのまま用いずに、前回N
C演算部30aに出力したオーバライド量KORn−1
に前記所定値ΔKlを加算し、これを今回ループでのオ
ーバライド量KORとする(ステップS610)。そし
て、後述のステップS616に進む。
This determination is the same as the determination in the restoration process described above, and if the determination result is affirmative, the process advances to step S609, and the aforementioned deviation Δk is equal to the aforementioned first predetermined value ΔKl (to%).
Determine whether the value is greater than or not. That is, it is determined whether the difference between the previous and current override amounts KO[l is larger than a predetermined value ΔKl, and if it is, the previous override amount KOR calculated in step S601 is not used as it is, and
Override amount KORn-1 output to C calculation unit 30a
The predetermined value ΔKl is added to the above-mentioned predetermined value ΔKl, and this is set as the override amount KOR in the current loop (step S610). Then, the process advances to step S616, which will be described later.

一方、ステップ$609において、判別結果が否定、即
ち、偏差Δkが所定値ΔK1以下の場合、前記ステップ
3601で演算したオーバライド量KORに変更を加え
ずにステップ3616に進む。
On the other hand, in step $609, if the determination result is negative, that is, the deviation Δk is less than the predetermined value ΔK1, the process proceeds to step 3616 without making any change to the override amount KOR calculated in step 3601.

即ち、第llA図のステップS601で演算したオーバ
ライド量KOHに対して、工具送り速度を増速すべきと
き、所定時間の経過毎に所定値を加算して、工具送り速
度を漸増させるのである。
That is, when the tool feed rate should be increased with respect to the override amount KOH calculated in step S601 of FIG. 11A, a predetermined value is added every time a predetermined time elapses to gradually increase the tool feed rate.

ステップ8608において、判別結果が否定の場合、即
ち、立上げ量HXが所定値XHXより小である場合、ス
テップS612に進み、前述の偏差Δkが、前述の第2
の所定値ΔK 2 (20X)より大きいか否かを判別
する。即ち、前回と今回のオーバライド量KOHの差が
所定値ΔK2より大きいか否かを判別し、大きければ、
前記ステップS601で演算したオーバライド量KOR
をそのまま用いずに、前回NC演算部30aに出力した
オーバライド量KORn−1に前記所定値ΔK2を加算
し、これを今回ループでのオーバライド量KOR (=
KORn−1+ΔK2)とする(ステップ8614)。
If the determination result in step 8608 is negative, that is, if the rise amount HX is smaller than the predetermined value
is larger than a predetermined value ΔK 2 (20X). That is, it is determined whether the difference between the previous and current override amounts KOH is larger than a predetermined value ΔK2, and if it is larger,
Override amount KOR calculated in step S601
Instead of directly using , the predetermined value ΔK2 is added to the override amount KORn-1 outputted to the NC calculation unit 30a last time, and this is used as the override amount KOR (=
KORn-1+ΔK2) (step 8614).

一方、ステップS612において、判別結果が否定、即
ち、偏差Δkが所定値ΔK2以下の場合、前記ステップ
3601で演算したオーバライド量KOHに変更を加え
ずにステップ8616に進む。
On the other hand, if the determination result in step S612 is negative, that is, the deviation Δk is less than or equal to the predetermined value ΔK2, the process proceeds to step 8616 without making any change to the override amount KOH calculated in step 3601.

このように、立上げ量HXが所定値XHX以下になると
、基準切削負荷に到達するまで、工具送り速度が加速さ
れ、切削時間の短縮が図られる。
In this way, when the start-up amount HX becomes equal to or less than the predetermined value XHX, the tool feed rate is accelerated until the reference cutting load is reached, and the cutting time is shortened.

尚、立上げ量HXが所定値XHXに到達したとき、オー
バライド量KORを100%まで一気に立ち上げるよう
にしてもよい。前述した通り、工具送り速度は工具の切
込み量に比例しており、減速演算処理の実施により、切
削負荷が工具の刃先近傍にだけ掛かっていたが、オーバ
ライド量KOHの増加により、工具に掛かる負荷の位置
が所定値XXHに対応する位置まで上昇し、切込み量を
一気に増加させても工具折損の虞はない。
Incidentally, when the rising amount HX reaches the predetermined value XHX, the override amount KOR may be suddenly raised to 100%. As mentioned above, the tool feed rate is proportional to the depth of cut of the tool, and due to the implementation of deceleration calculation processing, the cutting load was applied only to the vicinity of the cutting edge of the tool, but due to the increase in the override amount KOH, the load applied to the tool is Even if the position rises to a position corresponding to the predetermined value XXH and the depth of cut is increased all at once, there is no risk of tool breakage.

第13A図及び第13B図は、カッタ20の切込み量と
、NC演算部30aに出力されるオーバライド量KOR
の変化の例を示す。第13A図では、t 10, t 
11, t 12の各時点で、切込み量の急変に伴う工
具切削負荷TAの増大が生じ、オーバライド量KORは
、工具切削負荷TAの変化を検出した時点で、その工具
切削負荷TAに応じた値に設定され、工具送り速度を減
速させるようにしている。そして、【13時点で工具切
削負荷TAの減少を検出すると、オーバライド量KOR
をその工具切削負荷TAに対応する値にまで一気に増加
させず、所定時間TUP(例えば、lsec)が経過す
る毎に所定値ΔKl宛漸増させている(tla時点から
【14時点間)。
13A and 13B show the cutting depth of the cutter 20 and the override amount KOR output to the NC calculation section 30a.
An example of a change in is shown below. In FIG. 13A, t 10, t
11 and t12, the tool cutting load TA increases due to a sudden change in the depth of cut, and the override amount KOR is set to a value corresponding to the tool cutting load TA at the time when a change in the tool cutting load TA is detected. is set to reduce the tool feed rate. Then, when a decrease in the tool cutting load TA is detected at point [13], the override amount KOR
is not increased all at once to a value corresponding to the tool cutting load TA, but is gradually increased to a predetermined value ΔKl every time a predetermined time TUP (for example, lsec) elapses (from time tla to [14 time points)].

このように負荷の急増に対しては工具送り速度を直ちに
減速し、急減に対しては漸増させることにより工具の折
損を未然に防止している。
In this way, tool breakage is prevented by immediately reducing the tool feed rate in response to a sudden increase in load, and gradually increasing it in response to a sudden decrease in load.

第13B図において、t20時点で工具切込み量の急変
により工具切削負荷TAが増加した後、121時点で工
具切削負荷TAの減少によりオーバライドffil<O
Rが漸増している。そして、t22時点で再び工具切削
負荷TAが急増し、その負荷の大きさに応じたオーバラ
イド量KOHに急減させている。
In Fig. 13B, after the tool cutting load TA increases due to a sudden change in the tool depth of cut at time t20, the override ffil<O
R is gradually increasing. Then, at time t22, the tool cutting load TA increases rapidly again, and is rapidly reduced to an override amount KOH corresponding to the magnitude of the load.

t23時点でふたたび負荷が軽減し、オーバライド量K
ORがその時点から漸増するが、124時点で立上げ量
HXが所定値XIIXに到達したため、オーバライド量
KOHの増加量をその時点から第2の所定量ΔK2で漸
増させている。
At time t23, the load is reduced again and the override amount K
OR gradually increases from that point on, but since the start-up amount HX reaches the predetermined value XIIX at the time point 124, the amount of increase in the override amount KOH is gradually increased by the second predetermined amount ΔK2 from that point.

工具切削負荷TAが基準値Xstより犬で減速演算処理
が実行され、その後、工具切削負荷TAが前述の基準値
XStより小となったとき、工具送り速度をNCデータ
で指定される値より加速させるべきであるが、立上げ量
HXが未だ0%に戻っていない場合には、前述のステッ
プS54及びステップ356の判別結果が肯定となり、
加速演算処理が無視されて、前述した、第2E図の復帰
処理が実行される。そして、立上げ量HXが一旦0に戻
り、ステップS88において減速フラグDFLが0にリ
セットされた後、加速演算処理(ステップS70)が実
行されることになる。
When the tool cutting load TA is smaller than the reference value Xst, deceleration calculation processing is executed, and then when the tool cutting load TA becomes smaller than the reference value XSt mentioned above, the tool feed rate is accelerated from the value specified by the NC data. However, if the start-up amount HX has not yet returned to 0%, the determination results in step S54 and step 356 described above will be affirmative.
The acceleration calculation process is ignored, and the previously described return process shown in FIG. 2E is executed. Then, after the rise amount HX returns to 0 once and the deceleration flag DFL is reset to 0 in step S88, the acceleration calculation process (step S70) is executed.

又、工具切削負荷TAが基準値Xstより大で減速演算
処理が実行され、その後、工具切削負荷TAが基準値X
stに等しくなったとき、工具送り速度をNCデータで
指定される値に保持させるべきであるが、立上げ量HX
が未だ0%に戻っていない場合には、前述のステップS
52及びステップS54の判別結果がいずれも否定とな
り、且つ、ステップ35Bの判別結果が肯定となって速
度維持処理が無視され、前述した、第2E図の復帰処理
が実行される。そして、立上げ量HXが一旦0に戻り、
ステップ388において威速フラグDFLが0にリセッ
トされた後、速度維持処理(ステップ$80)が実行さ
れることになる。
Further, when the tool cutting load TA is larger than the reference value Xst, deceleration calculation processing is executed, and then the tool cutting load TA becomes the reference value
When it becomes equal to st, the tool feed rate should be held at the value specified by the NC data, but the start-up amount HX
has not returned to 0% yet, step S described above
The determination results in step S52 and step S54 are both negative, and the determination result in step 35B is affirmative, so the speed maintenance process is ignored and the above-described return process shown in FIG. 2E is executed. Then, the start-up amount HX returns to 0,
After the speed flag DFL is reset to 0 in step 388, speed maintenance processing (step $80) is executed.

包迷直星処] 加速演算処理が実行される場合は、工具切削負荷TAが
基準値Xstより小であり、切削時間の短縮のため、工
具送り速度を加速させる。この場合、速度制御装置32
は、ステップS70において、工具切削負荷TAに応じ
た目標オーバライド量KORを、第l2図に示すテーブ
ルから演算する。この場合、テーブルから読み出した値
をそのままNC演算部30aに出力するようにしてもよ
いし、目標オーバライド量に至るまで、実際に出力する
値を漸増させるようにしてもよい。尚、加速演算処理で
設定されたオーバライド量KORは、後述の上下限値チ
ェックを受けた後(ステップ390〜ステップS94)
、NC演算部30aに出力される。
When the acceleration calculation process is executed, the tool cutting load TA is smaller than the reference value Xst, and the tool feed rate is accelerated to shorten the cutting time. In this case, the speed control device 32
In step S70, the target override amount KOR corresponding to the tool cutting load TA is calculated from the table shown in FIG. 12. In this case, the value read from the table may be directly output to the NC calculation unit 30a, or the value actually output may be gradually increased until the target override amount is reached. Note that the override amount KOR set in the acceleration calculation process is checked after the upper and lower limit values are checked (step 390 to step S94), which will be described later.
, are output to the NC calculation section 30a.

迷底維持盟旦 速度維持処理が実行される場合は、工具切削負荷TAが
基準値Xstと等しい場合であり、この場合にはオーバ
ライド量KORは100%に設定され、工具送り速度が
NCデータで指示された値に保持されることになる。
When the maze bottom maintenance and speed maintenance processing is executed, the tool cutting load TA is equal to the reference value Xst, and in this case, the override amount KOR is set to 100% and the tool feed rate is It will be held at the specified value.

貝蛮里旦 ステップS26において、切削中にAEセンサ40によ
り異常振動や異常音響を検出した場合、あるいは、ステ
ップS50において、工具切削負荷TAが切削最大値X
MAX以上であることが検出された場合、第2G図のス
テップS27に進み、異常処理ルーチンが実行される。
In step S26, if abnormal vibration or abnormal sound is detected by the AE sensor 40 during cutting, or in step S50, the tool cutting load TA is set to the maximum cutting value X.
If it is detected that it is greater than or equal to MAX, the process advances to step S27 in FIG. 2G, and an abnormality handling routine is executed.

この異常処理ルーチンで実行される異常処理としては、
種々の処理方法が考えられ、例えば、NC演算装置の自
動運転を休止させ、主軸の回転を停止させ、オーバライ
ド量KORを0%に設定し、ショップエアや切削油の供
給を停止し、作業者に警報を発する、等の処理が実行さ
れる。
The abnormality processing executed by this abnormality processing routine is as follows:
Various processing methods can be considered. For example, the automatic operation of the NC processing unit is stopped, the rotation of the main shaft is stopped, the override amount KOR is set to 0%, the supply of shop air and cutting oil is stopped, and the operator Processing such as issuing a warning is executed.

上述の異常時の処理が終わると、速度制御装置32は、
マニアル操作盤39の特定のキーの信号レベルを入力し
(ステップ828)、この特定のキーから復帰信号が出
力されているか否かを判別する(ステップS29)。そ
して、この復帰信号が人力するまで、ステップS28及
びS29を繰り返し実行する。即ち、速度制御装置32
は、上述の異常発生後に、作業者による異常処理が完了
するまで待機するのである。
After the abnormality processing described above is completed, the speed control device 32
The signal level of a specific key on the manual operation panel 39 is input (step 828), and it is determined whether a return signal is output from this specific key (step S29). Steps S28 and S29 are then repeatedly executed until this return signal is input manually. That is, the speed control device 32
After the above-mentioned abnormality occurs, the system waits until the operator completes the abnormality processing.

作業者による、カッタの取り替え等の異常処理が完了し
、復帰信号が入力されると、速度制御装置32は、第2
A図のステップSIOに戻り、記憶値のイニシャライズ
を再度実行して前述した工具送り速度の制御等を再開さ
せる。
When the operator completes abnormal processing such as replacing the cutter and a return signal is input, the speed control device 32
Returning to step SIO in Fig. A, the stored values are initialized again and the control of the tool feed rate, etc. described above is restarted.

尚、上述の実施例では、NC型彫機のテーブルlOは切
削工具(カッタ)20に対してX軸方向に移動したが、
このテーブルIOを固定して、切,−削工具20がテー
ブル10に対して移動するものであってもよい。即ち、
本発明は、切削工具とワークとの間の相対移動速度をオ
ーバライド量で修正するものであり、切削工具及びワー
クのいずれが移動してもよい。
In the above embodiment, the table lO of the NC die carving machine moved in the X-axis direction with respect to the cutting tool (cutter) 20.
The table IO may be fixed and the cutting tool 20 may be moved relative to the table 10. That is,
The present invention corrects the relative movement speed between the cutting tool and the workpiece by an override amount, and either the cutting tool or the workpiece may move.

(発明の効果) 以上詳細に説明したように、本発明のNC切削装置に依
れば、切削工具の切削負荷を検出する負荷センサと、こ
の負荷センサが検出した工具切削負荷に応じてオーバラ
イド量を演算するオーバライド濱算装置とを備え、NC
演算装置は、オーバライド演算装置が演算するオーバラ
イド量に応じて数値制御データが指定する工具送り速度
を修正し、この修正した工具送り速度で切削工具を相対
移動させる一方、オーバライド量が、数値制御データが
指定する工具送り速度を保持させる所定基準値より工具
送り速度を減速させる側の値に設定された後、工具送り
速度を加速させるべき値に設定されたとき、オーバライ
ド量の、前回値と今回値の゛変化量を所定許容変化量と
比較して、該変化量がこの所定許容変化量を超えるとき
、オーバライド量の今回値を、今回値の変化量が前記所
定許容変化量に制限されるように設定するようにしたの
で、切削工具に掛かる負荷の急変に対応して工具送り速
度を自動的に調整することができ、作業者のマニアル操
作の負担が軽減され、工具折損事4. 故が未然に防止出来ると共に、数値制御データにおいて
工具送り速度指令値を高めに設定することができ、切削
加工時間を大幅に短縮させることが出来る等の種々の効
果を奏する。
(Effects of the Invention) As explained in detail above, according to the NC cutting device of the present invention, the load sensor detects the cutting load of the cutting tool, and the override amount is determined according to the tool cutting load detected by the load sensor. It is equipped with an override calculation device that calculates
The calculation device corrects the tool feed rate specified by the numerical control data according to the override amount calculated by the override calculation device, and moves the cutting tool relatively at the corrected tool feed rate. is set to a value that decelerates the tool feedrate from the specified reference value that maintains the specified tool feedrate, and then is set to a value that should accelerate the tool feedrate, the previous value and current value of the override amount The amount of change in the value is compared with a predetermined allowable change amount, and if the amount of change exceeds the predetermined allowable change amount, the current value of the override amount is limited to the predetermined allowable change amount. Since the setting is made as follows, the tool feed rate can be automatically adjusted in response to sudden changes in the load applied to the cutting tool, reducing the manual operation burden on the operator and reducing the risk of tool breakage. In addition to being able to prevent this from occurring, the tool feed rate command value can be set to a high value in the numerical control data, and the cutting time can be significantly shortened.

【図面の簡単な説明】[Brief explanation of the drawing]

第■図は、本発明に係るNC型彫機の全体構成を示すブ
ロック図、第2A図ないし第2G図は、オーバライド量
KORが生或される手順を説明するためのフローチャー
ト、第3図は、切削開始減速処理ルーチンのフローチャ
ート、第4図は、ワーク外形形状と工具送り速度との関
係を示すタイミングチャート、第5図は、lO%立上げ
処理ルーチンのフローチャート、第6図は、20%立上
げ処理ルーチンのフローチャート、第7図は、工具送り
速度VFと軸モータの負荷(電流値A)との関係を示す
グラフ、第8図は、切込み量と軸モータの負荷(電流値
A)との関係を示すグラフ、第9図は、Y軸モータの実
電流値と基準換算電流値との関係を示すグラフ、第10
図は、所定回数サンプリングされた各軸モータの電流値
の総和TAと、基準値Xstとの関係を示すためのグラ
フ、第11A図及び第11B図は、減速演算処理ルーチ
ンのフローチャート、第12図は、工具切削負荷TAと
、それによって設定されるオーバライド量KORとの関
係を示すグラフ、第13A図及び第13B図は、それぞ
れ工具切込み量とオーバライド量KORとの関係の一例
を示すタイミングチャートである。 l・・・NC型彫機、lO・・・テーブル、1l・・・
X軸モータ、12・・・コラム、l4・・・クロスビー
ム、15・・・Z軸モータ、16・・・主軸ヘッド、l
7・・・Y軸モータ、l8・・・主軸モータ、20・・
・カッタ(切削工具)30・・・NC演算装置、30a
・・・NC演算部、30b・・・サーボモータ駆動制御
部、32・・・速度制御装置(オーバライド演算装置)
、36・・・NCデータ読取装置、38・・・切換スイ
ッチ、39・・・マニアル操作盤、40・・・AEセン
サ、41〜44・・・軸モータ負荷センサ。
Fig. 3 is a block diagram showing the overall configuration of the NC die carving machine according to the present invention, Figs. 2A to 2G are flowcharts for explaining the procedure for generating the override amount KOR, and Fig. 3 is a , a flowchart of the cutting start deceleration processing routine, Fig. 4 is a timing chart showing the relationship between the workpiece external shape and tool feed rate, Fig. 5 is a flowchart of the lO% startup processing routine, and Fig. 6 is a 20% Flowchart of the startup processing routine. Figure 7 is a graph showing the relationship between tool feed rate VF and shaft motor load (current value A). Figure 8 is a graph showing the relationship between depth of cut and shaft motor load (current value A). 9 is a graph showing the relationship between the actual current value of the Y-axis motor and the reference converted current value.
11A and 11B are flowcharts of the deceleration calculation processing routine, and FIG. 13A and 13B are timing charts each showing an example of the relationship between the tool depth of cut and the override amount KOR. be. l...NC die engraver, lO...table, 1l...
X-axis motor, 12... Column, l4... Cross beam, 15... Z-axis motor, 16... Spindle head, l
7...Y-axis motor, l8... Main shaft motor, 20...
・Cutter (cutting tool) 30...NC calculation device, 30a
...NC calculation section, 30b... Servo motor drive control section, 32... Speed control device (override calculation device)
, 36... NC data reading device, 38... Changeover switch, 39... Manual operation panel, 40... AE sensor, 41-44... Shaft motor load sensor.

Claims (1)

【特許請求の範囲】[Claims] 外部データ読込装置からNC演算装置に読み込まれた数
値制御データに基づき、切削工具を、被切削物に対して
相対的に、多軸方向の所要の位置に、所要の速度で順次
移動させ、被切削物を所要の形状に切削するNC切削装
置において、前記切削工具の切削負荷を検出する負荷セ
ンサと、該負荷センサが検出した工具切削負荷に応じて
オーバライド量を演算するオーバライド演算装置とを備
え、前記NC演算装置は、オーバライド演算装置が演算
するオーバライド量に応じて前記数値制御データが指定
する工具送り速度を修正し、この修正した工具送り速度
で前記切削工具を相対移動させる一方、オーバライド量
が、前記数値制御データが指定する工具送り速度を保持
させる所定基準値より工具送り速度を減速させる側の値
に設定された後、工具送り速度を加速させるべき値に設
定されたとき、オーバライド量の、前回値と今回値の変
化量を所定許容変化量と比較して、該変化量がこの所定
許容変化量を超えるとき、オーバライド量の今回値を、
今回値の変化量が前記所定許容変化量に制限されるよう
に設定することを特徴とするNC切削装置。
Based on the numerical control data read into the NC processing device from the external data reading device, the cutting tool is sequentially moved to the required positions in multiple axes directions at the required speed relative to the workpiece. An NC cutting device that cuts a workpiece into a required shape, comprising a load sensor that detects the cutting load of the cutting tool, and an override calculation device that calculates an override amount according to the tool cutting load detected by the load sensor. , the NC calculation device corrects the tool feed rate designated by the numerical control data according to the override amount calculated by the override calculation device, and relatively moves the cutting tool at the corrected tool feed rate, while adjusting the override amount. is set to a value that decelerates the tool feedrate from a predetermined reference value that maintains the tool feedrate specified by the numerical control data, and then is set to a value that should accelerate the tool feedrate, the override amount The amount of change between the previous value and the current value is compared with a predetermined allowable change amount, and when the amount of change exceeds the predetermined allowable change amount, the current value of the override amount is set as
An NC cutting device characterized in that the amount of change in the current value is set to be limited to the predetermined allowable amount of change.
JP30100689A 1989-11-20 1989-11-20 Nc cutting device Pending JPH03161240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30100689A JPH03161240A (en) 1989-11-20 1989-11-20 Nc cutting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30100689A JPH03161240A (en) 1989-11-20 1989-11-20 Nc cutting device

Publications (1)

Publication Number Publication Date
JPH03161240A true JPH03161240A (en) 1991-07-11

Family

ID=17891696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30100689A Pending JPH03161240A (en) 1989-11-20 1989-11-20 Nc cutting device

Country Status (1)

Country Link
JP (1) JPH03161240A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017191536A (en) * 2016-04-15 2017-10-19 ファナック株式会社 Numerical controller for controlling output values during feedback control

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6213133A (en) * 1985-07-10 1987-01-21 Sumitomo Electric Ind Ltd Optoelectric converter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6213133A (en) * 1985-07-10 1987-01-21 Sumitomo Electric Ind Ltd Optoelectric converter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017191536A (en) * 2016-04-15 2017-10-19 ファナック株式会社 Numerical controller for controlling output values during feedback control

Similar Documents

Publication Publication Date Title
US8140177B2 (en) Numerical controller with interference check function
US7657356B2 (en) Controller
US5822212A (en) Machining load monitoring system
US7508152B2 (en) Apparatus for machine tool feedrate override using limiting parameters corresponding to actual spindle speed
US6937942B2 (en) Method and apparatus of detecting tool abnormality in a machine tool
JPH0384604A (en) Feed speed control method for numerical controller
CN102331744A (en) Numerical controller for machine tool with function of controlling speed of arc operation
JPH0751991A (en) Tool breakage preventing method
EP0299080A1 (en) Speed controller in a servo system
KR950015163B1 (en) Method of restarting operation of punch press machine and numerically controlled device
JPH11129144A (en) Control device for nc machine tool
JP2021002092A (en) Numerical controller
JP2008269483A (en) Numerical controller
JPH03161240A (en) Nc cutting device
EP1898284B1 (en) Control device for servo die cushion
JPH11202926A (en) Method and device for feed speed control in numerical control
JPH03161241A (en) Nc cutting device
JPH03161244A (en) Nc cutting device
JPH03161239A (en) Nc cutting device
JP2004195613A (en) Cutting feed speed control method and device of numerical control machine tool
JPH03161243A (en) Nc cutting device
JPH03161238A (en) Nc cutting device
JP2880211B2 (en) Tool load monitoring control method
JPH03161242A (en) Nc cutting device
JPH0751992A (en) Drilling work method