JPS6249515A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPS6249515A
JPS6249515A JP19040585A JP19040585A JPS6249515A JP S6249515 A JPS6249515 A JP S6249515A JP 19040585 A JP19040585 A JP 19040585A JP 19040585 A JP19040585 A JP 19040585A JP S6249515 A JPS6249515 A JP S6249515A
Authority
JP
Japan
Prior art keywords
command
spindle
dwell
dowel
machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP19040585A
Other languages
Japanese (ja)
Inventor
Kiyoshi Okada
潔 岡田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP19040585A priority Critical patent/JPS6249515A/en
Publication of JPS6249515A publication Critical patent/JPS6249515A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To minimize the dowel time and to improve the working efficiency of a machine to be controlled by inhibiting the execution of the next command before the number of revolution of the spindle of the machine to be controlled reaches the target number of revolution of a dowel. CONSTITUTION:A dowel command is supplied to a central processing part 4 from an input part 1 for control of the actuation of a machine 7 to be controlled. Then the part 4 detects the real number of revolution of the spindle of the machine 7 based on the data detected by a rotation detecting part 3. Furthermore, the part 4 compares the detected number of revolution with the dowel command value and inhibits the execution of the next command before said number of revolution reaches the dowel command value. Thus the dowel time can be set at the minimum level and therefore the working efficiency of the machine 7 is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は数値制御される被制御機械の主軸の動作を指
令時間だけ遅らせるようにする数値制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a numerical control device that delays the operation of a main shaft of a numerically controlled controlled machine by a commanded time.

〔従来の技術〕[Conventional technology]

従来の数値制御装置は、例えば数値制御される被制御機
械の主軸の動作を、予め設定した指令時間中実行させ、
この指令時間が経過した後に、次の指令を出力するよう
にしていたため、上記主軸の到達を待つプログラムを作
る場合などには、経験的に知っているドウエル時間を用
いたり、少し長目のドウエル時間を用いたシしていた。
Conventional numerical control devices, for example, execute the operation of the main axis of a numerically controlled machine during a preset command time,
The next command was output after this command time elapsed, so when creating a program that waits for the spindle to arrive, it is recommended to use a dwell time known from experience or a slightly longer dwell time. I was using my time.

このため、上記主軸の回転数が指令値に到達するまでの
時間を正確にプログラムすることにはならず、プログラ
ム値を安全を見越した適当な大きさに設定することとな
っていた。
For this reason, the time required for the rotational speed of the spindle to reach the command value is not accurately programmed, but the programmed value is set to an appropriate value in consideration of safety.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の数値制御装置は以上のように構成されているので
、主軸が次の指令にもとづく動作に入るまでのドウエル
時間を不必要に長くとることが必要で、被制御機械によ
る加工性および生産性を低下させたり、逆に、ドウエル
時間が短い場合には、主軸の指令による動作中に次の指
令がかかつて、刃物などの工具を破損するという問題点
があった。
Since conventional numerical control devices are configured as described above, it is necessary to take an unnecessarily long dwell time until the spindle starts operating based on the next command, which reduces the machining efficiency and productivity of the controlled machine. If the dwell time is short, or if the dwell time is short, there is a problem that the next command may occur during the operation of the spindle command, causing damage to tools such as blades.

これに対し、主軸の動作中にその動作(例えば回転数)
指令値を変更したシ、主軸オーバライドを変更する方法
も考えられるが、かかる変更のたびに、プログラムのド
ウエル値をf更しなくてはならないなどの問題点があっ
た。
On the other hand, while the spindle is in motion, its movement (e.g. rotation speed)
Although it is possible to change the command value and the spindle override, there are problems such as the need to change the dwell value of the program every time such a change is made.

この発明は上記のような問題点を解消するためになされ
たもので、被制御機械の主軸の回転数が指令回転数に達
しているか否かを判定し、達していない場合には、次の
指令を実行しないような制御ができる数値制御装置を得
ることを目的とする。
This invention was made to solve the above problems, and it is determined whether the rotation speed of the main shaft of the controlled machine has reached the command rotation speed or not, and if it has not reached the command rotation speed, the following The purpose of this invention is to obtain a numerical control device that can perform control without executing commands.

〔問題点を解決するための手段〕[Means for solving problems]

この発明にかかる数値制御装置に、数値制御される被制
御機械の主軸の回転を回転数検出手段によって検出し、
ドウエル指令手段によって主軸の目標回転数を予めプロ
グラム等にもとづき指令し、上記回転検出手段の検出値
と上記ドウエル手段の指令値とを比較手段によって比較
し、上記主軸の回転数が上記目標回転数に到達するまで
は、処理手段によって次の指令を実行しないようにした
ものである。
In the numerical control device according to the present invention, the rotation of the main shaft of the controlled machine to be numerically controlled is detected by the rotation speed detection means,
The dwell command means commands the target rotational speed of the spindle in advance based on a program, etc., and the comparison means compares the detection value of the rotation detection means with the command value of the dwell means, so that the rotational speed of the spindle is determined as the target rotational speed. The processing means does not execute the next command until the next command is reached.

〔作用〕[Effect]

この発明における回転数検出手段は、主軸に関連した回
転パルスコーダなどのパルス数を計叙し、この計数値に
もとづき主軸の実回転数′f!:割シ出し、この回転数
がドウエル指令手段にて指令したドウエル回転数つま多
目標回転数に達しているかを比較手段で判定し、達して
いる場合に限って、次の指令の実行を可能rcするよう
に動作する。このため、ドウエル時間を最小に設定でき
、被制御機械の作業効率全向上する。
The rotational speed detecting means in the present invention measures the number of pulses of a rotational pulse coder or the like related to the spindle, and based on this count, the actual rotational speed of the spindle 'f! : The comparison means determines whether this rotational speed reaches the dwell rotational speed commanded by the dwell command means or the target rotational speed, and only when it reaches the target rotational speed, the next command can be executed. Works like rc. Therefore, the dwell time can be set to the minimum, and the working efficiency of the controlled machine is completely improved.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において(1)は例えば磁気テープ等を読み取ってそ
の情報を入力するテープリーダーなどの入力部で、ドウ
エル指令のドウエル指令手段として用いられる。(2)
はオペレータが工作機械(図示せず〕を操作制御するた
めの操作部、(8)はこの発明の特徴となる主軸の回転
検出手段たる回転検出部、(4)は上記入力部(1)ま
次は操作部(2)からのデータまたは指令にもとづき、
工具の移動パスデータなとの軸データ、速度データを演
算して出力する中央処理部で、この実施例では回転検出
部(8)の検出回転数とドウエル指令値とを比較演算し
、上記検出回転数がそのドウエル指令値に達するまでは
、次の指令を実行しないように制御する演算処理手段で
ある。(5)は上記中央処理部(4)の出力すなわち機
械制御データに基づき工作機械(図示せずンに対しパル
ス分配、主軸起動、工具交換などの命令信号を出力する
制御部、(6)は上記命令信号により工作機械を駆動す
る駆動部である。(7)は工作機械である被制御機械で
ある。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, (1) is an input unit such as a tape reader that reads a magnetic tape or the like and inputs the information, and is used as a dwell command means for a dwell command. (2)
(8) is a rotation detecting unit which is a means for detecting rotation of the spindle, which is a feature of the present invention; (4) is the input unit (1) or Next, based on the data or command from the operation unit (2),
The central processing unit calculates and outputs axis data and speed data such as tool movement path data. In this embodiment, it compares and calculates the rotation speed detected by the rotation detection unit (8) and the dwell command value, and calculates the above-mentioned detection. It is an arithmetic processing means that controls not to execute the next command until the rotation speed reaches the dwell command value. (5) is a control unit that outputs command signals such as pulse distribution, spindle startup, tool exchange, etc. to the machine tool (not shown) based on the output of the central processing unit (4), that is, machine control data; (6) is This is a drive unit that drives a machine tool using the above command signal. (7) is a controlled machine that is a machine tool.

また、回転検出部(8)は、第2図に示すように、主軸
の回転数に応じて発生するパルスを計数するカウンタ(
8りと、一定時間ごとに発生するタイミングパルスTに
よシカウンタ(8りの値を保存するラッチ回路(羽)と
を備え、タイミングパルスTはまた中央処理部(4)の
CPUに対して割込みを発生させる。
In addition, as shown in FIG. 2, the rotation detection section (8) includes a counter (
The timing pulse T generated at regular intervals is equipped with a latch circuit (feather) that stores the value of 8, and the timing pulse T also interrupts the CPU of the central processing unit (4). to occur.

次に、上記実施例の動作について説明する。Next, the operation of the above embodiment will be explained.

先ず、被制御機械の作動を制御するに当って、入力部(
1)よりドウエル指令を中央処理部(4)に入力する。
First, in controlling the operation of the controlled machine, the input section (
From 1), a dwell command is input to the central processing unit (4).

このドウエル指令は1例えばGO4p 2000 ;(
主軸が2000回転/分に到達するまで待つ〕 のよう
なデータで与えられる。そしてこのプログラムは中央処
理部(4)で主情が200Orpmになるまで待つ命令
であると判定される。−万、中央処理”R(4)では回
転検出部(8)で検出したデータをもとにして、主軸の
実回転数を算出する。算出方法は、ある時間のカウンタ
(8りの値がたで、それから一定時間tだけ経過した時
のカウンタ(8りの値がPn*1、主軸1回転当シ発生
するパルス数をNとすると、主軸実回転数Sは によシ算出される。算出した結果がドウエル指令値と同
じになるまで次の指令にもとづく動作に入らないように
なっている。
This dwell command is 1 e.g. GO4p 2000 ;(
Wait until the spindle reaches 2000 revolutions per minute]. The central processing unit (4) determines that this program is an instruction to wait until the main speed reaches 200 rpm. - 10,000, central processing "R (4) calculates the actual rotation speed of the spindle based on the data detected by the rotation detection section (8).The calculation method is Then, when the value of the counter (8) when a certain period of time t has elapsed is Pn*1, and the number of pulses generated per spindle rotation is N, the actual spindle rotation speed S is calculated accordingly. The operation based on the next command is not started until the calculated result becomes the same as the dwell command value.

第3図はこのような動作を実施する中央処理装置の処理
フロー図で・ある。ここでは、入力部(1)からの指令
データt−読み込み(ステップ■〕、その指令データが
ドウエル指令であるか否かを判定しくステップ■)、ド
ウエル指令である場合には、そのドウニル指令値人を目
標回転数として設定する(ステップ■)。そして回転検
出部(8)で検出した主軸の回転数8が上記ドウエル指
令値Aに等しくなったか否かを判定しくステップ■)、
等しくなった場合には処理を終了する。一方、ステップ
@でドウエル指令がないと判定された場合には。
FIG. 3 is a processing flow diagram of the central processing unit that carries out such operations. Here, the command data t- is read from the input section (1) (step ■), and it is determined whether or not the command data is a dwell command (step ■). If it is a dwell command, the command value is Set the target rotation speed (step ■). Then, it is determined whether or not the rotational speed 8 of the main shaft detected by the rotation detection section (8) is equal to the dwell command value A (step (2));
If they are equal, the process ends. On the other hand, if it is determined in step @ that there is no dwell command.

他の指令に対する処理を実行する(ステップ■)。Execute processing for other commands (step ■).

!4図は上記主軸の回転数を算出するための処理フロー
図で、タイミングパルスTの割込みによって一定時間t
ごとに起動され、カウンタ(81) F1回転数に対応
したパルスを計数しくステップ■)。
! Figure 4 is a processing flow diagram for calculating the rotational speed of the main shaft.
The counter (81) counts pulses corresponding to the F1 rotation speed (step ■).

次にこのパルスの計数値にもとづいて、(1)式によシ
主軸の実際の回転数が算出され(ステップ[相])、そ
のカウンタ(8りの計数値PnがPn◆1 になったと
き、その回の計数処理を終了する(ステップ■)。
Next, based on the count value of this pulse, the actual rotation speed of the spindle is calculated according to equation (1) (step [phase]), and the counter (count value Pn of 8 becomes Pn◆1). At that time, the counting process for that time is completed (step ■).

なお、上記実施例では、ドウエル指令値と完全に一致す
るまで、次の指令による主軸の動作を待つ場合について
示したが、そのドウエル指令値の近くに到達したことを
検出して、上記主軸の次の指令にもとづく動作に自動的
に移るようにしてもよい。
In addition, in the above embodiment, the case is shown in which the spindle operation by the next command is waited until it completely matches the dwell command value, but when it is detected that the spindle operation has reached near the dwell command value, It may also be possible to automatically proceed to the operation based on the next command.

また、主軸の回転数を目標回転数と比較するような手段
を採用するので、主軸の回転数の定速制御あるいは可変
速制御にも利用できる。
Further, since a means for comparing the rotation speed of the main shaft with a target rotation speed is adopted, it can be used for constant speed control or variable speed control of the rotation speed of the main shaft.

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

以上のように、この発明によれば、被制御機械の主軸の
(ロ)転数を検出し、この回転数が目標値としてのドウ
エル回転数に達したか否かによって、次の指令による動
作を開始するか否かを決定するように構成したので、必
要最小限のドウエル時間によって全加工時間の短縮化を
図シ、生産性の向上を図ることができるとともに、従来
のようにドウエル設定時間が短か過ぎて工具の干渉によ
る破損事故を招くといった問題を克服できる効果がある
As described above, according to the present invention, the rotation speed of the main shaft of the controlled machine is detected, and depending on whether or not this rotation speed reaches the dwell rotation speed as the target value, the operation is performed according to the next command. Since the structure is configured to determine whether or not to start the process, it is possible to shorten the total machining time by minimizing the necessary dwell time, thereby improving productivity. This has the effect of overcoming the problem of being too short and causing damage due to tool interference.

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

第1図はこの発明の一実施例による数値制御装置のブロ
ック接続図、第2図は回転検出部のブロック接続図、第
3図は主軸が次の指令による動作に入る前のドウエル処
理を示す処理フロー図、第4図は主軸の回転数を算出処
理するための処理フロー図である。 (1)はドウエル指令手段、(8)は回転検出手段、(
4)は演算処理手段。
Fig. 1 is a block connection diagram of a numerical control device according to an embodiment of the present invention, Fig. 2 is a block connection diagram of a rotation detection section, and Fig. 3 shows a dwell process before the main shaft starts operating according to the next command. Processing Flowchart FIG. 4 is a processing flowchart for calculating the rotational speed of the main shaft. (1) is a dwell command means, (8) is a rotation detection means, (
4) is an arithmetic processing means.

Claims (1)

【特許請求の範囲】[Claims] 数値制御される被制御機械の主軸の回転検出手段と、プ
ログラム等によって予め指令された主軸の目標回転数を
指令入力するためのドウエル指令手段と、上記回転検出
手段による検出値と上記ドウエル指令手段の指令値とを
比較演算し、検出した上記主軸の回転数が上記目標回転
数に到達するまでは、次の指令を実行しないようなドウ
エル制御を実行する演算処理手段とを備えれ数値制御装
置。
A rotation detection means for a spindle of a numerically controlled controlled machine, a dwell command means for inputting a command of a target rotation speed of the spindle commanded in advance by a program, etc., and a detected value by the rotation detection means and the dwell command means. and a calculation processing means for executing dwell control in which the next command is not executed until the detected rotational speed of the spindle reaches the target rotational speed by comparing the rotational speed with the command value of the numerical control device. .
JP19040585A 1985-08-29 1985-08-29 Numerical controller Pending JPS6249515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19040585A JPS6249515A (en) 1985-08-29 1985-08-29 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19040585A JPS6249515A (en) 1985-08-29 1985-08-29 Numerical controller

Publications (1)

Publication Number Publication Date
JPS6249515A true JPS6249515A (en) 1987-03-04

Family

ID=16257597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19040585A Pending JPS6249515A (en) 1985-08-29 1985-08-29 Numerical controller

Country Status (1)

Country Link
JP (1) JPS6249515A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011118952A (en) * 2011-03-23 2011-06-16 Mitsubishi Electric Corp Numerical control method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011118952A (en) * 2011-03-23 2011-06-16 Mitsubishi Electric Corp Numerical control method and device

Similar Documents

Publication Publication Date Title
CN106020130B (en) Control the control device and control method of main shaft and the lathe of feed shaft synchronous operation
CN107368039B (en) Numerical controller
KR970064822A (en) Tool point generation method
JP7035875B2 (en) Numerical control device, numerical control method, and numerical control program
JPH0777691B2 (en) Numerical control method and apparatus thereof
CN109648387B (en) Control device
JPH05228794A (en) Positioning method for main spindle
JPS6249515A (en) Numerical controller
EP0447561B1 (en) Method of controlling rotations of main shafts
JPH08339212A (en) Method for return to absolute origin in industrial controller
JP6946259B2 (en) PLC motor drive control method
US5319288A (en) Main spindle rotation control method
JPH03110603A (en) Backlash correction control system for servo motor
JPS61146448A (en) Chip removal controlling method in lathe
JP7332375B2 (en) Control devices and control systems for machine tools
JP2733665B2 (en) Numerical control unit
JPH10161748A (en) Motor positioning controller
JPH01177885A (en) Positioning method for motor
JPS61285503A (en) Digital control method
JPS6179520A (en) Thread cutting control system
JPH03246708A (en) Acceleration feedback control system for servomotor
JP2576224B2 (en) Numerical control unit
JPH0261701A (en) Numerical controller
JPS6235921A (en) Control method for stop position of servo system
JP2740953B2 (en) Spindle fixed position stop control device