JPH0322104A - Interactive type data input system - Google Patents

Interactive type data input system

Info

Publication number
JPH0322104A
JPH0322104A JP15728289A JP15728289A JPH0322104A JP H0322104 A JPH0322104 A JP H0322104A JP 15728289 A JP15728289 A JP 15728289A JP 15728289 A JP15728289 A JP 15728289A JP H0322104 A JPH0322104 A JP H0322104A
Authority
JP
Japan
Prior art keywords
data
range
input
input data
dmax
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
JP15728289A
Other languages
Japanese (ja)
Inventor
Naoki Fujita
直樹 藤田
Teruyuki Matsumura
松村 輝幸
Noritake Nagashima
範武 長島
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 JP15728289A priority Critical patent/JPH0322104A/en
Publication of JPH0322104A publication Critical patent/JPH0322104A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To prevent trouble such as the breakdown of a tool, etc., by a generated work program by changing automatically input data into a proper value when the input data to be within a definite range is inputted erroneously. CONSTITUTION:Generally, the length D of a screw part 3 has definite relation to Dh. Accordingly, when the depth Dh a prepared hole 2 is inputted, the length of the screw part 3 is determined so that, for instance, 0.8Dh is a maximum value Dmax and 0.5Dh is a minimum value Dmin. Next, if a numerical value data-inputted by an operator lies in the range of Dmax to Dmin, this numerical value becomes effective as the data of the work program as it is. If it is larger than this maximum value Dmax, Dmax is made effective data, and if it is smaller than the minimum value Dmin, the minimum value Dmin is made the effective data. Thus, the length of the screw part 3 never exceeds the depth Dh of the prepared hole 2, and the dangerousness of the breakdown of a tapping tool is eliminated as well.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は対話形式で加工プログラムを作成する対話型デ
ータ入力方式に関し、特に入力データを自動的に適正な
値とする対話型データ入力方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an interactive data input method for creating a machining program in an interactive format, and particularly relates to an interactive data input method for automatically converting input data to appropriate values. .

〔従来の技術〕[Conventional technology]

現在、数値制御装置での加工プログラムはグラフィック
表示機能を有する対話形式の加工プログラム作成方法が
広く採用されている。この加工プログラム作成方法では
、ワーク座標の選択、素材形状の選択等を数値制御装置
の表示画面からの設問に従って、入力して行けば自動的
に加工プログラムが作成されていく。また、加工形状は
直線、あるいは円弧等の形状要素キーを使用して入力し
ていく。
Currently, an interactive machining program creation method having a graphic display function is widely used for machining programs in numerical control devices. In this machining program creation method, a machining program is automatically created by inputting selections of workpiece coordinates, material shape, etc. according to questions on the display screen of the numerical control device. Further, the machining shape is input using shape element keys such as a straight line or a circular arc.

これに対し、加工形状の寸法等は数値データを入力する
必要がある。これらの数値データは他の入力データと無
関係のものもあるが、多くの入力データは他の入力デー
タ等と何らかの関係がある。
On the other hand, it is necessary to input numerical data for the dimensions of the machined shape, etc. Although some of these numerical data are unrelated to other input data, many input data have some kind of relationship with other input data.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、これらの入力データに関してはそのまま有効な
入力データとして、加工プログラムに組み込んでいる。
However, these input data are incorporated into the machining program as valid input data.

このため、他の入力データ等によって制約される入力デ
ータを誤って入力すると、当然工具の破損等を招く危険
性が高い。
Therefore, if input data that is restricted by other input data is incorrectly input, there is naturally a high risk of damage to the tool.

このため、これらの入力データは数値制御装置側で内部
的にデータ入力時にチェックする必要がある。一方、タ
ッピング加工における下穴の深さと、ネジ部の長さ等で
は、入力データの範囲は相当限定されたものとなる。
Therefore, it is necessary to check these input data internally on the numerical control device side at the time of data input. On the other hand, the range of input data is considerably limited depending on the depth of the pilot hole in tapping, the length of the threaded part, etc.

本発明はこのような点に鑑みてなされたものであり、入
力データを自動的に適正な値として加工プログラムに組
み入れることのできる対話型デー夕入力方式を提供する
ことを目的とする。
The present invention has been made in view of these points, and it is an object of the present invention to provide an interactive data input method that can automatically incorporate input data into a machining program as appropriate values.

〔課題を解決するための手段〕[Means to solve the problem]

本発明では上記課題を解決するために、対話形式で加工
プログラムを作成する対話型データ入力方式において、
入力データの範囲を決定し、入力データが前記範囲内な
ら、そのまま格納し、前記入力データが前記範囲より大
きいときは、前記範囲の最大値を入力データとし、前記
入力データが前記範囲より小さいときは、前記範囲の最
小値を入力データとし、入力データを決定することを特
徴とする対話型データ入力方式が、提供される。
In order to solve the above problems, the present invention provides an interactive data input method for creating a machining program in an interactive format.
Determine the range of input data, if the input data is within the range, store it as is, if the input data is larger than the range, use the maximum value of the range as input data, if the input data is smaller than the range provides an interactive data input method characterized in that input data is determined by using the minimum value of the range as input data.

〔作用〕[Effect]

入力データの範囲を先に入力されたデータ等から決定し
、その範囲を越えたら、最大値あるいは最小値として格
納する。これによって、工具の破損等を生じるような加
工プログラムを回避することができる。
The range of input data is determined from the previously input data, etc., and if the range is exceeded, it is stored as the maximum or minimum value. This makes it possible to avoid machining programs that would cause damage to the tool.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第2図は本発明の一実施例のタッピング加工の対話型プ
ログラム作戊の説明図である。対話型の数値制御装置で
の加工プログラムの作戊では、素材形状、素材の材質等
を選択し、タッピング加工を選択すると、下穴2の寸法
を入力させる設問が現れ、オペレータは下穴2の寸法D
hを入力する。
FIG. 2 is an explanatory diagram of creating an interactive program for tapping according to an embodiment of the present invention. When creating a machining program using an interactive numerical control device, select the material shape, material, etc., and select tapping machining. A question will appear asking you to enter the dimensions of pilot hole 2. Dimension D
Enter h.

次にネジ部3の長さDを入力させるための設問が表示さ
れ、入力データDを入力すると、第2図のように、ワー
ク1の加工形状が表示され、入力データが加工プログラ
ムに組み込まれていく。
Next, a question for inputting the length D of the threaded portion 3 is displayed, and when input data D is input, the machining shape of the workpiece 1 is displayed as shown in Figure 2, and the input data is incorporated into the machining program. To go.

ここで、ネジ部3の長さDは一般にDhと一定の関係に
ある。従って、下穴2の深さDhが入力されたら、例え
ば、0.8Dhを最大値Dmaxとし、0.5Dhを最
小値Dminとして、ネジ部3の長さを決定するものと
する。勿論このような数値は単なる例であり、対話型数
値制御装置のシステムプログラムで、任意に決定するこ
とができる。また、パラメータとして与えるように構成
することもできる。
Here, the length D of the threaded portion 3 generally has a constant relationship with Dh. Therefore, when the depth Dh of the pilot hole 2 is input, the length of the threaded portion 3 is determined, for example, by setting 0.8Dh as the maximum value Dmax and setting 0.5Dh as the minimum value Dmin. Of course, such numerical values are merely examples, and can be arbitrarily determined using the system program of the interactive numerical control device. It can also be configured to be given as a parameter.

次にオペレータがデータ入力した数値がDmaxzDm
inの範囲にあれば、その数値がそのまま加工プログラ
ムのデータとして有効になる。もし、この最大値Dma
xより大きければ、DmaXを有効なデータとし、逆に
最小値Dminより小さければ、最小値Dminを有効
なデータとする。従って、ネジ部3の長さDが下穴2の
深さDhを越えることはなく、タッピング工具が破損す
る危険性も除去される。
Next, the numerical value entered by the operator is DmaxzDm
If it is within the range of in, the value is valid as it is as data for the machining program. If this maximum value Dma
If it is larger than x, DmaX is regarded as valid data, and conversely, if it is smaller than minimum value Dmin, minimum value Dmin is regarded as valid data. Therefore, the length D of the threaded portion 3 does not exceed the depth Dh of the prepared hole 2, and the risk of damaging the tapping tool is also eliminated.

第1図は本発明の対話型データ入力方式の処理の流れを
示すフローチャートである。図において、Sに続く数値
はステップ番号を示す。
FIG. 1 is a flowchart showing the processing flow of the interactive data input method of the present invention. In the figure, the number following S indicates the step number.

〔S1〕設問の指示に従って、下穴2のデータDhを入
力する。
[S1] Input the data Dh of the pilot hole 2 according to the instructions in the question.

〔S2〕次のデータ入力範囲、すなわちネジ部3の長さ
Dmax−Dminを決定する。上記の例では0.8D
h〜0.5Dhである。
[S2] Determine the next data input range, that is, the length Dmax-Dmin of the threaded portion 3. In the above example 0.8D
h~0.5Dh.

〔S3〕新しい設問、すなわちネジ部3の長さを入力す
る設問を表示する。
[S3] A new question, ie, a question for inputting the length of the threaded portion 3, is displayed.

〔S4〕オペレータはネジ部3の長さDiを入力する。[S4] The operator inputs the length Di of the threaded portion 3.

〔S5]人カデータDiが、 Dmax≧Di≧Dmin を満足するか調べ、満足すればそのデータを有効とする
。満足しなければ、S6に進む。
[S5] Check whether the human capacity data Di satisfies Dmax≧Di≧Dmin, and if satisfied, the data is made valid. If not satisfied, proceed to S6.

(S6]DiがDmaxより大きいか調べ、大きければ
S7へ進み、そうでなければS8へ進む。
(S6) Check whether Di is larger than Dmax, and if so, proceed to S7; otherwise, proceed to S8.

〔S7〕データ入力Dlが最大値Dmaxを越えている
ので、Dmaxを有効な値として加工プログラムに組み
入れる。
[S7] Since the data input Dl exceeds the maximum value Dmax, Dmax is incorporated into the machining program as a valid value.

〔S8〕データ入力Diが範囲外で、最大値Dmaxを
越えていないので、Dminより小さいことになるので
、Dminを有効な値として加工プログラムに組み入れ
る。
[S8] Since the data input Di is outside the range and does not exceed the maximum value Dmax, it is smaller than Dmin, so Dmin is incorporated into the machining program as a valid value.

このように、ある範囲が決められた入力データは誤って
データ入力されても適正な範囲の数値に置き換えて加工
プログラムを作成していく。勿論、このような入力デー
タの置換と同時にその旨のメッセージ等を同時に表示す
ることも有効である。
In this way, even if input data in a certain range is erroneously input, the machining program is created by replacing it with numerical values in the appropriate range. Of course, it is also effective to display a message to that effect at the same time as replacing the input data.

上記の例では、タッピング加工における下穴とネジ部の
長さを例に説明したが、このような例に限定されること
なく、一定の範囲であるべき入力データ、例えば下穴と
リーマ加工の長さ、2段穴の加工、面取り加工等にも適
用できる。
In the above example, the length of the pilot hole and thread part in tapping processing was explained as an example, but the input data that should be within a certain range, such as the length of the pilot hole and reaming processing, is not limited to this example. It can also be applied to length, double hole machining, chamfering, etc.

第3図は本発明を実施するための数値制御装置のハード
ウエアの概略構或図である。プロセッサl1はROM1
2に格納されたシステムプログラムに従って数値制御装
置全体を制御する。ROM12にはEPROMあるいは
EEPROMが使用される。RAM13はDRAM等が
使用され、各種のデータあるいは入出力信号が格納され
る。不揮発性メモリ14にはバッテリバックアップされ
たCMOSが使用され、電源切断後も保持すべきパラメ
ータ、ピッチ誤差補正量及び工具補正量等が格納されて
いる。
FIG. 3 is a schematic diagram of the hardware configuration of a numerical control device for implementing the present invention. Processor l1 is ROM1
The entire numerical control device is controlled according to the system program stored in 2. The ROM 12 is an EPROM or an EEPROM. A DRAM or the like is used as the RAM 13, and various data or input/output signals are stored therein. The nonvolatile memory 14 uses a battery-backed CMOS, and stores parameters, pitch error correction amounts, tool correction amounts, etc. that should be retained even after the power is turned off.

グラフィック制御回路15はディジタル信号を表示用の
信号に変換し、表示器16に与える。表示器16はCR
Tあるいは液晶表示装置が使用され、オペレータに対す
る設問を表示し、データが入力されると、加工形状、加
工プログラム等を表示する。摸作盤17はソフトウェア
キーあるいはキーボード等から構或され、オペレータは
この摸作盤■7を使用して、必要なデータを設問に応じ
て入力していく。また、工作機械18の摸作にも使用さ
れる。これらの構成要素はバスl9によって結合されて
いる。
The graphic control circuit 15 converts the digital signal into a display signal and supplies it to the display 16. Display 16 is CR
A T or liquid crystal display device is used to display questions for the operator, and when data is input, to display the machining shape, machining program, etc. The simulation board 17 is composed of software keys, a keyboard, etc., and the operator uses this simulation board 7 to input necessary data according to the questions. It is also used to simulate the machine tool 18. These components are connected by bus l9.

なお、第3図では軸制御回路、サーボアンプ、スピンド
ルアンプ及びPMC (プログラマブル・マシン・コン
トローラ)等の構或要素は省略してある。また、プロセ
ッサを複数個にして、マルチプロセッサシステムとする
こともできる。
In FIG. 3, structural elements such as an axis control circuit, a servo amplifier, a spindle amplifier, and a PMC (programmable machine controller) are omitted. It is also possible to use a plurality of processors to form a multiprocessor system.

また、上記の例では対話型数値制御装置で説明したが、
対話型自動プログラミング装置でも同じように適用でき
る。
In addition, although the above example was explained using an interactive numerical control device,
The same applies to interactive automatic programming devices.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明では、一定の範囲であるべき
入力データが誤って入力されたとき、これを適正な値に
自動的に変更していくので、作成された加工プログラム
で工具の破損等の不具合を防止することができる。
As explained above, in the present invention, when input data that should be within a certain range is incorrectly input, it is automatically changed to an appropriate value, so the created machining program can be used to prevent damage to tools. problems can be prevented.

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

第1図は本発明の対話型データ入力方式の一例を示すフ
ローチャート、 第2図は本発明の一実施例のタツピング加工の対話型プ
ログラム作成の説明図、 第3図は本発明を実施するための数値制御装置のハード
ウェアの概略構或図である。 ワーク ・ 下穴 ネジ部 ・プロセッサ ROM RAM − 不揮発性メモリ 1 1 1 5 6 7 グラフィック制御回路 表示器 操作盤 1 1 8 9 工作機械 ノくス
FIG. 1 is a flowchart showing an example of the interactive data input method of the present invention, FIG. 2 is an explanatory diagram of creating an interactive program for tapping processing according to an embodiment of the present invention, and FIG. 3 is a diagram for implementing the present invention. 1 is a schematic diagram of the hardware configuration of the numerical control device of FIG. Workpiece/Prepared hole screw part/Processor ROM RAM - Non-volatile memory 1 1 1 5 6 7 Graphic control circuit display operation panel 1 1 8 9 Machine tool node

Claims (3)

【特許請求の範囲】[Claims] (1)対話形式で加工プログラムを作成する対話型デー
タ入力方式において、 入力データの範囲を決定し、 入力データが前記範囲内なら、そのまま格納し、前記入
力データが前記範囲より大きいときは、前記範囲の最大
値を入力データとし、 前記入力データが前記範囲より小さいときは、前記範囲
の最小値を入力データとし、 入力データを決定して、加工プログラムを作成すること
を特徴とする対話型データ入力方式。
(1) In an interactive data input method that creates a machining program in an interactive format, the range of input data is determined, and if the input data is within the range, it is stored as is, and if the input data is larger than the range, the The interactive data is characterized in that the maximum value of the range is used as input data, and when the input data is smaller than the range, the minimum value of the range is used as the input data, the input data is determined and a machining program is created. Input method.
(2)前記範囲は先に入力された他の入力データから計
算して求めることを特徴とする特許請求の範囲第1項記
載の対話型データ入力方式。
(2) The interactive data input method according to claim 1, wherein the range is calculated from other input data input previously.
(3)前記範囲からはずれた入力データ値を前記範囲内
の値に変更するときは、その旨のメッセージを表示する
ことを特徴とする特許請求の範囲第1項記載の対話型デ
ータ入力方式。
(3) The interactive data input method according to claim 1, wherein when changing an input data value outside the range to a value within the range, a message to that effect is displayed.
JP15728289A 1989-06-20 1989-06-20 Interactive type data input system Pending JPH0322104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15728289A JPH0322104A (en) 1989-06-20 1989-06-20 Interactive type data input system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15728289A JPH0322104A (en) 1989-06-20 1989-06-20 Interactive type data input system

Publications (1)

Publication Number Publication Date
JPH0322104A true JPH0322104A (en) 1991-01-30

Family

ID=15646257

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15728289A Pending JPH0322104A (en) 1989-06-20 1989-06-20 Interactive type data input system

Country Status (1)

Country Link
JP (1) JPH0322104A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009183799A (en) * 2008-02-01 2009-08-20 Anritsu Sanki System Co Ltd Apparatus for inspecting article

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009183799A (en) * 2008-02-01 2009-08-20 Anritsu Sanki System Co Ltd Apparatus for inspecting article

Similar Documents

Publication Publication Date Title
JPH04176539A (en) Interactive numerical control unit
US5327350A (en) Interactive type numerical control apparatus and method thereof
JPH03265906A (en) Programming system for interactive numerical controller
JPH0313022B2 (en)
JPH0355259B2 (en)
JPH0322104A (en) Interactive type data input system
US5175407A (en) Nc data creation method
JPH0313023B2 (en)
US5060163A (en) Programming apparatus for lathes
JPH04114208A (en) Animation plotting system for nc program
JPH06250722A (en) Interactive numerical controller
EP0419672A1 (en) Method of plotting tool shape
JPH0242510A (en) Display system for working information
EP0453570A1 (en) Nc program preparation method of interactive numeric controller or automatic programming apparatus
JPH0158016B2 (en)
JPH0496109A (en) Working program generating method for side face hole
JPH03158906A (en) Working method for cnc
JPS6165314A (en) Graphic display method and apparatus for computer numerical controller
JP2622419B2 (en) System parameter management method
US5204810A (en) Nc sentence creation system
JPH05233050A (en) Parameter input system for cnc
JPH0314103A (en) Tool path generating and editing system
EP0455816A1 (en) End shape data input system
JPH079302A (en) Single item machining method of machining center or the like
JPS61257740A (en) Tool selection system