JPH01228002A - Interactive programming device - Google Patents

Interactive programming device

Info

Publication number
JPH01228002A
JPH01228002A JP63054297A JP5429788A JPH01228002A JP H01228002 A JPH01228002 A JP H01228002A JP 63054297 A JP63054297 A JP 63054297A JP 5429788 A JP5429788 A JP 5429788A JP H01228002 A JPH01228002 A JP H01228002A
Authority
JP
Japan
Prior art keywords
shape
specifying
displayed
program
programming device
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
JP63054297A
Other languages
Japanese (ja)
Inventor
Satoru Shinozaki
篠崎 了
Susumu Nagayama
進 長山
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 JP63054297A priority Critical patent/JPH01228002A/en
Publication of JPH01228002A publication Critical patent/JPH01228002A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To prevent misoperation by designating a part of the displayed graphic and specifying a processing shape. CONSTITUTION:A processor 1 of a numerical controller is connected through a prescribed bus line, etc., with a machine tool 2 and processing command is outputted to the machine tool 2 in accordance with a processing program. To the bus line of the processor 1, a ROM 3, a RAM 4, a CRT display device 5, a non-volatile memory 6, etc., a re connected. A control panel 7 having a soft key such as an MDI device controls the displaying of the CRT display device 5 and the key operation to processed the interactive with a picture by the successively necessary selection by an operator. The designation picture of the outline shape necessary to the program generation is displayed in the display device 5 by the command from the control panel 7. At the time of generating the program and at the time of inputting the shape data in which plural intersections, contracts, etc., occur, the graphics are displayed in the undertermined condition, a message is given so as to separate a part and designate it and the processing shape is specified by the interactive form.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、加工物の製品形状を指定してNCプログラム
を作成する対話形プログラミング装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an interactive programming device that creates an NC program by specifying the product shape of a workpiece.

(従来の技術) 通常の対話形数値制御装置では、MDI装置からのキー
入力による形状及び寸法データに基づいて加工プログラ
ムを作成する。このプログラム作成の手助けとして、入
力されたプログラム、の工具軌跡をCRT画面上にグラ
フィック表示してチエツクすることを可能にしている。
(Prior Art) In a typical interactive numerical control device, a machining program is created based on shape and dimensional data entered through key input from an MDI device. To help create this program, the tool trajectory of the input program can be displayed graphically on the CRT screen for checking.

また、加工物の製品形状を対話形入力により指定すると
き、形状データとして入力された直線や円弧の始点、終
点の座標値は、その長さや角度を指定しなくても前後の
形状データから自動計算することも可能であり、各種の
簡易な入力方法も開発されている。
In addition, when specifying the product shape of a workpiece through interactive input, the coordinate values of the start and end points of a straight line or arc input as shape data are automatically determined from the previous and subsequent shape data without having to specify the length or angle. It can also be calculated, and various simple input methods have been developed.

例えば直線を指定し、その終点を指定しないで次の円弧
を指定すれば、演算された交点により直線の終点は自動
的に決定されることになる。ただ、この場合には一般く
交点の座標が2つ求まるため、更に別の図形修飾情報を
入力する必要があった。
For example, if you specify a straight line and then specify the next arc without specifying its end point, the end point of the straight line will be automatically determined based on the calculated intersection point. However, in this case, since two coordinates of the intersection points are generally determined, it is necessary to input additional figure modification information.

(発明が解決しようとする課題) このような従来の図形の選択を行なうための操作は、例
えば円弧と円弧の間についての輪郭指定であっても同様
に必要であり、こうした2つの図形の間の交点を特定す
るためには、「交差して左折(大円)」、「交差して右
折(小円)」、「接して前進(大円)」等の多数の設定
された図形修飾情報からその1つを選択しなくてはなら
ず、オペレータが操作に習熟していない場合に、入力エ
ラーを犯し易いという問題があった。
(Problem to be Solved by the Invention) Such a conventional operation for selecting a figure is similarly necessary, for example, even when specifying a contour between two circular arcs. In order to specify the intersection of One of them must be selected from the list, and there is a problem in that an operator who is not familiar with the operation is likely to make an input error.

本発明は、上記課題を解決するためになされたもので、
画面表示機能を有する数値制御装置において表示された
図形に基づいて製品形状の輪郭指定を簡便に行なえ、操
作ミスの防止が可能な対話形プログラミング装置を提供
することを目的としている。
The present invention was made to solve the above problems, and
An object of the present invention is to provide an interactive programming device that can easily specify the outline of a product shape based on a figure displayed on a numerical control device having a screen display function, and can prevent operational errors.

(課題を解決するための手段) 本発明によれば、入力された形状及び寸法データから加
工形状を特定するための演算機能を有する対話形プログ
ラミング装置において、形状データによフて指定された
図形を表示する表示手段と、表示された図形の一部を分
離して指定する指定手段と、指定された図形部分に対応
する加工プログラムを作成するプログラム作成手段とを
具備し、最初に入力された形状データによっては1通り
には決定されない場合に、表示されている図形の一部を
前記指定手段により指定して加工形状を特定するように
したことを特徴とする対話形プログラミング装置を提供
できる。
(Means for Solving the Problems) According to the present invention, in an interactive programming device having an arithmetic function for specifying a machining shape from input shape and dimension data, , a designation means for separating and specifying a part of the displayed figure, and a program creation means for creating a machining program corresponding to the designated part of the figure. It is possible to provide an interactive programming device characterized in that when a single shape cannot be determined depending on the shape data, a part of the displayed figure is specified by the specifying means to specify the machining shape.

(作用) 本発明の対話形プログラミング装置では、交点又は接点
などが複数個生じる形状データの入力があったときは、
未決定の状態でそれらの図形を表示手段に表示し、オペ
レータに対して表示されている図形からその一部を分離
して指定するようにメツセージを与え、対話形式で加工
形状を特定するようにしている。
(Operation) In the interactive programming device of the present invention, when shape data including multiple intersections or contact points is input,
The shapes are displayed on the display means in an undetermined state, and a message is given to the operator to specify a part of the displayed shape separately, so that the machining shape can be specified interactively. ing.

(実施例) 以下、本発明の一実施例を図面に従フて詳細に説明する
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

′si図は、数値制御装置本体に通用した場合の数値制
御装置の構成を示すブロック図である。プロセッサ1は
所定のパスライン等を介して工作機械2と接続され、形
成されている加工プログラムに従って工作機械に加工指
令を出力するものである。上記プロセッサ1のパスライ
ンには、この数値制御装置本体を制御するコントロール
プログラムを格納するメモリ例えばROM3、対話形プ
ログラム機能に従って入力されるデータを一時記憶する
RAM4、上記加工プログラム内の複数のメ二二−画面
、項目設定画面や入力データ等を表示するCR7表示器
5、加工プログラムが格納される不揮発性メモリ6など
が接続されている。7はMDI装置などソフトキーを有
する操作盤で、この操作盤7において上記CR7表示器
5の表示が制御され、オペレータにより順次必要な選択
により画面との対話を進めるためのキー操作が行なわれ
る。そして、この操作盤7からの指令により上記表示器
5の画面に、プログラム作成に必要な輪郭形状の指定画
面が表示される。
The 'si diagram is a block diagram showing the configuration of the numerical control device when it is used in the main body of the numerical control device. The processor 1 is connected to a machine tool 2 via a predetermined path line or the like, and outputs machining commands to the machine tool according to a formed machining program. The path line of the processor 1 includes a memory such as a ROM 3 for storing a control program for controlling the main body of the numerical control device, a RAM 4 for temporarily storing data input according to the interactive program function, and a plurality of menus in the machining program. Two screens, a CR7 display 5 for displaying item setting screens, input data, etc., a nonvolatile memory 6 for storing machining programs, etc. are connected. Reference numeral 7 denotes an operation panel having soft keys such as an MDI device.The operation panel 7 controls the display of the CR7 display 5, and the operator sequentially performs key operations to proceed with interaction with the screen by making necessary selections. Then, in response to a command from the operation panel 7, a screen for specifying the contour shape necessary for creating the program is displayed on the screen of the display 5.

第2図は対話形の数値制御装置におけるプログラム入力
方法の一例を示す流れ図である。
FIG. 2 is a flow chart showing an example of a program input method in an interactive numerical control device.

これは、上記ROM3内のコントロールプログラムの一
部としてプロセッサ1において制御される動作であって
、対話形プログラミング装置に適用した場合であっても
、それが演算装置、記憶装置、CRT画面表示装置、M
DIキー入力装置などを含んでいれば、同様の作用を奏
することになる。
This is an operation controlled by the processor 1 as part of the control program in the ROM 3, and even if it is applied to an interactive programming device, it may be an arithmetic device, a storage device, a CRT screen display device, M
If a DI key input device or the like is included, the same effect will be achieved.

所定の製品形状及び寸法をオペレータが入力する際に、
表示器5にはプログラム補助画面として入力を補助する
メツセージが表示される(ステップa)、その際に、そ
の時までに入力されたデータから決定される製品形状は
、CR7画面上にグラフィック表示される(ステップb
)、オペレータは、その時点で図面等から読みとったデ
ータを操作盤7のMDIキーを使用して入力する(ステ
ップC)、そのデータにより製品形状としては未確定な
データがあるときは(ステップd)、数値制御装置はそ
の形状の前後の、既に決定されている形状データから未
定の部分、つまり2つの形状間の交点または接点の座標
値をプロセッサ1により自動計算する。
When the operator inputs the predetermined product shape and dimensions,
A message to assist input is displayed on the display 5 as a program auxiliary screen (step a), and at this time, the product shape determined from the data input up to that time is graphically displayed on the CR7 screen. (Step b
), the operator inputs the data read from the drawing etc. at that point using the MDI key on the operation panel 7 (step C). ), the numerical control device uses the processor 1 to automatically calculate the coordinate values of the undetermined portion, that is, the intersection or contact point between the two shapes, from the already determined shape data before and after the shape.

円弧と直線、あるいは円弧と円弧などのように交点また
は接点が2つ以上算出される場合には、第3図に示すよ
うに数値制御装置の表示器5では、それらすべての接点
、交点についての図形を同時に表示する(ステップe)
、その場合に、未定部分である旨が点線によフて表示さ
れる。そしてオペレータにこれら接点あるいは交点を選
択させるべく画面の下部に所定のメツセージが表示され
る(ステップf)、オペレータは、グラフィック表示さ
れた図形とメツセージとから、それぞれ番号が付けられ
た交点のうちのいずれか1つを、対応するソフトキーを
押すことで選択する(ステップg)。
When two or more intersections or tangent points are calculated, such as between a circular arc and a straight line, or between a circular arc and a circular arc, the display 5 of the numerical control device displays the information for all of the tangent points and intersections, as shown in FIG. Displaying shapes simultaneously (step e)
, in that case, the fact that it is an undetermined portion is indicated by a dotted line. Then, a predetermined message is displayed at the bottom of the screen to allow the operator to select these contact points or intersection points (step f).The operator selects one of the numbered intersection points from the graphically displayed figure and the message. Select one by pressing the corresponding soft key (step g).

つまり、オペレータが入力した直線と円弧とが点1,2
で交差するとき、円弧の指定がCW(時計方向)で、ソ
フトキーにより1を指定すれば、交点lから小円に沿っ
た輪郭指定が行なわれ、2を指定すれば、交点2から大
円に沿った輪郭指定がなされる。これにより点線部分の
一部が実線に変化して、所定の図形が画面上で確定され
る。
In other words, the straight line and arc input by the operator are points 1 and 2.
If the arc designation is CW (clockwise) and you specify 1 with the soft key, the outline will be specified along the small circle from the intersection l, and if you specify 2, the outline will be specified along the small circle from the intersection 2. The contour is specified along the . As a result, a part of the dotted line portion changes to a solid line, and a predetermined figure is determined on the screen.

、これにより製品形状が特定され、内部で自動計算され
ることにより製品加工プログラムが作成され(ステップ
h)、RAM6の所定の記憶領域゛に格納される。
As a result, the product shape is specified and automatically calculated internally to create a product machining program (step h), which is stored in a predetermined storage area of the RAM 6.

こうして、製品形状のすべてについての入力が完了する
まで上記各ステップa z hが繰り返され(ステップ
l)、プログラム作成は終了する。なお、その過程で形
状データに未定の部分が含まれないときには、ステップ
6−w gは省略される。なお、未定の部分の点線によ
る表示の代りに、交点に応じて線分の色を変えてカラー
グラフィック表示し、その色を指定することにより図形
の一部を分離して指定しても良い。
In this way, each step az h described above is repeated until the input of all product shapes is completed (step l), and the program creation is completed. Note that if the shape data does not include any undetermined portions during this process, step 6-wg is omitted. Note that instead of displaying the undetermined portion with dotted lines, a color graphic display may be performed by changing the color of the line segment according to the intersection point, and by specifying the color, a part of the figure may be separated and specified.

本発明は、以上詳述した通り入力された形状及び寸法デ
ータから加工形状を特定するための演算機能を有する対
話形プログラミング装置においてオペレータの操作によ
り入力される形状データの組合せによって製品形状の輪
郭指定を行なう上で特に有効である。しかし、ここでは
図示した実施例に関連して本発明を説明したが、構成の
詳細な部分についての変形、特許請求の範囲に記載され
た本発明の精神に反しない限りでの種々な変形、あるい
はそれらを組み合わせたものに変更することができるこ
とは明らかである。
As described in detail above, the present invention provides for specifying the outline of a product shape by combining shape data input by an operator in an interactive programming device that has an arithmetic function for specifying a machining shape from input shape and dimensional data. It is particularly effective in carrying out. However, although the present invention has been described herein in connection with the illustrated embodiment, modifications to the detailed parts of the structure and various modifications may be made without departing from the spirit of the invention as set forth in the claims. It is obvious that they can also be changed to a combination of them.

(発明の効果) 以上説明したように、本発明によれば、図形修飾に伴な
う従来の操作の困難性を除去し、容易に製品形状の輪郭
指定を行なえる対話形プログラミング装置を提供できる
(Effects of the Invention) As described above, according to the present invention, it is possible to provide an interactive programming device that eliminates the difficulty of conventional operations associated with graphic modification and allows easy specification of the outline of a product shape. .

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

第1図は、本発明の一実施例を示すブロック図、第2図
は、同実施例の動作の一例を示す流れ図、第3図は、対
話画面の一例を示す図である。 1・・・プロセッサ、2・・・工作機械、3・・−RO
M。 4・・・RAM、5・・・表示器、6・・・不揮発性メ
モリ、フ・・・操作盤。 特許出願人 ファナック株式会社
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flowchart showing an example of the operation of the embodiment, and FIG. 3 is a diagram showing an example of a dialog screen. 1...processor, 2...machine tool, 3...-RO
M. 4...RAM, 5...Display, 6...Nonvolatile memory, F...Operation panel. Patent applicant FANUC Corporation

Claims (3)

【特許請求の範囲】[Claims] (1)入力された形状及び寸法データから加工形状を特
定するための演算機能を有する対話形プログラミング装
置において、形状データによって指定された図形を表示
する表示手段と、表示された図形の一部を分離して指定
する指定手段と、指定された図形部分に対応する加工プ
ログラムを作成するプログラム作成手段とを具備し、最
初に入力された形状データによっては1通りには決定さ
れない場合に、表示されている図形の一部を前記指定手
段により指定して加工形状を特定するようにしたことを
特徴とする対話形プログラミング装置。
(1) In an interactive programming device having an arithmetic function for specifying a machining shape from input shape and dimensional data, a display means for displaying a shape specified by the shape data and a part of the displayed shape are provided. It is equipped with a specifying means for specifying separately and a program creating means for creating a machining program corresponding to the specified figure part, and is displayed when the shape data cannot be determined in one way depending on the initially inputted shape data. 2. An interactive programming device, characterized in that a machining shape is specified by specifying a part of a figure being processed by the specifying means.
(2)前記表示手段には、加工形状を特定するオペレー
タへの補助メッセージを図形と同時に表示し、この補助
メッセージにしたがってオペレータによる特定図形部分
の指定を可能にしたことを特徴とする請求項(1)に記
載の対話形プログラミング装置。
(2) An auxiliary message for the operator specifying the machining shape is displayed simultaneously with the figure on the display means, and the operator can specify a specific figure part according to the auxiliary message. The interactive programming device according to item 1).
(3)前記形状データとして少なくとも直線及び円弧の
指定が可能なキー入力手段を具備することを特徴とする
請求項(1)又は(2)に記載の対話形プログラミング
装置。
(3) The interactive programming device according to claim 1 or 2, further comprising key input means capable of specifying at least a straight line and a circular arc as the shape data.
JP63054297A 1988-03-08 1988-03-08 Interactive programming device Pending JPH01228002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63054297A JPH01228002A (en) 1988-03-08 1988-03-08 Interactive programming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63054297A JPH01228002A (en) 1988-03-08 1988-03-08 Interactive programming device

Publications (1)

Publication Number Publication Date
JPH01228002A true JPH01228002A (en) 1989-09-12

Family

ID=12966635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63054297A Pending JPH01228002A (en) 1988-03-08 1988-03-08 Interactive programming device

Country Status (1)

Country Link
JP (1) JPH01228002A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007086985A (en) * 2005-09-21 2007-04-05 Inpatekku Kk Patent map display device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007086985A (en) * 2005-09-21 2007-04-05 Inpatekku Kk Patent map display device

Similar Documents

Publication Publication Date Title
JPH02293903A (en) Cad/cam device
JPH04176539A (en) Interactive numerical control unit
JPH0554129B2 (en)
EP0558030B1 (en) Coordinate system display guide for a numerical control apparatus
JPH01228002A (en) Interactive programming device
JP2771701B2 (en) Interactive numerical controller
EP0604661A1 (en) Conversational numeric control apparatus
JPH04114208A (en) Animation plotting system for nc program
EP0578828A1 (en) Screen display method for cnc
JP3977458B2 (en) Interactive automatic programming device
JP3075861B2 (en) Numerical control unit
EP0332703A1 (en) Data input system
JP2700887B2 (en) Numerical control unit
JPH03294906A (en) Editing system for working program
JPH04296907A (en) Interactive numerical controller
JPS63709A (en) Interactive nc device
WO1994007190A1 (en) Animation system of numeric controller
JPH03156506A (en) Nc program generating method for interactive numerical controller or automatic programming device
JPS60205955A (en) Electron beam processing device
JPS61278909A (en) Interactive programming device
JPH0215304A (en) Method for forming numerical control information
JPH01318102A (en) Nc program forming device
JPH07115277B2 (en) Contour shape processing method
JPH01158506A (en) Method for defining working shape in interactive automatic programming function
JPH0326407B2 (en)