JP2002149380A - Log data recorder - Google Patents

Log data recorder

Info

Publication number
JP2002149380A
JP2002149380A JP2000345773A JP2000345773A JP2002149380A JP 2002149380 A JP2002149380 A JP 2002149380A JP 2000345773 A JP2000345773 A JP 2000345773A JP 2000345773 A JP2000345773 A JP 2000345773A JP 2002149380 A JP2002149380 A JP 2002149380A
Authority
JP
Japan
Prior art keywords
log data
log
information
memory
recording
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.)
Granted
Application number
JP2000345773A
Other languages
Japanese (ja)
Other versions
JP4120155B2 (en
Inventor
Katsumasa Miyai
克将 宮井
Kimihiko Sasaki
公彦 佐々木
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2000345773A priority Critical patent/JP4120155B2/en
Publication of JP2002149380A publication Critical patent/JP2002149380A/en
Application granted granted Critical
Publication of JP4120155B2 publication Critical patent/JP4120155B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Debugging And Monitoring (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a log data recorder capable of recording log data with less data quantity and also promptly coping with the occurrence of a problem. SOLUTION: A log recording part 58 monitors communication information communicated between a controller 14 and the controlling part 54 of a printer main body 16 and control information including conveyance information from a conveying mechanisms 56, generates log data by acquiring time when the control information is generated from a timer 60 and always records the log data onto a recording memory 62 in a predetermined order. A log pattern discriminating part 64 decides whether or not the log data recorded all the time in the memory 62 coincides with a preliminarily set log storage condition stored in a log pattern storing part 68 and saves the log data in the a save recording memory 66 when the log data coincides with the log storage condition.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はログデータ記録装置
に係り、特に、複写機やプリンタ等の画像形成装置にお
ける制御情報や印字情報等のログデータを記録するログ
データ記録装置に関する。
The present invention relates to a log data recording apparatus, and more particularly to a log data recording apparatus for recording log data such as control information and print information in an image forming apparatus such as a copying machine or a printer.

【0002】[0002]

【従来の技術】近年、プリンタ等の画像形成装置では高
速化が著しく進んでいるが、このような高速な画像形成
装置では、一般顧客向けの証書や請求書等の通知業務に
使用される場合が多い。例えば、表に宛名を印刷し、裏
面に請求金額等を印刷して請求書とするような場合であ
る。
2. Description of the Related Art In recent years, the speed of image forming apparatuses such as printers has been remarkably increased. However, such high-speed image forming apparatuses are often used for notification of certificates and bills for general customers. There are many. For example, there is a case where an address is printed on a table and a billing amount or the like is printed on the back side to form a bill.

【0003】このような場合において、複数の異なる顧
客の請求書を連続して高速プリントする場合、用紙が重
複したりすることにより宛名と金額が一致しなくなった
り、宛名や請求金額等の印字情報が欠落したりした場
合、顧客の信用問題に関わる大きな問題となりかねな
い。
In such a case, when printing bills of a plurality of different customers continuously at a high speed, the address and the amount of money do not match due to duplication of paper, or printing information such as the name of the address and the amount of billing. In the event that a customer is missing, it can be a major problem with customer credit issues.

【0004】このような問題を解決するため、問題が発
生した場合に原因を解析するため、プリンタを制御する
コントローラからプリンタへ送信される制御コマンド等
を含む通信情報、用紙の搬送情報、及び画像形成情報等
の制御情報をログデータとして記録しておいたり、エラ
ーが発生した時のエラー情報を記録しておいたりするの
が一般的である(例えば特開平11−109806号公
報、特開平5−107720号公報参照)。
In order to solve such a problem, in order to analyze the cause when the problem occurs, communication information including a control command transmitted from a controller for controlling the printer to the printer, paper transport information, and image information Generally, control information such as formation information is recorded as log data, or error information when an error occurs is recorded (for example, JP-A-11-109806, JP-A-5-109806). -107720 gazette).

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記制
御情報は、その情報量が膨大な上、ユーザに請求書が送
付されてから問題が発生したことが発覚する場合がある
ため、長期間に亘って保存しておかなければならず、容
量の大きなメモリが必要になりコストがかかる、という
問題があった。
However, the above control information has a huge amount of information, and it may be discovered that a problem has occurred since the bill was sent to the user, so that the control information may be over a long period of time. This requires a large-capacity memory and is costly.

【0006】また、問題の原因が画像形成装置を制御す
るためのソフトウェアにあった場合、問題を解決するに
は記録したログデータを解析して原因を特定し、改めて
ソフトウェアを修正設計し、デバッグ、評価するといっ
た手順が必要になるため時間がかかる、という問題があ
った。
If the problem is caused by software for controlling the image forming apparatus, the problem can be solved by analyzing recorded log data to identify the cause, redesigning the software again, and debugging. However, there is a problem that it takes time because a procedure such as evaluation is required.

【0007】本発明は上記問題点を解消するために成さ
れたものであり、ログデータをより少ないデータ量で記
録することができると共に、問題発生時に早急に対処が
可能となるログデータ記録装置を提供することを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and a log data recording apparatus capable of recording log data with a smaller amount of data and capable of promptly coping with the occurrence of a problem. The purpose is to provide.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明は、画像形成装置における画像
形成制御に関する複数の制御情報のログデータを記録す
るログデータ記録装置において、前記ログデータを記憶
するためのメモリと、前記制御情報が発生した時刻の時
刻情報を取得するための時刻情報取得手段と、前記制御
情報が発生した時刻の時刻情報を、前記複数の制御情報
に基づいて予め定めた順序又は位置に従って前記メモリ
に記録するログデータ記録手段と、を備えたことを特徴
とする。
According to a first aspect of the present invention, there is provided a log data recording apparatus for recording log data of a plurality of pieces of control information relating to image forming control in an image forming apparatus. A memory for storing log data, time information obtaining means for obtaining time information of the time at which the control information occurred, and time information of the time at which the control information occurred, based on the plurality of pieces of control information. Log data recording means for recording the data in the memory according to a predetermined order or position.

【0009】この発明によれば、画像形成装置における
画像形成制御に関する複数の制御情報のログデータを記
憶するためのメモリを備えている。制御情報には、例え
ば画像形成装置をコントロールするためのコントローラ
と画像形成装置との間で通信される制御コマンド等の通
信情報や、画像形成装置内の記録用紙の搬送経路に設け
られたセンサからの検知信号等の搬送情報がある。メモ
リは、例えばリングバッファのように、最新の予め定め
た所定量のログデータのみを記憶するような構成とする
ことができる。
According to the present invention, there is provided a memory for storing log data of a plurality of pieces of control information relating to image formation control in the image forming apparatus. The control information includes, for example, communication information such as a control command communicated between a controller for controlling the image forming apparatus and the image forming apparatus, and a sensor provided on a recording paper conveyance path in the image forming apparatus. There is conveyance information such as a detection signal. The memory may be configured to store only the latest predetermined amount of log data, such as a ring buffer.

【0010】時刻情報取得手段は、制御情報が発生した
時刻の時刻情報を取得するためのものであり、この時刻
情報には例えば年月日、時、分、秒等の情報を含むこと
ができる。
The time information obtaining means is for obtaining time information of the time when the control information is generated. The time information can include, for example, information such as year, month, day, hour, minute, and second. .

【0011】ログデータ記録手段は、画像形成制御に関
する制御情報をモニタし、制御情報が発生した時刻の時
刻情報を、複数の制御情報に基づいて予め定めた順序又
は位置に従ってメモリに記録する。すなわち、例えば記
録用紙1枚に対する画像形成制御において複数の制御情
報が発生する場合、この制御情報の発生した時刻情報を
記録する順序又は記録するメモリの位置を予め定めてお
き、この順序又は位置に従って制御情報が発生した時刻
の時刻情報をメモリに記録する。
The log data recording means monitors control information relating to image formation control, and records time information of a time when the control information is generated in a memory in a predetermined order or position based on a plurality of pieces of control information. That is, for example, when a plurality of pieces of control information are generated in image formation control for one sheet of recording paper, the order of recording the time information at which the control information is generated or the position of the memory for recording is determined in advance, and according to this order or position. The time information of the time when the control information is generated is recorded in the memory.

【0012】このように、制御情報そのものを記録せず
に、時刻情報を記録するだけでよいため、ログデータの
データ量を少なくすることができる。なお、複数の記録
用紙に画像形成する場合には、記録用紙の番号と複数の
制御情報が発生した時刻の時刻情報とを関連付けたログ
データとすることができる。これにより、例えば記録用
紙毎の制御情報を容易に把握することができ、画像形成
装置に何らかの問題が発生した場合でも速やかに原因を
調査することができる。
As described above, since only the time information need be recorded without recording the control information itself, the data amount of the log data can be reduced. When an image is formed on a plurality of recording sheets, log data in which the number of the recording sheet and the time information of the time when the plurality of pieces of control information are generated can be used. Thus, for example, control information for each recording sheet can be easily grasped, and even if a problem occurs in the image forming apparatus, the cause can be quickly investigated.

【0013】また、ログデータ記録手段は、複数の制御
情報のうち予め定めた一の制御情報に対応する時刻情報
を基準時刻情報として定め、該定めた基準時刻情報と他
の制御情報の時刻情報との差分時刻情報を求め、該求め
た差分時刻情報を、予め定めた順序又は位置に従ってメ
モリに記録するようにしてもよい。これにより、さらに
ログデータのデータ量を少なくすることができる。
The log data recording means determines time information corresponding to one predetermined control information among a plurality of control information as reference time information, and determines the time information of the determined reference time information and other control information. May be obtained, and the obtained difference time information may be recorded in the memory according to a predetermined order or position. Thereby, the data amount of the log data can be further reduced.

【0014】また、メモリに記録されたログデータを退
避するための退避用メモリと、ログデータの退避条件を
設定するための設定手段と、メモリからログデータを読
み出し、該読み出したログデータが退避条件と一致する
場合に、ログデータを退避用メモリへ退避させる退避手
段と、をさらに備えるようにしてもよい。
Further, a save memory for saving the log data recorded in the memory, a setting means for setting a save condition of the log data, and reading the log data from the memory, the read log data is saved. And a save unit that saves the log data to the save memory when the condition is satisfied.

【0015】すなわち、画像形成制御に関する制御情報
を全て記録するとすると、メモリの容量が足りなくなる
恐れがあるため、例えばメモリをリングバッファのよう
に最新の予め定めた所定量のログデータのみを記憶する
ように構成する。そして、設定手段で設定されたログデ
ータの退避条件とメモリ読み出したログデータとが一致
する場合には、そのログデータを退避用メモリに退避さ
せる。
That is, if all the control information relating to the image forming control is recorded, the capacity of the memory may be insufficient. For example, the memory stores only the latest predetermined amount of log data such as a ring buffer. The configuration is as follows. If the log data save condition set by the setting unit matches the log data read from the memory, the log data is saved in the save memory.

【0016】退避条件は、例えば予め定めた異常動作時
のログパターン等を任意に設定することができる。これ
により、異常動作時のログデータが退避用メモリに退避
されるため、容易に異常の原因を分析することができ
る。また、退避手段は、メモリから読み出したログデー
タと退避条件とが一致する場合に、画像形成制御を停止
させるようにしてもよい。また、停止するか否かを設定
手段で設定できるようにしてもよい。また、画像形成制
御を停止させるだけでなく、これを報知するようにして
もよい。
As the evacuation condition, for example, a log pattern at the time of a predetermined abnormal operation can be arbitrarily set. Thereby, the log data at the time of the abnormal operation is saved in the save memory, so that the cause of the malfunction can be easily analyzed. Further, the save unit may stop the image forming control when the log data read from the memory matches the save condition. Further, whether or not to stop may be set by the setting means. Further, not only the image forming control may be stopped, but also this may be notified.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施の形態につい
て説明する。図1には、本実施の形態に係る画像形成装
置の外観が示されている。
Embodiments of the present invention will be described below. FIG. 1 shows the appearance of the image forming apparatus according to the present embodiment.

【0018】図1に示すように、画像形成装置10は、
プリンタ12及び該プリンタ12をコントロールするコ
ントローラ14を備えている。
As shown in FIG. 1, the image forming apparatus 10
A printer 12 and a controller 14 for controlling the printer 12 are provided.

【0019】プリンタ12は、プリンタ本体16、フィ
ーダ18、及び後処理機20で構成されている。
The printer 12 includes a printer main body 16, a feeder 18, and a post-processing machine 20.

【0020】フィーダ18は給紙トレイ22A,22
B,22Cを備えており、指定されたサイズの用紙をプ
リンタ本体16へ給紙する。
The feeder 18 is provided with paper feed trays 22A and 22A.
B, 22C, and feeds paper of a designated size to the printer body 16.

【0021】プリンタ本体16は、コントローラ14と
通信ケーブル23で接続され、コントローラ14から送
信された印字情報に基づいて画像を形成する。
The printer main body 16 is connected to the controller 14 by a communication cable 23, and forms an image based on print information transmitted from the controller 14.

【0022】プリンタ本体16は、例えば、図2に示す
ような画像形成部24を含んで構成されている。画像形
成部24は、帯電装置26、感光体ドラム28、露光装
置30、現像装置32、除電装置34、中間転写体3
6、1次転写装置38、2次転写装置40、剥離装置4
2、定着装置44等を含んで構成されている。
The printer body 16 includes, for example, an image forming unit 24 as shown in FIG. The image forming unit 24 includes a charging device 26, a photosensitive drum 28, an exposure device 30, a developing device 32, a static elimination device 34, and an intermediate transfer member 3.
6, primary transfer device 38, secondary transfer device 40, peeling device 4
2. It includes a fixing device 44 and the like.

【0023】なお、露光装置30は、例えば図示しない
半導体レーザ等の光源や光源から射出された光ビームを
感光体ドラム28の方へ偏向するためのポリゴンミラ
ー、fθレンズ等を含んで構成される。
The exposure apparatus 30 includes a light source such as a semiconductor laser (not shown), a polygon mirror for deflecting a light beam emitted from the light source toward the photosensitive drum 28, an fθ lens, and the like. .

【0024】このように構成された画像形成部24で
は、まず帯電装置26により図中矢印A方向へ定速回転
する感光体ドラム28が一様に帯電される。そして、露
光装置30が、帯電された感光体ドラム28上をコント
ローラ14から送信された印字情報に応じて変調された
光ビームで走査する。これにより印字情報に応じた静電
潜像が感光体ドラム28上に形成される。
In the image forming section 24 configured as described above, first, the photosensitive drum 28 that rotates at a constant speed in the direction of arrow A in FIG. Then, the exposure device 30 scans the charged photosensitive drum 28 with a light beam modulated according to the print information transmitted from the controller 14. As a result, an electrostatic latent image corresponding to the print information is formed on the photosensitive drum 28.

【0025】次に、感光体ドラム28上に形成された静
電潜像を現像装置32でトナー現像し、感光体ドラム2
8上にトナー像を形成する。形成されたトナー像は1次
転写装置38により中間転写体36に転写され、中間転
写体36に転写されたトナー像は2次転写装置40によ
り図中矢印B方向へ搬送される記録用紙46に転写され
る。これにより、記録用紙46上に印字情報に応じた画
像が形成される。
Next, the developing device 32 develops the electrostatic latent image formed on the photosensitive drum 28 with toner, and
8, a toner image is formed. The formed toner image is transferred to the intermediate transfer member 36 by the primary transfer device 38, and the toner image transferred to the intermediate transfer member 36 is recorded on the recording paper 46 conveyed by the secondary transfer device 40 in the direction of arrow B in FIG. Transcribed. Thus, an image corresponding to the print information is formed on the recording paper 46.

【0026】記録用紙46は、画像が転写された後、剥
離装置42により中間転写体36から剥離され、定着装
置44で定着処理が施される。これにより、記録用紙4
6上に形成されたトナー像が定着される。トナー像が定
着された記録用紙46は、後処理機20へ搬送される。
After the image is transferred to the recording paper 46, the recording paper 46 is peeled off from the intermediate transfer body 36 by a peeling device 42, and is subjected to a fixing process by a fixing device 44. Thereby, the recording paper 4
The toner image formed on 6 is fixed. The recording paper 46 on which the toner image has been fixed is conveyed to the post-processing device 20.

【0027】後処理機20は、排出トレイ48及びパー
ジトレイ50を備えており、正常に画像形成された記録
用紙46は排出トレイ48へ、不要な用紙はパージトレ
イ50へ排出される。
The post-processing device 20 includes a discharge tray 48 and a purge tray 50. The recording paper 46 on which an image is normally formed is discharged to the discharge tray 48, and unnecessary paper is discharged to the purge tray 50.

【0028】また、プリンタ本体16には操作パネル5
2が設けられている。操作パネル52は、表示部及び操
作キーで構成される。この表示部には操作メニューが表
示され、該表示された操作メニューに従って操作キーを
操作することによりプリンタ12が操作に従った動作を
する。
The operation panel 5 is provided on the printer body 16.
2 are provided. The operation panel 52 includes a display unit and operation keys. An operation menu is displayed on the display unit, and the printer 12 operates according to the operation by operating an operation key according to the displayed operation menu.

【0029】図3には、プリンタ本体16の概略ブロッ
ク図を示した。図3に示すように、プリンタ本体16
は、制御部54、操作パネル52、メモリ53、画像形
成部24、搬送機構56、ログ記録部58、タイマ6
0、常時記録メモリ62、ログパターン判別部64、退
避記録メモリ66、ログパターン格納部68、プリント
排出制御部70等を含んで構成されている。
FIG. 3 is a schematic block diagram of the printer main body 16. As shown in FIG.
Are a control unit 54, an operation panel 52, a memory 53, an image forming unit 24, a transport mechanism 56, a log recording unit 58, a timer 6
0, a constant recording memory 62, a log pattern determining unit 64, a save recording memory 66, a log pattern storage unit 68, a print discharge control unit 70, and the like.

【0030】ログ記録部58では、コントローラ14と
制御部54との間で通信される制御コマンドやシート番
号等の通信情報、及び搬送機構56からの搬送情報を含
む制御情報を常時モニタし、この制御情報とタイマ60
からの時刻情報とに基づいてログデータを生成し、常時
記録メモリ62へ順次格納する。
The log recording unit 58 constantly monitors control information including communication information such as control commands and sheet numbers communicated between the controller 14 and the control unit 54 and transport information from the transport mechanism 56. Control information and timer 60
The log data is generated based on the time information from, and is always stored in the recording memory 62 sequentially.

【0031】上記制御コマンドは複数種類あり、例えば
1枚の記録用紙に対してHintコマンド,Print
コマンド,Requestコマンドの3種類の制御コマ
ンドがコントローラ14と制御部54との間で通信され
る。なお、これらの制御コマンドは、正常動作時には例
えばHintコマンド,Printコマンド,Requ
estコマンドの順序で発生する。
There are a plurality of types of control commands, for example, a Hint command and a Print command for one recording sheet.
A command and a Request command are communicated between the controller 14 and the control unit 54. These control commands are, for example, a Hint command, a Print command, a Requ command during a normal operation.
It occurs in the order of the est command.

【0032】また、搬送機構56は、複数のセンサ、例
えばFeedセンサ、Skwセンサ、S8センサ、DG
Eセンサ、Deliverセンサの6種類のセンサを含
んで構成されており、各センサは記録用紙を検知する
と、これを搬送情報(検知信号)として制御部54へ通
知する。すなわち、1枚の記録用紙に対して6種類の搬
送情報が制御部54へ通知される。なお、これらの搬送
情報は、正常動作時には例えばFeedセンサ、Skw
センサ、S8センサ、DGEセンサ、Deliverセ
ンサの順序で発生する。
The transport mechanism 56 includes a plurality of sensors, for example, a feed sensor, an Skw sensor, an S8 sensor, and a DG.
The sensor is configured to include six types of sensors, an E sensor and a Deliver sensor. When each sensor detects a recording sheet, it notifies the control unit 54 of this as conveyance information (detection signal). That is, the control unit 54 is notified of six types of transport information for one recording sheet. It should be noted that these transport information are, for example, a Feed sensor and a Skw during normal operation.
It occurs in the order of sensor, S8 sensor, DGE sensor, and Deliver sensor.

【0033】制御部54では、この制御コマンド等の通
信情報及び搬送情報を含む制御情報に基づいて画像形成
部24及び搬送機構56を制御して記録用紙46へ画像
を印刷する。
The control section 54 controls the image forming section 24 and the transport mechanism 56 based on the control information including the communication information such as the control command and the transport information to print an image on the recording paper 46.

【0034】なお、制御情報には、制御コマンド及び搬
送情報の他、例えば給紙トレイ22A〜22Cの開閉を
検知する開閉センサからの検知信号を特定I/F情報と
して制御情報に含めるようにしてもよい。
In the control information, in addition to the control command and the transport information, for example, a detection signal from an opening / closing sensor for detecting opening / closing of the paper feed trays 22A to 22C is included in the control information as specific I / F information. Is also good.

【0035】また、制御コマンド及び搬送情報等の制御
情報が発生した時刻を記録用紙毎にログデータとして記
録しておくことにより、何らかの問題が発生した場合に
ログデータを参照することで問題の所在を容易に把握す
ることができる。
Further, the time when the control information such as the control command and the transport information is generated is recorded as log data for each recording sheet, so that when a problem occurs, the log data is referred to to locate the problem. Can be easily grasped.

【0036】常時記録メモリ62は、所謂リングバッフ
ァとなっており、ログ記録部58では、常時記録メモリ
62の最新のログデータが記録されたアドレスの次のア
ドレスにログデータを記録していく。そして、最後のア
ドレスまで到達した場合には、最初のアドレスに戻って
同様にログデータを記録していく。これにより、常に最
新のログデータが記録されると共に、最古のログデータ
が消去される。
The constant recording memory 62 is a so-called ring buffer, and the log recording unit 58 records the log data in the constant recording memory 62 at the address next to the address where the latest log data is recorded. Then, when it reaches the last address, it returns to the first address and records log data similarly. Thus, the latest log data is always recorded and the oldest log data is deleted.

【0037】ログデータの記録形式としては、例えば図
4に示す従来の形式のように、1つのログデータに対し
て時刻情報(Time Stamp)は6バイト(日、
時、分、秒の各情報は各1バイト、1/1000秒の情
報は2バイト)、制御コマンド(Command)は1
バイト、シート(記録用紙)番号は2バイトの合計9バ
イトとしてもよいが、この場合、1枚の記録用紙当たり
9バイト×9(制御コマンド3種類+搬送情報6種類=
合計9種類)=81バイトも必要となり、ログデータが
膨大となる。
As a recording format of the log data, for example, the time information (Time Stamp) is 6 bytes (day, day,
The information of hour, minute, and second is 1 byte each, and the information of 1/1000 second is 2 bytes), and the control command (Command) is 1 byte.
The byte and sheet (recording paper) number may be 2 bytes, for a total of 9 bytes. In this case, 9 bytes per recording paper × 9 (3 types of control commands + 6 types of transport information =
(9 types in total) = 81 bytes are required, and the log data becomes enormous.

【0038】そこで、本実施形態では、以下のように1
枚の記録用紙当たりのログデータをな記録形式としてい
る。すなわち、図5に示すように、ログデータの情報を
シート番号(Sheet No)と、3種類の制御コマ
ンド及び6種類の搬送情報が発生した(受信した)時刻
の時刻情報とにより構成する。すなわち、シート番号、
3種類の制御コマンドの時刻情報、6種類の搬送情報の
時刻情報の順に格納場所を予め定めておき、テーブルデ
ータく。なお、制御コマンド及び搬送情報は例えば予め
定められた発生順に格納場所を定めておく。
Therefore, in the present embodiment, 1
The log data per recording sheet is in a simple recording format. That is, as shown in FIG. 5, the information of the log data is composed of a sheet number (Sheet No), time information of the time when three types of control commands and six types of transport information are generated (received). That is, the sheet number,
The storage locations are determined in advance in the order of the time information of three types of control commands and the time information of six types of transport information, and table data is prepared. The storage locations of the control command and the transport information are determined, for example, in a predetermined order of occurrence.

【0039】これにより、図4の場合と比較して、制御
コマンドの情報を削除することができるため、1枚の記
録用紙当たりのログデータは、シート番号2バイト、時
刻情報6バイト×9(制御コマンド3種類+搬送情報6
種類=合計9種類)=54バイトの合計56バイトで足
りる。
As a result, as compared with the case of FIG. 4, the information of the control command can be deleted. Therefore, the log data per sheet of recording paper has a sheet number of 2 bytes, time information of 6 bytes × 9 ( 3 types of control commands + transport information 6
(Type = 9 types in total) = 56 bytes of 54 bytes in total is sufficient.

【0040】このように、ログデータをテーブルデータ
とすることにより、ログデータの量を大幅に減らすこと
ができ、メモリ容量を抑えることができる。
As described above, by using log data as table data, the amount of log data can be significantly reduced, and the memory capacity can be reduced.

【0041】なお、図6に示すように、Hintコマン
ドが発生した時刻を基準時刻とし、Hintコマンド以
降の制御コマンド、搬送情報については、この基準時刻
との差分時間を記録するようにしてもよい。
As shown in FIG. 6, the time when the Hint command is generated may be set as a reference time, and the difference between the control command and the transport information after the Hint command may be recorded. .

【0042】すなわち、図6に示すように、Hintコ
マンドの時刻情報は上記と同様に6バイトとし、Pri
ntコマンドの時刻情報は、Hintコマンドの時刻情
報との差分時間(1/1000秒単位)とし、Requ
estコマンドの時刻情報は、Printコマンドの時
刻情報との差分時間とする。以下同様に、直前の制御コ
マンド又は搬送情報の時刻情報との差分時間を時刻情報
として記録する。
That is, as shown in FIG. 6, the time information of the Hint command is 6 bytes as described above,
The time information of the nt command is a difference time (unit: 1/1000 second) from the time information of the Hint command, and
The time information of the est command is a difference time from the time information of the Print command. Similarly, the time difference from the immediately preceding control command or the time information of the transport information is recorded as time information.

【0043】これにより、Hintコマンド以外の制御
コマンドの時刻情報及び搬送情報の時刻情報は例えば2
バイト程度あれば十分となるため、1枚の記録用紙当た
りのログデータは、シート番号2バイト、時刻情報6バ
イト+時刻情報2バイト×8(制御コマンド2種類+搬
送情報6種類=合計8種類)=16バイトの合計24バ
イトで足り、さらにログデータの量を減らすことができ
る。なお、時刻情報にさらに年、月の情報を含むように
してもよい。
As a result, the time information of the control command other than the Hint command and the time information of
Log data per recording sheet is sufficient because only about bytes are required. The log data per sheet is 2 bytes for sheet number, 6 bytes for time information + 2 bytes for time information × 8 (2 types of control commands + 6 types of transport information = 8 types in total) ) = 16 bytes, a total of 24 bytes is sufficient, and the amount of log data can be further reduced. The time information may further include year and month information.

【0044】次に、ログデータの流れを図7に示す概念
図を参照して説明すると、ログパターン判別部64で
は、常時記録メモリ62に記録されたログデータを読み
出し、読み出したログデータがログパターン格納部に格
納された予め設定されたログストア条件を満たすか否か
を判断する。そして、読み出したログデータがログパタ
ーン格納部に格納された予め設定されたログストア条件
を満たす場合には、退避記録メモリ66へ退避すると共
に、記録用紙46の排出を停止するか否かを指令するた
めのプリント排出制御指令信号をプリント排出制御部7
0を出力する。なお、退避記録メモリ66を複数の退避
記録メモリ66A,66B,66Cに分け、空の退避記
録メモリを検索し、検索した空の退避記録メモリに順次
退避させるようにしてもよい。
Next, the flow of the log data will be described with reference to a conceptual diagram shown in FIG. 7. The log pattern discriminating section 64 always reads the log data recorded in the recording memory 62, and the read log data is stored in the log data. It is determined whether or not a preset log store condition stored in the pattern storage unit is satisfied. If the read log data satisfies the preset log store condition stored in the log pattern storage unit, the log data is saved to the save recording memory 66 and a command is issued as to whether or not to stop discharging the recording paper 46. A print discharge control command signal for performing print discharge control.
Outputs 0. The evacuation recording memory 66 may be divided into a plurality of evacuation recording memories 66A, 66B, and 66C, an empty evacuation recording memory may be searched, and the evacuation recording memory may be sequentially saved in the searched evacuation recording memory.

【0045】ログストア条件は、図8に示すような操作
パネル52に表示されるログストア・停止条件設定画面
72により設定することができる。図8に示すように、
ログストア・停止条件設定画面72は、複数のログスト
ア条件1、2を設定できるようになっている。このログ
ストア・停止条件設定画面72で設定されたログストア
条件データ(ログパターンデータ)は、制御部54によ
りログパターン格納部68へ格納される。
The log store condition can be set on a log store / stop condition setting screen 72 displayed on the operation panel 52 as shown in FIG. As shown in FIG.
On the log store / stop condition setting screen 72, a plurality of log store conditions 1 and 2 can be set. The log store condition data (log pattern data) set on the log store / stop condition setting screen 72 is stored in the log pattern storage unit 68 by the control unit 54.

【0046】このように、複数のログストア条件を設定
できるため、図9に示すように、例えばS8センサから
DGEセンサまでの記録用紙の搬送時間が予め定めた規
定時間より長い場合をα設定としてログストア条件1に
設定し、給紙トレイ22Cを開閉した場合をβ設定とし
てログストア条件2に設定することができる。そして、
ログパターン判別部64では、常時記録メモリ62から
読み出したログデータがα設定、β設定の条件の何れか
に一致するか否かを判断し、一致する場合には退避記録
メモリ66にログデータを退避させる。これにより、S
8センサからDGEセンサまでの記録用紙の搬送時間が
予め定めた規定時間より長い場合等の異常時のログデー
タが退避されるため、異常の原因の分析を容易に行うこ
とができる。
As described above, since a plurality of log store conditions can be set, as shown in FIG. 9, for example, when the transport time of the recording paper from the S8 sensor to the DGE sensor is longer than a predetermined specified time, α is set. The log store condition 1 can be set, and the case where the sheet feed tray 22C is opened / closed can be set as the log store condition 2 as β setting. And
The log pattern determination unit 64 determines whether the log data read from the continuous recording memory 62 matches one of the α setting and β setting conditions, and if so, stores the log data in the evacuation recording memory 66. Evacuate. Thereby, S
Since the log data at the time of abnormality, such as when the transport time of the recording sheet from the eight sensors to the DGE sensor is longer than a predetermined time, is saved, the cause of the abnormality can be easily analyzed.

【0047】なお、退避記録メモリ66を図7に示すよ
うに複数設けた場合には、α設定用、β設定用で別々の
退避記録メモリに記録するようにしてもよい。また、一
方の設定のみ有効になっており、他方の設定が設定なし
になっている場合には、設定なしの方の退避記録メモリ
も使用するようにしてもよい。さらに、退避記録メモリ
に同一のログデータが既に記録されている場合には、ロ
グデータの退避を行わないようにしてもよい。
When a plurality of evacuation recording memories 66 are provided as shown in FIG. 7, they may be recorded in separate evacuation recording memories for α setting and β setting. When only one setting is valid and the other setting is not set, the evacuation recording memory with no setting may be used. Further, if the same log data is already recorded in the save recording memory, the log data may not be saved.

【0048】図8に示すように、ログストア・停止条件
設定画面72は、ログストア条件1設定フィールド7
3、ログストア条件2設定フィールド74、開始ボタン
75、キャンセルボタン76が設けられている。ログス
トア条件1設定フィールド73、ログストア条件2設定
フィールド74には、入力ボックス80〜94が設けら
れている。
As shown in FIG. 8, the log store / stop condition setting screen 72 includes a log store condition 1 setting field 7
3, a log store condition 2 setting field 74, a start button 75, and a cancel button 76 are provided. The log store condition 1 setting field 73 and the log store condition 2 setting field 74 are provided with input boxes 80 to 94.

【0049】なお、ログストア条件1、ログストア条件
2は、それぞれチェックボックス77、78をチェック
することにより有効となる。従って、ログストア条件
1、2を両方設定したり、何れか一方を設定したりする
ことができる。また、3つ以上のログストア条件を設定
できるようにしてもよい。
The log store condition 1 and the log store condition 2 become effective by checking the check boxes 77 and 78, respectively. Therefore, both the log store conditions 1 and 2 can be set, or either one can be set. Further, three or more log store conditions may be set.

【0050】入力ボックス80、82は、条件Aを設定
するためのものであり、入力ボックス80は、例えば制
御コマンドや搬送情報等の制御情報に対応する予め定め
た数値が入力される。また、入力ボックス82は、さら
に詳細な条件を入力するためのものであるが、ここでは
説明の簡単のため省略する。なお、制御コマンドや搬送
情報等の制御情報と、これに対応する予め定めた数値と
の対応関係は、例えばメモリ53に予め記憶される。
The input boxes 80 and 82 are used to set the condition A. The input box 80 is used to input a predetermined numerical value corresponding to control information such as a control command and transport information. The input box 82 is for inputting more detailed conditions, but is omitted here for simplicity of description. The correspondence between the control information such as the control command and the transport information and the predetermined numerical value corresponding thereto is stored in the memory 53 in advance, for example.

【0051】入力ボックス88、90は、入力ボックス
80、82と同様に条件Bを設定するためのものであ
り、入力ボックス88は、例えば制御コマンドや搬送情
報等の制御情報に対応する予め定めた数値が入力され
る。また、入力ボックス90は、さらに詳細な条件を入
力するためのものであるが、ここでは説明の簡単のため
省略する。
The input boxes 88 and 90 are for setting the condition B in the same manner as the input boxes 80 and 82. The input box 88 is a predetermined command corresponding to control information such as control commands and transport information. A numerical value is entered. The input box 90 is for inputting more detailed conditions, but is omitted here for simplicity of explanation.

【0052】入力ボックス84は、条件A、条件Bの論
理演算子を選択するためのものであり、or(論理
和)、and(論理積)などを設定することができる。
すなわち、(A or B),(A and B)等の
条件を設定でき、また、(A and !B)等の条件
も設定できる。
The input box 84 is for selecting a logical operator of the condition A and the condition B, and can set or (logical sum), and (logical product), and the like.
That is, conditions such as (A or B) and (A and B) can be set, and conditions such as (A and! B) can also be set.

【0053】入力ボックス86は、条件タイマ値Eを入
力するためのものであり、例えば10msecを1単位
とした数値が入力される(例えば最大65530mse
cまで設定可能)。これは、例えば入力ボックス84で
「and」が選択された場合に有効となる。
The input box 86 is for inputting a condition timer value E, for example, a numerical value with 10 msec as one unit (for example, 65530 msec at maximum).
c can be set). This is effective, for example, when "and" is selected in the input box 84.

【0054】入力ボックス92は、ストアディレイタイ
マ値Gを入力するためのものであり、例えば10mse
cを1単位とした数値が入力される。
The input box 92 is for inputting a store delay timer value G, for example, 10 msec.
A numerical value with c as one unit is input.

【0055】入力ボックス94は、ログデータ退避後に
プリンタ本体16の動作を停止させるか否かを選択する
ためのものであり、「無停止」又は「停止」を選択する
ことができる。
The input box 94 is for selecting whether or not to stop the operation of the printer main body 16 after saving the log data, and can select “no stop” or “stop”.

【0056】これらの条件が設定され、開始ボタン75
が押下されると、ログパターン判別部64によるログス
トア条件の判断が開始される。一方、キャンセルボタン
76が押下されると、設定された条件はクリアされる。
When these conditions are set, a start button 75
Is pressed, the log pattern determination unit 64 starts determining the log store conditions. On the other hand, when the cancel button 76 is pressed, the set conditions are cleared.

【0057】ここで、(A and B)というログス
トア条件1が設定された場合、入力ボックス80に入力
された数値に対応する制御情報が検出されてから、すな
わち常時記録メモリ62に記録されてからE×10ms
ecの間に入力ボックス88に入力された数値に対応す
る制御情報が検出された場合にログストア条件1が成立
する。
Here, when the log store condition 1 of (A and B) is set, the control information corresponding to the numerical value input to the input box 80 is detected, that is, the control information is always recorded in the recording memory 62. From E × 10ms
If the control information corresponding to the numerical value input to the input box 88 during ec is detected, the log store condition 1 is satisfied.

【0058】また、(A or B)というログストア
条件1が設定された場合、入力ボックス80に入力され
た数値に対応する制御情報又は入力ボックス88に入力
された数値に対応する制御情報の何れかが検出された場
合にログストア条件1が成立する。
When the log store condition 1 of (A or B) is set, the control information corresponding to the numerical value input to the input box 80 or the control information corresponding to the numerical value input to the input box 88 is determined. When this is detected, the log store condition 1 is satisfied.

【0059】さらに、(A and !B)というログ
ストア条件1が設定された場合、入力ボックス80に入
力された数値に対応する制御情報が検出されてからE×
10msecの間に入力ボックス88に入力された数値
に対応する制御情報が検出されない場合にログストア条
件1が成立する。
Further, when the log store condition 1 of (A and! B) is set, EX is detected after the control information corresponding to the numerical value input to the input box 80 is detected.
If the control information corresponding to the numerical value input to the input box 88 is not detected within 10 msec, the log store condition 1 is satisfied.

【0060】具体的な例を挙げて説明すると、例えば入
力ボックス80に制御コマンドHintに対応する数値
が入力され、入力ボックス84に「and」が選択さ
れ、入力ボックス86に「5」が入力され、入力ボック
ス88に制御コマンドPrintに対応する数値が入力
され、入力ボックス92に「50」が入力され、入力ボ
ックス94で「無停止」が選択された場合、制御コマン
ドHintが検出されてから5×10msec=50m
secの間に制御コマンドPrintが検出された場合
にログストア条件1が成立する。これにより、ログパタ
ーン判別部64は、常時記録メモリ62に記録されたロ
グデータを50×10msec=500msec経過後
に退避記録メモリ66へ退避させる。なお、ログデータ
退避後の動作として「無停止」が選択されているため、
プリンタ本体16は引き続き通常動作し、記録用紙は排
出トレイ48へ排出される。
More specifically, for example, a numerical value corresponding to the control command Hint is input to the input box 80, "and" is selected in the input box 84, and "5" is input in the input box 86. When a numerical value corresponding to the control command Print is input to the input box 88, "50" is input to the input box 92, and "no stop" is selected in the input box 94, the control command Hint is detected five times. × 10msec = 50m
The log store condition 1 is satisfied when the control command Print is detected during the sec. As a result, the log pattern determination unit 64 always saves the log data recorded in the recording memory 62 to the evacuation recording memory 66 after a lapse of 50 × 10 msec = 500 msec. Since “No stop” is selected as the operation after saving the log data,
The printer body 16 continues to operate normally, and the recording paper is discharged to the discharge tray 48.

【0061】次に、図10に示すログパターン判別部6
4におけるステートダイアグラムを参照してログパター
ン判別部64の状態遷移について説明する。
Next, the log pattern determining section 6 shown in FIG.
4 will be described with reference to the state diagram in FIG.

【0062】ログパターン判別部64は、状態S1(L
OG_NOT_READY)でログストア条件の設定待
ち状態となる。この状態で図8に示すログストア・停止
条件設定画面72でログストア条件が設定され開始ボタ
ン75が押下されると、状態S2へ遷移する。
The log pattern judging section 64 checks the state S1 (L
(OG_NOT_READY), the system enters a log store condition setting wait state. In this state, when the log store condition is set on the log store / stop condition setting screen 72 shown in FIG. 8 and the start button 75 is pressed, the state transits to the state S2.

【0063】状態S2(LOG_TRIGGER_WA
IT)では、設定されたログストア条件における条件A
又は条件Bに対応する情報を受信するか否かを判断す
る。ここで、ログストア条件が(A or B)の場合
で条件A又は条件Bに対応する情報を受信した場合には
状態S4へ遷移する。
State S2 (LOG_TRIGGER_WA)
IT), the condition A in the set log store condition
Alternatively, it is determined whether or not information corresponding to condition B is received. Here, when the log store condition is (A or B) and information corresponding to the condition A or the condition B is received, the state transits to the state S4.

【0064】また、ログストア条件が(A and
B)の場合で条件A又は条件Bに対応する情報を受信し
た場合、又はログストア条件が(A and !B)の
場合で条件Aに対応する情報を受信した場合には、状態
S3へ遷移する。
When the log store condition is (A and
When the information corresponding to the condition A or the condition B is received in the case B), or when the information corresponding to the condition A is received when the log store condition is (A and! B), the state transits to the state S3. I do.

【0065】状態S3(LOG_TRIGGER_B_
WAIT)では、条件タイマ値E時間内に条件B又は条
件Aに対応する情報を受信したか否かを判断する。ここ
で、ログストア条件が(A and B)の場合でタイ
ムアウトした場合、すなわちE時間内に条件A又は条件
Bに対応する情報を受信しなかった場合、又はログスト
ア条件が(A and !B)の場合で条件Bに対応す
る情報を受信した場合には、状態S2へ戻る。
State S3 (LOG_TRIGGER_B_
In (WAIT), it is determined whether or not information corresponding to the condition B or the condition A is received within the time of the condition timer value E. Here, if the log store condition is (A and B) and a timeout occurs, that is, if the information corresponding to the condition A or the condition B is not received within the E time, or if the log store condition is (A and! B) If the information corresponding to the condition B is received in the case of (2), the process returns to the state S2.

【0066】一方、ログストア条件が(A and
B)の場合でE時間内に条件B又は条件Aに対応する情
報を受信した場合、又はログストア条件が(A and
!B)の場合でタイムアウトした場合、すなわちE時
間内に条件Bに対応する情報を受信しなかった場合に
は、状態S4へ遷移する。
On the other hand, if the log store condition is (A and
In the case of B), if information corresponding to the condition B or the condition A is received within the E time, or if the log store condition is (A and
! If a timeout occurs in the case of B), that is, if the information corresponding to the condition B is not received within the E time, the state transits to the state S4.

【0067】状態S4(LOG_TIMER_G_WA
IT)では、ストアディレイタイマ値G経過後にプリン
タ排出制御部70にプリント停止を指示し、状態S5へ
遷移する。状態S5(LOG_STACKING)で
は、ログデータを上記記録メモリ62から退避記録メモ
リ66へ退避させ、状態S2へ遷移する。
State S4 (LOG_TIMER_G_WA)
In IT), after the store delay timer value G has elapsed, the printer discharge control unit 70 is instructed to stop printing, and the state transits to the state S5. In the state S5 (LOG_STACKING), the log data is saved from the recording memory 62 to the save recording memory 66, and the state transits to the state S2.

【0068】次に、本実施形態の作用について説明す
る。図11には本実施形態に係るデータフローダイアグ
ラムが、図12にはログパターン判別部64におけるデ
ータフローダイアグラムが示されている。なお、画像形
成プロセスに関するログデータの記録については省略
し、搬送機構56に含まれる複数の紙送りセンサからの
搬送情報及びコントローラ14とプリンタ本体16の制
御部54との間で通信される制御コマンドに関するログ
データの記録についてのみ説明する。
Next, the operation of the present embodiment will be described. FIG. 11 shows a data flow diagram according to the present embodiment, and FIG. 12 shows a data flow diagram in the log pattern determination unit 64. Note that the recording of log data relating to the image forming process is omitted, and transport information from a plurality of paper feed sensors included in the transport mechanism 56 and control commands communicated between the controller 14 and the control unit 54 of the printer main body 16 are described. Only the recording of log data related to the above will be described.

【0069】図11に示すように、ログ記録部58で
は、プロセス100でタイマ60に定期的にアクセス
し、時刻情報(例えば日、時、分、秒、1/1000秒
の情報)を時刻情報D1として図示しない内部のメモリ
に記憶する。
As shown in FIG. 11, in the log recording unit 58, the process 60 periodically accesses the timer 60, and stores time information (for example, information of day, hour, minute, second, and 1/1000 second). It is stored in an internal memory (not shown) as D1.

【0070】また、ログ記録部58では、プロセス10
2で搬送機構56に含まれる紙送りセンサ96からの検
知信号(搬送情報)を監視すると共に、プロセス104
でコントローラ14とプリンタ本体16の制御部54と
の間で通信される制御コマンド等の通信情報を監視し、
ログデータとして記録する必要のある通信情報を抽出す
る。
In the log recording unit 58, the process 10
In step 2, a detection signal (transport information) from the paper feed sensor 96 included in the transport mechanism 56 is monitored, and
Monitor communication information such as a control command communicated between the controller 14 and the control unit 54 of the printer main body 16,
Extract communication information that needs to be recorded as log data.

【0071】そして、プロセス106で抽出した通信情
報、搬送情報に記録用紙(シート)のシート番号を付加
したシートテーブルを作成し、これをシートテーブル情
報D2として図示しない内部のメモリに記憶する。
Then, a sheet table is created in which the sheet number of the recording paper (sheet) is added to the communication information and the transport information extracted in the process 106, and this is stored in the internal memory (not shown) as the sheet table information D2.

【0072】プロセス108では、このシートテーブル
情報D2に受信した搬送情報の時刻情報を付加してログ
データとしプロセス112へ転送する。同様に、プロセ
ス110では、シートテーブル情報D2に抽出した通信
情報の時刻情報を付加してログデータとしプロセス11
2へ転送する。
In the process 108, the time information of the received transport information is added to the sheet table information D 2 and the data is transferred to the process 112 as log data. Similarly, in the process 110, the time information of the extracted communication information is added to the sheet table information D2 to generate log data, and the process 11
Transfer to 2.

【0073】プロセス112では、搬送情報に関するロ
グデータと通信情報に関するログデータとを合成してロ
グデータD3として常時記録メモリ62へ格納すると共
に、ログデータ記録の完了を示すログ完了情報をログパ
ターン判別部64へ通知する。
In the process 112, the log data relating to the transport information and the log data relating to the communication information are combined and stored in the recording memory 62 as log data D3, and the log completion information indicating the completion of the log data recording is determined by the log pattern discrimination. Notify the section 64.

【0074】これにより、ログパターン判別部64で
は、プロセス120において、予め設定され、かつログ
パターン格納部68に格納されたログストア条件D4と
常時記録メモリ62に記憶されたログデータD3とが一
致するか否かを判断する。そして、一致する場合には、
ログデータD3を退避記録メモリ66へ退避させると共
に、ログストア条件D4でプリント停止が指示されてい
る場合には、プリント排出制御部70に対してプリント
停止を指示する。
As a result, in the log pattern determining unit 64, in the process 120, the log store condition D 4 set in advance and stored in the log pattern storage unit 68 matches the log data D 3 stored in the constant recording memory 62. It is determined whether or not to do. And if they match,
The log data D3 is saved in the save recording memory 66, and when the print stop is instructed by the log store condition D4, the print eject control unit 70 is instructed to stop the print.

【0075】次に、プロセス120の詳細を図12に示
すデータフローダイアグラムを参照して説明する。
Next, the details of the process 120 will be described with reference to the data flow diagram shown in FIG.

【0076】プロセス121では、ログストア条件D4
と常時記録メモリ62に記憶されたログデータD3とが
一致するか否かを判断し、判断結果をプロセス122、
123へ通知する。プロセス122では、ログストア条
件でストアディレイタイマが設定されている場合には、
設定されたG時間経過後にプロセス124へ通知する。
プロセス124では、常時記録メモリ62に記録された
ログデータD3を退避記録メモリ66へ退避させる。
In the process 121, the log store condition D4
And whether or not the log data D3 stored in the constant recording memory 62 matches the log data D3.
Notify 123. In process 122, if the store delay timer is set in the log store condition,
After the set G time has passed, the process 124 is notified.
In the process 124, the log data D <b> 3 recorded in the recording memory 62 is evacuated to the evacuation recording memory 66.

【0077】また、プロセス123では、ログストア条
件D4でプリント停止が指示されている場合には、プリ
ント排出制御部70に対してプリント停止を指示する。
In the process 123, when the print stop is instructed by the log store condition D4, the print instructing unit 70 is instructed to stop the print.

【0078】このように、ログストア条件を任意に設定
できるため、様々な条件のログデータを退避させること
ができ、例えば異常動作時の原因の分析を容易に行うこ
とができる。
As described above, since the log store conditions can be set arbitrarily, log data under various conditions can be saved, and the cause of abnormal operation can be easily analyzed, for example.

【0079】[0079]

【発明の効果】本発明によれば、ログデータをより少な
いデータ量で記録することができると共に、問題発生時
に問題の所在を早期に把握することができる、という効
果を有する。
According to the present invention, log data can be recorded with a smaller amount of data, and the location of the problem can be grasped at an early stage when a problem occurs.

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

【図1】 画像形成装置の外観図である。FIG. 1 is an external view of an image forming apparatus.

【図2】 画像形成部の概略構成図である。FIG. 2 is a schematic configuration diagram of an image forming unit.

【図3】 プリンタ本体のブロック図である。FIG. 3 is a block diagram of a printer main body.

【図4】 ログデータの記録形式を示す図である。FIG. 4 is a diagram showing a recording format of log data.

【図5】 ログデータの記録形式を示す図である。FIG. 5 is a diagram showing a recording format of log data.

【図6】 ログデータの記録形式を示す図である。FIG. 6 is a diagram showing a recording format of log data.

【図7】 ログデータの流れの概念について説明するた
めの図である。
FIG. 7 is a diagram for explaining the concept of the flow of log data.

【図8】 ログストア条件の設定画面を示す図である。FIG. 8 is a view showing a log store condition setting screen.

【図9】 ログストア条件の判断の概念について説明す
るための図である。
FIG. 9 is a diagram for explaining the concept of determining log store conditions.

【図10】 ログパターン判別部の状態を示すステート
ダイアグラムである。
FIG. 10 is a state diagram showing a state of a log pattern determination unit.

【図11】 プリンタ本体における制御及びデータの流
れを示すデータフローダイアグラムである。
FIG. 11 is a data flow diagram illustrating a flow of control and data in the printer main body.

【図12】 ログパターン判別部における制御及びデー
タの流れを示すデータフローダイアグラムである。
FIG. 12 is a data flow diagram illustrating a flow of control and data in a log pattern determination unit.

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

10 画像形成装置 12 プリンタ 14 コントローラ 16 プリンタ本体 18 フィーダ 20 後処理機 22A、22B、22C 給紙トレイ 23 通信ケーブル 24 画像形成部 48 排出トレイ 50 パージトレイ 52 操作パネル(設定手段) 53 メモリ 54 制御部 56 搬送機構 58 ログ記録部 60 タイマ(時刻情報取得手段) 62 常時記録メモリ(メモリ) 64 ログパターン判別部(退避手段) 66 退避記録メモリ(退避用メモリ) 68 ログパターン格納部 70 プリント排出制御部 DESCRIPTION OF SYMBOLS 10 Image forming apparatus 12 Printer 14 Controller 16 Printer main body 18 Feeder 20 Post-processing machine 22A, 22B, 22C Paper feed tray 23 Communication cable 24 Image forming part 48 Discharge tray 50 Purge tray 52 Operation panel (setting means) 53 Memory 54 Control part 56 Transport mechanism 58 Log recording unit 60 Timer (time information acquisition unit) 62 Continuous recording memory (memory) 64 Log pattern determination unit (evacuation unit) 66 Evacuation recording memory (evacuation memory) 68 Log pattern storage unit 70 Print ejection control unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) 5B083 Fターム(参考) 2C061 AP04 AQ06 AR03 HK19 HX10 2C087 AA09 AC08 BA14 BD53 CB02 CB12 DA10 2C187 AC07 AF01 DC01 HA17 2H027 DA50 DE07 EE08 EH10 EJ08 EJ13 EJ15 ZA07 5B021 AA01 NN19 5B083 AA08 BB01 CC10 EE06 EE07──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification code FI Theme coat ゛ (Reference) 5B083 F term (Reference) 2C061 AP04 AQ06 AR03 HK19 HX10 2C087 AA09 AC08 BA14 BD53 CB02 CB12 DA10 2C187 AC07 AF01 DC01 HA17 2H027 DA50 DE07 EE08 EH10 EJ08 EJ13 EJ15 ZA07 5B021 AA01 NN19 5B083 AA08 BB01 CC10 EE06 EE07

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画像形成装置における画像形成制御に関
する複数の制御情報のログデータを記録するログデータ
記録装置において、 前記ログデータを記憶するためのメモリと、 前記制御情報が発生した時刻の時刻情報を取得するため
の時刻情報取得手段と、 前記制御情報が発生した時刻の時刻情報を、前記複数の
制御情報に基づいて予め定めた順序又は位置に従って前
記メモリに記録するログデータ記録手段と、 を備えたことを特徴とするログデータ記録装置。
1. A log data recording device that records log data of a plurality of pieces of control information related to image formation control in an image forming apparatus, a memory for storing the log data, and time information of a time when the control information is generated. Time information acquiring means for acquiring the time, and log data recording means for recording the time information of the time when the control information occurs in the memory in a predetermined order or position based on the plurality of control information, A log data recording device, comprising:
【請求項2】 前記ログデータ記録手段は、前記複数の
制御情報のうち予め定めた一の制御情報に対応する時刻
情報を基準時刻情報として定め、該定めた前記基準時刻
情報と他の制御情報の時刻情報との差分時刻情報を求
め、該求めた差分時刻情報を、前記予め定めた順序又は
位置に従って前記メモリに記録することを特徴とする請
求項1記載のログデータ記録装置。
2. The log data recording means determines time information corresponding to one predetermined control information among the plurality of control information as reference time information, and determines the determined reference time information and other control information. 2. The log data recording device according to claim 1, wherein difference time information from the time information is obtained, and the obtained difference time information is recorded in the memory in accordance with the predetermined order or position.
【請求項3】 前記メモリに記録されたログデータを退
避するための退避用メモリと、 前記ログデータの退避条件を設定するための設定手段
と、 前記メモリから前記ログデータを読み出し、該読み出し
たログデータが前記退避条件と一致する場合に、前記ロ
グデータを前記退避用メモリへ退避させる退避手段と、 をさらに備えたことを特徴とする請求項1又は請求項2
記載のログデータ記録装置。
3. A save memory for saving log data recorded in the memory, setting means for setting a save condition for the log data, and reading the log data from the memory, 3. An evacuation means for evacuation of the log data to the evacuation memory when the log data matches the evacuation condition, further comprising:
The log data recording device according to the above.
【請求項4】 前記退避手段は、前記メモリから読み出
した前記ログデータと前記退避条件とが一致する場合
に、前記画像形成制御を停止させることを特徴とする請
求項1乃至請求項3の何れか1項に記載のログデータ記
録装置。
4. The image forming apparatus according to claim 1, wherein the saving unit stops the image forming control when the log data read from the memory matches the saving condition. 2. The log data recording device according to claim 1.
JP2000345773A 2000-11-13 2000-11-13 Log data recording apparatus and log data recording method Expired - Fee Related JP4120155B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000345773A JP4120155B2 (en) 2000-11-13 2000-11-13 Log data recording apparatus and log data recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000345773A JP4120155B2 (en) 2000-11-13 2000-11-13 Log data recording apparatus and log data recording method

Publications (2)

Publication Number Publication Date
JP2002149380A true JP2002149380A (en) 2002-05-24
JP4120155B2 JP4120155B2 (en) 2008-07-16

Family

ID=18819742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000345773A Expired - Fee Related JP4120155B2 (en) 2000-11-13 2000-11-13 Log data recording apparatus and log data recording method

Country Status (1)

Country Link
JP (1) JP4120155B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7140707B2 (en) 2002-10-31 2006-11-28 Brother Kogyo Kabushiki Kaisha Image-forming device
JP2008071085A (en) * 2006-09-13 2008-03-27 Ricoh Co Ltd Image processor and log transfer method
US7613404B2 (en) 2004-10-06 2009-11-03 Ricoh Company, Ltd. Image forming apparatus transferring log information
JP2011016340A (en) * 2009-07-10 2011-01-27 Fuji Xerox Co Ltd Information processing apparatus, image forming apparatus, and fault restoration support system and program
WO2012108020A1 (en) * 2011-02-09 2012-08-16 三菱電機株式会社 Log recording apparatus
JP2015000492A (en) * 2013-06-13 2015-01-05 キヤノン株式会社 Measuring device, recording device and control method
JP2015217650A (en) * 2014-05-21 2015-12-07 富士ゼロックス株式会社 History storage device, image forming apparatus and program
CN107531968A (en) * 2015-04-21 2018-01-02 三菱瓦斯化学株式会社 Fiber-reinforced thermoplastic resin composition
JPWO2017072889A1 (en) * 2015-10-28 2018-08-16 株式会社Fuji Feeder trace log storage system
US11323313B2 (en) 2019-03-12 2022-05-03 Ricoh Company, Ltd. Network device, network communication system, and non-transitory computer-readable storage medium

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7140707B2 (en) 2002-10-31 2006-11-28 Brother Kogyo Kabushiki Kaisha Image-forming device
US7613404B2 (en) 2004-10-06 2009-11-03 Ricoh Company, Ltd. Image forming apparatus transferring log information
JP2008071085A (en) * 2006-09-13 2008-03-27 Ricoh Co Ltd Image processor and log transfer method
JP2011016340A (en) * 2009-07-10 2011-01-27 Fuji Xerox Co Ltd Information processing apparatus, image forming apparatus, and fault restoration support system and program
WO2012108020A1 (en) * 2011-02-09 2012-08-16 三菱電機株式会社 Log recording apparatus
CN103348332A (en) * 2011-02-09 2013-10-09 三菱电机株式会社 Log recording apparatus
JPWO2012108020A1 (en) * 2011-02-09 2014-07-03 三菱電機株式会社 Log recording device
JP2015000492A (en) * 2013-06-13 2015-01-05 キヤノン株式会社 Measuring device, recording device and control method
JP2015217650A (en) * 2014-05-21 2015-12-07 富士ゼロックス株式会社 History storage device, image forming apparatus and program
CN107531968A (en) * 2015-04-21 2018-01-02 三菱瓦斯化学株式会社 Fiber-reinforced thermoplastic resin composition
JPWO2017072889A1 (en) * 2015-10-28 2018-08-16 株式会社Fuji Feeder trace log storage system
US11323313B2 (en) 2019-03-12 2022-05-03 Ricoh Company, Ltd. Network device, network communication system, and non-transitory computer-readable storage medium

Also Published As

Publication number Publication date
JP4120155B2 (en) 2008-07-16

Similar Documents

Publication Publication Date Title
EP1256851B1 (en) Image forming apparatus capable of determining type of recording sheet to prevent sheet jam
JPS58147271A (en) Recorder
JP2002149380A (en) Log data recorder
JP2002302300A (en) Recording sheet managing device
US5682547A (en) Status management and data transmission in a system comprising peripherals and a controller thereof
JP4101112B2 (en) Image forming medium feeding device
JPH11203539A (en) Automatic transaction device
JPS6392549A (en) Laser printer
JPH09240086A (en) Printer
JPH0840635A (en) Copying machine
JPH0891692A (en) Image forming device
JP2004114527A (en) Printing equipment
JP3002435B2 (en) Inspection method for image forming system
JP2810049B2 (en) Inspection device for image forming system
JPH07271128A (en) Image forming device
JPH01127369A (en) Printing information counter controller
JP2003242400A (en) Complex system
JPH0295645A (en) Paper feeding mechanism for machine glazed paper
JPH0816933A (en) Slip processor for transfer payment slip sorting/ totalizing machine
JP2657919B2 (en) Printer device
JPH1170719A (en) Image recording apparatus, option control method therefor control apparatus, and control thereof
JPH0848460A (en) Image forming system
EP0397199A2 (en) Sheet conveying apparatus
JPH09263026A (en) Image forming apparatus
JPH089169A (en) Image forming system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040713

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061121

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070605

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070730

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080401

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080414

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110509

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110509

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120509

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130509

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140509

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees