JPH0222760Y2 - - Google Patents

Info

Publication number
JPH0222760Y2
JPH0222760Y2 JP1982039342U JP3934282U JPH0222760Y2 JP H0222760 Y2 JPH0222760 Y2 JP H0222760Y2 JP 1982039342 U JP1982039342 U JP 1982039342U JP 3934282 U JP3934282 U JP 3934282U JP H0222760 Y2 JPH0222760 Y2 JP H0222760Y2
Authority
JP
Japan
Prior art keywords
coins
amount
product
change
yen
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
JP1982039342U
Other languages
Japanese (ja)
Other versions
JPS58142781U (en
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 filed Critical
Priority to JP3934282U priority Critical patent/JPS58142781U/en
Publication of JPS58142781U publication Critical patent/JPS58142781U/en
Application granted granted Critical
Publication of JPH0222760Y2 publication Critical patent/JPH0222760Y2/ja
Granted legal-status Critical Current

Links

Description

【考案の詳細な説明】 [産業上の利用分野] 本考案は自動販売機の販売動作を制御する制御
装置に関し、特に、販売動作中に商品詰まり等が
発生した商品の販売が出来なくなつた場合に客に
投入金額の損失等の不便を与えないように販売動
作の制御を行う自動販売機の制御装置に関する。
[Detailed description of the invention] [Industrial field of application] The present invention relates to a control device that controls the vending operation of a vending machine, and in particular, the invention relates to a control device that controls the vending operation of a vending machine. The present invention relates to a control device for a vending machine that controls vending operations so as not to cause inconvenience to customers, such as loss of deposited amounts.

[従来の技術] 従来の自動販売機においては、たとえば、特開
昭51−62799号公報の記載にもあるように、商品
の搬出開始から所定時間以内に商品の搬出が完了
したか否かを確認し、所定時間以内に搬出が完了
した場合には釣銭を払出しし、所定時間以内に搬
出が完了しない場合には、投入金額を返却するこ
とにより、商品の搬出不良が発生した場合でも客
に損害を与えないようにしたものが知られてい
る。
[Prior Art] In conventional vending machines, for example, as described in Japanese Patent Application Laid-open No. 51-62799, it is determined whether or not the product has been completely removed within a predetermined time from the start of product delivery. If the removal is completed within the specified time, we will issue change, and if the removal is not completed within the specified time, we will return the amount invested, so that even if the product is defective, we will provide a refund to the customer. There are known methods that do not cause any damage.

[考案が解決しようとする問題点] しかしながら、このような従来装置において
は、商品の搬出完了が確認されてから釣銭の払出
しが行われるので、商品の搬出不良が発生しない
通常の販売動作時に釣銭の払出し時期が遅くなる
という不都合がある。
[Problems to be solved by the invention] However, in such conventional devices, change is dispensed after confirming completion of product delivery, so change is dispensed during normal sales operations where product delivery failures do not occur. There is an inconvenience that the payout period is delayed.

そこで、商品の搬出完了を確認せずに釣銭の払
出しを行い、そ後品の搬出不良が検知された場合
には、搬出不良となつた商品の販売価格に相当す
る金額を釣銭用の硬貨で返却するようにすること
が考えられるが、ただ単に商品の搬出不良の検知
に応じて販売相当額を返却するのでは販売相当額
を釣銭用硬貨で返却できない場合が発生する。
Therefore, if change is paid out without confirming that the product has been removed, and if a defective product is subsequently detected, an amount equivalent to the selling price of the defective product will be paid in change coins. It is conceivable to return the product, but if the amount equivalent to the sale is simply returned in response to detection of defective delivery of the product, there will be cases where the amount equivalent to the sale cannot be returned in change coins.

例えば、自動販売機内に釣銭用として50円硬貨
2枚、10円硬貨2枚しか保留されていない場合
に、客が100円硬貨2枚を投入して140円の商品を
選択したとする。この場合、商品の選択により、
釣銭として60円(50円硬貨1枚、10円硬貨1枚)
が客にただちに返却され、自動販売機内には50円
硬貨1枚、10円硬貨1枚および投入された100円
硬貨2枚が保持された状態となる。この後、搬出
動作中に商品詰まり等により商品の搬出が不能に
なると、自動販売機は投入金額200円から返却済
の釣銭60円を差引いた140円(販売価格相当額)
を返却しなければならない。しかし、自動販売機
には各硬貨(100円、50円、10円)がそれぞれ
(2枚、1枚、1枚)しかなく、10円硬貨が3枚
不足しているので、返却すべき代金140円を客に
返却できないという問題点がある。
For example, suppose that there are only two 50 yen coins and two 10 yen coins reserved for change in the vending machine, and a customer inserts two 100 yen coins and selects a 140 yen product. In this case, depending on the product selection,
60 yen as change (1 50 yen coin, 1 10 yen coin)
is immediately returned to the customer, and the vending machine retains one 50 yen coin, one 10 yen coin, and two inserted 100 yen coins. After this, if the product cannot be removed due to a product jamming during the delivery operation, the vending machine will charge 140 yen (equivalent to the selling price), which is the 200 yen input amount minus the 60 yen returned change.
must be returned. However, the vending machine has only (2, 1, 1) each type of coin (100 yen, 50 yen, 10 yen), and there are three 10 yen coins missing, so the amount to be returned is The problem is that 140 yen cannot be returned to the customer.

本考案は、上述の問題点に鑑み、釣銭の払出し
後に商品の搬出不良が検知された場合に、搬出不
良の商品の販売価格に相当する金額を釣銭用の硬
貨で返却できるようにした自動販売機の制御装置
を提供することを目的とする。
In view of the above-mentioned problems, the present invention is an automatic vending machine that, when a defective delivery of a product is detected after change has been dispensed, allows an amount equivalent to the selling price of the defective product to be returned in change coins. The purpose is to provide a control device for machines.

[問題点を解決するための手段] 本考案は、上述の目的を達成するため、投入金
額の合計額もしくは商品販売後の残額を算出して
記憶する投入金額記憶手段と、該投入金額記憶手
段の記憶金額以内の販売価格で販売許可された商
品の搬出を制御すると共に、該商品の搬出不良を
検知する商品搬出制御部と、返却可能な硬貨枚数
を記憶する硬貨枚数記憶手段と、前記商品搬出制
御部による商品の搬出開始に基づいて前記硬貨枚
数記憶手段の記憶枚数以内での釣銭の返却を行う
と共に、当該釣銭の返却の後に前記商品搬出制御
部の搬出不良検知に基づいて当該搬出不良商品の
販売価格に相当する金額を前記硬貨枚数記憶手段
の記憶枚数以内で返却する返金制御部とを有する
自動販売機の制御装置において、前記投入金額記
憶手段の記憶金額に対して前記販売価格が必要と
する釣銭額が前記硬貨枚数記憶手段の記憶枚数以
内で返却可能か否かを判定すると共に、前記釣銭
額の返却に必要な硬貨枚数を前記硬貨枚数記憶手
段の記憶枚数から減算する第1判定手段と、該第
1判定手段により減算された後の硬貨枚数以内で
前記販売価格に相当する金額の返却可能か否かを
判定する第2判定手段と、前記第1判定手段およ
び前記第2判定手段の判定結果が共に返却可能判
定であるときにのみ前記販売価格の商品の前記搬
売許可を行う販売許可手段とを備えたことを特徴
とする。
[Means for Solving the Problems] In order to achieve the above-mentioned purpose, the present invention provides an input amount storage means for calculating and storing the total amount of inputs or the remaining amount after the product is sold, and the input amount storage means. a product delivery control unit that controls the delivery of products that are permitted to be sold at a selling price within the stored amount of money and detects defective delivery of the products; a coin number storage unit that stores the number of coins that can be returned; Based on the start of product delivery by the product delivery control unit, the change is returned within the number of coins stored in the coin number storage means, and after the change is returned, the product delivery control unit detects the delivery failure based on the detection of the product delivery failure. A control device for a vending machine having a refund control unit that returns an amount corresponding to the selling price of a product within the number of coins stored in the number of coins storage means, wherein the selling price is equal to or less than the amount stored in the input amount storage means. A first step of determining whether or not the required change amount can be returned within the number stored in the coin number storage means, and subtracting the number of coins required to return the change amount from the number stored in the coin number storage means. a determining means, a second determining means for determining whether or not an amount corresponding to the selling price can be returned within the number of coins subtracted by the first determining means, the first determining means and the second determining means; The present invention is characterized by comprising a sales permission means for permitting the sale of the product at the sales price only when the judgment results of the judgment means are both returnable judgments.

[作用] 本考案においては、返却可能な硬貨枚数以内で
釣銭額が返却可能か否かを通常の販売制御に必要
な判定を行うと共に、この釣銭返却用に用いられ
る返却可能な硬貨枚数から釣銭返却に必要な硬貨
枚数を減算し、減算後の硬貨枚数以内で販売価格
に相当額の返却が可能か否かの判定を行つて共に
返却可能であるときにのみ販売(すなわち搬出)
を許可するようにしている。従つて、販売価格相
当額を釣銭用の硬貨で返却することができないと
きには販売は許可されず、販売が許可されるとき
には釣銭の払出し後に商品の搬出不良が検知され
ても販売価格相当額を釣銭用硬貨で返却すること
が可能である。
[Operation] In the present invention, it is necessary to determine whether or not the amount of change can be returned within the number of returnable coins, which is necessary for normal sales control, and change is determined based on the number of returnable coins used for returning change. Subtract the number of coins required for return, determine whether it is possible to return an amount equivalent to the selling price within the number of coins after subtraction, and sell (i.e., carry out) only when it is possible to return both.
I am trying to allow this. Therefore, if the amount equivalent to the selling price cannot be returned in coins for change, the sale will not be permitted, and when the sale is permitted, even if a defective delivery of the product is detected after the change has been paid, the amount equivalent to the selling price will be returned as change. It is possible to return the item in free coins.

[実施例] 以下に図面を参照して本考案を説明する。[Example] The present invention will be described below with reference to the drawings.

第1図は本考案の一実施例を示し、ここで、
1,2および3は金種に応じた硬貨信号であり、
それぞれ10円、50円および100円硬貨に対応した
信号である。これらの信号1〜3は、不図示の検
銭部にて正貨と判別された投入硬貨の金種を検知
して動作するスイツチSW1,SW2およびSW3
によつて生起する。
FIG. 1 shows an embodiment of the invention, where:
1, 2 and 3 are coin signals according to the denomination,
These signals correspond to 10 yen, 50 yen, and 100 yen coins, respectively. These signals 1 to 3 are generated by switches SW1, SW2, and SW3 that operate by detecting the denomination of an inserted coin that is determined to be a genuine coin by a coin verification unit (not shown).
arises due to

4は投入硬貨の金額を合計する投入金額記憶手
段としての合計カウンタであり、硬貨信号1〜3
を取り込むことにより投入金額の合計額を算出し
て記憶する。5,6および7はそれぞれの金種に
応じた返却可能な硬貨枚数を記憶する硬貨枚数記
憶手段としての硬貨枚数カウンタである。8およ
び9は不図示の釣銭チユーブに格納されている釣
銭が所定枚数以下となつたときにオンとなるスイ
ツチ(以下、エンプテイスイツチと称す)であ
る。エンプテイスイツチ8は10円用釣銭チユーブ
に設けられており、10円硬貨枚数カウンタ5にオ
ン・オフ情報が送られる。エンプテイスイツチ9
は50円用釣銭チユーブに設けられており、50円硬
貨枚数カウンタ6にオン・オフ情報が送られる。
4 is a total counter as an input amount storage means for totaling the amount of input coins, and coin signals 1 to 3
By taking in, the total amount of input money is calculated and stored. Coin number counters 5, 6 and 7 serve as coin number storage means for storing the number of returnable coins according to each denomination. Switches 8 and 9 (hereinafter referred to as empty switches) are turned on when the amount of change stored in a change tube (not shown) falls below a predetermined number. An empty switch 8 is provided in the 10 yen change tube, and on/off information is sent to the 10 yen coin counter 5. empty switch 9
is provided in the 50 yen coin change tube, and on/off information is sent to the 50 yen coin counter 6.

10円硬貨枚数カウンタ5では、後述のように、
硬貨信号1により投入された10円硬貨を計数す
る。更に、エンプテイスイツチ8のオン・オフ状
態により10円硬貨の返却可能枚数を算出して記憶
する。同様にして、50円貨枚数カウンタ6におい
ては50円硬貨の返却可能枚数を算出して記憶す
る。一方、100円貨枚数カウンタ7では、硬貨信
号3により100円硬貨を計数し、この計数結果を
100円硬貨の返却可能枚数として記憶する。
In the 10 yen coin counter 5, as described later,
Count the 10 yen coins inserted using coin signal 1. Furthermore, the number of returnable 10 yen coins is calculated and stored based on the on/off state of the empty switch 8. Similarly, the 50 yen coin counter 6 calculates and stores the number of 50 yen coins that can be returned. On the other hand, the 100 yen coin counter 7 counts the 100 yen coins using the coin signal 3 and sends the counting result.
Stored as the number of returnable 100 yen coins.

10は販売商品の設定価格を記憶した価格設定部
である。客が所望する商品を選択すると、その商
品に対応した選択信号11が価格設定部10に供
給される。価格設定部10では、この選択信号1
1により指示される商品の設定価格を選択する。
12は釣銭を計算する演算制御部であり、合計カ
ウンタ4から供給される投入金額の合計から価格
設定部10から供給される客が選択した商品の設
定価格を減算して、客に返却する釣銭額を算出す
る。
Reference numeral 10 denotes a price setting unit that stores set prices of products to be sold. When the customer selects a desired product, a selection signal 11 corresponding to the product is supplied to the price setting section 10. In the price setting section 10, this selection signal 1
Select the set price of the product indicated by 1.
Reference numeral 12 denotes an arithmetic control unit that calculates change, which subtracts the set price of the product selected by the customer supplied from the price setting unit 10 from the total input amount supplied from the total counter 4, and returns the change to the customer. Calculate the amount.

13,14および15は硬貨枚数記憶手段とし
ての枚数カウンタバツフアであり、それぞれ硬貨
枚数カウンタ5,6および7の内容を一時記憶す
る。16は販売可否判定手段としての販売可否判
定部であり、枚数カウンタバツフア13〜15、
演算制御部12および価格設定部10の内容を取
り込み、客が選択した商品の販売可否を決定す
る。すなわち、販売可否判定部16においては、
演算制御部12から供給された釣銭額が枚数カウ
ンタバツフア13〜15から供給された返却可能
硬貨枚数により返却可能であるか否かを第1判定
する。
Numerals 13, 14 and 15 are coin counter buffers serving as coin number storage means, which temporarily store the contents of coin number counters 5, 6 and 7, respectively. Reference numeral 16 denotes a sales availability determination unit as a sales availability determination unit, which includes sheet number counter buffers 13 to 15;
The contents of the arithmetic control section 12 and the price setting section 10 are taken in, and it is determined whether or not the product selected by the customer can be sold. That is, in the sales availability determination unit 16,
A first determination is made as to whether or not the amount of change supplied from the arithmetic control unit 12 can be returned based on the number of returnable coins supplied from the number counter buffers 13 to 15.

次に、販売可否判定部16は、カウンタバツフ
ア13〜15から供給された返却可能硬貨枚数か
ら上述した釣銭に用いる硬貨枚数分を差引いた残
りの硬貨枚数により、価格設定部10から供給さ
れた商品の設定価格に相当する金額を客に返却で
きるか否か第2判定する。ここで、一点鎖線ブロ
ツク200は販売許可信号を発生する販売許可信
号発生部であり、論理積回路17および19とフ
リツプフロツプなどの記憶回路18および21と
により構成される。販売許可信号発生部200は
販売動作を許可する手段としての機能を果たし、
演算制御部12により釣銭金額信号203が発生
しているとき、かつ、販売可否判定部16により
第1の肯定判定信号201および第2の肯定判定
信号202が発生しているときのみ論理積回路1
9から販売許可信号22を出力保持する。
Next, the saleability determination unit 16 determines the number of coins supplied from the price setting unit 10 based on the remaining number of coins obtained by subtracting the number of coins used for change as described above from the number of returnable coins supplied from the counter buffers 13 to 15. A second determination is made as to whether the amount corresponding to the set price of the product can be returned to the customer. Here, a dash-dotted line block 200 is a sales permission signal generating section that generates a sales permission signal, and is constituted by AND circuits 17 and 19 and storage circuits 18 and 21 such as flip-flops. The sales permission signal generation unit 200 functions as a means for permitting a sales operation,
The AND circuit 1 is activated only when the change amount signal 203 is generated by the arithmetic control unit 12 and when the first affirmative determination signal 201 and the second affirmative determination signal 202 are generated by the sales availability determination unit 16.
A sales permission signal 22 is output and held from 9.

販売可否判定部16の出力信号201を論理積
回路17の一方の入力端子に供給する。論理積回
路17の他方の入力子には演算制御部12の信号
出力203が供給される。従つて論理積回路17
は販売可否判定部16の肯定判定および演算制御
部12の演算結果が正、すなわち投入金額が販売
価格よりも大きいことにより開かれて、論理積回
路17は演算制御部12の信号出力を取り出す。
この論理積回路17の出力によりフリツプフロツ
プ等の記憶回路18をセツトする。更に、この記
憶回路18のセツト出力を論理積回路19の一方
の入力端子に供給する。
The output signal 201 of the sales availability determining section 16 is supplied to one input terminal of the AND circuit 17. The signal output 203 of the arithmetic control section 12 is supplied to the other input terminal of the AND circuit 17 . Therefore, the AND circuit 17
is opened when the sales availability determination unit 16 makes a positive determination and the calculation result from the calculation control unit 12 is positive, that is, the input amount is greater than the selling price, and the AND circuit 17 takes out the signal output from the calculation control unit 12.
The output of the AND circuit 17 sets a memory circuit 18 such as a flip-flop. Furthermore, the set output of this memory circuit 18 is supplied to one input terminal of an AND circuit 19.

販売可否判定部16の第2の肯定判定出力信号
202により記憶回路21がセツトされ、そのセ
ツト出力を論理積回路19の他方の入力端子に供
給する。
The memory circuit 21 is set by the second affirmative judgment output signal 202 of the saleability judgment section 16, and the set output is supplied to the other input terminal of the AND circuit 19.

このようにして、販売可否判定部16における
2回の判定が共に肯定判定の場合には論理積回路
19が開き、その出力端子から販売許可信号発2
2が出力される。
In this way, if both of the two determinations made by the sales permission determining section 16 are positive, the AND circuit 19 opens, and a sales permission signal is generated from its output terminal.
2 is output.

次に、23は返金スイツチであり、客の返金指
示操作により閉成された返金信号24を生起す
る。25は販売本数制御部であり、販売開始信号
26が供給される。販売本数制御部25には、1
回の販売で客が指定できる商品の販売制限数が予
め格納されており、この販売制限数と販売開始信
号26の入来回数とを比較し、一致した場合には
返金信号27を出力する。28は商品搬出制御部
であり、販売許可信号22が供給されることによ
り開始される商品の販売動作により販売開始信号
26を送出し、当該販売動作中に発生した商品搬
出不具合を検知したときには返金信号29を出力
する。
Next, 23 is a refund switch, which generates a refund signal 24 which is closed by the customer's refund instruction operation. Reference numeral 25 denotes a sales quantity control unit, to which a sales start signal 26 is supplied. The sales quantity control unit 25 includes 1
A sales limit number of products that can be specified by a customer in one sale is stored in advance, and this sales limit number is compared with the number of times a sales start signal 26 comes in, and if they match, a refund signal 27 is output. Reference numeral 28 denotes a product delivery control unit, which sends a sales start signal 26 according to the product sales operation that is started when the sales permission signal 22 is supplied, and refunds when a product delivery problem that occurs during the sales operation is detected. A signal 29 is output.

30は論理積回路、31は返金制御部であり、
返金信号24,27,29は論理和回路30を介
して返金制御部31に供給される。返金制御部3
1はこれらの返金信号24,27,29により駆
動され、合計カウンタ4、価格設定部10および
硬貨枚数カウンタ5,6,7の内容に基づいて客
に返却する10円、50円および100円それぞれの硬
貨枚数を算出すると共に返金動作を制御する。な
お、商品の販売動作が終了すると、演算制御部1
2の内容、すなわち釣銭額を合計カウンタ4に転
送して格納する。
30 is an AND circuit, 31 is a refund control unit,
The refund signals 24, 27, and 29 are supplied to the refund control section 31 via the OR circuit 30. Refund control section 3
1 is driven by these refund signals 24, 27, and 29, and returns 10 yen, 50 yen, and 100 yen to the customer based on the contents of the total counter 4, price setting section 10, and coin number counters 5, 6, and 7, respectively. The number of coins is calculated and the refund operation is controlled. Note that when the product sales operation is completed, the arithmetic control unit 1
2, that is, the amount of change, is transferred to the total counter 4 and stored therein.

次に、第2図および第3図を参照して、本考案
装置の動作を説明する。
Next, the operation of the device of the present invention will be explained with reference to FIGS. 2 and 3.

まず、第2図に示す手順T1において、投入硬
貨の各金種毎の枚数をそれぞれ枚数カウンタ5〜
7により計数し、計数内容をそれぞれ枚数カウン
タバツフア13〜15に供給する。いま、客が
100円、50円、10円の各硬貨がそれぞれ3枚、2
枚、5枚からなる合計450円を投入したとする。
合計カウンタ4には「450円」が計数される共に、
枚数カウンタ5,6,7ではそれぞれ「5」,
「2」,「3」が計数される。ここで、100貨円枚数
カウンタ7には計数値「3」がそのまま記憶され
る。しかし、50円貨枚数カウンタ6においては、
エンプテイスイツチ9がオンしていて釣銭チユー
ブ(不図示)に50円釣銭硬貨が無い場合には計数
値「2」がそのまま記憶される。このエンプテイ
スイツチ9がオフしていて釣銭チユーブ(不図
示)に釣銭が有る場合は、例えばオフするレベル
が50円硬貨7枚と定まつていれば、2+7=9枚
の50円硬貨が返却可能枚数となり、「9」が50円
貨枚数カウンタ6に記憶される。同様に、10円貨
枚数カウンタ5において、エンプテイスイツチ8
がオフのときには計数値「5」が記憶されている
が、オンしているときには、例えばそのオフする
レベルが10円硬貨9枚と定まつていれば、5+9
=14枚が枚数カウンタ5に記憶される。本例で
は、エンプテイスイツチ8,9が共にオン状態す
なわち釣銭無しにあるものとすると、枚数カウン
タ5,6にはそれぞれ「5」,「2」が記憶され
る。従つて、カウンタバツフア13,14,15
にはそれぞれ「5」,「2」,「3」が記憶される。
First, in step T1 shown in FIG.
7, and the counted contents are supplied to sheet number counter buffers 13 to 15, respectively. Now, the customer
3 and 2 100 yen, 50 yen, and 10 yen coins, respectively.
Assume that you have inserted a total of 450 yen consisting of 5 coins.
"450 yen" is counted in total counter 4, and
The number of sheets counters 5, 6, and 7 are respectively "5",
"2" and "3" are counted. Here, the count value "3" is stored as is in the 100 coin/yen counter 7. However, in the 50 yen coin counter 6,
If the empty switch 9 is on and there is no 50 yen change coin in the change tube (not shown), the count value "2" is stored as is. If this empty switch 9 is turned off and there is change in the change tube (not shown), for example, if the level to be turned off is set to 7 50 yen coins, 2 + 7 = 9 50 yen coins will be returned. The possible number of coins is reached, and "9" is stored in the 50 yen coin counter 6. Similarly, at the 10 yen coin counter 5, the empty switch 8
When it is off, the count value "5" is memorized, but when it is on, for example, if the level to be turned off is determined to be 9 10 yen coins, the count value is 5 + 9.
=14 sheets are stored in the sheet number counter 5. In this example, assuming that both the empty switches 8 and 9 are in the on state, that is, there is no change, "5" and "2" are stored in the number counters 5 and 6, respectively. Therefore, counter buffers 13, 14, 15
``5'', ``2'', and ``3'' are stored in ``5'', ``2'', and ``3'', respectively.

次に、手順T2において演算制御部12が釣銭
額を算出する。すなわち、合計カウンタ4が計数
した客の投入金額および価格設定部10が設定し
た商品の設定価格をそれぞれKおよびSPとする
と、釣銭額K′は(K−SP)により求める。商品
の設定価格SPを180円とすると、釣銭額K′は270
円となる。釣銭額K′情報が販売可否判定部16
に送られ、手順T3では、この釣銭額K′が負か
否かを販売可否判定部16が判定する。肯定判定
の場合には投入金額Kが商品の設定価格SPに満
たないので手順T11へジヤンプする。
Next, in step T2, the calculation control unit 12 calculates the amount of change. That is, if the customer's input amount counted by the total counter 4 and the set price of the product set by the price setting section 10 are K and SP, respectively, the change amount K' is calculated by (K-SP). If the product price SP is 180 yen, the change amount K′ is 270 yen.
It becomes a yen. The change amount K′ information is sold by the sales decision unit 16.
In step T3, the sales availability determining unit 16 determines whether this change amount K' is negative or not. In the case of an affirmative determination, since the input amount K is less than the set price SP of the product, the process jumps to step T11.

本例では、投入金額が商品設定価格より大きい
ので否定判定されて手順T4〜T6に進む。次
に、釣銭額K′=270円をカウントバツフア13,
14,15に記憶されている10円、50円、100円
の各硬貨枚数N(10),N(50),N(100)で返却可
能か否かの第1の販売可否判定を販売可否判定部
16が行う。
In this example, since the input amount is larger than the product set price, a negative determination is made and the process proceeds to steps T4 to T6. Next, count the change amount K′ = 270 yen,
14, 15 are stored in the numbers N (10), N (50), and N (100) of each coin. The determination unit 16 performs this.

すなわち、手順T4で釣銭額K′の値を販売可
否判定部16の内部レジスタにK′と同じ値Vを
設定し、手順T5の販売可否判定ルーチンへと進
む。第3図にこの販売可否判定ルーチンの詳細を
示し、ここで、手順T51〜T53は釣銭額もし
くは販売価格相当額返却用の100円硬貨返却枚数
の減算ルーチン、手順T54〜T56は同じく50
円硬貨返却枚数の減算ルーチンおよび手順T57
〜T59は同じく10円硬貨返却枚数の減算ルーチ
ンである。
That is, in step T4, the value of the change amount K' is set to the same value V as K' in the internal register of the sale permission determination section 16, and the process proceeds to step T5, a sale permission determination routine. FIG. 3 shows the details of this sales availability determination routine, where steps T51 to T53 are a subtraction routine for the number of 100 yen coins to be returned for return of change or an amount equivalent to the selling price, and steps T54 to T56 are also 50 yen coins.
Subtraction routine and procedure for the number of returned yen coins T57
~T59 is also a subtraction routine for the number of returned 10 yen coins.

まず、手順T51において、内部レジスタに格
納される値Vが100以上か否かを判定し、100より
少ない場合には手順T54へ進み、100以上なら
ば手順T52へ進む。手順T52では、カウンタ
バツフア15の内容N(100)が「0」ならば手順
T54へジヤンプし、そうでなければ手順T53
へ進む。手順T53では、Vから「100」を減算
すると共に、N(100)から1を減算し、再び手順
T51へ戻る。このようにして手順T51〜T5
0を繰り返すことにより100円硬貨の返却枚数を
減算した後、手順T54〜T56で50円硬貨の返
却枚数を減算する。これらの手順T54〜T56
はそれぞれ手順T51〜T53と同様である。
First, in step T51, it is determined whether the value V stored in the internal register is 100 or more. If it is less than 100, the process proceeds to step T54, and if it is 100 or more, the process proceeds to step T52. In step T52, if the content N (100) of the counter buffer 15 is "0", the process jumps to step T54; otherwise, the process jumps to step T53.
Proceed to. In step T53, "100" is subtracted from V and 1 is subtracted from N(100), and the process returns to step T51 again. In this way, steps T51 to T5
After the number of returned 100 yen coins is subtracted by repeating 0, the number of returned 50 yen coins is subtracted in steps T54 to T56. These steps T54-T56
are the same as steps T51 to T53, respectively.

次に、手順T57〜T59において、10円硬貨
の返却枚数を減算する。ここで、手順T57でV
=0と判定された場合には、釣銭の返却が可能で
あるので手順T60へ進み、販売可否判定部16
の出力信号201によつて記憶回路18を販売可
にセツトする。
Next, in steps T57 to T59, the number of returned 10 yen coins is subtracted. Here, in step T57, V
If it is determined that = 0, it is possible to return the change, so the process proceeds to step T60, and the sales permission determination unit 16
The output signal 201 sets the memory circuit 18 to be ready for sale.

一方、手順T59において、返却可能な10円硬
貨枚数N(10)が負と判定された場合には、釣銭
の返却が不可能であるので手順T61に進み、記
憶回路18のリセツト状態すなわち販売不可の状
態を保持する。
On the other hand, in step T59, if the number of returnable 10 yen coins N(10) is determined to be negative, it is impossible to return the change, so the process proceeds to step T61, and the memory circuit 18 is reset to the state that it cannot be sold. maintain the state of

本例ではV=270、N(100)=3,N(50)=2,
N(10)=5であるので、100円硬貨2枚、50円硬
貨1枚および10円硬貨2枚により釣銭270円の返
却が可能と判定されて、記憶回路18が販売可に
セツトされる。
In this example, V=270, N(100)=3, N(50)=2,
Since N(10)=5, it is determined that the change of 270 yen can be returned using two 100 yen coins, one 50 yen coin, and two 10 yen coins, and the memory circuit 18 is set to allow sales. .

上述のようにして販売可否判定部16は釣銭を
返却可能か否かにより販売可否の第1判定をした
後、第2図に示す手順T6へ進み、販売不可の場
合は手順T11にジヤンプし、販売可の場合は手
順T7に進む。手順T7〜T9においては販売可
否判定部16は商品の設定価格SP=180円を返却
できるか否か第2判定する。
After making the first determination as to whether the sale is possible or not based on whether the change can be returned or not as described above, the sales permission determining unit 16 proceeds to step T6 shown in FIG. 2, and if the sale is not possible, jumps to step T11. If it can be sold, proceed to step T7. In steps T7 to T9, the saleability determination unit 16 makes a second determination as to whether or not the set price SP=180 yen of the product can be returned.

そのために、手順T7において内部レジスタの
値Vに換わり、設定価格SPの値を内部レジスタ
に代入し、手順T8,T9において上述の手順T
5,T6と同様にして商品詰まりのときの代金返
却が可能か否かを判定し、返却可能のときには手
順T60に進んで販売可否判定部16の出力信号
202によつて記憶回路21を販売可にセツトす
る。
For this purpose, in step T7, the value of the set price SP is substituted into the internal register in place of the value V in the internal register, and in steps T8 and T9, the above-mentioned step T
5. In the same manner as T6, it is determined whether or not the price can be refunded when the product is jammed, and if it is possible to return the product, the process proceeds to step T60 and the storage circuit 21 can be sold based on the output signal 202 of the sale permission determination section 16. Set to .

返却不可のときには手順T61に進み、記憶回
路21のリセツト状態すなわち販売不可状態を保
持する。飽例ではN(100),N(50),N(10)がそ
れぞれ「1」(=3−2),「1」(=2−1),
「3」(=5−2)であり、設定価格SP=180円を
100円硬貨1枚、50円硬貨1枚、10円硬貨3枚に
より商品代金の返却可能と第2判定され、従つ
て、販売可能として記憶回路21が販売可にセツ
トされる。
If the item cannot be returned, the process proceeds to step T61, and the reset state of the memory circuit 21, that is, the unsaleable state is maintained. In the satiated example, N(100), N(50), and N(10) are "1" (=3-2), "1" (=2-1), and
"3" (=5-2), and the set price SP = 180 yen.
A second determination is made that the product price can be returned using one 100 yen coin, one 50 yen coin, and three 10 yen coins, and therefore, the storage circuit 21 is set to sellable.

以上のようにして、釣銭K′および商品の設定
価格SPが共に返却可能であると判定されると、
手順T10において論理積回路19から販売許可
信号22が出力される。手順T6または手順T9
で販売不可と判定されたときは、手順T11に進
み、論理積回路19から販売許可信号22は出力
されず販売不可であるとを表示する。本例では、
論理積回路19から販売許可信号22が出力され
るので、商品の販売動作が開始されることにな
る。販売動作終了後、合計カウンタ4の内容は投
入金額450円から販売した商品の設定価格180円が
減算されて、270円となる。
As described above, when it is determined that both the change K′ and the set price SP of the product can be returned,
In step T10, the AND circuit 19 outputs the sales permission signal 22. Step T6 or Step T9
When it is determined that the product cannot be sold, the process proceeds to step T11, where the AND circuit 19 does not output the sales permission signal 22 and displays that the product is not allowed to be sold. In this example,
Since the AND circuit 19 outputs the sales permission signal 22, the product sales operation is started. After the sales operation is completed, the contents of the total counter 4 become 270 yen, which is the set price of the sold product of 180 yen subtracted from the input amount of 450 yen.

引き続き、客が150円の商品を選択すると、前
述したのと同様にして、販売可否の判定が行なわ
れる。この場合、釣銭K′は120(=270円−150円)
であり、N(100),N(50),N(10)はそれぞれ
「3」,「2」,「5」である。従つて、釣銭120円
は、100円硬貨1枚、10円硬貨2枚により返却可
能と判定される(第2図手順T5)。また、商品
価格150円については、N(100),N(50),N(10)
がそれぞれ「2」(=3−1),「2」,「3」(=5
−2)なので、100円硬貨1枚、50円硬貨1枚に
より返却可能と判定される。(第2図手順T8)。
従つて、販売許可信号22が出力され、販売動作
が開始される。
Subsequently, when the customer selects a 150 yen item, a decision is made as to whether or not it can be sold in the same manner as described above. In this case, the change K' is 120 (= 270 yen - 150 yen)
where N(100), N(50), and N(10) are "3", "2", and "5", respectively. Therefore, it is determined that the change of 120 yen can be returned with one 100 yen coin and two 10 yen coins (step T5 in FIG. 2). Also, for a product price of 150 yen, N (100), N (50), N (10)
are respectively “2” (=3-1), “2”, and “3” (=5
-2) Therefore, it is determined that the item can be returned with one 100 yen coin and one 50 yen coin. (Step T8 in Figure 2).
Therefore, the sales permission signal 22 is output and the sales operation is started.

ここで、販売本数制御部25において、商品の
販売本数制限が「2」と設定されたとすると、2
回目の販売動作の開始と共に生起して入来した販
売開始信号26によつてこの販売本数制御部25
は動作し、返金制御部31へ返金信号27を供給
する。この結果、返金制御部31では、釣銭
K′=120円を最少硬貨枚数である100円硬貨1枚、
10円硬貨2枚により客に返却する返却制御を行
う。
Here, if the sales number control unit 25 sets the product sales number limit to "2", then 2
This sales quantity control unit 25 is activated by the sales start signal 26 generated and received at the start of the second sales operation.
operates and supplies a refund signal 27 to the refund control section 31. As a result, the refund control unit 31 receives the change.
K′ = 120 yen, the minimum number of coins is one 100 yen coin,
Performs return control to return to the customer with two 10 yen coins.

次に、このようにして釣銭の返却が終了した後
に、商品の搬出不良等が発生し商品販売が不可能
とななつた場合には、まず、商品搬出制御部28
が商品搬出不良等の故障を検知し、返金信号29
を返金制御部31に供給する。返金制御部31で
は、この返金信号29の入来によつて返金制御を
開始する。返金額は商品価格の150円である。
Next, after the change has been returned in this way, if a defective product delivery occurs and the product cannot be sold, first, the product delivery control unit 28
detects a malfunction such as defective product delivery and issues a refund signal 29.
is supplied to the refund control section 31. The refund control unit 31 starts refund control when the refund signal 29 is received. The refund amount is 150 yen of the product price.

ここで、本考案装置においては、かかる事態を
考慮して販売動作開始前に釣銭返却後の返却硬貨
枚数により商品価格である150円の返金が可能で
あるか否か判定し(第2図手順T8)、可能の場
合にのみ商品販売動作を開始している。従つて、
かかる商品搬出不良の事態が発生しても、従来の
ように硬貨不足により返金不可能となる惧れはな
く、常に所定の額を返金できる。すなわち、本例
では150円が100円硬貨1枚、50円硬貨1枚からな
る最少硬貨枚数により返却される。
In consideration of this situation, the device of the present invention determines whether or not it is possible to refund the product price of 150 yen based on the number of coins returned after the change is returned before starting the sales operation (see Steps in Figure 2). T8), the product sales operation is started only when possible. Therefore,
Even if such a situation occurs in which the product is defective, there is no fear that the refund will not be possible due to a lack of coins, unlike in the past, and the predetermined amount can always be refunded. That is, in this example, 150 yen is returned using the minimum number of coins, which is one 100 yen coin and one 50 yen coin.

なお、前記実施例では、客が選択ボタンを押し
てから販売可否を決定するいわゆる後設定方式に
ついて説明したが、これとは逆に予め投入金額と
設定価格とを比較して客に購入可能商品をランプ
表示等で知らせるようにした先設定方式の場合に
も本考案は適用できるものである。
In the above embodiment, a so-called post-setting method was described in which the customer presses a selection button and then decides whether or not to sell the product.However, in contrast to this, the system compares the input amount with a set price in advance to inform the customer of products that are available for purchase. The present invention can also be applied to the case of a pre-setting method in which notification is provided by a lamp display or the like.

また、本考案は駅等に設置されている自動券売
機にも適用できることは勿論である。
Furthermore, it goes without saying that the present invention can also be applied to automatic ticket vending machines installed at stations and the like.

[考案の効果] 以上のような本考案によれば、釣銭の払出し後
に商品の搬出不良が検知された場合であつても、
搬出不良の商品の販売価格相当額を釣銭用硬貨で
返却できるようにしたので、通常の販売動作にお
ける釣銭の払出しを速やかに行うことができると
共に、商品の搬出不良が発生した場合でも、客に
損害を与えることがない。
[Effect of the invention] According to the invention as described above, even if a defective delivery of the product is detected after the change has been paid,
Since we have made it possible to return an amount equivalent to the selling price of defective products in change coins, it is possible to quickly pay out change during normal sales operations, and even if products are defective in transfer, customers can No damage will be caused.

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

