JP2584225B2 - Numerical control unit - Google Patents

Numerical control unit

Info

Publication number
JP2584225B2
JP2584225B2 JP62084542A JP8454287A JP2584225B2 JP 2584225 B2 JP2584225 B2 JP 2584225B2 JP 62084542 A JP62084542 A JP 62084542A JP 8454287 A JP8454287 A JP 8454287A JP 2584225 B2 JP2584225 B2 JP 2584225B2
Authority
JP
Japan
Prior art keywords
reverse
cycle
drilling
execution data
execution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP62084542A
Other languages
Japanese (ja)
Other versions
JPS63250705A (en
Inventor
俊明 大槻
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP62084542A priority Critical patent/JP2584225B2/en
Publication of JPS63250705A publication Critical patent/JPS63250705A/en
Application granted granted Critical
Publication of JP2584225B2 publication Critical patent/JP2584225B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Drilling And Boring (AREA)
  • Numerical Control (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、数値制御装置に関し、特に複数の穴を加工
するための穴あけ加工制御のリバース機能を有する数値
制御装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller, and more particularly to a numerical controller having a reverse function of drilling control for drilling a plurality of holes.

従来の技術 数値制御装置を用いて工作機械を制御してワークに多
数の穴あけ加工する場合、従来、第7図に示すような穴
あけ固定サイクルを利用して、穴あけ位置に工具を移動
させながら、ワークに多数の穴を加工していた。第7図
で示す穴あけ固定サイクルにおいては、工具30又はワー
クをまずイニシャル点P1まで早送りで移動させ位置決め
する動作M1、次に加工開始位置P2まで早送りで工具30を
移動させる動作M2、加工開始位置P2より穴加工を行う動
作M3、穴底位置での動作M4、穴底から加工開始位置P2ま
で早送りで移動する逃げ動作M5、位置P2よりイニシャル
点P1までの早送り動作M6で構成されている。
2. Description of the Related Art Conventionally, when a machine tool is controlled by using a numerical control device and a large number of holes are drilled in a work, conventionally, a tool is moved to a drilling position using a drilling fixing cycle as shown in FIG. Many holes were machined in the work. In the drilling fixing cycle shown in FIG. 7, the operation M1 for moving the tool 30 or the workpiece by rapid traverse to the initial point P1 and then positioning the tool 30 to the machining start position P2, and then the operation M2 for moving the tool 30 to the machining start position P2 and the machining start position An operation M3 for performing hole machining from P2, an operation M4 at the hole bottom position, a relief operation M5 for moving from the hole bottom to the machining start position P2 by rapid traverse, and a rapid traverse operation M6 from the position P2 to the initial point P1.

そして、動作M6でイニシャル点P1まで復帰した工具30
は次の加工位置へ位置決めされ(M1)、再び同じ固定サ
イクルを開始し、ワークに対し多数の穴をあけていた。
なお、M6の動作を省略し、位置P2より次の穴あけ位置へ
移動させる穴あけ固定サイクルもある。
Then, the tool 30 that has returned to the initial point P1 in the operation M6
Was positioned to the next processing position (M1), and the same fixing cycle was started again, and many holes were drilled in the workpiece.
Note that there is also a drilling fixing cycle in which the operation of M6 is omitted and the hole is moved from the position P2 to the next drilling position.

一方、リバース機能を有する数値制御装置はすでに公
知である。このリバース機能とは、加工途中でリバース
信号を入力すると、今まで加工して加工経路を逆行さ
せ、リバース信号が解除されると、再びその解除された
位置より加工経路に沿って、即ち、プログラムに従って
再順行し加工を行うものである。
On the other hand, a numerical control device having a reverse function is already known. This reverse function means that if a reverse signal is input during machining, machining is performed to reverse the machining path, and when the reverse signal is cancelled, it is again along the machining path from the canceled position, that is, the program In order to perform processing again.

ところで、前述したような、多数の穴をワークに対し
連続的に加工しているときリバースをさせようとする
と、例えば、第8図に示すように、プログラムで指令さ
れた加工経路20に従ってf1,f2を加工し穴f3を加工中に
位置P8でリバース信号が入力されると、工具30は、加工
経路20に沿って逆行21を行う。即ち、位置P8よりP7,P5,
P6,P5,P3,P4,P3,P9と逆行することとなり、そして、位
置P9でリバース信号が解消されると、工具30は再び加工
経路20に沿ってプログラムどおりの加工を行いながら再
順行22を行い、位置P9よりP3,P4,P3,P5,P6,P5,P7,P8へ
と再順行することとなる。
By the way, as described above, when a large number of holes are continuously processed on a workpiece, if the reverse is to be performed, for example, as shown in FIG. When a reverse signal is input at the position P8 while processing the hole f3 while processing the hole f3, the tool 30 performs the backward movement 21 along the processing path 20. That is, from position P8, P7, P5,
When the reverse signal is canceled at the position P9, the tool 30 re-progresses while performing the machining according to the program along the machining path 20 again, at P6, P5, P3, P4, P3, P9. 22 is performed, and the process re-starts from position P9 to P3, P4, P3, P5, P6, P5, P7, and P8.

発明が解決しようとする問題点 上述したように、連続した穴あけ加工中にリバースを
行わせると、逆行時も再順行時も加工経路に沿って工具
1は移動することとなるが、穴あけ加工においては、第
8図、位置P5からP6、P6からP5及び位置P3からP4、P4か
らP3は単なる往復動作で元の位置に戻ってくる動作であ
り、逆行時には無駄な動作であり、いたずらに時間を消
費するにすぎない。特に、深穴あけサイクルの場合など
では、その時間は大きい。即ち、第7図において動作M1
は位置決めの動作であり、逆行時も必要であるが、動作
M2〜M6の動作は単なる往復動作であり逆行時には不必要
な動作であり、又、逆行時に順行時と同じように穴あけ
動作を行わせることは困難なことでもある。
Problems to be Solved by the Invention As described above, if the reverse is performed during continuous drilling, the tool 1 moves along the processing path both in the reverse direction and in the re-forward direction. In FIG. 8, the positions P5 to P6, P6 to P5 and the positions P3 to P4, and P4 to P3 are operations that return to the original positions by simple reciprocating operations. It only consumes time. In particular, in the case of a deep hole drilling cycle, the time is large. That is, the operation M1 in FIG.
Is the positioning operation, which is necessary even in the reverse direction.
The operations of M2 to M6 are merely reciprocating operations and are unnecessary operations at the time of backward movement, and it is also difficult to perform the drilling operation at the time of backward movement as in the case of forward movement.

そこで、本発明の目的は、リバース時の逆行時に穴あ
け動作、即ち、第7図の動作M2からM6の動作を省略して
逆行する穴あけ加工用のリバース動作が行える数値制御
装置を提供することにある。
Therefore, an object of the present invention is to provide a numerical control device capable of performing a drilling operation at the time of reverse movement in reverse, that is, performing a reverse operation for drilling work in the reverse direction by omitting the operations M2 to M6 in FIG. is there.

問題点を解決するための手段 第1図は本発明が前記問題点を解決するために採用し
た手段のブロック図で、本発明は、前処理において作成
した実行データをリバース用メモリに記憶し、リバース
指令により、該リバース用メモリより実行データを読取
り、加工経路に沿って逆行するようにしたリバース機能
を有する数値制御措置において、前記前処理中に、穴あ
け固定サイクル中の位置決めサイクル以外のサイクルと
他のサイクルを判別するサイクル判別手段Aと、該サイ
クル判別手段Aで判別された穴あけ固定サイクル中にお
ける位置決めサイクル以外のサイクルの実行データに対
し逆行時に非実行とする条件設定を行い実行データをリ
バース用メモリCに記憶させる条件設定手段Bと、リバ
ース指令が入力されるとリバース解除指令が入力される
までリバース用メモリCより実行データを読出し、非実
行条件か否か逆行判断手段Dで判断し、該判断手段Dで
判断された非実行条件以外の実行データのみ実行し逆行
させる逆行制御手段Eとを数値制御装置に設けることに
よって前記問題点を解決した。
Means for Solving the Problems FIG. 1 is a block diagram of the means adopted by the present invention for solving the above problems. The present invention stores execution data created in preprocessing in a reverse memory, According to a reverse command, execution data is read from the reverse memory, and in numerical control measures having a reverse function to reverse along the machining path, during the preprocessing, a cycle other than the positioning cycle in the drilling fixed cycle is performed. A cycle discriminating means A for discriminating another cycle, and a condition setting for non-execution at the time of backward movement with respect to execution data of a cycle other than the positioning cycle in the drilling fixed cycle discriminated by the cycle discriminating cycle A, and the execution data Condition setting means B to be stored in the memory C for storage, and when a reverse command is inputted, a reverse release command is inputted. The reverse data is read out from the reverse memory C until it is input, and the non-execution condition is judged by the reverse judgment means D, and only the execution data other than the non-execution condition judged by the judgment means D is executed and the reverse control is executed. The above problem was solved by providing the means E and the numerical controller.

作用 NCプログラムより1ブロック読取り実行データに変換
する前処理において、前記サイクル判別手段Aによっ
て、作成された実行データが穴あけ固定サイクルであっ
て、かつ位置決めサイクル以外のサイクルか他のサイク
ルか判別し、穴あけ固定サイクル中であって、かつ位置
決めサイクル以外のサイクルに対する実行データに対し
ては、条件設定手段Bで逆行時に非実行とする条件設定
を行ってリバース用メモリCに作成された各実行データ
を記憶させる。穴あけ加工中にリバース指令が入力され
ると、前記逆行判別手段Dはリバース用メモリCより実
行データを読取り、非実行条件の実行データか否か判別
し、前記逆行制御手段Eは判別された非実行条件以外の
実行データのみを実行し工具を逆行させるように制御す
る。これにより穴あけ固定サイクルの位置決め経路のみ
逆行することとなる。
In the pre-processing of converting one block read execution data from the NC program, the cycle determination means A determines whether the created execution data is a drilling fixed cycle and a cycle other than the positioning cycle or another cycle. With respect to the execution data for the cycle other than the positioning cycle during the drilling fixed cycle, the condition setting means B sets the condition to be non-execution at the time of backward movement, and executes the execution data created in the reverse memory C. Remember. When a reverse command is input during drilling, the reverse determination means D reads the execution data from the reverse memory C and determines whether or not the execution data is of a non-execution condition. Control is performed so that only the execution data other than the execution conditions is executed and the tool is reversed. As a result, only the positioning path of the drilling fixed cycle is reversed.

実施例 第2図は本発明の一実施例の要部ブロック図で、数値
制御装置1は中央処理装置(以下CPUという)2と、該C
PU2に、制御プログラムを記憶するROM3、データの一時
記憶等に利用されるRAM4、穴あけ加工等の加工プログラ
ムを記憶する不揮発性メモリ5、CRT表示装置付手動デ
ータ入力装置(以下CRT/MDIという)6、主軸インター
フェイス7、サーボインターフェイス8がバス9で接続
されている。主軸インターフェイス7には主軸アンプ10
を介して主軸モータ12が接続され、サーボインターフェ
イス8には各軸のサーボ回路11を介して各軸のサーボモ
ータ13が接続されている(なお第2図には、1軸のサー
ボ回路、サーボモータのみを示している)。
Embodiment FIG. 2 is a block diagram of a main part of an embodiment of the present invention, in which a numerical controller 1 includes a central processing unit (hereinafter referred to as a CPU) 2 and
A ROM 3 for storing a control program, a RAM 4 used for temporary storage of data, a non-volatile memory 5 for storing a machining program for drilling and the like, a manual data input device with a CRT display device (hereinafter referred to as CRT / MDI) in PU2. 6, a spindle interface 7, and a servo interface 8 are connected by a bus 9. The spindle interface 10 has a spindle amplifier 10
The spindle motor 12 is connected to the servo interface 8, and the servo motor 8 for each axis is connected to the servo interface 8 via the servo circuit 11 for each axis. Only the motor is shown).

以上のような構成において、ワークに対し、多数の穴
の加工を行っているとき、リバース指令が入力されたと
きの本実施例が行う動作をまず第3図に示す例で説明す
る。
In the above-described configuration, the operation performed by the present embodiment when a reverse command is input while a large number of holes are being machined in a workpiece will be described first with reference to an example shown in FIG.

CPU2は不揮発性メモリ5に記憶された加工プログラム
を読出し、該加工プログラムに従って、主軸モータ12,
各軸のサーボモータ13を駆動し、工具及びワークを相対
的に移動させて穴あけ加工を開始する。今、加工プログ
ラムに従って第3図20で示す加工経路に沿って孔f1,f2
を加工し、f3を加工しているとする。即ち、加工プログ
ラムで指令された加工経路20に沿って工具30はまず、位
置P3に位置決めされ、位置P3からP4へ移動し、穴f1を加
工し位置P4よりP3に復帰し、位置P3よりP5へ位置決めさ
れ、位置P5よりP6へ移行して穴f2を加工し、位置P6より
P5へ復帰し、位置P7へ位置決めされ、位置P7より穴f3を
加工している。そして、その加工中、位置P8で、例え
ば、工具破損信号が出された場合、工具破損信号は、工
具が折れて少し遅れて数値制御装置に入力されるため、
工具破損後通過した所は穴があいてない可能性がある。
そのため、工具交換後、少し戻して加工を再開する必要
がある。そこで、位置P8で、CRT/MDI6よりリバース指令
を入力すると、工具30は加工経路20に沿って逆行するこ
ととなるが、加工経路20中、位置P3から位置P4の往復動
作、及び位置P5から位置P6の往復動作は、逆行時におい
て何ら意味ないものであるから、本発明においては逆行
時には、前記位置P3からP4,P5からP6の往復動の動作を
行わずに逆行経路21に沿って逆行するようにしており、
又、穴あけ加工を実行中にリバース信号が入力されると
穴あけ加工の途中から逆行させることが難しいので、そ
のブロックの穴あけ加工サイクルが終了するまで実行し
(位置P8よりP8',P7と移動する)、当該穴あけ加工サイ
クルの終了位置P7より逆行を開始し穴あけのために位置
決めした位置P5,P3を通る位置決め経路のみを逆行さ
せ、穴f1,f2をあけるために位置P3からP4,P5からP6へ工
具を移動させる穴あけ軸の動作は逆行時には行わせない
ようにする。そして例えば、位置P9でリバース解除する
と、工具は加工経路20と同一の再順行経路22に沿って穴
f1,f2の加工を行いながら、位置P8まで達し、その後加
工プログラに従って加工を続けることとなる。
The CPU 2 reads the machining program stored in the non-volatile memory 5, and according to the machining program, reads the spindle motor 12,
The servomotor 13 of each axis is driven to relatively move the tool and the work to start drilling. Now, according to the machining program, holes f1, f2 are formed along the machining path shown in FIG.
And f3 is processed. That is, the tool 30 is first positioned at the position P3 along the processing path 20 commanded by the processing program, moves from the position P3 to P4, processes the hole f1, returns from the position P4 to P3, and returns from the position P3 to P5. From position P5 to P6 to machine hole f2, from position P6
It returns to P5, is positioned at position P7, and drills hole f3 from position P7. Then, during the machining, at the position P8, for example, if a tool break signal is output, the tool break signal is input to the numerical controller with a slight delay after the tool breaks,
There is a possibility that there is no hole when passing after the tool breakage.
Therefore, after the tool change, it is necessary to slightly return and resume machining. Therefore, when a reverse command is input from the CRT / MDI 6 at the position P8, the tool 30 moves backward along the machining path 20, but in the machining path 20, the reciprocating operation from the position P3 to the position P4, and the movement from the position P5. Since the reciprocating operation at the position P6 is meaningless at the time of the backward movement, in the present invention, at the time of the backward movement, the backward movement along the backward path 21 is performed without performing the reciprocating movement of the positions P3 to P4 and P5 to P6. I am trying to
Also, if a reverse signal is input during the drilling operation, it is difficult to reverse the drilling process from the middle of the drilling operation, so the block is executed until the drilling cycle ends (moves from position P8 to P8 ', P7). ), The reverse movement is started from the end position P7 of the drilling processing cycle, and only the positioning path passing through the positions P5 and P3 positioned for drilling is reversed, and the positions P3 to P4 and P5 to P6 for drilling holes f1 and f2. The operation of the drilling shaft for moving the tool is not performed at the time of backward movement. Then, for example, when the reverse is released at the position P9, the tool moves along the
While performing the processing of f1 and f2, the processing reaches the position P8, and thereafter the processing is continued according to the processing program.

第4図〜第6図は、上述した動作を行うための本数値
制御装置が行う動作処理フローチャートを示すもので、
第4図は、不揮発性メモリ5の加工プログラムより1ブ
ロック読込んで、そのブロックの指令を実行する前に行
う前処理を示すもので、まず、読込んだ1ブロックより
実行データを作成し(ステップS1)、当該サイクルでの
指令が穴あけサイクル(穴あけ固定サイクルで第7図に
示す固定サイクルにおいては動作M1〜M6)か否か判断し
(ステップS2)、穴あけサイクルであれば、次に位置決
めサイクル(固定サイクル中の位置決めサイクルである
第7図における動作M1、又、加工開始点P2まで復帰し
て、次の穴の加工開始点に移動し位置決めする固定サイ
クルにおいては、その位置決めサイクルと、始めの穴加
工におけるイニシャル点までの位置決め及びイニシャル
点から加工開始点までの移動の位置決めサイクルを含
む)か否かを判断し(ステップS3)、位置決めサイクル
でなければ1サイクルの実行データ群の中に逆行時無視
すべきサイクルである旨を示す逆行用実行データ条件設
定手段であるフラグF1をセットする(ステップS4)。そ
して、この実行データをリバース用メモリ(不揮発性メ
モリ5内)及び実行用のレジスタにセットする(ステッ
プS5)。又、ステップS2で穴あけサイクルでないと判断
された時とステップS3で位置決めサイクルであると判断
された時は、該サイクルはリバース時の経路21の一部に
当るので、ステップS4のフラグF1のセットを行うことな
くステップS5へ移行し、前処理は終了する。
FIG. 4 to FIG. 6 show operation processing flowcharts performed by the present numerical control device for performing the above-described operation.
FIG. 4 shows a pre-process performed by reading one block from the machining program in the non-volatile memory 5 and before executing a command of the block. First, execution data is created from the read one block (step). S1), it is determined whether or not the command in the cycle is a drilling cycle (operations M1 to M6 in the fixing cycle shown in FIG. 7 in the drilling fixing cycle) (step S2). (Operation M1 in FIG. 7, which is the positioning cycle during the fixing cycle, and the fixed cycle of returning to the processing start point P2, moving to the processing start point of the next hole, and positioning, begins with the positioning cycle. (Including the positioning cycle for positioning from the initial point and the movement from the initial point to the processing start point) in the hole drilling of Flop S3), and sets the flag F1 is reversed for execution data condition setting means for indicating the in-cycle should be ignored during retrograde into the execution data group 1 cycle if a positioning cycle (step S4). Then, the execution data is set in the reverse memory (in the nonvolatile memory 5) and the execution register (step S5). Also, when it is determined in step S2 that the cycle is not a drilling cycle and when it is determined in step S3 that the cycle is a positioning cycle, the cycle corresponds to a part of the path 21 at the time of reverse, so that the flag F1 in step S4 is set. The process proceeds to step S5 without performing the preprocessing, and the preprocessing ends.

一方、パルス分配周期においては、前記実行用のレジ
スタにセットされたデータに従ってパルス分配が実行さ
れることとなるが、このパルス分配処理は第5図に示す
処理で、まず、後述する逆行処理中である旨を示すフラ
グF3がセットされているか否か判断し(ステップS6)、
逆行処理中でなければ、リバース信号が入力されている
か否か判断して(ステップS7)、入力されていなけれ
ば、ステップS10へ移行しパルス分配を実行して、次に
穴あけ軸移動サイクルが終了したか否か判断し(ステッ
プS11)、終了していなければ、当周期の分配処理は終
了する。又、ステップS11で穴あけ軸移動サイクルが終
了したと判断されると、後述するリバース信号が入力さ
れたことを記憶する受付フラグF2がセットされているか
否か判断し(ステップS12)、リバース信号が入力され
ていなければこの分配処理は終了する。
On the other hand, in the pulse distribution cycle, pulse distribution is performed according to the data set in the execution register. This pulse distribution processing is processing shown in FIG. It is determined whether or not the flag F3 indicating that is is set (step S6)
If the reverse process is not being performed, it is determined whether or not a reverse signal has been input (step S7). If not, the process proceeds to step S10 to execute pulse distribution, and then the drilling axis movement cycle ends. It is determined whether or not the process has been performed (step S11). If the process has not been completed, the distribution process of the current cycle ends. If it is determined in step S11 that the drilling axis movement cycle has ended, it is determined whether or not an acceptance flag F2 for storing that a reverse signal described later has been input is set (step S12). If not, this distribution process ends.

一方、逆行指令手段であるリバース指令がCRT/MDI6よ
り入力されリバース信号がオンになっていると(ステッ
プS7)、前処理においてセットされるリバース時無視す
べき逆行用実行データ群を示すフラグF1がセットされて
いるか否か判断し(ステップS8)、セットされていなけ
れば、該順行サイクルは穴あけ固定サイクルでないか又
は穴あけ固定サイクルにおける位置決めサイクルである
から(なお、穴あけ固定サイクルにおける位置決めサイ
クル以外のサイクルを、以下穴あけ軸移動サイクルとい
う)、逆行処理中である旨を示すフラグF3をセットして
(ステップS14)、直ちに逆行処理(ステップS15)へ移
行する。又、ステップS8でフラグF1がセットされている
と該順行サイクルは穴あけ軸移動サイクルであり、直ち
に工具30を逆行させることは難しいので、まず、リバー
ス信号が入力されたことを示す受付フラグF2をセットし
(ステップS9)、パルス分配を実行し(ステップS1
0)、穴あけ軸移動サイクルが終了したか否か判断する
(ステップS11)。穴あけ軸移動サイクルが終了し、受
付フラグF2がセットされていると(ステップS12)、既
にリバース信号が入力され、且つ穴あけ軸移動が終了
し、工具30は第7図のイニシャル点位置P1又は加工開始
点P2に復帰しているので、前記工具30を逆行させても問
題がない。そこで、受付フラグF2をリセットし(ステッ
プS13)、逆行処理中である事を示すフラグF3をセット
して(ステップS14)、逆行処理(ステップS15)を開始
する。又、ステップS6でフラグF3がセットされており、
逆行処理中であればそのままステップS15に移行して逆
行処理を継続する。
On the other hand, if the reverse command as the reverse command means is input from the CRT / MDI 6 and the reverse signal is on (step S7), the flag F1 indicating the reverse execution data group to be ignored in the reverse set in the preprocessing is set. Is determined (step S8), and if not, the forward cycle is not the drilling fixed cycle or the positioning cycle in the drilling fixed cycle (note that other than the positioning cycle in the drilling fixed cycle). This cycle is hereinafter referred to as a drilling axis movement cycle), a flag F3 indicating that the reverse process is being performed is set (step S14), and the process immediately proceeds to the reverse process (step S15). Also, if the flag F1 is set in step S8, the forward cycle is a drilling axis movement cycle, and it is difficult to immediately reverse the tool 30, so first, the reception flag F2 indicating that the reverse signal has been input. Is set (step S9), and pulse distribution is executed (step S1).
0), it is determined whether or not the drilling axis movement cycle has been completed (step S11). When the drilling axis movement cycle is completed and the reception flag F2 is set (step S12), the reverse signal has already been input, and the drilling axis movement has been completed, and the tool 30 is moved to the initial point position P1 or machining shown in FIG. Since it has returned to the start point P2, there is no problem even if the tool 30 is reversed. Therefore, the reception flag F2 is reset (step S13), the flag F3 indicating that the reverse process is being performed is set (step S14), and the reverse process (step S15) is started. Also, the flag F3 is set in step S6,
If the reverse process is being performed, the process directly proceeds to step S15 to continue the reverse process.

第6図は、逆行処理の動作フローチャートで、まず、
リバース解除指令が入力されているか否か判断し(ステ
ップS16)、リバース解除指令が入力されていなけれ
ば、リバース用メモリより実行データ群を1個取出し
(ステップS17)、その実行データ群は終了しているか
否か判断し(ステップS18)、終了していなければ、こ
の実行データ群に逆行時無視すべき逆行用実行データ群
である事を示すフラグF1がセットされているか否か判断
し(ステップS19)、フラグF1がセットされていなけれ
ば該逆行用実行データを実行し(ステップS21)、ポイ
ンタを次のブロックにセットして(ステップS22)この
逆行処理を終了する。そして、第5図に示す分配処理に
復帰するが、ステップS6でフラグF3がセットされている
ので再び逆行処理へ移行することとなる。又、ステップ
S19でフラグF1がセットされていれば該逆行用実行デー
タは穴あけ軸の移動指令であり逆行処理は不要であるの
で、ステップS20へ移行しポインタを次のブロックにセ
ットし、再びステップS16へ移行する。即ち、フラグF1
がセットされていれば、そのフラグF1がセットされた実
行データのリバース処理を行うことなく、次々とリバー
ス用メモリから実行データを読取っていき、フラグF1が
セットされていない実行データのリバース処理のみを行
う。その結果、位置決めサイクルのみリバースの実行が
行われ第3図で示すように逆行経路21に沿って逆行し、
第3図における位置P5から位置P6,位置P3から位置P4の
往復動作は行わないこととなる。一方、ステップS16で
リバース解除指令が入力されている、又、ステップS18
で実行データ群が終了していると判断されたときには、
ステップS23へ移行し逆行処理中を示すフラグF3をリセ
ットし、逆行処理を終了する。
FIG. 6 is an operation flowchart of the reverse process.
It is determined whether or not a reverse release command has been input (step S16). If the reverse release command has not been input, one execution data group is fetched from the reverse memory (step S17), and the execution data group ends. It is determined whether or not the flag F1 is set to this execution data group if it has not been completed (step S18). If the flag F1 is not set (S19), the execution data for backward movement is executed (Step S21), a pointer is set to the next block (Step S22), and the backward movement processing is terminated. Then, the process returns to the distribution process shown in FIG. 5, but since the flag F3 has been set in step S6, the process returns to the reverse process. Also step
If the flag F1 is set in S19, the execution data for backward movement is a movement command of the drilling axis, and the backward processing is unnecessary, so the flow proceeds to step S20, the pointer is set in the next block, and the flow again proceeds to step S16. I do. That is, the flag F1
Is set, the execution data is sequentially read from the reverse memory without performing the reverse processing of the execution data in which the flag F1 is set, and only the execution processing of the execution data in which the flag F1 is not set is performed. I do. As a result, the reverse is executed only in the positioning cycle, and as shown in FIG.
The reciprocating operation from position P5 to position P6 and from position P3 to position P4 in FIG. 3 is not performed. On the other hand, in step S16, the reverse release command has been input, and in step S18
When it is determined that the execution data group is completed in
The process proceeds to step S23 to reset the flag F3 indicating that the reverse process is being performed, and ends the reverse process.

発明の効果 以上に述べた様に、本発明によれば穴あけ加工を含む
工程でのリバースに於ける不要な穴あけ動作を省略して
リバースが行われるので、工具の逆行に要する無駄な時
間が省かれ、全体の加工工程を考えた場合その時間が短
縮される。
Effect of the Invention As described above, according to the present invention, unnecessary drilling operation in reverse in a process including drilling is omitted, and the reverse is performed. In fact, the time is shortened when considering the entire processing steps.

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

第1図は本発明が従来技術の問題点を解決するために採
用した手段のブロック図、 第2図は本発明の実施例の要部ブロック図、 第3図は同実施例の逆行経路を示す図、 第4図は同実施例の前処理フローチャート、 第5図は同実施例の分配処理フローチャート、 第6図は同実施例の逆行処理フローチャート、 第7図は数値制御工作機械の穴あけ固定サイクルを示す
図、 第8図は従来の逆行経路を示す図である。 P1……イニシャル点、P2……加工開始位置、1……数値
制御装置、2……中央処理装置、3……ROM、4……RA
M、5……不揮発性メモリ、6……CRT表示装置、7……
主軸インターフェイス、8……サーボインターフェイ
ス、9……バス、10……主軸アンプ、11……サーボ回
路、12……主軸モータ、13……サーボモータ、F1……逆
行時無視すべきサイクルである旨を示すフラグ、F3……
逆行処理中を示すフラグ、F2……リバース信号入力記憶
フラグ。
FIG. 1 is a block diagram of a means adopted by the present invention to solve the problems of the prior art, FIG. 2 is a block diagram of a main part of an embodiment of the present invention, and FIG. FIG. 4, FIG. 4 is a pre-processing flowchart of the embodiment, FIG. 5 is a distribution processing flowchart of the embodiment, FIG. 6 is a reverse processing flowchart of the embodiment, and FIG. 7 is drilling and fixing of a numerically controlled machine tool. FIG. 8 is a diagram showing a cycle, and FIG. 8 is a diagram showing a conventional backward path. P1 Initial point, P2 Processing start position, 1 Numerical control unit, 2 Central processing unit, 3 ROM, 4 RA
M, 5: Non-volatile memory, 6: CRT display device, 7:
Spindle interface, 8: Servo interface, 9: Bus, 10: Spindle amplifier, 11: Servo circuit, 12: Spindle motor, 13: Servo motor, F1: A cycle to be ignored when moving backward Flag indicating F3 ……
Flag indicating that reverse processing is being performed, F2... Reverse signal input storage flag.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】前処理において作成した実行データをリバ
ース用メモリに記憶し、リバース指令により、該リバー
ス用メモリより実行データを読取り、加工経路に沿って
逆行するようにしたリバース機能を有する数値制御装置
において、前記前処理中に、穴あけ固定サイクル中の位
置決めサイクル以外のサイクルと他のサイクルを判別す
るサイクル判別手段と、該サイクル判別手段で判別され
た穴あけ固定サイクル中における位置決めサイクル以外
のサイクルの実行データに対し逆行時に非実行とする条
件設定を行い実行データをリバース用メモリに記憶させ
る条件設定手段と、リバース指令が入力されるとリバー
ス解除指令が入力されるまでリバース用メモリより実行
データを読出し、非実行条件か否か逆行判断手段で判断
し、該判断手段で判断された非実行条件以外の実行デー
タのみ実行し逆行させる逆行制御手段とを有する数値制
御装置。
1. A numerical control having a reverse function of storing execution data created in preprocessing in a reverse memory, reading the execution data from the reverse memory in response to a reverse command, and reversing along a machining path. In the apparatus, during the preprocessing, a cycle discriminating means for discriminating a cycle other than the positioning cycle in the drilling fixing cycle and another cycle, and a cycle other than the positioning cycle in the drilling fixing cycle discriminated by the cycle discriminating means. A condition setting means for setting a condition for non-execution when the execution data is reversed and storing the execution data in a reverse memory; and when a reverse command is input, execution data is stored in the reverse memory until a reverse release command is input. It is judged by the reverse judgment means whether or not the readout and non-execution conditions are satisfied. And only execute data other than non-execution condition that has been cross-sectional numerical controller and a retrograde control means to reverse.
JP62084542A 1987-04-08 1987-04-08 Numerical control unit Expired - Lifetime JP2584225B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62084542A JP2584225B2 (en) 1987-04-08 1987-04-08 Numerical control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62084542A JP2584225B2 (en) 1987-04-08 1987-04-08 Numerical control unit

