JPH01109052A - Numeric controller - Google Patents

Numeric controller

Info

Publication number
JPH01109052A
JPH01109052A JP26583687A JP26583687A JPH01109052A JP H01109052 A JPH01109052 A JP H01109052A JP 26583687 A JP26583687 A JP 26583687A JP 26583687 A JP26583687 A JP 26583687A JP H01109052 A JPH01109052 A JP H01109052A
Authority
JP
Japan
Prior art keywords
stop position
machine
grinding
stored
emergency return
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
JP26583687A
Other languages
Japanese (ja)
Inventor
Tadashi Yamauchi
山内 正
Yasunori Saka
坂 保徳
Yoshiaki Hayashi
義明 林
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.)
Toyoda Koki KK
Original Assignee
Toyoda Koki KK
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 Toyoda Koki KK filed Critical Toyoda Koki KK
Priority to JP26583687A priority Critical patent/JPH01109052A/en
Publication of JPH01109052A publication Critical patent/JPH01109052A/en
Pending legal-status Critical Current

Links

Landscapes

  • Sewing Machines And Sewing (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

PURPOSE:To enable restart in a short time by providing an operating condition memory means, a motion control means, a stop position memory means and a start control means. CONSTITUTION:Upon provision of an emergency return command, an operating command cycle of a machine at that time is stored in an operating condition memory means and the machine is moved to a predetermined stopping position, then the stopping position data is stored in a stop position memory means. When the machine is started again, the machine is started from the stopping position stored in the stop position memory means and from the operating condition stored in the operating condition memory means. Consequently, the machine can be started again easily in a short time.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、工作機械を非常戻した後において簡単かつ迅
速に再起動を可能にした数値制御装置に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a numerical control device that makes it possible to easily and quickly restart a machine tool after it has been brought to an emergency return.

〈従来の技術〉 従来のこの種の数値制御装置、例えば研削盤用数値制御
装置においては非常戻しボタンあるいは非常停止ボタン
を備え、研削中に何らかの異常が生じた場合には前記非
常戻しボタンあるいは非常停止ボタンを押圧することで
加工サイクルを中断するようになっている。
<Prior Art> Conventional numerical control devices of this type, for example, numerical control devices for grinding machines, are equipped with an emergency return button or an emergency stop button, and when an abnormality occurs during grinding, the emergency return button or emergency stop button is pressed. The machining cycle is interrupted by pressing the stop button.

〈発明が解決しようとする問題点〉 しかしながらかかる従来の数値制御装置、特にインクレ
メンタル方式で工作機械を制御するものにおいては、サ
イクルを一旦中断するとその時の動作サイクルあるいは
位置データ等の情報が全て消失してしまい、調整後再起
動しようとすると各制御軸毎に原位置まで原位置復帰さ
せた後でないと再起動することができず、その機械の熟
練者でないと再起動ができなかったり、また再起動に時
間がかかるなどの問題があった。
<Problems to be Solved by the Invention> However, in such conventional numerical control devices, especially those that control machine tools using an incremental method, once a cycle is interrupted, all information such as the operating cycle or position data at that time is lost. If you try to restart the machine after adjusting it, you will have to return each control axis to its original position before restarting the machine. There were problems such as it taking a long time to restart.

〈問題点を解決するための手段〉 上記問題点を解決するための本発明の構成は、第1図に
概念を示すように非常戻し指令が出力された時には機械
に出力される一連の動作指令の内現在機械が作動されて
いる動作のブロックNOを記憶する動作状態記憶手段と
、非常戻し指令が出力された時には所定の停止位置へ移
動して停止させる移動制御手段と、この停止位置の位置
データを記憶する停止位置記憶手段と、再起動の時には
前記停止位置記憶手段に記憶された停止位置を起点とし
かつ前記動作状態記憶手段に記憶された動′作状態から
動作を開始させる起動制御手段とを設けたことを特徴と
する。
<Means for Solving the Problems> The configuration of the present invention for solving the above problems consists of a series of operation commands that are output to the machine when an emergency return command is output, as conceptually shown in FIG. Among them, an operation state storage means for storing the block number of the operation in which the machine is currently being operated, a movement control means for moving the machine to a predetermined stop position and stopping it when an emergency return command is output, and the position of this stop position. stop position storage means for storing data; and startup control means for restarting the operation starting from the stop position stored in the stop position storage means and from the operation state stored in the operation state storage means. It is characterized by having the following.

〈作用〉 上記構成において非常戻し指令が出力されたと同時にそ
の時の機械の動作サイクル指令が動作状態記憶手段に記
憶されるとともに所定の停止位置に移動され、そしてこ
の停止位置の位置データが停止位置記憶手段に記憶され
る。
<Operation> In the above configuration, at the same time when the emergency return command is output, the operating cycle command of the machine at that time is stored in the operating state storage means, and the machine is moved to a predetermined stop position, and the position data of this stop position is stored in the stop position memory. stored in the means.

その後再起動のときは前記停止位置記憶手段に記憶され
た停止位置を起点としかつ前記動作状態記憶手段に記憶
された動作状態から動作を開始させることで簡単かつ短
時間に機械を再起動することができる。
After that, when restarting the machine, the machine is restarted easily and in a short time by starting the operation from the stop position stored in the stop position storage means and from the operation state stored in the operation state storage means. Can be done.

〈実施例〉 以下本発明の実施例を図面に基づいて説明する。<Example> Embodiments of the present invention will be described below based on the drawings.

第2図において、10はアンギュラスライド型研削盤、
20はこの研削盤をインクレメンタル方式で制御する数
値制御装置である。前記研削盤lOは砥石車Gを軸承す
る砥石台11と、工作物Wを載置する工作物テーブル1
3とを備えている。
In Fig. 2, 10 is an angular slide type grinding machine;
20 is a numerical control device that controls this grinding machine in an incremental manner. The grinding machine IO has a grindstone stand 11 that supports a grinding wheel G, and a workpiece table 1 on which a workpiece W is placed.
3.

そして前記砥石台11および工作物テーブル13は、駆
動回路16.17によってそれぞれ回転駆動されるサー
ボモータ12.14によって移動されるようになってい
る。サーボモータ12,14にはロータリエンコーダ1
6.17が接続されている。またそのロータリエンコー
ダ16.17の出力信号はインターフェース29を介し
てCPU21に入力している。
The grindstone head 11 and the workpiece table 13 are moved by servo motors 12.14, which are each rotated by a drive circuit 16.17. Rotary encoder 1 is attached to servo motors 12 and 14.
6.17 is connected. Further, the output signals of the rotary encoders 16 and 17 are input to the CPU 21 via an interface 29.

なお、15は工作物Wの軸方向位置決めを行うための端
面定寸装置、19は工作物Wの加工径を測定し所定寸法
まで研削されると定寸信号を出力する加工径定寸装置で
、前記CPU21からの制御信号を油圧回路18に入力
することで進退動作され、またその端面定寸信号ならび
に加工径定寸信号はインターフェース28を介してCP
U21に入力している。
In addition, 15 is an end face sizing device for positioning the workpiece W in the axial direction, and 19 is a machining diameter sizing device that measures the machining diameter of the workpiece W and outputs a sizing signal when it is ground to a predetermined dimension. , the forward and backward movement is performed by inputting a control signal from the CPU 21 to the hydraulic circuit 18, and the end face sizing signal and machining diameter sizing signal are sent to the CP via the interface 28.
It is input to U21.

前記数値制御装置20は、CPU21、RAM24、R
OM25、パルス発生器23、インターフェース26.
27.28.29によって構成され、パルス発生器23
から送出する指令パルスが駆動回路16.17に供給さ
れるようになっている。
The numerical control device 20 includes a CPU 21, a RAM 24, an R
OM25, pulse generator 23, interface 26.
27.28.29, pulse generator 23
Command pulses sent from the drive circuits 16 and 17 are supplied to the drive circuits 16 and 17.

なお、上記RAM24はバッテリバックアップされ、停
電時にもその記憶内容が消滅しないようになっている。
Note that the RAM 24 is backed up by a battery so that its stored contents will not be erased even in the event of a power outage.

前記インターフェース26には表示制御回路37が接続
され、その表示制御回路37にはCR7表示装置38が
接続されている。またインターフェース27にはNCデ
ータを記憶したバブルカセット入出力装置34と、操作
盤36とが接続されている。この操作盤36上にはその
他のデータをRAM24の所定領域に設定するデータ書
込キー、加工サイクルを起動する起動用押しボタンなら
びに加工サイクルの異常により砥石台11、工作物テー
ブル13を非常戻しする非常戻しボタン等が設けられて
いる。
A display control circuit 37 is connected to the interface 26, and a CR7 display device 38 is connected to the display control circuit 37. Further, a bubble cassette input/output device 34 storing NC data and an operation panel 36 are connected to the interface 27. On this operation panel 36 are a data write key for setting other data in a predetermined area of the RAM 24, a start push button for starting the machining cycle, and an emergency return button for the grindstone head 11 and workpiece table 13 in the event of an abnormality in the machining cycle. An emergency return button is provided.

一方RAM24には前記研削盤10の作動を指令する多
数のブロックからなる加工サイクル制御プログラムを記
憶するためのデータ領域が形成されている。その他この
RAM24には非常戻しした時のブロックNOを記憶す
る動作状態記憶メモリ241ならびに非常戻しして工作
物テーブル13が停止した時の工作物テーブル13の位
置データを記憶する停止位置記憶メモリ242が形成さ
れている。
On the other hand, the RAM 24 is formed with a data area for storing a machining cycle control program consisting of a large number of blocks that instruct the operation of the grinding machine 10. In addition, this RAM 24 includes an operating state storage memory 241 that stores the block number when the emergency return is performed, and a stop position storage memory 242 that stores the position data of the workpiece table 13 when the workpiece table 13 stops after the emergency return. It is formed.

RAM24にはさらに非常戻しサイクルプログラムの記
憶領域が形成されている。この非常戻しサイクルプログ
ラムは、NCデータに従って研削i10の各送り軸の制
御が行われている間に加工サイクルの異常によって非常
戻しボタンが押されたときCPU21はその信号を割り
込み信号として非常戻しサイクルの処理を実行する。
The RAM 24 further has a storage area for an emergency return cycle program. This emergency return cycle program is such that when the emergency return button is pressed due to an abnormality in the machining cycle while each feed axis of the grinding i10 is being controlled according to the NC data, the CPU 21 uses the signal as an interrupt signal to initiate the emergency return cycle. Execute processing.

なお、前記NCデータは第3図に示すように複数のブロ
ックからなり、このブロックは、第4図に示すようにシ
ーケンス番号N、準備機能G、主軸機能S、補助機能M
等よりなるワードから構成され、そしてその各ブロック
にはそれぞれLOOI・・・L 00nのようにブロッ
クNOが付されて区別できるようになっている。
Note that the NC data consists of a plurality of blocks as shown in FIG.
Each block is assigned a block number such as LOOI...L00n so that it can be distinguished.

次に第10図に示す工作物を研削する場合を一例として
本発明の数値制御装置20の処理動作を第5図ないし第
9図のフローチャートにより説明する。先ず運転停止状
態において砥石車Gは原位置POに位置している。これ
より操作盤36の起動ボタンを押すとCPU21は処理
を開始する。
Next, the processing operations of the numerical control device 20 of the present invention will be explained using the flowcharts of FIGS. 5 to 9, taking as an example the case of grinding a workpiece shown in FIG. First, in the stopped state, the grinding wheel G is located at the original position PO. When the start button on the operation panel 36 is then pressed, the CPU 21 starts processing.

この処理は第5図に示すように i)端面位置決めを行うステップ ii)割出カウンタICの内容を零にするステップ iii )加工径定寸装置を前進するステ・ンプiv)
プランジカット研削を行うステップV))ラバース研削
を行うステップ vi)割出力ランクICの内容を判定するステップ vi)加工径定寸装置、砥石車を後退するステップ vii)テーブル割出を行うステップ ix)割出カウンタICの内容を歩進するステ・ノブ X)砥石車ならびに加工テーブルを原位置に戻すととも
に加工径定寸装置を後退するステップ の各ステップに大別でき、これらの処理が順番に実行さ
れる。
This process is as shown in Fig. 5: i) Step of positioning the end face ii) Step of zeroing the contents of the index counter IC iii) Step of advancing the machining diameter sizing device iv)
Step of performing plunge cut grinding V)) Performing rubber grinding vi) Determining the contents of the indexing force rank IC Step vi) Retracting the machining diameter sizing device and grinding wheel Step vii) Performing table indexing Step ix) Steps to advance the content of the index counter IC can be roughly divided into the following steps: x) Returning the grinding wheel and processing table to their original positions and retracting the processing diameter sizing device, and these processes are executed in sequence. be done.

