JPH0444990B2 - - Google Patents

Info

Publication number
JPH0444990B2
JPH0444990B2 JP61123013A JP12301386A JPH0444990B2 JP H0444990 B2 JPH0444990 B2 JP H0444990B2 JP 61123013 A JP61123013 A JP 61123013A JP 12301386 A JP12301386 A JP 12301386A JP H0444990 B2 JPH0444990 B2 JP H0444990B2
Authority
JP
Japan
Prior art keywords
sales
price
data
column
section
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 - Lifetime
Application number
JP61123013A
Other languages
Japanese (ja)
Other versions
JPS62279488A (en
Inventor
Akira Nakajima
Kazuyoshi Myasaka
Mitsunobu Takahashi
Toshihisa Myagishi
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 JP12301386A priority Critical patent/JPS62279488A/en
Publication of JPS62279488A publication Critical patent/JPS62279488A/en
Publication of JPH0444990B2 publication Critical patent/JPH0444990B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、投入金額を各販売コラム別に設定さ
れた設定価格と比較し、各販売コラムに対する販
売の可否を判定する機能を有する販売可否判定部
を含み、投入金額に対する演算および釣銭の払い
出しなどの制御を行う貨幣処理部と、各販売コラ
ム毎の価格設定機能を有する制御部とを少なくと
も備え、前記判定部と制御部との相互間のデータ
伝送によつて販売可否な判定する自動販売機にお
ける販売可否を判定する方法、および上述のデー
タ伝送にあたつての価格データの転送方法の改良
に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is a sales propriety determination system that has a function of comparing the input amount with a set price set for each sales column and determining whether or not a sale can be made for each sales column. a money processing section that performs calculations on input amounts and controls such as dispensing change; and a control section that has a price setting function for each sales column; The present invention relates to a method for determining whether or not a sale is possible in a vending machine that determines whether or not a sale is possible based on data transmission, and an improvement to the method for transferring price data in the data transmission described above.

[従来の技術] 多数の販売コラムを有する自動販売機における
販売可否の判定を、価格設定機能を有する制御部
と販売可否の判定をする販売可否判定部との間の
データ伝送によつて行う方法としては、個々の価
格についてデータの伝送を行うものが知られてい
る。
[Prior Art] A method for determining whether or not a product can be sold in a vending machine that has a large number of sales columns by transmitting data between a control unit that has a price setting function and a sales availability determination unit that determines whether or not the product can be sold. A known method is to transmit data regarding individual prices.

この場合は、複数のコラムが同一の販売価格に
設定されている場合であつてもコラム毎にデータ
伝送を行つて販売可否の判定を行つているので、
コラム数が多い場合には、販売可否の判定を完了
するまでに長い時間がかかり、貨幣を投入されて
から自販機が販売可能な状態になり所望の商品が
入手できるまでの動作が遅くなるという欠点があ
つた。
In this case, even if multiple columns are set at the same selling price, data is transmitted for each column to determine whether or not it can be sold.
If there are a large number of columns, it takes a long time to complete the determination of whether or not the vending machine can be sold, and the process from when money is inserted until the vending machine becomes ready for sale and the desired product is obtained is a disadvantage. It was hot.

また、この欠点を解決するために、コラム別に
販売価格を設定可能にして、商品販売時の販売可
の判定において、同一の販売設定価格のコラムに
ついてまとめて上記判定処理を行う方法(特願昭
57−159789号)が本願出願人により提案されてい
る。
In addition, in order to solve this drawback, there is a method in which the selling price can be set for each column, and when determining whether the product can be sold at the time of sale, the above judgment process is performed for the columns with the same selling price all at once.
No. 57-159789) has been proposed by the applicant.

[発明が解決しようとする問題点] しかしながら、上記提案では、購入者の投入金
額が順次に変化していくため、また、商品価格が
任意の時点で変更されてしまうために貨幣処理部
で貨幣が投入されていることを検知している間
は、販売可の判定のために、制御部から貨幣処理
部に上記設定価格についてのデータを繰返し一定
周期で転送しなければならず、このためのデータ
転送処理が煩雑となるという欠点があつた。
[Problems to be Solved by the Invention] However, in the above proposal, since the purchaser's input amount changes sequentially and the product price changes at an arbitrary point, the money processing unit does not process the money. While it is detected that a The drawback was that the data transfer process was complicated.

