JP2008210029A - Cash register device - Google Patents

Cash register device Download PDF

Info

Publication number
JP2008210029A
JP2008210029A JP2007044184A JP2007044184A JP2008210029A JP 2008210029 A JP2008210029 A JP 2008210029A JP 2007044184 A JP2007044184 A JP 2007044184A JP 2007044184 A JP2007044184 A JP 2007044184A JP 2008210029 A JP2008210029 A JP 2008210029A
Authority
JP
Japan
Prior art keywords
error
operation error
amount
balance
cash register
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.)
Pending
Application number
JP2007044184A
Other languages
Japanese (ja)
Inventor
Naoki Takama
直樹 高間
Seiji Miyamoto
聖治 宮本
Satoshi Funatsu
訓 船津
Katsushige Morimoto
勝茂 森本
Kazuyuki Haraguchi
和之 原口
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.)
Ishida Co Ltd
Original Assignee
Ishida 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 Ishida Co Ltd filed Critical Ishida Co Ltd
Priority to JP2007044184A priority Critical patent/JP2008210029A/en
Publication of JP2008210029A publication Critical patent/JP2008210029A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a cash register device capable of appropriately coping with excess or shortage caused by an operation error of a money depositor/dispenser. <P>SOLUTION: A POS terminal derives the stored amount of money of the money depositor/dispenser as the theoretical balance based on the total value which is an operated value in account settlement processing. When the operation error of either money depositing operation or dispensing operation occurs in the money depositor/dispenser, classification information of the operation error and an error amount of money caused by the operation error are acquired, and information on these errors is recorded in an SRAM. In balance registration processing, the actual balance, the theoretical balance, the excess/shortage amount, and information on all the operation errors which occurred, are printed on one balance registration slip. Even at the occurrence of excess or shortage, the specific situation of the excess or shortage and what factor caused the excess or shortage can be easily acquired by referring to the balance registration slip 73. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、入出金機と連動し、入出金機の計数結果に基づいて売買取引に係る演算処理を行うキャッシュレジスタ装置に関する。   The present invention relates to a cash register device that operates in conjunction with a depositing / withdrawing machine and performs arithmetic processing related to a trading transaction based on a counting result of the depositing / withdrawing machine.

スーパーマーケットやコンビニエンスストアなどの小売店舗の売買取引においては、POSターミナルなどとも呼ばれるキャッシュレジスタ装置が使用される。キャッシュレジスタ装置では、売買取引ごとに、当該売買取引に係る演算処理が行われる。具体的には、顧客が購入を希望する全ての商品の合計価格が導出された後、顧客から受け渡された預かり金の金額が取得され、合計価格と預かり金の金額とに基づいて釣銭の金額が導出される。   In sales transactions of retail stores such as supermarkets and convenience stores, a cash register device called a POS terminal is used. In the cash register device, for each sales transaction, a calculation process related to the sales transaction is performed. Specifically, after the total price of all products that the customer wishes to purchase is derived, the amount of deposits received from the customer is acquired, and the change amount is calculated based on the total price and the amount of deposits. The amount is derived.

通常、このような売買取引では、預かり金の計数や釣銭の計数は、キャッシュレジスタ装置を取り扱う店舗スタッフが担うことになる。一方で近年では、店舗スタッフの計数ミスや不正操作等を防止するため、キャッシュレジスタ装置を入出金機と連動させ、預かり金の計数や釣銭の計数を入出金機に行わせることもなされている。この入出金機は、投入された金銭の金額を計数する入金機能と、指定された金額の金銭を放出する出金機能とを有する装置である。   Normally, in such a sales transaction, the store staff handling the cash register device is responsible for counting the deposit and change. On the other hand, in recent years, in order to prevent store staff from miscounting and unauthorized operations, the cash register device is linked to the depositing / dispensing machine, and the depositing / dispensing machine is allowed to count deposits and change. . This depositing / withdrawing machine is an apparatus having a depositing function for counting the amount of money inserted and a dispensing function for discharging a specified amount of money.

入出金機を利用する場合は、預かり金は入出金機に投入され、入出金機によりその金額が正確に計数される。そして、その正確な計数結果が信号でキャッシュレジスタ装置に受け渡され、売買取引に係る演算処理に利用される。また、キャッシュレジスタ装置において釣銭の金額が導出されると、導出された釣銭の金額が信号で入出金機に受け渡され、その金額の金銭が釣銭として入出金機から放出される(例えば、特許文献1参照。)。   When using a deposit / withdrawal machine, the deposit is put into the deposit / withdrawal machine and the amount is accurately counted by the deposit / withdrawal machine. Then, the accurate counting result is transferred to the cash register device as a signal, and used for the arithmetic processing related to the buying and selling transaction. Further, when the amount of change is derived in the cash register device, the amount of the derived change is transferred to the depositing / dispensing device by a signal, and the amount of money is released from the depositing / dispensing device as change (for example, patent Reference 1).

特開2005−222192号公報JP 2005-222192 A

キャッシュレジスタ装置と入出金機とを連動させる場合は、原則として売上金及び釣銭準備金の全ての現金が入出金機内に収納される。キャッシュレジスタ装置は、この入出金機の理論上の収納金額である理論残高を示す内部変数を記憶しており、売買取引ごとに更新している。入出金機の収納金額は、理論的には、売買取引ごとにその売買取引における合計価格の分だけ増加する。このため、キャッシュレジスタ装置は、売買取引に係る演算処理において導出された合計価格に基づいて理論残高を更新する。   When the cash register device and the deposit / withdrawal machine are linked, in principle, all the cash of the sales and change reserve is stored in the deposit / withdrawal machine. The cash register device stores an internal variable indicating a theoretical balance, which is a theoretical storage amount of the deposit / withdrawal machine, and is updated for each sales transaction. The amount of money stored in the depositing / dispensing machine theoretically increases by the total price in each sales transaction. For this reason, the cash register device updates the theoretical balance based on the total price derived in the arithmetic processing related to the sales transaction.

しかしながら、入出金機において預かり金の投入動作や釣銭の放出動作で動作エラーが発生した場合には、入出金機の実際の収納金額である実残高と、キャッシュレジスタ装置が記憶している理論残高とが相違する過不足の状態が生じる。例えば、入出金機において預かり金の投入時にリジェクト(金銭を投入できない動作エラー)が生じたときには、実際には入出金機に金銭が投入されておらず実残高が増加していないにもかかわらず、理論残高は増加されるという事態が生じる。従来のキャッシュレジスタ装置では、このような入出金機の動作エラーに起因して過不足が生じたとしても、その原因の特定が難しく問題となっていた。   However, if an operation error occurs in the depositing / dispensing operation of the depositing / dispensing machine, the actual balance that is the actual storage amount of the depositing / dispensing machine and the theoretical balance stored in the cash register device The situation of excess and deficiency that is different from that occurs. For example, when a deposit occurs at the depositing / dispensing machine and a rejection occurs (an operation error that prevents the depositing of money), the actual balance has not increased because no money has actually been inserted into the depositing / dispensing machine. The theoretical balance will increase. In the conventional cash register device, even if an excess or deficiency occurs due to such an operation error of the deposit / withdrawal machine, it is difficult to identify the cause.

本発明は、上記課題に鑑みてなされたものであり、入出金機の動作エラーにより、入出金機の実際の収納金額と理論残高とが相違する過不足が生じたとしても適切に対応できるキャッシュレジスタ装置を提供することを目的とする。   The present invention has been made in view of the above problems, and is able to appropriately cope with an excess or deficiency in which the actual storage amount of the deposit / withdrawal machine differs from the theoretical balance due to an operation error of the deposit / withdrawal machine. An object is to provide a register device.

上記課題を解決するため、請求項1の発明は、投入された金銭の金額を計数するとともに指定された金額の金銭を放出する入出金機と連動し、前記入出金機による計数結果に基づいて売買取引に係る演算処理を行うキャッシュレジスタ装置であって、前記売買取引に係る演算処理における演算値に基づいて、前記入出金機の収納金額を理論残高として導出する導出手段と、前記入出金機において金銭の投入動作及び放出動作のいずれかの動作エラーが発生した場合に、当該動作エラーの種別情報を特定する種別特定手段と、前記動作エラーにより投入または放出できなかった金額であるエラー金額を取得する金額取得手段と、を備えている。   In order to solve the above-mentioned problem, the invention of claim 1 is based on the counting result by the depositing / dispensing machine in conjunction with the depositing / dispensing machine that counts the amount of inserted money and releases the specified amount of money. A cash register device that performs a calculation process related to a sales transaction, and a derivation unit that derives a storage amount of the deposit / withdrawal machine as a theoretical balance based on a calculation value in the calculation process related to the sales transaction; This is the type identification means for identifying the type information of the operation error when an operation error occurs in the money input operation or the discharge operation in the dispensing machine, and the amount that could not be input or released due to the operation error. Amount acquisition means for acquiring an error amount.

また、請求項2の発明は、請求項1に記載のキャッシュレジスタ装置において、前記動作エラーの種別情報と、該動作エラーに起因する前記エラー金額とを記録用紙に印刷する印刷手段、をさらに備えている。   Further, the invention of claim 2 is the cash register device according to claim 1, further comprising a printing unit that prints the type information of the operation error and the error amount resulting from the operation error on a recording sheet. ing.

また、請求項3の発明は、請求項2に記載のキャッシュレジスタ装置において、前記入出金機の実際の収納金額である実残高を、前記入出金機から取得する取得手段、をさらに備え、前記印刷手段は、前記理論残高と前記実残高とを前記記録用紙にさらに印刷する。   Further, the invention of claim 3 is the cash register device according to claim 2, further comprising an acquisition means for acquiring an actual balance, which is an actual storage amount of the deposit / withdrawal machine, from the deposit / withdrawal machine. The printing unit further prints the theoretical balance and the actual balance on the recording sheet.

また、請求項4の発明は、請求項1に記載のキャッシュレジスタ装置において、前記動作エラーの種別情報、及び、該動作エラーに起因する前記エラー金額に基づいて、前記理論残高を修正する修正手段、をさらに備えている。   According to a fourth aspect of the present invention, in the cash register device according to the first aspect, the correcting means for correcting the theoretical balance based on the type information of the operation error and the error amount resulting from the operation error. , Is further provided.

また、請求項5の発明は、請求項4に記載のキャッシュレジスタ装置において、前記動作エラーの種別情報は、前記投入動作の動作エラー、及び、前記放出動作の動作エラーのいずれであるかを特定可能な情報である。   Further, the invention of claim 5 is the cash register device according to claim 4, wherein the operation error type information specifies whether the operation error of the input operation or the operation error of the discharge operation It is possible information.

また、請求項6の発明は、請求項1ないし5のいずれかに記載のキャッシュレジスタ装置において、時刻を計時する計時手段と、前記動作エラーが発生した場合に、前記計時手段から得られる前記動作エラーの発生時刻と、前記動作エラーの種別情報と、前記動作エラーに起因する前記エラー金額とを記録用紙に印刷する記録手段と、をさらに備えている。   The invention according to claim 6 is the cash register device according to any one of claims 1 to 5, wherein the time measuring means for measuring time and the operation obtained from the time measuring means when the operation error occurs. It further comprises recording means for printing on the recording paper the error occurrence time, the operation error type information, and the error amount resulting from the operation error.

また、請求項7の発明は、請求項1ないし5のいずれかに記載のキャッシュレジスタ装置において、時刻を計時する計時手段と、前記動作エラーが発生した場合に、前記計時手段から得られる前記動作エラーの発生時刻と、前記動作エラーの種別情報と、前記動作エラーに起因する前記エラー金額とを関連付けて記憶する記憶手段と、をさらに備えている。   The invention according to claim 7 is the cash register device according to any one of claims 1 to 5, wherein the clocking means for clocking time and the operation obtained from the clocking means when the operation error occurs. Storage means for storing the error occurrence time, the operation error type information, and the error amount resulting from the operation error in association with each other.

請求項1ないし7の発明によれば、入出金機において金銭の投入動作時及び放出動作時のいずれかの動作エラーが発生した場合に、発生した動作エラーの種別情報を特定するとともに、その動作エラーに起因するエラー金額を取得する。このため、動作エラーにより、入出金機の実際の収納金額と理論残高とが相違する過不足の状態が生じたとしても適切に対応できる。   According to the first to seventh aspects of the present invention, when any of the operation errors during the money input operation and the discharge operation occurs in the depositing / dispensing machine, the type information of the generated operation error is specified and the operation is performed. Get the error amount due to the error. For this reason, even if an excessive or insufficient state in which the actual storage amount of the depositing / dispensing machine differs from the theoretical balance due to an operation error occurs, it can be appropriately handled.

また、特に請求項2の発明によれば、動作エラーの種別情報と、その動作エラーに起因するエラー金額とが関連付けて記録用紙に印刷されるため、過不足の要因を事後的に容易に把握できる。   In particular, according to the invention of claim 2, since the type information of the operation error and the error amount due to the operation error are printed on the recording paper in association with each other, the cause of excess or deficiency can be easily grasped afterwards. it can.

また、特に請求項3の発明によれば、理論残高、実残高、及び、動作エラーに関する情報が一つの記録用紙に印刷されるため、過不足の状況と、その要因とを容易に把握できる。   In particular, according to the third aspect of the invention, since the information regarding the theoretical balance, the actual balance, and the operation error is printed on one recording sheet, it is possible to easily grasp the excess / deficiency situation and the cause thereof.

また、特に請求項4の発明によれば、動作エラーが発生したとしても理論残高を修正して、入出金機の実際の収納金額と理論残高とを一致させることができる。   In particular, according to the invention of claim 4, even if an operation error occurs, the theoretical balance can be corrected so that the actual storage amount of the depositing / dispensing machine matches the theoretical balance.

また、特に請求項5の発明によれば、理論残高を正しく修正できる。   In particular, according to the invention of claim 5, the theoretical balance can be corrected correctly.

また、特に請求項6の発明によれば、動作エラーが発生するごとに、その動作エラーの発生時刻と、種別情報と、エラー金額とが記録用紙に記録されるため、いつどのような動作エラーが発生したかを事後的に把握できる。   In particular, according to the invention of claim 6, every time an operation error occurs, the operation error occurrence time, type information, and error amount are recorded on the recording sheet. It is possible to know afterwards whether or not this occurred.

また、特に請求項7の発明によれば、動作エラーが発生するごとに、その動作エラーの発生時刻と、種別情報と、エラー金額とが関連付けて記憶されるため、いつどのような動作エラーが生じたかを事後的に把握することができる。   In particular, according to the invention of claim 7, every time an operation error occurs, the operation error occurrence time, the type information, and the error amount are stored in association with each other. You can know afterwards what happened.

以下、図面を参照しつつ、本発明の実施の形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<1.第1の実施の形態>
<1−1.構成概要>
図1は、第1の実施の形態に係るキャッシュレジスタ装置であるPOSターミナル2が適用されるPOSシステム(キャッシュレジスタシステム)100の概要を示す図である。このPOSシステム100は、スーパーマーケットやコンビニエンスストアなどの店舗において採用されるものであり、POSサーバ1と、複数のPOSターミナル2とを主に備えている。POSサーバ1と複数のPOSターミナル2とはLAN41によって接続され、相互にデータ通信が可能とされている。また、複数のPOSターミナル2のそれぞれには入出金機3がケーブル42によって接続されている。これにより、各POSターミナル2は、自装置に接続された入出金機3とデータ通信が可能となっている。
<1. First Embodiment>
<1-1. Outline of configuration>
FIG. 1 is a diagram showing an outline of a POS system (cash register system) 100 to which a POS terminal 2 which is a cash register apparatus according to the first embodiment is applied. The POS system 100 is employed in a store such as a supermarket or a convenience store, and mainly includes a POS server 1 and a plurality of POS terminals 2. The POS server 1 and a plurality of POS terminals 2 are connected by a LAN 41 so that data communication is possible between them. In addition, a depositing / dispensing machine 3 is connected to each of the plurality of POS terminals 2 by a cable 42. Thereby, each POS terminal 2 can perform data communication with the depositing / dispensing machine 3 connected to the self-device.

POSサーバ1は、POSシステム100の全体を統括的に管理する装置であり、通常は店舗の販売エリアとは別の管理事務所等に配置される。POSサーバ1は、CPU、RAM、ROM、ハードディスク等を備えた一般的なコンピュータで構成される。POSサーバ1のハードディスクには、当該店舗で扱われる各商品の商品データが登録された商品マスタなど、POSシステム100の全体で必要となるデータが記憶される。   The POS server 1 is a device that manages the entire POS system 100 in an integrated manner, and is usually arranged in a management office or the like separate from the sales area of the store. The POS server 1 is composed of a general computer having a CPU, RAM, ROM, hard disk and the like. The hard disk of the POS server 1 stores data necessary for the entire POS system 100, such as a product master in which product data of each product handled at the store is registered.

POSターミナル2は、主として商品の売買取引の際に店舗の販売スタッフによって実際に操作される装置であり、店舗の販売エリアに配置される。POSターミナル2は、売買取引ごとに精算処理を実行する。精算処理では、売買取引に係る商品の商品登録(商品データの登録)、及び、売買取引に係る各種の演算処理(商品の合計価格や釣銭の導出等)がなされる。   The POS terminal 2 is a device that is actually operated by a sales staff of a store mainly when buying and selling merchandise, and is arranged in a sales area of the store. The POS terminal 2 executes a settlement process for each sales transaction. In the settlement process, product registration (product data registration) of products related to sales transactions and various calculation processes (derivation of total price of products, change, etc.) related to sales transactions are performed.

また、入出金機3は、投入された金銭の金額を計数する入金機能と、指定された金額の金銭を放出する出金機能と、金銭を収納する収納機能とを有する装置である。POSターミナル2は精算処理において、自装置に接続された入出金機3と連動することになる。原則として、精算処理において顧客と販売スタッフとの間で受け渡される全ての金銭は、入出金機3において計数される。また原則として、売買取引に関する全ての金銭(売上金及び釣銭準備金の双方)は、入出金機3に収納される。   The depositing / dispensing machine 3 is a device having a depositing function for counting the amount of money inserted, a dispensing function for discharging a specified amount of money, and a storage function for storing money. The POS terminal 2 is interlocked with the deposit / withdrawal machine 3 connected to the own device in the settlement process. In principle, all money transferred between the customer and the sales staff in the checkout process is counted in the depositing / dispensing machine 3. Also, in principle, all money related to sales transactions (both sales and change reserves) is stored in the deposit / withdrawal machine 3.

精算処理において顧客から受け渡された預かり金は、入出金機3に投入される。投入された預かり金の金額は入出金機3により正確に計数され、その計数結果が信号でPOSターミナル2に受け渡されて演算処理に利用される。また、POSターミナル2において釣銭の金額が導出されると、導出された釣銭の金額が信号で入出金機3に受け渡され、その金額の金銭が釣銭として入出金機3から放出されるようになっている。   The deposit received from the customer in the settlement process is input to the deposit / withdrawal machine 3. The amount of the deposited money is accurately counted by the depositing / dispensing machine 3, and the counting result is transferred to the POS terminal 2 as a signal and used for the arithmetic processing. Further, when the amount of change is derived at the POS terminal 2, the derived amount of change is transferred to the depositing / dispensing machine 3 by a signal, and the amount of money is discharged from the depositing / dispensing machine 3 as change. It has become.

<1−2.POSターミナル>
図2は、POSターミナル2の外観構成を示す図である。図に示すように、POSターミナル2は、各種情報の表示を行う2つのディスプレイ22,23と、ユーザの操作や入力を受け付ける複数のボタンからなる操作キー部24と、商品に付されたバーコードなどを読み取るバーコードリーダ25と、記録用紙を印刷してレシート等を発行する印刷発行部26と、金銭を収納可能なドロワ27とを備えている。操作キー部24には、小計キーやテンキーなどの各種のボタンが含まれている。
<1-2. POS terminal>
FIG. 2 is a diagram showing an external configuration of the POS terminal 2. As shown in the figure, the POS terminal 2 includes two displays 22 and 23 for displaying various information, an operation key unit 24 including a plurality of buttons for receiving user operations and inputs, and a bar code attached to a product. And the like, a print issuing unit 26 that prints recording paper and issues receipts, and a drawer 27 that can store money. The operation key unit 24 includes various buttons such as a subtotal key and a numeric keypad.

また、2つのディスプレイ22,23のうち、一方はユーザたる販売スタッフの側に示すべき情報を表示する販売側ディスプレイ22であり、他方は顧客の側に示すべき情報を表示する顧客側ディスプレイ23である。顧客側ディスプレイ23の画面は、精算処理において顧客が視認しやすいように、その向きが調整可能となっている。   Of the two displays 22 and 23, one is a sales-side display 22 that displays information to be shown to the sales staff as a user, and the other is a customer-side display 23 that displays information to be shown to the customer. is there. The orientation of the screen of the customer-side display 23 can be adjusted so that the customer can easily see in the checkout process.

図3は、POSターミナル2の内部構成を含めた構成を示すブロック図である。図に示すように、POSターミナル2はその内部に、装置全体を制御するとともに、各種の演算処理を行うコンピュータである制御部21を備えている。制御部21は、演算処理を行うCPU201と、制御用プログラム等を記憶するROM202と、演算処理の作業領域となるRAM203と、各種データを記憶する不揮発性メモリであるバッテリーバックアップされたSRAM204と、時刻を計時する機能を有するタイマ205とを備えている。制御部21の各種機能は、CPU201がROM202内の制御用プログラムに従って演算処理を行うことで実現される。   FIG. 3 is a block diagram showing a configuration including the internal configuration of the POS terminal 2. As shown in the figure, the POS terminal 2 includes therein a control unit 21 that is a computer that controls the entire apparatus and performs various arithmetic processes. The control unit 21 includes a CPU 201 that performs arithmetic processing, a ROM 202 that stores a control program and the like, a RAM 203 that is a work area for arithmetic processing, a battery-backed SRAM 204 that is a nonvolatile memory that stores various data, a time And a timer 205 having a function of measuring time. Various functions of the control unit 21 are realized by the CPU 201 performing arithmetic processing according to the control program in the ROM 202.

POSターミナル2の制御部21は、精算処理における演算値に基づいて、入出金機3が収納している理論上の金額(以下、「理論残高」という。)を導出して把握している。具体的には、理論残高を示す内部変数がRAM203に記憶されており、精算処理で導出された商品の合計価格に基づいて理論残高がCPU201により更新される。この理論残高の更新を含む精算処理の詳細については後述する。   The control unit 21 of the POS terminal 2 derives and grasps a theoretical amount (hereinafter referred to as “theoretical balance”) stored in the deposit / withdrawal machine 3 based on a calculation value in the settlement process. Specifically, an internal variable indicating the theoretical balance is stored in the RAM 203, and the theoretical balance is updated by the CPU 201 based on the total price of the products derived by the settlement process. Details of the settlement process including the update of the theoretical balance will be described later.

また、上述した販売側ディスプレイ22、顧客側ディスプレイ23、操作キー部24、バーコードリーダ25、ドロワ27及び印刷発行部26の各部は、バスライン20を介して制御部21に接続される。これにより、POSターミナル2の各部は制御部21の制御下で動作するとともに、操作キー部24及びバーコードリーダ25で取得された情報は制御部21に入力される。   The sales side display 22, the customer side display 23, the operation key unit 24, the barcode reader 25, the drawer 27, and the print issuing unit 26 are connected to the control unit 21 via the bus line 20. Thereby, each unit of the POS terminal 2 operates under the control of the control unit 21, and information acquired by the operation key unit 24 and the barcode reader 25 is input to the control unit 21.

また、POSターミナル2は、LAN41を介して通信するための通信部28と、ケーブル42を介して通信するためのインターフェイス29とを備えている。これら通信部28及びインターフェイス29もバスライン20を介して制御部21に接続されている。これにより、制御部21はPOSサーバ1及び入出金機3との間で、各種信号やデータの送受信を行うことが可能となっている。   The POS terminal 2 includes a communication unit 28 for communicating via the LAN 41 and an interface 29 for communicating via the cable 42. The communication unit 28 and the interface 29 are also connected to the control unit 21 via the bus line 20. Thereby, the control part 21 can transmit / receive various signals and data between the POS server 1 and the deposit / withdrawal machine 3.

<1−3.入出金機>
図4は、入出金機3の外観構成を示す図である。図に示すように、入出金機3は、前面側上部に硬貨を投入するための硬貨投入部32を備え、前面側右方に紙幣を投入するための紙幣投入部34を備えている。また、前面側左方には硬貨を放出するための硬貨放出部33を備え、紙幣投入部34の左側には紙幣を放出するための紙幣放出部35を備えている。
<1-3. Deposit / withdrawal machine>
FIG. 4 is a diagram showing an external configuration of the depositing / dispensing machine 3. As shown in the figure, the depositing / dispensing machine 3 includes a coin insertion unit 32 for inserting coins into the upper part on the front side, and a bill insertion unit 34 for inserting banknotes on the right side of the front side. In addition, a coin discharge unit 33 for discharging coins is provided on the left side of the front side, and a banknote discharge unit 35 for discharging banknotes is provided on the left side of the banknote insertion unit 34.

精算処理において顧客から受け渡された預かり金は、硬貨投入部32及び紙幣投入部34を介して入出金機3に収納される。また、釣銭は、硬貨放出部33及び紙幣放出部35を介して入出金機3から払い出される。   The deposit received from the customer in the settlement process is stored in the depositing / dispensing machine 3 through the coin insertion unit 32 and the bill insertion unit 34. Further, the change is paid out from the depositing / dispensing machine 3 through the coin discharging unit 33 and the banknote discharging unit 35.

図5は、入出金機3の内部構成を含めた構成を示すブロック図である。図に示すように、入出金機3はその内部に、硬貨投入部32を介して投入された硬貨を計数する硬貨計数部36と、硬貨を収納する硬貨収納部361と、紙幣投入部34を介して投入された紙幣を計数する紙幣計数部37と、紙幣を収納する紙幣収納部371とを備えている。硬貨計数部36及び紙幣計数部37は、投入された金銭が真貨であるか否かを判別する機能も有している。   FIG. 5 is a block diagram showing a configuration including the internal configuration of the depositing / dispensing machine 3. As shown in the figure, the depositing / dispensing machine 3 includes therein a coin counting unit 36 that counts coins inserted through a coin insertion unit 32, a coin storage unit 361 that stores coins, and a bill insertion unit 34. The banknote counting part 37 which counts the banknote thrown in via, and the banknote accommodating part 371 which accommodates a banknote are provided. The coin counting unit 36 and the bill counting unit 37 also have a function of determining whether or not the inserted money is a true coin.

硬貨収納部361は、硬貨計数部36で計数された硬貨を収納するとともに、外部へ放出すべき硬貨を硬貨放出部33に供給する。同様に、紙幣収納部371は、紙幣計数部37で計数された紙幣を収納するとともに、外部へ放出すべき紙幣を紙幣放出部35に供給する。   The coin storage unit 361 stores the coins counted by the coin counting unit 36 and supplies the coins to be discharged to the coin discharge unit 33. Similarly, the banknote storage unit 371 stores the banknotes counted by the banknote counting unit 37 and supplies the banknotes to be discharged to the banknote discharge unit 35.

また、入出金機3は、その内部に装置全体を制御するとともに、各種の演算処理を行うコンピュータである制御部31を備えている。制御部31は、演算処理を行うCPU301と、制御用プログラム等を記憶するROM302と、演算処理の作業領域となるRAM303と、各種データを記憶する不揮発性メモリであるバッテリーバックアップされたSRAM304とを備えている。制御部31の各種機能は、CPU301がROM302内の制御用プログラムに従って演算処理を行うことで実現される。   The depositing / dispensing machine 3 includes a control unit 31 that is a computer that controls the entire apparatus and performs various arithmetic processes. The control unit 31 includes a CPU 301 that performs arithmetic processing, a ROM 302 that stores a control program, a RAM 303 that is a work area for arithmetic processing, and a battery-backed SRAM 304 that is a non-volatile memory that stores various data. ing. Various functions of the control unit 31 are realized by the CPU 301 performing arithmetic processing according to the control program in the ROM 302.

上述した硬貨投入部32、硬貨放出部33、紙幣投入部34、紙幣放出部35、硬貨計数部36及び紙幣計数部37の各部は、バスライン30を介して制御部31に接続される。これにより、入出金機3の各部は制御部31の制御下で動作するとともに、硬貨計数部36及び紙幣計数部37における計数結果は制御部31に入力される。   The above-described coin insertion unit 32, coin release unit 33, bill insertion unit 34, bill release unit 35, coin counting unit 36, and bill counting unit 37 are connected to the control unit 31 via the bus line 30. Thereby, each part of the depositing / dispensing machine 3 operates under the control of the control unit 31, and count results in the coin counting unit 36 and the bill counting unit 37 are input to the control unit 31.

入出金機3の制御部31は、硬貨計数部36及び紙幣計数部37の計数結果、及び、硬貨放出部33及び紙幣放出部35が放出した金額に基づいて、硬貨収納部361及び紙幣収納部371が実際に収納している金額(以下、「実残高」という。)を導出して把握している。具体的には、実残高を示す内部変数がRAM303に記憶されており、実際の金銭の投入や放出に応じて実金額がCPU301により更新される。さらに、制御部31は、硬貨収納部361及び紙幣収納部371に収納されている金銭の種別とその数も把握している。   The control unit 31 of the depositing / dispensing machine 3 includes a coin storage unit 361 and a banknote storage unit based on the counting results of the coin counting unit 36 and the banknote counting unit 37 and the amount of money released by the coin discharging unit 33 and the banknote discharging unit 35. 371 derives and grasps the amount actually stored (hereinafter referred to as “actual balance”). Specifically, an internal variable indicating the actual balance is stored in the RAM 303, and the actual amount is updated by the CPU 301 in accordance with actual money input or release. Furthermore, the control unit 31 also grasps the types and numbers of money stored in the coin storage unit 361 and the banknote storage unit 371.

また、入出金機3は、ケーブル42を介して通信するためのインターフェイス39を備えている。インターフェイス39もバスライン30を介して制御部31に接続されている。これにより、制御部31はPOSターミナル2との間で、各種信号やデータの送受信を行うことが可能となっている。   The depositing / dispensing machine 3 includes an interface 39 for communicating via the cable 42. The interface 39 is also connected to the control unit 31 via the bus line 30. As a result, the control unit 31 can transmit and receive various signals and data to and from the POS terminal 2.

このような入出金機3においては、投入すべき預かり金を投入できない、あるいは、放出すべき釣銭を放出できないという動作エラーが発生することがある。このような動作エラーとしては、「釣銭切れ」「リジェクト」及び「釣銭フル」がある。   In such a depositing / dispensing machine 3, there may be an operation error that the deposit to be inserted cannot be inserted or the change to be released cannot be released. Such operation errors include “change change”, “reject”, and “change change full”.

「釣銭切れ」とは、放出すべき釣銭を放出できないという放出動作の動作エラーである。釣銭を放出する際には、その金額を指定する信号がPOSターミナル2から入出金機3に入力される。しかしながら、硬貨収納部361及び紙幣収納部371に収納された金銭の金額が指定された金額に満たない場合や、収納された金銭では指定された金額の組合せを実現できない場合は、釣銭が放出されない。すなわち、「釣銭切れ」が発生する。   “Out of change” is an operation error of the discharge operation in which change to be released cannot be released. When the change is released, a signal for specifying the amount is input from the POS terminal 2 to the depositing / dispensing machine 3. However, if the amount of money stored in the coin storage unit 361 and the bill storage unit 371 is less than the specified amount, or if the combination of the specified amounts cannot be realized with the stored money, no change is released. . In other words, “out of change” occurs.

「リジェクト」とは、投入すべき預かり金を投入できないという投入動作の動作エラーである。預かり金を投入した場合において、金銭が真貨であっても、汚れや折り目などにより硬貨計数部36及び紙幣計数部37にその金銭が真貨と認識されない場合がある。この場合、真貨と認識されない金銭は、入出金機3に収納されずにそのまま放出される。すなわち、「リジェクト」が発生する。   “Reject” is an operation error of the input operation in which the deposit to be input cannot be input. When depositing money, even if the money is a true coin, the coin counting unit 36 and the bill counting unit 37 may not recognize the money as a true coin due to dirt or creases. In this case, money that is not recognized as a true coin is released without being stored in the depositing / dispensing machine 3. That is, “reject” occurs.

「釣銭フル」とは、投入すべき預かり金を投入できないという投入動作の動作エラーである。預かり金を投入した場合において、金銭が真貨と認識された場合あっても、硬貨収納部361及び紙幣収納部371の収納スペースが物理的に満杯であれば、さらなる金銭の収納はできない。このため、この場合においては、収納できない金銭は入出金機3に収納されずにそのまま放出される。すなわち、「釣銭フル」が発生する。なお、「リジェクト」及び「釣銭フル」の場合においては、預かり金のうちの一部の金銭のみが入出金機3に収納され、残りの金銭が入出金機3に収納されずに放出されるといった場面もあり得る。   “Changing full” is an operation error of the input operation in which the deposit to be input cannot be input. Even when the deposit is inserted, even if the money is recognized as a true coin, if the storage space of the coin storage unit 361 and the bill storage unit 371 is physically full, further money cannot be stored. For this reason, in this case, the money that cannot be stored is discharged without being stored in the depositing / dispensing machine 3. That is, "change full" occurs. In the case of “Reject” and “Changing full”, only a part of the deposited money is stored in the depositing / dispensing machine 3 and the remaining money is released without being stored in the depositing / dispensing machine 3. There can be a scene like this.

入出金機3においてこのような動作エラーが発生したときには、制御部31の制御により動作エラー信号が入出金機3からPOSターミナル2に送信されるようになっている。動作エラー信号には、発生した動作エラーが、「釣銭切れ」「リジェクト」及び「釣銭フル」のいずれであるかを示す種別情報が含まれている。   When such an operation error occurs in the depositing / dispensing machine 3, an operation error signal is transmitted from the depositing / dispensing machine 3 to the POS terminal 2 under the control of the control unit 31. The operation error signal includes type information indicating whether the generated operation error is “change change”, “reject”, or “change change full”.

<1−4.精算処理>
POSターミナル2は、精算処理において動作エラー信号を入出金機3から受信すると、それに応じた処理を行うようになっている。以下、このようなPOSターミナル2の精算処理について説明する。
<1-4. Checkout process>
When the POS terminal 2 receives an operation error signal from the deposit / withdrawal machine 3 in the settlement process, the POS terminal 2 performs a process corresponding thereto. Hereinafter, the settlement process of the POS terminal 2 will be described.

図6及び図7は、精算処理の流れを示す図である。図6及び図7に示す一連の処理は、一の売買取引ごと(一の顧客が購入を希望する商品群ごと)になされる処理である。また、図6及び図7において、左側はPOSターミナル2の処理の流れを示し、右側は入出金機3の処理の流れを示している。   6 and 7 are diagrams illustrating the flow of the settlement process. The series of processes shown in FIG. 6 and FIG. 7 is a process performed for each sales transaction (for each product group that one customer desires to purchase). 6 and 7, the left side shows the processing flow of the POS terminal 2, and the right side shows the processing flow of the depositing / dispensing machine 3.

まず、顧客が購入を希望する商品に付されたバーコードが、POSターミナル2のバーコードリーダ25によって読み取られる。これにより取得された商品コードに基づいてPOSサーバ1内の商品マスタが参照され、当該商品の「商品名」及び「価格」などの商品データがPOSターミナル2に取得される。取得された商品データはRAM202に記憶され、これにより当該商品の商品登録がなされる。このような商品登録は、顧客が購入を希望する全ての商品について行われる(ステップS11)。   First, the barcode attached to the product that the customer desires to purchase is read by the barcode reader 25 of the POS terminal 2. The product master in the POS server 1 is referred to based on the product code thus acquired, and product data such as “product name” and “price” of the product is acquired in the POS terminal 2. The acquired product data is stored in the RAM 202, thereby registering the product for the product. Such product registration is performed for all products that the customer wishes to purchase (step S11).

全ての商品について商品登録がなされると、ユーザたる販売スタッフにより操作キー部24に含まれる小計キーが押下される。小計キーが押下されると(ステップS12にてYes)、全ての商品についての「価格」がCPU201により合計され、その結果の演算値が合計価格としてRAM202に記憶される(ステップS13)。   When product registration is made for all products, a subtotal key included in the operation key unit 24 is pressed by the sales staff serving as the user. When the subtotal key is pressed (Yes in step S12), the “price” for all the products is totaled by the CPU 201, and the calculated value as a result is stored in the RAM 202 (step S13).

導出された合計価格は、2つのディスプレイ22,23に表示される。この合計価格の表示に基づいて、預かり金となる決済用の金銭が顧客から店舗スタッフに受け渡される。預かり金は、入出金機3の硬貨投入部32及び紙幣投入部34に、店舗スタッフにより投入される。預かり金が入出金機3に投入されると、入出金機3の硬貨計数部36及び紙幣計数部37により預かり金の金額が計数される。そして、その計数結果(すなわち、預かり金の金額)を示す信号(以下、「計数結果信号」という。)が、入出金機3からPOSターミナル2に送信される(ステップS91)。   The derived total price is displayed on the two displays 22 and 23. Based on the display of the total price, payment money as a deposit is transferred from the customer to the store staff. The deposit is put into the coin insertion unit 32 and the bill insertion unit 34 of the deposit / withdrawal machine 3 by the store staff. When the deposit is put into the depositing / dispensing machine 3, the amount of the deposit is counted by the coin counting unit 36 and the bill counting unit 37 of the depositing / dispensing machine 3. Then, a signal indicating the counting result (that is, the amount of deposit) (hereinafter referred to as “counting result signal”) is transmitted from the depositing / dispensing machine 3 to the POS terminal 2 (step S91).

しかしながら、この入出金機3の投入動作において「リジェクト」あるいは「釣銭フル」の動作エラーが発生した場合は、動作エラー信号が入出金機3からPOSターミナル2に送信される。また、「リジェクト」あるいは「釣銭フル」の動作エラーにより、預かり金のうちの一部の金銭のみが入出金機3に収納され、残りの金銭が収納されずに放出された場合は、収納された一部の金銭の金額を示す計数結果信号と、動作エラー信号との双方が、入出金機3からPOSターミナル2に送信される。   However, when an operation error of “reject” or “change full” occurs in the depositing / dispensing machine 3, an operation error signal is transmitted from the depositing / dispensing machine 3 to the POS terminal 2. In addition, only part of the deposit money is stored in the depositing / dispensing machine 3 due to an operation error of “reject” or “change change”, and the remaining money is stored without being stored. Both the counting result signal indicating the amount of money and the operation error signal are transmitted from the depositing / dispensing machine 3 to the POS terminal 2.

入出金機3から送信された信号はPOSターミナル2に受信される(ステップS14)。そして、受信した信号に動作エラー信号がなかった場合(すなわち、入出金機3の投入動作において動作エラーが発生しなかった場合)は(ステップS15にてNo)、計数結果信号に基づいて預かり金の金額がCPU201により取得され、RAM202に記憶される(ステップS16)。   The signal transmitted from the depositing / dispensing machine 3 is received by the POS terminal 2 (step S14). If there is no operation error signal in the received signal (that is, no operation error has occurred in the input operation of the depositing / dispensing machine 3) (No in step S15), the deposit is made based on the count result signal. Is acquired by the CPU 201 and stored in the RAM 202 (step S16).

一方、受信した信号に動作エラー信号があった場合(すなわち、入出金機3の投入動作において動作エラーが発生した場合)は(ステップS15にてYes)、まず、動作エラーがあった旨が販売側ディスプレイ22に表示される(ステップS17)。   On the other hand, if there is an operation error signal in the received signal (that is, if an operation error has occurred in the input operation of the depositing / dispensing machine 3) (Yes in step S15), it is first sold that there was an operation error. It is displayed on the side display 22 (step S17).

次に、動作エラー信号とともに計数結果信号を受信していた場合は、その計数結果信号に基づいて、預かり金のうち入出金機3に投入できた金銭の金額(以下、「投入済金額」という。)が、CPU201により取得され、RAM202に記憶される(ステップS18)。   Next, when the counting result signal is received together with the operation error signal, the amount of money that can be put into the depositing / dispensing machine 3 out of the deposit (hereinafter referred to as “the amount that has been put in”) based on the counting result signal. Is acquired by the CPU 201 and stored in the RAM 202 (step S18).

次に、預かり金のうち入出金機3に投入できなかった金銭の金額(以下、「未投入金額」という。)が、操作キー部24を介して店舗スタッフにより操作入力される。これにより、未投入金額がPOSターミナル2に取得され、RAM202に記憶される。入出金機3に投入できなかった金銭はドロワ27などに収納される。未投入金額は、「リジェクト」あるいは「釣銭フル」の動作エラーに起因して入出金機3に投入できなかったエラー金額であるともいえる(ステップS19)。   Next, the money of the deposit that could not be inserted into the depositing / dispensing machine 3 (hereinafter referred to as “uninjected amount”) is input by the store staff via the operation key unit 24. Thereby, the uninjected amount is acquired by the POS terminal 2 and stored in the RAM 202. Money that could not be put into the depositing / dispensing machine 3 is stored in the drawer 27 or the like. The uninjected amount can be said to be an error amount that could not be inserted into the depositing / dispensing machine 3 due to an operation error of “reject” or “change change” (step S19).

次に、投入済金額と未投入金額とがCPU201により加算され、その結果が預かり金の金額とされる。導出された預かり金の金額は、RAM202に記憶される(ステップS20)。   Next, the invested amount and the uninjected amount are added by the CPU 201, and the result is used as the deposit amount. The derived deposit amount is stored in the RAM 202 (step S20).

このようにして預かり金の金額が得られると、次に、預かり金の金額から合計価格がCPU201により差し引かれ、その結果が釣銭金額とされる。導出された釣銭金額は、2つのディスプレイ22,23に表示される(図7のステップS21)。次に、釣銭金額を指定してその金銭の放出を指示する釣銭指示信号が、POSターミナル2から入出金機3に送信される(ステップS22)。   When the deposit amount is obtained in this way, the CPU 201 subtracts the total price from the deposit amount, and the result is used as the change amount. The derived change amount is displayed on the two displays 22 and 23 (step S21 in FIG. 7). Next, a change instruction signal designating the change amount and instructing the release of the change is transmitted from the POS terminal 2 to the depositing / dispensing machine 3 (step S22).

この釣銭指示信号の受信に応答して入出金機3では、釣銭指示信号が指定する釣銭金額の金銭が、硬貨放出部33及び紙幣放出部35から放出される。放出された金銭は、釣銭として店舗スタッフにより顧客に受け渡される。このようにして入出金機3が正常に釣銭を放出した場合は、正常完了信号が入出金機3からPOSターミナル2に送信される。しかしながら、この入出金機3の放出動作において「釣銭切れ」の動作エラーが発生した場合は、動作エラー信号が入出金機3からPOSターミナル2に送信される(ステップS92)。   In response to the receipt of the change instruction signal, the depositing / dispensing machine 3 releases the change amount specified by the change instruction signal from the coin discharge unit 33 and the bill release unit 35. The released money is delivered to the customer by the store staff as change. When the deposit / withdrawal machine 3 normally releases change in this way, a normal completion signal is transmitted from the deposit / withdrawal machine 3 to the POS terminal 2. However, when an operation error “out of change” occurs in the dispensing operation of the depositing / dispensing machine 3, an operation error signal is transmitted from the depositing / dispensing machine 3 to the POS terminal 2 (step S92).

入出金機3から送信された信号はPOSターミナル2に受信される(ステップS23)。受信した信号が正常完了信号の場合(すなわち、入出金機3の放出動作において動作エラーが発生しなかった場合)は(ステップS24にてNo)、処理はそのままステップS27に進む。   The signal transmitted from the depositing / dispensing machine 3 is received by the POS terminal 2 (step S23). If the received signal is a normal completion signal (that is, if an operation error has not occurred in the discharging operation of depositing / dispensing machine 3) (No in step S24), the process proceeds directly to step S27.

一方、受信した信号が動作エラー信号の場合(すなわち、入出金機3の放出動作において動作エラーが発生した場合)は(ステップS24にてYes)、まず、動作エラーがあった旨が販売側ディスプレイ22に表示される(ステップS25)。このようなエラー表示があった場合は、釣銭が入出金機3から放出されないため、ドロワ27や店舗事務室などから釣銭が持ち出されて顧客に受け渡される。   On the other hand, when the received signal is an operation error signal (that is, when an operation error occurs in the discharging operation of the depositing / dispensing machine 3) (Yes in step S24), first, the sales side display indicates that there is an operation error. 22 (step S25). If there is such an error display, the change is not released from the depositing / dispensing machine 3, so the change is taken out from the drawer 27 or the store office and delivered to the customer.

続いて、入出金機3が放出できなかった金銭の金額(以下、「未放出金額」という。)が取得される。本実施の形態の入出金機3は、「釣銭切れ」の場合には、釣銭となる全ての金銭を放出しない。このため、ステップS21において導出された釣銭金額が、そのまま未放出金額としてCPU201により取得され、RAM202に記憶される。未放出金額は「釣銭切れ」の動作エラーに起因して入出金機3から放出できなかったエラー金額であるともいえる(ステップS26)。   Subsequently, the amount of money that could not be released by the depositing / dispensing machine 3 (hereinafter referred to as “unreleased amount”) is acquired. The deposit / withdrawal machine 3 according to the present embodiment does not release all the money to be changed in the case of “out of change”. For this reason, the change amount derived in step S <b> 21 is acquired by the CPU 201 as an unreleased amount as it is and stored in the RAM 202. It can be said that the unreleased amount is an error amount that could not be released from the depositing / dispensing machine 3 due to an operation error of “out of change” (step S26).

ステップS27では、ステップS13において導出された合計価格に基づいて、RAM203に記憶された理論残高が更新される。具体的には、その時点の理論残高に合計価格がCPU201により加算され、その結果が新たな理論残高とされる(ステップS27)。ただし、以上の処理過程において入出金機3において動作エラーが生じたときには、理論残高と実残高とはこの時点で相違することになる(具体例については後述。)。   In step S27, the theoretical balance stored in the RAM 203 is updated based on the total price derived in step S13. Specifically, the total price is added by the CPU 201 to the theoretical balance at that time, and the result is set as a new theoretical balance (step S27). However, when an operation error occurs in the depositing / dispensing machine 3 in the above process, the theoretical balance and the actual balance are different at this point (a specific example will be described later).

次に、印刷発行部26により、売買取引の内容が記録用紙に印刷され、レシートとして発行される(ステップS28)。通常は、このレシートの発行により精算処理が完了する。しかしながら、以上の処理過程において動作エラー信号を入出金機3から受信していた場合は、動作エラーに対応すべくエラー対応処理がさらに行われる(ステップS29,S30)。   Next, the contents of the sales transaction are printed on a recording sheet by the print issuing unit 26 and issued as a receipt (step S28). Normally, the settlement process is completed by issuing this receipt. However, if an operation error signal has been received from the deposit / withdrawal machine 3 in the above process, an error handling process is further performed to cope with the operation error (steps S29 and S30).

図8は、エラー対応処理の流れの詳細を示す図である。まず、タイマ205が計時している時刻が取得される(ステップS31)。このとき取得された時刻は、以降、動作エラーの発生時刻として取り扱われる。なお、動作エラー信号を受信した時点で、タイマ205が計時している時刻が取得され、その時刻が動作エラーの発生時刻とされてもよい。   FIG. 8 is a diagram showing details of the flow of error handling processing. First, the time measured by the timer 205 is acquired (step S31). The time acquired at this time is hereinafter treated as an operation error occurrence time. Note that when the operation error signal is received, the time measured by the timer 205 may be acquired, and that time may be set as the operation error occurrence time.

