JPH077474B2 - Electronic cash register - Google Patents

Electronic cash register

Info

Publication number
JPH077474B2
JPH077474B2 JP12446786A JP12446786A JPH077474B2 JP H077474 B2 JPH077474 B2 JP H077474B2 JP 12446786 A JP12446786 A JP 12446786A JP 12446786 A JP12446786 A JP 12446786A JP H077474 B2 JPH077474 B2 JP H077474B2
Authority
JP
Japan
Prior art keywords
data
ram
total
total sales
day
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP12446786A
Other languages
Japanese (ja)
Other versions
JPS62280995A (en
Inventor
隆志 山崎
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.)
Sanyo Electric Co Ltd
Original Assignee
Tottori Sanyo Electric Co Ltd
Sanyo Electric 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 Tottori Sanyo Electric Co Ltd, Sanyo Electric Co Ltd filed Critical Tottori Sanyo Electric Co Ltd
Priority to JP12446786A priority Critical patent/JPH077474B2/en
Publication of JPS62280995A publication Critical patent/JPS62280995A/en
Publication of JPH077474B2 publication Critical patent/JPH077474B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は電子式キヤツシユレジスタに関する。DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application The present invention relates to an electronic cash register.

(ロ) 従来の技術 一般に電子式キヤツシユレジスタに於いては、例えば特
開昭52−42341号公報に示されるように、日々の商品販
売情報として、売上合計金額や売上合計数量を部門別あ
るいは取引別等に区分すると共に、累計売上合計金額等
をランダム・アクセス・メモリ(RAM)に記憶し、精算
操作によりRAMの記憶内容を印字した後に、累計売上合
計金額等の特定のデータ以外はクリアするよう構成され
ている。
(B) Conventional Technology Generally, in an electronic cash register, as shown in Japanese Patent Laid-Open No. 52-42341, for example, daily sales information is used to display the total sales amount or the total sales amount by department or In addition to sorting by transaction, etc., the cumulative total sales amount etc. are stored in the random access memory (RAM), and after the contents stored in the RAM are printed by the settlement operation, the data other than specific data such as the cumulative total sales amount etc. is cleared. Is configured to.

ところがRAMは電気的にデータの書込み消去が自由なた
め、停電、故障、静電気あるいは保守修理等の要因によ
って記憶データが破壊されることが有り、RAMでデータ
を永久的に記憶保守することは困難であった。したがっ
て例えば長期休暇等で電源を抜き不使用にした場合に、
RAMをバツクアツプしているバツテリーの電圧低下等
で、RAMに記憶されている累計売上合計金額等のデータ
が狂うことがあり、使用を開始した時に精算レポートに
誤った累計売上合計金額が印字されても分らないという
問題が有った。又使用者によっては、少なくとも日々の
売上合計は個々に記憶しておき、例えば年一度の税金申
告時に、それらを読み出して利用したいとの要望が有っ
たが、RAMではデータの保護が確実ないという問題が有
った。
However, because RAM is electrically free to write and erase data, the stored data may be destroyed due to factors such as power failure, failure, static electricity, or maintenance and repair, making it difficult to permanently store and maintain data in RAM. Met. Therefore, for example, when the power is turned off and not used for a long vacation,
The data such as the total sales amount stored in the RAM may be corrupted due to the voltage drop of the battery that backs up the RAM, etc., and the incorrect total sales amount may be printed on the settlement report when the use is started. There was a problem that I did not understand. In addition, some users have requested to memorize at least the daily sales total individually, and to read and use them at the time of annual tax filing, for example, but RAM does not guarantee data protection. There was a problem.

(ハ) 発明が解決しようとする問題点 本発明は上述の問題点を解消すべくなされたもので、金
銭登録データを消去不能な不揮発生メモリに順次書込
み、記憶データを確実に保護すると共に、RAMの累計売
上合計金額のデータに誤りがある場合自動的に修正する
ことができる電子式キヤツシユレジスタを提供するもの
である。
(C) Problems to be Solved by the Invention The present invention has been made to solve the above problems, and sequentially writes money registration data to a non-erasable non-volatile memory to securely protect stored data. It provides an electronic cash register that can be automatically corrected if the total sales amount of RAM data is incorrect.

(ニ) 問題点を解決するための手段 本発明は精算操作により、1日の売上合計金額をRAMの
累計売上合計金額に加算すると同時に、消去不能な不揮
発生メモリに書込み、又チエツク操作によりRAMと不揮
発生メモリのデータの比較を行ない、違いが有れば不揮
発生メモリのデータをRAMに書込み、RAMの累計売上合計
金額の修正を自動的に行なうよう構成したものである。
(D) Means for Solving Problems The present invention adds the total daily sales amount to the cumulative total sales amount of the RAM by the settlement operation, and at the same time, writes it in the non-erasable non-volatile memory, or the RAM by the check operation. And the data in the non-volatile raw memory are compared, and if there is a difference, the data in the non-volatile raw memory is written to the RAM, and the cumulative total sales amount of the RAM is automatically corrected.

(ホ) 作用 本発明は上述のように構成したので、不揮発生メモリに
金銭登録データを確実に保護することが出来ると共に、
RAMのバツクアツプ用のバツテリーの電圧低下等でRAMに
記憶されている累計売上合計金額に誤りが有ったとして
も、不揮発性メモリに記憶されているデータに基づき自
動的に修正が行なわれる。
(E) Operation Since the present invention is configured as described above, it is possible to surely protect the cash registration data in the non-volatile memory, and
Even if there is an error in the total sales amount stored in the RAM due to the voltage drop of the battery for the backup of the RAM, the correction is automatically performed based on the data stored in the non-volatile memory.

(ヘ) 実 施 例 以下本発明の実施例を図面と共に説明する。(F) Example An example of the present invention will be described below with reference to the drawings.

第1図は本発明の電子式キヤツシユレジスタの回路構成
を示すブロツク図で、(1)は制御回路を構成する中央
処理ユニツト(CPU)で、演算回路、インストラクシヨ
ンデコーダ、I/O、コントローラ、メモリ制御回路等が
内蔵され、キーボード(2)の各キー操作信号に基づい
て、各種演算処理を行ない各部を制御する。(3)はア
ドレスバス(4)及びデータバス(5)を介してCPU
(1)に接続されたリード・オンリー・メモリ(ROM)
で、キーボード(2)の各キー操作信号に基づいて、CP
U(1)の行なう金銭登録手順や記憶制御、出力制御等
のインストラクシヨン・プログラムが予め記憶されてい
る。(6)はアドレスバス(4)とデータバス(5)を
介してCPU(1)に接続されたRAMで、CPU(1)で演算
処理されたデータが記憶され、精算あるいは点検時にCP
U(1)により読み出される。(7)はキーボード
(2)より入力されたデータあるいはCPU(1)で演算
処理されたデータを表示する表示器である。(8)はレ
シート及びジヤーナル用紙に印字を行なうプリンタでCP
U(1)により印字制御れている。(9)はCPU(1)の
制御に下に不揮発性メモリ(10)に特定のデータを書込
みあるいは読み出し制御を行なうPROMライターである。
不揮発性メモリ(10)は周知のプログラマブル・リード
・オンリー・メモリ(PROM)で構成される。PROMはデー
タを一度書込むと消去できず、電気的に切り離されても
その記憶を半永久的に保存することができる。(11)
(12)(13)はアドレスバス(4)及びデータバス
(5)に接続され、各々キーボード(2)、表示器
(7)、プリンタ(8)を駆動する駆動回路である。
FIG. 1 is a block diagram showing a circuit configuration of an electronic cache register of the present invention. (1) is a central processing unit (CPU) which constitutes a control circuit, and includes an arithmetic circuit, an instruction decoder, I / O, A controller, a memory control circuit, etc. are built in, and various arithmetic processing is performed based on each key operation signal of the keyboard (2) to control each unit. (3) CPU via address bus (4) and data bus (5)
Read-only memory (ROM) connected to (1)
Then, based on each key operation signal of the keyboard (2), CP
Instruction programs such as the cash registration procedure, memory control, and output control performed by U (1) are stored in advance. (6) is a RAM connected to the CPU (1) via the address bus (4) and the data bus (5), and the data processed by the CPU (1) is stored in the RAM.
Read by U (1). Reference numeral (7) is a display for displaying data input from the keyboard (2) or data processed by the CPU (1). (8) is a printer that prints on receipts and journal paper CP
Printing is controlled by U (1). Reference numeral (9) is a PROM writer which controls writing or reading of specific data in the nonvolatile memory (10) under the control of the CPU (1).
The non-volatile memory (10) is composed of a well-known programmable read only memory (PROM). PROM cannot be erased once data is written, and its memory can be stored semipermanently even if it is electrically disconnected. (11)
Drive circuits (12) and (13) are connected to the address bus (4) and the data bus (5) and drive the keyboard (2), the display (7) and the printer (8), respectively.

第2図はキーボード(2)のキー配列を示す図で、(1
4)はモードコントロール錠であり、図示しない所定の
鍵の挿入回動に応動して、「OFF」、金銭登録「REG」、
点検「X」、精算「Z」、設定「P」の各モードが選択
される。又キーボード(2)には置数のためのテンキー
(15)、部門キー(16)、取引別キー(17)が設けら
れ、取引別キー(17)には合計/現金キー「CASH」(17
a)、小計キー「ST」(17b)、両替キー「#/NS」(17
c)、乗算キー「X」(17d)、ELRキー「ELR」(17
e)、訂正キー「VOID」(17f)等が配列されている。
Figure 2 shows the keyboard layout of the keyboard (2).
4) is a mode control lock, which responds to the insertion and rotation of a predetermined key (not shown), "OFF", cash registration "REG",
Each mode of inspection "X", settlement "Z", and setting "P" is selected. The keyboard (2) is provided with a numeric keypad (15) for entering numbers, a department key (16) and a transaction key (17). The transaction key (17) has a total / cash key "CASH" (17).
a), Subtotal key “ST” (17b), Exchange key “# / NS” (17
c), multiplication key "X" (17d), ELR key "ELR" (17
e), the correction key “VOID” (17f), etc. are arranged.

第3図はRAM(6)の構成を示し、1日の売上データが
商品部門別、取引別等に区分して記憶される領域(6A)
と、データが転送されるXレジスタ(6B)とYレジスタ
(6C)と、累計の売上合計金額(GT)が記憶される領域
(6D)で構成され、触算操作で領域(6D)以外はクリア
されるよう構成されている。
Fig. 3 shows the structure of the RAM (6), which is an area (6A) where the daily sales data is divided into product departments, transactions, etc.
And an X register (6B) and a Y register (6C) to which data is transferred, and an area (6D) in which a cumulative total sales amount (GT) is stored. Except for the area (6D) by touch operation, It is configured to be cleared.

第4図は不揮発性メモリ(10)の構成を示し、1個のPR
OMの記憶容量が65536ビツトのメモリが3個使用され、
全体で196.608ビツトの記憶容量を備えている。又書込
まれる金銭登録データは、1情報につき80ビツトのデー
タが書込まれ、2428個分即ち194.240ビツトが金銭登録
データの記憶領域として割当てられ、残りの領域は区分
指定データ等を記憶する領域として割当てられている。
Fig. 4 shows the configuration of the non-volatile memory (10), and one PR
Three OM storage capacities of 65536 bits are used,
It has a total storage capacity of 196.608 bits. As for the money registration data to be written, 80 bits of data are written per information, 2428 pieces, that is, 194.240 bits are allocated as a storage area for the money registration data, and the remaining area is an area for storing the classification designation data and the like. Is assigned as.

次に斯る構成よりなる本発明の動作につきフローチャー
トに基づき説明する。
Next, the operation of the present invention having such a configuration will be described based on a flowchart.

先ずモードコントロール錠(14)を金銭登録「REG」の
位置に設定し、登録操作を行なうと通常の電子式キヤツ
シユレジスタと同様に商品門別、取引別等に区分してRA
M(6)の領域(6A)に売上データの登録が行なわれ
る。そこで1日の登録業務を終了し、モードコントロー
ル錠(14)を精算「Z」の位置に設定し、精算操作を行
なうと、第5図に示すようにCPU(1)はステツプ(S
1)でRAM(6)の領域(6A)に記憶されているデータを
順次読み出しプリンタ(8)に供給し精算レポートの印
字を行なう。この際当日の総売上合計金額が読み出され
印字される時、CPU(1)はステツプ(S6)でRAM(6)
の領域のデータに当日の総売上合計金額を加算し、累計
の売上合計金額(GT)を求め印字を行なう。又同時にCP
U(1)はステツプ(S7)でPROMライター(9)を制御
し不揮発性メモリ(10)の金銭登録データ領域の最新の
空き領域に総売上合計金額データを記憶させる。そして
精算レポートの印字終了時に、CPU(1)はステツプ(S
8)でRAM(6)の登録データをクリアし精算動作を終了
する。このようにして日々の総売上合計金額データが、
不揮発性メモリ(10)に順次記憶されるので、データを
確実に保護することが出来る。今不揮発性メモリ(10)
には、2428個のデータ書込み領域が確保されており、数
年分のデータの記憶が可能である。
First, set the mode control lock (14) at the position of cash registration "REG", and if you perform registration operation, it will be classified according to product gate, transaction etc. as in a normal electronic cash register.
Sales data is registered in the area (6A) of M (6). Therefore, when the registration work for one day is completed, the mode control lock (14) is set to the position of the adjustment "Z", and the adjustment operation is performed, the CPU (1) causes step (S) as shown in FIG.
In 1), the data stored in the area (6A) of the RAM (6) is sequentially read out and supplied to the printer (8) to print a settlement report. At this time, when the total sales amount of the day is read out and printed, the CPU (1) is RAM (6) in step (S6)
Add the total sales amount on the day to the data in the area, and obtain the total sales amount (GT) and print it. Also at the same time CP
The U (1) controls the PROM writer (9) in step (S7) to store the total sales amount data in the latest free area of the cash registration data area of the non-volatile memory (10). Then, at the end of printing the settlement report, the CPU (1) proceeds to step (S
In 8), clear the registered data in RAM (6) and finish the settlement operation. In this way, the daily total sales total amount data is
Since the data is sequentially stored in the non-volatile memory (10), the data can be surely protected. Now non-volatile memory (10)
In this system, 2428 data writing areas are secured, and it is possible to store data for several years.

尚記憶する際売上合計金額と共に年度データを併せて記
憶しておけば、キーボード(2)の所定の読み出しキー
操作と年度データの入力により、CPU(1)は不揮発性
メモリ(10)より同一年度の売上合計金額データの読み
出しを行ないプリンタ(8)で年度毎に印字出力するこ
とが可能である。
If the yearly data is also stored together with the total sales amount, the CPU (1) stores the same year from the non-volatile memory (10) by operating the predetermined read key on the keyboard (2) and inputting yearly data. It is possible to read out the total sales amount data of and print out for each year by the printer (8).

次に業務開始時等に行なう電子式キヤツシユレジスタの
自己診断動作につき第6図及び第7図のフローチヤート
に基づき説明する。
Next, the self-diagnosis operation of the electronic cash register at the start of work will be described with reference to the flow charts of FIGS. 6 and 7.

先ずモードコントロール錠(14)を精算「Z」の位置に
設定し、チエツクレポートの業務コード番号「77」を置
数後、STキー(17b)を操作し続いてCASHキー(17a)を
操作する。CASHキー(17a)信号を検出したCPU(1)
は、ステツプ(S10)で精算モードか否かの判定に続
き、ステツプ(S11)でチエツクレポートの業務コード
が正しいか否かの判定を行なう。チエツクレポートの業
務コードが正しい時、ステツプ(S12)に進み日付、時
刻或はレポート名称データをプリンタ(8)に供給し、
第8図(イ)に示すように印字を行なう。続いてCPU
(1)はステツプ(S13)に進みRAM(6)が正常か否か
のチエツクを行なう。RAM(6)チエツクとしてはRAM
(6)に記憶されているデータを例えば8ビツトずつ読
み出し退避させた後、読み出した領域をクリアし、退避
したデータを再び書込み、そして書込んだデータを再度
読み出し退避させているデータと比較することにより、
一致しておれば正常で不一致であればば異常と判断する
ことにより行なうことができる。このようにしてRAM
(6)のチエツクの結果正常であればステツプ(S16)
で「RAM OK」の印字を第9図(ハ)のように印字し、異
常の場合ステツプ(S15)で第8図(ロ)のように「RAM
NG〕「CALL SERVICE」の印字を行ない、その時点で自
己診断を終了する。RAM(6)のチエツクが終り、RAM
(6)が正常の場合続いてCPU(1)はROM(3)のプロ
グラムに異常がないか否かをステツプ(S17)でROM
(3)の機械コードを順次加算しその結果を第9図
(ニ)のように印字する。この値がいつもの値と異なっ
ておればROM(3)のプログラムに異常が有ることが分
る。
First, set the mode control lock (14) to the position of settlement "Z", enter the business code number "77" in the check report, and then operate the ST key (17b) and then the CASH key (17a). . CPU that detected the CASH key (17a) signal (1)
In step (S10), it is determined whether or not the operation mode is the check mode, and then in step (S11), it is determined whether or not the business code of the check report is correct. When the business code of the check report is correct, proceed to step (S12) to supply the date, time or report name data to the printer (8),
Printing is performed as shown in FIG. Then CPU
(1) advances to step (S13) to check whether the RAM (6) is normal or not. RAM (6) RAM as a check
After the data stored in (6) is read and saved, for example, every 8 bits, the read area is cleared, the saved data is rewritten, and the written data is read again and compared with the saved data. By
If they match, it is normal, and if they do not match, it can be judged as abnormal. RAM this way
If the result of the check in (6) is normal, step (S16)
"RAM OK" is printed as shown in Fig. 9 (C), and if it is abnormal, at step (S15) it is printed as "RAM OK" as shown in Fig. 8 (B).
[NG] Print "CALL SERVICE" and terminate self-diagnosis at that point. RAM (6) check is over, RAM
If (6) is normal, then the CPU (1) determines whether or not the program in the ROM (3) is abnormal by performing a step (S17) to ROM.
The machine codes of (3) are sequentially added, and the result is printed as shown in FIG. If this value is different from the usual value, it can be seen that the program in ROM (3) is abnormal.

次にRAM(6)に記憶されている累計売上合計金額(G
T)が正しいか否かのチエツクを行なうべく、先ずステ
ツプ(S18)でRAM(6)のXレジスタ(6B)をゼロクリ
アした後、RAM(6)の領域(6D)に記憶されている累
計売上合計金額データ(GT)を読み出しXレジスタ(6
B)に転送する。続いてステツプ(S20)でRAM(6)の
Yレジスタ(6G)のゼロクリアを行なうと共に、不揮発
性メモリ(10)のデータを読み出すべく、ステツプ(S2
1)で不揮発性メモリ(10)のアドレスを「0000H」に設
定する。次にステツプ(S22)に進み不揮発性メモリ(1
0)から80ビツトのデータ即ち1日分の売上合計金額デ
ータを読み出し、ステツプ(S23)でデータが「0」か
否かの判定を行ない、「0』でない場合ステツプ(S2
3)でRAM(6)のYレジスタ(6C)に読み出したデータ
の加算を行なう。そしてステツプ(S25)で不揮発性メ
モリ(10)が終了か否かの判定を行なった後、ステツプ
(S26)で不揮発性メモリ(10)から次のデータを読み
出すベく80ビツト分アドレスデータを進み、ステツプ
(S22)に戻り同様の動作を繰り返す。これにより不揮
発性メモリ(10)に記憶されている売上合計金額の累計
がYレジスタ(6C)で求まる。このようにして不揮発性
メモリ(10)よりデータの読み出しを行なっている際
に、読み出したデータが「0」即ち売上合計金額データ
が記憶されていない場合には、ステツプ(S23)よりス
テツプ(S27)に進みXレジスタ(6B)の値からYレジ
スタ(6C)の値を減算し、ステツプ(S28)で減算結果
が「0」か否かの判定を行ない、「0」即ちRAM(6)
に記憶されている累計売上合計金額(GT)と不揮発性メ
モリ(10)に記憶されているデータが一致している場合
には、第9図(ホ)のように「RAM GT OK」と印加す
る。
Next, the cumulative total sales amount (G
In order to check whether T) is correct or not, first, in step (S18), the X register (6B) of RAM (6) is cleared to zero, and then the cumulative sales stored in area (6D) of RAM (6). Read the total amount data (GT) and read the X register (6
Transfer to B). Then, in step (S20), the Y register (6G) of the RAM (6) is cleared to zero and the data in the nonvolatile memory (10) is read out in step (S2).
In 1), set the address of the non-volatile memory (10) to "0000H". Next, in step (S22), the nonvolatile memory (1
Data of 80 bits from 0), that is, the total sales amount data for one day is read, and it is determined in step (S23) whether the data is "0". If it is not "0", the step (S2
In 3), the read data is added to the Y register (6C) of the RAM (6). Then, in step (S25), it is determined whether or not the non-volatile memory (10) has ended, and in step (S26), the next data is read from the non-volatile memory (10). , And returns to step (S22) to repeat the same operation. As a result, the cumulative total amount of sales stored in the non-volatile memory (10) can be found in the Y register (6C). If the read data is "0", that is, the total sales amount data is not stored, while reading the data from the nonvolatile memory (10) in this manner, the step (S27) is followed by the step (S27). ), The value of the Y register (6C) is subtracted from the value of the X register (6B), and in step (S28), it is determined whether or not the subtraction result is "0", and "0", that is, the RAM (6).
If the total amount of sales (GT) stored in is in agreement with the data stored in the non-volatile memory (10), apply "RAM GT OK" as shown in Fig. 9 (e). To do.

しかし乍ら減算結果が「0」でない場合には、CPU
(1)はステツプ(S30)に進みRAM(6)の領域(6D)
にYレジスタ(6C)の値、即ち不揮発性メモリ(10)の
データの合計値を書込み、RAM(6)の領域(6D)に記
憶されている累計売上合計金額の修正を行なう。そして
ステツプ(S31)〜(S33)で第10図(ヘ)(ト)に示す
ように「RAM GT NG」のメツセージとX、Yレジスタ(6
C)(6D)の内容を印字する。
However, if the subtraction result is not "0", the CPU
Step (1) proceeds to step (S30) and RAM (6) area (6D)
The value of the Y register (6C), that is, the total value of the data in the non-volatile memory (10), is written in and the cumulative total sales amount stored in the area (6D) of the RAM (6) is corrected. Then, at steps (S31) to (S33), as shown in Fig. 10 (f) and (g), the "RAM GT NG" message and the X and Y registers (6
C) Print the contents of (6D).

次にCPU(1)はステツプ(S34)に進み表示器(7)の
表示セグメントを順次点灯し表示テストを行ない、続い
てステツプ(S35)でブザーを鳴らし警報テストを行な
い、又ステツプ(S36)でドロアーの解放テストを行な
った後に、ステツプ(S37)でプリンタ(8)にテスト
パターンデータを供給し、第9図、第10図(チ)に示す
うにテストパターンの印字を行なって自己診断を終了す
る。尚この自己診断は随時行なうことができるが、登録
業務を開始する前に行なうのが好ましい。
Next, the CPU (1) proceeds to step (S34) and sequentially turns on the display segments of the display (7) to perform a display test, and then at step (S35) sounds a buzzer to perform an alarm test, and also at step (S36). After performing the drawer release test with, the test pattern data is supplied to the printer (8) in step (S37), and the test pattern is printed as shown in FIG. 9 and FIG. finish. This self-diagnosis can be performed at any time, but it is preferable to perform it before starting the registration work.

(ト) 発明の効果 上述の如く本発明の電子式キヤツシユレジスタは、不揮
発性メモリに金銭登録データを記憶するよう構成したこ
とにより、金銭登録データの保護を確実に行なうと共
に、不揮発性メモリに記憶されているデータの累計を求
めるRAMに記憶されている累計売上合計金額と比較し、
違いがあれば不揮発性メモリのデータより求めた累計売
上合計金額をRAMに書込み、RAMの累計売上合計金額を自
動的に修正するよう構成したことにより、精算レポート
に正しい累計売上合計金額の印字が行なわれる。
(G) Effect of the Invention As described above, the electronic cash register of the present invention is configured to store the money registration data in the non-volatile memory, so that the money registration data is surely protected and the non-volatile memory is protected. Calculate the cumulative total of the stored data Compare with the cumulative total sales amount stored in RAM,
If there is a difference, the cumulative total sales amount calculated from the data in the non-volatile memory is written to the RAM, and the total sales total amount in the RAM is configured to be automatically corrected, so that the correct total sales amount can be printed on the settlement report. Done.

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

第1図は本発明の電子式キヤツシユレジスタの構成を示
すブロツク図、第2図は第1図のキーボードの配列を示
す平面図、第3図は第1図のRAMの構成を示す模式図、
第4図は同じく不揮発性メモリの構成を示す模式図、第
5図、第6図、第7図は第1図の動作状態を示すフロー
チヤート、第8図、第9図、第10図はチエツクレポート
の印字状態を示す図である。 (1)……CPU、(2)……キーボード、(3)……RO
M、(6)……RAM、(7)……表示器、(8)……プリ
ンタ、(9)……PROMライター、(10)……不揮発性メ
モリ。
FIG. 1 is a block diagram showing the configuration of the electronic cash register of the present invention, FIG. 2 is a plan view showing the arrangement of the keyboard of FIG. 1, and FIG. 3 is a schematic diagram showing the configuration of the RAM of FIG. ,
FIG. 4 is a schematic diagram showing the configuration of the nonvolatile memory, FIG. 5, FIG. 6, and FIG. 7 are flow charts showing the operating state of FIG. 1, FIG. 8, FIG. 9, and FIG. It is a figure which shows the printing state of a check report. (1) …… CPU, (2) …… keyboard, (3) …… RO
M, (6) ... RAM, (7) ... display, (8) ... printer, (9) ... PROM writer, (10) ... nonvolatile memory.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】金銭登録データの入力及び精算モード、自
己診断モード等の処理モードの選択を行なうための入力
手段と、1日分の金銭登録データ、この1日毎の金銭登
録データの総計である1日分の総売上合計金額データ並
びにこの総売上合計金額データを累計してなる累計売上
合計金額データを記憶するRAMと、各日毎の総売上合計
金額データが複数記憶される不揮発生メモリと、演算手
段と、比較手段と、前記入力手段の入力に応動して前記
各部を制御する手段とを具備し、 前記入力手段により精算モードが選択されると、前記制
御手段は前記RAM内の総売上合計金額データを前記不揮
発生メモリに書込むと共に前記演算手段により前記RAM
中の累計売上合計金額データに累計加算し、その後前記
RAM中の1日分の金銭登録データ及び総売上合計金額デ
ータをクリアし、 また、前記入力手段により自己診断モードが選択される
と、前記制御手段は前記不揮発生メモリ内の各日毎の総
売上合計金額データを全て読み出すと共に前記演算手段
を制御してその累計加算データを求め、その累計加算デ
ータと前記RAM内の累計売上合計金額データとの比較を
前記比較手段で行ない、両データが異なる場合には直ち
に前記RAMの累計売上合計金額データを前記累計加算デ
ータに書き替えることを特徴とする電子式キャッシュレ
ジスタ。
1. An input means for inputting money registration data and selecting a processing mode such as a payment mode and a self-diagnosis mode, money registration data for one day, and total money registration data for each day. RAM for storing total sales total amount data for one day and total sales total amount data obtained by accumulating the total sales total amount data, and a non-volatile memory for storing a plurality of total sales total amount data for each day, The calculation means, the comparison means, and the means for controlling the respective parts in response to the input of the input means are provided, and when the payment mode is selected by the input means, the control means causes the total sales in the RAM to be The total amount of money data is written in the non-volatile raw memory and the RAM is calculated by the calculating means.
Cumulative total sales amount in
When the cash registration data for one day and the total sales total amount data in the RAM are cleared and the self-diagnosis mode is selected by the input means, the control means causes the total sales for each day in the non-volatile memory to be changed. When all the total amount data are read and the calculation means is controlled to obtain the cumulative addition data, and the cumulative addition data is compared with the cumulative total sales amount data in the RAM by the comparison means, and the two data are different from each other. The electronic cash register is characterized in that the accumulated sales total amount data of the RAM is immediately rewritten to the accumulated addition data.
JP12446786A 1986-05-29 1986-05-29 Electronic cash register Expired - Lifetime JPH077474B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12446786A JPH077474B2 (en) 1986-05-29 1986-05-29 Electronic cash register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12446786A JPH077474B2 (en) 1986-05-29 1986-05-29 Electronic cash register

Publications (2)

Publication Number Publication Date
JPS62280995A JPS62280995A (en) 1987-12-05
JPH077474B2 true JPH077474B2 (en) 1995-01-30

Family

ID=14886246

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12446786A Expired - Lifetime JPH077474B2 (en) 1986-05-29 1986-05-29 Electronic cash register

Country Status (1)

Country Link
JP (1) JPH077474B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5734266A (en) * 1980-08-07 1982-02-24 Tokyo Electric Co Ltd Commodity saling data processing system
JPH0348700Y2 (en) * 1984-11-09 1991-10-17

Also Published As

Publication number Publication date
JPS62280995A (en) 1987-12-05

Similar Documents

Publication Publication Date Title
JPH0624946Y2 (en) Electronic cash register
JPS6013518B2 (en) Electronic register payment method
EP0180978B1 (en) Electronic cash register
JPH077474B2 (en) Electronic cash register
JPH0719307B2 (en) Electronic cash register
JPH0635944A (en) Lot vending system
JPH071514B2 (en) Electronic cash register
JPH0744671A (en) Ic card
JPH026119B2 (en)
JPH0418072Y2 (en)
JPH0417558B2 (en)
CA1081847A (en) Electronic cash registers
JPS6031000B2 (en) electronic cash register
GB2172131A (en) Credit card checking method and system
JPS5826058B2 (en) Registration data correction method for cash register
JP2651313B2 (en) Portable meter reading data processing unit
JP2617250B2 (en) Electronic cash register
JPH06195271A (en) Data processor
JPH11110302A (en) Semiconductor storage device and sale processor equipped with it
JPH0877077A (en) Data processor
JPH052537A (en) Data protecting device for electronic equipment
JPS5834524Y2 (en) electronic cash register
JPH1091650A (en) Portable meter-reading data gathering processor
JPH0258671B2 (en)
JPH05241970A (en) Data protective device for electronic equipment