JP2700476B2 - Numerical control processing equipment - Google Patents

Numerical control processing equipment

Info

Publication number
JP2700476B2
JP2700476B2 JP22793688A JP22793688A JP2700476B2 JP 2700476 B2 JP2700476 B2 JP 2700476B2 JP 22793688 A JP22793688 A JP 22793688A JP 22793688 A JP22793688 A JP 22793688A JP 2700476 B2 JP2700476 B2 JP 2700476B2
Authority
JP
Japan
Prior art keywords
data
tool
command information
movement
read
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.)
Expired - Lifetime
Application number
JP22793688A
Other languages
Japanese (ja)
Other versions
JPH0276006A (en
Inventor
孝之 鶴橋
基之 鈴木
克己 山本
克弘 小室
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.)
Toyota Motor Corp
Toyoda Koki KK
Original Assignee
Toyota Motor Corp
Toyoda Koki KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp, Toyoda Koki KK filed Critical Toyota Motor Corp
Priority to JP22793688A priority Critical patent/JP2700476B2/en
Publication of JPH0276006A publication Critical patent/JPH0276006A/en
Application granted granted Critical
Publication of JP2700476B2 publication Critical patent/JP2700476B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】 発明の目的 [産業上の利用分野] 本発明は、数値情報により制御される工作機械等の制
御装置に関するものである。
The present invention relates to a control device for a machine tool or the like controlled by numerical information.

[従来の技術] 工作機械では、工具の作動を制御するとともに、工具
と被加工物との位置関係及び工具の姿勢も制御しなけれ
ばならない。例えば、金型に曲面を研削加工する機械で
は、研削工具の位置、姿勢、送り速度等を制御する位置
・姿勢制御と、砥石回転速度、砥石押し付け力、砥石の
昇降動作等を制御する工具作動制御とを総合的に行わな
ければならない。
[Related Art] In a machine tool, it is necessary to control not only the operation of a tool but also the positional relationship between the tool and a workpiece and the attitude of the tool. For example, in a machine that grinds a curved surface to a mold, a position / posture control that controls the position, posture, and feed rate of a grinding tool, and a tool operation that controls a grindstone rotation speed, a grindstone pressing force, a grindstone lifting / lowering operation, and the like. Control and comprehensive control must be performed.

制御項目の増加や複雑化に伴い、制御データ作成の容
易性等の点から、最近ではこれらの制御は数値制御多軸
ロボットあるいは多軸工作機械により行われるようにな
っている(例えば、特開昭61−188075号公報)。これら
の工作機械では、工具と被加工物との相対的位置・姿勢
関係は、ロボットアーム又はワークベッドの運動を制御
する装置に指令することにより行い、工具の作動はそれ
専用の制御装置に上記のような作動に関する指令を与え
ることにより行う。
Recently, these controls have been performed by a numerically controlled multi-axis robot or a multi-axis machine tool in view of easiness of creating control data with the increase and complexity of control items (see, for example, JP-A-61-188075). In these machine tools, the relative position / posture relationship between the tool and the workpiece is performed by instructing a device that controls the movement of the robot arm or the work bed, and the operation of the tool is performed by a dedicated control device. This is performed by giving a command regarding the operation as described above.

[発明が解決しようとする課題] 上記の通り、位置・姿勢に関する制御と工具作動に関
する制御は別々の装置が行うが、加工に際しては、それ
らの両動作は協働して行わなければならないため、それ
ら両制御装置に対する指令は1つの中央制御装置が行っ
ていた。
[Problems to be Solved by the Invention] As described above, the control relating to the position / posture and the control relating to the tool operation are performed by separate devices. However, when machining, both operations must be performed in cooperation. Commands for both control units were issued by one central control unit.

ところが、予め定められた加工用数値データはフロッ
ピーディスクや磁気テープ等に一つ一つ順番に(シーケ
ンシャルに)記録されているため、従来の中央制御装置
では、それら加工用数値データを両制御装置に出力する
に際し、数値データを単に順番に各々の制御装置に出力
するに過ぎなかった。例えば、それらのデータを順番に
読み出し、読み出したデータが被加工物の移動に関する
データであればそれを司る制御装置に出力して、その指
令データ通りの移動動作が終了したことを確認してから
次のデータを読み出す。読み出したデータが工具の作動
に関するデータであれば工具制御装置に出力し、そのデ
ータ通りの工具の作動が完了したことを確認してから次
のデータを読み出す、ということを繰り返していたに過
ぎなかった。
However, since the predetermined numerical data for processing is recorded one by one (sequentially) on a floppy disk, a magnetic tape, or the like, the conventional central control device transmits the numerical data for processing to both control devices. However, the numerical data is simply output to each control device in order. For example, if such data is read in order, and if the read data is data relating to the movement of the workpiece, it is output to the control device that controls the movement, and after confirming that the movement operation according to the command data has been completed, Read the next data. If the read data is data relating to the operation of the tool, it simply outputs to the tool controller, confirms that the operation of the tool according to the data has been completed, and then reads out the next data. Was.

しかし、このように単に記録されたデータの順番に一
つ一つの処理を行っていたのでは真の協働作業が行え
ず、指令データを作成するときに期待した通りの精度の
良い加工が行えないという問題がある。例えば、砥石で
金型に曲面を彫る加工では、砥石の姿勢が変われば砥石
と金型との接触面積も異なってくるため、砥石の金型へ
の押し付け力を姿勢に応じて適切に変化させる必要があ
る。このとき、砥石の姿勢変化と押し付け力の変化とが
時間的にずれると、所期の加工曲面が得られない。又、
砥石を金型へ降ろしたり金型から引き上げたりするとき
も、金型(又は砥石)を移動させながら行わないと、局
部的に食い込みが生じてしまう。従来の制御装置では、
指令データを単に順番に各々の制御装置に送っていたた
め、砥石の姿勢の変化・位置の移動と砥石の押し付け力
変化・昇降動との間で時間的ずれがあり、このような砥
石の食い込み等の問題が生じていた。
However, simply processing each data in the order of the recorded data in this way would not allow true cooperative work, and would result in accurate machining as expected when creating the command data. There is no problem. For example, in the process of carving a curved surface on a mold with a grindstone, if the posture of the grindstone changes, the contact area between the grindstone and the mold also changes, so the pressing force of the grindstone on the mold is appropriately changed according to the posture. There is a need. At this time, if the change in the attitude of the grindstone and the change in the pressing force are temporally deviated, the desired processed curved surface cannot be obtained. or,
Unless the whetstone is moved while the die (or whetstone) is being moved down or lifted from the die, the bite is locally generated. In the conventional control device,
Since the command data was simply sent to each control device in order, there was a time lag between the change in the attitude and position of the grindstone and the change in the pressing force of the grindstone and the ascending and descending movements. Problem had arisen.

本発明はこのような従来の数値加工制御装置の欠点を
補い、指令データ通りに正確な加工を行うことを課題と
して成されたものである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned drawbacks of the conventional numerical processing control device and to perform accurate processing according to command data.

発明の構成 4[課題を解決するための手段] 上記課題を解決するために成された本発明の数値加工
制御装置は、第1図にその概念的構成を示すように、次
のような手段を備えることを特徴としている。
Configuration of the Invention 4 [Means for Solving the Problems] The numerical processing control device of the present invention made to solve the above problems has the following means as shown in FIG. It is characterized by having.

(M1)工具作動に関する工具作動指令情報DTに従って工
具TLの作動を制御する工具制御手段、 (M2)工具TLと被加工物WKの相対的位置又は姿勢に関す
る移動指令情報DPに従って工具TLの位置又は姿勢を制御
する移動制御手段、 (M3)読込んだ指令情報DDが前記工具作動指令情報DTま
たは移動指令情報DPのいずれであるかを判別する判別手
段、 (M4)先行する移動指令情報DPの読込から次の移動指令
情報DPの読込までの間に読込まれた工具作動指令情報DT
を記憶する記憶手段、 (M5)前記移動指令情報DPが読込まれた時に、前記先行
して読込まれて記憶されていた移動指令情報DPと前記記
憶手段M4に記憶されていた工具作動指令情報DTとを各々
移動制御手段M2と工具制御手段M1とに出力するか、ある
いは該読込んだ移動指令情報DP(図1に破線で示す)と
前記記憶手段M4に記憶されていた工具作動指令情報DTと
を各々移動制御手段M2と工具制御手段M1とに出力する調
整手段。
(M1) tool control means for controlling the operation of the tool TL according to the tool operation command information DT related to the tool operation; (M2) the position of the tool TL according to the movement command information DP related to the relative position or posture of the tool TL and the workpiece WK; (M3) determination means for determining whether the read command information DD is the tool operation command information DT or movement command information DP; (M4) determination of the preceding movement command information DP Tool operation command information DT read between the reading and the reading of the next movement command information DP
(M5) when the movement command information DP is read, the movement command information DP previously read and stored and the tool operation command information DT stored in the storage means M4. Are output to the movement control means M2 and the tool control means M1, respectively, or the read movement command information DP (shown by a broken line in FIG. 1) and the tool operation command information DT stored in the storage means M4. And output means to the movement control means M2 and the tool control means M1, respectively.

[作用] この数値加工制御装置では、まず判別手段M3が、読込
んだ指令情報DDが工具作動指令情報DTまたは移動指令情
報DPのいずれであるかを判別する。判別後、工具作動指
令情報DTは記憶手段M4に送られ、そこで記憶される。な
お、移動指令情報DPも同様に記憶手段M4に記憶しておい
てもよい。
[Operation] In the numerical processing control device, first, the determination means M3 determines whether the read command information DD is the tool operation command information DT or the movement command information DP. After the determination, the tool operation command information DT is sent to the storage means M4, where it is stored. Note that the movement command information DP may be stored in the storage unit M4 in the same manner.

