[go: up one dir, main page]

JPS63280304A - Numerical control system for program search and output by program name - Google Patents

Numerical control system for program search and output by program name

Info

Publication number
JPS63280304A
JPS63280304A JP11442987A JP11442987A JPS63280304A JP S63280304 A JPS63280304 A JP S63280304A JP 11442987 A JP11442987 A JP 11442987A JP 11442987 A JP11442987 A JP 11442987A JP S63280304 A JPS63280304 A JP S63280304A
Authority
JP
Japan
Prior art keywords
program
name
memory
input
search
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
JP11442987A
Other languages
Japanese (ja)
Inventor
Takao Sasaki
隆夫 佐々木
Kunihiko Murakami
邦彦 村上
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 JP11442987A priority Critical patent/JPS63280304A/en
Publication of JPS63280304A publication Critical patent/JPS63280304A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To search a program in work units by searching a program stored in a numerical controller in accordance with not only a program number but also a part of the program name and outputting the program. CONSTITUTION:A numerical controller 1 has a microprocessor 10, and a ROM 1, a RAM 12, a non-volatile memory 13, a reader/puncher interface 14, a CRT display device 15, a keyboard 16, and a shaft control circuit 17 are connected to the controller 1 by a bus 18. The non-volatile memory 13 is provided with a program memory 13a and a program management table 13b. Various programs and their program names are registered and stored in the program memory 13a; and when a registered program name is inputted and a search command is inputted, the program memory 13a is searched to display all program names including this information. When an output command is inputted, all programs including this information are outputted.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、コンピュータ内蔵の数値制御装置内に記憶さ
れたプログラムの探索及び出力方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a method for searching and outputting a program stored in a numerical control device built into a computer.

従来の技術 ]ンピュータ内蔵の数1a ilJ御装置(以下CNC
という)は、該QNC内のバブルメモリやCMOSメモ
リ等の不揮発性メモリ内に、各種加ニブログラムを記憶
させておき、該プログラムによって加工を制御するもの
であるが、従来この不揮発性メモリ内に記憶されている
プログラムをサーチする場合や選択プログラムをパンチ
アウト出力する場合、記憶されたプログラム毎に付され
たプログラム番号によってしか、サーチ又はプログラム
出力をさせることができない。
Conventional technology] A number 1A ILJ control device (hereinafter referred to as CNC) with a built-in computer
) is a system in which various programs are stored in non-volatile memory such as bubble memory or CMOS memory in the QNC, and processing is controlled by the programs. When searching for a stored program or punch-out outputting a selected program, the search or program output can only be performed using the program number assigned to each stored program.

発明が解決しようとする問題点 プログラムには、通常、プログラムで加工する加工物単
位でプログラム名称が付され、加工物単位毎内において
も各種仕分けがされている。例えばシャフトを加工する
プログラムに関しては5HAFT−1000,MA I
N、5HAFT−2000、MAIN、5HAFT−1
000,5LIB。
Problems to be Solved by the Invention A program is usually given a program name for each workpiece processed by the program, and various classifications are made within each workpiece unit. For example, for a program to process a shaft, 5HAFT-1000, MA I
N, 5HAFT-2000, MAIN, 5HAFT-1
000,5 LIB.

5HAFT−2000,SUB等と、加工物としてのシ
ャフト単位毎にその種類及びプログラムがメインのプロ
グラムかサブのプログラムか仕分けして、各々プログラ
ム番号が付されて格納されている。そこで、CNC内に
現在どのようなプログラムが格納されているか、特にシ
Vフトや7ランジ、ギV−等の加工物単位でどのような
プログラムが格納されているか知るためには、従来のよ
うなプログラム番号でのサーチによってでは不便であり
、時間を要する。
5HAFT-2000, SUB, etc. For each shaft unit as a workpiece, the type and program are classified as main programs or sub programs, and each program number is assigned and stored. Therefore, in order to know what kind of programs are currently stored in the CNC, especially what kind of programs are stored for each workpiece such as shift V-shift, 7-lunge, and gear V-, it is necessary to use the conventional method. Searching by program number is inconvenient and time consuming.

そこで、本発明の目的は、プログラム名の一部によって
CNC内に格納されているプログラムをサーチし、プロ
グラム出力できるようにし、加工物単位でプログラムサ
ーチ及び出力ができる数値制御方式を提供することにあ
る。
Therefore, an object of the present invention is to search for a program stored in a CNC using a part of the program name and output the program, and to provide a numerical control method that can search and output the program for each workpiece. be.

問題点を解決するための手段 各種加ニブログラムと各プログラム名称を記憶するプロ
グラムメモリを有し、プログラム名の少なくとも一部と
プログラムサーチ指令が入力されると上記プログラムメ
モリをサーチし、入力されたプログラム名の情報を有す
るすべてのプログラム名をCRT画面に表示し、プログ
ラム名の少なくとも一部とプログラム出力指令が入力さ
れると、該入力されたプログラム名の情報を有するすべ
てのプログラム名のプログラムを上記プログラムメモリ
よら読出し出力するように構成することによって上記問
題点を解決した。
Means for Solving the Problems The program memory is provided to store various programs and program names, and when at least a part of the program name and a program search command are input, the program memory is searched and the input program is searched. When at least a part of the program name and a program output command are input, all program names having the input program name information are displayed on the CRT screen. The above problem was solved by configuring the program memory to be read and output.

作  用 プログラムメモリ内には各種プログラムと各プログラム
名が登録記憶されており、この登録されたプログラム名
の一部又は全部を入力し、プログラムサーチ指令を入力
すると、上記プログラムメモリをサーチし入力されたプ
ログラム名の情報を含むプログラム8暮すべて表示させ
る。又、プログラム名の一部又は全部を入力し、プログ
ラム出力指令を入力すると上記プログラムメモリをサー
チして、入力されたプログラム名の情報を含むすべての
プログラムを出力する。
Various programs and each program name are registered and stored in the working program memory, and when a part or all of the registered program name is input and a program search command is input, the program memory is searched and the inputted program name is input. Displays all 8 programs including the program name information. Further, when a part or all of a program name is input and a program output command is input, the program memory is searched and all programs including information on the input program name are output.

実施例 第1図は、本発明の数値制御方式を実行する数値制御装
置1の一実施例の要部ブロック図で、該数値制御装置1
は、マイクロプロセッサ(以下CPUという)10を有
し、該CPL110には制御プログラムを記憶するRO
M11.データの一時記憶等に利用されるRAM12.
後述する各種加ニブログラムやプログラム管理テーブル
、その他各種パラメータ等を記憶するバブルメモリやC
MOSメモリ等で構成される不揮発性メモリ13゜加ニ
ブログラムをパンチアウトするためのり−ダ/パンチャ
インタフエース14.CRT表示装置15、キーボード
16及び工作機械等の該数値制御Il装置1ff1で制
御される各軸のサーボモータ等を駆動制御するための軸
制御回路17がバス18で接続されている。
Embodiment FIG. 1 is a block diagram of main parts of an embodiment of a numerical control device 1 that executes the numerical control method of the present invention.
has a microprocessor (hereinafter referred to as CPU) 10, and the CPL 110 has an RO that stores a control program.
M11. RAM 12 used for temporary storage of data, etc.
Bubble memory and C
13. A non-volatile memory composed of MOS memory, etc.; a gluer/puncher interface for punching out the Niprogram; 14. A CRT display device 15, a keyboard 16, and an axis control circuit 17 for driving and controlling the servo motors and the like of each axis controlled by the numerical control Il device 1ff1 such as a machine tool are connected by a bus 18.

第2図は、本発明の一実施例の上記不揮発性メモリ13
に設けられたプログラムメモリ13aとプログラム管理
テーブル13bの説明図で、プログラムメモリ13aに
は、各種プログラムが記憶されており、各プログラムの
記憶された先頭アドレスにはプログラム番号P1〜Pn
と該プログラムの名称PNA1〜PNAnが各々記憶さ
れている。又、プログラム管理テーブル13bには各プ
ログラムのプログラム番号P1〜pnと共に、プログラ
ムメモリ13aの先頭アドレスA1〜Anが記憶されて
いる。なお、各プログラムを入力する際には、プログラ
ムと共にそのプログラム名を入力し、プログラムとプロ
グラム名が入力されると、CPU1oは不揮発性メモリ
13のプログラムメモリ13a、プログラム管理テーブ
ル13bに上述のように夫々記憶させるもので、この点
本発明の要旨ではないので詳細は省略する。
FIG. 2 shows the nonvolatile memory 13 according to an embodiment of the present invention.
This is an explanatory diagram of a program memory 13a and a program management table 13b provided in the program memory 13a. Various programs are stored in the program memory 13a, and program numbers P1 to Pn are stored at the top address of each program.
and the names of the programs PNA1 to PNAn are stored, respectively. Further, the program management table 13b stores the program numbers P1 to pn of each program, as well as the start addresses A1 to An of the program memory 13a. Note that when inputting each program, the program name is input together with the program, and when the program and program name are input, the CPU 1o stores the information in the program memory 13a of the nonvolatile memory 13 and the program management table 13b as described above. Since this point is not the gist of the present invention, the details will be omitted.

次に、本実論例の動作を第3図の動作処理フローチャー
1−と共に説明する。CPU10は第3図に示す処理を
一定周期毎に行っており、まず、キーボード16が操作
され編集モードが選択されるとCPU10がそれを判断
しくステップ81)、CRT装置15にプログラム画面
が選択されたか否か判断しくステップS2)、プログラ
ム画面が選択されなければ、本発明のプログラム名によ
るサーチ及びプログラム出力処理は行わないものとして
この処理を終了し、他の処理へ移行する。−6方、プロ
グラム画面が選択されると、キーボード16上のソフト
キーよりプログラム名によるプログラムサーチ指令が入
力されたか否か判断しくステップS3)、プログラム名
によるプログラム指令が入力されると、次にプログラム
名の入力があったか否か判断する(ステップS4)、例
えば、登録記憶されているシャフト及び7ランジを加工
するプログラムをサーチする場合、オペレータがキーボ
ード16を操作し、加工物単位のS HA FT、FR
ANGEと入力し、実行キーを押し入力すると、CPU
 10はプログラム管理テーブル13bに記憶された各
プログラム番号毎のプログラムメモリアドレスA1〜A
nを夫々読出し、プログラムメモリ13aの読出したプ
ログラムメモリアドレスA1〜Anの記憶内容、即ちプ
ログラム名を読出し、読出した名称が5HAFT又はF
RANGEを含むものか否か判断し、プログラムメモリ
13a上をサーチする(ステップ85)。そして、該当
するものが見つかると(ステップ86)、そのプログラ
ム名PNA1〜PNAn、プログラム番号P1〜pn及
びそのプログラムの容ff1PC1〜PCnを第4図に
示すようにCRT装置15の画面に表示する(ステップ
87)。このようにして、入力されたプログラム名の一
部又は全部の情報を、その名称の中に含む現在登録記憶
されているすべてのプログラムがそのフルネームで表示
されることとなる。又、5HAFT又はFRANGE等
の代りにr−1000,MA INJとキー人力すると
プログラム名PNA1〜PNA nにrlooo、MA
INJを含むすべてのプログラム名PNA1〜PNAn
が表示されることとなる。なお、ステップS6において
、入力されたプログラム名をサーチして発見できなかっ
た場合には、アラームを表示させる(ステップ513)
Next, the operation of this practical example will be explained with reference to the operation processing flowchart 1- in FIG. The CPU 10 performs the process shown in FIG. 3 at regular intervals. First, when the keyboard 16 is operated and the editing mode is selected, the CPU 10 determines this (step 81), and a program screen is selected on the CRT device 15. If the program screen is not selected (step S2), it is assumed that the search by program name and program output process of the present invention will not be performed, and this process is terminated and the process proceeds to other processes. -6 On the other hand, when the program screen is selected, it is determined whether or not a program search command based on the program name has been input from the soft key on the keyboard 16 (step S3). Determine whether or not a program name has been input (step S4). For example, when searching for a registered and stored program for machining a shaft and 7 lunges, the operator operates the keyboard 16 and selects S HA FT for each workpiece. , F.R.
Input ANGE and press the execution key, then the CPU
10 is a program memory address A1 to A for each program number stored in the program management table 13b.
n, and read out the stored contents of the read program memory addresses A1 to An of the program memory 13a, that is, the program name, and if the read name is 5HAFT or F.
It is determined whether or not RANGE is included, and the program memory 13a is searched (step 85). When a corresponding one is found (step 86), the program names PNA1 to PNAn, program numbers P1 to pn, and contents ff1PC1 to PCn of the program are displayed on the screen of the CRT device 15 as shown in FIG. Step 87). In this way, all currently registered and stored programs whose names contain part or all of the input program name information are displayed with their full names. Also, if you enter r-1000, MA INJ instead of 5HAFT or FRANGE, the program names PNA1 to PNA n will be rlooo, MA.
All program names including INJ PNA1~PNAn
will be displayed. Note that in step S6, if the input program name is not found by searching, an alarm is displayed (step 513).
.

又、プログラム名による当該プログラムの出力を行う場
合にオペレータがプログラム名によるプログラム出力指
令をソフトキーより入力するとCPU10はステップS
8へ移行し、プログラム名によるプログラム出力指令が
入力されたことを判断し、次に、前述同様プログラム名
の入力があったか否か判断しくステップS9)、プログ
ラム名の入力があると、前述したステップS5と同様プ
ログラムメモリ13aより入力されたプログラム名を含
むプログラム名のプログラムをサーチする(ステップ5
10)。そして、サーチした結果、入力されたプログラ
ム名の一部又は全部の情報を含むプログラム名のプログ
ラムが発見されると(ステップ511)、そのプログラ
ムをリーダ/パンチャインタフエース14を介してパン
チアウトし出力する(ステップ512)。又、ステップ
S10でサーチして入力されたプログラム名の一部又は
全部の情報を含むプログラム名が発見されなかった場合
には(ステップ511)、前述同様アラームを表示する
(ステップ514)。
Furthermore, when the operator inputs a program output command using the program name using the soft key when outputting the program using the program name, the CPU 10 executes step S.
8, it is determined that a program output command using a program name has been input, and then it is determined whether a program name has been input as described above (step S9). If a program name has been input, the step S9) described above is executed. Similar to S5, the program memory 13a is searched for a program whose name includes the input program name (Step 5).
10). As a result of the search, if a program whose name includes part or all of the input program name is found (step 511), the program is punched out and output via the reader/puncher interface 14. (step 512). Further, if a program name containing part or all of the information of the program name input by searching in step S10 is not found (step 511), an alarm is displayed as described above (step 514).

なお、プログラム名によるプログラムサーチ指令又はプ
ログラム名によるプログラム出力指令が入力されなかっ
た場合には(ステップS3、ステップS8)、プログラ
ム名によるサーチ又は出力処理ではないとして、本処理
は終了し、別の処理へ移行する。
Note that if a program search command based on a program name or a program output command based on a program name is not input (step S3, step S8), this process is terminated as it is not a search or output process based on a program name, and another process is performed. Move to processing.

発明の効果 以上述べたように、本発明は、数値制御装置内に登録記
憶されているプログラムをプログラム名によって探索し
表示し、又、探索して当該プログラムを出力できるもの
で、しかも、プログラム名の一部を入力することによっ
て、その入力されたプログラム名を一部に有するすべて
のプログラムのプログラム名を表示またはプログラムを
出力することができるので、シャフト、7ランジ、ギヤ
ー等加工物単位のプログラム名によってその名を有する
プログラム名を全て表示及びプログラムを出力できるも
のであるから、現在数値制御装置内に登録されているプ
ログラムを容易に知らせることができると共に容易に探
索して出力することができる。
Effects of the Invention As described above, the present invention is capable of searching and displaying a program registered and stored in a numerical control device by program name, and outputting the searched program. By inputting a part of the program name, you can display the program names or output the program names of all programs that have the input program name as a part, so you can program the program for each workpiece such as shaft, 7 lunge, gear, etc. Since it is possible to display all the program names with that name and output the programs, it is possible to easily inform the programs currently registered in the numerical control device, and also to easily search and output the programs. .

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

第1図は本発明の一実施例を実施する数値&制御装置の
要部ブロック図、第2図は同実施例における不揮発性メ
モリ中のプログラム管理テーブルとプログラムメモリの
関係を示す説明図、第3図は同実施例の動作処理フロー
チャート、第4図は同実施例においてプログラム名によ
りサーチした結果を表示した例を示す図である。 1・・・数値制m装置、13a・・・プログラムメモリ
、13b・・・プログラム管理テーブル、A1〜八〇・
・・プログラムメモリアドレス、P1〜Pn・・・プロ
グラム番号、PNA1〜PNAn・・・プログラム名。 第1図
FIG. 1 is a block diagram of the main parts of a numerical and control device that implements an embodiment of the present invention, FIG. FIG. 3 is an operational processing flowchart of the same embodiment, and FIG. 4 is a diagram showing an example of displaying results searched by program name in the same embodiment. 1... Numerical system m device, 13a... Program memory, 13b... Program management table, A1-80.
...Program memory address, P1-Pn...Program number, PNA1-PNAn...Program name. Figure 1

Claims (2)

【特許請求の範囲】[Claims] (1)各種加工プログラムと各プログラム名を記憶する
プログラムメモリを有し、プログラム名の少なくとも一
部とプログラムサーチ指令が入力されると上記プログラ
ムメモリをサーチし、入力されたプログラム名の情報を
有するすべてのプログラム名をCRT画面に表示し、プ
ログラム名の少なくとも一部とプログラム出力指令が入
力されると、該入力されたプログラム名の情報を有する
すべてのプログラム名のプログラムを上記プログラムメ
モリより読出し出力するプログラム名称によるプログラ
ムの探索、出力数値制御方式。
(1) It has a program memory that stores various machining programs and each program name, and when at least a part of the program name and a program search command are input, the program memory is searched and information on the input program name is stored. All program names are displayed on the CRT screen, and when at least a part of the program name and a program output command are input, programs with all program names having information on the input program name are read out from the program memory and output. Search for programs by program name, output numerical control method.
(2)上記プログラムメモリには、各プログラムの先頭
アドレスにプログラム番号とプログラム名が記憶されて
おり、プログラム番号と該プログラム番号のプログラム
が記憶された上記プログラムメモリの先頭アドレスを記
憶するプログラム管理テーブルを記憶するメモリを設け
、プログラムサーチ指令又はプログラム出力指令が入力
されると、上記プログラム管理テーブルを介して上記プ
ログラムメモリをサーチする特許請求の範囲第1項記載
のプログラム名称によるプログラム探索、出力数値制御
方式。
(2) The program memory stores a program number and a program name at the start address of each program, and a program management table stores the program number and the start address of the program memory where the program with the program number is stored. , and when a program search command or a program output command is input, the program memory is searched via the program management table. Program search by program name and output numerical value according to claim 1 control method.
JP11442987A 1987-05-13 1987-05-13 Numerical control system for program search and output by program name Pending JPS63280304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11442987A JPS63280304A (en) 1987-05-13 1987-05-13 Numerical control system for program search and output by program name

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11442987A JPS63280304A (en) 1987-05-13 1987-05-13 Numerical control system for program search and output by program name

Publications (1)

Publication Number Publication Date
JPS63280304A true JPS63280304A (en) 1988-11-17

Family

ID=14637495

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11442987A Pending JPS63280304A (en) 1987-05-13 1987-05-13 Numerical control system for program search and output by program name

Country Status (1)

Country Link
JP (1) JPS63280304A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011191852A (en) * 2010-03-12 2011-09-29 Mitsubishi Electric Corp Numerical control method and device therefor

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61175705A (en) * 1985-01-30 1986-08-07 Amada Metoretsukusu:Kk Control method of nc program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61175705A (en) * 1985-01-30 1986-08-07 Amada Metoretsukusu:Kk Control method of nc program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011191852A (en) * 2010-03-12 2011-09-29 Mitsubishi Electric Corp Numerical control method and device therefor

Similar Documents

Publication Publication Date Title
KR850000362B1 (en) Background of the invention
KR930007256B1 (en) Nc program editing method for four-axis lathes
JPS6257852A (en) Automatic programming device
JPH0554129B2 (en)
JPH0313022B2 (en)
JPH03265906A (en) Programming system for interactive numerical controller
JPH0355259B2 (en)
US4814999A (en) Automatic programming system
US20030088329A1 (en) Method and device for generating or editing NC programs
US5457369A (en) Numerical control system
US7155298B2 (en) Device and method for generating and/or editing NC programs or NC tables
JP2003202910A (en) Parameter setting apparatus for numerically controlled machine tool
JPS58181108A (en) Numerical control system
JPH0313023B2 (en)
JPS63280304A (en) Numerical control system for program search and output by program name
JPH0242510A (en) Display system for working information
JPS61103213A (en) Production of numerical control data
JPH06202721A (en) Numerical control information generating device
EP0419672A1 (en) Method of plotting tool shape
JPH0857744A (en) Input data display method in interactive numerical control system
JPH053002B2 (en)
JPH0122106B2 (en)
JP2588944B2 (en) How to create NC data
JPH0347980B2 (en)
JPH0158016B2 (en)