JPH04305703A - Method for starting working program for interactive numerical controller - Google Patents

Method for starting working program for interactive numerical controller

Info

Publication number
JPH04305703A
JPH04305703A JP9808791A JP9808791A JPH04305703A JP H04305703 A JPH04305703 A JP H04305703A JP 9808791 A JP9808791 A JP 9808791A JP 9808791 A JP9808791 A JP 9808791A JP H04305703 A JPH04305703 A JP H04305703A
Authority
JP
Japan
Prior art keywords
program
machining
working
interrupted
cursor
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
JP9808791A
Other languages
Japanese (ja)
Inventor
Teruyuki Matsumura
松村 輝幸
Kota Miyamoto
耕太 宮本
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 JP9808791A priority Critical patent/JPH04305703A/en
Publication of JPH04305703A publication Critical patent/JPH04305703A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To easily and quickly restart an interrupted working program from a required working process in this interactive numerical controller. CONSTITUTION:A program screen arraying respective working process programs from the initializing up to the working end is displayed on a display screen. If a tool is broken for instance and working is interrupted, a cursor is moved to a part displaying drilling work in order to restart the interrupted working from drilling work and then a start button is depressed. When the working process is selected by the cursor, the numerical controller side sets up a program pointer on the head of a working process program, an initializing program is executed (steps S1 to S3) and then the program specified by the program pointer is executed (step S4). Thereby the working program can be easily and quickly restarted from the halfway of the program only by specifying a required process by the cursor.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は対話形数値制御装置の加
工プログラム開始方法に関し、特に中断された加工プロ
グラムを再開するための対話形数値制御装置の加工プロ
グラム開始方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for starting a machining program in an interactive numerical control device, and more particularly to a method for starting a machining program in an interactive numerical control device for restarting an interrupted machining program.

【0002】0002

【従来の技術】一般に、対話形数値制御装置によって加
工プログラムを作成する場合、先ず初期設定を行う。初
期設定とは、各加工工程プログラムを実行するのに必要
なデータ、例えばワーク材質や切削速度等を予め設定し
ておくことである。この初期設定の入力後に、加工させ
たい工程順に対話形式で必要なデータを入力して加工プ
ログラム作成する。加工プログラムの作成後それを実行
する場合、数値制御装置は、最初に初期設定プログラム
を読み込み、設定されたワーク材質等のデータを各加工
工程プログラムの必要な場所に入力する。そして、プロ
グラミングされた加工工程順に作業を実行していく。
2. Description of the Related Art Generally, when creating a machining program using an interactive numerical control device, initial settings are first made. Initial setting means setting in advance data necessary to execute each machining process program, such as workpiece material and cutting speed. After inputting these initial settings, the user creates a machining program by inputting necessary data in an interactive manner in the order of the desired machining steps. When executing a machining program after creating it, the numerical control device first reads the initial setting program and inputs data such as the set workpiece material into the required locations of each machining process program. Then, the work is executed in the programmed order of machining steps.

【0003】ところで、加工プログラムの実行中、工具
が破損するなどして作業が中断されると、工具の交換や
点検を行って再び作業を開始させる。このときには、中
断された加工工程から開始するのが望ましい。しかし、
上述したように加工工程プログラムは、初期設定プログ
ラムの実行後でないと必要なデータを得ることができな
いので、途中からプログラムを開始することができない
。このため、従来は、中断された部分のブロックカウン
タを調べ、そのブロックカウンタまで空運転させること
により、所望の工程からの作業を開始するようにしてい
た。
[0003] During execution of a machining program, if the work is interrupted due to damage to a tool, etc., the tool is replaced or inspected and the work is restarted. At this time, it is desirable to start from the interrupted processing step. but,
As described above, the machining process program cannot obtain necessary data until after the initial setting program has been executed, so the program cannot be started from the middle. For this reason, conventionally, the block counter of the interrupted part is checked and the work is started from the desired process by idling up to that block counter.

【0004】0004

【発明が解決しようとする課題】しかし、ブロックカウ
ンタとは以前までの実行で行なわれたブロックの数を覚
えているものであり、例えば工具の破損箇所からあるブ
ロック数進んでしまった後、操作者が気付いて止めた場
合等、必ずしもそのカウンタが示しているブロックから
再開すれば正しく加工が再開されるとは限らない。特に
サブプログラムにプロテクトがかかっている場合には、
正しい位置からのプログラム再開は現在のブロック位置
から判断しようとしても不可能である。
[Problem to be Solved by the Invention] However, a block counter remembers the number of blocks executed in the previous execution. If a person notices and stops the process, it is not necessarily the case that the process will be restarted correctly if the process is restarted from the block indicated by the counter. Especially if the subprogram is protected,
Resuming the program from the correct position is impossible even if one tries to determine it from the current block position.

【0005】本発明はこのような点に鑑みてなされたも
のであり、加工プログラムを所望の加工工程から容易に
開始させることのできる対話形数値制御装置の加工プロ
グラム開始方法を提供することを目的とする。また、本
発明の他の目的は、選択した加工工程を即時に開始でき
るようにすることである。
The present invention has been made in view of the above points, and an object of the present invention is to provide a method for starting a machining program for an interactive numerical control device, which allows the machining program to be easily started from a desired machining step. shall be. Another object of the invention is to enable the selected processing steps to be started immediately.

【0006】[0006]

【課題を解決するための手段】本発明では上記課題を解
決するために、中断された加工プログラムを再開するた
めの対話形数値制御装置の加工プログラム開始方法にお
いて、前記加工プログラムの加工工程を表示画面上に表
示し、前記表示画面上の加工工程から開始させたい加工
工程を選択し、前記選択が終了すると初期設定プログラ
ムを実行し、前記選択された加工工程の加工工程プログ
ラムを実行することを特徴とする対話形数値制御装置の
加工プログラム開始方法が提供される。
[Means for Solving the Problems] In order to solve the above problems, the present invention provides a method for starting a machining program of an interactive numerical control device for restarting an interrupted machining program, in which machining steps of the machining program are displayed. Display on the screen, select the machining process to be started from the machining process on the display screen, and when the selection is completed, execute the initial setting program, and execute the machining process program of the selected machining process. A method for starting a machining program for an interactive numerical control device is provided.

【0007】[0007]

【作用】加工工程が選択されると、先ず初期設定プログ
ラムを実行してから選択された加工工程プログラムを実
行する。
[Operation] When a machining process is selected, an initial setting program is first executed, and then the selected machining process program is executed.

【0008】[0008]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図2は本発明が適用される対話形数値制御装置
の構成を示すブロック図である。プロセッサ11はRO
M12に格納されたシステムプログラムに従って数値制
御装置全体を制御する。ROM12にはEPROM或い
はEEPROMが使用される。RAM13はSRAM等
が使用され、各種のデータ或いは入出力信号が格納され
る。不揮発性メモリ14にはバッテリバックアップされ
たCMOSが使用され、電源切断後も保持すべきパラメ
ータ、ピッチ誤差補正量及び工具補正量等が格納されて
いる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a block diagram showing the configuration of an interactive numerical control device to which the present invention is applied. Processor 11 is RO
The entire numerical control device is controlled according to the system program stored in M12. The ROM 12 is an EPROM or an EEPROM. The RAM 13 is an SRAM or the like, and various data or input/output signals are stored therein. The nonvolatile memory 14 uses a battery-backed CMOS, and stores parameters, pitch error correction amounts, tool correction amounts, etc. that should be retained even after the power is turned off.

【0009】グラフィック制御回路15はディジタル信
号を表示用の信号に変換し、表示装置16に与える。表
示装置16にはCRT或いは液晶表示装置が使用される
。表示装置16は対話形式で加工プログラムを作成して
いくときに、形状、加工条件等を表示する。キーボード
17はシンボリックキー、数値キー等からなり、必要な
図形データ、NCデータをこれらのキーを使用して入力
する。軸制御回路18はプロセッサ11から、軸の移動
指令を受けて、軸の指令をサーボアンプ19に出力する
。サーボアンプ19はこの移動指令を受けて、工作機械
20のサーボモータを駆動する。これらの構成要素はバ
ス21によって互いに結合されている。
The graphic control circuit 15 converts the digital signal into a display signal and supplies it to the display device 16. The display device 16 is a CRT or a liquid crystal display device. The display device 16 displays the shape, machining conditions, etc. when creating a machining program in an interactive manner. The keyboard 17 includes symbolic keys, numerical keys, etc., and necessary graphic data and NC data are input using these keys. The axis control circuit 18 receives an axis movement command from the processor 11 and outputs the axis command to the servo amplifier 19. The servo amplifier 19 receives this movement command and drives the servo motor of the machine tool 20. These components are coupled together by a bus 21.

