Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0545966B2 - - Google Patents
[go: Go Back, main page]

JPH0545966B2 - - Google Patents

Info

Publication number
JPH0545966B2
JPH0545966B2 JP59080857A JP8085784A JPH0545966B2 JP H0545966 B2 JPH0545966 B2 JP H0545966B2 JP 59080857 A JP59080857 A JP 59080857A JP 8085784 A JP8085784 A JP 8085784A JP H0545966 B2 JPH0545966 B2 JP H0545966B2
Authority
JP
Japan
Prior art keywords
origin
machining
program
workpiece
numerical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59080857A
Other languages
Japanese (ja)
Other versions
JPS60222904A (en
Inventor
Kyohisa Mizoguchi
Hidekatsu Asai
Katsushi Ooshima
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/00Program-control systems
    • G05B19/02Program-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 program 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 program 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)

Description

【発明の詳細な説明】 (a) 発明の技術分野 本発明は数値制御施盤において、加工プログラ
ムのオペレータ等による作成入力時に、ワークを
反転するなど、ワークの把持位置を変更して加工
する、いわゆる第2工程の加工寸法の入力作業等
を、オペレータによる座標系の変換作業を必要と
せず行うことの可能な、ワークの加工方法に関す
る。
[Detailed Description of the Invention] (a) Technical Field of the Invention The present invention relates to a numerically controlled lathe that processes a workpiece by changing the gripping position of the workpiece, such as by reversing the workpiece, when inputting a machining program by an operator. The present invention relates to a method for machining a workpiece, which allows inputting machining dimensions in a second step without requiring an operator to convert a coordinate system.

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

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

(c) 従来技術と問題点 従来、この種の数値制御施盤において、素材の
両側を加工する場合、チヤツク側の加工部分は、
チヤツクやワーク固定用治具が邪魔になつて、ワ
ークをある時点で反転させない限り、加工は不可
能である。従つて、オペレータは加工プログラム
の作成時に、ワークの軸心方向両端、プログラム
作成上の基準となるプログラム原点を設定し、ワ
ークが反転して加工される部分については、反転
される以前のプログラム原点とは反対側のプログ
ラム原点を基準にして各部の加工寸法を入力して
いた。
(c) Conventional technology and problems Conventionally, when machining both sides of a material in this type of numerical control lathe, the machining part on the chuck side is
Machining is impossible unless the chuck and workpiece fixing jig get in the way and the workpiece is turned over at some point. Therefore, when creating a machining program, the operator sets both ends of the workpiece in the axial direction and the program origin, which serves as a reference for program creation, and for parts of the workpiece that are to be machined after being reversed, the program origin before being reversed is set. The machining dimensions of each part were entered based on the program origin on the opposite side.

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

(d) 発明の目的 本発明は、前述の欠点を解消すべく、オペレー
タが加工プログラムの入力に際して、基準面を基
準とした加工寸法をワーク軸心方向に離れて設け
られた第1及び第2のプログラム原点を基準に換
算して入力するといつた繁雑で手間の掛かる計算
等を行う必要が無く、加工プログラムの作成を短
時間に効率よく行うことの可能な数値制御施盤に
おけるワークの加工方法を提供することを目的と
するものである。
(d) Purpose of the Invention In order to solve the above-mentioned drawbacks, the present invention has been made, in order to solve the above-mentioned drawbacks, when an operator inputs a machining program, the machining dimensions based on the reference plane are determined by first and second A workpiece machining method using a numerically controlled machining machine that can create a machining program quickly and efficiently without the need for complicated and time-consuming calculations, etc., which is required when converting and inputting a program origin based on the program origin. The purpose is to provide

(e) 発明の構成 即ち、本発明は、加工の基準面からのワーク軸
心方向の加工寸法が指定されたワークを第1プロ
グラム原点を基準に第1工程を加工し、該第1加
工が終了した後、当該第1工程の終了したワーク
の把持位置を変更し、前記ワーク軸心方向に前記
第1プログラム原点とは異なる位置に設けられた
第2プログラム原点を基準に、該ワークに対して
第2工程の加工を行なうワークの加工方法におい
て、前記ワークの加工プログラムの作成に際し
て、前記基準面に数値原点を前記第1及び/また
は第2のプログラム原点と対応させる形で設定す
ると共に、それら設定された数値原点と該数値原
点と対応するプログラム原点間の前記ワーク軸心
方向の距離をメモリ手段に格納しておき、前記加
工プログラム中には、前記第1及び第2プログラ
ム原点に関する加工寸法を前記対応する数値原点
を基準に格納しておき、加工に際しては、前記数
値原点を基準に入力された加工寸法を、前記数値
原点と該数値原点と対応するプログラム原点間の
前記ワーク軸心方向の距離に基づいて前記各プロ
グラム原点を基準とした加工寸法に座標変換し、
該変換された座標に基づいて前記ワークの第1及
び第2工程を前記第1及び第2プログラム原点を
基準に実行し、加工プログラムの作成に際して前
記第1及び第2工程を通して前記基準面を基準と
して入力された加工寸法に基づいて、前記ワーク
に対する該第1及び第2工程の加工を行ない得る
ようにして構成される。
(e) Structure of the Invention That is, the present invention involves machining a workpiece for which machining dimensions in the workpiece axis direction from a machining reference plane are specified, in a first step based on a first program origin, and in which the first machining is performed. After the first process has been completed, the gripping position of the workpiece that has been completed in the first step is changed, and the second program origin is set at a position different from the first program origin in the axial direction of the workpiece, and the workpiece is gripped. In a workpiece machining method in which a second step of machining is performed, when creating a machining program for the workpiece, a numerical origin is set on the reference plane in a manner that corresponds to the first and/or second program origin; The set numerical origin and the distance in the workpiece axis direction between the numerical origin and the corresponding program origin are stored in a memory means, and during the machining program, machining regarding the first and second program origins is performed. Dimensions are stored with reference to the corresponding numerical origin, and during machining, machining dimensions input based on the numerical origin are stored as the workpiece axis between the numerical origin and the program origin corresponding to the numerical origin. Based on the distance in the direction, coordinates are converted to machining dimensions based on the origin of each program,
Based on the converted coordinates, the first and second processes of the workpiece are executed with the first and second program origins as a reference, and when creating a machining program, the reference plane is used as a reference through the first and second processes. The workpiece is configured to be able to process the first and second steps on the workpiece based on the machining dimensions input as .

(f) 発明の実施例 以下、図面に基づき、本発明の実施例を、具体
的に説明する。
(f) Embodiments of the invention Hereinafter, embodiments of the invention will be specifically described 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 workpiece processing method according to the present invention is applied, and FIG. 2 is a diagram showing an example of a workpiece manufacturing drawing.
FIG. 3 is a schematic diagram showing an example of a machining program stored in the machining program memory, and FIG. 4 is a diagram showing another example of a manufacturing drawing of a workpiece to which the present invention is applied.

数値制御施盤1は、第1図に示すように、主制
御部2を有しており、主制御部2にはバス線3を
介して、キーボード5、座標変換定数メモリ6、
加工プログラムメモリ7、座標値演算部9、機構
動作制御部10等が接続している。機構動作制御
部10には主軸12、刃物台13等から構成され
る機構部11が機構動作制御部10により駆動制
御自在に接続されている。
As shown in FIG. 1, the numerical control platform 1 has a main control section 2, and the main control section 2 has a keyboard 5, a coordinate transformation constant memory 6,
A machining program memory 7, a coordinate value calculation section 9, a mechanism operation control section 10, etc. are connected. A mechanism section 11 composed of a main shaft 12, a tool rest 13, etc. is connected to the mechanism operation control section 10 so that its drive can be controlled freely by the mechanism operation control section 10.

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

今、例えば、第2図に示すワーク15について
の外径加工の加工プログラムPROを作成する場
合について述べると、このワーク15は、図中A
−A線の右方については、ワーク15の図中左端
をチヤツキングして第1工程の加工を行うが、A
−A線の左方については、把持位置を変更して今
度はワーク15の図中左端をチヤツキングして第
2工程の加工を行う。なお、製作図面上のワーク
15のワーク軸心方向の加工寸法は図中右方の基
準面SFを基準に入れられているので、オペレー
タは加工プログラムPROの入力に際して、まず
A−A線の右方の加工についての寸法a1,a2を加
工情報INFとしてキーボード5から入力する。こ
の際、オペレータは第1工程のプログラム原点
PZP2を基準面SFに一致したワーク15右端に
設定し、当該プログラム原点PZP2に基づいて寸
法a1,a2を入力するので、寸法a1,a2の入力に際
してオペレータは図面に示された基準面SFを基
準にして入れられた加工寸法の数値をそのまま入
力し、何らの計算等も行う必要は無い。
For example, let's talk about creating a machining program PRO for outer diameter machining for the workpiece 15 shown in FIG.
- Regarding the right side of line A, the first process is performed by chucking the left end of the workpiece 15 in the figure.
- To the left of line A, the gripping position is changed and the left end of the workpiece 15 in the figure is chucked to perform the second process. Note that the machining dimensions of the workpiece 15 in the workpiece axis direction on the manufacturing drawing are entered based on the reference plane SF on the right side of the diagram, so when inputting the machining program PRO, the operator first selects the right side of the A-A line. The dimensions a 1 and a 2 for machining on the other side are input from the keyboard 5 as machining information INF. At this time, the operator points to the program origin of the first process.
PZP2 is set at the right end of the workpiece 15 that coincides with the reference plane SF, and dimensions a 1 and a 2 are input based on the program origin PZP2, so when inputting dimensions a 1 and a 2 , the operator uses the standards shown in the drawing. There is no need to enter the numerical values of the machining dimensions based on the surface SF as they are and perform any calculations.

次に、オペレータはA−A線の左方の加工につ
いての寸法a3〜a8を加工情報INFとしてキーボー
ド5から入力するが、この際、オペレータは第2
工程のプログラム原点PZP1を、第1工程のプロ
グラム原点PZP2に対してワーク軸心方向である
第2図左方に距離a8だけ離れた位置であるワーク
15左端に設定すると共に、図面上の基準面SF
上に新たに寸法入力上の原点としての数値原点
NZPをプログラム原点PZP1に対応する形で設
定し、新たに設定された数値原点NZPと当該数
値原点NZPに対応したプログラム原点PZP1と
のワーク軸心方向の距離を寸法a8として入力す
る。数値原点NZPの設定がキーボード5から指
示されると、加工プログラムメモリ7中には、第
3図に示すように、それまでの、プログラム原点
PZP2を基準とした固定サイクルCYC1の後に、
座標系変換プログラムユニツトPTUが格納され
る(本来ならば、固定サイクルCYC1と座標系変
換プログラムユニツトPTUの間には、ワーク1
5を180°反転させる為の反転指令が入るが、ここ
では、説明を簡略化するために省略する。)。この
座標系変換プログラムユニツトPTUには、座標
系が変換された旨を告知する座標系変換フラグ格
納領域FA及び数値原点座標格納領域NZAが設け
られており、当該座標系変換フラグ格納領域FA
には“1”のフラグが格納され、以後の寸法デー
タが新しい座標系に基づくものであることを告知
すると共に、数値原点座標格納領域NZAには、
新たに設定された数値原点NZPと当該数値原点
NZPに対応したプログラム原点PZP1との距離
を示す寸法a8が格納されている。
Next, the operator inputs the dimensions a 3 to a 8 for machining on the left side of the A-A line from the keyboard 5 as machining information INF.
The program origin PZP1 of the process is set at the left end of the workpiece 15, which is a distance a 8 away from the program origin PZP2 of the first process to the left in Figure 2, which is the workpiece axis direction, and the reference point on the drawing. science fiction
Numerical origin as origin on new dimension input above
Set NZP in a manner that corresponds to the program origin PZP1, and input the distance in the workpiece axis direction between the newly set numerical origin NZP and the program origin PZP1 corresponding to the numerical origin NZP as dimension a8 . When the setting of the numerical origin NZP is instructed from the keyboard 5, the previous program origin is stored in the machining program memory 7 as shown in FIG.
After fixed cycle CYC 1 based on PZP2,
The coordinate system conversion program unit PTU is stored (ordinarily, the workpiece 1 is stored between the fixed cycle CYC 1 and the coordinate system conversion program unit PTU).
A reversal command for reversing 5 by 180° is entered, but it is 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 of "1" is stored in , informing that the subsequent dimension data is based on the new coordinate system, and in the numerical origin coordinate storage area NZA,
Newly set numerical origin NZP and the corresponding numerical origin
A dimension a8 indicating the distance from the program origin PZP1 corresponding to NZP is stored.

こうして、新たな数値原点NZPの設定が完了
し、加工プログラムメモリ7内の加工プログラム
PROにも座標系変換プログラムユニツトPTUが
格納されたところで、オペレータは図面を参照し
つつ、A−A線より第2図左方の部分の加工寸法
を、数値原点NZP、従つて加工上の基準面SFを
基準にして、原点PZP2の場合と同様に入力して
ゆく。この際、オペレータはプログラム原点PZP
2が図中左端に設定されていても、加工情報INF
として入力すべき寸法は数値原点NZP、従つて
図面に示された基準面SFを基準とした寸法で良
いので、寸法a3〜a8までの寸法を、第1工程の場
合と同様に何ら計算すること無くキーボード5か
ら入力することが出来る。
In this way, the setting of the new numerical origin NZP is completed, and the machining program in the machining program memory 7 is
Once the coordinate system conversion program unit PTU has been stored in the PRO, the operator, referring to the drawing, calculates the machining dimensions of the part to the left of the A-A line in Figure 2 from the numerical origin NZP, and therefore the machining standard. Using the plane SF as a reference, input in the same way as for the origin PZP2. At this time, the operator must set the program origin PZP
Even if 2 is set to the left end of the diagram, the processing information INF
The dimensions to be input as NZP can be those based on the numerical origin NZP, therefore the reference plane SF shown in the drawing, so dimensions A 3 to A 8 need not be calculated in the same way as in the first step. You can input from the keyboard 5 without having to do anything.

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

加工はまず、ワーク15の第2図左端をチヤツ
キングした形で、図中A−A線より右方について
行われるが、この際、機構動作制御部10が工具
経路を演算する基礎となる加工プログラムPRO
中の寸法a1,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 Figure 2. At this time, the mechanism operation control unit 10 uses the machining program that is the basis for calculating the tool path. PRO
The dimensions a 1 and a 2 in the middle are set based on the program origin PZP2, so the machining of the numerically controlled lathe 1,
That is, calculation of the tool path is also performed based on the program origin PZP2, and machining is executed smoothly.

A−A線の図中右方の加工が終了すると、主制
御部2は、ワーク15を反転させてA−A線の左
方部分の加工を実行するが、その際に主制御部2
は加工プログラムPROから座標系変換プログラ
ムユニツトPTUを読み出す。この座標系変換プ
ログラムユニツトPTUが読み出されると、主制
御部2は座標値演算部9を起動すると共に、座標
系変換プログラムユニツトPTU中の数値原点座
標格納領域NZAに格納された、プログラム原点
PZP1と数値原点NZPとの距離a8を、座標変換
定数メモリ6に変換パラメータTPAとして格納
する。この座標系変換プログラムユニツトPTU
により、主制御部2は以後の加工プログラム
PROの各固定サイクルCYC中に格納された寸法
が、プログラム原点PZP1を基準としたものでは
無く、数値原点NZPを基準としたものであるこ
とを認識する。
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.
reads the coordinate system conversion program unit PTU from the machining program PRO. When this coordinate system conversion program unit PTU is read out, the main control section 2 starts the coordinate value calculation section 9, and also starts the program origin stored in the numerical origin coordinate storage area NZA in the coordinate system conversion program unit PTU.
The distance a8 between PZP1 and the numerical origin NZP is stored in the coordinate transformation constant memory 6 as a transformation parameter TPA. This coordinate system transformation program unit PTU
Accordingly, the main control unit 2 controls the subsequent machining program.
Recognize that the dimensions stored in each fixed cycle CYC of PRO are not based on the program origin PZP1, but are based on the numerical origin NZP.

