JPS6310208A - Setting method for entry inhibiting area - Google Patents

Setting method for entry inhibiting area

Info

Publication number
JPS6310208A
JPS6310208A JP15440786A JP15440786A JPS6310208A JP S6310208 A JPS6310208 A JP S6310208A JP 15440786 A JP15440786 A JP 15440786A JP 15440786 A JP15440786 A JP 15440786A JP S6310208 A JPS6310208 A JP S6310208A
Authority
JP
Japan
Prior art keywords
area
tool
prohibited area
chk
rectangular
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
JP15440786A
Other languages
Japanese (ja)
Inventor
Hideaki Kawamura
川村 英昭
Takao Sasaki
隆夫 佐々木
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 JP15440786A priority Critical patent/JPS6310208A/en
Publication of JPS6310208A publication Critical patent/JPS6310208A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To set an entry inhibiting area by dividing this area into plural rectangular areas and at the same time giving the jog feed to a tool to set at the diagonal corner of each rectangular area and storing the present position of the tool. CONSTITUTION:An entry inhibiting area CHK is divided into rectangular areas EIN1-3. Then a tool TL undergoes to jog feed and is set the diagonal corner parts A/B, C/D and E/F of each rectangular area in an entry area inhibition area setting mode. The present position of the TL is stored when the TL is set at a corner part. In such a way, an entry inhibiting area is set. While an area CHK' is divided into rectangular areas EIN1'-3' and the TL is positioned with jog feed in case the entry inhibiting area is changed to CHK' from CHK after the change of the diameter of a work WK and then jaw position of a chuck. Then the diagonal corners A/B, C'/D' and E'/F' are stored to set an entry inhibiting area.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は数値制御における進入禁止領域設定方法に係り
、特に簡単に進入禁止領域を設定できる方法に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a method for setting a prohibited area in numerical control, and particularly to a method for easily setting a prohibited area.

〈従来技術〉 工作機域には機械可動部分が移動できる最大移動可能領
域というものがあり、該領域を越えて移動すると可動部
分が工作機域の固定部分と衝突して工作機械の損傷をき
たす。このため、各軸の移動可能領域の境界にはストロ
ークリミットがハード的にあるいはソフト的に張られ常
時可動部が前記移動可能領域内に存在するかどうかをチ
ェックしている。そして、該領域を越えて可動部分が移
動するとオーバトラベル信号(アラーム信号)が発生し
、該イ=号の発生によりNG装置は直ちに可動部分の移
動を非常停止するようにしている。
<Prior art> In the machine tool area, there is a maximum movable area in which the movable parts of the machine can move, and if the moving parts move beyond this area, the movable parts will collide with the fixed parts of the machine tool area, causing damage to the machine tool. . For this reason, a stroke limit is set either in hardware or software at the boundary of the movable region of each axis, and it is constantly checked whether the movable part exists within the movable region. When the movable part moves beyond this area, an overtravel signal (alarm signal) is generated, and the NG device immediately brings the movement of the movable part to an emergency stop upon generation of the "I=" signal.

又、工作機械には上記最大移動可能範囲内であっても可
動物が進入することができない進入禁止領域があり、た
とえば旋盤におけるチャック部分、テールストック部分
である。
Further, machine tools have areas where movable objects cannot enter even within the maximum movable range, such as the chuck portion and tail stock portion of a lathe.

さて、最大移動可能領域は一度決めてしまえば以後変わ
ることがないが、進入禁止領域は加工毎に、たとえばワ
ーク毎に変るものである。すなわち、ワークの径や長さ
に応じてチャックの爪位置が変ったり、あるいはテール
ストック位置が変わリ、結果的に進入禁止領域が変化す
る。
Now, once the maximum movable area is determined, it will not change thereafter, but the prohibited area changes for each machining process, for example, for each workpiece. That is, the position of the jaws of the chuck changes depending on the diameter and length of the workpiece, or the position of the tail stock changes, and as a result, the prohibited area changes.

このため、従来は進入禁止領域が変化する毎に該進入禁
止領域を特定するためのいくつかのポイントの座標値を
測定器で測定し、該座標値をMDI装置におけるキーボ
ードより入力している。
For this reason, conventionally, each time the entry-prohibited area changes, the coordinate values of several points for specifying the entry-prohibited area are measured with a measuring device, and the coordinate values are input from a keyboard in the MDI device.

〈発明が解決しようとしている問題点〉しかしながら、
進入禁止領域を測定器で測定してキーボードから入力す
る作業は面倒であり、能率的でないという問題がある。
<The problem that the invention is trying to solve> However,
There is a problem in that it is troublesome and inefficient to measure the prohibited area with a measuring device and input it from the keyboard.

特に、ワークの大きさに応じて進入禁止領域が煩繁に変
化する工作機械ではかかる問題点が顕在化する。
In particular, this problem becomes apparent in machine tools where entry prohibited areas frequently change depending on the size of the workpiece.

以上から本発明の目的は簡単な方法で進入禁止領域を設
定できる進入禁止領域設定方法を提供することである。
In light of the above, an object of the present invention is to provide a method for setting a prohibited area that allows a user to set a prohibited area in a simple manner.

〈問題点を解決するための手段〉 第1図は本発明の概略説明図である。〈Means for solving problems〉 FIG. 1 is a schematic explanatory diagram of the present invention.

図中、TLは工具、CHK、CHK’はチャック部分で
ある進入禁止領域、WK、WK’はワークである。
In the figure, TL is a tool, CHK and CHK' are chuck areas, which are prohibited areas, and WK and WK' are workpieces.

又、EINI〜EIN3及びErN2’〜ElN3’は
進入禁止領域の分割領域であり、矩形形状を有している
。EINlはチャックの不動部分に対応し、EIN2.
EIN3およびEIN2’。
Further, EINI to EIN3 and ErN2' to ElN3' are divided areas of the prohibited area and have a rectangular shape. EINl corresponds to the stationary part of the chuck, EIN2.
EIN3 and EIN2'.

EIN3’はチャックの爪部に対応している。EIN3' corresponds to the jaw part of the chuck.

く作用〉 進入禁止領域CHKを多数の矩形領域EINI〜EtN
3 (第1図(A))に分割する。そして、進入禁止領
域設定モードにおいて、工具TLをジョグ送りにより各
矩形領域の2つの対角コーナ部(A、B、C,D; E
、F)に位置決めし、それぞれ工具がコーナ部に位置決
めされた時の工具現在位置を記憶し、これにより進入禁
止領域を設定する。
Function> Transforms the prohibited area CHK into a large number of rectangular areas EINI~EtN
3 (Fig. 1 (A)). Then, in the no-entry area setting mode, jog feed the tool TL to two diagonal corners (A, B, C, D; E
, F), and store the current tool position when the tool is positioned at each corner, thereby setting a prohibited area.

そして、ワークの径が変化して(第1図(A)。Then, the diameter of the workpiece changes (Fig. 1(A)).

(B)参照)チャックの爪位置が変わって進入禁止領域
が変化すれば(CHK−CHK’に変化)すれば、進入
禁止領域CHK’を多数の矩形領域EINI、EIN2
’ 、EIN3’  (第1図(B))に分割し、ジョ
グ送りで位置決めすることにより各矩形領域の対角コー
ナ部(A、B、C’ 。
(Refer to (B)) If the chuck jaw position changes and the prohibited area changes (changes to CHK-CHK'), the prohibited area CHK' is divided into multiple rectangular areas EINI, EIN2.
', EIN3' (Fig. 1(B)) and positioning by jog feed allows the diagonal corners (A, B, C') of each rectangular area to be divided.

D’ ; E’ 、F’ )を記憶し、これにより進入
禁止領域を設定する。
D';E',F'), and thereby set a prohibited area.

〈実施例〉 v!J2図は本発明を実現するNC装置のブロック図、
第3図は本発明にかかる進入禁止領域設定の処理の流れ
図である。
<Example> v! Figure J2 is a block diagram of the NC device that realizes the present invention.
FIG. 3 is a flowchart of a process for setting a prohibited area according to the present invention.

第2図において、11はプロセッサ、12は制御プログ
ラムメモリ (ROM) 、13はバッテリーバックア
ップのRAMであり、NCデータ記憶域13a1進入禁
止領域記憶域13b1処理結果記憶域13c1その他の
記憶域13dを有している。
In FIG. 2, 11 is a processor, 12 is a control program memory (ROM), and 13 is a battery-backed RAM, which includes an NC data storage area 13a, a prohibited area storage area 13b, a processing result storage area 13c, and another storage area 13d. are doing.

14はCRT14aとデータ入力部(キーボード)14
bを有するCRT&MDI装置、15はNCCデック外
部記憶媒体NCTから読み取ってRAM13のNCデー
タ記憶域13aに転送記憶するNCデータ入力装置、1
6は操作盤、17は軸制御部である。
14 is a CRT 14a and a data input section (keyboard) 14
15 is an NC data input device that reads from the NCC deck external storage medium NCT and transfers and stores it in the NC data storage area 13a of the RAM 13;
6 is an operation panel, and 17 is an axis control section.

軸側加部17は図示しないがパルス補間器、各軸サーボ
回路等を有し、NCCデックよる通路制御時あるいはジ
ョグ送り釦の押圧による通路制御時においてプロセッサ
11より単位時間ΔT毎に該時間の間に移動すべき各軸
移動量ΔX、Δ2を入力され、該移動量ΔX、ΔZに基
づいて周知のパルス分配演算を行って分配パルスを発生
し、該分配パルスに基づいて各軸の移動制御を行う。
Although not shown, the shaft-side adding section 17 has a pulse interpolator, a servo circuit for each axis, etc., and when the path is controlled by the NCC deck or the path is controlled by pressing the jog feed button, the processor 11 calculates the amount of time per unit time ΔT. The amount of movement ΔX and Δ2 of each axis to be moved in between is input, a well-known pulse distribution calculation is performed based on the amount of movement ΔX and ΔZ to generate a distribution pulse, and the movement of each axis is controlled based on the distribution pulse. I do.

18はNC装置と工作機域の間のデータ授受を司どるイ
ンタフェース回路、19は工作機織である。
Reference numeral 18 is an interface circuit that controls data exchange between the NC device and the machine tool area, and 19 is a machine tool weave.

以下、第1図乃至第3図に従って本発明方法の処理を説
明する。
The processing of the method of the present invention will be explained below with reference to FIGS. 1 to 3.

(11まず、CRT&MD I装置14に設けたスイッ
チを操作して進入禁止領域入力モードにする。
(11 First, operate the switch provided on the CRT & MD I device 14 to enter the prohibited area input mode.

尚、該スイッチは操作盤16に設けてもよい。Note that the switch may be provided on the operation panel 16.

(2)これにより、プロセッサ11はCRT14aに進
入禁止領域を構成する各矩形領域の座標値を表示する。
(2) As a result, the processor 11 displays the coordinate values of each rectangular area constituting the prohibited area on the CRT 14a.

たとえば、RAM13の記憶域13bに進入禁止領域(
第1図のCHK参照)を矩形領域(EIN1〜EIN3
)に分割した時の各矩形領域を特定する対角コーナ(A
、B;C,D;  E、Flの座標値が記憶されていれ
ば、プロセッサ11は該座標値をRAM13から読み取
ってCRT&MDに表示する。ただし、RA M 13
に進入禁止領域を特定する座標値が記憶されていなけれ
ば何も表示しない。
For example, the storage area 13b of the RAM 13 is a prohibited area (
(See CHK in Figure 1) into a rectangular area (EIN1 to EIN3
), the diagonal corner (A
, B; C, D; E, Fl, the processor 11 reads the coordinate values from the RAM 13 and displays them on the CRT&MD. However, RAM 13
If the coordinate values specifying the prohibited area are not stored, nothing will be displayed.

尚、進入禁止領域の一部を修正する処理と新規に進入禁
止領域を設定する処理とCよ若干異なるが、以下におい
ては新規設定するものとして説明する。
Note that although the process of modifying a part of the prohibited area and the process of newly setting a prohibited area are slightly different from those in C, the following description will be made assuming that the new area is newly set.

(3)ついで、1−1とする。(3) Then, make it 1-1.

(4)シかる後、操作盤16上のモード切替スイッチを
用いてジョグ送りモードにし、±X軸あるいは±Z軸の
ジョグ送り釦を操作して工具をジ曹グ送りして、該工具
を進入禁止領域を構成する1つの矩形領域のコーナに位
置決めする。
(4) After the rotation, use the mode changeover switch on the operation panel 16 to set the jog feed mode, and operate the ±X-axis or ±Z-axis jog feed buttons to jog the tool. It is positioned at the corner of one rectangular area that constitutes the prohibited area.

尚、+X軸または−X軸のジョグ送り釦が押圧されると
プロセッサ11は次式 %式% により、ΔT秒間に移動すべき移動量ΔXを求める(た
だし、Fはジョグ送り速度である)。ついで、ΔXを軸
制御部17に入力して工具を士X軸方向に移動制御する
と共に、次式 %式% により工具現在位置を更新する。一方、+Z軸または−
Z軸のジョグ送り釦が押圧されろとプロセッサ11は次
式 %式% により、ΔT秒間に移動すべき移動量Δ2を求めろ。つ
いで、ΔZを軸制御部17に入力して工具を±Z軸方向
に移動制御すると共に、次式2式% により工具現在位置を更新する。尚、x、、、Z、、。
Note that when the +X-axis or -X-axis jog feed button is pressed, the processor 11 calculates the amount of movement ΔX to be moved in ΔT seconds using the following formula % (where F is the jog feed speed). Next, ΔX is input to the axis control unit 17 to control the movement of the tool in the X-axis direction, and the current position of the tool is updated using the following formula. On the other hand, +Z axis or -
When the Z-axis jog feed button is pressed, the processor 11 calculates the amount of movement Δ2 to be moved in ΔT seconds using the following formula %. Next, ΔZ is input to the axis control unit 17 to control the movement of the tool in the ±Z axis directions, and the current position of the tool is updated using the following formula 2 (%). Furthermore, x, , Z, .

ΔX、ΔZ等はRAM13の処理結果記憶域13Cに記
憶されろ。
ΔX, ΔZ, etc. are stored in the processing result storage area 13C of the RAM 13.

(5)工具を矩形領域の1つのコーナ位置に位置決めす
ればCRT&MD I装置14に設けた座標値設定キー
を押圧する。
(5) Once the tool is positioned at one corner of the rectangular area, the coordinate value setting key provided on the CRT&MD I device 14 is pressed.

(6)これにより、プロセッサ11(よ工具現在位置(
X、、 Z、)を進入禁止領域を構感する矩形領域にお
ける1つのコーナ部の座標値としてRAMl3の進入禁
止領域記憶域13bに記憶する。
(6) As a result, the processor 11 (the current tool position)
X, , Z, ) are stored in the prohibited area storage area 13b of the RAM 13 as the coordinate values of one corner in the rectangular area that constitutes the prohibited area.

(71ついで、プロセッサ11は!=2かどうかをチェ
ックする。
(71 Then, the processor 11 checks whether !=2.

(8)そして、l≠2(i=1)であればi + 1→
1とし、以後ステップ(4)以降の処理を繰り返す。
(8) Then, if l≠2 (i=1), i + 1→
1, and the processing from step (4) onwards is repeated.

(9)一方、1=2であれば1つの矩形領域が設定され
たことになり、以後設定すべき別の矩形領域が存在する
かどうかをチェックし、存在すれば該領域についてステ
ップ(3)以降の処理を繰り返し、存在しなければ処理
が完了する。
(9) On the other hand, if 1=2, it means that one rectangular area has been set, and it is checked whether there is another rectangular area to be set from now on, and if it exists, step (3) is performed for that area. The subsequent processing is repeated, and if it does not exist, the processing is completed.

以上では新規の進入禁止領域を設定する場合であったが
、既に設定しである進入禁止領域の一部を修正するには
ステップ(2)において各矩形領域の対角コーナの座標
値が表示されている状態において、カーソルで修正すべ
き矩形領域を特定し、しかる後前記方法で新t:なコー
ナ座標値を入力すればよい。
The above example deals with setting a new prohibited area, but in order to modify part of the already set prohibited area, the coordinate values of the diagonal corners of each rectangular area are displayed in step (2). In this state, use the cursor to specify the rectangular area to be modified, and then input the new t: corner coordinate value using the method described above.

〈発明の効果〉 以上本発明によれば、進入禁止領域を複数の矩形領域に
分割すると共に、工具をジョグ送りして各矩形領域の対
角コーナに位置決めし、その時の工具現在位置を記憶す
ることで進入禁止領域を設定するように構成したから、
簡単な方法で進入禁止領域を設定することができる。
<Effects of the Invention> According to the present invention, the prohibited area is divided into a plurality of rectangular areas, the tool is jog-fed to be positioned at a diagonal corner of each rectangular area, and the current position of the tool at that time is memorized. Because I configured it to set a no-entry area,
A prohibited area can be set in a simple way.

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

第1図は本発明の概略説明図、 第2図は本発明を実施するNC装置のブロック図、 第3図は本発明の処理の流れ図である。 TL・・工具、 CHK、CHK’  、、進入M Ih 領域、WK1
WK’  ・・ワーク、 EINI〜ETN3、EIN2’〜EIN3’・・・進
入禁止領域の分割領域、 特許出願人        ファナノク株式会社代理人
          弁理士  齋藤千幹第1図(B) ’Ej#I−E//VJ*E/A/1=EI/V3−m
−yf’AI”t−第2図
FIG. 1 is a schematic explanatory diagram of the present invention, FIG. 2 is a block diagram of an NC device implementing the present invention, and FIG. 3 is a flowchart of the processing of the present invention. TL...Tool, CHK, CHK',, approach M Ih area, WK1
WK'...Work, EINI~ETN3, EIN2'~EIN3'...Divided area of prohibited area, Patent applicant: Fananoku Co., Ltd. Agent, Patent attorney Chiki Saito Figure 1 (B) 'Ej#I-E //VJ*E/A/1=EI/V3-m
-yf'AI"t-Figure 2

Claims (1)

【特許請求の範囲】 可動物の進入禁止領域を設定しておき、可動物の現在位
置が前記進入禁止領域に進入した時アラームを出力する
数値制御装置における進入禁止領域設定方法において、 進入禁止領域を多数の矩形領域に分割し、 工具をジョグ送りにより各矩形領域の互いに対角する2
つのコーナ部に位置決めし、 その時の工具現在位置を記憶することにより進入禁止領
域を設定する ことを特徴とする進入禁止領域設定方法。
[Scope of Claims] A method for setting a prohibited area in a numerical control device, which sets a prohibited area for movable objects and outputs an alarm when the current position of the movable object enters the prohibited area. Divide the area into many rectangular areas, and jog the tool to move the two diagonal areas of each rectangular area.
A method for setting a prohibited area, the method comprising: setting a prohibited area by positioning the tool at two corners and storing the current position of the tool at that time.
JP15440786A 1986-07-01 1986-07-01 Setting method for entry inhibiting area Pending JPS6310208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15440786A JPS6310208A (en) 1986-07-01 1986-07-01 Setting method for entry inhibiting area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15440786A JPS6310208A (en) 1986-07-01 1986-07-01 Setting method for entry inhibiting area

Publications (1)

Publication Number Publication Date
JPS6310208A true JPS6310208A (en) 1988-01-16

Family

ID=15583474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15440786A Pending JPS6310208A (en) 1986-07-01 1986-07-01 Setting method for entry inhibiting area

Country Status (1)

Country Link
JP (1) JPS6310208A (en)

Similar Documents

Publication Publication Date Title
JP2933119B2 (en) Numerical control unit
EP0129092B1 (en) Numerical control device for use with a machine tool
JPH0384604A (en) Feed speed control method for numerical controller
JPS6085812A (en) Approaching method in zone machining
US4639855A (en) Tool display method for lathe equipped with numerical control unit
JPH022663B2 (en)
JPH11345011A (en) Method for nonlinearly displaying locus curve
JPS6310208A (en) Setting method for entry inhibiting area
WO1988006312A1 (en) Method of generating curved surfaces
JPS60180749A (en) Correction controlling method for machining reference point in numerically controlled lathe
JP2642203B2 (en) Numerical control information creation device
JPH01178394A (en) Laser beam machine for three dimensional shape
US5184294A (en) Apparatus for generating numerical control information for machining parts
JP2581535B2 (en) Machine tool coordinate system setting device
JPS63113607A (en) Setting method for machining condition
JPH02131835A (en) Numerical control device
JPH0440141B2 (en)
JPH08194516A (en) Interference prevention system for punch press
JPS60230205A (en) Numerical controlling system
JPH03156506A (en) Nc program generating method for interactive numerical controller or automatic programming device
JPS61178148A (en) Machining range specifying device for every machining process in automatic programming
JPH08147015A (en) Limit check system for cnc
JPH0358858B2 (en)
JPH05265532A (en) Method for setting limit data in numerical controller
JPS5998204A (en) Numerical controller