JPS63230370A - printer device - Google Patents
printer deviceInfo
- Publication number
- JPS63230370A JPS63230370A JP62065047A JP6504787A JPS63230370A JP S63230370 A JPS63230370 A JP S63230370A JP 62065047 A JP62065047 A JP 62065047A JP 6504787 A JP6504787 A JP 6504787A JP S63230370 A JPS63230370 A JP S63230370A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- volatile memory
- value
- section
- setting
- 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
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/30—Hydrogen technology
- Y02E60/50—Fuel cells
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Dot-Matrix Printers And Others (AREA)
- Record Information Processing For Printing (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔概 要〕
書き換え可能な不揮発性メモリに各種設定数値を書込ん
でおいてそれで動作するプリンタ装置に、該メモリの誤
書込みの有無を確認する手段および再設定回路を設け、
これらにより誤設定を防止する。[Detailed Description of the Invention] [Summary] A printer device that operates by writing various setting values in a rewritable non-volatile memory is provided with a means for checking whether there is any erroneous writing in the memory and a reset circuit. established,
These prevent incorrect settings.
本発明は、書き換え可能な不揮発性メモリに各種設定数
値を書込んでおいてそれで動作するプリンタ装置に関す
る。The present invention relates to a printer device that operates by writing various setting values in a rewritable non-volatile memory.
第5図に示すように、主制御部1の翼下にインターフェ
イス部2、受信バッファ3、設定回路4、不揮発性記憶
装置(不揮発性メモリ)5、改行制御部6、スペース制
御部7、印字制御部8、ラインバッファ9等を設けた従
来のプリンタ装置では、設定回路4でフォント、レング
ス、キャラクタピンチ、インターフェイス情報等の印字
についての各種数値を設定すると、その設定数値は主制
御部1によって不揮発性メモリ5に保存された上で使用
される。これは、一旦装置電源を落としても再度電源を
投入したとき、同じ設定数値を使えるようにするためで
ある。As shown in FIG. 5, under the wings of the main control section 1 are an interface section 2, a reception buffer 3, a setting circuit 4, a non-volatile storage device (non-volatile memory) 5, a line feed control section 6, a space control section 7, and a print control section. In a conventional printer device equipped with a section 8, a line buffer 9, etc., when various values for printing such as font, length, character pinch, and interface information are set in the setting circuit 4, the set values are non-volatile by the main control section 1. It is used after being stored in the digital memory 5. This is so that even if the power to the device is once turned off, the same set value can be used when the power is turned on again.
上記の各種設定数値は標準値のときもあるが、多くはオ
ペレータが使用目的に合致する数値を、設定回路4を通
して入力したものであり、これによりオペレータの望む
状態で印刷が行なわれる。The various set numerical values mentioned above are sometimes standard values, but in most cases, the operator inputs numerical values that match the purpose of use through the setting circuit 4, so that printing is performed in the conditions desired by the operator.
不揮発性メモリとしてはEEFROM、パンテリサポー
トのRAMなどが用いられる。As the non-volatile memory, EEFROM, Panteri support RAM, etc. are used.
上述したプリンタ装置では不揮発性メモリ5内のデータ
が設定回路4によって設定された数値とは異なる値に変
ることがある。このようなエラー(誤書込み)は、■不
揮発性メモリを抜き挿しく取付は取外し)するとき、■
電源電圧の変動や静電気によるノイズを受けたとき等に
生ずる。従来はこの種のデータエラーをチェックせずに
使用しているので、プリンタ装置が予定とは異なる、思
いもかけない誤動作をすることがあった。In the printer device described above, the data in the nonvolatile memory 5 may change to a value different from the numerical value set by the setting circuit 4. Such an error (erroneous write) occurs when ■ when removing/inserting/installing/removing non-volatile memory.
This occurs when there are fluctuations in the power supply voltage or noise due to static electricity. Conventionally, printers have been used without checking for this type of data error, which has led to unexpected malfunctions of the printer device.
本発明は上述した誤書込みを検出し、メモリ5内のデー
タを誤動作しない値に修正しようとするものである。The present invention attempts to detect the above-mentioned erroneous writing and correct the data in the memory 5 to a value that will not cause the erroneous operation.
〔問題点を解決するための手段〕
第1図は本発明の原理図で、10は誤書込確認回路、1
1は再設定回路である。誤書込確認回路は、不揮発性記
憶装置5の内容(設定数値)の正常/異常を検出するデ
ータを用いてエラーチェックする。該データとしては、
例えば、該設定数値をバイト単位で加算してその各々の
和を用いる(これらの和は不揮発性メモリに書込んでお
く)。[Means for solving the problem] Fig. 1 is a diagram showing the principle of the present invention, in which 10 is an erroneous writing confirmation circuit;
1 is a reset circuit. The erroneous write confirmation circuit performs an error check using data that detects whether the contents (set numerical values) of the nonvolatile storage device 5 are normal or abnormal. The data is as follows:
For example, the set numerical values are added in byte units and the respective sums are used (these sums are written in a non-volatile memory).
再設定回路11は、標準設定数値を格納しているROM
を用いてこのROMを読出しその読出しデータを不揮発
メモリに書込むことにより再設定を行なう。The reset circuit 11 is a ROM that stores standard setting values.
The ROM is read out using the ROM and the read data is written into the nonvolatile memory to perform reset.
誤書込確認回路10は不揮発性メモリ5に書込まれてい
るデータをチェックし、エラーが検出された時は再設定
回路11を起動する。エラーチェックは、本例では、不
揮発性メモリが現在格納している設定数値をバイト単位
で加算し、その和を前記の記憶してお(和と比較して一
致/不一致を求めることにより行なう。再設定回路11
はエラーが検出されたとき前記ROMのデータを不揮発
性メモリ5に書込み、該メモリ5の内容を標準数値に書
き直す。これにより、オペレータ設定数値ではないが、
標準設定数値によりプリンタは動作し、異常な動作は防
止できる。この再設定処理は、電源投入時のイニシャル
処理の一環として行なうとよい。The erroneous write confirmation circuit 10 checks the data written in the nonvolatile memory 5, and activates the reset circuit 11 when an error is detected. In this example, the error check is performed by adding the set numerical values currently stored in the non-volatile memory in byte units, storing the sum as described above (and comparing it with the sum to find a match/mismatch). Resetting circuit 11
When an error is detected, the data in the ROM is written into the non-volatile memory 5, and the contents of the memory 5 are rewritten into standard numerical values. As a result, although it is not an operator-set value,
The printer operates according to the standard setting values, and abnormal operations can be prevented. This resetting process is preferably performed as part of the initial process when the power is turned on.
誤書込確認回路」0及び再設定回路11ば、オペレータ
が設定をしたときのチェックにも利用できる。このとき
は設定数値が分っているから、不揮発性メモリを読出し
てその内容と該設定数値とを比較しくビット単位で比較
してもよいし、上記のバイト毎の和で比較してもよい)
、不一致であれば再設定回路11を起動して該設定数値
を不揮発性メモリへ書込み、不揮発性メモリの内容を正
しくオペレータの設定数清適りにする。The erroneous writing confirmation circuit 0 and the reset circuit 11 can also be used to check when the operator has made settings. In this case, since the set value is known, you can read the nonvolatile memory and compare its contents with the set value bit by bit, or you can compare the sum of each byte as described above. )
If there is a mismatch, the reset circuit 11 is activated to write the set value into the non-volatile memory, so that the contents of the non-volatile memory are correctly set according to the number set by the operator.
第2図〜第4図は本発明の一実施例を示す説明図である
。不揮発性メモリ5は第2図に示すように揮発性のRA
M部51と不揮発性のROM部52とからなり、設定回
路4で設定された数値は一旦RAM部51に書込まれ、
そこから更にROM部(EEFROM又はパンテリサポ
ートのRAM)52に書込まれて保存される。保存する
データには誤書込確認値(前記バイト毎の和)Aも含め
る。FIGS. 2 to 4 are explanatory diagrams showing one embodiment of the present invention. The non-volatile memory 5 is a volatile RA as shown in FIG.
It consists of an M section 51 and a non-volatile ROM section 52, and the numerical value set by the setting circuit 4 is once written to the RAM section 51.
From there, the data is further written to the ROM section (EEFROM or RAM of pantry support) 52 and saved. The data to be saved also includes the erroneous writing confirmation value (the sum of the above-mentioned bytes) A.
第3図(a)は誤書込確認計算処理を示し、(blはR
AM部からROM部への移動処理を示す。FIG. 3(a) shows the incorrect writing confirmation calculation process, (bl is R
The process of moving from the AM section to the ROM section is shown.
設定回路4で設定した設定数値を不揮発性メモI75へ
書込むのは主制御部1の役割りであるが、この書込み後
に誤書込確認回路10はRAM部51に残存している設
定数値から得られる誤書込確認値Aと、ROM部52か
ら読出した誤書込確認値(A′とする)を比較する。こ
のときA′?Aであれば再設定回路10がRAM部51
に残存している設定数値をROM部52へ再書込みする
。The role of the main control unit 1 is to write the setting value set by the setting circuit 4 into the non-volatile memory I75, but after this writing, the erroneous writing confirmation circuit 10 writes the setting value set in the RAM unit 51 from the setting value remaining in the RAM unit 51. The obtained erroneous writing confirmation value A is compared with the erroneous writing confirmation value (referred to as A') read from the ROM section 52. At this time A′? If A, the resetting circuit 10 is the RAM section 51
The remaining setting values are rewritten into the ROM section 52.
この動作を各バイトでA’ −Aとなるまで繰り返す。This operation is repeated until each byte becomes A'-A.
このようにすることで、通富動作時に設定回路4から設
定した数値が正しく不揮発性メモリ5に保存される。By doing so, the numerical value set from the setting circuit 4 during the commuting operation is correctly stored in the nonvolatile memory 5.
電源再投入時は、RAM部51の内容は消滅しているの
で、主制御部1はROM部52の内容をRAM部51へ
移す。第3図fclはこの場合の処理である。このとき
誤書込確認回路10はROM部52からRAM部51へ
移された設定数値から誤書込確認値(A)を計算し、こ
れとROM部52に保存されていた誤書込確認値(A′
)を比較する。A′ −Aであれば問題ないが、A′k
Aとなればデータ破壊である。但し、この場合は設定回
路4に何もないので、主制御部1は初期値記憶回路(R
OM)12から初期値(標準設定数値)を取り出し、こ
れを不揮発性メモリ5に書込む。このときも同様に前記
要領で誤書込み検出を行なうことができる。When the power is turned on again, the contents of the RAM section 51 have been erased, so the main control section 1 transfers the contents of the ROM section 52 to the RAM section 51. FIG. 3 fcl shows the processing in this case. At this time, the erroneous writing confirmation circuit 10 calculates an erroneous writing confirmation value (A) from the set value transferred from the ROM section 52 to the RAM section 51, and combines this with the erroneous writing confirmation value stored in the ROM section 52. (A'
). There is no problem if A′ −A, but A′k
If it becomes A, it means data destruction. However, in this case, since there is nothing in the setting circuit 4, the main control section 1 uses the initial value storage circuit (R
The initial value (standard setting numerical value) is taken out from the OM) 12 and written into the non-volatile memory 5. At this time, erroneous writing can be detected in the same manner as described above.
以上述べたように本発明によれば、不揮発性メモリ5内
のデータが電源電圧の変動、静電気によるノイズなどで
エラーになってもこれを検出して標準設定数値に再設定
することができるので、プリンタ装置の誤動作を未然に
防止することができる。As described above, according to the present invention, even if the data in the nonvolatile memory 5 becomes an error due to fluctuations in power supply voltage, noise due to static electricity, etc., this can be detected and reset to the standard setting value. , it is possible to prevent malfunctions of the printer device.
第1図は本発明の原理図、
第2図は不揮発性メモリの構成図、
第3図は本発明の動作を示すフローチャート、第4図は
本発明のプリンタ装置のブロック図、第5図は従来のプ
リンタ装置のブロック図である。Fig. 1 is a diagram of the principle of the present invention, Fig. 2 is a configuration diagram of a non-volatile memory, Fig. 3 is a flow chart showing the operation of the present invention, Fig. 4 is a block diagram of the printer device of the present invention, and Fig. 5 is a block diagram of the printer device of the present invention. FIG. 1 is a block diagram of a conventional printer device.
Claims (1)
定回路により設定された数値を記憶する書き換え可能な
不揮発性記憶装置(5)と、該不揮発性記憶装置内のデ
ータのエラーを検出する誤書込確認回路(10)と、該
誤書込確認回路がエラー検出したとき設定数値を再度不
揮発性記憶装置(5)へ書込む再設定回路(11)と、
該再設定回路が不揮発性記憶装置へ書込む設定数値を記
憶する初期値記憶回路(12)とを備えてなることを特
徴とするプリンタ装置。A circuit (4) for setting various numerical values regarding printing operations, a rewritable non-volatile memory device (5) for storing the numerical values set by the setting circuit, and detecting errors in data in the non-volatile memory device. an erroneous writing confirmation circuit (10); a resetting circuit (11) for rewriting the set value to the nonvolatile storage device (5) when the erroneous writing confirmation circuit detects an error;
A printer device comprising: an initial value storage circuit (12) for storing set numerical values to be written into a nonvolatile storage device by the reset circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62065047A JPS63230370A (en) | 1987-03-19 | 1987-03-19 | printer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62065047A JPS63230370A (en) | 1987-03-19 | 1987-03-19 | printer device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS63230370A true JPS63230370A (en) | 1988-09-26 |
JPH0552794B2 JPH0552794B2 (en) | 1993-08-06 |
Family
ID=13275656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62065047A Granted JPS63230370A (en) | 1987-03-19 | 1987-03-19 | printer device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63230370A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0482468A (en) * | 1990-07-25 | 1992-03-16 | Matsushita Graphic Commun Syst Inc | Picture communication equipment |
JP2007261053A (en) * | 2006-03-28 | 2007-10-11 | Oki Data Corp | Image forming apparatus |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5480050A (en) * | 1977-12-09 | 1979-06-26 | Toshiba Corp | Data processor |
JPS5494850A (en) * | 1978-01-11 | 1979-07-26 | Nissan Motor | Arithmetic processor |
JPS5764397A (en) * | 1980-10-03 | 1982-04-19 | Olympus Optical Co Ltd | Memory device |
JPS5948899A (en) * | 1982-09-09 | 1984-03-21 | Ishida Scales Mfg Co Ltd | Error checking method of ram |
JPS59101099A (en) * | 1982-11-30 | 1984-06-11 | Sharp Corp | Device for detecting destruction of storage content |
JPS59206948A (en) * | 1983-05-10 | 1984-11-22 | Nec Corp | Information processing device |
JPS61270182A (en) * | 1985-05-24 | 1986-11-29 | Tokyo Electric Co Ltd | printer |
-
1987
- 1987-03-19 JP JP62065047A patent/JPS63230370A/en active Granted
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5480050A (en) * | 1977-12-09 | 1979-06-26 | Toshiba Corp | Data processor |
JPS5494850A (en) * | 1978-01-11 | 1979-07-26 | Nissan Motor | Arithmetic processor |
JPS5764397A (en) * | 1980-10-03 | 1982-04-19 | Olympus Optical Co Ltd | Memory device |
JPS5948899A (en) * | 1982-09-09 | 1984-03-21 | Ishida Scales Mfg Co Ltd | Error checking method of ram |
JPS59101099A (en) * | 1982-11-30 | 1984-06-11 | Sharp Corp | Device for detecting destruction of storage content |
JPS59206948A (en) * | 1983-05-10 | 1984-11-22 | Nec Corp | Information processing device |
JPS61270182A (en) * | 1985-05-24 | 1986-11-29 | Tokyo Electric Co Ltd | printer |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0482468A (en) * | 1990-07-25 | 1992-03-16 | Matsushita Graphic Commun Syst Inc | Picture communication equipment |
JP2007261053A (en) * | 2006-03-28 | 2007-10-11 | Oki Data Corp | Image forming apparatus |
Also Published As
Publication number | Publication date |
---|---|
JPH0552794B2 (en) | 1993-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100407178C (en) | Memory control circuit, nonvolatile memory device, and memory control method | |
US10635527B2 (en) | Method for processing data stored in a memory device and a data storage device utilizing the same | |
JPS60116464A (en) | Printer | |
EP0080354A3 (en) | Computer memory checking system | |
JPS63230370A (en) | printer device | |
JPH1097471A (en) | Method and system for error correction of memory data | |
JPH0784894A (en) | Method for writing nonvolatile memory | |
JPH10161942A (en) | Method, device for storing information, and information processor | |
JPH03135643A (en) | Lifetime detecting method for rewritable nonvolatile memory | |
JPS58188398A (en) | Memory error detection and correction device | |
JPH0728707A (en) | Data protecting method for nonvolatile memory | |
JP3041007B2 (en) | Non-volatile memory management method | |
JP3178913B2 (en) | Semiconductor file device | |
JPH01266632A (en) | Control system for counter using nonvolatile memory | |
JPH0330960B2 (en) | ||
JPS63192088A (en) | Trouble recovery system for character output unit | |
JPS63170756A (en) | Main memory initialization method | |
JPH06131888A (en) | Semiconductor filing device | |
JPS60225941A (en) | Microprogram control device | |
JPH054266U (en) | Memory device | |
JPS61131052A (en) | Memory initialization method | |
JPH024003B2 (en) | ||
JPS63271555A (en) | Storage control system | |
JPH0488434A (en) | Data processor | |
JPH03142795A (en) | Write processing method for reloadable non-volatile memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |