[go: up one dir, main page]

JPS6165309A - Output system for reference point position signal - Google Patents

Output system for reference point position signal

Info

Publication number
JPS6165309A
JPS6165309A JP18721084A JP18721084A JPS6165309A JP S6165309 A JPS6165309 A JP S6165309A JP 18721084 A JP18721084 A JP 18721084A JP 18721084 A JP18721084 A JP 18721084A JP S6165309 A JPS6165309 A JP S6165309A
Authority
JP
Japan
Prior art keywords
reference point
hand
tool
robot
data
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
JP18721084A
Other languages
Japanese (ja)
Inventor
Hajime Kishi
甫 岸
Shinsuke Sakakibara
伸介 榊原
Tatsuo Karakama
立男 唐鎌
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 JP18721084A priority Critical patent/JPS6165309A/en
Publication of JPS6165309A publication Critical patent/JPS6165309A/en
Pending 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
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/401Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for measuring, e.g. calibration and initialisation, measuring workpiece for machining purposes
    • G05B19/4015Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for measuring, e.g. calibration and initialisation, measuring workpiece for machining purposes going to a reference at the beginning of machine cycle, e.g. for calibration

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To facilitate position detection in case of an abnormal stop by outputting a reference point signal when the tool of a numerically controlled machine tool returns into a nearby area including coordinate points before and behind a reference point if the tool is commanded to return to the reference point automatically. CONSTITUTION:A teaching playback type robot has a G28 mode in which an automatic return to the reference point is commanded as one of control functions of NC commands, and a hand is returned to the reference point determined separately from a program origin for determining the position of the hand within its operation range. When it is judged that the specified mode of the robot is G28, data necessary for path control over the hand are read out according to reference point data and the robot then commands an interpolation start to drive the hand so that it returns to the reference point automatically. A current position register generates the reference point position signal showing the hand is within the nearby area of the reference point (range + or -x). The data + or -x are set optionally.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ティーチングプレイバック方式のロボットに
おける基準点位置信号出力方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a reference point position signal output method in a teaching playback robot.

(従来の技術) ロボットの数値制御工作機械(以下、NC工作機械とい
う。)は、従来から、各軸の位置検出にパルスゼネレー
タを使用して補間移動させているが、その場合機械りの
ある固定位置を基準点(リファレンス点ともいう)とし
て自動運転に先立ってロボット指令データを教示する等
の準備作業を行っている。すなわち、ロボットの指令デ
ータに従って加工物を加工しようとするとき、工具を自
動的に移動させるための通路の条件等は、加工物と工具
との関係により変化するから、上記基準点への復帰指令
を適時にプログラムからサーボ系に与えることにより、
ティーチングされた工具の移動軌跡と実際の工具の移動
軌跡のずれを解消してやることができる。たとえば同一
の移動軌跡を工具が繰り返して描く場合に、工具を容易
にその位置に移動させ得る点を基準点とするようにして
おくことにより、その基準点に工具が到達したとき基準
点位置信号を出力し、その信号を受けたときのみロボッ
トから次の指令データを与えて進むようにしている。
(Prior art) Numerical control machine tools for robots (hereinafter referred to as NC machine tools) have conventionally used pulse generators to detect the position of each axis for interpolation movement. Prior to automatic operation, preparatory work such as teaching robot command data is performed using the fixed position as a reference point (also referred to as a reference point). In other words, when attempting to machine a workpiece according to the robot's command data, the path conditions for automatically moving the tool change depending on the relationship between the workpiece and the tool. By giving timely information to the servo system from the program,
It is possible to eliminate the discrepancy between the taught tool movement trajectory and the actual tool movement trajectory. For example, when a tool repeatedly draws the same movement path, by setting the reference point at a point where the tool can be easily moved to that position, the reference point position signal will be sent when the tool reaches that reference point. The robot outputs the following command data, and only when it receives that signal, the robot gives the next command data and moves forward.

(発明が解決しようとする問題点) こうした従来の基準点位置信号出力方式にあっては、た
とえばロボットのアームやワークフィーダ等に故障が生
じたとき、アラームが発生して工具が停止し、その停止
位置が丁度上記基準点への復帰指令の実行中であった場
合に工具が基準点の近傍に到達していながら、基準点位
置信号が発生せず、したがってアームやワークフィーダ
の故障が回復した後にも、オペレータが工具位置を基準
点まで手動で復帰させるようにしなければならなかった
(Problem to be Solved by the Invention) In such a conventional reference point position signal output method, when a failure occurs in a robot arm, work feeder, etc., an alarm is generated, the tool stops, and the When the stop position is exactly in the process of executing a return command to the reference point, the tool has reached the vicinity of the reference point, but the reference point position signal is not generated, and the arm or work feeder failure has been recovered. Even afterwards, the operator had to manually return the tool position to the reference point.

本発明は−1−記の点に鑑みてなされたもので、基準点
位置信号の出力機能を拡大することによって、アラーム
発生に対してオペレータを煩わせることなく故障回復後
に円滑に次の指令データに従って工具を作動させるよう
にした基準点位置信号出力方式を提供することを目的に
している。
The present invention has been made in view of the point -1-, and by expanding the output function of the reference point position signal, the next command data can be smoothly transmitted after failure recovery without bothering the operator when an alarm occurs. The object of the present invention is to provide a reference point position signal output method that operates a tool according to the following.

(問題を解決するための手段) 本発明は、−1−足口的を達成するために、数値制御T
作機械の工具に対して、その基準点への自動復帰が指令
され、該工具の基準点復帰時に基準点信号が出力される
方式において、前記基準点の前、後で所定座標点を含む
近傍領域を設定する手段と、前記工具がこの設定された
近傍領域内に復帰したことを判定する手段とを備え、工
具が前記近傍領域内に復帰したとき基準点信号を出力す
るように17たことを特徴とする基準点位置信号出力方
式を提供する。
(Means for solving the problem) The present invention provides numerical control T
In a method in which a tool of a machine tool is commanded to automatically return to its reference point and a reference point signal is output when the tool returns to the reference point, the vicinity including predetermined coordinate points before and after the reference point. 17. The method includes means for setting an area, and means for determining that the tool has returned to the set neighborhood area, and outputs a reference point signal when the tool returns to the set neighborhood area. Provided is a reference point position signal output method characterized by the following.

(作用) このような構成の基準点位置信号出力方式は、数値制御
工作機械の工具に対して、その基準点への自動復帰が指
令されたとき、前記基準点の前、後の所定座標点を含む
近傍領域内に復帰したとき基準点信号を出力するように
したので、基準点近傍での非常停止した]工具の位置検
出を容易に行うことができる。
(Function) The reference point position signal output method with this configuration is such that when a tool of a numerically controlled machine tool is commanded to automatically return to its reference point, it outputs predetermined coordinate points before and after the reference point. Since the reference point signal is output when the tool returns to the vicinity area including the reference point, the position of the tool that has come to an emergency stop near the reference point can be easily detected.

(実施例) 以下、本発明の一実施例につき図面を参照しながら詳細
に説明する。
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は、ティーチングプレイバ・ンク方式のロボット
の1例を示しており、側線部はハンドの動作範囲である
FIG. 1 shows an example of a teaching play bank type robot, and the side line portion is the operating range of the hand.

このハンドで、図示しないNC制御部により所定の手順
の動作を自動的に行なわせるためには、オペレータがあ
らかじめ準備作業として、ロボットのハンドを動かして
、動作手順を教示(ティーチング)し、NC制御部内の
RAM等の記憶回路にハンドの作業順序、位置、移動速
度およびその他の情報を記憶させる必要がある。その後
、ロボットの自動運転に際して、教示された動作を記憶
回路から読み出したデータに従って再生(プレイパック
)し、ハンドによる自動作業が行なわれる。このときN
C指令として出力するデータは、ブロック単位で読み出
されており、そのNC指令の制御機能のひとつに、基準
点への自動復帰を指定するG28のモードがある。これ
は、前記ハンドの動作範囲内で、ハンドの位置を確定す
るためのプログラム原点とは別に定められた基準点にハ
ンドを無条件に復帰させるための指定モードであって、
たとえばハンドがこの基準点を通過した時、それまでハ
ンドが把持していたワークを放す指令を実行させたい場
合に、第2図に示すフローチャートに移るように構成さ
れている。
In order for this hand to automatically perform a predetermined sequence of operations using an NC control unit (not shown), the operator must move the robot's hand to teach the operation sequence as a preparatory work in advance, and then use the NC control unit. It is necessary to store the working order, position, moving speed, and other information of the hand in a memory circuit such as a RAM within the unit. Thereafter, when the robot automatically operates, the taught motion is reproduced (playpacked) according to the data read from the memory circuit, and automatic work is performed by the hand. At this time N
The data output as the C command is read out in blocks, and one of the control functions of the NC command is the G28 mode that specifies automatic return to the reference point. This is a specified mode for unconditionally returning the hand to a reference point determined separately from the program origin for determining the hand position within the hand's operating range, and
For example, when the hand passes this reference point, if it is desired to execute a command to release the workpiece that the hand has been holding, the flowchart shown in FIG. 2 is executed.

第2図において、ステップaではロボットの指定モード
がG28か否かを判定しており、G28であると判断し
た場合には基準点データに従ってハンドの経路制御に必
要なデータが読み出される(ステップb)。次にロボッ
トは補間開始を指令して、ハンドを基準点へ自動復帰さ
せるべく駆動し始める(ステップC)。
In FIG. 2, in step a, it is determined whether the designated mode of the robot is G28 or not. If it is determined that it is G28, data necessary for hand path control is read out according to the reference point data (step b ). Next, the robot commands the start of interpolation and starts driving the hand to automatically return to the reference point (step C).

基準点データは、準備機能ワード028に続くディメン
ジョンワードにより、各制御軸毎に設けられた基準点復
帰回路に与えられる。他方ロボットはインクリメンタル
方式あるいはアブソリュート方式のいずれかで常にハン
ドの現在位置を検知しているから、基準点復帰回路で基
準点の前、後で、所定座標点を含む近傍領域を設定して
おくことによって、現在位置レジスタに入力するカウン
トパルスの一定数分がキャンセルされ該座標点データと
一致する以前でも現在位置レジスタが該座標点データの
±Xの範囲に到達した時点で、ハンドが基準点の近傍領
域内に復帰したと判定できるように構成される。
The reference point data is given to the reference point return circuit provided for each control axis by the dimension word following the preparation function word 028. On the other hand, since the robot always detects the current position of the hand using either the incremental method or the absolute method, it is necessary to set a nearby area that includes a predetermined coordinate point before and after the reference point in the reference point return circuit. , a certain number of count pulses input to the current position register are canceled, and even before the current position register reaches the range of ±X of the coordinate point data, the hand is at the reference point even before it matches the coordinate point data. The configuration is such that it can be determined that the object has returned to the vicinity area.

したがって、ロボットのハンドやその制御機構あるいは
ワークフィーダ等に異常が生じて、プログラムされた動
作以外の異常停止にが基準点の近傍領域内で生じた場合
、ステップdからステップeに移って、基準点位置信号
が発生する。ステップdでは、現在位置レジスタが基準
点データの±Xの範囲に11達していない間はステップ
Cに戻されてハンドの補間動作が続けられる。
Therefore, if an abnormality occurs in the robot's hand, its control mechanism, work feeder, etc., and an abnormal stop other than the programmed operation occurs in the vicinity of the reference point, the process moves from step d to step e, and A point position signal is generated. In step d, as long as the current position register has not reached the ±X range of 11 of the reference point data, the process returns to step C and the hand interpolation operation continues.

上記近傍匍城を設定するときのデータ±Xは、該基準点
での次の動作指令に応じて決定されるものであり、また
ワークとハンドの位置制御の精度の必要性に応じで、適
宜に選定すればよい。
The data ±X when setting the above-mentioned nearby crawling castle is determined according to the next operation command at the reference point, and is determined as appropriate depending on the need for precision in position control of the workpiece and hand. You can select .

このようにして基準点位置信号をステップeにおいて発
生するようにしたので、異常停止した場合でもロボット
はハンドの位置を容易に検知でき、次の指令データがサ
ーボ系に与えられ、ハンドは駆動される。したがって、
ハンドやワークフィーダ等の故障が回復した後、すみや
かに次のブロックの動作に移ることができる。
In this way, the reference point position signal is generated in step e, so even if the robot stops abnormally, it can easily detect the position of the hand, and the next command data is given to the servo system to drive the hand. Ru. therefore,
After the failure of the hand, work feeder, etc. is recovered, it is possible to immediately move on to the operation of the next block.

(発明の効果) 以上述べたように、本発明によれば基準点位置信号の出
力機能が拡大されることにより、アラーム発生に対して
オペレータを煩わせることなく故障回復後に円滑に次の
指令データを受は工具を作動させることができる等の効
果を奏する基準点位置信号出力方式を提供できる。
(Effects of the Invention) As described above, according to the present invention, by expanding the output function of the reference point position signal, the next command data can be smoothly transmitted after failure recovery without bothering the operator in response to an alarm occurrence. The receiver can provide a reference point position signal output method that has effects such as being able to operate the tool.

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

第1図は、ロボットの動作範囲を説明するための図、第
2図は、本発明の一実施例を示す流れ図である。 特許出願人  ファナック株式会社 代  理  人   弁理士  辻        實
(外1名)
FIG. 1 is a diagram for explaining the operating range of the robot, and FIG. 2 is a flowchart showing an embodiment of the present invention. Patent applicant Representative of FANUC Co., Ltd. Patent attorney Minoru Tsuji (1 other person)

Claims (1)

【特許請求の範囲】[Claims] 数値制御工作機械の工具に対して、その基準点への自動
復帰が指令され、該工具の基準点復帰時に基準点信号が
出力される方式において、前記基準点の前、後で所定座
標点を含む近傍領域を設定する手段と、前記工具がこの
設定された近傍領域内に復帰したことを判定する手段と
を備え、工具が前記近傍領域内に復帰したとき基準点信
号を出力するようにしたことを特徴とする基準点位置信
号出力方式。
In a method in which a tool of a numerically controlled machine tool is commanded to automatically return to its reference point, and a reference point signal is output when the tool returns to the reference point, predetermined coordinate points are set before and after the reference point. and means for determining that the tool has returned to the set neighborhood area, and outputs a reference point signal when the tool returns to the set neighborhood area. A reference point position signal output method characterized by the following.
JP18721084A 1984-09-06 1984-09-06 Output system for reference point position signal Pending JPS6165309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18721084A JPS6165309A (en) 1984-09-06 1984-09-06 Output system for reference point position signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18721084A JPS6165309A (en) 1984-09-06 1984-09-06 Output system for reference point position signal

Publications (1)

Publication Number Publication Date
JPS6165309A true JPS6165309A (en) 1986-04-03

Family

ID=16202008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18721084A Pending JPS6165309A (en) 1984-09-06 1984-09-06 Output system for reference point position signal

Country Status (1)

Country Link
JP (1) JPS6165309A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017198627A (en) * 2016-04-28 2017-11-02 ファナック株式会社 Control apparatus of machine tool including failure diagnosis function for sensor detecting one-turn signal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017198627A (en) * 2016-04-28 2017-11-02 ファナック株式会社 Control apparatus of machine tool including failure diagnosis function for sensor detecting one-turn signal
US10571886B2 (en) 2016-04-28 2020-02-25 Fanuc Corporation Machine tool control device having function of diagnosing malfunction in sensor for detecting one-rotation signal

Similar Documents

Publication Publication Date Title
EP0782056B1 (en) Numerically controlled machine tool and method
US4482968A (en) Method and apparatus for robot control
US5079713A (en) Method and apparatus for preventing tool collison
EP0046032B1 (en) Method of numerical control
US4586125A (en) Numerical control working system
EP1018397A1 (en) Method and apparatus for collecting operation event logs in nc machining
US4404506A (en) Tool position offsetting system for a spare tool
EP0357778B1 (en) Method of speed control for servomotor
US5170034A (en) Method and apparatus for welding robot control
US5298843A (en) Method for restarting punch press machine and numerical controller
US4994977A (en) Method of detecting an interference in the control of a plurality of mechanical systems
EP0227304B1 (en) Method of controlling a robot
EP0417307A1 (en) Method of plotting nc program
JP3264705B2 (en) Control method of robot hand of numerically controlled machine tool
EP0477430B1 (en) Off-line teaching method for industrial robot
JP3428804B2 (en) Synchronous control method and synchronous control device in numerical controller
JPS6165309A (en) Output system for reference point position signal
KR0132901B1 (en) Numerical control apparatus
JPH0370242B2 (en)
JP4112433B2 (en) Numerical control device for machine tool and numerical control method for machine tool
JPS58213301A (en) Numerical control system of direct teaching and operating system
EP0328665B1 (en) Numerical controller
JP2628914B2 (en) Processing simulation method
JPH0630011B2 (en) Numerical control Machining restart control method
JP2577003B2 (en) Robot control method