JPS6359604A - Method for changing working route in numerical controller - Google Patents

Method for changing working route in numerical controller

Info

Publication number
JPS6359604A
JPS6359604A JP20402086A JP20402086A JPS6359604A JP S6359604 A JPS6359604 A JP S6359604A JP 20402086 A JP20402086 A JP 20402086A JP 20402086 A JP20402086 A JP 20402086A JP S6359604 A JPS6359604 A JP S6359604A
Authority
JP
Japan
Prior art keywords
coordinate position
data cell
changed
screen
visual display
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
JP20402086A
Other languages
Japanese (ja)
Inventor
Shigeki Namikado
茂樹 南角
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP20402086A priority Critical patent/JPS6359604A/en
Publication of JPS6359604A publication Critical patent/JPS6359604A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To facilitate the correcting work by directly indicating a change locus on a screen where a tool locus is displayed of a visual display device and editing the changed tool locus to change a working program. CONSTITUTION:If it is found that a working route from a coordinate position PSA to a coordinate position P1 is wrong because of the existence of an obstacle on the way when a tool locus is displayed on the screen of a visual display device 10 after the working route is programmed, coordinate positions PS, P1, and PI are designated in order with a light pen 14 and an insertion command is executed. A block cell of the coordinate position PI is generated in accordance with the control program of a numerical controller itself stored in an auxiliary memory 12, and the pointer of a data cell 15 which points the coordinate position P1 is changed to point a data cell 23 of the coordinate position PI, and the pointer of the data cell 23 is changed to point a data cell 16 of the coordinate position P1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、数値制御装置の加工径路変更方法に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a machining path changing method for a numerical control device.

〔従来の技術〕[Conventional technology]

第7図は従来の数値制御装置のハードウェアの構成を示
すブロック図、第8図は同じくソフトウェアの構成を示
すフローチャート図である。
FIG. 7 is a block diagram showing the hardware configuration of a conventional numerical control device, and FIG. 8 is a flowchart showing the software configuration.

第7図において、1はメイン中央処理部(以下、メイン
CPUという)、2はサーボモーター6を制御する第1
のサブCPU、3は加工機械とのインターフェースを制
御する第2のサブCPU、4は加工機械とのインターフ
ェース部、5は増幅器、6はサーボモータ、7は数値制
御装置自体をコントロールするためのプログラム、加工
プロクラムおよび中間データを記憶した主メモリー、8
は紙テープリーダー、パンチャー、9は入出力(以下I
10という)インターフェース、10は陰極線管の如き
視覚表示装置、11はキーボードである。
In FIG. 7, 1 is a main central processing unit (hereinafter referred to as main CPU), and 2 is a first controller that controls the servo motor 6.
3 is a second sub-CPU that controls the interface with the processing machine, 4 is the interface section with the processing machine, 5 is an amplifier, 6 is a servo motor, and 7 is a program for controlling the numerical control device itself. , main memory storing machining programs and intermediate data, 8
is a paper tape reader, a puncher, 9 is an input/output (hereinafter referred to as I)
10 is a visual display device such as a cathode ray tube, and 11 is a keyboard.

次に処理内容を第8図を参照して説明する。Next, the contents of the process will be explained with reference to FIG.

ステップ■の加ニブログラム入力処理では、加ニブログ
ラムの1ブロツクを読み、内部形式に変換する。
In step (2), the input process for the modified program, one block of the modified program is read and converted into an internal format.

ステップ■の増分値計算・補正計算処理では、ステップ
■で得られた内部形式を入力し、1ブロツクの移動量△
X、△Y、△Zを計算し、さらに各種の補正計算(工具
径、工具長等)を行う。
In the incremental value calculation/correction calculation process of step ■, the internal format obtained in step ■ is input, and the movement amount of one block △
Calculates X, △Y, △Z, and performs various correction calculations (tool diameter, tool length, etc.).

ステップOの補間処理では、ステップ■で得られた移動
量ΔX、△Y、ΔZなどをもとに補間処理を行う。即ち
、微少時間△Tの間の移動量△X。
In the interpolation process of step O, interpolation process is performed based on the movement amounts ΔX, ΔY, ΔZ, etc. obtained in step (2). That is, the amount of movement ΔX during the minute time ΔT.

△y、Δ2を求める。Find Δy and Δ2.

ステップ◎の設定・表示処理では、視覚表示装置10へ
数値制御装置内の各種データを表示し、又オペレーター
の各種設定処理もコントロールする。
In the setting/display process of step ◎, various data in the numerical control device are displayed on the visual display device 10, and various setting processes by the operator are also controlled.

ステップ[F]のサーボ処理では、ステップ◎で得られ
た移動量△X、△y、△2をさらに微少時間△tの細分
移動量に変換し、サーボ処理を行う。
In the servo processing of step [F], the moving amounts ΔX, Δy, and Δ2 obtained in step ◎ are further converted into subdivided moving amounts of minute time Δt, and the servo processing is performed.

ステップ[F]の加工機械とのインターフェース処理で
は、機械操作盤との入出力処理(スイッチ。
In the interface processing with the processing machine in step [F], input/output processing with the machine operation panel (switches) is performed.

入力、出力、ランプ等)を行う。又、機械補助処理(M
コード)、主軸回転処理(Sコード)、工具処理(Tコ
ード)等の各機能を実行し、工作機械の周辺のコントロ
ールを行う。
input, output, lamp, etc.). In addition, machine-assisted processing (M
It executes various functions such as spindle rotation processing (S code), tool processing (T code), etc., and controls the surroundings of the machine tool.

第9図は第8図のステップ■の増分値計算・補正計算処
理に用いる主メモリー7内の各データセルの構造を示す
ブロック図であり、図において、PS、PI、P2.P
Eは定義した座標位置、15〜18は各座標位置PS、
Pi、P2.PEにおける各データを記憶したデータセ
ルである。図示のように各データセル15〜18は主メ
モリー7上で連続して設けられている。
FIG. 9 is a block diagram showing the structure of each data cell in the main memory 7 used for the incremental value calculation/correction calculation process in step (2) in FIG. 8. In the figure, PS, PI, P2. P
E is the defined coordinate position, 15 to 18 are each coordinate position PS,
Pi, P2. This is a data cell that stores each data in the PE. As shown in the figure, each data cell 15-18 is provided consecutively on the main memory 7.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の数値制御装置は以上の様に構成されているので、
視覚表示装置の画面上に工具軌跡を表示することが出来
ても、例えば第10図の様に加工物190治具20に工
具軌跡21がぶつかる等の現象がわかっても加ニブログ
ラムそのものを直接変更せねばならず、その手間がかか
ったり、修正してからの再確認が必要だったり、さらに
修正ミスを起こすおそれがある等の問題点があった。
Conventional numerical control devices are configured as described above, so
Even if the tool trajectory can be displayed on the screen of the visual display device, for example, even if a phenomenon such as the tool trajectory 21 colliding with the workpiece 190 jig 20 as shown in Fig. 10 is detected, the cutting program itself cannot be directly changed. There are problems such as it is time-consuming, requires reconfirmation after correction, and there is a risk of making correction mistakes.

この発明は上記のような問題点を解消するためになされ
たもので、加工径路の変更を簡単に(Is正ミスを起こ
さずに行うことができる数値制御装置の加工径路変更方
法を得ることを目的とする。
This invention was made in order to solve the above-mentioned problems, and aims to provide a method for changing the machining path of a numerical control device that can easily change the machining path (without causing errors). purpose.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る数値制御装置の加工径路変更方法は、視
覚表示装置の画面上に工具軌跡を表示させ、前記画面上
でポインティングデバイスにより変更軌跡を指示し、前
記画面上に表示された変更後の工具軌跡を編集すること
により加ニブログラムを変更し加工径路の変更を行うも
のである。
A machining path changing method for a numerical control device according to the present invention displays a tool trajectory on the screen of a visual display device, instructs a changing trajectory using a pointing device on the screen, and displays the changed tool trajectory displayed on the screen. By editing the tool trajectory, the cutting program is changed and the machining path is changed.

〔作 用〕[For production]

この発明における数値制御装置の加工径路変更方法は、
工具軌跡を表示させた視覚表示装置の画面から直接加ニ
ブログラムの変更ができ、加工径路の変更ができる。
The method for changing the machining path of the numerical control device in this invention is as follows:
The cutting program can be changed directly from the screen of the visual display device that displays the tool trajectory, and the machining path can be changed.

〔実施例〕〔Example〕

この発明の一実施例を図につい【説明する。第1図はこ
の発明の数値制御装置の加工径路変更方法を実施する数
値制御装置におけるノ・−ドウエアの構成の一例を示す
ブロック図であり、図において、1〜11は前述した従
来技術を示す第7図と同−又は相当部分である。14は
視覚表示装置10の画面上でのある点を指定するのに用
いるライトベン等のポインティングデバイス、12はポ
インティングデバイス14が指定した座標位置の座標値
を計算したり加ニブログラムを変更したりするソフトウ
ェアの入った補助メモリー、13はポインティングデバ
イス14とメインCPU1とのインターフェースである
An embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an example of the configuration of the software in a numerical control device that implements the machining path changing method for a numerical control device of the present invention, and in the figure, 1 to 11 indicate the prior art described above. This is the same or equivalent portion of FIG. 7. 14 is a pointing device such as a light ben used to specify a certain point on the screen of the visual display device 10, and 12 is software that calculates the coordinate values of the coordinate position specified by the pointing device 14 and changes the program. 13 is an interface between the pointing device 14 and the main CPU 1.

第2図は第1図に示す数値制御装置のソフトウェアの構
成を示すフローチャート図である。
FIG. 2 is a flowchart showing the software configuration of the numerical control device shown in FIG.

第3図は第1図のステップ■における増分値計算・補正
計算処理に用いる主メモリー7内の1ブロツクデータの
データセル22の構造を示す。この記憶セル22には、
次のデータセルへのポインタ(次のデータセルのメモリ
ーアドレスが入っている)が追加されている。
FIG. 3 shows the structure of a data cell 22 of one block of data in the main memory 7 used for the incremental value calculation/correction calculation process in step (3) of FIG. In this memory cell 22,
A pointer to the next data cell (containing the memory address of the next data cell) is added.

第4図はこの発明における各座標位置と該座標位置のデ
ータを記憶した主メモリー7円のデータセルの状態を示
すブロック図である。図において、前述した従来技術を
示す第9図と同−又は相当部分には同一符号を付して示
している。図示のように、この発明によれば、各データ
セル15〜18内には次のデータセルへのポインタが入
っているので、各データセル15〜18が主メモリー7
上で隣り合せで連続している必要がなくなっている。
FIG. 4 is a block diagram showing the state of each coordinate position and the data cells of the main memory 7 that store the data of the coordinate position in this invention. In the figure, the same or equivalent parts as in FIG. 9 showing the prior art described above are designated by the same reference numerals. As shown, in accordance with the present invention, each data cell 15-18 contains a pointer to the next data cell so that each data cell 15-18 is stored in main memory 7.
They no longer need to be consecutive next to each other on the top.

第5図はこの発明で加工径路の変更を行う場合の各座標
位置と該座標位置のデータを記憶した主メモリー7内の
データセルの状態を示すブロック図である。図において
、前述した第4図と同−又は相当部分には同一符号を示
している。PIは加工径路変更のために新たに指定した
座標位置、23はこの座標位置PIのデータを記憶した
データセルである。
FIG. 5 is a block diagram showing each coordinate position and the state of the data cells in the main memory 7 that store the data of the coordinate position when changing the machining path according to the present invention. In the figure, the same or corresponding parts as in FIG. 4 described above are designated by the same reference numerals. PI is a coordinate position newly specified for changing the machining path, and 23 is a data cell storing data of this coordinate position PI.

第6図はこの発明に係る数値制御装置の加工径路変更方
法の内部処理を示すフローチャート図である。
FIG. 6 is a flowchart showing the internal processing of the machining path changing method of the numerical control device according to the present invention.

次に上記のように構成された数値制御装置による加工径
路変更方法を第1図〜第6図をもとに説明する。
Next, a machining path changing method using the numerical control device configured as described above will be explained with reference to FIGS. 1 to 6.

第4図で示すような加工径路のプログラムを組んだが、
視覚表示装置10の画面上にその工具軌跡を表示してみ
ると、座標位置PSからPlへ行く加工径路が途中で物
にぶつかったりして不都合な時、例えばライトベンの如
きポインティングデバイス14で座標位置をPS、PI
、PIの順に指定して挿入コマンドを実行すると補助メ
モIJ−12に含まれた数値制御装置自体の制御プログ
ラムに従って第5図のようにまず座標位置PIのブロッ
クセルを作成し、ついで座標位置P1を指定していたデ
ータセル15のポインタを座標位置Plのデータセル2
3を指定するようにし、かつデータセル23のポインタ
を座標位fP1のデータセル16を指定するようKする
I created a program for the machining path as shown in Figure 4.
When the tool trajectory is displayed on the screen of the visual display device 10, if the machining path from the coordinate position PS to Pl is inconvenient because it collides with an object on the way, the coordinate position can be changed using the pointing device 14 such as a light ben, for example. PS, PI
, PI and execute the insert command. According to the control program of the numerical control device itself included in the auxiliary memo IJ-12, a block cell at the coordinate position PI is first created as shown in FIG. 5, and then a block cell at the coordinate position P1 is executed. The pointer of data cell 15 that specified
3, and the pointer of the data cell 23 is set to point to the data cell 16 at the coordinate position fP1.

さらに、この場合は行わなかったが、例えば第4図にお
いて座標位置PSからP2をある半径の円弧指令でつな
ぐような時は、ポインティングデバイス14で座標位置
PSとP2を指示して別の円弧の回転方向と半径等のデ
ータを入力することにより、座標位置P2のデータセル
17の内容を円弧に書きかえ、さらに座標位置psのデ
ータセル15におけるポインタを直接座標位置P2のデ
ータセル17を指定するようにすれば良い。この時、座
標位tP1のデータセル16は必要でなくなるので、別
に不用のデータセルばかりをつないだデータセルを作っ
ておきそれに割り当てておいて、のちに新たにデータセ
ルが必要になった時にそれに割り当てれば良い。
Furthermore, although this was not done in this case, for example, when connecting the coordinate position PS to P2 with a circular arc command of a certain radius in FIG. By inputting data such as the rotation direction and radius, the contents of the data cell 17 at the coordinate position P2 are rewritten to an arc, and the pointer in the data cell 15 at the coordinate position ps is directly specified to the data cell 17 at the coordinate position P2. Just do it like this. At this time, the data cell 16 at coordinate position tP1 is no longer needed, so create another data cell that connects only unnecessary data cells and assign it to it. Just assign it.

第2図のステップ■以後は同じ処理であるが、ステップ
■を変更したのであるから当然最終軌跡も変わる。
The processing after step (2) in FIG. 2 is the same, but since step (2) has been changed, the final trajectory will naturally also change.

第6図にその処理の概略を示す。FIG. 6 shows an outline of the process.

なお、上記実施例ではボインティングディバイスとして
ライトベンを用いているが、これは視覚表示装置の画面
上である点を示すことが出来ればマウスでもトラックボ
ールでも良い。
Although a light ben is used as the pointing device in the above embodiment, it may be a mouse or a trackball as long as it can indicate a certain point on the screen of the visual display device.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば数値制御装置の加ニブ
ログラムを視覚表示装置の工具軌跡を表示する画面から
直接変更軌跡を指示し、変更後の工具軌跡を編集するこ
とにより加ニブログラムを変更出来るようにしたので、
加ニブログラムを直接修正しなくとも良くなり、修正作
業がずっと容易になり、更に修正ミスを起こすおそれも
少なくなる効果がある。
As described above, according to the present invention, it is possible to change the cutting trajectory of the numerical control device by directly instructing the changing trajectory from the tool trajectory display screen of the visual display device and editing the changed tool trajectory. I did it like this,
This eliminates the need to directly modify the Canadian program, making modification work much easier, and has the effect of reducing the possibility of making modification mistakes.

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

第1図及び第2図はこの発明の一実施例による数値制御
装置の加工径路変更方法を実施するノ・−ドウエアの構
成とソフトウェアの構成を示すブロック図及びフローチ
ャート図、第3図はこの実施例の主メモリー内の1ブロ
ツクデータのデータセルの構造を示す説明図、第4図及
び第5図はこの実施例におけろ加工軌跡の変更前と変更
後の各データセルの関係を示すブロック図、第6図はこ
の実施例の加工径路変更処理の過程を示すフローチャー
ト図、第7図及び第8図は従来の数値制御装置のハード
ウェアの構成とソフトウェアの構成とを示すブロック図
及びフローチャート図、第9図は従来における主メモリ
ー内の各データセルの関係を示すブロック図、第10図
は加工物と治具と工具軌跡との関係を示す斜視図である
。 1はメインCPU12,3は第1.第2のサブCPU、
6はサーボモータ、7は主メモリー、10は視覚表示装
置、12は補助メモリー、14はポインティングデバイ
ス。 なお、図中、同一符号は同一、又は相当部分を示す。 第3図 第5図 第6図 車fL鉢業策処捏 第9図
1 and 2 are block diagrams and flowcharts showing the configuration of the software and the configuration of the software for implementing the method for changing the machining path of a numerical control device according to an embodiment of the present invention, and FIG. An explanatory diagram showing the structure of data cells of one block of data in the main memory in this example, and FIGS. 4 and 5 are blocks showing the relationship between each data cell before and after changing the machining trajectory in this example. 6 are flowcharts showing the process of machining path change processing in this embodiment, and FIGS. 7 and 8 are block diagrams and flowcharts showing the hardware configuration and software configuration of a conventional numerical control device. 9 is a block diagram showing the relationship between each data cell in a conventional main memory, and FIG. 10 is a perspective view showing the relationship among a workpiece, a jig, and a tool trajectory. 1 is the main CPU 12, 3 is the 1st CPU. second sub CPU,
6 is a servo motor, 7 is a main memory, 10 is a visual display device, 12 is an auxiliary memory, and 14 is a pointing device. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Figure 3 Figure 5 Figure 6 Car fL business plan Figure 9

Claims (1)

【特許請求の範囲】[Claims] 視覚表示装置の画面上に工具軌跡を表示させ、前記画面
上でポインティングデバイスにより変更軌跡を指示し、
前記画面上に表示された変更後の工具軌跡を編集するこ
とにより加工プログラムを変更し加工径路の変更を行う
数値制御装置の加工径路変更方法。
Displaying a tool trajectory on a screen of a visual display device, instructing a changed trajectory using a pointing device on the screen,
A machining path changing method for a numerical control device, in which a machining program is changed and a machining path is changed by editing a changed tool trajectory displayed on the screen.
JP20402086A 1986-08-29 1986-08-29 Method for changing working route in numerical controller Pending JPS6359604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20402086A JPS6359604A (en) 1986-08-29 1986-08-29 Method for changing working route in numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20402086A JPS6359604A (en) 1986-08-29 1986-08-29 Method for changing working route in numerical controller

Publications (1)

Publication Number Publication Date
JPS6359604A true JPS6359604A (en) 1988-03-15

Family

ID=16483434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20402086A Pending JPS6359604A (en) 1986-08-29 1986-08-29 Method for changing working route in numerical controller

Country Status (1)

Country Link
JP (1) JPS6359604A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0259907A (en) * 1988-08-26 1990-02-28 Fanuc Ltd Shape input system
WO1990016021A1 (en) * 1989-06-13 1990-12-27 Fanuc Ltd Tool path preparation/edition system
JPH04229306A (en) * 1990-12-27 1992-08-18 Nec Corp Numerical controller
JPH05297929A (en) * 1992-04-15 1993-11-12 Okuma Mach Works Ltd Numerical control program editing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0259907A (en) * 1988-08-26 1990-02-28 Fanuc Ltd Shape input system
WO1990016021A1 (en) * 1989-06-13 1990-12-27 Fanuc Ltd Tool path preparation/edition system
JPH04229306A (en) * 1990-12-27 1992-08-18 Nec Corp Numerical controller
JPH05297929A (en) * 1992-04-15 1993-11-12 Okuma Mach Works Ltd Numerical control program editing method

Similar Documents

Publication Publication Date Title
US5150305A (en) Numerical control system providing graphic machining simulation
JPH0554129B2 (en)
JPS62267804A (en) Nc data changing method
JPS63104104A (en) Automatic programming system
JPS6359604A (en) Method for changing working route in numerical controller
JPS61173842A (en) Numerical control device
JP4770076B2 (en) Numerical controller
JP2836633B2 (en) Machining process decision device in numerical control information creation function
WO1995000890A1 (en) Method for teaching position to robot, and control apparatus
JPH04114208A (en) Animation plotting system for nc program
JPH03294906A (en) Editing system for working program
JPH02252004A (en) Tool shape plotting system
US5270940A (en) Contour configuration machining method
JPH07115277B2 (en) Contour shape processing method
JP2779796B2 (en) Numerical control unit
JPH01300306A (en) Automatic programming method
JPH0215304A (en) Method for forming numerical control information
JPS62204310A (en) Editing system for working program
JP2598186B2 (en) How to create teaching data
JPS61257740A (en) Tool selection system
JPH05265532A (en) Method for setting limit data in numerical controller
JPS6238908A (en) Numerical controller
JPH01152510A (en) Automatic preparing method for part program
JPH03156507A (en) Programming system for interactive numerical controller or automatic programming device
JPH04362706A (en) Display system for numerical controller