JPS62130404A - Nc data generation method - Google Patents

Nc data generation method

Info

Publication number
JPS62130404A
JPS62130404A JP27040485A JP27040485A JPS62130404A JP S62130404 A JPS62130404 A JP S62130404A JP 27040485 A JP27040485 A JP 27040485A JP 27040485 A JP27040485 A JP 27040485A JP S62130404 A JPS62130404 A JP S62130404A
Authority
JP
Japan
Prior art keywords
data
coordinate values
block
tablet
input
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
JP27040485A
Other languages
Japanese (ja)
Inventor
Maki Seki
関 真樹
Takashi Takegahara
竹ケ原 隆史
Toru Matsunaka
松中 透
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 JP27040485A priority Critical patent/JPS62130404A/en
Publication of JPS62130404A publication Critical patent/JPS62130404A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To shorten the NC data generation time by inputting coordinate values of one block through a tablet and other additional data through a menu table, etc. CONSTITUTION:An NC data generator is constructed of a processor 11a, a ROM 11b, a RAM 11c, a display device 12, the tablet 13, a keyboard 14, a disk controller 15 and a floppy 16. The tablet 13 is so constituted that the menu table 13c on which data items except for coordinate values are entered is placed on a tablet face 13a and data other than coordinate values can be inputted by instructing the prescribed data item on the table 13c. Thus positions on a drawing are inputted through a mouth 13d, and such discrimination is made whether additional data except for the position coordinate values is necessary or not. If so, the prescribed item on the menu table 13c is instructed, and data on the item is inputted. Accordingly NC data is generated from both inputs, and that procedure is repeated by one block, thereby generating aggregated NC data.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明はNCデータ作成方法に係り、特にタブレットで
座標値を入力してNCデータを作成するNCデータ作成
方法に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an NC data creation method, and particularly to an NC data creation method for creating NC data by inputting coordinate values with a tablet.

〈従来技術〉 タブレットを用いて座標値を入力してNCデータを作成
するNCデータ作成装置がある。かかるNCデータ作成
装置においては、タブレット上に設計図面を載置し、該
図面上の部品形状に沿って1ブロックづつ座標値を入力
し、これにより部品形状に沿って工具を移動させる通路
データを作成し、全通路データが作成された後キーボー
ド及びディスプレイ画面を用いてGコード、Mコード、
Fコード、Sコード等の座標値以外のデータを適所に挿
入して部品加工用のNCデータを作成してぃろ。尚、具
体的にはデータの追加はたとえば以下のように行われる
<Prior Art> There is an NC data creation device that creates NC data by inputting coordinate values using a tablet. In such an NC data creation device, a design drawing is placed on a tablet, and coordinate values are input block by block along the part shape on the drawing, thereby generating path data for moving the tool along the part shape. After all aisle data has been created, use the keyboard and display screen to enter the G code, M code,
Create NC data for parts machining by inserting data other than coordinate values such as F code and S code in appropriate places. Specifically, data is added as follows, for example.

すなわち、まずデータ修正モードにする。これにより、
以後キーボード上の入カキ−が押圧される毎にディスプ
レイ画面に通路軌跡が最初から1ブロックずつ描画され
、かつ該当ブロックのNCデータが表示される。従って
、入カキ−の操作により所定ブロックのNCデータが表
示されている状態において、追加キーより追加を指示し
、ついで追加データを入力し、しかる後入カキ−を押圧
すればデータが追加されると共に次のブロックのNCデ
ータが表示される。以後、上記操作を繰りこのように従
来のタブレットを用いたNCデータ作成方法では通路デ
ータを作成した後に、最初のブロックから1ブロックづ
つ軌跡とNCデータをCRTに表示させ、該表示を見な
がらデータを追加すべきかどうかを判定し、追加すべき
であれば該データを追加するようにしている。このため
、追加位置を探し出す作業が面倒であり、全体のNCデ
ータが出来あがる迄に相当の時間がかがるという問題が
ある。
That is, first set the data correction mode. This results in
Thereafter, each time the input key on the keyboard is pressed, the path locus is drawn one block at a time from the beginning on the display screen, and the NC data of the corresponding block is displayed. Therefore, when the NC data of a predetermined block is displayed by operating the input key, instruct addition using the add key, then input additional data, and then press the input key to add data. At the same time, the NC data of the next block is displayed. Thereafter, the above operations are repeated, and after creating the path data in the conventional NC data creation method using a tablet, the trajectory and NC data are displayed on the CRT one block at a time starting from the first block, and the data is read while looking at the display. It is determined whether or not the data should be added, and if it should be added, the data is added. Therefore, there is a problem that searching for additional positions is troublesome and it takes a considerable amount of time to complete the entire NC data.

以上から本発明の目的は通路データと同時に座標値以外
のデータを入力でき、NCデータ作成時間を短縮できる
NCデータ作成方法を提供することである。
In light of the above, an object of the present invention is to provide an NC data creation method that allows data other than coordinate values to be input at the same time as path data, thereby shortening the NC data creation time.

く問題点を解決するための手段〉 第1図は本発明を適用できろNCデータ作成装置のブロ
ック図である。
Means for Solving Problems> FIG. 1 is a block diagram of an NC data creation device to which the present invention can be applied.

11aはプロセッサ、11bはROM、llcはRAM
、12はディスプレイ装置、13はタブレット、14は
キーボード、15はディスク制御装置、16は作成した
NCデータを記憶するフロッピー、16bはシステムプ
ログラムを記憶するフロッピー、17はテープパンチャ
である。
11a is a processor, 11b is a ROM, llc is a RAM
, 12 is a display device, 13 is a tablet, 14 is a keyboard, 15 is a disk controller, 16 is a floppy disk for storing created NC data, 16b is a floppy disk for storing a system program, and 17 is a tape puncher.

13aはタブレット面、13bは図面、13cはメニュ
ー表、13dはマウス(カーソル)である。
13a is a tablet surface, 13b is a drawing, 13c is a menu table, and 13d is a mouse (cursor).

く作用〉 座標値以外のデータ項目が記入されたメニュー表13c
をタブレット面13a上に載置し、該メニュー表上の所
定のデータ項目を指示してタブレット13から座標値以
外のデータを入力できるように構成する。又、切り替え
によりキーボードからも座標値以外のNCデータを入力
できるように構成する。
Function> Menu table 13c in which data items other than coordinate values are entered
is placed on the tablet surface 13a, and data other than coordinate values can be input from the tablet 13 by specifying a predetermined data item on the menu table. Further, the configuration is such that NC data other than coordinate values can be input from the keyboard by switching.

マウス13dを設計図面13bに描かれている部品形状
のポイントに位置させて1ブロック分の通路データ作成
に必要な座標値を入力する。しかる後、該ブロックに座
標値理外の追加データが必要かどうかを判別し、必要な
場合にはメニュー表13cの所定項目を指示して該項目
に対応するデータを入力する。尚、メニュー表130か
らデータを入力できない場合にはキーボード14に切り
替えて該キーボードから入力する。
The user positions the mouse 13d at a point of the part shape drawn on the design drawing 13b and inputs the coordinate values necessary to create passage data for one block. Thereafter, it is determined whether additional data other than coordinate values is required for the block, and if necessary, a predetermined item on the menu table 13c is designated and data corresponding to the item is input. Note that if data cannot be input from the menu table 130, the user switches to the keyboard 14 and inputs from the keyboard.

しかる後、これら入力されたデータを用いて1ブロック
分のNCデータを作成し、以後上記処理を1ブロックづ
つ繰り返して全体のNCデータを作成する。
Thereafter, one block's worth of NC data is created using these input data, and thereafter the above process is repeated one block at a time to create the entire NC data.

〈実施例〉 第1図は本発明を適用できるNCデータ作成装置のブロ
ック図である。
<Embodiment> FIG. 1 is a block diagram of an NC data creation device to which the present invention can be applied.

11aはプロセッサ、11bはROM、lieはRAM
、12はディスプレイ装置、13はタブレッl−114
はキーボード、15はディスク制御装置、16は作成し
たNCデータを記憶する70ツピー、16bはシステム
プログラムを記憶するフロッピー、17はテープパンチ
ャである。
11a is a processor, 11b is a ROM, lie is a RAM
, 12 is a display device, 13 is a tablet l-114
15 is a keyboard, 15 is a disk controller, 16 is a 70 disk drive for storing created NC data, 16b is a floppy disk for storing a system program, and 17 is a tape puncher.

タブレット面13a上には図面13bと、メニュー表1
3cが載置され、図面上の部品形状に沿ってマウス(カ
ーソル)13dを移動させることにより部品形状を入力
でき、又メニュー表に書き込まれている所定の項目をマ
ウス13dでピックすることにより座標値以外の各種デ
ータを入力できるようになっている。
On the tablet surface 13a there is a drawing 13b and a menu table 1.
3c is placed, and the shape of the part can be entered by moving the mouse (cursor) 13d along the part shape on the drawing, and the coordinates can be input by picking a predetermined item written in the menu table with the mouse 13d. It is possible to input various data other than values.

図面13bには、たと丸ば第2図実線に示すように直線
と円弧とからなる部品形状が作図されている。尚、点線
やポイントを示す記号Pi及び座標値ζよ後述する説明
の都合上付したものであり、図面には描画されてし)な
い。
In drawing 13b, a part shape consisting of a straight line and a circular arc is drawn as shown by the solid line in Fig. 2. It should be noted that the symbols Pi and coordinate values ζ indicating dotted lines and points are added for the convenience of explanation to be described later, and are not drawn in the drawings.

メニュー表13cはたとえば第1図に拡大して示すよう
にファンクション項目欄(メニュー選択、キーボード、
・・インプット)FAと座標値以外のデータ入力欄(G
oo、GOI、  ・・・M、S。
For example, the menu table 13c has function item columns (menu selection, keyboard,
・・Input) Data input field other than FA and coordinate values (G
oo, GOI, ...M, S.

T、F・・・、0〜9)DAを有している。メニュー表
13cを用いてデータを入力するには、たとえば パメ
ニュー選択″をマウス13dでピックした後、データ入
力欄の” G OO”をピックすれば早送りを示すGo
oが入力される。
T, F..., 0-9) has DA. To input data using the menu table 13c, for example, select "Pamenu Selection" with the mouse 13d, and then select "GOO" in the data entry field to select Go, which indicates fast forwarding.
o is input.

尚、キーボードからデータを入力するには″キーボード
′°をピックする。又、1ブロックのデータの入力が終
了すれば ″インプット゛′をピックする。
To input data from the keyboard, pick ``keyboard''. Also, when inputting one block of data is completed, pick ``input''.

以下本発明によるNCデータ作成の処理を説明する。The process of creating NC data according to the present invention will be described below.

(1)フロッピー16bをディスクドライブ16にセラ
l−t、て起動をかけ、ROMに記憶されているローデ
ィングプログラムの制御でNCデータ作成用のシステム
プログラムをRAM11cに記憶す・ろ。
(1) Start up the floppy 16b by inserting it into the disk drive 16, and store the system program for creating NC data in the RAM 11c under the control of the loading program stored in the ROM.

(2)システムプログラムの読み取りにより以降の処理
を選択させるための初期画面がCRTに表示されるから
、キーボードよりNCデータ作成に応じたメニュ一番号
を入力する。
(2) After reading the system program, an initial screen for selecting subsequent processing is displayed on the CRT, so input the menu number corresponding to the NC data creation from the keyboard.

(3)シかる後、図面のスケール、図面とCRT画面と
の位置関係、メニュー表の位置等を設定後NCデータ作
成処理を行う。尚、第2図の形状に加工するNCデータ
を作成するものとする。
(3) After the drawing, the scale of the drawing, the positional relationship between the drawing and the CRT screen, the position of the menu table, etc. are set, and then NC data creation processing is performed. It is assumed that NC data for processing into the shape shown in FIG. 2 is created.

(4)まず、座標系設定のためのNCデータを作成すべ
く座標系原点P (第2図参照)をマウス13dでピッ
クする。
(4) First, pick the coordinate system origin P (see FIG. 2) with the mouse 13d in order to create NC data for setting the coordinate system.

(5)シかる後、マウスでメニュー表13C上の″メニ
ュー選択″をピックし、ついで座標系設定のGコードで
ある’G92”をピックする。
(5) After selecting, use the mouse to pick "Menu Selection" on the menu table 13C, and then pick 'G92' which is the G code for coordinate system setting.

これにより、G92′″が入力されたことになる。尚、
メニュー表13cを用いて座標値以外のデータを入力で
きない場合には“キーボード”をピックしてキーボード
14からデータを入力する。
This means that G92''' has been input.
If data other than coordinate values cannot be input using the menu table 13c, select "Keyboard" and input data from the keyboard 14.

(6)以上により、1ブロックのNCデータに必要な全
データの入力が終了すれば“インプント″をピックする
(6) As described above, when all the data required for one block of NC data has been inputted, "impunto" is picked.

これにより、プロセッサllaは入力データより第1ブ
ロックのNCデータ G 92 X OY O* を生成してRAM11cのデータ記憶域に格納する。
As a result, the processor lla generates the first block of NC data G 92 X OY O* from the input data and stores it in the data storage area of the RAM 11c.

(7)シかる後、ポイントP1をピックし、ついで同様
に″メニュー選択″をピックして、順次G90.GOO
,G41をピックし、最後に′°インプット″ヲピック
すれば第2ブロックのNCデータ G90GOOG41X250.0Y550.O*が生成
されてRAM11cに記憶される。尚、GOOは位置決
め指令、G90はアブソリュート指令、G41は左側オ
フセット指令を示すGコードである。
(7) After selecting point P1, pick "Menu Selection" in the same way, and then select G90. G.O.O.
, G41, and finally '°input', the second block of NC data G90GOOG41X250.0Y550.O* is generated and stored in the RAM 11c. Note that GOO is a positioning command, G90 is an absolute command, and G41 is a G code indicating a left side offset command.

(8)ついで、ポイントP2をピックし、しかる後″メ
ニュー選択′°をピックしてGOI、F、1゜5.0を
ピ・ツクすれば第3ブロックのNCデータGOIY90
0.0F15(1 が生成される。
(8) Next, pick point P2, then pick ``menu selection'' and select GOI, F, 1°5.0, and the third block's NC data GOIY90
0.0F15(1 is generated.

(9)第3ブロックのNCデータ作成後にポイン)・P
3をピックして、″インプット″をピックすれば第4ブ
ロックのNCデータ X450.O* が生成されRAM11cに記憶されろ。尚、第4ブロッ
クでは座標値以外に必要なデータは存在しないからマウ
スでポイントP3をピックした後直ちに′°インプット
″をピックしている。
(9) Point after creating the third block NC data)・P
If you pick 3 and "input", you will get the 4th block of NC data X450. O* is generated and stored in the RAM 11c. Note that in the fourth block, since there is no necessary data other than the coordinate values, ``°input'' is picked immediately after picking point P3 with the mouse.

(10)第4ブロックのNCデータ作成後に、ポイン)
P34.P4をピックし、しかる後″メニュー選択′”
をピックし、ついでGO3をピックし、最後に “イン
プット′°をピックする。
(10) After creating the 4th block NC data, point)
P34. Pick P4 and then ``Menu selection''
Pick , then pick GO3, and finally pick “input’°.

円弧補間指令GO3の指令によりプロセッサ11aは3
つのポイントP3.P34.P4の座標値を用いて円弧
中心01の座標値を演算して第5ブロックのNCデータ GO3X500.0Y1150. Ol−600,0J
250.0*を生成してRAMに記憶する。尚、X、Y
に続く数値により円弧終点の座標値が示され、I、Jに
続く数値により円弧視点から円弧中心比の各軸距離が示
される。
According to the circular interpolation command GO3, the processor 11a
Two points P3. P34. The coordinate value of the arc center 01 is calculated using the coordinate value of P4, and the NC data of the fifth block is GO3X500.0Y1150. Ol-600,0J
250.0* is generated and stored in RAM. Furthermore, X, Y
The numerical values following I and J indicate the coordinate values of the arc end point, and the numerical values following I and J indicate the axis distance of the arc center ratio from the arc viewpoint.

以後同様な処理を繰り返すことにより部品加工に必要な
全NCデータが作成されることになる。
Thereafter, by repeating the same process, all the NC data necessary for parts machining will be created.

尚、第6ブロック以降のNCデータは GO2X900. I200. J150. *GOI
X700Y650* X250.0Y550.0* Go OG40XOYO* となる。
Note that the NC data from the 6th block onward is GO2X900. I200. J150. *GOI
X700Y650* X250.0Y550.0* Go OG40XOYO*.

以上本発明を要約すれば、 マウス13dを図面に描かれている部品形状のポイント
に位置させて1ブロック分の通路データ作成に必要な座
標値を入力する。
To summarize the present invention as described above, the mouse 13d is positioned at a point of the part shape drawn in the drawing, and the coordinate values necessary to create passage data for one block are input.

ついで、該ブロックに座標値以外の追加データが必要か
どうかを判別し、必要な場合にはメニュー表13cの所
定項目を指示して該項目に対応するデータを入力する。
Next, it is determined whether additional data other than coordinate values is required for the block, and if necessary, a predetermined item on the menu table 13c is designated and data corresponding to the item is input.

尚、メニュー表から追加データを入力できない場合には
キーボードに切り替えて該キーボードから入力する。
Note that if additional data cannot be input from the menu table, the user switches to the keyboard and inputs from the keyboard.

しかる後、これら入力された座標値及び追加データを用
いて1ブロック分のNCデータを作成する。
After that, one block of NC data is created using these input coordinate values and additional data.

以後上記処理を1ブロックづつ繰り返して全体のNCデ
ータを作成する。
Thereafter, the above process is repeated block by block to create the entire NC data.

〈発明の効果〉 以上本発明によれば、座標値以外のデータ項目が記入さ
れたメニューをタブレット上に載置し、該メニュー上の
所定のデータ項目を指示してタブレットから座標値以外
のデータを入力できるようにし、タブレットを用いて1
ブロック分の座標値を入力すると共に、座標値以外の追
加データが必要な場合にはメニュー表を用いであるいは
キーボードを用いて該座標値以外の追加データを入力し
、これら入力されたデータを用いて1ブロック分のNC
データを作成し、以後上記処理を1ブロックづつ繰り返
して全体のNCデータを作成するように構成したから、
通路データと同時に座標値以外のデータを入力でき、N
Cデータ作成時間を短縮することができる。
<Effects of the Invention> According to the present invention, a menu in which data items other than coordinate values are entered is placed on a tablet, and data other than coordinate values is read from the tablet by specifying a predetermined data item on the menu. 1 using a tablet.
In addition to inputting the coordinate values for the block, if additional data other than the coordinate values is required, use the menu table or keyboard to input additional data other than the coordinate values, and use these input data. NC for one block
The data is created, and the above process is repeated block by block to create the entire NC data.
Data other than coordinate values can be input at the same time as passage data, and N
C data creation time can be shortened.

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

第1図は本発明を適用できるNCデータ作成装置のブロ
ック図、 第2図は部品形状図である。 11a・・プロセッサ、 12・・ディスプレイ装置、 13・・タブレット、13b・・図面、13c・・メニ
ュー表、13d・・マウス、14・・キーボード、 特許出願人        ファナック株式会社代理人
          弁理士  齋藤千幹第1図
FIG. 1 is a block diagram of an NC data creation device to which the present invention can be applied, and FIG. 2 is a part shape diagram. 11a...Processor, 12...Display device, 13...Tablet, 13b...Drawing, 13c...Menu table, 13d...Mouse, 14...Keyboard, Patent applicant Chiki Saito, Patent attorney representing FANUC Co., Ltd. Figure 1

Claims (2)

【特許請求の範囲】[Claims] (1)タブレットで座標値を入力してNCデータを作成
するNCデータ作成方法において、 座標値以外のデータ項目が記入されたメニューをタブレ
ット上に載置し、該メニュー上の所定のデータ項目を指
示してタブレットから座標値以外のデータを入力できる
ように構成し、 タブレットを用いて1ブロック分の座標値を入力すると
共に、 座標値以外の追加データが必要な場合にはメニュー表を
用いて該座標値以外の追加データを入力し、 これら入力されたデータを用いて1ブロック分のNCデ
ータを作成し、 以後上記処理を1ブロックづつ繰り返して全体のNCデ
ータを作成することを特徴とするNCデータ作成方法。
(1) In the NC data creation method in which NC data is created by inputting coordinate values on a tablet, a menu in which data items other than coordinate values are entered is placed on the tablet, and the prescribed data items on the menu are The system is configured so that data other than coordinate values can be input from the tablet when instructed, and the coordinate values for one block can be input using the tablet, and if additional data other than the coordinate values is required, the menu table can be used to input data. It is characterized by inputting additional data other than the coordinate values, creating one block of NC data using these input data, and then repeating the above process one block at a time to create the entire NC data. How to create NC data.
(2)座標値以外のデータをメニュー表を用いて入力で
きない場合にはキーボードから入力することを特徴とす
る特許請求の範囲第(1)項記載のNCデータ作成方法
(2) The NC data creation method according to claim (1), characterized in that if data other than coordinate values cannot be entered using a menu table, the data is entered from a keyboard.
JP27040485A 1985-11-30 1985-11-30 Nc data generation method Pending JPS62130404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27040485A JPS62130404A (en) 1985-11-30 1985-11-30 Nc data generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27040485A JPS62130404A (en) 1985-11-30 1985-11-30 Nc data generation method

Publications (1)

Publication Number Publication Date
JPS62130404A true JPS62130404A (en) 1987-06-12

Family

ID=17485788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27040485A Pending JPS62130404A (en) 1985-11-30 1985-11-30 Nc data generation method

Country Status (1)

Country Link
JP (1) JPS62130404A (en)

Similar Documents

Publication Publication Date Title
JPS62130405A (en) Nc data correction method
JPS59173804A (en) Automatic programming method
WO1989006006A1 (en) Method od defining combination profile
JPH01200413A (en) Production of analogous part program
JPS5825872A (en) Controller for robot
JPS62130404A (en) Nc data generation method
JPH01200412A (en) Statement inserting method
JPH01316804A (en) Contour shape defining method
JPS63118820A (en) Menu display device
JPH10291183A (en) Robot language processing device
JPH01307805A (en) Working data editing device
JPH053002B2 (en)
JPS6330976A (en) Macrocommand editing system
JPH06202906A (en) Nc program editing device
JPS62256104A (en) Nc data producing device for numerical control
JPH01209518A (en) Command canceling system
JPH01320502A (en) Concentric circle defining method
JP3283055B2 (en) Program editing device
JPH0259803A (en) Inserting method for form of corner part
JPS63292306A (en) Nc command information generating device
JPS61233809A (en) Automatic programming generating device
JPH04177409A (en) Tool locus display device
JPH06131023A (en) Nc data generating device
JPS62277287A (en) Off-line programming device for robot
JPH06149944A (en) Three-dimensional cad device