JPS60259327A - Detection of corner point for work in wire electric discharge machine - Google Patents

Detection of corner point for work in wire electric discharge machine

Info

Publication number
JPS60259327A
JPS60259327A JP11513384A JP11513384A JPS60259327A JP S60259327 A JPS60259327 A JP S60259327A JP 11513384 A JP11513384 A JP 11513384A JP 11513384 A JP11513384 A JP 11513384A JP S60259327 A JPS60259327 A JP S60259327A
Authority
JP
Japan
Prior art keywords
workpiece
point
work
corner point
coordinate system
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
JP11513384A
Other languages
Japanese (ja)
Inventor
Mitsuo Kinoshita
木下 三男
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 JP11513384A priority Critical patent/JPS60259327A/en
Publication of JPS60259327A publication Critical patent/JPS60259327A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23HWORKING OF METAL BY THE ACTION OF A HIGH CONCENTRATION OF ELECTRIC CURRENT ON A WORKPIECE USING AN ELECTRODE WHICH TAKES THE PLACE OF A TOOL; SUCH WORKING COMBINED WITH OTHER FORMS OF WORKING OF METAL
    • B23H7/00Processes or apparatus applicable to both electrical discharge machining and electrochemical machining
    • B23H7/02Wire-cutting
    • B23H7/06Control of the travel curve of the relative movement between electrode and workpiece
    • B23H7/065Electric circuits specially adapted therefor
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23HWORKING OF METAL BY THE ACTION OF A HIGH CONCENTRATION OF ELECTRIC CURRENT ON A WORKPIECE USING AN ELECTRODE WHICH TAKES THE PLACE OF A TOOL; SUCH WORKING COMBINED WITH OTHER FORMS OF WORKING OF METAL
    • B23H2500/00Holding and positioning of tool electrodes
    • B23H2500/20Methods or devices for detecting wire or workpiece position

Landscapes

  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)

Abstract

PURPOSE:To work a workpiece at a correct position by detecting the corner point for the workpiece and positioning an electrode at the work starting position by using the corner point and the revolution angle of a work coordinate system with respect to a machine coordinate system, even if the work coordinate system is not parallel to the machine coordinate system. CONSTITUTION:A work WK is arranged onto a table TBL so that a work coordinate system XW-YW revolves by DELTAtheta with respect to a machine coordinate system XM-YM. The work starting position Ps is in a work starting hole STH, and exists at the position far by lx from the edge surface ESx of a work and by ly from the edge surface ESy of the work. Between two contiguous edge surfaces ESx and ESy of the work, at least two edge points Pi (i=1, 2...) are detected for the edge surface ESx, and the first straight-line for specifying the edge surface ESx is obtained from the position coordinate values of the edge point Pi, and at least two edge points Qi (i=1, 2...) are detected for the edge surface ESy, and the second straight-line for specifying the edge surface ESy is obtained from the position coordinate values of the edge point Qi, and the crossing point between the first and the second straight-lines is set as the corner point Pr for the work WK.

Description

【発明の詳細な説明】 〈産業上の利用分舒〉 本発明はワイヤ放電加工機におけるワーク隅点検出方法
に係り、特にワークの配設誤差に起因する加工誤差を補
正する際に用いることができるワーク隅点位置の検出方
法に関する。
[Detailed Description of the Invention] <Industrial Application> The present invention relates to a workpiece corner point detection method in a wire electrical discharge machine, and is particularly suitable for use in correcting machining errors caused by workpiece placement errors. This article relates to a method for detecting the corner point position of a workpiece.

〈従来技術〉 ワイヤ放電加工機におけるワイヤ電極は数値制御データ
に基づいてワークに対して相対的に通路制御される。こ
の場合、機械座標系のX軸方向が指令X軸方向とみなさ
れて移動制御され、又機械座標系のY軸方向が指令Y軸
方向とみなされて移動制御される。ところで、数値制御
データはワーク上に設定したワーク座標系に基づいてプ
ログラミングされている。従って、ワーク座標系が機械
座標系に平行になるようにワークをワーク置台に固定し
ないと、加工に際して加工誤差が生しる。
<Prior Art> The path of a wire electrode in a wire electrical discharge machine is controlled relative to a workpiece based on numerical control data. In this case, the X-axis direction of the machine coordinate system is regarded as the commanded X-axis direction and the movement is controlled, and the Y-axis direction of the machine coordinate system is regarded as the commanded Y-axis direction and the movement is controlled. By the way, the numerical control data is programmed based on a workpiece coordinate system set on the workpiece. Therefore, unless the workpiece is fixed to the workpiece stand so that the workpiece coordinate system is parallel to the machine coordinate system, machining errors will occur during machining.

、第8図はワーク座標系X、l−Y、が機械座標系x1
.l−YMに対して角度Δθだけ回転している場合の説
明図である。加至開始穴STHより実線の通路PTに沿
ってワイヤ放電加工を実行するようにNCデータが作成
されていても、ワーク座標系x1.l−y、が図示のよ
うに角度Δθだけ機械座標系XM−YMに対して回転し
ていると、実際の加工においてワイヤ電極は点線の通I
#!P T’に沿って移動し、該通路PT’は所望の通
路PTに対して角度Δθ回転したものとなる。
, Figure 8 shows that the workpiece coordinate system X, l-Y is the machine coordinate system x1.
.. It is an explanatory view when rotated by an angle Δθ with respect to l-YM. Even if the NC data is created to perform wire electrical discharge machining along the solid line path PT from the addition start hole STH, the workpiece coordinate system x1. When ly is rotated by an angle Δθ with respect to the machine coordinate system
#! PT', the path PT' is rotated by an angle Δθ with respect to the desired path PT.

又、加工開始位置は、(イ)加工開始穴5TH(第6図
参照)の中心として特定されるほかに、(ロ)互いに隣
接する2つの端面からの距離で特定される場合がある。
Further, the machining start position may be specified by (a) the center of the machining start hole 5TH (see FIG. 6) or (b) the distance from two mutually adjacent end faces.

そして、後者のように加工開始位置が特定される場合に
はワークがワーク置台に平行に配設されないとワイヤ電
極を正しく加工開始位置に位置決めできず、ワーク上の
正確な位置に加工を施すことができない。
When the machining start position is specified as in the latter case, the wire electrode cannot be correctly positioned at the machining start position unless the workpiece is placed parallel to the workpiece table, and machining cannot be performed at the correct position on the workpiece. I can't.

〈従来技術の欠点〉 しかし、従来ワーク座標系Xu−Y、、Jが機械座標系
XM−YMに平行となるようにワークをワーク置台(テ
ーブル)取り付けることは非常に困難であると共に、必
ず若干の取り付は誤差が発生しワーク上の正確な位置に
ワイヤ放電加工を行うことができなかった。
<Disadvantages of the prior art> However, conventionally, it is very difficult to mount a workpiece on a workpiece table so that the workpiece coordinate systems Xu-Y, J are parallel to the machine coordinate system XM-YM, and it is always slightly An error occurred when installing the wire, making it impossible to perform wire electrical discharge machining at the correct location on the workpiece.

〈発明の目的〉 本発明の目的は、ワークの取り付は誤差に起因する加工
誤差の補正に用いとことができるワークの隅点検出方法
を提供することである。
<Object of the Invention> An object of the present invention is to provide a workpiece corner point detection method that can be used to correct machining errors caused by errors in mounting the workpiece.

本発明の別の目的は、ワーク座標系が機械座標系に平行
でなくても、ワイヤ電極を正、確に加工開始位置に位置
決めできるワークの隅点検出方法を提供することである
Another object of the present invention is to provide a method for detecting a corner point of a workpiece that can accurately position a wire electrode at a machining start position even if the workpiece coordinate system is not parallel to the machine coordinate system.

本発明の更に別の目的は、ワーク座標系が機械座標系に
平行でなくても、ワーク上の正確な位置に加工を施すこ
とができるワークの隅点検出方法を提供することである
Still another object of the present invention is to provide a method for detecting a corner point of a workpiece, which allows machining to be performed at an accurate position on the workpiece even if the workpiece coordinate system is not parallel to the machine coordinate system.

〈発明の概要〉 第1図は本発明の概略説明図であり、同図(A)はワー
ク座標系X、 −Y、が機械座標系XM−Y□に平行と
なるようにワークWKがワーク置台(テーブル)TBL
に配設された場合であり、同図(B)はワーク座標系X
、 −Yl、lが機械座標系xM−YMに対してΔθ回
転するようにワークWKがテーブルTBLに配設された
場合である。加工開始位置Psは加工開始穴STH内で
あって、第1のワーク端面ESXから匂、第2のワーク
端面ES、から1゜の位置に存在している。
<Summary of the Invention> Fig. 1 is a schematic explanatory diagram of the present invention, and Fig. 1 (A) shows that the workpiece WK is arranged so that the workpiece coordinate system X, -Y is parallel to the machine coordinate system XM-Y□. Stand (table) TBL
The figure (B) shows the case where the workpiece coordinate system
This is a case where the workpiece WK is arranged on the table TBL such that -Yl,l are rotated by Δθ with respect to the machine coordinate system xM-YM. The machining start position Ps is within the machining start hole STH, and is located at a distance of 1 degree from the first workpiece end surface ESX and from the second workpiece end surface ES.

さて、本発明の第1の実施例においては、隣接する2つ
のワーク端面ES、、ES、のうち、第1の端面ES、
に対する2以上の端点P、(i=11.−1211、第
1図参照)を検出し、該各端点P1の位置座標値から該
第1の端面ES を特定する直線をめると共に、第2の
端面ES に対して1つの端点Q、を検出し、該端点Q
、から前記直線(@面ESX)に下した垂線の足をめ、
該垂線の足をワーク隅点P、としている。又、本発明の
第2の実施例においては、隣接する2つのワーク端面E
S、、ESyのうち、第1の端面E S8に対する2以
上の端点P、い=1.211、)を検出し、該端点P。
Now, in the first embodiment of the present invention, of the two adjacent workpiece end faces ES, ES, the first end face ES,
Detect two or more endpoints P, (i=11.-1211, see Figure 1) for each endpoint P1, find a straight line specifying the first end surface ES from the position coordinate values of each endpoint P1, and One end point Q is detected for the end surface ES of , and the end point Q is
Find the foot of the perpendicular line drawn from , to the straight line (@plane ESX),
The foot of the perpendicular line is defined as the workpiece corner point P. Furthermore, in the second embodiment of the present invention, two adjacent workpiece end surfaces E
Among S, ESy, two or more end points P, i=1.211, for the first end surface E S8 are detected, and the end points P are detected.