次に上記各ステップの詳細フローについて説明する。Next, a detailed flow of each of the above steps will be explained.

先ず端面位置決めを行うステップiではCPU21は、
第6図に示すように起動ボタンが押されると同時にステ
ップ100において端面位置決めブロックデータを読込
み、次のステップ101では、その駆動回路17から出
力されるパルスによりサーボモータ14が駆動され、加
工テーブル13は端面位置決め開始位置P1へ移動され
る。ステップ102では油圧回路18に制御信号が出力
されて端面位置決め装置15が前進端位置まで前進され
、次のステップ103では加工テーブル13は端面位置
決め開始位!PIからさらに右進され、その左進動作中
にステップ104では非常戻しボタンがONかどうかが
判定され、またステップ105では端面定寸信号が出力
されたかどうかが判定され、端面定寸信号が出力されて
いなければ、再びステップ103に戻り、加工テーブル
13の右進動作が継続される。
First, in step i of performing end face positioning, the CPU 21
As shown in FIG. 6, at the same time as the start button is pressed, end face positioning block data is read in step 100, and in the next step 101, the servo motor 14 is driven by the pulse output from the drive circuit 17, and the machining table 13 is is moved to the end face positioning start position P1. In step 102, a control signal is output to the hydraulic circuit 18, and the end face positioning device 15 is advanced to the forward end position, and in the next step 103, the processing table 13 is at the end face positioning starting position! It is further moved to the right from the PI, and during the leftward movement, it is determined in step 104 whether the emergency return button is ON, and in step 105 it is determined whether the end face sizing signal is output, and the end face sizing signal is output. If not, the process returns to step 103 and the rightward movement of the processing table 13 is continued.

この加工テーブル13の右進動作中に非常戻しボタンが
ONされればステップ107〜111に進み、この処理
を実行する。ステップ107では現在実行中のブロック
NOが記憶メモリ241に記憶され、続いてステップ1
08.109では加工テーブル13の左進が一端停止さ
れ、また端面位置決め装置15が後退端まで後退され、
その後ステップ110では加工テーブル13が端面位置
決め開始位置P1まで戻され、続くステップ111でそ
の停止位置の位置データが停止位置記憶メモリ242に
記憶され、一連の非常戻しの処理が終了する。
If the emergency return button is turned on during the rightward movement of the machining table 13, the process proceeds to steps 107 to 111 and executes this process. In step 107, the block number currently being executed is stored in the storage memory 241, and then in step 1
At 08.109, leftward movement of the processing table 13 is temporarily stopped, and the end face positioning device 15 is retreated to the backward end.
Thereafter, in step 110, the processing table 13 is returned to the end face positioning start position P1, and in the subsequent step 111, the position data of the stop position is stored in the stop position storage memory 242, and the series of emergency return processing is completed.

一方上記加工テーブル13の左進動作中に端面定寸信号
が出力されるとステップ106.107に進む。こ−の
ステップ106では加工テーブル1広 3の右進が停止され、また端面位置決め装置15が後退
端まで後退され、一連の端面位置決め動作が終了する。
On the other hand, if the end face sizing signal is output while the processing table 13 is moving to the left, the process proceeds to steps 106 and 107. In this step 106, the rightward movement of the processing table 1 wide 3 is stopped, and the end face positioning device 15 is retreated to the backward end, thereby completing a series of end face positioning operations.

