JP2001331212A - Working device - Google Patents

Working device

Info

Publication number
JP2001331212A
JP2001331212A JP2000148068A JP2000148068A JP2001331212A JP 2001331212 A JP2001331212 A JP 2001331212A JP 2000148068 A JP2000148068 A JP 2000148068A JP 2000148068 A JP2000148068 A JP 2000148068A JP 2001331212 A JP2001331212 A JP 2001331212A
Authority
JP
Japan
Prior art keywords
teaching
program
processing
line
command
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
JP2000148068A
Other languages
Japanese (ja)
Inventor
Masuki Tsukamoto
益樹 塚本
Hiroaki Shibata
裕章 柴田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2000148068A priority Critical patent/JP2001331212A/en
Publication of JP2001331212A publication Critical patent/JP2001331212A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a working device capable of moving a working head part from a teaching position at the present point of time to pre-and-post teaching positions indicated by an NC program only by one time of operation. SOLUTION: This working device is provided with a working head 3 to be teaching processed, a teaching box 7 with a step feed button 71 and a step return button 72 for inputting a movement command for moving the working head 3 from a first teaching position to a second teaching position, an NC control part 8 for performing skip processing from a first program line to a second program line corresponding to the second teaching position at the time of receiving one time of input of the movement command from the teaching box 7, and a working machine main body 1 for moving the working head 3 based on the command contents of the second program line. At the time of judging that the command contents of the program line to be judged are command contents related with the teaching position, the NC control part 8 judges that the second program line is detected, and outputs it to the working machine main body 1.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、加工装置に関す
るもので、特に、ティーチング操作の制御技術に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a processing apparatus and, more particularly, to a technique for controlling a teaching operation.

【0002】[0002]

【従来の技術】以下、加工装置の一例として、三次元レ
ーザ加工機を例に挙げて説明する。図4は一般的な三次
元レーザ加工機システムの斜視図である。1は三次元レ
ーザ加工機本体、2は矢印X方向に動かすことのできる
加工テーブル、3は加工ヘッド、4は加工ヘッド3を矢
印Z方向に動かすことのできるZ軸ユニット、5はZ軸
ユニット4を矢印Y方向に動かすことのできるY軸ユニ
ットである。6は加工テーブル2上に設置されたレーザ
加工ワークすなわち被加工物、7はティーチングボック
ス、8はNC制御部である。
2. Description of the Related Art A three-dimensional laser processing machine will be described below as an example of a processing apparatus. FIG. 4 is a perspective view of a general three-dimensional laser beam machine system. 1 is a three-dimensional laser beam machine main body, 2 is a processing table that can be moved in the direction of the arrow X, 3 is a processing head, 4 is a Z-axis unit that can move the processing head 3 in the direction of the arrow Z, and 5 is a Z-axis unit. 4 is a Y-axis unit that can move the reference numeral 4 in the arrow Y direction. Reference numeral 6 denotes a laser processing work, ie, a workpiece, set on the processing table 2, reference numeral 7 denotes a teaching box, and reference numeral 8 denotes an NC control unit.

【0003】次に、一般的な三次元レーザ加工機の主要
な構成を図5を用いて説明する。図5は一般的な三次元
レーザ加工機の概略構成を示すブロック図である。図5
において、103は操作部、105はレーザ発振器であ
る。
Next, the main configuration of a general three-dimensional laser beam machine will be described with reference to FIG. FIG. 5 is a block diagram showing a schematic configuration of a general three-dimensional laser beam machine. FIG.
In the figure, 103 is an operation unit, and 105 is a laser oscillator.

【0004】図6は、従来の一般的な加工プログラム作
成から本加工に至るまでのフローチャートである。図6
を用いて、一般的な加工プログラム作成から本加工に至
るまでの手順を説明する。ティーチングボックス7立ち
上げステップST101は、ティーチングボックスが使
用できるように諸設定を実施する工程(ステップ)であ
る。ティーチング作業ステップST102は、加工機を
使用し、被加工物に倣ってティーチングを実施する工程
である。ティーチングボックス操作終了ステップST1
03は、ステップST102によるティーチングが終了
した場合に、操作部103が使用できるように諸設定を
行う工程である。速度自動設定ステップST104は、
上述のステップST102で作成した三次元加工用レー
ザ加工プログラム(以下、適宜、NCプログラムと記
す)に、最適な速度を計算し、速度指令を付加するとい
う操作部103における工程である。プログラムサーチ
ステップST105は、操作部103から、速度指令の
付加されたNCプログラムを呼び出す工程である。動作
確認ステップST106は、操作部103からNCプロ
グラムをサイクルスタートし、レーザビームを出さない
空送り動作を確認する工程である。NCプログラム修正
判断ステップST107は、ステップST106の工程
においてNCプログラムに加工軌跡上の修正が必要か判
断する工程である。NCプログラム修正ステップST1
08は、ステップST107で修正が必要と判断された
場合に、NCプログラムの修正を行う工程である。
[0006] FIG. 6 is a flow chart from the creation of a conventional general machining program to the actual machining. FIG.
The procedure from the creation of a general machining program to the actual machining will be described with reference to FIG. The starting step ST101 of the teaching box 7 is a step (step) of performing various settings so that the teaching box can be used. The teaching work step ST102 is a step of performing teaching according to a workpiece using a processing machine. Teaching box operation end step ST1
03 is a step of performing various settings so that the operation unit 103 can be used when the teaching in step ST102 is completed. Speed automatic setting step ST104
This is a process in the operation unit 103 of calculating an optimum speed and adding a speed command to the laser processing program for three-dimensional processing (hereinafter, appropriately referred to as an NC program) created in step ST102 described above. The program search step ST105 is a step of calling the NC program to which the speed command is added from the operation unit 103. The operation confirmation step ST106 is a step of starting the cycle of the NC program from the operation unit 103 and confirming the idle feeding operation that does not emit a laser beam. The NC program correction determining step ST107 is a step of determining whether or not the NC program needs to be corrected on the machining trajectory in the step ST106. NC program modification step ST1
08 is a step of modifying the NC program when it is determined in step ST107 that the modification is necessary.

【0005】NCプログラム起動ステップST109
は、レーザビーム源である発振器を立ち上げ、実際にレ
ーザ加工が行える準備を行う工程である。試し加工ステ
ップST110は、ステップST109で、操作部10
3からNCプログラムをサイクルスタートし、レーザビ
ームを出して加工動作を行う工程である。NCプログラ
ム修正判断ステップST111は、加工条件上の修正が
必要か判断する工程である。NCプログラム修正ステッ
プST112は、ステップST111で加工条件の修正
が必要と判断した場合に、NCプログラム修正を行う工
程である。
[0005] NC program starting step ST109
Is a step of starting up an oscillator, which is a laser beam source, and preparing for actual laser processing. The trial machining step ST110 is performed in step ST109.
In this step, the NC program is cycle-started from step 3 and a laser beam is emitted to perform a machining operation. The NC program correction determining step ST111 is a step of determining whether correction on the processing conditions is necessary. The NC program correction step ST112 is a step of correcting the NC program when it is determined in step ST111 that the processing conditions need to be corrected.

【0006】図7は、従来の一般的なティーチング作業
のフローチャートである。図7を用いて、一般的なティ
ーチング作業について説明する。ティーチングボックス
7上に配置された加工軸送りキーを押し、ティーチング
位置である第1教示点へ各軸を動かし(ステップST1
13)、第1教示点を教示する(ステップST11
4)。続いて次の教示点へ各軸を動かし(ステップST
115)、次の教示点を教示する(ステップST11
6)。1ブロック戻すキーを必要回数押して、前の教示
点へ加工機、具体的には加工ヘッド3を移動させる(ス
テップST117)。1ブロック進めるキーを必要回数
押して、次の教示点へ加工ヘッド3を移動させる(ステ
ップST118)。これらステップST117,ステッ
プST118での加工ヘッド3の動作で、教示点間の軌
跡に問題がないか判断する(ステップST119)。ス
テップST119で、軌跡に問題があると判断した場合
には、加工ヘッド3を停止させ、教示点を修正する(ス
テップST120)。上述のステップST115からス
テップST120までを繰り返す(ステップST12
1)。このステップST121で、ティーチング作業が
終了した場合に、全教示点を連続的に動かし、全教示点
の軌跡を確認する(ステップST122)。このステッ
プST122での加工ヘッド3の動作で、教示点間の軌
跡に問題がないか判断し(ステップST123)、軌跡
に問題があると判断した場合に、加工機を停止させ、教
示点を修正する(ステップST124)。
FIG. 7 is a flowchart of a conventional general teaching operation. A general teaching operation will be described with reference to FIG. The machining axis feed key arranged on the teaching box 7 is pressed, and each axis is moved to the first teaching point which is the teaching position (step ST1).
13), teach the first teaching point (step ST11)
4). Then, move each axis to the next teaching point (step ST
115), teach the next teaching point (step ST11)
6). The key for returning one block is pressed a required number of times to move the processing machine, specifically the processing head 3, to the previous teaching point (step ST117). The key for moving forward by one block is pressed a required number of times to move the processing head 3 to the next teaching point (step ST118). It is determined whether there is no problem in the trajectory between the teaching points by the operation of the processing head 3 in steps ST117 and ST118 (step ST119). If it is determined in step ST119 that there is a problem in the trajectory, the processing head 3 is stopped and the teaching point is corrected (step ST120). Steps ST115 to ST120 described above are repeated (step ST12).
1). When the teaching operation is completed in step ST121, all the teaching points are continuously moved to check the trajectories of all the teaching points (step ST122). In the operation of the processing head 3 in step ST122, it is determined whether there is a problem in the trajectory between the teaching points (step ST123). If it is determined that there is a problem in the trajectory, the processing machine is stopped to correct the teaching point. (Step ST124).

【0007】ここで、この従来例の説明においては、ス
テップST117の処理の説明として、前の教示点へ加
工ヘッド3を移動させることを戻し動作と表現し、その
ためにNCプログラムを1行すなわち1ブロックずつ戻
すキーを必要回数押す処理のことをステップ戻しと表現
し、ステップST118の処理の説明として、次の教示
点へ加工ヘッド3を移動させることを送り動作と表現
し、そのためにNCプログラムを1行ずつ進めるキーを
必要回数押す処理のことをステップ送りと表現してい
る。
Here, in the description of the conventional example, moving the machining head 3 to the previous teaching point is referred to as a return operation as an explanation of the processing in step ST117. The process of pressing the key for returning the block by the required number of times is referred to as step return, and as a description of the process of step ST118, moving the machining head 3 to the next teaching point is referred to as a feed operation. The process of pressing the key that advances one line at a time the required number of times is referred to as stepping.

【0008】このティーチング作業において、実際に
は、作業を進める度に図8に示すようなティーチング作
業によるNCプログラムが自動的に作成される。なお、
図8に示すNCプログラムにおいては、各行の右側に指
令コードの説明を付してあるが、実際にはこの指令コー
ドの説明はNCプログラムの中には入らない。
In this teaching work, actually, an NC program by the teaching work as shown in FIG. 8 is automatically created every time the work is advanced. In addition,
In the NC program shown in FIG. 8, the explanation of the instruction code is given on the right side of each line, but the explanation of this instruction code is not actually included in the NC program.

【0009】ティーチングボックス7上には、レーザビ
ーム外部シャッター開キーやシャッター閉キー,加工ス
タートキーや加工エンドキー,速度設定キーやハイト制
御有効キー,ハイト制御無効キー,さらにはプログラム
エンドキーや直線補間移動キー,円弧補間移動キー,曲
線補間移動キーなどのキーがあり、加工ヘッド3の移動
のためのティーチング作業をしながら、どの位置でレー
ザビームをオンしたりオフしたり、ハイト制御を有効に
したり無効にしたりするなどのチィーチング作業も行う
ことができる。例えば、図8に示すようなNCプログラ
ムを作成しながらティーチングする場合、シーケンス番
号N0011の曲線補間移動指令の部分まで教示した後
で、その位置でレーザビームをオフするコードM121
を指定するためティーチングボックス7上の加工エンド
を指定するキーを押してN0012の行まで進め、さら
にM199を指定するためハイト制御無効キーを押して
N0013の行まで進める。さらにN0014に示す通
り次の教示位置まで直線移動で教示するために、その位
置まで加工ヘッド3を移動させたあとで直線補間移動キ
ーを押すという操作になる。
On the teaching box 7, a laser beam external shutter open key, a shutter close key, a processing start key, a processing end key, a speed setting key, a height control valid key, a height control invalid key, a program end key and a straight line There are keys such as interpolation movement key, circular interpolation movement key, and curve interpolation movement key. During teaching work for moving the machining head 3, the laser beam can be turned on or off at any position, and height control can be enabled. Teaching work such as turning on or off can also be performed. For example, when teaching while creating an NC program as shown in FIG. 8, a code M121 for turning off the laser beam at that position after teaching up to the portion of the curve interpolation movement command of sequence number N0011.
Is pressed to specify the machining end on the teaching box 7 to specify the processing end, and advance to the line of N0012 by further pressing the invalidity control key to specify M199. Furthermore, in order to teach by a linear movement to the next teaching position as indicated by N0014, the operation is to press the linear interpolation movement key after moving the machining head 3 to that position.

【0010】さらにティーチングボックス7には、現在
教示中のNCプログラムの教示中の位置を部分的に表示
する表示パネルがある場合もあり、ティーチングボック
ス7内のキーだけの操作で、NCプログラムを確認しな
がら図7に示すティーチング作業を行うことができる。
Further, the teaching box 7 may have a display panel for partially displaying the teaching position of the currently taught NC program, and the NC program can be confirmed by operating only the keys in the teaching box 7. The teaching operation shown in FIG. 7 can be performed while doing so.

【0011】[0011]

【発明が解決しようとする課題】図8に示すようなNC
プログラムを作成し、確認しながらのチィーチング作業
において、例えばN0014の行に示す教示位置から1
つ前の教示位置まで加工ヘッド3を戻すための動作、す
なわち図7に示すステップST117のステップ戻しの
作業を行う操作としては、ティーチングボックス7上の
表示パネルにシーケンス番号N0014の行が表示され
ている状態において、ティーチングボックス7上にある
ステップ戻しキーを押すという作業が必要となる。しか
しここで、このステップ戻しキーを1回押しただけでは
番号N0013の行に処理の状態が変わるだけであり、
N0013の行には加工ヘッド3の移動、具体的には、
如何なる位置へどのような軌跡で移動するかというこ
と、に関する指令が無いため、加工ヘッド3は移動しな
いままとなる。さらにもう1回押した場合でも、番号N
0012の行に状態が変わるだけであり、加工ヘッド3
をN0014で指示する位置からその前にあった位置に
戻すためには、ステップ戻しキーを3回押して加工ヘッ
ド3の移動に関する指令があるN0011の行が示す状
態にまで戻さなければならない。
An NC as shown in FIG.
In the teaching work while creating and confirming a program, for example, from the teaching position shown in the row of N0014, 1
As an operation for returning the machining head 3 to the previous teaching position, that is, an operation for performing the step return operation of step ST117 shown in FIG. 7, a row of the sequence number N0014 is displayed on the display panel on the teaching box 7. In this state, it is necessary to press the step return key on the teaching box 7. However, here, if this step return key is pressed only once, only the state of the process is changed to the line of the number N0013.
Movement of the processing head 3 in the row of N0013, specifically,
Since there is no instruction regarding what position and on what locus to move, the processing head 3 does not move. Even if you press it again, the number N
Only the state changes to row 0012, and the processing head 3
In order to return from the position designated by N0014 to the previous position, the step return key must be depressed three times to return to the state indicated by the row of N0011 in which the instruction on the movement of the processing head 3 is given.

【0012】これは、例えば加工ヘッド3をN005で
示す位置からN0002で示す位置まで戻す場合、及び
N0017で示す位置からN0014で示す位置まで戻
す場合等も同様である。また逆に、既にN0014で示
す行以降まで一旦ティーチングが済んでいる状態で、N
0011で示す位置からステップ送りキーでN0014
で示す位置まで送る動作を確認する場合でも同じであ
る。すなわち、ステップ送りキーやステップ戻しキーを
1回押すだけで加工ヘッド3(加工機)が移動動作する
場合と、複数回、すなわち2回以上押さないと移動しな
い場合とがある。例えば図8の例では、N0002で示
す位置から次の位置を示す行であるN0005までの間
にはN0003とN0004の僅か2行だけがあるが、
場合によってはNCプログラムの中に種々のパラメータ
を示す文字やコメントなどを入れる場合があり、そのよ
うな場合は次の位置を示す行までの間に4行や5行など
多くの行を含むため、ステップ戻しキーやステップ送り
キーをかなり多くの回数押さなければならない、という
問題があった。
The same applies to the case where the processing head 3 is returned from the position indicated by N005 to the position indicated by N0002, and the case where the processing head 3 is returned from the position indicated by N0017 to the position indicated by N0014. Conversely, in the state where the teaching has already been performed up to the line indicated by N0014,
From the position indicated by 0011, N0014
The same is true when confirming the operation of sending to the position indicated by. That is, there are a case where the processing head 3 (processing machine) moves by pressing the step feed key and the step return key once, and a case where the processing head 3 (processing machine) does not move unless it is pressed a plurality of times, that is, twice or more. For example, in the example of FIG. 8, there are only two lines N0003 and N0004 between the position indicated by N0002 and the line indicating the next position N0005.
In some cases, characters or comments indicating various parameters may be included in the NC program. In such a case, many lines such as four or five lines are included before the line indicating the next position. However, there is a problem that the step return key and the step forward key must be pressed a large number of times.

【0013】また、ティーチング作業においては、手元
のティーチングボックス7に表示されるNCプログラム
を確認しながら加工ヘッド3を移動させて行う場合もあ
るが、加工ヘッド3と被加工物とが干渉しないように細
心の注意をしながら加工ヘッド3にだけ注目してティー
チングボックス7を見ずにステップ送りやステップ戻し
の操作を行うこともあるため、ステップ送りやステップ
戻しのボタンを1回押すだけで移動する場合と複数回押
さなければ移動しない場合とが混在するのは、操作上扱
い難い、という問題があった。NCプログラムの中の特
定部分だけをスキップして処理するなどの動作について
は、例えば特開昭57−69312号公報及び特開平3
−219303号公報等に、オプショナルブロックスキ
ップ機能として示されているものがある。しかしこれら
の公報に開示されているオプショナルブロックスキップ
機能の場合、使用者が、予め加工で使用するNCプログ
ラムの中においてどの場合にどの部分をスキップするか
を判定するための特有の記号を、本来加工に必要なNC
プログラムに別途付加しておく必要があり、そのための
作業が煩雑で多くの時間を費やしていた。
In the teaching work, the machining head 3 may be moved while confirming the NC program displayed on the teaching box 7 at hand. However, the machining head 3 and the workpiece do not interfere with each other. In some cases, step-forwarding and step-back operations may be performed without paying attention to the machining head 3 and paying attention to the teaching box 7, so that the user only needs to press the step-forward or step-back button once. There is a problem that it is difficult to handle the case where the operation is performed and the case where the operation is not performed unless the button is pressed several times is mixed. For operations such as skipping a specific part of the NC program and processing it, see, for example, JP-A-57-69312 and
Japanese Patent Laid-Open No. -219303 and the like disclose an optional block skip function. However, in the case of the optional block skip function disclosed in these publications, the user originally has to use a unique symbol for determining which part is to be skipped in the NC program used for processing in advance. NC required for processing
It had to be added separately to the program, and the work for that was complicated and took a lot of time.

【0014】この発明は、上述の課題を解決するために
なされたもので、個別のNCプログラム内に特殊な記号
を別途付加するといった煩雑な作業を行うことなく、N
Cプログラムをスキップさせ、1回の操作のみで、加工
用ヘッド部を、現時点のティーチング位置からNCプロ
グラムで示された前後のティーチング位置まで移動させ
ることができる加工装置を得るものである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and has been achieved without performing a complicated operation such as separately adding a special symbol in an individual NC program.
A processing apparatus capable of skipping the C program and moving the processing head portion from the current teaching position to the front and rear teaching positions indicated by the NC program with only one operation.

【0015】[0015]

【課題を解決するための手段】この発明による加工装置
は、ティーチングされる加工用ヘッド部と、この加工用
ヘッド部を第一のティーチング位置からこの第一のティ
ーチング位置とは異なる第二のティーチング位置まで移
動させるための移動指令を入力する移動指令入力部と、
この移動指令入力部からの1回の移動指令の入力を受け
て、NCプログラムの中の前記第一のティーチング位置
に対応した第一のプログラム行から前記第二のティーチ
ング位置に対応した第二のプログラム行までスキップ処
理するスキップ処理制御部と、前記第二のプログラム行
の指令内容に基き前記加工用ヘッド部を移動させる加工
用ヘッド部駆動手段とを有し、前記スキップ処理制御部
は、前記第一のプログラム行の隣の行から順次各プログ
ラム行の指令内容がティーチング位置に関する指令内容
か否かを判別する判別動作を繰り返し、この判別対象の
プログラム行の指令内容がティーチング位置に関する指
令内容であると判断した場合、前記第二のプログラム行
を検出したと判断し、前記加工用ヘッド部駆動手段へ出
力するものである。
According to the present invention, there is provided a processing apparatus comprising: a processing head portion to be taught; and a second teaching device which moves the processing head portion from a first teaching position to a position different from the first teaching position. A movement command input unit for inputting a movement command for moving to a position,
In response to one movement command input from the movement command input unit, a second program line corresponding to the second teaching position is obtained from a first program line corresponding to the first teaching position in the NC program. A skip processing control unit that performs a skip process up to a program line, and a processing head unit driving unit that moves the processing head unit based on the instruction content of the second program line, wherein the skip processing control unit includes: The determination operation of determining whether the instruction content of each program line is the instruction content relating to the teaching position is sequentially repeated from the line next to the first program line, and the instruction content of the determination target program line is determined by the instruction content relating to the teaching position. When it is determined that there is, it is determined that the second program line has been detected, and is output to the processing head unit driving means.

【0016】また、スキップ処理の機能の有効と無効と
を切り替えるスキップ機能選択手段を備えたものであ
る。
Further, there is provided a skip function selecting means for switching the function of the skip processing between valid and invalid.

【0017】[0017]

【発明の実施の形態】実施の形態1.この発明の第一の
実施の形態による加工装置の一例としての三次元レーザ
加工機を、図1及び図2を用いて説明する。図1は、こ
の発明の第一の実施の形態による加工装置による処理を
示すフローチャートである。例えば加工ヘッド3を、N
Cプログラムにおいて1つ先のティーチング位置まで移
動させようとした場合、図1(a)の処理ステップST
1において、NCプログラムの中の現在処理中の行の次
の行の指令内容を読み込み、処理ステップST2で、そ
の読み込んだ行の指令内容が該NCプログラムにおいて
行送りの処理を終了すべき指令、例えばその行がNCプ
ログラム全体の最後の行やその行の指令内容が加工終了
を指示したものである場合等、であるかどうかを判断す
る。指令内容が行送り処理を終了すべき指令であれば1
回分の送り処理を終了し、終了すべき指令でなければ処
理ステップST3でその行の指令内容が加工ヘッド3の
移動に関するものか否かを判別する。移動に関する指令
でなければ処理ステップST1に戻り、移動に関する指
令だった場合は処理ステップST4へ進み、1回分のス
キップ動作すなわち加工ヘッド3を1つ先のティーチン
グ位置まで移動させる処理を実行する。1つ前のティー
チング位置までの戻り動作をさせる場合も、図1(b)
に示すように、同様に処理する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 A three-dimensional laser processing machine as an example of a processing apparatus according to a first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a flowchart showing processing by the processing apparatus according to the first embodiment of the present invention. For example, the processing head 3 is set to N
When it is attempted to move to the next teaching position in the C program, the processing step ST in FIG.
In step 1, the instruction content of the line following the line currently being processed in the NC program is read, and in a processing step ST2, the instruction content of the read line is a command to end line feed processing in the NC program. For example, it is determined whether or not the line is the last line of the entire NC program or the case where the instruction content of the line is an instruction to end machining. 1 if the command content is a command to end line feed processing
The batch feed process is completed, and if it is not a command to be finished, it is determined in step ST3 whether or not the command content of the line relates to the movement of the machining head 3. If the command is not a command related to movement, the process returns to processing step ST1. If the command is a command related to movement, the process proceeds to processing step ST4, where one skip operation, that is, a process of moving the machining head 3 to the next teaching position is executed. FIG. 1B also shows the case where the return operation to the immediately preceding teaching position is performed.
As shown in FIG.

【0018】この実施の形態において、スキップとは、
読み込んだプログラム行の指令内容が移動に関する指令
でないと判断した場合に、その行の指令内容を実行せ
ず、更にその次の行、または前の行の読み込み・判別処
理へ進み、移動に関する指令を有するプログラム行に到
達するまで、その間のプログラム行の指令内容の実行を
省く処理、いわゆるプログラム行の「読み飛ばし」の処
理を示している。但し、結果的に、現在処理中のプログ
ラム行のすぐ隣の行の指令内容が移動に関する指令であ
った場合には、省略されるプログラム行は存在せず、2
行連続した処理が行われるが、この場合の処理も、スキ
ップの概念に含まれることは言うまでもない。
In this embodiment, skip means
If it is determined that the command content of the read program line is not a command related to movement, the command content of that line is not executed, and the process proceeds to the reading / determination processing of the next line or the previous line. A process of omitting the execution of the instruction content of the program line during the process until the program line having the program line is reached, that is, a process of so-called “skip” of the program line is shown. However, as a result, if the command content of the line immediately adjacent to the program line currently being processed is a command relating to movement, there is no program line to be omitted and 2
The processing is performed in a row-continuous manner. Needless to say, the processing in this case is also included in the concept of skip.

【0019】また図2は、この発明の第一の実施の形態
による三次元レーザ加工機の概略構成を示すブロック図
である。この実施の形態のものでは、ティーチングボッ
クス7の中に、ステップ送りボタン71及びステップ戻
しボタン72を有している。このステップ送りボタン7
1を1回押すことにより、次の移動に関する指令内容を
有する行までのスキップ送りを指示する信号が出力され
る。同様に、ステップ戻しボタン72を1回押すことに
より、1つ前の移動に関する指令内容を有する行までの
スキップ戻りを指示する信号が出力される。すなわち、
この実施の形態のものにおいて、ステップ送り,ステッ
プ戻しとは、移動に関する指令内容を有する行までスキ
ップさせることを示すものとする。
FIG. 2 is a block diagram showing a schematic configuration of the three-dimensional laser beam machine according to the first embodiment of the present invention. In this embodiment, the teaching box 7 has a step forward button 71 and a step return button 72. This step forward button 7
By pressing 1 once, a signal for instructing skip feed to the line having the instruction content for the next movement is output. Similarly, pressing the step return button 72 once outputs a signal instructing a skip return to the line having the instruction content relating to the immediately preceding movement. That is,
In this embodiment, the step forward and the step backward indicate skipping to the line having the instruction content regarding the movement.

【0020】また、NC制御部8の中に、次の行若しく
は前の行の指令内容を判別して行送り若しくは行戻しの
処理を終了すべきか否かを判断するとともに、またその
行の指令内容が移動に関する指令であるか否かも判断す
る移動指令判断部81があり、行送りや行戻しを終了す
べきでなく更に行の指令内容が移動に関する指令でもな
いと判断した場合は更にその次の行へ送る、または前の
行へ戻る、ブロックスキップ処理部82も有している。
The NC control unit 8 determines the contents of the command of the next line or the previous line to determine whether or not to terminate the line feed or line return process. There is a movement command judging section 81 for judging whether or not the content is a command relating to movement. If it is determined that the line feed or line return should not be terminated and the command content of the line is not a command relating to movement, the next step is performed. It also has a block skip processing unit 82 for sending to the next row or returning to the previous row.

【0021】実施の形態2.この発明の第二の実施の形
態による三次元レーザ加工機を、図3を用いて説明す
る。図3は、この発明の第二の実施の形態の構成を示す
ブロック図である。この第二の実施の形態のものでは、
上述の第一の実施の形態によるものと異なり、ティーチ
ングボックス7の中に、ステップ送りボタン71及びス
テップ戻しボタン72の操作を実行する場合に、移動に
関する指令内容を有する行までその間の行をスキップ処
理する機能を有効にするか無効にするかを使用者が選択
するスキップ機能キャンセルボタン73を有している。
このスキップ機能キャンセルボタン73によってスキッ
プ処理する機能を無効に設定し、上述のステップ送りボ
タン71またはステップ戻しボタン72を押した場合、
1回押すと、従来のものと同様に、現在のプログラム行
の隣のプログラム行を読み出し、以下、ボタンを押す毎
に順次1行づつプログラム行を読み出していく。
Embodiment 2 FIG. A three-dimensional laser beam machine according to a second embodiment of the present invention will be described with reference to FIG. FIG. 3 is a block diagram showing the configuration of the second embodiment of the present invention. In the second embodiment,
Unlike the first embodiment described above, when the operation of the step forward button 71 and the step return button 72 is performed in the teaching box 7, the lines between the lines having the instruction contents regarding the movement are skipped. There is a skip function cancel button 73 for the user to select whether to enable or disable the function to be processed.
When the skip function is set to be invalid by the skip function cancel button 73 and the above-described step forward button 71 or step return button 72 is pressed,
When the button is pressed once, the program line next to the current program line is read, similarly to the conventional one. Thereafter, each time the button is pressed, the program line is read one by one sequentially.

【0022】ここで、ステップST3に示す、移動すべ
きかどうかの判断処理の具体的な例としては、例えば図
8の中で用いられている「G8.1」や「G8.2」や
「G8.3」のコードが含まれている行のみを移動に関
する指令内容を有する行であると判断し、これらのコー
ドが含まれていない行は全てスキップするなどの様に判
断させることが考えられる。すなわちこの場合、図8に
おいてN0012,N0013,N0015,N001
6などの行はスキップされることになる。
Here, as a specific example of the processing for determining whether or not to move in step ST3, for example, "G8.1", "G8.2", or "G8" used in FIG. .3 "is determined to be a line having the content of a command for movement, and all lines not including these codes are skipped. That is, in this case, N0012, N0013, N0015, N001 in FIG.
Rows such as 6 will be skipped.

【0023】以上に説明したように、この発明による実
施の形態のものでは、スキップするか否かの判断基準を
汎用的なNCプログラムに用いられるコードを判別基準
として移動指令判断部81に一度設定しておくのみでよ
く、個別の加工用NCプログラムに対してそれぞれスキ
ップに関する編集作業を施す必要が無い。
As described above, in the embodiment according to the present invention, the criterion for determining whether or not to skip is once set in the movement command determining unit 81 using the code used in the general-purpose NC program as the criterion. It is not necessary to perform the editing work relating to the skip for each individual machining NC program.

