Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6211394B2 - - Google Patents
[go: Go Back, main page]

JPS6211394B2 - - Google Patents

Info

Publication number
JPS6211394B2
JPS6211394B2 JP56043220A JP4322081A JPS6211394B2 JP S6211394 B2 JPS6211394 B2 JP S6211394B2 JP 56043220 A JP56043220 A JP 56043220A JP 4322081 A JP4322081 A JP 4322081A JP S6211394 B2 JPS6211394 B2 JP S6211394B2
Authority
JP
Japan
Prior art keywords
change
coins
yen
sales
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP56043220A
Other languages
Japanese (ja)
Other versions
JPS57159395A (en
Inventor
Osamu Sugimoto
Masaki Akagawa
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 Koinko KK
Original Assignee
Nippon Koinko KK
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 Koinko KK filed Critical Nippon Koinko KK
Priority to JP4322081A priority Critical patent/JPS57159395A/en
Publication of JPS57159395A publication Critical patent/JPS57159395A/en
Publication of JPS6211394B2 publication Critical patent/JPS6211394B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> この発明は自動販売機における連続販売制御装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a continuous vending control device in a vending machine.

<従来の技術> 単品販売型の自動販売機においては一回の販売
が終了すると自動的に釣銭払出し態勢となるが、
連続販売型のものにおいては購入終了を容易には
判断することができず、自動的に釣銭を払出すよ
うにするには何らかの工夫が要求される。従来
は、特公昭55―48348号公報に示されるように、
投入金額の残高(すなわち釣銭額)が販売商品の
最低設定価格未満になつたとき自動的に釣銭を払
出し、連続販売を終わらせるようにしていた。
<Conventional technology> Single-item vending machines automatically start dispensing change when a single sale ends.
In the case of continuous sales type products, it is not easy to determine when the purchase has ended, and some kind of ingenuity is required to automatically dispense change. Conventionally, as shown in Japanese Patent Publication No. 55-48348,
When the balance of the input amount (that is, the amount of change) becomes less than the minimum set price of the sold product, change is automatically paid out and the continuous sale is ended.

<発明が解決しようとする問題点> しかしこれには次のような不都合があつた。一
般に、販売可能判定に際しては投入金額と設定価
格の大小比較結果のみならず釣銭用貨幣の有無も
考慮されるので、釣銭不足時にはたとえ投入金額
以下の販売設定価格が有つたとしても販売可能と
判定されないことがある。そのような場合、上記
従来の方法では販売不可能であるにもかかわらず
釣銭が払出されないという事態が生じる。例え
ば、最低設定価格が80円で、その他に200円の設
定価格があるとし、釣銭用10円貨が不足し、釣銭
用100円貨は不足していない場合を想定する。こ
こで、500円貨が投入されると、100円貨で釣銭を
払出すことのできる200円の設定価格が販売可能
であり、釣銭を払出すことのできない80円の設定
価格は販売不可となる。購入者が200円の商品を
2回連続購入すると投入残高は100円となり、200
円の商品は以後販売不可となる。このとき80円の
商品も販売不可であり、結局どの商品も販売不可
である。しかるに、残高の100円は最低価格80円
以上であるので釣銭払出し態勢とはならず、販売
も釣銭払出しも行なわれないという事態になる。
勿論、購入者が返金請求スイツチを手操作すれば
釣銭はいずれ払出されるにしても、釣銭払出しが
滞るのは好ましくない。
<Problems to be solved by the invention> However, this has the following disadvantages. In general, when determining whether a sale is possible, not only the comparison result between the input amount and the set price is taken into consideration, but also the presence or absence of change coins, so if there is a shortage of change, it is determined that the sale is possible even if the sales set price is less than the input amount. It may not be done. In such a case, a situation arises in which change is not dispensed even though the item cannot be sold using the conventional method described above. For example, assume that the minimum set price is 80 yen and there is another set price of 200 yen, and there is a shortage of 10 yen coins for change, but there is no shortage of 100 yen coins for change. Here, when a 500 yen coin is inserted, the set price of 200 yen, which allows change to be paid out in 100 yen coins, can be sold, and the set price of 80 yen, which does not allow change to be paid out, cannot be sold. If the purchaser purchases a product costing 200 yen twice in a row, the input balance will be 100 yen, and the amount will be 200 yen.
Products denominated in yen will no longer be sold. At this time, even the 80 yen product cannot be sold, and in the end, no product can be sold. However, since the remaining balance of 100 yen is more than the minimum price of 80 yen, no change will be paid out, and no sales or change will be made.
Of course, if the purchaser manually operates the refund request switch, the change will be paid out sooner or later, but it is undesirable for the change payment to be delayed.

この発明は上述の点に鑑みてなされたもので、
投入金額(残高)と最低設定価格との大小関係に
かかわらず、現実に販売不可能と判定されたとき
自動的に釣銭払出し態勢にして連続販売を終了さ
せるようにすることを目的とする。
This invention was made in view of the above points,
To automatically set up a change payout mode and terminate continuous sales when it is determined that sales are actually impossible, regardless of the magnitude relationship between the input amount (balance) and the minimum set price.

<問題点を解決するための手段> この発明の連続販売制御装置は、釣銭用貨幣の
保有状態を金種別に検出する検出手段と、投入金
額以下の販売設定価格に対応して釣銭予定額を算
出する演算手段と、前記検出手段によつて検出し
た保有貨幣によつて前記釣銭予定額を払出せるか
否かを判定する釣銭払出し可否判定手段と、釣銭
払出し可と判定された前記販売設定価格及び投入
金額と同額の販売設定価格に関する販売を許可す
る手段と、どの販売設定価格も販売許可されなか
つたとき少くとも一回の販売が行なわれたことを
条件に返金指令を発生する手段とを具え、この返
金指令にもとづいて投入金額の現在高を釣銭とし
て返金するようにしたことを特徴とする。
<Means for Solving the Problems> The continuous sales control device of the present invention includes a detection means for detecting the holding state of change coins by denomination, and a detection means for detecting the holding state of change coins by denomination, and a means for detecting the scheduled amount of change in response to a set sales price that is less than the input amount. a calculating means for calculating, a change dispensing possibility determining means for determining whether or not the scheduled amount of change can be disbursed using the held currency detected by the detecting means, and the sales set price at which it is determined that the change can be disbursed. and means for authorizing a sale at a set sales price equal to the input amount, and means for issuing a refund order on the condition that at least one sale has been made when no sales set price is authorized. The present invention is characterized in that, based on this refund instruction, the current amount of the input amount is refunded as change.

<作用> この発明によれば、投入金額と販売設定価格の
みならず釣銭用貨幣の不足状態をも考慮して販売
可能判定が行なわれ、そこで販売不可と判定され
たとき自動的に釣銭が払出される。
<Operation> According to the present invention, it is determined whether the sale is possible, taking into account not only the input amount and the sales set price, but also the shortage of change money, and when it is determined that the sale is not possible, change is automatically dispensed. be done.

<実施例> 以下添付図面を参照してこの発明の一実施例を
詳細に説明しよう。
<Embodiment> Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図において、投入貨幣検出部10は自動販
売機に投入された貨幣を検出し、その金種に対応
して投入貨幣検出信号S1000乃至S10を発
生する。一例として、S1000は千円紙幣、S
500は500円硬貨(または紙幣)、S100は
100円硬貨、S50は50円硬貨、S10は10円硬
貨に対応する。金種別投入枚数計数部11は、金
種別の投入貨幣検出信号S1000乃至S10に
もとづいて貨幣投入枚数(金額)を金種別にカウ
ントするものである。投入金額計数部12は金種
別投入枚数計数部11の内容を合計して投入金額
の合計値Kを求める。この投入金額の合計値K
は、後述のように、収金制御あるいは釣銭払出制
御を行なう毎に減少するもので、事実上、投入金
額の残高(販売が行なわれる前は投入金額の全額
がすなわち残高に相当する)を示している。
In FIG. 1, an inserted money detection unit 10 detects money inserted into a vending machine and generates inserted money detection signals S1000 to S10 corresponding to the denomination. As an example, S1000 is a thousand yen bill, S
500 is a 500 yen coin (or banknote), S100 is
A 100 yen coin, S50 corresponds to a 50 yen coin, and S10 corresponds to a 10 yen coin. The inserted coin number counting unit 11 by denomination counts the number of inserted coins (amount) by denomination based on the inserted coin detection signals S1000 to S10 by denomination. The input amount counting section 12 sums up the contents of the input amount counting section 11 for each denomination to obtain the total value K of the input amount. The total value of this input amount K
As described below, decreases each time collection control or change disbursement control is performed, and in fact indicates the balance of the input amount (before a sale is made, the entire input amount corresponds to the balance). ing.

販売設定価格記憶部13は、図示しない価格設
定スイツチから与えられる各商品別の販売設定価
格SP1乃至SPnを示すデータを夫々記憶するも
のである。例えば投入金額Kが0のときすなわち
待機事において記憶部13へのSP1〜SPnの書
込みが行なわれる。比較演算部14は、投入金額
計算部12から与えられる投入金額Kを示すデー
タと販売設定価格記憶部13から与えられる各商
品の販売設定価格SP1乃至SPnとを比較し、K≧
SPi(ただしi=1,2,…n)が成立するか否
かを各設定価格SP1乃至SPn毎に判定すると共
に「K―SPi=Ri」なる演算を行なつて投入金額
Kと設定価格SPiの差額すなわち釣銭予定額Riを
求め、この釣銭予定額Riを示すデータを各10進
数桁(R1000i,R100i,R10i)毎
に出力する。ここで、「K≧SPi」が成立するこ
とは、設定価格SPi以上の金額Kが投入されてい
ることを意味し、釣銭用貯蔵貨幣が不足していな
ければ該設定価格SPiに係る商品が販売可能であ
ることを意味する。また、釣銭予定額Riとは、
現実に払出すべき釣銭額ではなく、その投入金額
Kを使用して該設定価格SPiに係る商品を販売す
ると仮定したときに要求される釣銭額である。R
1000iはこの釣銭予定額Riにおける千(千
円)の桁の値を示し、R100iは百(百円)の
桁の値を示し、R10iは十(10円)の桁の値を
示す。
The sales price storage unit 13 stores data indicating sales prices SP1 to SPn for each product given from a price setting switch (not shown). For example, when the input amount K is 0, that is, in a standby state, SP1 to SPn are written to the storage unit 13. The comparison calculation unit 14 compares the data indicating the input amount K given from the input amount calculation unit 12 with the sales set prices SP1 to SPn of each product given from the sales set price storage unit 13, and determines that K≧
It is determined for each set price SP1 to SPn whether or not SPi (where i=1, 2,...n) holds true, and the calculation "K-SPi=Ri" is performed to calculate the input amount K and the set price SPi. The difference amount, that is, the estimated amount of change Ri, is calculated, and data indicating this estimated amount of change Ri is output for each decimal digit (R1000i, R100i, R10i). Here, if "K≧SPi" is established, it means that an amount K that is greater than or equal to the set price SPi has been invested, and if there is no shortage of stored coins for change, the product related to the set price SPi will be sold. It means possible. In addition, the planned change amount Ri is
This is not the amount of change that should actually be paid out, but the amount of change that would be required if it were assumed that the input amount K would be used to sell the product at the set price SPi. R
1000i indicates the value of the thousand (1000 yen) digit in this scheduled change amount Ri, R100i indicates the value of the hundred (100 yen) digit, and R10i indicates the value of the tens (10 yen) digit.

比較演算部14における比較(K≧SPi)及び
演算(K―SPi=Ri)は時分割タイミングパルス
t1〜tnに従つて各設定価格SPi毎に時分割で行
なわれる。そのために時分割タイミングパルスt
1〜tnが販売設定価格記憶部13及び比較演算部
14に与えられており、該記憶部13に記憶され
ている各設定価格SP1乃至SPnを示すデータを
パルスt1乃至tnに従つて時分割的に読み出し、
これを比較演算部14に加えるようにしている。
The comparison (K≧SPi) and calculation (K−SPi=Ri) in the comparison calculation unit 14 are performed in a time-sharing manner for each set price SPi in accordance with the time-sharing timing pulses t1 to tn. For this purpose, the time division timing pulse t
1 to tn are given to the sales set price storage unit 13 and the comparison calculation unit 14, and the data indicating each set price SP1 to SPn stored in the storage unit 13 is time-shared according to the pulses t1 to tn. read out,
This is added to the comparison calculation section 14.

釣銭用貨幣保有枚数計数部15は、釣銭用貨幣
として自動販売機に保有されている貨幣の枚数を
金種別に計数するものである。RC1000は釣
銭用として保有されている千円紙弊の枚数を示
し、RC500は500円硬化の保有枚数を示し、
RC100は100円、RC50は50円、RC10は10
円の保有枚数を夫々示す。釣銭用貨幣貯蔵装置
(図示せず)が金種別に設けられており、投入さ
れた貨幣がその金種に対応する貯蔵装置に自動補
給され、釣銭あるいは返却金として自動販売機か
ら払出すべき貨幣がその金種に対応する前記貯蔵
装置から払出される。釣銭用貨幣保有枚数計数部
15は、上記釣銭用貨幣貯蔵装置に補給された貨
幣枚数を加算計数し、そこから払出された貨幣枚
数を減算計数することにより該貯蔵装置に現在保
有されている貨幣枚数をRC1000乃至RC10
求める。すなわち、計数部15では、金種別の投
入貨幣検出信号S1000乃至S10にもとづい
て投入貨幣枚数を金種別に加算計数し、貨幣払出
機構部16から与えられる金種別の貨幣払出し確
認信号OS10〜1000にもとづいて払出され
た貨幣の枚数を減算計数する。
The change money holding count unit 15 counts the number of change money held in the vending machine by denomination. RC1000 indicates the number of 1,000 yen paper sheets held for change, RC500 indicates the number of 500 yen paper sheets held,
RC100 is 100 yen, RC50 is 50 yen, RC10 is 10
Indicates the number of yen held. A coin storage device (not shown) for change is provided for each denomination, and the coins inserted are automatically replenished into the storage device corresponding to the denomination, and the coins to be dispensed from the vending machine as change or return money. is dispensed from the storage device corresponding to the denomination. The change coin holding number counting unit 15 adds and counts the number of coins replenished to the change coin storage device, and subtracts and counts the number of coins paid out from there, thereby calculating the amount of coins currently held in the storage device. Number of sheets from RC1000 to RC10
demand. That is, the counting unit 15 adds and counts the number of inserted coins for each denomination based on the input coin detection signals S1000 to S10 for each denomination, and adds and counts the number of inserted coins for each denomination based on the coin payout confirmation signals OS10 to 1000 for each denomination given from the money dispensing mechanism unit 16. The number of coins originally paid out is subtracted and counted.

ところで、釣銭用貨幣貯蔵装置が満杯になる
と、それ以後投入された貨幣は該貯蔵装置からあ
ふれ出てキヤツシユボツクス(図示せず)に収納
される。そのため、釣銭用貨幣貯蔵装置が満杯に
なつたとき、その金種に対応してオーバフロー信
号OVFを発生し、計数部15に与えるようにし
ている。計数部15では、オーバフロー信号
OVFが発生している金種に対応する投入貨幣の
加算計数を禁止し、貯蔵装置に補給されなかつた
投入貨幣は勘定に入れないようにしている。オー
バフロー信号発生時の加算計数の禁止方法として
は、例えば、オーバフロー信号OVFが生じてい
る金種に対応する投入貨幣検出信号S1000乃
至S10を阻止して実際に加算が行なわれないよ
うにする、あるいは加算は行なうがあふれ出てキ
ヤツシユボツクスに向つた貨幣を減算することに
より実質的に投入貨幣が加算されないように、等
適宜の方法を用いてもよい。
By the way, when the change money storage device becomes full, the coins inserted thereafter overflow from the storage device and are stored in a cash box (not shown). Therefore, when the change money storage device becomes full, an overflow signal OVF is generated corresponding to the denomination and is applied to the counter 15. In the counting section 15, the overflow signal
Addition counting of input coins corresponding to denominations in which OVF has occurred is prohibited, and input coins that have not been replenished to the storage device are not included in the account. Methods for inhibiting addition when an overflow signal is generated include, for example, blocking the input coin detection signals S1000 to S10 corresponding to the denomination for which the overflow signal OVF is occurring to prevent actual addition; An appropriate method may be used, such as adding the money but subtracting the money that overflows and goes to the cash box so that the input money is not actually added.

上記釣銭用貨幣貯蔵装置は自動販売機のチエン
ジヤー機構から着脱自在なカセツト式装置とする
ことが可能である。カセツト式装置とした場合
は、集金時には貨幣貯蔵装置全体をチエンジヤー
機構から丸ごと取外し、その貯蔵貨幣を一気に排
出させることができるので便利である。貨幣排出
後は空の貯蔵装置を再びチエンジヤー機構に装着
するのであるが、このときの貨幣排出は貨幣払出
機構部16によつて行なつたものではないので、
釣銭用貨幣保有枚数計数部15で減算は行なわれ
ていない。従つて、貯蔵装置内が空であるにもか
かわらず計数部15の内容は貨幣が貯蔵されてい
るかのような値を示すことが起る。そのような不
都合を除去するためには、カセツト式の釣銭用貨
幣貯蔵装置がチエンジヤー機構から取外されたと
きリセツト信号RRを発生し、このリセツト信号
RRによつて計数部15の全内容RC1000乃至
RC10をリセツトするようにすればよい。
The change storage device can be a cassette-type device that is detachable from the changer mechanism of the vending machine. When a cassette-type device is used, it is convenient because the entire coin storage device can be removed from the changer mechanism when collecting money, and the stored coins can be discharged all at once. After the coins are ejected, the empty storage device is attached to the changer mechanism again, but since the coins are not ejected at this time by the coin dispensing mechanism section 16,
No subtraction is performed in the change coin holding number counting unit 15. Therefore, even though the inside of the storage device is empty, the contents of the counter 15 may show a value as if money were stored. In order to eliminate such inconveniences, a reset signal RR is generated when the cassette type change storage device is removed from the changer mechanism, and this reset signal is
All contents of counting section 15 by RR from RC1000 to
All you have to do is reset RC10.

他方、カセツト式の貯蔵装置を一旦取外した
が、中の貨幣は排出せずにあるいは全部排出した
後適宜枚数を手動補給して再び装着した場合、計
数部15をリセツトするとかえつて不都合とな
る。そのような場合に対処するためには、後述の
釣銭不足検出手段17の出力EP1000乃至EP
10を利用してリセツト(またはプリセツト)を
制御するとよい。例えば、カセツト式貯蔵装置を
取外した場合は常にその保有枚数を所定枚数にし
て再装着するものと定めておけば、取外し時に発
生するリセツト信号RRによつて計数部15を該
所定枚数に初期設定するようにしてもよい。
On the other hand, if the cassette-type storage device is once removed, but the coins inside are not ejected or all of them are ejected and the appropriate number of coins are manually replenished and the device is reinstalled, resetting the counting section 15 becomes more inconvenient. In order to deal with such a case, the outputs EP1000 to EP of the change shortage detection means 17, which will be described later, are
10 may be used to control the reset (or preset). For example, if it is specified that when a cassette-type storage device is removed, it is always reinstalled with a predetermined number of sheets held, the counter 15 can be initialized to the predetermined number by the reset signal RR generated at the time of removal. You may also do so.

以上のように、釣銭用貨幣貯蔵装置ではときに
は手操作によつて貨幣補給あるいは貨幣排出が行
なわれる可能性がある。その場合、手操作による
貨幣の出入が釣銭用貨幣保有枚数計数部15に正
確に反映されるようにすればより好ましいのであ
るが、そうでないとしても不都合なくこの発明を
実施することができる。すなわち、計数部15で
加減算計数する対象を投入貨幣と払出し貨幣のみ
としても、自動販売機における貨幣の出入の大半
はこれらによるものなので、釣銭用貨幣保有枚数
の増減を不都合なく把握することができる。
As described above, in the coin storage device for change, there is a possibility that coins are sometimes supplied or discharged manually. In that case, it would be more preferable if the manual input and withdrawal of money is accurately reflected in the change coin holding number counting unit 15, but even if this is not the case, the present invention can be practiced without any inconvenience. In other words, even if the counting unit 15 adds and subtracts only the input money and the dispensed money, since most of the money coming in and out of the vending machine is due to these, the increase or decrease in the number of coins held for change can be grasped without any inconvenience. .

釣銭不足検出手段17はエンプテイセンサとし
て公知のものであり、各金種毎の釣銭用貨幣貯蔵
装置における所定枚数位置に配されたセンサから
成る。一般に、該エンプテイセンサを配する所定
枚数位置とは、該金種の貨幣が釣銭として一度に
払出されるときの最大枚数あるいはそれよりも幾
分上の枚数に対応する位置である。該検出手段1
7から出力される金種別の釣銭不足検出信号EP
1000乃至EP10は、EP1000が千円貨、
EP500が500円貨、EP100が100円貨、EP
50が50円貨、EP10が10円貨に対応する。或
る金種の釣銭用貨幣貯蔵枚数が上記所定数以上の
場合はそれに対応する不足検出信号EP1000
乃至EP10は「釣銭有り」を示し(例えば
“1”)、所定枚数未満の場合は「釣銭不足」を示
す(例えば“0”)。
The change shortage detection means 17 is known as an empty sensor, and consists of sensors arranged at a predetermined number of positions in the change storage device for each denomination. Generally, the predetermined number of coins position where the empty sensor is placed is a position corresponding to the maximum number of coins of the denomination or a slightly higher number when the coins of the denomination are dispensed at one time as change. The detection means 1
Change shortage detection signal EP by denomination output from 7
1000 to EP10, EP1000 is a thousand yen coin,
EP500 is a 500 yen coin, EP100 is a 100 yen coin, EP
50 corresponds to a 50 yen coin, and EP10 corresponds to a 10 yen coin. If the number of coins stored for change of a certain denomination is greater than or equal to the predetermined number, a corresponding shortage detection signal EP1000 is sent.
EP10 to EP10 indicate that "change is available" (for example, "1"), and if the number is less than a predetermined number, it indicates that "change is insufficient" (for example, "0").

釣銭用貨幣保有枚数計数部15によつて各金種
毎の保有枚数RC1000乃至RC10を計数する
ので、釣銭不足検出手段17と計数部15の機能
には重複する点があるが、前述のように釣銭用貨
幣貯蔵装置で手操作によつて貨幣補給あるいは排
出がなされたとき計数部15の内容が信頼性のな
いものとなることも起り得るので、そのような場
合に釣銭不足検出手段17の存在は計数部15の
信頼性を確認する上で役立つ。他方、釣銭不足検
出手段17によつて釣銭不足が検出されたとして
も釣銭用貨幣貯蔵装置には少量ながらも貨幣がま
だ貯蔵されている可能性がある。そのような場合
に計数部15によつて貯蔵貨幣の存在を確認する
ことができる。このように釣銭用貨幣保有枚数計
数部15と釣銭不足検出手段17を併用すれば、
両者が相補ない合つて有効な釣銭用貨幣保有量検
出が行なえるようになる。
Since the number of change coins in possession counting unit 15 counts the number of coins RC1000 to RC10 in possession for each denomination, there is some overlap in the functions of the change shortage detection means 17 and the counting unit 15, but as described above. When coins are manually supplied or discharged from the change coin storage device, the contents of the counter 15 may become unreliable. is useful for checking the reliability of the counting section 15. On the other hand, even if a shortage of change is detected by the change shortage detection means 17, there is a possibility that a small amount of money is still stored in the change money storage device. In such a case, the presence of stored coins can be confirmed by the counter 15. In this way, if the change currency counting unit 15 and change shortage detection means 17 are used together,
Since the two are complementary, effective detection of the amount of change money held can be performed.

釣銭払出し可否判定部18は、比較演算部14
から与えられる比較結果(K≧SPi)及び釣銭予
定額Riの各桁データR1000i,R100
i,R10iと、釣銭用貨幣保有枚数計数部15
から与えられる金種毎の釣銭用貨幣保有枚数デー
タRC1000及至RC10と、釣銭不足検出手段
17から与えられる金種毎の釣銭不足検出信号
EP1000乃至EP10とにもとづいて、現在保
有している釣銭用貨幣によつて釣銭予定額Riが
払出し可能か否かを判定し、払出し可能な場合は
(勿論Ri=0の場合も含む)K≧SPiが成立して
いることを条件に販売可能信号Viを出力する。
釣銭払出しの可否判定は、釣銭額Riの各桁R1
000i,R100i,R10iとその桁に対応
する金種の釣銭用貨幣保有枚数RC1000乃至
RC10とを夫々比較することによつて行なう。
The change dispensing possibility determination unit 18 includes a comparison calculation unit 14
The comparison result (K≧SPi) given by and each digit data of the expected change amount Ri R1000i, R100
i, R10i, and change coin holding number counting unit 15
Data on the number of change coins held for each denomination from RC1000 to RC10 given from , and a change shortage detection signal for each denomination given from the change shortage detection means 17
Based on EP1000 to EP10, it is determined whether the scheduled change amount Ri can be paid out using the change coins currently held, and if it is possible to pay out (including the case where Ri=0 of course), K≧ A sales enable signal Vi is output on the condition that SPi is established.
To determine whether or not to pay out change, check each digit R1 of the change amount Ri.
000i, R100i, R10i and the number of change coins of the denomination corresponding to the digit RC1000 to RC1000
This is done by comparing each with RC10.

第2図は、比較演算部14及び釣銭払出し可否
判定部18において実行する販売可能判定の手順
をフローチヤートで示すものである。この販売可
能判定プログラムがスタートするのは「入金有
り」のときすなわち投入金額Kが0以外の何らか
の値となつたときである。まずステツプ19におい
て、販売設定価格SPiが0であるか否かを判断す
る。SPiが0のときは販売可能判定を行なうのは
無意味であるのでスタートに戻る(RTN)。SPi
が0でないとき、ステツプ19のNOのルートを通
つてステツプ20に移る。ステツプ20では、「Ri=
K―SPi」なる引算を行ない、投入金額Kと設定
価格SPiの差額すなわち釣銭予定額Riを求める。
ステツプ21では、差額Riが0以上であるか否か
を判断する。「Ri≧0」が成立するか否かを判断
することは「K≧SPi」が成立するか否かを判断
することと等価である。ステツプ21の判断がNO
の場合は投入金額Kが販売価格SPiよりも少額で
あることを意味しており、販売不可能であるので
スタートへ戻る(RTN)。ステツプ21の判断が
YESの場合は投入金額Kが販売価格SPiと同額
(Ri=0)またはそれよりも高額(Ri>0)であ
ることを意味しており、ステツプ22以降の処理を
行なつて釣銭払出しの可否を判定する。ステツプ
19,20,21の処理が第1図の比較演算部14にお
ける処理に該当し、ステツプ22以降の処理が釣銭
払出し可否判定部18における処理に該当する。
FIG. 2 is a flowchart showing the procedure for determining whether a product can be sold, which is executed by the comparison calculation section 14 and the change dispensing possibility determination section 18. This sale possibility determination program starts when "money has been deposited", that is, when the deposited amount K reaches some value other than 0. First, in step 19, it is determined whether the sales set price SPi is 0 or not. When SPi is 0, it is meaningless to determine whether the item can be sold, so return to the start (RTN). SPi
When is not 0, the process moves to step 20 via the NO route of step 19. In step 20, “Ri=
K-SPi'' is performed to find the difference between the input amount K and the set price SPi, that is, the expected change amount Ri.
In step 21, it is determined whether the difference Ri is 0 or more. Determining whether “Ri≧0” holds true is equivalent to determining whether “K≧SPi” holds true. Step 21 judgment is NO
In the case of , it means that the input amount K is smaller than the selling price SPi, and it is impossible to sell, so return to the start (RTN). Step 21 decision
If YES, it means that the input amount K is the same as the selling price SPi (Ri = 0) or higher (Ri > 0), and the process from step 22 onward will determine whether or not change can be paid out. Determine. step
The processes 19, 20, and 21 correspond to the processes in the comparison calculation section 14 in FIG.

ステツプ22では、千円貨の釣銭不足検出信号
EP1000にもとづいて千円貨の釣銭用貨幣が
不足しているか否かを判断する。不足している場
合はステツプ23において千円の釣銭用貨幣保有枚
数RC1000と釣銭予定額Riの千の桁の値R1
000iとを比較し、「RC1000≧R1000i」が成立
するか否かを判断する。EP1000が「釣銭有
り」を示しているときはステツプ23を飛び越して
ステツプ24を行なう。ステツプ23がNOの場合
は、千円の桁の釣銭R1000iを払い出すこと
ができないので、販売不可と判定し、スタートへ
戻る(RTN)。ステツプ23がYESの場合は、釣銭
不足検出手段17で千円貨の釣銭不足が検出され
ていても千の桁の釣銭額R1000iを払出せる
だけの保有枚数RC1000が有ることを意味
し、従つて、この千の桁の釣銭R1000iは払
出し可能であると判定し、ステツプ24に移る。
尚、EP1000が「釣銭有り」を示すときは千
円貨の保有枚数が1回の最大払出枚数以上である
ことを意味するので、千の桁の釣銭R1000i
は当然払出し可能である。
In step 22, a change detection signal for thousand yen coins is detected.
Based on EP1000, it is determined whether there is a shortage of 1,000 yen coins for change. If there is a shortage, in Step 23, enter the number of 1,000 yen change coins RC1000 and the thousand digit value R1 of the expected change amount Ri.
000i to determine whether "RC1000≧R1000i" holds true. When EP1000 indicates ``change available'', step 23 is skipped and step 24 is performed. If step 23 is NO, the change R1000i in the 1,000 yen digit cannot be paid out, so it is determined that the sale is not possible and the process returns to the start (RTN). If step 23 is YES, it means that even if the lack of change detection means 17 detects a lack of change in thousand yen coins, there are enough RC1000 coins to pay out the thousand-digit change amount R1000i, and therefore, It is determined that this thousand-digit change R1000i can be paid out, and the process moves to step 24.
In addition, when EP1000 indicates "change available", it means that the number of thousand yen coins held is greater than the maximum number of coins that can be paid out at one time, so change R1000i in thousand digits is required.
can of course be paid out.

ステツプ24では、百円貨の釣銭不足検出信号
EP100にもとづいて百円貨の釣銭用貨幣が不
足しているか否かを判断する。不足している場合
はステツプ25において百円の釣銭貨幣保有枚数
RC100と釣銭予定額Riの百の桁R100iと
を比較し、「RC100≧R100i」が成立するか否かを
判断する。この判断がYESの場合は、百円貨の
釣銭不足が検出されていても百の桁の釣銭額R1
00iを払出せるだけの百円貨保有枚数RC10
0が存在することを意味する。従つて、この百の
桁の釣銭該R100iが払出し可能であると判定
され、ステツプ26に移る。他方、EP100が
「釣銭有り」を示している場合はステツプ25を飛
び越してステツプ26に移る。EP100が「釣銭
有り」を示すときは百円貨の保有枚数が1回の最
大払出し枚数以上であることを意味するので、百
の桁の釣銭R100iは当然払出し可能である。
In step 24, a change detection signal for 100 yen coins is detected.
Based on EP100, it is determined whether there is a shortage of 100 yen coins for change. If there is not enough, go to step 25 to change the number of 100 yen coins held.
RC100 is compared with the hundreds digit R100i of the planned change amount Ri, and it is determined whether "RC100≧R100i" holds true. If this judgment is YES, even if a shortage of 100 yen coins is detected, the change amount in the hundreds digit is R1.
The number of 100 yen coins held is RC10, which is enough to pay out 00i.
It means that 0 exists. Therefore, it is determined that this hundred-digit change R100i can be paid out, and the process moves to step 26. On the other hand, if the EP 100 indicates that there is change, the process skips step 25 and proceeds to step 26. When EP100 indicates "change available", it means that the number of hundred yen coins held is greater than the maximum number of coins that can be paid out at one time, so change R100i in the hundreds digit can naturally be paid out.

ステツプ25がNOのときは百の桁の釣銭R10
0iが百円貨保有枚数RC100よりも多額であ
ることを意味しており、この場合は百の桁の釣銭
R100iを500円貨を用いて払出せるか否かを
判定する。まず、ステツプ72においてはR100
iが5以上であるか否かを判断し、NOのときは
リターン(RTN)へ、YESのときはステツプ27
に移る。次にステツプ27において、500円貨の釣
銭不足検出信号EP500にもとづいて500円貨の
釣銭用貨幣が不足しているか否かを判断する。
「有り」の場合はステツプ28に移り、釣銭Riの百
の桁R100iから5を引き、その引算結果をR
100iに置換える。従つて、ステツプ28で求め
たR100iは百の桁の釣銭R100iを500円
貨と100円貨で組合わせて支払う場合の100円貨の
釣銭枚数を示している。次のステツプ29では、前
述のステツプ25と同じ判断(RC100≧R100iが成
立するか否か)を行なう。但し、R100iはス
テツプ28の引算によつてステツプ25のときよりも
5少ない値となつている。従つて、ステツプ25の
ときに「RC100≧R100i」が成立しなかつたとし
てもステツプ29では成立する可能性がある。この
ステツプ29がYESの場合は百の桁の釣銭R10
0iを500円貨と100円貨を組合せて払出せること
を意味しており、ステツプ26に移る。ステツプ29
がNOの場合は、百の桁の釣銭R100iを100円
貨単独でもあるいは500円貨と100円貨を組合わせ
ても払出せないことを意味し、スタートに戻る
(RTN)。
If step 25 is NO, change in the hundreds digit R10
0i means that the amount is larger than the number of hundred yen coins held, RC100, and in this case, it is determined whether or not the hundred-digit change R100i can be paid out using 500 yen coins. First, in step 72, R100
Determine whether or not i is 5 or more; if NO, go to return (RTN); if YES, go to step 27
Move to. Next, in step 27, it is determined whether there is a shortage of 500 yen coins for change based on the 500 yen change shortage detection signal EP500.
If yes, move on to step 28, subtract 5 from the hundred digit R100i of the change Ri, and write the result of the subtraction to R.
Replace with 100i. Therefore, R100i obtained in step 28 indicates the number of 100 yen coins when the hundred digit change R100i is paid in combination with 500 yen coins and 100 yen coins. In the next step 29, the same judgment as in step 25 described above (whether RC100≧R100i holds true) is made. However, R100i has become a value 5 less than that at step 25 due to the subtraction at step 28. Therefore, even if "RC100≧R100i" does not hold true at step 25, it may hold true at step 29. If this step 29 is YES, change of hundred digit R10
This means that 0i can be paid out in a combination of 500 yen coins and 100 yen coins, and the process moves to step 26. step 29
If is NO, it means that the hundred digit change R100i cannot be paid out either as a 100 yen coin alone or as a combination of a 500 yen coin and a 100 yen coin, and the process returns to the start (RTN).

一方、ステツプ27で釣銭用500円貨が不足して
いると判断された場合はステツプ30に移り、計数
部15における釣銭用500円貨の保有枚数RC50
0が0であるか否かを判断する。「RC500=0」
がYESのときは、百の桁の釣銭R100iを500
円貨で(勿論100円貨でも)払出し出来ないこと
を意味し、スタートに戻る(RTN)。「RC500=
0」がNOのときはステツプ28に移り、前述と同
様に、更にステツプ29を実行する。
On the other hand, if it is determined at step 27 that there is a shortage of 500 yen coins for change, the process moves to step 30, and the number of 500 yen coins held for change in the counting section 15 is RC50.
Determine whether 0 is 0 or not. "RC500=0"
If YES, change R100i in the hundreds digit for 500
This means that you cannot pay out in yen (even 100 yen coins), and you will return to the start (RTN). “RC500=
If "0" is NO, the process moves to step 28, and step 29 is further executed in the same manner as described above.

ステツプ26では、10円貨の釣銭不足検出信号
EP10にもとづいて釣銭用10円貨が不足してい
るか否かを判断する。不足している場合はステツ
プ31において釣銭用10円貨の保有枚数RC10と
釣銭額Riの十の桁R10iとを比較し、「RC10≧
R10i」が成立するか否かを判断する。この判断
がYESの場合は、10円貨の釣銭不足が検出され
ていても十の桁の釣銭額R10iを払出せるだけ
の10円貨保有枚数RC10が存在することを意味
する。従つて、十の桁の釣銭額R10iも払出し
可能であると判定され、ステツプ32に移る。他
方、EP10が「釣銭有り」を示している場合は
10円貨の保有枚数が1回の最大払出し枚数以上で
あることを意味するので、十の桁の釣銭R10i
は当然払出し可能であり、ステツプ31を飛び越し
てステツプ32に移る。
In step 26, a change detection signal for 10 yen coins is detected.
Based on EP10, it is determined whether there is a shortage of 10 yen coins for change. If there is a shortage, in step 31, compare the number of 10 yen coins held for change RC10 and the tenth digit R10i of the change amount Ri, and check that "RC10≧
R10i" is established. If this determination is YES, it means that even if a shortage of 10 yen coins is detected, the number of 10 yen coins held is RC10, which is enough to pay out the ten-digit change amount R10i. Therefore, it is determined that the tens digit change amount R10i can also be paid out, and the process moves to step 32. On the other hand, if EP10 indicates "Change available"
This means that the number of 10 yen coins held is greater than the maximum number of coins that can be paid out at one time, so ten digit change R10i
Of course, it can be paid out, and the process skips step 31 and moves to step 32.

ステツプ31がNOのときは十の桁の釣銭R10
iが10円貨保有枚数RC10よりも多額であるこ
とを意味しており、この場合は該R10iを50円
貨を用いて払出せるか否かを判定する。まず、ス
テツプ73においてはR10iが5以上であるか否
かを判断し、NOのときリターン(RTN)へ、
YESのときステツプ33へ移る。次に、ステツ
プ33において、50円貨の釣銭不足検出信号EP
50にもとづいて釣銭用50円貨が不足しているか
否かを判断する。「有り」の場合はステツプ34に
移り、R10iから5を引き、R10iを引算結
果で置換える。次のステツプ35ではステツプ31と
同様の判断「RC10≧R10i」を行なうが、このと
きのR10iはステツプ31のときのR10iより
も5少ない値となつている。一方、釣銭用50円貨
が不足している場合はステツプ33からステツプ36
に移り、釣銭用50円貨の保有枚数RC50が0で
あるか否かを判断する。RC50=0のときは千
の桁の釣銭R10iを50円貨で(勿論10円貨で
も)払出し出来ないことを意味し、スタートに戻
る(RTN)。「RC50=0」がNOのときはステツ
プ34及び35を実行する。従つて、十の桁の釣銭
R10iを50円貨と10円貨の組合せで払出せる場
合はステツプ35のYESのルートを通つてステツ
プ32に移る。
If step 31 is NO, ten digit change R10
This means that i is larger than the number of 10 yen coins RC10, and in this case, it is determined whether or not the R10i can be paid out using 50 yen coins. First, in step 73, it is determined whether R10i is 5 or more, and if NO, the process goes to return (RTN).
If YES, proceed to step 33. Next, in step 33, a change detection signal EP of 50 yen coins is detected.
50, it is determined whether there is a shortage of 50 yen coins for change. If "Yes", the process moves to step 34, subtracts 5 from R10i, and replaces R10i with the result of the subtraction. In the next step 35, the same judgment as in step 31 is made, ``RC10≧R10i'', but R10i at this time is a value 5 less than R10i at step 31. On the other hand, if you do not have enough 50 yen coins for change, proceed from step 33 to step 36.
Then, it is determined whether the number of 50 yen coins held for change, RC50, is 0. When RC50=0, it means that the thousand digit change R10i cannot be paid out in 50 yen coins (of course, in 10 yen coins), and the process returns to the start (RTN). If "RC50=0" is NO, steps 34 and 35 are executed. Therefore, if the ten-digit change R10i can be paid out in a combination of 50 yen coins and 10 yen coins, the process proceeds to step 32 via the YES route of step 35.

ステツプ32は販売可能信号Viを出力し、その
後スタートに戻る(RTN)。以上のように、投入
金額Kと販売設定価格SPiとの差額すなわち釣銭
額Riの各桁の金額R1000i,R100i,
R10iとその桁に対応する金種の釣銭用貨幣保
有枚数RC1000乃至RC10を夫々比較し、全
べての桁の釣銭が払出し可能なとき販売可能と判
定される。勿論、釣銭の必要のない販売の場合、
すなわちRi=0の場合は、ステツプ23,25,31
が必らずYESとなるので保有枚数RC1000乃
至RC10がすべて0でも販売可能信号Viが発生
される。
Step 32 outputs a sellable signal Vi, and then returns to the start (RTN). As mentioned above, the difference between the input amount K and the sales set price SPi, that is, the amount R1000i, R100i of each digit of the change amount Ri,
R10i is compared with the number of change coins RC1000 to RC10 of the denomination corresponding to that digit, and when change of all digits can be paid out, it is determined that the change can be sold. Of course, in the case of sales that do not require change,
In other words, if Ri=0, steps 23, 25, 31
is always YES, so even if the number of held coins RC1000 to RC10 are all 0, the sellable signal Vi is generated.

一例として、投入金額Kが500円で、販売設定
価格SPiが200円のとき及び80円のときの販売可
能判定につき、釣銭用100円貨保有枚数RC100
が「5」、10円貨保有枚数RC10が「1」である
として、説明する。まず、SPi=200の場合は、
釣銭予定額Ri=300であり、その千の桁R100
0i=0、百の桁R100i−3、十の桁R10
i=0である。従つて、ステツプ23,25,31がす
べてYESであり、販売可能信号Viが発生され
る。他方、SPi=80の場合は、Ri=420、R10
00i=0、R100i=4、R10i=2であ
り、ステツプ23と25はYESであるが、ステツプ
31はNO、ステツプ35もNOとなるので販売不可と
判定される(勿論EP10は不足をしめしている
ものとする)。
As an example, when the input amount K is 500 yen and the sales set price SPi is 200 yen and 80 yen, the number of 100 yen coins held for change is RC100.
The explanation will be given assuming that the number of 10 yen coins held is "5" and the number of 10 yen coins RC10 is "1". First, if SPi=200,
The expected amount of change is Ri = 300, and the thousandth digit is R100.
0i=0, hundreds digit R100i-3, tens digit R10
i=0. Therefore, steps 23, 25, and 31 are all YES, and a sellable signal Vi is generated. On the other hand, when SPi=80, Ri=420, R10
00i=0, R100i=4, R10i=2, steps 23 and 25 are YES, but step
Since step 31 is NO and step 35 is also NO, it is determined that the product cannot be sold (assuming, of course, that EP10 indicates a shortage).

尚、同じ桁に対応する釣銭用貨幣保有枚数が不
足している場合は下位桁の釣銭用貨幣保有枚数を
振替えて判定を行なうようにしてもよい。その場
合、下位桁の判定を行なう際に振替えた枚数を除
外して判定するものとする。例えば、R100i
の判定の際にRC10からRC100に10枚分振替
えたとすると、R10iの判定のときはRC10
から10枚除外して判定を行なう。
If the number of change coins in possession corresponding to the same digit is insufficient, the determination may be made by transferring the number of change coins in the lower digit. In that case, when determining the lower digits, the number of transferred sheets shall be excluded from the determination. For example, R100i
If 10 coins are transferred from RC10 to RC100 when determining R10i, RC10 will be transferred when determining R10i.
Exclude 10 cards from the list and make a judgment.

第3図は第1図の釣銭払出し可否判定部18を
デイスクリート回路によつて構成する場合の一例
を示すもので、第2図のステツプ22以降の処理と
同様の機能を果すものである。比較部36は釣銭予
定額Riの千の桁R1000iに関する比較を行
なうもので、「RC1000≧R1000i」と「RC500÷2
≧R1000i」の2通りの比較を行なう。各比較結
果はオア回路37に与えられる。オア回路37に
残りの入力には釣銭用千円貨の不足検出信号EP
1000が加えられる。「RC1000≧R1000i」は第
2図のステツプ23の比較と同じものであり、釣銭
用千円貨保有枚数RC1000がR1000i以
上のとき“1”を出力する。「RC500÷2≧
R1000i」は、釣銭用500円貨保有枚数RC500を
2で除して千円貨の枚数に振替え、これがR10
00i以上であるか否かを比較するものである。
千の桁の釣銭R1000iが500円貨で払出せる
場合はこの比較出力が“1”となる。また、釣銭
用千円貨が明らかに不足していない場合は信号
EP1000が“1”である。従つて、千の桁の
釣銭R1000iが払出し可能であるときオア回
路37のいずれかの入力信号が“1”であり、そ
の出力が“1”となる。
FIG. 3 shows an example in which the change payout determination section 18 of FIG. 1 is constructed by a discrete circuit, and performs the same function as the processing from step 22 onward of FIG. 2. The comparison section 36 compares the thousands digit R1000i of the planned change amount Ri, and compares "RC1000≧R1000i" and "RC500÷2".
≧R1000i” are compared in two ways. Each comparison result is provided to an OR circuit 37. The remaining input to the OR circuit 37 is the lack of change detection signal EP of 1,000 yen coins.
1000 is added. "RC1000≧R1000i" is the same as the comparison in step 23 of FIG. 2, and "1" is output when the number of thousand yen coins held for change RC1000 is equal to or greater than R1000i. “RC500÷2≧
R1000i" is the number of 500 yen coins held for change, RC500, divided by 2 and transferred to the number of 1,000 yen coins, which is R10.
It is compared to see if it is greater than or equal to 00i.
If the thousand-digit change R1000i can be paid out in 500 yen coins, this comparison output will be "1". Also, if there is clearly no shortage of 1,000 yen coins for change, please turn on the signal.
EP1000 is “1”. Therefore, when the thousand-digit change R1000i can be paid out, any input signal of the OR circuit 37 is "1", and its output becomes "1".

比較部38は釣銭予定額Riの百の桁R100
iに関する比較を行なうもので、次に説明する3
通りの比較を行なう。「RC100≧R100i」は、、第
2図のステツプ25の比較と同じものであり、釣銭
用百円貨保有枚数RC100がR100i以上の
とき“1”を出力し、オア回路39に与える。
「RC100≧R100i−5」は、第2図のステツプ28及
び29の処理と同じものであり、R100iから
「5」を引いて500円貨と100円貨の組合せでR1
00iを払出す場合の100円貨の釣銭枚数を求
め、これが0以上でありかつ100円貨保有枚数RC
100以下であるか否かを比較する。この比較条
件が成立したときアンド回路40に“1”が与え
られる。アンド回路40の他の入力には釣銭用
500円貨不足検出信号EP500と釣銭用500円貨
保有枚数RC500を示す信号がオア回路41を
介して与えられる。RC500が0でないときあ
るいはEP500が“1”のときすなわち釣銭用
500円貨が多少なりとも存在するときオア回路4
1の出力が“1”となり、アンド回路40が動作
可能となる。従つて、百の桁の釣銭R100iを
500円貨と100円貨の組合せで払出すことができる
ときあるいは500円貨単独で払出すことができる
とき(R100i−5=0のとき)アンド回路40の
出力が“1”となり、オア回路39に与えられ
る。「RC50÷2≧R100i」は、釣銭用50円貨保有
枚数RC50を2で除して100円貨の枚数に振替
え、これがR100i以上であるか否かを比較す
るものである。百の桁の釣銭R100iが50円貨
で払出せる場合はこの比較出力が“1”となり、
オア回路39に与えられる。オア回路39の他の
入力には釣銭用100円貨不足検出信号EP100が
与えられる。以上の構成により、百の桁の釣銭R
100iが払出し可能であるときオア回路39の
いずれかの入力信号が“1”であり、その出力が
“1”となる。
The comparison part 38 is the hundreds digit R100 of the planned change amount Ri.
It performs a comparison regarding i, and 3 is explained next.
Do a street comparison. "RC100≧R100i" is the same as the comparison in step 25 in FIG.
"RC100≧R100i-5" is the same as the processing in steps 28 and 29 in Figure 2, and "5" is subtracted from R100i, resulting in R1 for the combination of 500 yen coins and 100 yen coins.
Calculate the number of 100 yen coins when paying out 00i, and if this is 0 or more and the number of 100 yen coins held RC
Compare whether it is 100 or less. When this comparison condition is satisfied, "1" is applied to the AND circuit 40. The other input of the AND circuit 40 is for change.
A 500 yen coin shortage detection signal EP500 and a signal indicating the number of 500 yen coins held for change RC500 are applied via an OR circuit 41. When RC500 is not 0 or EP500 is “1”, that is, for change.
OR circuit 4 when there are some 500 yen coins
1 becomes "1", and the AND circuit 40 becomes operational. Therefore, the hundred digit change R100i
When it is possible to pay out a combination of 500 yen coins and 100 yen coins, or when it is possible to pay out 500 yen coins alone (when R100i-5=0), the output of the AND circuit 40 becomes "1", and the output is given to the OR circuit 39. It will be done. "RC50÷2≧R100i" is to divide the number of 50 yen coins held for change RC50 by 2, transfer it to the number of 100 yen coins, and compare whether this is equal to or greater than R100i. If the hundred digit change R100i can be paid out in 50 yen coins, this comparison output will be "1",
The signal is applied to the OR circuit 39. The other input of the OR circuit 39 is given a 100 yen change coin shortage detection signal EP100. With the above configuration, hundred digit change R
When 100i can be paid out, any input signal of the OR circuit 39 is "1", and its output becomes "1".

比較部42は釣銭予定額Riの十の桁R10i
に関する比較を行なうもので、次の2通りの比較
を行なう。「RC10≧R10i」は第2図のステツプ31
の比較と同じものであり、釣銭用10円貨保有枚数
RC10がR10i以上のとき“1”を出力し、
オア回路45に与える。「RC10≧R10i−5」は、
第2図のステツプ34及び35の処理と同じものであ
り、R10iから「5」を引いて50円貨と10円貨
の組合せでR10iを払出す場合の10円貨の釣銭
枚数を求め、これが0以上でありかつ10円貨保有
枚数RC10以下であるか否かを比較する。この
比較条件が成立したときアンド回路43に“1”
が与えられる。アンド回路43の他の入力には釣
銭用50円貨不足検出信号EP50と釣銭用50円貨
保有枚数RC50を示す信号がオア回路44を介
して与えられる。RC50が0でないときあるい
はEP50が“1”のときすなわち釣銭用50円貨
が多少なりとも存在するときオア回路44の出力
が“1”となり、アンド回路43が動作可能とな
る。従つて、R10iを50円貨と10円貨の組合せ
で(あるいは50円貨単独で)払出すことができる
場合アンド回路43の出力が“1”となり、オア
回路45に与えられる。オア回路45の残りの入
力には釣銭用10円貨不足検出信号EP10が与え
られる。以上の構成により、十の桁の釣銭R10
iが払出し可能であるときオア回路45のいずれ
かの入力信号が“1”であり、その出力が“1”
となる。
The comparison unit 42 calculates the tens digit R10i of the planned change amount Ri.
The following two types of comparisons are performed. "RC10≧R10i" is step 31 in Figure 2
It is the same as the comparison of 10 yen coins for change, and the number of 10 yen coins held for change
Outputs “1” when RC10 is greater than R10i,
It is applied to the OR circuit 45. “RC10≧R10i−5” is
This is the same process as steps 34 and 35 in Figure 2, and subtracts "5" from R10i to find the number of 10 yen coins when paying out R10i with a combination of 50 yen coins and 10 yen coins. Compare whether the number of 10 yen coins held is RC10 or less. When this comparison condition is satisfied, “1” is sent to the AND circuit 43.
is given. Other inputs of the AND circuit 43 are supplied via an OR circuit 44 with a 50 yen change coin shortage detection signal EP50 and a signal indicating the number of 50 yen change coins held RC50. When RC50 is not 0 or when EP50 is "1", that is, when there are some 50 yen coins for change, the output of the OR circuit 44 becomes "1" and the AND circuit 43 becomes operational. Therefore, if R10i can be paid out in a combination of 50 yen coins and 10 yen coins (or 50 yen coins alone), the output of the AND circuit 43 becomes "1" and is applied to the OR circuit 45. The remaining inputs of the OR circuit 45 are supplied with a 10 yen change coin shortage detection signal EP10. With the above configuration, ten digit change R10
When i can be paid out, any input signal of the OR circuit 45 is "1", and its output is "1"
becomes.

オア回路37,39及び45の出力はアンド回
路46に加えられる。アンド回路46の出力はア
ンド回路47に加えられる。アンド回路47の他
の入力には比較演算部14(第1図)から「K≧
SPi」の比較出力が与えられると共に収金及び貨
幣払出し制御部48(第1図)から信号が与え
られる。この信号は、後述のように収金及び貨
幣払出制御部48がその制御動作を行つていると
きあるいはその他販売可能判定を行なうことが好
ましくないとき“0”となる信号であり、通常は
“1”である。投入金額Kが販売設定価格SPiと
同額またはそれよりも多額であるとき「K≧
SPi」の比較出力が“1”であり、かつその釣銭
予定額Riの各桁R1000i,R100i,R
10iが釣銭用貯蔵貨幣によつて払出し可能であ
るときアンド回路46の出力が“1”となり、ア
ンド回路47の条件が成立する。アンド回路47
の出力が販売可能信号Viとして該判定部18か
ら出力される。信号Viが“1”のとき販売可能
を示し、“0”のとき販売不可を示す。この実施
例では販売可能判定を各価格SP1〜SPn毎に時
分割で行なうものとしているので、時分割タイミ
ングに応じてSPi及びR1000i,R100
i,R10iが変化する毎にViも変化する。
The outputs of OR circuits 37, 39 and 45 are applied to AND circuit 46. The output of AND circuit 46 is applied to AND circuit 47. The other input of the AND circuit 47 is inputted from the comparison calculation unit 14 (FIG. 1) with “K≧
A comparison output of ``SPi'' is provided, and a signal is also provided from the money collection and money dispensing control section 48 (FIG. 1). This signal is a signal that becomes "0" when the money collection and money dispensing control unit 48 is performing its control operation as described later or when it is not desirable to make a sales possibility determination, and normally it becomes "1". ” is. When the input amount K is the same as or larger than the sales price SPi, “K≧
SPi" comparison output is "1", and each digit of the expected change amount Ri is R1000i, R100i, R
When 10i can be paid out using the stored coins for change, the output of the AND circuit 46 becomes "1", and the condition of the AND circuit 47 is satisfied. AND circuit 47
The output is outputted from the determination unit 18 as a sellable signal Vi. When the signal Vi is "1", it indicates that the product is available for sale, and when it is "0", it indicates that it is not available for sale. In this embodiment, the sellability determination is made in a time-sharing manner for each price SP1 to SPn, so SPi, R1000i, R1000
Vi also changes every time i and R10i change.

第1図において、釣銭払出し可否判定部18か
ら時分割的に出力される各価格毎の販売可能信号
Viは販売可能信号記憶制御部49に与えられ
る。記憶制御部49において、信号Viはアンド
回路50―1乃至50―nに共通に入力される。
各アンド回路50―1乃至50―nの他の入力に
は時分割タイミングパルスt1乃至tnが各別に入
力される。各アンド回路50―1乃至50―nの
出力は記憶回路51―1乃至51―nに夫々加え
られる。従つて、時分割多重化されていた各価格
毎の販売可能信号Viがアンド回路50―1乃至
50―nでデマルチプレクスされ、記憶回路50
―1乃至50―nに各別に記憶される。
In FIG. 1, a sales enable signal for each price is outputted in a time-sharing manner from the change dispensing availability determining unit 18.
Vi is given to the sales enable signal storage control section 49. In the storage control unit 49, the signal Vi is commonly input to AND circuits 50-1 to 50-n.
Time division timing pulses t1 to tn are input to other inputs of each AND circuit 50-1 to 50-n, respectively. The outputs of the AND circuits 50-1 to 50-n are applied to storage circuits 51-1 to 51-n, respectively. Therefore, the sales availability signal Vi for each price, which has been time-division multiplexed, is demultiplexed by the AND circuits 50-1 to 50-n and stored in the storage circuit 50.
-1 to 50-n are stored separately.

記憶回路50―1乃至50―nに記憶された各
販売可能信号V1〜Vnはライン52―1乃至5
2―nを介して商品払出し制御部53に与えられ
る。商品払出し制御部53では、販売可能信号V
1〜Vnが発生した(“1”となつた)商品に対応
して販売可能表示を行なう。購入者が販売可能表
示を確認して所望の商品の選択スイツチ(図示せ
ず)を操作すると、商品払出し制御部53では選
択された商品に対応する販売可能信号V1〜Vn
が与えられていることを条件に該商品の払出し動
作を開始する。同時に、選択された商品を示す商
品選択信号S1〜Sn(S1〜Snのうちいずれか
1つが“1”)をライン52―1乃至52―nに
出力すると共に販売開始信号VSを出力する。販
売開始信号VSは商品払出し制御部53で商品払
出し動作を行なつているとき(例えば商品払出し
モータを駆動しているとき)“1”となり、その
他のとき“0”である。
Each sale enable signal V1 to Vn stored in the memory circuits 50-1 to 50-n is connected to the lines 52-1 to 52-5.
2-n to the product delivery control unit 53. In the product delivery control unit 53, the sales enable signal V
A sellable display is performed corresponding to the product for which 1 to Vn has occurred (becomes "1"). When the purchaser confirms the sellable display and operates a selection switch (not shown) for a desired product, the product payout control unit 53 outputs sellable signals V1 to Vn corresponding to the selected product.
The dispensing operation of the product is started on the condition that the product is given. At the same time, product selection signals S1 to Sn (one of S1 to Sn is "1") indicating the selected product are output to lines 52-1 to 52-n, and a sales start signal VS is output. The sales start signal VS is "1" when the product dispensing control unit 53 is performing a product dispensing operation (for example, when driving the product dispensing motor), and is "0" in other cases.

販売開始信号VSは販売可能信号記憶制御部4
9のオア回路54を介して記憶回路51―1乃至
51―nのリセツト端子Rに与えられる。従つ
て、販売開始信号VSが発生されると記憶回路5
1―1乃至51―nがリセツトされ、すべての販
売可能信号V1〜Vnが消去される。ライン52
―1乃至52―nの信号は記憶回路55に入力さ
れると共にオア回路56及びノア回路57に入力
される。遅延回路58は販売開始信号VSを僅少
時間(数μs程度)遅延して記憶回路55の書込
み制御端子Lに与える。従つて、記憶回路51―
1乃至51―nがリセツトされた直後に記憶回路
55が書込みモードとなり、ライン52―1乃至
52―nの信号を記憶する。このときライン52
―1乃至52―nには商品払出し制御部53から
商品選択信号S1〜Snだけが与えられており、
結局、記憶回路55には商品選択信号S1〜Sn
が記憶される。
The sales start signal VS is the sales enable signal storage control unit 4
It is applied to the reset terminals R of the memory circuits 51-1 to 51-n via the OR circuit 54 of 9. Therefore, when the sales start signal VS is generated, the memory circuit 5
1-1 through 51-n are reset and all sellable signals V1 through Vn are cleared. line 52
The signals -1 to 52-n are input to the memory circuit 55, as well as to the OR circuit 56 and the NOR circuit 57. The delay circuit 58 delays the sales start signal VS by a short time (about several microseconds) and applies it to the write control terminal L of the storage circuit 55. Therefore, the memory circuit 51-
Immediately after lines 1 through 51-n are reset, storage circuit 55 enters a write mode and stores the signals on lines 52-1 through 52-n. At this time, line 52
-1 to 52-n are given only product selection signals S1 to Sn from the product payout control unit 53,
In the end, the memory circuit 55 stores the product selection signals S1 to Sn.
is memorized.

尚、商品払出し制御部53から商品選択信号S
1〜Snが出力される時間は例えば300ms乃至
500ms程度の一定時間であり、この時間が経過す
ると信号S1〜Snは“0”に立下る。制御部5
3の内部では周知のようにリレーあるいはその他
のスイツチング回路によつて販売可能信号V1〜
Vnと商品選択スイツチ出力とのつき合わせを行
ない、選択スイツチが操作された商品に対応する
販売可能信号V1〜Vnが発生していることを条
件に該リレーあるいはスイツチング回路を保持状
態として商品払出し動作を行なうと共に商品選択
信号S1〜Snを出力する。
Note that the product selection signal S is sent from the product payout control unit 53.
The time for outputting 1 to Sn is, for example, 300ms to
This is a fixed time of about 500 ms, and after this time elapses, the signals S1 to Sn fall to "0". Control unit 5
3, as is well known, the sell ready signals V1 to V1 are activated by relays or other switching circuits.
Match Vn with the output of the product selection switch, and on the condition that the sellable signals V1 to Vn corresponding to the product operated by the selection switch are generated, the relay or switching circuit is held in the state and the product is dispensed. At the same time, product selection signals S1 to Sn are output.

記憶回路55に記憶された商品選択信号S1〜
Snは収金及び貨幣払出制御部48に供給され
る。この収金及び貨幣払出制御部48は、主とし
て、投入金額Kから販売した商品の設定価格
SPi(SP1〜SPnのいずれか1つ)を減算する制
御(これを収金制御という)、釣銭払出し制
御、返金制御(投入金額Kを返金する制御)、
投入拒否制御、その他の制御(例えばインベ
ントリ制御あるいは投入枚数制限制御等)、を実
行するものであり、従来から知られているもので
あるためその内部構成は特に示さない。まず「収
金制御」について説明すると、これは販売開始信
号VSが与えられたとき実行される。販売設定価
格記憶部13から時分割的に読み出された各設定
価格SPiのデータを時分割タイミングパルスt1
〜tnによつて各価格SP1〜SPn別にデマルチプレ
クスし、このうち記憶回路55の記憶されている
商品選択信号S1〜Snに対応する単一の設定価
格SPi(SP1〜SPnのうち1つ)を選択して記憶
する。こうして、今販売したばかりの商品の設定
価格SPiを選択し、この値を投入金額Kから減算
する。減算の手法は任意の方法を採用してよい。
例えば、金種別投入枚数計数部11の計数内容か
ら設定価格SPiに相当する値を減算する、あるい
は計数部11の内容はリセツトし投入金額計算部
12に保持した投入金額KからSPiを減算する。
等適宜の方法を用いてよい。また、金種別計数部
11の内容から減算する場合は、高額金種の投入
枚数から先にSPi分の値を減算していく、あるい
は低額金種の投入枚数から常に減算するようにし
て引ききれなくなつた場合は高額金種の投入枚数
を低額金種に振替える、等適宜の方法を採用する
ことができる。いずれの収金方法(減算方法)を
採用するにせよ、収金制御が終了すると投入金額
計算部12における投入金額Kは最初の投入金額
から設定価格SPiを減算した値すなわち投入金額
の残高を示す値となる。
Product selection signals S1~ stored in the storage circuit 55
Sn is supplied to the collection and money payout control section 48. This money collection and money payout control unit 48 mainly controls the set price of the sold product from the input amount K.
Control to subtract SPi (any one of SP1 to SPn) (this is called collection control), change payout control, refund control (control to refund the input amount K),
It executes input rejection control and other controls (for example, inventory control or input number limit control), and since it is conventionally known, its internal configuration is not particularly shown. First, "receipt control" will be explained. This is executed when the sales start signal VS is given. The data of each setting price SPi read out in a time-sharing manner from the sales setting price storage unit 13 is processed by a time-sharing timing pulse t1.
~tn is used to demultiplex each price SP1 to SPn, and a single set price SPi (one of SP1 to SPn) corresponding to the product selection signals S1 to Sn stored in the storage circuit 55 is demultiplexed. Select and memorize. In this way, the set price SPi of the product just sold is selected, and this value is subtracted from the input amount K. Any method of subtraction may be used.
For example, a value corresponding to the set price SPi is subtracted from the count content of the input number counting unit 11 for each denomination, or the content of the count unit 11 is reset and SPi is subtracted from the input amount K held in the input amount calculation unit 12.
Any suitable method may be used. In addition, when subtracting from the contents of the denomination-specific counter 11, first subtract the SPi value from the number of coins inserted for high-value denominations, or always subtract from the number of coins inserted for low-value denominations. If the coins run out, an appropriate method can be used, such as transferring the number of coins of high denominations to low denominations. Regardless of which collection method (subtraction method) is adopted, when the collection control is completed, the input amount K in the input amount calculation unit 12 indicates the value obtained by subtracting the set price SPi from the initial input amount, that is, the balance of the input amount. value.

釣銭払出し制御あるいは返金制御は返金指令送
出部59から返金指令信号RMが与えられたとき
実行される。貨幣払出制御部48では、返金指令
信号RMが与えられると、投入金額計数部12で
求めた投入金額(またはその残額)Kに相当する
貨幣を払出すよう貨幣払出機構部16を制御す
る。貨幣の払出しは1枚ずつ行なわれる。貨幣払
出機構部16は制御部48によつて指示された金
種の貨幣を1枚払出す毎に払出確認信号を制御部
48に戻す。制御部48では払出した貨幣の金額
を計算部12の金額Kから減算する。(またはそ
の貨幣に対応する金種の投入枚数計数部11で1
枚分の減算を行なう)。尚、同時に、払出した貨
幣に対応する払出確認OS10〜1000が釣銭用貨幣保
有枚数計数部15に与えられ、該計数部15の内
容が減算されることは前述の通りである。こうし
て貨幣の払出しに伴つて投入金額(または残額)
Kが減少していき、最終的にK=0となつたとき
貨幣払出制御が終了する。前述の収金制御と同様
貨幣払出し制御及びそ際の減算方法にも種々の方
法があり、そのいずれを採用してもよい。例え
ば、投入枚数計数部11に保持されている金種別
の枚数の通りの組合せで各金種の貨幣を払出す、
あるいは投入金額計数部12の金額Kを可及的高
額金種の釣銭用貨幣を用いて順に払出す、あるい
は金額K(すなわち払出すべき釣銭額Riに相当
する)の各桁(R1000i,R100i,R1
0i)の値をその桁に対応する釣銭用貨幣を用い
て払出す、等任意の方法を用いてよい。釣銭払出
しであろうと、解約による投入金額全額返金であ
ろうと、あるいはその他自動返金制御にもとづく
返金であろうと、貨幣払出制御部48は返金指令
信号RMにもとづいて上述のような貨幣払出制御
動作を実行する。尚、収金制御中に返金指令信号
RMが与えられた場合は、収金制御の終了後に貨
幣払出し制御を行なうようにするのはいうまでも
ない。
Change payout control or refund control is executed when refund command signal RM is given from refund command sending section 59. When the money dispensing control unit 48 receives the refund command signal RM, it controls the money dispensing mechanism unit 16 to dispense money corresponding to the input amount (or its remaining amount) K calculated by the input amount counting unit 12. Money is paid out one by one. The currency dispensing mechanism section 16 returns a dispensing confirmation signal to the control section 48 each time it disburses one coin of the denomination designated by the control section 48 . The control section 48 subtracts the amount of paid money from the amount K of the calculation section 12. (or 1 in the input number counter 11 of the denomination corresponding to the currency)
). At the same time, the payout confirmation OS 10 to 1000 corresponding to the paid out money is given to the change coin holding count unit 15, and the contents of the count unit 15 are subtracted, as described above. In this way, along with the withdrawal of money, the input amount (or remaining amount)
K continues to decrease, and when K=0 finally, the money dispensing control ends. Similar to the above-mentioned money receipt control, there are various methods for money payout control and subtraction methods, and any of them may be adopted. For example, coins of each denomination are paid out in combination according to the number of coins of each denomination held in the input coin number counting section 11.
Alternatively, the amount K in the input amount counter 12 is paid out in order using change coins of the highest possible denomination, or each digit (R1000i, R100i, R100i, R100i, R1
Any method may be used, such as paying out the value of 0i) using change coins corresponding to that digit. The money payout control unit 48 performs the above-mentioned money payout control operation based on the refund command signal RM, whether it is a change payout, a full refund of the amount invested due to cancellation, or a refund based on other automatic refund control. Execute. In addition, the refund command signal is issued during payment control.
It goes without saying that when RM is given, money dispensing control is performed after the money collection control is completed.

収金及び貨幣払出制御部48は、貨幣の投入を
拒否すべきときに貨幣拒絶電磁装置(CREM)
60を制御して貨幣の投入を禁止する。該電磁装
置60によつて貨幣投入禁止状態とされると、投
入された貨幣は投入貨幣検出部10に達成する前
に返却されてしまい、貨幣の受入れ及び計数が行
なわれない。貨幣投入拒否すべき場合とは、従来
か知らしられているような様々な場合がある。例
えば、貨幣払出し制御時あるいは停電時あるいは
故障発生時あるいは販売設定価格SPiが未設定
(ゼロ)のときあるいはインベントリ制御時な
ど、要するに貨幣を受入れると不都合が生じるお
それがある場合である。尚、前述の収金制御時に
も、貨幣を受入れると不都合が生じるおそれがあ
る場合は電磁装置60を制御して貨幣の投入を拒
否してもよい。
The money collection and money dispensing control unit 48 uses a money rejection electromagnetic device (CREM) when inputting money should be rejected.
60 to prohibit the insertion of money. When the electromagnetic device 60 prohibits money insertion, the inserted money is returned before it reaches the inserted money detection section 10, and the money is not accepted or counted. There are various cases as known in the past as cases in which money injection should be refused. For example, there are cases where there is a risk that inconvenience may occur if money is accepted, such as during money dispensing control, a power outage, a failure, when the sales set price SPi is not set (zero), or during inventory control. In addition, during the above-mentioned money collection control, if there is a possibility that accepting money would cause an inconvenience, the electromagnetic device 60 may be controlled to refuse the insertion of money.

