[go: up one dir, main page]

JPH05313726A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPH05313726A
JPH05313726A JP11468592A JP11468592A JPH05313726A JP H05313726 A JPH05313726 A JP H05313726A JP 11468592 A JP11468592 A JP 11468592A JP 11468592 A JP11468592 A JP 11468592A JP H05313726 A JPH05313726 A JP H05313726A
Authority
JP
Japan
Prior art keywords
buffer
speed
program
machining program
numerical control
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.)
Granted
Application number
JP11468592A
Other languages
Japanese (ja)
Other versions
JP2780729B2 (en
Inventor
Shiyouichi Sagazaki
正一 嵯峨崎
Masayuki Takada
正幸 高田
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 Electric Corp
Original Assignee
Mitsubishi Electric 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 Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP11468592A priority Critical patent/JP2780729B2/en
Publication of JPH05313726A publication Critical patent/JPH05313726A/en
Application granted granted Critical
Publication of JP2780729B2 publication Critical patent/JP2780729B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To prevent the occurrence of a cutter mark by providing the NC-side processing with a digestion buffer-final discriminating means, an intermediate buffer emptiness-discriminating means, a fast-forwarding discriminating means, and an interlock means to prevent a break of command for cutting feed. CONSTITUTION:An intermediate buffer 18 is provided between a supply buffer 16 and a digesting buffer 20. The empty state the intermediate buffer 18 is always discriminated on an NC side 22 at the time of NC operation; and if it is empty and the block to be next executed is fast-forwarded, the start of block execution is interlocked, and it is held till the intermediate buffer 17 is filled up through the supply buffer 16. The timing is so adjusted that block execution is started after it is filled. That is, a block execution start inter- locking means for fast-forwarding is held till the intermediate buffer 18 is filled, and the processing is returned to the normal processing after it is filled, thereby preventing the cutter mark from being made on following cutting feed blocks. The cutter mark is not made though the start is held till the intermediate buffer 16 is filled.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、数値制御装置の切削
送り時、指令のとぎれによる切削面に発生するカッタマ
ークを防止し、また、BTR(Behind Tape Reader)が
可能な数値制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control device capable of preventing a cutter mark generated on a cutting surface due to a break of a command at the time of cutting feed of a numerical control device and capable of BTR (Behind Tape Reader). Is.

【0002】[0002]

【従来の技術】図15は、自動プログラム(以下、AP
という)内蔵形の数値制御装置(以下、NC装置とい
う)のハードウェア構成を示すブロック図である。図に
おいて、30は装置全体の制御や演算を実行するCP
U、32はNC処理を実行するためのソフトウェアを格
納するNC側ROM、34はNC処理時のワーク領域で
あるNC側RAM、36はAP処理を実行するためのソ
フトウェアを格納するAP側ROM、38はAP処理時
のワーク領域であるAP側RAMである(以下、NC側
ROM32とNC側RAM34をNC側と略し、AP側
ROM36とAP側RAM38をAP側と略す)。
2. Description of the Related Art FIG. 15 shows an automatic program (hereinafter referred to as AP
It is a block diagram showing a hardware configuration of a built-in numerical control device (hereinafter referred to as an NC device). In the figure, 30 is a CP for executing control and calculation of the entire apparatus
U and 32 are NC-side ROMs that store software for executing NC processing, 34 is NC-side RAM that is a work area during NC processing, and 36 is an AP-side ROM that stores software for executing AP processings. Reference numeral 38 denotes an AP side RAM which is a work area during AP processing (hereinafter, the NC side ROM 32 and the NC side RAM 34 are abbreviated to the NC side, and the AP side ROM 36 and the AP side RAM 38 are abbreviated to the AP side).

【0003】また、40は加工プログラム記憶RAMで
あり、AP側で生成されたNC用加工プログラムおよび
後述する入出力部42から入力されたNC用加工プログ
ラムの各種の記憶バッファとして機能し、NC運転時、
NC側によりプログラムが取り出され解析されて数値制
御が実行される。
Reference numeral 40 denotes a machining program storage RAM, which functions as various storage buffers for the NC machining program generated on the AP side and the NC machining program input from the input / output unit 42, which will be described later. Time,
The NC side fetches the program, analyzes it, and executes numerical control.

【0004】42は入出力部であり、NC運転起動、N
C運転休止など外部からのスイッチ42aからの入力、
キーデータ入力部42bからの入力、補助機能出力、主
軸機能出力、外部とのNC用加工プログラム入出力等を
行う。44は外部NC加工プログラム作成装置であり、
一般的にホストコンピュータと呼ばれ、外部でNC用加
工プログラムを作成し、入出力部42に印加するもの
で、これは内蔵されたAP側ROM36、RAM38と
は異なり外部からの入出力機器である。46は表示部で
あり、NC側の運転状態の表示、AP側の自動決定デー
タの表示等をディスプレイ46a上に実行する。48は
駆動部であり、NC側で数値制御されたデータに対し増
幅処理等を実行し、サーボモータ48aを駆動する。
Reference numeral 42 is an input / output unit for starting NC operation, N
Input from the switch 42a from the outside, such as C operation suspension,
Input from the key data input unit 42b, auxiliary function output, spindle function output, NC machining program input / output with the outside, and the like are performed. 44 is an external NC machining program creation device,
It is generally called a host computer, which creates an NC machining program externally and applies it to the input / output unit 42. This is an external input / output device unlike the built-in AP side ROM 36 and RAM 38. .. Reference numeral 46 denotes a display unit, which displays the operating state on the NC side, the automatic determination data on the AP side, and the like on the display 46a. Reference numeral 48 denotes a drive unit that performs amplification processing or the like on the data numerically controlled on the NC side to drive the servo motor 48a.

【0005】図16は、従来におけるNC運転の場合に
おける信号の流れを示すブロック図である。図におい
て、10はAP側であり、NC運転起動に際し、AP入
力モードであればNC用加工プログラムを生成供給し、
後述する供給バッファ16にセットする。12は外部N
C加工プログラム作成装置であり、一般的に外部入出力
機器と呼ばれ、NC運転起動に際しNC用加工プログラ
ムを生成供給し、後述する入出力部14に印加する。1
4は入出力部であり、NC運転起動に際し外部機器入力
モードであれば外部NC加工プログラム作成装置12に
起動をかけ、その出力データであるNC用加工プログラ
ムを入力して、パリティチェック等を実行し、後述する
供給バッファ16にセットする。
FIG. 16 is a block diagram showing the flow of signals in the conventional NC operation. In the figure, 10 is the AP side, which generates and supplies a machining program for NC in the AP input mode when starting NC operation,
It is set in the supply buffer 16 described later. 12 is an external N
This is a C machining program creation device, generally called an external input / output device, which generates and supplies a machining program for NC when starting NC operation and applies it to an input / output unit 14 described later. 1
Reference numeral 4 denotes an input / output unit, which activates the external NC machining program creating device 12 in the external device input mode when the NC operation is activated, inputs the NC machining program which is the output data thereof, and executes a parity check or the like. Then, it is set in the supply buffer 16 described later.

【0006】16は供給バッファであり、複数ブロック
のNC用加工プログラム記憶領域でAP側10または外
部NC加工プログラム作成装置12により生成されたN
C用加工プログラムを1ブロックずつ溜め、満杯になる
と後述する消化バッファ20に転送する。一般に転送
後、空状態となり、AP側10または外部NC加工プロ
グラム作成装置12にデータを要求し、再度1ブロック
ずつ溜める。20は消化バッファであり、複数ブロック
のNC用加工プログラム記憶領域で供給バッファ16か
らNC用加工プログラムを転送し、後述するNC側22
に1ブロックずつデータを送り、消化してしまうと空状
態になり、再度供給バッファ16にデータを要求する。
Reference numeral 16 is a supply buffer, which is an NC machining program storage area of a plurality of blocks and is generated by the AP side 10 or the external NC machining program creating device 12.
The machining program for C is stored block by block, and when it is full, it is transferred to the digestion buffer 20 described later. Generally, after the transfer, it becomes empty and requests data from the AP side 10 or the external NC machining program creating device 12, and stores again one block at a time. Reference numeral 20 is a digestion buffer, which transfers the NC machining program from the supply buffer 16 in the NC machining program storage area of a plurality of blocks, and the NC side 22 to be described later.
The data is sent block by block, and when it is exhausted, it becomes empty, and the data is requested to the supply buffer 16 again.

【0007】22はNC側であり、消化バッファ20か
らNC用加工プログラムを1ブロックずつデータを取り
出し、解析し、工具送り速度に対応して補間演算等を行
う。また、AP側10または外部NC加工プログラム作
成装置12にNC運転起動等の制御信号も通知してい
る。24は駆動部であり、NC側22で補間計算された
数値制御データの増幅等を行いサーボモータ24aを駆
動する。
Reference numeral 22 denotes the NC side, which takes out the data of the NC machining program block by block from the digestion buffer 20, analyzes it, and performs interpolation calculation and the like corresponding to the tool feed speed. Further, it also notifies the AP side 10 or the external NC machining program creation device 12 of a control signal such as NC operation start. A driving unit 24 drives the servo motor 24a by amplifying the numerical control data interpolated on the NC side 22 and the like.

【0008】次に、NC側22のNC運転時における消
化動作を図17に示すフローチャートを参照して説明す
る。まず、NC側22からAP側10または外部NC加
工プログラム作成装置12にNC運転起動を行い、NC
用加工プログラムを生成させ、供給バッファ16を作成
させておく。次に、消化バッファ20が空か否かを判断
し(S40)、空でなければAのルートを通りステップ
50へジャンプし、反対に、空であればステップ42へ
移行する。次に、供給バッファ16が空か否かを判断し
(S42)、空であればBのルートを通り、一連の処理
を終了する。反対に、空でなければ供給バッファ16の
内容を消化バッファ20に転送する(S44)。
Next, the extinguishing operation of the NC side 22 during the NC operation will be described with reference to the flow chart shown in FIG. First, NC operation is started from the NC side 22 to the AP side 10 or the external NC machining program creation device 12, and the NC
The processing program for use is generated and the supply buffer 16 is generated. Next, it is judged whether or not the digestion buffer 20 is empty (S40), and if it is not empty, the route of A is passed and the process jumps to step 50. On the contrary, if it is empty, the process proceeds to step 42. Next, it is determined whether or not the supply buffer 16 is empty (S42). If the supply buffer 16 is empty, the route B is taken and a series of processing is terminated. On the contrary, if it is not empty, the contents of the supply buffer 16 are transferred to the digestion buffer 20 (S44).

【0009】次に、消化バッファ20からNC加工プロ
グラムを1ブロック(例えば、G01X−100.Y−
100.;)を取り出す(S50)。次に、指令された
工具送り速度(F100)に対応して移動量(X−10
0.Y−100.)に応じ補間演算を行う(S52)。
その後、補間演算したデータを駆動部24に出力して
(S54)一連の処理を終了する。その後、駆動部24
がサーボモータを動作させ、所定の速度(F100)で
所定の移動(X−100.Y−100.)をさせ、完了
すると再度ステップ40〜54に従った消化動作が繰り
返される。
Next, one block (for example, G01X-100.Y-) of the NC machining program from the digestion buffer 20 is used.
100. ;) Is taken out (S50). Next, the amount of movement (X-10) corresponds to the commanded tool feed speed (F100).
0. Y-100. ) Is performed (S52).
Then, the interpolated data is output to the drive unit 24 (S54), and a series of processing is ended. After that, the drive unit 24
Operates the servo motor to perform a predetermined movement (X-100.Y-100.) At a predetermined speed (F100), and when completed, the digestion operation according to steps 40 to 54 is repeated again.

【0010】以上のように消化バッファ20にNC用加
工プログラムがあるときはAルートを通り、NC用加工
プログラムが無くなるとステップ44において、供給バ
ッファ16の内容を消化バッファ20に転送するように
構成されている。
As described above, when the NC machining program is present in the digestion buffer 20, the route A is passed, and when the NC machining program is exhausted, the contents of the supply buffer 16 are transferred to the digestion buffer 20 in step 44. Has been done.

【0011】図18は、AP内蔵形NC装置のAP側1
0とNC側22のタイミングを示すタイミングチャート
である。AP内蔵形NC装置では通常1個のCPU30
がAP側処理とNC側処理を行う。一般にNC側処理の
優先度が高く、その空き時間を利用してAP処理が実行
される。図18(a)に示す定常状態において、NC側
(消化側)が消化している間(A1〜An)にAP側
(供給側)がその空き時間を利用して、次のNC用加工
プログラム(B)を作成するようにしている。そして、
NC側の消化(An)が終わると次のタイミングからす
ぐ次のデータ(B1)が消化できるようになっており、
バッファ間の指令の途切れが生じないよう工夫されてい
る。
FIG. 18 shows the AP side 1 of the NC device with built-in AP.
6 is a timing chart showing the timings of 0 and the NC side 22. In a built-in AP type NC device, normally one CPU 30
Performs AP side processing and NC side processing. Generally, the NC side process has a high priority, and the AP process is executed by utilizing the idle time. In the steady state shown in FIG. 18A, while the NC side (digestion side) is digesting (A1 to An), the AP side (supply side) uses the idle time to execute the next NC machining program. (B) is created. And
When the digestion (An) on the NC side ends, the next data (B1) can be digested immediately from the next timing.
It is devised so that there is no interruption of commands between buffers.

【0012】なお、NC側の1ブロック(例えば、A
1)の補間時間が長い(移動量が大または工具送り速度
が小の)とき、次ブロック(A2)の起動までの時間が
長くなり、それだけAP側の走れる時間が多くなる。逆
に、NC側の1ブロックの補間時間が短い(移動量が小
または工具送り速度が大の)とき、次ブロックの起動ま
での時間が短くなり、それだけAP側の走れる時間は狭
められる。また、AP側では簡単な形状(例えば、スラ
イス四角形状)であれば単時間でNC用加工プログラム
を作成できるが、複雑な形状(例えば、ポケット非定形
形状)であれば長時間の演算時間を要する。
One block on the NC side (for example, A
When the interpolation time of 1) is long (the movement amount is large or the tool feed speed is small), the time until the start of the next block (A2) becomes long, and the running time on the AP side increases accordingly. On the contrary, when the interpolation time of one block on the NC side is short (the movement amount is small or the tool feed speed is large), the time until the start of the next block is shortened, and the running time on the AP side is narrowed accordingly. On the AP side, NC machining programs can be created in a single time for simple shapes (for example, sliced quadrangular shapes), but for complex shapes (for example, pocket irregular shapes), a long calculation time is required. It costs.

【0013】更に、図20は、従来における工作機械を
制御するためのNC装置の構成を示すブロック図であ
り、図において、72は通信手段、73は受信バッフ
ァ、74はプログラム解析手段、75は補間手段、76
は速度計算手段、77は駆動部であり、71は上記各手
段を含むNC装置である。
Further, FIG. 20 is a block diagram showing the structure of a conventional NC device for controlling a machine tool. In the figure, 72 is a communication means, 73 is a reception buffer, 74 is a program analysis means, and 75 is a program analysis means. Interpolation means, 76
Is a speed calculation unit, 77 is a drive unit, and 71 is an NC device including the above units.

