JPH0245808A - Plane control method in nc working machine tool - Google Patents

Plane control method in nc working machine tool

Info

Publication number
JPH0245808A
JPH0245808A JP19773088A JP19773088A JPH0245808A JP H0245808 A JPH0245808 A JP H0245808A JP 19773088 A JP19773088 A JP 19773088A JP 19773088 A JP19773088 A JP 19773088A JP H0245808 A JPH0245808 A JP H0245808A
Authority
JP
Japan
Prior art keywords
plane
axis
axes
control method
rotated
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
JP19773088A
Other languages
Japanese (ja)
Inventor
Toshiharu Shimizu
俊治 清水
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.)
Sodick Co Ltd
Original Assignee
Sodick Co Ltd
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 Sodick Co Ltd filed Critical Sodick Co Ltd
Priority to JP19773088A priority Critical patent/JPH0245808A/en
Publication of JPH0245808A publication Critical patent/JPH0245808A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To command circular arc interpolation in a desired plane by converting an NC program, which is prepared with an X-Y plane, to an X'-Y' plane, for which the X-Y plane is rotated with prescribed quantity. CONSTITUTION:When there is an arbitrary plane selection command code G16 while an NC machine tool is controlled by the NC program, at first, the origin of an axis to rotate the X-Y plane is obtained from X, Y and Z axes in the code. Next, the X-Y plane is rotated with an AX axis, which is parallel to the X axis, as a center and the X-Y plane is rotated with an AY axis, which is parallel to the Y axis, as a center. Then, the X-Y plane is rotated with an AZ axis, which is parallel to the A axis, as a center and the X'-Y' plane is obtained. After that, the NC program to be prepared in the X-Y plane in advance is converted to the X'-Y' plane and the circular arc interpolation is executed on this plane.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、NC工作加工機における平面制御方法に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a plane control method in an NC machine processing machine.

[従来の技術] 従来のNG工作機械におけるNCプログラム平面は、X
−Y平面、Y−X平面、Z−X平面の3種類があり、こ
れら各平面はxYZ直交座標系において、X軸、Y軸、
Z軸のうちから2軸を含んだ平面である。
[Prior art] The NC program plane in a conventional NG machine tool is
There are three types: -Y plane, Y-X plane, and Z-X plane, and each of these planes is the X axis, Y axis,
This is a plane that includes two of the Z-axes.

[発明が解決しようとする課題] 上記従来装置においては、所望の平面内にある円弧補間
を指令することができないという問題がある。
[Problems to be Solved by the Invention] The conventional device described above has a problem in that it is not possible to command circular interpolation within a desired plane.

たとえば型彫放電加工機において、円弧補間する場合、
x−yy面、Y−X平面、Z−X平面においてのみ円弧
補間指令を行なうことができ、X−Y平面、Y−Z平面
、Z−X平面以外の所望の平面について円弧補間を指令
することができない、もっとも、Z軸だけ回転している
面については、上記3つの平面に限らず、そのうちの1
つの平面を使用してローティジョンを行なえば、対応す
ることができる。
For example, when performing circular interpolation on a die-sinking electrical discharge machine,
Circular interpolation can be commanded only on the x-yy plane, Y-X plane, and Z-X plane, and circular interpolation can be commanded on any desired plane other than the X-Y plane, Y-Z plane, and Z-X plane. However, for surfaces that are rotated only on the Z axis, it is not limited to the three planes mentioned above, but one of them
This can be achieved by performing rotation using two planes.

なお、円弧補間とは、円弧の点のうち、終点と始点と回
転方向等を指定し、その間の円弧の座標を割出す(算出
する)動作である。
Note that circular interpolation is an operation of specifying the end point, starting point, rotation direction, etc. among the points of the circular arc, and determining (calculating) the coordinates of the circular arc between them.

本発明は、X軸またはY軸が所定角度類いている平面に
ついても、円弧補間指令を行なうことができるNC工作
加工機における平面補間制御方法を提供することを目的
とするものである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a planar interpolation control method for an NC machining tool that can issue circular interpolation commands even on a plane where the X-axis or Y-axis is at a predetermined angle.

[課題を解決する手段] 本発明は、x、y、z軸に平行なAX、AY、AZ軸を
設定し、上記AX軸、上記AY軸のうち少なくとも1つ
の軸を中心にx−Y平面を所定量回転してx’−y’平
面を設定し、x−Y平面で作成したNCプログラムを、
上記x’−y’平面に変換するものである。
[Means for Solving the Problem] The present invention sets AX, AY, and AZ axes parallel to the x, y, and z axes, and creates an x-Y plane centered on at least one axis among the AX axis and the AY axis. Rotate by a predetermined amount to set the x'-y' plane, and create the NC program on the x-y plane.
This is to convert to the above x'-y' plane.

[作用] 本発明は、x、y、z軸に平行なAX、AY、AZ軸を
設定し、上記AX軸、上記AY軸のうち少なくとも1つ
の軸を中心にX−、Y平面を所定量回転してX’−Y’
平面を設定し、x−Y平面で作成したNCプログラムを
、上記X’−Y’平面に変換するので、X軸またはY軸
が所定角度類いている平面についても、円弧補間指令を
行なうことができる。
[Operation] The present invention sets AX, AY, and AZ axes parallel to the x, y, and z axes, and extends the X- and Y planes by a predetermined amount around at least one axis among the AX-axis and the AY-axis. Rotate X'-Y'
Since a plane is set and the NC program created on the x-Y plane is converted to the above-mentioned X'-Y' plane, circular interpolation commands can be issued even for planes where the X-axis or Y-axis is at a predetermined angle. can.

[実施例] 第2図は、本発明の一実施例において使用する″’NC
コードフォーマットの一例を示す図である。
[Example] Fig. 2 shows the NC used in an example of the present invention.
FIG. 3 is a diagram showing an example of a code format.

このコードフォーマットは、G16コードのフォーマッ
トであり、G16のコードは、任意の平面を選択指定す
るコードである。G16の後に記載されたX、Y、Zの
右の部分はそれぞれX軸座標、Y軸座標、X軸座標を書
く部分である。これらの座標によって特定される点は、
X−Y平面を回転する軸の原点となる座標である。また
、G16コードの後半に記載しであるAX、AY、AZ
の右の部分はそれぞれAX軸、AY軸、AZ軸を回転す
べき角度を記入する部分である。
This code format is a G16 code format, and the G16 code is a code for selecting and specifying an arbitrary plane. The parts to the right of X, Y, and Z written after G16 are parts for writing the X-axis coordinate, Y-axis coordinate, and X-axis coordinate, respectively. The point specified by these coordinates is
These are the coordinates that are the origin of the axis that rotates the X-Y plane. In addition, AX, AY, AZ which are written in the latter half of the G16 code
The right part is a part to write the angle by which the AX, AY, and AZ axes should be rotated, respectively.

第1図は、上記実施例における動作を示すフローチャー
トである。
FIG. 1 is a flowchart showing the operation in the above embodiment.

NC工作機械を加工しくsB、この途中で、上記G16
コードがあれば(S2)、そのG16コードに含まれて
いる座標であって、平面回転軸の原点を求める(S3)
、そして、AX軸を中心にx−Y平面を回転しくS4)
、AY軸を中心にx−Y平面を回転しくS5)、AZ軸
を中心にx−Y平面t−回転する(S6)、 な8、A
X軸、AY軸、AZ軸は、上記平面回転軸の原点を通る
軸であって、それぞれ、X軸、Y軸、Z軸と平行な軸で
ある。
sB to process the NC machine tool, in the middle of this process, the above G16
If there is a code (S2), find the origin of the plane rotation axis using the coordinates included in that G16 code (S3)
, and rotate the x-Y plane around the AX axis (S4)
, Rotate the x-Y plane around the AY axis S5), Rotate the x-Y plane t around the AZ axis (S6), 8, A
The X-axis, AY-axis, and AZ-axis are axes that pass through the origin of the plane rotation axis, and are parallel to the X-axis, Y-axis, and Z-axis, respectively.

そして、上記のようにして、AX軸、AY軸、AZ軸を
中心にX−Y平面を回転した平面をX’−Y’平面と呼
ぶ。
The plane obtained by rotating the X-Y plane around the AX, AY, and AZ axes as described above is called the X'-Y' plane.

そして、X−Y平面で予め作成しであるNCプログラム
を、X”−Y°平面に変換する(S7)、この変換は、
NC装置の内部で行なう、そして、上記変換を行なった
後に、予め定められた加工を行ない、上記動作31〜S
7を繰返す。
Then, the NC program created in advance on the X-Y plane is converted to the X''-Y° plane (S7). This conversion is as follows:
After performing the above conversion, predetermined processing is performed inside the NC device, and the above operations 31 to S are performed.
Repeat step 7.

上記のようにすれば、所望の平面内で円弧補間指令を行
なうことができる。
By doing the above, it is possible to issue a circular interpolation command within a desired plane.

なお、G16コードは、新たに設けたコードであって、
上記と同様の内容を有するコードを、他の符号を使用し
て表現するようにしてもよい。また、G16コードのう
チテ、AX軸、AY軸、AZ軸のすべての軸についてx
−Y平面を回転する必要はなく、少なくとも、AX軸、
AY軸のうちの1つを回転するようにしてもよい。
The G16 code is a newly established code,
Codes having the same content as above may be expressed using other codes. In addition, for all axes of G16 code, vertical, AX, AY, and AZ axes,
- There is no need to rotate the Y plane, at least the AX axis,
One of the AY axes may be rotated.

[発明の効果] 本発明によれば、X軸またはY軸が所定角度類いている
平面についても、円弧補間指令を行なうことができると
いう効果を奏する。
[Effects of the Invention] According to the present invention, it is possible to issue a circular interpolation command even for a plane in which the X-axis or the Y-axis is at a predetermined angle.

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

第1図は、本発明の一実施例の動作を示すフローチャー
トである。 第2図は、上記実施例におけるNCコードフォーマット
の一例を示す図である。
FIG. 1 is a flowchart showing the operation of an embodiment of the present invention. FIG. 2 is a diagram showing an example of the NC code format in the above embodiment.

Claims (3)

【特許請求の範囲】[Claims] (1)X、Y、Z軸に平行なAX、AY、AZ軸を設定
し、上記AX軸、上記AY軸のうち少なくとも1つの軸
を中心にX−Y平面を所定量回転してX’−Y’平面を
設定し、X−Y平面で作成したNCプログラムを、上記
X’−Y’平面に変換することを特徴とするNC工作加
工機における平面制御方法。
(1) Set the AX, AY, and AZ axes parallel to the X, Y, and Z axes, and rotate the X-Y plane by a predetermined amount around at least one of the AX and AY axes to obtain the - A plane control method for an NC machine processing machine, characterized by setting a Y' plane and converting an NC program created on the X-Y plane to the X'-Y' plane.
(2)請求項(1)において、 上記AZ軸についてもこれを中心として上記X−Y平面
を所定量回転してX’−Y’平面を設定することを特徴
とするNC工作加工機における平面制御方法。
(2) In claim (1), the plane in the NC machine processing tool is characterized in that the X-Y plane is rotated by a predetermined amount about the AZ axis as well to set the X'-Y' plane. Control method.
(3)請求項(1)において、 上記X’−Y’平面をNCコードで選択することを特徴
とするNC工作加工機における平面制御方法。
(3) A plane control method for an NC machine processing machine according to claim (1), characterized in that the X'-Y' plane is selected by an NC code.
JP19773088A 1988-08-08 1988-08-08 Plane control method in nc working machine tool Pending JPH0245808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19773088A JPH0245808A (en) 1988-08-08 1988-08-08 Plane control method in nc working machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19773088A JPH0245808A (en) 1988-08-08 1988-08-08 Plane control method in nc working machine tool

Publications (1)

Publication Number Publication Date
JPH0245808A true JPH0245808A (en) 1990-02-15

Family

ID=16379388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19773088A Pending JPH0245808A (en) 1988-08-08 1988-08-08 Plane control method in nc working machine tool

Country Status (1)

Country Link
JP (1) JPH0245808A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5233288A (en) * 1991-01-23 1993-08-03 Yamachi Electric Co., Ltd. IC built-in connector for power source stabilization having voltage control resistors in heating proximity to the IC

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5233288A (en) * 1991-01-23 1993-08-03 Yamachi Electric Co., Ltd. IC built-in connector for power source stabilization having voltage control resistors in heating proximity to the IC

Similar Documents

Publication Publication Date Title
US4633409A (en) Numerical control device
CN105302070A (en) Post-processing method for non-orthogonal swing head rotary table type five-axis machine tool
US5075865A (en) Method and apparatus for involute interpolation
JP2019070953A (en) Machining program processing device and multiple-spindle machine equipped with the same
US4521721A (en) Numerical control method
JPH0245808A (en) Plane control method in nc working machine tool
CN110058571B (en) Display system and display method
TW202011131A (en) Program code generating method and device of multi-axis machine tool for machining inclined plane the same
US4783617A (en) Method of restoring a rotary axis to a reference point
JPH05341823A (en) Numerical controller
JPS62154110A (en) Control system for numerical controller
US5773950A (en) Program creating method for uniform-shape machining
JPS59195707A (en) Specifying method of shape of material in automatic programming for lathe
JPH03174604A (en) Producing device for numerical control information
JPS5917606A (en) Method for controlling numeral
JPH04271406A (en) Working data generation method for five-axis machining center
JPH04237307A (en) Automatic transformation device for coordinate axis
JPH0458043B2 (en)
JPH05108134A (en) Coordinates converting method for dividing correspondence of main axis
JPS6217804A (en) Numerical control method for machine tool
JPS60101606A (en) Automatic robot operation system
JP2002091526A (en) Numerical controller
JPH01166104A (en) Automatic part program generating method
JPH01136208A (en) Automatic programming device
JPS6337402A (en) Method for correcting three-dimensional position in numerically controlled machine tool