JPH04318604A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPH04318604A
JPH04318604A JP8520991A JP8520991A JPH04318604A JP H04318604 A JPH04318604 A JP H04318604A JP 8520991 A JP8520991 A JP 8520991A JP 8520991 A JP8520991 A JP 8520991A JP H04318604 A JPH04318604 A JP H04318604A
Authority
JP
Japan
Prior art keywords
interference area
processing means
interference
machining program
moving
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
JP8520991A
Other languages
Japanese (ja)
Inventor
Toshihiro Niwa
俊広 丹羽
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 JP8520991A priority Critical patent/JPH04318604A/en
Publication of JPH04318604A publication Critical patent/JPH04318604A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To facilitate the preparation of the machining program by setting a moving route evading an interference area when the actual moving route of the object to be controlled interferes with the interference area. CONSTITUTION:The data on the interference at a caused by the mechanical elements such as work, tool, etc., and the machining conditions, etc., is inputted from a keyboard 2 to an interference area setting means 5 and the interference area is set. A machining program analysis means 3 reads the machining program 1 from a paper tape, analyzes it, outputs moving command data and inputs this moving command data to an interference area comparison processing means 4. Then, the interference area comparison processing means 4 compares the moving command data with the preliminarily set interference area data and judges whether the moving route interferes with the interference area or not. When they interferes with each other, an interference area evasion processing means 6 sets a new moving route for evading the interference area and outputs it to a moving processing means 7. The object to be controlled is made to move by the moving processing means 7.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、加工プログラムに基
づいて工具等の被制御体を移動し加工動作を行う数値制
御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control device that moves a controlled object such as a tool and performs machining operations based on a machining program.

【0002】0002

【従来の技術】図4は従来の数値制御装置を示すブロッ
ク構成図である。同図において、1は加工プログラムを
記憶した紙テープ、3は紙テープ1に記憶された加工プ
ログラムを読み取り、読み取った指令を解析する加工プ
ログラム解析手段、7は加工プログラム解析手段3の解
析結果に基づいて移動データを算出する移動データ処理
手段、9,10はこの移動データに基づいて駆動するモ
ータで、工具等の被制御体を直接移動させる。
2. Description of the Related Art FIG. 4 is a block diagram showing a conventional numerical control device. In the figure, 1 is a paper tape that stores a machining program, 3 is a machining program analysis means that reads the machining program stored on the paper tape 1 and analyzes the read commands, and 7 is a paper tape that stores a machining program. Movement data processing means 9 and 10 for calculating movement data are motors driven based on this movement data to directly move a controlled object such as a tool.

【0003】次に、動作について説明する。紙テープ1
に記憶された加工プログラムの1ブロック分の指令が解
析手段3によって読み取られ、解析される。この解析結
果により、工具等の被制御体の移動データが算出されて
、モータ9,10に出力され、モータ9,10は駆動さ
れ、加工プログラムに基づいた加工動作が行われる。 そして、移動データ処理手段7は1ブロック分の加工動
作が終了した後、紙テープ1から加工プログラムの次の
1ブロック分の指令を読み出すように解析手段3に対し
要求を行う。ところで、このような加工プログラムにお
いて、たとえば被制御体である工具を図2の破線に示す
ように、移動開始点21からその移動終了点22まで最
短距離を直線的に移動すると、斜線23で示す例えばワ
ークと干渉してしまうケースがある場合、加工プログラ
ム上において、移動開始点21から第1中間点28、第
2中間点29、その後移動終了点22に至る干渉を回避
するための移動経路をあらかじめプログラミングしてお
く必要がある。
Next, the operation will be explained. paper tape 1
One block of commands of the machining program stored in is read by the analysis means 3 and analyzed. Based on this analysis result, movement data of a controlled object such as a tool is calculated and output to the motors 9 and 10, which are driven to perform machining operations based on the machining program. After completing the machining operation for one block, the movement data processing means 7 requests the analysis means 3 to read out instructions for the next block of the machining program from the paper tape 1. By the way, in such a machining program, for example, if a tool, which is a controlled object, is moved linearly over the shortest distance from the movement start point 21 to the movement end point 22, as shown by the broken line in FIG. For example, if there is a case where there is interference with the workpiece, create a movement path from the movement start point 21 to the first intermediate point 28, second intermediate point 29, and then movement end point 22 to avoid interference in the machining program. It must be programmed in advance.

【0004】0004

【発明が解決しようとする課題】上記のような従来の数
値制御装置では、加工プログラムをプログラミングする
場合に、ワークと工具あるいは工具同士が互いに干渉し
ないように、あらかじめ計算しながらプログラミングし
なければならず、プログラム作成が煩雑になるという問
題点があった。
[Problem to be Solved by the Invention] When programming a machining program in the conventional numerical control device as described above, it is necessary to perform calculations in advance to prevent interference between the workpiece and the tool or between the tools. First, there was a problem in that programming became complicated.

【0005】この発明は、かかる問題点を解決するため
になされたものであり、加工プログラムの作成を容易に
した数値制御装置を得ることを目的とする。
[0005] The present invention has been made to solve these problems, and it is an object of the present invention to provide a numerical control device that facilitates the creation of machining programs.

【0006】[0006]

【課題を解決するための手段】この発明にかかる数値制
御装置においては、被制御体の加工プログラムに基づく
移動経路と干渉する干渉領域をあらかじめ外部から入力
することにより設定する干渉領域設定手段と、加工プロ
グラムに基づく実際の移動経路と前記干渉領域との干渉
の有無をチェックする干渉領域比較処理手段と、前記移
動経路と干渉領域とが干渉する場合においてその干渉領
域を回避する移動経路を新たに設定する干渉領域回避処
理手段とを具備したものである。
[Means for Solving the Problems] A numerical control device according to the present invention includes an interference region setting means for setting an interference region that interferes with a movement path based on a processing program of a controlled object by inputting from the outside in advance; Interference area comparison processing means for checking whether or not there is interference between an actual movement path based on a machining program and the interference area, and a new movement path that avoids the interference area when the movement path and the interference area interfere. and interference area avoidance processing means for setting.

【0007】[0007]

【作用】上記のように構成された数値制御装置は、加工
プログラムに基づく被制御体の実際の移動経路と、あら
かじめ入力しておいた干渉領域とが干渉するような場合
に、その干渉領域を回避するような移動経路を自動的に
設定する。
[Operation] The numerical control device configured as described above is capable of adjusting the interference area when the actual movement path of the controlled object based on the machining program interferes with the interference area input in advance. Automatically set an avoidable travel route.

【0008】[0008]

【実施例】【Example】

実施例1.図1はこの発明の一実施例を示すブロック構
成図であり、1は加工プログラムを記憶した紙テープ、
2は外部入力手段としてのキーボード、3は紙テープに
記憶された加工プログラムを読み出して解析する加工プ
ログラム解析手段、4は加工プログラムを解析して得ら
れた移動指令データと、後述する干渉領域設定手段5で
設定された干渉領域データとを比較して互いに干渉する
か否かを判定する干渉領域比較処理手段、5はキーボー
ド2から干渉領域に関するデータを入力することにより
あらかじめ干渉領域を設定する干渉領域設定手段、6は
干渉領域比較処理手段4の出力に基づいて干渉領域を回
避する移動経路を新たに設定する干渉領域回避処理手段
、7は干渉領域回避処理手段6の出力に基づきモータ9
,10に移動データを出力する移動処理手段である。
Example 1. FIG. 1 is a block diagram showing an embodiment of the present invention, in which 1 is a paper tape storing a processing program;
2 is a keyboard as an external input means; 3 is a machining program analysis means for reading and analyzing a machining program stored on a paper tape; 4 is a movement command data obtained by analyzing the machining program; and an interference area setting means to be described later. Interference area comparison processing means for comparing the interference area data set in 5 and determining whether or not they interfere with each other; 5 is an interference area for setting an interference area in advance by inputting data regarding the interference area from the keyboard 2; 6 is an interference area avoidance processing unit that newly sets a movement route to avoid the interference area based on the output of the interference area comparison processing unit 4; 7 is a motor 9 based on the output of the interference area avoidance processing unit 6;
, 10.

【0009】次に動作について、図3のフローチャート
を参照して説明する。まず、キーボード2からワーク、
工具等の機械的要素や加工条件等から生じる干渉領域に
関するデータを干渉領域設定手段5に入力し、干渉領域
を設定する(S30)。一方、加工プログラム解析手段
3は紙テープ1から加工プログラムを読み取り解析して
移動指令データを出力し、この移動指令データを干渉領
域比較処理手段4に入力する(S31)。干渉領域比較
処理手段4は移動指令データと、あらかじめ設定された
干渉領域データとを比較し、移動経路が干渉領域と干渉
するか否かを判断する(S32)。
Next, the operation will be explained with reference to the flowchart shown in FIG. First, work from keyboard 2,
Data regarding the interference area caused by mechanical elements such as tools, machining conditions, etc. is input to the interference area setting means 5, and the interference area is set (S30). On the other hand, the machining program analysis means 3 reads and analyzes the machining program from the paper tape 1, outputs movement command data, and inputs this movement command data to the interference area comparison processing means 4 (S31). The interference area comparison processing means 4 compares the movement command data with preset interference area data, and determines whether or not the moving route interferes with the interference area (S32).

【0010】この結果、両者が干渉しあわせない場合に
は、干渉領域回避処理手段6は加工プログラム上の移動
指令データをそのまま取り込み、移動処理手段7に出力
する(S32)。また、両者が干渉しあう場合には、干
渉領域回避処理手段6は干渉領域を回避する例えば図2
に示すような移動経路を新たに設定し、移動処理手段7
に出力する(S33)。
As a result, if the two do not interfere with each other, the interference area avoidance processing means 6 takes in the movement command data on the machining program as is and outputs it to the movement processing means 7 (S32). Further, when the two interfere with each other, the interference area avoidance processing means 6 avoids the interference area, for example, as shown in FIG.
A new movement route as shown in is set, and the movement processing means 7
(S33).

【0011】これにより、移動処理手段7は、入力され
た指令データに基づき、図2に示すように移動開始点2
1から中間点28,中間点29を経て移動終了点22に
至る移動経路の移動データを算出して、モータ9,10
に出力し、被制御体である例えば工具を所定量だけ移動
して、加工動作を行う。
As a result, the movement processing means 7 moves to the movement starting point 2 as shown in FIG. 2 based on the input command data.
The movement data of the movement route from 1 to the movement end point 22 via the intermediate points 28 and 29 is calculated, and the motors 9 and 10
A controlled object, such as a tool, is moved by a predetermined amount to perform a machining operation.

【0012】実施例2.上記実施例1は、加工プログラ
ム解析手段3の出力と、あらかじめ設定された干渉領域
とを直接比較するようにしたが、図5に示すように加工
プログラム解析手段3の出力を直接移動処理手段7に入
力し、この移動処理手段7の移動データ出力を、干渉領
域比較処理手段11であらかじめ設定された干渉領域と
干渉するか否かを比較判定し、干渉領域回避手段12で
移動経路を新たに設定しても同様な動作を期待できる。
Example 2. In the first embodiment, the output of the machining program analysis means 3 is directly compared with the preset interference area, but as shown in FIG. The movement data output from the movement processing means 7 is compared and determined by the interference area comparison processing means 11 to determine whether or not it interferes with a preset interference area, and the interference area avoidance means 12 creates a new movement route. You can expect the same behavior even if you set it.

【0013】[0013]

【発明の効果】この発明は、以上説明したように構成さ
れているので、あらかじめ干渉領域を任意に設定してお
くだけで、被制御体がその干渉領域を回避する移動経路
を新たに生成するから、特に加工プログラムをプログラ
ミングする際にあらかじめ干渉の有無を考慮する必要が
なく、加工プログラムが簡素化されるとともにその作成
作業が容易になる。
[Effects of the Invention] Since the present invention is configured as explained above, simply by arbitrarily setting an interference area in advance, a new movement path for the controlled object to avoid the interference area can be generated. Therefore, there is no need to consider the presence or absence of interference in advance especially when programming a machining program, which simplifies the machining program and facilitates its creation.

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

【図1】この発明の実施例1の数値制御装置の構成を示
すブロック図である。
FIG. 1 is a block diagram showing the configuration of a numerical control device according to a first embodiment of the present invention.

【図2】この発明の実施例1の移動経路と干渉領域との
関係を示す図である。
FIG. 2 is a diagram showing the relationship between a moving route and an interference area according to the first embodiment of the present invention.

【図3】この発明の実施例1のフローチャートを示す図
である。
FIG. 3 is a diagram showing a flowchart of Embodiment 1 of the present invention.

【図4】この発明の実施例2の数値制御装置の構成を示
すブロック図である。
FIG. 4 is a block diagram showing the configuration of a numerical control device according to a second embodiment of the present invention.

【図5】従来の数値制御装置の構成を示すブロック図で
ある。
FIG. 5 is a block diagram showing the configuration of a conventional numerical control device.

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

1  紙テープ 2  入力手段 3  加工プログラム解析手段 4  干渉領域比較処理手段 5  干渉領域設定手段 6  干渉領域回避処理手段 7  移動処理手段 9  モータ 10  モータ 1 Paper tape 2 Input means 3. Machining program analysis means 4 Interference area comparison processing means 5 Interference area setting means 6 Interference area avoidance processing means 7. Movement processing means 9 Motor 10 Motor

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  被制御体の加工プログラムに基づく移
動経路と干渉する干渉領域を予め外部から入力すること
により設定する干渉領域設定手段と、加工プログラムに
基づく実際の移動経路と前記干渉領域との干渉の有無を
チェックする干渉領域比較処理手段と、前記移動経路と
干渉領域とが干渉する場合においてその干渉領域を回避
する移動経路を新たに設定する干渉領域回避処理手段と
を具備することを特徴とする数値制御装置。
1. Interference area setting means for setting an interference area that interferes with a movement path based on a machining program of a controlled object by inputting in advance from the outside; It is characterized by comprising an interference area comparison processing means for checking the presence or absence of interference, and an interference area avoidance processing means for setting a new movement route that avoids the interference area when the movement route and the interference area interfere. Numerical control device.
JP8520991A 1991-04-17 1991-04-17 Numerical controller Pending JPH04318604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8520991A JPH04318604A (en) 1991-04-17 1991-04-17 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8520991A JPH04318604A (en) 1991-04-17 1991-04-17 Numerical controller

Publications (1)

Publication Number Publication Date
JPH04318604A true JPH04318604A (en) 1992-11-10

Family

ID=13852201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8520991A Pending JPH04318604A (en) 1991-04-17 1991-04-17 Numerical controller

Country Status (1)

Country Link
JP (1) JPH04318604A (en)

Similar Documents

Publication Publication Date Title
CN109725600B (en) Post-processor device, machining program generating method, CNC machining system, and computer-readable information recording medium
JP3399419B2 (en) Numerical control simulation device
US20080103625A1 (en) Numerical controller with machining resume function
US11131979B2 (en) Numerical control device and numerical control method
US5170034A (en) Method and apparatus for welding robot control
WO2004074953A1 (en) Numerically controlled device
JP6105548B2 (en) Numerical control device with interference avoidance positioning function
JP6062971B2 (en) A numerical controller that controls machine tools based on skiving instructions
JPH04318604A (en) Numerical controller
US7136718B2 (en) Numerical control apparatus
JP2020003958A (en) Numerical control device
JP6470326B2 (en) Control device
US20180181101A1 (en) Numerical controller
US6075335A (en) Positioning control method, numerical control apparatus, numerical control program-generating apparatus and recording medium for the positioning control method
JPH0498301A (en) Numerically controlled machine tool and numerical controller
JP6923736B2 (en) Numerical control device
JP2001154719A (en) Method for interpolating free curve
JPS60228056A (en) Method of control for determining tool approach position in milling work
JPH0511831A (en) Machining program analyzing method for nc controller
JPS6359604A (en) Method for changing working route in numerical controller
KR0160672B1 (en) Method and device of numeric controlling for mirror-image control
KR0151016B1 (en) Servo motor velocity control method
JPS6063610A (en) Numerical controller with graphic display device capable of drawing clamping device
JP2000231412A (en) In-position check method and device therefor
JPH09271967A (en) Controller for laser beam machine