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
JPH07112663B2 - Machine tool fixed cycle controller - Google Patents
[go: Go Back, main page]

JPH07112663B2 - Machine tool fixed cycle controller - Google Patents

Machine tool fixed cycle controller

Info

Publication number
JPH07112663B2
JPH07112663B2 JP61252769A JP25276986A JPH07112663B2 JP H07112663 B2 JPH07112663 B2 JP H07112663B2 JP 61252769 A JP61252769 A JP 61252769A JP 25276986 A JP25276986 A JP 25276986A JP H07112663 B2 JPH07112663 B2 JP H07112663B2
Authority
JP
Japan
Prior art keywords
initial point
fixed cycle
command
cycle
program
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 - Fee Related
Application number
JP61252769A
Other languages
Japanese (ja)
Other versions
JPS63105869A (en
Inventor
武臣 菊地
Original Assignee
日立精機株式会社
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 日立精機株式会社 filed Critical 日立精機株式会社
Priority to JP61252769A priority Critical patent/JPH07112663B2/en
Publication of JPS63105869A publication Critical patent/JPS63105869A/en
Publication of JPH07112663B2 publication Critical patent/JPH07112663B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、工作機械の固定サイクル制御装置に関し、特
に、加工イニシャル点の変更を処理する固定サイクル制
御装置に関する。
TECHNICAL FIELD The present invention relates to a fixed cycle control device for a machine tool, and more particularly to a fixed cycle control device for processing a change in a machining initial point.

〔従来の技術〕[Conventional technology]

従来より、NC工作機械で、加工用プログラムに基づいて
加工を行う際に、穴加工等で所定パターンの反復動作等
を有する部分は、固定サイクルとして別個にプログラム
を設定して処理することが行われているが、治具の取付
け等でワーク加工面の条件が変わり、通常の加工イニシ
ャル点では工具の戻り量の不足が予想されるとき、従来
は、固定サイクルをキャンセルするのが普通であった。
Conventionally, when machining based on a machining program on an NC machine tool, parts that have repetitive movements of a predetermined pattern such as hole machining can be set and processed separately as fixed cycles. However, when the condition of the work surface changes due to the attachment of jigs, etc., and it is expected that the amount of tool return will be insufficient at the normal machining initial point, conventionally, it is usual to cancel the fixed cycle. It was

例えば、第3図に示すような穴加工において、穴深さZ0
0,Z01,Z02の3つを固定サイクルで穴加工しようとする
場合、ワーク自体の表面にも凹凸があり、基準イニシャ
ル点Aはその最高表面Z1に所定の許容値α1を加えてA
=Z1+α1と設定される。しかし、治具の頂部レベルZF
は更に高い位置になるため、第2の穴加工後、その戻り
点R(A)に戻しただけでは、干渉の危険性があるの
で、加工用プログラムは、第4図に出力見本図として示
すように、G81で指定した固定サイクルをG80でキャンセ
ルし、改めてZ値を数値指令でZ(ZF+α3)と指定し
て、これを新イニシャル点として穴深さZ02への加工を
行う。
For example, when drilling holes as shown in FIG. 3, the hole depth Z0
When three holes 0, Z01, Z02 are to be drilled in a fixed cycle, the surface of the work itself has irregularities, and the reference initial point A is the maximum surface Z1 with a predetermined allowable value α1
= Z1 + α1 is set. However, the top level ZF of the jig
Since it becomes a higher position, there is a risk of interference by simply returning to the return point R (A) after the second hole machining, so the machining program is shown as an output sample diagram in FIG. As described above, the fixed cycle designated by G81 is canceled by G80, the Z value is designated again as Z (ZF + α3) by the numerical command, and the hole depth Z02 is machined using this as a new initial point.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかし、固定サイクルをキャンセルすると、プログラム
が一旦中断され、オペレータは再指令しなければならな
いなど各種の面倒な手続きが必要になる。一方、加工用
プログラム中でイニシャル点を細かく設定して置けばよ
いということになるが、治具の取付け等は加工現場で急
に必要が生じることで、通常プログラマーの考慮し得な
い場合が多い。
However, if the fixed cycle is canceled, the program is temporarily interrupted and various troublesome procedures are required such as the operator having to re-command. On the other hand, it means that the initial points should be set finely in the machining program, but it is often necessary for the programmer to take into consideration because jigs need to be installed at the machining site suddenly. .

本発明は、上記の問題点に鑑みて創案されたもので、固
定サイクルをキャンセルすることなく、イニシャル点を
変更するだけで、ワーク加工面の変化に現場で対応で
き、極めて効率的な工作機械の固定サイクル制御装置を
提供することを目的とする。
The present invention was devised in view of the above problems, and it is possible to cope with a change in the work surface on site by simply changing the initial point without canceling the fixed cycle, and an extremely efficient machine tool. It is an object of the present invention to provide a fixed cycle control device of the above.

〔問題点を解決するための手段〕[Means for solving problems]

本発明において、上記の問題点を解決するための手段
は、加工用プログラムメモリに記憶されている加工用プ
ログラムに、所定パターンの反復加工を行う固定サイク
ルプログラムを設定し、加工用プログラム中に固定サイ
クル実行指令を発見すると前記固定サイクルプログラム
を実行する工作機械の固定サイクル制御装置において、
前記加工用プログラム中にイニシャル点修正データが発
見された場合、この修正データを格納する修正データ記
憶手段と、この修正データ記憶手段に前記イニシャル点
修正データが格納されたとき、前記固定サイクルプログ
ラムの固定サイクル加工の開始点である基準イニシャル
点と前記イニシャル点修正データとから、新たな固定サ
イクル加工の開始点である修正イニシャル点を設定する
固定サイクル処理手段と、前記加工用プログラム中にイ
ニシャル点変更指令が発見されるとともに、前記固定サ
イクル処理手段に前記修正イニシャル点が設定されてい
る場合、前記修正イニシャル点へ戻るよう戻り指令を発
する第1の戻り指令手段と、前記加工用プログラム中に
イニシャル点変更取消し指令が発見された場合、前記基
準イニシャル点へ戻るよう戻り指令を発する第2の戻り
指令手段と、前記各手段を統轄制御する中央処理手段と
を備え、前記固定サイクルプログラムで加工する加工部
位毎に修正イニシャル点位置または基準イニシャル点位
置に戻す設定を可能としたことを特徴とする工作機械の
固定サイクル制御装置とする。
In the present invention, a means for solving the above problems is to set a fixed cycle program for performing repetitive machining of a predetermined pattern in a machining program stored in a machining program memory and fix the fixed cycle program in the machining program. In a fixed cycle control device of a machine tool that executes the fixed cycle program when a cycle execution command is found,
When the initial point correction data is found in the machining program, the correction data storage means for storing the correction data and the fixed cycle program of the fixed cycle program when the initial point correction data is stored in the correction data storage means Fixed cycle processing means for setting a corrected initial point which is a new starting point of fixed cycle machining from a reference initial point which is a starting point of fixed cycle machining and the initial point correction data, and an initial point in the machining program. When a change command is found and the fixed initial point is set in the fixed cycle processing means, a first return command means for issuing a return command to return to the corrected initial point and the machining program If a cancellation command to change the initial point is found, go to the reference initial point. Second return command means for issuing a return command so as to control the respective means, and central processing means for controlling and controlling each of the means, and returning to the corrected initial point position or the reference initial point position for each machining site machined by the fixed cycle program. A fixed cycle control device for a machine tool characterized by enabling setting.

〔作用〕[Action]

制御装置側で、固定サイクル処理手段により、基準イニ
シャル点に所要の変更を施して修正イニシャル点を設定
し、所要の処理を行うので、加工用プログラム中では、
イニシャル点変更指令とイニシャル点変更取消し指令を
書込むだけでよく、その結果により、第1の戻り指令手
段又は第2の戻り指令手段のいずれかが選択され、第1
の戻り指令手段は修正イニシャル点への戻り指令を発し
第2の戻り指令手段は基準イニシャル点への戻り指令を
発する。
On the control device side, the fixed cycle processing means makes the necessary changes to the reference initial points to set the corrected initial points and performs the required processing, so in the machining program,
It is only necessary to write the initial point change command and the initial point change cancel command, and depending on the result, either the first return command means or the second return command means is selected and the first return command means is selected.
And the second return command means issues a return command to the reference initial point.

〔実施例〕〔Example〕

以下、図面を参照して、本発明の実施例を詳細に説明す
る。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は、本発明を実施した固定サイクル制御装置の構
成の1例を示すブロック図である。同図において、固定
サイクル制御装置は、上位装置の中央処理装置を兼ねる
CPU1と、キーボード付ディスプレイ2及びその入出力回
路2aと、加工用プログラムが記憶されている加工用プロ
グラムメモリ3と、所定パターンの反復加工を行なう固
定サイクルプログラムが記憶されている固定サイクルプ
ログラムメモリ4と、モータ5、アンプ5a及び補正器5b
と、読み出した加工用プログラム中の固定サイクル指令
を保持する固定サイクル指令レジスタ6a〜6nと、加工用
プログラム中にイニシャル点修正データが発見された場
合、この修正データを格納する修正データレジスタ7
と、この修正データレジスタ7に前記イニシャル点修正
データが格納されたとき、前記イニシャル点修正データ
から修正イニシャル点を設定する固定サイクル処理手段
8と、加工用プログラム中のイニシャル点変更指令を読
み出すレジスタ9aと、加工用プログラム中のイニシャル
点変更取消し指令を読み出すレジスタ9bと、それら2つ
のレジスタ9a,9bにそれぞれ接続し、レジスタ9aにイニ
シャル点変更指令が読み出されるとともに、前記固定サ
イクル処理手段8に前記修正イニシャル点が設定されて
いる場合、前記修正イニシャル点へ戻るよう戻り指令を
発する第1の戻り指令手段10aと、レジスタ9bにイニシ
ャル点変更取消し指令が読み出された場合、前記基準イ
ニシャル点へ戻るよう戻り指令を発する第2の戻り指令
手段10bとで構成されている。
FIG. 1 is a block diagram showing an example of the configuration of a fixed cycle control device embodying the present invention. In the figure, the fixed cycle control device also serves as the central processing unit of the host device.
CPU 1, display with keyboard 2 and its input / output circuit 2a, machining program memory 3 in which a machining program is stored, and fixed cycle program memory 4 in which a fixed cycle program for performing repetitive machining of a predetermined pattern is stored. And motor 5, amplifier 5a and compensator 5b
And fixed cycle command registers 6a to 6n for holding the fixed cycle command in the read machining program, and the correction data register 7 for storing the correction data when initial point correction data is found in the machining program.
When the initial point correction data is stored in the correction data register 7, a fixed cycle processing means 8 for setting a correction initial point from the initial point correction data, and a register for reading an initial point change command in a machining program. 9a, a register 9b for reading the initial point change cancel command in the machining program, and the two registers 9a and 9b are respectively connected to read the initial point change command to the register 9a and to the fixed cycle processing means 8. When the modified initial point is set, first return command means 10a for issuing a return command to return to the modified initial point, and when the initial point change cancel command is read to the register 9b, the reference initial point And second return command means 10b for issuing a return command to return to .

第2図は、上記装置の動作の1例を示すフローチャート
である。なお、加工プログラムにはアプローチ点を基準
イニシャル点A(第3図参照)から治具の頂部レベルZF
よりα・だけ高い位置(ZF+α・)に修正するための修
正イニシャル点W(ZF+α・)が書き込まれているもの
とする。第2図において、フローが開始されると、加工
用プログラムメモリ3内の加工用プログラムから、例え
ば下記の如き固定サイクル指令が読み込まれる。
FIG. 2 is a flowchart showing an example of the operation of the above device. In the machining program, the approach point is the reference initial point A (see Fig. 3) to the top level ZF of the jig.
It is assumed that a correction initial point W (ZF + α ·) for correcting to a position (ZF + α ·) higher by α · is written. In FIG. 2, when the flow is started, the following fixed cycle command is read from the machining program in the machining program memory 3, for example.

G81;ドリルサイクル,スポットボーリング G82;ドリルサイクル,カウンタボーリング G83;ペックドリリングサイクル G84;タッピングサイクル G85;ボーリングサイクル1 G86;ボーリングサイクル2 G87;バックボーリングサイクル G88;ボーリングサイクル3 G89;ボーリンクサイクル4 これらの固定サイクル指令が読み込まれると、フローの
第段として、CPU1は読み出した固定サイクル指令を固
定サイクル指令レジスタ6a〜6nのそれぞれに保持させる
とともに、固定サイクルプログラムメモリ4に基づい
て、固定サイクル加工を処理する。
G81; Drill cycle, Spot boring G82; Drill cycle, Counter boring G83; Peck drilling cycle G84; Tapping cycle G85; Boring cycle 1 G86; Boring cycle 2 G87; Back boring cycle G88; Boring cycle 3 G89; Boring cycle 4 These When the fixed cycle command is read, the CPU 1 causes the read fixed cycle command to be held in each of the fixed cycle command registers 6a to 6n, and the fixed cycle machining is performed based on the fixed cycle program memory 4 as the second stage of the flow. To process.

但し、フローの第段として、CPU1により加工用プログ
ラム中にイニシャル点修正データ(修正イニシャル点
W)の必要を示す指示の有無を判断し、指示がある場合
には、フローの第段として、この修正イニシャル点W
を修正データレジスタ7に格納する。すなわち、修正イ
ニシャル点W(ZF+α)を格納する。そして、フロー
の第段として、数値制御による加工処理を行い、フロ
ーの第段として、イニシャル点変更指令G98がある場
合は、第1の戻り指令手段10aに従って修正イニシャル
点W(ZF+α3)へ戻り、イニシャル点変更指令G98が
ない場合、又はイニシャル点変更取消し指令G99がある
場合には、第2の戻り指令手段10bに従って基準イニシ
ャル点R(A)へ戻る動作がフローの第段で行われ
る。
However, as the first step in the flow, the CPU 1 determines whether or not there is an instruction in the machining program that indicates the need for initial point correction data (correction initial point W). Modified initial point W
Are stored in the modified data register 7. That is, the modified initial point W (ZF + α 3 ) is stored. Then, as a stage of the flow, a machining process by numerical control is performed, and when there is an initial point change command G98 as a stage of the flow, the process returns to the corrected initial point W (ZF + α3) according to the first return command means 10a, When there is no initial point change command G98 or when there is an initial point change cancel command G99, the operation of returning to the reference initial point R (A) according to the second return command means 10b is performed in the first stage of the flow.

以上の手順は、加工用プログラムのすべてのブロックに
ついて終了するまで繰返される。
The above procedure is repeated until all blocks of the machining program are completed.

第5図は、このような手順を加工用プログラムに編集し
た場合の該当部分を出力した見本図で、第4図に示した
従来例が7ステップであるのに比較して、4ステップと
簡略化され、処理時間的にも向上するのが理解できる。
FIG. 5 is a sample diagram in which the relevant portion is output when such a procedure is edited in a machining program. It is simplified to 4 steps in comparison with the conventional example shown in FIG. 4 which has 7 steps. It can be understood that the processing time is improved and the processing time is improved.

〔発明の効果〕〔The invention's effect〕

以上、説明したとおり、本発明によれば、固定サイクル
をキャンセルすることなく、イニシャル点の変更により
ワーク加工面の変化に対応でき、効率的な工作機械の固
定サイクル制御装置を提供することができる。
As described above, according to the present invention, it is possible to provide an efficient fixed cycle control device for a machine tool, which can cope with a change in a work surface by changing an initial point without canceling a fixed cycle. .

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

第1図は本発明の1実施例を示すブロック図、第2図は
実施例の動作手順を示すフローチャート、第3図は固定
サイクルの説明図、第4図と第5図はプログラムの出力
見本図である。 1;CPU、 2;キーボード付ディスプレイ、 3;加工用プログラムメモリ、 4;固定サイクルプログラムメモリ、 5;モータ、 6a〜6n;固定サイクル指令レジスタ、 7;修正データレジスタ、 8;固定サイクル処理手段、 9a;イニシャル点変更指令レジスタ、 9b;イニシャル点変更取消し指令レジスタ、 10a,10b;戻り指令手段、 101〜105;アンドゲート。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flow chart showing an operation procedure of the embodiment, FIG. 3 is an explanatory view of a fixed cycle, and FIGS. 4 and 5 are sample output programs. It is a figure. 1; CPU, 2; Display with keyboard, 3; Processing program memory, 4; Fixed cycle program memory, 5; Motor, 6a to 6n; Fixed cycle command register, 7; Correction data register, 8; Fixed cycle processing means, 9a; initial point change command register, 9b; initial point change cancel command register, 10a, 10b; return command means, 101 to 105; AND gate.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】加工用プログラムに、固定サイクル加工の
開始点である基準イニシャル点から所定パターンの反復
加工を行なう固定サイクルプログラムを設定し、前記加
工用プログラム中に固定サイクル指令を発見すると前記
固定サイクルプログラムを実行する工作機械の固定サイ
クル制御装置において、 前記加工用プログラム中にイニシャル点修正データが発
見された場合、この修正データを格納する修正データ記
憶手段と、 この修正データ記憶手段に前記イニシャル点修正データ
が格納されたとき、前記イニシャル点修正データから修
正イニシャル点を設定する固定サイクル処理手段と、 前記加工用プログラム中にイニシャル点変更指令が発見
されるとともに、前記固定サイクル処理手段に前記修正
イニシャル点が設定されている場合、前記修正イニシャ
ル点へ戻るよう戻り指令を発する第1の戻り指令手段
と、 前記加工用プログラム中にイニシャル点変更取消し指令
が発見された場合、前記基準イニシャル点へ戻るよう戻
り指令を発する第2の戻り指令手段と、 前記各手段を統轄制御する中央処理手段とを備え、 前記固定サイクルプログラムで加工する加工部位毎に修
正イニシャル点位置または基準イニシャル点位置に戻す
設定を可能としたことを特徴とする工作機械の固定サイ
クル制御装置。
1. A machining cycle program is set with a canned cycle program for performing repetitive machining of a predetermined pattern from a reference initial point which is the starting point of canned cycle machining. When a canned cycle command is found in the machining program, the stationary cycle program is fixed. In a fixed cycle control device for a machine tool that executes a cycle program, when initial point correction data is found in the machining program, correction data storage means for storing the correction data, and the initial data in the correction data storage means When the point correction data is stored, a fixed cycle processing means for setting a corrected initial point from the initial point correction data; and an initial point change command found in the machining program, and the fixed cycle processing means If the modified initial point is set, First return command means for issuing a return command to return to the corrected initial point, and second return command means for issuing a return command to return to the reference initial point when an initial point change cancellation command is found in the machining program. A return command means and a central processing means for controlling and controlling each of the means are provided, and it is possible to set to return to a corrected initial point position or a reference initial point position for each processing portion processed by the fixed cycle program. Machine tool fixed cycle control device.
JP61252769A 1986-10-23 1986-10-23 Machine tool fixed cycle controller Expired - Fee Related JPH07112663B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61252769A JPH07112663B2 (en) 1986-10-23 1986-10-23 Machine tool fixed cycle controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61252769A JPH07112663B2 (en) 1986-10-23 1986-10-23 Machine tool fixed cycle controller

Publications (2)

Publication Number Publication Date
JPS63105869A JPS63105869A (en) 1988-05-11
JPH07112663B2 true JPH07112663B2 (en) 1995-12-06

Family

ID=17242038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61252769A Expired - Fee Related JPH07112663B2 (en) 1986-10-23 1986-10-23 Machine tool fixed cycle controller

Country Status (1)

Country Link
JP (1) JPH07112663B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59232706A (en) * 1983-06-11 1984-12-27 Fanuc Ltd Hole drilling control device

Also Published As

Publication number Publication date
JPS63105869A (en) 1988-05-11

Similar Documents

Publication Publication Date Title
KR100432364B1 (en) Machine Tool
JPH0238342B2 (en)
JPH0239304A (en) Learning control system for numerical control machine tool
JPWO2000011528A1 (en) NC machining support method and device
JPH07112663B2 (en) Machine tool fixed cycle controller
JP2002239872A (en) Thermal displacement correcting method and thermal displacement correcting coefficient changing method as well as numerical control device having the same correcting function
EP0328663A4 (en) Method of replacing the tools
JPS63311408A (en) Numerical controller
JPH0366550A (en) Numerical control machine tool
US6567707B1 (en) Recording medium of CNC machine tool
JP2009110223A (en) Numerical control device, numerical control program, and storage medium storing numerical control program
JPS6232503A (en) Numerical controller
JP2766285B2 (en) Robot teaching method
JP2005031981A (en) Numerical controller
JP3198638B2 (en) Machine tools that process multiple types of workpieces with multiple types of tools
JPS60228049A (en) Method of controlling instruction for exchanging tool in numerically controlled machine tool
KR0176539B1 (en) Cutting control method of numerical control device and device
JPS5922103A (en) Numeric controlling method
JPH0558853B2 (en)
JPS6048243A (en) Zone margin machining method
JP2788557B2 (en) Numerical control unit
JPH0736532A (en) Teaching data creation method for industrial robots
JPH1190770A (en) Control method for machine tool
JPS58127207A (en) Controlling method in numerical control machine tool
JPH05237741A (en) Nc data originating method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees