JPH01171087A - Vending machine - Google Patents

Vending machine

Info

Publication number
JPH01171087A
JPH01171087A JP33150387A JP33150387A JPH01171087A JP H01171087 A JPH01171087 A JP H01171087A JP 33150387 A JP33150387 A JP 33150387A JP 33150387 A JP33150387 A JP 33150387A JP H01171087 A JPH01171087 A JP H01171087A
Authority
JP
Japan
Prior art keywords
sales
price
set price
sales information
storage means
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP33150387A
Other languages
Japanese (ja)
Inventor
Toshio Takeshima
俊雄 竹島
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.)
Shibaura Mechatronics Corp
Original Assignee
Shibaura Engineering Works 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 Shibaura Engineering Works Co Ltd filed Critical Shibaura Engineering Works Co Ltd
Priority to JP33150387A priority Critical patent/JPH01171087A/en
Publication of JPH01171087A publication Critical patent/JPH01171087A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To keep sales data before changing the price, which is composed of the three information of a setting price, sold pcs. of article and sales amount by prohibiting the change of the setting price by a setting price changing means when sales information are not zero-cleared. CONSTITUTION:When sales information I of a sales information storing means 4 are not zero-cleared and accordingly there is not output of a discriminating signal H, although a setting price changing means 6 tries to change a setting price P to a price Q, this change is prohibited and the setting price P of a setting price storing means 2 is held. In such a case, a sales data operation display means 12, which receives a setting price change requesting signal R to be outputted from the setting price changing means 6, obtains the sales data, which are composed of three data of the setting price P, sold pcs. of article N and sales amount C, based on the setting price P to be outputted from the setting price storing means 2 and the sales information I to be outputted from the sales information storing means 4. Then, these sales data are displayed. Thus, the original sales data are kept.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、商品の設定価格、販売個数及び売上総額から
なる売上データの表示が可能な自動販売機に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a vending machine capable of displaying sales data consisting of a set price of a product, the number of units sold, and the total sales amount.

[従来の技術とその問題点] 従来の自動販売機は、商品の設定価格Pを記憶する設定
価格記憶手段と、商品販売のつど更新される販売個数N
と売上総額Cとを記憶する売上情報記憶手段と、記憶さ
れた設定価r/l Pを所望の価t’8Qに変更する設
定価格変更手段と、設定価格記憶手段に記憶している設
定価格P並びに売上情報記憶手段に記憶している販売個
数N及び売上総額Cを表示する売上データ表示手段とを
有していた。
[Prior art and its problems] A conventional vending machine has a set price storage means for storing a set price P of a product, and a sales number N that is updated each time a product is sold.
and sales information storage means for storing the total sales amount C; a set price changing means for changing the stored set price r/lP to a desired price t'8Q; and a set price stored in the set price storage means. P, and a sales data display means for displaying the number of sold items N and the total sales amount C stored in the sales information storage means.

商品が販売されるたびに、売上情報記憶手段の販売個数
Nがインクリメントされ、売上総額Cが前の売上総額に
設定価格Pを加えた額に更新される。したがって、通常
は、売上情報記憶手段に記憶している売上総額Cが設定
価格Pに販売個数Nを乗じて得た額に常に一致し、しが
もこの売上総額Cρ(常に実際値を示していた。
Each time a product is sold, the number of sold items N in the sales information storage means is incremented, and the total sales C is updated to the sum of the previous total sales and the set price P. Therefore, normally, the total sales C stored in the sales information storage means always matches the amount obtained by multiplying the set price P by the number of sales N, and this total sales Cρ (which always indicates the actual value) Ta.

ところが、従来は設定価格PをQに変更した場合であっ
ても売上情報記憶手段の販売個数と売上総額との2情報
をそのままにしていたため、設定価格の変更後は、新た
な設定価格Qと販売個数との積が売上総額に一致しなく
なっていた。
However, in the past, even if the set price P was changed to Q, two pieces of information, the number of units sold and the total sales amount, were left unchanged in the sales information storage means, so after the set price was changed, the new set price Q and The product with the number of units sold no longer matched the total sales amount.

以上のように売上情報記憶手段に逐次売上総額を記憶す
ることをやめ、設定価格記憶手段に記憶している設定価
格に売上情報記憶手段の販売個数を乗じて得た額を売上
総額として表示することにしてこの不一致を解消するこ
とが考えられるが、この場合には、設定価格を変更する
と売上総額が実際値に一致しなくなるという問題があっ
た。
As described above, the total sales amount is no longer stored sequentially in the sales information storage means, and the amount obtained by multiplying the set price stored in the set price storage means by the number of units sold in the sales information storage means is displayed as the total sales amount. It may be possible to resolve this discrepancy, but in this case, there was a problem that if the set price was changed, the total sales amount would no longer match the actual value.

本発明は、以上の点に鑑みてなされたものであって、設
定価格の変更を行っても以上の問題を生じない自動販売
機を提供することを目的とする。
The present invention has been made in view of the above points, and it is an object of the present invention to provide a vending machine that does not cause the above problems even when the set price is changed.

[問題点を解決するための手段] 本発明は、前記の目的を達成するために、第1図に示す
次の構成としたものである。
[Means for Solving the Problems] In order to achieve the above object, the present invention has the following configuration shown in FIG. 1.

すなわち、設定価格記憶手段2は商品の設定価格Pを記
憶する。売上情報記憶手段4は売上情報■を記憶する。
That is, the set price storage means 2 stores the set price P of the product. The sales information storage means 4 stores sales information (■).

この売上情報■は、販売個数Nと売上総額Cとのうち少
なくとも一方からなり、これらの情報は商品販売のつど
更新される。設定価格変更手段Bは、後に説明する売上
データ演算表示手段12に対して設定価格変更要求信号
Rを出力するとともに、設定価格記憶手段2に記憶して
いる設定価格Pを所望の価t80に変更する。売上情報
クリア手段8は、売上情報記憶手段4に対してクリア信
号Uを出力して売上情報記憶手段4に記憶している売上
情報■をゼロクリアする。売上情報クリア判別手段10
は、この売上情報記憶手段4の売上情報!がゼロクリア
されたことを判別して判別信号Hを出力する。売上情報
記憶手段4の売上情報Iがゼロクリアされていず、した
がって判別信号Hの出力がないときは、設定価格変更手
段6による設定価格Pの変更が禁止される。また、判別
信号Hの出力がない場合において設定価格変更手段6か
らの設定価格変更要求信号Rの入力があったときには、
売上データ演算表示手段12は、設定l1IIi洛Pと
売上情報lとをもとにして設定価格Pと販売個数Nと売
上総額Cとの3データからなる売上データを求めてこれ
を表示する。本発明に係る自動販売機は、以上の構成か
らなる。
This sales information (2) consists of at least one of the number of products sold N and the total sales amount C, and these pieces of information are updated each time a product is sold. The set price changing means B outputs a set price change request signal R to the sales data calculation display means 12, which will be explained later, and also changes the set price P stored in the set price storage means 2 to a desired price t80. do. The sales information clearing means 8 outputs a clear signal U to the sales information storage means 4 to zero-clear the sales information ■ stored in the sales information storage means 4. Sales information clear determination means 10
is the sales information of this sales information storage means 4! It determines that has been cleared to zero and outputs a determination signal H. When the sales information I in the sales information storage means 4 has not been cleared to zero and therefore the determination signal H is not output, changing the set price P by the set price changing means 6 is prohibited. Further, when the determination signal H is not output and the set price change request signal R is input from the set price change means 6,
The sales data calculation and display means 12 calculates and displays sales data consisting of three data: a set price P, the number of sold items N, and the total sales amount C, based on the settings 11IIiRakuP and the sales information 1. The vending machine according to the present invention has the above configuration.

[作用] 本発明に係る自動販売機では、売上情報記憶手段4の売
上情報■がゼロクリアされていず、したがって判別信号
Hの出力がない場合に、設定価格変更手段6が設定価格
PをQに変更しようとしてもこの変更が禁止され、設定
価格記憶手段2の設定価格Pが保持される。この場合に
設定価格変更手段Bから出力される設定価格変更要求信
号Rを受けた売上データ演算表示手段12は、設定価格
記憶手段2から出力される設定価格Pと売上情報記憶手
段4から出力される売上情報Iとをもとにして、設定価
格Pと販売個数Nと売上総額Cとの3データからなる売
上データを求めてこれを表示する。これによって、もと
の売上データが保存される。
[Function] In the vending machine according to the present invention, when the sales information ■ in the sales information storage means 4 is not cleared to zero, and therefore the determination signal H is not output, the set price changing means 6 changes the set price P to Q. Even if an attempt is made to change the price, the change is prohibited and the set price P in the set price storage means 2 is held. In this case, the sales data calculation and display means 12 that receives the set price change request signal R output from the set price change means B outputs the set price P output from the set price storage means 2 and the sales information storage means 4. Based on the sales information I, sales data consisting of the set price P, the number of sold items N, and the total sales amount C is obtained and displayed. This saves the original sales data.

この状態において売上情報クリア手段8からクリア信号
Uを出力すると、売上情報記憶手段4の売上情報lがゼ
ロクリアされる。売上情報■をゼロクリアすると、売上
情報クリア判別手段lOから判別信号Hが出力され、設
定価格記憶手段2の記憶内容の変更禁止が解除される。
In this state, when the sales information clearing means 8 outputs the clear signal U, the sales information l in the sales information storage means 4 is cleared to zero. When the sales information (■) is cleared to zero, the sales information clear determination means 10 outputs a determination signal H, and the prohibition of changing the stored contents of the set price storage means 2 is canceled.

したがって、設定価格変更手段6によって設定価格記憶
手段2の設定価格Pが所望の新価格Qに変更される。
Therefore, the set price changing means 6 changes the set price P in the set price storage means 2 to the desired new price Q.

[実施例〕 第2図は、本発明の実施例に係る自動販売機のブロック
図である。
[Embodiment] FIG. 2 is a block diagram of a vending machine according to an embodiment of the present invention.

符号20は通常自動販売機の扉裏面に配される操作ボッ
クスであって、LCD表示器22、テンキー24、クリ
アキー26、価格設定キー28、売上確認キー30及び
ブザー32を有する。この操作ボックス20は、入出力
ポート34を介してマイクロプロセッサ36に接続され
、メモリ38がこのマイクロプロセッサ36に接続され
る。メモリ38はバッテリバックアップされた不揮発性
のRAMであって、このメモリには商品の設定価格P1
販売個数N及び売上総額Cが記憶される。
Reference numeral 20 denotes an operation box usually arranged on the back side of the door of a vending machine, and has an LCD display 22, a numeric keypad 24, a clear key 26, a price setting key 28, a sales confirmation key 30, and a buzzer 32. This operation box 20 is connected to a microprocessor 36 via an input/output port 34, and a memory 38 is connected to this microprocessor 36. The memory 38 is a non-volatile RAM backed up by a battery, and the set price P1 of the product is stored in this memory.
The number of sold items N and the total sales amount C are stored.

メモリ38は、前記設定価格記憶手段2及び売上情報記
憶手段4として機能する。ただし、本実施例では、販売
個数Nと売上総額Cとの2情報が売上情報Iを構成する
。操作ボックス20の各部は、入出力ボート34を通し
てマイクロプロセッサ3Bと信号のやりとりをする。こ
のうち、≠レキ−24及び価格設定キー28は、前記設
定価格変更手段6として機能し、テンキー24が新設定
価格の入力に用いられる一方、価格設定キー28がマイ
クロプロセッサ3Gに価格設定変更要求信号を与える。
The memory 38 functions as the set price storage means 2 and the sales information storage means 4. However, in this embodiment, two pieces of information, the number of sold items N and the total sales amount C, constitute the sales information I. Each part of the operation box 20 exchanges signals with the microprocessor 3B through the input/output board 34. Of these, the ≠receiver key 24 and the price setting key 28 function as the set price changing means 6, and the numeric keypad 24 is used to input a new set price, while the price setting key 28 requests the microprocessor 3G to change the price setting. give a signal.

クリアキー26は、売上情報クリア手段8として用いら
れる。マイクロプロセッサ3Bは、売上情報クリア判別
手段10として用いられるばかりでなく、LCD表示器
22とともに売上データ演算表示手段12として機能す
る。なお、ブザー32は、操作者に対して売上情報lの
ゼロクリアを促すために設けられ、売上確認キー80は
、従来と同様に設定価格P1販売個数N及び売上総額C
の確認のために用いられる。
The clear key 26 is used as sales information clearing means 8. The microprocessor 3B is not only used as the sales information clear determination means 10, but also functions together with the LCD display 22 as the sales data calculation and display means 12. The buzzer 32 is provided to prompt the operator to clear the sales information l to zero, and the sales confirmation key 80 is used to display the set price P1, number of sales N, and total sales C, as in the past.
Used for confirmation.

次に、マイクロプロセッサ36の動作を示す第3図のフ
ローチャートに基づいて、以上の構成の自動販売機の動
作を説明する。なお、同図には示さない他の処理によっ
て、従来同様に、メモリ38の販売個数Nは商品が販売
されるたびにインクリメントされ、そのつど売上総額C
が前の売上総額に設定価格Pを加えた額に更新される。
Next, the operation of the vending machine having the above configuration will be explained based on the flowchart of FIG. 3 showing the operation of the microprocessor 36. In addition, by other processing not shown in the figure, the number of sold items N in the memory 38 is incremented each time a product is sold, and the total sales amount C is increased each time, as in the conventional case.
is updated to the previous total sales amount plus the set price P.

したがって、メモリ38に記憶している売上総額Cが設
定価格Pに販売個数Nを乗じて得た額に常に一致し、し
かもこの売上総額Cが常に実際値を示す。
Therefore, the total sales C stored in the memory 38 always matches the amount obtained by multiplying the set price P by the number of sales N, and moreover, the total sales C always indicates the actual value.

処理手順がステップ1に達すると、操作ボックス20の
価格設定キー28が押下されたか否かが調べられる。価
格設定キー28が押下されていない場合にはステップ1
1にジャンプするが、メモリ38の設定価格Pを変更し
ようとして価格設定キー28を押下するとステップ2に
進む。ステップ2では、メモリ38に記憶されている販
売個数N及び売上総額Cがともにゼロであるか否かを調
べる。これらの情報がすでにゼロクリアされている場合
にはステップ7にジャンプしてすぐに設定価格Pの変更
を行うが、ゼロクリアされていない場合にはステップ3
に進んでブザー32を鳴動させることにより操作者の注
意を喚起する。
When the processing procedure reaches step 1, it is checked whether the price setting key 28 of the operation box 20 has been pressed. If the price setting key 28 is not pressed, step 1
1, but if the price setting key 28 is pressed in an attempt to change the set price P in the memory 38, the process proceeds to step 2. In step 2, it is checked whether the number of sold items N and the total sales amount C stored in the memory 38 are both zero. If these pieces of information have already been cleared to zero, jump to step 7 and immediately change the set price P, but if they have not been cleared to zero, proceed to step 3.
Then, the buzzer 32 is sounded to call the operator's attention.

次に、ステップ4ではメモリ38に記憶された設定価格
P1販売個数N及び売上総額CをLCD表示器22に表
示して現時点の売上データを知らせるとともに、「クリ
アし5てください」の文字を同表示器に表示して販売個
数N及び売上総額Cのクリアを促す。操作者は、表示さ
れた売上データを記録した後、クリアキー26を押下す
る。マイクロプロセッサ3Bは、ステップ5においてク
リアキー26の押下を待ってステップ6に進み、販売個
数N及び売上総額Cをゼロクリアする。以上のようにし
て売上情報のゼロクリアがなされると、ステップ2にお
いてこれらがすでにゼロクリアされていることが判明し
た場合と同様に、ステップ7に進む。
Next, in step 4, the set price P1, the number of units sold, N, and the total sales amount C stored in the memory 38 are displayed on the LCD display 22 to notify the current sales data, and the words "Please clear 5" are displayed on the LCD display 22. It is displayed on the display to encourage clearing of the sales quantity N and sales total C. After recording the displayed sales data, the operator presses the clear key 26. The microprocessor 3B waits for the clear key 26 to be pressed in step 5, and then proceeds to step 6, where it clears the sales number N and total sales C to zero. Once the sales information has been cleared to zero as described above, the process proceeds to step 7, as in the case where it is found in step 2 that the sales information has already been cleared to zero.

ステップ7では、LCD表示器22に「価格を設定して
ください」の文字を表示して新たな設定価格の入力を促
す。操作者がこれに応じてステップ8でテンキー24を
通して新たな設定価格Qを入力すると、ステップ9にお
いてメモリ38内の設定価格PがQに書換えられる。そ
して、ステップ10でLCD表示器22の表示を消去し
た後、ステップ11に進む。
In step 7, the words "Please set price" are displayed on the LCD display 22 to prompt the user to input a new set price. In response to this, the operator inputs a new set price Q through the numeric keypad 24 in step 8, and the set price P in the memory 38 is rewritten to Q in step 9. After erasing the display on the LCD display 22 in step 10, the process proceeds to step 11.

ステップ11〜16は、設定価格の変更以外の通常動作
を示す。すなわち、売上確認キー11を押下すると、ス
テップ11〜14において、このキーが再押下されるま
でLCD表示器22に設定価格P1販売個数N及び売上
総額Cが表示され、操作者はこれを確認することができ
る。
Steps 11 to 16 indicate normal operations other than changing the set price. That is, when the sales confirmation key 11 is pressed, in steps 11 to 14, the set price P1, number of sales N, and total sales C are displayed on the LCD display 22 until this key is pressed again, and the operator confirms this. be able to.

また、投入金の回収後等の任意の時点で、ステップ15
〜16においてクリアキー2Bの押下によって販売個数
N及び売上総額Cをゼロクリアすることもできる。
Also, at any time such as after collecting the input money, step 15
- 16, the number of sold items N and the total sales amount C can also be cleared to zero by pressing the clear key 2B.

ステップ16の処理が完了すると、マイクロプロセッサ
36は再び他の処理を実行する。なお、以上に説明した
ステップ1〜16の動作は、適宜の時間間隔ごとに繰返
し実行される。
When the process of step 16 is completed, the microprocessor 36 again executes other processes. Note that the operations of steps 1 to 16 described above are repeatedly executed at appropriate time intervals.

第4図は、本発明の他の実施例に係る自動販売機のブロ
ック図である。
FIG. 4 is a block diagram of a vending machine according to another embodiment of the present invention.

本実施例では、操作ボックス20がLCD表示器22に
かえてプリンタ40を有する。クリアキー26及び価格
設定キー2Bは、それぞれLEDからなる発光表示部を
有する。符号42はクリアLEDを示し、符号44は価
格設定LEDを示す。また、メモリ38は、売上総額C
を記憶せず、設定価格P及び販売個数Nのみを記憶する
。以上に説明した意思外は前記の実施例と同様であるの
で、その説明は省略する。なお、本実施例では販売個数
Nのみが売上情報Iを構成し、売上データ演算表示手段
12がマイクロプロセッサ3Gとプリンタ40とによっ
て構成される。
In this embodiment, the operation box 20 has a printer 40 instead of the LCD display 22. The clear key 26 and the price setting key 2B each have a light emitting display section made of an LED. Reference numeral 42 indicates a clear LED, and reference numeral 44 indicates a pricing LED. The memory 38 also stores the total sales C
is not stored, but only the set price P and the number of units sold N are stored. Since the components other than those described above are the same as those in the previous embodiment, the explanation thereof will be omitted. In this embodiment, only the sales number N constitutes the sales information I, and the sales data calculation and display means 12 is constituted by the microprocessor 3G and the printer 40.

第5図は、第4図のマイクロプロセッサ36の動作を示
すフローチャートである。なお、メモリ38の販売個数
Nは、同図には示さない他の処理によって商品販売のた
びにインクリメントされる。
FIG. 5 is a flowchart showing the operation of the microprocessor 36 of FIG. Note that the number of sold items N in the memory 38 is incremented each time a product is sold by other processing not shown in the figure.

処理手順がステッ°ブ21に達すると、操作ボックス2
0の価格設定キー2Bが押下されたか否かが調べられる
。価格設定キー2Bが押下されていない場合にはステッ
プ34にジャンプするが、メモリ38の設定価格Pを変
更しようとして価格設定キー、28を押下するとステッ
プ22に進む。
When the processing procedure reaches step 21, the operation box 2
It is checked whether the price setting key 2B of 0 has been pressed. If the price setting key 2B is not pressed, the process jumps to step 34, but if the price setting key 28 is pressed in an attempt to change the set price P in the memory 38, the process proceeds to step 22.

ステップ22では、メモリ38に記憶されている販売個
数Nがゼロであるか否かを調べる。これがすでにゼロク
リアされている場合にはステップ30にジャンプしてす
ぐに設定価格P、の変更を行うが、ゼロクリアされてい
ない場合にはステップ23に進んでブザー32を鳴動さ
せることにより操作者の注意を喚起する。
In step 22, it is checked whether the number of sold items N stored in the memory 38 is zero. If this has already been cleared to zero, the process jumps to step 30 and the set price P is changed immediately, but if it has not been cleared to zero, the process proceeds to step 23 and the buzzer 32 sounds to alert the operator. evoke.

次に、ステップ24ではメモリ38に記憶された設定価
格Pと販売個数Nとの積を演算して、この積を売上総額
Cとする。ステップ25では、メモリ38の設定価格P
及び販売個数N並びに演算によって求めた売上総額Cを
プリンタ40に出力して、これらの情報からなる売上デ
ータをプリントする。本実施例では売上データをプリン
トしているため、その記録が自動的に残る。ステップ2
6では、クリアLED42を点灯して販売個数Nのクリ
アを促す。この点灯の後、マイクロプロセッサ3Bは、
ステップ27においてクリアキー28の押下を待ってス
テップ28で販売個数Nをゼロクリアした後、ステップ
29においてクリアLED42を消灯する。以上のよう
にして売上情報のゼロクリアがなされると、ステップ2
2でこれがすでにゼロクリアされていることが判明した
場合と同様に、ステップ30に進む。
Next, in step 24, the product of the set price P stored in the memory 38 and the number of sold items N is calculated, and this product is set as the total sales amount C. In step 25, the set price P of the memory 38 is
, the number of sold items N, and the total sales amount C determined by calculation are outputted to the printer 40 to print sales data consisting of these pieces of information. In this embodiment, since the sales data is printed, the record is automatically kept. Step 2
At step 6, the clear LED 42 is turned on to prompt clearing of the sales number N. After this lighting, the microprocessor 3B
After waiting for the clear key 28 to be pressed in step 27 and clearing the sales number N to zero in step 28, the clear LED 42 is turned off in step 29. Once the sales information is cleared to zero as described above, step 2
In the same way as in step 2 where it is found that this has already been cleared to zero, proceed to step 30.

ステップ30では、価格設定LED44を点灯して新た
な設定価格の入力を促す。操作者がこれに応じてステッ
プ31でテンキー24を通して新たな設定価格Qを入力
すると、ステップ32においてメモリ3B内の設定価格
PがQに書換えられる。そして、ステップ33で価格設
定LED44を消灯した後、ステップ34に進む。
In step 30, the price setting LED 44 is turned on to prompt input of a new set price. In response to this, the operator inputs a new set price Q through the numeric keypad 24 in step 31, and the set price P in the memory 3B is rewritten to Q in step 32. After turning off the price setting LED 44 in step 33, the process proceeds to step 34.

ステップ34〜36では、売上確認キー11の押下のつ
どステップ24と同様に売上総額Cを演算により求めて
、プリンタ40に設定価r6p。
In steps 34 to 36, each time the sales confirmation key 11 is pressed, the total sales amount C is calculated similarly to step 24, and the set price r6p is sent to the printer 40.

販売個数N及び売上総額Cをプリントする。また、ステ
ップ37〜38においてクリアキー26の押下によって
販売個数Nをゼロクリアすることもできる。
Print the sales quantity N and total sales amount C. Furthermore, the sales number N can be cleared to zero by pressing the clear key 26 in steps 37 and 38.

ステップ38の処理が完了すると、マイクロプロセッサ
36は再び他の処理を実行する。なお、以上に説明した
ステップ21〜38の動作も適宜の時間間隔ごとに繰返
し実行される。
When the process of step 38 is completed, the microprocessor 36 again executes other processes. Note that the operations of steps 21 to 38 described above are also repeatedly executed at appropriate time intervals.

なお、メモリ38には、設定価格Pと売上総額Cとの2
情報だけを記憶するようにしてもよい。
Note that the memory 38 stores two values: the set price P and the total sales C.
Only information may be stored.

ただし、この場合には、売上総額Cをもとの設定価格P
で割った値を商品の販売個数Nとして表示する。
However, in this case, the total sales C is the original set price P.
The value divided by N is displayed as the number of products sold.

[発明の効果] 本発明に係る自動販売機では、売上情報をゼロクリアし
ていないうちに設定価格を変更しようとしても、この変
更が禁止されるとともに、設定価格と販売個数と売上総
額との3情報からなる変更前の売上データが表示され、
このデータが保存される。表示された売上データにおい
て、売上総額は常に設定価格と販売個数との積に一致し
、この売上総額は実際値に一致する。
[Effects of the Invention] In the vending machine according to the present invention, even if an attempt is made to change the set price before the sales information has been cleared to zero, this change is prohibited, and the change is prohibited between the set price, the number of units sold, and the total sales amount. The sales data before the change consisting of information is displayed,
This data will be saved. In the displayed sales data, the total sales amount always matches the product of the set price and the number of units sold, and this total sales amount matches the actual value.

そして、売上情報のゼロクリア後は、従来と同様に設定
価格を所望の新価格に変更することができる。しかも、
設定価格の変更と同時に売上情報がゼロクリアされるた
め、この変更後において、設定価格と売上情報との各記
憶内容間の正常な関係がくずれることもない。
After the sales information is cleared to zero, the set price can be changed to a desired new price in the same way as before. Moreover,
Since the sales information is cleared to zero at the same time as the set price is changed, the normal relationship between the stored contents of the set price and sales information will not be disrupted after this change.

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

第1図は本発明の構成を示すブロック図、第2図は本発
明の実施例に係る自動販売機のブロック図、第3図は前
図のマイクロプロセッサの動作を示すフローチャート、
第4図は本発明の他の実施例に係る自動販売機のブロッ
ク図、第5図は前図のマイクロプロセッサの動作を示す
フローチャートである。 符号の説明 2・・・設定価格記憶手段、4・・・売上情報記憶手段
、6・・・設定価格変更手段、8・・・売上情報クリア
手段、IO・・・売上情報クリア判別手段、12・・・
売上データ演算表示手段、C・・・売上総額、H・・・
判別信号、■・・・売上情報、N・・・販売個数、P・
・・設定価格、Q・・・他の設定価格、R・・・設定価
格変更要求信号、U・−・クリア信号。
FIG. 1 is a block diagram showing the configuration of the present invention, FIG. 2 is a block diagram of a vending machine according to an embodiment of the present invention, and FIG. 3 is a flow chart showing the operation of the microprocessor shown in the previous figure.
FIG. 4 is a block diagram of a vending machine according to another embodiment of the present invention, and FIG. 5 is a flowchart showing the operation of the microprocessor shown in the previous figure. Explanation of symbols 2... Set price storage means, 4... Sales information storage means, 6... Set price changing means, 8... Sales information clear means, IO... Sales information clear determination means, 12 ...
Sales data calculation display means, C...total sales, H...
Discrimination signal, ■... Sales information, N... Number of units sold, P.
... Set price, Q... Other set price, R... Set price change request signal, U... Clear signal.

Claims (1)

【特許請求の範囲】[Claims] 1、商品の設定価格(P)を記憶する設定価格記憶手段
(2)と、販売個数(N)と売上総額(C)とのうち少
なくとも一方からなり商品販売のつど更新される売上情
報(I)を記憶する売上情報記憶手段(4)と、設定価
格変更要求信号(R)を出力して前記設定価格記憶手段
(2)の設定価格(P)を所望の価格(Q)に変更する
設定価格変更手段(6)と、前記売上情報記憶手段(4
)に対してクリア信号(U)を出力して前記売上情報(
I)をゼロクリアする売上情報クリア手段(8)と、前
記売上情報記憶手段(4)の売上情報(I)がゼロクリ
アされたことを判別して判別信号(H)を出力する売上
情報クリア判別手段(10)とを備え、前記判別信号(
H)の出力がないときは前記設定価格変更手段(6)に
よる前記設定価格(P)の変更が禁止され、前記判別信
号(H)の出力がない場合において前記設定価格変更手
段(6)からの設定価格変更要求信号(R)の入力があ
ったときには前記設定価格(P)と前記売上情報(I)
とをもとにして設定価格(P)と販売個数(N)と売上
総額(C)との3データからなる売上データを求めてこ
れを表示する売上データ演算表示手段(12)を設けた
ことを特徴とする自動販売機。
1. Set price storage means (2) for storing the set price (P) of the product, and sales information (I) that is updated each time the product is sold, and includes at least one of the number of units sold (N) and the total sales amount (C). ), and a setting for outputting a set price change request signal (R) to change the set price (P) of the set price storage means (2) to a desired price (Q). price changing means (6) and the sales information storage means (4);
) and outputs a clear signal (U) to the sales information (
sales information clearing means (8) for zero-clearing the sales information (I); and sales information clearing determining means for determining that the sales information (I) in the sales information storage means (4) has been zero-cleared and outputting a determination signal (H). (10), and the discrimination signal (
H), the set price changing means (6) is prohibited from changing the set price (P), and when the discrimination signal (H) is not output, the set price changing means (6) is prohibited from changing the set price (P). When the set price change request signal (R) is input, the set price (P) and the sales information (I) are input.
A sales data calculation and display means (12) is provided for obtaining and displaying sales data consisting of three data: set price (P), number of units sold (N), and total sales (C) based on the above. A vending machine featuring
JP33150387A 1987-12-25 1987-12-25 Vending machine Pending JPH01171087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33150387A JPH01171087A (en) 1987-12-25 1987-12-25 Vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33150387A JPH01171087A (en) 1987-12-25 1987-12-25 Vending machine

Publications (1)

Publication Number Publication Date
JPH01171087A true JPH01171087A (en) 1989-07-06

Family

ID=18244365

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33150387A Pending JPH01171087A (en) 1987-12-25 1987-12-25 Vending machine

Country Status (1)

Country Link
JP (1) JPH01171087A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62286196A (en) * 1986-06-04 1987-12-12 富士電機株式会社 Sales information collection system for vending machine

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62286196A (en) * 1986-06-04 1987-12-12 富士電機株式会社 Sales information collection system for vending machine

Similar Documents

Publication Publication Date Title
JP2882947B2 (en) Registration device
JPH01171087A (en) Vending machine
JPH02263294A (en) Commodity sales data processor
JP2506098B2 (en) Transaction processor
JP2818894B2 (en) Vending machine parallel sales setting device
JPH0737163A (en) Commodity sales registering device
JP3684938B2 (en) Vending machine controller
JP2832936B2 (en) Customer management terminal
JPH11328536A (en) Merchandise processor
KR19990053935A (en) How to Display Help in the Cash Register
JP2003281610A (en) Automatic vending machine
JPH01142887A (en) Pos terminal
JPH02127797A (en) Data setting device for automatic vending machine
JPS59186088A (en) Management data confirmation apparatus for vending machine
JPH08329346A (en) Article sales registration data processor
JPH09319969A (en) Article sales registration data processor
JPH04217099A (en) Data processor
JPH0343567B2 (en)
JPS59184966A (en) Electronic cash register
JPS60221896A (en) Merchandize selling data processing system
JPS5938875A (en) Separate classification registering system
JPH10154272A (en) Sales data processor
JPS60221895A (en) Merchandize selling data processing system
JP2006003942A (en) Article sales data processing apparatus
JPH0676151A (en) Vending machine with sales promoting function of specific commodity