JP2000066711A - Numerical controller for machine tool - Google Patents

Numerical controller for machine tool

Info

Publication number
JP2000066711A
JP2000066711A JP10232530A JP23253098A JP2000066711A JP 2000066711 A JP2000066711 A JP 2000066711A JP 10232530 A JP10232530 A JP 10232530A JP 23253098 A JP23253098 A JP 23253098A JP 2000066711 A JP2000066711 A JP 2000066711A
Authority
JP
Japan
Prior art keywords
operation program
program
mdi
manual data
input
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
JP10232530A
Other languages
Japanese (ja)
Inventor
Kuniharu Yamato
邦治 大和
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.)
DMG Mori Co Ltd
Original Assignee
Mori Seiki Co 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 Mori Seiki Co Ltd filed Critical Mori Seiki Co Ltd
Priority to JP10232530A priority Critical patent/JP2000066711A/en
Publication of JP2000066711A publication Critical patent/JP2000066711A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a numerical controller for making even an operator who is not familiar with the contents of a control code used in a program possible to easily perform an MDI operation without errors. SOLUTION: In this numerical controller of a machine tool provided with a manual data input mode capable of manually inputting an operation program and provided with a manual data processing means 3 for executing the operation program inputted under the manual data input mode, an operation program storage means 6 for storing the operation program and an operation name in relation to each other beforehand and a program retrieval means 9 for retrieving the operation program stored in the operation program storage means 6 based on the operation name under the manual data input mode and outputting the retrieved operation program to the manual data processing means 3 are provided. The operator retrieves the operation program from the operation name and executes it without inputting it.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、動作プログラムを
手動で入力することができる手動データ入力(MDI)
モードを備えるとともに、MDIモードの下で入力され
た動作プログラムを実行する手動データ処理手段を備え
た工作機械の数値制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a manual data entry (MDI) for manually inputting an operation program.
The present invention relates to a numerical control device for a machine tool including a manual data processing unit for executing an operation program input under an MDI mode.

【0002】[0002]

【従来の技術】通常、工作機械の数値制御装置の自動運
転機能には、メモリ運転,手動データ入力(MDI)運
転などの運転モードが設定されている。メモリ運転は、
磁気ディスク若しくはテープなどの媒体に記憶された動
作プログラムを、数値制御装置に設けられた入力装置か
ら入力してこれを一旦メモリに記憶し、操作盤上のサイ
クルスタートキーから起動信号が入力されると、上記メ
モリに記憶された動作プログラムを読み出し、これを1
ブロックずつCPUにより処理して、工作機械の駆動軸
などを駆動制御する運転機能である。
2. Description of the Related Art Normally, operation modes such as a memory operation and a manual data input (MDI) operation are set in an automatic operation function of a numerical controller of a machine tool. Memory operation is
An operation program stored in a medium such as a magnetic disk or a tape is input from an input device provided in a numerical control device, and is temporarily stored in a memory. A start signal is input from a cycle start key on an operation panel. Read the operation program stored in the memory, and
This is an operation function in which the CPU processes each block and drives and controls a drive shaft of a machine tool.

【0003】また、MDI運転は、操作盤上の入力キー
から手動で動作プログラムを入力して、これを実行する
運転機能であり、手動入力された動作プログラムはMD
Iバッファに格納され、操作盤上のサイクルスタートキ
ーから起動信号が入力されると、MDIバッファ内に格
納された動作プログラムが読み出され、これが1ブロッ
クずつCPUにより処理され、工作機械の駆動軸などが
駆動制御される。
[0003] The MDI operation is an operation function for manually inputting an operation program from an input key on an operation panel and executing the operation program.
When an activation signal is stored in the I-buffer and a start signal is input from a cycle start key on the operation panel, the operation program stored in the MDI buffer is read out and processed by the CPU one block at a time. And the like are drive-controlled.

【0004】このMDI運転は、手動運転によると長時
間を要し、その操作が面倒である場合などに特に有効で
ある。例えば、刃物台を機械原点に復帰させる際に、押
釦により手動で復帰させるとすると、刃物台が機械原点
に復帰するまで押釦を押し続けなければならず、その操
作が面倒であり、しかも手動運転の軸移動速度が自動運
転の場合に比べて遅いため操作時間が長く、この面でも
操作が面倒である。一方、MDI運転の場合は、必要な
動作プログラムを入力してサイクルスタートキーを押す
だけで刃物台を自動的に機械原点に復帰させることがで
きるのでその操作が簡単であり、しかも軸移動速度が手
動の場合に比べて速いため効率的である。また、刃物台
を第2原点に復帰させる動作などについては、通常、手
動運転によりこれを行うことが不可能である。
The MDI operation requires a long time according to the manual operation, and is particularly effective when the operation is troublesome. For example, when returning the tool post to the mechanical origin, if the tool post is manually returned by the push button, the push button must be kept pressed until the tool post returns to the mechanical origin, which is cumbersome and requires manual operation. The operation time is long because the axis moving speed is slower than in the case of automatic operation, and the operation is troublesome in this respect as well. On the other hand, in the case of MDI operation, the turret can be automatically returned to the machine origin simply by inputting the necessary operation program and pressing the cycle start key, so that the operation is simple and the axis moving speed is low. It is efficient because it is faster than manual operation. In addition, it is generally impossible to perform the operation of returning the tool post to the second origin by manual operation.

【0005】また、自動工具交換(ATC)装置を備え
た工作機械の当該ATCを手動で操作する場合には、工
作機械の駆動軸やATC装置の各部を個別に操作する必
要があるため、その操作は長手順にわたり且つ複雑であ
り、極めて面倒である。また、操作間違いも生じやす
い。一方、MDI運転で当該ATCを行う場合には、上
例と同様に、必要な動作プログラムを入力してサイクル
スタートキーを押すだけでATCを実行することができ
るのでその操作が極めて簡単であり、効率的である。
When manually operating the ATC of a machine tool equipped with an automatic tool changer (ATC) device, it is necessary to individually operate the drive shaft of the machine tool and each part of the ATC device. The operation is long and complex, and very cumbersome. In addition, an operation error is likely to occur. On the other hand, when the ATC is performed in the MDI operation, the ATC can be executed just by inputting a necessary operation program and pressing the cycle start key, as in the above example, so that the operation is extremely simple. It is efficient.

【0006】[0006]

【発明が解決しようとする課題】ところが、このように
操作が簡単であるMDI運転においても、従来、次のよ
うな問題点が存在した。
However, even in the MDI operation in which the operation is simple as described above, there have conventionally been the following problems.

【0007】MDI運転で使用される動作プログラム
は、機能に対応して予め設定されたGコードやMコード
などの制御コードを組み合わせて作成されるものであ
り、動作プログラムの作成にあたっては、プログラム作
成者がこれらGコードやMコードの制御内容を十分に熟
知している必要がある。
The operation program used in the MDI operation is created by combining control codes such as G codes and M codes set in advance corresponding to the functions. It is necessary for the user to fully understand the control contents of these G codes and M codes.

【0008】ところが、NC工作機械のメーカやその機
種によってGコードやMコードの内容が異なり、現場で
NC工作機械を操作するオペレータは、必ずしも上述し
た制御コードの内容を熟知しているとは限らず、むしろ
熟知していない場合が多いため、実際には上述したMD
I運転機能を有効に活用することができていなかった。
However, the contents of the G code and the M code differ depending on the maker and the model of the NC machine tool, and the operator who operates the NC machine tool on site does not always know the contents of the above-mentioned control code. In fact, in many cases, the MD
The I-drive function could not be used effectively.

【0009】かかるオペレータが支障なくMDI操作を
行うことができるようにするには、その操作手順を示し
た指図書などを用意することなどが考えられるが、指図
書を見ながらの操作では効率の良い作業を行うことがで
きず、また、当該指図書を管理しなければならないとい
う別の問題を生じる。
In order to enable the operator to perform the MDI operation without any trouble, it is conceivable to prepare an instruction or the like showing the operation procedure. Another problem is that good work cannot be performed and that the order must be managed.

【0010】本発明は以上の実情に鑑みなされたもので
あって、プログラムに用いられる制御コードの内容を熟
知していないオペレータであっても、誤りなく簡単にM
DI操作を行うことができる数値制御装置の提供を目的
とする。
The present invention has been made in view of the above circumstances, and even if an operator is not familiar with the contents of control codes used in a program, M
It is an object of the present invention to provide a numerical controller capable of performing a DI operation.

【0011】[0011]

【課題を解決するための手段及びその効果】上記目的を
達成するための本発明の請求項1に係る発明は、動作プ
ログラムを手動で入力することができる手動データ入力
モードを備えるとともに、該手動データ入力モードの下
で入力された動作プログラムを実行する手動データ処理
手段を備えた工作機械の数値制御装置において、予め前
記動作プログラム及び動作名称を相互に関連付けて記憶
した動作プログラム記憶手段と、前記手動データ入力モ
ードの下で、前記動作プログラム記憶手段に記憶された
動作プログラムを前記動作名称に基づいて検索し、検索
された動作プログラムを前記手動データ処理手段に出力
するプログラム検索手段とを設けたことを特徴とするも
のである。
The invention according to claim 1 of the present invention for achieving the above object has a manual data input mode in which an operation program can be manually input, and a manual data input mode. In a numerical control device for a machine tool including a manual data processing unit that executes an operation program input under a data input mode, an operation program storage unit storing the operation program and the operation name in advance in association with each other; A program search unit that searches the operation program stored in the operation program storage unit based on the operation name under the manual data input mode, and outputs the searched operation program to the manual data processing unit. It is characterized by the following.

【0012】この発明によれば、予め前記動作プログラ
ム及び動作名称が相互に関連付けられて動作プログラム
記憶手段に記憶されている。即ち、例えば、「原点復
帰」,「工具交換」という動作名称と、それぞれに対応
した動作プログラムとが相互に関連付けられて動作プロ
グラム記憶手段に記憶されている。
According to the present invention, the operation program and the operation name are previously stored in the operation program storage means in association with each other. That is, for example, the operation names of “return to origin” and “tool change” and the operation programs corresponding to the respective operation names are stored in the operation program storage means in association with each other.

【0013】そして、手動データ入力(MDI)モード
の下で、プログラム検索手段により、前記動作プログラ
ム記憶手段に記憶された動作プログラムが前記動作名称
に基づいて検索され、検索された動作プログラムが手動
データ処理手段に出力され、当該手動データ処理手段に
より実行される。言い換えれば、オペレータは所望する
NC工作機械の動作プログラムを、動作名称から検索し
てこれを実行させることができる。
In the manual data input (MDI) mode, the operation program stored in the operation program storage is searched by the program search means based on the operation name, and the searched operation program is stored in the manual data input mode. It is output to the processing means and executed by the manual data processing means. In other words, the operator can retrieve the desired operation program of the NC machine tool from the operation name and execute the program.

【0014】このように、この発明によれば、予め記憶
された動作プログラムを動作名称から検索して当該動作
プログラムを実行させることができるので、オペレータ
は所望するNC工作機械の動作を、動作プログラムを数
値制御装置に入力することなく実行させることができ
る。したがって、プログラムに用いられる制御コードを
熟知していないオペレータであっても容易にMDI操作
を行うことができる。また、動作プログラムの入力ミス
による誤操作を防止することもできる。
As described above, according to the present invention, the operation program stored in advance can be retrieved from the operation name and the operation program can be executed, so that the operator can select the desired operation of the NC machine tool by using the operation program. Can be executed without being input to the numerical controller. Therefore, even an operator who is not familiar with the control codes used in the program can easily perform the MDI operation. Further, erroneous operation due to an input error of the operation program can be prevented.

【0015】また、本発明の請求項2に係る発明は、上
記請求項1の発明において、前記手動データ入力モード
の下で、動作プログラム及びこれに対応した動作名称を
相互に関連付けて入力する入力手段を設け、前記動作プ
ログラム記憶手段を、前記入力手段により入力された前
記動作プログラム及び動作名称を相互に関連付けて記憶
するように構成したものである。
According to a second aspect of the present invention, in the first aspect of the present invention, there is provided an input program for inputting an operation program and an operation name corresponding thereto in the manual data input mode in association with each other. Means for storing the operation program and the operation name input by the input means in association with each other.

【0016】この発明によれば、プログラムに用いられ
る制御コードを熟知したプログラム作成者が、所望する
NC工作機械の任意の動作プログラムを作成し、その動
作名称とともに入力してこれらを相互に関連付けて動作
プログラム記憶手段に記憶させることができ、オペレー
タは設定された動作プログラムの中から適宜必要な動作
プログラムを動作名称から検索してこれを実行させるこ
とができる。
According to the present invention, the program creator who is familiar with the control codes used in the program creates an arbitrary operation program of the desired NC machine tool, inputs the desired operation program together with the operation name, and correlates these with each other. The operation program can be stored in the operation program storage means, and the operator can search for the necessary operation program from the operation name as appropriate from among the set operation programs and execute it.

【0017】このように、この発明によれば、MDI操
作により動作させる動作プログラムをユーザサイドで任
意に設定してこれを記憶させることができるので、即
ち、例えば、NC工作機械によるワークの連続加工を開
始する前に、ワークの着脱装置を繰返し動作させてその
熱変位などを安定させるランニング運転に関する動作プ
ログラムなど、各ユーザにおいて独自に必要とする動作
プログラムを予め動作プログラム記憶手段に記憶させる
ことができるので、オペレータは特にプログラムの入力
を行うことなく、このユーザ独自の動作プログラムを実
行させることができる。
As described above, according to the present invention, the operation program operated by the MDI operation can be arbitrarily set on the user side and can be stored, that is, for example, continuous machining of a workpiece by an NC machine tool. Before starting the operation, the operation program required by each user, such as an operation program relating to a running operation for stabilizing the thermal displacement and the like by repeatedly operating the work attaching / detaching device, may be stored in advance in the operation program storage means. Therefore, the operator can execute the user-specific operation program without inputting the program.

【0018】また、本発明の請求項3に係る発明は、上
記請求項1又は2の発明における前記プログラム検索手
段が、検索した動作プログラム中に不確定な指令が含ま
れるかどうかを判断し、不確定な指令が含まれる場合に
は確定した指令が入力された後に該確定した指令を前記
不確定な指令に置き換え、しかる後置き換えられた動作
プログラムを前記手動データ処理手段に出力するように
設けられてなるものである。
According to a third aspect of the present invention, in the first or the second aspect of the present invention, the program searching means determines whether or not the searched operation program contains an uncertain command, When an uncertain command is included, after the determined command is input, the determined command is replaced with the uncertain command, and the replaced operation program is output to the manual data processing means. It is what is done.

【0019】例えば、工具交換に関する動作プログラム
においては、交換の対象となる工具番号を指定する必要
があるが、動作プログラムを動作プログラム記憶手段に
記憶させる際には、交換の対象となる工具番号が確定し
ていないのが通常である。即ち、動作プログラムを実行
させる際に主軸に装着されている交換対象の工具はその
時々によって異なるため、予めこれを確定できない。
For example, in an operation program relating to tool change, it is necessary to specify a tool number to be replaced. However, when an operation program is stored in the operation program storage means, a tool number to be replaced is specified. Usually not fixed. That is, when the operation program is executed, the tool to be replaced, which is mounted on the main shaft, varies depending on the time, and therefore cannot be determined in advance.

【0020】この発明によれば、プログラム検索手段に
より、検索した動作プログラム中に不確定な指令が含ま
れるかどうかを判断し、不確定な指令が含まれる場合に
は確定した指令が入力された後に、確定した指令を前記
不確定な指令に置き換えて前記手動データ処理手段に出
力するようにしているので、動作プログラム記憶手段に
記憶させる際に確定していない指令を含む動作プログラ
ムであっても、これを予め動作プログラム記憶手段に記
憶し、MDI操作によって適宜これを実行させることが
できる。
According to the present invention, the program search means determines whether or not the retrieved operation program contains an indeterminate command. If the indeterminate command is included, the confirmed command is input. Later, since the determined command is replaced with the uncertain command and output to the manual data processing means, even when the operation program includes an undetermined command when stored in the operation program storage means, Can be stored in advance in the operation program storage means, and can be appropriately executed by the MDI operation.

【0021】[0021]

【発明の実施の形態】次に、本発明の具体的な実施形態
について添付図面に基づき説明する。尚、図1は本実施
形態に係る数値制御装置の概略構成を示すブロック図で
ある。
Next, specific embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a block diagram showing a schematic configuration of a numerical control device according to the present embodiment.

【0022】同図に示すように、本例の数値制御装置1
は制御装置2及び操作盤10を備えてなり、制御装置2
はバスシステム5を介して相互に接続したNCシステム
部3,MDI動作プログラム記憶部6,表示制御部7,
登録制御部8及び検索制御部9を備えている。尚、これ
らNCシステム部3,MDI動作プログラム記憶部6,
表示制御部7,登録制御部8,検索制御部9は入出力イ
ンターフェース7を介して前記操作盤10に接続してい
る。以下、まず各部の機能について説明する。
As shown in FIG. 1, the numerical controller 1 of the present embodiment
Is provided with a control device 2 and an operation panel 10.
Are an NC system unit 3, an MDI operation program storage unit 6, a display control unit 7,
A registration control unit 8 and a search control unit 9 are provided. The NC system unit 3, the MDI operation program storage unit 6,
The display control unit 7, the registration control unit 8, and the search control unit 9 are connected to the operation panel 10 via the input / output interface 7. Hereinafter, the function of each unit will be described first.

【0023】前記操作盤10は、画面表示のためのCR
Tディスプレイ(以下、CRTという)11、文字,数
字などの情報を入力するためのキーボード12、メモリ
運転,MDI運転,手動運転などの運転モードを選択す
るモード選択キー13の他、サイクルスタートキー1
4、サイクル停止キー15などを備えている。尚、モー
ド選択キー13の中からMDI運転モードキーを選択し
てこれを押すことにより、キーボード12から動作プロ
グラムを制御装置2に入力することができるようになっ
ている。
The operation panel 10 has a CR for displaying a screen.
T display (hereinafter referred to as CRT) 11, keyboard 12 for inputting information such as characters and numerals, mode selection key 13 for selecting an operation mode such as memory operation, MDI operation, manual operation, etc., and cycle start key 1
4, a cycle stop key 15 and the like. Note that an MDI operation mode key is selected from the mode selection keys 13 and pressed to input an operation program from the keyboard 12 to the control device 2.

【0024】前記NCシステム部3は、工作機械の送り
駆動系など数値制御の対象となる駆動部分を制御するも
のであり、加工プログラムを格納するメモリ、MDIに
より入力された動作プログラムを格納するMDIバッフ
ァ、マシンセットアップデータ,システムパラメータな
どのデータを格納するメモリ、メモリに格納された加工
プログラム若しくはMDIバッファに格納された動作プ
ログラムに従って処理を実行しサーボデータを算出する
CPUなどを備えている。
The NC system section 3 controls a drive portion to be subjected to numerical control, such as a feed drive system of a machine tool, and stores a machining program and an MDI for storing an operation program input by the MDI. It includes a buffer, a memory for storing data such as machine setup data and system parameters, a CPU for executing processing in accordance with a machining program stored in the memory or an operation program stored in the MDI buffer, and calculating servo data.

【0025】また、前記表示制御部7は、前記CRT1
1の画面表示を制御する機能部分であり、適宜な表示フ
ォーマットを備え、刃物台などの移動体の位置座標や加
工プログラムを表示する。特に本例では、モード選択キ
ー13からMDI運転モードが選択された場合に、「ヘ
ルプ操作」又は「通常操作」を選択できるメニュー画
面、並びに図2乃至図6に示した画面の表示フォーマッ
トを備え、当該メニュー画面並びに図2乃至図6に示し
た画面をCRT11に表示することができるようになっ
ている。
Further, the display control section 7 controls the CRT 1
1 is a function part for controlling the screen display, has an appropriate display format, and displays the position coordinates of a moving body such as a tool post and a machining program. Particularly, in this example, when the MDI operation mode is selected from the mode selection key 13, a menu screen capable of selecting “help operation” or “normal operation” and a display format of the screens shown in FIGS. 2 to 6 are provided. The menu screen and the screens shown in FIGS. 2 to 6 can be displayed on the CRT 11.

【0026】前記登録制御部8は、モード選択キー13
からMDI運転モードが選択され、メニュー画面から
「ヘルプ操作」が選択され、更にCRTに設定されたソ
フトキーから登録要求信号が入力された場合に、前記ソ
フトキー,キーボード12などからの入力を制御し、こ
れらから入力された動作名称と動作プログラムとを相互
に関連付けて前記MDI動作プログラム記憶部6に格納
する機能部分である。
The registration control unit 8 has a mode selection key 13
When the MDI operation mode is selected from the menu, "Help operation" is selected from the menu screen, and when a registration request signal is input from the soft key set on the CRT, the input from the soft key, the keyboard 12, etc. is controlled. The operation name and the operation program input from these are associated with each other and stored in the MDI operation program storage unit 6.

【0027】また、前記MDI動作プログラム記憶部6
はRAMからなるものであり、前記ソフトキー,キーボ
ード12などから入力された動作名称と動作プログラム
とを相互に関連付けて、図7に示すようなバイナリファ
イルとして格納する。
The MDI operation program storage unit 6
Is composed of a RAM, and stores an operation name and an operation program inputted from the soft keys, the keyboard 12 and the like in association with each other as a binary file as shown in FIG.

【0028】また、前記検索制御部9は、モード選択キ
ー13からMDI運転モードが選択され、メニュー画面
から「ヘルプ操作」が選択された場合に、前記MDI動
作プログラム記憶部6に格納された動作名称を検索して
その一覧を前記表示制御部7を介して前記CRT11に
表示し、続いて前記ソフトキーから動作名称が入力され
ると、入力された動作名称に基づいて前記MDI動作プ
ログラム記憶部6に格納された動作プログラムを検索
し、前記表示制御部7を介して当該動作プログラムをC
RT11に表示するとともに、当該動作プログラムデー
タを前記NCシステム部のMDIバッファに送信する機
能部分である。
When the MDI operation mode is selected from the mode selection key 13 and the "help operation" is selected from the menu screen, the search control section 9 operates the operation stored in the MDI operation program storage section 6. A name is searched and a list thereof is displayed on the CRT 11 via the display control unit 7. Subsequently, when an operation name is input from the soft key, the MDI operation program storage unit is operated based on the input operation name. 6 and retrieves the operation program via the display control unit 7 into C.
This is a function part for displaying on the RT 11 and transmitting the operation program data to the MDI buffer of the NC system unit.

【0029】更にこの検索制御部9は、検索した動作プ
ログラムデータ中に不確定データ、具体的にはデータ
「***」が存在するか否かをチェックし、不確定デー
タが存在する場合には、前記表示制御部7を介してCR
T11に入力画面を表示し、前記ソフトキー,キーボー
ド12などから入力された確定データを前記不確定デー
タと置き換えるとともに、確定データに置き換えられた
動作プログラムデータを前記NCシステム部のMDIバ
ッファに送信する機能を備えている。
Further, the search control section 9 checks whether or not uncertain data, specifically, data “***”, exists in the searched operation program data. Is the CR through the display control unit 7.
An input screen is displayed at T11, and the determined data input from the soft keys, the keyboard 12, and the like are replaced with the undefined data, and the operation program data replaced with the determined data is transmitted to the MDI buffer of the NC system unit. Has functions.

【0030】次に、以上の構成を備えた数値制御装置1
のMDI操作に関し、まず動作プログラムを登録する手
順について説明する。
Next, the numerical controller 1 having the above configuration
With regard to the MDI operation, a procedure for registering an operation program will be described first.

【0031】まず、操作盤10のモード選択キー13か
らMDI運転を選択してこれを入力すると、この信号を
受信した表示制御部7によってCRT11にメニュー画
面が表示される。そして、表示されたメニューから「ヘ
ルプ操作」を選択すると、この信号を受信した検索制御
部9によりMDI動作プログラム記憶部6に格納された
動作名称が検索され、表示制御部7を介して、図2に示
すようなヘルプ操作画面がCRT11に表示される。
尚、画面中、21は位置座標を表示する領域であり、2
2はヘルプ操作情報を表示する領域であり、26はNC
システム部3のMDIバッファに格納された動作プログ
ラムを表示する領域であり、25は画面上に設定された
ソフトキーである。また、ヘルプ操作情報表示領域22
の中には、動作名称表示領域23及び動作プログラム表
示領域24が設定されている。
First, when an MDI operation is selected from the mode selection key 13 of the operation panel 10 and inputted, a menu screen is displayed on the CRT 11 by the display control section 7 having received this signal. When "Help operation" is selected from the displayed menu, the operation name stored in the MDI operation program storage unit 6 is searched by the search control unit 9 which has received this signal, and the A help operation screen as shown in FIG. 2 is displayed on the CRT 11.
In the screen, reference numeral 21 denotes an area for displaying position coordinates.
2 is an area for displaying help operation information, and 26 is an NC
An area for displaying the operation program stored in the MDI buffer of the system unit 3, and 25 is a soft key set on the screen. The help operation information display area 22
, An operation name display area 23 and an operation program display area 24 are set.

【0032】ついで、前記ソフトキー25の中の登録キ
ーを押すと、この信号が登録制御部8に入力され、登録
制御部8は表示制御部7を介してCRT11に図3に示
すような画面を表示させ、これにより動作名称と動作プ
ログラムの入力が可能となる。そして、ソフトキー2
5,キーボード12などから順次所望する動作名称及び
動作プログラムを入力すると、登録制御部8によりこれ
らが相互に関連付けられて、図7に示したようなバイナ
リーファイルとしてMDI動作プログラム記憶部6に格
納される。尚、Tコードなど動作プログラムの不確定部
分について「***」を入力するものとする。
Next, when a registration key among the soft keys 25 is pressed, this signal is input to the registration control unit 8, and the registration control unit 8 displays the screen as shown in FIG. Is displayed, whereby the operation name and the operation program can be input. And soft key 2
5, when desired operation names and operation programs are sequentially input from the keyboard 12 or the like, the registration control unit 8 associates these with each other and stores them in the MDI operation program storage unit 6 as a binary file as shown in FIG. You. It is assumed that "***" is input for an undefined part of the operation program such as the T code.

【0033】ついで、ソフトキー25の登録終了キー
(図示せず)を押すと、この信号が登録制御部8及び表
示制御部7に入力され、登録制御部8はその制御を終了
する一方、表示制御部7は上記メニュー画面をCRT1
1に表示する。以上により、動作名称及びその動作プロ
グラムをMDI動作プログラム記憶部6に格納し、これ
を登録することができる。
Next, when a registration end key (not shown) of the soft key 25 is pressed, this signal is inputted to the registration control unit 8 and the display control unit 7, and the registration control unit 8 terminates the control while displaying the display. The control unit 7 displays the menu screen on the CRT 1
1 is displayed. As described above, the operation name and the operation program can be stored in the MDI operation program storage unit 6 and registered.

【0034】次に、MDI操作により、登録した動作プ
ログラムの中から所望の動作プログラムを実行させるそ
の手順について説明する。
Next, a procedure for executing a desired operation program from the registered operation programs by the MDI operation will be described.

【0035】上記登録の場合と同様に、まず、操作盤1
0のモード選択キー13からMDI運転を選択してこれ
を入力した後、CRT11に表示されたメニュー画面か
ら「ヘルプ操作」を選択して、図2に示すようなヘルプ
操作画面をCRT11に表示させる。
As in the case of the above registration, first, the operation panel 1
After selecting and inputting the MDI operation from the mode selection key 13 of 0, the user selects "Help operation" from the menu screen displayed on the CRT 11 to display the help operation screen as shown in FIG. .

【0036】ついで、ソフトキー25のカーソルキーを
操作して、図4に示すように、一覧表示された動作名称
の中から適宜所望の動作名称を選択すると、その信号が
検索制御部9に入力され、検索制御部9はMDI動作プ
ログラム記憶部6を検索してこの動作名称に対応した動
作プログラムを抽出し、表示制御部7を介してCRT1
1の動作プログラム表示領域24に表示させる。
Then, by operating the cursor keys of the soft keys 25 and selecting a desired operation name from the list of operation names as shown in FIG. Then, the search control unit 9 searches the MDI operation program storage unit 6 to extract an operation program corresponding to the operation name, and outputs the operation program to the CRT 1 via the display control unit 7.
1 is displayed in the operation program display area 24.

【0037】ついで、ソフトキー25の実行キーを押す
と、この信号が検索制御部9に入力され、これを受けて
検索制御部9は検索した動作プログラム中に不確定コー
ド、即ち「***」を含むコードが存在するか否かをチ
ェックし、不確定コードが存在しなければ当該動作プロ
グラムをNCシステム部3のMDIバッファに送信す
る。そして、MDIバッファに格納された動作プログラ
ムが、表示制御部7によりCRT11の表示領域26に
表示される。この表示画面を図4に示す。
Next, when the execution key of the soft key 25 is pressed, this signal is inputted to the search control unit 9, and in response to this signal, the search control unit 9 sets the uncertain code, that is, "***" in the searched operation program. Is checked to see if there is a code containing "", and if there is no uncertain code, the operation program is transmitted to the MDI buffer of the NC system unit 3. Then, the operation program stored in the MDI buffer is displayed on the display area 26 of the CRT 11 by the display control unit 7. This display screen is shown in FIG.

【0038】ついで、操作盤10のサイクルスタートキ
ー14を押すと、NCシステム部3のMDIバッファに
格納された動作プログラムがCPUにより実行され、工
作機械の各部が駆動制御される。
Next, when the cycle start key 14 of the operation panel 10 is depressed, the operation program stored in the MDI buffer of the NC system unit 3 is executed by the CPU, and each part of the machine tool is drive-controlled.

【0039】一方、例えば図5に示すような工具交換の
動作プログラムには、Tコードが不確定コードとして動
作プログラム中に存在するが、この場合には、検索制御
部9は、表示制御部7を介してCRT11上に入力ウィ
ンドウ27を表示させ、続いて入力ウィンドウ27を介
してソフトキー25,キーボード12などから入力され
た確定コードを前記不確定コードと置き換えた後、当該
動作プログラムをNCシステム部3のMDIバッファに
送信する。そして、上記と同様にMDIバッファに格納
された動作プログラムが、表示制御部7によりCRT1
1の表示領域26に表示される。この表示画面を図6に
示す。
On the other hand, for example, in a tool change operation program as shown in FIG. 5, a T code is present in the operation program as an uncertain code. In this case, the search control unit 9 After the input window 27 is displayed on the CRT 11 via the input window 27, the determined code input from the soft keys 25, the keyboard 12 or the like via the input window 27 is replaced with the undefined code, and the operation program is changed to the NC system. The data is transmitted to the MDI buffer of the unit 3. Then, the operation program stored in the MDI buffer is transmitted to the CRT 1 by the display control unit 7 as described above.
1 is displayed in the display area 26. This display screen is shown in FIG.

【0040】ついで、操作盤10のサイクルスタートキ
ー14を押すことにより、NCシステム部3のMDIバ
ッファに格納された確定後の動作プログラムがCPUに
より実行され、工作機械の各部が駆動制御される。
Next, when the cycle start key 14 of the operation panel 10 is pressed, the determined operation program stored in the MDI buffer of the NC system unit 3 is executed by the CPU, and the respective parts of the machine tool are drive-controlled.

【0041】尚、操作盤10のモード選択キー13から
MDI運転を選択し、CRT11に表示されたメニュー
画面から「通常操作」を選択すると、従来通りソフトキ
ー25,キーボード12などから動作プログラムを入力
することができ、入力された動作プログラムはNCシス
テム部3のMDIバッファに格納され、操作盤10のサ
イクルスタートキー14を押すことにより、MDIバッ
ファに格納された動作プログラムがCPUにより実行さ
れ、工作機械の各部が駆動制御される。
When the MDI operation is selected from the mode selection key 13 of the operation panel 10 and the "normal operation" is selected from the menu screen displayed on the CRT 11, the operation program is inputted from the soft keys 25 and the keyboard 12 as in the conventional case. The input operation program is stored in the MDI buffer of the NC system unit 3, and when the cycle start key 14 of the operation panel 10 is pressed, the operation program stored in the MDI buffer is executed by the CPU, and Each part of the machine is drive-controlled.

【0042】以上詳述したように、本実施形態に係る数
値制御装置1によれば、MDI操作で用いる動作プログ
ラムを動作名称とともに相互に関連付けて予め登録し、
当該動作プログラムを実行させる際には、動作名称から
これに対応した動作プログラムを検索するようにしてい
るので、オペレータは動作プログラムを数値制御装置1
に入力することなくこれを実行させることができ、プロ
グラムに用いられる制御コードを熟知していないオペレ
ータであっても容易にMDI操作を行うことができる。
また、動作プログラムの入力ミスによる誤操作を防止す
ることもできる。
As described in detail above, according to the numerical controller 1 of the present embodiment, the operation programs used in the MDI operation are registered in advance in association with the operation names and in advance,
When the operation program is executed, an operation program corresponding to the operation program is searched for from the operation name.
This can be executed without inputting to the MDI, and even an operator who is not familiar with the control codes used in the program can easily perform the MDI operation.
Further, erroneous operation due to an input error of the operation program can be prevented.

【0043】また、動作プログラムを動作名称とともに
相互に関連付けて登録することができるようにしている
ので、各ユーザにおいて独自に必要とする動作プログラ
ムであっても、オペレータは特にプログラムの入力を行
うことなく、このユーザ独自の動作プログラムを実行さ
せることができる。
Since the operation program can be registered in association with the operation name, the operator must input the program even if the operation program is uniquely required by each user. Instead, the user-specific operation program can be executed.

【0044】また、検索制御部9により、動作プログラ
ム中に不確定コードが含まれるか否かをチェックし、不
確定コードが含まれる場合には入力された確定コードを
不確定コードに置き換えた後、当該動作プログラムを実
行するようにしているので、登録する際に確定していな
いコードを含む動作プログラムであっても、これを予め
登録し、MDI操作によって適宜これを実行させること
ができる。
Further, the search control unit 9 checks whether or not an uncertain code is included in the operation program, and if the uncertain code is included, replaces the input fixed code with the undefined code. Since the operation program is executed, even an operation program including a code that has not been determined at the time of registration can be registered in advance, and can be appropriately executed by the MDI operation.

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

【図1】本発明の一実施形態に係る数値制御装置の概略
構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of a numerical control device according to an embodiment of the present invention.

【図2】本実施形態に係る数値制御装置のCRTに表示
される画面を示す説明図である。
FIG. 2 is an explanatory diagram showing a screen displayed on a CRT of the numerical control device according to the embodiment.

【図3】本実施形態に係る数値制御装置のCRTに表示
される画面を示す説明図である。
FIG. 3 is an explanatory diagram showing a screen displayed on a CRT of the numerical control device according to the embodiment.

【図4】本実施形態に係る数値制御装置のCRTに表示
される画面を示す説明図である。
FIG. 4 is an explanatory diagram showing a screen displayed on a CRT of the numerical control device according to the embodiment.

【図5】本実施形態に係る数値制御装置のCRTに表示
される画面を示す説明図である。
FIG. 5 is an explanatory diagram showing a screen displayed on the CRT of the numerical control device according to the embodiment.

【図6】本実施形態に係る数値制御装置のCRTに表示
される画面を示す説明図である。
FIG. 6 is an explanatory diagram showing a screen displayed on a CRT of the numerical control device according to the embodiment.

【図7】本実施形態に係る数値制御装置MDI動作プロ
グラム記憶部に格納される動作名称及び動作プログラム
のデータファイル構造を示す説明図である。
FIG. 7 is an explanatory diagram showing an operation name and a data file structure of an operation program stored in a numerical control device MDI operation program storage unit according to the present embodiment.

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

1 数値制御装置 2 制御装置 3 NCシステム部 4 入出力インターフェース 5 システムバス 6 MDI動作プログラム記憶部 7 表示制御部 8 登録制御部 9 検索制御部 10 操作盤 11 CRT 12 キーボード 13 モード選択キー 14 サイクルスタートキー 25 ソフトキー Reference Signs List 1 Numerical control device 2 Control device 3 NC system unit 4 Input / output interface 5 System bus 6 MDI operation program storage unit 7 Display control unit 8 Registration control unit 9 Search control unit 10 Operation panel 11 CRT 12 Keyboard 13 Mode selection key 14 Cycle start Key 25 Soft key

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 動作プログラムを手動で入力することが
できる手動データ入力モードを備えるとともに、該手動
データ入力モードの下で入力された動作プログラムを実
行する手動データ処理手段を備えた工作機械の数値制御
装置において、 予め前記動作プログラム及び動作名称を相互に関連付け
て記憶した動作プログラム記憶手段と、 前記手動データ入力モードの下で、前記動作プログラム
記憶手段に記憶された動作プログラムを前記動作名称に
基づいて検索し、検索された動作プログラムを前記手動
データ処理手段に出力するプログラム検索手段とを設け
たことを特徴とする工作機械の数値制御装置。
1. A numerical value of a machine tool having a manual data input mode for manually inputting an operation program, and having a manual data processing means for executing the operation program input under the manual data input mode. In the control device, an operation program storage unit in which the operation program and the operation name are stored in association with each other in advance, and an operation program stored in the operation program storage unit under the manual data input mode based on the operation name. And a program search means for outputting the searched operation program to the manual data processing means.
【請求項2】 前記手動データ入力モードの下で、動作
プログラム及びこれに対応した動作名称を相互に関連付
けて入力する入力手段を備え、 前記動作プログラム記憶手段が、前記入力手段により入
力された前記動作プログラム及び動作名称を相互に関連
付けて記憶するものである請求項1記載の工作機械の数
値制御装置。
2. An input program for inputting an operation program and an operation name corresponding thereto in association with each other in the manual data input mode, wherein the operation program storage means is configured to input the operation program and the operation name corresponding to the operation name. The numerical control device for a machine tool according to claim 1, wherein the operation program and the operation name are stored in association with each other.
【請求項3】 前記プログラム検索手段が、検索した動
作プログラム中に不確定な指令が含まれるかどうかを判
断し、不確定な指令が含まれる場合には確定した指令が
入力された後に該確定した指令を前記不確定な指令に置
き換え、しかる後置き換えられた動作プログラムを前記
手動データ処理手段に出力するように設けられてなる請
求項1又は2に記載の工作機械の数値制御装置。
3. The program search means determines whether an undetermined command is included in the searched operation program. If the undetermined command is included, the determined program is input after the determined command is input. 3. The numerical control device for a machine tool according to claim 1, wherein the command is replaced with the uncertain command, and the replaced operation program is output to the manual data processing means.
JP10232530A 1998-08-19 1998-08-19 Numerical controller for machine tool Pending JP2000066711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10232530A JP2000066711A (en) 1998-08-19 1998-08-19 Numerical controller for machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10232530A JP2000066711A (en) 1998-08-19 1998-08-19 Numerical controller for machine tool

Publications (1)

Publication Number Publication Date
JP2000066711A true JP2000066711A (en) 2000-03-03

Family

ID=16940792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10232530A Pending JP2000066711A (en) 1998-08-19 1998-08-19 Numerical controller for machine tool

Country Status (1)

Country Link
JP (1) JP2000066711A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016051545A1 (en) * 2014-09-30 2016-04-07 株式会社牧野フライス製作所 Control device for machine tool
DE102016003688A1 (en) 2015-03-27 2016-09-29 Fanuc Corporation Numerical control with situation-dependent program presentation function
CN106054813A (en) * 2015-04-16 2016-10-26 发那科株式会社 Numerical controller for classifying and displaying machining program recorded as history
JP2018069378A (en) * 2016-10-28 2018-05-10 ファナック株式会社 Information processing device
JP7032596B1 (en) * 2021-06-28 2022-03-08 Dmg森精機株式会社 Machine tool control device and machine tool control method
WO2023027251A1 (en) * 2021-08-27 2023-03-02 한화정밀기계 주식회사 Lathe control apparatus and method
WO2023139771A1 (en) * 2022-01-21 2023-07-27 ファナック株式会社 Information generation device and computer-readable storage medium

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3203334A4 (en) * 2014-09-30 2018-05-23 Makino Milling Machine Co., Ltd. Control device for machine tool
WO2016051545A1 (en) * 2014-09-30 2016-04-07 株式会社牧野フライス製作所 Control device for machine tool
JPWO2016051545A1 (en) * 2014-09-30 2017-04-27 株式会社牧野フライス製作所 Machine tool controller
CN106796425A (en) * 2014-09-30 2017-05-31 株式会社牧野铣床制作所 The control device of lathe
US20170285614A1 (en) * 2014-09-30 2017-10-05 Makino Milling Machine Co., Ltd. Control device for machine tool
US10534347B2 (en) 2014-09-30 2020-01-14 Makino Milling Machine Co., Ltd. Control device for machine tool
DE102016003688A1 (en) 2015-03-27 2016-09-29 Fanuc Corporation Numerical control with situation-dependent program presentation function
US10539948B2 (en) 2015-03-27 2020-01-21 Fanuc Corporation Numerical controller with program presentation function depending on situation
JP2016186686A (en) * 2015-03-27 2016-10-27 ファナック株式会社 Numerical control device including presentation function of program depending on situation
JP2016206742A (en) * 2015-04-16 2016-12-08 ファナック株式会社 Numerical control device for classifying and displaying processing program for history
US10317883B2 (en) 2015-04-16 2019-06-11 Fanuc Corporation Numerical controller for classifying and displaying machining program recorded as history
CN106054813A (en) * 2015-04-16 2016-10-26 发那科株式会社 Numerical controller for classifying and displaying machining program recorded as history
JP2018069378A (en) * 2016-10-28 2018-05-10 ファナック株式会社 Information processing device
US10853390B2 (en) 2016-10-28 2020-12-01 Fanuc Corporation Information processing device
JP7032596B1 (en) * 2021-06-28 2022-03-08 Dmg森精機株式会社 Machine tool control device and machine tool control method
WO2023276801A1 (en) * 2021-06-28 2023-01-05 Dmg森精機株式会社 Machine tool control device
JP2023005227A (en) * 2021-06-28 2023-01-18 Dmg森精機株式会社 Machine tool controller and machine tool control method
WO2023027251A1 (en) * 2021-08-27 2023-03-02 한화정밀기계 주식회사 Lathe control apparatus and method
WO2023139771A1 (en) * 2022-01-21 2023-07-27 ファナック株式会社 Information generation device and computer-readable storage medium

Similar Documents

Publication Publication Date Title
EP0689113B1 (en) Numerically controlled machine tool management system
WO2003071368A1 (en) Robot control device
US20100204818A1 (en) Numerical control device
JP2000066711A (en) Numerical controller for machine tool
US5457369A (en) Numerical control system
JP2003202910A (en) Parameter setting apparatus for numerically controlled machine tool
JP4038216B2 (en) Sequence program editing device
JPH08328829A (en) Parameter change history managing system
JP2002126975A (en) Fixed cycle command preparation supporting method and nc device
US5299114A (en) Sequence program search method
CN112783093A (en) Numerical controller
JPS60179803A (en) Method for editing and correcting program in numerical control device
JPH0863218A (en) Program constitution display system
JPH077839U (en) Numerical control device
JPH08272416A (en) Retrieving method for nc program
JPH07302107A (en) Numerical controller
JPH07334222A (en) Tool path editing system
JPH09244736A (en) Plant operation monitor device
JPH05303591A (en) Data base retrieval processing system
JP2643540B2 (en) Natural language display method and apparatus for programs created in NC language
JP2001109508A (en) Comment display device
JPH09120309A (en) Numerical controller
JP2003202904A (en) Input/output monitor device for programmable controller
WO1991001519A1 (en) System for resuming program for automatic operation
JPH11345008A (en) Numerical controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050713

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070816

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080205