JPH09118472A - Printing device - Google Patents

Printing device

Info

Publication number
JPH09118472A
JPH09118472A JP30375295A JP30375295A JPH09118472A JP H09118472 A JPH09118472 A JP H09118472A JP 30375295 A JP30375295 A JP 30375295A JP 30375295 A JP30375295 A JP 30375295A JP H09118472 A JPH09118472 A JP H09118472A
Authority
JP
Japan
Prior art keywords
signal
output
level
loading state
circuit
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
JP30375295A
Other languages
Japanese (ja)
Inventor
Shinji Kondo
真司 近藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP30375295A priority Critical patent/JPH09118472A/en
Publication of JPH09118472A publication Critical patent/JPH09118472A/en
Pending legal-status Critical Current

Links

Landscapes

  • Ink Jet (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the load to monitor the charged condition of printing papers by a CPU, and to improve the judging accuracy of the charged condition. SOLUTION: The output signal of a PE sensor 30 is successively latched by latches 21, 22 every time a counter 24 is overflown. When the PE signal is on the low level in two overflows of the counter 24, both output signals of the latches 21, 22 are on the low level, the low level signal is outputted from an XOR gate 25, and when the output of the latch 21 is on the low level, the low level signal (the interrupt signal) is outputted from a latch 23. The interruption to judge the charged condition is performed by a CPU 10 when the level of the output signal of the PE sensor 30 to be held by the latches 21, 22 is same.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタなどの印
字装置であって、ペーパーエンプティー、ペーパージャ
ムなどの印刷用紙の装填状態を検出する機能の改良に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing device such as a printer, and to an improvement in a function of detecting a loading state of printing paper such as paper empty or paper jam.

【0002】[0002]

【従来の技術】従来、上記印字装置としては、図3およ
び図4に示すものが知られている。図3に示すものは、
PE(ペーパーエンプティー)センサ30の出力を印字
装置に備えられたCPU50のポート(Port)52
に直接接続したものである。そして、CPU50のポー
ト(Port)52に現れる電圧レベルの変化をインタ
ーバルタイマーなどによって一定時間毎に監視し、その
レベル変化のあったときにCPU50が、ペーパーエン
プティー、ペーパージャムなどの印刷用紙の装填状態を
判定する。
2. Description of the Related Art Conventionally, as the above-mentioned printing apparatus, those shown in FIGS. 3 and 4 have been known. What is shown in FIG.
The output of the PE (paper empty) sensor 30 is a port 52 of the CPU 50 provided in the printer.
Directly connected to. Then, the change of the voltage level appearing at the port (Port) 52 of the CPU 50 is monitored at regular intervals by an interval timer or the like, and when there is a change in the level, the CPU 50 causes the CPU 50 to load the printing paper such as paper empty or paper jam. To judge.

【0003】また、図4に示すものは、CPU60に接
続されたASIC(Application Specific Integrated
Circuit )のポート72において、PEセンサ30から
出力された検出信号32のレベル変化をインターバルタ
イマーなどによって一定時間毎に監視し、そのレベル変
化のあったときにCPU60が、ペーパーエンプティ
ー、ペーパージャムなどの印刷用紙の装填状態を判定す
る。
Further, FIG. 4 shows an ASIC (Application Specific Integrated) connected to the CPU 60.
Circuit) port 72, a level change of the detection signal 32 output from the PE sensor 30 is monitored at regular intervals by an interval timer or the like, and when there is a level change, the CPU 60 causes the paper empty, paper jam, etc. Determine the loading status of printing paper.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記従来のも
のは、両者共に、ポートのレベル変化を一定時間毎に監
視する機能をCPUに備えなければならない。したがっ
て、その監視機能を備える分、CPUの演算処理が複雑
となるため、CPUの負担が大きくなるという問題があ
る。
However, in both of the above-mentioned conventional devices, the CPU must be provided with a function of monitoring the level change of the port at regular intervals. Therefore, since the monitoring function is provided, the arithmetic processing of the CPU becomes complicated, and there is a problem that the load of the CPU becomes large.

【0005】また、上記従来のものは、両者共に、ポー
トのレベル変化が1回あった場合に、CPUが印刷用紙
の装填状態を判定するため、上記検出信号に外来ノイズ
が侵入した場合に、レベル変化のあったものと誤判定す
るおそれがある。つまり、判定精度が低いという問題も
ある。
In both of the above-mentioned conventional systems, the CPU determines the loading state of the printing paper when the level of the port changes once, so that when external noise enters the detection signal, There is a risk of erroneously determining that the level has changed. That is, there is also a problem that the determination accuracy is low.