第1図は本考案の一実施例を示すブロツク図、
第2図はこの実施例の動作を示すフローチヤー
ト、第3図は同じくその販売可否判定ルーチンの
詳細を示すフローチヤートである。 1,2,3……硬貨信号、4……合計カウン
タ、5,6,7……枚数カウンタ、8,9……エ
ンプテイスイツチ、10……価格設定部、11…
…選択信号、12……演算制御部、13,14,
15……バツフア、16……販売可否判定部、1
7,19,20……論理積回路、18,21……
記憶回路、22……販売許可信号、24,27,
29……返金信号、25……販売本数制御部、2
6……販売開始信号、28……商品搬出制御部、
30……論理和回路、31……返金制御部、20
0……販売許可信号発生回路。
FIG. 1 is a block diagram showing an embodiment of the present invention.
FIG. 2 is a flowchart showing the operation of this embodiment, and FIG. 3 is a flowchart showing details of the sales availability determination routine. 1, 2, 3... Coin signal, 4... Total counter, 5, 6, 7... Number of coins counter, 8, 9... Empty switch, 10... Price setting section, 11...
...Selection signal, 12...Arithmetic control section, 13, 14,
15...Batsuhua, 16...Saleability determination department, 1
7, 19, 20...AND circuit, 18, 21...
Memory circuit, 22... Sales permission signal, 24, 27,
29...Refund signal, 25...Sales quantity control unit, 2
6... Sales start signal, 28... Product delivery control unit,
30...Order circuit, 31...Refund control unit, 20
0... Sales permission signal generation circuit.

Claims (1)

【実用新案登録請求の範囲】 投入金額の合計額もしくは商品販売後の残額を
算出して記憶する投入金額記憶手段と、該投入金
額記憶手段の記憶金額以内の販売価格で販売許可
された商品の搬出を制御すると共に、該商品の搬
出不良を検知する商品搬出制御部と、返却可能な
硬貨枚数を記憶する硬貨枚数記憶手段と、前記商
品搬出制御部による商品の搬出開始に基づいて前
記硬貨枚数記憶手段の記憶枚数以内での釣銭の返
却を行うと共に、当該釣銭の返却の後に前記商品
搬出制御部の搬出不良検知に基づいて当該搬出不
良商品の販売価格に相当する金額を前記硬貨枚数
記憶手段の記憶枚数以内で返却する返金制御部と
を有する自動販売機の制御装置において、 前記投入金額記憶手段の記憶金額に対して前記
販売価格が必要とする釣銭額が前記硬貨枚数記憶
手段の記憶枚数以内で返却可能か否かを判定する
と共に、前記釣銭額の返却に必要な硬貨枚数を前
記硬貨枚数記憶手段の記憶枚数から減算する第1
判定手段と、 該第1判定手段により減算された後の硬貨枚数
以内で前記販売価格に相当する金額が返却可能か
否かを判定する第2判定手段と、 前記第1判定手段および前記第2判定手段の判
定結果が共に返却可能判定であるときにのみ前記
販売価格の商品の前記販売許可を行う販売許可手
段と を備えたことを特徴とする自動販売機の制御装
置。
[Scope of Utility Model Registration Request] Input amount storage means for calculating and storing the total amount of input money or the remaining amount after the product is sold, and products that are permitted to be sold at a selling price within the amount stored in the input amount storage means. a product delivery control unit that controls delivery and detects defective delivery of the product; a coin number storage unit that stores the number of returnable coins; and a coin number storage unit that stores the number of coins based on the start of product delivery by the product delivery control unit. The change is returned within the number of coins stored in the storage means, and after the change is returned, an amount corresponding to the selling price of the defective product is returned to the coin number storage means based on the defective delivery detection by the product delivery control unit. a refund control unit that returns coins within a stored number of coins, wherein the amount of change required for the selling price for the amount stored in the input amount storage means is the number of coins stored in the number storage means. a first method that determines whether the change can be returned within the change amount and subtracts the number of coins required to return the change amount from the number of coins stored in the coin number storage means;
a determining means; a second determining means for determining whether the amount corresponding to the selling price can be returned within the number of coins subtracted by the first determining means; the first determining means and the second determining means; 1. A control device for a vending machine, comprising: sales permission means for permitting the sale of the product at the sales price only when the judgment results of the judgment means are both returnable judgments.
JP3934282U 1982-03-23 1982-03-23 Vending machine control device Granted JPS58142781U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3934282U JPS58142781U (en) 1982-03-23 1982-03-23 Vending machine control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3934282U JPS58142781U (en) 1982-03-23 1982-03-23 Vending machine control device

Publications (2)

Publication Number Publication Date
JPS58142781U JPS58142781U (en) 1983-09-26
JPH0222760Y2 true JPH0222760Y2 (en) 1990-06-20

Family

ID=30050629

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3934282U Granted JPS58142781U (en) 1982-03-23 1982-03-23 Vending machine control device

Country Status (1)

Country Link
JP (1) JPS58142781U (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS535698A (en) * 1976-07-05 1978-01-19 Hoshizaki Electric Co Ltd Repayment controlling device for use in automatic vending machine

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS535698A (en) * 1976-07-05 1978-01-19 Hoshizaki Electric Co Ltd Repayment controlling device for use in automatic vending machine

Also Published As

Publication number Publication date
JPS58142781U (en) 1983-09-26

Similar Documents

Publication Publication Date Title
JPS6057626B2 (en) Vending machine control device
JP2740979B2 (en) Vending machine control device
US4611286A (en) Cash accounting system
JP3297237B2 (en) Vending machine payment management device
JPH0222760Y2 (en)
JPS5939075B2 (en) Vending machine control device
JPS5822789B2 (en) Vending machine control device
JPS6227974Y2 (en)
JPS61114398A (en) Vending apparatus and method by card
JP2600845B2 (en) Prepaid card vending machine
JP2013143038A (en) Currency processing device and currency processing method
JPS6211394B2 (en)
JPH082769Y2 (en) Bulk purchaseable product display device in vending machine
JPH0253837B2 (en)
JPH0379749B2 (en)
JPS59106093A (en) Controller for vending machine
JPS5944674B2 (en) Vending machine coin dispensing control circuit
JP2002015361A (en) Vending machine and automatic vending method
JPS6233632B2 (en)
JPS58200389A (en) Currency paying method for vending machine
JPS6220052Y2 (en)
JPS6210864Y2 (en)
JPS632941Y2 (en)
JPS62174896A (en) Coin dispensation control circuit for vending machine
JPS632935Y2 (en)