JPS60222904A - Control method of coordinate system conversion of numerically controlled lathe - Google Patents

Control method of coordinate system conversion of numerically controlled lathe

Info

Publication number
JPS60222904A
JPS60222904A JP8085784A JP8085784A JPS60222904A JP S60222904 A JPS60222904 A JP S60222904A JP 8085784 A JP8085784 A JP 8085784A JP 8085784 A JP8085784 A JP 8085784A JP S60222904 A JPS60222904 A JP S60222904A
Authority
JP
Japan
Prior art keywords
program
origin
memory
coordinate system
coordinate
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.)
Granted
Application number
JP8085784A
Other languages
Japanese (ja)
Other versions
JPH0545966B2 (en
Inventor
Kiyohisa Mizoguchi
溝口 清久
Hidekatsu Asai
浅井 英勝
Katsushi Oshima
大島 克史
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.)
Yamazaki Mazak Corp
Original Assignee
Yamazaki Mazak 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 Yamazaki Mazak Corp filed Critical Yamazaki Mazak Corp
Priority to JP8085784A priority Critical patent/JPS60222904A/en
Publication of JPS60222904A publication Critical patent/JPS60222904A/en
Publication of JPH0545966B2 publication Critical patent/JPH0545966B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/408Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
    • G05B19/4086Coordinate conversions; Other special calculations
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33263Conversion, transformation of coordinates, cartesian or polar

Landscapes

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

Abstract

PURPOSE:To generate a work program efficiently in a short time by converting coordinates of respective size values in the work program inputted on the basis of a numeric origin, and driving and controlling a mechanism part. CONSTITUTION:An area for storing coordinate conversion commands is provided in a work program memory 7 and further a coordinate conversion constant memory 6 for storing the distance between numeric origins corresponding to a program origin as a conversion parameter is provided. When a coordinate system conversion command is stored in this memory 7, coordinates of respective size values in the work program inputted on the basis of the numeric origins are converted to size values based upon the program origin with the conversion parameter and the mechanism part 11 is driven and controlled on the basis of the converted size values.

Description

【発明の詳細な説明】 (a)0発明の技術分野 本発明は数値制御旋盤において、加ニブログラムのオペ
レータ等による作成入力時に、ワークを反転して加工す
る、いわゆる第2工程の加工寸法の入力作業等を、オペ
レータによる座標系の変換作業を必要とせず行うことの
可能な、座標系変換制御方法に関する。
Detailed Description of the Invention (a) 0 Technical Field of the Invention The present invention relates to input of machining dimensions in a so-called second process, in which a workpiece is reversed and machined when an operator or the like inputs a cutting program in a numerically controlled lathe. The present invention relates to a coordinate system conversion control method that allows operations to be performed without requiring coordinate system conversion work by an operator.

(b)、技術の背景 最近の、数値制御旋盤においては、関連の有る一連の加
工を一つの固定サイクルとして扱い、加ニブログラムの
作成は、当該固定サイクルをキーボード等から入力する
だけで行うことの出来る、いわゆる自動プログラムが開
発され、実用に供されている。
(b), Background of the technology In recent numerically controlled lathes, a series of related machining processes is treated as one fixed cycle, and a machine program can be created simply by inputting the fixed cycle from a keyboard, etc. A so-called automatic program that can do this has been developed and put into practical use.

こうした、自動プログラムにより、オペレータは製作図
面を参照しながらの加ニブログラムの作成及び入力が可
能となったが、こうした自動プログラムにもまだ改善す
べき点が多い。
Although these automatic programs have made it possible for operators to create and input cannibal programs while referring to production drawings, there are still many points to be improved in these automatic programs.

(C)、従来技術と問題点 従来、この種の数値制御旋盤において、素材の両側を加
工する場合、チャック側の加工部分は、チャックやワー
ク固定用治具が邪魔になって、ワークをある時点で反転
させない限り、加工は不可能である。従って、オペレー
タは加ニブログラムの作成時に、ワークの両端に、プロ
グラム作成上の基準凄なるプログラム原点を設定し、ワ
ークが反転して加工される部分については、反転される
以前のプログラム原点とは反対側のプログラム原点を基
準にして各部の加工寸法を入力していた。
(C), Prior Art and Problems Conventionally, when machining both sides of a material with this type of numerically controlled lathe, the machining part on the chuck side is blocked by the chuck or workpiece fixing jig, Machining is not possible unless it is reversed at this point. Therefore, when creating a Canadian program, the operator sets the program origin, which is the standard for program creation, at both ends of the workpiece, and for the part where the workpiece is reversed and machined, the program origin is opposite to the program origin before the workpiece is reversed. The machining dimensions for each part were entered based on the program origin on the side.

しか()、通常、ワークの加工寸法は、第2図に示すよ
うに、一つの基準面SFを基準に入れられていたので、
ワークを反転させて加工する部分の寸法を、図中左端の
プログラム原点PZPIを基準に入力する為には、オペ
レータは寸法を入力する際に、基準面SFからの図面寸
法a1〜a8を、プログラム原点PZPIを基準とした
寸法に換算して入力する必要が有り、繁雑な手間を必要
とし、加ニブログラムの作成時間が長大化するばかりか
、計算ミス等が生し易い欠点が有った。
However, normally, the machining dimensions of the workpiece are set based on one reference plane SF, as shown in Figure 2.
In order to input the dimensions of the part to be machined by inverting the workpiece, based on the program origin PZPI at the left end of the diagram, the operator inputs the drawing dimensions a1 to a8 from the reference plane SF to the program. It is necessary to convert and input the dimensions based on the origin PZPI, which requires a lot of time and effort, and not only increases the time required to create the cannibal program, but also has the disadvantage that calculation errors are likely to occur.

(d)0発明の目的 本発明は、前述の欠点を解消ずへく、オペレータが加ニ
ブログラムの入力に際して、繁雑で手間の掛かる計算等
を行う必要が無く、加ニブログラムの作成を短時間に効
率よく行うことの可能な数値制御旋盤における座標系変
換制御方法を提供することを目的とするものである。
(d) 0 Purpose of the Invention The present invention does not solve the above-mentioned drawbacks, but eliminates the need for the operator to perform complicated and time-consuming calculations when inputting a cannibal program, thereby allowing the creation of a cannibal program to be performed efficiently in a short time. The object of the present invention is to provide a method for controlling coordinate system transformation in a numerically controlled lathe that can be easily performed.

(e)0発明の構成 即ち、本発明は、第1のメモリ中に、座標変換を告知す
る座標変換指令を格納しておく領域を設けると共に、プ
ログラム原点と、対応する数値原点間の距離を変換パラ
メータとして格納しておく第2のメモリを設け、前記第
1のメモリ内に座標系変換指令が格納された場合には、
座標変換指令に対応して前記数値原点を基準に入力され
た加ニブログラム中の各寸法を、前記変換パラメータに
より、対応するプログラム原点を基準とした寸法に座標
変換し、当該変換された寸法に基づいて機構部を駆動制
御するようにして構成される。
(e) 0 Configuration of the Invention That is, the present invention provides an area in the first memory for storing a coordinate transformation command that announces coordinate transformation, and also calculates the distance between the program origin and the corresponding numerical origin. If a second memory is provided to store transformation parameters, and a coordinate system transformation command is stored in the first memory,
Each dimension in the cannibal program input based on the numerical origin in response to a coordinate conversion command is coordinate-converted to a dimension based on the corresponding program origin using the conversion parameter, and based on the converted dimension. The mechanism is configured to drive and control the mechanical section.

(以下余白) (f)0発明の実施例 以下、図面に基づき、本発明の実施例を、具体的に説明
する。
(The following is a blank space) (f) 0 Examples of the Invention Examples of the present invention will now be described in detail based on the drawings.

第1図は本発明による座標系変換制御方法が適用された
数値制御旋盤の一例を示す制御ブロック図、第2図はワ
ークの製作図面の一例を示す図、第3図は加ニブログラ
ムメモリに格納された加ニブログラムの一例を示す模式
図、第4図は本発明が適用されろワークの製作図面の別
の例を示す図である。
Fig. 1 is a control block diagram showing an example of a numerically controlled lathe to which the coordinate system conversion control method according to the present invention is applied, Fig. 2 is a diagram showing an example of a manufacturing drawing of a workpiece, and Fig. 3 is a computer program memory. FIG. 4 is a diagram showing another example of a production drawing of a workpiece to which the present invention is applied.

数値制御旋盤1は、第1図に示すように、主制御部2を
有しており、主制御部2にはバス線3を介して、キーボ
ード5、座標変換定数メモリ6、加ニブログラムメモリ
7、座標値演算部9、機構動作制御部10等が接続して
いる。4’A構動作制御部10には主軸12、刃物台1
3等から構成される機構部11が機構動作制御部10に
より駆動制御自在に接続されている。
As shown in FIG. 1, the numerically controlled lathe 1 has a main control section 2, and the main control section 2 is connected via a bus line 3 to a keyboard 5, a coordinate transformation constant memory 6, and a computer program. A memory 7, a coordinate value calculation section 9, a mechanism operation control section 10, etc. are connected. The 4'A structure movement control unit 10 includes a main shaft 12 and a turret 1.
A mechanism section 11 composed of three components is connected to a mechanism operation control section 10 so as to be freely controllable.

数値制御旋盤1は以上のうような構成を有するので、オ
ペレータは加ニブログラムPROの作成に際して、製作
図面を参照しながら、実行すべき加工を複数の固定サイ
クルに分解し、当該分解された固定サイクルCYCをキ
ーボード5から入力して加ニブログラムメモリ7内に加
ニブログラムPROを作成してゆく。この際、各固定サ
イクルCYCの加工に必要な寸法を、その他の加工情報
INFと共にキーボード5を介して固定サイクル毎に入
力し、当該入力された加工情報INFは加ニブログラム
メモリ7内に加ニブログラムPROの一部として格納さ
れてゆく。
Since the numerically controlled lathe 1 has the above-described configuration, when creating the cannibal program PRO, the operator disassembles the machining to be executed into a plurality of fixed cycles while referring to the production drawing, and By inputting CYC from the keyboard 5, a Canadian program PRO is created in a program memory 7. At this time, the dimensions required for machining each canned cycle CYC are input for each canned cycle together with other machining information INF via the keyboard 5, and the input machining information INF is stored in the machine program memory 7. It will be stored as part of Nibrogram PRO.

今、例えば、第2図に示すワーク15についての外径加
工の加ニブログラムP)(0を作成する場合について述
へると、このワーク15は、図中A−AMの右方につい
ては、ワーク15の図中左端をチャッキングして加工を
行うが、A−A線の左方については、今度はワーク15
の図中右端をチャッキングして加工を行う。なお、製作
図面上のワーク15の寸法は図中右方の基準面SFを基
準に入れられているので、オペレータは加ニブログラム
P ROの入力に際して、まずA−A、%Iの右方の加
工についての寸法a、a を加工情報INFとしてキー
ボード5から入力する。この際、オペレータはプログラ
ム原点PZP2をワーク15右端に設定し、当該プログ
ラム原点PZP2に基づいて寸法a、a を入力するの
で、寸法a、a2の入力に際してオペレータは図面に示
された数値をそのまま入力し、何らの計算等も行う必要
は無い。
Now, let's talk about the case where, for example, the outside diameter machining program P) (0) is created for the workpiece 15 shown in FIG. Processing is performed by chucking the left end of workpiece 15 in the figure, but on the left side of the A-A line, this time
Machining is performed by chucking the right end in the figure. Note that the dimensions of the workpiece 15 on the production drawing are entered based on the reference plane SF on the right side of the drawing, so when inputting the machine program P RO, the operator first selects the machining on the right side of A-A, %I. Dimensions a and a are input from the keyboard 5 as processing information INF. At this time, the operator sets the program origin PZP2 at the right end of the workpiece 15 and inputs dimensions a and a based on the program origin PZP2, so when inputting dimensions a and a2, the operator inputs the numerical values shown in the drawing as they are. However, there is no need to perform any calculations.

次に、すペレータはA−A線の左方の加工についての寸
法a −a を加工情報INFとしてキーボード5から
入力するが、この際、オペレータはプログラム原点PZ
PIをワーク15左端に設定すると共に、図面上の基準
面SF上に新たに寸法人力上の原点としての数値原点N
ZPを設定し、新たに設定された数値原点NZPと当該
数値原点NZPに対応したプログラム原点PZPIとの
距離を寸法a8として入力する。数値原点NZPの設定
がキーボード5から指示されると、加ニブログラムメモ
リ7中には、第3図に示すように、それまでの、プログ
ラム原点PZP2を基準とした固定サイクルcyc、の
後に、座標系変換プログラムユニットPTUが格納され
る(本来ならば、固定サイクルCYCと座標系変換プロ
グラムユニットPTUの間には、ワーク15を180°
反転させる為の反転指令が入るが、ここては、説明を簡
略化するために省略する。)。この座標系変換プログラ
ムユニットPTUには、座標系が変換された旨を告知す
る座標系変換フラグ格納領域FA及び数値原点座標格納
領域NZAが設けられており、当該座標系変換フラグ格
納領域FAには′1′のフラグが格納され、以後の寸法
データが新しい座標系に基づくものである乙とを告知す
ると共に、数値原点座標格納領域NZAには、新たに設
定された数値原点NZPと当該数値原点NZPに対応し
たプログラム原点pzpiとの距離を示す寸法a8が格
納されている。
Next, the operator inputs the dimension a - a for machining on the left side of the A-A line from the keyboard 5 as machining information INF, but at this time, the operator enters the program origin PZ
Set PI at the left end of the workpiece 15, and set a new numerical origin N on the reference plane SF on the drawing as the dimensional origin.
ZP is set, and the distance between the newly set numerical origin NZP and the program origin PZPI corresponding to the numerical origin NZP is input as dimension a8. When the setting of the numerical origin NZP is instructed from the keyboard 5, as shown in FIG. The coordinate system conversion program unit PTU is stored (ordinarily, between the fixed cycle CYC and the coordinate system conversion program unit PTU, the workpiece 15 is
A reversal command for reversing is entered, but will be omitted here to simplify the explanation. ). This coordinate system conversion program unit PTU is provided with a coordinate system conversion flag storage area FA and a numerical origin coordinate storage area NZA that notify that the coordinate system has been converted. A flag '1' is stored to notify that the subsequent dimension data is based on the new coordinate system, and the numerical origin coordinate storage area NZA stores the newly set numerical origin NZP and the corresponding numerical origin. A dimension a8 indicating the distance from the program origin pzpi corresponding to NZP is stored.

こうして、新たな数値原点NZPの設定が完了し、加ニ
ブログラムメモリ7内の加ニブログラムPROにも座標
系変換プログラムユニットPTUが格納されたところで
、オペレータは図面を参照しつつ、A−A線より第2図
左方の部分の加工寸法を、数値原点NZPを基準にして
入力してゆく。この際、オペレータはプログラム原点P
ZP2が図中左端に設定されていても、加工情報INF
として入力すべき寸法は数値原点NZP、従って図面に
示された基準面SFを基準とした寸法で良いので、寸法
83〜a8までの寸法を何ら計算すること無くキーボー
ド5から入力する乙とが出来る。
In this way, when the setting of the new numerical origin NZP is completed and the coordinate system conversion program unit PTU is also stored in the cannibal program PRO in the cannibal program memory 7, the operator, while referring to the drawing, From there, the machining dimensions of the left part in Figure 2 are input based on the numerical origin NZP. At this time, the operator must set the program origin P.
Even if ZP2 is set to the left end in the diagram, the processing information INF
The dimensions to be input as ``dimensions'' may be those based on the numerical origin NZP, and therefore the reference plane SF shown in the drawing, so dimensions 83 to a8 can be input from the keyboard 5 without any calculations. .

キーボード5からの寸法a3〜aQの入力及びその他の
加工情報INFの入力が完了し、加ニブログラムメモリ
7中にワーク15に関する加ニブログラムPROが完成
したところで、オペレータはキーボード5を介して加工
開始指令SCを主制御部2に出力する。これを受けて主
制御部2ば、加ニブログラムメモリ7中に格納された加
ニブログラムPROを、加ニブログラムPROを構成す
る各固定サイクルcyc毎に読み出して、機構動作制御
部10に出力し、機構動作制御部10は当該固定サイク
ルCYCに示された加工情報INFに基づいて加工の際
の工具経路その他を演算し、更にその結果に基づいて機
構部11の主軸12、刃物台13等を駆動制御して所定
の加工を実行してゆく。
When the input of dimensions a3 to aQ and other machining information INF from the keyboard 5 is completed, and the Canadian program PRO for the workpiece 15 is completed in the Canadian program memory 7, the operator starts machining via the keyboard 5. The command SC is output to the main control section 2. In response to this, the main control unit 2 reads out the cannibal program PRO stored in the cannibal program memory 7 for each fixed cycle cyc that constitutes the cannibal program PRO, and outputs it to the mechanism operation control unit 10. The mechanism operation control unit 10 calculates the tool path and other parameters during machining based on the machining information INF indicated in the fixed cycle CYC, and further drives the main shaft 12, tool rest 13, etc. of the mechanism unit 11 based on the results. It controls and executes the specified processing.

加工はまず、ワーク15の第2図左端をチャッキングし
た形で、図中A−A線より右方について行われるが、こ
の際、機構動作制御部10が工具経路を演算する基礎と
なる加ニブログラムPRO中の寸法a工、a2は、プロ
グラム原点PZP2を基準に設定されているので、数値
制御旋盤1の加工、即ち工具経路の演算もプログラム原
点PZP2を基準に行われ、加工は円滑に実行される。
Machining is first performed to the right of line A-A in the figure by chucking the left end of the workpiece 15 in FIG. Since the dimensions a and a2 in the Nibragram PRO are set based on the program origin PZP2, the machining of the numerically controlled lathe 1, that is, the calculation of the tool path, is also performed based on the program origin PZP2, and the machining is executed smoothly. be done.

A−A線の図中右方の加工が終了すると、主制御部2は
、ワーク15を反転させてA−A線の左方部分の加工を
実行するが、その際に主制御部2は加ニブログラムPR
Oから座標系変換プログラムユニットPTUを読み出す
。この座標系変換プログラム原点ッl−P T Uが読
み出されると、主制御部2ば座標値演算部9を起動する
と共に、座標系変換プログラムユニットPTLI中の数
値原点座標格納領域NZAに格納された、プログラム原
点PZPIと数値原点NZPとの距離a8を、座標変換
定数メモリ6に変換パラメータTPAとして格納する。
When the machining on the right side of the A-A line in the figure is completed, the main controller 2 reverses the workpiece 15 and executes the machining on the left side of the A-A line. Canada program PR
Read the coordinate system conversion program unit PTU from O. When this coordinate system conversion program origin l-PTU is read out, the main control unit 2 starts the coordinate value calculation unit 9, and also starts the coordinate system conversion program origin PTLI stored in the numerical origin coordinate storage area NZA in the coordinate system conversion program unit PTLI. , the distance a8 between the program origin PZPI and the numerical origin NZP is stored in the coordinate transformation constant memory 6 as a transformation parameter TPA.

この座標系変換プログラムユニットPT [Jにより、
主制御部2は以後の加ニブログラムPROの各固定サイ
クルCYC中に格納された寸法が、プログラム原点PZ
PIを基準としたものでは無く、数値原点NZPを基準
としたものであることを認識する。
By this coordinate system transformation program unit PT [J,
The main control unit 2 determines that the dimensions stored during each fixed cycle CYC of the subsequent Canadian program PRO are set at the program origin PZ.
Recognize that it is not based on PI, but on the numerical origin NZP.

従って、主制御部2は以後読み出1ッた加ニブログラム
PROに関する寸法を、座標値演算部9に転送し、座標
値演算部9は転送されたそ第1等の寸法をプログラム原
点PZPIを基準とした寸法に座標変換する。この演算
は、座標値演算部9が座標変換定数メモリ6内に格納さ
れた変換パラメータTPAを読みだして、当該パラメー
タに基づいて各寸法a3〜a8を、プログラム原点PZ
PIを基準とした寸法に変換することにより行オ〕れ、
当該変換された寸法a ′〜、8) (、、jは0)は
機構動作制御部10に出方される。機構動作制御部10
は該座標変換された寸法113′〜8□′により加工に
際しての工具経路等を演算し、制御するのて、ワーク1
5はプログラム原点PZPIを基準とした形で図面に示
す通りに、円滑に加工される。
Therefore, the main control unit 2 thereafter transfers the dimensions related to the Canadian program PRO that have been read out to the coordinate value calculation unit 9, and the coordinate value calculation unit 9 uses the transferred first dimension with respect to the program origin PZPI. Convert the coordinates to the dimensions given below. In this calculation, the coordinate value calculation section 9 reads out the conversion parameters TPA stored in the coordinate conversion constant memory 6, and calculates each dimension a3 to a8 based on the parameters at the program origin PZ.
By converting the PI to the standard dimensions,
The converted dimensions a'~, 8) (, , j are 0) are output to the mechanism operation control section 10. Mechanism operation control section 10
calculates and controls the tool path during machining using the coordinate-converted dimensions 113' to 8□', and then
5 is smoothly processed as shown in the drawing with the program origin PZPI as a reference.

なお、上述の実施例は基準面S Fを第2図右方端面に
一つだけ設けた場合について述べたが、本発明は、基準
面が一つに限らず、第4図に示すように、第1基準面S
FIと第2基準面SF2の2つ設けた場合についても適
用出来ろことは勿論である。乙の場合、まずプログラム
原点P Z I) 1、PZP2をワーク15の両端に
設定し、数値原点を、基準面SF1、SFlに合J)せ
てNZPl、N2F2の2個所設定し、まずプログラム
原点PZPIを基準にした数値原点NZPIまでの距離
b を、第1の座標系変換プログラムユニットPTUの
数値原点座標格納領域NZAに格納し、その状態で寸法
b 、、b を入力し、次にプログラム原点PZP2を
基準にした数値原点NZP2までの距ab を第2の座
標系変換プログラムユニットP’r uの数値原点座標
格納領域NZAに格納し、その状態で寸法b4〜b7を
入力する。なお、基準面の数が3個以上の場合でも、同
様である。
In addition, although the above-mentioned embodiment described the case where only one reference surface SF was provided on the right end surface in FIG. 2, the present invention is not limited to one reference surface, and as shown in FIG. , first reference plane S
Of course, the present invention can also be applied to the case where two reference planes, FI and second reference plane SF2, are provided. In the case of B, first set the program origin PZI) 1, PZP2 at both ends of the workpiece 15, align the numerical origin with the reference planes SF1 and SFl, set the two locations NZPl and N2F2, and first set the program origin The distance b to the numerical origin NZPI based on PZPI is stored in the numerical origin coordinate storage area NZA of the first coordinate system conversion program unit PTU, and in that state, the dimensions b , , b are input, and then the program origin is The distance ab to the numerical origin NZP2 based on PZP2 is stored in the numerical origin coordinate storage area NZA of the second coordinate system conversion program unit P'ru, and in this state, the dimensions b4 to b7 are input. Note that the same applies even when the number of reference planes is three or more.

倣)8発明の効果 以上、説明したように、本発明によれば、加ニブログラ
ムメモリ7等の第1のメモリ中に、座標変換を告知する
座標系変換プログラムユニットP T LJ等の座標変
換指令を格納しておく領域を設けると共に、プログラム
原点P Z P 1、P Z P 2と、対応する数値
原点NZP、NZPI、NZP2間の距離a8、bl、
b3を変換パラメータ゛r’ P Aとして格納してお
く座標変換定数メモリ6等の第2のメモリを設け、前記
第1のメモリ内に座標系変換指令が格納された場合には
、座標変換指令に対応して前記数値原点NZP、、NZ
PI、N2F2を基準に入力された加ニブログラムPR
O中の各寸法を、前記変換パラメータにより、対応する
プログラム原点PZPI、PZP2を基準とした寸法に
座標変換し、当該変換された寸法に基づいて機構部11
を駆動制御するように構成したので、オペレータは、図
面中に基準面SF、SFI、SF2を基準に入れられた
寸法を、プログラム原点PZPI、PZP2の位置が何
処に設定されていても、変換パラメータを入力して数値
原点NZP。
8 Effects of the Invention As explained above, according to the present invention, the coordinate system transformation program unit P T LJ etc. that notifies the coordinate transformation is stored in the first memory of the program memory 7 etc. In addition to providing an area for storing conversion commands, the distances a8, bl,
A second memory such as a coordinate transformation constant memory 6 is provided in which b3 is stored as a transformation parameter ゛r'PA, and when a coordinate system transformation command is stored in the first memory, the coordinate transformation command is Correspondingly, the numerical origins NZP, NZ
Canada program PR input based on PI, N2F2
The coordinates of each dimension in O are converted into dimensions based on the corresponding program origins PZPI and PZP2 using the conversion parameters, and the mechanism unit 11 is converted based on the converted dimensions.
Since the configuration is configured to drive and control the dimensions, the operator can change the dimensions entered in the drawing based on the reference planes SF, SFI, and SF2 into the conversion parameters regardless of where the program origins PZPI and PZP2 are set. Enter the numerical origin NZP.

NZPI、N2F2を設定することにより、図面通りに
入力することが可能となり、従来のように、オペレータ
がプログラム原点を基準として寸法を計算し直すといっ
た、繁雑で手間のかかる、(7かも信頼性に乏しい作業
を行う必要が無くなり、短時間で信頼性の高い加ニブロ
グラムの作成が可能となる。
By setting NZPI and N2F2, it is possible to input data exactly as shown in the drawing, which eliminates the complicated and time-consuming task of having the operator recalculate dimensions based on the program origin (7). It is no longer necessary to carry out tedious work, and a highly reliable cannibal program can be created in a short time.

なお、変換パラメータTPAば、本実施例のように、座
標変換定数メモリ6内に格納しておく他に、座標値演算
部9が各寸法を変換する度に、座標系変換プログラムユ
ニットP T tJに示された、プログラム原点PZP
I、PZP2と数値原点NZP、NZPI、NZP2間
の距離を読み出して、その値を変換パラメータTPAと
して採用するように構成することも可能であり、乙の場
合節1のメモリと第2のメモリは実質的に同一のものど
なろ。また、第1のメモリと第2のメモリは同一のメモ
リ空間内に設定されていても良いことは勿論である。
In addition to storing the transformation parameters TPA in the coordinate transformation constant memory 6 as in this embodiment, the coordinate system transformation program unit P T tJ is stored each time the coordinate value calculation section 9 transforms each dimension. The program origin PZP shown in
It is also possible to configure the system to read the distance between I, PZP2 and the numerical origin NZP, NZPI, NZP2 and adopt that value as the conversion parameter TPA. It's practically the same thing. Furthermore, it goes without saying that the first memory and the second memory may be set in the same memory space.

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

第1図は本発明による座標系変換制御方法が適用された
数値制御旋盤の一例を示す制御ブロック図、第2図はワ
ークの製作図面の一例を示す図、第3図は加ニブログラ
ムメモリに格納された加ニブログラムの一例を示す模式
図、第4図は本発明が適用されるワークの製作図面の別
の例を示す図である。 1・・・数値制御旋盤 6・ ・・第2のメモリ(座標変換定数メモリ)7・・
・・・第1のメモリ(加ニブログラムメモリ)11・・
・・機構部 a、b・・・・・・寸法 a 、、b 、b ・・距離 TPA・・・・変換パラメータ NZP、NZPI、NZP2・・・・・・数値原点PZ
PI、PZP2・・・・・・プログラム原点PTU・・
・ 座標系変換指令 (座標系変換プログラムユニット) 出願人 株式会社 山崎鉄工所 代理人 弁理士 相1)伸二 (ほか1名) 第1図 13゛へ11 第2図 5 第3図 第4図
Fig. 1 is a control block diagram showing an example of a numerically controlled lathe to which the coordinate system conversion control method according to the present invention is applied, Fig. 2 is a diagram showing an example of a manufacturing drawing of a workpiece, and Fig. 3 is a computer program memory. FIG. 4 is a schematic diagram showing an example of a cannibal program stored in the computer, and FIG. 4 is a diagram showing another example of a manufacturing drawing of a workpiece to which the present invention is applied. 1... Numerical control lathe 6... Second memory (coordinate transformation constant memory) 7...
...First memory (Canadian program memory) 11...
... Mechanical parts a, b ... Dimensions a,, b, b ... Distance TPA ... Conversion parameters NZP, NZPI, NZP2 ... Numerical origin PZ
PI, PZP2...Program origin PTU...
- Coordinate system conversion command (coordinate system conversion program unit) Applicant Yamazaki Iron Works Co., Ltd. Agent Patent attorney Phase 1) Shinji (and 1 other person) Figure 1 To 13゛11 Figure 2 5 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 第1のメモリ中に、座標変換を告知する座標変換指令を
格納しておく領域を設けると共、に、プログラム原点と
、対応する数値原点間の距離を変換パラメータとして格
納しておく第2のメモリを設け、前記第1のメモリ内に
座標系変換指令が格納された場合には、座標変換指令に
対応して前記数値原点を基準に入力された加ニブログラ
ム中の各寸法を、前記変換パラメータにより、対応する
プログラム原点を基準とした寸法に座標変換し、当該変
換された寸法に基づいて機構部を駆動制御するようにし
て構成した数値制御旋盤における座標系変換制御方法。
A first memory is provided with an area for storing a coordinate transformation command that announces coordinate transformation, and a second memory is provided in which the distance between the program origin and the corresponding numerical origin is stored as a transformation parameter. When a memory is provided and a coordinate system transformation command is stored in the first memory, each dimension in the Canadian program input based on the numerical origin in response to the coordinate transformation command is converted into the transformation parameter. A method for controlling coordinate system conversion in a numerically controlled lathe, comprising: converting coordinates into dimensions based on a corresponding program origin, and driving and controlling a mechanical part based on the converted dimensions.
JP8085784A 1984-04-20 1984-04-20 Control method of coordinate system conversion of numerically controlled lathe Granted JPS60222904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8085784A JPS60222904A (en) 1984-04-20 1984-04-20 Control method of coordinate system conversion of numerically controlled lathe

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8085784A JPS60222904A (en) 1984-04-20 1984-04-20 Control method of coordinate system conversion of numerically controlled lathe

Publications (2)

Publication Number Publication Date
JPS60222904A true JPS60222904A (en) 1985-11-07
JPH0545966B2 JPH0545966B2 (en) 1993-07-12

Family

ID=13730010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8085784A Granted JPS60222904A (en) 1984-04-20 1984-04-20 Control method of coordinate system conversion of numerically controlled lathe

Country Status (1)

Country Link
JP (1) JPS60222904A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61178148A (en) * 1985-01-31 1986-08-09 Okuma Mach Works Ltd Machining range specifying device for every machining process in automatic programming
JPS62176733A (en) * 1986-01-29 1987-08-03 Hitachi Seiki Co Ltd Machining center with manufacturing unit
JPH03133526A (en) * 1989-10-20 1991-06-06 Amada Co Ltd Programming method and numerical control device for punch press

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58146905A (en) * 1982-02-26 1983-09-01 Okuma Mach Works Ltd Controlling device of numeral
JPS58203511A (en) * 1982-05-21 1983-11-28 Mitsubishi Electric Corp Numerical controller
JPS5943407A (en) * 1982-09-02 1984-03-10 Shinko Electric Co Ltd Controlling method of industrial robot

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58146905A (en) * 1982-02-26 1983-09-01 Okuma Mach Works Ltd Controlling device of numeral
JPS58203511A (en) * 1982-05-21 1983-11-28 Mitsubishi Electric Corp Numerical controller
JPS5943407A (en) * 1982-09-02 1984-03-10 Shinko Electric Co Ltd Controlling method of industrial robot

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61178148A (en) * 1985-01-31 1986-08-09 Okuma Mach Works Ltd Machining range specifying device for every machining process in automatic programming
JPH0451298B2 (en) * 1985-01-31 1992-08-18 Ookuma Kk
JPS62176733A (en) * 1986-01-29 1987-08-03 Hitachi Seiki Co Ltd Machining center with manufacturing unit
JPH03133526A (en) * 1989-10-20 1991-06-06 Amada Co Ltd Programming method and numerical control device for punch press

Also Published As

Publication number Publication date
JPH0545966B2 (en) 1993-07-12

Similar Documents

Publication Publication Date Title
JPH0417443B2 (en)
JPS63181005A (en) Parallel processing method for numerical controller
EP0103428B1 (en) Nc programming apparatus
KR940007130B1 (en) Nc instruction method
JPS61288959A (en) Data input device in interactive numerically controlled grinder
US4737919A (en) Numerical control sequential translator
JPS60222904A (en) Control method of coordinate system conversion of numerically controlled lathe
JPS58175010A (en) Graphic display method of numerical controller for 4-axis lathe
JPS63206804A (en) Numerical control system
JP2852986B2 (en) Processing system
JPS63311408A (en) Numerical controller
JPH0498301A (en) Numerically controlled machine tool and numerical controller
JPS63205707A (en) Interface system for numerical controller
JP3050991B2 (en) Tool offset shape data input type numerical control method and device
JP2584225B2 (en) Numerical control unit
JP2992163B2 (en) Numerical control method and device
JP2523368Y2 (en) Shape data input device
JP2603354B2 (en) Numerical control information creation device
JPH0616978B2 (en) 4-axis simultaneous machining generation method in automatic programming
JP2642451B2 (en) Numerical control unit
JPH01173204A (en) Numerical controller
JPH03251906A (en) Deciding method for cutting conditions in automatic programming system
JPH0236404A (en) Nc command system
JP2694638B2 (en) Numerical control unit
JPS61178148A (en) Machining range specifying device for every machining process in automatic programming