収金及び貨幣払出制御部48から釣銭払出し可
否判定部18に与えられる信号は通常は“1”
であるが、該制御部48が収金制御あるいは釣
銭・返金等の貨幣払出制御あるいは貨幣投入拒否
制御等を行なつているとき“0”となる。判定部
18では該信号が“0”のときすなわち制御部
48が上述の諸制御動作を行つているとき販売可
能信号Viの発生を抑止する。すなわち第3図の
アンド回路47が信号の“0”によつて動作不
能とされ、販売可能判定条件が成立していても販
売可能信号Viの発生が禁止される。
The signal given from the collection and money payout control unit 48 to the change payout permission determination unit 18 is normally “1”.
However, when the control unit 48 is performing money collection control, money dispensing control such as change/refund, or money insertion refusal control, it becomes "0". The determination section 18 suppresses generation of the sales enable signal Vi when the signal is "0", that is, when the control section 48 is performing the various control operations described above. That is, the AND circuit 47 in FIG. 3 is rendered inoperable by the signal "0", and generation of the sellable signal Vi is prohibited even if the sellable determination condition is met.

返金指令送出部59は、釣銭を払出すべきとき
あるいは購入者の返金請求にもとづいて投入金額
を返却すべきときあるいはその他自動返金すべき
ときにオア回路61を介して返金指令信号RMを
出力する。まず、釣銭払出しのための返金指令信
号RMの発生について説明する。釣銭払出し時点
は、この自動販売機が単品販売型であるかあるい
は連続販売型であるかによつて異なる。この実施
例では単連切換スイツチ62によつて単品販売型
あるいは連続販売型のいずれかに任意に切換える
ことができるようになつている。該スイツチ62
が図示のようにa位置に接続されている場合は連
続販売型となり、これとは反対にb位置に接続さ
れた場合は単品販売型となる。単品販売の場合に
ついて説明すると、スイツチ62をb位置に接続
することにより該スイツチ62からアンド回路6
3に信号“1”が常時与えられる。アンド回路6
3の他の入力には一回販売記憶回路64の出力が
与えられる。一回販売記憶回路64は当初(投入
金額Kが0のとき)リセツトされており、販売開
始信号VSが与えられると“1”を記憶する。従
つて、貨幣投入後一回目の販売がなされると、そ
のとき発生する販売開始信号VSによつて記憶回
路64に“1”が記憶される。記憶回路64に
“1”が記憶されると、アンド回路63の条件が
成立し、アンド回路63からオア回路61に
“1”が与えられる。これによりオア回路61か
ら出力される返金指令信号RMが“1”となる。
収金及び貨幣払出制御部48では返金指令信号
RMを記憶し、収金制御の終了後に(販売開始信
号VSの消滅後に)該信号RMの記憶にもとづいて
貨幣払出し制御を行なう。従つて一回目に販売し
た商品の設定価格SPiを投入金額Kから減算した
後に釣銭払出し態勢となり、釣銭の払出しが行な
われる。釣銭の払出しが終了して計算部12にお
ける投入金額Kの内容が0となると前記返金指令
信号RMの記憶及び一回販売記憶回路64の記憶
がリセツトされる。以上のようにして、単連切換
スイツチ62が単品販売の位置(b)に接続されてい
る場合は販売が1回行なわれると自動的に釣銭が
払出される。
The refund command sending unit 59 outputs a refund command signal RM via the OR circuit 61 when change should be paid out, when the input amount should be returned based on the purchaser's refund request, or when other automatic refunds should be made. . First, the generation of the refund command signal RM for dispensing change will be explained. The time point at which change is dispensed differs depending on whether the vending machine is a single-item vending machine or a continuous vending machine. In this embodiment, a single series changeover switch 62 can be used to arbitrarily switch between a single sale type and a continuous sale type. The switch 62
If it is connected to position a as shown in the figure, it will be a continuous sales type, and on the contrary, if it is connected to position b, it will be a single item sales type. To explain the case of single item sales, by connecting the switch 62 to position b, the AND circuit 6 is connected to the switch 62.
A signal “1” is always given to the signal “1”. AND circuit 6
The output of the one-time sale storage circuit 64 is given to the other input of 3. The one-time sale storage circuit 64 is initially reset (when the input amount K is 0), and stores "1" when the sales start signal VS is applied. Therefore, when the first sale is made after the money is inserted, "1" is stored in the memory circuit 64 by the sales start signal VS generated at that time. When "1" is stored in the memory circuit 64, the condition of the AND circuit 63 is satisfied, and the AND circuit 63 provides "1" to the OR circuit 61. As a result, the refund command signal RM output from the OR circuit 61 becomes "1".
The money collection and money payout control unit 48 issues a refund command signal.
RM is stored, and after the money collection control ends (after the sales start signal VS disappears), money dispensing control is performed based on the storage of the signal RM. Therefore, after subtracting the set price SPi of the product sold for the first time from the input amount K, the system becomes ready to pay out change, and the change is paid out. When the payout of change is completed and the content of the input amount K in the calculation section 12 becomes 0, the storage of the refund command signal RM and the storage of the one-time sale storage circuit 64 are reset. As described above, when the single-unit changeover switch 62 is connected to the single-item sales position (b), change is automatically dispensed when one sale is made.

