JPH11175131A - Numerical controller with teaching playback function - Google Patents
Numerical controller with teaching playback functionInfo
- Publication number
- JPH11175131A JPH11175131A JP36331997A JP36331997A JPH11175131A JP H11175131 A JPH11175131 A JP H11175131A JP 36331997 A JP36331997 A JP 36331997A JP 36331997 A JP36331997 A JP 36331997A JP H11175131 A JPH11175131 A JP H11175131A
- Authority
- JP
- Japan
- Prior art keywords
- program
- processing
- machining
- stored
- teaching
- 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
Links
Landscapes
- Numerical Control (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ティーチング・プ
レイバック機能付数値制御装置の改良に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement in a numerical controller having a teaching / playback function.
【0002】[0002]
【従来の技術】数値制御装置を介してティーチングされ
た動作経路を数値制御装置にNCプログラムとして保存
するティーチング機能と、ティーチングされた動作経路
をそのNCプログラムに従って自動制御で再実行するプ
レイバック機能とを備えたティーチング・プレイバック
機能付数値制御装置が、既に公知である。2. Description of the Related Art A teaching function for storing an operation path taught through a numerical controller as an NC program in a numerical controller, and a playback function for automatically re-executing the taught operation path under automatic control according to the NC program. Is already known.
【0003】しかし、従来のティーチング・プレイバッ
ク機能付数値制御装置では、スピンドルのON/OFF
操作やクーラントのON/OFF操作および工具の交換
作業等の補助機能動作は、ティーチングによってプログ
ラムメモリに機械の動作経路に関する全てのNCプログ
ラムが保存された段階で、改めて数値制御装置のエディ
タ機能を起動し、補助機能動作に対応するコマンドを手
動で挿入していく作業が必要であった。そこで、本願出
願人は、この補助機能動作も動作経路のティーチング時
に自動的にティーチングしてプログラムできる方法を特
願平9−240282号で提案した。However, in a conventional numerical controller with a teaching / playback function, the spindle is turned on / off.
For the auxiliary functions such as operation, coolant ON / OFF operation, and tool change work, the editor function of the numerical controller is started again when all NC programs related to the machine operation path are stored in the program memory by teaching. However, it was necessary to manually insert the command corresponding to the auxiliary function operation. In view of this, the applicant of the present application has proposed in Japanese Patent Application No. 9-240282 a method of automatically teaching and programming the auxiliary function operation during teaching of the operation path.
【0004】これにより、補助機能動作をも含めて自動
的にティーチングできNCプログラムが作成できが、仕
上げ加工の動作経路を手動でティーチングすることは難
しいという問題があった。[0004] As a result, teaching can be performed automatically including the auxiliary function operation, and an NC program can be created. However, there is a problem that it is difficult to manually teach the operation path of finishing.
【0005】[0005]
【発明が解決しようとする課題】そこで、本発明の課題
は、仕上げ加工の動作経路を自動的に作成することがで
きるティーチング・プレイバック機能付数値制御装置を
提供することにある。SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a numerical control device with a teaching / playback function capable of automatically creating an operation path for finishing.
【0006】[0006]
【課題を解決するための手段】本発明は、ティーチング
・プレイバック機能付数値制御装置において、加工形状
を構成する入力された一連の加工形状要素のデータを記
憶する記憶手段と、該記憶手段に記憶された加工形状要
素データにおける隣接する加工形状要素の交点を求める
手段と、上記記憶手段に記憶された加工形状要素データ
と求められた交点によって、仕上げ加工の動作経路のN
Cプログラムを作成する手段と、該NCプログラムを記
憶する記憶手段とを設け、仕上げ加工のNCプログラム
を自動的に作成できるようにした。特に、仕上げ加工の
加工開始位置(始点)及び加工終了位置(終点)は、荒
加工のティーチングによって求められ記憶手段に記憶し
たNCプログラムより求められる切削開始位置及び切削
終了位置と上記記憶手段に記憶する一連の加工形状要素
データの最初及び最後の加工形状要素データにより求め
る。さらに、仕上げ加工の動作経路のNCプログラムが
作成され記憶手段に記憶されると、自動的に記憶手段に
記憶するNCプログラムを実行し自動運転を行うように
した。According to the present invention, there is provided a numerical control apparatus having a teaching / playback function, wherein a storage means for storing data of a series of input processing shape elements constituting a processing shape, and Means for determining the intersection of adjacent machining shape elements in the stored machining shape element data, and the intersection of the machining shape element data stored in the storage means and the determined intersection, determine the N of the operation path of the finish machining.
A means for creating a C program and a storage means for storing the NC program are provided so that an NC program for finish machining can be automatically created. In particular, the processing start position (start point) and the processing end position (end point) of the finishing processing are obtained by the roughing teaching and stored in the storage means and the cutting start position and the cutting end position obtained by the NC program stored in the storage means. It is obtained from the first and last machining shape element data of a series of machining shape element data to be processed. Further, when an NC program for the operation path of the finishing process is created and stored in the storage means, the NC program automatically stored in the storage means is executed to perform the automatic operation.
【0007】[0007]
【発明の実施の形態】以下、図面を参照して本発明の実
施形態を説明する。図1は本発明を適用した一実施形態
のティーチング・プレイバック機能付数値制御装置10
と該数値制御装置10によって駆動制御される工作機
械、例えば、旋盤等の要部を示すブロック図である。プ
ロセッサ11は数値制御装置10を全体的に制御するプ
ロセッサであり、バス21を介してROM12に格納さ
れたシステムプログラムを読み出し、このシステムプロ
グラムに従って、数値制御装置10を全体的に制御す
る。RAM13は一時記憶用のメモリである。CMOS
メモリ14は図示しないバッテリでバックアップされ、
数値制御装置10の電源がオフにされても記憶状態が保
持される不揮発性メモリとして構成されている。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a numerical controller 10 with a teaching / playback function according to an embodiment of the present invention.
FIG. 1 is a block diagram showing main parts of a machine tool, for example, a lathe, which is driven and controlled by the numerical controller 10. The processor 11 is a processor for controlling the numerical controller 10 as a whole, reads a system program stored in the ROM 12 via the bus 21, and controls the numerical controller 10 as a whole according to the system program. The RAM 13 is a memory for temporary storage. CMOS
The memory 14 is backed up by a battery (not shown),
It is configured as a non-volatile memory that retains the storage state even when the power of the numerical controller 10 is turned off.
【0008】インターフェイス15は外部機器用のイン
ターフェイスであり、フロッピーディスクドライバ、紙
テープリーダ,紙テープパンチャー等の外部機器72が
接続される。外部機器72からはNCプログラムが読み
込まれ、また、数値制御装置10内で編集されたNCプ
ログラムを外部機器72に出力することもできる。PM
C(プログラマブル・マシン・コントローラ)16は数
値制御装置10に内蔵されたシーケンスプログラムで工
作機械を制御する。即ち、NCプログラムで指令された
機能に従って、これらシーケンスプログラムで工作機械
側で必要な信号に変換し、I/Oユニット17から工作
機械側に出力する。この出力信号により工作機械側の各
種アクチュエータが作動する。また、工作機械側のリミ
ットスイッチ等の信号を受け、必要な処理をしてプロセ
ッサ11に渡す。The interface 15 is an interface for an external device, and is connected to an external device 72 such as a floppy disk driver, a paper tape reader, and a paper tape puncher. The NC program is read from the external device 72, and the NC program edited in the numerical controller 10 can be output to the external device 72. PM
A C (programmable machine controller) 16 controls the machine tool by a sequence program built in the numerical controller 10. That is, in accordance with the functions instructed by the NC program, these sequence programs convert the signals into necessary signals on the machine tool side, and output the signals from the I / O unit 17 to the machine tool. Various actuators on the machine tool are operated by this output signal. Further, it receives a signal from a limit switch or the like on the machine tool side, performs necessary processing, and passes it to the processor 11.
【0009】各軸の現在位置,アラーム,パラメータ,
画像データ等の画像信号はCRT/MDIユニット70
のディスプレイに送られて表示される。インターフェイ
ス18はCRT/MDIユニット70のキーボードから
のデータを受けてプロセッサ11に渡す。インターフェ
イス19はX軸用,Z軸用およびガイダンス用の3つの
手動パルス発生器によって構成される手動パルス発生器
群71に接続され、これらの手動パルス発生器からのパ
ルスを受ける。X軸用,Z軸用およびガイダンス用の3
つの手動パルス発生器は、図2に示されるような工作機
械側の操作盤112に実装され、各手動パルス発生器に
は、X軸用操作ハンドル108,Z軸用操作ハンドル1
09,ガイダンス用操作ハンドル111が取り付けられ
ている。The present position of each axis, alarm, parameter,
An image signal such as image data is transmitted to a CRT / MDI unit 70.
Is sent to the display. The interface 18 receives data from the keyboard of the CRT / MDI unit 70 and passes the data to the processor 11. The interface 19 is connected to a manual pulse generator group 71 composed of three manual pulse generators for X-axis, Z-axis and guidance, and receives pulses from these manual pulse generators. 3 for X axis, Z axis and guidance
The two manual pulse generators are mounted on an operation panel 112 on the machine tool side as shown in FIG. 2, and each of the manual pulse generators has an X-axis operation handle 108 and a Z-axis operation handle 1.
09, a guidance operation handle 111 is attached.
【0010】操作盤112には従来装置と同様にスピン
ドルスイッチ101,スピンドル停止スイッチ102,
クーラントスイッチ103,クーラント停止スイッチ1
04,工具交換スイッチ105,ティーチングスイッチ
106,プレイバックスイッチ107が設けられ、更
に、ガイダンス用操作ハンドル111の機能を選択する
ための選択スイッチ110が配備されている。これらの
スイッチからの信号はI/Oユニット17およびPMC
16を介してプロセッサ11に渡される。The operation panel 112 has a spindle switch 101, a spindle stop switch 102,
Coolant switch 103, coolant stop switch 1
04, a tool change switch 105, a teaching switch 106, a playback switch 107, and a selection switch 110 for selecting a function of the guidance operation handle 111. The signals from these switches are transmitted to I / O unit 17 and PMC
16 to the processor 11.
【0011】軸制御回路30,31はプロセッサ11か
らの各軸の移動指令またはX軸やZ軸の手動パルス発生
器からのパルスを受けて、各軸の指令をサーボアンプ4
0,41に出力する。サーボアンプ40,41はこの指
令を受けて各軸のサーボモータ50,51を駆動する。
X,Z軸のサーボモータ50,51には位置速度検出用
のパルスコーダが内蔵されており、これらのパルスコー
ダからのフィードバック信号が軸制御回路30,31に
フィードバックされる。軸制御回路30,31に内蔵さ
れたサーボ制御CPUの各々はこれらのフィードバック
信号と前述の移動指令とに基いて位置ループ、速度ルー
プ、電流ループの各処理を行い、最終的な駆動制御のた
めの電流指令を各軸毎に求めて各軸のサーボモータ5
0,51の位置、速度を制御する。The axis control circuits 30 and 31 receive the movement command of each axis from the processor 11 or the pulse from the manual pulse generator of the X axis or Z axis, and send the command of each axis to the servo amplifier 4.
Output to 0,41. The servo amplifiers 40 and 41 receive the command and drive the servo motors 50 and 51 of each axis.
The X and Z axis servomotors 50 and 51 have pulse coder for detecting the position and speed, and feedback signals from these pulse coder are fed back to the axis control circuits 30 and 31. Each of the servo control CPUs built in the axis control circuits 30 and 31 performs each processing of a position loop, a speed loop, and a current loop based on these feedback signals and the above-described movement command, and performs final drive control. The current command of each axis is obtained for each axis, and the servo motor 5 of each axis is obtained.
The position and speed of 0 and 51 are controlled.
【0012】スピンドル制御回路60はスピンドル回転
指令およびスピンドルのオリエンテーション等の指令を
受けて、スピンドルアンプ61にスピンドル速度信号を
出力する。スピンドルアンプ61はこのスピンドル速度
信号を受けて、スピンドルモータ62を指令された回転
速度で回転させる。また、オリエンテーション指令によ
って、所定の位置にスピンドルモータ62の回転位置を
位置決めする。The spindle control circuit 60 outputs a spindle speed signal to a spindle amplifier 61 in response to a spindle rotation command and a command such as spindle orientation. Upon receiving the spindle speed signal, the spindle amplifier 61 rotates the spindle motor 62 at the commanded rotation speed. Further, the rotational position of the spindle motor 62 is positioned at a predetermined position in accordance with the orientation command.
【0013】図4ないし図9はプロセッサ11によって
実行されるティーチング処理の概略を示すフローチャー
トである。この処理は、オペレータ側の判断によってC
RT/MDIユニット70からティーチングモードの機
能が選択された段階で自動的に起動されるようになって
いる。以下、旋盤によっワークを加工するティーチング
作業を行う場合を例に取って、ティーチング処理におけ
るプロセッサ11の処理動作を説明する。なお、この段
階では既にスピンドル先端に対するワークの取り付けは
完了しており、タレットの工具ホルダには加工に必要と
される全ての交換用刃物が実装されているものとする。FIGS. 4 to 9 are flowcharts showing the outline of the teaching processing executed by the processor 11. FIG. This processing is performed according to the judgment of the operator.
The function is automatically activated when the teaching mode function is selected from the RT / MDI unit 70. Hereinafter, the processing operation of the processor 11 in the teaching processing will be described by taking, as an example, a case where a teaching operation for processing a workpiece by a lathe is performed. At this stage, it is assumed that the attachment of the work to the tip of the spindle has already been completed, and that all the replacement blades required for machining are mounted on the tool holder of the turret.
【0014】ティーチング処理を開始したプロセッサ1
1は、まず、加工形状の全ての要素を一時記憶するため
の記憶手段を構成するバッファ3の書込ポインタP3W、
読み込みポインタP3Rを初期化して(ステップS1)、
CRT/MDIユニット70から準備加工終了信号が入
力されているか否かを判別する(ステップS2)。この
準備加工終了信号は、荒取り又は中仕上げ加工工程に関
するティーチング作業が完了した段階でオペレータがC
RT/MDIユニット70を操作して入力するものであ
るから、この段階で準備加工終了信号が入力されること
はない。Processor 1 that has started teaching processing
First, a write pointer P3W of a buffer 3 constituting storage means for temporarily storing all the elements of a machining shape,
Initialize the read pointer P3R (step S1),
It is determined whether or not a preparatory machining end signal has been input from the CRT / MDI unit 70 (step S2). The preparatory processing end signal is output by the operator at the stage when the teaching operation relating to the roughing or semi-finishing processing step is completed.
Since the input is performed by operating the RT / MDI unit 70, no preparatory machining end signal is input at this stage.
【0015】そこで、プロセッサ11は、入力動作経路
等の一時記憶用の記憶手段を構成するバッファ1の書込
ポインタP1Wの値および読出ポインタP1Rの値を共に初
期化し(ステップS3,ステップS4)、オペレータが
入力した加工形状の1つの要素の形状データを一時記憶
するためのバッファ2の内容を初期化して(ステップS
5)、各軸の現在位置記憶レジスタから刃物の現在位置
を読み出して終点位置記憶レジスタAおよび直前位置記
憶レジスタBにセットし、動作経路の方向性を記憶する
方向性記憶レジスタV′を初期化する(ステップS
6)。また、移動方向記憶フラグF1,形状入力記憶フ
ラグF2,アプローチ記憶フラグF3,形状加工記憶フ
ラグF4の各々をリセットする(ステップS7)。Therefore, the processor 11 initializes both the value of the write pointer P1W and the value of the read pointer P1R of the buffer 1 constituting the storage means for temporary storage such as the input operation path (steps S3 and S4). Initialize the contents of the buffer 2 for temporarily storing the shape data of one element of the processing shape input by the operator (step S
5) The current position of the blade is read from the current position storage register of each axis and set in the end point position storage register A and the immediately preceding position storage register B, and the direction storage register V 'for storing the direction of the operation path is initialized. (Step S
6). Further, each of the movement direction storage flag F1, the shape input storage flag F2, the approach storage flag F3, and the shape processing storage flag F4 is reset (step S7).
【0016】次いで、プロセッサ11は操作盤112の
ティーチングスイッチ106が操作されているか否かを
判別するが(ステップS8)、このティーチングスイッ
チ106は、荒取り,中仕上げ等の仕上げ加工前の加工
(以下荒加工という)の1加工工程分のティーチング作
業が完了した時点でオペレータによって操作されるもの
であるから、この段階でティーチングスイッチ106が
操作されることはない。Next, the processor 11 determines whether or not the teaching switch 106 of the operation panel 112 has been operated (step S8). The teaching switch 106 performs processing before finishing such as roughing and semi-finishing (step S8). The teaching switch 106 is operated by the operator when the teaching operation for one machining step (hereinafter referred to as rough machining) is completed. Therefore, the teaching switch 106 is not operated at this stage.
【0017】そこで、プロセッサ11は、更に、スピン
ドルスイッチ101,スピンドル停止スイッチ102,
クーラントスイッチ103,クーラント停止スイッチ1
04,工具交換スイッチ105等の補助機能動作のため
のスイッチが操作されているか否かを判別する(ステッ
プS9)。補助機能動作選択の検出手段となるステップ
S9の処理によりスイッチ操作が検出された場合、プロ
セッサ11は、移動方向記憶フラグF1がセットされて
いるか否か、つまり、補助機能動作スイッチが操作され
る直前の刃物の動作経路が既にバッファ1に記憶されて
いるか否かを判別することになる(ステップS22)。Therefore, the processor 11 further includes a spindle switch 101, a spindle stop switch 102,
Coolant switch 103, coolant stop switch 1
04, it is determined whether or not a switch for auxiliary function operation such as the tool change switch 105 is operated (step S9). When the switch operation is detected by the processing of step S9 as the detection means of the auxiliary function operation selection, the processor 11 determines whether or not the movement direction storage flag F1 is set, that is, immediately before the auxiliary function operation switch is operated. It is determined whether or not the operation path of the blade is already stored in the buffer 1 (step S22).
【0018】詳しくは後述するが、この実施形態におい
ては、刃物の動作経路の方向性の変化を検出して経路を
分割し、その各々を独立した動作ブロックとして順次バ
ッファ1に記憶するようにしているので、動作経路の方
向性の変化が検出されない限り刃物の動作経路はバッフ
ァ1に記憶されず、また、移動方向記憶フラグF1は、
1ブロック分の動作経路が新たにバッファ1に記憶され
た段階でリセットされる一方、刃物の移動方向が同じ向
きに維持されている間はセット状態が保持されるように
なっている。As will be described in detail later, in this embodiment, a change in the direction of the operating path of the blade is detected, the path is divided, and each of the paths is stored in the buffer 1 as an independent operation block. Therefore, the motion path of the blade is not stored in the buffer 1 unless a change in directionality of the motion path is detected, and the movement direction storage flag F1 is
While the operation path for one block is reset when it is newly stored in the buffer 1, the set state is maintained while the moving direction of the blade is maintained in the same direction.
【0019】従って、ステップS22の判別結果が真と
なった場合、つまり、刃物の移動方向が同じ向きに維持
されている間にスピンドルスイッチ101,スピンドル
停止スイッチ102,クーラントスイッチ103,クー
ラント停止スイッチ104,工具交換スイッチ105等
の補助機能動作スイッチが操作された場合には、前回の
分割経路の終点位置から今回の補助機能動作スイッチ操
作時点の刃物現在位置までの区間に相当する刃物の動作
経路を求め、補助機能動作スイッチの操作を記憶する前
の段階でバッファ1に記憶させておく必要がある。Therefore, if the result of the determination in step S22 is true, that is, while the moving direction of the blade is maintained in the same direction, the spindle switch 101, the spindle stop switch 102, the coolant switch 103, and the coolant stop switch 104 When the auxiliary function operation switch such as the tool change switch 105 is operated, the operation path of the blade corresponding to the section from the end point position of the previous divided path to the current position of the blade at the time of operating the auxiliary function operation switch this time is set. It is necessary to store the operation of the auxiliary function operation switch in the buffer 1 before storing the operation.
【0020】そこで、ステップS22の判別結果が真と
なった場合、プロセッサ11は、ステップS23に示さ
れるSUB(A)の処理を実行し、前回の分割経路の終
点位置から補助機能動作スイッチ操作時点の刃物現在位
置までに相当する刃物の動作経路を求めて自動記憶手段
となるバッファ1に記憶する。If the result of the determination in step S22 is true, the processor 11 executes the SUB (A) process shown in step S23, and starts the operation of the auxiliary function operation switch from the last end position of the divided path. The motion path of the blade corresponding to the current position of the blade is obtained and stored in the buffer 1 serving as automatic storage means.
【0021】SUB(A)の処理の詳細を図8に示す。
プロセッサ11は、まず、後述する直前位置記憶レジス
タBに記憶する刃物の現在位置と、終点位置記憶レジス
タAに記憶されている前回の分割経路の終点位置との関
係に基いて、前回の分割経路の終点位置Aから補助機能
動作スイッチ操作時点の刃物の現在位置までに相当する
刃物の動作経路を求め、この動作経路を書込ポインタの
アドレス指定に従ってバッファ1に記憶し(ステップA
1)、終点位置記憶レジスタAの内容を直前位置記憶レ
ジスタBに記憶する刃物の現在位置、要するに、今回新
たに記憶した分割経路の終点位置に更新する(ステップ
A2)。そして、書込ポインタP1Wの値をインクリメン
トしてバッファ1における次の分割経路もしくは補助機
能動作コマンドの書き込みアドレスを記憶し(ステップ
A3)、移動方向記憶フラグF1をリセットする(ステ
ップA4)。FIG. 8 shows the details of the SUB (A) processing.
The processor 11 first determines the last divided path based on the relationship between the current position of the blade stored in the immediately preceding position storage register B described later and the end point position of the previous divided path stored in the end point position storage register A. Of the blade corresponding to the current position of the blade at the time of operating the auxiliary function operation switch from the end point position A, and stores this operation path in the buffer 1 in accordance with the address designation of the write pointer (step A).
1) Update the contents of the end point position storage register A to the current position of the blade stored in the immediately preceding position storage register B, that is, the end point position of the divided path newly stored this time (step A2). Then, the value of the write pointer P1W is incremented to store the next divided path in the buffer 1 or the write address of the auxiliary function operation command (step A3), and the movement direction storage flag F1 is reset (step A4).
【0022】つまり、刃物を全く同じ方向に移動させて
いた場合であっても、その間に補助機能動作スイッチが
操作された場合には、スイッチ操作時点に対応する刃物
の位置によって刃物の動作経路が自動的に分割され、前
回の分割経路の終点位置から補助機能動作スイッチ操作
時点の刃物の現在位置に至る刃物の動作経路が自動的に
バッファ1に記憶されるということである。なお、移動
方向記憶フラグF1がリセットされていてステップS2
2の判別結果が偽となった場合は、補助機能動作スイッ
チが操作された時点までの動作経路が既にバッファ1に
記憶されている状態を意味するので、改めてステップS
23の処理を実行する必要はない。That is, even if the blade is moved in exactly the same direction, if the auxiliary function operation switch is operated during that time, the operation path of the blade depends on the position of the blade corresponding to the switch operation time. That is, the operation path of the blade from the end point of the previous division path to the current position of the blade at the time of operating the auxiliary function operation switch is automatically stored in the buffer 1 automatically. It should be noted that the moving direction storage flag F1 has been reset and step S2
If the determination result of step 2 is false, it means that the operation path up to the point when the auxiliary function operation switch is operated is already stored in the buffer 1, so that step S is repeated.
It is not necessary to execute the process of 23.
【0023】ステップS22またはステップS23の処
理を終えたプロセッサ11は、次いで、ステップS24
に示されるSUB(B)の処理を実行し、前述したステ
ップS9の処理で検出された補助機能動作に対応する処
理を実行すると共に、この補助機能動作に対応するコマ
ンドをバッファ1に記憶する。After completing the processing in step S22 or S23, the processor 11 then proceeds to step S24
The SUB (B) process shown in (1) is executed, the process corresponding to the auxiliary function operation detected in the above-described step S9 is executed, and the command corresponding to the auxiliary function operation is stored in the buffer 1.
【0024】SUB(B)の処理の詳細を図9に示す。
プロセッサ11は、まず、選択された補助機能動作スイ
ッチに対応する指令、例えば、スピンドルモータのON
/OFF等を機械側に指令し(ステップB1)、この指
令に対応するコマンドを書込ポインタのアドレス指定に
従ってバッファ1に記憶して(ステップB2)、書込ポ
インタP1Wの値をインクリメントし、バッファ1におけ
る次の分割経路もしくは補助機能動作コマンドの書き込
みアドレスを記憶する(ステップB3)。FIG. 9 shows the details of the SUB (B) processing.
The processor 11 first issues a command corresponding to the selected auxiliary function operation switch, for example, turning on the spindle motor.
/ OFF, etc., to the machine side (step B1), a command corresponding to this command is stored in the buffer 1 in accordance with the address designation of the write pointer (step B2), and the value of the write pointer P1W is incremented. The write address of the next divided path in 1 or the auxiliary function operation command is stored (step B3).
【0025】次いで、プロセッサ11はステップS8の
処理に移行し、再びスイッチ操作やハンドル操作等の検
出処理を前記と同様にして開始する。また、これら補助
機能動作のためのスイッチ操作が検出されずステップS
9の判別結果が偽となった場合には、プロセッサ11
は、更に、形状入力記憶フラグF2がセットされている
か否か、即ち、バッファ2に対するオペレータの形状入
力操作がこの段階で既に実行されているか否かを判別す
る(ステップS10)。Next, the processor 11 shifts to the process of step S8, and starts the detection process of the switch operation, the steering wheel operation and the like again in the same manner as described above. Further, the switch operation for the operation of these auxiliary functions is not detected and step S
9 is false, the processor 11
Determines whether the shape input storage flag F2 is set, that is, whether the operator has already performed the shape input operation on the buffer 2 at this stage (step S10).
【0026】そして、バッファ2に対する形状入力操作
が行われていない場合、つまり、形状入力記憶フラグF
2がセットされていない場合には、バッファ2に対する
オペレータの形状入力操作が改めて許容されることにな
る。When no shape input operation has been performed on the buffer 2, that is, when the shape input storage flag F
If 2 has not been set, the operator is allowed to input the shape of the buffer 2 again.
【0027】この場合、オペレータがCRT/MDIユ
ニット70を操作して形状入力モードを選択すれば、C
RT/MDIユニット70のキーボードからの数値入力
等により、加工すべき加工形状の1つの要素データを任
意にバッファ2,3に設定することができる。バッファ
2に加工形状要素データを設定するといった作業は旋盤
におけるティーチング作業において必須の要件となるも
のではなく、当然、X軸用操作ハンドル108およびZ
軸用操作ハンドル109の操作のみによって全ての加工
工程のティーチング作業を達成することも可能である
が、バッファ2に加工形状要素データを予め設定してお
くことによって、後述するように、仕上げ加工のティー
チング作業を自動的に行うことが可能になる。In this case, if the operator operates the CRT / MDI unit 70 and selects the shape input mode, C
One element data of a processing shape to be processed can be arbitrarily set in the buffers 2 and 3 by inputting a numerical value from the keyboard of the RT / MDI unit 70 or the like. The operation of setting the processing shape element data in the buffer 2 is not an essential requirement in the teaching operation on the lathe, and the X-axis operation handle 108 and the Z-axis
Although it is possible to achieve teaching work in all machining steps only by operating the shaft operation handle 109, by setting machining shape element data in the buffer 2 in advance, as described later, Teaching work can be performed automatically.
【0028】もし、オペレータがこの機能を利用したい
場合は、刃物をワークに接触させる前の任意の段階で、
CRT/MDIユニット70を操作して形状入力モード
を選択し、キーボードからの数値入力等を利用して、加
工すべき加工形状要素データをバッファ2、及びバッフ
ァ3に設定するようにする。なお、後述するように、バ
ッファ2はステップS5で初期化されることから、バッ
ファ2には、加工形状の1要素データのみが記憶され、
バッファ3には入力される全ての加工形状要素データが
記憶されるものである。If the operator wants to use this function, at any stage before bringing the blade into contact with the workpiece,
The shape input mode is selected by operating the CRT / MDI unit 70, and the processed shape element data to be processed is set in the buffer 2 and the buffer 3 by using a numerical value input from a keyboard or the like. As will be described later, since the buffer 2 is initialized in step S5, only one element data of the processed shape is stored in the buffer 2.
The buffer 3 stores all input machining shape element data.
【0029】形状入力モードが選択された場合はステッ
プS11の判別結果が真となるので、プロセッサ11は
オペレータによる形状入力操作を受け入れてバッファ2
及びバッファ3に入力される加工形状要素データを保存
し(ステップS12、ステップS13)、バッファ3の
書込ポインタP3Wを「1」インクリメントし(ステップ
S14)、形状入力記憶フラグF2をセットする(ステ
ップS15)。If the shape input mode is selected, the result of the determination in step S11 becomes true, so that the processor 11 accepts the shape input operation by the operator, and
Then, the machining shape element data input to the buffer 3 is stored (steps S12 and S13), the write pointer P3W of the buffer 3 is incremented by "1" (step S14), and the shape input storage flag F2 is set (step S14). S15).
【0030】また、ステップS10の判別処理によって
形状入力記憶フラグF2がセットされていると判別され
た場合、つまり、バッファ2に対するオペレータの形状
入力操作が既に実行されていると判別された場合には、
バッファ2に保存された加工形状要素データを利用する
ことにより、簡略化したアプローチ操作や刃物の切削送
り操作が可能となるので、プロセッサ11は、更に、選
択スイッチ110によってガイダンス用操作ハンドル1
11のアプローチ動作機能が選択されているのか形状加
工動作機能が選択されているのかを判別することになる
(ステップS16,ステップS17)。When it is determined that the shape input storage flag F2 has been set by the determination processing in step S10, that is, when it is determined that the operator has already performed the shape input operation on the buffer 2, ,
By using the machining shape element data stored in the buffer 2, a simplified approach operation and a cutting feed operation of a blade can be performed. The processor 11 further operates the selection operation switch 1 by the selection switch 110.
It is determined whether the eleventh approach operation function or the shape processing operation function is selected (steps S16 and S17).
【0031】そして、アプローチ動作機能が選択されて
いれば、プロセッサ11は、アプローチ記憶フラグF3
をセットして形状加工記憶フラグF4をリセットし(ス
テップS20,ステップS21)、また、形状加工動作
機能が選択されていれば、形状加工記憶フラグF4をセ
ットしてアプローチ記憶フラグF3をリセットする(ス
テップS18,ステップS19)。If the approach operation function is selected, the processor 11 sets the approach storage flag F3
Is set to reset the shape processing storage flag F4 (steps S20 and S21). If the shape processing operation function is selected, the shape processing storage flag F4 is set and the approach storage flag F3 is reset (step S20). Steps S18 and S19).
【0032】つまり、簡略化したアプローチ操作や刃物
の切削送り操作を実施するためには、バッファ2に加工
形状要素データが保存されていることが必須の要件であ
り、この加工形状要素データが保存されていない場合、
プロセッサ11は選択スイッチ110の設定状態を参照
しない(ステップS10参照)。従って、アプローチ記
憶フラグF3や形状加工記憶フラグF4がセットされる
のは、バッファ2に加工形状要素データが保存されて形
状入力記憶フラグF2がセットされている場合に限られ
る。That is, in order to carry out the simplified approach operation and the cutting feed operation of the blade, it is essential that the machining shape element data is stored in the buffer 2, and the machining shape element data is stored. If not,
The processor 11 does not refer to the setting state of the selection switch 110 (see step S10). Therefore, the approach storage flag F3 and the shape processing storage flag F4 are set only when the processed shape element data is stored in the buffer 2 and the shape input storage flag F2 is set.
【0033】既に述べた通り、バッファ2に加工形状要
素データを設定するか否かはオペレータの自由であり、
また、バッファ2に加工形状要素データを設定する場合
には、刃物をワークに接触させる前の任意の段階でバッ
ファ2,3に対する加工形状要素データ設定作業を行う
ことができる。As described above, it is up to the operator whether to set the machining shape element data in the buffer 2 or not.
When setting the processing shape element data in the buffer 2, the processing shape element data setting operation for the buffers 2 and 3 can be performed at an arbitrary stage before the blade is brought into contact with the workpiece.
【0034】ステップS15,ステップS11,ステッ
プS17,ステップS19もしくはステップS21の処
理を終えたプロセッサ11は、次いで、ガイダンス用操
作ハンドル111が操作されているか否かを判別する
(ステップS25)。このガイダンス用操作ハンドル1
11は、バッファ2に保存された加工形状要素データを
利用してアプローチ操作や刃物の切削送り操作を行うた
めのものである。ガイダンス用操作ハンドル111が操
作された場合、プロセッサ11は、まず、アプローチ記
憶フラグF3がセットされているのか(ステップS2
6)、形状加工記憶フラグF4がセットされているのか
を判別し(ステップS27)、アプローチ記憶フラグF
3がセットされていれば、バッファ2に保存された加工
形状要素データに基いてワークの法線方向ベクトル(ア
プローチ方向)を求め、X軸およびZ軸のサーボモータ
50,51に対する移動指令パルスの分配比を算出し、
ガイダンス用操作ハンドル111の操作量に応じてX軸
およびZ軸のサーボモータ50,51に移動指令パルス
を分配して刃物をワークに接近し切削する。または離間
させる(ステップS33)。そして刃物の現在位置を更
新する(ステップS35)。ガイダンス用操作ハンドル
111を正方向に回転させれば接近(アプローチ)、ま
た、逆方向に回転させれば離間の移動である。After completing the processing in step S15, step S11, step S17, step S19 or step S21, the processor 11 determines whether or not the guidance operation handle 111 is operated (step S25). Operation handle 1 for this guidance
Reference numeral 11 denotes an operation for performing an approach operation or a cutting feed operation of a blade using the processed shape element data stored in the buffer 2. When the guidance operation handle 111 is operated, the processor 11 first determines whether the approach storage flag F3 is set (step S2).
6) It is determined whether the shape processing storage flag F4 is set (step S27), and the approach storage flag F is determined.
If 3 is set, the normal direction vector (approach direction) of the workpiece is obtained based on the machining shape element data stored in the buffer 2, and the movement command pulse for the X-axis and Z-axis servomotors 50 and 51 is obtained. Calculate the distribution ratio,
Movement command pulses are distributed to the X-axis and Z-axis servo motors 50 and 51 in accordance with the operation amount of the guidance operation handle 111 to cut the blade close to the workpiece. Alternatively, they are separated (step S33). Then, the current position of the blade is updated (step S35). Rotating the guidance operation handle 111 in the forward direction indicates approach (approach), and rotating the guidance operation handle 111 in the reverse direction indicates separation movement.
【0035】また、形状加工記憶フラグF4がセットさ
れていれば、プロセッサ11は、バッファ2に保存され
た加工形状要素データと該データ上における刃物の現在
位置とに基いてX軸およびZ軸のサーボモータ50,5
1に対する移動指令パルスの分配比を算出し、ガイダン
ス用操作ハンドル111の操作量に応じてX軸およびZ
軸のサーボモータ50,51に移動指令パルスを分配
し、加工形状要素に沿って刃物を移動させ切削する(ス
テップS34)。そして刃物の現在位置を更新する(ス
テップS35)。If the shape processing storage flag F4 is set, the processor 11 sets the X-axis and Z-axis based on the processing shape element data stored in the buffer 2 and the current position of the blade on the data. Servo motor 50, 5
1 is calculated, and the X-axis and Z-axis are distributed in accordance with the operation amount of the guidance operation handle 111.
The movement command pulse is distributed to the servomotors 50 and 51 of the shaft, and the cutting tool is moved along the processing shape element to perform cutting (step S34). Then, the current position of the blade is updated (step S35).
【0036】つまり、フラグF4がセットされて形状加
工動作機能が選択された状態でガイダンス用操作ハンド
ル111が操作された場合には、刃物は常に加工形状要
素に沿って移動するということである。従って、基本的
には、前述したアプローチ動作機能を利用するか、また
は、X軸用操作ハンドル108やZ軸用操作ハンドル1
09の操作により、予め刃物の現在位置を加工形状要素
の加工開始点に一致させてから形状加工動作機能を選択
し、ガイダンス用操作ハンドル111を操作するのが正
しい。That is, when the guidance operation handle 111 is operated in a state where the flag F4 is set and the shape processing operation function is selected, the blade always moves along the processed shape element. Therefore, basically, the above-described approach operation function is used, or the X-axis operation handle 108 or the Z-axis operation handle 1 is used.
It is correct to operate the guidance operation handle 111 by selecting the shape processing operation function after making the current position of the blade coincide with the processing start point of the processed shape element by the operation of 09 in advance.
【0037】アプローチ記憶フラグF3も形状加工記憶
フラグF4もセットされていない場合には、ガイダンス
用操作ハンドル111の操作は無視される。一方、ガイ
ダンス用操作ハンドル111の操作が検出されずにステ
ップS25の判別結果が偽となった場合、プロセッサ1
1は、X軸用操作ハンドル108もしくはZ軸用操作ハ
ンドル109が操作されたか否かを判別し(ステップS
38)、いずれかの操作ハンドルが操作されていれば、
その操作量に応じてX軸またはZ軸のサーボモータ5
0,51に移動指令パルスを分配して刃物を移動させる
(ステップS39)。そして刃物の現在位置を更新する
(ステップS35)。When neither the approach storage flag F3 nor the shape processing storage flag F4 is set, the operation of the guidance operation handle 111 is ignored. On the other hand, when the operation of the guidance operation handle 111 is not detected and the determination result of step S25 is false, the processor 1
1 determines whether the X-axis operation handle 108 or the Z-axis operation handle 109 has been operated (step S).
38), if any operation handle is operated,
X-axis or Z-axis servo motor 5 according to the operation amount
The movement command pulse is distributed to 0 and 51 to move the blade (step S39). Then, the current position of the blade is updated (step S35).
【0038】ステップS35もしくはステップS38の
処理を終えたプロセッサ11は、次いで、各軸の現在位
置記憶レジスタから刃物の現在位置を読み出して直前位
置レジスタBの各軸の現在値と比較し、ステップS3
3,ステップS34もしくはステップ39の処理によっ
て刃物が移動されたか否かを判別する(ステップS2
8)。当然、各軸の現在位置記憶レジスタから読み出し
た刃物の現在位置と直前位置記憶レジスタBの各軸の現
在値とが一致すれば移動はなし、また、両者間に変化が
あれば移動があったということになる。After finishing the processing in step S35 or step S38, the processor 11 reads the current position of the blade from the current position storage register of each axis and compares it with the current value of each axis in the immediately preceding position register B, and then proceeds to step S3.
3. It is determined whether or not the blade has been moved by the processing in step S34 or step 39 (step S2).
8). Naturally, if the current position of the blade read from the current position storage register of each axis matches the current value of each axis in the immediately preceding position storage register B, there is no movement, and if there is a change between the two, there is movement. Will be.
【0039】ステップS28の判別処理によって刃物の
移動が検出された場合、プロセッサ11は、まず、各軸
の現在位置記憶レジスタから読み出した刃物の現在位置
と直前位置記憶レジスタBの各軸の現在値とに基いて今
回のハンドル操作による移動方向V(X,Z)の方向ベ
クトルを求め(ステップS29)、方向性記憶レジスタ
V′の値と比較して、両者が一致するか否か、つまり、
今回のハンドル操作による刃物の移動方向と前回のハン
ドル操作による刃物の移動方向とが同じであるか否かを
判定する(ステップS30)。If the movement of the blade is detected by the determination processing in step S28, the processor 11 firstly reads the current position of the blade read from the current position storage register of each axis and the current value of each axis in the immediately preceding position storage register B. Then, the direction vector of the moving direction V (X, Z) by the current steering operation is obtained (step S29), and is compared with the value of the direction storage register V 'to determine whether or not they match, that is,
It is determined whether the direction of movement of the blade by the current operation of the steering wheel is the same as the direction of movement of the blade by the previous operation of the steering wheel (step S30).
【0040】但し、比較対象となる方向性記憶レジスタ
V′の値が初期設定値V′=(0,0)である場合に
は、Vの値に関わりなく、VとV′とが一致するものと
見做す。結果的に、このような判別態様が生じるのは、
最初にハンドルを動かした場合だけである。However, if the value of the direction storage register V 'to be compared is the initial set value V' = (0,0), V and V 'match regardless of the value of V. I assume it. As a result, such a discrimination mode occurs because:
Only when you first move the handle.
【0041】そして、今回のハンドル操作による移動方
向Vと前回のハンドル操作による移動方向V′とが一致
した場合、プロセッサ11は、移動方向記憶フラグF1
をセットして前回の移動方向と今回の移動方向が同一で
あることを記憶し(ステップS31)、方向性記憶レジ
スタV′の値を方向性記憶レジスタVの値に更新すると
共に、直前位置記憶レジスタBの各軸の現在値を各軸の
現在位置記憶レジスタの値に更新する(ステップS3
2)。なお、ステップS30の処理でV′の値とVの値
が一致していると判定されているにも関わらずV′の値
をVに更新するのは、最初にハンドルが操作された時の
移動方向をレジスタV′に記憶させて初期値(0,0)
との置き換えを行うためである。If the moving direction V of the current steering operation matches the moving direction V 'of the previous steering operation, the processor 11 sets the moving direction storage flag F1.
Is stored to store that the previous moving direction is the same as the current moving direction (step S31), the value of the direction storage register V 'is updated to the value of the direction storage register V, and the immediately preceding position is stored. The current value of each axis of the register B is updated to the value of the current position storage register of each axis (Step S3)
2). Although the value of V 'is determined to be equal to the value of V in the process of step S30, the value of V' is updated to V when the handle is first operated. The moving direction is stored in the register V 'and the initial value (0, 0) is stored.
In order to perform the replacement.
【0042】また、今回のハンドル操作による刃物の移
動方向Vと前回のハンドル操作による刃物の移動方向
V′とが一致せずにステップS30の判別結果が偽とな
った場合には、刃物の移動方向が変化したことを意味す
るので、プロセッサ11は、前述したSUB(A)の処
理を実行し、直前位置記憶レジスタBから読み出した刃
物の直前位置と、終点位置記憶レジスタAに記憶されて
いる前回の分割経路の終点位置との関係に基いて、前回
の分割経路の終点位置Aから方向変化点となる直前位置
までの刃物の動作経路を求め、この動作経路を書込ポイ
ンタのアドレス指定に従ってバッファ1に記憶し、終点
位置記憶レジスタAの内容を直前位置記憶レジスタBに
記憶する直前位置、要するに、今回新たに記憶した分割
経路の終点位置に更新し、書込ポインタの値をインクリ
メントしてバッファ1における次の分割経路もしくは補
助機能動作コマンドの書き込みアドレスを記憶すると共
に、移動方向記憶フラグF1をリセットする(以上、ス
テップS36)。If the moving direction V of the blade by the current operation of the steering wheel does not match the moving direction V 'of the blade by the previous operation of the steering wheel and the determination result in step S30 is false, the movement of the blade is moved. Since this means that the direction has changed, the processor 11 executes the above-described SUB (A) processing, and stores the immediately preceding position of the blade read from the immediately preceding position storage register B and the end point position storage register A. Based on the relationship with the end point position of the previous divided path, the operation path of the blade from the end point position A of the previous divided path to the position immediately before the direction change point is obtained, and this operation path is determined according to the address designation of the write pointer. The data is stored in the buffer 1, and the contents of the end point storage register A are updated to the immediately preceding position where the contents of the end position storage register B are stored in the immediately preceding position storage register B. And increments the value of the write pointer stores the write address of the next split-path or miscellaneous function operation command in the buffer 1, to reset the moving direction storage flag F1 (above, step S36).
【0043】更に、方向性記憶レジスタV′の値を方向
性記憶レジスタVの値に更新すると共に、直前位置記憶
レジスタBの各軸の現在値を各軸の現在位置記憶レジス
タの値に更新する(ステップS37)。ステップS28
の判別処理によって刃物の移動が検出されなかった場合
には、ステップS29乃至ステップS32、および、ス
テップS36乃至ステップS37の処理は非実行とされ
る。Further, the value of the direction storage register V 'is updated to the value of the direction storage register V, and the current value of each axis of the immediately preceding position storage register B is updated to the value of the current position storage register of each axis. (Step S37). Step S28
If the movement of the blade is not detected by the determination processing of step S29, the processing of steps S29 to S32 and steps S36 to S37 is not executed.
【0044】そして、ステップS32,ステップS37
もしくはステップS28の処理を終えたプロセッサ11
は、再びステップS8の処理に移行して、スイッチ操作
やハンドル操作等の検出処理を前記と同様にして開始す
る。荒加工の各々の加工工程に関するティーチング作業
は、以上に述べたステップS1乃至ステップS39にお
けるプロセッサ11側の処理と、オペレータによる各種
補助機能動作スイッチ101,102,103,10
4,105の操作、および、各種操作ハンドル108,
109,111ならびに選択スイッチ110の操作によ
って行われる。Then, step S32, step S37
Alternatively, the processor 11 that has completed the processing of step S28
Shifts to the process of step S8 again, and starts the detection process of the switch operation, the steering wheel operation and the like in the same manner as described above. The teaching work relating to each machining step of the rough machining includes the processing on the processor 11 side in steps S1 to S39 described above, and various auxiliary function operation switches 101, 102, 103, 10 by the operator.
4, 105, and various operation handles 108,
This is performed by operating the selection switches 109 and 111 and the selection switch 110.
【0045】ここで、これらの操作がどのようにしてバ
ッファ1に自動記憶されるかについて簡単に説明する。
まず、スピンドルスイッチ101,スピンドル停止スイ
ッチ102,クーラントスイッチ103,クーラント停
止スイッチ104,工具交換スイッチ105等の各種補
助機能動作スイッチの操作はステップS8の判別処理に
よってプロセッサ11に検出され、ステップS24の処
理、即ち、SUB(B)の処理によってバッファ1に記
憶される。Here, how these operations are automatically stored in the buffer 1 will be briefly described.
First, the operation of various auxiliary function operation switches such as the spindle switch 101, the spindle stop switch 102, the coolant switch 103, the coolant stop switch 104, and the tool change switch 105 is detected by the processor 11 in the determination processing in step S8, and the processing in step S24. That is, the data is stored in the buffer 1 by the processing of SUB (B).
【0046】また、同一方向に刃物を移動させている時
にこれらの補助機能動作スイッチの操作が検出された場
合には、ステップS9の判別処理に続くステップS22
の判別処理によって移動方向記憶フラグフラグF1のセ
ット状態が検出され、プロセッサ11は、ステップS2
3、即ち、SUB(A)の処理により、補助機能動作ス
イッチの操作が検出された時点の刃物の位置で刃物の動
作経路を自動的に分割し、それまでの刃物の動作経路を
バッファ1に記憶してから、ステップS24、即ち、S
UB(B)の処理を実行して、各種補助機能動作スイッ
チの操作をバッファ1に記憶する。無論、刃物を移動さ
せずに複数の補助機能動作スイッチが連続的に操作され
た場合には、補助機能動作スイッチが操作される度にス
テップS24におけるSUB(B)の処理が繰り返し実
行され、その選択操作がバッファ1に時系列で記憶され
ることになる。If the operation of these auxiliary function operation switches is detected while the blade is being moved in the same direction, step S22 following the determination processing of step S9.
The set state of the movement direction storage flag flag F1 is detected by the determination processing of step S2, and the processor 11 determines in step S2
3, that is, by the processing of SUB (A), the operation path of the blade is automatically divided at the position of the blade at the time when the operation of the auxiliary function operation switch is detected, and the operation path of the blade until that time is stored in the buffer 1. After storing, step S24, that is, S
The processing of UB (B) is executed, and the operation of various auxiliary function operation switches is stored in the buffer 1. Of course, when a plurality of auxiliary function operation switches are continuously operated without moving the blade, the process of SUB (B) in step S24 is repeatedly executed each time the auxiliary function operation switch is operated, and The selection operation is stored in the buffer 1 in chronological order.
【0047】また、X軸用操作ハンドル108やZ軸用
操作ハンドル109の操作による刃物の移動、および、
ガイダンス用操作ハンドル111の操作による刃物の移
動は夫々ステップS28の判別処理で検出され、ステッ
プS29およびステップS30の処理により今回のハン
ドル操作による刃物の移動方向Vと前回のハンドル操作
による刃物の移動方向V′とが比較される。そして、刃
物の移動方向の変化が検出された場合に限り、刃物の動
作経路が今回の方向変化点で自動的に分割され、ステッ
プS36、即ち、SUB(A)の処理によって、前回の
分割経路の終点位置から刃物の現在位置までの動作経路
が求められ、これが1ブロック分の動作経路としてバッ
ファ1に記憶される。The movement of the blade by operating the X-axis operation handle 108 or the Z-axis operation handle 109, and
The movement of the blade due to the operation of the guidance operation handle 111 is detected by the discriminating processing in step S28, respectively, and the processing in steps S29 and S30 causes the moving direction V of the blade by the current handle operation and the moving direction of the blade by the previous handle operation. V '. Then, only when a change in the moving direction of the blade is detected, the operating path of the blade is automatically divided at the current direction change point, and the processing of step S36, that is, SUB (A), causes the previous divided path to be executed. An operation path from the end point position to the current position of the blade is obtained, and this is stored in the buffer 1 as an operation path for one block.
【0048】従って、従来装置とは相違し、ハンドル1
08および109を1回操作する度にティーチングスイ
ッチ106を操作して1ブロック分の動作経路を保存す
るといった手動操作は必要なく、また、プレイバック時
における刃物の干渉等を考慮してオペレータ自らがティ
ーチングポイントを決めて刃物の動作経路を分割すると
いった必要もない。更に、従来装置では不可能であった
補助機能動作スイッチの操作に関するティーチング作業
も、刃物の動作経路のティーチングと同時に行うことが
できる。Therefore, unlike the conventional device, the handle 1
There is no need for manual operation such as operating the teaching switch 106 to save the operation path for one block each time the 08 and 109 are operated once. In addition, the operator himself or herself takes into consideration the interference of the blade during playback and the like. There is no need to determine the teaching point and divide the operating path of the blade. Further, a teaching operation relating to the operation of the auxiliary function operation switch, which is impossible with the conventional device, can be performed simultaneously with the teaching of the operation path of the blade.
【0049】ハンドル操作による刃物移動の検出、およ
び、それに伴う動作経路の記憶処理は、その移動がX軸
用操作ハンドル108やZ軸用操作ハンドル109の操
作によるものであろうと、ガイダンス用操作ハンドル1
11の操作によるものであろうと全く同様であり、ステ
ップS28乃至ステップS32およびステップS33乃
至ステップS37によって処理される。The detection of the movement of the blade by the operation of the handle and the storage processing of the operation path accompanying the operation are performed regardless of whether the movement is caused by the operation of the X-axis operation handle 108 or the Z-axis operation handle 109. 1
This is exactly the same as if by the operation 11 and is processed by steps S28 to S32 and steps S33 to S37.
【0050】つまり、選択スイッチ110によりアプロ
ーチ動作機能が選択された状態でガイダンス用操作ハン
ドル111が操作されることによりバッファ2に記憶さ
れている加工形状要素データに基いてワークの法線方向
に刃物が移動していようと(ステップS33)、また、
選択スイッチ110により形状加工動作機能が選択され
た状態でガイダンス用操作ハンドル111が操作される
ことによりバッファ2に記憶されている加工形状要素デ
ータを参照しながら刃物が加工形状要素に沿って移動し
ていようと(ステップS34)、更には、オペレータが
全く任意にX軸用操作ハンドル108やZ軸用操作ハン
ドル109を操作して刃物を移動させていようとも(ス
テップS39)、バッファ1に記憶される動作経路は、
飽くまで、実際の刃物の動作経路そのものである。That is, when the guidance operation handle 111 is operated in a state where the approach operation function is selected by the selection switch 110, the blade is moved in the normal direction of the workpiece based on the processing shape element data stored in the buffer 2. Is moving (step S33),
By operating the guidance operation handle 111 in a state where the shape processing operation function is selected by the selection switch 110, the blade moves along the processing shape element while referring to the processing shape element data stored in the buffer 2. Whether or not the operator operates the X-axis operation handle 108 or the Z-axis operation handle 109 to move the blade (step S39), the data is stored in the buffer 1. Operating path is
Until you get bored, it is the actual movement path of the actual blade.
【0051】これは、ステップS36もしくはステップ
S23の処理において動作経路を演算する際に、常に
X,Z各軸の現在位置記憶レジスタのデータが参照され
るからである。This is because the data of the current position storage registers of the X and Z axes are always referred to when the operation path is calculated in the processing of step S36 or step S23.
【0052】従って、バッファ2に加工形状要素データ
を設定せずに全ての切削をX軸用操作ハンドル108や
Z軸用操作ハンドル109による手動操作で行ってティ
ーチング作業の動作経路をバッファ1に記憶させること
もできるし、また、バッファ2に加工形状要素データを
予め設定しておいて、選択スイッチ110とガイダンス
用操作ハンドル111とのコンビネーションによって得
られる半自動操作、つまり、形状加工動作機能およびア
プローチ動作機能と、X軸用操作ハンドル108および
Z軸用操作ハンドル109による完全手動操作とを任意
に組み合わせて、これらの機能をうまく利用してティー
チング作業を行って、その動作経路をバッファ1に記憶
させることもできる。Therefore, without setting the machining shape element data in the buffer 2, all cutting is performed manually by the X-axis operation handle 108 or the Z-axis operation handle 109, and the operation path of the teaching operation is stored in the buffer 1. It is also possible to set the machining shape element data in the buffer 2 in advance, and obtain a semi-automatic operation obtained by a combination of the selection switch 110 and the guidance operation handle 111, that is, a shape machining operation function and an approach operation. The function and the complete manual operation using the X-axis operation handle 108 and the Z-axis operation handle 109 are arbitrarily combined, and a teaching operation is performed by making good use of these functions, and the operation path is stored in the buffer 1. You can also
【0053】次に、形状加工動作機能やアプローチ動作
機能を利用した理想的なティーチング作業について説明
する。なお、バッファ2には加工に必要とされる加工形
状要素データが既に設定され、スピンドルにはワークが
取り付けられて刃物は安全な位置に退避しているものと
する。オペレータは、まず、スピンドルスイッチ101
を操作して、スピンドル即ちワークの回転を開始させ、
クーラントスイッチ103を操作して潤滑冷却液の供給
を開始し、必要な刃物を選択して工具交換スイッチ10
5を操作することにより、工具自動交換機を作動させて
刃物台に必要な刃物を装着する。これら補助機能動作関
係のスイッチ操作はステップS9の判別処理で順番に検
出され、ステップS23におけるSUB(B)の処理に
よってバッファ1に順次時系列的に記憶される。Next, an ideal teaching operation utilizing the shape processing operation function and the approach operation function will be described. It is assumed that machining shape element data required for machining is already set in the buffer 2, the workpiece is attached to the spindle, and the blade is retracted to a safe position. The operator first sets the spindle switch 101
To start rotation of the spindle, that is, the work,
By operating the coolant switch 103, the supply of the lubricating coolant is started, the necessary cutting tool is selected, and the tool change switch 10 is selected.
By operating the tool 5, the automatic tool changer is operated and the necessary tool is mounted on the tool rest. These auxiliary function operation-related switch operations are sequentially detected in the determination processing of step S9, and are sequentially and sequentially stored in the buffer 1 by the SUB (B) processing in step S23.
【0054】次に、オペレータは、X軸用操作ハンドル
108やZ軸用操作ハンドル109を操作して刃物をワ
ークの近傍、より望ましくは加工形状要素データの加工
開始点に移動させる。最終的なアプローチ操作は、選択
スイッチ110でアプローチ動作機能を選択し、ガイダ
ンス用操作ハンドル111を操作して行ってもよい。そ
の場合、最終的なアプローチ動作はワークの法線方向に
制限される。既に述べた通り、X軸用操作ハンドル10
8やZ軸用操作ハンドル109を操作して刃物を移動さ
せた場合でも、また、アプローチ動作機能を利用して刃
物を移動させた場合でも、刃物の移動方向に変化が生じ
れば、前述したステップS28乃至ステップS32およ
びステップS36乃至ステップS37の処理により、移
動方向変化点までの動作経路が1ブロックの動作経路と
して自動的に分割されてバッファ1に記憶されることに
なる。Next, the operator operates the X-axis operation handle 108 and the Z-axis operation handle 109 to move the blade to the vicinity of the workpiece, more preferably to the machining start point of the machining shape element data. The final approach operation may be performed by selecting an approach operation function with the selection switch 110 and operating the guidance operation handle 111. In that case, the final approach operation is restricted in the normal direction of the work. As described above, the X-axis operation handle 10
If the direction of movement of the blade changes even when the blade is moved by operating the 8 or Z-axis operation handle 109, or when the blade is moved by using the approach operation function, the above-described case is applied. By the processing of steps S28 to S32 and steps S36 to S37, the operation path to the moving direction change point is automatically divided as an operation path of one block and stored in the buffer 1.
【0055】そして、オペレータは、アプローチが完了
した時点で切込みを調整し、実際の切削加工を開始す
る。実際の切削加工を行うに当たっては、X軸用操作ハ
ンドル108およびZ軸用操作ハンドル109のみを使
用する場合と、形状加工動作機能およびアプローチ動作
機能とを併用する場合とがある。X軸用操作ハンドル1
08およびZ軸用操作ハンドル109のみを使用して切
削加工を行う場合には、目測で切込み量を調整しながら
X軸用操作ハンドル108およびZ軸用操作ハンドル1
09を協調操作して一定の切込みを保ちながらワークに
沿って刃物を移動させればよく、その間の刃物の動作経
路はアプローチ動作の場合と同様にしてバッファ1に順
番に記憶されて行く。Then, the operator adjusts the cut when the approach is completed, and starts the actual cutting. In actual cutting, there are a case where only the X-axis operation handle 108 and the Z-axis operation handle 109 are used and a case where the shape processing operation function and the approach operation function are used together. X axis operation handle 1
08 and the Z-axis operation handle 109 when performing cutting using only the Z-axis operation handle 109 and the X-axis operation handle 108 while visually adjusting the depth of cut.
It is only necessary to move the blade along the workpiece while maintaining a constant cut by cooperatively operating 09, and the motion path of the blade during that time is sequentially stored in the buffer 1 in the same manner as in the approach operation.
【0056】ここでは、形状加工動作機能およびアプロ
ーチ動作機能等を併用して切削加工を行う場合の操作に
ついて詳細に説明する 。Here, the operation in the case of performing the cutting by using the shape processing operation function and the approach operation function together will be described in detail.
【0057】形状加工動作機能およびアプローチ動作機
能を併用して切削加工を行う場合、オペレータは、前述
のアプローチ操作と切込みの調整を行った段階で、選択
スイッチ110を操作し(ステップS17)、フラグF
4をセットしてガイダンス用操作ハンドル111のモー
ドを形状加工動作機能に変更する(ステップS18)。When cutting is performed using both the shape processing operation function and the approach operation function, the operator operates the selection switch 110 at the stage of performing the above-described approach operation and the adjustment of the cut (step S17), and sets the flag. F
4 is set, and the mode of the guidance operation handle 111 is changed to the shape processing operation function (step S18).
【0058】従って、この状態でガイダンス用操作ハン
ドル111を操作すれば、その操作量に応じてステップ
S34の処理が実行され、加工形状要素に沿って刃物が
移動して行くことになる。但し、加工形状要素に沿って
刃物を移動させたとしても、取り付けられたワークの素
材形状によっては、刃物を加工形状要素に沿って移動さ
せて行くうちに加工形状要素と実形状との相違によって
切込み量の過不足が生じて切削に支障を生じるような場
合があり、また、刃物を移動させて行くうちに最初の切
込み量の設定に不備があったことに気付く場合もある。Therefore, if the guidance operation handle 111 is operated in this state, the processing of step S34 is executed according to the operation amount, and the blade moves along the processing shape element. However, even if the blade is moved along the processing shape element, depending on the material shape of the attached work, the difference between the processing shape element and the actual shape may occur while moving the blade along the processing shape element. In some cases, the cutting amount may be excessive or insufficient, which may hinder cutting. In addition, while moving the blade, it may be noticed that the initial setting of the cutting amount was insufficient.
【0059】そこで、そのような場合には、選択スイッ
チ110を再び操作してガイダンス用操作ハンドル11
1のモードをアプローチ動作機能に変更し(ステップS
16)、ガイダンス用操作ハンドル111を操作してス
テップS33の処理により刃物をワークに突入または退
避させて切込み量を再調整し、切込み量の過不足を解消
してから、再び選択スイッチ110を操作してガイダン
ス用操作ハンドル111のモードを形状加工動作機能に
変更し(ステップS17)、加工形状要素に沿って刃物
を移動させるようにする。In such a case, the selection switch 110 is operated again to operate the guidance operation handle 11.
Mode 1 is changed to the approach operation function (step S
16) Operate the guidance operation handle 111 to move the blade into or out of the workpiece by the processing in step S33 to readjust the cutting amount, eliminate the excess or shortage of the cutting amount, and then operate the selection switch 110 again. Then, the mode of the guidance operation handle 111 is changed to the shape processing operation function (step S17), and the blade is moved along the processed shape element.
【0060】無論、アプローチ動作機能を使用して切込
み量を調整する代わりにX軸用操作ハンドル108やZ
軸用操作ハンドル109を操作してステップS39の処
理で切込み量を調整することも可能である。X軸用操作
ハンドル108やZ軸用操作ハンドル109を操作する
場合には、ガイダンス用操作ハンドル111のモード切
り替えは不要である。そして、加工形状要素に沿って刃
物を移動させて行く間に再び切込み量等に関する問題が
生じた場合には、アプローチ動作機能やX軸用操作ハン
ドル108およびZ軸用操作ハンドル109を利用して
前記と同様の操作を繰り返して切込み量の再調整を行え
ばよい。Of course, instead of adjusting the cutting depth using the approach operation function, the X-axis operation handle 108 or Z
It is also possible to operate the shaft operation handle 109 to adjust the depth of cut in the process of step S39. When operating the X-axis operation handle 108 or the Z-axis operation handle 109, the mode switching of the guidance operation handle 111 is unnecessary. Then, when a problem related to the cutting amount or the like occurs again while moving the blade along the processing shape element, the approach operation function and the X-axis operation handle 108 and the Z-axis operation handle 109 are used. What is necessary is just to repeat the same operation as above and readjust the cutting amount.
【0061】このように、形状加工動作機能を利用する
ことにより加工形状要素に沿って刃物を移動させるよう
にすれば、完全手動操作の場合のようなX軸用操作ハン
ドル108およびZ軸用操作ハンドル109の協調動作
は不要であり、切込み量の調整等の必要に応じてアプロ
ーチ動作機能を選択したり、操作ハンドル108,10
9を操作して僅かな誤差修正を行うだけでよく、特に、
熟練度の低いオペレータがティーチング作業を行うよう
な場合に好適である。As described above, if the blade is moved along the processing shape element by utilizing the shape processing operation function, the X-axis operation handle 108 and the Z-axis operation The cooperative operation of the handle 109 is not necessary, and the approach operation function can be selected as needed, such as adjustment of the cutting depth, or the operation handles 108, 10
It is only necessary to make a slight error correction by manipulating 9;
This is suitable for a case where an operator with low skill level performs a teaching operation.
【0062】既に述べた通り、どのような状態で刃物が
移動しているかには関わりなく、刃物の移動方向に変化
が生じれば、前述したステップS28乃至ステップS3
2およびステップS36乃至ステップS37の処理によ
り、移動方向変化点までの動作経路が1ブロックの動作
経路として自動的に分割されてバッファ1に記憶される
ようになっているので、切削作業中にオペレータによっ
て行われた刃物移動や各種スイッチ操作は全てバッファ
1に時系列的に記憶されることになる。As described above, regardless of the state in which the blade is moving, if the moving direction of the blade changes, the aforementioned steps S28 to S3 are performed.
2 and the processing from step S36 to step S37, the operation path to the movement direction change point is automatically divided and stored in the buffer 1 as the operation path of one block. All the blade movements and various switch operations performed by the controller are stored in the buffer 1 in time series.
【0063】加工形状の1要素のティーチング作業が終
了した後、オペレータが操作盤112のティーチングス
イッチ106を操作すると、プロセッサ11はステップ
S8の判別処理でこの操作を検出し、ステップS4の処
理で初期化された読出ポインタP1Rの値に基いてバッフ
ァ1から1ブロック分の刃物の動作経路もしくは1ブロ
ック分の補助機能動作のコマンドを読み込み(ステップ
S40)、読出ポインタP1Rの値をインクリメントして
バッファ1における次の読み込みアドレスの値を記憶す
る(ステップS41)。そして、保存手段としてのプロ
セッサ11は、ステップS40の処理でバッファ1から
読み出した1ブロック分の刃物の動作経路もしくは1ブ
ロック分の補助機能動作のコマンドをCMOSメモリ1
4等のプログラムメモリに1ブロック分のNCプログラ
ムとして保存する(ステップS42)。When the operator operates the teaching switch 106 of the operation panel 112 after the teaching operation of one element of the processing shape is completed, the processor 11 detects this operation in the discriminating process in step S8, and initializes the process in step S4. Based on the value of the read pointer P1R, the operation path of the blade for one block or the command of the auxiliary function operation for one block is read from the buffer 1 (step S40), the value of the read pointer P1R is incremented, and the buffer 1 is incremented. Is stored (step S41). Then, the processor 11 serving as the storage unit stores the command of the operation path of the blade for one block or the command of the auxiliary function operation for one block read from the buffer 1 in the process of step S40 in the CMOS memory 1.
4 is stored as an NC program for one block (step S42).
【0064】次いで、プロセッサ11は、読出ポインタ
の値が書込ポインタの最終値を越えているか否かを判別
し(ステップS43)、越えていなければ、再びステッ
プS40の処理に移行して前記と同様の処理を繰り返
し、ステップS41の処理でインクリメントされた読出
ポインタP1Rの値に基いて、バッファ1から次の1ブロ
ック分の刃物の動作経路なり補助機能動作のコマンドな
りを読み込み、順次、CMOSメモリ14等のプログラ
ムメモリに1ブロック分のNCプログラムとして保存し
て行く。Next, the processor 11 determines whether or not the value of the read pointer exceeds the final value of the write pointer (step S43). If not, the process shifts to the process of step S40 again, and The same processing is repeated, and based on the value of the read pointer P1R incremented in the processing of step S41, the operation path of the blade for the next one block or the command of the auxiliary function operation is read from the buffer 1 and the CMOS memory is sequentially read. The program is stored as an NC program for one block in a program memory such as 14.
【0065】そして、バッファ1に記憶された最後の動
作経路もしくは補助機能動作コマンドの保存が完了し、
読出ポインタの値が書込ポインタの最終値を越えたこと
がステップS43の判別処理で検出されると、プロセッ
サ11は1加工工程に対応するティーチングデータの保
存処理を完了し、CRT/MDIユニット70のディス
プレイに、この1加工工程に対応するNCプログラムを
表示する(ステップS44)。図3にCRT/MDIユ
ニット70のディスプレイにおけるNCプログラムの表
示例を示す。Then, the storage of the last operation path or the auxiliary function operation command stored in the buffer 1 is completed,
When it is detected in the determination processing in step S43 that the value of the read pointer has exceeded the final value of the write pointer, the processor 11 completes the processing for saving teaching data corresponding to one machining step, and the CRT / MDI unit 70 Display the NC program corresponding to this one processing step (step S44). FIG. 3 shows a display example of the NC program on the display of the CRT / MDI unit 70.
【0066】図3に示すように、ディスプレイ右上のN
Cプログラム表示領域には、NCプログラムを構成する
1ブロック分の動作プログラムや補助機能動作を示すT
コマンドおよびMコマンド等が1ブロックずつ改行して
文字ストリングスによって表示され、更に、動作プログ
ラムの先頭には、そのブロックによって実行される刃物
の動作方向を示す上矢印や左矢印等の象徴図形が表示さ
れる。また、ディスプレイ右下の位置情報表示領域には
刃物の現在位置等が数値表示される。ディスプレイ左の
動作経路表示領域には、1加工工程分の刃物の動作経路
が一括して表示され、更に、刃物の現在位置を示す工具
シンボルと刃物位置に対応して実行される補助動作機能
を示す補助動作機能シンボルとが表示される。As shown in FIG. 3, N
In the C program display area, an operation program for one block constituting the NC program and T indicating the auxiliary function operation are displayed.
Commands and M-commands are displayed in character strings with line breaks for each block, and at the top of the operation program, symbolic figures such as an up arrow and a left arrow indicating the direction of operation of the blade executed by the block are displayed. Is done. The current position of the blade is numerically displayed in a position information display area at the lower right of the display. In the operation path display area on the left side of the display, the operation path of the tool for one processing step is displayed collectively, and further, a tool symbol indicating the current position of the tool and an auxiliary operation function executed corresponding to the tool position are displayed. The auxiliary operation function symbol shown is displayed.
【0067】このようにして生成されたNCプログラム
は、飽くまで手動操作によるティーチング作業をそのま
ま再現して得たものであるから、必ずしも、自動制御の
ためのNCプログラムとして最適化されているわけでは
ない。例えば、刃物の位置決めや切込み量の調整等に苦
慮して同じような場所で刃物を往復移動させたような場
合には、その動作の全てがNCプログラムとして保存さ
れてしまうといった不都合が生じる場合もある。The NC program generated in this way is obtained by reproducing the teaching operation by manual operation as it is until it gets tired. Therefore, the NC program is not always optimized as an NC program for automatic control. . For example, when the cutter is reciprocated in the same place due to difficulty in positioning the cutter and adjusting the cutting depth, there may be a problem that all the operations are saved as the NC program. is there.
【0068】このような問題が生じた場合には、数値制
御装置のエディタ機能を起動し(ステップS45)、前
述したディスプレイのNCプログラム表示領域や動作経
路表示領域等を参照しながら編集作業を行うようにする
(ステップS46)。例えば、連続的に重複する無駄な
往復動作のブロックを一括して削除したり、それに代わ
る1ブロックの動作プログラムを挿入するといった編集
作業は有効である。以上の処理が終了すると、プロセッ
サ11は再びステップS2の処理に移行し、CRT/M
DIユニット70から準備加工終了信号が入力されてい
るか否かを判別することになる。When such a problem occurs, the editor function of the numerical controller is started (step S45), and editing is performed while referring to the NC program display area, the operation path display area, and the like of the display described above. (Step S46). For example, it is effective to perform an editing operation such as deleting batches of useless reciprocating motions that are continuously overlapped or inserting a motion program of one block instead of the blocks. When the above processing ends, the processor 11 shifts to the processing of step S2 again, and the CRT / M
It is determined whether or not the preparation processing end signal is input from the DI unit 70.
【0069】続けて、加工形状の次の要素の動作経路を
ティーチングする場合には、この段階で準備加工終了信
号を入力することはせず、前記と同様にして、プロセッ
サ11にステップS3乃至ステップS7の初期化処理を
実行させた後、以下、前記と同様にしてステップS8〜
S11の処理を行い次の加工形状の次の要素データを入
力し、バッファ2,バッファ3にこの入力形状を記憶す
る。バッファ2はステップS5で初期化されているか
ら、前回入力した加工形状の要素データは記憶されず、
バッファ3には、前回入力した加工形状の要素データと
今回入力された加工形状の要素データが記憶されること
になる。そして、前述したように、バッファ2に記憶さ
れた加工形状要素データにもどついて、アプローチおよ
び切削ならびに刃物の退避に関する動作経路を記憶させ
ると共に、その間に実行される補助動作機能のコマンド
を時系列で記憶させて行くことになる。Subsequently, when teaching the operation path of the next element of the machining shape, the preparatory machining end signal is not input at this stage, and the steps S3 to S3 are performed in the same manner as described above. After the initialization process of S7 is executed, the steps S8 to S8 are performed in the same manner as described above.
The process of S11 is performed to input the next element data of the next processing shape, and this input shape is stored in the buffers 2 and 3. Since the buffer 2 has been initialized in step S5, the element data of the previously input machining shape is not stored.
The buffer 3 stores the element data of the previously input machining shape and the element data of the currently input machining shape. Then, as described above, by returning to the machining shape element data stored in the buffer 2, the operation paths relating to approach, cutting, and retraction of the blade are stored, and commands of the auxiliary operation function executed during the time are stored in time series. It will be remembered.
【0070】以下、この処理を繰り返し実行し、荒加工
の加工工程のティーチング作業が終了した場合には、オ
ペレータは、X軸用操作ハンドル108やZ軸用操作ハ
ンドル109、もしくは、アプローチモード下にあるガ
イダンス用操作ハンドル111を操作して刃物を安全な
位置に退避させ、スピンドル停止スイッチ102を操作
してワークの回転を停止させ、クーラント停止スイッチ
104を操作して潤滑冷却液の供給を停止させる。刃物
の退避動作およびスピンドル停止スイッチ102やクー
ラント停止スイッチ104の操作も前記と同様にしてバ
ッファ1に時系列的に記憶される。Thereafter, this processing is repeatedly executed, and when the teaching work in the rough machining process is completed, the operator operates the X-axis operation handle 108, the Z-axis operation handle 109, or the approach mode. A certain operation handle 111 is operated to retract the blade to a safe position, a spindle stop switch 102 is operated to stop the rotation of the work, and a coolant stop switch 104 is operated to stop the supply of the lubricating coolant. . The retreating operation of the blade and the operations of the spindle stop switch 102 and the coolant stop switch 104 are also stored in the buffer 1 in time series in the same manner as described above.
【0071】次にオペレータは、CRT/MDIユニッ
ト70を操作して準備加工終了信号を入力する。プロセ
ッサ11はステップS2の判別処理でこの操作を検出
し、ソフトキー121より仕上げ加工の加工プログラム
作成指令が入力されているか(ステップS47)、ソフ
トキー122より仕上げ加工の加工プログラム作成無し
の指令が入力されているか判断し(ステップS48)、
仕上げ加工の加工プログラム作成指令が入力されていれ
ば、ステップS50のSUBCの処理を開始し、加工プ
ログラム作成無しの指令が入力されていれば、ステップ
S49に移行する。Next, the operator operates the CRT / MDI unit 70 to input a preparatory machining end signal. The processor 11 detects this operation in the determination processing of step S2, and determines whether a finish machining program creation command has been input from the soft key 121 (step S47), or an instruction not to create a finish machining program has been issued from the soft key 122. It is determined whether the input has been made (step S48),
If a machining program creation command for finish machining has been input, the SUBC process in step S50 is started, and if a command for not creating a machining program has been input, the process proceeds to step S49.
【0072】仕上げ加工の加工プログラム作成指令が入
力された場合には、ステップS51のSUBCの処理を
開始し、まず、ステップS1で初期化されているバッフ
ァ3の読込みポインタP3Rに基づいて、バッファ3に記
憶する該ポインタP3Rに対応する加工形状要素データを
読み、該ポインタP3Rを「1」インクリメントし、読み
出した加工形状要素データを一時メモリM1に書込む
(ステップC1〜C3)。続いて、上記ポインタP3Rが
「1」か否か、即ち、読み出した加工形状要素データ
が、最初の加工形状要素データか判断する(ステップC
4)。最初は、ポインタ3Rは「1」であり、最初の加工
形状要素データが読込まれているから、ステップC5に
移行し、荒加工としてティーチングしたプログラムメモ
リ中の最初の切削動作をサーチし、このサーチされた最
初の切削動作プログラムの始点を通過するX軸、Y軸に
平行な直線を内部的に作成し、該2つの直線と、一時メ
モリM1に記憶された加工形状要素をCRT/MDIユ
ニット70のディスプレイに描画する(ステップC5〜
C7)。When the machining program creation command for the finishing machining is input, the SUBC process of step S51 is started. First, the buffer 3 is read based on the read pointer P3R of the buffer 3 initialized in step S1. Is read, the pointer P3R is incremented by "1", and the read processed shape element data is written into the temporary memory M1 (steps C1 to C3). Subsequently, it is determined whether or not the pointer P3R is "1", that is, whether the read processed shape element data is the first processed shape element data (step C).
4). At first, the pointer 3R is "1", and since the first machining shape element data has been read, the process proceeds to step C5 to search for the first cutting operation in the program memory taught as rough machining. A straight line parallel to the X-axis and the Y-axis passing through the starting point of the first cutting operation program is internally created, and the two straight lines and the processing shape element stored in the temporary memory M1 are stored in the CRT / MDI unit 70. (Steps C5 to C5)
C7).
【0073】例えば、図12に示すように、バッファ3
に記憶されている加工形状の要素がL1,L2,L3,
L4であり、最初の加工形状要素がL1で、荒加工の最
初の切削動作プログラムの始点がPs であると、最初の
加工形状要素L1と始点Psを通るX軸、Y軸に平行な
直線とは2つの点P0 、P0'で交差する。この交点の
内、一方をピックして仕上げ形状の始点として選択決定
する。通常切削動作プログラムの始点がPs に近い交点
P0 を仕上げ形状の始点として選択決定する(ステップ
C8)。決定された交点P0 の座標位置を始点データと
してバッファ4に書込み(ステップC9)、バッファ4
の書込ポインタP4Wを「1」インクリメントする(ステ
ップC10)。For example, as shown in FIG.
Are the processing shape elements stored in L1, L2, L3,
L4, the first machining shape element is L1, and the starting point of the first cutting operation program for rough machining is Ps, a straight line parallel to the X-axis and the Y-axis passing through the first machining shape element L1 and the starting point Ps. Intersect at two points P0 and P0 '. One of the intersections is picked and selected as the starting point of the finished shape. The intersection P0 where the starting point of the normal cutting operation program is close to Ps is selected and determined as the starting point of the finished shape (step C8). The determined coordinate position of the intersection point P0 is written into the buffer 4 as starting point data (step C9).
Is incremented by "1" (step C10).
【0074】次に、バッファ3の読込みポインタP3Rの
値が書込ポインタP3Wの値以上か判断し(ステップC1
1)、以上でなければ、読込みポインタP3Rで示される
アドレスよりバッファ3から加工形状要素データを読
み、該ポインタP3Rを「1」インクリメントし、この読
み出した加工形状要素データを一時メモリM2に書込む
(ステップC12〜C14)。読み出した加工形状要素
データ(図12におけるL2)と一時メモリM1に記憶
する加工形状要素データ(図12におけるL1)をディ
スプレイに表示し、2つの形状要素が交差する交点の
内、1つを選択決定する(ステップS15,C16)。
図12の例では、交点P1をピックして選択決定する。Next, it is determined whether the value of the read pointer P3R of the buffer 3 is equal to or larger than the value of the write pointer P3W (step C1).
1) If not, read the processed shape element data from the buffer 3 from the address indicated by the read pointer P3R, increment the pointer P3R by "1", and write the read processed shape element data into the temporary memory M2. (Steps C12 to C14). The read processed shape element data (L2 in FIG. 12) and the processed shape element data (L1 in FIG. 12) stored in the temporary memory M1 are displayed on the display, and one of the intersections where the two shape elements intersect is selected. Determined (steps S15, C16).
In the example of FIG. 12, the intersection P1 is picked and selected and determined.
【0075】ステップC16で選択決定された交点を終
点とし、さらに一時メモリM1から、必要に応じて円弧
の半径を読み出し形状プログラムを作成する(ステップ
C17)。例えば、図12に示す例で説明すると、ステ
ップC16で交点P1 が終点としてが選択決定される
と、一時メモリM1に記憶されている形状は直線である
から、終点をP1 として直線の加工形状のプログラムが
作成される。The intersection point selected and determined in step C16 is set as the end point, and the radius of the circular arc is read out from the temporary memory M1 as needed to create a shape program (step C17). For example, in the example shown in FIG. 12, when the intersection P1 is selected and determined as the end point in step C16, the shape stored in the temporary memory M1 is a straight line. A program is created.
【0076】この作成されたプログラムをバッファ4に
書込み、該バッファ4の書込ポインタP4Wを「1」イン
クリメントし、一時メモリM2に記憶する次の加工形状
要素データを一時メモリM1に書込む(ステップC18
〜C20)。図12の例では加工形状要素データの円弧
L2が一時メモリM1に格納されることになる。The created program is written into the buffer 4, the write pointer P4W of the buffer 4 is incremented by "1", and the next machining shape element data stored in the temporary memory M2 is written into the temporary memory M1 (step C18
To C20). In the example of FIG. 12, the arc L2 of the processed shape element data is stored in the temporary memory M1.
【0077】続いて、ステップC11に戻り、バッファ
3の読込みポインタP3Rの値が書込みポインタP3Wの値
となるまでは、ステップC12〜C20の処理を繰り返
し実行することになる。Subsequently, the process returns to step C11, and the processing of steps C12 to C20 is repeatedly executed until the value of the read pointer P3R of the buffer 3 becomes the value of the write pointer P3W.
【0078】図12に示す例で以下説明すると、ステッ
プC20の処理で一時メモリM1には加工形状要素デー
タL2が記憶されており、ステップC12,C14の処
理で一時メモリM2には、次の加工形状要素データL3
が書込まれ、ステップC15でこの2つの加工形状要素
L2,L3が描画され、ステップC16で2つの加工形
状要素L2,L3の交点P2 ,P2'の中から1つが終点
として選択される。この場合交点P2 が選択され、一時
メモリM1に記憶する加工形状要素L2が円弧であるか
ら、その半径が読み出され、ステップC17,C18で
交点P2 を終点とする加工形状要素L2の円弧のプログ
ラムがバッファ4に書込まれることになる。なお、円弧
の場合、時計回りか反時計回りに加工するかが問題とな
るが、旋盤加工では、X軸方向、Z軸方向に単調変化す
るものに限定されるから、円弧の小さい方が選択され
る。図12の例では、点P1 から、時計方向に点P2 に
至る円弧の小さい方が選択される。Referring to the example shown in FIG. 12, the processing shape element data L2 is stored in the temporary memory M1 in the processing of step C20, and the next processing is stored in the temporary memory M2 in the processing of steps C12 and C14. Shape element data L3
Is written in step C15, and the two processing shape elements L2 and L3 are drawn in step C15. In step C16, one of the intersections P2 and P2 'of the two processing shape elements L2 and L3 is selected as the end point. In this case, the intersection P2 is selected, and since the machining shape element L2 stored in the temporary memory M1 is an arc, its radius is read out. At steps C17 and C18, the program of the arc of the machining shape element L2 ending at the intersection P2 is performed. Is written to the buffer 4. In the case of an arc, whether to work clockwise or counterclockwise poses a problem. However, in lathe processing, since it is limited to those that change monotonically in the X-axis direction and the Z-axis direction, the smaller arc is selected. Is done. In the example of FIG. 12, the smaller arc from the point P1 to the point P2 in the clockwise direction is selected.
【0079】そして、バッファ4の書込みポインタP4W
が「1」インクリメントされ、一時メモリM2に記憶す
る加工形状要素データL3が一時メモリM1に書込まれ
(ステップC19,C20)、再び(ステップC11に
戻り、一時メモリM2に次の加工形状要素データL4が
書込まれ、一時メモリM1,M2に記憶する加工形状要
素L3,L4の交点P3 が求められる(ステップC12
〜C16)。この場合、直線と直線の交点であるから、
交点は1つしかない。交点が1つしかない場合には、交
点を選択することなく自動的に、その交点を終点P3と
して決定する。そして、終点をP3 とする一時メモリM
1に記憶する加工形状要素の形状プログラムが作成され
バッファ4に格納される。以上のようにして、点P0 か
ら点P1まで直線の加工プログラム、点P1 から点P2
までは円弧の加工プログラム、点P2 から点P3 まで直
線の加工プログラムがバッファ4に記憶されることにな
る。Then, the write pointer P4W of the buffer 4
Is incremented by "1", and the processed shape element data L3 stored in the temporary memory M2 is written into the temporary memory M1 (steps C19 and C20), and again (returns to step C11 and the next processed shape element data is stored in the temporary memory M2). L4 is written, and the intersection P3 of the processed shape elements L3 and L4 stored in the temporary memories M1 and M2 is obtained (step C12).
To C16). In this case, since it is the intersection of the straight line and the straight line,
There is only one intersection. If there is only one intersection, the intersection is automatically determined as the end point P3 without selecting the intersection. Then, a temporary memory M whose end point is P3
1 is created and stored in the buffer 4. As described above, the machining program for the straight line from the point P0 to the point P1, the point P1 to the point P2
Up to this point, an arc machining program and a straight machining program from point P2 to point P3 are stored in the buffer 4.
【0080】そして、ステップC11で、バッファ3の
読込みポインタP3Rの値と書込みポインタP3Wが一致す
ると、ステップC21に移行し、荒加工としてティーチ
ングしたプログラムの中の最後の切削動作をサーチし、
その最後の切削動作プログラの終点を通過するX軸、Y
軸に平行な2つの直線を内部的に作り、一時メモリM1
に記憶する加工形状要素データ(図12の例ではL4)
とこの2つの直線を描画する(ステップC21〜C2
3)。描画した加工形状要素と2つの直線が交差する交
点の中から1つをピックして終点として選択決定する
(ステップC24)。図3の例では、加工形状要素L4
と2つの直線との交点P4 ,P4'の内、通常、最後の切
削動作プログラの終点Pe に近い方が選択される。一時
メモリM1に記憶する加工形状要素が円弧であれば、そ
の半径を一時メモリM1から読みだし、選択された交点
を終点とし加工形状プログラムを作成し(ステップC2
5)、バッファ4に書込む(ステップC26)。If the value of the read pointer P3R in the buffer 3 matches the value of the write pointer P3W in step C11, the process proceeds to step C21, where the last cutting operation in the program that has been taught as rough machining is searched.
X axis, Y passing through the end point of the last cutting operation program
Two straight lines parallel to the axis are internally created and the temporary memory M1
Shape element data (L4 in the example of FIG. 12) stored in
Are drawn (steps C21 to C2).
3). One of the intersections where the drawn processing shape element and the two straight lines intersect is picked and selected and determined as the end point (step C24). In the example of FIG. 3, the processing shape element L4
Of the intersections P4 and P4 'of the two cutting lines, the one closer to the end point Pe of the last cutting operation program is usually selected. If the machining shape element stored in the temporary memory M1 is an arc, its radius is read from the temporary memory M1, and a machining shape program is created with the selected intersection as the end point (step C2).
5) Write into buffer 4 (step C26).
【0081】次にバッファ4の書込みポインタP4Wを
「1」インクリメントし(ステップC27)、バッファ
4の読込みポインタP4Rを初期化し(ステップC2
8)、この読込みポインタP4Rに基づいてバッファ4か
ら加工形状プログラムを読み出し、読込みポインタP4R
を「1」インクリメントし(ステップC29〜C3
0)、読み出した加工形状プログラムを、プログラムメ
モリに書込まれているスピンドル停止及びクーラント停
止の補助機能動作のプログラムが書込まれているアドレ
スより前に挿入し、プログラムメモリに格納する(ステ
ップC29〜C31)。バッファ4の読込みポインタP
4Rの値が書込みポインタP4Wの値以上になるまで(ステ
ップC32)、ステップS29〜C32の処理を繰り返
し実行してプログラムメモリに作成された仕上げ加工の
加工プログラムを書込み、このSUBCの処理を終了
し、メインルーチンのステップS49に戻り、オペレー
タによるプレイバックスイッチ107の操作を待つ待機
状態に入る。Next, the write pointer P4W of the buffer 4 is incremented by "1" (step C27), and the read pointer P4R of the buffer 4 is initialized (step C2).
8) Read the machining shape program from the buffer 4 based on the read pointer P4R,
Is incremented by "1" (steps C29 to C3).
0), the read machining shape program is inserted before the address where the program of the auxiliary function operation of the spindle stop and the coolant stop written in the program memory is written, and is stored in the program memory (step C29). To C31). Read pointer P of buffer 4
Until the value of 4R becomes equal to or more than the value of the write pointer P4W (step C32), the processing of steps S29 to C32 is repeatedly executed to write the finishing machining program created in the program memory, and this SUBC processing is terminated. Then, the process returns to step S49 of the main routine, and enters a standby state waiting for the operation of the playback switch 107 by the operator.
【0082】プレイバックスイッチ107が押される
と、プロセッサ11は、設定された荒取り,中仕上げ,
仕上げ等の加工工程の順序に従ってCMOSメモリ14
等のプログラムメモリから1加工工程分のNCプログラ
ムを読出し、その先頭のブロックから順にアプローチ,
切削,退避等の動作経路に沿った1ブロック分の送り動
作や、スピンドルON/OFF,クーラントON/OF
F,工具交換等の各種補助機能動作のコマンドを実行す
る。When the playback switch 107 is pressed, the processor 11 sets the roughing, semi-finishing,
CMOS memory 14 according to the order of processing steps such as finishing
NC program for one machining step is read from the program memory such as
Feeding operation for one block along the operation path such as cutting and retracting, spindle ON / OFF, coolant ON / OF
F. Execute commands for various auxiliary function operations such as tool change.
【0083】この際、CRT/MDIユニット70のデ
ィスプレイ上では、1ブロックのNCプログラムが実行
される毎にNCプログラム表示領域のプログラム表示が
1行分ずつ上方にスクロールし、また、ディスプレイ右
下の位置情報表示領域では、刃物の現在位置に応じて各
軸の現在位置が更新表示される。また、ディスプレイ上
の動作経路表示領域では、刃物の移動に対応して工具シ
ンボルが移動し、刃物が通過した動作経路が別の色で表
示されると共に、補助動作機能が実行される度に、工具
シンボルの隣、要するに、その時の刃物の現在位置に対
応して補助動作機能シンボルが表示される。なお、図3
に例示した円筒体はスピンドルONに対応する補助動作
機能のシンボルである。(以上、ステップS50の処
理)。At this time, on the display of the CRT / MDI unit 70, every time one block of the NC program is executed, the program display in the NC program display area is scrolled upward by one line, and the lower right of the display is displayed. In the position information display area, the current position of each axis is updated and displayed according to the current position of the blade. In addition, in the operation path display area on the display, the tool symbol moves in accordance with the movement of the blade, the operation path that the blade has passed is displayed in a different color, and each time the auxiliary operation function is executed, An auxiliary operation function symbol is displayed next to the tool symbol, that is, in accordance with the current position of the blade at that time. Note that FIG.
Are symbols of the auxiliary operation function corresponding to the spindle ON. (The above is the process of step S50).
【0084】無論、このようなブレイバック動作は、テ
ィーチング作業の終了直後に限らず、荒取り,中仕上
げ,仕上げ等の加工工程のNCプログラムを指定してC
MOSメモリ14等のプログラムメモリから呼び出すこ
とにより、いつでも再実行させることが可能である。Needless to say, such a break-back operation is performed not only immediately after the end of the teaching operation but also by specifying an NC program for a machining process such as roughing, semi-finishing, and finishing.
It can be re-executed at any time by calling it from the program memory such as the MOS memory 14.
【0085】[0085]
【発明の効果】本発明は、仕上げ加工のNCプログラム
を自動的に作成できるから、手動操作によって仕上げ加
工の動作経路をティーチングする必要がなく、安全でか
つ簡単に仕上げ加工のNCプログラムができる。その結
果、荒加工に対してのみ手動操作で加工動作経路をティ
ーチングすればよく、全体の加工を簡単に容易にティー
チングできる。According to the present invention, since the NC program for the finishing process can be automatically created, there is no need to manually teach the operation path of the finishing process, and the NC program for the finishing process can be safely and easily made. As a result, it is only necessary to teach the machining operation path by manual operation only for the rough machining, and the entire machining can be easily and easily taught.
【図1】本発明を適用した一実施形態のティーチング・
プレイバック機能付数値制御装置と該数値制御装置によ
って駆動制御される工作機械(旋盤)の要部を示すブロ
ック図である。FIG. 1 is a diagram illustrating a teaching and application of an embodiment to which the present invention is applied.
FIG. 2 is a block diagram showing a main part of a numerical control device with a playback function and a machine tool (lathe) driven and controlled by the numerical control device.
【図2】同実施形態の数値制御装置の操作盤を示す概念
図である。FIG. 2 is a conceptual diagram showing an operation panel of the numerical control device of the embodiment.
【図3】同実施形態の数値制御装置のディスプレイの表
示例を示す概念図である。FIG. 3 is a conceptual diagram showing a display example of a display of the numerical control device of the embodiment.
【図4】同実施形態の数値制御装置によるティーチング
処理の概略を示すフローチャートである。FIG. 4 is a flowchart illustrating an outline of a teaching process performed by the numerical controller according to the embodiment;
【図5】ティーチング処理の概略を示すフローチャート
の続きである。FIG. 5 is a continuation of the flowchart showing an outline of the teaching processing;
【図6】ティーチング処理の概略を示すフローチャート
の続きである。FIG. 6 is a continuation of the flowchart showing an outline of the teaching processing;
【図7】ティーチング処理の概略を示すフローチャート
の続きである。FIG. 7 is a continuation of the flowchart showing an outline of the teaching processing;
【図8】ティーチング処理の概略を示すフローチャート
の続きである。FIG. 8 is a continuation of the flowchart showing an outline of the teaching processing.
【図9】ティーチング処理の概略を示すフローチャート
の続きである。FIG. 9 is a continuation of the flowchart showing an outline of the teaching processing;
【図10】ティーチング処理の概略を示すフローチャー
トの続きで、仕上げ形状動作経路を作成するフローチャ
ートである。FIG. 10 is a flowchart for creating a finish shape operation path following the flowchart showing the outline of the teaching processing;
【図11】同仕上げ形状動作経路を作成するフローチャ
ートの続きである。FIG. 11 is a continuation of the flowchart for creating the finish shape operation path.
【図12】仕上げ加工動作経路の加工プログラム作成の
説明図である。FIG. 12 is an explanatory diagram of creating a machining program for a finishing machining operation path.
10 ティーチング・プレイバック機能付数値制御装置 11 プロセッサ 12 ROM 13 RAM 14 CMOSメモリ 15 インターフェイス 16 プログラマブル・マシン・コントローラ 17 I/Oユニット 18 インターフェイス 19 インターフェイス 21 バス 30,31 軸制御回路 40,41 サーボアンプ 50,51 サーボモータ 60 スピンドル制御回路 61 スピンドルアンプ 62 スピンドルモータ 70 CRT/MDIユニット 71 手動パルス発生器群 101 スピンドルスイッチ 102 スピンドル停止スイッチ 103 クーラントスイッチ 104 クーラント停止スイッチ 105 工具交換スイッチ 106 ティーチングスイッチ 107 プレイバックスイッチ 108 X軸用操作ハンドル 109 Z軸用操作ハンドル 110 選択スイッチ 111 ガイダンス用操作ハンドル 112 操作盤 Reference Signs List 10 Numerical control device with teaching / playback function 11 Processor 12 ROM 13 RAM 14 CMOS memory 15 Interface 16 Programmable machine controller 17 I / O unit 18 Interface 19 Interface 21 Bus 30, 31 Axis control circuit 40, 41 Servo amplifier 50 , 51 Servo motor 60 Spindle control circuit 61 Spindle amplifier 62 Spindle motor 70 CRT / MDI unit 71 Manual pulse generator group 101 Spindle switch 102 Spindle stop switch 103 Coolant switch 104 Coolant stop switch 105 Tool change switch 106 Teaching switch 107 Playback switch 108 Operation handle for X axis 109 Operation handle for Z axis 1 0 select switch 111 for guidance operating handle 112 control panel
Claims (3)
し、その動作経路を数値制御装置にNCプログラムとし
て保存するティーチング機能と、ティーチングされた動
作経路を前記NCプログラムに従って自動制御で再実行
するプレイバック機能とを備えたティーチング・プレイ
バック機能付数値制御装置において、加工形状を構成す
る入力された一連の加工形状要素のデータを記憶する記
憶手段と、該記憶手段に記憶された加工形状要素データ
における隣接する加工形状要素の交点を求める手段と、
上記記憶手段に記憶された加工形状要素データと求めら
れた交点によって、仕上げ加工の動作経路のNCプログ
ラムを作成する手段と、該NCプログラムを記憶する記
憶手段とを備えたことを特徴とするティーチング・プレ
イバック機能付数値制御装置。1. A teaching function for manually operating a machine via a numerical controller and storing its operation path as an NC program in the numerical controller, and automatically re-executing the taught operation path according to the NC program. In a numerical control device with a teaching / playback function having a playback function, a storage means for storing data of a series of input processing shape elements constituting a processing shape, and a processing shape element stored in the storage means Means for determining the intersection of adjacent machining shape elements in the data;
A teaching method comprising: means for creating an NC program for an operation path of finish machining based on machining shape element data stored in the storage means and an obtained intersection, and storage means for storing the NC program. -Numerical control unit with playback function.
し、その動作経路を数値制御装置にNCプログラムとし
て保存するティーチング機能と、ティーチングされた動
作経路を前記NCプログラムに従って自動制御で再実行
するプレイバック機能とを備えたティーチング・プレイ
バック機能付数値制御装置において、加工形状を構成す
る入力された一連の加工形状要素のデータを記憶する記
憶手段と、荒加工のティーチングによって求められ記憶
手段に記憶したNCプログラムより求められる切削開始
位置及び切削終了位置と上記記憶手段に記憶する一連の
加工形状要素データの最初及び最後の加工形状要素デー
タにより仕上げ加工の始点及び終点を求める手段と、該
記憶手段に記憶された加工形状要素データにおける隣接
する加工形状要素の交点を求める手段と、求められた仕
上げ加工の始点,終点及び上記記憶手段に記憶された加
工形状要素データさらに上記求められた交点によって、
仕上げ加工の動作経路のNCプログラムを作成する手段
とを備えたことを特徴とするティーチング・プレイバッ
ク機能付数値制御装置。2. A teaching function for manually operating a machine via a numerical controller and storing the operation path in the numerical controller as an NC program, and re-executing the taught operation path by automatic control according to the NC program. In a numerical control device with a teaching / playback function having a playback function, a storage means for storing data of a series of input processing shape elements constituting a processing shape, and a storage means obtained by teaching of rough processing. Means for obtaining a starting point and an ending point of a finishing operation based on the cutting start position and the cutting end position obtained from the stored NC program and the first and last processing shape element data of a series of processing shape element data stored in the storage means; Of adjacent machining shape elements in the machining shape element data stored in the means. By means for obtaining a point, the obtained starting point and end point of the finishing processing, the processed shape element data stored in the storage means, and the obtained intersection,
Means for creating an NC program for the operation path of the finishing process.
が作成され記憶手段に記憶されると、自動的に記憶手段
に記憶するNCプログラムを実行し自動運転を行う請求
項1又は請求項2記載のティーチング・プレイバック機
能付数値制御装置。3. The automatic operation according to claim 1, wherein when the NC program of the operation path of the finishing machining is created and stored in the storage means, the NC program automatically stored in the storage means is executed to perform automatic operation. Numerical control unit with teaching / playback function.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP36331997A JPH11175131A (en) | 1997-12-16 | 1997-12-16 | Numerical controller with teaching playback function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP36331997A JPH11175131A (en) | 1997-12-16 | 1997-12-16 | Numerical controller with teaching playback function |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11175131A true JPH11175131A (en) | 1999-07-02 |
Family
ID=18479036
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP36331997A Pending JPH11175131A (en) | 1997-12-16 | 1997-12-16 | Numerical controller with teaching playback function |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11175131A (en) |
-
1997
- 1997-12-16 JP JP36331997A patent/JPH11175131A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0223857B1 (en) | Method of compiling nc programs for a four-axes lathe | |
| EP0002750A1 (en) | Computerized numerical controller for a machine tool | |
| US5327350A (en) | Interactive type numerical control apparatus and method thereof | |
| JPH0444764B2 (en) | ||
| US4700313A (en) | Plural turret system with display of permitted and non-permitted simultaneous machining operations | |
| KR930011720B1 (en) | Working program teaching system for numerically controlled machine tool | |
| US12405597B2 (en) | Machine tool | |
| EP0104542B1 (en) | Numerically controlled machining method | |
| JP4059411B2 (en) | NC machine tool controller | |
| US5538369A (en) | Machine tool with tapping function | |
| WO1994017459A1 (en) | Method of execution of nc machining program | |
| JP2018116422A (en) | Numerical control device | |
| JPS5975309A (en) | Numerical control device provided with graphic display device | |
| JPH11175131A (en) | Numerical controller with teaching playback function | |
| JPH1165635A (en) | Numerical controller with teaching playback function | |
| JPH1145106A (en) | Interactive numerical controller | |
| JP3217329B2 (en) | NC data confirmation device | |
| EP0566750A1 (en) | Method of trial cutting | |
| JPH05297925A (en) | Interactive numerical controller | |
| JPH07160317A (en) | Tool path plotting method | |
| JPH11161313A (en) | Numerical controller with cutting quantity limiting function | |
| JP2022047702A (en) | Machining program optimization device and method thereof | |
| JPS6149068B2 (en) | ||
| JPS61257740A (en) | Tool selection system | |
| JPH05146943A (en) | Machining process setting system for interactive numerically controlled device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20040330 |