JPH041705B2 - - Google Patents
Info
- Publication number
- JPH041705B2 JPH041705B2 JP58087901A JP8790183A JPH041705B2 JP H041705 B2 JPH041705 B2 JP H041705B2 JP 58087901 A JP58087901 A JP 58087901A JP 8790183 A JP8790183 A JP 8790183A JP H041705 B2 JPH041705 B2 JP H041705B2
- Authority
- JP
- Japan
- Prior art keywords
- control section
- time
- timer
- printing device
- time data
- 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
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J29/00—Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
- B41J29/38—Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Character Spaces And Line Spaces In Printers (AREA)
Description
【発明の詳細な説明】
(a) 発明の技術分野
本発明は印字部がモータ駆動により移動される
印字装置に関する。DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to a printing device in which a printing section is moved by motor drive.
(b) 従来技術と問題点
シリアルドツトプリンタにおいて、印字ヘツド
を移動するスペース制御手段にパルスモータが広
く用いられている。高速度のプリンタではスペー
ス制御も高速となるので、パルスモータの起動、
制動時にパルスモータの相励磁周期及び励磁電流
を高速に制御する必要を生ずる。従来はこれらの
制御を、プリンタに内蔵されたマイクロプロセサ
によつて行つていたが、相励磁切替タイミング時
に、印字、データ受信等の制御をマイクロプロセ
サが多重処理せねばならず、このためマイクロプ
ロセサの処理能力によつて印字速度が制限を受
け、プリンタの高速化が阻まれる欠点があつた。(b) Prior Art and Problems In serial dot printers, pulse motors are widely used as space control means for moving the print head. With high-speed printers, space control is also fast, so starting the pulse motor,
During braking, it becomes necessary to control the phase excitation period and excitation current of the pulse motor at high speed. Conventionally, these controls were carried out by a microprocessor built into the printer, but at the timing of phase excitation switching, the microprocessor must perform multiple processes for controlling printing, data reception, etc. The printing speed was limited by the processing power of the processor, which had the disadvantage of preventing printers from increasing their speed.
(c) 発明の目的
本発明は上記の欠点を解決するためになされた
もので、高速スペース制御手段を備えた印字装置
の提供を目的とする。(c) Object of the Invention The present invention has been made to solve the above-mentioned drawbacks, and its object is to provide a printing device equipped with high-speed space control means.
(d) 発明の構成
本発明は、処理装置と、メモリと、プロセツサ
により制御される印字装置とがバスにより結ばれ
たシステムにおいて、
該印字装置は、前記メモリを直接アクセスし印
字データを該印字装置に読み込む第一の制御部
と、印字ヘツドを駆動するパルスモータを制御す
る第二の制御部と、設定時刻に達したときに前記
第二の制御部へ出力信号を送出するタイマと、該
タイマに設定される時間データが格納されたテー
ブルとを備え、
更に、第一の制御部は、該プロセツサの指示に
より前記テーブルをアクセスして時間データを順
次読みだし、該時間データを前記タイマにセツト
し、
第二の制御部は、該タイマが設定時間に達する
度に出力される出力信号により、該パルスモータ
を制御する制御パルスを出力するよう構成された
ことを特徴とする印字装置である。以上のように
本発明はDMA制御部(第1の制御部)と、位相
制御部(第2の制御部)と、マイクロプロセサと
を有する印字装置において、パルスモータを駆動
する信号を発する位相制御部にテーブル内に設定
された時間毎に時間パルスを供給する制御手段
を、DMA制御部に設けることにより、マイクロ
プロセサほ処理負担の軽減を図つたものである。(d) Structure of the Invention The present invention provides a system in which a processing device, a memory, and a printing device controlled by the processor are connected by a bus, wherein the printing device directly accesses the memory and transfers print data to the printing device. a first control section that reads the information into the second control section; a second control section that controls the pulse motor that drives the print head; a timer that sends an output signal to the second control section when a set time is reached; and a table storing time data to be set in the timer, and further, the first control unit accesses the table according to instructions from the processor, sequentially reads out the time data, and sets the time data in the timer. The second control unit is a printing device characterized in that the second control unit is configured to output a control pulse for controlling the pulse motor using an output signal output every time the timer reaches a set time. As described above, the present invention provides phase control for generating a signal to drive a pulse motor in a printing device having a DMA control section (first control section), a phase control section (second control section), and a microprocessor. By providing the DMA control section with a control means for supplying time pulses to the DMA control section at every time set in the table, the processing load on the microprocessor is reduced.
(e) 発明の実施例
以下、本発明を図面によつて説明する。図面は
本発明の一実施例を説明するブロツク図である。
図面において、処理装置1と、主メモリ2と、プ
リンタ3とはバスBによつて結ばれている。プリ
ンタ3はドツトプリンタであり、マイクロプロセ
サ4の他にDMA制御部5を内蔵している。この
DMA制御部5は主メモリ2に直接アクセスする
制御手段を有する。例えば主メモリ2内のデータ
Dを、印字バツフア6に、直接取出すことができ
る。一方テーブル7には時間データT1〜Toが格
納されており、パルスモータMは印字ヘツドHを
移送するモータであり、位相制御部8からのパル
スPにより駆動される。図面において、位相制御
を行う際、DMA制御部5はテーブル7にアクセ
スして、まず時間データT1を取り出し、これを
タイマカウンタ9にセツトする。タイマカウンタ
9はクロツクパルスCLにより駆動されており、
設定された時刻(時間データT1により指定され
る時刻t1)に達したとき、出力信号Aを位相制御
部8へ送出する。これにより位相制御部8からパ
ルスPが出力されて、これがパルスモータMへ供
給される。これと同時に出力信号Aは、タイマカ
ウンタ9へ送られる(これをリセツトする)と共
に、DMA制御部5へ送られる。これにより
DMA制御部5は、再びテーブル7にアクセスし
て時間データT2を取出し、これをタイマカウン
タ9にセツトする。従つてタイマカウンタ9が、
時間データT2によつて設定された時刻t2に達した
とき、出力信号Aが出力され、この時点で、位相
制御部8からパルスPが出力される。このように
テーブル7内の時間データT1〜Toが順次取出さ
れて、タイマカウンタ9にセツトされることによ
りパルスモータMに対する位相制御が行われるこ
とになる。従来は、この位相制御を、マイクロプ
ロセサ4が実行していた。(e) Examples of the invention The present invention will be explained below with reference to the drawings. The drawing is a block diagram illustrating an embodiment of the present invention.
In the drawing, a processing device 1, a main memory 2, and a printer 3 are connected by a bus B. The printer 3 is a dot printer, and has a built-in DMA control section 5 in addition to a microprocessor 4. this
The DMA control unit 5 has control means for directly accessing the main memory 2. For example, data D in the main memory 2 can be directly taken out to the print buffer 6. On the other hand, the table 7 stores time data T 1 to T 0 , and the pulse motor M is a motor for transporting the print head H, and is driven by the pulse P from the phase control section 8 . In the drawing, when performing phase control, the DMA control unit 5 accesses the table 7, first extracts time data T1 , and sets it in the timer counter 9. Timer counter 9 is driven by clock pulse CL,
When the set time (time t 1 specified by time data T 1 ) is reached, output signal A is sent to phase control section 8 . As a result, a pulse P is output from the phase control section 8, and this is supplied to the pulse motor M. At the same time, the output signal A is sent to the timer counter 9 (to reset it) and is also sent to the DMA control section 5. This results in
The DMA control section 5 accesses the table 7 again, takes out the time data T2 , and sets it in the timer counter 9. Therefore, the timer counter 9
When the time t2 set by the time data T2 is reached, the output signal A is output, and at this point, the pulse P is output from the phase control section 8. In this way, the time data T 1 -T o in the table 7 are sequentially taken out and set in the timer counter 9, thereby controlling the phase of the pulse motor M. Conventionally, this phase control was executed by the microprocessor 4.
(f) 発明の効果
以上のように本発明は、マイクロプロセサと
DMA制御部とを有する印字装置において、パル
スモータに対する位相制御を、DMA制御部が分
担することにより、マイクロプロセサの負荷を軽
減し、印字効率を向上(印字速度の高速化)する
利点を有する。(f) Effects of the invention As described above, the present invention provides a microprocessor and
In a printing device having a DMA control section, the DMA control section shares phase control for the pulse motor, which has the advantage of reducing the load on the microprocessor and improving printing efficiency (increasing printing speed).
図面は本発明の一実施例を説明するブロツク図
であり、図中に用いた符号は次の通りである。
1は処理装置、2は主メモリ、3はプリンタ、
4はマイクロプロセサ、5はDMA制御部、6は
印字バツフア、7はテーブル、8は位相制御部、
9はタイマカウンタ、Aは出力信号、Bはバス、
CLはクロツクパルス、Dはデータ、Hは印字ヘ
ツド、Mはパルスモータ、T1,T2,Toは時間デ
ータを示す。
The drawing is a block diagram illustrating an embodiment of the present invention, and the symbols used in the drawing are as follows. 1 is a processing unit, 2 is a main memory, 3 is a printer,
4 is a microprocessor, 5 is a DMA control unit, 6 is a print buffer, 7 is a table, 8 is a phase control unit,
9 is a timer counter, A is an output signal, B is a bus,
CL is a clock pulse, D is data, H is a print head, M is a pulse motor, and T 1 , T 2 , and T o are time data.
Claims (1)
御される印字装置とがバスにより結ばれたシステ
ムにおいて、 該印字装置は、前記メモリを直接アクセスして
印字データを該印字装置内に読み込む第一の制御
部と、印字ヘツドを駆動するパルスモータを制御
する第二の制御部と、設定時刻に達したときに前
記第二の制御部へ出力信号を送出するタイマと、
該タイマに設定される時間データが格納されるテ
ーブルとを備え、 更に、第一の制御部は、該プロセツサの指示に
より前記テーブルをアクセスして時間データを順
次読みだし、該時間データを前記タイマに設定
し、 第二の制御部は、該タイマが設定時間に達する
度に出力される出力信号により、前記パルスモー
タを制御する制御パルスを出力するよう構成され
たことを特徴する印字装置。[Claims] 1. In a system in which a processing device, a memory, and a printing device controlled by the processor are connected by a bus, the printing device directly accesses the memory and stores print data in the printing device. a first control section for reading, a second control section for controlling a pulse motor that drives the print head, and a timer for sending an output signal to the second control section when a set time is reached;
and a table in which time data to be set in the timer is stored; further, the first control unit accesses the table according to instructions from the processor, sequentially reads out the time data, and stores the time data in the timer. , and the second control unit is configured to output a control pulse for controlling the pulse motor using an output signal output every time the timer reaches the set time.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8790183A JPS59224382A (en) | 1983-05-19 | 1983-05-19 | Printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8790183A JPS59224382A (en) | 1983-05-19 | 1983-05-19 | Printer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59224382A JPS59224382A (en) | 1984-12-17 |
| JPH041705B2 true JPH041705B2 (en) | 1992-01-14 |
Family
ID=13927794
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8790183A Granted JPS59224382A (en) | 1983-05-19 | 1983-05-19 | Printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59224382A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0928246B1 (en) * | 1996-09-25 | 2002-06-12 | Wincor Nixdorf GmbH & Co KG | Printer control with direct memory access |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5039033A (en) * | 1973-08-08 | 1975-04-10 | ||
| JPS5046056A (en) * | 1973-08-28 | 1975-04-24 | ||
| JPS58208084A (en) * | 1982-05-28 | 1983-12-03 | Pentel Kk | printer |
| JPS59119440A (en) * | 1982-12-25 | 1984-07-10 | Toshiba Corp | Print control system |
-
1983
- 1983-05-19 JP JP8790183A patent/JPS59224382A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59224382A (en) | 1984-12-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH041705B2 (en) | ||
| JP2907600B2 (en) | Thermal printer | |
| JP3182789B2 (en) | Printer control device, printer and control method therefor | |
| JP3067212U (en) | Printer motor controller | |
| JPS60120080A (en) | Carriage drive controller | |
| JPH0439019Y2 (en) | ||
| JPH0379372A (en) | Printer control device | |
| JP2000078889A (en) | Drive control device and drive control method | |
| JPS61202852A (en) | Recorder | |
| JPH01301264A (en) | Lap-printing system of printer | |
| JP3078867B2 (en) | Image receiving device | |
| JPS646483B2 (en) | ||
| JPS6315699A (en) | Pulse motor control system | |
| JPH0210628B2 (en) | ||
| JPH05104808A (en) | Printer device having a plurality of stepping motors | |
| JPH10250055A (en) | Ink jet printer | |
| JPH0325115B2 (en) | ||
| JPS6171763A (en) | thermal recording device | |
| JPS62201278A (en) | Recording apparatus | |
| JPS6082367A (en) | Head energization time control method in thermal printer | |
| JPS6125857A (en) | Overload detecting printing method in dot printer | |
| JPH04134958A (en) | Image processing device | |
| JPH05146196A (en) | Stepping motor drive circuit | |
| JPS6082368A (en) | Printing system in thermal printer | |
| JPS62242565A (en) | Recorder |