JPH0720918A - Numerical controller with guidance function - Google Patents

Numerical controller with guidance function

Info

Publication number
JPH0720918A
JPH0720918A JP5147611A JP14761193A JPH0720918A JP H0720918 A JPH0720918 A JP H0720918A JP 5147611 A JP5147611 A JP 5147611A JP 14761193 A JP14761193 A JP 14761193A JP H0720918 A JPH0720918 A JP H0720918A
Authority
JP
Japan
Prior art keywords
guidance
program
unit
data
display
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.)
Withdrawn
Application number
JP5147611A
Other languages
Japanese (ja)
Inventor
Kenji Kato
健二 加藤
Koichi Takeda
浩一 武田
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.)
Shibaura Machine Co Ltd
Original Assignee
Toshiba Machine 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 Toshiba Machine Co Ltd filed Critical Toshiba Machine Co Ltd
Priority to JP5147611A priority Critical patent/JPH0720918A/en
Publication of JPH0720918A publication Critical patent/JPH0720918A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide the numerical controller with a guidance function which can display guidances corresponding to respective machines and improves the efficiency of part program editing operation by operators. CONSTITUTION:An operator generates a guidance rule 11 and data 12 for a guidance corresponding to each machine as a guidance program 10. This program 10 is converted into internal format by the guidance analysis part 13 of the numerical controller 1, and then classified into the rule 11 and data 12 and stored in a guidance storage part 14. The guidance for the editing time of a part program 4 is displayed on the basis of the rule 11 and data 12 that the operator has generated. Consequently, the guidances corresponding to the respective machines are displayed and the efficiency of editing operations for part programs 4 is improved.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ガイダンス機能付き数
値制御装置(NC装置)に係り、特にオペレータがパー
トプログラムを作成する際にガイダンス表示を行う数値
制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control device (NC device) having a guidance function, and more particularly to a numerical control device for displaying guidance when an operator creates a part program.

【0002】[0002]

【背景技術】従来より、工作機械の運転にあたっては、
その動作制御に数値制御装置が用いられている。この数
値制御装置は、加工対象である部品の形状や切削等の加
工方法等を示すパートプログラムに基づいて工作機械の
動作制御を行うようになっている。この数値制御装置の
なかには、マンマシンインターフェースを向上させるた
めに、数値制御装置の入力装置パネル等に設けられたヘ
ルプキー等を押すと、操作方法やパートプログラムに対
するガイダンスを、液晶パネルやCRTディスプレイ等
の表示部に表示するものもあった。
BACKGROUND ART Conventionally, when operating a machine tool,
A numerical controller is used to control the operation. This numerical control device controls the operation of a machine tool based on a part program indicating the shape of a part to be machined and a machining method such as cutting. In order to improve the man-machine interface, if you press the help key etc. provided on the input device panel of the numerical control device in this numerical control device, guidance for operating methods and part programs will be displayed on the liquid crystal panel, CRT display, etc. Some were displayed on the display of.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
ガイダンス内容は、数値制御装置メーカ(NCメーカ)
が作成しており、オペレータ(ユーザ)側では変更でき
ないために柔軟性に欠け、数値制御装置を使用する現場
にとっては、あまり役立つものではなかった。すなわ
ち、ガイダンスを作成するNCメーカにとっては、各ユ
ーザの使用状態に応じて個別にガイダンスを作成するこ
とは困難であり、このため各現場に共通する基本的な機
能に対してのみガイダンスを作成していた。例えば、同
じ工作機械でも付属品等が相違することがあり、この場
合にはパートプログラムに用いられる機械補助コード等
も、各機械によって使えるコードと使えないコードが存
在することになる。このため、使用できないコードを誤
って使用しないように、これらのコード類等に対するガ
イダンスは、各機械で共通に使用できるもの、つまり基
本的な機能に対してしかガイダンスを作成することがで
きなかった。これに対し、実際の現場でオペレータがガ
イダンスを必要とするのは、基本的な機能ではなく、各
現場や各機械固有の特殊な内容に対することが多く、こ
のため従来のNCメーカが作成したガイダンスでは殆ど
役立たないという問題があった。
However, the conventional guidance content is that the numerical controller manufacturer (NC manufacturer)
It was created by and is not flexible because it cannot be changed by the operator (user) side, and it was not very useful for the field using the numerical control device. That is, it is difficult for an NC maker who creates the guidance to create the guidance individually according to the usage state of each user. Therefore, the guidance is created only for the basic functions common to each site. Was there. For example, the same machine tool may have different accessories and the like. In this case, the machine auxiliary code and the like used in the part program also have codes that can and cannot be used by each machine. Therefore, in order not to use the unusable code by mistake, the guidance for these codes, etc. could be created only for the ones that can be commonly used by each machine, that is, the basic functions. . On the other hand, it is not the basic function that the operator needs the guidance at the actual site, but it is often for the special contents unique to each site or each machine. Therefore, the guidance created by the conventional NC manufacturer is required. Then there was a problem that it was almost useless.

【0004】また、近年は、多種少量生産が求められて
おり、ワークの加工等を利用するパートプログラムも多
種類作成する必要があり、たとえNCメーカ等に特別に
注文して現場に応じたガイダンスを作成したとしても、
次々と作成される多くのパートプログラムにガイダンス
を完全に対応させることはできないという問題もあっ
た。
Further, in recent years, various types of small-quantity production have been demanded, and it is necessary to create many types of part programs that utilize machining of workpieces. Even if a special order is made to an NC maker or the like, guidance according to the site is provided. Even if you create
There was also the problem that the guidance could not be fully applied to many part programs that were created one after another.

【0005】本発明の目的は、各現場の個々の機械に対
応したガイダンスを表示することができ、オペレータの
パートプログラム編集時の作業効率を向上できるガイダ
ンス機能付き数値制御装置を提供することにある。
An object of the present invention is to provide a numerical control device with a guidance function, which can display guidance corresponding to each machine at each site and can improve the work efficiency when an operator edits a part program. .

【0006】[0006]

【課題を解決するための手段】本発明は、パートプログ
ラムを入力する入力部と、この入力部からの入力に基づ
きパートプログラムを編集する編集部と、編集中のパー
トプログラムを表示する表示部と、この表示部上に所定
のガイダンスを表示するガイダンス作成部とを備えるガ
イダンス機能付き数値制御装置であって、前記ガイダン
ス作成部が利用するガイダンスルールおよびガイダンス
データが記憶されるガイダンス記憶部と、前記入力部や
外部機器から入力されたガイダンスルールおよびガイダ
ンスデータを、数値制御装置で利用可能な形式に変換し
て前記ガイダンス記憶部に記憶させるガイダンスプログ
ラム解析部とを備えることを特徴とする。
According to the present invention, there is provided an input section for inputting a part program, an editing section for editing the part program based on the input from the input section, and a display section for displaying the part program being edited. A numerical control device with a guidance function, comprising: a guidance creating unit for displaying a predetermined guidance on the display unit; a guidance storing unit for storing guidance rules and guidance data used by the guidance creating unit; A guidance program analysis unit for converting guidance rules and guidance data input from an input unit or an external device into a format that can be used by a numerical control device and storing the converted guidance data in the guidance storage unit.

【0007】ここで、前記ガイダンスルールとは、ガイ
ダンスの手順を定めたプログラムであり、例えば、パー
トプログラム編集時に所定のヘルプキー等を押した場合
には、カーソル位置のプログラムコマンドを読み込み、
所定のキーワードと比較し、該当するキーワードが存在
する場合には、そのキーワードに対応したガイダンスデ
ータを表示するなどの手順が記載されたものである。ま
た、ガイダンスデータとは、ガイダンスルールによって
表示される説明文や図形等の描画表示内容が記載された
ものである。
Here, the guidance rule is a program that defines a guidance procedure. For example, when a predetermined help key or the like is pressed at the time of editing the part program, the program command at the cursor position is read,
This is a procedure for comparing with a predetermined keyword and displaying the guidance data corresponding to the keyword when the corresponding keyword is present. In addition, the guidance data is the description display contents such as the explanatory text and the graphic displayed according to the guidance rule.

【0008】[0008]

【作用】このような本発明においては、予め、各現場の
オペレータ等が、各機械に応じたガイダンスルールおよ
びガイダンスデータを、数値制御装置の入力部やパーソ
ナルコンピュータ等の外部機器を用いて入力する。この
際、ガイダンスルールおよびデータは、所定のプログラ
ミング言語を用いて作成される。このガイダンスルール
およびガイダンスデータは、数値制御装置に設けられた
ガイダンスプログラム解析部によって各数値制御装置の
ハードウェアに対応した内部形式のガイダンスルールお
よびデータに変換され、ガイダンス記録部に記録され
る。
In the present invention as described above, the operator or the like at each site inputs the guidance rule and the guidance data corresponding to each machine in advance by using the input unit of the numerical controller or the external device such as the personal computer. . At this time, the guidance rule and the data are created using a predetermined programming language. The guidance rules and data are converted into guidance rules and data in an internal format corresponding to the hardware of each numerical control device by the guidance program analysis unit provided in the numerical control device, and recorded in the guidance recording unit.

【0009】このような設定がされた数値制御装置にお
いて、オペレータがパートプログラムを作成している際
にガイダンスを指示する操作を行うと、ガイダンス作成
部は、ガイダンス記録部に記憶されたガイダンスルール
およびデータを利用して表示部に所定のガイダンスを表
示する。従って、オペレータ等が作成したガイダンスル
ールおよびデータに基づいて、各現場の各機械に対応し
た適切なガイダンスを表示することが可能となり、ガイ
ダンス操作の利用価値が高まる。このため、オペレータ
がパートプログラム作成時にガイダンスを利用すれば、
適切な内容のガイダンスが表示されるため、作業効率が
向上する。また、ハードウェア構成およびソフトウェア
のシステム構成が異なった数値制御装置に、それぞれの
仕様に合わせたガイダンスプログラム解析部を備えつけ
ることにより、同一形式のガイダンスルールおよびデー
タを、機種の異なる各数値制御装置に移植することも可
能である。
In the numerical controller with the above settings, when the operator gives an instruction to give guidance while creating a part program, the guidance creating section causes the guidance rule and the guidance rule stored in the guidance recording section. A predetermined guidance is displayed on the display unit using the data. Therefore, based on the guidance rules and data created by the operator or the like, it is possible to display appropriate guidance corresponding to each machine at each site, and the utility value of the guidance operation is increased. Therefore, if the operator uses the guidance when creating the part program,
Guidance with appropriate content is displayed, improving work efficiency. In addition, by equipping the numerical control devices with different hardware configurations and software system configurations with the guidance program analysis unit that matches their specifications, the same type of guidance rules and data can be used for different numerical control devices of different models. It is also possible to transplant to.

【0010】[0010]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1には、本発明に基づくガイダンス機能付き
数値制御装置1の構成が示されている。数値制御装置1
は、オペレータによってキーボード等の入力部2および
編集部3により入力編集されたパートプログラム4をメ
モリ部5に記憶し、制御部6がこのパートプログラム4
に基づいて駆動部7を制御して工作機械8の動作制御を
行うものである。また、数値制御装置1には、入力編集
中のパートプログラム4等を表示するためのCRTディ
スプレイや液晶ディスプレイ等の表示部9も設けられて
いる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of a numerical controller 1 with a guidance function according to the present invention. Numerical control device 1
Stores in the memory unit 5 the part program 4 input and edited by the operator using the input unit 2 such as a keyboard and the editing unit 3, and the control unit 6 stores this part program 4
Based on the above, the drive unit 7 is controlled to control the operation of the machine tool 8. Further, the numerical controller 1 is also provided with a display unit 9 such as a CRT display or a liquid crystal display for displaying the part program 4 or the like during input editing.

【0011】数値制御装置1には、入力部2および編集
部3でパートプログラム4と同様に入力編集され、メモ
リ部5に記憶されたガイダンスプログラム10を解析
し、ガイダンスルール11とガイダンスデータ12とを
作成するガイダンスプログラム解析部13と、この解析
部13で作成されたルール11およびデータ12を記憶
するガイダンス記憶部14と、記憶されたルール11お
よびデータ12に基づいて表示部9に所定のガイダンス
を表示するガイダンス作成部15とが設けられている。
In the numerical controller 1, the guidance program 10 which is input and edited by the input unit 2 and the editing unit 3 in the same manner as the part program 4 and stored in the memory unit 5 is analyzed, and the guidance rule 11 and the guidance data 12 are stored. A guidance program analysis unit 13 for creating the rules, a guidance storage unit 14 for storing the rules 11 and the data 12 created by the analysis unit 13, and a predetermined guidance on the display unit 9 based on the stored rules 11 and the data 12. And a guidance creating section 15 for displaying.

【0012】図2には、ガイダンス機能付き数値制御装
置1の表示部9の一例が示されている。尚、本実施例の
数値制御装置1では、表示部9に隣接して入力部2が設
けられてパネル化されている。表示部9は、表示画面2
0と、表示画面20の下方に配置されたソフトキー21
とを備えている。表示画面20は、上から主画面表示域
22とソフトメニュー表示域23とに区分されている。
FIG. 2 shows an example of the display unit 9 of the numerical controller 1 with a guidance function. In the numerical controller 1 according to the present embodiment, the input unit 2 is provided adjacent to the display unit 9 to form a panel. The display unit 9 has a display screen 2
0 and a soft key 21 arranged below the display screen 20.
It has and. The display screen 20 is divided into a main screen display area 22 and a soft menu display area 23 from the top.

【0013】主画面表示域22は、パートプログラム4
やガイダンスプログラム10が表示され、オペレータは
この表示域22の表示を見ながら入力部2から各プログ
ラムを入力編集することになる。ソフトメニュー表示域
23は、図3に拡大して示すように、ソフトキー21の
F1〜F8の各キーに対応して区分けされるとともに、
F1〜F7キーに対応した部分は上下二段に区分けされ
ている。そして、F1〜F7に関しては、上下キーを押
して上段側あるいは下段側を選択した後でF1〜F7を
押すことで、各々に表示された項目の処理が実行され
る。尚、F8キーは上下キーに関係無く、上段側あるい
は下段側の何れが選択されていてもプログラム編集終了
の処理が実行される。
The main screen display area 22 is a part program 4
The guidance program 10 is displayed, and the operator inputs and edits each program from the input unit 2 while watching the display in the display area 22. As shown in the enlarged view of FIG. 3, the soft menu display area 23 is divided corresponding to the F1 to F8 keys of the soft key 21, and
The part corresponding to the F1 to F7 keys is divided into two stages, upper and lower. With regard to F1 to F7, by pressing the up and down keys to select the upper side or the lower side and then pressing F1 to F7, the processing of the items displayed in each is executed. Regardless of whether the F8 key is the up or down key, regardless of whether the upper side or the lower side is selected, the process of ending the program editing is executed.

【0014】次に、本実施例における作用について説明
する。まず、パートプログラム4を作成する前に、各数
値制御装置1に対応したガイダンスプログラム10を作
成する。ガイダンスプログラム10は、パートプログラ
ム4と同様に、入力部2および編集部3によって作成さ
れ、メモリ部5に記憶される。図4には、ガイダンスプ
ログラム10の一例が示されている。ガイダンスプログ
ラム10は、ガイダンス表示を行う手順が記載されたガ
イダンスルール11と、そのガイダンスルール11に基
づいて表示部9に表示されるガイダンスデータ12とが
所定のプログラミング言語で記載されている。
Next, the operation of this embodiment will be described. First, before creating the part program 4, the guidance program 10 corresponding to each numerical controller 1 is created. Like the part program 4, the guidance program 10 is created by the input unit 2 and the editing unit 3 and stored in the memory unit 5. FIG. 4 shows an example of the guidance program 10. In the guidance program 10, a guidance rule 11 that describes a procedure for displaying guidance and guidance data 12 that is displayed on the display unit 9 based on the guidance rule 11 are described in a predetermined programming language.

【0015】このようなガイダンスプログラム10を作
成してメモリ部5に記憶した後に、オペレータがガイダ
ンス解析を入力部2からガイダンスプログラム解析部1
3に指令すると、ガイダンスプログラム解析部13は、
図5に示すガイダンス解析フローに従って、ガイダンス
プログラム10をガイダンスルール11とガイダンスデ
ータ12とに分離変換し、ガイダンス記憶部14に記憶
する。すなわち、ガイダンス解析を指令した場合には、
オペレータは、まずメモリ部5に記憶されている複数の
ガイダンスプログラム10の中から変換するプログラム
10を入力部2から指示する(処理S51)。
After creating such a guidance program 10 and storing it in the memory unit 5, the operator analyzes the guidance analysis from the input unit 2 to the guidance program analysis unit 1.
3 is issued, the guidance program analysis unit 13
According to the guidance analysis flow shown in FIG. 5, the guidance program 10 is separated and converted into the guidance rule 11 and the guidance data 12, and stored in the guidance storage unit 14. That is, when the guidance analysis is ordered,
First, the operator designates the program 10 to be converted from the plurality of guidance programs 10 stored in the memory unit 5 from the input unit 2 (process S51).

【0016】ガイダンスプログラム解析部13は、指定
されたプログラム10をメモリ部5から読み出し、数値
制御装置1で実行可能な内部形式に変換する(処理S5
2)。変換作業中は、プログラム10に文法エラーやデ
ータエラーがあるか否かを判断し(処理S53)、エラ
ーがある場合には、表示部9にエラー表示を行って解析
フローを終了する(処理S54)。一方、エラーが無い
場合には、内部形式に変換されたプログラム10をガイ
ダンスルール11とガイダンスデータ12とに区分し
(処理S55)、これらをガイダンス記憶部14に記憶
する(処理S56)。以上のガイダンスプログラム変換
処理を、必要に応じて複数のガイダンスプログラム10
に対して行い、準備作業を終了する。
The guidance program analysis unit 13 reads out the designated program 10 from the memory unit 5 and converts it into an internal format that can be executed by the numerical controller 1 (process S5).
2). During the conversion work, it is determined whether or not the program 10 has a grammatical error or a data error (process S53). If there is an error, an error is displayed on the display unit 9 and the analysis flow ends (process S54). ). On the other hand, if there is no error, the program 10 converted into the internal format is divided into the guidance rule 11 and the guidance data 12 (process S55), and these are stored in the guidance storage unit 14 (process S56). The above guidance program conversion processing is performed by a plurality of guidance programs 10 as necessary.
To complete the preparatory work.

【0017】次に、オペレータがパートプログラム4を
作成している時のガイダンス表示処理について説明す
る。パートプログラム4作成中にガイダンス表示を行う
場合には、ソフトキーメニュー表示域23の上段側に設
定した状態でF5キーを押し、ガイダンスモードを指定
する。尚、このガイダンスモードは、再度F5キーを押
すことで解除される。
Next, the guidance display process when the operator is creating the part program 4 will be described. When the guidance is displayed while the part program 4 is being created, the guidance mode is specified by pressing the F5 key with the soft key menu display area 23 set to the upper side. The guidance mode is canceled by pressing the F5 key again.

【0018】オペレータよりガイダンスモードの指定が
行われると、編集部3は現在のカーソル行のデータのコ
ピーをガイダンス作成部15に渡す。ガイダンス作成部
15は、渡されたデータを元に、図6に示すガイダンス
表示フローに基づいて、ガイダンス表示処理を行う。す
なわち、ガイダンス作成部15は、編集部3から渡され
たカーソル行のデータを解析し、所定のコマンドをガイ
ダンス対象データとして読み出す(処理S61)。つま
り、カーソル行のデータには、パートプログラムのコマ
ンドだけでなく、座標位置等を示すパラメータが含まれ
ることがあり、このためガイダンス対象データがコマン
ドのみとなるようにデータ解析を行う。
When the guidance mode is designated by the operator, the editing section 3 passes a copy of the data of the current cursor line to the guidance creating section 15. The guidance creating unit 15 performs guidance display processing based on the passed data, based on the guidance display flow shown in FIG. That is, the guidance creating unit 15 analyzes the data of the cursor line passed from the editing unit 3 and reads a predetermined command as guidance target data (process S61). That is, the data on the cursor line may include not only the command of the part program but also a parameter indicating the coordinate position and the like. Therefore, data analysis is performed so that the guidance target data is only the command.

【0019】次に、この対象データを、ガイダンス記憶
部14のガイダンスルール11に基づいて設定されてい
るキーワードと対応させ、該当するキーワードがあるか
検索する(処理S62)。例えば、図4に示すガイダン
スルール11では、対象データの1文字目が「G,M,
T,…」等の設定された文字に該当するか否かをチェッ
クし、該当する場合には、文字の次の数字が設定された
数字に該当するか否かをチェックする。すなわち、対象
データが「G00,G01,…G81,…M00,…T00,…」等のパート
プログラムの所定のコマンドであるか否かを、対象デー
タを設定されたキーワードの中から検索できるか否かで
判断する(処理S63)。
Next, this target data is made to correspond to the keyword set based on the guidance rule 11 of the guidance storage unit 14, and it is searched whether or not there is a corresponding keyword (process S62). For example, in the guidance rule 11 shown in FIG. 4, the first character of the target data is “G, M,
It is checked whether or not it corresponds to a set character such as “T, ...”, and if so, whether or not the next number of the character corresponds to the set number. That is, whether or not the target data is a predetermined command of the part program such as "G00, G01, ... G81, ... M00, ... T00, ..." Can be searched from the set keywords. Is determined (process S63).

【0020】そして、対象データを検索できた場合に
は、そのデータに対応する所定のガイダンスを表示部9
に表示する(処理S64)。この際、ガイダンスは、図
7に示すように、表示部9の主編集域にポップアップウ
ィンドウ71として表示される。例えば、図7に表示さ
れたパートプログラム4の第1行目にカーソルが位置す
る状態でF5を押してガイダンス指示を行った場合に
は、図8に示すように「WORK123 」のキーワードに対応
するガイダンスである「ワークNo.123加工用工具一覧」
を表示する。また、図7のパートプログラム4の第3行
目でガイダンス指示を行った場合には、図9に示すよう
に、「G81 」のキーワードに対応するガイダンスである
「ドリルサイクル/G81」を表示し、G81 コマンドに使用
する穴位置等のパラメータや、その図等を表示する。
When the target data can be retrieved, a predetermined guidance corresponding to the data is displayed on the display unit 9
Is displayed (step S64). At this time, the guidance is displayed as a popup window 71 in the main editing area of the display unit 9, as shown in FIG. For example, when the guidance is instructed by pressing F5 while the cursor is located on the first line of the part program 4 displayed in FIG. 7, the guidance corresponding to the keyword “WORK123” as shown in FIG. "Work No.123 Machining tool list"
Is displayed. When a guidance instruction is given in the third line of part program 4 in FIG. 7, “drill cycle / G81” which is the guidance corresponding to the keyword “G81” is displayed as shown in FIG. , G81 Displays parameters such as hole positions used for commands and their figures.

【0021】このようなガイダンス表示は、ガイダンス
ルール11において、各キーワード毎に実行されるガイ
ダンス表示プログラム「ELSDSPD(G00),…ELSDSPD(Gn)
」によって行われる。各ガイダンス表示プログラム
は、例えば図4に示すようなガイダンスデータ12を表
示部9に表示する。図4のガイダンスデータ12は、キ
ーワードが「G00 」の場合の「ELSDSPD(G00)」によって
実行される画面表示命令の一部であり、前半部分はガイ
ダンス用の説明文字列を表示する命令群12Aで、後半
部分はガイダンス用の図解を描く命令群12Bである。
Such a guidance display is provided in the guidance rule 11 by the guidance display program "ELSDSPD (G00), ... ELSDSPD (Gn)" which is executed for each keyword.
Is done by. Each guidance display program displays the guidance data 12 as shown in FIG. 4, for example, on the display unit 9. The guidance data 12 in FIG. 4 is a part of the screen display command executed by "ELSDSPD (G00)" when the keyword is "G00", and the first half part is a command group 12A for displaying a guidance character string for guidance. The latter half is a command group 12B for drawing an illustration for guidance.

【0022】一方、対象データが設定されたキーワード
に該当せず、検索できない場合には、表示部9にデータ
無しのメッセージを表示し(処理S65)、終了する。
On the other hand, if the target data does not correspond to the set keyword and the search cannot be performed, a message indicating no data is displayed on the display unit 9 (step S65), and the process ends.

【0023】このような本実施例によれば、パートプロ
グラム4の作成時に利用するガイダンス内容を、ユーザ
であるオペレータがガイダンスプログラム10を作成す
ることで自由に設定することができる。このため、各現
場に配置された数値制御装置1毎にガイダンスを設定で
き、実際に作業を行う現場にあった適切なガイダンス表
示を行えるため、パートプログラム4作成時の作業性を
向上でき、オペレータの習熟度の向上も早くすることが
できる。特に、各現場における数値制御装置1に特有な
部分に関してもガイダンスを表示できるため、従来に比
べて作業効率を著しく向上することができる。
According to the present embodiment as described above, the guidance content used when creating the part program 4 can be freely set by the operator who is the user creating the guidance program 10. Therefore, the guidance can be set for each numerical control device 1 arranged at each site, and the appropriate guidance display suitable for the site where the actual work is performed can be performed, so that the workability at the time of creating the part program 4 can be improved and the operator The proficiency level of can be improved quickly. In particular, since guidance can be displayed even for a portion peculiar to the numerical control device 1 at each site, work efficiency can be significantly improved as compared with the related art.

【0024】また、ガイダンス設定用のガイダンスプロ
グラム10は、所定のプログラミング言語により作成さ
れているので、このプログラミング言語を習得すること
で、必要なガイダンス機能をオペレータ自身が作成して
実現することができる。さらに、ガイダンスプログラム
10が所定のプログラミング言語を用いて作成され、か
つ各数値制御装置1にこのガイダンスプログラム10を
各数値制御装置1で利用可能な内部形式に変換するガイ
ダンスプログラム解析部13を設けることにより、作成
したガイダンスプログラム10をハードウェア構成やソ
フトウェアのシステム構成が異なる他の数値制御装置1
に容易に移植することができ、多機種対応を実現するこ
とができる。
Since the guidance program 10 for setting the guidance is created in a predetermined programming language, the operator can create and implement the necessary guidance function by learning this programming language. . Further, the guidance program 10 is created using a predetermined programming language, and each numerical control device 1 is provided with a guidance program analysis unit 13 for converting the guidance program 10 into an internal format usable by each numerical control device 1. The created guidance program 10 is used by another numerical control device 1 having a different hardware configuration or software system configuration.
It can be easily ported to and can be compatible with multiple models.

【0025】なお、本発明は前述の実施例に限定される
ものではなく、本発明の目的を達成できる範囲での変
形、改良等は本発明に含まれるものである。例えば、前
記実施例ではガイダンスプログラム10を、パートプロ
グラム4と同様に数値制御装置1の入力部2および編集
部3を利用して作成していたが、図10に示すように、
パーソナルコンピュータ等の外部機器80によりガイダ
ンスプログラムを作成してもよい。外部機器80により
作成されたガイダンスプログラムは、通信やフロッピー
ディスク81等を経由してガイダンスプログラム解析部
13に送られ、前記実施例と同様にガイダンスルール1
1およびガイダンスデータ12に変換されてガイダンス
記憶部14に記憶される。このような変形例において
も、前記実施例と同様の作用効果が得られるほか、各数
値制御装置1とは別にガイダンスプログラムを独立して
作成できるため、複数の数値制御装置1用のガイダンス
プログラムをまとめて作成することもでき、プログラム
作成効率を向上することができる。
It should be noted that the present invention is not limited to the above-described embodiments, but includes modifications and improvements as long as the object of the present invention can be achieved. For example, although the guidance program 10 is created by using the input unit 2 and the editing unit 3 of the numerical controller 1 in the same manner as the part program 4 in the above-described embodiment, as shown in FIG.
The guidance program may be created by an external device 80 such as a personal computer. The guidance program created by the external device 80 is sent to the guidance program analysis unit 13 via communication, the floppy disk 81, etc., and the guidance rule 1
1 and guidance data 12 and stored in the guidance storage unit 14. Even in such a modified example, in addition to the same operational effects as the above-described embodiment, a guidance program can be created independently of each numerical control device 1, so that a guidance program for a plurality of numerical control devices 1 can be created. They can be created collectively, and the efficiency of program creation can be improved.

【0026】さらに、外部機器80でガイダンスプログ
ラムを作成する場合には、その外部機器80にガイダン
スプログラム解析部13を設け、作成したプログラムを
外部機器80の環境で実行してもよい。この場合には、
実際の数値制御装置1ではなく、外部機器80で作成し
たプログラムの動作を検証することができ、ガイダンス
プログラムのデバック作業を容易に行え、完成度の高い
ガイダンスプログラムを作成することができるという利
点がある。
Further, when the guidance program is created by the external device 80, the guidance program analysis unit 13 may be provided in the external device 80 and the created program may be executed in the environment of the external device 80. In this case,
It is possible to verify the operation of the program created by the external device 80 instead of the actual numerical controller 1, facilitate the debugging work of the guidance program, and create the guidance program with a high degree of completion. is there.

【0027】また、ガイダンスを指示する操作は、前記
実施例のようにソフトキーのF5を押すものに限らず、
例えば入力部のヘルプキーを押すものなどでもよく、適
宜設定すればよい。また、前記実施例では、ガイダンス
ルール11およびガイダンスデータ12を含むガイダン
スプログラム10を作成して、ガイダンスプログラム解
析部13でガイダンスルール11およびガイダンスデー
タ12に分割変換していたが、予めガイダンスルール1
1およびガイダンスデータ12を別々に作成し、ガイダ
ンスプログラム解析部13では内部形式への変換のみを
行ってもよい。さらに、ガイダンスプログラム10を作
成する言語や、ガイダンスルール11およびガイダンス
データ12の具体的な形式は、前記実施例のもの限ら
ず、実施にあたって適宜設定すればよい。
The operation for instructing the guidance is not limited to pressing the soft key F5 as in the above embodiment,
For example, the help key of the input unit may be pressed, and the setting may be made appropriately. Further, in the above-described embodiment, the guidance program 10 including the guidance rule 11 and the guidance data 12 is created and divided into the guidance rule 11 and the guidance data 12 by the guidance program analysis unit 13.
1 and guidance data 12 may be created separately, and the guidance program analysis unit 13 may only perform conversion into the internal format. Further, the language for creating the guidance program 10 and the specific formats of the guidance rule 11 and the guidance data 12 are not limited to those in the above-described embodiment, and may be set appropriately for implementation.

【0028】また、数値制御装置1の他の部分の構成等
は任意であり、既存の装置に準じて適宜構成すればよ
い。また、数値制御装置1が動作制御する対象は工作機
械8に限らず他の装置等でもよく、この場合にはその装
置に適したガイダンスプログラム10を作成すればよ
い。
The configuration of the other parts of the numerical control device 1 is arbitrary and may be appropriately configured according to the existing device. Further, the object whose operation is controlled by the numerical control device 1 is not limited to the machine tool 8 and may be another device or the like. In this case, the guidance program 10 suitable for the device may be created.

【0029】[0029]

【発明の効果】以上のように、本発明のガイダンス機能
付き数値制御装置によれば、ガイダンスプログラム解析
部やガイダンス記憶部を設けることで、オペレータがガ
イダンスを作成、編集することができるので、各現場の
個々の数値制御装置に対応した適切なガイダンスを表示
することができ、オペレータのパートプログラム編集時
の作業効率を向上できるとともに、オペレータの習熟度
の向上も早くすることができるという効果がある。
As described above, according to the numerical controller with guidance function of the present invention, the operator can create and edit the guidance by providing the guidance program analysis section and the guidance storage section. Appropriate guidance corresponding to each numerical control device on site can be displayed, which has the effect of improving the work efficiency when the operator edits the part program, and improving the operator's proficiency quickly. .

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】前記実施例の表示部および入力部を示す模式図
である。
FIG. 2 is a schematic diagram showing a display unit and an input unit of the embodiment.

【図3】前記実施例の表示部のソフトメニュー表示域を
示す模式図である。
FIG. 3 is a schematic diagram showing a soft menu display area on the display unit of the embodiment.

【図4】前記実施例のガイダンスプログラムの一例を示
す図である。
FIG. 4 is a diagram showing an example of a guidance program of the embodiment.

【図5】前記実施例のガイダンス解析処理を示すフロー
チャートである。
FIG. 5 is a flowchart showing a guidance analysis process of the embodiment.

【図6】前記実施例のガイダンス表示処理を示すフロー
チャートである。
FIG. 6 is a flowchart showing a guidance display process of the embodiment.

【図7】前記実施例のガイダンスが表示されている表示
部を示す模式図である。
FIG. 7 is a schematic diagram showing a display unit on which guidance of the embodiment is displayed.

【図8】前記実施例の表示部に表示されるガイダンスの
一例を示す図である。
FIG. 8 is a diagram showing an example of guidance displayed on the display unit of the embodiment.

【図9】前記実施例の表示部に表示されるガイダンスの
他の例を示す図である。
FIG. 9 is a diagram showing another example of guidance displayed on the display unit of the embodiment.

【図10】本発明の変形例の構成を示すブロック図であ
る。
FIG. 10 is a block diagram showing a configuration of a modified example of the present invention.

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

1 ガイダンス機能付き数値制御装置 2 入力部 3 編集部 4 パートプログラム 5 メモリ部 9 表示部 10 ガイダンスプログラム 11 ガイダンスルール 12 ガイダンスデータ 13 ガイダンスプログラム解析部 14 ガイダンス記憶部 15 ガイダンス作成部 20 表示画面 21 ソフトキー 22 主画面表示域 23 ソフトメニュー表示域 71 ポップアップウィンドウ 80 外部機器 81 フロッピーディスク 1 Numerical control device with guidance function 2 Input section 3 Editing section 4 Part program 5 Memory section 9 Display section 10 Guidance program 11 Guidance rule 12 Guidance data 13 Guidance program analysis section 14 Guidance storage section 15 Guidance creation section 20 Display screen 21 Soft key 22 Main screen display area 23 Soft menu display area 71 Pop-up window 80 External device 81 Floppy disk

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 パートプログラムを入力する入力部と、
この入力部からの入力に基づきパートプログラムを編集
する編集部と、編集中のパートプログラムを表示する表
示部と、この表示部上に所定のガイダンスを表示するガ
イダンス作成部とを備えるガイダンス機能付き数値制御
装置であって、 前記ガイダンス作成部が利用するガイダンスルールおよ
びガイダンスデータが記憶されるガイダンス記憶部と、
前記入力部や外部機器から入力されたガイダンスルール
およびガイダンスデータを、数値制御装置で利用可能な
形式に変換して前記ガイダンス記憶部に記憶させるガイ
ダンスプログラム解析部とを備えることを特徴とするガ
イダンス機能付き数値制御装置。
1. An input unit for inputting a part program,
Numerical value with a guidance function that includes an editing unit that edits a part program based on the input from this input unit, a display unit that displays the part program that is being edited, and a guidance creating unit that displays predetermined guidance on this display unit. A guidance storage unit for storing guidance data and guidance rules used by the guidance creating unit,
A guidance function, comprising: a guidance program analysis unit that converts guidance rules and guidance data input from the input unit or an external device into a format that can be used by a numerical control device and stores the converted data in the guidance storage unit. Numerical control device.
JP5147611A 1993-06-18 1993-06-18 Numerical controller with guidance function Withdrawn JPH0720918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5147611A JPH0720918A (en) 1993-06-18 1993-06-18 Numerical controller with guidance function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5147611A JPH0720918A (en) 1993-06-18 1993-06-18 Numerical controller with guidance function

Publications (1)

Publication Number Publication Date
JPH0720918A true JPH0720918A (en) 1995-01-24

Family

ID=15434244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5147611A Withdrawn JPH0720918A (en) 1993-06-18 1993-06-18 Numerical controller with guidance function

Country Status (1)

Country Link
JP (1) JPH0720918A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11402819B2 (en) * 2019-02-26 2022-08-02 Fanuc Corporation Screen creation device and screen creation system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11402819B2 (en) * 2019-02-26 2022-08-02 Fanuc Corporation Screen creation device and screen creation system

Similar Documents

Publication Publication Date Title
WO2003071368A1 (en) Robot control device
JPH03154105A (en) Nc program generating device
US6587122B1 (en) Instruction syntax help information
US6751523B2 (en) NC machining simulation apparatus
WO2000038881A1 (en) Method and apparatus for providing numerical control information
CN111610754B (en) Picture making device and picture making system
JP2000259216A (en) System and method for programming industrial controller and recording medium recording software of the system and method
JPH0720918A (en) Numerical controller with guidance function
US5444614A (en) Apparatus for creating operation data concerning operating device
JPH09114621A (en) Gui picture design support method
JPS63133210A (en) Program preparation system for nc device
US5398314A (en) Apparatus for creating operation data concerning operating device
JPH07302107A (en) Numerical controller
JP2533370B2 (en) Control program creation method
JPH11194810A (en) Nc information editing device
JP2533372B2 (en) Control program creation method
JPH0588735A (en) Nc program editing device
JP3823938B2 (en) Program creation device
JPS61278909A (en) Interactive programming device
JP2700887B2 (en) Numerical control unit
WO1989001198A1 (en) Interactive programming apparatus
JPH08272416A (en) Retrieving method for nc program
JPH0863218A (en) Program constitution display system
JPH0358202A (en) Numerical controller with simulation function
JPH04152046A (en) Nc machine tool system dedicated for drill/tap machining

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000905