JPH0584750B2 - - Google Patents
Info
- Publication number
- JPH0584750B2 JPH0584750B2 JP63074222A JP7422288A JPH0584750B2 JP H0584750 B2 JPH0584750 B2 JP H0584750B2 JP 63074222 A JP63074222 A JP 63074222A JP 7422288 A JP7422288 A JP 7422288A JP H0584750 B2 JPH0584750 B2 JP H0584750B2
- Authority
- JP
- Japan
- Prior art keywords
- printer
- printer mechanism
- mechanism section
- turned
- flag
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J29/00—Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
- B41J29/38—Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
【発明の詳細な説明】
〔概要〕
本体装置とプリンタ装置の両方に電力を供給す
る電源装置を有する情報処理装置において、本体
装置の業務に影響を与えることなく、且つプリン
タ装置に損傷・破壊を生ずることなく、プリンタ
装置を異常状態から正常状態に復帰できるように
した情報処理装置を提供することを目的とし、
プリンタ機構部に回復不可の異常が発生した場
合には回復不可フラグ及び異常停止フラグをオン
とすると共にプリンタ機構部の電源をオフし、プ
リンタ機構部に回復可能な異常が発生した場合に
は異常停止フラグをオンとすると共にプリンタ機
構部の電源をオフし、動作指示スイツチが押下さ
れた時、異常停止フラグがオフの場合には動作指
示スイツチの種類によつて定まる動作をプリンタ
機構部に行わせ、異常停止フラグがオンで回復不
可フラグがオフの場合には異常停止フラグをオフ
し、プリンタ機構部の電源を投入し、その後にプ
リンタ機構部を動作させ、異常停止フラグがオン
で回復不可フラグがオンの場合にはプリンタ機構
部を動作させないようにしたものである。[Detailed Description of the Invention] [Summary] In an information processing device that has a power supply device that supplies power to both the main device and the printer device, it is possible to prevent the printer device from being damaged or destroyed without affecting the operations of the main device. The purpose is to provide an information processing device that can return a printer device from an abnormal state to a normal state without causing any abnormality. is turned on, and the power to the printer mechanism is turned off. If a recoverable error occurs in the printer mechanism, the abnormal stop flag is turned on, the power to the printer mechanism is turned off, and the operation instruction switch is pressed. When the abnormal stop flag is off, the printer mechanism section is made to perform the operation determined by the type of operation instruction switch, and when the abnormal stop flag is on and the unrecoverable flag is off, the abnormal stop flag is turned off. The printer mechanism section is turned off, the power to the printer mechanism section is turned on, and then the printer mechanism section is operated, and when the abnormal stop flag is on and the unrecoverable flag is on, the printer mechanism section is not operated.
本発明は、本体装置とプリンタ装置の両方に電
力を供給する電源装置を有する情報処理装置にお
いて、プリンタ装置に設けられているスイツチが
押下された時に、異常状態の原因が除去されてい
ることを条件として、プリンタ装置を異常状態か
ら正常状態に復帰するようにした情報処理装置に
関するものである。
The present invention provides an information processing device that has a power supply device that supplies power to both the main unit and the printer device, and when a switch provided in the printer device is pressed, it is possible to confirm that the cause of the abnormal state has been removed. The present invention relates to an information processing apparatus in which, as a condition, a printer device is returned to a normal state from an abnormal state.
本体装置とプリンタ装置にそれぞれ別個の電源
が設置されている計算機システムにおいては、プ
リンタ装置に異常が発生した場合、プリンタ装置
の電源を再投入してプリンタ装置を初期状態に戻
していた。
In a computer system in which separate power supplies are installed for the main unit and the printer, when an abnormality occurs in the printer, the power to the printer is turned on again to return the printer to its initial state.
しかしながら、電源を本体装置と共用するプリ
ンタ装置においては、電源の再投入を行うと、本
体装置の業務も中断してしまうと言う欠点があつ
た。また、ハードウエア・エラーの種類によつて
は回復不可能な異常状態をあり、そのような状態
の下で電源再投入等を繰り返して行うと、プリン
タ装置全体が損傷もしくは破壊してしまうと言う
欠点があつた。
However, printer devices that share a power source with the main device have a drawback in that when the power is turned on again, the main device's operations are also interrupted. Additionally, depending on the type of hardware error, there may be an abnormal state that cannot be recovered, and if the power is turned on again under such conditions, the entire printer device may be damaged or destroyed. There were flaws.
本発明は、この点に鑑みて創作されたものであ
つて、本体装置とプリンタ装置の両方に電力を供
給する電源装置を有する情報処理装置において、
本体装置の業務に影響を与えることなく、且つプ
リンタ装置に損傷・破壊を生ずることなく、プリ
ンタ装置を異常状態から正常状態に復帰できるよ
うにした情報処理装置を提供することを目的とし
ている。 The present invention was created in view of this point, and is an information processing apparatus having a power supply device that supplies power to both the main body device and the printer device.
To provide an information processing device capable of returning a printer device from an abnormal state to a normal state without affecting the work of the main device and without causing damage or destruction to the printer device.
第1図は本発明の原理図である。本発明が適用
される情報処理装置は、プリンタ機構部220
と、プリンタ制御部210と、本体装置100
と、プリンタ制御部210に対して動作指示を与
える動作指示スイツチ230と、電源装置310
と、電源装置310からプリンタ機構部220に
至るプリンタ機構部電源線の途中に設けられ且つ
プリンタ制御部210によつて制御可能なプリン
タ機構部用電源スイツチ218と、電源装置31
0を交流電源に接続するための交流側電源スイツ
チ320とを具備している。
FIG. 1 is a diagram showing the principle of the present invention. The information processing apparatus to which the present invention is applied includes a printer mechanism section 220
, printer control unit 210 , and main device 100
, an operation instruction switch 230 that gives an operation instruction to the printer control unit 210, and a power supply device 310.
, a printer mechanism power switch 218 that is provided in the middle of the printer mechanism power line from the power supply device 310 to the printer mechanism section 220 and is controllable by the printer control section 210;
0 to an AC power source.
プリンタ制御部210は、コマンド用動作制御
手段241と、スイツチ用動作制御手段242
と、回復不可フラグ243と、異常停止フラグ2
44とを有している。 The printer control unit 210 includes a command operation control means 241 and a switch operation control means 242.
, unrecoverable flag 243, and abnormal stop flag 2
44.
電源装置310は、本体装置100、プリンタ
制御部210およびプリンタ機構部230に対す
る電源供給を行う。 The power supply device 310 supplies power to the main body device 100, the printer control section 210, and the printer mechanism section 230.
コマンド用動作制御手段241は、コマンドが
送られてきた時に動作して異常停止フラグ244
がオンか否かを調べ、
異常停止フラグ244がオンの場合には本体装
置100に異常応答を返し、
異常停止フラグ244がオフである場合には当
該コマンドの種類によつて定まる動作をプリンタ
機構部220に行わせるための制御を行い、
プリンタ機構部220が動作している過程にお
いて、プリンタ機構部220に回復不可能な所定
の異常が発生したことを検出したときには、回復
不可フラグ243をオンとし、プリンタ機構部2
20の電源をオフし、プリンタ機構部220の各
種モータやソレノイド信号をオフし、異常停止フ
ラグ244をオンし、異常応答を本体装置100
に返し、
プリンタ機構部220が動作している過程にお
いて、プリンタ機構部220に回復可能な他の異
常が発生したことを検出したときには、回復不可
フラグ243をオフのまま、プリンタ機構部22
0の電源をオフし、プリンタ機構部220の各種
モータやソレノイド信号をオフし、異常停止フラ
グ244をオンし、異常応答を本体装置100に
返し、
プリンタ機構部220がコマンドで指定された
動作を正常に終了した場合には、正常応答を本体
装置100に返すように構成されている。 The command operation control means 241 operates when a command is sent and sets an abnormal stop flag 244.
is on, and if the abnormal stop flag 244 is on, an abnormal response is returned to the main device 100, and if the abnormal stop flag 244 is off, the printer mechanism performs an operation determined by the type of command. When it is detected that a predetermined unrecoverable abnormality has occurred in the printer mechanism section 220 while the printer mechanism section 220 is operating, the unrecoverable flag 243 is turned on. and printer mechanism section 2
20 , various motors and solenoid signals of the printer mechanism section 220 are turned off, the abnormal stop flag 244 is turned on, and an abnormal response is sent to the main device 100 .
In return, when it is detected that another recoverable abnormality has occurred in the printer mechanism section 220 while the printer mechanism section 220 is operating, the printer mechanism section 22
0, various motors and solenoid signals of the printer mechanism section 220 are turned off, the abnormal stop flag 244 is turned on, an abnormal response is returned to the main device 100, and the printer mechanism section 220 performs the operation specified by the command. If the process ends normally, it is configured to return a normal response to the main device 100.
スイツチ用動作制御手段242は、動作指示ス
イツチ230が押下された時に動作して異常停止
フラグ244がオンか否かを調べ、
異常停止フラグ244がオフである場合には当
該動作指示スイツチ230の種類によつて定まる
動作をプリンタ機構部220に行わせるための制
御を行い、
異常停止フラグ244がオンの場合には、回復
不可フラグ243がオフであることを条件として
異常停止フラグ244をオフし、プリンタ機構部
の電源投入を行つた後、当該動作指示スイツチ2
30の種類によつて定まる動作をプリンタ機構部
220に行わせるための制御を行い、
プリンタ機構部220が動作している過程にお
いて、プリンタ機構部220に回復不可能な所定
の異常が発生したことを検出したときには、回復
不可フラグ243をオンとし、プリンタ機構部2
20の電源をオフし、プリンタ機構部220の各
種モータやソレノイド信号をオフし、異常停止フ
ラグ244をオンし、プリンタ機構部220が動
作している過程において、プリンタ機構部220
に回復可能な他の異常が発生したことを検出した
ときには、回復不可フラグ243をオフのまま、
プリンタ機構部220の電源をオフし、プリンタ
機構部220の各種モータやソレノイド信号をオ
フし、異常停止フラグ244をオンするように構
成されている。 The switch operation control means 242 operates when the operation instruction switch 230 is pressed and checks whether the abnormal stop flag 244 is on or not. If the abnormal stop flag 244 is off, it checks the type of the operation instruction switch 230. If the abnormal stop flag 244 is on, the abnormal stop flag 244 is turned off on the condition that the unrecoverable flag 243 is off; After turning on the power to the printer mechanism, the operation instruction switch 2
Control is performed to cause the printer mechanism unit 220 to perform an operation determined by the type of the printer mechanism unit 220, and a predetermined unrecoverable abnormality occurs in the printer mechanism unit 220 while the printer mechanism unit 220 is operating. When detected, the unrecoverable flag 243 is turned on and the printer mechanism unit 2
20 is turned off, various motors and solenoid signals of the printer mechanism section 220 are turned off, and the abnormal stop flag 244 is turned on.
When it is detected that another recoverable error has occurred, the unrecoverable flag 243 is left off.
It is configured to turn off the power to the printer mechanism section 220, turn off various motors and solenoid signals of the printer mechanism section 220, and turn on the abnormal stop flag 244.
第2図は本発明のシステムのハードウエア構成
例を示すブロツク図である。同図において、11
0は中央処理装置、120はデイスプレイ、13
0はキーボード、140は磁気デイスク装置、1
50はフロツピー・デイスク装置、210はプリ
ンタ制御部、218は電磁開閉器、220はプリ
ンタ機構部、230は用紙送りスイツチ、310
は電源装置、320は電源スイツチをそれぞれ示
している。
FIG. 2 is a block diagram showing an example of the hardware configuration of the system of the present invention. In the same figure, 11
0 is the central processing unit, 120 is the display, 13
0 is a keyboard, 140 is a magnetic disk device, 1
50 is a floppy disk device, 210 is a printer control unit, 218 is an electromagnetic switch, 220 is a printer mechanism unit, 230 is a paper feed switch, 310
indicates a power supply device, and 320 indicates a power switch.
中央処理装置110、デイスプレイ120、キ
ーボード130、磁気デイスク装置140及びフ
ロツピー・デイスク装置150は、本体装置を構
成している。プリンタ制御部210及びプリンタ
機構部220はプリンタ装置を構成している。プ
リンタ装置は、ドツト・マトリツクス形式のシリ
アル・プリンタ装置である。用紙送りスイツチ2
30は、プリンタ装置の操作パネル上に存在す
る。プリンタ装置は、本体装置から送られて来る
印字データを印字する。電源装置310は電源ス
イツチ320を介して交流電源に接続される。電
源装置310は、本体装置及びプリンタ装置の両
方に対して電源供給を行う。電磁開閉器218が
投入されると、プリンタ機構部220に対して電
源が供給される。 The central processing unit 110, display 120, keyboard 130, magnetic disk device 140, and floppy disk device 150 constitute a main unit. The printer control section 210 and the printer mechanism section 220 constitute a printer device. The printer device is a dot matrix type serial printer device. Paper feed switch 2
30 is present on the operation panel of the printer device. The printer device prints print data sent from the main device. The power supply device 310 is connected to an AC power source via a power switch 320. The power supply device 310 supplies power to both the main body device and the printer device. When the electromagnetic switch 218 is turned on, power is supplied to the printer mechanism section 220.
第3図は本発明のプリンタ機構部のハードウエ
ア構成例を示すブロツク図である。同図におい
て、211は通信制御部、212はクロツク発生
部、213はメモリ、214はタイマ、215は
マイクロプロセツサ、216は入力制御部、21
7は出力制御部、218は電磁開閉器をそれぞれ
示している。 FIG. 3 is a block diagram showing an example of the hardware configuration of the printer mechanism section of the present invention. In the figure, 211 is a communication control section, 212 is a clock generation section, 213 is a memory, 214 is a timer, 215 is a microprocessor, 216 is an input control section, 21
7 indicates an output control section, and 218 indicates an electromagnetic switch.
プリンタ制御部210は、マイクロプロセツサ
215やクロツク発生部212、メモリ213、
タイマ214、通信制御部211、入力制御部2
16、出力制御部217、電磁開閉器218など
を有している。マイクロプロセツサ215は、ク
ロツク発生部212から入力されるクロツクに同
期してメモリ213に蓄えられているプリンタ制
御プログラムを実行し、通信制御部211やメモ
リ213、タイマ214、入力制御部216、出
力制御部217等を制御し、プリンタ機構部22
0を動作させる。通信制御部211は、中央処理
装置110からのコマンドをマイクロプロセツサ
215に入力し、マイクロプロセツサ215から
の応答を中央処理装置110へ出力するインタフ
エース制御を行う。メモリ213には、プリンタ
制御プログラムが蓄えられており、マイクロプロ
セツサ215は順次そのプログラムを実行する。
マイクロプロセツサ215は、必要に応じてデー
タをメモリ213に書き込みことが出来、必要に
応じてデータをメモリ213から読み出すことが
出来る。タイマ214は、マイクロプロセツサ2
15により制御され、時間計測や時間監視を行
う。入力制御部216は、用紙送りスイツチ23
0の状態やプリンタ機構部220からの各種タイ
ミング/センサ信号をマイクロプロセツサ215
に入力するためのインタフエース制御を行う。出
力制御部217は、プリンタ機構部220におけ
る各種モータへの駆動信号の供給やソレノイドへ
の駆動信号の供給、電磁開閉器218の投入/切
断制御を行う。 The printer control unit 210 includes a microprocessor 215, a clock generator 212, a memory 213,
Timer 214, communication control section 211, input control section 2
16, an output control section 217, an electromagnetic switch 218, and the like. The microprocessor 215 executes the printer control program stored in the memory 213 in synchronization with the clock input from the clock generator 212, and processes the communication controller 211, memory 213, timer 214, input controller 216, and output controller 213. Controls the control unit 217 and the like, and controls the printer mechanism unit 22.
Operate 0. The communication control unit 211 performs interface control for inputting commands from the central processing unit 110 to the microprocessor 215 and outputting responses from the microprocessor 215 to the central processing unit 110. A printer control program is stored in the memory 213, and the microprocessor 215 sequentially executes the program.
Microprocessor 215 can write data to memory 213 as needed, and read data from memory 213 as needed. The timer 214 is the microprocessor 2
15 for time measurement and time monitoring. The input control unit 216 controls the paper feed switch 23
0 status and various timing/sensor signals from the printer mechanism section 220 to the microprocessor 215.
Performs interface control for input. The output control unit 217 supplies drive signals to various motors in the printer mechanism unit 220, supplies drive signals to solenoids, and controls closing/disconnection of the electromagnetic switch 218.
プリンタ制御処理手順について説明する。電源
投入後、クロツク発生部212からクロツクが入
力されると、マイクロプロセツサ215はメモリ
213に蓄えられているプリンタ制御プログラム
を順次読み取り、それに従い処理を実行する。電
源投入後、マイクロプロセツサ215はプリンタ
機構部220の電源を投入し、待機状態に入る。
待機状態では、中央処理装置110からのコマン
ドを受信したかどうか、用紙送りスイツチ230
が押されたかどうか、ソレノイド通電異常かどう
かのチエツク等を行つている。 The printer control processing procedure will be explained. After the power is turned on, when a clock is input from the clock generator 212, the microprocessor 215 sequentially reads printer control programs stored in the memory 213 and executes processing accordingly. After turning on the power, the microprocessor 215 turns on the power to the printer mechanism section 220 and enters a standby state.
In the standby state, the paper feed switch 230 determines whether a command from the central processing unit 110 has been received.
It checks whether the button has been pressed and whether the solenoid is energized abnormally.
中央処理装置110からのコマンドを受信した
場合、異常停止フラグがオフであれば、中央処理
装置110からのコマンドに従い印字/改行動作
を行い、その動作が正常に終了した場合には中央
処理装置110に正常応答を通知する。異常停止
フラグがオンの時には、中央処理装置110に異
常応答を通知する。また、印字/改行動作中に異
常を検出した場合、プリンタ動作異常停止処理を
行い、中央処理装置110に異常応答を通知す
る。異常応答を受け取ると、本体装置は異常が発
生した旨のメツセージをデイスプレイ120に表
示する。オペレータは、デイスプレイ120上に
異常発生メツセージを見て、必要な処置を行う。 When a command is received from the central processing unit 110, if the abnormal stop flag is off, printing/breaking operation is performed according to the command from the central processing unit 110, and if the operation is completed normally, the central processing unit 110 Notify of a successful response. When the abnormal stop flag is on, the abnormal response is notified to the central processing unit 110. Further, if an abnormality is detected during the printing/resetting operation, a printer operation abnormality stop process is performed and the abnormality response is notified to the central processing unit 110. Upon receiving the abnormal response, the main unit displays a message on the display 120 to the effect that an abnormality has occurred. The operator sees the abnormality occurrence message on the display 120 and takes necessary measures.
印字/改行動作を第6図を参照しつつ説明す
る。印字ヘツド移動モータをオンとすると、プリ
ンタ機構部220からメカ・タイミング信号や印
字ヘツド位置センサ信号が入力される。メカ・タ
イミング信号とは、印字ヘツドが正常に移動して
いる場合に一定間隔で出る信号であり、用紙ジヤ
ム(用紙が詰まつた状態)、リボン・ジヤム(リ
ボンが詰まつたり、ヘツドに引つかかつた状態)
等の異常が起つた場合にはその間隔が規定値以外
となつたり、メカ・タイミング信号が停止したり
するので、その信号を監視していれば、異常を検
知することができる。印字ヘツド位置センサ信号
とは、印字ヘツドが左端又は右端にある時に出る
信号で、印字ヘツドは印字ヘツド移動モータをオ
ンにしている間は左端と右端の間を往復してい
る。印字ヘツドが左端から右端又は右端から左端
へ移動する時間はそれぞれ一定なので、その時間
を監視していれば、印字ヘツドの移動動作が異常
になつた場合、検知することができる。 The printing/reforming operation will be explained with reference to FIG. When the print head movement motor is turned on, mechanical timing signals and print head position sensor signals are input from the printer mechanism section 220. The mechanical timing signal is a signal that is output at regular intervals when the print head is moving normally. used condition)
If such an abnormality occurs, the interval will be outside the specified value or the mechanical timing signal will stop, so if the signal is monitored, the abnormality can be detected. The print head position sensor signal is a signal that is generated when the print head is at the left or right end, and the print head is reciprocating between the left end and the right end while the print head movement motor is turned on. Since the time it takes for the print head to move from the left end to the right end or from the right end to the left end is constant, if the time is monitored, it is possible to detect if the print head movement becomes abnormal.
印字ヘツド位置センサ信号による印字ヘツドが
左端(又は右端)にあることが判ると、その後か
ら出てくるメカ・タイミング信号を同期して、印
字ヘツド・ソレノイドを駆動して印字動作を開始
する。開始した反対側の右端(又は左端)まで印
字動作を行えば、一行分の印字動作が終了したこ
とになる。その時点で改行ソレノイドを駆動すれ
ば改行動作が行われ、その後で印字ヘツド移動モ
ータをオフとすれば、一連の印字/改行動作が終
了する。 When it is determined that the print head is at the left end (or right end) based on the print head position sensor signal, the print head solenoid is driven in synchronization with the mechanical timing signal that comes afterward to start the printing operation. If the printing operation is performed to the right end (or left end) on the opposite side from where it started, the printing operation for one line is completed. If the line feed solenoid is driven at that point, the line feed operation will be performed, and if the print head movement motor is then turned off, the series of printing/line feed operations will be completed.
以上のように、各種ソレノイドを駆動するタイ
ミングは決まつているので、ソレノイドを駆動し
ていない時にソレノイドに電流が流れているかど
うかのチエツクを行うことにより、ソレノイド通
電異常を検知することができる。 As described above, since the timing of driving each type of solenoid is determined, abnormality in energization of the solenoid can be detected by checking whether current is flowing through the solenoid when the solenoid is not being driven.
一般に、メカ・タイミング信号異常はオペレー
タが用紙ジヤムやリボン・ジヤムを取り除けば直
るので復旧可能とし、ソレノイド通電異常は駆動
素子やプリンタ機構部220が壊れているので、
復旧不可能と判断し、回復不可フラグをオンとす
る。 In general, a mechanical timing signal abnormality can be fixed by the operator removing the paper jam or ribbon jam, so it can be recovered, and a solenoid energization abnormality means that the drive element or printer mechanism 220 is broken.
It is determined that recovery is not possible and the unrecoverable flag is turned on.
それらの異常を検知した時は、プリンタ動作異
常停止処理として、電磁開閉器218をオフして
プリンタ機構部220への電源供給を停止し、各
種モータやソレノイドの駆動を停止し、プリンタ
異常停止フラグをオンとする。 When such an abnormality is detected, the electromagnetic switch 218 is turned off to stop the power supply to the printer mechanism 220, the drive of various motors and solenoids is stopped, and the printer abnormality stop flag is set as printer operation abnormality stop processing. Turn on.
待機状態で用紙送りスイツチ230が押された
場合、異常停止フラグがオンでなければ、上述の
印字/改行動作と同様に改行動作のみを行う。異
常停止フラグがオンの時に用紙送りスイツチ23
0が押された場合、その前にソレノイド通電異常
が起つていれば(回復不可フラグがオンの場合)
回復不可能と判断し、改行動作は行わず、待機状
態に戻る。メカ・タイミング信号異常が起つてい
た場合(回復不可フラグがオフの場合)は、異常
停止フラグをオフとし、電磁開閉器218を投入
してプリンタ機構部220に電源を供給し、改行
動作を開始する。 When the paper feed switch 230 is pressed in the standby state, unless the abnormal stop flag is on, only the paper feed switch 230 is performed in the same way as the above-described print/paper feed operation. Paper feed switch 23 when the abnormal stop flag is on
When 0 is pressed, if a solenoid energization error has occurred before that (if the non-recovery flag is on)
It is determined that recovery is not possible, and no action is taken and the system returns to standby mode. If a mechanical timing signal abnormality has occurred (when the unrecoverable flag is off), the abnormal stop flag is turned off, the electromagnetic switch 218 is turned on to supply power to the printer mechanism section 220, and the change operation is started. Start.
オペレータにより、用紙ジヤム又はリボン・ジ
ヤムなど以前に起つたメカ・タイミング信号異常
の原因が取り除かれていれば、プリンタ機構部2
20からの各種タイミング/センサ信号は正常に
戻つているので、通常の改行動作を行い、待機状
態に戻る。異常の原因が取り除かれていなけれ
ば、再びメカ・タイミング信号異常となり、プリ
ンタ動作異常停止処理を行い、待機状態に戻る。 If the cause of the mechanical timing signal abnormality that occurred previously, such as paper jam or ribbon jam, has been removed by the operator, printer mechanism section 2
Since the various timing/sensor signals from 20 have returned to normal, the normal changeover operation is performed and the machine returns to the standby state. If the cause of the abnormality is not removed, the mechanical timing signal becomes abnormal again, the printer performs abnormal printer operation stop processing, and returns to the standby state.
従来は、用紙送りスイツチ230が押された時
に異常停止フラグがオンの場合、その前に起つた
異常の種類にかかわらず待機状態に戻つていたの
で、回復可能な場合でも、電源再投入以外に復旧
する方法がなかつた。 Conventionally, if the abnormality stop flag was on when the paper feed switch 230 was pressed, the system would return to the standby state regardless of the type of abnormality that occurred before, so even if recovery was possible, it would be necessary to turn on the power again. There was no way to recover.
第4図はプリンタ制御処理の概略フローチヤー
トを示す図である。プリンタ制御プログラムによ
つて下記のような処理が行われる。 FIG. 4 is a diagram showing a schematic flowchart of printer control processing. The following processing is performed by the printer control program.
プリンタ機構部の電源投入を行う。 Turn on the power to the printer mechanism.
コマンド受信か否かを調べる。Yesのときは
に進み、Noのときはに進む。 Check whether command is received. If yes, proceed to step; if no, proceed to step.
異常停止フラグがオンか否かを調べる。Yes
のときはに進み、Noのときはに進む。 Check whether the abnormal stop flag is on. Yes
If , proceed to , and if No, proceed to .
印字ヘツド移動モータをオンする。 Turn on the print head movement motor.
印字/改行動作を行う。 Performs printing/breaking operations.
ソレノイド通電異常か否かを調べる。Yesの
ときはの処理に進み、Noのときはに進む。 Check whether the solenoid is energized abnormally. If Yes, proceed to processing; if No, proceed to processing.
メカ・タイミング信号が異常か否かを調べ
る。Yesのときはに進み、Noのときはに
進む。 Check whether the mechanical timing signal is abnormal. If yes, proceed to step; if no, proceed to step.
印字/改行動作が終了したか否かを調べる。
Yesのときはに進み、Noのときはに戻る。 Check whether the printing/editing operation has finished.
If yes, proceed to step, if no, return to step.
印字ヘツド移動モータをオフする。 Turn off the print head movement motor.
正常応答を返す。に戻る。 Returns a normal response. Return to
用紙送りスイツチがオンか否かを調べる。
Yesのときはに進み、Noのときはに進む。 Check whether the paper feed switch is on.
If yes, proceed to step; if no, proceed to step.
異常停止フラグがオンか否かを調べる。Yes
のときはに戻り、Noのときはに進む。 Check whether the abnormal stop flag is on. Yes
If , go back to , and if no, go to .
ソレノイド通電異常か否かを調べる。Yesの
ときはに進み、Noのときはに戻る。 Check whether the solenoid is energized abnormally. If yes, proceed to step, if no, return to step.
プリンタ動作異常停止処理を行う。 Performs abnormal printer operation stop processing.
回復不可フラグをオンする。 Turn on the non-recoverable flag.
プリンタ動作異常停止処理を行う。 Performs abnormal printer operation stop processing.
異常応答を返す。に戻る。 Returns an abnormal response. Return to
異常停止フラグがオンか否かを調べる。Yes
のときはに進み、Noのときはに進む。 Check whether the abnormal stop flag is on. Yes
If , proceed to , and if No, proceed to .
回復不可フラグがオンか否かを調べる。Yes
のときはに戻り、Noのときはに進む。 Check whether the unrecoverable flag is on. Yes
If , go back to , and if no, go to .
異常停止フラグをオフする。 Turn off the abnormal stop flag.
プリンタ機構部の電源を投入する。 Turn on the power to the printer mechanism.
印字ヘツド移動モータをオンする。 Turn on the print head movement motor.
〓〓 改行動作を行う。〓〓 Perform a change action.
〓〓 ソレノイド通電異常か否かを調べる。Yesの
ときは〓〓に進み、Noのときは〓〓に進む。〓〓 Check whether the solenoid is abnormally energized. If Yes, proceed to 〓〓; if No, proceed to 〓〓.
〓〓 メカ・タイミング信号異常があるか否かを調
べる。Yesのときは〓〓に進み、Noのときは〓〓
に進む。〓〓 Check whether there is any mechanical timing signal abnormality. If Yes, proceed to 〓〓; if No, proceed to 〓〓
Proceed to.
〓〓 改行動作が終了したか否かを調べる。Yesの
ときはに戻り、Noのときは〓〓に戻る。〓〓 Check whether the change action is completed. If Yes, return to 〓〓, if No, return to 〓〓.
〓〓 回復不可フラグをオンする。〓〓 Turn on the unrecoverable flag.
〓〓 プリンタ動作異常停止処理を行う。〓〓 Perform abnormal printer operation stop processing.
第5図はプリンタ動作異常停止処理のフローを
示す図である。プリンタ動作異常停止処理では下
記のような処理が行われる。 FIG. 5 is a diagram showing the flow of abnormal printer operation stop processing. In the printer operation abnormality stop processing, the following processing is performed.
プリンタ機構部の電源を切断する。 Turn off the power to the printer mechanism.
各種モータやソレノイドをオフする。 Turn off various motors and solenoids.
プリンタ異常停止フラグをオンする。 Turn on the printer abnormal stop flag.
以上の説明から明らかなように、本発明によれ
ば、異常状態となつた時に、オペレータの介入に
より電源スイツチ以外の通常のプリンタ装置に設
けられているスイツチ、例えば用紙送りスイツチ
等を押すと言う簡単な操作で、異常状態の原因が
取り除かれ、回復可能な場合のみ、プリンタ装置
を異常停止状態から正常状態に復帰させると言う
制御を行うことにより、電源が共用されている場
合でも本体装置の業務に影響を与えず、且つプリ
ンタ装置の損傷や破壊を防止できると言う顕著な
効果を奏することが出来る。
As is clear from the above explanation, according to the present invention, when an abnormal condition occurs, the operator can intervene by pressing a switch provided in a normal printer device other than the power switch, such as a paper feed switch, etc. By controlling the printer device to return to normal state from an abnormal stop state only when the cause of the abnormal state has been removed and recovery is possible, the main device's operations can be maintained even when the power source is shared. It is possible to achieve the remarkable effect of preventing damage or destruction of the printer device without affecting the printer.
第1図は本発明の原理図、第2図は本発明のシ
ステムのハードウエア構成例を示すブロツク図、
第3図は本発明のプリンタ制御部の構成例を示す
ブロツク図、第4図は本発明におけるプリンタ制
御処理の概略フローチヤートを示す図、第5図は
本発明におけるプリンタ動作異常停止処理フロー
を示す図、第6図はプリンタ印字/改行動作のタ
イミング・チヤートを示す図である。
110……中央処理装置、120……デイスプ
レイ、130……キーボード、140……磁気デ
イスク装置、150……フロツピー・デイスク装
置、210……プリンタ制御部、211……通信
制御部、212……クロツク発生部、213……
メモリ、214……タイマ、215……マイクロ
プロセツサ、216……入力制御部、217……
出力制御部、218……電磁開閉器、220……
プリンタ機構部、230……用紙送りスイツチ、
310……電源装置、320……電源スイツチ。
FIG. 1 is a principle diagram of the present invention, and FIG. 2 is a block diagram showing an example of the hardware configuration of the system of the present invention.
FIG. 3 is a block diagram showing a configuration example of the printer control section of the present invention, FIG. 4 is a diagram showing a schematic flowchart of printer control processing in the invention, and FIG. 5 is a flowchart of abnormal printer operation stop processing in the invention. The diagram shown in FIG. 6 is a diagram showing a timing chart of printer printing/change operation. 110...Central processing unit, 120...Display, 130...Keyboard, 140...Magnetic disk device, 150...Floppy disk device, 210...Printer control unit, 211...Communication control unit, 212...Clock Generation part, 213...
Memory, 214...Timer, 215...Microprocessor, 216...Input control unit, 217...
Output control unit, 218... Electromagnetic switch, 220...
Printer mechanism section, 230...Paper feed switch,
310...power supply device, 320...power switch.
Claims (1)
作制御手段242、回復不可フラグ243及び異
常停止フラグ244を持つプリンタ制御部210
と、 プリンタ制御部210にコマンドを入力すると
共に、プリンタ制御部210からの応答出力を受
け取る本体装置100と、 プリンタ制御部210に対して動作指示を与え
る動作指示スイツチ230と、 本体装置100、プリンタ制御部210および
プリンタ機構部220に電源を供給する電源装置
310と、 電源装置310からプリンタ機構部220に至
るプリンタ機構部電源線の途中に設けられ且つプ
リンタ制御部210によつて制御可能なプリンタ
機構部用電源スイツチ218と、 電源装置310を交流電源に接続するための交
流側電源スイツチ320と を具備する情報処理装置であつて、 コマンド用動作制御手段241は、コマンドが
送られて来た時に動作して異常停止フラグ244
がオンか否かを調べ、 異常停止フラグ244がオンの場合には本体装
置100に異常応答を返し、 異常停止フラグ244がオフである場合には当
該コマンドの種類によつて定まる動作をプリンタ
機構部220に行わせるための制御を行い、 プリンタ機構部220が動作している過程にお
いて、プリンタ機構部220に回復不可能な所定
の異常が発生したことを検出したときには、回復
不可フラグ243をオンとし、プリンタ機構部2
20の電源をオフし、プリンタ機構部220の各
種モータやソレノイド信号をオフし、異常停止フ
ラグ244をオンし、異常応答を本体装置100
に返し、 プリンタ機構部220が動作している過程にお
いて、プリンタ機構部220に回復可能な他の異
常が発生したことを検出したときには、回復不可
フラグ243をオフのままプリンタ機構部220
の電源をオフし、プリンタ機構部220の各種モ
ータやソレノイド信号をオフし、異常停止フラグ
244をオンし、異常応答を本体装置100に返
し、 プリンタ機構部220がコマンドで指定された
動作を正常に終了した場合には、正常応答を本体
装置100に返すように構成され、 スイツチ用動作制御手段242は、動作指示ス
イツチ230が押下された時に動作して異常停止
フラグ244がオンか否かを調べ、 異常停止フラグ244がオフである場合には当
該動作指示スイツチ230の種類によつて定まる
動作をプリンタ機構部220に行わせるための制
御を行い、 異常停止フラグ244がオンの場合には、回復
不可フラグ243がオフであることを条件として
異常停止フラグ244をオフし、プリンタ機構部
の電源投入を行つた後、当該動作指示スイツチ2
30の種類によつて定まる動作をプリンタ機構部
220に行わせるための制御を行い、 プリンタ機構部220が動作している過程にお
いて、プリンタ機構部220に回復不可能な所定
の異常が発生したことを検出したときには、回復
不可フラグ243をオンとし、プリンタ機構部2
20の電源をオフし、プリンタ機構部220の各
種モータやソレノイド信号をオフし、異常停止フ
ラグ244をオンし、 プリンタ機構部220が動作している過程にお
いて、プリンタ機構部220に回復可能な他の異
常が発生したことを検出したときには、回復不可
フラグ243をオフのままプリンタ機構部220
の電源をオフし、プリンタ機構部220の各種モ
ータやソレノイド信号をオフし、異常停止フラグ
244をオンするように構成されている ことを特徴とする情報処理装置。[Claims] 1. A printer control unit 210 having a printer mechanism unit 220, a command operation control unit 241, a switch operation control unit 242, an unrecoverable flag 243, and an abnormal stop flag 244.
The main unit 100 inputs a command to the printer control unit 210 and receives a response output from the printer control unit 210; The operation instruction switch 230 provides an operation instruction to the printer control unit 210; The main unit 100, the printer A power supply device 310 that supplies power to the control section 210 and the printer mechanism section 220; and a printer that is provided in the middle of the printer mechanism section power line from the power supply device 310 to the printer mechanism section 220 and that can be controlled by the printer control section 210. The information processing device includes a mechanism section power switch 218 and an AC side power switch 320 for connecting the power supply device 310 to an AC power source, and the command operation control means 241 is configured to operate when a command is sent. Abnormal stop flag 244
is on, and if the abnormal stop flag 244 is on, an abnormal response is returned to the main device 100, and if the abnormal stop flag 244 is off, the printer mechanism performs an operation determined by the type of command. When it is detected that a predetermined unrecoverable abnormality has occurred in the printer mechanism section 220 while the printer mechanism section 220 is operating, the unrecoverable flag 243 is turned on. and printer mechanism section 2
20 , various motors and solenoid signals of the printer mechanism section 220 are turned off, the abnormal stop flag 244 is turned on, and an abnormal response is sent to the main device 100 .
In return, when it is detected that another recoverable abnormality has occurred in the printer mechanism section 220 while the printer mechanism section 220 is operating, the printer mechanism section 220 is turned off with the unrecoverable flag 243 turned off.
, turns off the various motors and solenoid signals of the printer mechanism section 220, turns on the abnormal stop flag 244, returns an abnormal response to the main device 100, and causes the printer mechanism section 220 to perform the operations specified by the command normally. The switch operation control means 242 operates when the operation instruction switch 230 is pressed and determines whether the abnormal stop flag 244 is on or not. If the abnormal stop flag 244 is off, control is performed to cause the printer mechanism section 220 to perform an operation determined by the type of the operation instruction switch 230, and if the abnormal stop flag 244 is on, On the condition that the unrecoverable flag 243 is off, the abnormal stop flag 244 is turned off, and after turning on the power to the printer mechanism, the operation instruction switch 2 is turned off.
Control is performed to cause the printer mechanism unit 220 to perform an operation determined by the type of the printer mechanism unit 220, and a predetermined unrecoverable abnormality occurs in the printer mechanism unit 220 while the printer mechanism unit 220 is operating. When detected, the unrecoverable flag 243 is turned on and the printer mechanism unit 2
20, various motors and solenoid signals of the printer mechanism section 220, and the abnormal stop flag 244 are turned on. When it is detected that an abnormality has occurred, the printer mechanism unit 220 leaves the unrecoverable flag 243 off.
An information processing apparatus characterized in that the information processing apparatus is configured to turn off the power of the printer, turn off various motors and solenoid signals of the printer mechanism section 220, and turn on an abnormal stop flag 244.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63074222A JPH01244885A (en) | 1988-03-28 | 1988-03-28 | information processing equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63074222A JPH01244885A (en) | 1988-03-28 | 1988-03-28 | information processing equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01244885A JPH01244885A (en) | 1989-09-29 |
| JPH0584750B2 true JPH0584750B2 (en) | 1993-12-03 |
Family
ID=13540944
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63074222A Granted JPH01244885A (en) | 1988-03-28 | 1988-03-28 | information processing equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01244885A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07112565A (en) * | 1993-10-20 | 1995-05-02 | Canon Inc | Image recorder |
| CN109917724B (en) * | 2019-04-11 | 2024-03-05 | 辽宁科技大学 | A remote monitoring system for traditional 3D printers |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0782422B2 (en) * | 1985-02-05 | 1995-09-06 | キヤノン 株式会社 | Printer controller |
-
1988
- 1988-03-28 JP JP63074222A patent/JPH01244885A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01244885A (en) | 1989-09-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0584750B2 (en) | ||
| US4948279A (en) | Bidirectional printing device | |
| JPH03137732A (en) | Switching system for terminal controller | |
| JPH07121394A (en) | Multiplexer | |
| JP2831019B2 (en) | Print start processing method for print output device | |
| JPS63125374A (en) | printing device | |
| JPS60156126A (en) | data output device | |
| JPH04140180A (en) | Terminal printer | |
| JPH0895602A (en) | Drive control method/device for drive subject in automatic machine | |
| JP3019158B2 (en) | Printer | |
| JPH0799504B2 (en) | Power control device | |
| JP2503902Y2 (en) | Control device for equipment with operation confirmation | |
| JPS603225B2 (en) | Main storage information recovery method | |
| JP3224910B2 (en) | Elevator power failure detection device | |
| JPS6295278A (en) | recording device | |
| JP2765849B2 (en) | Printer | |
| JP2557538B2 (en) | Duplex system | |
| JPS63109899A (en) | Abnormality alarm device of full-automatic washing machine | |
| JPH0632028A (en) | Method of driving head and apparatus therefor | |
| JPH01109416A (en) | Power source turning-off system for automatic machine | |
| JPS5972582A (en) | Data input and output device | |
| JPS61220883A (en) | Printer with trouble display | |
| JPH01258263A (en) | Magnetic disk controller | |
| JPH05151026A (en) | Job monitoring system | |
| JPH04165443A (en) | Input/output control system |