JPH02121867A - Printer - Google Patents

Printer

Info

Publication number
JPH02121867A
JPH02121867A JP27495488A JP27495488A JPH02121867A JP H02121867 A JPH02121867 A JP H02121867A JP 27495488 A JP27495488 A JP 27495488A JP 27495488 A JP27495488 A JP 27495488A JP H02121867 A JPH02121867 A JP H02121867A
Authority
JP
Japan
Prior art keywords
homing
printing
carrier
signal
time
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
JP27495488A
Other languages
Japanese (ja)
Inventor
Shigeo Mukai
向井 重雄
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP27495488A priority Critical patent/JPH02121867A/en
Publication of JPH02121867A publication Critical patent/JPH02121867A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To enable accurate printing output by setting the shift of a homing position to a lower level by mounting a control apparatus receiving the signal from a homing sensor to control a carrier motor and a printing head. CONSTITUTION:In performing printing, a carrier having a printing head 1 mounted thereon performs carrier homing at first. When the signal reaching a homing position is emitted by a homing sensor 3 to be received by a homing sensor detection part 11, a signal is emitted to a printing position correction part 12 from the detection part 11. The position correction part 12 indexes the position of the sensor from the receiving time and the signal sent from a carrier motor control part 13. Next, when the carrier motor control part 13 emits a signal to the position correction part 12 at the time of printing, the position correction part 12 calculates the time from the point of time when the carrier begins to move to the point of time when the printing head 1 reaches the first printing position and starts the first printing at the point of time when said time is elapsed after the motor control part 13 emits the signal for moving the carrier.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プリンタ装置に係り、特にプリンタヘッドの
ホーミング前後における第1印字の位置制御を有効にな
し得るプリンタ装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer device, and particularly to a printer device that can effectively control the position of first printing before and after homing the printer head.

〔従来の技術〕[Conventional technology]

従来、この種のプリンタ装置は、そのヘッド部がステッ
ピングモータによって駆動され、そのホーミングは、ホ
ーミングセンサによってホーミング位置を決定していた
。そして、第1印字位置はホーミング位置から固定長と
なっていた。
Conventionally, in this type of printer device, the head section is driven by a stepping motor, and the homing position is determined by a homing sensor. The first printing position was a fixed length from the homing position.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、上記従来例にあっては、第1印字位置が
ホーミング位置から固定長となっていたため、ホーミン
グ位置に「ずれ」が生じた場合に、そのまま第1印字位
置がずれるという欠点があった。また、第1印字位置と
ホーミング位置の間隔を調整する場合にもホーミング位
置の「ずれ」をステッピングモータのステップ角以内に
抑えることが出来ないという不都合があった。
However, in the above conventional example, since the first printing position was a fixed length from the homing position, there was a drawback that if a "shift" occurred in the homing position, the first printing position would be shifted. Further, even when adjusting the interval between the first printing position and the homing position, there is a problem in that it is not possible to suppress the "shift" of the homing position to within the step angle of the stepping motor.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、このような従来例に見られる不都合を
改善し、ホーミング位置の「ずれ」を従来のものよりも
少なく設定し、これによって正確な印字出力をなし得る
ことを可能としたプリンタ装置を提供することにある。
An object of the present invention is to provide a printer that improves the inconveniences seen in the conventional example, sets the "shift" of the homing position to be smaller than the conventional printer, and thereby makes it possible to achieve accurate print output. The goal is to provide equipment.

〔課題を解決するための手段〕[Means to solve the problem]

本発明では、印字を行うプリンタヘッドと、このプリン
タヘッドを搭載したキャリアを駆動するキャリアモータ
と、プリンタヘッドのホーミング位置を検知するホーミ
ングセンサと、このホーミングセンサからの信号を受信
してキャリアモータおよびプリンタヘッドを制御する制
御装置を備えている。そして、この制御装置が、ホーミ
ングセンサからの信号を受信するホーミングセンサ検出
部と、このホーミングセンサ検出部からの指令を受けて
印字位置を補正する印字位置補正部と、この印字位置補
正部からの指令によってキャリアモータの動きを制御す
るキャリアモータ制御部と。
The present invention includes a printer head that performs printing, a carrier motor that drives a carrier on which the printer head is mounted, a homing sensor that detects the homing position of the printer head, and a carrier motor and a homing sensor that receive signals from the homing sensor. It is equipped with a control device that controls the printer head. This control device includes a homing sensor detection section that receives a signal from the homing sensor, a print position correction section that corrects the print position in response to a command from the homing sensor detection section, and a homing sensor detection section that receives a signal from the homing sensor. a carrier motor control unit that controls the movement of the carrier motor according to commands;

印字位置補正部からの指令によってプリンタヘッドによ
る印字を制御するプリンタヘッド制御部とにより構成さ
れているという手法を採っている。
This method includes a printer head control section that controls printing by the printer head based on commands from a print position correction section.

これによって、前述した目的を達成しようとするもので
ある。
This aims to achieve the above-mentioned objective.

〔作  用〕[For production]

印字を行う際、プリンタヘッドを搭載したキャリアはま
ずキャリアホーミングを行う。この時、マイクロプロセ
ッサ内の印字位置補正部、ホーミングセンサ検出部、キ
ャリアモータ制御部のファームウェアが起動される。キ
ャリアホーミング実行中にホーミング位置に達したこと
を知らせる信号をホーミングセンサが発し、その信号を
ホーミングセンサ検出部が受信すると、ホーミングセン
サ検出部から印字位置補正部に信号が発せられる。
When printing, a carrier equipped with a printer head first performs carrier homing. At this time, the firmware of the print position correction section, homing sensor detection section, and carrier motor control section in the microprocessor is activated. During carrier homing, the homing sensor emits a signal indicating that the homing position has been reached, and when the homing sensor detection section receives the signal, the homing sensor detection section issues a signal to the print position correction section.

印字位置補正部は、信号を受信すると、この信号を受信
した時刻とキャリアモータ制御部から送られてくるキャ
リアの位置を示す信号とによってホーミングセンサが信
号を発した位置を計算によって割り出し、同時にキャリ
アモータ制御部に信号を発してキャリアモータを停止さ
せる。
When the printing position correction unit receives the signal, it calculates the position where the homing sensor has issued the signal based on the time when this signal was received and the signal indicating the position of the carrier sent from the carrier motor control unit, and at the same time A signal is sent to the motor control unit to stop the carrier motor.

次に、印字を行う際、キャリアモータ制御部は印字位置
補正部にキャリアが動き始めたという信号を発する。印
字位置補正部は、この信号と先に計算したホーミングセ
ンサが信号を発した位置とから、プリンタヘッドを搭載
したキャリアが動き始めてプリンタヘッドが第1印字位
置に到達するまでの時間−を計算する。キャリアモータ
制御部がキャリアを動かす信号を発してからこの時間が
経過した時点で、印字位置補正部からプリンタヘッド制
御部に信号を送り第1印字を開始させる。
Next, when printing is performed, the carrier motor control section issues a signal to the printing position correction section indicating that the carrier has started moving. The print position correction unit calculates the time from when the carrier carrying the printer head starts moving until the printer head reaches the first print position from this signal and the previously calculated position where the homing sensor issues the signal. . When this time has elapsed since the carrier motor control section issued the signal to move the carrier, the printing position correction section sends a signal to the printer head control section to start the first printing.

〔発明の実施例〕[Embodiments of the invention]

以下本発明の一実施例を第1図に基づいて説明をする。 An embodiment of the present invention will be described below with reference to FIG.

この第1図に示す実施例においては、印字を行うプリン
タへラド1と、このプリンタヘッド1を搭載したキャリ
ア(図示せず)を駆動するキャリアモータ2と、プリン
タヘッド1のホーミング位置を検知するホーミングセン
サ3と、このホーミングセンサ3からの信号を受信して
キャリアモータ2およびプリンタヘッド1を制御する制
御装置4を備えている。そして、この制御装置4が、ホ
ーミングセンサ3からの信号を受信するホーミングセン
サ検出部11と、このホーミングセンサ検出部11から
の指令を受けて印字位置を補正する印字位置補正部12
と、この印字位置補正部12からの指令によってキャリ
アモータ2の動きを制御するキャリアモータ制御部13
と、印字位置補正部12からの指令によってプリンタヘ
ッド1による印字を制御するプリンタヘッド制御部14
とから成るマイクロプロセッサ10であるという構成を
採っている。
In the embodiment shown in FIG. 1, a printer driver 1 that performs printing, a carrier motor 2 that drives a carrier (not shown) on which this printer head 1 is mounted, and a homing position of the printer head 1 are detected. The printer includes a homing sensor 3 and a control device 4 that receives signals from the homing sensor 3 and controls the carrier motor 2 and the printer head 1. The control device 4 includes a homing sensor detection section 11 that receives a signal from the homing sensor 3, and a print position correction section 12 that corrects the print position in response to a command from the homing sensor detection section 11.
and a carrier motor control unit 13 that controls the movement of the carrier motor 2 based on commands from the print position correction unit 12.
and a printer head control unit 14 that controls printing by the printer head 1 based on instructions from the print position correction unit 12.
The configuration is such that the microprocessor 10 consists of the following.

つぎに、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

印字を行う際、プリンタヘッド1を搭載したキャリア(
図示せず)はまずキャリアホーミングを行う。この時、
マイクロプロセンサ10内の印字位置補正部12.ホー
ミングセンサ検出部11゜キャリアモータ制御部13の
ファームウェアが起動される。キャリアホーミング実行
中にホーミング位置に達したことを知らせる信号をホー
ミングセンサ3が発し、その信号をホーミングセンサ検
出部11が受信すると、ホーミングセンサ検出部Ifか
ら印字位置補正部12に信号が発せられる。
When printing, the carrier (
(not shown) first performs carrier homing. At this time,
Print position correction section 12 within the micropro sensor 10. The firmware of the homing sensor detection unit 11° carrier motor control unit 13 is activated. When the homing sensor 3 emits a signal informing that the homing position has been reached during carrier homing, and the homing sensor detection section 11 receives the signal, a signal is emitted from the homing sensor detection section If to the print position correction section 12.

印字位置補正部12は、信号を受信すると、この信号を
受信した時刻とキャリアモータ制御部13から送られて
くる信号とによってホーミングセンサ3が信号を発した
位置を計算によって割り出し、同時にキャリアモータ制
御部13に信号を発してキャリアモータ2を停止させる
When the print position correction unit 12 receives the signal, it calculates the position where the homing sensor 3 emits the signal based on the time when the signal was received and the signal sent from the carrier motor control unit 13, and simultaneously controls the carrier motor. 13 to stop the carrier motor 2.

次に、印字を行う際、キャリアモータ制御部13は印字
位置補正部12に信号を発する。印字位置補正部12は
、この信号と先に計算したホーミングセンサ3が信号を
発した位置とから、プリンタヘッド1を搭載したキャリ
ア(図示せず)が動き始めてプリンタへラド1が第1印
字位置に到達するまでの時間を計算する。キャリアモー
タ制御部13がキャリア(図示せず)を動かす信号を発
してからこの時間が経過した時点で、印字位置補正部1
2からプリンタヘッド制御部14に信号を送り第1印字
を開始させる。
Next, when printing is performed, the carrier motor control section 13 issues a signal to the printing position correction section 12. Based on this signal and the previously calculated position from which the homing sensor 3 issued the signal, the print position correction unit 12 determines that when the carrier (not shown) on which the printer head 1 is mounted begins to move, the printer head 1 is moved to the first print position. Calculate the time it takes to reach . When this time has elapsed since the carrier motor control unit 13 issued a signal to move the carrier (not shown), the print position correction unit 1
2 sends a signal to the printer head control section 14 to start the first printing.

このようにして印字が行われ、−行分の印字が完了して
改行が行われると、また前述のホーミングが繰り返し行
われる。
Printing is performed in this manner, and when printing for -line is completed and a line feed is performed, the above-mentioned homing is performed again.

以上の動作により、第1印字位置のずれはホーミングセ
ンサ3の誤差とキャリアモータ2の振動分だけとなり、
従来の誤差よりもはるかに小さなものとなる。
With the above operation, the deviation of the first printing position is only the error of the homing sensor 3 and the vibration of the carrier motor 2.
The error is much smaller than the conventional error.

〔発明の効果〕〔Effect of the invention〕

本発明は以上のように構成され機能するので、これによ
ると従来例のようにホーミング位置と第1印字位置間の
距離が固定されず、可変長とすることが出来る。したが
ってホーミング前後における第1印字位置のずれを従来
例におけるステッピングモータのステップ角よりも充分
小さくすることが出来るという従来にない優れたプリン
タ装置を提供することが出来る。
Since the present invention is configured and functions as described above, the distance between the homing position and the first printing position is not fixed as in the conventional example, but can be made variable. Therefore, it is possible to provide an unprecedented and excellent printer device in which the deviation of the first printing position before and after homing can be made sufficiently smaller than the step angle of the stepping motor in the conventional example.

第1図Figure 1

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

第1図は本発明の一実施例を示すブロック図である。 1・・・・・・プリンタヘッド、2・旧・・キャリアモ
ータ、3・・・・・・ホーミングセンサ、1o・・・・
・・マイクロプロセノナ、11・・・・・・ホーミング
センサ検出部、12・・・・・・印字位置補正部、工3
・・・・・・キャリアモータ制御部  14・・・・・
・プリンタヘッド制御部。
FIG. 1 is a block diagram showing one embodiment of the present invention. 1... Printer head, 2... Old carrier motor, 3... Homing sensor, 1o...
...Microprosenona, 11...Homing sensor detection section, 12...Print position correction section, Engineering 3
...Carrier motor control section 14...
・Printer head control unit.

Claims (1)

【特許請求の範囲】[Claims] (1)、印字を行うプリンタヘッドと、このプリンタヘ
ッドを搭載したキャリアを駆動するキャリアモータと、
前記プリンタヘッドのホーミング位置を検知するホーミ
ングセンサと、このホーミングセンサからの信号を受信
して前記キャリアモータおよび前記プリンタヘッドを制
御する制御装置を備え、 前記制御装置を、前記ホーミングセンサからの信号を受
信するホーミングセンサ検出部と、このホーミングセン
サ検出部からの指令を受けて印字位置を補正する印字位
置補正部と、この印字位置補正部からの指令によってキ
ャリアモータの動きを制御するキャリアモータ制御部と
、前記印字位置補正部からの指令によってプリンタヘッ
ドによる印字を制御するプリンタヘッド制御部と荷より
構成したことを特徴とするプリンタ装置。
(1) A printer head that performs printing, a carrier motor that drives a carrier equipped with this printer head,
a homing sensor that detects a homing position of the printer head; and a control device that receives a signal from the homing sensor and controls the carrier motor and the printer head; A homing sensor detection section that receives the signal, a print position correction section that corrects the print position in response to commands from the homing sensor detection section, and a carrier motor control section that controls the movement of the carrier motor based on the commands from the print position correction section. A printer device comprising: a printer head control section that controls printing by the printer head according to commands from the print position correction section; and a load.
JP27495488A 1988-10-31 1988-10-31 Printer Pending JPH02121867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27495488A JPH02121867A (en) 1988-10-31 1988-10-31 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27495488A JPH02121867A (en) 1988-10-31 1988-10-31 Printer

Publications (1)

Publication Number Publication Date
JPH02121867A true JPH02121867A (en) 1990-05-09

Family

ID=17548878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27495488A Pending JPH02121867A (en) 1988-10-31 1988-10-31 Printer

Country Status (1)

Country Link
JP (1) JPH02121867A (en)

Similar Documents

Publication Publication Date Title
EP1535833B1 (en) Trim angle indicating system for outboard motor
US5288157A (en) Printing control system having means to correct flight time
JP3053144B2 (en) Printer carriage motor controller
JPH02121867A (en) Printer
JP2004362466A (en) Vehicle remote control device and its method
JP2582212B2 (en) Sensor positioning method for web movement control device
JP4011702B2 (en) Positioning control device
JP2918742B2 (en) Drive control device for stepping motor
JPH07170775A (en) Method and apparatus for controlling motor for positioning mechanism
JP2002247886A (en) Control method of linear motor
JPH01135674A (en) Printing control system in printer
JPH05324085A (en) Head positioning controller
JPS5882764A (en) Printer with print-deviation regulating mechanism
JP2004258803A (en) Positioning system, positioning unit therefor, and servo driver
JPS6242210A (en) Method for setting position of movable part by motor
JP3065488B2 (en) Automatic platen tilt correction method for printer
KR100305975B1 (en) Drive-controlling method and driving device for linear shuttle, and printer of linear shuttle type
JP2000299997A (en) Drive control system
JP3193077B2 (en) Cycle timer device
JPH07117818A (en) Stacker crane controller
JP3131964B2 (en) Printing device
JPS6364681A (en) Positioning device for head of magnetic disk system
JPH091887A (en) Method of setting initial position of carriage
JP2004246689A (en) Method for automatically adjusting position loop gain
JPS6274664A (en) Print starting position regulator for printer