【0010】PMC(プログラマブル・マシン・コント
ローラ)22はNCプログラムの実行時に、バス21経
由でT機能信号(工具選択指令)等を受け取る。そして
、この信号をシーケンス・プログラムで処理して、動作
指令として信号を出力し、工作機械20を制御する。 また、工作機械20から状態信号を受けて、シーケンス
処理を行い、バス21を経由して、プロセッサ11に必
要な入力信号を転送する。
A PMC (programmable machine controller) 22 receives a T function signal (tool selection command) etc. via the bus 21 when executing an NC program. Then, this signal is processed by a sequence program, and the signal is output as an operation command to control the machine tool 20. It also receives status signals from the machine tool 20, performs sequence processing, and transfers necessary input signals to the processor 11 via the bus 21.

【0011】更に、バス21には、システムプログラム
等によって機能が変化するソフトウェアキー23、NC
データをフロッピディスク、プリンタ或いは紙テープリ
ーダ(PTR)などの外部機器に送るシリアルインタフ
ェース24が接続されている。このソフトウェアキー2
3は、上記表示装置16、キーボード17とともに、C
RT/MDIパネル25に設けられる。上記バス21に
は、NC用のCPUであるプロセッサ11とは別に、バ
ス30を有する対話用のプロセッサ31が接続される。 バス30にはROM32、RAM33、及び不揮発性メ
モリ34が接続されている。
Furthermore, the bus 21 includes software keys 23 and NC keys whose functions change depending on the system program, etc.
A serial interface 24 is connected for transmitting data to external equipment such as a floppy disk, printer or paper tape reader (PTR). This software key 2
3, together with the display device 16 and the keyboard 17, the C
It is provided on the RT/MDI panel 25. A conversation processor 31 having a bus 30 is connected to the bus 21 in addition to the processor 11 which is a CPU for the NC. A ROM 32, a RAM 33, and a nonvolatile memory 34 are connected to the bus 30.

【0012】上記表示装置16に表示される対話形デー
タの入力画面は、ROM32に格納されている。この対
話形データの入力画面において、NC文の作成時にバッ
クグラウンドアニメーションとして、工具の全体の動作
軌跡などが表示される。また、表示装置16にはその入
力画面により設定可能な作業またはデータが、メニュー
形式で表示される。メニューのうちどの項目を選択する
かは、メニューに対応して、画面下部に配置されたソフ
トウェアキー23により行う。ソフトウェアキー23の
意味は各画面毎に変化する。RAM33にはSRAM等
が使用され、ここに対話用の各種データが格納される。
The interactive data input screen displayed on the display device 16 is stored in the ROM 32. On this interactive data input screen, the entire motion trajectory of the tool is displayed as a background animation when creating the NC statement. Further, the display device 16 displays tasks or data that can be set using the input screen in a menu format. Which item in the menu is selected is determined by using the software keys 23 arranged at the bottom of the screen corresponding to the menu. The meaning of the software key 23 changes for each screen. An SRAM or the like is used as the RAM 33, and various data for interaction are stored here.

【0013】入力されたデータは対話用のプロセッサ3
1により処理され、ワーク加工プログラムが作成される
。作成されたプログラムデータは、対話形式で使用され
る表示装置16に、逐次にバックグラウンドアニメーシ
ョン表示される。また、不揮発性メモリ34にNC文と
して格納された加工プログラムは、工作機械20の加工
シミュレーションの際にも実行され、フォアグラウンド
アニメーション表示される。
[0013] The input data is processed by a processor 3 for interaction.
1, and a workpiece machining program is created. The created program data is sequentially displayed as a background animation on the display device 16 used in an interactive manner. Further, the machining program stored as an NC statement in the nonvolatile memory 34 is executed also during machining simulation of the machine tool 20, and is displayed as a foreground animation.

【0014】上記構成を有する対話形数値制御装置にお
いて、作成された加工プログラムに従って工作機械20
を運転させているとき、工具が破損したりして作業を中
断した場合には、工具の交換や点検を行った後直ちに作
業を再開させる。ただし、この場合には、作業の効率上
、中断された加工工程から開始するのが望ましい。次に
この作業再開のための手順を説明する。
In the interactive numerical control device having the above configuration, the machine tool 20 is operated according to the created machining program.
If a tool breaks or the work is interrupted while operating the machine, the work should be restarted immediately after replacing or inspecting the tool. However, in this case, in terms of work efficiency, it is desirable to start from the interrupted processing step. Next, the procedure for restarting this work will be explained.

【0015】先ず、表示装置16の表示画面上に、初期
設定から加工終了までの各加工工程プログラムが列記さ
れたプログラム画面を表示させる。図3はこのプログラ
ム画面40を表示画面上に表示させた状態を示す図であ
る。例えば、穴あけ加工の途中で工具が破損し作業が中
断した場合には、その穴あけ加工から開始させる。この
場合には、カーソル41(最初は初期設定の位置にある
。)を穴あけ加工と表示された部分に移動させ、図示さ
れていないスタートボタンを押す。これによって、工作
機械20は、穴あけ加工を開始する。なお、加工作業を
最初の加工工程(ここでは平面加工)から行いたい場合
には、カーソル41を初期設定の位置に置いたままスタ
ートボタンを押せば、通常通り加工作業が行われる。
First, a program screen is displayed on the display screen of the display device 16, in which each machining process program from initial setting to machining completion is listed. FIG. 3 is a diagram showing the program screen 40 displayed on the display screen. For example, if the tool breaks during drilling and the work is interrupted, the drilling process is restarted. In this case, move the cursor 41 (initially at the initial setting position) to the area labeled "Drilling" and press the start button (not shown). Thereby, the machine tool 20 starts drilling. Note that if you wish to start the machining operation from the first machining step (here, planar machining), press the start button while keeping the cursor 41 at the initial setting position, and the machining operation will be performed as usual.

【0016】図1は本発明の対話形数値制御装置の加工
プログラム開始方法の手順を示すフローチャートである
。 〔S1〕カーソル41によって特定の加工工程が選択さ
れているか否かを判別し、選択されていればS2へ進み
、そうでなければS5へ進む。 〔S2〕カーソル41で選択された加工工程の加工工程
プログラムの先頭にプログラムポインタを設定する。 〔S3〕初期設定プログラムを実行する。これにより、
初期設定で入力されたデータが加工工程プログラムの必
要な部分に入力される。 〔S4〕プログラムポインタが設定されたプログラムか
ら実行を開始する。 〔S5〕初期設定プログラムの先頭にプログラムポイン
タを設定する。
FIG. 1 is a flowchart showing the procedure for starting a machining program for an interactive numerical control device according to the present invention. [S1] It is determined whether a specific machining process is selected by the cursor 41, and if it is selected, the process proceeds to S2; otherwise, the process proceeds to S5. [S2] A program pointer is set at the beginning of the machining process program for the machining process selected by the cursor 41. [S3] Execute the initial setting program. This results in
The data entered in the initial settings are entered into necessary parts of the machining process program. [S4] Execution starts from the program to which the program pointer has been set. [S5] A program pointer is set at the beginning of the initial setting program.

【0017】このように、先ず初期設定プログラムを実
行してから加工工程プログラムを実行するようにするこ
とにより、カーソル41で指定するだけで容易に加工プ
ログラムを途中から開始させることができる。また、初
期設定プログラムの後は、直ちに加工工程プログラムの
実行に移るので、短時間で作業に入ることができる。
In this manner, by first executing the initial setting program and then executing the machining process program, the machining program can be easily started from the middle by simply specifying it with the cursor 41. Further, after the initial setting program, the processing program starts immediately, so that the work can be started in a short time.

【0018】[0018]

【発明の効果】以上説明したように本発明では、加工工
程が選択されると、先ず初期設定プログラムを実行して
から加工工程プログラムを実行するようにしたので、表
示画面上で選択するだけで容易に加工プログラムを途中
から開始させることができる。また、初期設定プログラ
ムの後は、加工プログラムを空運転させることなく直ち
に指定された加工工程プログラムの実行に移るので、短
時間で作業に入ることができる。
[Effects of the Invention] As explained above, in the present invention, when a machining process is selected, the initial setting program is first executed and then the machining process program is executed. A machining program can be easily started from the middle. Further, after the initial setting program, the specified machining process program is immediately started without running the machining program idly, so that work can be started in a short time.

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

