Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0236005B2 - - Google Patents
[go: Go Back, main page]

JPH0236005B2 - - Google Patents

Info

Publication number
JPH0236005B2
JPH0236005B2 JP58041870A JP4187083A JPH0236005B2 JP H0236005 B2 JPH0236005 B2 JP H0236005B2 JP 58041870 A JP58041870 A JP 58041870A JP 4187083 A JP4187083 A JP 4187083A JP H0236005 B2 JPH0236005 B2 JP H0236005B2
Authority
JP
Japan
Prior art keywords
error
error information
control unit
central control
drive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP58041870A
Other languages
Japanese (ja)
Other versions
JPS59167746A (en
Inventor
Takamitsu Abe
Hiroyuki Nakamura
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.)
Tohoku Ricoh Co Ltd
Original Assignee
Tohoku Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tohoku Ricoh Co Ltd filed Critical Tohoku Ricoh Co Ltd
Priority to JP58041870A priority Critical patent/JPS59167746A/en
Publication of JPS59167746A publication Critical patent/JPS59167746A/en
Publication of JPH0236005B2 publication Critical patent/JPH0236005B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Digital Computer Display Output (AREA)
  • Facsimiles In General (AREA)

Description

【発明の詳細な説明】 技術分野 この発明は、マイクロコンピユータ等で制御さ
れるプリンタのエラー情報表示装置に係り、特に
エラー情報の表示用として専用の出力端子や信号
線等を設ける必要なしに、多種類のエラー情報を
表示することにより、容易にその内容が検知でき
るようにしたエラー情報表示装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to an error information display device for a printer controlled by a microcomputer or the like. The present invention relates to an error information display device that displays many types of error information so that its contents can be easily detected.

従来技術 一般にプリンタでは、印字動作中はキヤリツジ
その他の機構部が高速度で動いており、多くのプ
リンタは、オペレータの安全性や装置の保護等の
観点から、異常の発生が検知されたときは、少な
くともその動作を停止させるように制御してい
る。また、機種によつては、すべての駆動系を非
能動状態にして、あたかも電源スイツチを遮断し
たのと同じような状態にしている。
Prior Art In general, the carriage and other mechanical parts of printers move at high speed during printing operations, and many printers do not immediately respond when an abnormality is detected from the viewpoint of operator safety and equipment protection. , at least the operation is controlled to be stopped. Also, depending on the model, all drive systems are put into a non-active state, similar to when the power switch is turned off.

例えば、デイジーホイール型シリアルプリンタ
の場合には、デイジーホイールの活年体を選択す
るためのセレクシヨン動作や、キヤリツジを行方
向へ移動させるスペーシング動作等が行われてい
る。そして、セレクシヨン動作では、ホイールを
モータによつて回転させ、またスペーシング動作
では、ハンマーユニツトやリボンユニツト等を搭
載したキヤリツジを印字位置へモータで移動させ
るようにしている。
For example, in the case of a daisy wheel type serial printer, a selection operation for selecting the active part of the daisy wheel, a spacing operation for moving the carriage in the row direction, etc. are performed. In the selection operation, the wheel is rotated by a motor, and in the spacing operation, a carriage carrying a hammer unit, a ribbon unit, etc. is moved to a printing position by a motor.

従来から、多くのプリンタでは、このようなセ
レクシヨン動作やスペーシング動作の制御には、
位置決めの精度がよいこと等からサーボ系が用い
られている。サーボ系は閉ループ構成であるた
め、系内の異常のうち、いくつかの異常はその制
御部で検知できるという利点もある。
Conventionally, in many printers, such selection and spacing operations are controlled by
Servo systems are used because of their high positioning accuracy. Since the servo system has a closed loop configuration, it also has the advantage that some abnormalities within the system can be detected by its control unit.

プリンタ側の機械的な動作に関する異常の中
で、検知できるものは、例えばタイムアウトエラ
ーやハンチングエラー等である。
Among abnormalities related to mechanical operations on the printer side, those that can be detected include, for example, timeout errors and hunting errors.

タイムアウトエラーは、サーボ系がモータを駆
動しようとしているのにもかかわらず、モータが
回転しない異常であり、例えばセレクシヨン動作
中に、ホイールがハンマー等に引つかかつて回転
しないとき等に発生する。
A timeout error is an abnormality in which the motor does not rotate even though the servo system is trying to drive the motor. For example, this occurs when the wheel is caught by a hammer or the like or does not rotate during a selection operation.

また、ハンチングエラーは、サーボ系の負荷が
急に変化したときや、本来モータが停止している
べき状態で回転したとき、例えばセレクシヨン動
作中の停止状態時に、ホイールを指で無理に回転
させようとした場合等に発生する。
Hunting errors can also occur when the load on the servo system suddenly changes, or when the motor rotates when it should have stopped, for example when the wheel is stopped during a selection operation, when the wheel is forcibly rotated with one's fingers. This occurs when

これらのタイムアウトエラーやハンチングエラ
ーは、スペーシング動作中においても発生する。
These timeout errors and hunting errors occur even during spacing operations.

その他、印字動作中には、ホストシステムから
入力されるコマンドが未定義であつたときには、
コマンドエラー等が発生し、その異常も検知する
ことができる。
In addition, if the command input from the host system is undefined during printing,
If a command error or the like occurs, it is possible to detect the abnormality.

ところで、従来のプリンタでは、このような異
常が発生した場合に、そのエラー情報をどのよう
に外部へ表示させるかというと、(1)エラー情報を
全然外部へ出力しないもの、(2)ホストシステムと
のインタフエースを介してステータス情報として
ホストシステムへ与えるもの、(3)制御部からの出
力端子をエラー情報出力用に使用して発光素子等
を点灯するもの、等のいずれかの方法が採用され
ていた。
By the way, with conventional printers, when such an abnormality occurs, how can the error information be displayed externally? (3) use the output terminal from the control unit to output error information to light up a light emitting element, etc. It had been.

まず、(1)のエラー情報の表示機能を有しないプ
リンタの場合には、異常が発生したときには、そ
の点検修理に著しく手間がかかる。
First, in the case of a printer that does not have the function of displaying error information (1), when an abnormality occurs, it takes a considerable amount of time to inspect and repair it.

例えば、動作中に使用部品の故障でサーボ系の
回路定数が変化したり、ごみ等の異物の混入によ
り負荷が変化した場合に、タイムアウトエラーや
ハンチングエラーが発生して、プリンタの動作が
停止すると、最初にその原因から調べなければな
らない。
For example, if the circuit constants of the servo system change due to a failure of a used part during operation, or if the load changes due to the introduction of foreign matter such as dust, a timeout error or hunting error may occur and the printer will stop operating. , we must first investigate the cause.

次に、(2)のホストシステムへステータス情報と
して出力するプリンタでは、そのために例えば2
バイト分を使用する。
Next, in (2) a printer that outputs status information to the host system, for example, 2
Use bytes.

第1図は、ホストシステムへ出力されるステー
タス情報の定義の一例を示す。
FIG. 1 shows an example of the definition of status information output to the host system.

この第1図の場合には、第2バイトのビツト5
のプリンタチエツクが、タイムアウトエラーやハ
ンチングエラーのステータス情報とされ、タイム
アウトエラーやハンチングエラーが発生すると、
このビツト5が例えば論理“1”で出力される。
In the case of this Figure 1, bit 5 of the second byte
Printer check is treated as status information for timeout errors and hunting errors, and when a timeout error or hunting error occurs,
This bit 5 is output as logic "1", for example.

このようなプリンタでは、ホストシステムとの
インタフエースとして、例えばRS232C型シリア
ルインタフエースのような双方向通信が可能な回
路を使用し、第1図のようにプリンタチエツクと
いうエラーステータスで、タイムアウトエラーや
ハンチングエラーの発生を出力している。そのた
め、この情報だけでは、エラーの内容を詳細に了
知することはできない。
Such printers use a circuit capable of bidirectional communication, such as an RS232C type serial interface, as an interface with the host system, and use an error status called Printer Check as shown in Figure 1 to detect timeout errors and The occurrence of a hunting error is output. Therefore, with this information alone, it is not possible to understand the details of the error.

仮りに、エラーステータスを細分化して、セレ
クシヨンタイムアウトエラー、セレクシヨンハン
チングエラー、スペースタイムアウトエラー、ス
ペースハンチングエラーのそれぞれを別個のエラ
ー情報として出力するようにしたとしても、故障
原因を検知するためには、ホストシステムをプリ
ンタへ接続することが必要であり、修理等の作業
に手間がかかるという不都合がある。
Even if the error status were to be subdivided and output as separate error information for selection timeout error, selection hunting error, space timeout error, and space hunting error, it would be difficult to detect the cause of the failure. However, it is necessary to connect the host system to the printer, which is disadvantageous in that repairs and other work are time-consuming.

これに対して、(3)のエラー情報を発光素子等で
点灯表示するプリンタの場合には、エラーの発生
原因を簡単に判断することができる。
On the other hand, in the case of a printer (3) in which error information is displayed using a light emitting element or the like, the cause of the error can be easily determined.

第2図は、エラー情報を複数個の発光素子で表
示するようにしたプリンタの表示回路の一例を示
すブロツク図である。図面において、1は中央制
御部、2は増幅器、3は発光素子群で、LED1
は第1の表示用(HUNT)、LED2は第2の表
示用(SP)、LED3は第3の表示用(SEL)の発
光ダイオードである。
FIG. 2 is a block diagram showing an example of a display circuit of a printer in which error information is displayed using a plurality of light emitting elements. In the drawing, 1 is a central control unit, 2 is an amplifier, 3 is a group of light emitting elements, and LED1
are light emitting diodes for the first display (HUNT), LED2 for the second display (SP), and LED3 for the third display (SEL).

この第2図の表示回路では、発光素子群3は3
個の発光ダイオードLED1〜LED3から構成さ
れており、中央制御部1からの3個の出力端子
が、これらのエラー情報表示用として専用に使用
されている。
In the display circuit of FIG. 2, the light emitting element group 3 is 3
It is composed of three light emitting diodes LED1 to LED3, and three output terminals from the central control section 1 are used exclusively for displaying error information.

このように、中央制御部1の出力端子をエラー
情報表示用に使用すると、中央制御部1の能力が
その分だけ制限されるので、多種類のエラー情報
を表示するのには不向きである。
In this way, when the output terminal of the central control section 1 is used for displaying error information, the capability of the central control section 1 is limited accordingly, making it unsuitable for displaying many types of error information.

そこで、できる限り少ない数の出力端子を使用
して、多種類のエラー情報を表示するために、こ
れらの発光ダイオードLED1〜LED3をコード
化表示で使用する方法も知られている。
Therefore, a method is also known in which these light emitting diodes LED1 to LED3 are used in a coded display in order to display a wide variety of error information using as few output terminals as possible.

第3図は、3個の発光ダイオードを用いて4種
類のエラー情報を表示する場合のコード例を示
す。
FIG. 3 shows an example code for displaying four types of error information using three light emitting diodes.

この第3図の場合、正常動作中には、発光ダイ
オードLED1〜LED3をすべてオフ状態にして、
1個も点灯させないようにする。
In the case of Fig. 3, during normal operation, all light emitting diodes LED1 to LED3 are turned off.
Make sure not to light any of them.

これに対して、セレクシヨンタイムアウトエラ
ーやスペースタイムアウトエラーの発生時には、
それぞれ第3の発光ダイオードLED3または第
2の発光ダイオードLED2の1個だけをオン状
態にして、1個だけを点灯させる。
On the other hand, when a selection timeout error or space timeout error occurs,
Only one of the third light emitting diode LED3 or the second light emitting diode LED2 is turned on, and only one of them is lit.

また、セレクシヨンハンチングエラーやスペー
スハンチングエラーが発生したときは、第3図の
ように、それぞれ2個をオン状態にして点灯表示
させる。
Further, when a selection hunting error or a space hunting error occurs, two of them are turned on and displayed by lighting, as shown in FIG.

このようにコード化すれば、出力端子の数より
も多い種類のエラー情報を表示することが可能に
なる。
By coding in this way, it becomes possible to display more types of error information than the number of output terminals.

しかしながら、この表示方法では、エラー情報
をコード化することが必要であり、その処理のた
めの制御が複雑になる。その上、利用可能な出力
端子の数は、その絶対量が少ないので、表示でき
るエラー情報の種類にも自ずから限界がある、等
の不都合があつた。
However, with this display method, it is necessary to encode the error information, which complicates the control for its processing. Furthermore, since the absolute number of available output terminals is small, there are disadvantages such as there is a limit to the types of error information that can be displayed.

目 的 そこで、この発明のプリンタのエラー情報表示
装置では、従来の(1)〜(3)のような表示方法におけ
るそれぞれの不都合を解決し、エラー情報表示用
の専用出力端子を必要とすることなしに、簡単な
制御で多種類のエラー情報を表示できるようにす
ることを目的とする。
Purpose Therefore, the present invention provides an error information display device for a printer, which solves the disadvantages of the conventional display methods (1) to (3) and requires a dedicated output terminal for displaying error information. The purpose of the present invention is to display various types of error information with simple control.

構 成 そのために、この発明においては、プリンタが
正常な動作を行つているとき、その駆動回路へ駆
動信号を供給する駆動用信号線群と接続されてい
る中央制御部の出力端子は、エラーが発生してプ
リンタが停止された状態で駆動信号を出力し続け
ていても無意味であることに着目して、エラー発
生時には、この中央制御部の出力端子から、駆動
信号の代りにエラー情報を出力させるようにして
いる。
Configuration Therefore, in the present invention, when the printer is operating normally, the output terminal of the central control unit connected to the drive signal line group that supplies drive signals to the drive circuit is free from errors. Focusing on the fact that it is meaningless to continue outputting drive signals when an error occurs and the printer is stopped, when an error occurs, error information is output from the output terminal of this central control unit instead of the drive signal. I am trying to output it.

第4図は、この発明のエラー情報表示装置を実
施するのに好適なデイジーホイール型シリアルプ
リンタの駆動系の要部を示すブロツク図である。
FIG. 4 is a block diagram showing the main parts of the drive system of a daisy wheel type serial printer suitable for implementing the error information display device of the present invention.

図面において、1は中央制御部、4はセレクシ
ヨンサーボ系で、41はそのサーボ制御部、42
は増幅器、43はセレクシヨンモータ、44はセ
ンサユニツト、5はスペーシングサーボ系で、5
1はそのサーボ制御部、52は増幅器、53はス
ペーシングモータ、54はセンサユニツト、6は
増幅器、7はハンマーマグネツト、8は増幅器、
9はリボンフイードソレノイドを示し、また各信
号は、SPCLKはスペーシングモータ53のクロ
ツク信号、SELCLKはセレクシヨンモータ43
のクロツク信号、SELVEL1〜SELVEL5はセレ
クシヨンサーボ系4の速度指示信号、
はセレクシヨンサーボ系4の駆動制御信号、
SELREVはセレクシヨンモータ43の回転方向
指示信号、はハンマーマグネツト7
の駆動制御信号、SPVEL1〜SPVEL5はスペーシ
ングサーボ系5の速度指示信号、はスペ
ーシングサーボ系5の駆動制御信号、SPREVは
スペーシングモータ53の回転方向指示信号、
RFDRVはリボンフイードマグネツト9の駆動制
御信号、DRVACTVはプリンタの能動・非能動
の状態を指令する信号で、正常な動作時には各駆
動回路を動作状態にし、エラー発生時には非動作
状態にする制御信号を示す。
In the drawing, 1 is a central control unit, 4 is a selection servo system, 41 is the servo control unit, and 42 is a selection servo system.
is an amplifier, 43 is a selection motor, 44 is a sensor unit, 5 is a spacing servo system, 5
1 is its servo control unit, 52 is an amplifier, 53 is a spacing motor, 54 is a sensor unit, 6 is an amplifier, 7 is a hammer magnet, 8 is an amplifier,
9 indicates a ribbon feed solenoid, and each signal is SPCLK, a clock signal for the spacing motor 53, and SELCLK, a clock signal for the selection motor 43.
clock signal, SELVEL1 to SELVEL5 are the speed instruction signals of the selection servo system 4,
is the drive control signal of the selection servo system 4,
SELREV is the rotation direction instruction signal of the selection motor 43, and is the hammer magnet 7.
SPVEL1 to SPVEL5 are the speed instruction signals of the spacing servo system 5, SPREV is the drive control signal of the spacing servo system 5, SPREV is the rotation direction instruction signal of the spacing motor 53,
RFDRV is a drive control signal for the ribbon feed magnet 9, and DRVACTV is a signal that commands the active/inactive state of the printer. Control puts each drive circuit into an active state during normal operation, and inactive state when an error occurs. Show signal.

中央制御部1は、例えばシングルチツプ・マイ
クロコンピユータで構成され、その16ビツト並列
ポートPE0〜PE15は、セレクシヨンサーボ系、
スペーシングサーボ系、ハンマリング、リボンフ
イード等の各駆動部へ駆動制御信号を与えて、モ
ータ43や53、マグネツト7、ソレノイド9等
へ必要なタイミングでドライブ信号を発生させ
る。
The central control unit 1 is composed of, for example, a single-chip microcomputer, and its 16-bit parallel ports PE0 to PE15 are used for selection servo system,
A drive control signal is given to each drive unit such as a spacing servo system, hammering, ribbon feed, etc., and drive signals are generated to the motors 43, 53, magnet 7, solenoid 9, etc. at the necessary timing.

このプリンタは、正常状態における駆動方法や
エラー等の異常発生時の検知方法等は、従来の場
合と全く同様である。そこで、理解を容易にする
ために、従来のものと共通する部分から説明す
る。
In this printer, the driving method in a normal state and the detection method when an abnormality such as an error occurs is completely the same as the conventional printer. Therefore, in order to make it easier to understand, we will explain the parts common to the conventional one.

まず、セレクシヨンサーボ系4の駆動には、中
央制御部1から出力される5ビツトの速度指示信
号SELVEL1〜SELVEL5と、回転方向指示信号
SELREVとがサーボ制御部41へ与えられ、そ
の出力が増幅器42を介してセレクシヨンモータ
43のドライブ信号となる。
First, to drive the selection servo system 4, 5-bit speed instruction signals SELVEL1 to SELVEL5 output from the central control section 1 and a rotation direction instruction signal are used.
SELREV is applied to the servo control unit 41, and its output becomes a drive signal for the selection motor 43 via the amplifier 42.

なお、中央制御部1からは、サーボ制御部41
へ駆動制御信号も同時に出力される。
また、中央制御部1の出力端子PA0から出力され
る能動・非能動を指示する制御信号
DRAVACTVは、プリンタが正常状態のときは、
動作状態を指示するために例えば“H”で発生さ
れている。
Note that from the central control unit 1, the servo control unit 41
A drive control signal is also simultaneously output to.
In addition, a control signal that instructs active/inactive is output from output terminal PA0 of central control unit 1.
DRAVACTV displays when the printer is in normal condition.
For example, it is generated at "H" to indicate the operating state.

セレクシヨンモータ43が回転すると、その回
転速度に対応したクロツク信号SELCLKがセン
サユニツト44から発生されて、サーボ制御部4
1と中央制御部1へ与えられる。
When the selection motor 43 rotates, a clock signal SELCLK corresponding to the rotation speed is generated from the sensor unit 44, and the servo control section 4
1 and is given to the central control unit 1.

中央制御部1は、このクロツク信号SELCLK
を累積演算して、セレクシヨンモータ43の現在
位置を算出し、それに対応した速度指示信号
SELVEL1〜SELVEL5を出力する。
The central control unit 1 receives this clock signal SELCLK.
The current position of the selection motor 43 is calculated by cumulatively calculating the speed instruction signal corresponding to the current position of the selection motor 43.
Output SELVEL1 to SELVEL5.

この場合に、セレクシヨンモータ43が正常状
態であるか、あるいは異常状態であるか、の判定
は次のようにして行われる。
In this case, whether the selection motor 43 is in a normal state or an abnormal state is determined as follows.

すでに説明したように、中央制御部1が駆動制
御信号を能動状態(オン状態)にして
いるときは、モータ43が回転して、サーボ系4
からのクロツク信号SELCLKが中央制御部1へ
入力される。そして、正常状態のときは、このク
ロツク信号SELCLKの周期は、例えば100msec
のような一定の時間よりも短いはずである。
As already explained, when the central control unit 1 puts the drive control signal in the active state (on state), the motor 43 rotates and the servo system 4
A clock signal SELCLK from the central control unit 1 is inputted to the central control unit 1. Under normal conditions, the period of this clock signal SELCLK is, for example, 100 msec.
It should be shorter than a certain amount of time like .

これに対して、モータ43が故障等によつて回
転しないときは、この一定時間の100msecが経過
しても、クロツク信号SELCLKは入力されない。
On the other hand, when the motor 43 does not rotate due to a failure or the like, the clock signal SELCLK is not input even after this fixed time of 100 msec has elapsed.

そこで、中央制御部1では、駆動制御信号
SELDRVが能動状態のとき、このクロツク信号
SELCLKの入力状態を監視し、一定時間内に入
力がない場合には、タイムアウトエラーが発生し
たものと判断する。
Therefore, in the central control unit 1, the drive control signal
When SELDRV is active, this clock signal
The input state of SELCLK is monitored, and if there is no input within a certain period of time, it is determined that a timeout error has occurred.

反対に、駆動制御信号が非能動状態
(オフ状態)のときは、モータ43は回転しない
ので、クロツク信号SELCLKが中央制御部1へ
入力されることはないはずである。
On the other hand, when the drive control signal is in an inactive state (off state), the motor 43 does not rotate, so the clock signal SELCLK should not be input to the central control unit 1.

もし、この状態でクロツク信号SELCLKが入
力された場合には、ハンチングエラーが発生した
と判定する。
If the clock signal SELCLK is input in this state, it is determined that a hunting error has occurred.

中央制御部1は、このようなタイムアウトエラ
ーやハンチングエラーの発生を検知したときは、
制御信号DRVACTVの出力を非能動状態を指示
する“L”に変化させて、増幅器42を非動作状
態にする。その結果、ドライブ信号は発生されな
くなり、モータ43は停止される。
When the central control unit 1 detects the occurrence of such a timeout error or hunting error,
The output of the control signal DRVACTV is changed to "L" indicating a non-active state, and the amplifier 42 is put into a non-active state. As a result, no drive signal is generated and the motor 43 is stopped.

スペーシングサーボ系5の動作も、このセレク
シヨンサーボ系4の場合と全く同様である。
The operation of the spacing servo system 5 is also exactly the same as that of the selection servo system 4.

中央制御部1の並列ポートPE0〜PE15からは、
その他に、ハンマリングやリボンフイードのため
に、ハンマーマグネツト7へドライブ信号を与え
る駆動制御信号や、リボンフイード
ソレノイド9へドライブ信号を与える駆動制御信
号も出力される。
From parallel ports PE0 to PE15 of central control unit 1,
In addition, a drive control signal that provides a drive signal to the hammer magnet 7 and a drive control signal that provides a drive signal to the ribbon feed solenoid 9 for hammering and ribbon feed are also output.

これらの各駆動系はいずれも、先のセレクシヨ
ンサーボ系の場合と同様に、制御信号
DRVACTVが非能動状態を指示すると、それぞ
れの増幅器52,6,8が非動作状態になつて、
負荷のモータ53やマグネツト7、ソレノイド9
へのドライブ信号は発生されなくなる。
Each of these drive systems receives control signals as in the case of the selection servo system.
When DRVACTV indicates the inactive state, each amplifier 52, 6, 8 becomes inactive,
Load motor 53, magnet 7, solenoid 9
The drive signal to is no longer generated.

したがつて、負荷の暴走や過熱等は完全に防止
され、同時にオペレータの安全性も確保される。
Therefore, runaway load, overheating, etc. are completely prevented, and at the same time, operator safety is ensured.

以上のプリンタの動作は、従来の場合と同様で
あり、エラー等の異常状態が発生してプリンタの
動作が停止されると、中央制御部1の並列ポート
PE0〜PE15は、各駆動系への駆動信号としては
意味がなくなる。
The operation of the printer described above is the same as in the conventional case, and when an abnormal condition such as an error occurs and the printer operation is stopped, the parallel port of the central control unit 1
PE0 to PE15 have no meaning as drive signals to each drive system.

そこで、この発明のプリンタのエラー情報表示
装置では、エラーが発生して、プリンタ駆動系が
非動作状態にされたときは、これらのポートPE0
〜PE15をエラー情報の表示用として使用するよ
うにしている。
Therefore, in the printer error information display device of the present invention, when an error occurs and the printer drive system becomes inactive, these ports PE0
~PE15 is used to display error information.

第5図は、この発明のエラー情報表示装置で使
用する並列ポートの一例を示す。
FIG. 5 shows an example of a parallel port used in the error information display device of the present invention.

この第5図に示すように、通常の動作状能では
速度指示信号SELVEL1を出力するポートPE0
は、エラー発生時には、スペーシングタイムアウ
トエラーの出力用として使用される。
As shown in Figure 5, under normal operating conditions, port PE0 outputs the speed instruction signal SELVEL1.
is used to output spacing timeout errors in the event of an error.

この第5図で、セレクシヨンホームエラー
SELHMは、プリンタ初期設定時にホイールを回
転させた際、そのホーム位置が見つからなかつた
エラーである。
In this figure 5, selection home error
SELHM is an error in which the home position was not found when the wheel was rotated during printer initialization.

また、RAMエラーは、中央制御部1
内のRAMへの書込み・読出しが正しく行えなか
つたエラーであり、ROMエラーは、同
じく中央制御部1内のROMに格納されているプ
ログラム内容が正規のものと異なつているような
エラーを表わす。これらのRAMやROMは、電
源投入時にチエツクされる。
In addition, RAM errors occur in the central control unit 1.
This is an error in which writing to and reading from the RAM in the central control unit 1 could not be performed correctly, and a ROM error also refers to an error in which the program contents stored in the ROM in the central control unit 1 are different from the normal ones. These RAM and ROM are checked when the power is turned on.

さらに、コンピユータ機能エラーは、
中央制御部1内のROMにおいて、プログラムが
存在しないメモリ領域へ制御が移つた場合のよう
なエラーである。
In addition, computer function errors
This is an error that occurs when control is transferred to a memory area in the ROM in the central control unit 1 where no program exists.

