JPH01320505A - Numeric value control system - Google Patents

Numeric value control system

Info

Publication number
JPH01320505A
JPH01320505A JP15397688A JP15397688A JPH01320505A JP H01320505 A JPH01320505 A JP H01320505A JP 15397688 A JP15397688 A JP 15397688A JP 15397688 A JP15397688 A JP 15397688A JP H01320505 A JPH01320505 A JP H01320505A
Authority
JP
Japan
Prior art keywords
data
interpolation
execution
memory
format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP15397688A
Other languages
Japanese (ja)
Inventor
Yukinori Otsubo
大坪 幸則
Yasushi Fukaya
安司 深谷
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.)
Okuma Corp
Original Assignee
Okuma Machinery Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP15397688A priority Critical patent/JPH01320505A/en
Publication of JPH01320505A publication Critical patent/JPH01320505A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To prevent an interpolation stopping time from being generated by automatically adjusting interpolation speed so as not to set the amount of data of execution format stored in a memory at a value less than a prescribed value. CONSTITUTION:An execution data block number adding part 9 adds '1' on the number of blocks of the data SC of execution format from an execution data generating part 3, and stores it in the memory 8B. Meanwhile, an execution data subtracting part 10 subtracts '1' from the number of blocks of the execution data stored in the memory 8B. And an interpolation speed command generating part 4 finds an interpolation speed command by the data SM of execution format from the subtracting part 10, and outputs it to an interpolation speed command change control part 11. The control part 11 reads out the number SK of blocks of the execution data stored in the memory 8B, and compares the number with a reference value. When it is less than the reference value, i.e. when the stopping time of an interpolating time is generated, the interpolation speed is adjusted automatically.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、加ニブログラムによって機械の駆動部を制御
する際の数値制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a numerical control method for controlling a drive section of a machine using a nitrogram.

(従来の技術) 第3図は従来の数値制御方式を実現する数値制御(以下
、NCという)装置の一例を示すブロック図であり、実
行データ生成部3からの読込指令SG毎にキーボードや
テープリーダ等の入力機器i h)らバートプログラム
Sへを1ブロツクずつ読込むプログラム誘込部2と、こ
のプログラム読込部2からの1ブロツクのデータSBを
、例えば原点オフセットデータや工具オフセットデータ
を加味した目標位置や主軸回転数等で成る実行形式のデ
ータSCに変換してメモリ8^内のバッファ1〜Nのう
ち空のバッファに記憶させると共に、次の1ブロツクの
読込指令SGをプログラム読込部1に出力する実行デー
タ生成部3とを有している。さらに、メモリ8^内のバ
ッファ1〜Nに記憶されている実行形式のデータSCの
うち最も古い実行形式のデータSDから補間の速度指令
を生成する補間速度指令生成部4と、この補間遠度指令
生成部4からの補間の速度指令を含む実行形式のデータ
SEにより関数発生を行なう関数発生制御部5と、この
関数発生制御部5からの関数SFに従って駆動部7を制
御する駆動制御部6とで構成されている。
(Prior Art) FIG. 3 is a block diagram showing an example of a numerical control (hereinafter referred to as NC) device that realizes a conventional numerical control method. input device such as a reader i h) A program import unit 2 that reads the program S block by block from the input device such as a reader, and a program import unit 2 that reads one block of data SB from the program read unit 2, taking into account, for example, origin offset data and tool offset data. The data is converted into executable data SC consisting of the target position, spindle rotation speed, etc., and stored in an empty buffer among buffers 1 to N in the memory 8^, and the read command SG for the next block is sent to the program reading section. 1. Furthermore, an interpolation speed command generation unit 4 that generates an interpolation speed command from the oldest execution format data SD among the execution format data SC stored in buffers 1 to N in the memory 8^, and this interpolation distance A function generation control section 5 that generates a function using executable data SE including an interpolation speed command from the command generation section 4, and a drive control section 6 that controls the drive section 7 according to the function SF from the function generation control section 5. It is made up of.

(発明が解決しようとする課題) 上述した従来のNC装置による数値制御方式では、例え
ば金型加ニブログラムのように1ブロツクの軸移動量が
微小にもかかわらず切削送り速度が大きい場合には、第
5図に示すように1ブロツクの読込み、実行形式データ
への変換というlブロックの前処理時間t8よりも1ブ
ロツクの補間処理時間tbが短かくなり、ブロックとブ
ロックとの間に補間停止時間tcが発生ずる。また、通
信運転において加ニブログラムを通信する速度が遅い場
合には、lブロックの前処理時間が1ブロツクの補間処
理時間より長くなり、前述と同様に補間停止時間が発生
する。この補間停止が生じると切削動作が間欠となり、
加工面にカッターマークが付いて加工精度を悪化させて
いた。この補間停止時間の発生を防止するにはオペレー
タが送り速度オーバーライドスイッチを使って切削送り
速度を下げなければならず、手間が掛るという問題があ
った。
(Problems to be Solved by the Invention) In the above-mentioned conventional numerical control method using an NC device, when the cutting feed rate is large even though the axis movement amount of one block is small, as in the case of a mold machining program, for example, As shown in FIG. 5, the interpolation processing time tb for one block is shorter than the preprocessing time t8 for l block for reading one block and converting it into executable format data, and there is no interpolation stop time between blocks. tc is generated. Furthermore, if the speed of communicating the program in communication is slow, the preprocessing time for one block becomes longer than the interpolation processing time for one block, and interpolation stop time occurs as described above. When this interpolation stop occurs, the cutting operation becomes intermittent,
Cutter marks were left on the machined surface, deteriorating machining accuracy. In order to prevent this interpolation stop time from occurring, the operator must use a feed rate override switch to lower the cutting feed rate, which is time consuming.

本発明は上述のような事情から成されたものであり、本
発明の目的は、補間遠度を自動的に調整して補間停止時
間の発生を未然に防止することができる数値制御方式を
提供することにある。
The present invention was made in view of the above-mentioned circumstances, and an object of the present invention is to provide a numerical control method that can automatically adjust the interpolation distance and prevent the occurrence of interpolation stop time. It's about doing.

(課題を解決するための手段) 本発明は、加ニブログラム上の連続する補間指令のブロ
ックを順次読込んで実行形式のデータを生成し、生成し
た実行形式のデータを記憶手段に順次記憶させると共に
、記憶させた実行形式のデータを前記記憶手段より順次
読出して補間を実行することにより駆動手段を制御する
数値制御方式に関するものであり、本発明の上記目的は
、前記記憶手段に記憶されている前記実行形式のデータ
の数が所定値以下とならないように前記補間の速度を自
動的に調整することによって達成される。
(Means for Solving the Problems) The present invention sequentially reads blocks of consecutive interpolation commands on a Canadian program to generate data in an executable format, and sequentially stores the generated data in an executable format in a storage means. The present invention relates to a numerical control method for controlling a drive means by sequentially reading stored executable data from the storage means and performing interpolation. This is achieved by automatically adjusting the interpolation speed so that the number of executable data does not fall below a predetermined value.

(作用) 本発明の数値制御方式は、補間のための実行形式のデー
タ読出しが実行形式のデータ生成よりも早いために機械
が停止する恐れがある場合、補間遠度を自動調整してm
械停止を未然に防ぎ、滑らかな加工を行なうことができ
るものである。
(Function) The numerical control method of the present invention automatically adjusts the interpolation distance when there is a risk that the machine will stop because data reading in the executable format for interpolation is faster than data generation in the executable format.
This prevents the machine from stopping and enables smooth machining.

(実施例) 第1図は本発明の数値制御方式を実現するNC装置の一
例を第3図に対応させて示すブロック図であり、同一構
成箇所は同符号を付して説明を省略する。このNC装置
は、実行データ生成部3からの実行形式のデータSCを
そのままの形式SLでメモリ8^内のバッファ1〜Nに
記憶させると共に、まだ実行されていない実行形式のデ
ータに変換したブロックの数(以下、実行データブロッ
ク数という)をカウントアツプし、その実行データブロ
ック数Slをメモリ8Bに記憶させる実行データブロッ
ク数加算部9と、メモリ8A内のバッファ1〜Nに記憶
されている実行形式のデータSLのうち最も古い実行形
式のデータSDをそのままの形式SMで補間遠度指令生
成部4に出力すると共に、メモリ8Bに記憶されている
実行データブロック数をカウントダウンし、その実行デ
ータブロック数SJを再びメモリ8Bに記憶させる実行
データブロック数減算部10と、カウントダウンした実
行データブロック数Sにを基に補間速度指令生成部4か
らの補間遠度指令を含む実行形式データSEの補間遠度
指令のみを変更して実行形式データSNを生成し、関数
発生制御部5に出力する補間遠度指令変更制御部11と
が新たに設けられている。
(Embodiment) FIG. 1 is a block diagram showing an example of an NC device that implements the numerical control method of the present invention, corresponding to FIG. 3, and the same components are given the same reference numerals and the description thereof will be omitted. This NC device stores the data SC in the executable format from the execution data generation unit 3 in the original format SL in the buffers 1 to N in the memory 8^, and also stores the data in the executable format that has not yet been executed in the blocks. (hereinafter referred to as the number of execution data blocks) and stores the execution data block number Sl in the memory 8B, and the number of execution data blocks is stored in buffers 1 to N in the memory 8A. The oldest executable format data SD among the executable format data SL is output to the interpolation far command generation unit 4 in its original format SM, and the number of execution data blocks stored in the memory 8B is counted down, and the execution data is The execution data block number subtraction unit 10 stores the block number SJ in the memory 8B again, and the execution format data SE including the interpolation farness command from the interpolation speed command generation unit 4 is interpolated based on the counted down execution data block number S. An interpolation farness command change control section 11 is newly provided that changes only the farness command, generates execution form data SN, and outputs it to the function generation control section 5.

このような構成において、その動作例を第2図のフロー
ヂャートで説明すると、プログラム読込部2で入力機器
1からパートプログラムSへを1ブロック読込んで実行
データ生成部3に出力する。
In such a configuration, an example of its operation will be explained with reference to the flowchart of FIG.

そして、実行データ生成部3で1ブロツクのデータS口
を実行形式のデータSCに変換して実行データブロック
数加算部9に出力する。さらに、実行データブロック数
加算部9で、実行形式のデータSCをそのままの形式S
Lでメモリ8A内の空バッファに記憶させると共に、実
行データブロック数に“1”を加算してメモリ8Bに記
憶させる。この場合、まだ最初のブロックであるので実
行データブロック数は“1“となる。上述の動作はメモ
リ8Aの空バッファがなくなるまで、又はプログラムが
終了するまで繰返され、実行データブロック数は実行形
式のデータが生成される毎に“1”ずつ加算されていく
Then, the execution data generation section 3 converts one block of data S into execution format data SC and outputs it to the execution data block number adding section 9. Furthermore, the execution data block number adding unit 9 converts the data SC in the execution format into the data SC in the original format S.
At the same time, "1" is added to the number of execution data blocks and stored in the memory 8B. In this case, since it is still the first block, the number of execution data blocks is "1". The above-described operation is repeated until there is no empty buffer in the memory 8A or until the program ends, and the number of execution data blocks is incremented by "1" each time data in an execution format is generated.

一方、実行データブロック数減算部lOで、メモリ8A
から最も古い実行形式のデータSDを読出し、そのまま
の形式SMで補間遠度指令生成部4に出力すると共に、
メモリ8Bに記憶されている実行データブロック数から
“1”減算する(ステップsi)。補間遠度指令生成部
4で実行形式のデータSMにより補間速度指令を求め(
ステップS2)、他の実行形式のデータと合わせて補間
遠度指令変更制御部11に出力する。補間遠度指令変更
制御部11で、メモリ8Bに記憶されている実行データ
ブロック数Sにを読出し、その値と基準値とを比較しく
ステップS3)、実行データブロック数Sにが基準値よ
りも大きい場合、つまり実行形式のデータが余分にある
ため切削速度を減速させなくても実行形式のデータ待ち
で発生する補間停止時間による機械停止の状態にならな
い場合は、プログラム指令による補間遠度指令をそのま
ま採用してステップS5に進み、また、実行データブロ
ック数Sにが基準値よりも小さい場合5つまり実行形式
のデータが少ないためこのままプログラム指令の切削速
度で加工を続けると実行形式のデータ待ちで発生する補
間停止時間による機械停止の状態になる場合は、プログ
ラム指令による補間速度指令を切削速度が減速するよう
に変更しくステップS4)、その他の実行形式のデータ
と共にデータSNとして関数発生制御部5に出力する(
ステップ55)。そして、関数発生制御部5で実行形式
のデータSNを括に関数SFを発生し、この関数SFに
従って駆動制御部6で駆動部7を制御する。上述した動
作はメモリ8八に実行形式のデータがある限り繰返され
る。
On the other hand, in the execution data block number subtraction unit lO, the memory 8A
The data SD in the oldest execution format is read out from , and is output to the interpolation farness command generation unit 4 in the same format SM.
"1" is subtracted from the number of execution data blocks stored in the memory 8B (step si). The interpolation distance command generation unit 4 obtains the interpolation speed command using the execution format data SM (
In step S2), the data is output to the interpolation farness command change control unit 11 together with data in other execution formats. The interpolation farness command change control unit 11 reads out the number of execution data blocks S stored in the memory 8B and compares the value with the reference value (step S3), when the number of execution data blocks S is greater than the reference value. If it is large, that is, if there is extra data in the execution format and the machine will not stop due to the interpolation stop time that occurs while waiting for the data in the execution format even if the cutting speed is not reduced, use the interpolation distance command using the program command. If the number of execution data blocks S is smaller than the reference value, it is 5, that is, there is less data in the execution format, so if machining is continued at the cutting speed of the program command, it will be necessary to wait for the data in the execution format. If the machine is stopped due to the interpolation stop time that occurs, the interpolation speed command based on the program command is changed to reduce the cutting speed (step S4), and the function generation control unit 5 outputs the data as data SN along with other execution format data. Output to (
Step 55). Then, the function generation control section 5 generates a function SF based on the executable data SN, and the drive control section 6 controls the drive section 7 according to this function SF. The above-described operations are repeated as long as there is executable data in memory 88.

本発明方式を第5図で説明した1ブロツクの移動量が微
小でかつ切削送り速度が大きい金型加工に通用した場合
、メモリに記憶されている実行形式のデータの数が減少
すると第4図に示すように自動的に補間遠度が減速され
、前処理時間t2と補間処理時間1 b+ とが等しく
なって第5図に示すような補間停止時間teの発生がな
くなる。
If the method of the present invention is applied to mold machining where the amount of movement per block is small and the cutting feed rate is large, as explained in Fig. 5, the number of data in the executable format stored in the memory will decrease, as shown in Fig. 4. As shown in FIG. 5, the interpolation distance is automatically reduced, and the preprocessing time t2 and the interpolation processing time 1 b+ become equal, so that the interpolation stop time te as shown in FIG. 5 does not occur.

(発明の効果) 以上のように本発明の数値制御方式によれば、補間停止
時間が発生しないように補間遠度を自動調整するのでオ
ペレータの負担を軽減することができ、切削動作が間欠
とならないので加工精度を向上させることが可能となる
(Effects of the Invention) As described above, according to the numerical control method of the present invention, the interpolation distance is automatically adjusted so that the interpolation stop time does not occur, so the burden on the operator can be reduced, and the cutting operation is not interrupted. This makes it possible to improve machining accuracy.

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

第1図は本発明の数値制御方式を実現するNC装置の一
例を示すブロック図、第2図はその動作例を説明するフ
ローチャート、第3図は従来の数値制御方式を実現する
NC装置の一例を示すブロック図、第4図は本発明方式
による補間遠度と時間との関係を示す図、第5図は従来
方式による補間速度と時間との関係を示す図である。 1・・・人力機器、2・・・プログラム読込部、3・・
・実行データ生成部、4・・・補間遠度指令生成部、5
・・・関数発生制御部、6・・・駆動制御部、7・・・
駆動部、8^、8B・・・メモリ、9・・・実行データ
ブロック数加算部、10・・・実行データブロック数波
算部、11・・・補間遠度指令変更制御部。 出願人代理人  安 形 雄 三 第2因
FIG. 1 is a block diagram showing an example of an NC device that implements the numerical control method of the present invention, FIG. 2 is a flowchart explaining an example of its operation, and FIG. 3 is an example of an NC device that implements the conventional numerical control method. FIG. 4 is a diagram showing the relationship between interpolation farness and time according to the method of the present invention, and FIG. 5 is a diagram showing the relationship between interpolation speed and time according to the conventional method. 1...Manpower equipment, 2...Program reading section, 3...
- Execution data generation unit, 4... Interpolation far command generation unit, 5
... Function generation control section, 6... Drive control section, 7...
Drive unit, 8^, 8B...Memory, 9...Execution data block number addition unit, 10...Execution data block number wave calculation unit, 11...Interpolation far distance command change control unit. Applicant's agent Yu Yasugata 3rd cause

Claims (1)

【特許請求の範囲】[Claims] 1、加工プログラム上の連続する補間指令のブロックを
順次読込んで実行形式のデータを生成し、生成した実行
形式のデータを記憶手段に順次記憶させると共に、記憶
させた実行形式のデータを前記記憶手段より順次読出し
て補間を実行することにより駆動手段を制御する数値制
御方式において、前記記憶手段に記憶されている前記実
行形式のデータの数が所定値以下とならないように前記
補間の速度を自動的に調整するようにしたことを特徴と
する数値制御方式。
1. Sequentially read blocks of continuous interpolation commands on the machining program to generate executable data, sequentially store the generated executable data in a storage means, and store the stored executable data in the storage means In a numerical control method that controls a drive means by sequentially reading data and performing interpolation, the speed of the interpolation is automatically controlled so that the number of data in the execution format stored in the storage means does not become less than a predetermined value. Numerical control method characterized by adjusting to.
JP15397688A 1988-06-22 1988-06-22 Numeric value control system Pending JPH01320505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15397688A JPH01320505A (en) 1988-06-22 1988-06-22 Numeric value control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15397688A JPH01320505A (en) 1988-06-22 1988-06-22 Numeric value control system

Publications (1)

Publication Number Publication Date
JPH01320505A true JPH01320505A (en) 1989-12-26

Family

ID=15574194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15397688A Pending JPH01320505A (en) 1988-06-22 1988-06-22 Numeric value control system

Country Status (1)

Country Link
JP (1) JPH01320505A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003507783A (en) * 1999-08-18 2003-02-25 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Apparatus and method for generating drive control target value for drive device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6321922A (en) * 1986-07-08 1988-01-29 Mitsubishi Chem Ind Ltd Production of pitch based carbon fiber

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6321922A (en) * 1986-07-08 1988-01-29 Mitsubishi Chem Ind Ltd Production of pitch based carbon fiber

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003507783A (en) * 1999-08-18 2003-02-25 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Apparatus and method for generating drive control target value for drive device

Similar Documents

Publication Publication Date Title
KR890002437B1 (en) A numerical control system
US7174226B2 (en) Numerical controller for carrying out learning control
EP0102219A2 (en) Acceleration/deceleration device for numerical controller
JPH01320505A (en) Numeric value control system
US5485069A (en) Numerical control apparatus
JPH0266604A (en) Numerical control system
JPS6232801B2 (en)
GB2248946A (en) Numerically controlled machine tool
JPH07210225A (en) Numerical controller
US5347461A (en) Tool travel path creating method
JP2000163114A (en) Intra-interpolation curve acceleration and deceleration processing method
JP2001154719A (en) Method for interpolating free curve
JPS63265306A (en) Numerical controller
JPS63104110A (en) Machining system
JPS6240722B2 (en)
JP3513840B2 (en) Feed rate control method for numerical controller
JPH02205903A (en) Numerical controller for transfer line
JPH01191902A (en) Numerical control system
JPH0643929A (en) Method for controlling feed speed of numerical control
JPH04169907A (en) Acceleration/deceleration control system
JPH03172903A (en) Feed speed control system for numerical controller
JPS6486205A (en) Numerically controlled device
JPS62174805A (en) Numerical control system
JPH04165506A (en) Numerical controller having lost motion correcting function
JPH03246605A (en) Method for controlling feeding speed in numerical controller