JPH02311904A - Teaching method - Google Patents

Teaching method

Info

Publication number
JPH02311904A
JPH02311904A JP13418889A JP13418889A JPH02311904A JP H02311904 A JPH02311904 A JP H02311904A JP 13418889 A JP13418889 A JP 13418889A JP 13418889 A JP13418889 A JP 13418889A JP H02311904 A JPH02311904 A JP H02311904A
Authority
JP
Japan
Prior art keywords
program
command
teaching
registered
teaching method
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
JP13418889A
Other languages
Japanese (ja)
Inventor
Takao Sasaki
隆夫 佐々木
Toshiaki Otsuki
俊明 大槻
Hideshi Kochiya
古知屋 秀史
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 JP13418889A priority Critical patent/JPH02311904A/en
Publication of JPH02311904A publication Critical patent/JPH02311904A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To simplify a survey and to produce a working program with high efficiency by using a prescribed operation key to call out a program command registered previously and then registering the command again. CONSTITUTION:When a teaching command button is turned on after an MDI mode is selected via a machine control panel 6, a display 42 is shown on a display device 2a of a CRT/MDI unit 2. Under such conditions, a teaching operation is carried out. Then a soft key 43 (TKMAC, conversation macro) when a registered command is required. Thus a display 41 already registered is shown. Thus the program command which is repetitively used in a teaching operation is previously registered in a buffer and then read out by depressing the key 43. When the program command is directly used in a teaching operation, the command is put into a working program by depressing a soft key 44 (INS, insertion). Consequently, the program command which is repetitively used can be simply instructed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は数値制御装置で加工プログラムを作成するため
のティーチング方法に関し、特に繰り返し使用するプロ
グラム指令を簡単に指令できるティーチング方法に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a teaching method for creating a machining program using a numerical control device, and particularly to a teaching method that can easily issue program commands that are used repeatedly.

〔従来の技術〕[Conventional technology]

加工プログラムをティーチングによって、作成できるよ
うにしている数値制御工作機械がある。
There are numerically controlled machine tools that allow machining programs to be created by teaching.

こられのティーチングでは、MDIモード、ハンドルモ
ード、ジョグモードをそれぞれ使い分けて、加工プログ
ラムを作成していく。
In this teaching, we will create machining programs using MDI mode, handle mode, and jog mode.

すなわち、原点復帰指令、M指令、S指令等のプログラ
ム指令はMDIでティーチングし、位置決め等はジョグ
モードとハンドルモードでティーチングを行っている。
That is, program commands such as the home return command, M command, and S command are taught using the MDI, and positioning and the like are taught using the jog mode and handle mode.

例えば、穴あけ加工をティーチングするときは、ジョグ
モードで概略の位置決めを行い、ハンドルモードで正確
な穴の位置を決めて、その位置を数値制御装置内のバッ
ファに記憶させていく。
For example, when teaching drilling, the general positioning is performed in jog mode, the exact position of the hole is determined in handle mode, and the position is stored in a buffer within the numerical control device.

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

しかし、一般にティーチングでは同じようなプログラム
指令が何度も使用される。例えば、1個の工具による加
工が終了すると、常に機械を原点に復帰させ工具交換を
行う。このようなプログラム指令をその度にMDIから
入力するのは、手間がかかり、ティーチングミスも発生
する。
However, in general, similar program commands are used many times in teaching. For example, when machining with one tool is completed, the machine is always returned to its origin and the tool is replaced. Inputting such program commands each time from the MDI is time-consuming and may lead to teaching errors.

本発明はこのような点に鑑みてなされたものであり、繰
り返し使用するプログラム指令を簡単に指令できるティ
ーチング方法を提供することを目的とする。
The present invention has been made in view of these points, and it is an object of the present invention to provide a teaching method that can easily issue program commands that are used repeatedly.

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

本発明では上記課題を解決するために、手動操作あるい
はMDI(マニュアル・データ・インプット)で加工プ
ログラムを作成する数値制御装置でのティーチング方法
において、予め登録されたプログラム指令を、所定の操
作キーを操作することにより呼び出し、前託加工プログ
ラムを記憶するバッファ中に前記指令プログラムを加え
て、加工プログラムを作成していくことを特徴とするテ
ィーチング方法が、 提供される。
In order to solve the above problems, the present invention provides a teaching method using a numerical control device in which a machining program is created by manual operation or MDI (Manual Data Input). A teaching method is provided, which is characterized in that a machining program is created by calling the command program by operation and adding the command program to a buffer that stores a predetermined machining program.

〔作用〕[Effect]

繰り返し使用するプログラム指令は予め登録しておく。 Program commands that are used repeatedly are registered in advance.

この指令を必要なときに操作キーを使用して呼び出し、
加工プログラム中に加えて、加工プログラムを作成して
いく。
Call this command using the operation keys when necessary,
In addition to the machining program, we will create a machining program.

〔実施例〕〔Example〕

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

第3図は本発明を実施するための数値制御装置のブロッ
ク図である。チャネルバス1は各チャネルを結合できる
マルチマスタバスである。チャネルバスlには、多数の
スロット1a1 lb  1gがあり、後述するチャネ
ル等を結合することができる。
FIG. 3 is a block diagram of a numerical control device for implementing the present invention. Channel bus 1 is a multi-master bus capable of coupling each channel. The channel bus 1 has a large number of slots 1a1, 1b, and 1g, and can connect channels, etc., which will be described later.

CRT/MDIユニット2はその表示装置2aに各軸の
現在位置、加工プログラム、ワークの形状等を表示する
。また、キーボード2bから必要なデータを人力するこ
とができる。軸制御モジコール3及び4は1個のモジュ
ールで2〜3軸のサーボモータを制御することができる
。I10回路5は外部からの人出力慣号を授受する。こ
こでは、外部の機械搏作盤6からモード信号(MDI、
ハンドル、ジョグ)とティーチング指令信号を受は取る
。なお、図では、PC(プログラマブル・コントローラ
)等は省略しである。
The CRT/MDI unit 2 displays the current position of each axis, the machining program, the shape of the workpiece, etc. on its display device 2a. Further, necessary data can be entered manually from the keyboard 2b. The axis control modules 3 and 4 can control two to three axes of servo motors with one module. The I10 circuit 5 sends and receives human output signals from the outside. Here, a mode signal (MDI,
(handle, jog) and teaching command signals. Note that in the figure, a PC (programmable controller) and the like are omitted.

チャネル10.20及び30は、1個のチャネルが従来
の数値制御装置1台分の機能を有している。
Channels 10, 20 and 30 each have the functionality of one conventional numerical control device.

すなわち、1個のチャネルで、数値制御指令の読み出し
、解読、実行を処理することができる。また、CRT/
MDIユニット等の機器を制御することもできる。従っ
て、個々のチャネルで従来の数値制御装置が処理してき
た、一定の数の軸の指令を処理することができる。
That is, one channel can process the reading, decoding, and execution of numerical control commands. Also, CRT/
It is also possible to control devices such as MDI units. Therefore, it is possible to process commands for a fixed number of axes, which conventional numerical control devices have processed, in individual channels.

例えば、2ヘツドの数値制御工作機械では、チャネル1
10で第1の主軸、Xl軸及びYl軸等を制御し、チャ
ネル[20で第2の主軸、X2軸及びY2軸等を制御し
、チャネルII[30をマスクチャネルとして、他のチ
ャネルの監視等の全体の制御を実行することができる。
For example, on a two-head numerically controlled machine tool, channel 1
10 controls the first main axis, Xl axis, Yl axis, etc., channel 20 controls the second main axis, X2 axis, Y2 axis, etc., and channel II [30 is used as a mask channel to monitor other channels. etc. can be executed as a whole.

さらにチャネル110はチャネルバス1を経由で、CR
T/MDIユニット2を制御する。
Furthermore, channel 110 is connected to CR via channel bus 1.
Controls T/MDI unit 2.

これらのチャネル10〜30がチャネルバス1に結合さ
れ、処理を分担し、1個のチャネルの処理能力が足りな
くなったときは、他のチャネルに処理を一部移転する。
These channels 10 to 30 are connected to the channel bus 1 and share the processing, and when the processing capacity of one channel is insufficient, part of the processing is transferred to another channel.

例えば、一方のチャネル110が、非常に細かい補間を
実行し、チャネル■20が直線補間を実行しているとき
は、チャネル110の補間の前処理演算の一部をチャネ
ル■20に実行させることができる。この結果、処理に
不均衡が生じないように、処理能力の均衡を確保するこ
とができる。
For example, if one channel 110 performs very fine interpolation and channel 20 performs linear interpolation, channel 20 may perform some of the preprocessing calculations for channel 110's interpolation. can. As a result, it is possible to ensure a balance in processing capacity so that there is no imbalance in processing.

チャネルII[30はマスクチャネルとして、チャネル
バス1の使用権の調停、他のチャネルの監視等の全体の
制御を実行する。勿論、チャネル■30も主軸や軸の制
御を行うことも可能である。また、チャネル■30の処
理すべきタスクが増加して全体の制御を実行できなくな
り、他のチャネルに余裕があるときは、マスク権を他の
チャネルに移転することができる。
Channel II [30, as a mask channel, performs overall control such as arbitration of the right to use channel bus 1 and monitoring of other channels. Of course, the channel 30 can also control the main axis or axes. Furthermore, when the number of tasks to be processed by channel 30 increases and it becomes impossible to execute overall control, and there is room in another channel, the masking right can be transferred to another channel.

第2図は本発明の表示画面の例を示す図である。FIG. 2 is a diagram showing an example of a display screen of the present invention.

機械操作盤6でMDIモードを選択し、ティーチング指
令ボタンをオンとすると、CRT/MDIユニット2の
表示装置2aにはその表示42が表示される。
When the MDI mode is selected on the machine operation panel 6 and the teaching command button is turned on, the display 42 is displayed on the display device 2a of the CRT/MDI unit 2.

この状態でティーチングを行い、登録した指令が必要に
なったときに、ソフトキー43(TKMAC,対話マク
ロ)を押すと、すでに登録されている指令41が表示さ
れる。このブ、ログラム指令はリファレンス点復帰をし
て、工具交換を行うプログラム指令である。このような
ティーチングで繰り返し使用するプログラム指令を予め
バッファに登録しておき、ソフトキー43を押すことに
より読み出す。そのままティーチングで使用する場合は
ソフトキー44 (INS、インサート)を押せば、加
工プログラムに挿入される。
When teaching is performed in this state and a registered command is needed, pressing the soft key 43 (TKMAC, dialogue macro) displays the already registered commands 41. This program command is a program command for returning to a reference point and exchanging tools. Program commands that are repeatedly used in such teaching are registered in a buffer in advance, and read out by pressing the soft key 43. If you want to use it as is for teaching, press soft key 44 (INS, insert) and it will be inserted into the machining program.

また、その指令の一部を変更したいときは、図示されて
いないCRT/MDIユニット2のアルファベット及び
数値を含むキーボード2bを使用して、その内容を変更
した後、ソフトキー44を押す。例えば、工具交換すべ
き次の工具番号等を追加して、ソフトキー44を押すと
、工具番号の追加されたプログラム指令が加工プログラ
ムに追加される。
Further, if a part of the command is desired to be changed, the user presses the soft key 44 after changing the contents using the keyboard 2b including alphabets and numerical values of the CRT/MDI unit 2 (not shown). For example, if the soft key 44 is pressed after adding the next tool number to be replaced, the program command with the added tool number is added to the machining program.

さらに、複数の指令をバッファに登録して有る場合は、
ソフトキー43を押す度に登録順に指令が表示される。
Furthermore, if multiple commands are registered in the buffer,
Each time the soft key 43 is pressed, commands are displayed in the order of registration.

また、表示の順序は前回加工プログラムに挿入したプロ
グラム指令を優先的に表示することもできる。これは、
同じような指令は連続して使用する場合に便利である。
Furthermore, the display order can be such that program commands inserted into the previous machining program are displayed preferentially. this is,
Similar commands are useful when used consecutively.

このために、登録されたプログラム指令が加工プログラ
ムに挿入する度に、表示の優先度を上げていけばよい。
For this purpose, the display priority may be increased each time a registered program command is inserted into a machining program.

それ以外に、使用頻度の多い指令の順序に従って表示す
ることもできる。これは、不揮発性メモリに加工プログ
ラムに追加した回数を記憶させ、その数値の大きい順に
プログラム指令を並べて、その順序で表示すればよい。
Alternatively, the commands can be displayed in the order of frequently used commands. This can be done by storing the number of additions to the machining program in a non-volatile memory, arranging the program commands in descending order of the numerical value, and displaying them in that order.

また、プログラム指令は複数のブロックを含むものとし
て登録することもできる。
Further, a program instruction can also be registered as including a plurality of blocks.

第1図は本発明のティーチング方法の処理のフローチャ
ートである。図において、Sに続く数値はステップ番号
を示す。
FIG. 1 is a flowchart of the processing of the teaching method of the present invention. In the figure, the number following S indicates the step number.

〔S1〕予め使用頻度の高いプログラム指令を登録して
おく。
[S1] Frequently used program commands are registered in advance.

C82〕どのモードでティーチングを行うか選択する。C82] Select in which mode teaching will be performed.

これは、機械操作番6のモードによって決められる。す
なわち、モードスイッチがMDIのときはS3へ、ジョ
グのときはS6へ、ハンドルのときはS7へ進む。
This is determined by the mode of machine operation number 6. That is, when the mode switch is MDI, the process proceeds to S3, when the mode switch is jogging, the process proceeds to S6, and when the mode switch is the steering wheel, the process proceeds to S7.

’〔S3:IMDIによるティーチングで、登録しであ
るプログラム指令が必要か調べ、必要ならS4へ、そう
でなければS5へ進む。
'[S3: Check whether a registered program command is required by teaching using IMDI, and if necessary, proceed to S4; otherwise, proceed to S5.

〔S4]登録しであるプログラム指令が必要であるので
、第2図のソフトキー43とソフトキー44を使用して
、登録しであるプログラム指令を加工プログラムに組み
入れていく。
[S4] Since a registered program command is required, the registered program command is incorporated into the machining program using the soft keys 43 and 44 shown in FIG.

〔S5〕登録しであるプログラム指令は必要ないので、
CRT/MDIユニット2の操作キーを使用して通常の
指令を加工プログラムに加えてティーチングを行う。
[S5] Registered program commands are not required, so
Using the operation keys of the CRT/MDI unit 2, normal commands are added to the machining program and teaching is performed.

〔S6〕ジヨグ操作によるティーチングであるので、ジ
ョグボタンを使用して各軸を動かしティーチングを行う
[S6] Since the teaching is by jog operation, teaching is performed by moving each axis using the jog button.

〔S7〕ハンドル操作によるティーチングであるので〜
ハンドルを操作して各軸の位置を正確に位置決めしてテ
ィーチングを行う。
[S7] Teaching is done by operating the handle.
Operate the handle to accurately position each axis for teaching.

〔S8〕テイーチングによる加工プログラムの作成、編
集が終了かしらべ、終了でなければS2へ戻り処理を続
行する。
[S8] Check whether the creation and editing of the machining program by teaching has been completed. If not, return to S2 and continue the process.

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

以上説明したように本発明では、加工プログラムを作成
するティーチングで、予め登録したプログラム指令を所
定の操作キーで呼び出して登録するようにしたので、操
作が簡単になり、効率良く加工プログラムを作成するこ
とができる。
As explained above, in the present invention, during teaching to create a machining program, pre-registered program commands are called up and registered using predetermined operation keys, which simplifies the operation and allows efficient creation of machining programs. be able to.

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

第1図は本発明のティーチング方法の処理のフローチャ
ート、 第2図は本発明の表示画面の例を示す図、第3図は本発
明を実施するための数値制御装置のブロック図である。 1    チャネルバス 18〜1g    スロット 2−−−−−CRT / M D Iユニット2a  
 表示装置 2b   キーボード 3.4    軸制御モジュール 5   10回路 6    機械操作盤 10〜30    チャネル 41    登録されたプログラム 42  ・ モード表示 43.44    ソフトキー
FIG. 1 is a flowchart of the processing of the teaching method of the present invention, FIG. 2 is a diagram showing an example of a display screen of the present invention, and FIG. 3 is a block diagram of a numerical control device for implementing the present invention. 1 Channel bus 18~1g Slot 2---CRT/MDI unit 2a
Display device 2b Keyboard 3.4 Axis control module 5 10 circuits 6 Machine operation panel 10 to 30 Channel 41 Registered program 42 - Mode display 43.44 Soft keys

Claims (5)

【特許請求の範囲】[Claims] (1)手動操作あるいはMDI(マニュアル・データ・
インプット)で加工プログラムを作成する数値制御装置
でのティーチング方法において、予め登録されたプログ
ラム指令を、所定の操作キーを操作することにより呼び
出し、 前記加工プログラムを記憶するバッファ中に前記指令プ
ログラムを加えて、加工プログラムを作成していくこと
を特徴とするティーチング方法。
(1) Manual operation or MDI (manual data
In a teaching method using a numerical control device in which a machining program is created using input), a pre-registered program command is called by operating a predetermined operation key, and the command program is added to a buffer that stores the machining program. A teaching method characterized by creating a machining program using
(2)前記プログラム指令を一部修正して、前記バッフ
ァ中に加えることを特徴とする特許請求の範囲第1項記
載のティーチング方法。
(2) The teaching method according to claim 1, wherein the program command is partially modified and added to the buffer.
(3)前記プログラム指令の呼び出しは、前記操作キー
を押すごとに、登録順に表示することを特徴とする特許
請求の範囲第1項記載のティーチング方法。
(3) The teaching method according to claim 1, wherein the program commands are called up in the order of registration each time the operation key is pressed.
(4)前記プログラム指令の呼び出しは、前回複写され
た指令を最初に表示することを特徴とする特許請求の範
囲第1項記載のティーチング方法。
(4) The teaching method according to claim 1, wherein in calling the program command, the previously copied command is displayed first.
(5)前記プログラム指令の呼び出しは、前回複写され
た回数の多い順序に表示することを特徴とする特許請求
の範囲第1項記載のティーチング方法。
(5) The teaching method according to claim 1, wherein the program commands are called in order of the number of times they have been previously copied.
JP13418889A 1989-05-26 1989-05-26 Teaching method Pending JPH02311904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13418889A JPH02311904A (en) 1989-05-26 1989-05-26 Teaching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13418889A JPH02311904A (en) 1989-05-26 1989-05-26 Teaching method

Publications (1)

Publication Number Publication Date
JPH02311904A true JPH02311904A (en) 1990-12-27

Family

ID=15122493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13418889A Pending JPH02311904A (en) 1989-05-26 1989-05-26 Teaching method

Country Status (1)

Country Link
JP (1) JPH02311904A (en)

Similar Documents

Publication Publication Date Title
EP0086843A1 (en) Numerical control device
KR100314748B1 (en) A numerical control device and method for displaying three dimensional graphics in real time
EP1435549A1 (en) Configurable user interface for a numerical controller
KR890002435B1 (en) A numerical control method
CN111610754A (en) Picture creation device and picture creation system
US7089531B2 (en) Method and device for generating or editing NC programs
JP2796297B2 (en) Data input / output device of interactive numerical controller
US4924403A (en) Numerical control method and system therefor having override playback function
JP2003202910A (en) Parameter setting apparatus for numerically controlled machine tool
JPH11296217A (en) Method and device for transferring program file in nc device
JPH02311904A (en) Teaching method
JPS6232805B2 (en)
KR890001355B1 (en) Numerical control device
EP0604661A1 (en) Conversational numeric control apparatus
JPH0242510A (en) Display system for working information
JPH04252307A (en) Interactive numerical controller
JPS6249404A (en) Method and device for editing nc program
JP2779796B2 (en) Numerical control unit
JP2694639B2 (en) Numerical control unit
JP2796498B2 (en) Data input / output device of interactive numerical controller
JPH0455912A (en) Cnc screen switching system
JPS63289601A (en) Method for forming sequence program
JPS6132106A (en) Programming device of programmable controller
JPH02306305A (en) Method and device for generating control program
JPS6356708A (en) Numerical controller