なお、中央制御部に用いられているマイクロコ
ンピユータのRAMの容量が256バイトの場合に
は、アドレス情報は8ビツトで充分であるから、
並列ポートPE8〜PE15をエラーアドレスの出力
用として使用する。
Note that if the RAM capacity of the microcomputer used in the central control section is 256 bytes, 8 bits of address information is sufficient.
Use parallel ports PE8 to PE15 for error address output.

このようなエラー情報の表示用としては、中央
制御部1内のRAMに8ビツトのメモリ領域を用
意し、例えば第5図のように予め定義して、初め
に8ビツトをすべて“1”にセツトしておく。
To display such error information, prepare an 8-bit memory area in the RAM in the central control unit 1, define it in advance as shown in Figure 5, and first set all 8 bits to "1". Set it.

プリンタの動作中にエラーが発生し、中央制御
部1によつてそのエラー内容が検知されると、そ
れに対応するビツトを“0”に変化される。
When an error occurs during the operation of the printer and the content of the error is detected by the central control unit 1, the corresponding bit is changed to "0".

そして、RAMの8ビツトのメモリ領域のデー
タを、そのまま並列ポートPE0〜PE7へ出力す
る。また、RAMエラーが発生した場合
には、その発生アドレスも、同時に並列ポート
PE8〜PE15へ出力する。
Then, the data in the 8-bit memory area of the RAM is output as is to the parallel ports PE0 to PE7. In addition, if a RAM error occurs, the address where it occurred will also be changed to the parallel port at the same time.
Output to PE8 to PE15.

この実施例では、エラー情報は8種類であり、
RAM内に8ビツトのメモリ領域を用意して、そ
の内容をそのままポートPE0〜PE7へ出力するよ
うにしている。
In this example, there are eight types of error information,
An 8-bit memory area is prepared in the RAM, and its contents are output as is to ports PE0 to PE7.

したがつて、エラー情報を表示するために、コ
ード化する必要はない。また並列ポートPE0〜
PE7の各端子は、それぞれ独立にエラー情報を表
わしている。
Therefore, no coding is required to display error information. Also parallel port PE0~
Each terminal of PE7 independently represents error information.

そこで、各ポートPE0〜PE7をチエツクすれ
ば、簡単かつ迅速にエラーの内容を検知すること
ができる。
Therefore, by checking each port PE0 to PE7, the content of the error can be detected easily and quickly.

第6図は、この発明のプリンタのエラー情報表
示装置について、その一実施例を示すブロツク図
である。図面において、1は中央制御部、10は
アンドゲート回路、11は発光ダイオードを示
す。
FIG. 6 is a block diagram showing one embodiment of the printer error information display device of the present invention. In the drawings, 1 is a central control unit, 10 is an AND gate circuit, and 11 is a light emitting diode.

すでに説明したように、エラー発生時には、中
央制御部1の並列ポートPE0〜PE7からは、第5
図のように定義されたエラー情報に対応するビツ
トだけが、“L”で出力されている。
As already explained, when an error occurs, the parallel ports PE0 to PE7 of the central control unit 1
Only the bits corresponding to the error information defined as shown in the figure are output as "L".

そこで、この第6図の回路のように、エラー情
報が出力されるポートPE0〜PE7のうちの1個の
ポートと、制御信号DRVACTVが出力されるポ
ートPA0とから、アンドゲート回路10へ信号を
与える。このようにすれば、エラー情報が“L”
になつているポートPE0〜PE7を選択したとき、
発光ダイオード11が点灯表示されるので、エラ
ーの内容を簡単かつ迅速に知ることができる。
Therefore, as in the circuit shown in FIG. 6, a signal is sent to the AND gate circuit 10 from one of the ports PE0 to PE7 where error information is output and the port PA0 where the control signal DRVACTV is output. give. If you do this, the error information will be “L”
When you select ports PE0 to PE7 that are
Since the light emitting diode 11 is lit up, the details of the error can be easily and quickly known.

例えば、この第6図のように、ポートPE1へ接
続したとき、発光ダイオード11が点灯したとす
れば、スペーシングハンチングエラーが発
生したものと判断できる。
For example, as shown in FIG. 6, if the light emitting diode 11 lights up when connected to the port PE1, it can be determined that a spacing hunting error has occurred.

このように、この発明のエラー情報表示装置で
は、第6図のような簡単な表示回路を使用するだ
けでよく、しかも中央制御部1の並列ポートPE0
〜PE7をモニタ用のコネクタへ配線することが可
能である。
In this way, the error information display device of the present invention only requires the use of a simple display circuit as shown in FIG.
~It is possible to wire PE7 to a monitor connector.

すなわち、従来のエラー情報表示方法のよう
に、エラー情報をホストシステムとのインタフエ
ースへ出力するのではなく、必要に応じて簡単に
チエツクすることができるコネクタへ出力するこ
とが可能となる。そのため、チエツクに際して、
ホストシステムや特殊なチエツカー等を使用する
必要はない。
That is, instead of outputting error information to an interface with a host system as in conventional error information display methods, it is possible to output it to a connector that can be easily checked as necessary. Therefore, when checking,
There is no need to use a host system or special checker.

なお、以上の実施例では、エラー情報が8種類
の場合について説明した。しかし、一般にプリン
タでは、例えばプラテン駆動用の信号線のために
数個の出力端子が用意されており、また、その他
の駆動用にも出力端子が使用されている。
In addition, in the above embodiment, the case where there are eight types of error information has been explained. However, in general, printers are provided with several output terminals, for example, for signal lines for driving the platen, and output terminals are also used for other driving purposes.

これらの出力端子も、エラーが発生してプリン
タの動作が停止された状態では、同様に駆動信号
を出力し続けても無意味である。したがつて、表
示したいエラー情報の種類が増加する場合には、
プラテン駆動用その他の出力端子をエラー情報の
表示用として使用することが可能であり、表示可
能なエラー情報の種類は8種類に限定されるもの
ではない。
Similarly, it is meaningless for these output terminals to continue outputting drive signals when an error occurs and the printer stops operating. Therefore, if the types of error information you want to display increase,
Other output terminals for driving the platen can be used for displaying error information, and the types of error information that can be displayed are not limited to eight types.

以上に詳細に説明したとおり、この発明のエラ
ー情報表示装置では、多くの駆動系を有するプリ
ンタでエラーが発生した場合、オペレータの安全
確保や装置の保護等のために動作を停止させてい
て、エラー発生時に中央制御部から多くの駆動信
号を出力しても意味がないことに着目し、エラー
が発生した時点で、制御信号によつて駆動系を非
動作状態に制御するとともに、中央制御部の出力
端子から駆動信号の代りに、エラー情報を出力す
るようにしている。
As explained in detail above, in the error information display device of the present invention, when an error occurs in a printer having many drive systems, the operation is stopped to ensure operator safety and protect the device. Focusing on the fact that there is no point in outputting many drive signals from the central control unit when an error occurs, the central control unit Error information is output from the output terminal instead of the drive signal.

効 果 したがつて、この発明のプリンタのエラー情報
表示装置によれば、プリンタでは駆動系が多くて
その駆動信号も多数であることから、エラー情報
の表示用に専用の出力端子を設ける必要なしに、
多種類のエラー情報を表示することができる。
Effects Therefore, according to the printer error information display device of the present invention, there is no need to provide a dedicated output terminal for displaying error information because printers have many drive systems and their drive signals are also numerous. To,
Various types of error information can be displayed.

また、中央制御部の出力端子の1個で1種類の
エラー情報を出力することが充分に可能であるか
ら、そのまま表示すればよく、コード化する必要
はない。そのため、表示回路も、ゲート回路と発
光ダイオードのような表示手段だけで、簡単に構
成することができる。
Furthermore, since it is fully possible to output one type of error information using one output terminal of the central control unit, it is sufficient to display it as is, and there is no need to encode it. Therefore, the display circuit can also be easily constructed using only a gate circuit and a display means such as a light emitting diode.

さらに、エラー情報は中央制御部の出力端子、
すなわちコネクタへ出力されるので、エラー原因
のチエツクに際しては、ホストシステムを使用し
たり、特殊なチエツカー等を用いる必要もない、
等の多くの優れた効果が得られる。
Furthermore, the error information is sent to the output terminal of the central control unit.
In other words, since it is output to the connector, there is no need to use a host system or special checker when checking the cause of the error.
Many excellent effects can be obtained.

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

第1図はホストシステムへ出力されるステータ
ス情報の定義の一例、第2図はエラー情報を複数
個の発光素子で表示するようにしたプリンタの表
示回路の一例を示すブロツク図、第3図は3個の
発光ダイオードを用いて4種類のエラー情報を表
示する場合のコード例、第4図はこの発明のエラ
ー情報表示装置を実施するのに好適なデイジーホ
イール型シリアルプリンタの駆動系の要部を示す
ブロツク図、第5図はこの発明のエラー情報表示
方式で使用する並列ポートの一例、第6図はこの
発明のプリンタのエラー情報表示装置について、
その一実施例を示すブロツク図である。 図面において、1は中央制御部、2は増幅器、
3は発光素子群、4はセレクシヨンサーボ系で、
41はそのサーボ制御部、42は増幅器、43は
セレクシヨンモータ、44はセンサユニツト、5
はスペーシングサーボ系で、51はそのサーボ制
御部、52は増幅器、53はスペーシングモー
タ、54はセンサユニツト、6は増幅器、7はハ
ンマーマグネツト、8は増幅器、9はリボンフイ
ードソレノイド、10はアンドゲート回路、11
は発光ダイオードを示す。
Figure 1 is an example of the definition of status information output to the host system, Figure 2 is a block diagram showing an example of a printer display circuit that displays error information using multiple light emitting elements, and Figure 3 is a block diagram of an example of a printer display circuit that displays error information using multiple light emitting elements. An example of a code for displaying four types of error information using three light emitting diodes, and FIG. 4 shows the main part of the drive system of a daisy wheel type serial printer suitable for implementing the error information display device of the present invention. FIG. 5 is an example of a parallel port used in the error information display method of the present invention, and FIG. 6 is a block diagram showing the printer error information display device of the present invention.
FIG. 2 is a block diagram showing one embodiment thereof. In the drawings, 1 is a central control unit, 2 is an amplifier,
3 is a light emitting element group, 4 is a selection servo system,
41 is its servo control unit, 42 is an amplifier, 43 is a selection motor, 44 is a sensor unit, 5
is a spacing servo system, 51 is its servo control unit, 52 is an amplifier, 53 is a spacing motor, 54 is a sensor unit, 6 is an amplifier, 7 is a hammer magnet, 8 is an amplifier, 9 is a ribbon feed solenoid, 10 is an AND gate circuit, 11
indicates a light emitting diode.

Claims (1)

【特許請求の範囲】 1 マイクロコンピユータ等で構成される中央制
御部と、複数個の駆動回路と、前記中央制御部の
出力端子からこれらの駆動回路へ駆動信号を供給
する駆動用信号線群とを有するプリンタにおい
て、 エラー発生時に前記駆動回路の全部または一部
を非動作状態にする制御信号を前記中央制御部か
ら供給する制御用信号線と、 予め設定されたエラーの種類を示すエラー情報
を記憶しエラー発生時に前記中央制御部の対応す
る出力端子へエラー情報を出力するエラー情報記
憶手段と、 エラー発生時に前記中央制御部の出力端子へ選
択的に接続され、前記エラー情報によつて点灯さ
れる表示手段とを備え、 エラー発生時には、前記制御用信号線からの制
御信号によつて前記駆動回路の全部または一部を
非動作状態にするとともに、非動作状態にされた
駆動回路の駆動用信号線群に接続されている前記
中央制御部の出力端子へ、中央制御部から駆動信
号の代りにエラー情報を出力し、前記表示手段の
点灯の有無により発生されたエラーの内容を検知
することを特徴とするエラー情報表示装置。
[Scope of Claims] 1. A central control unit composed of a microcomputer, etc., a plurality of drive circuits, and a group of drive signal lines that supply drive signals from output terminals of the central control unit to these drive circuits. A printer having: a control signal line for supplying a control signal from the central control unit that makes all or part of the drive circuit inoperative when an error occurs; and a control signal line that supplies error information indicating a preset type of error. an error information storage means for storing error information and outputting error information to a corresponding output terminal of the central control unit when an error occurs; and an error information storage means selectively connected to the output terminal of the central control unit when an error occurs, and lighting according to the error information. When an error occurs, all or part of the drive circuit is rendered inactive by a control signal from the control signal line, and the drive circuit that has been rendered inactive is driven. The central control unit outputs error information instead of the drive signal to the output terminal of the central control unit connected to the group of signal lines for use, and detects the content of the error that has occurred based on whether or not the display means is lit. An error information display device characterized by:
JP58041870A 1983-03-14 1983-03-14 Error information display system of printer Granted JPS59167746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58041870A JPS59167746A (en) 1983-03-14 1983-03-14 Error information display system of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58041870A JPS59167746A (en) 1983-03-14 1983-03-14 Error information display system of printer

Publications (2)

Publication Number Publication Date
JPS59167746A JPS59167746A (en) 1984-09-21
JPH0236005B2 true JPH0236005B2 (en) 1990-08-15

Family

ID=12620290

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58041870A Granted JPS59167746A (en) 1983-03-14 1983-03-14 Error information display system of printer

Country Status (1)

Country Link
JP (1) JPS59167746A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0623948B2 (en) * 1985-01-21 1994-03-30 株式会社リコー Recording device
JPS61288224A (en) * 1985-06-14 1986-12-18 Kawaguchiko Seimitsu Kk Busy control system of printer
JPH0736145B2 (en) * 1985-08-16 1995-04-19 インタ−ナシヨナル・ビジネス・マシ−ンズ・コ−ポレ−シヨン Printer
JP2589482B2 (en) * 1987-02-10 1997-03-12 株式会社 三共 Ball game machine
JPH05108279A (en) * 1991-10-17 1993-04-30 Tokyo Electric Co Ltd Printer

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54110012A (en) * 1978-02-15 1979-08-29 Fujitsu Ltd Warning display circuit for printer
JPS5532153A (en) * 1978-08-29 1980-03-06 Tokyo Electric Co Ltd System reset control system for typewriter

Also Published As

Publication number Publication date
JPS59167746A (en) 1984-09-21

Similar Documents

Publication Publication Date Title
CN87101839A (en) Central control unit of switching system and method for making it work
EP0164421B1 (en) Programmable controller
JPH0236005B2 (en)
US4511975A (en) Numerical control machine tool
NO166154B (en) PROCEDURE FOR AA MONITORING THE WORKING FUNCTION OF A MEMORY SYSTEM AND DEVICE BY SUCH MEMORY SYSTEM.
JP7684108B2 (en) Robot system and method for detecting faulty wiring
EP0048848B1 (en) Device controlled by programmed modular controller means with selfchecking
US3815097A (en) Disc drive diagnostic display apparatus
JPS629442A (en) Error detecting circuit
JPH04368875A (en) Abnormality detection device
JPS62251861A (en) data output device
KR100436694B1 (en) Programmable controller system and method for resetting programmable controller system
JPS615360A (en) Memory control circuit
JPH01129133A (en) Self-diagnosis of control apparatus of engine
JPH1064299A (en) Method for testing random access memory
JPH01309156A (en) Multi-selection detecting circuit
JPH0346920B2 (en)
JP3060376U (en) Memory device
JPS59175061A (en) Control system of magnetic disk device
JPS61260315A (en) Power source control system
JPH0413666B2 (en)
GB2195041A (en) Multi-sensor monitoring system
JP2001306404A (en) Device and method for monitoring rom data of fpga
JPH11272490A (en) Diagnostic control system
JPH0253133A (en) Magnetic disk controller