JP2003122536A - Printer controller - Google Patents

Printer controller

Info

Publication number
JP2003122536A
JP2003122536A JP2001316263A JP2001316263A JP2003122536A JP 2003122536 A JP2003122536 A JP 2003122536A JP 2001316263 A JP2001316263 A JP 2001316263A JP 2001316263 A JP2001316263 A JP 2001316263A JP 2003122536 A JP2003122536 A JP 2003122536A
Authority
JP
Japan
Prior art keywords
memory
power saving
interrupt
cpu
saving state
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
JP2001316263A
Other languages
Japanese (ja)
Inventor
Takashi Oda
孝史 小田
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 JP2001316263A priority Critical patent/JP2003122536A/en
Publication of JP2003122536A publication Critical patent/JP2003122536A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

PROBLEM TO BE SOLVED: To improve power-saving effect by mending the periodical return of a CPU 1 and a memory 3 from the power-saving state. SOLUTION: In the power-saving state, a print mechanism control circuit 25 automatically monitors the condition of a print mechanism 4, and informs the change of the condition of the print mechanism 4 to be informed to the CPU 1 with an interrupt. A console panel control circuit 27 presses a switch on a console panel 6, thereby generating an interrupt. On receiving the receive data from a host computer 7, a host interface circuit 28 generates an interrupt. Thus, each circuit automatically monitors the peripheral device of a printer controller 2, whereby it is not necessary to return the CPU 1 and the memory 3 periodically from the power-saving state so as to obtain an efficient power- saving effect.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、電子写真プリンタ
等のプリンタとホストコンピュータとの間にあって、当
該プリンタを制御するプリンタコントローラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer controller between a printer such as an electrophotographic printer and a host computer and controlling the printer.

【0002】[0002]

【従来の技術】プリンタコントローラの節電モードは、
プリンタの待機時に消費電力を低減するために用いられ
ている。図7は、従来のプリンタコントローラにおける
節電モードの動作を示すフローチャートである。以下、
この図面に基づき説明する。
2. Description of the Related Art The power saving mode of a printer controller is
It is used to reduce power consumption when the printer is on standby. FIG. 7 is a flowchart showing the operation of the conventional printer controller in the power saving mode. Less than,
A description will be given based on this drawing.

【0003】図示しないが、プリンタは、ホストコンピ
ュータに接続され、プリンタコントローラの他に、印刷
機構、LCD、操作パネル等を備えている。プリンタコ
ントローラは、CPU、メモリ、タイマ機能等を有し、
プログラムに従って次のように動作する。
Although not shown, the printer is connected to a host computer and includes a printer mechanism, a printing mechanism, an LCD, an operation panel and the like. The printer controller has a CPU, a memory, a timer function, etc.,
It operates as follows according to the program.

【0004】まず、節電モードを開始できる状態になる
と、印刷機構の予熱をOFFするかどうかを判断し(ス
テップ151)、OFFすると判断すると予熱OFFコ
マンドを印刷機構へ送信する(ステップ152)。続い
て、メモリをパワーダウンモードに設定し(ステップ1
53)、CPUのスタンバイモード命令を実行する(ス
テップ154)。これにより、印刷機構、メモリ及びC
PUが節電状態に入ったことになる。
First, when the power saving mode can be started, it is determined whether or not the preheating of the printing mechanism is turned off (step 151), and when it is determined that the preheating is turned off, a preheating OFF command is transmitted to the printing mechanism (step 152). Then set the memory to power down mode (step 1
53), the standby mode instruction of the CPU is executed (step 154). This allows the printing mechanism, memory and C
The PU has entered the power saving state.

【0005】しかし、CPUは、一定周期でスタンバイ
モードから復帰して、ステップ158に記載してある処
理、すなわち印刷機構のステータス確認、LCD表示の
更新、操作パネルの監視、ホストコンピュータからのデ
ータ受信状況確認等を実行しなければならない。そのた
め、CPUは、タイマによる割り込みで、スタンバイモ
ードから復帰する(ステップ155〜156)。このと
き、ステップ158の処理のためにメモリを使用するこ
とも考えられるため、メモリのパワーダウンモードも解
除する(ステップ157)。
However, the CPU returns from the standby mode at regular intervals and performs the processing described in step 158, that is, the status confirmation of the printing mechanism, the LCD display update, the operation panel monitoring, and the data reception from the host computer. You must check the situation. Therefore, the CPU returns from the standby mode by the interruption by the timer (steps 155 to 156). At this time, since it is possible to use the memory for the processing of step 158, the power down mode of the memory is also canceled (step 157).

【0006】続いて、前述した処理を実行する(ステッ
プ158)。ステップ158の処理終了後、節電状態を
解除しなくてもよいと判断すると(ステップ159)、
ステップ153から再び節電状態に入る処理を実行す
る。一方、ステップ159において節電状態を解除する
と判断すると、予熱ONコマンドを印刷機構へ送信し
(ステップ160)、節電状態を終了する。
Then, the above-mentioned processing is executed (step 158). When it is determined that the power saving state does not have to be canceled after the processing of step 158 is completed (step 159),
The processing to enter the power saving state is executed again from step 153. On the other hand, when it is determined that the power saving state is released in step 159, a preheat ON command is transmitted to the printing mechanism (step 160), and the power saving state is ended.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、従来技
術には次のような問題があった。
However, the prior art has the following problems.

【0008】CPUが節電状態になっても、印刷機構の
状態、操作パネルのスイッチの状態、ホストコンピュー
タからのデータの有無等を監視するために、一定周期で
CPUやメモリの節電状態を解除しなければならなかっ
た。そのため、節電状態を解除する必要がない場合で
も、節電状態を解除するため、電力が無駄に消費されて
いた。
Even when the CPU is in the power saving state, the power saving state of the CPU and the memory is released at a constant cycle in order to monitor the state of the printing mechanism, the state of the switch of the operation panel, the presence or absence of data from the host computer. I had to. Therefore, even if it is not necessary to cancel the power saving state, the power saving state is canceled, so that power is wasted.

【0009】また、節電状態の設定及び解除は、CPU
及びメモリの両方にほぼ同時に実行していた。そのた
め、どちらか一方を節電解除すれば済むような状況で
も、両方を節電解除してしまうので、電力が無駄に消費
されていた。
The CPU can set and release the power saving state.
And was running almost simultaneously in both memory. Therefore, even if it is sufficient to cancel the power saving of either one of them, the power of both of them is canceled, so that the power is wasted.

【0010】つまり、従来の動作では、図7に示すステ
ップ158の処理がハードウェアでなくプログラムの処
理となっている。そのため、節電状態から復帰する必要
がなくても、CPU及びメモリが一定周期で復帰しなく
てはならないので、節電効果が低減していた。
That is, in the conventional operation, the processing of step 158 shown in FIG. 7 is processing of a program, not hardware. Therefore, even if it is not necessary to recover from the power saving state, the CPU and the memory must be recovered in a constant cycle, and the power saving effect is reduced.

【0011】[0011]

【発明の目的】そこで、本発明の目的は、節電効果を向
上できるプリンタコントローラを提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a printer controller capable of improving the power saving effect.

【0012】[0012]

