JPH0916263A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPH0916263A
JPH0916263A JP16023895A JP16023895A JPH0916263A JP H0916263 A JPH0916263 A JP H0916263A JP 16023895 A JP16023895 A JP 16023895A JP 16023895 A JP16023895 A JP 16023895A JP H0916263 A JPH0916263 A JP H0916263A
Authority
JP
Japan
Prior art keywords
pulse
pulse speed
speed
manual
fast
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
JP16023895A
Other languages
Japanese (ja)
Inventor
Toshiaki Otsuki
俊明 大槻
Haruhiko Kozai
治彦 香西
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 JP16023895A priority Critical patent/JPH0916263A/en
Publication of JPH0916263A publication Critical patent/JPH0916263A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Position Or Direction (AREA)

Abstract

PURPOSE: To perform operation for positioning efficiently by using a manual pulse generator by converting a fast-forward pulse speed into an integral multiple of set magnification. CONSTITUTION: The manual pulse generator 11 generates a pulse speed by the rotation of a handle. With a manual handle feed quantity setting switch 12, magnification is set. A movement quantity calculating means 21 doubles the pulse speed from the manual pulse generator 1 to find a double pulse speed. The fast-forward pulse speed is converted into an integral multiple of the set magnification and the double pulse speed is compared with the fast-forward pulse speed converted into the integral multiple. When the double pulse speed is larger in this case, the fast-forward pulse speed which is converted into the integral multiple is outputted as a clamp pulse speed to an axis control circuit 26. Consequently, the movement quantity of a cutting tool is easily grasped and the positioning operation, etc., can be done efficiently by using the manual pulse generator 11.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は数値制御装置に関し、特
に手動パルス発生器を有する数値制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller, and more particularly to a numerical controller having a manual pulse generator.

【0002】[0002]

【従来の技術】数値制御装置では正確な切削工具の移動
を手動で行わせるために手動パルス発生器を使用する。
手動パルス発生器は機械操作盤に配置され、さらに手動
パルス発生器からのパルス速度を倍増するためのスイッ
チである倍増スイッチとして、手動ハンドル送り量設定
スイッチが同時に設けられている。工作機械の操作者は
手動ハンドル送り量設定スイッチの倍率を設定して、手
動パルス発生器のハンドルを回しながら切削工具の送り
量を微調整し、目標座標値に対して位置決め等の作業を
行っていく。この時、切削工具を速く移動させようとし
て、手動ハンドル送り量設定スイッチの倍率を上げ、手
動パルス発生器のハンドルを速く回して、速い倍増パル
ス速度を発生させると、非常に大きいサーボモータの速
度が計算されることになり早送り速度を越えてしまう場
合がある。従って早送り速度を超えてしまうような倍増
パルス速度を軸制御回路に出力させないために、倍増パ
ルス速度は早送り速度に対応する早送りパルス速度〔パ
ルス/補間周期〕でクランプされている。
2. Description of the Related Art Numerical control devices use a manual pulse generator to manually move the cutting tool accurately.
The manual pulse generator is arranged on the machine operation panel, and a manual handle feed amount setting switch is simultaneously provided as a doubling switch which is a switch for doubling the pulse speed from the manual pulse generator. The machine tool operator sets the magnification of the manual handle feed amount setting switch, finely adjusts the feed amount of the cutting tool while turning the handle of the manual pulse generator, and performs operations such as positioning with respect to the target coordinate value. To go. At this time, if you try to move the cutting tool fast, increase the magnification of the manual handle feed amount setting switch, and rotate the handle of the manual pulse generator fast to generate a fast doubling pulse speed, the speed of the servo motor will be very large. May be calculated and the fast-forward speed may be exceeded. Therefore, in order to prevent the doubling pulse speed that would exceed the rapid feed speed from being output to the axis control circuit, the doubling pulse speed is clamped at the rapid feed pulse speed [pulse / interpolation cycle] corresponding to the rapid feed speed.

【0003】[0003]

【発明が解決しようとする課題】ところで、早送りパル
ス速度は早送り速度を補間周期当たりのパルス速度に変
換して算出した値である。手動パルス発生器から出力さ
れる倍増パルス速度が早送りパルス速度を越えて設定さ
れた場合は、上述したように早送りパルス速度でクラン
プされるのであるが、これでは座標値を倍増スイッチの
倍率の整数倍の位置に位置決めしにくく、他の倍率を設
定する必要があった。
The fast-forward pulse speed is a value calculated by converting the fast-forward speed into a pulse speed per interpolation cycle. If the doubling pulse speed output from the manual pulse generator is set to exceed the fast-forwarding pulse speed, it will be clamped at the fast-forwarding pulse speed as described above. It was difficult to position in the double position, and it was necessary to set another magnification.

【0004】また、切削工具の正確な位置も把握しにく
いなど煩わしい点が多かった。本発明はこのような点に
鑑みてなされたものであり、手動パルス発生器を使用し
ての位置決め等の作業を効率よく行うことができる数値
制御装置を提供することを目的とする。
Further, there are many troublesome points such as it is difficult to grasp the exact position of the cutting tool. The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a numerical control device that can efficiently perform operations such as positioning using a manual pulse generator.

【0005】[0005]

【課題を解決するための手段】回転数に応じてパルス速
度を出力する手動パルス発生器を有する数値制御装置に
おいて、前記パルス速度を倍増スイッチからの倍率に従
って倍増パルス速度として増やし、前記倍増パルス速度
が所定のパルス速度を越えたときに前記所定のパルス速
度を倍増スイッチの倍率の整数倍に換算し、前記所定の
パルス速度をクランプパルス速度とする移動量計算手段
を有することを特徴とする数値制御装置が提供される。
In a numerical controller having a manual pulse generator that outputs a pulse speed according to a rotation speed, the pulse speed is increased as a doubling pulse speed according to a magnification from a doubling switch, and the doubling pulse speed is increased. Is greater than a predetermined pulse speed, the predetermined pulse speed is converted into an integral multiple of the multiplication factor of the doubling switch, and the moving amount calculation means has the predetermined pulse speed as the clamp pulse speed. A controller is provided.

【0006】[0006]

【作用】手動パルス発生器はハンドルを回すことにより
パルス速度を発生する。手動ハンドル送り量設定スイッ
チは倍率の設定を行う。移動量計算手段は手動パルス発
生器からのパルス速度を倍増し倍増パルス速度を求め
る。そして早送りパルス速度を倍増スイッチの倍率の整
数倍に換算し、倍増パルス速度と整数倍に換算された早
送りパルス速度を比較する。この時、倍増パルス速度の
方が大きい場合は整数倍に換算された早送りパルス速度
をそうでない場合は倍増パルス速度を軸制御回路に出力
する。
The manual pulse generator generates the pulse speed by turning the handle. The manual handle feed amount setting switch sets the magnification. The movement amount calculation means doubles the pulse speed from the manual pulse generator to obtain the doubled pulse speed. Then, the fast-forward pulse speed is converted into an integral multiple of the multiplication switch magnification, and the doubled pulse speed and the fast-forward pulse speed converted into an integral multiple are compared. At this time, if the doubling pulse speed is higher, the fast-forwarding pulse speed converted into an integral multiple is output, and if not, the doubling pulse speed is output to the axis control circuit.

【0007】[0007]

【実施例】以下、本発明の一実施例を図面に基づいて具
体的に説明する。図1は本願発明の概念図である。本発
明は手動パルス発生器11、手動ハンドル送り量設定ス
イッチ12、移動量計算手段21から構成される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a conceptual diagram of the present invention. The present invention comprises a manual pulse generator 11, a manual handle feed amount setting switch 12, and a movement amount calculating means 21.

【0008】手動ハンドル送り量設定スイッチ12を1
00倍に設定し、手動パルス発生器11のハンドルを回
転させて100パルス発生させたとする。また早送り速
度を10000〔mm/min〕、補間周期(ITP)
を8〔msec〕、座標格子間隔を0.001〔mm〕
とする。移動量計算手段21において倍増パルス速度は
10000(100×100)パルスと計算される。次
に移動量計算手段21は早送りパルス速度を計算する。
早送りパルス速度は早送り速度を補間周期当たりのパル
ス速度に変換して算出した値であるから上述の設定値よ
り1333〔パルス/ITP〕と計算される。計算方法
については後に説明する。そして移動量計算手段21
は、早送りパルス速度である1333〔パルス/IT
P〕を倍増スイッチの倍率の整数倍に換算することによ
って1300〔パルス/ITP〕とし、これをクランプ
パルス速度とする。その後、クランプパルス速度と倍増
パルス速度とを比較する。この場合は、倍増パルス速度
がクランプパルス速度を越えてしまったので、クランプ
パルス速度1300〔パルス/ITP〕を軸制御回路2
6に出力することになる。軸制御回路26はこのパルス
を軸の移動指令に変換しサ−ボアンプ27に出力する。
サ−ボアンプ27はこの移動指令を受けてサ−ボモ−タ
14を駆動する。
Set the manual handle feed amount setting switch 12 to 1
It is assumed that the time is set to 00 times and the handle of the manual pulse generator 11 is rotated to generate 100 pulses. Also, the rapid feed speed is 10000 [mm / min] and the interpolation cycle (ITP)
Is 8 [msec] and the coordinate grid spacing is 0.001 [mm]
And The moving amount calculating means 21 calculates the doubling pulse speed as 10,000 (100 × 100) pulses. Next, the movement amount calculation means 21 calculates the rapid feed pulse speed.
Since the fast-forward pulse speed is a value calculated by converting the fast-forward speed into a pulse speed per interpolation cycle, it is calculated as 1333 [pulse / ITP] from the above set value. The calculation method will be described later. And the movement amount calculation means 21
Is the rapid traverse pulse speed of 1333 [pulse / IT
P] is converted into an integral multiple of the multiplication factor of the doubling switch to obtain 1300 [pulses / ITP], which is the clamp pulse speed. Then, the clamp pulse speed and the doubling pulse speed are compared. In this case, since the doubled pulse speed exceeds the clamp pulse speed, the clamp pulse speed 1300 [pulse / ITP] is set to the axis control circuit 2.
6 will be output. The axis control circuit 26 converts this pulse into an axis movement command and outputs it to the servo amplifier 27.
The servo amplifier 27 receives the movement command and drives the servo motor 14.

【0009】図2は移動量計算手段21の処理手順を示
すフローチャートである。 〔S1〕手動パルス発生器のハンドル回転数からパルス
速度を読み取る。ここでは100パルスを読み取る。 〔S2〕倍増パルス速度(=手動ハンドル送り量設定ス
イッチの設定倍率×手動パルス発生器のハンドルから出
力されるパルス速度)を算出する。ここでは手動ハンド
ル送り量設定スイッチの設定倍率を100としたから倍
増パルス速度は10000パルスとなる。 〔S3〕早送りパルス速度を算出する。早送りパルス速
度は早送り速度を補間周期当たりのパルス速度に変換し
たものである。早送り速度が10000〔mm/mi
n〕、補間周期が8〔msec〕,座標格子間隔が0.
001〔mm〕ならば(10000×8×10-3)/
(60×0.001)=1333〔パルス/ITP〕と
計算される。 〔S4〕早送りパルス速度を倍増スイッチの倍率の整数
倍に換算することによってクランプパルス速度を算出す
る。これは、(早送りパルス速度/倍増スイッチの設定
倍率)×倍増スイッチの設定倍率、という形で計算す
る。早送りパルス速度が1333〔パルス/ITP〕、
倍増スイッチの設定倍率が100倍であるから、まず
(早送りパルス速度/倍増スイッチの設定倍率)より1
333を100で割り算し、この時点で答えの小数点以
下を切り捨てる。よって13となる。次に手動ハンドル
送り量設定スイッチの設定倍率100を13に掛ける。
従ってクランプパルス速度は手動ハンドル送り量設定ス
イッチの設定倍率の整数倍となり、この場合1300と
なる。 〔S5〕倍増パルス速度がクランプパルス速度より大き
い場合はステップ7にいき、小さいまたは等しい場合は
ステップ6にいく。ここでは倍増パルス速度が1000
0でクランプパルス速度が1300であるからステップ
7にいく。 〔S6〕倍増パルス速度を軸制御回路に出力する。 〔S7〕クランプパルス速度を軸制御回路に出力する。
よって1300パルスのクランプパルス速度が軸制御回
路に出力されることになる。
FIG. 2 is a flow chart showing the processing procedure of the movement amount calculation means 21. [S1] The pulse speed is read from the number of rotations of the handle of the manual pulse generator. Here, 100 pulses are read. [S2] The doubled pulse speed (= setting ratio of the manual handle feed amount setting switch × pulse speed output from the handle of the manual pulse generator) is calculated. Here, since the setting magnification of the manual handle feed amount setting switch is set to 100, the doubling pulse speed is 10,000 pulses. [S3] The fast-forward pulse speed is calculated. The rapid traverse pulse speed is obtained by converting the rapid traverse speed into a pulse speed per interpolation cycle. Rapid feed rate is 10,000 [mm / mi
n], the interpolation cycle is 8 [msec], and the coordinate grid interval is 0.
If 001 [mm] (10000 × 8 × 10 −3 ) /
It is calculated as (60 × 0.001) = 1333 [pulse / ITP]. [S4] The clamp pulse speed is calculated by converting the fast-forward pulse speed into an integral multiple of the multiplication switch magnification. This is calculated in the form of (rapid feed pulse speed / multiplication switch setting magnification) × multiplication switch setting magnification. Rapid traverse pulse speed is 1333 [pulse / ITP],
Since the setting ratio of the doubling switch is 100 times, first set (fast-forward pulse speed / setting ratio of the doubling switch) to 1
Divide 333 by 100 and round down the decimal point of the answer at this point. Therefore, it becomes 13. Next, the setting value 100 of the manual handle feed amount setting switch is multiplied by 13.
Therefore, the clamp pulse speed is an integral multiple of the setting magnification of the manual handle feed amount setting switch, which is 1300 in this case. [S5] If the doubled pulse speed is higher than the clamp pulse speed, proceed to step 7, and if it is smaller or equal, proceed to step 6. Here the doubling pulse rate is 1000
When the clamp pulse speed is 0 and the clamp pulse speed is 1300, the process proceeds to step 7. [S6] The doubled pulse speed is output to the axis control circuit. [S7] The clamp pulse speed is output to the axis control circuit.
Therefore, the clamp pulse speed of 1300 pulses is output to the axis control circuit.

【0010】図3は本発明が適用される数値制御装置
(CNC)のハードウェアのブロック図である。プロセ
ッサ(CPU)20は数値制御装置の基本機能を制御す
る。読み取り専用記憶装置(ROM)22にはシステム
制御用プログラムが格納されている。ランダムアクセス
メモリ(RAM)23には入出力信号等の一時的なデー
タが格納される。不揮発性メモリ24には加工プログラ
ム等の電源切断後も保持すべき各種データが格納され
る。パネル25内にはグラフィック制御回路25a,表
示装置25b、キーボード25c,ソフトウェアキー2
5dが設けられている。グラフィック制御回路25aは
CPU20から送られた画像情報を表示可能な信号に変
換し、表示装置25bに出力する。表示装置25bはC
RTや液晶ディスプレイ等が使用される。キーボード2
5cはデータ入力に使用される操作キーや、ファンクシ
ョンキーなどを備えている。ソフトウェアキー25dは
オペレータの画面選択に合わせてキーの意味が変わりそ
の画面で必要なキーが表示される。工作機械10内の機
械操作盤13には手動ハンドル送り量設定スイッチ1
1、手動パルス発生器12が設けられている。手動ハン
ドル送り量設定スイッチ11はパルスの送り量の倍率を
設定する。手動パルス発生器12は設置されているハン
ドルを回転させることによりパルス速度を発生する。軸
制御回路26はCPU20からの補間パルス等の指令を
受けて軸の移動指令をサーボアンプ27に出力する。サ
ーボアンプ27はこの移動指令を受けて工作機械10内
のサーボモータ14を駆動する。プログラマブル・マシ
ン・コントローラ(PMC)28はラダー形式で形成さ
れたシーケンスプログラムで工作機械10を制御する。
なおこれらの構成要素はバス29によって互いに結合さ
れている。
FIG. 3 is a hardware block diagram of a numerical controller (CNC) to which the present invention is applied. The processor (CPU) 20 controls the basic functions of the numerical controller. A read-only storage device (ROM) 22 stores a system control program. The random access memory (RAM) 23 stores temporary data such as input / output signals. The non-volatile memory 24 stores various data such as a machining program that should be retained even after the power is turned off. In the panel 25, a graphic control circuit 25a, a display device 25b, a keyboard 25c, a software key 2
5d is provided. The graphic control circuit 25a converts the image information sent from the CPU 20 into a displayable signal and outputs it to the display device 25b. The display device 25b is C
RTs, liquid crystal displays, etc. are used. Keyboard 2
5c is provided with operation keys used for data input, function keys, and the like. The meaning of the software key 25d changes according to the operator's screen selection, and necessary keys are displayed on the screen. On the machine operation panel 13 in the machine tool 10, a manual handle feed amount setting switch 1
1. A manual pulse generator 12 is provided. The manual handle feed amount setting switch 11 sets the magnification of the pulse feed amount. The manual pulse generator 12 generates a pulse speed by rotating a handle installed therein. The axis control circuit 26 receives an instruction such as an interpolation pulse from the CPU 20 and outputs an axis movement instruction to the servo amplifier 27. The servo amplifier 27 receives the movement command and drives the servo motor 14 in the machine tool 10. A programmable machine controller (PMC) 28 controls the machine tool 10 with a sequence program formed in a ladder format.
These components are connected to each other by a bus 29.

【0011】[0011]

【発明の効果】以上説明したように本発明では、手動パ
ルス発生器からの倍増パルス速度を倍増スイッチの倍率
の整数倍に換算した早送りパルス速度でクランプする構
成をとる。よって操作者にとっては切削工具の位置が把
握しやすく、手動パルス発生器を使用しての位置決め等
の作業を効率よく行うことができる。
As described above, in the present invention, the double pulse speed from the manual pulse generator is clamped at the fast-forward pulse speed converted into an integral multiple of the double switch magnification. Therefore, it is easy for the operator to grasp the position of the cutting tool, and the work such as positioning using the manual pulse generator can be efficiently performed.

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

【図1】本発明の原理を示すブロック図である。FIG. 1 is a block diagram showing the principle of the present invention.

【図2】移動量計算手段の処理手順を示すフローチャー
トである。
FIG. 2 is a flowchart showing a processing procedure of a movement amount calculation means.

【図3】本発明が適用される数値制御装置(CNC)の
ハードウェアのブロック図である。
FIG. 3 is a block diagram of hardware of a numerical controller (CNC) to which the present invention is applied.

【符号の説明】[Explanation of symbols]

11 手動パルス発生器 12 手動ハンドル送り量設定スイッチ 21 移動量計算手段 26 軸制御回路 27 サーボアンプ 14 サーボモータ 11 Manual pulse generator 12 Manual handle feed amount setting switch 21 Moving amount calculation means 26 Axis control circuit 27 Servo amplifier 14 Servo motor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 回転数に応じてパルス速度を出力する手
動パルス発生器を有する数値制御装置において、 前記パルス速度を倍増スイッチからの倍率に従って倍増
パルス速度として増やし、前記倍増パルス速度が所定の
パルス速度を越えたときに前記所定のパルス速度を倍増
スイッチの倍率の整数倍に換算し、前記所定のパルス速
度をクランプパルス速度とする移動量計算手段、 を有することを特徴とする数値制御装置。
1. A numerical controller having a manual pulse generator that outputs a pulse speed according to the number of revolutions, wherein the pulse speed is increased as a doubling pulse speed according to a magnification from a doubling switch, and the doubling pulse speed is a predetermined pulse. A numerical control device comprising: a movement amount calculating means for converting the predetermined pulse speed into an integral multiple of a multiplication factor of a doubling switch when the speed is exceeded, and using the predetermined pulse speed as a clamp pulse speed.
【請求項2】 前記所定のパルス速度を早送りパルス速
度とすることを特徴とする請求項1記載の数値制御装
置。
2. The numerical controller according to claim 1, wherein the predetermined pulse speed is a fast-forward pulse speed.
JP16023895A 1995-06-27 1995-06-27 Numerical controller Pending JPH0916263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16023895A JPH0916263A (en) 1995-06-27 1995-06-27 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16023895A JPH0916263A (en) 1995-06-27 1995-06-27 Numerical controller

Publications (1)

Publication Number Publication Date
JPH0916263A true JPH0916263A (en) 1997-01-17

Family

ID=15710698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16023895A Pending JPH0916263A (en) 1995-06-27 1995-06-27 Numerical controller

Country Status (1)

Country Link
JP (1) JPH0916263A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6353301B1 (en) 1998-02-05 2002-03-05 Mitsubishi Denki Kabushiki Kaisha Handle feeding control method in a numerical control apparatus, and a numerical control apparatus
CN102189539A (en) * 2010-03-18 2011-09-21 冯黎 Combined type hand pulse driving system for scribing machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6353301B1 (en) 1998-02-05 2002-03-05 Mitsubishi Denki Kabushiki Kaisha Handle feeding control method in a numerical control apparatus, and a numerical control apparatus
CN102189539A (en) * 2010-03-18 2011-09-21 冯黎 Combined type hand pulse driving system for scribing machine

Similar Documents

Publication Publication Date Title
KR0150064B1 (en) Apparatus and method for numerical control
JP4233540B2 (en) Numerical control device that drives each axis motor using table format data
JPH0916263A (en) Numerical controller
WO1999040493A1 (en) Method for controlling feeding motion of numerical controlled machine and numerically controlled machine
JP2752514B2 (en) Program execution method of CNC device
US20050144205A1 (en) Waveform display apparatus
JPH0563749U (en) Numerical control device with processing time calculation function
JP4562591B2 (en) Tool path drawing method and apparatus
JPH08339215A (en) Numerical controller
JPH06332520A (en) Display system for motor waveform of cnc
JPH0885044A (en) Working load monitoring system
JP3491913B2 (en) Numerical control unit
JP3075861B2 (en) Numerical control unit
JPH04152082A (en) Profile control unit for robot
JPH05168998A (en) Speed control system for making amount of sealing coating constant
JPH07104705B2 (en) Numerical control device
JPH09120311A (en) Numerical controller and machining method
JP2963286B2 (en) Numerical control unit
JPH06124112A (en) Data confirmation system for numerical controller
JP2779796B2 (en) Numerical control unit
KR0175846B1 (en) Position control device of motor and position control method
JPH0212325A (en) Multi-window display system
JP2797553B2 (en) Electronic cam switch
JP2634930B2 (en) Numerical control information creation device
JPH0876827A (en) Acceleration and deceleration control system