JPH0253107A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPH0253107A
JPH0253107A JP20436788A JP20436788A JPH0253107A JP H0253107 A JPH0253107 A JP H0253107A JP 20436788 A JP20436788 A JP 20436788A JP 20436788 A JP20436788 A JP 20436788A JP H0253107 A JPH0253107 A JP H0253107A
Authority
JP
Japan
Prior art keywords
automatic programming
data
machining program
override
file
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
JP20436788A
Other languages
Japanese (ja)
Inventor
Akira Kaneko
晃 金子
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 JP20436788A priority Critical patent/JPH0253107A/en
Publication of JPH0253107A publication Critical patent/JPH0253107A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To omit the need to reset data and to improve the operability of a numerical controller by reflecting the change of the operating conditions due to the override operation, etc., of an operator onto the automatic programming data. CONSTITUTION:An operator operates a feed override switch 5a to controls the feed speed of a control board 5 in an operation state in case a control subject 3 has an excessive feed speed. Thus the override data is sent to a machine control part 12 via a programmable controller 6. The part 12 controls the quantity of the control information to be sent to a drive amplifier. Thus the subject 3 is properly operated. While the controller 6 sends the automatic programming data rewrite request signal to a 2nd automatic programming data control part 13 together with the override data and its relevant tool function number. The part 13 rewrites the feed speed into the value corrected based on the override value for the corresponding tool function number of an automatic programming file 7.

Description

【発明の詳細な説明】[Detailed description of the invention]

[産業上の利用分野] この発明は、数値制御装置に内蔵する自動プログラミン
グの条件となる基本データを書換えることができる数値
制御装置に関するものである。 [従来の技術] 第5図は従来の数値制御装置の構°成を示すブロック図
である。 図において、(1a)は数値制御装置、(2)はこの数
値制御装置(1a)に接続され各種データの設定及び表
示を行うCRT設定表示装置、(3)°は数値制御装置
(1a)から指令を受けて動作する工作機械等の制御対
象、(4)は制御対象(3)の駆動モータを駆動する駆
動アンプ、(5)は数値制御装置(1a)に動作条件を
与える操作ボード、(6a)は数値制御装置(1a)に
内蔵され、制御対象(3)のシーケンス制御等を行うプ
ログラマブルコントローラ、(7)は自動プログラミン
グ用の各種データを格納する自動プログラミング用ファ
イル、(8a)は自動プログラミング用ファイル(7)
を翻訳し、数値制御装置(1a)が制御対象(3)を運
転するための加工プログラムに変換するためのコンパイ
ル部、(9)は加工プログラムを蓄える加工プログラム
ファイル、(10a)はCRT設定表示装置(2)から
の入力データを加工プログラムファイル(9)に書込ん
だり、コンパイル部(8a)にコンパイルの開始等を指
示する自動プログラミングデータ制御部、(11)はプ
ログラムを解析する加工プログラム解析部、(12)は
加工プログラム解析部(11)及びプログラマブルコン
トローラ(6a)より指令を受けて駆動アンプ(4)に
指令を出すマシンコントロール部である。 次に、上記のように構成された従来の数値制御装置の動
作について説明する。 オペレータはCRT設定表示装置(2)より自動プログ
ラミングを行うために必要な工作機械等の送り速度、主
軸回転数等の各種基本データを設定する。設定した自動
プログラミング用データは、自動プログラミングデータ
制御部(10a)の指示により、自動プログラミング用
ファイル(7)に蓄えられる。次に、オペレータの指示
により、所定の自動プログラミング用データを加工プロ
グラムに変換するように指令されると、自動プログラミ
ングデータ制御部(10a>の指示により、コンパイル
部(8a)が動作し、指定の自動プログラミング用デー
タは対応する加工プログラムに変換され、加工プログラ
ムファイル(9)に蓄えられる。次に、操作ボード(5
)にある自動運転起動釦(5C)が押されると、′数値
制御装置(1a)は所定の加工プログラムを加工プログ
ラムファイル(9)から読出し、加工プログラム解析部
(11)で解析し、マシンコントロール部(12)、駆
動アンプ(4)を経て、制御対象(3)を加工プログラ
ムに従って、規則正しく動作させる。 運転中、オペレータは制御対象(3〉の送り速度が速す
ぎたり、主軸の回転数が高すぎたりすると、操作ボード
(5)に用意されている送り速度または主軸回転数を調
整するための送りオーバライドスイッチ(5a)または
主軸オーバライドスイッチ(5b)を調整する。前記送
りオーバライドスイッチ(5a)または主軸オーバライ
ドスイッチ(5b)の情報は、プログラマブルコントロ
ーラ(6a)により常時読取られており、その値はマシ
ンコントロール部(12)に送られる。マシンコントロ
ール部(12)では、駆動アンプ(4)を制御する情報
を増減することにより、駆動モータの回転速度が増減さ
れ、制御対象(3)は最適な運転状態を確保する。 なお、操作ボード(5)にある自動運転停止釦(5d)
が押されると、数値制御装置(1a)は停止する。 [発明が解決しようとする課題] 従来の数値制御装置は以上のように構成されているので
、自動プログラミングにより作成された加工プログラム
により制御対象を動作させた際に、実際の送り速度等を
送りオーバライドスイッチ(5a)または主軸オーバラ
イドスイッチ(5b)等で変更した場合でも、自動プロ
グラミング用データ及び加工プログラムには反映されな
いため、再度同じ運転を行う場合は、同じようなオペレ
ータのオーバライド操作が必要であり、また、それを防
ぐためには、CRT設定表示装置(2)で自動プログラ
ミング用データを修正してコンパイルを行い、加工プロ
グラムを生成しなければならなかった。 そこで、この発明は、オペレータが操作したオーバライ
ド操作による運転条件の変更を自動プログラミング用デ
ータに反映し、オペレータが再度CRT設定表示装置で
自動プログラミング用データを設定し直さなくてもよい
数値制御装置の提供を課題とするものである。 [ii1題を解決するための手段] この発・明にかかる数値制御装置は、CRT設定表示装
置で設定された自動プログラミング用データを第1の自
動プログラミングデータ制御部の指示により格納する自
動プログラミング用ファイルと、前記第1の自動プログ
ラミングデータ制御部の指示により自動プログラミング
用ファイルに格納された自動プログラミング用データを
コンパイルするコンパイル部と、前記コンパイル部でコ
ンパイルされた加工プログラムを格納する加工プログラ
ムファイルと、前記加工プログラムファイルからのプロ
グラムにより制御対象を制御しかつプログラマブルコン
トローラからのデータが供給されるマシンコントロール
部と、前記制御対象の送り速度及び/または主軸回転数
を調整するためのオーバライドスイッチと、前記オーバ
ライドスイッチにより調整されたデータが供給され、こ
のデータをマシンコントロール部に送る前記のプログラ
マブルコントローラと、このプログラマブルコントロー
ラに接続されこのデータに基づいて前記送り速度及び/
または主軸回転数を書換え、プログラムの終了時にこの
書換えた送り速度及び/または主軸回転数のデータによ
りコンパイル部にコンパイルを実行させる第2の自動プ
ログラミングデータ制御部とを備えたものである。 [作用] この発明における第2の自動プログラミングデータ制御
部は、プログラマブルコントローラに供給された制御対
象の送り速度及び/または主軸回転数を調整するための
オーバライドスイッチからの調整されたデータに基づい
て、前記送り速度及び/または主軸回転数を書換え1、
プ′ログラムの終了時にこの書換えた送り速度及び/ま
たは主軸回転数のデータによりコンパイル部にコンパイ
ルを実行させる。それゆえ、次に、このプログラムを使
用する時には、オーバライドスイッチによる調整は、不
要になる。 [実施例] 以下、この発明の詳細な説明する。 第1図はこの発明の一実施例による数値制御装置の構成
を示すブロック図である。また、第2図及び第3図は自
動プログラミングを行うためのデータの例で、この発明
の一実施例に用いるデータを示すデータ説明図、そして
、第4図はこの発明の一実施例の加工プログラム例を示
すプログラム説明図である。 第1図において、(1)は自動プログラミング用データ
をプログラマブルコントローラ(6)により書換えるこ
との可能な数値制御装置、(2)はCRT設定表示装置
、(3)は数値制御装置(1)の工作機械等の制御対象
、(4)は制御対象(3)の駆動モータを駆動する駆動
アンプ、(5)は数値制御装置(1)′に動作条件を与
える操作ボード、(5a)は操作ボード(5)の送りオ
ーバライドスイッチ、(5b)は操作ボード(5)の主
軸オーバライドスイッチ、(5c)は操作ボード(5)
にある自動運転開始釦、(5d)は自動運転停止釦、(
6)は数値制御装置(1)に内蔵されシーケンス制御等
を行うプログラマブルコントローラ、(7)は自動プロ
グラミング用の各種データを格納する自動プログラミン
グ用ファイル、(8)は自動プログラミング用ファイル
(7)の内容を翻訳し加工プログラム解析部(11)で
解釈できる加工プログラムに変換するためのコンパイル
部、(9)は加工プログラムを蓄える加工プログラムフ
ァイル、(10)はCRT設定表示装置(2)からの入
力データを自動プログラミング用ファイル(7)に書込
んだり、コンパイル部(8)にコンパイルの開始等を指
示する第1の自動プログラミングデータ制御部、(11
)は加工プログラムを解析する加ニブ′ログラム解析部
、(12)は加工プログラム解析部(11)及びプログ
ラマブルコントローラ(6)より指令を受けて駆動アン
プ(4)に指令を出すマシンコントロール部、(13)
はプログラマブルコントローラ(6)の指令により自動
プログラミング用ファイル(7)内のデータを書換えた
り、コンパイル部(8)にコンパイルの指令を出す第2
の自動プログラミングデータ制御部でおる。 第2図は上記自動プログラミング用ファイル(7)内に
設定されている自動プログラミング用データで、各工具
に対する回転数、送り速度等を表に表わしたものである
。また、第3図も、同様に、ワークの材質と切削条件を
表に表わしたものである。また、第4図は、自動プログ
ラミングにより作成されたプログラム番号r100Jの
加工プログラムの一部である。 次に、上記のように構成された本実施例の数値制御装置
の動作についで説明する。 CRT設定表示装置(2)で設定された自動プログラミ
ング用データは、第1の自動プログラミングデータ制御
部(10)の指示により自動プログラミング用ファイル
(7)に格納され、さらに第1の自動プログラミングデ
ータ制御部(10)の指示で、コンパイル部(8)でコ
ンパイルされて加工プログラムとして加工プログラムフ
ァイル(9)に格納される。 ここで、説明の都合上、仮に前記加工プログラムをプロ
グラム番号r100Jの加工プログラムとする。そして
、オペレータがCRT設定表示装@(2)によりプログ
ラム番号r’1OOJの加工プログラムを運転するため
の前操作を行った後、操作ボード(5)にある自動運転
起動釦(5C)を操作することにより、数値制御装置(
1)は、プログラム番号r100Jの加工プログラムを
加工プログラムファイル(9)から読出し、加工プログ
ラム解析部(11)で解析し、マシンコントロール部(
12)、駆動アンプ(4)を経て、制御対象(3)を加
工プログラムに従って、規則正しく動作させる。 ここで、例えば、第4図のシーケンス番号[N006j
を運転中、オペレータは制御対象(3)の送り速度が速
すぎたりすると、操作ボード(5)に用意されている送
り速度を調整するための送りオーバライドデータ・チ(
5a)を調整する。それによって、オーバライドデータ
はプログラマブルコントローラ(6)を経由してマシン
コントロール部(12)に送られ、マシンコントロール
部(12)は駆動アンプ(4)に送る制御情報を増減す
るごとにより、制御対象(3)は最適な運転状態を確保
する。 このような一連の動作の中で、オペレータが操作したオ
ーバライドデータは、プログラマブルコントローラ(6
)より、その時使用している工具機能番号rT10J及
び自動プログラミング用データを書換える旨を知らせる
書換え要求信号と共に、第2の自動プログラミングデー
タ制御部(13)に送られる。この第2の自動プログラ
ミングデータ制御部(13)は、自動プログラミング用
ファイル(7)の中から与えられた工具機能番号rT1
0Jに対応した切削条件である送り速度を、第2図に示
したような対応データの中から探し出し、その値を、オ
ーバライド値により修正した値に書換える。 この例では、第2図で示した工具機能間の「T10Jに
対応した送り速度100 [mm/m1rilkニオ−
パライト値を掛けた値に書換える。仮に、オーバライド
値が80%であれば100 [mm/m1nlx 3 
Q%で工具機能番号rT10Jに対応する送り速度の基
本データは80 [mm/m1nlとなる。 以上のように運転が続けられていくが、プログラムの終
了を意味する第4図のシーケンス番号rN100Jのr
MO2Jが実行されると、プログラマブルコントローラ
(6)は、第2の自動プログラミングデータ制御部(1
3)に対し、コンパイルの指示を出す。そして、第2の
自動プログラミングデータ制御部(13)は、コンパイ
ル部(8)に対してコンパイルの指示を出し、コンパイ
ル部(8)は工具機能番号rT10Jに対応した新しい
送り速度80 [mm/m1nlを含めて再度コンパイ
ルを実行し、プログラム番号r’100Jの新しい加工
プログラムを作り、加工プログラムファイル(9)に格
納する。これらの制御により、次回同じプログラム番号
r100Jの運転を行う際、オーバライドは100%の
ままでよく、オペレータのオーバライドスイッチの操作
は不要となる。 なお、上記実施例では、送りオーバライドについて説明
したが、主軸回転数オーバライド等の場合も同様である
。 また、第3図に示したように、一つの工具においても加
工するワークの材質により、第2図に示した工具の基本
データの回転数または送り速度に対して、それぞれ主軸
回転数乗数または送り速度乗数を掛けたものが、自動プ
ログラミングにより加工プログラムに落とされるので、
この乗数を書換えてもよい。 そして、第2の自動プログラミングデータ制御部(13
)は、プログラマブルコントローラ(6)がセットする
書換え要求信号を見て、動作を行うようにしたが、プロ
グラマブルコントローラ(6)で必要な時に直接呼出さ
れるサブルーチンのような構成としても、上記実施例と
同様の効果を秦する。もちろん、書換え要求信号は常時
オンでもよく、サブルーチン方式の場合は、常時呼出し
てもよい。 [発明の効果] 以上のように、この発明の数値制御vL@によれば、第
2の自動プログラミングデータ制御部は、プログラマブ
ルコントローラに供給された制御対象の送り速度及び/
または主軸回転数を調整するオーバライドスイッチから
の調整されたデータに基づいて、前記送り速度及び/ま
たは主軸回転数を書換え、プログラムの終了時にこの書
換えた送り速度及び/または主軸回転数のデータにより
コンパイル部にコンパイルを実行させるものである。 したがって、自動プログラミングを行うためのデータを
、CRT設定表示装置からだけでなく、プログラマブル
コントローラからも書換えが可能なように構成したので
、オンラインでデータの設定、修正ができ、操作性が改
善され゛る。
[Industrial Field of Application] The present invention relates to a numerical control device in which basic data that is a condition for automatic programming built into the numerical control device can be rewritten. [Prior Art] FIG. 5 is a block diagram showing the configuration of a conventional numerical control device. In the figure, (1a) is a numerical control device, (2) is a CRT setting display device that is connected to this numerical control device (1a) and sets and displays various data, and (3) ° is from the numerical control device (1a). A controlled object such as a machine tool that operates in response to commands, (4) a drive amplifier that drives the drive motor of the controlled object (3), (5) an operation board that provides operating conditions to the numerical control device (1a), ( 6a) is a programmable controller that is built into the numerical control device (1a) and performs sequence control of the controlled object (3), (7) is an automatic programming file that stores various data for automatic programming, and (8a) is an automatic controller. Programming file (7)
A compiling unit for translating and converting it into a machining program for the numerical control device (1a) to operate the controlled object (3), (9) is a machining program file that stores the machining program, and (10a) is a CRT setting display An automatic programming data control unit writes input data from the device (2) to a machining program file (9) and instructs a compiling unit (8a) to start compilation, etc., and (11) is a machining program analysis unit that analyzes the program. Section (12) is a machine control section that receives commands from the machining program analysis section (11) and the programmable controller (6a) and issues commands to the drive amplifier (4). Next, the operation of the conventional numerical control device configured as described above will be explained. The operator sets various basic data such as feed rate of the machine tool, spindle rotation speed, etc. necessary for automatic programming using the CRT setting display device (2). The set automatic programming data is stored in the automatic programming file (7) according to instructions from the automatic programming data control section (10a). Next, when the operator instructs to convert the predetermined automatic programming data into a machining program, the compiling unit (8a) operates according to the instruction from the automatic programming data control unit (10a>) and converts the specified automatic programming data into a machining program. The automatic programming data is converted into a corresponding machining program and stored in the machining program file (9).Next, the operation board (5)
) is pressed, the numerical controller (1a) reads a predetermined machining program from the machining program file (9), analyzes it in the machining program analysis section (11), and executes the machine control. The controlled object (3) is operated regularly according to the machining program via the control section (12) and the drive amplifier (4). During operation, if the feed rate of the controlled object (3) is too fast or the spindle rotation speed is too high, the operator can adjust the feed speed or spindle rotation speed prepared on the operation board (5). Adjust the override switch (5a) or spindle override switch (5b).The information of the feed override switch (5a) or spindle override switch (5b) is constantly read by the programmable controller (6a), and the value is The information is sent to the control unit (12).The machine control unit (12) increases or decreases the rotational speed of the drive motor by increasing or decreasing the information that controls the drive amplifier (4). In addition, the automatic operation stop button (5d) on the operation board (5)
When is pressed, the numerical control device (1a) stops. [Problems to be Solved by the Invention] Conventional numerical control devices are configured as described above, so when a controlled object is operated by a machining program created by automatic programming, it is difficult to control the actual feed rate, etc. Even if changes are made using the override switch (5a) or spindle override switch (5b), they will not be reflected in the automatic programming data or machining program, so if you want to perform the same operation again, you will need to perform a similar override operation by the operator. Moreover, in order to prevent this, it was necessary to modify and compile the automatic programming data on the CRT setting display device (2) to generate a machining program. Therefore, the present invention provides a numerical control device in which changes in operating conditions caused by an override operation operated by an operator are reflected in automatic programming data, and the operator does not have to reset the automatic programming data on a CRT setting display device. The challenge is to provide this information. [Means for Solving Problem ii1] The numerical control device according to the present invention is an automatic programming device that stores automatic programming data set on a CRT setting display device according to instructions from a first automatic programming data control unit. a compiling unit that compiles the automatic programming data stored in the automatic programming file according to instructions from the first automatic programming data control unit; and a machining program file that stores the machining program compiled by the compiling unit. , a machine control unit that controls a controlled object according to a program from the machining program file and is supplied with data from a programmable controller; an override switch for adjusting the feed rate and/or spindle rotation speed of the controlled object; The programmable controller is connected to the programmable controller to which adjusted data is supplied by the override switch and sends this data to the machine control section, and the feed rate and/or
Alternatively, the second automatic programming data control section rewrites the spindle rotation speed and causes the compiling section to execute compilation using the rewritten feed rate and/or spindle rotation speed data at the end of the program. [Operation] The second automatic programming data control unit in the present invention performs the following operations based on the adjusted data from the override switch for adjusting the feed rate and/or spindle rotation speed of the controlled object supplied to the programmable controller. Rewriting the feed speed and/or spindle rotation speed 1,
At the end of the program, the compiler is caused to compile using the rewritten feed rate and/or spindle rotation speed data. Therefore, the next time this program is used, adjustment by the override switch is no longer necessary. [Example] The present invention will be described in detail below. FIG. 1 is a block diagram showing the configuration of a numerical control device according to an embodiment of the present invention. Furthermore, FIGS. 2 and 3 are examples of data for automatic programming, and are data explanatory diagrams showing data used in an embodiment of this invention, and FIG. 4 is a processing diagram of an embodiment of this invention. It is a program explanatory diagram showing an example of a program. In Figure 1, (1) is a numerical control device that can rewrite automatic programming data with a programmable controller (6), (2) is a CRT setting display device, and (3) is a numerical control device (1) that can rewrite automatic programming data. A controlled object such as a machine tool, (4) is a drive amplifier that drives the drive motor of the controlled object (3), (5) is an operation board that provides operating conditions to the numerical control device (1)', (5a) is an operation board (5) is the feed override switch, (5b) is the spindle override switch on the operation board (5), (5c) is the operation board (5)
(5d) is the automatic operation start button, (5d) is the automatic operation stop button, (
6) is a programmable controller that is built into the numerical control device (1) and performs sequence control, etc., (7) is an automatic programming file that stores various data for automatic programming, and (8) is an automatic programming file (7). A compiling unit translates the content and converts it into a machining program that can be interpreted by the machining program analysis unit (11), (9) is a machining program file that stores the machining program, and (10) is the input from the CRT setting display device (2). a first automatic programming data control section (11) that writes data to an automatic programming file (7) and instructs a compiling section (8) to start compilation, etc.;
) is a machine nib program analysis section that analyzes the machining program; (12) is a machine control section that receives commands from the machining program analysis section (11) and the programmable controller (6) and sends commands to the drive amplifier (4); 13)
The second controller rewrites data in the automatic programming file (7) according to commands from the programmable controller (6) and issues compilation commands to the compile unit (8).
Automatic programming data control section. FIG. 2 shows the automatic programming data set in the automatic programming file (7), which shows the rotational speed, feed rate, etc. for each tool in a table. Similarly, FIG. 3 also shows the material of the workpiece and the cutting conditions in a table. Moreover, FIG. 4 is a part of the machining program with program number r100J created by automatic programming. Next, the operation of the numerical control device of this embodiment configured as described above will be explained. The automatic programming data set by the CRT setting display device (2) is stored in the automatic programming file (7) according to instructions from the first automatic programming data control section (10), and is further stored in the automatic programming file (7) by the first automatic programming data control section (10). In response to instructions from the unit (10), the compiling unit (8) compiles the data and stores it as a machining program in a machining program file (9). Here, for convenience of explanation, the machining program is assumed to be a machining program with program number r100J. After the operator performs a preliminary operation to run the machining program with program number r'1OOJ on the CRT setting display @ (2), the operator operates the automatic operation start button (5C) on the operation board (5). By this, numerical control device (
1) reads the machining program with program number r100J from the machining program file (9), analyzes it in the machining program analysis section (11), and then reads it in the machine control section (
12) Through the drive amplifier (4), the controlled object (3) is operated regularly according to the machining program. Here, for example, the sequence number [N006j
During operation, if the feed rate of the controlled object (3) is too fast, the operator can use the feed override data channel (5), which is provided on the operation board (5), to adjust the feed rate.
Adjust 5a). Thereby, the override data is sent to the machine control unit (12) via the programmable controller (6), and the machine control unit (12) increases or decreases the control information sent to the drive amplifier (4) to control the controlled object ( 3) ensures optimal operating conditions. During this series of operations, the override data operated by the operator is transferred to the programmable controller (6
) is sent to the second automatic programming data control unit (13) together with the tool function number rT10J currently in use and a rewrite request signal informing that the automatic programming data is to be rewritten. This second automatic programming data control unit (13) receives the tool function number rT1 given from the automatic programming file (7).
The feed rate, which is the cutting condition corresponding to 0J, is found from the corresponding data as shown in FIG. 2, and its value is rewritten to a value corrected by the override value. In this example, the feed rate corresponding to T10J is 100 [mm/ml] between the tool functions shown in Figure 2.
Rewrite it to the value multiplied by the palite value. If the override value is 80%, then 100 [mm/m1nlx 3
The basic data of the feed rate corresponding to the tool function number rT10J at Q% is 80 [mm/m1nl. The operation continues as described above, but r of sequence number rN100J in Figure 4 means the end of the program.
When MO2J is executed, the programmable controller (6) controls the second automatic programming data control unit (1
Issue compile instructions for 3). Then, the second automatic programming data control section (13) issues a compilation instruction to the compiling section (8), and the compiling section (8) sets a new feed rate of 80 [mm/m1nl] corresponding to the tool function number rT10J. , and compile it again to create a new machining program with program number r'100J and store it in the machining program file (9). With these controls, the next time the same program number r100J is operated, the override can remain at 100%, and the operator does not need to operate the override switch. In the above embodiment, the feed override was explained, but the same applies to the spindle rotation speed override and the like. In addition, as shown in Figure 3, depending on the material of the workpiece to be machined with a single tool, the spindle rotation speed multiplier or feed rate may vary depending on the material of the workpiece to be machined. The value multiplied by the speed multiplier is dropped into the machining program by automatic programming, so
This multiplier may be rewritten. and a second automatic programming data control section (13
), the programmable controller (6) performs the operation by looking at the rewrite request signal set, but the above embodiment may also be configured as a subroutine that is directly called when necessary by the programmable controller (6). Similar effect to Qin. Of course, the rewrite request signal may be always on, or in the case of a subroutine system, it may be called at all times. [Effects of the Invention] As described above, according to the numerical control vL@ of the present invention, the second automatic programming data control section controls the feed rate and/or the feed rate of the controlled object supplied to the programmable controller.
Or rewrite the feed rate and/or spindle rotation speed based on the adjusted data from the override switch that adjusts the spindle rotation speed, and compile with the rewritten data of the feed speed and/or spindle rotation speed at the end of the program. This is what causes the section to compile. Therefore, the data for automatic programming is configured so that it can be rewritten not only from the CRT setting display device but also from the programmable controller, so data can be set and modified online, improving operability. Ru.

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

第1図はこの発明の一実施例による数値制御装置の構成
を示すブロック図、第2図及び第3図は自動プログラミ
ングを行うためのデータの例で、この発明の一実施例で
用いるデータを示すデータ説明図、第4図はこの発明の
一実施例の加工プログラム例を示すプログラム説明図、
第5図は従来の数値制御装置の構成を示すブロック図で
ある。 図において、 1:数値制all装置、 2:CRT設定表示装置、 3:制御対象、 5a:送りオーバライドスイッチ、 5b:主軸オーバライドスイッチ、 6:プログラマブルコントローラ、 7:自動プログラミング用ファイル、 8:コンパイル部、 9:加工プログラムファイル、 10:第1の自動プログラミングデータ制御部、11:
加工プログラム解析部、 12:マシンコントロール部、 13:第2の自動プログラミングデータ制御部、である
。 なお、図中、同−符号及び同一記号は同一または相当部
分を示すものである。 代理人 弁理士 大官 地相 外2名 手 続 補 正 書(自発) 5゜ 補正の対象 明細書全文 図面 1、事件の表示 特願昭 63−204367号 6゜ 補正の内容 2、発明の名称 明細書全文を別紙のとおり補正する。 数値制御装置 図面第1図を別紙のとおり補正する。 3、補正をする者 代表者 志 岐 守 哉 明細書 1、発明の名称 数値制御装置 2、特許請求の範囲 CRT El定表示装置より設定された自動プログラミ
ング用データを自動プログラミング用ファイルに格納す
る第1の自動プログラミングデータ制御部と、プログラ
マブルコントローラの指示によりプログラマブルコント
ローラが設定したデータに所定の処理を行って、前記自
動プログラミング用ファイルに格納する第2の自動プロ
グラミングデータ制御部とを臭備し、自動プログラミン
グ用ファイルへの書込みをCRT設定表示装置からだけ
でなく、プログラマブルコントローラからもできるよう
にしたことを特徴とする数値制御装置。 3、発明の詳細な説明 [産業上の利用分野] この発明は、数値制御ll装置に内蔵する自動プログラ
ミングの条件となる基本データを書換えることができる
数値制御lll装置に関するものである。 [従来の技術] 第5図は従来の数値制御装置の構成を示すブロック図で
おる。 図におい・て、(1a)は数値制御装置、(2)はこの
数値制御装置(1a)に接続され各種データの設定及び
表示を行うCRT設定表示装置、(3)は数値制御装@
(la)から指令を受けて動作する工作機械等の制御対
象、(4)は制御対象(3)の駆動モータを駆動する駆
動アンプ、(5)は数値制御装置(1a)に動作条件を
与える操作ボード、(6a〉は数値制御装置(1a)に
内蔵され、制御対象(3)のシーケンス制御等を行うプ
ログラマブルコントローラ、(7)は自動プログラミン
グ用の各種データを格納する自動プログラミング用ファ
イル、(8a)は自動プログラミング用ファイル(7)
を翻訳し、数値制御装置(1a)が制御対象(3)を運
転するための加工プログラムに変換するためのコンパイ
ル部、(9)は加工プログラムを蓄える加工プログラム
ファイル、(10a>はCRT設定表示装置(2)から
の入力データを自動プログラミング用ファイル(7)に
書込んだり、コンパイル部(8a)にコンパイルの開始
等を指示する自動プログラミングデータ制御部、(11
)はプログラムを解析する加工プログラム解析部、(1
2)は加工プログラム解析部(11)及びプログラマブ
ルコントローラ(6a)より指令を受けて駆動アンプ(
4)に指令を出すマシンコントロール部である。 次に、上記のように構成された従来の数値制御装置の動
作について説明する。 オペレータはCRT設定表示装置(2)より自動プログ
ラミングを行うために必要な工作機械等の送り速度、主
軸回転数等の各種基本データを設定する。設定した自動
プログラミング用データは、自動プログラミングデータ
制御部(’l0a)の指示により、自動プログラミング
用ファイル(7)に蓄えられる。次に、オペレータの指
示により、所定の自動プログラミング用データを加工プ
ログラムに変換するように指令されると、自動プログラ
ミングデータ制御部(10a)の指示により、コンパイ
ル部(8a)が動作し、指定の自動プログラミング用デ
ータは対応する加工プログラムに変換され、加工プログ
ラムファイル(9)に蓄えられる。次に、操作ボード(
5)にある自動運転起動釦(5C)が押されると、数値
制御装置(1a)は所定の加工プログラムを加工プログ
ラムファイル(9)から読出し、加工プログラム解析部
(11)で解析し、マシンコントロール部(12)、駆
動アンプ(4)を経て、制御対象(3)を加工プログラ
ムに従って、規則正しく動作させる。 運転中、オペレータは制御対象(3)の送り速度が速す
ぎたり、主軸の回転数が高すぎたりすると、操作ボード
(5)に用意されている送り速度または主軸回転数を調
整するための送りオーバライドスイッチ(5a)または
主軸オーバライドスイッチ(5b)を調整する。前記送
りオーバライドスイッチ(5a)または主軸オーバライ
ドスイッチ(5b)の情報は、プログラマブルコントロ
ーラ(6a)により常時読取られており、その値はマシ
ンコントロール部(12)に送られる。マシンコントロ
ール部(12)では、それらの情報により駆動アンプ(
4)を制御する情報を増減することにより、駆動モータ
の回転速度が増減され、制御対象(3)は最適な運転状
態を確保する。 なお、操作ボード(5)にある自動運転停止釦(5d)
が押されると、数値制御装@(1a)は停止する。 [発明が解決しようとする課題] 従来の数値制御装置は以上のように構成されているので
、自動プログラミングにより作成された加工プログラム
により制御対象を動作させた際に、実際の送り速度等を
送りオーバライドスイッチ(5a)または主軸オーバラ
イドスイッチ(5b)等で変更した場合でも、自動プロ
グラミング用データ及び加工プログラムには反映されな
いため、再度同じ運転を行う場合は、同じようなオペレ
ータのオーバライド操作が必要であり、また、それを防
ぐためには、CRT設定表示装置(2)で自動プログラ
ミング用データを修正してコンパイルを行い、加工プロ
グラムを生成しなければならなかった。 そこで、この発明は、オペレータが操作したオーバライ
ド・操作等による運転条件の変更を自動プログラミング
用データに反映し、オペレータが再度CRT設定表示装
置で自動プログラミング用データを設定し直さなくても
よい数値制御装置の提供を課題とするものである。 [課題を解決するための手段] この発明にかかる数値制御装置は、CRT設定表示装置
より設定された自動プログラミング用データを自動プロ
グラミング用ファイルに格納する第1の自動プログラミ
ングデータ制御部と、プログラマブルコントローラの指
示によりプログラマブルコントローラが設定したデータ
に所定の処理を行って、前記自動プログラミング用ファ
イルに格納する第2の自動プログラミングデータ制御部
とを備えたものである。 [作用] この発明における第2の自動プログラミングデータ制御
部は、プログラマブルコントローラに供給された制御対
象の送り速度及び/または主軸回転数を調整するための
オーバライドスイッチからの調整されたデータに基づい
て、自動プログラミング用ファイルの前記送り速度及び
/または主軸回転数を書換える。それゆえ、CRT設定
表示装置から調整された前記送り速度及び/または主軸
回転数の設定が不要になる。 [実施例] 以下、この発明の詳細な説明する。 第1図はこの発明の一実施例による数値制御装置の構成
を示すブロック図である。また、第2図及び第3図は自
動プログラミングを行うためのデ゛−タの例で、この発
明の一実施例に用いるデータを示すデータ説明図、そし
て、第4図はこの発明の一実施例の加工プログラム例を
示すプログラム説明図である。 第1図において、(1)は自動プログラミング用データ
をプログラマブルコントローラ(6)により書換えるこ
との可能な数値制御装置、(2)はCRT設定表示装置
、(3)は数値制御装置(1)の工作機械等の制御対象
、(4)は制御対象(3)の駆動モータを駆動する駆動
アンプ、(5)は数値制御装置(1)に動作条件を与え
る操作ボード、(5a)は操作ボード(5)の送りオー
バライドスイッチ、(5b)は操作ボード(5)の主軸
オーバライドスイッチ、(5C)は操作ボード(5)に
ある自動運転開始釦、(5d)は自動運転停止釦、(6
)は数値制御装置(1)に内蔵されシーケンス制御等を
行うプログラマブルコントローラ、(7)は自動プログ
ラミング用の各種データを格納する自動プログラミング
用ファイル、(8)は自動プログラミング用ファイル(
7)の内容を翻訳し加工プログラム解析部(11)で解
釈できる加工プログラムに変換するためのコンパイル部
、(9)は加工プログラムを蓄える加工プログラムファ
イル、(10)はCRT設定表示装置(2)からの入力
データを自動プログラミング用ファイル(7)に書込ん
だり、コンパイル部(8)にコンパイルの開始等を指示
する第1の自動プログラミングデータ制御部、(11)
は加工プログラムを解析する加工プログラム解析部、(
12)は加工プログラム解析部(11)及びプログラマ
ブルコントローラ(6)より指令を受けて駆動アンプ(
4)に指令を出すマシンコントロール部、(13)はプ
ログラマブルコントローラ(6)の指令により自動プロ
グラミング用ファイル(7)内のデータを書換える第2
の自動プログラミングデータ制御部でおる。 第2図は上記自動プログラミング用ファイル(7)内に
設定されている自動プログラミング用データで、各工具
に対する回転数、送り速度等を表に表わしたものである
。また、第3図も、同様に、ワークの材質と切削条件を
表に表わしたちのである。また、第4図は、自動プログ
ラミングにより作成されたプログラム番号r100Jの
加工プログラムの一部である。 次に、上記のように構成された本実施例の数値側a装置
の動作について説明する。 CRT設定表示装置(2)で設定された自動プログラミ
ンブ用データは、第1の自動プログラミングデータ制御
部(10)の指示により自動プログラミング用ファイル
(7)に格納され、ざらに第1の自動プログラミングデ
ータ制御部(10)の指示で、コンパイル部(8)でコ
ンパイルされて加工プログラムとして加工プログラムフ
ァイル(9)に格納される。 ここで、説明の都合上、仮に前記加工プログラムをプロ
グラム番号r100Jの加工プログラムとする。そして
、オペレータがCRT設定表示装置(2)によりプログ
ラム番号r100Jの加工プログラムを運転するための
前操作を行った後、操作ボード(5)におる自動運転起
動釦(5C)を操作することにより、数値制御装置(1
)は、プログラム番号r100Jの加工プログラムを加
工プログラムファイル(9)から読出し、加工プログラ
ム解析部(11)で解析し、マシンコントロール部(1
2)、駆動アンプ(4)を経て、制御対象(3)を加工
プログラムに従って、規則正しく動作させる。 ここで、例えば、第4図のシーケンス番号「N006J
を運転中、オペレータは制御対象(3)の送り速度が速
すぎたりすると、操作ボード(5)に用意されている送
り速度を調整するための送りオーバライドスイッチ(5
a)を調整する。それによって、オーバライドデータは
プログラマブルコントローラ(6)を経由してマシンコ
ントロール部(12)に送られ、マシンコントロール部
(12)は駆動アンプ(4)に送る制御情報を増減する
ことにより、制御対象(3)は最適な運転状態を確保す
る。 このような一連の動作の中で、オペレータが操作したオ
ーバライドデータは、プログラマブルコントローラ(6
)より、その時使用している工具機能番号rT10J及
び自動プログラミング用データを書換える旨を知らせる
書換え要求信号と共に、第2の自動プログラミングデー
タ制御部(13)に送られる。この第2の自動プログラ
ミングデータ制御部(13)は、自動プログラミング用
ファイル(7)の中から与えられた工具機能番号rT1
04[対応した切削条件である送り速度を、第2図に示
したような対応データの中から探し出し、その値を、オ
ーバライド値により修正した値に書換える。 この例では、第2図で示した工具機能欄の「T10Jに
対応した送り速度100 lll1llI/m1nlに
オーバライド値を掛けた値に書換える。仮に、オーバラ
イド値が80%であれば100 [mm/m1nlx 
80%で工具機能番号rT10Jに対応する送り速度の
基本データは80[闘/m i nlとなる。 以上のような制御を続けることによりオペレータがCR
T設定表示装置から、設定変更操作を行うことなしに、
各種基本データの書換えが可能となる。 なお、上記実
施例では、送りオーバライドについて説明したが、主軸
回転数オーバライド等の場合も同様であり、前記100
 [mm/m1nlx 80%のような計算は行わず直
接書込む方法でおってもよい。 また、第3図に示したように、一つの工具においても加
工するワークの材質により、第2図に示した工具の基本
データの回転数または送り速度に対して、それぞれ主軸
回転数乗数または送り速度乗数を掛けたものが、自動プ
ログラミングにより加工プログラムに落とされるので、
この乗数を書換えてもよい。 そして、第2の自動プログラミングデータ制御部(13
)は、プログラマブルコン1ヘローラ(6)がセットす
る書換え要求信号を見て、動作を行うようにしたが、プ
ログラマブルコントローラ(6)で必要な時に直接呼出
されるサブルーチンのような構成としても、上記実施例
と同様の効果を奏する。もちろん、書換え要求信号は常
時オンでもよく、サブルーチン方式の場合は、常時呼出
してもよい。また、第2の自動プログラミングデータ制
御部の働きを第1のプログラミングデータ制御部にもた
せ、CRT設定表示装置または、プログラマブルコント
ローラからの指示により切換えて使用してもよい。 [発明の効果コ 以上のように、この発明の数値制御装置によれば、第2
の自動プログラミングデータ制御部は、プログラマブル
コントローラに供給された制御対象の送り速度及び/ま
たは主軸回転数を調整するオーバライドスイッチからの
調整されたデータに基づいて、前記送り速度及び/また
は主軸回転数を書換えるものである。 したがって、自動プログラミングを行うためのデータを
、CRT設定表示装置からだけでなく、プログラマブル
コントローラからも書換えが可能なように構成したので
、オンラインでデータの設定、修正ができ、操作性が改
善される。
FIG. 1 is a block diagram showing the configuration of a numerical control device according to an embodiment of the present invention, and FIGS. 2 and 3 are examples of data for automatic programming. FIG. 4 is a program explanatory diagram showing an example of a machining program according to an embodiment of the present invention.
FIG. 5 is a block diagram showing the configuration of a conventional numerical control device. In the figure, 1: Numerical system all device, 2: CRT setting display device, 3: Controlled object, 5a: Feed override switch, 5b: Spindle override switch, 6: Programmable controller, 7: Automatic programming file, 8: Compilation section , 9: Machining program file, 10: First automatic programming data control section, 11:
12: machine control section; 13: second automatic programming data control section. In the drawings, the same reference numerals and the same symbols indicate the same or equivalent parts. 5゜Full text of the specification subject to the amendment Drawing 1, Indication of the case Patent Application No. 63-204367 6゜Contents of the amendment 2, Description of the title of the invention The entire text is revised as shown in the attached sheet. Figure 1 of the numerical control device drawing is amended as shown in the attached sheet. 3. Person making the correction Representative Moriya Shiki Specification 1 Name of the invention Numerical control device 2 Claims CRT El constant display device 1st for storing automatic programming data set from the constant display device in an automatic programming file and a second automatic programming data control unit that performs predetermined processing on data set by the programmable controller according to instructions from the programmable controller and stores the data in the automatic programming file. A numerical control device characterized in that programming files can be written not only from a CRT setting display device but also from a programmable controller. 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a numerically controlled device capable of rewriting basic data that is a condition for automatic programming built into the numerically controlled device. [Prior Art] FIG. 5 is a block diagram showing the configuration of a conventional numerical control device. In the figure, (1a) is a numerical control device, (2) is a CRT setting display device that is connected to this numerical control device (1a) and sets and displays various data, and (3) is a numerical control device @
A controlled object such as a machine tool that operates upon receiving instructions from (la), (4) is a drive amplifier that drives the drive motor of controlled object (3), and (5) provides operating conditions to the numerical control device (1a). The operation board (6a) is a programmable controller that is built into the numerical control device (1a) and performs sequence control of the controlled object (3), and (7) is an automatic programming file that stores various data for automatic programming. 8a) is the automatic programming file (7)
A compile unit for translating and converting it into a machining program for the numerical control device (1a) to operate the controlled object (3), (9) is a machining program file that stores the machining program, (10a> is a CRT setting display an automatic programming data control section (11) that writes input data from the device (2) to an automatic programming file (7) and instructs the compiling section (8a) to start compilation, etc.;
) is the machining program analysis section that analyzes the program, (1
2) receives commands from the machining program analysis section (11) and the programmable controller (6a),
4) This is the machine control section that issues commands to the machine. Next, the operation of the conventional numerical control device configured as described above will be explained. The operator sets various basic data such as feed rate of the machine tool, spindle rotation speed, etc. necessary for automatic programming using the CRT setting display device (2). The set automatic programming data is stored in the automatic programming file (7) according to instructions from the automatic programming data control section ('10a). Next, when the operator instructs to convert the predetermined automatic programming data into a machining program, the compiling unit (8a) operates according to the instructions from the automatic programming data control unit (10a), and the specified data is converted into a machining program. The automatic programming data is converted into a corresponding machining program and stored in a machining program file (9). Next, select the operation board (
When the automatic operation start button (5C) in 5) is pressed, the numerical control device (1a) reads a predetermined machining program from the machining program file (9), analyzes it in the machining program analysis section (11), and starts the machine control. The controlled object (3) is operated regularly according to the machining program via the control section (12) and the drive amplifier (4). During operation, if the feed rate of the controlled object (3) is too fast or the spindle rotation speed is too high, the operator can use the feed button provided on the operation board (5) to adjust the feed speed or spindle rotation speed. Adjust the override switch (5a) or the spindle override switch (5b). The information of the feed override switch (5a) or the spindle override switch (5b) is constantly read by the programmable controller (6a), and the value is sent to the machine control section (12). The machine control section (12) uses this information to control the drive amplifier (
By increasing/decreasing the information controlling 4), the rotational speed of the drive motor is increased/decreased, and the controlled object (3) maintains an optimal operating state. In addition, the automatic operation stop button (5d) on the operation board (5)
When is pressed, the numerical controller @(1a) stops. [Problems to be Solved by the Invention] Conventional numerical control devices are configured as described above, so when a controlled object is operated by a machining program created by automatic programming, it is difficult to control the actual feed rate, etc. Even if changes are made using the override switch (5a) or spindle override switch (5b), they will not be reflected in the automatic programming data or machining program, so if you want to perform the same operation again, you will need to perform a similar override operation by the operator. Moreover, in order to prevent this, it was necessary to modify and compile the automatic programming data on the CRT setting display device (2) to generate a machining program. Therefore, the present invention provides numerical control that reflects changes in operating conditions due to overrides, operations, etc. operated by the operator in the automatic programming data, and eliminates the need for the operator to reset the automatic programming data on the CRT setting display device. The challenge is to provide equipment. [Means for Solving the Problems] A numerical control device according to the present invention includes a first automatic programming data control unit that stores automatic programming data set from a CRT setting display device in an automatic programming file, and a programmable controller. and a second automatic programming data control section that performs predetermined processing on data set by the programmable controller according to instructions from the programmable controller and stores the processed data in the automatic programming file. [Operation] The second automatic programming data control unit in the present invention performs the following operations based on the adjusted data from the override switch for adjusting the feed rate and/or spindle rotation speed of the controlled object supplied to the programmable controller. The feed rate and/or spindle rotation speed are rewritten in the automatic programming file. Therefore, it is not necessary to set the feed rate and/or spindle rotation speed adjusted from the CRT setting display device. [Example] The present invention will be described in detail below. FIG. 1 is a block diagram showing the configuration of a numerical control device according to an embodiment of the present invention. Further, FIGS. 2 and 3 are examples of data for automatic programming, and are data explanatory diagrams showing data used in one embodiment of the present invention, and FIG. 4 is a data explanatory diagram showing data used in one embodiment of the present invention. It is a program explanatory diagram which shows the example of a machining program. In Figure 1, (1) is a numerical control device that can rewrite automatic programming data with a programmable controller (6), (2) is a CRT setting display device, and (3) is a numerical control device (1) that can rewrite automatic programming data. A controlled object such as a machine tool, (4) is a drive amplifier that drives the drive motor of the controlled object (3), (5) is an operation board that provides operating conditions to the numerical control device (1), and (5a) is an operation board ( 5) is the feed override switch, (5b) is the spindle override switch on the operation board (5), (5C) is the automatic operation start button on the operation board (5), (5d) is the automatic operation stop button, (6)
) is a programmable controller that is built into the numerical control device (1) and performs sequence control, etc., (7) is an automatic programming file that stores various data for automatic programming, and (8) is an automatic programming file (
7) is a compiling unit for translating the contents into a machining program that can be interpreted by the machining program analysis unit (11), (9) is a machining program file that stores the machining program, and (10) is a CRT setting display device (2). a first automatic programming data control unit (11) that writes the input data from the input data to the automatic programming file (7) and instructs the compiling unit (8) to start compilation, etc.;
is the machining program analysis section that analyzes the machining program, (
12) receives commands from the machining program analysis section (11) and programmable controller (6) and operates the drive amplifier (
(13) is a second machine control section that issues commands to 4), and (13) is a second machine that rewrites data in the automatic programming file (7) according to commands from the programmable controller (6).
Automatic programming data control section. FIG. 2 shows the automatic programming data set in the automatic programming file (7), which shows the rotational speed, feed rate, etc. for each tool in a table. Similarly, FIG. 3 also shows the material of the workpiece and the cutting conditions in a table. Moreover, FIG. 4 is a part of the machining program with program number r100J created by automatic programming. Next, the operation of the numerical side a device of this embodiment configured as described above will be explained. The automatic programming data set on the CRT setting display device (2) is stored in the automatic programming file (7) according to instructions from the first automatic programming data control section (10), and the data for automatic programming is roughly set by the first automatic programming data control unit (10). In accordance with instructions from the data control section (10), the compiling section (8) compiles the data and stores it as a machining program in a machining program file (9). Here, for convenience of explanation, the machining program is assumed to be a machining program with program number r100J. Then, after the operator performs a preliminary operation to run the machining program with program number r100J on the CRT setting display device (2), by operating the automatic operation start button (5C) on the operation board (5), Numerical control device (1
) reads the machining program with program number r100J from the machining program file (9), analyzes it in the machining program analysis section (11), and then reads the machining program with program number r100J from the machining program file (9).
2) The controlled object (3) is operated regularly according to the machining program via the drive amplifier (4). Here, for example, the sequence number "N006J" in FIG.
During operation, if the feed rate of the controlled object (3) is too fast, the operator can press the feed override switch (5) provided on the operation board (5) to adjust the feed rate.
Adjust a). Thereby, the override data is sent to the machine control unit (12) via the programmable controller (6), and the machine control unit (12) increases or decreases the control information sent to the drive amplifier (4) to control the controlled object ( 3) ensures optimal operating conditions. During this series of operations, the override data operated by the operator is transferred to the programmable controller (6
) is sent to the second automatic programming data control unit (13) together with the tool function number rT10J currently in use and a rewrite request signal informing that the automatic programming data is to be rewritten. This second automatic programming data control unit (13) receives the tool function number rT1 given from the automatic programming file (7).
04 [Find the feed rate, which is the corresponding cutting condition, from the corresponding data shown in FIG. 2, and rewrite the value to the value corrected by the override value. In this example, rewrite the tool function column shown in Figure 2 to the value obtained by multiplying the feed rate corresponding to T10J by the override value. If the override value is 80%, then 100 [mm/ m1nlx
At 80%, the basic data of the feed rate corresponding to the tool function number rT10J is 80[f/minl]. By continuing the above control, the operator can
T without changing settings from the setting display device.
Various basic data can be rewritten. In the above embodiment, feed override was explained, but the same applies to spindle rotation speed override, etc., and the above 100
[mm/m1nlx 80%] A method of directly writing may be used without performing calculations. In addition, as shown in Figure 3, depending on the material of the workpiece to be machined with a single tool, the spindle rotation speed multiplier or feed rate may vary depending on the material of the workpiece to be machined. The value multiplied by the speed multiplier is dropped into the machining program by automatic programming, so
This multiplier may be rewritten. and a second automatic programming data control section (13
) operates by looking at the rewrite request signal set by the programmable controller 1 roller (6), but the programmable controller (6) can also be configured as a subroutine that is directly called when necessary. The same effects as in the embodiment are achieved. Of course, the rewrite request signal may be always on, or in the case of a subroutine system, it may be called at all times. Furthermore, the function of the second automatic programming data control section may be provided to the first programming data control section, and the function may be switched and used by an instruction from a CRT setting display device or a programmable controller. [Effects of the Invention] As described above, according to the numerical control device of the present invention, the second
The automatic programming data control unit adjusts the feed rate and/or spindle speed based on adjusted data from an override switch that adjusts the feed speed and/or spindle speed of the controlled object, which is supplied to the programmable controller. It is something to be rewritten. Therefore, since the data for automatic programming can be rewritten not only from the CRT setting display device but also from the programmable controller, data can be set and corrected online, improving operability. .

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

第1図はこの発明の一実施例による数値制御装置の構成
を示すブロック図、第2図及び第3図は自動プログラマ
ブルを行うためのデータの例で、この発明の一実施例で
用いるデータを示すデータ説明図、第4図はこの発明の
一実施例の加工プログラム例を示すプログラム説明図、
第5図は従来の数値制御装置の構成を示すブロック図で
ある。 図において、 1:数値制御装置、 2 : CRT設定表示装置、 6:プログラマブルコントローラ、 7:自動プログラミング用ファイル、 10:第1の自動プログラミングデータ制御部、13:
第2の自動プログラミングデータ制御部、である。 なお、図中、同−符号及び同一記号は同一または相当部
分を示すものである。 代理人 弁理士 大台 地層 外2名
FIG. 1 is a block diagram showing the configuration of a numerical control device according to an embodiment of the present invention, and FIGS. 2 and 3 are examples of data for performing automatic programmability. FIG. 4 is a program explanatory diagram showing an example of a machining program according to an embodiment of the present invention.
FIG. 5 is a block diagram showing the configuration of a conventional numerical control device. In the figure, 1: numerical control device, 2: CRT setting display device, 6: programmable controller, 7: automatic programming file, 10: first automatic programming data control section, 13:
a second automatic programming data control section; In the drawings, the same reference numerals and the same symbols indicate the same or equivalent parts. Agent: Patent attorney: Odai, 2 other people

Claims (1)

【特許請求の範囲】[Claims]  CRT設定表示装置より設定された自動プログラミン
グ用データを第1の自動プログラミングデータ制御部の
指示により格納する自動プログラミング用ファイルと、
前記第1の自動プログラミングデータ制御部の指示によ
り自動プログラミング用ファイルに格納された自動プロ
グラミング用データをコンパイルするコンパイル部と、
前記コンパイル部でコンパイルされた加工プログラムを
格納する加工プログラムファイルと、前記加工プログラ
ムファイルからのプログラムにより制御対象を制御し、
かつ、プログラマブルコントローラからのデータが供給
されるマシンコントロール部と、前記制御対象の送り速
度及び/または主軸回転数を調整するためのオーバライ
ドスイッチと、前記オーバライドスイッチにより調整さ
れたデータが供給されこのデータをマシンコントロール
部に送るプログラマブルコントローラと、前記プログラ
マブルコントローラに接続されこのデータに基づいて前
記送り速度及び/または主軸回転数を書換え、プログラ
ムの終了時にこの書換えた送り速度及び/または主軸回
転数のデータによりコンパイル部にコンパイルを実行さ
せる第2の自動プログラミングデータ制御部とを具備し
たことを特徴とする数値制御装置。
an automatic programming file that stores automatic programming data set from a CRT setting display device according to instructions from a first automatic programming data control unit;
a compiling unit that compiles automatic programming data stored in an automatic programming file according to instructions from the first automatic programming data control unit;
A machining program file storing a machining program compiled by the compiling unit, and controlling a control target with a program from the machining program file,
and a machine control unit to which data from the programmable controller is supplied, an override switch for adjusting the feed rate and/or spindle rotation speed of the controlled object, and a machine control unit to which data adjusted by the override switch is supplied. a programmable controller that is connected to the programmable controller and rewrites the feed rate and/or spindle rotation speed based on this data, and at the end of the program, the rewritten data of the feed speed and/or spindle rotation speed. and a second automatic programming data control section that causes the compiling section to execute compilation.
JP20436788A 1988-08-17 1988-08-17 Numerical controller Pending JPH0253107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20436788A JPH0253107A (en) 1988-08-17 1988-08-17 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20436788A JPH0253107A (en) 1988-08-17 1988-08-17 Numerical controller

Publications (1)

Publication Number Publication Date
JPH0253107A true JPH0253107A (en) 1990-02-22

Family

ID=16489344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20436788A Pending JPH0253107A (en) 1988-08-17 1988-08-17 Numerical controller

Country Status (1)

Country Link
JP (1) JPH0253107A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000010769A1 (en) * 1998-08-24 2000-03-02 Okuma Corporation Method and apparatus for collecting operation event logs in nc machining
WO2000038881A1 (en) * 1998-12-25 2000-07-06 Okuma Corporation Method and apparatus for providing numerical control information

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000010769A1 (en) * 1998-08-24 2000-03-02 Okuma Corporation Method and apparatus for collecting operation event logs in nc machining
US6512961B1 (en) 1998-08-24 2003-01-28 Okuma Corporation Method and apparatus for collecting operation event logs in NC machining
WO2000038881A1 (en) * 1998-12-25 2000-07-06 Okuma Corporation Method and apparatus for providing numerical control information
US6591156B1 (en) 1998-12-25 2003-07-08 Okuma Corporation Method and apparatus for providing numerical control information

Similar Documents

Publication Publication Date Title
JP4311349B2 (en) Numerical control system
US5784621A (en) Sequence program display apparatus
JPH0253107A (en) Numerical controller
JP3297844B2 (en) Download system and computer-readable recording medium recording download program
US6917850B2 (en) Motion data command system and control signal definition system for motion program
EP0305533B1 (en) Method of controlling laser oscillator
JPS6290706A (en) Method and apparatus for control of memory program for moving means
JP4348664B2 (en) Programmable controller control method
KR100189068B1 (en) Simulation device and method for numerical control machine
KR100434134B1 (en) Programmable logic controller, in which a program is changed during its operation
JPS6359604A (en) Method for changing working route in numerical controller
JPH10202471A (en) Numerical control device with spindle control function
JPS61163437A (en) Information processing system
JP3221509B2 (en) Robot controller
JPH07104816A (en) Data setting picture display system for cnc
JP2708983B2 (en) Program display device
JPH05113812A (en) Numerical controller with cutting condition playback control function
JPS62210506A (en) Numerical control system
JPH01145704A (en) Positioning unit for programmable controller
JPH05233018A (en) Program developing device for programmable controller and recording medium for supporting program development
JPH05143127A (en) Numerical controller
JPS63184106A (en) Numerical controller
JPH04335407A (en) Numerical control command information generating device for numerical control machine tool
JPH09101812A (en) Numerical controller
JPH09305344A (en) Method for controlling screen display