JPS61136193A - Automatic settlement controller for vending machine - Google Patents

Automatic settlement controller for vending machine

Info

Publication number
JPS61136193A
JPS61136193A JP25850084A JP25850084A JPS61136193A JP S61136193 A JPS61136193 A JP S61136193A JP 25850084 A JP25850084 A JP 25850084A JP 25850084 A JP25850084 A JP 25850084A JP S61136193 A JPS61136193 A JP S61136193A
Authority
JP
Japan
Prior art keywords
sold
product
price
area
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP25850084A
Other languages
Japanese (ja)
Inventor
堂面 俊則
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP25850084A priority Critical patent/JPS61136193A/en
Publication of JPS61136193A publication Critical patent/JPS61136193A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、自動販売機の自動精算制御装置に関し、特に
、連続販売が可能な自動販売機において、販売後の残額
で販売が不可能な場合には、より早く釣銭の払出しが行
なわれるようにしたものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an automatic payment control device for a vending machine, and in particular, in a vending machine that is capable of continuous vending, the present invention relates to an automatic payment control device for a vending machine. In such cases, change is paid out more quickly.

〔従来の技術〕[Conventional technology]

従来の連続販売が可能な自動販売機においては、商品の
販売(搬出)後に、投入金額から販売価格を減算して残
額を算出し、この残額で次の商品の販売が可能か否かを
判定し、販売が可能でない場合にはこの残額を自動的に
釣銭として払出すことにより自動精算を行なうようにし
ていた。
In conventional vending machines that allow continuous sales, after a product is sold (taken out), the remaining amount is calculated by subtracting the selling price from the input amount, and it is determined whether the next product can be sold using this remaining amount. However, if the sale is not possible, the remaining amount is automatically paid out as change for automatic settlement.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このため、商品の搬出時間が長くなれば、それだけ釣銭
の払出しが遅くなり、顧客はそれまで待たなければなら
ないという問題があった。
For this reason, there is a problem in that the longer it takes for the goods to be taken out, the longer the change will be paid out, and the customer will have to wait until then.

〔問題点を解決するための手段〕[Means for solving problems]

本発明においては、商品が選択される前に投入金額と販
売価格との差額で(即ち、仮にこの販売価格の商品が販
売されたとした場合の残額で)販売可能な販売価格がな
いことを各販売価格につぃて判定する判定手段を設け、
投入金額で販売可能な商品が選択されたときに、この選
択商品の販売価格についての前記判定手段の判定結果が
販売可能な販売価格がないことを示していれば、この選
択商品の搬出と同時に釣銭の払出しを行なうようにして
、上述の問題点を解決している。
In the present invention, before a product is selected, it is determined that there is no selling price at which it can be sold based on the difference between the input amount and the selling price (that is, the remaining amount if the product at this selling price were sold). Provide a means of determining the selling price,
When a product that can be sold with the input amount is selected, and the judgment result of the judgment means regarding the selling price of this selected product indicates that there is no selling price, the selected product is carried out at the same time. The above-mentioned problem is solved by dispensing change.

〔作用〕[Effect]

本発明においては、従来周知の装置と同様、各販売価格
について投入金額と比較して販売可能か否かの判定を行
なうわけであるが、そのときに、各販売価格について、
仮にその販売価格の商品が販売されたとした場合の残額
(投入金額と販売価格との差額)を算出し、この残額で
販売可能な販売価格がないことも判定しておく。従って
、投入金額で販売可能な商品が選択され九ときには、こ
の商品の販売残額で販売可能な販売価格がないか否かが
わかっているのであるから、残額で販売可能な販売価格
がないときには、選択された商品の搬出と同時に釣銭の
払出しを行なうことができる。
In the present invention, as with conventionally known devices, each selling price is compared with the input amount to determine whether or not the product can be sold.At this time, for each selling price,
The remaining amount (difference between the input amount and the selling price) is calculated if the product at that selling price were sold, and it is also determined that there is no selling price that can be sold with this remaining amount. Therefore, when a product that can be sold with the input amount is selected, it is known whether or not there is no selling price for this product with the remaining sales amount, so when there is no selling price that can be sold with the remaining amount, Change can be paid out at the same time as the selected product is taken out.

〔実施例〕〔Example〕

以下に図面を参照して本発明の実施例を詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

第3図は、本発明の実施例の構成を示すブロック図で、
1はマイクロコンピュータを用いた販売制御装置、2は
投入硬貨を選別して金種別のコイン信号を送出し、顧客
が投入金額の返却もしくは精算を要求するときに返却レ
バー(図示せず)を操作すると、その信号(返却指令信
号)を出力する硬貨選別装置、3は釣銭払出装置、4は
商品選択スイッチ、5は商品搬出装置である。
FIG. 3 is a block diagram showing the configuration of an embodiment of the present invention.
1 is a sales control device using a microcomputer; 2 is a sales control device that sorts input coins, sends out coin signals for each denomination, and operates a return lever (not shown) when a customer requests a return of the input amount or payment. Then, a coin sorting device outputs the signal (return command signal), 3 is a change dispensing device, 4 is a product selection switch, and 5 is a product delivery device.

そして、販売制御装置1内にはRAMが設けられ、この
RAMには牙4図に示す内容を記憶する領域が設けられ
ている。図において、401は、予め設定される工ない
し複数の販売価格を記憶する領域、402は投入金額も
しくは販売後の残額を記憶する領域、403は領域40
1の各販売価格が領域402に記憶されている金額で販
売可能か否かを各販売価格別に販売可フラグとして記憶
する領域、404は領域402に記憶されている金額か
ら販売価格を減算した金額で販売可能な販売価格がない
ことを各販売価格別に精算フラグとして記憶する領域、
405は、販売可否の判定等のときく用いるバッファ領
域である。
A RAM is provided within the sales control device 1, and this RAM is provided with an area for storing the contents shown in Figure 4. In the figure, 401 is an area for storing a preset price or a plurality of sales prices, 402 is an area for storing the input amount or the remaining amount after sales, and 403 is an area 40
1 is an area for storing whether or not each sales price can be sold at the amount stored in the area 402 as a sellable flag for each sales price, and 404 is the amount obtained by subtracting the sales price from the amount stored in the area 402. An area that stores the fact that there is no sales price available for sale as a settlement flag for each sales price,
Reference numeral 405 denotes a buffer area that is often used for determining whether or not a product can be sold.

次に、このような構成の実施例の動作を第1図および第
2図に示すフローチャートlc従って説明する。
Next, the operation of the embodiment having such a configuration will be explained with reference to the flowchart lc shown in FIGS. 1 and 2.

オ上図において、電源が投入されると、初期設定を行な
った後ステップ101に進む。ステップ101゜102
では、硬貨選別装置2よりのコイン信号に基づいて投入
金額を演算し、領域402に記憶してステップ103に
進む。ステップ103では、領域401の各・販売価格
について牙2図に示すようにして販売可否等の判定を行
なう。
In the above figure, when the power is turned on, initial settings are performed and then the process proceeds to step 101. Step 101゜102
Then, the amount to be inserted is calculated based on the coin signal from the coin sorting device 2, stored in the area 402, and the process proceeds to step 103. In step 103, it is determined whether or not each item in the area 401 can be sold, as shown in FIG. 2, for each sales price.

即ち、第2図において、ステップ201では、領域40
2の金額と販売価格とを比較して販売可否の判定を行い
、販売可能でちればステップ202に進んで領域403
の対応する販売可7ラグをセットし、販売可能でなけれ
ばステップ206に進んで対応する販売可フラグをリセ
ットする。尚、このときの販売可否の判定には、周知の
種々の方法を用いることができるが、実願昭57−39
342号に記載の方法を用いれば、自動精算した後に商
品詰り等の故障が発生した場合でも代金の返済が可能と
なるので好適である。また、売切れの商品については販
売可フラグをリセットしておくことはいうまでもない。
That is, in FIG. 2, in step 201, the area 40
Compare the amount in step 2 with the sales price to determine whether the sale is possible, and if the sale is possible, proceed to step 202 and proceed to area 403.
The corresponding sellable flag is set, and if the sale is not possible, the process proceeds to step 206 and the corresponding sellable flag is reset. At this time, various well-known methods can be used to determine whether or not the product can be sold.
It is preferable to use the method described in No. 342, since it is possible to repay the price even if a malfunction such as a jammed product occurs after automatic payment. Furthermore, it goes without saying that the sellable flag is reset for items that are sold out.

次K、ステップ203では、領域402の金額から販売
価格を減算した金額を算出し、この金額をバッファ領域
405に記憶してステップ204に進む。
Next, in step 203, an amount is calculated by subtracting the selling price from the amount in area 402, this amount is stored in buffer area 405, and the process proceeds to step 204.

ステップ204では、領域405の金額で販売可能な販
売価格が領域401の販売価格のうちにないことを判定
し、販売可能な販売価格がなければステップ205に進
んで領域404の対応する精算フラグをセットし、それ
以外はステップ207に進んで対応する精算フラグをリ
セットする。尚、この販売可能な販売価格がないことを
判定するのには、領域401の全ての販売価格〈ついて
領域405の金額(残額)で販売可能か否かをステップ
201と同様の方法で判定して販売可能なものが1つも
ないことを判定するようKしてもよいが、領域401の
販売価格のうちの最小のものを判別しておいて、この最
小価格より領域405の金額(残額)が少ないことを判
定することにより販売可能な販売価格がないことを判定
するようにすれば実用上十分である。
In step 204, it is determined that there is no sales price that can be sold at the amount in area 405 among the sales prices in area 401, and if there is no sales price that can be sold, the process proceeds to step 205 and the corresponding settlement flag in area 404 is set. otherwise, proceed to step 207 and reset the corresponding settlement flag. In order to determine that there is no sales price that can be sold, it is determined in the same manner as step 201 whether or not all the sales prices in the area 401 can be sold at the amount (remaining amount) in the area 405. Although K may determine that there is no item that can be sold, the minimum selling price of the area 401 is determined, and the amount (remaining amount) of the area 405 is determined from this minimum price. It is practically sufficient to determine that there is no available selling price by determining that there is a small amount.

即ち、この場合、最小価格より領域405の金額(残額
)が大きいときに釣銭切れにより販売可能な販売価格が
ないこともあるが、このような場合は極めて少ないので
実用上問題とはならない。
That is, in this case, when the amount (remaining amount) in the area 405 is larger than the minimum price, there may be cases where there is no available selling price due to lack of change, but such cases are extremely rare and do not pose a problem in practice.

次に、第1図に戻って、ステップ103の販売可判定等
の後、ステップ104では、硬貨選別装置2よりの前述
の返却指令信号が入力され丸か否かを判別し、入力され
ればステップ109に進み、入力されなければステップ
105に進む。ステップ105では、商品選択スイッチ
4の操作により商品が選択されたか否かを判定し、選択
されればステップ106に進み、選択されなければステ
ップ101に戻る。ステップ106では、この選択され
た商品が販売可能か否かを領域403の販売可フラグが
セットされているか否かにより判定し、販売可能であれ
ばステップ107に進み、販売可能でなければステップ
10ユに戻る。ステップ10’7では、選択された商品
について領域404の精算フラグがセットされているか
否かを判定し、セットされていなければステップI11
 、11と進んで、商品搬出装置5を駆動して選択され
た商品を搬出した後、領域402の金額から選択された
(搬出した)商品の販売価格を減算し、その残額を領域
402に記憶してステップ101に戻ってこの残額での
次の商品の販売を可能とする。また、精算フラグがセッ
トされていれば、残額で販売可能なものがないというこ
とであるから、ステップ110に進んで商品搬出装置5
を駆動して選択された商品を搬出すると同時にステップ
108に進んで領域402の金額から選択された商品の
販売価格を減算してその残額を領域402に記憶し、ス
テップ109でこの領域402の金額を釣銭払出装置3
を駆動して払出し、ステップ101に戻る。閘、ここで
、ステップ109の釣銭払出しとステップ110の商品
搬出とは同時に行うように制御するわけであるが、この
同時制御は、一方(例えば釣銭払出し)を通常のメイン
のプログラムで実行し、他方(例えば商品搬出)を所定
時間毎(例えば2ms毎)に実行されるタイマ割込処理
プログラムで実行するようKすれば容易に行うことがで
きる。
Next, returning to FIG. 1, after determining whether the coin can be sold in step 103, in step 104, it is determined whether the above-mentioned return command signal from the coin sorting device 2 is input and round. The process proceeds to step 109, and if no input is made, the process proceeds to step 105. In step 105, it is determined whether or not a product has been selected by operating the product selection switch 4. If the product is selected, the process proceeds to step 106; if not, the process returns to step 101. In step 106, it is determined whether the selected product is sellable or not based on whether the sellable flag in area 403 is set. If the product is sellable, the process proceeds to step 107; if not, step 10 Back to Yu. In step 10'7, it is determined whether or not the payment flag in area 404 is set for the selected product, and if it is not set, step I11
, 11, after driving the product delivery device 5 to transport the selected product, the selling price of the selected (carried out) product is subtracted from the amount in the area 402, and the remaining amount is stored in the area 402. Then, the process returns to step 101 and the next product can be sold at this remaining amount. Further, if the settlement flag is set, it means that there is no item that can be sold for the remaining amount, so the process proceeds to step 110 and the product delivery device 5
At the same time, the process proceeds to step 108 to subtract the sales price of the selected product from the amount in area 402 and store the remaining amount in area 402.In step 109, the amount in area 402 is stored. Change dispensing device 3
is driven to pay out, and the process returns to step 101. Here, change dispensing in step 109 and product delivery in step 110 are controlled to be performed simultaneously, but this simultaneous control is achieved by executing one (for example, change dispensing) in a normal main program, The other step (for example, product removal) can be easily accomplished by setting the timer interrupt processing program to be executed at predetermined intervals (for example, every 2 ms).

以上のように、ステップ103で、そのときの投入金額
(もしくは販売後の残@)で各販売価格が  4販売可
能であるか否かを判定すると共K、各販売価格について
その販売価格の商品が販売されたとした場合の残額で販
売可能な商品がないことも判定しているので、この判定
結果に基づいて、ステップ105 、106 、107
で、販売可能な商品が選択され、残額で販売可能なもの
がないときには、ステップ110 、109で商品搬出
と同時に釣銭の払出しく自動精算)を行うようにして釣
銭払出し時期をより早くしている。
As described above, in step 103, it is determined whether each selling price is 4-saleable based on the input amount at that time (or the balance after the sale), and for each selling price, the product at that selling price is determined. Since it has also been determined that there are no products that can be sold at the remaining amount when the item is sold, steps 105, 106, and 107 are performed based on this determination result.
When a product that can be sold is selected and there is no product that can be sold with the remaining amount, the change is paid out at the same time as the product is taken out in steps 110 and 109 (automatic settlement), thereby making the change payout period earlier. .

〔発明の効果〕〔Effect of the invention〕

以上のような本発明によれば、商品選択前に、各販売価
格についてその販売価格の商品が販売されたとした場合
の残額で販売可能なものがないことを判定しておいて、
商品選択後、この判定結果に基づいて残額で販売可能な
ものがないときには選択商品の搬出と同時に釣銭の払出
しを行うようにしたので、従来装置と比較して釣銭の払
出しがより早く行われ、顧客の待ち時間が少なくなると
いう効果がある。
According to the present invention as described above, before selecting a product, it is determined for each sales price that there is no product that can be sold for the remaining amount if the product at that sales price were sold,
After selecting an item, if there is no item that can be sold for the remaining amount based on the determination result, change is paid out at the same time as the selected item is taken out, so change is paid out more quickly than with conventional devices. This has the effect of reducing customer waiting time.

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

第1図および第2図は本発明の実施例の動作を示すフロ
ーチャート、第3図は実施例の構成を示すブロック図、
第4図は実施例のRAMの主要な記憶領域を示す図であ
る。 1・・・販売制御装置、2・・・硬貨選別装置、3・・
釣銭払出装置、4・・・商品選択スイッチ、5・・商品
搬出装置、401・・・販売価格記憶領域、402・・
・投入金額記憶領域、403・・・販売可フラグ記憶領
域、本04・・・精算フラグ記憶領域、405・・・バ
ッファ領域。 第1図 第2図
1 and 2 are flowcharts showing the operation of the embodiment of the present invention, and FIG. 3 is a block diagram showing the configuration of the embodiment,
FIG. 4 is a diagram showing the main storage areas of the RAM of the embodiment. 1... Sales control device, 2... Coin sorting device, 3...
Change dispensing device, 4...Product selection switch, 5...Product delivery device, 401...Sales price storage area, 402...
- Input amount storage area, 403...Sellable flag storage area, Book 04...Settlement flag storage area, 405...Buffer area. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1)投入金額を算出する手段と、1又は複数の販売価格
を設定する手段と、前記投入金額で前記販売価格が販売
可能であるか否かを各販売価格について判定する第1の
判定手段と、前記投入金額と前記販売価格との差額で販
売可能な販売価格が前記1又は複数の販売価格のうちに
ないことを各販売価格について判定する第2の判定手段
と、前記第1の判定手段の判定結果が販売可能である販
売価格の商品が選択されたときに、当該販売価格につい
ての前記第2の判定手段の判定結果が販売可能な販売価
格がないことを示していれば、当該選択商品の搬出と同
時に釣銭の払出しを行なうように制御する制御手段とを
備えることを特徴とする自動販売機の自動精算制御装置
1) means for calculating an input amount, means for setting one or more selling prices, and a first determining means for determining whether or not the sales price can be sold at the input amount for each sales price; , a second determining means for determining for each selling price that there is no selling price among the one or more selling prices at which the sale can be made for the difference between the input amount and the selling price; and the first determining means When a product with a sales price for which the judgment result is that it can be sold is selected, and the judgment result of the second judgment means for the sales price indicates that there is no sales price at which it can be sold, the selection 1. An automatic payment control device for a vending machine, comprising a control means for dispensing change at the same time as products are taken out.
JP25850084A 1984-12-07 1984-12-07 Automatic settlement controller for vending machine Pending JPS61136193A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25850084A JPS61136193A (en) 1984-12-07 1984-12-07 Automatic settlement controller for vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25850084A JPS61136193A (en) 1984-12-07 1984-12-07 Automatic settlement controller for vending machine

Publications (1)

Publication Number Publication Date
JPS61136193A true JPS61136193A (en) 1986-06-24

Family

ID=17321068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25850084A Pending JPS61136193A (en) 1984-12-07 1984-12-07 Automatic settlement controller for vending machine

Country Status (1)

Country Link
JP (1) JPS61136193A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01120696A (en) * 1987-11-05 1989-05-12 Shibaura Eng Works Co Ltd Vending machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01120696A (en) * 1987-11-05 1989-05-12 Shibaura Eng Works Co Ltd Vending machine

Similar Documents

Publication Publication Date Title
JPH0441414Y2 (en)
JP2740979B2 (en) Vending machine control device
JPH0113588B2 (en)
JPS61136193A (en) Automatic settlement controller for vending machine
JPS6330675B2 (en)
JP2774013B2 (en) Vending machine with multiple buying function
JP2002190057A (en) Vending machine
KR960001453B1 (en) Vending machine
JPH082769Y2 (en) Bulk purchaseable product display device in vending machine
JPS6135597B2 (en)
JPH0525159B2 (en)
JPS6217276B2 (en)
JP3805464B2 (en) Vending machines that can be sold together
JPH0639385Y2 (en) Vending machine controller
JPH0371388A (en) Card type automatic vending machine
JPS6326919B2 (en)
JPS632941Y2 (en)
JPH02150987A (en) Automatic vending machine with change dispensing device
JP2631694B2 (en) Card settlement device
JPH036689A (en) Sale information confirming device for automatic vending machine
JPH0222760Y2 (en)
JPS5922274B2 (en) vending machine
JPH02126391A (en) Automatic vending machine
JPH0670819B2 (en) Vending machine with service sales function
JPH02109192A (en) Automatic vending machine