JPH02101507A - Work controller - Google Patents

Work controller

Info

Publication number
JPH02101507A
JPH02101507A JP25510488A JP25510488A JPH02101507A JP H02101507 A JPH02101507 A JP H02101507A JP 25510488 A JP25510488 A JP 25510488A JP 25510488 A JP25510488 A JP 25510488A JP H02101507 A JPH02101507 A JP H02101507A
Authority
JP
Japan
Prior art keywords
work
tool
evacuation
information
point
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
JP25510488A
Other languages
Japanese (ja)
Inventor
Makoto Konno
誠 今野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP25510488A priority Critical patent/JPH02101507A/en
Publication of JPH02101507A publication Critical patent/JPH02101507A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain emergency return without the interference of a tool and a work by deciding a moving route and controlling a work tool when an abnormality occurs based on control information on a stored relaying point and control information on a moving axis and the work tool. CONSTITUTION:When an abnormality occurrence signal is inputted, an emergency return control means 9 stops the operation continuance of an interpolation processing part 5 in a moving control part 30 controlling a tool coordinate position, and a sub-program of control information on the moving axis and the tool from the return information storage part 8 are read, whereby an interpolation preprocessing part 3 is controlled. A relaying point position coordinate corresponding to a relaying point number stored in a relaying point storage part 6 is read in the middle of working, and the preprocessing part 3 decides the emergency return route and controls the control part 30 based on read information and the sub-program. The pre-proceessing part 3 simultaneously controls a work control part 13 controlling orientation and the like such as the speed of the main spindle, the direction of the main spindle on a periphery at a stop time and the like in accordance with the sub-program, and safe and speedy emergency return is performed without the interference of the tool and the work object.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は非常戻し機能を持った作業制御装置に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a work control device having an emergency return function.

〔従来の技術〕[Conventional technology]

作業制御装置としては、数値制御装置、ロボット、加工
機などがあげられるが、以下数値制御装置を例にして説
明する。
Examples of the work control device include a numerical control device, a robot, a processing machine, etc., and the description will be given below by taking the numerical control device as an example.

まず、従来の技術を説明するにあたり用語の説明を行な
う。
First, in explaining the conventional technology, terms will be explained.

数値制御装置・・・・・・工具などの制御対象の位置と
速度を数値によシ制御する装置で9機械加工の自動化を
図った工作機械である。
Numerical control device: A device that numerically controls the position and speed of controlled objects such as tools. 9A machine tool designed to automate machining.

英語のNamerical Controlの頭文字を
とってNCと言われることが多い。t7’h。
It is often referred to as NC, an acronym for the English term ``Namerical Control''. t7'h.

マイクロプロセッサを用いた計算機べ一スの制御装置で
あることが多いので。
It is often a computer-based control device using a microprocessor.

Computer Numerical Contro
l(CNC)とも呼ばれる。
Computer Numerical Control
Also called l(CNC).

補間処理・・・・・・工具の位置をA点からB点に移動
するとき、A点とB点の座標値を数値で与え、その中間
部分は計算により座標を求め、これを駆動軸に分配する
方法をいう。たとえば、45°の幼きを持つ直線はA点
からB点への峻きが45°のため、XY軸に対して同数
同量の移動パルスが交互に与えられることKよシ描かれ
る。補間処理には、直線補間9円弧補間などがある。
Interpolation processing: When moving the tool position from point A to point B, the coordinate values of points A and B are given numerically, and the coordinates of the intermediate part are determined by calculation, and this is used as the drive axis. Refers to the method of distribution. For example, a straight line with an angle of 45 degrees has a steepness of 45 degrees from point A to point B, so the same number and amount of movement pulses are alternately applied to the XY axes. Interpolation processing includes linear interpolation, 9-arc interpolation, and the like.

ポーリング・・・・・中ぐシのこと。工作物にあらかじ
めあけられている穴を繰夛広げることをいう。
Polling...Nakagushi. This refers to repeatedly enlarging holes that have already been drilled in a workpiece.

バックボーりング・・・・・工具を工作物にあけられた
穴の底から穴の入口に向かって移動させながら、中ぐシ
を行なうこと。穴の奥のみ繰)広げたい場合などに用い
られる。
Backboring: Boring is performed by moving a tool from the bottom of a hole in a workpiece toward the entrance of the hole. It is used when you want to expand the depth of a hole.

ファインボーリンク曲・工具を工作物にあけられた穴の
入口から底に向かって移動させながら、中ぐシを行なう
こと。
Fine Boring Link: Performing boring while moving the tool from the entrance of the hole drilled in the workpiece toward the bottom.

固定サイクル・四穴あけ、ポーリングなどのひんばんに
用いられる一連の作業のこと。
A series of tasks used on a daily basis, such as fixed cycles, four-hole drilling, and polling.

イニシャル点・曲所定の加工を始めるときの最初に工具
を位置決めした座標点のこと。
Initial point: The coordinate point at which the tool is first positioned when starting a specified machining process.

R点・・・・・所定の加工を始めるとき、工作物を加工
する前に工具を位置決めした座標点のこと。イニシャル
点は、所定の工程の最初の位置決めした座標点であシ、
R点は。
Point R: The coordinate point at which the tool is positioned before machining the workpiece when starting the specified machining process. The initial point is the first positioned coordinate point of a given process,
The R point is.

その後に位置決めした座標点であるか。Is it the coordinate point that was positioned after that?

イニシャル点とR点が同じこともある。The initial point and the R point may be the same.

イニシャル点も、R点も、加工後の工具の復帰位看とし
て用いられる。どちらに復帰するかは、プロクラムによ
シ選択できる。
Both the initial point and the R point are used to determine the return position of the tool after machining. Which one to return to can be selected by the program.

主軸オリエント・・・・・主軸の円周上の一点を所定の
方向にむけて回転を停止すること。たとえば主軸に、X
軸の正の方向をむいて工具が取シつけられた場合、この
工具の取シつけられた点を0点とすると、主軸オリエン
トを行なうと0点は常に工具がX軸の正の方向をむくよ
うに、所定の方向にむけて停止する。
Spindle orientation: Stopping rotation by pointing a point on the circumference of the spindle in a predetermined direction. For example, on the main axis,
If a tool is mounted with the tool pointing in the positive direction of the axis, and the point where the tool is mounted is set as the 0 point, when the spindle is oriented, the 0 point will always mean that the tool is pointing in the positive direction of the X-axis. It turns toward the designated direction and stops.

次に図を用いて従来の数値制御装置の一例を説明する。Next, an example of a conventional numerical control device will be explained using the drawings.

第3図は、従来の数値制御装置(NamericalC
ontrol装置、以下NCという)を示すブロック図
である。第3因において、(1)は、NOを動かすプロ
グラムや、加工用のデータが記憶されている加工情報記
憶部、(2)は9通常用いられることが多い加工方法を
サブルーチン化して記憶している固定サイクル情報記憶
部、(3)は、加工情報記憶部(1)と固定サイクル情
報記憶部(2)からプログラム。
Figure 3 shows a conventional numerical control device (NamericalC).
FIG. 2 is a block diagram showing an ontrol device (hereinafter referred to as NC). In the third cause, (1) is the machining information storage unit that stores the program that operates the NO and machining data, and (2) is the subroutine that stores commonly used machining methods. The fixed cycle information storage section (3) stores programs from the processing information storage section (1) and the fixed cycle information storage section (2).

サブルーチン、移動量1位置、速度などの情報を増シ出
す補間前処理部、(5)は、補間前処理部からの情報を
受けとシ、直線補間や円弧補間などの補間処理を行なう
補間処理部、 +1+1は、補間処理部からの結果を受
けとり、加速、減速の処理を加える加減速処理部、 +
I11は、加減速処理部Qlからの位置データによシ、
工作工具の移動を行なう送シ装置。
Subroutine, movement amount 1 Interpolation pre-processing section that increases information such as position, speed, etc. (5) receives information from the interpolation pre-processing section and performs interpolation processing such as linear interpolation and circular interpolation. part, +1+1 is an acceleration/deceleration processing part that receives the result from the interpolation processing part and adds acceleration and deceleration processing;
I11 is based on the position data from the acceleration/deceleration processing unit Ql,
A feeding device that moves machine tools.

α2は、補間前処理部(3)からの主軸制御データを入
力し、主軸をコントロールする主軸制御手段、α3は、
主軸制御手段α2によシ作動する主軸装置である。■は
、補間処理部(5)と加減速処理部αlと送シ装fIt
r1υからなる移動制御部、 C311は、主軸制御手
段13と主軸装置α3からなる作業制御部である。
α2 is a spindle control means that inputs spindle control data from the interpolation preprocessing section (3) and controls the spindle; α3 is
This is a spindle device operated by spindle control means α2. ■ represents the interpolation processing section (5), acceleration/deceleration processing section αl, and feed system fIt.
C311 is a movement control section consisting of r1υ and a work control section consisting of spindle control means 13 and spindle device α3.

次に第4図は、NCを動かすためのプログラムの一例を
示す図である。α滲は、加工情報記憶部(1)に納めら
れた加ニブログラムの一例で、バックポーリング指令を
するプログラムである。任9は、固定サイクル情報記憶
部(2)に納められたバックポーリング用の固定サイク
ルプログラムである。+IGは動作例の側面図、αDは
動作例の平面図である、カロエ 通常、プログラムは、エンドユーザが自己の目的にあわ
せて作成することが多く0紙テープ、フロッピーディス
クなどで供給され、NCの加工情報記憶部+11に記憶
される。固定サイクルブロクラムは、メーカーなどがあ
らかじめ共通ルーチンや。
Next, FIG. 4 is a diagram showing an example of a program for operating the NC. α滲 is an example of a Canadian program stored in the processing information storage unit (1), and is a program that issues a back polling command. Program 9 is a fixed cycle program for back polling stored in the fixed cycle information storage section (2). +IG is a side view of an example of operation, and αD is a plan view of an example of operation.Normally, programs are often created by end users to suit their own purposes, and are supplied on paper tapes, floppy disks, etc. It is stored in the processing information storage section +11. Fixed cycle blocks are manufactured by manufacturers with common routines or routines.

なパラメータを与えられることKよシ実行される。It is executed every time K is given parameters.

一般に、NCの動作を指令する指令データは。Generally, the command data that instructs the operation of the NC is as follows.

工作物に対する工具の運動と座標系で示され、第4図は
その代表的な例である可変ブロック・ワード・アドレス
・フォーマットを用いてプログラムした例である。ブロ
クラムはブロックという単位に分けられ(第4図では各
行が1ブロツク)ひとつのブロックKJ:j!11ひと
つの動作が指定できる。
The movement of the tool with respect to the workpiece and the coordinate system are shown, and FIG. 4 is a typical example of programming using the variable block word address format. The block is divided into units called blocks (in Figure 4, each row is one block), and one block KJ:j! 11 One action can be specified.

そして、このブロックはひとつ以上のワードに分けられ
る。ワードはアドレスと呼ばれるアルファベットと十−
などの記号と数けたの数字で構成される。アドレスはワ
ードの機能を表わしておシ指令と呼ばれる。以下に代表
的な指令の例を示す。
This block is then divided into one or more words. The word is an alphabet called an address and a ten-
It consists of symbols such as and several digits. The address represents the function of the word and is called a command. Examples of typical directives are shown below.

