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
JPS598868B2 - Control circuit for vending machines - Google Patents
[go: Go Back, main page]

JPS598868B2 - Control circuit for vending machines - Google Patents

Control circuit for vending machines

Info

Publication number
JPS598868B2
JPS598868B2 JP6421781A JP6421781A JPS598868B2 JP S598868 B2 JPS598868 B2 JP S598868B2 JP 6421781 A JP6421781 A JP 6421781A JP 6421781 A JP6421781 A JP 6421781A JP S598868 B2 JPS598868 B2 JP S598868B2
Authority
JP
Japan
Prior art keywords
circuit
signal
output
coin
price
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
JP6421781A
Other languages
Japanese (ja)
Other versions
JPS57103588A (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 JP6421781A priority Critical patent/JPS598868B2/en
Publication of JPS57103588A publication Critical patent/JPS57103588A/en
Publication of JPS598868B2 publication Critical patent/JPS598868B2/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 uses an electronic circuit to calculate the input amount, change, and return money in a vending machine, and to control the acceptance or return of input coins, the sending of a sellable signal, etc. Related to electronic control circuits for vending machines.

この種の電子制御回路は,一般に、 (イ)投入貨幣の金種別枚数の計数 (口)投入金額の累算 (ハ)商品販売価格(設定価格)の設定、読取り(ニ)
釣銭額(投入金額一商品販売価格)の計算(ホ)解約時
の投入貨幣の返却と販売時の投入金額の収納 (ヘ)販売可能信号の送出 (ト)選択信号と販売信号(自動販売機が販売動作に入
ったことを知らせる信号)の受入れ (チ)投入貨幣をそのまま返却する返却機構の制御(り
)その他 等の演算制御機能を有している。
This type of electronic control circuit generally performs the following functions: (a) Counting the number of coins for each denomination (denomination) Accumulating the amount of money inserted (c) Setting and reading the product selling price (set price) (d)
Calculating the amount of change (input amount - product sales price) (e) Returning the inserted money at the time of cancellation and storing the input amount at the time of sale (f) Sending the sales ready signal (g) Selection signal and sales signal (vending machine It has arithmetic control functions such as (a signal indicating that a coin has entered a selling operation), (h) control of a return mechanism that returns the inserted coins as they are, and so on.

このうち、商品販売価格の設定、読取りに関しては、商
品およびその販売価格の多様化に伴い、1つの制御装置
にて複数の価格設定が可能であることが望まれており、
また昨年のオイルショック以来の物価の変動に伴って商
品販売価格も頻繁な変更を余儀なくされているため、自
動販売機の普及と相まって、自動販売機の動作機構につ
いての知識をまったく有していない者でも容易に価格設
定ないしはその変更ができるようにすることが望まれて
いる。
Among these, regarding setting and reading of product sales prices, as products and their sales prices become more diverse, it is desired to be able to set multiple prices with one control device.
In addition, product sales prices have been forced to change frequently due to price fluctuations since last year's oil shock, and this coupled with the spread of vending machines means that many people have no knowledge of the operating mechanisms of vending machines. It is desired that even a person can easily set or change prices.

しかるに従来最も多く市場に出廻っている自動販売機用
制御機構(いわゆるコインノックと称されるもの)は、
商品販売価格の設定に際し、複数の価格設定部のうち特
定の設定部を最高販売価格に設定することが義務づけら
れており、これはコインノックの製造者側には利点をも
たらすものの、使用者側にとっては製造者の見落しがち
な不便さをもたらすものであった。
However, the most common vending machine control mechanism on the market (so-called coin knock) is
When setting the selling price of a product, it is mandatory to set a specific setting part among multiple price setting parts as the highest selling price. Although this brings advantages to the manufacturer of the coin knock, it does not affect the user's side. This brought about an inconvenience that was often overlooked by manufacturers.

すなわち、コインノックの製造者側にとっては、最高販
売価格は特定の設定部に設定されているという前提があ
ると、投入金額の上限到達検知とか、投入硬貨の即時返
却用電磁石(Coin ReturnElectro
magnet 略して通称CREM)の励磁オフなど
の制御を、当該特定の設定部の設定価格のみを基準とし
て実行できるので、回路を簡単に組めるという利点をも
たらす。
In other words, for the coin knock manufacturer, if there is an assumption that the maximum selling price is set in a specific setting section, it may be necessary to detect that the input amount has reached the upper limit, or to install an electromagnet for the immediate return of input coins.
Since control such as turning off the excitation of the magnet (commonly known as CREM) can be executed based only on the set price of the specific setting section, the advantage is that the circuit can be easily assembled.

ところが、一般の、特に自動販売機の制御動作に不知の
使用者にとっては、かかる価格設定上の制約は煩雑であ
るとともに誤設定した場合には特定商品の販売が不能と
なる欠点をもたらす。
However, for the general public, especially for users who are not familiar with the control operations of vending machines, such price setting restrictions are complicated, and if they are set incorrectly, it may become impossible to sell a specific product.

たとえば50円、60円、70円および80円の商品が
ある場合に、最高販売価格の設定部にあやまって70円
の設定を行ない、他の設定部に50円、60円および8
0円の設定を行なったとすると、70円投入した段階で
機械は投入金額が最高設定価格に到達したと判断して電
磁石CREMを非励磁とし、次の10円硬貨の投入を阻
止してしまい、従って80円の商品は購入できなくなる
For example, if there are products priced at 50 yen, 60 yen, 70 yen, and 80 yen, you may mistakenly set 70 yen in the maximum selling price setting section, and set 50 yen, 60 yen, and 80 yen in the other setting sections.
If 0 yen is set, when 70 yen is inserted, the machine determines that the input amount has reached the maximum set price, de-energizes the electromagnet CREM, and prevents the next 10 yen coin from being inserted. Therefore, you will no longer be able to purchase products that cost 80 yen.

かかる不便さをなくすためには、価格設定を高低の区別
なく行なえるようにしなければならない。
In order to eliminate this inconvenience, it is necessary to be able to set prices without distinguishing between high and low prices.

ところで、従来の市販の装置では価格設定に関してさら
に次のような制約が設けられていた。
By the way, in conventional commercially available devices, the following additional restrictions have been set regarding price setting.

すなわち、複数の設定価格のうち、いずれか一つの設定
価格が0円に設定されていると、当初から電磁石CRE
Mが非励磁となって投入貨幣をまったく受け付けないよ
うにしていた。
In other words, if any one of the multiple set prices is set to 0 yen, the electromagnet CRE
M was de-energized and did not accept any input coins.

このために、たとえば5価格設定の可能な装置において
、そのときの商品販売価格が2種類しかなかった場合に
は、残り3価格設定部については、低い方の商品販売価
格に一致させるとか、あるいは装置の最高設定価格に設
定するなどの方法をとる必要があり、煩雑であるのみな
らず、次のような場合に対処できない欠点があった。
For this reason, for example, in a device that can set 5 prices, if there are only 2 types of product sales prices at that time, the remaining 3 price setting sections may be set to match the lower product sales price, or It is necessary to take a method such as setting the maximum price for the device, which is not only complicated, but also has the disadvantage that it cannot deal with the following cases.

すなわち、複数個の商品のうちの一種を何らかの理由で
販売停止として回収しなければならない事態が生じたと
きに、最も簡便な方法はまず当該商品の設定価格を0円
にする(設定価格が0円ということは、貨幣を投入しな
くても投入金額=設定価格となるため、ただで商品が購
入できることにつながるので、通常はこの条件では販売
可能信号を送出しない)ことである,こうすれば時間の
かかる回収作業を待たずに商品の販売を即刻停止できる
わけであるが、従来装置ではこの場合他の商品も購入で
きなくなってしまう。
In other words, when a situation arises in which one of several products must be discontinued and recalled for some reason, the simplest method is to first set the set price of the product to 0 yen (if the set price is 0 yen). With yen, even if you do not insert money, the input amount = the set price, which means that you can purchase the product for free.Normally, a sellable signal is not sent under this condition.)If you do this, This means that sales of the product can be stopped immediately without waiting for time-consuming collection work, but with conventional devices, other products cannot be purchased in this case.

因みにある商品の販売のみを選択的に停止できるような
特別なスイッチは設けないのが通常である。
Incidentally, there is usually no special switch that can selectively stop sales of certain products.

そこで本発明の目的は、価格設定に高低の区別をつける
ことなく、任意の商品の販売を停止させかつその他の商
品の販売は継続して行なえるようにする自動販売機用制
御回路を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a control circuit for a vending machine that can stop the sale of a given product and continue selling other products without making a distinction between high and low prices. There is a particular thing.

上記の目的は、本発明によれば、複数の価格の設定が可
能な価格設定手段と、該手段に設定された複数の価格の
各々について投入金額と比較し投入金額が設定価格以上
になった設定価格に対する販売可能信号を送出する手段
とを有する自動販売機用制御回路において、前記設定手
段のいずれかの価格設定が″′0″のときこれを検出し
て当該設定価格に対する前記販売可能信号の送出を阻止
する手段と、前記設定手段のすべての価格設定が゛0”
のときこれを検出して貨幣の投入阻止信号を形成する手
段とを設けることにより達成される。
According to the present invention, the above object is to provide a price setting means capable of setting a plurality of prices, and to compare the input amount with the input amount for each of the plurality of prices set in the means, and the input amount is equal to or higher than the set price. A control circuit for a vending machine having means for sending a sellable signal for a set price, detects when any price setting of the setting means is ``0'' and sends the sellable signal for the set price. and all price settings of the setting means are ``0''.
This is achieved by providing a means for detecting this and forming a coin insertion prevention signal when this occurs.

以下、本発明の実施例を図面を参照して説明する。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 illustrating the operation of a device 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
は商品設定価格P2にY90を加えるP2+90加算回
路、10は商品設定価格P2にY50を加えるP2+5
0加算回路、11は投入金額とP1およびP,+50お
よびP1+90とを比較する商品設定価格Pl用コンパ
レータ、12は投入金額とP2およびP2+50および
P2+90とを比較する商品設定価格P2用コンパレー
タ、13は商品設定価格P1を設定するためのP1価格
設定回路、14は商品設定価格P2を設定するためのP
2価格設定回路、15はP1用コンパレータ11の出力
により商品設定価格P1の商品の販売を制御するP1用
ベンド制御回路、16はP2用コンパレータ12の出力
により商品設定価格P2の商品の販売を制御するP2用
ベンド制御回路、17はコイン払出し制御回路、18は
コイン詰まり検出回路、19は返金ラッチ回路、20は
自動返金回路、21はセレクトラッチ回路、22はCR
EM制御回路(後述)、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 Y90 to the product setting price P2, and 10 is a P2+5 addition circuit that adds Y50 to the product setting price P2.
0 addition circuit; 11 is a comparator for product setting price Pl that compares the input amount with P1, P, +50, and P1+90; 12 is a comparator for product setting price P2 that compares the input amount with P2 and P2+50 and P2+90; P1 price setting circuit for setting product setting price P1; 14 is P for setting product setting price P2;
2 price setting circuit; 15 is a bend control circuit for P1 that controls the sale of a product with a set price P1 based on the output of the comparator 11 for P1; 16 is a bend control circuit for controlling the sale of a product with a set price P2 based on the output of the comparator 12 for P2; 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, 21 is a select latch circuit, 22 is a CR
EM control circuit (described later), 23 is a two-phase clock pulse generation circuit, and 24 is a bit pulse generation circuit.

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

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

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

ここで使用されるコインをYIO、Y50、¥100で
あるとするとYIOは″000001”、Y50は″0
00101”、¥100は″001010”の2進コー
ドでそれぞれ表わされる。
If the coins used here are YIO, Y50, and ¥100, then YIO is "000001" and Y50 is "0".
00101'' and ¥100 are respectively represented by the binary code of ``001010''.

それゆえ、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 for a coin knock in a vending machine according to the present invention will be explained in detail based on the block diagram shown in FIG.

YIO、¥50X¥100のコインの投入があるごとに
投入コインはエンコーダ1により前述のようにその金額
を表わす2進コードに変換されて加減算器2に印加され
、トータル・ペイアウト用シフトレジスタ3に記憶され
ている今までの投入金額と加算されて投入合計金額がト
ータル・ペイアウト用シフトレジスタ3に記憶される。
YIO, each time a coin of ¥50 x ¥100 is inserted, the inserted coin is converted by the encoder 1 into a binary code representing the amount as described above and applied to the adder/subtractor 2, and then to the shift register 3 for total payout. This is added to the previously stored input amount and the total input amount is stored in the total payout shift register 3.

トータル・ペイアウト用シフトレジスタ3は2相のクロ
ックパルスによりシフトされるものである。
The total payout shift register 3 is shifted by two-phase clock pulses.

このとき¥100のコインは一時エスクロと称するスペ
ースに保持され、¥10X¥50のコインはそれぞれの
釣銭筒内に自動的に収納される。
At this time, the ¥100 coin is temporarily held in a space called escrow, and the ¥10 x ¥50 coins are automatically stored in their respective change cylinders.

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

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

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

商品設定価格は10進法における″′1”が¥10を表
わすようにした6ビットの純2進法による2進コードで
表わされる。
The product 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とP2価格設定回路14と
を設けることにより1つの自動販売機コインノック用電
子制御回路において2つの価格の異なる商品の販売を可
能とし、この自動販売機コインメック用電子制御回路を
1つの自動販売機内に複数個設置することにより多重価
格の自動販売機を得ることができる。
In the present invention, one vending machine coin knock electronic control circuit is provided with a P1 price setting circuit 13 and a P2 price setting circuit 14 for setting two product prices P1 and P2. To obtain a multi-price vending machine by making it possible to sell products with two different prices in an electronic control circuit for knocking, and installing a plurality of electronic control circuits for coin mechs in one vending machine. I can do it.

この場合P1,P2の値は従来の装置においてP,,P
2のどちらかが必ず大きくなければならないという規定
のあるものもあるが、本発明においてはP1〉P2,P
1=P2,P1くP2のどのような設定でも行なうこと
が可能である。
In this case, the values of P1 and P2 are P,,P
2 must be larger, but in the present invention, P1>P2,P
Any setting such as 1=P2, P1 minus P2 is possible.

なお、本発明において商品設定価格が″0”ということ
は、6ビットの場合には「000000」を意味するこ
とはいうまでもない。
In addition, in the present invention, it goes without saying that a product setting price of "0" means "000000" in the case of 6 bits.

P1価格設定回路13、P2価格設定回路14において
設定された6ビットの純2進法による2進コードのうち
P1の2進コードはP1+50加算回路8とP1+90
加算回路7に、P2の2進コードはP2+50加算回路
10と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 10 and P2+90 addition circuit 9.

P1+50加算回路8、P2+50加算回路10にはそ
のほかにビットパルス発生回路24からt1+t3のビ
ットパルス即ちY50を表わす″’000101”が加
えられており、P1+5 0 ,P2+50の加算が行
なわれる。
In addition, a bit pulse of t1+t3, ie, ``000101'' representing Y50 is applied from the bit pulse generating circuit 24 to the P1+50 adder circuit 8 and the P2+50 adder circuit 10, and addition of P1+5 0 and P2+50 is performed.

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 adding circuit 7 and the P2+90 adding circuit 9, and the addition of P1+9 0 and P2+9 0 is performed.

ヒットハルス発生回路24は2相のクロツクパルスφ1
,φ2によりシフトされていくシフトレジスタより構成
され、t1〜t7のビットパルスをクロツクパルス周期
において発生し、そのうちt1〜t6のビットパルスが
金額を表わすのに使用される。
The hit-hals 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.

商品設定価格P 1 t P 1 +5 0 t P
1+ 9 0、トータル・ペイアウト用シフトレジスタ
3に記憶されている投入合計金額Xは商品設定価格P1
用コンパレータ11に、商品設定価格P2,P2+50
,P2+90、前記投入合計金額Xは商品設定価絡P2
用コンパレータ12にそれぞれ加えられ、その比較結果
として商品設定価格P1用コンバレータ11よりX=P
, X>P1, X>P1+ 9 0 ,1 X=P,+50、商品設定価格P2用コンパレータ12
よりX=P2,X>P2,X>P2+90,X=P2+
50の出力を得ることができる。
Product setting price P 1 t P 1 +5 0 t P
1+9 0, the total input amount X stored in the shift register 3 for total payout is the product setting price P1
In the comparator 11, the product setting price P2, P2+50
, P2+90, the total input amount X is the product setting price P2
X=P from the comparator 11 for product setting price P1 as the comparison result
, X>P1, X>P1+ 9 0 , 1 X=P, +50, comparator 12 for product setting price P2
From X=P2,X>P2,X>P2+90,X=P2+
50 outputs can be obtained.

ここで商品設定価格が″0″の場合には、投入金額が0
円のときにX=P1またはX=P2が成立することに注
意すべきである。
Here, if the product setting price is "0", the input amount is 0.
It should be noted that in the case of a circle, X=P1 or X=P2 holds true.

商品設定価格P1用コンパレータ11からの出丈はP1
用ベンド制御回路15に、商品設定価格P2用コンパレ
ータ12からの出力はP2用ベンド制御回路16にそれ
ぞれ加えられる。
The length from the comparator 11 for the 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, respectively.

P1t P2ffベンド制御回路15.16にはそのほ
かに釣銭Y10無し信号A1、釣銭Y50無し信号A2
が加えられている。
P1t P2ff bend control circuit 15.16 also has change Y10 no change signal A1, change Y50 no change signal A2
has been added.

実施例において、P1,P2用ベンド制御回路15,1
6よりP1, P2商品販売可能侶号■END1,■E
ND2が出されるのは次の条谷のときである。
In the embodiment, bend control circuits 15, 1 for P1 and P2
P1, P2 products available for sale from 6 ■END1, ■E
ND2 is issued at the next Jotani.

1)X=P1orP2(但しP1(O or P2\O
)(7E場合 ii) P,<X≦P 1 + 9 0 or P 2
<x≦P2+90でY10釣銭有りの場合、 111)X=P1+50orX=P2+50で¥50釣
銭有りの場合、 このように従来装置ではY50の釣銭がある場合でもY
IOの釣銭が無い場合には釣銭の必要のある販売は行な
わなかったのであるが、実施例の装置においては商品設
定価格P1,P2とY50とを加算した数P +50,
P2+50を投入合計金l 額Xと比較することによりYIOの釣銭のない場合にも
釣銭¥50があり、かつ釣銭額がY50である場合の販
売を可能とすることができる。
1) X=P1orP2 (However, P1(O or P2\O
) (7E case ii) P, <X≦P 1 + 9 0 or P 2
If <x≦P2+90 and there is Y10 change, 111) If X=P1+50orX=P2+50 and there is ¥50 change, then with the conventional device, even if there is Y50 change,
If there was no IO change, sales that required change were not performed, but in the device of the embodiment, the number P + 50, which is the sum of the product setting prices P1 and P2 and Y50,
By comparing P2+50 with the total input amount l amount X, even if there is no change for YIO, it is possible to sell when there is change of ¥50 and the amount of change is Y50.

