JPH0633207U - NC program number list display device - Google Patents

NC program number list display device

Info

Publication number
JPH0633207U
JPH0633207U JP6887992U JP6887992U JPH0633207U JP H0633207 U JPH0633207 U JP H0633207U JP 6887992 U JP6887992 U JP 6887992U JP 6887992 U JP6887992 U JP 6887992U JP H0633207 U JPH0633207 U JP H0633207U
Authority
JP
Japan
Prior art keywords
program
subprogram
read
multiplicity
display device
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
JP6887992U
Other languages
Japanese (ja)
Inventor
秀明 石井
正恵 吉岡
Original Assignee
日立精機株式会社
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 日立精機株式会社 filed Critical 日立精機株式会社
Priority to JP6887992U priority Critical patent/JPH0633207U/en
Publication of JPH0633207U publication Critical patent/JPH0633207U/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】NCプログラムのプログラム番号の親子兄弟関
係を、分類データの入力等を必要とせずに一覧表示で
き、これによりオペレータがキー操作でプログラムを呼
出し、内容を確認しないと判らなかった今回使用される
サブプログラムが全て自動判明できるNCプログラム番
号の一覧表示装置を提供する。 【構成】所望のNCプログラムを指定するための指定手
段と、NCプログラムを解析し、サブプログラム呼出し
指令があれば、サブプログラムを読み込み解析し、サブ
プログラム終了指令があれば、前記サブプログラム呼出
し指令以降のブロックを読み込み解析する読み込み処理
手段と、サブプログラムのプログラム番号をNCプログ
ラムのプログラム番号と共に記憶する呼出しプログラム
番号記憶手段と、NCプログラムおよびサブプログラム
のプログラム番号を順次表示する表示手段と、からなる
ことを特徴とする。
(57) [Summary] [Purpose] The parent-child sibling relationship of the program number of the NC program can be displayed as a list without the need to enter classification data, etc., so that the operator must call the program by key operation and check the contents. Provide a list display device of NC program numbers that can automatically find all the subprograms used this time which are unknown. [Structure] Designating means for designating a desired NC program, and analyzing the NC program. If there is a subprogram call command, the subprogram is read and analyzed. If there is a subprogram end command, the subprogram call command is given. From the read processing means for reading and analyzing the subsequent blocks, the calling program number storage means for storing the program number of the subprogram together with the program number of the NC program, and the display means for sequentially displaying the program numbers of the NC program and the subprogram. It is characterized by

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

この考案は、記憶されたNCプログラムのプログラム番号を表示画面に一覧表 示するNCプログラム番号の一覧表示装置に係り、特に所定のNCプログラムに 関して使用される親子兄弟関係のプログラム番号を、分類データの入力等の操作 を必要とせずに一覧表示するNCプログラム番号の一覧表示装置に関する。 The present invention relates to an NC program number list display device which displays the stored program numbers of NC programs on a display screen, and in particular, classifies parent-child sibling relationship program numbers used for a given NC program. The present invention relates to an NC program number list display device that displays a list without requiring an operation such as data input.

【0002】[0002]

【従来の技術】[Prior art]

NCプログラムの中にある固定したシーケンスや繰り返し現れるパターンがあ る時、これをサブプログラムとしてあらかじめメモリ中に登録しておくと、プロ グラムを非常に簡単にできることが知られている。かかるサブプログラムをNC プログラム内にて呼び出すためにNCプログラムには予めサブプログラム呼出し 指令が挿入され、このサブプログラム呼出し指令によりサブプログラムが呼び出 され、サブプログラム中の終了指令(あるいはNCプログラム復帰指令)により NCプログラムに復帰する。なお、呼び出されたサブプログラムが更に別のサブ プログラムを呼び出すことも可能である。 このように、1つのNCプログラムを完結動作させるためには、複数本のサブ プログラムを呼び出して動作させることとなる。特に、最近は共通機能をサブプ ログラムとして作り、多くのサブプログラムを組み合わせて動作させることが一 般的であり、NCプログラムの生産性・保守性を向上させている。 It is known that if there is a fixed sequence or a pattern that appears repeatedly in the NC program, if this is registered in the memory in advance as a subprogram, the program can be made very simple. In order to call such a subprogram in the NC program, a subprogram call command is inserted in advance in the NC program, and the subprogram is called by this subprogram call command, and the end command (or NC program return command) in the subprogram is called. ) To return to the NC program. Note that the called subprogram can call another subprogram. In this way, in order to complete the operation of one NC program, a plurality of subprograms are called and operated. In particular, recently, it is common to create a common function as a subprogram and operate it by combining many subprograms, which improves the productivity and maintainability of NC programs.

【0003】[0003]

【考案が解決しようとする課題】[Problems to be solved by the device]

ところで、プログラム表示を分かりやすくする為、一覧表示やコメント文によ る分類表示があるが、一覧表示では各プログラム間の関連が複雑で不明な場合に は予め分類するためのキーデータを入れておく必要があり、使いずらいという問 題があった。 以上から、この考案はNCプログラム番号の親子兄弟関係等の分類データの入 力を必要とせずに一覧表示でき、これによりオペレータがキー操作でプログラム を呼出し、内容を確認しないと判らなかった使用サブプログラムが全て自動判明 できるNCプログラム番号の一覧表示装置を提供することを目的とする。 By the way, in order to make the program display easy to understand, there is a list display and a classification display by comment text.In the list display, if the relation between each program is complicated and unknown, enter key data for pre-classification. There was a problem that it was difficult to use. From the above, this invention can display a list without inputting classification data such as parent-child sibling relationships of NC program numbers, which allows the operator to call the program by key operation and confirm the contents without using sub-use. An object is to provide an NC program number list display device in which all programs can be automatically identified.

【0004】[0004]

【課題を解決するための手段】[Means for Solving the Problems]

前記課題を解決するために、この考案のNCプログラム番号の一覧表示装置は 、NCプログラムメモリに記憶されたNCプログラムを読み込み、このNCプロ グラム内で使用されるサブプログラムのプログラム番号を表示画面に一覧表示す るNCプログラム番号の一覧表示装置において、前記一覧表示の基となる所望の NCプログラムを指定するための指定手段と、指定されたNCプログラムを前記 NCプログラムメモリの中から検索し、検索したNCプログラムを1ブロックず つあるいは数ブロックずつ読み込み解析し、読み込んだ前記ブロックにサブプロ グラム呼出し指令があれば、呼び出したサブプログラムを1ブロックずつあるい は数ブロックずつ読み込み解析し、読み込んだ前記ブロックにサブプログラム終 了指令があれば、前記サブプログラム呼出し指令以降のブロックを読み込み解析 する読み込み処理手段と、サブプログラム呼出し指令が読み込まれれば、このサ ブプログラム呼出し指令により呼び出されるサブプログラムのプログラム番号を 前記指定されたNCプログラムのプログラム番号と共に記憶する呼出しプログラ ム番号記憶手段と、この呼出しプログラム番号記憶手段に記憶したNCプログラ ムおよびサブプログラムのプログラム番号を順次表示する表示手段と、からなる ことを特徴とする。 また、プログラムの読み込み時にNCプログラムおよびサブプログラムの使用 頻度を示す多重度をリセットし、前記読み込み処理手段においてサブプログラム 呼出し指令が読み込まれる毎に前記多重度の数値に1を加算し、プログラム番号 記憶手段においてサブプログラムのプログラム番号を記憶する際に前記加算した 多重度の数値を付して記憶させるために前記読み込み処理手段に出力し、サブプ ログラム終了指令と判断される毎に前記多重度の数値から1を減算する多重度カ ウンタと、前記プログラム番号を一覧表示するに際し、前記プログラム番号に付 して記憶した多重度の数値の大小によりNCプログラムおよびサブプログラム間 の親子兄弟関係を識別し、親子兄弟関係の順にプログラム番号を表示する表示手 段と、を設けたことを特徴とする。 In order to solve the above problems, an NC program number list display device of the present invention reads an NC program stored in an NC program memory and displays the program number of a sub program used in this NC program on a display screen. In a list display device of NC program numbers to be displayed in a list, a specifying means for specifying a desired NC program which is a basis of the list display, and a specified NC program are searched from the NC program memory and searched. The read NC program is read or analyzed one block at a time or several blocks at a time. If the read block has a sub-program call command, the called sub-program is read by one block or a few blocks and analyzed. If the block has a subprogram end directive The reading processing means for reading and analyzing the block after the sub program call instruction, and the program number of the sub program called by the sub program call instruction when the sub program call instruction is read, is the program number of the specified NC program. It is characterized by comprising a calling program number storage means to be stored together with it, and a display means for sequentially displaying the program numbers of the NC program and the sub programs stored in the calling program number storage means. Also, the multiplicity indicating the frequency of use of the NC program and the subprogram is reset when the program is read, and 1 is added to the multiplicity value each time the subprogram call command is read by the reading processing means to store the program number. When the program number of the subprogram is stored in the means, it is output to the reading processing means in order to add and store the added value of the multiplicity, and the value of the multiplicity is determined every time the subprogram end command is judged. When displaying a list of the multiplicity counter that subtracts 1 from the program number, the parent-child sibling relationship between the NC program and the subprogram is identified by the magnitude of the multiplicity value stored with the program number. A display means for displaying the program numbers in the order of parent-child siblings is provided. And wherein the door.

【0005】[0005]

【作用】[Action]

前記構成により、指定手段により指定したNCプログラムを読み込み処理手段 にてサブプログラムを検索し、プログラム番号記憶手段にて記憶した前記NCプ ログラムおよびサブプログラムのプログラム番号を表示手段を用いて呼出し一覧 表示側へリアルタイムで表示する。 また、呼出し一覧の関連プログラム番号を一括出力できる。 以上から、操作者への負担ゼロでNCプログラムの親子兄弟関係がわかる。予 め分類データを入力しなくて良い。キー操作による目視確認しなくて良い。 また、プログラム運転で必要なプログラムが全て分かる為、プログラムの入力 ミスや運転ミス(サブプログラムが無い)がなくなる。プログラムを出力する時 の出し忘れがなくなる。 With the above configuration, the NC program designated by the designating means is read, the subprogram is searched by the processing means, and the program numbers of the NC program and the subprogram stored in the program number storage means are displayed by using the display means. Display in real time. Also, the related program numbers in the call list can be collectively output. From the above, the parent-child sibling relationship of the NC program can be understood with no burden on the operator. You do not have to enter classification data in advance. It is not necessary to visually check by key operation. Also, since all the programs required for program operation are known, there are no program input errors or operation errors (no subprogram). No more forgetting to put out when outputting a program.

【0006】[0006]

【実施例】【Example】

以下にこの考案にかかるNCプログラム番号の一覧表示装置の一実施例を図面 に基づき説明する。 図1はこの考案の一覧表示装置によるCRT画面の説明図、図2はこの考案を 実現するプログラム番号一覧表示装置のブロック図、図3はこの考案のNCプロ グラムの一覧表示処理の流れ図、図4はこの考案のCRT画面の別の表示例図で ある。 図2において、1はこの考案装置を統轄制御する中央処理装置(CPU)、2 はNCプログラムのプログラム番号の一覧表示処理を行う制御プログラムを記憶 する制御プログラムメモリ(ROM)、3は実行中のデータや一覧表示するプロ グラムやプログラムの使用頻度を示す多重度等をファイル別に記憶するRAM、 4はキー操作によりメインプログラムから所望のプログラムを選択する際に用い るキーボード、5はこの考案のNCプログラムのプログラム番号の一覧表示デー タ等を表示する表示装置(CRT)、6はNCプログラムを記憶するNCプログ ラムメモリ、7はNCプログラムのプログラム番号の一覧表示処理を行うプログ ラム番号一覧表示処理部である。 CRT5において、この考案のNCプログラム番号の一覧表示データ等を出力 すると図1のCRT画面の表示となる。すなわち、オペレータが所定のNCプロ グラムのプログラム番号を指令すると、CPU1はNCプログラムメモリ6より 所定のNCプログラム(メインプログラム)を読み込み、メインプログラムに連 なるプログラムの番号のみを順次RAM3に記憶し、記憶したプログラムの番号 を順次リストとしてCRT画面の「プログラム番号一覧」のエリアPLに表示し 、この考案により所望のプログラムの親子兄弟関係のプログラムの番号を表示す る場合は「呼出し一覧」のエリアCLに表示する。なお、Kはカーソルであり、 所望のプログラムの番号に二点鎖線枠で表示されるカーソルKを合わせることに より、カーソルK内のプログラムの番号を指定するものである。 An embodiment of an NC program number list display device according to the present invention will be described below with reference to the drawings. 1 is an explanatory view of a CRT screen by the list display device of the present invention, FIG. 2 is a block diagram of a program number list display device for realizing the present invention, and FIG. 3 is a flow chart of a list display process of an NC program of the present invention, FIG. FIG. 4 is another display example diagram of the CRT screen of the present invention. In FIG. 2, 1 is a central processing unit (CPU) that controls the device under control, 2 is a control program memory (ROM) that stores a control program for displaying a list of program numbers of NC programs, and 3 is a running program. RAM for storing data, programs to be displayed in a list, and multiplicity indicating the frequency of use of programs for each file, 4 is a keyboard used to select a desired program from the main program by key operation, and 5 is the NC of the present invention A display device (CRT) for displaying the program number list display data of the program, 6 is an NC program memory for storing the NC program, and 7 is a program number list display processing unit for performing a list display process of the program number of the NC program. Is. When the list display data or the like of the NC program number of this invention is output to the CRT 5, the CRT screen shown in FIG. 1 is displayed. That is, when the operator issues a program number of a predetermined NC program, the CPU 1 reads a predetermined NC program (main program) from the NC program memory 6 and sequentially stores only the program numbers linked to the main program in the RAM 3. The stored program numbers are displayed as a list in sequence in the "program number list" area PL of the CRT screen. When this invention is used to display the parent-child sibling program numbers of the desired program, the "call list" area is displayed. Display on CL. It should be noted that K is a cursor, and the number of the program in the cursor K is designated by matching the cursor K displayed in the chain double-dashed line frame with the desired program number.

【0007】 次に、プログラム番号一覧表示処理部7の処理を図3の流れ図を用いて説明す る。なお、予めオペレータにより所望のメインプログラムが指定され、CRT画 面にはメインプログラムに連なるプログラムの番号のリストが「プログラム番号 一覧」のエリアPLに表示されているものとする。 オペレータは、「プログラム番号一覧」のエリアPLに表示されたリストの中 から親子兄弟関係を知りたいプログラムの番号に二点鎖線枠で示されるカーソル Kを合わせて選択し、プログラム番号一覧表示処理を起動させる。 処理が起動すると、CPU1はプログラムの使用頻度を示す多重度を0にリセ ットすると共に(多重度=0,ステップ11)、予め相互関係を一覧表示するた めにキーボード4の操作により選択されたプログラムをメインプログラムの中か らサーチし(ステップ12)、サーチしたプログラムに「多重度=0」を付して 、このプログラムを1ブロックずつあるいは数ブロックずつ読み込む処理を行う (ステップ13)。但し、CPU1はプログラムチェックの際と同様に機械を動 作するための実行指令は出力しない。Next, the processing of the program number list display processing unit 7 will be described with reference to the flowchart of FIG. It is assumed that a desired main program is designated in advance by the operator and a list of program numbers linked to the main program is displayed in the area PL of the "program number list" on the CRT screen. The operator selects from the list displayed in the area PL of the "program number list" the cursor K indicated by the chain double-dashed line to the number of the program whose parent-child sibling relationship is to be known, and selects the program number list display process. To start. When the processing is started, the CPU 1 resets the multiplicity indicating the frequency of use of the program to 0 (multiplicity = 0, step 11), and is selected by operating the keyboard 4 in order to display a list of mutual relationships in advance. This program is searched from the main program (step 12), "multiplicity = 0" is attached to the searched program, and the program is read one block at a time or several blocks at a time (step 13). However, the CPU 1 does not output the execution command for operating the machine as in the case of the program check.

【0008】 CPU1は読み込んだブロックを解析しプログラムが終了したかどうか、即ち 読み込んだブロックが「EOF(End of File)」かどうか判断する 処理を行い(ステップ14)、「EOF」でなければ、次にCPU1は読み込ん だブロックがサブプログラム呼出し指令(例えば、M98)かどうか判断する( ステップ15)。この判断においてサブプログラム呼出し指令でなければ、ステ ップ13からの処理を繰り返す。一方、サブプログラム呼出し指令であれば、C PU1は多重度を「+1」とし(多重度+1=多重度,ステップ16)、このサ ブプログラム呼出し指令が記されている前記選択されたメインプログラムにおけ る位置(例えば、このサブプログラムが記されている前記メインプログラムのシ ーケンス番号)を記憶すると共に(ステップ17)、サブプログラム呼出し指令 に記されたサブプログラム番号を「+1」された多重度を付して記憶する(ステ ップ18)。ついで、CPU1はサブプログラム呼出し指令に基づき、該当する サブプログラムを読み込む処理を行い(ステップ19)、ステップ13からの処 理を繰り返す。このように多重度の数値を各々のプログラム番号に付加すること によりプログラム間の親子兄弟関係が識別可能となる。The CPU 1 analyzes the read block and performs processing to determine whether the program has ended, that is, whether the read block is “EOF (End of File)” (step 14). If it is not “EOF”, Next, the CPU 1 determines whether the read block is a subprogram call command (for example, M98) (step 15). If it is not a subprogram call command in this determination, the process from step 13 is repeated. On the other hand, if it is a sub-program call command, CPU 1 sets the multiplicity to "+1" (multiplicity + 1 = multiplicity, step 16), and the selected main program in which this sub-program call command is written is The position (for example, the sequence number of the main program in which this subprogram is written) is stored (step 17), and the subprogram number written in the subprogram call command is incremented by "+1". It is memorized with a mark (step 18). Next, the CPU 1 performs a process of reading the corresponding subprogram based on the subprogram call command (step 19) and repeats the processes from step 13. In this way, by adding the numerical value of multiplicity to each program number, the parent-child sibling relationship between programs can be identified.

【0009】 ステップ14の判断において、「EOF」であれば、CPU1は多重度を「− 1」とし(多重度−1=多重度,ステップ20)、「−1」した多重度が0より 小さいかどうか判断する(多重度<0、ステップ21)。多重度<0でなければ 、この終了したプログラムはステップ16において「+1」された親サブプログ ラム内の子サブプログラムであるから、ステップ17にて記憶した親サブプログ ラムの位置に戻って続きの読み込む処理を行い(ステップ22)、ステップ13 からの処理を繰り返す。 一方、多重度<0であれば、前記選択されたメインプログラムのプログラムが 終了したことが確認され、CPU1はステップ18にて記憶した親子兄弟関係の サブプログラムの番号を前記選択プログラムの番号の後に順次CRT4に表示し 、この考案のプログラムの番号一覧表示処理を終了する。なお、CRT表示に際 しては、この考案のプログラムの番号一覧表示装置は図1の「呼出し一覧表示」 欄CLのようにステップ18の記憶順に親子兄弟関係のプログラムの番号を表示 する場合だけでなく、図4の「呼出し一覧表示」欄CLのように親子兄弟関係が 一目瞭然となるようなツリー形式でメインプログラムおよびサブプログラムのプ ログラム番号を表示することもできる。すなわち、ステップ18でサブプログラ ム番号を記憶する際に多重度を付して記憶するようにすれば、表示する場合この 多重度の数値の若い順ごとに線を付してツリー形式でサブプログラム番号を表示 することができる。If the determination at step 14 is “EOF”, the CPU 1 sets the multiplicity to “−1” (multiplicity −1 = multiplicity, step 20), and the multiplicity “−1” is smaller than 0. It is determined whether or not (multiplicity <0, step 21). If the multiplicity is not <0, this finished program is a child subprogram in the parent subprogram that has been "+1" in step 16, so return to the position of the parent subprogram stored in step 17 and continue reading. Processing is performed (step 22), and the processing from step 13 is repeated. On the other hand, if the multiplicity <0, it is confirmed that the program of the selected main program has ended, and the CPU 1 adds the subprogram number of the parent-child sibling relationship stored in step 18 after the number of the selected program. The numbers are sequentially displayed on the CRT 4, and the program number list display processing of the present invention is completed. In the CRT display, the program number list display device of the present invention only displays the program numbers of the parent-child sibling relationship in the memory order of step 18 as shown in the "call list display" column CL in FIG. Instead of this, the program numbers of the main program and the subprograms can be displayed in a tree format so that the parent-child sibling relationship can be seen at a glance like the "call list display" column CL in FIG. That is, if the subprogram number is stored with a multiplicity when it is stored in step 18, a line is added to each subprogram of the numerical value of the multiplicity when displaying the subprogram in a tree format. The number can be displayed.

【0010】[0010]

【考案の効果】[Effect of device]

以上説明したようにこの考案の装置によれば、指定したNCプログラムを読み 込み処理手段にてサブプログラムを検索し、記憶した前記NCプログラムおよび サブプログラムのプログラム番号を表示手段を用いてNCプログラムで使われて いる「呼出し一覧」表示側へリアルタイムで表示でき、更に、「呼出し一覧」の 関連プログラムのプログラム番号を一括出力表示できるから、NCプログラムの 親子兄弟関係を分類データの入力等を必要とせずに一覧表示でき、これによりオ ペレータがキー操作でプログラムを呼出し、内容を確認しないと判らなかった使 用サブプログラムのプログラム番号が全て自動判明できる。このことにより、こ の考案は操作者への負担ゼロでNCプログラムの親子兄弟関係がわかり、予め分 類データの入力を必要とせず、キー操作による目視確認の必要もない。またプロ グラム運転で必要なプログラムのプログラム番号が全て分かる為、プログラムの 入力ミスや運転ミス(例えば、サブプログラムが無いという状態)がなくなる。 またプログラムを出力する時の出し忘れがなくなるという顕著な効果を有する。 As described above, according to the device of the present invention, the specified NC program is read by the reading processing means, and the stored NC program and the program number of the subprogram are displayed in the NC program by the display means. Since it can be displayed in real time on the "call list" display side that is being used, and the program numbers of related programs in the "call list" can be collectively output and displayed, it is necessary to enter the classification data for the parent-child sibling relationship of the NC program. The list can be displayed without using this, and the operator can automatically find all the program numbers of the used subprograms that cannot be found without checking the contents by calling the program by key operation. As a result, this device can understand the parent-child sibling relationship of the NC program with no burden on the operator, does not need to input classification data in advance, and does not need visual confirmation by key operation. Also, since all the program numbers of programs required for program operation are known, mistakes in program input and operation errors (for example, the state where there is no subprogram) are eliminated. Further, it has a remarkable effect that the user does not forget to take out the program when outputting it.

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

【図1】この考案の一覧表示装置によるCRT画面の説
明図である。
FIG. 1 is an explanatory diagram of a CRT screen by a list display device of the present invention.

【図2】この考案を実現するプログラム番号一覧表示装
置のブロック図である。
FIG. 2 is a block diagram of a program number list display device for realizing the present invention.

【図3】この考案のNCプログラム番号の一覧表示処理
の流れ図である。
FIG. 3 is a flow chart of an NC program number list display process of the present invention.

【図4】この考案のCRT画面の別の表示例図である。FIG. 4 is another display example diagram of the CRT screen of the present invention.

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

1 CPU 2 ROM 3 RAM 4 キーボード 5 表示装置(CRT) 6 NCプログラムメモリ 7 プログラム番号一覧表示処理部 1 CPU 2 ROM 3 RAM 4 keyboard 5 display device (CRT) 6 NC program memory 7 program number list display processing unit

Claims (2)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 NCプログラムメモリに記憶されたNC
プログラムを読み込み、このNCプログラム内で使用さ
れるサブプログラムのプログラム番号を表示画面に一覧
表示するNCプログラム番号の一覧表示装置において、 前記一覧表示の基となる所望のNCプログラムを指定す
るための指定手段と、 指定されたNCプログラムを前記NCプログラムメモリ
の中から検索し、検索したNCプログラムを1ブロック
ずつあるいは数ブロックずつ読み込み解析し、読み込ん
だ前記ブロックにサブプログラム呼出し指令があれば、
呼び出したサブプログラムを1ブロックずつあるいは数
ブロックずつ読み込み解析し、読み込んだ前記ブロック
にサブプログラム終了指令があれば、前記サブプログラ
ム呼出し指令以降のブロックを読み込み解析する読み込
み処理手段と、 サブプログラム呼出し指令が読み込まれれば、このサブ
プログラム呼出し指令により呼び出されるサブプログラ
ムのプログラム番号を前記指定されたNCプログラムの
プログラム番号と共に記憶する呼出しプログラム番号記
憶手段と、 この呼出しプログラム番号記憶手段に記憶したNCプロ
グラムおよびサブプログラムのプログラム番号を順次表
示する表示手段と、 からなることを特徴とするNCプログラム番号の一覧表
示装置。
1. An NC stored in an NC program memory.
In a NC program number list display device for reading a program and displaying a list of program numbers of subprograms used in this NC program, a designation for designating a desired NC program which is a basis of the list display. Means and a specified NC program are searched from the NC program memory, the searched NC program is read and analyzed block by block or several blocks, and if there is a sub program call command in the read block,
Read processing means for reading and analyzing the called subprogram one block at a time or several blocks at a time, and if the read block has a subprogram end command, read processing means for reading and analyzing blocks after the subprogram call command, and a subprogram call command Is read, the calling program number storage means for storing the program number of the subprogram called by the subprogram calling command together with the program number of the specified NC program, and the NC program stored in the calling program number storage means, A display device for displaying the program numbers of the subprograms in sequence, and an NC program number list display device.
【請求項2】 プログラム読み込み時にNCプログラム
およびサブプログラムの使用頻度を示す多重度をリセッ
トし、前記読み込み処理手段においてサブプログラム呼
出し指令が読み込まれる毎に前記多重度の数値に1を加
算し、プログラム番号記憶手段においてサブプログラム
のプログラム番号を記憶する際に前記加算した多重度の
数値を付して記憶させるために前記読み込み処理手段に
出力し、サブプログラム終了指令と判断される毎に前記
多重度の数値から1を減算する多重度カウンタと、 前記プログラム番号を一覧表示するに際し、前記プログ
ラム番号に付して記憶した多重度の数値の大小によりN
Cプログラムおよびサブプログラム間の親子兄弟関係を
識別し、親子兄弟関係の順にプログラム番号を表示する
表示手段と、 を設けたことを特徴とする請求項1記載のNCプログラ
ム番号の一覧表示装置。
2. The multiplicity indicating the frequency of use of the NC program and the subprogram is reset at the time of reading the program, and 1 is added to the numerical value of the multiplicity every time the subprogram call command is read by the reading processing means, and the program is read. When the program number of the subprogram is stored in the number storage means, the number of the added multiplicity is added and output to the reading processing means for storage, and the multiplicity is calculated every time the subprogram end command is determined. And a multiplicity counter for subtracting 1 from the numerical value of N, depending on the magnitude of the numerical value of the multiplicity stored in association with the program number when displaying a list of the program numbers.
2. The NC program number list display device according to claim 1, further comprising display means for identifying a parent-child sibling relationship between the C program and the subprogram and displaying program numbers in the order of the parent-child sibling relationship.
JP6887992U 1992-10-02 1992-10-02 NC program number list display device Pending JPH0633207U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6887992U JPH0633207U (en) 1992-10-02 1992-10-02 NC program number list display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6887992U JPH0633207U (en) 1992-10-02 1992-10-02 NC program number list display device

Publications (1)

Publication Number Publication Date
JPH0633207U true JPH0633207U (en) 1994-04-28

Family

ID=13386391

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6887992U Pending JPH0633207U (en) 1992-10-02 1992-10-02 NC program number list display device

Country Status (1)

Country Link
JP (1) JPH0633207U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003071368A1 (en) * 2002-02-19 2003-08-28 Kabushiki Kaisha Yaskawa Denki Robot control device
JP2019153042A (en) * 2018-03-02 2019-09-12 ファナック株式会社 Numerical control device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003071368A1 (en) * 2002-02-19 2003-08-28 Kabushiki Kaisha Yaskawa Denki Robot control device
US7515993B2 (en) 2002-02-19 2009-04-07 Kabushiki Kaisha Yaskawa Denki Robot control apparatus
JP2019153042A (en) * 2018-03-02 2019-09-12 ファナック株式会社 Numerical control device
US11340586B2 (en) 2018-03-02 2022-05-24 Fanuc Corporation Numerical controller

Similar Documents

Publication Publication Date Title
JP2003241807A (en) Robot control unit
JPH0633207U (en) NC program number list display device
JPH03219305A (en) Multi-piece layout specification system
JPH03268185A (en) Table calculation method and system
JPS63118820A (en) Menu display device
JPH10301615A (en) Cnc image display system
JPH0277838A (en) Control system for program selective execution menu
JP2875135B2 (en) Program device for programmable controller
US5283895A (en) Apparatus and method for processing data corresponding to word labels
JPH05143353A (en) Function expanding device for automatic programming device
JP4576872B2 (en) Information processing apparatus and program
JP2002196925A (en) Support program for preparing application for processing database
JP2564137Y2 (en) Graph creation device
JPH03116318A (en) Slip input device
JPH077839U (en) Numerical control device
JPH02285414A (en) Key display processing system
JPH06301523A (en) Execution program setting device
EP0358860A2 (en) Apparatus and method for processing data corresponding to labels
JPH06161516A (en) Checking method for sequence program
JPH0713725A (en) Support device for development of software
JPH0573589A (en) Automatic execution device for table calculation program
JP2002133051A (en) Device for preparing business model
JPH0670001U (en) Peripheral device of programmable controller
JPH04127374A (en) Interactive parametric graphic processing method
JPH05297927A (en) Drawing preparing device, method and device for preparating machining program using the same drawing preparing device