連続販売型にする場合は単連切換スイツチ62
を図示のようにa位置に接続する。この場合、ス
イツチ62からアンド回路63に常に“0”が与
えられ、アンド回路63は動作不能となる。従つ
て単品販売時のように一回の販売で無条件に釣銭
が払出されることはない。この実施例では、連続
販売時における釣銭払出し時点の判定すなわち連
続販売の可否判定は、比較演算部14及び釣銭払
出し可否判定部18による販売可能判定に連動し
て行なわれるようになつており、投入金額Kの現
在高ではもはや販売が不可能と判定されたときに
自動的に釣銭を払出すようにしている。一回販売
記憶回路64の出力がアンド回路65に入力され
ており、該アンド回路65は少なくとも一回の販
売がなされたことを条件に動作可能となる。オア
回路56の出力をインバータ66で反転した信号
がタイマ67に入力されており、このタイマ67
の出力がアンド回路65の他の入力に与えられ
る。オア回路56はライン52―1乃至52―n
の販売可能信号V1〜Vn(または商品選択信号
S1〜Sn)のいずれかが“1”のとき“1”を
出力する。ライン52―1乃至52―nの販売可
能信号V1〜Vn(または商品選択信号S1〜
Sn)がすべて“0”となつたときオア回路56
の出力が“0”となり、インバータ66の出力が
“1”となる。タイマ67は入力信号が一定時間
(T1)以上“1”を持続したとき“1”を出力す
る。このタイマ67の動作時間T1は、連続販売
時における各販売動作間の時間間隔を考慮した適
当な時間とする。すなわち、販売可能信号V1〜
Vnが販売開始信号VSによつて一旦消去された後
次の販売のために再び立上るまでの妥当な時間で
ある。前述のように、販売開始信号VSにもとづ
いて制御部48が収金制御を行なつている間は信
号によつて販売可能信号Viが抑止されてい
る。従つて、上記タイマ67の動作時間T1は、
例えば収金制御に要する時間を考慮し、それと同
程度あるいはそれよりも幾分長い時間あるいはそ
れに貨幣の追加投入に要する時間を加味した時間
等設計上適宜に設定することができる。
For continuous sales type, use single series changeover switch 62
Connect to position a as shown. In this case, "0" is always given to the AND circuit 63 from the switch 62, and the AND circuit 63 becomes inoperable. Therefore, change is not paid out unconditionally for each sale, unlike when selling individual items. In this embodiment, the determination of the change payout point during continuous sales, that is, the determination of whether or not continuous sales are possible, is performed in conjunction with the determination by the comparison calculation unit 14 and the change payout permission determination unit 18 that sales are possible. When it is determined that the sale of the amount K is no longer possible at the current amount, change is automatically paid out. The output of the one-time sale storage circuit 64 is input to an AND circuit 65, and the AND circuit 65 becomes operable on the condition that at least one sale has been made. A signal obtained by inverting the output of the OR circuit 56 by an inverter 66 is input to a timer 67.
The output of is given to the other input of the AND circuit 65. The OR circuit 56 is connected to lines 52-1 to 52-n.
When any of the sellable signals V1 to Vn (or product selection signals S1 to Sn) is "1", it outputs "1". Sales enable signals V1 to Vn (or product selection signals S1 to Vn) on lines 52-1 to 52-n
When Sn) are all “0”, OR circuit 56
The output of the inverter 66 becomes "0" and the output of the inverter 66 becomes "1". The timer 67 outputs "1" when the input signal remains "1" for a certain period of time (T1) or more. The operating time T1 of the timer 67 is set to an appropriate time considering the time interval between each sales operation during continuous sales. That is, the sales enable signal V1~
This is a reasonable period of time after Vn is once erased by the sales start signal VS until it rises again for the next sale. As described above, while the control section 48 is controlling the collection of money based on the sales start signal VS, the sales enable signal Vi is inhibited by the signal. Therefore, the operating time T1 of the timer 67 is
For example, considering the time required for collection control, the time can be set as appropriate in the design, such as a time equal to or slightly longer than that, or a time that takes into account the time required for additional input of money.

まず、一回目の販売がなされると、一回販売記
憶回路64に“1”が記憶されると共に記憶回路
51―1乃至51―nの販売可能信号V1〜Vn
がリセツトされる。その数百ms後に商品選択信
号S1〜Snも消去されるので、ライン52―1
乃至52―nの信号がすべて“0”となり、イン
バータ66の出力が“1”に立上る。これにより
タイマ67の動作が開始する。動作時間中はタイ
マ67の出力はまだ“0”である。従つてアンド
回路65の条件は成立せず、返金指令信号RMは
発生されない。その間に制御部48は収金制御を
実行し、一回目に販売した商品の価格SPiを投入
金額Kから減算する。その後、比較演算部14及
び釣銭払出可否判定部18において投入金額の現
在高Kと各設定価格SPiとの比較及び釣銭払出し
可否判定が実行され(すなわち2回目の販売に関
する販売可能判定が実行され)、販売可能な設定
価格SPiに対応して記憶回路51―1乃至51―
nに販売可能Vi(“1”)が記憶される。こうし
て次の販売に関する販売可能判定結果が出揃う頃
はタイマ67の動作時間T1はまだ終了していな
い。従つて販売可能信号V1〜Vnが1つでも発
生した(“1”となつた)とすると、インバータ
66の出力が“0”に立下り、タイマ67の動作
は中途で終了する。従つて、アンド回路65の条
件は依然として成立せず、連続販売可能な状態が
保持される。
First, when the first sale is made, "1" is stored in the one-time sale storage circuit 64, and the sales enable signals V1 to Vn of the storage circuits 51-1 to 51-n are stored.
is reset. Several hundred ms later, the product selection signals S1 to Sn are also erased, so line 52-1
All the signals from 52-n to 52-n become "0", and the output of inverter 66 rises to "1". This starts the operation of the timer 67. During the operating time, the output of timer 67 is still "0". Therefore, the condition of the AND circuit 65 is not satisfied, and the refund command signal RM is not generated. During this time, the control unit 48 executes collection control and subtracts the price SPi of the first sold product from the input amount K. Thereafter, the comparison calculation unit 14 and the change payout permission determination unit 18 compare the current amount K of the input amount with each set price SPi and determine whether change can be paid out (that is, the sales possibility determination regarding the second sale is executed). , the memory circuits 51-1 to 51- correspond to the set price SPi that can be sold.
Sellable Vi (“1”) is stored in n. In this way, by the time the sales availability determination results for the next sale are completed, the operating time T1 of the timer 67 has not yet ended. Therefore, if even one of the sellable signals V1 to Vn is generated (becomes "1"), the output of the inverter 66 falls to "0" and the operation of the timer 67 ends prematurely. Therefore, the condition of the AND circuit 65 is still not satisfied, and the state in which continuous sales are possible is maintained.

2回目の販売がなされると、販売可能信号V1
〜Vnがリセツトされ、タイマ67の動作が再開
する。その後前述と同様に次の販売が可能と判定
されるとタイマ67の動作が中途で終了する。こ
うして販売が可能である限りアンド回路65の条
件は成立せず、従つて釣銭は払出されない。2回
目以降の販売可能判定においてどの商品も販売不
可能と判定されると、販売可能信号V1〜Vnが
全く発生しないまま(インバータ66の出力が
“1”を持続したまま)タイマ67の動作時間T1
が終了する。すると、タイマ67からアンド回路
65に“1”が与えられ、該アンド回路65の条
件が成立し、アンド回路65からオア回路61に
信号“1”が与えられる。これによりオア回路6
1から出力される返金指令信号RMが“1”とな
り、収金及び貨幣払出し制御部48が釣銭払出し
制御動作を開始する。
When the second sale is made, the sales enable signal V1
~Vn is reset and the operation of timer 67 is restarted. Thereafter, as described above, when it is determined that the next sale is possible, the operation of the timer 67 ends midway. As long as sales are possible, the condition of the AND circuit 65 is not satisfied, and therefore no change is paid out. If any product is determined to be unsellable in the second and subsequent sellable determinations, the operating time of the timer 67 continues without any sellable signals V1 to Vn being generated (the output of the inverter 66 continues to be "1"). T1
ends. Then, the timer 67 gives "1" to the AND circuit 65, the condition of the AND circuit 65 is satisfied, and the AND circuit 65 gives a signal "1" to the OR circuit 61. As a result, OR circuit 6
The refund command signal RM output from 1 becomes "1", and the collection and money dispensing control section 48 starts the change dispensing control operation.

上述のような連続販売可否判定制御において特
徴的なことは、比較演算部14及び釣銭払出し可
否判定部18における販売可能判定に連動して連
続販売の可否(釣銭を自動的に払出すか否か)が
判定されることである。従つて、投入金額の現在
高K以下の設定価格SPiが有つたとしてもその差
額に相当する釣銭の払出しが不可能な場合は連続
販売不可と判定し、釣銭を自動的に払出すことが
できる。例えば、販売設定価格SPiの最低額が80
円であり、その他に200円の設定価格が存在する
場合について考える。ここで、釣銭用10円は不足
している(EP10が“0”でかつRC10も1枚
以下であるとする)が、釣銭用100円貨は不足し
ていないとし、500円貨が投入されたとする。釣
銭用10円貨が1枚以下であるため少なくとも2枚
の10円貨を釣銭として必要とする「SPi=80」に
関しては販売可能信号Viが発生されず、100円貨
だけで釣銭を払出すことができる「SPi=200」
に関して販売可能信号Viが発生される。これに
より200円の商品が2回連続販売されたとする
と、投入金の残高Kは100円となり、「SPi=
200」に関しては「K≧SPi」が成立しなくな
る。「SPi=80」に関しては「K≧SPi」が成立す
るがその差額20円を払出すことができないため上
述の通り販売可能信号Viが発生されない。従つ
て、K=100円となつたとき販売可能信号Viが全
く発生されなくなり、アンド回路65の条件が成
立して、その残高(K=100円)が釣銭として自
動的に払出される。もし、ここで、連続販売を不
可とする条件を従来のように投入金の残高Kが最
低設定価格(80円)より少額になつたときに判定
すると、K=100円のときはまだ連続販売可能と
判定され、釣銭の自動払出しが行なわれないばか
りか、一方では釣銭払出し不可判定によつて販売
許可されず、商品も釣銭も手にすることができな
いという不都合が生じる(勿論、釣銭は後で返金
請求スイツチを手操作することによつて払出すこ
とが可能であるが)。しかし、この発明でそのよ
うな不都合はない。
A characteristic feature of the above-described control for determining whether continuous sales are possible or not is that the comparison calculation unit 14 and the change dispensing determination unit 18 determine whether or not continuous sales are possible (whether or not to automatically pay out change) in conjunction with the determination of whether or not continuous sales are possible. is to be determined. Therefore, even if there is a set price SPi that is less than the current high K of the input amount, if it is impossible to pay out change equivalent to the difference, it is determined that continuous sales are not possible, and change can be automatically paid out. . For example, the minimum sales price SPi is 80
Consider the case where the price is Yen and there is also a set price of 200 Yen. Here, there is a shortage of 10 yen coins for change (assuming that EP10 is "0" and RC10 is also one or less), but there is no shortage of 100 yen coins for change, and a 500 yen coin is inserted. . For "SPi = 80", which requires at least two 10 yen coins as change because the number of 10 yen coins for change is less than one, the sellable signal Vi is not generated, and change can be paid out with only 100 yen coins. "SPi=200"
A sellable signal Vi is generated with respect to. As a result, if a product costing 200 yen is sold twice in a row, the balance K of the input money will be 100 yen, and "SPi =
200", "K≧SPi" no longer holds true. Regarding "SPi=80", "K≧SPi" holds true, but since the difference of 20 yen cannot be paid out, the sale enable signal Vi is not generated as described above. Therefore, when K=100 yen, the sales enable signal Vi is no longer generated, the condition of the AND circuit 65 is satisfied, and the balance (K=100 yen) is automatically paid out as change. If the condition that disallows continuous sales is determined as before when the balance K of the input money becomes smaller than the minimum set price (80 yen), if K = 100 yen, continuous sales will still be possible. Not only will it be determined that the change is possible, but the change will not be paid out automatically, and on the other hand, the sales will not be permitted due to the determination that the change cannot be paid out, causing the inconvenience that you will not be able to get the product or the change (of course, the change will be returned later). However, it is possible to issue a refund by manually operating the refund request switch). However, this invention does not have such disadvantages.

投入金額(または残額)Kの返金を望む場合は
返金請求スイツチ68を操作する。該スイツチ6
8がオンするとオア回路61に信号“1”が与え
られ、返金指令信号RMが“1”となる。これに
より制御部48では投入金額(または残額)Kに
相当する貨幣を払い出す制御を行なう。
If the user desires a refund of the input amount (or remaining amount) K, the refund request switch 68 is operated. The switch 6
8 turns on, a signal "1" is given to the OR circuit 61, and the refund command signal RM becomes "1". As a result, the control unit 48 performs control to pay out money corresponding to the input amount (or remaining amount) K.

釣銭払出し以外の自動返金制御の例として次の
二列が第1図には示されている。その1つはタイ
マ69であり、このタイマ69にはオア回路56
の出力が入力される。このタイマ69は、タイマ
67と同様に入力信号が一定時間(T2)以上
“1”を持続したとき“1”を出力する。しか
し、タイマ69の動作時間T2はタイマ67の動
作時間T1よりもはるかに長い時間である。すな
わち、時間T2は正常動作時において販売可能信
号V1〜Vnあるいは商品選択信号S1〜Snが持
続する時間よりも長い時間に設定される。従つ
て、正常時はタイマ69の動作時間T2が経過す
る前にオア回路56の出力が“0”立下り、該タ
イマ69の動作が中途で終了し、その出力は常に
“0”である。しかし、販売可能信号V1〜Vnあ
るいは商品選択信号V1〜Vnが出続けるという
異常が発生した場合は、オア回路56の出力が
“1”を持続したままタイマ69の動作時間T2が
終了し、該タイマ69からオア回路61に“1”
が与えられる。これにより、該オア回路61から
制御部48に返金指令信号RMが与えられ、投入
金が自動返却される。
The following two columns are shown in FIG. 1 as examples of automatic refund control other than change payout. One of them is a timer 69, and this timer 69 has an OR circuit 56.
The output of is input. This timer 69, like the timer 67, outputs "1" when the input signal continues to be "1" for a certain period of time (T2) or more. However, the operating time T2 of the timer 69 is much longer than the operating time T1 of the timer 67. That is, the time T2 is set to a longer time than the time during which the sales enable signals V1 to Vn or the product selection signals S1 to Sn last during normal operation. Therefore, under normal conditions, the output of the OR circuit 56 falls to "0" before the operating time T2 of the timer 69 has elapsed, the operation of the timer 69 ends midway, and the output is always "0". However, if an abnormality occurs in which the sellable signals V1 to Vn or the product selection signals V1 to Vn continue to appear, the operating time T2 of the timer 69 ends while the output of the OR circuit 56 continues to be "1", and the corresponding product selection signal V1 to Vn continues to appear. “1” from timer 69 to OR circuit 61
is given. As a result, a refund command signal RM is given from the OR circuit 61 to the control unit 48, and the deposit is automatically returned.

また、販売可能信号V1〜Vnが発生していな
いにもかかわらず販売開始信号VSが与えられた
場合はアンド回路70の条件が成立し、オア回路
61を介して返金指令信号RMが発生される。ア
ンド回路70には販売開始信号VSの立上りを微
分した微分回路71の出力とノア回路57の出力
が加わる。ライン52―1乃至52―nに販売可
能信号V1〜Vnが全く与えられていないときノ
ア回路57の出力が“1”となる。従つて販売可
能信号V1〜Vnが発生していないにもかかわら
ず販売開始信号VSが与えられると、該信号VSに
立上り時に一瞬だけアンド回路70の条件が成立
し、返金指令信号RMが発生される。制御部48
では、前述のように該信号RMを記憶して貨幣払
出し態勢に入ると共に貨幣拒絶電磁装置60を制
御して貨幣投入拒否状態とする。尚、正常動作時
において販売開始信号VSが発生すると販売可能
信号V1〜Vnがリセツトされるが、このときは
アンド回路70の条件が成立しないように、微分
回路71の出力パルスが消えた後で記憶回路51
―1乃至51―nの出力が“0”に立下るように
適宜の時間遅れを設定する等不都合がないように
することはいうまでもない。しかし、そのための
回路はこの発明の要旨とは関係ないので第1図で
は図示を省略する。
Further, if the sales start signal VS is given even though the sales enable signals V1 to Vn are not generated, the condition of the AND circuit 70 is satisfied, and the refund command signal RM is generated via the OR circuit 61. . The AND circuit 70 receives the output of a differentiating circuit 71 that differentiates the rising edge of the sales start signal VS, and the output of the NOR circuit 57. When no sellable signals V1 to Vn are applied to the lines 52-1 to 52-n, the output of the NOR circuit 57 becomes "1". Therefore, if the sales start signal VS is given even though the sales enable signals V1 to Vn have not been generated, the condition of the AND circuit 70 is met momentarily when the signal VS rises, and the refund command signal RM is generated. Ru. Control unit 48
Then, as described above, the signal RM is stored and the money dispensing mode is entered, and the money rejection electromagnetic device 60 is controlled to set the money insertion rejection state. Note that when the sales start signal VS is generated during normal operation, the sales ready signals V1 to Vn are reset, but at this time, in order to prevent the conditions of the AND circuit 70 from being satisfied, the signals are reset after the output pulse of the differentiating circuit 71 disappears. Memory circuit 51
It goes without saying that an appropriate time delay should be set so that the outputs of -1 to 51-n fall to "0" to avoid any inconvenience. However, since the circuit for this purpose is not related to the gist of the present invention, illustration thereof is omitted in FIG.

尚、販売可能信号記憶制御部49におけるオア
回路54の他の入力には、その他適宜のリセツト
信号が与えられる。例えば、前記信号を反転し
た信号Hを加え、該信号の“0”によつて販売
可能判定が禁止されているとき記憶回路51―1
乃至51―nをリセツトするようにする。あるい
は、投入金額Kが0のとき計数部12から出力さ
れるゼロ信号Roを加え、、K=0のときは記憶回
路51―1乃至51―nをリセツトするようにす
る。また、K=0を示すゼロ信号Roは自動販売
機内の各種記憶回路(少なくとも計数部15と記
憶部13を除く)に与えられ、K=0のときすな
わち販売動作終了あるいは待機時にそれらの記憶
内容をリセツトするようになつていいることも周
知の通りである。また、第1図では図示を省略し
たが、投入金額計算部12で求めた投入金額(ま
たはその残高)Kは金額表示器で表示されるよう
になつていることはいうまでもない。
It should be noted that other appropriate reset signals are applied to other inputs of the OR circuit 54 in the sellable signal storage control section 49. For example, when a signal H obtained by inverting the above signal is added and the sale possibility determination is prohibited by the signal "0", the memory circuit 51-1
to 51-n are reset. Alternatively, when the input amount K is 0, the zero signal Ro output from the counter 12 is added, and when K=0, the memory circuits 51-1 to 51-n are reset. Furthermore, the zero signal Ro indicating K=0 is given to various memory circuits in the vending machine (excluding at least the counting section 15 and the memory section 13), and the memory contents are stored when K=0, that is, when the vending operation is finished or when the vending machine is on standby. It is also well known that the Although not shown in FIG. 1, it goes without saying that the input amount (or its balance) K calculated by the input amount calculating section 12 is displayed on the amount display.

第1図の例では販売可能信号V1〜Vnと商品
選択信号S1〜Snを共通のライン52―1乃至
52―nを介して授受するようにしているが、こ
れに限らず、別々のラインを用いて授受するよう
にしてもよいことは勿論である。その場合、オア
回路56及びノア回路57に販売可能信号V1〜
Vnを入力し、記憶回路55に商品選択信号S1
〜Snを入力する。また、タイマ67の箇所はタ
イマを用いずに、制御部48あるいはその他の部
分からの制御信号を利用して次回の販売可能判定
が行なわれたことを推定するような構成としても
よい。また、各設定価格SPiと投入金額Kとの比
較は、特願昭54―133311号明細書に示されている
ように2段階の比較動作(最初は全価格SPiとの
比較、次に選択された単一の価格SPiとの比較)
によつて行なうようにしてもよい。
In the example shown in FIG. 1, the sales enable signals V1 to Vn and the product selection signals S1 to Sn are sent and received via the common lines 52-1 to 52-n, but the present invention is not limited to this, and separate lines can be used. Of course, it is also possible to send and receive the information using the same method. In that case, the OR circuit 56 and the NOR circuit 57 receive the sellable signal V1~
Vn is input, and the product selection signal S1 is sent to the memory circuit 55.
Enter ~Sn. Alternatively, the timer 67 may be configured to use a control signal from the control unit 48 or other parts to estimate whether the next sale possibility determination has been made, without using a timer. In addition, the comparison between each set price SPi and the input amount K is performed in two steps (first, a comparison with the total price SPi, and then a comparison with the selected price SPi), as shown in the specification of Japanese Patent Application No. (Comparison with single price SPi)
It may also be done by.

尚、釣銭用貨幣保有枚数計数部15で計数する
金種あるいは釣銭用貨幣不足検出手段17で検出
する金種即ち釣銭払出し可否判定部18で利用す
る釣銭用貯蔵貨幣の金種は上述の例に限らないこ
とは勿論である。例えば、釣銭用貨幣として使用
する金種が500円貨、100円貨、50円貨、10円貨の
場合は1000円貨に関する保有枚数計数手段及び不
足検出手段は不要である。また、釣銭払出し可否
判定部18では、釣銭用貯蔵貨幣の全金種を判定
に利用する必要はなく、要は釣銭額Riの各桁毎
の釣銭払出しの可否が判定できる金種を用いれば
よい。従つて500円貨あるいは50円貨のような中
間金種の保有状態を判定の対象に入れずにこの発
明を実施することも可能である。また、投入貨幣
として使用可能な最高金種の貨幣に関しては釣銭
払出し可否判定を特に行なわなくてよい場合があ
る。これは、最高金種の投入貨幣をエスクロ装置
に一時保留し該金種の貨幣を払出す必要が生じた
場合は保留したものを払出す構成を採用する場
合、あるいは該最高額投入貨幣を専用の貯蔵装置
に自動補給し該貯蔵装置から該金種の貨幣払出し
得る構成を採用する場合などである。そのような
場合は最高金額を釣銭として払出す必要が生じた
場合は投入された貨幣が必らず存在することによ
り該最高金額貨幣を必らず払出すことができるの
で、そのための釣銭払出し可否判定を特に行わな
くてもよいことになる。従つて、例えば、1000円
貨、500円貨、100円貨、50円貨、10円貨の5種の
貨幣が使用可能な場合は、釣銭払出し可否判定部
18では釣銭額(差額)Riの百の桁R100i
と十の桁R10iの釣銭払出し可否判定のみを行
なうようにしてもよく、その際に釣銭用貨幣保有
状況を示す信号として100円貨保有枚数RC100
を示す信号、10円貨保有枚数RC10を示す信
号、100円貨不足検出信号EP100及び10円貨不
足検出信号EP10のみを判定に利用するように
しても不都合なくこの発明を実施することができ
る。
Incidentally, the denomination counted by the change coin holding count unit 15 or the denomination detected by the change coin shortage detection means 17, that is, the denomination of the stored change coin used by the change dispensing permission determination unit 18, is the same as the above example. Of course, there is no limit. For example, if the denominations used as change coins are 500 yen coins, 100 yen coins, 50 yen coins, and 10 yen coins, the means for counting the number of held coins and the means for detecting shortage of 1000 yen coins are unnecessary. In addition, the change dispensing possibility determination unit 18 does not need to use all the denominations of the stored change coins for the determination, and in short, it is sufficient to use denominations that can determine whether change can be disbursed for each digit of the change amount Ri. . Therefore, it is also possible to implement the present invention without taking into consideration the holding status of intermediate denominations such as 500 yen coins or 50 yen coins. Further, there are cases where it is not necessary to particularly determine whether or not change can be paid out for the highest denomination of money that can be used as input money. This is possible when adopting a configuration in which the input coins of the highest denomination are temporarily held in an escrow device and when it becomes necessary to pay out the coins of that denomination, the held coins are dispensed, or when the input coins of the highest denomination are used for exclusive use. For example, a configuration is adopted in which coins of the denomination can be automatically refilled and dispensed from the storage device of the denomination. In such a case, if it is necessary to pay out the maximum amount of money as change, the maximum amount of money can always be paid out because the inserted coin always exists, so whether or not it is possible to pay out change. This means that there is no need to make any particular determination. Therefore, for example, if five types of coins such as 1000 yen coin, 500 yen coin, 100 yen coin, 50 yen coin, and 10 yen coin can be used, the change dispensing possibility determining unit 18 determines the hundred digit R100i of the change amount (difference) Ri.
It is also possible to only determine whether or not the change can be paid out for the tens digit R10i, and at that time, the number of 100 yen coins held is RC100 as a signal indicating the holding status of change coins.
The present invention can be carried out without any inconvenience even if only the signal indicating 10 yen coins, the signal indicating the number of 10 yen coins held RC10, the 100 yen coin shortage detection signal EP100, and the 10 yen coin shortage detection signal EP10 are used for determination.

<発明の効果> 以上説明したようにこの発明によれば、実際に
販売不可能となつたとき自動的に釣銭を払出して
連続販売を終了させるようにしているので、連続
販売における釣銭の自動払出しを遅滞なく行なう
ことができるという効果がある。
<Effects of the Invention> As explained above, according to the present invention, change is automatically paid out and the continuous sale is ended when a sale becomes impossible, so that change is automatically paid out in the continuous sale. This has the effect that it can be carried out without delay.

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

第1図はこの発明の一実施例を示す自動販売機
の制御系統ブロツク図、第2図は第1図の比較演
算部及び釣銭払出し可否判定部における処理内容
を示すフローチヤート、第3図は同釣銭払出し可
否判定部の内部構成例を示すブロツク図、であ
る。 11……金種別投入枚数計数部、12……投入
金額計算部、14……比較演算部、、15……釣
銭用貨幣保有枚数計数部、17……釣銭不足検出
手段、18……釣銭払出し可否判定部、49……
販売可能信号記憶制御部、59……返金指令送出
部、64……一回販売記憶回路、67……タイ
マ、53……商品払出し制御部、62……単品販
売と連続販売の切換スイツチ、S1000乃至S
10……金種別投入貨幣検出信号、RC1000
乃至RC10……金種別釣銭用貨幣保有枚数、
OS10〜1000……金種別貨幣払出し確認信号、K…
…投入金額、SPi(SP1〜SPn)……販売設定価
格、R1000i乃至10i……釣銭予定額の各
桁、Vi(V1〜Vn)……販売可能信号、VS……
販売開始信号、S1〜Sn……商品選択信号、RM
……返金指令信号。
FIG. 1 is a block diagram of a control system of a vending machine showing an embodiment of the present invention, FIG. 2 is a flowchart showing processing contents in the comparison calculation unit and change dispensing permission determination unit in FIG. 1, and FIG. FIG. 3 is a block diagram showing an example of the internal configuration of the change dispensing permission determination section. DESCRIPTION OF SYMBOLS 11... Input amount counting unit by denomination, 12... Input amount calculation unit, 14... Comparison calculation unit, 15... Change coin holding number counting unit, 17... Change shortage detection means, 18... Change dispensing Possibility determination section, 49...
Sales enable signal storage control unit, 59...Refund command sending unit, 64...Single sale storage circuit, 67...Timer, 53...Product delivery control unit, 62...Single item sales and continuous sales switch, S1000 ~S
10...Inserted coin detection signal by denomination, RC1000
~RC10...Number of change coins held by denomination,
OS 10~1000 ...Money payout confirmation signal by denomination, K...
...Input amount, SPi (SP1 to SPn)...Sales setting price, R1000i to 10i...Each digit of expected change amount, Vi (V1 to Vn)...Sellable signal, VS...
Sales start signal, S1~Sn...Product selection signal, RM
...Refund command signal.

Claims (1)

【特許請求の範囲】[Claims] 1 釣銭用貨幣の保有状態を金種別に検出する検
出手段と、投入金額以下の販売設定価格に対応し
て釣銭予定額を算出する演算手段と、前記検出手
段によつて検出した保有貨幣によつて前記釣銭予
定額を払出せるか否かを判定する釣銭払出し可否
判定手段と、釣銭払出し可と判定された前記販売
設定価格及び投入金額と同額の販売設定価格に関
する販売を許可する手段と、どの販売設定価格も
販売許可されなかつたとき少くとも一回の販売が
行なわれたことを条件に返金指令を発生する手段
とを具え、この返金指令にもとづいて投入金額の
現在高を釣銭として返金するようにした自動販売
機の連続販売制御装置。
1. A detection means for detecting the holding status of change coins by denomination, a calculation means for calculating the expected amount of change in response to a sales set price that is less than the input amount, and a calculation means for detecting the holding state of change coins by denomination, means for determining whether or not the scheduled amount of change can be paid out; means for permitting sales at the set sales price and the same amount as the input amount for which it is determined that change can be paid out; A means for issuing a refund instruction on the condition that at least one sale has been made when the sales set price is not approved, and based on this refund instruction, the current amount of the input amount is refunded as change. A continuous vending control device for vending machines.
JP4322081A 1981-03-26 1981-03-26 Method of and apparatus for continuously controlling selling of vending machine Granted JPS57159395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4322081A JPS57159395A (en) 1981-03-26 1981-03-26 Method of and apparatus for continuously controlling selling of vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4322081A JPS57159395A (en) 1981-03-26 1981-03-26 Method of and apparatus for continuously controlling selling of vending machine

Publications (2)

Publication Number Publication Date
JPS57159395A JPS57159395A (en) 1982-10-01
JPS6211394B2 true JPS6211394B2 (en) 1987-03-12

Family

ID=12657825

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4322081A Granted JPS57159395A (en) 1981-03-26 1981-03-26 Method of and apparatus for continuously controlling selling of vending machine

Country Status (1)

Country Link
JP (1) JPS57159395A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5998290A (en) * 1982-11-26 1984-06-06 株式会社 三共 Thin ball lending machine system for game yard

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5439159B2 (en) * 1975-03-17 1979-11-26
JPS5258999A (en) * 1975-11-11 1977-05-14 Fuji Electric Co Ltd Change return control circuit

Also Published As

Publication number Publication date
JPS57159395A (en) 1982-10-01

Similar Documents

Publication Publication Date Title
US4499982A (en) Vend possible judgement device for a vending machine
US5734150A (en) Electronic funds acceptor for vending machines
JP2740979B2 (en) Vending machine control device
JPS5878283A (en) Coin processor
JPS5821751B2 (en) Seigiyohoshiki
JP3297237B2 (en) Vending machine payment management device
JPS6211394B2 (en)
JPS5822789B2 (en) Vending machine control device
JP2020119453A (en) Money handling device, money handling system and money handling method
JPS6233632B2 (en)
JPS58223892A (en) Vending machine
CN109493506A (en) Coin processor
JPS6227974Y2 (en)
GB2097163A (en) Vend possible judgement device for a vending machine
JPS5939075B2 (en) Vending machine control device
JPH0222760Y2 (en)
JPH082769Y2 (en) Bulk purchaseable product display device in vending machine
JPS6236596B2 (en)
JPS6227977Y2 (en)
JPS6220052Y2 (en)
JP2002015361A (en) Vending machine and vending method
JP2025129629A (en) Cash deposit and withdrawal machines and cash collection systems
JPH036558B2 (en)
JPS632941Y2 (en)
JPS59106093A (en) Controller for vending machine