JPS6252608A - Interactive nc program generating method - Google Patents

Interactive nc program generating method

Info

Publication number
JPS6252608A
JPS6252608A JP19334085A JP19334085A JPS6252608A JP S6252608 A JPS6252608 A JP S6252608A JP 19334085 A JP19334085 A JP 19334085A JP 19334085 A JP19334085 A JP 19334085A JP S6252608 A JPS6252608 A JP S6252608A
Authority
JP
Japan
Prior art keywords
code
data
program
block
image
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
JP19334085A
Other languages
Japanese (ja)
Inventor
Satoru Hirose
広瀬 了
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP19334085A priority Critical patent/JPS6252608A/en
Publication of JPS6252608A publication Critical patent/JPS6252608A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To allow a novice to easily and properly generate an NC program with an EIA code, etc., by displaying the detailed image of a code G on a display screen and generating NC data of one block in reference to the image. CONSTITUTION:In correspondence to each code G, its detailed image is previously stored in a ROM 102. Due to the start of programming, a code G menu is displayed on the CRT 104a of a manual data input device 104 with a CRT, and the code G related to the NC data of one block, which is generated from the displayed code G menu, is selected. Then the detailed image of the selected code G is read out of the ROM 102, and displayed on the CRT 104a. By referring to the detailed image of the code G, the NC data of one block is generated. Afterwards, the code G menu display, code G selection, detailed image display and NC data generation processing are repeated to generate a desired part machining NC program.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は対話的にNGプログラムを作成するNCプログ
ラム作成方法に係り、特に初心者でも簡単にNGプログ
ラムを作成できるNCプログラム作成方法に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an NC program creation method for interactively creating an NG program, and particularly to an NC program creation method that allows even beginners to easily create a NG program.

〈従来技術〉 NC工作機械はISOあるいはEIA規格に準じて作成
されたNCテープ上の各指令に従って動作してワークに
所望の加工を施す。かかる、NCテープは工具の運動を
規定する数値データを所定の規則に従って入力すると共
に、適所に送り速度、Gコード、M−、S−、T−機能
命令等加工に必要なデータを挿入して作成される。とこ
ろで、かかるNCテープの作成においては、Gコードの
使い方及び該Gコードを指定した時の数値データの与え
方が難かしく、プログラミングに相当の熟練が要求され
る。特に、使用されるGコードが多い場合には全部のG
コードの機能及びGコードをどのような場合にどのよう
に指令するかを覚え切れず、熟練者でも取扱説明書を見
ながらプログラミングを行う場合があり、プログラミン
グが面倒で、長時間を要している。そして、かかる欠点
は加工物の形状が複雑になって(る程顕著になる。
<Prior Art> NC machine tools perform desired processing on a workpiece by operating according to instructions on an NC tape prepared in accordance with ISO or EIA standards. In this NC tape, numerical data that defines the movement of the tool is input according to predetermined rules, and data necessary for machining such as feed rate, G code, M-, S-, and T-function commands are inserted in appropriate places. Created. By the way, in creating such an NC tape, it is difficult to use the G code and how to give numerical data when specifying the G code, and considerable programming skill is required. In particular, if there are many G codes used, all G codes
Even experienced users may find it difficult to remember the function of the code and how to command the G code in what situations, and may end up programming while looking at the instruction manual, making programming tedious and time consuming. There is. Such defects become more noticeable as the shape of the workpiece becomes more complex.

このため、自動プログラミングM mを用いて工具の運
動、加工条件を定義し、しかる後EIAあるいはISO
コードに準じたNGプログラムに変換する自動プログラ
ミング装置が用いられるようになっている。かかる自動
プログラミング装置によれば簡単に、かつ複雑な形状で
あってもミスな(プログラミングができ有効である。
For this purpose, tool motion and machining conditions are defined using automatic programming Mm, and then EIA or ISO
Automatic programming devices are now being used that convert the code into NG programs. With this automatic programming device, it is possible to easily and effectively program even complex shapes without making any mistakes.

そして、プログラミングが簡単、短時間で行えることか
らNC装置にかかる自動プログラミング装置の機能を持
たせ、NC処理と並行して自動プログラミング処理がで
きるようになった自動プログラミング機能付きのNC装
置が実用化されている。
Since programming is easy and can be done in a short time, the NC device has been equipped with the function of an automatic programming device, and an NC device with an automatic programming function, which can perform automatic programming in parallel with NC processing, has been put into practical use. has been done.

〈発明が解決しようとしている問題点〉しかし、自動プ
ログラミング機能を持たせるとNC装置はそれだけ高価
になる。このため、低価格をねらった簡易型のプログラ
ミング機能付きのNC装置にはかかる高級な自動プログ
ラミング機能を持たせることができない。換言すれば、
低価格で簡易型のプログラミング機能付きのNC装置に
おいては依然として直接EIAコード等に基づいてNG
プログラムを作成せざるをえず、プログラミングが面倒
となり、従ってプログラミングに長時間を要し、しかも
プログラムミスが生じる確率が高く、更には相当の熟練
者でないとプログラミングができないという問題があっ
た。
<Problems to be solved by the invention> However, adding an automatic programming function makes the NC device more expensive. For this reason, a simple NC device with a programming function aimed at low cost cannot be provided with such a high-grade automatic programming function. In other words,
Low-priced and simple NC devices with programming functions are still failing based on direct EIA codes, etc.
There is a problem in that a program has to be created, making programming troublesome, requiring a long time to program, and having a high probability of programming errors.Furthermore, programming can only be done by a highly skilled person.

以上から本発明の目的は初心者でも簡単にミスな(EI
Aコード等でNGプログラムを作成できるNCプログラ
ム作成方法を提供することである。
From the above, the purpose of the present invention is to prevent even beginners from making mistakes (EI
It is an object of the present invention to provide an NC program creation method that can create an NG program using A code or the like.

本発明の別の目的は1ブロックのNCデータ作成に際し
て該Gコードの機能及び該Gコードの機能を実行させる
場合いかなるデータを入力しなければならないかい示す
画像をディスプレイ画面に表示させ、該画像を参照して
NCデータを作成できる対話型のNCプログラム作成方
法を提供することである。
Another object of the present invention is to display on a display screen an image indicating the function of the G code and what data must be input when executing the function of the G code when creating one block of NC data. An object of the present invention is to provide an interactive NC program creation method that allows reference to be made to create NC data.

く問題点を解決するための手段〉 第1図は本発明方法を実現するプログラミング機能付き
のNC装置のブロック図である。
Means for Solving the Problems> FIG. 1 is a block diagram of an NC device with a programming function that implements the method of the present invention.

101はプロセッサ、102は制御プログラム及び各G
コードに対応する画像を記憶するROM。
101 is a processor, 102 is a control program and each G
ROM that stores images corresponding to codes.

103は処理結果やNGプログラム等を記憶するRAM
、104はCRT付きマニュアルデータインプット装置
(CRT&MDI装置)、105はNCデータ入力装置
、106は軸制御部、107はインタフェース、108
は操作盤、210は工作機械である。
103 is a RAM that stores processing results, NG programs, etc.
, 104 is a manual data input device with CRT (CRT&MDI device), 105 is an NC data input device, 106 is an axis control section, 107 is an interface, 108
210 is an operation panel, and 210 is a machine tool.

CRT&MD I装置104はCRT104aとデータ
入力部104bを有している。
The CRT&MD I device 104 has a CRT 104a and a data input section 104b.

CRT104aの画面にはGコードメニュー画像や各G
コードに応じた詳細画像が適宜表示され、該画像を参照
してデータ入力部104bからデータを入力して順次1
ブロックずつNCデータが作成される。
The CRT104a screen displays G code menu images and each G code.
A detailed image corresponding to the code is displayed as appropriate, and data is input from the data input section 104b by referring to the image.
NC data is created block by block.

く作用〉 EIAコード等でNCテープを直接作成する場合、旋盤
用のNCプログラム等比較的簡単なものであってもその
作成を困難にしている理由は、各種Gコードの機能及び
所定のGコードを指定した時の数値データの与え方が認
識できていないことである。すなわち、Gコードのすべ
てを理解できないため、初心者はプログラミングが困難
になり、熟練者であってもいちいち取扱説明書を参照し
たリすることになる。
When creating NC tapes directly using EIA codes, etc., the reason why it is difficult to create even relatively simple NC programs such as NC programs for lathes is because of the functions of various G codes and the predetermined G codes. The problem is that the method of giving numerical data when specifying is not recognized. In other words, programming becomes difficult for beginners because they cannot understand all of the G code, and even experienced users have to refer to the instruction manual every time.

従って、1ブロックのNCデーク作成に際してGコード
に関する画像を表示させ、該画像を参照しながらデータ
を入力できろように構成すれば初心者であっても容易に
プログラミングができ、しかもいちいち取扱説明書を見
ろ必要がなくプログラミングが容易に、かつ短時間で行
えるようになる。
Therefore, if an image related to the G code is displayed when creating one block of NC data, and data can be input while referring to the image, even beginners can easily program. Programming can be done easily and in a short time without the need to look.

そこで、本発明においては、 予め、各Gコードに対応させて該Gコードの詳細画像を
メモリに記憶させておき、プログラミングの開始により
ディスプレイ画面にGコードメニューを表示し、該表示
されているGコードメニューよりこれから作成すべき1
ブロックのNCデータに関連するGコードを選択し、該
選択したGコードの詳細画像を前記メモリから読みだし
てディスプレイ画面に表示し、該Gコードの詳細画像を
参照して1ブロックのNCデータを作成し、以後Gコー
ドメニュー表示、Gコード選択、Gコードの詳細画像の
表示、1ブロックのNCデータ作成処理を繰り返して所
望の部品加工用NCプログラムを作成するようにしてい
る。
Therefore, in the present invention, a detailed image of each G code is stored in memory in advance in correspondence with the G code, and when programming is started, a G code menu is displayed on the display screen, and the displayed G code is displayed. 1 to be created from the code menu
Select a G code related to the NC data of a block, read the detailed image of the selected G code from the memory and display it on the display screen, and refer to the detailed image of the G code to read the NC data of one block. After that, the process of displaying a G code menu, selecting a G code, displaying a detailed image of the G code, and creating one block of NC data is repeated to create a desired NC program for machining parts.

〈実施例〉 第1図は本発明方法を実現するプログラミング機能付き
のNC装置のブロック図である。
<Embodiment> FIG. 1 is a block diagram of an NC device with a programming function that implements the method of the present invention.

101はプロセッサ、102は制御プログラム及び各G
コードに対応する画像を記憶するROM。
101 is a processor, 102 is a control program and each G
ROM that stores images corresponding to codes.

103は処理結果やNCプログラム等を記憶するRAM
、104はCRT付きマニュアルデータインプット装置
(CRT&MDI装置)、105はNCデータ入力装置
、106は軸制御部、107はインタフェース、108
は操作盤、210は工作機械である。
103 is a RAM that stores processing results, NC programs, etc.
, 104 is a manual data input device with CRT (CRT&MDI device), 105 is an NC data input device, 106 is an axis control section, 107 is an interface, 108
210 is an operation panel, and 210 is a machine tool.

CRT&MD I装置104はCRT 104 aとデ
ータ入力部104bを有している。第2図はCRT&M
D I装置104の表面図であり、CRT画面の下部に
は7つのソフトキー5KO−3K6が配設されており、
該ソフトキーのうちSKI〜SK5は画面下方の表示域
DPI〜DP5に対応しており、押圧されることにより
対応する表示域DPI〜DP5に表示されているデータ
を入力できるようになっている。データ入力部104b
は各種キーにより構成されており、英数字キーENK、
カーソルを上、下方向にシフトするためのカーソルキー
C3I、C32、CRT画面に表示される画像のページ
を前、後にめくるページキーPCI、PG2.6つのフ
ァンクションキーFNK、変更、挿入、削除処理に際し
て操作されるALTER−、lN5RT−、DELET
−キー、EOBキー、キャンセルキー’CA N 、イ
ンプットキーINPUT等を有している。尚、ファンク
ションキーFNKは現在位置を表示させる際に操作され
るPOSキー、NCプログラムを表示させたりプログラ
ミングに際して操作されるPRGRMキー、オフセット
の設定と表示に際して操作される0FFSETキー、パ
ラメータの設定と表示に際して操作されるPARAMキ
ー、アラーム表示に際して操作されるALAMキー、工
具軌跡等の表示に際して操作されるグラフィックキーを
有している。
The CRT&MD I device 104 has a CRT 104a and a data input section 104b. Figure 2 shows CRT&M
It is a front view of the DI device 104, in which seven soft keys 5KO-3K6 are arranged at the bottom of the CRT screen.
Among the soft keys, SKI to SK5 correspond to display areas DPI to DP5 at the bottom of the screen, and when pressed, data displayed in the corresponding display areas DPI to DP5 can be input. Data input section 104b
is composed of various keys, alphanumeric keys ENK,
Cursor keys C3I and C32 for shifting the cursor upward and downward; page keys PCI and PG2 for turning the image displayed on the CRT screen forward and backward; six function keys FNK for changing, inserting, and deleting processes; ALTER-, IN5RT-, DELET operated
- key, EOB key, cancel key 'CAN, input key INPUT, etc. The function keys FNK are the POS key operated to display the current position, the PRGRM key operated to display the NC program or for programming, the 0FFSET key operated to set and display the offset, and the parameter setting and display. It has a PARAM key that is operated when an alarm is displayed, an ALAM key that is operated when an alarm is displayed, and a graphic key that is operated when a tool trajectory or the like is displayed.

第1図に戻って、軸制御部106は図示しないがパルス
補間器と各軸サーボユニットを有し、パルス補間器は単
位時間当たりの各軸移動量をプロセッサ101から入力
され、該移動量に基づいてパルス補間演算を行って分配
パルスを発生してサーボユニットに入力し、サーボユニ
ットは入力されたパルスに基づいて周知のサーボ制御を
実行する。
Returning to FIG. 1, although not shown, the axis control unit 106 has a pulse interpolator and a servo unit for each axis, and the pulse interpolator receives the amount of movement of each axis per unit time from the processor 101, Based on the pulse interpolation calculation, distribution pulses are generated and input to the servo unit, and the servo unit executes well-known servo control based on the input pulses.

インタフェース107はプロセッサ101から指令され
たM+、S−、T−機能命令等を工作機械201に出力
し、工作@械からの各種信号をプロセッサに入力する。
The interface 107 outputs M+, S-, T- function commands and the like issued by the processor 101 to the machine tool 201, and inputs various signals from the machine to the processor.

す下、第3図に示す流れ図と第4図に示すCRT描画例
を参照して本発明の対話型NGプログラム作成方法を説
明する。
Below, the interactive NG program creation method of the present invention will be explained with reference to the flowchart shown in FIG. 3 and the CRT drawing example shown in FIG.

(1)操作盤108上の図示しないモード選択スイッチ
を用いてエディツトモードにすると共に、CRT&MD
 I装置104のファンクションキーのうちPRGRM
キーを押圧する。これにより、第4図(A)に示す初期
画像がCRT画面に表示される。尚、既にプログラムが
登録されていれば該プログラムがたとえばEIAフォー
マットで画面に表示される。以後、プログラムが登録さ
れていないものとして説明する。
(1) Use the mode selection switch (not shown) on the operation panel 108 to set the edit mode, and
Among the function keys of the I device 104, PRGRM
Press a key. As a result, the initial image shown in FIG. 4(A) is displayed on the CRT screen. Note that if a program has already been registered, the program will be displayed on the screen in, for example, EIA format. Hereinafter, the explanation will be given assuming that the program is not registered.

(2)ついで、新たに登録したいプログラムのプログラ
ム番号をワードアドレスMOの後に続けてCRT&MD
I装置104の英数字キーENKを用いて入力する(ア
ルファベットOは以下につづく数値がプログラム番号で
あることを示すワードアドレス語である)。たとえば、
プログラム番号10のプログラムを登録したければ、0
1oとキー人力した後EOBキーを押圧する。
(2) Next, enter the program number of the program you want to newly register after the word address MO and press CRT&MD.
Enter using the alphanumeric keys ENK of the I device 104 (the alphabet O is a word address word indicating that the following numeric value is a program number). for example,
If you want to register program number 10, 0
After pressing the 1o key, press the EOB key.

(3)プログラム番号入力後、ソフトキーSK5を押圧
して”対話型”を入力すると、CRT画面に第4図(B
)に示すようにGコードメニューが表示される。尚、G
コードメニューは各種Gコードとその機能の対応を示す
メニュー画像である。
(3) After entering the program number, press soft key SK5 and enter "interactive".
), the G code menu is displayed. Furthermore, G
The code menu is a menu image showing the correspondence between various G codes and their functions.

(4)GコードメニューがCRT画面に表示されている
状態において、プログラムした)−)機能に相当するG
コードを英数字キーENKより入力する。
(4) While the G code menu is displayed on the CRT screen, the G corresponding to the function programmed)-)
Enter the code using the alphanumeric keys ENK.

たとえば、位置決めをさせたい場合にはGコードメニュ
ーを見るとGOOであるから該GOOをキー人力する。
For example, if you want to perform positioning, when you look at the G code menu, you will see GOO, so you will manually key GOO.

尚、現画面中にプログラムしたい機能が表示されていな
ければ、ページキーPGZを押圧して次のGコードメニ
ューを表示させる。そして、プログラムしたい機能がで
てくる迄かかる操作を繰り返せばよい。又、プログラム
しない機能がGコードでなければ何もキー人力しない。
Incidentally, if the desired function to be programmed is not displayed on the current screen, press the page key PGZ to display the next G code menu. Then, these operations can be repeated until the desired function appears. Also, unless the function to be programmed is a G code, no key input is required.

(5)シかる後、ソフトキーSKIを押圧して”メニュ
ー“を入力すれば前ステップ入力したGコードの詳細画
面がCRT画面に表示される。第4図(C)はGコード
GOOの詳細画像例である。この詳細画像は(a) G
コードの機能及びいかなるデータを入力すべきかを示す
第1画像部分GIM1と、(bl数値データがブランク
のワードアドレス語のみよりなる1ブロック分のNCデ
ータを示す第2画像部分GIM2を有している。
(5) After inputting the G code, press the soft key SKI to input "menu", and the detailed screen of the G code input in the previous step will be displayed on the CRT screen. FIG. 4(C) is an example of a detailed image of the G code GOO. This detailed image is (a) G
It has a first image part GIM1 that shows the function of the code and what data should be input, and a second image part GIM2 that shows one block of NC data consisting only of word addresses with (bl numerical data blank). .

尚、前ステップで何もキー人力されていない場合には、
′メニュー”の入力によし第4図(D)に示すように標
準のEIAフォーマットによる詳細画像が表示される。
In addition, if no key has been input in the previous step,
Upon inputting the 'menu', a detailed image in standard EIA format is displayed as shown in FIG. 4(D).

(6)第4図(C)あるいは(D)に示す詳細画像が表
示されている状態において、必要なデータのワードアド
レス語迄カーソルキーC81あるいはC32を操作して
CRT画面上のカーソルC8Rを移動させる。尚、カー
ソルキーC32を押圧する毎にカーソルC3Rは右方向
に1アドレス語分シフトし、該当行にアドレス語がなく
なれば次の行の最初のアドレス語にシフトする。又、カ
ーソルキーC81を押せば、カーソルC3FLはカーソ
ルキーC32を押圧した場合と逆の動きをする。
(6) While the detailed image shown in Figure 4 (C) or (D) is displayed, move the cursor C8R on the CRT screen by operating the cursor key C81 or C32 to the word address of the required data. let It should be noted that each time the cursor key C32 is pressed, the cursor C3R is shifted to the right by one address word, and when there is no address word in the corresponding line, it is shifted to the first address word in the next line. Further, if the cursor key C81 is pressed, the cursor C3FL moves in the opposite direction to that when the cursor key C32 is pressed.

所望のワードアドレス語にカーソルC3Rを位置決めす
れば該ワードアドレス語が点滅し、しかる後英数字キー
ENKを押圧して数値データを入力し、1つの数値デー
タの入力が終了する毎にINPUTキーを押圧する。そ
して以後、必要な数値を同様な操作で入力する。第4図
(E)は必要な全データを入力した後のCRT描画例で
ある。
When the cursor C3R is positioned on the desired word address word, the word address word will blink, then press the alphanumeric key ENK to input numerical data, and press the INPUT key every time one numerical data input is completed. Press. Then, enter the necessary numerical values in the same way. FIG. 4(E) is an example of CRT drawing after inputting all necessary data.

(7)第4図(E)の画像が描画されている状態におい
て、lN5ERTキーを押圧すれば1ブロック分のNC
データがRAM103に登録される。
(7) While the image in Figure 4 (E) is being drawn, press the lN5ERT key to display one block of NC.
Data is registered in RAM 103.

(8)シかる後、所望の部品加工用NCプログラムの作
成が終了したかどうかをチェックする。
(8) After printing, check whether the creation of the desired part machining NC program has been completed.

(9) N Cプログラムの作成が終了していなければ
ソフトキーSKIを押圧して′°G、メニニー′°を入
力し、これによりCRT画面に第4図(B)に示すGコ
ードメニューを表示し、以後ステップ(3)以降の処理
を繰り返す。
(9) If the creation of the N C program has not been completed, press the soft key SKI and input '°G, many '°. This will display the G code menu shown in Figure 4 (B) on the CRT screen. Then, the process from step (3) onwards is repeated.

(l[Il一方、所望の部品加工用のNCプログラムの
作成が終了していればソフトキーSKOを押圧する。こ
れによ抄、いままでRAM103に1ブロックづつ登録
してきf:、NCプログラムがETAのフォーマットで
CRT画面に描画される。尚、RESETキーを押圧す
ればプログラムの頭出しを行うことができる。
(On the other hand, if the creation of the NC program for machining the desired parts has been completed, press the soft key SKO. The program is drawn on the CRT screen in this format.The program can be started by pressing the RESET key.

以上によりNCプログラムが作成されれば、操作盤10
8上のモード選択スイッチによ恒メモリ運転モードを選
択し、しかる後該NGプログラムを用いてNG制御を実
行する。
Once the NC program is created as described above, the operation panel 10
The constant memory operation mode is selected using the mode selection switch 8, and then the NG control is executed using the NG program.

尚、以上ではステップ(4)でGコードG00が選択さ
れたものとして説明したが、直線補間GOIが選択され
るとCRT画面には第4図(F)に示すGolの詳細画
像が描画される。そして、かがる直線補間をプログラム
する場合には同時に面とり及びコーナRのブロックもプ
ログラムすることができる。すなわち、直線補間の詳細
画像(第4図(F)参照)が表示されている時、ソフト
キーSK4を押圧して”面とり”を入力すると、第4図
(G)に示す面とりのブロックを伴う直線補間の詳細画
像がCRT画面に表示されるから、該画像を参照して必
要なデータをキー人力すれば面とり付き直線補間ブロッ
クのNCデ2夕を作成することができる。そして、同様
にコーナR付きの直線補間ブロックのNCデータを作成
することもできる。
Although the above explanation assumes that G code G00 is selected in step (4), when the linear interpolation GOI is selected, the detailed image of Gol shown in FIG. 4(F) is drawn on the CRT screen. . When programming linear interpolation with overcutting, chamfering and corner radius blocks can also be programmed at the same time. That is, when the detailed image of linear interpolation (see Fig. 4 (F)) is displayed, if you press soft key SK4 and input "chamfer", the chamfer block shown in Fig. 4 (G) will be displayed. Since a detailed image of the linear interpolation with chamfering is displayed on the CRT screen, by referring to the image and inputting the necessary data manually, it is possible to create the NC data of the linear interpolation block with chamfer. Similarly, it is also possible to create NC data for a linear interpolation block with rounded corners.

又、以上はNCプログラム作成処理であるが既に作成し
て登録しであるNCプログラムを呼び出してその内容を
確認したり、1ブロック単位でNCデータを揮入、削除
、変更することもできる。
Further, although the above is an NC program creation process, it is also possible to call up an already created and registered NC program and check its contents, or to import, delete, or change NC data in units of blocks.

たとえば、既に登録しであるNCプログラムを確認した
い場合には以下の操作を行う。すなわち、ファンクシラ
ンキーであるPRGRMキーを押し、しかる後確認した
いプログラム番号をアルファベットOにつづいてキー人
力する。これによりCRT画面にEIAフォーマットで
NCプログラムが表示されるから以後カーソルキーC3
2を押圧すればプログラム画像が1ブロックづつ変化し
て表示される。第4図(H)はプログラムエンドを含む
プログラム画像例である。
For example, if you want to check an NC program that has already been registered, perform the following operation. That is, press the PRGRM key, which is a funk key, and then input the program number you want to confirm by pressing the alphabet O followed by the key. This will display the NC program in EIA format on the CRT screen, so press cursor C3.
When 2 is pressed, the program image changes one block at a time and is displayed. FIG. 4(H) is an example of a program image including a program end.

そして、上記カーソルキーの操作で確認したいブロック
の先頭迄カーソルを移動させた後、ソフトキーSK5を
押圧して”対話型”を入力すれば、該ブロックの内容の
対話画面に変換されて第4図(I)に示すように表示さ
れる。尚、第4図(1)に示す画像の描画手順は、 (alプロセッサ101がカーソルで指示されているブ
ロックのGコードを判別し、 (b)シかる後該Gコードに対応する画像をROM10
2から読み出すと共に、 (C)ワードアドレス:i (X、Z)につづくブラン
ク部分に前記ブロックに含まれる数値(100゜200
)を埋め込むことにより行われる。
Then, after moving the cursor to the beginning of the block you want to confirm by operating the cursor keys, press soft key SK5 and input "interactive", the screen will be converted to an interactive screen with the contents of the block, and the fourth screen will be displayed. The screen is displayed as shown in Figure (I). The image drawing procedure shown in FIG. 4 (1) is as follows: (The al processor 101 determines the G code of the block indicated by the cursor, and (b) After drawing, the image corresponding to the G code is stored in the ROM 10.
(C) Word address: i (X, Z) and the blank part following the block contains the numerical value (100°200
).

又、以上は本発明をプログラミング機能付きのNC装置
に適用した場合であるが本発明はかかる場合に限らない
Moreover, although the present invention is applied to an NC device with a programming function, the present invention is not limited to such a case.

〈発明の効果〉 以上本発明によれば、予め各Gコードに対応させて該G
コードの詳細画像をメモリに記憶させておき、プログラ
ミングの開始によりディスプレイ画面にGコードメニュ
ーを表示し、該表示されているGコードメニューよりこ
れから作成すべき1ブロックのNCデータに関連するG
コードを選択し、該選択したGコードの詳細画像を前記
メモリ  −から読みだしてディスプレイ画面に表示し
、該Gコードの詳細画像を参照して1ブロックのNCデ
ータを作成し、以後Gコードメニュー表示、Gコード選
択、Gコードの詳細画像の表示、1ブロックのNCデー
タ作成処理を繰り返して所望の部品加工用NCプログラ
ムを作成するように構成したから、Gコードの機能及び
Gコードを指定した時入力すべききデータを画面を見る
だけで認識でき、従って初心者でも簡単にミスなくET
Aコード等でNCプログラムを作成でき、更にプログラ
ミングに要する時間を短縮することができる。
<Effects of the Invention> According to the present invention, the G code is preliminarily associated with each G code.
A detailed image of the code is stored in memory, and when programming starts, a G code menu is displayed on the display screen, and from the displayed G code menu, the G code related to one block of NC data to be created from now on is displayed.
Select a code, read out the detailed image of the selected G code from the memory and display it on the display screen, create one block of NC data by referring to the detailed image of the G code, and then use the G code menu Since the configuration was configured to create the desired parts machining NC program by repeating the display, G code selection, display of the G code detailed image, and 1 block NC data creation process, the G code function and G code were specified. You can recognize the data that should be entered at the time just by looking at the screen, so even beginners can easily enter ET without making mistakes.
NC programs can be created using A codes, etc., and the time required for programming can be further shortened.

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

第1図は本発明を実現するプログラミング機能付きNC
装置のブロック図、 第2図はCRT&MDI装置の表面図、第3図は本発明
の処理の流れ図、 第4図は本発明方法の描画例である。 101・・プロセッサ、 102・・ROM、103・・RAM。 104−−CRT&MDI装置、 104a=CRT。 104b・・データ入力部104b 特許出願人        ファナック株式会社代理人
          弁理士  齋藤千幹第4図 第4図 昭和60年ノ2月ノ元日 寺許庁長官 宇賀道部殿 1、事件の表示 昭和60年特許願第193340号 2、 発明の名称 対話型NCプログラム作成方法 3、補正をする者 事件との関係  特許出願人 住所 山梨県南部留郡忍野村忍草字古馬場3580番地
氏名(名称) ファナック株式会社 代表者  稲葉清右衛門 1、代 理 人 住所  〒101 東京都千代田区鍛冶町2丁目5番1
4号日本電機ビル2階 電話03 (258) 04乎
〇−氏名 (8471)弁理士 齋藤千幹 5、 補正の対象          ・−明細書の「
発明の詳細な説明の欄」 及び「特許請求の範囲の欄」 (1)本願明細書第1ページ第4行目から第2ページ第
13行目迄の「特許請求の範囲」の記載を別紙の通り訂
正する。 (2)本願明細書第17ページ第S行目の「限らない。 」の後に以下の文章を挿入する。 「更に、以上ではGコードメニュー及びGコード詳細画
像を順次表示させて1ブロック分のNCデータを作成す
る場合であるが、当然のことながらこれらを一々表示す
ることな(NCデータを作成して入力することもできる
。 又、Gコード詳細画像はNCデータの)え−マッFを示
す第2の画像部分GIM2 (第4図(C)参照)のみ
であってもよい。」 別紙 「2、特許請求の範囲 (11予め、各Gコードに対応させて該Gコードの詳細
画像をメモリに記憶させておき、 Cゴログラム作成方法。
Figure 1 shows an NC with programming function that realizes the present invention.
FIG. 2 is a block diagram of the device, FIG. 2 is a surface diagram of the CRT&MDI device, FIG. 3 is a flowchart of the process of the present invention, and FIG. 4 is a drawing example of the method of the present invention. 101...Processor, 102...ROM, 103...RAM. 104--CRT & MDI device, 104a=CRT. 104b...Data input section 104b Patent applicant: Fanuc Co., Ltd. Agent Patent attorney: Chiki Saito Figure 4 Figure 4: February 1985, New Year's Day Temple Office Commissioner Michibu Uga 1, Incident display 1985 Patent Application No. 193340 2, Name of the invention Interactive NC program creation method 3, Relationship with the case of the person making the amendment Patent applicant address 3580 Kobaba, Oshinomura, Nanbu Ru-gun, Yamanashi Prefecture Name: FANUC Stocks Company Representative: Seiemon Inaba 1, Agent Address: 2-5-1 Kajicho, Chiyoda-ku, Tokyo 101
2nd floor, Nippon Denki Building No. 4 Telephone: 03 (258) 04〇〇-Name (8471) Patent attorney Chiki Saito 5, Subject of amendment:
``Detailed Description of the Invention'' and ``Claims'' (1) The description of the ``Claims'' from the 4th line of the 1st page to the 13th line of the 2nd page of the specification is attached. Correct as follows. (2) Insert the following sentence after "without limitation" on page 17, line S of the specification of the present application. "Furthermore, although the above is a case where one block of NC data is created by sequentially displaying the G code menu and G code detailed image, it goes without saying that these cannot be displayed one by one (when creating NC data). In addition, the G code detailed image may be only the second image portion GIM2 (see Fig. 4 (C)) indicating the e-map F of the NC data.'' Attachment ``2. Claims (11) A method for creating a C-gologram, comprising storing detailed images of G-codes in advance in a memory in correspondence with each G-code.

Claims (3)

【特許請求の範囲】[Claims] (1)予め、各Gコードに対応させて該Gコードの詳細
画像をメモリに記憶させておき、 プログラミングの開始によりディスプレイ画面にGコー
ドメニューを表示し、 該表示されているGコードメニューよりこれから作成す
べき1ブロックのNCデータに関連するGコードを選択
し、 該選択したGコードの詳細画像を前記メモリから読みだ
してディスプレイ画面に表示し、 該Gコードの詳細画像を参照して1ブロックのNCデー
タを作成し、 以後Gコードメニュー表示、Gコード選択、Gコードの
詳細画像の表示、1ブロックのNCデータ作成処理を繰
り返して所望の部品加工用NCプログラムを作成するこ
とを特徴とする対話型NCプログラム作成方法。
(1) Store detailed images of each G code in memory in advance in correspondence with each G code, display the G code menu on the display screen when programming starts, and select from the displayed G code menu from now on. Select a G code related to one block of NC data to be created, read the detailed image of the selected G code from the memory and display it on the display screen, and refer to the detailed image of the G code to create one block. After that, the process of displaying a G code menu, selecting a G code, displaying a detailed image of the G code, and creating one block of NC data is repeated to create a desired NC program for machining parts. How to create an interactive NC program.
(2)前記詳細画像は、 Gコードの機能及び該Gコードの実行に必要なデータを
示す第1画像部分と、 数値データがブランクのワードアドレス語のみよりなる
1ブロック分のNCデータを示す第2画像部分と を有することを特徴とする特許請求の範囲第(1)項記
載の対話型NCプログラム作成方法。
(2) The detailed image includes a first image portion showing the function of the G code and the data necessary for executing the G code, and a first image portion showing one block of NC data consisting only of word addresses with blank numerical data. An interactive NC program creation method according to claim 1, characterized in that the method has two image parts.
(3)カーソルを第2画像部分における所定のワードア
ドレス語に位置させた後数値を入力する操作を繰り返し
て1ブロック分のNCデータを作成することを特徴とす
る特許請求の範囲第(2)項記載の対話型NCプログラ
ム作成方法。
(3) Claim (2) characterized in that one block of NC data is created by repeating the operation of positioning the cursor at a predetermined word address in the second image portion and inputting a numerical value. 2. Interactive NC program creation method described in section.
JP19334085A 1985-09-02 1985-09-02 Interactive nc program generating method Pending JPS6252608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19334085A JPS6252608A (en) 1985-09-02 1985-09-02 Interactive nc program generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19334085A JPS6252608A (en) 1985-09-02 1985-09-02 Interactive nc program generating method

Publications (1)

Publication Number Publication Date
JPS6252608A true JPS6252608A (en) 1987-03-07

Family

ID=16306264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19334085A Pending JPS6252608A (en) 1985-09-02 1985-09-02 Interactive nc program generating method

Country Status (1)

Country Link
JP (1) JPS6252608A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990013855A1 (en) * 1989-05-10 1990-11-15 Fanuc Ltd Conversational apparatus for preparing part program
JPH04369007A (en) * 1991-06-18 1992-12-21 Mitsubishi Electric Corp Numerical controller
JPH10133726A (en) * 1996-11-05 1998-05-22 Okuma Mach Works Ltd Numerical controller having working program editing function
JP2010146329A (en) * 2008-12-19 2010-07-01 Fanuc Ltd Numerical controller having multiple function keys
DE112021007661T5 (en) 2021-07-27 2024-02-29 Fanuc Corporation Numerical control device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990013855A1 (en) * 1989-05-10 1990-11-15 Fanuc Ltd Conversational apparatus for preparing part program
JPH04369007A (en) * 1991-06-18 1992-12-21 Mitsubishi Electric Corp Numerical controller
JPH10133726A (en) * 1996-11-05 1998-05-22 Okuma Mach Works Ltd Numerical controller having working program editing function
JP2010146329A (en) * 2008-12-19 2010-07-01 Fanuc Ltd Numerical controller having multiple function keys
DE112021007661T5 (en) 2021-07-27 2024-02-29 Fanuc Corporation Numerical control device

Similar Documents

Publication Publication Date Title
KR850000362B1 (en) Background of the invention
JPS61265240A (en) Editing of nc program for 4-axis lathe
US4939635A (en) Automatic programming system
US4700290A (en) Numerical control system
JPH01159705A (en) Parts shape inputting method
JPS6252608A (en) Interactive nc program generating method
US5006977A (en) Figure element revising method
US5043865A (en) Profile revising method
JPH01200413A (en) Production of analogous part program
JPH01200412A (en) Statement inserting method
JP2771701B2 (en) Interactive numerical controller
JPH05297925A (en) Interactive numerical controller
JPH0194404A (en) Nc data generation system
JPH053002B2 (en)
JPS63133210A (en) Program preparation system for nc device
JPS60186906A (en) Automatic programming method
JPS59195707A (en) Specifying method of shape of material in automatic programming for lathe
JP3437218B2 (en) Method and device for confirming and editing machining data in automatic programming device
JPH06202721A (en) Numerical control information generating device
EP0332703A1 (en) Data input system
JPH0158016B2 (en)
JPS59208634A (en) Input method of data
JPH06250722A (en) Interactive numerical controller
JPH056684B2 (en)
EP0453570A1 (en) Nc program preparation method of interactive numeric controller or automatic programming apparatus