JPS5929914B2 - Vending machine sales available - Google Patents
Vending machine sales availableInfo
- Publication number
- JPS5929914B2 JPS5929914B2 JP17276283A JP17276283A JPS5929914B2 JP S5929914 B2 JPS5929914 B2 JP S5929914B2 JP 17276283 A JP17276283 A JP 17276283A JP 17276283 A JP17276283 A JP 17276283A JP S5929914 B2 JPS5929914 B2 JP S5929914B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- vending machine
- signal
- output
- machine vending
- 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
【発明の詳細な説明】
〔良質p桐する技術分野〕
本発明は、投入貨幣の投入合計金額を算出して記憶し、
この投入合計金額と販売価格とを比較して販売可の判定
を行う自動販売機の販売可判定装置に関する。[Detailed description of the invention] [Technical field of high quality paulownia] The present invention calculates and stores the total amount of input coins,
It relates to the sales available device of a vending machine that makes a decision that can be sold by comparing the total input price and the selling price.
従来の自動販売機においては、投入合計金額と販売価格
とを比較して、最小単位の貨幣が釣銭有りの場合には投
入合計金額以下の販売価格を販売可とし、最小単位の貨
幣が釣銭無しの場合には投入合計金額と等しい販売価格
のみを販売可としていた。In conventional vending machines, the total amount of money inserted and the selling price are compared, and if the smallest unit of money has change, the selling price is less than the total amount of money inserted, and if the smallest unit of money has change, it is possible to sell at a selling price that is less than the total amount of money inserted In this case, only the selling price equal to the total input amount was allowed to be sold.
このため、最小単位の貨幣が釣銭無しの場合には、高額
の貨幣が釣銭有りであっても、この高額の貨幣が有効に
利用されないという欠点があった。For this reason, if the smallest unit of money does not have change, there is a drawback that even if a large amount of money has change, this large amount of money cannot be used effectively.
本発明は、上述の点に鑑み、最小単位の貨幣が釣銭無し
の場合であっても高額の貨幣の釣銭を有効に利用できる
ようにした自動販売機の販売可判定装置を提供すること
を目的とする。In view of the above-mentioned points, an object of the present invention is to provide a device for determining whether a vending machine can sell, which makes it possible to effectively use change for a large amount of money even when the smallest unit of money does not have change. shall be.
〔発明の要点〕
本発明は、投入合計金額と販売価格とを比較し、最小単
位の貨幣より高額の貨幣が釣銭有りである場合に該高額
の貨幣を用いて釣銭が払出しできる釣銭額を有する販売
価格を販売可とすることによって、高額貨幣の釣銭を有
効に利用して販売機会を増大させようとするものである
。[Summary of the Invention] The present invention compares the total input amount and the selling price, and if a coin with a higher value than the minimum unit of money has change, the amount of change that can be paid out using the higher value coin is determined. By setting the selling price as a sales price, the purpose is to increase sales opportunities by making effective use of change in large denomination coins.
以下、本発明の実施例を図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
なお、実施例においては貨幣さして¥10゜¥50.¥
100の各種コインを用いたものを考える。In addition, in the example, the currency is ¥10゜¥50. ¥
Consider a case using 100 various coins.
第1図は本発明による実施例のブロック図を示している
。FIG. 1 shows a block diagram of an embodiment according to the invention.
図において1はエンコーダ、2は加減算器、3はトータ
ル・ペイアウト用シフトレジスタ、4は¥50枚数レジ
スタ、5は¥100枚数レジスタ、6は釣銭額にと¥5
0とを比較するに≧50コンパレータ、7は商品販売価
格P1 に最高釣銭額¥90を加えるP1+90加算回
路、8は商品販売価格P1に高額の貨幣の額¥50を加
えるP1+50加算回路、9は商品販売価格P2に最高
釣銭額¥90を加えるP2+90加算回路、10は商品
販売価格P2に高額の貨幣の額¥50を加えるP2+5
0加算回路、11は投入合計金額XとPlおよびP1+
50およびP1+90とを比較する商品販売価格P1
用コンパレータ、12は投入合計金額XとP2およびP
2+50およびP2+90とを比較する商品販売価格P
2用コンパレータ、13は商品販売価格P1を設定する
ためのP1用価格設定回路、14は商品販売価格P2を
設定するためのB2用価格設定回路、15はP1用コン
パレータ11の出力により商品販売価格P1の商品の販
売を制御するP1用ベンド制御回路、16はB2用コン
パレータ12の出力により商品販売価格P2の商品の販
売を制御するB2用ベンド制御回路、17はコイン払出
し制御回路、18はコイン詰まり検出回路、19は返金
ラッチ回路、20は自動返金回路、21はセレクトラッ
チ回路、22はCREM制御回路、23は2相りロック
パルス発生回路、24はピットパルス発生回路を示して
いる。In the figure, 1 is an encoder, 2 is an adder/subtractor, 3 is a shift register for total payout, 4 is a ¥50 number register, 5 is a ¥100 number register, 6 is a change amount and ¥5
0 is compared with ≧50 comparator, 7 is a P1 + 90 addition circuit that adds the highest change amount of ¥90 to the product sales price P1, 8 is a P1 + 50 addition circuit that adds the large amount of money ¥50 to the product sales price P1, 9 is a P2+90 addition circuit that adds the highest change amount of ¥90 to the product sales price P2; 10 is a P2+5 addition circuit that adds the highest change amount of ¥50 to the product sales price P2
0 addition circuit, 11 is the total input amount X, Pl and P1+
Product sales price P1 comparing 50 and P1+90
comparator, 12 is the total input amount X, P2 and P
Product sales price P comparing 2+50 and P2+90
13 is a P1 price setting circuit for setting the product sales price P1, 14 is a B2 price setting circuit for setting the product sales price P2, 15 is the product sales price based on the output of the P1 comparator 11 16 is a bend control circuit for B2 that controls the sale of the product with the product selling price P2 based on the output of the B2 comparator 12; 17 is a coin payout control circuit; 18 is a coin payout control circuit; 19 is a refund latch circuit, 20 is an automatic refund circuit, 21 is a select latch circuit, 22 is a CREM control circuit, 23 is a two-phase lock pulse generation circuit, and 24 is a pit pulse generation circuit.
またA1は釣銭¥10無し信号、A2は釣銭¥50無し
信号、B1はコイン払出し信号、B2は¥50コイン払
出し信号、VENDlはPlの商品の販売可能信号、v
END2はB2の商品の販売可能信号、posはコイン
払出し確認信号、POは手動返金入力、S E Llは
商品販売価格P1の商品のセレクト入力、5EL2は商
品販売価格P2の商品のセレクト入力、tl 〜t7は
ビットパルス、ESC・ACCおよびESC−RTRN
はエスクロ内の¥100コイン収金信号および返金信号
を示している。Also, A1 is a ¥10 change change signal, A2 is a ¥50 change change signal, B1 is a coin payout signal, B2 is a ¥50 coin payout signal, VENDl is a signal that the product of Pl can be sold, v
END2 is the sales enable signal for the product in B2, pos is the coin payout confirmation signal, PO is the manual refund input, S E Ll is the selection input for the product with the product sales price P1, 5EL2 is the selection input for the product with the product sales price P2, tl ~t7 is bit pulse, ESC/ACC and ESC-RTRN
indicates a ¥100 coin receipt signal and a refund signal in escrow.
端子■〜■および販売開始信号Tは第2図のそれらと対
応する。Terminals 1 to 2 and the sales start signal T correspond to those in FIG.
実施例においては金額はlO逆進法おける1′″が¥1
0を表わすようにした6ビツトの純2進数で表わされる
。In the example, the amount is 1''' in lO backward system is ¥1
It is expressed as a 6-bit pure binary number that represents 0.
ここで使用されるコインを¥10¥50.¥100であ
るとすると、¥10は’ 000001 ”、¥50は
000101 ”、¥100は’001010”の2進
コードでそれぞれ表わされる。The coin used here is ¥10¥50. If it is 100 yen, 10 yen is represented by the binary code '000001', 50 yen is represented by 000101', and 100 yen is represented by the binary code '001010'.
それゆえ、6ビツトを用いた場合の設定できる最高の販
売価格は630円であり、この最高の販売価格はビット
数を多くすることにより高くすることができる。Therefore, the maximum selling price that can be set when using 6 bits is 630 yen, and this maximum selling price can be increased by increasing the number of bits.
本発明による実施例の動作を第1図に示したブロック図
に基づいて詳細に説明する。The operation of the embodiment according to the present invention will be explained in detail based on the block diagram shown in FIG.
¥10.¥50.¥100のコインの投入があるごとに
投入コインはエンコーダ1により前述のようにその金額
を表わす2進コードに変換されて加減算器2に印加され
、トータル・ペイアウト用シフトレジスタ3に記憶され
ている今までの投入合計金額と加算されて投入合計金額
がトータル・ペイアウト用シフトレジスタ3に記憶され
る。¥10. ¥50. Every time a coin of 100 yen is inserted, the inserted coin is converted by the encoder 1 into a binary code representing the amount as described above, applied to the adder/subtractor 2, and stored in the shift register 3 for total payout. The total amount of input is added to the total amount of input so far, and the total amount of input is stored in the shift register 3 for total payout.
トータル・ペイアウト用シフトレジスタ3は2相のクロ
ックパルスによりシフトされるものである。The total payout shift register 3 is shifted by two-phase clock pulses.
このとき¥100のコインは一時エスクロと称するスペ
ースに保持され、¥lO1¥50のコインはそれぞれの
釣銭筒内に自動的に収納される。At this time, the ¥100 coin is temporarily held in a space called escrow, and the ¥101¥50 coin is automatically stored in each change cylinder.
また¥50.¥100のコインの投入に対してはコイン
の投入があるたびに、その入力パルスは¥50枚数レジ
スタ4および¥100枚数レジスタ5に送られ、それぞ
れの投入枚数が記憶される。Also ¥50. Each time a coin of 100 yen is inserted, the input pulse is sent to the 50 yen coin number register 4 and the 100 yen coin number register 5, and the respective inserted numbers are stored.
コイン投入の際にコイン詰まりがあった場合にはコイン
詰まり検出回路18においてコインの詰まりを検出し、
投入硬貨をそのまま返却する硬貨返却電磁石(Co i
n Re turn El ectromagne t
0以下CREMと称する)CREMの制御回路にその
信号を送り、コインの受入を阻止する機能を有している
。If a coin is jammed when inserting a coin, the coin jam detection circuit 18 detects the coin jam;
Coin return electromagnet (Co i) that returns inserted coins as is.
nReturn El electromagnet
It has the function of sending the signal to the CREM control circuit (referred to as 0 or less CREM) and blocking the acceptance of coins.
従来の装置においてはコイン詰まりが生じていても電源
が一度中断されたのちに再投入された場合にはコイン詰
まりの状態においても最初のコインの投入が可能となっ
たが、この実施例においては、電源再投入後にもコイン
詰まりの状態が持続している場合には電源再投入直後に
コインの受入を阻止するようにしている。In the conventional device, even if a coin is jammed, if the power is interrupted and then turned on again, it is possible to insert the first coin even in the coin jammed state, but in this embodiment If the coin jam condition persists even after the power is turned on again, coin acceptance is prevented immediately after the power is turned on again.
ここでコイン詰まりとはコインが詰まっていてコイン入
力信号が連続的に出されている状態である。Here, a coin jam is a state in which coins are jammed and a coin input signal is continuously output.
商品販売価格は10進法における1”が¥10を表わす
ようにした6ビツトの純2進法による2進コードで表わ
される。The product sales price is expressed in a 6-bit pure binary binary code in which 1" in the decimal system represents ¥10.
この実施例)こおいては1つの自動販売機用電子制御回
路において2つの商品販売価格P1.P2を設定するた
めのP1用価格設定回路13とB2用価格設定回路14
とを設けることにより1つの自動販売機用電子制御回路
において2つの価格の異なる商品の販売を可能とし、こ
の自動販売機用電子制御回路を1つの自動販売機内に複
数個設置することにより多重価格の自動販売機を得るこ
とができる。In this embodiment, one electronic control circuit for a vending machine has two product selling prices P1. P1 price setting circuit 13 and B2 price setting circuit 14 for setting P2
By installing two or more electronic control circuits for vending machines, it is possible to sell products with two different prices using one electronic control circuit for vending machines. You can get vending machines.
この場合P、、P2の値は従来の装置においてPl、B
2のどちらかが必ず大きくなければならないという規定
のあるものもあるが、実施例においてはPl>B2
p Pl =P2 t Pl <B2のどのような設
定でも行なうことが可能である。In this case, the values of P, , P2 are Pl, B in the conventional device.
Some regulations state that either one of B2 must be larger, but in the example, Pl>B2
Any setting of p Pl =P2 t Pl <B2 is possible.
P1用価格設定回路13、B2用価格設定回路14にお
いて設定された6ビツトの純2進法による2進コードの
うちPlの2進コードはP1+501+50加算P1+
901+90加算、B2の2進コードはP2+50加算
回路10とP2+90加算回路9に加えられる。Among the 6-bit pure binary binary codes set in the P1 price setting circuit 13 and the B2 price setting circuit 14, the binary code of P1 is P1+501+50 addition P1+
The binary code of 901+90 addition and B2 is added to the P2+50 addition circuit 10 and the P2+90 addition circuit 9.
P1+50加算回路8、P2+50加算回路10にはそ
のほかにビットパルス発生回路24からt1+t3のビ
ツレ匂しス即ち高額の貨幣の額Y59を表わす°’00
0101”が加えられており、P1+50、P2+50
の加算が行なわれる。In addition to the P1+50 addition circuit 8 and the P2+50 addition circuit 10, the bit pulse generation circuit 24 generates a bit signal of t1+t3, that is, °'00 representing the amount of high-value money Y59.
0101” has been added, P1+50, P2+50
is added.
P1+90加算回路7、P2+90加算回路9にはその
ほかにビットパルス発生回路24よすi1+t、のビッ
トパルス即ち最高釣銭額¥90を表わす’ooiooi
”が加えられており、P1+90、P2+90の加算が
行なわれる。In addition to the P1+90 addition circuit 7 and the P2+90 addition circuit 9, the bit pulse of the bit pulse generation circuit 24, i1+t, that is, 'ooiooi' representing the maximum change amount of ¥90.
” is added, and P1+90 and P2+90 are added.
ビットパルス発生回路24は2相のクロック人ルスφ1
.φ2によりシフトされていくシフトレジスタより構成
され、tl 〜t7のビットパルスをクロックパルス周
期において発生し、そのうちtl 〜t6のビットパル
スが金額を表わすのに使用される。The bit pulse generation circuit 24 has a two-phase clock signal φ1.
.. It is composed of a shift register shifted by φ2, and generates bit pulses from tl to t7 in a clock pulse period, of which the bit pulses from tl to t6 are used to represent the amount of money.
商品販売価格P1 、P1+50 、P1+90、トー
タル・ペイアウト用シフトレジスタ3に記憶されている
投入合計金額Xは商品販売価格P1用コンパレータ11
に、商品販売価格P2.P2+50、P2+90、前記
投入合計金額Xは商品販売価格P 2用コンパレータ1
2にそれぞれ加えられ、その比較結果として商品販売価
格P1 コンパレータ11よりX=P1 、X>Pl
、X>Pl +90、X=P、+50、商品販売価格
P2用コンパレータ12よりX=P2 、X>P2 、
X>P2+90 、 X=P2+50の出力を得ること
ができる。The product sales price P1, P1+50, P1+90, the total input amount X stored in the shift register 3 for total payout is the product sales price P1 comparator 11
, product sales price P2. P2+50, P2+90, the total input amount X is the product selling price P2 comparator 1
2 respectively, and as a result of the comparison, the product selling price P1 is determined by the comparator 11, X=P1, X>Pl
, X>Pl +90, X=P, +50, from the product selling price P2 comparator 12, X=P2, X>P2,
An output of X>P2+90, X=P2+50 can be obtained.
商品販売価格P1用コンパレータ11からの出力はP1
用ベンド制御回路15に、商品販売価格P2用コンパレ
ータ12からの出力はP2用ベンド制御回路16にそれ
ぞれ加えられる。The output from the comparator 11 for product selling price P1 is P1
The output from the product selling price P2 comparator 12 is applied to the P2 bend control circuit 16.
Pl。P2用ベンド制御回路15.16にはそのほかに
釣銭¥10無し信号A1、釣銭¥50無し信号A2が加
えられている。Pl. In addition, a ¥10 change change signal A1 and a ¥50 change signal A2 are added to the bend control circuits 15 and 16 for P2.
実施例において、Pl。P2用ベンド制御回路15,1
6で販売可の判定をされPl、P2の商品の販売可能信
号VEND、。In the examples, Pl. P2 bend control circuit 15,1
6, the products P1 and P2 are determined to be available for sale, and the products P1 and P2 are determined to be available for sale.
VE′ND2が出されるのは次の条件のときである。VE'ND2 is issued under the following conditions.
I) X= Pl or P2G場合、II)
P、 <X≦P1+900r P2〈X≦P2+90で
最小単位の貨幣の¥10釣銭有りの場合、1) X=、
P1+50 or X= P2 + 50で高額の貨幣
の¥50釣銭有りの場合。I) If X= Pl or P2G, II)
P, <X≦P1+900r P2〈X≦P2+90 and if the minimum unit of money is ¥10 change, 1) X=,
If P1 + 50 or X = P2 + 50 and there is ¥50 change for a large amount of money.
本発明は特に■)の条件を導入したところに特徴を有す
るもので、従来装置では¥500高額貨幣)の釣銭があ
る場合でも¥10(最小単位の貨幣)の釣銭が無い場合
には釣銭の必要のある販売は行わなかったのであるが、
■)の条件を導入して商品販売価格P1.P2 と¥5
0(高額貨幣額)とを加算した値P1+50 、P2+
50を投入合計金額Xと比較することにより、¥10の
釣銭のない場合でも¥50の釣銭があり釣銭額が¥50
であるものを販売可としている。The present invention is particularly characterized by the introduction of the condition ①.In the conventional device, even if there is change for ¥500 (high-value coin), if there is no change for ¥10 (the smallest unit of money), the change will be changed. Although we did not conduct sales that were necessary,
■) Introducing the condition of product selling price P1. P2 and ¥5
0 (high amount of money) and the value P1+50, P2+
By comparing 50 with the total input amount
Items that are available for sale are:
即ち、最小単位の貨幣(¥10)より高額の貨幣(¥5
0)が釣銭有りである場合にこの高額の貨幣を用いて釣
銭が払出しできる釣銭額を有する販売価格を販売可とし
ている。In other words, the smallest unit of money (¥10) is higher than the currency (¥5).
0) has change, the selling price is set to be the selling price that has the amount of change that can be paid out using this large amount of money.
客が販売価格P1かP2の商品のいずれかを選択するこ
とによりセレクトラッチ回路21に操作入力5EL1、
あるいは5EL2が送られてきてセレクトラッチ回路2
1によって商品販売価格P1の商品の選択か商品販売価
格P2の商品の選択かを判断し、5EL1 、あるいは
5EL2とほぼ同時に生じる外部からの販売開始信号T
によりエスクロ内に一時保持されていた¥100のコイ
ンを収金するための信号ESC−AeCをエスクロに送
る。When the customer selects either the product with the selling price P1 or P2, an operation input 5EL1 is sent to the select latch circuit 21;
Or 5EL2 is sent and select latch circuit 2
1, it is determined whether the product with the product sales price P1 or the product with the product sales price P2 is selected, and the sales start signal T from the outside is generated almost simultaneously with 5EL1 or 5EL2.
A signal ESC-AeC is sent to the escrow to collect the ¥100 coin temporarily held in the escrow.
次にセレクトラッチ回路21の出力信号は5EL1を選
択したか5EL2を選択したかにより5EL1を選択し
た場合にはP1用価格設定回路13に、5EL2を選択
した場合にはP2用価格設定回路14に送られる。Next, the output signal of the select latch circuit 21 is sent to the P1 price setting circuit 13 when 5EL1 is selected, and to the P2 price setting circuit 14 when 5EL2 is selected, depending on whether 5EL1 or 5EL2 is selected. Sent.
P1用価格設定回路13およびP2用価格設定回路14
においてはセレクトラッチ回路21の出力信号を受は取
ると商品販売価格を表わす2進コードを加減算器2に送
る。P1 price setting circuit 13 and P2 price setting circuit 14
When it receives the output signal of the select latch circuit 21, it sends a binary code representing the product selling price to the adder/subtractor 2.
加減算器2においては、このときトータル・ペイアウト
用シフトレジスタ3に記憶されていた投入合計金額Xか
らP1用価格設定回路13またはP2用価格設定回路1
4より送られてくる販売価格の減算が行なわれる。In the adder/subtractor 2, the P1 price setting circuit 13 or the P2 price setting circuit 1 is calculated from the input total amount X stored in the total payout shift register 3 at this time.
The sales price sent from 4 is subtracted.
即ちx−p、 またはX−P2の減算が行なわれ、その
減算結果Kがトータル・ペイアウト用シフトレジスタ3
に釣銭額として記憶される。That is, subtraction of x-p or X-P2 is performed, and the subtraction result K is sent to the total payout shift register 3.
is stored as the change amount.
この記憶された内容Kが釣銭額を示している。This stored content K indicates the amount of change.
即ちトータル・ペイアウト用シフトレジスタ3は釣銭レ
ジスタの働きをする。That is, the total payout shift register 3 functions as a change register.
このトータル・ペイアウト用シフトレジスタ3の記憶内
容にはに≧50コンパレータ6におくられ、釣銭額Kが
150以上かどうかが比較される。The contents stored in the total payout shift register 3 are sent to a comparator 6 to determine whether the change amount K is 150 or more.
K≧50コンパレータ6には¥50の信号とじてt1+
t3のビットパルスがP1+50加算回路8およびP2
+50加算回路10と同じように加えられている。K≧50 Comparator 6 receives ¥50 signal as t1+
The bit pulse of t3 is P1+50 addition circuit 8 and P2
It is added in the same way as the +50 adder circuit 10.
K≧50コンパレータの出力信号はコイン払出し制御回
路17に送られる。K≧50 The output signal of the comparator is sent to the coin payout control circuit 17.
コイン払出し制御回路17には他に入力として¥50釣
銭無しの信号A2およ°びトータル・ペイアウト用シフ
トレジスタ3に記憶されている釣銭額K、¥50枚数レ
ジスタ4の′投入枚数を表わす出力信号、コイン払出し
確認信号PO8が加えられている。The coin payout control circuit 17 also receives as inputs a signal A2 indicating no ¥50 change, the amount of change K stored in the shift register 3 for total payout, and an output representing the number of ¥50 coins inserted into the register 4. A signal and a coin payout confirmation signal PO8 are added.
コイン払出し制御回路17においてコイン払出し信号B
1.¥50コイン払出し信号B2による釣銭の払出しは
次のように行なわれる。Coin payout signal B in coin payout control circuit 17
1. The payout of change using the ¥50 coin payout signal B2 is performed as follows.
I) K<¥50の場合・・・・・・¥10×n枚で
払い出しくn<5)
n) K4¥50で¥50釣銭有りの場合・・・・・・
¥50×1枚、¥10 X n枚で払い出しくn<5)
I) K≧¥50で¥50釣銭無しの場合・・・・・・
¥10Xn枚で払い出しく10>n>0)
本発明の実施例においてはコインが投入された場合に釣
銭が最高釣銭額¥90以下になる商品の販売だけを可能
とするため釣銭額は必ず¥90以下である。I) If K < ¥50...Pay out ¥10 x n pieces n<5) n) If K4 is ¥50 and there is ¥50 change...
Payout ¥50 x 1 piece, ¥10 x n pieces n<5)
I) If K≧¥50 and there is no ¥50 change...
Payout in ¥10Xn pieces (10>n>0) In the embodiment of the present invention, it is only possible to sell products for which the maximum change amount is ¥90 or less when a coin is inserted, so the change amount is always ¥ 90 or less.
このことはP1用コンパレータ11およびP2用コンパ
レータ12からの出力信号X〉P1+90.X>P2+
90によってP1用ベンド制御回路15およびP2用ベ
ンド制御回路16からのVENDl 、VEND2の販
売可能信号を制御することにより行ない得る。This means that the output signal from the P1 comparator 11 and the P2 comparator 12 is X>P1+90. X>P2+
This can be done by controlling the VEND1 and VEND2 sales enable signals from the P1 bend control circuit 15 and the P2 bend control circuit 16 using the control circuit 90.
コインの払出しの都度、コイン払出し制御回路17はコ
イン払出し確認信号PO8を受は払出し金額を表わす2
進コードを加れ算器2に送り、トータル・ペイアウト用
シフトレジスタ3に記憶されている釣銭額Kから払い出
した釣銭の減算を行なわせる。Each time a coin is paid out, the coin payout control circuit 17 receives a coin payout confirmation signal PO8 indicating the payout amount2.
The decimal code is sent to the adder 2, and the paid change is subtracted from the change amount K stored in the total payout shift register 3.
そしてトータル・ペイアウト用シフトレジスタ3に記憶
されている釣銭額に力げ0″になったところで釣銭の払
い出しを停止させる。Then, when the amount of change stored in the total payout shift register 3 reaches 0'', the payout of change is stopped.
但し釣銭額が150以上の場合にはに≧50コンパレー
タ6の出力信号により¥50釣銭を先に払出し残りを¥
10で払い出すようにしている。However, if the amount of change is 150 or more, ¥50 change will be paid out first and the remainder will be paid out according to the output signal of comparator 6.
I try to pay out at 10.
手動返金を行なう場合には返金ラッチ回路19に手動返
金人力POを加えると一定時間の間に販 。When performing a manual refund, if a manual refund manual PO is added to the refund latch circuit 19, the refund will be sold within a certain period of time.
光開始信号Tのない場合には金額返金が行なわれる。If there is no optical start signal T, the amount will be refunded.
¥100は一時保持されていたエスクロより払出され、
¥100の投入枚数を記憶している¥100枚数レジス
タ5の内容が0″になるまで加減算器2およびトータル
・ペイアウト用シフトレジスタ3によって投入合計金額
Xからの減算を行なう。¥100 will be paid out from the escrow that was temporarily held,
Subtraction is performed from the total input amount X by the adder/subtractor 2 and the total payout shift register 3 until the contents of the ¥100 coin count register 5, which stores the number of ¥100 coins inserted, becomes 0''.
同じく¥50枚数レジスタ4に記憶されている投入枚数
が0”になるまで、加減算器2およびトータル・ペイア
ウト用シフトレジスタ3により投入合計金額Xからの減
算を行なう。Similarly, the adder/subtractor 2 and the shift register 3 for total payout perform subtraction from the total input amount X until the number of input coins stored in the ¥50 coin count register 4 becomes 0''.
この場合、¥50枚数レジスタ4、¥100枚数レジス
タ5の出力信号は第1図のブロック図に示されているよ
うにエンコーダ1を介してそれぞれの金額を表わす2進
コードに変換され、さらに加減算器2により減算が行な
われる。In this case, the output signals of the ¥50 number register 4 and the ¥100 number register 5 are converted into binary codes representing the respective amounts via the encoder 1 as shown in the block diagram of FIG. Subtraction is performed by unit 2.
¥50.¥100を返金したのちのトータル・ペイアウ
ト用シフトレジスタ3の残りの記憶内容力げ0”になる
まで¥10の返金が行なわれる。¥50. After the ¥100 is refunded, the ¥10 is refunded until the remaining memory content of the total payout shift register 3 becomes 0''.
そしてトータル・ペイアウト用シフトレジスタ3の記憶
内容力じ0”になったところで返金は終了する。The refund ends when the memory content of the total payout shift register 3 reaches 0''.
また投入合計金額Xが全ての販売設定価格よりも大きな
場合に全ての販売可能信号が生じない場合には自動返金
制御回路20において判断し、自動的に返金ラッチ回路
19に信号を送り全額返金を行なわせる。In addition, if the total input amount X is larger than all sales set prices and all sale enable signals are not generated, the automatic refund control circuit 20 determines and automatically sends a signal to the refund latch circuit 19 to issue a full refund. Let them do it.
このとき、返金ラッチ回路19はESC−RTRN信号
を送出するとともに、¥50枚数レジスタ4および¥1
00枚数レジスタ5へ信号を送る。At this time, the refund latch circuit 19 sends out the ESC-RTRN signal, and the ¥50 sheet number register 4 and the ¥1
Sends a signal to the 00 sheet count register 5.
またコイン詰まりの生じている場合、販売開始信号がで
きている場合、返金が行なわれている場合にはコインの
受入を阻市する信号CREMがCREM制御回路22よ
り出される。Further, if a coin is jammed, a sales start signal has been generated, or a refund has been made, the CREM control circuit 22 outputs a signal CREM to prevent the coin from being accepted.
以上のような第1図のブロック図)こ基づいた制御回路
の動作は第2図および第3図に示した第1図のブロック
図の実施例の説明により一層明確に示される。The operation of the control circuit based on the block diagram of FIG. 1 as described above will be more clearly illustrated by the description of the embodiment of the block diagram of FIG. 1 shown in FIGS. 2 and 3.
第2図および第3図は第1図に示したブロック図O動作
を行なう一実施例を示す回路である。FIGS. 2 and 3 are circuits showing an embodiment of the operation shown in the block diagram O shown in FIG.
第1図、第2図、第3図に基づいて本発明の詳細な説明
する。The present invention will be explained in detail based on FIGS. 1, 2, and 3.
第2図、第3図において■〜■までの信号は本発明によ
る自動販売機用電子制御回路内の信号であり、他の信号
はこの電子制御回路以外の自動販売機の装置より電子制
御回路に送られてくるものか、あるいは電子制御回路よ
り他の自動販売機の装置へ送られるものである。In FIGS. 2 and 3, the signals from ■ to ■ are signals within the electronic control circuit for a vending machine according to the present invention, and the other signals are from the electronic control circuit from devices of the vending machine other than this electronic control circuit. or sent from the electronic control circuit to other vending machine devices.
第1図におけるエンコーダ1の実施例を示す回路は第2
図においてAND回路25〜27.37゜OR回路28
〜31.38 、NAND回路32〜35、インバータ
回路36,41、サイクルタイマ39、ワイヤードOR
回路WO1から成り立っている。The circuit illustrating the embodiment of the encoder 1 in FIG.
In the figure, AND circuit 25~27.37°OR circuit 28
~31.38, NAND circuits 32 to 35, inverter circuits 36, 41, cycle timer 39, wired OR
It consists of circuit WO1.
最初は本発明による自動販売機用電子制御回路が動作中
であることを表わす記号[F]は”0″であるからAN
D回路25〜27にはインバータ回路41より′l”が
加えられているためコイン入力¥10.¥50.¥10
0があった場合にはそれに対応してAND回路25〜2
7に出力1″が生じ、その出力″l”はOR回路28〜
30にに加えられOR回路28〜30にはAND回路2
5〜27の出力と同・−の出力n 1 tlを生じる。Initially, the symbol [F] indicating that the electronic control circuit for a vending machine according to the present invention is in operation is "0", so AN
Since 'l' is added to D circuits 25 to 27 from the inverter circuit 41, coin input ¥10.¥50.¥10
If there is a 0, AND circuits 25 to 2 correspond to it.
7 produces an output 1'', and the output ``l'' is output from the OR circuit 28~
30 and the AND circuit 2 is added to the OR circuits 28 to 30.
The same output n 1 tl as the outputs 5 to 27 is produced.
またNAND回路32にはtlのビットパルス、NAN
D回路33にはt2のビットパルス、NAND回路34
にはt3のビットパルス、NAND回路35にはt4の
ビットパルスがシフトレジスタSR1から加えられてい
る。In addition, the NAND circuit 32 has a bit pulse of tl, NAND
The D circuit 33 has a bit pulse of t2, and the NAND circuit 34
A bit pulse of t3 is applied to the NAND circuit 35, and a bit pulse of t4 is applied to the NAND circuit 35 from the shift register SR1.
シフトレジスタSR,は第1図のブロック図においてビ
ットパルス発生回路24で示されているもので、2相ダ
イナミツクシフトレジスタであり、2相クロックパルス
φ1.φ2によりシフトされて11〜t7のビットパル
スを発生するように構成する。The shift register SR, which is shown by the bit pulse generation circuit 24 in the block diagram of FIG. 1, is a two-phase dynamic shift register and receives two-phase clock pulses φ1. It is configured to be shifted by φ2 to generate bit pulses 11 to t7.
NAND回路32〜35にはtl 〜t4のビットパル
スのほかにOR回路29〜31の出力が加えられている
。The outputs of the OR circuits 29-31 are applied to the NAND circuits 32-35 in addition to the bit pulses tl-t4.
このようにすることによ・す¥lOのコイン入力があっ
た場合にはこの入力はOR回路28.31を介してNA
ND回路32に加えられるためNAND回路32の出力
はtlのビットパルスに同期するため6ビツトの2進数
において111110”で表わされ、ワイヤードOR回
路WO□を介してインバータ回路36で反転して″oo
oooi”となり′1”を¥lOで表わすようにしてお
くことにより純2進法において¥10を示す2進コード
を得ることができる。By doing this, if there is a coin input of ¥10, this input will be converted to NA via the OR circuit 28.31.
Since it is applied to the ND circuit 32, the output of the NAND circuit 32 is synchronized with the bit pulse of tl, so it is expressed as 111110'' in a 6-bit binary number, and is inverted by the inverter circuit 36 via the wired OR circuit WO□. oo
By expressing '1' as ¥1O, a binary code representing ¥10 in pure binary system can be obtained.
同様にして¥50のコイン入力はNAND回路32,3
4に加えラレ、11.13のビットパルスと同期rるた
めインバータ回路36の出力は000101 ”即ち
¥5,0を示す2進ゴードが現われる。In the same way, the coin input of ¥50 is NAND circuit 32,3
4, Rare, and 11.13 bit pulses, the output of the inverter circuit 36 appears as 000101'', that is, a binary code indicating ¥5,0.
また¥100のコイン入力はNAND回路33,35に
加えられ、12#14のビットパルスに同期してインバ
ータ回路36の出力に001010”即ち、¥100を
示す2進コードが現われる。Further, a coin input of 100 yen is applied to NAND circuits 33 and 35, and 001010'', that is, a binary code indicating 100 yen, appears at the output of the inverter circuit 36 in synchronization with the bit pulse of 12#14.
インバータ回路36の出力はAND回路37に加、えら
れるが、AND回路37には他にサイクルタイマ39か
ら信号が加えられている。The output of the inverter circuit 36 is applied to an AND circuit 37, which also receives a signal from a cycle timer 39.
サイクルタイマ39にはOR回路28〜30の出力がO
R回路38を介して加えられている。The outputs of the OR circuits 28 to 30 are output to the cycle timer 39.
It is applied via the R circuit 38.
即ちサイクルタイマ39は¥10.¥50.¥100の
いずれかのコイン入力があった場合に一定時間、出力”
1″をAND回路37に送る働きをする。In other words, the cycle timer 39 costs ¥10. ¥50. Output for a certain period of time when any coin of ¥100 is input.
1'' to the AND circuit 37.
一定時間とは一般にはt1〜t7のビットパルスの1サ
イクルタイムが用いられる。The fixed time is generally one cycle time of bit pulses from t1 to t7.
故にAND回路37の出力はtl 〜t7の1サイクル
タイム間だけ、即ち¥10.¥50.¥100のコイン
入力を表わすパルスは1回だけしかAND回路37の出
力端から出ないということになるためコインの2重計算
ということは生じない。Therefore, the output of the AND circuit 37 is only for one cycle time from tl to t7, that is, ¥10. ¥50. Since the pulse representing the coin input of 100 yen is output from the output terminal of the AND circuit 37 only once, double counting of coins does not occur.
このAND回路37からの投入合計金額を表わすパルス
は第1図のブロック図に示されているように加減算器2
におくられる。The pulse representing the total input amount from the AND circuit 37 is sent to the adder/subtractor 2 as shown in the block diagram of FIG.
I will be sent to
第1図のブロック図において示された加減算器2、およ
びトータル・ペイアウト用シフトレジスタ3は第2図に
おいてOR回路44、加減算器ADD、シフトレジスタ
SR2、OR回路46から示される部分より成り立って
いる。The adder/subtractor 2 and total payout shift register 3 shown in the block diagram of FIG. 1 are made up of the parts shown in FIG. 2, including an OR circuit 44, an adder/subtractor ADD, a shift register SR2, and an OR circuit 46. .
加減算器ADDは、インバータ43の出力に応じて加算
、減算モードの切換えが行なわれる純2進法の加減算器
(内部の詳細回路については、必要ならば例えば昭和4
6年8月15日、■ラジオ技術社発行「電卓技術教科書
・基礎編」第176頁、第5・8図を参照されたい。The adder/subtracter ADD is a pure binary adder/subtracter that switches between addition and subtraction modes according to the output of the inverter 43 (the detailed internal circuit can be found in the Showa 4
Please refer to Figures 5 and 8, page 176 of "Calculator Technology Textbook - Basic Edition" published by Radio Gijutsusha, August 15, 2006.
)であって、シフトレジスタSR2からの出力に対し、
OR回路44を介して与えられる2進コ一ド信号を加算
または減算し、その結果をシフトレジスタSR2に記憶
する形式のものであるが、これは補数をとって減算を行
なう形式のものでもよく、いずれにしても周知の加。), and for the output from shift register SR2,
This is a type of addition or subtraction of the binary code signals given through the OR circuit 44 and the result is stored in the shift register SR2, but this may also be of a type in which the complement is taken and subtraction is performed. , in any case, it is a well-known addition.
減算器を使用することができる。A subtractor can be used.
このようにすることにより加減算器ADDにおいてはコ
イン入力があった場合にはインバータ回路43よりn
Onが加えられているため加算モードとなり、AND回
路37からの投入金額を表わすパルスは加減算器A D
D ’tこおいて加算され、シフトレジスタSR2に
記憶される。By doing this, in the adder/subtractor ADD, when there is a coin input, the inverter circuit 43
Since ON is added, the addition mode is set, and the pulse representing the input amount from the AND circuit 37 is sent to the adder/subtractor A.D.
D't is added and stored in shift register SR2.
シフトレジスタSR2は2相のクロックパルスによりシ
フトされる2相ダイナミツクシフトレジスタである。Shift register SR2 is a two-phase dynamic shift register shifted by two-phase clock pulses.
第1図のブロック図1でおけるPl、P2用価格設定回
路13.14は第2図においてPRICEl 。The price setting circuits 13 and 14 for P1 and P2 in the block diagram 1 of FIG. 1 are PRICE1 in FIG.
PR工CE2の各端子およびNAND回路83〜94.
98,99、ワイヤードOR回路WO2〜WO□2、イ
ンバータ回路96.97により構成される。Each terminal of PR engineering CE2 and NAND circuits 83-94.
98, 99, wired OR circuits WO2 to WO□2, and inverter circuits 96 and 97.
PRICEl 、PRICE2の各端子のうちNAND
回路83,89と接続されている端子はNAND回路8
3,89がtlのビットパルスが印加されるように接続
されているので、1″の重みをもっており、以下同様に
してNAND回路84,90と接続される端子はn 2
tyの重みをもっており、NAND回路85,91と
接続される端子は“4″の重みをもち、NAND回路8
692と接続される端子は8′′の重みをもち、NAN
D回路87,93と接続される端子は”16′′の重み
をもち、NAND回路88,94と接続される端子は’
32 ”の重みをもつことになり、PRIC’E1の
各端子のどれかに信号を与えることによりNAND回路
83〜88の出力はワイヤードOR回路W02〜WO6
を介してインバータ回路96に接続されているためイン
バータ回路96の出力はNAND回路83〜88の出力
を反転したものであり、商品販売価格P1を表わす6ビ
ツトの純2進法による2進コードをインバータ回路96
の出力として得ることができる。NAND among each terminal of PRICEl and PRICE2
The terminal connected to circuits 83 and 89 is NAND circuit 8
Since terminals 3 and 89 are connected so that the bit pulse of tl is applied, they have a weight of 1'', and the terminals connected to the NAND circuits 84 and 90 in the same manner are n2.
The terminals connected to the NAND circuits 85 and 91 have a weight of "4", and the terminals connected to the NAND circuits 85 and 91 have a weight of "4".
The terminal connected to 692 has a weight of 8'' and is connected to NAN
The terminals connected to the D circuits 87 and 93 have a weight of ``16'', and the terminals connected to the NAND circuits 88 and 94 have a weight of ``16''.
By applying a signal to any of the terminals of PRIC'E1, the outputs of NAND circuits 83 to 88 are connected to wired OR circuits W02 to WO6.
Since the inverter circuit 96 is connected to the inverter circuit 96 through the inverter circuit 96, the output of the inverter circuit 96 is an inversion of the outputs of the NAND circuits 83 to 88, and a 6-bit pure binary code representing the product selling price P1 is generated. Inverter circuit 96
can be obtained as the output of
同様にして商品販売価格P2 も、PRICE2の各端
子のどれかに信号を与えることにより設定することがで
きる。Similarly, the product selling price P2 can also be set by applying a signal to any of the terminals of PRICE2.
このようにして得られる商品販売価格P1゜P2のうち
Pl は第1図のブロック図に示すように、P1+50
加算回路7、P1+90加算何路8に、またP2はP2
+50加算回路9、P2+90加算回路10にそれぞれ
送られる。Of the product selling price P1゜P2 obtained in this way, Pl is P1+50 as shown in the block diagram of Fig. 1.
Addition circuit 7, P1+90 addition circuit 8, and P2
The signals are sent to a +50 adder circuit 9 and a P2+90 adder circuit 10, respectively.
第2図において全加算器FA1、AND回路49、フリ
ップフロップ回路FF1よりなる部分がP1+90加算
回路7であり、今加、算器FA2.AND回路50、フ
リップフロップ回路FF2よりなる部分がP2+90加
算回路9であり、全加算器FA3、AND回路51、フ
リップフロップ回路FF3よりなる部分がP1+50加
算回路8であり、全加算器FA4、AND回路52、フ
リップフロップ回路FF、よりなる部分がP2+50加
算回路10である。In FIG. 2, the portion consisting of the full adder FA1, the AND circuit 49, and the flip-flop circuit FF1 is the P1+90 adder circuit 7; The portion consisting of the AND circuit 50 and the flip-flop circuit FF2 is the P2+90 addition circuit 9, and the portion consisting of the full adder FA3, the AND circuit 51, and the flip-flop circuit FF3 is the P1+50 addition circuit 8, the full adder FA4, and the AND circuit. 52, a flip-flop circuit FF, and a P2+50 addition circuit 10.
全加算器FA1およびFA2には2相シフトレジスタS
R1により作られるt1〜t7のビットパルスのうちt
l と14のビットパルスがOR回路81の出力として
印加されるように接続し、それにより全加算器FA1お
よびFA2には最高釣銭額¥90を表わす2進数″00
1001”が加えられ、全加算器FA、およびFA2か
らはP1+90またはP2+90の出力を得ることがで
きる。Full adders FA1 and FA2 include a two-phase shift register S.
Of the bit pulses t1 to t7 generated by R1, t
The bit pulses of l and 14 are connected to be applied as the output of the OR circuit 81, so that the full adders FA1 and FA2 receive the binary number "00" representing the maximum change amount of ¥90.
1001'' is added, and an output of P1+90 or P2+90 can be obtained from the full adders FA and FA2.
また全加算器FA3およびFA4には同様にしてtlと
13のビットパルスによるOR回路80の出力として高
額の貨幣の額¥50を表わす2進数” 000101
”を印加し、その出力としてP1+50およびP2+5
0を得ることができる。In addition, the full adders FA3 and FA4 similarly receive a binary number "000101" representing the denomination amount of ¥50 as the output of the OR circuit 80 based on the bit pulses of tl and 13.
” and its output is P1+50 and P2+5
You can get 0.
第1図のブロック図におけるP1用コンパレータ11は
第2図においてコンパレータCOMP2〜COMP、t
たP2用コンパレータ12はコンパレータCOMP6〜
COMP9より構成される部分である。The comparator 11 for P1 in the block diagram of FIG. 1 is the comparator COMP2 to COMP, t in FIG.
The comparator 12 for P2 is the comparator COMP6~
This is a part consisting of COMP9.
コンパレータCOMP2には投入合計金額Xを表わす6
ビツトの2進コードとインバータ回路96の出力即ち商
品販売価格P1を純2進法により表わした6ビツトの2
進コードが印加され、その比較結果としてx>plの信
号■が得られる。Comparator COMP2 shows 6 representing the total input amount X.
The 6-bit binary code and the output of the inverter circuit 96, that is, the product selling price P1, are expressed in pure binary notation.
A decimal code is applied, and as a result of the comparison, a signal ■ where x>pl is obtained.
コンパレータCOMP3には投入合計金額Xを純2進法
で表わした6ビツトの2進コードと先に述べた全加算器
FA1 よりP1+90を純2進法により表わした6ビ
ツトの2進コードとが印加されており、その比較結果と
してX>P1+90の信号■が得られる。A 6-bit binary code representing the total input amount X in pure binary notation and a 6-bit binary code representing P1+90 in pure binary notation from the aforementioned full adder FA1 are applied to comparator COMP3. As a result of the comparison, a signal (2) with X>P1+90 is obtained.
コンパレータCOMP4にはコンパレータCOMP2と
同じ入力が印加されており、その比較結果としてX=P
1の信号■が得られる。The same input as comparator COMP2 is applied to comparator COMP4, and the comparison result is X=P
1 signal ■ is obtained.
コンパレータCOMP。には投入合計金額Xを純2進法
により表わした6ビツトの2進コードと、前述の全加算
器FA3よりP1+50を純2進法により表わした6ビ
ツトの2進コードとが印加されており、その比較結果と
してX=P1+50の信号[F]が得られる。Comparator COMP. A 6-bit binary code representing the total input amount X in pure binary notation and a 6-bit binary code representing P1+50 in pure binary notation from the aforementioned full adder FA3 are applied to . , a signal [F] of X=P1+50 is obtained as a result of the comparison.
商品販売価格P2に対しては商品販売価格P2に対して
は商品販売価格P1 と同様にしてコンパレータCOM
P6からX>P2の信号■、コンパレータCOMP7か
らはX>P2+90の信号■、コンパレータCOMP8
からはX=P2の信号■、コンパレータCOMP、から
はX=P2+50の信号■が得られる。For the product sales price P2, the comparator COM
Signal ■ of X>P2 from P6, signal ■ of X>P2+90 from comparator COMP7, signal ■ of X>P2+90 from comparator COMP8
A signal (2) with X=P2 is obtained from the comparator COMP, and a signal (2) with X=P2+50 is obtained from the comparator COMP.
第2図に示したコンパレータCOMP2〜COMP、の
出力信号■X>Pl 、■X>P1+90、■X=P1
、[F]X=P1+50 、■X〉P2 、■X>P
2+90 、■X=P2 、■X=P2+50は第3図
に示すようにNAND回路100.101、AND回路
102,106゜108、OR回路105 、107、
インバータ回路109,110、NOR回路118、フ
リップフロップ回・賂FF1□からなるP1用ベンド制
御回路、あるいはNAND回路111,112、AND
回路113,116,119、OR回路114.117
、インバータ回路115,110、NOR回路118、
フリップフロップ回路FF13からなるP2用ベンド制
御回路に加えられる。Output signals of comparators COMP2 to COMP shown in FIG. 2: ■X>Pl, ■X>P1+90, ■X=P1
, [F]X=P1+50, ■X>P2, ■X>P
2+90, ■X=P2, ■X=P2+50 are NAND circuits 100, 101, AND circuits 102, 106°108, OR circuits 105, 107,
P1 bend control circuit consisting of inverter circuits 109, 110, NOR circuit 118, flip-flop circuit and FF1□, or NAND circuits 111, 112, AND
Circuits 113, 116, 119, OR circuits 114, 117
, inverter circuits 115, 110, NOR circuit 118,
It is added to the P2 bend control circuit consisting of flip-flop circuit FF13.
商品販売価格P1の商品について考えてみるとX=P1
のとき、X=P1の信号■はOR回路105に加えられ
、OR回路105の出力はAND回路106の一方の入
力となる。Considering a product with a product sales price of P1, X=P1
At this time, the signal (2) with X=P1 is applied to the OR circuit 105, and the output of the OR circuit 105 becomes one input of the AND circuit 106.
AND回路106の他方の入力はOR回路82の出力す
なわちP −oという信号■が加えられているため商品
販売価格P1がOでないときには′1″が加えられてい
るためX=P1の信号■がきた場合にはOR回路107
の出力としてAND回路108の2つの入力端子のうち
の一方の入力端子”1”を加える。The other input of the AND circuit 106 has the output of the OR circuit 82, that is, the signal ■ P −o, so when the product selling price P1 is not O, '1'' is added, so the signal ■ of X=P1 is applied. If it is, the OR circuit 107
One input terminal "1" of the two input terminals of the AND circuit 108 is added as the output of the AND circuit 108.
AND回路108の他方の入力端子はNOR回路118
の出力端子と接続されている。The other input terminal of the AND circuit 108 is the NOR circuit 118
is connected to the output terminal of
NOR回路118の2つの入力端子にはワイヤードAN
D回路WA3およびフリップフロップ回路FF1、から
の信号が送られてくる。The two input terminals of the NOR circuit 118 are wired AN
Signals are sent from D circuit WA3 and flip-flop circuit FF1.
フリップフロップ回路FF1□は後述のように客が押ボ
タン等により商品の選択を行ない5EL1、あるいは5
EL2および、それと多少遅れて生じる商品が販売され
たというSEL信号eまたは返金信号■が生じるまでは
リセットされた状態にあるため、NOR回路118への
フリップフロップ回路FF1.からの入力は0″である
。The flip-flop circuit FF1□ is used when the customer selects a product using a push button, etc., as described later.
Since it is in a reset state until EL2 and the SEL signal e indicating that the product has been sold, or the refund signal ■, which occurs a little later than that, the flip-flop circuits FF1. The input from is 0″.
ワイヤードAND回路WA3には入力としてフリップフ
ロップ回路FF15の出力をインバータ回路149にて
反転したものとフリップフロップ回路FF、8の出力を
インバータ回路147で反転したものとNAND回路1
56の出力とが加えられている。The wired AND circuit WA3 has as inputs the output of the flip-flop circuit FF15 inverted by the inverter circuit 149, the output of the flip-flop circuit FF, 8 inverted by the inverter circuit 147, and the NAND circuit 1.
56 outputs are added.
手動返金人力POがないときにはフリップフロップ回路
FF1.はセットされていないためインバータ回路14
9の出力は”1”、また販売開始信号Tがない場合には
フリップフロップ回路FF18はセットされていないた
め・インバータ回路147の出力は1”である。When there is no manual refund manual PO, flip-flop circuit FF1. is not set, so the inverter circuit 14
The output of the inverter circuit 147 is "1", and since the flip-flop circuit FF18 is not set when there is no sales start signal T, the output of the inverter circuit 147 is "1".
NAND回路156には入力としてフリップフロップ回
路FF1.の出力と5INGという信号とが加えられて
いる。The NAND circuit 156 has flip-flop circuits FF1. The output of 5ING and the signal 5ING are added.
5INGとは実施例においては2つの価格設定回路を有
しているので、一方の価格設定回路のみを使用する場合
には価格設定数選択信号5INGとして“0″2つの価
格設定回路を使用する場合には”l”というように加え
る。5ING has two price setting circuits in the embodiment, so if only one price setting circuit is used, the price setting number selection signal 5ING is "0" when two price setting circuits are used. Add "l" etc.
5ING信号の状態Iζかかわらず、販売開始信号TO
ないときにはNAND回路156の出力は1 t+であ
る。5 Regardless of the state of the ING signal Iζ, the sales start signal TO
When not present, the output of the NAND circuit 156 is 1 t+.
それゆえ販売開始信号T、手動返金人力POのないとき
にはワイ’UnぜドAND回路WA3の出力は1″であ
り、この出力をインバータ回路160にて反転してNO
R回路118の入力として″0″を加える。Therefore, when there is no sales start signal T or manual refund manual PO, the output of the wide 'Unzed AND circuit WA3 is 1'', and this output is inverted by the inverter circuit 160 to indicate NO.
“0” is added as an input to the R circuit 118.
それゆえ販売開始信号T、手動返金人力POがない場合
にはNOR回路118の出力はH1?+でありOR回路
107の出力が1”となったときに79717171回
路FF1□をセットして販売価格P1の商品を選択する
ことができるという販売可能信号VEND1を生じて、
客が販売価格P1の商品を選択するのを可能にさせる。Therefore, if there is no sales start signal T or manual refund PO, the output of the NOR circuit 118 is H1? +, and when the output of the OR circuit 107 becomes 1'', the 79717171 circuit FF1□ is set to generate a sellable signal VEND1 indicating that the product with the selling price P1 can be selected.
To enable a customer to select a product with a selling price P1.
商品販売価格P2の商品についてもまったく商品販売価
格P1の商品の場合と同様であり、OR回路95よりP
=Oという信号のに基づいて行なわれ、フリップフ
ロップ回路FF13よりvEND2という販売可能信号
を得ることができる。The product with the product sales price P2 is exactly the same as the product with the product sales price P1, and the OR circuit 95
=O, and a sales ready signal vEND2 can be obtained from the flip-flop circuit FF13.
この販売可能信号VEND1、または■END2に基づ
いて自動販売機には商品販売価格P1 またはP2の商
品を選択することができるという表示が行なわれ、客が
どちらかを選ぶことにより5EL1または5EL2とい
う信号が販売開始信号Tとともに本発明による自動販売
機用電子制御回路装置こ送られてくる。Based on this sellable signal VEND1 or ■END2, a display is displayed on the vending machine indicating that the customer can select the product with the product sales price P1 or P2, and when the customer selects either of the products, a signal of 5EL1 or 5EL2 is displayed. is sent along with the sales start signal T to the electronic control circuit device for vending machines according to the present invention.
即ち販売開始信号Tは商品を販売したという信号である
。That is, the sales start signal T is a signal that the product has been sold.
またX>Plの信号■を生じさせるようなコインの投入
があった場合には、X>Plの信号■はAND回路10
2に加えられ、AND回路102の他の入力としてX〉
90の信号■をNOT回路109により反転させたもの
と、高額の貨幣の¥50釣銭無し信号A2をNOT回路
110にて反転したものとX=P1+50の信号■とを
NAND回路100に加えてその出力を最小単位の貨幣
の¥lO釣銭無し信号A1 とともにNAND回路10
1に加えて得られるNAND回路101の出力とを加え
ておくことにより、X>P、’および。In addition, if a coin is inserted that causes the signal ■ of X>Pl, the signal ■ of X>Pl will be generated by the AND circuit 10.
2 and as the other input of the AND circuit 102
The signal ■ of 90 is inverted by the NOT circuit 109, the ¥50 no change signal A2 of large amount of money is inverted by the NOT circuit 110, and the signal ■ of X=P1+50 are added to the NAND circuit 100. The output is the minimum unit of money, ¥10, and the no change signal A1 is sent to the NAND circuit 10.
1 and the output of the NAND circuit 101 obtained, X>P,' and.
X≦P1+90で最小単位の貨幣の¥10の釣銭のある
場合にはAND回路102に出力f′1 jlを生じ、
その出力をOR回路105に加えることにより、前述の
X=P1の場合と以下同様にしてVENDlの販売可能
信号が得られる。If X≦P1+90 and there is change in the minimum unit of ¥10, an output f'1 jl is generated in the AND circuit 102,
By applying the output to the OR circuit 105, the sales enable signal of VENDl is obtained in the same manner as in the case of X=P1 described above.
またX=P1+50のときで最小単位の貨幣の¥10の
釣銭がなく高額の貨幣の¥50の釣銭がある場合には、
NAND回路100には°°1″とn 11+が加えら
れるためその出力は0″であり、その出力?+ 071
が¥10釣銭無しを示す1′′とともにNAND回路1
01に加、えられるためNAND回路101の出力は”
1”となり、X=P1+50はX>PlおよびX≦P1
+90をみたしているので、AND回路102の入力
はすべで1″となるため前述のX>Plのときと同様に
VENDlの販売可能信号を得ることができる。Also, when X = P1 + 50, if there is no change for the smallest unit of ¥10, but there is change for the highest amount of ¥50, then
Since °°1" and n11+ are added to the NAND circuit 100, its output is 0", and its output? +071
NAND circuit 1 with 1'' indicating ¥10 no change
01, so the output of the NAND circuit 101 is "
1”, and X=P1+50 is X>Pl and X≦P1
+90, the inputs of the AND circuit 102 are all 1'', and therefore the sales enable signal of VENDl can be obtained in the same way as when X>Pl described above.
商品販売価格P2についてもX>P2 、X−P2+5
0の場合には商品販売価格P1のときとまったく同様に
考えることにより販売可能信号vEND2の出力を得る
ことができる。Regarding the product sales price P2, X>P2, X−P2+5
In the case of 0, the output of the sellable signal vEND2 can be obtained by thinking in exactly the same way as in the case of the product selling price P1.
販売開始信号Tが生じることによりこの実施例O装置に
おいては次のことが行なわれる。When the sales start signal T is generated, the following occurs in this embodiment O device.
販売開始信号TはOR回路154の入力として加えられ
、OR回路154の出力はAND回路155に加えられ
る。The sales start signal T is applied as an input to an OR circuit 154, and the output of the OR circuit 154 is applied to an AND circuit 155.
AND回路155には他に入力としてフリップフロップ
回路FF16とFF1□の出力を入力としたNOR回路
159の出力が加えられている。The AND circuit 155 also has the output of a NOR circuit 159 which receives the outputs of the flip-flop circuits FF16 and FF1□ as inputs.
フリップフロップ回路F F16の出力は販売開始信号
Tが生じているときには、N Onであり、またフリッ
プフロップ回路FF、□の出力はフリップフロップ回路
FF18の出力がn O#+のままであるからNOR回
路159の出力は′1″であり、それゆえOR回路15
4に出力″l”が生じることによりフリップフロップ回
路FF1□がセットされる。The output of the flip-flop circuit FF16 is NON when the sales start signal T is generated, and the output of the flip-flop circuit FF, □ is NOR because the output of the flip-flop circuit FF18 remains nO#+. The output of circuit 159 is '1'', therefore OR circuit 15
4, the flip-flop circuit FF1□ is set.
この出力は遅延回路Delay4により100ms遅れ
てOR回路157の出力としてAND回路158に加え
られる。This output is delayed by 100 ms by delay circuit Delay4 and is applied to AND circuit 158 as the output of OR circuit 157.
AND回路158には他の入力として前述のNOR回路
159より“1″が加えられているためOR回路157
の出力としてI nが生じることによりフリップフロッ
プ回路FF18がセットされる。Since "1" is added to the AND circuit 158 from the aforementioned NOR circuit 159 as another input, the OR circuit 157
The flip-flop circuit FF18 is set by the generation of I n as the output of .
フリップフロップ回路FF18の出力によりエスクロ内
に保持されていた¥100のコインの収金信号ESC−
Aceを発生させる。Receipt signal ESC- of the ¥100 coin held in the escrow by the output of the flip-flop circuit FF18
Generates an Ace.
またフリップフロップ回路FF18の出力″1″はAN
D回路131に5EL1の信号とともに、または、AN
D回路132に5EL2の信号とともに加えられる。Also, the output "1" of the flip-flop circuit FF18 is AN
to the D circuit 131 together with the signal of 5EL1, or
It is applied to the D circuit 132 together with the signal of 5EL2.
5EL1.5EL2の信号は販売開始信号Tとほぼ同時
に発生するものであるので、フリップフロップ回路FF
18の出力″′1″が生じるときにはすでに5EL1か
5EL2のいずれかがAND回路131または132に
加えられている。Since the signals 5EL1 and 5EL2 are generated almost simultaneously with the sales start signal T, the flip-flop circuit FF
When the output "'1" of 18 is generated, either 5EL1 or 5EL2 has already been applied to the AND circuit 131 or 132.
故にフリップフロップ回路FF18の出力″1″が生じ
ると同時にAND回路131または132より出力II
I nが生じ、AND回路131の出力はAND回路
141の2つの入力端子の一方の端子に直接に、他方の
端子にインバータ回路161、ワイヤードOR回路WO
14−WO15インバータ回路143、サイクルタイマ
163を介して加えられる。Therefore, at the same time that the output "1" of the flip-flop circuit FF18 is generated, the output II from the AND circuit 131 or 132 is generated.
In occurs, the output of the AND circuit 131 is directly connected to one of the two input terminals of the AND circuit 141, and the other terminal is connected to the inverter circuit 161 and the wired OR circuit WO.
14-WO15 is applied via the inverter circuit 143 and the cycle timer 163.
サイクルタイマ163を介してAND回路141に加え
ることによりAND回路141の出力はビットパルスt
1〜17間隔で1回だけ生じることになる。By applying it to the AND circuit 141 via the cycle timer 163, the output of the AND circuit 141 becomes the bit pulse t.
It will occur only once every 1 to 17 intervals.
また同様にAND回路132の出力はAND回路142
の2つの入力端子の一方の端子に直接に、他方の端子に
NOT回路162、ワイヤードOR回路WO13、NO
T回路143、サイクルタイマ163を介して加えられ
るためAND回路142の出力はビットパルスt1〜t
7の間隔で1回だけ生じる。Similarly, the output of the AND circuit 132 is output from the AND circuit 142.
The NOT circuit 162, the wired OR circuit WO13, and the NO circuit are directly connected to one of the two input terminals of the
Since the bit pulses are applied via the T circuit 143 and the cycle timer 163, the output of the AND circuit 142 is the bit pulse t1 to t.
Occurs only once every 7.
AND回路141の出力を5EL1信号■、AND回路
142の出力を5EL2信号■とすると、5EL1信号
■は第2図におけるNAND回路98に加えられる。Assuming that the output of the AND circuit 141 is the 5EL1 signal ■, and the output of the AND circuit 142 is the 5EL2 signal ■, the 5EL1 signal ■ is applied to the NAND circuit 98 in FIG.
NAND回路98には他に゛入力としてインバータ回路
96から商品販売価格P1を表わす2進コードが加えら
れているため5EL1信号■が加えられることにより商
品販売価格P1を表わす2進コードはワイヤードOR回
路WO□2、インバータ回路79、OR回路44を介し
て加減算器ADDに加えられる。The NAND circuit 98 also has a binary code representing the product selling price P1 from the inverter circuit 96 as an input, so by adding the 5EL1 signal ■, the binary code representing the product selling price P1 is converted to a wired OR circuit. It is applied to the adder/subtractor ADD via WO□2, the inverter circuit 79, and the OR circuit 44.
即ち、5EL1信号■はt1〜t7の間隔で1回だけ生
じるわけであるので、OR回路44の出力は商品販売価
格P1を表わす2進コードが1回だけ生じる。That is, since the 5EL1 signal (2) is generated only once in the interval from t1 to t7, the output of the OR circuit 44 is a binary code representing the product selling price P1.
加減算器ADDには他の入力としてインバータ回路43
よりコイン入力信号■のないときにはl”が加えられて
いるため減算モードとなり、加減算器ADDにおいて投
入合計金額Xから商品販売価格P1の減算が行なわれ、
釣銭額KがシフトレジスタSR2に記憶される。The adder/subtracter ADD has an inverter circuit 43 as another input.
When there is no coin input signal ■, l'' is added, so the subtraction mode is entered, and the adder/subtractor ADD subtracts the product selling price P1 from the total input amount X.
The change amount K is stored in the shift register SR2.
商品販売価格P2についてもまったく同様であり、5E
L2信号■がNAND回路99に加えられて、あとは商
品販売価格P1 と同様のことが行なわれる。The same is true for the product sales price P2, and 5E
The L2 signal ■ is applied to the NAND circuit 99, and the rest is carried out in the same way as for the product selling price P1.
これらの釣銭額の演算は、第3図のサイクルタイマ16
3゛の出力が消滅すると、インバータ140の出力力じ
1″となる。These change amounts are calculated using the cycle timer 16 in FIG.
When the output of 3'' disappears, the output power of the inverter 140 becomes 1''.
AND回路133にはインバータ140の出力と、既に
1 jlとなっているSEL信号θと、シフトレジスタ
SR2の内容が0でないときに1”となる信号■とが与
えられているため、サイクルタイマ163の出力消滅時
にシフトレジスタSR2の内容(すなわち釣銭額)が0
でないときには、AND回路133は出力を出し、OR
回路134を介してコイン払出し信号B1を発して釣銭
払出し動作を開始させる。Since the AND circuit 133 is supplied with the output of the inverter 140, the SEL signal θ which is already 1 jl, and the signal ■ which becomes 1'' when the contents of the shift register SR2 are not 0, the cycle timer 163 When the output disappears, the contents of shift register SR2 (i.e. change amount) become 0.
If not, the AND circuit 133 outputs an output, and the OR circuit 133 outputs an output.
A coin payout signal B1 is issued via the circuit 134 to start the change payout operation.
次に釣銭の払出しの動作を説明する。Next, the operation of paying out change will be explained.
投入合計金額Xから商品販売価格P1 またはP2を減
量した釣銭額Kを表わすシフトレジスタSR2の記憶内
容は第1図においてに≧50コンパレータ6を示すとこ
ろのコンパレータCOMP1に送られ¥50と比較され
る。The stored contents of the shift register SR2 representing the change amount K obtained by subtracting the product selling price P1 or P2 from the total input amount X are sent to the comparator COMP1 where ≧50 comparator 6 is shown in FIG. 1 and compared with ¥50. .
コンパレータCOMP1の出力はAND回路77に加え
られるが、AND回路77には他の入力として¥50釣
銭無し信号A2をインバータ回路FF18の出力信号で
あるところのSEL信号信号炉加えられている。The output of the comparator COMP1 is applied to an AND circuit 77, which also has a ¥50 no change signal A2 as another input, which is the SEL signal signal output signal of the inverter circuit FF18.
故に¥50の釣銭硬貨があり、釣銭額が150以上とな
る商品が販売された場合にはAND回路77の出力に1
″が生じ、OR回路76の出力として¥50釣銭払出し
信号B2が生じ、これと前述のコイン払出し信号B1
とを用いて¥50の釣銭の払出しが行なわれる。Therefore, if there is a change coin of 50 yen and a product with a change amount of 150 yen or more is sold, the output of the AND circuit 77 will be 1.
'' occurs, and the ¥50 change payout signal B2 is generated as the output of the OR circuit 76, and this and the above-mentioned coin payout signal B1 are generated.
A change of ¥50 is paid out using the .
OR回路76の出力はAND回路74に加えられ、AN
D回路74には他の入力として釣銭払出し確認信号PO
8が加えられており、¥50の釣銭が払い出されたとき
にAND回路74に出力″1″が生じ、この出力はOR
回路29に加えられてコイン投入の場合と同じように¥
50を表わす2進コードに変換されて加減算器ADDに
加えられるが、このときには加減算器ADDの他の入力
であるインバータ回路43の出力はAND回路25〜2
7の出力が0″であるため′1″であり、それゆえ加減
算器ADDは減算モードとなるため釣銭額にと¥50の
減算が行なわれる。The output of the OR circuit 76 is added to the AND circuit 74,
The D circuit 74 receives a change payout confirmation signal PO as another input.
8 is added, and when ¥50 change is paid out, an output "1" is generated in the AND circuit 74, and this output is ORed.
It is added to circuit 29 and ¥ is added in the same way as when inserting a coin.
It is converted into a binary code representing 50 and added to the adder/subtracter ADD, but at this time, the output of the inverter circuit 43, which is the other input of the adder/subtracter ADD, is input to the AND circuits 25 to 2.
Since the output of 7 is 0'', it is ``1'', and therefore the adder/subtractor ADD is in the subtraction mode, so that 50 yen is subtracted from the change amount.
そして釣銭額Kが¥50よりも小さくなるとAND回路
77の出力は0″になるためOR回路76、インバータ
回路75を介してAND回路73に′l″が加えられる
。When the change amount K becomes less than 50 yen, the output of the AND circuit 77 becomes 0'', so that ``1'' is added to the AND circuit 73 via the OR circuit 76 and the inverter circuit 75.
AND回路73にはAND回路74と同じ釣銭払出し確
認信号PO8が加えられており、AND回路73はAN
D回路74と同じように釣銭が払い出されるたびに、そ
の出力信号”1 uをOR回路28に送り釣銭額Kから
の¥10の減算を行なう。The same change payout confirmation signal PO8 as the AND circuit 74 is added to the AND circuit 73;
Like the D circuit 74, every time change is dispensed, the output signal "1 u" is sent to the OR circuit 28 to subtract 10 yen from the change amount K.
¥10の釣銭の払出しは、¥50の釣銭を減算したのち
にシフトレジスタSR2に記憶された釣銭額Kがなおも
残っている場合にはOR回路46よりシフトレジスタS
R2に記憶内容が残っているという信号■が引き続き生
じているので、AND回路133、OR回路134から
は引き続きコイン払出し信号B1 が出されており9、
これと¥50コイン払出し信号B2が消滅したという条
件とにより行なわれる。To pay out change of ¥10, if the change amount K stored in shift register SR2 still remains after subtracting change of ¥50, OR circuit 46 sends change to shift register S.
Since the signal (2) indicating that the memory contents remain in R2 continues to be generated, the AND circuit 133 and the OR circuit 134 continue to output the coin payout signal B19.
This is done based on this and the condition that the ¥50 coin payout signal B2 has disappeared.
これらは公知の技術であり、一般に信号B1は釣銭払出
しモータに、信号B2は¥50.¥10切換ソレノイド
に与えられる。These are known techniques, and generally the signal B1 is applied to the change dispensing motor, and the signal B2 is applied to the ¥50.00 change dispensing motor. ¥10 is given to the switching solenoid.
¥50釣銭払出しが¥10釣銭払出しに優先するため、
最小枚数の釣銭の払出しが可能となる。Because paying out ¥50 change has priority over paying out ¥10 change,
It becomes possible to pay out the minimum number of change.
次に返金の場合を考える。Next, consider the case of refund.
まず手動返金の場合について述べる。First, we will discuss the case of manual refund.
OR回路40より生じるコイン入力信号■はOR回路1
20に加えられOR回路120の出力はAND回路12
1に加えられる。The coin input signal ■ generated from the OR circuit 40 is the OR circuit 1
20 and the output of the OR circuit 120 is added to the AND circuit 12.
Added to 1.
AND回路121には入力としてNOR回路122の出
力が加えられる。The output of the NOR circuit 122 is added to the AND circuit 121 as an input.
NOR回路122には販売開始信号TとSEL信号eを
NOR回路148、インバータ回路150を介して得ら
れるインバータ回路150の出力とが加えられているた
め販売開始信号Tのない場合にはNOR回路122の出
力は″1″であるためコイン入力信号■があった場合に
はAND回路121の出力にn 1 nが生じてフリッ
プフロップ回路FF1.がセットされる。Since the sales start signal T and the SEL signal e are added to the NOR circuit 122 and the output of the inverter circuit 150 obtained through the NOR circuit 148 and the inverter circuit 150, when the sales start signal T is not present, the NOR circuit 122 Since the output of FF1. is set.
フリップフロップ回路FF14の出力は手動返金人力P
OとともにAND回路123に加えられる。The output of flip-flop circuit FF14 is manual refund P.
It is added to the AND circuit 123 along with O.
故に手動返金人力POが生じた場合にはAND回路12
3に出力f+ 191が生じ、NOR回路124を介し
てAND回路125に加えられる。Therefore, when manual refund manual PO occurs, AND circuit 12
3, an output f+ 191 is generated and applied to the AND circuit 125 via the NOR circuit 124.
AND回路125には他の入力として前述のNOR回路
122と同じ入力を加えたNOR回路126の入力が加
えられているため、OR回路124の出力II 1 ?
+加えられることによりAND回路125の出力が1″
となりフリップフロップ回路FF15がセットされる。Since the AND circuit 125 has, as another input, the input of a NOR circuit 126 to which the same input as the aforementioned NOR circuit 122 is added, the output II 1 ? of the OR circuit 124?
+, the output of the AND circuit 125 becomes 1″
As a result, flip-flop circuit FF15 is set.
フリツプフロップ回路FF1.の出力は遅延回路Del
ay2 pOR回路145を介してAND回路146
に加えられる。Flip-flop circuit FF1. The output of is the delay circuit Del
AND circuit 146 via ay2 pOR circuit 145
added to.
AND回路146には他に入力として前述のNOR回路
148の出力が加えられているためSEL信号eが生じ
ていない場合には”1″が生じているためAND回路1
46に出力”l 91が生じ、フリップフロップ回路F
R16がセットされて返金信号■を得ることができる
。Since the output of the above-mentioned NOR circuit 148 is added to the AND circuit 146 as an input, when the SEL signal e is not generated, "1" is generated, so the AND circuit 1
An output "l91" is produced at 46, and the flip-flop circuit F
R16 is set and the refund signal ■ can be obtained.
このようにすることにより手動返金人力POを加える以
前に販売開始信号Tが生じた場合にはフリップフロップ
回路FF1.はリセットされるため返金信号■は得。By doing this, if the sales start signal T is generated before the manual refund PO is applied, the flip-flop circuit FF1. ■ is a refund signal because it is reset.
られす、また手動返金人力POが加えられた後でも遅延
回路Delay2の遅延時間中に販売開始信号Tまたは
SEL信号eが生じた場合にはフリップフロップ回路F
F15をリセットさせて販売開始信号T、SEL信号e
を優先させる。In addition, even after the manual refund PO is applied, if the sales start signal T or SEL signal e is generated during the delay time of the delay circuit Delay2, the flip-flop circuit F
Reset F15 and send sales start signal T, SEL signal e
Prioritize.
手動返金人力POの端子にはそのほかに後述の自動返金
信号ATPOが加えられる。In addition, an automatic refund signal ATPO, which will be described later, is added to the terminal of the manual refund manual PO.
自動返金は次の場合に行なわれる。Automatic refunds will be made in the following cases:
即ち前述のフリップフロップ回路F:F12の出力をイ
ンバータ回路127を介しTワイヤードAND回路WA
1に、また前述のフリップフロップ回路FF13の出力
をインバータ回路128を介してワイヤードAND回路
WA1に加え、ワイヤードAND回路WA1の出力をA
ND回路129に加える。That is, the output of the aforementioned flip-flop circuit F:F12 is passed through the inverter circuit 127 to the T-wired AND circuit WA.
1, the output of the aforementioned flip-flop circuit FF13 is added to the wired AND circuit WA1 via the inverter circuit 128, and the output of the wired AND circuit WA1 is connected to the wired AND circuit WA1.
It is added to the ND circuit 129.
またX〉Plの信号■とx=p1の信号■とをOR回路
103に加え、X>R2の信号■とX=P2の信号■と
をOR回路104に加え、OR回路103とOR回路1
04の出力とをワイヤードAND回路WA2に加えて、
ワイヤードAND回路WA2の出力をAND回路129
に加える。Also, the signal ■ of X>Pl and the signal ■ of x=p1 are added to the OR circuit 103, the signal ■ of X>R2 and the signal ■ of X=P2 are added to the OR circuit 104, and the OR circuit 103 and the OR circuit 1
04 output to the wired AND circuit WA2,
The output of wired AND circuit WA2 is connected to AND circuit 129.
Add to.
このようにすることによりワイヤードAND回路WA2
には全ての販売価格よりも大きいか、等しい金額を投入
した場合に出力”1”が生じ、ワイヤードAND回路W
A1の出力にはフリップフロップ回路FF12.FF1
3の出力が生じていないときに”1″′が生じ、AND
回路129により自動返金信号ATPOが得られる。By doing this, wired AND circuit WA2
If you input an amount that is greater than or equal to all sales prices, an output of "1" will occur, and the wired AND circuit W
The output of A1 is a flip-flop circuit FF12. FF1
"1"' is generated when the output of 3 is not generated, and
Circuit 129 provides an automatic refund signal ATPO.
即ち、本実施例においては最高限度までコインを投入し
ても販売可能信号VEND1 、VEND2が両方共生
じない場合には自動的に返金を行なうようにしている。That is, in this embodiment, even if coins are inserted to the maximum limit, if neither of the sellable signals VEND1 and VEND2 occurs, the money is automatically refunded.
この自動返金信号ATPOは前述の手動返金人力POの
ところに加えられ、同じようにして返金信号■を得るこ
とができる。This automatic refund signal ATPO is added to the manual refund manual PO described above, and the refund signal (2) can be obtained in the same manner.
このようにして得られる返金信号■により返金は次のよ
うにして行なわれる。Refunds are made in the following manner based on the refund signal (2) obtained in this manner.
実施例においては第1図のブロック図に示すように¥5
0.¥100のコインの投入に対しては¥50枚数レジ
スタ4、¥100枚数レジスタ5を設けて、その投入枚
数を計数している。In the embodiment, as shown in the block diagram of FIG.
0. For the insertion of 100 yen coins, a 50 yen coin count register 4 and a 100 yen coin count register 5 are provided to count the number of coins inserted.
すなわち第2図において¥50枚数レジスタがR1、¥
100枚数レジスタがR2で示されている。In other words, in Figure 2, the ¥50 number register is R1, ¥
The 100 sheet count register is indicated by R2.
レジスタR1,R2は入力が加えられるたびにフリップ
フロップ回路を順次セットしていくもので、レジスタR
1は15枚すなわち750円までの¥50のコインの投
入を計数でき、レジスタR2は8枚(800円)までの
コインの投入を計数することができる。Registers R1 and R2 sequentially set the flip-flop circuit each time an input is applied.
Register R2 can count up to 15 ¥50 coins (up to 750 yen), and register R2 can count up to 8 coins (800 yen).
¥50枚数レジスタR1にはAND回路26よりの¥5
0コイン入力入力跡送られてきており、さらに¥50コ
イン入力入力跡サイクルタイマ39の出力とともにAN
D回路53に加えられ、AND回路53の出力はOR回
路54に加えられている。The ¥50 sheet number register R1 receives ¥5 from the AND circuit 26.
0 coin input trace has been sent, and in addition, ¥50 coin input trace has been sent along with the output of cycle timer 39.
The output of the AND circuit 53 is applied to the OR circuit 54.
¥50のコイン入力信号があるたびにサイクルタイマ3
9かうt1〜t7のビットパルス周期の間だけAND回
路53に信号が加えられるOR回路54の出力パルス信
号によ゛す¥50のコインの投入枚数が¥50枚数レジ
スタR1に記憶される。Cycle timer 3 every time there is a coin input signal of ¥50
The number of ¥50 coins inserted is stored in the ¥50 coin count register R1 based on the output pulse signal of the OR circuit 54, which applies a signal to the AND circuit 53 only during the nine bit pulse periods from t1 to t7.
同様にしてAND回路27からの¥100コイン入力信
号は¥100枚数レジスタR2に加えられる。Similarly, the ¥100 coin input signal from the AND circuit 27 is added to the ¥100 coin number register R2.
さらに、¥100コイン入力信号はサイクルタイ?′3
9の出力とともにAND回路64に加えられ、AND回
路64の出力はOR回路67に加えられているためOR
回路の出力パルスにより¥100コイン入力信号が¥1
00枚数レジスタR2に記憶される。Furthermore, is the ¥100 coin input signal a cycle tie? '3
9 is applied to the AND circuit 64, and the output of the AND circuit 64 is applied to the OR circuit 67, so the OR
The ¥100 coin input signal becomes ¥1 due to the output pulse of the circuit.
00 sheets number register R2.
返金信号■が生じると同時にエスクロ内に保持されてい
た¥100のコインの返金信号ESC・RTRNが出さ
れてエスクロ内に保持されていた¥100のコインの返
金が行なわれる。At the same time as the refund signal ■ is generated, a refund signal ESC/RTRN for the ¥100 coin held in the escrow is issued, and the ¥100 coin held in the escrow is refunded.
¥50枚数レジスタR1にはOR回路58、AND回路
59、インバータ回路60、フリップフロップ回路FF
6よりなる回路が、付属されており、¥50コイン入力
が¥50枚数レジスタに加えられると同時にフリップフ
ロップ回路FF6をセットし、¥50枚数レジスタの記
憶内容が0”になったときにフリップフロップ回路FF
6をリセットしてフリップフロップ回路FF6の出力に
より150枚数レジスタR1の記憶内容を判断できるよ
うにしている。¥50 The number register R1 includes an OR circuit 58, an AND circuit 59, an inverter circuit 60, and a flip-flop circuit FF.
A circuit consisting of 6 is attached.When the ¥50 coin input is added to the ¥50 coin count register, the flip-flop circuit FF6 is set at the same time, and when the memory content of the ¥50 coin count register becomes 0'', the flip-flop circuit FF6 is set. circuit FF
6 is reset, so that the stored contents of the 150 sheet number register R1 can be judged from the output of the flip-flop circuit FF6.
¥100枚数レジスタR2にも同様にOR回路69、A
ND回路70、インバータ回路72、フリップフロップ
回路FF7よりなる回路が付属されており、フリップフ
ロップ回路FF7の出力により¥100枚数レジスタの
記憶内容が判断できるようにしている。Similarly, the OR circuit 69 and A are connected to the ¥100 number register R2.
A circuit consisting of an ND circuit 70, an inverter circuit 72, and a flip-flop circuit FF7 is attached, and the contents of the ¥100 number register can be determined based on the output of the flip-flop circuit FF7.
返金信号■が生じると返金信号■はAND回路66に加
えられ、AND回路66の他の入力としてクロックパル
スφ3を加えておくことによりAND回路66にはクロ
ックパルスφ3に同期した出力が得られる。When the refund signal ■ is generated, the refund signal ■ is applied to the AND circuit 66, and by adding the clock pulse φ3 as another input to the AND circuit 66, the AND circuit 66 can obtain an output synchronized with the clock pulse φ3.
AND回路66の出力と¥1.00枚数レジスタR2お
よびフリップフロップ回路FF7を入力とするOR回路
71の出力とがAND回路65に加えられるためフリッ
プフロップ回路FF7の出力が”1″である場合、すな
わち¥100レジスタR2に¥100のコインの投入枚
数が記憶されている間はAND回路65に出力″171
を生じてOR回路67の出力として100枚数レジスタ
R2にパルスを与えて¥lOO枚数レジスタR2の記憶
を順次出力端の方に移動させていく。Since the output of the AND circuit 66 and the output of the OR circuit 71 whose inputs are the ¥1.00 number register R2 and the flip-flop circuit FF7 are added to the AND circuit 65, when the output of the flip-flop circuit FF7 is "1", In other words, while the number of ¥100 coins inserted is stored in the ¥100 register R2, the output "171" is output to the AND circuit 65.
A pulse is given to the 100 sheet number register R2 as the output of the OR circuit 67, and the memory in the ¥100 sheet number register R2 is sequentially moved toward the output end.
¥100枚数レジスタR2の出力端より信号が出される
とその信号はAND回路65の出力とともにAND回路
68に加えられ、¥100枚数レジスタR2の出力端よ
り信号が出されて¥100の記憶枚数が減算されるたび
にAND回路68から生じる出力″″1 jlをOR回
路30に加えて前述の¥50.¥lOの釣銭払出しのと
きと同様にシフトレジスタSR2に記憶されている投入
合計金額Xからの¥100の減算を行なう。When a signal is output from the output end of the ¥100 sheet count register R2, that signal is added to the AND circuit 68 along with the output of the AND circuit 65, and a signal is output from the output end of the ¥100 sheet count register R2, and the number of ¥100 sheets is stored. Every time the subtraction is performed, the output ""1 jl generated from the AND circuit 68 is added to the OR circuit 30 and the above-mentioned ¥50. In the same way as when paying out change of 100 yen, 100 yen is subtracted from the total input amount X stored in the shift register SR2.
このようにして¥100枚数レジスタR2に記憶されて
いる枚数を順次減算することにより¥100枚数レジス
タR2の記憶内容が空になる。In this way, by sequentially subtracting the number of sheets stored in the ¥100 sheet number register R2, the stored contents of the \100 sheet number register R2 are emptied.
¥100枚数レジスタR2の記憶内容が空になることに
よりOR回路71の出力は0″となり、NOR回路61
の一方の入力に0”が加えられるとともにインバータ回
路56の出力としてAND回路63に”1″が加えられ
る。Since the memory contents of the ¥100 number register R2 become empty, the output of the OR circuit 71 becomes 0'', and the NOR circuit 61
0" is added to one input of the inverter circuit 56, and "1" is added to the AND circuit 63 as the output of the inverter circuit 56.
AND回路63には他に入力として¥50枚数レジスタ
の出力端からの信号、返金信号■、OR回路46からの
信号■が加えられている。The AND circuit 63 also receives as inputs a signal from the output end of the ¥50 number register, a refund signal (2), and a signal (2) from the OR circuit 46.
¥50が投入されていた場合にはフリップフロップ回路
FF6がセットされているためNOR回路61の出力、
したがってAND回路62の出力◎はただちには生じな
いが、AND回路57、OR回路54を介して150枚
数レジスタR1は¥100枚数レジスタR2と同時にそ
の記憶内容を出力端の方に移動させられているため、記
憶内容により前後はあるものの短時間ののちに150枚
数レジスタR1は出力を生じる。If ¥50 is inserted, the flip-flop circuit FF6 is set, so the output of the NOR circuit 61,
Therefore, the output ◎ of the AND circuit 62 does not occur immediately, but the stored contents of the 150 sheet number register R1 and the 100 sheet number register R2 are simultaneously moved toward the output terminal via the AND circuit 57 and the OR circuit 54. Therefore, the 150-sheet count register R1 produces an output after a short period of time, depending on the stored contents.
この出力は、一方ではインバータ60を介してフリップ
フロップFF6をリセットさせてAND回路57を介す
るそれ以上の記憶内容の移動を阻止するとともに、NO
R回路61に出力を生じさせAND回路62を介して始
めてQを発生させる。This output, on the one hand, resets the flip-flop FF6 via the inverter 60 to prevent further movement of the memory contents via the AND circuit 57, and also
The R circuit 61 produces an output, and the Q signal is generated only through the AND circuit 62.
150枚数レジスタR1の出力は、他方ではAND回路
63に与えられ、その結果AND回路63に出力N 1
uが生じ、その出力はOR回路76に加えられ、前述
の¥50釣銭払出しのときと同様に¥50払出し信号B
2 と、前述のAND回路62の出力◎を第3図のOR
回路134を通じて得たコイン払出し信号B1 とに
より¥50のコインを払出し、その釣銭払出し確認信号
PO8によりトータル・ペイアウト用シフトレジスタS
R2の記憶内容から¥50を減算していく。The output of the 150 sheets number register R1 is given to the AND circuit 63 on the other hand, and as a result, the output N1 to the AND circuit 63 is given to the AND circuit 63.
u is generated, its output is added to the OR circuit 76, and the ¥50 payout signal B is generated as in the case of paying out ¥50 change previously.
2 and the output ◎ of the above-mentioned AND circuit 62 are ORed together in Fig. 3.
The coin payout signal B1 obtained through the circuit 134 pays out a coin of ¥50, and the change payout confirmation signal PO8 causes the total payout shift register S to be paid out.
Subtract ¥50 from the memory contents of R2.
釣銭払出し確認信号PO8はAND回路55に加えられ
、AND回路55には他に入力として150枚数レジス
タR1の出力端からの信号とインバータ回路56の出力
が加えられており、¥100枚数レジスタR2の記憶内
容が空であり、150枚数レジスタR1に記憶内容があ
る場合には釣銭払出し確認信号PO8を受けることによ
りAND回路55には出力”1″を生じ、この出力はO
R回路54を介して150枚数レジスタR1に送られ、
150枚数レジスタR1の記憶内容を出力端の方にひと
つだけ移動させる。The change payout confirmation signal PO8 is applied to the AND circuit 55, and the AND circuit 55 also receives as input the signal from the output terminal of the 150-piece number register R1 and the output of the inverter circuit 56, and the signal from the ¥100-piece number register R2. If the memory content is empty and there is memory content in the 150 coins register R1, an output of "1" is generated in the AND circuit 55 by receiving the change payout confirmation signal PO8, and this output is O.
It is sent to the 150 sheet count register R1 via the R circuit 54,
150 The stored contents of the number register R1 are moved by one toward the output end.
このことを150枚数レジスタR1の記憶内容が空にな
るまで行なう。This process is repeated until the contents of the 150-sheet count register R1 become empty.
150枚数レジスタR1の記憶内容が空になることによ
ってAND回路63の出力″1”が消えて¥50のコイ
ンの払出しを終る。When the stored contents of the 150-coin number register R1 become empty, the output "1" of the AND circuit 63 disappears, and the payout of 50 coins ends.
¥50枚数レジスタ、¥100枚数レジスタの記憶内容
が空になったときにシフトレジスタSR2に記憶内容が
残りOR回路46より出力■が生じている場合には、依
然としてAND回路62は出力◎を生じているため、O
R回路134を介してコイン払出し信号B1 が出続け
ており、これと¥50コイン払出し信号B2が消滅した
という条件にもとづいて釣銭払出し時と同様にして¥l
Oコインの払出しを行なわせる。When the stored contents of the ¥50 sheet count register and the ¥100 sheet count register become empty, if the stored contents remain in the shift register SR2 and the OR circuit 46 generates the output ■, the AND circuit 62 still generates the output ◎. O
The coin payout signal B1 continues to be output via the R circuit 134, and based on this and the disappearance of the ¥50 coin payout signal B2, the ¥50 coin payout signal B1 is issued in the same way as when paying out change.
Make O coins payout.
そして前述のT10の釣銭払出しのときと同様に釣銭払
出し確認信号PO8によりトータル・ペイアウト用シフ
トレジスタSR2からの減算を行ないOR回路46の出
力■力げ0″になるまで、すなわちシフトレジスタSR
2の記憶内容が空になるまでT10のコインの払出しを
行なわせる。Then, in the same way as the change payout at T10 described above, the change payout confirmation signal PO8 is used to subtract from the total payout shift register SR2 until the output of the OR circuit 46 becomes 0'', that is, the shift register SR
The coins of T10 are paid out until the memory contents of No. 2 become empty.
このようにして、¥50枚数レジスタR1と¥100枚
数レジスタR2を設けることにより返金の場合に同額、
開祖合せのコインの返金を行なうことができる。In this way, by providing the ¥50 number register R1 and the ¥100 number register R2, in the case of refund, the same amount,
You can get a refund for the founder matching coins.
実施例においては、コイン詰まり時に対処するために、
コイン入力信号■があった場合にその信号をAND回路
15102つの入力端に一方は直接に、他方は遅延回路
Delay3を介して加えることにより、遅延時間をす
ぎてもコイン人力■が生じている場合にはAND回路1
51に出力″1″が生じ、この出力をOR回路153に
加えることによりOR回路153の出力″′1″によっ
て、その後のコインの投入を阻止させることができる。In the embodiment, in order to deal with coin jams,
When there is a coin input signal ■, by applying that signal to the two input terminals of the AND circuit 1510, one directly and the other through the delay circuit Delay3, if the coin input signal ■ is still occurring even after the delay time has passed. is AND circuit 1
51 produces an output "1", and by applying this output to the OR circuit 153, the output "1" of the OR circuit 153 can prevent subsequent coin insertion.
但し遅延回路Delay3の遅延時間はコインの入力信
号時間に比べて十分長いものであり、ここでは300m
5ecという値を用いている。However, the delay time of the delay circuit Delay3 is sufficiently long compared to the coin input signal time, and here it is 300 m.
A value of 5ec is used.
この方法によれば電源が中断されたのち再投入された場
合にもコイン入力信号が生じるようなコイン詰まりに対
しては遅延時間後にコインの投入を阻止することができ
る。According to this method, it is possible to prevent coin insertion after a delay time in the case of a coin jam in which a coin input signal is generated even when the power is interrupted and then turned on again.
実施例において、CREMオフ状態(コイン受入阻止状
態)になるのはそのほかに次の場合がある。In the embodiment, the CREM off state (coin acceptance inhibited state) may occur in the following other cases.
即ち、前述のワイヤードAND回路WA2に出力″1”
が生じた場合。That is, the output "1" is output to the wired AND circuit WA2 mentioned above.
If this occurs.
すなわち、投入合計金額が全ての商品販売価格以上にな
った場合には、これ以上のコインの投入の必要がないの
で、それ以後のコインの受入を阻止するようにする。In other words, when the total amount of coins inserted exceeds the selling price of all the products, there is no need to insert any more coins, so the system prevents further coins from being accepted.
また販売開始信号Tが送られてきたときおよび手動返金
人力PO,自動返金信号ATPOが送られてきたときに
はコインの受入を阻止させる。Further, when the sales start signal T is sent, the manual refund manual PO, and the automatic refund signal ATPO are sent, coin acceptance is blocked.
このことはワイヤードAND回路WA2の出力、販売開
始信号T1フリップフロップ回路FF1.とFF、□の
出力をOR回路152に加えて得られるOR回路の出力
をそれぞれOR回路1530入力として加えることによ
りOR回路153の出力によって、CREM制御を行な
うようにすることにより実施することができる。This means that the output of the wired AND circuit WA2, the sales start signal T1, the flip-flop circuit FF1. This can be implemented by adding the outputs of FF and □ to the OR circuit 152 and adding the outputs of the obtained OR circuits as inputs to the OR circuit 1530, so that the CREM control is performed by the output of the OR circuit 153. .
販売、釣銭払出し、返金などの動作が終了した場合には
次の販売に備える状態に自動販売機用電子制御回路を移
行させるための動作(以下「クリア」と呼ぶ)が次のよ
うに行なわれる。When operations such as selling, dispensing change, and refunding are completed, an operation (hereinafter referred to as "clearing") for transitioning the electronic control circuit for the vending machine to a state in preparation for the next sale is performed as follows. .
即ちコイン払出し信号B1 はインバータ回路136を
介してNAND回路137に加えられている。That is, the coin payout signal B1 is applied to the NAND circuit 137 via the inverter circuit 136.
NAND回路137は他に入力として返金信号■とSE
L信号eをOR回路135に加えて得られるOR回路の
出力を直接に、および遅延回路De l a y 1を
介して加えた3人力から成り立っている。The NAND circuit 137 also receives the refund signal ■ and SE as inputs.
It consists of three people: the L signal e is applied to the OR circuit 135, and the output of the OR circuit obtained is applied directly and via the delay circuit Delay 1.
それゆえコイン払出し信号B1 がなく返金信号■また
はSEL信号eが生じた場合には遅延回路Delay1
の遅延時間後にNAND回路137の出力が”0″とな
る。Therefore, if there is no coin payout signal B1 and a refund signal ■ or SEL signal e occurs, the delay circuit Delay1
After a delay time of , the output of the NAND circuit 137 becomes "0".
遅延回路Delay1の遅延時間は実施例装置の他の動
作時間に比べて十分に長いものであり、ここでは2秒と
いう値を用いている。The delay time of the delay circuit Delay1 is sufficiently long compared to other operating times of the embodiment device, and a value of 2 seconds is used here.
NAND回路137の出力はワイヤードOR回路WO1
3に加えられる。The output of the NAND circuit 137 is wired OR circuit WO1
Added to 3.
ワイヤードOR回路WO03にはそのはかに外部からク
リアしないという信号「マテクリナ信号とNAND回路
130の出力とが入力として加えられている。The wired OR circuit WO03 is supplied with a signal "Mateclina signal" which is not cleared from the outside and the output of the NAND circuit 130 as inputs.
クリア信号は内部におEXT
いて自動クリア信号ACLを得ようとするときに用いる
もので、常時はn 1 tyである。The clear signal is internally used when attempting to obtain the automatic clear signal ACL, and is normally n 1 ty.
NAND回路130にはSEL信号eとワイヤードOR
回路WO□4およびWO15の出力が加えられており、
ワイヤードオア回路は入力のいずれか力じ0″になるこ
とにより出力力げ0″に変化するものであるからEXT
、NAND回路130または137のいずれかが出力″
′0”となることによりワイヤードOR回路WO13の
出力の変化がインバータ回路138に加えられ、インバ
ータ回路138の出力によりフリップフロップ回路FF
1□の出力が反転して、フリップフロップ回路FF1□
の出力が1″のときにインバータ回路139に出力とし
て自動クリア信号ACL(iが得られる。The NAND circuit 130 has a wired OR with the SEL signal e.
The outputs of circuits WO□4 and WO15 are added,
Since the wired-OR circuit changes the output power to 0'' when any input force becomes 0'', EXT
, either the NAND circuit 130 or 137 outputs
'0'', the change in the output of the wired OR circuit WO13 is applied to the inverter circuit 138, and the output of the inverter circuit 138 causes the flip-flop circuit FF to change.
The output of 1□ is inverted and the flip-flop circuit FF1□
When the output of 1'' is 1'', an automatic clear signal ACL(i) is obtained as an output to the inverter circuit 139.
ACL信号■はコンパレータCOMP −COMP9
に加えられてコンパレータCOMP1〜COMP、をリ
セットさせる。ACL signal ■ is comparator COMP-COMP9
is added to reset the comparators COMP1 to COMP.
このように第1図にブロック図で示した自動販売機用電
子制御回路の動作は第2図、第3図により達成すること
ができるが、第1図、第2図に示されている2つの価格
設定回路をさらにふやし、他の回路もそれに合せること
により1つの自動販先様用電子制御回路において2つ以
上の価格の異なった商品の販売も可能である。In this way, the operation of the electronic control circuit for vending machines shown in the block diagram in FIG. 1 can be achieved as shown in FIGS. 2 and 3; By further increasing the number of price setting circuits and matching other circuits, it is possible to sell products with two or more different prices using one electronic control circuit for automatic sales customers.
本発明の以上の操作はコインだけではなく、たとえば1
000円、500円紙幣と100円硬貨を用いるものに
おいても適用し得ることはもちろんである。The above operations of the present invention are not limited to coins, for example,
Of course, the present invention can also be applied to those using 000 yen and 500 yen banknotes and 100 yen coins.
以上のような本発明によれば、最小単位の貨幣より高額
の貨幣が釣銭有りである場合に該高額の貨幣を用いて釣
銭が払出しできる釣銭額を有する販売価格を販売可とす
るようにしたので、高額貨幣の釣銭が有効に利用できて
販売機会を増大させることができる。According to the present invention as described above, when a coin with a higher value than the minimum unit of money has change, the selling price is set such that the amount of change can be paid out using the higher value coin. Therefore, change in large denominations can be used effectively and sales opportunities can be increased.
第1図は本発明の実施例のブロック図、第2図。
第3図は第1図の実施例の回路図を示している。
1・・・・・・エンコーダ、2・・・・・・加減算器、
3・・・・・・トータル・ペイアウト用シフトレジスタ
、4・・・・・・¥50枚数レジスタ、5・・・・・・
¥100枚数レジスタ、6・・・・・・K≧50″1ン
パレータ、7・・・・・・Pl +90加算器、8・・
・・・・P1+50加算器、9・・・・・・P2+90
加算器、10・・・・・・P2+50加算器、11・・
・・・・P1用コンパレータ、12・・・・・・P2用
コンパレータ、13・・・・・・P1用価格設定回路、
14・・・・・・P2用価格設定回路、15・・・・・
・P1用ベンド制御回路、16・・・・・・P2用ベン
ド制御回路、17・・・・・・コイン払出し制御回路、
18・・・・・・コイ″ン詰まり検出回路、19・・・
・・・返金ランチ回路、20・・・・・・自動返金回路
、21・・・・・・セレクトラッチ回路、22・・・・
・・CREM制御回路、23・・・・・・2相りロック
パルス発生回路、24・・・・・・ビットパルス発生回
路、25〜27.37.49〜53,55,57゜59
.62〜66.68,70,73,74゜77.102
,106,108,113,116゜119.121,
123,125,129゜131〜133,141,1
42,146゜151.155,158・・・・・・A
ND回路、28〜31.38,40,44,46,54
,58゜67.69,71,76.80〜82,95゜
103〜105,107,114,117゜120.1
24,134,135,145゜152〜154,15
7・・・・・・OR回路、32〜35.83〜94.9
8〜101,111゜112.130,137,156
・・・・・・NANDAND回路、61,118,12
2,126゜148.159・・・・・・NOR回路、
36,41゜43.56,60,72,75,78,7
9゜96.97,109,110,115,127゜1
28.136,138〜140,143゜147.14
9,150,160〜162・・・・・・インバータ回
路、39,163・・・・・・サイクルタイマ、Del
ayl 〜Delay4=遅延回路、FF1〜FF4.
FF1□〜FF18・・・・・・フリップフロップ回路
、COMP1〜COMP、・・・・・・コンパレータ、
WOl 〜WO1,・・・・・・ワイヤードOR回路、
WA1〜WA3・・・・・・ワイヤードOR回路、SR
1。
SR2・・・・・・2相ダイナミツクシフトレジ、り、
R1,R2・・・・・・レジスタ、FA1〜FA、・・
・・・・全加算器、PRICEl 、2・・・・・・商
品販売価格設定端子、PO8・・・・・・コイン払出し
確認信号、AT PO・・・・・・自動返金信号、PO
・・・・・・手動返金入力、A1・・・・・・¥10釣
銭無し信号、A2・・・・・・¥50釣銭無し信号、B
1・・・・・・コイン払出し信号、B2・・・・・・¥
50コイン払出し信号、T・・・・・・販売開始信号、
vENDl 、2・・・・・・販売可能信号、ESC・
RTRN・・・・・・エスクロ内コ″イン返金信号、E
SC・ACC・・・・・・エスクロ内コイン収金信号、
EXT。
CL・・・・・・外部クリア信号、5ING・・・・・
・価格設定数選択信号、■・・・・・・コイン入力信号
、■・・・・・・返金信号、■・・・・・・シフトレジ
スタSR2記憶内容存在楡号、■・・・・・・X>P1
信号、■・・・・・・x>p1十90信号、■・・・・
・・−X=P1信号、■・・・・・・自動クリア信号A
CL、■・・・・・・X>P2信号、■・・・・・・X
〉P2+90信号、■・・・・・・X=P2信号、■・
・・・・・P1=0信号、■・・・・・・P2=O信号
、θ・・・・・・セレクト信号SEL、■・・・・・・
セレクト信号5EL1 。
■・・・・・・セレクト信号5EL2、■・・・・・・
自動販売機用電子制御回路動作信号、■・・・・・・¥
10コイ′ン払出し信号、[F]・・・・・・X=P1
+50信号、■・・・・・・X=P2+50信号、5E
L1.5EL2・・・・・・セレクト入力信号、CRE
M・・・・・・コイン受入阻止信号、tl 〜t7・・
・・・・ビットパルス、φ1.φ2.φ3・・・・・・
クロックパルス。FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention. FIG. 3 shows a circuit diagram of the embodiment of FIG. 1...Encoder, 2...Adder/subtractor,
3...Shift register for total payout, 4...¥50 number register, 5...
¥100 number register, 6...K≧50''1 amparator, 7...Pl +90 adder, 8...
...P1+50 adder, 9...P2+90
Adder, 10...P2+50 adder, 11...
...Comparator for P1, 12...Comparator for P2, 13...Price setting circuit for P1,
14... Price setting circuit for P2, 15...
・Bend control circuit for P1, 16...Bend control circuit for P2, 17...Coin payout control circuit,
18... Coin jam detection circuit, 19...
... Refund lunch circuit, 20 ... Automatic refund circuit, 21 ... Select latch circuit, 22 ...
...CREM control circuit, 23...Two-phase lock pulse generation circuit, 24...Bit pulse generation circuit, 25~27.37.49~53,55,57゜59
.. 62~66.68,70,73,74゜77.102
,106,108,113,116°119.121,
123,125,129°131-133,141,1
42,146゜151.155,158...A
ND circuit, 28-31.38, 40, 44, 46, 54
,58°67.69,71,76.80~82,95°103~105,107,114,117°120.1
24,134,135,145°152~154,15
7...OR circuit, 32-35.83-94.9
8~101,111゜112.130,137,156
・・・・・・NANDAND circuit, 61, 118, 12
2,126°148.159...NOR circuit,
36,41°43.56,60,72,75,78,7
9゜96.97,109,110,115,127゜1
28.136,138~140,143°147.14
9,150,160-162... Inverter circuit, 39,163... Cycle timer, Del
ayl~Delay4=delay circuit, FF1~FF4.
FF1□~FF18...Flip-flop circuit, COMP1~COMP,...Comparator,
WOl ~ WO1, ... wired OR circuit,
WA1~WA3...Wired OR circuit, SR
1. SR2...2-phase dynamic shift register,
R1, R2...Register, FA1~FA,...
...Full adder, PRICEl, 2...Product sales price setting terminal, PO8...Coin payout confirmation signal, AT PO...Automatic refund signal, PO
...Manual refund input, A1...¥10 no change signal, A2...¥50 no change signal, B
1・・・・・・Coin payout signal, B2・・・・・・¥
50 coin payout signal, T...Sale start signal,
vENDl, 2...Sellable signal, ESC・
RTRN...Coin refund signal in escrow, E
SC/ACC・・・Escrow coin collection signal,
EXT. CL...External clear signal, 5ING...
・Price setting number selection signal, ■... Coin input signal, ■... Refund signal, ■... Shift register SR2 memory content existence number, ■...・X>P1
Signal, ■...x>p1190 signal, ■...
...-X=P1 signal, ■...Auto clear signal A
CL, ■...X>P2 signal, ■...X
〉P2+90 signal, ■...X=P2 signal, ■・
...P1=0 signal, ■...P2=O signal, θ...Select signal SEL, ■...
Select signal 5EL1. ■・・・Select signal 5EL2, ■・・・・・・
Electronic control circuit operation signal for vending machines, ■・・・・・・¥
10 coin payout signal, [F]...X=P1
+50 signal, ■...X=P2+50 signal, 5E
L1.5EL2...Select input signal, CRE
M...Coin acceptance prevention signal, tl to t7...
...Bit pulse, φ1. φ2. φ3・・・・・・
clock pulse.
Claims (1)
、販売する商品の販売価格が設定される価格設定手段と
、複数金種の釣銭用貨幣の釣銭有無を検出する手段と、
前記投入合計金額と前記販売価格とを比較し、前記釣銭
有無検出手段の検出出力に基づいて、最小単位の貨幣よ
り高額の貨幣が釣銭有りである場合に該高額の貨幣を用
いて釣銭が払出しできる釣銭額を有する販売価格を販売
可とする手段さを備えることを特徴とする自動販売機の
販売可判定装置。1. means for calculating and storing the total amount of input money; price setting means for setting the selling price of the product to be sold; means for detecting the presence or absence of change in change coins of multiple denominations;
The total input amount is compared with the sales price, and if there is change in a higher amount of money than the minimum unit of money based on the detection output of the change presence/absence detection means, change is paid out using the higher amount of money. 1. A vending machine vending machine sales permissibility determination device, characterized in that the vending machine is vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending machine vending that vending machine vending machine vending machine vending machine vending machine vending that vending machine vending machine vending machine vending machine vending machine vending that vending machine vending machine vending machine vending machine vending machine vending that vending machine vending that vending machine vending that sours that it doesn't.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17276283A JPS5929914B2 (en) | 1983-09-19 | 1983-09-19 | Vending machine sales available |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17276283A JPS5929914B2 (en) | 1983-09-19 | 1983-09-19 | Vending machine sales available |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5977591A JPS5977591A (en) | 1984-05-04 |
| JPS5929914B2 true JPS5929914B2 (en) | 1984-07-24 |
Family
ID=15947860
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17276283A Expired JPS5929914B2 (en) | 1983-09-19 | 1983-09-19 | Vending machine sales available |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5929914B2 (en) |
-
1983
- 1983-09-19 JP JP17276283A patent/JPS5929914B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5977591A (en) | 1984-05-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4499982A (en) | Vend possible judgement device for a vending machine | |
| US4763769A (en) | Coin acceptance means and method | |
| JP2740979B2 (en) | Vending machine control device | |
| US4967896A (en) | Control arrangement for automatic vending machine | |
| US4056181A (en) | System and method for determining vendibility in automatic vending machine | |
| JPS6167190A (en) | Control system for vending machine | |
| JPH07509580A (en) | Money distribution control method and device | |
| JPS5929914B2 (en) | Vending machine sales available | |
| JPS5845074B2 (en) | Control circuit for vending machines | |
| JPS598868B2 (en) | Control circuit for vending machines | |
| JPS5822789B2 (en) | Vending machine control device | |
| JPS5939075B2 (en) | Vending machine control device | |
| JPS5911159B2 (en) | Control circuit for vending machines | |
| JPS5929913B2 (en) | Control circuit for vending machines | |
| JPS5911158B2 (en) | Control circuit for vending machines | |
| US12424048B2 (en) | Money handling apparatus and money handling method | |
| GB2097163A (en) | Vend possible judgement device for a vending machine | |
| JPH0222760Y2 (en) | ||
| JPH10198835A (en) | Coin storage and payment device | |
| JPS5944674B2 (en) | Vending machine coin dispensing control circuit | |
| JPS6227974Y2 (en) | ||
| JP3157221B2 (en) | vending machine | |
| JPS6129107Y2 (en) | ||
| JPS6225232B2 (en) | ||
| JPS5825500Y2 (en) | Vending machine that allows you to specify the denomination of change |