そこで、本発明の目的は、上述の点に鑑みて、
コラム設定価格についての制御部から貨幣処理部
へのデータ転送処理を簡略化することの可能な販
売判定方法およびデータ転送方法を提供すること
にある。
Therefore, in view of the above points, the object of the present invention is to
It is an object of the present invention to provide a sales judgment method and a data transfer method that can simplify data transfer processing regarding column set prices from a control section to a money processing section.

[問題点を解決するための手段] このような問題点を解決するために、第1の発
明は、投入金額を各販売コラム別に設定された設
定価格と比較し、各販売コラムに対する販売の可
否を判定する機能を有する販売可否判定部と、各
販売コラム毎の価格設定機能を有する制御部とを
少なくとも備え、前記判定部と制御部との相互間
のデータ伝送によつて販売可否を判定する自動販
売機において、販売可の判定を行うにあたり、前
記設定価格を整理し全コラム分について重複を避
け、重複しない種類の設定価格のみを前記投入金
額の変化を検出したときに前記制御部から前記販
売可否判定部へ一括して送信し、その送信された
価格の各々についての販売可否の判定結果を一括
して前記販売可否判定部から前記制御部へ返信す
ることを特徴とする。
[Means for Solving the Problems] In order to solve these problems, the first invention compares the input amount with a set price set for each sales column, and determines whether sales are possible for each sales column. and a control section having a price setting function for each sales column. In a vending machine, when determining whether a sale is possible, the set prices are organized to avoid duplication in all columns, and only the set prices of types that do not overlap are sent from the control unit to the above when a change in the input amount is detected. The information is characterized in that the information is transmitted all at once to the saleability determination section, and the saleability determination results for each of the transmitted prices are collectively sent back from the saleability determination section to the control section.

第2の発明は、投入金額を各販売コラム別に設
定された設定価格と比較し、各販売コラムに対す
る販売の可否を判定する機能を有する販売可否判
定部と、各販売コラム毎の価格設定機能を有する
制御部とを少なくとも備え、前記判定部と制御部
との相互間のデータ伝送によつて販売可否を判定
する自動販売機において、前記設定価格を整理し
全コラム分について重複を避け、重複しない種類
の設定価格のみを当該設定価格が変化したときに
前記制御部から前記販売可否判定部へ一括して送
信することを特徴とする。
The second invention includes a sales availability determination unit having a function of comparing the input amount with a set price set for each sales column and determining whether or not a sale can be made for each sales column, and a price setting function for each sales column. In the vending machine, the vending machine is provided with at least a control unit having a control unit, and determines whether or not a sale can be made by mutual data transmission between the determination unit and the control unit, in which the set prices are arranged to avoid duplication for all columns, and to avoid duplication. The present invention is characterized in that only the set price of each type is transmitted at once from the control unit to the sales availability determination unit when the set price changes.

[作用] 第1の発明では、投入金額の変化を検出するこ
とで新たな販売可の判定の起動タイミングを検出
する。この検出タイミングに応じて、制御部から
販売可否判定部へ設定価格を送信するようにした
ので、データ送信回数は1回でよく、従来のよう
に繰返しデータ送信を行う必要はない。
[Operation] In the first invention, the start timing of a new sales permission determination is detected by detecting a change in the input amount. Since the set price is transmitted from the control section to the sales availability determination section in accordance with this detection timing, the number of data transmissions is only one time, and there is no need to repeatedly transmit data as in the prior art.

第2の発明では、設定価格の変化を検出するこ
とで操作者の設定価格の変更処理を自動検知す
る。このため、変更設定価格についても変更時に
自動的に制御部から貨幣処理部に自動送信できる
ので、操作者はデータ送信についての何等の指示
操作を行う必要はない。
In the second aspect of the invention, a change in the set price by the operator is automatically detected by detecting a change in the set price. Therefore, since the changed set price can also be automatically transmitted from the control section to the money processing section at the time of change, the operator does not need to perform any instruction operations regarding data transmission.

また、従来のように販売可否判定部に設定価格
を繰返し送信する必要もなくなる。
Furthermore, there is no longer a need to repeatedly transmit the set price to the sales availability determining section as in the past.

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

第1図は本発明の一実施例を示し、ここで、1
は制御部、2は各販売コラム別の設定価格を設定
して記憶する価格設定部である。3はデータ伝送
線である。
FIG. 1 shows an embodiment of the invention, where 1
2 is a control unit, and 2 is a price setting unit that sets and stores set prices for each sales column. 3 is a data transmission line.

4は貨幣処理部であり、制御部1より転送され
た価格データとこの貨幣処理部4に投入された貨
幣の合計金額および釣銭の有無等により販売可能
な価格を算出する販売可否判定部4Aを含み、そ
の算出結果を制御部1に転送する機能を備えてい
る。
Reference numeral 4 denotes a money processing unit, which includes a sales propriety determining unit 4A that calculates a sellable price based on the price data transferred from the control unit 1, the total amount of money input into the money processing unit 4, the presence or absence of change, etc. and has a function of transmitting the calculation results to the control unit 1.

5は商品選択スイツチ10〜14を有する商品
選択部、6は商品搬出部であり、制御部1からの
命令に応じて、搬出すべき商品の搬い出しを行
う。
Reference numeral 5 denotes a product selection section having product selection switches 10 to 14, and 6 a product unloading section, which unloads the products to be transported in accordance with commands from the control section 1.

制御部1は、貨幣処理部4より転送されたデー
タに基づき、販売可能な商品を判別し、その結果
を販売可能表示器7に出力する。
The control unit 1 determines the products that can be sold based on the data transferred from the money processing unit 4 and outputs the result to the sales availability display 7.

なお、価格設定部2において、SP(1)〜SP(m)
は、それぞれ、販売コラム1〜mに対応する設定
価格を示す。
In addition, in the price setting section 2, SP(1) to SP(m)
indicate the set prices corresponding to sales columns 1 to m, respectively.

以上のような構成において、自動販売機の販売
動作にあたつては、例えば、硬貨の投入があつた
ことが検知された後、販売可否判定部4Aは、そ
の旨をデータ伝送線3を介して制御部1へ伝え
る。制御部1はそれ以降販売準備状態となり、現
在の入金金額で販売できるコラムがどのコラムで
あるか知る必要がある。
In the above configuration, in the vending operation of the vending machine, for example, after it is detected that a coin has been inserted, the vending permission determination unit 4A sends a notification to that effect via the data transmission line 3. and transmits it to the control unit 1. The control unit 1 is then in a sales preparation state and needs to know which columns can be sold with the current deposited amount.

そのためには、たとえば第2図あるいは第3図
に示す制御手順で制御部1を制御する。
For this purpose, the control unit 1 is controlled by the control procedure shown in FIG. 2 or 3, for example.

第2図の例では、硬貨の入金の有無に拘らず、
電源投入時や初期設定動作時あるいは設定価格が
変更操作された場合などに、予め各コラム別の販
売価格を販売可否判定部4Aへデータ伝送線3に
より送信しておき、顧客より入金金額が変化(零
円からの変化も含む)する度に販売可否判定結果
を返信する。
In the example in Figure 2, regardless of whether coins are deposited or not,
When the power is turned on, during initial setting operation, or when the set price is changed, the sales price for each column is sent in advance to the sales availability determination unit 4A via the data transmission line 3, and the deposit amount from the customer changes. (including changes from 0 yen), the sales propriety determination result will be returned every time.

すなわち、第2図において、電源投入時に、ス
テツプS1において、価格設定部2において設定
した販売価格SP(1)〜SP(n)を小さい順に、重複を
避けて並べておく。ついで、ステツプS2におい
て、これら販売価格を、販売可否判定部4Aに、
伝送線3を介して一括して送信しておく。
That is, in FIG. 2, when the power is turned on, in step S1, the selling prices SP(1) to SP(n) set in the price setting section 2 are arranged in ascending order, avoiding duplication. Next, in step S2, these sales prices are sent to the sales availability determining section 4A.
It is transmitted all at once via the transmission line 3.

ここで、顧客からの入金があると、販売可否デ
ータが判定部4Aから伝送線3を介して制御部1
に転送される。そこで、ステツプS3において、
販売可否データが受信されると、ステツプS4に
進んで販売可能なコラムを表示器7によつて表示
する。
Here, when a customer makes a deposit, sales propriety data is transmitted from the determining unit 4A to the control unit 1 via the transmission line 3.
will be forwarded to. Therefore, in step S3,
When the sellability data is received, the process proceeds to step S4, where the sellable column is displayed on the display 7.

