JPH0461464A - Data processing unit in picture forming device - Google Patents

Data processing unit in picture forming device

Info

Publication number
JPH0461464A
JPH0461464A JP2172443A JP17244390A JPH0461464A JP H0461464 A JPH0461464 A JP H0461464A JP 2172443 A JP2172443 A JP 2172443A JP 17244390 A JP17244390 A JP 17244390A JP H0461464 A JPH0461464 A JP H0461464A
Authority
JP
Japan
Prior art keywords
write
check flag
area
data
write check
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2172443A
Other languages
Japanese (ja)
Inventor
Takeshi Isaki
健 伊崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2172443A priority Critical patent/JPH0461464A/en
Publication of JPH0461464A publication Critical patent/JPH0461464A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)

Abstract

PURPOSE:To prevent various malfunction in picture forming by checking 1st and 2nd write check flag areas in a nonvolatile memory at re-application of power when a power failure takes place in the midst of writing data for the number of picture forming or the like into the nonvolatile memory. CONSTITUTION:When power is interrupted while a counter of the number of picture forming for a nonvolatile memory 17 of a picture forming control section 18 is increased, the content of 1st and 2nd write check flag areas is checked at re-application of power. Thus, based on the checked content, whether or not the count in the 1st and 2nd write areas is indefinite, or as is the case, up to whether or not the counter has already been increased is discriminated. Thus, various kinds of malfunction in picture forming caused due to indefinite data in the nonvolatile memory 17 are prevented.

Description

【発明の詳細な説明】 U産業上の利用分野コ 本発明は、複写機やプリンターなどの画像形成装置に関
し、詳しくは、画像形成の動作中に画像形成のプロセス
実行に必要なパラメータ、進行状況、画像形成回数など
のデータを不揮発性メモリに逐次書き込み、必要に応じ
てそれらのデータを不揮発性メモリより読み出して画像
形成の様々なプロセス実行等に利用できるようにしに画
像形成装置のデータ処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an image forming apparatus such as a copying machine or a printer. The data processing device of the image forming apparatus sequentially writes data such as the number of image formations into a non-volatile memory, and reads the data from the non-volatile memory as necessary so that it can be used for executing various image forming processes. It is related to.

「従来の技術] 従来から、この種の画像形成装置においては、装置内に
使用されている消耗品の交換時期のチエツクや、頻繁に
使用する画像形成のモードの保持などにマイクロコンピ
ュータの半導体メモリである不揮発性メモリが広く利用
されている。例えば、画像形成の動作中に、不揮発性メ
モリに画像形成のプロセス実行に必要なパラメータや、
進行状況、画像形成回数などのデータを逐次書き込み、
この書き込まれたデータを画像形成後に必要に応じて読
み出し、消耗品の交換時期のチエツクなどの画像形成の
様々なプロセス実行に利用している。
``Prior Art'' Traditionally, this type of image forming apparatus uses semiconductor memory in a microcomputer to check when to replace consumables used in the apparatus and to maintain frequently used image forming modes. Non-volatile memory is widely used.For example, during image forming operation, parameters necessary for executing the image forming process, etc. are stored in non-volatile memory.
Sequentially writes data such as progress status and number of image formations,
This written data is read out as needed after image formation and is used to execute various image formation processes, such as checking when to replace consumables.

[発明が解決しようとする課題] 上記不揮発性メモリへの様々なデータの書き込みは、画
像形成の都度その動作中に行われるが、このデータの書
き込みの最中に停電したり、画像形成装置を操作する操
作者の操作ミスなどで電源が切られたりすると、不揮発
性メモリの内容が不定になる。し1こがって、その後に
電源が入れられた場合に、様々な誤動作を引き起こす不
具合があった。例えば、不揮発性メモリに画像形成回数
のデータを画像形成のたびにインクリメント(加算)し
てその累積回数のデータから消耗品の交換時期などをチ
エツクするような場合、不揮発性メモリに画像形成回数
のデータを書き込んでいる最中に電源が切れると、その
瞬間に不揮発性メモリの画像形成回数のデータの内容が
不定になり、累積画像形成回数が狂って、消耗品の交換
時期を誤るなどの不具合を引き起すことがあった。
[Problems to be Solved by the Invention] Writing of various data to the nonvolatile memory is performed during each image forming operation, but if there is a power outage or the image forming apparatus is shut down during the writing of this data. If the power is turned off due to an operator error, etc., the contents of the nonvolatile memory become undefined. However, when the power was turned on after that, there was a problem that caused various malfunctions. For example, if data on the number of image formations is incremented (added) in nonvolatile memory each time an image is formed, and the data on the cumulative number of times is used to check when to replace consumables, etc., the data on the number of image formations is stored in nonvolatile memory. If the power is turned off while data is being written, the content of the image formation count data in the nonvolatile memory becomes unstable at that moment, causing the cumulative number of image formations to be incorrect, resulting in problems such as incorrect timing of replacing consumables. could cause.

