JPS63100512A - Controller - Google Patents

Controller

Info

Publication number
JPS63100512A
JPS63100512A JP30801386A JP30801386A JPS63100512A JP S63100512 A JPS63100512 A JP S63100512A JP 30801386 A JP30801386 A JP 30801386A JP 30801386 A JP30801386 A JP 30801386A JP S63100512 A JPS63100512 A JP S63100512A
Authority
JP
Japan
Prior art keywords
program
programs
stored
comment
names
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
JP30801386A
Other languages
Japanese (ja)
Inventor
Yukari Tsubaki
椿 由香里
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of JPS63100512A publication Critical patent/JPS63100512A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily call a program to be called by storing comments corresponding to respective programs in a storage means together with programs and using these comments to search programs. CONSTITUTION:Program names 9a and 9b correspond to working programs 6a and 6b stored in address parts of working programs 6a and 6b together with program numbers 7a and 7b. Working names like synchronous feeding, cutting, punching, or tapping or symbols corresponding to working names are used as program names 9a and 9b. When a prescribed comment is inputted from an input means, an operation control means calls the program corresponding to the comment from the storage means and is displayed on a CRT display device.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は制御装置、特に複数のプログラムを格納して
おいて所定のプログラムをサーチする場合のその機能の
向上に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control device, and particularly to improving the functionality of a control device when a plurality of programs are stored and a predetermined program is searched.

〔従来の技術〕[Conventional technology]

第6図は従来の例えば数値@御装置の記憶装置に記憶さ
れている加ニブログラムを示す説明図であり、図におい
て6a、6bは各々加ニブログラムである。各加ニブロ
グラム6a、6bは各々プログラム番号7a、7bと加
工データの情報8a。
FIG. 6 is an explanatory diagram showing a Kani program stored in a storage device of a conventional numerical control device, for example, and in the figure, 6a and 6b each represent a Kani program. Each machine program 6a, 6b has a program number 7a, 7b and machining data information 8a, respectively.

8bからなる。この各加ニブログラム6a、6bをサー
チするために、CRT表示装置に加ニブログラムを各々
表示するときには、プログラム番号7a、7bを指示し
てそれにより加ニブログラム6a、6bを各々呼び出し
ている。
Consisting of 8b. In order to search for each of the cannibal programs 6a and 6b, when each of the cannibal programs is displayed on the CRT display device, program numbers 7a and 7b are designated, thereby calling up the cannibal programs 6a and 6b, respectively.

(発明が解決しようとする問題点〕 上記のように従来の数値制御装置においては記憶装置に
記憶されている加ニブログラム6a、6bをサーチする
ときに、プログラム番号7a、7bだけで加ニブログラ
ム6a、6bを呼び出しているため、プログラム番号7
a、7bだけではどのような内容の加ニブログラムであ
るかがただちに判別できず、呼び出したい加ニブログラ
ムとは異なる加ニブログラムを呼び出してしまうという
問題点があった。また、この問題点を解決するためには
、プログラム番号7a、7bを個々に確認した後にサー
チしなければならず、サーチに時間を要するという問題
点があった。
(Problems to be Solved by the Invention) As described above, in the conventional numerical control device, when searching for the program numbers 6a and 6b stored in the storage device, only the program numbers 7a and 7b are used to search the program numbers 6a and 6b. 6b, program number 7
There is a problem in that it is not possible to immediately determine the content of a Canadian program using only a and 7b, and a different Canadian program from the one desired to be called ends up being called. In addition, in order to solve this problem, the program numbers 7a and 7b must be checked individually before being searched, resulting in the problem that the search takes time.

この発明はかかる問題点を解決するためになされたもの
であり、呼び出したいプログラムを簡単に呼び出すこと
ができる制御装置を得ることを目的とするものである。
The present invention was made to solve this problem, and an object of the present invention is to provide a control device that can easily call a desired program.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る制御装置は、プログラム番号とその内容
に対応したコメントが付されたプログラムがそれぞれ記
憶された記憶手段と、入力手段から前記コメントに対応
する入力信号があったとき、前記記憶手段から当該コメ
ントに対応したプログラムを呼び出してCRT表示装置
に送出する演算制御装置と、を備えたものである。
The control device according to the present invention includes a storage means in which programs each having a program number and a comment attached thereto are stored, and when an input signal corresponding to the comment is received from the input means, from the storage means. The apparatus includes an arithmetic and control unit that calls a program corresponding to the comment and sends it to a CRT display device.

〔作 用〕[For production]

この発明においては、入力手段から所定のコメントが入
力されると、演算制御手段は記憶手段から前記コメント
に対応したプログラムを呼び出し、CRT表示装置はそ
のプログラムを表示する。
In this invention, when a predetermined comment is input from the input means, the arithmetic control means calls a program corresponding to the comment from the storage means, and the CRT display device displays the program.

〔実施例〕〔Example〕

第1図はこの発明の一実施例に係る数値制御装置のブロ
ック図である。図において1は処理する情報例えば加ニ
ブログラムを入力する入力装置、2は入力装置1で入力
された情報を記憶する記憶装置、3は記憶装置2の情報
を読取り、その指令により制御信号を出力する演算・制
御装置、4は演算・制御袋r3から出力する制御信号を
例えば工作機械に出力する出力装置、5は記憶装置2に
記憶された加ニブログラム等の情報を表示し、加ニブロ
グラムのチエツクまたは加工中の監視を行なうCRT表
示装置である。
FIG. 1 is a block diagram of a numerical control device according to an embodiment of the present invention. In the figure, 1 is an input device that inputs information to be processed, for example, a cannibal program, 2 is a storage device that stores the information input by the input device 1, and 3 is a device that reads information from the storage device 2 and outputs a control signal according to the command. An arithmetic/control device 4 is an output device for outputting a control signal outputted from the arithmetic/control bag r3 to, for example, a machine tool; 5 is an output device for displaying information such as the machine program stored in the storage device 2, and for checking or checking the machine tool; This is a CRT display device for monitoring during processing.

第2図は第1図のハード構成を示したブロック図である
0図において、10はCPU、11はCPUl0を作動
させるプログラムが記憶されているROM、12は数値
制御装置の加工データ等が記憶されるRAMである。1
3は加工データ等が穿孔されたテープ、14はそのテー
プ13の情報を読み取り、RAM12に記憶させるテー
プリーダである。15はキーボード、16はキーボード
インターフェースである。17はCRTコントローラで
、18はCRTである。19はサーボコントローラ、2
0はサーボコントローラ19の出力に基づいて工作機械
21を駆動する駆動回路である。
Fig. 2 is a block diagram showing the hardware configuration of Fig. 1. In Fig. 0, 10 is a CPU, 11 is a ROM in which a program for operating the CPU10 is stored, and 12 is a memory for processing data of the numerical control device, etc. This is the RAM that is used. 1
Reference numeral 3 denotes a tape on which processed data and the like are perforated, and 14 a tape reader that reads information from the tape 13 and stores it in the RAM 12. 15 is a keyboard, and 16 is a keyboard interface. 17 is a CRT controller, and 18 is a CRT. 19 is a servo controller, 2
0 is a drive circuit that drives the machine tool 21 based on the output of the servo controller 19.

次に、第1図と第2図との関係を説明するに、入力装置
1はテープリーダ14、キーボード15及びキーボード
インターフェース16によって構成され、記憶装置2は
RAM12によって構成されている。演算・制御装置3
はROMIIのプログラムに従って動作するCPUl0
によって構成され、出力装置4はサーボコントローラ1
9及び駆動回路によって構成され、CR7表示装置5は
CRTコントローラ17及びCRT18によって構成さ
れている。
Next, to explain the relationship between FIG. 1 and FIG. 2, the input device 1 is composed of a tape reader 14, a keyboard 15, and a keyboard interface 16, and the storage device 2 is composed of a RAM 12. Arithmetic/control device 3
is CPU10 that operates according to the ROMII program.
The output device 4 is configured by a servo controller 1.
The CR7 display device 5 includes a CRT controller 17 and a CRT 18.

第3図は、この実施例において、テープリーダ14又は
キーボード15を介してRAM12に記憶、された加ニ
ブログラムの内容を示す説明図であり、図において6a
、6b、7a、7b及び3a。
FIG. 3 is an explanatory diagram showing the contents of the computer program stored in the RAM 12 via the tape reader 14 or the keyboard 15 in this embodiment.
, 6b, 7a, 7b and 3a.

8bは第6図に示した従来例と全く同一のものである。8b is exactly the same as the conventional example shown in FIG.

9a、9bは、各加ニブログラム6a、6bのアドレス
部にプログラム番号7a、7b、、!−共に記憶された
各加ニブログラム6a、6bに対応するプログラム名で
ある。
9a, 9b are the program numbers 7a, 7b,...! in the address part of each Canadian program 6a, 6b. - the program name corresponding to each Canadian program 6a, 6b stored together;

各プログラム名9a、9bは各加ニブログラム例えば同
期送り、切削、穴あけ、タッピング等の加工名称あるい
は、この加工名称に応じた記号が表示される。
Each program name 9a, 9b is a processing name of each machine program such as synchronous feeding, cutting, drilling, tapping, etc., or a symbol corresponding to the processing name is displayed.

次に、RAM12に記憶されている加ニブログラム6a
、6’bをサーチするために呼び出してCRT18に表
示させるときのCPUl0の動作を第4図のフローチャ
ートに基づいて説明する。まず、加ニブログラムをサー
チするのに、加ニブログラム名に基づいて各加ニブログ
ラムを呼び出すのか、或いは加ニブログラム番号に基づ
いて呼び出すのかをオペレータが決定し、いずれかのモ
ード信号を入力する。このモード信号は例えばキーボー
ド15及びボードインターフェース16を介してRAM
12に取り込まれる(St)、次に、モード信号を判断
して(S2)そのモード信号がプログラム名であると判
断された場合には、オペレータによる次の入力をプログ
ラム名として取り込む(33)、次に、CPLIIOは
加工プログラムが記憶されている領域の最初アドレス番
号を設定しくS4)、!亥当するアドレスのプログラム
名をRAM12から呼び出す(S5)。そして、呼び出
されたプログラム名がオペレータにより設定されたプロ
グラム名と一致するか否かについて判断される(36)
、一致しないと判断された場合には、次に、加ニブログ
ラムが記憶されている全エリアでのサーチが終了したか
否かについて判断され(37)、まだ、全エリアでのサ
ーチが終了していない場合にはアドレス番号を進めて(
S8)、そのアドレスのプログラム名を呼び出しくS5
)、そのプログラム名がオペレータにより設定されたプ
ログラム名と一致するか否かが判断される(S6)、上
記のようなステップ85〜S8はプログラム名が一致す
るまで繰り返えされる。一致すると判断されると、該当
する加ニブログラムをRAM12のワーキングエリアに
格納しくS9)、次に、その加ニブログラムを解析し、
CRTコントローラ17を介してCRT18に1亥当す
る加ニブログラムを表示させる(510)、また、加ニ
ブログラムが記t9されている全エリアでのサーチが終
了しても該当するプログラム名が存在しない場合には、
CRTコントローラ17を介してCRT18にその旨表
示させる(Sll)。
Next, the Canadian program 6a stored in the RAM 12
, 6'b is called and displayed on the CRT 18, the operation of the CPU 10 will be explained based on the flowchart of FIG. First, when searching for a Canadian program, the operator determines whether to call each Canadian program based on the Canadian program name or the Canadian program number, and inputs one of the mode signals. This mode signal is transmitted to the RAM via the keyboard 15 and board interface 16, for example.
12 (St), then judges the mode signal (S2), and if it is determined that the mode signal is a program name, takes in the next input by the operator as the program name (33); Next, CPLIIO sets the first address number of the area where the machining program is stored (S4),! The program name at the appropriate address is called from the RAM 12 (S5). Then, it is determined whether the called program name matches the program name set by the operator (36)
If it is determined that they do not match, it is then determined whether the search has been completed in all areas where the Canadian program is stored (37), and if the search has not been completed in all areas yet. If not, advance the address number (
S8), call the program name at that address S5
), it is determined whether the program name matches the program name set by the operator (S6), and steps 85 to S8 as described above are repeated until the program names match. If it is determined that they match, the corresponding Canadian program is stored in the working area of the RAM 12 (S9), and then the Canadian program is analyzed,
Display one Canadian program on the CRT 18 via the CRT controller 17 (510), or if the corresponding program name does not exist even if the search in all areas where Canadian program is written is completed (510) teeth,
This is displayed on the CRT 18 via the CRT controller 17 (Sll).