【0006】そこで、本発明は、上述した課題を解決す
るためになされたものであり、その目的とするところ
は、CPUの印刷用紙の装填状態を判定するための処理
を簡易なものとすることにより、CPUの負担を軽減
し、さらに、印刷用紙の装填状態の判定精度を高めるこ
とができる印字装置を提供することにある。
Therefore, the present invention has been made in order to solve the above-mentioned problems, and an object of the present invention is to simplify the processing for determining the loading state of the printing paper of the CPU. Accordingly, it is an object of the present invention to provide a printing device that can reduce the load on the CPU and can improve the accuracy of determining the loading state of printing paper.

【0007】[0007]

【課題を解決するための手段】本発明は、上記目的を達
成するため、請求項1に記載の発明では、印刷用紙の装
填状態を検出する装填状態検出手段と、この装填状態検
出手段から出力された検出信号を入力して前記印刷用紙
の装填状態を判定する装填状態判定を含む演算処理を行
う演算処理装置と、を備えた印字装置において、前記装
填状態検出手段から出力される検出信号のレベルを少な
くとも2回検出するとともに、それら検出されたレベル
が同じ所定のレベルである場合に、前記装填状態判定を
実行させる命令信号を前記演算処理装置へ出力する命令
信号出力手段が備えられたという技術的手段を採用す
る。
In order to achieve the above object, the present invention provides a loading state detecting means for detecting a loading state of printing paper, and an output from the loading state detecting means. In the printing apparatus including an arithmetic processing device that inputs the generated detection signal and performs the arithmetic processing including the loading state determination that determines the loading state of the printing paper, the detection signal output from the loading state detection unit is included. A command signal output means is provided for detecting the level at least twice and outputting a command signal for executing the loaded state determination to the arithmetic processing device when the detected levels are the same predetermined level. Adopt technical means.

【0008】請求項2に記載の発明では、請求項1に記
載の印字装置において、前記命令信号出力手段には、前
記装填状態検出手段から出力される検出信号を保持する
第1の保持回路と、この第1の保持回路に前記検出信号
が保持されてから、前記第1の保持回路の前記検出信号
を入力して保持する第2の保持回路と、前記第1および
第2の保持回路が保持した検出信号が、同じ所定のレベ
ルである場合に、前記命令信号を出力する出力回路と、
が備えられてなるという技術的手段を採用する。
According to a second aspect of the present invention, in the printing apparatus according to the first aspect, the command signal output means includes a first holding circuit for holding the detection signal output from the loading state detection means. A second holding circuit for inputting and holding the detection signal of the first holding circuit after the detection signal is held in the first holding circuit, and the first and second holding circuits. An output circuit that outputs the command signal when the held detection signals have the same predetermined level,
The technical means of being equipped is adopted.

【0009】請求項3に記載の発明では、請求項2に記
載の印字装置において、前記出力回路には、前記第1お
よび第2の保持回路が保持した検出信号が、同じレベル
であるときに信号を出力する第1の出力回路と、この第
1の出力回路から出力された信号のレベルの変化に基づ
いて、前記第1の保持回路が検出した信号を前記命令信
号として出力する第2の出力回路と、が備えられたとい
う技術的手段を採用する。
According to a third aspect of the present invention, in the printing apparatus according to the second aspect, when the detection signals held by the first and second holding circuits are at the same level, the output circuit has the same level. A first output circuit that outputs a signal, and a second output circuit that outputs the signal detected by the first holding circuit as the command signal based on a change in the level of the signal output from the first output circuit. And an output circuit is provided.

【0010】請求項4に記載の発明では、請求項1ない
し3のいずれか1つに記載のインクジェットプリンタに
おいて、前記印刷用紙へインクを吐出して印字を行う印
字ヘッドを備えたという技術的手段を採用する。なお、
上記印字装置には、インクジェットプリンタ、ワイヤー
ドットプリンタ、サーマルプリンタなどのプリンタ類の
他、ファクシミリや複写装置など、印刷用紙の装填状態
をCPUにより判定する機能を備えた機器が含まれる。
According to a fourth aspect of the present invention, in the ink jet printer according to any one of the first to third aspects, a technical means is provided with a print head that ejects ink onto the printing paper to perform printing. To adopt. In addition,
The printing device includes printers such as an inkjet printer, a wire dot printer, and a thermal printer, as well as devices such as a facsimile machine and a copying machine having a function of determining a loading state of printing paper by a CPU.

【0011】[0011]

【作用】請求項1ないし4に記載の発明では、上記装填
状態検出手段から出力される検出信号のレベルを少なく
とも2回検出するとともに、それら検出されたレベルが
同じ所定のレベルである場合に、上記装填状態判定を実
行させる命令信号を上記演算処理装置へ出力することが
できる。したがって、1回の検出のみで装填状態判定を
実行させるものよりも、誤判定が少なく、判定精度を高
めることができる。しかも、上記装填状態判定を実行さ
せる命令信号を上記演算処理装置へ出力することができ
るため、上記演算処理装置に上記装填状態を一定時間毎
に監視する機能を持たせる必要はなく、その分、上記演
算処理装置の負担を軽減することができる。
According to the present invention, the level of the detection signal output from the loading state detecting means is detected at least twice, and when the detected levels are the same predetermined level, A command signal for executing the loaded state determination can be output to the arithmetic processing device. Therefore, erroneous determination is less than that in the case where the loaded state determination is executed by only one detection, and the determination accuracy can be improved. Moreover, since the command signal for executing the loaded state determination can be output to the arithmetic processing device, it is not necessary to provide the arithmetic processing device with a function of monitoring the loaded state at regular intervals. The burden on the arithmetic processing device can be reduced.

【0012】特に、請求項2または3に記載の発明で
は、第1の保持回路によって上記装填状態検出手段から
出力される検出信号を検出して保持することができ、第
2の保持回路によって上記第1の保持回路に上記第1の
レベルが保持されてから、その第1の保持回路の上記検
出信号を入力して保持することができる。そして、上記
第1および第2の保持回路が保持した検出信号が、同じ
所定のレベルである場合に、上記第1の出力回路が信号
を出力する。その信号に基づいて第2の出力回路が、上
記第1の保持回路の検出した信号を命令信号として上記
演算処理装置へ出力し、その演算処理装置によって装填
状態の判定が実行される。つまり、一方のレベルが外来
ノイズなどの侵入によるものである場合などには、上記
命令信号は、上記演算処理装置へ出力されないため、上
記演算処理装置の誤判定を防止することができる。
Particularly, in the invention described in claim 2 or 3, the first holding circuit can detect and hold the detection signal output from the loading state detecting means, and the second holding circuit can hold the detection signal. After the first level is held in the first holding circuit, the detection signal of the first holding circuit can be input and held. Then, when the detection signals held by the first and second holding circuits have the same predetermined level, the first output circuit outputs a signal. Based on the signal, the second output circuit outputs the signal detected by the first holding circuit as an instruction signal to the arithmetic processing device, and the arithmetic processing device determines the loaded state. In other words, when one level is caused by the intrusion of external noise or the like, the command signal is not output to the arithmetic processing device, so that the erroneous determination of the arithmetic processing device can be prevented.

【0013】また、請求項4に記載の発明では、上記印
刷用紙へインクを吐出して印字を行う印字ヘッドを備え
たインクジェットプリンタにおいても、上記請求項1な
いし3のいずれか1つに記載の発明を適用することがで
きる。
Further, in the invention described in claim 4, an ink jet printer having a print head for ejecting ink onto the printing paper to perform printing is also described in any one of claims 1 to 3. The invention can be applied.

【0014】[0014]

【発明の実施の形態】以下、本発明を具体化した実施の
形態について図を参照して説明する。なお、本実施例で
は、本発明に係る印字装置として、インクジェットプリ
ンタ、ワイヤードットプリンタ、サーマルプリンタなど
のシリアルプリンタを代表に説明する。図1は、上記プ
リンタのペーパーエンプティーを検出するための制御系
の構成を示すブロック図である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. In this embodiment, as a printing apparatus according to the present invention, a serial printer such as an inkjet printer, a wire dot printer, a thermal printer will be described as a representative. FIG. 1 is a block diagram showing the configuration of a control system for detecting the paper empty of the printer.

【0015】図1に示すように、プリンタに内蔵された
演算処理装置、すなわちCPU10には、図示しない周
知の印字機構、紙送り機構および本発明に係る命令信号
出力手段としての命令信号出力回路20が接続されてお
り、この命令信号出力回路20には、ペーパーエンプテ
ィー(印刷用紙の無い状態)を検出するPEセンサ30
が接続されている。命令信号出力回路20は、PEセン
サ30の検出信号(PE信号)を入力して保持する第1
の保持回路としてのラッチ21が備えられている。この
ラッチ21には、ラッチ21から出力される信号を入力
して保持する、第2の保持回路としてのラッチ22が接
続されている。なお、上記命令信号出力回路20は、C
PU10に接続されているASIC(図示省略)内に設
けられており、そのASICは、CPU10の制御の下
にプリンタの各種動作を行うハードウエア回路によって
構成される。。
As shown in FIG. 1, an arithmetic processing unit built in the printer, that is, a CPU 10, has a well-known printing mechanism (not shown), a paper feeding mechanism, and a command signal output circuit 20 as command signal output means according to the present invention. Is connected to the command signal output circuit 20. The PE sensor 30 for detecting paper empty (the state where there is no printing paper) is connected to the command signal output circuit 20.
Is connected. The command signal output circuit 20 receives the detection signal (PE signal) of the PE sensor 30 and holds it.
The latch 21 is provided as a holding circuit for the. The latch 21 is connected to a latch 22 as a second holding circuit for inputting and holding the signal output from the latch 21. The command signal output circuit 20 is C
It is provided in an ASIC (not shown) connected to the PU 10, and the ASIC is configured by a hardware circuit that performs various operations of the printer under the control of the CPU 10. .

【0016】上記ラッチ21および22には、カウンタ
24が接続されており、ラッチ21および22の保持時
間は、カウンタ24のオーバーフローしたときまでであ
る。また、ラッチ21および22の出力側には、第1の
出力回路としてのXORゲート25が接続されており、
このXORゲート25およびラッチ21の出力側には、
第2の出力回路としてのラッチ23が接続されている。
つまり、XORゲート25の出力は、ラッチ21および
22の出力が同じレベルでない場合には、ハイレベルと
なり、同じレベルである場合には、ローレベルとなる。
また、ラッチ23の出力は、XORゲート25の出力が
ハイレベルからローレベルに変化した時点から、ラッチ
21の出力信号レベルを出力するようになっている。
A counter 24 is connected to the latches 21 and 22, and the holding time of the latches 21 and 22 is until the counter 24 overflows. An XOR gate 25 as a first output circuit is connected to the output sides of the latches 21 and 22,
On the output side of the XOR gate 25 and the latch 21,
A latch 23 as a second output circuit is connected.
That is, the output of the XOR gate 25 becomes high level when the outputs of the latches 21 and 22 are not at the same level, and becomes low level when they are at the same level.
The output of the latch 23 outputs the output signal level of the latch 21 when the output of the XOR gate 25 changes from the high level to the low level.

【0017】つまり、このラッチ23から出力されるレ
ベル変化信号が、CPU10に割り込み処理を実行させ
るためのインターラプト(Interrupt )信号であり、C
PU10は、そのインターラプト信号を入力したとき
に、ペーパーエンプティーを判定するための割り込み処
理を行い、その処理結果は、印字動作、紙送り動作を制
御するとともに、プリンタに備えられたペーパーエンプ
ティーランプの点灯などにより知らされる。なお、上記
ラッチ21ないし23は、ゲートアレイなどで構成され
ており、上記XORゲート25およびラッチ23が、本
発明に係る出力回路に相当する。
That is, the level change signal output from the latch 23 is an interrupt signal for causing the CPU 10 to execute interrupt processing, and C
When the PU 10 receives the interrupt signal, the PU 10 performs an interrupt process for determining the paper empty, and the processing result controls the printing operation and the paper feeding operation, and the paper empty lamp of the printer is provided. Informed by lighting. The latches 21 to 23 are composed of a gate array or the like, and the XOR gate 25 and the latch 23 correspond to the output circuit according to the present invention.

【0018】次に、命令信号出力回路20の動作につい
て図2を参照して説明する。図2は、PEセンサ30か
ら出力される検出信号(PE信号)、カウンタ24のカ
ウント信号、ラッチ21ないし23のQ出力信号および
XORゲート25の出力信号を示すタイミングチャート
である。なお、本例では、印刷用紙がなくなった場合、
すなわちPE状態(図2のt7〜t15)に、PE信号
が、ハイレベルからローレベルに変化するものとし、図
2において、PE状態以外にローレベルに変化している
部分、または、上記PE状態でハイレベルに変化してい
る部分は、外来ノイズなどの侵入による変化である。ま
た、カウンタ24は、1サイクル(1組のハイレベルお
よびローレベル)でオーバーフローするものとする。
Next, the operation of the command signal output circuit 20 will be described with reference to FIG. FIG. 2 is a timing chart showing the detection signal (PE signal) output from the PE sensor 30, the count signal of the counter 24, the Q output signals of the latches 21 to 23, and the output signal of the XOR gate 25. In this example, if the printing paper runs out,
That is, in the PE state (t7 to t15 in FIG. 2), the PE signal is assumed to change from the high level to the low level, and in FIG. The part that changes to high level at is the change due to the intrusion of external noise. Further, the counter 24 is assumed to overflow in one cycle (one set of high level and low level).

【0019】まず、PEセンサ30から出力されたPE
信号が、外来ノイズなどの侵入により、ローレベル信号
に変化すると(t1)、そのローレベル信号は、カウン
タ24のオーバーフローによりゲートがオープンしたラ
ッチ21により保持される(t2)。この保持は、次の
カウンタ24のオーバーフローまで行われ(t4)、次
にオープンしたラッチ22に引き継がれて保持される
(t4〜t5)。ここで、上記時刻t1から2回目のカ
ウンタ24のオーバーフロー(t4)のとき、PE信号
が既にハイレベル信号に戻っているため、ラッチ21に
そのハイレベル信号が保持される。したがって、上記カ
ウンタ24の1回目、2回目のオーバーフロー後の各期
間(t2〜t4、t4〜t5)では、ラッチ21および
ラッチ22のQ出力は、同じレベルではないため、ラッ
チ21およびラッチ22のQ出力を入力するXORゲー
ト25の出力は、ハイレベル信号となる(t2〜t
5)。そして、上記時刻t1から3回目のカウンタ24
のオーバーフロー(t5)のとき、ラッチ21およびラ
ッチ22のQ出力は、同じレベルであるため、XORゲ
ート25の出力は、ローレベル信号となり(t5〜t
8)、ラッチ23はラッチ21のQ出力であるハイレベ
ル信号を出力する。つまり、ラッチ23の出力信号は、
ハイレベルのままで変化していないため、インターラプ
ト信号は出力されない。したがって、上記のように外来
ノイズが侵入した場合であっても、CPU10が、誤っ
てペーパーエンプティーを判断するおそれがない。
First, the PE output from the PE sensor 30.
When the signal changes to a low level signal due to intrusion of external noise or the like (t1), the low level signal is held by the latch 21 whose gate is opened due to the overflow of the counter 24 (t2). This holding is carried out until the next overflow of the counter 24 (t4), and is taken over and held by the latch 22 opened next (t4 to t5). Here, when the counter 24 overflows (t4) for the second time from the time t1, the PE signal has already returned to the high level signal, and therefore the latch 21 holds the high level signal. Therefore, in each period (t2 to t4, t4 to t5) after the first and second overflows of the counter 24, the Q outputs of the latch 21 and the latch 22 are not at the same level, so that the latch 21 and the latch 22 have the same Q output. The output of the XOR gate 25 that receives the Q output becomes a high level signal (t2 to t).
5). Then, the counter 24 at the third time from the time t1
In the overflow (t5), the Q outputs of the latch 21 and the latch 22 are at the same level, so the output of the XOR gate 25 becomes a low level signal (t5 to t5).
8), the latch 23 outputs a high level signal which is the Q output of the latch 21. That is, the output signal of the latch 23 is
The interrupt signal is not output because it remains at the high level and does not change. Therefore, even if external noise enters as described above, the CPU 10 does not erroneously determine the paper empty.

【0020】次に、時刻t8では、すでにPE信号は、
ローレベル信号、つまり、ペーパーエンプティーを示す
信号となっているため、このローレベル信号は、ラッチ
21によって保持される。このとき、ラッチ22は、ラ
ッチ21が時刻t6〜t8まで保持していたハイレベル
信号を受け継いで、時刻t8〜t9まで保持する。そし
て、上記PE信号がローレベル信号になって(t7)か
ら、カウンタ24の2回目のオーバーフロー(t9)の
ときも、PE信号がローレベル信号を維持していると、
ラッチ21もそのローレベル信号を続いて保持する。こ
のとき、1回目のオーバーフロー後(t8〜t9)のラ
ッチ21のローレベル信号をラッチ22が受け継いで保
持する。したがって、カウンタ24が2回目にオーバー
フローしたとき、ラッチ21および22のQ出力信号
が、共に同じレベル(ローレベル)となる。そして、X
OR25の出力信号もハイレベルからローレベルとな
り、ラッチ21のQ出力信号もローレベルであるから、
ラッチ23の出力信号は、時刻t9からローレベルに変
化する。
Next, at time t8, the PE signal has already become
Since it is a low level signal, that is, a signal indicating paper empty, this low level signal is held by the latch 21. At this time, the latch 22 inherits the high-level signal held by the latch 21 from time t6 to t8 and holds it from time t8 to t9. When the PE signal becomes the low level signal (t7) and the PE signal maintains the low level signal even after the second overflow (t9) of the counter 24,
The latch 21 also holds the low level signal continuously. At this time, the latch 22 inherits and holds the low level signal of the latch 21 after the first overflow (t8 to t9). Therefore, when the counter 24 overflows for the second time, the Q output signals of the latches 21 and 22 both become the same level (low level). And X
Since the output signal of the OR25 also changes from high level to low level, and the Q output signal of the latch 21 is also low level,
The output signal of the latch 23 changes to the low level from time t9.

【0021】上記ラッチ23からの出力信号のローレベ
ル状態は、PE信号がハイレベル信号に変化して(t1
5)、その状態がカウンタ24が2回オーバーフローす
る間まで(本例では時刻t9〜t17まで)維持され
る。そして、このラッチ23から出力されたローレベル
信号は、インターラプト信号として、CPU10へ割り
込み入力され、CPUは、他の演算処理を停止して、ペ
ーパーエンプティー判定用のプログラムを実行する。続
いて、そのプログラムの処理結果が、印字動作、紙送り
動作を制御するとともに、プリンタに備えられたペーパ
ーエンプティーランプの点灯などにより知らされる。
In the low level state of the output signal from the latch 23, the PE signal changes to a high level signal (t1
5) The state is maintained until the counter 24 overflows twice (from time t9 to t17 in this example). Then, the low level signal output from the latch 23 is interrupted and input to the CPU 10 as an interrupt signal, and the CPU stops other arithmetic processing and executes the paper empty determination program. Subsequently, the processing result of the program is notified by controlling the printing operation and the paper feeding operation and turning on the paper empty lamp provided in the printer.

【0022】このように、上記実施の形態に係るプリン
タによれば、CPU10は、割り込み処理をかけられた
場合にのみ、ペーパーエンプティー状態を判定すればよ
いため、割り込み処理を行う場合以外のときは、他の演
算処理を実行することができる。つまり、従来のよう
に、一定時間毎にペーパーエンプティー状態を監視する
必要がないため、普段は、CPUの機能を印字動作、紙
送り動作などのための他の演算処理に用いることができ
る。したがって、CPUの負担を軽減して信頼性を高め
ることができる。
As described above, according to the printer according to the above-described embodiment, the CPU 10 only has to determine the paper empty state when the interrupt process is applied. Therefore, when the interrupt process is not performed, , Other arithmetic processing can be executed. That is, unlike the conventional case, it is not necessary to monitor the paper empty state at regular time intervals, and thus the function of the CPU can be normally used for other arithmetic processing such as printing operation and paper feeding operation. Therefore, the burden on the CPU can be reduced and the reliability can be improved.

【0023】しかも、PE信号のレベルを2度検出して
2度共同じであった場合にのみ、CPUに割り込み処理
をかけるため、CPUが誤ってペーパーエンプティー状
態を判定するおそれがない。したがって、印刷用紙の装
填状態の判定精度を高めることができる。さらに、上記
命令信号出力回路20は、ASIC全体の回路規模から
すれば、ほんの僅かな量であるため、命令信号出力回路
20をASIC設計時に組み込むようにすれば、コスト
アップをほとんど招くことなく、上記プリンタを実現す
ることができる。
Moreover, the interrupt processing is applied to the CPU only when the level of the PE signal is detected twice and the PE signal level is the same twice, so that the CPU does not erroneously judge the paper empty state. Therefore, it is possible to improve the determination accuracy of the loading state of the printing paper. Further, since the command signal output circuit 20 is a very small amount in view of the circuit scale of the ASIC as a whole, if the command signal output circuit 20 is incorporated at the time of designing the ASIC, the cost is hardly increased. The above printer can be realized.

