JPH0417558B2 - - Google Patents

Info

Publication number
JPH0417558B2
JPH0417558B2 JP60247484A JP24748485A JPH0417558B2 JP H0417558 B2 JPH0417558 B2 JP H0417558B2 JP 60247484 A JP60247484 A JP 60247484A JP 24748485 A JP24748485 A JP 24748485A JP H0417558 B2 JPH0417558 B2 JP H0417558B2
Authority
JP
Japan
Prior art keywords
data
stored
address
area
designation
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
JP60247484A
Other languages
Japanese (ja)
Other versions
JPS62107396A (en
Inventor
Takashi Yamazaki
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
Sanyo Denki Co Ltd
Original Assignee
Tottori Sanyo Electric Co Ltd
Sanyo Denki 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 Denki Co Ltd filed Critical Tottori Sanyo Electric Co Ltd
Priority to JP24748485A priority Critical patent/JPS62107396A/en
Publication of JPS62107396A publication Critical patent/JPS62107396A/en
Publication of JPH0417558B2 publication Critical patent/JPH0417558B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は商品販売に関する金銭登録情報を、不
揮発性メモリに登録するよう構成した電子式キヤ
ツシユレジスタに関する。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to an electronic cash register configured to register monetary registration information related to product sales in a non-volatile memory.

(ロ) 従来の技術 従来、電子式キヤツシユレジスタに於いては、
例えば特開昭52−42341号公報に示されるように、
日々の商品販売情報として、売上合計金額や売上
合計数量を部門別あるいは取引別等に区分してメ
モリに記憶し、精算操作によりメモリの記憶内容
を印字した後に、メモリをクリアするよう構成さ
れている。そしてこの目的のためにメモリには一
般的にランダム・アクセス・メモリ(RAM)が
使用されているが、RAMは電気的にデータの書
込み消去が自由なため、停電、故障、静電気ある
いは保守修理等の要因によつて記憶データが破壊
されることが有り、RAMでデータを永久的に記
憶保存することは困難であつた。
(b) Conventional technology Conventionally, in electronic cash registers,
For example, as shown in Japanese Patent Application Laid-open No. 52-42341,
As daily product sales information, the total sales amount and total sales quantity are classified by department or transaction and stored in the memory, and the memory is cleared after the contents of the memory are printed by the checkout operation. There is. Random access memory (RAM) is generally used for this purpose, but because RAM can be electrically written and erased, it is susceptible to power outages, failures, static electricity, maintenance and repair, etc. It has been difficult to permanently store data in RAM because stored data can be destroyed due to such factors.

一方使用者によつては、少なくとも日々の売上
合計は個々に記憶しておき、例えば年一度の税金
申告時に、それらを読み出して利用したいとの要
望が有つたが、RAMではデータの保護が確実で
ないという問題が有つた。
On the other hand, some users have expressed a desire to memorize at least daily sales totals individually and read and use them, for example, when filing tax returns once a year, but with RAM, data protection is ensured. There was a problem that it wasn't.

(ハ) 発明が解決しようとする問題点 本発明は上述の問題点を解消すべくなされたも
ので、金銭登録情報を消去不能な不揮発性メモリ
に順次書込み、記憶データを確実に保護すること
ができる電子式キヤツシユレジスタを提供するこ
とを目的とするものである。
(C) Problems to be Solved by the Invention The present invention has been made to solve the above-mentioned problems, and it is possible to write financial registration information sequentially into a non-erasable non-volatile memory and to reliably protect the stored data. The purpose of the present invention is to provide an electronic cash register that can be used as an electronic cash register.

(ニ) 問題点を解決するための手段 本発明は消去不能な不揮発性メモリを設け、メ
モリを一日の総売上合計金額データが連続して記
憶される領域と、連続して記憶されているデータ
の区切りを示す区分指定データがデータの記憶番
地データと一対で記憶される区分指定データ記憶
領域で構成し、区分指定データの入力により対応
した番地データに基づき、連続して記憶されてい
るデータの読み出し範囲を設定し、該当するデー
タを読み出し可能に構成したものである。
(d) Means for Solving the Problems The present invention provides a non-volatile memory that cannot be erased, and the memory is connected to an area in which the total sales amount data for one day is continuously stored. Consisting of a partition specification data storage area in which partition specification data indicating the division of data is stored as a pair with storage address data of the data, the data is stored continuously based on the address data corresponding to the input of the partition specification data. The readout range is set, and the corresponding data is readable.

(ホ) 作用 本発明は上述のように構成したので、記憶デー
タの保護が完全になり、又区分指定データとメモ
リの番地データで管理することにより、連続して
記憶されているデータの内、所望のデータの読み
出し範囲を容易に設定でき、例えば指定した年度
毎のデータを容易に読み出すことができる。
(E) Effect Since the present invention is constructed as described above, the storage data is completely protected, and by managing the data using the partition designation data and the memory address data, the data stored continuously can be protected. A desired data reading range can be easily set, and for example, data for each designated year can be easily read.

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

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

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

第3図は前記PROMライター9と不揮発メモ
リ10の具体的回路構成を示す図で、PROMラ
イター9はコネクタ18によつて前記アドレスバ
ス4及びデータバス5に接続されると共に、コネ
クタ19によつて不揮発性メモリ10に接続され
ている。20,21はアドレスバス4の内「A1
1,A12,A13,A15」のアドレス信号線
が接続されたデコーダで、その出力線「、
CKD、、、」は5個のラツチ
回路22〜26に接続されている。そしてラツチ
回路22〜26にはデータバス5のデータ信号線
「D0〜D7」が接続されており、一方ラツチ回路2
2〜26の出力線は、コネクタ19を介して不揮
発性メモリ10に接続され、更にラツチ回路2
5,26の出力線は、ゲート回路27〜29を介
し不揮発性メモリ10に接続されている、不揮発
性メモリ10は三個のPROMICチツプ30,3
1,32で構成されており、一個のPROMの記
憶容量が65536ビツトであり、全体で196608ビツ
トの記憶容量を備えている。
FIG. 3 is a diagram showing a specific circuit configuration of the PROM writer 9 and the nonvolatile memory 10. The PROM writer 9 is connected to the address bus 4 and data bus 5 by a connector 18, and is It is connected to non-volatile memory 10. 20 and 21 are “A1” of address bus 4.
1, A12, A13, A15" is connected to the decoder, and its output line ",
CKD,...'' are connected to five latch circuits 22-26. Data signal lines "D 0 to D 7 " of the data bus 5 are connected to the latch circuits 22 to 26, while the latch circuits 2
The output lines 2 to 26 are connected to the nonvolatile memory 10 via the connector 19, and are further connected to the latch circuit 2.
The output lines 5 and 26 are connected to the nonvolatile memory 10 via gate circuits 27 to 29. The nonvolatile memory 10 is connected to three PROMIC chips 30 and 3.
Each PROM has a storage capacity of 65536 bits, and the total storage capacity is 196608 bits.

そしてデコーダ20はCPU1からの制御信号
()により選択能動化されると共に、アドレ
スバス4のアドレス信号線A11,A12,A1
3,A15)を介して入力されるラツチ回路23
を選択する選択データにより、デコード出力
()を発生し、ラツチ回路23及び不揮発性
メモリ10の各チツプ30〜32へ供給されてい
る。一方デコーダ21はCPU1からの制御信号
()によつて、選択能動化されると共に、ア
ドレスバス4のアドレス信号線A11,A12,
A13,A15を介して入力されるラツチ回路2
2,24,25,26を選択する選択データによ
り、デコード出力(、、、
CKP)を発生し、ラツチ回路22,24,25,
26に供給されている。これによりラツチ回路2
2にはデコード出力()が入力されている
時、CPU1よりデータバス5を介して転送され
た不揮発性メモリ10への8ビツトの書込みデー
タがラツチされる。ラツチ回路23にはデコード
出力()が入力されている時、不揮発性メ
モリ10から読み出された8ビツトの読み出しデ
ータがラツチされる。この読出されたデータは、
データバス5を介してCPU1に転送される。ラ
ツチ回路24にはデコード出力()が入力
されている時、データバス5を介して転送された
不揮発性メモリ10の下位のアドレスデータがラ
ツチされる。ラツチ回路25にはデコード出力
()が入力されている時、データバス5を
介して転送された不揮発性メモリ10の上位のア
ドレスデータ及び不揮発性メモリ10のチツプセ
レクトデータがラツチされる。そしてラツチ回路
26にはデコード出力()が入力されてい
る時、データバス5を介して転送された不揮発性
メモリ10に書込みの為の制御データがラツチさ
れ、不揮発性メモリ10の各チツプへの書込み指
令信号(1,2,3)、可変
電圧発生回路33への制御指令信号(VPE、
PWOW及びラツチ回路22の8ビツトの書込み
データを不揮発性メモリ10へ出力する為の制御
指令信号()を発生する。
The decoder 20 is selectively activated by a control signal () from the CPU 1, and the address signal lines A11, A12, A1 of the address bus 4
3, A15)
A decode output ( ) is generated based on the selection data for selecting the decoded output ( ), which is supplied to the latch circuit 23 and each chip 30 to 32 of the nonvolatile memory 10 . On the other hand, the decoder 21 is selectively activated by the control signal () from the CPU 1, and the address signal lines A11, A12 of the address bus 4,
Latch circuit 2 input via A13 and A15
Depending on the selection data that selects 2, 24, 25, 26, the decode output (,,,
CKP) and latch circuits 22, 24, 25,
26. As a result, latch circuit 2
When the decode output ( ) is being input to the CPU 2, 8-bit write data to the nonvolatile memory 10 transferred from the CPU 1 via the data bus 5 is latched. When the decode output () is input to the latch circuit 23, 8-bit read data read from the nonvolatile memory 10 is latched. This read data is
The data is transferred to the CPU 1 via the data bus 5. When the decode output () is input to the latch circuit 24, the lower address data of the nonvolatile memory 10 transferred via the data bus 5 is latched. When the decode output () is input to the latch circuit 25, the upper address data of the non-volatile memory 10 and the chip select data of the non-volatile memory 10 transferred via the data bus 5 are latched. When the decode output () is input to the latch circuit 26, the control data for writing to the nonvolatile memory 10 transferred via the data bus 5 is latched, and the control data for writing to each chip of the nonvolatile memory 10 is latched. Write command signals (1, 2, 3), control command signals to the variable voltage generation circuit 33 (VPE,
A control command signal ( ) for outputting PWOW and 8-bit write data of the latch circuit 22 to the nonvolatile memory 10 is generated.

第4図は不揮発性メモリ10のメモリ配置を示
す図で、10Aは金銭登録データが連続して記憶
される領域であり、1情報につき80ビツトのデー
タを書込み、2428個分記憶可能に194240ビツトが
割り当てられている。又10Bは書込みデータの
区分指定データと領域10Aの番地データが一対
で記憶される領域で、1指定につき32ビツトのデ
ータを書込み、40指定分記憶可能に1280ビツトが
割り当てられている。
FIG. 4 is a diagram showing the memory arrangement of the non-volatile memory 10. 10A is an area where money registration data is continuously stored. 80 bits of data is written for each piece of information, and 2428 pieces of data can be stored, resulting in 194240 bits. is assigned. Further, 10B is an area where the classification designation data of the write data and the address data of the area 10A are stored as a pair, and 32 bits of data are written for each designation, and 1280 bits are allocated so that 40 designations can be stored.

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

先ず区分指定の方法につき説明すると、モード
コントロール錠14を設定「P」モードに回動し
て切換えた後、キーボード2のテンキー15で操
作者個有の識別コード番号を入力後CASHキー1
7aを操作する。CASHキー信号を検出した
CPU1は、ステツプ501で設定「P」モード
か否かの判定を行ない、続いてステツプ502で
CASHキー17aの操作が1回目か2回目かの判
定即ち2回目フラグがセツトされているか否かの
判定を行なう。今、CASHキー17aは1回目の
操作であり、CPU1はステツプ503に進み入
力された識別コード番号が予め登録されている識
別コード番号か否かの判定を行ない、誤りの場合
にはエラーとして警報を発生し、正しい場合には
ステツプ504に進みCPU1は前述のPROMラ
イター9を介して不揮発性メモリ10の区分指定
領域10Bの最初から順次サーチを開始し、最新
の区分指定番号を読み出す。続いてCPU1はス
テツプ505に進み区分指定領域10Bが全領域
に亘つて指定済みか否かの判定を行ない、指定済
みの場合エラーとし、空領域が有る場合ステツプ
506で読み出した最新の区分指定番号を表示
し、ステツプ507でCASHキー17aが操作さ
れたことを示す2回目フラグをセツトした後ステ
ツプ508で次のキーの受付状態に戻る。そこで
4桁の区分指定データを入力し再度CASHキー1
7aを操作すると、CASHキー信号を取り込んだ
CPU1は、前述の同様にしてステツプ501,
502と進み2回目フラグがセツトされているか
否かの判定を行なうが、ステツプ507で既に2
回目フラグはセツトされており、CPU1はステ
ツプ509に進み入力された4桁の区分指定デー
タを一時記憶する。そして次にステツプ510で
不揮発性メモリ10の区分指定領域10Bを最初
から順次サーチし、最新の空領域の番地を読み出
り記憶すると共に、ステツプ511で入力された
4桁の区分指定データが既に指定済みか否かの判
定を行ない、指定済みの場合にはエラーとし、指
定済みでなければステツプ512で不揮発性メモ
リ10の金銭登録データが記憶される領域10A
をサーチし、最新の空領域の番地を読み出し記憶
する。次にステツプ513でCPU1は、入力さ
れた区分指定データと領域10Aの最新の空領域
の番地データを、区分指定領域10Bの最新空番
地に書込む。続いてRAM6の金銭登録データ領
域をクリアし設定業務を終了する。
First, to explain how to specify the classification, turn the mode control lock 14 to the setting "P" mode, enter the operator's unique identification code number with the numeric keypad 15 of the keyboard 2, and then press the CASH key 1.
Operate 7a. CASH key signal detected
The CPU 1 determines in step 501 whether or not the mode is set to "P", and then in step 502
It is determined whether the CASH key 17a has been operated for the first time or the second time, that is, it is determined whether the second time flag is set. This is the first time the CASH key 17a has been operated, and the CPU 1 proceeds to step 503 to determine whether the input identification code number is a pre-registered identification code number, and if it is incorrect, an error is issued. is generated, and if it is correct, the process proceeds to step 504, where the CPU 1 sequentially starts searching from the beginning of the section designation area 10B of the nonvolatile memory 10 via the PROM writer 9, and reads out the latest section designation number. Next, the CPU 1 proceeds to step 505 and determines whether or not the entire section designation area 10B has been specified. If it has been specified, an error is detected, and if there is an empty area, the latest section designation number read out at step 506 is returned. is displayed, and in step 507 a flag indicating that the CASH key 17a has been operated is set for the second time, and then in step 508 the process returns to the state of accepting the next key. Then enter the 4-digit classification data and press CASH 1 again.
When you operate 7a, the CASH key signal is captured.
The CPU 1 performs steps 501 and 501 in the same manner as described above.
At step 502, it is determined whether or not the second flag has been set, but at step 507, the second flag has already been set.
The time flag has been set, and the CPU 1 proceeds to step 509 and temporarily stores the input four-digit classification designation data. Then, in step 510, the partition designation area 10B of the non-volatile memory 10 is searched sequentially from the beginning, and the address of the latest empty area is read and stored, and the 4-digit partition designation data input in step 511 is already It is determined whether or not it has been specified, and if it has been specified, it is determined as an error, and if it has not been specified, in step 512, the area 10A of the non-volatile memory 10 where the money registration data is stored is determined.
is searched, and the address of the latest empty area is read and stored. Next, in step 513, the CPU 1 writes the input partition designation data and the latest empty area address data of the area 10A to the latest empty address of the partition designation area 10B. Next, the money registration data area of RAM 6 is cleared and the setting work is completed.

したがつて例えば第4図に示すように不揮発性
メモリ10の領域10Aに1984年迄のデータが入
力されており、区分指定領域10Bの「指定4」
迄使用されており、1985年のデータを区分指定す
る場合には、「1985」とテンキー15より入力し
CASHキー17aを操作すると、CPU1はステ
ツプ509に進み「1985」のデータを記憶した
後、不揮発性メモリ10の区分指定領域10Bを
サーチし、最新の空領域の番地即ち「指定5」の
領域を読み出し記憶する。又CPU1は不揮発性
メモリ10の領域10Aをサーチし最新の空領域
を番地即ち斜線で示す領域10A′の番地の読み
取り記憶する。続いてステツプ513で区分指定
領域10Bの最新の空領域即ち「指定5」を領域
10B′に、入力された識別コード番号「1985」
と、領域10Aの最新の空領域即ち領域10
A′の番地データを併せて記憶する。これにより
1985年分のデータは10′Aの領域から記憶が行
なわれていることが、指定領域10B′に記憶さ
れたことになる。これらの制御は第3図に示す
PROMライター9を介して行なわれる。
Therefore, for example, as shown in FIG. 4, data up to 1984 is input to area 10A of nonvolatile memory 10, and "designation 4" in classification designation area 10B is input.
If you want to specify the data for 1985, enter "1985" from the numeric keypad 15.
When the CASH key 17a is operated, the CPU 1 proceeds to step 509, stores the data of "1985", and then searches the section designation area 10B of the non-volatile memory 10, and searches for the latest empty area address, that is, the area of "designation 5". Read and store. Further, the CPU 1 searches the area 10A of the non-volatile memory 10, reads and stores the latest empty area at the address, that is, the address of the area 10A' indicated by diagonal lines. Next, in step 513, the latest empty area of the classification designation area 10B, ie, "designation 5", is transferred to the area 10B', and the input identification code number "1985" is added to the area 10B'.
and the latest empty area of area 10A, that is, area 10
The address data of A′ is also stored. This results in
The fact that the data for 1985 was stored from the area 10'A means that it is stored in the designated area 10B'. These controls are shown in Figure 3.
This is done via the PROM writer 9.

このようにして区分指定を行なつた後、モード
コントロール錠14を金銭登録「REG」の位置
に設定し、登録操作を行なうと通常の電子式キヤ
ツシユレジスタと同様に商品部門別、取引別等に
区分してRAM6に売上げデータの登録が行なわ
れている。そこで1日の登録業務を終了し、モー
ドコントロール錠14を精算「Z」の位置に設定
し、精算操作を行なうと、第6図に示すように
CPU1はステツプ601でRAM6に記憶されて
いるデータを順次読み出しプリンタ8に供給し精
算レポートの印字を行なう。この際当日の総売上
合計金額が印字される時、同時にCPU1はステ
ツプ605でPROMライター9を制御し不揮発
性メモリ10の金銭登録データ領域10Aの最新
の空き領域に総売上合計金額データを記憶させ
る。そして精算レポートの印字終了時に、CPU
1はステツプ607でROM6の登録データをク
リアし精算動作を終了する。このようにして日々
の総売上合計金額データが不揮発性メモリ10に
順次記憶されていく。
After specifying the category in this way, set the mode control lock 14 to the cash register "REG" position and perform the registration operation. Sales data is registered in the RAM 6 by segmentation. After completing the registration work for the day, set the mode control lock 14 to the checkout "Z" position and perform the checkout operation, as shown in Figure 6.
In step 601, the CPU 1 sequentially reads out the data stored in the RAM 6 and supplies it to the printer 8 to print a settlement report. At this time, when the total sales amount for the day is printed, the CPU 1 simultaneously controls the PROM writer 9 in step 605 to store the total sales amount data in the latest free area of the cash registration data area 10A of the non-volatile memory 10. . Then, when the payment report finishes printing, the CPU
1 clears the registered data in the ROM 6 in step 607 and ends the payment operation. In this way, the daily total sales amount data is sequentially stored in the nonvolatile memory 10.

次に不揮発性メモリ10に記憶されているデー
タを読み出す動作につき第7図のフローチヤート
図に基づき説明する。
Next, the operation of reading data stored in the nonvolatile memory 10 will be explained based on the flowchart of FIG.

先ずモードコントロール錠14を設定「P」の
位置に切換え、区分指定番号を入力し#/NSキ
ー17cを操作すると、#/NSキー信号を検出
したCPU1は、ステツプ701で設定「P」モ
ードか否かの判定を行ない、続いてステツプ70
2で入力された区分指定番号を一時記憶した後、
不揮発性メモリ10の区分指定領域10Bを最初
から順次サーチし、ステツプ704で入力された
区分指定番号が既に指定済みか否かの判定を行な
い、指定済みでなければエラーとするが、指定済
みであれば区分指定領域10Bに記憶されている
番地データを読み出し、ステツプ706で読み出
し開始番地として一時記憶する。次にステツプ7
07で不揮発性メモリ10の区分指定領域10B
を再度サーチし、最初に読み出した区分指定番号
の次の区分指定番号の指定が行なわれているかの
検出を行ない、指定されている場合にはその指定
番号が記憶されている区分指令領域10Bからそ
こに記憶されている番地データを読み出し、ステ
ツプ709で読み出し終了番地として一時記憶す
る。一方次の区分指定番号の指定がされていない
場合には、ステツプ710に進み不揮発性メモリ
10の金銭登録データ領域10Aをサーチし、金
銭登録データが最後に書込まれた領域の番地を見
つけ、これを読み出して終了番地として一時記憶
する。この結果CPU1はステツプ711で先程
読み出した開始番地より不揮発性メモリ10の金
銭登録データ領域10Aの読み出しを順次行な
い、プリンタ8で順次記憶し、一時記憶している
終了番地に達する迄行なう。終了番地への到達で
不揮発性メモリ10の読み出し業務を終了する。
First, switch the mode control lock 14 to the setting "P" position, input the classification designation number, and operate the #/NS key 17c. When the CPU 1 detects the #/NS key signal, it switches to the setting "P" mode in step 701. A determination is made as to whether the
After temporarily storing the category designation number entered in step 2,
The classification designation area 10B of the non-volatile memory 10 is searched sequentially from the beginning, and it is determined whether the classification designation number inputted in step 704 has already been designated. If it has not been designated, an error will be determined; If so, the address data stored in the partition designation area 10B is read out and temporarily stored as the read start address in step 706. Next step 7
07, the partition designation area 10B of the non-volatile memory 10
is searched again, and it is detected whether the next classification designation number after the first classification designation number read out has been specified, and if it has been designated, it is searched again from the classification command area 10B where that designation number is stored. The address data stored there is read out and temporarily stored as the read end address in step 709. On the other hand, if the next category designation number has not been specified, the process proceeds to step 710, searches the cash registration data area 10A of the nonvolatile memory 10, finds the address of the area where the cash registration data was last written, This is read out and temporarily stored as the end address. As a result, in step 711, the CPU 1 sequentially reads out the cash registration data area 10A of the nonvolatile memory 10 from the start address read earlier, and sequentially stores the data in the printer 8 until reaching the temporarily stored end address. When the end address is reached, the read operation of the nonvolatile memory 10 ends.

したがつて例えば1985年に登録されたデータを
読み出そうとした場合、「1985」とキー入力した
後#/NSキー17cを操作すると、「1985」が記
憶されている区分指定領域10Bから開始番地を
読み取り、不揮発性メモリ10の金銭登録データ
の書込み領域10Aの該当の領域から記憶データ
を読み出し順次印字を行なう。これにより1985年
の日々の総売上金額データを印字し確認すること
ができる。このようにして出力を希望する年度の
記憶データを不揮発性メモリから読み出すことが
できる。
Therefore, if you try to read data registered in 1985, for example, if you key in "1985" and then operate the #/NS key 17c, the data will start from the category specification area 10B where "1985" is stored. The address is read, and the stored data is read out from the corresponding area of the money registration data write area 10A of the nonvolatile memory 10 and sequentially printed. This allows you to print and check the daily total sales data for 1985. In this way, the stored data for the year for which output is desired can be read from the nonvolatile memory.

尚、上述の説明では、区分指定を年度単位で行
なう例を示したが、更に細かく四半期毎等に区分
して指定することも可能である。又、不揮発性メ
モリの容量は実施例のものに限定されることはな
く、記憶させる情報量に応じ適宜設定すれば良
い。
In the above explanation, an example was shown in which the classification is specified on an annual basis, but it is also possible to specify a more detailed classification, such as on a quarterly basis. Further, the capacity of the nonvolatile memory is not limited to that of the embodiment, and may be appropriately set according to the amount of information to be stored.

(ト) 発明の効果 上述の如く本発明の電子式キヤツシユレジスタ
は、日々の総売上合計金額データを不揮発性メモ
リに連続して記憶させると共に、例えば年度別等
の区切りを示す区分指定データを対応するデータ
が記憶されている番地データと一対に記憶するよ
う構成し、読み出し時は区分指定データの入力に
より対応する番地データに基づきメモリの読み出
し範囲を設定し短時間で所望のデータを読み出す
ことができるものであり、データの保護が確実に
なると共に容易に所望データの読み出しを行なう
ことができることにより、税金申告時のデータと
して利用できる等利用性が向上し極めて実用的効
果が大きいものである。
(G) Effects of the Invention As described above, the electronic cash register of the present invention continuously stores daily total sales amount data in a non-volatile memory, and also stores category designation data indicating divisions, such as by year. It is structured so that the corresponding data is stored as a pair with the stored address data, and when reading, the reading range of the memory is set based on the corresponding address data by inputting classification designation data, and the desired data is read out in a short time. Data protection is ensured, and desired data can be read easily, which improves usability and has extremely practical effects, such as being able to use it as data when filing tax returns. .

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

第1図は本発明の電子式キヤツシユレジスタの
構成を示すブロツク図、第2図は第1図のキーボ
ードの配列を示す平面図、第3図は第1図要部の
構成を示すブロツク図、第4図は第1図の不揮発
性メモリの構成を示す模式図、第5図、第6図、
第7図は第1図の動作状態を示すフローチヤート
である。 1……CPU、2……キーボード、3……
ROM、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 shown in Fig. 1, and Fig. 3 is a block diagram showing the configuration of the main parts of Fig. 1. , FIG. 4 is a schematic diagram showing the configuration of the nonvolatile memory in FIG. 1, FIG. 5, FIG. 6,
FIG. 7 is a flowchart showing the operating state of FIG. 1. 1... CPU, 2... Keyboard, 3...
ROM, 6... RAM, 7... Display, 8... Printer, 9... PROM writer, 10... Non-volatile memory.

Claims (1)

【特許請求の範囲】[Claims] 1 金銭登録データ、区分指定データ等を入力す
るキーボードと、該キーボードのキー信号に応動
して所定の演算もしくは制御を実行する中央処理
装置と、不揮発性メモリと、前記中央処理装置の
制御に基づき所定のデータを前記不揮発性メモリ
の所定領域に書き込みあるいは読み出し制御を行
なうメモリ制御装置を具備し、前記不揮発性メモ
リを特定の金銭登録データを連続して記憶する領
域と、連続して記憶される金銭登録データを適宜
区分する為のキーボードより入力された区分指定
データと対応する金銭登録データが記憶されてい
る番地データが一対で記憶される領域で構成し、
記憶されたデータの読み出し時区分指定データの
入力で前記中央処理装置が記憶されている区分指
定データと一対で記憶されている番地データを読
み出し開始番地として設定し、次の区分指定デー
タが記憶されていれば対で記憶されている番地デ
ータを終了番地として設定し、或は次の区分指定
データが記憶されていない場合、最終の金銭登録
データが記憶されている番地を終了番地として設
定し、設定した開始番地から終了番地までの金銭
登録データを読み出し出力するよう構成したこと
を特徴とする電子式キヤツシユレジスタ。
1. A keyboard for inputting money registration data, classification designation data, etc., a central processing unit for executing predetermined calculations or control in response to key signals from the keyboard, a non-volatile memory, and a a memory control device for controlling writing or reading of predetermined data in a predetermined area of the nonvolatile memory; It consists of an area where classification designation data entered from the keyboard for appropriately classifying cash registration data and address data where the corresponding cash registration data is stored are stored as a pair,
When reading the stored data, the central processing unit sets the address data stored as a pair with the stored partition designation data as a read start address upon input of the partition designation data, and the next partition designation data is stored. If so, the address data stored in pairs is set as the end address, or if the next category designation data is not stored, the address where the final cash registration data is stored is set as the end address, An electronic cash register characterized in that it is configured to read and output money registration data from a set start address to an end address.
JP24748485A 1985-11-05 1985-11-05 Electronic type cash register Granted JPS62107396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24748485A JPS62107396A (en) 1985-11-05 1985-11-05 Electronic type cash register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24748485A JPS62107396A (en) 1985-11-05 1985-11-05 Electronic type cash register

Publications (2)

Publication Number Publication Date
JPS62107396A JPS62107396A (en) 1987-05-18
JPH0417558B2 true JPH0417558B2 (en) 1992-03-26

Family

ID=17164146

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24748485A Granted JPS62107396A (en) 1985-11-05 1985-11-05 Electronic type cash register

Country Status (1)

Country Link
JP (1) JPS62107396A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4903183A (en) * 1987-10-21 1990-02-20 Hitachi, Ltd. Power supply for a magnetron
JP2524626B2 (en) * 1988-09-24 1996-08-14 アンリツ株式会社 Transaction processor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5717074A (en) * 1980-07-04 1982-01-28 Casio Comput Co Ltd Printing system of designated data
JPS57205809A (en) * 1981-06-15 1982-12-17 Omron Tateisi Electronics Co Magnetic tape recording device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5717074A (en) * 1980-07-04 1982-01-28 Casio Comput Co Ltd Printing system of designated data
JPS57205809A (en) * 1981-06-15 1982-12-17 Omron Tateisi Electronics Co Magnetic tape recording device

Also Published As

Publication number Publication date
JPS62107396A (en) 1987-05-18

Similar Documents

Publication Publication Date Title
US5398191A (en) Point of sale apparatus with an automatic determination if weighing a product is necessary or prohibited
JPH0417558B2 (en)
JPS5856065A (en) Automatic transaction selective processing system
JPH0418072Y2 (en)
JPH0430295A (en) Electronic cash register
CA1081847A (en) Electronic cash registers
JPS5813940B2 (en) Mode designation device in electronic register
JP2506098B2 (en) Transaction processor
JP2617250B2 (en) Electronic cash register
JPH0258672B2 (en)
JPH11110302A (en) Semiconductor storage device and sale processor equipped with it
JPH06231370A (en) Commodity sales registration data processor
JPH0258671B2 (en)
JP2948017B2 (en) Electronic cash register
JPH077474B2 (en) Electronic cash register
JPH0719307B2 (en) Electronic cash register
JP2966237B2 (en) Product sales data processing device
JPH08161644A (en) Electronic cash register
JPH079677B2 (en) Sales data processing device
JPH0658708B2 (en) Electronic cash register
JPS5942346B2 (en) Mode specification method for electronic cash registers
JPH0258673B2 (en)
JPH06195271A (en) Data processor
JPH071514B2 (en) Electronic cash register
JPS5938875A (en) Separate classification registering system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees