JPH05289719A - Program converter for laser punch composite machine - Google Patents

Program converter for laser punch composite machine

Info

Publication number
JPH05289719A
JPH05289719A JP4118341A JP11834192A JPH05289719A JP H05289719 A JPH05289719 A JP H05289719A JP 4118341 A JP4118341 A JP 4118341A JP 11834192 A JP11834192 A JP 11834192A JP H05289719 A JPH05289719 A JP H05289719A
Authority
JP
Japan
Prior art keywords
command
program
code
laser
tool
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
JP4118341A
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 JP4118341A priority Critical patent/JPH05289719A/en
Publication of JPH05289719A publication Critical patent/JPH05289719A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Punching Or Piercing (AREA)
  • Laser Beam Processing (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To prevent the misinput of a T code when a laser machining mode or a punch machining mode sets in and to facilitate the program input jobs. CONSTITUTION:A program converter 1 consists of a conversion program and a computer which carries out the program and also contains an offset command generating means 7 and a T code generating means 8. The means 7 reads an unconverted machining program 9 to recognize a laser machining mode command 11 and adds a prescribed tool offset command 12 to the command 11. The means 8 reads the program 9 to recognize a laser machining mode end command 13 and adds a tool command code 'T1' 14 of a block A3 to the next block A7 right before the command 11.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、レーザ・パンチ複合
機を制御する一部省略状態の加工プログラムを完成状態
に変換するレーザ・パンチ複合機のプログラム変換装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program conversion device for a laser / punch compound machine for converting a partially omitted machining program for controlling the laser / punch compound machine to a completed state.

【0002】[0002]

【従来の技術】レーザ・パンチ複合機として、図5に示
すようにタレット式のパンチ機構部50とレーザヘッド
55とを備えたものがある。パンチ駆動部50は、上下
のタレット51,52の外周部に配列された各工具ステ
ーションにパンチ工具53およびダイ工具54を各々設
置し、パンチ位置Pでパンチ工具53をスライド駆動機
構(図示せず)により昇降駆動するものである。ワーク
送り装置62は、テーブル56上に載置した板状のワー
クWを、ワークホルダ57により前後(Y軸方向)およ
び左右(X軸方向)に送るものである。ワークホルダ5
7は、キャリッジ58と共にY軸サーボモータ59およ
び送りねじ60で前後に駆動され、かつX軸サーボモー
タ61および送りねじ(図示せず)で左右に駆動され
る。
2. Description of the Related Art As a laser / punch composite machine, there is a composite machine equipped with a turret type punch mechanism section 50 and a laser head 55 as shown in FIG. The punch driving unit 50 installs a punch tool 53 and a die tool 54 at respective tool stations arranged on the outer peripheral portions of the upper and lower turrets 51 and 52, and slides the punch tool 53 at a punch position P (not shown). ) To drive up and down. The work feeding device 62 feeds the plate-shaped work W placed on the table 56 back and forth (Y axis direction) and left and right (X axis direction) by the work holder 57. Work holder 5
The carriage 7 is driven back and forth together with the carriage 58 by a Y-axis servo motor 59 and a feed screw 60, and is driven left and right by an X-axis servo motor 61 and a feed screw (not shown).

【0003】このようなレーザ・パンチ複合機を制御す
るNC装置において、パンチ中心Pとレーザ中心Rとの
オフセットを処理する場合、レーザ加工用のTコード
(工具指令コード)を使用してオフセットをかけてい
る。
In an NC device controlling such a laser / punch composite machine, when processing an offset between a punch center P and a laser center R, a T code (tool command code) for laser processing is used to offset the offset. I'm hanging.

【0004】その加工プログラムの例を図6に示す。同
図において、加工プログラム63はNCコードで記述し
たものであり、1ブロックを1行に図示してある。各ブ
ロックB1〜B7は順次実行される。最初の2行のブロ
ックB1,B2はパンチ加工を行う指令であり、タレッ
ト51,52における所定のパンチ工具53を割り出す
工具指令コード「T1」と、板材WをX,Y方向に移動
させる送り指令コード「X…」,「Y…」とからなる。
An example of the machining program is shown in FIG. In the figure, the machining program 63 is described in NC code, and one block is shown in one line. The blocks B1 to B7 are sequentially executed. Blocks B1 and B2 in the first two rows are commands for punching, and a tool command code "T1" for indexing a predetermined punch tool 53 in the turrets 51 and 52 and a feed command for moving the plate material W in the X and Y directions. It consists of codes "X ..." And "Y ...".

【0005】第3行目のブロックB3は、Mコード(準
備コード)で示したレーザ加工モード指令「M20」
と、オフセットを行わせるためのTコード「T92」と
からなる。レーザ加工指令「M20」があると、次にブ
ロックB6に示すレーザ加工終了指令「M24」がある
まで、レーザ・パンチ複合機はレーザ加工モードとな
る。また、前記の「T92」コードにより、ワーク送り
装置62はワーク座標の原点をパンチ中心Pとレーザ中
心Rとの距離Lだけシフトする。すなわちオフセット処
理する。ブロックB4,B5はワーク送りを行う指令で
ある。ブロックB7はパンチ加工を行う指令であり、ブ
ロックB1,B2と同様に工具指令コード「T1」と送
り指令コード「X…」,「Y…」とからなる。
A block B3 on the third line is a laser processing mode command "M20" indicated by an M code (preparation code).
And a T code “T92” for offsetting. When the laser processing command “M20” is issued, the laser / punch multifunction machine is in the laser processing mode until the next laser processing end command “M24” shown in block B6. Further, the "T92" code causes the work feeding device 62 to shift the origin of the work coordinates by the distance L between the punch center P and the laser center R. That is, offset processing is performed. Blocks B4 and B5 are commands for feeding the work. A block B7 is a command for punching, and like the blocks B1 and B2, is composed of a tool command code "T1" and feed command codes "X ...", "Y ...".

【0006】[0006]

【発明が解決しようとする課題】加工プログラム63を
組むに際して、レーザ加工モードに切り換えるときに、
レーザ加工モード指令「M20」だけを記述して、オフ
セットのためのTコード「T92」の記述を忘れる場合
がある。そのため、オフセット処理を行わずに加工を行
って加工不良品を生じさせる恐れがある。
When forming the machining program 63, when switching to the laser machining mode,
There is a case where only the laser processing mode command “M20” is described and the description of the T code “T92” for offset is forgotten. Therefore, processing may be performed without performing offset processing, resulting in a defective product.

【0007】この発明の目的は、レーザ加工モードに切
り換えるに際して、工具オフセット指令の書き込み操作
を行わなくてもオフセット処理を行わせて複合機を良好
に動作させることのできるレーザ・パンチ複合機のプロ
グラム変換装置を提供することである。
An object of the present invention is to provide a program for a laser / punch multi-function machine which can perform an excellent operation of the multi-function machine by performing offset processing without writing a tool offset command when switching to the laser processing mode. It is to provide a conversion device.

【0008】[0008]

【課題を解決するための手段】この発明の構成を実施例
に対応する図1と共に説明する。このレーザ・パンチ複
合機のプログラム変換装置(1)は、加工プログラム
(9)を読み込んで、前記加工プログラム(9)におけ
るレーザ加工モード指令(11)を認識し、このレーザ
加工モード指令(11)に所定の工具オフセット指令
(12)を付加するオフセット指令発生手段(7)を設
けたものである。
The structure of the present invention will be described with reference to FIG. 1 corresponding to an embodiment. The program conversion device (1) of the laser / punch compound machine reads the machining program (9), recognizes the laser machining mode command (11) in the machining program (9), and recognizes the laser machining mode command (11). Further, an offset command generating means (7) for adding a predetermined tool offset command (12) is provided.

【0009】[0009]

【作用】変換前の加工プログラム(9)における各指令
は、オフセット指令発生手段(7)で順次読み込み、レ
ーザ加工モード指令(11)があると、その指令(1
1)に工具オフセット指令(12)を付加させる。
Each command in the machining program (9) before conversion is sequentially read by the offset command generating means (7), and if there is a laser machining mode command (11), that command (1
The tool offset command (12) is added to 1).

【0010】[0010]

【実施例】この発明の一実施例を図1ないし図4に基づ
いて説明する。このプログラム変換装置1は、後に図2
と共に説明する変換プログラムとその実行手段であるコ
ンピュータとからなり、図3に示すようにプログラマブ
ルマシンコントローラ2における自動プログラミング手
段3の一部として設けられ、あるいは図4に示すように
自動プログラミング手段3とは別にプログラマブルマシ
ンコントローラ2に設けられる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIGS. This program conversion device 1 will be described later in FIG.
The conversion program described below and a computer that executes the conversion program are provided as a part of the automatic programming means 3 in the programmable machine controller 2 as shown in FIG. 3, or as shown in FIG. It is separately provided in the programmable machine controller 2.

【0011】プログラマブルマシンコントローラ2は、
前述の図5の複合機の全体をNC装置4と共に制御する
ものであり、シーケンス制御機能と、マンマシンインタ
フェース機能等を備えている。NC装置4は、自動プロ
グラミング手段3等で生成された加工プログラムを実行
してサーボコントローラ5に軸送り指令を与えるとと共
に、加工プログラムにおけるシーケンス制御コードをプ
ログラマブルマシンコントローラ2に転送する手段であ
る。NC装置4は、加工プログラムにおける工具オフセ
ット指令に応答して軸送り指令のオフセットを行うオフ
セット補正手段6を備えている。図4の構成の場合は、
自動プログラミング手段3で作成された加工プログラム
をNC装置4で実行する過程で、加工プログラムがプロ
グラム変換装置1に転送され、変換された加工プログラ
ムで複合機の制御が行われる。
The programmable machine controller 2 is
It controls the entire complex machine shown in FIG. 5 together with the NC device 4, and has a sequence control function and a man-machine interface function. The NC device 4 is a means for executing a machining program generated by the automatic programming means 3 or the like to give an axis feed command to the servo controller 5 and transferring a sequence control code in the machining program to the programmable machine controller 2. The NC device 4 includes an offset correction unit 6 that performs an offset of the axis feed command in response to the tool offset command in the machining program. In the case of the configuration of FIG.
In the process of executing the machining program created by the automatic programming means 3 in the NC device 4, the machining program is transferred to the program conversion device 1 and the converted machining program controls the multifunction machine.

【0012】図1において、プログラム変換装置1はオ
フセット指令発生手段7とTコード発生手段8とを備え
ている。オフセット指令発生手段7は、変換前の加工プ
ログラム9を読み込んでレーザ加工モード指令11を認
識し、この指令11に所定の工具オフセット指令12を
付加する手段である。Tコード発生手段8は、加工プロ
グラム9を読み込んでレーザ加工モード終了指令13を
認識し、次のブロックA7に、レーザ加工モード指令1
1の直前のブロックA3における「T1」の工具指令コ
ード14を付加する手段である。
In FIG. 1, the program conversion device 1 comprises an offset command generating means 7 and a T code generating means 8. The offset command generating means 7 is a means for reading the machining program 9 before conversion, recognizing the laser machining mode command 11, and adding a predetermined tool offset command 12 to this command 11. The T code generating means 8 reads the processing program 9 and recognizes the laser processing mode end command 13, and then, in the next block A7, the laser processing mode command 1
This is means for adding the tool command code 14 of "T1" in the block A3 immediately before 1.

【0013】加工プログラム9は、NCコードでブロッ
ク分けして記述してあり、変換前において、レーザ加工
モード指令11の記述された同じブロックA3におい
て、工具オフセット指令は省略してある。また、レーザ
加工終了モード指令13の次のブロックA7において、
パンチ工具の選択のためのTコードを省略してある。
The machining program 9 is divided into blocks by NC code, and the tool offset command is omitted in the same block A3 in which the laser machining mode command 11 is described before conversion. In the block A7 next to the laser processing end mode command 13,
The T code for selecting the punch tool is omitted.

【0014】上記構成によるプログラム変換動作を図2
と共に説明する。変換前の加工プログラム9は、プログ
ラム変換装置1に1ブロック毎に順次読み込まれ(S
1)、レーザ加工モード指令11およびレーザ加工モー
ド終了指令13の何れかが認識されない場合は、ステッ
プS2からステップS5を経て、何も処理を行わずに次
のブロックの読み込みが行われる。したがって、ブロッ
クA1,A2は何も処理が施されずに、そのまま変換後
加工プログラム10として出力される。
FIG. 2 shows the program conversion operation according to the above configuration.
Will be explained together. The machining program 9 before conversion is sequentially read into the program conversion device 1 for each block (S
1) If either the laser processing mode command 11 or the laser processing mode end command 13 is not recognized, the next block is read without performing any processing through steps S2 to S5. Therefore, the blocks A1 and A2 are directly output as the post-conversion machining program 10 without any processing.

【0015】ブロックA3の「M20」で示されるレー
ザ加工モード指令11が認識されると、ステップS2か
らステップS3に進み、変換後の加工プログラム10で
はブロックA3′において、レーザ加工モード指令11
に「T92」で示される工具オフセット指令12を付加
する。また、直前のブロックA2における「T1」のT
コード14を所定の記憶エリアに記憶し(S4)、次の
ブロックA4の読み込みを行う(S1)。
When the laser machining mode command 11 indicated by "M20" in the block A3 is recognized, the process proceeds from step S2 to step S3, and the converted machining program 10 has the laser machining mode command 11 in block A3 '.
To the tool offset command 12 indicated by "T92". Also, the T of "T1" in the immediately preceding block A2
The code 14 is stored in a predetermined storage area (S4), and the next block A4 is read (S1).

【0016】ブロックA6の「M24」で示されるレー
ザ加工モード終了指令13が認識されると(S5)、次
のブロックA7にTコードの指定があるか否かを調べ
(S6)、指定がない場合は前記のステップS4で記憶
したレーザ加工直前の「T1」からなるTコード14
を、次ブロックA7の先頭に付加する。次ブロックA7
に予めTコードの指定がある場合は、ステップS6から
S1に進み、なにも処理を行わずに次のブロック(図示
せず)の読み込みを行う。
When the laser processing mode end command 13 indicated by "M24" in the block A6 is recognized (S5), it is checked whether or not the T code is specified in the next block A7 (S6), and there is no specification. In this case, the T code 14 consisting of "T1" immediately before laser processing stored in step S4
Is added to the beginning of the next block A7. Next block A7
If the T code is designated in advance, the process proceeds from step S6 to S1 to read the next block (not shown) without performing any processing.

【0017】このプログラム変換装置1によると、この
ように変換前加工プログラム9において、必ず必要なレ
ーザ加工モード指令11とレーザ加工モード終了指令1
3を入力するだけで、Tコードからなる工具オフセット
指令12およびレーザ加工直前のTコード11を内部的
に発生させることができる。そのため、これらTコード
11,12をわざわざ入力する作業が不要で、プログラ
ム作成のための入力作業が容易になると共に、Tコード
11,12の入れ忘れが防止される。
According to the program conversion device 1, the laser processing mode command 11 and the laser processing mode end command 1 which are always necessary in the pre-conversion processing program 9 are thus made.
A tool offset command 12 consisting of a T code and a T code 11 immediately before laser processing can be internally generated only by inputting 3. Therefore, the work of inputting these T-codes 11 and 12 is not required, the input work for creating the program is facilitated, and forgetting to insert the T-codes 11 and 12 is prevented.

【0018】レーザ加工モード終了指令11のブロック
A7に付加するTコード14は、レーザ加工の直前のT
コードであるが、この種の複合機ではレーザ加工の前後
で同じパンチ工具を使用して加工する場合が多い。ま
た、従来、ブロックA7にTコードの入れ忘れを生じて
いたのは、パンチ工具の変更のない場合であり、変更の
ある場合はTコードの入れ忘れを生じることは殆どな
い。そのため、常に直前のTコード14を付加すること
により効率的な加工プログラムの作成が行える。パンチ
工具を変える必要のある場合は、予めレーザ加工モード
終了指令13の次のブロックA7にTコードを記述して
おけば良い。
The T code 14 added to the block A7 of the laser processing mode end command 11 is the T code immediately before the laser processing.
It is a code, but in this type of multi-function machine, the same punch tool is often used before and after laser processing. Conventionally, the T code is left in the block A7 when the punch tool is not changed. If the punch tool is not changed, the T code is hardly left in the block A7. Therefore, an efficient machining program can be created by always adding the immediately preceding T code 14. If it is necessary to change the punch tool, a T code may be described in advance in the block A7 following the laser processing mode end command 13.

【0019】[0019]

【発明の効果】この発明のレーザ・パンチ複合機のプロ
グラム変換装置は、加工プログラムを読み込んでレーザ
加工モード指令を認識し、この指令に所定の工具オフセ
ット指令を付加するオフセット指令発生手段を設けたた
め、レーザ加工モードに切り換えるに際して工具オフセ
ット指令の入力操作を行わなくても工具オフセット指令
を自動発生して複合機を良好に動作させることができ
る。そのため、加工プログラムの作成のための入力操作
が簡単で、また入力ミスによる誤動作を防止することが
できる。
As described above, the program conversion device for a laser / punch compound machine according to the present invention is provided with the offset command generating means for reading the machining program to recognize the laser machining mode command and adding a predetermined tool offset command to the command. The tool offset command can be automatically generated and the multifunction peripheral can be operated well without inputting the tool offset command when switching to the laser processing mode. Therefore, the input operation for creating the machining program is easy, and the malfunction due to an input error can be prevented.

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

【図1】この発明の一実施例にかかるプログラム変換装
置の概念構成を示すブロック図である。
FIG. 1 is a block diagram showing a conceptual configuration of a program conversion device according to an embodiment of the present invention.

【図2】そのプログラム変換装置の変換プログラムの流
れ図である。
FIG. 2 is a flowchart of a conversion program of the program conversion device.

【図3】同プログラム変換装置を備えた制御装置の概念
構成を示すブロック図である。
FIG. 3 is a block diagram showing a conceptual configuration of a control device including the program conversion device.

【図4】前記プログラム変換装置を備えた他の制御装置
の概念構成を示すブロック図である。
FIG. 4 is a block diagram showing a conceptual configuration of another control device including the program conversion device.

【図5】従来のレーザ・パンチ複合機の構成説明図であ
る。
FIG. 5 is an explanatory diagram of a configuration of a conventional laser punch compound machine.

【図6】従来の加工プログラム例の説明図である。FIG. 6 is an explanatory diagram of a conventional machining program example.

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

1…プログラム変換装置、7…オフセット指令発生手
段、8…Tコード発生手段、9…変換前加工プログラ
ム、10…変換後加工プログラム、11…レーザ加工モ
ード指令、12…工具オフセット指令、13…レーザ加
工モード終了指令、14…工具指令コード、A1〜A
7,A3′,A7′…ブロック
DESCRIPTION OF SYMBOLS 1 ... Program conversion device, 7 ... Offset command generation means, 8 ... T code generation means, 9 ... Pre-conversion machining program, 10 ... Post-conversion machining program, 11 ... Laser machining mode command, 12 ... Tool offset command, 13 ... Laser Machining mode end command, 14 ... Tool command code, A1 to A
7, A3 ', A7' ... Block

フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06F 9/45 Continuation of front page (51) Int.Cl. 5 Identification code Office reference number FI Technical display area G06F 9/45

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 加工プログラムを読み込んで、前記加工
プログラムにおけるレーザ加工モード指令を認識し、こ
のレーザ加工モード指令に所定の工具オフセット指令を
付加するオフセット指令発生手段を設けたレーザ・パン
チ複合機のプログラム変換装置。
1. A laser-punch multifunction machine provided with an offset command generating means for reading a machining program, recognizing a laser machining mode command in the machining program, and adding a predetermined tool offset command to the laser machining mode command. Program conversion device.
JP4118341A 1992-04-10 1992-04-10 Program converter for laser punch composite machine Pending JPH05289719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4118341A JPH05289719A (en) 1992-04-10 1992-04-10 Program converter for laser punch composite machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4118341A JPH05289719A (en) 1992-04-10 1992-04-10 Program converter for laser punch composite machine

Publications (1)

Publication Number Publication Date
JPH05289719A true JPH05289719A (en) 1993-11-05

Family

ID=14734285

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4118341A Pending JPH05289719A (en) 1992-04-10 1992-04-10 Program converter for laser punch composite machine

Country Status (1)

Country Link
JP (1) JPH05289719A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1190660A (en) * 1997-09-22 1999-04-06 Nippei Toyama Corp Laser beam machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1190660A (en) * 1997-09-22 1999-04-06 Nippei Toyama Corp Laser beam machine

Similar Documents

Publication Publication Date Title
US4513379A (en) Customization window for a computer numerical control system
EP1195665B1 (en) Apparatus and method for setting control parameters of machining apparatus
US7689300B2 (en) Numerical control unit
WO1991014216A1 (en) Programming system for interactive numerical control device
US4737919A (en) Numerical control sequential translator
JP2002233929A (en) General machining program and nc finishing machine using it
JPH05289719A (en) Program converter for laser punch composite machine
JP3893334B2 (en) Multi-system numerical controller
JPS63311408A (en) Numerical controller
JP2852986B2 (en) Processing system
JP3269450B2 (en) Automatic programming device for multi-task machines
JP2004348448A (en) Device and method of numerical control for machine tool
JP3050991B2 (en) Tool offset shape data input type numerical control method and device
JP2813194B2 (en) Automatic programming device
JP2637819B2 (en) Method of managing processed data by IC card
JPH04237307A (en) Automatic transformation device for coordinate axis
JP2559211B2 (en) Automatic coordinate axis conversion device
JPH0513019B2 (en)
JP2703616B2 (en) Control method of multi-tasking machine that performs laser machining and punching using IC card
JP2789963B2 (en) Control device of laser / punch compound machine
JP2875801B2 (en) DNC equipment
JP3254684B2 (en) NC punch press
JPH06155103A (en) Machining controlling method for two opposed spindle lathe
JP3175668B2 (en) Machine tool control device
JPH0561526A (en) Numerical controller for punch press