JPH02250104A - Reverse operation control system - Google Patents

Reverse operation control system

Info

Publication number
JPH02250104A
JPH02250104A JP7148589A JP7148589A JPH02250104A JP H02250104 A JPH02250104 A JP H02250104A JP 7148589 A JP7148589 A JP 7148589A JP 7148589 A JP7148589 A JP 7148589A JP H02250104 A JPH02250104 A JP H02250104A
Authority
JP
Japan
Prior art keywords
reverse
data
command
meeting
waiting
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.)
Granted
Application number
JP7148589A
Other languages
Japanese (ja)
Other versions
JP2868527B2 (en
Inventor
Takao Sasaki
隆夫 佐々木
Toshiaki Otsuki
俊明 大槻
Ryoji Eguchi
江口 亮二
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 JP7148589A priority Critical patent/JP2868527B2/en
Publication of JPH02250104A publication Critical patent/JPH02250104A/en
Application granted granted Critical
Publication of JP2868527B2 publication Critical patent/JP2868527B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To execute the reverse operation without generating an interference between heads by storing moving data and waiting command data in a reverse use memory at the time of a progressive motion, and executing the waiting and the retrograde motion, while reading out each stored data in the reverse sequence by a reverse command. CONSTITUTION:A processor 11 reads out a system program stored in a ROM 12 through a bus 21, and in accordance with this system program, the whole operation of a numerical controller 10 is controlled. A part of a RAM 13 corresponds to a reverse use memory, and moving data and waiting command data are stored. In this state, by the reverse command, the moving data and the waiting command data stored in the reverse use memory are read out in the reverse sequence, and while executing the waiting in accordance with the waiting command data, a tool is brought to retrograde along a path shown by the moving data. In such a way, the reverse operation which can prevent an interference between heads can be executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は多ヘッドの工作機械をリバース運転する数値制
御装置(CNC)のリバース運転制御方式に関し、特に
ヘッド間の干渉を防止可能としたリバース運転制御方式
に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a reverse operation control method for a numerical control unit (CNC) that operates a multi-head machine tool in reverse, and in particular a reverse operation control system that can prevent interference between heads. Concerning operation control methods.

〔従来の技術〕[Conventional technology]

4軸旋盤等の多ヘッドの工作機械では、ヘッド間の相互
干渉を防止することが必要である。このため、例えばN
Cプログラム中にMコードによる待ち合わせ指令を挿入
して各ヘッドの動作タイミングを合わせている。
In multi-head machine tools such as four-axis lathes, it is necessary to prevent mutual interference between the heads. For this reason, for example, N
A waiting command using an M code is inserted into the C program to synchronize the operation timing of each head.

一方、数値制御装置(CNC)には、今まで通過してき
た工具通路をそのまま辿って逆行させるリバース機能が
ある。
On the other hand, the numerical control unit (CNC) has a reverse function that allows the tool to follow the same path it has passed so far and go backwards.

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

しかし、従来の数値制御装置ではリバース運転時に待ち
合わせ指令を実行していなかったために、多ヘッドの工
作機械をリバース運転するとヘッド間の干渉が発生する
ことがあった。
However, because conventional numerical control devices do not execute the waiting command during reverse operation, interference between heads may occur when a multi-head machine tool is operated in reverse.

本発明はこのような点に鑑みてなされたものであり、ヘ
ッド間の干渉を防止可能としたリバース運転制御方式を
提供することを目的とする。
The present invention has been made in view of these points, and it is an object of the present invention to provide a reverse operation control system that can prevent interference between heads.

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

本発明では上記課題を解決するために、多ヘッドの工作
機械をリバース運転する数値制御装置(CNC)のリバ
ース運転制御方式において、運転開始指令により、NC
プログラムからブロック毎に所要のデータを読み取り移
動データに変換しながら工具を順行させると共に、前記
移動データとヘッド間の待ち合わせ指令データとをリバ
ース用メモリに格納し、リバース指令により、前記リバ
ース用メモリに格納された移動データと待ち合わせ指令
データとを逆の順序で読みだし、前記待ち合わせ指令デ
ータに従って待ち合わせを行いながら、前記移動データ
の示す通路に沿って前記工具を逆行させることを特徴と
するリバース運転制御方式が提供される。
In order to solve the above problems, the present invention provides a reverse operation control method for a numerical control device (CNC) that operates a multi-head machine tool in reverse.
The tool is moved forward while reading the necessary data for each block from the program and converting it into movement data.The movement data and the waiting command data between the heads are stored in the reverse memory, and the reverse command causes the tool to move forward. The reverse operation is characterized in that the movement data and meeting command data stored in the storage device are read out in the reverse order, and the tool is moved backward along a path indicated by the movement data while meeting according to the meeting command data. A control scheme is provided.

〔作用〕[Effect]

順行時に移動データと待ち合わせ指令データとをリバー
ス用メモリに格納する。リバース指令を入力するとリバ
ース用メモリに格納された各データを逆の順序で読みだ
しながら、待ち合わせと逆行を実行する。
During forward movement, movement data and meeting command data are stored in the reverse memory. When a reverse command is input, each data stored in the reverse memory is read out in the reverse order while waiting and reversing is executed.

〔実施例〕〔Example〕

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

第3図は本発明を実施するだめの数値制御装置(CNC
)のハードウェアのブロック図である。
Figure 3 shows a numerical control device (CNC) for implementing the present invention.
) is a block diagram of the hardware.

図において、プロセッサ11はハス21を介してROM
12に格納されたシステムプログラムを読み出し、この
システムプログラムに従って数値制御装置(CNC)1
0の全体の動作を制御する。
In the figure, the processor 11 is connected to a ROM via a lotus 21.
The system program stored in 12 is read out, and the numerical control device (CNC) 1 is operated according to this system program.
Controls the entire operation of 0.

RAM1.3にはDRAMが使用され、−時的な計算デ
ータ、表示データ等が格納される。また、17AM13
の一部はリバース用メモリに相当し、移動データ及び待
ち合わせ指令データが格納される。
A DRAM is used as the RAM 1.3, and temporal calculation data, display data, etc. are stored therein. Also, 17AM13
A part of the memory corresponds to a reverse memory, and movement data and meeting command data are stored therein.

CMO314は図示されていないバッテリでバックアッ
プされた不揮発性メモリであり、工具補正量、ピッチ誤
差補正量、NCプログラム及びパラメータ等が格納され
る。
The CMO 314 is a nonvolatile memory backed up by a battery (not shown), and stores tool correction amounts, pitch error correction amounts, NC programs, parameters, and the like.

インタフェース15は外部機器用のインフッニスであり
、紙テープリーグ、紙テープパンチャ、紙テープリーグ
・パンチャー等の外部機器31が接続される。祇テープ
リーグからは加ニブログラムが読め込まれ、また数値制
御装置10内で編集されたNCプログラムを祇テープパ
ンチャーに出力することができる。
The interface 15 is an interface for external equipment, and is connected to external equipment 31 such as a paper tape league, a paper tape puncher, and a paper tape league puncher. The Kani program is read from the Gi tape league, and the NC program edited in the numerical control device 10 can be output to the Gi tape puncher.

PMC(7”ログラマブル・マシン・コントローラ)1
6は数値制御装置10に内蔵され、ラダー形式で作成さ
れたシーケンスプログラムで機械側を制御する。ずなわ
ち、NCプログラムで指令されたM機能、S機能及びT
i能に従って、シーケンスプログラムを機械側で必要な
信号に変換し、I10ユニット17から機械側に出力す
る。この出力信号は機械側のマグネット等を駆動し、油
圧バルブ、空圧バルブ及び電気アクチュエータ等を作動
させる。また、機械側のリミットスイッチ及び機械操作
盤のスイッチ等の信号を受けて、必要な処理をして、プ
ロセッサ11に渡す。
PMC (7” programmable machine controller) 1
6 is built into the numerical control device 10, and controls the machine side using a sequence program created in a ladder format. That is, the M function, S function, and T commanded by the NC program.
The sequence program is converted into necessary signals on the machine side according to the I10 unit 17 and output to the machine side. This output signal drives a magnet, etc. on the machine side, and operates a hydraulic valve, a pneumatic valve, an electric actuator, etc. It also receives signals from limit switches on the machine side, switches on the machine operation panel, etc., performs necessary processing, and passes them to the processor 11.

グラフィック制御回路18は各軸の現在位置、アラーム
、パラメータ、画像データ等のディジタルデータを画像
信号に変換して出力する。この画像信号はCRT/MD
Iユニッ1〜25の表示装置26に送られ、表示される
。インタフェース19はCRT/MDIユニット25内
のキーボード27からのデータを受けて、プロセッサ1
1に渡す。
The graphic control circuit 18 converts digital data such as the current position of each axis, alarms, parameters, and image data into image signals and outputs the image signals. This image signal is CRT/MD
The data is sent to the display devices 26 of I units 1 to 25 and displayed. The interface 19 receives data from the keyboard 27 in the CRT/MDI unit 25 and sends the data to the processor 1.
Pass it to 1.

インクフェース20は手動パルス発生器32に接続され
、手動パルス発生器32からのパルスを受ける。手動パ
ルス発生器32は機械操作盤に実装され、手動で機械稼
働部を精密に移動させるのに使用される。
Ink face 20 is connected to and receives pulses from manual pulse generator 32 . A manual pulse generator 32 is mounted on the machine operation panel and is used to manually move the machine moving parts precisely.

軸制御回路41〜44はプロセッサ11からの各軸の移
動指令を受けて、これを速度指令信号に変換し、サーボ
アンプ51〜54に出力する。サーボアンプ51〜54
は速度指令信号を増幅して各軸のサーボモータ61〜6
4を駆動する。サボモータ61〜64には位置検出用の
パルスコーダが内蔵されており、このパルスコーダから
位置信号がパルス列としてフィードハックされる。場合
によっては、位置検出器としてリニアスケールが使用さ
れる。また、このパルス列をF/V (周波数/速度)
変換することにより、速度信号を生成することができる
。さらに、速度検出用にタコジェネレータが使用される
場合もある。図ではこれらの位置信号のフィードバック
経路及び速度フィードバック経路は省略しである。ここ
で、サーボモータ61.62は刃物台Aを制御し、サー
ボモークロ3.64は刃物台Bを制御する。
Axis control circuits 41-44 receive movement commands for each axis from processor 11, convert them into speed command signals, and output them to servo amplifiers 51-54. Servo amplifier 51-54
amplifies the speed command signal to drive the servo motors 61 to 6 of each axis.
Drive 4. The servo motors 61 to 64 have a built-in pulse coder for position detection, and a position signal is feedhacked from the pulse coder as a pulse train. In some cases, a linear scale is used as a position detector. Also, this pulse train is F/V (frequency/velocity)
By converting, a speed signal can be generated. Additionally, a tacho generator may be used for speed detection. In the figure, the feedback path and velocity feedback path for these position signals are omitted. Here, the servo motors 61 and 62 control the tool rest A, and the servo motors 3 and 64 control the tool rest B.

スピンドル制御回路71.72はスピンドル回転指令及
びスピンドルのオリエンテーション等の指令を受けて、
スピンドルアンプ81.82にスピンドル速度信号を出
力する。スピンドルアンプ81.82はこのスピンドル
速度信号を受けて、スピンドルモータ91.92を指令
された回転速度で回転させる。スピンドルモータ91は
主軸Aに、スピンドルモータ92は主軸Bに歯車あるい
はヘルド結合されており、それぞれ図示されていないヘ
ッドA、ヘッドBを駆動する。
The spindle control circuits 71 and 72 receive spindle rotation commands, spindle orientation commands, etc.
A spindle speed signal is output to spindle amplifiers 81 and 82. The spindle amplifiers 81, 82 receive this spindle speed signal and rotate the spindle motors 91, 92 at the commanded rotational speed. A spindle motor 91 and a spindle motor 92 are connected to a main shaft A and a main shaft B by gears or healds, respectively, and drive heads A and B, which are not shown.

スピンドルモータ91.92には歯車あるいはベルトで
ポジションコーダ101.102が結合されている。従
って、ポジションコーダ101.102は主軸A及び主
軸Bに同期して回転し、帰還パルスを出力し、その帰還
パルスはインタフェース110を経由して、プロセッサ
11によって読み取られる。この帰還パルスは刃物台A
あるいは刃物台Bをスピンドルモータ91あるいば92
に同期して移動させてネジ切り等の加工を行うために使
用される。
Position coders 101, 102 are coupled to the spindle motors 91, 92 by gears or belts. Therefore, the position coders 101 and 102 rotate in synchronization with the spindles A and B and output feedback pulses, which are read by the processor 11 via the interface 110. This feedback pulse is the turret A
Alternatively, the turret B can be connected to the spindle motor 91 or 92.
It is used to perform processes such as thread cutting by moving in synchronization with the

次に、上記の数値制御装置のリバース運転に関する処理
を第1図(a)、(b)を参照して説明する。
Next, processing related to reverse operation of the numerical control device described above will be explained with reference to FIGS. 1(a) and 1(b).

第1図(a)は順行時のフローチャートであり、リバー
ス用メモリへのデータの格納手順を示している。図にお
いて、Sに続く数値はステップ番号を示す。
FIG. 1(a) is a flowchart during the forward run, and shows the procedure for storing data in the reverse memory. In the figure, the number following S indicates the step number.

(Sll)ヘッドAのNGプログラムを読み込む。(Sll) Read the NG program of head A.

1:s12:l前処理を行って移動データを生成する。1:s12:l Preprocessing is performed to generate movement data.

(S13)待ち合わせ指令を含めて、移動データをリバ
ース用メモリに格納する。
(S13) Store the movement data including the meeting command in the reverse memory.

(S 14 )待ち合わせが指令された場合はそれに従
って待ち合わせを実行し、待ち合わせが指令されていな
い場合あるいは待ち合わせが完了した場合にはS15へ
いく。
(S14) If a meeting is instructed, the meeting is executed accordingly, and if the meeting is not instructed or the meeting is completed, the process goes to S15.

(S15)移動データに基づいてパルス分配を実行して
順行する。
(S15) Execute pulse distribution based on the movement data and proceed forward.

なお、S21〜S25はヘッドBに関する処理を示し、
上記のヘッドAに関する処理Sll〜S15と同様であ
り、説明を省略する。
Note that S21 to S25 indicate processing related to head B,
This process is similar to the processes Sll to S15 regarding head A described above, and the explanation thereof will be omitted.

第1図(b)はリバース指令が指令された時の処理のフ
ローチャートである。
FIG. 1(b) is a flowchart of processing when a reverse command is issued.

(SIOI:l リバース用メモリからヘッドAに関す
るデータを読み出す。
(SIOI:l Read data regarding head A from reverse memory.

1:5102)待ち合わせ指令データがあるがどうかを
判断する。待ち合わせ指令データがある場合にはそれに
従って所定箇所で待ち合わせを実行し、ない場合には5
103へいく。
1:5102) Determine whether there is meeting command data. If there is meeting command data, the meeting will be carried out at a predetermined location according to the data, and if there is no meeting command data, then 5
Go to 103.

(S103)読み出した移動データを逆方向にパルス分
配して逆行する。
(S103) The read movement data is pulse-distributed in the opposite direction to move backward.

なお、5201〜5205はヘッドBに関する処理を示
し、上記のヘッドAに関する処理5L01〜5105と
同様であり、説明を省略する。
Note that 5201 to 5205 indicate processes related to head B, which are similar to the processes 5L01 to 5105 related to head A described above, and the explanation thereof will be omitted.

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

以上説明したように本発明では、順行時に移動データと
待ち合わせ指令データとをリバース用メモリに格納し、
リバース指令によりリバース用メモリに格納された各デ
ータを逆の順序で読みだしながら、待ち合わせと逆行を
実行するので、4軸旋盤等の多ヘッドの工作機械をヘッ
ド間の干渉を生ずることなくリバース運転することがで
き、操作性が向上する。
As explained above, in the present invention, movement data and meeting command data are stored in the reverse memory during forward movement,
Since each data stored in the reverse memory is read in the reverse order according to the reverse command, waiting and reversing are executed, multi-head machine tools such as 4-axis lathes can be operated in reverse without causing interference between heads. This improves operability.

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

第1図(a)は本発明の一実施例の順行時の処理のフロ
ーチャート、 第1図(b)は本発明の一実施例の逆行時の処理のフロ
ーチャート、 第2図は本発明を実施するだめの数値制御装置のハード
ウェアのブロック図である。 41〜44 51〜54 61〜64 71、72 81、82 91、92 数値制御装置 ブロセッザ OM AM MOS 軸制御回路 サーボアンプ サーボモータ スピンドル制御皿回路 スピンドルアンプ スピンドルアンプ
FIG. 1(a) is a flowchart of the process in the forward direction according to an embodiment of the present invention, FIG. 1(b) is a flowchart of the process in the backward direction according to the embodiment of the present invention, and FIG. It is a block diagram of the hardware of the numerical control device which is not implemented. 41-44 51-54 61-64 71, 72 81, 82 91, 92 Numerical controller Brossezza OM AM MOS Axis control circuit Servo amplifier Servo motor Spindle control dish circuit Spindle amplifier Spindle amplifier

Claims (1)

【特許請求の範囲】[Claims] (1)多ヘッドの工作機械をリバース運転する数値制御
装置(CNC)のリバース運転制御方式において、 運転開始指令により、NCプログラムからブロック毎に
所要のデータを読み取り移動データに変換しながら工具
を順行させると共に、前記移動データとヘッド間の待ち
合わせ指令データとをリバース用メモリに格納し、 リバース指令により、前記リバース用メモリに格納され
た移動データと待ち合わせ指令データとを逆の順序で読
みだし、前記待ち合わせ指令データに従って待ち合わせ
を行いながら、前記移動データの示す通路に沿って前記
工具を逆行させることを特徴とするリバース運転制御方
式。
(1) In the reverse operation control method of a numerical control unit (CNC) that operates a multi-head machine tool in reverse, the operation start command reads the required data for each block from the NC program and sequentially moves the tool while converting it to movement data. and storing the movement data and meeting command data between the heads in a reverse memory, and reading out the movement data and meeting command data stored in the reverse memory in reverse order according to the reverse command; A reverse operation control method characterized in that the tool is moved backward along a path indicated by the movement data while making a meeting according to the meeting command data.
JP7148589A 1989-03-23 1989-03-23 Numerical control unit Expired - Fee Related JP2868527B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7148589A JP2868527B2 (en) 1989-03-23 1989-03-23 Numerical control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7148589A JP2868527B2 (en) 1989-03-23 1989-03-23 Numerical control unit

Publications (2)

Publication Number Publication Date
JPH02250104A true JPH02250104A (en) 1990-10-05
JP2868527B2 JP2868527B2 (en) 1999-03-10

Family

ID=13461999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7148589A Expired - Fee Related JP2868527B2 (en) 1989-03-23 1989-03-23 Numerical control unit

Country Status (1)

Country Link
JP (1) JP2868527B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023037418A1 (en) * 2021-09-07 2023-03-16 ファナック株式会社 Control device and control method having interlock function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023037418A1 (en) * 2021-09-07 2023-03-16 ファナック株式会社 Control device and control method having interlock function

Also Published As

Publication number Publication date
JP2868527B2 (en) 1999-03-10

Similar Documents

Publication Publication Date Title
US5181178A (en) Spindle control command method
JPH06285701A (en) Nc lathe turning device
US5337249A (en) Numerical control machining animation with workpiece and tool movement
JPH06222819A (en) Machining program executing method for nc device
US5144550A (en) Test run control method
JP2702575B2 (en) Work replacement method
JPH04177404A (en) M function output system for numerical controller
JPH02250104A (en) Reverse operation control system
JP2628914B2 (en) Processing simulation method
JPH03126104A (en) Feed speed control system
JPH0325509A (en) Backward operation control method for numerical controller
JP2862211B2 (en) Speed detection method of spindle speed of numerical controller
JPH06312341A (en) Numeral control device
JPH0419014A (en) Rigid tap control system
JPH03166609A (en) Working path plotting system
JPH0651822A (en) Animation drawing method for interactive numerical controller
JPH02257308A (en) Check plotting system for working program
JPH04195204A (en) Numerical control system
WO1990011558A1 (en) Command system for numerical control device
JPH0885044A (en) Working load monitoring system
JPH0474205A (en) Correction system for tool diameter
JPH04360754A (en) Tool life control method
JPH06110517A (en) Spindle control system
JPH0379262A (en) Swing grinding method for numerical control device
JP2796335B2 (en) Numerical control unit

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees