JPH07239707A - Numerical controller equipped with remote operation function - Google Patents

Numerical controller equipped with remote operation function

Info

Publication number
JPH07239707A
JPH07239707A JP6052819A JP5281994A JPH07239707A JP H07239707 A JPH07239707 A JP H07239707A JP 6052819 A JP6052819 A JP 6052819A JP 5281994 A JP5281994 A JP 5281994A JP H07239707 A JPH07239707 A JP H07239707A
Authority
JP
Japan
Prior art keywords
machining program
program data
operation buffer
cutting
tool
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
JP6052819A
Other languages
Japanese (ja)
Other versions
JP3230922B2 (en
Inventor
Hiroshi Suzuki
弘 鈴木
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 JP05281994A priority Critical patent/JP3230922B2/en
Publication of JPH07239707A publication Critical patent/JPH07239707A/en
Application granted granted Critical
Publication of JP3230922B2 publication Critical patent/JP3230922B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To prevent machining program data from being absent in an operation buffer, to evade the formation of a cutter mark on a work and vibration even when the operation buffer becomes empty, and to set whether or not a decrease in cutting speed and the retraction of a cutting tool are effective or ineffective in a machining program. CONSTITUTION:An operation condition setting part 21 sets an operation buffer remaining block quantity and a cutting feed override as cutting feed speed reduction conditions when the amount of remaining data of machining program data in the operation buffer decreases. A control part 14 decreases the cutting speed according to the cutting feed override when the number of left blocks of machining program data in the operation buffer becomes less than the operation buffer remaining block quantity, and puts the cutting speed back when the number of remaining blocks of the machining program in the operation buffer exceeds the operation buffer remaining block quantity.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、加工プログラム記憶装
置(以下ホストと称す)から通信手段を介して転送され
る加工プログラムデータをメモリ内の運転バッファに蓄
えつつ、運転バッファ内の加工プログラムデータをブロ
ック単位に順次取り出して運転を行なうリモート運転機
能を備えた数値制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention stores machining program data transferred from a machining program storage device (hereinafter referred to as a host) through a communication means in an operation buffer in a memory, and at the same time machining program data in the operation buffer. The present invention relates to a numerical control device having a remote operation function of sequentially taking out blocks for operation.

【0002】[0002]

【従来の技術】従来、ホストから通信手段を介して転送
される加工プログラムデータを数値制御装置のファイル
装置やメモリに蓄え、その蓄えられた加工プログラムデ
ータを用いて数値制御装置が加工を制御するDNCシス
テムが知られている。一方、CAD/CAMシステムの
普及、数値制御装置の高速加工対応に伴い、より複雑な
ワークを高速に加工するために、加工プログラムデータ
の微小ブロック化、大容量化が進んでいる。かかる大容
量の加工プログラムデータを一括して数値制御装置のフ
ァイル装置やメモリに蓄えることは、数値制御装置に大
容量なファイル装置やメモリを必要とし、また、大容量
の加工プログラムデータの転送時間がかかり、コストの
面でも稼働率の面でも問題が大きかった。
2. Description of the Related Art Conventionally, a machining program data transferred from a host through a communication means is stored in a file device or a memory of a numerical control device, and the numerical control device controls the machining using the stored machining program data. DNC systems are known. On the other hand, with the widespread use of CAD / CAM systems and high-speed machining of numerical control devices, in order to process more complicated workpieces at high speed, the processing program data has been made into smaller blocks and larger in capacity. Storing such large-capacity machining program data collectively in the file device or memory of the numerical controller requires a large-capacity file device or memory in the numerical controller, and also requires a large amount of machining program data transfer time. However, there was a big problem in terms of cost and availability.

【0003】このような問題を解決する機能として、ホ
ストから数値制御装置に転送される加工プログラムデー
タをメモリ内の運転バッファに蓄えつつ、運転バッファ
内の加工プログラムデータをブロック単位に順次取り出
して運転を行なうリモート運転機能が普及している。図
8は、従来のリモート運転機能を備えた数値制御装置の
リモート運転処理ブロック図であり、ホスト6から転送
される加工プログラムデータPDは、数値制御装置1の
通信制御部2を介して運転バッファ3に転送される。運
転バッファ3に転送された加工プログラムデータPD
は、ブロック単位でブロック解析部4に取りだされて順
次解析され、解析結果SRがブロック実行部5に渡され
て、加工が実行される。図9は、ブロック解析部4の従
来の内部処理ブロック図であり、ブロック読込制御部1
1は運転バッファ3から加工プログラムデータPDをブ
ロック単位で読み出し、実行データ生成部12に渡す。
実行データ生成部12はブロック読込制御部11から渡
されたブロックを元に、ブロックの内容を解析し解析結
果SRをブロック実行部5に渡す。
As a function for solving such a problem, the machining program data transferred from the host to the numerical control device is stored in the operation buffer in the memory, and the machining program data in the operation buffer is sequentially taken out in block units for operation. The remote operation function to perform is widely used. FIG. 8 is a block diagram of a remote operation processing of a conventional numerical control device having a remote operation function. The machining program data PD transferred from the host 6 is stored in the operation buffer via the communication control unit 2 of the numerical control device 1. 3 is transferred. Machining program data PD transferred to operation buffer 3
Are taken out to the block analysis unit 4 in block units and sequentially analyzed, and the analysis result SR is passed to the block execution unit 5 for processing. FIG. 9 is a block diagram of a conventional internal processing of the block analysis unit 4, that is, the block read control unit 1
1 reads the machining program data PD from the operation buffer 3 in block units, and passes it to the execution data generation unit 12.
The execution data generation unit 12 analyzes the contents of the block based on the block transferred from the block read control unit 11 and transfers the analysis result SR to the block execution unit 5.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
ようなリモート運転機能を備えた数値制御装置において
は、加工プログラムデータを順次取り出して運転を行な
うブロック解析部4及びブロック実行部5のブロック取
り出し処理に対して、ホスト6から運転バッファ3に転
送される加工プログラムデータのブロック転送処理が遅
い場合、運転バッファ3が空になり、加工が停止してし
まい、ワークにカッタマークが付いたり振動が発生す
る。このようなことを避けるために、切削送り速度を落
しておく方法が考えられるが、ワークにカッタマークが
付いても加工不良にならない荒加工時であっても切削送
り速度が落ちることになり、全体の加工時間が延びてし
まう。また、ホストの転送能力は、一般的にホストの処
理内容や負荷の状況により異なり、常に一定した加工プ
ログラムデータの転送が保障しにくく、ホストの転送能
力から切削送り速度を規定するのは困難な場合が多い。
本発明は、上述のような事情からなされたものであり、
本願請求項1の発明の目的は、運転バッファが空になる
ことを防止するリモート運転機能を備えた数値制御装置
を提供することにある。さらに、本願請求項3の発明の
目的は、運転バッファが空になった場合でもできる限り
ワークにカッタマークが付いたり振動が発生することを
回避できるリモート運転機能を備えた数値制御装置を提
供することにある。また、本願請求項2及び4の発明の
目的は、前記本願請求項1もしくは本願請求項3の発明
が、真に加工が停止してはならない場所にのみ有効にな
ることにより加工時間の浪費を削減できるリモート運転
機能を備えた数値制御装置を提供することにある。
However, in the numerical control device having the remote operation function as described above, the block extraction processing of the block analysis unit 4 and the block execution unit 5 for sequentially extracting the machining program data to perform the operation. On the other hand, when the block transfer process of the machining program data transferred from the host 6 to the operation buffer 3 is slow, the operation buffer 3 becomes empty, the machining stops, and the workpiece has a cutter mark or vibration. To do. In order to avoid such a situation, it is conceivable to reduce the cutting feed rate, but the cutting feed rate will decrease even during rough machining where even if the workpiece has a cutter mark, it will not cause machining defects, Overall processing time will be extended. In addition, the transfer capacity of the host generally differs depending on the processing contents and load conditions of the host, and it is difficult to guarantee a constant transfer of machining program data, and it is difficult to specify the cutting feed rate from the transfer capacity of the host. In many cases.
The present invention has been made under the circumstances as described above,
An object of the invention of claim 1 of the present application is to provide a numerical control device having a remote operation function for preventing the operation buffer from becoming empty. Further, an object of the invention of claim 3 of the present application is to provide a numerical control device having a remote operation function capable of avoiding the generation of a cutter mark or vibration on a work as much as possible even when the operation buffer becomes empty. Especially. Further, the object of the inventions of claims 2 and 4 of the present application is that the invention of claim 1 or claim 3 is effective only in a place where the machining should not truly stop, thereby wasting the machining time. It is to provide a numerical control device having a remote operation function that can be reduced.

【0005】[0005]

【課題を解決するための手段】本発明は、ホストから通
信手段を介して転送される加工プログラムデータをメモ
リ内の運転バッファに蓄えつつ、前記運転バッファ内の
加工プログラムデータをブロック単位に順次取り出して
運転を行なうリモート運転機能を備えた数値制御装置に
関するもので、本願請求項1の発明の上記目的は、前記
運転バッファ内の加工プログラムデータの残りのデータ
量が減少した場合に切削送り速度を低下させるための切
削送り速度低下条件である運転バッファ残りブロック数
及び切削送りオーバライドを設定する設定手段と、前記
運転バッファ内の加工プログラムデータの残りのブロッ
ク数が、前記運転バッファ残りブロック数以下になった
場合に、切削速度を前記切削送りオーバライドに従って
低下させ、前記加工プログラム記憶装置から加工プログ
ラムデータが転送されることにより、前記運転バッファ
内の加工プログラムデータの残りのブロック数が、前記
運転バッファ残りブロック数を越えた場合に、前記切削
速度を元に戻す切削速度制御手段とを設けることにより
達成され、本願請求項2の発明の上記目的は、前記加工
プログラムデータ内で切削送り速度低下条件有効指令又
は無効指令を指定することにより、前記切削速度制御手
段の処理を有効又は無効にする生成手段を設けることに
より達成され、本願請求項3の発明の上記目的は、前記
運転バッファ内の加工プログラムデータが空になった場
合に切削中の工具を工具装着の軸方向に退避させ、その
後に運転を再開させるための工具退避条件である退避逃
げ量及び運転再開ブロック数を設定する設定手段と、前
記運転バッファ内の加工プログラムデータの残りのブロ
ック数が0になる場合に、0になる直前のブロック終了
後に切削中の工具を前記退避逃げ量の分だけ退避させ、
前記加工プログラム記憶装置から加工プログラムデータ
が転送されることにより、前記運転バッファ内の加工プ
ログラムデータの残りのブロック数が、前記運転再開ブ
ロック数以上になった場合に、前記工具を退避した位置
から前記退避逃げ量の分だけ戻して、加工を再開させる
工具退避制御手段とを設けることにより達成され、本願
請求項4の発明の上記目的は、前記加工プログラムデー
タ内で工具退避有効指令又は無効指令を指定することに
より、前記工具退避制御手段の処理を有効又は無効にす
る生成手段を設けることにより達成される。
According to the present invention, machining program data transferred from a host via a communication means is stored in an operation buffer in a memory, and the machining program data in the operation buffer is sequentially taken out in block units. The present invention relates to a numerical control device having a remote operation function for performing an operation by operating the cutting feed rate when the remaining data amount of the machining program data in the operation buffer decreases. Setting means for setting the number of remaining blocks in the operation buffer and the cutting feed override, which are the conditions for reducing the cutting feed rate for decreasing, and the number of remaining blocks of the machining program data in the operation buffer are less than the number of remaining blocks in the operation buffer The cutting speed is reduced according to the cutting feed override, A cutting speed that restores the cutting speed when the number of remaining blocks of the machining program data in the operation buffer exceeds the number of remaining blocks in the operation buffer by transferring the machining program data from the program storage device. The object of the invention of claim 2 of the present application is achieved by providing a control means, and the processing of the cutting speed control means by designating a cutting feed speed reduction condition valid command or invalid command in the machining program data. The above object of the invention of claim 3 of the present application is achieved by providing a generating means for validating or invalidating the tool. The tool being cut is mounted on the tool mounting axis when the machining program data in the operation buffer becomes empty. Set the evacuation amount and the number of operation restart blocks, which are the tool evacuation conditions for evacuation in the direction and then restart the operation. That the setting means, if the remaining number of blocks of the machining program data in the operating buffer becomes zero, the tool during cutting after block end as just before the 0 is retracted by the amount of the retreat relief amount,
By transferring the machining program data from the machining program storage device, when the number of remaining blocks of the machining program data in the operation buffer is equal to or more than the number of operation restart blocks, the tool is moved from the retracted position. The object of the invention of claim 4 of the present application is achieved by providing a tool withdrawal control means for returning the amount of the withdrawal and escape and restarting the machining, and the above object of the invention of claim 4 in the machining program data. Is achieved by providing a generation means for validating or invalidating the processing of the tool withdrawal control means.

【0006】[0006]

【作用】本発明にあっては、運転バッファ内の加工プロ
グラムデータの残りのデータ量が、ある一定量以下にな
った時に切削速度を落すようにしているので、加工プロ
グラムデータの消費を抑えることができ、その間に加工
プログラムデータがホストから転送されるため運転バッ
ファ内の加工プログラムデータが空となるのを防止でき
る。また、切削速度を落したにもかかわらずホストから
の加工プログラムデータ転送が遅く運転バッファが空に
なった場合でも、切削工具を退避させることによりワー
クにカッタマークが付いたり振動が発生することを回避
できる。さらに、加工プログラムデータ内で運転バッフ
ァ内の加工プログラムデータが、ある一定量以下になっ
た時に切削速度を落すことの有効/無効もしくは運転バ
ッファが空になった場合の切削工具退避の有効/無効が
設定できることから、切削速度を落したり切削工具退避
が不必要な加工箇所での加工時間を削減できる。
According to the present invention, the cutting speed is reduced when the remaining data amount of the machining program data in the operation buffer becomes a certain amount or less, so that the consumption of the machining program data is suppressed. Since the machining program data is transferred from the host during that time, it is possible to prevent the machining program data in the operation buffer from becoming empty. In addition, even if the cutting program data transfer from the host is slow and the operation buffer becomes empty even if the cutting speed is reduced, the workpiece may be marked with cutter marks or vibrate by retracting the cutting tool. It can be avoided. Furthermore, in the machining program data, the machining program data in the operation buffer is effective / ineffective of reducing the cutting speed when it falls below a certain amount or the effective / ineffective of cutting tool evacuation when the operation buffer becomes empty. Can be set, so that it is possible to reduce the machining speed at a machining location where the cutting speed is not required and the evacuation of the cutting tool is unnecessary.

【0007】[0007]

【実施例】本発明のリモート運転機能を備えた数値制御
装置にリモート運転処理ブロック図は図8に示す従来例
と比べブロック解析部の内部処理ブロックが異る点と、
リモート運転条件設定部が新たに設けられた点を除いて
同一である。以下、本発明の一実施例を図面に基づいて
具体的に説明する。図1は、本発明のリモート運転機能
を備えた数値制御装置のブロック解析部40の内部処理
ブロック図であり、リモート運転条件設定部21は、図
6に示すような切削送り速度を低下させるか否かを表す
切削送り速度の有効/無効及び切削送り速度を低下させ
る時の運転バッファ内の加工プログラムデータの残りの
データ量を表す運転バッファ残りブロック数とそのブロ
ック数以下の時に設定する切削送り速度の低下比率を表
す切削送りオーバライドとの関係から構成される切削送
り速度低下条件の設定並びに運転バッファ内の加工プロ
グラムデータが空、即ち運転バッファ内の残りブロック
数が0になった場合に切削中の工具を工具装着の軸方向
に退避するか否かを表す工具退避の有効/無効、退避逃
げ量及び運転を再開する為に必要な運転再開ブロック数
から構成される工具退避条件の設定を行ない、それら切
削速度低下条件及び工具退避条件DCを残りブロック判
定部13に渡す。残りブロック判定部13は、運転バッ
ファ内の残りブロック数をカウントし、前記切削速度低
下条件、工具退避条件DC及び加工プログラムデータP
D内にて指定されている各種指令情報に従い、切削送り
速度変更条件を満たした場合には、切削速度制御部14
に切削送り速度変更のための切削送りオーバライドOR
を渡し、切削速度制御部14はその値から切削送り速度
変更のブロックデータDBCを生成して実行データ生成
部12に渡す。また、運転バッファ内の残りブロック数
が0になった場合で、工具退避が有効な場合には、工具
退避制御部15に退避逃げ量EV及び退避指令SEを渡
し、工具退避制御部15は工具退避のブロックデータD
BEを生成して実行データ生成部12に渡す。尚、通常
の加工プログラムデータPDは、従来通りブロック単位
でブロック読込制御部11経由で実行データ生成部に渡
される。
BEST MODE FOR CARRYING OUT THE INVENTION A remote operation processing block diagram of a numerical controller having a remote operation function according to the present invention is different from the conventional example shown in FIG. 8 in that internal processing blocks of a block analysis unit are different,
It is the same except that a remote operation condition setting unit is newly provided. An embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 1 is an internal processing block diagram of a block analysis unit 40 of a numerical controller having a remote operation function according to the present invention, and whether the remote operation condition setting unit 21 reduces the cutting feed rate as shown in FIG. Whether the cutting feed speed is valid / invalid, and the amount of remaining machining program data in the operation buffer when reducing the cutting feed speed is the number of remaining blocks in the operation buffer and the cutting feed set when the number of blocks is less than that number. Cutting is performed when the cutting feed speed reduction condition, which is composed of the relationship with the cutting feed override that represents the speed reduction ratio, is set and the machining program data in the operation buffer is empty, that is, when the number of remaining blocks in the operation buffer becomes 0. Whether the tool inside is retracted in the axial direction of the tool mounting, whether the tool is retracted is enabled / disabled, the escape amount is required, and the operation required to restart the operation. Make settings of the tool retracted condition consists resumption block number, and passes them cutting speed reduction conditions and tool save condition DC to the remaining block determination unit 13. The remaining block determination unit 13 counts the number of remaining blocks in the operation buffer, and determines the cutting speed reduction condition, the tool withdrawal condition DC, and the machining program data P.
According to various command information specified in D, when the cutting feed speed changing condition is satisfied, the cutting speed control unit 14
Cutting feed override OR for changing cutting feed speed
The cutting speed control unit 14 generates the block data DBC for changing the cutting feed speed from the value, and passes it to the execution data generating unit 12. Further, when the number of remaining blocks in the operation buffer becomes 0 and the tool evacuation is effective, the evacuation escape amount EV and the evacuation command SE are passed to the tool evacuation control unit 15, and the tool evacuation control unit 15 Evacuation block data D
The BE is generated and passed to the execution data generation unit 12. The normal machining program data PD is passed to the execution data generation unit via the block read control unit 11 in block units as in the conventional case.

【0008】図7は、加工プログラムデータ例であり、
N001からN006のブロックは、加工プログラムデ
ータからリモート運転条件を直接設定する例である。N
001の”BLCS”は、切削送り速度低下条件設定の
開始を意味し、N005の”BLCE”は終了を意味す
る。”BLCS”と”BLCE”で挟まれたN002か
らN004は、具体的な切削送り速度低下条件であり、
各ブロック毎に運転バッファ残りブロック数とそれに対
応した切削送りオーバライドの比率がカンマで区切られ
て設定されている。N006の”TSLS”は退避逃げ
量の設定コマンドであり、”=”の後に実際の退避逃げ
量及び運転再開ブロック数がカンマで区切られて設定さ
れている。この例では、例えばN002で運転バッファ
残りブロック数100の場合の切削送りオーバライドは
80%にすることを意味し、N006で退避逃げ量を3
mmに、運転再開ブロック数を100に設定している。
尚、本実施例では、図7のように加工プログラムデータ
からリモート運転条件が設定された場合には、図6のリ
モート運転条件設定部21で設定されるリモート運転条
件を無効にしている。N103及びNxxxの”CTO
V”は切削送り速度低下条件の有効/無効を指令するコ
マンドであり、”TLSL”は工具退避の有効/無効を
指令するコマンドである。いずれのコマンドも”=”の
後に”ON”が指令された場合には有効、”OFF”が
指令された場合には無効を意味している。この例では、
N103で切削送り速度低下条件及び工具退避を有効に
しており、Nxxxで切削送り速度低下条件及び工具退
避を無効にしている。尚、本実施例では、加工プログラ
ムデータ内にCTOVもしくはTLSLのコマンドが一
度も指定されなかった場合には、図6のリモート運転条
件設定部21で設定されるリモート運転条件の各有効/
無効の条件に従うようにしている。
FIG. 7 shows an example of machining program data.
Blocks N001 to N006 are examples in which remote operation conditions are directly set from the machining program data. N
"BLCS" of 001 means start of cutting feed rate lowering condition setting, and "BLCE" of N005 means end. N002 to N004 sandwiched between “BLCS” and “BLCE” are specific cutting feed rate reduction conditions,
The ratio of the number of remaining blocks in the operation buffer and the corresponding cutting feed override is set for each block separated by commas. "TSLS" of N006 is a command for setting the escape escape amount, and after "=", the actual escape escape amount and the number of operation restart blocks are set separated by commas. In this example, for example, N002 means that the cutting feed override is 80% when the number of blocks remaining in the operation buffer is 100, and N006 is set as the escape escape amount.
mm, and the number of operation restart blocks is set to 100.
In this embodiment, when the remote operation condition is set from the machining program data as shown in FIG. 7, the remote operation condition set by the remote operation condition setting unit 21 in FIG. 6 is invalidated. N103 and Nxxx "CTO
"V" is a command for instructing valid / invalid of the cutting feed speed lowering condition, and "TLSL" is a command for instructing valid / invalid of tool retract. In both commands, "ON" is instructed after "=" When the command is given, it means valid, and when the command is "OFF", it means invalid.
In N103, the cutting feed rate lowering condition and the tool retreat are enabled, and in Nxxx, the cutting feed rate lowering condition and the tool retreat are disabled. In this embodiment, when the CTOV or TLSL command is not specified in the machining program data, each valid / invalid remote operation condition set by the remote operation condition setting unit 21 in FIG.
I try to obey the invalid conditions.

【0009】図2から図5は残りブロック判定部13の
処理フローチャートであり、リモート運転条件設定部2
1からリモート運転条件を読み込む(S1)。読み込ん
だリモート運転条件から切削送り速度低下有効/無効フ
ラグを設定(S2)し、切削送り速度低下条件テーブル
を作成(S3)し、工具退避有効/無効フラグを設定
(S4)し、工具退避条件を設定する(S5)。尚、ス
テップS3で作成される切削送り速度低下条件テーブル
は、図6の切削送り速度低下条件の表のように、運転バ
ッファ残りブロック数及び切削送りオーバライドの対応
テーブルとして作成される。ステップS6で運転バッフ
ァから加工プログラムデータのブロックを読み込み、そ
の読み込んだブロック内に”BLCS”コマンドがある
かどうかをチェックする(S7)。読み込んだブロック
内に”BLCS”コマンドが無い場合にはステップS1
1以降の処理へジャンプする。読み込んだブロック内
に”BLCS”コマンドが有る場合には、次のブロック
に登録されている切削送り速度低下条件を切削送り速度
低下条件設定の終了コマンドである”BLCE”のブロ
ックまで読み込む(S8、S9)。”BLCE”のブロ
ックを読み込んだら、ステップS8で読み込んだ切削送
り速度低下条件を元に切削送り速度低下条件テーブルを
作成し、前記ステップS3で作成したテーブルと置き換
える(S10)。
FIG. 2 to FIG. 5 are flowcharts of the process of the remaining block determination unit 13, which is the remote operation condition setting unit 2
The remote operation conditions are read from 1 (S1). The cutting feed speed decrease valid / invalid flag is set from the read remote operation condition (S2), the cutting feed speed decrease condition table is created (S3), the tool evacuation effective / ineffective flag is set (S4), and the tool evacuation condition is set. Is set (S5). The cutting feed rate reduction condition table created in step S3 is created as a correspondence table of the remaining number of blocks in the operation buffer and the cutting feed override, as in the cutting feed rate reduction condition table of FIG. In step S6, a block of machining program data is read from the operation buffer, and it is checked whether or not there is a "BLCS" command in the read block (S7). If there is no "BLCS" command in the read block, step S1
Jump to the process after 1. If there is a "BLCS" command in the read block, the cutting feed speed lowering condition registered in the next block is read up to the block "BLCE" which is the cutting feed speed lowering condition setting end command (S8, S9). When the "BLCE" block is read, a cutting feed rate reduction condition table is created based on the cutting feed rate reduction condition read in step S8 and replaced with the table created in step S3 (S10).

【0010】ステップS11では、読み込んだブロック
内に”TSLS”コマンドがあるかどうかをチェック
し、コマンドが存在する場合には、工具退避条件を設定
し、前記ステップS5で設定した工具退避条件と置き換
える(S12)。ステップS13では、読み込んだブロ
ック内に”CTOV”コマンドがあるかどうかをチェッ
クし、コマンドが存在する場合には、切削送り速度低下
有効/無効フラグを設定し、前記ステップS2で設定し
た切削送り速度低下有効/無効フラグと置き換える(S
14)。ステップS15では、読み込んだブロック内
に”TLSL”コマンドがあるかどうかをチェックし、
コマンドが存在する場合には、工具退避有効/無効フラ
グを設定し、前記ステップS4で設定した工具退避有効
/無効フラグと置き換える(S16)。ステップS17
及びステップS18では、現在実行中のブロックが切削
中かどうか(S17)と、運転バッファに加工プログラ
ムデータの全データが読み込まれているか(S18)を
チェックする。
In step S11, it is checked whether or not there is a "TSLS" command in the read block, and if there is a command, the tool withdrawal condition is set and replaced with the tool withdrawal condition set in step S5. (S12). In step S13, it is checked whether or not there is a "CTOV" command in the read block, and if there is a command, the cutting feed speed decrease effective / ineffective flag is set, and the cutting feed speed set in step S2 is set. Replace with degraded valid / invalid flag (S
14). In step S15, it is checked whether or not there is a "TLSL" command in the read block,
If the command exists, the tool retraction valid / invalid flag is set and replaced with the tool retraction valid / invalid flag set in step S4 (S16). Step S17
Then, in step S18, it is checked whether or not the block currently being executed is under cutting (S17) and whether or not all the machining program data is read in the operation buffer (S18).

【0011】切削中でない場合もしくは切削中でかつ加
工プログラムデータの全データが読み込まれている場合
には、過去に切削送り速度の低下制御が行なわれている
場合のキャンセルを行なうために、切削速度制御部14
に切削送りオーバライド100%を渡し(S20)、工
具退避のキャンセル処理を行なうステップS30へジャ
ンプする。切削中でかつ加工プログラムデータの全デー
タが読み込まれていない場合には、切削送り速度低下処
理のチェックが必要と判断し、運転バッファ内の残りブ
ロック数をカウントする(S19)。ステップS21で
切削送り速度低下有効/無効フラグが有効になっている
かをチェックし、無効であれば、切削送り速度低下処理
のチェックを行なわず、過去に切削送り速度の低下制御
が行なわれている場合のキャンセルを行なうために、切
削速度制御部14に切削送りオーバライド100%を渡
し(S24)、ステップS25へジャンプする。ステッ
プS21で切削送り速度低下有効/無効フラグが有効で
あれば、切削送り速度低下条件テーブルから現在の残り
ブロック数に対応した切削送りオーバライドを得(S2
2)、切削速度制御部14にその切削送りオーバライド
を渡す(S23)。
When the cutting speed is not being cut or when all the data of the cutting program data is being read, the cutting speed is controlled in order to cancel if the cutting feed speed has been lowered in the past. Control unit 14
Then, 100% of the cutting feed override is passed to (S20), and the process jumps to step S30 where the tool retracting process is performed. When cutting is in progress and all the machining program data has not been read, it is determined that the cutting feed rate reduction processing needs to be checked, and the number of blocks remaining in the operation buffer is counted (S19). In step S21, it is checked whether or not the cutting feed rate reduction valid / invalid flag is valid. If it is invalid, the cutting feed rate reduction processing is not checked, and cutting feed rate reduction control has been performed in the past. In order to cancel the case, 100% of the cutting feed override is passed to the cutting speed control unit 14 (S24), and the process jumps to step S25. If the cutting feed rate reduction valid / invalid flag is valid in step S21, the cutting feed override corresponding to the current remaining number of blocks is obtained from the cutting feed rate reduction condition table (S2).
2) Pass the cutting feed override to the cutting speed control unit 14 (S23).

【0012】ステップS25では、工具退避有効/無効
フラグをチェックし、無効であれば、工具退避のキャン
セル処理を行なうステップS30へジャンプし、有効で
あればステップS26で運転バッファ内の残りブロック
数が0かどうかをチェックする。運転バッファ内の残り
ブロック数が0でなければ、工具退避処理を行なわずス
テップS29の工具退避後の運転再開チェック処理へジ
ャンプし、0であれば、工具退避制御部15に退避指令
とともに退避逃げ量を渡し(S27)、工具退避中フラ
グをONにし(S28)、ステップS6に戻って運転バ
ッファからの次ブロックの読み込み処理を行なう。ステ
ップS29では、残りブロック数と運転再開ブロック数
をチェックし、残りブロック数が運転再開ブロック数以
下であれば、運転再開処理を行なわずステップS33へ
ジャンプする。
In step S25, the tool evacuation valid / invalid flag is checked. If the flag is invalid, the process jumps to step S30 for canceling the tool evacuation, and if valid, the number of remaining blocks in the operation buffer is determined in step S26. Check if it is 0 or not. If the number of remaining blocks in the operation buffer is not 0, the tool evacuation process is not performed and the operation resumption check process after the tool evacuation in step S29 is jumped to. The amount is passed (S27), the tool retracting flag is turned ON (S28), and the process returns to step S6 to read the next block from the operation buffer. In step S29, the number of remaining blocks and the number of operation restart blocks are checked. If the number of remaining blocks is less than or equal to the number of operation restart blocks, the operation restart process is not performed and the process jumps to step S33.

【0013】残りブロック数が運転再開ブロック数より
も大きければ、ステップS30で工具退避中フラグがO
Nしているかどうかをチェックする。工具退避中フラグ
がOFFの場合はステップS33へジャンプし、工具退
避中フラグがONの場合は工具退避がキャンセルされた
ものとみなし、ステップS31で工具退避制御部15に
加工再開指令を出し、加工を再開させる。そして、ON
になっている工具退避中フラグをOFFにし(S3
2)、ステップS33へ行く。ステップS33では、工
具退避中フラグがONしているかどうかをチェックし、
ONしていなければ運転バッファから読み込んだ加工プ
ログラムデータブロックをブロック読込制御部11へ渡
す(S34)。ステップS35で、全ての加工プログラ
ムデータブロックがブロック読込制御部11へ渡ったか
どうかをチェックし、全ての加工プログラムデータブロ
ックが渡っているのであれば本処理を終了する。全ての
加工プログラムデータブロックが渡っていなければステ
ップS6に戻り、運転バッファからの次ブロックの読み
込み処理を行なう。
If the number of remaining blocks is larger than the number of blocks for restarting operation, the tool evacuation flag is set to O in step S30.
Check if it is N. If the tool withdrawal flag is OFF, the process jumps to step S33, and if the tool withdrawal flag is ON, it is considered that the tool withdrawal has been canceled, and in step S31 a machining resumption command is issued to the tool withdrawal control unit 15 to perform machining. To restart. And ON
The tool retracting flag that is set to OFF is turned off (S3
2) Go to step S33. In step S33, it is checked whether or not the tool evacuation flag is ON,
If it is not turned on, the machining program data block read from the operation buffer is passed to the block read control unit 11 (S34). In step S35, it is checked whether or not all the machining program data blocks have passed to the block read control unit 11, and if all the machining program data blocks have passed, this processing ends. If all the machining program data blocks have not been passed, the process returns to step S6 to read the next block from the operation buffer.

【0014】[0014]

【発明の効果】以上のように本発明のリモート運転機能
を備えた数値制御装置によれば、運転バッファが空にな
らないような加工制御が可能であり、運転バッファが空
になった場合の加工停止にともなうワークにカッタマー
クが付いたり振動が発生することによる加工不良を避け
ることができる。また、このような制御にもかかわらず
運転バッファが空になった場合でも、工具を退避するこ
とによりワークにカッタマークが付くことによる加工不
良を避けることができる。さらに、本加工制御が不必要
な加工部分及び全く不必要な加工に関しては無効にする
ことが出来、本加工制御を常時動作させることにともな
う加工時間の浪費を削減し稼働率を向上させることがで
きる。従って、大幅な工数低減により加工コストを圧縮
することができる。
As described above, according to the numerical controller having the remote operation function of the present invention, it is possible to perform machining control so that the operation buffer does not become empty, and machining when the operation buffer becomes empty. It is possible to avoid machining defects due to cutter marks or vibrations on the workpiece when the workpiece is stopped. Further, even if the operation buffer becomes empty despite such control, it is possible to avoid machining failure due to the cutter mark being attached to the work by retracting the tool. Further, it is possible to invalidate the machining part where the main machining control is unnecessary and the machining which is completely unnecessary, and it is possible to reduce the waste of the machining time accompanying the continuous operation of the main machining control and improve the operation rate. it can. Therefore, the processing cost can be reduced by drastically reducing the man-hours.

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