一方、モード入力としてプログラム番号モードが入力さ
れた場合には従来と同様のプログラム番号によるサーチ
がなされる。この場合、前記のステップ83〜Sllに
おいてプログラム名をプログラム番号と置き換えればほ
ぼ同様の動作が繰り返えされる。
On the other hand, when the program number mode is input as the mode input, a search using the program number is performed as in the conventional case. In this case, if the program name is replaced with the program number in steps 83 to Sll, almost the same operation is repeated.

また、プログラム名をサーチする場合にはRAM12に
プログラム名とその加ニブログラムが記憶されているア
ドレスとからなるテーブルを予め記憶しておき、プログ
ラム名のみを順次サーチして、一致した場合には該当す
るアドレスのプログラム情報をCRT18に表示させる
ようにしてもよい。
In addition, when searching for a program name, a table consisting of the program name and the address where its Canadian program is stored is stored in advance in the RAM 12, and only the program name is searched sequentially. The CRT 18 may display the program information of the address.

なお、上記の実施例は数値制御装置にこの発明を適用し
た場合の例であるが、この発明はそれに限定されるもの
ではなく、複数のプログラムを記憶させておいてその内
の一つをサーチするような制御装置であれば同様に通用
されることはいうまでもない。
Note that although the above embodiment is an example in which the present invention is applied to a numerical control device, the present invention is not limited thereto. It goes without saying that any control device that does this can be used in the same way.

〔発明の効果〕〔Effect of the invention〕

この発明は以上説明したように記憶手段に記憶するプロ
グラムに各プログラムに対応したコメントを同時に記憶
させて、このコメントによりプログラムをサーチするこ
とができるようにしたから、各プログラムのプログラム
番号の内容を確認することを必要とせず容易に呼び出し
たいプログラムを呼び出すことができる。
As explained above, in this invention, comments corresponding to each program are simultaneously stored in the programs stored in the storage means, and the program can be searched using the comments, so that the contents of the program number of each program can be searched. You can easily call a desired program without having to confirm it.

更に、プログラムに対応したコメントによりプログラム
を呼び出すことができるから、まちがいなく加ニブログ
ラムを呼び出すことができ、サーチの時間を短縮するこ
とができるという効果もある。
Furthermore, since a program can be called up using a comment corresponding to the program, a Canadian program can be called up without fail, and the search time can be shortened.

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

第1図はこの発明の一実施例に係る数値制御装置のブロ
ック図、第2図は第1図の装置のハード構成を示すブロ
ック図、第3図は記憶装置に記憶された加ニブログラム
の内容を示す説明図、第4図は第2図の装置の動作を示
すフローチャート、第5図はプログラム名及びそのアド
レスからなるテーブルの説明図、第6図は従来の記憶装
置に記憶された加ニブログラムの説明図である。 1・・・・・・・・・入力装置、2・・・・・・・・・
記憶装置、3・・・・・・・・・演算・制御装置、4・
・・・・・・・・出力装置、5・・・・・・・・・CR
T表示装置、6a、6b・・・・・・・・・加ニブログ
ラム、7a、7b・・・・・・・・・プログラム番号、
8a、8b・・・・・・・・・加工データの情報、9a
、9b・・・・・・・・・プログラム名。 なお、図中同一符号は同−又は相当部分を示す。
FIG. 1 is a block diagram of a numerical control device according to an embodiment of the present invention, FIG. 2 is a block diagram showing the hardware configuration of the device in FIG. 1, and FIG. 3 is the contents of a computer program stored in a storage device. FIG. 4 is a flowchart showing the operation of the device shown in FIG. 2, FIG. 5 is an explanatory diagram of a table consisting of program names and their addresses, and FIG. 6 is an explanatory diagram of a computer program stored in a conventional storage device. FIG. 1... Input device, 2...
Storage device, 3... Arithmetic/control device, 4.
・・・・・・・・・Output device, 5・・・・・・・・・CR
T display device, 6a, 6b...Canada program, 7a, 7b...Program number,
8a, 8b... Processing data information, 9a
, 9b...Program name. Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】 プログラム番号とその内容に対応したコメントが付され
たプログラムがそれぞれ記憶された記憶手段と、 入力手段から前記コメントに対応する入力信号があつた
とき、前記記憶手段から当該コメントに対応したプログ
ラムを呼び出してCRT表示装置に送出する演算制御装
置と、を有する制御装置。
[Scope of Claims] Storage means in which programs each having a program number and a comment attached thereto are stored; and when an input signal corresponding to the comment is received from the input means, the comment is sent from the storage means. A control device comprising: an arithmetic control device that calls a program corresponding to the CRT display device and sends it to a CRT display device.
JP30801386A 1986-05-27 1986-12-25 Controller Pending JPS63100512A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP61-120224 1986-05-27
JP12022486 1986-05-27

Publications (1)

Publication Number Publication Date
JPS63100512A true JPS63100512A (en) 1988-05-02

Family

ID=14780950

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30801386A Pending JPS63100512A (en) 1986-05-27 1986-12-25 Controller

Country Status (1)

Country Link
JP (1) JPS63100512A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993019407A1 (en) * 1992-03-16 1993-09-30 Fanuc Ltd Method of creating operative program and method of executing the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993019407A1 (en) * 1992-03-16 1993-09-30 Fanuc Ltd Method of creating operative program and method of executing the same

Similar Documents

Publication Publication Date Title
JPS63100512A (en) Controller
JPS6154508A (en) Numerical controller
JPS58181108A (en) Numerical control system
JPS60201407A (en) Numerical control device having trace function of input/ output signals, and contents of memory
EP0483368A1 (en) Method of searching sequence program
JPS62224555A (en) Numerically controlling machine
JPS62281014A (en) Display system for descriptive data in numerical controller
EP0332703A1 (en) Data input system
JPH036527B2 (en)
JPS63184105A (en) Numerical controller
JPH01166204A (en) Documentation display device for programmable controller
JPS6132106A (en) Programming device of programmable controller
JPH0440505A (en) Numerical controller
JPH06161516A (en) Checking method for sequence program
JPH01244502A (en) Pc program display system
JPH077839U (en) Numerical control device
JPH0391069A (en) Document preparing device
JPH01187603A (en) Control device for machine tool or the like
JPH06236204A (en) Device retrieved result display method for programming device
JPH05120176A (en) On-line test device
JPS60263210A (en) Program generating method of numerical control device
JP2001067108A (en) Method and device for adding command for correcting coordinate system of nc data and computer readable recording medium stored with program for executing addition of command for correcting nc data coordinate system
JPH0670763B2 (en) Controller self-diagnosis device
JPH0836569A (en) File edition processor
JPS6238906A (en) Numerical controller