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

JPS5911158B2 - Control circuit for vending machines - Google Patents

Control circuit for vending machines

Info

Publication number
JPS5911158B2
JPS5911158B2 JP6421881A JP6421881A JPS5911158B2 JP S5911158 B2 JPS5911158 B2 JP S5911158B2 JP 6421881 A JP6421881 A JP 6421881A JP 6421881 A JP6421881 A JP 6421881A JP S5911158 B2 JPS5911158 B2 JP S5911158B2
Authority
JP
Japan
Prior art keywords
circuit
signal
output
coin
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP6421881A
Other languages
Japanese (ja)
Other versions
JPS57103589A (en
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 JP6421881A priority Critical patent/JPS5911158B2/en
Publication of JPS57103589A publication Critical patent/JPS57103589A/en
Publication of JPS5911158B2 publication Critical patent/JPS5911158B2/en
Expired legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 本発明は、自動販売機における投入金額、釣銭などの計
算および貨幣の受入れ、返却ないしは販売信号の送出な
どの制御を司どる機構を電子回路にて構成してなる自動
販売機用電子制御回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention is an automatic vending machine in which a mechanism for calculating the input amount, change, etc., accepting money, returning money, or sending out a sales signal is configured with an electronic circuit. Related to electronic control circuits for vending machines.

自動販売機における販売商品ならびに販売価格の多様化
に伴い、1台の自動販売機にて複数の価格設定を可能に
することが望まれているが、想定し得る最多販売価格数
の設定を可能ならしめる制御回路をLSIなどで標準品
として製作しておくと、単一商品価格の機種に対しては
過剰な機能を持たせる結果となり、平均的に製品価格の
上昇を招くことになる。
With the diversification of products and sales prices sold in vending machines, it is desired to be able to set multiple prices with one vending machine, but it is possible to set the maximum number of sales prices that can be imagined. If the control circuit for standardization is manufactured as a standard product using LSI or the like, it will end up having excessive functions for a model with a single product price, which will lead to an increase in the product price on average.

そこで、想定し得る最多販売価格数よりは少ない数の販
売価格の設定を可能にする制御回路ユニットを標準品と
してLSIなどで製作しておき、この制御回路ユニット
を希望設定価格数に応じて複数個組み合わせることが考
えられている。
Therefore, a control circuit unit that enables the setting of a number of sales prices smaller than the maximum number of sales prices that can be assumed is manufactured as a standard product using LSI etc., and this control circuit unit is manufactured in multiple numbers according to the number of desired set prices. The idea is to combine them.

この種の制御回路ユニットは、投入金額が当該ユニット
にて設定されたいずれかの設定価格を越えると、当該設
定価格に対応する出力端子に販売可能信号(ベンド信号
)を送出する。
This type of control circuit unit sends a sellable signal (bend signal) to an output terminal corresponding to the set price when the input amount exceeds any set price set in the unit.

自動販売機本体側で当該設定価格の商品が押ボタン等に
より選択されると、選択信号が対応する制御回路ユニッ
トに送られてくるとともに自動販売機本体が商品販売動
作に入ったことを示す販売信号がすべての制御回路ユニ
ットに送られてくる。
When a product with the set price is selected by a push button on the vending machine main unit side, a selection signal is sent to the corresponding control circuit unit and a sales signal indicating that the vending machine main unit has entered the product selling operation. Signals are sent to all control circuit units.

この場合選択された制御回路ユニットは釣銭の演算や払
い出し制御を行なうために動作状態におかれねばならな
いが、選択されなかった制御回路ユニットは何らかの方
法でリセットをかけて、販売可能信号の送出を停止させ
る必要がある。
In this case, the selected control circuit unit must be kept in an operating state to perform change calculation and payout control, but the unselected control circuit units must be reset in some way to stop them from sending the sellable signal. It needs to be stopped.

従来の装置として、この種の制御回路ユニットのうちの
1つのユニットに非選択制御回路ユニットをリセットさ
せる機能を持たせていたものがあるが、このように特定
ユニットに特定機能を持たせることは、ユニットの標準
化に相反するものである。
Some conventional devices have provided one of these control circuit units with the function of resetting non-selected control circuit units, but it is not possible to provide a specific function to a specific unit in this way. , which is contrary to unit standardization.

そこで本発明は各制御回路ユニット自体に当該ユニット
が選択されなかった際の自動リセット機能を持たせ、各
制御回路ユニットを相互に独立に機能させることができ
るようにすることを目的とするものである。
Therefore, an object of the present invention is to provide each control circuit unit itself with an automatic reset function when the unit is not selected, and to enable each control circuit unit to function independently of each other. be.

上記の目的は、本発明によれば、個々に複数の価格設定
が可能な制御回路ユニットを複数個備えた自動販売機用
制御回路において、自動販売機本体からの販売(開始)
信号が到来したにもかかわらず商品選択信号が到来しな
い制御回路ユニットについては、当該ユニット内で当該
ユニットに対してのみ自動クリア信号を形成する手段を
設けることにより達成される。
According to the present invention, the above object is to provide a control circuit for a vending machine that is equipped with a plurality of control circuit units that can individually set a plurality of prices.
For a control circuit unit in which a product selection signal does not arrive even though the signal has arrived, this can be achieved by providing means within the unit to generate an automatic clear signal only for the unit.

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

第1図は本発明による制御回路ユニットの動作を示すブ
ロックダイヤグラムを示している。
FIG. 1 shows a block diagram illustrating the operation of a control circuit unit according to the invention.

図において1はエンコーダ、2は加減算器、3はトータ
ル・ペイアウト用シフトレジスタ、4はY50枚数レジ
スク、5は¥100枚数レジスタ、6は釣銭額KとY5
0とを比較するK≧50コンパレータ、7は商品設定価
格P1にY90を加えるP1+90加算回路、8は商品
設定価格P1にY50を加えるP1+50加算回路、9
は商品設定価格P2t(T90を加えるP2+90加算
回路、10は商品設定価格P2にY50を加えるP2+
50加算回路、11は投入金額とP1およびP,+50
およびP1+90とを比較する商品設定価格P,用コン
パレータ、12は投入金額とP2およびP2+50およ
びP2+90とを比較する商品設定価格P2用コ.ンパ
レータ、13は商品設定価格P1を設定するためのP1
価格設定回路、14は商品設定価格P2を設定するため
のP2価格設定回路、15はP1用コンパレータ11の
出力により商品設定価格P1の商品の販売を制御するP
1用ベンド制御回路、 ,16はP2用コンパレータ1
2の出力により商品設定価格P2の商品の販売を制御す
るP2用ベンド制御回路、17はコイン払出し制御回路
、18はコイン詰まり検出回路、19は返金ラッチ回路
、20は自動返金回路、21はセレクトラッチ回路、,
22はCREM制御回路(後述)、23は2相クロツク
パルス発生回路、24はビットパルス発生回路を示して
いる。
In the figure, 1 is the encoder, 2 is the adder/subtractor, 3 is the shift register for total payout, 4 is the Y50 number register, 5 is the ¥100 number register, 6 is the change amount K and Y5
K≧50 comparator that compares with 0, 7 is a P1+90 addition circuit that adds Y90 to the product setting price P1, 8 is a P1+50 addition circuit that adds Y50 to the product setting price P1, 9
is a P2+90 addition circuit that adds product setting price P2t (T90, 10 is P2+ that adds Y50 to product setting price P2
50 addition circuit, 11 is input amount, P1 and P, +50
12 is a comparator for the product setting price P, which compares the input amount with P2, P2+50, and P2+90. Comparator 13 is P1 for setting the product setting price P1
A price setting circuit 14 is a P2 price setting circuit for setting the product set price P2, and 15 is a P2 price setting circuit for controlling the sale of the product at the product set price P1 based on the output of the comparator 11 for P1.
1 is the bend control circuit for P2, and 16 is the comparator 1 for P2.
A bend control circuit for P2 controls the sale of the product with the set price P2 by the output of 2, 17 is a coin payout control circuit, 18 is a coin jam detection circuit, 19 is a refund latch circuit, 20 is an automatic refund circuit, and 21 is a selector. latch circuit,
22 is a CREM control circuit (described later), 23 is a two-phase clock pulse generation circuit, and 24 is a bit pulse generation circuit.

またA1は釣銭YIO無し信号、A2は釣銭¥50無し
信号、B1はコイン払出し信号、B2はY50コイン払
出し信号、VEND1はP1商品販売可能信号、■EN
D2はP2商品販売可能信号、POSはコイン払出し確
認信号』0は手動返金人力、SEL1は商品設定価格P
1の商品のセレクト入力、SEL2は商品設定価格P2
の商品のセレクト入力、t0〜t7はビットパルス、E
SC−ACCおよびE S C − RTRN はエス
クロ内の¥100コイン集金信号および返金信号を示し
ている。
Also, A1 is a YIO no change signal, A2 is a ¥50 change change signal, B1 is a coin payout signal, B2 is a Y50 coin payout signal, VEND1 is a P1 product sales ready signal, ■EN
D2 is the P2 product sales availability signal, POS is the coin payout confirmation signal, 0 is manual refund, SEL1 is product set price P
Select input of product 1, SEL2 is product setting price P2
Product selection input, t0 to t7 are bit pulses, E
SC-ACC and ESC-RTRN indicate the ¥100 coin collection signal and refund signal in the escrow.

端子■〜■およびTは第2図のそれらと対応している。Terminals 1 to 2 and T correspond to those in FIG.

実施例においては金額は10進法における“1″がYI
Oを表わすようにした6ビットの純2進数で表わされる
In the example, “1” in the decimal system is YI for the amount.
It is expressed as a 6-bit pure binary number representing O.

ここで使用されるコインを¥10,Y50,YIOOで
あるとすると¥10は”O O O O O 1”、Y
5 0ハ”O O O 1 0 1”、¥100は”O
O 1 0 1 0”の2進コードでそれぞれ表わさ
れる。
If the coins used here are ¥10, Y50, YIOO, then ¥10 is “O O O O O O 1”, Y
5 0 ha”O O O 1 0 1”, ¥100 is “O
Each is represented by a binary code of "O 1 0 1 0".

それゆえ、6ビットを用いた場合の最高販売価格は63
0円であり、最高販売価格はビット数を多くすることに
より高くすることができる。
Therefore, the maximum selling price when using 6 bits is 63
The maximum selling price can be increased by increasing the number of bits.

本発明による自動販売機コインノック用電子制御回路ユ
ニットの動作を第1図に示したブロック図に基づいて詳
細に説明する。
The operation of the electronic control circuit unit for coin knocking in a vending machine according to the present invention will be explained in detail based on the block diagram shown in FIG.

¥10,¥50,YIOOのコインの投入があるごとに
投入コインはエンコーダ1により前述のようにその金額
を表わす2進コードに変換されて加減算器2に印加され
、トータル・ペイアウト用シフトレジスタ3に記憶され
ている今までの投入金額と加算されて投入合計金額がト
ータル・ペイアウト用シフトレジスタ3に記憶される。
Each time a coin of ¥10, ¥50, or YIOO is inserted, the inserted coin is converted into a binary code representing the amount by the encoder 1 as described above and applied to the adder/subtractor 2, and then the total payout shift register 3 The total amount of input is added to the amount of input so far stored in , 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のコインは一時エスクロと称するスペ
ースに保持され、¥10,¥50のコインはそれぞれの
釣銭筒内に自動的に収納される。
At this time, the ¥100 coin is temporarily held in a space called escrow, and the ¥10 and ¥50 coins are automatically stored in their respective change cylinders.

またY50,YIOOのコインの投入に対してはコイン
の投入があるたびに、その人カパルスは¥50枚数レジ
スク4および¥100枚数レジスク5に送られ、それぞ
れの投入枚数が記憶される。
Moreover, each time a coin is inserted for Y50 and YIOO coins, the person's capulse is sent to the ¥50 number register 4 and the ¥100 number register 5, and the respective inserted numbers are stored.

コイン投入の際にコイン詰まりがあった場合にはコイン
詰まり検出回路18においてコインの詰まりを検出し、
投入硬貨をそのまま返却する硬貨返却電磁石( Coi
n Return Electromagnet以下C
REMa称する)CREMの制御回路にその信号を送り
、コインの投入を阻止する機能を有している。
If a coin is jammed when inserting a coin, the coin jam detection circuit 18 detects the coin jam;
Coin return electromagnet (Coi) that returns inserted coins as is.
n Return Electromagnet C
It has the function of sending the signal to the CREM control circuit (referred to as REMa) and preventing coin insertion.

ここでコイン詰まりとはコインが詰まっていてコイン入
力信号が連続的に出されている状態である。
Here, a coin jam is a state in which coins are jammed and a coin input signal is continuously output.

商品設定価格は10進法におけるn1stがYIOを表
わすようにした6ビットの純2進法による2進コードで
表わされる。
The product price is expressed in a 6-bit pure binary binary code in which n1st in decimal notation represents YIO.

本発明の実施例においては1つの制御回路ユニットにお
いて2つの商品価格P1,P2を設定するためのP1価
格設定回路13とP2価格設定回路14とを設けること
により1つの制御回路ユニットにおいて2つの価格の異
なる商品の販売を可能とし、この制御回路ユニットを1
つの自動販売機内に複数個設置することにより多重価格
の自動販売機を得ることができるようにしている。
In the embodiment of the present invention, by providing a P1 price setting circuit 13 and a P2 price setting circuit 14 for setting two product prices P1 and P2 in one control circuit unit, two prices can be set in one control circuit unit. This control circuit unit can be used to sell different products.
By installing a plurality of vending machines in one vending machine, a vending machine with multiple prices can be obtained.

この場合P1,P2の値は従来の装置においてP, ,
P2のどちらかが必ず大きくなければならないという
規定のあるものもあるが、本発明においてはP1〉P2
,P1−P2,P1<P2のどのような設定でも行なう
ことが可能である。
In this case, the values of P1 and P2 are P, ,
Some regulations state that one of P2 must be larger, but in the present invention, P1>P2
, P1-P2, P1<P2.

P1価格設定回路13、P2価格設定回路14において
設定された6ビットの純2進法による2進コードのうち
P1の2進コードはP1+50加算回路8とP1+90
加算回路7に、P2の2進コードはP2+50加算回路
1゛0とP2+90加算回路9に加えられる。
Among the 6-bit pure binary binary codes set in the P1 price setting circuit 13 and P2 price setting circuit 14, the binary code of P1 is P1+50 addition circuit 8 and P1+90.
In addition circuit 7, the binary code of P2 is applied to P2+50 addition circuit 1'0 and P2+90 addition circuit 9.

P1+50加算回路8、P2+50加算回路10にはそ
のほかにビットパルス発生回路24からt1+t3のビ
ットパルス即ちY50を表わす゛’O O O 1 0
1’か加えられており、P1+50,P2+50の加
算が行なわれる。
The P1+50 adder circuit 8 and the P2+50 adder circuit 10 also receive a bit pulse from the bit pulse generator 24 representing t1+t3, that is, Y50.
1' is added, and P1+50 and P2+50 are added.

P1+90加算回路7、P2+90加算回路9にはその
ほかにビットパルス発生回路24より11+14のビッ
トパルス即ちY90を表わす″″001001”が加え
られており、P1+9 0 , P2+9 0の加算が
行なわれる。
In addition, an 11+14 bit pulse, ie, "001001" representing Y90, is applied from the bit pulse generating circuit 24 to the P1+90 adder circuit 7 and the P2+90 adder circuit 9, and the addition of P1+90 and P2+90 is performed.

ビットパルス発生回路24は2相のクロツクパルスφ1
,φ2によりシフトされていくシフトレジスタより構成
され、t1〜t7のビットパルスをクロックパルス周期
において発生し、そのうちt1〜t6のビットパルスが
金額を表わすのに使用される。
The bit pulse generation circuit 24 generates a two-phase clock pulse φ1.
, φ2, and generates bit pulses from t1 to t7 in a clock pulse period, of which the bit pulses from t1 to t6 are used to represent the amount of money.

商品設定価格P1, P1+5.0 , P1+9 0
、トータル・ペイアウト用シフトレジスク3に記憶され
ている投入合計金額Xは商品設定価格P1用コンパレー
ク11に、商品設定価格P2,P2+50,P2+90
,前記投入合計金額Xは商品設定価格P2用コンパレー
タ12(こそれぞれ力説られ、その比較結果として商品
設定価格P1用コンパレータ11よりX= P1、.
X>P,、X>P1+9 0, X一P1+50,商品
設定価格P2用コンパレータ12よりX=P2、X>P
2,X>P2+90,X−P2+50の出力を得ること
ができる。
Product setting price P1, P1+5.0, P1+9 0
, the total input amount X stored in the shift register 3 for total payout is stored in the comparator 11 for product setting price P1 as product setting price P2, P2+50, P2+90.
, the total input amount X is determined by the product setting price P2 comparator 12 (respectively), and as a result of the comparison, the product setting price P1 comparator 11 determines that X=P1, .
X>P,, X>P1+9 0, X1P1+50, from comparator 12 for product setting price P2, X=P2, X>P
2. 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 setting price P1 is P1
The output from the product setting price P2 comparator 12 is applied to the P2 bend control circuit 16.

P1,P2用ベンド制御回路15,16にはそのほかに
釣銭?IO無し信号A1、釣銭Y50無し信号A2が加
えられている。
Is there change in the bend control circuits 15 and 16 for P1 and P2? A no-IO signal A1 and a no-change Y50 signal A2 are added.

実施例において、P1 + P2用ベンド制御回路15
.16よりP1P2商品販売可能信号VEND1,VE
ND2が出されるのは次の条件のときである。
In the embodiment, the bend control circuit 15 for P1 + P2
.. P1P2 product sales enable signal VEND1, VE from 16
ND2 is issued under the following conditions.

f) X= Pt or P2の場合、 +*)p1<x≦P1+90orP2くX≦P2+90
でYIO釣銭有りの場合、 !!!) X=P1+5 0 orX=P2+5 0で
Y50釣銭有りの場合、 このように従来装置では¥50の釣銭がある場合でもY
IOの釣銭が無い場合には釣銭の必要のある販売は行な
わなかったのであるが、実施例の装置においては商品設
定価格P,P2とY50とを加算した数P1+5 0
, P2+5 0を投入合計金額Xと比較することによ
り¥10の釣銭のない場合にも釣銭Y50があり、かつ
釣銭額がY50である場合の販売を可能とすることがで
きる。
f) If X=Pt or P2, +*)p1<x≦P1+90orP2x≦P2+90
If YIO has change, ! ! ! ) If X = P1 + 5 0 or
If there was no IO change, sales that required change were not performed, but in the device of the embodiment, the number P1 + 5 0, which is the sum of the product setting prices P and P2 and Y50.
By comparing .

客がP1価格かP2価格の商品のいずれかを選択するこ
とによりセレクトラッチ回路21に操作入力SEL,、
あるいはSEL2が送られてきてセレクトラッチ回路2
1によって商品設定価格P1の商品の選択か商品設定価
格P2の商品の選択かを判断し、SEL1、あるいはS
EL2とほぼ同時に生じる外部からの販売信号Tにより
エスクロ内に一時保管されていた¥100のコインを収
金するための信号ESC−ACCをエスクロに送る。
When the customer selects either the product with the P1 price or the P2 price, an operation input SEL is sent to the select latch circuit 21.
Or SEL2 is sent and select latch circuit 2
1 to determine whether to select the product with the product setting price P1 or the product with the product setting price P2, and select SEL1 or SEL1.
A signal ESC-ACC for collecting the ¥100 coin temporarily stored in the escrow is sent to the escrow in response to an external sales signal T generated almost simultaneously with EL2.

次にセレクトラッチ回路21の出力信号はSEL1を選
択したかSEL2を選択したかによりSEL1を選択し
た場合にはP1価格設定回路13に、SEL2を選択し
た場合にぼP2価格設定回路14に送られる。
Next, the output signal of the select latch circuit 21 is sent to the P1 price setting circuit 13 when SEL1 is selected, and to the P2 price setting circuit 14 when SEL2 is selected, depending on whether SEL1 or SEL2 is selected. .

P,価格設定回路13およびP2価格価格設定回路14
においてはセレクトラッチ回路21の出力信号を受け取
ると商品設定価格を表わす2進コードを加減算器2に送
る。
P, price setting circuit 13 and P2 price setting circuit 14
When the output signal from the select latch circuit 21 is received, a binary code representing the product setting price is sent to the adder/subtracter 2.

加減算器2においては、このときトータル・ペイアウト
用シフトレジスタ3に記憶されていた投入合計金額Xか
らP1価格設定回路13またはP2価格設定回路14よ
り送られてくる設定価格の減算が行なわれる。
In the adder/subtractor 2, the set price sent from the P1 price setting circuit 13 or the P2 price setting circuit 14 is subtracted from the input total amount X stored in the total payout shift register 3 at this time.

即ちX−P,またはX−P2の減算が行なわれ、その減
算結果Kがトータル・ペイアウト用シフトレジスタ3に
釣銭額として記憶される。
That is, subtraction of X-P or X-P2 is performed, and the subtraction result K is stored in the total payout shift register 3 as the change amount.

この記憶された内容Kが釣銭額を示している。This stored content K indicates the amount of change.

即ちトータ/レペイアウト用シフトレジスタ3は釣銭レ
ジスタのの働らきをする。
That is, the total/repayout shift register 3 functions as a change register.

このトータル・ペイアウト用シフトレジスタ3の記憶内
容KはK≧50コンパレータ6に2くられ、釣銭額Kが
¥50よりも大きいかどうかが比較される。
The contents K stored in the total payout shift register 3 are inputted to a K≧50 comparator 6 to compare whether the change amount K is larger than 50 yen.

K≧50コンパレータ6には¥50の信号としてt1+
t3のビットパルスがP1+50加算回路8およびP2
+50加算回路10と同じように加えられている。
K≧50 Comparator 6 receives t1+ as a signal of ¥50
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には他に入力としてY50釣
銭無しの信号A2およびトータル・ペイアウト用シフト
レジスタ3に記憶されている釣銭額K%Y50枚数レジ
スタ4の投入枚数を表わす出力信号、コイン払出し確認
信号POSが加えられている。
The coin payout control circuit 17 also receives as inputs a Y50 no change signal A2, an output signal representing the amount of change K% Y50 stored in the total payout shift register 3 and the number of coins inserted into the Y50 coin count register 4, and a coin payout confirmation signal. POS has been added.

コイン払出し制御回路17においてコイン払出し信号B
1 ,Y50コイン払出し信号B2による釣銭の払出し
は次のように行なわれる。
Coin payout signal B in coin payout control circuit 17
1, Y50 Change is paid out using the coin payout signal B2 as follows.

1)K〈¥50の場合・・・・・・¥10×n枚で払い
出し(n<5) ii)K>Y50でY50釣銭有りの場合・・・・・・
Y50×1枚、Y 1 0 X n枚で払い出し(n<
5)III)K>¥50で¥50釣銭無しの場合・・・
・・・YIO×n枚で払出し( 1 0>n>O ) 実施例においてはコインが投入された場合に釣銭がY9
0以下になる商品の販売だけを可能とするため釣銭額は
必ずY90以下である。
1) In the case of K〈¥50...Payout in ¥10 x n pieces (n<5) ii) In the case of K>Y50 and Y50 change is available...
Payout with Y50 x 1 piece, Y10 x n pieces (n<
5) III) If K > ¥50 and there is no ¥50 change...
...Payout in YIO x n pieces (1 0>n>O) In the example, when a coin is inserted, the change is Y9
Since only products with a value of 0 or less can be sold, the amount of change must be Y90 or less.

このことはP1用コンパレータ11′:J6よびP2コ
ンパレータ12からの出力信号X>P1+9 0 ,
X>P2+90によってP1用ベンド制御回路15およ
びP2用ベンド回路16からのVEND1,VEND2
の信号を制御することにより行ない得る。
This means that the output signal from the P1 comparator 11': J6 and the P2 comparator 12 is X>P1+9 0 ,
VEND1, VEND2 from the bend control circuit 15 for P1 and the bend circuit 16 for P2 due to X>P2+90
This can be done by controlling the signals of

コインの払出しの都度、コイン払出し制御回路17はコ
イン払出し確認信号POSを受け払出し金額を表わす2
進コードを加減算器2に送り、トータル・ペイアウト用
シフトレジスタ3に記憶されている釣銭額Kから払い出
した釣銭の減算を行なわせる。
Each time a coin is paid out, the coin payout control circuit 17 receives a coin payout confirmation signal POS and sends a signal 2 representing the payout amount.
The decimal code is sent to the adder/subtractor 2, and the paid change is subtracted from the change amount K stored in the total payout shift register 3.

そしてトータル・ペイアウト用シフトレジスタ3の記憶
されている釣銭額K力ケ0′′になったところで釣銭の
払い出しを停止させる。
Then, when the change amount stored in the total payout shift register 3 reaches 0'', the payout of change is stopped.

但し釣銭額がY50よりも犬さな場合にはK〉50コン
パレーク6の出力信号により¥50釣銭を先に払出し残
りを¥10で払い出すようにしている。
However, if the amount of change is less than Y50, the output signal of the K>50 comparator 6 causes the ¥50 change to be paid out first and the remainder to be paid out in the amount of ¥10.

手動返金を行なう場合には返金ラッチ回路19に手動返
金人力POを加えると一定時間の間にセレクト信号のな
い場合には全額返金が行なわれる。
When performing a manual refund, a manual refund manual PO is added to the refund latch circuit 19, and if there is no selection signal within a certain period of time, a full refund will be made.

¥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 coins register 5, which stores the number of ¥100 coins inserted, reach 0''.

同じく¥50枚数レジスク4に記憶されている投入枚数
が゛0″になるまで、加減算器2およびトータル・ペイ
アウト用シフトレジスタ3により投入金額Xからの減算
を行なう。
Similarly, the adder/subtractor 2 and the total payout shift register 3 subtract from the input amount X until the number of inserted coins stored in the ¥50 coin 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. 1, and are further added and subtracted. Subtraction is performed by unit 2.

Y50,YIOOを返金したのちのトータル・ペイアウ
ト用シフトレジスタ3の残りの記憶内容が11011に
なるまで¥10の返金が行なわれる。
After Y50 and YIOO are refunded, ¥10 is refunded until the remaining memory contents of the total payout shift register 3 reach 11011.

そしてトータル・ペイアウト用シフトレジスタ3の記憶
内容が゛0″になったところで返金は終了する。
The refund ends when the stored content of the total payout shift register 3 becomes "0".

また投入金額Xが最高商品設定価格よりも犬ぎな場合に
全ての販売出力が生じない場合には自動返金制御回路2
0において判断し、自動的に返金ラッチ回路19に信号
を送り全額返金を行なわせる。
In addition, if the input amount
0 and automatically sends a signal to the refund latch circuit 19 to issue a full refund.

このとき、返金ラッチ回路19はESC・RTRN信号
を送出するとともに、Y50枚数レジスタ4および¥1
00枚数レジスタ5へ信号を送る。
At this time, the refund latch circuit 19 sends out the ESC/RTRN signal, and the Y50 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 sale signal is issued, or a refund is being made, the CREM control circuit 22 outputs a signal CREM to prevent coin insertion.

以上のような第1図のブ爾ツク図に基づいた本発明の制
御回路ユニットの動作は第2図および第3図に示した第
1図のブロック図の実施例の説明により一層明確に示さ
れる。
The operation of the control circuit unit of the present invention based on the block diagram of FIG. 1 as described above will be more clearly illustrated by the explanation of the embodiment of the block diagram of FIG. 1 shown in FIGS. 2 and 3. It will be done.

第2図および第3図は第1図に示した本発明のブ田ノク
図の動作を行なう一実施例を示す回路である。
FIGS. 2 and 3 are circuits showing an embodiment of the invention which performs the operation shown in FIG. 1.

第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 control circuit unit according to the present invention, and the other signals may be sent from devices in the vending machine other than this control circuit unit. Or it may be sent to another device.

第1図におけるエンコーダ1の実施例を示す回路は第2
図においてAND回路25〜27.37、OR回路28
〜3L38、NAND 回路32〜35、インバータ回
路36,41、サイクルタイマ39、ワイヤードOR回
路W01から成り立っている。
The circuit illustrating the embodiment of the encoder 1 in FIG.
In the figure, AND circuits 25 to 27, 37, OR circuit 28
~3L38, NAND circuits 32 to 35, inverter circuits 36 and 41, cycle timer 39, and wired OR circuit W01.

最初は本発明による自動販売機コインノック用電子制御
回路が動作中であることを表わす記号■は″0′′であ
るからAND回路25〜27にはインバーク回路41よ
り゛1″が加えられているためコイン入力¥10,Y5
0,¥100があった場合にはそれに対応してAND回
路25〜27に出力nlnが生じ、その出力゛゜1”は
OR回路28〜30に加えられOR回路28〜30には
AND回路25〜27の出力と同一の出力゛1′′を生
じる。
Initially, the symbol ■ indicating that the electronic control circuit for the coin knock in the vending machine according to the present invention is in operation is "0", so "1" is added to the AND circuits 25 to 27 from the invert circuit 41. Coin input ¥10, Y5
0, ¥100, output nln is generated in AND circuits 25 to 27 correspondingly, and the output ゛゜1'' is added to OR circuits 28 to 30. It produces an output "1'' which is identical to the output of 27.

またNAND 回路32にはt1のビットパルス、NA
ND回路33にはt2のビットパルス、NAND回路3
4にはt3のビットパルス、NAND回路35にはt4
のビットパルスがシラトレジスクSR1−から加えられ
ている。
In addition, the NAND circuit 32 has a bit pulse of t1, NA
The ND circuit 33 has a bit pulse of t2, and the NAND circuit 3
4 is the bit pulse of t3, and the NAND circuit 35 is the bit pulse of t4.
A bit pulse of is applied from the silator resistor SR1-.

シフトレジスタSR1は第1図のブロック図においてビ
ットパルス発生回路24で示されているもので、2相ダ
イナミックシフトレジスタであり、2相クロックパルス
φ1,φ2によりシフトされてt1〜t7のビットパル
スを発生するように構成する。
The shift register SR1 is shown as the bit pulse generation circuit 24 in the block diagram of FIG. 1, and is a two-phase dynamic shift register, and is shifted by two-phase clock pulses φ1 and φ2 to generate bit pulses from t1 to t7. Configure it to occur.

NAND回路32〜35にはt1〜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 t1-t4.

このようにすることにより¥10のコイン入力があった
場合にはこの入力はOR回路28.31を介してNAN
D回路32に加えられるためNAND 回路32の出力
はt1のビットパルスに同期するため6ビットの2進数
において”1 1 1 1 1 0”で表わされ、ワイ
ヤードOR回路WO1を介してイシバーク回路36で反
転して”o o o o o i’“となり゜゛1”を
¥10で表わすようにしておくことにより純2進法にお
いて¥10を示す2進コードを得ることができる。
By doing this, if there is a coin input of ¥10, this input will be converted to NAN via the OR circuit 28.31.
Since it is applied to the D circuit 32, the output of the NAND circuit 32 is synchronized with the bit pulse of t1, so it is expressed as "1 1 1 1 1 0" in a 6-bit binary number, and is sent to the Ishibark circuit 36 via the wired OR circuit WO1. By inverting the value to "o o o o o i'" and expressing ゜゛1 as ¥10, a binary code representing ¥10 in pure binary system can be obtained.

同様にして¥50のコイン入力はNAND回路32,3
4に加えられ、t,jt3のビットパルスと同期するた
めインバータ回路36の出力は゜’000101”即ち
Y50を示す2進コードが現われる。
In the same way, the coin input of ¥50 is NAND circuit 32,3
4, and in synchronization with the bit pulses of t and jt3, the output of the inverter circuit 36 appears as ゜'000101'', that is, a binary code indicating Y50.

また¥100のコイン入力はNAND回路33.35に
加一えられ、t2,t4のビットパルスに同期してイン
バーク回路36の出力に゛’0 0 1 0 1 0’
“即ち、¥100を示す2進コードが現われる。
In addition, the ¥100 coin input is added to the NAND circuit 33.35, and the output of the invert circuit 36 is ``0 0 1 0 1 0'' in synchronization with the bit pulses at t2 and t4.
“In other words, a binary code indicating ¥100 appears.

インバータ回路36の出力はAND回路37に加えられ
るが、AND回路37には他にサイクルクイマ39から
信号が加えられている。
The output of the inverter circuit 36 is applied to an AND circuit 37, to which a signal from a cycle timer 39 is also applied.

サイクルタイマ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,YIOOの
いずれかのコイン入力があった場合に一定時間、出力゛
1″をAND回路37に送る働らきをする。
That is, the cycle collector 39 functions to send an output "1" to the AND circuit 37 for a certain period of time when any coin of ¥10, ¥50, or YIOO is input.

一定時間とは一般にはt1〜t7のビットパルスの1サ
イクルタイムが用いられる。
The fixed time is generally one cycle time of bit pulses from t1 to t7.

故にAND回路37の出力はt1〜t7の1サイクルタ
イム間だけ、即ち¥10,¥50,YIOOのコイン入
力を表わすパルスは1回だけしかAND回路37の出力
端から出ないということになるためコインの2種計算と
いうことは生じない。
Therefore, the output of the AND circuit 37 is only during one cycle time from t1 to t7, that is, the pulse representing the coin input of ¥10, ¥50, and YIOO is output from the output terminal of the AND circuit 37 only once. Two types of coin calculations do not occur.

このAND回路37からの投入金額を表わすパルスは第
1図のブロック図に示されているように加減算器2にお
くられる。
A pulse representing the input amount from the AND circuit 37 is sent to the adder/subtractor 2 as shown in the block diagram of FIG.

第1図のブ尤ツク図において示された加減算器2、およ
びトータル・ペイアウト用シフトレジスタ3は第2図に
おいてOR回路44、加減算器ADD、シフトレジスタ
SR2、OR回路46から示される部分より成り立って
いる。
The adder/subtracter 2 and the total payout shift register 3 shown in the block diagram of FIG. 1 are composed of the parts shown in FIG. ing.

加減算器ADDは、インバータ43の出力に応じて加算
、減算モードの切換えが行われる純2進法の加減算器(
内部の詳細回路については、必要ならば例えば昭和46
年8月15B,■ラジオ技術社発行「電卓技術教科書・
基礎編」第176頁、第5・8図を参照されたい。
The adder/subtractor ADD is a pure binary adder/subtractor (
Regarding the internal detailed circuit, if necessary, for example,
August 15B, ■ Radio Gijutsusha Publishing “Calculator Technology Textbook・
Please refer to Figures 5 and 8 on page 176 of "Basic Edition."

)であって、シフトレジスタ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. However, a well-known adder/subtractor can be used.

このようにすることにより加減算器ADDにおいてはコ
イン入力があった場合にはインバータ回路43より゛0
′”が加えられているため加算モードとなり、ADD回
路37からの投入金額を表わすパルスは加減算器ADD
にお1いて加算され、シフトレジスタSR2に記憶され
る。
By doing this, when there is a coin input in the adder/subtractor ADD, the inverter circuit 43
''' is added, the mode becomes addition mode, and the pulse representing the input amount from the ADD circuit 37 is sent to the adder/subtracter ADD.
1, and stored in shift register SR2.

シフトレジスタSR2は2相のクロソクパルスによりシ
フトされる2相ダイナミックシフトレジスタである。
The shift register SR2 is a two-phase dynamic shift register that is shifted by two-phase clock pulses.

第1図のブロック図におけるP1,P2価格設定?路1
3.14は第2図においてPRICE1,PRICE2
の各端子およびNAND回路83〜94,98,99、
ワイヤードOR回路WO2〜W012、インバータ回路
96.97により実施される。
P1 and P2 price setting in the block diagram of Figure 1? Road 1
3.14 is PRICE1, PRICE2 in Figure 2
terminals and NAND circuits 83 to 94, 98, 99,
This is implemented by wired OR circuits WO2 to W012 and inverter circuits 96 and 97.

PRICE1, PRICE2の各端子のうちNAND
回路8389と接続されている端子はNAND回路83
.89がt1のビットパルスが印加されるように接続さ
れているので″1″の重みをもっており、以下同様にし
てNAND回路84.90と接続される端子は゛2”の
重みをもっており、NAND回路85.91と接続され
る端子は″′4″の重みをもち、NAND回路86.9
2と接続される端子は”8″の重みをもち、NAND回
路87.93と接続される端子はelf 699の重み
をもち、NAND回路88.94と接続される端子は″
′32”の重みをもつことになり、PRICE1の各端
子のどれかに信号を与えることによりNAND回路83
〜88の出力はワイヤード\ OR回路WO〜WO6を介してインバーク回路96に接
続されているためインバータ回路96の出力はNAND
回路83.88の出力を反転したものであり、商品設定
価格P1を表わす6ビットの純2進法による2進コード
をインバーク回路96の出力として得ることができる。
NAND of each terminal of PRICE1 and PRICE2
The terminal connected to circuit 8389 is NAND circuit 83
.. 89 is connected so that the bit pulse of t1 is applied, so it has a weight of "1", and the terminals that are connected to the NAND circuits 84 and 90 have a weight of "2", and the NAND circuits 85 and 89 have a weight of "2". The terminal connected to .91 has a weight of ``4'', and the NAND circuit 86.9
The terminal connected to 2 has a weight of "8", the terminal connected to NAND circuit 87.93 has a weight of elf 699, and the terminal connected to NAND circuit 88.94 has a weight of "8".
It has a weight of '32'', and by giving a signal to any of the terminals of PRICE1, the NAND circuit 83
Since the outputs of ~88 are connected to the inverter circuit 96 via the wired OR circuits WO~WO6, the output of the inverter circuit 96 is NAND.
The outputs of the circuits 83 and 88 are inverted, and a 6-bit pure binary code representing the product setting price P1 can be obtained as the output of the invert circuit 96.

同様にして商品設定価格P2も、PRICE2の各端子
のどれかに信号を与えることにより設定することができ
る。
Similarly, the product setting price P2 can also be set by applying a signal to any of the terminals of PRICE2.

このようにして得られる商品設定価格P1,P2のうち
P1は第1図のブロック図に示すように、P,+50加
算回路7、P1+90加算回路8に、またP2はP2+
50加算回路9、P2+90加算回路10にそれぞれ送
られる。
Of the product setting prices P1 and P2 obtained in this way, P1 is sent to P,+50 addition circuit 7, P1+90 addition circuit 8, and P2 is sent to P2+, as shown in the block diagram of FIG.
The signals are sent to a P2+90 adder circuit 9 and a P2+90 adder circuit 10, respectively.

第2図において全加算器FA1、AND回路49、フリ
ップフロップ回路FF,よりなる部分が、P1+90加
算回路7であり、全加算器FA2、AND回路50、フ
リツプフロツプ回路FF2よりなる部分がP2+90加
算回路9であり、全加算器FA3、AND回路51、フ
リツプフロツプ回路FF3よりなる部分がP1+50加
算回路8であり、全加算器FA4よりなる部分がP2+
50加算回路10である。
In FIG. 2, the portion consisting of the full adder FA1, the AND circuit 49, and the flip-flop circuit FF is the P1+90 addition circuit 7, and the portion consisting of the full adder FA2, the AND circuit 50, and the flip-flop circuit FF2 is the P2+90 addition circuit 9. The part consisting of the full adder FA3, the AND circuit 51, and the flip-flop circuit FF3 is the P1+50 addition circuit 8, and the part consisting of the full adder FA4 is the P2+
50 addition circuit 10.

全加算器FA1およびFA2には2相ソフトレジスタS
R1により作られるt1〜t7のビットパルスのうちt
1とt4のビットパルスがOR回路81の出力として印
加されるように接続し、それにより全加算器FA1′j
6よびFA2には90を表わす2進数”0 0 1 0
0 1”が加えられ、全加算器FA1およびFA2か
らはP1+90またはP2+90の出力を得ることがで
きる。
Full adders FA1 and FA2 have two-phase soft registers S.
Of the bit pulses t1 to t7 generated by R1, t
1 and t4 are connected so that they are applied as the output of the OR circuit 81, thereby causing the full adder FA1'j
6 and FA2 are binary numbers representing 90 “0 0 1 0
0 1'' is added, and an output of P1+90 or P2+90 can be obtained from the full adders FA1 and FA2.

また全加算器FA3およびFA4には同様にしてt1と
t3のビットパルスによるOR回路80の出力としてY
50を表わす2進数”0 0 0 1 0 1”を印加
し、その出力としてP1+50およびP2+50を得る
ことができる。
Similarly, Y
By applying the binary number "0 0 0 1 0 1" representing 50, we can obtain P1+50 and P2+50 as its output.

−第1図のブロック図におけるP1用コンパレータ11
は第2図においてコンパレータCOMP2〜COMP5
、またP2用コンパレータ12はコンパレータCOMP
6〜COMP,より構成される部分である。
- Comparator 11 for P1 in the block diagram of FIG.
are comparators COMP2 to COMP5 in FIG.
, and the comparator 12 for P2 is the comparator COMP
This is a part consisting of 6 to COMP.

コンパレータCOMP2には投入コイン合計金額Xを表
わす6ビットの2進コードとインバータ回路96の出力
即ち商品設定価格P1を純2進法により表わした6ビッ
トの2進コードが印加され、その比較結果としてX>P
1の信号■が得られる。
A 6-bit binary code representing the total amount of inserted coins X>P
1 signal ■ is obtained.

コンパレークCOMP3には投入コイン合計金額Xを純
2進法で表わした6ビットの2進コードと先に述べた全
加算器FA1よりP,+90を純2進法により表わした
6ビットの2進コードとが印加されており、その比較結
果としてX>P1+90の信号■が得られる。
The comparator COMP3 contains a 6-bit binary code that represents the total amount of coins inserted, are applied, and 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.

コンパレータCOMP5には投入コイン合計金額Xを純
2進法により表わした6ビットの2進コードと、前述の
全加算器FA3よりP1+50を純2進法により表わし
た6ビットの2進コードとが印加されており、その比較
結果としてX=P1+50の信号[F]が得られる。
The comparator COMP5 receives a 6-bit binary code representing the total amount of input coins As a result of the comparison, a signal [F] of X=P1+50 is obtained.

商品設定価格P2に対しては商品設定価格P1と同様に
してコンパレータCOMP6からX>P2の信号■、コ
ンパレータCOMP 7からはX>1,+90の信号■
、コンパレークCOMP8からはX−P2の信号■、コ
ンパレータCOMP,からはX−P2+50の信号■が
得られる。
For the product setting price P2, in the same way as for the product setting price P1, the signal ■ of X>P2 is sent from the comparator COMP6, and the signal ■ of X>1, +90 is sent from the comparator COMP7.
, a signal (2) of X-P2 is obtained from the comparator COMP8, and a signal (2) of X-P2+50 is obtained from the comparator COMP8.

このようにこの実施例においては投入金額と商品設定価
格をもとにしたいくつかの金額とを比較することにより
得られる比較結果を用いて後に述べるように販売、釣銭
払出しを制御しようとするものである。
In this way, in this embodiment, sales and change payments are controlled using the comparison results obtained by comparing the input amount with several amounts based on the product's set price, as described later. It is.

第2図に示したコンパレータCOMP2〜COMP9の
出力信号■X>P, .■X>P1+9 0 ,■X一
P11■X=P1+5 0 ,■X>P2,■X>P2
+90,■X−P2,■X−P2+50は第3図に示?
ようにNAND回路1oo,ioi、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 the comparators COMP2 to COMP9 shown in FIG. 2: ■X>P, . ■X>P1+9 0, ■X1P11■X=P1+5 0, ■X>P2, ■X>P2
+90, ■X-P2, ■X-P2+50 are shown in Figure 3?
Like NAND circuit 1oo, ioi, AND circuit 102
, 106, 108, P1 bend control circuit consisting of OR circuits 105, 107, inverter circuits 109, 110, NOR circuit 118, flip-flop circuit FF1, or NAND circuits 111, 112, AND circuit 113,
116, 119, OR circuits 114, 117, inverter circuits 115, 110, NOR circuit 118, and flip-flop circuit FF13 are added to the P2 bend control circuit.

商品設定価格P1の商品について考えてみるとX一P1
のとき、X−P1の信号■はOR回路105に加えられ
、OR回路105の出力はAND回路106の一方の入
力となる。
Considering a product with a set price of P1, X1P1
At this time, the signal (2) of 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の出力す
なわちP1−0という信号■が加えられているため商品
設定価格P1 が0でないときにはlt1jlが加えら
れているためX=P1の信号■がきた場合にはOR回路
107の出力としてAND回路108の2つの入力端子
のうちの一方の入力端子に“1″、を加える。
The other input of the AND circuit 106 is the output of the OR circuit 82, that is, the signal ``P1-0'' is added, so when the product setting price P1 is not 0, lt1jl is added, so when the signal ``X=P1'' is received. Then, "1" is added to one of the two input terminals of the AND circuit 108 as the output of the OR circuit 107.

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つの入力端子(とはワイヤードA
ND回路WA3およびフリツプフロツプ回路FF1から
の信号が送られてくる。
The two input terminals of the NOR circuit 118 (wired A
Signals from ND circuit WA3 and flip-flop circuit FF1 are sent.

フリツプフロツプ回路FF1は後述のように客が押ボタ
ン等により商品の選択を行ないSEL1あるいはSEL
2および、それと多少遅れて生じる商品が販売されたと
いうSEL信号Gまたは返金信号■が生じるまではリセ
ットされた状態にあるため、NOR回路118へのフリ
ツプフロツプ回路FF11からの入力はIt(1!+で
ある。
As described later, the flip-flop circuit FF1 allows the customer to select a product using a push button, etc., and selects SEL1 or SEL.
2 and the SEL signal G indicating that the product has been sold or the refund signal ■, which occurs a little later than that, is in a reset state, so the input from the flip-flop circuit FF11 to the NOR circuit 118 is It(1!+). It is.

ワイヤードAND回路WA30こは入力としてフリツプ
フロツプ回路FF15の出力をインバータ回路149に
て反転したものとフリツプフロソプ回路FF18の出力
をインバー゛ク回路147で反転したものとNAND回
路156の出力とが加えられている。
The wired AND circuit WA30 has as inputs the output of the flip-flop circuit FF15 inverted by the inverter circuit 149, the output of the flip-flop circuit FF18 inverted by the inverter circuit 147, and the output of the NAND circuit 156. .

返金人力POがないときにはフリツプフロツプ回路F
F,5はセットされていないためインバータ回路149
の出力は”1″、また販売信号Tがない場合にはフリツ
プフロツプ回路FF18はセットされていないためイン
バーク回路147の出力は″1″である。
When there is no refund manual PO, flip-flop circuit F
Since F and 5 are not set, the inverter circuit 149
The output of the inverter circuit 147 is "1", and since the flip-flop circuit FF18 is not set when there is no sales signal T, the output of the inverter circuit 147 is "1".

NAND回路156には入力としてフリツプフロツプ回
路FF1の出力とSINGという信号とが加えられてい
る。
The output of the flip-flop circuit FF1 and a signal SING are applied to the NAND circuit 156 as inputs.

SINGとは実施例においては2つの商品価格設定回路
を有しているので、一方の商品価格設定回路のみを使用
する場合には価格設定数選択信号SINGとして゛゜0
″、2つの商品価格設定回路を使用する場合には″1″
というように加える。
SING has two product price setting circuits in the embodiment, so if only one product price setting circuit is used, the price setting number selection signal SING is set to ゛゜0.
″, or ″1″ when using two product pricing circuits.
Add it like this.

SING信号の状態にかかわらず、販売信号Tのないと
きにはNAND回路156の出力は″′1″である。
Regardless of the state of the SING signal, when there is no sales signal T, the output of the NAND circuit 156 is "'1".

それゆえ販売信号T1返金人力POのないときにはワイ
ヤードAND回路WA3の出力はtlltlであり、こ
の出力をインバーク回路160にて反転し−i10R回
路118の入力として”O“を加える。
Therefore, when there is no manual power PO to refund the sales signal T1, the output of the wired AND circuit WA3 is tlltl, this output is inverted by the invert circuit 160, and "O" is added as an input to the -i10R circuit 118.

それゆえ販売信号T1返金人力POがない場合にはNO
R回路118の出力は゛1″でありOR回路107の出
力が”1″となったときにフリツプフロツプ回路FF1
2をセットしてP1価格の商品を選択することができる
という信号VEND1を生じて、客がP0価格の商品を
選択するのを可能にさせる。
Therefore, if there is no sales signal T1 refund manual PO, NO
The output of the R circuit 118 is "1", and when the output of the OR circuit 107 becomes "1", the flip-flop circuit FF1
2 to generate the signal VEND1 that the item with the P1 price can be selected, allowing the customer to select the item with the P0 price.

商品設定価格P2の商品についてもまったく商品設定価
格P1の商品の場合と同様であり、OR回路95よりP
2=0という信号■に基づいて行なわれ、フリツプフロ
ツプ回路FF13よりVEND2という信号を得ること
ができる。
The product with the product setting price P2 is exactly the same as the product with the product setting price P1, and the OR circuit 95
This is performed based on the signal 2=0, and a signal VEND2 can be obtained from the flip-flop circuit FF13.

このVEND1、また■END2に基づいて自動販売機
には商品設定価格P1またはP2の商品を選択すること
ができるという表示が行なわれ、客がどちらかを選ぶこ
とによりSEL1またはSEL,2という信号が販売信
号Tとともに自動販売機コインノック用電子制御回路装
置に送られてくる。
Based on this VEND1 and ■END2, a display is displayed on the vending machine indicating that the customer can select the product with the product set price P1 or P2, and when the customer selects either, a signal SEL1 or SEL,2 is generated. It is sent together with the sales signal T to the electronic control circuit device for the vending machine coin knock.

即ち販売信号Tは商品を販売したという信号である。That is, the sales signal T is a signal indicating that the product has been sold.

またX>P1の信号■を生じさせるようなコインの投入
があった場合にば、X>P1の信号■はAND回路10
2に加えられ、AND回路102の他の入力としてX>
P1+90の信号■をNOT回路109により反転させ
たものと、Y50釣銭無し信号A2をNOT回路110
にて反転したものとX−P1+10の信号■とをNAN
D 回路100に加えてその出力をYIO釣銭無し信号
A1とともにNAND回路101に加えて得られるNA
ND回路101の出力とを加えておくことにより、X,
>P1およびX≦P1+90でYIOの釣銭のある場合
にはAND回路102に出力T+を生じ、その出力をO
R回路105に加えることにより、前述のX−R1の場
合と以下同様にしてVEND1の信号が得られる。
Furthermore, if a coin is inserted that causes the signal ■ of X>P1, the signal ■ of X>P1 will be generated by the AND circuit 10.
2 and as the other input of the AND circuit 102
The P1+90 signal ■ is inverted by the NOT circuit 109, and the Y50 no change signal A2 is sent to the NOT circuit 110.
The inverted signal and the signal of X-P1+10 are converted to NAN
D: NA obtained by adding the output of the circuit 100 to the NAND circuit 101 together with the YIO no change signal A1
By adding the output of the ND circuit 101,
>P1 and X≦P1+90 and if there is YIO change, an output T+ is generated in the AND circuit 102, and the output is
By adding it to the R circuit 105, the VEND1 signal can be obtained in the same manner as in the case of X-R1 described above.

またX=P1+50のときでYIOの釣銭がなく¥50
の釣銭がある場合には、?AND回路100には゛1″
と゛1″が加えられるためその出力は゛゜0″であり、
その出力+1011がYIO釣銭無しを示す゛1”とと
もにNAND回路101に加えられるためNAND回路
101の出力は゛1″となり、X=R1+50はX>P
1およびX≦P1+90をみたしているので、AND回
路102の入力はすべて″1“となるため前述のX>P
1のときと同様に■END1の信号を得ることができる
Also, when X = P1 + 50, there was no change for YIO and it was ¥50.
What if you have change? AND circuit 100 has ``1''
Since and ``1'' are added, the output is ``゛゜0'',
Since the output +1011 is added to the NAND circuit 101 along with "1" indicating that YIO has no change, the output of the NAND circuit 101 becomes "1", and X=R1+50 becomes X>P
1 and X≦P1+90, all the inputs of the AND circuit 102 are "1", so the above-mentioned X>P
Similarly to 1, the signal END1 can be obtained.

商品設定価格P2についてもX>P2,X−P2+50
の場合には商品設定価格P1のときとまったく同様に考
えることによりvEND2の出力を得ることができる。
Regarding the product setting price P2, X>P2, X-P2+50
In the case of , the output of vEND2 can be obtained by thinking in exactly the same way as in the case of the product setting price P1.

販売信号Tが生じることにより実症例の装置においては
次のことが行なわれる。
The generation of the sales signal T causes the following to take place in the device of the actual case.

販売信号TはOR回路154の入力として加えられ、O
R回路154の出力はAND回路155に加えられる。
The sales signal T is added as an input to an OR circuit 154, and O
The output of R circuit 154 is applied to AND circuit 155.

AND回路155には他に入力としてフリツプフロツプ
回路FF16とFF11の出力を入力としたNOR回路
159の出力が加えられている。
The output of a NOR circuit 159 which receives the outputs of flip-flop circuits FF16 and FF11 as inputs is also added to the AND circuit 155.

フリツプフロツプ回路FF16の出力は販売信号Tが生
じているときには、@10++であり、またフリツプフ
ロツプ回路FF1、の出力はフリツプフロツプ回路FF
,8の出力力シ0″のときには゜゛0″のままであるか
らNOR回路159の出力は゛゜1″であり、それゆえ
OR回路154に出力”1゜′が生じることによりフリ
ツプフロツプ回路FF1がセットされる。
The output of the flip-flop circuit FF16 is @10++ when the sell signal T is generated, and the output of the flip-flop circuit FF1 is @10++.
, 8 remains at ゜゛0'' when the output power of be done.

この出力は遅延回路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よりnluが加えられているためOR回路157
の出力として″1”が生じることによりフリツプフロツ
プ回路FF18がセットされる。
Since nlu is added to the AND circuit 158 from the aforementioned NOR circuit 159 as another input, the OR circuit 157
When "1" is generated as the output of the flip-flop circuit FF18, the flip-flop circuit FF18 is set.

フリツプフロツプ回路FF,8の出力によりエスクロ内
に保持されていた¥100のコインの収金信号ESC−
ACCを発生させる。
The receipt signal ESC- of the ¥100 coin held in the escrow is generated by the output of the flip-flop circuit FF,8.
Generate ACC.

またフリツプフロツプ回路FF18の出力e+ 191
はANI)回路131にSEL1の信号とともに、また
は、AND回路132にSEL2の信号とともに加えら
れる。
Also, the output e+191 of the flip-flop circuit FF18
is applied to the ANI) circuit 131 together with the SEL1 signal or to the AND circuit 132 together with the SEL2 signal.

SEL1,SEL2の信号は販売信号Tとほぼ同時に発
生するものであるので、フリツプフロツプ回路FF18
の出力++ 1 IIが生じるときにはすでにSEL1
かSEL2のいずれかがAND回路131または132
に加えられている。
Since the SEL1 and SEL2 signals are generated almost simultaneously with the sales signal T, the flip-flop circuit FF18
When the output ++ 1 II occurs, it is already SEL1
or SEL2 is AND circuit 131 or 132
has been added to.

故にフリツプフロツプ回路FF−18の出力″″1”が
生じると同時にAND回路131または132より出力
″1”が生じ、AND回路131の出力はAND回路1
41の2つの入力端子の一方の端子に直接に、他力の端
子にインバータ回路161、ワイヤードOR回路W0,
4,W01.、インバータ回路143、サイクルタイマ
163を介して加えられる。
Therefore, at the same time as the output ""1" of the flip-flop circuit FF-18 is generated, the output "1" is generated from the AND circuit 131 or 132, and the output of the AND circuit 131 is output from the AND circuit 1.
The inverter circuit 161, wired OR circuit W0,
4, W01. , the inverter circuit 143 and the cycle timer 163.

サイクルタイマ163を介してAND回路141に加え
ることによりAND回路141の出力はビットパルスt
1〜t7間隔で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.
This will occur only once in the interval 1 to t7.

また同様にAND回路132の出力はAND回路142
の2つの入力端子の一力の端子に直接に、他方の端子に
NOT回路162、ワイヤーFOR回路WO1,、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.
Directly connect one of the two input terminals to the terminal, and the other terminal connect the NOT circuit 162 and the wire FOR circuit WO1, NO.
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の出力をSEL,信号■、AND回路
142の出力をSEL2信号■とするとSEL1信号■
は第2図におけるNAND 回路98に加えられる。
If the output of the AND circuit 141 is SEL, the signal ■, and the output of the AND circuit 142 is the SEL2 signal ■, then the SEL1 signal ■
is applied to NAND circuit 98 in FIG.

NAND回路98には他に入力としてインバータ回路9
6から商品設定価格P,を表わす2進コードが加えられ
ているためSEL1信号■が加えられることにより商品
設定価格P1を表わす2進コードはワイヤーFOR回路
WO12、インバーク回路79、OR回路44を介して
加減算器A D D’に加えられる。
The NAND circuit 98 also has an inverter circuit 9 as an input.
Since the binary code representing the product setting price P is added from . and is added to the adder/subtractor ADD'.

即ち、SEL1信号■はt1〜t7の間隔で1回だけ生
じるわけであるので、OR回路44の出力は商品設定価
格P1を表わす2進コードが1回だけ生じる。
That is, since the SEL1 signal ■ 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 setting price P1.

加減算器ADDには他の入力としてインバーク回路43
よリコイン入力信号■のないときには゛′1″が加えら
れているため減算モードとなり、加減算器ADDにおい
て投入合計金額Xから商品設定価格P1の減算が行なわ
れ、釣銭額KがシフトレジスタSR2に記憶される。
The adder/subtractor ADD has an inverter circuit 43 as another input.
When there is no recoil input signal ■, since ``'1'' has been added, the subtraction mode is entered, and the adder/subtractor ADD subtracts the product setting price P1 from the total input amount X, and the change amount K is transferred to the shift register SR2. be remembered.

商品設定価格P2についてもまったく同様であり、SE
L2信号■がNAND回路99に加えられて、あとは商
品設定価格P1と同・様のことが行なわれる。
The same is true for the product setting price P2, and SE
The L2 signal ■ is applied to the NAND circuit 99, and the rest is carried out in the same way as for the product setting price P1.

これらの釣銭額の演算は、第3図のサイクルタイマ16
3の出力中に行なわれ、サイクルタイマ163の出力が
消減すると、インバーク140の出力が91 1 91
となる。
These change amounts are calculated using the cycle timer 16 in FIG.
3, and when the output of the cycle timer 163 disappears, the output of the inverter 140 becomes 91 1 91
becomes.

AND回路133にはインバーク140の出力と、既に
゜゜1″となっているSEL信号eと、シフトレジスタ
SR2の内容がOでないときに′1111となる信号■
とが与えられているため、サイクルタイマ163の出力
消滅時にシフトレジスクSR2の内容(すなわち釣銭額
)が0でないときには、AND回路133は出力を出し
、OR回路134を介してコイン払出し信号B1を発し
て釣銭払出し動作を開始させる。
The AND circuit 133 receives the output of the inverter 140, the SEL signal e which is already ゜゜1'', and the signal ■ which becomes ``1111'' when the contents of the shift register SR2 are not O.
Therefore, when the output of the cycle timer 163 disappears and the contents of the shift register SR2 (that is, the amount of change) is not 0, the AND circuit 133 outputs an output and issues the coin payout signal B1 via the OR circuit 134. Start the change payout operation.

次に釣銭の払出しの機構を説明する。Next, the mechanism for dispensing change will be explained.

投入金額Xから商品設定価格P1またはP2を減算した
釣銭額Kを表わすシフトレジスタSR2の記憶内容は第
1図においてK≧50コンパレーク6を示すところのコ
ンパレータCOMP1に送られY50と比較される。
The stored contents of the shift register SR2 representing the change amount K obtained by subtracting the product setting price P1 or P2 from the input amount X are sent to the comparator COMP1, which indicates K≧50 comparator 6 in FIG. 1, and is compared with Y50.

コンパレータCOMP1の出力はAND回路77に加え
られるが、AND回路77には他の入力としてY50釣
銭無し信号A2をインバータ回路78により反転したも
のと、フリツプフロツプ回路FF18の出力信号である
ところのSEL信号Cとが加えられている。
The output of the comparator COMP1 is applied to an AND circuit 77, but the AND circuit 77 also receives as other inputs the Y50 no change signal A2 inverted by an inverter circuit 78, and the SEL signal C which is the output signal of the flip-flop circuit FF18. has been added.

故にY50の釣銭硬貨があり、釣銭額がY50以上とな
る商品が販売された場合にはAND回路77の出力に″
1″が生じ、OR回路76の出力としてY50釣銭払出
し信号B2が生じ、これと前述のコイン払出し信号B1
とを用いてY50の釣銭の払出しが行なわれる。
Therefore, if there is a change coin of Y50 and a product with a change amount of Y50 or more is sold, the output of the AND circuit 77 will be ``
1'' is generated, and the Y50 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.
Y50 change is paid out using .

OR回路76の出力はAND回路74に加えられ、AN
D回路74には他の入力として釣銭払出し確認信号PO
Sが加えられており、Y50の釣銭が払い出されたとき
にAND回路74に出力゛1′”が生じ、この出力はO
R回路29に加えられてコイン投入の場合と同じように
Y50を表わす2進コードに変換されて加減算器ADD
に加えられるが、このときには加減算器ADDの他の入
力であるインバータ回路43の出力はAND回路25〜
27の出力が゛゜0″であるため゛゜1′”であり、そ
れゆえ加減算器ADDは減算モードとなるため釣銭額K
とY50の減算が行なわれる。
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.
S is added, and when Y50 change is paid out, an output "1'" is generated in the AND circuit 74, and this output is O.
It is added to the R circuit 29 and converted into a binary code representing Y50 in the same way as when a coin is inserted, and then sent to the adder/subtractor ADD.
However, at this time, the output of the inverter circuit 43, which is the other input of the adder/subtractor ADD, is added to the AND circuits 25 to 25.
Since the output of 27 is ゛゜0'', it is ゛゜1', so the adder/subtractor ADD is in subtraction mode, so the change amount K
and Y50 are subtracted.

そして釣銭額KがY50よりも小さくなるとAND回路
77の出力は″0”になるためOR回路76、インバー
タ回路75を介してAND回路73に゛1″が加えられ
る。
When the change amount K becomes smaller than Y50, the output of the AND circuit 77 becomes "0", so "1" is added to the AND circuit 73 via the OR circuit 76 and the inverter circuit 75.

AND回路73にはAND回路74と同じ釣銭払出し確
認信号POSが加えられており、AND回路73はAN
D回路74と同じように釣銭が払い出されるたびに、そ
の出力信号I+ 1 14をOR回路28に送り釣銭額
KからのYIOの減算を行なう。
The same change payout confirmation signal POS 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 I+1 14 is sent to the OR circuit 28 to subtract YIO from the change amount K.

YIOの釣銭の払出しは、Y50の釣銭を減算したのち
にシフトレジスタSR2に記憶された釣銭額Kがなおも
残っている場合にはOR回路46よりシフトレジスタS
R2に記憶内容が残っているという信号■が引き続き生
じているので、AND回路133、OR回路134から
は引き続きコイン払出し信号B1が出されており、これ
と¥50コイン払出し信号B2が消滅したという条件と
により行なわれる。
To pay out the change of YIO, if the change amount K stored in the shift register SR2 still remains after subtracting the change of Y50, the change is sent to the shift register S by the OR circuit 46.
Since the signal ■ 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 B1, and this and the ¥50 coin payout signal B2 have disappeared. This is done depending on the conditions.

これらは公知の技術であり、一般に信号B1は釣銭払出
しモークに、信号B2は¥50,YIO切換ソレノイド
に与えられる。
These are known techniques, and generally the signal B1 is given to the change dispensing motor, and the signal B2 is given to the ¥50, YIO switching solenoid.

Y50釣銭払出しがYIO釣銭払出しに優先するため、
最小枚数の釣銭の払出しが可能となる。
Since Y50 change payout has priority over YIO change payout,
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 AND circuit 121 has a NOR circuit 122 as another input.
The output of is added.

NOR回路122には販売信号TとSEL信号○をNO
R回路148、インバータ回路150を介して得られる
インバータ回路150の出力とが加えられているため販
売信号Tのない場合にはNOR回路122の出力は゛1
″であるためコイン入力信号■があった場合にはAND
回路121の出力に゜゛1″が生じてフリツプフロツプ
回路FF14がセットされる。
The sales signal T and SEL signal ○ are connected to the NOR circuit 122.
Since the R circuit 148 and the output of the inverter circuit 150 obtained via the inverter circuit 150 are added, when there is no sales signal T, the output of the NOR circuit 122 is ``1''.
”, so if there is a coin input signal, AND
゛1'' is generated at the output of the circuit 121, and the flip-flop circuit FF14 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回路123に
出力゛゜1“が生じ、NOR回路124を介してAND
回路125に加えられる。
Therefore, when a refund manual PO occurs, an output ゛゜1'' is generated in the AND circuit 123, and an AND output is generated via the NOR circuit 124.
added to circuit 125.

AND回路125には他の入力として前述のNOR回路
122と同じ入力を加えたNOR回路126の入力が加
えられているため、OR回路124の出力11 1 t
+が加えられることによりAND回路125の出力が゛
1゛′となりフリツプフロツプ回路FF15がセットさ
れる。
Since the AND circuit 125 has the input of the NOR circuit 126 added with the same input as the aforementioned NOR circuit 122 as another input, the output 11 1 t of the OR circuit 124
By adding +, the output of the AND circuit 125 becomes "1", and the flip-flop circuit FF15 is set.

フリツプフロツプ回路FF1,の出力は遅延回路 ・D
elay2,OR回路145を介してAND回路146
に加えられる。
The output of flip-flop circuit FF1 is a delay circuit ・D
elay2, AND circuit 146 via OR circuit 145
added to.

AND回路146には他に入力として前述のNOR回路
148の出力が加えられているためSEL信号6が生じ
ていない場合には゛1″が生じているためAND回路1
46に出力”1″が生じ、フリツプフロツブ回路FF1
6がセツトされて返金信号■を得ることができる。
Since the output of the above-mentioned NOR circuit 148 is also added to the AND circuit 146 as an input, when the SEL signal 6 is not generated, "1" is generated, so the AND circuit 1
An output "1" is generated at 46, and the flip-flop circuit FF1
6 is set and a refund signal (■) can be obtained.

このようにすることにより返金人力POを加える以前に
販売信号■が生じた場合にはフリツプフロツプ回路FF
14はリセットされるため返金信号は得られず、また返
金人力POが加えられた後でも遅延回路Delay2の
遅延時間中に販売信号■またはSEL信号eが生じた場
合にはフリツプフロツプ回路FF15をリセットさせて
販売信号T,SEL信号eを優先させる。
By doing this, if the sales signal ■ occurs before adding the refund manual PO, the flip-flop circuit FF
14 is reset, so no refund signal is obtained, and even after the refund manual PO is applied, if the sales signal ■ or the SEL signal e occurs during the delay time of the delay circuit Delay2, the flip-flop circuit FF15 is reset. The sales signal T and SEL signal e are given priority.

手動返金人力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:

即ち前述のフリツプフロツプ回路FF,2の出力をイン
バータ回路127を介してワイヤードAND回路WA1
に、また前述のフリツプフロツプ回路FF13の出力を
インバーク回路128を介してワイヤードAND回路W
A1に加え、ワイヤードAND回路WA1の出力をAN
D回路129に加える。
That is, the output of the flip-flop circuit FF,2 described above is passed through the inverter circuit 127 to the wired AND circuit WA1.
In addition, the output of the flip-flop circuit FF13 mentioned above is connected to the wired AND circuit W via the inverter circuit 128.
In addition to A1, the output of wired AND circuit WA1 is
Add to D circuit 129.

またX>P1の信号■とX−P1の信号■とをOR回路
103に加え、X>P2の信号■とX−P2の信号■と
をOR回路103とOR回路104の出力とをワイヤー
ドAND回路WA2に加えて、ワイヤードAND回路W
A2の出力をAND回路129に加える。
In addition, the signal ■ of X>P1 and the signal ■ of X-P1 are added to the OR circuit 103, and the signal ■ of X>P2 and the signal ■ of X-P2 are wired and In addition to circuit WA2, wired AND circuit W
The output of A2 is added to the AND circuit 129.

このようにすることによりワイヤードAND回路WA2
には最高商品価格定値よりも太きいか、等しい金額を投
入した場合に出力n 1 tyが生じ、ワイヤードAN
D回路WA1の出力にはフリツプフロツプ回路FF12
,FF13の出力が生じていないときに”1′′が生じ
、AND回路129により自動返金信号ATPO が
得られる。
By doing this, wired AND circuit WA2
If you input an amount greater than or equal to the maximum fixed price of the product, an output n 1 ty will be generated, and the wired AN
The output of the D circuit WA1 is a flip-flop circuit FF12.
, "1" is generated when the outputs of the FFs 13 are not generated, and the AND circuit 129 obtains the automatic refund signal ATPO.

即ち、実施例においては最高限度までコインを投入して
も販売出力VEND,,VEND2が生じない場合には
自動的に返金を行なうようにしている。
That is, in this embodiment, if the sales outputs VEND, .

この自動返金信号ATPO は前述の手動返金人力P
Oのところに加えられ、同じようにして返金信号■を得
ることができる。
This automatic refund signal ATPO is the manual refund signal P described above.
It is added at O, and the refund signal ■ can be obtained in the same way.

このようにして得られる返金信号■により返金は次のよ
うにして行なわれる。
Refunds are made in the following manner based on the refund signal (2) obtained in this manner.

実施例においては第1図のブロック図に示すように¥5
0,YIOOのコインの投入に対してはY50枚数レジ
スタ4、¥100枚数レジスタ5を設けて、その投入枚
数を計数している。
In the embodiment, as shown in the block diagram of FIG.
For the insertion of 0, YIOO coins, a Y50 coin count register 4 and a ¥100 coin count register 5 are provided to count the number of coins inserted.

すなわち第2図においてY50枚数レジスタがR1、¥
100数枚レジスタR2で示されている。
In other words, in Figure 2, the Y50 sheet number register is R1, ¥
The 100-odd sheets are indicated by register R2.

レジスタR1,R2は入力が加えられるたびにフリツプ
フロツプ回路を順次セットしていくもので、レジスタR
1は15枚すなわち750円までのY50のコインの投
入を計数でき、レジスタ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 Y50 coins (up to 750 yen), and register R2 can count up to 8 coins (800 yen).

Y50枚数レジスタR1にはAND回路26よりのY5
0コイ゛ン入力信号が送られてきており、さらにY50
コイン入力信号はサイクルタイマ39の出力とともにA
ND回路53に加えられ、AND回路53の出力はOR
回路54に加えられている。
Y5 from the AND circuit 26 is input to the Y50 sheet number register R1.
0 coin input signal is being sent, and Y50
The coin input signal is A along with the output of the cycle timer 39.
is added to the ND circuit 53, and the output of the AND circuit 53 is ORed.
added to circuit 54.

Y50のコイン入力信号があるたびにサイクルタイマ3
9からt1〜t7のビットパルス周期の間だけAND回
路53に信号が加えられるためOR回路54の出力パル
ス信号によりY50のコインの投入枚数レジスタR1に
記憶される。
Cycle timer 3 every time there is a coin input signal of Y50
Since the signal is applied to the AND circuit 53 only during the bit pulse period from 9 to t1 to t7, the output pulse signal of the OR circuit 54 is stored in the Y50 coin input number register R1.

同様にして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コイン入力信号はサイクルタイマ39
の出力とともにAND回路64に加えられ、AND回路
64の出力はOR回路67に加えられているためOR回
路の出力パルスにより¥100コイン入力信号が¥10
0枚数レジスタR2に記憶される。
Furthermore, the ¥100 coin input signal is input to the cycle timer 39.
Since the output of the AND circuit 64 is applied to the OR circuit 67, the output pulse of the OR circuit changes the ¥100 coin input signal to ¥10.
It is stored in the 0-sheet count register R2.

返金信号■が生じると同時にエスクロ内に保持されてい
た¥100のコインの返金信号ESC,RTRNが出さ
れてエスクロ内に保持されていた¥100のコインの返
金が行なわれる。
At the same time as the refund signal (2) is generated, the refund signals ESC and RTRN for the ¥100 coin held in the escrow are issued, and the ¥100 coin held in the escrow is refunded.

Y50枚数レジスタR1にはOR回路58、AND回路
59、インバータ回路60、フリップフロツプ回路FF
6よりなる回路が付属されており、Y50コイン入力が
Y50枚数レジスタに加えられると同時にフリップフロ
ツプ回路FF6をセットし、Y50枚数レジスタの記憶
内容が゛0′”になったときにフリツプフロップ回路F
F6をリセットしてフリツプフロツプ回路FF6の出力
により¥50枚数レジスタR1の記憶内容を判断できる
ようにしている。
The Y50 number register R1 includes an OR circuit 58, an AND circuit 59, an inverter circuit 60, and a flip-flop circuit FF.
At the same time as the Y50 coin input is added to the Y50 coin count register, the flip-flop circuit FF6 is set, and when the stored content of the Y50 coin count register becomes ``0'', the flip-flop circuit F6 is attached.
By resetting F6, the stored contents of the ¥50 number register R1 can be determined based on the output of the flip-flop circuit FF6.

¥100枚数レジスタR2にも同様にOR回路゜・69
、AND回路70、インバータ回路72、フリツプフロ
ツプ回路FF7よりなる回路が付属されており、フリツ
プフロップ回路FF7の出力により¥100枚数レジス
タの記憶内容が判断できるようにしている。
Similarly, OR circuit ゜・69 is applied to ¥100 number register R2.
, an AND circuit 70, an inverter circuit 72, and a flip-flop circuit FF7 are 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 (2) is generated, the refund signal (2) 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の出力と■00枚数レジスタR2および
フリツプフロツプ回路FF7を入力とするOR回路71
の出力とがN山回路65に加えられるためフリツプフロ
ツプ回路FF7の出力がn1nである場合、すなわち¥
100枚数レジスタR2に¥100のコインの投入枚数
が記憶されている間はAND回路65に出力″′1″を
生じてOR回路67の出力として¥100枚数レジスタ
R2にパルスを与えてYIOO枚数レジスタR2の記憶
を順次出力端の方に移動させていく。
An OR circuit 71 whose inputs are the output of the AND circuit 66, the 00 sheet number register R2, and the flip-flop circuit FF7.
Since the output of the flip-flop circuit FF7 is added to the N-mount circuit 65, if the output of the flip-flop circuit FF7 is n1n, that is, ¥
While the number of ¥100 coins inserted is stored in the 100 coins register R2, an output "'1" is generated in the AND circuit 65, and a pulse is given to the ¥100 coins register R2 as an output of the OR circuit 67, and the YIOO coins register is output. The memory of R2 is sequentially moved toward the output end.

¥100枚数レジスタR2の出力端より信号が出される
とその信号はAND回路65の出力とともにAND回路
68に加えられ、¥100枚数レジスタR2の出力端よ
り信号が出されて¥100の記憶枚数が減算されるたび
にAND回路68から生じる出力”1″をOR回路30
に加えて前述のY50,YIOの釣銭払出しのときと同
様にシフトレジスタ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. The output "1" generated from the AND circuit 68 is outputted to the OR circuit 30 each time the subtraction is performed.
In addition to this, the input amount X stored in the shift register SR2 furnace is added in the same way as when paying out change for Y50 and YIO mentioned above.
Subtract ¥100 from .

このようにして¥100枚数レジスタR2に記憶されて
いる枚数を順次減算することによFM00枚数レジスタ
R2の記憶内容が空になる。
By sequentially subtracting the number of sheets stored in the ¥100 sheet number register R2 in this manner, the stored contents of the FM00 sheet number register R2 are emptied.

YIOO枚数レジスタR2の記憶内容が空になることに
よりOR回路71の出力は″0″となり、NOR回路6
1の一方の入力に″0″が加えられるとともにインバー
タ回路56の出力としてAND回路63に″1″が加え
られる。
As the storage contents of the YIOO sheet number register R2 become empty, the output of the OR circuit 71 becomes "0", and the NOR circuit 6
"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には他に入力としてY50枚数レジスタ
の出力端からの信号、返金信号■、OR回路46からの
信号■が加えられている。
The AND circuit 63 also receives as inputs a signal from the output end of the Y50 sheet number register, a refund signal (2), and a signal (2) from the OR circuit 46.

Y50が投入されていた場合にはフリツプフロツプ回路
FF6がセットされているためNOR回路61の出力、
したがってAND回路62の出力Oはただちには生じな
いが、AND回路57、OR回路54を介して¥50枚
数レジスタR1は¥100枚数レジスタR2と同時にそ
の記憶内容を出力端の方に移動させられているため、記
憶内容により前後はあるものの蝉時間ののちにY50枚
数レジスタR,は出力を生じる。
If Y50 is turned on, flip-flop circuit FF6 is set, so the output of NOR circuit 61,
Therefore, the output O of the AND circuit 62 is not generated immediately, but the stored contents of the ¥50 sheet count register R1 and the ¥100 sheet count register R2 are simultaneously moved toward the output terminal via the AND circuit 57 and the OR circuit 54. Therefore, the Y50 sheet number register R produces an output after the cicada time, although it may be earlier or later depending on the stored contents.

この出力は、一力ではインバータ60を介してフリツプ
フロツプFF6をリセットさせてM中回路57を介する
それ以上の記憶内容の移動を阻止するとともに、NOR
回路61に出力を生じさせAND回路62を介して始め
て出力◎を発生させる。
This output causes the flip-flop FF6 to be reset via the inverter 60 to prevent further movement of the memory contents via the M medium circuit 57, and the NOR
The circuit 61 generates an output, and the output ◎ is generated only through the AND circuit 62.

Y50枚数レジスタR1の出力は、他方ではAND回路
63に与えられ、その結果AND回路63に出力″1”
が生じ、その出力はOR回路76に加えられ、前述のY
50釣銭払出しのときと同様にY50払出し信号B2と
、前述のAND回路62の出力Oを第3図のOR回路1
34を通して得たコイン払出し信号B1とによりY50
のコインを払出し、その釣銭払出し確認信号POSによ
りトータル・ペイアウト用シフトレジスタSR2の記憶
内容からY50を減算していく。
The output of the Y50 sheet number register R1 is given to the AND circuit 63 on the other hand, and as a result, the AND circuit 63 outputs "1".
is generated, its output is applied to the OR circuit 76, and the above-mentioned Y
As in the case of dispensing 50 change, the Y50 dispensing signal B2 and the output O of the AND circuit 62 mentioned above are connected to the OR circuit 1 in FIG.
Y50 due to the coin payout signal B1 obtained through 34.
coins are paid out, and Y50 is subtracted from the memory contents of the total payout shift register SR2 in response to the change payout confirmation signal POS.

釣銭払出し確認信号POSはAND回路55に加えられ
、AND回路55には他の入力としてY50枚数レジス
タR1の出力端からの信号とインバータ回路56の出力
が加えられており、¥100枚数レジスタR2の記憶内
容が空であり、¥50枚数レジスタR1に記憶内容があ
る場合には釣銭払出し確認信号POSを受けることによ
りAND回路55には出力″1″を生じ、この出力はO
R回路54を介してY50枚数レジスタR1に送られ、
Y50枚数レジスタR1の記憶内容を出力端の力にひと
つだけ移動させる。
The change payout confirmation signal POS is applied to an AND circuit 55, and to the AND circuit 55, the signal from the output end of the Y50 number register R1 and the output of the inverter circuit 56 are added as other inputs, and the signal from the output terminal of the Y50 number register R1 and the output of the inverter circuit 56 are added to the AND circuit 55. If the memory content is empty and there is memory content in the ¥50 number register R1, an output "1" is generated in the AND circuit 55 by receiving the change payout confirmation signal POS, and this output is O.
It is sent to the Y50 sheet number register R1 via the R circuit 54,
Y50 The stored contents of the sheet number register R1 are moved by one to the output terminal force.

このことを¥50枚数レジスタR1の記憶内容が空にな
るまで行なう。
This process is repeated until the stored contents of the ¥50 number register R1 become empty.

Y50枚数レジスタR1の記憶内容が空になることによ
ってAND回路63の出力”1″が消えて¥50のコイ
ンの払出しを終る。
When the stored contents of the Y50 coin number register R1 become empty, the output "1" of the AND circuit 63 disappears, and the payout of 50 coins ends.

Y50枚数レジスタ、¥100枚数レジスタの記憶内容
が空になったと歳にシフトレジスタSR2に記憶内容が
残りOR回路46より出力■が生じている場合には、依
然としてAND回路62は出力0を生じているため、O
R回路134を介してコイン払出し信号B1が出続けて
おり、これと¥50コイン払出し信号B2が消滅したと
いう条件にもとすいて釣銭払出し時と同様にして¥10
コインの払出しを行なわせる。
When the stored contents of the Y50 sheet number register and the ¥100 sheet number register become empty, the stored contents remain in the shift register SR2 and the output ■ is generated from the OR circuit 46, but the AND circuit 62 still generates an output of 0. O because there is
The coin payout signal B1 continues to be outputted via the R circuit 134, and under the condition that this and the ¥50 coin payout signal B2 disappear, the same procedure as when paying out change is made.
Allow coins to be paid out.

そして前述のYIOの釣銭払出しのときと同様に釣銭払
出し確認信号POSによりトー・タル・ペイアウト用シ
フトレジ,スタSR2からの減算を行ないOR回路46
の出力■力げ0”になるまで、すなわちシフトレジスタ
SR2の記憶内容が空になるまでYIOのコインの払出
しを行なわせる。
Then, in the same way as when paying out change at YIO described above, the change payout confirmation signal POS is used to subtract from the shift register for total payout, star SR2, and the OR circuit 46
YIO coins are paid out until the output becomes 0'', that is, until the storage contents of the shift register SR2 become empty.

このように実施例においては、Y50枚数レジスタR1
と¥100枚数レジスタR2を設けることにより返金の
場合に同額、同組合せのコインの返金を行なうことがで
きる。
In this embodiment, Y50 sheet number register R1
By providing the ¥100 number register R2, the same amount and combination of coins can be refunded in case of refund.

また、実施例においては、コイン詰まりに対処するため
に、コイン入力信号■があった場合にその信号をAND
回路151の2つの入力端に一力は直接に、他方は遅延
回路Delay3を介して加えることにより、遅延時間
をすぎてもコイン人力■が生じている場合にはAND回
路151に出力゜゛1”′が生じ、この出力をOR回路
153に加えることによりOR回路153の出力″1”
によって、その後のコインの投入を阻止させることがで
きる。
In addition, in the embodiment, in order to deal with coin jams, when there is a coin input signal ■, the signal is ANDed.
By applying one force directly to the two input terminals of the circuit 151 and the other via the delay circuit Delay3, if the coin force ■ is still occurring even after the delay time, the AND circuit 151 outputs ゜゛1''. ' is generated, and by adding this output to the OR circuit 153, the output of the OR circuit 153 is "1".
This can prevent subsequent coin insertion.

但し遅延回路Delay3の遅延時間はコインの入力信
号時間に比べて十分長いものであり、ここでは3 0
0 msecという値を用いている。
However, the delay time of the delay circuit Delay3 is sufficiently long compared to the input signal time of the coin, and here it is 30
A value of 0 msec is used.

この方法によれば電源が中断されたのち再投入された場
合(こもコイン入力信号が生じるようなコイン詰まりに
対しては遅延時間後にコインの投入を阻止することがで
きる。
According to this method, when the power is interrupted and then turned on again (in case of a coin jam where a small coin input signal is generated), it is possible to prevent coin insertion after a delay time.

実施例において、CREMオフ状態(コイン投入阻止状
態)になるのはそのほかに次の場合があ私即ち、前述の
ワイヤードAND回路WA2に出力”1”が生じた場合
In the embodiment, the CREM is turned off (coin insertion inhibited state) in the following cases, that is, when the above-mentioned wired AND circuit WA2 outputs "1".

すなわち、投入金額が最高品設定価格と等しいかまたは
それを越えた場合には、これ以上のコインの投入の必要
がないので、それ以後のコインの投入を阻止するように
する。
That is, when the input amount is equal to or exceeds the highest product setting price, there is no need to insert any more coins, so further coin insertion is prevented.

また販売信号Tが送られてきたときおよび手動返金人力
PO、自動返金信号ATPOが送られてきたときにはコ
インの投入を阻止させる。
Further, when the sales signal T is sent, the manual refund manual PO, or the automatic refund signal ATPO is sent, the insertion of coins is prevented.

このことはワイヤードAND回路WA2の出力、販売信
号T1 フリツプフロツプ回路FF1,とFF17の出
力OR回路152に加えて得られるOR回路の出力をそ
れぞれOR回路153の入力として加えることによりO
R回路153の出力によってC REM制御を行なうよ
うにすることにより実施することができる。
This can be done by adding the output of the wired AND circuit WA2, the output of the sales signal T1, the outputs of the flip-flop circuits FF1 and FF17 to the OR circuit 152, and adding the outputs of the OR circuits obtained as inputs to the OR circuit 153.
This can be implemented by performing CREM control using the output of the R circuit 153.

販売、釣銭払出し、返金などの動作が終了した場合には
次の販売に備える状態に制御回路ユニットを移行させる
ための動作(以下「クリア」と呼ぶ)が次のように行な
われる。
When operations such as sales, payout of change, and refunds are completed, operations for transitioning the control circuit unit to a state in preparation for the next sale (hereinafter referred to as "clear") are 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回路の
出力を直接に、および遅延回路Delaylを介して加
えた3人力から成り立っている。
The NAND circuit 137 also receives the refund signal ■ and SE as inputs.
It consists of three people: applying the L signal e to the OR circuit 135 and applying the output of the OR circuit directly and via the delay circuit Delayl.

それゆえコイン払出し信号B1がなく返金信号■または
SEL信号eが生じた場合には遅延時間後にNAND回
路137の出力が″′O″となる。
Therefore, when the coin payout signal B1 is not present and the refund signal (2) or the SEL signal (e) is generated, the output of the NAND circuit 137 becomes "'O" after a delay time.

遅延回路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回路WO13にはそのほかに外部からク
リアしないという信号EXTクリア信号NAND回路1
30の出力とが入力として加えられている。
In addition to the wired OR circuit WO13, there is also a signal EXT clear signal indicating that it is not cleared from the outside.NAND circuit 1
30 outputs are added as inputs.

EXTクリア信号は内部において自動クリア信号ACL
を得ようとするときに用いるもので、常時は″′1″で
ある。
The EXT clear signal is an internal automatic clear signal ACL.
It is used when trying to obtain , and is usually ``'1''.

NAND回路130にはSEL信号eとワイヤードOR
回路W014およびWO,,の出力が加えられており、
ワイヤードオア回路は入力のいずれかが″′0″になる
ことにより出力が”0”に変化するものであるからEX
T,NAND回路130または137のいずれかが出力
″0″となることによりワイヤードOR回路W013の
出力の変化がインバータ回路138に加えられ、インバ
ータ回路138の出力によりフリツプフロツプ回路FF
11の出力が反転して、フリツプフロツプ回路FF11
の出力が″1”のときにインバータ回路139に出力と
して自動クリア信号ACL0が得られる。
The NAND circuit 130 has a wired OR with the SEL signal e.
The outputs of circuits W014 and WO,, are added,
Since the wired-OR circuit changes the output to "0" when any of the inputs becomes "0", EX
When either the T, NAND circuit 130 or 137 becomes the output "0", a change in the output of the wired OR circuit W013 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 flip-flop circuit FF11 is inverted, and the output of flip-flop circuit FF11 is inverted.
When the output of is "1", an automatic clear signal ACL0 is obtained as an output to the inverter circuit 139.

即ち第3図の回路図からも明らかなように、例えば販売
開始信号Tが到来したにも拘らず商品選択信号SEL1
またはSEL2’得られない場合は、アンド回路13
1または132が成立しないのでインバータ161また
は162の出力は”1″となり、その結果NAND回路
130の出力が”0″となって当該制御回路は自動クリ
アされる。
That is, as is clear from the circuit diagram of FIG. 3, for example, even though the sales start signal T has arrived, the product selection signal SEL1
Or if SEL2' is not obtained, AND circuit 13
1 or 132 is not established, the output of the inverter 161 or 162 becomes "1", and as a result, the output of the NAND circuit 130 becomes "0" and the control circuit is automatically cleared.

なお、この自動クリア信号ACL■はコンパレータCO
MP1〜COMP9に加えられてコンパレータCOMP
1〜COMP9をリセットさせる。
Note that this automatic clear signal ACL■ is the comparator CO
Comparator COMP is added to MP1 to COMP9.
1 to COMP9 are reset.

このように第1図に示した本発明の自動販売機販売制御
用電子制御回路ユニットの動作は第2図、第3図による
実施例により達成することができるが、第1図、第2図
に示されている2つの商品価格設定回路をさらにふやし
、他の回路もそれに合せることにより1つの制御回路ユ
ニットにおいて2つ以上の価格の異なった商品の販売を
行なわせることも可能である。
In this way, the operation of the electronic control circuit unit for vending machine sales control of the present invention shown in FIG. 1 can be achieved by the embodiment shown in FIGS. 2 and 3, but as shown in FIGS. It is also possible to sell two or more products with different prices in one control circuit unit by further increasing the two product price setting circuits shown in 1 and adding other circuits accordingly.

また、第1図に示した制御回路を1つのユニツトとし、
このユニットを複数個用いてさらに多くの設定価格数の
販売制御を行なう場合には、設定価格数に関係する販売
可能信号VEND1 ,VEND2および商品選択信号
SEL1 ,SEL2については各ユニットから個々に
入出力して使用し、他の入出力信号については信号別に
各ユニットからの信号線をワイヤードオア(OR)接続
して使用すればよい。
Furthermore, the control circuit shown in Fig. 1 is considered as one unit,
When using a plurality of these units to control sales for a larger number of set prices, the sales enable signals VEND1 and VEND2 and product selection signals SEL1 and SEL2 related to the number of set prices are input and output from each unit individually. For other input/output signals, the signal lines from each unit may be wired OR (OR) connected for each signal.

このように接続すれば、投入金額は個々のユニットで演
算されて、販売可能な設定価格に対して販売可能信号が
送出される。
If connected in this way, the input amount will be calculated for each unit, and a sellable signal will be sent for the set price at which the units can be sold.

そして、商品が選択されると販売信号Tが全てのユニッ
トに入力され、選択された設定価格のあるユニットには
商品選択信号が入力されるが、選択されないユニットに
は商品選択信号が入力されないので、釣銭払出しの信号
は商品選択信号が入力されたユニットのみから出力され
、商品選択信号が入力されないユニットはクリアされる
When a product is selected, the sales signal T is input to all units, and the product selection signal is input to the unit with the selected set price, but the product selection signal is not input to the units that are not selected. The change payout signal is output only from the unit to which the product selection signal is input, and the units to which the product selection signal is not input are cleared.

また、手動返金人力POが入力された場合には、全ての
ユニットから返金払出しの信号が出力されて払出される
が、この場合、1つの払出機構に全ユニットから同時に
信号が出力されるので、貨幣が余分に払出されることは
ない。
In addition, when a manual refund manual PO is input, a refund payout signal is output from all units and the refund is paid out, but in this case, since the signal is output from all units to one payout mechanism at the same time, No extra money will be paid out.

上述の如く本発明によれば、自動販売機用制御回路ユニ
ットを複数個用いた場合において、販売(開始)信号T
が得られても商品選択信号SEL,,SEL2が来ない
ときは該当制御回路ユニットを自動クリアして次の販売
に備えるようにしたから、制御回路ユニットの標準化が
図れるとともに、販売に支障を来たすことがなく販売制
御が的確に行なわれるものである。
As described above, according to the present invention, when a plurality of vending machine control circuit units are used, the vending (start) signal T
Even if the product selection signals SEL, SEL2 are not received, the corresponding control circuit unit is automatically cleared in preparation for the next sale, which not only helps to standardize the control circuit unit, but also prevents the product from interfering with sales. Sales control can be carried out accurately without any problems.

本発明の以上の操作はコインだけではなく、たとえば1
000円、500円紙幣とioo円硬貨を用いるものに
おいても適用しうろことはもちろんである。
The above operations of the present invention are not limited to coins, for example,
Of course, this method can also be applied to items using 000 yen and 500 yen banknotes and IOO yen coins.

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

第1図は本発明の自動販売機電子制御回路のブロック図
、第2図、第3図は本発明,の実施例の回路図を示して
いる。 1・・・・・・エンコーダ、2・・・・・・加減算器、
3・・・・・・トータルペイアウト用シフトレジスタ、
4・・・・・・¥50枚数レジスタ、5・・・・・・¥
100枚数レジスタ、6・・・・・・K≧50コンパレ
ータ、7・・・・・・P1+90加算器、8・・・・・
・P,+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.
6B,70,73,74,77,102,106,10
8,113,116,119,121 ,123,12
5,129,131〜133,141 ,142,14
6,151 ,155,158・・・・・・AND回路
、28〜31 ,38,40,44,46,54,5B
,67,69,71 ,76,80〜B2,95,10
3〜105,107,114,117.120124,
134,135,145,152〜154,157・・
・・・・OR回路、32〜35.83〜94,98〜1
0L111 ,112,130,137,156・・・
・・・NAND回路、42,61,118,1 22
,126 ,148,1 59・・・・・・NOR回路
、36,41 ,43,56,60,72,75.7&
79,96,97,109,110,115,127,
128,136,138〜140,143,147,1
49,150,160〜162・・・・・・インバータ
回路、39,163・・・・・・サイクルタイマ、De
lay1 〜Delay4・・・・・・遅延回路、FF
1〜FF4ツFF1,〜FF18・・・・・・フリツプ
フロツプ回路、COPM1〜COPM,・・・・・・コ
ンパレータ、WO1〜WO15・・・・・・ワイヤード
OR回路、WA1〜WA3゜゜゛・・・ワイヤードAN
D回路、SR,,SR2・・・・・・2相ダイナミック
シフトレジスタ、R1,R2・・・・・・レジスタ、F
A1〜FA4・・・・・・全加算器、PRICEt,
2・・・・・・商品設定価格、POS・・・・・・コイ
ン払出し確認信号、ATPO・・・・・泪動返金信号、
PO・・・・・・返金入力、A1・・・・・・YIO釣
銭無し信号、A2・・・・・・¥50釣銭無し信号、B
1・・・・・・コイン払出し信号、B2・・・・・・¥
50コイン払出し信号、T・・・・・・販売信号、VE
ND12・・・・・・販売可能信号、ESC−RTRN
’・・・・・エスクロ内コイン返金信号、ESC−AC
C・・・・・・エスクロ内ゴイン集金信号、EXT−
CL・・・・・・外部クリア信号、SING・・・・・
・価格設定数選択信号、■・・・・・・コイン入力信号
、■・・・・・・返金信号、■・・・・・・シフトレジ
スタSR2記憶内容存在信号、■・・・・・・X>P1
信号、■・・・・・・X>P1+90信号、■・・・・
・・X一P1信号、■・・・・・・自動クリア信号AC
L,■・・・・・・X>P2信号、■・・・・・・X>
P2+90信号、■・・・・・・X=P2信号、■・・
・・・・P1−0信号、■・・・・・・P2−0信号、
e・・・・・・セレクト信号SEL、■・・・・・・セ
レクト信号SELい■・・・・・・セレクト信号SEL
2、■・・・・・・コインメツク用電子制御回路動作信
号、◎・・・・・・¥10コイン払出し信号、[F]・
・・・・・X=P1+50信号、■・・・・・・X=P
2+50信号、SEL1SEL2・・・・・・セレクト
入力信号、CREM・・・・・・コイン投入阻止信号、
t1〜t7・・・・・・ビットパルス、φ1,φ2,φ
3・・・・・・クロツクパルス。
FIG. 1 is a block diagram of an electronic control circuit for a vending machine according to the present invention, and FIGS. 2 and 3 are circuit diagrams of an embodiment of the present invention. 1...Encoder, 2...Adder/subtractor,
3...Shift register for total payout,
4・・・・・・¥50 number register, 5・・・・・・¥
100 number register, 6...K≧50 comparator, 7...P1+90 adder, 8...
・P, +50 adder, 9...P2+90 adder, 10...P2+50 adder, 11...
・Comparator for P1, 12...Comparator for P2, 13...P1 price setting circuit, 14...
...P2 price setting circuit, 15...Bend control circuit for P1, 16...Bend control circuit for P2, 17...Coin payout control circuit, 18...・
... Coin jam detection circuit, 19 ... Refund latch circuit, 20 ... Brother movement refund circuit, 21 ...
... Select latch circuit, 22 ... CREM control circuit, 23 ... Two-phase clock pulse generation circuit, 24 ... Bit pulse generation circuit, 25 to 27
.. 37.49-53,55,57,59,62-66.
6B, 70, 73, 74, 77, 102, 106, 10
8,113,116,119,121 ,123,12
5,129,131-133,141 ,142,14
6,151,155,158...AND circuit, 28-31,38,40,44,46,54,5B
,67,69,71 ,76,80~B2,95,10
3~105,107,114,117.120124,
134,135,145,152-154,157...
...OR circuit, 32-35.83-94, 98-1
0L111, 112, 130, 137, 156...
...NAND circuit, 42, 61, 118, 1 22
, 126 , 148, 1 59...NOR circuit, 36, 41 , 43, 56, 60, 72, 75.7 &
79, 96, 97, 109, 110, 115, 127,
128,136,138-140,143,147,1
49,150,160-162... Inverter circuit, 39,163... Cycle timer, De
lay1 ~Delay4...Delay circuit, FF
1 to FF4 FF1, to FF18...Flip-flop circuit, COPM1 to COPM,...Comparator, WO1 to WO15...Wired OR circuit, WA1 to WA3゜゜゛...Wired AN
D circuit, SR,, SR2...Two-phase dynamic shift register, R1, R2...Register, F
A1 to FA4...Full adder, PRICEt,
2... Product setting price, POS... Coin payout confirmation signal, ATPO... Crying refund signal,
PO...Refund input, A1...YIO no change signal, A2...¥50 no change signal, B
1・・・・・・Coin payout signal, B2・・・・・・¥
50 coin payout signal, T...Sale signal, VE
ND12...Sale ready signal, ESC-RTRN
'・・・Coin refund signal in escrow, ESC-AC
C...Goin collection signal in escrow, EXT-
CL...External clear signal, SING...
・Price setting number selection signal, ■... Coin input signal, ■... Refund signal, ■... Shift register SR2 memory content existence signal, ■... X>P1
Signal, ■...X>P1+90 signal, ■...
・・X1P1 signal, ■・・・Auto clear signal AC
L, ■...X>P2 signal, ■...X>
P2+90 signal, ■...X=P2 signal, ■...
...P1-0 signal, ■...P2-0 signal,
e...Select signal SEL, ■...Select signal SEL ■...Select signal SEL
2,■・・・・・・Electronic control circuit operation signal for coin pick, ◎・・・・・・¥10 coin payout signal, [F]・
...X=P1+50 signal, ■...X=P
2+50 signal, SEL1SEL2...Select input signal, CREM...Coin insertion prevention signal,
t1~t7...Bit pulse, φ1, φ2, φ
3...Clock pulse.

Claims (1)

【特許請求の範囲】[Claims] 1 複数の価格の設定が可能で、かつ投入金額とこれら
複数の設定価格とを各々比較し投入金額が設定価格以上
になった設定価格に対してそれぞれ販売可能信号を送出
する機能を有する制御回路ユニットを複数個備えてなる
自動販売機用制御回路において、各制御回路ユニットに
、自動販売機本体からの販売信号が到来したにもかかわ
らず商品選択信号が到来しないことを条件として当該ユ
ニットのみに対する自動クリア信号を形成する回路を設
けたことを特徴とする自動販売機用制御回路。
1. A control circuit that is capable of setting a plurality of prices, and has a function of comparing the input amount with each of these multiple set prices and sending out a sales enable signal for each set price at which the input amount exceeds the set price. In a control circuit for a vending machine comprising a plurality of units, each control circuit unit is configured to control only that unit on the condition that a product selection signal does not arrive even though a sales signal from the vending machine body arrives. A control circuit for a vending machine, characterized in that it includes a circuit that forms an automatic clear signal.
JP6421881A 1981-04-30 1981-04-30 Control circuit for vending machines Expired JPS5911158B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6421881A JPS5911158B2 (en) 1981-04-30 1981-04-30 Control circuit for vending machines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6421881A JPS5911158B2 (en) 1981-04-30 1981-04-30 Control circuit for vending machines

Publications (2)

Publication Number Publication Date
JPS57103589A JPS57103589A (en) 1982-06-28
JPS5911158B2 true JPS5911158B2 (en) 1984-03-13

Family

ID=13251730

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6421881A Expired JPS5911158B2 (en) 1981-04-30 1981-04-30 Control circuit for vending machines

Country Status (1)

Country Link
JP (1) JPS5911158B2 (en)

Also Published As

Publication number Publication date
JPS57103589A (en) 1982-06-28

Similar Documents

Publication Publication Date Title
US4376479A (en) Total sales indication device for a vending machine
US4499982A (en) Vend possible judgement device for a vending machine
JP2740979B2 (en) Vending machine control device
US4706202A (en) Control system of a vending machine
JPH07509580A (en) Money distribution control method and device
JPS5911158B2 (en) Control circuit for vending machines
JPS5845074B2 (en) Control circuit for vending machines
JPS5911159B2 (en) Control circuit for vending machines
JPS598868B2 (en) Control circuit for vending machines
JPS5929914B2 (en) Vending machine sales available
JPS5929913B2 (en) Control circuit for vending machines
JPS5939075B2 (en) Vending machine control device
JPH10198835A (en) Coin storage and payment device
JPS5944674B2 (en) Vending machine coin dispensing control circuit
JPH0222760Y2 (en)
GB2097163A (en) Vend possible judgement device for a vending machine
JPS60167091A (en) Currency processor for vending machine
JPS6129107Y2 (en)
JPS6227974Y2 (en)
CN118644331A (en) A deposit certificate transfer processing method, device, equipment and medium
JPS6227973Y2 (en)
JPS632941Y2 (en)
JPS5815834B2 (en) Vending machine control device
JPH0253837B2 (en)
JPS607318B2 (en) Change payment method