次いで、ステツプS5において、顧客が表示器
7を参照して、販売可能なコラムを商品選択部5
の選択スイツチ10〜14を選んで押すことによ
つて選択すると、ステツプS6に進み、ここで、
販売動作を実行する。
Next, in step S5, the customer refers to the display 7 and selects the sellable column in the product selection section 5.
When selection is made by selecting and pressing selection switches 10 to 14, the process advances to step S6, where:
Perform sales actions.

ステツプS5においてコラムの選択がなされな
いときは、ステツプS7に進んで、販売価格SP(1)
〜SP(n)が変化しているか否かを判断し、変化し
ていれば再びステツプS1に戻る。変化していな
ければステツプS3に戻つて、販売可否データの
受信を待機する。
If no column is selected in step S5, proceed to step S7 and select the selling price SP(1).
It is determined whether ~SP(n) has changed, and if so, the process returns to step S1. If it has not changed, the process returns to step S3 and waits for reception of sales availability data.

他方、ステツプS3において、販売可否データ
が受信されなかつたときには、ステツプS5に進
み、ここでもコラムの選択が当然ないので、さら
にステツプS7に進み、ついでステツプS3に戻り、
販売可否データの受信されるまでステツプS3,
S5,S7を繰り返す。
On the other hand, if no sales availability data is received in step S3, the process proceeds to step S5, and since there is of course no column selection here, the process proceeds to step S7, and then returns to step S3.
Step S3 until sales availability data is received.
Repeat S5 and S7.

第3図の例では、顧客よりの入金金額が変化
(零円から変化する場合も含む)する度毎に、制
御部1から各コラム別の販売価格を販売可否判定
部4Aへ送信して販売可否を判定し、その結果を
返信する。
In the example shown in FIG. 3, each time the deposit amount from the customer changes (including when it changes from zero yen), the control unit 1 transmits the sales price for each column to the sales availability determination unit 4A and sells the product. Determine whether or not it is possible and send back the result.

すなわち、第3図において、電源投入時に、ス
テツプS11において、価格設定部2において設定
した販売価格SP(1)〜SP(n)を小さい順に、重複を
避けて並べておく。ついで、ステツプS12におい
て、販売可否判定部4Aからデータの受信がある
まで待機し、データ受信が確認されると、次のス
テツプS13に進む。
That is, in FIG. 3, when the power is turned on, in step S11, the selling prices SP(1) to SP(n) set in the price setting section 2 are arranged in ascending order, avoiding duplication. Next, in step S12, the process waits until data is received from the sales availability determining section 4A, and when data reception is confirmed, the process proceeds to the next step S13.

ステツプS13では、顧客からの入金があり、そ
れによつて入金金額が変化したか否かを判断す
る。変化したときには、顧客からの入金ありと判
断して、ステツプS14に進む。
In step S13, there is a deposit from the customer, and it is determined whether or not the deposit amount has changed as a result. When the change has occurred, it is determined that there is a deposit from the customer, and the process proceeds to step S14.

ステツプS14では、制御部1から販売可否判定
部4Aに価格の種類を一括して送信する。次に、
ステツプS15においては、販売可否判定部4Aに
おいて判断した販売可否データが制御部1で受信
されるのを待機する。
In step S14, the control section 1 transmits the price types all at once to the sales availability determining section 4A. next,
In step S15, the controller 1 waits for the control unit 1 to receive the sales availability data determined by the sales availability determination unit 4A.

販売可否データが制御部1に入来すると、次の
ステツプS16に進み、表示器7において販売可能
コラムを表示する。
When the sellability data enters the control section 1, the process advances to the next step S16, and the sellability column is displayed on the display 7.

次いで、ステツプS17において、顧客が表示器
7を参照して、販売可能なコラムを商品選択部5
の選択スイツチ10〜14を選んで押すことによ
つて選択すると、次にステツプS18に進んで販売
動作がなされる。
Next, in step S17, the customer refers to the display 7 and selects the sellable column from the product selection section 5.
When the selection switches 10 to 14 are selected and pressed, the process proceeds to step S18, where a sales operation is performed.

