JPH04322948A - Spindle zero position setter - Google Patents

Spindle zero position setter

Info

Publication number
JPH04322948A
JPH04322948A JP11684191A JP11684191A JPH04322948A JP H04322948 A JPH04322948 A JP H04322948A JP 11684191 A JP11684191 A JP 11684191A JP 11684191 A JP11684191 A JP 11684191A JP H04322948 A JPH04322948 A JP H04322948A
Authority
JP
Japan
Prior art keywords
spindle
sensor
origin
workpiece
main 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
Application number
JP11684191A
Other languages
Japanese (ja)
Inventor
Kazuto Miyamoto
数人 宮本
Morihiro Kageyama
影山 守弘
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.)
Roland DG Corp
Original Assignee
Roland DG 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 Roland DG Corp filed Critical Roland DG Corp
Priority to JP11684191A priority Critical patent/JPH04322948A/en
Publication of JPH04322948A publication Critical patent/JPH04322948A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To provide a spindle zero position setter that sets a zero position in the spindle direction of relative coordinates of a machine tool for three- dimensional machining by means of numerical control. CONSTITUTION:On the absolute coordinate inherent in a machine tool, a spindle down signal is given to a spindle head 8 fitted with a graving cutter 7a and retracted upward, whereby this spindle head 8 is lowered, while a descent of the spindle head 8 is stopped by giving the spindle down signal to the spindle head 8 at a time when a tip 7a' of the graving cutter 7a has come into contact with a sensor 9 set in a state of contacting with a workpiece, for example, a graving surface 6a of seal material 6, and a coordinate value in the spindle direction at a point, adding height of the sensor 9 in the down direction of a spindle further from this stop point, is set to a zero position of the spindle direction at the relative coordinate. Therefore, since a downward motion of the spindle is surely stopped at a moment the tip of the cutter is reached to the sensor, the zero position in the spindle direction of the relative coordinate is set at high positional accuracy and, what is more, the zero position can be set in a short time.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、数値制御により三次元
加工を行なう工作機の相対座標を設定する主軸の原点設
定装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a spindle origin setting device for setting the relative coordinates of a machine tool that performs three-dimensional machining by numerical control.

【0002】0002

【従来の技術】コンピュータを用いる数値制御により三
次元加工を行なう工作機は、工作機固有の絶対座標であ
る機械座標を有し、この機械座標上で加工が行われるが
種種の寸法形状の被加工物を効率良く切削加工するため
には、プログラム上でそれぞれの被加工物に応じた相対
座標としてワーク座標を設定し、このワーク座標上で加
工作業が行われることが多い。
[Prior Art] A machine tool that performs three-dimensional machining through numerical control using a computer has machine coordinates that are absolute coordinates unique to the machine tool, and machining is performed on these machine coordinates. In order to efficiently cut a workpiece, workpiece coordinates are often set in a program as relative coordinates according to each workpiece, and machining operations are often performed on these workpiece coordinates.

【0003】例えば、図7に示されているような印章彫
刻機31のワーク座標を設定するに際して、3次元座標
の内の彫刻用カッター32を備えた主軸33の原点設定
はゲージ38を用いて次のように行われている。
For example, when setting the workpiece coordinates of a seal engraving machine 31 as shown in FIG. It is done as follows.

【0004】まず、図7の実線で示されているように主
軸33を上方に退避させておき、印章彫刻機31のテー
ブル34上に固定されたバイス35のチャック36に挟
持された印材37の彫刻面37a 上に厚みtmmのゲ
ージ38を載置する。 次に、手動操作により徐徐に主軸33を下降させ、目視
により図7の点線で示されているように彫刻用カッター
32の先端32’がゲージ38の表面38a に達した
ことを確認し、この時点で手動操作により主軸33を停
止させる。なお、印材37の彫刻面37a は、この停
止点よりさらにゲージの厚みtmmだけ下方に位置する
から、ワーク座標原点は主軸33方向の停止点からのオ
フセット値をtmmとして定まり、このワーク座標を基
準として所定のプログラムにもとづいて印材37に彫刻
が施される。
First, the main shaft 33 is retracted upward as shown by the solid line in FIG. A gauge 38 having a thickness of tmm is placed on the engraving surface 37a. Next, the main shaft 33 is gradually lowered by manual operation, and it is visually confirmed that the tip 32' of the engraving cutter 32 has reached the surface 38a of the gauge 38, as shown by the dotted line in FIG. At this point, the main shaft 33 is stopped by manual operation. Since the engraving surface 37a of the stamp material 37 is located below this stopping point by the gauge thickness tmm, the workpiece coordinate origin is determined by setting the offset value from the stopping point in the direction of the spindle 33 as tmm, and this workpiece coordinate is used as the reference point. The stamp material 37 is engraved based on a predetermined program.

【0005】[0005]

【発明が解決しようとする課題】前述のゲージを用いて
原点設定を行なうと、彫刻用カッターの先端がゲージ表
面に達する前に主軸の下降を停止させると、前記オフセ
ット値がゲージの厚みtよりも大きくなるために、ワー
ク座標原点が上方向に設定されすぎて印材の彫刻が本来
よりも浅いものになったり、彫刻用カッターの先端が印
材の彫刻面まで達しないこともあり得る。また、主軸の
下降を停止させるタイミングを逸して停止操作が遅れる
と、彫刻用カッターがゲージに接触して彫刻用カッター
の先端が破損することもある。また、彫刻用カッターが
破損されずにゲージを切削してしまった場合も、前記オ
フセット値がゲージの厚みtよりも小さくなるために、
ワーク座標原点が下方向に設定されすぎて印材の彫刻が
本来よりも深いものとなる。またさらに、彫刻用カッタ
ーの先端を目視する角度の差によっても彫刻用カッター
先端の停止点に差異が生じる。このように、目視と手動
操作による原点設定は極めて熟練を要する作業となって
おり、また設定された原点は熟練者間でさえ差異が生じ
て設定された原点の位置精度は低いものとなる。なお、
停止点を決定するためには非常に細い彫刻用カッターの
先端を凝視せねばならず、作業者の疲労による設定され
た原点の位置精度低下も避けられない。前述のように、
従来の原点設定装置は位置精度において問題点がある。
[Problem to be Solved by the Invention] When setting the origin using the above-mentioned gauge, if the descent of the spindle is stopped before the tip of the engraving cutter reaches the gauge surface, the offset value becomes smaller than the thickness t of the gauge. Since the workpiece coordinate origin is set too upward, the engraving on the stamp material may become shallower than originally intended, or the tip of the engraving cutter may not reach the engraving surface of the stamp material. Furthermore, if the timing to stop the descent of the main shaft is missed and the stopping operation is delayed, the engraving cutter may come into contact with the gauge and the tip of the engraving cutter may be damaged. Furthermore, even if the engraving cutter cuts the gauge without being damaged, the offset value will be smaller than the thickness t of the gauge.
The workpiece coordinate origin is set too far downward, resulting in the engraving on the stamp material being deeper than it should be. Furthermore, differences in the angle at which the tip of the engraving cutter is viewed also cause a difference in the stopping point of the tip of the engraving cutter. As described above, setting the origin by visual inspection and manual operation is a task that requires extremely skill, and the set origin differs even among experts, resulting in low positional accuracy of the set origin. In addition,
In order to determine the stopping point, it is necessary to stare at the tip of the very thin engraving cutter, and it is inevitable that the positional accuracy of the set origin will deteriorate due to operator fatigue. As aforementioned,
Conventional origin setting devices have problems in position accuracy.

【0006】また、原点設定作業は熟練者でさえ時間を
要するものであり、作業効率の点からも問題点がある。
[0006] Furthermore, the work of setting the origin requires time even for an experienced person, and there are problems in terms of work efficiency.

【0007】[0007]

【課題を解決するための手段】本発明は、前述された問
題点を解決するために、数値制御により三次元加工を行
なう工作機の相対座標を設定する主軸の原点設定装置に
おいて、被加工物を固定するバイスに立設される軸体に
、この被加工物の加工面上と側方とに移動可能に設けら
れ、その被加工物の加工面に接触した状態で前記主軸に
取り付けられたカッターの先端が接触したことを検出す
るセンサ、絶対座標上で、前記主軸に主軸下降信号を与
えることによりその主軸を下降させるとともに、前記カ
ッターの先端が前記センサに接触したことを検出した時
点で前記主軸への主軸下降信号付与を中止することによ
りその主軸の下降を停止させる主軸下降制御手段および
前記主軸の停止点からさらにその主軸の下降方向に前記
センサの高さを加えた点における主軸方向の絶対座標上
の座標値を、演算により前記相対座標における主軸方向
の原点とする演算手段を備えたことを特徴とする主軸の
原点設定装置を提供するものである。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the present invention provides a spindle origin setting device for setting the relative coordinates of a machine tool that performs three-dimensional machining by numerical control. A shaft body installed vertically in a vise that fixes the workpiece is provided so as to be movable above and to the sides of the processing surface of the workpiece, and is attached to the main shaft in contact with the processing surface of the workpiece. A sensor that detects that the tip of the cutter has contacted, on absolute coordinates, lowers the spindle by giving a spindle lowering signal to the spindle, and at the time it detects that the tip of the cutter has contacted the sensor. A spindle lowering control means for stopping the lowering of the spindle by stopping applying a spindle lowering signal to the spindle, and a spindle direction at a point where the height of the sensor is added to the descending direction of the spindle from the stopping point of the spindle. The present invention provides a main axis origin setting device characterized by comprising a calculation means that calculates a coordinate value on the absolute coordinates as the origin in the main axis direction in the relative coordinates.

【0008】[0008]

【作用】本発明の主軸の原点設定装置により主軸の原点
を設定するに際しては、被加工物を固定するバイスに立
設される軸体にこの被加工物の加工面上と側方とに移動
可能に設けられたセンサを、その被加工物の加工面に接
触した状態において行う。先ず、工作機固有の絶対座標
上において、カッターを取り付けて上方に退避させた主
軸を主軸下降信号を与えることによりを徐徐に下降させ
て、カッターを被加工物の加工面上のセンサに接触させ
ることにより前記主軸への主軸下降信号付与を中止させ
て主軸の下降を停止させる。次いで、この停止点からさ
らに主軸の下降方向に前記センサの高さを加えた点にお
ける主軸方向の絶対座標上の座標値が、演算により相対
座標における主軸方向の原点に設定される。このように
すれば、主軸を上下方向に移動させる移動精度と同等の
位置精度で相対座標における原点設定が行える。
[Operation] When setting the origin of the spindle using the spindle origin setting device of the present invention, the spindle is moved on the machining surface of the workpiece and to the sides on the shaft that is erected in the vise that fixes the workpiece. The processing is performed with the sensor provided in contact with the processing surface of the workpiece. First, on the absolute coordinates unique to the machine tool, the spindle with the cutter attached and retracted upward is gradually lowered by applying a spindle lowering signal, and the cutter comes into contact with the sensor on the processing surface of the workpiece. As a result, the application of the spindle lowering signal to the spindle is stopped, and the lowering of the spindle is stopped. Next, a coordinate value on the absolute coordinates in the main axis direction at a point obtained by adding the height of the sensor to the downward direction of the main axis from this stopping point is set as the origin in the main axis direction in the relative coordinates by calculation. In this way, the origin can be set in relative coordinates with positional accuracy equivalent to the movement accuracy of moving the main shaft in the vertical direction.

【0009】[0009]

【実施例】次に、本発明による主軸の原点設定装置の具
体的な実施例について図面を参照しつつ説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, specific embodiments of the spindle origin setting device according to the present invention will be described with reference to the drawings.

【0010】図1に示されているのは、本発明の主軸の
原点設定装置を備えた数値制御の印章彫刻機1である。 この印章彫刻機1において、ベース2上にあって前後左
右に移動するテーブル3上に固定されたバイス4のチャ
ック5に印材6を挟持させ、先端に主軸駆動モータによ
り回転する荒削り用および仕上げ用の太さの異なる2本
の彫刻用カッター7a,7b を取り付けた主軸ヘッド
8が上下に移動し、これら3方向の動作の組合せにより
印材6に文字を彫刻する。また、図2に示されているよ
うに、バイス4上に立設された軸体16には、彫刻用カ
ッター7a,7b の先端が接触したことを検出するセ
ンサ9が設けられている。このセンサ9は、ワーク座標
設定時には図2の実線で示されているように印材6の彫
刻面6a上(ワーク座標設定位置)にあり、図2の点線
で示されているように彫刻作業中には回転させて印材6
側方の退避位置に退避させる。なお、このセンサ9の移
動は手動操作によって行う。
FIG. 1 shows a numerically controlled seal engraving machine 1 equipped with a spindle origin setting device according to the present invention. In this stamp engraving machine 1, a stamp material 6 is clamped by a chuck 5 of a vise 4 fixed on a table 3 which is located on a base 2 and moves back and forth and left and right, and a main shaft drive motor rotates at the tip for rough cutting and finishing. A spindle head 8 to which two engraving cutters 7a and 7b of different thicknesses are attached moves up and down, and characters are engraved on the stamp material 6 by a combination of movements in these three directions. Further, as shown in FIG. 2, a sensor 9 is provided on the shaft 16 erected on the vice 4 to detect when the tips of the engraving cutters 7a, 7b come into contact with each other. This sensor 9 is located on the engraving surface 6a of the stamp material 6 (work coordinate setting position) as shown by the solid line in FIG. 2 when setting the workpiece coordinates, and during engraving work as shown by the dotted line in FIG. Rotate the stamp material 6
Evacuate to the side evacuation position. Note that this sensor 9 is moved by manual operation.

【0011】なお、前述の主軸ヘッド8の上下移動およ
びテーブル3の左右前後移動は、図3に示されているよ
うにそれら主軸ヘッド8等にそれぞれ接続される主軸ヘ
ッド上下駆動モータ10、テーブル縦駆動モータ11、
テーブル横駆動モータ12によって行われ、各方向の動
作はCPU13から入出力ポート14を介して主軸ヘッ
ド上下駆動モータ10、テーブル縦駆動モータ11、テ
ーブル横駆動モータ12に所定のプログラムにもとづい
た信号を与えることにより制御される。さらに、彫刻用
カッター7a,7b がセンサ9に接触しているか否か
、言い換えれば彫刻用カッター7a,7b とセンサ9
とが通電状態であるか否かを示すセンサ状態信号が入出
力ポート14を介してCPU13に与えられる。
The above-mentioned vertical movement of the spindle head 8 and left/right movement of the table 3 are performed by a spindle head vertical drive motor 10 connected to the spindle head 8, etc., and a table vertical movement, as shown in FIG. drive motor 11,
The movement in each direction is performed by the table horizontal drive motor 12, and the CPU 13 sends signals based on a predetermined program to the spindle head vertical drive motor 10, table vertical drive motor 11, and table horizontal drive motor 12 via the input/output port 14. Controlled by giving. Furthermore, whether or not the engraving cutters 7a, 7b are in contact with the sensor 9, in other words, the engraving cutters 7a, 7b and the sensor 9 are checked.
A sensor state signal indicating whether or not the power is on is provided to the CPU 13 via the input/output port 14.

【0012】また、主軸のワーク座標原点設定時におい
ては前記主軸ヘッド8は入出力ポート14を介してCP
U13から主軸ヘッド上下駆動モータ10に主軸下降信
号を与えることにより下降するとともに、前記センサ状
態信号の内容にしたがって主軸下降信号付与を中止する
ことにより主軸ヘッド8 の下降を停止させる。
Further, when setting the work coordinate origin of the spindle, the spindle head 8 is connected to the CP via the input/output port 14.
The spindle head 8 is lowered by applying a spindle lowering signal from U13 to the spindle head vertical drive motor 10, and the lowering of the spindle head 8 is stopped by stopping the application of the spindle lowering signal in accordance with the content of the sensor status signal.

【0013】ところで、図4に示されているように、こ
の印章彫刻機1固有の絶対座標である機械座標を(X,
Y,Z)で表すと、テーブル3が移動する縦横方向はX
,Yとして表され、本発明に係る主軸方向はZとして表
される。なお、機械座標における原点は(0、0、0)
であるから、主軸ヘッド8が原点にある、言い換えれば
図4に示されているように最上端にある時は主軸ヘッド
位置を表す座標値Zは”0”である。このような機械座
標上で印材6や彫刻用カッター7a,7b の寸法に応
じて各彫刻用カッター7a,7b について相対座標で
あるワーク座標(X1’、Y1’、Z1’)および(X
2’、Y2’、Z2’)が設定され、これらのワーク座
標原点は機械座標における座標値(X01’、Y01’
、Z01’)および(X02’、Y02’、Z02’)
として表される。なお、本実施例の座標系においては1
mmを100 座標単位に設定している。
By the way, as shown in FIG. 4, the machine coordinates, which are the absolute coordinates unique to this seal engraving machine 1, are
Y, Z), the vertical and horizontal direction in which table 3 moves is X
, Y, and the main axis direction according to the present invention is represented as Z. The origin in machine coordinates is (0, 0, 0)
Therefore, when the spindle head 8 is at the origin, in other words, at the top end as shown in FIG. 4, the coordinate value Z representing the spindle head position is "0". On such machine coordinates, relative coordinates of workpiece coordinates (X1', Y1', Z1') and (X
2', Y2', Z2') are set, and the origin of these workpiece coordinates is the coordinate value (X01', Y01') in the machine coordinate.
, Z01') and (X02', Y02', Z02')
It is expressed as Note that in the coordinate system of this example, 1
mm is set to 100 coordinate units.

【0014】次に、本発明による主軸の原点設定装置を
用いてワーク座標原点を設定する方法を、2本の彫刻用
カッター7a,7b のうち一方の彫刻用カッター7a
を例にあげて説明する。まず、図5の実線で示されてい
るように主軸ヘッド8を機械座標における原点である最
上位置に退避させておき、テーブル3を移動させてテー
ブル3上に固定されたバイス4のチャック5に挟持され
た印材6を彫刻用カッター7aの真下に位置させる。次
に、退避位置にあったセンサ9を回転させて印材6の彫
刻面6a上のワーク座標設定位置に移動させ、彫刻面6
aがセンサ9に接していることを確認してワーク座標を
設定するための準備作業は完了する。
Next, a method for setting the workpiece coordinate origin using the spindle origin setting device according to the present invention will be described.
This will be explained using an example. First, the spindle head 8 is retracted to the uppermost position, which is the origin in the machine coordinates, as shown by the solid line in FIG. The sandwiched stamp material 6 is positioned directly below the engraving cutter 7a. Next, the sensor 9 that was in the retracted position is rotated and moved to the workpiece coordinate setting position on the engraving surface 6a of the stamp material 6, and
After confirming that a is in contact with the sensor 9, the preparation work for setting the workpiece coordinates is completed.

【0015】次に、所定のプログラムによりCPU13
から入出力ポート14を介して主軸ヘッド上下駆動モー
タ10に主軸下降信号を与えて徐徐に主軸ヘッド8を下
降させるとともに、センサ状態信号がセンサ9から入出
力ポート14を介してCPU13に入力される。図5の
点線で示されているように彫刻用カッター7aの先端7
a’がセンサ9の表面9aに達した時点で、センサ状態
信号により彫刻用カッター7aとセンサ9とが通電状態
にあることが判断され、主軸ヘッド上下駆動モータ10
への主軸下降信号の付与が中止されて主軸ヘッド8が停
止する。この停止点からセンサの厚みtmmを加えた点
における座標値が演算されて、この演算された座標値が
ワーク座標上の原点Z01’としてCPU13のメモリ
15にセットされ、主軸方向のワーク座標原点からのオ
フセット値をtmm(座標値としてt×100)として
所定のプログラムにもとづいて印材6に彫刻が施される
Next, the CPU 13 is activated by a predetermined program.
gives a spindle lowering signal to the spindle head vertical drive motor 10 via the input/output port 14 to gradually lower the spindle head 8, and a sensor status signal is input from the sensor 9 to the CPU 13 via the input/output port 14. . The tip 7 of the engraving cutter 7a is shown by the dotted line in FIG.
When a' reaches the surface 9a of the sensor 9, it is determined by the sensor status signal that the engraving cutter 7a and the sensor 9 are energized, and the spindle head vertical drive motor 10
Application of the spindle lowering signal to the spindle head 8 is stopped, and the spindle head 8 is stopped. The coordinate value at the point where the thickness tmm of the sensor is added from this stopping point is calculated, and this calculated coordinate value is set in the memory 15 of the CPU 13 as the origin Z01' on the workpiece coordinate, and is moved from the workpiece coordinate origin in the main axis direction. The stamp material 6 is engraved based on a predetermined program by setting the offset value to tmm (coordinate value: t×100).

【0016】図6に示されているのは、前述のワーク座
標原点設定に関する主軸ヘッド8の動作をプログラムの
流れにもとづいて説明するフローチャートであり、各ス
テップを詳細に説明すると、次のとおりである。
FIG. 6 is a flowchart illustrating the operation of the spindle head 8 regarding the above-mentioned workpiece coordinate origin setting based on the flow of the program, and each step is explained in detail as follows. be.

【0017】A:主軸ヘッド8を最上位置、言い換えれ
ば機械座標原点まで移動させる。主軸ヘッド8が機械座
標原点にある時、主軸ヘッド座標値Zは”0”である。 B:印章彫刻機1から入出力ポート14を介してCPU
13にセンサ状態信号が入力される。 C:センサ状態信号を調べて、彫刻用カッター7aの先
端7a’がセンサ9に接触していなければステップDに
進み、彫刻用カッター7aの先端7a’がセンサ9に接
触して通電状態であればステップFに進む。 D:CPU13から入出力ポート14を介して印章彫刻
機1に主軸下降信号出力され、1単位相当分、本実施例
においては0.01mm主軸ヘッド8が下降する。 E:主軸ヘッド座標値Zは1単位増え、ステップBに戻
る。 F:主軸ヘッド座標値Zにセンサの厚みを座標値に換算
した値を加えた座標値がワーク座標原点Z01’に設定
され、一連の処理は終了する。 このように、彫刻用カッター7aについてワーク座標に
おける主軸方向の原点が設定される。
A: Move the spindle head 8 to the uppermost position, in other words, to the machine coordinate origin. When the spindle head 8 is at the machine coordinate origin, the spindle head coordinate value Z is "0". B: CPU from the seal engraving machine 1 via the input/output port 14
A sensor status signal is input to 13. C: Check the sensor status signal, and if the tip 7a' of the engraving cutter 7a is not in contact with the sensor 9, proceed to step D, and if the tip 7a' of the engraving cutter 7a is in contact with the sensor 9 and is energized. If so, proceed to step F. D: A spindle lowering signal is output from the CPU 13 to the seal engraving machine 1 via the input/output port 14, and the spindle head 8 is lowered by an amount equivalent to one unit, 0.01 mm in this embodiment. E: The spindle head coordinate value Z is increased by 1 unit and the process returns to step B. F: A coordinate value obtained by adding the value obtained by converting the thickness of the sensor to a coordinate value to the spindle head coordinate value Z is set as the workpiece coordinate origin Z01', and the series of processes ends. In this way, the origin of the engraving cutter 7a in the main axis direction in the workpiece coordinates is set.

【0018】次いで、もう一方の彫刻用カッター7bに
ついても前述と同様の方法にてワーク座標における主軸
方向の原点Z02’が設定され、該印材6についての2
つのワーク座標が設定される。前述のような主軸の原点
設定装置を用いれば、彫刻用カッターの先端がセンサに
達した瞬間に確実に主軸の下降が停止されるために、主
軸の上下移動精度(本実施例においては0.01mm)
 で自動的に原点が設定され、設定されたワーク座標は
非常に位置精度の高いものとなる。また、原点設定に要
する時間も僅かで良い。
Next, for the other engraving cutter 7b, the origin Z02' in the main axis direction in the work coordinates is set in the same manner as described above, and the 2nd point for the stamp material 6 is set.
One workpiece coordinate is set. If the origin setting device for the spindle as described above is used, the descent of the spindle will be reliably stopped the moment the tip of the engraving cutter reaches the sensor, so the accuracy of the vertical movement of the spindle (in this example, 0. 01mm)
The origin is automatically set, and the set workpiece coordinates have extremely high positional accuracy. Further, the time required for setting the origin may be short.

【0019】なお、本実施例においてはセンサ9のワー
ク座標設定位置と退避位置との移動は手動操作により行
ったが、センサ9に例えば駆動モータを取りつけてCP
U13から駆動モータに所定の信号を与えてセンサ9の
移動を行うようにしても良い。この場合、前述のプログ
ラム中にセンサ9の移動に関する内容を付加すれば、印
材6をバイス4にセットするだけでワーク座標原点の設
定は全て自動的に行うことができる。
In this embodiment, the sensor 9 was moved between the workpiece coordinate setting position and the retreat position by manual operation, but the sensor 9 may be equipped with, for example, a drive motor to
The sensor 9 may be moved by giving a predetermined signal to the drive motor from U13. In this case, by adding content related to the movement of the sensor 9 to the above-mentioned program, the workpiece coordinate origin can be completely set automatically by simply setting the stamp material 6 in the vise 4.

【0020】[0020]

【発明の効果】本発明の主軸の原点設定装置によれば、
高い位置精度でワーク座標の原点を設定できるだけでな
く、プログラムにより自動的に主軸の上下移動を行なう
ために、従来目視により行っていたように主軸を下降さ
せすぎてカッター先端部を破損させることもない。さら
に、原点の設定時間が飛躍的に短縮されて作業効率が向
上する。
[Effects of the Invention] According to the spindle origin setting device of the present invention,
Not only can you set the origin of workpiece coordinates with high positional accuracy, but you can also automatically move the spindle up and down according to the program, which prevents you from lowering the spindle too far and damaging the cutter tip, which was done by visual inspection in the past. do not have. Furthermore, the time required to set the origin is dramatically reduced, improving work efficiency.

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

【図1】本発明の主軸の原点設定装置を備えた印章彫刻
機の外観斜視図である。
FIG. 1 is an external perspective view of a seal engraving machine equipped with a spindle origin setting device of the present invention.

【図2】印章彫刻機の要部拡大図である。FIG. 2 is an enlarged view of the main parts of the seal engraving machine.

【図3】センサの電気回路図および、主軸およびテーブ
ル駆動部を示すブロック図である。
FIG. 3 is an electrical circuit diagram of the sensor and a block diagram showing the main shaft and table drive section.

【図4】印章彫刻機の機械座標を示す図面である。FIG. 4 is a drawing showing machine coordinates of a seal engraving machine.

【図5】本発明の主軸の原点設定装置を用いて原点設定
方法を説明するための説明図である。
FIG. 5 is an explanatory diagram for explaining an origin setting method using the spindle origin setting device of the present invention.

【図6】本発明の主軸の原点設定装置を用いて原点を設
定するためのプログラムのフローチャートである。
FIG. 6 is a flowchart of a program for setting the origin using the spindle origin setting device of the present invention.

【図7】従来の主軸の原点設定装置を説明するための説
明図である。
FIG. 7 is an explanatory diagram for explaining a conventional spindle origin setting device.

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

1、31  印章彫刻機 2  ベース 3、34  テーブル 4、35  バイス 5、36  チャック 6、37  印材 6a、37a   彫刻面 7a、7b、32  彫刻用カッター 7a’ 彫刻用カッター先端 8  主軸ヘッド 9  センサ 9a  センサ表面 10  主軸上下駆動モータ 11  テーブル縦移動モータ 12  テーブル横移動モータ 13  CPU 14  入出力ポート 15  メモリ 16  軸体 33  主軸 38  ゲージ 38a   ゲージ表面 1, 31 Seal engraving machine 2 Base 3, 34 table 4, 35 Vice 5, 36 Chuck 6, 37 Stamp material 6a, 37a  Engraving surface 7a, 7b, 32 Engraving cutter 7a’ Engraving cutter tip 8 Spindle head 9 Sensor 9a Sensor surface 10 Main shaft vertical drive motor 11 Table vertical movement motor 12 Table lateral movement motor 13 CPU 14 Input/output port 15 Memory 16 Shaft body 33 Main shaft 38 gauge 38a Gauge surface

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  数値制御により三次元加工を行なう工
作機の相対座標を設定する主軸の原点設定装置において
、被加工物を固定するバイスに立設される軸体に、この
被加工物の加工面上と側方とに移動可能に設けられ、そ
の被加工物の加工面に接触した状態で前記主軸に取り付
けられたカッターの先端が接触したことを検出するセン
サ、絶対座標上で、前記主軸に主軸下降信号を与えるこ
とによりその主軸を下降させるとともに、前記カッター
の先端が前記センサに接触したことを検出した時点で前
記主軸への主軸下降信号付与を中止することによりその
主軸の下降を停止させる主軸下降制御手段および前記主
軸の停止点からさらにその主軸の下降方向に前記センサ
の高さを加えた点における主軸方向の絶対座標上の座標
値を、演算により前記相対座標における主軸方向の原点
とする演算手段を備えたことを特徴とする主軸の原点設
定装置。
Claim 1: In a spindle origin setting device that sets the relative coordinates of a machine tool that performs three-dimensional machining by numerical control, a shaft body that is erected in a vise that fixes a workpiece is used to control the machining of the workpiece. A sensor that is movable on the surface and laterally and detects when the tip of the cutter attached to the main shaft comes into contact with the processing surface of the workpiece; The main shaft is lowered by applying a main shaft lowering signal to the main shaft, and when it is detected that the tip of the cutter contacts the sensor, the lowering of the main shaft is stopped by stopping the application of the main shaft lowering signal to the main shaft. The origin point in the spindle direction in the relative coordinates is calculated by calculating the coordinate value on the absolute coordinates in the spindle direction at the point where the height of the sensor is added to the descending direction of the spindle from the stop point of the spindle and the spindle descent control means. What is claimed is: 1. A spindle origin setting device, characterized in that it is equipped with a calculation means that calculates the following:
JP11684191A 1991-04-19 1991-04-19 Spindle zero position setter Pending JPH04322948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11684191A JPH04322948A (en) 1991-04-19 1991-04-19 Spindle zero position setter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11684191A JPH04322948A (en) 1991-04-19 1991-04-19 Spindle zero position setter

Publications (1)

Publication Number Publication Date
JPH04322948A true JPH04322948A (en) 1992-11-12

Family

ID=14696955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11684191A Pending JPH04322948A (en) 1991-04-19 1991-04-19 Spindle zero position setter

Country Status (1)

Country Link
JP (1) JPH04322948A (en)

Similar Documents

Publication Publication Date Title
CN101281401B (en) Numerical control unit
JP2003011012A (en) Milling machine with built-in numerically control unit with work positioning means
JPH04322948A (en) Spindle zero position setter
JPH11161316A (en) Milling device with nuerical controller, storage medium where program for calculating movement data of cutting blade is recorded, and storage medium where movement data of cutting blade is recorded
JP2020019126A (en) Automatic deburring and/or edge finishing device, and automation method of deburring and/or edge finishing
JP4708541B2 (en) Bending method and bending system
JPH01284438A (en) Positioning device for plate material
JPH0584641A (en) Original point setting method for spindle
JP2599924B2 (en) Measurement method of electrode guide position in wire electric discharge machine
JPH058604U (en) Interference check device
JP2004082216A (en) Bending method and bending device
JP2005028432A (en) Plate dimension measuring method in plate working machine, work clamp position determining method, and work clamp device used for the method
JP2767852B2 (en) Grinding machine with tool length setting function
JPS61230868A (en) Burr removal by robot
JPH0512102B2 (en)
JP2002172545A (en) Cutting edge position measuring device and cutting edge position correcting method
JPH0557567A (en) Workpiece center position measuring method
KR100280651B1 (en) Method and apparatus for determining the processing range of a workpiece in an automatic engraver
JPH02152748A (en) Checking device for stroke end of machine tool for numerical control
JPH11123637A (en) Measuring method for tool size of nc system
JPS63293609A (en) Numerical controller
JP2002035843A (en) Bending method and bending system
JP4778610B2 (en) Grasping position control method and apparatus for workpiece gripping device for shearing machine
JPH03110602A (en) Positioning method for programmable controller with positioning function
JPS6161937B2 (en)