従つて、主制御部2は以後読み出した加工プロ
グラムPROに関する寸法を、座標値演算部9に
転送し、座標値演算部9は転送されたそれ等の寸
法をプログラム原点PZP1を基準とした寸法に座
標変換する。この演算は、座標値演算部9が座標
変換定数メモリ6内に格納された変換パラメータ
TPAを読みだして、当該パラメータに基づいて
各寸法a3〜a8を、プログラム原点PZP1を基準と
した寸法に変換することにより行われ、当該変換
された寸法a3′〜a8′(a8′は0)は機構動作制御
部10に出力される。機構動作制御部10は該座
標変換された寸法a3′〜a7′により加工に際しての
工具経路等を演算し、制御するので、ワーク15
はプログラム原点PZP1を基準とした形で図面に
示す通りに、円滑に加工される。
Therefore, the main control unit 2 transfers the dimensions related to the machining program PRO that have been read out thereafter to the coordinate value calculation unit 9, and the coordinate value calculation unit 9 converts the transferred dimensions into dimensions based on the program origin PZP1. Convert coordinates. This calculation is performed by the coordinate value calculation unit 9 using the conversion parameters stored in the coordinate conversion constant memory 6.
This is done by reading the TPA and converting each dimension a 3 to a 8 to a dimension based on the program origin PZP1 based on the parameters, and the converted dimensions a 3 ′ to a 8 ′ (a 8 ' is 0) is output to the mechanism operation control section 10. The mechanism operation control unit 10 calculates and controls the tool path etc. during machining using the coordinate-converted dimensions a 3 ′ to a 7 ′, so that the workpiece 15
is processed smoothly as shown in the drawing with the program origin PZP1 as a reference.

なお、上述の実施例は基準面SFを第2図右方
端面に一つだけ設けた場合について述べたが、本
発明は、基準面が一つに限らず、第4図に示すよ
うに、第1基準面SF1と第2基準面SF2の2つ
設けた場合についても適用出来ることは勿論であ
る。この場合、まずプログラム原点PZP1,PZP
2をワーク15の両端に設定し、プログラム原点
PZP1に対応して数値原点NZP1を基準面SF1
上に、プログラム原点PZP2に対応して数値原点
NZP2を基準面SF2上に設定する。次いで、プ
ログラム原点PZP1を基準にした数値原点NZP
1までのワーク軸心方向の距離b3を、第1の座標
系変換プログラムユニツトPTUの数値原点座標
格納領域NZAに格納し、その状態で基準面SF
1、従つて、数値原点NZP1を基準に寸法b2
b1を入力し、次にプログラム原点PZP2を基準に
した数値原点NZP2までのワーク軸心方向の距
離b1を第2の座標系変換プログラムユニツト
PTUの数値原点座標格納領域NZAに格納し、そ
の状態で基準面SF2、従つて、数値原点NZP2
を基準に寸法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 SF, and as shown in FIG. Of course, the present invention can also be applied to the case where two reference surfaces, the first reference surface SF1 and the second reference surface SF2, are provided. In this case, first the program origin PZP1, PZP
2 at both ends of the workpiece 15, and set the program origin.
Corresponding to PZP1, set the numerical origin NZP1 to the reference plane SF1
Above, the numerical origin corresponds to the program origin PZP2.
Set NZP2 on reference plane SF2. Next, set the numerical origin NZP based on the program origin PZP1.
1 to 1 in the workpiece axis direction is stored in the numerical origin coordinate storage area NZA of the first coordinate system conversion program unit PTU, and in that state the reference plane SF
1. Therefore, the dimension b 2 based on the numerical origin NZP1,
Enter b 1 , and then convert the distance b 1 in the workpiece axis direction from the program origin PZP2 to the numerical origin NZP2 to the second coordinate system conversion program unit.
Store it in the PTU's numerical origin coordinate storage area NZA, and in that state use the reference plane SF2, and therefore the numerical origin NZP2.
Enter dimensions B 4 to B 7 based on . Note that the same applies even when the number of reference planes is three or more.

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

(g) 発明の効果 以上説明したように、本発明によれば、加工の
基準面SF,SF1,SF2からのワーク軸心方向の
加工寸法が指定されたワークをプログラム原点
PZP2,PZP1などの第1プログラム原点を基準
に第1工程を加工し、該第1工程が終了した後、
当該第1工程の終了したワークの把持位置を変更
し、前記ワーク軸心方向に前記第1プログラム原
点とは異なる位置に設けられたプログラム原点
PZP1,PZP2などの第2プログラム原点を基準
に、該ワークに対して第2工程の加工を行なうワ
ークの加工方法において、前記ワークの加工プロ
グラムの作成に際して、前記基準面に数値原点
NZP,NZP1,NZP2を前記第1及び/または
第2のプログラム原点と対応させる形で設定する
と共に、それら設定された数値原点と該数値原点
と対応するプログラム原点間の前記ワーク軸心方
向の距離a8,b1,b3をメモリ手段に格納してお
き、前記加工プログラム中には、前記第1及び第
2プログラム原点に関する加工寸法を前記対応す
る数値原点を基準に格納しておき、加工に際して
は、前記数値原点を基準に入力された加工寸法
を、前記数値原点と該数値原点と対応するプログ
ラム原点間の前記ワーク軸心方向の距離に基づい
て前記各プログラム原点を基準とした加工寸法に
座標変換し、該変換された座標に基づいて前記ワ
ークの第1及び第2工程を前記第1及び第2プロ
グラム原点を基準に実行し、加工プログラムの作
成に際して前記第1及び第2工程を通して前記基
準面を基準として入力された加工寸法に基づい
て、前記ワークに対する該第1及び第2工程の加
工を行ない得るようにして構成したのでオペレー
タは、図面中に基準面SF,SF1,SF2を基準に
入れられた寸法を、第1工程及び第2工程のプロ
グラム原点PZP1,PZP2の位置が何処に設定さ
れていても、第1及び第2工程を通して、図面に
記載された基準面からの寸法をそのまま加工寸法
として入力することが可能となり、従来のよう
に、ワークの把持位置が変化する第1及び第2工
程毎にオペレータがワーク軸心方向に離れて設け
られた各プログラム原点を基準として寸法を計算
し直すといつた、繁雑で手間のかかる、しかも信
頼性に乏しい作業を行う必要が無くなり、短時間
で信頼性の高い加工プログラムの作成が可能とな
る。
(g) Effect of the Invention As explained above, according to the present invention, a workpiece whose machining dimensions in the workpiece axis direction from the machining reference planes SF, SF1, and SF2 are specified is set as the program origin.
The first process is processed based on the first program origin such as PZP2, PZP1, and after the first process is completed,
A program origin is provided at a position different from the first program origin in the axial direction of the workpiece by changing the gripping position of the workpiece after the first step.
In a workpiece machining method in which a second process process is performed on the workpiece based on a second program origin such as PZP1, PZP2, when creating a machining program for the workpiece, the numerical origin is set on the reference plane.
NZP, NZP1, and NZP2 are set to correspond to the first and/or second program origin, and the distance between the set numerical origin and the program origin corresponding to the numerical origin in the workpiece axis direction. a 8 , b 1 , and b 3 are stored in a memory means, and in the machining program, machining dimensions related to the first and second program origins are stored with the corresponding numerical origin as a reference, and machining is performed. In this case, the machining dimensions input based on the numerical origin are changed to machining dimensions based on each program origin based on the distance in the workpiece axis direction between the numerical origin and the program origin corresponding to the numerical origin. and execute the first and second processes of the workpiece based on the first and second program origins based on the converted coordinates, and perform the first and second processes on the workpiece when creating a machining program Since the structure is configured such that the first and second steps can be performed on the workpiece based on the machining dimensions inputted using the reference plane as a reference, the operator can mark the reference planes SF, SF1, and SF2 in the drawing. Regardless of where the program origins PZP1 and PZP2 of the first and second processes are set, the dimensions entered in the reference will be calculated from the reference plane described in the drawing throughout the first and second processes. can be input directly as machining dimensions, and unlike conventional methods, the operator can use each program origin set apart in the direction of the workpiece axis as a reference for each of the first and second processes in which the gripping position of the workpiece changes. There is no need to perform complicated, time-consuming, and unreliable work such as recalculating dimensions, and it becomes possible to create highly reliable machining programs in a short time.

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

第1図は本発明によるワークの加工方法が適用
された数値制御施盤の一例を示す制御ブロツク
図、第2図はワークの製作図面の一例を示す図、
第3図は加工プログラムメモリに格納された加工
プログラムの一例を示す模式図、第4図は本発明
が適用されるワークの製作図面の別の例を示す図
である。 1……数値制御施盤、7……加工プログラムメ
モリ、11……機構部、a,b……寸法、a8
b1,b3……距離、TPA……変換パラメータ、
NZP,NZP1,NZP2……数値原点、PZP1,
PZP2……プログラム原点。
FIG. 1 is a control block diagram showing an example of a numerically controlled lathe to which the workpiece processing method according to the present invention is applied, and FIG. 2 is a diagram showing an example of a workpiece manufacturing drawing.
FIG. 3 is a schematic diagram showing an example of a machining program stored in the machining program memory, 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, 7... Machining program memory, 11... Mechanism section, a, b... Dimensions, a 8 ,
b 1 , b 3 ... distance, TPA ... conversion parameter,
NZP, NZP1, NZP2... Numerical origin, PZP1,
PZP2...Program origin.

Claims (1)

【特許請求の範囲】 1 加工の基準面からのワーク軸心方向の加工寸
法が指定されたワークを第1プログラム原点を基
準に第1工程を加工し、該第1工程が終了した
後、当該第1工程の終了したワークの把持位置を
変更し、前記ワーク軸心方向に前記第1プログラ
ム原点とは異なる位置に設けられた第2プログラ
ム原点を基準に、該ワークに対して第2工程の加
工を行なうワークの加工方法において、 前記ワークの加工プログラムの作成に際して、
前記基準面に数値原点を前記第1及び/または第
2のプログラム原点と対応させる形で設定すると
共に、それら設定された数値原点と該数値原点と
対応するプログラム原点間の前記ワーク軸心方向
の距離をメモリ手段に格納しておき、 前記加工プログラム中には、前記第1及び第2
プログラム原点に関する加工寸法を前記対応する
数値原点を基準に格納しておき、 加工に際しては、前記数値原点を基準に入力さ
れた加工寸法を、前記数値原点と該数値原点と対
応するプログラム原点間の前記ワーク軸心方向の
距離に基づいて前記各プログラム原点を基準とし
た加工寸法に座標変換し、 該変換された座標に基づいて前記ワークの第1
及び第2工程を前記第1及び第2プログラム原点
を基準に実行し、 加工プログラムの作成に際して前記第1及び第
2工程を通して前記基準面を基準として入力され
た加工寸法に基づいて、前記ワークに対する該第
1及び第2工程の加工を行ない得るようにして構
成した数値制御施盤におけるワークの加工方法。
[Claims] 1. A workpiece for which machining dimensions in the workpiece axis direction from a machining reference plane are specified is machined in a first step based on a first program origin, and after the first step is completed, the The gripping position of the workpiece that has completed the first process is changed, and the second program origin is set at a position different from the first program origin in the workpiece axis direction, and the second process is performed on the workpiece. In the method for machining a workpiece, when creating a machining program for the workpiece,
A numerical origin is set on the reference plane in a manner that corresponds to the first and/or second program origin, and a direction between the set numerical origin and the program origin corresponding to the numerical origin is set in the workpiece axis direction. The distances are stored in a memory means, and during the machining program, the distances are stored in the first and second distances.
The machining dimensions related to the program origin are stored with the corresponding numerical origin as a reference, and during machining, the machining dimensions input based on the numerical origin are stored between the numerical origin and the program origin corresponding to the numerical origin. Coordinates are converted to machining dimensions based on the respective program origins based on the distance in the axial direction of the workpiece, and the first position of the workpiece is adjusted based on the converted coordinates.
and a second step based on the first and second program origins, and based on the machining dimensions inputted with the reference plane as a reference through the first and second steps when creating the machining program, A method of machining a workpiece using a numerically controlled lathe configured to perform the machining of the first and second steps.
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 JPS60222904A (en) 1985-11-07
JPH0545966B2 true 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)

Families Citing this family (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
JP2758043B2 (en) * 1989-10-20 1998-05-25 株式会社アマダ Punch press programming method and NC device

Family Cites Families (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

Also Published As

Publication number Publication date
JPS60222904A (en) 1985-11-07

Similar Documents

Publication Publication Date Title
JPS5981707A (en) Automatic producing method of nc data
JPH0417443B2 (en)
JPS63181005A (en) Parallel processing method for numerical controller
JPH07136906A (en) Numerical control device
US4737919A (en) Numerical control sequential translator
JPH0545966B2 (en)
JPS58175010A (en) Graphic display method of numerical controller for 4-axis lathe
JPS63206804A (en) Numerical control system
JPS63205707A (en) Interface system for numerical controller
JP2584225B2 (en) Numerical control unit
JP2603354B2 (en) Numerical control information creation device
JPH05274021A (en) Processing system
JP2926524B2 (en) Numerical controller with trial cutting function
JPH04237307A (en) Automatic transformation device for coordinate axis
JPH0421201B2 (en)
JP2663931B2 (en) Graphic display method of numerical controller
JP2642451B2 (en) Numerical control unit
KR0160994B1 (en) High speed interfacing method of numerical control device
JPH02236702A (en) Numerical controller for transfer machine
JPS6114801A (en) Fixed cycle method of combined shape in numerically controlled lathe
JPH056847B2 (en)
JPH0451298B2 (en)
JPH01184506A (en) System for interpolating pulse with high accuracy
JPS59192440A (en) Control device for resumption of nc processing
JP2523368Y2 (en) Shape data input device