【0024】なお、上記実施の形態では、印刷用紙の装
填状態の一例として、ペーパーエンプティー状態につい
て説明したが、本発明は、ペーパージャム状態などを検
出する用途にも適用することができる。また、上記実施
の形態では、PE信号のレベルを2回検出する構成を採
ったが、ラッチやゲート回路を増設して3回以上の検出
を行い、その検出したレベルが総て同じである場合にの
み、インターラプト信号をCPU10へ出力する構成に
することもできる。さらに、上記実施の形態では、本発
明を印字装置の一例として、プリンタに適用した場合に
ついて説明したが、ファクシミリや複写装置など、印刷
用紙の装填状態をCPUにより判定する機能を備えたも
のであれば、他の機器にも適用することができる。
In the above embodiment, the paper empty state has been described as an example of the loading state of the printing paper, but the present invention can also be applied to the purpose of detecting the paper jam state and the like. Further, in the above-described embodiment, the PE signal level is detected twice. However, when the latches and gate circuits are added to detect three or more times, and the detected levels are all the same. Only, the interrupt signal may be output to the CPU 10. Further, in the above-described embodiment, the case where the present invention is applied to the printer as an example of the printing device has been described, but the present invention may be applied to a device such as a facsimile machine or a copying machine having a function of determining the loading state of the printing paper by the CPU. For example, it can be applied to other devices.

【0025】[0025]

【発明の効果】以上記述したように本発明によれば、装
填状態判定を実行させる命令信号を演算処理装置へ出力
することができるため、演算処理装置は、上記命令信号
を入力したときに上記装填状態判定を実行すればよく、
その判定を実行するとき以外は、他の演算処理を行うこ
とができる。つまり、演算処理装置の負担を軽減するこ
とができる。しかも、印刷用紙の装填状態検出手段から
出力される検出信号のレベルを少なくとも2回検出する
とともに、それら検出されたレベルが同じ所定のレベル
である場合に、演算処理装置に装填状態判定を実行させ
ることができるため、装填状態の検出精度を高めること
ができる。
As described above, according to the present invention, since the command signal for executing the loaded state determination can be output to the arithmetic processing device, the arithmetic processing device receives the above command signal when it receives the command signal. It suffices to execute the loading state judgment,
Other arithmetic processing can be performed except when the determination is performed. That is, the burden on the arithmetic processing device can be reduced. Moreover, the level of the detection signal output from the loading state detection means of the printing paper is detected at least twice, and when the detected levels are the same predetermined level, the arithmetic processing unit executes the loading state determination. Therefore, it is possible to improve the detection accuracy of the loaded state.

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

【図1】本発明実施の形態に係る印字装置の印刷用紙の
装填状態を判定する構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration for determining a loading state of printing paper of a printing apparatus according to an embodiment of the present invention.

【図2】図1のブロック図における各ブロックから出力
される信号のタイミングチャートである。
FIG. 2 is a timing chart of signals output from each block in the block diagram of FIG.

【図3】従来の印字装置の印刷用紙の装填状態を判定す
る構成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration for determining a loading state of printing paper in a conventional printing device.

【図4】従来の印字装置の印刷用紙の装填状態を判定す
る構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration for determining a loading state of printing paper in a conventional printing device.

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

10 CPU 20 命令信号出力回路 30 PEセンサ 10 CPU 20 Command signal output circuit 30 PE sensor

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 印刷用紙の装填状態を検出する装填状態
検出手段と、 この装填状態検出手段から出力された検出信号を入力し
て前記印刷用紙の装填状態を判定する装填状態判定を含
む演算処理を行う演算処理装置と、 を備えた印字装置において、 前記装填状態検出手段から出力される検出信号のレベル
を少なくとも2回検出するとともに、それら検出された
レベルが同じ所定のレベルである場合に、前記装填状態
判定を実行させる命令信号を前記演算処理装置へ出力す
る命令信号出力手段が備えられたことを特徴とする印字
装置。
1. An arithmetic process including a loading state detecting means for detecting a loading state of printing paper, and a loading state determination for determining a loading state of the printing paper by inputting a detection signal output from the loading state detecting means. In a printing apparatus including: an arithmetic processing unit that performs the above-mentioned, the level of the detection signal output from the loading state detection unit is detected at least twice, and when the detected levels are the same predetermined level, A printing apparatus comprising: a command signal output means for outputting a command signal for executing the loaded state determination to the arithmetic processing unit.
【請求項2】 前記命令信号出力手段には、 前記装填状態検出手段から出力される検出信号を保持す
る第1の保持回路と、 この第1の保持回路に前記検出信号が保持されてから、
前記第1の保持回路の前記検出信号を入力して保持する
第2の保持回路と、 前記第1および第2の保持回路が保持した検出信号が、
同じ所定のレベルである場合に、前記命令信号を出力す
る出力回路と、 が備えられてなることを特徴とする請求項1に記載の印
字装置。
2. The command signal output means includes a first holding circuit that holds the detection signal output from the loading state detection means, and the first holding circuit holds the detection signal,
A second holding circuit for inputting and holding the detection signal of the first holding circuit, and a detection signal held by the first and second holding circuits,
The printing device according to claim 1, further comprising: an output circuit that outputs the command signal when the predetermined levels are the same.
【請求項3】 前記出力回路には、 前記第1および第2の保持回路が保持した検出信号が、
同じレベルであるときに信号を出力する第1の出力回路
と、 この第1の出力回路から出力された信号のレベルの変化
に基づいて、前記第1の保持回路が検出した信号を前記
命令信号として出力する第2の出力回路と、 が備えられたことを特徴とする請求項2に記載の印字装
置。
3. The detection signal held by the first and second holding circuits is supplied to the output circuit,
A first output circuit that outputs a signal when they are at the same level, and a signal detected by the first holding circuit based on a change in the level of the signal output from the first output circuit, the command signal The printer according to claim 2, further comprising: a second output circuit for outputting as.
【請求項4】 前記印刷用紙へインクを吐出して印字を
行う印字ヘッドを備えたことを特徴とする請求項1ない
し3のいずれか1つに記載のインクジェットプリンタ。
4. The inkjet printer according to claim 1, further comprising a print head that discharges ink onto the printing paper to print.
JP30375295A 1995-10-26 1995-10-26 Printing device Pending JPH09118472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30375295A JPH09118472A (en) 1995-10-26 1995-10-26 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30375295A JPH09118472A (en) 1995-10-26 1995-10-26 Printing device

Publications (1)

Publication Number Publication Date
JPH09118472A true JPH09118472A (en) 1997-05-06

Family

ID=17924852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30375295A Pending JPH09118472A (en) 1995-10-26 1995-10-26 Printing device

Country Status (1)

Country Link
JP (1) JPH09118472A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105223791A (en) * 2014-06-30 2016-01-06 京瓷办公信息系统株式会社 Electronic equipment
JP2016012051A (en) * 2014-06-30 2016-01-21 京セラドキュメントソリューションズ株式会社 Electronic apparatus
JP2016012052A (en) * 2014-06-30 2016-01-21 京セラドキュメントソリューションズ株式会社 Electronic apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105223791A (en) * 2014-06-30 2016-01-06 京瓷办公信息系统株式会社 Electronic equipment
JP2016012051A (en) * 2014-06-30 2016-01-21 京セラドキュメントソリューションズ株式会社 Electronic apparatus
JP2016012052A (en) * 2014-06-30 2016-01-21 京セラドキュメントソリューションズ株式会社 Electronic apparatus
US9766279B2 (en) 2014-06-30 2017-09-19 Kyocera Document Solutions Inc. Electronic apparatus preventing erroneous detection of sensor output due to AC line noise and erroneous detection prevention method

Similar Documents

Publication Publication Date Title
US6772260B2 (en) Device for and method of generating interrupt signals
KR101534974B1 (en) Micro core monitoring apparatus and method thereof
JPH09118472A (en) Printing device
JP6402798B2 (en) Control device for vehicle power window device
JPH0769480A (en) Image former
JP2001277680A (en) Printing equipment and controlling method therefor
JP2001337838A (en) Device for generating interrupt signal to central processing unit and method of interruption
JPH01199242A (en) Abnormality detector of microcomputer system
JP3452722B2 (en) Printer
JPH09167107A (en) Abnormality monitoring device for microcomputer
KR930000183B1 (en) Serial printer
JP3162805B2 (en) Image forming device
KR950001202B1 (en) Head gap control device and method in printer
SU962913A1 (en) Device for registering malfanctions of electronic computer
KR100509463B1 (en) Paper Sensor of Printer
JPS6083053A (en) Automatic toner replenishing device
JPH03130184A (en) Jam detection system of serial printer
JPH0365739A (en) Control device
JPH0452160A (en) Printer device
JPS643671B2 (en)
JPS6039615B2 (en) Paper jam detection device
JPS59188628A (en) Method for coping with abnormality of copying machine
JPS59178272A (en) Exciting current detecting system for hammer in impact-type printer
JPH0612292A (en) Microcomputer
JPS60109880A (en) Printer

Legal Events

Date Code Title Description
A02 Decision of refusal

Effective date: 20031216

Free format text: JAPANESE INTERMEDIATE CODE: A02