客がP1価格かP2価格の商品のいずれかを選択するこ
とによりセレクトラッチ回路21に操作人力SEL1、
あるいはSBL2が送られてきてセレクトラツチ回路2
1によって商品設定価格P1の商品の選択か商品設定価
格P2の商品の選択かを判断し、SEL あるいはS
EL2とほぼ同時に1) 生じる外部からの販売信号Tによりエスクロ内に一時保
管されていた¥100のコインを収金するための信号E
SC−ACCをエスクロに送る。
When the customer selects either the product with the P1 price or the P2 price, the select latch circuit 21 is operated manually by SEL1,
Or SBL2 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 SEL or S.
Almost at the same time as EL2 1) Signal E to collect the ¥100 coin temporarily stored in the escrow due to the external sales signal T.
Send SC-ACC to escrow.

次にセレクトラッチ回路21の出力信号はS−EL1を
選択したか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 S-EL1 or SEL2 is selected. It will be done.

P″1価格設定回路13およびP2価格設定回路14に
おいてはセレクトラッチ回路21の出力信号を受け取る
と商品設定価格を表わす2進コードを加減算器2に送る
When the P''1 price setting circuit 13 and the P2 price setting circuit 14 receive the output signal of the select latch circuit 21, they send a binary code representing the product setting price to the adder/subtractor 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−P1またはX−P2の減算が行なわれ、その減
算結果Kがトータル・ペイアウト用シフトレジスタ3に
釣銭額として記憶される。
That is, subtraction of X-P1 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 payout shift register 3 functions as a change register.

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

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