【図1】本発明のリモート運転機能を備えた数値制御装
置の主要部の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a main part of a numerical control device having a remote operation function of the present invention.

【図2】本発明装置の動作例を示す第1のフローチャー
トである。
FIG. 2 is a first flowchart showing an operation example of the device of the present invention.

【図3】本発明装置の動作例を示す第2のフローチャー
トである。
FIG. 3 is a second flowchart showing an operation example of the device of the present invention.

【図4】本発明装置の動作例を示す第3フローチャート
である。
FIG. 4 is a third flowchart showing an operation example of the device of the present invention.

【図5】本発明装置の動作例を示す第4フローチャート
である。
FIG. 5 is a fourth flowchart showing an operation example of the device of the present invention.

【図6】本発明装置に係わるリモート運転条件設定例を
示す図である。
FIG. 6 is a diagram showing an example of setting remote operating conditions according to the device of the present invention.

【図7】本発明装置に係わる加工プログラムデータ例を
示す図である。
FIG. 7 is a diagram showing an example of machining program data related to the device of the present invention.

【図8】従来技術のリモート運転機能を備えた数値制御
装置の一実施例を示すブロック図である。
FIG. 8 is a block diagram showing an embodiment of a numerical control device having a remote operation function of a conventional technique.

【図9】従来装置の主要部の一実施例を示すブロック図
である。
FIG. 9 is a block diagram showing an example of a main part of a conventional device.

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

