JPH02137964A - Origin position setting - Google Patents

Origin position setting

Info

Publication number
JPH02137964A
JPH02137964A JP29313688A JP29313688A JPH02137964A JP H02137964 A JPH02137964 A JP H02137964A JP 29313688 A JP29313688 A JP 29313688A JP 29313688 A JP29313688 A JP 29313688A JP H02137964 A JPH02137964 A JP H02137964A
Authority
JP
Japan
Prior art keywords
phase
switch
step motor
carriage
excited
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
JP29313688A
Other languages
Japanese (ja)
Inventor
Yuichi Harada
祐一 原田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP29313688A priority Critical patent/JPH02137964A/en
Publication of JPH02137964A publication Critical patent/JPH02137964A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To enable a detecting position of a detector to be easily accurately set by a method wherein when a specific exciting phase is excited, a relative position of a driven part and a detection means is so set that the driven part is positioned at a specific position. CONSTITUTION:In a typewriter in which an origin point of a step motor 4 is set as a D-A phase, when one cycle from a A-B phase to the D-A phase is taken as a detection range H, setting positions of a switch 10, i.e., a detector and a projection part 11 are so regulated that when either a B-C phase or a C-D phase within the detection range H is excited, the switch 10 is made to turn ON. Thereby, even through the setting position of the of the switch 10 is slightly shifted during service, since the A-B phase and the D-A phase exist on both sides thereof, timing when the switch 10 turns ON comes difficult to be outside the detection range. Therefore, even though the setting position of the switch 10 is shifted, only when timing of turning ON exists within detection range H, the origin position of a carriage 1 is determined at a position where the D-A phase of the detection range H was excited.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ステップモータにより駆動される被駆動部の
組付けに関し、特にその組付けにおける被駆動部の原点
位置を設定する原点位置設定方法に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to the assembly of a driven part driven by a step motor, and particularly to an origin position setting method for setting the origin position of a driven part in the assembly. Regarding.

[従来技術] 従来より、ステップモータにより駆動される被駆動部の
移動位置は、ステップモータの励磁相に対応しており、
被駆動部の移動位置は、ステップモータの励磁相を所定
量変化させることにより、制御されていた。
[Prior Art] Conventionally, the movement position of a driven part driven by a step motor corresponds to the excitation phase of the step motor.
The moving position of the driven part has been controlled by changing the excitation phase of the step motor by a predetermined amount.

また、この様な装置では被駆動部の移動位置が、原点位
置に基づいた相対的な位置となるため、原点位置の設定
位置がずれてしまうと移動位置もずれてしまう。このた
め被駆動部の原点位置は正確に設定されなければならず
、被駆動部の原点位置またはその付近に被駆動部の位置
を検出する検出器が設けられていた。そして、被駆動部
の原点位置は、装置が始動されるたびに設定され、さら
に、検出器の検出位置を調整しさえすれば、常に正確な
原点位置が設定されるようになっていた。
Further, in such a device, the moving position of the driven part is a relative position based on the origin position, so if the set position of the origin position shifts, the moving position also shifts. Therefore, the origin position of the driven part must be set accurately, and a detector for detecting the position of the driven part is provided at or near the origin position of the driven part. The origin position of the driven part is set each time the device is started, and furthermore, the accurate origin position can always be set by simply adjusting the detection position of the detector.

[発明が解決しようとする課題] しかしながら、検出器の検出位置を正確に設定する有効
な手段は存在しなかった。
[Problems to be Solved by the Invention] However, there has been no effective means for accurately setting the detection position of the detector.

本発明は、上述した問題点を解決するためになされたも
のであり、検出器の検出位置を極めて容易に正確に設定
できるようにすることを目的とする。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to enable the detection position of a detector to be set extremely easily and accurately.

[課題を解決するための手段] この目的を達成するために本発明は、ステップモータの
回転により駆動される被駆動部と、その被駆動部が所定
位置に位置したことを検出する検出手段とを有した電子
機器の被駆動部の原点位置設定方法において、ステップ
モータの所定の励磁相を励磁する励磁手段と、前記ステ
ップモータの励磁されている励磁相を表示する表示部と
を備え、前記励磁手段により所定の励磁相が励磁された
とき、前記被駆動部が所定位置に位置するように被駆動
部と検出手段との相対位置を設定することを特徴とする
ものである。
[Means for Solving the Problems] In order to achieve this object, the present invention includes a driven part driven by the rotation of a step motor, and a detection means for detecting that the driven part is located at a predetermined position. A method for setting an origin position of a driven part of an electronic device, comprising: excitation means for exciting a predetermined excitation phase of a step motor; and a display section for displaying an excited excitation phase of the step motor; The present invention is characterized in that the relative positions of the driven part and the detection means are set so that when a predetermined excitation phase is excited by the excitation means, the driven part is located at a predetermined position.

[作用] 上記の構成を有する本発明の原点位置設定方法は、前記
励磁手段によりステップモータの所定の励磁相を励磁す
るとステップモータが所定のステップ数だけ回転し、前
記表示部では励磁されている励磁相が表示される。そし
て前記励磁手段により所定の励磁相が励磁されたとき、
前記被駆動部が所定位置に位置するように被駆動部と検
出手段との相対位置が設定される。
[Operation] In the origin position setting method of the present invention having the above configuration, when a predetermined excitation phase of the step motor is excited by the excitation means, the step motor rotates by a predetermined number of steps, and the display section shows that the step motor is energized. The excitation phase is displayed. When a predetermined excitation phase is excited by the excitation means,
A relative position between the driven part and the detection means is set so that the driven part is located at a predetermined position.

[実施例] 以下、本発明を具体化した一実施例を図面を参照して説
明する。本実施例では、特に本発明の方法がタイプライ
タのキャリッジの原点位置設定に適用された場合につい
て説明する。
[Example] Hereinafter, an example embodying the present invention will be described with reference to the drawings. In this embodiment, a case in which the method of the present invention is applied to setting the origin position of a carriage of a typewriter will be explained.

キャリッジ1には印字を行うための活字ホイール、印字
ハンマ、インクリボン(以上図示せず)等が載置されて
いる。そのキャリッジ1は、プラテン(図示せず)と平
行に設けられたキャリッジガイド軸2の軸方向に往復移
動可能に取付けられており、そのキャリッジガイド軸2
は、タイプライタの外枠(図示せず)に固定されたシャ
ーシ3により、タイプライタの水平方向に固定されてい
る。そしてキャリッジ駆動用のステップモータ4は、キ
ャリッジガイド軸2の一端の上部に位置するようタイプ
ライタ内に固定され、ステップモータ4の駆動力はワイ
ヤーローブ5を介してキャリッジ1へ伝えられる。ワイ
ヤーローブ5は、ステップモータ4の駆動ギヤと噛合す
る中間ギヤ6aと一体形成された駆動プーリ6と、キャ
リッジガイド軸2の他端が固定されたシャーシ3に設け
られた従動プーリ7との間に巻きかけられている。
A type wheel, a printing hammer, an ink ribbon (not shown), etc. for printing are placed on the carriage 1. The carriage 1 is mounted so as to be able to reciprocate in the axial direction of a carriage guide shaft 2 provided parallel to a platen (not shown).
is fixed in the horizontal direction of the typewriter by a chassis 3 fixed to an outer frame (not shown) of the typewriter. A step motor 4 for driving the carriage is fixed within the typewriter so as to be located above one end of the carriage guide shaft 2, and the driving force of the step motor 4 is transmitted to the carriage 1 via a wire lobe 5. The wire lobe 5 is connected between a drive pulley 6 integrally formed with an intermediate gear 6a that meshes with the drive gear of the step motor 4, and a driven pulley 7 provided on the chassis 3 to which the other end of the carriage guide shaft 2 is fixed. wrapped around.

そしてキャリッジ1には、ワイヤーロー15の一部と結
合させるための止金8が設けられ、その止金8をねじ9
により締めることにより、ワイヤーローブ5の一部にキ
ャリッジ1が固定される。また、キャリッジ1上には、
タイプライタ上のキャリッジ1の原点位置を検出する検
出器であり、リーフスイッチにより構成されたスイッチ
10が設けられている。さらに、そのスイッチ10をO
Nさせる突起部11がプーリ7が取付けられたシャーシ
3に固定され、その位置はスイッチ10と対向している
。そして、キャリッジ1が、その突起部11が設けられ
た側のキャリッジガイド軸2の一端まで移動すると、ス
イッチ10は突起部11によりONされる。なお、スイ
ッチ10は、ネジ12によりキャリッジ1に止められて
おり、そのネジ12をゆるめてスイッチ10の位置を変
えることによりスイッチ10が突起部11にONされる
タイミングを調整することができる。
The carriage 1 is provided with a clasp 8 for coupling with a part of the wire row 15, and the clasp 8 is connected with a screw 9.
By tightening, the carriage 1 is fixed to a part of the wire lobe 5. Also, on carriage 1,
This is a detector for detecting the origin position of the carriage 1 on the typewriter, and is provided with a switch 10 constituted by a leaf switch. Furthermore, turn the switch 10 to
A protrusion 11 is fixed to the chassis 3 to which the pulley 7 is attached, and its position is opposite to the switch 10. When the carriage 1 moves to one end of the carriage guide shaft 2 on the side where the protrusion 11 is provided, the switch 10 is turned on by the protrusion 11. The switch 10 is fixed to the carriage 1 by a screw 12, and by loosening the screw 12 and changing the position of the switch 10, the timing at which the switch 10 is turned on by the protrusion 11 can be adjusted.

ここで第3図を用いて、本発明が実施されたステップモ
ータ4の励磁について説明する。
Here, excitation of the step motor 4 in which the present invention is implemented will be explained using FIG.

本発明のステップモータ4は、第3図に示されるように
A相とB相、B相とC相、C相とD相。
As shown in FIG. 3, the step motor 4 of the present invention has an A phase and a B phase, a B phase and a C phase, and a C phase and a D phase.

D相とA相の順に2相1組の励磁相が順次繰返し励磁さ
れる2−2相励磁力式で駆動される。(以下A相とB相
の2相−組の励磁相をA−B相と表し、他も同様とする
) このステップモータ4が、タイプライタに組付けられ、
そして、ステップモータ4のD−A相が励磁されたとき
にキャリッジ1がタイプライタ上の原点位置に位置する
ように設定されたとする。
It is driven by a 2-2 phase excitation force type in which a set of two excitation phases, D phase and A phase, are sequentially and repeatedly excited. (Hereinafter, the excitation phase set of two phases, A phase and B phase, will be referred to as A-B phase, and the same shall apply to the others.) This step motor 4 is assembled into a typewriter,
Assume that the carriage 1 is set to be located at the origin position on the typewriter when the D-A phase of the step motor 4 is excited.

この状態でタイプライタの電源がONされると、ステッ
プモータ4のコイルが予め決められた順序で順次励磁さ
れ、その回転が駆動プーリ6、ワイヤーローブ5を介し
てキャリッジ1に伝えられ、キャリッジ1が前記突起部
11の方へ移動し、突起部11により前記スイッチ10
がONされる。
When the typewriter is powered on in this state, the coils of the step motor 4 are sequentially excited in a predetermined order, and the rotation is transmitted to the carriage 1 via the drive pulley 6 and wire lobe 5. moves toward the protrusion 11, and the protrusion 11 causes the switch 10 to move toward the protrusion 11.
is turned on.

このときD−A相が励磁されていない場合には、次にD
−A相が励磁される位置までさらにステップモータ4が
回転され、スイッチ10がONされた後の最初のD−A
相が励磁された位置がステップモータ4及びキャリッジ
1の原点位置として設定される。また、スイッチ10が
ONされたとき、D−A相が励磁されていた場合には、
その位置がステップモータ4及びキャリッジ1の原点位
置として設定される。
If the D-A phase is not excited at this time, then
- The first D-A after the step motor 4 is further rotated to the position where the A phase is excited and the switch 10 is turned on.
The position where the phase is excited is set as the origin position of the step motor 4 and the carriage 1. Furthermore, if the D-A phase is excited when the switch 10 is turned on,
This position is set as the origin position of the step motor 4 and carriage 1.

このようにステップモータ4の原点位置がD−A相に設
定されているタイプライタにおいては、その原点位置に
対応したD−A相を含んだA−B相からD−A相までの
1サイクルを第3図に示した検出範囲Hとすると、検出
器であるスイッチ10と突起部11の設定位置は、その
検出範囲H内のB−C相か、C−D相が励磁されたとき
にスイッチ10がONするようにスイッチ10の設定位
置が調節される。これにより、スイッチ10の設定位置
か使用中に多少ずれたとしても、A−B相とD−A相が
その両側にあるため、スイッチ10のONするタイミン
グが検出範囲Hから外れにくくなる。このため、スイッ
チ10の設定位置がずれたとしても、ONするタイミン
グが検出範囲H内に納まっている限り、キャリッジ1の
原点位置は検出の範囲HのD−A相が励磁された所に定
められる。
In a typewriter in which the origin position of the step motor 4 is set to the D-A phase in this way, one cycle from the A-B phase to the D-A phase, including the D-A phase corresponding to the origin position. Assuming that the detection range H shown in FIG. The set position of the switch 10 is adjusted so that the switch 10 is turned on. As a result, even if the set position of the switch 10 is slightly shifted during use, the timing at which the switch 10 is turned on is unlikely to deviate from the detection range H because the A-B phase and the D-A phase are on both sides thereof. Therefore, even if the set position of the switch 10 deviates, as long as the ON timing is within the detection range H, the origin position of the carriage 1 is set at the location where the D-A phase of the detection range H is excited. It will be done.

CPU13には、タイプライタを制御するためのプログ
ラムを格納したROM14と、キャリッジ1を移動する
ステップモータ4と、キーボード15とキャリッジ1の
原点位置を検出するスイッチ10とが接続されている。
Connected to the CPU 13 are a ROM 14 storing a program for controlling the typewriter, a step motor 4 for moving the carriage 1, a keyboard 15 and a switch 10 for detecting the origin position of the carriage 1.

ざらにCPU13には、ステップモータ4のどの励磁相
が励磁されたかを表示する表示領域と、前記スイッチ1
0がキャリッジ1の所定位置を検出したかを表示する表
示領域とを有する表示部16が接続されている。
Roughly, the CPU 13 includes a display area that displays which excitation phase of the step motor 4 is excited, and a display area that displays which excitation phase of the step motor 4 is excited, and the switch 1.
A display section 16 having a display area for displaying whether or not a predetermined position of the carriage 1 has been detected is connected thereto.

またCPU13には、プログラムの実行中、経過時間を
測定するためのタイマーカウンタ17が備えられている
The CPU 13 is also equipped with a timer counter 17 for measuring elapsed time during program execution.

本発明の原点位置設定機能は、通常の使用時には使われ
ることはない。このためオペレータの操作ミスなどによ
り簡単にこの機能を操作するモード(以下このモードを
原点位置調整モードとする)へ切換えられないようにす
るため、この原点位置調整モードへ切換えるためのキー
操作はQキー19、 Wキー20 スペースキー21の
三つのキーが同時に押され、さらにBキー22が押され
たときにのみ、切換えられるように設定されている。
The origin position setting function of the present invention is not used during normal use. Therefore, in order to prevent the operator from easily switching to the mode for operating this function (hereinafter referred to as the origin position adjustment mode) due to an operator error, the key operation for switching to this origin position adjustment mode is Q. It is set to be switched only when three keys, ie, key 19, W key 20, and space key 21, are pressed at the same time and the B key 22 is also pressed.

そして原点位置調整モードでは、ステップモータ4を1
ステツプずつ駆動し、キャリッジ1を前記突起部の方へ
移動させるためのキーとして、スペースキー21が用い
られる。また逆方向へ1ステツプ移動させるキーとして
コレクションキー23が用いられている。
In the origin position adjustment mode, the step motor 4 is
The space key 21 is used as a key for driving step by step and moving the carriage 1 toward the protrusion. A correction key 23 is also used as a key for moving one step in the opposite direction.

また、ステップモータ4のどの励磁相が励磁されたかを
オペレータに知らせる表示部16には複数の表示LED
23〜26が設けられている。この表示LEDは通常の
使用時には、タイプライタに備えられた各種機能が実行
されたことをオペレータに知らせるために用いられるも
のである。しかし原点位置調整モードでは、各表示LE
D23〜26は、それぞれA−B相からD−A相に対応
しており、対応する励磁相が励磁されたときに点燈し、
オペレータがどの励磁相が励磁されたかを知ることがで
きるようになっている。また、スイッチ10が、前記突
起部11によりONされたときは、表示LED27が点
燈し、オペレータは、スイッチ10がONしたことを知
ることができる。
In addition, a plurality of display LEDs are provided in the display unit 16 to inform the operator which excitation phase of the step motor 4 is excited.
23 to 26 are provided. During normal use, this indicator LED is used to notify the operator that various functions provided on the typewriter have been executed. However, in the origin position adjustment mode, each display LE
D23 to D26 correspond to the A-B phase to the D-A phase, respectively, and light up when the corresponding excitation phase is excited.
It is possible for the operator to know which excitation phase is energized. Furthermore, when the switch 10 is turned on by the projection 11, the display LED 27 lights up, allowing the operator to know that the switch 10 has been turned on.

以上のように構成された本発明のタイプライタのキャリ
ッジ1の原点位置設定方法について、以下に、第6図と
第7図のフローチャートを用いて説明する。
A method for setting the origin position of the carriage 1 of the typewriter of the present invention constructed as described above will be described below with reference to the flowcharts of FIGS. 6 and 7.

まず、タイプライタを作動させる電源が投入されたとき
、ステップSl(以下、ステップS1を81の様に書く
。)においてキーボード6上のQキー19とWキー20
とスペースキー21が同時に操作されたか否かが判断さ
れる。ここで以上の三つのキーが操作されていないと判
断されると、S2においてキャリッジ1が突起部11の
方へ移動される。そしてスイッチ10が、突起部11に
よりONされると、CD相が励磁される位置までステッ
プモータ4が回転し、そのCD相がモータ制御の原点位
置に定められる。S3では、この原点位置に基づいた通
常のモータ駆動制御が行われる。
First, when the power to operate the typewriter is turned on, in step S1 (hereinafter, step S1 is written as 81), the Q key 19 and W key 20 on the keyboard 6 are pressed.
It is determined whether or not the space key 21 and the space key 21 are operated at the same time. If it is determined that the above three keys have not been operated, the carriage 1 is moved toward the protrusion 11 in S2. When the switch 10 is turned on by the projection 11, the step motor 4 rotates to a position where the CD phase is excited, and the CD phase is set as the origin position of motor control. In S3, normal motor drive control is performed based on this origin position.

また、SlにおいてQキー19とWキー20とスペース
キー21が同時に操作されたと判断されると、S4へ移
行する。S4では、CPUIB内に内蔵されたタイマカ
ウンタ17がセットされカウントを開始する。S5では
、Bキー22が操作されたかが判断され、ここでBキー
22が操作されていないと判断されると、S6において
タイマカウンタ17がカウントし始めてから3秒経過し
たかが判断される。ここで3秒経過したと判断されたな
ら、S2へ移行しタイプライタの通常使用モードにモー
ド変換される。またS6で3秒経過していないと判断さ
れると85へ戻り、この動作を繰返す。そして、S5で
Bキー22が操作されたと判断されると、S7へ移行し
ステップモータ4のA−B相が励磁される。このとき、
表示部16ではA−B相に対応する表示LED23が点
燈される。そして、S8において、タイプライタのモー
ドは、原点位置調整モードに設定された状態となり、ス
テップモータ4を1ステツプずつ駆動させる原点位置調
整ルーチンへ移行する。
Further, if it is determined that the Q key 19, W key 20, and space key 21 are operated at the same time in Sl, the process moves to S4. In S4, the timer counter 17 built in the CPUIB is set and starts counting. In S5, it is determined whether the B key 22 has been operated, and if it is determined that the B key 22 has not been operated, it is determined in S6 whether three seconds have elapsed since the timer counter 17 started counting. If it is determined that three seconds have elapsed, the process moves to S2 and the mode is converted to the normal use mode of the typewriter. If it is determined in S6 that 3 seconds have not elapsed, the process returns to 85 and this operation is repeated. If it is determined in S5 that the B key 22 has been operated, the process moves to S7 and the A-B phase of the step motor 4 is excited. At this time,
In the display section 16, the display LED 23 corresponding to the A-B phase is lit. Then, in S8, the mode of the typewriter is set to the origin position adjustment mode, and the process proceeds to an origin position adjustment routine in which the step motor 4 is driven one step at a time.

第7図はこの原点位置調整ルーチンを示したフローチャ
ートである。
FIG. 7 is a flowchart showing this origin position adjustment routine.

まずS9でキー人力を待ち、ここでキーが操作されると
、S10へ移行する。SIOにおいては、その操作され
たキーがスペースキー21であるかが判断される。ここ
でスペースキー21が操作されたと判断されたなら、S
llへ移行する。S11では、キャリッジ1を突起部1
1の方へ移動させるようにステップモータ4を1ステツ
プ駆動し、S14へ移行する。またSIOにおいてスペ
ースキー21が操作されていないと判断されるとS12
へ移行する。S12においては操作されたキーかコレク
ションキー23であるかが判断される。
First, in S9, a key input is waited for, and when a key is operated here, the process moves to S10. In SIO, it is determined whether the operated key is the space key 21 or not. If it is determined that the space key 21 has been operated, S
Move to ll. In S11, the carriage 1 is moved to the protrusion 1.
The step motor 4 is driven one step so as to move the step toward step 1, and the process moves to S14. Also, if it is determined in SIO that the space key 21 is not operated, S12
Move to. In S12, it is determined whether it is the operated key or the collection key 23.

ここでコレクションキー23が操作されていないと判断
されると89へ戻る。またコレクションキー23が操作
されたと判断されると313へ移行し、突起部11へ向
かう方向とは逆方向へ移動するようにステップモータ4
を1ステツプ駆動する。
If it is determined that the correction key 23 has not been operated, the process returns to 89. Further, when it is determined that the correction key 23 has been operated, the process moves to step 313, and the step motor 4 is moved in the opposite direction to the direction toward the protrusion 11.
Drive one step.

そしてS14においてその励磁相に対応する表示LED
が点燈される。次に815へ移行すると、スイッチ10
が突起部11に当たりONされたか否かが判断される。
Then, in S14, the display LED corresponding to the excitation phase is
is lit. Next, when moving to 815, switch 10
It is determined whether or not it has hit the protrusion 11 and turned on.

ここでスイッチ10がONされていないと判断されると
89へ戻り、ここでスイッチ10がONされたと判断さ
れるまで、以上の動作が繰返される。そしてS15でス
イッチ10がONされたと判断されるとS16へ移行し
、スイッチ10が突起部11に当たったことを知らせる
表示LED27が点燈される。
If it is determined that the switch 10 is not turned on, the process returns to 89, and the above operations are repeated until it is determined that the switch 10 is turned on. When it is determined in S15 that the switch 10 has been turned on, the process moves to S16, and the display LED 27 that indicates that the switch 10 has hit the protrusion 11 is lit.

そこで本発明の原点位置調整法であるがステップモータ
4は、前述したように、B−C相またはC−D相が励磁
されたとき、スイッチ10がONされることが望ましい
ので、B−C相またはC−D相が励磁されたときにスイ
ッチ10がONされるように調整される。このために、
まずスペースキー21を操作し、キャリッジ1を突起部
11の方へ移動させ、D−A相が励磁されたときにキャ
リッジ1が原点位置に位置することを確かめる。
Therefore, in the origin position adjustment method of the present invention, it is desirable that the switch 10 of the step motor 4 is turned on when the B-C phase or the C-D phase is excited, as described above. The switch 10 is adjusted so that it is turned on when the phase or C-D phase is excited. For this,
First, operate the space key 21 to move the carriage 1 toward the protrusion 11, and confirm that the carriage 1 is located at the origin position when the D-A phase is excited.

もし、ここでキャリッジ1が原点位置に位置していない
ときは、キャリッジ1のワイヤーローブ5に固定した位
置を調整し、キャリッジ1が原点位置にくるように設定
する。
If the carriage 1 is not located at the original position, the position fixed to the wire lobe 5 of the carriage 1 is adjusted so that the carriage 1 is located at the original position.

次に、コレクションキー23を操作し、B−C相または
C−D相が励磁されるまで逆方向にキャリッジ1を移動
させる。そしてこの位置で、スイッチ10が突起部11
によりONされるようにスイッチ10の設定位置を調整
する。スイッチ10は、キャリッジ1上にネジ12によ
り調整可能に止められているので、そのネジ12をゆる
めスイッチ10の設定位置を変えることにより簡単にそ
の位置が調整されようになっている。また、調整が正確
に行われたことを確かめるためにキャリッジ1を逆方向
へ所定量移動させ、再びキャリッジ1を突起部11の方
へスイッチ10がONされるまで移動させる。そしてス
イッチ10が突起部11に当たりONしたとき、前述し
たように表示しED24または25が点燈すれば、原点
位置の調整は完了する。なお、原点位置調整モードは電
源が切られると解除されるようになっている。
Next, the correction key 23 is operated to move the carriage 1 in the opposite direction until the B-C phase or the CD phase is excited. In this position, the switch 10 is connected to the protrusion 11.
Adjust the setting position of the switch 10 so that it is turned on. Since the switch 10 is adjustable and fixed on the carriage 1 by a screw 12, its position can be easily adjusted by loosening the screw 12 and changing the setting position of the switch 10. Further, in order to confirm that the adjustment has been performed accurately, the carriage 1 is moved in the opposite direction by a predetermined amount, and then the carriage 1 is moved again toward the protrusion 11 until the switch 10 is turned on. When the switch 10 hits the protrusion 11 and turns on, the display as described above is displayed and the ED 24 or 25 lights up, completing the adjustment of the origin position. Note that the origin position adjustment mode is canceled when the power is turned off.

[発明の効果] 以上詳述したことから明らかなように本発明の原点位置
設定方法によれば、被駆動部の原点位置またはその付近
を検出する検出器の設定位置を正確に設定できる。この
ため、その検出器により決定される被駆動部の原点位置
は正確に定められるようになる。また、本発明の原点位
置設定方法では、検出器の設定位置を調整する調整手段
が、対象となる装置内に内蔵されたとき、モード変換な
どによる簡単な操作により原点位置を調整する状態に設
定可能となる。このため調整に必要な特別な装置を用い
ることなく、その調整を容易にするこができる。
[Effects of the Invention] As is clear from the detailed description above, according to the origin position setting method of the present invention, it is possible to accurately set the setting position of the detector that detects the origin position of the driven part or the vicinity thereof. Therefore, the origin position of the driven part determined by the detector can be determined accurately. In addition, in the origin position setting method of the present invention, when the adjustment means for adjusting the set position of the detector is built into the target device, the origin position is set to be adjusted by simple operations such as mode conversion. It becomes possible. Therefore, the adjustment can be made easily without using any special equipment required for the adjustment.

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

第1図から第7図までは本発明を具体化した実施例を示
すもので、第1図はキャリッジ駆動機構の概要を示す要
部斜視図、第2図はキャリッジ駆動機構の要部平面図、
第3図はステップモータの励磁方法を説明するための説
明図、第4図はタイプライタの構成を示すブロック図、
第5図はタイプライタのキーボード部を表す平面図、第
6図と第7図は本発明のタイプライタの動作を説明する
ためのフローチャートである。 図中、1はキャリッジ、4はステップモータ、10はス
イッチ、11は突起部、15はキーボード、16は表示
部である。
1 to 7 show embodiments embodying the present invention. FIG. 1 is a perspective view of the main parts showing an outline of the carriage drive mechanism, and FIG. 2 is a plan view of the main parts of the carriage drive mechanism. ,
Fig. 3 is an explanatory diagram for explaining the excitation method of the step motor, Fig. 4 is a block diagram showing the structure of the typewriter,
FIG. 5 is a plan view showing the keyboard portion of the typewriter, and FIGS. 6 and 7 are flow charts for explaining the operation of the typewriter of the present invention. In the figure, 1 is a carriage, 4 is a step motor, 10 is a switch, 11 is a projection, 15 is a keyboard, and 16 is a display section.

Claims (1)

【特許請求の範囲】 1、ステップモータと、そのステップモータの回転によ
り駆動される被駆動部と、その被駆動部が所定位置に位
置したことを検出する検出手段とを有した電子機器の被
駆動部の原点位置設定方法において、 前記ステップモータの所定の励磁相を励磁する励磁手段
と、 前記ステップモータの励磁されている励磁相を表示する
表示部とを備え、 前記励磁手段により所定の励磁相が励磁されたとき、前
記被駆動部が所定位置に位置するように被駆動部と検出
手段の相対位置を設定することを特徴とする原点位置設
定方法。
[Claims] 1. An electronic device comprising a step motor, a driven part driven by the rotation of the step motor, and a detection means for detecting that the driven part is located at a predetermined position. A method for setting an origin position of a drive unit, comprising: excitation means for exciting a predetermined excitation phase of the step motor; and a display section for displaying an excited excitation phase of the step motor; A method for setting an origin position, comprising setting the relative position of the driven part and the detection means so that the driven part is located at a predetermined position when a phase is excited.
JP29313688A 1988-11-18 1988-11-18 Origin position setting Pending JPH02137964A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29313688A JPH02137964A (en) 1988-11-18 1988-11-18 Origin position setting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29313688A JPH02137964A (en) 1988-11-18 1988-11-18 Origin position setting

Publications (1)

Publication Number Publication Date
JPH02137964A true JPH02137964A (en) 1990-05-28

Family

ID=17790885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29313688A Pending JPH02137964A (en) 1988-11-18 1988-11-18 Origin position setting

Country Status (1)

Country Link
JP (1) JPH02137964A (en)

Similar Documents

Publication Publication Date Title
JP2593930Y2 (en) Bicycle display device
JP2003082611A (en) Compaction controller in vibrating compaction car
EP1533090A2 (en) Multifunction punch apparatus
JPH02137964A (en) Origin position setting
WO1998004416A1 (en) Drive mechanism for stepping motor in printer
EP1844933A1 (en) Adjusting method and apparatus of ink fountain blade home position of printing press
JP4741214B2 (en) Operating parameter setting device
JP2000218561A (en) Torque ensured tightening device
JPS59182773A (en) Ribbon selector for printer
JP2769893B2 (en) Recording device
JPS58219079A (en) Home position setting system for carriage in serial printer
JPH0744974Y2 (en) Needle type display device
JPS61286173A (en) Original point setter for type wheel
JPH078227Y2 (en) Typewriter
JP3078405B2 (en) Color shift home position position detection method
JPS63180864U (en)
JP2003088929A (en) Electric bending tool
JP2003252080A (en) Vehicle display device
JPH026168A (en) Printer
JP2647369B2 (en) Output device
KR100205881B1 (en) Method for the memory of seat setting situation
JP3306652B2 (en) Printer device
JPS6351165A (en) Printer
JPS63231968A (en) Drive control of reciprocating travel body
JP2603610Y2 (en) Transmission operation device position detection device