JPH01115548A - Detector for detecting defective position detector of numerical control machine tool - Google Patents

Detector for detecting defective position detector of numerical control machine tool

Info

Publication number
JPH01115548A
JPH01115548A JP26884387A JP26884387A JPH01115548A JP H01115548 A JPH01115548 A JP H01115548A JP 26884387 A JP26884387 A JP 26884387A JP 26884387 A JP26884387 A JP 26884387A JP H01115548 A JPH01115548 A JP H01115548A
Authority
JP
Japan
Prior art keywords
origin
limit switch
return
machine tool
detection limit
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
JP26884387A
Other languages
Japanese (ja)
Inventor
Katsuyuki Kawada
河田 功行
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.)
Mazda Motor Corp
Original Assignee
Mazda Motor 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 Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP26884387A priority Critical patent/JPH01115548A/en
Publication of JPH01115548A publication Critical patent/JPH01115548A/en
Pending legal-status Critical Current

Links

Landscapes

  • Machine Tool Sensing Apparatuses (AREA)

Abstract

PURPOSE:To prevent defective working by informing defective return of a limit switch when the deviation of the present position of a table from the regular operation position of limit switch gets out of a specified value in the return of table to an origin. CONSTITUTION:When a table 20 is returned to the origin by a motor 3 and drive shaft 27 according to a command from a NC unit 2, the deviation of the preset position of table 20 returned to the origin through a memory circuit 47 by a pulse generator 33 from the regular operation position of limit switches LS1, LS2 for detecting the vicinity of origin and the origin deceleration position memorized in memory circuits 48, 49 is calculated by a calculation circuit 51. When the calculated value is deviated from a specified value, the limit switches LS1, LS2 judges the return to be defective and generates the defective return signal to an external control board 5. Thus, workpiece can be prevented from defective working.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は数値制御工作機械において各可動部の位置を検
出するための位置検出器の作動不良を検出する数値制御
工作機械の位置検出器の不良検出装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a position detector for a numerically controlled machine tool that detects malfunction of a position detector for detecting the position of each movable part in a numerically controlled machine tool. The present invention relates to a defect detection device.

[従来の技術] 一般に、数値制御工作機械(NG工作機械)ではベツド
上にて、ワークが所定位置、方向に位置するように、サ
ドル、テーブル、割出盤等の各可動部を各々の軸方向、
あるいは軸回りに移動させ、さらにこの状態でコラム、
主軸を各々の軸方向、あるいは軸回りに移動させて工具
に所定の切込みを与え、これにより予めプログラムされ
た加工を行なうようにしている。そしてこのような数値
制御工作機械の上記各可動部は加工の基準位置である原
点を有しており、この原点から所定量だけ各々の軸方向
に平行移動し、また該軸回りに回転するように構成され
ている。
[Prior Art] In general, in numerically controlled machine tools (NG machine tools), each movable part such as a saddle, table, indexing plate, etc. is moved around each axis so that the workpiece is positioned in a predetermined position and direction on the bed. direction,
Alternatively, move it around the axis, and then move the column in this state.
The main spindle is moved in each axial direction or around the axis to give the tool a predetermined depth of cut, thereby performing pre-programmed machining. Each movable part of such a numerically controlled machine tool has an origin, which is a reference position for machining, and is moved in parallel from this origin by a predetermined amount in the direction of each axis, and also rotates around the axis. It is composed of

ところで、上記数値制御工作機械によるワークの加工に
おいて、作業終了時には勿論電源を切る訳であるが、電
源を切ると、上記各可動部はその位置に停止することと
なる。一方、上述のように、各可動部は上記原点を基準
にして予めプログラムされた移動量でもって平行移動9
回転されるのであるから、作業開始にあたっては、まず
、上記各可動部を各々の原点に復帰させる必要がある。
By the way, when processing a workpiece using the numerically controlled machine tool, the power is of course turned off when the work is completed, and when the power is turned off, each of the movable parts stops at the position. On the other hand, as described above, each movable part is translated in parallel by a preprogrammed movement amount based on the origin.
Since it is rotated, it is first necessary to return each movable part to its origin before starting work.

この原点復帰動作は、該復帰方向に予め設定された減速
指令位置まで高速で軸送りし、該指令位置にて低速に減
速して原点までさらに軸送りするようになっている。
In this return-to-origin operation, the axis is fed at high speed to a deceleration command position set in advance in the return direction, decelerated to a low speed at the command position, and further axis-feeded to the origin.

このような原点復帰動作を行なう場合は、従来、全ての
可動部をその停止位置から各々の軸方向、軸回りに所定
量、即ち各々の原点から原点復帰時の減速指令位置まで
の距離あるいは角度だけ原点復帰と逆向きに移動させ、
しかる後上記原点復帰動作を行なわせるようにしていた
。ところが、このように−律に原点復帰と逆向きに軸送
りをかけるようにした従来装置では、ある可動部が減速
指令位置より原点と反対側の反原点側に停止していた場
合にも、上記所定量だけさらに原点から離れる向きに移
動させることになり、従ってその分だけ原点復帰に時間
を要し、加工能率が低下するという問題があった。
When performing such a return-to-origin operation, conventionally, all movable parts are moved from their stop positions in the direction of each axis and around the axis by a predetermined amount, that is, the distance or angle from each origin to the deceleration command position at the time of return to origin. Move in the opposite direction to return to origin,
After that, the above-mentioned return-to-origin operation is performed. However, with conventional devices that regularly apply axis feed in the opposite direction to return to origin, even if a certain movable part has stopped on the opposite side of the origin from the deceleration command position, This results in a further movement away from the origin by the predetermined amount described above, which causes a problem in that it takes a corresponding amount of time to return to the origin, resulting in a reduction in machining efficiency.

以上のような従来装置における問題点を解消するため、
数値制御工作機械の各可動部が、上記各移動軸上に設定
された原点復帰における減速指令位置より原点側に存在
するか否かを判定し記憶する記憶手段と、この記憶手段
からの信号により各可動部が減速指令位置より原点側に
存在することを確認したときは該可動部が上記減速指令
位置を越えるまで原点復帰と逆方向に軸送りをかけ、上
記記憶手段からの信号が変わると原点復帰動作を行なわ
せる一方、各可動部が減速指令位置より原点と反対側に
位置することを確認したときは直ちに原点復帰動作を行
なわせる原点復帰手段とを備え、原点に復帰するに際し
ての該復帰と反対向きへの軸送り量は、可動部が原点側
に位置しているときは減速指令位置までの必要最少限の
量となり、反原点側に位置しているときは零となるよう
にし、その分原点復帰に要する時間が短縮され、加工能
率を向上させるようにしたものが提案されている(たと
えば特開昭61−202202号公報参照)。
In order to solve the problems with conventional equipment as described above,
A storage means for determining and storing whether or not each movable part of the numerically controlled machine tool is located closer to the origin than the deceleration command position for returning to the origin set on each of the movement axes, and a signal from the storage means. When it is confirmed that each movable part is located closer to the origin than the deceleration command position, the axis is fed in the direction opposite to the return to the origin until the movable part exceeds the deceleration command position, and when the signal from the storage means changes. The apparatus is provided with a home return means that performs a home return operation and immediately performs a home return operation when it is confirmed that each movable part is located on the opposite side of the home from the deceleration command position. The amount of axis feed in the opposite direction to return should be the minimum amount necessary to reach the deceleration command position when the movable part is located on the home side, and zero when it is located on the opposite side to the home position. , a method has been proposed in which the time required for returning to the origin is shortened by that amount and machining efficiency is improved (see, for example, Japanese Patent Laid-Open No. 61-202202).

ところで、上記従来の数値制御工作機械では、各可動部
が減速指令位置より原点側あるいは反原点側のいずれの
側に位置するかはリミットスイッチよりなる原点復帰カ
ムスイッチにより検出されるが、上記数値制御工作機械
の使用中に発生する工作物の切粉、冷却液等の付着によ
り、原点復帰カムスイッチに作動不良が発生することが
ある。
By the way, in the above-mentioned conventional numerically controlled machine tool, whether each movable part is located on the origin side or on the opposite side from the deceleration command position is detected by the origin return cam switch consisting of a limit switch. The return-to-origin cam switch may malfunction due to adhesion of workpiece chips, coolant, etc. that occur during the use of controlled machine tools.

このように、原点復帰カムスイッチに作動不良が発生す
ると、各可動部の原点合せが正確に行なえなくなり、工
作物を正しく加工することができなくなるという問題が
あった。
As described above, when a malfunction occurs in the origin return cam switch, there is a problem in that the origin alignment of each movable part cannot be performed accurately, and the workpiece cannot be processed correctly.

[発明の目的] 本発明の目的は、数値制御工作機械のテーブルの移動軌
跡上の所定の位置に配置されてテーブルの移動位置を検
出するリミットスイッチの作動不良を検出して警報を与
え、工作物の加工不良等の発生を防止するようにした数
値制御工作機械の位置検出器の不良検出装置を提供する
ことである。
[Object of the Invention] An object of the present invention is to detect malfunction of a limit switch that is placed at a predetermined position on the movement trajectory of the table of a numerically controlled machine tool and detect the movement position of the table, and to issue an alarm and It is an object of the present invention to provide a defect detection device for a position detector of a numerically controlled machine tool, which prevents the occurrence of defects in machining of objects.

「発明の構成」 このため本発明は、インクリメンタル型パルスジェネレ
ータを有する駆動軸の作動で前後動可能なテーブルの原
点復帰時に、現位置検出手段から出力される上記テーブ
ルの原点からの現在位置と、リミットスイッチ作動位置
記憶手段に記憶されたテーブルの移動軌跡上の所定位置
に配置されて上記テーブルの移動位置を検出するリミッ
トスイッチの正規作動位置との偏差を復帰不良検出手段
により算出し、その算出値より上記リミットスイッチの
復帰不良を検出するようにしたことを特徴としている。
"Structure of the Invention" For this reason, the present invention provides the following features: When a table that can be moved forward and backward by the operation of a drive shaft having an incremental pulse generator returns to its origin, the current position of the table from its origin is outputted from a current position detection means; The deviation from the normal operating position of a limit switch that is placed at a predetermined position on the movement locus of the table stored in the limit switch operating position storage means and detects the moving position of the table is calculated by the reset failure detection means, and the deviation is calculated. The present invention is characterized in that a return failure of the limit switch is detected based on the value.

テーブルの原点復帰時に、上記復帰不良検出手段は、上
記テーブルの現在位置とリミットスイッチの正規作動位
置との偏差を算出する。そして、その値が規定の値から
ずれているときは、上記リミットスイッチが復帰不良で
あると判定し、復帰不良を示す信号が出力される。これ
により、数値制御工作機械のテーブルの原点復帰が正確
に行なわれたか否かの監視が容易に行なえる。
When the table returns to its origin, the return failure detection means calculates the deviation between the current position of the table and the normal operating position of the limit switch. If the value deviates from the specified value, it is determined that the limit switch has failed to return, and a signal indicating the failure to return is output. This makes it easy to monitor whether or not the table of the numerically controlled machine tool has been accurately returned to its origin.

[発明の効果] 本発明によれば、テーブルの原点復帰時にテーブルの現
在位置とリミットスイッチの正規作動位置との偏差が規
定の値からずれているときにはリミットスイッチが復帰
不良であると判定され、復帰不良を示す信号が出力され
るので、オペレータはこの信号により、リミットスイッ
チの復帰不良を知ることができ、工作物の加工不良の発
生を未然に防止することができる。
[Effects of the Invention] According to the present invention, when the table returns to its home position, if the deviation between the current position of the table and the normal operating position of the limit switch deviates from a specified value, it is determined that the limit switch has returned poorly; Since a signal indicating a return failure is output, the operator can use this signal to know that the limit switch has returned to a faulty state, thereby preventing the occurrence of machining defects on the workpiece.

[実施例] 以下、添付の図面を参照して本発明の詳細な説明する。[Example] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

本発明に係る数値制御工作機械″の位置検出器の不良検
出装置を備えた数値制御工作機械の全体構成のブロック
図を第1図に示す。
FIG. 1 shows a block diagram of the overall configuration of a numerically controlled machine tool equipped with a defect detection device for a position detector of a numerically controlled machine tool according to the present invention.

上記数値制御工作機械は、工作機本体l、数値制御装置
2.上記工作機本体1に設けられた工作用のモータ3の
速度制御を行なう速度サーボアンプ部4.および外部制
御盤5から構成されている。
The above-mentioned numerically controlled machine tool includes a machine tool main body l, a numerical control device 2. A speed servo amplifier section 4 for controlling the speed of the motor 3 for machining provided in the machine tool main body 1. and an external control panel 5.

上記第1図では、工作機本体lには本発明に関連する部
分の要部のみが模式的に示されているが、そのより具体
的な構成は第2図に示されている。
In FIG. 1, only the main parts of the machine tool main body l related to the present invention are schematically shown, but a more specific configuration thereof is shown in FIG.

第2図において、工作機本体lのベツド11の上面の左
、右部には、紙面と直角のZ軸方向に延びるレール12
が固着されている。そしてこのベツド11上方にはサド
ル13が配設されており、該サドル13の下面の左、右
部にはガイド部材!4がボルト締め固着されており、該
ガイド部材14に凹設されたガイド7114aは上記レ
ール12にZ軸方向に摺動自在に嵌合している。また上
記サドル13の下面中央に一取付けられたナツト部材1
5には、ネジ部材16が螺合しており、図示していない
が該ネジ部材16の一端は上記ベツド11に取付けられ
た駆動モータに連結されており、これによりこのサドル
13はベツド11上をZ軸方向に可動になっている。
In FIG. 2, rails 12 extending in the Z-axis direction perpendicular to the plane of the paper are located on the left and right sides of the top surface of the bed 11 of the machine tool body l.
is fixed. A saddle 13 is provided above the bed 11, and guide members are provided on the left and right sides of the bottom surface of the saddle 13. A guide 7114a recessed in the guide member 14 is fitted into the rail 12 so as to be slidable in the Z-axis direction. Also, a nut member 1 is attached to the center of the lower surface of the saddle 13.
5 is screwed with a screw member 16, and although not shown, one end of the screw member 16 is connected to a drive motor attached to the bed 11, thereby causing the saddle 13 to move on the bed 11. is movable in the Z-axis direction.

上記サドル13の上面には、第2図において左右のX軸
方向に延びるレール18がボルト締め固着されている。
A rail 18 extending in the left and right X-axis directions in FIG. 2 is fixed to the upper surface of the saddle 13 with bolts.

また、上記サドル13の上方には可動部であるテーブル
20が配設されており、該テーブル20の下面の左、右
部に固着されたガイド部材21a。
Further, a table 20 which is a movable part is arranged above the saddle 13, and guide members 21a are fixed to the left and right parts of the lower surface of the table 20.

21bは上記レール18とX軸方向に摺動自在に嵌合し
ている。
21b is slidably fitted to the rail 18 in the X-axis direction.

上記テーブル20の上方には割出盤24が配設されてお
り、これは第2図において上下方向のY軸を中心に回転
できるようになっており、ワークを支持して回転させる
ことにより、加工位置の割り出しを行なうためのもので
ある。
An indexing board 24 is disposed above the table 20, which can rotate around the vertical Y axis in FIG. 2, and by supporting and rotating the workpiece, This is for determining the machining position.

第1図では、上記テーブル20のX軸方向での移動機構
とその制御のための構成のみを示している。サドル13
のZ軸方向および割出盤24のY軸方向への移動および
制御についても、テーブル20と同様に行なわれるので
、以下では、上記テーブル20のX軸方向での制御につ
いて説明する。
In FIG. 1, only a mechanism for moving the table 20 in the X-axis direction and a configuration for controlling the same are shown. saddle 13
The movement and control of the table 20 in the Z-axis direction and the Y-axis direction of the indexing board 24 are performed in the same manner as for the table 20, so the control of the table 20 in the X-axis direction will be described below.

再び第1図において、モータ3の出力軸に結合され、両
端部にて軸受部材25.26により回転自在に支持され
たネジ部材からなる駆動軸27には、テーブル20の下
部に固定されたナツト部材(図示せず。)が螺合してい
る。上記テーブル20は、上記モータ3の正転により、
ワーク28に向かう矢印A1で示す向きに前進し、上記
モータ3の逆転により、矢印A、で示す向きに後退する
Referring again to FIG. 1, a drive shaft 27 made of a threaded member connected to the output shaft of the motor 3 and rotatably supported by bearing members 25 and 26 at both ends has a nut fixed to the lower part of the table 20. Members (not shown) are screwed together. The table 20 is rotated by the normal rotation of the motor 3.
It moves forward in the direction shown by arrow A1 toward the workpiece 28, and retreats in the direction shown by arrow A by reversing the motor 3.

これにより、上記テーブル20上の工具保持装置29に
保持された工具29aがワーク28に対して進退する。
As a result, the tool 29a held by the tool holding device 29 on the table 20 moves forward and backward relative to the work 28.

そして、上記テーブル20は、ストッパ31.32で移
動範囲が規制される。上記モータ3にはまた、インクリ
メンタル型のパルスジェネレータ33が結合されている
The movement range of the table 20 is restricted by stoppers 31 and 32. An incremental pulse generator 33 is also coupled to the motor 3.

一方、上記テーブル20には、その原点復帰時に、上記
テーブル20が原点付近にあることを検出するために設
けられた原点付近検出リミットスイッチLSIのアクチ
ュエータ34を作動させるためのカム部35と、上記テ
ーブル20が原点に向かって減速を開始する位置にきた
ことを検知するために設けられた原点減速位置検出リミ
ットスイッチLS2のアクチュエータ36を作動させる
ためのカム部37とが形成されている。
On the other hand, the table 20 includes a cam portion 35 for actuating an actuator 34 of an origin detection limit switch LSI provided to detect that the table 20 is near the origin when returning to its origin; A cam portion 37 is formed to operate an actuator 36 of an origin deceleration position detection limit switch LS2 provided to detect that the table 20 has reached a position where it starts decelerating toward the origin.

上記した工作機本体lのテーブル20の移動およびその
移動速度は、数値制御装置2の指令回路38から出力さ
れる。そして、上記指令信号は、パルス変換回路39に
てパルス信号に変換された後、偏差カウンタ41に人力
される。この偏差カウンタ41では、上記パルス変換回
路39から入力する上記パルス信号と工作機本体Iのパ
ルスジェネレータ33からフィードバックされてくるテ
ーブル20の位置を表すフィードバックパルスとが比較
され、その偏差信号が検出される。この偏差信号はD/
A変換器42によりアナログ信号に変換された後、速度
サーボアンプ部4の比較器43に与えられる。
The above-mentioned movement of the table 20 of the machine tool main body l and its movement speed are output from the command circuit 38 of the numerical control device 2. The command signal is converted into a pulse signal by the pulse conversion circuit 39, and then manually inputted to the deviation counter 41. This deviation counter 41 compares the pulse signal inputted from the pulse conversion circuit 39 with the feedback pulse representing the position of the table 20 fed back from the pulse generator 33 of the machine tool main body I, and detects the deviation signal. Ru. This deviation signal is D/
After being converted into an analog signal by the A converter 42, it is applied to the comparator 43 of the speed servo amplifier section 4.

上記比較器43は、パルスジェネレータ33がD/A変
換器44を通して人力するテーブル20の移動速度を表
わす信号と上記偏差信号とを比較する。そして、その出
力に基づいて速度制御器45にてつくられた速度制御信
号が電力増幅部46に与えられる。これにより、モータ
3が指令回路38の指令信号に応じて、テーブル20を
所定の速度で所定量移動させる。
The comparator 43 compares the deviation signal with a signal representing the moving speed of the table 20, which is manually input by the pulse generator 33 through the D/A converter 44. Then, a speed control signal generated by the speed controller 45 based on the output is given to the power amplification section 46. Thereby, the motor 3 moves the table 20 by a predetermined amount at a predetermined speed in response to the command signal from the command circuit 38.

一方、上記数値制御装置2は、本発明に関連して、機械
座標系記憶回路47、原点付近検出リミットスイッチL
SIのオン位置のデータを記憶している原点付近データ
記憶回路48、原点減速位置検出リミットスイッチLS
2のオン位置のデータを記憶している原点減速データ記
憶回路49、および演算回路51を備えている。
On the other hand, in connection with the present invention, the numerical control device 2 includes a mechanical coordinate system storage circuit 47, an origin vicinity detection limit switch L.
Home point vicinity data storage circuit 48 that stores data of the ON position of SI, home point deceleration position detection limit switch LS
The present invention includes an origin deceleration data storage circuit 49 that stores data for the ON position of No. 2, and an arithmetic circuit 51.

上記機械座標系記憶回路47は、工作機本体lのテーブ
ル20の原点復帰時に、このテーブル20の原点からの
現在位置を検出する現位置検出手段を構成している。上
記機械座標系記憶回路47には、工作機本体Iのパルス
ジェネレータ33からテーブル20の移動に対応してパ
ルス信号が入力する。上記機械座標系記憶回路47の記
憶は、停電保護回路47aによってバックアップされて
いる。
The machine coordinate system storage circuit 47 constitutes a current position detecting means for detecting the current position of the table 20 from the origin when the table 20 of the machine tool body l returns to its origin. A pulse signal is input to the machine coordinate system storage circuit 47 from the pulse generator 33 of the machine tool body I in response to movement of the table 20. The memory of the mechanical coordinate system storage circuit 47 is backed up by a power failure protection circuit 47a.

一方、上記演算回路51は、工作機本体1のテーブル2
0の現位置とテーブル20の移動により原点付近検出リ
ミットスイッチLSIおよび原点減速位置検出リミット
スイッチLS2が夫々作動すべき正規作動位置との偏差
を算出して、上記原点付近検出リミットスイッチLSI
および原点減速位置検出リミットスイッチLS2の復帰
不良を検出する復帰不良検出手段を構成している。上記
演算回路51には、機械座標系記憶回路47からテーブ
ル20の現在位置を示す信号が人力するとともに、原点
付近データ記憶回路48および原点減速データ記憶回路
49から工作機本体lのテーブル20の移動により原点
付近検出リミットスイッチLSIおよび原点減速位置検
出リミットスイッチLS2が夫々作動すべき正規作動位
置のデータ信号が入力している。上記演算回路51には
また、上記原点付近検出リミットスイッチLSIおよび
原点減速位置検出リミットスイッチLS2からの各出力
信号が夫々入力される一方、外部制御盤5から−JOG
指令信号、すなわち、工作機本体1のテーブル20の前
進指令信号および原点復帰指令信号が入力する。上記演
算回路51は、テーブル20の現在位置と原点付近検出
リミットスイッチLSIおよび原点減速位置検出リミッ
トスイッチLS2の正規作動位置との偏差が規定の値か
らずれているときは、外部制御盤5に原点付近検出リミ
ットスイッチLSIの復帰不良信号および原点減速位置
検出リミットスイッチLS2の復帰不良信号を出力する
On the other hand, the arithmetic circuit 51 operates on the table 2 of the machine tool main body 1.
0 and the normal operating position at which the origin detection limit switch LSI and origin deceleration position detection limit switch LS2 should operate due to the movement of the table 20,
and constitutes return failure detection means for detecting return failure of the origin deceleration position detection limit switch LS2. The arithmetic circuit 51 receives a signal indicating the current position of the table 20 from the machine coordinate system storage circuit 47, and receives a signal indicating the current position of the table 20 from the origin vicinity data storage circuit 48 and the origin deceleration data storage circuit 49 from which the table 20 of the machine tool main body l is moved. Therefore, the data signals of the normal operating positions at which the origin vicinity detection limit switch LSI and the origin deceleration position detection limit switch LS2 should be operated are input. The arithmetic circuit 51 also receives output signals from the origin detection limit switch LSI and the origin deceleration position detection limit switch LS2, while -JOG signals are input from the external control panel 5.
Command signals, that is, a command signal for moving the table 20 of the machine tool body 1 forward and a command signal for returning to the origin are input. When the deviation between the current position of the table 20 and the normal operating position of the origin vicinity detection limit switch LSI and the origin deceleration position detection limit switch LS2 deviates from a specified value, the arithmetic circuit 51 causes the external control panel 5 to detect the origin. Outputs a return failure signal of the vicinity detection limit switch LSI and a return failure signal of the origin deceleration position detection limit switch LS2.

なお、第1図の数値制御工作機械は、数値制御装置2の
自動座標系記憶回路52に、自動座標系パラメータ設定
回路52aより入力するワーク28の加工パラメータに
より、ワーク28を加工する。この自動座標系記憶回路
52には、工作機本体lのパルスジェネレータ33から
テーブル20の位置を示すパルス信号が入力している。
The numerically controlled machine tool shown in FIG. 1 processes the workpiece 28 according to the machining parameters of the workpiece 28 inputted to the automatic coordinate system storage circuit 52 of the numerical control device 2 from the automatic coordinate system parameter setting circuit 52a. A pulse signal indicating the position of the table 20 is input to the automatic coordinate system storage circuit 52 from the pulse generator 33 of the machine tool main body l.

その記憶内容は、電源がオフされると消える。Its memory contents disappear when the power is turned off.

次に、第3図のフローチャートおよび第4図のテーブル
20の原点復帰動作を示す図面を参照して、第1図の数
値制御工作機械の原点復帰時の動作を説明する。
Next, the operation of the numerically controlled machine tool shown in FIG. 1 when returning to the origin will be described with reference to the flowchart in FIG. 3 and the table 20 in FIG. 4 showing the origin return operation.

第1図の数値制御工作機械の電源が投入されると、第3
図の原点復帰プログラムがスタートする。
When the power of the numerically controlled machine tool shown in Fig. 1 is turned on, the third
The origin return program shown in the figure starts.

原点復帰プログラムがスタートすると、上記演算回路5
1は、先ずステップStを実行し、原点付近検出リミッ
トスイッチLSIがオンであるか否かを判定する。
When the home return program starts, the above calculation circuit 5
1, first executes step St, and determines whether or not the origin vicinity detection limit switch LSI is on.

いま、上記原点復帰プログラムのスタート時に、工作機
本体l(第1図)のテーブル20が第4図においてたと
えばPlで示す位置にあり、原点付近検出リミットスイ
ッチLSIがオンである状態で、第1図の外部制御盤5
より−JOG指令が出されると、演算回路51はテーブ
ル20を前方に、第4図に示すように、一定距離加速後
、一定速度で前進させる(ステップS2)。
Now, at the start of the home return program, the table 20 of the machine tool main body l (Fig. 1) is at the position shown, for example, by Pl in Fig. 4, and the home position detection limit switch LSI is on, and the first External control panel 5 shown in the figure
When a -JOG command is issued, the arithmetic circuit 51 advances the table 20 forward at a constant speed after accelerating it a certain distance, as shown in FIG. 4 (step S2).

上記テーブル20が前進すると、その現在位置が変化す
る。この現在位置のデータは機械座標系記憶回路47に
記憶される。そして、上記演算回路51は、ステップS
3にて、機械座標系記憶回路47に記憶されているテー
ブル20の現位置のデータを読み取る。
When the table 20 moves forward, its current position changes. This current position data is stored in the mechanical coordinate system storage circuit 47. Then, the arithmetic circuit 51 performs step S
At step 3, the current position data of the table 20 stored in the machine coordinate system storage circuit 47 is read.

上記演算回路51はまた、ステップS4にて、原点付近
検出リミットスイッチLSIがオンであるか否かを判定
する。このステップS4にて、上記原点付近検出リミッ
トスイッチLSIがオンであると判定すると、上記演算
回路51はステップS5を実行する。そして、原点付近
検出リミットスイッチLSIの復帰不良監視位置データ
(設定値「2」)からテーブル20の現位置データを減
算した値が負(マイナス)でない、すなわち、この減算
値が零もしくは正(プラス)のときは、上記ステップS
3.S4およびS5のループを繰り返し実行する。この
状態で、原点付近検出リミットスイッチLSIがオフせ
ずに、(設定値r2J)−(現在値)〈0となると、こ
れは、テーブル20が原点付近検出リミットスイッチL
SIの正規作動位置を越えて前進しても、上記原点付近
検出リミットスイッチLSIが第4図に点線で示すよう
にオンしつづけていることを意味するから、演算回路5
1は、ステップS6にて、外部制御盤5に、原点付近検
出リミットスイッチLSI不良の信号を出力し、オペレ
ータに原点付近検出リミットスイッチLSIの復帰不良
番知らせるとともに、ステップS7にて、数値制御工作
機械を停止させた後、ストップする。
The arithmetic circuit 51 also determines in step S4 whether or not the origin vicinity detection limit switch LSI is on. If it is determined in step S4 that the origin detection limit switch LSI is on, the arithmetic circuit 51 executes step S5. Then, the value obtained by subtracting the current position data of table 20 from the return failure monitoring position data (setting value "2") of the near-home detection limit switch LSI is not negative (minus), that is, this subtraction value is zero or positive (plus ), step S above
3. Repeat the loops of S4 and S5. In this state, if the near-origin detection limit switch LSI does not turn off and becomes (set value r2J) - (current value) <0, this means that the table 20 indicates the near-origin detection limit switch LSI.
Even if the SI moves forward past its normal operating position, this means that the origin detection limit switch LSI continues to be turned on as shown by the dotted line in FIG.
1 outputs a signal indicating that the near-origin detection limit switch LSI is defective to the external control panel 5 in step S6, informs the operator of the return failure number of the near-origin detection limit switch LSI, and in step S7 performs numerical control work. Stop after stopping the machine.

一方、上記ステップS6.S4およびS5のループが繰
り返し実行されているときに、原点付近検出リミットス
イッチLSIがオフすると、演算回路51は、ステップ
88以下の各ステップの実行に移る。
On the other hand, step S6. When the origin detection limit switch LSI is turned off while the loop of S4 and S5 is being repeatedly executed, the arithmetic circuit 51 proceeds to execute each step from step 88 onwards.

なお、第3図のプログラムのスタートの時点で原点付近
検出リミットスイッチLSIがオフのときは、ステップ
S1から、直接、ステップ88以下の各ステップが実行
される。
Incidentally, when the origin vicinity detection limit switch LSI is off at the start of the program shown in FIG. 3, each step from step 88 onward is executed directly from step S1.

テーブル20は、原点付近検出リミットスイッチLSI
がオフとなるP、の位置を越えると、減速しつつしばら
く前進して停止する(第4図参照)。
The table 20 is an origin detection limit switch LSI.
When the vehicle passes the position P, where the motor is turned off, the vehicle moves forward for a while while decelerating and then stops (see Fig. 4).

この状態で、外部制御盤5から原点復帰指令信号が演算
回路51に人力される(ステップS8)と、上記演算回
路51は、ステップS9にて、機械座標系記憶回路47
に記憶されているアーブル20の現在位置のデータを読
み取る。
In this state, when the origin return command signal is manually input from the external control panel 5 to the arithmetic circuit 51 (step S8), the arithmetic circuit 51 transmits the machine coordinate system memory circuit 47 in step S9.
Read the current position data of Hable 20 stored in .

上記演算回路5Iはまた、ステップSIOにて、原点減
速位置検出リミットスイッチLS2がオンであるか否か
を判定する。このステップSIOにて、上記原点減速位
置検出リミットスイッチLS2がオンであると判定する
と、上記演算回路51はステップS11を実行する。そ
して、原点減速位置検出リミットスイッチLS2の復帰
不良監視位置データ(設定値「l」)からテーブル20
の現位置データを減算した値が負(マイナス)でない、
すなわち、この減算値が零もしくは正(プラス)のとき
は、上記ステップS9.SlOおよびSllのループを
繰り返し実行する。この状態で、原点減速位置検出リミ
ットスイッチLS2がオフせずに、(設定値rN)−(
現在値)く0となると、これは、テーブル20が原点減
速検出リミットスイッチLS2の正規作動位置P4を越
えて前進しても、テーブル20が位置P3にきたときに
オンした上記原点減速位置検出リミットスイッチLS2
か第4図に点線で示すようにオンしつづけていることを
意味するから、演算回路51は、ステップSI2にて、
外部制御盤5に、原点減速検出リミットスイッチLS2
不良の信号を出力し、オペレータに原点減速検出リミッ
トスイッチLS2の復帰不良を知らせるとともに、ステ
ップS7にて、数値制御工作機械を停止させストップす
る。
The arithmetic circuit 5I also determines in step SIO whether or not the origin deceleration position detection limit switch LS2 is on. If it is determined in step SIO that the origin deceleration position detection limit switch LS2 is on, the arithmetic circuit 51 executes step S11. Then, from the return failure monitoring position data (setting value "l") of the origin deceleration position detection limit switch LS2, table 20
The value obtained by subtracting the current position data of is not negative (minus),
That is, when this subtraction value is zero or positive, step S9. Repeat the loop of SlO and Sll. In this state, the origin deceleration position detection limit switch LS2 does not turn off and (set value rN) - (
If the current value) becomes 0, this means that even if the table 20 advances beyond the normal operating position P4 of the home deceleration detection limit switch LS2, the home deceleration position detection limit that was turned on when the table 20 reached position P3 switch LS2
This means that it continues to be turned on as shown by the dotted line in FIG.
The origin deceleration detection limit switch LS2 is installed on the external control panel 5.
A defective signal is output, informing the operator of the return failure of the origin deceleration detection limit switch LS2, and at the same time, in step S7, the numerically controlled machine tool is stopped.

一方、上記ステップS9.SIOおよびSllのループ
が繰り返し実行されているときに、原点減速位置検出リ
ミットスイッチLS2がオフすると、演算回路51は、
ステップS13にて、原点復帰完了か否かを判定する。
On the other hand, step S9. When the origin deceleration position detection limit switch LS2 is turned off while the SIO and Sll loops are being repeatedly executed, the arithmetic circuit 51
In step S13, it is determined whether the return to the origin is completed.

そして、テーブル20が第4図の位置P、から1パルス
目のP、の位置で停止し、上記ステップS13にて、原
点復帰が完了したと判定されると、ステップS14にて
、外部制御盤5の原点復帰完了ランプ(図示せず。)を
点灯させ、原点復帰が終了する。上記ステップS13に
て、原点復帰が完了しないと判定され、何等かの原因で
原点復帰異常が発生する(ステップ5I5)と、数値制
御工作機械を停止(ステップS7)させた後、ストップ
する。
Then, the table 20 stops at the first pulse P from position P in FIG. The return-to-origin completion lamp (not shown) of No. 5 is turned on, and the return-to-origin is completed. If it is determined in step S13 that the return to origin is not completed, and if an error in return to origin occurs for some reason (step 5I5), the numerically controlled machine tool is stopped (step S7) and then stopped.

以上のようにして、原点付近検出リミットスイッチLS
Iおよび原点減速検出リミットスイッチLS2の復帰不
良が発生すると、外部制御盤5によりその復帰不良がオ
ペレータに警告され、同時に、数値制御工作機械も停止
する。これにより、原点復帰不良を簡単に知ることがで
きる。
As described above, the origin detection limit switch LS
When a return failure occurs in I and the origin deceleration detection limit switch LS2, the external control panel 5 warns the operator of the return failure, and at the same time, the numerically controlled machine tool also stops. Thereby, it is possible to easily know the origin return failure.

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

第1図は本発明に係る数値制御工作機械の位置検出器の
不良検出装置の一実施例の構成を示すブロック図、 第2図は第1図の数値制御工作機械の工作機本体の説明
図、 第3図は第1図の数値制御工作機械の位置検出器の不良
検出装置の不良検出のフローチャート、第4図は第1図
の数値制御工作機の原点復帰時の要部の作動を示す説明
図である。 ■・・・工作機本体、 2・・・数値制御装置、3・・
・モータ、    4・・・速度サーボアンプ、5・・
・外部制御盤、 20・・・テーブル、27・・・駆動
軸、  33・・・パルスジェネレータ、35.37・
・・カム部、 47・・・機械座標系記憶回路、 47a・・・停電保護回路、 48・・・原点付近データ記憶回路、 49・・・原点減速データ記憶回路、 LSI・・・原点付近検出リミットスイッチ、LS2・
・・原点減速位置検出リミットスイッチ。 特許出願人    マツダ株式会社 代理人  弁理士  青白 葆外2名 第4図 1子
Fig. 1 is a block diagram showing the configuration of an embodiment of a defect detection device for a position detector of a numerically controlled machine tool according to the present invention, and Fig. 2 is an explanatory diagram of the machine tool main body of the numerically controlled machine tool of Fig. 1. , Fig. 3 is a flowchart of defect detection of the defect detection device of the position detector of the numerically controlled machine tool shown in Fig. 1, and Fig. 4 shows the operation of the main parts when the numerically controlled machine tool shown in Fig. 1 returns to the origin. It is an explanatory diagram. ■... Machine tool body, 2... Numerical control device, 3...
・Motor, 4...Speed servo amplifier, 5...
・External control panel, 20...Table, 27...Drive shaft, 33...Pulse generator, 35.37.
...Cam part, 47...Machine coordinate system storage circuit, 47a...Power failure protection circuit, 48...Origin point vicinity data storage circuit, 49...Origin deceleration data storage circuit, LSI...Origin vicinity detection Limit switch, LS2・
・・Home deceleration position detection limit switch. Patent applicant: Mazda Motor Corporation agent Patent attorney: 2 people, Aohaku and Sogai, Figure 4, 1 child

Claims (1)

【特許請求の範囲】[Claims] (1)インクリメンタル型パルスジェネレータを有する
駆動軸と、その駆動軸の作動で前後動可能なテーブルと
、そのテーブルの移動軌跡上の所定位置に配置されて上
記テーブルの移動位置を検出するリミットスイッチとを
有する数値制御工作機械の位置検出器の不良検出装置で
あって、 上記テーブルの原点復帰時に、上記テーブルの原点から
の現在位置を検出する現位置検出手段と、上記リミット
スイッチの原点からの正規作動位置を記憶したリミット
スイッチ作動位置記憶手段と、上記現位置検出手段で検
出された上記テーブルの現位置と上記リミットスイッチ
作動位置記憶手段に記憶されたリミットスイッチの正規
作動位置との偏差を算出して上記リミットスイッチの復
帰不良を検出する復帰不良検出手段とを備えたことを特
徴とする数値制御工作機械の位置検出器の不良検出装置
(1) A drive shaft having an incremental pulse generator, a table that can be moved back and forth by the operation of the drive shaft, and a limit switch that is placed at a predetermined position on the movement trajectory of the table to detect the movement position of the table. A defect detection device for a position detector of a numerically controlled machine tool, comprising: current position detection means for detecting the current position of the table from the origin when the table returns to the origin; and current position detection means for detecting the current position of the table from the origin; Calculate the deviation between the current position of the table detected by the limit switch operating position storage means storing the operating position and the current position detection means and the normal operating position of the limit switch stored in the limit switch operating position storage means. and return failure detection means for detecting return failure of the limit switch.
JP26884387A 1987-10-23 1987-10-23 Detector for detecting defective position detector of numerical control machine tool Pending JPH01115548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26884387A JPH01115548A (en) 1987-10-23 1987-10-23 Detector for detecting defective position detector of numerical control machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26884387A JPH01115548A (en) 1987-10-23 1987-10-23 Detector for detecting defective position detector of numerical control machine tool

Publications (1)

Publication Number Publication Date
JPH01115548A true JPH01115548A (en) 1989-05-08

Family

ID=17464039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26884387A Pending JPH01115548A (en) 1987-10-23 1987-10-23 Detector for detecting defective position detector of numerical control machine tool

Country Status (1)

Country Link
JP (1) JPH01115548A (en)

Similar Documents

Publication Publication Date Title
KR950000839B1 (en) Machine tool numerical controller with a trouble stop function
US20150137726A1 (en) Motor controller for protecting tool and object to be processed in emergency stop
JP4049911B2 (en) Method and apparatus for monitoring and controlling tailstock of machine tool
CN116820034B (en) Shaft mode switching method and device and related equipment
JPH01115548A (en) Detector for detecting defective position detector of numerical control machine tool
JP5885105B2 (en) Automatic correction device and automatic correction method for machine tool
JPS6243805B2 (en)
JP4233559B2 (en) Numerically controlled machine tool
JPH04340104A (en) Loader control device
JPH0739190A (en) Brake malfunction detecting method for automatic machine
JPH04235605A (en) Machine tool controller
US20240088820A1 (en) Motor control device
JP2707983B2 (en) Collision torque control device
JP7427850B2 (en) Machine Tools
JPH0711841Y2 (en) Positioning control device by monitoring the load of the feed motor
JPH04255002A (en) Malfunction check system for numerically controlled machine tool
JP2005222463A (en) Operation control method and operation controller of machine tool at abnormal machining
JPH03178752A (en) Method for monitoring and controlling tool load
JP2570445B2 (en) NC cutting equipment
JP2807491B2 (en) Numerical control unit
JP4066178B2 (en) Machine tool and its abnormality inspection method
KR100203801B1 (en) Cutting anti-feed control device and method in the event of table unclamping
JPH04330504A (en) Teaching device for loader
JPH04332005A (en) Program checking device for nc device
JPS60160407A (en) Numerical controller