本発明は上記問題点を解決するためになされたもので、
その目的とするところは、画像形成装置の動作中に不揮
発性メモリにデータをストアしているときに、停電や操
作ミスなどで電源が切れても、不揮発性メモリの内容が
不定となるおそれがなく、確実にデータを処理し得る画
像形成装置のデータ処理装置を提供することにある。
The present invention has been made to solve the above problems,
The purpose of this is to prevent data from being stored in nonvolatile memory while the image forming device is operating, and even if the power is cut off due to a power outage or operational error, the contents of the nonvolatile memory may become undefined. An object of the present invention is to provide a data processing device for an image forming apparatus that can reliably process data without any problems.

[課題を解決するための手段] 上記した目的を達成するために本発明の、動作中にデー
タを逐次ストアする1こめの不揮発性メモリを有する画
像形成装置におけるデータ処理装置は、(a)前記不揮
発性メモリには、これにストアされる一つのデータにつ
き第1の書き込みエリアと第2の書き込みエリア、およ
び第1の書き込みエリアに対応する第1の書き込みチェ
ックフラグエリアと第2の書き込みエリアに対応する第
2の書き込みチ・エラグフラグエリアをそれぞれ設け、
(b)前記不揮発性メモリへのデータの書き込みが、■
第1の書き込みチェックフラグエリアに所定の書き込み
チェックフラグを立ててから、■第1の書き込みエリア
にデータを書き込み、■第2の書き込みチェックフラグ
エリアに所定の書き込みチェックフラグを立ててから、
■第2の書き込みエリアにデータを書き込み、■第1の
書き込みチェックフラグエリアと第2の書き込みチェッ
クフラグエリアに順次、前記書き込みチェックフラグと
異なる書き込みチェックフラグを立てるという、前記(
1)〜(5)の手順で行われるように構成している。
[Means for Solving the Problems] In order to achieve the above-mentioned object, a data processing device in an image forming apparatus having one non-volatile memory for sequentially storing data during operation according to the present invention includes (a) the above-mentioned The nonvolatile memory has a first write area and a second write area for each data stored therein, and a first write check flag area and a second write area corresponding to the first write area. A corresponding second writing check/error flag area is provided, respectively.
(b) When writing data to the nonvolatile memory, ■
After setting a predetermined write check flag in the first write check flag area, ■ write data in the first write area, ■ set a predetermined write check flag in the second write check flag area,
■Writing data in the second write area; ■Setting a write check flag different from the write check flag in the first write check flag area and the second write check flag area sequentially;
The configuration is such that steps 1) to (5) are performed.

[作用コ 上記した構成を有する本発明のデータ処理装置によれば
、その不揮発性メモリにデータを書き込んでいる最中に
停電等で電源が切れても、第1と第2の書き込みエリア
のデータが同時に不定となることがないので、不定でな
い(安定した)側のデータを選択して使用することがで
きる。しかも、第1と第2の書き込みエリアにそれぞれ
対応する第1と第2の書き込みチェックフラグエリアに
立てられたフラグを調べることにより、第1と第2の書
き込みエリアのそれぞれのデータが、書き換え中の不定
のデータか、書き換え前の安定したデータか、さらには
書き換え終了後の安定したデータであるかを判別できる
ので、種々のデータを正確にメモリしたり、メモリした
データを読み出したりして、画像形成装置のメンテナン
スなどの確実に利用できるようになる。
[Function] According to the data processing device of the present invention having the configuration described above, even if the power is cut off due to a power outage or the like while data is being written to the nonvolatile memory, the data in the first and second writing areas will be retained. Since the data cannot be indefinite at the same time, data on the non-uncertain (stable) side can be selected and used. Moreover, by checking the flags set in the first and second write check flag areas corresponding to the first and second write areas, it is possible to determine whether the data in the first and second write areas are being rewritten. It is possible to determine whether it is unstable data, stable data before rewriting, or even stable data after rewriting, so you can accurately store various data in memory, read stored data, The image forming apparatus can be reliably used for maintenance, etc.

[実施例] 以下、本発明を具体化した一実施例を図面を参照して説
明する。
[Example] Hereinafter, an example embodying the present invention will be described with reference to the drawings.

第3図の実施例に示す画像形成装置1は、長尺な感光記
録媒体2に露光して形成された潜像を、感光記録媒体2
と対応するカットシート状の記録紙3に圧力現像して画
像形成する装置である。画像形成装置lの内部中央には
、感光記録媒体2をカートリッジ軸4に巻回して収納し
1こカートリッジ5が着脱可能に設置される。カートリ
ッジ5から引き出された感光記録媒体2は、露光台6、
駆動軸7、圧力現像装置8、分離ロール9を介して、カ
ートリッジ5の外側にカートリッジ5と一体となるよう
に配置されたティクアップロール10に巻き取られる。
The image forming apparatus 1 shown in the embodiment of FIG. 3 transfers a latent image formed by exposing a long photosensitive recording medium 2 to the photosensitive recording medium
This is a device that performs pressure development to form an image on a cut sheet-like recording paper 3 corresponding to the above. At the center of the interior of the image forming apparatus 1, a cartridge 5 is removably installed, in which a photosensitive recording medium 2 is wound around a cartridge shaft 4 and housed therein. The photosensitive recording medium 2 pulled out from the cartridge 5 is placed on an exposure table 6,
The film is wound up onto a pick-up roll 10 disposed outside the cartridge 5 so as to be integrated with the cartridge 5 via a drive shaft 7, a pressure developing device 8, and a separation roll 9.

カートリッジ5の上方には、透明な原稿台11とそのカ
バー12が配設され、カートリッジ5と原稿台11の間
には、感光記録媒体2を露光するための光源13を内蔵
する光学系I4が配設されている。カートリッジ5の下
方には、熱定着装置15と、記録紙2を1枚ずつ圧力現
像装置8に供給する給紙装置16と、後述の不揮発性メ
モリ17を内蔵して画像形成の様々な制御をする制御部
18とが、それぞれ配設されている。
A transparent document table 11 and its cover 12 are arranged above the cartridge 5, and between the cartridge 5 and the document table 11, an optical system I4 having a built-in light source 13 for exposing the photosensitive recording medium 2 is provided. It is arranged. A thermal fixing device 15, a paper feed device 16 that feeds the recording paper 2 one sheet at a time to the pressure developing device 8, and a non-volatile memory 17 (to be described later) are built into the lower part of the cartridge 5 to perform various controls for image formation. A control unit 18 is provided for each.

次に、制御部18の不揮発性メモリ17の具体的データ
書き込みの動作を説明する前に、上記構成の画像形成装
置1の画像形成動作の概略を説明する。
Next, before explaining the specific data writing operation of the nonvolatile memory 17 of the control section 18, an outline of the image forming operation of the image forming apparatus 1 having the above configuration will be explained.

画像形成装置1の操作者により画像形成の開始か入力さ
れると、制御部18からの駆動制御信号でカートリッジ
5から未露光の感光記録媒体2か弓き出されて露光台6
へと自動通紙され、光学系14により露光される。光学
系14は原稿台11上の原稿19を下から光学走査して
、原稿19からの反射光で感光記録媒体2を露光し、感
光記録媒体2に原稿19の画像に対応した潜像を形成す
る。
When the operator of the image forming apparatus 1 inputs a command to start image formation, the unexposed photosensitive recording medium 2 is ejected from the cartridge 5 by a drive control signal from the control unit 18 and placed on the exposure table 6.
The paper is automatically passed through the optical system 14 and exposed to light by the optical system 14. The optical system 14 optically scans the original 19 on the original platen 11 from below, exposes the photosensitive recording medium 2 with light reflected from the original 19, and forms a latent image corresponding to the image of the original 19 on the photosensitive recording medium 2. do.

この露光が終了した段階で、制御部18は不揮発性メモ
リ17内の画像形成回数のカウンタ値をインクリメント
する。潜像が形成された感光記録媒体2は、圧力現像装
置8の手前で、給紙装置】6からの記録紙3と重ね合わ
されて圧力現像装置8に送られ、ここで一対の加圧ロー
ラ20.21で加圧されて感光記録媒体2の潜像が記録
紙3に圧力現像される。現像後、記録紙3は分離ローラ
9で感光記録媒体2から分離されて熱定着装置15に送
られ、ここで画像の定着が行われてから排紙トレイ22
に排出される。一方、現像後の感光記録媒体2は、分離
ローラ9て分離されティクアップロール10に巻き取ら
れる。
When this exposure is completed, the control section 18 increments the counter value of the number of image formations in the nonvolatile memory 17. The photosensitive recording medium 2 on which the latent image has been formed is overlapped with the recording paper 3 from the paper feeder 6 before the pressure developing device 8 and sent to the pressure developing device 8, where it is passed through a pair of pressure rollers 20. The latent image on the photosensitive recording medium 2 is pressure-developed onto the recording paper 3 by applying a pressure of .21. After development, the recording paper 3 is separated from the photosensitive recording medium 2 by a separation roller 9 and sent to a heat fixing device 15, where the image is fixed, and then transferred to a paper output tray 22.
is discharged. On the other hand, the photosensitive recording medium 2 after development is separated by a separation roller 9 and wound onto a pick-up roll 10 .

ここで、制御部18の不揮発性メモリ17へのデータ書
き込み動作を、画像形成回数のカウンタ値をインクリメ
ントする具体的動作でもって説明すると、本発明におい
ては、第1図に示すようなフローチャートに従って不揮
発性メモリ17内のカウンタ値をインクリメントする。
Here, the operation of writing data to the non-volatile memory 17 by the control unit 18 will be explained using a specific operation of incrementing the counter value of the number of image formations. The counter value in the data memory 17 is incremented.

すなわち、不揮発性メモリ17には、第1の書き込みエ
リアと第2の書き込みエリア、および第1、第2の書き
込みエリアに対応する第1、第2の書き込みチェックフ
ラグエリアが設けられている。
That is, the nonvolatile memory 17 is provided with a first write area, a second write area, and first and second write check flag areas corresponding to the first and second write areas.

そして、データの書き込み開始段階において、第1の書
き込みチェックフラグエリアに、所定のチェックフラグ
、例えばフラグrAAJを立ててから(書き込んでから
) [5TEP1 ] 、第1の書き込みエリアのカウ
ンタを書き換えのデータに基づいてインクリメントする
[5TEP2コ。
Then, at the data write start stage, after setting a predetermined check flag, for example, flag rAAJ, in the first write check flag area (after writing) [5TEP1], the counter of the first write area is rewritten with data. Increment based on [5TEP2co.

それから第2の書き込みチェックフラグエリアに前記と
同じフラグ「AA」を立ててから[5TEP3コ、第2
の書き込みエリアのカウンタを書き換えのデータに基づ
いてインクリメントする[ 5TEP4コ。
Then, set the same flag “AA” as above in the second write check flag area, and then
Increment the counter in the write area based on the rewritten data [5TEP4.

次に、第1の書き込みチェックフラグエリアに前記フラ
グrAAJとは異なるチェックフラグ、例えばフラグ「
55」を立て[5TEP5 ] 、最後に第2の書き込
みチェックフラグエリアにフラグ「55」を立てること
により[5TEP6 ] 、データ書き込みの一連の処
理工程が終了する。
Next, a check flag different from the flag rAAJ, for example, a flag "
By setting the flag "55" [5TEP5] and finally setting the flag "55" in the second write check flag area [5TEP6], the series of processing steps for data writing is completed.

ところで、上記したデータ書き込み動作の最中に、停電
などで電源が切られた場合の処理を説明する。この電源
が切られるタイミングは第1図の(AI)〜(A9)で
示す時点が考えられるので、それぞれの時点について説
明する。
By the way, the process when the power is turned off due to a power outage or the like during the data write operation described above will be explained. The timing at which the power is turned off can be considered to be the times shown in (AI) to (A9) in FIG. 1, so each time will be explained.

第1図に示すように、前記5TEP 1を開始するまで
に電源が切られた場合(AI)は、第1と第2の書き込
みチェックフラグエリアの内容が共に「55」であり、
第1の書き込みエリアと第2の書き込みエリアのカウン
タは、まだインクリメントされていない。
As shown in FIG. 1, if the power is turned off before starting 5TEP 1 (AI), the contents of the first and second write check flag areas are both "55",
The counters of the first write area and the second write area have not yet been incremented.

5TEP Iの実行中に電源が切られた場合(A2)は
、第1の書き込みチェックフラグエリアの内容は書き込
み中であって「不定」であり、第2の書き込みチェック
フラグエリアは「55」であり、第1と第2の書き込み
エリアは、共にインクリメントされていない状態である
If the power is turned off during execution of 5TEP I (A2), the content of the first write check flag area is "undefined" as it is being written, and the content of the second write check flag area is "55". Yes, both the first and second write areas are not incremented.

5TEP 1が終了してから5TEP 2の開始までに
電源が切られた場合(A3)は、第1の書き込みチェッ
クフラグエリアの内容はrAAJ 、第2の書き込みチ
ェックフラグエリアの内容は「55」であり、このとき
の第1の書き込みエリアのカウンタは、インクリメント
中の可能性があるので、「不定Jのおそれがあり、第2
の書き込みエリアのカウンタは、まだインクリメントさ
れていない。
If the power is turned off between the end of 5TEP 1 and the start of 5TEP 2 (A3), the content of the first write check flag area is rAAJ, and the content of the second write check flag area is "55". At this time, the counter in the first write area may be incrementing, so there is a possibility that the counter in the first write area is incrementing.
The write area counter has not yet been incremented.

5TEP 3の実行中に電源が切られた場合(A4)は
、第1の書き込みチェックフラグエリアの内容は「AA
J 、第2の書き込みチェックフラグエリアの内容は書
き込み中で「不定」であり、第1の書き込みエリアのカ
ウンタはインクリメント済みであり、第2の書き込みエ
リアのカウンタは、まだインクリメントされていない。
If the power is turned off during execution of 5TEP 3 (A4), the contents of the first write check flag area will be changed to “AA”.
J, the contents of the second write check flag area are being written and are "indeterminate", the counter of the first write area has been incremented, and the counter of the second write area has not yet been incremented.

5TEP 3が終了してから、5TEP 5の開始まで
に電源か切られた場合(A5)は、第1と第2の書き込
みチェックフラグエリアの内容は共にrAAJであり、
第1の書き込みエリアのカウンタはインクリメント済み
であり、第2の書き込みエリアのカウンタはインクリメ
ント中の可能性があるので、「不定」のおそれがある。
If the power is turned off between the end of 5TEP 3 and the start of 5TEP 5 (A5), the contents of the first and second write check flag areas are both rAAJ,
Since the counter in the first write area has already been incremented and the counter in the second write area may be incrementing, there is a possibility that the counter is "undefined".

5TEP5の実行中に電源が切られた場合(八6)は、
第1の書き込みチェックフラグエリアの内容は書き込み
中で「不定」のおそれがあり、第2の書き込みチェック
フラグエリアの内容はrAAJであり、第1と第2の書
き込みエリアのカウンタは、共にインクリメント済みで
ある。
If the power is turned off during execution of 5TEP5 (86),
The contents of the first write check flag area are being written and may be "undefined," the contents of the second write check flag area are rAAJ, and the counters of the first and second write areas have both been incremented. It is.

5TEP 5が終了してから、5TEP 6の開始まで
に電源が切られた場合(A7)は、第1の書き込みチェ
ックフラグエリアの内容はr55J、第2の書き込みチ
ェックフラグエリアの内容rAAJてあり、第1と第2
の書き込みエリアのカウンタは、共にインクリメント済
みである。
If the power is turned off between the end of 5TEP 5 and the start of 5TEP 6 (A7), the contents of the first write check flag area are r55J, the contents of the second write check flag area rAAJ, 1st and 2nd
Both write area counters have already been incremented.

5TEP 6の実行中に電源が切られた場合(A8)は
、第1の書き込みチェックフラグエリアの内容は「55
」で、第2の書き込みチェックフラグエリアの内容は書
き込み中で暮不定」であり、第1と第2の書き込みエリ
アのカウンタは、共にインクリメント済みである。
If the power is turned off during execution of 5TEP 6 (A8), the contents of the first write check flag area will be “55
'', the content of the second write check flag area is ``Writing in progress'', and the counters in the first and second write areas have both been incremented.

5TEP 6を終了してから電源が切られた場合(A9
)は、第1と第2の書き込みチェックフラグエリアの内
容は共に「55」であり、第1と第2の書き込みエリア
のカウンタは、共にインクリメント済みである。
If the power is turned off after completing 5TEP 6 (A9
), the contents of the first and second write check flag areas are both "55", and the counters of both the first and second write areas have been incremented.

上記の各態様を表にまとめると、第2図のようになる。The above aspects are summarized in a table as shown in FIG. 2.

同図の表からも明らかなように、画像形成制御部18の
不揮発性メモリ17の画像形成回数のカウンタをインク
リメント中に電源が切られてから、次に電源が投入され
たときに第1と第2の書き込みチェックフラグエリアの
内容を調べることで、その内容から第1の書き込みエリ
アと第2の書き込みエリアのカウンタが不定であるか否
かが、場合によってはカウンタが既にインクリメント済
みであるかどうかまで判別できる。すなわち、不揮発性
メモリ17の画像形成回数のカウンタをインクリメント
中に、(A1)〜(A9)のいずれのタイミングで電源
が切られても、電源復帰時の第1と第2の書き込みエリ
アのカウンタがインクリメント前であるか、インクリメ
ント後であるか、あるいは不定のいずれであるかが、第
1と第2の書き込みチェックフラグエリアの内容、すな
わち「55」、rAAJ、「不定」の組み合わせで判断
される。
As is clear from the table in the same figure, after the power is turned off while the image forming count counter in the non-volatile memory 17 of the image forming control section 18 is being incremented, when the power is turned on next time, the first By checking the contents of the second write check flag area, it can be determined from the contents whether the counters of the first write area and the second write area are indeterminate, and in some cases, whether the counters have already been incremented. You can even tell what's going on. In other words, even if the power is turned off at any of the timings (A1) to (A9) while the counter for the number of image formations in the nonvolatile memory 17 is being incremented, the counters in the first and second writing areas will not change when the power is restored. Whether it is before the increment, after the increment, or is undefined is determined by the contents of the first and second write check flag areas, that is, the combination of "55", rAAJ, and "undefined". Ru.

例えば、電源が入ったときに、第1と第2の書き込みチ
ェックフラグエリアの内容がそれぞれ「55ヨのときは
、第1と第2の書き込みエリアが共にインクリメント前
の状態にあり、このときは第1の書き込みエリアのカウ
ンタ値を画像形成回数とする。
For example, if the contents of the first and second write check flag areas are "55" when the power is turned on, both the first and second write areas are in the state before incrementing; Let the counter value of the first writing area be the number of times of image formation.

第1の書き込みチェックフラグエリアの内容が「55」
でもrAAJてしなく(つまり不定で)、第2の書き込
みチェックフラグエリアの内容が「55」のときは、第
1の書き込みエリアのカウンタ値をインクリメント(1
加算)して画像形成回数とする。
The content of the first write check flag area is "55"
However, if rAAJ does not work (that is, it is undefined) and the content of the second write check flag area is "55", the counter value of the first write area is incremented (1
(addition) to obtain the number of image formations.

また、第1の書き込みチェックフラグエリアの内容が「
AA」で、第2の書き込みチェックフラグエリアの内容
が「55」のときは、第1の書き込みエリアが不定で、
このときは第2の書き込みエリアのカウンタ値をインク
リメント(l加算)して画像形成回数とする。
Also, the contents of the first write check flag area are “
AA" and the content of the second write check flag area is "55", the first write area is undefined,
At this time, the counter value of the second writing area is incremented (added by l) to determine the number of times of image formation.

第1の書き込みチェックフラグエリアの内容がrAAJ
で、第2の書き込みチェックフラグエリアの内容がrA
AJでも「55」でもない(つまり不定の)ときは、第
1の書き込みエリアのカウンタ値を画像形成回数とする
The contents of the first write check flag area are rAAJ
Then, the contents of the second write check flag area are rA
When it is neither AJ nor "55" (that is, it is undefined), the counter value of the first writing area is taken as the number of times of image formation.

また、第1と第2の書き込みチェックフラグエリアの内
容が共にr ’A A Jのときや、第1の書き込みチ
ェックフラグエリアが不定で第2の書き込みチェックフ
ラグエリアがrAAJのとき、さらIこ第1の書き込み
チェックフラグエリアが「55」で第2の書き込みチェ
ックフラグエリアが「AA」のときや、第1の書き込み
チェックフラグエリアが「55」で第2の書き込みチェ
ックフラグエリアか不定のときには、第1の書き込みエ
リアのカウンタ値を画像形成回数とする。
Furthermore, when the contents of the first and second write check flag areas are both r'A A J, or when the first write check flag area is undefined and the second write check flag area is rAAJ, further I When the first write check flag area is "55" and the second write check flag area is "AA", or when the first write check flag area is "55" and the second write check flag area is undefined. , let the counter value of the first writing area be the number of times of image formation.

[発明の効果] 以上詳述したことから明らかなように、本発明の画像形
成装置におけるデータ処理装置は、次のような効果があ
る。
[Effects of the Invention] As is clear from the above detailed description, the data processing device in the image forming apparatus of the present invention has the following effects.

すなわち、不揮発性メモリに画像形成回数などのデータ
を書き込んでいる最中に電源か切れても、電源を入れた
ときに不揮発性メモリの第1と第2の書き込みチェック
フラグエリアを調べることにより、第1と第2のエリア
のデータがそれぞれ、書き換え中で不定のデータか、書
き換え前のデータか、書き換え終了後のデータであるか
などを判別できるので、不揮発性メモリのデータが不定
になることにより生じる画像形成の様々な誤動作を防止
することができる。したがって、画像形成装置における
種々のデータを確実に処理して有効に利用でき、画像形
成装置の動作の信頼性が極ぬて向上する。
That is, even if the power is turned off while data such as the number of image formations is being written to the nonvolatile memory, the first and second write check flag areas of the nonvolatile memory are checked when the power is turned on. It is possible to determine whether the data in the first and second areas is undefined data being rewritten, data before rewriting, data after rewriting, etc., so that the data in nonvolatile memory becomes undefined. Various malfunctions in image formation caused by this can be prevented. Therefore, various data in the image forming apparatus can be reliably processed and used effectively, and the reliability of the operation of the image forming apparatus is greatly improved.

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

第1図は本発明のデータ処理装置におけるデータの処理
手順を示すフローチャート、第2図は実施例にかかるデ
ータ処理装置の、第1・第2書き込みチェックフラグエ
リアの内容と第1・第2書き込みエリアのカウンタ値の
関係を示す表、第3図は本発明のデータ処理装置を備え
た画像形成装置の実施例を示す縦断面図である。 1・・画像形成装置、17・・・不揮発性メモリ、18
・・・制御部。 ′$ 1 図
FIG. 1 is a flowchart showing the data processing procedure in the data processing device of the present invention, and FIG. 2 shows the contents of the first and second write check flag areas and the first and second write check flag areas of the data processing device according to the embodiment. FIG. 3 is a longitudinal sectional view showing an embodiment of an image forming apparatus equipped with a data processing apparatus of the present invention. 1... Image forming device, 17... Non-volatile memory, 18
...control section. ′$ 1 Figure

Claims (1)

【特許請求の範囲】 動作中にデータを逐次ストアするための不揮発性メモリ
を有する画像形成装置において、前記不揮発性メモリに
は、これにストアされる一つのデータにつき第1の書き
込みエリアと第2の書き込みエリア、および第1の書き
込みエリアに対応する第1の書き込みチェックフラグエ
リアと第2の書き込みエリアに対応する第2の書き込み
チェックフラグエリアをそれぞれ設けると共に、 前記不揮発性メモリへのデータの書き込みが、(1)第
1の書き込みチェックフラグエリアに所定の書き込みチ
ェックフラグを立ててから、(2)第1の書き込みエリ
アにデータを書き込み、(3)第2の書き込みチェック
フラグエリアに所定の書き込みチェックフラグを立てて
から、(4)第2の書き込みエリアにデータを書き込み
、(5)第1の書き込みチェックフラグエリアと第2の
書き込みチェックフラグエリアに順次、前記書き込みチ
ェックフラグと異なる書き込みチェックフラグを立てる
という、前記(1)〜(5)の手順で行われるように構
成したことを特徴とする画像形成装置のデータ処理装置
[Claims] In an image forming apparatus having a non-volatile memory for sequentially storing data during operation, the non-volatile memory has a first write area and a second write area for each piece of data stored in the non-volatile memory. a write area, a first write check flag area corresponding to the first write area, and a second write check flag area corresponding to the second write area, respectively, and writing data to the nonvolatile memory. (1) sets a predetermined write check flag in the first write check flag area, (2) writes data to the first write area, and (3) sets a predetermined write check flag in the second write check flag area. After setting the check flag, (4) write data to the second write area, and (5) write a write check flag different from the write check flag to the first write check flag area and the second write check flag area in sequence. A data processing device for an image forming apparatus, characterized in that the data processing device is configured to perform the steps (1) to (5) above.
JP2172443A 1990-06-28 1990-06-28 Data processing unit in picture forming device Pending JPH0461464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2172443A JPH0461464A (en) 1990-06-28 1990-06-28 Data processing unit in picture forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2172443A JPH0461464A (en) 1990-06-28 1990-06-28 Data processing unit in picture forming device

Publications (1)

Publication Number Publication Date
JPH0461464A true JPH0461464A (en) 1992-02-27

Family

ID=15942081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2172443A Pending JPH0461464A (en) 1990-06-28 1990-06-28 Data processing unit in picture forming device

Country Status (1)

Country Link
JP (1) JPH0461464A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07336888A (en) * 1994-06-06 1995-12-22 Yoyu Tansanengata Nenryo Denchi Hatsuden Syst Gijutsu Kenkyu Kumiai Operating method of dc power generating facility

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07336888A (en) * 1994-06-06 1995-12-22 Yoyu Tansanengata Nenryo Denchi Hatsuden Syst Gijutsu Kenkyu Kumiai Operating method of dc power generating facility

Similar Documents

Publication Publication Date Title
US5093915A (en) Method for selectively loading bootable fiber to control apparatus based upon the corresponding bootable attributes
JPS58136473A (en) Printer
JPS6246838A (en) Recording device
JP4557341B2 (en) Backup storage controller
JPH0461464A (en) Data processing unit in picture forming device
JP4545496B2 (en) Electrical equipment
JP4541514B2 (en) Image forming apparatus
JPS62103174A (en) Printer
JPH03152569A (en) Image recorder
JP2000098826A (en) Image forming device
JP3416449B2 (en) Image forming device
JP3799087B2 (en) Image forming apparatus
JPH0257357A (en) Printing plate and printer
JPH1131107A (en) Memory backup method
JPH0667483A (en) Communication error preventing device for drum peripheral unit
JPH03221973A (en) Electrophotographic device
JP3766378B2 (en) Image forming apparatus
JP2001117442A (en) Image forming device, cartridge attachable to and detachable from the same, discrimination system for period of leaving cartridge and discrimination system for period of leaving cartridge component
JP2699480B2 (en) Document feeder for recording device
JP3183023B2 (en) Control method of photographic film processing equipment
JPH04326365A (en) Electrophotographic copying device
JP2890556B2 (en) Image forming device
JPH02116575A (en) Sheet feeder in image forming device
JPS62227166A (en) Copying device provided with countermeasure for power failure
JPH0451184A (en) Image forming device