JPS6235715B2 - - Google Patents

Info

Publication number
JPS6235715B2
JPS6235715B2 JP21214581A JP21214581A JPS6235715B2 JP S6235715 B2 JPS6235715 B2 JP S6235715B2 JP 21214581 A JP21214581 A JP 21214581A JP 21214581 A JP21214581 A JP 21214581A JP S6235715 B2 JPS6235715 B2 JP S6235715B2
Authority
JP
Japan
Prior art keywords
time period
data
time
transaction
storage means
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
Application number
JP21214581A
Other languages
Japanese (ja)
Other versions
JPS58114158A (en
Inventor
Terubumi Iwadate
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP21214581A priority Critical patent/JPS58114158A/en
Publication of JPS58114158A publication Critical patent/JPS58114158A/en
Publication of JPS6235715B2 publication Critical patent/JPS6235715B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q99/00Subject matter not provided for in other groups of this subclass

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、売上データを時間帯別に累計するこ
とにより売上データの時間帯別管理を行なう時間
帯別集計機能を有する電子レジスタに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic register having a time period aggregation function for managing sales data by time period by accumulating sales data by time period.

〔発明の概要〕[Summary of the invention]

本発明は時間帯別集計機能を有する電子レジス
タにおいて、一取引中に入力される各種商品分類
の売上データと一取引の終了時に入力される売上
合計データとを全て同一時刻に入力されたものと
して時間帯別集計処理を行なうことにより、各種
分類における売上データの累計を各時間帯別に合
計した時の内容と各時間帯別に取引単位の売上合
計データを累計した内容とが常に一致するように
したものである。
The present invention uses an electronic register that has a time-based aggregation function to store sales data of various product categories input during one transaction and total sales data input at the end of one transaction as if they were all input at the same time. By performing aggregation processing by time period, we ensured that the cumulative total of sales data in various categories for each time period always matches the cumulative total of sales data for each transaction unit for each time period. It is something.

〔従来の技術〕[Conventional technology]

従来、電子レジスタにおいては一取引中に売上
げられた売上データを合計して売上合計データと
して時間帯別に集計することにより時間帯別管理
を行なえるようにした時間帯別集計機能が知られ
ている(特開昭55−3017号公報)。
Conventionally, electronic registers have a time-zone aggregation function that allows management to be performed by time zone by summing up sales data sold during one transaction and aggregating the sales data by time zone as total sales data. (Japanese Unexamined Patent Publication No. 55-3017).

そして、この時間帯別管理をより厳密に行なお
うとした場合、一取引による売上合計データを時
間帯別に累計するだけではなく、一取引中の商品
分類別の各売上データをも前記時間帯別に分類し
て累計させ、より細から時間帯別管理を行なうこ
とが考えられる。
If you want to perform this management by time period more strictly, you will not only need to accumulate the total sales data for one transaction by time period, but also collect the sales data for each product category during one transaction by the time period. It is conceivable to classify and accumulate the data and perform more detailed management by time period.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、従来のように対応するキー(従
来においては取引キー)が操作された時点におい
て現在時刻を読み出し、その時刻に対応する時間
帯の記憶領域に売上データ(または売上合計デー
タ)を累計するのでは次に示すような場合に不都
合がある。すなわち、一顧客に対する一取引の時
間(すなわち、取引キーが操作されたのちの最初
の分類別キーの操作時点から次の取引キーが操作
されるまでの時間)が2つの時間帯に及ぶような
場合であり、この場合、最初の分類別キーの操作
により各分類別に累計される時間帯と、最後の取
引キーの操作により一取引の売上合計データが累
計される時間帯とは異なる。そのため、個々の売
上データが分類別に、しかも時間帯別に累計され
る分類別合計器の、ある特定時間帯に対応する売
上データを全分類にわたつて合計した場合の売上
データの合計は、前記売上合計データが累計され
る取引合計器の前記特定時間帯における売上合計
データと一致しないおそれがある。
However, as in the past, when the corresponding key (trading key in the past) was operated, the current time was read out and sales data (or total sales data) was accumulated in the storage area for the time period corresponding to that time. However, there are inconveniences in the following cases. In other words, the time for one transaction for one customer (i.e., the time from the time when the first classification key is operated after the transaction key is operated until the next transaction key is operated) spans two time periods. In this case, the time period in which the total is accumulated for each category by operating the first classification key is different from the time period in which the total sales data for one transaction is accumulated by operating the last transaction key. Therefore, the total sales data when the sales data corresponding to a certain time period are summed over all categories in a category totalizer that accumulates individual sales data by category and also by time period is There is a possibility that the total data does not match the sales total data for the specific time period of the transaction totalizer that accumulates the total data.

このように、ある特定時間帯における各分類別
合計器の売上データを全て合計したデータを取引
合計器の売上合計データとが一致しない場合、点
検あるいは精算時に時間帯別集計状態をチエツク
する上において混乱を起こすおそれがあり、正確
な時間別管理が行なえないという不都合がある。
In this way, if the data obtained by summing all the sales data of each category totalizer in a certain time period does not match the sales total data of the transaction totalizer, when checking the time period aggregation status at the time of inspection or settlement, There is a risk of confusion, and accurate time management is not possible.

この発明は前記事情に基づいてなされたもの
で、取引合計器の時間帯別集計のみならず、各分
類別合計器の時間帯別集計を行なつた場合におい
ても正確な時間帯別管理を行なえるようにした時
間帯別集計機能を有する電子レジスタを提供する
ことを目的とする。
This invention was made based on the above-mentioned circumstances, and it is possible to perform accurate time-slot management not only when the transaction totalizer is used to aggregate by time period, but also when the totalizer for each category is aggregated by time period. The purpose of the present invention is to provide an electronic register with a time-slot aggregation function.

〔問題点を解決するための手段〕[Means for solving problems]

上記した目的を達成するために本発明の電子レ
ジスタは、商品の商品分類を指定する分類別指定
手段(部門別キー)と、一取引の終了を指定する
取引指定手段(現金キー)と、前記各分類に対応
して設けられ、各分類別に複数の時間帯別の記憶
領域を有する第1の時間帯別記憶手段(部門別メ
モリ)と、前記取引指定手段に対応して設けら
れ、前記第1の時間帯別記憶手段における時間帯
と同一時間帯に分割された時間帯別の記憶領域を
有する第2の時間帯別記憶手段(現金取引メモ
リ)と、前記分類別指定手段により一取引の最初
の分類指定が行なわれた際にその指定された時刻
を含む時間帯を示すデータを記憶する時間帯デー
タ記憶手段(nレジスタ)と、売上データの入力
に際して前記分類別指定手段による分類別指定が
行なわれた際に、この指定分類に対応する前記第
1の時間帯別記憶手段内の前記時間帯データ記憶
手段に記憶されるデータにより決まる時間帯の記
憶領域に前記売上データを累計する第1の累計手
段(CPU…ステツプS11)と、前記取引指定手段に
より取引の終了が指定された際に、一取引中に入
力された売上データを合計した売上合計データを
前記第2の時間帯別記憶手段の前記時間帯データ
記憶手段に記憶されるデータにより決まる時間帯
の記憶領域に累計する第2の累計手段(CPU…
ステツプS15)とを備える。
In order to achieve the above-mentioned object, the electronic cash register of the present invention includes: a classification designation means (department key) for designating the product classification of a product; a transaction designation means (cash key) for designating the end of one transaction; a first time period storage means (department memory) provided corresponding to each classification and having a plurality of time period storage areas for each classification; A second time zone storage means (cash transaction memory) having a time zone storage area divided into the same time zones as the time zone storage means in the first time zone storage means; Time zone data storage means (n register) for storing data indicating a time zone including the designated time when the first classification designation is made; and classification designation by the classification designation means when inputting sales data. is performed, the sales data is accumulated in the storage area of the time period determined by the data stored in the time period data storage means in the first time period storage means corresponding to the specified classification. When the termination of a transaction is specified by the cumulative totaling means (CPU...step S11 ) of 1 and the transaction specifying means, the total sales data obtained by summing the sales data input during one transaction is calculated in the second time period. A second accumulating means (CPU...
Step S15 ).

〔作用〕[Effect]

本発明の作用について説明すると、複数の商品
の売上げを行なうための一取引において、まず、
最初の商品の売上データの入力に際して最初の分
類指定が分類別指定手段により行なわれると、そ
の指定された時刻を含む時間帯を示すデータが時
間帯データ記憶手段に記憶され、また上記指定に
より第1の累計手段が動作を開始し、前記指定分
類に対応する第1の記憶手段内の前記時間帯デー
タ記憶手段に記憶されるデータにより決まる時間
帯の記憶領域に前記売上データが累計される。続
いて2番目以降の商品の売上データの入力に降し
て分類指定が行なわれる毎に、前記第1の累計手
段の動作が開始され、この結果、2番目以降に入
力される各売上データは最初の商品の売上データ
と全く同一の時間帯内に入力されるものとみなさ
れ、各指定分類に対応する第1の記憶手段内に累
計される。このようにして一取引における商品の
売上データの入力を終了すると取引の終了指定が
取引指定手段により行なわれる。すると第2の累
計手段が動作を開始し、一取引中に入力された売
上データを合計した売上合計データが第2の時間
帯別記憶手段内の前記時間帯データ記憶手段に記
憶されるデータにより決まる時間帯の記憶手段に
累計される。このようにして一取引中に入力され
る各種売上データ及び売上合計データは全て同一
の時間帯内において入力されたものとみなされて
第1及び第2の時間帯別記憶手段内に累計され
る。
To explain the operation of the present invention, in one transaction for selling multiple products, first,
When the first classification designation is made by the classification designation means when inputting the sales data of the first product, data indicating the time zone including the designated time is stored in the time zone data storage means, and the data indicating the time zone including the designated time is stored in the time zone data storage means. The first accumulating means starts operating, and the sales data is accumulated in the storage area of the time period determined by the data stored in the time period data storage means in the first storage means corresponding to the specified classification. Subsequently, each time a classification is specified after inputting sales data for the second and subsequent products, the operation of the first accumulating means is started, and as a result, each sales data input from the second onwards is It is assumed that the sales data of the first product is input within the same time period, and is accumulated in the first storage means corresponding to each designated category. When the input of product sales data for one transaction is completed in this manner, the transaction designation means specifies the end of the transaction. Then, the second accumulation means starts operating, and the total sales data, which is the sum of the sales data input during one transaction, is calculated based on the data stored in the time period data storage means in the second time period storage means. The total is accumulated in the storage means for the determined time period. In this way, all the various sales data and sales total data input during one transaction are considered to have been input within the same time period, and are accumulated in the first and second time period storage means. .

〔実施例〕〔Example〕

以下、この発明の一実施例につき第1図ないし
第4図に基づいて説明する。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 4.

(1) 構成 第1図ないし第3図は本実施例の構成を示す
図である。第1図は電子レジスタの概略システ
ム構成図を示し、同図中符号1は入力部であ
り、この入力部1には置数キー、1〜8の部門
別キー、現金キー、時刻キーなどのほか「登
録」、「精算」などの各モードに指定するモード
スイツチが備えられている。この入力部1には
I/Oポート2からタイミング信号KPが入力
され、入力部1においてキー操作が行なわれた
際にタイミング信号KPが操作キーに応じて選
択され、キー入力信号KIとしてI/Oポート
2に備えられた入力バツフアIBに入力され
る。前記I/Oポート2内には入力バツフア
IBのほかに、表示バツフアHB、印字バツフア
PBが備えられており、そして表示バツフアHB
は表示部3に、印字バツフアPBは印字部4に
接続されている。
(1) Configuration Figures 1 to 3 are diagrams showing the configuration of this embodiment. FIG. 1 shows a schematic system configuration diagram of an electronic cash register. In the figure, reference numeral 1 is an input section, and this input section 1 includes numeric keys, departmental keys 1 to 8, cash keys, time keys, etc. In addition, there is a mode switch for specifying each mode such as ``registration'' and ``payment''. A timing signal KP is input from the I/O port 2 to this input section 1, and when a key operation is performed on the input section 1, the timing signal KP is selected according to the operation key, and the I/O signal KP is selected as a key input signal KI. The signal is input to the input buffer IB provided at the O port 2. There is an input buffer in the I/O port 2.
In addition to IB, display buffer HB, print buffer
PB is equipped and display buffer HB
is connected to the display section 3, and the print buffer PB is connected to the print section 4.

前記表示部3は、I/Oポート2からデイジ
ツト信号DGおよび表示バツフアHBのデータを
デコードしたセグメント信号SGに従つて金額
データなどを表示する。また印字部4は、これ
に備えられた印字ドラム(図示せず)の印字位
置信号TPをI/Oポート2に送り、また、
I/Oポート2からは、その内部で印字位置信
号TPと印字バツフアPB内のデータとの一致に
つて生じる印字機構MDを印字部4に送り、金
額データを記録紙に印字する。
The display section 3 displays amount data and the like in accordance with the segment signal SG obtained by decoding the digit signal DG from the I/O port 2 and the data in the display buffer HB. The printing section 4 also sends a printing position signal TP from a printing drum (not shown) provided therein to the I/O port 2, and
From the I/O port 2, a printing mechanism MD generated internally when the printing position signal TP matches the data in the printing buffer PB is sent to the printing section 4, and the amount data is printed on the recording paper.

また、符号5はCPUで、このCPU5にはデ
ータバスDB、アドレスバスABを介してI/O
ポート2、合計メモリ6および時計回路7が接
続されている。そして、CPU5からR/W信
号がI/Oポート2、合計メモリ6および時計
回路7へ出力され、また合計メモリ6にチツプ
指定信号CSIが、時計回路7にチツプ指定信号
CSが夫々出力される。そして、CPU5と
I/Oポート2およびメモリ5との間において
データの授受が行なわれ、時計回路7から
CPU5へデータが送出される。また、時計回
路7は1秒ごとに現在の時、分データを更新
し、それに備えられたTMレジスタに現在の
時、分データが記憶される。
Also, reference numeral 5 is a CPU, and this CPU 5 has I/O via a data bus DB and an address bus AB.
Port 2, total memory 6 and clock circuit 7 are connected. Then, the R/W signal is output from the CPU 5 to the I/O port 2, the total memory 6, and the clock circuit 7, and the chip designation signal CSI is sent to the total memory 6, and the chip designation signal CSI is sent to the clock circuit 7.
CS is output respectively. Then, data is exchanged between the CPU 5, the I/O port 2, and the memory 5, and the clock circuit 7
Data is sent to CPU5. Further, the clock circuit 7 updates the current hour and minute data every second, and the current hour and minute data are stored in the TM register provided therein.

第2図は前記CPU5の詳細な回路構成図を
示し、同図中符号8はROMで、ここには各種
マイクロ命令が格納されている。このROM8
はラインl1を介してアドレス信号をアドレス指
定回路9へ出力し、また、ラインl2を介してオ
ペレーシヨンコードおよびROM8の次アドレ
スを指定する次アドレス信号を制御回路10へ
出力する。そして、前記次アドレス信号は制御
回路10からラインl3を介してROM8へ出力
され、次のマイクロ命令をアドレス指定する。
FIG. 2 shows a detailed circuit configuration diagram of the CPU 5, and the reference numeral 8 in the figure is a ROM in which various microinstructions are stored. This ROM8
outputs an address signal to address designating circuit 9 via line l1 , and outputs an operation code and a next address signal specifying the next address of ROM 8 to control circuit 10 via line l2. The next address signal is then output from the control circuit 10 via line l3 to the ROM 8 to address the next microinstruction.

前記アドレス指定回路9は、RAM11のア
ドレスを指定するほかアドレスバスABを介し
てI/Oポート2、合計メモリ6および時計回
路7のアドレスを指定し、アドレスの指定が終
了した際はラインl4を介して制御回路10へ終
了信号を出力する。
The address designating circuit 9 not only designates the address of the RAM 11 but also designates the addresses of the I/O port 2, the total memory 6, and the clock circuit 7 via the address bus AB, and when the address designation is completed, the line l 4 is A termination signal is output to the control circuit 10 via the control circuit 10.

前記RAM11には、A,B,X,n,F,
Sの各レジスタが備えられ、このRAM11か
ら読み出されたデータは演算回路12へ出力さ
れ、またデータバスDBを介してI/Oポート
2およびメモリ6へ送出される。前記演算回路
12は指定された各種演算を行い、この演算結
果はラインl5を介してRAM11へ入力され
る。
The RAM 11 includes A, B, X, n, F,
S registers are provided, and data read from the RAM 11 is output to the arithmetic circuit 12 and also sent to the I/O port 2 and the memory 6 via the data bus DB. The arithmetic circuit 12 performs various specified arithmetic operations, and the results of these arithmetic operations are input to the RAM 11 via line l5 .

前記制御回路10は、入力されたオペレーシ
ヨンコードを解読し、ラインl6を介して加算あ
るいは演算の指定を行う指定信号を演算回路1
2へ出力する。また、制御回路10はラインl7
を介してRAM11へR/W信号を出力し、ラ
インl8を介して入力されたデータおよびキヤリ
ーの有無に従つてアドレスの変更を行う。更に
制御回路10はラインl9を介してアドレス指定
回路9内のアドレスカウンタへカウントアツプ
またはカウントダウンを指定する信号を出力す
る。このほか制御回路10は前記R/W信号、
チツプ指定信号CS、CSを出力する。
The control circuit 10 decodes the input operation code and sends a designation signal for designating addition or calculation to the calculation circuit 1 via line l6 .
Output to 2. Further, the control circuit 10 is connected to the line l 7
The R/W signal is output to the RAM 11 via the line l8, and the address is changed according to the data input via the line l8 and the presence or absence of a carry. Further, the control circuit 10 outputs a signal specifying count up or count down to the address counter in the address designation circuit 9 via line l9 . In addition, the control circuit 10 receives the R/W signal,
Outputs chip designation signals CS and CS.

第3図は前記合計メモリ6に備えられた部門
別メモリ1〜8および現金取引メモリを示して
いる。そして、部門別メモリ1……8の夫々行
アドレス0〜15で指定される記憶領域M1
(0)〜M1(15)、……記憶領域M8(0)〜M8
(15)には対応して部門の売上データが時間帯
別に分類されて記憶される。また、現金取引メ
モリの行アドレス0〜15で指定される記憶領
域G(0)〜G(15)には一顧客分の現金売上
データが時間帯別に分類されて記憶される。
FIG. 3 shows departmental memories 1-8 and cash transaction memory provided in the total memory 6. Then, the storage area M 1 specified by each row address 0 to 15 of departmental memory 1...8
(0) ~ M 1 (15), ... storage area M 8 (0) ~ M 8
Corresponding to (15), the sales data of the department is classified and stored according to time period. Further, cash sales data for one customer is stored classified by time zone in storage areas G(0) to G(15) designated by row addresses 0 to 15 of the cash transaction memory.

(2) 動作 次に、本実施例の動作について説明する。ま
ず、前記電子レジスタの電源スイツチをONし
た後、モードスイツチを「設定」モードに指定
して、時間帯別集計を開始するための時刻9時
を、置数キー、時刻キーを順次操作して入力す
る。すると、前記時刻はRAM11のSレジス
タに記憶される。次に、モードスイツチを「登
録」モードに指定すると第4図のフローに従つ
た動作が常時実行されている。
(2) Operation Next, the operation of this embodiment will be explained. First, after turning on the power switch of the electronic register, set the mode switch to "setting" mode, and operate the numeric keys and time keys in sequence to set the time of 9 o'clock to start counting by time zone. input. Then, the time is stored in the S register of the RAM 11. Next, when the mode switch is set to the "registration" mode, the operation according to the flow shown in FIG. 4 is constantly executed.

すなわち、ステツプS1の実行においてRAM
11のSレジスタに記憶された時間帯別集計の
開始時刻に「60」が加算され、最初の時間帯の
終了時刻が算出されてRAM11のAレジスタ
に書き込まれる。次いでステツプS2の実行にお
いてRAM11のnレジスタ「0」が書き込ま
れる。次いでステツプS3の実行に移り、入力部
1のキー操作が行なわれるまで待機し、キー操
作有りと判断されるとステツプS4に移る。ステ
ツプS4の実行において操作されたキーは部門別
キーで有るか否かの判断が実行され、YESと
判断されるとステツプS5に移る。ステツプS5
実行にいて、RAM11のFレジスタに現金キ
ー操作を示すフラグ「1」が記憶されているか
否かの判断が実行され、YESと判断されると
ステツプS6に移る。ステツプS6の実行において
Fレジスタに「0」が書き込まれる。次いでス
テツプS7の実行に移り、時計回路7のTMレジ
スタに記憶された現在時刻データがRAM11
のBレジスタに転送される。次いでステツプS8
の実行に移り、Bレジスタの現在時刻データが
Aレジスタの一時間帯の終了時刻データ以上で
あるか否かの判断が実行され、YESと判断さ
れるとその時間帯は既に経過したものとみなさ
れてステツプS9に移る。ステツプS9の実行にお
いて、Aレジスタの時間帯終了時刻データに
「60」が加算され、この加算結果が次の時間帯
の終了時刻データとしてAレジスタに書き込ま
れる。次いでステツプS10の実行に移り、RAM
11のnレジスタの内容に「1」が加算され、
この後ステツプS8に戻る。前記ステツプS8にお
いてBレジスタの現在時刻データがAレジスタ
の時間帯終了時刻データより小であると判断さ
れるとステツプS11に移る。また、前記ステツ
プS5においてF≠1と判断された場合にも、ス
テツプS11に移る。ステツプS11において操作さ
れた部門別キーと対応する部門別メモリの各記
憶領域のうちnレジスタの内容によつて指定さ
れる記憶領域M(n)に、RAM11のXレジ
スタに記憶された売上データが加算される。次
いでステツプS12に移り、操作された部門別キ
ーの部門番号と共にレジスタの売上データが印
字部4において記録紙に印字され、この後ステ
ツプS3に戻る。
In other words, in the execution of step S1 , the RAM
``60'' is added to the start time of the time period aggregation stored in the S register of RAM 11, and the end time of the first time period is calculated and written to the A register of RAM 11. Next, in execution of step S2 , n register "0" of RAM 11 is written. Next, the process moves to step S3 and waits until a key operation on the input section 1 is performed, and when it is determined that a key operation has been performed, the process moves to step S4 . In step S4 , a judgment is made as to whether or not the operated key is a departmental key, and if the answer is YES, the process moves to step S5 . In step S5 , a determination is made as to whether or not a flag "1" indicating a cash key operation is stored in the F register of the RAM 11. If YES is determined, the process moves to step S6 . In executing step S6 , "0" is written to the F register. Next, the process moves to step S7 , where the current time data stored in the TM register of the clock circuit 7 is transferred to the RAM 11.
is transferred to the B register of Then step S 8
Then, a judgment is made as to whether the current time data in the B register is greater than or equal to the end time data of one time period in the A register, and if it is judged as YES, the time period is considered to have already passed. Then move to step S9 . In the execution of step S9 , "60" is added to the time slot end time data in the A register, and the result of this addition is written into the A register as the end time data for the next time slot. Next, proceed to step S 10 to update the RAM.
"1" is added to the contents of the n register of 11,
After this, return to step S8 . If it is determined in step S8 that the current time data in the B register is smaller than the time zone end time data in the A register, the process moves to step S11 . Also, if it is determined in step S5 that F≠1, the process moves to step S11 . The sales data stored in the X register of the RAM 11 is stored in the storage area M(n) specified by the contents of the n register among the storage areas of the departmental memory corresponding to the departmental key operated in step S11. is added. Next, the process moves to step S12 , where the sales data of the register together with the department number of the operated department key are printed on the recording paper in the printing section 4, after which the process returns to step S3 .

前記ステツプS4において入力部1の操作キー
は部門別キーで無いと判断されるとステツプ
S13に移る。ステツプS13において操作キーは現
金キーで有るか否かの判断が実行され、YES
と判断されるとステツプS14に移る。ステツプ
S14においてRAM11のFレジスタに現金キー
操作を示す「1」が書き込まれる。次いでステ
ツプS15の実行に移り、nレジスタの内容によ
つて指定される現金取引別メモリの記憶手段G
(n)に一顧客分の売上合計データが加算され
る。次いでステツプS16の実行に移り、合計メ
モリ6の総売上合計を記憶する記憶領域へ前記
売上合計データが加算される。次いでステツプ
S17の実行に移り、印字部4において前記記録
紙に前記売上合計データ、預かり金額、釣銭な
どの各種印字が行なわれ、この後ステツプS8
戻る。前記ステツプS13において操作キーが現
金キーで無いと判断されるとステツプS18に移
る。ステツプS18において、操作されたキーに
応じたその他のキー処理が実行され、この後ス
テツプS3に戻る。
If it is determined in the step S4 that the operation key of the input section 1 is not a departmental key, the step
Move on to S13 . In step S13 , it is determined whether the operation key is a cash key or not, and YES is determined.
If it is determined that this is the case, the process moves to step S14 . step
At S14 , "1" indicating a cash key operation is written in the F register of the RAM 11. Next, the process moves to step S15 , in which storage means G of the memory for each cash transaction specified by the contents of the n register is stored.
Total sales data for one customer is added to (n). Next, the process moves to step S16 , where the sales total data is added to the storage area of the total memory 6 for storing the total sales total. Then step
The process moves to step S17 , and the printing unit 4 prints various information such as the sales total data, deposit amount, and change on the recording paper, and then returns to step S8 . If it is determined in step S13 that the operation key is not a cash key, the process moves to step S18 . In step S18 , other key processing is executed depending on the operated key, and then the process returns to step S3 .

一顧客に対する登録処理が開始され、最初の
部門別キーの操作の際は、前記の取引別キーの
操作によりFレジスタに「1」が書き込まれて
いるため、第4図のフローにおいては、ステツ
プS4〜S8,S11,S12、またはステツプS4
S10,S8,……が順次実行され、この部門別キ
ーの操作された時点における時間帯の部門別メ
モリの記憶領域M(n)に売上データの加算が
行なわれる。この後の部門別キーの操作の際
は、ステツプS4,S5,S11,S12が順次実行さ
れ、各部門別の売上データは前記nのレジスタ
の内容で指定され時間帯の記憶領域M(n)に
売上データが累計される。そして、売上データ
の部門別登録の終了の際に現金キーが操作され
ると、前記同様のnレジスタの内容で指定され
る時間帯の記憶領域G(n)に売上合計データ
の加算が行なわれる。したがつて、たとえ一顧
客に対する最初の部門別キーの操作による登録
の開始時点と、現金キーの操作による登録の終
了時点とが2つの時間帯にまたがつていたとし
ても、部門別の売上データ及び取引別の売上合
計データは同一の時間帯、すなわち最初の部門
別キーの操作時点における時間帯の各記憶領域
に累計される。
When the registration process for one customer is started and the department key is operated for the first time, "1" is written in the F register by the transaction key operation described above, so in the flow of FIG. S 4 ~ S 8 , S 11 , S 12 , or step S 4 ~
S 10 , S 8 , . . . are sequentially executed, and the sales data is added to the storage area M(n) of the departmental memory for the time period at which the departmental key is operated. When the department key is operated after this, steps S 4 , S 5 , S 11 , and S 12 are executed in sequence, and the sales data for each department is specified by the contents of the n register and stored in the storage area for the time period. Sales data is accumulated in M(n). Then, when the cash key is operated at the end of departmental registration of sales data, the total sales data is added to the storage area G(n) of the time period specified by the contents of the n register similar to the above. . Therefore, even if the start of registration for one customer by operating the departmental key and the end of registration by operating the cash key span two time periods, sales by department The data and total sales data for each transaction are accumulated in each storage area in the same time period, that is, at the time of the first operation of the department key.

なお、前記実施例においては第1の時間帯別
記憶手段として部門別メモリを備えたが、これ
に限らず、たとえばPLUキーと夫々対応して
PLUメモリを備え、これらPLUメモリに時間
帯別集計を行なつても良い。
In the above embodiment, a departmental memory is provided as the first time zone storage means, but the present invention is not limited to this.
It is also possible to provide PLU memories and perform time period aggregation in these PLU memories.

〔発明の効果〕〔Effect of the invention〕

以上説明したようにこの発明によれば、分類別
指定手段による分類指定が一取引における最初の
指定であると判別された時の時間帯を示すデータ
を記憶し、このデータによつて指定される時間帯
の第1あるいは第2の時間帯別記憶手段に、夫々
対応して分類別指定手段の指定によつて入力され
た売上データあるいは取引指定手段の指定によつ
て入力された売上合計データを累計するようにし
たから、売上合計データの時間帯別集計管理のみ
ならず、各種分類別の売上データの時間帯別集計
管理を行なうことができ、しかも各種分類におけ
る売上データの累計を各時間帯別に合計した時間
の内容と各種時間帯別に売上合計データを累計し
た内容とを常に一致させることができ、正確な時
間帯別管理が行なえる。
As explained above, according to the present invention, data indicating the time period when the classification designation by the classification designation means is determined to be the first designation in one transaction is stored, and the data designated by this data is stored. The sales data input by the classification designation means or the sales total data input by the transaction designation means are stored in the first or second time zone storage means respectively. Since the total sales data is accumulated, it is possible to manage not only the total sales data by time period, but also the sales data by various categories by time period. It is possible to always match the contents of the separately totaled time with the contents of the accumulated sales total data for each time period, and accurate management by time period can be performed.

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

第1図ないし第4図はこの発明の一実施例を示
し、第1図は概略システム構成図、第2図は
CPUの詳細な回路構成図、第3図は合計メモリ
の部分フオーマツト、第4図はフローチヤートで
ある。
1 to 4 show an embodiment of the present invention, FIG. 1 is a schematic system configuration diagram, and FIG. 2 is a schematic system configuration diagram.
A detailed circuit configuration diagram of the CPU, FIG. 3 is a partial format of the total memory, and FIG. 4 is a flowchart.

Claims (1)

【特許請求の範囲】[Claims] 1 商品の商品分類を指定する分類別指定手段
と、一取引の終了を指定する取引指定手段と、前
記各分類に対応して設けられ、各分類別に複数の
時間帯別の記憶領域を有する第1の時間帯別記憶
手段と、前記取引指定手段に対応して設けられ、
前記第1の時間帯別記憶手段における時間帯と同
一時間帯に分割された時間帯別の記憶領域を有す
る第2の時間帯別記憶手段と、前記分類別指定手
段により一取引の最初の分類指定が行なわれた際
にその指定された時刻を含む時間帯を示すデータ
を記憶する時間帯データ記憶手段と、売上データ
の入力に際して前記分類別指定手段により分類指
定が行なわれた際に、この指定分類に対応する前
記第1の時間帯別記憶手段内の前記時間帯データ
記憶手段に記憶されるデータにより決まる時間帯
の記憶領域に前記売上データを累計する第1の累
計手段と、前記取引指定手段により取引の終了が
指定された際に、一取引中に入力された売上デー
タを合計した売上合計データを前記第2の時間帯
別記憶手段内の前記時間帯データ記憶手段に記憶
されるデータにより決まる時間帯の記憶領域に累
計する第2の累計手段とを備えることを特徴とす
る時間帯別集計機能を有する電子レジスタ。
1. A classification specifying means for specifying the product classification of a product, a transaction specifying means for specifying the end of one transaction, and a storage area provided corresponding to each of the above-mentioned categories and having a plurality of storage areas for each time period for each category. 1, provided corresponding to the time zone storage means and the transaction designation means,
a second time zone storage means having a time zone storage area divided into the same time zones as the first time zone storage means; and a first classification of one transaction by the classification designation means. a time period data storage means for storing data indicating a time period including the specified time when the specification is made; and a time period data storage means for storing data indicating a time period including the specified time; a first accumulating means for accumulating the sales data in a storage area of a time period determined by data stored in the time period data storage means in the first time period storage means corresponding to a designated classification; and the transaction; When the end of the transaction is specified by the specifying means, total sales data obtained by summing up the sales data input during one transaction is stored in the time period data storage means in the second time period storage means. 1. An electronic register having a time-slot aggregation function, characterized by comprising a second accumulating means for accumulating in a storage area of a time period determined by the data.
JP21214581A 1981-12-26 1981-12-26 Totaling system for every time zone Granted JPS58114158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21214581A JPS58114158A (en) 1981-12-26 1981-12-26 Totaling system for every time zone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21214581A JPS58114158A (en) 1981-12-26 1981-12-26 Totaling system for every time zone

Publications (2)

Publication Number Publication Date
JPS58114158A JPS58114158A (en) 1983-07-07
JPS6235715B2 true JPS6235715B2 (en) 1987-08-03

Family

ID=16617630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21214581A Granted JPS58114158A (en) 1981-12-26 1981-12-26 Totaling system for every time zone

Country Status (1)

Country Link
JP (1) JPS58114158A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0325262Y2 (en) * 1984-11-22 1991-05-31
JPH087833B2 (en) * 1985-03-08 1996-01-29 カシオ計算機株式会社 Sales data processor
JPH0631592Y2 (en) * 1986-02-10 1994-08-22 カシオ計算機株式会社 Weather discriminant data processor
JPH0223112A (en) * 1988-07-12 1990-01-25 Sony Corp Delivery control system of transportation cargo
JPH0648608U (en) * 1991-01-24 1994-07-05 横河メディカルシステム株式会社 Ultrasonic probe and ultrasonic diagnostic apparatus
JP2901813B2 (en) * 1992-06-30 1999-06-07 シャープ株式会社 Electronic cash register

Also Published As

Publication number Publication date
JPS58114158A (en) 1983-07-07

Similar Documents

Publication Publication Date Title
US4389707A (en) Electronic cash register
US4502119A (en) Electronic register
US4564904A (en) Electronic cash register
JPS6235715B2 (en)
JPS6246904B2 (en)
JPS6027434B2 (en) Aggregation method in electronic cash register
JPH026119B2 (en)
JPS6239465B2 (en)
JPH0373032B2 (en)
JPS5944662B2 (en) Electronic register aggregate data comparison method
JPS6226517B2 (en)
JPH0413757B2 (en)
JPS639033Y2 (en)
JPH0379753B2 (en)
JP2901813B2 (en) Electronic cash register
JPS605428Y2 (en) Electronic register with return registration function
JPH0363120B2 (en)
JPS632956Y2 (en)
JPH0258672B2 (en)
JPH0126119B2 (en)
JPS592947B2 (en) electronic cash register
JPH034958B2 (en)
JPH0119197B2 (en)
JPH0258671B2 (en)
JPS59106072A (en) Designating system of read for every classification number in electronic register