Publications (2)

Publication Number Publication Date
JPS63250705A JPS63250705A (en) 1988-10-18
JP2584225B2 true JP2584225B2 (en) 1997-02-26

Family

ID=13833535

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62084542A Expired - Lifetime JP2584225B2 (en) 1987-04-08 1987-04-08 Numerical control unit

Country Status (1)

Country Link
JP (1) JP2584225B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150006437A (en) 2012-05-21 2015-01-16 엔티엔 가부시키가이샤 Roller bearing and shaft support structure

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1011124A (en) * 1996-06-20 1998-01-16 Fanuc Ltd Robot control device provided with robot back executing function

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59165106A (en) * 1983-03-11 1984-09-18 Hitachi Ltd On-line debugging device
JPH0797288B2 (en) * 1984-03-22 1995-10-18 株式会社東芝 Control method for articulated manipulator
JPS6211907A (en) * 1985-07-10 1987-01-20 Hitachi Ltd Teaching system for robot action

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150006437A (en) 2012-05-21 2015-01-16 엔티엔 가부시키가이샤 Roller bearing and shaft support structure
US9512881B2 (en) 2012-05-21 2016-12-06 Ntn Corporation Roller bearing and shaft support structure

Also Published As

Publication number Publication date
JPS63250705A (en) 1988-10-18

Similar Documents

Publication Publication Date Title
US4550378A (en) Method of numerical control and device therefor
US4751652A (en) Numerical control drilling restart control system
JPH07136906A (en) Numerical controller
JP2584225B2 (en) Numerical control unit
EP0310671B1 (en) Numerical control method capable of variably setting positioning precision
US7139635B2 (en) Multi-system numerical control device
JP2880170B2 (en) Block overlap method
JP2852986B2 (en) Processing system
US5162714A (en) Numerical control device for transfer machines
JPH0651258B2 (en) NC controller with automatic return function
JPH0545966B2 (en)
JP2728256B2 (en) Numerical control method
JPH04201120A (en) Wire electric discharge machining method
JPS59192440A (en) Control device for resumption of nc processing
JPS61152351A (en) Machine tool with function of returning to original position
JPH10143229A (en) Machine tool controller
JP2992163B2 (en) Numerical control method and device
JPH0588725A (en) Numerical controller
JPH04169907A (en) Acceleration/deceleration control system
JPH08137530A (en) Numerical controller
JPS59166449A (en) Method of controlling machine tool with many cutting tools
KR100521857B1 (en) Unmanned machining control method of machine tool
JP2642451B2 (en) Numerical control unit
JPS6114801A (en) Fixed cycle method of combined shape in numerically controlled lathe
JPH01295306A (en) Numerical controller