JPH07106658B2 - Printing start positioning method of print head in serial printer - Google Patents

Printing start positioning method of print head in serial printer

Info

Publication number
JPH07106658B2
JPH07106658B2 JP63261864A JP26186488A JPH07106658B2 JP H07106658 B2 JPH07106658 B2 JP H07106658B2 JP 63261864 A JP63261864 A JP 63261864A JP 26186488 A JP26186488 A JP 26186488A JP H07106658 B2 JPH07106658 B2 JP H07106658B2
Authority
JP
Japan
Prior art keywords
spacing
stopper
carriage
rotation
motor
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.)
Expired - Lifetime
Application number
JP63261864A
Other languages
Japanese (ja)
Other versions
JPH02107472A (en
Inventor
良光 松井
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP63261864A priority Critical patent/JPH07106658B2/en
Publication of JPH02107472A publication Critical patent/JPH02107472A/en
Publication of JPH07106658B2 publication Critical patent/JPH07106658B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は1文字づつ印字する、所謂シリアルプリンタの
第1文字の印字位置を定める方法に関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to a method of printing a character by character, that is, a method of determining a printing position of a first character of a so-called serial printer.

〈従来の技術〉 シリアルプリンタにおいて、第1の印字開始位置を定め
る手段としては例えば光学式読取センサによってキャリ
ッジの位置を検出するもの及びサーボモータによってキ
ャリッジのスペーシング量を設定して印字位置を定める
もの等がある。
<Prior Art> In a serial printer, as a means for determining the first print start position, for example, a means for detecting the position of the carriage by an optical reading sensor and a servo motor to set the spacing amount of the carriage to determine the print position. There are things.

第4図は光学式読取センサを用いた位置決め機構の概略
構成図である。印字ヘッド20はキャリッジ21を介してス
ペーシング軸22に沿ってスペーシング経路rの左右に移
動する。スペーシング経路rの左端(右端を基準とする
場合は右端)には、例えば発光ダイオードと受光トラン
ジスタから成る光学式読取センサ23が設けられている。
このセンサ23は論理上の原点位置、すなわち物理上の第
1文字の印字位置Pに対応して設置される。換言すれば
印字ヘッド20がキャリッジ21の移動によりスペーシング
してセンサ23によりその位置が読取られると、印字ヘッ
ド20は第1文字の印字位置Pに対応して設定されること
になる。
FIG. 4 is a schematic configuration diagram of a positioning mechanism using an optical reading sensor. The print head 20 moves to the left and right of the spacing path r along the spacing shaft 22 via the carriage 21. An optical reading sensor 23 including, for example, a light emitting diode and a light receiving transistor is provided at the left end of the spacing path r (the right end when the right end is a reference).
The sensor 23 is installed corresponding to the logical origin position, that is, the physical print position P of the first character. In other words, when the print head 20 is spaced by the movement of the carriage 21 and its position is read by the sensor 23, the print head 20 is set in correspondence with the print position P of the first character.

上記位置決め機構において、第5図のフローチャートで
示す如く、キャリッジ21の移動によってセンサ23がON若
しはOFFし(Sa)、既にONしていた場合にキャリッジ21
を逆方向に移動させてセンサ23によるON状態を解除し
(Sb)、OFFの位置まで移動させた後(Sc)、再びセン
サ23に向けて移動させる(Sd)。そしてセンサ23がONし
た状態において(Se)、第1文字の印字位置Pに対応し
て設定される。
In the above positioning mechanism, as shown in the flowchart of FIG. 5, the movement of the carriage 21 turns the sensor 23 ON or OFF (Sa).
Is reversely moved to release the ON state by the sensor 23 (Sb), moved to the OFF position (Sc), and again moved to the sensor 23 (Sd). Then, when the sensor 23 is turned on (Se), it is set corresponding to the print position P of the first character.

一方サーボモータによる場合は、スペーシングモータの
回転とキャリッジのスペーシング量とを対応させて第1
文字の印字位置を定めるものである。第6図は当該従来
例の位置決め機構を示す概略構成図であり、第7図は同
印字位置決定のフローチャートを示す。すなわちスペー
シングモータの回転軸に取付けたタイミングスリット等
によってキャリッジ移動の変化をフィードバックさせな
がら、印字ヘッドのスペーシング速度やスペーシング量
を設定制御するものである。図例の如く、先ず印字ヘッ
ド30を搭載したキャリッジ31をスペーシング軸32に沿っ
て移動させストッパ33に当接させる。これによりストッ
パ33と相対的に定められている第1文字印字位置Pに印
字ヘッド30を対応して設定できる。そしてストッパ33方
向にキャリッジ31をスペーシングし(Sf)、当該キャリ
ッジ31がストッパ33に当接した状態になると、タイミン
グスリット等からは移動の変化を示す信号変化がフィー
ドバックされない(Sg)。この信号変化のフィードバッ
クがなくなることにより印字ヘッド30が第1文字印字位
置Pに設定されたことになり、次いで印字動作が開始さ
れる。
On the other hand, when the servo motor is used, the rotation of the spacing motor and the spacing amount of the carriage are made to correspond to each other.
It determines the printing position of characters. FIG. 6 is a schematic configuration diagram showing the positioning mechanism of the conventional example, and FIG. 7 shows a flowchart for determining the printing position. That is, the spacing speed and spacing amount of the print head are set and controlled while feeding back the change in carriage movement through a timing slit or the like attached to the rotating shaft of the spacing motor. As shown in the figure, first, the carriage 31 having the print head 30 mounted thereon is moved along the spacing shaft 32 and brought into contact with the stopper 33. As a result, the print head 30 can be set correspondingly to the first character print position P that is defined relatively to the stopper 33. Then, the carriage 31 is spaced in the direction of the stopper 33 (Sf), and when the carriage 31 comes into contact with the stopper 33, the signal change indicating the change in movement is not fed back from the timing slit or the like (Sg). Since the feedback of this signal change is eliminated, the print head 30 is set to the first character print position P, and the print operation is then started.

又上記の如く、タイミングスリット等から変化のフィー
ドバック有無を検出せず、スペーシング量を最大にして
物理上の左端若しくは右端を検出する容易な方法もあ
る。
As described above, there is also an easy method of detecting the physical left end or right end by maximizing the spacing amount without detecting the presence or absence of change feedback from the timing slit or the like.

〈発明が解決しようとする課題〉 上述した位置決め手段のうち、光学式読取センサを用い
た場合は、原点位置決めのセンサとして、例えば発光ダ
イオードと受光トランジスタを使用する為、塵埃や油等
の付着によって受光トランジスタの出力が低下し、極端
な場合には出力が得られなくなることも起こり得る。又
スペーシングの空間、特にキャリッジとセンサ間にピン
等の異物が落下してもこれを検出できず、この異物の混
入がキャリッジのスペーシング動作をロックし、印字ヘ
ッドを所定の第1文字印字位置に設定させることができ
ない等の問題を生じる。しかも光学式読取センサとして
発光ダイオード及び受光トランジスタを使用するには、
他の補助部品例えば増幅器等が必要となり、コスト低減
の観点からも不都合であった。
<Problems to be Solved by the Invention> Among the above-mentioned positioning means, when an optical reading sensor is used, for example, since a light emitting diode and a light receiving transistor are used as a sensor for origin positioning, dust or oil adheres to the sensor. It is also possible that the output of the light-receiving transistor is reduced, and in an extreme case, no output is obtained. In addition, even if a foreign substance such as a pin falls between the spacing space, especially between the carriage and the sensor, it cannot be detected. The mixing of this foreign substance locks the spacing operation of the carriage, and the print head prints a predetermined first character. There arises a problem that the position cannot be set. Moreover, in order to use the light emitting diode and the light receiving transistor as the optical reading sensor,
Other auxiliary parts such as an amplifier are required, which is inconvenient from the viewpoint of cost reduction.

一方サーボモータを用いた場合においても、前記同様に
スペーシング空間内にピン等の異物が混入すれば、これ
を検出できず、しかもこれによりキャリッジのスペーシ
ング動作が阻害され、印字ヘッドを第1文字印字位置に
設定することができない等、何れも多くの問題を呈して
いる。
On the other hand, even when the servo motor is used, if foreign matter such as pins is mixed in the spacing space as described above, the foreign matter cannot be detected, and the spacing operation of the carriage is hindered by the foreign matter. All of them present many problems, such as the inability to set the character print position.

〈課題を解決するための手段〉 本願発明は、印字ヘッドを搭載したキャリッジのスペー
シング量とスペーシングモータの回転数とを対応させ、
該スペーシングモータの回転数をエンコードセンサを介
してエンコーダにて検出するとともに、位置信号として
出力し、該位置信号を波形整形器にてキャリッジの移動
方向を指示するパルス信号に変換せしめ、該パルス信号
をサーボドライバとカウンタとに出力し、該カウンタで
のカウント計数によりμCPUでスペーシング量を算出し
かつサーボドライバを介してスペーシングモータを回転
制御するものにおいて、スペーシング経路の端部に第1
文字印字位置に対応した第1のストッパを設け、該端部
の経路と反対側でかつ前記第1のストッパに対して一定
の距離に第2のストッパを設け、印字ヘッドによる第1
文字の印字開始に先立って、キャリッジを前記第2のス
トッパに向けて移動させるべく、前記スペーシングモー
タに対し前記エンコーダの回転によるスペーシング量に
変化がなくなるまで回転指示が与えられ、前記エンコー
ダの回転によるスペーシング量の変化がなくならず該エ
ンコーダの回転がメモリ内に予め格納されたカウンタ計
数を超えた場合に、前記スペーシングモータへの回転指
示は停止されるとともに警告の表示がなされ、次いで前
記スペーシング量に変化がなくなったときに前記スペー
シングモータの回転を逆転し、該キャリッジを前記第1
のストッパに向け、前記第2のストッパと該第1のスト
ッパがなす一定距離だけ移動させ、前記エンコーダの回
転によるスペーシング量に変化がなくなるまで前記スペ
ーシングモータに回転指示が与えられ、前記スペーシン
グ量に変化がなくなったときに該スペーシング量の変化
と前記ストッパ間の一定距離とを演算比較して略一致す
れば印字ヘッドを駆動して印字を開始し、略一致しない
ときは前記スペシングモータの回転を停止させるととも
に、警告表示を行うことを特徴とするシリアルプリンタ
における印字ヘッドの印字開始位置決め方法に関するも
のである。
<Means for Solving the Problems> The present invention makes the spacing amount of a carriage having a print head correspond to the rotation number of a spacing motor,
The rotation speed of the spacing motor is detected by an encoder via an encode sensor and is output as a position signal, and the position signal is converted into a pulse signal for instructing the moving direction of the carriage by a waveform shaper, and the pulse is output. A signal is output to the servo driver and a counter, the spacing amount is calculated by the μCPU based on the counts by the counter, and the spacing motor is rotationally controlled via the servo driver. 1
A first stopper corresponding to the character printing position is provided, and a second stopper is provided on the opposite side of the path of the end portion and at a constant distance from the first stopper, and the first head by the print head is provided.
Prior to the start of printing characters, in order to move the carriage toward the second stopper, a rotation instruction is given to the spacing motor until there is no change in the spacing amount due to the rotation of the encoder, and the encoder is rotated. When there is no change in the spacing amount due to rotation and the rotation of the encoder exceeds the counter count stored in advance in the memory, the rotation instruction to the spacing motor is stopped and a warning is displayed. Then, when there is no change in the spacing amount, the rotation of the spacing motor is reversed to move the carriage to the first position.
The second motor and the first stopper are moved by a certain distance toward the stopper, and a rotation instruction is given to the spacing motor until the spacing amount does not change due to the rotation of the encoder. When there is no change in the pacing amount, the change in the spacing amount and the constant distance between the stoppers are calculated and compared. If they are substantially the same, the print head is driven to start printing. The present invention relates to a printing start positioning method for a print head in a serial printer, which is characterized by stopping rotation of a single motor and displaying a warning.

〈作用〉 第1文字の印字開始に先立って、先ずキャリッジを第2
のストッパに向けて移動させる。そして当該キャリッジ
と第2のストッパとの当接状態が確認される。この際キ
ャリッジと第2のストッパ間に異物が混入されていれ
ば、キャリッジの移動は停止し、警告が表示され異物の
取除きが可能となる。又キャリッジが第1のストッパに
対して所定の距離を移動すれば当接状態が確認される。
更に上記当接状態が確認された後、キャリッジを第1の
ストッパに向けて一定の距離だけ移動させる。この時第
1のストッパとキャリッジの成すスペーシング空間にも
異物の混入等があればキャリッジの移動はなくかつ警告
が表示されるので異物を取り除ける。そしてキャリッジ
と第1のストッパとの当接状態は確認される。しかも第
2のストッパから予め定められた一定の距離に位置する
第1のストッパに当接したことも確認されるので、該第
1のストッパに対応した第1文字印字位置に対してキャ
リッジ上の印字ヘッドが正確に対応して設定される。
<Operation> Prior to starting the printing of the first character, first move the carriage to the second position.
Move toward the stopper. Then, the contact state between the carriage and the second stopper is confirmed. At this time, if foreign matter is mixed between the carriage and the second stopper, the movement of the carriage is stopped, a warning is displayed, and the foreign matter can be removed. If the carriage moves a predetermined distance with respect to the first stopper, the contact state is confirmed.
Further, after the contact state is confirmed, the carriage is moved toward the first stopper by a certain distance. At this time, if foreign matter is mixed in the spacing space formed by the first stopper and the carriage, the carriage is not moved and a warning is displayed, so that the foreign matter can be removed. Then, the contact state between the carriage and the first stopper is confirmed. Moreover, since it is confirmed that the first stopper located at a predetermined constant distance from the second stopper is contacted, the carriage on the carriage with respect to the first character printing position corresponding to the first stopper. The print heads are set up exactly.

従って印字が開始される直前のキャリッジ全経路を一度
にチェックできるので、印字直前での障害物混入防止効
果は大きい。
Therefore, the entire path of the carriage can be checked at once just before printing is started, and the effect of preventing obstacles from entering immediately before printing is great.

〈実施例〉 以下本発明の印字開始位置決め方法を図面に基づき詳細
に説明する。
<Example> A printing start positioning method of the present invention will be described in detail below with reference to the drawings.

第1図は、本発明における位置決め機構の概略構成図で
ある。図例において1はキャリッジで、このキャリッジ
1上に印字ヘッド2が搭載されている。又当該キャリッ
ジ1はプーリ3,4間に張架された駆動ベルト5により、
図示しないスペーシング軸に沿ってスペーシング空間R
の左右を移動する。一方のプーリ4にはスペーシグモー
タMの回転軸が接続されており、回転軸に取付けたエン
コーダ6のタイミングスリット6a,6b,6c…をエンコード
センサ61によって検出し、スペーシングモータMの回転
と対応したキャリッジ1の移動量及びその変化が読取ら
れる。又、スペーシング経路の例えば左端部には第1の
ストッパ7が設けられ、更にスペーシング経路の左端部
と反対側の右端部で、しかも第1のストッパに対して一
定の距離Aには第2のストッパ8が設けられている。
FIG. 1 is a schematic configuration diagram of a positioning mechanism in the present invention. In the illustrated example, reference numeral 1 denotes a carriage on which a print head 2 is mounted. Further, the carriage 1 is driven by a drive belt 5 stretched between pulleys 3 and 4,
A spacing space R along a spacing axis (not shown)
Move left and right. The rotating shaft of the spacing motor M is connected to one of the pulleys 4, and the timing slits 6a, 6b, 6c of the encoder 6 attached to the rotating shaft are detected by the encode sensor 61, and the rotation of the spacing motor M is detected. The corresponding movement amount of the carriage 1 and its change are read. Further, a first stopper 7 is provided, for example, at the left end of the spacing path, and further at the right end opposite to the left end of the spacing path, and at a certain distance A from the first stopper. Two stoppers 8 are provided.

第2図は位置決めの制御ブロック図である。すなわちμ
CPU10からの制御信号によってサーボドライバ11から駆
動信号が出され、スペーシングモータMがこの信号によ
り回転する。するとエンコードセンサ61を介して位置信
号φA,φBが波形整形器12に出力される。この波形整形
器12において上記位置信号φA,φBは夫々キャリッジ1
の左右移動方向を指示するパルス信号に変換される。こ
のパルス信号は速度制御の為に再びサーボドライバ11に
出力され、更にカウンタ13に出力される。該カウンタ13
でのカウント計数によりμCPUではキャリッジ1の移動
量(スペーシング量)の算出,スペーシング方向の切換
・停止、更にメモリ14内に予め格納されたカウンタ計数
により後述する異常検出処理等を行う。次に第1図,第
2図及び第3図のフローチャートに基づき本発明の印字
開始位置決め方法を説明する。
FIG. 2 is a control block diagram of positioning. Ie μ
A drive signal is output from the servo driver 11 according to a control signal from the CPU 10, and the spacing motor M is rotated by this signal. Then, the position signals φA and φB are output to the waveform shaper 12 via the encode sensor 61. In the waveform shaper 12, the position signals φA and φB are output to the carriage 1 respectively.
Is converted into a pulse signal that indicates the left-right movement direction of the. This pulse signal is output to the servo driver 11 again for speed control, and is further output to the counter 13. The counter 13
The CPU counts the amount of movement (spacing amount) of the carriage 1, switches / stops the spacing direction, and counts the counter stored in the memory 14 to perform an abnormality detection process, which will be described later. Next, the print start positioning method of the present invention will be described with reference to the flowcharts of FIGS. 1, 2, and 3.

通常電源投入時やスペーシング異常直後等では第1文字
の印字開始時にキャリッジ1がスペーシング空間Rのど
この位置にあるか不明である。その為μCPU10はサーボ
ドライバ11に対し、キャリッジ1を第2のストッパ8に
向けて移動させる様にスペーシングモータMの回転指示
を出力する。スペーシングモータMが上記の指示により
回転すると、駆動ベルト5によりキャリッジ1はX矢視
方向に移動する(S1)。上記スペーシングモータMの回
転に伴ないエンコーダ6におけるタイミングスリット6
a,6b,6c…の変位がエンコードセンサ61によって検出さ
れる。そして上述した如くμCPU10において、上記キャ
リッジ1の移動変化のフィードバック有無が検出される
(S2)。すなわちキャリッジ1が第2のストッパ8に当
接した状態では、エンコーダ6では移動量の変化はな
く、よって該移動量の変化はフィードバックされない。
この様に変化のフィードバックがなくなるまで、換言す
ればキャリッジ1が第2のストッパ8に正確に当接する
までμCPU10による回転指示の出力が繰返される(S3−S
4−S1−S2−S3)。
It is not known where the carriage 1 is located in the spacing space R when the first character starts to be printed, such as when the power is turned on or immediately after the spacing abnormality. Therefore, the μCPU 10 outputs a rotation instruction of the spacing motor M to the servo driver 11 so as to move the carriage 1 toward the second stopper 8. When the spacing motor M rotates according to the above instruction, the drive belt 5 moves the carriage 1 in the direction of the arrow X (S1). The timing slit 6 in the encoder 6 accompanying the rotation of the spacing motor M
The displacements of a, 6b, 6c ... Are detected by the encode sensor 61. Then, as described above, the presence or absence of feedback of the movement change of the carriage 1 is detected in the μCPU 10 (S2). That is, when the carriage 1 is in contact with the second stopper 8, the movement amount of the encoder 6 does not change, and thus the change of the movement amount is not fed back.
In this way, the output of the rotation instruction by the μCPU 10 is repeated until the feedback of the change disappears, in other words, the carriage 1 accurately contacts the second stopper 8 (S3-S).
4-S1-S2-S3).

尚上記回転指示が無限に繰返される場合は、キャリッジ
1と第2のストッパ8との間に異物等が介在するもので
あり、この場合メモリ14に格納されたカウンタ計数と上
記の回転数とを対比させて超えた場合に停止・警告指示
を出力し、スペーシングモータMの動作を停止し、かつ
アラーム等の警告表示を行う。
When the rotation instruction is repeated indefinitely, a foreign substance or the like is present between the carriage 1 and the second stopper 8. In this case, the counter count stored in the memory 14 and the rotation number are When exceeding the contrast, a stop / warning instruction is output, the operation of the spacing motor M is stopped, and a warning display such as an alarm is displayed.

上述の如くキャリッジ1と第2のストッパ8との当接状
態が確認され、すなわちエンコーダ6による変化のフィ
ードバックがなくなると、スペーシングモータMを第1
のストッパ7方向、すなわちY矢視方向に向けて移動さ
せる様、μCPU10はサーボドライバ11に回動指示の出力
をする(S5)。そして前記同様にエンコーダ6による変
化のフィードバックがなくなるまで、回転指示を繰返
す。この際他の初期化処理によって予めクリアされてい
たメモリ14のフィードバックのカウンタ計数を更新する
(S6−S7−S8−S5−S6−S7)。キャリッジ1が第2のス
トッパ8から第1のストッパ7までスペーシング動作を
行うに際し、そのスペーシング距離は予め設定された一
定の距離Aであり、厳密に計量すればこの距離Aに設計
上の許容誤差を加えた値である。
When the contact state between the carriage 1 and the second stopper 8 is confirmed as described above, that is, when the feedback of the change by the encoder 6 disappears, the spacing motor M is set to the first position.
The μCPU 10 outputs a rotation instruction to the servo driver 11 so as to move it toward the stopper 7 direction, that is, in the direction of the arrow Y (S5). Then, similarly to the above, the rotation instruction is repeated until there is no feedback of the change by the encoder 6. At this time, the feedback counter count of the memory 14 that has been cleared in advance by another initialization process is updated (S6-S7-S8-S5-S6-S7). When the carriage 1 performs the spacing operation from the second stopper 8 to the first stopper 7, the spacing distance is a preset constant distance A, and if the distance is strictly measured, this distance A is designed. It is a value to which a tolerance is added.

よってエンコーダ6による変化のフィードバックがなく
なった時、メモリ14のフィードバック量のカウンタ計数
の総計と上記距離A(設計上の許容誤差を含む)とを比
較し(S9)、略一致するのであればキャリッジ1は、第
1のストッパ7に正確に当接したことが確認されて印字
ヘッド2が第1文字の印字開始位置に正しく対応して設
定されたことになる。
Therefore, when the feedback of the change by the encoder 6 is eliminated, the total counter count of the feedback amount of the memory 14 is compared with the distance A (including the design tolerance) (S9), and if they are substantially the same, the carriage is compared. 1 indicates that the first head 7 is accurately brought into contact with the first head 7, and the print head 2 is correctly set to the print start position of the first character.

一致しない場合は、第1のストッパ7とキャリッジ1間
に異物等が介在していることであり、この場合は上述し
た如く、μCPU10はスペーシングモータMの動作を停止
させて、警告表示を行う。
If they do not match, it means that a foreign substance or the like is interposed between the first stopper 7 and the carriage 1. In this case, as described above, the μCPU 10 stops the operation of the spacing motor M and displays a warning. .

以上の如く印字ヘッド2が第1文字の印字開始位置に設
定されると、μCPU10から図示しない印字ヘッドの駆動
回路に駆動信号が出力され、上記第1文字印字位置から
シリアル印字が開始される。
When the print head 2 is set to the print start position of the first character as described above, the μCPU 10 outputs a drive signal to the drive circuit of the print head (not shown), and serial printing is started from the first character print position.

〈発明の効果〉 以上説明した様に本発明の印字開始位置決め方法によれ
ば、第1文字の印字開始に先立ってキャリッジを1つの
ストッパに向けて移動させ、このストッパとの当接状態
を確認した後、該ストッパと一定の距離にあり、かつ又
第1文字の印字位置に対応した他のストッパに当接させ
るので、印字ヘッドを第1文字の印字位置に対し正確に
対応させて設定することができる。又両ストッパの当接
状態をスペーシングモータの回転によって確認する為、
スペーシング経路内にピン等の異物が介在してもスペー
シング動作を直ちに停止することができ、かつ又アラー
ム等が表示されるので、印字機構を損傷させることがな
い。
<Effects of the Invention> As described above, according to the print start positioning method of the present invention, the carriage is moved toward one stopper prior to the start of printing the first character, and the contact state with this stopper is confirmed. After that, the stopper is brought into contact with another stopper that is at a constant distance from the stopper and that corresponds to the printing position of the first character, so that the print head is set so as to accurately correspond to the printing position of the first character. be able to. Also, to check the contact state of both stoppers by rotating the spacing motor,
Even if a foreign substance such as a pin intervenes in the spacing path, the spacing operation can be immediately stopped, and an alarm or the like is displayed, so that the printing mechanism is not damaged.

しかも1つのスペーシング経路内に2以上の印字媒体を
配設するプリンタやキャリッジのスペーシング範囲が印
字媒体の外にはみ出す様なプリンタにおいても、第1文
字の印字位置を正確に決定でき、かつ又ピン等の異物の
介在を速やかに検出することができる。
In addition, the printing position of the first character can be accurately determined even in a printer in which two or more print media are arranged in one spacing path or a printer in which the spacing range of the carriage extends outside the print media. Further, the presence of foreign matter such as a pin can be promptly detected.

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

第1図は、本発明に係る位置決め機構の概略構成図、 第2図は、同制御ブロック図、 第3図は、同印字位置決めのフローチャート、 第4図は、従来の位置決め機構の構成概略図、 第5図は、同印字開始位置決めフローチャート、 第6図は、同他の位置決め機構を示す概略構成図、 第7図は、同他の印字開始位置決めフローチャートであ
る。 1……キャリッジ,2……印字ヘッド, 6……エンコーダ,61……エンコードセンサ, 7……第1のストッパ,8……第2のストッパ, 10……μCPU,11……サーボドライバ, 12……波形整形器,13……カウンタ, 14……メモリ,M……スペーシングモータ。
FIG. 1 is a schematic configuration diagram of a positioning mechanism according to the present invention, FIG. 2 is a control block diagram thereof, FIG. 3 is a flow chart of the same printing positioning, and FIG. 4 is a schematic configuration diagram of a conventional positioning mechanism. 5, FIG. 5 is the same printing start positioning flowchart, FIG. 6 is a schematic configuration diagram showing the other positioning mechanism, and FIG. 7 is another printing start positioning flowchart. 1 ... Carriage, 2 ... Print head, 6 ... Encoder, 61 ... Encode sensor, 7 ... First stopper, 8 ... Second stopper, 10 ... μCPU, 11 ... Servo driver, 12 …… Waveform shaper, 13 …… Counter, 14 …… Memory, M …… Spacing motor.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】印字ヘッドを搭載したキャリッジのスペー
シング量とスペーシングモータの回転数とを対応させ、
該スペーシングモータの回転数をエンコードセンサを介
してエンコーダにて検出するとともに、位置信号として
出力し、該位置信号を波形整形器にてキャリッジの移動
方向を指示するパルス信号に変換せしめ、該パルス信号
をサーボドライバとカウンタとに出力し、該カウンタで
のカウント計数によりμCPUでスペーシング量を算出し
かつサーボドライバを介してスペーシングモータを回転
制御するものにおいて、 スペーシング経路の端部に第1文字印字位置に対応した
第1のストッパを設け、該端部の経路と反対側でかつ前
記第1のストッパに対して一定の距離に第2のストッパ
を設け、印字ヘッドによる第1文字の印字開始に先立っ
て、キャリッジを前記第2のストッパに向けて移動させ
るべく、前記スペーシングモータに対し前記エンコーダ
の回転によるスペーシング量に変化がなくなるまで回転
指示が与えられ、前記エンコーダの回転によるスペーシ
ング量の変化がなくならず該エンコーダの回転がメモリ
内に予め格納されたカウンタ計数を超えた場合に、前記
スペーシングモータへの回転指示は停止されるとともに
警告の表示がなされ、次いで前記スペーシング量に変化
がなくなったときに前記スペーシングモータの回転を逆
転し、該キャリッジを前記第1のストッパに向け、前記
第2のストッパと該第1のストッパがなす一定距離だけ
移動させ、前記エンコーダの回転によるスペーシング量
に変化がなくなるまで前記スペーシングモータに回転指
示が与えられ、前記スペーシング量に変化がなくなった
ときに該スペーシング量の変化と前記ストッパ間の一定
距離とを演算比較して略一致すれば印字ヘッドを駆動し
て印字を開始し、略一致しないときは前記スペシングモ
ータの回転を停止させるとともに、警告表示を行うこと
を特徴とするシリアルプリンタにおける印字ヘッドの印
字開始位置決め方法。
1. A spacing amount of a carriage having a print head and a rotation number of a spacing motor are made to correspond to each other,
The rotation speed of the spacing motor is detected by an encoder via an encode sensor and is output as a position signal, and the position signal is converted into a pulse signal for instructing the moving direction of the carriage by a waveform shaper, and the pulse is output. A signal is output to the servo driver and a counter, the spacing amount is calculated by the μCPU based on the count by the counter, and the spacing motor is rotationally controlled via the servo driver. A first stopper corresponding to the one-character printing position is provided, and a second stopper is provided on the side opposite to the path of the end portion and at a constant distance from the first stopper, and Prior to the start of printing, the carriage is moved toward the second stopper to move the carriage to the encoder. When a rotation instruction is given until the spacing amount due to the rotation of the encoder does not change, the spacing amount due to the rotation of the encoder does not disappear, and the rotation of the encoder exceeds the counter count previously stored in the memory. In addition, the rotation instruction to the spacing motor is stopped and a warning is displayed. Then, when the spacing amount has no change, the rotation of the spacing motor is reversed to move the carriage to the first position. The spacing motor is moved toward the stopper by a predetermined distance formed by the second stopper and the first stopper, and a rotation instruction is given to the spacing motor until the spacing amount is not changed by the rotation of the encoder. When there is no change in the amount, the change in the spacing amount and the constant distance between the stoppers are calculated. If the print heads are substantially matched, the print head is driven to start printing, and if the print heads are not substantially matched, the rotation of the spessing motor is stopped and a warning is displayed. Start positioning method.
JP63261864A 1988-10-18 1988-10-18 Printing start positioning method of print head in serial printer Expired - Lifetime JPH07106658B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63261864A JPH07106658B2 (en) 1988-10-18 1988-10-18 Printing start positioning method of print head in serial printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63261864A JPH07106658B2 (en) 1988-10-18 1988-10-18 Printing start positioning method of print head in serial printer

Publications (2)

Publication Number Publication Date
JPH02107472A JPH02107472A (en) 1990-04-19
JPH07106658B2 true JPH07106658B2 (en) 1995-11-15

Family

ID=17367816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63261864A Expired - Lifetime JPH07106658B2 (en) 1988-10-18 1988-10-18 Printing start positioning method of print head in serial printer

Country Status (1)

Country Link
JP (1) JPH07106658B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5814790A (en) * 1981-07-17 1983-01-27 Ricoh Co Ltd Controller for printer
JPS58217383A (en) * 1982-06-14 1983-12-17 Fujitsu Ltd Initial position setting system of carriage

Also Published As

Publication number Publication date
JPH02107472A (en) 1990-04-19

Similar Documents

Publication Publication Date Title
US4737904A (en) Standard-length positioning apparatus
US4655624A (en) Ink ribbon cassette
EP0659572B1 (en) Printer and method of controlling it
US4669900A (en) Home position setting system for a print carriage
JPH07106658B2 (en) Printing start positioning method of print head in serial printer
JPS5845987A (en) Deciding method for print starting position of dot printer
KR20020035735A (en) Printing Machine
EP0699608B1 (en) Sheet conveyor
EP0341671B1 (en) Bidirectional printing device
JPH06255195A (en) Serial printer
JPH027832B2 (en)
EP0669602A3 (en) Method for control of length of imprint for a mailing machine
KR920001396B1 (en) A method of and a circuit for controlling the writing positions of video printers
JPH01247179A (en) Serial dot matrix printer
JPS606788B2 (en) Recording media control device
US5230283A (en) Print hammer position control device
JPH0257356A (en) Dot impact printer
JPH1158766A (en) Ink residual amount detector
JPH02305680A (en) Ribbon drive control circuit of transfer-type color printer
JPS572781A (en) Printer
JPH01159277A (en) Magnetic card positioning
KR940009027B1 (en) Printer head position control method
JPH0365364A (en) Printing device
JPS5812259Y2 (en) character reading device
JPS5812874B2 (en) serial printer