Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0637018B2 - Numerical control method and its apparatus - Google Patents
[go: Go Back, main page]

JPH0637018B2 - Numerical control method and its apparatus - Google Patents

Numerical control method and its apparatus

Info

Publication number
JPH0637018B2
JPH0637018B2 JP59019063A JP1906384A JPH0637018B2 JP H0637018 B2 JPH0637018 B2 JP H0637018B2 JP 59019063 A JP59019063 A JP 59019063A JP 1906384 A JP1906384 A JP 1906384A JP H0637018 B2 JPH0637018 B2 JP H0637018B2
Authority
JP
Japan
Prior art keywords
machining
sequence number
program
tool
unit
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
JP59019063A
Other languages
Japanese (ja)
Other versions
JPS60167746A (en
Inventor
俊春 法邑
信明 上坊寺
勲夫 坂本
Original Assignee
株式会社日平トヤマ
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 株式会社日平トヤマ filed Critical 株式会社日平トヤマ
Priority to JP59019063A priority Critical patent/JPH0637018B2/en
Publication of JPS60167746A publication Critical patent/JPS60167746A/en
Publication of JPH0637018B2 publication Critical patent/JPH0637018B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
    • G05B19/408Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、工作機械の数値制御技術に関し、特に一連の
数値制御プログラムを加工あるいは作業内容毎にブロッ
ク化し、それらのブロックを選択的に組合せ、細分化さ
れた加工プログラムのブロック内容を連続的あるいは単
独的に実行できるようにした数値制御方法およびその装
置に係る。
Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a numerical control technique for machine tools, and in particular, a series of numerical control programs is divided into blocks for each machining or work content, and those blocks are selectively combined, The present invention relates to a numerical control method and apparatus capable of continuously or independently executing block contents of a subdivided machining program.

〔従来の技術〕[Conventional technology]

数値制御(NC)技術では、工作物に対する工具の位置
が数値情報として入力され、これがワークに対する工具
の位置を決定していく。
In the numerical control (NC) technology, the position of the tool with respect to the workpiece is input as numerical information, and this determines the position of the tool with respect to the work.

このような一般的な数値制御では、機械の動きあるいは
加工内容がそのつどプログラムにより特定されており、
プログラムを変更しない限り、内容のその後の変更がで
きない。また一連の動作のそれぞれの分割運転、停止か
らの再起動運転、原点復帰あるいは非常事態における退
避動作においては、オペレータはNC技術を習得してい
なければならず、かつそれらのすべてをあらかじめプロ
グラムに繰み込み煩雑さがあった。また従来のNC装置
では、運転の途中での停止が可能であっても、停止位置
からの一部のみの繰り返し動作が不可能であった。
In such general numerical control, the movement of the machine or the processing content is specified by the program each time,
Unless you change the program, you cannot change the contents. Also, in each divided operation of a series of operations, restart operation from stop, return to origin or evacuation operation in an emergency, the operator must have learned NC technology, and all of them must be repeated in the program in advance. There was complicatedness. Further, in the conventional NC device, even if it is possible to stop in the middle of operation, it is not possible to repeat only part of the operation from the stop position.

〔発明の目的〕[Object of the Invention]

ここに本発明の目的は一連の数値制御プログラムを工具
あるいは加工別のブロック毎に分割し、分割後の各ブロ
ックを連続的あるいは選択的に実行できるようにし、
「自動運転モード」、「同一工具加工モード」、「単一
加工単独モード」の異なる運転モードに柔軟に対応でき
るようにすることである。
Here, an object of the present invention is to divide a series of numerical control programs into blocks for each tool or machining so that each block after division can be continuously or selectively executed.
The purpose is to flexibly support different operation modes such as “automatic operation mode”, “same tool machining mode”, and “single machining single mode”.

〔発明の概要〕[Outline of Invention]

そこで本発明は、NC装置に、判断部、選択部および専
用の操作部を設置し、これらの記憶、判断、選択および
操作機能により、特殊な機能すなわち非常戻し機能、自
動原点復帰機能、細分化加工プログラムの自動頭出し機
能、任意の位置からの前進後退動作の繰り返し機能、工
具交換位置の任意設定機能、タップ加工時の特殊機能お
よび加工ワークの種類変更対応機能などを付加し、これ
によって大量生産に適したNC専用機の数値制御装置を
より柔軟な汎用的な加工動作と操作の単純性を高めるよ
うにしている。
Therefore, in the present invention, a judgment unit, a selection unit, and a dedicated operation unit are installed in the NC device, and a special function, that is, an emergency return function, an automatic origin return function, and subdivision are provided by these storage, judgment, selection, and operation functions. A large amount of machining programs are added, such as automatic cueing function for machining programs, repeat function of forward / backward movement from arbitrary position, arbitrary setting function of tool changing position, special function at tapping and type change of machining work. The numerical control device of NC dedicated machine suitable for production is designed to increase the flexibility of general-purpose machining operation and the simplicity of operation.

〔装置の構成〕[Device configuration]

本発明の数値制御装置1は、従来と同様に、制御部2、
軸駆動部3、プログラム自動運転部4、手動運転部5、
選択部6の入出力回路7、機械の調整運転用の操作部8
および記憶部9の機械原点記憶回路10を備えている。
The numerical control device 1 of the present invention has a control unit 2,
Axis drive unit 3, program automatic operation unit 4, manual operation unit 5,
Input / output circuit 7 of selection unit 6, operation unit 8 for machine adjustment operation
And a machine origin memory circuit 10 of the memory unit 9.

上記制御部2は、指令テープ11から対象ワークに対応
した加工プログラムを呼び込み、これをX・Y・Z軸の
直交座標軸に変換し、記憶部9に格納する。また上記調
整運転用の操作部8は、入出力回路7に対し接続コネク
タにより機械に設けられた数値制御装置1と分離可能な
状態で接続されており、自動起動、一時停止、手動原点
復帰、手動軸送りおよびプログラム編集などのフアンク
ションキーを備え、CRTなどのデイスプレイ12によ
って編集内容を逐次表示しながら、加工プログラムの編
集を行い、これを入出力回路7を通じて制御部2の内部
のRAMなどのメモリに一時的に記憶させる。そこで制
御部2は、軸駆動部3に対しNC指令を送り、その軸駆
動部3によって工作機械の主軸13にX・Y・Z軸方向
の移動を与え、これによってワーク14に必要な切削運
動および送り運動を与える。なお、この操作部8は、分
離可能な状態にあるため、他の機械の数値制御装置1に
対しても共通に用いられる。
The control unit 2 calls a machining program corresponding to the target work from the command tape 11, converts it into an orthogonal coordinate axis of X, Y, Z axes, and stores it in the storage unit 9. Further, the operation section 8 for the adjustment operation is connected to the input / output circuit 7 by a connecting connector in a separable state from the numerical control device 1 provided in the machine, and automatically starts, pauses, returns to the origin manually. It is equipped with function keys for manual axis feed and program editing, and edits the machining program while sequentially displaying the edited contents on the display 12 such as a CRT, and the like through the input / output circuit 7 to the internal RAM of the control unit 2, etc. To be temporarily stored in the memory of. Therefore, the control unit 2 sends an NC command to the axis driving unit 3, and the axis driving unit 3 causes the spindle 13 of the machine tool to move in the X, Y, and Z axis directions, whereby the cutting motion required for the workpiece 14 is performed. And give a feeding movement. Since the operation unit 8 is in a separable state, it is commonly used for the numerical control devices 1 of other machines.

そして本発明の数値制御装置1は、特殊機能を付加する
ために、判断部15、運転操作部16、各軸位置検出部
22を備えているほか、選択部6および記憶部9の内部
でも必要な機能ブロックを備えている。すなわち記憶部
9には、運転モード・特定座標記憶回路17およびシー
ケンス番号記憶回路18を備えている。また上記判断部
15は入出力回路7および機械原点記憶回路10に接続
されたNC状態判断回路19、運転モード・特定座標記
憶回路17およびNC状態判断回路19に接続された運
転モード・特定座標判断回路20およびこの運転モード
・特定座標判断回路20、シーケンス番号記憶回路18
に接続されたプログラムスタート位置判断回路21が設
けられている。また上記選択部6には、既に述べた入出
力回路7のほか、NC状態判断回路19および各軸位置
検出部22に接続された移動軸方向自動選択回路23お
よびこの移動軸方向自動選択回路23、上記運転モード
・特定座標判断回路20、プログラム自動運転部4、手
動運転部5に接続されたNC動作自動選択回路24が設
けられている。また上記運転操作部16は、自動運転、
非常戻し(自動原点復帰)、ユニット運転、ユニット停
止、ユニット後退、工具交換、次工程前進およびステー
ション完了などの動作指令を指令するフアンクションキ
ーを備えている。
The numerical control device 1 of the present invention is provided with a judgment unit 15, a driving operation unit 16, each axis position detection unit 22 in order to add a special function, and is also required inside the selection unit 6 and the storage unit 9. It has various functional blocks. That is, the storage unit 9 includes an operation mode / specific coordinate storage circuit 17 and a sequence number storage circuit 18. Further, the judging section 15 judges the NC state judging circuit 19 connected to the input / output circuit 7 and the machine origin memory circuit 10, the driving mode / specific coordinate memory circuit 17 and the driving mode / specific coordinate judging circuit connected to the NC state judging circuit 19. Circuit 20, this operation mode / specific coordinate determination circuit 20, sequence number storage circuit 18
There is provided a program start position determination circuit 21 connected to. In addition to the input / output circuit 7 which has already been described, the selecting section 6 includes a moving axis direction automatic selecting circuit 23 connected to the NC state judging circuit 19 and each axis position detecting section 22, and this moving axis direction automatic selecting circuit 23. An NC operation automatic selection circuit 24 connected to the operation mode / specific coordinate determination circuit 20, the program automatic operation unit 4, and the manual operation unit 5 is provided. Further, the driving operation unit 16 is
It is equipped with a function key for issuing operation commands such as emergency return (automatic origin return), unit operation, unit stop, unit retreat, tool change, next process advance and station completion.

〔各部の機能〕[Functions of each part]

機械原点記憶回路10は、機械原点Pmを記憶するため
に設けられているが、制御部2は、運転準備などの初期
の段階では、主軸13の現在位置が記憶されていないた
め、電源の投入時に原点復帰動作を行い、その原点位置
を機械原点Pmとして記憶する。また運転モード・特定
座標記憶回路17は運転モードすなわち機械動作の態様
として「自動運転モード」「同一工具加工モード」およ
び「単一加工単独モード」などの加工態様を記憶するほ
か、特定座標の記憶をも行う。この特定座標とは、プロ
グラムが現在どの段階にいるかを示すもので、それぞれ
の加工における加工開始点や、工具の送りの加工終了点
などの位置、加工原点Po、工具の自動工具交換点(ヘ
ッドまたはATC自動可能位置)、手動工具交換点(ヘ
ッドツールの手動交換可能位置)Pcの座標位置を意味
する。運転モード・特定座標記憶回路17は、上記の位
置情報を論理情報として運転モード・特定座標判断回路
20に送り込むほか、特殊な戻し時に戻るポイントを座
標数値で記憶し、その情報も同様に運転モード・特定座
標判断回路20に送る。またシーケンス番号記憶回路1
8は、加工プログラム中の特定の位置を示すシーケンス
番号を記憶しており、再スタート時にそのシーケンス番
号をプログラムスタート位置判断回路21に送り込む。
The machine origin memory circuit 10 is provided to store the machine origin Pm, but the control unit 2 does not store the current position of the spindle 13 at an initial stage such as preparation for operation, so that the power is turned on. At the same time, the origin return operation is performed and the origin position is stored as the mechanical origin Pm. The operation mode / specific coordinate storage circuit 17 stores machining modes such as “automatic operation mode”, “same tool machining mode” and “single machining independent mode” as modes of operation, that is, machine operation, and also stores specific coordinates. Also do. The specific coordinates indicate the current stage of the program, such as the machining start point in each machining, the machining feed end point of the tool feed, the machining origin Po, and the tool automatic tool change point (head). It also means the coordinate position of the ATC automatic possible position) and the manual tool change point (the manual tool changeable position) Pc. The operation mode / specific coordinate storage circuit 17 sends the above position information as logical information to the operation mode / specific coordinate determination circuit 20, and also stores the point to be returned at the time of a special return as coordinate numerical values. -Send to the specific coordinate determination circuit 20. Sequence number storage circuit 1
Reference numeral 8 stores a sequence number indicating a specific position in the machining program, and sends the sequence number to the program start position determination circuit 21 when restarting.

また判断部15のNC状態判断回路19は、運転操作部
16から復帰または戻し指令が出されたときに、機械原
点記憶回路10の記憶内容を参照して、機械原点Pmへ
の復帰か、加工原点Poへの戻し指令であるかを判断
し、この結果を運転モード・特定座標判断回路20およ
び移動軸方向自動選択回路23へ情報を送り込む。な
お、「機械原点」への復帰は、仕事開始と仕事終了時の
み行われる。通常の加工は「加工原点」から開始する。
これらはプログラムで予め設定するものである。
Further, the NC state determination circuit 19 of the determination unit 15 refers to the stored contents of the machine origin memory circuit 10 when a return or return command is issued from the operation operation unit 16, and returns to the machine origin Pm or performs machining. It is determined whether the command is a return command to the origin Po, and the result is sent to the operation mode / specific coordinate determination circuit 20 and the moving axis direction automatic selection circuit 23. The return to the "machine origin" is performed only at the start and end of work. Normal machining starts from the "machining origin".
These are preset by a program.

そして運転モード・特定座標判断回路20は、これに記
憶されている運転モードにより、復帰または戻しの指令
がだされたときに、戻し通路の判断を行い、この判断結
果をNC動作自動選択回路24を介してプログラム自動
運転部4または手動運転部5に対し指令信号として与え
る。戻し通路の判断は、「シーケンス番号」の千番台に
よって識別され、例えばN7000番台とN8000番
台では加工開始前か途中を示しているため、加工開始位
置まで戻り、N9000番台では加工完了のために戻し
通路の決定はしていない。ここでいう「戻し通路の判
断」とはあくまでプログラムの開始位置を決定するのみ
である。よって通常は加工開始位置を示すN5000番
台のシーケンス番号に戻る。同時にこの運転モード・特
定座標判断回路20は、シーケンス番号に示された特定
座標(各原点、加工開始点、孔底点、加工終了点等)に
主軸13があるかどうかの判断をし、希望のポイントへ
の移動を選択部6へ送る。またプログラムスタート位置
判断回路21は、プログラムの実行中に、機械が停止し
たとき、次のスタートでのプログラム位置を判断し、同
一加工位置での2度の加工防止または繰り返し動作の指
示を行う。このような情報は、自動運転時においてのみ
必要であり、したがってプログラム自動運転部4に送り
込まれる。
Then, the operation mode / specific coordinate determination circuit 20 determines the return passage when a command for return or return is issued according to the operation mode stored therein, and the determination result is the NC operation automatic selection circuit 24. Is given as a command signal to the program automatic operation unit 4 or the manual operation unit 5 via. The judgment of the return passage is identified by the "sequence number" in the 1000s. For example, in the N7000s and N8000s, it indicates before or during the start of machining, so it returns to the machining start position, and in the N9000s, it returns to complete the machining. The passage is not decided. The term "judgment of the return passage" used here means only to determine the start position of the program. Therefore, normally, the sequence number in the N5000 series indicating the machining start position is returned. At the same time, the operation mode / specific coordinate determination circuit 20 determines whether or not there is the spindle 13 at the specific coordinates (each origin, processing start point, hole bottom point, processing end point, etc.) indicated by the sequence number, and makes a request. The movement to the point is sent to the selection unit 6. Further, the program start position judging circuit 21 judges the program position at the next start when the machine is stopped during the execution of the program, and gives an instruction for two times of machining prevention at the same machining position or repeated operation. Such information is necessary only during automatic operation and is therefore sent to the program automatic operation unit 4.