j)K<Y50の場合・・・・・・Y10Xn枚で払い
出し(n<5) ii) K>¥50でY50釣銭有りの場合・川・・¥
50×1枚、¥10×n枚で払い出し(n<5)iii
)K>Y50でY50釣銭無しの場合曲・・¥10Xn
枚で払出し( 1 0>n>0 )実施例においてはコ
インが投入された場合に釣銭がY90以下になる商品の
販売だけを可能とするため釣銭額は必ずY90以下であ
る。
j) If K<Y50...Pay out Y10Xn pieces (n<5) ii) If K>¥50 and there is Y50 change ・River...¥
Payout with 50 x 1 piece, ¥10 x n pieces (n<5) iii
) If K>Y50 and Y50 change is not available, song...¥10Xn
In the embodiment where coins are paid out (10>n>0), the amount of change is always less than Y90 because it is possible to sell only products for which the change is less than Y90 when a coin is inserted.

このことはP,用コンパレータ11およびP2コンパレ
ータ12からの出力信号X>P1+ 9 0 , X>
P2+90によってP1用ベンド制御回路15およびP
2用ベンド制御回路16からのVEND,,VEND2
の信号を制御することにより行ない得る。
This means that the output signals from the P, comparator 11 and the P2 comparator 12 are X>P1+ 9 0 , X>
P1 bend control circuit 15 and P2+90
VEND, , VEND2 from the bend control circuit 16 for 2
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 K stored in the total payout shift register 3 reaches "0", the payout of change is stopped.

但し釣銭額がY50よりも大きな場合にはK〉50コン
パレータ6の出力信号により¥50釣銭を先に払出し残
りをYIOで払い出すようにしている。
However, if the amount of change is larger 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 YIO.

手動返金を行なう場合には返金ラッチ回路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 shift register 3 for total payout until the contents of the ¥100 coin count register 5, which stores the number of ¥100 coins inserted, becomes "0".

同じく¥50枚数レジスタ4に記憶されている投入枚数
が“O”になるまで、加減算器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 number register 4 becomes "O".

この場合、¥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.

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

そしてトータル・ペイアウト用シフトレジスタ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.

CREMのその他の動作条件は後述する。Other operating conditions of CREM will be described later.

以上のような第1図のブロック図に基づいた本発明の制
御回路動作は第2図および第3図に示した第1図のブロ
ック図の実施例の説明により一層明確に示される。
The operation of the control circuit of the present invention 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図に示した本発明のブロック
図の動作を行なう一実施例を示す回路である。
FIGS. 2 and 3 are circuits showing an embodiment for performing the operation of the block diagram of the present invention shown in FIG. 1. 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 coin knocking in the vending machine according to the present invention, and the other signals are electronic signals from devices in the vending machine other than this electronic control circuit. Either it is sent to the control circuit, or it is sent from the electronic control unit to other vending machine equipment.

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

最初は本発明による自動販売機コインノック用電子制御
回路が動作中であることを表わす記号Oは″0 99で
あるからAND回路25〜27にはインバータ回路41
より″1”が加えられているためコイン入力¥10、Y
50、¥100があった場合にはそれに対応してAND
回路25〜27に出力″1”が生じ、その出力″1”は
OR回路28〜30に加えられOR回路28〜30には
AND回路25〜27の出力と同一の出力″1′”を生
じる。
Initially, the symbol O indicating that the electronic control circuit for the coin knock of the vending machine according to the present invention is in operation is "099", so the AND circuits 25 to 27 are connected to the inverter circuit 41.
Since "1" is added, coin input ¥10, Y
If there is ¥50 or ¥100, AND accordingly.
An output "1" is produced in the circuits 25 to 27, and the output "1" is applied to the OR circuits 28 to 30, and the output "1" which is the same as the output of the AND circuits 25 to 27 is produced in the OR circuits 28 to 30. .

またNAND回路32にはt1のビットパルス、NAN
D回路33にはt2のビットパルス、NAND回路34
にはt3のビットパルス、NAND回路35にはt4の
ビットパルスがシフトレジスタSR1から加えられてい
る。
In addition, the NAND circuit 32 has a bit pulse of t1, 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.

シフトレジスタ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.

このようにすることによりYIOのコイン入力があった
場合にはこの入力はOR回路2B,31を介してNAN
D回路32に加えられるためNAND回路32の出力は
t1のビットパルスに同期するため6ビットの2進数に
おいて″111110”で表わされ、ワイヤードOR回
路WO1を介してインバータ回路36で反転して゛0
0 0 0 0 1 ”となりII 1 jlをYIO
で表わすようにしておくことにより純2進法においてY
IOを示す2進コードを得ることができる。
By doing this, if there is a YIO coin input, this input will be converted to NAN via OR circuits 2B and 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 "111110" in a 6-bit binary number, and is inverted by the inverter circuit 36 via the wired OR circuit WO1 to become "0".
0 0 0 0 1” and II 1 jl is YIO
By expressing it as Y in pure binary system,
A binary code indicating the IO can be obtained.

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

また¥100のコイン入力はNAND1回路33.35
に加えられ、t2,t4のビットパルスに同期してイン
バータ回路36の出力に “001010”即ち、Yl 00を示す2進コードが
現われる。
Also, ¥100 coin input is NAND1 circuit 33.35
"001010", that is, a binary code indicating Yl 00, appears at the output of the inverter circuit 36 in synchronization with the bit pulses at t2 and t4.

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

サイクルタイマ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の
いずれかのコイン入力があった場合に一定時間、出力”
■”をAND回路37に送る働らきをする。
In other words, the cycle timer 39 outputs an output for a certain period of time when a coin of ¥10, ¥50, or ¥100 is input.
■It functions to send “” 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の出力は11〜t7の1サイクルタ
イム間だけ、即ち¥10、Y50、¥100のコイン入
力を表わすパルスは1回だけしかAND回路37の出力
端から出ないということになるためコインの2重計算と
いうことは生じない。
Therefore, the output of the AND circuit 37 is only for one cycle time from 11 to t7, that is, the pulse representing the coin input of ¥10, Y50, and ¥100 is output from the output terminal of the AND circuit 37 only once. Double counting of coins does 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、加減算器ADD1シフトレジスタ
SR2、OR回路46から示される部分より成り立って
いる。
The adder/subtractor 2 and total payout shift register 3 shown in the block diagram of FIG. 1 are comprised of the OR circuit 44, adder/subtractor ADD1 shift register SR2, and OR circuit 46 shown in FIG.

加減算器ADDは、インバータ43の出力に応じて加算
、減?モードの切換えが行なわれる純2進法の加減算器
(内部の詳細回路については、必要ならば例えば昭和4
6年8月15日、■ラジオ技術社発行「電卓技術教科書
・基礎編」第176頁、第5・8図を参照されたい。
The adder/subtractor ADD performs addition or subtraction depending on the output of the inverter 43. A pure binary adder/subtractor with mode switching (for the detailed internal circuit, please refer to the
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. However, a well-known adder/subtractor can be used.

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

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

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

PRICE1,PRICE2の各端子のうちNAND1
回路83.89と接続されている端子はNAND回路8
3,89がt1のビットパルスが印加されるように接続
されているので、″′1”の重みをもっており、以下同
様にしてNAND回路84,90と接続される端子は″
2”の重みをもっており、NAND回路85,91と接
続される端子は”4”の重みをもち、NAND回路86
,92と接続される端子は″8”の重みをもち、NAN
D回路87,93と接続される端子は″16”の重みを
もち、NAND回路88.94と接続される端子は″3
2”の重みをもつことになり、PRICE,の各端子の
どれかに信号を与えることによりNAND回路83〜8
8の出力はワイヤードOR回路WO〜W06を介してイ
ンバータ回路96に接続されているためインバータ回路
96の出力はNAND回路83〜88の出力を反転した
ものであり、商品設定価格P1を表わす6ビットの純2
進法による2進コードをインバータ回路96の出力とし
て得ることができる。
NAND1 of each terminal of PRICE1 and PRICE2
The terminals connected to circuits 83 and 89 are NAND circuits 8
Since terminals 3 and 89 are connected so that the bit pulse of t1 is applied, they have a weight of "'1", and the terminals that are similarly connected to the NAND circuits 84 and 90 are "'".
The terminals connected to NAND circuits 85 and 91 have a weight of 4, and the terminals connected to NAND circuits 85 and 91 have a weight of 4.
, 92 has a weight of "8", and the terminal 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 "3".
2" weight, and by giving a signal to any of the terminals of PRICE, the NAND circuits 83 to 8
Since the output of 8 is connected to the inverter circuit 96 via the wired OR circuits WO to W06, the output of the inverter circuit 96 is the inverted version of the outputs of the NAND circuits 83 to 88, and is a 6-bit signal representing the product setting price P1. Pure 2
A base binary code can be obtained as the output of the inverter 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図のブロック図に示すように、P1+50加
算回路7XP1+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 the P1+50 addition circuit 7XP1+90 addition circuit 8, and P2 is sent to the P2+
The signals are sent to a P2+90 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、フリ
ツプフロツプ回路FF4よりなる部分が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 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 portion 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 portion consisting of the full adder FA4, the AND circuit 52, and the flip-flop circuit FF4 is the P2+50 addition circuit 10.

全加算器FA1およびFA2には2相シフトレジスタS
R1により作られるt1〜t7のビットパルスのうちt
1とt4のビットパルスがOR回路81の出力として印
加されるように接続し、それにより全加算器FA1およ
びFA2には90を表わす2進数″001001”が加
えられ、全加算器FA1およびFA2からはP1+90
またはP2+90の出力を得ることができる,また全加
算器FA3およびFA4には同様にしてt1とt3のビ
ットパルスによるOR回路80の出力としてY50を表
わす2進数″000101”を印加し、その出力として
P1+50およびP2+50を得ることができる。
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 1 and t4 are connected to be applied as the output of the OR circuit 81, so that the binary number "001001" representing 90 is added to the full adders FA1 and FA2, and the bit pulses from the full adders FA1 and FA2 are applied. is P1+90
Alternatively, the output of P2+90 can be obtained, and the binary number "000101" representing Y50 is similarly applied to the full adders FA3 and FA4 as the output of the OR circuit 80 based on the bit pulses of t1 and t3. P1+50 and P2+50 can be obtained.

第1図のブロック図におけるP1用コンバレータ11は
第2図においてコンパレータCOMP2〜COMP,、
またP2用コンパレータ12はコンパレータCOMP6
〜COMF,より構成される部分である。
The P1 comparator 11 in the block diagram of FIG. 1 is replaced by the comparators COMP2 to COMP,
Also, the comparator 12 for P2 is the comparator COMP6.
~COMF.

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

コンパレータCOMM3には投入コイン合計額Xを純2
進法で表わした6ビットの2進コードと先に述べた全加
算器FA1よりP1+90を純2進法により表わした6
ビットの2進コードとが印加されており、その比較結果
としてX>P1+90の信号0が得らレル。
The total amount of coins inserted into the comparator COMM3 is set to 2
From the 6-bit binary code expressed in decimal notation and the full adder FA1 mentioned earlier, P1+90 is expressed in pure binary notation 6
A bit binary code is applied, and as a result of the comparison, a signal 0 with X>P1+90 is obtained.

コンパレータCOMP,にはコンバレータCOMP2と
同じ入力が印加されており、その比較結果としてX=P
1の信号■が得られる。
The same input as the comparator COMP2 is applied to the comparator COMP, and the comparison result is X=P
1 signal ■ is obtained.

この信号?はP1=OでX=0のときにも当然生じる。This signal? naturally occurs when P1=O and X=0.

コンパレータCOMP,には投入コイン合計額Xを純2
進法により表わした6ビットの2進コードと、前述の全
加算器FA3よりp1+50を純2進法により表わした
6ビットの2進コードとが印加されており、その比較結
果としてX=P1+50の信号■が得られる。
The total amount of coins inserted into the comparator COMP,
A 6-bit binary code expressed in decimal notation and a 6-bit binary code expressed in pure binary notation from the aforementioned full adder FA3 are applied, and the comparison result is X=P1+50. Signal ■ is obtained.

商品設定価格P2に対しては商品設定価格P1と同様に
してコンパレータCOMP6からX>P2の信号■、コ
ンパレークCOMP 7からはX>P2+90の信号0
1コンパレータ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 0 of X>P2+90 is sent from the comparator COMP7.
A signal (2) with X=P2 is obtained from the comparator COMP8, and a signal (2) with X=P2+50 is obtained from the comparator COMP8.

信号■はX=0,P2=0のときにも当然生じる。Signal ■ naturally occurs when X=0 and P2=0.

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

第2図に示したコンパレータ■MP2〜■MP,の出力
信号■X>P1tQX>P1+9 0 ,■X=P1,
■X=P1+50,■X>P2,OX>P2+90,■
X=P2,OX=P2+50は第3図に示すようにNA
ND回路100,101、ANI)回路102,106
,108、OR回路105,107、インバータ回路1
09,110、NOR回路118、フリツプフロツプ回
路FF1からなるP1用ベンド制御回路、あるいはNA
ND回路111,112、AND回路113,116,
119、OR回路114,117、インバータ回路11
5,110、NO矧回路118、フリツプフロツプ回路
FF13からなるP2用ベンド制御回路に加えられる。
Output signals of comparators ■MP2 to ■MP shown in Fig. 2 ■X>P1tQX>P1+9 0, ■X=P1,
■X=P1+50,■X>P2,OX>P2+90,■
X=P2, OX=P2+50 is NA as shown in Figure 3.
ND circuits 100, 101, ANI) circuits 102, 106
, 108, OR circuit 105, 107, inverter circuit 1
09, 110, P1 bend control circuit consisting of NOR circuit 118, flip-flop circuit FF1, or NA
ND circuits 111, 112, AND circuits 113, 116,
119, OR circuit 114, 117, inverter circuit 11
5,110, an NO short circuit 118, and a flip-flop circuit FF13.

商品設定価格P1の商品について考えてみるとX=P1
のとき、X=P1の信号■はOR回路105に加えられ
、OR回路105の出力はAND回路106の一方の入
力となる。
Considering a product with set price 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の出力す
なわちP1=0という信号■が加えられているため商品
設定価格P1が0でないときには″′1”が加えられて
いるためX=P1の信号のがきた場合にはOR回路10
7の出力として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, ``'1'' is added, so the signal of X=P1 is If this occurs, the OR circuit 10
``'1'' is added to one of the two input terminals of the AND circuit 108 as the output of 7.

AND回路108の他方の入力端子はNOR回路11B
の出力端子と接続されている。
The other input terminal of the AND circuit 108 is the NOR circuit 11B.
is connected to the output terminal of

NOR回路118の2つの入力端子にはワイヤードAN
D回路WA3およびフリツプフロツプ回路FF11から
の信号が送られてくる。
The two input terminals of the NOR circuit 118 are wired AN
Signals from D circuit WA3 and flip-flop circuit FF11 are sent.

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

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

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

NAND回路156には入力としてフリツプフロツプ回
路FF17の出力とSINGという信号とが加えられて
いる。
The output of the flip-flop circuit FF17 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 when only one product price setting circuit is used, the price setting number selection signal SING is set to "0".
, if two product pricing circuits are used, add "1" and so on.

SING信号の状態にかかわらず、販売信号Tのないと
きCこは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の出力は″1”であり、この出
力をインバータ回路160にて反転してNOR回路11
8の入力として”0”を加える。
Therefore, when there is no manual power PO to refund the sales signal T1, the output of the wired AND circuit WA3 is "1", and this output is inverted by the inverter circuit 160 and the NOR circuit 11
Add "0" as input of 8.

それゆえ販売信号T1返金人力POがない場合にはNO
R回路118の出力は″1”でありOR回路107の出
力が″1″となったときにフリツプフロツプ回路FF1
をセットしてP1価格の商品を選択することができると
いう信号VEND1を生じて、客がP1価格の商品を選
択するのを可能にさせる。
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
is set to generate a signal VEND1 indicating that the product with the P1 price can be selected, thereby allowing the customer to select the product with the P1 price.

商品設定価格P2の商品についてもまったく商品設定価
格P1の商品の場合と同様であり、OR回路95よりP
2=0という信号■に基づいて行なわれフリツプフロツ
プ回路FF13よりVEND,2という信号を得ること
ができる。
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 VEND,2 can be obtained from the flip-flop circuit FF13.

上記のP1−0またはP2=0という信号は、商品設定
価格P1またはP2が″′0”すなわち6ビットで云え
ば[o O 0 0 0 0Jでないときに″1”であ
る?ら、例えば価格の設定が行なわれない場合には″0
″となり、この場合は図からも明らかなようにAND回
路106または116が成立しないのでフリツプフロツ
プ回路FF1またはFF13はセットされず、販売可能
嶺号VEND1または■END2は送出されない。
The above signal P1-0 or P2=0 is "1" when the product setting price P1 or P2 is "'0", that is, in 6 bits, [o O 0 0 0 0J? For example, if no price is set, ``0''
'', and in this case, as is clear from the figure, the AND circuit 106 or 116 is not established, so the flip-flop circuit FF1 or FF13 is not set, and the salesable ridge number VEND1 or ■END2 is not sent out.

したがって、いずれかの価格設定を″0”にすると該当
商品の販売は行なわれないことになる。
Therefore, if any price setting is set to "0", the corresponding product will not be sold.

一方、販売可能信号■END1,■END2が出されれ
ば、このvEND1、また■END2に基づいて自動販
売機には商品設定価格P1またはP2の商品を選択する
ことができるという表示が行なわれ、客がどちらかを選
ぶことによりSEL1またはSEL2という信号が販売
信号Tとともに本発明による自動販売機コインノック用
電子制御回路装置に送られてくる。
On the other hand, if the sellable signals ■END1 and ■END2 are issued, the vending machine displays a display indicating that the product with the product set price P1 or P2 can be selected based on vEND1 and ■END2. When the customer selects either one, a signal SEL1 or SEL2 is sent together with the sales signal T to the electronic control circuit device for the automatic vending machine coin knock according to the present invention.

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

またX>P1の信号■を生じさせるようなコインの投入
があった場合には、x>p,の信号■はAND回路10
2に加えら札AND回路102の他の入力としてX>P
1+90の信号■をNOT回路109により反転させた
ものと、Y50鈎銭無し信号A2をNOT回路110に
て反転したものとX=P,+50の信号[F]とをNA
ND回路100に加えてその出力をYIO鈎銭無し信号
A1とともにNAND回路101に加えて得られるNA
ND回路101の出力とを加えておくことにより、X>
P1およびX≦P1+90でYIOの鈎銭のある場合に
はM…回路102に出力″1”を生じ、その出力をOR
回路105に加えることにより、前述のX=P1の場合
と以下同様にしてVEND1の信号が得られる。
In addition, if a coin is inserted that causes the signal ■ of X>P1, the signal ■ of x>p is output to the AND circuit 10.
In addition to 2, as other inputs of the AND circuit 102, X>P
1+90 signal ■ inverted by NOT circuit 109, Y50 hookless signal A2 inverted by NOT circuit 110, and X=P, +50 signal [F] are NA
NA obtained by adding the output of the ND circuit 100 to the NAND circuit 101 together with the YIO hookless signal A1
By adding the output of the ND circuit 101, X>
If P1 and X≦P1+90 and there is a hook of YIO, an output "1" is generated in the M...circuit 102, and the output is ORed.
By adding it to the circuit 105, the VEND1 signal can be obtained in the same manner as in the case where X=P1 described above.

またX=P1+50のときでYIOの鈎銭がなく¥50
の鈎銭がある場合には、NAND回路100には″1”
と″′1”が加えられるためその出力は″′O”であり
、その出力″0”がYIO鈎銭無しを示す”1”ととも
にNAND回路101゛に加えられるためNAND回路
101の出力は″″l”となり、X=P1+50はX>
P1およびX≦P1+90をみたしているので、AND
回路102の入力はすべて″1”となるため前述のX>
P,のときと同様にVEND,の信号を得ることができ
る。
Also, when X = P1 + 50, there is no hook coin for YIO and it costs ¥50.
If there is a hook coin, the NAND circuit 100 has "1"
Since "'1" is added to the output, the output is "'O", and the output "0" is added to the NAND circuit 101 along with "1" indicating that there is no YIO hook, so the output of the NAND circuit 101 is ""l", and X=P1+50 is X>
Since P1 and X≦P1+90 are satisfied, AND
Since all the inputs of the circuit 102 are "1", the above-mentioned X>
Similarly to the case of P, the signal of VEND can be obtained.

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

販売信号Tが生じることにより実施例の装置においては
次のことが行なわれる。
When the sales signal T is generated, the following occurs in the device of the embodiment.

販売信号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が生
じているときには、”0”であり、またフリツプフロツ
プ回路FF1、の出力はフリツプフロツプ回路FF18
の出力力げ0″のときは“0゛のままであるからNOR
回路159の出力は″1′”であり、それゆえOR回路
154に出力″1”が生じることによりフリツプフロツ
プ回路FF17がセットされる。
The output of the flip-flop circuit FF16 is "0" when the sales signal T is generated, and the output of the flip-flop circuit FF1 is "0".
When the output force is 0'', it remains at 0, so NOR
The output of the circuit 159 is "1", and therefore, the output "1" is produced in the OR circuit 154, thereby setting the flip-flop circuit FF17.

この出力は遅延回路pelay4によりl 0 0 m
s遅れてOR回路157の出力としてAND回路158
に加えられる。
This output is l 0 0 m by the delay circuit pelay4.
AND circuit 158 as the output of OR circuit 157 after s delay.
added to.

AND回路158には他の入力として前述のNOR回路
159より゛1″が加えられているためOR回路157
の出力として″1′″が生じることによりフリツプフロ
ツプ回路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 output of "1".

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

またフリツプフロツプ回路FF18の出力N 1 ?1
はAND回路132にSEL2の信号とともに加えられ
る。
Also, the output N 1 of the flip-flop circuit FF18? 1
is added to the AND circuit 132 together with the SEL2 signal.

SEL1,SEL2の信号は販売信号Tとほぼ同時に発
生するものであるので、フリツプフロツプ回路FF18
の出力N 1 11が生じるときCこはすでにSEL,
,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 N 1 11 occurs, C is already SEL,
, SEL2 is AND circuit 131 or 132
has been added to.

故にフリツプフロツプ回路FF18の出力″1′′が生
じると同時にAND回路131または132より出力″
1”が生じ、AND回路131の出力はAND回路14
1の2つの入力端子の一方の端子に直接に、他方の端子
にインバータ回路161、ワイヤードOR回路W0.4
2 WO15、インバータ回路143、サイクルタイマ
163を介して加えられる。
Therefore, at the same time that the output "1" of the flip-flop circuit FF18 is generated, the output "1" is generated from the AND circuit 131 or 132.
1" is generated, and the output of the AND circuit 131 is the output of the AND circuit 14.
The inverter circuit 161 and the wired OR circuit W0.4 are directly connected to one of the two input terminals of 1, and the other terminal is connected to the inverter circuit 161 and wired OR circuit W0.
2 is applied via the WO 15, the inverter circuit 143, and the cycle timer 163.

サイクルタイマ163を介してAND回路141に加え
ることによりAND回路141の出力はビットパルス1
1〜17間隔で1回だけ生じることになる。
By applying it to the AND circuit 141 via the cycle timer 163, the output of the AND circuit 141 becomes bit pulse 1.
It will occur only once every 1 to 17 intervals.

また同様にAND回路132の出力はAND回路142
の2つの入力端子の一方の端子に直接に、他方の端子に
NOT回路162、ワイヤードOR回路WO1,、NO
T回路143、サイクルタイマ163を介して加えられ
るためANIl7回路142の出力はビットパルスt1
〜t7の間隔で1回だけ生じる。
Similarly, the output of the AND circuit 132 is output from the AND circuit 142.
The NOT circuit 162 and the wired OR circuit WO1, NO are directly connected to one of the two input terminals of the
Since it is applied via the T circuit 143 and the cycle timer 163, the output of the ANI17 circuit 142 is the bit pulse t1.
Occurs only once in the interval ~t7.

AND回路141の出力をSBL1信号■、AND回路
142の出力をSEL2信号■とすると、SEL1信号
■は第2図におけるNAND回路98に加えられる。
Assuming that the output of the AND circuit 141 is the SBL1 signal ■, and the output of the AND circuit 142 is the SEL2 signal ■, the SEL1 signal ■ is applied to the NAND circuit 98 in FIG.

NAND回路98には他に入力としてインバータ回路9
6から商品設定価格P1を表わす2進コードが加えられ
ているためSEL1信号■が加えられることにより商品
設定価格P1を表わす2進コードはワイヤードOR回路
WO、2、インバータ回路79、OR回路44を介して
加減算器ADDに加えられる。
The NAND circuit 98 also has an inverter circuit 9 as an input.
Since the binary code representing the product setting price P1 is added from 6 to 6, the binary code representing the product setting price P1 is added by the SEL1 signal ■ to the wired OR circuit WO, 2, the inverter circuit 79, and the OR circuit 44. The signal is added to the adder/subtracter ADD via the subtracter 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/subtracter ADD has an inverter circuit 43 as another input.
When there is no coin input signal ■, since "1" is 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 bill hook amount K is stored in the shift register SR2. Ru.

商品設定価格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 performed in the same way as the product setting price P1.

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

AND回路133にはインバータ140の出力と、既に
”1″となっているSEL信号eと、シフトレジスタS
R2の内容が0でないときにn 1 uとなる信号■と
が与えられているため、サイクルタイマ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 shift register S.
Since the signal ■ which becomes n 1 u when the content of R2 is not 0 is given, the content of shift register SR2 (i.e. the hook amount) when the output of the cycle timer 163 disappears.
When is not 0, the AND circuit 133 outputs an output,
A coin payout signal B1 is issued via the OR circuit 134 to start the coin payout operation.

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

投入金額Xから商品設定価格P1またはP2を減算した
鈎銭額Kを表わすシフトレジスタSR2の記憶内容は第
1図においてK≧50コンパレータ6を示すところのコ
ンパレータCOMP1に送られY50と比較される。
The stored contents of the shift register SR2 representing the coin 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信号eとが加えられている。
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 hookless signal A2 inverted by an inverter circuit 78, and the SEL signal which is the output signal of the flip-flop circuit FF18. e has been added.

故にY50の鈎銭硬貨があり、鈎銭額がY50以上とな
る商品が販売された場合にはAND回路77の出力に″
1”が生じ、OR回路76の出力としてY50鈎銭払出
し信号B2が生じ、これと前述のコイン払出しが行なわ
れる。
Therefore, if there is a Y50 hook coin and a product with a hook coin value of Y50 or more is sold, the output of the AND circuit 77 will be ``
1'' is generated, and the Y50 coin payout signal B2 is generated as the output of the OR circuit 76, and the above-mentioned coin payout is performed.

OR回路76の出力はAND回路74に加えられ、AN
D回路74には他の入力として鈎銭払出し確認信号PO
Sが加えられており、¥50の鈎銭が払い出されたとき
にAND回路74に出力″1″が生じ、この出力はOR
回路29に加えられてコイン投入の場合と同じようにY
50を表わす2進コードに変換されて加減算器ADDに
加えられるが、このときには加減算器ADDの他の入力
であるインバータ回路43の出力はAND回路25〜2
7の出力が″0”であるため″′1”であり、それゆえ
加減算器ADDは減算モードとなるため鈎銭額KとY5
0の減算が行なわれる。
The output of the OR circuit 76 is added to the AND circuit 74,
The D circuit 74 receives a hook payout confirmation signal PO as another input.
S is added, and when a hook coin of 50 yen is paid out, an output "1" is generated in the AND circuit 74, and this output is ORed.
Y is added to circuit 29 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", so the adder/subtractor ADD is in subtraction mode, so the hook amount K and Y5 are
A subtraction of 0 is performed.

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

AND回路73にはAND回路74と同じ鈎銭払出し確
認信号POSが加えられており、AND回路73はAN
D回路74と同じように鈎銭が払い出されるたびに、そ
の出力信号″1”をOR回路281こ送り鈎銭額Kから
のYIOの減算を行なう。
The same coin payout confirmation signal POS as the AND circuit 74 is added to the AND circuit 73;
Like the D circuit 74, each time a hook coin is paid out, the output signal "1" is sent to the OR circuit 281 to subtract YIO from the hook coin amount K.

YIOの鈎銭の払出しはY50の鈎銭を減算したのちに
シフトレジスタSR2に記憶された鈎銭額Kがなおも残
っている場合にはOR回路46よりシフトレジスタSR
2に記憶内容が残っているという信号■が引き続き生じ
ているので、AND回路133、OR回路134からは
引き続きコイン払出し信号B1が出されており、これと
Y50コイン払出し信号B2が消減したという条件とに
より行なわれる。
To pay out the YIO hook coin, if the hook coin amount K stored in the shift register SR2 still remains after subtracting the Y50 hook coin, the OR circuit 46 sends the hook coin to the shift register SR.
Since the signal ■ indicating that the memory contents remain in 2 continues to be generated, the AND circuit 133 and the OR circuit 134 continue to output the coin payout signal B1, and the condition that this and the Y50 coin payout signal B2 have disappeared. This is done by

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

Y50鈎銭払出しがYIO鈎銭払出しに優先するため、
最小枚数の鈎銭の払出しが可能となる。
Since Y50 hook coin payout has priority over YIO hook coin payout,
It becomes possible to pay out the minimum number of hook coins.

?に返金の場合を考える。? 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 also has a NOR circuit 122 as an input.
The output of is added.

NOR回路122には販売信号TとSEL信号[相]を
NOR回路148、インバータ回路150を介して得ら
れるインバータ回路150の出力とが加えられているた
め販売信号Tのない場合にはNOR回路122の出力は
”1″であるためコイン入力信号■があった場合にはA
ND回路121の出力に′゛1”が生じてフリツプフロ
ツプ回路FF14がセットされる。
To the NOR circuit 122, the sales signal T and the SEL signal [phase] are added to the NOR circuit 148 and the output of the inverter circuit 150 obtained through the inverter circuit 150, so when the sales signal T is not present, the NOR circuit 122 Since the output of is "1", if there is a coin input signal ■, A
``1'' is generated at the output of the ND 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 is applied to the AND circuit 125 via the NOR circuit 124.

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

フリツプフロツプ回路FF15の出力は遅延回路Del
ay2, OR回路145を介してAND回路146に
加えられる。
The output of flip-flop circuit FF15 is connected to delay circuit Del.
ay2 is applied to the AND circuit 146 via the OR circuit 145.

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

このようにすることにより返金人力POを加える以前に
販売信号■が生じた場合にはフリツプフロツプ回路FF
14はリセットされるため返金信号は得られず、また返
金人力POが加えられた後でも遅延回路Delay2の
遅延時間中に販売信号■またはSEL信号eが生じた場
合にはフリツプフロツプ回路F F1,をリセットさせ
て販売信号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 FF1 is activated. It is reset to give priority to the sales signal T and SEL signal e.

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

即ち前述のフリツプフロツプ回路FF1の出力をインバ
ータ回路127を介してワイヤードAND回路WA1に
、また前述のフリツプフロツプ回路FF13の出力をイ
ンバータ回路128を介してワイヤードAND回路WN
1に加え、ワイヤードAND回路WA,の出力をAND
回路129に加える。
That is, the output of the flip-flop circuit FF1 mentioned above is sent to the wired AND circuit WA1 via the inverter circuit 127, and the output of the flip-flop circuit FF13 is sent to the wired AND circuit WN via the inverter circuit 128.
In addition to 1, AND the output of the wired AND circuit WA,
Add to circuit 129.

またX〉P1の信号■とX=P,の信号■とをOR回路
103に加え、X>P2の信号[有]とX=P2の信号
■とをOR回路104に加え、OR回路103とOR回
路104の出力とをワイヤードAND回路WA2に加え
て、ワイヤードAND回路WA2の出力をAND回路1
29に加える。
Also, the signal ■ of X>P1 and the signal ■ of X=P are added to the OR circuit 103, the signal [present] of X>P2 and the signal ■ of The output of the OR circuit 104 is added to the wired AND circuit WA2, and the output of the wired AND circuit WA2 is added to the AND circuit 1.
Add to 29.

このようにすることによりワイヤードAND回路WA2
には最高商品価格設定値よりも太きいか、等しい金額を
投入した場合に出力″1″が生じ、ワイヤードAND回
路WA1の出力にはフリツプフロツプ回路FF12,F
F13の出力が生じていないときに″1”が生じ、AN
D回路129により自動返金信号ATPOが得られる。
By doing this, wired AND circuit WA2
When inputting an amount greater than or equal to the maximum product price setting value, an output "1" is generated, and the output of the wired AND circuit WA1 is the flip-flop circuit FF12, F.
"1" occurs when the output of F13 is not occurring, and AN
An automatic refund signal ATPO is obtained by the D circuit 129.

即ち、実施例においては最高限度までコインを投入して
も販売出力vEND1,vEND2が生じない場合には
自動的に返金を行なうようにしている。
That is, in the embodiment, if the sales outputs vEND1 and vEND2 do not occur even if coins are inserted to the maximum limit, a refund is automatically made.

この自動返金信号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図のブロック図に示すようにY5
0,YIOOのコインの投入に対してはY50枚数レジ
スタ4、YIOO枚数レジスタ5を設けて、その投入枚
数を計数している。
In the embodiment, as shown in the block diagram of FIG.
For the insertion of 0 and YIOO coins, a Y50 number register 4 and a YIOO number 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.

レジスタR, ,R2は入力が加えられるたびにフリツ
プフロツプ回路を順次セットしていくもので、レジスタ
R1は15枚すなわち750円までのY50のコインの
投入を計数でき、レジスタR2は8枚(SOO)までの
コインの投入を計数することができる。
Registers R, , and R2 sequentially set the flip-flop circuit each time an input is applied, and register R1 can count up to 15 Y50 coins, or 750 yen, and register R2 can count 8 coins (SOO). It is possible to count the number of coins inserted up to.

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

Y50のコイン入力信号があるたびにサイクルタイマ3
9かラt,〜t7のビットパルス周期の間だけAND回
路53に信号が加えられるためOR回路54の出力パル
ス信号によりY50のコインの?入枚数がY50枚数レ
ジスタR1に記憶される。
Cycle timer 3 every time there is a coin input signal of Y50
Since a signal is applied to the AND circuit 53 only during the bit pulse period of 9, t, to t7, the output pulse signal of the OR circuit 54 determines whether the Y50 coin will be processed. The number of sheets received is stored in the Y50 sheet 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コイン入力信号がYI
OO枚数レジスタ貴に記憶される。
Furthermore, the ¥100 coin input signal is input to the cycle timer 39.
The output of the AND circuit 64 is applied to the OR circuit 67, so the OR
The ¥100 coin input signal becomes YI due to the output pulse of the circuit.
It is stored in the OO number register.

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

Y50枚数レジスタR1ニはOR回路58、ArJD回
路59、インバータ回路60、フリツプフロツプ回路F
F6よりなる回路が付属されて詔り、¥50コイン入力
がY50枚数レジスタに加えられると回時にフリツプフ
ロツプ回路FF,をセットし、¥50枚数レジスタの記
憶内容が”0”になったときにフリツプフロツプ回路F
F6をリセットしてフリツプフロツプ回路FF6の出力
により¥50枚数レジスタR1の記憶内容を判断できる
ようにしている。
Y50 number register R1 2 is OR circuit 58, ArJD circuit 59, inverter circuit 60, flip-flop circuit F
A circuit consisting of F6 is attached, and when the ¥50 coin input is added to the Y50 coin count register, it sets the flip-flop circuit FF, and when the stored content of the ¥50 coin count register becomes "0", the flip-flop circuit FF is set. Circuit F
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、A
ND回路TO、インバータ回路12、フリツプフロツプ
回路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 TO, an inverter circuit 12, 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 (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の出力と¥100枚数レジスタR2およ
びフリツプフロツプ回路FF7を入力とするOR回路T
1の出力とがAND回路65に加えられるためフリツプ
フロツプ回路FF7の出力が″′1”である場合、すな
わち¥100枚数レジスタR2にYIOOのコインの投
入枚数が記憶されている間はAND回路65に出力″
1”を生じてOR回路67の出力として¥100枚数レ
ジスタR2にパルスを与えて¥100枚数レジスタR2
の記憶を順次出力端の方に移動させていく。
An OR circuit T whose inputs are the output of the AND circuit 66, the ¥100 number register R2, and the flip-flop circuit FF7.
1 is added to the AND circuit 65, so when the output of the flip-flop circuit FF7 is "'1", that is, while the number of YIOO coins inserted is stored in the ¥100 number register R2, the AND circuit 65 Output to ″
1'' is generated and a pulse is given to the ¥100 number register R2 as the output of the OR circuit 67.
The memories of are sequentially moved toward the output end.

YIOO枚数レジスタR2の出力端より信号が出される
とその信号はAND回路65の出力とともにAND回路
68に加えられ、¥100枚数レジスタR2の出力端よ
り信号が出されて¥100の記憶枚数が減算されるたび
にAND回路68から生じる出力″′1′”をOR回路
30に加えて前述の¥5・0,YIOの鈎銭払出しのと
きと同様にシフトレジスタSR2に記憶されている投入
金額Xからの¥100の減算を行なう。
When a signal is output from the output terminal of the YIOO sheet number register R2, that signal is added to the AND circuit 68 together with the output of the AND circuit 65, and a signal is output from the output terminal of the ¥100 sheet number register R2, and the number of stored sheets of ¥100 is subtracted. The output ``'1'' generated from the AND circuit 68 is added to the OR circuit 30 each time the input amount is inputted, and the input amount X stored in the shift register SR2 is added to the output amount Subtract ¥100 from .

このようにして¥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回路6
1の一方の入力に″0”′が加えられるとともにインバ
ータ回路56の出力としてκの回路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 6
"0"' is added to one input of the inverter circuit 56, and "1" is added to the κ 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の出力◎はただちには生じな
いが、AND回路57、OR回路54を介してY50枚
数レジスタR1は¥100枚数レジスタR2と同時にそ
の記憶内容を出力端の方に移動させられているため、記
憶内容により前後はあるものの短時間ののちに¥50枚
数レジスタR1は出力を生じる。
If Y50 is turned on, flip-flop circuit FF6 is set, so the output of NOR circuit 61,
Therefore, the output ◎ of the AND circuit 62 does not occur immediately, but the stored contents of the Y50 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 ¥50 number 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を介して始
めて出力■を発生させる。
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 generates an output and the AND circuit 62 generates the output ■.

Y50枚数レジスタR1の出力は、他方ではAND回路
63に与えられ、その結果AND回路63に出力″′1
”が生じ、その出力はOR回路76に加えられ、前述の
Y50鈎銭払出しのときと同様にY50払出し信号B2
と、前述のAND回路62の出力■を第3図のOR回路
134を通して得たコイン払出し信号B1とによりY5
0のコインを払出し、その鈎銭払出し確認信号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, and its output is applied to the OR circuit 76, and the Y50 payout signal B2 is generated as in the case of the Y50 hook payout described above.
and the coin payout signal B1 obtained through the OR circuit 134 in FIG.
A coin of 0 is paid out, and Y50 is subtracted from the memory contents of the shift register SR2 for total payout in response to the coin payout confirmation signal POS.

鈎銭払出し確認信号POSはAND回路55に加えられ
、AND回路55には他に入力としてY50枚数レジス
タR1の出力端からの信号とインバータ回路56の出力
が加えられており、Y100枚数レジスタR2の記憶内
容が空であり、¥50枚数レジスタR1に記憶内容があ
る場合には鈎銭払出し確認信号POSを受けるごとによ
りAND回路55には出力”1″を生じ、この出力はO
R回路54を介してY50枚数レジスタR1に送られ、
Y50枚数レジスタR1の記憶内容を出力端の方にひと
つだけ移動させる。
The coin payout confirmation signal POS is applied to the AND circuit 55, which also receives as input the signal from the output terminal of the Y50 number register R1 and the output of the inverter circuit 56, and the signal from the output terminal of the Y100 number register R2. If the memory content is empty and there is memory content in the ¥50 coin count register R1, an output "1" is generated in the AND circuit 55 every time the coin payout confirmation signal POS is received, 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 toward the output end.

このことをY50枚数レジスタR1の記憶内容が空にな
るまで行なう。
This process is repeated until the stored contents of the Y50 sheet 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は出力◎を生じているため、O
R回路134を介してコイン払出し信号B1が出続けて
おり、これと¥50コイン払出し信号B2が消滅したと
いう条件にもとづいて鈎銭払出し時と同様にしてYIO
コインの払出しを行なわせる。
When the stored contents of the Y50 sheet number register and the ¥100 sheet number 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 because there is
The coin payout signal B1 continues to be outputted via the R circuit 134, and based on the condition that this and the ¥50 coin payout signal B2 disappear, YIO is performed in the same manner as when paying out hook coins.
Allow coins to be paid out.

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

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

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

但し遅延回路Delay3の遅延時間はコインの入力信
号時間に比べて十分に長いものであり、ここでは300
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 300
A value of mSeC is used.

この方法によれば電?が中断されたのち再投入された場
合にもコイン入力信号が生じるようなコイン詰まりに対
しては遅延時間後にコインの投入を阻止することができ
る。
According to this method? In case of a coin jam in which a coin input signal is generated even if the coin is inserted again after being interrupted, the insertion of coins can be prevented after a delay time.

実施例において、CREMオフ状態(コイン投入阻止状
態)になるのはそのほかに次の場合がある。
In the embodiment, there are other cases in which the CREM is turned off (coin insertion inhibited state) as follows.

即ち、前述のワイヤードAND回路WA2に出力”1′
”が生じた場合。
That is, the output "1'" is output to the wired AND circuit WA2 described above.
” occurs.

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

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

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

また、すべての価格設定が”0″のときにも、X−P1
,P2なる関係が成立し、信号■および■がともに″1
″となってOR回路103,104の出力がともに”1
″となるためワイヤードAND回路WA2に出力が生じ
、上記と同様にしてCREMがオフとなる。
Also, even when all price settings are "0", X-P1
, P2 is established, and the signals ■ and ■ are both "1"
”, and the outputs of the OR circuits 103 and 104 are both “1”.
'', an output is generated in the wired AND circuit WA2, and CREM is turned off in the same manner as above.

販売、鈎銭払出し、返金などの動作が終了した場合には
次の販売に備える状態に自動販売機コインノック用電子
制御回路を移行させるための動作(以下「クリア」と呼
ぶ)が次のように行なわれる。
When an operation such as a sale, a coin withdrawal, or a refund is completed, the operation (hereinafter referred to as "clear") for transitioning the electronic control circuit for the vending machine coin knock to a state in preparation for the next sale is as follows. It will be held in

即ちコイン払出し信号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信号OをOR回路135に加えて得られるOR回路の
出力を直接に、および遅延回路Delay1を介して加
えた3人力から成り立っている。
The NAND circuit 137 also receives the refund signal ■ and SE as inputs.
It consists of three people: applying the L signal O to the OR circuit 135 and applying the output of the OR circuit directly and via the delay circuit Delay1.

それゆえコイン払出し信号B1がなく返金信号■または
SEL信号[相]が生じた場合には遅延回路Delay
lの遅延時間後にNAND回路137の出力が”0”と
なる。
Therefore, if there is no coin payout signal B1 and a refund signal ■ or SEL signal [phase] occurs, the delay circuit Delay
After a delay time of l, the output of the NAND circuit 137 becomes "0".

遅延回路Delaylの遅延時間は実施例装置の他の動
作時間に比べて十分に長いものであり、ここでは2秒と
いう値を用いている。
The delay time of the delay circuit Delayl is sufficiently long compared to other operating times of the apparatus of the embodiment, and a value of 2 seconds is used here.

NAND回路137の出力はワイヤードOR回路W01
3に加えられる。
The output of the NAND circuit 137 is wired OR circuit W01
Added to 3.

ワイヤードOR回路WO13に?そのほかに外部からク
リアしないという信号EXTクリア信号NAND回路1
30の出力とが入力として加えられている。
Wired OR circuit WO13? In addition, a signal that is not cleared externally EXT clear signal NAND circuit 1
30 outputs are added as inputs.

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

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

AC’L信号■はコンパレータCOMP1〜COMP9
に加えられてコンパレータCOMp1〜COMP,をリ
セットさせる。
AC'L signal ■ is comparator COMP1~COMP9
is added to reset the comparators COMP1 to COMP.

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

また、以上のような本発明によれば、複数の価格が設定
可能な価格設定手段のいずれかの価格設定が”0”であ
るときは該当商品の販売を行なわないようにすると5も
に、すべての価格設定が″0”であるときにはコインの
投入を阻止するようにしたから、価格設定手段を用いて
販売の停止等の制御が可能となるものである。
Further, according to the present invention as described above, if the price setting of any of the price setting means that can set a plurality of prices is "0", the corresponding product is not sold. Since the insertion of coins is prevented when all price settings are "0", it is possible to control the suspension of sales, etc. using the price setting means.

本発明の以上の操作はコインだけではなく、たとえば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 items using 000 yen and 500 yen banknotes and 100 yen coins.

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

第1図は本発明の自動販売機電子制御回路のブロック図
、第2図、第3図は本発明の実施例の回路図を示してい
る。 1・・・・・・エンコーダ、2・・・・・・加減算器、
3・・・・・・トータルペイアウト用シフトレジスタ、
4・・・・・・¥50枚数レジスタ、5・・・・・・¥
100枚数レジスタ、6・・・・・・X≧50コンパレ
ータ、I・・・・・・P1+90加算器、8・・・・・
・P1+ 5 0加算器、9・・・・・・P2+90加
算器、10・・・・・・P2+50加算器、11・・・
・・・P1用コンパレータ、12・・・・・・P2用コ
ンパレータ、13・・・・・・P1価格設定回路、14
・・・・・・P2価格設定回路、15・・・・・・P1
用ベンド制御回路、16・・・・・・P2用ベンド制御
回路、17・・・・・・コイン払出し制御回路、18・
・・・・・コイン詰まり検出回路、19・・・・・・返
金ラッチ回路、20・・・・・弟動返金回路、21・・
・・・・セレクトラッチ回路、22・・・・・・CRE
M回路、23・・・・・・2相クロツクパルス発生回路
、24・・・・・・ビットパルス発生回路、25〜27
.37,49〜53.55,57,59,62〜66,
68,70,73,74,77,102,106,10
8,113,116,119,121,123,125
,129,131〜1 33,1 41 ,142,1
46,151,155,158・・・・・・AND回路
、28〜31 ,38,40,44,46,54,58
,67,69,7L76,80〜82,95,103〜
105,107,114,117,120,124,1
34,135,145,152〜154,157・・・
・・・OR回路、32〜35.83〜94,98〜10
1,111,112,130,137,156・・・・
・・NAND回路、42 ,61 ,118,122,
126,148,159・・・・・・NOR回路、36
,41 ,43,56,60 ,72,75 ,78
,79,96,97,109,110,115,127
,128,136,138〜140,143,1 47
, 1 49 , 150 , 1 60〜16
2・・・・・・インバータ回路、39,163・・・・
・・サイクルタイスDelay1〜Delay4−遅延
回路FF1〜FF4 ,FF11〜FF18・・・・・
・フリツプフロツプ回路、COMP1〜COMP9・・
・・・・コンパレータ、WO1〜WO15・・・・・・
ワイヤードOR回路、WA1〜WA3・・・・・・ワイ
ヤードAND回路、SR1〜SR2・・・・・・2相ダ
イナミックシフトレジスタ、R1,R2・・・・・・レ
ジスタ、FA1〜FA4・・・・・・全加算器、PRI
CE, , 2・・・・・・商品設定価格、POS・・
・・・・コイン払出し確認信号、ATPO・・・・・弟
動返金信号、PO・・・・・・返金入力、A1・・・・
・・YIO鈎銭無し信号、A2・・・・・・¥50鈎銭
無し信号、B,・・・・・・コイン払出し信号、B2・
・・・・・¥50コイン払出し信号、T・・・・・・販
売信号、■END1,2・・・・・・販売可能信号、E
SC−RTRN・・・・・・エスクロ内コイン返金信号
、ESC−ACC・・・・・・エスクロ内コイン集金信
号、EXT − CL・・・・・・外部クリア信号、S
ING・・・・・・価格設定数選択信号、■・・・・・
・コイン入力信号、■・・・・・・返金信号、■・・・
・・・シフトレジスタSR2記憶内容存在信号、■・・
・・・・X>P1信号、■・・・・・・X>P1+90
信号、■・・・・・・X=P1信号、■・・・・・・自
動クリア信号ACL,■・・・・・・X>P2信号、■
・・・・・・X>P2+90信号、■・・・・・・X−
P2信号、■・・・・・・P1=0信号、■・・・・・
・p2=o信号、[相]・・・・・・セレクト信号SE
L,■・・・・・・セレクト信号SEL1、■・・・・
・・セレクト信号SEL2、■・・・・・・コインメツ
ク用電子制御回路動作信号、■・・・・・・¥10コイ
ン払出し信号、■・・・・・・X=P1+50信号、■
・・・・・・X−P2+50信号、SEL1,SEL2
・・・・・・セレクト入力信号、CREM・・・・・・
コイン投入阻止信号、t1〜t7・・・・・・ビットパ
ルス、ψ1,ψ2,ψ3・・・・・・クロツクパルス。
FIG. 1 is a block diagram of a vending machine electronic control circuit of the present invention, and FIGS. 2 and 3 are circuit diagrams of embodiments of the present invention. 1...Encoder, 2...Adder/subtractor,
3...Shift register for total payout,
4・・・・・・¥50 number register, 5・・・・・・¥
100 number register, 6...X≧50 comparator, I...P1+90 adder, 8...
・P1+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 ...P1
Bend control circuit for P2, 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...CRE
M circuit, 23...2-phase clock 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, 10
8,113,116,119,121,123,125
,129,131~1 33,1 41 ,142,1
46, 151, 155, 158...AND circuit, 28-31, 38, 40, 44, 46, 54, 58
,67,69,7L76,80~82,95,103~
105, 107, 114, 117, 120, 124, 1
34,135,145,152-154,157...
...OR circuit, 32-35.83-94, 98-10
1,111,112,130,137,156...
・・NAND circuit, 42 , 61 , 118, 122,
126, 148, 159...NOR circuit, 36
,41 ,43,56,60 ,72,75 ,78
,79,96,97,109,110,115,127
, 128, 136, 138-140, 143, 1 47
, 1 49 , 150 , 1 60-16
2...Inverter circuit, 39,163...
... Cycle times Delay1 to Delay4 - delay circuits FF1 to FF4, FF11 to FF18...
・Flip-flop circuit, COMP1~COMP9...
...Comparator, WO1 to WO15...
Wired OR circuit, WA1-WA3...Wired AND circuit, SR1-SR2...2-phase dynamic shift register, R1, R2...Register, FA1-FA4...・Full adder, PRI
CE, , 2... Product set price, POS...
・・・・Coin payout confirmation signal, ATPO・・・Motor refund signal, PO・・・Refund input, A1・・・・
... YIO no hook coin signal, A2... ¥50 no hook coin signal, B, ...... coin payout signal, B2...
...¥50 coin payout signal, T...Sale signal, ■END1,2...Sellable signal, E
SC-RTRN...Coin refund signal in escrow, ESC-ACC...coin collection signal in escrow, EXT-CL...external clear signal, S
ING...Pricing number selection signal, ■...
・Coin input signal, ■... Refund signal, ■...
...Shift register SR2 memory content presence signal, ■...
...X>P1 signal, ■...X>P1+90
Signal, ■...X=P1 signal, ■...Auto clear signal ACL, ■...X>P2 signal, ■
......X>P2+90 signal, ■...X-
P2 signal, ■...P1=0 signal, ■...
・p2=o signal, [phase]...Select signal SE
L, ■...Select signal SEL1, ■...
...Select signal SEL2, ■...Electronic control circuit operation signal for coin pick, ■...¥10 coin payout signal, ■...X=P1+50 signal, ■
・・・・・・X-P2+50 signal, SEL1, SEL2
...Select input signal, CREM...
Coin insertion prevention signal, t1 to t7...Bit pulse, ψ1, ψ2, ψ3...Clock pulse.

Claims (1)

【特許請求の範囲】[Claims] 1 複数の価格の設定が可能な価格設定手段と、該手段
に設定された複数の価格の各々について投入金額と比較
し投入金額が設定価格以上になった設定価格に対してそ
れぞれ販売可能信号を送出する個別の手段とを有してな
る自動販売機用制御回路において、前記設定手段のいず
れかの価格設定が゛0”のときはこれを検出して当該設
定価格に対する前記販売可能信号の送出を阻止する手段
と、前記設定手段のすべての価格設定が゛0”のときは
これを検出して貨幣の投入阻止信号を形成する手段とを
備えてなることを特徴とする自動販売機用制御回路。
1. A price setting means that can set multiple prices, and compares each of the multiple prices set in the means with the input amount, and sends a sales enable signal to each set price at which the input amount exceeds the set price. In the control circuit for a vending machine, the control circuit for a vending machine has separate means for transmitting, when the price setting of any of the setting means is "0", detecting this and transmitting the sales enable signal for the set price. A control for a vending machine, characterized in that the control comprises means for preventing the setting of money, and means for detecting when all price settings of the setting means are "0" and forming a signal to prevent money from being inserted. circuit.
JP6421781A 1981-04-30 1981-04-30 Control circuit for vending machines Expired JPS598868B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JPS57103588A JPS57103588A (en) 1982-06-28
JPS598868B2 true JPS598868B2 (en) 1984-02-28

Family

ID=13251699

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS598868B2 (en)

Also Published As

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

Similar Documents

Publication Publication Date Title
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
JPS598868B2 (en) Control circuit for vending machines
JPS5845074B2 (en) Control circuit for vending machines
JP2005071015A (en) Product sales data processing device
JPS5929914B2 (en) Vending machine sales available
JPS5911158B2 (en) Control circuit for vending machines
US4532417A (en) Cash accounting system
JP6533145B2 (en) Sales data processing device
JPS5939075B2 (en) Vending machine control device
JPS5911159B2 (en) Control circuit for vending machines
JPS5929913B2 (en) Control circuit for vending machines
JP3133456B2 (en) Vending machine coin processing equipment
JPH10111984A (en) Commodity sales register data processor
GB2097163A (en) Vend possible judgement device for a vending machine
JP3766711B2 (en) POS system
JPH10198835A (en) Coin storage and payment device
US20250391220A1 (en) Money handling apparatus and money handling method
JPS6227974Y2 (en)
JPS5944674B2 (en) Vending machine coin dispensing control circuit
JPH0222760Y2 (en)
EP0329076A2 (en) Apparatus for selling/lending video cassettes
JPS6225232B2 (en)