JPH0366548A - Software table limit device for nc machine tool - Google Patents

Software table limit device for nc machine tool

Info

Publication number
JPH0366548A
JPH0366548A JP20143489A JP20143489A JPH0366548A JP H0366548 A JPH0366548 A JP H0366548A JP 20143489 A JP20143489 A JP 20143489A JP 20143489 A JP20143489 A JP 20143489A JP H0366548 A JPH0366548 A JP H0366548A
Authority
JP
Japan
Prior art keywords
limit
movement
range
intersection point
point
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
JP20143489A
Other languages
Japanese (ja)
Inventor
Shigemi Kumazawa
熊沢 茂美
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 JP20143489A priority Critical patent/JPH0366548A/en
Publication of JPH0366548A publication Critical patent/JPH0366548A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To eliminate stopping on the way of positioning when a working table reaches the present point of intersection in a limit range by judging whether to be stopped or continued through a limit signal judging means, based on the input signal of a limit signal input means. CONSTITUTION:The computed result by a computing means 26 for a point of intersection in which a straight line locus between a start point ST and an end point ED to position a table intersects a limit range (oblique line part) at a present point of intersection SP and a remaining point of intersection Stheta, is compared with the position 25 of the working table by a comparison means 22. It is judged whether the point 25 is inside or outside the limit range. At outside the range, usual movement is performed by an outside limit movement control means 23. At inside the range, movement from the present point of intersection SP to the remaining point of intersection Stheta is made by an inside limit movement control means 32. Consequently, positioning is not stopped on the way and the point 25 is automatically moved to the end point ED. Further, stop or continuance of movement in the limit range is judged by a judging means 28 based on a limit signal input means 27 and it can be stopped even in the range.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、加工用テーブルのリミット範囲内における加
工工具および治具の直線軌跡の位置決めをソフトウェア
で制御するNC工作機械のソフトウェアテーブルリミッ
ト装置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a software table limit device for an NC machine tool that uses software to control the positioning of the linear trajectory of a machining tool and jig within the limit range of a machining table. It is something.

[従来の技術] 第4図は例えば特開昭81−260930号公報または
特開昭62−138249号公報に示されているような
従来のNC工作機械、すなわちNC放電加工機のソフト
ウェアテーブルリミット装置の要部を示すブロック図で
ある。図において、(1)は制御装置で、データ入力部
(2〉と、中央処理装置(3)と、インターフェイス(
4)と、テーブル駆動用アンプ(5〉とから構成されて
いる。(6〉は駆動装置で、加工用テーブル(7〉と、
加工用テーブル(7)を駆動するモータ(8)と、被加
工物(9)と、加工工具00〉および加工工具(10)
を保持する治具(11)とから構成されている。
[Prior Art] Fig. 4 shows a software table limit device of a conventional NC machine tool, that is, an NC electric discharge machine, as shown in, for example, Japanese Patent Application Laid-open No. 81-260930 or Japanese Patent Application Laid-open No. 62-138249. FIG. 2 is a block diagram showing the main parts of. In the figure, (1) is a control device that includes a data input section (2), a central processing unit (3), and an interface (
4), a table driving amplifier (5>). (6> is a drive device, which drives a processing table (7>),
A motor (8) that drives a processing table (7), a workpiece (9), a processing tool 00〉, and a processing tool (10)
It consists of a jig (11) for holding the.

中央処理装置(3〉は、データ入力部(2)から転送さ
れてきたデータに基づいて加工用テーブル(7〉のリミ
ット範囲を決定するリミット範囲決定手段(21)と、
加工用テーブル(7)の現在位置を検出する位置検出手
段(25)と、加工工具(10〉及び治具(11)がリ
ミット範囲内外のいずれに存在するかを判断する比較手
段(22〉と、比較手段(22〉がリミット範囲外と判
断した時に加工用テーブル(7)移動を制御するリミッ
ト外移動制御手段(23)と、比較手段(22)がリミ
ット範囲内と判断した時に加工用テーブル(7)移動を
停止させる移動停止制御手段(24)としての機能を備
えている。
The central processing unit (3) includes a limit range determining means (21) that determines the limit range of the processing table (7) based on the data transferred from the data input unit (2);
a position detection means (25) for detecting the current position of the processing table (7); and a comparison means (22) for determining whether the processing tool (10) and jig (11) are within or outside the limit range. , out-of-limit movement control means (23) for controlling the movement of the machining table (7) when the comparison means (22> determines that it is outside the limit range); (7) It has a function as a movement stop control means (24) for stopping movement.

第5図は従来のソフトウェアテーブルリミットの原理を
示す図であり、図中、(ST)は位置決め開始点、(E
D)は位置決め終了点、(SP)は位置決め停止点、(
xl〉はX軸マイナス方向の可動制限範囲、(x2)は
X軸プラス方向の可動制限範囲、(Yl〉はYtibマ
イナス方向の可動制限範囲、(Y2)はY軸プラス方向
の可動制限範囲である。
FIG. 5 is a diagram showing the principle of the conventional software table limit, in which (ST) is the positioning start point, (E
D) is the positioning end point, (SP) is the positioning stop point, (
xl> is the limited range of movement in the negative direction of the X-axis, (x2) is the limited range of movement in the positive direction of the X-axis, (Yl> is the limited range of movement in the negative direction of Ytib, and (Y2) is the limited range of movement in the positive direction of the Y-axis. be.

次に、前述構成を有する従来装置の動作について第4,
5図に基づき説明する。まずリミット範囲決定手段(2
1)はデータ入力部(2)から転送されてきたデータに
基づいてリミット範囲(Xi −X2)。
Next, we will discuss the operation of the conventional device having the above-mentioned configuration in the fourth section.
This will be explained based on FIG. First, limit range determining means (2
1) is a limit range (Xi - X2) based on the data transferred from the data input section (2).

(Yl〜Y2)を算出する。次いで、比較手段(22)
は位置検出手段(25)により検出された加工用テーブ
ル(7)の現在位置に基づいて加工工具(10〉及び治
具(11)がリミット範囲内外のいずれにあるかを判断
し、リミット範囲外(ST−3P)と判断された時は、
リミット外移動制御手段(23)により通常の位置決め
を行ない、リミット範囲内、すなわち点(SP)である
と判断された時は、移動停止制御手段(24)によりイ
ンターフェイス(4)及びテーブル駆動用アンプ(5)
を介して加工用テーブル(7〉の移動を停止させる。
(Yl-Y2) is calculated. Next, comparison means (22)
determines whether the machining tool (10) and jig (11) are within or outside the limit range based on the current position of the machining table (7) detected by the position detection means (25), and When it is determined that (ST-3P),
The out-of-limit movement control means (23) performs normal positioning, and when it is determined that it is within the limit range, that is, at the point (SP), the movement stop control means (24) controls the interface (4) and the table drive amplifier. (5)
to stop the movement of the processing table (7).

[発明が解決しようとする課題] 従来のNC工作機械のソフトウェアテーブルリミット装
置は以上のように構成されているので、第5図において
、位置決め開始点(ST)から位置決め終了点(ED)
への経路が意味を持つのでなく、最終的に位置決め終了
点(ED)に位置決めするεいうことが目的とされる場
合、自動的な位置決めにもかかわらず、途中で位置決め
停止点(sp)で位置決めが停止してしまうという難点
があった。
[Problems to be Solved by the Invention] Since the conventional software table limit device of the NC machine tool is configured as described above, in FIG.
If the purpose is to finally position to the positioning end point (ED), rather than having a meaning, the path to the positioning stop point (sp) may be reached midway despite automatic positioning. There was a problem that positioning stopped.

本発明は前述のような問題点を解消するためになされた
もので、加工用テーブルがリミット範囲内に存在する時
も位置決めを停止する必要がないと作業者が判断した場
合、途中の位置決め停止点(sp)で位置決を停止する
ことなく位置決め終了点(ED)まで自動的に位置決め
させることのできるNC工作機械のソフトウェアテーブ
ルリミット装置を得ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and if the operator determines that there is no need to stop positioning even when the processing table is within the limit range, positioning can be stopped midway. An object of the present invention is to obtain a software table limit device for an NC machine tool that can automatically position up to a positioning end point (ED) without stopping positioning at a point (sp).

〔11題を解決するための手段〕 本発明に係るNC工作機械のソフトウェアテーブルリミ
ット装置は、リミット範囲と位置決めすべき直線軌跡と
の2つの交点である現交点及び残交点を算出する交点算
出手段と、加工用テーブルの移動位置を検出する位置検
出手段と、算出された現交点及び残交点と前記加工用テ
ーブルの位置から加工工具および治具が前記リミット範
囲内外のいずれに存在するかを判断する比較手段と、こ
の比較手段がリミット範囲外であることを判断した時に
通常の移動を行わせるリミット外移動制御手段と、前記
比較手段がリミット範囲内であることを判断した時に現
交点から残交点までのリミット範囲に沿った移動量を時
計回りおよび反時計回りについて算出するリミット移動
量算出手段と、算出された移動量を比較して最短の移動
量となる方向を決定するリミット方向決定手段と、決定
した方向にリミット範囲の輪郭形状に沿って移動を続行
するリミット内移動制御手段と、前記位置検出手段から
のリミット内移動中の位置と残交点とを比較し、一致し
たならば前記リミット内移動制御手段を停止させて前記
リミット外移動制御手段を駆動させる残交点比較手段と
を備えたものである。
[Means for Solving Problem 11] The software table limit device for an NC machine tool according to the present invention includes an intersection point calculation means for calculating a current intersection point and a remaining intersection point, which are two intersection points between a limit range and a linear trajectory to be positioned. and a position detecting means for detecting the moving position of the processing table, and determining whether the processing tool and jig exist within or outside the limit range from the calculated current intersection point and remaining intersection point and the position of the processing table. out-of-limit movement control means that performs normal movement when the comparison means determines that it is outside the limit range; A limit movement amount calculation means that calculates the amount of movement along the limit range up to the intersection in clockwise and counterclockwise directions, and a limit direction determination means that compares the calculated movement amounts and determines the direction that provides the shortest amount of movement. Then, the within-limit movement control means that continues to move in the determined direction along the contour shape of the limit range compares the position during the within-limit movement from the position detection means with the residual intersection point, and if they match, the above-mentioned and remaining intersection point comparison means for stopping the within-limit movement control means and driving the outside-of-limit movement control means.

また、比較手段がリミット範囲内であることを判断した
時に前記加工用テーブルの移動を停止するか、または前
記リミット範囲の輪郭形状に沿って移動を続行するかを
決定する信号を入力するリミット信号入力手段と、現交
点に到達した時、前記リミット信号入力手段の入力信号
に基づいて停止または続行を判断するリミット信号判断
手段と、このリミット信号判断手段が停止を判断した時
に前記加工用テーブルの移動を停止させる移動停止制御
手段とを設けるとともに、前記リミット移動量算出手段
は前記リミット信号判断手段が続行を判断した時に動作
するよう構成したものである。
Further, a limit signal inputting a signal for determining whether to stop the movement of the processing table or to continue moving along the contour shape of the limit range when the comparison means determines that the processing table is within the limit range. an input means; a limit signal determining means for determining whether to stop or continue based on the input signal of the limit signal input means when the current intersection is reached; and a limit signal determining means for determining whether to stop or continue based on the input signal of the limit signal input means; A movement stop control means for stopping the movement is provided, and the limit movement amount calculation means is configured to operate when the limit signal determination means determines to continue.

[作 用] 本発明においては、交点算出手段による位置決めすべき
直線軌跡とリミット範囲との現交点及び残交点の算出結
果を、比較手段が加工用テーブルの位置と比較して加工
工具および治具がリミット範囲内外のいずれに存在する
かを判断し、リミット範囲外である時にはリミット外移
動制御手段が通常の移動を行い、リミット範囲内である
時にはリミット内移動制御手段が現交点から残交点まで
リミット範囲に沿った移動を行うので、位置決めすべき
直線軌跡がリミット範囲内に存在する時でも、位置決め
を途中で停止することなく自動的に位置決め終了点まで
移動させることができる。
[Function] In the present invention, the comparison means compares the calculation result of the current intersection point and the remaining intersection point between the linear locus to be positioned and the limit range by the intersection calculation means with the position of the processing table, and adjusts the processing tools and jigs. The outside-of-limit movement control means performs normal movement when it is outside the limit range, and the inside-limit movement control means moves from the current intersection point to the remaining intersection point when it is within the limit range. Since the movement is performed along the limit range, even when the linear trajectory to be positioned is within the limit range, the positioning can be automatically moved to the positioning end point without stopping midway.

また、本発明においては、リミット範囲内での移動の停
止・続行をリミット信号入力手段により指示できるよう
にしているので、リミット範囲内で移動を停止させる必
要のある場合には、リミット信号入力手段からリミット
範囲内での移動の停止を指示すれば、現交点に到達した
時点で移動停止制御手段が加工用テーブルの移動を停止
させる。
Furthermore, in the present invention, the limit signal input means can instruct the stop or continuation of movement within the limit range, so when it is necessary to stop the movement within the limit range, the limit signal input means If an instruction is given to stop the movement within the limit range from , the movement stop control means stops the movement of the processing table when the current intersection point is reached.

[実施例] 以下、図示実施例に基づき本発明を説明する。[Example] The present invention will be explained below based on illustrated embodiments.

第1図は本発明の一実施例に係るNC工作機械のソフト
ウェアテーブルリミット装置の要部を示すブロック図、
第2図はその処理の流れを示すフローチャート、第3図
はそのソフトウェアテーブルリミットの原理を示す図で
、従来に相当する部分には同一符号を付し、その説明は
省略する。
FIG. 1 is a block diagram showing the main parts of a software table limit device for an NC machine tool according to an embodiment of the present invention;
FIG. 2 is a flowchart showing the flow of the process, and FIG. 3 is a diagram showing the principle of the software table limit. Parts corresponding to the conventional ones are given the same reference numerals, and the explanation thereof will be omitted.

第1図において、(2B)は位置決めすべき直線軌跡と
リミット範囲決定手段(21)により算出されたリミッ
ト範囲との交点を算出する交点算出手段、(27)は比
較手段(22)がリミット範囲内であることを判断した
時に加工用テーブル(7)移動を停止するか、またはリ
ミット範囲に基づいて続行するかを決定する信号を入力
するリミット信号入力手段、(28〉はリミット信号入
力手段(27〉により停止または続行を判断するリミッ
ト信号判断手段、(29)はリミット信号判断手段(2
8)が続行を検出した時に現交点から残交点までのリミ
ット範囲に沿った移動量を時計回りおよび反時計回りに
ついて算出するリミット移動量算出手段、(30〉はこ
れら算出された移動量を比較して最短の移動量となる方
向を決定するリミット方向決定手段、(31)は位置検
出手段(25〉により検出された加工用テーブル(7)
の現在位置と残交点とを比較する残交点比較手段、(3
2)は残交点比較手段(31)が現在位置と残交点が一
致しないと判断した時にリミット方向決定手段〈30〉
で決定した最短移動量方向にリミット範囲に沿って移動
を続行するリミット内移動制御手段である。
In FIG. 1, (2B) is an intersection calculation means for calculating the intersection of the linear trajectory to be positioned and the limit range calculated by the limit range determination means (21), and (27) is the comparison means (22) that is the limit range. Limit signal input means (28> is a limit signal input means (28) for inputting a signal for determining whether to stop the movement of the processing table (7) or continue based on the limit range when it is determined that the movement is within the limit range; (27) is a limit signal determining means for determining whether to stop or continue; (29) is a limit signal determining means (29)
8) A limit movement amount calculation means that calculates the movement amount along the limit range from the current intersection point to the remaining intersection point in clockwise and counterclockwise directions when continuation is detected, and (30> compares these calculated movement amounts. (31) is the processing table (7) detected by the position detection means (25>).
residual intersection point comparison means for comparing the current position of and the residual intersection point, (3
2) is when the residual intersection comparison means (31) determines that the current position and the residual intersection do not match, the limit direction determination means <30>
This is a within-limit movement control means that continues movement along the limit range in the direction of the shortest movement amount determined in .

また第3図において、(SP)は位置決めすべき直線軌
跡とリミット範囲の第1交点(現交点)、(Sθ)は第
2交点(残交点)である。
Further, in FIG. 3, (SP) is the first intersection (current intersection) between the linear trajectory to be positioned and the limit range, and (Sθ) is the second intersection (remaining intersection).

次に、上述構成を有する本実施例装置の動作について第
1図乃至第3図に基づき説明する。まず、第3図のよう
な位置決め開始点(ST)から位置決め終了点(ED)
への直線位置決めを行う場合、位置決め途中でリミット
範囲内になった時に位置決めを停止するか続行するかを
意味するデータを、予め作業者がリミット信号入力手段
(27)により設定しておく (5tepl)。次いで
、位置決めすべき直線軌跡とリミット範囲決定手段(2
1)により算出されたリミット範囲との交点(SP)、
 (Sθ)を周知の交点算出手法を用いた交点算出手段
(26〉により算出する( 5tep2)。ここで、両
交点(SP)、 (Sθ〉の座標を、sP<xp 、Y
、 )、8B(X、、Y、)とする。
Next, the operation of the apparatus of this embodiment having the above-described configuration will be explained based on FIGS. 1 to 3. First, from the positioning start point (ST) to the positioning end point (ED) as shown in Figure 3.
When performing linear positioning, the operator sets data in advance using the limit signal input means (27), which means whether to stop or continue positioning when the position falls within the limit range during positioning. ). Next, the linear trajectory to be positioned and the limit range determining means (2
1) Intersection point (SP) with the limit range calculated by
(Sθ) is calculated by the intersection point calculation means (26) using a well-known intersection point calculation method (5 step 2). Here, the coordinates of both the intersection points (SP) and (Sθ> are calculated as sP<xp, Y
, ), 8B(X,,Y,).

そして、この算出された交点と現在位置が一致するか否
かを比較手段(22)により判断しく 5top3)、
一致しない間、すなわち(ST)〜(SP)の間はリミ
ット外移動制御手段(23〉により通常の位置決めを行
なう(5tep4)。また算出された交点(sp)と現
在位置が一致すれば、5teplにて入力されたデータ
が停止と続行のいずれを意味するかをリミット信号判断
手段(28)により判断しく 5tep5)、停止を意
味する場合には移動停止制御手段(24)により移動を
停止しく 5tep8)、続行を意味する場合にはリミ
ット移動量算出手段(29)により以下の様に第1交点
(SP)から第2交点(Sθ)までのリミット範囲に沿
った移動mL1.L2を算出する( 5tep7)。
Then, use the comparison means (22) to determine whether or not the calculated intersection point matches the current position. 5top 3)
While they do not match, that is, between (ST) and (SP), normal positioning is performed by the out-of-limit movement control means (23>) (5 tep 4). If the calculated intersection point (sp) and the current position match, 5 tep The limit signal determining means (28) determines whether the input data means stop or continuation (5step 5), and if it means stop, the movement is stopped by the movement stop control means (24) 5step 8 ), if it means to continue, the limit movement calculation means (29) calculates the movement mL1 . Calculate L2 (5step7).

時計回り Ll−(X、 −Xi) + (Y2−Yl) +(X
、 −Xi)反時計回り L2−(X2−  X、 ) +(Y2−Yl) +(
X2−  Xo)Ll > L2 次いで、このように算出した移動ff1L1.L2をリ
ミット方向決定手段(3o)により比較しくLl >L
2)、最短移動量となる反時計回りの方向を決定する(
 5tep8)。
Clockwise Ll-(X, -Xi) + (Y2-Yl) +(X
, -Xi) Counterclockwise L2-(X2-X, ) +(Y2-Yl) +(
X2-Xo)Ll>L2 Next, the movement ff1L1. L2 is compared by the limit direction determining means (3o) and Ll >L
2) Determine the counterclockwise direction that will result in the shortest amount of movement (
5 step 8).

その後・残交点比較手段(31)により現在位置が残交
点すなわち第2交点(Sθ)と一致するか否かを判断し
く 5tep9)、一致しない間はリミット内移動制御
手段(32)により5tep8にて決定した秀句にリミ
ット範囲に沿って、(SP)→(X2.Yl)→(X2
.Y2) −(X、 、Y、 )へと移動しく5tep
lO) 、また第2交点(Sθ)と一致するとリミット
外移動制御手段(23)により通常の位置決めを再開す
る。そして現在位置が位置決め終了点(ED)と一致す
るか否かを判断しく5tepH) 、位置決め終了点(
HD)でなければ5tep3へ戻り、位置決め終了点(
ED)であれば位置決めを終了する。
After that, the remaining intersection point comparing means (31) judges whether the current position matches the remaining intersection point, that is, the second intersection point (Sθ) 5tep9), and while it does not match, the within-limit movement control means (32) at 5tep8) Along the limit range to the determined excellent poem, (SP) → (X2.Yl) → (X2
.. Y2) - 5 steps to move to (X, , Y, )
lO), and when it coincides with the second intersection (Sθ), the out-of-limit movement control means (23) resumes normal positioning. Then, it is determined whether the current position matches the positioning end point (ED) or not.
HD), return to 5 step 3, positioning end point (
ED), positioning ends.

なお、前述した実施例では位置決めすべき直線軌跡とリ
ミット範囲との交点が存在する場合について示したが、
交点が存在しない場合でも本発明装置において通常の位
置決めを制御することができることは言うまでもない。
In addition, in the above-mentioned embodiment, the case where there is an intersection between the linear locus for positioning and the limit range is shown.
It goes without saying that the apparatus of the present invention can control normal positioning even when there is no intersection.

また、前述した実施例ではリミット信号入力手段(27
)等を備えているものを例に挙げて説明したが、加工用
テーブルがリミット範囲内に存在する時も常に位置決め
を停止する必要がない場合には、第1図及び第2図中に
破線で囲った部分、つまりリミット信号入力手段(27
〉、リミット信号判断手段(28〉、リミット移動量算
出手段(29)、移動停止制御手段(24)、及び5t
epl 、5tep5.5tep8を不要のものとする
ことができる。
Further, in the above-described embodiment, the limit signal input means (27
) etc., but if it is not necessary to always stop positioning even when the processing table is within the limit range, the broken lines in Figures 1 and 2 may be used. The part enclosed by , that is, the limit signal input means (27
>, limit signal judgment means (28>), limit movement amount calculation means (29), movement stop control means (24), and 5t
epl, 5tep5.5tep8 can be made unnecessary.

なおまた、前述の実施例ではNC工作機械としてNC放
電加工機を例に挙げて説明したが、これに限るものでな
く、他のNC工作機械、例えばフライス盤等にも本発明
を適用でき、このような場合でも前述の実施例同様の作
用効果を奏する。
Furthermore, in the above-mentioned embodiments, an NC electric discharge machine was used as an example of the NC machine tool, but the present invention is not limited to this, and the present invention can also be applied to other NC machine tools, such as milling machines. Even in such a case, the same effects as in the above embodiment can be achieved.

[発明の効果コ 以上述べたように、本発明によれば、交点算出手段によ
る位置決めすべき直線軌跡とリミット範囲との現交点及
び残交点の算出結果を、比較手段が加工用テーブルの位
置と比較して加工工具および治具がリミット範囲内外の
いずれに存在するかを判断し、リミット範囲外である時
にはリミット外移動制御手段が通常の移動を行い、リミ
ット範囲内である時にはリミット内移動制御手段が現交
点から残交点までリミット範囲に沿った移動を行うよう
に構成したので、位置決めすべき直線軌跡がリミット範
囲内に存在する時でも、位置決めを途中で停止すること
なく自動的に位置決め終了点まで移動させることができ
るという効果がある。
[Effects of the Invention] As described above, according to the present invention, the comparison means compares the calculation results of the current intersection point and the remaining intersection point between the linear locus to be positioned and the limit range by the intersection calculation means with the position of the processing table. The processing tool and jig are compared to determine whether they are inside or outside the limit range, and when they are outside the limit range, the outside-of-limit movement control means performs normal movement, and when they are within the limit range, the inside-limit movement control is performed. Since the means is configured to move along the limit range from the current intersection point to the remaining intersection points, even if the straight line locus to be positioned is within the limit range, positioning can be automatically completed without stopping halfway. It has the effect of being able to move to a point.

また、本発明においては、リミット範囲内での移動の停
止・続行をリミット信号入力手段により指示できるよう
にしたので、リミット範囲内で移動を停止させる必要の
ある場合には、リミット信号入力手段からリミット範囲
内での移動の停止を指示すれば、現交点に到達した時点
で移動停止制御手段が加工用テーブルの移動を停止させ
るという効果がある。
Furthermore, in the present invention, it is possible to instruct the stop or continuation of movement within the limit range using the limit signal input means, so when it is necessary to stop the movement within the limit range, the limit signal input means can be used to stop or continue the movement within the limit range. Instructing to stop the movement within the limit range has the effect that the movement stop control means stops the movement of the processing table when the current intersection point is reached.

という効果がある。There is an effect.

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

第1図は本発明の一実施例に係るNC工作機械のソフト
ウェアテーブルリミット装置の制御装置を示すブロック
図、第2図はその処理の流れを示すフローチャート、第
3図はそのソフトウェアテーブルリミットの原理を説明
するための説明図、第4図は従来のNC工作機械のソフ
トウェアテーブルリミット装置を示すブロック図、第5
図はそのソフトウェアテーブルリミットの原理を説明す
るための説明図である。 図において、(7)は加工用テーブル、(9)は被加工
物、(10)は加工工具、(11)は治具、(21)は
リミット範囲決定手段、(22)は比較手段、(23)
はリミット外移動制御手段、(24)は移動停止制御手
段、(25)は位置検出手段、(26)は交点算出手段
、(27〉はリミット信号入力手段、(28)はリミッ
ト信号判断手段、(29)はリミット移動量算出手段、
(30)はリミット方向決定手段、(32)はリミット
内移動制御手段、(31)は残交点比較手段、(sp)
は第1交点(現交点)、(Sθ)は第2交点(残交点)
である。 なお、各図中、同一符号は同一または相当部分を示す。
Fig. 1 is a block diagram showing a control device of a software table limit device for an NC machine tool according to an embodiment of the present invention, Fig. 2 is a flowchart showing the flow of its processing, and Fig. 3 is the principle of the software table limit device. 4 is a block diagram showing a software table limit device of a conventional NC machine tool, and 5 is an explanatory diagram for explaining the
The figure is an explanatory diagram for explaining the principle of the software table limit. In the figure, (7) is a processing table, (9) is a workpiece, (10) is a processing tool, (11) is a jig, (21) is a limit range determining means, (22) is a comparison means, ( 23)
(24) is a movement stop control means, (25) is a position detection means, (26) is an intersection calculation means, (27> is a limit signal input means, (28) is a limit signal judgment means, (29) is limit movement amount calculation means;
(30) is limit direction determining means, (32) is within-limit movement control means, (31) is residual intersection point comparison means, (sp)
is the first intersection (current intersection), (Sθ) is the second intersection (residual intersection)
It is. In each figure, the same reference numerals indicate the same or corresponding parts.

Claims (2)

【特許請求の範囲】[Claims] (1)加工用テーブルを移動させてこの加工用テーブル
に固定された被加工物と加工工具および該加工工具を保
持する治具とを相対的に動かし、該加工工具および治具
を被加工物の指定位置に自動的に直線位置決めする際、
前記加工工具および治具に対する加工用テーブルのリミ
ット範囲を決定する手段を備えたNC工作機械のソフト
ウェアテーブルリミット装置において、 前記リミット範囲と位置決めすべき直線軌跡との2つの
交点である現交点及び残交点を算出する交点算出手段と
、前記加工用テーブルの移動位置を検出する位置検出手
段と、算出された現交点及び残交点と前記加工用テーブ
ルの位置から前記加工工具および治具が前記リミット範
囲内外のいずれに存在するかを判断する比較手段と、こ
の比較手段がリミット範囲外であることを判断した時に
通常の移動を行わせるリミット外移動制御手段と、前記
比較手段がリミット範囲内であることを判断した時に現
交点から残交点までのリミット範囲に沿った移動量を時
計回りおよび反時計回りについて算出するリミット移動
量算出手段と、算出された移動量を比較して最短の移動
量となる方向を決定するリミット方向決定手段と、決定
した方向にリミット範囲の輪郭形状に沿って移動を続行
するリミット内移動制御手段と、前記位置検出手段から
のリミット内移動中の位置と残交点とを比較し、一致し
たならば前記リミット内移動制御手段を停止させて前記
リミット外移動制御手段を駆動させる残交点比較手段と
を備えることを特徴とするNC工作機械のソフトウェア
テーブルリミット装置。
(1) Move the processing table to move the workpiece fixed to the processing table, the processing tool, and the jig that holds the processing tool relative to each other, and move the processing tool and jig to the workpiece. When automatically linearly positioning to the specified position,
In a software table limit device for an NC machine tool, which is equipped with means for determining a limit range of a machining table for the machining tool and jig, the current intersection point and the remaining intersection point of the limit range and a linear trajectory to be positioned are an intersection point calculation means for calculating an intersection point; a position detection means for detecting a moving position of the processing table; and a position detection means for detecting a moving position of the processing table; a comparison means for determining whether the object exists inside or outside; an outside-of-limit movement control means for causing normal movement when the comparison means determines that the object is outside the limit range; A limit movement amount calculation means that calculates the movement amount along the limit range from the current intersection point to the remaining intersection point in clockwise and counterclockwise directions, and a limit movement amount calculation means that compares the calculated movement amount and determines the shortest movement amount. a limit direction determining means for determining the direction in which the limit is moving; a within-limit movement control means for continuing the movement in the determined direction along the contour shape of the limit range; a software table limit device for an NC machine tool.
(2)前記比較手段がリミット範囲内であることを判断
した時に前記加工用テーブルの移動を停止するか、また
は前記リミット範囲に沿って移動を続行するかを決定す
る信号を入力するリミット信号入力手段と、現交点に到
達した時、前記リミット信号入力手段の入力信号に基づ
いて停止または続行を判断するリミット信号判断手段と
、このリミット信号判断手段が停止を判断した時に前記
加工用テーブルの移動を停止させる移動停止制御手段と
を設けるとともに、前記リミット移動量算出手段は前記
リミット信号判断手段が続行を判断した時に動作するよ
う構成したことを特徴とする請求項(1)記載のNC工
作機械のソフトウェアテーブルリミット装置。
(2) Limit signal input for inputting a signal that determines whether to stop the movement of the processing table or to continue moving along the limit range when the comparison means determines that it is within the limit range. means, limit signal determining means for determining whether to stop or continue based on the input signal of the limit signal input means when the current intersection point is reached, and movement of the processing table when the limit signal determining means determines to stop. The NC machine tool according to claim 1, further comprising a movement stop control means for stopping the movement, and the limit movement amount calculation means is configured to operate when the limit signal determination means determines to continue. Software table limit device.
JP20143489A 1989-08-04 1989-08-04 Software table limit device for nc machine tool Pending JPH0366548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20143489A JPH0366548A (en) 1989-08-04 1989-08-04 Software table limit device for nc machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20143489A JPH0366548A (en) 1989-08-04 1989-08-04 Software table limit device for nc machine tool

Publications (1)

Publication Number Publication Date
JPH0366548A true JPH0366548A (en) 1991-03-22

Family

ID=16441026

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20143489A Pending JPH0366548A (en) 1989-08-04 1989-08-04 Software table limit device for nc machine tool

Country Status (1)

Country Link
JP (1) JPH0366548A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020066691A (en) * 2001-02-13 2002-08-21 학교법인 호서학원 A chair for computer
KR100873209B1 (en) * 2007-04-10 2008-12-10 서준영 The chair which affixes the computer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020066691A (en) * 2001-02-13 2002-08-21 학교법인 호서학원 A chair for computer
KR100873209B1 (en) * 2007-04-10 2008-12-10 서준영 The chair which affixes the computer

Similar Documents

Publication Publication Date Title
WO1997013184A1 (en) Numerical controller
JPH0366548A (en) Software table limit device for nc machine tool
JP3342969B2 (en) Force control robot
US4458326A (en) Method and apparatus for circular interpolation
JP2885228B2 (en) Wire electric discharge machining method and apparatus
JP2771458B2 (en) Industrial robot deflection correction method
JPH0724645A (en) Wire electric discharge machining device
JPH02180555A (en) Deburring robot
JPH11194813A (en) Operation command generating method for industrial machine
JPS61226264A (en) Grinder operation robot device
JPH04330504A (en) Teaching device for loader
JP2978763B2 (en) Numerical control unit
JP3065167B2 (en) Automatic programming device for numerical control
JPH04176516A (en) Second cut machining method and second cut machining controller in wire electric discharge machining
JP3154268B2 (en) Robot positioning method and positioning device
JPS5840213A (en) Work holder before cutting off work
JP2926524B2 (en) Numerical controller with trial cutting function
JPH03117520A (en) Wire electric discharge machining
JPH0363761B2 (en)
JP2640467B2 (en) Numerical control unit
JPH08206940A (en) Numerical control device
JPH02257310A (en) Control method for deburring robot
JPS6268249A (en) Software table limit device for computer numerical control wire-cut electric discharge machine
JP2584366B2 (en) Taper machining method for wire electric discharge machine
JPH0511825A (en) Correction device for track of robot