その後、再び第5図のメインフローのステップiiに戻
り、このステップiiで割出カウンタICの内容を零に
設定した後、ステップiiiで加工径定寸装置19が前
進され、さらにステップivでプランジカット研削が行
われる。例えば第10図に示す工作物Wの第1加工箇所
Wlでは3回のプランジカット研削が行われ、プランジ
カット研削終了と同時にステップ■に進み、トラバース
研削が開始される。
Thereafter, the process returns to step ii of the main flow in FIG. 5, and after setting the contents of the indexing counter IC to zero in step ii, the machining diameter sizing device 19 is advanced in step iii, and then the plunger is moved in step iv. Cut grinding is performed. For example, plunge cut grinding is performed three times at the first processing location Wl of the workpiece W shown in FIG. 10, and at the same time as the plunge cut grinding is completed, the process proceeds to step (2) and traverse grinding is started.

第7図はトラバース研削の詳細フローを示すもので、前
記プランジカット研削終了したと砥石車す GはP4の位置にあり、これよれステップ200に進ん
でトラバース研削ブロックデータを読込み、次のステッ
プ201では、砥石車Gが微小量切込み前進され、切込
み前進端に到達すると同時にステップ202において加
工テーブル13のトラバース送りが開始される。そして
そのトラバース送り中にステップ203では非常戻しボ
タンがONかどうかが判定され、またステップ204で
はト・ラバース端かどうかが判定され、さらにステップ
205では加工径定寸信号が出力されているがどうかが
判定される。かかるステップにおいてトラバース端でな
ければ再びステップ202に戻って加工テーブル13の
右進が続けられる。またトラバース端には到達したが、
そのとぎ外径定寸信号が出力されていなければ、再びス
テップ201に戻って砥石車Gが微小量切込み前進され
、切込み後加工テーブル13はその左方向にトラバース
方向が切換えられたのち前記と同様にしてトラバース研
削が行われる。
FIG. 7 shows the detailed flow of traverse grinding. When the plunge cut grinding is completed, the grinding wheel G is at position P4, and the process advances to step 200 to read the traverse grinding block data and proceed to the next step 201. Then, the grinding wheel G is advanced by a minute amount of cutting, and at the same time as reaching the cutting advance end, traverse feeding of the processing table 13 is started in step 202. During the traverse feed, in step 203 it is determined whether the emergency return button is ON, in step 204 it is determined whether the traverse end is reached, and in step 205 it is determined whether the machining diameter sizing signal is output or not. is determined. If it is not the traverse end in this step, the process returns to step 202 and the processing table 13 continues moving to the right. I also reached the end of the traverse,
If the cutting outer diameter sizing signal is not output, the process returns to step 201 again, the grinding wheel G is advanced by a minute amount of cutting, and after cutting, the traverse direction of the machining table 13 is switched to the left direction, and then the same as above is performed. Traverse grinding is then performed.

このトラバース研削中に、非常戻しボタンがO゛Nされ
ればステップ207〜211に進み、この処理を実行す
る。ステップ207では現在実行中のブロックNOが記
憶メモリ241に記憶され、続いてステップ208,2
09では加工テーブル13のトラバース送りが一端停止
され、また砥石車Cが後退端まで後退され、その後ステ
ップ210では加工テーブル13はトラバース研削開始
位置P4まで戻され、その後ステップ211でその停止
位置の位置データが停止位置記憶メモリ242に記憶さ
れ、一連の非常戻しの処理が終了する。
During this traverse grinding, if the emergency return button is turned on, the process proceeds to steps 207 to 211 and this process is executed. In step 207, the block number currently being executed is stored in the storage memory 241, followed by steps 208 and 2.
In step 09, the traverse feed of the processing table 13 is temporarily stopped, and the grinding wheel C is retreated to the retreat end.Then, in step 210, the processing table 13 is returned to the traverse grinding start position P4, and then in step 211, the processing table 13 is returned to the stop position. The data is stored in the stop position storage memory 242, and a series of emergency return processes are completed.

一方上記トラバース研削中に外径定寸信号が出力される
と、再び第5図のメインフローのステップviに戻り、
このステップviで割出カウンタICの内容が2かどう
かが判定される。このとき割出カウンタTCの内容は零
であり、従ってステップviiに進み、加工径定寸装置
19ならびに砥石車Gは後退され、その後ステップ暢に
おいてテーブル割出し動作が行われる。
On the other hand, when the outer diameter sizing signal is output during the above-mentioned traverse grinding, the process returns to step vi of the main flow in FIG.
In this step vi, it is determined whether the content of the index counter IC is 2 or not. At this time, the content of the indexing counter TC is zero, so the process proceeds to step vii, where the machining diameter sizing device 19 and the grinding wheel G are retracted, and then the table indexing operation is performed at the next step.

第8図はテーブル割出し動作の詳細フローを示すもので
、前記加工径定寸装置19ならびに砥石車Gの後退と同
時にステップ300に進み、テーブル割出し動作のブロ
ックデータを読込み、次のステップ301では、テーブ
ルの割出しが行われる。そしてこのテーブルの割出し中
にステップ302では非常戻しボタンがONかどうがが
判定され、またステップ303では割出完了かどうかが
判定される。かかるステップにおいて割出が完了してい
なければ再びステップ301に戻ってテーブルの割出し
が続けられる。
FIG. 8 shows a detailed flow of the table indexing operation. Simultaneously with the retraction of the machining diameter sizing device 19 and the grinding wheel G, the process proceeds to step 300, where block data for the table indexing operation is read, and the next step 301 Now, the table is indexed. During indexing of this table, it is determined in step 302 whether the emergency return button is ON, and in step 303 it is determined whether indexing is complete. If the indexing is not completed in this step, the process returns to step 301 to continue indexing the table.

このテーブル割出し中に、非常戻しボタンがONされれ
ばステップ305〜307に進み、この処理を実行する
。ステップ305では現在実行中のブロックNOが記憶
メモリ241に記憶され、続いてステップ306では加
工テーブル13は次の割出位置P5へ移動され、その後
ステップ307でその停止位置の位置データが停止位置
記憶メモリ242に記憶され、一連の非常戻しの処理が
終了する。
If the emergency return button is turned on during this table indexing, the process advances to steps 305 to 307 and this process is executed. In step 305, the block number currently being executed is stored in the storage memory 241, then in step 306, the processing table 13 is moved to the next index position P5, and then in step 307, the position data of the stop position is stored in the stop position memory. The data is stored in the memory 242, and a series of emergency return processes are completed.

一方上記テーブル割出動作が完了すると、再び第5図の
メインフローのステップIXに戻り、このステップ反で
割出カウンタICの内容に1が加算されたのち、前記と
同様にしてステップiiiの加工径定寸装置19の前進
、ステップivのプランジカット研削、ステップVのト
ラバース研削を行い、工作物Wの第2加工箇所W2を研
削する。
On the other hand, when the above-mentioned table indexing operation is completed, the process returns to step IX of the main flow in FIG. The diameter sizing device 19 moves forward, plunge cut grinding in step iv, and traverse grinding in step V are performed to grind the second processing location W2 of the workpiece W.

この第1.第2加工箇所w1.w2の研削と同様にして
第3加工箇所W3の研削が終了すると、割出カウンタI
Cの内容は2となり、その結果ステップXに進み、砥石
車G、加工テーブル13が順次原位置POまで後退し、
また加工径定寸装置19が後退して全加工サイクルが終
了する。
This first. 2nd processing location w1. When the grinding of the third machining point W3 is completed in the same manner as the grinding of w2, the index counter I
The content of C becomes 2, and as a result, the process proceeds to step X, where the grinding wheel G and processing table 13 are sequentially retreated to the original position PO.
Further, the machining diameter sizing device 19 moves back, and the entire machining cycle ends.

このように上記加工サイクル中に非常戻しボタンが押さ
れたときには、前記したようにその作動が停止したとき
のブロックNoが記憶メモリ241に、また停止位置の
位置データが停止位置記1.αメモリ242にそれぞれ
記憶されている。従って機械が再起動されると同時に第
9図のステップ400にて記憶メモリ241からその機
械が停止したときのブロックNoが読み込まれ、これに
続くステップ401,402では、そのブロックN。
When the emergency return button is pressed during the machining cycle, the block number at which the operation stopped is stored in the storage memory 241 as described above, and the position data of the stop position is stored in the stop position record 1. Each is stored in the α memory 242. Therefore, at the same time as the machine is restarted, the block number at the time the machine stopped is read from the storage memory 241 in step 400 of FIG.

が端面位置決めのブロックか、あるいはトラバース研削
のブロックかが判定され、その判定によってステップ4
03,404.405のいずれかでそのときの位置デー
タを停止位置記憶メモリ242から読み込み、そのとき
端面位置決め動作中であれば第5図のステップ102に
進み、このステップ102から端面位置決め動作を開始
する。このように原位置POでなく端面開始位置P1か
ら動作をおこなわせることで短時間に再起動することが
できる。
It is determined whether the block is an end face positioning block or a traverse grinding block, and depending on the determination step 4
03, 404, or 405, the current position data is read from the stop position storage memory 242, and if the end face positioning operation is in progress at that time, the process proceeds to step 102 in FIG. 5, and the end face positioning operation is started from this step 102. do. In this way, by performing the operation from the end face starting position P1 instead of the original position PO, it is possible to restart the apparatus in a short time.

また停止したのがトラバース研削中であれば第6図のス
テップ213に進み、このステップ213において砥石
車Gが前進されたのちステップ202に進んでトラバー
ス研削が開始される。このときも原位置POでなくトラ
バース研削開始位置P2から動作をおこなわせることで
短時間にトラバース研削を再開することができる。
If the stop is during traverse grinding, the process proceeds to step 213 in FIG. 6, in which the grinding wheel G is advanced, and then the process proceeds to step 202 to start traverse grinding. At this time as well, traverse grinding can be restarted in a short time by performing the operation from traverse grinding start position P2 instead of the original position PO.

さらに停止したのが1回目のテーブル割出中であれば前
記したように加工テーブル13はすでに次の割出位置P
5へ停止されており、従って第8図のステップ303に
進むと同時に割出完了信号が出力され、直ちに前記第2
研削箇所W2の研削加工が開始される。
Furthermore, if the stop is during the first table indexing, the processing table 13 has already moved to the next indexing position P, as described above.
Therefore, at the same time as the process proceeds to step 303 in FIG. 8, an indexing completion signal is output, and immediately the second
Grinding of the grinding location W2 is started.

〈発明の効果〉 以上述べたように本発明は、研削加工サイクル中に非常
戻しされたときは、そのときの作動状態を示すブロック
NOと、その停止位置の位置データを記憶し、再起動時
にはこの記憶に基きその停止した位置を基準として作動
を開始するようにした構成であるので、−々原位置へ戻
して最初の動作サイクルから再実行するする必要がなく
なり、簡単かつ短時間に再起動できる利点を存する。
<Effects of the Invention> As described above, the present invention stores the block number indicating the operating state at that time and the position data of the stopped position when the emergency return is performed during the grinding cycle, and upon restart, the block number is stored. Based on this memory, the operation is started based on the stopped position, so there is no need to return to the original position and restart from the first operation cycle, and restart can be done easily and quickly. It has the advantage of being able to

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

第1図は本発明の概念を示すブロックダイヤグラム、第
2図は本発明の具体的実施例にかかる数値制御装置と研
削盤を示した構成図、第3図および第4図は制御プログ
ラムを示す図、第5図ないし第9図はCPUの処理手順
を示すフローチャートで、第5図は研削サイクル全体の
フローチャート、第6図は端面位置決め動作の詳細フロ
ーチャート、第7図はトラバース研削動作の詳細フロー
チャート、第8図はテーブル割出動作の詳細フローチャ
ート、第9図は再起動の際の詳細フローチャート、第1
0図は研削加工中における砥石車と工作物の関係を示す
サイクル線図である。 10・・・研削盤、12.14・・・サーボモータ、1
6.17・・・ロータリエンコーダ、20・・・数値制
御装置、21・・・CPU、24・・・RAM、241
・・記憶メモリ、242・・・停止位置記憶メモリ、2
5・・・ROM。
Fig. 1 is a block diagram showing the concept of the present invention, Fig. 2 is a configuration diagram showing a numerical control device and a grinding machine according to a specific embodiment of the invention, and Figs. 3 and 4 show control programs. Figures 5 to 9 are flowcharts showing the processing steps of the CPU. Figure 5 is a flowchart of the entire grinding cycle, Figure 6 is a detailed flowchart of end face positioning operation, and Figure 7 is a detailed flowchart of traverse grinding operation. , FIG. 8 is a detailed flowchart of the table indexing operation, FIG. 9 is a detailed flowchart of restarting, and the first
Figure 0 is a cycle diagram showing the relationship between the grinding wheel and the workpiece during grinding. 10...Grinding machine, 12.14...Servo motor, 1
6.17... Rotary encoder, 20... Numerical control device, 21... CPU, 24... RAM, 241
...Storage memory, 242...Stop position storage memory, 2
5...ROM.

Claims (1)

【特許請求の範囲】[Claims] (1)プログラムされた一連の動作指令を順次工作機械
に与えて加工動作をおこなわせる数値制御装置において
、非常戻し指令が出力された時には機械に出力される一
連の動作指令の内現在機械が作動されている動作のブロ
ックNoを記憶する動作状態記憶手段と、非常戻し指令
が出力された時には所定の停止位置へ移動して停止させ
る移動制御手段と、この停止位置の位置データを記憶す
る停止位置記憶手段と、再起動の時には前記停止位置記
憶手段に記憶された停止位置を起点としかつ前記動作状
態記憶手段に記憶された動作状態から動作を開始させる
起動制御手段とを設けたことを特徴とする数値制御装置
(1) In a numerical control device that sequentially gives a series of programmed operation commands to a machine tool to perform machining operations, when an emergency return command is output, the machine is currently activated among the series of operation commands output to the machine. an operation state storage means for storing the block number of the operation being performed; a movement control means for moving to a predetermined stop position and stopping when an emergency return command is output; and a stop position for storing position data of this stop position. The apparatus is characterized by being provided with a storage means and a start control means for starting the operation from the stop position stored in the stop position storage means and from the operation state stored in the operation state storage means when restarting. numerical control device.
JP26583687A 1987-10-21 1987-10-21 Numeric controller Pending JPH01109052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26583687A JPH01109052A (en) 1987-10-21 1987-10-21 Numeric controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26583687A JPH01109052A (en) 1987-10-21 1987-10-21 Numeric controller

Publications (1)

Publication Number Publication Date
JPH01109052A true JPH01109052A (en) 1989-04-26

Family

ID=17422734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26583687A Pending JPH01109052A (en) 1987-10-21 1987-10-21 Numeric controller

Country Status (1)

Country Link
JP (1) JPH01109052A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4902816B1 (en) * 2011-01-26 2012-03-21 三菱電機株式会社 Numerical controller

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61214947A (en) * 1985-03-19 1986-09-24 Hitachi Seiki Co Ltd Nc controller having automatic return function

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61214947A (en) * 1985-03-19 1986-09-24 Hitachi Seiki Co Ltd Nc controller having automatic return function

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4902816B1 (en) * 2011-01-26 2012-03-21 三菱電機株式会社 Numerical controller
WO2012101790A1 (en) * 2011-01-26 2012-08-02 三菱電機株式会社 Numerical control device
US9395719B2 (en) 2011-01-26 2016-07-19 Mitsubishi Electric Corporation Numerical control apparatus

Similar Documents

Publication Publication Date Title
KR950000839B1 (en) Machine tool numerical controller with a trouble stop function
JPS6332586B2 (en)
JPH0523903B2 (en)
JPH027792B2 (en)
JPS631517A (en) Control of simultaneous operation of measurement and mold break
JPS6141002B2 (en)
JPH046001B2 (en)
JPH01109052A (en) Numeric controller
US4839817A (en) Numerically controlled apparatus including shunting controller
CN114945876A (en) Numerical controller, chip removal system, and chip removal method
JPH0630011B2 (en) Numerical control Machining restart control method
JP3587046B2 (en) Numerical control device that simultaneously controls two movable bodies on a common path
JPH0641799Y2 (en) Numerical control grinder
JPH0412482B2 (en)
JPH06206142A (en) Controller for machine tool
JPH074646Y2 (en) Numerical control device
JP2512403B2 (en) Gear square chamfer
JPS58137556A (en) Cut-to-size end positioning control device
JP3182928B2 (en) Numerical control grinding machine
JPS6238111B2 (en)
JPS58186561A (en) Numerical controller
JP2900602B2 (en) Grinding wheel feed control method for cam grinder
JP2528191Y2 (en) Numerically controlled machine tools
JPH0412203B2 (en)
JPS59102573A (en) Neumeric control inner face grinding machine