JPH01320502A - Concentric circle defining method - Google Patents

Concentric circle defining method

Info

Publication number
JPH01320502A
JPH01320502A JP15375588A JP15375588A JPH01320502A JP H01320502 A JPH01320502 A JP H01320502A JP 15375588 A JP15375588 A JP 15375588A JP 15375588 A JP15375588 A JP 15375588A JP H01320502 A JPH01320502 A JP H01320502A
Authority
JP
Japan
Prior art keywords
circle
concentric
radius
concentric circle
definition
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
JP15375588A
Other languages
Japanese (ja)
Inventor
Maki Seki
関 真樹
Takashi Takegahara
竹ケ原 隆史
Akira Kajitani
彰 梶谷
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 JP15375588A priority Critical patent/JPH01320502A/en
Publication of JPH01320502A publication Critical patent/JPH01320502A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To rapidly and easily perform the definition of a concentric circle by defining the concentric circle based on the code of a numeric value when the numeric value is designated with a defined concentric circle at the time of defining the concentric circle. CONSTITUTION:When the numeric value (r) is designated with a circle (defined circle) C0 which becomes an origin at the time of defining the concentric circle C1, the graphic of the concentric circle C1 with a radius larger than that of the defined concentric circle C0 by the numeric value (r) is defined when a positive code (+) is attached on the numeric value (r). When a negative code (-) is attached on the numeric value (r), the graphic of the concentric circle C1 with the radius smaller than that of the defined circle C0 by the numeric value (r) is defined. Also, when no code is attached on the numeric value (r), the circle C1 concentric to the defined circle C0 with the radius of numeric value (r) is defined.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は同心円定義方法に係り、特に定義済みの円を用
いて同心の円を図形定義する同心円定義方法に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a concentric circle definition method, and more particularly to a concentric circle definition method for graphically defining concentric circles using predefined circles.

〈従来技術〉 APTやFA I) Tなどの自動プログラミング言語
を用いてNCデータを作成する自動プログラミングにお
いては。
<Prior art> In automatic programming that creates NC data using automatic programming languages such as APT and FA I).

(a)fl単な記号を用いて点、直線、内張を定義する
と共に(図形定義)、これら定義された点、直線9円弧
を用いて工具通路を定義し5て(運動文定義)、自動プ
ログラミング言語によるパートプログラムを作成し。
(a) Define a point, straight line, and lining using a simple fl symbol (figure definition), and define a tool path using these defined points and a straight line and 9 circular arcs (motion statement definition). Create part programs using automatic programming language.

(b)シかる後、自動プログラミング言語によるパート
プログラムをNC装置が実行できる形式のNCデータ(
EIAコードあるいはISOコード)よりなるNCデー
タに変換する。
(b) NC data in a format that allows the NC device to execute a part program using an automatic programming language (
Convert to NC data consisting of EIA code or ISO code).

かかる自動プログラミングシステムの円の図形定義にお
いて、定義済みの円を用いて同心の円を図形定義する場
合がある。かかる場合において従来は、(1)半径差値
入力による同心円の定義と。
In the graphical definition of circles in such an automatic programming system, concentric circles may be graphically defined using predefined circles. In such cases, conventional methods include (1) defining concentric circles by inputting a radius difference value;

(2)半径値入力による同心円の定義との2種類の定義
方法があった、即ち、(]−)半半径値入力による同心
円の定義方法は、半径差値入力のモードにて、元になる
円と半径差及び該半径差の大小を指定する方法である。
(2) There were two ways to define concentric circles, one by inputting a radius value, and the other by inputting a (]-) half-radius value. This is a method of specifying a circle, a radius difference, and the size of the radius difference.

そして、第4図(a)に示すように半径が元になる円C
Oよりrl だけ大きい場合は、上記指定により定義文 CI =CO+ r 1 + I、 が作成されて同心円が図形定義され、第4図(b)に示
すように半径が元になる円COよりC2だけ小さい場合
は、上記指定により定義文 c2=co、r2+ S が作成されて同心円が図形定義される。尚、定義文にお
いてアルファベットrlJは大きいことを意味する修飾
語であり、「S」は小さいことを意味する修飾語である
。また、(2)半径値入力による同心円の定義は、半径
値入力のモードにて1元になる円と半径値を指定する方
法であり、第4図(c)に示すように半径値がC3で円
COと同心の円を定義する場合は、上記指定により定義
文C3=CO,C3 が作成されて同心円が図形定義される。
Then, as shown in Fig. 4(a), the radius is the original circle C
If rl is larger than O, the definition statement CI = CO + r 1 + I is created by the above specification, and the concentric circles are graphically defined, and as shown in Figure 4(b), the radius is smaller than the original circle CO by C2. If the above specification is smaller, the definition statement c2=co, r2+ S is created and the concentric circles are graphically defined. In the definition sentence, the alphabet rlJ is a modifier meaning large, and "S" is a modifier meaning small. (2) Defining concentric circles by inputting a radius value is a method of specifying a circle and a radius value that become one element in the radius value input mode, and as shown in Figure 4 (c), the radius value is C3. When defining a circle concentric with the circle CO, the definition statement C3=CO,C3 is created by the above specification, and the concentric circle is graphically defined.

〈発明が解決しようとしている課題〉 ところで、同心円の図形定義に際して、従来の方法では
、(1)半径差値入力による同心円と、(2)半径値入
力による同心円とが全く別のステートメントで定義され
ていた。また、従来の(1)。
<Problems to be Solved by the Invention> By the way, when defining the shape of concentric circles, in the conventional method, (1) concentric circles by inputting a radius difference value and (2) concentric circles by inputting a radius value are defined by completely different statements. was. Also, the conventional (1).

(2)の2つの同心円定義における操作は異なるもので
あり、(2)の半径値入力による同心円定義方法では1
元になる円よりも大きい円なのか小さい円なのかを指定
しなければならなかった。このために同心円の定義作業
が煩雑になるという問題があった。
The operations in the two concentric circle definitions in (2) are different, and in the concentric circle definition method by inputting the radius value in (2), 1
I had to specify whether the circle was larger or smaller than the original circle. This poses a problem in that the work of defining concentric circles becomes complicated.

以上から本発明の目的は同心円の定義作業が容易にかつ
迅速にできる同心円定義方法を提供することである。
From the above, it is an object of the present invention to provide a method for defining concentric circles that allows the work of defining concentric circles to be performed easily and quickly.

く課題を解決するための手段〉 第1図は本発明にかかる同心円定義方法の概略説明図で
ある。
Means for Solving the Problems> FIG. 1 is a schematic explanatory diagram of a concentric circle definition method according to the present invention.

C1は定義したい同心円、coは元となる円、rは数値
である。
C1 is the concentric circle to be defined, co is the source circle, and r is a numerical value.

〈作用〉 同心円C1の定義に際して、元になる円(定義済みの円
)COと共に数値rが指定された時、数値rに正の符号
子がついていれば、定義済みの円COの半径より該数値
rだけ大きい半径の同心円C1を図形定義しく第1図(
a))、数値rに負の符号−がついていれば、定義済み
の円COの半径より該数値rだけ小さい半径の同心円C
1を図形定義しく第1図(b))、数値rに符号が無け
れば、該数値rを半径値とする定義済みの円COと同心
の円C1を図形定義する(第1図(C))。
<Operation> When defining the concentric circle C1, when a numerical value r is specified together with the base circle (defined circle) CO, if the numerical value r has a positive sign, the radius of the defined circle CO is Figure 1 (
a)), if the numerical value r has a negative sign -, then the concentric circle C has a radius smaller than the radius of the defined circle CO by the numerical value r.
1 as a graphic definition (Figure 1 (b)), and if the numerical value r has no sign, define a circle C1 concentric with the defined circle CO whose radius value is the numerical value r (Figure 1 (C)). ).

〈実施例〉 第2図は本発明を実施する自動プログラミング装置のブ
ロック図である。
<Embodiment> FIG. 2 is a block diagram of an automatic programming device implementing the present invention.

11aはプロセッサ、llbはROM、llcは定義さ
れた図形要素や処理結果を記憶するRAM、12はグラ
フィックデイスプレィ装置、13はタブレット装置、1
4aはキーボード、14bはX−Yプロッタ、14cは
フロッピードライブ、FLはフロッピー、15は作成さ
れたNCデータを記憶するNCデータ記憶メモリである
11a is a processor, llb is a ROM, llc is a RAM for storing defined graphical elements and processing results, 12 is a graphic display device, 13 is a tablet device, 1
4a is a keyboard, 14b is an X-Y plotter, 14c is a floppy drive, FL is a floppy disk, and 15 is an NC data storage memory for storing created NC data.

タブレット装置13において、13dはタブレット面、
13bはメニュー表、 13cはタブレットカーソルで
ある。タブレット面13aにはメニュー表13bが貼り
付けられており、該メニュー表13bに書き込まれてい
る所定の項目をタブレットカーソル13Cでピックする
ことにより各種項目やデータを入力できるようになって
いる6尚、タブレットカーソル13cをタブレット面上
で移動させることにより、デイスプレィ画面上のグラフ
ィックカーソルGC8は移動するようになっている。
In the tablet device 13, 13d is a tablet surface;
13b is a menu table, and 13c is a tablet cursor. A menu table 13b is pasted on the tablet surface 13a, and various items and data can be input by picking predetermined items written on the menu table 13b with the tablet cursor 13C. By moving the tablet cursor 13c on the tablet surface, the graphic cursor GC8 on the display screen is moved.

第3図はメニュー表13bの要部説明図であり。FIG. 3 is an explanatory diagram of the main part of the menu table 13b.

1は「点・点群定義欄」、2は「直線定義層」、3は「
円定義欄」、4は「特殊形状定義411」、5は「形状
作成槽」、6は「図形文作成欄」であり。
1 is "point/point group definition field", 2 is "straight line definition layer", and 3 is "
4 is the "special shape definition 411," 5 is the "shape creation tank," and 6 is the "figure statement creation field."

「円定義欄」3の3aは「同心円定義」項目である。3a of the "Circle Definition Column" 3 is the "Concentric Circle Definition" item.

次に本発明にかかる同心円定義方法を説明する。Next, a concentric circle definition method according to the present invention will be explained.

尚、処理に先立ってフロッピーFLから図形を定義する
ためのシステムプログラム等をRAM11cに記憶する
Note that, prior to processing, a system program for defining a figure from the floppy FL is stored in the RAM 11c.

同心円の元になる円の図形をタブレット装置13゜キー
ボード14aを用いて直接座標入力を行うか。
Is it possible to directly input the coordinates of the shape of the circle that is the source of the concentric circles using the tablet device 13° keyboard 14a?

またはデイスプレィ画面CR’r北に描画されている図
形を引用して定義する。定義した図形は、RAM11c
に記憶されると共にデイスプレィ画面CRTに描画され
る。
Or define it by quoting the figure drawn on the north side of the display screen CR'r. The defined figure is stored in RAM11c
The data is stored in the memory and drawn on the display screen CRT.

元になる円を定義した状態から同心円を定義する場合、
オペレータは、第3図に示すメニュー表+3bの中から
「同心円定義」項目3aをビックする。すると、同心円
の元になる円の11(をうながす設問文が表示されると
共に、グラフィックカーソルGC8が画面上に呪われる
When defining concentric circles from the state where the original circle has been defined,
The operator selects the "Concentric Circle Definition" item 3a from the menu table +3b shown in FIG. Then, a question prompting the circle 11 (which is the source of the concentric circles) is displayed, and the graphic cursor GC8 is cursed on the screen.

そこで、オペレータは、同心円の元になる円CO(第2
図)にグラフィックカーソルGC8を合せてピックする
と、プロセッサIlaは同心円の半径を特定するための
数値を入力する設問文を表示する。
Therefore, the operator selects the circle CO (second
When the user places the graphic cursor GC8 on and picks it, the processor Ila displays a question for inputting a numerical value to specify the radius of a concentric circle.

ついで、オペレータは、半径rだけ大きい同心円を定義
する場合には「+r」を6半径rだけ小さい同心円を定
義する場合には「−r」を、半径rの同心円を定義する
場合には「r」を該設問文に応じてキーボード14aよ
り入力する。これにより、プロセッサllaは入力され
た数値rにIFの符号(+)がついていれば(第1図(
a))、元になる円COの半径r1.よりrだけ大きい
′4つ径(r、、+r)の同心円C1を定義文 C1=GO,+r    ・・・ (]−)により定義
してRAM11cに記憶する。
Next, the operator selects "+r" to define a concentric circle with a radius larger than r, "-r" to define a concentric circle smaller than six radii r, and "r" to define a concentric circle with radius r. ” is input from the keyboard 14a according to the question sentence. As a result, if the input numerical value r has an IF sign (+), the processor lla (see Fig. 1)
a)), radius r1 of the original circle CO. A concentric circle C1 having a radius (r, , +r) which is larger by r than the concentric circle C1 is defined by the definition statement C1=GO, +r . . . (]-) and is stored in the RAM 11c.

又、入力された数値rに負の符号(−)がついていれば
(第1図(b))、元になる円COの半径rOよりr・
だけ小さい半径(r、−p)の同心の円C1を定義文 C1=C0,−r    ・・・ (2)により定義し
てRAM11cに記憶する。
Also, if the input value r has a negative sign (-) (Fig. 1(b)), then r.
A concentric circle C1 with a smaller radius (r, -p) is defined by the definition statement C1=C0, -r (2) and stored in the RAM 11c.

更に、入力された数値rに符号が無ければ(第1図(e
))、該数値rを半径値とする円COと同心の円C1を
定義文 CI =GO,r      ・・・ (3)により定
義してRA M、 11 cに記憶する7尚、描画等そ
の他の図形処理に際しては、プロセッサllaは元とな
る円COの定義文と一ヒ記定義文(1)〜(3)とを用
いて、同心円の中心どその半径を求めて描画その他の図
形処理を行う。
Furthermore, if the input numerical value r has no sign (Fig. 1 (e
)), a circle C1 concentric with the circle CO whose radius value is the numerical value r is defined by the definition statement CI = GO, r... (3) and stored in RAM, 11 c. 7. In addition, drawing, etc. When performing graphical processing, the processor lla uses the definition statement of the source circle CO and the definition statements (1) to (3) described above to determine the radius of the center of the concentric circles and performs drawing and other graphical processing. conduct.

〈発明の効果〉 以上本発明によれば、同心円の定義に際して、定義済み
の円と共に数値が指定された時、該数値に正の符号がつ
いていれば、定義済みの円の半径より該数値だけ大きい
半径差の同心の円を図形定義し、該数値に負の符号がつ
いていれば、定義済みの円の半径より該数値だけ小さい
半径差の同心の円を図形定義し、該数値に符号が無けれ
ば、該数値を半径値とする航記定義済みの円と同心の円
を図形定義するように構成したから、同心円の定義がよ
り迅速にかつ容易にすることができ、結果的に図形定義
文を用いて作成されるNCデータの作成時間も短縮でき
る。
<Effects of the Invention> According to the present invention, when defining concentric circles, when a numerical value is specified together with a defined circle, if the numerical value has a positive sign, the radius of the defined circle is less than the radius of the defined circle. If a concentric circle with a large radius difference is graphically defined, and the numerical value has a negative sign, a concentric circle with a radius difference smaller than the radius of the defined circle by the numerical value is graphically defined, and the numerical value has a sign. If not, the configuration is configured to define a circle that is concentric with the circle that has been defined for navigation using the radius value, so the concentric circles can be defined more quickly and easily, and as a result, the shape can be defined. The creation time of NC data created using sentences can also be shortened.

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

第1図は本発明の概略説明図、 第2図は本発明を実施する自動プログラミング装置のブ
ロック図、 第3図は本発明のメニューの要部説明図、第4図は従来
例の説明図である。 11a・・プロセッサ、 11b・・ROM、 11c ・・RAM、 12 ・・グラフィックデイスプレィ装置、13 ・・
タブレット装置。 14a・・キーボード。 C1・・同心円、 CO・・元となる円 特許出願人        ファナック株式会社代理人
          弁理士  齋藤千幹第2図
Fig. 1 is a schematic explanatory diagram of the present invention, Fig. 2 is a block diagram of an automatic programming device implementing the present invention, Fig. 3 is an explanatory diagram of the main part of the menu of the present invention, and Fig. 4 is an explanatory diagram of a conventional example. It is. 11a...Processor, 11b...ROM, 11c...RAM, 12...Graphic display device, 13...
tablet device. 14a...Keyboard. C1...Concentric circles, CO...Original circle Patent applicant Chiki Saito, agent, patent attorney, FANUC Co., Ltd. Figure 2

Claims (1)

【特許請求の範囲】 同心円の定義に際して、定義済みの円と共に数値が指定
された時、該数値に正の符号がついていれば、定義済み
の円の半径より該数値だけ大きい半径差の同心の円を図
形定義し、 該数値に負の符号がついていれば、定義済みの円の半径
より該数値だけ小さい半径差の同心の円を図形定義し、 該数値に符号が無ければ、該数値を半径値とする前記定
義済みの円と同心の円を図形定義することを特徴とする
同心円定義方法。
[Claims] When defining a concentric circle, when a numerical value is specified together with a defined circle, if the numerical value has a positive sign, the radius difference between the concentric circles and the defined circle is larger than the radius of the defined circle by the numerical value. Define a circle as a shape, and if the number has a negative sign, define a concentric circle with a radius difference smaller than the radius of the defined circle by the number, and if the number has no sign, use the number. A concentric circle definition method characterized by graphically defining a circle concentric with the predefined circle used as a radius value.
JP15375588A 1988-06-22 1988-06-22 Concentric circle defining method Pending JPH01320502A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15375588A JPH01320502A (en) 1988-06-22 1988-06-22 Concentric circle defining method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15375588A JPH01320502A (en) 1988-06-22 1988-06-22 Concentric circle defining method

Publications (1)

Publication Number Publication Date
JPH01320502A true JPH01320502A (en) 1989-12-26

Family

ID=15569417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15375588A Pending JPH01320502A (en) 1988-06-22 1988-06-22 Concentric circle defining method

Country Status (1)

Country Link
JP (1) JPH01320502A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993014449A1 (en) * 1992-01-20 1993-07-22 Fanuc Ltd Machining program generation method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993014449A1 (en) * 1992-01-20 1993-07-22 Fanuc Ltd Machining program generation method
JPH05197411A (en) * 1992-01-20 1993-08-06 Fanuc Ltd Work program generation method

Similar Documents

Publication Publication Date Title
JPS59123008A (en) Forming method of part program
JPH01163803A (en) Combinational shape defining system
JPS62130405A (en) Nc data correction method
JPH01133112A (en) Graphic element correction system
JPH01320502A (en) Concentric circle defining method
JPH01200413A (en) Production of analogous part program
JPH01200412A (en) Statement inserting method
JPS6228828A (en) Tablet input information processor
JPH01316804A (en) Contour shape defining method
JPH10291183A (en) Robot language processing device
JPH03167625A (en) Menu display system
JPS63118820A (en) Menu display device
JPH01102605A (en) Contour form correcting method
JP2663967B2 (en) Information storage control method
JPH10222689A (en) Method for displaying graphic and device therefor and storage medium for storing graphic display program
JPS605320A (en) Menu appointing method and its device
JPH04320579A (en) Image processor
JPH01152511A (en) Graphic definition system in automatic programming
JPS61278909A (en) Interactive programming device
Kramer The off-line programming system (OLPS): a prototype STEP-based NC-program generator
JPH11212968A (en) Document processor and document processing method
JPH0317741A (en) Program production support device
JP2672940B2 (en) Document processing device
JPS63206808A (en) Automatic programming system
JPH0554086A (en) Drawing data extracting device