JPH0343676B2 - - Google Patents
Info
- Publication number
- JPH0343676B2 JPH0343676B2 JP58120791A JP12079183A JPH0343676B2 JP H0343676 B2 JPH0343676 B2 JP H0343676B2 JP 58120791 A JP58120791 A JP 58120791A JP 12079183 A JP12079183 A JP 12079183A JP H0343676 B2 JPH0343676 B2 JP H0343676B2
- Authority
- JP
- Japan
- Prior art keywords
- registered
- amount
- department
- transaction
- cumulative
- 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
Links
Landscapes
- Cash Registers Or Receiving Machines (AREA)
Description
【発明の詳細な説明】
<技術分野>
この発明は、一取引毎に登録金額を部門別に累
計記憶する部門別登録累計金額記憶手段を有する
電子式キヤツシユレジスタ(以下、単にECRと
いう。)に関する。[Detailed Description of the Invention] <Technical Field> The present invention relates to an electronic cash register (hereinafter simply referred to as ECR) having a department-specific registered cumulative amount storage means for storing the registered cumulative amount for each department for each transaction. .
<従来技術>
一般に、ECRは、取引商品の登録金額を部門
別に累計記憶する部門別登録累計金額メモリなど
の集計メモリを備えていて、これらの集計メモリ
は登録の度に更新されて登録累計金額がメモリサ
イズを越えたときにオーバーフローを生じる。こ
のオーバーフローの対策として、従来は
オーバーフローは無視する。<Prior art> In general, an ECR is equipped with a total memory such as a department-specific registered cumulative amount memory that stores the registered cumulative amount of transaction products by department, and these total memories are updated every time there is a registration to store the registered cumulative amount. An overflow occurs when exceeds the memory size. Conventionally, as a countermeasure against this overflow, the overflow is ignored.
集計メモリのレポート(印字)時に、オーバ
ーフローが生じたメモリの印字欄にオーバーフ
ローマークをプリントする。 When reporting (printing) the tally memory, an overflow mark is printed in the print field of the memory where an overflow has occurred.
集計メモリがオーバーフローしたときに金銭
登録を禁止(ロツク)する。 To prohibit (lock) monetary registration when the total memory overflows.
といつた手段が構じられていた。The following means were being devised.
しかしながら、従来のこのようなものでは、何
れもオーバーフローが生じた後の対策であるた
め、集計メモリの内容がオーバーフローのために
正確に保持されなくなる不都合があつた。また、
この問題を解決するために、オーバーフローが生
じたとき第二の集計メモリに引き続き累計してい
くようにしたものも提案されている(特開昭56−
116165)が、このような構成では部門別に第二の
集計メモリが必要になるためコストがかなり高く
なる問題があつた。 However, in these conventional devices, since all measures are taken after an overflow occurs, there is a problem that the contents of the total memory are not accurately retained due to the overflow. Also,
In order to solve this problem, a method has been proposed in which when an overflow occurs, the sum is continued to be accumulated in the second aggregation memory (Japanese Patent Application Laid-open No. 1983-1972-1).
116165), however, this configuration required a second aggregation memory for each department, resulting in a considerable increase in cost.
<発明の目的>
この発明は、上記に鑑みてなされたもので、取
引商品の登録時にその集計額が集計メモリの上限
額を越えて該メモリがオーバーフローする可能性
が大きいと判断すると精算処理を促し、集計メモ
リの上限額のオーバーによるオーバーフローを未
然に防止し、また低コストで構成できるECRの
提供を目的とする。<Purpose of the Invention> This invention has been made in view of the above, and it is possible to perform settlement processing when it is determined that there is a high possibility that the total amount will exceed the upper limit of the total memory and the memory will overflow when registering a transaction product. The purpose is to provide an ECR that can be configured at low cost, and prevents overflows caused by exceeding the upper limit of total memory.
<問題点を解決するための手段>
この発明は、一取引毎に登録金額を部門別に累
計記憶する部門別登録累計金額記憶手段を有する
電子式キヤツシユレジスタにおいて、一部門当た
りの登録累計金額の上限額aを記憶する最大登録
累計金額記憶手段と、
一取引における登録金額の上限額cを記憶する
一取引最大登録金額記憶手段と、
前記最大登録累計金額記憶手段に記憶されてい
る一部門の登録累計金額の上限額aから前記部門
別登録累計金額記憶手段に記憶されている部門別
登録累計金額bを引いた値a−bと前記一取引最
大登録金額記憶手段に記憶された前記一取引にお
ける登録金額の上限額cとを部門毎に比較判定す
る登録累計金額比較手段と、
前記値a−bが前記一取引における登録金額の
上限額cよりも小さい部門が少なくとも一つある
ときに精算処理を行う精算処理手段と、
を有することを特徴とする。<Means for Solving the Problems> The present invention provides an electronic cash register having a section-specific registered cumulative amount storage means for storing the registered cumulative amount for each department for each transaction. Maximum registered cumulative amount storage means for storing the upper limit amount a; Maximum registered amount per transaction storage means for storing the upper limit c of the registered amount for one transaction; A value a−b obtained by subtracting the departmental registered cumulative amount b stored in the departmental registered cumulative amount storage means from the upper limit amount a of the registered cumulative amount and the one transaction stored in the one transaction maximum registered amount storage means a registered cumulative amount comparison means for comparing and determining the upper limit c of the registered amount in each department; It is characterized by comprising: a payment processing means for performing processing;
<作用>
この発明においては、予め最大登録累計金額
記憶手段に一部門当たりの登録累計金額の上限額
aが記憶され、一取引最大登録金額記憶手段に
一取引における登録金額の上限額cが記憶され
る。また、公知のECRのように、部門別登録
累計金額記憶手段には部門別登録累計金額bが記
憶される。この部門別登録累計金額bは登録処理
毎に更新されていく。<Operation> In this invention, the maximum registered cumulative amount storage means stores in advance the upper limit a of the registered cumulative amount per department, and the one transaction maximum registered amount storage means stores the upper limit c of the registered amount in one transaction. be done. Further, like the known ECR, the department-specific registered cumulative amount b is stored in the department-specific registered cumulative amount storage means. This departmental registered cumulative amount b is updated every time the registration process is performed.
上記のようにa、b、cが各々記憶されている
状態で、a−bとcとを部門毎に比較判断し、a
−bがcより小さい部門が一つでもあると精算処
理をしてしまう。 With a, b, and c stored as described above, a-b and c are compared and determined for each department, and a
- If there is even one department where b is smaller than c, settlement processing will be performed.
このようにすることでオーバーフローを防止す
ることができる。 By doing this, overflow can be prevented.
<実施例>
第1図はこの発明の実施例であるECRのブロ
ツク図、第2図は、同ECRのRAM構成図であ
る。<Embodiment> FIG. 1 is a block diagram of an ECR that is an embodiment of the present invention, and FIG. 2 is a RAM configuration diagram of the ECR.
このECRは、数値キーN、部門キーD、フア
ンクシヨンキーFを備えた入力部1と、この入力
部1のキー信号を受けて、何れのキーが押圧され
たかを判別するキー入力判定部2と、このキー入
力判定部2からの出力信号を受けてROM3に予
め記憶された各種処理プログラムに従つて各種処
理を実行するCPU4と、このCPU4で処理され
た各種データを記憶するRAM5と、このCPU4
で処理された各種データを表示する表示部6と、
同様に、CPU4で処理された各種データをレシ
ートあるいはジヤーナルに印字する印字部7と、
ECRをどのように使用するかの各種取扱モード
を規定するモードスイツチ8と、このモードスイ
ツチ8で選択されたモード情報を一時記憶するモ
ード情報一時記憶部9と、上記入力部1の何れか
のキーが押圧されたことを検出したとき上記モー
ド情報一時記憶部9に一時記憶されたモード情報
をCPU4のエリアaに入力記憶させるキー入力
検知部10とから構成されている。 This ECR includes an input section 1 that includes a numeric key N, a department key D, and a function key F, and a key input determination section 2 that receives key signals from the input section 1 and determines which key is pressed. , a CPU 4 that receives output signals from the key input determination unit 2 and executes various processes according to various processing programs stored in advance in the ROM 3, a RAM 5 that stores various data processed by this CPU 4, and a RAM 5 that stores various data processed by this CPU 4. CPU4
a display section 6 that displays various data processed by the
Similarly, a printing unit 7 that prints various data processed by the CPU 4 on a receipt or journal;
A mode switch 8 that defines various handling modes for how to use the ECR, a mode information temporary storage section 9 that temporarily stores the mode information selected by the mode switch 8, and one of the input sections 1 mentioned above. The key input detection section 10 inputs and stores the mode information temporarily stored in the mode information temporary storage section 9 in the area a of the CPU 4 when it detects that a key is pressed.
RAM5は、第2図に示すように、各取引商品
の部門情報を記憶するエリアD、例えば各取引商
品の単価を記憶する単価エリアP(p1〜pn)、
登録金額を部門別に累計記憶する登録累計金額エ
リアB(b1〜bn)、一取引毎の登録金額を部門
別に累計記憶する一取引累計額エリアT(t1〜
tn)と、各取引登録毎に、上記一取引累計額エリ
アTに当該取引登録以前に記憶されている取引累
計額と当該取引金額とを合算して一時記憶する合
算エリアXと、一部門の登録累計金額の上限額を
記憶する最大登録累計金額エリアAと、一取引に
おける登録金額の上限額を記憶する一取引最大登
録金額エリアCと、を備えている。 As shown in FIG. 2, the RAM 5 includes an area D that stores department information for each transaction product, a unit price area P (p1 to pn) that stores the unit price of each transaction product, for example,
A registered cumulative amount area B (b1 to bn) stores the registered amount by department, and a transaction cumulative amount area T (t1 to bn) stores the registered amount for each transaction by department.
tn), for each transaction registration, a total area It has a maximum registered cumulative amount area A that stores the upper limit of the registered cumulative amount, and a single transaction maximum registered amount area C that stores the upper limit of the registered cumulative amount in one transaction.
次に、第3図を参照して、上記の構成からなる
ECRの部門別登録累計金額、一取引最大登録金
額などのデータの設定手順につき説明する。 Next, with reference to FIG.
We will explain the procedure for setting data such as ECR's cumulative registration amount by department and maximum registration amount per transaction.
第3図は、このECRのデータ設定手順を示す
フローチヤートである。 FIG. 3 is a flowchart showing the ECR data setting procedure.
ステツプn1(以下、ステツプniを単にniとい
う。)で、オペレータは、まずモードスイツチ8
を操作することによつて所望のモードを選択す
る。次に、n2で、このモード情報はモード情報
一時記憶部9に一時記憶される。n3、n4で、
オペレータが入力部1上のキーの何れかを押圧す
るとキー入力判定部2を介してキー入力検知部1
0がこのキー入力を検知し、モード情報一時記憶
部9に記憶されたモード情報をCPU4のエリア
aに入力記憶させる。このモード情報を受けた
CPU4はこのモード情報がどのモードを指示す
るものであるかを判定し、この判定結果に基づき
ROM3に予め記憶された最大登録金額設定、単
価設定、登録などの処理ルーチンを選択設定し、
以後入力されてくる各種データをこの処理ルーチ
ンに従つて処理する(n5〜n8)。n5で、エ
リアaに記憶されたモードが単価設定モードであ
る場合は、n7で、ROM3内の単価設定ルーチ
ンを選択された後、n9で入力部1の数値キーN
を操作して該当部門の単価情報をキー入力判定部
2を介してCPU4に入力する。次に、n10で、
オペレータは特定の部門キーを押圧し、n9で入
力した単価情報がどの部門に属するものであるか
を指示する。この指示を受けたCPU4は、指定
された部門に対応するRAM5の該当エリアpiを
選択指定し、上記単価情報を該当エリアに設定さ
せるとともに印字部7でこの印字情報をレシート
あるいはジヤーナルに印字する(n11,n1
2)。n13で単価設定終了か否かが判断され、
終了ではない場合は上記n9〜n13の動作が繰
り返されて、すべての部門に対応する単価情報が
入力設定される。一方、n5で、エリアaに記憶
されたモードが、一部門の登録累計金額の上限額
である最大登録累計金額、一取引における登録金
額の上限額である一取引最大登録金額などの最大
登録金額を設定する最大登録金額設定モードであ
ると判断された場合には、n6でROM3内の最
大登録金額決定ルーチンが選択される。次にn1
4で入力部1の数値キーNによつて、最大登録金
額データをストアするメモリのアドレスが指定さ
れる。次にn15で最大登録金額データである一
部門の最大登録累計金額あるいは一取引最大登録
金額の何れかを入力し、続いてn16で、フアン
クシヨンキーFの特定キーを押圧しCPU4に最
大登録金額データの設定指示を与える。この指示
を受けたCPU4は入力された金額が一部門の最
大登録累計金額である場合にはRAM5のエリア
Aを、一取引最大登録金額である場合にはエリア
Cを指定し、当該金額データを指定エリアに設定
記憶させるとともに印字部7でジヤーナルあるい
はレシートに印字する(n17,n18)。n1
9で、一部門の最大登録累計金額、一取引最大登
録金額の両方を各々エリアA、Cに設定記憶した
か否かを判定し、両方を設定していないときはn
14〜n18を繰り返す。このようにして単価、
一部門の最大登録累計金額、一取引最大登録金額
が予め設定される。 At step n1 (hereinafter, step ni is simply referred to as ni), the operator first switches the mode switch 8.
Select the desired mode by operating . Next, at n2, this mode information is temporarily stored in the mode information temporary storage section 9. With n3 and n4,
When the operator presses any of the keys on the input unit 1, the key input detection unit 1 is detected via the key input determination unit 2.
0 detects this key input and causes the mode information stored in the mode information temporary storage section 9 to be input and stored in area a of the CPU 4. received this mode information
The CPU 4 determines which mode this mode information indicates, and based on this determination result,
Select and set processing routines such as maximum registration amount setting, unit price setting, and registration stored in ROM3 in advance.
Various data inputted thereafter are processed according to this processing routine (n5 to n8). If the mode stored in area a is the unit price setting mode in n5, select the unit price setting routine in ROM3 in n7, and then press the numeric key N of input section 1 in n9.
is operated to input the unit price information of the corresponding department to the CPU 4 via the key input determination section 2. Next, at n10,
The operator presses a specific department key to indicate to which department the unit price information input at n9 belongs. Upon receiving this instruction, the CPU 4 selects and specifies the corresponding area pi of the RAM 5 corresponding to the designated department, sets the above-mentioned unit price information in the corresponding area, and prints this print information on a receipt or journal in the printing section 7 ( n11, n1
2). At n13, it is determined whether the unit price setting is finished or not.
If the process is not completed, the operations from n9 to n13 described above are repeated, and unit price information corresponding to all departments is input and set. On the other hand, in n5, the mode stored in area a is the maximum registered amount, such as the maximum registered cumulative amount, which is the upper limit of the registered cumulative amount in one department, and the maximum registered amount, such as the maximum registered amount in one transaction, which is the upper limit of the registered cumulative amount in one transaction. If it is determined that the mode is the maximum registered amount setting mode, the maximum registered amount determination routine in the ROM 3 is selected at n6. Then n1
At step 4, the address of the memory where the maximum registered amount data is to be stored is specified using the numerical key N of the input unit 1. Next, in n15, enter either the maximum registered cumulative amount for one department or the maximum registered amount for one transaction, which is the maximum registered amount data, and then in n16, press a specific key of function key F to send the maximum registered amount to CPU4. Provide data setting instructions. When the CPU 4 receives this instruction, it specifies area A of the RAM 5 if the input amount is the maximum registered cumulative amount for one department, and area C if it is the maximum registered amount for one transaction, and stores the amount data. The settings are stored in the designated area and printed on the journal or receipt by the printing unit 7 (n17, n18). n1
In step 9, it is determined whether both the maximum registered cumulative amount for one department and the maximum registered amount for one transaction have been set and stored in areas A and C, respectively, and if both have not been set, n
Repeat steps 14 to n18. In this way, the unit price,
The maximum registered cumulative amount for one department and the maximum registered amount for one transaction are set in advance.
次に、同ECRの登録処理手順を第4図を参照
して説明する。 Next, the ECR registration processing procedure will be explained with reference to FIG.
第4図は同ECRの登録処理を示すフローチヤ
ートである。 FIG. 4 is a flowchart showing the ECR registration process.
n5で、エリアaに記憶されたエリア情報が登
録モードであると判断された場合には、まず数値
キーNによつて取引商品の数量データが入力さ
れ、部門キーDの押圧によつてその数量データが
どの部門に属するものであるかがCPU4によつ
て判定される(n20〜n22)。 If it is determined in n5 that the area information stored in area a is in the registration mode, first the quantity data of the traded product is input using the numerical key N, and the quantity data is entered by pressing the department key D. The CPU 4 determines which department the data belongs to (n20 to n22).
n23でCPU4によつて判定された部門iの
該当エリアpiが指定され、n24で、そのエリア
に設定された単価データが読み出される。この読
み出された単価データに先に入力された数量デー
タとが掛け合わされ、その演算結果はRAM5中
のエリアTの該当エリアtiに先に記憶されている
金額に合算され、その合算した金額が合算エリア
Xに一時記憶される(n25〜n27)。 At n23, the corresponding area pi of department i determined by the CPU 4 is designated, and at n24, the unit price data set for that area is read out. This read unit price data is multiplied by the previously input quantity data, and the result of the calculation is added to the amount previously stored in the corresponding area ti of area T in RAM 5, and the total amount is It is temporarily stored in the summation area X (n25 to n27).
エリアXに記憶された部門iの当該取引累計額
は、エリアCPUに設定記憶された一取引最大登
録金額以下であるか否かが判定されn28、一取
引最大登録金額以下でない場合即ち、一取引最大
登録金額を越えている場合には、n29で、
CPU4で締め指示がなされn33へ移る。n2
8で、合算エリアXに記憶された部門iの当該取
引累計額が一取引最大登録金額以下であると判断
された場合には、エリアXに記憶されている当該
取引累計額がエリアTの該当エリアtiに更新値と
して記憶され、印字部7でレシートあるいはジヤ
ーナルに印字される(n30,n31)。 It is determined whether the cumulative transaction amount of department i stored in area If the amount exceeds the maximum registration amount, please use n29.
A tightening instruction is given by CPU4 and the process moves to n33. n2
8, if it is determined that the cumulative transaction amount of department i stored in total area X is less than the maximum registered amount for one transaction, the cumulative transaction amount stored in area The updated value is stored in area ti and printed on a receipt or journal by the printing unit 7 (n30, n31).
n32で取引登録が終了か否かが判断され、終
了の場合には、n33へ移り、終了でない場合に
は、上記の数量入力以下の手順が繰り返し行われ
てすべての取引商品が登録される。 At n32, it is determined whether or not the transaction registration is finished. If it is finished, the process moves to n33. If it is not finished, the procedure from the input of the quantity described above is repeated to register all the traded products.
n33ではフアンクシヨンキーF中の特定キー
の押圧によつて締め操作が行われ、エリアtiに記
憶されている部門別の一取引累計額がエリアbiに
記憶されている金額に合算され、その合算値がエ
リアbiに更新値として記憶され、印字部7でレシ
ートあるいはジヤーナルに印字される(n34〜
n36)。 In n33, a closing operation is performed by pressing a specific key among the function keys F, and the cumulative amount of one transaction by department stored in area ti is added to the amount stored in area bi, and the total amount is The value is stored as an updated value in area bi, and printed on the receipt or journal in the printing unit 7 (n34~
n36).
続いて、顧客からの預かり金額が数値キーN、
およびフアンクシヨンキーF中の預かりキーの操
作によつてCPU4に入力される(n37,n3
8)。この入力を受けてCPU4はその顧客に対す
るつり銭額計算した後に、レシート等に印字し、
その取引に対するレシートを発行する(n39,
n40)。 Next, the deposit amount from the customer is displayed on the numerical key N,
and is input to the CPU 4 by operating the storage key in the function key F (n37, n3
8). Upon receiving this input, the CPU 4 calculates the amount of change for the customer, then prints it on the receipt etc.
Issue a receipt for the transaction (n39,
n40).
次に、CPU4はRAM5中のエリアBに記憶さ
れた各部門別の登録累計金額およびエリアAに予
め記憶されている各メモリ後に、一部門の最大登
録累計金額を読み出し、データ間でA−biの演算
を部門毎に行い、その演算結果がエリアCに記憶
されている一取引最大登録金額を越えているか否
かが判断される(n41,n42)。エリアAと
biとの差が一取引最大登録金額を越えていないと
判断された場合にはn43へ移る。一方、越えて
いると判断された場合には、n44で該当部門別
データは印字部7で印字された後、n43へ移
る。 Next, the CPU 4 reads out the cumulative registered amount for each department stored in area B of the RAM 5 and the maximum registered cumulative amount for one department after each memory stored in advance in area A, and The calculation is performed for each department, and it is determined whether the calculation result exceeds the maximum registered amount for one transaction stored in area C (n41, n42). area A and
If it is determined that the difference with bi does not exceed the maximum registered amount for one transaction, the process moves to n43. On the other hand, if it is determined that the number exceeds the limit, the corresponding departmental data is printed in the printing unit 7 at n44, and then the process moves to n43.
n43で上記の処理がすべての部門に対して行
われたか否かを判断する。すべての部門に対して
行われていないと判断された場合には、上記の処
理がすべての部門に対してなされるまで繰り返し
行われる。n43で上記の処理がすべての部門に
対して行われたと判断された場合には、n45
で、上記の判定処理で部門別取引累計金額と部門
登録最大累計金額との差A−biが一取引最大登録
金額を越えない部門が少なくとも一つあるか否か
が判断され、一つもない場合即ち、すべての部門
において差A−biが一取引最大登録累計金額を越
えている場合には、再度n3へ戻り入力待ち状態
となる。 At n43, it is determined whether the above process has been performed for all departments. If it is determined that the process has not been performed for all departments, the above process is repeated until it has been performed for all departments. If n43 determines that the above process has been carried out for all departments, n45
Then, in the above judgment process, it is determined whether there is at least one department where the difference A-bi between the cumulative transaction amount by department and the maximum registered cumulative amount for each department does not exceed the maximum registered amount for one transaction, and if there is not one, then That is, if the difference A-bi exceeds the maximum registered cumulative amount for one transaction in all departments, the process returns to n3 again and waits for input.
差A−biが一取引最大登録金額を越えない部分
が一部門でもある場合には、その部門でオーバー
フローを生じる危険性があるので、n46でオペ
レータに対して精算指示が行われる。 If the difference A-bi does not exceed the maximum registered amount for one transaction in even one department, there is a risk that an overflow will occur in that department, so a settlement instruction is given to the operator at n46.
精算指示を受けたオペレータはフアンクシヨン
キーF中の特定のキーの押圧によつてCPU4に
精算指令を行い、この指令に従つてCPU4は
RAM5の各エリアに記憶されたデータを読み出
し、印字部7で順次印字して精算票を発行した
後、n3へ戻りモード入力待ち状態となる(n4
7〜n51)。 The operator who received the payment instruction issues a payment command to the CPU 4 by pressing a specific key among the function keys F, and according to this command, the CPU 4
After reading the data stored in each area of the RAM 5 and printing it sequentially in the printing unit 7 to issue a payment slip, the process returns to n3 and enters the mode input waiting state (n4
7-n51).
このように予め設定された一部門の最大登録累
計金額から取引時の当該部門登録累計金額を差し
引いた金額即ち、当該取引時以後に登録可能な金
額の残余分が、一取引最大登録金額以下の部門が
少なくとも一つある場合には、その部門における
次回の登録時に該当メモリがオーバーフローを起
こす危険性があるので、直ちに精算処理を行い、
当該部門において次回の登録時にオーバーフロー
を起こす危険性を未然に防止している。 The amount obtained by subtracting the registered cumulative amount of the department at the time of the transaction from the preset maximum registered cumulative amount of one department, that is, the remaining amount that can be registered after the transaction is less than or equal to the maximum registered amount of one transaction. If there is at least one department, there is a risk that the corresponding memory will overflow during the next registration in that department, so please immediately perform the settlement process.
This prevents the risk of overflow during the next registration in the relevant department.
<発明の効果>
以上のように、この発明によれば、各部門別の
登録累計金額の上限額および一取引における登録
金額の上限額を所定エリアに予め設定記憶し、取
引商品の登録時に当該登録金額を上記の部門別の
登録累計金額の上限額から差し引き、その差額つ
まり登録金額の登録可能な金額の残余分が上記の
一取引における登録金額の上限額以下である部門
が少なくとも一つある場合には、次回の登録時に
当該部門においてオーバーフローする危険性があ
るので、直ちに精算処理を行うことによつてオー
バーフローを未然に防止し、次回の登録時にオー
バーフローによる登録エラーの発生を確実に回避
できると共に、各部門におけるオーバーフローの
危険性の判定は、各部門一律の一取引における登
録金額の上限額を用いて行うものであり、各部門
毎に上限額を設定して判定するものに比較して、
その処理プログラムを簡素化することができ、処
理時間の短縮、プログラム設計上の有利さ等の面
からも優れたものとなり、しかも一部門当たりの
登録累計金額及び一取引における登録金額をユー
ザーが過去の実績に基づいて入力設定することが
できるため、部門別に登録金額を累計記憶するこ
の種キヤツシユレジスタにあつて、メモリ容量
を、オーバーフローを起こさない範囲で最大限有
効活用を図ることもできる。<Effects of the Invention> As described above, according to the present invention, the upper limit of the registered cumulative amount for each department and the upper limit of the registered amount for one transaction are preset and stored in a predetermined area, and the corresponding The registered amount is deducted from the upper limit of the cumulative registered amount for each department, and there is at least one department in which the difference, that is, the remaining amount of the registered amount that can be registered, is less than or equal to the upper limit of the registered amount for one transaction. In such cases, there is a risk of overflow in the relevant department during the next registration, so by performing the settlement process immediately, overflow can be prevented, and registration errors due to overflow can be reliably avoided during the next registration. At the same time, the risk of overflow in each department is determined using the upper limit of the registered amount in a single transaction for each department, compared to the case where the upper limit is set for each department. ,
The processing program can be simplified, reducing processing time, and has advantages in program design. Since the input settings can be made based on the actual performance of the cash register, the memory capacity of this type of cash register that stores cumulatively registered amounts for each department can be utilized as effectively as possible without overflowing.
第1図は、この発明の実施例であるECRのブ
ロツク図、第2図は、同ECRのRAM構成図、第
3図は、同ECRの一部門の最大登録累計金額、
一取引最大登録金額などのデータ設定手順を示す
フローチヤート、第4図は、同ECRの登録処理
手順を示すフローチヤートである。
1……入力部、5……RAM、A……最大別登
録累計金額エリア、C……一取引最大登録金額エ
リア。
Fig. 1 is a block diagram of an ECR that is an embodiment of the present invention, Fig. 2 is a RAM configuration diagram of the ECR, and Fig. 3 is a diagram showing the maximum registered amount of a division of the ECR.
FIG. 4 is a flowchart showing the procedure for setting data such as the maximum registration amount per transaction. FIG. 4 is a flowchart showing the procedure for registering the ECR. 1...Input section, 5...RAM, A...Maximum registered cumulative amount area, C...Maximum registered amount area for one transaction.
Claims (1)
部門別登録累計金額記憶手段を有する電子式キヤ
ツシユレジスタにおいて、 一部門当たりの登録累計金額の上限額a及び一
取引における登録金額の上限額cを入力するため
の入力手段と、 該入力手段により入力された一部門当たりの登
録累計金額の上限額aを記憶する最大登録累計金
額記憶手段と、 前記入力手段により入力された一取引における
登録金額の上限額cを記憶する一取引最大登録金
額記憶手段と、 前記最大登録累計金額記憶手段に記憶されてい
る一部門の登録累計記憶の上限額aから前記部門
別登録累計金額記憶手段に記憶されている部門別
登録累計金額bを引いた値a−bと前記一取引最
大登録金額記憶手段に記憶された前記一取引にお
ける登録金額の上限額cとを部門毎に比較判定す
る登録累計金額比較手段と、 前記値a−bが前記一取引における登録金額の
上限額cよりも小さい部門が少なくとも一つある
ときに精算処理を行う精算処理手段と、 を有することを特徴とする電子式キヤツシユレジ
スタ。[Scope of Claims] 1. In an electronic cash register having a section-specific registered cumulative amount storage means for storing the registered cumulative amount for each department for each transaction, the upper limit a of the registered cumulative amount per department and the an input means for inputting the upper limit c of the registered amount; a maximum registered cumulative amount storage means for storing the upper limit a of the registered cumulative amount per department inputted by the input means; one transaction maximum registered amount storage means for storing an upper limit c of the registered amount in one transaction; and the department-wise registered cumulative total from the upper limit a of the registered cumulative total of one department stored in the maximum registered cumulative amount storage means. Compare, for each department, the value a−b obtained by subtracting the cumulative registered amount b for each department stored in the amount storage means and the upper limit c of the registered amount for one transaction stored in the one transaction maximum registered amount storage means. A registered cumulative amount comparing means for making a determination; and a settlement processing means for performing a settlement process when there is at least one department in which the value a-b is smaller than the upper limit c of the registered amount in one transaction. Electronic cash register.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12079183A JPS6011990A (en) | 1983-06-30 | 1983-06-30 | Electronic cash register |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12079183A JPS6011990A (en) | 1983-06-30 | 1983-06-30 | Electronic cash register |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6011990A JPS6011990A (en) | 1985-01-22 |
| JPH0343676B2 true JPH0343676B2 (en) | 1991-07-03 |
Family
ID=14795084
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12079183A Granted JPS6011990A (en) | 1983-06-30 | 1983-06-30 | Electronic cash register |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6011990A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57121071A (en) * | 1981-01-21 | 1982-07-28 | Showa Electric Wire & Cable Co Ltd | Electrical insulating coating compound |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS56116165A (en) * | 1980-02-19 | 1981-09-11 | Casio Comput Co Ltd | Processing system of overflow |
-
1983
- 1983-06-30 JP JP12079183A patent/JPS6011990A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6011990A (en) | 1985-01-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0343676B2 (en) | ||
| JPS6367703B2 (en) | ||
| JPS5911465A (en) | Electronic cash register | |
| JPH0430295A (en) | electronic cash register | |
| JPH0684069A (en) | Sales registering device | |
| JPS594352Y2 (en) | electronic cash register | |
| JPH0480438B2 (en) | ||
| JPS6226516B2 (en) | ||
| JP2502354B2 (en) | Electronic cash register | |
| KR920004758B1 (en) | Method of discount sale for cash register | |
| JPH03157795A (en) | Product sales data processing device | |
| JPS594350Y2 (en) | electronic cash register | |
| JPS63225897A (en) | Transaction processor | |
| JPH029395B2 (en) | ||
| JPS5833981B2 (en) | electronic cash register | |
| JPH0353340Y2 (en) | ||
| JP2514262B2 (en) | Electronic cash register | |
| JPH0211957B2 (en) | ||
| JPH0530225Y2 (en) | ||
| JPS6227998Y2 (en) | ||
| JPS6362799B2 (en) | ||
| JPS6111832Y2 (en) | ||
| JPS59768A (en) | Cash register with scale registering function | |
| JPS5851305B2 (en) | electronic cash register | |
| JPH0332120B2 (en) |