指令Gコード:準備機能 GO:位置決め G 1:直線補間 G81 :固定サイクル腐1の実行 G87:固定サイクル47の実行 G98:イニシャル点へ伊帰 G99:R点ヘタ帰 指令Mコード:補助機能 M3:主軸の時計方向回転 (主軸正転) M19:定回転位置に主軸停止 (主軸オリエント) 指令Xコード:X軸運動のデイメンジョン(穴の位置の
指定) 指/f; Yコード:Y軸運動のデイメンジョン(穴の
位置の指定) fh92:l≠卜“:2軸運動のデイメンジョン(大底
位置の指定) %9RコーV:固定サイクルにおけるアプローチ距離(
R点位置の指定) %多Iコrド:円弧中心座標のX成分 呼翫多J :I−w5 :円脈中吃゛療礁っY広・分横
多Fコード:送シ機能(切削送シにおける送υ速度指定
) 次に動作について説明する。
Command G code: Preparation function GO: Positioning G 1: Linear interpolation G81: Execution of fixed cycle 1 G87: Execution of fixed cycle 47 G98: Return to initial point G99: Return to R point Command M code: Auxiliary function M3: Clockwise rotation of the spindle (spindle forward rotation) M19: Spindle stopped at a fixed rotation position (spindle orientation) Command X code: Dimension of X-axis movement (designation of hole position) Finger/f; Y code: Y-axis movement Dimension (designation of hole position) fh92:l≠卜": Dimension of 2-axis movement (designation of bottom position) %9RcoV: Approach distance in fixed cycle (
(Designation of R point position) % multi I code: X component call multi J of arc center coordinates: I-w5: Y wide/minute horizontal multi F code: Feed function (cutting) (Designation of Feed υ Speed in Feed) Next, the operation will be explained.

補間前処理部(3)は加工情報記憶部(1)よシ加ニブ
ログラムIを入力し、指令Gコード(G87)に対応す
る固定サイクルサブブロクラムαタラ、固定サイクル情
報記憶部(2)よ多入力する。
The interpolation pre-processing unit (3) inputs the digital program I from the processing information storage unit (1), and inputs the fixed cycle sub-program α corresponding to the command G code (G87) from the fixed cycle information storage unit (2). Enter multiple inputs.

補間前処理部(3)は、バックポーリング加工の加工情
報によυ得られる送シ装曾fi11の移動量、終点位置
、送シ速度などの情報を補間処理部(5)に出力すると
ともに、主軸装@ri3の回転数やオリエント指令など
を主軸制御手段02に出力する。
The interpolation pre-processing unit (3) outputs information such as the amount of movement of the feeding device 11, the end point position, and the feeding speed obtained from the processing information of the back polling process to the interpolation processing unit (5), The rotation speed and orientation command of the spindle @ri3 are output to the spindle control means 02.

補間処理部(5)は補間前処理部(3)の結果をもとに
補間処理を行い、その結果を加減速処理部四に出力する
。加減速処理部α・は補間処理部(6)よシ得られた結
果に加速、減速の処理を加え、その結果である位置指令
を送υ装置a11に出力する。送シ装置Uは加減速処理
部a1よ)入力された位置指令に従って位置制御を行う
The interpolation processing section (5) performs interpolation processing based on the result of the interpolation preprocessing section (3), and outputs the result to the acceleration/deceleration processing section 4. The acceleration/deceleration processing section α. adds acceleration and deceleration processing to the result obtained by the interpolation processing section (6), and outputs the resulting position command to the feed device a11. The feeding device U performs position control according to a position command inputted by the acceleration/deceleration processing section a1.

一方、主軸制御手段α2は補間前処理部(3)よ多入力
した結果をもとに、主軸装置σ3の速度指令に変換し、
主軸装置α3に出力する。主軸装置σ3は主軸制御手段
α2よ多入力された速度指令に従って速度制御を行う。
On the other hand, the spindle control means α2 converts the results of multiple inputs from the interpolation preprocessing unit (3) into a speed command for the spindle device σ3,
Output to spindle device α3. The spindle device σ3 performs speed control according to multiple speed commands input from the spindle control means α2.

次に第4図に基づいてプログラム+141. fi9の
実行によシ工具の動作がどう変わるか順を追って説明す
る。
Next, program +141. based on FIG. We will explain step by step how the operation of the tool changes by executing fi9.

加ニブログラム(141はG8Tによシ、 固定サイク
ルプログラム西を呼び出す。G117以下のXからFま
での各ワードの数値はパラメータとして固定サイクルプ
ログラムr1りの各変数へ引きわたされる。
Cannibal program (141 calls the fixed cycle program west by G8T. The numerical values of each word from X to F in G117 and below are passed as parameters to each variable of the fixed cycle program r1.

対応は次のとおシである。The response is as follows.

Xl:’:100  ”−=  (X1oO,より)y
、=lQQ  ・・・・・・・・・ (Yl口0.よシ
)z、=−1o o  −・−−−−−・(z−1o 
o 、よ#))rl:  so  ++++++  (
R50,よυ)q、=IQ  ・・・・・・・・・ (
IIG、よυ)q2=10  ・・・・・・・・・ (
JIO,よ#))q、=1000・・−・・・・・・ 
(FlooG、より)固定サイクルブロクラムt1!9
は上記のような値を各変数に代入して各ブロックを順次
実行してゆく。
Xl:':100''-= (from X1oO,)y
,=lQQ ・・・・・・・・・ (Yl口0.YOshi)z,=−1o o −・−−−−−・(z−1o
o, yo #)) rl: so ++++++++ (
R50, yoυ)q, = IQ ・・・・・・・・・ (
IIG, yoυ) q2=10 ・・・・・・・・・ (
JIO, yo #))q, = 1000...
(From FlooG) Fixed cycle blockrum t1!9
assigns the above values to each variable and executes each block sequentially.

■ブロック・・・主軸を座標X=100.Y=HIOに
移動して点121+で位置ぎめする。
■Block...Main axis as coordinate X=100. Move to Y=HIO and locate at point 121+.

■ブロック・・・主軸オリエントを行ない、主軸が定回
転方向で停止した後、工具を 穴にぶつからないような所定方向 に取9つける。
■Block: After the spindle is oriented and the spindle stops in the fixed direction of rotation, mount the tool in the specified direction so that it does not hit the hole.

■ブロック・・・X=10.Y=10だけ移動し9点の
へゆく。
■Block...X=10. Move by Y=10 and go to point 9.

■ブロック・・・Z=−100だけ穴の下方へ移動し。■Block...Move down the hole by Z=-100.

点■へゆく。Go to point ■.

■ブロック・・・X=−10、Y==−10だけ移動し
■Block...Move by X=-10, Y==-10.

点+241へゆく。このとき、移動速度Fは1000を
用いる。
Go to point +241. At this time, 1000 is used as the moving speed F.

■ブロック・・・主軸を回転させる。■Block: Rotates the main shaft.

■ブロック・・・点のから点■に向かって速度1000
によシ、Zニー50だけ移動する。
■Block...speed 1000 from point to point ■
Okay, move Z knee 50.

主軸が回転しているので、移動と ともに穴壁が加工され、中ぐシが 実行される。Since the main shaft is rotating, movement and In both cases, the hole walls are machined, and the inner hole is executed.

■ブロック・・・点6で主軸オリエントを行ない。■Block... Perform spindle orientation at point 6.

刃先を加工前と同一方向にも2て くる。Place the cutting edge in the same direction as before machining. come.

■ブロック・・・■ブロックの反対動作であり。■Block...■This is the opposite action of block.

X:10 、 Y=10だけ移動し9点部へゆく。刃先
は、挿入時と同一 方向なので穴壁にはぶつからない。
Move by X:10, Y=10 and go to the 9 point section. The cutting edge is in the same direction as when inserted, so it does not hit the hole wall.

0ブロツク・・・098(イニシャル点へ復帰)か09
9(R点復侍)Kよシ移動する。
0 block...098 (return to initial point) or 09
9 (Samurai returning to point R) Move to K.

バックポーリングではイニシャル 点とR点が同一点のであり1点の へ復帰する。Initial for back polling The point and R point are the same point, so it is one point. Return to.

■ブロック・・・■フロックの反対動作であシ、X=−
10,Y=−10たけ移動して 点21+へゆく。
■Block...■Opposite action of flock, X=-
10, move by Y=-10 and go to point 21+.

0ブロツク・・・主軸を回転させ次の動作にそなえ。0 block... Rotates the main shaft and prepares for the next operation.

る、 〔発明が解決しようとする課題〕 従来のNCは以上のように構成されておシ、バックポー
リングなどの高度なプログラム援助機能を備えたNCに
は、従来あらゆる状態からの工具の非常戻し機能は付加
されていなかった。たとえば工具の浸入禁止領域をあら
かじめ設定しておき。
[Problems to be Solved by the Invention] Conventional NCs are configured as described above, and NCs equipped with advanced program support functions such as back polling have the ability to emergency return of tools from any state. No functionality was added. For example, you can set areas in advance where tools cannot enter.

ここに侵入しないように工具を抜きとるという一部機能
(加工)からの非常戻し手順が付加されている例(I!
!f開昭59−1!1657 )はあったが、工具の抜
き取シが完了するまで主軸が回転し続けるため、加工物
と工具のあいだに工具を抜き取るすき間がなくなり、抜
き増シ動作を行うと工具が接触したまま引き抜かれるた
め、加工面に傷がついてしまうなどの問題があった。
An example where an emergency return procedure is added from some functions (machining) to remove the tool to prevent it from entering here (I!
! 1657), but since the spindle continues to rotate until the tool extraction is completed, there is no gap between the workpiece and the tool to extract the tool, and additional extraction operations are performed. Since the tool was pulled out while still in contact with the machine, there were problems such as scratches on the machined surface.

また2一部のNCには逆行機能を備えたものもあるが、
この機能は工具の抜き取)動作に非常に時間がかかるな
どの問題があった。
2Also, some NCs have a retrograde function,
This function had problems such as it took a very long time to remove the tool.

この発明は、上記のような問題点を解消するためになさ
れ念もので、あらゆる加工状態において最適な(高速か
つ無干渉)非常戻しを実現した作業制御装置を得ること
を目的とする。
The present invention was devised to solve the above-mentioned problems, and aims to provide a work control device that realizes optimal (high-speed and interference-free) emergency return in all machining conditions.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る作業制御装置は、異常発生時に現在位置
から所定の退避点までの工具の非常戻しを行なう走め以
下の手段を設けたものである。
The work control device according to the present invention is provided with the following means for emergency return of a tool from its current position to a predetermined evacuation point when an abnormality occurs.

+11  作業具の退避動作のために2作業具が移動し
た作業経路の一部の情報を有する退避経路情報と退避時
の作業具の動作を定めた退避作業情報を情報記憶部に記
憶する退避情報設定手段。
+11 Evacuation information that stores in the information storage section evacuation route information having part of the information on the work route along which the two working instruments have moved for the evacuation operation of the working tools, and evacuation work information that defines the movement of the working tools at the time of evacuation. Setting means.

(2)以下の手段をもつ作業具退避手段。(2) Work equipment evacuation means having the following means:

(2,1)異常発生信号を入力する手段。(2,1) Means for inputting an abnormality occurrence signal.

(2,2)実行中の作業を停止する手段。(2,2) Means for stopping the work in progress.

(2,5)退避情報設定手段によシ記憶された退避経路
情報から退避経路を決定しこれを移動制御部に出力し、
退避作業情報から作業具の退避作業を決定しこれを作業
制御部に出力する手段。
(2, 5) determining an evacuation route from the evacuation route information stored by the evacuation information setting means and outputting it to the movement control unit;
Means for determining evacuation work for work tools from evacuation work information and outputting it to the work control section.

〔作用〕[Effect]

この発明に係る作業制御装置は、異常発生前に退避情報
設定手段によシ以下のような退避経路情報と退避作業情
報を記憶する。
The work control device according to the present invention stores the following evacuation route information and evacuation work information by the evacuation information setting means before an abnormality occurs.

退避経路情報 作業具が作業のために通つた位置の一部を中継点として
記憶する。また、特に退避するとき通過すべき点を登録
してもよい。退避時はこの中縫点を順にさかのぼって作
業具を移動する。まし退避時に作業具が移動するとき、
使用できる軸を選択できる。
Evacuation route information Some of the positions that the work tool passed through for work are stored as relay points. Further, points to be passed through especially when evacuating may be registered. When retracting, the work tool is moved sequentially back through these intermediate stitching points. When the work equipment is moved during evacuation,
You can select the available axes.

退避作業情報 退避時の作業具の作業を定める。これにより。Evacuation work information Determine the work to be done with work tools during evacuation. Due to this.

作業具が2作業対象を傷つけずに退避できる。Work tools can be evacuated without damaging the work object.

また、この発明における作業制御装置は、外部からの異
常発生信号を検出することによシ、実行中の作業を停止
する。そして1作業の中継点として登録しておいた点と
、使用できる軸から作業具の退避経路を決定する。また
、非常戻しにあたり退避作業情報から9作業具の動作指
令をとシだし。
Further, the work control device according to the present invention stops the work being executed by detecting an abnormality occurrence signal from the outside. Then, the evacuation route for the work tool is determined from the points registered as relay points for one work and the available axes. In addition, for emergency return, operation commands for 9 work tools are issued from the evacuation work information.

作業面を傷つけないように退避する。Evacuate so as not to damage the work surface.

以上のように、どのような作業中であっても。As mentioned above, no matter what kind of work you are doing.

中継点と退避用作業動作を登録しであるため、いかなる
ときに異常が発生しても、中継点を継歯して迅速にかつ
9作業具と作業対象が干渉することなく退避ができる。
Since the relay point and the evacuation work operation are registered, even if an abnormality occurs at any time, the relay point can be connected and the work tool can be quickly evacuated without interference between the work tool and the work object.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図はこの発明に係るNCのブロック図である。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure is a block diagram of the NC according to the present invention.

第1因において、(1)は加工情報記憶部、(2)は固
定サイクル情報記憶部、(3)は補間前処理部、(4)
は中継点設定手段、(5)は補間処理部、(6)は中−
点記憶部、(8)は戻し情報記憶部、(9)は非常戻し
制御手段、a・は加減速処理部、al)は送シ装置、α
2は主軸制御手段、r13は主軸装置である。■は移動
制御部。
In the first factor, (1) is the processing information storage section, (2) is the fixed cycle information storage section, (3) is the interpolation preprocessing section, and (4) is the processing information storage section.
is the relay point setting means, (5) is the interpolation processing unit, and (6) is the intermediate point setting means.
point storage unit, (8) is a return information storage unit, (9) is an emergency return control means, a. is an acceleration/deceleration processing unit, al) is a feeding device, α
2 is a spindle control means, and r13 is a spindle device. ■ is the movement control unit.

C31!は作業制御部である。C31! is the work control section.

第2図は、この発明に係るNCで用いられるプログラム
の一例を示す図である。Q41は加ニブログラム、住シ
は中縦点記憶指令を含んだ固定サイクルプログラム、住
eは動作例の側面囚である。
FIG. 2 is a diagram showing an example of a program used in the NC according to the present invention. Q41 is a Canadian program, Sushi is a fixed cycle program including a middle vertical point memory command, and Sumi e is a side view of an operation example.

次に、第1囚と第2因を用いて動作を説明する。Next, the operation will be explained using the first cause and the second cause.

補間前処理部(3)は加工情報記憶部(1)よシ加ニブ
ログラムIを入力し、指令Gコード(Ga4)に対応す
る固定サイクルサブプログラムf151を、固定サイク
ル情報記憶部(2)よ多入力する。
The interpolation preprocessing section (3) inputs the machine program I from the processing information storage section (1), and outputs the fixed cycle subprogram f151 corresponding to the command G code (Ga4) from the fixed cycle information storage section (2). input.

補間前処理部(3)は、バックポーリング加工の加工情
報により得られる送シ装Wt1111の移動量、終点位
置、送り連層などの情報を中継点設定手段(4)を経由
して補間処理部(5)に出力するとともに、主軸装置α
3の回転数やオリエント指令などを主軸装置制御手段0
3に出力する。また補間前処理部(3)は。
The interpolation pre-processing unit (3) processes information such as the movement amount of the feeder Wt1111, the end point position, and the feed layer obtained from the processing information of the back polling process via the relay point setting unit (4) to the interpolation processing unit. (5) and spindle device α.
The spindle device control means 0 controls the rotation speed and orientation commands of 3.
Output to 3. Also, the interpolation preprocessing section (3).

固定サイクルサブプログラムα9の中継点記憶指令番号
を、同一ブロックの指令とともに中継点設定手段(4)
に出力する。
The relay point setting means (4) stores the relay point storage command number of the fixed cycle subprogram α9 together with the command of the same block.
Output to.

中継点設定手段(4)は中継点記憶指令を入力すると、
そのブロックの指令を補間処理部(5)に出力する直前
に、そのブロックの作業の終点位置と中継点記憶指令番
号とを中継点記憶部(6)に出力する、中継点記憶部(
6)は中継点設定手段(4)より入力した終点位置を、
中継点指令番号に対応するレジスターに中継点として記
憶する。なお、ここでもし中継点指令番号が中継点キャ
ンセル指令なら、中継点記憶部(6)は記憶していたす
べての中継点位置(レジスター)を初期状態(中継点未
記憶状態)に戻す。
When the relay point setting means (4) inputs the relay point storage command,
Immediately before outputting the command for that block to the interpolation processing section (5), the relay point storage section (6) outputs the end point position of the work for that block and the relay point storage command number to the relay point storage section (6).
6) is the end point position input from the relay point setting means (4),
It is stored as a relay point in the register corresponding to the relay point command number. Here, if the relay point command number is a relay point cancel command, the relay point storage unit (6) returns all stored relay point positions (registers) to the initial state (relay point unstored state).

補間処理部(5)は中継点設定手段(4)を介して得ら
れた補間前処理部(3)の結果をもとに補間処理を行い
、その結果を加減速処理部α1に出力する。加減速処理
部α[有]は補間処理部(5)より得られた結果に加速
、減速の外環を加え、その結果である位置指令を送シ装
置α1)に出力する。送り装置11fi11は加減速処
理部αQよ多入力された位置指令に従って位置制御を行
う。
The interpolation processing section (5) performs interpolation processing based on the result of the interpolation preprocessing section (3) obtained via the relay point setting means (4), and outputs the result to the acceleration/deceleration processing section α1. The acceleration/deceleration processing unit α [with] adds the outer ring of acceleration and deceleration to the result obtained from the interpolation processing unit (5), and outputs the resultant position command to the feeding device α1). The feeding device 11fi11 performs position control according to multiple position commands input from the acceleration/deceleration processing unit αQ.

一方、主軸制御手段a’aは補間前処理部(3)よ多入
力した結果をもとに、主、軸装fllt13の速度指令
に変換し、主軸装r11!(13に出力する。主軸装置
住3は主軸制御手段nzよ多入力された速度指令に従っ
て速度常戻し指令を補間前処理部(3)と補間処理部(
5)に出力するものである。すなわち非常戻し制御手段
(9)は、外部からの異常発生信号を受けると、まず。
On the other hand, the spindle control means a'a converts the results of multiple inputs from the interpolation preprocessing section (3) into speed commands for the main shaft and shafting fllt13, and converts it into a speed command for the main shaft and shafting fllt13! (Output to 13. The spindle device 3 outputs the speed constant return command to the interpolation preprocessing unit (3) and the interpolation processing unit (
5). That is, when the emergency return control means (9) receives an abnormality occurrence signal from the outside, first.

戻し情報記憶部(8)から非常戻しサブプログラムを入
力し補間前処理部(3)に出力する。また、補間処理部
(5)には補間中止信号を出力する。補間処理部(5)
はこの信号を入力すると補間処理を中止する。
The emergency return subprogram is input from the return information storage section (8) and output to the interpolation preprocessing section (3). Furthermore, an interpolation stop signal is output to the interpolation processing section (5). Interpolation processing section (5)
will stop interpolation processing when this signal is input.

補間前処理部(3)は加工情報記憶部(11及び固定サ
イクル情報記憶部(2)よシ得たバックポーリングの加
工情報をキャンセルし、非常戻し制御手段(9)から入
力した非常戻しサブプログラムと、中継点記憶部(6)
から中継点情報を入力して、非常戻し動作における送シ
装置(litの移動経路と、主軸装置1111mの制御
指令を決定する。これにより得られる送り装置(lυの
移動量、送シ速度などの情報と補間再開指令とを、中継
点設定手段(4)を介して補間処理部(5)に出力する
とともに、主軸装置α3の回転数やオリエント指令など
を主軸制御手段nzに出力することによシ、非常戻し動
作を行う。
The interpolation preprocessing section (3) cancels the back polling processing information obtained from the processing information storage section (11) and the fixed cycle information storage section (2), and executes the emergency return subprogram input from the emergency return control means (9). and relay point storage section (6)
The relay point information is input from , and the movement path of the feeder (lit) and the control command for the spindle device 1111m in the emergency return operation are determined. By outputting information and an interpolation restart command to the interpolation processing unit (5) via the relay point setting means (4), and outputting the rotation speed and orientation command of the spindle device α3 to the spindle control means nz.・Perform emergency return operation.

次に第2図のバックポーリングの例を用いて具体的に説
明する。
Next, a detailed explanation will be given using an example of back polling shown in FIG.

プログラムαルの一行目のG15は、 工具の抜き取り
動作のために工具が中継点に移動しようとするとき工具
の移動する軸を選択制限する退避経路情報の一例である
。G15の機能を第3中継点へ非常戻しをしようとする
ときは、2軸方向への移動を禁止し、XY軸方向への移
動のみにするということにして、装置ltK設定してお
く。
G15 in the first line of the program α is an example of retreat path information that selectively restricts the axis on which the tool moves when the tool attempts to move to a relay point for a tool extraction operation. When attempting to emergency return the function of G15 to the third relay point, the device ltK is set to prohibit movement in the two-axis directions and allow movement only in the XY-axis directions.

固定サイクルプログラムα9においては、中継点を3個
登録し、この3個をキャンセルする退避経路情報の一例
を示した。■ブロックの#1=1゜■ブロックの#2=
1,119ブロックの#3=1がそれぞれ実行された時
点で中継点は以下のように記憶される。
In the fixed cycle program α9, an example of evacuation route information is shown in which three relay points are registered and these three are canceled. ■Block #1=1゜■Block #2=
At the time when #3=1 of 1,119 blocks is respectively executed, the relay points are stored as follows.

第1中継点・・・・・・・・・・・・点Q11第2中継
点・・・・・・・・・・・・点の第3中継点・・・・・
・・・・・・・点■そして、@ブロックの$6:1.■
ブロックの$5=1. @ブロックの#4=1にニジ、
順に第3、第2.第1中継点がキャンセルされ記憶部よ
シ末消される。
1st relay point...... Point Q11 2nd relay point...3rd relay point of point...
・・・・・・Dot■And @Block's $6:1. ■
Block $5 = 1. @Block #4 = 1,
3rd, 2nd, etc. The first relay point is canceled and the memory is erased.

すなわち固定サイクルプログラムαりの■ブロックの終
点を第1中継点2】1.■ブロックの終点を第2中継点
囚、■ブロックの終点を第3中継点■とし、■、■、■
、■、■ブロックの加工中は、第3中継点O9第2中継
A■、第1中継点+211の順番に工具を抜き取り、■
、@ブロックの加工中は。
In other words, the end point of the block of the fixed cycle program α is the first relay point 2]1. ■The end point of the block is the second relay point, ■The end point of the block is the third relay point, ■, ■, ■
, ■, ■ While machining the block, remove the tool in the order of 3rd relay point O9 2nd relay A■, 1st relay point +211, and press ■
,@During block processing.

第2中継点口、第1中継点(2+1の順番に工具を抜き
増見 ■、■ブロックの加工中は、第1中継点c211
のみを経由するようにした。ここで問題になるのは、第
3中継点■が穴底であるため、■、■、■ブロックの加
工中はいったん穴底まで工具が戻る点である。そこで、
第3中継点のまでの移動軸を前述した指令G15によシ
移動軸を選択することにより、Z軸方向には移動せず、
 X、 Y軸(選択平面軸)のみ移動し、その後筒2の
、第1中継点Gl+と移動する。
2nd relay point mouth, 1st relay point (remove the tools in the order of 2 + 1) ■, ■ During machining of the block, the first relay point c211
Now it only goes through . The problem here is that since the third relay point (2) is at the bottom of the hole, the tool temporarily returns to the bottom of the hole while machining the blocks (2), (2), and (3). Therefore,
By selecting the movement axis up to the third relay point according to the above-mentioned command G15, it does not move in the Z-axis direction,
It moves only on the X and Y axes (selected plane axes), and then moves to the first relay point Gl+ of the cylinder 2.

次に退避作業情報の一例について説明する。第2図に示
したバックボーリンクのように工具を穴に入れるときと
工具を穴から抜きとるときは、主軸オリエントを行なっ
て主軸をシフトすることによ)工具が加工物にあたらな
いようにしなければならない。非常戻しのときも同様で
あシ、主軸オリエントの必要性、主軸の回転数、主軸の
停止などの主軸の制御情報を各作業ごとにあらかじめ記
憶しておく。たとえばパックボーリンクの非常戻しは「
主軸オリエントをして、主軸を停止させる」というデー
タを記憶しておく。単なる穴あけ作業に対しては「主軸
オリエントはせず、逆回転方向に回転数10回/SEC
で回転させる」というようなデータを記憶しておく。
Next, an example of evacuation work information will be explained. As with the backbow link shown in Figure 2, when inserting a tool into a hole and when removing a tool from a hole, it is necessary to perform spindle orientation and shift the spindle to prevent the tool from hitting the workpiece. Must be. The same goes for emergency return, and spindle control information such as the need for spindle orientation, spindle rotation speed, spindle stop, etc. is stored in advance for each task. For example, the emergency return of the Pacbo link is "
Store the data "Orient the spindle and stop the spindle." For simple drilling work, do not orient the spindle and rotate in the opposite direction 10 times/SEC.
Memorize data such as "rotate with".

非常戻しの場合は、この記憶された退避作業情報の中か
ら該当するデータを増シだし、工具の抜き取シにあわせ
てこれを作業具への指令として作業制御部Gllへ出力
する。これによシ加工物を傷つけずに抜きとシができる
In the case of an emergency return, the corresponding data is added from the stored evacuation work information and is output to the work control unit Gll as a command to the work tool in conjunction with the removal of the tool. This allows punching and punching without damaging the workpiece.

なお、上記実施例では中継点の指令(設定)に$1. 
#2.・・・・・・、#6などの変数指令(ユーザーマ
クロ)を使用した例を示したが、これはtMsBなどの
未使用の補助機能指令や、G指令、N指令の中の未使用
の指令を用いてもよい。また、ここではバックポーリン
グ固定サイクルの場合について説明したが、ほかの固定
サイクルやユーザーが作ったプログラムにおいても使用
できる。
In the above embodiment, the command (setting) of the relay point costs $1.
#2. ......, we have shown an example using variable commands (user macros) such as #6, but this also applies to unused auxiliary function commands such as tMsB, unused G commands, and N commands. Directives may also be used. Also, although the case of back-polling fixed cycles has been explained here, it can also be used in other fixed cycles and programs created by users.

さらに、上記実施例では中継点が3個の場合を示したが
、中継点の数などを増やすことによシ。
Furthermore, although the above embodiment shows a case where there are three relay points, it is possible to increase the number of relay points.

よシ祷雑な加工からも非常戻しが可能となる。また、上
記実施例では中継点をプログラムの実行中に登録する例
を示したが、あらかじめ、所定の点を登録しておいても
よい。
Emergencies can be returned even from sloppy processing. Further, in the above embodiment, an example was shown in which relay points are registered during program execution, but predetermined points may be registered in advance.

また、上記実施例ではNOの場合を示したが。Further, in the above embodiment, the case of NO was shown.

ロボット、加工機などでもよく、上記実施例と同様の効
果を奏する。
A robot, a processing machine, etc. may also be used, and the same effects as in the above embodiments can be achieved.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば非常戻しのための中継
点と移動軸ならびに作業具の制御情報を記憶し、異常発
生信号の入力によシ、これらの情報から移動舒路の決定
と作業具の制御を行なえるよう構成したので、あらゆる
加工状態から、高速でかつ工具と加工物が干渉すること
ない非常戻しが実現できる効果がある。
As described above, according to the present invention, control information for relay points, movement axes, and work tools for emergency return is stored, and upon input of an abnormality signal, the movement route is determined and work is performed based on this information. Since the tool is configured to be able to be controlled, it has the effect of realizing emergency return from any machining state at high speed and without interference between the tool and the workpiece.

また、これらの手段はプログラムで達成できるものなの
で1機椋部分に例の改造を施すことなく。
In addition, these methods can be achieved by programming, so there is no need to modify the single machine part.

非常戻し機能を付加することができるため、装置が安価
にでき、また、高性能なものが得られる効果がある。
Since an emergency return function can be added, the device can be made at low cost and has the effect of providing high performance.

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

第1図は、この発明の一実施例による数値制御装置を示
す#1戒図。 第2図は、バックポーリング加工の動作例と。 そのプログラム例を示す図。 第3図は、従来の数値制御装置を示す構成図。 第4図は、バックボーリンク加工の動作例と従来のプロ
グラム例を示す図 である。 (里)・・・加工情報記憶部 (2)・・・固定サイクル情報記憶部 (3)・・・補間前処理部 (4)・・・中継点設定手段 (5)・・・補間処理部 (6)・・・中継点記憶部 (8)・・・戻し情報記憶部 (91・・・非常戻し制御手段 α1・・・加減速処理部 fill・・・送シ装置 αり・・・主軸制御手段 (13・・・主軸装置 α4・・・加ニブログラム αり・・・固定サイクルプログラム Ql+・・・第1中継点 ■・・・第2中継点 ■・・・第3中継点 ■・・・移動制御部 6ト・・作業制御部 なお9図中、同一符号は同−又は相当部分を示す。
FIG. 1 is a #1 diagram showing a numerical control device according to an embodiment of the present invention. Figure 2 shows an example of backpoling processing. A diagram showing an example of the program. FIG. 3 is a configuration diagram showing a conventional numerical control device. FIG. 4 is a diagram showing an operation example of backbone link processing and a conventional program example. (Sato)...Machining information storage unit (2)...Fixed cycle information storage unit (3)...Interpolation pre-processing unit (4)...Relay point setting means (5)...Interpolation processing unit (6)...Relay point storage unit (8)...Return information storage unit (91...Emergency return control means α1...Acceleration/deceleration processing unit fill...Feeding device αri...Main shaft Control means (13... Spindle device α4... Cannibal program αri... Fixed cycle program Ql+... First relay point ■... Second relay point ■... Third relay point ■...・Movement control section 6... Work control section 9 In the figures, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】 以下の要素を有し、異常時に作業具を作業対象から退避
することができる作業制御装置 (a)作業具の位置決めと移動を行なう移動制御部、 (b)作業対象に対して、作業具に所定の作業をさせる
作業制御部、 (c)プログラム、データを記憶する情報記憶部。 (d)作業具の退避動作のために、作業具が移動した作
業経路の一部の情報を有する退避経路情報と退避時の作
業具の動作を定めた退避作業情報を情報記憶部に記憶す
る退避情報設定手段、 (e)以下の手段をもつ作業具退避手段、 (e1)異常発生信号を入力する手段、 (e2)実行中の作業を停止する手段、 (e3)退避情報設定手段により記憶された退避経路情
報から退避経路を決定しこれを移動制御部に出力し、退
避作業情報から作業具の退避作業を決定しこれを作業制
御部に出力する手段。
[Claims] A work control device that has the following elements and is capable of evacuating the work tool from the work object in the event of an abnormality: (a) a movement control unit that positions and moves the work tool; (b) a work tool that moves the work tool away from the work object; (c) an information storage section that stores programs and data; and (c) an information storage section that stores programs and data. (d) For the evacuation operation of the work tool, evacuation route information including part of the work route along which the work tool has moved and evacuation work information that defines the movement of the work tool during evacuation are stored in the information storage unit. evacuation information setting means; (e) working tool evacuation means having the following means; (e1) means for inputting an abnormality occurrence signal; (e2) means for stopping the work being executed; (e3) storage by the evacuation information setting means. Means for determining an evacuation route from the evacuation route information provided and outputting it to the movement control section, determining an evacuation operation for the work tool from the evacuation work information, and outputting it to the work control section.
JP25510488A 1988-10-11 1988-10-11 Work controller Pending JPH02101507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25510488A JPH02101507A (en) 1988-10-11 1988-10-11 Work controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25510488A JPH02101507A (en) 1988-10-11 1988-10-11 Work controller

Publications (1)

Publication Number Publication Date
JPH02101507A true JPH02101507A (en) 1990-04-13

Family

ID=17274166

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25510488A Pending JPH02101507A (en) 1988-10-11 1988-10-11 Work controller

Country Status (1)

Country Link
JP (1) JPH02101507A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012110983A (en) * 2010-11-22 2012-06-14 Howa Mach Ltd Instruction method of stopping main shaft at fixed stopping position and workpiece measuring method
KR101492532B1 (en) * 2010-07-01 2015-02-12 에스엠씨 가부시키 가이샤 Solenoid valve

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6381508A (en) * 1986-09-25 1988-04-12 Okuma Mach Works Ltd Numerical control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6381508A (en) * 1986-09-25 1988-04-12 Okuma Mach Works Ltd Numerical control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101492532B1 (en) * 2010-07-01 2015-02-12 에스엠씨 가부시키 가이샤 Solenoid valve
JP2012110983A (en) * 2010-11-22 2012-06-14 Howa Mach Ltd Instruction method of stopping main shaft at fixed stopping position and workpiece measuring method

Similar Documents

Publication Publication Date Title
KR900003124B1 (en) Numerical controller
EP0801339B1 (en) Method of axis movement numeric control machine tool and apparatus therefor
JPS62237504A (en) Numerical controller
US4639855A (en) Tool display method for lathe equipped with numerical control unit
JP3199319B2 (en) Multi-axis / multi-path numerical control method
JPH02101507A (en) Work controller
JPS62163109A (en) Numerical controller
US5654618A (en) Process for the two-dimensional determination of a work-area contour for lathes
JPH06134652A (en) Robot hand control method of numerically controlled machine tool
JPH0370242B2 (en)
EP3321753B1 (en) Program generating apparatus
JPS60191305A (en) Numerical controller
US5060163A (en) Programming apparatus for lathes
JPH10143213A (en) Multi-surface working machine and multi-surface working method
WO2022215476A1 (en) Information processing device and information processing program
JPH0421203B2 (en)
EP1770462A2 (en) Multiplexing numerical controller
JPH0218603A (en) Numerical controller
JPH0794096B2 (en) Machining error prevention system for machine tools
JP3464894B2 (en) Machine tool control method
JPH06155103A (en) Machining controlling method for two opposed spindle lathe
JPH04315551A (en) Nc data producing device
JPH04130502A (en) Tool change control system
GB2350442A (en) Computerised numerical controller with profile path editor
JPS61178148A (en) Machining range specifying device for every machining process in automatic programming