JPH05158515A - Offset correcting method for nc cutting machine with tool turning shaft - Google Patents
Offset correcting method for nc cutting machine with tool turning shaftInfo
- Publication number
- JPH05158515A JPH05158515A JP35091091A JP35091091A JPH05158515A JP H05158515 A JPH05158515 A JP H05158515A JP 35091091 A JP35091091 A JP 35091091A JP 35091091 A JP35091091 A JP 35091091A JP H05158515 A JPH05158515 A JP H05158515A
- Authority
- JP
- Japan
- Prior art keywords
- tool
- offset
- offset amount
- turning
- angle
- 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
Links
- 238000000034 method Methods 0.000 title description 17
- 238000005520 cutting process Methods 0.000 title description 12
- 238000003860 storage Methods 0.000 abstract description 22
- 238000003801 milling Methods 0.000 description 12
- 238000003754 machining Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Landscapes
- Numerical Control (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、旋回式のミリングヘ
ッド等の工具旋回軸を有するNC切削機械のオフセット
補正方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an offset correcting method for an NC cutting machine having a tool turning axis such as a turning type milling head.
【0002】[0002]
【従来の技術】従来、ミリングヘッドを備えたターニン
グセンタ等の切削機械において、前記ミリングヘッドを
旋回可能とし、テーパ面や斜め孔の加工を可能としたも
のがある。前記ミリングヘッドには、種々の工具が自動
工具交換(ATC)装置で交換自在に取付けられる。各
工具は一般に刃先位置が種々異なっており、そのため工
具毎にオフセット量が設定され、加工時に工具位置補正
が行われる。工具の旋回角度を変更した場合は、工具旋
回角度に応じてオフセット量も変わる。そのため、旋回
角度に応じたオフセット量のデータ演算が必要になる
が、従来はこの演算を次のように自動工具交換の都度行
っている。2. Description of the Related Art Conventionally, there is a cutting machine equipped with a milling head, such as a turning center, in which the milling head can be swung and a tapered surface or an oblique hole can be machined. Various tools are interchangeably attached to the milling head by an automatic tool changer (ATC) device. Generally, each tool has a different cutting edge position, and therefore an offset amount is set for each tool, and the tool position is corrected during machining. When the turning angle of the tool is changed, the offset amount also changes according to the tool turning angle. Therefore, it is necessary to calculate the data of the offset amount according to the turning angle. Conventionally, this calculation is performed every time the automatic tool is changed as follows.
【0003】すなわち図4に示すように、加工前の準備
段階では、基準角でのオフセット量だけをNC装置の所
定の保存エリアに設定し(R1)、加工を開始する。加
工時に、Tコードによる工具交換や工具旋回を実行する
毎に(R2)、前記保存エリアのオフセット量データを
作業エリアに転送し(R3)、工具角度に応じた補正演
算を行い(R4)、演算結果を実行エリアに転送した後
(R5)、工具位置の補正を実行している(R6)。That is, as shown in FIG. 4, in the preparatory stage before processing, only the offset amount at the reference angle is set in a predetermined storage area of the NC device (R1) and processing is started. At the time of machining, every time tool exchange or tool turning by T code is executed (R2), the offset amount data of the storage area is transferred to the work area (R3), and correction calculation is performed according to the tool angle (R4). After the calculation result is transferred to the execution area (R5), the tool position is corrected (R6).
【0004】[0004]
【発明が解決しようとする課題】このように、従来は旋
回角度の変更に伴うオフセット量のデータ演算やデータ
転送をTコードの実行の都度行っていたため、これらの
演算時間等が機械動作の待ち時間となり、加工のサイク
ルタイムが長くなる原因となっていた。As described above, conventionally, the calculation of the offset amount data and the data transfer associated with the change of the turning angle are performed every time the T code is executed. This has been a time-consuming factor, and has been a cause of increasing the processing cycle time.
【0005】この発明の目的は、オフセット演算のため
の加工中の待ち動作がなく、サイクルタイムの短縮が図
れる工具旋回軸付きNC切削機械のオフセット補正方法
を提供することである。An object of the present invention is to provide an offset compensating method for an NC cutting machine with a tool swivel axis, which has no waiting operation during machining for offset calculation and can shorten cycle time.
【0006】[0006]
【課題を解決するための手段】この発明方法を実施例に
対応する図3と共に説明する。このオフセット補正方法
は、加工開始前に、工具旋回軸の旋回角度に基づいた刃
先位置のオフセット量を基準角度のオフセット量設定値
に基づいて予め演算し(S2)、各工具の各旋回角度毎
に所定の記憶領域に記憶する(S3)方法である。加工
時には、工具割出時(S4)に前記記憶領域の対応する
オフセット量を読み込んで工具位置補正する(S5)。The method of the present invention will be described with reference to FIG. 3 corresponding to an embodiment. In this offset correction method, before starting machining, the offset amount of the blade edge position based on the turning angle of the tool turning axis is calculated in advance based on the offset amount setting value of the reference angle (S2), and each turning angle of each tool is calculated. Is stored in a predetermined storage area (S3). At the time of machining, at the time of tool indexing (S4), the corresponding offset amount in the storage area is read to correct the tool position (S5).
【0007】[0007]
【作用】この方法によると、旋回角度の変更に対するオ
フセット量の変換が、前もって行われ、同一工具であっ
ても、1つの旋回角度に対して一つのオフセット量の記
憶領域が割当られる。そのため、加工時に補正演算を行
うことが不要で、演算のための機械の待ち時間がなくな
る。According to this method, the offset amount is converted in advance with respect to the change of the turning angle, and even for the same tool, one offset amount storage area is assigned to one turning angle. Therefore, it is not necessary to perform the correction calculation during machining, and the waiting time of the machine for the calculation is eliminated.
【0008】[0008]
【実施例】この発明の一実施例を図1ないし図3に基づ
いて説明する。図2は、この発明方法を適用するNC切
削機械の一例であるターニングセンタの斜視図である。
このターニングセンタは、位置固定の主軸1と、主軸1
に対面して2軸方向に移動可能なサブスピンドル2と、
タレット3と、ミリングヘッド4と、工具交換装置5と
を備え、前記ミリングヘッド4にこのオフセット補正方
法が適用される。主軸1に保持したワークは、タレット
3とミリングヘッド4とのいずれの工具によっても加工
可能であり、またサブスピンドル2に持ち替えて加工可
能としてある。工具交換装置5は、ミリングヘッド4の
工具を、交換アーム6によって工具マガジン7の任意の
工具と交換するものである。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be described with reference to FIGS. FIG. 2 is a perspective view of a turning center which is an example of an NC cutting machine to which the method of the present invention is applied.
This turning center consists of a fixed spindle 1 and a spindle 1.
And a sub-spindle 2 which is movable in two axial directions facing each other,
The turret 3, the milling head 4, and the tool changing device 5 are provided, and the offset correction method is applied to the milling head 4. The work held on the main spindle 1 can be processed by any of the tools of the turret 3 and the milling head 4, and can be carried by the sub-spindle 2 while being held. The tool exchanging device 5 exchanges the tool of the milling head 4 with an arbitrary tool of the tool magazine 7 by the exchanging arm 6.
【0009】ミリングヘッド4は、回転工具および固定
工具のいずれでも装着可能なものであり、傾斜したベッ
ド8上に可動台9および旋回台10を介して設置され
て、2軸X,Z方向の送りと、両軸X,Zに対する垂直
な旋回軸B回りの旋回とが可能である。各軸X,Zの送
りは図1のX軸サーボモータ11およびZ軸サーボモー
タ12により送りねじ(図示せず)を介して行われ、旋
回軸B回りの旋回は旋回駆動装置13により行われる。The milling head 4 can be mounted with either a rotary tool or a fixed tool, is installed on a slanted bed 8 via a movable base 9 and a swivel base 10, and is mounted in two axes X and Z directions. Feeding and swiveling about a swivel axis B perpendicular to both axes X and Z are possible. The feed of each axis X and Z is performed by a feed screw (not shown) by the X-axis servo motor 11 and the Z-axis servo motor 12 of FIG. 1, and the turning around the turning axis B is performed by the turning drive device 13. ..
【0010】図1はNC装置の機能ブロック図である。
NC装置14は、加工プログラム15を加工プログラム
実行手段16で実行してターニングセンタ全体の制御を
行う手段である。NC装置14には、ミリングヘッド4
の旋回に対するオフセット量変換を前もって行う手段と
して次の各手段が設けられている。FIG. 1 is a functional block diagram of the NC device.
The NC device 14 is a means for executing the machining program 15 by the machining program executing means 16 to control the entire turning center. The NC device 14 includes a milling head 4
The following means are provided as means for performing the offset amount conversion for the turning of the vehicle in advance.
【0011】すなわち、マクロプログラムからなるオフ
セット演算手段17と、その入力データを記憶する基準
角オフセット記憶手段18およびオフセット番号・旋回
角度記憶手段19と、演算結果を記憶する各旋回角オフ
セット記憶手段20とが設けてある。各旋回角オフセッ
ト記憶手段20は、加工中に実際に参照する実行エリア
に設定され、同一の工具であっても、1つの旋回角度
(B軸角度)に対して一つの記憶領域およびその領域を
示すオフセット番号AT が割当られる。That is, the offset calculation means 17 composed of a macro program, the reference angle offset storage means 18 and the offset number / turning angle storage means 19 for storing the input data thereof, and the respective turning angle offset storage means 20 for storing the calculation result. And are provided. Each turning angle offset storage means 20 is set as an execution area that is actually referred to during machining, and even for the same tool, one storage area and one area for one turning angle (B-axis angle) are set. The indicated offset number AT is assigned.
【0012】つぎに、オフセット補正方法を図3の流れ
図と共に説明する。まず、ミリングヘッド4に装着する
各工具の基準角でのオフセット量を、作業用記憶エリア
における基準角オフセット記憶手段18に設定し(S
1)、マクロプログラムからなるオフセット演算手段1
7を入力装置21からのMDI(手動入力操作)により
実行させる。例えば、「G101A5,B−45」で示
す書式のデータを入力することにより実行させる。上記
の書式における「G101」はオフセット演算手段17
を呼び出すためのコード、「A5」は演算結果の転送先
であるオフセット番号、「B−45」は工具の角度が4
5度であることを示すコードである。Next, the offset correction method will be described with reference to the flowchart of FIG. First, the offset amount at the reference angle of each tool mounted on the milling head 4 is set in the reference angle offset storage means 18 in the working storage area (S
1), offset calculation means 1 comprising a macro program
7 is executed by MDI (manual input operation) from the input device 21. For example, it is executed by inputting the data in the format of "G101A5, B-45". “G101” in the above format is offset calculation means 17
"A5" is the offset number that is the transfer destination of the calculation result, and "B-45" is the tool angle is 4
It is a code indicating that the angle is 5 degrees.
【0013】このように、各データを入力することによ
り、オフセット演算手段17は、工具の旋回角度に応じ
た刃先位置のオフセット量の補正演算を行い(S2)、
その演算結果を各旋回角オフセット記憶手段20におけ
るオフセット番号(AT =A5)で検索される記憶領域
に転送する(S3)。In this way, by inputting each data, the offset calculation means 17 performs correction calculation of the offset amount of the cutting edge position according to the turning angle of the tool (S2),
The calculation result is transferred to the storage area searched by the offset number (A T = A5) in each turning angle offset storage means 20 (S3).
【0014】旋回角度に応じた補正演算は、この実施例
では次の演算式に従って行われる。 xC ′=xC ×sin(α−π) −zC × cos(α) zC ′=xC × cos(α) −xC ×sin(α) 上式において、xC ,zC は各軸の基準角度のオフセッ
ト量、αは工具の旋回角度である。The correction calculation according to the turning angle is performed according to the following calculation formula in this embodiment. In x C '= x C × sin (α-π) -z C × cos (α) z C' = x C × cos (α) -x C × sin (α) above equation, x C, z C is The reference angle offset amount of each axis, α is the turning angle of the tool.
【0015】このようにして演算された各軸のオフセッ
ト量の演算結果xC′,zC ′が、オフセット番号AT
の各軸のオフセット量記憶部であるxT ,zT 部に転送
される。このような操作により、各工具につき、旋回角
度毎にオフセット量を演算して記憶させる。The calculation result x C ′, z C ′ of the offset amount of each axis calculated in this way is the offset number A T
Are transferred to the x T and z T parts which are the offset amount storage parts of the respective axes. By such an operation, the offset amount is calculated and stored for each turning angle for each tool.
【0016】一方、加工プログラム15におけるTコー
ド(工具指令コード)22には、工具種類と、旋回角度
αと、オフセット番号AT とを記述し、角度が変われば
別の工具として取り扱われるように、旋回角度毎に別の
Tコード22を記述する。On the other hand, the T code (tool command code) 22 in the machining program 15 describes the type of tool, the turning angle α, and the offset number AT , so that if the angle changes, it is treated as another tool. , Another T code 22 is described for each turning angle.
【0017】加工プログラム15を加工プログラム実行
手段16で実行して加工する過程では、Tコード22を
実行して工具交換や工具の角度割出を行う都度(S
4)、Tコード22中に指示されたオフセット番号AT
に対応する各旋回角オフセット記憶手段20の記憶デー
タにより、各軸X,Zのオフセット量の補正を実行する
(S5)。In the process of executing the machining program 15 by the machining program executing means 16, each time the T code 22 is executed to change the tool or index the angle of the tool (S).
4), the offset number AT specified in the T code 22
The offset amounts of the axes X and Z are corrected based on the storage data of the turning angle offset storage means 20 corresponding to (S5).
【0018】このオフセット補正方法によると、このよ
うに工具の旋回角度の変更に伴う刃先位置のオフセット
量の演算を前もって行い、実行エリアの所定の記憶部に
記憶しておくため、加工中にオフセット量の演算を行う
ことが不要で、演算時間による機械の待ち動作がなくな
る。そのためサイクルタイムが短縮される。なお、前も
って補正演算を行うことから段取り項目が多く、小ロッ
トには不向きであるが、ある程度のロットの加工を行う
場合は、段取り時間の増加に比べて加工時間の短縮効果
が大きく得られる。According to this offset correction method, the offset amount of the cutting edge position associated with the change of the turning angle of the tool is calculated in advance and stored in a predetermined storage unit in the execution area, so that the offset is generated during machining. It is not necessary to calculate the quantity, and there is no waiting operation of the machine due to the calculation time. Therefore, the cycle time is shortened. Since the correction calculation is performed in advance, there are many setup items and it is unsuitable for a small lot. However, when processing a lot to some extent, the effect of shortening the processing time is greater than the increase in the setup time.
【0019】また、この方法によると、Tコード22で
補正演算のマクロプログラムを実行しないため、加工プ
ログラム15中において、Tコード22を単独の行とし
て記述する必要がなく、特殊なプログラムにしなくて
も、機械移動中に工具マガジン7の割出が可能になる。Further, according to this method, since the macro program for the correction calculation is not executed by the T code 22, it is not necessary to describe the T code 22 as a single line in the machining program 15, and a special program is not required. Also, the tool magazine 7 can be indexed while the machine is moving.
【0020】なお、前記実施例ではTコード22中にオ
フセット番号AT を記述するようにしたが、Tコード2
2にはオフセット番号AT を記述せず、工具種類と旋回
角度とからオフセット番号AT を選出するテーブルを準
備しておき、Tコード22の実行時にそのテーブルを参
照してオフセット番号を選び出すようにしても良い。ま
た、前記実施例はターニングセンタに適用した場合につ
き説明したが、この発明方法は工具旋回軸付きのNC切
削機械一般に適用することができる。In the above embodiment, the offset number A T is described in the T code 22, but the T code 2
2 does not describe the offset number AT , but prepares a table for selecting the offset number AT from the tool type and the turning angle, and when executing the T code 22, refer to the table to select the offset number AT. You can Although the above embodiment has been described with respect to the case of being applied to a turning center, the method of the present invention can be applied to NC cutting machines with a tool turning shaft in general.
【0021】[0021]
【発明の効果】この発明のオフセット補正方法による
と、工具の旋回角度の変更に伴う刃先位置のオフセット
量の演算を前もって行い、同一工具であっても、各旋回
角度毎に所定の記憶領域に記憶しておくため、加工中に
オフセット量の演算を行うことが不要で、演算のための
機械の待ち動作がなくなってサイクルタイムが短縮され
る。According to the offset correction method of the present invention, the offset amount of the cutting edge position associated with the change of the turning angle of the tool is calculated in advance, and even for the same tool, a predetermined storage area is stored for each turning angle. Since it is stored, it is not necessary to calculate the offset amount during machining, the waiting time of the machine for the calculation is eliminated, and the cycle time is shortened.
【図1】この発明の一実施例にかかるオフセット補正方
法を適用するNC切削機械のNC装置の概念図である。FIG. 1 is a conceptual diagram of an NC device of an NC cutting machine to which an offset correction method according to an embodiment of the present invention is applied.
【図2】同切削機械であるターニングセンタの斜視図で
ある。FIG. 2 is a perspective view of a turning center that is the same cutting machine.
【図3】同実施例におけるオフセット補正方法を示す流
れ図である。FIG. 3 is a flow chart showing an offset correction method in the embodiment.
【図4】従来のオフセット補正方法を示す流れ図であ
る。FIG. 4 is a flowchart showing a conventional offset correction method.
1…主軸、4…ミリングヘッド、5…工具交換装置、1
4…NC装置、15…加工プログラム、17…オフセッ
ト演算手段、18…基準角オフセット記憶手段、20…
各旋回角オフセット記憶手段、22…Tコード、B…軸1 ... Spindle, 4 ... Milling head, 5 ... Tool changer, 1
4 ... NC device, 15 ... Machining program, 17 ... Offset calculation means, 18 ... Reference angle offset storage means, 20 ...
Each turning angle offset storage means, 22 ... T code, B ... axis
Claims (1)
基づいた刃先位置のオフセット量を基準角度のオフセッ
ト量設定値に基づいて演算し、各工具の各旋回角度毎に
所定の記憶領域に記憶する過程と、加工時における工具
指令コードの実行時に前記記憶領域の対応するオフセッ
ト量を読み込んで工具位置補正する過程とを含む工具旋
回軸付きNC切削機械のオフセット補正方法。1. Before starting machining, an offset amount of a cutting edge position based on a turning angle of a tool turning axis is calculated based on an offset amount set value of a reference angle, and a predetermined storage area is set for each turning angle of each tool. And a step of correcting the tool position by reading the corresponding offset amount in the storage area at the time of executing the tool command code at the time of machining.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP35091091A JPH05158515A (en) | 1991-12-10 | 1991-12-10 | Offset correcting method for nc cutting machine with tool turning shaft |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP35091091A JPH05158515A (en) | 1991-12-10 | 1991-12-10 | Offset correcting method for nc cutting machine with tool turning shaft |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05158515A true JPH05158515A (en) | 1993-06-25 |
Family
ID=18413734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP35091091A Pending JPH05158515A (en) | 1991-12-10 | 1991-12-10 | Offset correcting method for nc cutting machine with tool turning shaft |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05158515A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1217481A1 (en) * | 2000-12-21 | 2002-06-26 | Mori Seiki Co., Ltd. | Control apparatus for cutting machine and method of indication |
EP1243992A2 (en) * | 2001-01-31 | 2002-09-25 | Mori Seiki Co., Ltd. | Tool presetter and tool offset amount calculation method |
CN109144078A (en) * | 2018-11-13 | 2019-01-04 | 楚天智能机器人(长沙)有限公司 | One kind being based on the conllinear Twin Rudders wheel AGV route method for correcting error of two-dimension code navigation and system |
-
1991
- 1991-12-10 JP JP35091091A patent/JPH05158515A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1217481A1 (en) * | 2000-12-21 | 2002-06-26 | Mori Seiki Co., Ltd. | Control apparatus for cutting machine and method of indication |
EP1243992A2 (en) * | 2001-01-31 | 2002-09-25 | Mori Seiki Co., Ltd. | Tool presetter and tool offset amount calculation method |
EP1243992A3 (en) * | 2001-01-31 | 2005-02-09 | Mori Seiki Co., Ltd. | Tool presetter and tool offset amount calculation method |
CN109144078A (en) * | 2018-11-13 | 2019-01-04 | 楚天智能机器人(长沙)有限公司 | One kind being based on the conllinear Twin Rudders wheel AGV route method for correcting error of two-dimension code navigation and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6257852A (en) | Automatic programming device | |
JPH028855B2 (en) | ||
US20120116570A1 (en) | Tool changer of machine tool | |
WO2022004252A1 (en) | Machine tool | |
JP3171298B2 (en) | Numerically controlled machine tools | |
JPH05158515A (en) | Offset correcting method for nc cutting machine with tool turning shaft | |
JPH0741442B2 (en) | Numerical control device with tool compensation amount input function | |
JP2882534B2 (en) | Turning center tool calling device Built-in numerical controller | |
JP7019085B1 (en) | Machine Tools | |
JPS63311408A (en) | Numerical controller | |
JP2004086306A (en) | Multiple system numerical controller | |
JPH05162002A (en) | Combined machine tool with detector for dimension and position of work to be machined | |
US5014209A (en) | Method of forming configuration data for CNC machining apparatus | |
JPH05305540A (en) | Tool exchange method for working device | |
JPH06218645A (en) | Automatic tool change control and device therefor | |
JPH08118203A (en) | Control method of nc lathe and device thereof | |
JPH0542452A (en) | Non-circularity working method by machining and non-circularity nc working machine | |
JP4286940B2 (en) | NC machining program creation method and apparatus for machine tools | |
JPH04237307A (en) | Automatic transformation device for coordinate axis | |
JPH0542477A (en) | Feed quantity control device of grinding wheel for composite working machine | |
JP2604003B2 (en) | Numerical controller for machining non-round workpieces | |
JP2843180B2 (en) | Group management control method | |
JP2926524B2 (en) | Numerical controller with trial cutting function | |
JPH0739069B2 (en) | Numerical control machine tool | |
WO2022113223A1 (en) | Machine tool |