JPH06161527A - Numerical controller - Google Patents
Numerical controllerInfo
- Publication number
- JPH06161527A JPH06161527A JP30711392A JP30711392A JPH06161527A JP H06161527 A JPH06161527 A JP H06161527A JP 30711392 A JP30711392 A JP 30711392A JP 30711392 A JP30711392 A JP 30711392A JP H06161527 A JPH06161527 A JP H06161527A
- Authority
- JP
- Japan
- Prior art keywords
- work table
- value
- motor
- command
- shaft
- 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
Landscapes
- Numerical Control (AREA)
- Control Of Position Or Direction (AREA)
Abstract
(57)【要約】
【目的】 クランプされた状態でモータの位置がずれた
場合はアラームを発生する数値制御装置を提供するこ
と。
【構成】 クランプ状態が確認されている場合、遮断位
置レジスタ232とパルスエンコーダ200の内容の差
を求め、求めた結果が判断値レジスタ230の内容をこ
えていれば、アラームを発生する。
(57) [Abstract] [Purpose] To provide a numerical control device which generates an alarm when the position of a motor is deviated in a clamped state. [Structure] When the clamped state is confirmed, a difference between the contents of the interruption position register 232 and the pulse encoder 200 is obtained, and if the obtained result exceeds the contents of the judgment value register 230, an alarm is generated.
Description
【0001】[0001]
【産業上の利用分野】本発明は数値制御装置に関するも
のであり、特に、移動部材を移動させるサーボモータの
位置制御に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller, and more particularly to position control of a servo motor for moving a moving member.
【0002】[0002]
【従来の技術】数値制御装置は移動部材を数値データに
より指令された指令位置に移動させる装置であり、工作
機械,溶接装置,産業用ロボット,搬送装置および工業
用ミシン等において使用されている。2. Description of the Related Art A numerical control device is a device for moving a moving member to a command position commanded by numerical data, and is used in a machine tool, a welding device, an industrial robot, a carrier device, an industrial sewing machine and the like.
【0003】このような数値制御装置においては、一般
的に、移動部材を指令位置に移動させるためにフィード
バック制御が行われる。そのため、図11に示すよう
に、NC制御部210,軸移動制御部212,加減速演
算部214,偏差カウンタ216,速度制御回路220
および位置検出器としてパルスエンコーダ200が設け
られている。In such a numerical controller, feedback control is generally performed to move the moving member to the command position. Therefore, as shown in FIG. 11, the NC controller 210, the axis movement controller 212, the acceleration / deceleration calculator 214, the deviation counter 216, and the speed control circuit 220.
A pulse encoder 200 is provided as a position detector.
【0004】NC制御部210は、運転データバッファ
160に転送されたNCデータを読み込み、ワークテー
ブル12の目標位置を表す目標位置値を含む移動指令を
発する。軸制御部212は、NC制御部210が発する
目標位置値および移動速度値から一定時間毎にモータを
作動させるべき移動量増分を求め、出力する。加減速演
算部214は、NC制御部210が指令する目標位置値
に基づいて、モータ50を加速し、定速で作動させ、減
速するための指令パルス信号を作成し、偏差カウンタ2
16に出力する。このようにすれば、ワークテーブル1
2を衝撃少なく発進及び停止させるために、ワークテー
ブル12は緩やかに移動を開始し、緩やかに停止するこ
とができる。The NC control unit 210 reads the NC data transferred to the operation data buffer 160 and issues a movement command including a target position value representing the target position of the work table 12. The axis control unit 212 obtains and outputs a movement amount increment at which the motor should be operated at regular time intervals from the target position value and the movement speed value issued by the NC control unit 210. The acceleration / deceleration calculation unit 214 creates a command pulse signal for accelerating the motor 50, operating it at a constant speed, and decelerating it based on the target position value instructed by the NC control unit 210.
Output to 16. By doing this, work table 1
In order to start and stop 2 with a small impact, the work table 12 can start moving gently and stop gently.
【0005】また偏差カウンタ216は、加減速演算部
214から出力される指令パルス信号のパルス数と、モ
ータ50の位置を検出するパルスエンコーダ200から
のフィードバックパルス信号のパルス数との差を記憶
し、速度制御回路220はその偏差カウンタ216の内
容に基づいて、D/A変換器218を介してアナログ変
換した電圧によってモータ50を速度制御しつつ駆動す
る。それによってワークテーブル12はNC制御部21
0により目標位置値で指定された位置へ移動させられ
る。The deviation counter 216 stores the difference between the pulse number of the command pulse signal output from the acceleration / deceleration calculation unit 214 and the pulse number of the feedback pulse signal from the pulse encoder 200 for detecting the position of the motor 50. The speed control circuit 220 drives the motor 50 while speed-controlling the speed of the motor 50 by the voltage converted into an analog signal via the D / A converter 218 based on the content of the deviation counter 216. As a result, the work table 12 becomes the NC control unit 21.
By 0, it is moved to the position designated by the target position value.
【0006】そして、このような数値制御装置において
更に、スイッチ224により速度制御回路220がモー
タをロック状態とフリー状態とに切り換え可能とされ
る。この切り換えは、サーボモータへの電源の投入及び
遮断を意味する。ここでロック状態とはサーボ電源投入
状態であり、具体的にはモータ50が偏差カウンタ21
6の内容に応じて駆動される状態であり、フリー状態と
はサーボ電源遮断状態であり、具体的には偏差カウンタ
216の内容とは無関係にモータ50が自由に回転し得
る状態である。Further, in such a numerical controller, the speed control circuit 220 can switch the motor between the locked state and the free state by the switch 224. This switching means turning on and off the power to the servo motor. Here, the locked state is a state in which the servo power is turned on. Specifically, the motor 50 is operated by the deviation counter 21.
6 is a state in which the motor 50 is driven according to the contents of 6 and the free state is a state where the servo power is cut off. Specifically, the motor 50 can freely rotate regardless of the contents of the deviation counter 216.
【0007】また工作機械等の回転軸には、一般的に
は、クランプ装置96が搭載されており、クランプ制御
の信号を使用して速度制御回路220のモータ50をロ
ック状態とフリー状態とに切り換えるように構成され
る。A clamp device 96 is generally mounted on the rotary shaft of a machine tool or the like, and the motor 50 of the speed control circuit 220 is brought into a locked state and a free state by using a clamp control signal. It is configured to switch.
【0008】このようにサーボ電源を切り換えるように
構成されるのは種々の理由からである。例えば、NCタ
ッピングマシンに設けられた0°/180°ワークテー
ブル12を駆動するサーボモータ制御は、次の理由でサ
ーボ電源を投入また遮断とに切り換えるようにされる。The reason why the servo power supply is switched in this way is for various reasons. For example, in the servo motor control for driving the 0 ° / 180 ° work table 12 provided in the NC tapping machine, the servo power is switched on and off for the following reason.
【0009】この種のワークテーブル12は矩形を成
し、その両端部にそれぞれ設けられたパレットにワーク
が固定され、ワークテーブルが0度と180度とに回転
させられることにより2つのうちの一方が加工位置に位
置決めされ、他方がワークの着脱を行う着脱位置に位置
決めされる。そして、このワークテーブル12にはクラ
ンプ装置96が設けられ、ワークテーブルをハウジング
にクランプし、ワークの着脱時に大きな力が加えられて
もワークテーブルが動かず、加工中のワークに位置ずれ
が生じないようにされている。The work table 12 of this type has a rectangular shape, and the work is fixed to pallets provided at both ends of the work table 12, and the work table is rotated to 0 ° and 180 ° so that one of the two is provided. Is positioned at the processing position, and the other is positioned at the attachment / detachment position for attaching / detaching the work. Further, the work table 12 is provided with a clamp device 96, which clamps the work table to the housing, so that the work table does not move even if a large force is applied when the work is attached or detached, and the work being processed is not displaced. Is being done.
【0010】このようにワークテーブル12がクランプ
された状態においてモータ50がロック状態にあれば、
クランプ力等を含めた外力によりモータ50の位置がず
れれば、指令パルス信号が出されていないのにパルスエ
ンコーダ200からのフィードバックパルス信号に基づ
いて偏差カウンタ216のカウント値が変わり、速度制
御回路220はモータ50を作動させてその変化を解消
しようとする。しかし、外力の方が強い場合、モータ5
0は元の位置に戻れず、速度制御回路220は更に大き
な電圧でモータ50を作動させようとし、モータのオー
バロードにより位置制御が中断されることとなる。その
ため、ワークテーブル12のクランプ時であって、ワー
クテーブル12を回転させる必要がない場合にはモータ
50をフリー状態とし、モータ50が動いてもフィード
バック制御が行われてオーバロードとならないように
し、クランプを解除するときにロック状態とすることが
行われていた。If the motor 50 is in the locked state with the work table 12 clamped in this way,
If the position of the motor 50 shifts due to an external force including a clamping force or the like, the count value of the deviation counter 216 changes based on the feedback pulse signal from the pulse encoder 200 even though the command pulse signal is not output, and the speed control circuit 220 operates the motor 50 to try to eliminate the change. However, if the external force is stronger, the motor 5
0 cannot return to the original position, the speed control circuit 220 tries to operate the motor 50 with a larger voltage, and the position control is interrupted due to the overload of the motor. Therefore, when the work table 12 is clamped and it is not necessary to rotate the work table 12, the motor 50 is set in a free state so that feedback control is performed even if the motor 50 moves so that overload does not occur. When releasing the clamp, the lock state was used.
【0011】[0011]
【発明が解決しようとする課題】しかしながら、工作機
械等でワークテーブル12上のワークを加工する場合に
おいてモータ50をフリー状態とした場合、切削時に生
ずる力がクランプ力より上回ってしまうと、ワークテー
ブル12が回転してしまい精度良く加工できなかった。
また、ワークテーブル12の位置がずれてしまうため、
その後ワークテーブル12に保持される全てのワークに
対し不良の加工を続けることになるという問題があっ
た。However, if the force generated during cutting exceeds the clamping force when the motor 50 is set in a free state when processing a work on the work table 12 with a machine tool or the like, the work table is not processed. 12 was rotated and could not be processed accurately.
Further, since the position of the work table 12 is displaced,
After that, there is a problem that defective machining is continued for all the workpieces held on the workpiece table 12.
【0012】本発明は、上述した問題点を解決するため
になされたものであり、固定された軸の位置が所定量以
上ずれたときに、アラームを発生させ、不良加工物の発
生をいち早く検出することができる数値制御装置を提供
することを目的とする。The present invention has been made to solve the above-mentioned problems, and when the position of a fixed shaft deviates by a predetermined amount or more, an alarm is generated and the occurrence of a defective work piece can be detected promptly. It is an object of the present invention to provide a numerical control device capable of performing.
【0013】[0013]
【課題を解決するための手段】この目的を達成するため
に本発明の数値制御装置では、サーボモータに連結され
た位置検出器と、その位置検出器により検出された位置
に基づいて位置決めされる軸と、その軸を位置決めした
後一時的に固定する固定手段と、その固定手段により前
記軸が固定された後サーボモータへの電源を遮断するサ
ーボ制御手段とを備えた数値制御装置において、前記サ
ーボ制御手段により前記サーボモータへの電源が遮断さ
れた時点における前記位置検出器の検出値を記憶するた
めの記憶手段と、前記固定手段により軸が固定された状
態で該軸が移動したか否かを判断するための基準値を記
憶する基準値記憶手段と、前記固定手段により軸が固定
された状態で前記位置検出器より求められる現在値と前
記記憶手段に記憶された検出値との差を演算するための
演算手段と、その演算手段により演算された前記現在値
と検出値との差が前記基準値記憶手段に記憶された基準
値をこえた時にアラームを発生するアラーム発生手段と
を備えている。In order to achieve this object, a numerical controller according to the present invention is positioned based on a position detector connected to a servo motor and a position detected by the position detector. A numerical controller comprising a shaft, a fixing means for temporarily fixing the shaft after positioning the shaft, and a servo control means for cutting off power to a servo motor after the shaft is fixed by the fixing means, Storage means for storing the detection value of the position detector at the time when the power supply to the servo motor is cut off by the servo control means, and whether or not the axis has moved while the axis is fixed by the fixing means. Reference value storage means for storing a reference value for determining whether or not the present value obtained from the position detector in the state where the shaft is fixed by the fixing means and the storage value in the storage means A calculation means for calculating the difference between the detected value and the detected value, and an alarm is generated when the difference between the present value calculated by the calculation means and the detected value exceeds the reference value stored in the reference value storage means. And an alarm generating means for generating the alarm.
【0014】[0014]
【作用】上記の構成を有する本発明の数値制御装置で
は、前記位置検出器により軸が正確に位置決めされる
と、前記固定手段により軸が固定され、その後前記サー
ボ制御手段によりサーボモータへの電源が遮断され、そ
の電源遮断時の位置検出器の検出値が前記記憶手段に記
憶される。そして軸が固定された状態で前記位置検出器
より求められる現在値と前記記憶手段に記憶された検出
値との差が前記演算手段演算により演算され、その演算
された前記現在値と検出値との差が前記基準値記憶手段
に記憶された基準値をこえた時にアラーム発生手段によ
りアラームが発生される。In the numerical controller of the present invention having the above-mentioned structure, when the position detector accurately positions the shaft, the fixing means fixes the shaft, and then the servo control means supplies power to the servo motor. Is cut off, and the detection value of the position detector when the power is cut off is stored in the storage means. Then, the difference between the current value obtained by the position detector and the detection value stored in the storage means in a state where the axis is fixed is calculated by the calculation means calculation, and the calculated current value and detection value When the difference exceeds the reference value stored in the reference value storage means, an alarm is generated by the alarm generation means.
【0015】[0015]
【実施例】以下、本発明をNCタッピングマシンに適用
した場合の実施例を図面に基づいて詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to an NC tapping machine will be described in detail below with reference to the drawings.
【0016】図2は、0°/180°回転ワークテーブ
ル装置10(以下、ワークテーブル装置10と略称す
る)を備えたNCタッピングマシンを示す。ワークテー
ブル装置10は、ワークを保持して180°ずつ回転す
るワークテーブル12を備えたものであり、本NCタッ
ピングマシンは、ワークテーブル装置10と、ワークテ
ーブル12上のワークを加工するための加工装置14と
を備えている。加工装置14に取り付けられるドリル,
センタドリル,タップ等の工具16は三次元空間内の任
意の位置へ移動可能である。これは、加工装置14がX
軸方向(図面の紙面に直角な方向)、Y軸方向(図面の
左右方向)、Z軸方向(図面の上下方向)に移動可能な
3つの部分を有するためである。FIG. 2 shows an NC tapping machine equipped with a 0 ° / 180 ° rotating work table device 10 (hereinafter abbreviated as work table device 10). The work table device 10 includes a work table 12 that holds a work and rotates by 180 °. The NC tapping machine of the present invention includes a work table device 10 and a processing for processing the work on the work table 12. And a device 14. A drill attached to the processing device 14,
The tool 16 such as a center drill or a tap can be moved to any position in the three-dimensional space. This is because the processing device 14
This is because it has three parts that are movable in the axial direction (direction perpendicular to the paper surface of the drawing), the Y-axis direction (horizontal direction in the drawing), and the Z-axis direction (vertical direction in the drawing).
【0017】X軸方向の移動は、ベッド18に支持され
たキャリッジ20がX軸方向駆動モータ21(図7参
照)によって移動させられることにより、Y軸方向の移
動はキャリッジ20上に支持されたコラム26がY軸方
向駆動モータ24により移動させられることにより、Z
軸方向の移動はコラム26に支持された主軸ヘッド28
がZ軸方向駆動モータ30により移動させられることに
よりなされる。また、工具16は主軸ヘッド28に取り
付けられた主軸駆動モータ32によって回転させられ、
ワークを切削する。ワークテーブル12もワークテーブ
ル装置10に内蔵されたモータにより必要に応じて18
0°回転する。The movement in the X-axis direction is supported on the carriage 20 by moving the carriage 20 supported by the bed 18 by the X-axis direction drive motor 21 (see FIG. 7). By moving the column 26 by the Y-axis direction drive motor 24, Z
Axial movement is achieved by a spindle head 28 supported by a column 26.
Are moved by the Z-axis direction drive motor 30. Further, the tool 16 is rotated by a spindle drive motor 32 attached to a spindle head 28,
Cut the work. The work table 12 is also provided with a motor built in the work table device 18 if necessary.
Rotate 0 °.
【0018】図3に示す如く、ワークテーブル装置10
のワークテーブル12は長方形をなし、長手方向の両端
部にはパレット36,38が設けられている。パレット
36,38にそれぞれ、ワークを直接または治具を介し
て取り付けるための溝40,42が切られており、作業
時においてワークテーブル12が180°ずつ回転させ
られることにより、パレット36,38が交互に、加工
装置14の下方の加工位置と加工装置14から外れた着
脱位置とに位置決めされる。As shown in FIG. 3, the work table device 10 is provided.
The work table 12 has a rectangular shape, and pallets 36 and 38 are provided at both ends in the longitudinal direction. Grooves 40 and 42 for attaching the work directly or via a jig are cut in the pallets 36 and 38, respectively, and the work table 12 is rotated by 180 ° during the work, so that the pallets 36 and 38 are Alternately, they are positioned at the processing position below the processing device 14 and the attachment / detachment position separated from the processing device 14.
【0019】図4に示す如く、ワークテーブル装置10
はテーブル駆動モータ50を備えている。このモータ5
0の回転は、モータ50の回転軸に取り付けられた平歯
車52と、回転軸54に取り付けられた平歯車56との
噛み合いによって、回転軸先端に一体に形成されたピニ
オン58に伝達され、この回転は、ピニオン58と大歯
車60との噛み合いによってワークテーブル12(図3
参照)に伝達される。As shown in FIG. 4, the work table device 10
Has a table drive motor 50. This motor 5
The rotation of 0 is transmitted to the pinion 58 integrally formed at the tip of the rotary shaft by the engagement of the spur gear 52 mounted on the rotary shaft of the motor 50 and the spur gear 56 mounted on the rotary shaft 54. The rotation is caused by the engagement of the pinion 58 and the large gear 60 (see FIG. 3).
(See).
【0020】図5に示す如く、クランプ装置96は、ス
ピンドル86に取り付けられたクランプディスク98と
ハウジング68との摩擦力によって回転部88の回転を
阻止する摩擦式である。クランプディスク98は、スピ
ンドル86の下端にボルト100とピン102とによっ
て固定されており、ハウジング68に形成された摩擦面
104に微小な間隙を隔てて対向している。クランプデ
ィスク98の背後にはクランプシリンダ106が設けら
れている。クランプシリンダ106は、シリンダハウジ
ング108とそれに液密かつ軸方向に移動可能に嵌合さ
れたクランプピストン110とを備えている。クランプ
ピストン110は、常にはリターンスプリング112に
よりクランプディスク98から微小距離離れた後退位置
に保たれているが、クランプピストン110とシリンダ
ハウジング108との間に形成された液圧室114に液
圧が供給されることにより前進し、クランプディスク9
8を摩擦面104に押し付ける。As shown in FIG. 5, the clamp device 96 is of a friction type in which the rotation of the rotating portion 88 is prevented by the frictional force between the clamp disk 98 attached to the spindle 86 and the housing 68. The clamp disk 98 is fixed to the lower end of the spindle 86 by a bolt 100 and a pin 102, and faces the friction surface 104 formed on the housing 68 with a minute gap. A clamp cylinder 106 is provided behind the clamp disk 98. The clamp cylinder 106 includes a cylinder housing 108 and a clamp piston 110 that is liquid-tightly fitted in the cylinder housing 108 and is movable in the axial direction. The clamp piston 110 is always kept in the retracted position slightly apart from the clamp disc 98 by the return spring 112, but the hydraulic pressure is applied to the hydraulic chamber 114 formed between the clamp piston 110 and the cylinder housing 108. It is advanced by being supplied, and the clamp disc 9
8 is pressed against the friction surface 104.
【0021】液圧室114は、シリンダハウジング10
8に形成された液通路116および管路118によって
液圧源120に接続されている。管路118には電磁方
向切換弁122が設けられ、液圧室114を液圧源12
0に連通する状態とタンク124に連通する状態とに切
り換えるようにされており、クランプ時には液圧室11
4が液圧源120に連通させられる。管路118には圧
力センサ126が設けられており、液圧室114内の液
圧を検出し、液圧室114内の液圧が設定値より低くな
ってクランプが解除された場合にON信号を発し、設定
値より高くなってワークテーブル12がクランプされた
場合にはOFF信号を発する。The hydraulic chamber 114 is provided in the cylinder housing 10.
A liquid passage 116 and a pipe 118 formed in No. 8 are connected to the hydraulic pressure source 120. An electromagnetic directional control valve 122 is provided in the pipe line 118 to connect the hydraulic pressure chamber 114 to the hydraulic pressure source 12
The hydraulic chamber 11 is adapted to be switched between a state in which it is in communication with 0 and a state in which it is in communication with the tank 124.
4 is communicated with the hydraulic pressure source 120. A pressure sensor 126 is provided in the pipeline 118, detects the hydraulic pressure in the hydraulic chamber 114, and outputs an ON signal when the hydraulic pressure in the hydraulic chamber 114 becomes lower than a set value and the clamp is released. When the work table 12 is clamped at a value higher than the set value, an OFF signal is issued.
【0022】本NCタッピングマシンは、図6に示す主
制御装置130および図7に示す副制御装置132によ
って制御される。これら主制御装置130及び副制御装
置132は図2に示すようにべッド18に取り付けられ
ている。主制御装置130は、主CPU134,主RO
M136,主RAM138およびそれらを接続するバス
140を有する主コンピュータ141を主体とするもの
であり、バス140には入出力部142を介してキーボ
ード144,入力装置146等が接続され、データおよ
び信号が供給されるようになっている。The NC tapping machine is controlled by the main controller 130 shown in FIG. 6 and the sub controller 132 shown in FIG. The main controller 130 and the sub controller 132 are attached to the bed 18 as shown in FIG. The main controller 130 includes a main CPU 134 and a main RO.
The main component is a main computer 141 having an M136, a main RAM 138, and a bus 140 connecting them, and a keyboard 144, an input device 146, and the like are connected to the bus 140 via an input / output unit 142, and data and signals are transmitted. It is being supplied.
【0023】キーボード144は、運転プログラムやデ
ータ等を入力するものであり、数字キー,アルファベッ
トキー等多数のキーを備えている。入力装置146はN
Cデータ(数値データを含む運転プログラム)を入力す
る装置であり、入力は紙テープに穿孔されたNCデータ
を読み込むことにより行われる。入出力部142にはま
た、制御回路150を介して表示装置152等が接続さ
れている。The keyboard 144 is used for inputting an operation program, data and the like, and is provided with a large number of keys such as numeric keys and alphabetic keys. The input device 146 is N
It is a device for inputting C data (operation program including numerical data), and the input is performed by reading NC data punched on a paper tape. A display device 152 and the like are also connected to the input / output unit 142 via the control circuit 150.
【0024】入出力部142にはさらに、運転データバ
ッファ160が接続されるとともに、運転データバッフ
ァ160には運転データメモリ162が接続されてい
る。運転データメモリ162にはプログラム番号によっ
て管理される各種の運転プログラムが格納される。運転
プログラムは一連の命令コードから成り、運転データバ
ッファ160には主CPU134からの要求に従って運
転データメモリ162に格納された命令コードの一部が
複数指令分連続的に読み出され格納される。An operation data buffer 160 is further connected to the input / output unit 142, and an operation data memory 162 is connected to the operation data buffer 160. The operation data memory 162 stores various operation programs managed by program numbers. The operation program is composed of a series of instruction codes, and a part of the instruction codes stored in the operation data memory 162 is continuously read and stored in the operation data buffer 160 in accordance with a request from the main CPU 134.
【0025】副制御装置132はモータ制御用の装置で
あり、主制御装置130と同様に、副CPU170,副
ROM172,副RAM174およびそれらを接続する
バス176を有する副コンピュータ180を主体とする
ものである。バス176に接続された入出力部178に
は、駆動回路182,184,186,188,19
0,191を介してX軸,Y軸,Z軸方向の各駆動モー
タ21,24,30,主軸駆動モータ32,テーブル駆
動モータ50および電磁方向切換弁122等がそれぞれ
接続されるとともに、各モータの回転量をそれぞれ検出
するパルスエンコーダ192,194,196,19
8,200およびワークテーブル装置10のクランプ装
置96に設けられた圧力センサ126が接続されてい
る。パルスエンコーダ192〜200は、モータが一定
角度回転する毎に1個のパルスを発生するインクリメン
タルエンコーダである。なお、圧力センサ126の検出
信号は、主コンピュータ141にも供給される。The sub-control device 132 is a device for controlling the motor, and like the main control device 130, it mainly includes a sub-computer 180 having a sub-CPU 170, a sub-ROM 172, a sub-RAM 174 and a bus 176 connecting them. is there. The drive circuits 182, 184, 186, 188, 19 are connected to the input / output unit 178 connected to the bus 176.
Drive motors 21, 24, 30, drive motors 21, 24, 30, spindle drive motor 32, table drive motor 50, electromagnetic directional control valve 122, etc. are connected to the respective motors 0, 191, respectively. Encoders 192, 194, 196, 19 for detecting the respective rotation amounts of
8, 200 and the pressure sensor 126 provided on the clamp device 96 of the work table device 10 are connected. The pulse encoders 192-200 are incremental encoders that generate one pulse each time the motor rotates by a certain angle. The detection signal of the pressure sensor 126 is also supplied to the main computer 141.
【0026】主コンピュータ141と副コンピュータ1
80との間には、それらコンピュータ141,180に
共用のモータ指令用メモリ204,基準値レジスタ23
0,遮断位置レジスタ232が設けられ、互に情報を交
換するようにされている。モータ指令用メモリ204に
は、副制御装置132によって制御される上記5つのモ
ータ21,24、30,32,50についてそれぞれ別
々に記憶領域が設けられ、モータによって移動させられ
る移動部材の目標位置あるいは移動量や方向等を指令す
るデータが格納されるようになっている。また、各記憶
領域には、指令された作動の開始および終了を指示する
指令実行開始フラグおよび指令実行終了フラグが設けら
れている。この指令実行終了フラグが位置決め終了信号
の役割を果たす。Main computer 141 and sub computer 1
80, a motor command memory 204, which is shared by the computers 141 and 180, and a reference value register 23.
0 and a shutoff position register 232 are provided to exchange information with each other. In the motor command memory 204, storage areas are separately provided for the five motors 21, 24, 30, 32, 50 controlled by the sub-control device 132, and the target positions of the moving members moved by the motors or Data for instructing the amount of movement, direction, etc. is stored. Further, each storage area is provided with a command execution start flag and a command execution end flag for instructing the start and end of the commanded operation. This command execution end flag serves as a positioning end signal.
【0027】基準値レジスタ230には、キーボード1
44より判断基準値となる数値が入力される。The reference value register 230 includes the keyboard 1
A numerical value serving as a judgment reference value is input from 44.
【0028】遮断位置レジスタ232には、副コンピュ
ータ180によりテーブル駆動モータ50のサーボ電源
を遮断したときにパルスエンコーダ200の値が格納さ
れる。The shut-off position register 232 stores the value of the pulse encoder 200 when the sub computer 180 shuts off the servo power of the table drive motor 50.
【0029】主コンピュータ141および副コンピュー
タ180のうち、ワークテーブル装置10においてワー
クテーブル12を回転させるテーブル駆動モータ50お
よびクランプ装置96の制御を行う部分を取り出して示
したのが図1のブロック図である。続いて、このブロッ
ク図に基づいて説明する。In the block diagram of FIG. 1, the parts of the main computer 141 and the sub computer 180 that control the table drive motor 50 for rotating the work table 12 and the clamp device 96 in the work table device 10 are extracted. is there. Then, it demonstrates based on this block diagram.
【0030】なお、図1の構成要素のうち図11と同一
のものについては同一の番号で示す。The same elements as those of FIG. 11 among the elements of FIG. 1 are designated by the same reference numerals.
【0031】NC制御部210が主コンピュータ141
により構成され、軸移動制御部212,加減速演算部2
14および偏差カウンタ216が副コンピュータ180
により構成されている。アラーム発生回路234は副コ
ンピュータ180により構成されておりアラーム発生時
はモータ指令用メモリ204を介し主コンピュータ14
1に伝えられ表示装置152にアラームメッセージが表
示される。また、DA変換器218は入出力部178に
より構成され、速度制御回路220は駆動回路190に
対応する。The NC controller 210 is the main computer 141.
The axis movement control unit 212 and the acceleration / deceleration calculation unit 2
14 and the deviation counter 216 are sub computers 180
It is composed by. The alarm generation circuit 234 is configured by the sub computer 180. When an alarm occurs, the main computer 14 is operated via the motor command memory 204.
1, the alarm message is displayed on the display device 152. The DA converter 218 is composed of the input / output unit 178, and the speed control circuit 220 corresponds to the drive circuit 190.
【0032】NC制御部210は運転データバッファ1
60に転送されたNCデータを読み込んで解析し、コン
ピュータが実行し得る内部データに変換し、NCデータ
がワークテーブル12の回転指令であれば軸移動制御部
212へワークテーブル12の目標回転位置および回転
速度を含む回転指令値を出力する。軸移動制御部212
は、これらワークテーブル12の目標回転位置および回
転速度から、回転指令を実行するために必要なモータ5
0の回転量θおよび回転速度ωを求め、分配して加減速
演算部214に供給する。分配とは、回転速度ωで回転
量θを達成するために、一定時間Δt内に偏差カウンタ
216に供給すべき分配指令パルス数を求めることであ
る。The NC control unit 210 uses the operation data buffer 1
The NC data transferred to 60 is read and analyzed, converted into internal data that can be executed by a computer, and if the NC data is a rotation command for the work table 12, the target movement position of the work table 12 The rotation command value including the rotation speed is output. Axis movement control unit 212
Is the motor 5 required to execute the rotation command from the target rotation position and rotation speed of the work table 12.
The rotation amount θ and the rotation speed ω of 0 are calculated, distributed, and supplied to the acceleration / deceleration calculation unit 214. The distribution is to obtain the number of distribution command pulses to be supplied to the deviation counter 216 within a certain time Δt in order to achieve the rotation amount θ at the rotation speed ω.
【0033】さらに具体的に説明する。テーブル駆動モ
ータ50を回転速度ωでθ度回転させるためには、Δt
時間毎にΔθ(=ω・Δt)度ずつ回転させることが必
要であり、θ度およびΔθ度にそれぞれ対応する指令パ
ルス数をそれぞれp(=kθ)個およびΔp(=kωΔ
t)個とすれば、分配によってΔt時間毎にΔp個の指
令パルスを供給することをn(=p/Δp)回繰り返す
ことが決定されるのである。A more specific description will be given. To rotate the table drive motor 50 at the rotation speed ω by θ degrees, Δt
It is necessary to rotate by Δθ (= ω · Δt) degrees for each time, and the command pulse numbers corresponding to θ degrees and Δθ degrees are p (= kθ) and Δp (= kωΔ, respectively).
If it is t), it is decided by distribution to supply Δp command pulses every Δt time, n (= p / Δp) times.
【0034】また、加減速演算部214には、回転速度
ωに対応する単位時間当たりの指令パルス数kωおよび
分配指令パルス数Δpが供給される。加減速演算部21
4は、これに応じて指令パルス信号を作成して偏差カウ
ンタ216に出力するのであるが、テーブル駆動モータ
50を回転開始当初は予め定められた時定数で加速し、
定速で回転させた後、同じ時定数で減速させて停止させ
るように指令パルス信号を作成する。すなわち、加速時
には、パルスの出力時間間隔が広い状態から除々に狭く
なって定速回転時の発信時間間隔Δt/Δpと同じにな
るように指令パルス信号を作成し、減速時には加速時と
ちょうど逆の変化が生じるように指令パルス信号を作成
するのである。Further, the acceleration / deceleration calculation unit 214 is supplied with the command pulse number kω per unit time and the distribution command pulse number Δp corresponding to the rotation speed ω. Acceleration / deceleration calculation unit 21
4 produces a command pulse signal in response to this and outputs it to the deviation counter 216. However, at the beginning of rotation, the table drive motor 50 is accelerated by a predetermined time constant,
After rotating at a constant speed, a command pulse signal is created to decelerate and stop with the same time constant. That is, at the time of acceleration, a command pulse signal is created so that the pulse output time interval gradually narrows from a wide state and becomes the same as the transmission time interval Δt / Δp at constant speed rotation. The command pulse signal is generated so that
【0035】偏差カウンタ216では、加減速演算部2
14から1個の指令パルス信号が供給される毎に1を加
算する一方、テーブル駆動モータ50の回転量を検出す
るパルスエンコーダ200からフィードバックパルスが
1個供給される毎に1を減算して両者の差を記憶し、そ
の差のデジタル値がD/A変換器218によりアナログ
量である加減速指令電圧に変換されて速度制御回路22
0に出力される。In the deviation counter 216, the acceleration / deceleration calculation unit 2
1 is added every time one command pulse signal is supplied from 14, and 1 is subtracted each time one feedback pulse is supplied from the pulse encoder 200 that detects the rotation amount of the table drive motor 50. Of the speed control circuit 22. The digital value of the difference is stored in the speed control circuit 22 after being converted into an acceleration / deceleration command voltage which is an analog amount by the D / A converter 218.
It is output to 0.
【0036】速度制御回路220はその加減速指令電圧
に対応する勾配でテーブル駆動モータ50の速度を変え
つつテーブル駆動モータ50を駆動する回路であり、か
つ、テーブル駆動モータ50をロック状態とフリー状態
とに切り換え得るスイッチ224を備えている。このス
イッチ224は軸移動制御部212によって制御され
る。The speed control circuit 220 is a circuit for driving the table drive motor 50 while changing the speed of the table drive motor 50 with a gradient corresponding to the acceleration / deceleration command voltage, and the table drive motor 50 is in a locked state and a free state. A switch 224 that can be switched to and is provided. The switch 224 is controlled by the axis movement control unit 212.
【0037】スイッチ224の接(ON)状態では、テ
ーブル駆動モータ50は速度制御回路220により制御
されるロック状態となる。偏差カウンタ216の内容が
D/A変換器218および速度制御回路220のオフセ
ットを打ち消すオフセット値に保たれるように、テーブ
ル駆動モータ50の速度が制御されるのである。When the switch 224 is in the contact (ON) state, the table drive motor 50 is in a locked state controlled by the speed control circuit 220. The speed of the table drive motor 50 is controlled so that the content of the deviation counter 216 is maintained at an offset value that cancels the offsets of the D / A converter 218 and the speed control circuit 220.
【0038】また、スイッチ224の切断(OFF)状
態では、テーブル駆動モータ50は速度制御回路220
の制御を受けないフリー状態となる。このスイッチ22
4は、ワークテーブル12の回転時にはONにされてお
り、ワークテーブル12の回転が終了し、位置決めされ
た状態でOFFにされる。これは、ワークテーブル12
がクランプ装置96によりクランプされた状態で外力が
加えられ、位置がずれた場合に、スイッチ224がON
になっていれば、フィードバック制御が行われ、元の位
置に戻そうとする。しかし、外力の方が大きい場合には
元の位置に戻れず、テーブル駆動モータ50に更に大き
な電流が供給されてオーバロードになるため、それを避
けるためにワークテーブル12を回転させる必要がない
場合にはスイッチ224がOFFにされるのである。Further, when the switch 224 is in the disconnected (OFF) state, the table drive motor 50 is operated by the speed control circuit 220.
It goes into the free state without being controlled by. This switch 22
No. 4 is turned on when the work table 12 is rotated, and is turned off when the work table 12 is rotated and positioned. This is the work table 12
Is clamped by the clamp device 96, an external force is applied, and when the position is displaced, the switch 224 is turned on.
If so, feedback control is performed, and an attempt is made to return to the original position. However, when the external force is larger, the original position cannot be returned, and a larger current is supplied to the table drive motor 50 to cause overload. Therefore, in order to avoid it, it is not necessary to rotate the work table 12. Therefore, the switch 224 is turned off.
【0039】副コンピュータ180の副ROM172に
は、図8に示すワークテーブル回転制御ルーチンと図9
に示すワークテーブル停止中ルーチンが格納されてい
る。The sub ROM 172 of the sub computer 180 has a work table rotation control routine shown in FIG.
The work table stopping routine shown in is stored.
【0040】まず、図8に基づいてワークテーブル12
の回転制御について説明する。First, the work table 12 will be described with reference to FIG.
The rotation control will be described.
【0041】ワークテーブル回転制御ルーチンにおいて
は、まず、ステップS1(以下、S1と略記する。他の
ステップについても同じ。)においてワークテーブル回
転指令が出されたか否かの判定が行われる。前記運転デ
ータバッファ160から読み出される命令コードがワー
クテーブル12の回転位置決めであった場合には、前記
NC制御部210として機能する主コンピュータ141
によりワークテーブル12の回転方向、目標回転位置お
よび回転速度等が前記モータ指令用メモリ204に格納
されるとともに、前記指令実行開始フラグがセットされ
るため、この指令実行開始フラグがセットされているか
否かが判定されるのである。In the work table rotation control routine, first, in step S1 (hereinafter abbreviated as S1; the same applies to other steps), it is determined whether a work table rotation command is issued. When the instruction code read from the operation data buffer 160 is the rotational positioning of the work table 12, the main computer 141 that functions as the NC control unit 210.
Stores the rotation direction, the target rotation position, the rotation speed, etc. of the work table 12 in the motor command memory 204 and sets the command execution start flag. Therefore, it is determined whether the command execution start flag is set. It is determined whether or not.
【0042】判定結果がYESであった場合には、S2
において速度制御回路220のスイッチ224がONに
された後、S3が実行され、ワークテーブル12のクラ
ンプが解除される。具体的には、クランプ解除信号がO
Nにされて前記クランプ装置96の電磁方向切換弁12
2の切換えが行われ、液圧室114がタンク124に連
通させられてクランプが解除されるのである。クランプ
が解除されれば圧力センサ126の信号がONになり、
それに応じて次のステップが実行される。なお、クラン
プ解除信号のON,OFF,圧力センサ126が発する
クランプ解除確認信号のON,OFF,速度制御回路2
20のスイッチ224のON,OFFおよびテーブル駆
動モータ50の回転制御(ワークテーブル12の回転位
置決め)実行時期を図10のタイムチャートに示す。If the determination result is YES, S2
After the switch 224 of the speed control circuit 220 is turned on in S, S3 is executed and the clamp of the work table 12 is released. Specifically, the clamp release signal is O
The electromagnetic directional control valve 12 of the clamp device 96 is set to N.
The switching of 2 is performed, the hydraulic chamber 114 is made to communicate with the tank 124, and the clamp is released. When the clamp is released, the signal from the pressure sensor 126 turns ON,
The following steps are performed accordingly. In addition, ON / OFF of the clamp release signal, ON / OFF of the clamp release confirmation signal issued by the pressure sensor 126, and the speed control circuit 2
The time chart of FIG. 10 shows the timing of executing ON / OFF of the switch 224 of 20 and rotation control of the table drive motor 50 (rotational positioning of the work table 12).
【0043】ワークテーブル12のクランプ解除に続い
てS4が実行され、ワークテーブル12の位置決めが行
われる。ここでは、テーブル駆動モータ50の目標回転
位置,回転速度および回転方向がモータ指令用メモリ2
04から読み出され、副コンピュータ180の前記軸移
動制御部212としての機能により分配が行われ、前記
加減速演算部214としての機能により指令パルス信号
の作成が行われ、偏差カウンタ216に出力され、か
つ、モータ指令用メモリ204の指令実行終了フラグが
リセットされる。After unclamping the work table 12, S4 is executed to position the work table 12. Here, the target rotation position, rotation speed, and rotation direction of the table drive motor 50 are the motor command memory 2
04, the distribution is performed by the function of the axis movement control unit 212 of the sub computer 180, the command pulse signal is generated by the function of the acceleration / deceleration calculation unit 214, and is output to the deviation counter 216. Moreover, the command execution end flag of the motor command memory 204 is reset.
【0044】偏差カウンタ216は、指令パルス信号の
パルス数とフィードバックパルス数との差を出力し、速
度制御回路220は偏差カウンタ216の内容に応じた
アナログ電圧によってテーブル駆動モータ50を速度制
御しつつ駆動する。加減速演算部214は、前述のよう
に、テーブル駆動モータ50が最初は加速され、次に定
速で回転させられ、停止時に減速されるように指令パル
ス信号を作成するため、ワークテーブル12は緩やかに
回転を開始し、停止する。テーブル駆動モータ50が指
令された量だけ回転し、ワークテーブル12の位置決め
が終了すれば、モータ指令用メモリ204の指令実行終
了フラグがセットされる。The deviation counter 216 outputs the difference between the number of pulses of the command pulse signal and the number of feedback pulses, and the speed control circuit 220 controls the speed of the table drive motor 50 with an analog voltage according to the contents of the deviation counter 216. To drive. As described above, the acceleration / deceleration calculation unit 214 creates the command pulse signal so that the table drive motor 50 is first accelerated, then is rotated at a constant speed, and is decelerated when stopped. Starts rotation gently and then stops. When the table drive motor 50 rotates by the commanded amount and the positioning of the work table 12 is completed, the command execution end flag of the motor command memory 204 is set.
【0045】上記位置決め後、ワークテーブル12がク
ランプされる(S5の実行)。クランプ解除信号がOF
Fにされることにより電磁方向切換弁122が切り換え
られ、液圧室114が液圧源120に接続されて液圧が
供給されるのであり、圧力センサ126の信号がOFF
になってクランプが完了すれば、S6が実行されて速度
制御回路224のスイッチ226がOFFにされる。After the above positioning, the work table 12 is clamped (S5 is executed). Clamp release signal is OF
When set to F, the electromagnetic directional control valve 122 is switched, the hydraulic chamber 114 is connected to the hydraulic pressure source 120 and hydraulic pressure is supplied, and the signal of the pressure sensor 126 is turned off.
When the clamp is completed and the clamp is completed, S6 is executed and the switch 226 of the speed control circuit 224 is turned off.
【0046】続いてS7においてパルスエンコーダ20
0の検出値が遮断位置レジスタ232に記憶されてルー
チンの実行が終了する。Then, in S7, the pulse encoder 20
The detected value of 0 is stored in the interruption position register 232, and the execution of the routine ends.
【0047】以上説明したようにワークテーブル12の
アンクランプ、移動、クランプの動作が行われる。そし
て、クランプ状態で加工が行われる。As described above, the work table 12 is unclamped, moved, and clamped. Then, the processing is performed in the clamped state.
【0048】次に、図9に基づいてワークテーブル12
の停止中の制御について説明する。Next, the work table 12 will be described with reference to FIG.
The control during the stop will be described.
【0049】ワークテーブル停止中制御ルーチンにおい
ては、まず、S11においてワークテーブル12が停止
中か否かの判定が行われる。これは、クランプ解除確認
信号がOFFになっていることを確認することによりな
される。判定結果がYESであった場合にはS12にお
いて、パルスエンコーダ200により検出された現在値
と前記S7において遮断位置レジスタ232に記憶され
た検出値との差の絶対値が演算される。In the work table stop control routine, it is first determined in S11 whether the work table 12 is stopped. This is done by confirming that the clamp release confirmation signal is OFF. If the determination result is YES, the absolute value of the difference between the current value detected by the pulse encoder 200 and the detection value stored in the cutoff position register 232 in S7 is calculated in S12.
【0050】続いてS13において、S12で求めた絶
対値と判断値レジスタ230に予め記憶された基準値と
が比較される。Subsequently, in S13, the absolute value obtained in S12 is compared with the reference value stored in advance in the judgment value register 230.
【0051】この時、ワークテーブル12が停止された
状態で、作業者によりすでにパレット38から加工済み
のワークが取り外されて未加工のワークが装着されてお
り、それと同時にもう一方のパレット36上のワークに
工具16により加工が行なわれている。その際、フライ
ス加工などにおいて工具16の軸線に直行する方向、す
なわちワークテーブル12の回転方向へ過大な力が加わ
った場合などにワークテーブル12が固定された位置か
ら所定量ずれ、前記絶対値が基準値を越えると、S13
の判定結果がYESとなり、S14においてアラーム発
生回路234によりアラームが発生され、表示装置15
2にて警告を表わす旨が表示される。また、アラームが
発生した場合は主コンピュータ141が副コンピュータ
180に対してモータ指令用メモリを介し停止指令を発
すので機械は停止し以後ワークの加工を中断する。At this time, in the state where the work table 12 is stopped, the worker has already removed the processed work from the pallet 38 and mounted the unprocessed work, and at the same time, on the other pallet 36. The work is processed by the tool 16. At that time, in milling or the like, when an excessive force is applied in a direction perpendicular to the axis of the tool 16, that is, in the rotation direction of the work table 12, a predetermined amount deviates from the position where the work table 12 is fixed, and the absolute value is If the standard value is exceeded, S13
The determination result of is YES, the alarm is generated by the alarm generation circuit 234 in S14, and the display device 15
At 2, a message indicating a warning is displayed. When an alarm is issued, the main computer 141 issues a stop command to the sub computer 180 via the motor command memory, so that the machine stops and the machining of the work is interrupted thereafter.
【0052】尚、本発明は、NCタッピングマシンにお
いてワークテーブル装置のワークテーブル12を駆動す
るテーブル駆動モータ以外のモータの制御や、NCタッ
ピングマシン以外の工作機械,搬送装置,産業用ロボッ
トおよび溶接装置等の数値制御装置にも適用することが
できる。The present invention controls the motors other than the table drive motor for driving the work table 12 of the work table device in the NC tapping machine, machine tools other than the NC tapping machine, the carrier device, the industrial robot and the welding device. It can also be applied to numerical control devices such as.
【0053】本実施例では、軸が移動したかどうかを判
断するために遮断位置レジスタ232に位置検出器の値
を格納しているが、偏差カウンタ216の値を利用して
もよい。In the present embodiment, the value of the position detector is stored in the interruption position register 232 to determine whether the axis has moved, but the value of the deviation counter 216 may be used.
【0054】また、アラームを発生させるタイミングに
関しても、位置がずれた直後に行なうのではなく、ワー
クテーブル回転指令の直前にするなど適宜変更できる。Further, the timing of alarm generation may be changed as appropriate, such as immediately before the work table rotation command, instead of immediately after the position is displaced.
【0055】さらに、回転型のワークテーブルだけでな
く直線移動型のワークテーブルなど、特許請求の範囲を
逸脱することなく、当業者の知識に基づいて種々の変
形,改良を施した態様で本発明を実施することができ
る。Further, the present invention is not limited to a rotary type work table, but a linear movement type work table, etc., in which various modifications and improvements are made based on the knowledge of those skilled in the art without departing from the scope of the claims. Can be carried out.
【0056】[0056]
【発明の効果】以上説明したことから明かなように、本
発明の数値制御装置によれば、固定された状態で軸の位
置が基準値をこえた場合、アラームを発生させるので、
不良加工物の発生をいち早く検出するすることができる
効果を有する。As is apparent from the above description, according to the numerical control device of the present invention, when the position of the axis in the fixed state exceeds the reference value, an alarm is generated.
This has the effect of being able to quickly detect the occurrence of defective workpieces.
【図1】本発明の位置制御部分のブロック図である。FIG. 1 is a block diagram of a position control portion of the present invention.
【図2】本発明の一実施例であるNCタッピングマシン
の外観を示す側面図である。FIG. 2 is a side view showing an appearance of an NC tapping machine that is an embodiment of the present invention.
【図3】上記NCタッピングマシンのワークテーブル装
置を示す平面図である。FIG. 3 is a plan view showing a work table device of the NC tapping machine.
【図4】上記ワークテーブル装置からワークテーブルを
取り外すとともに一部を断面にして示す平面図である。FIG. 4 is a plan view showing the work table detached from the work table device and partly in section.
【図5】上記ワークテーブル装置の側面断面図である。FIG. 5 is a side sectional view of the work table device.
【図6】上記NCタッピングマシンを制御する主制御装
置を示すブロック図である。FIG. 6 is a block diagram showing a main controller that controls the NC tapping machine.
【図7】上記NCタッピングマシンを制御する副制御装
置を示すブロック図である。FIG. 7 is a block diagram showing a sub control device for controlling the NC tapping machine.
【図8】上記副コンピュータの副ROMに格納されたワ
ークテーブル回転制御ルーチンを示すフローチャートで
ある。FIG. 8 is a flowchart showing a work table rotation control routine stored in a sub ROM of the sub computer.
【図9】上記副コンピュータの副ROMに格納されたワ
ークテーブル停止中ルーチンを示すフローチャートであ
る。FIG. 9 is a flowchart showing a routine for stopping a work table stored in a sub ROM of the sub computer.
【図10】上記ワークテーブル回転制御ルーチンに従っ
て行われるワークテーブル回転制御のタイムチャートで
ある。FIG. 10 is a time chart of work table rotation control performed according to the work table rotation control routine.
【図11】従来の位置制御部分のブロック図である。FIG. 11 is a block diagram of a conventional position control portion.
12 ワークテーブル 50 テーブル駆動モータ 96 クランプ装置 130 主制御装置 132 副制御装置 141 主コンピュータ 152 表示装置 180 副コンピュータ 230 基準値レジスタ 232 遮断位置レジスタ 234 アラーム発生回路 12 work table 50 table drive motor 96 clamp device 130 main control device 132 sub control device 141 main computer 152 display device 180 sub computer 230 reference value register 232 shutoff position register 234 alarm generation circuit
Claims (1)
と、その位置検出器により検出された位置に基づいて位
置決めされる軸と、その軸を位置決めした後一時的に固
定する固定手段と、その固定手段により前記軸が固定さ
れた後サーボモータへの電源を遮断するサーボ制御手段
とを備えた数値制御装置において、 前記サーボ制御手段により前記サーボモータへの電源が
遮断された時点における前記位置検出器の検出値を記憶
するための記憶手段と、 前記固定手段により軸が固定された状態で該軸が移動し
たか否かを判断するための基準値を記憶する基準値記憶
手段と、 前記固定手段により軸が固定された状態で前記位置検出
器より求められる現在値と前記記憶手段に記憶された検
出値との差を演算するための演算手段と、 その演算手段により演算された前記現在値と検出値との
差が前記基準値記憶手段に記憶された基準値をこえた時
にアラームを発生するアラーム発生手段とを備えている
ことを特徴とする数値制御装置。1. A position detector connected to a servomotor, a shaft positioned based on the position detected by the position detector, a fixing means for temporarily fixing the shaft after positioning the shaft, and A numerical control device comprising a servo control means for cutting off the power supply to the servo motor after the axis is fixed by the fixing means, wherein the position detection is performed at the time when the power supply to the servo motor is cut off by the servo control means. Storage means for storing the detection value of the container, reference value storage means for storing a reference value for determining whether or not the shaft has moved while the shaft is fixed by the fixing means, Calculating means for calculating the difference between the present value obtained by the position detector and the detected value stored in the storage means while the axis is fixed by the means, and the calculating means. Numerical control apparatus characterized by comprising an alarm generation means for generating an alarm when the difference between the calculated the current value and the detected value exceeds the stored reference value to the reference value storing means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30711392A JPH06161527A (en) | 1992-11-17 | 1992-11-17 | Numerical controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30711392A JPH06161527A (en) | 1992-11-17 | 1992-11-17 | Numerical controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH06161527A true JPH06161527A (en) | 1994-06-07 |
Family
ID=17965192
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP30711392A Pending JPH06161527A (en) | 1992-11-17 | 1992-11-17 | Numerical controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH06161527A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008290208A (en) * | 2007-05-25 | 2008-12-04 | Onodani Kiko Kk | Tire cutting apparatus |
JP2015064763A (en) * | 2013-09-25 | 2015-04-09 | ブラザー工業株式会社 | Machine tool |
CN113911674A (en) * | 2021-11-26 | 2022-01-11 | 九江精密测试技术研究所 | Portable signal access type turntable start-stop protection device |
WO2022215166A1 (en) * | 2021-04-06 | 2022-10-13 | ファナック株式会社 | Numerical control device and machining system |
-
1992
- 1992-11-17 JP JP30711392A patent/JPH06161527A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008290208A (en) * | 2007-05-25 | 2008-12-04 | Onodani Kiko Kk | Tire cutting apparatus |
JP2015064763A (en) * | 2013-09-25 | 2015-04-09 | ブラザー工業株式会社 | Machine tool |
WO2022215166A1 (en) * | 2021-04-06 | 2022-10-13 | ファナック株式会社 | Numerical control device and machining system |
CN113911674A (en) * | 2021-11-26 | 2022-01-11 | 九江精密测试技术研究所 | Portable signal access type turntable start-stop protection device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100256728B1 (en) | Index device and index driving method of the device | |
KR950000839B1 (en) | Numerical Control Machine with Abnormal Stop Function | |
EP0106253B1 (en) | Numerical control machine tool with an emergency origin returning function | |
JP5607690B2 (en) | Machine tool with rotating table | |
US4881021A (en) | Numerical control equipment | |
JP5609731B2 (en) | Numerical control apparatus and clamp release method | |
JPH10143216A (en) | Collision detector for movable unit | |
JPH06161527A (en) | Numerical controller | |
CN116820034B (en) | Shaft mode switching method and device and related equipment | |
JPH0649260B2 (en) | Synchronous control device | |
JP3051576B2 (en) | Workpiece deformation prevention clamp method | |
JP2005321890A (en) | Misworking prevention device and misworking prevention method | |
JPH05313721A (en) | Numerical controller | |
JP3224596B2 (en) | Numerical control unit | |
JPH10254520A (en) | Original point returning method for nc control axis | |
KR100324642B1 (en) | Dual Rotary Table Control Unit and Method | |
JP2004148422A (en) | Multi-axis machining device, machining method in multi-axis machining device and program | |
JP2003015713A (en) | Numerical controller | |
JP4066178B2 (en) | Machine tool and its abnormality inspection method | |
US20240088820A1 (en) | Motor control device | |
JP2802867B2 (en) | Machine tool with movement direction display function | |
JPH07106536B2 (en) | NC machine tool origin position correction device | |
JPH1139014A (en) | Working program check device for working machine, and method for the same | |
JPH08141866A (en) | Slide driving device | |
JP2005222463A (en) | Operation control method and operation controller of machine tool at abnormal machining |