調整手段M5は、移動指令情報DPが読込まれた時(つま
り、判別手段M3により、読込んだ指令情報DDが移動指令
情報DPであると判別された時)に、先行して読込まれて
例えば記憶手段M4に記憶されていた移動指令情報DPと記
憶手段M4に記憶されていた工具作動指令情報DT(無い場
合もあるし、複数の場合もある)とを各々移動制御手段
M2と工具制御手段M1とに出力するか、あるいはその読込
んだ移動指令情報DPと記憶手段M4に記憶されていた工具
作動指令情報DTとを各々移動制御手段M2と工具制御手段
M1とに出力する。
When the movement command information DP is read (that is, when the read command information DD is determined to be the movement command information DP by the determination means M3), the adjusting means M5 is read in advance, for example, The movement control means DP stores the movement command information DP stored in the storage means M4 and the tool operation command information DT (may or may not exist) stored in the storage means M4.
M2 and the tool control means M1 or output the read movement command information DP and the tool operation command information DT stored in the storage means M4 to the movement control means M2 and the tool control means, respectively.
Output to M1.

工具制御手段M1は、工具作動に関する工具作動指令情
報DTに従って工具TLの作動を制御し、移動制御手段M2
は、工具TLと被加工物WKの相対的位置又は姿勢に関する
移動指令情報DPに従って工具TLの位置又は姿勢を制御す
るのであるが、工具作動指令情報DTが工具制御手段M1に
送られるのと移動指令情報DPが移動制御手段M2に送られ
るのがほぼ同時であることから、これら指令情報は両制
御手段M1、M2でほぼ同時に実行される。このため、工具
作動と工具/被加工物位置・姿勢変化との同期がとれ、
精密な加工が行える。
The tool control means M1 controls the operation of the tool TL according to the tool operation command information DT relating to the tool operation, and the movement control means M2
Controls the position or posture of the tool TL in accordance with the movement command information DP on the relative position or posture of the tool TL and the workpiece WK, and moves when the tool operation command information DT is sent to the tool control means M1. Since the command information DP is sent to the movement control means M2 almost at the same time, the command information is executed by the two control means M1 and M2 almost at the same time. For this reason, synchronization between the tool operation and the change in the position / posture of the tool / workpiece can be achieved
Precise processing can be performed.

[実施例] 本発明を適用した金型加工ロボットシステムについて
以下に説明する。本システムは第2図に示すように、研
削砥石10を備えたロボット12、被加工物である金型材料
14を載せた加工台16、ロボット12を制御するロボットコ
ントローラ18、及びパーソナルコンピュータ20から構成
される。
[Example] A mold processing robot system to which the present invention is applied will be described below. As shown in FIG. 2, the system includes a robot 12 having a grinding wheel 10 and a mold material as a workpiece.
It comprises a processing table 16 on which a 14 is mounted, a robot controller 18 for controlling the robot 12, and a personal computer 20.

ロボット12は7軸(自由度)を有する多軸ロボットで
あり、走行レール22、レール22の上を移動する基台23、
基台23上に立つ支柱24、支柱24から順に回転軸により連
接する第1アーム26と第2アーム28、第2アーム28に嵌
挿された第3アーム30、及び第3アームと回転軸により
連接するフランジ32から構成される。フランジ32には砥
石10を昇降させる空気圧ピストン34及び砥石10を回転駆
動するモータ36が取り付けられている。空気圧ピストン
34は砥石10の被加工物14への押し付け力を調整する作用
も行う。
The robot 12 is a multi-axis robot having seven axes (degrees of freedom), a traveling rail 22, a base 23 moving on the rail 22,
A support 24 standing on a base 23, a first arm 26 and a second arm 28 connected by a rotation shaft in order from the support 24, a third arm 30 inserted into the second arm 28, and a third arm and a rotation shaft. It comprises a connecting flange 32. A pneumatic piston 34 for raising and lowering the grindstone 10 and a motor 36 for rotating and driving the grindstone 10 are attached to the flange 32. Pneumatic piston
Numeral 34 also serves to adjust the pressing force of the grindstone 10 against the workpiece 14.

ロボット12の7自由度とは、支柱24の基台23上での
自転、支柱24に対する第1アーム26の回転、第1ア
ーム26に対する第2アーム28の回転、第3アーム30の
自転、第3アーム30に対するフランジ32の回転、フ
ランジ32の自転、走行レール22上の基台23の移動、で
ある。
The seven degrees of freedom of the robot 12 include the rotation of the column 24 on the base 23, the rotation of the first arm 26 with respect to the column 24, the rotation of the second arm 28 with respect to the first arm 26, the rotation of the third arm 30, Rotation of the flange 32 with respect to the three arms 30, rotation of the flange 32, and movement of the base 23 on the running rail 22.

ロボットコントローラ18は第3図に示すように、2つ
のホストCPU(HOST1及びHOST2)40、42を有する電子制
御装置である。ロボットコントローラ18はその他に、RO
M44、RAM46、ロボット12の上記7自由度に対応するモー
タ(図示せず)と各々接続される7つのサーボCPU(SVC
PU1〜SVCPU7)48〜60、砥石10のピストン34やモータ36
と接続されるスイッチインタフェイス(SWI/F)62とD/A
コンバータ64、及びそれらの間を接続するバスライン66
を備える。
The robot controller 18 is an electronic control unit having two host CPUs (HOST1 and HOST2) 40 and 42 as shown in FIG. The robot controller 18
Seven servo CPUs (SVCs) connected to M44, RAM 46, and motors (not shown) corresponding to the above seven degrees of freedom of the robot 12 respectively.
PU1 ~ SVCPU7) 48 ~ 60, piston 34 of grinding wheel 10 and motor 36
Switch interface (SWI / F) 62 and D / A connected to
Converters 64 and bus lines 66 connecting between them
Is provided.

HOST1(40)は外部データの読み込み、その判別、そ
してロボット12及び砥石10の作動制御を行う。外部デー
タはパーソナルコンピュータ20からRS232Cインタフェイ
ス(I/F)68を介してシリアルにHOST1(40)に入力され
る。
The HOST 1 (40) reads external data, determines the external data, and controls the operation of the robot 12 and the grindstone 10. External data is serially input from the personal computer 20 to the HOST1 (40) via the RS232C interface (I / F) 68.

HOST2(42)は同様にRS232CI/F70を介してキーボード
(KB)72、ビデオディスプレイ(CRT)74及びプリンタ
(PRT)76と接続され、ロボットコントローラ18に手動
で直接入力されるデータを扱う。
The HOST 2 (42) is similarly connected to a keyboard (KB) 72, a video display (CRT) 74 and a printer (PRT) 76 via the RS232CI / F 70, and handles data directly input to the robot controller 18 manually.

ROM44には後述の外部データ処理プログラム、ロボッ
ト制御プログラム、工具制御プログラム等が予め記憶さ
れている。RAM46は後述の軌跡データや補助データ等を
一時的に記憶するものである。
The ROM 44 previously stores an external data processing program, a robot control program, a tool control program, and the like, which will be described later. The RAM 46 temporarily stores trajectory data, auxiliary data, and the like, which will be described later.

本システムを利用して金型の加工を行う場合の加工デ
ータの流れを第4図により説明する。先ずCADコンピュ
ータ等により金型の設計を行い(ステップ100)、金型
の外形データ等を含むCADデータを作成する(ステップ1
10)。次に、このCADデータから、加工を行うための指
令データ(加工データ)を作成する(ステップ120)。
加工データは設計された金型形状を削り出すための研削
工具の動きを含むデータである。このようにして作成さ
れた加工データは一旦フロッピーディスク等の記録媒体
に納められ(ステップ130)、研削加工を行うロボット
システムのところへ持って行かれる。加工データは一般
化したフォーマットで記録されているため、パーソナル
コンビュータ20により各ロボットシステムに適合したフ
ォーマットに変換され(ステップ140)、以下に述べる
ような手順によりロボットコントローラ18により実行さ
れる(ステップ150)。
The flow of machining data when a mold is machined using this system will be described with reference to FIG. First, a mold is designed by a CAD computer or the like (step 100), and CAD data including the outer shape data of the mold is created (step 1).
Ten). Next, command data (processing data) for performing processing is created from the CAD data (step 120).
The processing data is data including the movement of a grinding tool for cutting out the designed mold shape. The processing data created in this way is temporarily stored in a recording medium such as a floppy disk (step 130), and is taken to a robot system for performing a grinding process. Since the processing data is recorded in a generalized format, it is converted by the personal computer 20 into a format suitable for each robot system (step 140), and is executed by the robot controller 18 according to the procedure described below (step 150). ).

ロボットコントローラ18におけるデータ処理及び加工
作業の手順を第5図のフローチャートにより説明する。
本ルーチンが開始するとまずステップ200でカウンタN
及びKを1にセットする。そしてステップ210でN番目
のデータブロックDB(N)を読み込む。
The procedure of data processing and processing operations in the robot controller 18 will be described with reference to the flowchart of FIG.
When this routine starts, first, in step 200, the counter N
And K are set to one. Then, in step 210, the N-th data block DB (N) is read.

ここで、データブロックDB(N)について説明する。
データブロックDB(N)は、ロボット12による砥石10の
位置及び姿勢の移動に関するデータ(これを軌跡データ
DPと呼ぶ)と、砥石10自身の作動に関するデータ(これ
を補助データDTと呼ぶ)とに分かれ、本実施例では各々
次のような構造を有する。
Here, the data block DB (N) will be described.
The data block DB (N) includes data relating to the movement of the position and orientation of the grindstone 10 by the robot 12 (this is referred to as locus data
DP) and data relating to the operation of the grindstone 10 itself (hereinafter referred to as auxiliary data DT). In the present embodiment, each has the following structure.

(1)軌跡データDP= {Xx1 Yy1 Zz1 Ii1 Jj1 Kk1 Ff1} ここで、X,Y,Zは、次に続く下線を引いた部分のデー
x1y1z1が砥石10の各方向の位置座標であることを
表し、I,J,Kも同様に砥石10の姿勢を表す。Fは砥石10
の移動速度を表す。Xx1〜Ff1までのセットが1つのデ
ータブロックである。
(1) Trajectory data DP = {X x1 Y y1 Z z1 I i1 J j1 K k1 F f1 } Here, X, Y, and Z are data x1 , y1 , and z1 of the following underlined parts, respectively. 10 represents the position coordinates in each direction, and I, J, and K also represent the attitude of the grindstone 10 in the same manner. F is a whetstone 10
Represents the moving speed of. The set from X x1 to F f1 is one data block.

(2)補助データDT= {Mm1},{Vv1}等 Mは砥石10を上下させる動作であることを表し、次に
続くデータm1が具体的に上昇又は下降であることを表
す。Vは砥石10を被加工物14に押し付ける力に関するデ
ータであることを表し、その強さをv1により指令する。
補助データはこの他に、モータ36のオンオフ等の指令デ
ータを含む。補助データでは、Mm1、Vv1等が一つ一つ
のデータブロックを構成する。
(2) Auxiliary data DT = {M m1 }, {V v1 }, etc. M represents an operation of moving the grindstone 10 up and down, and the subsequent data m1 specifically represents an ascending or descending operation. V represents data relating to the force for pressing the grindstone 10 against the workpiece 14, and the strength is commanded by v1 .
The auxiliary data also includes command data such as ON / OFF of the motor 36. In the auxiliary data, M m1 , V v1, and the like constitute one data block.

ステップ220では、読み込まれたデータブロックDB
(N)が補助データであるか否かを判別する。ここで
は、読み込まれたデータブロックDB(N)が補助データ
DTであるとして話を進める。この場合にはステップ230
へ進み、そのデータブロックDB(N)をDT(K)という
変数に代入することにより、RAM46に記憶する。そして
ステップ240で、カウンタN及びKを各々1だけインク
リメントし、ステップ210へ戻って次のデータブロックD
B(N)を読み込む。このようにして、補助データDTが
続く限り、ステップ210〜240を繰り返して、読み込んだ
補助データをDT(1)〜DT(K)(以下これらを一括し
て{DT(K)}で表す)に代入する。
In step 220, the read data block DB
It is determined whether or not (N) is auxiliary data. Here, the read data block DB (N) is the auxiliary data
Proceed as if it were a DT. In this case step 230
Then, the data block DB (N) is stored in the RAM 46 by substituting the data block DB (N) for a variable DT (K). Then, in step 240, the counters N and K are each incremented by one, and the process returns to step 210 to return to the next data block D.
Read B (N). In this manner, as long as the auxiliary data DT continues, steps 210 to 240 are repeated, and the read auxiliary data is represented by DT (1) to DT (K) (hereinafter, these are collectively represented by {DT (K)}). Substitute for

読み込んだデータブロックDB(N)が軌跡データDPで
あるときには、ステップ250でそのデータブロックDB
(N)を変数DP1に代入することにより、RAM46に記憶す
る。そして、ステップ260で、前回読み込んだ軌跡デー
タDP0(後述するように、読み込んだ軌跡データDP1は毎
回DP0に記憶される)をロボット制御部に出力する。
When the read data block DB (N) is the locus data DP, the data block DB
(N) is stored in the RAM 46 by substituting it for the variable DP1. Then, in step 260, the previously read trajectory data DP0 (as described later, the read trajectory data DP1 is stored in DP0 each time) is output to the robot controller.

ロボット制御部とは、HOST1(40)、ROM44、RAM46及
びSVCPU1〜SVCPU7(48〜60)により構成され、ROM44中
に予め記憶されたロボット制御プログラムに基づき上記
軌跡データを解釈・実行する部分のことを指す。つま
り、具体的にはステップ240では、ロボット制御サブル
ーチンにより、軌跡データDP0の個々のデータXx1〜Ff
1を解釈し、必要な座標変換を行った後に、各サーボCPU
48〜60に指令データを送る。これにより、各サーボCPU4
8〜60に対応するロボット12の7つのモータ(図示せ
ず)が駆動され、指令された軌跡データ通りの砥石10の
位置・姿勢の移動の実行が開始される。
The robot controller is composed of HOST1 (40), ROM44, RAM46, and SVCPU1 to SVCPU7 (48 to 60), and is a part that interprets and executes the above-described trajectory data based on a robot control program stored in the ROM44 in advance. Point to. That is, specifically, in step 240, the individual data X x1 to F f of the trajectory data DP0 are determined by the robot control subroutine.
After interpreting 1 and performing necessary coordinate conversion,
Send command data to 48-60. As a result, each servo CPU4
Seven motors (not shown) of the robot 12 corresponding to 8 to 60 are driven, and the movement of the position / posture of the grindstone 10 according to the instructed trajectory data is started.

ステップ260で軌跡データDP0を出力すると、直ちに、
ステップ270でRAM46に記憶された補正データ{DT
(K)}を工具制御部に出力する。
As soon as the locus data DP0 is output in step 260,
The correction data {DT stored in the RAM 46 in step 270
(K) Output} to the tool control unit.

工具制御部とは、HOST1(40)、ROM44、RAM46、SWI/F
62及びD/Aコンバータ64により構成され、ROM44中に予め
記憶された工具制御プログラムに従い、補助データDTを
解釈・実行する部分のことを指す。具体的には、ステッ
プ270では、工具制御サブルーチンにより、各補助デー
タを解釈し、SWI/F62及びD/Aコンバータ64を介してモー
タ36やピストン34に制御信号を出力することにより、砥
石10の回転開始及び停止、昇降、押し付け力調整等を行
う。
Tool control part is HOST1 (40), ROM44, RAM46, SWI / F
62 and a D / A converter 64, and refers to a part for interpreting and executing the auxiliary data DT according to a tool control program stored in the ROM 44 in advance. Specifically, in step 270, the auxiliary data is interpreted by a tool control subroutine, and a control signal is output to the motor 36 and the piston 34 via the SWI / F 62 and the D / A converter 64, whereby the grinding wheel 10 Start and stop rotation, move up and down, adjust pressing force, etc.

ステップ270で補助データ{DT(K)}を出力した
後、ステップ280で、各サーボCPU48〜60からの実行終了
信号により、軌跡データDP0の実行終了を確認する。な
お、補助データ{DT(K)}の実行確認は行わない。
After outputting the auxiliary data {DT (K)} in step 270, in step 280, the execution completion of the locus data DP0 is confirmed by the execution completion signal from each of the servo CPUs 48-60. The execution of the auxiliary data {DT (K)} is not confirmed.

軌跡データDP0の実行終了を確認した後、ステップ290
で今回読み込んだ軌跡データDP1を次回のためにDP0に代
入しておく。そして、ステップ300でデータブロックDB
(N)読み込みのためのカウンタNを1だけインクリメ
ントし、補助データDT(K)記憶のためのカウンタKを
1にリセットして、ステップ210からの処理を繰り返
す。
After confirming the end of execution of the trajectory data DP0, step 290
Then, the locus data DP1 read this time is substituted into DP0 for the next time. Then, in step 300, the data block DB
(N) The counter N for reading is incremented by one, the counter K for storing the auxiliary data DT (K) is reset to 1, and the processing from step 210 is repeated.

上記実施例では、ステップ260で軌跡データDP0を出力
した後、その指令データの実行結果を確認することな
く、直ちにステップ270で補助データ{DT(K)}を出
力している。従って、両動作は実質上ほとんど同時に平
行して行われる。
In the above embodiment, after outputting the locus data DP0 in step 260, the auxiliary data {DT (K)} is output immediately in step 270 without confirming the execution result of the command data. Thus, both operations are performed substantially simultaneously in parallel.

被加工物14表面の研削を行う場合の、データブロック
並びにそれに対応するロボット12及び砥石10の動作の具
体例を、第1表及び第6図により説明する。第1表の右
欄の記号〜は、第6図の各動作を表す記号〜に
対応する。
A specific example of the operation of the data block and the corresponding operation of the robot 12 and the grindstone 10 when grinding the surface of the workpiece 14 will be described with reference to Table 1 and FIG. Symbols in the right column of Table 1 correspond to symbols in FIG. 6 that represent each operation.

最初に、ロボット12により、砥石10を被加工物14の表
面に近づけ、被加工物14の表面に沿った軌跡に移行させ
る動作が行われる。これに対応する指令データは軌
跡データであるが、最初のデータであるため、そのまま
は実行されず(今回のデータはDP1であり、ステップ260
で実行されるのはDP0、すなわち実体のないデータであ
るため)、一旦RAM46に記憶され、次のデータブロック
が読み込まれる。このデータブロックは補助データで
あるため、RAM46に記憶され、更に次のデータブロック
が読み込まれる。これも補助データであるため、更に
次の(の最初の)データブロックが読み込まれるが、
これは軌跡データである。従って、この時点で初めて、
先の軌跡データと、その間に読み込まれた補助データ
、とがRAM46から読み出されて一挙に実行される。
従って、ロボット12により砥石10を被加工物14に接近さ
せ、被加工物14の表面に沿った軌跡に移行させる動作
、ピストン34による砥石10の下降動作、それに砥石
10の被加工物14への押し付け力指令動作がほぼ同時に
行われる。これにより、砥石10を被加工物14の上に降ろ
す際も、砥石10が移動しながら行われるようになるた
め、砥石10の被加工物14への食い込みが避けられる。
First, the robot 12 performs an operation of bringing the grindstone 10 close to the surface of the workpiece 14 and moving the grindstone 10 to a locus along the surface of the workpiece 14. The corresponding command data is the trajectory data, but it is the first data, so it is not executed as it is (this time data is DP1, step 260
Is executed in DP0, that is, data having no substance), the data is temporarily stored in the RAM 46, and the next data block is read. Since this data block is auxiliary data, it is stored in the RAM 46, and the next data block is read. Since this is also auxiliary data, the next (first) data block is read,
This is trajectory data. Therefore, for the first time at this point,
The previous trajectory data and the auxiliary data read during that time are read from the RAM 46 and executed at once.
Therefore, the operation of moving the grindstone 10 toward the workpiece 14 by the robot 12 and moving the grindstone 10 to a trajectory along the surface of the workpiece 14, the lowering operation of the grindstone 10 by the piston 34, and the grinding wheel
The pressing force command operation of 10 against the workpiece 14 is performed almost simultaneously. Thus, when the grinding wheel 10 is lowered onto the workpiece 14, the grinding wheel 10 is moved while moving, so that the grinding wheel 10 is prevented from biting into the workpiece 14.

次のは、所定の設計曲線を被加工物14上に彫るため
の砥石10の動きを表し、いくつかの軌跡データDPにより
指令される。この間、補助データDTは介在しないため、
各軌跡データDPは直ちに実行される。に至ったところ
で砥石10の押し付け力を変化させる補助データVv2が現
れるが、これはの最後の軌跡データXx3〜Ff3が砥石
10の姿勢変更を指令するものであるため、挿入されたも
のである。この場合も、砥石10の姿勢変更と押し付け力
変更とが同時に実行されるため、被加工物14上に形成さ
れる曲面に予期せぬ段差が生じない。
The following shows the movement of the grindstone 10 for carving a predetermined design curve on the workpiece 14, and is commanded by some trajectory data DP. During this time, the auxiliary data DT does not intervene,
Each trajectory data DP is immediately executed. , Auxiliary data Vv2 for changing the pressing force of the grindstone 10 appears. This is because the last trajectory data Xx3 to Ff3 is
It is inserted because it is a command to change the posture of 10. Also in this case, since the change in the attitude of the grindstone 10 and the change in the pressing force are performed at the same time, an unexpected step does not occur on the curved surface formed on the workpiece 14.

以後同様に、砥石10の移動・姿勢変更、押し付け力
変更、移動、引き上げ、被加工物14からの離脱
がスムーズに行われる。これらにより、加工データ作成
時の所期通りの加工作業が、ロボット12と砥石10との同
期した動作により行われ、被加工物14が所定通りの形状
に研削加工される。
Thereafter, similarly, the movement / posture change, pressing force change, movement / pull-up, and separation from the workpiece 14 of the grindstone 10 are smoothly performed. As a result, the intended machining operation at the time of creating the machining data is performed by the synchronized operation of the robot 12 and the grindstone 10, and the workpiece 14 is ground into a predetermined shape.

なお、上記実施例では、ロボット制御部及び工具制御
部はともにHOST1(40)を共通の構成要素として含んで
いたが、もちろんこれらはハード的にも別々のプロセッ
サにより構成してもよい。
In the above embodiment, both the robot control unit and the tool control unit include the HOST1 (40) as a common component, but of course, these may also be configured by separate processors in terms of hardware.

上記実施例はあくまで本発明の理解のために具体的な
一例を示したものであり、本発明自体はこのような態様
に何等限定されることはなく、他の数値制御加工装置に
対しても適用できることは、当業者であれば充分に理解
し得るところである。
The above embodiments are merely specific examples for understanding the present invention, and the present invention itself is not limited to such embodiments at all, and may be applied to other numerically controlled machining devices. The applicability is well understood by those skilled in the art.

発明の効果 本発明によると、外部から入力された数値データは、
入力された順に1ブロックずつ各制御装置に出力される
のではなく、工具の位置・姿勢の移動に関する指令情報
と工具の作動に関する指令情報とがまとめてほぼ同時に
各制御装置に出力される。これにより、両操作は各制御
装置によりほぼ同時に実行されるため、両操作の同期が
とれ、指令数値データを作成したときの所期通りの精密
な加工が行えるようになる。
According to the present invention, numerical data input from the outside
Rather than being output to each control device one block at a time in the order in which they are input, command information relating to the movement of the position and orientation of the tool and command information relating to the operation of the tool are collectively output to each control device almost simultaneously. As a result, both operations are executed almost simultaneously by the respective control devices, so that both operations are synchronized, and precise machining as expected when the command numerical data is created can be performed.

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

第1図は本発明の概念的構成図、第2図は本発明の実施
例である金型研削加工ロボットシステムの構成図、第3
図は実施例のロボットコントローラのブロック図、第4
図は金型加工の際の加工データの流れを示すフローチャ
ート、第5図はロボットコントローラにおける処理を表
すフローチャート、第6図は金型加工の際の砥石の動き
を示す説明図である。 10……研削砥石、12……ロボット、 14……被加工物、18……ロボットコントローラ
FIG. 1 is a conceptual configuration diagram of the present invention, FIG. 2 is a configuration diagram of a mold grinding robot system according to an embodiment of the present invention, and FIG.
The figure shows a block diagram of the robot controller of the embodiment.
FIG. 5 is a flowchart showing a flow of processing data in die machining, FIG. 5 is a flowchart showing processing in a robot controller, and FIG. 6 is an explanatory diagram showing movement of a grindstone in die processing. 10: Grinding wheel, 12: Robot, 14: Workpiece, 18: Robot controller

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山本 克己 愛知県刈谷市朝日町1丁目1番地 豊田 工機株式会社内 (72)発明者 小室 克弘 愛知県刈谷市朝日町1丁目1番地 豊田 工機株式会社内 (56)参考文献 特開 昭63−184803(JP,A) ──────────────────────────────────────────────────続 き Continuing on the front page (72) Katsumi Yamamoto 1-1-1 Asahi-cho, Kariya-shi, Aichi Prefecture Inside Toyota Koki Co., Ltd. (72) Katsuhiro Komuro 1-1-1, Asahi-cho, Kariya-shi, Aichi Toyota Koki (56) References JP-A-63-184803 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】工具作動に関する工具作動指令情報に従っ
て工具の作動を制御する工具制御手段と、工具と被加工
物の相対的位置又は姿勢に関する移動指令情報に従って
工具の位置又は姿勢を制御する移動制御手段とを備えた
数値制御加工装置において、 読込んだ指令情報が前記工具作動指令情報または移動指
令情報のいずれであるかを判別する判別手段と、 先行する移動指令情報の読込から次の移動指令情報の読
込までの間に読込まれた工具作動指令情報を記憶する記
憶手段と、 前記移動指令情報が読込まれた時に、前記先行して読込
まれて記憶されていた移動指令情報と前記記憶手段に記
憶されていた工具作動指令情報とを各々移動制御手段と
工具制御手段とに出力するか、あるいは該読込んだ移動
指令情報と前記記憶手段に記憶されていた工具作動指令
情報とを各々移動制御手段と工具制御手段とに出力する
調整手段と を備えることを特徴とする数値制御加工装置。
1. Tool control means for controlling the operation of a tool in accordance with tool operation command information on tool operation, and movement control for controlling the position or orientation of the tool in accordance with movement command information on the relative position or orientation of the tool and the workpiece. Means for determining whether the read command information is the tool operation command information or the movement command information, and a next movement command from the reading of the preceding movement command information. Storage means for storing the tool operation command information read during the reading of the information, and when the movement command information is read, the movement command information previously read and stored and the storage means The stored tool operation command information is output to the movement control means and the tool control means, respectively, or the read movement command information is stored in the storage means. Numerical control machining apparatus, characterized in that it comprises an adjustment means for each output to the movement control unit and the tool control means and a tool operation command information.
JP22793688A 1988-09-12 1988-09-12 Numerical control processing equipment Expired - Lifetime JP2700476B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22793688A JP2700476B2 (en) 1988-09-12 1988-09-12 Numerical control processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22793688A JP2700476B2 (en) 1988-09-12 1988-09-12 Numerical control processing equipment

Publications (2)

Publication Number Publication Date
JPH0276006A JPH0276006A (en) 1990-03-15
JP2700476B2 true JP2700476B2 (en) 1998-01-21

Family

ID=16868604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22793688A Expired - Lifetime JP2700476B2 (en) 1988-09-12 1988-09-12 Numerical control processing equipment

Country Status (1)

Country Link
JP (1) JP2700476B2 (en)

Also Published As

Publication number Publication date
JPH0276006A (en) 1990-03-15

Similar Documents

Publication Publication Date Title
EP0437288B1 (en) Apparatus for cutting and grinding glass blanks
US5261768A (en) Automated edge finishing using an active XY table
EP0329080A2 (en) Numerical control apparatus for machining non-circular workpieces
US6140788A (en) Method and system for controlling robot
RU1814532C (en) Shoe upper working system
JPH01257545A (en) Method and device for controlling position of tool capable of being moved along linear axis
JP3367321B2 (en) Industrial robot teaching data creation method, industrial robot teaching data creation device, and industrial robot system
JP2700476B2 (en) Numerical control processing equipment
US4970449A (en) Numerical control apparatus
JP2805119B2 (en) Numerical controller for processing non-circular workpieces
JPH0682293B2 (en) NC processing method and device for preventing occurrence of path error due to high speed NC processing loop
JPH0283141A (en) Numerical control device
JP2852986B2 (en) Processing system
JP2512473B2 (en) Industrial Robot Interpolation Method
JPH0797290B2 (en) Multi-arm control device
JP3050991B2 (en) Tool offset shape data input type numerical control method and device
JP3064043B2 (en) Machining method in which workpiece deformation due to clamp is corrected, and NC machine tool for implementing the method
JP2922617B2 (en) Designation method of pressing force direction in force control robot
JPH09244723A (en) Teaching data generation method for industrial robot, teaching data generation device for industrial robot and industrial robot system
JPH0623683A (en) Method and device for controlling industrial robot
JPH0579460B2 (en)
JPH0573124A (en) Automatic teaching method for robot
JPH0635096B2 (en) NC processing method and device
JPH0454604A (en) Three-dimensional tool diameter correcting system
JPH0474205A (en) Correction system for tool diameter