JPS63314603A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPS63314603A
JPS63314603A JP15076887A JP15076887A JPS63314603A JP S63314603 A JPS63314603 A JP S63314603A JP 15076887 A JP15076887 A JP 15076887A JP 15076887 A JP15076887 A JP 15076887A JP S63314603 A JPS63314603 A JP S63314603A
Authority
JP
Japan
Prior art keywords
memory
program
machining program
tool path
pulse
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
JP15076887A
Other languages
Japanese (ja)
Inventor
Naoki Fujita
直樹 藤田
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 JP15076887A priority Critical patent/JPS63314603A/en
Publication of JPS63314603A publication Critical patent/JPS63314603A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To change the contents of a working program concurrently with the change of a tool path with use of an input manual pulse, by using a means which compounds the correction value with the tool path data on the working program of a 1st memory and then changes the working program itself. CONSTITUTION:A 1st reading program memory 11 stores the working program prescribing a tool path for each block every time this program is read out. While a 2nd handle pulse memory 12 stores the correction value obtained by a manual pulse synchronously with the memory 11. Then a changing means is added to synthesize 13 (working program synthesizing part) said correction value with the tool path data on the working program of the memory 11 and changes this program itself. In such a constitution, a handle interruption is applied by a manual pulse generator and at the same time the working program is changed. Thus it is not required to change the working program later and to easily regenerate a corrected tool path in the next working process.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ハンドル割り込み機能を備えた数値制御装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a numerical control device equipped with a handle interrupt function.

(従来の技術) 通常の数値制御装置は、工作機械による加工内容の初期
設定時や加工量の微調整を必要とするときなどのために
、手動パルス発生器を備えている。これは、数値制御装
置の自動運転モードにおいて、実際の加工の状態を見な
がらハンドルパルスを入力し、オペレータがプログラム
で指令された工具通路を自由に変更する機能であり、い
わゆるハンドル割り込み機能として知られている。
(Prior Art) A typical numerical control device is equipped with a manual pulse generator for initial setting of machining contents by a machine tool or when fine adjustment of machining amount is required. This is a function that allows the operator to freely change the tool path commanded by the program by inputting handle pulses while observing the actual machining status in the automatic operation mode of the numerical control device, and is known as the so-called handle interrupt function. It is being

(発明が解決しようとする問題点) このような従来の数値制御装置のハンドル割り込み機能
では、その時に実行される加工に対してだけ工具通路の
変更がなされるのであり、自動運転を規定している加工
プログラム自体を変更する訳ではないため、修正された
工具通路にしたがって以降の自動運転を続ける場合には
、数値制御装置に対して別の編集機能を有する装置で加
工ブロダラムを編集して、新たにそれを数値制御装置に
読み込むという作業が必要になる。しかしその場合には
、複雑な加工プログラムの場合や、微妙な修正が必要な
ときに、オペレータへの負担が大きくなるという問題点
があった。
(Problem to be solved by the invention) With the handle interrupt function of such a conventional numerical control device, the tool path is changed only for the machining that is being executed at that time, and automatic operation is not specified. Since the current machining program itself is not changed, if you want to continue automatic operation according to the corrected tool path, edit the machining program with a device that has a separate editing function for the numerical control device. It is necessary to newly read it into the numerical control device. However, in this case, there is a problem in that the burden on the operator increases when the machining program is complex or when delicate corrections are required.

本発明は、上記の点に鑑みてなされたもので、入力され
た手動パルスにより工具通路の変更と同時に加工プログ
ラム内容をも変更しうる数値制御装置を提供することを
目的としている。
The present invention has been made in view of the above points, and an object of the present invention is to provide a numerical control device that can change the machining program contents at the same time as changing the tool path based on input manual pulses.

(問題点を解決するための手段) 本発明によれば、工作機械の自動運転中に入力される手
動パルスに基づきプログラムされた工具通路を変更する
指令機能を有する数値制御装置において、前記工具通路
を規定する加工プログラムをそれが読み出される毎にブ
ロック単位で記憶する第1のメモリ手段と、このメモリ
手段に同期して前記手動パルスによる修正量を記憶する
第2のメモリ手段と、前記第1のメモリ手段の加工プロ
グラムの工具通路データに前記修正量を合成して前記加
工プログラム自体を変更する変更手段とを具備してなる
ことを特徴とする数値制御装置を提供できる。
(Means for Solving the Problems) According to the present invention, in a numerical control device having a command function for changing a programmed tool path based on a manual pulse input during automatic operation of a machine tool, the tool path is a first memory means for storing a machining program defining a block unit each time it is read; a second memory means for storing a correction amount by the manual pulse in synchronization with this memory means; It is possible to provide a numerical control device characterized by comprising: a changing means for combining the correction amount with the tool path data of the machining program in the memory means to change the machining program itself.

(作用) 本発明の数値制御装置では、入力される手動パルスは工
具通路を規定する各軸毎の補間パルスに割り込んで工具
の実際の通路を変更するとともに、読み出された加工プ
ログラムの工具通路データとの間で合成され、記憶して
いる加工プログラム自体をも修正する。
(Function) In the numerical control device of the present invention, the input manual pulse interrupts the interpolation pulse for each axis that defines the tool path, changes the actual path of the tool, and also changes the tool path of the read machining program. It is combined with the data and also modifies the stored machining program itself.

(実施例) 以下、本発明の一実施例を図面に従って詳細に説明する
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第を図は、本発明の一実施例の数値制御装置を示すブロ
ック図で、1はNCテープなどから数値制御装置に読み
込まれた加工プログラムを記憶する加工プログラムメモ
リである。この加工プログラムメモリ1は、図示しない
プロセッサなどと接続されるRAM構成の記憶部で、加
工プログラム読み出し部2を介して所定のシーケンスに
従って1ブロツクづつ加工プログラム解読部3に読み出
されている。パルス補間制御部4では、解読されたプロ
グラムに従って工具通路を規定するデータによりパルス
補間がなされている。
FIG. 1 is a block diagram showing a numerical control device according to an embodiment of the present invention. Reference numeral 1 denotes a machining program memory that stores a machining program read into the numerical control device from an NC tape or the like. The machining program memory 1 is a storage section having a RAM configuration connected to a processor (not shown), and is read out one block at a time to a machining program decoding section 3 in accordance with a predetermined sequence via a machining program reading section 2. The pulse interpolation control section 4 performs pulse interpolation using data defining the tool path according to the decoded program.

5は、ハンドルの回転により所定の手動パルスを発生す
る手動パルス発生器であり、例えば、第2図に示すよう
なダイアルをオペレータが工具のり動軸毎に操作するこ
とで、自動運転中に一定の割合でハンドルパルス(手動
パルス)が発生される。この手動パルス発生器5からの
ハンドルパルスは、ハンドルパルスカウンタ6で積算さ
れ、上記パルス補間制御部4と同期してハンドルパルス
読み出し部7からパルス合成部8に送出される。
Reference numeral 5 denotes a manual pulse generator that generates a predetermined manual pulse by rotating a handle. For example, by having the operator operate a dial as shown in Fig. 2 for each tool movement axis, a constant pulse can be generated during automatic operation. Handle pulses (manual pulses) are generated at a rate of . The steering wheel pulses from the manual pulse generator 5 are integrated by a steering wheel pulse counter 6, and sent from the steering wheel pulse reading section 7 to the pulse synthesizing section 8 in synchronization with the pulse interpolation control section 4.

9はパルス分配制御部で、ここではハンドル割り込みの
掛った合成パルスにより工作機械の工具を各軸毎に駆動
する分配パルス指令を形成している。本発明は、上記N
Cプログラムを呼び出し、それを解読し、補間し、分配
して駆動する従来の数値制御装置において、補間された
データにハンドルパルスを加えるだけでなく、その修正
結果を加工プログラム自体にも反映させようとするもの
で、そのために加工プログラム変更部10が設けられて
いる。
Reference numeral 9 denotes a pulse distribution control section, which forms a distribution pulse command for driving the tool of the machine tool for each axis by a composite pulse with a handle interrupt. The present invention provides the above N
In a conventional numerical control device that calls a C program, decodes it, interpolates it, distributes it, and then drives it, we would like to not only add handle pulses to the interpolated data, but also reflect the correction results in the machining program itself. For this purpose, a machining program changing section 10 is provided.

この加工プログラム変更部10は、上記加工プログラム
読み出し部2からの加工プログラムにハンドルパルス読
み出し部7からのハンドルパルスとを合成して各プログ
ラムを変更し、加工プログラムメモリ1の内容を書き換
える機能を有している。
This machining program changing section 10 has a function of combining the machining program from the machining program reading section 2 with the handle pulse from the handle pulse reading section 7, changing each program, and rewriting the contents of the machining program memory 1. are doing.

第3図(a)は、本発明の要旨である上記加工プログラ
ム変更部10の一構成例を示すブロック図で、加工プロ
グラムメモリ1から読み出されるプログラムを記憶する
第1のメモリ11は例えば、第3図(b)に示すシーケ
ンス番号とそれに対応する1ブロツク分の加工内容を記
憶し、ハンドルパルス読み出し部7から読み出されるハ
ンドルパルスを記憶する第2のメモリ12は、例えばX
軸ハンドルパルスとY軸ハンドルパルスとを記憶してい
る。そしてこれら第1.第2のメモリ11.12のデー
タが人力される加工プログラム合成部13で、工具通路
データに修正量が合成される。
FIG. 3(a) is a block diagram showing an example of the configuration of the machining program changing section 10, which is the gist of the present invention. The second memory 12 stores the sequence number shown in FIG.
It stores axis handle pulses and Y-axis handle pulses. And these first. In the machining program synthesis section 13, which manually inputs the data in the second memory 11, 12, the correction amount is synthesized with the tool path data.

第4図は、上記加工プログラム合成部13での処理の流
れを示すフローであり、読み出された加工プログラムの
分配が1ブロツク分終了する毎に起動される。
FIG. 4 is a flowchart showing the processing flow in the machining program synthesis section 13, which is started every time the distribution of the read machining program is completed for one block.

ハンドルパルスメモリ12のX軸ハンドルパルスが;で
ない場合(ステップa)、シーケンス番号を附与された
1ブロツクのプログラム内容からX軸のデータ内容を読
み出して、手動パルス発生器5で設定された移し’l量
の単位に変更する(ステップb)。変更された値に上記
X軸ハンドルパルスを加算して、修正された小数点を有
するデータに変更しくステップC)、1ブロツク中のX
軸に関するデータ全てについて書き換える(ステップd
)。つづいて、Y軸に関するデータについても同様の書
き換え処理を行なう(ステップe)。
If the X-axis handle pulse in the handle pulse memory 12 is not ; (step a), the X-axis data content is read from the program content of one block assigned a sequence number, and the transfer set by the manual pulse generator 5 is performed. 'l quantity unit (step b). Add the above X-axis handle pulse to the changed value to change the data to the corrected decimal point.Step C)
Rewrite all data related to the axis (step d
). Subsequently, similar rewriting processing is performed for data related to the Y axis (step e).

なお、ハンドルパルスメモリ12のX軸ハンドルパルス
が;の場合には、すぐにこのステップeにオjる。
Incidentally, if the X-axis steering wheel pulse in the steering wheel pulse memory 12 is ;, the process immediately goes to step e.

こうしてX軸、Y軸のいずれかのハンドルパルスが;で
ない時には(ステップf)、加工プログラム合成部13
において書き換えられた読み出しプログラムメモリ11
の1ブロツクの内容が、そのシーケンス番号の示す加工
プログラムメモリ1内の1ブロツクと入換えられて、変
更が完了する(ステップg)。
In this way, when the handle pulse of either the X axis or the Y axis is not (step f), the machining program synthesis unit 13
The read program memory 11 rewritten in
The contents of one block are replaced with one block in the machining program memory 1 indicated by the sequence number, and the change is completed (step g).

なお、上記ステップgのように1ブロツク単位で加工プ
ログラムメモリ1内のデータを書換えずに、オペレータ
が一定の工具8勤についての修正を完了してから、それ
が満足できる結果をもたらした場合にのみ、加工プログ
ラムを一括して変更するようにしても良い。また、CR
Tディスプレイなどを接続しておくことにより、軌跡と
加工プログラムを表示して、オペレータがそれを確認し
てから、変更することも可能である。
In addition, if the operator completes the correction for a certain eight tool shifts without rewriting the data in the machining program memory 1 block by block as in step g above, and the correction results in a satisfactory result. Alternatively, the machining program may be changed all at once. Also, CR
By connecting a T-display or the like, the locus and machining program can be displayed and the operator can change them after confirming them.

以上、この発明をある程度詳細にその最も好ましい実施
態様について説明したが、その好ましい実施態様の説明
は、構成の詳細な部分についての変形、特許請求の範囲
に記載された本発明の精神に反しない限りでの種々な変
形、あるいはそれらを組み合わせたものに変更すること
ができることは明らかである。
As above, this invention has been described in some detail with respect to its most preferred embodiment, but the description of the preferred embodiment does not include variations in detailed parts of the configuration or contrary to the spirit of the invention as described in the claims. It is clear that various modifications or combinations thereof may be made.

(発明の効果) 以上説明したように、本発明によれば、手動パルス発生
器によりハンドル割り込みをかけると同時に加工プログ
ラムの変更を行なうようにしたので、事後的にマニュア
ル処理による加工プログラムの修正の必要がなくなり、
次に行なわれる加工時に修正された工具通路を再現する
ことが容易に出来、かつオペレータへの負担が軽減でき
る数値制御装置を提供できる。
(Effects of the Invention) As explained above, according to the present invention, the machining program is changed at the same time as the handle interrupt is generated by the manual pulse generator, so that the machining program cannot be modified by manual processing after the fact. It is no longer necessary,
It is possible to provide a numerical control device that can easily reproduce the corrected tool path during the next machining process and can reduce the burden on the operator.

【図面の簡単な説明】 第1図は、本発明の一実施例を示すブロック図、第2図
は、手動パルス発生器のダイアルの一例を示す図、第3
図は、加工プログラム変更部の構成を説明する図、第4
図は、加工プログラム合成処理の流れを示す流れ図であ
る。 1・・・加工プログラムメモリ、3・・・解読部、5・
・・手動パルス発生器、8・・・パルス合成部、10・
・・加工プログラム変更部。 (1>)          (O) 第4図
[Brief Description of the Drawings] Fig. 1 is a block diagram showing one embodiment of the present invention, Fig. 2 is a diagram showing an example of a dial of a manual pulse generator, and Fig. 3 is a diagram showing an example of a dial of a manual pulse generator.
The figure is a diagram illustrating the configuration of the machining program change section.
The figure is a flowchart showing the flow of machining program synthesis processing. 1... Machining program memory, 3... Decoding section, 5.
...Manual pulse generator, 8...Pulse synthesis section, 10.
...Machining program change department. (1>) (O) Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)工作機械の自動運転中に入力される手動パルスに
基づきプログラムされた工具通路を変更する指令機能を
有する数値制御装置において、前記工具通路を規定する
加工プログラムをそれが読み出される毎にブロック単位
で記憶する第1のメモリ手段と、このメモリ手段に同期
して前記手動パルスによる修正量を記憶する第2のメモ
リ手段と、前記第1のメモリ手段の加工プログラムの工
具通路データに前記修正量を合成して前記加工プログラ
ム自体を変更する変更手段とを具備してなることを特徴
とする数値制御装置。
(1) In a numerical control device that has a command function to change a programmed tool path based on manual pulses input during automatic operation of a machine tool, a machining program that defines the tool path is blocked every time it is read. a first memory means for storing the correction amount by the manual pulse in synchronization with the memory means; a second memory means for storing the correction amount by the manual pulse in synchronization with the memory means; A numerical control device characterized by comprising: a changing means for composing quantities and changing the machining program itself.
(2)前記変更手段は、加工プログラムを記憶している
メモリの内容を前記手動パルスによる修正量により変更
するようにしたことを特徴とする特許請求の範囲第(1
)項に記載の数値制御装置。
(2) The changing means changes the contents of the memory storing the machining program according to the amount of correction by the manual pulse.
) Numerical control device as described in item.
JP15076887A 1987-06-17 1987-06-17 Numerical controller Pending JPS63314603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15076887A JPS63314603A (en) 1987-06-17 1987-06-17 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15076887A JPS63314603A (en) 1987-06-17 1987-06-17 Numerical controller

Publications (1)

Publication Number Publication Date
JPS63314603A true JPS63314603A (en) 1988-12-22

Family

ID=15503993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15076887A Pending JPS63314603A (en) 1987-06-17 1987-06-17 Numerical controller

Country Status (1)

Country Link
JP (1) JPS63314603A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1991000556A1 (en) * 1989-06-29 1991-01-10 Fanuc Ltd Numerical control apparatus
JPH03280103A (en) * 1990-03-29 1991-12-11 Okuma Mach Works Ltd Numerical controller
DE102016013732A1 (en) 2015-11-17 2017-06-08 Fanuc Corporation Numerical control device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58117007A (en) * 1981-12-30 1983-07-12 Yamazaki Mazak Corp Interrupting control method in numerical control lathe
JPS58132439A (en) * 1982-02-02 1983-08-06 Yamazaki Mazak Corp Correction control system of work program in nc machine tool
JPS5928704B2 (en) * 1979-06-12 1984-07-14 日特建設株式会社 Soilless bedrock and mortar/concrete slope greening method
JPS59142616A (en) * 1983-02-03 1984-08-15 Mazda Motor Corp Numerical controller of machine tool

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5928704B2 (en) * 1979-06-12 1984-07-14 日特建設株式会社 Soilless bedrock and mortar/concrete slope greening method
JPS58117007A (en) * 1981-12-30 1983-07-12 Yamazaki Mazak Corp Interrupting control method in numerical control lathe
JPS58132439A (en) * 1982-02-02 1983-08-06 Yamazaki Mazak Corp Correction control system of work program in nc machine tool
JPS59142616A (en) * 1983-02-03 1984-08-15 Mazda Motor Corp Numerical controller of machine tool

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1991000556A1 (en) * 1989-06-29 1991-01-10 Fanuc Ltd Numerical control apparatus
JPH03280103A (en) * 1990-03-29 1991-12-11 Okuma Mach Works Ltd Numerical controller
DE102016013732A1 (en) 2015-11-17 2017-06-08 Fanuc Corporation Numerical control device
US10551816B2 (en) 2015-11-17 2020-02-04 Fanuc Corporation Numerical controller oscillating motion adjustment

Similar Documents

Publication Publication Date Title
JP2584104B2 (en) Wheel shape definition device
JPH02155004A (en) Working program correcting system
JPS63314603A (en) Numerical controller
JP2805189B2 (en) Injection molding machine
EP0287663B1 (en) Method and apparatus for numerical control having an override playback function
US5479354A (en) Method for the computer-assisted control of a machine or process
EP0275325B1 (en) Numerical controller
JPH0562364B2 (en)
JPH07104813A (en) Numerical controller
US6249102B1 (en) Method of controlling a multi-axis machine tool
JP2771701B2 (en) Interactive numerical controller
JPH03294906A (en) Editing system for working program
JP2942812B2 (en) Device for creating a variant and variable production program
JPH0468405A (en) Working time display method in numerical controller
JPH01195505A (en) Numerical controller
JPS62204310A (en) Editing system for working program
JPH03136109A (en) Working control method in numerically controlled machine tool
JPH0566819A (en) Interactive automatic programming method
JP2806933B2 (en) Tool compensation method
JPH05210409A (en) Numeric controller
JP2642451B2 (en) Numerical control unit
JPH0857747A (en) Numerical control system
JP3000986B2 (en) Machining program creating device and machining program creating method
JP2628925B2 (en) Modal command management system
JPH01199753A (en) Tool exchanging control method