【課題を解決するための手段】本発明は、プリンタの印
刷機構、ディスプレイ及び操作パネル並びにホストコン
ピュータに接続され、CPU及びメモリを含み、当該プ
リンタを制御するプリンタコントローラである。そし
て、次のような機能を備えている。
The present invention is a printer controller which is connected to a printing mechanism, a display and an operation panel of a printer and a host computer, and which includes a CPU and a memory and controls the printer. It has the following functions.

【0013】前記CPU及びメモリの節電状態中に前記
印刷機構に対してステータス・リクエスト・コマンドを
送信し、当該印刷機構からステータスを取得し、そのス
テータスに応じて前記CPU及びメモリに対する割り込
みを発生させ、当該CPU及びメモリの節電状態を解除
する機能(請求項1)。
A status request command is transmitted to the printing mechanism while the CPU and the memory are in a power saving state, the status is acquired from the printing mechanism, and an interrupt to the CPU and the memory is generated according to the status. , A function for canceling the power saving state of the CPU and the memory (claim 1).

【0014】前記CPU及びメモリの節電状態中に前記
操作パネル上のスイッチの状態を監視し、その状態に応
じて前記CPU及びメモリに対する割り込みを発生さ
せ、当該CPU及びメモリの節電状態を解除する機能
(請求項2)。
A function of monitoring the state of the switch on the operation panel during the power saving state of the CPU and the memory, generating an interrupt to the CPU and the memory according to the state, and canceling the power saving state of the CPU and the memory. (Claim 2).

【0015】前記CPU及びメモリの節電状態中に前記
ホストコンピュータからデータを受信すると、前記CP
U及びメモリに対する割り込みを発生させ、当該CPU
及びメモリの節電状態を解除する機能(請求項3)。
When data is received from the host computer while the CPU and memory are in the power saving state, the CP
Generates an interrupt to U and the memory,
And a function for canceling the power saving state of the memory (claim 3).

【0016】前記CPU及びメモリの節電状態中に前記
ホストコンピュータからデータを受信すると、前記メモ
リに対する割り込みを発生させて当該メモリの節電状態
を解除し、受信した前記データをDMA転送で当該メモ
リに格納後、前記CPUに対する割り込みを発生させて
当該CPUの節電状態を解除する機能(請求項4)。
When data is received from the host computer while the CPU and the memory are in the power saving state, an interrupt to the memory is generated to cancel the power saving state of the memory, and the received data is stored in the memory by DMA transfer. After that, a function of generating an interrupt to the CPU to cancel the power saving state of the CPU (claim 4).

【0017】請求項1乃至3のいずれかに記載のプリン
タコントローラにおいて、割り込み要因によって前記メ
モリ対する割り込みを発生させる否かを判断する機能
(請求項5)。
In the printer controller according to any one of claims 1 to 3, a function of determining whether or not to generate an interrupt for the memory according to an interrupt factor (claim 5).

【0018】請求項1乃至5のいずれかに記載のプリン
タコントローラにおいて、レジスタ設定によって前記節
電状態を有効にし、前記割り込みによって前記節電状態
を無効にする機能(請求項6)。
In the printer controller according to any one of claims 1 to 5, a function of enabling the power saving state by register setting and invalidating the power saving state by the interrupt (claim 6).

【0019】請求項6記載のプリンタコントローラにお
いて、前記レジスタとして前記メモリ用とその他用との
二つを備え、それぞれ別々に前記節電状態を有効又は無
効にする機能(請求項7)。
According to a sixth aspect of the present invention, there is provided a printer controller having two registers, one for the memory and the other for the register, and a function for enabling or disabling the power saving state separately.

【0020】請求項1乃至7のいずれかに記載のプリン
タコントローラにおいて、前記節電状態になると前記デ
ィスプレイに対して表示データを送り続けることによ
り、当該ディスプレイのノイズによる誤表示を防ぐ機能
(請求項8)。
In the printer controller according to any one of claims 1 to 7, a function of preventing erroneous display due to noise on the display by continuously transmitting display data to the display when the power saving state is achieved (claim 8) ).

【0021】換言すると、本発明は、プリンタにおける
プリンタコントローラの部分に節電管理回路を設けたこ
とにより、CPU及びメモリを節電状態から復帰させる
ことなく、印刷機構、ディスプレイ、操作パネル、ホス
トコンピュータ等の管理ができることにより、消費電力
を低減できることを特徴としている。更に具体化すれ
ば、例えば以下の構成を採る。
In other words, according to the present invention, the power saving management circuit is provided in the printer controller of the printer, so that the printing mechanism, the display, the operation panel, the host computer, etc. can be operated without returning the CPU and the memory from the power saving state. It is characterized by being able to manage and reducing power consumption. More concretely, for example, the following configuration is adopted.

【0022】1.節電状態になると自動的に印刷機構に
対してステータス・リクエスト・コマンドを送信し、当
該印刷機構からステータスを取得し、そのステータスを
解析してCPUに対する割り込みを発生させる印刷機構
制御回路。
1. A printing mechanism control circuit that automatically sends a status request command to the printing mechanism when it is in a power saving state, acquires the status from the printing mechanism, analyzes the status, and generates an interrupt to the CPU.

【0023】2.節電状態になると自動的にディスプレ
イに対して表示データを送り続け、ディスプレイのノイ
ズによる誤表示を防ぐディスプレイ制御回路。
2. A display control circuit that automatically sends display data to the display when it enters a power-saving state and prevents erroneous display due to display noise.

【0024】3.節電状態になると自動的に操作パネル
上のスイッチの状態を監視し、そのスイッチの状態によ
って割り込みを発生させる操作パネル制御回路。
3. An operation panel control circuit that automatically monitors the status of the switch on the operation panel when it enters a power saving state and generates an interrupt depending on the status of the switch.

【0025】4.節電状態中にホストコンピュータから
データを受信すると、CPUに対する割り込みを発生さ
せるホストインタフェース回路。
4. A host interface circuit that generates an interrupt to the CPU when data is received from the host computer during the power saving state.

【0026】5.節電状態中にホストコンピュータから
データを受信すると、まずメモリに対してパワーダウン
モード解除を知らせる信号を出力し、DMA転送で受信
データをメモリに格納後、CPUに割り込みを発生さ
せ、スタンバイモードを解除させるホストインタフェー
ス回路。
5. When data is received from the host computer during the power saving state, first a signal is output to the memory to notify the power-down mode release, the received data is stored in the memory by DMA transfer, an interrupt is generated in the CPU, and the standby mode is released. Host interface circuit to let.

【0027】6.割り込み要因に応じてメモリ制御回路
に割り込みを発生させるか否かを設定できる割り込み制
御回路。
6. An interrupt control circuit that can set whether to generate an interrupt in the memory control circuit according to the interrupt factor.

【0028】7.レジスタ設定によって節電状態通知信
号を有効にし、割り込みによって自動的に節電状態通知
信号を無効にする節電管理回路。
7. A power saving management circuit that enables the power saving status notification signal by register setting and automatically disables the power saving status notification signal by interrupt.

【0029】8.上記7.における節電状態通知信号を
メモリ用とその他用との二系統持つ節電管理回路。
8. Above 7. A power-saving management circuit that has two power-saving status notification signals for memory and other systems.

【0030】[0030]

【発明の実施の形態】図1は、本発明に係るプリンタコ
ントローラの第一実施形態を示すブロック図である。以
下、この図面に基づき説明する。
1 is a block diagram showing a first embodiment of a printer controller according to the present invention. Hereinafter, description will be given with reference to this drawing.

【0031】プリンタは、ホストコンピュータ7に接続
され、プリンタコントローラ2の他に、印刷機構4、デ
ィスプレイとしてのLCD5、操作パネル6等を備えて
いる。プリンタコントローラ2は、CPU1がシステム
バス制御回路21及びメモリ制御回路24を介してメモ
リ3をアクセスすることによって印刷データ等の処理を
行い、印刷機構4で印刷を行うものであり、割り込み制
御回路22、節電管理回路23、メモリ制御回路24、
印刷機構制御回路25、LCD制御回路26、操作パネ
ル制御回路27、ホストインタフェース回路28等を備
えている。
The printer is connected to the host computer 7, and includes a printer controller 2, a printing mechanism 4, an LCD 5 as a display, an operation panel 6, and the like. In the printer controller 2, the CPU 1 accesses the memory 3 via the system bus control circuit 21 and the memory control circuit 24 to process print data and the like, and the printing mechanism 4 performs printing, and the interrupt control circuit 22. , A power saving management circuit 23, a memory control circuit 24,
A printing mechanism control circuit 25, an LCD control circuit 26, an operation panel control circuit 27, a host interface circuit 28, etc. are provided.

【0032】節電管理回路23は、CPU1がスタンバ
イモード(節電状態)になることを通知してくると、プ
リンタコントローラ2が節電状態になることをメモリ制
御回路24、印刷機構制御回路25、LCD制御回路2
6、操作パネル制御回路27、ホストインタフェース回
路28等に通知する。
When the power saving management circuit 23 notifies that the CPU 1 is in the standby mode (power saving state), the memory control circuit 24, the printing mechanism control circuit 25, and the LCD control that the printer controller 2 is in the power saving state. Circuit 2
6, the operation panel control circuit 27, the host interface circuit 28, etc. are notified.

【0033】すると、節電状態を通知された印刷機構制
御回路25、LCD制御回路26、操作パネル制御回路
27、ホストインタフェース回路28及びメモリ制御回
路24は、次のように動作する。
Then, the printing mechanism control circuit 25, the LCD control circuit 26, the operation panel control circuit 27, the host interface circuit 28, and the memory control circuit 24, which have been notified of the power saving state, operate as follows.

【0034】印刷機構制御回路25は、印刷機構4の状
態を自動で監視し、CPU1に通知すべき印刷機構4の
状態の変化を、割り込みをもって通知する。LCD制御
回路26は、外部からの電気的なノイズによるLCD5
の誤表示を防ぐために、LCD5に対して、自動で定期
的に表示データを送信する。操作パネル制御回路27
は、操作パネル6上のスイッチの押し下げにより、割り
込みを発生する。ホストインタフェース回路28は、ホ
ストコンピュータ7からの受信データを受け付けると、
割り込みを発生させる。メモリ制御回路24は、メモリ
3をパワーダウンモードにする。
The printing mechanism control circuit 25 automatically monitors the state of the printing mechanism 4 and notifies the CPU 1 of a change in the state of the printing mechanism 4 that should be notified by an interrupt. The LCD control circuit 26 uses the LCD 5 due to external electrical noise.
In order to prevent erroneous display of, display data is automatically and periodically transmitted to the LCD 5. Operation panel control circuit 27
Generates an interrupt by pressing a switch on the operation panel 6. When the host interface circuit 28 receives the received data from the host computer 7,
Generate an interrupt. The memory control circuit 24 puts the memory 3 in the power down mode.

【0035】したがって、各回路が自動的にプリンタコ
ントローラ2の周辺装置の監視を行うことにより、CP
U1及びメモリ3を定期的に節電状態から復帰させる必
要がなくなるので、効率的な節電効果が得られる。
Therefore, each circuit automatically monitors the peripheral devices of the printer controller 2 and the CP
Since it is not necessary to periodically return the U1 and the memory 3 from the power saving state, an efficient power saving effect can be obtained.

【0036】次に、更に詳しく説明する。Next, a more detailed description will be given.

【0037】プリンタコントローラ2は、CPU1及び
メモリ3を内蔵し、印刷機構4、操作パネル6、ホスト
コンピュータ7等に接続されている。CPU1は、ホス
トコンピュータ7からのデータを、メモリ3を利用して
処理し、印刷機構4に印刷データを送信して印刷を行
う。また、CPU1は、印刷機構4の状態の監視、プリ
ンタの状態や設定を表示するためにLCD5への表示デ
ータの送信、プリンタへの設定等を受け付けるために操
作パネル6の監視を行っている。メモリ3は、ここでは
シンクロナスDRAM(SDRAM)で構成されてい
る。
The printer controller 2 has a CPU 1 and a memory 3 built-in, and is connected to the printing mechanism 4, the operation panel 6, the host computer 7, and the like. The CPU 1 processes the data from the host computer 7 using the memory 3 and sends the print data to the printing mechanism 4 to print it. The CPU 1 also monitors the state of the printing mechanism 4, transmits display data to the LCD 5 to display the state and settings of the printer, and monitors the operation panel 6 to accept settings to the printer. The memory 3 is composed of a synchronous DRAM (SDRAM) here.

【0038】SDRAMはセルフリフレッシュコマンド
を送信することによりパワーダウンモード(節電状態)
になり、CKE端子の操作でそれを解除することができ
る。CPU1は、プログラムの命令によってスタンバイ
モード(節電状態)になり、割り込み入力によってそれ
を解除するものとする。
The SDRAM is in a power down mode (power saving state) by transmitting a self refresh command.
Then, it can be released by operating the CKE terminal. It is assumed that the CPU 1 enters a standby mode (power saving state) in response to a program instruction and cancels it by an interrupt input.

【0039】印刷機構4は、プリンタコントローラ2か
らの印刷データを受け取り印刷を行う、電子写真方式で
ある。また、印刷機構4へのさまざまな設定は、印刷機
構制御回路25からのコマンド送信によって行われる。
また、印刷機構4の状態の確認は、印刷機構制御回路2
5からのステータス・リクエスト・コマンド送信によっ
て印刷機構4がステータスデータを返すことにより行わ
れる。
The printing mechanism 4 is an electrophotographic system that receives print data from the printer controller 2 and prints. Further, various settings to the printing mechanism 4 are performed by sending commands from the printing mechanism control circuit 25.
In addition, the state of the printing mechanism 4 is confirmed by the printing mechanism control circuit 2
Printing mechanism 4 returns status data by transmitting a status request command from 5.

【0040】次に、プリンタコントローラ2の内部の構
成について説明する。
Next, the internal structure of the printer controller 2 will be described.

【0041】システムバス制御回路21は、CPU1の
アクセスタイミングを決定し、CPU1とメモリ3との
間、及びプリンタコントローラ2内部間のデータの授受
を行う。
The system bus control circuit 21 determines the access timing of the CPU 1 and exchanges data between the CPU 1 and the memory 3 and between the printer controller 2.

【0042】割り込み制御回路22は、プリンタコント
ローラ2の内部からの割り込みの制御を行う。すなわ
ち、各割り込みの優先順位付けやマクス制御、割り込み
ステータスの保持を行い、その状態によってCPU1に
対して割り込みを発生させる。
The interrupt control circuit 22 controls an interrupt from inside the printer controller 2. That is, prioritization of each interrupt, max control, and holding of the interrupt status are performed, and an interrupt is generated for the CPU 1 according to the state.

【0043】節電管理回路23は、CPU1からの節電
設定を受け付ける節電モードレジスタを有し、節電設定
を受け付けるとプリンタコントローラ2の内部回路に節
電状態になったことを通知する。また、節電状態中は、
割り込み制御回路22からの割り込みを監視し、割り込
みが発生した際には自動的に節電状態を解除し、内部回
路に通知する。
The power-saving management circuit 23 has a power-saving mode register that receives the power-saving setting from the CPU 1. When the power-saving setting is received, the internal circuit of the printer controller 2 is notified of the power-saving state. Also, during the power saving state,
The interrupt from the interrupt control circuit 22 is monitored, and when the interrupt occurs, the power saving state is automatically canceled and the internal circuit is notified.

【0044】メモリ制御回路24は、メモリ3とシステ
ムバス制御回路21との間のデータの授受を制御する。
また、節電状態になったことが通知されると、メモリ3
に対しセルフリフレッシュコマンドを発行し、メモリ3
をパワーダウンモードに設定する。
The memory control circuit 24 controls the exchange of data between the memory 3 and the system bus control circuit 21.
In addition, when it is notified that the power saving state has been entered, the memory 3
Issue a self-refresh command to the memory 3
To power down mode.

【0045】印刷機構制御回路25は、印刷機構4の状
態通知要求をCPU1から受け付けると、印刷機構4に
対してステータス・リクエスト・コマンドを発行し、印
刷機構4からステータスデータを受け付ける。すなわ
ち、節電状態になったことが通知されると、予めCPU
1によって設定された節電状態時の状態通知要求設定に
従って、周期的に自動でステータス・リクエスト・コマ
ンドを印刷機構4に発行し、印刷機構4から受け取った
ステータスデータを解析し、CPU1に通知すべきとき
は割り込みを発生させて通知する。
When the printing mechanism control circuit 25 receives the status notification request of the printing mechanism 4 from the CPU 1, it issues a status request command to the printing mechanism 4 and receives the status data from the printing mechanism 4. That is, when the notification of the power saving state is given, the CPU
According to the state notification request setting in the power saving state set by 1, the status request command is automatically and periodically issued to the printing mechanism 4, the status data received from the printing mechanism 4 is analyzed, and the CPU 1 should be notified. At that time, an interrupt is generated and notified.

【0046】LCD制御回路26は、CPU1からのL
CD表示データを受け取ると、LCD5に対してデータ
を送信する。通常、外部からの電気的なノイズによるL
CD5の誤表示を防ぐために、CPU1は、一定周期で
LCD表示データをLCD制御回路26に書き込み、L
CD5の表示を更新している。一方、節電状態になった
ことが通知されると、LCD制御回路26は、LCD5
の表示の更新を行うために、一定周期で自動的にLCD
5に対してデータを送信する。
The LCD control circuit 26 uses the L signal from the CPU 1.
When receiving the CD display data, the data is transmitted to the LCD 5. Normally, L due to electrical noise from the outside
In order to prevent erroneous display of the CD 5, the CPU 1 writes the LCD display data in the LCD control circuit 26 at a constant cycle,
The display of CD5 is being updated. On the other hand, when it is notified that the power saving state has been entered, the LCD control circuit 26 causes the LCD 5
LCD is automatically updated at regular intervals to update the display
Data is transmitted to 5.

【0047】操作パネル制御回路27は、操作パネル6
の状態をレジスタに反映させる。CPU1は、そのレジ
スタの内容を読み取って、操作パネル6のスイッチの状
態を確認する。操作パネル制御回路27は、節電状態に
なったことが通知されると、操作パネル6上のスイッチ
の変化を自動的に監視し、割り込みを発生させてCPU
1に通知する。
The operation panel control circuit 27 includes the operation panel 6
The state of is reflected in the register. The CPU 1 reads the contents of the register and confirms the state of the switch on the operation panel 6. When the operation panel control circuit 27 is notified that the power saving state has been entered, the operation panel control circuit 27 automatically monitors the change of the switch on the operation panel 6 and generates an interrupt to generate a CPU.
Notify 1.

【0048】ホストインタフェース回路28は、ホスト
コンピュータ7からデータを受信すると、通常DMA転
送でメモリ制御回路24を介して、メモリ3にその受信
データを書き込む。節電状態になったことが通知される
と、ホストインタフェース回路28は、ホストコンピュ
ータ7からのデータを受け取ると割り込みを発生し、C
PU1にデータを受信していることを通知する。なお、
DMA(Direct MemoryAccess)転送とは、CPU1を介
さずに、メモリ3と入出力装置との間で直接データを転
送する方式をいう。
When receiving data from the host computer 7, the host interface circuit 28 writes the received data in the memory 3 via the memory control circuit 24 by normal DMA transfer. When notified of the power saving state, the host interface circuit 28 generates an interrupt upon receiving the data from the host computer 7, and C
It informs PU1 that it is receiving data. In addition,
The DMA (Direct Memory Access) transfer is a method of directly transferring data between the memory 3 and the input / output device without going through the CPU 1.

【0049】図2[1]は節電管理回路23の内部構成
の一例を示すブロック図であり、図2[2]は印刷機構
制御回路25の内部構成の一例を示すブロック図であ
る。以下、図1及び図2に基づき説明する。
FIG. 2 [1] is a block diagram showing an example of the internal configuration of the power saving management circuit 23, and FIG. 2 [2] is a block diagram showing an example of the internal configuration of the printing mechanism control circuit 25. Hereinafter, description will be given with reference to FIGS. 1 and 2.

【0050】節電管理回路23は、CPU1からの節電
設定をうける節電モードレジスタ232と、割り込み制
御回路22の割り込みを検出する割り込み検出回路23
1とを有する。CPU1が節電モードレジスタ232に
節電状態になることを設定すると、節電状態通知信号が
有効になる。一方、割り込み信号が有効になり、それを
割り込み検出回路231が検出すると、節電モードレジ
スタ232がリセットされ、節電状態通知信号が無効に
なる。
The power saving management circuit 23 includes a power saving mode register 232 which receives power saving settings from the CPU 1 and an interrupt detection circuit 23 which detects an interrupt from the interrupt control circuit 22.
1 and. When the CPU 1 sets the power saving mode register 232 to enter the power saving state, the power saving state notification signal becomes valid. On the other hand, when the interrupt signal becomes valid and the interrupt detection circuit 231 detects it, the power saving mode register 232 is reset and the power saving state notification signal becomes invalid.

【0051】印刷機構制御回路25は、実際に印刷機構
4とデータの送受信を行う通信手段251と、通常時C
PU1からのステータス受信要求やコマンド発行要求を
設定するコマンド設定レジスタ252と、印刷機構4か
らのステータスデータを格納するステータスレジスタ2
53と、節電中に印刷機構4に送信するステータスリク
エストを設定する節電中ステータスリクエスト設定レジ
スタ254と、ステータスデータが節電中にどのように
変化したら割り込みを発生させるかを設定及び検出する
ための割り込み発生手段256とを有する。
The printing mechanism control circuit 25 includes a communication unit 251 that actually sends and receives data to and from the printing mechanism 4, and a normal time C
A command setting register 252 for setting a status reception request and a command issuing request from the PU 1, and a status register 2 for storing status data from the printing mechanism 4.
53, a power saving status request setting register 254 for setting a status request to be transmitted to the printing mechanism 4 during power saving, and an interrupt for setting and detecting how the status data changes during power saving to generate an interrupt. And generating means 256.

【0052】通常時は、CPU1がコマンド設定レジス
タ252に設定したステータスリクエストを、通信手段
251により印刷機構4へ送信し、印刷機構4からのス
テータスデータをステータスデータレジスタ253に格
納する。節電状態通知信号が有効なときは、セレクタ2
55によって送信するステータスリクエストとして、節
電中ステータスリクエスト設定レジスタ254に設定さ
れたステータスリクエストを、通信手段251が送信す
る。また、ステータスデータレジスタ253に格納され
たデータを割り込み発生手段256において監視し、設
定されたステータスの変化を検出するとステータス割り
込みを発生させる。
Under normal conditions, the CPU 1 transmits the status request set in the command setting register 252 to the printing mechanism 4 by the communication means 251 and stores the status data from the printing mechanism 4 in the status data register 253. Selector 2 when the power saving status notification signal is valid
As the status request transmitted by 55, the communication means 251 transmits the status request set in the power saving status request setting register 254. Further, the data stored in the status data register 253 is monitored by the interrupt generating means 256, and when a change in the set status is detected, a status interrupt is generated.

【0053】図3及び図4は、プリンタコントローラ2
の動作の一例を示すフローチャートである。以下、図1
乃至図4に基づき、プリンタコントローラ2の動作につ
いて説明する。
3 and 4 show the printer controller 2
6 is a flowchart showing an example of the operation of FIG. Below, Figure 1
The operation of the printer controller 2 will be described with reference to FIG.

【0054】まず、節電状態を開始できる状態になる
と、プログラムは印刷機構4の予熱をOFFするかどう
かを判断し(ステップ131)、OFFすると判断する
と印刷機構制御回路25を介して予熱OFFコマンドを
印刷機構4に送信する(ステップ132)。続いて、節
電モード中に印刷機構4へ送信するステータス・リクエ
スト・コマンドを節電中ステータスリクエスト設定レジ
スタ254に設定し、どのようなステータスデータが印
刷機構4から送られてきたらCPU1に割り込みを発生
させるかを、割り込み発生手段256に設定する(ステ
ップ133)。続いて、節電モードレジスタ232に節
電モードに入ることを設定する(ステップ34)。これ
により節電モード通知信号が有効となり、プリンタコン
トローラ2内の各回路に節電モードになったことを通知
する。すると、プリンタコントローラ2内の各回路は、
それぞれ節電モード中の動作を実行する。
First, when the power saving state can be started, the program determines whether or not to turn off the preheating of the printing mechanism 4 (step 131). When it is determined to turn it off, a preheating OFF command is issued via the printing mechanism control circuit 25. It is transmitted to the printing mechanism 4 (step 132). Subsequently, a status request command to be transmitted to the printing mechanism 4 in the power saving mode is set in the power saving status request setting register 254, and when any status data is sent from the printing mechanism 4, an interrupt is generated in the CPU 1. This is set in the interrupt generating means 256 (step 133). Then, the power saving mode register 232 is set to enter the power saving mode (step 34). As a result, the power saving mode notification signal becomes valid and notifies each circuit in the printer controller 2 that the power saving mode has been entered. Then, each circuit in the printer controller 2
The operation in each power saving mode is executed.

【0055】LCD制御回路26は、外部からの電気的
なノイズによるLCDの誤表示を防ぐためにLCD5に
対して、一定周期で表示データを送信する(ステップ1
35)。メモリ制御回路24は、メモリ3に対しセルフ
リフレッシュコマンドを発行することにより、メモリ3
をパワーダウンモードにする(ステップ136)。印刷
機構制御回路25は、節電中ステータスリクエスト設定
レジスタ254に設定されたステータス・リクエスト・
コマンドを印刷機構4に送信し、それに対するステータ
スデータを受信する。そのデータを割り込み発生手段2
56で解析し、割り込みを発生させるか否かを判断する
(ステップ137)。操作パネル制御回路27は、操作
パネル6上のスイッチが押下されているかを監視し、割
り込みを発生させるか否かを判断する(ステップ13
8)。ホストインタフェース回路28は、ホストコンピ
ュータ7からのデータ受信状況を監視し、 割り込みを
発生させるか否かを判断する(ステップ139)。節電
管理回路23は、割り込み制御回路22からの割り込み
信号を監視し、節電状態通知信号を無効にするか否かを
判断する(ステップ140)。なお、CPU1は、上記
の動作と同時にスタンバイモード命令を実行し、スタン
バイモード(節電状態)になっている(ステップ14
1)。
The LCD control circuit 26 transmits display data to the LCD 5 at regular intervals to prevent erroneous display of the LCD due to external electrical noise (step 1).
35). The memory control circuit 24 issues a self-refresh command to the memory 3 to cause the memory 3
To the power down mode (step 136). The print mechanism control circuit 25 uses the status request set in the power saving status request setting register 254.
The command is transmitted to the printing mechanism 4, and the status data for the command is received. The data is interrupted by means 2
It is analyzed at 56 to determine whether or not to generate an interrupt (step 137). The operation panel control circuit 27 monitors whether or not the switch on the operation panel 6 is pressed, and determines whether or not to generate an interrupt (step 13).
8). The host interface circuit 28 monitors the data reception status from the host computer 7 and determines whether or not to generate an interrupt (step 139). The power saving management circuit 23 monitors the interrupt signal from the interrupt control circuit 22 and determines whether to invalidate the power saving state notification signal (step 140). The CPU 1 executes the standby mode instruction at the same time as the above operation, and is in the standby mode (power saving state) (step 14).
1).

【0056】続いて、印刷機構制御回路25、操作パネ
ル制御回路27、及びホストインタフェース回路28の
いずれかから割り込みが発生すると、割り込み制御回路
22はCPU1及び節電管理回路23に対して割り込み
を発生させる(ステップ142)。そして、CPU1
は、スタンバイモードから通常動作に復帰する(ステッ
プ141)。節電管理回路22内の節電モードレジスタ
232はリセットされ、節電状態通知信号は無効となる
(ステップ140)。これに伴い、メモリ制御回路24
はメモリ3のパワーダウンモードを解除する(ステップ
136)。印刷機構制御回路25、LCD制御回路2
6、操作パネル制御回路27、及びホストインタフェー
ス回路28は、節電中に自動実行していた動作を終了す
る(ステップ135,137,138,139)。
Then, when an interrupt is generated from any of the printing mechanism control circuit 25, the operation panel control circuit 27, and the host interface circuit 28, the interrupt control circuit 22 causes the CPU 1 and the power saving management circuit 23 to generate an interrupt. (Step 142). And CPU1
Returns from standby mode to normal operation (step 141). The power saving mode register 232 in the power saving management circuit 22 is reset, and the power saving state notification signal becomes invalid (step 140). Accordingly, the memory control circuit 24
Cancels the power down mode of the memory 3 (step 136). Printing mechanism control circuit 25, LCD control circuit 2
6, the operation panel control circuit 27, and the host interface circuit 28 end the operation automatically executed during power saving (steps 135, 137, 138, 139).

【0057】その後、節電状態を解除しなくてもよいと
判断すると(ステップ143)、ステップ134から再
び節電状態に入る処理を行う。一方、ステップ143に
おいて節電状態を解除すると判断すると、予熱ONコマ
ンドを印刷機構4へ送信し(ステップ144)、節電状
態を終了する。
After that, when it is determined that the power saving state does not have to be released (step 143), the processing for entering the power saving state again from step 134 is performed. On the other hand, if it is determined in step 143 that the power saving state is released, a preheat ON command is transmitted to the printing mechanism 4 (step 144), and the power saving state is ended.

【0058】図5は、本発明に係るプリンタコントロー
ラの第二実施形態を示すブロック図である。図6は、図
5のプリンタコントローラにおける節電管理回路の一例
を示すブロック図である。以下、これらの図面に基づき
説明する。ただし、図5において図1と同じ部分は、同
じ符号を付すことにより説明を省略する。
FIG. 5 is a block diagram showing a second embodiment of the printer controller according to the present invention. FIG. 6 is a block diagram showing an example of a power saving management circuit in the printer controller of FIG. Hereinafter, description will be given with reference to these drawings. However, in FIG. 5, the same parts as those in FIG.

【0059】本実施形態のプリンタコントローラ2’
は、第一実施形態と同じ基本的構成であるが、割り込み
制御回路22’、節電管理回路23’、及びホストイン
タフェース回路28’が更に工夫されている。
Printer controller 2'of this embodiment
The basic configuration is the same as that of the first embodiment, but the interrupt control circuit 22 ', the power saving management circuit 23', and the host interface circuit 28 'are further devised.

【0060】割り込み制御回路22’から出力される割
り込み信号が、CPU1及び節電管理回路23’用と節
電管理回路23’のみ用とに分けられている。CPU1
及び割り込み管理回路23’への割り込み信号は、如何
なる割り込み要因でも発生する割り込みである。一方、
節電管理回路23’のみへの割り込み信号は、メモリ3
をパワーダウンモードから復帰させるためのメモリ制御
用の割り込み信号である。割り込み制御回路22’内に
各割り込み入力別に、メモリ3をパワーダウンモードか
ら復帰させるか否かを決定できるレジスタを設け、メモ
リ制御用の割り込み信号はそのレジスタと発生した割り
込みとによって制御される。
The interrupt signals output from the interrupt control circuit 22 'are divided into those for the CPU 1 and the power saving management circuit 23' and those for only the power saving management circuit 23 '. CPU1
The interrupt signal to the interrupt management circuit 23 'is an interrupt generated by any interrupt factor. on the other hand,
The interrupt signal to only the power saving management circuit 23 'is stored in the memory 3
Is an interrupt signal for memory control for returning from the power-down mode. The interrupt control circuit 22 'is provided with a register for determining whether or not the memory 3 is returned from the power-down mode for each interrupt input, and the memory control interrupt signal is controlled by the register and the generated interrupt.

【0061】節電管理回路23’は、CPU1と共通の
割り込み信号と、メモリ制御用の割り込み信号とを別個
に入力している。そして、節電状態通知信号が他の回路
とメモリ制御回路24とで分けられている。これは、メ
モリ制御回路24への節電状態通知信号と、他の回路へ
の節電状態通知信号とを、別個に制御するためである。
また、ホストインタフェース回路28’から出力される
割り込み信号が、割り込み制御回路22’用と節電管理
回路23’用とで分けられている。これらは、CPU1
のスタンバイモード解除とメモリ3のパワーダウンモー
ド解除とを、別個に制御するために分けたものである。
The power saving management circuit 23 'separately inputs an interrupt signal common to the CPU 1 and a memory control interrupt signal. The power saving state notification signal is divided between the other circuit and the memory control circuit 24. This is for separately controlling the power saving state notification signal to the memory control circuit 24 and the power saving state notification signal to other circuits.
Further, the interrupt signal output from the host interface circuit 28 'is divided into the interrupt control circuit 22' and the power saving management circuit 23 '. These are CPU1
The standby mode release and the power down mode release of the memory 3 are separated for separate control.

【0062】図6において、節電モードレジスタA23
2’は、メモリ3以外の節電モードを設定するレジスタ
であって、CPU1への割り込みと共通の割り込み信号
を割り込み検出回路A231’が検出するとリセットさ
れる。節電モードレジスタA232’に設定された内容
に従って、節電状態通知信号がメモリ制御回路24以外
の回路に通知される。一方、節電モードレジスタB23
4は、メモリ3の節電モードを設定するレジスタであっ
て、メモリ制御用の割り込み信号を割り込み検出回路A
233が検出するとリセットされる。節電モードレジス
タB234に設定された内容に従って、節電状態通知信
号がメモリ制御回路24に通知される。
In FIG. 6, the power saving mode register A23
Reference numeral 2'denotes a register for setting a power saving mode other than the memory 3, and is reset when the interrupt detection circuit A231 'detects an interrupt signal common to the interrupt to the CPU1. The circuits other than the memory control circuit 24 are notified of the power saving state notification signal according to the contents set in the power saving mode register A232 '. On the other hand, power saving mode register B23
Reference numeral 4 is a register for setting the power saving mode of the memory 3, which is used to send an interrupt signal for memory control to the interrupt detection circuit A.
When it is detected by 233, it is reset. According to the contents set in the power saving mode register B234, the power saving state notification signal is notified to the memory control circuit 24.

【0063】次に、プリンタコントローラ2’の動作を
説明する。
Next, the operation of the printer controller 2'will be described.

【0064】まず、節電モード中にメモリ3だけパワー
ダウンモードから復帰する場合の動作を説明する。ホス
トコンピュータ7からデータを受信すると、ホストイン
タフェース回路28’は節電管理回路23’への割り込
みのみを有効にする。節電管理回路23’の割り込み検
出回路B233がその割り込みを検出すると、節電モー
ドレジスタB234がリセットされ、節電状態通知信号
(メモリ制御回路用)が無効となる。それを受けたメモ
リ制御回路24は、メモリ3をパワーダウンモードから
復帰させる。
First, the operation of returning only the memory 3 from the power down mode during the power saving mode will be described. Upon receiving the data from the host computer 7, the host interface circuit 28 'enables only the interrupt to the power saving management circuit 23'. When the interrupt detection circuit B233 of the power saving management circuit 23 'detects the interrupt, the power saving mode register B234 is reset and the power saving state notification signal (for the memory control circuit) becomes invalid. The memory control circuit 24 having received it returns the memory 3 from the power down mode.

【0065】その後、ホストインタフェース回路28’
は、DMA転送によりメモリ制御回路24を介してメモ
リ3へ受信データを格納する。ホストコンピュータ7か
らのデータ受信を終了し、データのメモリ3への格納が
すべて終了したら、ホストインタフェース回路28’
は、割り込み制御回路22’への割り込みを発生させ
て、CPU1をスタンバイモードから復帰させる。この
動作を行うことによって、CPU1をできるだけ長時間
スタンバイモードにしておくことができるので、メモリ
3とCPU1とを同時に制御する場合と比較して、更に
効率的な節電効果が得られる。
After that, the host interface circuit 28 '
Stores the received data in the memory 3 via the memory control circuit 24 by DMA transfer. When the data reception from the host computer 7 is completed and the storage of the data in the memory 3 is completed, the host interface circuit 28 '
Generates an interrupt to the interrupt control circuit 22 'and returns the CPU 1 from the standby mode. By performing this operation, the CPU 1 can be kept in the standby mode for as long as possible, so that a more efficient power saving effect can be obtained as compared with the case where the memory 3 and the CPU 1 are simultaneously controlled.

【0066】次に、節電モード中にCPU1のみをスタ
ンバイモードから復帰させる場合の動作を説明する。こ
こでは操作パネル6のスイッチが押された場合の動作を
説明するが、印刷機構4のステータスがCPU1のスタ
ンバイモードを復帰させる状態になった場合も同様であ
る。なお、操作パネル制御回路27の割り込みではメモ
リ制御用の割り込みを発生させないように、割り込み制
御回路22’に設定してあるものとする。
Next, the operation for returning only the CPU 1 from the standby mode during the power saving mode will be described. Here, the operation when the switch of the operation panel 6 is pressed will be described, but the same applies when the status of the printing mechanism 4 is in the state of returning the standby mode of the CPU 1. It is assumed that the interrupt control circuit 22 'is set so that the interrupt for the operation panel control circuit 27 does not generate an interrupt for memory control.

【0067】操作パネル制御回路27は、節電モード中
に操作パネル6上のスイッチが押下されたことを検出す
ると、割り込み制御回路22’に対して割り込み信号を
発生させる。割り込み制御回路22’は、設定に従いC
PU1への割り込みは発生させるが、メモリ制御用の割
り込みは発生させない。これにより、CPU1は、スタ
ンバイモードから復帰し、スイッチが押されたことを確
認する。そのスイッチの操作が節電モードを解除するに
値しないと判断したら、節電モードレジスタA232’
に節電モードになることを設定し、CPU1自身も再び
スタンバイモードに入る。この動作を行うことによっ
て、メモリ3をパワーダウンモードから復帰させる必要
がない場合でもパワーダウンモードから復帰させてしま
うということがなくなるので、メモリ3とCPU1とを
同時に制御する場合と比較して、更に効率的な節電効果
が得られる。
When the operation panel control circuit 27 detects that the switch on the operation panel 6 is pressed during the power saving mode, it causes the interrupt control circuit 22 'to generate an interrupt signal. The interrupt control circuit 22 'is C according to the setting.
The interrupt to PU1 is generated, but the interrupt for memory control is not generated. As a result, the CPU 1 returns from the standby mode and confirms that the switch has been pressed. If it is determined that the operation of the switch is not enough to cancel the power saving mode, the power saving mode register A232 '
Then, the CPU 1 itself is set to the standby mode again. By performing this operation, it is possible to prevent the memory 3 from returning from the power down mode even when it is not necessary to return from the power down mode. Therefore, as compared with the case where the memory 3 and the CPU 1 are controlled at the same time, A more efficient power saving effect can be obtained.

【0068】[0068]

【発明の効果】本発明に係るプリンタコントローラによ
れば、節電状態中にCPUを節電状態(スタンバイモー
ド)から一定周期で解除する必要がないため、CPUの
節電状態からの無駄な復帰をなくすことができ、節電効
果が効率的に得られる。更に、メモリも節電状態(パワ
ーダウンモード)から一定周期で解除する必要がないた
め、メモリの節電状態からの無駄な復帰をなくすことが
でき、節電効果が効率的に得られる。それらの理由は、
従来CPUが監視していたプリンタコントローラ周辺の
状態を、CPU以外の回路が自動的に監視しているため
である。
According to the printer controller of the present invention, it is not necessary to release the CPU from the power saving state (standby mode) in a constant cycle during the power saving state, so that wasteful recovery of the CPU from the power saving state is eliminated. The power saving effect can be obtained efficiently. Furthermore, since it is not necessary to release the memory from the power saving state (power down mode) at a constant cycle, it is possible to eliminate unnecessary recovery from the power saving state of the memory, and the power saving effect can be efficiently obtained. The reason for them is
This is because circuits other than the CPU automatically monitor the state around the printer controller, which was conventionally monitored by the CPU.

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

【図1】本発明に係るプリンタコントローラの第一実施
形態を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a printer controller according to the present invention.

【図2】 図2[1]は、図1のプリンタコントローラ
における節電管理回路の一例を示すブロック図である。
図2[2]は、図1のプリンタコントローラにおける印
刷機構制御回路の一例を示すブロック図である。
FIG. 2 [1] is a block diagram showing an example of a power saving management circuit in the printer controller of FIG. 1.
2 [2] is a block diagram showing an example of a printing mechanism control circuit in the printer controller of FIG.

【図3】図1のプリンタコントローラの動作を示すフロ
ーチャートである。
FIG. 3 is a flowchart showing an operation of the printer controller of FIG.

【図4】図1のプリンタコントローラの動作を示すフロ
ーチャートである。
FIG. 4 is a flowchart showing an operation of the printer controller of FIG.

【図5】本発明に係るプリンタコントローラの第二実施
形態を示すブロック図である。
FIG. 5 is a block diagram showing a second embodiment of the printer controller according to the present invention.

【図6】図5のプリンタコントローラにおける節電管理
回路の一例を示すブロック図である。
6 is a block diagram showing an example of a power saving management circuit in the printer controller of FIG.

【図7】従来のプリンタコントローラの動作を示すフロ
ーチャートである。
FIG. 7 is a flowchart showing the operation of a conventional printer controller.

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

1 CPU 2,2’ プリンタコントローラ 3 メモリ 4 印刷機構 5 LCD(ディスプレイ) 6 操作パネル 7 ホストコンピュータ 21 システムバス制御回路 22,22’ 割り込み制御回路 23,23’ 節電管理回路 24 メモリ制御回路 25 印刷機構制御回路 26 LCD制御回路 27 操作パネル制御回路 28,28’ ホストインタフェース回路 1 CPU 2,2 'printer controller 3 memory 4 printing mechanism 5 LCD (display) 6 Operation panel 7 Host computer 21 System Bus Control Circuit 22, 22 'interrupt control circuit 23, 23 'power saving management circuit 24 Memory control circuit 25 Printing mechanism control circuit 26 LCD control circuit 27 Operation panel control circuit 28, 28 'Host interface circuit

フロントページの続き Fターム(参考) 2C061 AQ06 HH11 HT03 HT06 HT09 HT13 2H027 DA50 EE08 EE09 EF16 EJ15 GA31 5B011 KK11 LL11 5B021 AA02 BB01 BB04 CC05 MM02Continued front page    F-term (reference) 2C061 AQ06 HH11 HT03 HT06 HT09                       HT13                 2H027 DA50 EE08 EE09 EF16 EJ15                       GA31                 5B011 KK11 LL11                 5B021 AA02 BB01 BB04 CC05 MM02

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 プリンタの印刷機構、ディスプレイ及び
操作パネル並びにホストコンピュータに接続され、CP
U及びメモリを含み、当該プリンタを制御するプリンタ
コントローラにおいて、 前記CPU及びメモリの節電状態中に前記印刷機構に対
してステータス・リクエスト・コマンドを送信し、当該
印刷機構からステータスを取得し、そのステータスに応
じて前記CPU及びメモリに対する割り込みを発生さ
せ、当該CPU及びメモリの節電状態を解除する機能を
備えた、 ことを特徴とするプリンタコントローラ。
1. A CP connected to a printing mechanism, a display and an operation panel of a printer, and a host computer.
A printer controller including U and a memory, which controls the printer, transmits a status request command to the printing mechanism while the CPU and the memory are in a power saving state, acquires the status from the printing mechanism, and outputs the status. A printer controller having a function of generating an interrupt to the CPU and the memory according to the above and canceling the power saving state of the CPU and the memory.
【請求項2】 プリンタの印刷機構、ディスプレイ及び
操作パネル並びにホストコンピュータに接続され、CP
U及びメモリを含み、当該プリンタを制御するプリンタ
コントローラにおいて、 前記CPU及びメモリの節電状態中に前記操作パネル上
のスイッチの状態を監視し、その状態に応じて前記CP
U及びメモリに対する割り込みを発生させ、当該CPU
及びメモリの節電状態を解除する機能を備えた、 ことを特徴とするプリンタコントローラ。
2. A CP connected to a printing mechanism of a printer, a display and an operation panel, and a host computer,
A printer controller including a U and a memory for controlling the printer, monitors a state of a switch on the operation panel during a power saving state of the CPU and the memory, and controls the CP according to the state.
Generates an interrupt to U and the memory,
And a printer controller having a function of canceling the power saving state of the memory.
【請求項3】 プリンタの印刷機構、ディスプレイ及び
操作パネル並びにホストコンピュータに接続され、CP
U及びメモリを含み、当該プリンタを制御するプリンタ
コントローラにおいて、 前記CPU及びメモリの節電状態中に前記ホストコンピ
ュータからデータを受信すると、前記CPU及びメモリ
に対する割り込みを発生させ、当該CPU及びメモリの
節電状態を解除する機能を備えた、 ことを特徴とするプリンタコントローラ。
3. A CP connected to a printing mechanism of a printer, a display and an operation panel, and a host computer,
In a printer controller that includes U and a memory and controls the printer, when data is received from the host computer while the CPU and the memory are in the power saving state, an interrupt to the CPU and the memory is generated, and the CPU and the memory are in the power saving state. A printer controller characterized by having a function for canceling.
【請求項4】 プリンタの印刷機構、ディスプレイ及び
操作パネル並びにホストコンピュータに接続され、CP
U及びメモリを含み、当該プリンタを制御するプリンタ
コントローラにおいて、 前記CPU及びメモリの節電状態中に前記ホストコンピ
ュータからデータを受信すると、前記メモリに対する割
り込みを発生させて当該メモリの節電状態を解除し、受
信した前記データをDMA転送で当該メモリに格納後、
前記CPUに対する割り込みを発生させて当該CPUの
節電状態を解除する機能を備えた、 ことを特徴とするプリンタコントローラ。
4. A CP connected to a printing mechanism of a printer, a display and an operation panel, and a host computer,
In a printer controller that includes U and a memory and controls the printer, when data is received from the host computer while the CPU and the memory are in the power saving state, an interrupt is generated for the memory to cancel the power saving state of the memory, After storing the received data in the memory by DMA transfer,
A printer controller having a function of generating an interrupt to the CPU to cancel a power saving state of the CPU.
【請求項5】 割り込み要因によって前記メモリ対する
割り込みを発生させる否かを判断する機能を更に備え
た、 請求項1、2又は3記載のプリンタコントローラ。
5. The printer controller according to claim 1, further comprising a function of determining whether to generate an interrupt for the memory according to an interrupt factor.
【請求項6】 レジスタ設定によって前記節電状態を有
効にし、前記割り込みによって前記節電状態を無効にす
る機能を更に備えた、 請求項1、2、3、4又は5記載のプリンタコントロー
ラ。
6. The printer controller according to claim 1, further comprising a function of enabling the power saving state by register setting and invalidating the power saving state by the interrupt.
【請求項7】 前記レジスタとして前記メモリ用とその
他用との二つを備え、 それぞれ別々に前記節電状態を有効又は無効にする機能
を更に備えた、 請求項6記載のプリンタコントローラ。
7. The printer controller according to claim 6, further comprising two registers, one for the memory and the other for the register, each of which further has a function of enabling or disabling the power saving state.
【請求項8】 前記節電状態になると前記ディスプレイ
に対して表示データを送り続けることにより、当該ディ
スプレイのノイズによる誤表示を防ぐ機能を更に備え
た、 請求項1、2、3、4、5、6又は7記載のプリンタコ
ントローラ。
8. The display device further comprises a function of preventing display error due to noise of the display by continuously transmitting display data to the display when the power saving state is set. The printer controller according to 6 or 7.
JP2001316263A 2001-10-15 2001-10-15 Printer controller Pending JP2003122536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001316263A JP2003122536A (en) 2001-10-15 2001-10-15 Printer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001316263A JP2003122536A (en) 2001-10-15 2001-10-15 Printer controller

Publications (1)

Publication Number Publication Date
JP2003122536A true JP2003122536A (en) 2003-04-25

Family

ID=19134301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001316263A Pending JP2003122536A (en) 2001-10-15 2001-10-15 Printer controller

Country Status (1)

Country Link
JP (1) JP2003122536A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179103A (en) * 2005-12-26 2007-07-12 Fuji Xerox Co Ltd Information processor and method for controlling information processor
JP2008123127A (en) * 2006-11-09 2008-05-29 Fuji Xerox Co Ltd Information processing unit
JP2009187481A (en) * 2008-02-08 2009-08-20 Ricoh Co Ltd Control device and information processor
CN105313497A (en) * 2014-06-02 2016-02-10 精工爱普生株式会社 Information processing device, printing device, and control method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179103A (en) * 2005-12-26 2007-07-12 Fuji Xerox Co Ltd Information processor and method for controlling information processor
JP2008123127A (en) * 2006-11-09 2008-05-29 Fuji Xerox Co Ltd Information processing unit
JP2009187481A (en) * 2008-02-08 2009-08-20 Ricoh Co Ltd Control device and information processor
CN105313497A (en) * 2014-06-02 2016-02-10 精工爱普生株式会社 Information processing device, printing device, and control method
US9552050B2 (en) 2014-06-02 2017-01-24 Seiko Epson Corporation Information processing device, printing device, and control method

Similar Documents

Publication Publication Date Title
JP4685312B2 (en) Data processing system and power saving method
JPH10228340A (en) Electronic device
WO2012152202A1 (en) State control method and device, and portable terminal
EP1472609B1 (en) Low-power bus interface
JP2010140361A (en) Computer system and abnormality detection circuit
JP5477773B2 (en) Image forming apparatus
KR20180011023A (en) Image forming apparatus and power control method for image forming apparatus
JP2002351436A (en) Display device, and method for making display device move to and return from power-saving mode
JP2003076952A (en) Sd memory card host controller and method for controlling clock
US10379597B2 (en) Processor, host device, power saving method of USB device, and computer program
JP2003122536A (en) Printer controller
JP2000020462A (en) Bus system to be applied to computer system
JP6949572B2 (en) Image forming device that realizes power saving and its control method
JP4219601B2 (en) Information processing device
JP2002067449A (en) Imaging apparatus having backup means
JPH0793061A (en) Information processor
JPH06152695A (en) Serial interface circuit
JPH0883133A (en) Computer system and clock control method for the same
JP2002019231A (en) Printer
KR0159726B1 (en) Method of wake-up for a printer
JP2002160423A (en) Image forming device
JP2005004522A (en) Power saving type signal processor and its method
JP2003283325A (en) Control circuit, electronic circuit, and power saving method
JP2022112106A (en) Control device, image forming apparatus, and method for controlling control device
WO2023048833A1 (en) Method and apparatus for managing a controller in a power down state

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041102

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041227

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050308