JPH0113587B2 - - Google Patents
Info
- Publication number
- JPH0113587B2 JPH0113587B2 JP57216731A JP21673182A JPH0113587B2 JP H0113587 B2 JPH0113587 B2 JP H0113587B2 JP 57216731 A JP57216731 A JP 57216731A JP 21673182 A JP21673182 A JP 21673182A JP H0113587 B2 JPH0113587 B2 JP H0113587B2
- Authority
- JP
- Japan
- Prior art keywords
- change
- coins
- yen
- amount
- coin
- 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
Links
Landscapes
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、投入硬貨の合計金額以内の販売価
格の商品に対して釣銭の払出しが可能か否かを判
断して販売の可否を判定する自動販売機の制御装
置に関する。[Detailed Description of the Invention] [Field of Industrial Application] This invention determines whether or not it is possible to sell a product by determining whether change can be paid out for a product whose selling price is within the total amount of coins inserted. The present invention relates to a control device for a vending machine.
投入硬貨の合計金額(以下これを投入金額とも
記す)以内の販売価格に対して販売が可能か否か
を判定するようにした自動販売機としては、第1
図に示すような装置が知られている(特開昭52−
37496号公報)。第1図において、1は投入硬貨の
合計金額を算出する主カウンタ、2は販売商品の
販売価格を設定する価格設定部、3,4は主カウ
ンタ1の記憶内容と価格設定部2に設定された商
品の販売価格とをそれぞれ比較する比較器、5は
釣銭用10円硬貨が収納された硬貨収納筒に対応し
て設けられた当該硬貨収納筒内に収納されている
10円硬貨の収納枚数を検出する釣銭用10円硬貨枚
数検出部、6は釣銭用50円硬貨が収納された硬貨
収納筒に対応して設けられ当該硬貨収納筒内に収
納されている50円硬貨の収納枚数を検出する釣銭
用50円硬貨枚数検出部である。前記釣銭用10円硬
貨枚数検出部5は10円硬貨を収納した硬貨収納筒
内の硬貨が9枚以上のとき信号線99を介してオ
ア回路OR1の一方の入力端子に論理信号「1」を
送出し、かつ10円硬貨を収納した硬貨収納筒内の
硬貨が4枚以上のとき信号線S4を介してアンド回
路ADの一方の入力端子に論理信号「1」を送出
する。釣銭用50円硬貨枚数検出部6は50円硬貨を
収納した硬貨収納筒内の硬貨が1枚以上のとき信
号線S1を介してアンド回路ADの他の入力端子に
論理信号「1」を送出する。アンド回路ADの出
力端子はオア回路OR1の他の入力端子に接続され
ており、釣銭として10円硬貨が少なくとも9枚あ
るときまたは10円硬貨が少なくとも4枚と50円硬
貨が少くとも1枚あるとき、すなわち釣銭として
釣銭最大額90円があるときにはオア回路OR1から
論理信号「1」が送出される。このオア回路OR1
からの論理信号「1」により比較器3が動作可能
となり、一方比較器4は反転回路NOTによりオ
ア回路OR1からの論理信号「1」が反転された論
理信号「0」によつて不動作状態となる。またオ
ア回路OR1から論理信号「0」が出力されると前
記とは逆に比較器4が動作可能となり比較器3が
不動作状態となる。これにより釣銭として釣銭最
大額90円がある場合に主カウンタ1の記憶内容
(すなわち投入金額)が価格設定部2に設定され
た商品の販売価格以上となる比較器3から論理信
号「1」が送出されオア回路OR2を介して販売可
能信号VENDが送出され、釣銭が90円未満のと
きは投入金額が商品の販売価格と一致したときの
み比較器4から論理信号「1」が送出されオア回
路OR2を介して販売可能信号VENDが送出され
る。
The first vending machine that determines whether or not a sale is possible for a selling price within the total amount of coins inserted (hereinafter also referred to as the amount inserted) is the first one.
A device as shown in the figure is known (Japanese Unexamined Patent Application Publication No. 52-118)
Publication No. 37496). In FIG. 1, 1 is the main counter that calculates the total amount of coins inserted, 2 is the price setting section that sets the selling price of the sold product, and 3 and 4 are the stored contents of the main counter 1 and are set in the price setting section 2. A comparator 5 is stored in a coin storage cylinder provided corresponding to a coin storage cylinder in which a 10 yen coin for change is stored.
A 10 yen coin number detection unit for change detects the number of 10 yen coins stored, and 6 is provided corresponding to a coin storage cylinder in which 50 yen coins for change are stored, and 50 yen coins are stored in the coin storage cylinder. This is a 50 yen change coin number detection unit that detects the number of stored coins. The 10 yen coin number detection unit 5 outputs a logic signal " 1 " to one input terminal of the OR circuit OR 1 via the signal line 99 when the number of coins in the coin storage cylinder containing 10 yen coins is 9 or more. and when there are four or more coins in the coin storage cylinder containing 10 yen coins, a logic signal "1" is sent to one input terminal of the AND circuit AD via the signal line S4 . The change 50 yen coin number detection unit 6 outputs a logic signal "1" to the other input terminal of the AND circuit AD via the signal line S1 when the number of coins in the coin storage cylinder containing 50 yen coins is one or more. Send. The output terminal of the AND circuit AD is connected to the other input terminal of the OR circuit OR 1 , and when there are at least 9 10 yen coins as change, or at least 4 10 yen coins and at least 1 50 yen coin. At a certain time, that is, when the maximum amount of change is 90 yen, a logic signal " 1 " is sent from the OR circuit OR1. This OR circuit OR 1
The comparator 3 is enabled to operate by the logic signal "1" from the OR circuit OR circuit 4, and the comparator 4 is disabled by the logic signal "0" which is the inversion of the logic signal "1" from the OR circuit OR 1 by the inverting circuit NOT. state. Further, when the logical signal "0" is output from the OR circuit OR1 , the comparator 4 becomes operational and the comparator 3 becomes inactive, contrary to the above. As a result, when the maximum amount of change is 90 yen, the comparator 3 outputs a logic signal "1" when the stored content of the main counter 1 (i.e., the input amount) is equal to or higher than the selling price of the product set in the price setting section 2. A sellable signal VEND is sent out through the OR circuit OR 2 , and when the change is less than 90 yen, a logic signal "1" is sent out from the comparator 4 only when the input amount matches the selling price of the product. A sellable signal VEND is sent out via the circuit OR2 .
この従来装置において、釣銭用10円硬貨と釣銭
用50円硬貨の組合せで釣銭として少なくとも釣銭
最大額90円があれば投入金額以内の販売価格の商
品に対して販売可能信号VENDを送出するよう
に構成されており、10円硬貨と50円硬貨とを組合
せて釣銭とすることができるが、釣銭として少な
くとも釣銭最大額90円以上の保有がなければ投入
金額に対して釣銭を必要とする販売価格の商品の
販売可能信号VENDは送出されず、販売は許可
されない。 In this conventional device, if there is at least the maximum amount of change of 90 yen in a combination of 10 yen coins for change and 50 yen coins for change, a sellable signal VEND is sent for products whose selling price is within the input amount. 10 yen coins and 50 yen coins can be combined as change, but if you do not have at least the maximum amount of change as change of 90 yen or more, the sales price requires change for the input amount. The sellable signal VEND for the product is not sent and the sale is not allowed.
ところで、いわゆる連続販売の可能な自動販売
機においては、たとえば100円の商品を2個購入
するために100円硬貨を2個投入することがある
のであるが、この場合、投入金額200円>販売価
格100円となり、釣銭の保有が釣銭最大額90円以
上なければ販売は許可されず、連続販売は不可能
となつて1個ずつ購入しなければならないという
不都合がある。 By the way, in a vending machine that allows continuous sales, for example, you may insert two 100 yen coins to purchase two 100 yen products, but in this case, the amount inserted is 200 yen > the sale. The price is 100 yen, and unless you have more than the maximum change of 90 yen, you will not be allowed to sell them, making it impossible to sell them continuously and having to purchase them one by one.
このような不都合を解消するものとしてたとえ
ば特開昭57−157386号公報に記載されているもの
のように、投入貨幣と払出し貨幣を金種別に加減
算することにより釣銭用貨幣の金種別保有枚数を
求める保有枚数計数手段と、前記釣銭用貨幣の不
足を金種別に検出する釣銭不足検出手段(釣銭切
れ検出センサ)と、投入金額以下の販売価格に対
応して釣銭(予定)額を算出する演算手段と、前
記計数手段で求められた金種別保有枚数と前記釣
銭不足検出手段の検出結果とにもとづいて前記釣
銭(予定)額が払出し可能か否かを判定する釣銭
払出し可否判定手段とを具え、釣銭払出し可と判
定されたとき前記販売設定価格に関する販売を許
可するようにしたものが知られている。 To solve this inconvenience, for example, as described in Japanese Patent Application Laid-Open No. 57-157386, the number of coins held for each denomination of change coins is calculated by adding and subtracting the input coins and the paid coins for each denomination. a means for counting the number of coins held; a change shortage detection means (out-of-change detection sensor) for detecting the shortage of the change coins by denomination; and a calculation means for calculating the (scheduled) amount of change in response to a sales price that is less than the input amount. and a change dispensing possibility determining means for determining whether or not the change (scheduled) amount can be disbursed based on the number of coins held by denomination determined by the counting means and the detection result of the change shortage detecting means, A device is known in which sales at the set sales price are permitted when it is determined that change can be dispensed.
すなわち、この従来装置によれば、100円の商
品を2個購入するために100円硬貨を2個投入し
た場合には、釣銭用貨数の金種別保有枚数として
投入された100円硬貨の2枚が計数されているの
で、他の釣銭用貨幣が全くなかつたとしても、投
入金額200円に対する販売価格100円の商品の釣銭
額100円は、保有枚数として計数された2枚の100
円硬貨のうちの1枚を用いて払出し可能と判定さ
れ、販売が許可される。従つて、釣銭切れ検出セ
ンサにより釣銭切れが検出されている場合であつ
ても連続販売が可能となるものである。 In other words, according to this conventional device, when two 100 yen coins are inserted to purchase two 100 yen products, the number of coins held by denomination of change coins is 2 of the 100 yen coins inserted. Since the coins are counted, even if there are no other coins for change, the change amount of 100 yen for a product with a selling price of 100 yen for an input amount of 200 yen is the two 100 coins counted as the number of coins held.
It is determined that it is possible to pay out using one of the yen coins, and the sale is permitted. Therefore, even if the out-of-change detection sensor detects that the change is out, continuous sales are possible.
ところで、この従来装置は、釣銭切れ検出セン
サが釣銭切れを検出していない場合には、釣銭額
はその額に関係なく払出し可能であるとして販売
を許可するものであり、投入硬貨は釣銭用貨幣貯
蔵装置(硬貨収納筒)に収納されるものである。
By the way, in this conventional device, when the out-of-change detection sensor does not detect out-of-change, the change is deemed to be payable regardless of the amount and the sale is permitted, and the inserted coins are used as change coins. It is stored in a storage device (coin storage cylinder).
このため、釣銭切れのときに硬貨が投入され、
その硬貨が硬貨収納筒内を落下すれば、その途中
に設けられた釣銭切れ検出センサの釣銭切れ検出
信号を変化(釣銭切れ→釣銭有り)させる場合が
発生する。釣銭切れ検出センサの釣銭切れ検出信
号が釣銭切れでなくなれば釣銭額に関係なく販売
が許可されるのであるから、実際には払出すべき
釣銭用硬貨が収納されていないにもかかわらず、
販売が許可され、その結果、釣銭が払出されない
という誤動作が発生する可能性がある。 For this reason, coins are inserted when change is out,
If the coin falls inside the coin storage cylinder, the out-of-change detection signal of the out-of-change detection sensor provided on the way may change (out of change → change present). If the out-of-change detection signal from the out-of-change detection sensor no longer indicates out-of-change, sales are permitted regardless of the amount of change, so even though there are no change coins to be dispensed,
A malfunction may occur in which a sale is permitted and, as a result, change is not dispensed.
本発明は、上述の点に鑑み、釣銭切れ検出セン
サの検出信号は1枚目の硬貨が投入された時点の
もののみを用い、しかもそのとき釣銭切れ検出セ
ンサが検出した所定枚を投入枚数に加算して販売
可否の判定に用いることにより、投入硬貨により
釣銭切れ検出センサの検出信号が変化させられた
としても販売可否の判定には影響しないようにし
た自動販売機の制御装置を提供することを目的と
する。 In view of the above-mentioned points, the present invention uses only the detection signal of the out-of-change detection sensor at the time when the first coin is inserted, and in addition, the predetermined coin detected by the out-of-change detection sensor at that time is set to the number of coins inserted. To provide a control device for a vending machine that does not affect the determination of whether a sale is possible even if the detection signal of an out-of-change detection sensor is changed by an inserted coin by adding the sum and using it for determining whether the sale is possible. With the goal.
本発明は、上述の目的を達成するため、投入硬
貨を釣銭用硬貨として収納する複数の金種別の硬
貨収納筒と、該硬貨収納筒のそれぞれについて所
定枚数以上の硬貨の収納の有無を検出する前記複
数の金種別の釣銭切れ検出センサと、投入硬貨の
合計金額および該合計金額による商品販売後の残
額を記憶する金額記憶手段と、硬貨が投入される
ごとに記憶枚数に1が加算される前記複数の金種
別の投入枚数記憶部と、前記合計金額から販売価
格を減算して釣銭額を算出する釣銭額算出手段
と、該釣銭額が前記投入枚数記憶部の記憶枚数以
内の硬貨で払出し可能か否かを判別する払出可否
判別手段と、該手段の判別結果が払出し可である
ときに前記販売価格の商品の販売を許可し、払出
し不可であるときに不許可とする販売許可手段
と、該手段により販売許可された商品の販売後必
要とする釣銭額を前記投入枚数記憶部の記憶枚数
以内の硬貨で前記硬貨収納筒から払出す釣銭払出
手段とを備えた自動販売機の制御装置において、
硬貨の投入によりセツトされると共に前記金額記
憶手段の記憶金額が零になるとリセツトされる硬
貨投入記憶手段と、該硬貨投入記憶手段がリセツ
トされている否かを判別する記憶判別手段と、前
記釣銭切れ検出センサの検出信号により所定枚数
以上の硬貨の収納の有無を前記複数の金種別に判
別する釣銭切れ判別手段と、該手段により所定枚
数以上の硬貨の収納有りと判別された金種の前記
投入枚数記憶部に前記所定枚数を前記記憶判別手
段のリセツト判別に応答してプリセツトするプリ
セツト手段とを備えることを特徴としている。
In order to achieve the above-mentioned object, the present invention includes a plurality of coin storage cylinders classified by denomination for storing input coins as change coins, and detects whether a predetermined number or more of coins are stored in each of the coin storage cylinders. the sensor for detecting out of change for each of the plurality of denominations, the amount storage means for storing the total amount of the inserted coins and the remaining amount after the sale of the product based on the total amount, and adding 1 to the number of stored coins each time a coin is inserted. an input number storage unit for each of the plurality of denominations, a change amount calculation means for calculating a change amount by subtracting a selling price from the total amount, and a payout using coins in which the change amount is within the number of coins stored in the input number storage unit. a dispensing permission determining means for discriminating whether dispensing is possible; and a sales permitting means for permitting the sale of the product at the sales price when the determination result of the means is that dispensing is possible, and disallowing the sale when dispensing is not possible. , a control device for a vending machine, comprising: a change dispensing means for dispensing the amount of change necessary after the sale of a product permitted for sale by the means, from the coin storage tube in coins within the number of coins stored in the input number storage section; In,
a coin insertion storage means that is set by inserting a coin and is reset when the amount stored in the amount storage means becomes zero; a memory determination means that determines whether the coin insertion storage means has been reset; and the change. out-of-change determining means for determining whether or not more than a predetermined number of coins are stored in each of the plurality of denominations based on a detection signal from a out-of-change detection sensor; The invention is characterized in that it includes presetting means for presetting the predetermined number of sheets in the input sheet number storage section in response to the reset determination of the storage determining means.
本発明の硬貨投入記憶手段は、硬貨が投入され
るとセツトされ、金額記憶手段の記憶金額が零に
なるとリセツトされるものであるので、1枚目の
硬貨が投入されてセツトされるまではリセツト状
態である。そして、リセツト手段は、この硬貨投
入記憶手段の状態を判別する記憶判別手段のリセ
ツト判別に応答し、釣銭切れ検出センサの検出信
号に応じて所定枚数を投入枚数記憶部にプリセツ
トするものである。従つて、1枚目の硬貨が投入
されて硬貨投入記憶手段がセツトされると、その
後硬貨が投入されても投入枚数記憶部にはプリセ
ツトは行われず、1枚目の硬貨が投入されて硬貨
投入記憶手段がセツトされる直前の時点の釣銭切
れ検出センサの検出信号に応じて所定枚数をプリ
セツトすることができ、この所定枚数に投入枚数
が加算されて記憶される。販売可否の判定では、
このようにして記憶される投入枚数記憶部の記憶
枚数以内の釣銭額が払出し可能か否かを判定する
のみで、釣銭切れ検出センサの検出信号は参照す
る必要がないので、投入硬貨により釣銭切れ検出
センサの検出信号が変化させられても影響はな
い。
The coin insertion storage means of the present invention is set when a coin is inserted, and is reset when the amount stored in the amount storage means becomes zero. It is in a reset state. The reset means presets a predetermined number of coins into the inserted coin number storage section in response to the reset determination of the memory determination means for determining the state of the coin insertion storage means, and in response to the detection signal of the out-of-change detection sensor. Therefore, when the first coin is inserted and the coin insertion storage means is set, even if coins are inserted thereafter, the input number storage section is not preset, and the first coin is inserted and the coin insertion storage means is set. A predetermined number of coins can be preset according to the detection signal of the out-of-change detection sensor at the time immediately before the input storage means is set, and the number of coins inserted is added to this predetermined number and stored. In determining whether or not it can be sold,
In this way, it is only determined whether or not the amount of change within the number of coins stored in the memory unit for the number of coins inserted can be paid out, and there is no need to refer to the detection signal of the out-of-change detection sensor. There is no effect even if the detection signal of the detection sensor is changed.
次に、本発明の実施例を図面に基づいて詳細に
説明する。第2図は本発明の一実施例を示すブロ
ツク図、第3図〜第5図はフローチヤートであ
る。
Next, embodiments of the present invention will be described in detail based on the drawings. FIG. 2 is a block diagram showing one embodiment of the present invention, and FIGS. 3 to 5 are flowcharts.
第2図において、10は投入された硬貨のうち
正貨として受入れられた投入硬貨を検出する硬貨
検出部であり、投入硬貨を10円,50円,100円硬
貨とすると各硬貨を検出する都度その金種を示す
コイン信号Cを出力する。硬貨検出部10を通り
過ぎた各硬貨は特開昭48−95896号公報にて良く
知られているように自動的に金種別の硬貨収納筒
に収納される。硬貨検出部10からコイン信号C
が入力される中央処理装置20(以下CPUとい
う)は、前記コイン信号に基づいて金種別の投入
枚数を投入枚数記憶部30に計数記憶させるとと
もに後述する販売可否の判定を行なう演算部とし
て用いられる。40は商品の販売価格を設定する
販売価格設定部、50はCPU20からの精算指
令により投入硬貨が自動補給される硬貨収納筒か
ら硬貨を払出すとともに、実開昭51−66495号公
報にて知られているように、前記硬貨収納筒内に
所定枚数以上の硬貨が収納されているか否かを検
出する釣銭切れ検出センサによりCPU20に釣
銭切れ信号EMPを送出する釣銭払出装置、60
はCPU20からの販売可能信号VENDにより商
品の販売価格に対応した選択ボタンをランプ表示
する表示部である。前記CPU20は購入者が1
枚目の硬貨を投入する都度、釣銭払出装置50か
らの釣銭切れ検出信号EMPを読み込み、釣銭切
れ信号EMPが発生していないときには前記金種
別の投入枚数記憶部30を所定値N、例えば釣銭
切れ検出信号EMPが発生しない所定枚数が9枚
であるとすると9にプリセツトする。そしてこの
投入枚数記憶部30は投入硬貨の枚数を加算して
記憶するとともに釣銭払出装置50より硬貨が払
出される都度その払出し枚数を対応する金種の計
数値から減算する。 In Fig. 2, numeral 10 is a coin detection unit that detects the inserted coins that are accepted as genuine coins among the inserted coins. A coin signal C indicating the denomination is output. Each coin that has passed through the coin detection section 10 is automatically stored in a coin storage cylinder for each denomination, as is well known from Japanese Patent Application Laid-Open No. 48-95896. Coin signal C from coin detection unit 10
The central processing unit 20 (hereinafter referred to as CPU) to which the coins are inputted is used as a calculation unit that counts and stores the number of coins inserted for each denomination in an input number storage unit 30 based on the coin signal, and also makes a judgment as to whether the coins can be sold or not, which will be described later. . 40 is a sales price setting unit that sets the sales price of the product; 50 is a unit that dispenses coins from a coin storage cylinder into which coins are automatically replenished in response to a settlement command from the CPU 20; As shown in FIG. 6, a change dispensing device 60 sends an out-of-change signal EMP to the CPU 20 using an out-of-change detection sensor that detects whether a predetermined number or more of coins are stored in the coin storage cylinder.
is a display unit that displays a selection button corresponding to the selling price of the product using a lamp in response to the sales enable signal VEND from the CPU 20. The purchaser has 1 CPU 20.
Every time a coin is inserted, the out-of-change detection signal EMP is read from the change dispensing device 50, and when the out-of-change signal EMP is not generated, the input number storage unit 30 for each denomination is set to a predetermined value N, for example, out of change. If the predetermined number of sheets at which the detection signal EMP is not generated is nine, the preset number is preset to nine. The input number storage unit 30 adds and stores the number of input coins, and each time a coin is dispensed from the change dispensing device 50, the dispensed number is subtracted from the counted value of the corresponding denomination.
次にCPU20の動作について第3図ないし第
5図を用いて説明する。第3図は投入金額を算出
するとともに投入硬貨を金種別に計数記憶する動
作を示し、投入硬貨の金種は10円,50円および
100円硬貨の3金種の場合を示す。 Next, the operation of the CPU 20 will be explained using FIGS. 3 to 5. Figure 3 shows the operation of calculating the input amount and counting and storing the input coins by denomination.The denominations of the input coins are 10 yen, 50 yen, and
The case of three denominations of 100 yen coins is shown.
電源の投入があるとステツプ201で投入金額
を記憶する金額記憶手段としての主カウンタおよ
び投入硬貨の金種別投入枚数記憶部30としての
各枚数カウンタがリセツトされ待機状態となる。
第2図に示す硬貨検出部10からのコイン信号C
が入力するとステツプ202からステツプ203
へ進み、ステツプ203で後述にて明らかになる
がタイマのリセツトを行なう。次にステツプ20
4に進むのであるがここで理解し易いようにステ
ツプ204の説明の前にステツプ205について
説明する。ステツプ205では購入者により1枚
目の硬貨が投入されると硬貨が投入されたことを
不図示の続出し・書込み可能な記憶装置RAMの
N番地の1ビツト目(硬貨投入記憶手段)に記憶
する。前記ステツプ204ではこの記憶装置
RAMのN番地の1ビツト目に硬貨の投入が記憶
されているとステツプ212へ進み、購入者が1
枚目の硬貨を投入したときには前記記憶装置
RAMのN番地の1ビツト目にはまだ硬貨が投入
されたことが記憶されていないのでステツプ20
5へ進んでステツプ205で前述のとおり記憶装
置RAMに1枚目の硬貨が投入されたことを記憶
する。ステツプ205からステツプ206へ進む
と釣銭用10円硬貨の釣銭切れ検出信号EMPの状
態を判断し、当該釣銭切れ検出信号EMPが発生
していないとステツプ207に進み釣銭切れ検出
信号EMPが発生しているとステツプ208へ進
む。ステツプ207では10円硬貨投入枚数記憶部
(以下これを10円枚数カウンタという)を所定値
N、例えば10円硬貨用釣銭切れ検出センサが10円
硬貨収納筒に10円硬貨が9枚未満となつた時点で
釣銭切れ検出信号EMPを発生すると9にプリセ
ツトしてステツプ208へ進む。ステツプ208
では同様に釣銭用50円硬貨の釣銭切れ検出信号
EMPの状態を判断し、当該釣銭切れ検出信号
EMPが発生していないとステツプ209へ進み
釣銭切れ検出信号EMPが発生しているとステツ
プ210へ進む。ステツプ209では50円硬貨用
投入枚数記憶部(以下これを50円枚数カウンタと
いう)を所定値N、例えば9にプリセツトしてス
テツプ210へ進む。ステツプ210でも同様に
釣銭用100円硬貨の釣銭切れ検出信号EMPの状態
を判断し、当該釣銭切れ検出信号EMPが発生し
ているとステツプ212へ進み、釣銭切れ検出信
号EMPが発生していないとステツプ211へ進
む。ステツプ211では100円硬貨用投入枚数記
憶部(以下これを100円枚数カウンタという)を
所定値N、例えば5にプリセツトしてステツプ2
12へ進む。 When the power is turned on, in step 201, the main counter as an amount storage means for storing the input amount and each coin counter as the input number storage section 30 for each denomination of input coins are reset to a standby state.
Coin signal C from the coin detection section 10 shown in FIG.
When input, step 202 to step 203
In step 203, the timer is reset, as will be explained later. Next step 20
4, step 205 will be explained before explaining step 204 for ease of understanding. In step 205, when the first coin is inserted by the purchaser, the fact that a coin has been inserted is stored in the 1st bit (coin insertion storage means) at address N of a storage device RAM (not shown) that can be continuously read and written. do. In step 204, this storage device
If the insertion of a coin is stored in the 1st bit of the N address of the RAM, the process advances to step 212, and the purchaser enters the 1st bit.
When the first coin is inserted, the storage device
Since the 1st bit of address N in RAM does not yet remember that a coin was inserted, step 20 is performed.
5, and in step 205, the fact that the first coin has been inserted is stored in the memory device RAM as described above. When the process proceeds from step 205 to step 206, the state of the out-of-change detection signal EMP of the 10 yen coin for change is determined, and if the out-of-change detection signal EMP is not generated, the process proceeds to step 207, where the out-of-change detection signal EMP is generated. If so, proceed to step 208. In step 207, the 10 yen coin input storage unit (hereinafter referred to as 10 yen number counter) is set to a predetermined value N, for example, when the 10 yen coin out-of-change detection sensor indicates that there are less than 9 10 yen coins in the 10 yen coin storage cylinder. When the out-of-change detection signal EMP is generated at the point in time, the change is preset to 9 and the process proceeds to step 208. Step 208
Similarly, the out-of-change detection signal for a 50 yen coin.
Determines the EMP status and sends a corresponding out-of-change detection signal
If EMP has not occurred, the process proceeds to step 209, and if the out-of-change detection signal EMP has occurred, the process proceeds to step 210. In step 209, the 50 yen coin input number storage unit (hereinafter referred to as 50 yen coin counter) is preset to a predetermined value N, for example 9, and the process proceeds to step 210. Similarly, in step 210, the state of the out-of-change detection signal EMP of the 100 yen coin for change is determined. If the out-of-change detection signal EMP is generated, the process proceeds to step 212, and if the out-of-change detection signal EMP is not generated, the process proceeds to step 212. Proceed to step 211. In step 211, the 100 yen coin input number storage section (hereinafter referred to as 100 yen coin counter) is preset to a predetermined value N, for example 5, and then step 2
Proceed to step 12.
ステツプ212,214,216は投入硬貨の
金種が10円,50,100円硬貨であるか否かを判断
するステツプであり、投入硬貨の金種が10円硬貨
であるとステツプ212からステツプ213へ進
んで10円枚数カウンタに1(すなわち10円)を加
算し、そして投入金額を算出する主カウンタの記
憶内容Kに10を加算してステツプ214,216
からステツプ218まで進む。投入硬貨が50円硬
貨であるとステツプ212からステツプ214に
進み、ステツプ215で50円枚数カウンタに1
(すなわち50円)を加算し主カウンタの記憶内容
Kに50を加算してステツプ216からステツプ2
18まで進む。投入硬貨の金種が100円硬貨であ
るとステツプ212,214からステツプ216
に進み、ステツプ217で100円枚数カウンタに
1(すなわち100円)を加算し主カウンタの記憶内
容Kに100を加算してステツプ218に進む。ス
テツプ218ではタイマの動作を開始させる。こ
のタイマが動作を開始したのちステツプ219で
タイマの限時時間が終了したか否かが判断され、
タイマの限時時間経過以前にはステツプ220で
硬貨の投入を待ち、硬貨の投入があるとステツプ
220からステツプ203に戻つてタイマはリセ
ツトされる。そしてタイマの限時時間経過以前に
硬貨の投入がないと端子に進む。従つてタイマ
の限時動作以前に硬貨が順次投入されるとステツ
プ203からステツプ204へ進んでステツプ2
12〜220の閉ループで投入金額Kと投入硬貨
の金種別枚数が各金種別カウンタに加算記憶され
る。このよううにステツプ206からステツプ2
11までの処理により各金種別のカウンタには釣
銭切れが生じていない場合(すなわち釣銭切れ検
出信号EMPがない場合)投入硬貨の枚数と釣銭
切れ検出センサが検出する所定枚数とが加算記憶
され、釣銭切れが生じている場合(すなわち釣銭
切れ検出信号EMPがある場合)投入硬貨の枚数
が加算記憶される。 Steps 212, 214, and 216 are steps for determining whether the denomination of the inserted coin is a 10 yen, 50, or 100 yen coin, and if the denomination of the inserted coin is a 10 yen coin, steps 212 to 213 are performed. Steps 214 and 216 add 1 (that is, 10 yen) to the 10 yen counter, and then add 10 to the memory content K of the main counter that calculates the input amount.
The process then proceeds to step 218. If the inserted coin is a 50 yen coin, the process advances from step 212 to step 214, and in step 215, 1 is added to the 50 yen coin counter.
(i.e. 50 yen), and 50 is added to the memory content K of the main counter, and the process moves from step 216 to step 2.
Proceed to 18. If the denomination of the inserted coin is a 100 yen coin, steps 212 and 214 to step 216
In step 217, 1 (ie, 100 yen) is added to the 100 yen coin counter, 100 is added to the memory content K of the main counter, and the process proceeds to step 218. In step 218, a timer is started. After this timer starts operating, it is determined in step 219 whether or not the timer's time limit has expired.
Before the time limit of the timer has elapsed, the system waits for a coin to be inserted in step 220, and when a coin is inserted, the process returns from step 220 to step 203 and the timer is reset. If a coin is not inserted before the timer expires, the process proceeds to the terminal. Therefore, if coins are sequentially inserted before the timer expires, the process advances from step 203 to step 204 and then to step 2.
In a closed loop from 12 to 220, the input amount K and the number of input coins for each denomination are added and stored in each denomination counter. In this way, from step 206 to step 2
If the counter for each denomination is not out of change as a result of the processing up to step 11 (that is, if there is no out of change detection signal EMP), the number of inserted coins and the predetermined number detected by the out of change detection sensor are added and stored, When the change is out (that is, when there is an out-of-change detection signal EMP), the number of coins inserted is added and stored.
ステツプ219でタイマ動作が終了したことが
検知されると第3図の端子から第4図の端子
に進み投入金額Kに対して商品の販売可否が判定
される。第4図において、ステツプ301では第
2図に示す販売価格設定部40にて設定された複
数の販売設定価格SP1〜SPoのうちから定められ
た順序で1つの販売設定価格を読み出して販売設
定価格を読み出して販売設定価格SPとして設定
する。ステツプ302では投入金額Kと読み出さ
れた販売設定価格SPとの比較が行なわれ、投入
金額Kが販売設定価格SPと同一または投入金額
Kが販売設定価格SPを超過しているとステツプ
304に進む。投入金額Kが販売設定価格SPよ
り小さいとステツプ303に進みステツプ303
では販売設定価格SPが最後の販売設定価格SPoか
を判断し、最後の販売設定価格SPoであると待機
状態に入り、最後の販売設定価格SPoでなければ
ステツプ301で次の販売設定価格SPとして読
み出してステツプ302に入る。ステツプ302
で投入金額Kと販売設定価格SPとが一致若しく
は投入金額Kが販売設定価格SPを超過している
とステツプ304で投入金額Kより販売設定価格
SPを減算して釣銭額K1を算出し、ステツプ30
5に進む。ステツプ305では釣銭額K1が100円
以上であるか、或いは釣銭額K1が100円未満であ
るかが判断され、釣銭額K1が100円未満の場合は
ステツプ309に進む。ステツプ305で釣銭額
K1が100円以上と判断されるとステツプ306へ
進む。ステツプ306では100円枚数カウンタの
記憶内容が1(すなわち100円)以上か否かが判断
され、100円枚数カウンタの記憶内容が1以上の
ときはステツプ307へ進み、それ以外のときは
ステツプ309へ進む。ステツプ307では10
0円枚数カウンタの記憶内容より1(すなわち100
円)を減算してステツプ308へ進み、ステツプ
308では釣銭額K1より100円を減算しステツプ
305へ戻る。従つてステツプ305〜308は
釣銭額K1が100円以上で100円枚数カウンタに記
憶された枚数以内で釣銭額K1が100円未満になる
まで、或いは釣銭額K1が100円未満になる以前に
100円枚数カウンタの記憶内容が0となるまで釣
銭額K1から100円を減算しており、釣銭額K1から
100円硬貨で払出し可能な分を減算している。 When it is detected in step 219 that the timer operation has ended, the process proceeds from the terminal shown in FIG. 3 to the terminal shown in FIG. 4, and it is determined whether or not the product can be sold for the input amount K. In FIG. 4, in step 301, one sales price is read out in a predetermined order from among the plurality of sales price settings SP1 to SPo set in the sales price setting unit 40 shown in FIG. Read the set price and set it as the sales set price SP. In step 302, the input amount K is compared with the read sales setting price SP, and if the input amount K is the same as the sales setting price SP or exceeds the sales setting price SP, the process proceeds to step 304. move on. If the input amount K is smaller than the sales set price SP, the process advances to step 303.
Then, it is determined whether the sales setting price SP is the last sales setting price SP o . If it is the last sales setting price SP o , it enters a standby state, and if it is not the last sales setting price SP o , the next sales setting is started in step 301. The price is read out as SP and the process goes to step 302. Step 302
If the input amount K and the sales set price SP match or the input amount K exceeds the sales set price SP, in step 304, the sales set price is changed from the input amount K.
Calculate the change amount K1 by subtracting SP, and step 30
Proceed to step 5. In step 305, it is determined whether the change amount K1 is 100 yen or more, or whether the change amount K1 is less than 100 yen.If the change amount K1 is less than 100 yen, the process advances to step 309. Change amount in step 305
If K1 is determined to be 100 yen or more, the process proceeds to step 306. In step 306, it is determined whether the stored content of the 100 yen number counter is 1 (that is, 100 yen) or more. If the stored content of the 100 yen number counter is 1 or more, the process advances to step 307; otherwise, the process advances to step 309. Proceed to. 10 in step 307
1 (i.e. 100) from the memory contents of the 0 yen counter
yen) and proceeds to step 308. In step 308, 100 yen is subtracted from the change amount K1 , and the process returns to step 305. Therefore, in steps 305 to 308, if the change amount K1 is 100 yen or more, the change amount K1 becomes less than 100 yen within the number of 100 yen coins stored in the 100 yen counter, or the change amount K1 becomes less than 100 yen. before
100 yen is subtracted from the change amount K 1 until the memory content of the 100 yen counter becomes 0 .
The amount that can be paid out in 100 yen coins is subtracted.
次にステツプ309では釣銭額K1が50円以上
か或いは釣銭額K1が50円未満かを判断し、釣銭
額K1が50円未満のときはステツプ313に進み、
釣銭額K1が50円以上のときはステツプ310へ
進む。ステツプ310では50円枚数カウンタに記
憶内容があるか否かが判断され50円枚数カウンタ
に記憶がないとステツプ313へ進むが50円枚数
カウンタに記憶があるとステツプ311へ進み50
円枚数カウンタより1(すなわち50円)を減算す
る。ステツプ311からステツプ312へ進むと
釣銭額K1より50円を減算したのち再びステツプ
309へ戻る。従つて、ステツプ309〜312
では釣銭額K1が50円以上で50円枚数カウンタに
記憶された枚数以内で釣銭額K1が50円未満にな
るまで、或いは釣銭額K1が50円未満になる以前
に50円枚数カウンタの記憶内容が0となるまで釣
銭額K1から50円を減算しており、釣銭額K1から
50円硬貨で払出し可能な分を減算している。 Next, in step 309, it is determined whether the change amount K1 is 50 yen or more or the change amount K1 is less than 50 yen, and if the change amount K1 is less than 50 yen, the process advances to step 313.
If the change amount K1 is 50 yen or more, proceed to step 310. In step 310, it is determined whether or not there is memory content in the 50 yen number counter. If there is no memory in the 50 yen number counter, the process advances to step 313, but if there is memory in the 50 yen number counter, the process advances to step 311.
Subtract 1 (that is, 50 yen) from the yen counter. When the process advances from step 311 to step 312, 50 yen is subtracted from the change amount K1 , and then the process returns to step 309. Therefore, steps 309-312
Then, if the change amount K 1 is 50 yen or more, the 50 yen number counter will continue until the change amount K 1 becomes less than 50 yen within the number stored in the 50 yen counter, or before the change amount K 1 becomes less than 50 yen. 50 yen is subtracted from the change amount K 1 until the memory content becomes 0, and from the change amount K 1
The amount that can be paid out in 50 yen coins is subtracted.
次にステツプ313では釣銭額K1が10円以上
であるか或いは釣銭額K1が10円未満であるかを
判断し、釣銭額K1が10円未満すなわち釣銭の払
出しが可能なときはステツプ317へ進み、釣銭
額K1が10円以上のときステツプ314へ進む。
ステツプ314では10円枚数カウンタの記憶内容
が1(すなわち10円)以上であるか否かが判断さ
れ、10円枚数カウンタの記憶内容が1以上であれ
ばステツプ315へ、10円枚数カウンタの記憶内
容が1未満、すなわち計数記憶内容が0のときは
ステツプ317へ進む。ステツプ314からステ
ツプ315へ進むと10円枚数カウンタから1が減
算されたのち、ステツプ316で釣銭額K1より
10円が減算されてステツプ313へ戻る。このス
テツプ313からステツプ316では10円枚数カ
ウンタに記憶された枚数以内で釣銭額K1が10円
未満になるまで、或いは10円枚数カウンタの記憶
内容が0となるまで釣銭額K1から10円を減算し、
釣銭額K1から10円硬貨で払出し可能な分を減算
している。従つて、ステツプ313からステツプ
317へ進むということは釣銭の払出しが可能で
当該販売設定価格SPの商品は販売をすることが
できるので販売可となり、ステツプ313からス
テツプ314を介してステツプ317へ進むと釣
銭の払出しが不可能であり、当該販売設定価格
SPの商品は販売することができず販売不可とな
る。ステツプ317ではこのような販売可または
販売不可を判断し、販売可のときはステツプ31
8で当該販売設定価格SPの商品について第2図
の表示部60にランプ表示したのちステツプ31
9へ進む。ステツプ317で販売不可と判断され
ると同じくステツプ319へ進み、ステツプ31
9では販売設定価格SPが最後の販売設定価格SPo
であるか否かが判断される。ステツプ319で販
売設定価格SPが最後の販売設定価格SPoであると
判断されると待機状態となり、販売設定価格SP
が最後の販売設定価格SPoでないと判断されると
ステツプ319からステツプ301へ進んで新た
な販売設定価格を読込んで前述と同一の動作にて
当該販売設定価格の商品に対して販売可否を判定
する。 Next, in step 313, it is determined whether the change amount K1 is 10 yen or more, or if the change amount K1 is less than 10 yen.If the change amount K1 is less than 10 yen, that is, the change can be paid out, the step The process proceeds to step 317, and when the change amount K1 is 10 yen or more, the process proceeds to step 314.
In step 314, it is determined whether the stored content of the 10 yen number counter is 1 (that is, 10 yen) or more. If the stored content of the 10 yen number counter is 1 or more, the process proceeds to step 315, where the memory of the 10 yen number counter is If the content is less than 1, that is, the count storage content is 0, the process advances to step 317. When the process proceeds from step 314 to step 315, 1 is subtracted from the 10 yen counter, and then in step 316 the change amount K is subtracted from 1.
10 yen is subtracted and the process returns to step 313. From step 313 to step 316, the change amount K 1 is changed to 10 yen until the change amount K 1 becomes less than 10 yen within the number stored in the 10 yen counter, or until the change amount K 1 becomes 0. subtract and
The amount that can be paid out in 10 yen coins is subtracted from the change amount K 1 . Therefore, proceeding from step 313 to step 317 means that change can be paid out and the product at the sales set price SP can be sold, so it is possible to sell, and proceeding from step 313 to step 314 via step 317. It is not possible to pay out change, and the sales set price
SP products cannot be sold and cannot be sold. In step 317, it is determined whether the item can be sold or not, and if the item can be sold, the process goes to step 31.
In Step 8, a lamp is displayed on the display section 60 in FIG. 2 for the product with the sales set price SP, and then Step 31
Proceed to 9. If it is determined in step 317 that the item cannot be sold, the process also proceeds to step 319, and then proceeds to step 31.
In 9, the sales setting price SP is the last sales setting price SP o
It is determined whether or not. If it is determined in step 319 that the sales setting price SP is the last sales setting price SP o , the system enters a standby state and the sales setting price SP
If it is determined that the current sales price is not the last set sales price SP o , the process proceeds from step 319 to step 301, reads the new sales set price, and uses the same operation as described above to determine whether or not the product at the sales set price can be sold. do.
次に利用者が商品の購入を終えて精算ボタンを
押した場合について第5図を用いて説明する。精
算ボタンが押されると精算モードに入り、ステツ
プ401で釣銭額K2が100円以上であるか或いは
釣銭額K2が100円未満であるかの判断がなされ、
釣銭額K2が100円未満のときはステツプ406へ
進み、釣銭額K2が100円以上のときステツプ40
2へ進む。ステツプ402では100円枚数カウン
タの記憶内容が1以上であるか否かが判断され、
100円枚数カウンタの記憶内容が1以上のときは
ステツプ403へ進み、100円枚数カウンタの計
数記憶内容が1以下のときはステツプ406へ進
む。ステツプ403では100円硬貨を収納した硬
貨収納筒からの100円硬貨の払出しを実行して、
ステツプ404へ進みステツプ404では釣銭額
K2から100円を減算し、次いでステツプ405で
100円枚数カウンタの記憶内容から1(すなわち
100円)を減算してステツプ401へ戻る。ステ
ツプ401〜405では釣銭として100円硬貨の
払出しを実行し、釣銭額K2が100円未満或いは釣
銭額K2が100円未満になる以前に100円枚数カウ
ンタの記憶内容が0となるとステツプ406へ進
む。 Next, the case where the user presses the checkout button after finishing purchasing the product will be explained using FIG. 5. When the payment button is pressed, the payment mode is entered, and in step 401, it is determined whether the change amount K2 is 100 yen or more, or whether the change amount K2 is less than 100 yen,
If the change amount K2 is less than 100 yen, proceed to step 406, and if the change amount K2 is 100 yen or more, proceed to step 40.
Proceed to 2. In step 402, it is determined whether the stored content of the 100 yen counter is 1 or more.
When the stored content of the 100 yen number counter is 1 or more, the process proceeds to step 403, and when the stored content of the 100 yen number counter is 1 or less, the process proceeds to step 406. In step 403, 100 yen coins are dispensed from the coin storage tube containing 100 yen coins,
Proceeding to step 404, in step 404, the amount of change is
Subtract 100 yen from K 2 , then in step 405
1 from the memory contents of the 100 yen counter (i.e.
100 yen) and return to step 401. In steps 401 to 405, 100 yen coins are paid out as change, and if the change amount K2 is less than 100 yen or the stored content of the 100 yen coin counter becomes 0 before the change amount K2 becomes less than 100 yen, step 406 is performed. Proceed to.
ステツプ406では釣銭額K2が50円未満か50
円以上かの判断を行ない、、釣銭額K2が50円未満
のときはステツプ411へ進み、釣銭額K2が50円以
上のときはステツプ407へ進んで50円枚数カウ
ンタの記憶内容が1以上か否かを判断し、50円枚
数カウンタの記憶内容が1以上のときはステツプ
408へ進み、50円枚数カウンタの記憶内容が1
未満、すなわち0のときステツプ411へ進む。
ステツプ408では50円枚数カウンタの記憶内容
がありということで50円硬貨を収納した硬貨収納
筒からの50円硬貨の払出しを実行し、次いでステ
ツプ409で釣銭額K2から50円を減算し、ステ
ツプ410で50円枚数カウンタの記憶内容から1
(すなわち50円)を減算してステツプ406へ戻
る。ステツプ406〜410では釣銭として50円
硬貨の払出しを実行し、釣銭額K2が50円未満或
いは釣銭額K2が50円以上であつても50円枚数カ
ウンタの記憶内容が0となるとステツプ411へ
入る。 In step 406, the change amount K2 is less than 50 yen or 50
If the change amount K2 is less than 50 yen, the process proceeds to step 411, and if the change amount K2 is 50 yen or more, the process proceeds to step 407, where the memory content of the 50 yen counter is set to 1. It is determined whether the stored content of the 50 yen number counter is 1 or more, the process advances to step 408, and the stored content of the 50 yen number counter is 1 or more.
When the value is less than 0, that is, the value is 0, the process proceeds to step 411.
In step 408, since there is a memory content in the 50 yen counter, the 50 yen coin is dispensed from the coin storage cylinder containing the 50 yen coin, and then in step 409, 50 yen is subtracted from the change amount K2 . At step 410, 1 is selected from the memory contents of the 50 yen counter.
(that is, 50 yen) and returns to step 406. In steps 406 to 410, 50 yen coins are paid out as change, and if the amount of change K2 is less than 50 yen or even if the amount of change K2 is 50 yen or more, the stored content of the 50 yen coin counter becomes 0, then step 411 is executed. Enter.
ステツプ411では釣銭額K2が10円未満か10
円以上かを判断し、釣銭額K2が10円未満、すな
わち釣銭額K2=0のときは釣銭の払出しを終了
する。ステツプ411で釣銭額K2が10円以上の
ときはステツプ412へ進む。ステツプ412で
は10円硬貨を収納した硬貨収納筒から10円硬貨を
1枚払出し、ステツプ413で釣銭額K2から10
円を減算し、ステツプ414で10円枚数カウンタ
の記憶内容から1(すなわち10円)を減算してス
テツプ411へ戻る。ステツプ411〜414で
は釣銭として10円硬貨をステツプ411で釣銭
額K2が10円未満、すなわち0となるまでの払出
しを実行する。ここでステツプ411〜414で
は10円枚数カウンタの記憶内容があるか否かを判
断していないが、これは第4図にて説明した販売
可否の判定により、釣銭の払出しが可能な商品の
みを販売可能としており、この第5図に示す精算
では確実に釣銭の払出しが保障されているからで
ある。このようにして釣銭の払出しが完了し主カ
ウンタの記憶内容、すなわち投入金額が零になる
と、10円枚数カウンタ、50円枚数カウンタおよび
100円枚数カウンタの記憶内容がリセツトされ、
更に第3図に示したステツプ205で実行された
購入者により1枚目の硬貨が投入されたことを記
憶する記憶装置RAMの記憶内容がリセツトされ
る。 In step 411, the change amount K 2 is less than 10 yen or 10
It is determined whether the amount is equal to or greater than yen, and if the change amount K 2 is less than 10 yen, that is, when the change amount K 2 =0, the payout of change is finished. If the change amount K2 is 10 yen or more in step 411, the process advances to step 412. In step 412, one 10 yen coin is dispensed from the coin storage tube containing 10 yen coins, and in step 413, the change amount is changed from K 2 to 10.
Then, in step 414, 1 (ie, 10 yen) is subtracted from the stored contents of the 10 yen counter, and the process returns to step 411. In steps 411 to 414, 10 yen coins are paid out as change until the change amount K2 becomes less than 10 yen, that is, 0 in step 411. Here, in steps 411 to 414, it is not determined whether or not there is a memory content in the 10 yen counter, but this is because only the products for which change can be paid out are determined by the judgment of whether or not they can be sold as explained in FIG. This is because the payment method shown in FIG. 5 guarantees that change will be paid out. In this way, when the payout of change is completed and the memory content of the main counter, that is, the input amount becomes zero, the 10 yen number counter, the 50 yen number counter, and
The memory contents of the 100 yen counter are reset,
Furthermore, the memory contents of the memory device RAM, which stores the fact that the first coin has been inserted by the purchaser in step 205 shown in FIG. 3, are reset.
以上のような本発明によれば、1枚目の硬貨投
入時点の釣銭切れ検出センサの検出信号に応じて
プリセツトされた所定枚数に投入枚数が加算され
た枚数以内で釣銭額が払出し可能か否かを判定
し、投入硬貨により釣銭切れ検出センサの検出信
号が変化させられても販売可否の判定に影響しな
いようにしたので、従来のように釣銭切れ検出セ
ンサの検出信号を参照しながら販売可否の判定を
行うものと比較して誤判定の機会を低減すること
ができる。
According to the present invention as described above, it is determined whether the amount of change can be paid out within the number of coins added to the preset predetermined number of coins according to the detection signal of the out-of-change detection sensor when the first coin is inserted. Even if the detection signal of the out-of-change detection sensor changes depending on the inserted coin, it does not affect the judgment of whether the sale is possible or not.As with the conventional method, the judgment of whether the sale is possible or not is made by referring to the detection signal of the out-of-change detection sensor. The chances of erroneous determination can be reduced compared to those that make determinations.
第1図は従来装置を示すブロツク図、第2図は
本発明の一実施例を示すブロツク図、第3図ない
し第5図はそれぞれこの実施例の動作説明用のフ
ローチヤートである。
20……中央処理装置(CPU)、30……投入
枚数記憶部、50……釣銭払出装置。
FIG. 1 is a block diagram showing a conventional device, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIGS. 3 to 5 are flowcharts for explaining the operation of this embodiment. 20...Central processing unit (CPU), 30...Input number storage section, 50...Change dispensing device.
Claims (1)
金種別の硬貨収納筒と、該硬貨収納筒のそれぞれ
について所定枚数以上の硬貨の収納の有無を検出
する前記複数の金種別の釣銭切れ検出センサと、
投入硬貨の合計金額および該合計金額による商品
販売後の残額を記憶する金額記憶手段と、硬貨が
投入されるごとに記憶枚数に1が加算される前記
複数の金種別の投入枚数記憶部と、前記合計金額
から販売価格を減算して釣銭額を算出する釣銭額
算出手段と、該釣銭額が前記投入枚数記憶部の記
憶枚数以内の硬貨で払出し可能か否かを判別する
払出可否判別手段と、該手段の判別結果が払出し
可であるときに前記販売価格の商品の販売を許可
し、払出し不可であるときに不許可とする販売許
可手段と、該手段により販売許可された商品の販
売後必要とする釣銭額を前記投入枚数記憶部の記
憶枚数以内の硬貨で前記硬貨収納筒から払出す釣
銭払出手段とを備えた自動販売機の制御装置にお
いて、硬貨の投入によりセツトされると共に前記
金額記憶手段の記憶金額が零になるとリセツトさ
れる硬貨投入記憶手段と、該硬貨投入記憶手段が
リセツトされているか否かを判別する記憶判別手
段と、前記釣銭切れ検出センサの検出信号により
所定枚数以上の硬貨の収納の有無を前記複数の金
種別に判別する釣銭切れ判別手段と、該手段によ
り所定枚数以上の硬貨の収納有りと判別された金
種の前記投入枚数記憶部に前記所定枚数を前記記
憶判別手段のリセツト判別に応答してプリセツト
するプリセツト手段とを備えることを特徴とする
自動販売機の制御装置。1. A plurality of coin storage tubes classified by denomination for storing input coins as change coins, and a plurality of change detection sensors classified by denomination that detect whether or not a predetermined number of coins or more are stored in each of the coin storage tubes. ,
an amount storage means for storing the total amount of coins inserted and the remaining amount after the product is sold based on the total amount; and a storage unit for the number of inserted coins for each of the plurality of denominations, which adds 1 to the stored number of coins each time a coin is inserted. a change amount calculation means for calculating a change amount by subtracting a sales price from the total amount, and a payout possibility determining means for determining whether the change amount can be paid out using coins within the number of coins stored in the input number storage section. , a sales permission means that permits the sale of the product at the selling price when the determination result of the means is that the product can be paid out, and disallows the sale when the result of the determination is that the product cannot be paid out, and after the sale of the product that is permitted to be sold by the means; A control device for a vending machine is provided with a change dispensing means for dispensing a required amount of change from the coin storage tube using coins within the number of coins stored in the input number storage section, which is set by inserting coins and then dispensing the amount of change. a coin insertion storage means that is reset when the amount stored in the storage means becomes zero; a memory determination means that determines whether the coin insertion storage means has been reset; out-of-change determining means for determining whether or not coins are stored for each of the plurality of denominations; 1. A control device for a vending machine, comprising: presetting means for presetting in response to reset determination by the memory determining means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21673182A JPS59106093A (en) | 1982-12-10 | 1982-12-10 | Controller for vending machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21673182A JPS59106093A (en) | 1982-12-10 | 1982-12-10 | Controller for vending machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59106093A JPS59106093A (en) | 1984-06-19 |
| JPH0113587B2 true JPH0113587B2 (en) | 1989-03-07 |
Family
ID=16693040
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21673182A Granted JPS59106093A (en) | 1982-12-10 | 1982-12-10 | Controller for vending machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59106093A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6079238A (en) * | 1983-10-06 | 1985-05-07 | Nissan Motor Co Ltd | Torque detecting apparatus |
| JPH089826Y2 (en) * | 1988-03-04 | 1996-03-21 | 東洋通信機株式会社 | Coin recycling device |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5620849Y2 (en) * | 1975-11-11 | 1981-05-18 | ||
| JPS5821751B2 (en) * | 1975-12-05 | 1983-05-02 | カブシキガイシヤ ニツポンコインコ | Seigiyohoshiki |
| JPS5840791B2 (en) * | 1979-05-23 | 1983-09-07 | 日本信号株式会社 | Coin counting control device for vending machines |
| JPS57147792A (en) * | 1981-03-10 | 1982-09-11 | Nippon Coinco Co Ltd | Marketing possibility determination method of and apparatus for vending machine |
| JPS57157386A (en) * | 1981-03-24 | 1982-09-28 | Nippon Coinco Co Ltd | Method of and apparatus for determining marketability for vending machine |
| JPS57157387A (en) * | 1981-03-25 | 1982-09-28 | Nippon Signal Co Ltd | Vending machine |
-
1982
- 1982-12-10 JP JP21673182A patent/JPS59106093A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59106093A (en) | 1984-06-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4679150A (en) | Automatic vending machine with discount function | |
| JPH0441414Y2 (en) | ||
| JPH06103510B2 (en) | Coin processor | |
| JP2740979B2 (en) | Vending machine control device | |
| JPS6211393B2 (en) | ||
| JPH0113587B2 (en) | ||
| JPS5939075B2 (en) | Vending machine control device | |
| JPH0325833B2 (en) | ||
| JPH082769Y2 (en) | Bulk purchaseable product display device in vending machine | |
| JPS6227974Y2 (en) | ||
| JPS6220052Y2 (en) | ||
| JPS5929253Y2 (en) | Vending machine product sales control device | |
| JPS5922274B2 (en) | vending machine | |
| JPS633358B2 (en) | ||
| JPH0379749B2 (en) | ||
| JP3300589B2 (en) | vending machine | |
| JPS632935Y2 (en) | ||
| JP3157221B2 (en) | vending machine | |
| JPS5825499Y2 (en) | Vending machine sales availability determination device | |
| JPS5834541Y2 (en) | Vending machine with discount function | |
| JPH0222760Y2 (en) | ||
| JP3514918B2 (en) | Vending machine cash processing equipment | |
| KR100190624B1 (en) | Article sale method of automatic vending machine | |
| JPS632941Y2 (en) | ||
| JPS6225232B2 (en) |