JPS6381508A - Numerical control system - Google Patents

Numerical control system

Info

Publication number
JPS6381508A
JPS6381508A JP22656786A JP22656786A JPS6381508A JP S6381508 A JPS6381508 A JP S6381508A JP 22656786 A JP22656786 A JP 22656786A JP 22656786 A JP22656786 A JP 22656786A JP S6381508 A JPS6381508 A JP S6381508A
Authority
JP
Japan
Prior art keywords
reentry
numerical control
data
retract
external signal
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.)
Granted
Application number
JP22656786A
Other languages
Japanese (ja)
Other versions
JPH0677207B2 (en
Inventor
Masato Riyouki
正人 領木
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.)
Okuma Corp
Original Assignee
Okuma Machinery Works Ltd
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 Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP61226567A priority Critical patent/JPH0677207B2/en
Publication of JPS6381508A publication Critical patent/JPS6381508A/en
Publication of JPH0677207B2 publication Critical patent/JPH0677207B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To generate automatically an escape path of retract/reentry for optimum countermeasure for abnormal condition avoidance by using a moving path data omitting a closed loop as the method for adopting the shortest path of the moving path covered till the arrival of a prescribed point as the optimum moving path for retract/reentry. CONSTITUTION:For example, a retreat external signal is inputted at a point (h), the retract axial moving data through h g f b point is generated by a retract/reentry axial moving data generating means 5 according to the moving path data shown in figure and when a reentry external signal is inputted, the reentry axial moving data of b f g h point is generated similarly. An axial moving data selection means 6 selects the axial moving data by a conventional numerical control program when no external signal exists and selects the retract/reentry axial moving data when the retract or reentry external signal exists and executes the control of axial moving through the transmission of it to an axial moving control means 7.

Description

【発明の詳細な説明】 (発明の技術分野) 本発明は数値制御方式、特に異常事態回避のために退避
/再入用外部信号により、自動的に最適な退避/再入8
動経路を発生できるようにした数値制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field of the Invention) The present invention uses a numerical control method, especially to automatically determine the optimal evacuation/reentry 8 by using an evacuation/reentry external signal to avoid abnormal situations.
This invention relates to a numerical control method that can generate dynamic paths.

(発明の技術的背景とその問題点) 数値制御(NC)装置は通常数値制御プログラムデータ
通りに数値制御処理を実行し、この処理に基づいて機械
を制御し、ワークに指令通りの加工を行なわせるように
なっている。最近の数値制御装置にはサブプログラム、
ユーザーマクロの機能が付加されており、加工途中で異
常が発生した場合、その異常を知らせる外部信号を受信
し、通常の数値制御プログラムのフローを変更し、異常
処理用のサブプログラム、ユーザーマクロにプログラム
のフローを切換えるようにしていた。
(Technical background of the invention and its problems) A numerical control (NC) device usually executes numerical control processing according to numerical control program data, controls a machine based on this processing, and processes a workpiece according to instructions. It is now possible to Recent numerical control devices have subprograms,
A user macro function is added, and if an abnormality occurs during machining, it receives an external signal that notifies the abnormality, changes the flow of the normal numerical control program, and creates a subprogram for abnormality processing, a user macro. I was trying to switch the flow of the program.

しかしながら、異常処理用の最適なサブプログラム、ユ
ーザーマクロを準備しておくことは困難であり、仮に準
備したとしても通常の数値制御プログラムのそれぞれの
局面に適するように、非常に多くのサブプログラム、ユ
ーザーマクロをべβ備する必要があり、実用的ではなか
った。
However, it is difficult to prepare optimal subprograms and user macros for abnormality processing, and even if they were prepared, there would be a large number of subprograms and user macros suitable for each aspect of a normal numerical control program. It was not practical as it required a user macro to be prepared.

(発明の目的) 木発明は上述のような事情よりなされたものであり、本
発明の目的は、通常の数値制御プログラムの軸移動経路
データを記t0シておき、これに基づいて異常事態回避
のために@通な異常処理用の退避/再入動作の回避経路
を自動的に生成できるようにした数値制御方式を提供す
ることにある。
(Object of the Invention) The invention was made in view of the above-mentioned circumstances, and the object of the present invention is to record the axis movement path data of a normal numerical control program and to avoid abnormal situations based on this. Therefore, it is an object of the present invention to provide a numerical control method that can automatically generate an avoidance route for evacuation/reentry operations for common abnormality processing.

(発明の概要) 木発明は、数値制御プログラムに基づいて数値制御処理
を実行し、その処理によって機械を制御し、ワークに指
令に従った加工を行なわせる数値制御方式に関するもの
で、異常処理用の退避/再入動作を必要とする領域を設
定しておき、前記領域に進入した移動経路を記憶すると
共に、前記記憶した移動経路に閉ループが有る場合には
当該閉ループの移動経路データを削除し、異常処理を要
求する退a/再天外部信号か有る場合には、退避/再入
の最適移動経路として所定地点に達するまでに通過した
移動経路の最短経路を採用する方法として、前記閉ルー
プを削除した移動経路データを用いるようにした、もの
である。
(Summary of the Invention) The invention relates to a numerical control method that executes numerical control processing based on a numerical control program, controls a machine using the processing, and processes a workpiece according to instructions. An area that requires an evacuation/re-entry operation is set, and the movement route that entered the area is memorized, and if the memorized movement route has a closed loop, the movement route data of the closed loop is deleted. , if there is an external signal for evacuation/re-emergence that requests abnormality processing, the closed loop method is adopted as a method of adopting the shortest route of the movement route passed before reaching a predetermined point as the optimum movement route for evacuation/re-entry. This method uses the deleted travel route data.

(発明の実施例) 第1図は本発明の数値制御方式を実現する装置の一例を
示しており、数値制御プログラムは数値制御プログラム
解読手段1に人力され、解読された数値制御プログラム
が領域判断手段2及び軸移動データ選択手段6に入力さ
れる。領域判断手段2で判断された移動経路の結果は、
移動経路記憶手段3に人力されて記憶され、移動経路に
閉ループが有る場合には閉ループ移動経路削除手段4で
削除される。閉ループ移動経路削除手段4で閉ループが
削除された移動経路は退避/再入軸移動データ生成手段
5に入力され、退避外部信号及び再入外部信号と共に軸
移動データ選択手段6に人力され、選択されたデータが
軸移動制御手段7に伝送されるようになっている。
(Embodiment of the Invention) FIG. 1 shows an example of a device for realizing the numerical control method of the present invention, in which a numerical control program is manually entered into the numerical control program decoding means 1, and the decoded numerical control program determines the area. The data is input to the means 2 and the axis movement data selection means 6. The result of the movement route determined by the area determination means 2 is:
The travel route is manually stored in the travel route storage means 3, and if the travel route has a closed loop, it is deleted by the closed loop travel route deletion means 4. The movement path from which the closed loop has been deleted by the closed-loop movement path deletion means 4 is input to the evacuation/re-entry axis movement data generation means 5, and is manually input to the axis movement data selection means 6 together with the evacuation external signal and the re-entry external signal, and is selected. The data is transmitted to the axis movement control means 7.

このような構成において、その動作を第2図のフローチ
ャートを参照して説明する。
The operation of such a configuration will be explained with reference to the flowchart in FIG.

先ず、数値制御プログラムを数値制御プログラム解読手
段1によって解読しくステップS1)、軸移動データ等
を生成して軸移動データ選択手段6及び領域判断手段2
に伝送する。領域判断手段2は生成された軸移動データ
が指定された領域内にあるか否かを判断しくステップS
2)、軸移動データが指定された領域内に有る場合には
移動経路記憶手段3に人力されて記憶され(ステップS
3)、その読出された移動経路か閉ループ8動経路削除
手段4に人力され、閉ループが有る場合には削除される
(ステップS4)。第3図及び第4図の例では、移動経
路b −c以降の経路が指定領域内となっており、移動
X、Y路記jQ手段3には例えば第6図〜第8図に示す
ようなデータで移動経路が記憶される。
First, the numerical control program is decoded by the numerical control program decoding means 1 (Step S1), axis movement data etc. are generated, and the axis movement data selection means 6 and the area determination means 2
to be transmitted. In step S, the area determining means 2 determines whether the generated axis movement data is within the specified area.
2) If the axis movement data is within the specified area, it is manually stored in the movement path storage means 3 (step S
3) The read movement route is manually input to the closed loop 8 movement route deletion means 4, and if there is a closed loop, it is deleted (step S4). In the example shown in FIGS. 3 and 4, the route from movement route b to c is within the designated area, and the movement X, Y route jQ means 3 has a The travel route is stored as data.

そして、移動経路記憶手段3の中に閉ループ移動経路が
記+、aされた場合、例えば第6図の(Xc。
When a closed loop travel route is recorded in the travel route storage means 3, for example (Xc in FIG. 6).

ZC)〜(Xf、b)間のような閉ループデータで有る
場合、閉ループ移動経路削除手段4は閉ループデータを
削除して第7図のようにする。
If the closed loop data is between ZC) and (Xf, b), the closed loop moving route deletion means 4 deletes the closed loop data as shown in FIG.

閉ループ移動経路削除手段4で閉ループが判定されて削
除された後、又は上記ステップS2の領域判断において
移動経路が指定領域外であると判断された場合には、退
避外部信号又は再入外部信号の外部信号が人力されてい
るか否かを判断する(ステップS5)。そして、例えば
第4図のh点で退避外部信号が人力された場合には、第
8図の移動経路データに従ってh−g−f−b点の退避
用・軸移動データを退a/再人軸移動データ生成手段5
で生成し、その後に回天外部信号が入力された場合には
、同様にb −f−g−h点の再入軸移動データを生成
する(ステップ57)。軸移動データ選択手段6は、外
部信号が無い場合には通常の数値制御プログラムによる
軸移動データを選択しくステップS6)、上記退避又は
古人外部信号が有る場合には生成された退避/再入の軸
移動データを選択しくステップS8)、軸移動制御手段
7に送って軸移動の制御を実行する。
After the closed loop is determined and deleted by the closed loop movement path deletion means 4, or when the movement path is determined to be outside the specified area in the area determination in step S2, the evacuation external signal or re-entry external signal is It is determined whether the external signal is input manually (step S5). For example, when the evacuation external signal is manually inputted at point h in Fig. 4, the evacuation/axis movement data at points h-g-f-b are manually inputted to Axis movement data generation means 5
If a rotational external signal is input after that, re-entrance axis movement data for points b-fgh-h is generated in the same way (step 57). The axis movement data selection means 6 selects the axis movement data based on a normal numerical control program when there is no external signal (step S6), and selects the axis movement data based on the generated evacuation/reentry when there is the above-mentioned evacuation or ancient external signal. Select the axis movement data (step S8) and send it to the axis movement control means 7 to control the axis movement.

尚、第6図〜第9図は軸移動経路記憶手段3の中の記憶
データの例を示しており、第6図は第3図のプログラム
によりe点まで加工し、f点に移動しようとした場合の
内容を示している。又、第7図は移動経路記憶手段3の
中に閉ループの移動経路が記憶されている場合、その閉
ループ移動経路データを削除した結果の内容を示してお
り、第8図は第7図以降で外部信号が人力されるまでの
移動経路記憶手段3の内容を示している。
6 to 9 show examples of data stored in the axis movement path storage means 3, and FIG. 6 shows an example of machining up to point e and an attempt to move to point f using the program shown in FIG. The contents are shown below. Moreover, FIG. 7 shows the contents of the result of deleting the closed-loop travel route data when a closed-loop travel route is stored in the travel route storage means 3, and FIG. 8 shows the contents after FIG. It shows the contents of the travel route storage means 3 until an external signal is input manually.

(発明の効果) 以上のように本発明の数値制御方式によれば、異常事態
回避のために最適な異常処理用の退避/再入動作の回避
経路を自動釣に生成できるようにしたので、数値制御プ
ログラムを複雑にすることなく、信顆性の高い経済的な
ワーク加工を実現することができる。
(Effects of the Invention) As described above, according to the numerical control method of the present invention, it is possible to automatically generate an avoidance route for the evacuation/re-entry operation for abnormality processing that is optimal for avoiding abnormal situations. Highly reliable and economical workpiece machining can be achieved without complicating the numerical control program.

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

第1図は本発明方式を実現する装置の一例を示すブロッ
ク構成図、第2図は本発明の動作例を示すフローチャー
ト、第3図は本発明の説明に用いる数f7m’J御プロ
グラムの一例を示す図、第4図は数値制御プログラムの
移動経路の一例を示す図、第5図は第3図及び第4図の
例における異常処理用の退避/再入の経路図、第6図〜
第8図は移動経路記憶手段の記憶データの一例を示す図
である。 1・・・数値制御プログラム解読手段、2・・・領域判
断手段、3・・・移動経路記憶手段、4・・・閉ループ
移動経路削除手段、5・・・退避/再入軸移動データ生
成手段、6・・・軸移動データ選択手段、7・・・軸移
動制御手段。 哨2回 第4回 第5国 羊6 劇 羊7
FIG. 1 is a block configuration diagram showing an example of a device that implements the method of the present invention, FIG. 2 is a flowchart showing an example of the operation of the present invention, and FIG. 3 is an example of a number f7m'J control program used to explain the present invention. , FIG. 4 is a diagram showing an example of the movement route of the numerical control program, FIG. 5 is an evacuation/reentry route diagram for abnormality processing in the example of FIGS. 3 and 4, and FIGS.
FIG. 8 is a diagram showing an example of data stored in the travel route storage means. DESCRIPTION OF SYMBOLS 1... Numerical control program decoding means, 2... Area determination means, 3... Movement route storage means, 4... Closed loop movement route deletion means, 5... Evacuation/re-entry axis movement data generation means , 6... Axis movement data selection means, 7... Axis movement control means. Shou 2nd 4th 5th Kokuhitsu 6 Gekihitsu 7

Claims (1)

【特許請求の範囲】[Claims] 数値制御プログラムに基づいて数値制御処理を実行し、
その処理によって機械を制御し、ワークに指令に従った
加工を行なわせる数値制御方式において、異常処理用の
退避/再入動作を必要とする領域を設定しておき、前記
領域に進入した移動経路を記憶すると共に、前記記憶し
た移動経路に閉ループが有る場合には当該閉ループの移
動経路データを削除し、異常処理を要求する退避/再入
外部信号が有る場合には、退避/再入の最適移動経路と
して所定地点に達するまでに通過した移動経路の最短経
路を採用する方法として、前記閉ループを削除した移動
経路データを用いるようにしたことを特徴とする数値制
御方式。
Executes numerical control processing based on numerical control program,
In a numerical control method that controls the machine and processes the workpiece according to the instructions, an area that requires evacuation/re-entry operation for error handling is set, and the movement path that enters the area is set. At the same time, if there is a closed loop in the stored travel route, delete the travel route data of the closed loop, and if there is an external signal requesting abnormality processing, determine the optimal evacuation/reentry. A numerical control method characterized in that, as a method of employing the shortest route of the travel route passed before reaching a predetermined point as the travel route, travel route data from which the closed loop has been deleted is used.
JP61226567A 1986-09-25 1986-09-25 Method of determining evacuation / reentry route in numerical control device Expired - Fee Related JPH0677207B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61226567A JPH0677207B2 (en) 1986-09-25 1986-09-25 Method of determining evacuation / reentry route in numerical control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61226567A JPH0677207B2 (en) 1986-09-25 1986-09-25 Method of determining evacuation / reentry route in numerical control device

Publications (2)

Publication Number Publication Date
JPS6381508A true JPS6381508A (en) 1988-04-12
JPH0677207B2 JPH0677207B2 (en) 1994-09-28

Family

ID=16847183

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61226567A Expired - Fee Related JPH0677207B2 (en) 1986-09-25 1986-09-25 Method of determining evacuation / reentry route in numerical control device

Country Status (1)

Country Link
JP (1) JPH0677207B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02101507A (en) * 1988-10-11 1990-04-13 Mitsubishi Electric Corp Work controller

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5721247A (en) * 1980-07-04 1982-02-03 Komatsu Ltd Determination of retracting and returning path for tool in machine tool

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5721247A (en) * 1980-07-04 1982-02-03 Komatsu Ltd Determination of retracting and returning path for tool in machine tool

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02101507A (en) * 1988-10-11 1990-04-13 Mitsubishi Electric Corp Work controller

Also Published As

Publication number Publication date
JPH0677207B2 (en) 1994-09-28

Similar Documents

Publication Publication Date Title
KR890002437B1 (en) A numerical control system
US4131836A (en) Interference prevention system for machine tool movable members
JPS6381508A (en) Numerical control system
US4495561A (en) Numerical control method
KR930701264A (en) How to Specify Pellet Surface Generation Locations
JPH0688191B2 (en) A method for determining a machining part in a numerical control information creation device
JPS60127775A (en) Laser controller
JP2672595B2 (en) Tool replacement method
JP2865220B2 (en) Numerical control information creation device
JPH06104291B2 (en) Turret turning control system and its equipment for numerically controlled lathe
JP2777711B2 (en) Program destination analysis method
JPS63318605A (en) Nc part program generating device
JPH0573117A (en) Origin restoring method in numerical controller
JPH0553809A (en) Knowledge data referencing method for inference device
JP2900654B2 (en) Processing equipment and processing system
JPS59188747A (en) Latent error detecting device
JPH03155485A (en) System for setting laser beam machining condition
JPH05241643A (en) Controller
JPS5373934A (en) Data exchange control system
JPS58107969A (en) Virtual failure generating system
JPS5539912A (en) External input cassette system of digital differential analyzer
JPH0275030A (en) Input/output control system for virtual computer
JPH06237295A (en) System for automatically generating device package data
JPS5914200A (en) Memory control system
JPH0212548A (en) Network job transfer control system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371