JPH0649264B2 - Machining control method for multi-face machining machine tool - Google Patents
Machining control method for multi-face machining machine toolInfo
- Publication number
- JPH0649264B2 JPH0649264B2 JP29777685A JP29777685A JPH0649264B2 JP H0649264 B2 JPH0649264 B2 JP H0649264B2 JP 29777685 A JP29777685 A JP 29777685A JP 29777685 A JP29777685 A JP 29777685A JP H0649264 B2 JPH0649264 B2 JP H0649264B2
- Authority
- JP
- Japan
- Prior art keywords
- machining
- origin
- machine
- work
- machining surface
- 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
Links
- 238000003754 machining Methods 0.000 title claims description 134
- 238000000034 method Methods 0.000 title claims description 9
- 238000007514 turning Methods 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 2
- 101000869488 Rhizobium radiobacter Aminoglycoside (3'') (9) adenylyltransferase Proteins 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Numerical Control (AREA)
Description
【発明の詳細な説明】 (a).産業上の利用分野 本発明は、多面加工工作機械において、実際の加工時に
各加工面におけるワーク原点の登録を行わなくともよ
い、多面加工工作機械における加工制御方法に関する。DETAILED DESCRIPTION OF THE INVENTION (a). BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a machining control method for a multi-face machining machine tool, which does not require registration of a work origin on each machining plane during actual machining.
(b).従来の技術 従来、テーブルの旋回を伴う加工を行う場合には、各加
工面毎に加工プログラムを作成した後に、最初のワーク
を加工する際に、工具の先端等の基準位置をワーク原点
に接触させる等の方法で、各加工面についてのワーク原
点を工作機械に登録する登録作業が必要であった。(b). Conventional technology Conventionally, when performing machining that involves turning the table, after creating a machining program for each machining surface, when machining the first workpiece, the reference position such as the tip of the tool contacts the workpiece origin. It was necessary to register the work origin for each machined surface in the machine tool by such a method.
(c).発明が解決しようとする問題点 しかし、これでは加工すべきワークが変化する度に、作
業者によるワーク原点の各加工面毎の登録作業が必要と
なり、極めて繁雑であるばかりか、最近の小量多品種生
産や加工作業の無人化の趨勢にも対応出来なくなる不都
合が有った。(c). However, this requires an operator to register the workpiece origin for each machining surface each time the workpiece to be machined changes, which is extremely complicated and requires a small amount of recent work. There was an inconvenience that we could not cope with the trend of unmanned production of many kinds of products and processing work.
本発明は、前述の欠点を解消すべく、最初のワークを加
工する際に、一つの基準点についての登録作業のみで、
加工面毎のワーク原点の登録作業が不要な、多面加工工
作機械における加工制御方法を提供することを目的とす
るものである。In order to eliminate the above-mentioned drawbacks, the present invention requires only a registration operation for one reference point when processing the first work piece.
An object of the present invention is to provide a machining control method in a multi-face machining machine tool that does not require the work of registering the work origin for each machining surface.
(d).問題点を解決するための手段 即ち、本発明は、加工上の基準となる基準点(SPT)
の機械原点(MZP)に対する機械座標値、第1加工面
(12a)が機械原点(MZP)と対向している場合
の、前記基準点(SPT)に対する第1加工面12aの
ワーク原点(WZP)の座標値(xS1、yS2、zS2)及
び、各加工面におけるワーク原点(WZP)の、前記第
1加工面のワーク原点(WZP)に対する座標値
(x12、y12……x1n、y1n、z1n)及び、各加工面を
機械原点(MZP)と対向させて加工を行う際に必要
な、前記第1加工面に対するテーブル(11)の回転角
度(α1、α2……αn)、更に各加工面のワーク原点
(WZP)を基準とした加工プログラム(SPR)を各
加工面について格納した第1のメモリ手段(8)を設け
ると共に、旋回中心(CT)の機械原点(MZP)に対
する機械座標値を格納した第2のメモリ手段(2)を設
け、各加工面の加工に際して、各加工面のワーク原点
(WZP)の旋回中心(CT)に対する位置を、前記第
1加工面(12a)のワーク原点(WZP)の、基準点
(SPT)に対する座標値及び、各加工面のワーク原点
の前記第1加工面のワーク原点に対する座標値、基準点
(SPT)の機械座標値及び旋回中心(CT)の機械座
標値から演算すると共に、該演算されたワーク原点(W
ZP)の旋回中心(CT)に対する位置から、加工すべ
き加工面が前記回転角度α1、α2……αnだけ旋回され
機械原点と対向した際の、ワーク原点(WZP)の旋回
中心(CT)に対する位置を演算し、更に当該演算され
たワーク原点(WZP)位置に基づいて、対応する各加
工面についての加工プログラム(SPR)の座標値をテ
ーブル(11)旋回後の機械座標値に変換し、当該変換
された機械座標値に基づいて各加工面(12)について
の加工を行うようにして構成される。(d). Means for Solving the Problems That is, according to the present invention, a reference point (SPT) which is a reference for processing is provided.
Machine coordinate values for the machine origin (MZP) of the first work surface (a) and the work origin (WZP) of the first work surface 12a for the reference point (SPT) when the first work surface (12a) faces the machine origin (MZP). Coordinate values (x S1 , y S2 , z S2 ) and coordinate values of the workpiece origin (WZP) on each machining surface with respect to the workpiece origin (WZP) of the first machining surface (x 12 , y 12 ... x 1n , Y 1n , z 1n ) and the rotation angle (α 1 , α 2 ... Of the table (11) with respect to the first machining surface, which is necessary when machining is performed with each machining surface facing the machine origin (MZP). ... alpha n), further provided with a workpiece origin of each processing surface (the first memory means (8 machining program relative to the WZP) a (SPR) stored for each processing surface), the machine turning center (CT) Stores the machine coordinate value for the origin (MZP) A second memory means (2) is provided, and when machining each machining surface, the position of the machining origin (WZP) of each machining surface with respect to the turning center (CT) is set to the workpiece origin (WZP) of the first machining surface (12a). ), The coordinate value with respect to the reference point (SPT), the coordinate value of the work origin of each machining surface with respect to the work origin of the first machining surface, the machine coordinate value of the reference point (SPT), and the machine coordinate of the turning center (CT). The value is calculated from the value and the calculated work origin (W
From a position with respect to the turning center of ZP) (CT), at which the machined surface to be processed is facing the only pivoted mechanical home the rotation angle α 1, α 2 ...... α n , the turning center of the workpiece zero (WZP) ( CT), and based on the calculated work origin (WZP) position, the coordinate value of the machining program (SPR) for each corresponding machining surface is used as the machine coordinate value after turning in the table (11). It is configured such that each processing surface (12) is converted and processing is performed based on the converted machine coordinate value.
なお、括弧内の番号等は、図面における対応する要素を
示す、便宜的なものであり、従って、本記述は図面上の
記載に限定拘束されるものではない。以下の「(e).作
用」の欄についても同様である。It should be noted that the numbers in parentheses indicate the corresponding elements in the drawings for the sake of convenience, and thus the present description is not limited to the description in the drawings. The same applies to the section "(e). Action" below.
(e).作用 上記した構成により、本発明は、加工に際して、機械原
点(MZP)に対する基準点(SPT)の座標値を測定
して、第1メモリ手段(8)中に登録しておくことによ
り、テーブル旋回後の各加工面のワーク原点(WZP)
の機械座標値が演算され、該機械座標値が演算されたワ
ーク原点(WZP)に基づいて加工プログラム(SP
R)が実行されるように作用する。(e). Action With the above-described configuration, the present invention measures the coordinate value of the reference point (SPT) with respect to the machine origin (MZP) during machining, and registers it in the first memory means (8) to turn the table. Work origin of each subsequent machining surface (WZP)
Machine coordinate values are calculated, and based on the workpiece origin (WZP) for which the machine coordinate values are calculated, the machining program (SP
R) acts to be performed.
(f).実施例 以下、本発明の実施例を図面に基づき説明する。(f). Embodiment An embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明による加工制御方法の一実施例が適用さ
れた多面加工工作機械の一例を示す制御ブロック図、 第2図は加工すべきワークの一例を示す図、 第3図は加工プログラムの一例を示す図、 第4図は各加工面の位置関係を示す平面図である。FIG. 1 is a control block diagram showing an example of a multi-face machining machine tool to which an embodiment of a machining control method according to the present invention is applied, FIG. 2 is a diagram showing an example of a workpiece to be machined, and FIG. 3 is a machining program. FIG. 4 is a plan view showing the positional relationship between the processing surfaces.
多面加工工作機械1は、第1図に示すように、主制御部
2を有しており、主制御部2にはディスプレィ等の表示
部3、キーボード等の入力部5、実行制御部6、機械座
標系変換演算部4、加工プログラムメモリ8等が接続し
ている。なお、実行制御部6には多面加工工作機械1の
各制御軸を駆動するための駆動モータ7が複数個接続し
ている。As shown in FIG. 1, the multi-face machining machine tool 1 has a main control unit 2, and the main control unit 2 has a display unit 3 such as a display, an input unit 5 such as a keyboard, an execution control unit 6, The machine coordinate system conversion calculation unit 4, the machining program memory 8 and the like are connected. The execution control unit 6 is connected to a plurality of drive motors 7 for driving each control axis of the multi-face machining machine tool 1.
また、多面加工工作機械1は、第2図に示すように、工
具9を回転自在に支持する主軸10を有しており主軸1
0は第2図上下方向、即ちy軸方向に移動駆動自在に設
けられている。主軸10の、第2図右方にはテーブル1
1が設けられており、テーブル10はX及びZ軸方向に
移動自在及び、旋回中心CTを中心にして矢印A、B方
向に旋回自在に設けられている。テーブル11上にはワ
ーク12が搭載されており、ワーク12は、略長方体の
形状を有している。ワーク12には、4面の加工面が第
1加工面12a、第2加工面12b、第3加工面12
c、第4加工面12dとして設定されており、各加工面
12a、12b、12c、12dには、該加工面を加工
する上での基準となるワーク原点WZPが設定されてい
る。なお、第1加工面12aは、図からも明らかなよう
に、段差を有している。As shown in FIG. 2, the multi-face machining machine tool 1 has a spindle 10 that rotatably supports a tool 9.
0 is provided so as to be movable in the vertical direction of FIG. 2, that is, in the y-axis direction. A table 1 is located on the right side of FIG.
1 is provided, and the table 10 is provided so as to be movable in the X-axis and Z-axis directions and to be rotatable in the directions of arrows A and B around the swing center CT. A work 12 is mounted on the table 11, and the work 12 has a substantially rectangular shape. The work 12 has four machining surfaces, a first machining surface 12a, a second machining surface 12b, and a third machining surface 12.
c and the fourth machining surface 12d, and the respective workpiece surfaces 12a, 12b, 12c, and 12d are set with the workpiece origin WZP that serves as a reference for machining the machining surface. The first processed surface 12a has a step, as is clear from the figure.
多面加工工作機械1は、以上のような構成を有するの
で、ワーク12の加工に際しては、主制御部2は加工プ
ログラムメモリ8から、当該ワーク12に関する加工プ
ログラムPROを読み出す。加工プログラムPROに
は、第2図及び第3図に示すように、機械原点MZPか
ら見たワーク12の基準点SPTの機械座標値XA1、
YA1、ZA1及び該基準点SPTが設けられた加工面
のテーブルの旋回角度B(該加工面をZ軸に対して垂直
に位置させた際の、テーブル11の回転角度)を格納す
るブロックCD1が最初に有る。従って、作業者は、テ
ーブル11をZ、X軸方向に適宜、移動させて、工具9
の刃先等を基準点SPTに接触させて、該基準点SPT
の機械原点MZPに対する位置を測定し、その座標値X
A1、YA1、ZA1を、ブロックCD1中の所定のア
ドレスに第3図に示すように、格納する。基準点SPT
は、第2図に示すように、通常、ワーク12の複数の加
工面における基準となる面、即ち第1加工面12aのワ
ーク原点WZPに一致した形で設けられるが、必ずしも
そうでなくともよいことは勿論である。Since the multi-face machining machine tool 1 has the above-described configuration, when machining the workpiece 12, the main control unit 2 reads the machining program PRO for the workpiece 12 from the machining program memory 8. In the machining program PRO, as shown in FIGS. 2 and 3, the machine coordinate value XA1 of the reference point SPT of the workpiece 12 viewed from the machine origin MZP,
The block CD1 storing the turning angle B of the table of the machining surface provided with YA1, ZA1 and the reference point SPT (the rotation angle of the table 11 when the machining surface is positioned perpendicular to the Z axis) is First there is. Therefore, the operator appropriately moves the table 11 in the Z- and X-axis directions to make the tool 9
The edge of the blade is brought into contact with the reference point SPT, and the reference point SPT
Position of the machine relative to the machine origin MZP and measure its coordinate value X
As shown in FIG. 3, A1, YA1, and ZA1 are stored at predetermined addresses in the block CD1. Reference point SPT
As shown in FIG. 2, is normally provided in a form corresponding to the reference surface among the plurality of processing surfaces of the work 12, that is, the work origin WZP of the first processing surface 12a, but this is not always necessary. Of course.
加工プログラムPROの次のブロックCD3には、第1
加工面のワーク原点WZPの基準点SPTに対する座標
値(xS1、yS1、zS1)及び第1加工面をZ軸に対して
垂直に位置させた際のテーブル11の回転角度α1が格
納されており、更に次のブロックCD2には、第1加工
面12a以外の各加工面12b、12c、12dに関す
るワーク原点WZP(ワーク原点WZPは、各加工面1
2b、12c、12dについて1個設けられている)
の、第1加工面12aのワーク原点WZPに対する座標
値(x12、y12、z12……x1n、y1n、z1n)が設定さ
れている(第4図参照)。更にブロックCD2には各加
工面のテーブル11の回転角度α2……αn(各加工面を
Z軸に対して垂直に位置させた際の、テーブル11の回
転角度)が設定されている。これ等のデータは、第3図
に示すように、各加工面12毎に、「M−OFS」なる
コマンドを先頭に1ブロックづつ指定されており、第3
図に示す場合には、図中上方から、第1加工面12a、
第2加工面……、第n加工面に関するデータの順に格納
されている。また、各ブロックCD2、CD3では、当
該ブロックCD2、CD3に対応した加工面について、
当該加工面を加工するためのワーク番号WNOが格納さ
れている(即ち、第1加工面12aのワーク番号WNO
は1、第2加工面12bのワーク番号WNOは39、第
n加工面12nのワーク番号WNOは902である。) 主制御部2は、加工プログラムPROを読み出したとこ
ろで、ブロックCD1に示された、基準点SPTの機械
座標値(XA1、YA1、ZA1)と、当該基準点SP
Tを基準とした第1加工面12aのワーク原点WZPの
座標値(xS1、yS1、zS1)及び第1加工面12aのワ
ーク原点WZPに対する各加工面12b、12c、12
dのワーク原点WZPの座標値(x12、y12、z12……
x1n、y1n、z1n)から、第1加工面が機械原点MZP
に対向している際の、テーブル11の旋回中心CTを中
心とした各加工面のワーク原点の座標を、座標系変換演
算部4に演算させる。旋回中心CTの機械原点MZPに
対する座標値XB、YB、ZB(第4図参照)はパラメ
ータとして予め主制御部2内の適宜なメモリ内に設定さ
れているので、それ等の演算は容易に行われる。即ち、
第1加工面のワーク原点WZPの位置は、テーブルの旋
回中心CTからの座標をxa11、ya11、za11とし
て、以下の(1)〜(3)式で表わされる。In the next block CD3 of the machining program PRO, the first
The coordinate value (x S1 , y S1 , z S1 ) of the workpiece origin WZP of the machined surface with respect to the reference point SPT and the rotation angle α 1 of the table 11 when the first machined surface is positioned perpendicular to the Z axis are stored. Further, in the next block CD2, the workpiece origin WZP relating to the respective machining surfaces 12b, 12c, 12d other than the first machining surface 12a (the workpiece origin WZP is the machining surface 1).
(One is provided for 2b, 12c, 12d)
The coordinate values (x 12 , y 12 , z 12 ... X 1n , y 1n , z 1n ) of the first machining surface 12a with respect to the workpiece origin WZP are set (see FIG. 4). Further, in the block CD2, the rotation angles α 2 ... α n of the table 11 of each machining surface (the rotation angle of the table 11 when each machining surface is positioned perpendicular to the Z axis) are set. As shown in FIG. 3, these data are designated block by block with a command “M-OFS” at the beginning for each machining surface 12.
In the case shown in the figure, from the upper side in the figure, the first processed surface 12a,
Second machining surface ..., Data regarding the nth machining surface are stored in this order. Further, in each of the blocks CD2 and CD3, with respect to the processed surface corresponding to the blocks CD2 and CD3,
The work number WNO for machining the machining surface is stored (that is, the work number WNO of the first machining surface 12a).
Is 1, the work number WNO of the second machining surface 12b is 39, and the work number WNO of the nth machining surface 12n is 902. The main controller 2 reads out the machining program PRO, and reads the machine coordinate values (XA1, YA1, ZA1) of the reference point SPT shown in the block CD1 and the reference point SP.
Coordinate values (x S1 , y S1 , z S1 ) of the work origin WZP of the first machining surface 12a based on T and the machining surfaces 12b, 12c, 12 with respect to the work origin WZP of the first machining surface 12a.
Coordinate value of the workpiece origin WZP of d (x 12 , y 12 , z 12 ...
x 1n , y 1n , z 1n ), the first machined surface is the machine origin MZP
The coordinate system conversion calculation unit 4 calculates the coordinates of the work origin of each machining surface with the turning center CT of the table 11 as the center when facing each other. Since the coordinate values XB, YB, ZB (see FIG. 4) of the turning center CT with respect to the machine origin MZP are set as parameters in advance in an appropriate memory in the main control unit 2, such calculations can be easily performed. Be seen. That is,
The position of the workpiece origin WZP on the first machining surface is represented by the following equations (1) to (3), where the coordinates from the turning center CT of the table are xa 11 , ya 11 , and za 11 .
xa11=xS1+XA1−XB ……(1) ya11=yS1+YA1−YB ……(2) za11=zS1+ZA1−ZB ……(3) また、テーブル11の旋回中心CTを基準とした第2面
のワーク原点WZPの座標をxa12、ya12、za12と
すると、それ等は以下の(4)〜(6)式で表わされる。 xa 11 = x S1 + XA1- XB ...... (1) ya 11 = y S1 + YA1-YB ...... (2) za 11 = z S1 + ZA1-ZB ...... (3) Further, a reference to the turning center CT of the table 11 When the coordinates of the workpiece origin WZP on the second surface are xa 12 , ya 12 , and za 12 , these are expressed by the following equations (4) to (6).
xa12=xa11+x12 ……(4) ya12=ya11+y12 ……(5) za12=za11+z12 ……(6) ここで、(1)+(3)式を(4)〜(6)式に代入して、 xa12=xS1+XA1−XB+x12 ……(7) ya12=yS1+YA1−YB+x12 ……(8) za12=zS1+ZA1−ZB+x12 ……(9) となる。xa 12 = xa 11 + x 12 (4) ya 12 = ya 11 + y 12 (5) za 12 = za 11 + z 12 (6) where (1) + (3) is changed to (4) ) is substituted to (6), xa 12 = x S1 + XA1 -XB + x 12 ...... (7) ya 12 = y S1 + YA1-YB + x 12 ...... (8) za 12 = z S1 + ZA1-ZB + x 12 ...... It becomes (9).
なお、第n加工面についてのワーク原点WZPの、旋回
中心のCTに対する座標をxa1n、ya1n、za1nとす
ると、 xa1n=xS1+XA1−XB+x1n ……(10) ya1n=yS1+YA1−YB+y1n ……(11) za1n=zS1+ZA1−ZB+x1n ……(12) となる。When the coordinates of the workpiece origin WZP on the n-th machined surface with respect to the CT of the turning center are xa 1n , ya 1n , and za 1n , xa 1n = x S1 + XA1 −XB + x 1n (10) ya 1n = y S1 + YA1-YB + y 1n ...... (11) za 1n = z S1 + ZA1-ZB + x 1n ...... becomes (12).
こうして、第1加工面12aが機械原点MZPに対向し
ている際の、各加工面のワーク原点WZPの旋回中心C
Tを基準にした座標値が演算されたところで、主制御部
2は、加工プログラムPROの第1加工面12aに関す
る加工を実行制御部6を介して行う。第1加工面12a
を加工する加工プログラムは、加工プログラムPRO中
の対応するブロックCD3は、ワーク番号WNOで示さ
れているので、主制御部2は当該ブロックCD3中で表
示された(ここでは、ワーク番号WNOが1が加工プロ
グラム)加工プログラムSPRを、加工プログラムメモ
リ8中から読み出して、実行する。Thus, the turning center C of the workpiece origin WZP of each machining surface when the first machining surface 12a faces the machine origin MZP.
When the coordinate value based on T is calculated, the main control unit 2 performs the machining on the first machining surface 12a of the machining program PRO via the execution control unit 6. First processed surface 12a
In the machining program for machining, since the corresponding block CD3 in the machining program PRO is indicated by the work number WNO, the main control unit 2 is displayed in the block CD3 (here, the work number WNO is 1). The machining program SPR is read from the machining program memory 8 and executed.
この際、第1加工面12aは、既に所定の加工位置(加
工面12aと機械原点MZPが対向する位置)に位置決
めされているので、テーブル11は何ら回転することな
く直ちに所定の加工を実行することが出来る。加工プロ
グラムSPRを実行する場合、該加工プログラムSPR
で設定されたワーク原点WZPの機械座標値(xw10、
yw10、zw10)は、 xw10=xS1+XA1 ……(12) yw10=yS1+YA1 ……(13) zw10=zS1+ZA1 ……(14) となる。従って、第1加工面12aの、ワーク原点WZ
Pを基準に表示された加工プログラムSPR中の座標値
(xw1m、yw1m、zw1m)は、機械原点MZPを基準
にした機械座標値(XW1m、YW1m、ZW1m)で、 XW1m=xw1m+XA1+xS1 ……(15) YW1m=yw1m+YA1+yS1 ……(16) ZW1m=zw1m+ZA1+zS1 ……(17) となり、主制御部2は演算部4に加工プログラムSPR
で指示されたワーク原点WZPを基準にした座標値(x
w1m、yw1m、zw1m)を、機械原点MZPを基準にし
た機械座標値(XW1m、YW1m、ZW1m)に変換演算さ
せ、該演算された機械座標値に基づいて実行制御部6に
その実行を指令する。At this time, since the first machining surface 12a is already positioned at the predetermined machining position (the position where the machining surface 12a and the machine origin MZP face each other), the table 11 immediately performs the predetermined machining without any rotation. You can When executing the machining program SPR, the machining program SPR
Machine coordinate value of workpiece origin WZP (xw 10 ,
yw 10, zw 10) becomes xw 10 = x S1 + XA1 ...... (12) yw 10 = y S1 + YA1 ...... (13) zw 10 = z S1 + ZA1 ...... (14). Therefore, the workpiece origin WZ of the first machining surface 12a
The coordinate values (xw 1m , yw 1m , zw 1m ) in the machining program SPR displayed based on P are machine coordinate values (XW 1m , YW 1m , ZW 1m ) based on the machine origin MZP, and XW 1m = Xw 1m + XA1 + x S1 (15) YW 1m = yw 1m + YA1 + y S1 (16) ZW 1m = zw 1m + ZA1 + z S1 (17) The main controller 2 causes the processing unit 4 to process the program SPR.
Coordinate values (x
w 1m , yw 1m , zw 1m ) is converted into machine coordinate values (XW 1m , YW 1m , ZW 1m ) based on the machine origin MZP, and the execution controller 6 is operated based on the calculated machine coordinate values. To execute it.
第1加工面12aの、加工プログラムSPRによる加工
が終了し、次にテーブル11をa2度回転させて、第2
加工面12bと機械原点MZPを対向させ、その状態で
該第2加工面12bに対して加工を行おうとした場合、
主制御部2は演算部4に第2加工面12bのワーク原点
WZPの、旋回中心CTを基準とした座標値(x
w′20、yw′20、zw′20)を演算させる。テーブル
11は第1加工面12aから角度α2だけ旋回している
ので、 xw′20=xa12・COSα2+za12・SINα2 ……(18) yw′20=ya12 ……(19) zw′20=xa12・SINα2+za12・COSα2 ……(20) となる。従って、ワーク原点WZPの機械座標値(xw
20、yw20、zw20)は、 xw20=XB+xw′20 ……(a) yw20=YB+yw′20 ……(b) zw20=ZB+zw′20 ……(c) となる。The machining of the first machining surface 12a by the machining program SPR is completed, and then the table 11 is rotated by a 2 degrees to make the second machining
When the machined surface 12b and the machine origin MZP are opposed to each other, and the second machined surface 12b is machined in this state,
The main control unit 2 tells the calculation unit 4 the coordinate value (x of the workpiece origin WZP of the second machining surface 12b based on the turning center CT).
w '20, yw' 20, zw '20) is computed to. Since the table 11 is rotated by the angle α 2 from the first machining surface 12a, xw ′ 20 = xa 12 · COSα 2 + za 12 · SINα 2 …… (18) yw ′ 20 = ya 12 …… (19) zw ′ 20 = xa 12 · SINα 2 + za 12 · COSα 2 (20). Therefore, the machine coordinate value of the workpiece origin WZP (xw
(20 , yw 20 , zw 20 ), xw 20 = XB + xw ′ 20 (a) yw 20 = YB + yw ′ 20 (b) zw 20 = ZB + zw ′ 20 (c)
従って、第2加工面12bにおけるワーク原点WZPを
基準にして表示された、加工プログラムSPR(第3図
において、ワーク番号WNOが39に対応する加工プロ
グラムSPR)中の座標値(xw2m、yw2m、zw2m)
は、機械原点MZPを基準とした機械座標系において、
座標値(XW2m、YW2m、ZW2m)で表わされる。Therefore, the coordinate values (xw 2m , yw 2m ) in the machining program SPR (the machining program SPR corresponding to the work number WNO of 39 in FIG. 3) displayed on the basis of the workpiece origin WZP on the second machining surface 12b. , Zw 2m )
Is in the machine coordinate system based on the machine origin MZP,
It is represented by coordinate values (XW 2m , YW 2m , ZW 2m ).
XW2m=xw2m+xw20 ……(d) YW2m=yw2m+yw20 ……(e) ZW2m=zw2m+zw20 ……(f) 即ち、 XW2m=xw2m+XB+xa12・COSα2+za12・SINα2 …
…(g) YW2m=yw2m+YB+ya12 ……(h) ZW2m=zw2m+ZB+za12・COSα2+xa12・SINα2 …
…(i) こうして演算部4により演算変換された機械座標値に基
づいて実行制御部6は第2加工面に対する加工プログラ
ムSPRに基づく加工を実行する。XW 2m = xw 2m + xw 20 ...... (d) YW 2m = yw 2m + yw 20 ...... (e) ZW 2m = zw 2m + zw 20 ...... (f) That is, XW 2m = xw 2m + XB + xa 12・ COSα 2 + za 12・ SINα 2 …
… (G) YW 2m = yw 2m + YB + ya 12 …… (h) ZW 2m = zw 2m + ZB + za 12・ COSα 2 + xa 12・ SINα 2 ….
(I) Based on the machine coordinate values arithmetically converted by the arithmetic unit 4, the execution control unit 6 executes machining based on the machining program SPR for the second machining surface.
次に、主制御部2が第n加工面についての加工を行う際
には、第n面についての加工プログラムSPR内の座標
値(xwnm、ywnm、zwnm)は、演算部4により機械
座標系における機械座標値(XWnm、YWnm、ZWnm)
に変換演算されて、実行される。Next, when the main control unit 2 performs machining on the n-th machining surface, the coordinate values (xw nm , yw nm , zw nm ) in the machining program SPR for the n-th surface are calculated by the arithmetic unit 4 by the machine unit 4. Machine coordinate values in the coordinate system (XW nm , YW nm , ZW nm )
Is calculated and executed.
XWnm=xwnm+XB+xain・COSαn+zain・SINαn
……(j) YWnm=ywnm+YB+yain ……(k) ZWnm=zwnm+ZB+zain・COSαn−xain・SINαn
……(l) こうして、各加工面についての加工プログラムSPR
は、演算部4内で、テーブル11の旋回角度量に対応し
た形で座標変換がなされ、実行制御部6により実行され
てゆく。XW nm = xw nm + XB + xa in・ COSα n + za in・ SINα n
…… (j) YW nm = yw nm + YB + ya in …… (k) ZW nm = zw nm + ZB + za in・ COSα n −xa in・ SINα n
…… (l) Thus, the machining program SPR for each machining surface
Is subjected to coordinate conversion in the arithmetic unit 4 in a form corresponding to the turning angle amount of the table 11, and is executed by the execution control unit 6.
なお、上述の実施例は、加工プログラムPRO中で、各
加工面12a、12b、12c、12dを加工する加工
プログラムSPRをワーク番号WNOで指定し、当該ワ
ーク番号WNOに対応した加工プログラムSPRをサブ
プログラムとして呼び出して実行した場合について述べ
たが、上記した方法の他に、加工プログラムPRO中
に、直接加工プログラムSPRを格納した形でもよいこ
とは勿論である。In the above-described embodiment, the machining program SPR for machining each machining surface 12a, 12b, 12c, 12d is designated by the work number WNO in the machining program PRO, and the machining program SPR corresponding to the work number WNO is designated as a sub-program. The case where the program is called and executed as a program has been described, but it goes without saying that the machining program SPR may be directly stored in the machining program PRO in addition to the above method.
(g).発明の効果 以上、説明したように、本発明によれば、加工上の基準
となる基準点SPTの機械原点MZPに対する機械座標
値、第1加工面が機械原点MZPと対向している場合
の、前記基準点SPTに対する第1加工面12aのワー
ク原点WZPの座標値(xS1、yS1、zS1)及び各加工
面におけるワーク原点WZPの、前記第1加工面のワー
ク原点に対する座標値(x12、y12、z12……x1n、y
1n、z1n)及び、各加工面を機械原点MZPと対向させ
て加工を行う際に必要な、テーブルの11の回転角度α
1、α2……αn、更に各加工面のワーク原点WZPを基
準とした加工プログラムSPRを各加工面について格納
した加工プログラムメモリ8等の第1のメモリ手段、旋
回中心CTの機械原点MZPに対する機械座標値を格納
した主制御部2等の第2のメモリ手段を設け、各加工面
の加工に際して、各加工面のワーク原点WZPの旋回中
心CTに対する位置を、前記第1加工面12aのワーク
原点WZPの、基準点SPTに対する座標値及び、各加
工面のワーク原点の、前記第1加工面12aのワーク原
点WZPに対する座標値、基準点SPTの機械座標値及
び旋回中心CTの機械座標値MCVから演算すると共
に、該演算されたワーク原点WZPの旋回中心CTに対
する位置から、加工すべき加工面が前記回転角度α1、
α2……αnだけ旋回され機械原点MZPと対向した際
の、ワーク原点WZPの旋回中心CTに対する位置を演
算し、更に当該演算されたワーク原点WZP位置に基づ
いて、対応する各加工面についての加工プログラムSP
Rの座標値をテーブル11旋回後の機械座標値に変換
し、当該変換された機械座標値に基づいて各加工面12
についての加工を行うようにして構成したので、加工に
際して、作業者は機械原点MZPに対する基準点SPT
の座標値XA1、YA1、ZA1を測定して、第1のメ
モリ手段に登録することにより、テーブル11旋回後の
各加工面のワーク原点WZPの機械座標値は直ちに演算
され、該機械座標値が演算されたワーク原点WZPに基
づいて加工プログラムSPRが実行されるので、ワーク
を実際に加工する際に行っていた、作業者によるワーク
原点WZPの各加工面毎の登録作業を基準点SPTにつ
いてのみ行えばよくなり、小量多品種生産や加工作業の
無人化等の趨勢にも的確に対応することが出来る。(g). EFFECTS OF THE INVENTION As described above, according to the present invention, the machine coordinate value of the reference point SPT, which is the reference for processing, with respect to the machine origin MZP, and the case where the first machining surface faces the machine origin MZP, Coordinate values (x S1 , y S1 , z S1 ) of the workpiece origin WZP of the first machining surface 12a with respect to the reference point SPT and coordinate values of the workpiece origin WZP of each machining surface with respect to the workpiece origin of the first machining surface (x 12 , y 12 , z 12 ... x 1n , y
1n , z 1n ) and 11 rotation angles α of the table, which are required when machining is performed with each machining surface facing the machine origin MZP.
1 , α 2 ...... α n , a first memory means such as a machining program memory 8 storing a machining program SPR based on the workpiece origin WZP of each machining surface for each machining surface, and a machine origin MZP of the turning center CT. The second memory means such as the main control unit 2 storing the machine coordinate value for the machining center is provided, and when machining each machining plane, the position of each machining plane with respect to the turning center CT of the work origin WZP is set on the first machining plane 12a. Coordinate values of the workpiece origin WZP with respect to the reference point SPT, coordinate values of the workpiece origin of each machining surface with respect to the workpiece origin WZP of the first machining surface 12a, mechanical coordinate values of the reference point SPT, and mechanical coordinate values of the turning center CT. The calculated surface is calculated from MCV, and from the calculated position of the workpiece origin WZP with respect to the turning center CT, the processing surface to be processed is the rotation angle α 1 ,
When the workpiece is rotated by α 2 ... α n and faces the machine origin MZP, the position of the workpiece origin WZP with respect to the swing center CT is calculated, and based on the calculated workpiece origin WZP position, the corresponding machining surface is calculated. Processing program SP
The coordinate value of R is converted into the machine coordinate value after turning of the table 11, and each machining surface 12 is converted based on the converted machine coordinate value.
Since it is configured so that the machining is performed on the machine origin, at the time of machining, the worker does not operate the reference point SPT with respect to the machine origin MZP.
By measuring the coordinate values XA1, YA1, ZA1 of the above and registering them in the first memory means, the machine coordinate value of the workpiece origin WZP of each machining surface after the turning of the table 11 is immediately calculated, and the machine coordinate values are calculated. Since the machining program SPR is executed based on the calculated work origin WZP, the operator performs the registration work for each machining surface of the work origin WZP, which was performed when actually machining the work, only for the reference point SPT. It is better to do it, and it is possible to accurately respond to trends such as small-quantity, high-mix production and unmanned processing work.
なお、第1及び第2のメモリ手段中に格納される各種デ
ータのメモリ素子内での可能態様はどのようなものでも
よく、同一素子内へ格納されていても、複数の素子に分
散した形で格納されていてもよい。It should be noted that the data elements stored in the first and second memory means may have any form in the memory element, and even if they are stored in the same element, they are dispersed in a plurality of elements. May be stored in.
第1図は本発明による加工制御方法の一実施例が適用さ
れた多面加工工作機械の一例を示す制御ブロック図、 第2図は加工すべきワークの一例を示す図、 第3図は加工プログラムの一例を示す図、 第4図は各加工面の位置関係を示す平面図である。 1……多面加工工作機械 2……メモリ手段(主制御部) 8……メモリ手段(加工プログラムメモリ) 11……テーブル 12……ワーク 12a……第1加工面(加工面) 12b、12c、12d……加工面 MZP……機械原点 SPT……基準点 WZP……ワーク原点 SPR、PRO……加工プログラム CT……旋回中心FIG. 1 is a control block diagram showing an example of a multi-face machining machine tool to which an embodiment of a machining control method according to the present invention is applied, FIG. 2 is a diagram showing an example of a workpiece to be machined, and FIG. 3 is a machining program. FIG. 4 is a plan view showing the positional relationship between the processing surfaces. 1 ... Multi-face machining machine tool 2 ... Memory means (main control unit) 8 ... Memory means (machining program memory) 11 ... Table 12 ... Work 12a ... First machining surface (machining surface) 12b, 12c, 12d …… Machining surface MZP …… Machine origin SPT …… Reference point WZP …… Work origin SPR, PRO …… Machining program CT …… Rotation center
Claims (1)
に、複数の加工面が設定されたワークを搭載し、加工に
際しては、前記テーブルを旋回させて、機械原点に加工
すべきワークの加工面を対向させた形で加工を行う多面
加工工作機械において、 加工上の基準となる基準点の機械原点に対する機械座標
値、第1加工面が機械原点と対向している場合の、前記
基準点に対する第1加工面のワーク原点の座標値及び、
各加工面におけるワーク原点の、前記第1加工面のワー
ク原点に対する座標値及び、各加工面を機械原点と対向
させて加工を行う際に必要な、テーブルの回転角度、更
に各加工面のワーク原点を基準とした加工プログラムを
各加工面について格納した第1のメモリ手段を設けると
共に、 旋回中心の機械原点に対する機械座標値を格納した第2
のメモリ手段を設け、 各加工面の加工に際して、各加工面のワーク原点の旋回
中心に対する位置を、前記第1加工面のワーク原点の、
基準点に対する座標値及び、各加工面のワーク原点の、
前記第1加工面のワーク原点に対する座標値、基準点の
機械座標値及び旋回中心の機械座標値から演算すると共
に、 該演算されたワーク原点の旋回中心に対する位置から、
加工すべき加工面が前記回転角度だけ旋回された機械原
点と対向した際の、ワーク原点の旋回中心に対する位置
を演算し、 更に当該演算されたワーク原点位置に基づいて、対応す
る各加工面についての加工プログラムの座標値をテーブ
ル旋回後の機械座標値に変換し、 当該変換された機械座標値に基づいて各加工面について
の加工を行うようにして構成した多面加工工作機械にお
ける加工制御方法。Claims: 1. A table having a rotatable table, on which a workpiece having a plurality of machining surfaces is set, is mounted. When machining, the table is swiveled to form a workpiece to be machined to the machine origin. In a multi-sided machine tool that performs machining with the machining surfaces facing each other, the machine coordinate value for the machine origin of the reference point that serves as the machining reference, the reference when the first machining surface faces the machine origin Coordinate value of the work origin of the first machining surface with respect to the point, and
Coordinate values of the work origin on each machining surface with respect to the work origin of the first machining surface, the rotation angle of the table necessary for machining with each machining surface facing the machine origin, and the workpiece on each machining surface. A first memory means for storing a machining program based on the origin for each machining surface is provided, and a second memory means for storing the machine coordinate value with respect to the machine origin of the turning center.
Is provided, the position of the work origin of each work surface with respect to the turning center is set to the position of the work origin of the first work surface.
The coordinate value for the reference point and the work origin of each machining surface
From the coordinate value of the first machining surface with respect to the work origin, the machine coordinate value of the reference point, and the machine coordinate value of the turning center, and from the calculated position of the work origin with respect to the turning center,
When the machining surface to be machined faces the machine origin rotated by the rotation angle, the position of the work origin with respect to the center of rotation is calculated, and based on the calculated work origin position, for each corresponding machining surface. A machining control method for a multi-face machining machine tool configured to convert the coordinate values of the machining program of 1 to the machine coordinate values after turning the table and perform machining on each machining surface based on the converted machine coordinate values.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29777685A JPH0649264B2 (en) | 1985-12-26 | 1985-12-26 | Machining control method for multi-face machining machine tool |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29777685A JPH0649264B2 (en) | 1985-12-26 | 1985-12-26 | Machining control method for multi-face machining machine tool |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62152644A JPS62152644A (en) | 1987-07-07 |
| JPH0649264B2 true JPH0649264B2 (en) | 1994-06-29 |
Family
ID=17851030
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP29777685A Expired - Lifetime JPH0649264B2 (en) | 1985-12-26 | 1985-12-26 | Machining control method for multi-face machining machine tool |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0649264B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07110470B2 (en) * | 1986-04-10 | 1995-11-29 | 日立精機株式会社 | Workpiece mounting error correction device in machining center |
| JPH0262607A (en) * | 1988-08-29 | 1990-03-02 | Fanuc Ltd | Program checking plotting system |
| JPH0688192B2 (en) * | 1989-04-21 | 1994-11-09 | 株式会社牧野フライス製作所 | 5-axis NC machine tool |
-
1985
- 1985-12-26 JP JP29777685A patent/JPH0649264B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62152644A (en) | 1987-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4659971A (en) | Robot controlling system | |
| JPS62208104A (en) | Numerical controller | |
| WO2004102290A1 (en) | Numeric controller | |
| JPS6333166B2 (en) | ||
| JP2005071016A (en) | Numerical control device | |
| JPH0649264B2 (en) | Machining control method for multi-face machining machine tool | |
| JP4531297B2 (en) | 6-axis control NC program generation method and generation apparatus, 6-axis control NC program generation program, and computer-readable recording medium storing the program | |
| JPS62163109A (en) | Numerical controller | |
| JPH05324034A (en) | Method for controlling robot | |
| JP2752784B2 (en) | Robot posture correction method | |
| JPH0421203B2 (en) | ||
| JPS58137005A (en) | Instant processing simultaneous multi-axis control device | |
| JPS60262212A (en) | Movement control method of industrial robot | |
| JPS61226264A (en) | Grinder operation robot device | |
| JPS6145306A (en) | Control system of multi-joint robot | |
| JP2841364B2 (en) | Processing device positioning method | |
| JPH06230817A (en) | Method for shifting working position rotating program | |
| JPH04271406A (en) | Working data generation method for five-axis machining center | |
| JPH04148308A (en) | Designating method for pressing direction for force control robot | |
| JPH05346814A (en) | Three-dimensional machining method | |
| JP2000305613A (en) | Machine tool correcting method for three-dimensional laser beam machine | |
| JPH01205955A (en) | Nc machine tool | |
| JP2000250615A (en) | Work posture control method for machine tools | |
| JPH04143805A (en) | Five-axis nc data producer using three-axis data | |
| CN118915619A (en) | Numerical control equipment control method based on control object description by adopting one-point double vectors |