つぎに選択部6の移動軸方向自動選択回路23は、各軸
位置検出部22からの主軸13の現在の位置信号に基づ
いて、原点復帰動作時に、その復帰の方向を自動的に選
択し、自動原点復帰を可能としている。すなわち各軸位
置検出部22は、電源の投入時に主軸13の各軸におけ
る現在の位置を各軸の原点付近のリミットスイッチなど
により検出し、これを位置情報として移動軸方向自動選
択回路23に送り込む。入出力回路7は、調整運転用の
操作部8および運転操作部16のデーターを選択的に取
り入れ、それを必要な各回路に送り込んでいる。
Next, the moving axis direction automatic selection circuit 23 of the selection unit 6 automatically selects the direction of return at the time of the origin return operation based on the current position signal of the spindle 13 from each axis position detection unit 22, It enables automatic home position return. That is, each axis position detection unit 22 detects the current position of each axis of the spindle 13 when the power is turned on by a limit switch near the origin of each axis, and sends this to the moving axis direction automatic selection circuit 23 as position information. . The input / output circuit 7 selectively takes in the data of the operation section 8 and the operation operation section 16 for the adjustment operation, and sends it to each necessary circuit.

〔加工プログラム構成〕[Processing program structure]

以下の表は実際の数値制御プログラムの内容をシーケン
ス番号との関連で例示している。
The following table illustrates the contents of the actual numerical control program in relation to the sequence number.

下記のプログラムでは、自動工具交換点、加工開始点、
孔底点あるいは加工終了点を示すNを頭文字としたシー
ケンス番号は、桁数により識別されている。N5000
〜N5999は、自動工具交換点を示し、N7000番
台は加工開始点、N8000番台は孔底点、そしてN9
000番台は加工終了点をそれぞれ示している。そして
M40は工具別の加工完了を示し、M45はワークの全
加工完了を意味する。
In the program below, automatic tool change point, machining start point,
The sequence number starting with N, which indicates the hole bottom point or the machining end point, is identified by the number of digits. N5000
-N5999 indicates automatic tool change points, N7000 series is a machining start point, N8000 series is a hole bottom point, and N9.
The 000's indicate processing end points. M40 indicates the completion of machining for each tool, and M45 means the completion of all machining of the work.

第1加工工程(ドリル加工) 00001 (プログラムN1 読出し) G98G90G806G0G17G00 (初期値設定) G32P1 (加工原点戻し) N5001T01 (ツール1 ヘッド割出動作) G00X-120.0Y-276.5S1400M03 (X.Y 軸位置決め、主軸正転) G00Z-215.0 (Z軸位置決め) N7001G90G99G81X-120.0Y-276.5Z-225 .0R-215.0F280 (ドリル加工固定サイクル) N7002X-410.0Y-276.5 (ドリル加工固定サイクル) G80G32P2Z0 (固定サイクルキヤンセル、自動工具交換転復帰) M05 (主軸停止) M40 (第1加工完了) 第2加工工程(ドリル加工) N5002T02(ツール2、ヘッド割出動作) GOOX-119.5Y-276.05800M03(X.Y軸位置決め、主軸正
転) G00Z-223.0 (Z軸位置決め) N7011G00X-119.5Y-276.0(X.Y軸位置決め) N8011G01Z-220.0F192 (Z軸切削) N9011Z-223.0 (Z軸終了点復帰) G32P2Z0 (Z軸自動工具交換点復帰) M05 (主軸停止) M40 (第2加工完了) 第3加工工程(ドリル加工) N5003T03(ツール3ヘッド割出動作) G00X-154.5Y-279.0S1900M03 (X.Y軸位置決め、主軸正転) G00Z-220.0 (Z軸位置決め) N7021G90G99G81X-154.5Y-279.0Z-230 .0R-220.0F380 (ドリル加工固定サイクル) N7022X-375.0Y-225.0 (ドリル加工固定サイクル) G80G32P2Z0 (Z軸旋回点復帰) M05 (主軸停止) M40 (加工完了出力) 第4加工工程(タップ加工) N5004T04(ツール4ヘッド割出し動作) G00X-154.5Y.279.05380M03 (X.Y軸位置決め、主軸正転) G00Z-160.0 (Z軸位置決め) N7031G90G99G84X-154.5Y-279.0Z-170 .0R-160.0P40F570 (タップ加工固定サイクル) N7032X-374.5Y-225.0 (タップ加工固定サイクル) G80G32P2Z0(固定サイクルキヤンセル、Z軸自動工具交
換点復帰) M05 (主軸停止) M40 (第4加工完了) 第5加工工程(ドリル加工) N5005T05(ツール5、ヘッド割出し) G00X-155.50Y-252.5053200M03 (X.Y軸位置決め、主軸正転) G00Z-260.0 (Z軸位置決め) N7041G90G99G81X-155.50Y-252.50Z-240 .0R-230.0P40F160 (ドリル加工固定サイクル) G80G32P1Z0 (固定サイクルキヤンセル、加工原点戻り) M05 (主軸停止) M40 (第5加工完了) M45 (全加工完了) M30 (エンドオブプログラム) 上記のようにプログラムG98からM30まではあるワ
ークの一連の数値制御プログラムである。上記プログラ
ムにおける固定サイクルは、従来の一般的な動作指令で
あり、同一の送り量を繰り返す数ブロックを、先頭の1
ブロックで指定することにより前述した加工の孔底点、
加工終了点を省略できる機能である。よって固定サイク
ルを指定した場合に、シーケンス番号N8000番台と
N9000番台の指定は不要となる。
1st machining process (drilling) 00001 (Read program N1) G98G90G806G0G17G00 (Set initial value) G32P1 (Return to machining origin) N5001T01 (Tool 1 head indexing operation) G00X-120.0Y-276.5S1400M03 (XY axis positioning, spindle forward rotation) ) G00Z-215.0 (Z-axis positioning) N7001G90G99G81X-120.0Y-276.5Z-225 .0R-215.0F280 (Drilling fixed cycle) N7002X-410.0Y-276.5 (Drilling fixed cycle) G80G32P2Z0 (Fixed cycle cancell, automatic tool change) Rolling return) M05 (Main spindle stop) M40 (First machining completed) Second machining process (Drill machining) N5002T02 (Tool 2, Head indexing operation) GOOX-119.5Y-276.05800M03 (X.Y axis positioning, spindle forward rotation) ) G00Z-223.0 (Z axis positioning) N7011G00X-119.5Y-276.0 (X. Y axis positioning) N8011G01Z-220.0F192 (Z axis cutting) N9011Z-223.0 (Z axis end point return) G32P2Z0 (Z axis automatic tool change point return ) M05 (Spindle stop) M40 (Second Machining completion) 3rd machining process (drilling) N5003T03 (Tool 3 head indexing operation) G00X-154.5Y-279.0S1900M03 (X. Y-axis positioning, main spindle forward rotation) G00Z-220.0 (Z-axis positioning) N7021G90G99G81X-154.5Y -279.0Z-230 0.0R-220.0F380 (Drilling fixed cycle) N7022X-375.0Y-225.0 (Drilling fixed cycle) G80G32P2Z0 (Z axis turning point return) M05 (Spindle stop) M40 (Processing completion output) 4th processing Process (Tapping) N5004T04 (Tool 4 head indexing operation) G00X-154.5Y.279.05380M03 (X.Y axis positioning, main spindle forward rotation) G00Z-160.0 (Z axis positioning) N7031G90G99G84X-154.5Y-279.0Z-170. 0R-160.0P40F570 (Fixed cycle for tapping) N7032X-374.5Y-225.0 (Fixed cycle for tapping) G80G32P2Z0 (Fixed cycle cancell, Z-axis automatic tool change point return) M05 (Main spindle stop) M40 (4th machining completed) 5th Machining process (drilling) N5005T05 (Tool 5 , Head indexing) G00X-155.50Y-252.5053200M03 (X. Y-axis positioning, spindle forward rotation) G00Z-260.0 (Z-axis positioning) N7041G90G99G81X-155.50Y-252.50Z-240 .0R-230.0P40F160 (fixed cycle for drilling) G80G32P1Z0 (fixed cycle cancel, return to origin) M05 (stop spindle) ) M40 (Fifth machining completed) M45 (All machining completed) M30 (End of program) As described above, programs G98 to M30 are a series of numerical control programs for a certain work. The fixed cycle in the above program is a conventional general operation command, and several blocks that repeat the same feed amount are replaced by the first 1
The hole bottom point of the above-mentioned processing by specifying with the block,
This is a function that can omit the processing end point. Therefore, when the fixed cycle is designated, it is not necessary to designate the sequence numbers N8000 series and N9000 series.

このように1つの数値制御プログラムを後述する各モー
ドに適宜動作させるために、各加工工程、加工孔位置な
どを示す特定座標を数値制御装置1に認識させるため
に、シーケンス番号をプログラム上に新たに付加してい
る。
Thus, in order to properly operate one numerical control program in each mode to be described later, a sequence number is newly added to the program in order to make the numerical control device 1 recognize specific coordinates indicating each machining process, machining hole position and the like. Has been added to.

〔各モードでの動作〕 つぎに第2図を参照しながら各動作モードを選択した場
合についての一連の動作を説明する。
[Operation in Each Mode] Next, a series of operations when each operation mode is selected will be described with reference to FIG.

第2図は、機械原点Pm、加工原点Poおよび手動工具
交換位置Pcとの関連で、5種類の工具について一連の
加工動作を連続的に行う場合を概略的に示しており、図
中の実線の矢印は、工具の早送り移動を、破線は切削送
りをそれぞれ示しており、そのうち○は切削加工の加工
開始点、●は加工終了位置すなわち孔底点、また◎は加
工が終了してワークから工具が抜けた位置を示す加工終
了点を表し、そして◆は自動工具交換点をそれぞれ示し
ている。
FIG. 2 schematically shows a case where a series of machining operations are continuously performed for five kinds of tools in relation to the machine origin Pm, the machining origin Po, and the manual tool change position Pc, and the solid line in the figure. The arrow indicates the rapid movement of the tool, and the broken line indicates the cutting feed. Among them, ○ is the machining start point, ● is the machining end position, that is, the hole bottom point, and ◎ is from the workpiece after machining is completed. The machining end point indicating the position where the tool has come off is shown, and ◆ indicates the automatic tool change point.

「自動運転モード」での運転 このモードでは、「自動運転」および「非常戻し」の指
令が運転操作部16で行われる。まず、オペレータは、
運転操作部16に設けられたモードセレクター25によ
り「自動運転モード」の指定を行う。ここで主軸13が
加工原点Poにあるかどうかをオペレータが確認する。
もし主軸13が加工原点Poにないときには、オペレー
タは、「非常戻し」の指令を与える。これによって数値
制御装置1は、主軸13を加工原点Poまで案内し、そ
の位置で停止させる。そこでオペレータは、「自動運
転」の指令を与える。このとき数値制御装置1は、前述
の数値制御プログラムG98より順次実行し、プログラ
ムM30まで実行すると自動的に停止する。
Operation in "Automatic Operation Mode" In this mode, the commands "automatic operation" and "emergency return" are issued by the operation operation unit 16. First, the operator
The "automatic operation mode" is designated by the mode selector 25 provided in the operation operation unit 16. Here, the operator confirms whether or not the spindle 13 is at the processing origin Po.
If the spindle 13 is not at the processing origin Po, the operator gives an "emergency return" command. As a result, the numerical controller 1 guides the spindle 13 to the processing origin Po and stops it at that position. Therefore, the operator gives a command of "automatic operation". At this time, the numerical controller 1 sequentially executes the numerical control program G98 described above, and automatically stops when the program M30 is executed.

また「自動運転」指令を与えると、主軸13は加工原点
Poで第1の工具「T00L1」を選択した後、加工原
点Poから出発点○の位置に早送りで移動し、その位置
から切削速度のもとに「ツール1」で孔加工を行い、孔
底点●に達すると、加工終了点◎に移動し、その後第2
の孔加工を同一工具で自動的に繰り返す。例えば2つの
孔加工が終了した時点で、主軸13は、さらに後退し、
自動工具交換点◆の位置で旋回し、第2の工具「ツール
2」を選択し、再びその第2の工具「ツール2」によっ
て「ツール1」とは異なる孔加工を行う。このようにし
て「ツール1」から「ツール5」までの5種類のドリル
やタップなどの工具により連続的に加工が行われる。
When the "automatic operation" command is given, the spindle 13 selects the first tool "T00L1" at the machining origin Po, then moves from the machining origin Po to the position of the starting point ○ by fast-forwarding, and from that position the cutting speed is changed. Originally, "Tool 1" was used to perform hole processing, and when the hole bottom point ● was reached, the hole moved to the processing end point ◎, then the second
Repeat the hole drilling with the same tool. For example, when two holes have been drilled, the spindle 13 is further retracted,
The tool is turned at the automatic tool change point ♦, the second tool “tool 2” is selected, and the second tool “tool 2” is used again to perform hole drilling different from the “tool 1”. In this way, machining is continuously performed by using five types of tools such as "tool 1" to "tool 5" such as drills and taps.

また、このような実行の途中で工具破損などにより主軸
13を加工原点Poへ戻さなければならない事態が発生
したときには、オペレータが「非常戻し」の指令を与え
る。このとき数値制御装置1は、現在実行している動作
を中断して、加工原点Poに戻り、その位置で停止す
る。ここでオペレータは、非常事態の発生した原因を除
去し、再び自動運転を再開するために「自動運転」の指
令を与える。この時、数値制御装置1は「非常戻し」で
中断した時点でのシーケンス番号をシーケンス番号記憶
回路18により記憶されており、再起動時には一連のプ
ログラムの中からプログラムスタート位置判断回路21
により検索される。その際次に実行されるシーケンス番
号は、記憶されていたシーケンス番号により異なる。シ
ーケンス番号N5000番台(自動工具交換点)の場合
には、次のN7000番台(加工開始点)へ飛び、N7
000番台の場合は記憶されていた同一のシーケンス番
号のN7000番台に戻る。シーケンス番号N8000
番台(孔底点)の場合は直前のN7000番台へ戻り、
シーケンス番号N9000番合(加工終了点)の場合は
次のN7000番台、あるいは次工具のN5000番台
へ飛ぶ。
Further, when a situation occurs in which the spindle 13 must be returned to the processing origin Po due to tool damage or the like in the course of such execution, the operator gives an "emergency return" command. At this time, the numerical control device 1 interrupts the operation currently being executed, returns to the processing origin Po, and stops at that position. Here, the operator removes the cause of the occurrence of the emergency and gives a command of "automatic operation" to restart the automatic operation again. At this time, the numerical controller 1 stores the sequence number at the time of interruption due to "emergency return" in the sequence number storage circuit 18, and at restart, the program start position determination circuit 21 from the series of programs.
It is searched by. The sequence number to be executed next at that time depends on the stored sequence number. If the sequence number is N5000 series (automatic tool change point), jump to the next N7000 series (machining start point) and go to N7
In the case of the 000's, the stored sequence number returns to the N7000's with the same sequence number. Sequence number N8000
In the case of the number series (hole bottom point), return to the last N7000 number series,
In the case of the sequence number N9000 (processing end point), jump to the next N7000 series or the next tool N5000 series.

この場合例えば、シーケンス番号記憶回路18によって
記憶されている番号がN5001、N7001であれば
T00L1の第1孔は未加工であることを示し、再開プ
ログラムは出発点を示すN7001から再び開始され
る。また記憶中のシーケンス番号がN8001であれ
ば、同様にT00L1の第1孔は未加工かあるいは加工
の途中であることを示し、同様にN7001からプログ
ラムは再開される。記憶されたシーケンス番号がN90
01であれば、第1孔の加工は加工が終了しており、再
開プログラムは、次の孔加工の出発点N7002へ飛
ぶ。ただし、同一工具の加工が次に予定されない場合
は、次工具の工具交換を示すN5000番台へ飛ぶ。こ
のように「自動運転モード」での運転は、シーケンス番
号により細分化されたプログラムの先頭より順次実行す
るのが原則であるが、途中に非常停止等でオペレータの
動作が介入する必要が生じた場合には、上記のように、
記憶されているそれぞれのシーケンス番号に対応して選
択されたシーケンス番号のブロックからプログラムは再
開されることになる。
In this case, for example, if the numbers stored in the sequence number storage circuit 18 are N5001 and N7001, it means that the first hole of T00L1 is unprocessed, and the restart program is restarted from N7001 which shows the starting point. If the stored sequence number is N8001, it also indicates that the first hole of T00L1 is unprocessed or is in the process of being processed, and the program is restarted from N7001. The stored sequence number is N90
If it is 01, the machining of the first hole is finished, and the restart program jumps to the starting point N7002 of the next hole machining. However, if the machining of the same tool is not scheduled next, the process jumps to the N5000 series indicating the tool change of the next tool. As described above, in principle, the operation in the "automatic operation mode" is executed sequentially from the beginning of the program subdivided by the sequence number, but it was necessary to intervene the operation of the operator during an emergency stop. In that case, as above,
The program is restarted from the block of the sequence number selected corresponding to each stored sequence number.

「同一工具加工モード」での運転 この運転モードで使用される指令は、「ツール交換」、
「ユニット運転」、「ユニット停止」、「ユニット後
退」および「ステーション完了」である。
Operation in "same tool machining mode" The commands used in this operation mode are "tool change",
"Unit operation", "Unit stop", "Unit retreat" and "Station complete".

このモードでの運転は、同一工具で加工される範囲のみ
であり、例えばシーケンス番号N5001より次の工具
への交換を示すシーケンス番号N5002の前のプログ
ラムM40までを実行して停止するものであり、いかな
る場合にもN5002をN5001に引き続いて連続し
て実行することはない。
The operation in this mode is only in the range where machining is performed with the same tool, and for example, the program M40 before the sequence number N5002 indicating the replacement with the next tool is executed and stopped. In no case is N5002 continuously executed following N5001.

今、仮に加工工程がすべて完了し、数値制御装置1が加
工原点Poに停止しているものとする。そしてオペレー
タは、「同一ツール運転モード」で第1加工工程の実行
を意図としているものとする。ここでオペレータは、ま
ず「ツール交換」の指令を与えると、プログラムスター
ト位置判断回路21は、シーケンス番号N5001を検
索し、「ツール1」の工具交換が実行される。「ツール
1」が選択された時点で、オペレータは、加工を実行さ
せるために、「ユニット運転」の指令を行う。このとき
数値制御装置1は、シーケンス番号N5001のつぎの
ブロックよりプログラムを実行し、次工具のN5002
の前のブロックのM40まで順次実行した後、加工原点
Poに戻って停止する。このとき主軸13は、加工原点
Po→第1の孔加工の加工開始点○(N7001)→第
1孔加工の孔底点●(N8001)→第1孔加工の加工
終了点◎(N9001)→第2加工孔の加工開始点○
(N7002)→第2加工孔の孔底点●(N8002)
→第2加工孔の加工終了点◎(N9002)→加工原点
Poでの停止(M40)となっている。
Now, it is assumed that all the machining steps have been completed and the numerical controller 1 has stopped at the machining origin Po. The operator intends to execute the first machining process in the "same tool operation mode". Here, when the operator first gives a command of "tool exchange", the program start position determination circuit 21 retrieves the sequence number N5001 and the tool exchange of "tool 1" is executed. When the "tool 1" is selected, the operator issues a "unit operation" command to execute the machining. At this time, the numerical controller 1 executes the program from the block next to the sequence number N5001, and the next tool N5002 is executed.
After sequentially executing up to M40 of the block before, the process returns to the processing origin Po and stops. At this time, the main spindle 13 is the machining origin Po → the machining start point of the first hole machining ○ (N7001) → the hole bottom point of the first hole machining ● (N8001) → the machining end point of the first hole machining ◎ (N9001) → Machining start point of the second machining hole ○
(N7002) → Hole bottom point of second processed hole ● (N8002)
→ Machining end point of the second machining hole ◎ (N9002) → Stop at the machining origin Po (M40).

この加工途中で非常事態が発生したときには、「ユニッ
ト後退」の指令を与える。これによって数値制御装置1
は、現在実行している動作を中断して、主軸13を加工
原点Poに戻し、その位置で停止する。そこでオペレー
タは、非常事態の発生した原因を取り除く。再び運転を
再開させるためには、再度「ユニット運転」の指令を出
す。このとき数値制御装置1は、「ユニット後退」で中
断した時点でシーケンス番号記憶回路18に記憶されて
いるシーケンス番号により前記自動運転モードで述べた
と同様にそれぞれのシーケンス番号に対応し選択された
シーケンス番号から順次再開され、プログラムM40の
実行後、加工原点Poに復帰して停止する。またオペレ
ータが「ユニット運転」または「ユニット交替」の指令
を与え、その動作を実行しているときに、動作を中断し
て止める必要が生じた場合には、オペレータは、「ユニ
ット停止」の指令を与える。そのとき、数値制御装置1
は、現在実行している動作を中断し、その場で停止す
る。この後オペレータが再開運転を希望するときには、
まず「ユニット後退」の指令を与えて主軸13を加工原
点Poに戻し、続いて「ユニット運転」の指令によって
再開運転の指令を与える。
When an emergency occurs during this process, a "unit retreat" command is given. With this, the numerical controller 1
Stops the operation currently being executed, returns the spindle 13 to the processing origin Po, and stops at that position. Therefore, the operator removes the cause of the emergency. In order to restart the operation again, the "unit operation" command is issued again. At this time, the numerical controller 1 uses the sequence numbers stored in the sequence number storage circuit 18 at the time of interruption due to "unit retreat", and selects the sequence corresponding to each sequence number as described in the automatic operation mode. The processing is sequentially restarted from the numbers, and after the program M40 is executed, the processing is returned to the processing origin Po and stopped. If the operator gives a command for "unit operation" or "unit replacement" and it is necessary to interrupt and stop the operation while the operation is being executed, the operator must give a "unit stop" command. give. At that time, the numerical controller 1
Interrupts the operation it is currently performing and stops on the fly. After this, when the operator wishes to resume operation,
First, a "unit retreat" command is given to return the spindle 13 to the processing origin Po, and subsequently, a "unit operation" command gives a restart operation command.

「ユニット運転」の指令により、プログラムM40の実
行後、加工原点Poで主軸13が停止しているときに
は、再度「ユニット運転」の指令がオペレータによって
与えられれば、第1加工孔からの再加工が可能となる。
When the spindle 13 is stopped at the machining origin Po after execution of the program M40 by the command of "unit operation", if the operator gives the command of "unit operation" again, re-machining from the first machining hole is performed. It will be possible.

またオペレータが現在の工具の加工を打ち切り、次の工
具の加工を開始したいときには、「ステーション完了」
の指令を与え、その後「ツール交換」の指令を与えるこ
とにより、ツールの交換が行われる。すなわち「ステー
ション完了」が指令されると、現在の工具の加工完了を
意味するM40へ飛び、その後の「ツール交換」指令に
より、次の工具の工具交換を示すシーケンス番号N50
02へプログラムは進む。
When the operator wants to stop machining the current tool and start machining the next tool, "station complete"
Is given, and then the "tool exchange" command is given, the tool is exchanged. That is, when the "station completion" is instructed, the process jumps to M40 which means that the machining of the current tool is completed, and the subsequent "tool exchange" command causes the sequence number N50 indicating the tool exchange of the next tool.
The program proceeds to 02.

「単一加工単独モード」での運転 この運転モードでは、「次工程前進」、「ユニット運
転」、「ユニット停止」および「ユニット後退」の指令
が与えられる。またこのモードでの運転範囲は、前記同
一工具加工モードの「ユニット運転」の動作を例えば孔
加工単位などにさらに細分化したものとなっている。
Operation in "single machining alone mode" In this operation mode, the commands "next process forward", "unit operation", "unit stop" and "unit backward" are given. Further, the operation range in this mode is obtained by further subdividing the operation of the "unit operation" in the same tool machining mode into, for example, a hole machining unit.

このモードでは、「ユニット運転」の指令で動作させ得
る範囲は、1つの孔加工についての動作のみである。ま
ず、主軸13には「ツール1」が選択され、かつ加工原
点Poにあるものと仮定する。まず「次工程前進」を指
令して出発点へ主軸13を移動させる。「次工程前進」
の指令を与えると、プログラム自動運転部4は、加工開
始点を示すシーケンス番号N7001番地を検索し、出
発点へ移動し停止し、つぎのプログラムへは自動的に移
行しない。
In this mode, the range that can be operated by the "unit operation" command is only the operation for one hole drilling. First, it is assumed that "tool 1" is selected for the spindle 13 and is located at the processing origin Po. First, the "next process forward" is instructed to move the spindle 13 to the starting point. "Next step forward"
Command, the program automatic operation unit 4 searches for the sequence number N7001 indicating the machining start point, moves to the starting point and stops, and does not automatically move to the next program.

次にオペレータは、第1加工孔を加工するために、「ユ
ニット運転」の指令を与える。このとき数値制御装置1
は、シーケンス番号N7001番地のつぎのシーケンス
番号を検索し、以後順次実行していき、加工終了点◎を
示すシーケンス番号N9001を実行して自動的に停止
する。このとき主軸13は、第1加工孔の加工開始点○
(N7001)→第1加工孔の孔底点●(N8001)
→第1加工孔の加工終了点◎(N9001)の順序で移
動することになる。
Next, the operator gives a command of "unit operation" in order to process the first processed hole. At this time, the numerical controller 1
Searches for a sequence number next to the sequence number N7001 and sequentially executes the sequence number thereafter to execute the sequence number N9001 indicating the machining end point ◎ and automatically stop. At this time, the spindle 13 has a machining start point ◯ of the first machining hole.
(N7001) → Hole bottom point of the first processed hole ● (N8001)
→ The machining end point of the first machining hole is moved in the order of ◎ (N9001).

上記プログラムの実行中に何らかの理由により停止させ
なければならないときには、オペレータは「ユニット停
止」の押釦を操作する。そのとき数値制御装置1は、現
在実行している動作を中断し、その場で停止することに
なる。
When it is necessary to stop the program for some reason during the execution of the program, the operator operates the "unit stop" push button. At that time, the numerical controller 1 interrupts the operation currently being executed and stops on the spot.

オペレータがこの停止後再加工を希望すれば、「ユニッ
ト運転」の指令を与える。そこでプログラムスタート位
置判断回路21は、加工開始点を示すシーケンス番号N
7001の次のシーケンス番号N8001を検索し、以
後そのブロック(再切削)から順次実行し、シーケンス
番号N9001を実行した時点で自動的に停止する。主
軸13は、現在位置より孔底点●経由で、その加工終了
点◎で停止することになる。
If the operator desires reprocessing after this stop, the operator gives a command for "unit operation". Therefore, the program start position determination circuit 21 uses the sequence number N indicating the machining start point.
The sequence number N8001 next to 7001 is searched, and the blocks (re-cutting) are sequentially executed thereafter. When the sequence number N9001 is executed, the sequence is automatically stopped. The spindle 13 stops from the current position via the hole bottom point ● and at its machining end point ◎.

また加工動作途中で加工開始点○への戻しを希望する場
合には、オペレータは、「ユニット後退」の指令を与え
る。そこでプログラムは、自動運転部4により加工開始
点○まで戻って停止する。このとき主軸13は、停止位
置より戻り、第1加工孔の加工開始点○で停止する。
If the operator wants to return to the machining start point ◯ during the machining operation, the operator gives a “unit retreat” command. Therefore, the program is stopped by returning to the machining start point ◯ by the automatic operation unit 4. At this time, the spindle 13 returns from the stop position and stops at the machining start point ◯ of the first machining hole.

第1加工孔の開始点○にあり、オペレータが主軸13を
つぎの加工の第2加工孔の加工開始点○に移動させたい
と意図としたときは、「次工程前進」の指令を与える。
このときシーケンス番号記憶回路18で現在記憶してい
るシーケンス番号N7001のつぎの加工開始点を示す
シーケンス番号N7002番地を検索し、第2加工孔の
加工開始点○へ移動して停止する。
When the operator intends to move the spindle 13 to the machining start point ◯ of the second machining hole for the next machining at the starting point ◯ of the first machining hole, the command of “advance next process” is given.
At this time, the sequence number storage circuit 18 searches for the sequence number N7002 indicating the machining start point next to the currently stored sequence number N7001 and moves to the machining start point ◯ of the second machining hole and stops.

第2加工孔の加工開始点○において、オペレータが再度
「次工程前進」の指令を与えた場合には、「ツール1」
から「ツール2」に工具を交換する必要がある。この場
合、同一工具での加工単独モードであり、次の工具を選
択する事なく、主軸13は、第2加工孔の加工開始点○
より加工原点Poに戻って停止することになる。
At the machining start point ◯ of the second machining hole, if the operator again gives a command of “advance to the next process”, “tool 1”
It is necessary to replace the tool from "Tool 2". In this case, the mode is the single processing mode with the same tool, and the spindle 13 is the processing start point of the second processing hole without selecting the next tool.
As a result, it will return to the processing origin Po and stop.

〔発明の効果〕〔The invention's effect〕

本発明では、NCの特定座標を示すシーケンス番号をプ
ログラムに設けることにより複数の動作モードがあらか
じめ設定でき、一連の数値制御プログラムの細分化され
たNCデータの組合せまたはそれらの選択によって、異
なるNC加工が連続的に行え、また必要に応じて同一の
ツールごとの加工や任意の加工孔における断続的な加工
や動きが選択できるから、多品種少量生産の加工に柔軟
に対応できる。また複雑なプログラムを前もって作成す
ることなく専用機として要求される単純な操作指令のみ
で加工内容の柔軟性が個々の機械について高い操作性の
もとに設定できる。すなわち、加工プログラムに出発点
などの特定の座標位置を示すシーケンス番号を付加する
ことにより、工具別や加工孔別の工具の現在位置が特定
され、加工済みの個所の二度加工防止や、タップ加工な
どの加工途中位置からの逆転後退などの動作をプログラ
ムに前もって書き込むことなく確実に指令される効果を
有する。
In the present invention, a plurality of operation modes can be set in advance by providing a sequence number indicating the specific coordinates of NC in the program, and different NC machining can be performed depending on the combination of the subdivided NC data of a series of numerical control programs or their selection. Can be continuously performed, and machining for the same tool or intermittent machining and movement in arbitrary machining holes can be selected as required, so that it is possible to flexibly cope with machining for high-mix low-volume production. In addition, the flexibility of the processing contents can be set for each machine with high operability only by the simple operation command required as a dedicated machine without creating a complicated program in advance. That is, by adding a sequence number that indicates a specific coordinate position such as the starting point to the machining program, the current position of the tool for each tool or machining hole is specified, preventing double machining of the machined part, and tapping. This has the effect of reliably instructing operations such as reverse rotation and retreat from the mid-process position such as machining without writing it in the program in advance.

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

第1図は本発明の数値制御装置のブロック線図、第2図
は運転モードの説明図、第3図はモードセレクターの概
略図である。 1……数値制御装置、2……制御部、3……軸駆動部、
4……プログラム自動運転部、5……手動運転部、6…
…選択部、7……入力回路、8……調整運転用の操作
部、9……記憶部、10……機械原点記憶回路、11…
…指令テープ、12……CRTなどのデイスプレイ、1
3……工作機械の主軸、14……ワーク、15……判断
部、16……運転操作部、17……運転モード・特定座
標記憶回路、18……シーケンス番号記憶回路、19…
…NC状態判断回路、20……運転モード・特定座標判
断回路、21……プログラムスタート位置判断回路、2
2……各軸位置検出回路、23……移動軸方向自動選択
回路、24……NC動作自動選択回路、25……モード
セレクター。
FIG. 1 is a block diagram of a numerical controller according to the present invention, FIG. 2 is an explanatory diagram of an operation mode, and FIG. 3 is a schematic diagram of a mode selector. 1 ... Numerical control device, 2 ... control unit, 3 ... axis drive unit,
4 ... Program automatic operation part, 5 ... Manual operation part, 6 ...
... Selector, 7 ... Input circuit, 8 ... Operating section for adjusting operation, 9 ... Memory section, 10 ... Machine origin memory circuit, 11 ...
… Command tape, 12… Display such as CRT, 1
3 ... Machine tool spindle, 14 ... Work, 15 ... Judgment section, 16 ... Operation section, 17 ... Operation mode / specific coordinate storage circuit, 18 ... Sequence number storage circuit, 19 ...
... NC state determination circuit, 20 ... Operation mode / specific coordinate determination circuit, 21 ... Program start position determination circuit, 2
2 ... Each axis position detection circuit, 23 ... Moving axis direction automatic selection circuit, 24 ... NC operation automatic selection circuit, 25 ... Mode selector.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】加工プログラムを複数のブロックにより構
成し、各ブロックに孔加工の加工開始点、孔底点、加工
終了点等の特定座標を示す固有のシーケンス番号を付し
ておき、これらのブロックを組み合わせて、ワークに所
定の加工を施すNC制御装置において、 上記特定座標およびシーケンス番号を記憶するととも
に、自動運転モード、同一工具加工モードおよび単一加
工単独モード等の運転モードおよび加工原点、工具交換
点等の特定座標を記憶しておき、 指定された運転モードに対応して選択されたシーケンス
番号によりプログラムスタート位置、停止の判断を行
い、加工の開始および再開始をさせ、加工プログラム中
の選択された各ブロックを順次実行することを特徴とす
る数値制御方法。
1. A machining program is composed of a plurality of blocks, each block is provided with a unique sequence number indicating specific coordinates such as a machining start point, a hole bottom point, a machining end point, etc. In an NC controller for combining a block and performing a predetermined machining on a work, the specific coordinates and the sequence number are stored, and an operation mode such as an automatic operation mode, a single tool machining mode and a single machining single mode, and a machining origin, Stores specific coordinates such as tool change points, determines the program start position and stop according to the sequence number selected in accordance with the specified operation mode, and starts and restarts machining, A numerical control method characterized in that each selected block of (1) is sequentially executed.
【請求項2】加工プログラムを複数のブロックにより構
成し、各ブロックに孔加工の加工開始点、孔底点、加工
終了点等の特定座標位置を示す固有のシーケンス番号を
付しておき、これらのブロックを組み合わせて、ワーク
に所定の加工を施すNC制御装置において、 上記特定座標およびシーケンス番号を記憶するととも
に、自動運転モード、同一工具加工モードおよび単一加
工単独モード等の運転モードおよび加工原点、工具交換
点等の特定座標を記憶する記憶部と、 上記記憶部に記憶され指定された運転モードに対応して
選択されたシーケンス番号から特定座標を判断し、この
選択されたシーケンス番号および特定座標からプログラ
ムスタート位置、停止の判断を行う判断部と、 上記判断部からのプログラムスタート位置の判断出力に
基づいて上記記憶部からシーケンス番号によって読みだ
されたブロックを順次実行するプログラム自動運転部
と、 上記判断部によって選択されたシーケンス番号および戻
し位置の特定座標に基づいてNCの動作内容を自動的に
選択する選択部と、 自動運転、非常戻し、ユニット運転・停止・後退、ツー
ル交換、次工程前進およびステーション完了などの動作
命令を入力するための運転操作部とを具備し、 運転モードに対応して選択されたシーケンス番号によ
り、プログラムスタート位置、停止の判断を行い、加工
の開始および再開始をさせ、加工プログラム中の選択さ
れた各ブロックを順次実行することを特徴とする数値制
御装置。
2. A machining program is composed of a plurality of blocks, each block is provided with a unique sequence number indicating a specific coordinate position such as a machining start point, a hole bottom point, and a machining end point of hole machining. In the NC controller that combines the blocks of the above to perform the predetermined machining on the work, the specific coordinates and the sequence number are stored, and the operation mode and the machining origin such as the automatic operation mode, the same tool machining mode and the single machining single mode are stored. The storage unit that stores specific coordinates such as the tool change point, and the specific sequence number that is stored in the storage unit and that corresponds to the specified operation mode are used to determine the specific coordinates, and the selected sequence number and the specific coordinates are determined. The judgment unit that judges the program start position and stop from the coordinates, and the judgment output of the program start position from the judgment unit Based on the program automatic operation unit that sequentially executes the blocks read by the sequence number from the storage unit, and the operation contents of the NC automatically based on the sequence number and the specific coordinates of the return position selected by the determination unit. It is equipped with a selection section to select and an operation operation section for inputting operation commands such as automatic operation, emergency return, unit operation / stop / reverse, tool exchange, next process advance and station completion. A numerical control device characterized in that a program start position and a stop are judged by the sequence number selected by the above, the machining is started and restarted, and each selected block in the machining program is sequentially executed.
JP59019063A 1984-02-04 1984-02-04 Numerical control method and its apparatus Expired - Lifetime JPH0637018B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59019063A JPH0637018B2 (en) 1984-02-04 1984-02-04 Numerical control method and its apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59019063A JPH0637018B2 (en) 1984-02-04 1984-02-04 Numerical control method and its apparatus

Publications (2)

Publication Number Publication Date
JPS60167746A JPS60167746A (en) 1985-08-31
JPH0637018B2 true JPH0637018B2 (en) 1994-05-18

Family

ID=11988971

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59019063A Expired - Lifetime JPH0637018B2 (en) 1984-02-04 1984-02-04 Numerical control method and its apparatus

Country Status (1)

Country Link
JP (1) JPH0637018B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2586905B2 (en) * 1987-05-01 1997-03-05 フアナツク株式会社 Numerical controller with fixed tapping cycle with tap
CN116500976A (en) * 2022-12-19 2023-07-28 北京北一机床有限责任公司 A Strategy of Combining PLC and Machining Program for Machining Control

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5918184B2 (en) * 1978-12-26 1984-04-25 株式会社小松製作所 Tool evacuation/return device in case of tool abnormality in machine tools
JPS5846409A (en) * 1981-09-14 1983-03-17 Yamazaki Mazak Corp Inputting method for work information at machining center

Also Published As

Publication number Publication date
JPS60167746A (en) 1985-08-31

Similar Documents

Publication Publication Date Title
US5465215A (en) Numerical control method and apparatus
US4604705A (en) Numerical control machining method and system therefor
US4586125A (en) Numerical control working system
EP0223857B1 (en) Method of compiling nc programs for a four-axes lathe
US8145348B2 (en) Tool selection method for machine tool, control device, and numerically controlled lathe
US4700313A (en) Plural turret system with display of permitted and non-permitted simultaneous machining operations
JPH09120310A (en) Method and system for moving axis
US5315503A (en) Numerical control apparatus having a teaching function and a method of teaching a machining program thereby
WO2000012258A1 (en) Method and apparatus for optimizing nc programs in nc machining
JPH046001B2 (en)
KR930010589B1 (en) Cutting tool stop control apparatus
JP3199319B2 (en) Multi-axis / multi-path numerical control method
EP0107147A2 (en) Numerically controlled process and machine operating according to the process
JPH0637018B2 (en) Numerical control method and its apparatus
JPH1094944A (en) Control method and device for machine tool
JPH0370242B2 (en)
JPH0746287B2 (en) Numerical control device
JPH05305540A (en) Tool exchange method for working device
JP3313001B2 (en) Control method at the start and end of machining of NC lathe
JP2000305612A (en) Numerical controller capable of controlling plural main shafts
JP2022047702A (en) Machining program optimization device and method thereof
EP0935179A1 (en) Numeric controller provided with teaching/playback function
JPS6119380B2 (en)
JPH11242511A (en) Numeric controller for simultaneously controlling two movable bodies on comomon path
JPS62228309A (en) Nc machine tool

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term