【0014】次に動作について説明する。図21は、図
20に示したNC装置の動作を示すフローチャートであ
る。まず、NC装置71にサイクルスタートがかけられ
るとNC装置1に接続されたテープリーダまたはコンピ
ュータ(図示せず)から通信手段72を介して受信バッ
ファ73に加工プログラムを受信する(S78)。次
に、受信した該加工プログラムをプログラム解析手段7
4が解析し(S79)、プログラム解析手段74の解析
結果から速度計算処理76が工具送り(補間)速度を計
算する(S80)。次に、補間手段75がプログラム解
析手段74の解析結果と速度計算手段76の計算結果か
ら補間処理を実行し(S81)、補間手段75の補間デ
ータに基づいて駆動部77がモータを駆動して(S8
2)、図示していない被工作機械を制御していた。
Next, the operation will be described. FIG. 21 is a flowchart showing the operation of the NC device shown in FIG. First, when the NC device 71 is cycle-started, a machining program is received from the tape reader or computer (not shown) connected to the NC device 1 into the reception buffer 73 via the communication means 72 (S78). Next, the received machining program is analyzed by the program analysis means 7
4 analyzes (S79), and the speed calculation processing 76 calculates the tool feed (interpolation) speed from the analysis result of the program analysis means 74 (S80). Next, the interpolation means 75 executes interpolation processing from the analysis result of the program analysis means 74 and the calculation result of the speed calculation means 76 (S81), and the drive unit 77 drives the motor based on the interpolation data of the interpolation means 75. (S8
2) The machine tool (not shown) was controlled.

【0015】その他、この発明に関連する参考技術文献
として、特開平1−320505号公報に開示されてい
る「数値制御方式」、特開昭59−116809号公報
に開示されている「数値制御装置」、特開昭60−93
513号公報に開示されている「数値制御装置における
アプリケーションシステムのデータ入出力器」、特開昭
62−120953号公報に開示されている「倣い加工
の同期運転方法」がある。
In addition, as reference technical documents related to the present invention, "numerical control method" disclosed in Japanese Patent Laid-Open No. 1-320505 and "Numerical controller" disclosed in Japanese Patent Laid-Open No. 59-116809. ], JP-A-60-93
There is a "data input / output device of an application system in a numerical controller" disclosed in Japanese Patent No. 513, and a "synchronous operation method for copying machining" disclosed in Japanese Patent Laid-Open No. 62-120953.

【0016】[0016]

【発明が解決しようとする課題】従来におけるNC装置
(図16)のNC運転時における消化動作は、上記のよ
うに処理されていたため、カッタマークと呼ばれる傷が
付く等の問題点があった。この問題点に関して上記従来
例を参照して詳細に説明する。
Since the digestion operation of the conventional NC device (FIG. 16) during NC operation has been processed as described above, there are problems such as scratches called cutter marks. This problem will be described in detail with reference to the above conventional example.

【0017】即ち、供給側であるAP側10や外部NC
加工プログラム作成装置12が多大な時間を要する形状
(例えば、ボールエンドミル3次元加工形状)の処理中
は図18(b)に示す供給側時間不足状態となり、消化
側であるNC側22がAnとB1との間で待たされる状
態になる。そして、切削指令の場合、指令が完全にとぎ
れ、図19に示す工具軌跡図のように前ブロックAn
(G10Xx2Yy2Ff2;)の終点で止まり、その
間工具が回転しているため、次ブロックB1(G03X
x3Yy3Ii3Jj3;)との間にカッタマークと呼
ばれる傷が付くものである。
That is, the AP side 10 on the supply side and the external NC
While the machining program creating device 12 is processing a shape that requires a great deal of time (for example, a ball end mill three-dimensional machining shape), the supply side time is insufficient as shown in FIG. 18B, and the NC side 22 on the digesting side becomes An. It will be in the state of being kept waiting with B1. Then, in the case of the cutting command, the command is completely interrupted, and as shown in the tool locus diagram shown in FIG.
(G10Xx2Yy2Ff2;) stops at the end point and the tool is rotating during that time, so the next block B1 (G03X
x3Yy3Ii3Jj3;) has a scratch called a cutter mark.

【0018】なお、NC側22が待たされる状態を図1
7に示したフローチャートを用いて説明すると、NC側
22の消化動作で消化バッファ20が空で、且つ、供給
バッファ16が空のためBルートを通って、即、完了状
態がしばらく続く状態である。
The state in which the NC side 22 is kept waiting is shown in FIG.
Explaining with reference to the flowchart shown in FIG. 7, the digestion buffer 20 is empty by the digestion operation on the NC side 22 and the supply buffer 16 is empty, so that the completion state continues for a while immediately after passing through the B route. ..

【0019】更に、従来におけるNC装置(図20)は
以上のように構成されているので、BTR運転の微小線
分データの切削において、切削によって消化される加工
プログラム量が通信手段によって供給される加工プログ
ラム量より多くなった場合、切削が一時停止して被加工
物にカッタマークと呼ばれる傷が付くという問題点があ
った。
Further, since the conventional NC device (FIG. 20) is configured as described above, in cutting the minute line segment data in the BTR operation, the processing program amount consumed by the cutting is supplied by the communication means. When the amount exceeds the machining program amount, there is a problem that the cutting is temporarily stopped and the workpiece has a scratch called a cutter mark.

【0020】この発明は上記のような問題点を解決する
ためになされたもので、NC側の消化動作によりバッフ
ァのセット完了を待つタイミングを意図的に変え、簡易
に切削送りの指令のとぎれを無くし、カッタマークの発
生を防止するNC装置を得ることを第1の目的とする。
The present invention has been made in order to solve the above problems, and intentionally changes the timing to wait for the completion of setting of the buffer by the digestion operation on the NC side to easily interrupt the cutting feed command. A first object of the present invention is to obtain an NC device that eliminates and prevents the generation of cutter marks.

【0021】また、切削によって消化される加工プログ
ラム量が通信手段によって供給される加工プログラム量
より多くなった場合でも、切削が一時停止して被加工物
にカッタマークが付かないNC装置を得ることを第2の
目的とする。
Further, even if the machining program amount consumed by the cutting becomes larger than the machining program amount supplied by the communication means, it is possible to obtain an NC device in which the cutting is temporarily stopped and the workpiece is not provided with a cutter mark. Is the second purpose.

【0022】[0022]

【課題を解決するための手段】この発明に係わるNC装
置は、自動プログラミング装置または外部入出力機器か
ら供給される数値制御用加工プログラムを複数ブロック
記憶する供給バッファと、前記供給バッファから加工プ
ログラムを転送される中間バッファと、前記中間バッフ
ァから加工プログラムを転送される消化バッファと、前
記消化バッファから数値制御用加工プログラムを取り出
し数値制御を実行して駆動部を動作させる数値制御部と
を有するNC装置において、前記数値制御部に消化バッ
ファの最終データ判断手段と、中間バッファの空判断手
段と、早送り判断手段と、消化バッファが最終データ
外、且つ、中間バッファが空、且つ、早送り時に数値制
御用加工プログラムのブロック実行開始をインタロック
するロック手段とを具備するものである。
An NC device according to the present invention includes a supply buffer for storing a plurality of blocks of a numerical control machining program supplied from an automatic programming device or an external input / output device, and a machining program from the supply buffer. An NC having an intermediate buffer to be transferred, a digestion buffer to which a machining program is transferred from the intermediate buffer, and a numerical control unit for taking out a numerical control machining program from the digestion buffer and executing numerical control to operate a drive unit. In the device, the numerical control section includes a final data determination means for the digestion buffer, an empty determination means for the intermediate buffer, a fast-forward determination means, a digestion buffer outside the final data, an intermediate buffer empty, and numerical control during fast-forwarding. Locking means for interlocking the block execution start of the machining program It is intended to Bei.

【0023】また、自動プログラミング装置または外部
入出力機器から供給される数値制御用加工プログラムを
複数ブロック記憶する供給バッファと、前記供給バッフ
ァから加工プログラムを転送される中間バッファと、前
記中間バッファから加工プログラムを転送される消化バ
ッファと、前記消化バッファから数値制御用加工プログ
ラムを取り出し数値制御を実行して駆動部を動作させる
数値制御部と、オペレータが設定する切削送り低下可否
フラグ及び速度低下係数パラメータとを有するNC装置
において、前記数値制御部に消化バッファの最終データ
判断手段と、中間バッファの空判断手段と、切削送り判
断手段と、切削送り低下可否フラグの判断手段と、消化
バッファが最終データ外、且つ、中間バッファが空、且
つ、切削送り、且つ、切削送り低下可否フラグON時に
数値制御用加工プログラムの工具送り速度を速度低下係
数パラメータを乗じて低下させる制御手段とを具備する
ものである。
Further, a supply buffer for storing a plurality of blocks of numerical control machining programs supplied from an automatic programming device or an external input / output device, an intermediate buffer to which the machining programs are transferred from the supply buffer, and machining from the intermediate buffer. The digestion buffer to which the program is transferred, the numerical control unit that takes out the numerical control machining program from the digestion buffer and executes the numerical control to operate the drive unit, the cutting feed decrease possibility flag and the speed decrease coefficient parameter set by the operator In the NC device having the above-mentioned numerical control unit, the final data determination means of the digestion buffer, the empty determination means of the intermediate buffer, the cutting feed determination means, the determination means of the cutting feed decrease possibility flag, and the digestion buffer are the final data. Outside, the intermediate buffer is empty, the cutting feed is , In which and a control means for reducing by multiplying the speed reduction coefficient parameter a tool feed rate of cutting feed reduction possibility flag ON at numerical control machining program.

【0024】また、通信手段を介して加工プログラムを
受信する受信バッファと、前記受信バッファにより受信
された加工プログラムを解析するプログラム解析手段
と、前記プログラム解析手段の解析結果に基づいて制御
速度を計算する速度計算手段と、前記速度計算手段とプ
ログラム解析手段の結果から補間処理を実行する補間手
段とを備え、工作機械等を制御するNC装置において、
前記通信手段を介して受信バッファに受信した加工プロ
グラムの残量を検出し、該加工プログラムの残量から速
度オーバライドを計算し、該速度オーバライド情報を加
工速度を変更するために前記速度計算手段に出力する速
度オーバライド出力手段を具備するものである。
Further, a receiving buffer for receiving the machining program through the communication means, a program analyzing means for analyzing the machining program received by the receiving buffer, and a control speed calculated based on the analysis result of the program analyzing means. In an NC device for controlling a machine tool or the like, which comprises a speed calculation means for controlling the machine tool and an interpolation means for executing an interpolation process from the results of the speed calculation means and the program analysis means,
The remaining amount of the machining program received in the reception buffer via the communication means is detected, the velocity override is calculated from the remaining amount of the machining program, and the velocity override information is provided to the velocity calculation means for changing the machining speed. It is provided with a speed override output means for outputting.

【0025】また、通信手段を介して加工プログラムを
受信する受信バッファと、前記受信バッファにより受信
された加工プログラムを解析するプログラム解析手段
と、前記プログラム解析手段の解析結果に基づいて制御
速度を計算する速度計算手段と、前記速度計算手段とプ
ログラム解析手段の結果から補間処理を実行する補間手
段とを備え、工作機械等を制御するNC装置において、
微小線分長、通信速度及び1ブロック当たりのキャラク
タ数等を設定するデータ設定手段を設け、前記データ設
定手段によりメモリに予め設定された該微小線分長、通
信速度及び1ブロック当たりのキャラクタ数等のデータ
に基づいてクランプ速度を計算し、該クランプ速度情報
を加工速度を制限するために前記速度計算手段に出力す
るクランプ速度計算手段を具備するものである。
Further, a receiving buffer for receiving the machining program via the communication means, a program analyzing means for analyzing the machining program received by the receiving buffer, and a control speed calculated based on the analysis result of the program analyzing means. In an NC device for controlling a machine tool or the like, which comprises a speed calculation means for controlling the machine tool and an interpolation means for executing an interpolation process from the results of the speed calculation means and the program analysis means,
A minute line segment length, communication speed, and the number of characters per block which are preset in the memory by the data setting means are provided by setting the minute line segment length, the communication speed, the number of characters per block, and the like. Clamp speed calculation means for calculating the clamp speed based on the data such as the above, and outputting the clamp speed information to the speed calculation means for limiting the processing speed.

【0026】また、通信手段を介して加工プログラムを
受信する受信バッファと、前記受信バッファにより受信
された加工プログラムを解析するプログラム解析手段
と、前記プログラム解析手段の解析結果に基づいて制御
速度を計算する速度計算手段と、前記速度計算手段とプ
ログラム解析手段の結果から補間処理を実行する補間手
段とを備え、工作機械等を制御するNC装置において、
前記受信バッファに受信された加工プログラムから1ブ
ロック当たりの平均キャラクタ数を検出する平均キャラ
クタ数検出手段と、前記受信バッファに受信されたキャ
ラクタ数から実効受信速度を計算する実効受信速度計算
手段と、前記プログラム解析手段の解析結果から平均微
小線分長を検出する平均微小線分長検出手段と、前記平
均キャラクタ数検出手段と実効受信速度計算手段と平均
微小線分検出手段からのデータに基づいてクランプ速度
を計算するクランプ速度計算手段を具備するものであ
る。
Further, a receiving buffer for receiving the machining program through the communication means, a program analyzing means for analyzing the machining program received by the receiving buffer, and a control speed calculated based on the analysis result of the program analyzing means. In an NC device for controlling a machine tool or the like, which comprises a speed calculation means for controlling the machine tool and an interpolation means for executing an interpolation process from the results of the speed calculation means and the program analysis means,
An average character number detecting means for detecting the average number of characters per block from the processing program received in the receiving buffer; an effective receiving speed calculating means for calculating an effective receiving speed from the number of characters received in the receiving buffer; Based on the data from the average minute line segment length detection means for detecting the average minute line segment length from the analysis result of the program analysis means, the average character number detection means, the effective reception speed calculation means, and the average minute line segment detection means. A clamp speed calculating means for calculating the clamp speed is provided.

【0027】また、通信手段を介して加工プログラムを
受信する受信バッファと、前記受信バッファにより受信
された加工プログラムを解析するプログラム解析手段
と、前記プログラム解析手段の解析結果に基づいて制御
速度を計算する速度計算手段と、前記速度計算手段とプ
ログラム解析手段の結果から補間処理を実行する補間手
段とを備え、工作機械等を制御するNC装置において、
前記プログラム解析手段から早送りを検出し、また、前
記通信手段を介して受信バッファに受信した加工プログ
ラムの残量を検出し、加工プログラムの残量が所定値以
下になった場合、前記補間手段に対して補間中断指令を
出力し、加工プログラムの残量が所定値以上になった場
合、前記補間手段に対して補間再開指令を出力する補間
制御手段を具備するものである。
Further, a receiving buffer for receiving the machining program via the communication means, a program analyzing means for analyzing the machining program received by the receiving buffer, and a control speed calculated based on the analysis result of the program analyzing means. In an NC device for controlling a machine tool or the like, which comprises a speed calculation means for controlling the machine tool and an interpolation means for executing an interpolation process from the results of the speed calculation means and the program analysis means,
Detects fast-forward from the program analysis means, detects the remaining amount of the machining program received in the reception buffer via the communication means, and when the remaining amount of the machining program becomes a predetermined value or less, On the other hand, it is provided with an interpolation control means for outputting an interpolation interruption command and outputting an interpolation restart command to the interpolation means when the remaining amount of the machining program exceeds a predetermined value.

【0028】[0028]

【作用】この発明に係わるNC装置は、供給バッファと
消化バッファの間に中間バッファを設け、NC運転時、
常時その中間バッファの空状態をNC側で判断し、空の
場合、次に実行するブロック(例えば、図19のB1)
が早送り(G00モード)ならば、そのブロック実行開
始をインタロックし、供給バッファ経由で中間バッファ
が埋まるまで待ち、そして、埋まった後、ブロック実行
を開始するようにタイミングを調整する。即ち、早送り
(G00モード)時のブロック実行開始インタロック手
段は、まず中間バッファが埋まるまで待ち、埋まった
後、通常処理に戻すことにより、以降の切削送りブロッ
クでカッタマークが付かなくする。なお、中間バッファ
が埋まるまで待っても早送りのため切削していないため
当該ブロックにカッタマークは存在しない。
In the NC device according to the present invention, an intermediate buffer is provided between the supply buffer and the digestion buffer, and when the NC is operated,
The NC side always determines the empty state of the intermediate buffer, and if it is empty, the block to be executed next (for example, B1 in FIG. 19).
If is fast forward (G00 mode), the block execution start is interlocked, the intermediate buffer is waited for via the supply buffer, and then the timing is adjusted so that block execution is started. That is, the block execution start interlock means in the fast feed (G00 mode) first waits until the intermediate buffer is filled, and then returns to the normal processing so that the cutter mark is not attached to the subsequent cutting feed block. It should be noted that there is no cutter mark in the block because it is not cut because it is fast-forwarding even after waiting until the intermediate buffer is filled.

【0029】また、次に実行するブロック(例えば、図
19のB1)が切削送り(G01,G02,G03モー
ド)ならば、その工具送り速度を自動的に低下させる。
その結果、1ブロック補間時間を長くし、供給側が供給
バッファにNC用加工プログラムをセットに要する時間
まで実行し、供給バッファ経由で中間バッファが埋まっ
たならば、指令された工具送り速度に戻すなどの調整を
する。即ち、切削送り(G01,G02,G03モー
ド)時の補間速度を低下させる手段は、低下させられた
ブロックの補間中に中間バッファが埋まるようになり、
埋まった後、通常処理に戻すことにより、以降の切削送
りブロックでカッタマークが付かなくする。
If the block to be executed next (for example, B1 in FIG. 19) is cutting feed (G01, G02, G03 mode), the tool feed speed is automatically reduced.
As a result, the 1-block interpolation time is lengthened, the supply side executes the machining program for NC in the supply buffer until the time required for setting, and if the intermediate buffer is filled via the supply buffer, it returns to the commanded tool feed speed. Adjust. That is, the means for reducing the interpolation speed during cutting feed (G01, G02, G03 modes) allows the intermediate buffer to be filled during interpolation of the reduced block,
After it is filled, by returning to the normal processing, the cutter mark will not be attached in the subsequent cutting feed block.

【0030】また、この発明に係わるNC装置は、速度
オーバライド出力手段が、受信バッファの加工プログラ
ムの残量から、切削速度のオーバライドを計算し、速度
計算手段を介して切削速度を制御する。
Further, in the NC device according to the present invention, the speed override output means calculates the cutting speed override from the remaining amount of the machining program in the reception buffer, and controls the cutting speed via the speed calculation means.

【0031】また、データ設定手段で微小線分長及び通
信速度及び1ブロック当たりのキャラクタ数等のデータ
をメモリに予め記憶しておき、クランプ速度計算手段が
前記データをメモリから読み出して、クランプ速度を計
算し、速度計算手段を介して切削速度を制限する。
Further, data such as the minute line segment length, the communication speed, and the number of characters per block is stored in the memory in advance by the data setting means, and the clamp speed calculation means reads the data from the memory to obtain the clamp speed. Is calculated and the cutting speed is limited via the speed calculation means.

【0032】また、平均キャラクタ数検出手段が、受信
バッファに受信された加工プログラムから1ブロック当
たりの平均のキャラクタ数を検出し、実効受信速度計算
手段が、受信バッファに受信されたキャラクタ数から実
効受信速度を計算し、平均微小線分長検出手段が、プロ
グラム解析手段の解析結果から平均の微小線分長を検出
する。前記平均キャラクタ数検出手段と実効受信速度計
算手段と平均微小線分長検出手段からのデータをもとに
クランプ速度計算手段がクランプ速度を計算し、速度計
算手段を介して切削速度を制限する。
Further, the average character number detecting means detects the average number of characters per block from the processing program received in the receiving buffer, and the effective receiving speed calculating means determines the effective number from the number of characters received in the receiving buffer. The receiving speed is calculated, and the average minute line segment length detecting means detects the average minute line segment length from the analysis result of the program analyzing means. The clamp speed calculation means calculates the clamp speed based on the data from the average character number detection means, the effective reception speed calculation means, and the average minute line segment length detection means, and limits the cutting speed through the speed calculation means.

【0033】また、補間制御手段が受信バッファの加工
プログラムの残量が既定値以下になっていた場合、GO
を実行後、補間手段に対して補間中断指令を出力し、加
工プログラムの残量が既定値以上になった場合、補間手
段に対して補間再開指令を出力して、早送りを一時的に
停止させる。
Further, when the interpolation control means determines that the remaining amount of the processing program in the reception buffer is less than the predetermined value, GO
After executing, the interpolation interruption command is output to the interpolating means, and when the remaining amount of the machining program exceeds the preset value, the interpolation restart command is output to the interpolating means to temporarily stop the fast-forwarding. ..

【0034】[0034]

【実施例】【Example】

〔実施例1〕以下、この発明によるNC装置の実施例を
図について説明する。ハードウェア構成は図15に示し
た従来におけるAP内蔵形NC装置と全く同一構成であ
る。図1は、NC運転の場合における信号の流れを示す
ブロック図である。図において、10はAP側であり、
NC運転起動に際し、AP入力モードであればNC用加
工プログラムを生成供給し、後述する供給バッファ16
にセットする。12は外部NC加工プログラム作成装置
であり、一般的に外部入出力機器と呼ばれ、NC運転起
動に際しNC用加工プログラムを生成供給し、後述する
入出力部14に印加する。14は入出力部であり、NC
運転起動に際し外部機器入力モードであれば外部NC加
工プログラム作成装置12に起動をかけ、その出力デー
タであるNC用加工プログラムを入力し、パリティチェ
ック等を行い、後述する供給バッファ16にセットす
る。
[Embodiment 1] An embodiment of an NC device according to the present invention will be described below with reference to the drawings. The hardware configuration is exactly the same as that of the conventional NC device with built-in AP shown in FIG. FIG. 1 is a block diagram showing a signal flow in the case of NC operation. In the figure, 10 is the AP side,
At the time of starting the NC operation, in the AP input mode, the NC machining program is generated and supplied, and the supply buffer 16 described later is used.
Set to. Reference numeral 12 denotes an external NC machining program creation device, which is generally called an external input / output device, which generates and supplies a machining program for NC when starting the NC operation and applies it to an input / output unit 14 described later. Reference numeral 14 is an input / output unit, NC
When the operation is started, in the external device input mode, the external NC machining program creating device 12 is activated, the NC machining program which is the output data thereof is input, a parity check or the like is performed, and it is set in the supply buffer 16 described later.

【0035】16は供給バッファであり、複数ブロック
のNC用加工プログラム記憶領域で、AP側10または
外部NC加工プログラム作成装置12で生成されたNC
用加工プログラムを1ブロックずつ溜め、満杯になると
後述する中間バッファ18に転送する。一般に転送後、
空状態になり、AP側10または外部NC加工プログラ
ム作成装置12にデータ要求し、再度1ブロックずつ溜
める。
Reference numeral 16 is a supply buffer, which is an NC machining program storage area of a plurality of blocks, and which is generated by the AP side 10 or the external NC machining program creating device 12.
The machining program for use is stored one block at a time, and when it is full, it is transferred to the intermediate buffer 18, which will be described later. Generally after transfer,
In the empty state, data is requested to the AP side 10 or the external NC machining program creating device 12, and the blocks are again accumulated one by one.

【0036】18は中間バッファであり、この発明にお
いて新たに設けられたもので複数ブロックのNC用加工
プログラム記憶領域で供給バッファ16からNC用加工
プログラムを転送し、後述する消化バッファ20に転送
する。一般に転送後、空状態になり、再度供給バッファ
16にデータ要求する。また、中間バッファ18の空状
態情報は後述するNC側22に送られ、ブロック実行開
始のタイミング調整等に用いられる。20は消化バッフ
ァであり、複数ブロックのNC用加工プログラム記憶領
域で中間バッファ18からNC用加工プログラムを転送
し、後述するNC側22に1ブロックずつデータを送
り、消化してしまうと空状態になり、再度中間バッファ
18にデータ要求する。
Reference numeral 18 denotes an intermediate buffer, which is newly provided in the present invention, and transfers the NC machining program from the supply buffer 16 to the NC digestion program storage area of a plurality of blocks and transfers it to the digestion buffer 20 described later. .. Generally, after the transfer, the data becomes empty, and the data is again requested to the supply buffer 16. Further, the empty state information of the intermediate buffer 18 is sent to the NC side 22 which will be described later and is used for timing adjustment of the block execution start and the like. Reference numeral 20 denotes a digestion buffer, which transfers a machining program for NC from the intermediate buffer 18 in a plurality of NC machining program storage areas, sends data block by block to the NC side 22 described later, and becomes empty when digested. Then, the data is again requested to the intermediate buffer 18.

【0037】22はNC側であり、消化バッファ20か
らNC用加工プログラムを1ブロックずつ取り出し、解
析し、工具送り速度に対応して補間演算等を行う。ま
た、中間バッファ18の空状態を判断し、ブロック実行
開始のインタロックを行ったり、工具送り速度を低下さ
せ簡易に切削送りの指令におけるとぎれをなくし、カッ
タマークの発生を防止する。また、AP側10または外
部NC加工プログラム作成装置12にNC運転起動等の
制御信号も通知している。24は駆動部であり、NC側
22で補間計算された数値制御データの増幅等を実行し
てサーボモータ24aを駆動させる。
Reference numeral 22 denotes the NC side. The machining program for NC is taken out block by block from the digestion buffer 20, analyzed, and interpolation calculation or the like is performed corresponding to the tool feed speed. In addition, the empty state of the intermediate buffer 18 is determined, the block execution start is interlocked, and the tool feed speed is reduced to easily eliminate the break in the cutting feed command and prevent the generation of the cutter mark. Further, it also notifies the AP side 10 or the external NC machining program creation device 12 of a control signal such as NC operation start. Reference numeral 24 is a drive unit which drives the servo motor 24a by executing amplification of numerical control data interpolated on the NC side 22 and the like.

【0038】26はキーデータ入力部であり、オペレー
タがNC装置の各種パラメータ設定等を行う。28は切
削送り低下パラメータであり、この発明において新たに
設けられたものでその構成は、切削送り低下可否フラグ
fgと各ブロック毎の速度低下係数k1〜knからな
り、オペレータがキーデータ入力部26を介して設定す
る。
Reference numeral 26 is a key data input unit, where an operator sets various parameters of the NC device. Reference numeral 28 denotes a cutting feed reduction parameter, which is newly provided in the present invention, and has a configuration including a cutting feed reduction permission flag fg and speed reduction coefficients k1 to kn for each block. Set via.

【0039】次に、NC側22のNC運転時の消化動作
を図2に示すフローチャートを参照して説明する。ま
ず、NC側22からAP側10または外部NC加工プロ
グラム作成装置12にNC運転起動を行い、NC用加工
プログラムを生成させ供給バッファ16を作成させてお
く。
Next, the extinguishing operation of the NC side 22 during NC operation will be described with reference to the flow chart shown in FIG. First, the NC side 22 causes the AP side 10 or the external NC machining program creation device 12 to start the NC operation, generate the NC machining program, and create the supply buffer 16.

【0040】そこで、消化バッファ20の空判断を行い
(S10)、空でなければCルートを通ってステップ1
6へジャンプし、反対に、空であれば中間バッファ18
の空判断を行う(S12)。ここにおいて、空であれば
Cルートを通ってステップ16へジャンプし、反対に、
空でなければ中間バッファ18の内容を消化バッファ2
0に転送する(S14)。次に、中間バッファ18の空
判断を行い(S16)、空でなければDルートを通って
ステップ21へジャンプし、空であれば供給バッファ1
6の空判断を行う(S18)。ここにおいて、空であれ
ばDルートを通りステップ21へジャンプし、空でなけ
れば供給バッファ16の内容を中間バッファ18に転送
する(S20)。
Therefore, it is judged whether the digestion buffer 20 is empty (S10).
Jump to 6 and, conversely, if empty, intermediate buffer 18
Is determined (S12). If it is empty here, jump to step 16 through route C, and conversely,
If it is not empty, the contents of the intermediate buffer 18 are digested in the buffer 2
It is transferred to 0 (S14). Next, it is judged whether or not the intermediate buffer 18 is empty (S16). If not empty, the route jumps to the step 21 through the D route, and if empty, the supply buffer 1
An empty judgment of 6 is made (S18). Here, if it is empty, it goes through the D route and jumps to step 21, and if it is not empty, the contents of the supply buffer 16 are transferred to the intermediate buffer 18 (S20).

【0041】次に、消化バッファ20の空判断を行い
(S21)、空であればEルートを通って即終了とな
り、反対に、空でなければ消化バッファ20の内容が最
終データか否かの判断をする(S22)。この判断の目
的は中間バッファ18が空状態のとき、デットロックを
発生させないためのものである。ここにおいて、消化バ
ッファ20が最終データのとき、ブロック実行開始のイ
ンタロックや工具送り速度を低下させる意味がないので
Fルートを通って通常処理であるステップ50に分岐
し、反対に、最終データでないときはステップ24に移
行する。なお、消化バッファ20の最終データの判断方
法は、NC用加工プログラムの終了を示すエンドオブレ
コードと呼ばれるコードが消化バッファ20にあるか否
かで判断する。
Next, it is judged whether or not the digestion buffer 20 is empty (S21). If it is empty, the process immediately ends through the E route. On the contrary, if it is not empty, it is determined whether the content of the digestion buffer 20 is the final data. A judgment is made (S22). The purpose of this determination is to prevent a deadlock when the intermediate buffer 18 is empty. Here, when the digestion buffer 20 is the final data, there is no meaning to reduce the interlock at the start of block execution and the tool feed speed, so the process branches to the normal processing step 50 through the F route, and conversely it is not the final data. If so, the process proceeds to step 24. The method of determining the final data in the digestion buffer 20 is determined by whether or not a code called end of record indicating the end of the NC machining program is present in the digestion buffer 20.

【0042】次に、この発明の特徴である中間バッファ
18の空判断を行い(S24)、空でなければFルート
を通って通常処理であるステップ50に分岐し、反対
に、空であれば消化バッファ20からNC用加工プログ
ラムを1ブロック(例えば、G00X−100.; ま
たは G01X−100.Y−100.F100;)取
り出す(S26)。
Next, it is judged whether the intermediate buffer 18 is empty, which is a feature of the present invention (S24). If it is not empty, the process branches through the F route to step 50 which is a normal process. One block (for example, G00X-100 .; or G01X-100.Y-100.F100;) of the NC machining program is taken out from the digestion buffer 20 (S26).

【0043】次に、切削送りか早送りかの判断を行い
(S28)、ここにおいて、早送り(G00モード)な
らば本発明の特徴であるブロック実行開始をインタロッ
クし(S30)、Eルートを通って補間を実行しないで
処理を終了する。この処理は、ステップ20において、
供給バッファ16経由で中間バッファ18が埋まるまで
繰り返され、そして、埋まった後ステップ24からFル
ートを通って、通常処理であるステップ50以降にてブ
ロック実行を開始させるものである。
Next, it is judged whether the cutting feed or the fast feed (S28). If the fast feed (G00 mode) is performed, the block execution start, which is a feature of the present invention, is interlocked (S30), and the E route is passed. Processing is terminated without executing interpolation. This process is performed in step 20.
The process is repeated until the intermediate buffer 18 is filled via the supply buffer 16, and after filling, the block execution is started from step 24 through the F route and after step 50 which is normal processing.

【0044】一方、切削送り(G01,G02,G03
モード)であるならばオペレータが設定した切削送りパ
ラメータ28の切削送り低下可否フラグfgの内容がO
Nか否かの判断をし(S31)、ONの場合本発明の特
徴である工具送り速度低下処理を行い(S32)、反対
に、OFFの場合ステップ52に分岐し、上記工具送り
低下処理は行わない。この判断の目的は、少数であるが
加工物の材質によって工具送り速度を低下することによ
り切削条件が変わり、切削面に悪影響を与える度合いが
カッタマーク以上になる材質(例えば、延性の高いアル
ミ材)を救済するためである。
On the other hand, cutting feed (G01, G02, G03
Mode), the content of the cutting feed decrease possibility flag fg of the cutting feed parameter 28 set by the operator is O.
Whether it is N or not (S31), if it is ON, the tool feed speed lowering process which is a feature of the present invention is performed (S32). On the contrary, if it is OFF, the process branches to step 52, and the tool feed lowering process is executed. Not performed. The purpose of this judgment is a small number, but the cutting conditions change when the tool feed speed is reduced depending on the material of the work piece, and the material that adversely affects the cutting surface is equal to or higher than the cutter mark (for example, aluminum material with high ductility). ) Is to be rescued.

【0045】上記ステップ32では、1回通過する毎に
指令された工具送り速度を低下させる。本実施例では、
オペレータが設定した切削送り低下パラメータ28の各
ブロック毎の速度低下係数kと指令工具送り速度を乗じ
て、新たな工具送り速度を次のように求める。 低下工具送り速度=指令工具送り速度*速度低下係数k 速度低下係数kは、第1ブロック目(ステップ32通過
の1回目)はk1、第2ブロック目(ステップ32通過
の2回目)はk2、・・・・・・第nブロック以降(ス
テップ32通過のn回以降)はknが用いられる。通常
100%>k1>k2>・・・・・>kn>0%の取り
決めによりオペレータが設定する。例えば、速度低下係
数k1=50%、k2=25%ならば指令工具送り速度
F100のとき、第1ブロック目はF50、第2ブロッ
ク目はF25のように工具送り速度が低下する。
In the above step 32, the commanded tool feed speed is reduced each time it passes. In this example,
The cutting feed reduction parameter 28 set by the operator is multiplied by the speed reduction coefficient k for each block and the commanded tool feed speed to obtain a new tool feed speed as follows. Reduced tool feed rate = command tool feed rate * speed reduction coefficient k The speed reduction coefficient k is k1 for the first block (first pass of step 32), k2 for the second block (second pass of step 32), ... kn is used after the nth block (nth time after passing through step 32). It is usually set by the operator according to the agreement of 100%>k1>k2>...>kn> 0%. For example, if the speed reduction coefficients k1 = 50% and k2 = 25%, when the command tool feed speed is F100, the tool feed speed decreases like F50 in the first block and F25 in the second block.

【0046】上記ステップ32で工具送り速度が低下し
た後、工具送り速度に対応して補完演算を実行し(S5
2)、その結果、1ブロック補間時間が長くなり、供給
側に供給バッファ16のNC用加工プログラムをセット
するまでに時間をかけ、消化側の指令の途切れを防止す
ることができる。この処理は上記ステップ20で供給バ
ッファ16経由で中間バッファ18が埋まるまで繰り返
され、埋まった後、ステップ24からFルートを通過さ
せて、通常処理であるステップ50以降で指令された工
具送り速度に戻すためのものである。
After the tool feed speed is reduced in step 32, the complementary calculation is executed corresponding to the tool feed speed (S5
2) As a result, the one-block interpolation time becomes long, and it takes time until the NC machining program of the supply buffer 16 is set on the supply side, and it is possible to prevent interruption of commands on the digestion side. This process is repeated until the intermediate buffer 18 is filled via the supply buffer 16 in step 20 above, and after filling, the route F is passed from step 24 to the tool feed speed instructed in step 50 and subsequent steps which is normal processing. It is for returning.

【0047】上記ステップ50は、通常処理ルートで消
化バッファ20からNC用加工プログラムを1ブロック
取り出す(例えば、G01X−100.Y−10
0.;)。そして、次のステップ52で工具送り速度
(F100)に対応して移動量(X−100.Y−10
0.)に応じた補間演算を行う。また、上記ステップ3
2で工具送り速度を低下したブロック(例えば、指令F
100の50%のF50)の補間演算も行う。その後、
補間演算したデータを駆動部24に出力して(S54)
一連の処理を終了する。その後、駆動部24がサーボモ
ータ24aを所定の速度(F100またはF50)によ
り一定距離の移動(X−100.Y−100)を実行さ
せ、完了すると再度上記ステップ10からステップ54
の消化動作が繰り返される。
In the above step 50, one block of the NC machining program is taken out from the digestion buffer 20 by the normal processing route (for example, G01X-100.Y-10).
0. ;). Then, in the next step 52, the movement amount (X-100.Y-10) is corresponding to the tool feed speed (F100).
0. ) Is performed. Also, step 3 above
Blocks in which the tool feed speed has decreased in 2 (for example, command F
Interpolation calculation of F50) of 50% of 100 is also performed. afterwards,
Output the interpolated data to the drive unit 24 (S54)
A series of processing ends. After that, the drive unit 24 causes the servo motor 24a to move a certain distance (X-100.Y-100) at a predetermined speed (F100 or F50), and when the movement is completed, the above steps 10 to 54 are repeated.
The digestive action of is repeated.

【0048】以上のように、消化バッファ20にNC用
加工プログラムがあるときはCルートを通り、NC用加
工プログラムが無くなるとステップ14を通り、中間バ
ッファ18の内容を消化バッファ20に転送する。ま
た、中間バッファ18にNC用加工プログラムがあると
きはDルートを通りNC用加工プログラムがなくなると
ステップ20を通り供給バッファ16の内容を中間バッ
ファ18に転送するようになっている。また、中間バッ
ファ18が空でないときはFルートを通り、ステップ5
0以降の通常どおりの1ブロックの消化動作を行う。中
間バッファ18が空の場合、早送り(G00モード)な
らばステップ30を通り、ブロック実行開始がインタロ
ックされ、切削送り(G01,G02,G03モード)
ならばステップ32を通り工具送り速度を低下させ、供
給側に供給バッファ16のNC用加工プログラムをセッ
トするまでの時間をかけ、消化側の指令のとぎれを無く
すようにし、カッタマーク防止を簡易に実行している。
As described above, the contents of the intermediate buffer 18 are transferred to the digestion buffer 20 through the C route when there is the NC machining program in the digestion buffer 20 and through step 14 when there is no NC machining program. Further, when the NC machining program is present in the intermediate buffer 18, the contents of the supply buffer 16 are transferred to the intermediate buffer 18 through step 20 when the NC machining program runs out. When the intermediate buffer 18 is not empty, the F route is taken and step 5
The normal one block digestion operation after 0 is performed. If the intermediate buffer 18 is empty, if fast-forwarding (G00 mode), the process goes through step 30, the block execution start is interlocked, and cutting feed (G01, G02, G03 mode).
If so, the tool feed speed is decreased through step 32, and it takes time until the NC machining program of the supply buffer 16 is set on the supply side so as to eliminate the interruption of the instruction on the digestion side and simplify the cutter mark prevention. Running.

【0049】図3は、この発明におけるAP内蔵形NC
装置のAP側10と中間バッファ18とNC側22のタ
イミングを示すタイミングチャートである。AP内蔵形
NC装置では従来装置と同様に1個のCPU30がAP
側処理とNC側処理を行う。一般にNC側処理の優先度
が高く、その空き時間を利用してAP処理が走る。
FIG. 3 shows the NC with built-in AP according to the present invention.
6 is a timing chart showing the timing of the AP side 10, the intermediate buffer 18, and the NC side 22 of the device. In the NC device with built-in AP, as in the conventional device, one CPU 30
Side processing and NC side processing are performed. Generally, the NC side process has a high priority, and the AP process runs using the idle time.

【0050】図3(a)に示す定常状態において、NC
側(消化側)が消化している間(A1〜An)に既に中
間バッファ18に次のNC用加工プログラム(B)が入
っており、同時にAP側(供給側)が空き時間を利用し
て、次の次のNC用加工プログラム(C)を作成するよ
うにしている。そして、NC側22の消化(An)が終
わると、次のタイミングからすぐ次のデータ(B1)が
消化できるようにし、バッファ間における指令のとぎれ
が生じないように工夫されている。
In the steady state shown in FIG. 3 (a), NC
While the side (digestion side) is digesting (A1 to An), the following NC machining program (B) is already stored in the intermediate buffer 18, and at the same time, the AP side (supply side) uses the idle time. The next NC machining program (C) is created. Then, when the digestion (An) on the NC side 22 is finished, the next data (B1) can be digested immediately from the next timing so that the interruption of the command between the buffers does not occur.

【0051】なお、NC側の1ブロック(例えば、A
1)の補間時間が長い(移動量が大または工具送り速度
が小の)とき、次ブロック(A2)の起動までの時間が
長くなり、それだけAP側の走れる時間が多くなる。逆
に、NC側の1ブロックの補間時間が短い(移動量が小
または工具送り速度が大の)とき、次ブロックの起動ま
での時間が短くなり、それだけAP側の走れる時間は狭
められる。また、AP側では簡単な形状(例えば、スラ
イス四角形状)であれば単時間でNC用加工プログラム
を作成できるが、複雑な形状(例えば、ポケット非定型
形状)であれば長時間の演算時間を要する。
One block on the NC side (for example, A
When the interpolation time of 1) is long (the movement amount is large or the tool feed speed is small), the time until the start of the next block (A2) becomes long, and the running time on the AP side increases accordingly. On the contrary, when the interpolation time of one block on the NC side is short (the movement amount is small or the tool feed speed is large), the time until the start of the next block is shortened, and the running time on the AP side is narrowed accordingly. Also, on the AP side, NC machining programs can be created in a single time for simple shapes (for example, sliced quadrangular shapes), but for complex shapes (for example, pocket atypical shapes), a long calculation time is required. It costs.

【0052】図3(b)に示す供給側時間不足状態G0
0モード時において、中間バッファ18が空、且つ、A
P側10が次のNC用加工プログラム(B)を作成中の
ままのとき、t1の部分で、もしNC側22がA1〜A
nを実行してしまうと、切削送りAnと切削送りB1と
の間で指令のとぎれが発生し、カッタマークが生ずる可
能性がある。その防止策として、A1が早送り(G00
モード)の場合、AP側10が次のNC用加工プログラ
ム(B)を作成完了し、中間バッファ18にNC用加工
プログラム(B)が転送されるt2部分までNC側22
がA1実行をインタロックしておき、中間バッファ18
に次のNC用加工プログラム(B)が入ったt2部分で
A1の消化動作を開始し、切削送りAnと切削送りB1
との間で指令のとぎれを発生させないようにし、カッタ
マークを防止している。なお、早送り(G00)ブロッ
クは中間バッファ18が埋まるまで待っても図4(a)
G00ブロックの工具軌跡図のように切削していないの
で、当該ブロックにカッタマークは存在しない。
Supply side time shortage state G0 shown in FIG. 3 (b)
In the 0 mode, the intermediate buffer 18 is empty and A
When the P side 10 is still creating the next NC machining program (B), at the part of t1, if the NC side 22 has A1 to A
If n is executed, a break in the command may occur between the cutting feed An and the cutting feed B1, and a cutter mark may occur. As a preventive measure, A1 fast forwards (G00
Mode), the AP side 10 completes the creation of the next NC machining program (B), and the NC side 22 until the t2 portion at which the NC machining program (B) is transferred to the intermediate buffer 18.
Interlocks the execution of A1
The following NC machining program (B) is entered in t2, and the digestion operation of A1 is started, cutting feed An and cutting feed B1.
The break of the command is not generated between and, and the cutter mark is prevented. The fast-forward (G00) block is shown in FIG. 4A even if the intermediate buffer 18 is filled.
Since the cutting is not performed as in the tool locus diagram of the G00 block, there is no cutter mark in the block.

【0053】図3(c)に示す供給側時間不足状態G0
1,G02,G03モード時において、中間バッファ1
8が空、且つ、AP側10が次のNC用加工プログラム
(B)を作成中のとき、t3の部分で、もしNC側22
がA1〜Anを指令速度どおり補間演算すると、切削送
りAnと切削送りB1との間で指令のとぎれが生じ、カ
ッタマークが発生する可能性がある。その防止策として
A1が切削送り(G01,G02,G03モード)の場
合、AP側10が次のNC用加工プログラム(B)を作
成完了し、中間バッファ18にNC用加工プログラム
(B)が転送されるt4部分までNC側22が工具送り
速度を低下させることにより、その分補間時間が長くな
る。その結果、AP側10に次のNC用加工プログラム
(B)作成完了したときには、まだ、NC側22がAの
補間処理を実行している。そして、t4部分で中間バッ
ファ18に転送することにより定常状態となり、切削送
りAnと切削送りB1との間で指令のとぎれを発生させ
ないようにし、カッタマークを防止している。
Supply side time shortage state G0 shown in FIG. 3 (c)
Intermediate buffer 1 in 1, G02, G03 mode
When 8 is empty and the AP side 10 is creating the next NC machining program (B), at t3, if the NC side 22
When A1 to An are interpolated according to the command speed, the command may be interrupted between the cutting feed An and the cutting feed B1, and a cutter mark may be generated. As a preventive measure, when A1 is cutting feed (G01, G02, G03 mode), the AP side 10 completes the creation of the next NC machining program (B), and the NC machining program (B) is transferred to the intermediate buffer 18. The NC side 22 reduces the tool feed speed until the time t4, which increases the interpolation time accordingly. As a result, when the next NC machining program (B) has been created on the AP side 10, the NC side 22 is still executing the A interpolation processing. Then, by transferring to the intermediate buffer 18 at the time t4, a steady state is set, and the interruption of the command is not generated between the cutting feed An and the cutting feed B1, and the cutter mark is prevented.

【0054】この工具送り速度を低下させることにより
図4(b)G01,G02,G03ブロックの工具軌跡
図のように途中で工具送り速度が低下するだけで、切削
送りAnと切削送りB1との間で指令のとぎれが発生せ
ずカッタマークは付かない。なお、図3(c)に示した
t3部分で図3(b)のG00モードのように、A1実
行をインタロックすると、切削送りZnと切削送りA1
との間で指令のとぎれが発生しカッタマークが付くの
で、A1が早送りと切削送りでは処理が異なってくる。
By reducing the tool feed rate, the tool feed rate is lowered only in the middle as shown in the tool locus diagram of G01, G02 and G03 blocks in FIG. 4 (b). There is no break in the command between them and no cutter mark is attached. When the A1 execution is interlocked in the t3 portion shown in FIG. 3C as in the G00 mode of FIG. 3B, the cutting feed Zn and the cutting feed A1
Since a break in the command occurs between the and, and a cutter mark is attached, the processing differs for A1 fast feed and cutting feed.

【0055】本発明の限界として、切削送り(G01,
G02,G03モード)で工具送り速度を低下させて
も、供給側が供給バッファ16にNC用加工プログラム
をセットできず、その結果、カッタマークを完全に防止
できない場合がある。しかしながら、これは特異な場合
であり、この対策のため供給側を含めた複雑で大がかり
なNC装置を作るより、ある程度の限界があるが本発明
による簡易な方法で十分カッタマークを防止できるNC
装置を構築する方が有益である。
As a limit of the present invention, the cutting feed (G01,
Even if the tool feed speed is reduced in the G02 and G03 modes), the supply side cannot set the NC machining program in the supply buffer 16, and as a result, the cutter mark may not be completely prevented. However, this is a peculiar case, and the NC mark can be sufficiently prevented by the simple method according to the present invention, although it has a certain limit as compared with the case where a complicated and large-scale NC device including the supply side is manufactured for this countermeasure.
It is more beneficial to build the device.

【0056】また、図5(a)に示すように加工物の内
側加工時、NC用加工プログラムで切削面から早送り
(G00モード)でリトラクトする場合、従来装置にあ
っては、切削送りから早送りに切り替わるときインポジ
ションチェック(速度ゼロまでの減速処理)のため、わ
ずかなカッタマークであったが本実施例では偶然ブロッ
ク開始インタロックになりカッタマークが大きくなるこ
とがある。しかしながら、これは特異なNC加工プログ
ラムの場合であり、通常は切削面をきれいにするためア
プローチ/リトラクトを図5(b)に示すような切削送
り(G02またはG03モード)にするのが一般的であ
る。図5(a)に示した特異な場合の対策を実行するこ
とは、NC装置が複雑になり得策ではない。
Further, as shown in FIG. 5 (a), when retreating from the cutting surface by fast-forwarding (G00 mode) by the NC machining program during internal machining of the workpiece, in the conventional device, from the cutting feed to fast-forwarding. Since it is an in-position check (deceleration processing to zero speed) when it is switched to, the cutter mark is small, but in the present embodiment, the block start interlock happens to occur and the cutter mark may become large. However, this is a case of a unique NC machining program, and usually the approach / retract is set to the cutting feed (G02 or G03 mode) as shown in FIG. 5 (b) in order to clean the cutting surface. is there. It is not a good idea to implement the peculiar case countermeasure shown in FIG. 5A because the NC device becomes complicated.

【0057】〔実施例2〕図6は、この発明に係るNC
装置(実施例2)の構成を示すブロック図である。同図
において、71〜75及び77は、図20に示した従来
装置と全く同一のものを示し、同様の動作を行う。ここ
で、83は受信バッファの加工プログラムの残量から切
削速度のオーバライドを計算し、オーバライド情報を速
度計算手段76aに出力する速度オーバライド出力手段
である。76aはプログラム解析手段74の結果と速度
オーバライド出力手段83の結果から切削速度を計算す
る速度計算手段である。
[Embodiment 2] FIG. 6 shows an NC according to the present invention.
It is a block diagram which shows the structure of an apparatus (Example 2). In the figure, 71 to 75 and 77 indicate exactly the same devices as the conventional device shown in FIG. 20, and perform the same operation. Here, reference numeral 83 is a speed override output means for calculating the cutting speed override from the remaining amount of the processing program in the reception buffer and outputting the override information to the speed calculation means 76a. Reference numeral 76a is a speed calculation means for calculating the cutting speed from the result of the program analysis means 74 and the result of the speed override output means 83.

【0058】次に、動作を説明する。図7は、図6に示
したNC装置の動作を示すフローチャートである。同図
において、数制御装置71にサイクルスタートがかけら
れるとNC装置71に接続されたテープリーダまたはコ
ンピュータ(図示せず)から通信手段72を介して受信
バッファ73に加工プログラムを受信する(S84)。
次に、受信した該加工プログラムをプログラム解析手段
74が解析し(S85)、速度オーバライド手段83
が、受信バッファ73の加工プログラムの残量から、下
記の数1に従って切削速度のオーバライドを計算する
(S86)。
Next, the operation will be described. FIG. 7 is a flowchart showing the operation of the NC device shown in FIG. In the figure, when the number control device 71 is cycle-started, a machining program is received from the tape reader or the computer (not shown) connected to the NC device 71 into the reception buffer 73 via the communication means 72 (S84). ..
Next, the program analyzing means 74 analyzes the received machining program (S85), and the speed override means 83
Calculates the cutting speed override from the remaining amount of the machining program in the reception buffer 73 according to the following equation 1 (S86).

【0059】[0059]

【数1】 [Equation 1]

【0060】ここで、Aはオーバライド、Bは加工プロ
グラムの残量の現在値、Cはオーバライドが有効となる
加工プログラムの残量の境界値であり、これらは予め決
めておく。例えば、加工プログラムの残量の現在値Bが
100バイトで加工プログラムの残量の境界値Cが20
0バイトとすると、オーバライドAは50%となる。ま
た、加工プログラムの残量の現在値Bが300バイトで
加工プログラムの残量の境界値Cが200バイトとする
と、オーバライドAは150%となるが、100%を越
えるときはオーバライドAは100%とする。
Here, A is the override, B is the current value of the remaining amount of the machining program, and C is the boundary value of the remaining amount of the machining program for which the override is effective, and these are determined in advance. For example, the current value B of the remaining amount of the machining program is 100 bytes, and the boundary value C of the remaining amount of the machining program is 20.
If it is 0 bytes, the override A is 50%. Further, when the current value B of the remaining amount of the machining program is 300 bytes and the boundary value C of the remaining amount of the machining program is 200 bytes, the override A is 150%, but when it exceeds 100%, the override A is 100%. And

【0061】次に、速度計算手段76aが、プログラム
解析手段74の結果から工具送り速度を計算し(S8
7)、速度計算手段76aが、速度オーバライド出力手
段83の出力結果であるオーバライドが100%か否か
を判定する(S88)。オーバライドが100%であれ
ば、上記ステップ87で計算した工具送り速度を補間手
段75に出力する。反対に、オーバライドが100%未
満の場合は、下記の数2に従ってオーバライド速度を計
算する(S89)。
Next, the speed calculation means 76a calculates the tool feed speed from the result of the program analysis means 74 (S8).
7) The speed calculation means 76a determines whether or not the override, which is the output result of the speed override output means 83, is 100% (S88). If the override is 100%, the tool feed rate calculated in step 87 is output to the interpolation means 75. On the contrary, when the override is less than 100%, the override speed is calculated according to the following equation 2 (S89).

【0062】[0062]

【数2】 [Equation 2]

【0063】ここで、Aはオーバライド、Dはオーバラ
イド速度、Eは工具送り速度である。次に、補間手段7
5がプログラム解析手段74の解析結果と速度計算手段
76aの計算結果から補間処理を実行し(S90)、補
間手段75の補間データに基づいて駆動部77がモータ
を駆動して(S91)、図示していない被工作機械を制
御する。
Here, A is the override, D is the override speed, and E is the tool feed speed. Next, the interpolation means 7
5 executes interpolation processing from the analysis result of the program analysis means 74 and the calculation result of the speed calculation means 76a (S90), the drive unit 77 drives the motor based on the interpolation data of the interpolation means 75 (S91), and Control a machine tool not shown.

【0064】なお、上記実施例では、加工プログラムの
残量の境界値Cが固定であったが、NC装置の操作によ
り値を変更できるようにしてもよく、そのような変更が
あっても上記実施例と同様の効果を奏する。
Although the boundary value C of the remaining amount of the machining program is fixed in the above embodiment, the value may be changed by operating the NC device, and even if such a change is made, The same effect as that of the embodiment is obtained.

【0065】〔実施例3〕図8は、この発明に係るNC
装置(実施例3)の構成を示すブロック図である。同図
において、71〜75及び77は、図20に示した従来
装置と全く同一のものを示し、同様の動作を行う。ここ
で、92は微小線分長及び通信速度及び1ブロック当た
りのキャラクタ数等を設定するデータ設定手段、93は
微小線分長及び通信速度及び1ブロック当たりのキャラ
クタ数等のデータを記憶しておくメモリ、94はメモリ
93に記憶された微小線分長及び通信速度及び1ブロッ
ク当たりのキャラクタ数をもとに切削速度の上限値であ
るクランプ速度を計算するクランプ速度計算手段、76
bはプログラム解析手段74の結果とクランプ速度計算
手段94の結果から切削速度を計算する速度計算手段で
ある。
[Third Embodiment] FIG. 8 shows an NC according to the present invention.
It is a block diagram which shows the structure of an apparatus (Example 3). In the figure, 71 to 75 and 77 indicate exactly the same devices as the conventional device shown in FIG. 20, and perform the same operation. Here, 92 is data setting means for setting the minute line segment length, communication speed, the number of characters per block, and the like, and 93 stores data such as the minute line segment length, communication speed, and the number of characters per block. A memory for storing 94, a clamp speed calculating means for calculating a clamp speed which is an upper limit value of the cutting speed based on the minute line segment length and communication speed stored in the memory 93 and the number of characters per block, 76
Reference numeral b is a speed calculation means for calculating the cutting speed from the result of the program analysis means 74 and the result of the clamp speed calculation means 94.

【0066】図9は、図8に示したNC装置の表示装置
における画面表示例である。図において、101は表示
枠、102は入出力装置パラメータ表示画面、103は
データ設定部、104は「入力」「出力」「コピー」な
どの操作メニューを表示するメニュー表示部とメニュー
キー、105は通信速度、106は1ブロック当たりの
キャラクタ数、107は微小線分長、108はストップ
bit、109はキャラクタ長の設定項目を各々表して
いる。
FIG. 9 is an example of a screen display on the display device of the NC device shown in FIG. In the figure, 101 is a display frame, 102 is an input / output device parameter display screen, 103 is a data setting section, 104 is a menu display section and menu keys for displaying operation menus such as “input”, “output”, and “copy”, and 105 is A communication speed, 106 is the number of characters per block, 107 is a minute line segment length, 108 is a stop bit, and 109 is a character length setting item.

【0067】次に、動作を説明する。図10は、図8に
示したNC装置の動作を示すフローチャートである。ま
ず、オペレータがNC装置を操作して、図9に示した表
示画面の通信速度(105)、キャラクタ数/ブロック
(106)、微小線分長(mm)(107)、ストップ
bit(108)、キャラクタ長(109)を各々設定
する(S110)とデータ設定手段92は、各設定デー
タをメモリ93に記憶する。次に、NC装置71にサイ
クルスタートがかけられるとNC装置71に接続された
テープリーダまたはコンピュータ(図示せず)から通信
手段72を介して受信バッファ73に加工プログラムを
受信し(S111)、受信した該加工プログラムをプロ
グラム解析手段74が解析し(S112)、次に、クラ
ンプ速度計算手段94がメモリ93から通信速度及びス
トップbit及びキャラクタ長及び1ブロック当たりの
キャラクタ数及び微小線分長のデータを読み出して、下
記の数3に従ってクランプ速度を計算する(S11
3)。
Next, the operation will be described. FIG. 10 is a flowchart showing the operation of the NC device shown in FIG. First, the operator operates the NC device, and the communication speed (105) of the display screen shown in FIG. 9, the number of characters / block (106), the minute line segment length (mm) (107), the stop bit (108), When each character length (109) is set (S110), the data setting means 92 stores each setting data in the memory 93. Next, when the NC device 71 is cycle-started, the machining program is received from the tape reader or the computer (not shown) connected to the NC device 71 into the reception buffer 73 via the communication means 72 (S111), and is received. The machining program is analyzed by the program analysis means 74 (S112), and then the clamp speed calculation means 94 uses the memory 93 to obtain the communication speed, the stop bit, the character length, the number of characters per block, and the minute line segment length data. Is read out and the clamp speed is calculated according to the following Equation 3 (S11
3).

【0068】[0068]

【数3】 [Equation 3]

【0069】ここで、Jはクランプ速度、Fは微小線分
長、Gは通信速度、Hは1ブロック当たりのキャラクタ
数、Lはキャラクタ長、Mはストップbit、Kは係数
である。(L+M+1)は1キャラクタの通信路上での
bit数を表している。次に、速度計算手段76bが従
来装置と同様に工具送り速度を計算する(S114)。
Here, J is a clamp speed, F is a minute line segment length, G is a communication speed, H is the number of characters per block, L is a character length, M is a stop bit, and K is a coefficient. (L + M + 1) represents the number of bits of one character on the communication path. Next, the speed calculation means 76b calculates the tool feed speed similarly to the conventional device (S114).

【0070】また、速度計算手段76bがクランプ速度
計算手段94の計算結果であるクランプ速度と工具送り
速度を比較(補間速度>クランプ速度)し(S11
5)、工具送り速度がクランプ速度以下の場合は、工具
送り速度を補間手段75に出力する。反対に、工具送り
速度がクランプ速度より大きい場合は、工具送り速度を
クランプ速度に置き換えて(S116)補間手段5に出
力する。次に、補間手段75がプログラム解析手段74
の解析結果と速度計算手段76bの計算結果から補間処
理を実行し(S117)、補間手段75の補間データに
基づいて駆動部77がモータを駆動して(S118)、
図示していない被工作機械を制御する。
Further, the speed calculation means 76b compares the clamp speed, which is the calculation result of the clamp speed calculation means 94, with the tool feed speed (interpolation speed> clamp speed) (S11).
5) If the tool feed speed is equal to or lower than the clamp speed, the tool feed speed is output to the interpolation means 75. On the contrary, when the tool feed speed is higher than the clamp speed, the tool feed speed is replaced with the clamp speed (S116) and output to the interpolation means 5. Next, the interpolation means 75 causes the program analysis means 74.
Interpolation processing is executed from the analysis result of the above and the calculation result of the speed calculation means 76b (S117), and the drive unit 77 drives the motor based on the interpolation data of the interpolation means 75 (S118).
A machine tool (not shown) is controlled.

【0071】〔実施例4〕図11は、この発明に係るN
C装置(実施例4)の構成を示すブロック図である。同
図において、71〜75及び77は、図20に示した従
来装置と全く同一のものを示し、同様の動作を行う。こ
こで、93aはクランプ速度計算手段94aで計算され
たクランプ速度を記憶するためのメモリ、120は受信
バッファ73に受信された加工プログラムから1ブロッ
ク当たりの平均キャラクタ数を検出する平均キャラクタ
数検出手段、121は受信バッファ73に受信されたキ
ャラクタ数から実効受信速度を計算する実効受信速度計
算手段、122はプログラム解析手段74の解析結果か
ら平均の微小線分長を検出する平均微小線分長検出手段
である。94aは前記平均キャラクタ数検出手段120
及び実効受信速度計算手段121及び平均微小線分長検
出手段122の結果からクランプ速度を計算するクラン
プ速度計算手段、76bは速度計算手段であり、図8に
示したものと全く同一の構成であり、同様の動作を行
う。
[Embodiment 4] FIG. 11 shows N according to the present invention.
It is a block diagram which shows the structure of C apparatus (Example 4). In the figure, 71 to 75 and 77 indicate exactly the same devices as the conventional device shown in FIG. 20, and perform the same operation. Here, 93a is a memory for storing the clamp speed calculated by the clamp speed calculating means 94a, and 120 is an average character number detecting means for detecting the average character number per block from the machining program received in the receiving buffer 73. , 121 is an effective reception speed calculation means for calculating the effective reception speed from the number of characters received in the reception buffer 73, and 122 is an average minute line segment length detection for detecting an average minute line segment length from the analysis result of the program analysis means 74. It is a means. 94a is the average character number detection means 120
Clamp speed calculation means for calculating the clamp speed from the results of the effective reception speed calculation means 121 and the average minute line segment length detection means 122, and 76b is the speed calculation means, which has the same configuration as that shown in FIG. , Perform the same operation.

【0072】次に、動作を説明する。図12は、図11
に示したNC装置の動作を示すフローチャートである。
NC装置71にサイクルスタートがかけられるとNC装
置71に接続されたテープリーダまたはコンピュータ
(図示せず)から通信手段72を介して受信バッファ7
3に加工プログラムを受信する(S123)。次に、受
信した該加工プログラムをプログラム解析手段74が解
析し(S124)、平均キャラクタ数検出手段120が
受信バッファ73に受信された加工プログラムの1ブロ
ック当たりのキャラクタ数をカウントして、例えば、1
00ブロック毎の平均キャラクタ数を算出して(S12
5)、クランプ速度計算手段94aに通知する。
Next, the operation will be described. 12 is shown in FIG.
4 is a flowchart showing the operation of the NC device shown in FIG.
When the NC device 71 is cycle-started, the receiving buffer 7 is connected from the tape reader or the computer (not shown) connected to the NC device 71 via the communication means 72.
The machining program is received at 3 (S123). Next, the program analyzing means 74 analyzes the received machining program (S124), and the average character number detecting means 120 counts the number of characters per block of the machining program received in the receiving buffer 73, and, for example, 1
The average number of characters for each 00 block is calculated (S12
5) Notify the clamp speed calculation means 94a.

【0073】次に、実効受信速度計算手段121が、例
えば、100ブロック毎に受信するキャラクタ数と受信
時間をカウントして1秒間に受信するキャラクタ数であ
る受信速度の実効値を計算して(S126)、クランプ
速度計算手段94aに通知する。次に、平均微小線分長
検出手段122がプログラム解析手段74の解析結果か
ら1ブロック間の微小線分長を検出して、例えば、10
0ブロック毎の平均微小線分長を算出して(S12
7)、クランプ速度計算手段94aに通知する。その
後、クランプ速度計算手段94aが平均キャラクタ数検
出手段120の出力結果である1ブロック当たりの平均
キャラクタ及び実効受信速度計算手段121の出力結果
である実効受信速度及び平均微小線分長検出手段122
の出力結果である平均微小線分長から下記の数4に従っ
てクランプ速度を計算する(S128)。
Next, the effective reception speed calculation means 121 calculates the effective value of the reception speed, which is the number of characters received per second, for example, by counting the number of characters received for each 100 blocks and the reception time ( S126), and notifies the clamp speed calculation means 94a. Next, the average minute line segment length detection means 122 detects the minute line segment length between one blocks from the analysis result of the program analysis means 74, and, for example, 10
The average minute line segment length is calculated for each 0 block (S12
7) Notify the clamp speed calculation means 94a. After that, the clamp speed calculation means 94a outputs the average character per block which is the output result of the average character number detection means 120 and the effective reception speed and average minute line segment length detection means 122 which is the output result of the effective reception speed calculation means 121.
The clamp speed is calculated from the average minute line segment length, which is the output result of (4), according to the following expression 4 (S128).

【0074】[0074]

【数4】 [Equation 4]

【0075】ここで、Jはクランプ速度、Fは微小線分
長、Gは通信速度、Hは1ブロック当たりのキャラクタ
数、Nは受信速度である。次に、クランプ速度計算手段
94aは、メモリ93aに記憶されている前回の計算結
果のクランプ速度を読み出して、上記数4の計算結果で
あるクランプ速度と比較し(S129)、今回の計算結
果であるクランプ速度が前回の計算結果であるクランプ
速度より小さい場合は、今回のクランプ速度をメモリ9
3aに記憶する(S130)。以上の動作によりクラン
プ速度の最小値が速度計算手段76bに出力される。
Here, J is the clamp speed, F is the minute line segment length, G is the communication speed, H is the number of characters per block, and N is the receiving speed. Next, the clamp speed calculation means 94a reads the clamp speed of the previous calculation result stored in the memory 93a and compares it with the clamp speed which is the calculation result of the above formula 4 (S129). If a certain clamp speed is lower than the clamp speed that is the previous calculation result, the current clamp speed is stored in the memory 9
It is stored in 3a (S130). By the above operation, the minimum value of the clamp speed is output to the speed calculation means 76b.

【0076】その後、速度計算手段76bが従来装置と
同様に工具送り速度を計算し(S131)、速度計算手
段76bがクランプ速度計算手段94の計算結果である
クランプ速度と工具送り速度を比較(補間速度>クラン
プ速度)し(S132)、工具送り速度がクランプ速度
以下の場合は、工具送り速度を補間手段75に出力す
る。反対に、工具送り速度がクランプ速度より大きい場
合は、工具送り速度をクランプ速度に置き換えて(S1
33)補間手段75に出力する。次に、補間手段75が
プログラム解析手段74の解析結果と速度計算手段76
bの計算結果から補間処理を実行し(S134)、補間
手段75の補間データに基づいて駆動部77がモータを
駆動して(S135)、図示していない被工作機械を制
御する。
After that, the speed calculation means 76b calculates the tool feed speed similarly to the conventional apparatus (S131), and the speed calculation means 76b compares the clamp speed and the tool feed speed which are the calculation results of the clamp speed calculation means 94 (interpolation). (Speed> clamp speed) (S132), and when the tool feed speed is equal to or lower than the clamp speed, the tool feed speed is output to the interpolation means 75. On the contrary, when the tool feed speed is higher than the clamp speed, the tool feed speed is replaced with the clamp speed (S1
33) Output to the interpolation means 75. Next, the interpolation means 75 causes the analysis result of the program analysis means 74 and the speed calculation means 76.
Interpolation processing is executed from the calculation result of b (S134), and the drive unit 77 drives the motor based on the interpolation data of the interpolation means 75 (S135) to control a machine tool (not shown).

【0077】〔実施例5〕図13は、この発明に係るN
C装置(実施例5)の構成を示すブロック図である。同
図において、71〜75及び77は、図20に示した従
来装置と全く同一のものを示し、同様の動作を行う。こ
こで、140は受信バッファに受信した加工プログラム
の残量を検出し、プログラム解析手段からGOを検出し
て、GO検出後、加工プログラムの残量が既定値以下に
なっていた場合、GOを実行後、補間手段75aに対し
て補間中断指令を出力し、加工プログラムの残量が既定
値以上になった場合、補間手段75aに対して補間再開
指令を出力する補間制御手段である。75aは速度計算
手段76からの工具送り速度情報及びプログラム解析手
段74の解析結果から補間処理を行い、また、補間制御
手段140からの補間制御情報で補間処理を中断及び再
開する補間手段である。
[Embodiment 5] FIG. 13 shows N according to the present invention.
It is a block diagram which shows the structure of C apparatus (Example 5). In the figure, 71 to 75 and 77 indicate exactly the same devices as the conventional device shown in FIG. 20, and perform the same operation. Here, 140 detects the remaining amount of the machining program received in the reception buffer, detects GO from the program analysis means, and if the remaining amount of the machining program is below a predetermined value after GO detection, GO is After the execution, the interpolation control means outputs an interpolation interruption command to the interpolation means 75a, and outputs an interpolation restart command to the interpolation means 75a when the remaining amount of the machining program exceeds a predetermined value. Reference numeral 75a is an interpolating means for performing interpolation processing based on the tool feed speed information from the speed calculating means 76 and the analysis result of the program analyzing means 74, and for interrupting and resuming the interpolation processing by the interpolation control information from the interpolation control means 140.

【0078】次に、動作を説明する。図14は、図13
に示したNC装置の動作を示すフローチャートである。
まず、NC装置71にサイクルスタートがかけられると
NC装置71に接続されたテープリーダまたはコンピュ
ータ(図示せず)から通信手段72を介して受信バッフ
ァ73に加工プログラムを受信する(S141)。次
に、受信した該加工プログラムをプログラム解析手段7
4が解析し(S142)、その後、速度計算手段76が
従来装置と同様に工具送り速度を計算する(S14
3)。
Next, the operation will be described. 14 is the same as FIG.
4 is a flowchart showing the operation of the NC device shown in FIG.
First, when the NC device 71 is cycle-started, the machining program is received from the tape reader or the computer (not shown) connected to the NC device 71 into the reception buffer 73 via the communication means 72 (S141). Next, the received machining program is analyzed by the program analysis means 7
4 analyzes (S142), and then the speed calculation means 76 calculates the tool feed speed similarly to the conventional device (S14).
3).

【0079】次に、補間制御手段140が、プログラム
解析手段74の解析結果からGOを実行中か否かを判断
し(S144)、GOを実行していない場合は、そのま
まなにもせず、ステップ147にジャンプする。反対
に、GO実行中の場合は、次に、補間制御手段140
が、受信バッファ73に受信した加工プログラムの残量
を既定値(下限)と比較(加工プログラム残量<既定値
(下限))し(S145)、加工プログラムの残量が既
定値(下限)以下になっていた場合、補間制御手段14
0が補間手段75aに補間中断指令を出力後(S14
6)、ステップ147に進む。反対に、加工プログラム
の残量が既定値(下限)以下になっていなかった場合
は、加工プログラムの残量が既定値(上限)以上になっ
ているか否か(加工プログラム残量>限定値(上限))
を判断し、加工プログラムの残量が既定値(上限)以上
になっていれば、補間再開指令を補間手段75aに出力
後(S151)、ステップ19に進み、反対に、加工プ
ログラムの残量が既定値(上限)以上になっていなけれ
ば、そのままなにもせず、ステップ19に進む。
Next, the interpolation control means 140 judges from the analysis result of the program analysis means 74 whether or not GO is being executed (S144). If GO is not being executed, nothing is done and the step is executed. Jump to 147. On the contrary, when GO is being executed, next, the interpolation control means 140
Compares the remaining amount of the machining program received in the reception buffer 73 with the default value (lower limit) (remaining amount of the machining program <default value (lower limit)) (S145), and the remaining amount of the machining program is less than or equal to the default value (lower limit). If it is, the interpolation control means 14
0 outputs an interpolation interruption command to the interpolation means 75a (S14
6) and then proceeds to step 147. On the contrary, if the remaining amount of the machining program is not less than the default value (lower limit), whether the remaining amount of the machining program is more than the default value (upper limit) (remaining amount of the machining program> the limited value ( upper limit))
If the remaining amount of the machining program is equal to or larger than the predetermined value (upper limit), an interpolation restart command is output to the interpolation means 75a (S151), and the process proceeds to step 19, and conversely, the remaining amount of the machining program remains. If it does not exceed the predetermined value (upper limit), nothing is done and the process proceeds to step 19.

【0080】次に、補間手段75aが、補間制御手段1
40からの補間中断指令があるか否かを判断し(S14
7)、補間中断指令がない場合は、補間手段75aがプ
ログラム解析手段74の解析結果と速度計算手段76の
計算結果から補間処理を実行し(S148)、補間手段
75aの補間データに基づいて駆動部77がモータを駆
動して(S149)、図示していない被工作機械を制御
する。反対に、補間中止指令がある場合は、一連の処理
を終了させる。
Next, the interpolating means 75a is operated by the interpolating control means 1
It is determined whether or not there is an interpolation interruption command from 40 (S14).
7) If there is no interpolation interruption command, the interpolation means 75a executes interpolation processing from the analysis result of the program analysis means 74 and the calculation result of the speed calculation means 76 (S148), and drives based on the interpolation data of the interpolation means 75a. The unit 77 drives a motor (S149) to control a machine tool (not shown). On the contrary, if there is an interpolation stop command, the series of processing is terminated.

【0081】なお、上記実施例では、加工プログラムの
残量の既定値が固定であったが、NC装置の操作で値を
変更できるようにしてもよく、上記受信例と同様の効果
を奏する。
In the above embodiment, the default value of the remaining amount of the machining program is fixed, but the value may be changed by operating the NC device, and the same effect as in the above receiving example is obtained.

【0082】[0082]

【発明の効果】以上のように、この発明によれば、NC
装置の供給バッファと消化バッファとの間に中間バッフ
ァを設け、NC側処理に消化バッファの最終データ判断
手段と、中間バッファの空判断手段と、早送り(G00
モード)判断手段と、早送り時、ブロック実行開始をイ
ンタロックする手段とを設けたことによりブロック実行
開始調整ができ、NC用加工プログラムを供給する供給
側の指令とぎれのため、切削送り時、切削面に発生する
カッタマークを簡易に防止できる効果がある。
As described above, according to the present invention, the NC
An intermediate buffer is provided between the supply buffer and the digestion buffer of the apparatus, and in the NC side processing, final data determination means of the digestion buffer, empty determination means of the intermediate buffer, and fast forward (G00
(Mode) determination means and means for interlocking the block execution start at the time of fast feed enable block execution start adjustment, and because of the interruption of the command on the supply side that supplies the NC machining program, during cutting feed, cutting There is an effect that the cutter mark generated on the surface can be easily prevented.

【0083】また、NC装置の供給バッファと消化バッ
ファとの間に中間バッファと、オペレータが設定する速
度低下係数パラメータを設け、NC側処理に中間バッフ
ァの空判断手段と、切削送り(G01,G02,G03
モード)判断手段と、切削送り時に工具送り速度を速度
低下係数パラメータを乗じて速度を低下させる手段とを
設けたことにより補間時間調整ができ、NC用加工プロ
グラムを供給する供給側の指令とぎれのため、切削送り
時、切削面に発生するカッタマークを簡易に防止できる
効果がある。
Further, an intermediate buffer and a speed reduction coefficient parameter set by the operator are provided between the supply buffer and the digestion buffer of the NC device, and the NC side processing includes empty determination means of the intermediate buffer and cutting feed (G01, G02). , G03
Mode) determining means and means for reducing the speed by multiplying the tool feed speed by the speed decrease coefficient parameter during cutting feed, the interpolation time can be adjusted, and the command on the supply side that supplies the NC machining program is interrupted. Therefore, there is an effect that the cutter mark generated on the cutting surface can be easily prevented during cutting feeding.

【0084】また、速度オーバライド出力手段が、受信
バッファの加工プログラムの残量から、切削速度のオー
バライドを計算し、速度計算手段を介して切削速度を制
御するようにしたので、切削によって消化される加工プ
ログラム量が通信手段によって供給される加工プログラ
ム量より多くなった場合でも、非常に簡単な構成で、切
削が一時停止して被加工物にカッタマークが付くことを
防止できる効果がある。
Further, the speed override output means calculates the cutting speed override from the remaining amount of the machining program in the reception buffer and controls the cutting speed via the speed calculation means, so that the cutting is digested. Even when the machining program amount is larger than the machining program amount supplied by the communication means, it is possible to prevent the cutting from being temporarily stopped and the cutter mark being attached to the workpiece with a very simple configuration.

【0085】また、データ設定手段で微小線分長及び通
信速度及び1ブロック当たりのキャラクタ数等のデータ
をメモリに予め記憶しておき、クランプ速度計算手段が
前記データをメモリから読み出して、クランプ速度を計
算するのでオペレータは、BTR運転加工に最適なクラ
ンプ速度を考えなくてもよく、運転条件や通信条件だけ
を意識すればよい。さらに、計算されたクランプ速度を
使って、切削速度を制御するので、切削によって消化さ
れる加工プログラム量が通信手段によって供給される加
工プログラム量より多くなった場合でも、切削が一時停
止して被加工物にカッタマークが付かないという効果が
ある。また、クランプ速度で切削速度を制限するため切
削中減速しないので、切削中減速してはいけない被加工
物を切削する場合には特に有効である。
Further, data such as the minute line segment length, the communication speed, and the number of characters per block is stored in the memory in advance by the data setting means, and the clamp speed calculating means reads the data from the memory to obtain the clamp speed. Therefore, the operator does not have to consider the optimum clamp speed for the BTR operation machining, and only needs to be aware of the operating conditions and the communication conditions. Further, since the cutting speed is controlled by using the calculated clamping speed, even when the machining program amount consumed by the cutting becomes larger than the machining program amount supplied by the communication means, the cutting is temporarily stopped and the object is not covered. This has the effect of not attaching a cutter mark to the work piece. Further, since the cutting speed is limited by the clamp speed, the deceleration is not performed during cutting, which is particularly effective when cutting a workpiece that should not be decelerated during cutting.

【0086】また、平均キャラクタ数検出手段が受信バ
ッファに受信された加工プログラムから1ブロック当た
りの平均のキャラクタ数を検出し、実効受信速度計算受
信が受信バッファに受信されたキャラクタ数から実効受
信速度を計算し、平均微小線分長検出手段がプログラム
解析手段の解析結果から平均の微小線分長を検出する。
前記平均キャラクタ数検出手段と実効受信速度計算手段
と平均微小線分長検出手段からのデータをもとにクラン
プ速度計算手段がクランプ速度を計算し、その最小値を
使って切削速度を制限するようにしたので、実際の運転
条件及び通信条件によって切削速度を制限できるという
効果がある。さらに、計算されたクランプ速度を使用し
て、切削速度を制御するので、切削によって消化される
加工プログラム量が通信手段によって供給される加工プ
ログラム量より多くなった場合でも、切削が一時停止し
て被加工物にカッタマークが付かないという効果があ
る。
Further, the average character number detecting means detects the average number of characters per block from the processing program received in the receiving buffer, and the effective reception speed calculation reception is based on the number of characters received in the receiving buffer. And the average minute line segment length detecting means detects the average minute line segment length from the analysis result of the program analyzing means.
The clamp speed calculation means calculates the clamp speed based on the data from the average character number detection means, the effective reception speed calculation means, and the average minute line segment length detection means, and the cutting speed is limited using the minimum value. Therefore, there is an effect that the cutting speed can be limited by the actual operating conditions and communication conditions. In addition, the calculated clamp speed is used to control the cutting speed, so even if the amount of machining program consumed by cutting exceeds the amount of machining program supplied by the communication means, cutting will be paused. This has the effect that no cutter marks are attached to the work piece.

【0087】また、補間制御手段が受信バッファの加工
プログラムの残量が既定値以下になっていた場合、GO
を実行後、補間手段に対して補間中断指令を出力し、加
工プログラムの残量が既定値以上になった場合、補間手
段に対して補間再開指令を出力して、早送りを一時的に
停止させるようにしている。即ち、切削によって消化さ
れる加工プログラム量が通信手段によって供給される加
工プログラム量より多くなった場合は、早送りを実行
後、受信バッファに加工プログラムの残量が既定値以上
になるまで早送りを一時停止させるので、特に切削中に
早送り指令を含む加工プログラムによる切削において被
加工物にカッタマークが付かないという効果がある。
When the interpolation control means determines that the remaining amount of the processing program in the reception buffer is less than the predetermined value, GO
After executing, the interpolation interruption command is output to the interpolating means, and when the remaining amount of the machining program exceeds the preset value, the interpolation restart command is output to the interpolating means to temporarily stop the fast-forwarding. I am trying. That is, when the amount of machining program consumed by cutting becomes larger than the amount of machining program supplied by the communication means, after performing fast-forwarding, fast-forwarding is temporarily performed until the remaining amount of machining program in the receiving buffer becomes equal to or more than the preset value. Since it is stopped, there is an effect that a cutter mark is not attached to a work piece especially in cutting by a machining program including a fast-forward command during cutting.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明によるNC装置における運転時の信号
の流れを示すブロック図である。
FIG. 1 is a block diagram showing a signal flow during operation of an NC device according to the present invention.

【図2】この発明によるNC装置の運転時における消化
処理動作を示すフローチャートである。
FIG. 2 is a flowchart showing a digestion processing operation during operation of the NC device according to the present invention.

【図3】この発明によるNC装置の運転時における消化
処理動作を示すタイミングチャートである。
FIG. 3 is a timing chart showing a digestion processing operation during operation of the NC device according to the present invention.

【図4】この発明によるNC装置の工具軌跡を示す説明
図である。
FIG. 4 is an explanatory view showing a tool locus of the NC device according to the present invention.

【図5】この発明によるNC装置のアプローチ/リトラ
クトを示す説明図である。
FIG. 5 is an explanatory diagram showing an approach / retract of the NC device according to the present invention.

【図6】この発明によるNC装置の構成(実施例2)を
示すブロック図である。
FIG. 6 is a block diagram showing a configuration (Embodiment 2) of an NC device according to the present invention.

【図7】図6に示したNC装置の動作を示すフローチャ
ートである。
FIG. 7 is a flowchart showing an operation of the NC device shown in FIG.

【図8】この発明によるNC装置の構成(実施例3)を
示すブロック図である。
FIG. 8 is a block diagram showing a configuration (Embodiment 3) of an NC device according to the present invention.

【図9】図8に示したNC装置の表示画面例を示す説明
図である。
9 is an explanatory diagram showing an example of a display screen of the NC device shown in FIG.

【図10】図8に示したNC装置の動作を示すフローチ
ャートである。
10 is a flowchart showing an operation of the NC device shown in FIG.

【図11】この発明によるNC装置の構成(実施例4)
を示すブロック図である。
FIG. 11 is a block diagram of an NC device according to the present invention (Example 4)
It is a block diagram showing.

【図12】図11に示したNC装置の動作を示すフロー
チャートである。
12 is a flowchart showing an operation of the NC device shown in FIG.

【図13】この発明によるNC装置の構成(実施例5)
を示すブロック図である。
FIG. 13 is a diagram showing a configuration of an NC device according to the present invention (embodiment 5).
It is a block diagram showing.

【図14】図13に示したNC装置の動作を示すフロー
チャートである。
FIG. 14 is a flowchart showing an operation of the NC device shown in FIG.

【図15】この発明および従来におけるNC装置のハー
ドウェア構成を示すブロック図である。
FIG. 15 is a block diagram showing a hardware configuration of an NC device according to the present invention and the related art.

【図16】従来におけるNC装置の運転時の信号の流れ
を示すブロック図である。
FIG. 16 is a block diagram showing a signal flow during operation of a conventional NC device.

【図17】従来におけるNC装置の運転時の消化処理動
作を示すフローチャートである。
FIG. 17 is a flowchart showing a digestion processing operation during operation of a conventional NC device.

【図18】従来におけるNC装置の運転時の消化処理動
作を示すタイミングチャートである。
FIG. 18 is a timing chart showing a digestion processing operation during operation of a conventional NC device.

【図19】従来におけるNC装置の工具軌跡を示す説明
図である。
FIG. 19 is an explanatory diagram showing a tool locus of a conventional NC device.

【図20】従来におけるNC装置の構成を示すブロック
図である。
FIG. 20 is a block diagram showing a configuration of a conventional NC device.

【図21】従来におけるNC装置の動作を示すフローチ
ャートである。
FIG. 21 is a flowchart showing the operation of a conventional NC device.

【符号の説明】[Explanation of symbols]

10 自動プログラミング側(AP側) 12 外部NC加工プログラム作成装置 14 入出力部 16 供給バッファ 18 中間バッファ 20 消化バッファ 22 数値制御側(NC側) 24 駆動部 26 キーデータ入力部 28 切削送り低下パラメータ 30 CPU 32 NC側ROM 34 NC側RAM 36 AP側ROM 38 AP側RAM 40 加工プログラム記憶RAM 42 入出力部 44 外部NC加工プログラム作成装置 46 表示部 48 駆動部 71 NC装置 72 通信手段 73 受信バッファ 74 プログラム解析手段 75 補間手段 75a 補間手段 76 速度計算手段 76a 速度計算手段 76b 速度計算手段 77 駆動部 78 速度オーバライド出力手段 79 データ設定手段 93 メモリ 94 クランプ速度計算手段 94a クランプ速度計算手段 120 平均キャラクタ数検出手段 121 実効受信速度計算手段 122 平均微小線分長検出手段 140 補間制御手段 10 Automatic Programming Side (AP Side) 12 External NC Machining Program Creation Device 14 Input / Output Section 16 Supply Buffer 18 Intermediate Buffer 20 Digestion Buffer 22 Numerical Control Side (NC Side) 24 Drive Section 26 Key Data Input Section 28 Cutting Feed Reduction Parameter 30 CPU 32 NC side ROM 34 NC side RAM 36 AP side ROM 38 AP side RAM 40 Processing program storage RAM 42 Input / output section 44 External NC processing program creation device 46 Display section 48 Drive section 71 NC apparatus 72 Communication means 73 Reception buffer 74 Program Analysis means 75 Interpolation means 75a Interpolation means 76 Speed calculation means 76a Speed calculation means 76b Speed calculation means 77 Drive section 78 Speed override output means 79 Data setting means 93 Memory 94 Clamp speed calculation means 94a Clamp Degrees calculation unit 120 the average character number detection means 121 effective reception rate calculating means 122 average minute line segments length detecting means 140 interpolation control means

【手続補正書】[Procedure amendment]

【提出日】平成5年4月20日[Submission date] April 20, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0004[Correction target item name] 0004

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0004】42は入出力部であり、NC運転起動、N
C運転休止など外部からのスイッチ、補間機能、主軸機
能を42aからの入出力、キーデータ入力部42bから
の入力、外部とのNC用加工プログラム入出力等を行
う。44は外部NC加工プログラム作成装置であり、一
般的にホストコンピュータと呼ばれ、外部でNC用加工
プログラムを作成し、入出力部42に印加するもので、
これは内蔵されたAP側ROM36、RAM38とは異
なり外部からの入出力機器である。46は表示部であ
り、NC側の運転状態の表示、AP側の自動決定データ
の表示等をディスプレイ46a上に実行する。48は駆
動部であり、NC側で数値制御されたデータに対し増幅
処理等を実行し、サーボモータ48aを駆動する。
Reference numeral 42 is an input / output unit for starting NC operation, N
Switch from outside such as C operation stop , interpolation function, spindle machine
Noh input / output from 42a and key data input section 42b
Input, the NC for machining program input or the like with an external performing the. Reference numeral 44 denotes an external NC machining program creation device, which is generally called a host computer, which creates an NC machining program externally and applies it to the input / output unit 42.
This is an external input / output device, unlike the built-in AP side ROM 36 and RAM 38. Reference numeral 46 denotes a display unit, which displays the operating state on the NC side, the automatic determination data on the AP side, and the like on the display 46a. Reference numeral 48 denotes a drive unit that performs amplification processing or the like on the data numerically controlled on the NC side to drive the servo motor 48a.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0028[Correction target item name] 0028

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0028】[0028]

【作用】この発明に係わるNC装置は、供給バッファと
消化バッファの間に中間バッファを設け、NC運転時、
常時その中間バッファの空状態をNC側で判断し、空の
場合、次に実行するブロック(例えば、図1のB1)
が早送り(G00モード)ならば、そのブロック実行開
始をインタロックし、供給バッファ経由で中間バッファ
が埋まるまで待ち、そして、埋まった後、ブロック実行
を開始するようにタイミングを調整する。即ち、早送り
(G00モード)時のブロック実行開始インタロック手
段は、まず中間バッファが埋まるまで待ち、埋まった
後、通常処理に戻すことにより、以降の切削送りブロッ
クでカッタマークが付かなくする。なお、中間バッファ
が埋まるまで待っても早送りのため切削していないため
当該ブロックにカッタマークは存在しない。
In the NC device according to the present invention, an intermediate buffer is provided between the supply buffer and the digestion buffer, and when the NC is operated,
The NC side always determines the empty state of the intermediate buffer, and if it is empty, the block to be executed next (for example, B1 in FIG. 18 ).
If is fast forward (G00 mode), the block execution start is interlocked, the intermediate buffer is waited for via the supply buffer, and then the timing is adjusted so that block execution is started. That is, the block execution start interlock means in the fast feed (G00 mode) first waits until the intermediate buffer is filled, and then returns to the normal processing so that the cutter mark is not attached to the subsequent cutting feed block. It should be noted that there is no cutter mark in the block because it is not cut because it is fast-forwarding even after waiting until the intermediate buffer is filled.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0029[Name of item to be corrected] 0029

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0029】また、次に実行するブロック(例えば、図
のB1)が切削送り(G01,G02,G03モー
ド)ならば、その工具送り速度を自動的に低下させる。
その結果、1ブロック補間時間を長くし、供給側が供給
バッファにNC用加工プログラムをセットに要する時間
まで実行し、供給バッファ経由で中間バッファが埋まっ
たならば、指令された工具送り速度に戻すなどの調整を
する。即ち、切削送り(G01,G02,G03モー
ド)時の補間速度を低下させる手段は、低下させられた
ブロックの補間中に中間バッファが埋まるようになり、
埋まった後、通常処理に戻すことにより、以降の切削送
りブロックでカッタマークが付かなくする。
If the block to be executed next (for example, B1 in FIG. 18 ) is the cutting feed (G01, G02, G03 mode), the tool feed speed is automatically reduced.
As a result, the 1-block interpolation time is lengthened, the supply side executes the machining program for NC in the supply buffer until the time required for setting, and if the intermediate buffer is filled via the supply buffer, it returns to the commanded tool feed speed. Adjust. That is, the means for reducing the interpolation speed during cutting feed (G01, G02, G03 modes) allows the intermediate buffer to be filled during interpolation of the reduced block,
After it is filled, by returning to the normal processing, the cutter mark will not be attached in the subsequent cutting feed block.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0051[Correction target item name] 0051

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0051】なお、NC側の1ブロック(例えば、A
1)の補間時間が長い(移動量が大または工具送り速度
が小の)とき、次ブロック(A2)の起動までの時間が
長くなり、それだけAP側の走れる時間が多くなる。逆
に、NC側の1ブロックの補間時間が短い(移動量が小
または工具送り速度が大の)とき、次ブロックの起動ま
での時間が短くなり、それだけAP側の走れる時間は狭
められる。また、AP側では簡単な形状(例えば、
イス四角形状)であれば単時間でNC用加工プログラム
を作成できるが、複雑な形状(例えば、ポケット非定型
形状)であれば長時間の演算時間を要する。
One block on the NC side (for example, A
When the interpolation time of 1) is long (the movement amount is large or the tool feed speed is small), the time until the start of the next block (A2) becomes long, and the running time on the AP side increases accordingly. On the contrary, when the interpolation time of one block on the NC side is short (the movement amount is small or the tool feed speed is large), the time until the start of the next block is shortened, and the running time on the AP side is narrowed accordingly. Also, simple shape in the AP side (e.g., off La <br/> chair quadrilateral) can create NC for machining program in a short period of time if, complex shape (e.g., a pocket atypical shape) if A long calculation time is required.

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0057[Correction target item name] 0057

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0057】〔実施例2〕図6は、この発明に係るNC
装置(実施例2)の構成を示すブロック図である。同図
において、71〜75及び77は、図20に示した従来
装置と全く同一のものを示し、同様の動作を行う。ここ
で、83は受信バッファ73の加工プログラムの残量か
ら切削速度のオーバライドを計算し、オーバライド情報
を速度計算手段76aに出力する速度オーバライド出力
手段である。76aはプログラム解析手段74の結果と
速度オーバライド出力手段83の結果から切削速度を計
算する速度計算手段である。
[Embodiment 2] FIG. 6 shows an NC according to the present invention.
It is a block diagram which shows the structure of an apparatus (Example 2). In the figure, 71 to 75 and 77 indicate exactly the same devices as the conventional device shown in FIG. 20, and perform the same operation. Here, reference numeral 83 is a speed override output means for calculating the cutting speed override from the remaining amount of the machining program in the reception buffer 73 and outputting the override information to the speed calculation means 76a. Reference numeral 76a is a speed calculation means for calculating the cutting speed from the result of the program analysis means 74 and the result of the speed override output means 83.

【手続補正6】[Procedure Amendment 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0079[Correction target item name] 0079

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0079】次に、補間制御手段140が、プログラム
解析手段74の解析結果からGOを実行中か否かを判断
し(S144)、GOを実行していない場合は、そのま
まなにもせず、ステップ147にジャンプする。反対
に、GO実行中の場合は、次に、補間制御手段140
が、受信バッファ73に受信した加工プログラムの残量
を既定値(下限)と比較(加工プログラム残量<既定値
(下限))し(S145)、加工プログラムの残量が既
定値(下限)以下になっていた場合、補間制御手段14
0が補間手段75aに補間中断指令を出力後(S14
6)、ステップ147に進む。反対に、加工プログラム
の残量が既定値(下限)以下になっていなかった場合
は、ステップ150に進み、加工プログラムの残量が既
定値(上限)以上になっているか否か(加工プログラム
残量>定値(上限))かつ補間中断指令中を判断し、
加工プログラムの残量が既定値(上限)以上でかつ補間
中断指令中であれば、補間再開指令を補間手段75aに
出力後(S151)、ステップ147に進み、反対に、
加工プログラムの残量が既定値(上限)以下になってい
なければ、そのままなにもせず、ステップ19に進む。
Next, the interpolation control means 140 judges from the analysis result of the program analysis means 74 whether or not GO is being executed (S144). If GO is not being executed, nothing is done and the step is executed. Jump to 147. On the contrary, when GO is being executed, next, the interpolation control means 140
Compares the remaining amount of the machining program received in the reception buffer 73 with the default value (lower limit) (remaining amount of the machining program <default value (lower limit)) (S145), and the remaining amount of the machining program is less than or equal to the default value (lower limit). If it is, the interpolation control means 14
0 outputs an interpolation interruption command to the interpolation means 75a (S14
6) and then proceeds to step 147. On the contrary, when the remaining amount of the machining program is not less than the default value (lower limit) , the process proceeds to step 150, and it is determined whether the remaining amount of the machining program is more than the default value (upper limit) (remaining machining program). the amount> already value (upper limit)) and to determine in interpolation interruption command,
The remaining amount of the machining program is more than the default value (upper limit) and interpolation
If the interruption command is in progress, after outputting the interpolation restart command to the interpolation means 75a (S151), the process proceeds to step 147 , and conversely,
If the remaining amount of the machining program is not less than the predetermined value (upper limit), nothing is done and the process proceeds to step 19.

【手続補正7】[Procedure Amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】符号の説明[Correction target item name] Explanation of code

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【符号の説明】 10 自動プログラミング側(AP側) 12 外部NC加工プログラム作成装置 14 入出力部 16 供給バッファ 18 中間バッファ 20 消化バッファ 22 数値制御側(NC側) 24 駆動部 26 キーデータ入力部 28 切削送り低下パラメータ 30 CPU 32 NC側ROM 34 NC側RAM 36 AP側ROM 38 AP側RAM 40 加工プログラム記憶RAM 42 入出力部 44 外部NC加工プログラム作成装置 46 表示部 48 駆動部 71 NC装置 72 通信手段 73 受信バッファ 74 プログラム解析手段 75 補間手段 75a 補間手段 76 速度計算手段 76a 速度計算手段 76b 速度計算手段 77 駆動部 78 速度オーバライド出力手段 79 データ設定手段83 速度オーバライド出力手段 92 データ設定手段 93 メモリ 94 クランプ速度計算手段 94a クランプ速度計算手段101 表示枠 102 入出力装置パラメータ表示画面 103 データ設定部 104 メニュー表示部/メニューキー 105 通信速度 106 キャラクタ数 107 微小線分長 108 ストップbit 109 キャラクタ長設定項目 120 平均キャラクタ数検出手段 121 実効受信速度計算手段 122 平均微小線分長検出手段 140 補間制御手段[Explanation of Codes] 10 Automatic Programming Side (AP Side) 12 External NC Machining Program Creation Device 14 Input / Output Section 16 Supply Buffer 18 Intermediate Buffer 20 Digestion Buffer 22 Numerical Control Side (NC Side) 24 Drive Section 26 Key Data Input Section 28 Cutting feed reduction parameter 30 CPU 32 NC side ROM 34 NC side RAM 36 AP side ROM 38 AP side RAM 40 Machining program memory RAM 42 Input / output section 44 External NC machining program creating device 46 Display section 48 Driving section 71 NC apparatus 72 Communication means 73 receive buffer 74 the program analysis means 75 interpolation means 75a interpolation means 76 speed calculating means 76a speed calculation means 76b speed calculation unit 77 driving unit 78 speed override output unit 79 data setting means 83 speed override output means 92 Day Setting means 93 memory 94 clamping speed calculating means 94a clamping speed calculating means 101 display frame 102 input-output device parameter display screen 103 data setting unit 104 menu display unit / Menu key 105 communication speed 106 character number 107 minute line segments length 108 stop bit 109 Character length setting item 120 Average character number detection means 121 Effective reception speed calculation means 122 Average minute line segment length detection means 140 Interpolation control means

【手続補正8】[Procedure Amendment 8]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図2[Name of item to be corrected] Figure 2

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図2】 [Fig. 2]

【手続補正9】[Procedure Amendment 9]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図14[Name of item to be corrected] Fig. 14

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図14】 FIG. 14

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 自動プログラミング装置または外部入出
力機器から供給される数値制御用加工プログラムを複数
ブロック記憶する供給バッファと、前記供給バッファか
ら加工プログラムを転送される中間バッファと、前記中
間バッファから加工プログラムを転送される消化バッフ
ァと、前記消化バッファから数値制御用加工プログラム
を取り出し数値制御を実行して駆動部を動作させる数値
制御部とを有する数値制御装置において、前記数値制御
部に消化バッファの最終データ判断手段と、中間バッフ
ァの空判断手段と、早送り判断手段と、消化バッファが
最終データ外、且つ、中間バッファが空、且つ、早送り
時に数値制御用加工プログラムのブロック実行開始をイ
ンタロックするロック手段とを具備することを特徴とす
る数値制御装置。
1. A supply buffer for storing a plurality of blocks of numerical control machining programs supplied from an automatic programming device or an external input / output device, an intermediate buffer to which the machining programs are transferred from the supply buffer, and machining from the intermediate buffer. In a numerical control device having a digestion buffer to which a program is transferred and a numerical control unit for taking out a numerical control machining program from the digestion buffer and executing numerical control to operate a drive unit, Final data determination means, intermediate buffer empty determination means, fast-forward determination means, digestion buffer is outside the final data, intermediate buffer is empty, and the block execution start of the numerical control machining program is interlocked during fast-forwarding. A numerical control device comprising: locking means.
【請求項2】 自動プログラミング装置または外部入出
力機器から供給される数値制御用加工プログラムを複数
ブロック記憶する供給バッファと、前記供給バッファか
ら加工プログラムを転送される中間バッファと、前記中
間バッファから加工プログラムを転送される消化バッフ
ァと、前記消化バッファから数値制御用加工プログラム
を取り出し数値制御を実行して駆動部を動作させる数値
制御部と、オペレータが設定する切削送り低下可否フラ
グ及び速度低下係数パラメータとを有する数値制御装置
において、前記数値制御部に消化バッファの最終データ
判断手段と、中間バッファの空判断手段と、切削送り判
断手段と、切削送り低下可否フラグの判断手段と、消化
バッファが最終データ外、且つ、中間バッファが空、且
つ、切削送り、且つ、切削送り低下可否フラグON時に
数値制御用加工プログラムの工具送り速度を速度低下係
数パラメータを乗じて低下させる制御手段とを具備する
ことを特徴とする数値制御装置。
2. A supply buffer for storing a plurality of blocks of numerical control machining programs supplied from an automatic programming device or an external input / output device, an intermediate buffer to which the machining programs are transferred from the supply buffer, and machining from the intermediate buffer. The digestion buffer to which the program is transferred, the numerical control unit that takes out the numerical control machining program from the digestion buffer and executes the numerical control to operate the drive unit, the cutting feed decrease possibility flag and the speed decrease coefficient parameter set by the operator In the numerical control device having the above-mentioned numerical control unit, the numerical control unit includes a final data determination means for the digestion buffer, an empty determination means for the intermediate buffer, a cutting feed determination means, a determination means for a cutting feed decrease possibility flag, and the digestion buffer Out of data, intermediate buffer is empty, cutting feed, and And a control means for reducing the tool feed speed of the machining program for numerical control by multiplying the speed decrease coefficient parameter when the cutting feed decrease possibility flag is ON.
【請求項3】 通信手段を介して加工プログラムを受信
する受信バッファと、前記受信バッファにより受信され
た加工プログラムを解析するプログラム解析手段と、前
記プログラム解析手段の解析結果に基づいて制御速度を
計算する速度計算手段と、前記速度計算手段とプログラ
ム解析手段の結果から補間処理を実行する補間手段とを
備え、工作機械等を制御する数値制御装置において、前
記通信手段を介して受信バッファに受信した加工プログ
ラムの残量を検出し、該加工プログラムの残量から速度
オーバライドを計算し、該速度オーバライド情報を加工
速度を変更するために前記速度計算手段に出力する速度
オーバライド出力手段を具備することを特徴とする数値
制御装置。
3. A reception buffer for receiving a machining program via a communication means, a program analysis means for analyzing the machining program received by the reception buffer, and a control speed calculated based on an analysis result of the program analysis means. In a numerical control device for controlling a machine tool or the like, the speed calculation means and the interpolation means for executing interpolation processing from the results of the speed calculation means and the program analysis means are received in the reception buffer via the communication means. A residual velocity of the machining program is detected, a velocity override is calculated from the residual amount of the machining program, and velocity override output means for outputting the velocity override information to the velocity calculation means for changing the machining velocity is provided. Characteristic numerical control device.
【請求項4】 通信手段を介して加工プログラムを受信
する受信バッファと、前記受信バッファにより受信され
た加工プログラムを解析するプログラム解析手段と、前
記プログラム解析手段の解析結果に基づいて制御速度を
計算する速度計算手段と、前記速度計算手段とプログラ
ム解析手段の結果から補間処理を実行する補間手段とを
備え、工作機械等を制御する数値制御装置において、微
小線分長、通信速度及び1ブロック当たりのキャラクタ
数等を設定するデータ設定手段を設け、前記データ設定
手段によりメモリに予め設定された該微小線分長、通信
速度及び1ブロック当たりのキャラクタ数等のデータに
基づいてクランプ速度を計算し、該クランプ速度情報を
加工速度を制限するために前記速度計算手段に出力する
クランプ速度計算手段を具備することを特徴とする数値
制御装置。
4. A receiving buffer for receiving a machining program through a communication means, a program analyzing means for analyzing the machining program received by the receiving buffer, and a control speed calculated based on an analysis result of the program analyzing means. In a numerical controller for controlling a machine tool or the like, which comprises a speed calculation means for controlling a machine tool and an interpolation means for executing an interpolation process based on a result of the speed calculation means and the program analysis means, Is provided with data setting means for setting the number of characters, etc., and the clamp speed is calculated based on the data such as the minute line segment length, the communication speed and the number of characters per block preset in the memory by the data setting means. , A clamp speed calculator for outputting the clamp speed information to the speed calculator for limiting the machining speed A numerical control device comprising steps.
【請求項5】 通信手段を介して加工プログラムを受信
する受信バッファと、前記受信バッファにより受信され
た加工プログラムを解析するプログラム解析手段と、前
記プログラム解析手段の解析結果に基づいて制御速度を
計算する速度計算手段と、前記速度計算手段とプログラ
ム解析手段の結果から補間処理を実行する補間手段とを
備え、工作機械等を制御する数値制御装置において、前
記受信バッファに受信された加工プログラムから1ブロ
ック当たりの平均キャラクタ数を検出する平均キャラク
タ数検出手段と、前記受信バッファに受信されたキャラ
クタ数から実効受信速度を計算する実効受信速度計算手
段と、前記プログラム解析手段の解析結果から平均微小
線分長を検出する平均微小線分長検出手段と、前記平均
キャラクタ数検出手段と実効受信速度計算手段と平均微
小線分検出手段からのデータに基づいてクランプ速度を
計算するクランプ速度計算手段を具備することを特徴と
する数値制御装置。
5. A receiving buffer for receiving a machining program via a communication means, a program analyzing means for analyzing the machining program received by the receiving buffer, and a control speed calculated based on an analysis result of the program analyzing means. In a numerical control device for controlling a machine tool or the like, the processing program received in the reception buffer is set to 1 An average character number detecting means for detecting the average number of characters per block, an effective receiving speed calculating means for calculating an effective receiving speed from the number of characters received in the receiving buffer, and an average fine line from the analysis result of the program analyzing means. Average minute line segment length detecting means for detecting the segment length, and the average character number detecting means A numerical control device comprising a clamp speed calculation means for calculating a clamp speed based on data from a stage, an effective reception speed calculation means, and an average minute line segment detection means.
【請求項6】 通信手段を介して加工プログラムを受信
する受信バッファと、前記受信バッファにより受信され
た加工プログラムを解析するプログラム解析手段と、前
記プログラム解析手段の解析結果に基づいて制御速度を
計算する速度計算手段と、前記速度計算手段とプログラ
ム解析手段の結果から補間処理を実行する補間手段とを
備え、工作機械等を制御する数値制御装置において、前
記プログラム解析手段から早送りを検出し、また、前記
通信手段を介して受信バッファに受信した加工プログラ
ムの残量を検出し、加工プログラムの残量が所定値以下
になった場合、前記補間手段に対して補間中断指令を出
力し、加工プログラムの残量が所定値以上になった場
合、前記補間手段に対して補間再開指令を出力する補間
制御手段を具備することを特徴とする数値制御装置。
6. A receiving buffer for receiving a machining program via a communication means, a program analyzing means for analyzing the machining program received by the receiving buffer, and a control speed calculated based on an analysis result of the program analyzing means. In the numerical control device for controlling a machine tool or the like, the fast-forwarding is detected from the program analysis means, and the speed calculation means and the interpolation means for executing interpolation processing from the results of the speed calculation means and the program analysis means are detected. The remaining amount of the machining program received in the reception buffer via the communication means is detected, and when the remaining amount of the machining program becomes a predetermined value or less, an interpolation interruption command is output to the interpolation means, And an interpolating control means for outputting an interpolating restart command to the interpolating means when the remaining amount of the interpolated amount exceeds a predetermined value. Numerical control device characterized by.
JP11468592A 1992-05-07 1992-05-07 Numerical control unit Expired - Fee Related JP2780729B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11468592A JP2780729B2 (en) 1992-05-07 1992-05-07 Numerical control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11468592A JP2780729B2 (en) 1992-05-07 1992-05-07 Numerical control unit

Publications (2)

Publication Number Publication Date
JPH05313726A true JPH05313726A (en) 1993-11-26
JP2780729B2 JP2780729B2 (en) 1998-07-30

Family

ID=14644082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11468592A Expired - Fee Related JP2780729B2 (en) 1992-05-07 1992-05-07 Numerical control unit

Country Status (1)

Country Link
JP (1) JP2780729B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016031725A (en) * 2014-07-30 2016-03-07 ファナック株式会社 Numerical control device having dnc operation means irrespective of reading time of processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016031725A (en) * 2014-07-30 2016-03-07 ファナック株式会社 Numerical control device having dnc operation means irrespective of reading time of processing program
US10018990B2 (en) 2014-07-30 2018-07-10 Fanuc Corporation Numerical controller including DNC operation unit

Also Published As

Publication number Publication date
JP2780729B2 (en) 1998-07-30

Similar Documents

Publication Publication Date Title
US20040236462A1 (en) Numerical control apparatus for machine tool
EP0171435B1 (en) Numerical control method
US20160062336A1 (en) Numerical controller for facilitating adjustment of machining motion
EP1909153B1 (en) Apparatus for creating a turning program
JPH01146642A (en) Stop control device for cutting tool
US6859680B2 (en) Numerical controlling unit having tool-breakage detecting function
JPH05313726A (en) Numerical controller
JP2000126991A (en) Control device for NC machine tool
JP3005663B2 (en) Abnormality avoidance control method for numerically controlled machine tools
JP2010044489A (en) Numerical controller with machining resumption function
JPH11202926A (en) Feed rate control method and apparatus in numerical control
JPS6244352A (en) Feed controlling method in numerically controlled machine tool
CN113260933A (en) Numerical control device and machine learning device
US4839817A (en) Numerically controlled apparatus including shunting controller
US11156986B2 (en) Machining program editing device
US7136718B2 (en) Numerical control apparatus
JP3230922B2 (en) Numerical controller with remote operation function
JPH10293606A (en) Machining controller in machine tool
JP2002091521A (en) Controller and control method
JPH0749709A (en) Numerical control device
JPH0236046A (en) Programming method in interactive numerical value control device
JP2003022109A (en) Numerical control unit
JP7473653B2 (en) Numerical control device having a function of changing a setting parameter for controlling a controlled object at a predetermined timing and a setting parameter changing method thereof
JP2000181525A (en) Positioning device
JPH07112348A (en) Numerically controlled machine tool

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees