JPH0822313A - Numerical controller - Google Patents
Numerical controllerInfo
- Publication number
- JPH0822313A JPH0822313A JP15695794A JP15695794A JPH0822313A JP H0822313 A JPH0822313 A JP H0822313A JP 15695794 A JP15695794 A JP 15695794A JP 15695794 A JP15695794 A JP 15695794A JP H0822313 A JPH0822313 A JP H0822313A
- Authority
- JP
- Japan
- Prior art keywords
- axis
- slave
- master
- grid
- origin
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 12
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 101001106432 Homo sapiens Rod outer segment membrane protein 1 Proteins 0.000 description 1
- 102100021424 Rod outer segment membrane protein 1 Human genes 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Landscapes
- Numerical Control (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はグリッド方式によって原
点復帰を行う数値制御装置に関し、特にマスタ軸とスレ
ーブ軸との同期をとる数値制御装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical control device for returning to the origin by a grid method, and more particularly to a numerical control device for synchronizing a master axis and a slave axis.
【0002】[0002]
【従来の技術】数値制御装置の加工プログラムに従って
精度良くワークに加工を施すためには、機械座標上の原
点を数値制御装置側で正確に把握していなくてはならな
い。このため、数値制御装置は、機械可動部を原点復帰
させることにより原点設定を行うようにしている。2. Description of the Related Art In order to accurately machine a work according to a machining program of a numerical controller, the origin on the machine coordinates must be accurately grasped by the numerical controller. Therefore, the numerical controller sets the origin by returning the movable part of the machine to the origin.
【0003】この原点復帰の方法として、減速用のリミ
ットスイッチを機械可動部の原点に近接して設けるもの
がある。これは、原点復帰を指令したあとにドグを踏ん
だ時点でサーボモータに減速指令を行い、ドグを離れて
最初にグリッド位置になった時点から、原点とグリッド
位置との差であるグリッドシフト量だけシフトさせるこ
とにより軸移動を停止させるものである。これにより正
確に原点に軸を停止させることができる。なお、グリッ
ドシフト量は予め手動操作等により測定された値であ
る。As a method for returning to the origin, there is a method in which a limit switch for deceleration is provided in the vicinity of the origin of the movable part of the machine. This is the amount of grid shift that is the difference between the origin and the grid position from the time when the driver first decelerates the servo motor when the dog is stepped on after the home position return command is issued The axis movement is stopped by shifting only. This makes it possible to accurately stop the axis at the origin. The grid shift amount is a value measured in advance by manual operation or the like.
【0004】ところで、マスタ軸とスレーブ軸とを有す
る工作機械を制御する数値制御装置では、これらの軸の
原点を一致させる必要がある。しかし、マスタ軸とスレ
ーブ軸とではグリッドの位置が一致していないため、従
来は、各軸についてグリッドシフト量を計測し、両者の
シフトのズレ量を演算してパラメータ設定しておき、そ
のズレ量に基づいて原点復帰を行っていた。By the way, in a numerical controller for controlling a machine tool having a master axis and a slave axis, it is necessary to make the origins of these axes coincide. However, since the grid positions on the master axis and slave axis do not match, conventionally, the grid shift amount is measured for each axis, the shift amount between the two is calculated, and the parameters are set, and the shift is set. The origin was returned based on the amount.
【0005】[0005]
【発明が解決しようとする課題】しかし、上述したよう
に、各グリッドシフト量の計測は手動によるため、その
ズレ量を求めるのに手間がかかっていた。However, as described above, since the measurement of each grid shift amount is performed manually, it takes a lot of time to find the shift amount.
【0006】本発明はこのような点に鑑みてなされたも
のであり、マスタ軸とスレーブ軸の原点復帰用のデータ
の設定作業を簡単にすることのできる数値制御装置を提
供することを目的とする。The present invention has been made in view of the above circumstances, and an object thereof is to provide a numerical control device capable of simplifying the work of setting the data for the origin return of the master axis and the slave axis. To do.
【0007】[0007]
【課題を解決するための手段】本発明では上記課題を解
決するために、グリッド方式によってマスタ軸およびス
レーブ軸の原点復帰を行う数値制御装置において、前記
マスタ軸およびスレーブ軸の各軸移動を指令する軸移動
指令手段と、前記マスタ軸およびスレーブ軸の各グリッ
ドが共に立ち上がった時点で前記マスタ軸およびスレー
ブ軸の移動を停止制御する軸停止制御手段と、前記マス
タ軸およびスレーブ軸が移動停止したときの各軸のグリ
ッド位置の位置ズレ量を算出する位置ズレ量算出手段
と、前記算出された位置ズレ量を格納する位置ズレ量格
納手段と、前記マスタ軸については予め設定されたグリ
ッドシフト量に基づいて前記原点復帰動作を行い、前記
スレーブ軸については、前記グリッドシフト量と前記位
置ズレ量を加算した値に基づいて前記原点復帰動作を行
う原点復帰制御手段と、を有することを特徴とする数値
制御装置が提供される。According to the present invention, in order to solve the above-mentioned problems, in a numerical control device for returning the origin of a master axis and a slave axis by a grid method, a command is issued for each axis movement of the master axis and the slave axis. Axis movement command means, and axis stop control means for controlling the movement of the master axis and the slave axis to stop when the grids of the master axis and the slave axis both rise, and the master axis and the slave axis have stopped moving. At this time, a positional deviation amount calculating means for calculating the positional deviation amount of the grid position of each axis, a positional deviation amount storage means for storing the calculated positional deviation amount, and a preset grid shift amount for the master axis. The origin return operation is performed based on the above, and for the slave axis, the grid shift amount and the positional deviation amount are added. Numerical control device, wherein there is provided to have a, and the origin return control means for performing the homing operation based on.
【0008】[0008]
【作用】軸移動指令手段は、マスタ軸およびスレーブ軸
の各軸移動を指令し、マスタ軸およびスレーブ軸の各グ
リッドが共に立ち上がった時点で、軸停止制御手段がマ
スタ軸およびスレーブ軸の移動を停止制御する。位置ズ
レ量算出手段は、マスタ軸およびスレーブ軸が移動停止
したときの各軸のグリッド位置の位置ズレ量を算出し、
この算出された位置ズレ量を位置ズレ量格納手段が格納
する。The axis movement command means commands the movement of each axis of the master axis and the slave axis, and when the grids of the master axis and the slave axis both rise, the axis stop control means moves the master axis and the slave axis. Stop control. The positional deviation amount calculating means calculates the positional deviation amount of the grid position of each axis when the master axis and the slave axis stop moving,
The calculated positional deviation amount is stored in the positional deviation amount storage means.
【0009】一方、原点復帰制御手段は、マスタ軸につ
いては予め設定されたグリッドシフト量に基づいて原点
復帰動作を行い、スレーブ軸については、グリッドシフ
ト量と位置ズレ量を加算した値に基づいて原点復帰動作
を行う。On the other hand, the origin return control means performs the origin return operation for the master axis based on the preset grid shift amount, and for the slave axis based on the value obtained by adding the grid shift amount and the positional deviation amount. Perform home return operation.
【0010】[0010]
【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1は本発明の機能の概念を示す図である。軸
移動指令手段1は、マスタ軸3およびスレーブ軸4の各
軸移動を指令し、マスタ軸3およびスレーブ軸4の各グ
リッドが共に立ち上がった時点で、軸停止制御手段2が
マスタ軸3およびスレーブ軸4の移動を停止制御する。
位置ズレ量算出手段5は、マスタ軸3およびスレーブ軸
4が移動停止したときの各軸のグリッド位置の位置ズレ
量を算出し、この算出された位置ズレ量を位置ズレ量格
納手段6が格納する。An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the concept of the function of the present invention. The axis movement command means 1 commands each axis movement of the master axis 3 and the slave axis 4, and when each grid of the master axis 3 and the slave axis 4 rises, the axis stop control means 2 causes the axis stop control means 2 to move to the master axis 3 and the slave axis. The movement of the shaft 4 is stopped and controlled.
The positional deviation amount calculation means 5 calculates the positional deviation amount of the grid position of each axis when the master axis 3 and the slave axis 4 stop moving, and the calculated positional deviation amount is stored in the positional deviation amount storage means 6. To do.
【0011】一方、原点復帰制御手段8は、マスタ軸3
については予め設定されたグリッドシフト量7に基づい
て原点復帰動作を行い、スレーブ軸4については、グリ
ッドシフト量7と位置ズレ量を加算した値に基づいて、
マスタ軸3およびスレーブ軸4の原点復帰動作を行う。On the other hand, the origin return control means 8 controls the master shaft 3
Is performed on the basis of a preset grid shift amount 7, and for slave axis 4, based on a value obtained by adding the grid shift amount 7 and the positional deviation amount,
Performs a return-to-origin operation for master axis 3 and slave axis 4.
【0012】図2は本発明の数値制御装置のハードウェ
アの概略構成を示すブロック図である。数値制御装置は
プロセッサ11を中心に構成されている。プロセッサ1
1はROM12に格納されたシステムプログラムに従っ
て数値制御装置全体を制御する。このROM12にはE
PROMあるいはEEPROMが使用される。ROM1
2には、後述する原点復帰動作のための制御プログラム
が格納されている。FIG. 2 is a block diagram showing a schematic configuration of hardware of the numerical controller according to the present invention. The numerical controller is mainly composed of the processor 11. Processor 1
Reference numeral 1 controls the entire numerical controller according to a system program stored in the ROM 12. This ROM12 has E
PROM or EEPROM is used. ROM1
2 stores a control program for an origin return operation described later.
【0013】RAM13にはSRAM等が使用され、一
時的な計算データ、表示データ、入出力信号等が格納さ
れる。不揮発性メモリ14には図示されていないバッテ
リによってバックアップされたCMOSが使用され、電
源切断後も保持すべきパラメータ、加工プログラム、工
具補正データ、ピッチ誤差補正データ等が記憶される。
この不揮発性メモリ14に格納されるパラメータとして
は、後述するグリッドシフト量および位置ずれ量等があ
る。An SRAM or the like is used for the RAM 13, and temporary calculation data, display data, input / output signals, etc. are stored therein. The non-volatile memory 14 uses a CMOS backed up by a battery (not shown), and stores parameters, machining programs, tool correction data, pitch error correction data and the like that should be retained even after the power is turned off.
The parameters stored in the non-volatile memory 14 include a grid shift amount and a positional shift amount, which will be described later.
【0014】CRT/MDIユニット20は、数値制御
装置の前面あるいは機械操作盤と同じ位置に配置され、
データ及び図形の表示、データ入力、数値制御装置の運
転に使用される。グラフィック制御回路21は数値デー
タ及び図形データ等のディジタル信号を表示用のラスタ
信号に変換し、表示装置22に送り、表示装置22はこ
れらの数値及び図形を表示する。表示装置22にはCR
Tあるいは液晶表示装置が使用される。The CRT / MDI unit 20 is arranged on the front surface of the numerical controller or at the same position as the machine operation panel.
Used to display data and graphics, input data, and operate numerical control equipment. The graphic control circuit 21 converts a digital signal such as numerical data and graphic data into a raster signal for display and sends the raster signal to the display device 22, and the display device 22 displays these numerical values and graphics. CR on the display device 22
A T or liquid crystal display device is used.
【0015】キーボード23は数値キー、シンボリック
キー、文字キー及び機能キーから構成され、加工プログ
ラムの作成、編集及び数値制御装置の運転に使用され
る。ソフトウェアキー24は表示装置22の下部に設け
られ、その機能は表示装置に表示される。表示装置の画
面が変化すれば、表示される機能に対応して、ソフトウ
ェアキーの機能も変化する。The keyboard 23 is composed of numerical keys, symbolic keys, character keys and function keys, and is used for creating and editing a machining program and operating the numerical control device. The software key 24 is provided below the display device 22, and its function is displayed on the display device. When the screen of the display device changes, the function of the software key changes corresponding to the displayed function.
【0016】軸制御回路15はプロセッサ11からの軸
の移動指令を受けて、軸の移動指令をサーボアンプ16
に出力する。サーボアンプ16はこの移動指令を増幅
し、工作機械30に結合されたサーボモータを駆動し、
工作機械30の工具とワークの相対運動を制御する。工
作機械30は、マスタ軸とスレーブ軸とを有する工作機
械である。なお、軸制御回路15及びサーボアンプ16
はサーボモータの軸数に対応した数だけ設けられる。The axis control circuit 15 receives the axis movement command from the processor 11, and outputs the axis movement command to the servo amplifier 16
Output to. The servo amplifier 16 amplifies this movement command and drives a servo motor coupled to the machine tool 30,
It controls the relative motion of the tool and the work of the machine tool 30. The machine tool 30 is a machine tool having a master axis and a slave axis. The axis control circuit 15 and the servo amplifier 16
Are provided in a number corresponding to the number of axes of the servo motor.
【0017】PMC(プログラマブル・マシン・コント
ローラ)18はプロセッサ11からバス19経由でM
(補助)機能信号、S(スピンドル速度制御)機能信
号、T(工具選択)機能信号等を受け取る。そして、こ
れらの信号をシーケンス・プログラムで処理して、出力
信号を出力し、工作機械30内の空圧機器、油圧機器、
電磁アクチュエイタ等を制御する。また、工作機械30
内の機械操作盤のボタン信号、スイッチ信号及びリミッ
トスイッチ等の信号を受けて、シーケンス処理を行い、
バス19を経由してプロセッサ11に必要な入力信号を
転送する。A PMC (Programmable Machine Controller) 18 is M from the processor 11 via the bus 19.
Receives (auxiliary) function signal, S (spindle speed control) function signal, T (tool selection) function signal, and the like. Then, these signals are processed by a sequence program, and output signals are output, and pneumatic equipment, hydraulic equipment in the machine tool 30,
Controls electromagnetic actuators, etc. Also, the machine tool 30
In response to the signals from the machine control panel inside, such as button signals, switch signals and limit switches, sequence processing is performed,
The necessary input signals are transferred to the processor 11 via the bus 19.
【0018】なお、図2ではスピンドルモータ制御回路
及びスピンドルモータ用アンプ等は省略してある。ま
た、上記の例ではプロセッサ11は1個で説明したが、
複数のプロセッサを使用してマルチプロセッサ構成にす
ることもできる。In FIG. 2, the spindle motor control circuit, the spindle motor amplifier, etc. are omitted. In the above example, the number of processors 11 is one, but
It is also possible to use multiple processors in a multiprocessor configuration.
【0019】次に本実施例の原点復帰制御の具体的な手
順について説明する。図3は本実施例の原点復帰制御の
機能を示すブロック図である。数値制御装置(CNC)
10のマスタ軸側の演算器41には、マスタ軸の移動量
を指令する分配パルスが入力される。エラーレジスタ4
3には演算器42を介して分配パルスが入力される。サ
ーボアンプ16aは、エラーレジスタ43のエラー量に
応じた出力電圧を出力し、サーボモータ46を駆動して
マスタ軸の移動を制御する。Next, a specific procedure of the origin return control of this embodiment will be described. FIG. 3 is a block diagram showing the function of origin return control of this embodiment. Numerical control unit (CNC)
A distribution pulse for instructing the movement amount of the master axis is input to the master axis side arithmetic unit 41 of 10. Error register 4
A distribution pulse is input to 3 via the arithmetic unit 42. The servo amplifier 16a outputs an output voltage according to the error amount of the error register 43, drives the servo motor 46, and controls the movement of the master axis.
【0020】サーボモータ46には、図示されていない
パルスコーダが内蔵されており、このパルスコーダの位
置帰還パルスが演算器42に帰還される。また、パルス
コーダのグリッドが立ち上がる度にそのグリッド信号が
リファレンスカウンタ44に送られる。リファレンスカ
ウンタ44は、演算器41の出力をカウントし、グリッ
ド信号が入力される度にそのカウント値をリセットす
る。また、リファレンスカウンタ44は、このリセット
信号を軸停止制御手段45、55に送る。The servo motor 46 incorporates a pulse coder (not shown), and the position feedback pulse of this pulse coder is fed back to the calculator 42. Also, each time the grid of the pulse coder rises, the grid signal is sent to the reference counter 44. The reference counter 44 counts the output of the arithmetic unit 41 and resets the count value each time a grid signal is input. Further, the reference counter 44 sends this reset signal to the axis stop control means 45, 55.
【0021】軸停止制御手段45は、リファレンスカウ
ンタ44および後述するリファレンスカウンタ54の両
方からリセット信号が送られると、演算器41の出力を
停止し、マスタ軸の移動を停止制御する。When a reset signal is sent from both the reference counter 44 and a reference counter 54, which will be described later, the axis stop control means 45 stops the output of the arithmetic unit 41 and controls the movement of the master axis.
【0022】一方、スレーブ軸側の演算器51には、ス
レーブ軸の移動量を指令する分配パルスが入力される。
エラーレジスタ53には、演算器52を介して分配パル
スが入力される。サーボアンプ16bは、エラーレジス
タ53のエラー量に応じた出力電圧を出力し、サーボモ
ータ56を駆動し、スレーブ軸の移動を制御する。On the other hand, a distribution pulse for instructing the movement amount of the slave axis is input to the arithmetic unit 51 on the slave axis side.
The distribution pulse is input to the error register 53 via the calculator 52. The servo amplifier 16b outputs an output voltage according to the error amount of the error register 53, drives the servo motor 56, and controls the movement of the slave axis.
【0023】サーボモータ56には、図示されていない
パルスコーダが内蔵されており、このパルスコーダの位
置帰還パルスが演算器52に帰還される。また、パルス
コーダのグリッドが立ち上がる度にそのグリッド信号が
リファレンスカウンタ54に送られる。リファレンスカ
ウンタ54は、演算器51の出力をカウントし、グリッ
ド信号が入力される度にそのカウント値をリセットす
る。また、リファレンスカウンタ54は、このリセット
信号を軸停止制御手段45、55に送る。The servo motor 56 has a built-in pulse coder (not shown), and the position feedback pulse of this pulse coder is fed back to the calculator 52. Also, each time the grid of the pulse coder rises, the grid signal is sent to the reference counter 54. The reference counter 54 counts the output of the arithmetic unit 51 and resets the count value every time a grid signal is input. Further, the reference counter 54 sends this reset signal to the axis stop control means 45, 55.
【0024】軸停止制御手段55は、前述のリファレン
スカウンタ44およびリファレンスカウンタ54の両方
からリセット信号が送られると、演算器51の出力を停
止し、スレーブ軸の移動を停止制御する。When the reset signals are sent from both the reference counter 44 and the reference counter 54, the axis stop control means 55 stops the output of the arithmetic unit 51 and controls the movement of the slave axis.
【0025】位置ズレ量算出手段60は、軸停止制御手
段45および55によってマスタ軸およびスレーブ軸が
共に停止したことを検知すると、各リファレンスカウン
タ44および54のカウント値を読み取り、各軸のグリ
ッド位置の位置ズレ量Xaを算出する。この算出された
位置ズレ量Xaは、スレーブ軸用の原点復帰制御手段5
7のメモリ部57bにパラメータ設定される。When the axis shift control means 45 and 55 detect that both the master axis and the slave axis have stopped, the position shift amount calculation means 60 reads the count values of the reference counters 44 and 54 and the grid position of each axis. The positional shift amount Xa is calculated. The calculated position shift amount Xa is used as the origin return control means 5 for the slave axis.
No. 7 memory unit 57b is set with parameters.
【0026】図4は位置ズレ量算出手段60による位置
ズレ量Xaの算出方法を示す図である。まず、軸移動が
開始されて最初にマスタ軸のグリッドGaが立ち上が
り、次にスレーブ軸のグリッドGbが立ち上がったとす
ると、後者のスレーブ軸のグリッドGbが立ち上がった
時点で軸停止制御手段45、55により各軸の移動の停
止指令がなされる。そして、マスタ軸P1およびスレー
ブ軸P2の両者が停止した時点で、位置ズレ量算出手段
60は、各軸のシフト量MdおよびSdを読み取り、そ
のグリッド位置の位置ズレ量Xa=Sd−Mdを算出す
る。FIG. 4 is a diagram showing a method of calculating the positional deviation amount Xa by the positional deviation amount calculating means 60. First, when the axis movement is started and the grid Ga of the master axis rises first, and then the grid Gb of the slave axis rises, when the latter grid Gb of the slave axis rises, the axis stop control means 45, 55 causes A stop command for movement of each axis is issued. Then, when both the master axis P1 and the slave axis P2 are stopped, the position shift amount calculation means 60 reads the shift amounts Md and Sd of the respective axes, and calculates the position shift amount Xa = Sd-Md of the grid position. To do.
【0027】図3に戻り、マスタ軸およびスレーブ軸の
各原点復帰動作は、それぞれ原点復帰制御手段47、5
7によって行われる。原点復帰制御手段47のメモリ部
47bには、予め設定されたグリッドシフト量GSが格
納されている。軸停止制御手段47aは、原点復帰動作
が開始されると、リファレンスカウンタ44のカウント
状態を監視し、このリファレンスカウンタ44からリセ
ット信号を受け取ってマスタ軸のグリッド位置を確認す
ると、この位置からグリッドシフト量GSだけシフトし
た状態で演算器41の出力を停止し、マスタ軸の移動を
停止させる。これにより、マスタ軸が原点復帰される。Returning to FIG. 3, the origin-returning operations of the master axis and slave axis are performed by origin-returning control means 47 and 5, respectively.
Performed by 7. A preset grid shift amount GS is stored in the memory unit 47b of the origin return control means 47. When the origin return operation is started, the axis stop control means 47a monitors the count state of the reference counter 44, receives a reset signal from the reference counter 44, and confirms the grid position of the master axis. The output of the computing unit 41 is stopped in the state of being shifted by the amount GS, and the movement of the master axis is stopped. As a result, the master axis is returned to the origin.
【0028】一方、原点復帰制御手段57のメモリ部5
7bには、予め設定されたグリッドシフト量GSに位置
ズレ量Xaが加算された値が格納されている。軸停止制
御手段57aは、原点復帰動作が開始されると、リファ
レンスカウンタ54のカウント状態を監視し、このリフ
ァレンスカウンタ54からリセット信号を受け取ってス
レーブ軸のグリッド位置を確認すると、この位置からグ
リッドシフト量GS+位置ズレ量Xaだけシフトした状
態で演算器51の出力を停止し、スレーブ軸の移動を停
止させる。これにより、マスタ軸のグリッド位置にスレ
ーブ軸のグリッド位置を一致させてスレーブ軸を原点復
帰させることができる。On the other hand, the memory unit 5 of the origin return control means 57.
A value obtained by adding the positional shift amount Xa to the preset grid shift amount GS is stored in 7b. When the origin return operation is started, the axis stop control means 57a monitors the count state of the reference counter 54, receives a reset signal from the reference counter 54, and confirms the grid position of the slave axis. The output of the computing unit 51 is stopped in a state of being shifted by the amount GS + the positional deviation amount Xa, and the movement of the slave axis is stopped. As a result, the slave axis can be returned to the origin by matching the grid position of the master axis with the grid position of the slave axis.
【0029】図5は位置ズレ量Xaを算出するための手
順を示すフローチャートである。なお、このフローチャ
ートは、位置ズレ量Xaの算出モードがパラメータによ
り設定されているときに実行される。 〔S1〕マスタ軸およびスレーブ軸の移動制御を行う。 〔S2〕マスタ軸およびスレーブ軸のグリッドが立ち上
がったか否かを判断し、立ち上がればステップS3に進
み、そうでなければステップS1に戻る。 〔S3〕マスタ軸およびスレーブ軸の移動を停止制御す
る。 〔S4〕位置ズレ量Xaを算出し、パラメータ設定す
る。FIG. 5 is a flow chart showing the procedure for calculating the positional deviation amount Xa. It should be noted that this flowchart is executed when the calculation mode of the positional deviation amount Xa is set by the parameter. [S1] The movement control of the master axis and the slave axis is performed. [S2] It is determined whether or not the grids of the master axis and the slave axes have risen, and if they have risen, the process proceeds to step S3, and if not, the process returns to step S1. [S3] The movement of the master axis and the slave axis is stopped and controlled. [S4] The positional deviation amount Xa is calculated and parameters are set.
【0030】このように、本実施例では、マスタ軸とス
レーブ軸のグリット位置の位置ズレ量Xaを自動的に算
出して、この位置ズレ量Xaに基づいてスレーブ軸の原
点復帰動作を行うようにしたので、原点復帰用のデータ
の設定作業を簡単にすることができる。As described above, in this embodiment, the positional deviation amount Xa between the grid positions of the master axis and the slave axis is automatically calculated, and the origin return operation of the slave axis is performed based on this positional deviation amount Xa. Therefore, the work of setting the data for return to origin can be simplified.
【0031】[0031]
【発明の効果】以上説明したように本発明では、マスタ
軸およびスレーブ軸の各グリッドが共に立ち上がった時
点で、各軸の移動を停止制御し、そのときの各軸のグリ
ッド位置の位置ズレ量を算出して格納しておき、スレー
ブ軸については、グリッドシフト量と位置ズレ量を加算
した値に基づいて原点復帰動作を行うようにしたので、
原点復帰用のデータの設定作業を簡単にすることができ
る。As described above, according to the present invention, when each grid of the master axis and slave axis rises, the movement of each axis is stopped and controlled, and the positional deviation amount of the grid position of each axis at that time is controlled. Is calculated and stored, and for the slave axis, the origin return operation is performed based on the value obtained by adding the grid shift amount and the position shift amount.
It is possible to simplify the work of setting the data for return to origin.
【図1】本発明の機能の概念を示す図である。FIG. 1 is a diagram showing a concept of functions of the present invention.
【図2】本発明の数値制御装置のハードウェアの概略構
成を示すブロック図である。FIG. 2 is a block diagram showing a schematic configuration of hardware of a numerical controller according to the present invention.
【図3】本実施例の原点復帰制御の機能を示すブロック
図である。FIG. 3 is a block diagram showing a function of origin return control of the present embodiment.
【図4】位置ズレ量算出手段による位置ズレ量の算出方
法を示す図である。FIG. 4 is a diagram showing a method of calculating a positional deviation amount by a positional deviation amount calculating means.
【図5】位置ズレ量を算出するための手順を示すフロー
チャートである。FIG. 5 is a flowchart showing a procedure for calculating a positional deviation amount.
1 軸移動指令手段 2 軸停止制御手段 3 マスタ軸 4 スレーブ軸 5 位置ズレ量算出手段 6 位置ズレ量格納手段 8 原点復帰制御手段 10 数値制御装置(CNC) 12 ROM 14 不揮発性メモリ 15 軸制御回路 16 サーボアンプ 30 工作機械 1 axis movement command means 2 axis stop control means 3 master axis 4 slave axis 5 position deviation amount calculation means 6 position deviation amount storage means 8 origin return control means 10 numerical controller (CNC) 12 ROM 14 non-volatile memory 15 axis control circuit 16 Servo amplifier 30 Machine tool
Claims (2)
レーブ軸の原点復帰を行う数値制御装置において、 前記マスタ軸およびスレーブ軸の各軸移動を指令する軸
移動指令手段と、 前記マスタ軸およびスレーブ軸の各グリッドが共に立ち
上がった時点で前記マスタ軸およびスレーブ軸の移動を
停止制御する軸停止制御手段と、 前記マスタ軸およびスレーブ軸が移動停止したときの各
軸のグリッド位置の位置ズレ量を算出する位置ズレ量算
出手段と、 前記算出された位置ズレ量を格納する位置ズレ量格納手
段と、 前記マスタ軸については予め設定されたグリッドシフト
量に基づいて前記原点復帰動作を行い、前記スレーブ軸
については、前記グリッドシフト量と前記位置ズレ量を
加算した値に基づいて前記原点復帰動作を行う原点復帰
制御手段と、 を有することを特徴とする数値制御装置。1. A numerical controller for performing origin return of a master axis and a slave axis by a grid method, wherein axis movement command means for instructing movement of each axis of the master axis and slave axis, and each of the master axis and slave axis. Axis stop control means for stopping and controlling the movement of the master axis and the slave axis when the grid rises together, and a position for calculating the amount of positional deviation of the grid position of each axis when the master axis and the slave axis stop moving. Deviation amount calculating means, position deviation amount storing means for storing the calculated position deviation amount, and for the master axis, the origin return operation is performed based on a preset grid shift amount, and for the slave axis, , A home-return control hand that performs the home-return operation based on a value obtained by adding the grid shift amount and the position shift amount. Numerical control apparatus characterized by having, when.
設定により格納されていることを特徴とする請求項1記
載の数値制御装置。2. The numerical control device according to claim 1, wherein the position shift amount storage means is stored by parameter setting.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15695794A JPH0822313A (en) | 1994-07-08 | 1994-07-08 | Numerical controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15695794A JPH0822313A (en) | 1994-07-08 | 1994-07-08 | Numerical controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0822313A true JPH0822313A (en) | 1996-01-23 |
Family
ID=15639024
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15695794A Pending JPH0822313A (en) | 1994-07-08 | 1994-07-08 | Numerical controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0822313A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10180593A (en) * | 1996-12-25 | 1998-07-07 | Kitamura Mach Co Ltd | Machine tool |
| WO2003060616A1 (en) * | 2002-01-17 | 2003-07-24 | Mitsubishi Denki Kabushiki Kaisha | Method and device for numerical control |
| JP2009294718A (en) * | 2008-06-02 | 2009-12-17 | Mitsubishi Electric Corp | Numerical controller and method for correcting misalignment |
| WO2012039003A1 (en) * | 2010-09-22 | 2012-03-29 | 三菱電機株式会社 | Method for setting origin and device therefor |
| JP2013166240A (en) * | 2012-02-16 | 2013-08-29 | Soonhan Engineering Corp | Apparatus and method for controlling multi-axis stage device |
| US20220171367A1 (en) * | 2019-03-29 | 2022-06-02 | Omron Corporation | Control device |
-
1994
- 1994-07-08 JP JP15695794A patent/JPH0822313A/en active Pending
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10180593A (en) * | 1996-12-25 | 1998-07-07 | Kitamura Mach Co Ltd | Machine tool |
| WO2003060616A1 (en) * | 2002-01-17 | 2003-07-24 | Mitsubishi Denki Kabushiki Kaisha | Method and device for numerical control |
| US6950726B2 (en) | 2002-01-17 | 2005-09-27 | Mitsubishi Denki Kabushiki Kaisha | Method and device for numerical control return to origin of a master and slave shaft |
| JP2009294718A (en) * | 2008-06-02 | 2009-12-17 | Mitsubishi Electric Corp | Numerical controller and method for correcting misalignment |
| WO2012039003A1 (en) * | 2010-09-22 | 2012-03-29 | 三菱電機株式会社 | Method for setting origin and device therefor |
| DE112010005896T5 (en) | 2010-09-22 | 2013-07-25 | Mitsubishi Electric Corporation | Origin setting method and device using same |
| JP5340488B2 (en) * | 2010-09-22 | 2013-11-13 | 三菱電機株式会社 | Origin setting method and apparatus |
| JP2013166240A (en) * | 2012-02-16 | 2013-08-29 | Soonhan Engineering Corp | Apparatus and method for controlling multi-axis stage device |
| US20220171367A1 (en) * | 2019-03-29 | 2022-06-02 | Omron Corporation | Control device |
| US11899430B2 (en) * | 2019-03-29 | 2024-02-13 | Omron Corporation | Control device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3671020B2 (en) | Numerical controller | |
| CN104570920B (en) | Possesses the numerical control device of action setting screen | |
| EP0397887B1 (en) | Method of correcting machining program | |
| US5327350A (en) | Interactive type numerical control apparatus and method thereof | |
| US20070185609A1 (en) | Numerical control method | |
| JPH0822313A (en) | Numerical controller | |
| US5808434A (en) | Numerical control apparatus | |
| JP4044105B2 (en) | Numerical control device having function of switching operation means for each system | |
| JP2799323B2 (en) | Manual feed operation processing unit | |
| JPH0895623A (en) | Tool shift control system in cnc | |
| JPH08263120A (en) | Current position display system for cnc | |
| JPH08106317A (en) | Current position display system of cnc | |
| JP2702555B2 (en) | Numerical control unit reordering method | |
| EP0530364A1 (en) | Interactive numerical controller | |
| JPH08229773A (en) | Numerical control device | |
| JPS6378723A (en) | Controller for displaying position of mold clamping mechanism in motor-driven direct pressure type mold clamping mechanism | |
| JP2891366B2 (en) | Automatic welding equipment | |
| JPH0836413A (en) | Time management system for cnc | |
| JPH08147015A (en) | Limit check system for cnc | |
| JPH07234714A (en) | Numerical controller | |
| JP2895685B2 (en) | Numerical control unit | |
| JP2963286B2 (en) | Numerical control unit | |
| WO2022107818A1 (en) | Control device | |
| JP2793677B2 (en) | Origin setting method | |
| JPH01263802A (en) | Cnc device |