Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0234741B2 - NARAIRYOIKINOSOOTOHOHO - Google Patents
[go: Go Back, main page]

JPH0234741B2 - NARAIRYOIKINOSOOTOHOHO - Google Patents

NARAIRYOIKINOSOOTOHOHO

Info

Publication number
JPH0234741B2
JPH0234741B2 JP16146885A JP16146885A JPH0234741B2 JP H0234741 B2 JPH0234741 B2 JP H0234741B2 JP 16146885 A JP16146885 A JP 16146885A JP 16146885 A JP16146885 A JP 16146885A JP H0234741 B2 JPH0234741 B2 JP H0234741B2
Authority
JP
Japan
Prior art keywords
point
points
copying
potential line
vector
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.)
Expired - Lifetime
Application number
JP16146885A
Other languages
Japanese (ja)
Other versions
JPS6224949A (en
Inventor
Shunichi 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.)
Okuma Corp
Original Assignee
Okuma Machinery Works Ltd
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 Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP16146885A priority Critical patent/JPH0234741B2/en
Publication of JPS6224949A publication Critical patent/JPS6224949A/en
Publication of JPH0234741B2 publication Critical patent/JPH0234741B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Machine Tool Copy Controls (AREA)
  • Numerical Control (AREA)
  • Processing Or Creating Images (AREA)

Description

【発明の詳細な説明】 (発明の技術分野) この発明は、倣い制御装置における倣い領域の
ソート方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field of the Invention) The present invention relates to a method for sorting scanning areas in a scanning control device.

(発明の技術的背景とその問題点) 最近、倣い装置にモデル形状を倣わせ、倣つた
形状どおりに、工作機械にワークを加工させる倣
い制御装置において、プログラムを用いて倣い工
程を行なわせる倣い制御装置が広く使われるよう
になつてきている。
(Technical background of the invention and its problems) Recently, in a copying control device that causes a copying device to copy a model shape and causes a machine tool to process a workpiece according to the copied shape, a copying control device that uses a program to perform the copying process has been developed. Control devices are becoming widely used.

第6図は、この倣い制御装置の一例を示すブロ
ツク構成図であり、倣いモード制御部2は、操作
盤1Aから入力される指令やデータ、又は倣いプ
ログラム記憶部1Bに記憶されている倣いプログ
ラムを読込み、この指令又は倣いプログラムに指
令されているデータワードを解析し、倣いモー
ド、倣いパラメータ、倣いリミツトなどの各指令
及びデータを読込む。ここにおいて、倣いモード
とは倣い方法の種類(パターン)を示すもので、
(イ)手動/NTC倣い、(ロ)表面往復倣い、(ハ)表面一
方向倣い、(ニ)輪郭全周倣い、(ホ)輪郭分倣い、(ヘ)3
次元倣い、(ト)荒取りドリルサイクル、(チ)荒取りフ
ライスサイクル、(リ)位置計測サイクルなどがあ
り、この各モードに関するデータは図示しない倣
いモード記憶部に記憶されている。また、倣いパ
ラメータとは倣い速度、ピツクフイード速度等の
倣いデータや倣い領域の種類を示すもので、この
倣い領域の種類としては、モデル形状に応じて、
第9図A及びBに示すように、(A)直線倣い領域、
及び放射線の中心点PPから放射される(B)放射倣
い領域などがあり、これらのデータは倣いパラメ
ータ記憶部3に記憶されている。また、倣いリミ
ツトとは倣い領域の範囲を示すもので、第7図A
及びBに示すように、(i)右側領域リミツトLr、
(ii)左側領域リミツトLl、(iii)外側領域リミツトLo、
(iv)内側領域リミツトLiなどがあり、このデータは
倣いリミツト記憶部4に記憶され、上記各データ
は必要時に読出されて指令されるようになつてい
る。ここにおいて、上記倣いリミツトは、通常、
装置の水平面上の直交する2軸(X−Y軸)に平
行な直線が使用されるが、モデルの形状によつて
は無駄な倣い領域が多くなるため、目的の倣い領
域に合わせて導電テープ等のハード電位線が使用
されたり、又は、第9図A,Bに示すような複数
個の点を順に設定し、この点列に順に結ぶソフト
電位線が使用され、モデル形状に応じて最適に設
定されるようになつている。そして、このソフト
電位線は、第9図Aに示すような直線倣い領域の
倣いリミツトLr,Llを指定する直線形電位線と、
同図Bに示すような放射倣い領域の倣いリミツト
Lo,Liを指定する回転形電位線とがあり、それ
ぞれ上記倣いリミツト記憶部4の直線形電位線記
憶部4A及び回転形電位線記憶部4Bに記憶さ
れ、倣い領域に応じて使用されている。
FIG. 6 is a block configuration diagram showing an example of this copying control device, and the copying mode control section 2 receives commands and data input from the operation panel 1A, or a copying program stored in the copying program storage section 1B. This command or the data word commanded by the copying program is analyzed, and each command and data such as copying mode, copying parameters, copying limit, etc. are read. Here, the copying mode indicates the type (pattern) of the copying method.
(B) Manual/NTC copying, (B) Surface reciprocating copying, (C) Surface unidirectional copying, (d) Contour full circumference copying, (E) Contour copying, (F) 3
There are dimensional copying, (g) rough cutting drill cycle, (h) rough cutting milling cycle, (li) position measurement cycle, etc., and data regarding each mode is stored in a copying mode storage unit (not shown). In addition, the scanning parameters indicate scanning data such as scanning speed and pick feed speed, as well as the type of scanning area.
As shown in FIGS. 9A and B, (A) straight line tracing area;
and (B) radiation tracing area radiated from the center point PP of the radiation, and these data are stored in the tracing parameter storage unit 3. In addition, the copying limit indicates the range of the copying area, as shown in Figure 7A.
As shown in and B, (i) right area limit Lr,
(ii) Left area limit Ll, (iii) Outer area limit Lo,
(iv) There is an inner region limit Li, etc., and this data is stored in the scanning limit storage section 4, and each of the above data is read out and commanded when necessary. Here, the above copying limit is usually
Straight lines parallel to the two orthogonal axes (X-Y axes) on the horizontal plane of the device are used, but depending on the shape of the model, there may be a lot of wasted scanning area, so conductive tape is used to match the desired scanning area. A hard potential line such as the one shown in Fig. 9A and B is used, or a soft potential line is used that sequentially sets multiple points as shown in Fig. 9A and B and connects these points in order. It is now set to . This soft potential line is a linear potential line that specifies the scanning limits Lr and Ll of the linear scanning area as shown in FIG. 9A,
The scanning limit of the radial scanning area as shown in Figure B
There are rotating potential lines for specifying Lo and Li, which are stored in the linear potential line storage section 4A and the rotating potential line storage section 4B of the copying limit storage section 4, respectively, and are used depending on the copying area. .

そこで、上記倣いモード制御部2は、上記読込
んだ倣いモード、倣いパラメータ、倣いリミツト
の各指令に対応する各データを上記記憶部3及び
4からそれぞれ読込み、これらのデータをグラフ
イツク表示制御部6に送り、CRT表示装置60
に倣い領域を表示するとともに、オペレータが上
記CRT画面上に表示された倣い領域を確認して、
倣い運転実行信号SSをONすると、倣い装置7に
より倣い運転が実行されるようになつている。倣
い装置7は、周知のようにモデル74の表面に当
接するトレーサ70の先端(スタイラス)の変位
をアナログ電圧に変換して変位量検出部71で検
出し、倣い速度演算部72がこのアナログ電圧信
号を受けて上記倣いモード制御部2から指令され
た各倣いモードに対応する倣い指令に対して、上
記トレーサ先端70の変位量を一定にするように
駆動部73の動きを制御しながら、このモデルに
対して指令された倣い領域における形状と同形の
加工を図示していないワークに実施するものであ
る。
Therefore, the copying mode control section 2 reads respective data corresponding to the read commands of the copying mode, copying parameters, and copying limits from the storage sections 3 and 4, and displays these data in the graphic display control section 6. CRT display device 60
The area to be traced is displayed, and the operator confirms the area to be traced displayed on the above CRT screen.
When the copying operation execution signal SS is turned ON, the copying device 7 executes the copying operation. As is well known, the copying device 7 converts the displacement of the tip (stylus) of the tracer 70 in contact with the surface of the model 74 into an analog voltage and detects it with the displacement amount detection section 71, and the copying speed calculation section 72 converts the displacement of the tip (stylus) of the tracer 70 in contact with the surface of the model 74 into an analog voltage. While controlling the movement of the drive unit 73 so as to keep the displacement amount of the tracer tip 70 constant in response to a copying command corresponding to each copying mode commanded from the copying mode control unit 2 in response to the signal, This is to perform machining on a workpiece (not shown) in the same shape as the shape in the copying area instructed for the model.

ここにおいて、オペレータが、上記CRT画面
上に表示された倣い領域を目視確認して、更に、
倣いリミツトを細かく設定する必要があると確認
した場合は、倣い領域に応じて第7図Aに示すよ
うな点P8〜P10、又は、第8図Aに示すような点
P7〜P10を追加設定し、操作盤1Aから指令して
これらの点を整列し直し(ソート)、新たなソフ
ト電位線による倣いリミツトを設定し直す処理を
行なう。このソート処理は、たとえば、第8図A
に示すような直線形電位線の場合、設定されてい
る各点P1〜P6及び追加された各点P7〜P1
0の全点についてそのX座標値、又はY座標値
(たとえば、同図の場合X座標値)の大小を判別
し、この判別した座標値の順に整列し直して各点
を結べば、同図Bに示すような目的とする新たな
ソフト電位線が得られる。そして、上述のソート
処理は、第6図に示す倣い制御装置の直線形電位
線ソート制御部5Aにより制御されるようになつ
ている。
Here, the operator visually checks the copying area displayed on the CRT screen, and further
If it is confirmed that the copying limit needs to be set finely, set the points P 8 to P 10 as shown in Figure 7A or the points shown in Figure 8A depending on the copying area.
P 7 to P 10 are additionally set, these points are rearranged (sorted) by a command from the operation panel 1A, and the tracing limit is reset using a new soft potential line. This sorting process is performed, for example, in FIG.
In the case of a linear potential line as shown in , each set point P1 to P6 and each added point P7 to P1
If we determine the size of the X coordinate value or Y coordinate value (for example, the X coordinate value in the case of the same figure) for all points of 0, rearrange them in the order of the determined coordinate values, and connect each point, we can obtain the same figure. A new desired soft potential line as shown in B is obtained. The above-mentioned sorting process is controlled by a linear potential line sorting control section 5A of the copying control device shown in FIG.

ところが、第7図Aに示すような既に設定され
ている点P1〜P7を順に結ぶ回転形電位線に、
点P8〜P10を追加しソートして新しく回転形
電位線を設定したい場合、上述のように、たとえ
ば各点のX座標値の大小を判別し、上記直線形電
位線ソート制御部5Aを用いて順に整列し直すソ
ート処理を行なうと、同図Bに示すようになつて
しまい、目的とする新たなソフト電位線が得られ
ず、又、この処理をY座標値に関して行なつても
目的のソフト電位線が得られないという問題点が
ある。そこで、上述のような回転形電位線をソー
トしたい場合は、従来、第7図Aに示すような既
に設定されている点P1〜P7を結ぶ回転形電位
線と追加する点P8〜P10をCTR画面上に表
示し、オペレータが各点の座標値を確認しながら
各点を結ぶ順を判断し、点P1→P2→P3→P
8→P4→P9→P10→P5→P6→P7と指
示することにより、目的のソフト電位線を得る以
外に方法がなく、オペレータに多大な負担をかけ
るばかりでなく、追加する点が多い場合にはあま
りにもその負担が大きすぎ、多少無駄が発生して
も当初設定したままの領域で倣いを行なつてしま
うという問題点があつた。
However, in the rotating potential line that sequentially connects the already set points P1 to P7 as shown in FIG. 7A,
If you want to add and sort points P8 to P10 and set a new rotary potential line, as described above, for example, determine the magnitude of the X coordinate value of each point, and use the linear potential line sorting control unit 5A. If you perform the sorting process to rearrange them in order, the result will be as shown in Figure B, and you will not be able to obtain the desired new soft potential line.Also, even if you perform this process for the Y coordinate value, the desired soft potential line will not be obtained. There is a problem that a potential line cannot be obtained. Therefore, when you want to sort the rotating potential lines as described above, conventionally, as shown in FIG. displayed on the screen, the operator judges the order in which to connect each point while checking the coordinate values of each point, and connects the points P1 → P2 → P3 → P
By instructing 8→P4→P9→P10→P5→P6→P7, there is no other way to obtain the desired soft potential line, which not only places a great burden on the operator but also requires many additional points. The problem was that the burden was too great, and even if some waste occurred, copying would continue in the originally set area.

(発明の目的) この発明は、上述のような事情からなされたも
のであり、放射倣い領域の倣いリミツトを設定す
るソフト電位線に追加した新たな点をソートし
て、新しいソフト電位線を簡単に設定できる倣い
領域のソート方法を提供することにある。
(Objective of the Invention) This invention was made in view of the above-mentioned circumstances, and it is possible to easily create a new soft potential line by sorting new points added to the soft potential line for setting the scanning limit of the radial scanning area. The purpose of the present invention is to provide a method for sorting copying areas that can be set as follows.

(発明の概要) この発明は、モデル形状上における複数個の点
を順に結ぶ回転形電位線で予め指定されている倣
い領域を変更するために、新たな点を追加しソー
トして新しい回転形電位線を設定し直す場合に、
前記複数個の点により構成される回転形電位線の
内側に中心点を設定し、この中心点から前記複数
個の点のうち一点への方向を持つたベクトルと、
前記一点から前記追加した点への方向を持つたベ
クトルとのベクトル積を前記複数個の点の各点に
つき順に演算し、前記追加した点と前記ベクトル
積の正負が反転する二点とをそれぞれ結んで新し
い回転形電位線を設定し直すことにより倣い領域
をソートできるようにしたものである。
(Summary of the Invention) This invention adds new points and sorts them to create a new rotary shape in order to change the tracing area specified in advance by a rotary potential line that sequentially connects a plurality of points on a model shape. When resetting the potential line,
A vector having a center point set inside the rotating potential line formed by the plurality of points, and having a direction from this center point to one point among the plurality of points;
A vector product with a vector having a direction from the one point to the added point is calculated for each of the plurality of points in turn, and the added point and two points where the sign of the vector product is reversed are respectively calculated. By tying them together and resetting new rotating potential lines, the scanning areas can be sorted.

(発明の実施例) 第1図はこの発明の倣い領域のソート方法を実
施する倣い制御装置の一例を示すブロツク構成図
であり、同図において第6図と同一部材について
は同一符号を付してある。
(Embodiment of the Invention) FIG. 1 is a block configuration diagram showing an example of a scanning control device that implements the scanning area sorting method of the present invention, and in this figure, the same members as those in FIG. There is.

第1図において、上述の倣い制御装置に付加さ
れた回転形電位線ソート制御部5Bは、上述のよ
うな回転形電位線をソートして新しいソフト電位
線を設定する機能を有しており、以下にそのソー
ト方式について説明する。
In FIG. 1, a rotary potential line sorting control section 5B added to the above-mentioned copying control device has a function of sorting the above-mentioned rotary potential lines and setting new soft potential lines. The sorting method will be explained below.

第3図に示すように、既に設定されている点P
1,P2…Pi,…Pnを結ぶソフト電位線に点Pa
を追加し、この点Paを含めた新しいソフト電位
線をソートとする場合、便宜上たとえば、この点
P1〜Pnで構成される円弧形状の曲率のほぼ中
心に各点の順序が正しくソートされる位置に中心
点P0をオペレータが設定し、この中心点P0と既
設の点Piを結ぶベクトルPi―――→と、この既設

点Piと追加点Paを結ぶベクトルPia―――→を想定し

そのベクトル積Pi―――→×Pia―――→を求
める。ここ
において、中心点P0、既設点P1〜Po及び追加点
PaはX−Y平面の同一上にあるため、上記ベク
トル積Pi―――→×Pia―――→は、このX−
Y平面に直
交するZ軸に平行なベクトルとなる。そして、第
3図に示すように、この点PaがベクトルPi―――

の右側にある時はこのベクトル積はZ軸の負方向
を向き、この点PaがベクトルPi+1―――――→の
左側に
ある時はこのベクトル積Pi+1―――――→×Pi+1
a―――――→
はZ軸の正方向を向くベクトルとなることは周知
の如くである。そこで、この発明は、このベクト
ル積の計算を行ない、その値の正負を判別するこ
とにより点Paと点Piとの位置関係が判ることに着
目し、目的の倣い領域のソート処理をできるよう
にしたものである。
As shown in Figure 3, the point P that has already been set
Point P a on the soft potential line connecting 1, P2...Pi,...Pn
When adding , and sorting a new soft potential line that includes this point P a , for convenience, for example, the order of each point is correctly sorted to approximately the center of the curvature of the circular arc formed by these points P1 to Pn. The operator sets a center point P 0 at a position, and a vector P 0 P i -----→ that connects this center point P 0 and an existing point P i , and a vector that connects this existing point P i and an additional point P a . Assuming P i P a ---→,
The vector product P 0 P i ---→×P i P a ---→ is determined. Here, the center point P 0 , existing points P 1 to P o and additional points
Since P a is on the same plane as the X-Y plane, the above vector product P 0 P i ---→×P i P a ----→ is
It becomes a vector parallel to the Z axis orthogonal to the Y plane. Then, as shown in Fig. 3, this point P a is the vector P 0 P i ---

When it is on the right side of , this vector product points in the negative direction of the Z-axis, and when this point P a is on the left side of vector P 0 P i+1 ――――→, this vector product P 0 P i+ 1 ――――――→×P i+1
P a ――――――→
It is well known that is a vector pointing in the positive direction of the Z-axis. Therefore, this invention focuses on the fact that the positional relationship between points P a and P i can be determined by calculating this vector product and determining whether the value is positive or negative, and it is possible to sort the target scanning area. This is how it was done.

即ち、たとえば上記各点の座標をP0(x0、y0
o)、Pi(xi、yi、o)、Pi+1(xi+1、yi+1、o)、Pa
(xa、ya、o)とすると、そのベクトル積は以下
のようになる。
That is, for example, the coordinates of each point above are P 0 (x 0 , y 0 ,
o), P i (x i , y i , o), P i+1 (x i+1 , y i+1 , o), P a
Assuming (x a , y a , o), the vector product is as follows.

そして、上記(1)、(2)行列式を計すると、第3図
に示すような例の場合、 xi−x0 yi−y0 xa−xi ya−yi=(xi−x0)(ya−yi) −(xa−xi)(yi−y0)<0 ……(1)′ xi+1−x0 yi+1−y0 xa−xi+1 ya−yi+1=(xi+1−x0) (ya−yi+1) −(xa−xi+1) (yi+1−y0)>0 ……(2)′ となり、このベクトル積の行列式の値が負から正
に変わることにより、追加点Paが点Piと点Pi+1
間に位置することが判る。
Then, calculating the determinants (1) and (2) above, in the example shown in Figure 3, x i −x 0 y i −y 0 x a −x i y a −y i = (x i −x 0 )(y a −y i ) −(x a −x i )(y i −y 0 )<0 ……(1)′ x i+1 −x 0 y i+1 −y 0 x a −x i+1 y a −y i+1 = (x i+1 −x 0 ) (y a −y i+1 ) −(x a −x i+1 ) (y i+1 −y 0 ) > 0 ...(2)′, and the value of the determinant of this vector product changes from negative to positive, indicating that the additional point P a is located between the points P i and P i+1 .

ここにおいて、上記行列式(1)′又は(2)′の値が零
となる時、即ち、ベクトルPi―――→とベクトル
ia―――→が同一直線上で同一方向又は互いに逆方
向を向くベクトルである時も、上記行列式の値は
負から零に変わることになるから、上述のように
この追加点Paの位置が判別できることになる。
以上の動作を、第2図のフローチヤート及び第4
図の一実施例を参照して以下に説明する。
Here, when the value of the above determinant (1)' or (2)' becomes zero, that is, when the vector P 0 P i ---→ and the vector P i P a ---→ are on the same straight line and are the same Since the value of the determinant changes from negative to zero even when the vectors point in opposite directions or mutually opposite directions, the position of this additional point P a can be determined as described above.
The above operations are explained in the flowchart in Figure 2 and in Figure 4.
A description will be given below with reference to one embodiment of the drawings.

第4図Aに示すように、点P1〜P7が既に設定
され回転形電位線記憶部4Bに回転形電位線とし
て記憶されており、この回転形電位線に点P8
P10を追加するために、オペレータが回転形電位
線ソート制御部5Bにソートを指示すると、ま
ず、オペレータは上記中心点P0の座標を設定し
(ステツプS1)、次いで、この制御部5Bは追加
点の有無を確認する。そして、追加点Pa(P8)が
あれば(ステツプS2)、この追加点Pa(P8)の座
標値を読込み(ステツプS3)、上記読込んだ既設
点Piの始点P1の座標値を上記回転形電位線記憶部
4Bから読込み(ステツプS4)、ベクトル積P0Pi
×Pia―――→を計算する。(ステツプS5)そして、

述のようにこのベクトル積P0Pi×PiPaの行列式の
値であるか否か判断し、負であれば、(ステツプ
S6)、次の既設点Pi(P2)を読込む(ステツプ
S7)。ここにおいて、このPiが上記既設点Poを越
えていなければ(ステツプS8)、上記ステツプS5
に戻り上述の動作を繰返し、次々に点P1,P2
P3,…と繰返す。そして、第4図Aに示すよう
に、上記ステツプS7に点P4を読込み、上記ベク
トル積を計算し、その行列式の正負を判別する
と、上記ステツプS6において、その値が始めて
“正”となるため、この点Pi(P4)をPi+1(P5)と
なるように、以後の既設点の番号を“1”ずつ増
加して番号を付け換え(ステツプS10)、そして、
この追加点Pa(P8)をこのPi(P4)と置くことに
より(ステツプS11)。既設点P1〜P7に点P8を追
加した新しい回転形電位線が第4図Bに示す点
P1〜P8のように設定できることになる。
As shown in FIG. 4A, points P 1 to P 7 have already been set and stored as a rotating potential line in the rotating potential line storage section 4B, and points P 8 to P 7 are already set on this rotating potential line.
When the operator instructs the rotary potential line sort control unit 5B to sort in order to add P10 , the operator first sets the coordinates of the center point P0 (step S1), and then this control unit 5B Check whether there are additional points. Then, if there is an additional point P a (P 8 ) (step S2), the coordinate values of this additional point P a (P 8 ) are read (step S3), and the starting point P 1 of the existing point P i read above is The coordinate values are read from the rotating potential line storage section 4B (step S4), and the vector product P 0 P i
×P i P a ――→ is calculated. (Step S5) and
As mentioned above, it is determined whether it is the value of the determinant of this vector product P 0 P i ×P i P a , and if it is negative, (step
S6), read the next existing point P i (P 2 ) (step
S7). Here, if this P i does not exceed the above-mentioned existing point P o (step S8), the above-mentioned step S5
Return to point P 1 , P 2 , P 2 , and repeat the above operation one after another.
P 3 , ... and so on. Then, as shown in FIG. 4A, point P4 is read in step S7, the vector product is calculated, and the sign of the determinant is determined. In step S6, the value is determined to be "positive" for the first time. Therefore, the existing points are renumbered by incrementing them by "1" so that this point P i (P 4 ) becomes P i+1 (P 5 ) (step S10), and
By setting this additional point P a (P 8 ) to this P i (P 4 ) (step S11). The new rotating potential line with point P8 added to the existing points P1 to P7 is the point shown in Figure 4B.
This means that settings can be made like P 1 to P 8 .

そして、このようにして、1つの追加点P8
ソートして新しく設定し直した回転形電位線を上
記回転形電位記憶部4Bに設定し直し(ステツプ
S12)、上記ステツプS2に戻り、残りの追加点P9
P10について上述のような動作を繰返し、全追加
点のソートを完了し、第4図Cに示すような新し
い回転形電位線(点P1〜P10を結ぶ線)が設定で
きることになる。
Then, in this way, the one additional point P8 is sorted and the newly set rotating potential line is set again in the rotating potential storage section 4B (step
S12), return to step S2 above, and add the remaining additional points P 9 ,
The above-described operation is repeated for P10 to complete sorting of all additional points, and a new rotating potential line (line connecting points P1 to P10 ) as shown in FIG. 4C can be set.

上記ステツプS8において、次の既設点であるPi
が回転形電位線の終点Poを越えていれば、(i>
n)、この追加点Paはこの終点Poより外側にある
ことになり、この追加点Paを新たな終点Po+1とし
て(ステツプS9)、全追加点をソートできること
になる。
In step S8 above, the next existing point P i
If exceeds the end point P o of the rotating potential line, then (i>
n), this additional point P a is located outside this end point P o , and all additional points can be sorted by setting this additional point P a as a new end point P o+1 (step S9).

又、上記ステツプS6において、点Piが始点P1
の時に上記ベクトル積が“負”でなければ、この
追加点Paはこの始点P1より内側にあることにな
り、この追加点Paを新たな始点P1として上述の
ように全追加点をソートできることになる。
Also, in step S6 above, point P i is the starting point P 1
If the above vector product is not negative when This will allow you to sort.

(発明の変形例) 上述の実施例においては、中心点P0を便宜上、
既設点P1〜P7で構成される円弧形状の曲率のほ
ぼ中心に設定するようにしたが、この中心点P0
は、第5図に示すような例においても、既設点及
び追加点を含めて隣接する2点を互いに結ぶ全直
線P1P2,P2P3,…P6P7及びP7P1で囲まれる閉多
角形内(同図に斜線を付す)であればどこでもよ
く、この閉多角形内に任意に設定することができ
る。
(Modified example of the invention) In the above-mentioned embodiment, for convenience, the center point P 0 is
I tried to set it almost at the center of the curvature of the arc shape composed of the existing points P 1 to P 7 , but this center point P 0
Even in the example shown in Fig. 5, all straight lines P 1 P 2 , P 2 P 3 , ...P 6 P 7 and P 7 P 1 that connect two adjacent points including the existing point and the additional point are It may be anywhere within the closed polygon surrounded by (hatched in the figure), and can be set arbitrarily within this closed polygon.

又、上述の実施例において、既設の回転形電位
線に加えた追加点をソートする例に示したが、追
加点がある場合に限られることなく、最初に倣い
リミツトを回転形電位線で設定する場合にも、上
述のように中心点P0を設定すれば、自動的にソ
ートすることができる。
In addition, in the above embodiment, an example was shown in which additional points added to the existing rotary potential wire are sorted, but the scanning limit is not limited to the case where there are additional points, and the tracing limit is first set on the rotary potential wire. Even in this case, if the center point P 0 is set as described above, sorting can be performed automatically.

また、上述の実施例においてはソートする際に
点Piの番号が小さい方から大きい方に順にベクト
ル積を判別していつたが、この番号の大きい方か
ら小さい方に順に判別していつてもよい。
Furthermore, in the above embodiment, when sorting, vector products are determined in order from the smallest number of points P i to the largest number, but it is also possible to discriminate the vector products in order from the largest number to the smallest number. .

(発明の効果) 以上のように、この発明の倣い領域のソート方
法によれば、放射倣い領域の倣いリミツトを設定
するソフト電位線に新たな追加点を設定して倣い
リミツトを設定し直したい時、中心点を設定する
だけの簡単な操作で、新しい倣いリミツトを自動
的に設定し直すことができる。
(Effect of the Invention) As described above, according to the scanning area sorting method of the present invention, it is possible to set a new additional point on the soft potential line for setting the scanning limit of the radial scanning area and reset the scanning limit. At the same time, a new copying limit can be automatically reset by simply setting the center point.

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

第1図はこの発明を実施する倣い制御装置の一
例を示すブロツク図、第2図はこの発明の動作を
説明するフローチヤート、第3図、第4図A〜C
及び第5図はこの発明を説明する図、第6図は従
来の倣い制御装置の一例を示すブロツク構成図、
第7図A,B及び第8図A,Bは従来の倣い領域
のソート方法を説明する図、第9図A,Bは倣い
領域を説明する図である。 1A……操作盤、1B……プログラム記憶部、
2……倣いモード制御部、3……倣いパラメータ
記憶部、4……倣いリミツト記憶部、4A……直
線形電位線記憶部、4B……回転形電位線記憶
部、5A……直線形電位線制御部、5B……回転
形電位線制御部。
FIG. 1 is a block diagram showing an example of a copying control device implementing the present invention, FIG. 2 is a flowchart explaining the operation of the present invention, and FIGS. 3 and 4 A to C
and FIG. 5 is a diagram for explaining the present invention, and FIG. 6 is a block configuration diagram showing an example of a conventional copying control device.
7A and 8B and 8A and 8B are diagrams for explaining a conventional method of sorting scanning areas, and FIGS. 9A and 9B are diagrams for explaining scanning areas. 1A...Operation panel, 1B...Program storage unit,
2... Copying mode control section, 3... Copying parameter storage section, 4... Copying limit storage section, 4A... Linear potential line storage section, 4B... Rotating potential line storage section, 5A... Linear potential Line control unit, 5B...Rotary potential line control unit.

Claims (1)

【特許請求の範囲】[Claims] 1 モデル形状上における複数個の点を順に結ぶ
回転形電位線で予め指定されている倣い領域を変
更するために、新たな点を追加しソートして新し
い回転形電位線を設定し直す場合に、前記複数個
の点により構成される回転形電位線の内側に中心
点を設定し、この中心点から前記複数個の点のう
ち一点への方向を持つたベクトルと、前記一点か
ら前記追加した点への方向を持つたベクトルとの
ベクトル積を前記複数個の点の各点につき順に演
算し、前記追加した点と前記ベクトル積の正負が
反転する二点とをそれぞれ結んで新しい回転形電
位線を設定し直すようにしたことを特徴とする倣
い領域のソート方法。
1 In order to change the tracing area specified in advance by a rotating potential line that sequentially connects multiple points on the model shape, add new points, sort them, and reset the new rotating potential line. , a center point is set inside the rotating potential line formed by the plurality of points, and a vector having a direction from this center point to one of the plurality of points, and a vector from the one point to the added vector. A vector product with a vector having a direction to the point is calculated for each of the plurality of points in turn, and a new rotating potential is created by connecting the added point and two points where the sign of the vector product is reversed. A method for sorting tracing areas characterized by resetting lines.
JP16146885A 1985-07-22 1985-07-22 NARAIRYOIKINOSOOTOHOHO Expired - Lifetime JPH0234741B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16146885A JPH0234741B2 (en) 1985-07-22 1985-07-22 NARAIRYOIKINOSOOTOHOHO

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16146885A JPH0234741B2 (en) 1985-07-22 1985-07-22 NARAIRYOIKINOSOOTOHOHO

Publications (2)

Publication Number Publication Date
JPS6224949A JPS6224949A (en) 1987-02-02
JPH0234741B2 true JPH0234741B2 (en) 1990-08-06

Family

ID=15735669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16146885A Expired - Lifetime JPH0234741B2 (en) 1985-07-22 1985-07-22 NARAIRYOIKINOSOOTOHOHO

Country Status (1)

Country Link
JP (1) JPH0234741B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2601835B2 (en) * 1987-08-27 1997-04-16 ファナック株式会社 How to check software potential lines
JPH03184749A (en) * 1989-12-11 1991-08-12 Fanuc Ltd Profile controller for rotator

Also Published As

Publication number Publication date
JPS6224949A (en) 1987-02-02

Similar Documents

Publication Publication Date Title
KR890002005B1 (en) Process for graphically representing a variable structure in perspective
JP2716549B2 (en) How to simulate and display the processed product
JP2853355B2 (en) 3D graphic data generator
JPS63223804A (en) Automatic programming system
JP4046370B2 (en) 3D shape drawing method
US5815150A (en) Display apparatus
JPS61199892A (en) Stitch pattern input apparatus
JPH0234741B2 (en) NARAIRYOIKINOSOOTOHOHO
JPH0411886B2 (en)
JP3165249B2 (en) Motion locus creation device for welding robot
JPS63118820A (en) Menu display device
JPH04137108A (en) Robot offline teaching method
JP3226517B2 (en) NC data creation apparatus and method
JP2517553B2 (en) Robot offline teaching method
JP2854174B2 (en) Enlargement drawing method in numerical controller
JP2020069634A (en) Grinding program generation device, grinding program processor, and grinding program generation method
JPH0272413A (en) Program forming device for numeral controller
JPS61198305A (en) Program generating device for numerically controlled machine tool
JP2931421B2 (en) Simulation equipment
JPH053002B2 (en)
JPH1024372A (en) Device for teaching welding robot
JP2559081B2 (en) Teaching data creation method and device
JP2836281B2 (en) Data creation method for welding robot
EP0393844A2 (en) Data processing system with graphics capability
JPH0379146B2 (en)