JPS60108248A - Tool escapement control system - Google Patents

Tool escapement control system

Info

Publication number
JPS60108248A
JPS60108248A JP21684183A JP21684183A JPS60108248A JP S60108248 A JPS60108248 A JP S60108248A JP 21684183 A JP21684183 A JP 21684183A JP 21684183 A JP21684183 A JP 21684183A JP S60108248 A JPS60108248 A JP S60108248A
Authority
JP
Japan
Prior art keywords
tool
command
movement
escape
axis
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
JP21684183A
Other languages
Japanese (ja)
Other versions
JPH0122105B2 (en
Inventor
Nobuyuki Kitani
木谷 信之
Motoaki Yoshino
元章 吉野
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 JP21684183A priority Critical patent/JPS60108248A/en
Publication of JPS60108248A publication Critical patent/JPS60108248A/en
Publication of JPH0122105B2 publication Critical patent/JPH0122105B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/37Measurements
    • G05B2219/37245Breakage tool, failure
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50112Retract tool to a point

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Auxiliary Devices For Machine Tools (AREA)
  • Machine Tool Units (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To separate a tool from a work the maximum distance with the highest speed in an NC machine tool by obtaining an escaping command for moving the tool in the relative moving and vertical directions from a memory means of moving command in the escaping operation of the tool. CONSTITUTION:NC data are read by a tape reader puncher 102e and stored in a data memory 102c so that a processor 102a executes a working control program by the operation of a operating board 102d. And when a tool escapes in the breakage or the like, the processor 102 reads out the moving command stored in the data memory 102c while reading out escapement amount and escapement spped to give tool escapement command to X, Y axes drive circuits XDV and YDV and drive X, Y axes motors 105, 110 so that the tool CT moves relatively in the relative moving direction and the vertical direction during working for escapement. Thus, the tool can be separated from a work in the normal direction the largest distance with the highest speed so that the work is prevented from unnecessary working.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、数的制御工作機械においてワーク加」−中に
上几を逃がす工具逃げ制御力式に関し、特に工具移動方
向の法線方向に工具を逃がすことのできるL其逃げ制御
方式に関する。
Detailed Description of the Invention (Industrial Field of Application) The present invention relates to a tool relief control force type that releases the upper layer during workpiece machining in a numerically controlled machine tool, particularly in the normal direction of the tool movement direction. This invention relates to an L escape control system that allows tools to escape.

(従来技祢J) ワークを自動加工するため、L作機械の数イホ(制御化
か盛んに行なわれている。この数1(i制御化のため、
数的制御装置(以下NC装置と称す)か用いられ、所望
のNC加ニブログラムに従ってNC装置か1イ′I機械
の工具、テーブル等を移動制御することにより、工作機
械の工具かテーブルに搭載されたワークに対し所望の加
工を行なうようにしている。係る工具がワークをジノ削
等の加工中に伺等かの異常(例えば工具破損等)が生し
た時には、工具をワークから逃がし、ワークに誤った加
■:が行なわれないようにまた機械に不要な力か1・1
勺−されないように機械及びワークを保護している。
(Conventional technology) In order to automatically process the workpiece, the number 1 (control) of L machine tools is actively being carried out.
A numerical control device (hereinafter referred to as an NC device) is used to control the movement of the tools, tables, etc. of the machine according to the desired NC program. The desired processing is performed on the workpiece. If an abnormality occurs (such as tool breakage) when the tool touches the workpiece during machining such as cutting, the tool should be removed from the workpiece and the machine should be re-installed to prevent the workpiece from being erroneously added. Unnecessary force? 1.1
Protects the machine and workpiece from being crushed.

従来、工具をワークから逃がすため、予しめ逃げる方向
と、逃げの量と、逃げの速爪とをプログラムしておS、
異畠発生昨このプログラムを実行し]二其をワークから
逃がすようにしている。一方、1−具移動方向に対し法
線方向に]−具をワークから逃がすと、指令逃げ量にお
いて工具をワークから最大距離離すことができ、しかも
瞬時にワークからに具を離すことができ、係る緊急時の
逃げ方法として最適である。
Conventionally, in order to let the tool escape from the workpiece, the escape direction, escape amount, and escape speed were programmed in advance.
Last time an abnormality occurred, I ran this program to make the two escape from the work. On the other hand, if the tool is released from the workpiece in the direction normal to the direction of tool movement, the tool can be separated from the workpiece by the maximum distance at the commanded escape amount, and the tool can be separated from the workpiece instantly. This is the best way to escape in such an emergency.

(従来技術の問題点) しかしながら、従来の工具也げ技術では逃げ方向が一定
のため、直線移動においては法線方向に逃げることがで
きるか、円弧移動やオフセント移動においては法線方向
に工具を逃がすことができないという問題点があった。
(Problems with the conventional technology) However, in the conventional tool cutting technique, the escape direction is constant, so it is difficult to escape in the normal direction in linear movement, or in the normal direction in circular movement or offset movement. The problem was that it was impossible to escape.

(g5:明の目的) 本発明の目的は、畠に工具移動方向の法線方向に下其を
逃がすことのできる王具囮げ制御方式を提供するにある
(g5: Aim of Light) An object of the present invention is to provide a control system for controlling the cutting of tools that allows the lower part to escape from the field in the direction normal to the direction of tool movement.

(発明の概要) 本発明では、工具とワークを相対移動させる2次元駆動
機構を数値制御部が周期的に移動指令をノJ、えて工具
をワークに対し指定された通路に沿って移動せしめて加
工を行なう加ニジステムにおいて、数値制御部に該2次
元駆動のための第1及び第2の軸の移動指令を格納する
記憶手段を設け、丁具逃げの必要時に該記憶手段に格納
された第1及び第2の移動指令から二[具の相対移動方
向と東直な方向に工具を移動させるための第1及び第2
の逃げ移動指令を算出し、これによって2次元駆動機構
を駆動して工具を相対移動方向と垂直な方向に移動させ
るようにしている。即ち、本発明では数値制御(NC)
においては、指令通路を微小線分に分割し1周期的に移
動指令を与えて指令通路に沿って工具を相対移動させる
ことから、この移動指令は工具移動方向(ベクトル)を
示し、これを用いてF具移動方向と垂直な方向の移動指
令を得るようにしている。
(Summary of the Invention) In the present invention, a numerical control section periodically sends movement commands to a two-dimensional drive mechanism that moves a tool and a workpiece relative to each other, and the tool is moved along a specified path relative to the workpiece. In the machining system that performs machining, the numerical control unit is provided with a storage means for storing the movement commands of the first and second axes for the two-dimensional drive, and when the cutting tool escape is necessary, the first and second axes movement commands are stored in the storage means. 1 and 2 from the 2nd movement command [1st and 2nd for moving the tool in a direction perpendicular to the relative movement direction of the tool]
An escape movement command is calculated, and the two-dimensional drive mechanism is driven by this command to move the tool in a direction perpendicular to the relative movement direction. That is, in the present invention, numerical control (NC)
In this method, the command path is divided into minute line segments and movement commands are given periodically to move the tool relatively along the command path, so this movement command indicates the tool movement direction (vector), and this is used to A movement command in a direction perpendicular to the movement direction of the F tool is obtained by using the F tool.

(実施例) 以下、本発明を実施例によりliT細に説明する。(Example) Hereinafter, the present invention will be explained in detail using examples.

第11Δは本発明の説明図である。第1因(A)は直線
移動の例を示し、−[具CTの指令通路PP1は微小線
分ΔVに分割して指令され、この移動指令ΔVは周期的
(例えば8m5)に駆動機構にダーえられ、−1−其C
Tは指令通路PPI上を相対移動する。第1図(B)は
円弧移動の例を示し、工具CTの指令円弧通路PP2は
円弧補間によって微小線分ΔVに分割して指令され、こ
の移動ΔVは周期的に駆動機構に与えられ、王!I−C
Tは指令円弧通路P P 21:を相対移動する。第1
1N(C)はオフセットされた直線移動する例を、■(
シ、プログラムされた通路PP3に対しオフセット量が
順次増加するオフセy l・指令通路PP4に沿う]−
具CTの移動を示し、この場合も同様に微小線分ΔVに
分割して周期的に指令される。このように移動指令ΔV
か周期的に与えられ、この移動指令がその時の工具移動
指令方向であることから、この周期的に指令される移動
指令を−[具移動方向のベクトルとして記憶しておけば
、その時の工具移動と垂直な方向の移動指令を作成する
ようにしている。これを第2図により説明する。前述の
微小線分のベクトルをΔVとし、2次元移動の第1の軸
方向(例えばX軸方向)の成分をVl、第2の軸方向(
例えばY軸方向)の成分をv2とする。そして垂直な方
向のベクトルをqとし、その第1軸方向の成分をqt+
 第2軸方向の成分をq2とする。
The 11th Δ is an explanatory diagram of the present invention. The first factor (A) shows an example of linear movement. -1-C
T moves relatively on the command path PPI. FIG. 1(B) shows an example of circular movement. The commanded circular path PP2 of the tool CT is divided into minute line segments ΔV by circular interpolation, and this movement ΔV is periodically given to the drive mechanism. ! I-C
T relatively moves along the command arc path P P 21:. 1st
1N(C) is an example of offset linear movement, ■(
- Along the commanded path PP4] -
The movement of the tool CT is shown, and in this case as well, commands are periodically divided into minute line segments ΔV. In this way, the movement command ΔV
Since this movement command is the direction of the tool movement command at that time, if this periodic movement command is stored as a vector in the tool movement direction, the tool movement at that time is I am trying to create a movement command in the direction perpendicular to the direction. This will be explained with reference to FIG. The vector of the minute line segment mentioned above is ΔV, the component of the two-dimensional movement in the first axis direction (for example, the X-axis direction) is Vl, and the component in the second axis direction (
For example, let the component in the Y-axis direction be v2. Then, the vector in the vertical direction is q, and the component in the first axis direction is qt+
Let the component in the second axis direction be q2.

ここで、周知のベクトルの法則より、 Δv@q =0 (2) ・’−Vr q+ +V2 q2 =0従って q 2
 / q t = −V + / V 2 (3)ここ
で、q = r17可であるから、(3)式を変形して
、q”、=CV+/V2アX q?q:= (Vl /
V2)”X (q’ q:)、°、qよ=q※vz/7
可「叩 (4)同様にして、 q + = q X (−V2 ) 、/ L迂「可(
5)となる。
Here, from the well-known law of vectors, Δv@q =0 (2) ・'-Vr q+ +V2 q2 =0 Therefore, q 2
/ q t = -V + / V 2 (3) Here, since q = r17 is possible, we transform equation (3) to obtain q'', = CV + / V2aX q?q:= (Vl /
V2)"X (q' q:), °, qyo=q*vz/7
(4) In the same way, q + = q X (-V2), / L round (
5).

従って、(4)、(5)式よりベクトルqの長さ即ち逃
げの距離を与えれば、ベクルトΔV(Vl、V2)より
垂直方向の移動指令Qt、Q2をめることかできる。実
際には、このqの長S(逃げが)、逃げの速度Fをプロ
グラムにより予め与えておき、逃げの必要な時、このプ
ログラムを読出し、Ql、G2をめる。
Therefore, if the length of the vector q, that is, the escape distance is given from equations (4) and (5), the vertical movement commands Qt and Q2 can be determined from the vector ΔV (Vl, V2). Actually, the length S (relief) of q and the speed of escape F are given in advance by a program, and when escape is required, this program is read and Ql and G2 are determined.

例えは、この命令としてGコートとして、G47 (G
48)QqFfの形で与えればよい。尚、G47は進行
力面左側への逃げを命令し、G48は進行方向右側への
逃げを命令している。従って割込時に−1,述のプログ
ラムを実行して、(4)、(5)式よりql、q2をめ
、更に逃げ速度fによって、「具を移動方向の法線方向
(垂直方向)に速瓜fで距#qだけ逃がすことができる
For example, as this command and G coat, G47 (G
48) It can be given in the form of QqFf. Note that G47 commands escape to the left side of the advancing force plane, and G48 commands escape to the right side of the advancing direction. Therefore, at the time of an interrupt, -1, execute the program mentioned above, find ql and q2 from equations (4) and (5), and then use the escape speed f to move the ingredients in the normal direction (vertical direction) of the moving direction. It is possible to escape by distance #q with quick melon f.

第3 +dは本発明の一実施例ブロック図であり、図に
おいて、101は数値制御(N G)指令データが穿孔
されている紙テープであり、加工のための位置決め情報
やM、S、T機能情報等のNC指令データを蓄積したも
の、102は数(fi fl)制御(NC)装置であり
、紙テープlotから後述するテープリータをしてNC
データを読取らせると共に、読取られたNCデータを解
読し、たとえばM、S、T機能命令等であれば図示しな
い強電盤を介して機械側へ送出し、又移動指令XC,Y
Cであれば後段のパルス分配器に出力する。NC装置δ
102は、制御プログラムに従って演算処理を実行する
プロセ、す102aと、所定の制御プロゲラt・を記七
伍するプログラムメモリ102bと、データを記憶する
データメモリ102cと、操作のための操作5B IO
2aと、テープリーグ/パンチャ102eと、入出力ポ
ート102f、102gと、現在位置カウンタl 02
hと、表示装置1021と、これらを接続するアドレス
・データバス102jとで構成される。
3 +d is a block diagram of one embodiment of the present invention. In the figure, 101 is a paper tape on which numerical control (NG) command data is perforated, positioning information for processing and M, S, T functions. 102 is a numerical (fi fl) control (NC) device that stores NC command data such as information.
At the same time as reading the data, the read NC data is decoded and, for example, M, S, T function commands, etc. are sent to the machine side via a power board (not shown), and movement commands XC, Y
If it is C, it is output to the subsequent pulse distributor. NC device δ
102 is a process that executes arithmetic processing according to a control program; a program memory 102b that stores a predetermined control program; a data memory 102c that stores data; and an operation 5B IO for operation.
2a, tape league/puncher 102e, input/output ports 102f and 102g, and current position counter l02.
h, a display device 1021, and an address/data bus 102j connecting these.

プログラムメモリ102bは、リートオンリーメモリ(
1?OM)又は不揮発性メモリで構成され、]作機械S
CMを数値制御するための数値制御プログラム及び工具
逃げ制御プログラムが記憶されている。−力、データメ
モリ102cは、不揮発性メモリで構成され、紙テープ
lotのNCデータ(加工位置データ等)を記憶する他
に移動指令ΔX、ΔYを格納する移動指令格納エリアP
Mが設けられている。
The program memory 102b is a read-only memory (
1? OM) or non-volatile memory;
A numerical control program and a tool escape control program for numerically controlling the CM are stored. - The force and data memory 102c is composed of a nonvolatile memory, and in addition to storing NC data (processing position data, etc.) of the paper tape lot, a movement command storage area P stores movement commands ΔX and ΔY.
M is provided.

103はパルス分配器であり、移動指令ΔXに基いて公
知のパルス分配器ηを実行して指令速度に1εした周波
数の分配パルスPsを発生するものである6 104は
分配パルス列Psのパルス速度を該パルス列の発生時に
直線的に加速し、又該パルス列の終了時に直線的に減速
してパルス列Piを発生する公知の加減速回路、105
はテーブルTBをX軸方向に送るためのX軸モータ、1
06はX軸モータが所定量回転する毎に1個のフィード
パンクパルスFPを発生するパルスコータ、107は誤
差演算記憶部であり、たとえは可逆カウンタにより構成
され、加減速回路104から発生ml−人1−1i<I
I/フ1’1tTrIも)17r/<、−、/7/ぐ+
L1FPの差Erを記憶する。尚、この誤差演算記憶部
は図小のirJ’ < P iとFPの差Erを演算す
る油算回路107aとErを記憶する誤差レジスタ10
7bとで構成してもよい。即ち、誤差演算記憶1’?3
107はX輔モータ105がIF力方向回転するよう指
令され、それに従って回転しているものとすれば人力パ
ルスPiが発生する毎に該パルスP1をカウントアツプ
し、又フィートハ・ンクパルスFPが発生する毎にその
内容をカウントタウンし、入力パルス数とフィードバッ
クパルス数の差Erを誤差レジスタ107bに記憶する
。108は誤差レジスタ107bの内容に比例したアナ
ログ′屯圧を発生するデジタルアナログ(DA)変換器
、109は速度制御回路である。尚、パルス分配器10
3、加減速回路104、パルスコータ106、誤差演算
記憶部107.DA変換器108及び速度制御回路10
9でX軸ドライブ回路XDVを構成し、Y軸側にも同一
・構成のY軸ドライブ回路YDVが設けられている。1
10はY軸モータであり、人出力ボート102fに接続
されたY軸ドライブ回路YDVにより駆動されテーブル
TBをY軸方向に駆動するものであり、TBはテーブル
であり、ワークを搭載し、X軸及びY軸モータ105、
ll’oによってX軸及びY軸の2次元駆動されるもの
、CTは工具であり、カッタ等で構成され、X軸方向に
駆動されるものである。
Reference numeral 103 denotes a pulse distributor, which executes a known pulse distributor η based on the movement command ΔX to generate distribution pulses Ps with a frequency 1ε higher than the command speed.6 104 determines the pulse speed of the distribution pulse train Ps. A known acceleration/deceleration circuit that linearly accelerates when the pulse train is generated and decelerates linearly when the pulse train ends to generate the pulse train Pi, 105
is an X-axis motor for sending table TB in the X-axis direction, 1
06 is a pulse coater that generates one feed puncture pulse FP every time the X-axis motor rotates by a predetermined amount, and 107 is an error calculation storage unit, for example, composed of a reversible counter, which generates ml-man from the acceleration/deceleration circuit 104. 1-1i<I
I/F1'1tTrI too) 17r/<, -, /7/gu+
Store the difference Er between L1FP. This error calculation storage unit includes an oil calculation circuit 107a that calculates the difference Er between irJ'< Pi and FP in the figure, and an error register 10 that stores Er.
7b. That is, error calculation memory 1'? 3
Reference numeral 107 indicates that the X motor 105 is commanded to rotate in the IF force direction, and if it is rotating in accordance with the command, the pulse P1 will be counted up every time a human power pulse Pi is generated, and a foot pump pulse FP will be generated. The contents are counted each time, and the difference Er between the number of input pulses and the number of feedback pulses is stored in the error register 107b. 108 is a digital-to-analog (DA) converter that generates an analog pressure proportional to the contents of the error register 107b, and 109 is a speed control circuit. In addition, the pulse distributor 10
3. Acceleration/deceleration circuit 104, pulse coater 106, error calculation storage section 107. DA converter 108 and speed control circuit 10
9 constitutes an X-axis drive circuit XDV, and a Y-axis drive circuit YDV having the same structure and structure is provided on the Y-axis side as well. 1
Reference numeral 10 denotes a Y-axis motor, which is driven by a Y-axis drive circuit YDV connected to the human output boat 102f and drives table TB in the Y-axis direction. and Y-axis motor 105,
CT is a tool that is driven two-dimensionally in the X-axis and Y-axis by ll'o, and is composed of a cutter and the like, and is driven in the X-axis direction.

次に、第3図実施例構成の動作について説明する。Next, the operation of the embodiment configuration shown in FIG. 3 will be explained.

先ず、加rに先s’t−ち、紙テープ101のNCデー
タをテープワークパンチャ102eか読取り、バス10
2jを介しデータメモリ102cに紙テープ101のN
Cデータを格納する。次に操作盤102dの操作により
スタート指令がバス102jを介しプロセッサ102a
に人力されると、プロセ・ンサ102aはプログラムメ
モリ102bの加工制御プログラムを順次読出し、実行
する。即ち、データメモリ102cのNCデータを読出
すとともに、必要なパラメータを読出し、工具CTによ
ってテーブルTB上のワークを指定形状に加工させるた
め、工具CTをテーブルTHに対し指定通路に沿って相
対移動させるへ〈、x軸移動指令ΔX、Y軸移動指令Δ
Yを算出する。前述の看口く指定通路は直線補間、円弧
補間によって微小線分ΔVに分割されて制御されるので
、プロセッサ102aはこの微小線分ΔVに応じたΔX
、ΔYを算出する。
First, the NC data of the paper tape 101 is read by the tape work puncher 102e, and the bus 10
N of the paper tape 101 is transferred to the data memory 102c via 2j.
Store C data. Next, by operating the operation panel 102d, a start command is sent to the processor 102a via the bus 102j.
When inputted manually, the processor 102a sequentially reads and executes the machining control programs from the program memory 102b. That is, the NC data in the data memory 102c is read out, necessary parameters are read out, and the tool CT is moved relative to the table TH along a specified path in order to process the workpiece on the table TB into a specified shape using the tool CT. to <, x-axis movement command ΔX, Y-axis movement command Δ
Calculate Y. The above-mentioned specified path is controlled by being divided into minute line segments ΔV by linear interpolation and circular interpolation.
, ΔY is calculated.

このΔX、ΔYはバス102jを介しデータメモリ10
2cの格納エリアPMに格納される。−力、ΔXは入出
力ポート102gへ、ΔYは入出力ポート102fへ与
えられる。さて、人出力ボート102gから移動指令が
パルス分配器103に与えられると、パルス分配器10
3は移動指令ΔXに基いてパルス分配演算を実行して分
配パルスPsを出力する。加減速回路104はこの分配
パルスPsを人力され、そのパルス速度を加減速して指
令パルス列Piを誤差演算記憶部107に入力する。こ
れにより誤差レジスタ107bの内容は零でなくなるか
ら、DA変換器lO8から電圧が出力され、速度制御回
路109によりモータ105は駆動され、テーブルTB
はX軸方向に駆動される。モータ105が所定量回転す
ればパルスコータ106からフィードバックパルスFP
が発生し誤差演算記憶部107に記憶され、誤差レジス
タ107bには指令パルスPiの数とフィードバックパ
ルスFPの数との差Erが記憶されることになる。そし
て、以後誤差Erが零となるようにモータ105がサー
ボ制御され、テーブルTBは微小線分ΔVのX軸分移動
される。同様にΔYは人出力ポート102fよりY軸ド
ライブ回路YDVに与えられ、Y軸モータ110を駆動
してテーブルTBを微小線分ΔVのY軸分移動すること
になるから、テーブル1゛Bは微小線分ΔVだけ移動す
る。このΔX、ΔYは指令通路に従って周期的にかえら
れ、データメモリ102cの格納エリアPMが書替えら
れるとともにX軸及びY軸ドライブ回路XDV 、YD
Vに与えられ、こうしてX軸、Y軸モータ105,11
0か゛駆動され、従って」−:其CTはテーブルTBに
対し指令通路上を相対移動する。これによってテーブル
TB上の図示1−ないワークは丁jt、cTによって1
Vt4 & diに加工される。
These ΔX and ΔY are connected to the data memory 10 via the bus 102j.
2c is stored in the storage area PM. - force, ΔX, is applied to the input/output port 102g, and ΔY is applied to the input/output port 102f. Now, when a movement command is given to the pulse distributor 103 from the human output boat 102g, the pulse distributor 10
3 executes a pulse distribution calculation based on the movement command ΔX and outputs a distribution pulse Ps. The acceleration/deceleration circuit 104 receives this distribution pulse Ps manually, accelerates and decelerates the pulse speed, and inputs the command pulse train Pi to the error calculation storage section 107. As a result, the contents of the error register 107b are no longer zero, so a voltage is output from the DA converter lO8, the motor 105 is driven by the speed control circuit 109, and the table TB
is driven in the X-axis direction. When the motor 105 rotates by a predetermined amount, a feedback pulse FP is sent from the pulse coater 106.
is generated and stored in the error calculation storage section 107, and the difference Er between the number of command pulses Pi and the number of feedback pulses FP is stored in the error register 107b. Thereafter, the motor 105 is servo-controlled so that the error Er becomes zero, and the table TB is moved by a minute line segment ΔV along the X axis. Similarly, ΔY is given to the Y-axis drive circuit YDV from the human output port 102f, which drives the Y-axis motor 110 to move the table TB by the minute line segment ΔV on the Y-axis. Move by line segment ΔV. These ΔX and ΔY are periodically changed according to the command path, and the storage area PM of the data memory 102c is rewritten, and the X-axis and Y-axis drive circuits XDV, YD
V, thus the X-axis and Y-axis motors 105, 11
Therefore, the CT moves relative to the table TB on the command path. As a result, the workpiece not shown on the table TB can be moved to 1 by
Processed to Vt4 & di.

さて、ここで工具破損等の異常が生じ、工J4逃げ動作
を要する必要がある場合には、NC装置102のプロセ
ッサ102aはこれを検知し、アラーム処理プログラム
を実行する。即ち、プロセッサ102aは加工のための
数値制御プログラムの実行を中断し、工具逃げ制御プロ
グラムを実行する。これにより、プロセッサ102aは
、データメモリ102cの格納エリアPMのΔX、ΔY
を読出すとともに、パラメータとし与えられている逃げ
量q、逃げ速度(を読出し、前述の第(4)式、第(5
)式を実行し、工具逃げのための移動指令ΔXE(=q
+)、ΔYE(−q2)を1す11t−し、バス102
jを介し、ΔXEを入出力ポート102gへ、AYEを
人出力ポート102fへりえる。これによりX軸ドライ
ブ回路XDV及びY軸ドライブ回路YDVが各々X軸モ
ータ105゜Y軸モータ110を駆動し、テーブルTB
を駆動して、結果として工具CTを加工中の相対移動方
向と垂直(法線方向)に相対移動させ、工具CTをワー
クから逃がす。その後は、工具CTをそのまま又は原点
に復帰させ、アラームを発し、オペレ本発明は」−述の
実施例に限らず、本発明の主旨の範囲内において種々の
変形が可能であり5本発明の範囲からこれらを排除する
ものではない。
Now, if an abnormality such as a tool breakage occurs and a machining J4 escape operation is required, the processor 102a of the NC device 102 detects this and executes an alarm processing program. That is, the processor 102a interrupts execution of the numerical control program for machining and executes the tool escape control program. As a result, the processor 102a stores ΔX and ΔY in the storage area PM of the data memory 102c.
At the same time, read out the escape amount q and escape velocity (given as parameters), and calculate the above-mentioned equations (4) and (5).
) and execute the movement command ΔXE (=q
+), ΔYE(-q2) is 1s11t-, and bus 102
ΔXE can be sent to the input/output port 102g, and AYE can be sent to the human output port 102f via j. As a result, the X-axis drive circuit XDV and the Y-axis drive circuit YDV drive the X-axis motor 105 and the Y-axis motor 110, respectively, and
As a result, the tool CT is relatively moved perpendicularly (normal direction) to the relative movement direction during machining, and the tool CT is released from the workpiece. Thereafter, the tool CT is left as it is or returned to its origin, and an alarm is issued. This does not exclude them from the scope.

(発明の効果) 以」二説明したように、本発明によれば、数値制御部が
2次元駆動機構に周期的に与える移動指令を格納する記
憶手段を設け、工具逃げ動作時にこの記憶手段の内容か
ら工具の相対移動方向と垂直な方向に移動させる逃げ移
動指令をめて2次元駆動機構を駆動しているので、工具
の相対移動が移動ベクトルの一定なもののみならず、円
弧、・オフセント可変の直線等の相対移動であっても、
法線方向に工具を逃がすことができるという効果を奏し
、従って工具を最速で最大距離ワークから離すことがで
き、ワークに対する不要な加工を防止し、しかも機械に
不要な力が付与されることを防止しうる。しかも、現在
加工中の移動指令を用いているので、正確に法線方向に
工具を逃がすことかできるという効果も奏する他に、加
工のだめの移動指令を利用しているので、容易にしかも
簡単に実現できるという効果も奏し、特別の装置を4=
1加することなく、安価な製品を提供できるという実用
」−優れた効果も奏する。
(Effects of the Invention) As described above, according to the present invention, a storage means is provided for storing movement commands periodically given to the two-dimensional drive mechanism by the numerical control section, and the storage means is stored during the tool escape operation. Since the two-dimensional drive mechanism is driven by an escape movement command that moves the tool in a direction perpendicular to the relative movement direction of the tool, the relative movement of the tool is not limited to constant movement vectors, but also arcs, offsets, etc. Even if it is a relative movement such as a variable straight line,
This has the effect of allowing the tool to escape in the normal direction, allowing the tool to be removed from the workpiece at the fastest possible distance, preventing unnecessary machining of the workpiece, and also preventing unnecessary force from being applied to the machine. It can be prevented. Moreover, since it uses the movement command currently being processed, it has the effect of allowing the tool to escape accurately in the normal direction, and it also uses the movement command for the stop of machining, making it easy and simple. It also has the effect of making it possible to realize 4 =
It also has excellent effects, such as being able to provide inexpensive products without adding additional costs.

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

第11N、第2図は本発明の原理説明図、第3図は本発
明による一実施例ブロック図である。 図中、102・・・数値制御装置、102C・・・デー
タメモリ、XDV、YDV・・・ドライブ回路、105
・・・X軸モータ、110・・・Y軸モータ、TB・・
・テーブル、CT・・・工具。 特3’l出願人 ファナック株式会社 代 理 人 弁理士 辻 實 (外1名) 第1図 (A) CT 第1図 (の 第1凹 (B) 1 第2図 別l
11N and FIG. 2 are diagrams explaining the principle of the present invention, and FIG. 3 is a block diagram of an embodiment according to the present invention. In the figure, 102... Numerical control device, 102C... Data memory, XDV, YDV... Drive circuit, 105
...X-axis motor, 110...Y-axis motor, TB...
・Table, CT...tools. Special 3'l Applicant Fanuc Co., Ltd. Agent Patent attorney Minoru Tsuji (1 other person) Figure 1 (A) CT Figure 1 (first indentation (B) 1 Figure 2 Separate l)

Claims (1)

【特許請求の範囲】[Claims] 工具とワークとを相対移動させる2次元駆動機構と、該
2次元駆動機構を駆動する第1及び第2のトライへ回路
と、数値制御指令に従って該2次ノ乙の第1の軸の移動
指令と第2の軸の移動指令を周期的に出力する数イ1α
制#部とを有し、該第1の軸の移動指令を該ft5lの
ドライバ回路へ、該第2の移動指令を該第2のドライバ
回路へ与えて該2次元駆動機構を駆動して該下貝に該ワ
ークに対し加1を行なわしめる加[システムにおいて、
該数値制御8)iに該第1及び第2の移動指令を格納す
る記憶手段を設け、工具逃げの必要時に該記憶手段に格
納された第1及び第2の移動指令から該]二其の相対移
動方向と垂直な方向に該工具を移動させるだめの第1及
び第2の逃げ移動指令を算出し、該第1の色げ移動指令
を該第1のドライバ回路に該第2の虱げ移動指令を該第
2のドライバ回路に与えて該工具を該相対移動方向と垂
直な方向に移動させることを特徴とする工具逃げ制御力
式。
A two-dimensional drive mechanism that relatively moves the tool and the workpiece, a circuit for first and second tries that drives the two-dimensional drive mechanism, and a movement command for the first axis of the second drive according to a numerical control command. and the number 1α that periodically outputs the movement command for the second axis.
and a control unit, which applies a movement command for the first axis to the driver circuit of the ft5l and a second movement command to the second driver circuit to drive the two-dimensional drive mechanism. In the system, the lower shell performs addition 1 on the workpiece.
The numerical control 8) i is provided with a storage means for storing the first and second movement commands, and when the tool escape is necessary, the second movement command is selected from the first and second movement commands stored in the storage means. Calculate first and second escape movement commands for moving the tool in a direction perpendicular to the relative movement direction, and send the first discoloration movement command to the first driver circuit and the second escape movement command. A tool escape control force type characterized in that a movement command is given to the second driver circuit to move the tool in a direction perpendicular to the relative movement direction.
JP21684183A 1983-11-17 1983-11-17 Tool escapement control system Granted JPS60108248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21684183A JPS60108248A (en) 1983-11-17 1983-11-17 Tool escapement control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21684183A JPS60108248A (en) 1983-11-17 1983-11-17 Tool escapement control system

Publications (2)

Publication Number Publication Date
JPS60108248A true JPS60108248A (en) 1985-06-13
JPH0122105B2 JPH0122105B2 (en) 1989-04-25

Family

ID=16694736

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21684183A Granted JPS60108248A (en) 1983-11-17 1983-11-17 Tool escapement control system

Country Status (1)

Country Link
JP (1) JPS60108248A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6435606A (en) * 1987-07-30 1989-02-06 Fanuc Ltd Nc data preparing system for grooving
US5176424A (en) * 1988-06-10 1993-01-05 Mazda Motor Corporation Automobile seat assembly

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5316179A (en) * 1976-07-29 1978-02-14 Oki Electric Ind Co Ltd Numerical control system
JPS58132442A (en) * 1982-02-02 1983-08-06 Yamazaki Mazak Corp Method of controlling return of set-aside tool on numerical-controlled lathe

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5316179A (en) * 1976-07-29 1978-02-14 Oki Electric Ind Co Ltd Numerical control system
JPS58132442A (en) * 1982-02-02 1983-08-06 Yamazaki Mazak Corp Method of controlling return of set-aside tool on numerical-controlled lathe

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6435606A (en) * 1987-07-30 1989-02-06 Fanuc Ltd Nc data preparing system for grooving
WO1989001196A1 (en) * 1987-07-30 1989-02-09 Fanuc Ltd Method of preparing nc data for cutting grooves
US5176424A (en) * 1988-06-10 1993-01-05 Mazda Motor Corporation Automobile seat assembly

Also Published As

Publication number Publication date
JPH0122105B2 (en) 1989-04-25

Similar Documents

Publication Publication Date Title
JP2742104B2 (en) Feed rate control method for numerical controller
US4489377A (en) Method for preventing machine component interference
CA2784720C (en) Predictive control and visualizing system for a nc machine tool
JPS58211211A (en) Numerical controlling system
JPS61156309A (en) Numerically controlled device containing speed difference smoothing function
JPH03196310A (en) Display system for numerical controller
JPS60108248A (en) Tool escapement control system
JPH02257309A (en) Plotting method for nc program
JPS59123002A (en) File protecting system for numerical controller
JPH08106311A (en) Numerical controller
JPS6249503A (en) Numerical controller
JPH0337701A (en) Method and device for robot control
JPS59152050A (en) Restart of profiling operation
WO1988006310A1 (en) Programming device for lathe
JPS58219606A (en) Automatic shape working system
JP2779796B2 (en) Numerical control unit
JPS61256407A (en) Numerical controller
JPH0732279A (en) Robot position teaching method
JPH01162592A (en) Attitude control method for cnc laser beam machine
WO2021187498A1 (en) Speed adjustment assistance device
JPS6359604A (en) Method for changing working route in numerical controller
JP2779797B2 (en) Numerical control unit
JP2694639B2 (en) Numerical control unit
JPS59205253A (en) Tool interference checking method for tetraxial lathe
JPS62293312A (en) Numerical controller