【図1】本発明の対話形数値制御装置の加工プログラム
開始方法の手順を示すフローチャートである。
FIG. 1 is a flowchart showing the procedure of a machining program starting method for an interactive numerical control device according to the present invention.

【図2】本発明が適用される対話形数値制御装置の構成
を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of an interactive numerical control device to which the present invention is applied.

【図3】プログラム画面を表示画面上に表示させた状態
を示す図である。
FIG. 3 is a diagram showing a state in which a program screen is displayed on a display screen.

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

11,31  プロセッサ 12,32  ROM 13,33  RAM 14,34  不揮発性メモリ 16  表示装置 40  プログラム画面 41  カーソル 11,31 Processor 12,32 ROM 13,33 RAM 14, 34 Non-volatile memory 16 Display device 40 Program screen 41 Cursor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  中断された加工プログラムを再開する
ための対話形数値制御装置の加工プログラム開始方法に
おいて、前記加工プログラムの加工工程を表示画面上に
表示し、前記表示画面上の加工工程から開始させたい加
工工程を選択し、前記選択が終了すると初期設定プログ
ラムを実行し、前記選択された加工工程の加工工程プロ
グラムを実行することを特徴とする対話形数値制御装置
の加工プログラム開始方法。
1. A machining program starting method for an interactive numerical control device for restarting an interrupted machining program, wherein machining steps of the machining program are displayed on a display screen, and the machining process is started from the machining step on the display screen. A method for starting a machining program for an interactive numerical control device, characterized in that a machining process to be performed is selected, and when the selection is completed, an initial setting program is executed, and a machining process program for the selected machining process is executed.
【請求項2】  前記加工工程の指定は、カーソルで行
うことを特徴とする請求項1記載の対話形数値制御装置
の加工プログラム開始方法。
2. The method for starting a machining program for an interactive numerical control device according to claim 1, wherein the designation of the machining process is performed using a cursor.
JP9808791A 1991-04-02 1991-04-02 Method for starting working program for interactive numerical controller Pending JPH04305703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9808791A JPH04305703A (en) 1991-04-02 1991-04-02 Method for starting working program for interactive numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9808791A JPH04305703A (en) 1991-04-02 1991-04-02 Method for starting working program for interactive numerical controller

Publications (1)

Publication Number Publication Date
JPH04305703A true JPH04305703A (en) 1992-10-28

Family

ID=14210563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9808791A Pending JPH04305703A (en) 1991-04-02 1991-04-02 Method for starting working program for interactive numerical controller

Country Status (1)

Country Link
JP (1) JPH04305703A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007185748A (en) * 2006-01-13 2007-07-26 Nakamura Tome Precision Ind Co Ltd Restarting method of machine tool

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007185748A (en) * 2006-01-13 2007-07-26 Nakamura Tome Precision Ind Co Ltd Restarting method of machine tool

Similar Documents

Publication Publication Date Title
JP2641797B2 (en) Interactive numerical controller
JP3476484B2 (en) Operation history display device in control device
US5327350A (en) Interactive type numerical control apparatus and method thereof
JPH103307A (en) Numerical controller
JP2002373008A (en) Numerical controller
JPH04305703A (en) Method for starting working program for interactive numerical controller
JP2676512B2 (en) Program restart method
EP0578828A1 (en) Screen display method for cnc
JPH0566819A (en) Interactive automatic programming method
JPH0354607A (en) Program restarting system for automatic operation
JPH04252307A (en) Interactive numerical controller
JP3660038B2 (en) Numerical controller
JPH06332518A (en) Interactive numerical controller
JPH06250722A (en) Interactive numerical controller
JP2005339018A (en) Numerical control device
JP3327641B2 (en) Numerical control unit
JP2588944B2 (en) How to create NC data
JP2003248507A (en) Numerical controller and numerical control method
JPH0391812A (en) Display system for numerical controller
JPH0291705A (en) Picture recovering method
JPH0685132B2 (en) How to restart operation of numerical control device
JPH07234714A (en) Numerical controller
JPH05289729A (en) Step execution system for cad/cam system
JPH07191718A (en) Operation time monitor system for numerical control system
JPH0588722A (en) Numerical controller