【0024】また、図2の移動指令判断部81におい
て、加工ヘッド3を移動するための指令であるのか否か
を判断する判断基準は、あらかじめレーザ加工機の製造
者が固定して登録しておいても良く、或いは使用者が自
由に設定変更できる機能を有しても良い。さらに上述の
説明では、NCプログラムはNC制御部8で記憶されて
おり、ティーチングボックス7側からのステップ送り処
理かステップ戻し処理かの信号に対しての判断はすべて
NC制御部8において行っているが、この処理をティー
チングボックス7内で行っても良い。また、図3でスキ
ップ有効無効設定ボタンをティーチングボックス7に設
けている例を示したが、NC制御部8に設けたり、NC
制御部8とティーチングボックス7との両方に設けても
よい。さらに、図2及び図3では、移動指令判断部81
及びブロックスキップ処理部82を、NC制御部8に設
けた場合を示したが、これらのものをティーチングボッ
クス7に設けてもよい。
The criterion for determining whether or not the command is for moving the processing head 3 in the movement command determination unit 81 in FIG. 2 is fixed and registered in advance by the manufacturer of the laser processing machine. Or a function that allows the user to freely change the settings. Further, in the above description, the NC program is stored in the NC control unit 8, and the NC control unit 8 makes all determinations regarding the signal of the step feed process or the step return process from the teaching box 7 side. However, this processing may be performed in the teaching box 7. FIG. 3 shows an example in which the skip enable / disable setting button is provided in the teaching box 7.
It may be provided in both the control unit 8 and the teaching box 7. Further, in FIG. 2 and FIG.
Although the block skip processing unit 82 is provided in the NC control unit 8, these units may be provided in the teaching box 7.

【0025】以上の説明では、この発明の実施の形態と
して、三次元レーザ加工機を例に示したが、二次元レー
ザ加工機或いはロボット等、他の装置でも応用でき、同
様の効果を得られる。また、ティーチングボックス7に
NCプログラム表示機能を有する装置での例を示した
が、それ相当の機能を有しない装置でも適用できる。さ
らに、ステップ送りやステップ戻しを指示した場合に、
スキップした先のプログラム行の指令内容が、現在の位
置での指令と全く同じ内容で、実質的に加工ヘッド3の
移動や軸回転が全く無い場合なども可能性があり、その
場合にスキップすると判断するのかスキップしないと判
断するかは、事前に別途取り決めしておくことができる
などの機能拡張もできる。
In the above description, as an embodiment of the present invention, a three-dimensional laser beam machine has been described as an example. However, other devices such as a two-dimensional laser beam machine or a robot can be applied, and the same effects can be obtained. . Further, although an example in which the teaching box 7 has an NC program display function has been described, the present invention can also be applied to an apparatus having no corresponding function. Furthermore, if you instruct step forward or step backward,
There is also a possibility that the command content of the skipped program line is exactly the same as the command at the current position, and there is substantially no movement or rotation of the machining head 3 at all. Whether to judge whether to judge or not to skip is also possible to extend the function such that a separate agreement can be made in advance.

【0026】[0026]

【発明の効果】以上のように、この発明によれば、ティ
ーチング時の、プログラム行のスキップ動作を実行させ
る際に、スキップ処理制御部が、NCプログラム内の各
行の本来の指令内容自体を判別し、加工用ヘッド部の移
動に関する指令内容を有する行か否かを判断するように
したため、スキップ動作を必要とする場合にも、個別の
NCプログラム内にスキップ動作を実行させるための特
殊な記号を別途付加するといった煩雑な作業を行うこと
なく、NCプログラムをスキップさせることが可能とな
り、NCプログラムの作成、ひいてはティーチング時の
確認作業の効率向上を実現することができる、という効
果を奏する。
As described above, according to the present invention, when the skip operation of the program line is performed at the time of teaching, the skip processing control unit determines the original instruction content itself of each line in the NC program. In addition, since it is determined whether or not the line has a command content related to the movement of the processing head unit, even if a skip operation is required, a special symbol for executing the skip operation is included in an individual NC program. It is possible to skip the NC program without performing a complicated operation such as adding the NC program separately. This has an effect that the NC program can be created and the efficiency of the confirmation operation at the time of teaching can be improved.

【0027】また、移動に関する指令内容を有する行ま
でスキップ処理する機能を有効にするか無効にするかを
選択する機能を持たせることにより、ティーチング位置
及びその移動に関する確認以外の確認を行う場合のた
め、現在のプログラム行から順次行の送り,戻しを行う
ことも可能であり、種々の観点からのNCプログラムの
チェックに対応することができる、という効果を奏す
る。
Further, by providing a function of selecting whether to enable or disable a function of skipping processing to a line having a command content related to movement, a check other than a check relating to a teaching position and movement thereof is performed. Therefore, it is also possible to sequentially feed and return lines from the current program line, and it is possible to respond to checking of the NC program from various viewpoints.

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

【図1】 この発明の第一の実施の形態による三次元レ
ーザ加工機による処理を示すフローチャート。
FIG. 1 is a flowchart showing processing by a three-dimensional laser beam machine according to a first embodiment of the present invention.

【図2】 この発明の第一の実施の形態による三次元レ
ーザ加工機の概略構成を示すブロック図。
FIG. 2 is a block diagram showing a schematic configuration of a three-dimensional laser beam machine according to the first embodiment of the present invention.

【図3】 この発明の第二の実施の形態による三次元レ
ーザ加工機の概略構成を示すブロック図。
FIG. 3 is a block diagram showing a schematic configuration of a three-dimensional laser beam machine according to a second embodiment of the present invention.

【図4】 従来の一般的な三次元レーザ加工機システム
の斜視図。
FIG. 4 is a perspective view of a conventional general three-dimensional laser beam machine system.

【図5】 従来の一般的な三次元レーザ加工機の概略構
成を示すブロック図。
FIG. 5 is a block diagram showing a schematic configuration of a conventional general three-dimensional laser beam machine.

【図6】 従来の一般的な加工プログラム作成から本加
工に至るまでのフローチャート。
FIG. 6 is a flowchart from the creation of a conventional general machining program to the actual machining.

【図7】 従来の一般的なティーチング作業のフローチ
ャート。
FIG. 7 is a flowchart of a conventional general teaching operation.

【図8】 ティーチング作業によって生成されるNCプ
ログラムの例。
FIG. 8 is an example of an NC program generated by a teaching operation.

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

1 加工機本体 3 加工ヘッド 7 ティーチングボックス 8 NC制御部 71 ステップ送りボタン 72 ステップ戻しボタン 73 スキップ機能キャンセルボタン 81 移動指令判断部 82 ブロックスキップ処理部 DESCRIPTION OF SYMBOLS 1 Processing machine main body 3 Processing head 7 Teaching box 8 NC control part 71 Step feed button 72 Step return button 73 Skip function cancel button 81 Move command judgment part 82 Block skip processing part

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ティーチングされる加工用ヘッド部と、
この加工用ヘッド部を第一のティーチング位置からこの
第一のティーチング位置とは異なる第二のティーチング
位置まで移動させるための移動指令を入力する移動指令
入力部と、この移動指令入力部からの1回の移動指令の
入力を受けて、NCプログラムの中の前記第一のティー
チング位置に対応した第一のプログラム行から前記第二
のティーチング位置に対応した第二のプログラム行まで
スキップ処理するスキップ処理制御部と、前記第二のプ
ログラム行の指令内容に基き前記加工用ヘッド部を移動
させる加工用ヘッド部駆動手段とを有し、前記スキップ
処理制御部は、前記第一のプログラム行の隣の行から順
次各プログラム行の指令内容がティーチング位置に関す
る指令内容か否かを判別する判別動作を繰り返し、この
判別対象のプログラム行の指令内容がティーチング位置
に関する指令内容であると判断した場合、前記第二のプ
ログラム行を検出したと判断し、前記加工用ヘッド部駆
動手段へ出力するものであることを特徴とする加工装
置。
1. A processing head portion to be taught,
A movement command input unit for inputting a movement command for moving the machining head from the first teaching position to a second teaching position different from the first teaching position; Skip processing for receiving an input of a single movement command and skipping from a first program line corresponding to the first teaching position to a second program line corresponding to the second teaching position in the NC program A control unit, comprising a processing head unit driving unit that moves the processing head unit based on the instruction content of the second program line, wherein the skip processing control unit is located next to the first program line. The determination operation of determining whether or not the instruction content of each program line is the instruction content relating to the teaching position is sequentially repeated from the line. When it is determined that the command content of the program line is a command content related to the teaching position, it is determined that the second program line has been detected, and the command is output to the processing head unit driving means. apparatus.
【請求項2】 スキップ処理の機能の有効と無効とを切
り替えるスキップ機能選択手段を備えたことを特徴とす
る請求項1に記載の加工装置。
2. The processing apparatus according to claim 1, further comprising a skip function selecting unit that switches between a validity and a invalidity of a skip processing function.
JP2000148068A 2000-05-19 2000-05-19 Working device Pending JP2001331212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000148068A JP2001331212A (en) 2000-05-19 2000-05-19 Working device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000148068A JP2001331212A (en) 2000-05-19 2000-05-19 Working device

Publications (1)

Publication Number Publication Date
JP2001331212A true JP2001331212A (en) 2001-11-30

Family

ID=18654159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000148068A Pending JP2001331212A (en) 2000-05-19 2000-05-19 Working device

Country Status (1)

Country Link
JP (1) JP2001331212A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100430850C (en) * 2005-02-25 2008-11-05 发那科株式会社 Conversational numerical control apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100430850C (en) * 2005-02-25 2008-11-05 发那科株式会社 Conversational numerical control apparatus

Similar Documents

Publication Publication Date Title
US6597142B2 (en) Apparatus and method for setting control parameters of machining apparatus
JP4382123B2 (en) Numerical control device having control mode switching function
WO2013179366A1 (en) Numerical control device
US4506612A (en) Testing device for an automatic sewing machine
JP2006085486A (en) Nc working simulation method and nc working simulation device
JP2001331212A (en) Working device
JP6444923B2 (en) Numerical controller
JP5670147B2 (en) Arc welding robot controller
JP4059614B2 (en) Control device for 3D laser processing machine
JP4112433B2 (en) Numerical control device for machine tool and numerical control method for machine tool
JP3405797B2 (en) Laser output control system
JP3808125B2 (en) Numerical controller
JP3660038B2 (en) Numerical controller
JP5143661B2 (en) NC lathe control method and control device
JP4333182B2 (en) Laser control device and waste material processing method
JP2006085485A (en) Nc working simulation device
JP2813079B2 (en) Numerical control unit
JPH10105220A (en) Machining simulation method for numerically controlled machining
JPH03294906A (en) Editing system for working program
EP0566750A1 (en) Method of trial cutting
WO2023037418A1 (en) Control device and control method having interlock function
JP5946680B2 (en) Program conversion method for arc welding program and program conversion apparatus for arc welding program
WO2023189525A1 (en) Numerical control device, control method, and program
JP5005366B2 (en) Robot controller
JP3471644B2 (en) Control device for area machining operation

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040630

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050510

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051206