JP3595653B2 - Coin storage management system in coin mechanism - Google Patents

Coin storage management system in coin mechanism Download PDF

Info

Publication number
JP3595653B2
JP3595653B2 JP20977097A JP20977097A JP3595653B2 JP 3595653 B2 JP3595653 B2 JP 3595653B2 JP 20977097 A JP20977097 A JP 20977097A JP 20977097 A JP20977097 A JP 20977097A JP 3595653 B2 JP3595653 B2 JP 3595653B2
Authority
JP
Japan
Prior art keywords
coin
coin storage
storage device
coins
amount
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 - Fee Related
Application number
JP20977097A
Other languages
Japanese (ja)
Other versions
JPH1091849A (en
Inventor
英治 潮来
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Conlux Co Ltd
Original Assignee
Nippon Conlux 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 Nippon Conlux Co Ltd filed Critical Nippon Conlux Co Ltd
Priority to JP20977097A priority Critical patent/JP3595653B2/en
Publication of JPH1091849A publication Critical patent/JPH1091849A/en
Application granted granted Critical
Publication of JP3595653B2 publication Critical patent/JP3595653B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、自動販売機あるいは両替機等に使用される硬貨機構(コイン・メカニズム)に関し、特に、そのような硬貨機構において硬貨貯蔵装置に貯蔵された硬貨の貯蔵量を管理するためのシステムに関する。
【0002】
【従来の技術】
自動販売機あるいは両替機等に使用される硬貨機構(コイン・メカニズム)においては、一般にコインチューブといわれる硬貨貯蔵装置を有しており、投入された硬貨が該コインチューブの貯蔵硬貨中に補充され、該コインチューブの貯蔵硬貨中の硬貨が釣銭等として払い出される。また、該コインチューブの貯蔵量が満杯になると、コインチューブからオーバーフローした硬貨が金庫に導かれるようになっている。そのようなコインチューブにおける硬貨貯蔵量の管理にあたって、従来は、管理者(ルートマン等)がインベントリスイッチを操作してコインチューブ内の硬貨を全て排出して売上金として一旦集金し、それから釣銭用として適量の硬貨を手動補給するようにしていた。この場合、このときの手動補給量が次回の売上集計処理の際の起算金額となるので、何枚の硬貨を手動補給したのかということは極めて重要である。そのために、従来は、硬貨を手動補給しながら補給枚数を管理者自らが数えるようにするか、若しくはコインチューブが満杯になるまで手動補給することにより満杯量を手動補給量とみなすようにしていた。しかし、前者の場合、補給枚数をいちいち数えながら硬貨補給を行うのは面倒であり、また、間違いも生じやすいという問題点があった。一方、後者の場合、コインチューブ寸法の個体差あるいは硬貨の厚みの個体差などの理由によって、どのコインチューブでも満杯量が必ず同じ枚数となるとは限らず、管理に不便であった。
【0003】
そこで、特公平6−82426号公報においては、任意の初期貯蔵量を各硬貨金種毎に数値設定し、インベントリ処理時においてこの数値設定された初期貯蔵量分の硬貨が硬貨貯蔵装置に貯蔵されるように各金種毎の貯蔵硬貨の払出又は補給処理を行い、通常動作時において投入硬貨と払出硬貨に相当する増減計数演算を初期貯蔵量設定数値に対して行い、常に、硬貨貯蔵装置における正確な貯蔵量を計数管理することができるようにした発明が示されている。
【0004】
【発明が解決しようとする課題】
しかし、上記の従来技術においては、任意の初期貯蔵量を各硬貨金種毎に数値設定するための数値設定手段を設けなければならず、設定操作が面倒であった。また、このような数値設定手段は、自動販売機の中央制御部側に設けられるのが一般的であり、硬貨機構(コイン・メカニズム)とは少し離れたところに設けられるので、不慣れな管理者(ルートマン等)が、硬貨機構(コイン・メカニズム)の操作と中央制御部側の操作の両方を行うのは煩わしいものであった。
本発明は上述の点に鑑みてなされたもので、管理者による貯蔵硬貨の回収及び補給時において、硬貨貯蔵装置内に定量の硬貨を初期貯蔵しておくための管理を簡単に行うことができるようにした硬貨貯蔵量管理システムを提供しようとするものである。
【0005】
【課題を解決するための手段】
上記課題を解決するために本願で提案する硬貨貯蔵量管理システムは、着脱可能な硬貨貯蔵装置と、投入された硬貨を前記硬貨貯蔵装置に導く機構と、前記硬貨貯蔵装置から硬貨を払い出す機構と、前記硬貨貯蔵装置が取り外されたことを検知する第1の検知手段と、前記硬貨貯蔵装置の硬貨貯蔵量が所定の満杯位置に達していることを検知するための第2の検知手段と、前記硬貨貯蔵装置の硬貨貯蔵量が所定の空位置まで減っていることを検知するための第3の検知手段を備えた硬貨機構において、前記硬貨貯蔵装置内の硬貨貯蔵量の増減をカウントするための計数手段と、前記硬貨貯蔵装置が一旦取り外されてから再装着されたことが前記第1の検知手段によって検知されたとき、前記計数手段のカウント内容を第1の所定値にプリセットする第1のプリセット制御手段と前記第2の検知手段による満杯検知に応じて前記計数手段のカウント内容を満杯位置に対応する第2の所定値にプリセットし、前記第3の検知手段による空検知に応じて前記計数手段のカウント内容を空位置に対応する第3の所定値にプリセットする第2のプリセット制御手段と、前記硬貨貯蔵装置への硬貨の投入と該硬貨貯蔵装置からの硬貨の払い出しに応じて該計数手段のカウント内容を増減する制御行うカウント制御手段と、管理者によって操作されるスイッチと、前記スイッチの操作に応じて、前記計数手段の現カウント値と前記第1の所定値との差を判定し、硬貨投入量が払出量を上回っている場合にその差分の硬貨を前記硬貨貯蔵装置から払い出す払出制御手段とを具備することを特徴とするものである。
【0006】
管理者が硬貨貯蔵装置を硬貨機構の本体から一旦取り外して再装着する操作を行うと、この取外し操作があったことが第1の検知手段によって検知され、計数手段のカウント内容が第1の所定値にリセットされる。この場合、リセットする第1の所定値は、どのような値でもよく、例えば「0」にリセットすればよいし、別の適宜の値にプリセットしてもよい。(従って、この「リセット」という用語は「プリセット」と同義であると考えられるべきである。)このとき、硬貨貯蔵装置内に実際にどれだけの量の硬貨が初期値(仮にxとする)として貯蔵されているかは問われない。勿論、釣銭不足を来すような硬貨貯蔵量の不足があっては困るわけであるが、この点は、硬貨貯蔵装置を一旦取り外したときに必要な適宜の量の硬貨を手動補給すれば、必要な硬貨貯蔵量を確保することができる。こうして、管理者によるインベントリ回収操作時に、硬貨貯蔵装置を一旦取り外して必要とあらば適量の硬貨を手動補給した上で、これを再装着すれば、硬貨機構は使用可能な状態となり、かつ、計数手段が適宜の所定値にリセット(初期設定)される。ここで、前記計数手段において初期設定される上記所定値(例えば0)がこの実際の初期貯蔵量を示している必要はないので、該所定値と実際の初期貯蔵量(x)とを合わせる格別の処理は一切不要である。
その後、硬貨機構を通常に稼働させ、その稼働に応じて、硬貨の投入に応じて硬貨貯蔵装置に硬貨が補充されればその分だけ計数手段のカウント内容が加算計数され(設計上、逆に減算計数としてもよい)され、また、反対に、釣銭等として硬貨貯蔵装置から硬貨が払い出されればその分だけ計数手段のカウント内容が減算計数される(設計上、逆に加算計数としてもよい)。こうして、硬貨貯蔵装置への硬貨の出入り量が、初期リセットされた所定値(例えば0)を基準にして増減計数される。
【0007】
インベントリ回収処理時において、管理者が前記スイッチを操作すると、払出制御手段により、このスイッチの操作に応じて、前記計数手段の現カウント値と前記第1の所定値との差を判定し、硬貨投入量が払出量を上回っている場合(例えば「現カウント値>所定値」の場合)にその差分の硬貨を前記硬貨貯蔵装置から払い出す制御がなされる。こうして、硬貨貯蔵装置に残された硬貨の貯蔵量は、前記初期貯蔵量(x)に相当する利用となり、常に、定量(x)の硬貨が硬貨貯蔵装置に残されるように、インベントリ回収処理を自動的に実行することができる。一方、硬貨投入量が払出量を上回っていない場合(例えば「現カウント値≦所定値」の場合)は硬貨貯蔵装置からの硬貨払い出しは行われない。そこで、インベントリ回収処理の終わりに、管理者が、硬貨貯蔵装置を本体から一旦取外して、硬貨貯蔵装置内の硬貨貯蔵量を目視確認し、不足があれば適量の硬貨を手動補給すればよい。これにより、計数手段が再び第1の所定値(例えば0)にリセット(初期設定)され、その後の硬貨出入り量計数演算のための初期値条件を確実かつ容易に設定することができる。
【0008】
このように、本発明によれば、硬貨貯蔵装置を硬貨機構の本体から一旦取り外したことが検知されたときに、その後の硬貨出入り量計数演算のための計数手段のカウント内容を自動的に第1の所定値にリセット(初期設定)するようにしたので、初期貯蔵量を格別に数値設定する必要性無しに、管理者による貯蔵硬貨の回収及び補給時において、硬貨貯蔵装置内に常に定量の硬貨を推定的に初期貯蔵させる管理を簡単に行うことができるようになる、という優れた効果を奏する。従って、管理者は、硬貨機構の側だけでの簡易な操作によってインベントリ回収操作を行うことができ、また、操作上の煩わしさもない。
【0012】
また、本発明によれば、第2の検知手段による満杯検知に応じて計数手段のカウント内容を満杯位置に対応する第2の所定値にプリセットし、また、第3の検知手段による空検知(釣銭不足検知)に応じて計数手段のカウント内容を空位置(釣銭不足位置)に対応する第3の所定値にプリセットする第2のプリセット制御手段を具備していることにより、通常の稼働中に、実際の硬貨貯蔵量が満杯量になったとき、又は空量になったとき、それぞれに対応する第2又は第3の所定値が計数手段にプリセットされ、該計数手段のカウント内容が正確な硬貨貯蔵量を示す値に自動修正される。従って、硬貨貯蔵量の管理精度を向上させることができる。
【0013】
なお、貯蔵硬貨の不足時の処理をより容易に行うことができるようにするために、次のような対策を施すとよい。すなわち、前記硬貨貯蔵装置を、内部を透視できる壁体部分を含む硬貨チューブにより構成し、該チューブの所定量硬貨貯蔵位置に可視的なマークを施してなり、これにより、貯蔵硬貨が不足している場合は該マークを目印にして該所定量硬貨貯蔵位置まで硬貨を手動補給することができるようにする従って、インベントリ回収処理の終わりに、硬貨の不足の有無を目視確認しやすいものとなり、また、定量に相当する硬貨を手動補給によって初期貯蔵させることが、マークを目印にすることによって、非常にやり易いものとなる。
また、前記第1の検知手段の出力に基づき、前記硬貨貯蔵装置の取り外しに応じてリセットされ、該硬貨貯蔵装置の装着に応じてセットされるフラグと、電源投入時に前記フラグをリセットする初期化手段とを更に備え、前記払出制御手段は、前記フラグがセットされていることを条件に前記差分の硬貨の払出制御を行うものとすれば、停電対策に役立つ。すなわち、前回のインベントリ回収時から今回のインベントリ回収時までの間に停電があった場合、計数手段のカウント内容は信頼性のないものとなってしまうので、この内容に基づいて硬貨の払出制御を行ううことは好ましくない。そこで、停電によってフラグがリセットされることにより、硬貨の払出制御を行わないものとすることにより、不都合を回避できる。なお、計数手段がバッテリバックアップされている場合若しくは不揮発性メモリからなる場合は、そのようなフラグ管理は不要である。
更に、前記スイッチ(すなわちインベントリスイッチ)の操作時に前記フラグがリセットされている場合であって、前記第3の検知手段が空検知をしていない場合、該第3の検知手段が空検知をするまで前記硬貨貯蔵装置の硬貨を自動的に払い出す制御をする第2の払出制御手段を備えるようにしてもよい。すなわち、停電があった場合は、計数手段のカウント内容が不正確になるが、第3の検知手段が空検知をしていない場合は、貯蔵装置内に十分な量の硬貨が貯蔵されている可能性があるので、これらの硬貨は、当然、インベントリ回収処理においては排出して回収されるべきものである。そこで、該第3の検知手段が空検知をするまで自動的に硬貨払い出しを行うように制御するのが好ましい。勿論、その後、インベントリ回収処理を終了するときに、貯蔵装置を本体から取り外して貯蔵硬貨の不足があれば手動補給を行い、かつ、計数手段のカウント内容が第1の所定値にプリセットされるのは、前述と同様である。計数手段がバッテリバックアップされている場合若しくは不揮発性メモリからなる場合は、そのようなフラグ管理と第2の払出制御手段を不要にすることができるのは勿論である。
なお、通常知られているように、硬貨貯蔵装置が複数の硬貨貯蔵チューブを具備していてよく、その場合は、上述した各制御を各チューブ毎に行うようにするのは勿論である。
【0014】
本発明の変形例として、硬貨貯蔵装置が取り外されたことを検知する検知手段を省略し、その代わりに、管理者によって操作される前記スイッチの操作に応じた前記計数手段の現カウント値と前記所定値との差の判定を行なった後に、計数手段の内容を所定値に自動的にリセットするようにしてもよい。
【0015】
すなわち、そのような変形例に係る本発明は、前記硬貨貯蔵装置の硬貨貯蔵量が所定の満杯位置に達していることを検知するための第1の検知手段と、前記硬貨貯蔵装置の硬貨貯蔵量が所定の空位置まで減っていることを検知するための第2の検知手段と、前記硬貨貯蔵装置内の硬貨貯蔵量の増減をカウントするための計数手段と、前記硬貨貯蔵装置への硬貨の投入と該硬貨貯蔵装置からの硬貨の払い出しに応じて該計数手段のカウント内容を増減する制御とを行うカウント制御手段と、管理者によって操作されるスイッチと、前記スイッチの操作に応じて、前記計数手段の現カウント値と第1の所定値との差を判定し、硬貨投入量が払出量を上回っている場合にその差分の硬貨を前記硬貨貯蔵装置から払い出す払出制御手段と、前記スイッチの操作に応じて前記判定を行なった後に、前記計数手段のカウント内容を前記第1の所定値にプリセットする第1のプリセット制御手段と、前記第1の検知手段による満杯検知に応じて前記計数手段のカウント内容を満杯位置に対応する第2の所定値にプリセットし、前記第2の検知手段による空検知に応じて前記計数手段のカウント内容を空位置に対応する第3の所定値にプリセットする第2のプリセット制御手段とを備えることを特徴とする。
【0016】
【発明の実施の形態】
以下、添付図面を参照して、この発明の実施の形態を詳細に説明する。
図1は、本発明を適用した硬貨機構(コインメカニズム)10の機構部の一例を示す略図であり、図2はこの硬貨機構10に搭載される制御回路装置の一実施例を示すハード構成ブロック図である。硬貨機構10は、大別して、硬貨選別機11と、硬貨貯蔵装置12と、硬貨払出し機構13と、図2に示す制御回路装置とを含んでいる。硬貨選別機11は、入口14から導入される投入硬貨の真偽を判別し、正貨と偽貨を機械的に振り分け、偽貨は返却通路(図示せず)に導き、正貨を金種別に機械的に振り分ける。硬貨貯蔵装置12は、金種別の硬貨チューブA,B,C,Dを含んでおり、硬貨機構10の本体フレームに対して着脱自在なカセットタイプのものである。硬貨選別機11で振り分けられた金種別の投入硬貨が該金種に対応する硬貨チューブA,B,C,Dに貯蔵される。硬貨払出し機構13は、釣銭等として硬貨チューブA,B,C,Dのいずれかから選択的に硬貨を払い出す。周知のように、硬貨選別機11は、電子的又は機械式の投入硬貨センサ(図示せず)を含んでおり、正貨と判別されて硬貨貯蔵装置12に受け入れられた投入硬貨に応答して金種別投入硬貨検知信号を発生する。
【0017】
硬貨機構10の所定の位置には、カセット式の硬貨貯蔵装置12が硬貨機構10の本体から取り外されたことを検知するカセット脱着センサ15が設けられている。
また、硬貨貯蔵装置12の各チューブに関連して、満杯センサ16a,16b,16c,16dと、釣銭不足センサ17a,17b,17c,17dと、が夫々設けられている。満杯センサ16a〜16dは、対応するチューブA〜D内の硬貨貯蔵量が所定の満杯位置に達していることを検知するためのものである。釣銭不足センサ17a〜17dは、対応するチューブA〜D内の硬貨貯蔵量が所定の空位置(釣銭不足位置)まで減っていることを検知するためのものである。なお、この所定の空位置(釣銭不足位置)とは、貯蔵量0に限らず、釣銭用の貯蔵硬貨の不足を警告する基準となる適宜の少ない量に対応する位置である。
なお、硬貨貯蔵装置12の各チューブの硬貨貯蔵量が満杯位置を越えてオーバーフローした場合、図示しない金庫にオーバーフローした硬貨が導かれるようになっているが、この点について特に詳しく説明しない。
これまで説明した硬貨機構10の構成は、公知のものである。従って、これに限定されず、他の同等の又は類似の構成を適宜採用してもよい。
【0018】
硬貨機構10の本体フレームの適宜個所に、定量釣銭合わせスイッチ18が設けられている。このスイッチ18は、貯蔵硬貨の回収(インベントリ)処理時に、管理者(ルートマン)によって操作されるものである。このスイッチ18のオン操作に応答して、本発明に従う「定量釣銭合わせ処理」(硬貨貯蔵装置12内の貯蔵硬貨のうち余剰の硬貨を自動払出しすることにより、定量の硬貨が残されて釣銭用硬貨として初期貯蔵されるようにする処理)が行われる。
なお、硬貨貯蔵装置12の各チューブA〜D毎の在庫硬貨量を目視確認できるようにするために、該各チューブA〜Dの壁体の少なくとも一部分を内部を透視できるような透明体によって構成するとよい。また、各チューブA〜Dの所定量硬貨貯蔵位置に可視的なマークを施し、該マークを目安にして、硬貨貯蔵量が適量であるか否かを目視確認できるようにするとよい。
【0019】
図2について説明すると、硬貨機構10の各種動作の制御のためにマイクロコンピュータ20が設けられており、上述の各種センサ15,16a〜16d,17a〜17dの出力、スイッチ18の出力、硬貨選別機11の入金センサ21の出力が、マイクロコンピュータ20に入力される。マイクロコンピュータ20は、これらの入力に応じて図3〜図6に示すようなフローを含む処理を実行する。この処理の過程で、硬貨払出し機構13を作動させて所要の硬貨を所要の硬貨チューブA〜Dから払い出す必要が生じた場合、硬貨払出命令を硬貨払出ドライバ22に与える。硬貨払出ドライバ22は、硬貨払出し機構13内のモータやソレノイドなどである。また、マイクロコンピュータ20は、外部通信インタフェース23を介して他の制御装置(例えば自動販売機本体の中央制御装置)と情報のやりとりを行う。例えば、投入金額情報を自動販売機本体の中央制御装置に与えたり、自動販売機本体の中央制御装置から釣銭払出し命令を受けたりするために、外部通信インタフェース23が利用される。しかし、本発明においては、貯蔵硬貨の回収(インベントリ)処理時においては、自動販売機本体の中央制御装置との間での情報のやり取りは不要であり、硬貨機構10の側のみで処理が行われるようになっている。
【0020】
マイクロコンピュータ20の内部には、硬貨貯蔵装置12の各チューブA〜D毎に硬貨の出入り量(増減)を加減算計数するための硬貨出入カウンタCNTnと、在庫設定フラグFが設けられる。追って説明するように、各チューブ毎の硬貨出入カウンタCNTnは、カセット式の硬貨貯蔵装置12が一旦取り外されたことがセンサ15によって検知されたことに応じてそのカウント内容が所定の初期値(例えば0)にリセットされ、その後の各チューブへの硬貨の投入と該チューブからの硬貨の払い出しに応じてそのカウント内容が増減(加減算)制御されるものである。また、在庫設定フラグFは、前記センサ15の出力に基づき、カセット式の硬貨貯蔵装置12の取り外しに応じて“0”にリセットされ、該硬貨貯蔵装置12の装着に応じて“1”にセットされるフラグであり、硬貨貯蔵装置12の取り外しと再装着がなされたことによって、硬貨貯蔵装置12内の硬貨貯蔵量の初期設操作がなされたものと擬制する。また、このフラグFは、電源投入時に“0”にリセットされるようになっており、貯蔵硬貨の回収(インベントリ)処理を行うときに、このフラグFが“0”にリセットされている場合は、停電が有ったことを示す。
【0021】
次に、図3〜図6を参照して具体的な制御例について説明する。
図3は、電源投入に基づいて実行されるメインのフローを略示する図である。電源投入されると、ステップS1において直ちに所定の各種初期設定処理が行われる。この初期設定処理には、上記の在庫設定フラグFを“0”にリセットすることと、各チューブ毎の硬貨出入カウンタCNTnのカウント内容を所定値(例えば0)に夫々リセットすることが含まれている。
ステップS2は、通常の硬貨投入及び払出制御処理を包括的に示すものである。この点は本発明の要旨ではないので詳しい説明は省く。硬貨の投入があった場合又は硬貨の払出しを行う場合は、このステップS2で所要の処理を行った後、次のステップS3に行く。硬貨の投入もなく、また硬貨の払出しも行わない場合は、直ちに次のステップS3に行く。
ステップS3では、前記カセット脱着センサ15の出力に基づき、硬貨貯蔵装置12に取り外しイベントがあったか否かを判定する。すなわち、センサ15の出力がカセットオンからオフに変化したかどうかを調べる。YESであれば、ステップS4に行き、「カセット外れ処理」(詳細は図4)を行う。すなわち、硬貨貯蔵装置12に取り外しイベントがあった場合は、各チューブA〜Dの硬貨出入カウンタCNTnを所定値(例えば0)にリセットし、かつ、在庫設定フラグFを“0”にリセットする(図4のステップS41)。
【0022】
次のステップS5では、前記カセット脱着センサ15の出力に基づき、硬貨貯蔵装置12に装着イベントがあったか否かを判定する。すなわち、センサ15の出力がカセットオフからオンに変化したかどうかを調べる。YESであれば、ステップS6に行き、「カセット装着処理」(詳細は図5)を行う。すなわち、硬貨貯蔵装置12に装着イベントがあった場合は、在庫設定フラグFを“1”にセットする(図5のステップS61)。
次のステップS7では、前記ステップS2での硬貨投入処理又は払出処理に対応して、投入硬貨が補充されたチューブの硬貨出入カウンタCNTnのカウント内容を+1だけ増加する処理、若しくは、硬貨が払い出されたチューブの硬貨出入カウンタCNTnのカウント内容を−1だけ減少する処理を行う。こうして、各硬貨チューブA〜Dから出入りした硬貨枚数が、対応する硬貨出入カウンタCNTnのカウント内容に対して加減算される。なお、硬貨の投入もなく、また硬貨の払出しも行われていない場合は、直ちに次のステップS8に行く。なお、硬貨が投入された場合であっても、対応するチューブが満杯状態であることにより、該投入硬貨がチューブに補充されずに金庫にオーバーフローした場合は、カウンタCNTnの+1カウントを行わないのは勿論である。
ステップS8では、定量釣銭合わせスイッチ18がオン操作されたかどうかを調べる。NOであれば、ステップS2に戻り、メインルーチンを繰り返す。YESであれば、ステップS9に行き、「定量釣銭合わせ処理」(詳細は図6)を行う。
【0023】
次に、動作例について説明する。まず、最初は、硬貨貯蔵装置12の各チューブA〜Dには、適量の硬貨を貯蔵しておくものとする。すなわち、釣銭用として使用される金種の硬貨を貯蔵するチューブにおいては、釣銭不足を来すような硬貨貯蔵量の不足が始めからあっては困るので、適量の硬貨を手動補給しておく。この手動補給時に、硬貨貯蔵装置12のカセットの取外しと再装着が行われるので、ステップS4とS6の処理により(図4,図5)各金種毎の硬貨出入カウンタCNTnが所定値「0」にリセットされ、かつ、在庫設定フラグFが一旦“0”にリセットされてから“1”にセットされる。このとき、各金種毎の硬貨出入カウンタCNTnのカウント内容は所定値「0」であり、硬貨貯蔵装置12の各チューブA〜Dに実際に貯蔵されている硬貨量(初期貯蔵量)に一致していないが、それで構わない。すなわち、硬貨出入カウンタCNTnは未知の初期貯蔵量(x)を基準にした硬貨の出入り量をカウントする目的で使用されるので、初期貯蔵量(x)の具体的数値は未知であってもよい。
【0024】
通常の稼働動作中において、硬貨が投入されて、その金種に対応する硬貨貯蔵装置12の或るチューブA〜Dに補給されると、該金種に対応する硬貨出入カウンタCNTnのカウント内容が+1増加される(ステップS7)。また、釣銭等として、硬貨貯蔵装置12の或るチューブA〜Dから硬貨が払い出されると、該金種に対応する硬貨出入カウンタCNTnのカウント内容が−1減少される(ステップS7)。こうして、各チューブA〜Dに対応する硬貨出入カウンタCNTnにおいては、各チューブA〜Dにおける硬貨の出入り量の差が累積的にカウントされる。なお、チューブA〜Dから硬貨が払い出されたことは、例えば、金種別の払い出し制御ソレノイド制御信号あるいは払い出しモータのキャリアスイッチ作動信号あるいは硬貨払い出し検出スイッチの出力信号など、従来公知の手段によって検出することができる。
【0025】
やがて、管理者が、売上げ管理のために、定量釣銭合わせスイッチ18をオン操作すると、図3のステップS8がYESに分岐し、ステップS9の「定量釣銭合わせ処理」を行う。この「定量釣銭合わせ処理」では、硬貨貯蔵装置12の貯蔵硬貨のうち釣銭用硬貨として定量若しくは適量の硬貨を残し、その他の硬貨を自動的に払い出す処理を行う。
図6によって、「定量釣銭合わせ処理」について説明すると、まず、ステップS91では、在庫設定フラグFが“1”であるか否かを判断する。稼働動作中に停電がなければ、前回の回収処理時に硬貨貯蔵装置12のカセットを装着したときに該フラグFが“1”にセットされているので、YESであり、次のステップS92に行く。
ステップS92では、各チューブ毎の硬貨出入カウンタCNTnのカウント値が初期リセットした所定値すなわち「0」よりも大きいかどうかを夫々判定し、そうであれば、その差分、すなわち初期リセットした所定値が「0」ならばカウンタCNTnのカウント値、に相当する枚数の硬貨を当該チューブから払い出すようセットする。次のステップS93では、前ステップでセットされた枚数分の硬貨を、対応するチューブから、夫々自動的に払い出す。
【0026】
図6の処理を行うときの、或るチューブに対応する硬貨出入カウンタCNTnのカウント値をMとすると、このカウント値Mは、該チューブに入った硬貨枚数とそこから払い出された硬貨枚数との差を示している。従って、該チューブにおける未知の初期貯蔵量をxとすると、上記ステップS92,S93によって払出処理を行う直前における該チューブの実際の硬貨貯蔵量は、「x+M」である。そして、上記ステップS92,S93によってカウント値Mに相当する枚数の硬貨が該チューブから自動的に払い出されるので、該チューブには前記初期貯蔵量xに相当する定量(未知数ではあるが定量である)の硬貨が残される。このようにして、釣銭用の硬貨として、定量(x)の硬貨をチューブ内に自動的に残し、他の硬貨を自動的に払い出して回収する処理を容易に行うことができる。
【0027】
なお、或るチューブに対する硬貨補給量よりも該チューブからの硬貨払出量の方が多かった場合は、ステップS92での「CNTn>0」の判断は、該チューブについてはNOとなる。そのようなチューブについては、ステップS93での硬貨払い出し処理は行わない。
ところで、ステップS92での判断で「CNTn>0」が成立しなかったチューブについては、該チューブ内の実際の硬貨貯蔵量が初期貯蔵量xよりも減っており、釣銭用硬貨の不足を来たしている怖れが大である。そのため、管理者は、必ず、この回収処理の最後に、硬貨貯蔵装置12のカセットを本体から一旦取り外して各チューブの硬貨貯蔵状態を目視確認するものとする。前述の通り、硬貨貯蔵装置12の各チューブA〜D毎の所定量硬貨貯蔵位置に施された可視的なマークを目安にして、透明体を通して硬貨貯蔵状態を目視確認し、硬貨貯蔵量がマーク位置に満たないチューブについては、マーク位置を満たすように所要量の硬貨を手動補給してやるものとする。それから、硬貨貯蔵装置12のカセットを本体に再装着する。この硬貨貯蔵装置12のカセット取外しと再装着に応じて、ステップS41,S61(図4,図5)の処理により、各チューブに対応する硬貨出入カウンタCNTnのカウント内容が所定値(例えば0)にリセットされ、かつ在庫設定フラグFが“1”にセットされる。
ところで、硬貨貯蔵装置12の各チューブA〜D毎の所定量硬貨貯蔵位置に施す可視的なマークは、例えば接着式の色テープまたはシール等の手段によって、そのマーク位置を変更可能なようにするとよい。これによって、次回のインベントリ処理時において、かなり硬貨貯蔵量が減っている場合は、マークの位置を変更して所定量硬貨貯蔵位置のレベルを上げるように管理することができる。
【0028】
なお、通常の稼働動作中に停電があった場合は、電源回復時に図3のステップS1によって初期設定処理がなされ、在庫設定フラグFが“0”にリセットされる。これにより、その後、定量釣銭合わせスイッチ18がオン操作されたとき、図6のステップS91がNOと判定され、ステップS92,S93の処理を行わずに、終了する。これは、停電によって、硬貨出入カウンタCNTnのカウント内容が不正確になっているからである。そのような場合は、上記のように硬貨貯蔵装置12のカセットを本体から取り外したときに、その硬貨貯蔵量を前記マークを目安にして目視確認し、余剰があれば手動回収し、不足があれば手動補給してやればよい。なお、硬貨出入カウンタCNTnをバッテリバックアップするか又はその他の不揮発性メモリによって構成すれば、このような停電時の対策は不要である。
【0029】
図12は、図6に示された「定量釣銭合わせ処理」の変更例を示す。図12において、ステップS91からS93までの処理は、図6に示された同一番号のステップによる処理と同じである。図12においては、ステップS91がNOのとき又はステップS93の後に行なうべき処理として、ステップS81とS82が挿入されている。ステップS81の処理内容は、図4におけるステップS41と同じであり、各チューブA〜Dの硬貨出入カウンタCNTnを所定値(例えば0)にリセットし、かつ、在庫設定フラグFを“0”にリセットする処理からなる。また、ステップS82の処理内容は、図5におけるステップS61と同じであり、在庫設定フラグFを“1”にセットする処理からなる。すなわち、この図12に示す変更例においては、硬貨貯蔵装置12のカセットの取り外しと再装着操作を実際に行なう必要性無しに、「定量釣銭合わせ処理」のルーチンの最後で、「カセット外れ処理」(図4)と「カセット装着処理」(図5)と同じ処理であるステップS81とS82の処理を自動的に行なうようにしている。従って、この変更例によれば、硬貨貯蔵装置12のカセットを一旦取り外してそれから再装着する手間を省くことができる。すなわち、図6の例では、硬貨貯蔵装置12に硬貨を手動補給する必要のない場合であっても、硬貨貯蔵装置12のカセットを一旦取り外してそれから再装着する手間が必要であるが、図12の例ではその必要がない。なお、図12の例を採用する場合は、カセット脱着センサ15を省略し、かつ、図3におけるステップS3〜S6を省略してもよい。
【0030】
なお、図12の例の場合、硬貨貯蔵装置12の各チューブA〜Dに対する必要な硬貨の補充は、図6の例と同様に、硬貨貯蔵装置12のカセットを一旦取り外して各チューブに必要な硬貨を手動補給し、それからカセットを再装着するようにしてよい。あるいは、硬貨貯蔵装置12のカセットを本体に装着したままの状態で、各チューブの硬貨貯蔵状態を目視確認しながら、入口14(又はその前段の硬貨投入スロット)から必要な金種と枚数の硬貨を手動投入することにより、行なうようにしてもよい。
図12の変更例として、図13に示すように、ステップS81の手前に、所定の選択スイッチ(図示せず)がオンされたか否かを判定するステップS83を設け、YESの場合はステップS81とS82の処理を行なうが、NOの場合はステップS81とS82の処理をジャンプしてリターンに行くように、構成してもよい。そうすれば、硬貨貯蔵装置12のカセットを一旦取り外して各チューブに必要な硬貨を手動補給しようと考えている場合は、該所定の選択スイッチをオフのままにしておき、ステップS81とS82の処理を行なわないようにすることができる。その場合は、図6と同様の実施形態となる。一方、硬貨貯蔵装置12のカセットを取り外すつもりのない場合は、該所定の選択スイッチをオンし、ステップS81とS82の処理を行なうようにする。
【0031】
次に、第2の発明についての実施の一形態を説明する。
第2の発明については、硬貨機構10の構成は図1に示したものと同様のものを用いることができ、各チューブ毎の満杯センサ16a〜16dと釣銭不足センサ17a〜17dを使用して、硬貨出入カウンタCNTnにおける硬貨貯蔵量の管理精度を向上させることができるようにしている。
図7は、第2の発明を実施するために使用する、図2と同様の、制御回路ブロック図である。図2と異なる点はマイクロコンピュータ20に付属して不揮発性書替え可能ROM24が設けられている点であり、他は図2と同じである。
不揮発性書替え可能ROM24は、釣銭用硬貨の適正な在庫として初期貯蔵しておくべき規定値Knを示す数値を記憶しているものである。この規定値Knは各チューブ毎に設定されるようになっていてよく、各チューブ毎に設定された規定値Knを示す数値がROM24に記憶されている。前述の第1の発明の実施例においては、実際の初期貯蔵量xと、硬貨出入カウンタCNTnにリセット(プリセット)される所定値(例えば0)とが必ずしも一致していない。これに対して、第2の発明においては、規定値Knと実際の初期貯蔵量xは一致若しくは略対応しているものとし、この規定値Knを示す数値をROM24から読み出して硬貨出入カウンタCNTnにプリセットすることにより、実際の初期貯蔵量xと、硬貨出入カウンタCNTnにプリセットされる所定値(第1の所定値)とが一致若しくは略対応するようにしている。
【0032】
図8〜図11は、第2の発明を実施するために使用されるフロー図である。図8は電源投入に応じてスタートするメインフローの一例を示し、図3と同様の処理を行うステップは同一番号を付して説明を省略する。図9は、図8のステップS4における「カセット外れ処理」の詳細例を示す。図10は、図8のステップS6における「カセット装着処理」の詳細例を示す。図11は、図8のステップS9における「定量釣銭合わせ処理」の詳細例を示す。
図8において、ステップS11とS12は初期設定処理であり、ステップS11では、各チューブの硬貨出入カウンタCNTnの内容を0にリセットすると共に、各チューブ毎の在庫記憶フラグFnを“0”にリセットする。ステップS12では、不揮発性書替え可能ROM24から各チューブ毎の適正在庫規定値Knを読み出し、適宜のレジスタにバッファ記憶しておくと共に、設定フラグSFを“0”にリセットする。この設定フラグSFは、適正在庫規定値Knを設定する処理の管理を行うためのものである。
【0033】
図8のステップS3〜S6では、図3のステップS3〜S6と同様に、硬貨貯蔵装置12の脱着イベント検出に応じて「カセット外れ処理」又は「カセット装着処理」を行う。ただし、「カセット外れ処理」と「カセット装着処理」の詳細は、図9,図10に示すように、図4,図5の例とは異なっている。
図9の「カセット外れ処理」では、まず、ステップS42で、各チューブA〜Dの硬貨出入カウンタCNTnのカウント内容を0にリセットし、かつ、在庫記憶フラグFnを“0”にリセットする。次に、ステップS43では、設定フラグSFが“0”であるか否かを調べる。NOであれば、この処理をリターンするが、YESであれば、ステップS44に行き、設定フラグSFを“1”に変更する。
図10の「カセット装着処理」では、まず、ステップS62で各チューブA〜D毎の釣銭不足センサ17a〜17dの出力をチェックし、釣銭用硬貨有り=YESのチューブ(所定の釣銭不足量よりも多い硬貨を貯蔵しているチューブ)についてステップS63の処理を行う。釣銭用硬貨有り=NOのチューブ(所定の釣銭不足量以下の硬貨しか貯蔵していないチューブ)についてはステップS63の処理を行わない。ステップS63では、ステップS62で釣銭用硬貨有り=YESと判定されたチューブについて、その硬貨出入カウンタCNTnのカウント内容として前記適正在庫規定値Kn(第1の所定値)をプリセットし、かつ対応する在庫記憶フラグFnを“1”にセットする。
一方、ステップS64では、全チューブA〜Dが釣銭用硬貨不足状態であるかを確認する。YESであれば、ステップS65に行き、設定フラグSFが“1”であるかどうかを調べる。YESであれば、ステップS65に行き、設定フラグSFを“2”に変更する。
【0034】
図8に戻り、ステップS7では、図3のステップS7と略同様に、各チューブの硬貨出入りに応じて硬貨出入カウンタCNTnを+1または−1ずつ増加又は減少する処理を行う。また、これに加えて、設定フラグSFが“2”でなければこれを“99”に変更するフラグ管理をも行う。
また、定量釣銭合わせスイッチ18がオン操作されたことが検出されると、ステップS8のYESからステップS9に行き、図11に示された「定量釣銭合わせ処理」を行う。
図8のステップS13では、いずれかの満杯センサ16a〜16dに満杯オンイベントがあったか(満杯に変化したか)を検出する。YESの場合は、ステップS15に行き、対応する硬貨出入カウンタCNTnのカウント内容を所定の満杯位置に対応する満杯規定値(第2の所定値)にプリセットするとともに、対応する在庫記憶フラグFnを“1”にセットする。
ステップS14では、いずれかの釣銭不足センサ17a〜17dに不足オンイベントがあったか(釣銭不足無しから釣銭不足有りに変化したか)を検出する。YESの場合は、ステップS16に行き、対応する硬貨出入カウンタCNTnのカウント内容を所定の不足位置に対応する不足規定値(第3の所定値)にプリセットするとともに、対応する在庫記憶フラグFnを“1”にセットする。
【0035】
次に、図8〜図11を参照して動作例について説明する。
まず、各金種毎の適正在庫規定値Knを設定する処理について、その一例を説明する。この設定処理は、硬貨貯蔵装置12のカセットを一旦外して、チューブ内の貯蔵硬貨をすべて零とし、それから、硬貨貯蔵装置12のカセットを再装着すると共に定量釣銭合わせスイッチ18をオン操作し、それから、各金種の硬貨を夫々規定値Knとして設定したい枚数だけ投入することによって行う。
その場合、硬貨貯蔵装置12のカセット外しに応じて、図9の「カセット外れ処理」が行われ、ステップS43で設定フラグSFが“0”であることを確認して、該設定フラグSFを“1”にセットする。それから、硬貨貯蔵装置12のカセット再装着に応じて、図10の「カセット装着処理」が行われ、ステップS62,S64で、各チューブA〜Dがすべて釣銭不足状態となっていることを確認し、ステップS65に行く。このステップS65で設定フラグSFが“1”であることを確認し、ステップS66で、該設定フラグSFを“2”にセットする。こうして、各金種毎の適正在庫規定値Knを設定する処理を行うときに、設定フラグSFが“2”にセットされる。そして、定量釣銭合わせスイッチ18のオン操作に応じて図11の定量釣銭合わせ処理を行う状態となる。図11の処理において、ステップS94で、設定フラグSFが“2”であるかどうかが調べられる。今は、上記のようにSF=“2”にセットされているので、ステップS99に行く。ステップS99では、投入された金種別の硬貨枚数を、不揮発性書替え可能ROM24に、各金種毎の適正在庫規定値Knとして夫々格納すると共に、この適正在庫規定値Knを対応する硬貨出入カウンタCNTnに夫々プリセットし、かつ、すべての在庫記憶フラグFnを“1”にセットし、設定フラグSFを“99”に変更する。こうして、設定フラグSFが“99”にセットされると、各金種毎の適正在庫規定値Knを設定する処理が終了したことを示す。なお、或るチューブに関して在庫記憶フラグFnが“1”にセットされているときは、そのチューブに関する硬貨出入カウンタCNTnの値が或る程度正確であることを示している。
【0036】
通常の稼働動作中において、硬貨が投入されて、その金種に対応する硬貨貯蔵装置12の或るチューブA〜Dに補給されると、該金種に対応する硬貨出入カウンタCNTnのカウント内容が+1増加され、また、釣銭等として、硬貨貯蔵装置12の或るチューブA〜Dから硬貨が払い出されると、該金種に対応する硬貨出入カウンタCNTnのカウント内容が−1減少される点(ステップS7の処理)は前記第1の発明の実施例と同様である。こうして、各チューブA〜Dに対応する硬貨出入カウンタCNTnにおいては、各金種毎の適正在庫規定値Knを初期値として、各チューブA〜Dにおける硬貨の出入り量の差が累積的にカウントされる。
その過程で、或るチューブの硬貨貯蔵量が満杯になったことが満杯センサ16a〜16dによって検知されると、ステップS13がYESとなり、ステップS15で、対応する硬貨出入カウンタCNTnのカウント内容を所定の満杯位置に対応する満杯規定値(第2の所定値)にプリセットするとともに、対応する在庫記憶フラグFnを“1”にセットする。
また、或るチューブの硬貨貯蔵量が空(釣銭不足)になったことが釣銭不足センサ17a〜17dによって検知されると、ステップS14がYESとなり、ステップS16で、対応する硬貨出入カウンタCNTnのカウント内容を所定の不足位置に対応する不足規定値(第3の所定値)にプリセットするとともに、対応する在庫記憶フラグFnを“1”にセットする。
こうして、満杯センサ16a〜16dと釣銭不足センサ17a〜17dの検知出力を利用して、各チューブに関する硬貨出入カウンタCNTnの値が或る程度正確な硬貨貯蔵量を示すように、プリセット処理を行う。
【0037】
やがて、管理者が、売上げ管理のために、定量釣銭合わせスイッチ18をオン操作すると、図8のステップS8がYESに分岐し、ステップS9の「定量釣銭合わせ処理」を行う。図11に示された「定量釣銭合わせ処理」では、基本的には、前記図6の処理と同様に、硬貨貯蔵装置12の貯蔵硬貨のうち釣銭用硬貨として定量若しくは適量の硬貨を残し、その他の硬貨を自動的に払い出す処理を行う。ただし、第2の発明においては、釣銭用硬貨として適正な在庫規定値Knが各チューブ毎に設定されており、これを基準にして判定を行うようになっている点が前記第1の発明とは相違している。
【0038】
すなわち、図11のステップS95では、在庫記憶フラグFnが“1”であることを条件に、各チューブ毎の硬貨出入カウンタCNTnのカウント値が初期設定した第1の所定値すなわち適正在庫規定値Knよりも大きいかどうかを夫々判定し、そうであれば、その差分、すなわち「CNTn−Kn」に相当する枚数の硬貨を当該チューブから払い出すようセットする。次のステップS96では、前ステップでセットされた枚数分の硬貨を、対応するチューブから、夫々自動的に払い出す。
【0039】
図11の処理を行うときの、或るチューブに対応する硬貨出入カウンタCNTnのカウント値を「Kn+M」とすると、値Mは、前述と同様に、該チューブに入った硬貨枚数とそこから払い出された硬貨枚数との差を示している。上記ステップS95,S96によって差「CNTn−Kn=M」に相当する枚数の硬貨が該チューブから自動的に払い出されるので、該チューブには前記初期貯蔵量に相当する規定値Knの枚数の硬貨が残される。このようにして、釣銭用の硬貨として、適正在庫規定値Knの枚数の硬貨をチューブ内に自動的に残し、他の硬貨を自動的に払い出して回収する処理を容易に行うことができる。
【0040】
なお、或るチューブに対する硬貨補給量よりも該チューブからの硬貨払出量の方が多かった場合は、前述と同様に、ステップS95での「CNTn>Kn」の判断は、該チューブについてはNOとなる。そのようなチューブについては、ステップS96での硬貨払い出し処理は行わない。
また、前述と同様に、ステップS95での判断で「CNTn>Kn」が成立しなかったチューブについては、該チューブ内の実際の硬貨貯蔵量が適正在庫規定値Knよりも減っており、釣銭用硬貨の不足を来たしている怖れが大である。そのため、管理者は、必ず、この回収処理の最後に、硬貨貯蔵装置12のカセットを本体から一旦取り外して各チューブの硬貨貯蔵状態を目視確認するものとする。前述の通り、硬貨貯蔵装置12の各チューブA〜D毎の所定量硬貨貯蔵位置に施された可視的なマークを目安にして、透明体を通して硬貨貯蔵状態を目視確認し、硬貨貯蔵量がマーク位置に満たないチューブについては、マーク位置を満たすように所要量の硬貨を手動補給してやるものとする。それから、硬貨貯蔵装置12のカセットを本体に再装着する。この硬貨貯蔵装置12のカセット取外しと再装着に応じて、ステップS42(図9),S62,S63(図10)の処理により、各チューブに対応する硬貨出入カウンタCNTnのカウント内容が一旦クリアされ、それから釣銭不足センサ17a〜17dの検知位置よりも多く補給されていることを確認した上で、適正在庫規定値Knが硬貨出入カウンタCNTnにプリセットされ、かつ在庫記憶フラグFnが“1”にセットされる。
【0041】
なお、通常の稼働動作中に停電があった場合は、電源回復時に図8のステップS1,S12によって初期設定処理がなされ、在庫記憶フラグFnが“0”にリセットされる。これにより、その後、定量釣銭合わせスイッチ18がオン操作されたとき、Fn=“0”により、図11のステップS95,S96を実行せずにステップS97に行く。ステップS97では、在庫記憶フラグFnが“0”であり、かつ、対応する釣銭不足センサ17a〜17dの出力が釣銭有りを示しているチューブが有るかを調べる。YESならば、ステップS98に行き、該当するチューブから硬貨を自動的に払い出す処理を行う。この払出処理は、該チューブに対応する釣銭不足センサ17a〜17dの出力が釣銭不足を示すようになるまで行われる。すなわち、この実施例では、停電があった場合でも、釣銭不足センサ17a〜17dの出力が釣銭有りを示している場合は、釣銭不足位置になるまで、硬貨を自動的に払い出すようにし、回収に便ならしめるようにしている。そのような場合は、上記のように硬貨貯蔵装置12のカセットを本体から取り外したときに、その硬貨貯蔵量を前記マークを目安にして目視確認し、所定の適正在庫規定値Knに達するまで不足分を手動補給してやればよい。なお、硬貨出入カウンタCNTnをバッテリバックアップするか又はその他の不揮発性メモリによって構成すれば、このような停電時の対策は不要である。
【0042】
図14は、図11に示された「定量釣銭合わせ処理」の変更例を示す。図14において、ステップS94〜S99の処理は、図11に示された同一番号のステップによる処理と同じである。図14においては、ステップS97がNOのとき又はステップS99の後に行なうべき処理として、ステップS85とS86が挿入されている。ステップS85では、前述の図9に示された「カセット外れ処理」サブルーチンを行なう。また、ステップS86では、前述の図10に示された「カセット装着処理」サブルーチンを行なう。すなわち、この図14に示す変更例においては、硬貨貯蔵装置12のカセットの取り外しと再装着操作を実際に行なう必要性無しに、「定量釣銭合わせ処理」のルーチンの最後で、「カセット外れ処理」サブルーチン(図9)と「カセット装着処理」サブルーチン(図10)を自動的に行なうようにしている。従って、この図14の変更例によれば、前出の図12の変更例と同様に、硬貨貯蔵装置12のカセットを実際に一旦取り外してそれから再装着する手間を省くことができる。すなわち、図11の例では、硬貨貯蔵装置12に硬貨を手動補給する必要のない場合であっても、硬貨貯蔵装置12のカセットを一旦取り外してそれから再装着する手間が必要であるが、図14の例ではその必要がない。なお、図14の例を採用する場合は、カセット脱着センサ15を省略し、かつ、図8におけるステップS3〜S6を省略してもよい。
【0043】
なお、図14の例の場合、硬貨貯蔵装置12の各チューブA〜Dに対する必要な硬貨の補充は、図6の例と同様に、硬貨貯蔵装置12のカセットを一旦取り外して各チューブに必要な硬貨を手動補給し、それからカセットを再装着するようにしてよい。あるいは、硬貨貯蔵装置12のカセットを本体に装着したままの状態で、各チューブの硬貨貯蔵状態を目視確認しながら、入口14(又はその前段の硬貨投入スロット)から必要な金種と枚数の硬貨を手動投入することにより、行なうようにしてもよい。
図14の変更例として、前出の図13と同様に、ステップS85の手前に、所定の選択スイッチ(図示せず)がオンされたか否かを判定するステップ(図13のステップS83に相当するステップ)を設け、YESの場合はステップS85とS86の処理を行なうが、NOの場合はステップS85とS86の処理をジャンプしてリターンに行くように、構成してもよい。そうすれば、硬貨貯蔵装置12のカセットを一旦取り外して各チューブに必要な硬貨を手動補給しようと考えている場合は、該所定の選択スイッチをオフのままにしておき、ステップS85とS86の処理を行なわないようにすることができる。その場合は、図11と同様の実施形態となる。一方、硬貨貯蔵装置12のカセットを取り外すつもりのない場合は、該所定の選択スイッチをオンし、ステップS85とS86の処理を行なうようにする。
【0044】
なお、上記第2の発明において、適正在庫規定値Knを記憶するROM24を、差替式メモリとしてもよい。そうすれば、硬貨投入による適正在庫規定値Knの設定操作を不要にすることができる。また、各金種毎の適正在庫規定値Knを示すデータを別の場所で適宜設定し、このデータを外部通信インタフェース23を介して硬貨機構10のマイクロコンピュータ20に転送し、これをROM24に記憶するようにしてもよい。ROM24は、バッテリバックアップされたRAMを使用してもよい。
上述した第1及び第2の発明の各実施態様の一部分を互いに組み合わせて、変更された実施の形態を構成するようにしてもよい。例えば、図11のステップS97,S98の処理を、図6において適用してもよい。その他、図3〜図6,図12,図13と図8〜図11,図13の各ステップの処理を部分的に適宜組み合わせて、本発明の実施の形態を適宜変形することができる。
【0045】
【発明の効果】
以上の通り、この発明によれば、硬貨貯蔵装置を硬貨機構の本体から一旦取り外したことが検知されたときに、又は定量釣銭合わせ処理の最後で自動的に、その後の硬貨出入り量計数演算のための計数手段のカウント内容を自動的に第1の所定値にリセット(初期設定)するようにしたので、初期貯蔵量を格別に数値設定する必要性無しに、管理者による貯蔵硬貨の回収及び補給時において、硬貨貯蔵装置内に常に定量の硬貨を推定的に初期貯蔵させる管理を簡単に行うことができるようになる、という優れた効果を奏する。従って、管理者は、硬貨機構の側だけでの簡易な操作によってインベントリ回収操作を行うことができ、また、操作上の煩わしさもない。
また、硬貨貯蔵量の満杯検知に応じて計数手段のカウント内容を満杯位置に対応する第2の所定値にプリセットし、硬貨貯蔵量の空(釣銭不足)検知に応じて計数手段のカウント内容を空位置(釣銭不足位置)に対応する第3の所定値にプリセットするようにしたことによって、通常の稼働中に、実際の硬貨貯蔵量が満杯量になったとき、又は空量(釣銭不足状態)になったとき、それぞれに対応する第2又は第3の所定値が計数手段にプリセットされ、該計数手段のカウント内容が正確な硬貨貯蔵量を示す値に自動修正されるので、硬貨貯蔵量の管理精度を向上させることができる。
【図面の簡単な説明】
【図1】本発明に係る硬貨機構の機構部の一例を示す正面略図。
【図2】図1の硬貨機構に搭載される制御回路装置の一実施例を示すハード構成ブロック図。
【図3】図2のマイクロコンピュータによって実行されるメイン処理のフローを略示する図。
【図4】図3の「カセット外れ処理」の詳細例を示すフロー図。
【図5】図3の「カセット装着処理」の詳細例を示すフロー図。
【図6】図3の「定量釣銭合わせ処理」の詳細例を示すフロー図。
【図7】図1の硬貨機構に搭載される制御回路装置の別の実施例を示すハード構成ブロック図。
【図8】図7のマイクロコンピュータによって実行されるメイン処理のフローを略示する図。
【図9】図8の「カセット外れ処理」の詳細例を示すフロー図。
【図10】図8の「カセット装着処理」の詳細例を示すフロー図。
【図11】図8の「定量釣銭合わせ処理」の詳細例を示すフロー図。
【図12】図6の「定量釣銭合わせ処理」の変更例を示すフロー図。
【図13】図12の「定量釣銭合わせ処理」の変更例を示すフロー図。
【図14】図11の「定量釣銭合わせ処理」の変更例を示すフロー図。
【符号の説明】
10 硬貨機構
11 硬貨選別機
12 硬貨貯蔵装置
A,B,C,D 硬貨チューブ
13 硬貨払出し機構
14 入口
15 カセット脱着センサ
16a,16b,16c,16d 満杯センサ
17a,17b,17c,17d 釣銭不足センサ
18 定量釣銭合わせスイッチ
21 入金センサ
20 マイクロコンピュータ
22 硬貨払出ドライバ
23 外部通信インタフェース
CNTn チューブ毎の硬貨出入カウンタ
F 在庫設定フラグ
Fn チューブ毎の在庫記憶フラグ
SF 設定フラグ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a coin mechanism (coin mechanism) used for a vending machine or a money changer, and more particularly to a system for managing the amount of coins stored in a coin storage device in such a coin mechanism. .
[0002]
[Prior art]
A coin mechanism (coin mechanism) used for a vending machine or a money changing machine has a coin storage device generally called a coin tube, and the inserted coins are replenished in the stored coins of the coin tube. The coins in the coins stored in the coin tube are paid out as change or the like. When the storage amount of the coin tube becomes full, coins overflowing from the coin tube are guided to a safe. Conventionally, in managing the amount of coins stored in such a coin tube, a manager (a root man or the like) operates an inventory switch to discharge all coins in the coin tube, collect once as sales, and then change the coins. In order to manually replenish the appropriate amount of coins. In this case, since the amount of manual replenishment at this time becomes the starting amount for the next sales aggregation processing, it is extremely important how many coins have been manually replenished. For this purpose, conventionally, the administrator has counted the number of coins supplied manually while manually replenishing coins, or manually replenished coins until the coin tube became full, thereby considering the full amount as the manual replenishment amount. . However, in the former case, there is a problem that it is troublesome to supply coins while counting the number of supplied coins one by one, and there is a problem that mistakes are likely to occur. On the other hand, in the latter case, the full capacity is not always the same for all coin tubes due to individual differences in the size of coin tubes or individual differences in the thickness of coins, which is inconvenient in management.
[0003]
Therefore, in Japanese Patent Publication No. Hei 6-82426, an arbitrary initial storage amount is set for each coin denomination, and during the inventory processing, coins corresponding to this initial storage amount are stored in the coin storage device. The payout or replenishment processing of the stored coins for each denomination is performed as described above, and the increase / decrease counting operation corresponding to the inserted coins and the dispensed coins is performed on the initial storage amount set value during the normal operation. An invention is disclosed in which an accurate storage amount can be counted and managed.
[0004]
[Problems to be solved by the invention]
However, in the above-described conventional technology, a numerical value setting unit for setting an arbitrary initial storage amount for each coin denomination must be provided, and the setting operation is troublesome. Such a numerical value setting means is generally provided on the central control unit side of a vending machine, and is provided at a place slightly away from a coin mechanism (coin mechanism). It is troublesome for a (Routeman or the like) to perform both the operation of the coin mechanism (coin mechanism) and the operation of the central control unit.
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and can easily perform management for initially storing a fixed amount of coins in a coin storage device at the time of collection and supply of stored coins by an administrator. It is an object of the present invention to provide a coin storage amount management system as described above.
[0005]
[Means for Solving the Problems]
In order to solve the above-mentioned problems, a coin storage amount management system proposed in the present application includes a detachable coin storage device, a mechanism for guiding inserted coins to the coin storage device, and a mechanism for dispensing coins from the coin storage device. And detecting that the coin storage device has been removed.FirstDetection meansSecond detecting means for detecting that the coin storage amount of the coin storage device has reached a predetermined full position, and that the coin storage amount of the coin storage device has decreased to a predetermined empty position. Third detecting means for detectingIn the coin mechanism provided with, counting means for counting the increase and decrease of the amount of coins stored in the coin storage device, the coin storage device is once removedThat the firstDetected by the detection meansWhenThe counting content of the counting meansFirstTo a predetermined valueFirst preset control means for presetting;,The count of the counting means is preset to a second predetermined value corresponding to the full position in response to the fullness detection by the second detection means, and the count of the counting means is counted in response to the empty detection by the third detection means. Second preset control means for presetting the content to a third predetermined value corresponding to the empty position;Control for increasing or decreasing the count content of the counting means in accordance with the insertion of coins into the coin storage device and the payout of coins from the coin storage deviceToCount control means for performing, a switch operated by an administrator, and a current count value of theFirstIt is characterized by comprising payout control means for judging a difference from a predetermined value and paying out the difference coin from the coin storage device when the coin insertion amount exceeds the payout amount.
[0006]
When the administrator performs the operation of once removing the coin storage device from the coin mechanism main body and reattaching it, this removal operation has occurred.FirstDetected by the detecting means, the count content of the counting meansFirstTo a predetermined valueStepReset. in this case,StepResetFirstThe predetermined value may be any value, for example, may be reset to “0”, or may be preset to another appropriate value. (Thus, the term "reset" should be considered synonymous with "preset.") At this time, how much coins are actually stored in the coin storage device as an initial value (probably x). It does not matter whether it is stored as. Of course, it is inconvenient if there is a shortage of coin storage that causes shortage of change, but this point is that if the coin storage device is once removed, the necessary amount of coins will be manually replenished, The required coin storage amount can be secured. Thus, at the time of the inventory collection operation by the administrator, once the coin storage device is removed, and if necessary, an appropriate amount of coins are manually replenished, and then re-installed, the coin mechanism becomes usable and the counting is performed. Means to appropriate predetermined valueStepReset (initial setting). Here, since the predetermined value (for example, 0) initially set in the counting means does not need to indicate this actual initial storage amount, the particular value matching the predetermined value with the actual initial storage amount (x) is used. Is not required at all.
Thereafter, the coin mechanism is operated normally, and according to the operation, if coins are refilled in the coin storage device in accordance with the insertion of coins, the count content of the counting means is added and counted by that amount (inversely, by design) If the coin is paid out from the coin storage device as change or the like, the count content of the counting means is subtracted and counted by that amount (the design may be reversed in addition). . In this way, the amount of coins entering and leaving the coin storageStepThe increase / decrease is counted based on the reset predetermined value (for example, 0).
[0007]
At the time of inventory collection processing, when the administrator operates the switch, the payout control means controls the current count value of the counting means and the current count value according to the operation of the switch.FirstThe difference from the predetermined value is determined, and when the coin input amount exceeds the payout amount (for example, in the case of “current count value> predetermined value”), control for paying out the difference coin from the coin storage device is performed. . Thus, the stored amount of coins left in the coin storage device is used corresponding to the initial storage amount (x), and the inventory collection process is performed so that a fixed amount (x) of coins are always left in the coin storage device. Can be performed automatically. On the other hand, when the coin insertion amount does not exceed the payout amount (for example, when “current count value ≦ predetermined value”), the coin is not paid out from the coin storage device. Therefore, at the end of the inventory collection process, the administrator may temporarily remove the coin storage device from the main body, visually check the amount of coins stored in the coin storage device, and manually supply an appropriate amount of coins if there is a shortage. This makes the counting meansFirstTo a predetermined value (for example, 0)StepAfter resetting (initial setting), the initial value condition for the subsequent coin counting operation can be reliably and easily set.
[0008]
As described above, according to the present invention, when it is detected that the coin storage device has been once removed from the main body of the coin mechanism, the counting content of the counting means for counting the number of coins coming in and out automatically is automatically counted.FirstTo a predetermined valueStepSince the resetting (initial setting) is performed, it is not necessary to numerically set the initial storage amount, and at the time of collection and replenishment of the stored coins by the administrator, a fixed amount of coins are always estimated in the coin storage device. This has an excellent effect that management for initial storage can be easily performed. Therefore, the manager can perform the inventory collection operation by a simple operation only on the coin mechanism side, and there is no troublesome operation.
[0012]
According to the present invention,The counting content of the counting means is preset to a second predetermined value corresponding to the full position in response to the fullness detection by the second detection means, and is counted in accordance with the empty detection (shortage change detection) by the third detection means. A second preset control means for presetting the count content of the means to a third predetermined value corresponding to an empty position (poor change position);ByWhen the actual coin storage amount becomes full or becomes empty during normal operation, a second or third predetermined value corresponding to each of them is preset in the counting means, Is automatically corrected to a value indicating an accurate coin storage amount. Therefore, the management accuracy of the coin storage amount can be improved.
[0013]
Note thatIn order to make it easier to handle the shortage of stored coins,The following measures should be taken. That is,The coin storage device is constituted by a coin tube including a wall portion through which the inside can be seen through, and a visible mark is given to a predetermined amount of coin storage positions of the tube, whereby the storage coin is insufficient. With the mark as a mark, coins can be manually replenished to the predetermined amount coin storage position.Do.Therefore, at the end of the inventory collection process, it is easy to visually check whether there is a shortage of coins, and it is very easy to store coins corresponding to a fixed amount by initial replenishment by using marks as marks. It will be.
In addition,FirstBased on the output of the detection means, further comprising: a flag that is reset in accordance with the removal of the coin storage device, is set in accordance with the mounting of the coin storage device, and initialization means that resets the flag when power is turned on, The payout control means controls the payout of the difference coin on condition that the flag is set.It would be useful for power outage measures. In other words, if there is a power outage between the time of the previous inventory collection and the time of the current inventory collection, the counting content of the counting means becomes unreliable. It is not preferable to do so. Therefore, the inconvenience can be avoided by resetting the flag due to the power failure and not performing the coin payout control. If the counting means is backed up by a battery or is composed of a nonvolatile memory, such flag management is not necessary.
Further, when the flag is reset when the switch (that is, the inventory switch) is operated, and when the third detecting means does not detect the sky, the third detecting means performs the sky detection. A second payout control means for automatically paying out coins in the coin storage device may be provided. That is, if there is a power failure, the counting content of the counting means becomes inaccurate, but if the third detecting means does not detect empty, a sufficient amount of coins are stored in the storage device. Due to the possibility, these coins should be discharged and collected in the inventory collection process. Therefore, it is preferable to control so as to automatically pay out coins until the third detecting means detects an empty state. Of course, thereafter, when the inventory collection processing is completed, the storage device is removed from the main body, and if there is a shortage of stored coins, manual replenishment is performed, and the count content of the counting means is preset to a first predetermined value. Is the same as described above. When the counting means is backed up by a battery or is composed of a non-volatile memory, such flag management and the second payout control means can be made unnecessary.
Note that, as is generally known, the coin storage device may include a plurality of coin storage tubes, and in such a case, it goes without saying that each control described above is performed for each tube.
[0014]
Of the present inventionAs a modified example, the detection means for detecting that the coin storage device has been removed is omitted, and instead, the current count value and the predetermined value of the counting means according to the operation of the switch operated by an administrator are determined. After the determination of the difference is made, the contents of the counting means may be automatically reset to a predetermined value.Good.
[0015]
Ie, Such a variantThe present invention according toThe first detecting means for detecting that the coin storage amount of the coin storage device has reached a predetermined full position, and that the coin storage amount of the coin storage device has decreased to a predetermined empty position Second detecting means for detecting the number of coins stored in the coin storage device, counting means for counting the increase and decrease of the amount of coins stored in the coin storage device, the insertion of coins into the coin storage device and the coins from the coin storage device Count control means for performing control to increase or decrease the count content of the counting means in accordance with the payout, a switch operated by an administrator, and a current count value of the counting means and a first A difference from a predetermined value is determined, and when the coin input amount exceeds the payout amount, the determination is performed in accordance with a payout control unit that pays out the difference coin from the coin storage device and the operation of the switch. later First preset control means for presetting the count content of the counting means to the first predetermined value, and a second preset control means for setting the count content of the counting means to a full position in response to full detection by the first detection means. And a second preset control means for presetting the count content of the counting means to a third predetermined value corresponding to the empty position in response to the sky detection by the second detection means. Features.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a schematic view showing an example of a mechanism of a coin mechanism (coin mechanism) 10 to which the present invention is applied. FIG. 2 is a hardware configuration block showing an embodiment of a control circuit device mounted on the coin mechanism 10. FIG. The coin mechanism 10 roughly includes a coin sorter 11, a coin storage device 12, a coin payout mechanism 13, and a control circuit device shown in FIG. The coin sorter 11 discriminates the authenticity of the coins introduced from the entrance 14, mechanically sorts the true coins and the false coins, guides the false coins to a return passage (not shown), and sorts the true coins by denomination. Mechanically. The coin storage device 12 includes coin tubes A, B, C, and D of denominations, and is of a cassette type that is detachable from a main body frame of the coin mechanism 10. The coins of the denominations sorted by the coin sorter 11 are stored in the coin tubes A, B, C, D corresponding to the denominations. The coin dispensing mechanism 13 selectively dispenses coins from any of the coin tubes A, B, C, and D as change or the like. As is well known, the coin sorter 11 includes an electronic or mechanical input coin sensor (not shown), and responds to the input coin which is determined to be genuine and accepted by the coin storage device 12. Generates a coin type coin detection signal.
[0017]
At a predetermined position of the coin mechanism 10, a cassette detachment sensor 15 for detecting that the cassette type coin storage device 12 has been removed from the main body of the coin mechanism 10 is provided.
In addition, a full sensor 16a, 16b, 16c, 16d and a change shortage sensor 17a, 17b, 17c, 17d are provided in relation to each tube of the coin storage device 12, respectively. The full sensors 16a to 16d are for detecting that the amount of coins stored in the corresponding tubes A to D has reached a predetermined full position. The change shortage sensors 17a to 17d are for detecting that the coin storage amount in the corresponding tubes A to D has decreased to a predetermined empty position (change shortage position). Note that the predetermined empty position (change-deficient position) is not limited to the storage amount 0, but is a position corresponding to an appropriate small amount serving as a criterion for warning of a shortage of storage coins for change.
When the coin storage amount of each tube of the coin storage device 12 overflows beyond the full position, the overflowed coin is guided to a safe (not shown), but this point will not be described in detail.
The configuration of the coin mechanism 10 described so far is known. Therefore, the present invention is not limited to this, and other equivalent or similar configurations may be appropriately adopted.
[0018]
A fixed amount change switch 18 is provided at an appropriate position on the main body frame of the coin mechanism 10. The switch 18 is operated by a manager (rootman) at the time of collection (inventory) processing of stored coins. In response to the ON operation of the switch 18, the "quantitative change adjustment process" according to the present invention (the surplus coins are automatically paid out of the stored coins in the coin storage device 12, so that a fixed amount of coins are left and the change (A process of initial storage as coins) is performed.
In addition, in order to be able to visually check the amount of coins in each of the tubes A to D of the coin storage device 12, at least a part of the wall of each of the tubes A to D is formed of a transparent body through which the inside can be seen through. Good to do. Further, it is preferable that a visible mark is provided at a predetermined amount of coin storage position of each of the tubes A to D, and the mark can be used as a guide so that it is possible to visually confirm whether or not the amount of stored coin is an appropriate amount.
[0019]
Referring to FIG. 2, a microcomputer 20 is provided for controlling various operations of the coin mechanism 10, and outputs of the various sensors 15, 16a to 16d, 17a to 17d, outputs of the switch 18, and a coin sorter. The output of the deposit sensor 11 is input to the microcomputer 20. The microcomputer 20 executes processing including flows as shown in FIGS. 3 to 6 according to these inputs. In the course of this processing, when it becomes necessary to operate the coin payout mechanism 13 to pay out a required coin from the required coin tubes A to D, a coin payout command is given to the coin payout driver 22. The coin payout driver 22 is a motor, a solenoid, or the like in the coin payout mechanism 13. The microcomputer 20 exchanges information with another control device (for example, a central control device of a vending machine main body) via the external communication interface 23. For example, the external communication interface 23 is used to provide input amount information to the central control device of the vending machine main body or to receive a change dispensing command from the central control device of the vending machine main body. However, in the present invention, at the time of collection (inventory) processing of the stored coins, it is not necessary to exchange information with the central controller of the vending machine main body, and the processing is performed only on the coin mechanism 10 side. It has become to be.
[0020]
Inside the microcomputer 20, there are provided a coin entry / exit counter CNTn for adding / subtracting the coin entry / exit amount (increase / decrease) for each of the tubes A to D of the coin storage device 12, and a stock setting flag F. As will be described later, the coin in / out counter CNTn for each tube changes its count content to a predetermined initial value (for example, in response to the sensor 15 detecting that the cassette type coin storage device 12 has been once removed). The count is reset to 0), and the content of the count is controlled to increase or decrease (addition / subtraction) according to the insertion of coins into each tube and the payout of coins from the tubes. The stock setting flag F is reset to “0” based on the output of the sensor 15 when the cassette type coin storage device 12 is removed, and is set to “1” when the coin storage device 12 is mounted. It is assumed that when the coin storage device 12 is removed and re-attached, the coin storage amount in the coin storage device 12 is initialized. The flag F is reset to “0” when the power is turned on. If the flag F is reset to “0” when performing the collection (inventory) processing of the stored coins, Indicates that there was a power outage.
[0021]
Next, a specific control example will be described with reference to FIGS.
FIG. 3 is a diagram schematically showing a main flow executed based on power-on. When the power is turned on, predetermined various initial setting processes are immediately performed in step S1. The initial setting process includes resetting the stock setting flag F to “0” and resetting the count of the coin input / output counter CNTn for each tube to a predetermined value (for example, 0). I have.
Step S2 comprehensively shows ordinary coin insertion and payment control processing. Since this point is not the gist of the present invention, a detailed description will be omitted. When coins have been inserted or coins are to be paid out, the necessary processing is performed in step S2, and then the process proceeds to the next step S3. If no coin is inserted and no coin is paid out, the process immediately proceeds to the next step S3.
In step S3, based on the output of the cassette detachment sensor 15, it is determined whether or not the coin storage device 12 has had a removal event. That is, it is determined whether or not the output of the sensor 15 has changed from ON to OFF. If YES, the process goes to step S4 to perform "cassette detachment processing" (details in FIG. 4). That is, when there is a removal event in the coin storage device 12, the coin in / out counter CNTn of each of the tubes A to D is reset to a predetermined value (for example, 0), and the stock setting flag F is reset to "0" ( Step S41 in FIG. 4).
[0022]
In the next step S5, based on the output of the cassette detachment sensor 15, it is determined whether or not the coin storage device 12 has an attachment event. That is, it is determined whether or not the output of the sensor 15 has changed from cassette off to on. If YES, the process proceeds to step S6 to perform "cassette mounting process" (details in FIG. 5). That is, when there is a mounting event in the coin storage device 12, the stock setting flag F is set to "1" (step S61 in FIG. 5).
In the next step S7, corresponding to the coin insertion processing or the payout processing in the step S2, the processing of increasing the count content of the coin in / out counter CNTn of the tube supplemented by the inserted coin by +1 or the coin is paid out A process is performed to decrease the counted content of the coin in-out counter CNTn of the set tube by -1. In this way, the number of coins coming and going from each of the coin tubes A to D is added to or subtracted from the count content of the corresponding coin in / out counter CNTn. If no coin has been inserted and no coin has been paid out, the process immediately proceeds to the next step S8. Even when a coin is inserted, if the inserted coin overflows into the safe without being refilled in the tube due to the corresponding tube being full, the counter CNTn is not incremented by one. Of course.
In step S8, it is checked whether or not the fixed quantity change switch 18 has been turned on. If NO, the process returns to step S2 and repeats the main routine. If YES, the process proceeds to step S9, where "quantitative change change processing" (see FIG. 6 for details) is performed.
[0023]
Next, an operation example will be described. First, it is assumed that an appropriate amount of coin is stored in each of the tubes A to D of the coin storage device 12. That is, in a tube for storing coins of a denomination used for change, it is not necessary to start with a shortage of coins, which causes shortage of change. Therefore, an appropriate amount of coins is manually supplied. At the time of this manual replenishment, the removal and re-attachment of the cassette of the coin storage device 12 are performed, so that the processing of steps S4 and S6 (FIGS. 4 and 5) sets the coin in / out counter CNTn for each denomination to a predetermined value "0". And the stock setting flag F is once reset to “0” and then set to “1”. At this time, the count value of the coin input / output counter CNTn for each denomination is a predetermined value “0”, and is equal to the coin amount (initial storage amount) actually stored in each of the tubes A to D of the coin storage device 12. I didn't, but that's fine. That is, since the coin entry / exit counter CNTn is used for counting the coin entry / exit amount based on the unknown initial storage amount (x), the specific value of the initial storage amount (x) may be unknown. .
[0024]
During a normal operation, when a coin is inserted and supplied to a certain tube A to D of the coin storage device 12 corresponding to the denomination, the count content of the coin in / out counter CNTn corresponding to the denomination is displayed. +1 is increased (step S7). Further, when coins are paid out from a certain tube A to D of the coin storage device 12 as change or the like, the count of the coin in / out counter CNTn corresponding to the denomination is decreased by -1 (step S7). In this way, the coin in / out counter CNTn corresponding to each of the tubes A to D cumulatively counts the difference in the amount of coin in and out of each of the tubes A to D. The dispensing of coins from the tubes A to D is detected by a conventionally known means, for example, a dispensing control solenoid control signal for each denomination, a carrier switch operation signal of a dispensing motor, or an output signal of a coin dispensing detection switch. can do.
[0025]
Eventually, when the manager turns on the fixed-quantity change switch 18 for sales management, step S8 in FIG. 3 branches to YES, and the “fixed-quantity change adjustment process” of step S9 is performed. In this “quantitative change change processing”, a fixed amount or an appropriate amount of coins are left as change coins among the coins stored in the coin storage device 12, and other coins are automatically paid out.
The "quantitative change adjustment process" will be described with reference to FIG. 6. First, in step S91, it is determined whether or not the stock setting flag F is "1". If there is no power failure during the operation, since the flag F is set to "1" when the cassette of the coin storage device 12 is mounted at the time of the previous collection processing, the result is YES, and the flow proceeds to the next step S92.
In step S92, it is determined whether or not the count value of the coin input / output counter CNTn for each tube is larger than the initially reset predetermined value, that is, “0”, and if so, the difference, that is, the initially reset predetermined value is determined. If "0", the number of coins corresponding to the count value of the counter CNTn is set to be paid out from the tube. In the next step S93, coins of the number set in the previous step are automatically paid out from the corresponding tubes.
[0026]
Assuming that the count value of the coin in / out counter CNTn corresponding to a certain tube when performing the process of FIG. 6 is M, the count value M is the number of coins entering the tube and the number of coins paid out therefrom. Shows the difference between Therefore, assuming that the unknown initial storage amount in the tube is x, the actual coin storage amount in the tube immediately before performing the payout processing in steps S92 and S93 is “x + M”. Then, in steps S92 and S93, the number of coins corresponding to the count value M is automatically dispensed from the tube, so that the tube has a fixed amount corresponding to the initial storage amount x (an unknown number but a fixed amount). Coins are left. In this way, it is possible to easily perform a process of automatically leaving fixed amount (x) of coins as change coins in the tube and automatically paying out and collecting other coins.
[0027]
If the coin dispensed amount from a certain tube is larger than the coin supply amount for a certain tube, the determination of “CNTn> 0” in step S92 is NO for the tube. For such a tube, the coin payout processing in step S93 is not performed.
By the way, as for the tube in which “CNTn> 0” is not satisfied in the judgment in step S92, the actual coin storage amount in the tube is smaller than the initial storage amount x, and there is a shortage of coins for change. I'm afraid to be. Therefore, at the end of the collection process, the manager must remove the cassette of the coin storage device 12 from the main body and visually check the coin storage state of each tube. As described above, the coin storage state is visually confirmed through the transparent body using the visible mark provided at a predetermined amount of coin storage position for each of the tubes A to D of the coin storage device 12, and the coin storage amount is marked. For tubes that are less than the position, the required amount of coins shall be supplied manually so as to satisfy the mark position. Then, the cassette of the coin storage device 12 is reattached to the main body. According to the removal and re-attachment of the cassette of the coin storage device 12, the contents of the coin counter CNTn corresponding to each tube are set to a predetermined value (for example, 0) by the processing of steps S41 and S61 (FIGS. 4 and 5). It is reset and the stock setting flag F is set to "1".
By the way, a visible mark to be applied to a predetermined amount of coin storage position for each of the tubes A to D of the coin storage device 12 is configured such that the mark position can be changed by means of, for example, an adhesive color tape or a seal. Good. In this way, in the next inventory processing, when the coin storage amount is considerably reduced, it is possible to manage to change the position of the mark and raise the level of the coin storage position by a predetermined amount.
[0028]
If a power failure occurs during the normal operation, an initial setting process is performed at step S1 in FIG. 3 when the power is restored, and the stock setting flag F is reset to “0”. Accordingly, when the fixed amount change switch 18 is subsequently turned on, the determination in step S91 of FIG. 6 is NO, and the process ends without performing the processing in steps S92 and S93. This is because the count content of the coin entry / exit counter CNTn becomes inaccurate due to the power failure. In such a case, when the cassette of the coin storage device 12 is removed from the main body as described above, the coin storage amount is visually checked using the mark as a guide, and if there is a surplus, the coin is manually collected. If necessary, you can supply it manually. If the coin input / output counter CNTn is backed up by a battery or constituted by another nonvolatile memory, such a countermeasure at the time of a power failure is unnecessary.
[0029]
FIG. 12 shows a modified example of the “quantitative change change processing” shown in FIG. In FIG. 12, the processing from steps S91 to S93 is the same as the processing by the steps with the same numbers shown in FIG. In FIG. 12, steps S81 and S82 are inserted as steps to be performed when step S91 is NO or after step S93. The processing in step S81 is the same as that in step S41 in FIG. 4, and resets the coin in / out counter CNTn of each of the tubes A to D to a predetermined value (for example, 0) and resets the stock setting flag F to “0”. Processing. The processing content of step S82 is the same as that of step S61 in FIG. That is, in the modified example shown in FIG. 12, at the end of the "fixed amount change processing" routine, the "cassette detachment processing" is performed without the necessity of actually performing the operation of removing and re-attaching the cassette of the coin storage device 12. Steps S81 and S82, which are the same processes as those shown in FIG. 4 and the "cassette mounting process" (FIG. 5), are automatically performed. Therefore, according to this modified example, it is possible to save the trouble of once removing the cassette of the coin storage device 12 and then remounting the cassette. That is, in the example of FIG. 6, even if it is not necessary to manually supply coins to the coin storage device 12, it is necessary to remove the cassette of the coin storage device 12 and then re-attach it. This is not necessary in the example. When the example of FIG. 12 is adopted, the cassette detachment sensor 15 may be omitted, and steps S3 to S6 in FIG. 3 may be omitted.
[0030]
In addition, in the case of the example of FIG. 12, the replenishment of the necessary coins to each of the tubes A to D of the coin storage device 12 is similar to the example of FIG. The coins may be supplied manually, and then the cassette may be reloaded. Alternatively, while the cassette of the coin storage device 12 is mounted on the main body, the coin storage state of each tube is visually checked, and the required denomination and the required number of coins are inserted through the entrance 14 (or a coin insertion slot at the preceding stage). May be manually input.
As a modification of FIG. 12, as shown in FIG. 13, a step S83 for determining whether or not a predetermined selection switch (not shown) is turned on is provided before step S81, and if YES, step S81 is performed. The processing of S82 is performed, but if NO, the processing of steps S81 and S82 may be jumped to return. Then, if it is considered that the cassette of the coin storage device 12 is to be temporarily removed and the necessary coins are to be manually supplied to each tube, the predetermined selection switch is kept off and the processing of steps S81 and S82 is performed. Is not performed. In that case, an embodiment similar to FIG. On the other hand, when the user does not intend to remove the cassette of the coin storage device 12, the predetermined selection switch is turned on, and the processes of steps S81 and S82 are performed.
[0031]
Next, an embodiment of the second invention will be described.
Regarding the second invention, the structure of the coin mechanism 10 can be the same as that shown in FIG. 1, and using the full sensors 16a to 16d and the change shortage sensors 17a to 17d for each tube, It is possible to improve the management accuracy of the coin storage amount in the coin input / output counter CNTn.
FIG. 7 is a control circuit block diagram similar to FIG. 2 and used to implement the second invention. The difference from FIG. 2 is that a nonvolatile rewritable ROM 24 is provided to the microcomputer 20, and the other points are the same as those in FIG. 2.
The non-volatile rewritable ROM 24 stores a numerical value indicating a specified value Kn to be initially stored as a proper stock of change coins. The specified value Kn may be set for each tube, and a numerical value indicating the specified value Kn set for each tube is stored in the ROM 24. In the above-described embodiment of the first invention, the actual initial storage amount x does not always match the predetermined value (for example, 0) reset (preset) to the coin counter CNTn. On the other hand, in the second invention, it is assumed that the specified value Kn and the actual initial storage amount x match or substantially correspond to each other, and a numerical value indicating the specified value Kn is read from the ROM 24 and stored in the coin input / output counter CNTn. By performing the presetting, the actual initial storage amount x and the predetermined value (first predetermined value) preset in the coin input / output counter CNTn match or substantially correspond to each other.
[0032]
8 to 11 are flowcharts used to carry out the second invention. FIG. 8 shows an example of a main flow that starts in response to power-on. Steps for performing the same processes as those in FIG. 3 are denoted by the same reference numerals and description thereof is omitted. FIG. 9 shows a detailed example of the "cassette detachment process" in step S4 of FIG. FIG. 10 shows a detailed example of the “cassette mounting process” in step S6 of FIG. FIG. 11 shows a detailed example of the “quantitative change change processing” in step S9 of FIG.
In FIG. 8, steps S11 and S12 are initial setting processes. In step S11, the contents of the coin counter CNTn of each tube are reset to 0, and the stock storage flag Fn of each tube is reset to "0". . In step S12, the appropriate stock stipulated value Kn for each tube is read from the nonvolatile rewritable ROM 24, buffered in an appropriate register, and the setting flag SF is reset to "0". The setting flag SF is for managing the process of setting the appropriate stock regulation value Kn.
[0033]
In steps S3 to S6 of FIG. 8, similarly to steps S3 to S6 of FIG. 3, "cassette detachment processing" or "cassette mounting processing" is performed in response to detection of a detachment event of the coin storage device 12. However, the details of the "cassette detachment process" and the "cassette mounting process" are different from the examples of FIGS. 4 and 5 as shown in FIGS.
In the "cassette detachment process" of FIG. 9, first, in step S42, the count contents of the coin in / out counter CNTn of each of the tubes A to D are reset to 0, and the stock storage flag Fn is reset to "0". Next, in a step S43, it is determined whether or not the setting flag SF is “0”. If NO, the process returns. If YES, the process goes to step S44 to change the setting flag SF to "1".
In the "cassette mounting process" of FIG. 10, first, in step S62, the outputs of the change shortage sensors 17a to 17d for each of the tubes A to D are checked, and a change coin is present tube (YES) The process of step S63 is performed for a tube storing many coins). The process of step S63 is not performed for tubes for which coins for change exist = NO (tubes storing only coins less than the predetermined shortage amount). In step S63, for the tube for which it is determined that change coin is present = YES in step S62, the appropriate stock stipulated value Kn (first predetermined value) is preset as the count content of the coin input / output counter CNTn, and the corresponding stock is set. The storage flag Fn is set to "1".
On the other hand, in step S64, it is checked whether or not all the tubes A to D are in a shortage of coins for change. If YES, the process goes to step S65 to check whether the setting flag SF is "1". If YES, the process goes to step S65 and changes the setting flag SF to "2".
[0034]
Returning to FIG. 8, in step S7, as in step S7 of FIG. 3, a process of increasing or decreasing the coin entry / exit counter CNTn by +1 or -1 according to the coin entry / exit of each tube is performed. In addition to this, if the setting flag SF is not “2”, flag management for changing this to “99” is also performed.
When it is detected that the fixed amount change switch 18 has been turned on, the process proceeds from YES in step S8 to step S9 to perform the "fixed change change process" shown in FIG.
In step S13 of FIG. 8, it is detected whether any of the full sensors 16a to 16d has a full on event (change to full). In the case of YES, the process goes to step S15, where the count value of the corresponding coin in / out counter CNTn is preset to a full specified value (second predetermined value) corresponding to a predetermined full position, and the corresponding stock storage flag Fn is set to " Set to 1 ".
In step S14, it is detected whether any of the change shortage sensors 17a to 17d has a shortage ON event (whether the change has been made from the change shortage to the change shortage). In the case of YES, the process goes to step S16, in which the count value of the corresponding coin in / out counter CNTn is preset to a shortage specified value (third predetermined value) corresponding to a predetermined shortage position, and the corresponding stock storage flag Fn is set to “ Set to 1 ".
[0035]
Next, an operation example will be described with reference to FIGS.
First, an example of the process of setting the appropriate stock regulation value Kn for each denomination will be described. In this setting process, the cassette of the coin storage device 12 is once removed, all the stored coins in the tube are set to zero, and then the cassette of the coin storage device 12 is remounted and the fixed amount change switch 18 is turned on. Is performed by inserting the number of coins of each denomination to the number desired to be set as the specified value Kn.
In that case, in response to the removal of the cassette from the coin storage device 12, the "cassette removal process" of FIG. 9 is performed, and in step S43, the setting flag SF is confirmed to be "0", and the setting flag SF is set to " Set to 1 ". Then, in response to the cassette reloading of the coin storage device 12, the "cassette loading process" of FIG. 10 is performed, and in steps S62 and S64, it is confirmed that all the tubes A to D are in a change shortage state. Go to step S65. In this step S65, it is confirmed that the setting flag SF is "1", and in step S66, the setting flag SF is set to "2". In this way, the setting flag SF is set to “2” when the process of setting the appropriate stock stipulated value Kn for each denomination is performed. Then, in response to the ON operation of the fixed-quantity change switch 18, the fixed-quantity change processing of FIG. 11 is performed. In the process of FIG. 11, it is checked in step S94 whether the setting flag SF is "2". Since SF = “2” has been set as described above, the process proceeds to step S99. In step S99, the number of coins of the inserted denomination is stored in the non-volatile rewritable ROM 24 as an appropriate stock stipulated value Kn for each denomination, and the appropriate stock stipulated value Kn is stored in the corresponding coin counter CNTn. , Each of the stock storage flags Fn is set to “1”, and the setting flag SF is changed to “99”. Thus, when the setting flag SF is set to “99”, it indicates that the process of setting the appropriate stock regulation value Kn for each denomination has been completed. When the stock storage flag Fn is set to "1" for a certain tube, it indicates that the value of the coin in-out counter CNTn for that tube is somewhat accurate.
[0036]
During a normal operation, when a coin is inserted and supplied to a certain tube A to D of the coin storage device 12 corresponding to the denomination, the count content of the coin in / out counter CNTn corresponding to the denomination is displayed. In addition, when coins are paid out from certain tubes A to D of the coin storage device 12 as change or the like, the count content of the coin counter CNTn corresponding to the denomination is decreased by -1 (step). The processing of S7) is the same as that of the first embodiment of the present invention. In this manner, the coin in-out counter CNTn corresponding to each of the tubes A to D cumulatively counts the difference in the amount of coins in and out of each of the tubes A to D, with the appropriate stock regulation value Kn for each denomination as an initial value. You.
In this process, when the full amount of coins stored in a certain tube is detected by the full sensors 16a to 16d, step S13 becomes YES, and in step S15, the count content of the corresponding coin in / out counter CNTn is set to a predetermined value. Is preset to a full specified value (second predetermined value) corresponding to the full position, and the corresponding stock storage flag Fn is set to "1".
Further, when the change shortage sensors 17a to 17d detect that the coin storage amount of a certain tube becomes empty (shortage of change), step S14 becomes YES, and in step S16, the corresponding coin counter counter CNTn counts. The content is preset to a shortage prescribed value (third predetermined value) corresponding to a predetermined shortage position, and the corresponding stock storage flag Fn is set to “1”.
Thus, the preset processing is performed using the detection outputs of the full sensors 16a to 16d and the change shortage sensors 17a to 17d so that the value of the coin in-out counter CNTn for each tube indicates a somewhat accurate coin storage amount.
[0037]
Eventually, when the administrator turns on the fixed-quantity change switch 18 for sales management, step S8 in FIG. 8 branches to YES, and the “quantitative change adjustment process” in step S9 is performed. In the “quantitative change change processing” shown in FIG. 11, basically, as in the processing of FIG. 6, a fixed amount or an appropriate amount of coins are left as change coins among the coins stored in the coin storage device 12, and Of coins is automatically paid out. However, in the second invention, the stock specification value Kn that is appropriate as a coin for change is set for each tube, and the determination is made based on the reference value Kn. Is different.
[0038]
That is, in step S95 of FIG. 11, the count value of the coin in-out counter CNTn for each tube is initially set to the first predetermined value, that is, the proper stock specified value Kn, on condition that the stock storage flag Fn is “1”. It is determined whether or not each coin is larger than the coin, and if so, the difference, that is, the number of coins corresponding to “CNTn−Kn” is set to be paid out from the tube. In the next step S96, coins of the number set in the previous step are automatically paid out from the corresponding tubes.
[0039]
Assuming that the count value of the coin in / out counter CNTn corresponding to a certain tube at the time of performing the processing of FIG. 11 is “Kn + M”, the value M is the number of coins entering the tube and the payout therefrom, as described above. It shows the difference from the number of coins that have been set. In steps S95 and S96, the number of coins corresponding to the difference “CNTn−Kn = M” is automatically dispensed from the tube, and the number of coins of the specified value Kn corresponding to the initial storage amount is stored in the tube. Will be left. In this way, it is possible to easily carry out the process of automatically leaving coins of the appropriate stock prescribed value Kn in the tube as coins for change and automatically paying out and collecting other coins.
[0040]
If the amount of coin dispensed from a certain tube is greater than the amount of coin replenishment for that tube, the determination of “CNTn> Kn” in step S95 is made to NO for this tube, as described above. Become. The coin dispensing process in step S96 is not performed for such a tube.
In the same manner as described above, for the tube for which “CNTn> Kn” is not satisfied in the determination in step S95, the actual amount of coins stored in the tube is smaller than the appropriate stock stipulated value Kn, and The fear of coin shortages is great. Therefore, at the end of the collection process, the manager must remove the cassette of the coin storage device 12 from the main body and visually check the coin storage state of each tube. As described above, the coin storage state is visually confirmed through the transparent body using the visible mark provided at a predetermined amount of coin storage position for each of the tubes A to D of the coin storage device 12, and the coin storage amount is marked. For tubes that are less than the position, the required amount of coins shall be supplied manually so as to satisfy the mark position. Then, the cassette of the coin storage device 12 is reattached to the main body. In accordance with the removal and re-attachment of the cassette of the coin storage device 12, the count contents of the coin input / output counter CNTn corresponding to each tube are once cleared by the processing of steps S42 (FIG. 9), S62 and S63 (FIG. 10). Then, after confirming that the replenishment amount is larger than the detection positions of the change shortage sensors 17a to 17d, the appropriate stock stipulated value Kn is preset in the coin counter CNTn, and the stock storage flag Fn is set to "1". You.
[0041]
If a power failure occurs during a normal operation, an initial setting process is performed in steps S1 and S12 in FIG. 8 when the power is restored, and the stock storage flag Fn is reset to “0”. As a result, when the fixed-quantity change adjusting switch 18 is subsequently turned on, the process proceeds to step S97 without executing steps S95 and S96 in FIG. 11 due to Fn = "0". In step S97, it is checked whether the stock storage flag Fn is “0” and there is a tube whose output of the corresponding change shortage sensors 17a to 17d indicates that change is present. If YES, the process proceeds to step S98, and a process of automatically paying out coins from the corresponding tube is performed. This payout process is performed until the output of the change shortage sensors 17a to 17d corresponding to the tube indicates that change is insufficient. That is, in this embodiment, even if there is a power outage, if the output of the change shortage sensors 17a to 17d indicates that change is present, coins are automatically paid out until the change shortage position is reached, and the coin is collected. I try to make it convenient. In such a case, when the cassette of the coin storage device 12 is removed from the main body as described above, the coin storage amount is visually checked using the mark as a guide, and the coin storage amount becomes insufficient until the predetermined appropriate stock prescribed value Kn is reached. You just need to replenish the minutes manually. If the coin input / output counter CNTn is backed up by a battery or constituted by another nonvolatile memory, such a countermeasure at the time of a power failure is unnecessary.
[0042]
FIG. 14 shows a modified example of the “fixed amount change processing” shown in FIG. In FIG. 14, the processing of steps S94 to S99 is the same as the processing by the steps of the same numbers shown in FIG. In FIG. 14, steps S85 and S86 are inserted as steps to be performed when step S97 is NO or after step S99. In step S85, the "cassette detachment process" subroutine shown in FIG. 9 is performed. In step S86, the "cassette mounting process" subroutine shown in FIG. 10 is performed. That is, in the modified example shown in FIG. 14, at the end of the routine of "quantitative change adjustment processing", "cassette detachment processing" is performed without the necessity of actually removing and remounting the cassette of the coin storage device 12. The subroutine (FIG. 9) and the "cassette mounting process" subroutine (FIG. 10) are automatically performed. Therefore, according to the modification of FIG. 14, as in the modification of FIG. 12 described above, it is possible to save the trouble of actually removing the cassette of the coin storage device 12 once and then remounting it. That is, in the example of FIG. 11, even if it is not necessary to manually supply coins to the coin storage device 12, it is necessary to temporarily remove the cassette of the coin storage device 12 and then reinstall it. This is not necessary in the example. When the example of FIG. 14 is adopted, the cassette detachment sensor 15 may be omitted, and steps S3 to S6 in FIG. 8 may be omitted.
[0043]
In the case of the example of FIG. 14, the necessary coins are replenished to the tubes A to D of the coin storage device 12, as in the example of FIG. The coins may be supplied manually, and then the cassette may be reloaded. Alternatively, while the cassette of the coin storage device 12 is mounted on the main body, the coin storage state of each tube is visually checked, and the required denomination and the required number of coins are inserted through the entrance 14 (or a coin insertion slot at the preceding stage). May be manually input.
As a modification of FIG. 14, similarly to FIG. 13 described above, a step of determining whether or not a predetermined selection switch (not shown) has been turned on before step S85 (corresponding to step S83 of FIG. 13). Step) is provided, and in the case of YES, the processing of steps S85 and S86 is performed, but in the case of NO, the processing of steps S85 and S86 may be jumped to return. Then, when it is considered that the cassette of the coin storage device 12 is once removed and the necessary coins are manually supplied to each tube, the predetermined selection switch is kept off, and the processing in steps S85 and S86 is performed. Is not performed. In that case, the embodiment is the same as that of FIG. On the other hand, when the user does not intend to remove the cassette of the coin storage device 12, the predetermined selection switch is turned on, and the processing of steps S85 and S86 is performed.
[0044]
In the second aspect of the invention, the ROM 24 that stores the appropriate stock regulation value Kn may be replaced. Then, the setting operation of the appropriate stock regulation value Kn by coin insertion can be made unnecessary. Further, data indicating the appropriate stock stipulated value Kn for each denomination is appropriately set at another place, and this data is transferred to the microcomputer 20 of the coin mechanism 10 via the external communication interface 23 and stored in the ROM 24. You may make it. The ROM 24 may use a battery-backed RAM.
Modified embodiments may be configured by combining some of the embodiments of the first and second aspects described above with each other. For example, the processing of steps S97 and S98 in FIG. 11 may be applied in FIG. In addition, the embodiments of the present invention can be appropriately modified by appropriately combining the processes of the respective steps in FIGS. 3 to 6, FIG. 12, and FIG. 13 with FIGS.
[0045]
【The invention's effect】
As described above, according to the present invention, when it is detected that the coin storage device has been once removed from the main body of the coin mechanism, or automatically at the end of the fixed-quantity change adjustment process, the subsequent coin in / out amount counting calculation is performed. The contents of the counting means to automaticallyFirstTo a predetermined valueStepSince the resetting (initial setting) is performed, it is not necessary to numerically set the initial storage amount, and at the time of collection and replenishment of the stored coins by the administrator, a fixed amount of coins are always estimated in the coin storage device. This has an excellent effect that management for initial storage can be easily performed. Therefore, the manager can perform the inventory collection operation by a simple operation only on the coin mechanism side, and there is no troublesome operation.
AlsoThe count of the counting means is preset to a second predetermined value corresponding to the full position in response to the detection of the full coin storage amount, and the count of the counting means is emptied in response to the detection of the empty coin storage (insufficient change). By presetting to the third predetermined value corresponding to the position (poor change position), during normal operation, when the actual coin storage amount becomes full, or when the empty coin amount (change shortage state) , The second or third predetermined value corresponding to each is preset in the counting means, and the counting content of the counting means is automatically corrected to a value indicating an accurate coin storage amount. Management accuracy can be improved.
[Brief description of the drawings]
FIG. 1 is a schematic front view showing an example of a mechanism of a coin mechanism according to the present invention.
FIG. 2 is a block diagram of a hardware configuration showing one embodiment of a control circuit device mounted on the coin mechanism of FIG. 1;
FIG. 3 is a view schematically showing a flow of a main process executed by the microcomputer of FIG. 2;
FIG. 4 is a flowchart showing a detailed example of “cassette detachment processing” in FIG. 3;
FIG. 5 is a flowchart showing a detailed example of “cassette mounting process” in FIG. 3;
FIG. 6 is a flowchart showing a detailed example of “quantitative change change processing” in FIG. 3;
FIG. 7 is a block diagram of a hardware configuration showing another embodiment of the control circuit device mounted on the coin mechanism of FIG. 1;
FIG. 8 is a view schematically showing a flow of a main process executed by the microcomputer of FIG. 7;
FIG. 9 is a flowchart showing a detailed example of “cassette detachment processing” in FIG. 8;
FIG. 10 is a flowchart showing a detailed example of a “cassette mounting process” in FIG. 8;
FIG. 11 is a flowchart showing a detailed example of “quantitative change change processing” in FIG. 8;
FIG. 12 is a flowchart showing a modified example of the “fixed amount change processing” of FIG. 6;
FIG. 13 is a flowchart showing a modified example of the “quantitative change change processing” of FIG. 12;
FIG. 14 is a flowchart showing a modification of the “fixed amount change processing” of FIG. 11;
[Explanation of symbols]
10 coin mechanism
11 Coin sorter
12 Coin storage device
A, B, C, D Coin tube
13 Coin payout mechanism
14 entrance
15 Cassette detachment sensor
16a, 16b, 16c, 16d Full sensor
17a, 17b, 17c, 17d Change shortage sensor
18 Fixed amount change switch
21 Deposit sensor
20 Microcomputer
22 coin payout driver
23 External communication interface
Coin in / out counter for each CNTn tube
F Inventory setting flag
Inventory storage flag for each Fn tube
SF setting flag

Claims (6)

着脱可能な硬貨貯蔵装置と、投入された硬貨を前記硬貨貯蔵装置に導く機構と、前記硬貨貯蔵装置から硬貨を払い出す機構と、前記硬貨貯蔵装置が取り外されたことを検知する第1の検知手段と、前記硬貨貯蔵装置の硬貨貯蔵量が所定の満杯位置に達していることを検知するための第2の検知手段と、前記硬貨貯蔵装置の硬貨貯蔵量が所定の空位置まで減っていることを検知するための第3の検知手段を備えた硬貨機構において、
前記硬貨貯蔵装置内の硬貨貯蔵量の増減をカウントするための計数手段と、
前記硬貨貯蔵装置が一旦取り外されてから再装着されたことが前記第1の検知手段によって検知されたとき、前記計数手段のカウント内容を第1の所定値にプリセットする第1のプリセット制御手段と、
前記第2の検知手段による満杯検知に応じて前記計数手段のカウント内容を満杯位置に対応する第2の所定値にプリセットし、前記第3の検知手段による空検知に応じて前記計数手段のカウント内容を空位置に対応する第3の所定値にプリセットする第2のプリセット制御手段と、
前記硬貨貯蔵装置への硬貨の投入と該硬貨貯蔵装置からの硬貨の払い出しに応じて該計数手段のカウント内容を増減する制御行うカウント制御手段と、
管理者によって操作されるスイッチと、
前記スイッチの操作に応じて、前記計数手段の現カウント値と前記第1の所定値との差を判定し、硬貨投入量が払出量を上回っている場合にその差分の硬貨を前記硬貨貯蔵装置から払い出す払出制御手段と
を備えたことを特徴とする硬貨貯蔵量管理システム。
Detachable coin storage device, mechanism for guiding inserted coins to the coin storage device, mechanism for dispensing coins from the coin storage device, and first detection for detecting removal of the coin storage device Means, second detecting means for detecting that the coin storage amount of the coin storage device has reached a predetermined full position, and the coin storage amount of the coin storage device has decreased to a predetermined empty position. In a coin mechanism provided with third detection means for detecting that
Counting means for counting the increase or decrease in the amount of coins stored in the coin storage device,
First preset control means for presetting the count content of the counting means to a first predetermined value when the first detection means detects that the coin storage device has been once removed and then remounted. ,
The count of the counting means is preset to a second predetermined value corresponding to the full position in response to the fullness detection by the second detection means, and the count of the counting means is counted in response to the empty detection by the third detection means Second preset control means for presetting the content to a third predetermined value corresponding to the empty position;
Count control means for performing control to increase or decrease the count content of the counting means according to insertion of coins into the coin storage device and payout of coins from the coin storage device,
A switch operated by an administrator;
The difference between the current count value of the counting means and the first predetermined value is determined in accordance with the operation of the switch, and when the coin input amount exceeds the payout amount, the difference coin is stored in the coin storage device. And a payout control means for paying out coins from the coin storage amount management system.
前記硬貨貯蔵装置は、内部を透視できる壁体部分を含む硬貨チューブにより構成されていて、該チューブの所定量硬貨貯蔵位置に可視的なマークを施してなり、これにより、貯蔵硬貨が不足している場合は該マークを目印にして該所定量硬貨貯蔵位置まで硬貨を手動補給することができるようにしたことを特徴とする請求項1に記載の硬貨貯蔵量管理システム。The coin storage device is constituted by a coin tube including a wall portion through which the inside can be seen through, and is provided with a visible mark at a predetermined amount of coin storage position of the tube, whereby the storage coin runs short. 2. The coin storage amount management system according to claim 1, wherein when the mark is present, the coin can be manually supplied to the predetermined amount coin storage position using the mark as a mark. 前記第1の検知手段の出力に基づき、前記硬貨貯蔵装置の取り外しに応じてリセットされ、該硬貨貯蔵装置の装着に応じてセットされるフラグと、
電源投入時に前記フラグをリセットする初期化手段と
を更に備え、前記払出制御手段は、前記フラグがセットされていることを条件に前記差分の硬貨の払出制御を行うものである請求項1又は2に記載の硬貨貯蔵量管理システム。
A flag that is reset based on the removal of the coin storage device based on an output of the first detection unit, and that is set according to the mounting of the coin storage device;
Anda initializing means for resetting said flag when the power is turned on, the dispensing control means, said flag and performs the payout control of the coin of the difference in condition that has been set according to claim 1 or 2 The coin storage amount management system according to 1.
前記第1の検知手段の出力に基づき、前記硬貨貯蔵装置の取り外しに応じてリセットされ、該硬貨貯蔵装置の装着に応じてセットされるフラグと、
電源投入時に前記フラグをリセットする初期化手段と、
を更に備え、前記払出制御手段は、前記フラグがセットされていることを条件に前記差分の硬貨の払出制御を行うものであり、
更に、前記スイッチの操作時に前記フラグがリセットされている場合であって、前記第3の検知手段が空検知をしていない場合、該第3の検知手段が空検知をするまで前記硬貨貯蔵装置の硬貨を自動的に払い出す制御をする第2の払出制御手段を備えたことを特徴とする請求項に記載の硬貨貯蔵量管理システム。
A flag that is reset based on the removal of the coin storage device based on an output of the first detection unit, and that is set according to the mounting of the coin storage device;
Initialization means for resetting the flag at power-on,
The payout control means performs payout control of the difference coin on condition that the flag is set,
Further, when the flag is reset when the switch is operated, and when the third detecting means does not detect an empty state, the coin storage device is operated until the third detecting means detects an empty state. 2. The coin storage amount management system according to claim 1 , further comprising a second payout control unit that controls to automatically pay out the coin.
前記硬貨貯蔵装置が複数の硬貨貯蔵チューブを具備しており、前記各制御を各チューブ毎に行うようにしたことを特徴とする請求項1乃至のいずれかに記載の硬貨貯蔵量管理システム。The coin storage amount management system according to any one of claims 1 to 4 , wherein the coin storage device includes a plurality of coin storage tubes, and the control is performed for each tube. 着脱可能な硬貨貯蔵装置と、投入された硬貨を前記硬貨貯蔵装置に導く機構と、前記硬貨貯蔵装置から硬貨を払い出す機構と、前記硬貨貯蔵装置の硬貨貯蔵量が所定の満杯位置に達していることを検知するための第1の検知手段と、前記硬貨貯蔵装置の硬貨貯蔵量が所定の空位置まで減っていることを検知するための第2の検知手段を備えた硬貨機構において、
前記硬貨貯蔵装置内の硬貨貯蔵量の増減をカウントするための計数手段と、
前記硬貨貯蔵装置への硬貨の投入と該硬貨貯蔵装置からの硬貨の払い出しに応じて該計数手段のカウント内容を増減する制御とを行うカウント制御手段と、
管理者によって操作されるスイッチと、
前記スイッチの操作に応じて、前記計数手段の現カウント値と第1の所定値との差を判定し、硬貨投入量が払出量を上回っている場合にその差分の硬貨を前記硬貨貯蔵装置から払い出す払出制御手段と、
前記スイッチの操作に応じて前記判定を行なった後に、前記計数手段のカウント内容を前記第1の所定値にプリセットする第1のプリセット制御手段と、
前記第1の検知手段による満杯検知に応じて前記計数手段のカウント内容を満杯位置に対応する第2の所定値にプリセットし、前記第2の検知手段による空検知に応じて前記計数手段のカウント内容を空位置に対応する第3の所定値にプリセットする第2のプリセット制御手段と
を備えたことを特徴とする硬貨貯蔵量管理システム。
A removable coin storage device, a mechanism for guiding inserted coins to the coin storage device, a mechanism for paying out coins from the coin storage device, and a coin storage amount of the coin storage device reaching a predetermined full position. A first detecting means for detecting that the coin is stored, and a coin mechanism comprising second detecting means for detecting that the coin storage amount of the coin storage device has decreased to a predetermined empty position,
Counting means for counting the increase or decrease in the amount of coins stored in the coin storage device,
Count control means for performing control of increasing or decreasing the count content of the counting means according to insertion of coins into the coin storage device and payout of coins from the coin storage device,
A switch operated by an administrator;
In accordance with the operation of the switch, the difference between the current count value of the counting means and the first predetermined value is determined, and when the coin input amount exceeds the payout amount, the difference coin is transferred from the coin storage device. Dispensing control means for dispensing,
First preset control means for presetting the count content of the counting means to the first predetermined value after performing the determination in accordance with the operation of the switch;
The counting content of the counting means is preset to a second predetermined value corresponding to the full position in response to the fullness detection by the first detecting means, and the count of the counting means is counted in response to the empty detection by the second detecting means. And a second preset control means for presetting the content to a third predetermined value corresponding to the empty position.
JP20977097A 1996-07-22 1997-07-18 Coin storage management system in coin mechanism Expired - Fee Related JP3595653B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20977097A JP3595653B2 (en) 1996-07-22 1997-07-18 Coin storage management system in coin mechanism

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-210573 1996-07-22
JP21057396 1996-07-22
JP20977097A JP3595653B2 (en) 1996-07-22 1997-07-18 Coin storage management system in coin mechanism

Publications (2)

Publication Number Publication Date
JPH1091849A JPH1091849A (en) 1998-04-10
JP3595653B2 true JP3595653B2 (en) 2004-12-02

Family

ID=26517653

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20977097A Expired - Fee Related JP3595653B2 (en) 1996-07-22 1997-07-18 Coin storage management system in coin mechanism

Country Status (1)

Country Link
JP (1) JP3595653B2 (en)

Also Published As

Publication number Publication date
JPH1091849A (en) 1998-04-10

Similar Documents

Publication Publication Date Title
KR910009310B1 (en) Device and method for managing amount of stored coins
EP0458610A1 (en) Vending system capable of renewing record of a prepaid card
EP0653084B1 (en) Currency handling apparatus
US5997396A (en) System and method for managing quantity of stored coins
US6623349B2 (en) Currency handling apparatus
US4749076A (en) Bill acceptance control method
JPH11232521A (en) Method and device for money processing
JP4656225B2 (en) Coin processing equipment
JP3595653B2 (en) Coin storage management system in coin mechanism
EP0986031B1 (en) Method and apparatus for controlling the dispensing of money
JPH08212431A (en) Coin storage amount management device
JPH1079072A (en) Automatic cash paying pattern analyzing method at automatic teller machine
JP4375229B2 (en) Coin processing equipment
US5577957A (en) Coin payout method and control apparatus
JP3799793B2 (en) Coin remaining amount management device for change holding cylinder
JPS6236596B2 (en)
JP2686923B2 (en) Change control management device for vending machines
EP1031950A1 (en) Currency handling apparatus
JPH06215226A (en) Coin processor
JPH0724077B2 (en) Sales management device in coin device
JPH04349591A (en) Vending machine
JPH11110616A (en) Control device for money exchanging machine
JP3496035B2 (en) Change control device
JPH1173533A (en) Coin receiving and paying device and device using the same
JPH06259636A (en) Coin storage controller

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040420

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040621

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040810

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040906

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070910

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080910

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090910

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100910

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100910

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110910

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120910

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130910

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees