JPH07241742A - Numerical control device - Google Patents

Numerical control device

Info

Publication number
JPH07241742A
JPH07241742A JP3561094A JP3561094A JPH07241742A JP H07241742 A JPH07241742 A JP H07241742A JP 3561094 A JP3561094 A JP 3561094A JP 3561094 A JP3561094 A JP 3561094A JP H07241742 A JPH07241742 A JP H07241742A
Authority
JP
Japan
Prior art keywords
movement
pulse signal
command
coordinate system
tool
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
JP3561094A
Other languages
Japanese (ja)
Inventor
Kentaro Fujibayashi
謙太郎 藤林
Kunihiko Murakami
邦彦 村上
Shuji Ogawa
修二 小川
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 JP3561094A priority Critical patent/JPH07241742A/en
Publication of JPH07241742A publication Critical patent/JPH07241742A/en
Pending legal-status Critical Current

Links

Landscapes

  • Automatic Control Of Machine Tools (AREA)

Abstract

PURPOSE:To facilitate manual position indexing operation in a numerical control device allowing a tool position to be moved manually. CONSTITUTION:A space parameter storage means 1 is stored with plural space parameters 2 indicating grate space on the specified coordinate axes. A grate space selecting means 3 selects one of the space parameters 2 and assigns a grate position. A movement command means 5 outputs a pulse signal and a moving direction command. A coordinate system selecting means 7 selects a coordinate system to be the reference of the coordinate axes. A moving quantity computing means 4 computes the moving distance to a following grate position in the direction assigned by the moving direction command every time it receives one pulse signal. An interpolating means 6 outputs interpolating pulse according to the moving distance. A tool can be thereby moved into a set grate position when the pulse signal is outputted. Since the grate space can be set optionally, position indexing operation is facilitated.

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 capable of manually moving the position of a tool,
In particular, it relates to a numerical control device with improved position indexing operation.

【0002】[0002]

【従来の技術】数値制御装置では、工具を手動操作によ
って移動させることにより、位置の割り出しを行うこと
ができる。通常は、この移動をさせるために手動ハンド
ル(手動パルス発生器)あるいは手動ステップ送りのス
イッチが設けられている。手動ハンドルで移動させる場
合には、ハンドルを1目盛り動かすごとに、あらかじめ
設定されている単位移動量の値分の距離だけ工具が移動
する。手動ステップ送りスイッチで移動させる場合は、
手動ステップ送りスイッチを1回押すごとに、あらかじ
め設定されている単位移動量の値分の距離だけ工具が移
動する。
2. Description of the Related Art In a numerical controller, the position can be determined by manually moving a tool. Usually, a manual handle (manual pulse generator) or a manual step feed switch is provided for this movement. When the handle is moved by the manual handle, each time the handle is moved by one scale, the tool moves by a distance corresponding to the value of the preset unit movement amount. When moving with the manual step feed switch,
Each time the manual step feed switch is pressed, the tool moves by the distance corresponding to the preset unit movement amount.

【0003】図6は従来の方式による手動での位置の割
り出し操作の工具の移動を示す図である。この図は絶対
座標系のX軸上の移動とする。座標値は「mm」単位で
ある。C10が座標系の原点(座標値「0」)であり、現
在位置C11(座標値「3.597」)から目標位置C14
(座標値「11.000」)まで移動させる場合であ
る。そして、この移動を手動ハンドルで行うものとして
説明する。
FIG. 6 is a diagram showing movement of a tool for a manual position indexing operation according to a conventional method. This figure is a movement on the X axis of the absolute coordinate system. Coordinate values are in "mm" units. C10 is the origin of the coordinate system (coordinate value "0"), and the current position C11 (coordinate value "3.597") to the target position C14.
This is a case of moving to (coordinate value “11.000”). Then, it is assumed that this movement is performed by a manual handle.

【0004】まず、作業者は単位移動量の設定スイッチ
により、単位移動量を1.000mmに設定し、手動ハ
ンドルをプラス方向に7目盛り動かす。これによって、
工具位置はC12(座標値「10.597」)に移動す
る。
First, the operator sets the unit movement amount to 1.000 mm by the unit movement amount setting switch, and moves the manual handle by 7 increments in the plus direction. by this,
The tool position moves to C12 (coordinate value "10.597").

【0005】次に、単位移動量を0.100mmに設定
し、手動ハンドルをプラス方向に4目盛り動かす。これ
によって、工具位置はC13(座標値「10.997」)
に移動する。
Next, the unit movement amount is set to 0.100 mm, and the manual handle is moved by 4 graduations in the plus direction. As a result, the tool position is C13 (coordinate value "10.997")
Move to.

【0006】最後に、単位移動量を0.001mmに設
定し、手動ハンドルをプラス方向に3目盛り動かす。こ
れによって、工具位置は目標位置C14(座標値「11.
000」)に達する。
Finally, the unit movement amount is set to 0.001 mm, and the manual handle is moved in the plus direction by three scales. As a result, the tool position is the target position C14 (coordinate value "11.
000 ").

【0007】このように、従来の数値制御装置では工具
の移動量は、現在位置からの増減値で指定し、作業者は
現在位置をつねに確認しながら手動ハンドルを動かし目
標位置に近づけていく。そして、単位移動量を大きい値
から小さい値に変え、もう一度、現在位置をつねに確認
しながら手動ハンドルを動かし目標位置に近づけてい
く。これを繰り返すことによって工具を目標位置に移動
させることができる。
As described above, in the conventional numerical control device, the amount of movement of the tool is designated by an increase / decrease value from the current position, and the operator moves the manual handle while making the current position closer to the target position. Then, the unit movement amount is changed from a large value to a small value, and the manual handle is moved again while constantly checking the current position to bring it closer to the target position. By repeating this, the tool can be moved to the target position.

【0008】[0008]

【発明が解決しようとする課題】しかし、工具の移動量
が現在位置からの増減値でしか指定できないため、目標
位置の座標値が分かっているのに、現在の工具位置を確
認しながら目標位置に少しずつ移動させなければならな
い。そのため、作業者は現在位置の確認、現在位置と目
標位置との距離の把握、単位移動量の選択、さらに手動
ハンドルによる工具の移動を行った後、また、同じ操作
を繰り返さなければならず、作業者の負担を増やしてい
る。
However, since the movement amount of the tool can be specified only by the increase / decrease value from the current position, the coordinate value of the target position is known, but the target position is confirmed while confirming the current tool position. I have to move it little by little. Therefore, the operator must repeat the same operation after confirming the current position, grasping the distance between the current position and the target position, selecting the unit movement amount, and further moving the tool by the manual handle, The burden on workers is increasing.

【0009】また、図6での説明のように目標位置が区
切りの良い座標値(図 では「11.000」)である
場合や、原点(座標値「0.000」)に移動する場合
であっても、上記の説明のように手動ハンドルと単位移
動量の設定スイッチを変えながら、少しずつ目標位置に
近づけなければならず、作業効率が悪かった。
Further, as shown in FIG. 6, when the target position is a coordinate value (“11.000” in the figure) which is well separated, or when the target position is moved to the origin (coordinate value “0.000”). Even if there is, it is necessary to gradually approach the target position while changing the manual handle and the unit movement amount setting switch as described above, resulting in poor work efficiency.

【0010】このように、工具の移動量が現在位置から
の増減値でしか指定できないため、作業者の負担が大き
く、作業効率が悪いという問題点があった。本発明はこ
のような点に鑑みてなされたものであり、手動による位
置の割り出し操作が容易にできるようにした数値制御装
置を提供することを目的とする。
As described above, since the movement amount of the tool can be specified only by the increase / decrease value from the current position, there is a problem that the work load is heavy and the work efficiency is poor. 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 capable of easily performing a manual position indexing operation.

【0011】[0011]

【課題を解決するための手段】工具の位置を手動操作に
よって移動させることができる数値制御装置において、
所定の座標軸上の格子の間隔を示す間隔パラメータを複
数格納する間隔パラメータ記憶手段と、複数の前記間隔
パラメータの中の一つを選択し、格子位置を指定する格
子間隔選択手段と、パルス信号と、移動方向指令とを出
力する移動指令手段と、前記パルス信号を受け取るごと
に、前記移動方向指令の次の格子位置までの移動距離を
計算する移動量計算手段と、前記移動距離によって補間
パルスを出力する補間手段と、を有することを特徴とす
る数値制御装置が提供される。
In a numerical control device capable of manually moving the position of a tool,
Interval parameter storage means for storing a plurality of interval parameters indicating the interval between grids on a predetermined coordinate axis, grid interval selection means for selecting one of the plurality of interval parameters and designating a grid position, and a pulse signal , A movement command means for outputting a movement direction command, a movement amount calculation means for calculating a movement distance to the next grid position of the movement direction command each time the pulse signal is received, and an interpolation pulse by the movement distance. There is provided an interpolating means for outputting, and a numerical control device is provided.

【0012】[0012]

【作用】間隔パラメータ記憶手段は、所定の座標軸上の
格子の間隔を示す間隔パラメータを複数格納する。格子
間隔選択手段は、間隔パラメータ記憶手段に格納された
間隔パラメータの中の一つを選択し、格子位置を指定す
る。移動指令手段は、パルス信号と、移動方向指令とを
出力する。移動量計算手段は、パルス信号を一つ受け取
るごとに、移動方向指令によって指定された方向の次の
格子位置までの移動距離を計算する。補間手段は、移動
距離によって補間パルスを出力する。
The spacing parameter storage means stores a plurality of spacing parameters indicating the spacing between grids on a predetermined coordinate axis. The lattice spacing selecting means selects one of the spacing parameters stored in the spacing parameter storage means and specifies the lattice position. The movement command means outputs a pulse signal and a movement direction command. The movement amount calculation means calculates the movement distance to the next grid position in the direction designated by the movement direction command each time one pulse signal is received. The interpolation means outputs an interpolation pulse according to the moving distance.

【0013】[0013]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1は本発明の原理を示すブロック図である。間
隔パラメータ記憶手段1は、複数の間隔パラメータ2が
格納されている。この間隔パラメータ2は所定の座標軸
上の格子の間隔を示す。そして、格子間隔選択手段3
は、間隔パラメータ記憶手段1に格納された間隔パラメ
ータ2の中の一つを選択することにより、格子位置を指
定する。この格子位置は、工具を停止させることのでき
る位置であり、間隔パラメータ2で指定された間隔で、
座標軸上に設定される。例えば、選択された間隔パラメ
ータ2が「0.100mm」の設定であった場合、座標
軸の原点から0.1mmおきの点(0mm,0.1m
m,0.2mm,0.3mm・・・)が格子位置であ
る。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the principle of the present invention. The interval parameter storage means 1 stores a plurality of interval parameters 2. The spacing parameter 2 indicates the spacing between grids on a predetermined coordinate axis. Then, the lattice spacing selecting means 3
Specifies the grid position by selecting one of the interval parameters 2 stored in the interval parameter storage means 1. This grid position is the position where the tool can be stopped, and at the interval specified by the interval parameter 2,
It is set on the coordinate axis. For example, when the selected spacing parameter 2 is set to "0.100 mm", points (0 mm, 0.1 m) every 0.1 mm from the origin of the coordinate axis.
m, 0.2 mm, 0.3 mm ...) is the lattice position.

【0014】移動指令手段5は、手動操作により、パル
ス信号と移動方向を指定する移動方向指令とを出力す
る。この移動指令手段5は、手動ハンドルあるいは手動
送りスイッチを用いることができる。
The movement command means 5 outputs a pulse signal and a movement direction instruction designating a movement direction by a manual operation. The movement command means 5 can use a manual handle or a manual feed switch.

【0015】座標系選択手段7は、工具が移動する座標
軸の基準となる座標系を選択する。座標系には絶対座標
系、機械座標系、相対座標系がある。絶対座標系はワー
ク上の1点を基準とした座標系であり、機械座標系は機
械原点を基準とした座標系であり、相対座標系は工具の
位置とワークとの相対的な位置で表す座標系である。こ
れらの座標系をパラメータによって指定することができ
る。例えば、パラメータの値が0の場合は機械座標系、
パラメータの値が1の場合は絶対座標系、パラメータの
値が2の場合は相対座標系を選択するようにする。
The coordinate system selecting means 7 selects a coordinate system serving as a reference for coordinate axes along which the tool moves. The coordinate system includes an absolute coordinate system, a machine coordinate system, and a relative coordinate system. The absolute coordinate system is a coordinate system based on one point on the work, the machine coordinate system is a coordinate system based on the machine origin, and the relative coordinate system is a relative position between the tool position and the work. It is a coordinate system. These coordinate systems can be specified by parameters. For example, if the parameter value is 0, the machine coordinate system,
When the parameter value is 1, the absolute coordinate system is selected, and when the parameter value is 2, the relative coordinate system is selected.

【0016】移動量計算手段4は、格子位置を認識して
おり、パルス信号を一つ受け取るごとに、移動方向指令
によって指定された方向の次の格子位置までの移動距離
を計算する。
The movement amount calculating means 4 recognizes the grid position, and calculates the movement distance to the next grid position in the direction designated by the movement direction command each time one pulse signal is received.

【0017】補間手段6は移動量計算手段4が計算した
移動距離によって、補間パルスを軸制御回路18に出力
する。軸制御回路18は補間パルスを受け取ると、軸の
移動指令をサーボアンプ19に出力する。サーボアンプ
19はこの移動指令を受けて、サーボモータ21を駆動
する。
The interpolation means 6 outputs an interpolation pulse to the axis control circuit 18 according to the movement distance calculated by the movement amount calculation means 4. When the axis control circuit 18 receives the interpolation pulse, it outputs an axis movement command to the servo amplifier 19. The servo amplifier 19 receives the movement command and drives the servo motor 21.

【0018】例えば、現在位置が「0.050mm」の
位置であり選択さている間隔パラメータ2が「0.10
0mm」の設定であった場合に、プラス方向に2パルス
分のパルス信号を受け取ると、1パルス目での移動距離
は「0.050mm」であり「0.100mm」の位置
に移動し、2パルス目での移動距離は「0.100m
m」であり「0.200mm」の位置に移動する。
For example, the current position is "0.050 mm" and the selected interval parameter 2 is "0.10".
When the pulse signal for 2 pulses is received in the plus direction when the setting is “0 mm”, the moving distance at the first pulse is “0.050 mm”, and the position moves to the position of “0.100 mm”. The moving distance at the pulse is "0.100m
m ”and moves to the position of“ 0.200 mm ”.

【0019】図2は本発明を実施するための数値制御装
置のハードウェア構成図である。プロセッサ11はRO
M12に格納されたシステムプログラムに従って数値制
御装置全体を制御する。このROM12にはEPROM
やEEPROMが使用される。RAM13にはSRAM
やDRAMが使用され、入出力信号等の一時的なデータ
が格納される。不揮発性メモリ14には、バッテリによ
ってバックアップされたメモリやフラッシュROMが使
用される。そして不揮発性メモリ14には、間隔パラメ
ータ等のパラメータや、加工プログラム等の電源切断後
も保持すべき各種データが格納される。
FIG. 2 is a hardware configuration diagram of a numerical controller for implementing the present invention. Processor 11 is RO
The entire numerical controller is controlled according to the system program stored in M12. This ROM12 is EPROM
Or EEPROM is used. SRAM in RAM13
And DRAM are used to store temporary data such as input / output signals. For the non-volatile memory 14, a memory backed up by a battery or a flash ROM is used. The non-volatile memory 14 stores parameters such as interval parameters and various data such as machining programs that should be retained even after power-off.

【0020】グラフィック制御回路15は、プロセッサ
11等から送られた画像情報を表示可能な信号に変換
し、表示装置16に出力する。表示装置16は、CRT
や液晶ディスプレイが使用される。軸制御回路18はプ
ロセッサ11からの補間パルス等の指令を受けて、軸の
移動指令をサーボアンプ19に出力する。サーボアンプ
19はこの移動指令を受けて、工作機械20内のサーボ
モータ21(図1に示す)を駆動する。
The graphic control circuit 15 converts the image information sent from the processor 11 or the like into a displayable signal and outputs it to the display device 16. The display device 16 is a CRT
And liquid crystal displays are used. The axis control circuit 18 receives an instruction such as an interpolation pulse from the processor 11 and outputs an axis movement instruction to the servo amplifier 19. The servo amplifier 19 receives the movement command and drives the servo motor 21 (shown in FIG. 1) in the machine tool 20.

【0021】PMC(プログラマブル・マシン・コント
ローラ)22は加工プログラムの実行時に、バス30経
由でT機能信号(工具指定指令)等を受け取る。そし
て、この信号をシーケンス・プログラムで処理して、動
作指令として信号を出力し、工作機械20を制御する。
工作機械には工具の移動指令を行うための機械操作盤4
0が設けられている。この操作盤40には、様々なスイ
ッチ設けられており、間隔パラメータの選択や座標系の
選択等を行うことができる。機械操作盤40の詳細につ
いては後述する。
A PMC (Programmable Machine Controller) 22 receives a T function signal (tool designation command) or the like via the bus 30 when executing a machining program. Then, this signal is processed by the sequence program, a signal is output as an operation command, and the machine tool 20 is controlled.
Machine control panel 4 for issuing tool movement commands to machine tools
0 is provided. Various switches are provided on the operation panel 40, and it is possible to select a spacing parameter and a coordinate system. Details of the machine operation panel 40 will be described later.

【0022】なお、バス30には更に、システムプログ
ラム等によって機能が変化するソフトウェアキー23が
接続されている。このソフトウェアキー23は、上記表
示装置16、キーボード17とともに、CRT/MDI
パネル25に設けられている。キーボード17からデー
タを入力することによって、間隔パラメータ2を書き換
えることができる。
A software key 23 whose function is changed by a system program or the like is further connected to the bus 30. This software key 23 is used together with the display device 16 and the keyboard 17 in the CRT / MDI.
It is provided on the panel 25. The interval parameter 2 can be rewritten by inputting data from the keyboard 17.

【0023】図3は本発明の実施例のブロック図であ
る。不揮発性メモリ14は、4種類の間隔パラメータ2
(P1,P2,P3,P4)を格納している。キーボー
ド17(図2に示す)からのキー入力によってこの間隔
パラメータ2の値を変更することができる。間隔パラメ
ータ2は所定の座標軸上の格子の間隔を示し、0.00
1mmの何倍かで表されている。図3の例においては、
P1=1,P2=10,P3=100,P4=1000
の値が格納されている。そして、機械操作盤40に設け
られた格子間隔選択スイッチ42で間隔パラメータ記憶
手段1に格納された間隔パラメータ2の中の一つを選択
することにより、格子位置を指定する。つまり、P4が
選択された場合には格子の間隔は1.000mmにな
り、1.000mm間隔の位置で工具を停止させること
ができる。
FIG. 3 is a block diagram of an embodiment of the present invention. The nonvolatile memory 14 has four types of interval parameters 2.
It stores (P1, P2, P3, P4). The value of the interval parameter 2 can be changed by key input from the keyboard 17 (shown in FIG. 2). The spacing parameter 2 indicates the spacing between grids on a predetermined coordinate axis, and is 0.00
It is expressed in multiples of 1 mm. In the example of FIG.
P1 = 1, P2 = 10, P3 = 100, P4 = 1000
The value of is stored. Then, the grid position is designated by selecting one of the interval parameters 2 stored in the interval parameter storage means 1 with the grid interval selection switch 42 provided on the machine operation panel 40. That is, when P4 is selected, the lattice spacing is 1.000 mm, and the tool can be stopped at the position of 1.000 mm.

【0024】機械操作盤40に設けられた手動ハンドル
41aは手動操作により、パルス信号と移動方向を指定
する移動方向指令とを出力する。手動ハンドル41aの
周囲に等間隔で目盛りが振られており、手動ハンドル4
1aを回転させたときの目盛りの数だけパルス信号を出
力する。また手動ハンドル41aを回転させた場合の回
転方向によって、移動方向指令が出力される。手動ハン
ドル41aを時計回りに回転させた場合には座標軸のプ
ラス方向に工具を移動し、反時計回りに回転させた場合
には座標軸のマイナス方向に工具を移動する。
A manual handle 41a provided on the machine operation panel 40 outputs a pulse signal and a movement direction command designating a movement direction by a manual operation. Scales are arranged around the manual handle 41a at equal intervals.
Pulse signals are output by the number of scales when 1a is rotated. A movement direction command is output depending on the rotation direction when the manual handle 41a is rotated. When the manual handle 41a is rotated clockwise, the tool is moved in the plus direction of the coordinate axis, and when it is rotated counterclockwise, the tool is moved in the minus direction of the coordinate axis.

【0025】機械操作盤40に座標系選択スイッチ43
を設けることにより、容易に座標系を変えることができ
るように構成されている。移動量計算手段4は、格子位
置を認識しており、パルス信号を一つ受け取るごとに、
移動方向指令によって指定された方向の次の格子位置ま
での移動距離を計算する。これは、ソフトウェアで指令
された命令をプロセッサ11(図2に示す)が計算する
ことによって実行される機能である。
A coordinate system selection switch 43 is provided on the machine operation panel 40.
Is provided so that the coordinate system can be easily changed. The movement amount calculation means 4 recognizes the lattice position, and each time one pulse signal is received,
The moving distance to the next grid position in the direction designated by the moving direction command is calculated. This is a function executed by the processor 11 (shown in FIG. 2) calculating an instruction given by software.

【0026】補間手段6は移動量計算手段4が計算した
移動距離によって、補間パルスを軸制御回路18に出力
する。軸制御回路18は補間パルスを受け取ると、軸の
移動指令をサーボアンプ19に出力する。サーボアンプ
19はこの移動指令を受けて、サーボモータ21を駆動
する。
The interpolation means 6 outputs an interpolation pulse to the axis control circuit 18 according to the movement distance calculated by the movement amount calculation means 4. When the axis control circuit 18 receives the interpolation pulse, it outputs an axis movement command to the servo amplifier 19. The servo amplifier 19 receives the movement command and drives the servo motor 21.

【0027】図4は機械操作盤40を示す図である。機
械操作盤40には手動ハンドル41aの他に5つのスイ
ッチが設けられている。手動ハンドル41aは手動パル
ス発生器41に接続されており、手動ハンドル41aを
1目盛り回すごとにパルス信号を1つ出力する。さら
に、手動ハンドル41aの回転方向によって、プラス方
向の移動、あるいはマイナス方向の移動の移動方向指令
を出力する。
FIG. 4 is a view showing the machine operation panel 40. The machine operation panel 40 is provided with five switches in addition to the manual handle 41a. The manual handle 41a is connected to the manual pulse generator 41, and outputs one pulse signal each time the manual handle 41a is turned by one scale. Further, a movement direction command for movement in the plus direction or movement in the minus direction is output depending on the rotation direction of the manual handle 41a.

【0028】送り手段切換スイッチ45は、従来通りの
増減値指定(A)によって工具を移動するか、本発明の
格子間隔指定(B)によって工具を移動するかを切り換
えるためのスイッチである。
The feed means changeover switch 45 is a switch for switching between moving the tool according to the conventional increase / decrease value designation (A) or moving the tool according to the lattice spacing designation (B) of the present invention.

【0029】単位移動量設定スイッチ46は、送り手段
切換スイッチ45が増減値指定(A)を選択していると
きに有効になり、パルス信号が1つ出力されたときの移
動量を設定するためのスイッチである。図においては最
小移動量(0.001mm)の何倍であるかで表示され
ており、1倍、10倍、100倍、1000倍の4種類
の単位移動量がある。
The unit movement amount setting switch 46 is effective when the feed means changeover switch 45 selects the increase / decrease value designation (A), and sets the movement amount when one pulse signal is output. Switch. In the figure, it is indicated by how many times the minimum movement amount (0.001 mm) is, and there are four types of unit movement amounts of 1, 10, 100, and 1000 times.

【0030】格子間隔選択スイッチ42は、送り手段切
換スイッチ45が格子間隔指定(B)を選択していると
きに有効になり、間隔パラメータ2(P1,P2,P
3,P4)の内の1つを選択し有効にする。
The lattice spacing selection switch 42 is enabled when the feeding means changeover switch 45 selects the lattice spacing designation (B), and the spacing parameter 2 (P1, P2, P).
Select and activate one of the options (3, P4).

【0031】座標系選択スイッチ43は、工具が移動す
る座標軸の基準となる座標系を選択するためのスイッチ
である。図においては、機械座標系(0)、絶対座標系
(1)、および相対座標系(2)の内の1つを選択する
ことができる。
The coordinate system selection switch 43 is a switch for selecting a coordinate system that serves as a reference for the coordinate axes along which the tool moves. In the figure, one of the machine coordinate system (0), the absolute coordinate system (1), and the relative coordinate system (2) can be selected.

【0032】座標軸選択スイッチ44は、座標系選択ス
イッチ43によって選択された座標系のどの軸(X軸、
Y軸、あるいはZ軸)の方向に工具を移動させるのかを
選択するためのスイッチである。
The coordinate axis selection switch 44 determines which axis of the coordinate system selected by the coordinate system selection switch 43 (X axis,
This is a switch for selecting whether to move the tool in the Y-axis or Z-axis direction.

【0033】図5は本発明による工具の移動を示す図で
ある。この図は絶対座標系の座標軸上の移動である。座
標値は「mm」単位である。C0が座標系の原点(座標
値「0」)であり、現在位置C1(座標値「3.59
7」)から目標位置C3(座標値「11.000」)ま
で移動させる場合である。前提として、送り手段切換ス
イッチ45は格子間隔指定(B)に設定されており、座
標系選択スイッチ43は絶対座標系(1)を選択し、座
標軸選択スイッチ44は軸を選択しているものとする。
また、間隔パラメータの値は図3に示す値であるとす
る。
FIG. 5 shows the movement of the tool according to the invention. This figure shows movement on the coordinate axes of the absolute coordinate system. Coordinate values are in "mm" units. C0 is the origin of the coordinate system (coordinate value "0"), and the current position C1 (coordinate value "3.59"
7 ”) to the target position C3 (coordinate value“ 11.000 ”). As a premise, it is assumed that the feed means changeover switch 45 is set to the lattice spacing designation (B), the coordinate system selection switch 43 selects the absolute coordinate system (1), and the coordinate axis selection switch 44 selects the axis. To do.
Further, the value of the interval parameter is assumed to be the value shown in FIG.

【0034】まず、格子間隔選択スイッチ42をP4の
位置に設定する。このとき間隔パラメータ2のP4の値
は10000であるため、格子間隔は10.000mm
(10000×0.001mm)間隔になる。そして、
手動ハンドル41aを1目盛り時計回り(プラス方向)
に回転させる。これによって、手動パルス発生器41か
らパルス信号が1パルス出力される。
First, the lattice spacing selection switch 42 is set to the position P4. At this time, since the value of P4 of the interval parameter 2 is 10000, the grid interval is 10.000 mm.
The distance is (10000 × 0.001 mm). And
Turn the manual handle 41a one scale clockwise (plus direction)
Rotate to. As a result, one pulse signal is output from the manual pulse generator 41.

【0035】移動量選択手段4は、パルス信号を受け取
り移動量を計算する。現在位置C1のプラス方向にある
次の格子位置は座標値「10.000mm」の位置であ
る。そのためこのパルス信号で移動するべき移動量は、
「6.403mm」(10.000mm−3.597m
m)である。この移動量分の補間パルスを補間手段6が
出力することによって、工具は点C2(座標位置「1
0.000mm」)に移動する。
The movement amount selection means 4 receives the pulse signal and calculates the movement amount. The next grid position in the plus direction of the current position C1 is the position with the coordinate value “10.000 mm”. Therefore, the movement amount to move with this pulse signal is
"6.403 mm" (10.000 mm-3.597 m
m). The interpolation means 6 outputs an interpolation pulse corresponding to this movement amount, whereby the tool is moved to the point C2 (coordinate position "1").
0.000 mm ").

【0036】次に、格子間隔選択スイッチ42をP3の
位置に設定する。このとき間隔パラメータ2のP3の値
は1000であるため、格子間隔は1.000mm(1
000×0.001mm)間隔になる。そして、手動ハ
ンドル41aを1目盛り時計回り(プラス方向)に回転
させる。これによって、手動パルス発生器41からパル
ス信号が1パルス出力される。
Next, the lattice spacing selection switch 42 is set to the position P3. At this time, the value of P3 of the spacing parameter 2 is 1000, so the lattice spacing is 1.000 mm (1
000 × 0.001 mm) spacing. Then, the manual handle 41a is rotated clockwise by one scale (plus direction). As a result, one pulse signal is output from the manual pulse generator 41.

【0037】移動量選択手段4は再度パルス信号を受け
取り移動量を計算する。現在位置C2のプラス方向にあ
る次の格子位置は座標値「11.000mm」の位置で
ある。そのためこのパルス信号で移動するべき移動量
は、「1.000mm」(11.000mm−10.0
00mm)である。この移動量分の補間パルスを補間手
段6が出力することによって、工具は目標位置C3(座
標位置「11.000mm」)に移動する。このように
して、極めて容易に位置の割り出しをすることができ
る。
The movement amount selection means 4 receives the pulse signal again and calculates the movement amount. The next grid position in the plus direction of the current position C2 is the position with the coordinate value “11.000 mm”. Therefore, the movement amount to be moved by this pulse signal is "1.000 mm" (11.000 mm-10.0
00 mm). The interpolation means 6 outputs an interpolation pulse corresponding to this movement amount, whereby the tool moves to the target position C3 (coordinate position “11.000 mm”). In this way, the position can be determined very easily.

【0038】また、目標位置が細かい数値の場合であっ
ても、どの間隔パラメータでどれだけパルス信号を出力
すれば良いかが容易にわかる。例えば、現在位置が
「3.597mm」であり目標位置が「10.540」
であった場合、格子間隔を「10.000mm」の設定
で1パルス、格子間隔を「0.100mm」の設定で5
パルス、格子間隔を「0.010mm」の設定で4パル
スの移動によって目標位置に工具を移動することができ
る。このように、従来のように作業者が自ら工具の位置
を確認しながら移動させる必要がない。
Further, even if the target position is a fine numerical value, it is easy to understand how much the pulse signal should be output with which interval parameter. For example, the current position is "3.597 mm" and the target position is "10.540".
If it is, one pulse is set at the grid spacing of “10.000 mm” and 5 pulses at the grid spacing of “0.100 mm”.
The tool can be moved to the target position by moving 4 pulses by setting the pulse and the grid interval to "0.010 mm". Thus, unlike the conventional case, the operator does not need to move the tool while checking the position of the tool.

【0039】さらに、座標系選択手段7によって座標軸
の基準となる座標系を選択できるようにしたため、作業
状況に応じて、より位置の割り出しの行い易い座標系で
位置の割り出しを行うことができる。そして、間隔パラ
メータは作業内容に応じて任意の値に設定できるため、
作業効率を良くし、作業者の負担を軽減することができ
る。
Further, since the coordinate system as the reference of the coordinate axis can be selected by the coordinate system selecting means 7, the position can be determined by the coordinate system in which the position can be determined more easily according to the working situation. And since the interval parameter can be set to any value depending on the work content,
The work efficiency can be improved and the burden on the worker can be reduced.

【0040】上記の説明では移動指令手段に手動ハンド
ルを用いるとしたが、手動ステップ送りを用いることも
できる。プラス方向の手動ステップ送りを1回実行する
ごとに、プラス方向の移動方向指令でパルス信号が1パ
ルス出力される。同様に、マイナス方向の手動ステップ
送りを1回実行するごとに、マイナス方向の移動方向指
令でパルス信号が1パルス出力される。
Although a manual handle is used as the movement command means in the above description, manual step feed can also be used. Every time the manual step feed in the plus direction is executed, one pulse signal is output by the plus direction moving direction command. Similarly, each time a negative manual step feed is executed, one pulse signal is output in response to a negative movement direction command.

【0041】[0041]

【発明の効果】以上説明したように、本発明では工具が
停止する格子位置を等間隔に設定し、移動指令手段から
パルス信号が出力された際には、次の格子位置まで移動
させるようにし、さらにその格子位置の間隔は間隔パラ
メータを用いることにより、任意に設定できるようにし
たため、手動による位置の割り出し操作が容易になり、
作業効率を良くし、作業者の負担を軽減することができ
るようになった。
As described above, in the present invention, the grid positions where the tool stops are set at equal intervals, and when the pulse signal is output from the movement command means, the tool is moved to the next grid position. , Furthermore, since the interval of the grid position can be set arbitrarily by using the interval parameter, the manual position indexing operation becomes easy,
It has become possible to improve work efficiency and reduce the burden on workers.

【0042】また、座標系を選択できるようにしたた
め、作業を行いやすい座標系を選ぶことができ、さらに
作業効率を良くすることができる。
Further, since the coordinate system can be selected, it is possible to select a coordinate system that facilitates the work, and further improve the work efficiency.

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

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

【図2】本発明を実施するための数値制御装置のハード
ウェア構成図である。
FIG. 2 is a hardware configuration diagram of a numerical controller for implementing the present invention.

【図3】本発明の実施例のブロック図である。FIG. 3 is a block diagram of an embodiment of the present invention.

【図4】機械操作盤を示す図である。FIG. 4 is a diagram showing a machine operation panel.

【図5】本発明による工具の移動を示す図である。FIG. 5 is a diagram showing movement of a tool according to the present invention.

【図6】従来の方式による手動での位置の割り出し操作
の工具の移動を示す図である。
FIG. 6 is a diagram showing movement of a tool for manual position indexing operation according to a conventional method.

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

1 間隔パラメータ記憶手段 2 間隔パラメータ 3 格子間隔選択手段 4 移動量計算手段 5 移動指令手段 6 補間手段 7 座標系選択手段 DESCRIPTION OF SYMBOLS 1 Interval parameter storage means 2 Interval parameter 3 Lattice interval selection means 4 Movement amount calculation means 5 Movement command means 6 Interpolation means 7 Coordinate system selection means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 工具の位置を手動操作によって移動させ
ることができる数値制御装置において、 所定の座標軸上の格子の間隔を示す間隔パラメータを複
数格納する間隔パラメータ記憶手段と、 複数の前記間隔パラメータの中の一つを選択し、格子位
置を指定する格子間隔選択手段と、 パルス信号と、移動方向指令とを出力する移動指令手段
と、 前記パルス信号を受け取るごとに、前記移動方向指令の
次の格子位置までの移動距離を計算する移動量計算手段
と、 前記移動距離によって補間パルスを出力する補間手段
と、 を有することを特徴とする数値制御装置。
1. A numerical controller capable of moving a position of a tool by manual operation, and an interval parameter storage means for storing a plurality of interval parameters indicating intervals of a grid on a predetermined coordinate axis, and a plurality of the interval parameters. Selecting one of them, a grid spacing selecting means for designating a grid position, a moving command means for outputting a pulse signal and a moving direction command, and a moving direction command next to the moving direction command every time the pulse signal is received. A numerical control device comprising: a movement amount calculation means for calculating a movement distance to a grid position; and an interpolation means for outputting an interpolation pulse according to the movement distance.
【請求項2】 前記座標軸の基準となる座標系を選択す
る座標系選択手段を有することを特徴とする請求項1記
載の数値制御装置。
2. The numerical controller according to claim 1, further comprising coordinate system selecting means for selecting a coordinate system serving as a reference of the coordinate axes.
【請求項3】 前記移動指令手段は、手動ハンドルによ
り前記パルス信号と前記移動方向指令とを出力すること
を特徴とする請求項1記載の数値制御装置。
3. The numerical controller according to claim 1, wherein the movement command means outputs the pulse signal and the movement direction command by a manual handle.
【請求項4】 前記移動指令手段は、手動ステップ送り
により前記パルス信号と前記移動方向指令とを出力する
ことを特徴とする請求項1記載の数値制御装置。
4. The numerical controller according to claim 1, wherein the movement command means outputs the pulse signal and the movement direction command by manual step feed.
JP3561094A 1994-03-07 1994-03-07 Numerical control device Pending JPH07241742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3561094A JPH07241742A (en) 1994-03-07 1994-03-07 Numerical control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3561094A JPH07241742A (en) 1994-03-07 1994-03-07 Numerical control device

Publications (1)

Publication Number Publication Date
JPH07241742A true JPH07241742A (en) 1995-09-19

Family

ID=12446616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3561094A Pending JPH07241742A (en) 1994-03-07 1994-03-07 Numerical control device

Country Status (1)

Country Link
JP (1) JPH07241742A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104772651A (en) * 2015-04-28 2015-07-15 江苏师范大学 Tool setting device for numerical control lathe and numerical control boring-milling machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104772651A (en) * 2015-04-28 2015-07-15 江苏师范大学 Tool setting device for numerical control lathe and numerical control boring-milling machine

Similar Documents

Publication Publication Date Title
US8190287B2 (en) Tool vector display apparatus for a machine tool with rotational axes
JP3671020B2 (en) Numerical controller
JP4233540B2 (en) Numerical control device that drives each axis motor using table format data
JPH04176539A (en) Interactive numerical control unit
US8155779B2 (en) Numerical controller with tabular data for operating arbitrary axes
KR0150064B1 (en) Apparatus and method for numerical control
JP4044105B2 (en) Numerical control device having function of switching operation means for each system
JP3174704B2 (en) Numerical controller with position error correction function
EP0511395A1 (en) Conversational type numerical control equipment
US7580770B2 (en) Numerical controller
US5808434A (en) Numerical control apparatus
JPH07241742A (en) Numerical control device
JP4282632B2 (en) Numerical control device that operates with tabular data
JP2799323B2 (en) Manual feed operation processing unit
JP3040263B2 (en) Numerical control device and numerical control method
JP3075861B2 (en) Numerical control unit
JP3491913B2 (en) Numerical control unit
JP2963286B2 (en) Numerical control unit
JPH0895623A (en) Tool shift control system in cnc
JPH08263120A (en) Current position display system for cnc
JPH04123105A (en) Motor control system
JPH07115277B2 (en) Contour shape processing method
JPH0454604A (en) Three-dimensional tool diameter correcting system
JPH06332520A (en) Display system for motor waveform of cnc
JPH06124110A (en) Numerical controller