次に、入出金機3において発生した動作エラーの種別情報が、CPU201により特定される。前述のように、入出金機3から受信した動作エラー信号には、発生した動作エラーが「釣銭切れ」「リジェクト」及び「釣銭フル」のいずれであるかを示す種別情報が含まれている。このため、この動作エラー信号に基づいて、発生した動作エラーの種別情報が容易に特定される(ステップS32)。   Next, the CPU 201 identifies type information of an operation error that has occurred in the depositing / dispensing machine 3. As described above, the operation error signal received from the deposit / withdrawal machine 3 includes type information indicating whether the generated operation error is “change change”, “reject”, or “change change”. Therefore, the type information of the generated operation error is easily specified based on the operation error signal (step S32).

次に、以上のようにして取得された動作エラーに関連する情報が、SRAM204に記憶される。SRAM204には、発生した全ての動作エラーに関する情報が登録されるテーブルデータであるエラーテーブルが記憶されている。このエラーテーブルに対して、動作エラーの発生時刻と、動作エラーの種別情報と、動作エラーに起因するエラー金額とが関連付けられて記録される(ステップS33)。   Next, information related to the operation error acquired as described above is stored in the SRAM 204. The SRAM 204 stores an error table, which is table data in which information regarding all generated operation errors is registered. In the error table, an operation error occurrence time, operation error type information, and an error amount resulting from the operation error are recorded in association with each other (step S33).

図9は、エラーテーブル72の一例を示す図である。図に示すように、エラーテーブル72では、一つのレコードRに一つの動作エラーに関連する情報が登録される。すなわち、各レコードRにおいては、一つの動作エラーに関する発生時刻、種別情報、及び、エラー金額が関連付けられている。エラーテーブル72のレコードRは、精算処理において入出金機3の動作エラーが発生するごとに登録される。したがって、このエラーテーブル72を参照することで、いつどのような動作エラーが入出金機3において発生したかを事後的に把握することが可能となる。   FIG. 9 is a diagram illustrating an example of the error table 72. As shown in the figure, in the error table 72, information related to one operation error is registered in one record R. That is, in each record R, the occurrence time, type information, and error amount related to one operation error are associated. The record R in the error table 72 is registered every time an operation error of the deposit / withdrawal machine 3 occurs in the settlement process. Therefore, by referring to the error table 72, it is possible to grasp afterwards what kind of operation error has occurred in the depositing / dispensing machine 3.

エラーテーブル72に情報が記録されると、エラーテーブル72に記録された情報と同一の情報が、印刷発行部26により記録用紙に印刷され、エラー伝票として発行される(ステップS34)。図10は、発行されたエラー伝票71の一例を示す図である。図に示すように、エラー伝票71においては、一つの動作エラーに関する発生時刻71a、種別情報71b、及び、エラー金額71cが印刷されている。動作エラーが発生するごとに、このようなエラー伝票71が発行される。このため、エラーテーブル72を閲覧する装置を利用せずとも、エラー伝票71を管理しておくことで、いつどのような動作エラーが入出金機3において発生したかを事後的に把握することが可能となる。   When the information is recorded in the error table 72, the same information as the information recorded in the error table 72 is printed on the recording sheet by the print issuing unit 26 and issued as an error slip (step S34). FIG. 10 is a diagram illustrating an example of the issued error slip 71. As shown in the figure, in the error slip 71, an occurrence time 71a, type information 71b, and error amount 71c relating to one operation error are printed. Each time an operation error occurs, such an error slip 71 is issued. For this reason, by managing the error slip 71 without using an apparatus for viewing the error table 72, it is possible to grasp afterwards when and what kind of operation error has occurred in the depositing / dispensing machine 3. It becomes possible.

なお、一回の精算処理において「リジェクト」と「釣銭切れ」とが生じるなど、複数回の動作エラーが発生することもある。この場合は、発生した動作エラーごとに図8に示すエラー対応処理が実行される。したがって、発生した動作エラーごとに、エラーテーブル72のレコードRが登録されるとともに、エラー伝票71が発行されることになる。   Note that multiple operation errors may occur, such as “reject” and “change change” in one settlement process. In this case, the error handling process shown in FIG. 8 is executed for each operation error that has occurred. Therefore, for each operation error that occurs, the record R of the error table 72 is registered and an error slip 71 is issued.

<1−5.在高登録処理>
POSターミナル2では、上記の精算処理が繰り返された後、店舗の営業時間の終了後などにおいて在高登録処理と呼ばれる処理が実行される。この在高登録処理では、POSターミナル2が管理している理論残高と、入出金機3の実際の収納金額である実残高とが対比され、過不足の存在が確認される。
<1-5. Bank registration processing>
In the POS terminal 2, after the above settlement process is repeated, a process called a cash order registration process is executed after the business hours of the store are over. In the cash balance registration process, the theoretical balance managed by the POS terminal 2 is compared with the actual balance, which is the actual storage amount of the deposit / withdrawal machine 3, and the existence of excess or deficiency is confirmed.

図11は、在高登録処理の流れを示す図である。以下、図11を参照して在高登録処理の流れを説明する。   FIG. 11 is a diagram illustrating a flow of the cash amount registration process. Hereinafter, the flow of the cash amount registration process will be described with reference to FIG.

まず、RAM203に記憶された理論残高が取得される(ステップS41)。次に、入出金機3に所定の制御信号が送信され、入出金機3の制御部31が管理している実残高が、入出金機3からPOSターミナル2に取得される(ステップS42)。   First, the theoretical balance stored in the RAM 203 is acquired (step S41). Next, a predetermined control signal is transmitted to the depositing / dispensing machine 3, and the actual balance managed by the control unit 31 of the depositing / dispensing machine 3 is acquired from the depositing / dispensing machine 3 to the POS terminal 2 (step S42).

続いて、実残高から理論残高がCPU201により差し引かれ、その結果が過不足額とされる。過不足額は、実残高が理論残高よりも多いとき(残高過剰のとき)は正の値、実残高が理論残高よりも少ないとき(残高不足のとき)は負の値となる(ステップS43)。   Subsequently, the theoretical balance is subtracted from the actual balance by the CPU 201, and the result is set as an excess / deficiency amount. The excess / deficiency is a positive value when the actual balance is larger than the theoretical balance (when the balance is excessive), and a negative value when the actual balance is less than the theoretical balance (when the balance is insufficient) (step S43). .

次に、SRAM204に記憶されたエラーテーブル72が参照され、営業時間内の精算処理において発生した全ての動作エラーに関する情報(発生時刻、種別情報、エラー金額)が取得される(ステップS44)。   Next, the error table 72 stored in the SRAM 204 is referred to, and information (occurrence time, type information, error amount) related to all operation errors that have occurred in the settlement process within business hours is acquired (step S44).

そして、以上のようにして取得された実残高、理論残高、過不足額、及び、全ての動作エラーに関する情報が、印刷発行部26により記録用紙に印刷され、一枚の在高登録票として発行される(ステップS45)。   The actual balance, theoretical balance, excess / deficiency, and information on all operation errors obtained as described above are printed on the recording paper by the print issuing unit 26 and issued as a single cash register. (Step S45).

図12は、このようにして発行された在高登録票73の一例を示す図である。図に示すように、在高登録票73では、残高に関する情報を示す現金残高欄73aと、動作エラーに関する情報を示す動作エラー欄73bとがある。   FIG. 12 is a diagram showing an example of the cash register 73 issued in this way. As shown in the figure, the cash register 73 includes a cash balance column 73a indicating information relating to a balance and an operation error column 73b indicating information relating to an operation error.

現金残高欄73aでは、実残高と、理論残高と、過不足額とが示される。この現金残高欄73aを閲覧することにより、実残高及び理論残高とともに、営業時間内の精算処理において発生した過不足の状況を把握することができる。   In the cash balance column 73a, an actual balance, a theoretical balance, and an excess / deficiency amount are shown. By browsing the cash balance column 73a, it is possible to grasp the situation of excess or deficiency occurring in the settlement process within business hours, along with the actual balance and the theoretical balance.

一方で、動作エラー欄73bでは、動作エラーの種別情報と、該動作エラーの発生件数と、該動作エラーに起因するトータルのエラー金額とが、動作エラーの種別ごとに記録されている。したがって、この動作エラー欄73bを閲覧することにより、営業時間内の精算処理において、どのような動作エラーが何件発生し、それによってどれだけのエラー金額が生じたかを容易に把握することができる。したがって、過不足(実残高と理論残高との相違)が生じた場合であっても、その過不足がどのような要因で生じたかを容易に特定することが可能となる。   On the other hand, in the operation error column 73b, operation error type information, the number of occurrences of the operation error, and the total error amount resulting from the operation error are recorded for each type of operation error. Therefore, by browsing the operation error column 73b, it is possible to easily grasp what operation errors have occurred and how much error amount has occurred in the settlement process during business hours. . Therefore, even if an excess or deficiency (difference between the actual balance and the theoretical balance) occurs, it is possible to easily identify what causes the excess or deficiency.

<1−6.釣銭切れの具体例>
次に、精算処理において「釣銭切れ」が発生した場合の具体例を説明する。
<1-6. Specific example of change>
Next, a specific example when “out of change” occurs in the checkout process will be described.

図13は、「釣銭切れ」が発生した一例となる精算処理における、POSターミナル2及び入出金機3の具体的動作と、理論残高及び実残高の推移とを時系列に沿って示す図である。図中の符号T11ないしT19は時点を示している。なお、説明の便宜上、精算処理の開始時点T11における理論残高と実残高とは一致しており、それぞれ「0円」であるとする。   FIG. 13 is a diagram showing the specific operations of the POS terminal 2 and the deposit / withdrawal machine 3 and the transition of the theoretical balance and the actual balance in chronological order in an example checkout process in which “out of change” has occurred. . Reference numerals T11 to T19 in the figure indicate time points. For convenience of explanation, it is assumed that the theoretical balance and the actual balance at the settlement processing start time T11 coincide with each other and are “0 yen”.

まず、時点T12において、POSターミナル2において合計価格が「900円」と導出される。   First, at time T12, the total price is derived at the POS terminal 2 as “900 yen”.

次に、時点T13において、預かり金の千円札が入出金機3に投入される。これにより、預かり金の金額が「1,000円」と計数され、その計数結果を示す計数結果信号sg1が入出金機3からPOSターミナル2に送信される。また、実残高「0円」に計数結果「1,000円」が加算され、実残高が「1,000円」に更新される。   Next, at time T <b> 13, a thousand yen bill of deposit is put into the deposit / withdrawal machine 3. As a result, the amount of the deposit is counted as “1,000 yen”, and a counting result signal sg 1 indicating the counting result is transmitted from the depositing / dispensing machine 3 to the POS terminal 2. Further, the count result “1,000 yen” is added to the actual balance “0 yen”, and the actual balance is updated to “1,000 yen”.

次に、時点T14において、計数結果信号sg1がPOSターミナル2に受信される。これにより、預かり金の金額が「1,000円」としてPOSターミナル2に取得される。   Next, at time T14, the count result signal sg1 is received by the POS terminal 2. As a result, the deposit amount is acquired by the POS terminal 2 as “1,000 yen”.

次に、時点T15において、預かり金の金額「1,000円」から合計価格「900円」が差し引かれ、釣銭金額が「100円」と導出される。そして、釣銭金額「100円」を指定した釣銭指示信号sg2が、POSターミナル2から入出金機3に送信される。   Next, at time T15, the total price “900 yen” is subtracted from the deposit amount “1,000 yen”, and the change amount is derived as “100 yen”. Then, a change instruction signal sg 2 designating the change amount “100 yen” is transmitted from the POS terminal 2 to the depositing / dispensing machine 3.

次に、時点T16において、釣銭指示信号sg2が入出金機3に受信される。入出金機3は、釣銭指示信号sg2に従って釣銭を放出すべきであるが、その内部には千円札のみが収納されていることから「100円」の金銭を放出できない。このため、「釣銭切れ」が発生し、その旨を示す動作エラー信号sg3が入出金機3からPOSターミナル2に送信される。   Next, at time T16, the change instruction signal sg2 is received by the depositing / dispensing machine 3. The depositing / dispensing machine 3 should discharge the change according to the change instruction signal sg2. However, since only a thousand-yen bill is accommodated therein, it is not possible to discharge “100 yen”. For this reason, “change change” occurs, and an operation error signal sg 3 indicating that is transmitted from the depositing / dispensing machine 3 to the POS terminal 2.

次に、時点T17において、動作エラー信号sg3がPOSターミナル2に受信される。これにより、POSターミナル2において、釣銭金額「100円」が未放出金額(エラー金額)として取得される。   Next, the operation error signal sg3 is received by the POS terminal 2 at time T17. Thereby, in the POS terminal 2, the change amount “100 yen” is acquired as the unreleased amount (error amount).

次に、時点T18において、理論残高の「0円」に合計価格「900円」が加算され、理論残高が「900円」に更新される。その結果、理論残高が「900円」、実残高が「1,000円」となり、「+100円」の過不足(残高過剰)が生じる。   Next, at time T18, the total price “900 yen” is added to the theoretical balance “0 yen”, and the theoretical balance is updated to “900 yen”. As a result, the theoretical balance becomes “900 yen”, the actual balance becomes “1,000 yen”, and “+100 yen” becomes excessive or insufficient (balance excess).

次に、時点T19において、エラー対応処理がなされ、発生した「釣銭切れ」に関する情報を示すレコードRがエラーテーブル72に登録される。これとともに、図10に示すエラー伝票71が発行される。このエラー伝票71では、動作エラーの種別情報として「釣銭切れ」、エラー金額として「100円」が記録されている。   Next, at time T <b> 19, an error handling process is performed, and a record R indicating information regarding the “change change” that has occurred is registered in the error table 72. At the same time, an error slip 71 shown in FIG. 10 is issued. In this error slip 71, “Changing out” is recorded as the type information of the operation error, and “100 yen” is recorded as the error amount.

図13に示す精算処理のみを行った状態で在高登録処理を実行した場合は、図14に示す在高登録票73が発行される。図14に示すように、在高登録票73の現金残高欄73aでは、「100円」の残高過剰が生じていることが示されている。一方で、動作エラー欄73bでは、「釣銭切れ」が1件発生し、その「釣銭切れ」に起因するエラー金額が「100円」であることが示される。したがって、この在高登録票73を視認すれば、過不足が「釣銭切れ」によって生じたことを容易に把握できる。また、図10に示すエラー伝票71も併せて参照することで、「釣銭切れ」の発生時刻も確認可能である。   When the cash amount registration process is executed in a state where only the payment process shown in FIG. 13 is performed, the cash balance registration slip 73 shown in FIG. 14 is issued. As shown in FIG. 14, the cash balance column 73a of the cash register 73 indicates that an excess balance of “100 yen” has occurred. On the other hand, the operation error column 73b indicates that one “change change” has occurred and the error amount resulting from the “change change” is “100 yen”. Therefore, by visually recognizing the banknote registration slip 73, it is possible to easily grasp that the excess or deficiency has occurred due to “running out of change”. In addition, by referring to the error slip 71 shown in FIG.

<1−7.リジェクトの具体例>
次に、精算処理において「リジェクト」が発生した場合の具体例を説明する。
<1-7. Specific examples of rejection>
Next, a specific example when “reject” occurs in the checkout process will be described.

図15は、「リジェクト」が発生した一例となる精算処理における、POSターミナル2及び入出金機3の具体的動作と、理論残高及び実残高の推移とを時系列に沿って示す図である。図中の符号T21ないしT28は時点を示している。なお、説明の便宜上、精算処理の開始時点T21における理論残高と実残高とは一致しており、それぞれ「100円」であるとする。より具体的には、この開始時点T21において入出金機3には、百円玉が1枚収納されているものとする。   FIG. 15 is a diagram showing the specific operations of the POS terminal 2 and the depositing / dispensing machine 3 and the transition of the theoretical balance and the actual balance in chronological order in the checkout process as an example in which “reject” has occurred. Symbols T21 to T28 in the figure indicate time points. For convenience of explanation, it is assumed that the theoretical balance and the actual balance at the settlement processing start time T21 coincide with each other and are “100 yen”. More specifically, it is assumed that one coin is stored in the depositing / dispensing machine 3 at the start time T21.

まず、時点T22において、POSターミナル2において合計価格が「900円」と導出される。   First, at time T22, the total price is derived as “900 yen” at the POS terminal 2.

次に、時点T23において、預かり金の千円札の入出金機3への投入を試みるが、「リジェクト」が発生し、入出金機3に投入できずに放出される。このため、「リジェクト」が発生した旨を示す動作エラー信号sg4が入出金機3からPOSターミナル2に送信される。   Next, at time T23, an attempt is made to insert the thousand-yen bill of deposit into the depositing / dispensing machine 3. However, a "reject" occurs, and the deposit is dispensed without being inserted into the depositing / dispensing machine 3. For this reason, an operation error signal sg4 indicating that “reject” has occurred is transmitted from the depositing / dispensing machine 3 to the POS terminal 2.

次に、時点T24において、動作エラー信号sg4がPOSターミナル2に受信される。そして、店舗スタッフの操作入力により、未投入金額(エラー金額)が「1,000円」とPOSターミナル2に取得される。投入済金額は存在しないため、預かり金の金額が「1,000円」としてPOSターミナル2に取得される。   Next, at time T24, the operation error signal sg4 is received by the POS terminal 2. Then, an uninjected amount (error amount) is acquired as “1,000 yen” in the POS terminal 2 by the operation input of the store staff. Since the invested amount does not exist, the deposit amount is acquired by the POS terminal 2 as “1,000 yen”.

次に、時点T25において、預かり金の金額「1,000円」から合計価格「900円」が差し引かれ、釣銭金額が「100円」と導出される。そして、釣銭金額「100円」を指定した釣銭指示信号sg2が、POSターミナル2から入出金機3に送信される。   Next, at time T25, the total price “900 yen” is subtracted from the deposit amount “1,000 yen”, and the change amount is derived as “100 yen”. Then, a change instruction signal sg 2 designating the change amount “100 yen” is transmitted from the POS terminal 2 to the depositing / dispensing machine 3.

次に、時点T26において、釣銭指示信号sg2が入出金機3に受信される。この釣銭指示信号sg2に従って、入出金機3の内部に収納されている百円玉が、釣銭として入出金機3から放出される。また、実残高「100円」から放出金額「100円」が減算され、実残高が「0円」に更新される。   Next, at time T26, the change instruction signal sg2 is received by the depositing / dispensing machine 3. In accordance with the change instruction signal sg2, the one hundred yen coin stored in the deposit / withdrawal machine 3 is discharged from the deposit / withdrawal machine 3 as change. Further, the release amount “100 yen” is subtracted from the actual balance “100 yen”, and the actual balance is updated to “0 yen”.

次に、時点T27において、理論残高の「100円」に合計価格「900円」が加算され、理論残高が「1,000円」に更新される。その結果、理論残高が「1,000円」、実残高が「0円」となり、「−1,000円」の過不足(残高不足)が生じる。   Next, at time T27, the total price “900 yen” is added to the theoretical balance “100 yen”, and the theoretical balance is updated to “1,000 yen”. As a result, the theoretical balance is “1,000 yen”, the actual balance is “0 yen”, and an excess or deficiency (insufficient balance) of “−1,000 yen” occurs.

次に、時点T28において、エラー対応処理がなされ、発生した「リジェクト」に関する情報を示すレコードRがエラーテーブル72に登録される。これとともに、図16に示すエラー伝票71が発行される。このエラー伝票71では、動作エラーの種別情報として「リジェクト」、エラー金額として「1,000円」が記録されている。   Next, at time T <b> 28, an error handling process is performed, and a record R indicating information regarding the generated “reject” is registered in the error table 72. At the same time, an error slip 71 shown in FIG. 16 is issued. In this error slip 71, “Reject” is recorded as the type information of the operation error, and “1,000 yen” is recorded as the error amount.

図15に示す精算処理のみを行った状態で在高登録処理を実行した場合は、図17に示す在高登録票73が発行される。図17に示すように、在高登録票73の現金残高欄73aでは、「1,000円」の残高不足が生じていることが示されている。一方で、動作エラー欄73bでは、「リジェクト」が1件発生し、その「リジェクト」に起因するエラー金額が「1,000円」であることが示される。したがって、この在高登録票73を視認すれば、過不足が「リジェクト」によって生じたことを容易に把握できる。また、図16に示すエラー伝票71も併せて参照することで、「リジェクト」の発生時刻も確認可能である。   When the cash amount registration process is executed in a state where only the checkout process shown in FIG. 15 is performed, a cash balance registration slip 73 shown in FIG. 17 is issued. As shown in FIG. 17, the cash balance column 73a of the cash register 73 indicates that a balance shortage of “1,000 yen” has occurred. On the other hand, the operation error column 73b indicates that one “reject” has occurred and the error amount resulting from the “reject” is “1,000 yen”. Therefore, by visually recognizing the cash amount registration slip 73, it can be easily understood that the excess or deficiency is caused by “reject”. In addition, by referring to the error slip 71 shown in FIG. 16 as well, it is possible to confirm the time of occurrence of “reject”.

<1−8.釣銭フルの具体例>
次に、精算処理において「釣銭フル」が発生した場合の具体例を説明する。
<1-8. Specific example of change change>
Next, a specific example in the case where “change change full” occurs in the settlement process will be described.

図18は、「釣銭フル」が発生した一例となる精算処理における、POSターミナル2及び入出金機3の具体的動作と、理論残高及び実残高の推移とを時系列に沿って示す図である。図中の符号T31ないしT39は時点を示している。なお、説明の便宜上、精算処理の開始時点T31における理論残高と実残高とは一致しており、それぞれ「100円」であるとする。より具体的には、この開始時点T31において入出金機3には、百円玉が1枚収納されているものとする。   FIG. 18 is a diagram showing the specific operations of the POS terminal 2 and the deposit / withdrawal machine 3 and the transition of the theoretical balance and the actual balance in chronological order in an example checkout process in which “change full” has occurred. . Symbols T31 to T39 in the figure indicate time points. For convenience of explanation, it is assumed that the theoretical balance and the actual balance at the settlement processing start time T31 coincide with each other and are “100 yen”. More specifically, it is assumed that one coin is stored in the depositing / dispensing machine 3 at the start time T31.

まず、時点T32において、POSターミナル2において合計価格が「900円」と導出される。   First, at time T32, the total price is derived as “900 yen” at the POS terminal 2.

次に、時点T33において、預かり金の2枚の五百円玉の入出金機3への投入を試みるが、1枚の五百円玉は入出金機3に投入できたものの、「釣銭フル」が発生し、他の1枚の五百円玉は投入できずに放出される。これにより、計数結果は「500円」となり、その計数結果を示す計数結果信号sg1が入出金機3からPOSターミナル2に送信される。また、実残高「100円」に計数結果「500円」が加算され、実残高が「600円」に更新される。さらに、「釣銭フル」が発生した旨を示す動作エラー信号sg5も入出金機3からPOSターミナル2に送信される。   Next, at time T33, an attempt is made to insert two 500-yen coins into the depositing / dispensing machine 3. Although one 500-yen coin has been successfully inserted into the depositing / dispensing machine 3, ”Occurs, and the other 500-yen coin cannot be thrown in and released. As a result, the counting result becomes “500 yen”, and the counting result signal sg1 indicating the counting result is transmitted from the depositing / dispensing machine 3 to the POS terminal 2. Further, the counting result “500 yen” is added to the actual balance “100 yen”, and the actual balance is updated to “600 yen”. Further, an operation error signal sg5 indicating that “change is full” is also transmitted from the depositing / dispensing machine 3 to the POS terminal 2.

次に、時点T34において、計数結果信号sg1及び動作エラー信号sg5の双方がPOSターミナル2に受信される。これにより、投入済金額が「500円」としてPOSターミナル2に取得される。   Next, at time T34, both the count result signal sg1 and the operation error signal sg5 are received by the POS terminal 2. As a result, the POS terminal 2 acquires the charged amount as “500 yen”.

次に、時点T35において、店舗スタッフの操作入力により、未投入金額(エラー金額)が「500円」とPOSターミナル2に取得される。そして、投入済金額「500円」と未投入金額「500円」とが加算され、預かり金の金額が「1,000円」としてPOSターミナル2に取得される。   Next, at time T <b> 35, an uninjected amount (error amount) of “500 yen” is acquired in the POS terminal 2 by an operation input by the store staff. Then, the invested amount “500 yen” and the uninjected amount “500 yen” are added, and the deposit amount is acquired as “1,000 yen” in the POS terminal 2.

次に、時点T36において、預かり金の金額「1,000円」から合計価格「900円」が差し引かれ、釣銭金額が「100円」と導出される。そして、釣銭金額「100円」を指定した釣銭指示信号sg2が、POSターミナル2から入出金機3に送信される。   Next, at time T36, the total price “900 yen” is subtracted from the deposit amount “1,000 yen”, and the change amount is derived as “100 yen”. Then, a change instruction signal sg 2 designating the change amount “100 yen” is transmitted from the POS terminal 2 to the depositing / dispensing machine 3.

次に、時点T37において、釣銭指示信号sg2が入出金機3に受信される。この釣銭指示信号sg2に従って、入出金機3の内部に収納されている百円玉が、釣銭として入出金機3から放出される。また、実残高「600円」から放出金額「100円」が減算され、実残高が「500円」に更新される。   Next, at time T37, the change instruction signal sg2 is received by the depositing / dispensing machine 3. In accordance with the change instruction signal sg2, the one hundred yen coin stored in the deposit / withdrawal machine 3 is discharged from the deposit / withdrawal machine 3 as change. Also, the release amount “100 yen” is subtracted from the actual balance “600 yen”, and the actual balance is updated to “500 yen”.

次に、時点T38において、理論残高の「100円」に合計価格「900円」が加算され、理論残高が「1,000円」に更新される。その結果、理論残高が「1,000円」、実残高が「500円」となり、「−500円」の過不足(残高不足)が生じる。   Next, at time T38, the total price “900 yen” is added to the theoretical balance “100 yen”, and the theoretical balance is updated to “1,000 yen”. As a result, the theoretical balance becomes “1,000 yen”, the actual balance becomes “500 yen”, and an excess or deficiency (insufficient balance) of “−500 yen” occurs.

次に、時点T39において、エラー対応処理がなされ、発生した「釣銭フル」に関する情報を示すレコードRがエラーテーブル72に登録される。これとともに、図19に示すエラー伝票71が発行される。このエラー伝票71では、動作エラーの種別情報として「釣銭フル」、エラー金額として「500円」が記録されている。   Next, at time T <b> 39, an error handling process is performed, and a record R indicating information on the generated “change full” is registered in the error table 72. At the same time, an error slip 71 shown in FIG. 19 is issued. In the error slip 71, “change full” is recorded as the type information of the operation error, and “500 yen” is recorded as the error amount.

図18に示す精算処理のみを行った状態で在高登録処理を実行した場合は、図20に示す在高登録票73が発行される。図20に示すように、在高登録票73の現金残高欄73aでは、「500円」の残高不足が生じていることが示されている。一方で、動作エラー欄73bでは、「釣銭フル」が1件発生し、その「釣銭フル」に起因するエラー金額が「500円」であることが示される。したがって、この在高登録票73を視認すれば、過不足が「釣銭フル」によって生じたことを容易に把握できる。また、図19に示すエラー伝票71も併せて参照することで、「釣銭フル」の発生時刻も確認可能である。   When the cash amount registration process is executed in a state where only the payment process shown in FIG. 18 is performed, the cash balance registration slip 73 shown in FIG. 20 is issued. As shown in FIG. 20, the cash balance column 73a of the cash register 73 indicates that a balance shortage of “500 yen” has occurred. On the other hand, the operation error column 73b indicates that one “change change” has occurred and the error amount resulting from the “change change” is “500 yen”. Therefore, by visually recognizing the banknote registration slip 73, it can be easily understood that the excess or deficiency has occurred due to the “change full”. Further, by referring to the error slip 71 shown in FIG. 19 as well, it is possible to confirm the occurrence time of “change full”.

<1−9.まとめ>
以上のように、POSターミナル2では、精算処理における演算値である合計価格に基づいて、入出金機3の収納金額が理論残高として導出される。一方で、入出金機3において金銭の投入動作及び放出動作のいずれかの動作エラーが発生した場合には、当該動作エラーの種別情報が動作エラー信号に基づいて特定される。さらに、その動作エラーにより投入または放出できなかった金額であるエラー金額も取得される。このように、入出金機3の動作エラーが発生した場合には、その動作エラーの種別情報とそれに起因するエラー金額とが取得されるため、動作エラーにより実残高と理論残高とが相違する過不足の状態が生じたとしても適切に対応できることになる。
<1-9. Summary>
As described above, in the POS terminal 2, the amount stored in the deposit / withdrawal machine 3 is derived as the theoretical balance based on the total price that is the calculated value in the settlement process. On the other hand, when an operation error of any of the money input operation and the discharge operation occurs in the depositing / dispensing machine 3, the type information of the operation error is specified based on the operation error signal. Further, an error amount that is an amount that could not be inserted or discharged due to the operation error is also acquired. As described above, when an operation error of the depositing / dispensing machine 3 occurs, the type information of the operation error and the error amount resulting from the operation error are acquired, so that the actual balance and the theoretical balance are different due to the operation error. Even if a shortage occurs, it can be handled appropriately.

また、在高登録処理においては、実残高、理論残高、過不足額、及び、発生した全ての動作エラーに関する情報が取得され、これらが一つの記録用紙に印刷されて在高登録票73として発行される。したがって、過不足が生じた場合であっても、過不足の具体的な状況と、その過不足がどのような要因で生じたかを容易に把握することが可能となる。   In the cash register process, information on the actual balance, the theoretical balance, the excess and deficiency, and all the operation errors that have occurred are acquired and printed on a single recording sheet as a cash register 73. Is done. Therefore, even when excess or deficiency occurs, it is possible to easily grasp the specific situation of excess or deficiency and what causes the excess or deficiency.

また、動作エラーが発生するごとに、当該動作エラーの情報(発生時刻、種別情報、及び、エラー金額)がSRAM204に記憶されると共に、記録用紙に印刷されてエラー伝票71として発行される。したがって、個々の動作エラーごとの情報も事後的に容易に把握可能である。   Each time an operation error occurs, information on the operation error (occurrence time, type information, and error amount) is stored in the SRAM 204 and printed on a recording sheet and issued as an error slip 71. Therefore, information for each operation error can be easily grasped later.

<2.第2の実施の形態>
次に、第2の実施の形態について説明する。第1の実施の形態では、入出金機3の動作エラーが発生したとしても理論残高を修正することはなかったが、本実施の形態では動作エラーが発生したときは、エラー金額に基づいて理論残高が修正されるようになっている。
<2. Second Embodiment>
Next, a second embodiment will be described. In the first embodiment, even if an operation error of the deposit / withdrawal machine 3 occurs, the theoretical balance is not corrected. However, in the present embodiment, when an operation error occurs, the theoretical balance is calculated based on the error amount. The balance is adjusted.

本実施の形態の精算処理の内容は、図6及び図7に示す第1の実施の形態のものとほぼ同様であるが、エラー対応処理(図7のステップS30)の内容が相違している。   The contents of the settlement process of this embodiment are almost the same as those of the first embodiment shown in FIGS. 6 and 7, but the contents of the error handling process (step S30 in FIG. 7) are different. .

図21は、本実施の形態のエラー対応処理の流れの詳細を示す図である。ステップS51からステップS54までの処理は、図8に示すステップS31からS34までの処理と同一である。すなわち、タイマ205の計時する時刻に基づいて動作エラーの発生時刻が取得されるとともに(ステップS51)、動作エラー信号に基づいて発生した動作エラーの種別情報が特定される(ステップS52)。続いて、取得された動作エラーに関連する情報がエラーテーブル72に記録されるとともに(ステップS53)、その情報が記録用紙に印刷されてエラー伝票71が発行される(ステップS54)。   FIG. 21 is a diagram showing details of the flow of error handling processing according to the present embodiment. The processing from step S51 to step S54 is the same as the processing from step S31 to step S34 shown in FIG. That is, the operation error occurrence time is acquired based on the time counted by the timer 205 (step S51), and the type information of the operation error generated based on the operation error signal is specified (step S52). Subsequently, information related to the acquired operation error is recorded in the error table 72 (step S53), and the information is printed on a recording sheet and an error slip 71 is issued (step S54).

次に、発生した動作エラーの種別情報が確認され(ステップS55)、動作エラーの種別情報と、該動作エラーに起因するエラー金額とに基づいて、RAM203に記憶された理論残高がCPU201により修正される。   Next, the type information of the generated operation error is confirmed (step S55), and the theoretical balance stored in the RAM 203 is corrected by the CPU 201 based on the type information of the operation error and the error amount due to the operation error. The

発生した動作エラーが「釣銭切れ」、すなわち、放出動作の動作エラーの場合は、放出できなかったエラー金額の分だけ理論残高が実残高よりも少なくなっている。このため、その時点の理論残高にエラー金額が加算され、その結果が新たな理論残高とされる(ステップS56)。   When the generated operation error is “out of change”, that is, the operation error of the release operation, the theoretical balance is less than the actual balance by the amount of error that could not be released. Therefore, the error amount is added to the theoretical balance at that time, and the result is set as a new theoretical balance (step S56).

一方、発生した動作エラーが「リジェクト」あるいは「釣銭フル」、すなわち、投入動作の動作エラーの場合は、投入できなかったエラー金額の分だけ理論残高が実残高よりも多くなっている。このため、その時点の理論残高からエラー金額が減算され、その結果が新たな理論残高とされる(ステップS57)。   On the other hand, when the generated operation error is “reject” or “change full”, that is, the operation error of the input operation, the theoretical balance is larger than the actual balance by the error amount that could not be input. Therefore, the error amount is subtracted from the theoretical balance at that time, and the result is set as a new theoretical balance (step S57).

このように本実施の形態では、動作エラーが発生したとしても、動作エラーの種別情報とエラー金額とに基づいて理論残高が修正される。このため、実残高と理論残高とを一致させることができ、動作エラーに起因する過不足そのものの発生を防止できる。   Thus, in this embodiment, even if an operation error occurs, the theoretical balance is corrected based on the type information of the operation error and the error amount. For this reason, the actual balance and the theoretical balance can be matched, and the occurrence of excess or deficiency due to an operation error can be prevented.

なお、このような理論残高の修正は、発生した動作エラーが投入動作及び放出動作のいずれの動作エラーであるかの情報と、エラー金額とが得られれば行うことが可能である。このため、動作エラーの種別情報は、「釣銭切れ」、「リジェクト」及び「釣銭フル」を示す情報でなくても、少なくとも投入動作の動作エラー、及び、放出動作の動作エラーのいずれであるかを特定可能な情報であればよい。   Such correction of the theoretical balance can be performed if information indicating whether the generated operation error is an input operation or a discharge operation and an error amount can be obtained. For this reason, the operation error type information is not information indicating “change change”, “reject”, and “change change full”, but is at least one of the operation error of the input operation and the operation error of the discharge operation. Any information can be used.

<3.他の実施の形態>
以上、本発明の実施の形態について説明してきたが、この発明は上記実施の形態に限定されるものではなく様々な変形が可能である。以下では、このような他の実施の形態について説明する。もちろん、以下で説明する形態を適宜に組み合わせてもよい。
<3. Other embodiments>
Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications are possible. Hereinafter, such other embodiments will be described. Of course, you may combine the form demonstrated below suitably.

上記実施の形態では、動作エラー信号に基づいて動作エラーの種別情報が特定されていたが、操作キー部24等を介してユーザたる店舗スタッフが動作エラーの種別情報を操作入力することにより、動作エラーの種別情報が特定されてもよい。このような場合、動作エラー信号が入出金機3からPOSターミナル2に送信されなくてもよい。   In the above embodiment, the type information of the operation error is specified based on the operation error signal. However, when the store staff as the user operates and inputs the type information of the operation error via the operation key unit 24 or the like, the operation error Error type information may be specified. In such a case, the operation error signal may not be transmitted from the depositing / dispensing machine 3 to the POS terminal 2.

また、動作エラーが発生した時点における精算処理における工程に基づいて、動作エラーの種別情報が特定されてもよい。例えば、預かり金を投入すべき工程(図6のステップS14)において動作エラーが発生すれば投入動作の動作エラーであると特定でき、釣銭を放出すべき工程(図7のステップS23)において動作エラーが発生すれば放出動作の動作エラーであると特定できる。   Further, the type information of the operation error may be specified based on the process in the settlement process at the time when the operation error occurs. For example, if an operation error occurs in the process of depositing deposits (step S14 in FIG. 6), it can be identified as an operation error of the deposit operation, and the operation error in the process of releasing change (step S23 in FIG. 7). If this occurs, it can be identified as an operation error of the discharge operation.

また、上記第2の実施の形態ではエラー対応処理において理論残高が修正されていたが、理論残高を更新する際(図7のステップS27)において、エラー金額を考慮して理論残高を修正するようにしてもよい。   In the second embodiment, the theoretical balance is corrected in the error handling process. However, when the theoretical balance is updated (step S27 in FIG. 7), the theoretical balance is corrected in consideration of the error amount. It may be.

また、入出金機3は、売買取引とは無関係に、金銭(釣銭準備金等)を投入する入金処理と、金銭(売上金等)を放出する出金処理とを行うことが可能であり、この入金処理及び出金処理を行う場合はPOSターミナル2に信号が送信されて、理論残高も更新される。この入金処理及び出金処理に伴う理論残高の更新の際に、エラー金額を考慮して理論残高を修正するようにしてもよい。   In addition, the deposit / withdrawal machine 3 can perform a deposit process for inserting money (cash reserves, etc.) and a withdrawal process for releasing money (sales proceeds, etc.) regardless of the sales transaction. When performing this deposit process and withdrawal process, a signal is transmitted to the POS terminal 2 and the theoretical balance is also updated. The theoretical balance may be corrected in consideration of the error amount at the time of updating the theoretical balance accompanying the deposit processing and withdrawal processing.

POSターミナルが適用されるPOSシステムの概要を示す図である。It is a figure which shows the outline | summary of the POS system to which a POS terminal is applied. POSターミナルの外観構成を示す図である。It is a figure which shows the external appearance structure of a POS terminal. POSターミナルの内部構成を含めた構成を示すブロック図である。It is a block diagram which shows the structure including the internal structure of a POS terminal. 入出金機の外観構成を示す図である。It is a figure which shows the external appearance structure of a deposit or withdrawal machine. 入出金機の内部構成を含めた構成を示すブロック図である。It is a block diagram which shows the structure including the internal structure of the deposit or withdrawal machine. 精算処理の流れを示す図である。It is a figure which shows the flow of a payment process. 精算処理の流れを示す図である。It is a figure which shows the flow of a payment process. 第1の実施の形態のエラー対応処理の流れの詳細を示す図である。It is a figure which shows the detail of the flow of the error handling process of 1st Embodiment. エラーテーブルの一例を示す図である。It is a figure which shows an example of an error table. エラー伝票の一例を示す図である。It is a figure which shows an example of an error slip. 在高登録処理の流れを示す図である。It is a figure which shows the flow of a cash register process. 在高登録票の一例を示す図である。It is a figure which shows an example of a cash register card. 釣銭切れが発生した場合の理論残高及び実残高の推移の一例を示す図である。It is a figure which shows an example of transition of the theoretical balance at the time of change change occurring, and an actual balance. 在高登録票の一例を示す図である。It is a figure which shows an example of a cash register card. リジェクトが発生した場合の理論残高及び実残高の推移の一例を示す図である。It is a figure which shows an example of transition of the theoretical balance when a rejection generate | occur | produces, and an actual balance. エラー伝票の一例を示す図である。It is a figure which shows an example of an error slip. 在高登録票の一例を示す図である。It is a figure which shows an example of a cash register card. 釣銭フルが発生した場合の理論残高及び実残高の推移の一例を示す図である。It is a figure which shows an example of transition of the theoretical balance when a change full occurs, and an actual balance. エラー伝票の一例を示す図である。It is a figure which shows an example of an error slip. 在高登録票の一例を示す図である。It is a figure which shows an example of a cash register card. 第2の実施の形態のエラー対応処理の流れの詳細を示す図である。It is a figure which shows the detail of the flow of the error handling process of 2nd Embodiment.

符号の説明Explanation of symbols

1 POSサーバ
2 POSターミナル
3 入出金機
21 制御部
24 操作キー部
26 印刷発行部
71 エラー伝票
73 在高登録票
201 CPU
DESCRIPTION OF SYMBOLS 1 POS server 2 POS terminal 3 Depositing / dispensing machine 21 Control part 24 Operation key part 26 Print issuing part 71 Error slip 73 Stock amount registration slip 201 CPU

Claims (7)

投入された金銭の金額を計数するとともに指定された金額の金銭を放出する入出金機と連動し、前記入出金機による計数結果に基づいて売買取引に係る演算処理を行うキャッシュレジスタ装置であって、
前記売買取引に係る演算処理における演算値に基づいて、前記入出金機の収納金額を理論残高として導出する導出手段と、
前記入出金機において金銭の投入動作及び放出動作のいずれかの動作エラーが発生した場合に、当該動作エラーの種別情報を特定する種別特定手段と、
前記動作エラーにより投入または放出できなかった金額であるエラー金額を取得する金額取得手段と、
を備えることを特徴とするキャッシュレジスタ装置。
It is a cash register device that counts the amount of money inserted and interlocks with a depositing / dispensing machine that discharges a specified amount of money, and performs arithmetic processing related to sales transactions based on the counting result by the depositing / dispensing machine. And
Deriving means for deriving the stored amount of the deposit / withdrawal machine as a theoretical balance based on the calculated value in the calculation processing related to the trading transaction;
A type specifying means for specifying type information of the operation error when an operation error of any of the money input operation and the discharge operation occurs in the depositing and dispensing machine;
Amount acquisition means for acquiring an error amount that is an amount that could not be inserted or released due to the operation error;
A cash register device comprising:
請求項1に記載のキャッシュレジスタ装置において、
前記動作エラーの種別情報と、該動作エラーに起因する前記エラー金額とを記録用紙に印刷する印刷手段、
をさらに備えることを特徴とするキャッシュレジスタ装置。
The cash register device according to claim 1,
Printing means for printing the type information of the operation error and the error amount resulting from the operation error on a recording sheet;
A cash register device further comprising:
請求項2に記載のキャッシュレジスタ装置において、
前記入出金機の実際の収納金額である実残高を、前記入出金機から取得する取得手段、
をさらに備え、
前記印刷手段は、前記理論残高と前記実残高とを前記記録用紙にさらに印刷することを特徴とするキャッシュレジスタ装置。
The cash register device according to claim 2,
An acquisition means for acquiring an actual balance, which is an actual storage amount of the deposit / withdrawal machine, from the deposit / withdrawal machine;
Further comprising
The cash register device, wherein the printing unit further prints the theoretical balance and the actual balance on the recording sheet.
請求項1に記載のキャッシュレジスタ装置において、
前記動作エラーの種別情報、及び、該動作エラーに起因する前記エラー金額に基づいて、前記理論残高を修正する修正手段、
をさらに備えることを特徴とするキャッシュレジスタ装置。
The cash register device according to claim 1,
Correction means for correcting the theoretical balance based on the type information of the operation error and the error amount resulting from the operation error,
A cash register device further comprising:
請求項4に記載のキャッシュレジスタ装置において、
前記動作エラーの種別情報は、前記投入動作の動作エラー、及び、前記放出動作の動作エラーのいずれであるかを特定可能な情報であることを特徴とするキャッシュレジスタ装置。
The cash register device according to claim 4,
The cash register device according to claim 1, wherein the operation error type information is information that can identify an operation error of the charging operation or an operation error of the discharge operation.
請求項1ないし5のいずれかに記載のキャッシュレジスタ装置において、
時刻を計時する計時手段と、
前記動作エラーが発生した場合に、前記計時手段から得られる前記動作エラーの発生時刻と、前記動作エラーの種別情報と、前記動作エラーに起因する前記エラー金額とを記録用紙に印刷する記録手段と、
をさらに備えることを特徴とするキャッシュレジスタ装置。
The cash register device according to any one of claims 1 to 5,
A time measuring means for measuring time;
Recording means for printing on the recording paper the occurrence time of the operation error obtained from the time measuring means, the type information of the operation error, and the error amount resulting from the operation error when the operation error occurs. ,
A cash register device further comprising:
請求項1ないし5のいずれかに記載のキャッシュレジスタ装置において、
時刻を計時する計時手段と、
前記動作エラーが発生した場合に、前記計時手段から得られる前記動作エラーの発生時刻と、前記動作エラーの種別情報と、前記動作エラーに起因する前記エラー金額とを関連付けて記憶する記憶手段と、
をさらに備えることを特徴とするキャッシュレジスタ装置。
The cash register device according to any one of claims 1 to 5,
A time measuring means for measuring time;
When the operation error occurs, storage means for storing the operation error occurrence time obtained from the time measuring unit, the operation error type information, and the error amount due to the operation error in association with each other;
A cash register device further comprising:
JP2007044184A 2007-02-23 2007-02-23 Cash register device Pending JP2008210029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007044184A JP2008210029A (en) 2007-02-23 2007-02-23 Cash register device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007044184A JP2008210029A (en) 2007-02-23 2007-02-23 Cash register device

Publications (1)

Publication Number Publication Date
JP2008210029A true JP2008210029A (en) 2008-09-11

Family

ID=39786294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007044184A Pending JP2008210029A (en) 2007-02-23 2007-02-23 Cash register device

Country Status (1)

Country Link
JP (1) JP2008210029A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017010407A (en) * 2015-06-24 2017-01-12 株式会社寺岡精工 Merchandise sales data processing system and merchandise sales data processor
JP2018055586A (en) * 2016-09-30 2018-04-05 グローリー株式会社 Change machine, currency processing system, money register, and currency processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017010407A (en) * 2015-06-24 2017-01-12 株式会社寺岡精工 Merchandise sales data processing system and merchandise sales data processor
JP2018055586A (en) * 2016-09-30 2018-04-05 グローリー株式会社 Change machine, currency processing system, money register, and currency processing method

Similar Documents

Publication Publication Date Title
JP6422078B2 (en) Money management system and money management method
JP2002092734A (en) Pos terminal device, pos system, and cash stock managing method for pos terminal device
JP2013012056A (en) Paper money processing device and coin processing device
JP2018097419A (en) Accounting device and control program
JP3295291B2 (en) Money handling machine
JP4897590B2 (en) Change reserve management device and change reserve calculation method
EP3644285B1 (en) Money processing system, money processing machine and change machine
JP6317457B2 (en) Money handling system and money handling method
US9978198B2 (en) Change machine management apparatus and operating method thereof
CN100594524C (en) Merchandise sales data processing apparatus
JP2008210029A (en) Cash register device
JP6533145B2 (en) Sales data processing device
JP6857091B2 (en) Money processing system, money processing machine, money change machine and money processing method
JP6696032B2 (en) Sales data processor
JP6902138B2 (en) Sales data processing equipment and programs
JP5529993B2 (en) Cash management system
JP2012069160A (en) Change fund management device
JP5193688B2 (en) Money changer system
JP4845864B2 (en) Deposit / withdrawal management system
JP2007041667A (en) Cash excess/deficiency management method and device thereof
WO2014178098A1 (en) Money handling system, money handling apparatus, and money handling method
JP2006120074A (en) Commodity sales data processor
JP2017010407A (en) Merchandise sales data processing system and merchandise sales data processor
JP6220740B2 (en) Sales data processing apparatus and program
JP4996930B2 (en) Packaging coin processing equipment

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20091030