ステツプS17においてコラムの選択がなされな
いときには、ステツプS11に戻る。他方、ステツ
プS13において、入金がないときには、ステツプ
S19に移り、その他必要な処理を行つてから、再
びステツプS11に戻る。
If no column is selected in step S17, the process returns to step S11. On the other hand, if there is no deposit in step S13, the step
The process moves to S19, performs other necessary processing, and then returns to step S11.

このように、本発明では、各コラム別の販売価
格を制御部1から販売可否判定部4Aへ送信し、
その各価格についての販売可否判定結果を一括し
て制御部1へ返信する。
In this way, in the present invention, the sales price for each column is transmitted from the control unit 1 to the sales availability determination unit 4A,
The sales decision results for each price are sent back to the control unit 1 all at once.

このようにデータを一括して送受信する方法と
しては、周知のような調歩同期式のシリアル転送
方式や、パラレル転送方式などが容易に適用でき
る。
As a method for transmitting and receiving data all at once in this manner, a well-known asynchronous serial transfer method, a parallel transfer method, or the like can be easily applied.

一括してデータを送受信する際のデータフオー
マツトの一例を第4図aおよびbに示す。
An example of a data format when transmitting and receiving data all at once is shown in FIGS. 4a and 4b.

第4図aは一括後の設定価格データの例であ
り、先頭のワード(ここでは1バイト)は、以下
のデータが設定価格データであることを示すモー
ドワードであり、以下にデータのバイト数および
設定価格データS1,S2,…,Skとパリテイ
で構成されている。
Figure 4a is an example of set price data after batching, the first word (here 1 byte) is a mode word indicating that the following data is set price data, and the following is the number of bytes of data. and set price data S1, S2,..., Sk, and parity.

第4図bは、それに対する販売可否データの例
であり、同様に、モードワードデータ、バイト数
および販売可否判定データおよびパリテイから構
成されている。
FIG. 4b shows an example of the sales availability data for this, and similarly consists of mode word data, number of bytes, sales availability determination data, and parity.

ここで、各設定価格に対する販売可否の判定結
果は予め判定データワードの所定の対応ビツトを
用いて表わされており、この例では対応ビツトが
“1”であれば販売可、“0”であれば販売不可を
表わすようになつている。
Here, the determination result of whether or not the product can be sold for each set price is expressed in advance using a predetermined corresponding bit of the determination data word. In this example, if the corresponding bit is "1", the product can be sold, and if the corresponding bit is "0", the product can be sold. If so, it now indicates that it cannot be sold.

今、選択スイツチ10〜14に対して、10円、
10円、20円、20円、30円と価格設定部2で設定さ
れたものとする。このデータを受けて、制御部1
は、貨幣処理部4に価格設定データとして、10
円、20円、30円を転送する。貨幣処理部4の判定
部4Aは、この3種類の価格と比較して投入金額
が販売可能か否かの演算を行なう。その結果、た
とえ貨幣処理部4の価格の処理能力が3個しかな
いとしても、自販機全体から見れば5セレクシヨ
ンの自動販売機として扱うことができるわけであ
る。
Now, for selection switches 10 to 14, 10 yen,
It is assumed that the prices are set by the price setting unit 2 as 10 yen, 20 yen, 20 yen, and 30 yen. Upon receiving this data, the control unit 1
is 10 as price setting data in the money processing unit 4.
Transfer yen, 20 yen, 30 yen. The determination unit 4A of the money processing unit 4 compares these three types of prices to calculate whether the input amount can be sold. As a result, even if the money handling section 4 has the ability to process only three prices, the vending machine as a whole can be treated as a five-selection vending machine.

貨幣処理部4で演算された結果は、伝送線3を
介して、制御部1に転送され、制御部1におい
て、3種類の価格から5個の価格の販売可能デー
タに変換される。このように、貨幣処理部4に転
送するデータの価格の種類に応じた個数にするこ
とにより、貨幣処理部4の価格の処理能力よりも
多いセレクシヨンの自動販売機にも利用すること
ができる利点である。
The results calculated by the money processing section 4 are transferred to the control section 1 via the transmission line 3, and in the control section 1 are converted into sellable data for five prices out of three types. In this way, by setting the number of pieces of data to be transferred to the money processing section 4 according to the type of price, the advantage is that it can also be used for Selection vending machines with a larger number of prices than the processing capacity of the money processing section 4. It is.

次に、上述したフローチヤートにおけるステツ
プS1(第2図)またはS11(第3図)において、コ
ラム別にランダムに設定された設定価格を金額の
低い順に並べる制御部1の制御手順の一例を第5
図に示す。
Next, in step S1 (Fig. 2) or S11 (Fig. 3) in the above-described flowchart, an example of the control procedure of the control unit 1 for arranging the set prices randomly set for each column in descending order of amount is shown in step 5.
As shown in the figure.

第5図において、ステツプS21では、価格の個
数から1を差引いた値をmとし、次のステツプ
S22において、コラム別設定価格を価格設定部2
のSP(0)〜SP(m)へ格納する。ステツプS23で
は、nを0(コラム0)とする。
In FIG. 5, in step S21, the value obtained by subtracting 1 from the number of pieces at the price is set as m, and the next step is
In S22, set price by column in price setting section 2
Store in SP(0) to SP(m) of In step S23, n is set to 0 (column 0).

次のステツプS24において、SP(n)はSP(n+
1)とを比較し、SP(n)<SP(n+1)のときは
ステツプS28に行くが、そうでないときにはステ
ツプS25に進み、ここで、SP(n)=SP(n+1)で
あるか否かを判定する。
In the next step S24, SP(n) is changed to SP(n+
1), and if SP(n)<SP(n+1), go to step S28; otherwise, go to step S25, and check whether SP(n)=SP(n+1). Determine.

ステツプS25において、SP(n)=SP(n+1)の
ときにはステツプS26に進んで、SP(n)を0として
から、ステツプS28に行く。
In step S25, when SP(n)=SP(n+1), the process proceeds to step S26, where SP(n) is set to 0, and then the process proceeds to step S28.

他方、ステツプS25において、SP(n)>SP(n+
1)と判定されたときには、ステツプS27に移
る。
On the other hand, in step S25, SP(n)>SP(n+
If it is determined as 1), the process moves to step S27.

ステツプS27においては、SP(n)とSP(n+1)
の内容を入れ換える。それにより、SP(n+1)
>SP(n)となり、次にステツプS28に進む。
In step S27, SP(n) and SP(n+1)
Replace the contents of. As a result, SP(n+1)
>SP(n), and then the process advances to step S28.

ステツプS28ではnを1つインクリメントさせ
て、ステツプS29に進み、ここで、n=mである
か否かを判断する。n=mでないときには再びス
テツプS24に戻り、上述のステツプS24〜S29を繰
り返す。そして、n=mになつたときに、はじめ
て次のステツプS30に進み、nを1だけデクリメ
ントしてからステツプS31に行く。ここでn=0
であるか否かを判断し、n=0でなければステツ
プS23に戻り、ステツプS31までの過程を繰り返
す。そして、n=0になると、次のステツプS32
に進む。
In step S28, n is incremented by one, and the process proceeds to step S29, where it is determined whether n=m. If n=m is not the case, the process returns to step S24 and the steps S24 to S29 described above are repeated. Then, when n=m, the process proceeds to the next step S30, decrements n by 1, and then proceeds to step S31. Here n=0
If n=0, the process returns to step S23 and repeats the process up to step S31. Then, when n=0, the next step S32
Proceed to.

ステツプS32では、SP(n)が0であるか否かを判
断する。SP(n)=0のときにはステツプS33に移
り、ここでnを1だけインクリメントしてから、
ステツプS34に進み、このときのnと価格の個数
とを比較し、n≧価格の個数のときには処理を終
了し、そうでないときには再びステツプS32に戻
り、n≧価格の個数になるまで同様の処理を繰り
返す。
In step S32, it is determined whether SP(n) is 0 or not. When SP(n)=0, the process moves to step S33, where n is incremented by 1, and then
Proceed to step S34, compare n at this time with the number of pieces at the price, and if n≧the number of pieces at the price, end the process, otherwise return to step S32 and repeat the same process until the number of pieces at the price is n≧ repeat.

ステツプS32においてSP(n)≠0のときには、ス
テツプS35に移り、ここで、mを0にしてから。
次のステツプS36でSP(m)をSP(n)にし、さらにス
テツプS37でmを1だけインクリメントし、ステ
ツプS38でnを1だけインクリメントする。
If SP(n)≠0 in step S32, the process moves to step S35, where m is set to 0.
In the next step S36, SP(m) is changed to SP(n), further, in step S37, m is incremented by 1, and in step S38, n is incremented by 1.

次いで、ステツプS39でnと価格の個数を比較
し、n≧価格の個数のときには処理を終了し、そ
うでないときには再びステツプS36に戻り、n≧
価格の個数になるまで同様の過程を繰り返す。
Next, in step S39, n is compared with the number of pieces at the price, and if n≧the number of pieces at the price, the process is terminated, and if not, the process returns to step S36 again, and n≧
Repeat the same process until the number of pieces reaches the price.

以上のようにして、第5図のフローチヤートの
制御手順によつて、コラム0から順番に隣り合つ
た2コラムの設定価格を比較する。そして、設定
価格が等いときには、コラム番号の小さい方に該
当する設定価格を0とし、コラム番号の大きい方
に該当する設定価格にその設定価格を格納する。
他方、設定価格が異る場合には、コラム番号の大
きい方に該当する設定価格の方が高い価格になる
ようにする。このような処理の結果、“0”にさ
れた設定価格を取扱いたい対象から除く。
As described above, the set prices of two adjacent columns are compared in order starting from column 0 according to the control procedure shown in the flowchart of FIG. When the set prices are equal, the set price corresponding to the smaller column number is set to 0, and the set price is stored in the set price corresponding to the larger column number.
On the other hand, if the set prices are different, the set price corresponding to the larger column number is set to be the higher price. As a result of such processing, the set price that is set to "0" is excluded from the objects to be handled.

[発明の効果] 上述したところから明らかなように、本発明に
よれば、従来のように、各設定価格毎にいちいち
販売可否の判定を行うことなく、設定価格データ
をその種類によつて整理し、その種類のみを投入
金額を検出したときに一括して販売可否判定部へ
送信し、ここで、その販売可否データを一括して
受信するように構成したことによつて、このデー
タ群の転送回数は1回のみでよく販売動作の速い
自動販売機を容易に構成できるという利点があ
る。また、設定価格の変更処理を自動検知して変
更価格を自動転送することによつても従来のよう
に設定価格のデータ転送を繰返し行う必要はな
く、データ転送処理が簡略化される。
[Effects of the Invention] As is clear from the above, according to the present invention, set price data can be organized by type, without having to judge whether or not it can be sold for each set price, as in the past. By configuring the configuration so that only the type is sent to the sales propriety judgment unit at once when the input amount is detected, and the sale propriety data is received all at once, this data group is There is an advantage that the number of transfers is only one time and a vending machine with fast vending operation can be easily constructed. Furthermore, by automatically detecting the process of changing the set price and automatically transferring the changed price, there is no need to repeatedly transfer the data of the set price as in the prior art, and the data transfer process is simplified.

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

第1図は本発明の一実施例を示すブロツク線
図、第2図および第3図はその制御手順の2例を
示すフローチヤート、第4図aおよびbは本発明
における、それぞれ、設定価格データおよび販売
可否判定データについてのフオーマツトの説明
図、第5図は本発明において設定価格を価格の種
類および小さい順に並びかえる制御手順の一例を
示すフローチヤートである。 1…制御部、2…価格設定部、3…データ伝送
線、4…貨幣処理部、4A…販売可否判定部、5
…商品選択部、6…商品搬出部、7…販売可能表
示器、10〜14…商品選択スイツチ。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIGS. 2 and 3 are flowcharts showing two examples of the control procedure, and FIGS. FIG. 5, which is an explanatory diagram of the format of the data and the sales decision data, is a flowchart showing an example of a control procedure for rearranging set prices in order of price type and descending order in the present invention. DESCRIPTION OF SYMBOLS 1... Control part, 2... Price setting part, 3... Data transmission line, 4... Money processing part, 4A... Sales propriety judgment part, 5
...Product selection section, 6.Product delivery section, 7.Sellable display, 10-14.Product selection switch.

Claims (1)

【特許請求の範囲】 1 投入金額を各販売コラム別に設定された設定
価格と比較し、各販売コラムに対する販売の可否
を判定する機能を有する販売可否判定部と、各販
売コラム毎の価格設定機能を有する制御部とを少
なくとも備え、前記判定部と制御部との相互間の
データ伝送によつて販売可否を判定する自動販売
機において、販売可の判定を行うにあたり、前記
設定価格を整理し全コラム分について重複を避
け、重複しない種類の設定価格のみを前記投入金
額の変化を検出したときに前記制御部から前記販
売可否判定部へ一括して送信し、その送信された
価格の各々についての販売可否の判定結果を一括
して前記販売可否判定部から前記制御部へ返信す
ることを特徴とする販売可判定方法。 2 投入金額を各販売コラム別に設定された設定
価格と比較し、各販売コラムに対する販売の可否
を判定する機能を有する販売可否判定部と、各販
売コラム毎の価格設定機能を有する制御部とを少
なくとも備え、前記判定部と制御部との相互間の
データ伝送によつて販売可否を判定する自動販売
機において、前記設定価格を整理し全コラム分に
ついて重複を避け、重複しない種類の設定価格の
みを当該設定価格が変化したときに前記制御部か
ら前記販売可否判定部へ一括して送信することを
特徴とするデータ転送方法。
[Scope of Claims] 1. A sales availability determination unit having a function of comparing the input amount with a set price set for each sales column and determining whether or not a sale can be made for each sales column, and a price setting function for each sales column. In a vending machine that includes at least a control section having a By avoiding duplication for the columns, only set prices of types that do not overlap are sent from the control unit to the sales availability determination unit at once when a change in the input amount is detected, and each of the transmitted prices is 1. A method for determining whether a product can be sold, characterized in that the results of determining whether or not the item can be sold are sent back to the control section from the sales determination section. 2. A sales availability determination section that has a function of comparing the input amount with a set price set for each sales column and determining whether or not a sale can be made for each sales column, and a control section that has a price setting function for each sales column. At least a vending machine that determines whether or not a sale is possible by mutual data transmission between the determination section and the control section, organizes the set prices, avoids duplication in all columns, and only selects set prices of types that do not overlap. A data transfer method, characterized in that when the set price changes, the data is transmitted from the control unit to the sales availability determination unit in a batch.
JP12301386A 1986-05-28 1986-05-28 Marketability decision and data transfer Granted JPS62279488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12301386A JPS62279488A (en) 1986-05-28 1986-05-28 Marketability decision and data transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12301386A JPS62279488A (en) 1986-05-28 1986-05-28 Marketability decision and data transfer

Publications (2)

Publication Number Publication Date
JPS62279488A JPS62279488A (en) 1987-12-04
JPH0444990B2 true JPH0444990B2 (en) 1992-07-23

Family

ID=14850080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12301386A Granted JPS62279488A (en) 1986-05-28 1986-05-28 Marketability decision and data transfer

Country Status (1)

Country Link
JP (1) JPS62279488A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5949685A (en) * 1982-09-14 1984-03-22 富士電機株式会社 Controller for vending machine

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5949685A (en) * 1982-09-14 1984-03-22 富士電機株式会社 Controller for vending machine

Also Published As

Publication number Publication date
JPS62279488A (en) 1987-12-04

Similar Documents

Publication Publication Date Title
JPH0444990B2 (en)
JPS6326919B2 (en)
RU2133503C1 (en) Vending-machine change storage device and method involved
JP7092822B2 (en) Management server and management system
JPH0330943Y2 (en)
JPH0110699Y2 (en)
JPH0444318B2 (en)
JP2828671B2 (en) Vending machine control device
JP4294146B2 (en) Vending machine and POS system
JP2818894B2 (en) Vending machine parallel sales setting device
JP2557693B2 (en) Vending machine controller
JPH0537335Y2 (en)
JPH02100194A (en) Setting device for control data on automatic vending machine
JP3818477B2 (en) Vending machine control equipment
JPH02127797A (en) Data setting device for automatic vending machine
JPH0467285A (en) Vending controller for automatic vending machine
JPS6295692A (en) Cup assigner for selling beverage
JPS60116094A (en) Sequential selling control system for vending machine
JPH06282732A (en) Information collecting method for automatic vending machine
JPS5844451Y2 (en) Input amount display and set price confirmation device for vending machines
JPH04116790A (en) Merchandise carrier controller for automatic vending machine
KR830002627B1 (en) Control circuit of vending machine
JPS6243794A (en) Vending machine
JPH0224765A (en) Commodity sales information control system
JP2004054747A (en) Automatic vending machine