JPH04261752A - Position shift quantity setting method in fixed position stop device - Google Patents

Position shift quantity setting method in fixed position stop device

Info

Publication number
JPH04261752A
JPH04261752A JP373991A JP373991A JPH04261752A JP H04261752 A JPH04261752 A JP H04261752A JP 373991 A JP373991 A JP 373991A JP 373991 A JP373991 A JP 373991A JP H04261752 A JPH04261752 A JP H04261752A
Authority
JP
Japan
Prior art keywords
shift amount
position shift
detector
amount
shift quantity
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
JP373991A
Other languages
Japanese (ja)
Inventor
Yasuhiro Tsunashima
綱島 康博
Shoichi Sakazaki
坂崎 正一
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP373991A priority Critical patent/JPH04261752A/en
Publication of JPH04261752A publication Critical patent/JPH04261752A/en
Pending legal-status Critical Current

Links

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Machine Tool Positioning Apparatuses (AREA)

Abstract

PURPOSE:To enable the easy setting of position shift quantity. CONSTITUTION:The shaft of a motor 1 or a main spindle driven by this motor 1 is rotated into a desired stop position. The position feedback quantity from a position detector 3 at this time is then read, and this position feedback quantity is stored as the position shift quantity into a storage part 7. The stored position shift quantity is added to an orientation command to perform an oriented stop at a target position.

Description

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

【0001】0001

【産業上の利用分野】この発明は、工作機械の主軸制御
等に適用される定位置停止装置のポジションシフト量を
設定する方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of setting a position shift amount of a fixed position stop device applied to main spindle control of a machine tool.

【0002】0002

【従来の技術】図3は従来のオリエント機能を備えた電
動機の制御装置を示すブロック図であり、図において、
1は主軸等を駆動する電動機、2はこの電動機1または
この電動機にて駆動される主軸等に装着された速度検出
器、3は電動機1またはこの電動機にて駆動される主軸
等に装着された位置検出器、4は電動機1を駆動する速
度制御部、5はオリエント制御を行う位置制御部、6は
速度指令を位置制御部5からの制御に切換える切換えス
イッチ、7はオリエント指令に加算するポジションシフ
ト量を記憶する記憶部、8はポジションシフト量を記憶
部7に設定する設定・表示部である。なお、ポジション
シフト量とは、位置検出器3の基準位置(位置検出器が
エンコーダの場合はZ相パルスが出力される位置、マグ
センサの場合は発磁体と検出器との相対位置関係により
発生する電圧のゼロクロスの位置)と実際のオリエント
位置との間の角度に相当する量を指し、この量をオリエ
ント指令に対し加算することにより目標とする位置にオ
リエント停止させるものである。
2. Description of the Related Art FIG. 3 is a block diagram showing a conventional control device for an electric motor with an orientation function.
1 is an electric motor that drives the main shaft, etc., 2 is a speed detector attached to the motor 1 or the main shaft, etc. driven by this motor, and 3 is a speed detector attached to the motor 1 or the main shaft, etc. driven by this electric motor. Position detector, 4 is a speed control unit that drives the electric motor 1, 5 is a position control unit that performs orientation control, 6 is a changeover switch that switches the speed command to control from the position control unit 5, and 7 is a position that is added to the orientation command. A storage section 8 for storing the shift amount is a setting/display section for setting the position shift amount in the storage section 7. Note that the position shift amount is caused by the reference position of the position detector 3 (if the position detector is an encoder, the position where the Z-phase pulse is output; if the position detector is a mag sensor, it is generated by the relative positional relationship between the magnetizing body and the detector) This refers to the amount corresponding to the angle between the voltage zero cross position) and the actual orientation position, and by adding this amount to the orientation command, the orientation is stopped at the target position.

【0003】次に上記オリエント機能を備えた電動機の
制御装置の動作について説明する。即ち、速度指令は切
換えスイッチ6を通じて速度制御部4に与えられ、速度
検出器2の速度フィードバックとの差により電動機1を
駆動する。次いでオリエント機能を作動させると、切換
えスイッチ6が下側に切り換わり、ポジションシフト量
が加算されたオリエント指令が位置制御部5に与えられ
、停止目標位置と位置検出器3からのフィードバックの
差から速度指令を演算し、その速度指令を速度制御部4
に与えることにより停止目標位置に電動機1をオリエン
ト停止する。
Next, the operation of the electric motor control device having the orientation function described above will be explained. That is, the speed command is given to the speed control section 4 through the changeover switch 6, and the electric motor 1 is driven based on the difference between the speed command and the speed feedback of the speed detector 2. Next, when the orientation function is activated, the changeover switch 6 is switched to the lower side, and an orientation command with the position shift amount added is given to the position control unit 5, and the difference between the stop target position and the feedback from the position detector 3 is A speed command is calculated and the speed command is sent to the speed control section 4.
The electric motor 1 is orientated and stopped at the stop target position by applying the same value to the stop position.

【0004】ところで、従来のポジションシフト量設定
は次のように行っていた。即ち、ポジションシフト量の
設定は、上記電動機の制御装置が工作機械等の機械に組
み込んだ後行われるので、位置検出器3がエンコーダの
場合、エンコーダの機械的なZ相の位置がポジションシ
フト量を設定するオペレータには分からない。このため
オペレータは、設定・表示部8より仮のポジションシフ
ト量を記憶部7に設定した後、オリエント動作させ、工
具交換位置等の実際の停止位置と目標とする停止位置と
の間の機械的な相対位置関係を見てみる。そしてこの相
対位置関係を考慮したポジションシフト量を設定し直し
、再度オリエント動作をさせる。この動作を繰り返すこ
とにより、目標とする位置にオリエント停止できるポジ
ションシフト量を設定していた。また位置検出器3がマ
グセンサの場合、このマグセンサの組み込み時、目標と
する停止位置に発磁体と検出器を取り付けることが出来
ず、目標とする停止位置との間に機械的相対位置関係が
ずれる場合がある。このため、上記と同様のポジション
シフト量設定操作を行うことにより、目標とする位置に
オリエント停止できるポジションシフト量を設定してい
た。
By the way, conventional position shift amount setting was performed as follows. That is, since the position shift amount is set after the electric motor control device is installed in a machine such as a machine tool, if the position detector 3 is an encoder, the mechanical Z-phase position of the encoder is determined by the position shift amount. unknown to the operator who sets it. For this reason, the operator sets a temporary position shift amount in the storage unit 7 from the setting/display unit 8, and then performs an orientation operation to mechanically shift the position between the actual stop position such as the tool change position and the target stop position. Let's look at the relative positional relationship. Then, the position shift amount is reset in consideration of this relative positional relationship, and the orientation operation is performed again. By repeating this operation, a position shift amount that allows the orientation to be stopped at the target position is set. In addition, if the position detector 3 is a mag sensor, when installing the mag sensor, the magnetizing body and the detector cannot be attached to the target stop position, and the relative mechanical positional relationship between the target stop position and the target stop position is shifted. There are cases. For this reason, by performing a position shift amount setting operation similar to that described above, a position shift amount that allows the orientation to be stopped at a target position is set.

【0005】[0005]

【発明が解決しようとする課題】以上のように、従来は
ポジションシフト量設定を、オペレータの勘と経験に頼
っていたので、ポジションシフト量設定が煩雑で、かつ
その設定が難しかった。
[Problems to be Solved by the Invention] As described above, in the past, the setting of the position shift amount relied on the operator's intuition and experience, making the setting of the position shift amount complicated and difficult.

【0006】この発明は上記の欠点を改善するためにな
されたもので、ポジションシフト量設定を容易に行うこ
とのできる定位置停止装置のポジションシフト量設定方
法を提供しようとするものである。
The present invention has been made in order to improve the above-mentioned drawbacks, and it is an object of the present invention to provide a method for setting a position shift amount for a fixed position stop device, which allows the position shift amount to be easily set.

【0007】[0007]

【課題を解決するための手段】この発明に係る定位置停
止装置のポジションシフト量設定方法は、被定位置停止
部材を停止したい位置に移動させた後、この時の位置検
出器からの位置フィードバック量を読み込み、この位置
フィードバック量をポジションシフト量として記憶部に
記憶させるものである。
[Means for Solving the Problems] A method for setting a position shift amount of a fixed position stopping device according to the present invention is to move a fixed position stopping member to a desired position and then obtain position feedback from a position detector at this time. This position feedback amount is stored in the storage section as a position shift amount.

【0008】[0008]

【作用】この発明に係る定位置停止装置のポジションシ
フト量設定方法によれば、停止したい位置における位置
検出器からの位置フィードバック量を読み込み、この位
置フィードバック量をポジションシフト量として記憶部
に記憶させるので、ポジションシフト量設定が容易とな
る。
[Operation] According to the position shift amount setting method for a fixed position stopping device according to the present invention, the position feedback amount from the position detector at the desired stop position is read, and this position feedback amount is stored in the storage unit as the position shift amount. Therefore, it becomes easy to set the position shift amount.

【0009】[0009]

【実施例】実施例1.以下この発明の一実施例を図1及
び図2を用いて説明する。図1はこの発明が適用される
電動機の制御装置を示し、位置検出器3からの位置フィ
ードバック量を、EEROMからなる記憶部7に取り込
むことが出来るように構成されている。なお、9は位置
検出器3からの位置フィードバック量を、EEROMか
らなる記憶部7に取り込むか否かを決定する位置フィー
ドバック量用切換えスイッチである。また1〜8は従来
のものと同様であるので説明を省略する。
[Example] Example 1. An embodiment of the present invention will be described below with reference to FIGS. 1 and 2. FIG. 1 shows a control device for an electric motor to which the present invention is applied, and is configured so that a position feedback amount from a position detector 3 can be taken into a storage section 7 consisting of an EEROM. Note that 9 is a position feedback amount changeover switch that determines whether or not the position feedback amount from the position detector 3 is taken into the storage section 7 made of EEROM. Further, since 1 to 8 are the same as the conventional ones, explanations thereof will be omitted.

【0010】次にこの発明に係るポジションシフト量設
定方法を図1及び図2を用いて説明する。先ず設定・表
示部8から、位置検出器3からの位置フィードバック量
読み込みフラグをセットし(ステップ1)、位置検出器
3から位置フィードバック量が読み込める状態とすると
ともに、電動機1をフリーの状態とする。次にこれらの
状態で被定位置停止部材である電動機1の回転軸、又は
この電動機1にて駆動される主軸を手で回すと、位置検
出器3から、位置フィードバック量が設定・表示部8に
読み込まれ(ステップ2)、読み込み値が表示される(
ステップ3)。そして目標とする位置まで、電動機1の
回転軸、又はこの電動機1にて駆動される主軸を手で回
した後、設定・表示部8によりデータセットを行わせる
と(ステップ4)、切換えスイッチ9が閉じてその読み
込み値がポジションシフト量として記憶部7に記憶され
(ステップ5)、上記読み込みフラグがリセットされる
(ステップ6)。このようにしてポジションシフト量が
設定される。その後このポジションシフト量を用いて従
来と同様にオリエント制御される。
Next, a position shift amount setting method according to the present invention will be explained with reference to FIGS. 1 and 2. First, a flag for reading the position feedback amount from the position detector 3 is set from the setting/display section 8 (step 1), and the position feedback amount can be read from the position detector 3, and the electric motor 1 is set in a free state. . Next, in these conditions, when the rotating shaft of the electric motor 1, which is the fixed position stopping member, or the main shaft driven by the electric motor 1 is turned by hand, the position feedback amount is set and displayed on the display section 8 from the position detector 3. (Step 2), and the read value is displayed (
Step 3). After manually rotating the rotating shaft of the electric motor 1 or the main shaft driven by the electric motor 1 to the target position, data is set using the setting/display section 8 (step 4), and the changeover switch 9 is closed, the read value is stored in the storage section 7 as the position shift amount (step 5), and the read flag is reset (step 6). In this way, the position shift amount is set. Thereafter, using this position shift amount, orientation control is performed in the same manner as in the prior art.

【発明の効果】【Effect of the invention】

【0011】以上のようにこの発明によれば、被定位置
停止部材を停止したい位置に移動させた後、この時の位
置検出器からの位置フィードバック量を読み込み、この
位置フィードバック量をポジションシフト量として記憶
部に記憶させるので、ポジションシフト量設定を容易に
行うことができるようになる。
As described above, according to the present invention, after moving the fixed position stopping member to the desired position, the position feedback amount from the position detector at this time is read, and this position feedback amount is used as the position shift amount. The position shift amount can be easily set.

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

【図1】本発明の一実施例に係るポジションシフト量設
定方法が採用される電動機の制御装置を示すブロック図
である。
FIG. 1 is a block diagram showing a control device for an electric motor in which a position shift amount setting method according to an embodiment of the present invention is adopted.

【図2】本発明の一実施例に係るポジションシフト量設
定方法を説明するためのフローチャートである。
FIG. 2 is a flowchart for explaining a position shift amount setting method according to an embodiment of the present invention.

【図3】従来のポジションシフト量設定方法を説明する
ための電動機の制御装置を示すブロック図である。
FIG. 3 is a block diagram showing a motor control device for explaining a conventional position shift amount setting method.

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

1  電動機 3  位置検出器 5  位置制御部 7  記憶部 8  設定・表示部 9  切換えスイッチ 1 Electric motor 3 Position detector 5 Position control section 7. Storage section 8 Setting/Display section 9 Changeover switch

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  被定位置停止部材を停止したい位置に
移動させた後、この時の位置検出器からの位置フィード
バック量を読み込み、この位置フィードバック量をポジ
ションシフト量として記憶部に記憶させることを特徴と
する定位置停止装置のポジションシフト量設定方法
1. After moving the fixed position stopping member to a desired position, the amount of position feedback from the position detector at this time is read, and the amount of position feedback is stored in a storage unit as a position shift amount. Characteristic position shift amount setting method for fixed position stop device
JP373991A 1991-01-17 1991-01-17 Position shift quantity setting method in fixed position stop device Pending JPH04261752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP373991A JPH04261752A (en) 1991-01-17 1991-01-17 Position shift quantity setting method in fixed position stop device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP373991A JPH04261752A (en) 1991-01-17 1991-01-17 Position shift quantity setting method in fixed position stop device

Publications (1)

Publication Number Publication Date
JPH04261752A true JPH04261752A (en) 1992-09-17

Family

ID=11565593

Family Applications (1)

Application Number Title Priority Date Filing Date
JP373991A Pending JPH04261752A (en) 1991-01-17 1991-01-17 Position shift quantity setting method in fixed position stop device

Country Status (1)

Country Link
JP (1) JPH04261752A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015009304A (en) * 2013-06-27 2015-01-19 ブラザー工業株式会社 Machine tool

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6294251A (en) * 1985-10-17 1987-04-30 Toshiba Mach Co Ltd Device for controlling position

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6294251A (en) * 1985-10-17 1987-04-30 Toshiba Mach Co Ltd Device for controlling position

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015009304A (en) * 2013-06-27 2015-01-19 ブラザー工業株式会社 Machine tool

Similar Documents

Publication Publication Date Title
KR100499729B1 (en) Indicating instrument for a vehicle
US6552506B2 (en) Method for determining the position of an element driven by the drive shaft of a direct current motor
JPH04261752A (en) Position shift quantity setting method in fixed position stop device
JPS62106799A (en) Controller of sewing machine
JP2002250641A (en) Indicating instrument for vehicle
US20030015985A1 (en) Integrated closed-loop programmable motor assembly
JP3010107B2 (en) Encoder system
US6072656A (en) Stepping motor control method
JPS6234210A (en) Detector for original point position
JPH0623681A (en) Origin return device for robot
JP3013998B2 (en) Rotary axis zero return method in numerical controller
JP2002223584A (en) Controller for dc motor
JP2669458B2 (en) Automatic setting device for gauge length for elongation measurement
JPS61152391A (en) Figure cut-out device using cutter
JPH0431603Y2 (en)
JPH039866A (en) Type selection mechanism
JPS62114497A (en) Electric driver
JPS6277610A (en) Robot controller equipped with step-back function
JPH0826668A (en) Stop position control device
JP2770024B2 (en) Home position return device for automatic control machine tools
JPH1015864A (en) Manual pulse generating device
JPS6174012A (en) Positioning control device
JPH0553621A (en) Original point return system
JPH1014292A (en) Step out detector for stepper motor
JPS61255409A (en) Control device for positioning double spindle