1 数値制御装置 2 通信制御部 3 運転バッファ 4 ブロック解析部 5 ブロック実行部 6 ホスト 11 ブロック読込制御部 12 実行データ生成部 13 残りブロック判定部 14 切削速度制御部 15 工具退避制御部 21 リモート運転条件設定部 1 Numerical Control Device 2 Communication Control Section 3 Operation Buffer 4 Block Analysis Section 5 Block Execution Section 6 Host 11 Block Read Control Section 12 Execution Data Generation Section 13 Remaining Block Judgment Section 14 Cutting Speed Control Section 15 Tool Evacuation Control Section 21 Remote Operation Condition Setting section

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G05B 19/18 7531−3H G05B 19/403 X ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G05B 19/18 7531-3H G05B 19/403 X

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】加工プログラム記憶装置から通信手段を介
して転送される加工プログラムデータをメモリ内の運転
バッファに蓄えつつ、前記運転バッファ内の加工プログ
ラムデータをブロック単位に順次取り出して運転を行な
うリモート運転機能を備えた数値制御装置において、前
記運転バッファ内の加工プログラムデータの残りのデー
タ量が減少した場合に切削送り速度を低下させるための
切削送り速度低下条件である運転バッファ残りブロック
数及び切削送りオーバライドを設定する設定手段と、前
記運転バッファ内の加工プログラムデータの残りのブロ
ック数が、前記運転バッファ残りブロック数以下になっ
た場合に、切削速度を前記切削送りオーバライドに従っ
て低下させ、前記加工プログラム記憶装置から加工プロ
グラムデータが転送されることにより、前記運転バッフ
ァ内の加工プログラムデータの残りのブロック数が、前
記運転バッファ残りブロック数を越えた場合に、前記切
削速度を元に戻す切削速度制御手段とを具備したことを
特徴とするリモート運転機能を備えた数値制御装置。
1. A remote control for storing a machining program data transferred from a machining program storage device via a communication means in an operation buffer in a memory, and sequentially taking out the machining program data in the operation buffer in block units for operation. In a numerical controller having an operation function, the number of blocks remaining in the operation buffer, which is a cutting feed rate lowering condition for reducing the cutting feed rate when the remaining data amount of the machining program data in the operation buffer decreases, and the cutting. Setting means for setting a feed override, and when the number of remaining blocks of the machining program data in the operation buffer becomes equal to or less than the number of remaining blocks in the operation buffer, the cutting speed is reduced according to the cutting feed override, and the machining is performed. Machining program data is transferred from the program storage device. As a result, when the number of remaining blocks of the machining program data in the operation buffer exceeds the number of remaining blocks in the operation buffer, the cutting speed control means for returning the cutting speed to the original value is provided. Numerical control device equipped with a remote operation function.
【請求項2】前記加工プログラムデータ内で切削送り速
度低下条件有効指令又は無効指令を指定することによ
り、前記切削速度制御手段の処理を有効又は無効にする
生成手段を備えた請求項1に記載のリモート運転機能を
備えた数値制御装置。
2. The method according to claim 1, further comprising a generation unit for validating or invalidating the processing of the cutting speed control unit by designating a cutting feed speed reduction condition valid command or invalid command in the machining program data. Numerical control device with remote control function.
【請求項3】加工プログラム記憶装置から通信手段を介
して転送される加工プログラムデータをメモリ内の運転
バッファに蓄えつつ、前記運転バッファ内の加工プログ
ラムデータをブロック単位に順次取り出して運転を行な
うリモート運転機能を備えた数値制御装置において、前
記運転バッファ内の加工プログラムデータが空になった
場合に切削中の工具を工具装着の軸方向に退避させ、そ
の後に運転を再開させるための工具退避条件である退避
逃げ量及び運転再開ブロック数を設定する設定手段と、
前記運転バッファ内の加工プログラムデータの残りのブ
ロック数が0になる場合に、0になる直前のブロック終
了後に切削中の工具を前記退避逃げ量の分だけ退避さ
せ、前記加工プログラム記憶装置から加工プログラムデ
ータが転送されることにより、前記運転バッファ内の加
工プログラムデータの残りのブロック数が、前記運転再
開ブロック数以上になった場合に、前記工具を退避した
位置から前記退避逃げ量の分だけ戻して、加工を再開さ
せる工具退避制御手段とを具備したことを特徴とするリ
モート運転機能を備えた数値制御装置。
3. A remote control for storing a machining program data transferred from a machining program storage device via a communication means in an operation buffer in a memory, and sequentially taking out the machining program data in the operation buffer in units of blocks. In a numerical control device equipped with an operation function, when the machining program data in the operation buffer becomes empty, the tool being cut is retracted in the axial direction of the tool mounting, and then the tool retract condition for restarting the operation. Setting means for setting the escape escape amount and the number of blocks for restarting operation,
When the number of remaining blocks of the machining program data in the operation buffer becomes 0, the tool being cut is evacuated by the evacuation amount after the end of the block immediately before 0, and machining is performed from the machining program storage device. By transferring the program data, when the number of remaining blocks of the machining program data in the operation buffer becomes equal to or greater than the number of operation restart blocks, only the amount of the escape clearance from the position where the tool is retracted A numerical control device having a remote operation function, comprising: a tool withdrawal control means for returning and restarting machining.
【請求項4】前記加工プログラムデータ内で工具退避有
効指令又は無効指令を指定することにより、前記工具退
避制御手段の処理を有効又は無効にする生成手段を備え
た請求項3に記載のリモート運転機能を備えた数値制御
装置。
4. The remote operation according to claim 3, further comprising generation means for enabling or disabling the processing of the tool withdrawal control means by designating a tool withdrawal valid command or an invalid command within the machining program data. Numerical control device with functions.
JP05281994A 1994-02-25 1994-02-25 Numerical controller with remote operation function Expired - Fee Related JP3230922B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05281994A JP3230922B2 (en) 1994-02-25 1994-02-25 Numerical controller with remote operation function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05281994A JP3230922B2 (en) 1994-02-25 1994-02-25 Numerical controller with remote operation function

Publications (2)

Publication Number Publication Date
JPH07239707A true JPH07239707A (en) 1995-09-12
JP3230922B2 JP3230922B2 (en) 2001-11-19

Family

ID=12925460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05281994A Expired - Fee Related JP3230922B2 (en) 1994-02-25 1994-02-25 Numerical controller with remote operation function

Country Status (1)

Country Link
JP (1) JP3230922B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129994A (en) * 2006-11-24 2008-06-05 Mitsubishi Electric Corp Numerical control system
DE102015009583A1 (en) 2014-07-30 2016-02-04 Fanuc Corporation Numerical control with DNC operating unit
DE102015012055A1 (en) 2014-09-22 2016-03-24 Fanuc Corporation Numerical control with DNC operation using a variety of communication lines
JP2018063640A (en) * 2016-10-14 2018-04-19 ファナック株式会社 Program optimization system
US11768477B2 (en) 2019-09-18 2023-09-26 Fanuc Corporation Machining control device and method for machine tool

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129994A (en) * 2006-11-24 2008-06-05 Mitsubishi Electric Corp Numerical control system
DE102015009583A1 (en) 2014-07-30 2016-02-04 Fanuc Corporation Numerical control with DNC operating unit
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
DE102015009583B4 (en) * 2014-07-30 2019-05-09 Fanuc Corporation Numerical control with DNC operating unit
DE102015012055A1 (en) 2014-09-22 2016-03-24 Fanuc Corporation Numerical control with DNC operation using a variety of communication lines
US9891616B2 (en) 2014-09-22 2018-02-13 Fanuc Corporation Numerical controller with DNC operation function using a plurality of communication lines
DE102015012055B4 (en) * 2014-09-22 2019-05-29 Fanuc Corporation Numerical control with DNC operation function using a variety of communication lines
JP2018063640A (en) * 2016-10-14 2018-04-19 ファナック株式会社 Program optimization system
US10528040B2 (en) 2016-10-14 2020-01-07 Fanuc Corporation Program optimization system
DE102017123339B4 (en) 2016-10-14 2022-10-06 Fanuc Corporation PROGRAM OPTIMIZATION SYSTEM
US11768477B2 (en) 2019-09-18 2023-09-26 Fanuc Corporation Machining control device and method for machine tool

Also Published As

Publication number Publication date
JP3230922B2 (en) 2001-11-19

Similar Documents

Publication Publication Date Title
JPS5971511A (en) Computer type numerical control system with customization window
US20020002417A1 (en) Control apparatus for wire cut electric discharge machine
EP0060893B1 (en) Loading system for a numerical control unit
US20040236462A1 (en) Numerical control apparatus for machine tool
JPH07239707A (en) Numerical controller equipped with remote operation function
KR930010589B1 (en) Cutting tool stop control apparatus
JP7343340B2 (en) Processing control device and processing control method for machine tools
JPH11202926A (en) Method and device for feed speed control in numerical control
JP2002341913A (en) Method for machining work in numerically controlled machine tool and its program
JP2780729B2 (en) Numerical control unit
JPH055123B2 (en)
JPH08108342A (en) Device and method for controlling machine tool
JPH10143229A (en) Machine tool controller
JP2992163B2 (en) Numerical control method and device
JPS60228056A (en) Method of control for determining tool approach position in milling work
JP3465243B2 (en) Control device for numerically controlled machine tools
KR100206135B1 (en) Works cutting control method
JP4031571B2 (en) NC lathe control device
JP4208600B2 (en) NC machine tool
JP2931455B2 (en) Numerical control device with auxiliary cutting display function
JPS6289117A (en) Numerical control device
JPH02284847A (en) Turret turn control system and device thereof in numerically controlled lathe
JPH01246042A (en) Numerically controlling device for composite machining machine tool
CN114911195A (en) Multi-station numerical control machine tool machining method and terminal
JPS60201855A (en) Check system of machining area

Legal Events

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