JPH05127726A - Coordinate specifying method of nc machine - Google Patents

Coordinate specifying method of nc machine

Info

Publication number
JPH05127726A
JPH05127726A JP31351691A JP31351691A JPH05127726A JP H05127726 A JPH05127726 A JP H05127726A JP 31351691 A JP31351691 A JP 31351691A JP 31351691 A JP31351691 A JP 31351691A JP H05127726 A JPH05127726 A JP H05127726A
Authority
JP
Japan
Prior art keywords
command
feed
absolute
incremental
machining 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.)
Pending
Application number
JP31351691A
Other languages
Japanese (ja)
Inventor
Atsushi Momokita
淳 百北
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP31351691A priority Critical patent/JPH05127726A/en
Publication of JPH05127726A publication Critical patent/JPH05127726A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To apply the coordinate specifying method to a plate material bending machine and other general NC machines by accurately performing halfway actuation while using an easy-to-correct machining program which uses incremental feed commands. CONSTITUTION:This coordinate specifying method is applied when the machining program 14 which includes incremental feed commands (n3), (n6), and (n7) and absolute feed commands (n1) and (n2) is used. If a command which is started halfway is not the absolute feed command when this machining program 14 is started halfway, the absolute command retrieval means 17 of an MMC function part 12 retrieves a last absolute feed command first. Then an incremental command arithmetic means 18 calculates this last absolute feed command and following incremental feed commands up to the halfway started command and uses the arithmetic result as coordinate specification values at the time of halfway start.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、板材折曲機やパンチ
プレス、その他のNC加工機において、途中起動すると
きの座標指定方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for designating coordinates when a plate material folding machine, punch press, or other NC processing machine is started midway.

【0002】[0002]

【従来の技術】従来、板材折曲機において、図2に示す
ように板材送り装置51により板材Wを挟持型52に送
り込み、板材Wの挟持型52から突出した部分Waを曲
型53の上昇によって端曲げするものがある。このよう
な板材折曲機を用いて図3に示すように板材Wを多段に
折り曲げる場合、図4(A)〜(E)に示すように、板
材Wの曲げと送りを繰り返し、先端部分から順次加工す
る。
2. Description of the Related Art Conventionally, in a plate material folding machine, as shown in FIG. 2, a plate material feeding device 51 feeds a plate material W into a holding die 52, and a portion Wa of the plate material W protruding from the holding die 52 is raised by a bending die 53. There are things that bend at the edges. When the plate material W is bent in multiple stages as shown in FIG. 3 using such a plate material bending machine, as shown in FIGS. 4A to 4E, bending and feeding of the plate material W is repeated, and Process sequentially.

【0003】前記板材折曲機の運転は、一般に数値制御
で行われるが、図3の加工を行う場合の加工プログラム
は、例えば図5に示すようになる。なお、図3のA〜C
の折曲部分の寸法は、各々20mm,10mm,5mmである
とする。図5の加工プログラムは、シーケンスナンバー
n1〜n7を付記したように、ブロック化した指令から
なり、各々のブロックは、アドレス「M」に続く4桁の
数字で示される指令の種類と、送り量をアブソリュート
値でミリ単位に指定したワード(例えば「X500」)
とで構成される。
The operation of the plate bending machine is generally performed by numerical control, and the machining program for the machining shown in FIG. 3 is as shown in FIG. 5, for example. In addition, A to C of FIG.
The dimensions of the bent portions are 20 mm, 10 mm, and 5 mm, respectively. The machining program of FIG. 5 is made up of instructions that are made into blocks, as shown by adding sequence numbers n1 to n7, and each block includes the type of instruction indicated by a four-digit number following the address “M” and the feed amount. A word that specifies the absolute value in millimeters (for example, "X500")
Composed of and.

【0004】図5の加工プログラムによると、n2の指
令に続いてn3の指令が実行されることにより、その送
り指令値の差、すなわち500−490=10mmの送り
が行われる。図4で説明すると、(A)から(B)の動
作が行われる。また、図5のn3からn5のまでの指令
が実行されることにより、図4(B)から(D)の動作
が行われ、20mmの送りが行われることになる。
According to the machining program of FIG. 5, by executing the command of n3 after the command of n2, the difference of the feed command values, that is, the feed of 500-490 = 10 mm is performed. Explaining with reference to FIG. 4, the operations (A) to (B) are performed. Further, by executing the commands from n3 to n5 of FIG. 5, the operations of FIGS. 4 (B) to (D) are performed, and the feed of 20 mm is performed.

【0005】[0005]

【発明が解決しようとする課題】ここで、加工形状の寸
法を変更する場合、例えば図3の寸法Bの折曲部分を1
1mmに変更する場合、図5の加工プログラムは、n3の
指令における「X490」の指令部分を「X489」に
修正する。このとき、n3の指令だけを変更すると、次
の20mmの曲げ部分が19mmになってしまうため、n5
の指令の「X470」の指令部分も、「X469」と修
正する必要がある。
Here, when changing the dimension of the processed shape, for example, the bent portion of dimension B in FIG.
When changing to 1 mm, the machining program of FIG. 5 corrects the command portion of “X490” in the command of n3 to “X489”. At this time, if only the command of n3 is changed, the bending portion of the next 20 mm becomes 19 mm, so n5
The command portion of “X470” of the command of 1 must also be corrected to “X469”.

【0006】このように、アブソリュート値で送り量を
指定すると、1箇所の曲げ幅の変更のために、複数箇所
の指令を変更する必要が生じ、加工プログラムの修正が
面倒になる。
As described above, when the feed amount is designated by the absolute value, it is necessary to change the command at a plurality of locations in order to change the bending width at one location, which makes the modification of the machining program troublesome.

【0007】そのため、インクリメンタル送り指令を併
用し、図6のような加工プログラムにすることが考えら
れる。図6において、n3の指令における「DX−1
0」等で示す指令がインクリメンタル指令である。この
ようにインクリメンタル送り指令とすると、図3のBの
寸法を10mmから11mmに変更する場合に、n3の指令
における「DX−10」で示す指令部分を、「DX−1
1」に変更するだけで、他の指令に影響を与えずにプロ
グラム修正が行える。
Therefore, it is conceivable that the machining program as shown in FIG. 6 is used together with the incremental feed command. In FIG. 6, “DX-1 in the command of n3
The command indicated by "0" or the like is an incremental command. If the incremental feed command is used in this way, when changing the dimension of B in FIG. 3 from 10 mm to 11 mm, the command portion indicated by “DX-10” in the command of n3 is changed to “DX-1
Only by changing to 1 ”, the program can be modified without affecting other commands.

【0008】ところが、インクリメンタル指令を含む加
工プログラムの場合、加工を中断した後等に、加工プロ
グラムの途中から再起動するときに、正確な位置決めが
行えない。例えば、図6のn6の指令から加工を再開し
ようとすると、インクリメンタル送り指令の「DX−2
0」が実行されるので、現在位置にかかわらず、現在位
置から20mm移動させた所からスタートしてしまう。n
6の指令は、本来、X500−10−20=470の位
置からスタートする指令であるが、加工の中断時に板材
の位置がずれると、そのずれた位置を基準として20mm
移動させてスタートすることになってしまう。
However, in the case of a machining program including an incremental command, accurate positioning cannot be performed when the machining program is restarted from the middle after machining is interrupted. For example, if it is attempted to restart machining from the command n6 in FIG. 6, the incremental feed command "DX-2
Since "0" is executed, regardless of the current position, it will start from the position moved 20 mm from the current position. n
The command of 6 is originally a command to start from the position of X500-10-20 = 470, but if the position of the plate material shifts during the interruption of processing, 20 mm is used as a reference based on the shifted position.
I will move and start.

【0009】この発明の目的は、インクリメンタル送り
指令を使用した修正し易い加工プログラムを使用しなが
ら、途中起動が正確に行えるNC加工機の座標指定方法
を提供することである。
An object of the present invention is to provide a coordinate designating method for an NC processing machine, which enables accurate start-up on the way while using a machining program which is easy to modify using an incremental feed command.

【0010】[0010]

【課題を解決するための手段】この発明方法を、実施例
に対応する図1と共に説明する。この座標指定方法は、
インクリメンタル送り指令(n3),(n6),(n
7)およびアブソリュート送り指令(n1),(n2)
を含む加工プログラム(13)を途中から起動するとき
に、途中起動の指令(例えばn6とする)がアブソリュ
ート送り指令でなければ、まず直前のアブソリュート送
り指令(n2)を検索する。このアブソリュート送り指
令(n2)およびその後の途中起動の指令(n6)まで
のインクリメンタル送り指令(n3),(n6)を演算
し、その演算結果を途中起動時の座標指定値とする。
The method of the present invention will be described with reference to FIG. 1 corresponding to an embodiment. This coordinate specification method is
Incremental feed command (n3), (n6), (n
7) and absolute feed command (n1), (n2)
When the machining program (13) including the above is started midway, if the midway start command (for example, n6) is not the absolute feed command, the immediately preceding absolute feed command (n2) is searched first. The absolute feed command (n2) and the incremental feed commands (n3) and (n6) up to the subsequent half-start command (n6) are calculated, and the calculation result is used as the coordinate designation value at the middle start.

【0011】[0011]

【作用】この方法によると、加工を開始する指令がイン
クリメンタル送り指令である場合に、直前のアブソリュ
ート送り指令を検索し、加工を開始する座標位置を演算
するため、加工プログラムの途中からの加工を精度良く
行うことが可能になる。
According to this method, when the command to start machining is the incremental feed command, the immediately preceding absolute feed command is searched and the coordinate position to start machining is calculated. Therefore, machining from the middle of the machining program is performed. It becomes possible to perform with high accuracy.

【0012】[0012]

【実施例】この発明の一実施例を図1に基づいて説明す
る。板材折曲機1は、折曲機本体2と板材送り装置3と
からなり、折曲機本体3に、板材Wを上下に挟む開閉可
能な挟持型4と、板材Wの挟持型4から突出した部分を
押し上げて端曲げする昇降可能な曲型5とを備えてい
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be described with reference to FIG. The plate material folding machine 1 is composed of a folding machine body 2 and a plate material feeding device 3, and the folding machine body 3 has an openable / closable holding die 4 for vertically sandwiching a plate material W and a holding die 4 for holding the plate material W. And a bendable mold 5 capable of moving up and down to push up the bent portion and bend the end.

【0013】板材送り装置3は、C字状のキャリッジ6
の先端に、板材Wの中心部をクランプする板材回転装置
7を設けたものであり、キャリッジ6はレール(図示せ
ず)上に進退自在に設置されて、送りねじ8およびその
駆動用のサーボモータ9により進退駆動される。板材回
転装置7は、板材Wを90°または180°割出回転さ
せ、板材Wの各辺を折曲機本体2へ送り可能とするもの
である。
The plate material feeding device 3 includes a C-shaped carriage 6
The plate material rotating device 7 for clamping the central part of the plate material W is provided at the tip of the carriage 6. The carriage 6 is installed on a rail (not shown) so as to be movable back and forth. It is driven back and forth by the motor 9. The plate material rotating device 7 rotates the plate material W by 90 ° or 180 ° so that each side of the plate material W can be fed to the bending machine body 2.

【0014】NC装置10は、板材送り装置1の全体を
制御する手段であり、NC機能部11と、MMC(マン
マシンコントローラ)機能部12と、加工プログラムメ
モリ13と、プログラマブルコントローラ(図示せず)
とを備えている。NC機能部11は、加工プログラム1
4を演算制御部15で実行して各軸の軸移動指令をサー
ボコントローラ16に出力すると共に、加工プログラム
14のシーケンス制御指令をプロラマブルコントローラ
部に転送する手段である。
The NC device 10 is a means for controlling the entire plate feeding device 1, and includes an NC function unit 11, an MMC (Man Machine Controller) function unit 12, a machining program memory 13, and a programmable controller (not shown). )
It has and. The NC function unit 11 is the machining program 1
4 is executed by the arithmetic and control unit 15 to output the axis movement command of each axis to the servo controller 16 and to transfer the sequence control command of the machining program 14 to the programmable controller unit.

【0015】MMC機能部12は、NC装置とオペレー
タとのインタフェースを制御する手段であり、その機能
手段の一部として、起動スイッチSWに応答して動作す
るアブソリュート指令検索手段17と、インクリメンタ
ル指令演算手段18とを備えている。両手段17,18
の機能は後に説明する。
The MMC function section 12 is means for controlling the interface between the NC device and the operator, and as a part of the function means, an absolute command retrieval means 17 which operates in response to the start switch SW, and an incremental command calculation. Means 18 and. Both means 17, 18
The function of will be described later.

【0016】加工プログラムメモリ13内にプログラム
例を図示した加工プログラム14は、図6と共に前述し
たインクリメンタル送り指令およびアブソリュート送り
指令併用のプログラムであり、図4に示す動作過程で、
図3の形状の曲げ加工を行う指令が記述されている。
A machining program 14 whose example program is shown in the machining program memory 13 is a program that uses both the incremental feed command and the absolute feed command described above with FIG. 6, and in the operation process shown in FIG.
The command for performing the bending process of the shape of FIG. 3 is described.

【0017】つぎに、途中起動時の座標指定方法を説明
する。図1の加工プログラム14を途中から起動する場
合に、アブソリュート送り指令から起動するときは、そ
のまま起動するが、インクリメンタル送り指令から起動
するときは、次のように座標指定を行う。
Next, a method of designating coordinates at the time of midway activation will be described. When the machining program 14 shown in FIG. 1 is started midway, when it is started from the absolute feed command, it is started as it is, but when it is started from the incremental feed command, coordinate designation is performed as follows.

【0018】例えばn6の指令ブロックから起動する場
合、アブソリュート指令検索手段17は、加工プログラ
ム14における一つずつ前のブロックのデータを順次見
て、直前のアブソリュート送り指令n2を検索する。イ
ンクリメンタル指令演算手段18は、この検索されたア
ブソリュート送り指令n2の指令値「X500」を基準
として、後の途中起動までの各インクリメンタル送り指
令n3,n6の指令値を演算し、その演算結果を途中起
動時の座標指定値とする。すなわち、この例では、X5
00−10−20=470の値から加工を開始する。
For example, when starting from the command block of n6, the absolute command searching means 17 sequentially looks at the data of the previous block one by one in the machining program 14 and searches for the immediately preceding absolute feed command n2. The incremental command calculation means 18 calculates the command value of each incremental feed command n3, n6 until the subsequent start up on the basis of the retrieved command value "X500" of the absolute feed command n2, and outputs the calculation result on the way. Use the coordinate specification value at startup. That is, in this example, X5
The processing is started from the value of 00-10-20 = 470.

【0019】このように、この座標指定方法によると、
インクリメンタル送り指令を用いた修正し易い加工プロ
グラム14を使用しながら、途中起動を精度良く行うこ
とができる。
Thus, according to this coordinate designating method,
While using the machining program 14 that is easy to modify using the incremental feed command, it is possible to accurately start the process on the way.

【0020】なお、前記実施例は板材折曲機に適用した
場合につき説明したが、この発明方法は、パンチプレス
や、その他のNC加工機一般に適用することができる。
Although the above embodiment has been described for the case of being applied to a plate bending machine, the method of the present invention can be applied to a punch press and other NC processing machines in general.

【0021】また、オフセット等も処理することによ
り、今まで途中から加工できなかったプログラムを加工
可能とできる。例えば、各々異なる位置でパンチ加工を
行う2個のラムを有するタレットパンチプレス機(いわ
ゆる2トラックのパンチプレス)では、同じアブソリュ
ート値であっても、いずれのラムに対する値かでパンチ
位置間の距離だけワークテーブルの位置を異ならせる。
このような場合でも、使用ラムに応じたオフセット処理
を行うことにより、途中からの加工が可能になる。この
他に、各種の板材加工機において、板材送り装置による
板材の把持位置の変更等の処理を行う命令がプログラム
中に含む場合に、この命令に応じた演算処理を行うこと
により、途中からの加工が可能になる。ただし、使用ラ
ムの指定や把持位置の変更指令が、指令実行前の状態を
基準とする相対的な指令である場合は、加工プログラム
中の最初の使用ラム変更指令や、把持位置変更指令を遡
って検索し、それ以後の指令を演算する必要がある。
Further, by processing offsets and the like, it is possible to process a program that could not be processed halfway until now. For example, in a turret punch press machine (so-called two-track punch press) having two rams that perform punching at different positions, the distance between punch positions depends on which ram value is used, even if the absolute value is the same. Only different work table position.
Even in such a case, it is possible to perform machining from the middle by performing the offset process according to the ram used. In addition, in various plate material processing machines, when the program includes a command for processing such as changing the gripping position of the plate material by the plate material feeding device, by performing arithmetic processing according to this command, Processing becomes possible. However, if the specified ram to be used or the gripping position change command is a relative command based on the state before execution of the command, the first used ram change command or gripping position change command in the machining program is traced back. It is necessary to search for it and calculate the subsequent commands.

【0022】[0022]

【発明の効果】この発明の座標指定方法によると、加工
を開始する指令がインクリメンタル送り指令である場合
に、直前のアブソリュート送り指令を検索し、加工を開
始する座標位置を演算するため、インクリメンタル送り
指令を併用した修正し易い加工プログラムを使用しなが
ら、途中からの加工を精度良く行うことができるという
効果がある。
According to the coordinate designating method of the present invention, when the command to start machining is the incremental feed command, the immediately preceding absolute feed command is searched and the coordinate position to start machining is calculated. There is an effect that it is possible to perform machining from the middle with high accuracy while using a machining program that is easy to modify using a command together.

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

【図1】この発明の一実施例の座標指定方法を適用する
NC加工機である板材折曲機の構成説明図である。
FIG. 1 is a configuration explanatory view of a plate bending machine which is an NC processing machine to which a coordinate designating method according to an embodiment of the present invention is applied.

【図2】従来の板材折曲機の部分側面図である。FIG. 2 is a partial side view of a conventional plate bending machine.

【図3】同板材折曲機による加工例の説明図である。FIG. 3 is an explanatory diagram of a processing example by the plate material folding machine.

【図4】同板材折曲機による加工手順の説明図である。FIG. 4 is an explanatory view of a processing procedure by the plate bending machine.

【図5】同板材折曲機のアブソリュート送り指令のみに
よる加工プログラム例の説明図である。
FIG. 5 is an explanatory diagram of an example of a machining program of the plate bending machine using only an absolute feed command.

【図6】同板材折曲機のインクリメンタル送り指令とア
ブソリュート送り指令併用の加工プログラム例の説明図
である。
FIG. 6 is an explanatory diagram of an example of a machining program that uses both an incremental feed command and an absolute feed command of the plate bending machine.

【符号の説明】[Explanation of symbols]

1…板材折曲機、3…板材送り装置、4…挟持型、5…
曲型、11…NC機能部、12…MMC機能部、14…
加工プログラム、17…アブソリュート指令検索手段、
18…インクリメンタル指令演算手段、n1〜n7…指
令(ブロック)、W…板材
1 ... Plate material folding machine, 3 ... Plate material feeding device, 4 ... Clamping type, 5 ...
Musical type, 11 ... NC function part, 12 ... MMC function part, 14 ...
Machining program, 17 ... Absolute command retrieval means,
18 ... Incremental command calculation means, n1 to n7 ... Command (block), W ... Plate material

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 インクリメンタル送り指令およびアブソ
リュート送り指令を含む加工プログラムを途中から起動
するときに、途中起動の指令がアブソリュート送り指令
でなければ、直前のアブソリュート送り指令を検索し、
このアブソリュート送り指令およびその後の途中起動の
指令までのインクリメンタル送り指令を演算し、途中起
動時の座標指定値とするNC加工機の座標指定方法。
1. When a machining program including an incremental feed command and an absolute feed command is started midway, if the midway start command is not an absolute feed command, the immediately preceding absolute feed command is searched for,
This is a method for specifying the coordinates of the NC processing machine, in which the absolute feed command and the incremental feed commands up to the subsequent mid-start command are calculated and used as the coordinate designation values during the mid-start.
JP31351691A 1991-10-30 1991-10-30 Coordinate specifying method of nc machine Pending JPH05127726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31351691A JPH05127726A (en) 1991-10-30 1991-10-30 Coordinate specifying method of nc machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31351691A JPH05127726A (en) 1991-10-30 1991-10-30 Coordinate specifying method of nc machine

Publications (1)

Publication Number Publication Date
JPH05127726A true JPH05127726A (en) 1993-05-25

Family

ID=18042254

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31351691A Pending JPH05127726A (en) 1991-10-30 1991-10-30 Coordinate specifying method of nc machine

Country Status (1)

Country Link
JP (1) JPH05127726A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016051249A (en) * 2014-08-29 2016-04-11 ブラザー工業株式会社 Numerical control device, and control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016051249A (en) * 2014-08-29 2016-04-11 ブラザー工業株式会社 Numerical control device, and control method

Similar Documents

Publication Publication Date Title
JP3904945B2 (en) Optimal data conversion method and numerical control machine tool for NC program
JP3665008B2 (en) Synchronization control method and synchronization control apparatus
US10324444B2 (en) Numerical controller including tool retracting function for avoidance of interference
US5170034A (en) Method and apparatus for welding robot control
JP3413954B2 (en) Motion controller
JPH05127726A (en) Coordinate specifying method of nc machine
KR840006456A (en) Numerical Control Machining Method
TW201715321A (en) Apparatus and method for transforming NC programs
JPS61173842A (en) Numerical control device
JP3115947B2 (en) Bending method and apparatus
JP4310018B2 (en) Tool position correction method for NC machine tools
JP3049485B2 (en) Control device for program operation machine and conversion device for control program
US5270940A (en) Contour configuration machining method
JP2734301B2 (en) Wire electric discharge machining method
JPH06335883A (en) Robot controller
JP3955776B2 (en) Data control method for numerically controlled machine tools and numerically controlled machine tools
JPS59211105A (en) Producing method of part program
JPS6349803A (en) Nc program production system for nc device
JPH07319520A (en) Method for controlling machine tool and device therefor
JPS603926B2 (en) Electric discharge machining control method
JP2869105B2 (en) Workpiece processing data editing method
JPS6232503A (en) Numerical controller
JP2005085095A (en) Numerical controller, parameter setting method for numerical controller, and numerical control program
JPH05119817A (en) Coordinate designating method for nc working machine
JPS603942B2 (en) Grooving control method in numerically controlled machine tools