の位置座標値から該第1の端面ESxを特定する第1の
直線をめると共に、第2の端面E3.に対して2以上の
端点Q(i=1.211、第1図参照)を検出し、該端
点Q、の位置座標値から第2の端面ES を特定する第
2の直線をめ、第1と第2の直線の交点をワークWKの
隅点P、としている。
A first straight line that specifies the first end surface ESx is determined from the position coordinate values of the second end surface E3. Detect two or more end points Q (i=1.211, see Figure 1) for The intersection of this line and the second straight line is defined as a corner point P of the workpiece WK.

〈実施例〉 第2図は本発明を適用できるワイヤ放電加工機の側面図
であり、図中1は基台2上に立設されたコラムで、逆り
字型をしており、その上部には電源用のコンデンサ箱3
が載置されている。基台2上には、ワーク取り付は台4
(第1図においてはT’BL)が配設されているが、こ
のワーク取り付は台4は基台2上において、X方向駆動
モータ及びY方向駆動モータにより2次元的に移動可能
である。ワーク取り付は台4の上には、クランプ5によ
りワーク6(第1図においてはWK)が取りJ:′ 付
けられている。7はワイヤ電極であり、放電加工中にお
いては矢印方向に走行する。8は未使用のワイヤ電極が
巻き回されている送り出しリール、9はワイヤ電極の送
り出し時に引張方向へブレーキをかけるブレーキローラ
で、ワイヤ電極が1巻巻き回されている。10はローラ
、11は下ガイドローラ、12は上ガイドローラ、13
はローラ、14はフィードローラで、ワイヤ電極を駆動
する駆動モータにより回転する。15はピンチローラで
、ばね16によりフィードローラ14に押し付けられて
いる。尚、ワイヤ電極7はフィードローラ14とピンチ
ローラ15間に挾み付けられる。
<Example> Fig. 2 is a side view of a wire electrical discharge machine to which the present invention can be applied. There is a capacitor box 3 for power supply.
is placed. On the base 2, the workpiece is mounted on the base 4.
(T'BL in Fig. 1) is provided, and the workpiece mounting table 4 can be moved two-dimensionally on the base 2 by an X-direction drive motor and a Y-direction drive motor. . A workpiece 6 (WK in FIG. 1) is mounted on a table 4 using a clamp 5. 7 is a wire electrode, which runs in the direction of the arrow during electrical discharge machining. Reference numeral 8 denotes a feed-out reel around which an unused wire electrode is wound, and 9 a brake roller that applies a brake in the pulling direction when the wire electrode is fed out, around which the wire electrode is wound once. 10 is a roller, 11 is a lower guide roller, 12 is an upper guide roller, 13
1 is a roller, and 14 is a feed roller, which is rotated by a drive motor that drives a wire electrode. A pinch roller 15 is pressed against the feed roller 14 by a spring 16. Note that the wire electrode 7 is sandwiched between a feed roller 14 and a pinch roller 15.

17は使用済みのワイヤ電極を巻とる巻取りり一ルであ
る。
Reference numeral 17 denotes a winding coil for winding up used wire electrodes.

第3図は本発明の実施例ブロック図、第4図は処理の流
れ図である。
FIG. 3 is a block diagram of an embodiment of the present invention, and FIG. 4 is a process flowchart.

ワイヤ放電加工に先立って、ワークWK (第1図)を
ワイヤ放電加工機のテーブルTBL (第1図)に取り
付けた際のワークWKの隅点P、の位置座標値、及び端
面ES、が機械座標系XM−YMのX、軸となす角度θ
。を検出する。尚、ワーク端面ES8がワーク座標系X
1.l−Y、のx1軸となす角度θ1は既知である(図
では90°である)。
Prior to wire electrical discharge machining, when the workpiece WK (Fig. 1) is attached to the table TBL (Fig. 1) of the wire electrical discharge machine, the position coordinate values of the corner point P of the workpiece WK and the end face ES are determined by the machine. Angle θ between X and axis of coordinate system XM-YM
. Detect. Note that the workpiece end surface ES8 is the workpiece coordinate system
1. The angle θ1 between l-Y and the x1 axis is known (90° in the figure).

(a)まず、周知の自動端面出し処理により、端面ES
、におけるY軸方向の位置が異なる2つの端点P、(i
−1,2)の位置座標値(x、、y、)を検出する。す
なわち、第1番目のYM軸方向位置Y1にワイヤ電極を
位置した後、操作パネル11(第3図)上のスイッチを
操作して端面出しモードに設定し、かつワーク端面の方
向(ワイヤ電極の進む方向)の軸選択釦をおす。これに
より、プロセッサ12はROM1Bに格納されている制
御プログラムの制御で最初におおよその端面位置検出を
行い、ついで正確な1面位置検出を行う。おおよその端
面位置検出においては、 (a −1)第5図に示すように前記選択された軸の正
方向(+XM方向とする)にA点より送り速度f1(た
とえば50 mm/m i n)でワイヤ電極をワーク
に向けて移動させる。すなわち、プロセッサ12は予め
定められているΔT秒間に移動すべき移動量ΔXを次式 %式%(1) により演算し、61秒毎に該ΔXをパルス分配器14に
出力する。パルス分配器14は入力されたΔXに基づい
てパルス分配演算を行って分配パルスxPを発生してX
軸サーボ回路15Xに入力し、X軸モータ16Xを回転
し、ワイヤ電極をワークに対して相対的に移動させる。
(a) First, the end face ES is
, two end points P, (i
-1, 2) position coordinate values (x,,y,) are detected. That is, after positioning the wire electrode at the first YM-axis direction position Y1, operate the switch on the operation panel 11 (Fig. 3) to set the end surface mode, and set the direction of the workpiece end surface (the direction of the wire electrode). (direction of movement). As a result, the processor 12 first performs approximate end face position detection under the control of the control program stored in the ROM 1B, and then performs accurate one face position detection. In approximate end face position detection, (a-1) As shown in FIG. 5, feed speed f1 (for example, 50 mm/min) from point A in the positive direction (+XM direction) of the selected axis. to move the wire electrode toward the workpiece. That is, the processor 12 calculates the amount of movement ΔX to be moved in a predetermined period of ΔT seconds using the following formula % (1), and outputs the ΔX to the pulse distributor 14 every 61 seconds. The pulse distributor 14 performs a pulse distribution calculation based on the input ΔX, generates a distribution pulse xP, and generates a distribution pulse xP.
It is input to the axis servo circuit 15X, rotates the X-axis motor 16X, and moves the wire electrode relative to the workpiece.

プロセッサ12はΔT秒経過する毎にΔXをパルス分配
器14に入力して、ワイヤ電極をワークに向けて移動さ
せると共に、61秒毎に X+Δx、x (2) の演算を行って(符号は移動方向に依存する)、RAM
17に記憶されているX軸方向現在位置Xを更新する。
The processor 12 inputs ΔX to the pulse distributor 14 every ΔT seconds to move the wire electrode toward the workpiece, and calculates X+Δx, x (2) every 61 seconds (the sign indicates movement). direction dependent), RAM
The current position X in the X-axis direction stored in 17 is updated.

(a −2)上記処理によりワイヤ電極がワークに向け
て接近し、該ワイヤ電極がワークに接触すると短絡検出
$18から短絡信号wssが発生し、該短絡信号WSS
はインタフェース19を介してプロセッサ12に取りこ
まれる。
(a-2) Through the above process, the wire electrode approaches the workpiece, and when the wire electrode comes into contact with the workpiece, a short circuit signal wss is generated from the short circuit detection $18, and the short circuit signal WSS
is taken into the processor 12 via the interface 19.

(a −3)プロセッサ12は短絡信号の発生により、
パルス分配@14へのΔXの入力を停止してワイヤ電極
をB点(第5図参照)に停止させる。
(a-3) Due to the generation of the short circuit signal, the processor 12
The input of ΔX to the pulse distribution @14 is stopped to stop the wire electrode at point B (see FIG. 5).

(a−4)ついで、短絡が解除される迄(C点迄)、同
様な制御により同じ送り速度f1(=50mm/m1n
)でワイヤ電極を−XM軸方向に後退させる。
(a-4) Then, until the short circuit is released (up to point C), the same feed speed f1 (=50 mm/m1n
) to retract the wire electrode in the -XM axis direction.

(a−5)しかる後、短絡解除を確実にするために、送
り速度f 2(= 2 mm/mi n)でd(=20
μ)後退させる(D点へ°位置決めする)。
(a-5) After that, in order to ensure that the short circuit is released, d (= 20
μ) Move back (position to point D).

(a −6)以上の処理後、正確な端面位置検出をする
ために、短絡信号が発生する迄上記と同様な制御により
送り速度f 、 (= 0 、2 mm/m1n)で再
び端面にワイヤ電極を接近させ、短絡信号発生位置(P
、点)で停止し、その時のRA M 1.7に記憶され
ている各軸現在位置座標値(X、、Yl、)を端点P、
の座標値(X、、、Y、)として保存する。
(a-6) After the above processing, in order to accurately detect the position of the end face, the wire is moved to the end face again at a feed rate f, (= 0, 2 mm/m1n) using the same control as above until a short circuit signal is generated. Bring the electrodes close together and locate the short circuit signal generation position (P
, point), and convert the current position coordinate values of each axis (X,, Yl,) stored in RAM 1.7 at the end point P,
Save as coordinate values (X, , Y,).

(a−7)以後、i + 1−= iとして、iを更新
し、ワイヤ電極を次の第i番目のY軸方向位置に位置決
めしてステップ(a −1)以降の処理を繰り返し、同
様に第2端点の位置座標値を検出する。
(a-7) After that, update i by setting i + 1-= i, position the wire electrode at the next i-th position in the Y-axis direction, and repeat the process from step (a-1) onwards. The position coordinate value of the second end point is detected.

(a −8)以上により、第1の端面ES、、に対する
2つの端点P、(i=1.2)の位置座標値がまれば、
同様に第2の端面ES に対する1つの端点Q1の位置
座標値をめる。
(a -8) From the above, if the position coordinate values of the two end points P, (i=1.2) for the first end surface ES, , are combined, then
Similarly, calculate the position coordinate values of one end point Q1 with respect to the second end surface ES.

全端点P、(i=1.2)、Q、がまればプロセッサは
以下の処理により第1の端面ES、が機械座標系所定軸
(たとえばx、、軸)と交差する交差角θ。及びワーク
の隅点P1の位置座標値をめる。
If all the end points P, (i=1.2), Q, hold, the processor calculates the intersection angle θ at which the first end surface ES intersects with a predetermined axis (for example, the x, axis) of the machine coordinate system by the following process. and calculate the position coordinate value of the corner point P1 of the workpiece.

(b−1)まず、2点P、及びP2を通る直線の式をめ
る。尚、得られた直線式を a −x+b−y=1 (3) とする。
(b-1) First, find the equation of the straight line passing through the two points P and P2. Note that the obtained linear equation is a −x+by=1 (3).

(b−2)ついで、91点から該直線に下した垂線の足
P1の位置座標値をめろ。尚、Q、の位置座標値を(X
O% yO・・・第6図参照)とすれば垂線の足P1の
座標値(x、y)は次式%式%(4) (5) により演算される。
(b-2) Next, find the position coordinate value of the foot P1 of the perpendicular line drawn from the 91st point to the straight line. Furthermore, the position coordinate value of Q is (X
(0% yO...see FIG. 6), the coordinate values (x, y) of the foot P1 of the perpendicular line are calculated by the following formulas (4) (5).

(b−3)又、次式 %式%(6) により、第1の端面ES、が機械座標系所定軸孔軸とな
す角度θ、を演算する。さて、第1の端面ESがワーク
座標系所定軸X、と交差する交差角度θ は既知である
から次式 %式%(7) によりワーク座標系の機械座標系に対する回転角度Δθ
がまる。
(b-3) Also, the angle θ that the first end surface ES forms with the predetermined shaft hole axis in the machine coordinate system is calculated using the following formula (%) (6). Now, since the intersection angle θ at which the first end surface ES intersects with the workpiece coordinate system predetermined axis
Gamaru.

以上によりワーク隅点P、、及びΔθがまってRAM1
7に記憶されれば、実際の加工において以下の通路制御
が行われる。尚、ワーク隅点P1をワーク座標系の原点
としたNCデータが作成されており、又該NCデータの
先頭部には座標系設定のNCデータ G50 Xξ Yl、; が挿入されているものとする。
As a result of the above, the workpiece corner points P, and Δθ are shifted and stored in RAM1.
7, the following path control will be performed in actual processing. It is assumed that NC data has been created with the workpiece corner point P1 as the origin of the workpiece coordinate system, and that NC data G50 Xξ Yl, ; for setting the coordinate system is inserted at the beginning of the NC data. .

(C−1)NCデータによる自動運転に先立って、マニ
ュアル運転(MDI運転)によりワイヤ電極をワークに
対して相対的に移動させて加工開始位置PS(第1図参
照)に位置決めする。
(C-1) Prior to automatic operation using NC data, the wire electrode is moved relative to the workpiece by manual operation (MDI operation) and positioned at the processing start position PS (see FIG. 1).

すなわち、ワイヤ電極をワーク隅点P、に位置決め後、
MDI装W20よりX方向へ(、Y方向へ看 の移動を
指令する。プロセッサ12は、MDI指令により次式 の演算を実行して、各軸方向(xM、Y0軸方向)の移
動量x’ 、y’をめ、これらx’ 、y’を用いて同
時2軸の制御でワイヤ電極を第1図(B)に示す加工開
始位置P8に位置決めする。尚、ΔθはRAM17に記
憶されているワーク座標系の機械座標系に対する回転角
である。
That is, after positioning the wire electrode at the workpiece corner point P,
The MDI device W20 commands movement in the X direction (and Y direction).The processor 12 executes the calculation of the following formula based on the MDI command, and calculates the amount of movement x' in each axis direction (xM, Y0 axis direction). , y', and using these x' and y', the wire electrode is positioned at the processing start position P8 shown in FIG. 1(B) by simultaneous two-axis control. Note that Δθ is stored in the RAM 17. It is the rotation angle of the workpiece coordinate system with respect to the machine coordinate system.

(c −2)ついで、操作盤11上の起動釦を押圧して
起動をかけると、プロセッサ12はNGCデータ取装置
21をしてNGテープ22から1ブロツクのNCデータ
を読み取る。
(c-2) Next, when the start button on the operation panel 11 is pressed to start up, the processor 12 reads one block of NC data from the NG tape 22 by using the NGC data acquisition device 21.

(c−3)プロセッサ12は制御プログラムの制御で読
み取ったNCデータが通路データであるかどうかを判別
する。
(c-3) The processor 12 determines whether the read NC data is path data under the control of the control program.

(c −4) N Cデータが通路データを含んでいな
ければプロセッサ12は通常のNC処理を実行し、該N
G処理実行後次のNCデータを読み取って、ステップ(
c −3)の処理を行う。
(c-4) If the N C data does not include path data, the processor 12 executes normal NC processing and
After executing the G process, read the next NC data and proceed to step (
Perform the process c-3).

(c−5)一方、NCデータが通路データを含んでいれ
ば、たとえばNCデータが直線通路を示すデータ GOIXx Yy ; であればプロセッサ12は次式 により、通路データを補正する。尚、XN yはNCC
デルより与えられるブ四ツクの終点位置座標値であり、
y′、y′は補正後の終点位置座標値である。又、NC
データが円弧通路を示すデータG02 (又ζよGO3
) Xx Yy Ii Jj;であれば(9)式に加え
て、次式 の演算を行って、円弧中心から円弧始点迄の距離データ
lz jをi′、y′に補正する。
(c-5) On the other hand, if the NC data includes path data, for example, if the NC data indicates a straight path GOIXx Yy ;, the processor 12 corrects the path data using the following equation. In addition, XN y is NCC
It is the coordinate value of the end point position of the block given by del,
y' and y' are the coordinate values of the end point position after correction. Also, NC
Data indicates a circular path G02 (also ζyo GO3
) Xx Yy Ii Jj; In addition to equation (9), the following equation is calculated to correct the distance data lz j from the center of the arc to the starting point of the arc to i', y'.

(c−6) シかる後、プロセッサは直線データであれ
ば(9)式により得られたx’ 、y’を用いて、まt
コ円弧データであれば(9)式及び(10)式により得
られたy′、y′、1′、y′を用いて通常の直線移動
あるいは円弧移動処理を行う。
(c-6) After calculating, if it is linear data, the processor uses x' and y' obtained from equation (9) to
If it is circular arc data, normal linear movement or circular arc movement processing is performed using y', y', 1', and y' obtained by equations (9) and (10).

(c −7) ステップ(c −6)における処理が終
了すればプロセッサは次のNCデータをNGデータ読取
装置21をして読み取らせ上述のステップ(c −3)
以降の処理を繰り返す。
(c-7) When the process in step (c-6) is completed, the processor causes the NG data reading device 21 to read the next NC data and performs the step (c-3) described above.
Repeat the following process.

(c −8) そして、NCテープ22よりプログラム
エンドを示すMコードMO2又はM3dが読み出されれ
ばワイヤ放電加工は終了する。以上によりワイヤ電極は
ワークに対して第8図実線に示す通路に沿って移動し、
ワーク座標系X、 −Y。
(c-8) Then, when the M code MO2 or M3d indicating the program end is read out from the NC tape 22, the wire electric discharge machining ends. As a result of the above, the wire electrode moves relative to the workpiece along the path shown by the solid line in Figure 8,
Work coordinate system X, -Y.

が機械座標系XM−YMに対して傾いていても基準穴に
対して正確な位置にワイヤ放電加工を行うことができる
Even if the hole is tilted with respect to the machine coordinate system XM-YM, wire electric discharge machining can be performed at an accurate position with respect to the reference hole.

尚、以上の説明では第2の端面ES (第1図参照)に
対して1つの端点Q、を検出して、該端点Q1から第1
の端面ES、を特定する直線に下した垂線の足をワーク
の隅点としてめた場合について説明したが以下の方法に
よりワーク隅点を検出してもよい。
In the above explanation, one end point Q is detected for the second end surface ES (see Fig. 1), and the first end point Q is detected from the end point Q1.
Although the case has been described in which the foot of the perpendicular line drawn to the straight line specifying the end surface ES is determined as the corner point of the workpiece, the corner point of the workpiece may be detected by the following method.

すなわち、第2の端面ESV(第1図(B)参照)に対
しても2つの端点Qi、Q2の位置座標値を検出して、
該2つの端点Q、(i=1.2)の位置座標値を用いて
第2の端面ES、を特定する第2の直線をめ、第1の端
面を特定する第1の直線と該第2の直線との交点′をワ
ーク隅点P、とするようにしてもよい。尚、第7図に示
すように第1、第2の直線の式を a x+b y=1 a x+b y=1 とすればワーク隅点P、の位置座標値(X、、Y)は次
式 %式%) ) で与えられる。そして、この方法でワークの隅点の位置
座標値を検出する場合には第1及び第2の直線がそれぞ
れ機械座標系所定軸xI、、YMと交差する交差角度を
め、その平均値を用いてワーク座標系の機械座標系に対
する回転角度をめることができる。
That is, the position coordinate values of the two end points Qi and Q2 are also detected for the second end surface ESV (see FIG. 1 (B)),
A second straight line that specifies the second end surface ES is drawn using the position coordinate values of the two end points Q (i=1.2), and a second straight line that specifies the first end surface and the second straight line that specifies the first end surface are 2 may be set as the workpiece corner point P. As shown in Fig. 7, if the equations of the first and second straight lines are a It is given by the % expression %) ). When detecting the position coordinate values of the corner points of the workpiece using this method, the intersecting angles at which the first and second straight lines intersect with the machine coordinate system predetermined axes xI, YM are determined, and the average value thereof is used. The rotation angle of the workpiece coordinate system with respect to the machine coordinate system can be determined by

又、以上の説明では2つの端点を用いて各直線式をめた
が、3以上の端点を検出し各端点の位置座標値を用いて
最小二乗法などの統計的手法により直線式をめるように
してもよい。
Also, in the above explanation, each linear equation was calculated using two endpoints, but it is also possible to detect three or more endpoints and use the position coordinate values of each endpoint to find the linear equation using a statistical method such as the method of least squares. You can do it like this.

〈発明の効果〉 以上説明したように、本発明によればワークの隅点を簡
単に検出することができ、該隅点とワーク座標系の機械
座標系に対する回転角とを用いてワークの加工開始位置
に正確にワイヤ電極を位置決めできると共に、ワーク上
の正確な位置に加工を実行することができる。
<Effects of the Invention> As explained above, according to the present invention, the corner points of the workpiece can be easily detected, and the workpiece can be machined using the corner points and the rotation angle of the workpiece coordinate system with respect to the machine coordinate system. The wire electrode can be accurately positioned at the starting position, and processing can be performed at an accurate position on the workpiece.

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

第1図は本発明の概略説明図、第2図は本発明を適用で
きるワイヤ放電加工機の外観図、第3図は本発明を実施
する装置のブロック図、第4図は本発明の処理の流れ図
、第5図は端点検出方法説明図、第6図及び第7図はワ
ークの隅点の座標値を演算する演算式説明図、第8図は
本発明の背景説明図である。 WK・・・ワーク、TBL・・・テーブルES、、ES
、・・・第1、第2の端面STH・・・加工開始穴、P
6・・・加工開始位置、Pl、Q、 −・一端点、xl
、l−Y、d・・・ワーク座標系、xM−Yl、l・・
・機械座標系 特許出願人 ファナック株式会社 代理人 弁理士 齋藤千幹 第1 図(A) 第1図(B) 第2図 −X□ 第6図 第7図 第8図
Fig. 1 is a schematic explanatory diagram of the present invention, Fig. 2 is an external view of a wire electrical discharge machine to which the present invention can be applied, Fig. 3 is a block diagram of a device implementing the present invention, and Fig. 4 is a processing according to the present invention. 5 is an explanatory diagram of the end point detection method, FIGS. 6 and 7 are explanatory diagrams of calculation formulas for calculating the coordinate values of the corner points of the workpiece, and FIG. 8 is an explanatory diagram of the background of the present invention. WK...work, TBL...table ES,, ES
,...first and second end surfaces STH...machining start hole, P
6... Machining start position, Pl, Q, - one end point, xl
, l-Y, d...work coordinate system, xM-Yl, l...
・Machine coordinate system patent applicant Fanuc Co., Ltd. Agent Patent attorney Chiki Saito Figure 1 (A) Figure 1 (B) Figure 2-X□ Figure 6 Figure 7 Figure 8

Claims (6)

【特許請求の範囲】[Claims] (1)数値制御データに基づいtワイヤ電極をワークに
対して相対的に移動させてワークに加工を施すワイヤ放
電加工機におけるワーク隅点検出方法において、隣接す
る2つのワーク端面のうち、第1の端面に対する2以上
の端点を検出し、該端点の位置座標値から該第1の端面
を特定する直線をめると共に、第2の端面化対して1つ
の端点を検出し、該端点から前記直線に下した垂線の足
をめ、該垂線の足をワーク隅点とするワイヤ放電加工機
におけるワーク隅点検出方法。
(1) In a workpiece corner point detection method in a wire electric discharge machine that processes a workpiece by moving a t-wire electrode relative to the workpiece based on numerical control data, Detect two or more end points for the end face, find a straight line specifying the first end face from the position coordinate values of the end points, detect one end point for the second end face, and calculate the line from the end point to the A method for detecting a workpiece corner point in a wire electrical discharge machine, in which the foot of a perpendicular drawn to a straight line is set as a workpiece corner point.
(2)前記隅点をワーク座標系における原点とする乙と
を特徴とする特許請求の範囲第(1)項記載のワイヤ放
電加工機におけるワーク隅点検出方法。
(2) A method for detecting a workpiece corner point in a wire electric discharge machine according to claim (1), characterized in that the corner point is set as the origin of the workpiece coordinate system.
(3)ワイヤ電極をワーク端面に向けて移動させ、ワ1
゛ヤ電極がワーク端面と短絡した時の位置データを用い
て端点位置を検出することを特徴とする特許請求の範囲
第(1)項または第(2)項記載のワイヤ放電加工機に
おけるワーク隅点検出方法。
(3) Move the wire electrode toward the end surface of the workpiece, and
A workpiece corner in a wire electric discharge machine according to claim 1 or 2, wherein the end point position is detected using position data when the wire electrode is short-circuited with the end surface of the workpiece. Point detection method.
(4)数値制御データに基づいてワイヤ電極をワークに
対して相対的に移動させてワークに加工を施すワイヤ放
電加工機におけるワーク隅点検出方法において、隣接す
る2つのワーク端面のうち、第1の端面に対する2以上
の端点を検出し、該端点の位置座標値から該第1の端面
を特定する第1の直線をめると共に、第2の端面に対し
て2以上の端点を検出し、該端点の位置座標値から第2
の端面を特定する第2の直線をめ、第1と第2の直線の
交点をワーク隅点とするワーク隅点検出方法。
(4) In a method for detecting a workpiece corner point in a wire electrical discharge machine that processes a workpiece by moving a wire electrode relative to the workpiece based on numerical control data, the first Detecting two or more end points with respect to the end face, finding a first straight line specifying the first end face from the position coordinate values of the end point, and detecting two or more end points with respect to the second end face, The second point is calculated from the position coordinate value of the end point.
A workpiece corner point detection method in which a second straight line that specifies an end face of the workpiece is defined, and the intersection of the first and second straight lines is defined as a workpiece corner point.
(5)前記隅点をワーク座標系における原点とすること
を特徴とする特許請求の範囲第(4)項記載のワイヤ放
電加工機におけるワーク隅点検出方法。
(5) A workpiece corner point detection method in a wire electric discharge machine according to claim (4), characterized in that the corner point is set as an origin in a workpiece coordinate system.
(6)ワイヤ電極をワーク端面に向けて移動させ、ワイ
ヤ電極がワーク端面と短絡した時の位置デ−タを用いて
端点位置を検出することを特徴とする特許請求の範囲第
(4)項または第(5)項記載のワイヤ放電加工機にお
けるワーク隅点検出方法。
(6) The wire electrode is moved toward the end surface of the workpiece, and the end point position is detected using position data when the wire electrode short-circuits with the end surface of the workpiece. Alternatively, the method for detecting a workpiece corner point in a wire electric discharge machine according to item (5).
JP11513384A 1984-06-05 1984-06-05 Detection of corner point for work in wire electric discharge machine Pending JPS60259327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11513384A JPS60259327A (en) 1984-06-05 1984-06-05 Detection of corner point for work in wire electric discharge machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11513384A JPS60259327A (en) 1984-06-05 1984-06-05 Detection of corner point for work in wire electric discharge machine

Publications (1)

Publication Number Publication Date
JPS60259327A true JPS60259327A (en) 1985-12-21

Family

ID=14655093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11513384A Pending JPS60259327A (en) 1984-06-05 1984-06-05 Detection of corner point for work in wire electric discharge machine

Country Status (1)

Country Link
JP (1) JPS60259327A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5444205A (en) * 1992-12-21 1995-08-22 Ag Fur Industrielle Elektronik Method of and apparatus for electro-erosive machining
JP2018015818A (en) * 2016-07-25 2018-02-01 ファナック株式会社 Wire electrical discharge machine and wire electrical discharge machining method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5444205A (en) * 1992-12-21 1995-08-22 Ag Fur Industrielle Elektronik Method of and apparatus for electro-erosive machining
JP2018015818A (en) * 2016-07-25 2018-02-01 ファナック株式会社 Wire electrical discharge machine and wire electrical discharge machining method
CN107649752A (en) * 2016-07-25 2018-02-02 发那科株式会社 Wire electric discharge machine and wire electric discharge machining method

Similar Documents

Publication Publication Date Title
JPH01178395A (en) Laser beam machine for three dimensional shape
US20120223055A1 (en) Wire-cut electric discharge machine having function of detecting upper surface of workpiece
US5095635A (en) Block for fixing the coordinate axes of material to be processed by an nc wire electro-spark processing machine
JPS60259327A (en) Detection of corner point for work in wire electric discharge machine
JP3257924B2 (en) Normal line detection method and apparatus for three-dimensional laser beam machine
JP2002001568A (en) Parameter setting method for laser beam machining head of nc control three-dimensional laser beam machine and nc control three-dimensional laser beam machine
JPH0349690B2 (en)
JP2768239B2 (en) Wire electric discharge machine
JPS58206316A (en) Discharge machining device
JP2581725B2 (en) Three-dimensional shape processing laser device
JPS60259325A (en) Detection of inclination angle of edge surface of work
JPS62102920A (en) Wire cut electric discharge machine
JPS6085829A (en) Electric discharge machining device
JPS61249222A (en) Automatic working system
JPS5839029B2 (en) Groove detection method
JPH0494883A (en) Method for controlling working by robot
JPH0468103B2 (en)
JPH0639860Y2 (en) Wire electric discharge machine
JPS6374555A (en) Numerically controlled machine tool having measuring function
JPH07110451B2 (en) Electrode machining electrode positioning method
JPH09295059A (en) Bending method by bending machine and bending machine using its method
JPS61257717A (en) Wire electric discharge machine
JPH066210B2 (en) Plate processing machine
KR950002094B1 (en) Method of measuring wire guide spans and directing wire electrode perpendicularly
JP2002035843A (en) Bending method and bending system