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
JPS6357834B2 - - Google Patents
[go: Go Back, main page]

JPS6357834B2 - - Google Patents

Info

Publication number
JPS6357834B2
JPS6357834B2 JP2997283A JP2997283A JPS6357834B2 JP S6357834 B2 JPS6357834 B2 JP S6357834B2 JP 2997283 A JP2997283 A JP 2997283A JP 2997283 A JP2997283 A JP 2997283A JP S6357834 B2 JPS6357834 B2 JP S6357834B2
Authority
JP
Japan
Prior art keywords
button
setting
display
operated
product
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
JP2997283A
Other languages
Japanese (ja)
Other versions
JPS59154583A (en
Inventor
Takashi Nomoto
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP2997283A priority Critical patent/JPS59154583A/en
Publication of JPS59154583A publication Critical patent/JPS59154583A/en
Publication of JPS6357834B2 publication Critical patent/JPS6357834B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Ticket-Dispensing Machines (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は、商品購入の際に、その購入データで
ある個数および種類を設定するために操作される
設定釦と、この設定釦の操作の後に、商品購入の
実行のために操作される実行釦とが備えられた自
動販売機に係り、特には設定釦の操作誤りがあつ
た場合の訂正操作機能を有する自動販売機に関す
る。
[Detailed Description of the Invention] <Industrial Application Field> The present invention provides a setting button that is operated to set the purchase data such as the quantity and type when purchasing a product, and the operation of this setting button. Later, the present invention relates to a vending machine equipped with an execution button that is operated to execute a product purchase, and particularly to a vending machine that has a correcting function in the event that a setting button is erroneously operated.

<従来の技術> 従来のこの種の自動販売機には、たとえば実公
昭55―33396号公報に記載されているように、商
品購入のために操作する釦群のほかに、別個の訂
正釦(または取り消し釦、返却釦)が設けられて
いる。
<Prior art> Conventional vending machines of this type have, in addition to a group of buttons operated for purchasing products, a separate correction button ( , cancel button, return button).

この訂正釦は、利用客が硬貨投入口に硬貨を投
入したのち、商品を選択購入するための釦操作を
する以前に、あるいは釦操作をしている途中で、
誤りに気付いた場合等に操作するためのもので、
この訂正釦が操作されると、投入した硬貨等がす
べてつり銭口から戻されるようになつている。
This correction button is used after the customer inserts a coin into the coin slot, but before or during the button operation to select and purchase a product.
This is to be used when you notice an error.
When this correction button is operated, all coins etc. inserted are returned from the change slot.

一方、自動券売機のように連絡線や枚数等の多
段階の選択を行う必要がある自動販売機には、商
品購入のために操作すべき釦として、購入商品の
個数および種類を設定する設定釦と、商品の購入
を実行するための実行釦(通常、最終選択釦を兼
ねている)とを備えたものがあり、このような自
動販売機では、利用客が設定釦の操作で購入商品
の個数や種類を設定した後、設定した内容を確認
しながら、最終的に実行釦を操作することによ
り、商品を購入しうるようになつている。この自
動販売機でも、訂正釦を操作すると、投入した硬
貨等がすべてつて銭口から戻り、設定内容が初期
状態に戻される。
On the other hand, automatic ticket vending machines that require multiple selections such as connection lines and number of tickets have settings that set the number and type of purchased products as buttons that must be operated to purchase products. Some vending machines are equipped with a button and an execution button (which usually also serves as the final selection button) for purchasing the product. After setting the number and type of products, you can finally purchase the product by operating the execution button while checking the settings. In this vending machine as well, when the correction button is operated, all the inserted coins are removed and returned from the cash slot, and the settings are returned to their initial state.

<発明が解決しようとする問題点> 上記のように、従来の自動販売機では、訂正釦
を操作すると、投入した硬貨等が戻されるから、
利用客は改めて硬貨等を投入し直し、正しい釦操
作をしなければならない。
<Problems to be solved by the invention> As mentioned above, in conventional vending machines, when the correction button is operated, the inserted coins, etc. are returned.
The customer has to insert coins, etc. again and press the buttons correctly.

特に、購入商品の個数および種類を設定する設
定釦と、最終的に商品の購入を実行するための実
行釦とがある自動販売機では、一連の設定釦の操
作の内で、僅か1個の設定釦の操作誤りがあつて
も、訂正釦が操作された後は、硬貨等の再投入の
ほかに、設定釦の一連の操作を初めからすべてや
り直さなければならなくなる。このため、訂正の
ための操作の回数が多く、利用客に対し多大の不
便さと煩わしさとを与えるものとなつていた。
In particular, in a vending machine that has a setting button for setting the number and type of purchased products and an execution button for finally purchasing the product, only one of the setting button operations is required. Even if there is an error in operating the setting button, after the correction button is operated, in addition to reinserting coins, etc., it is necessary to repeat the entire series of operations of the setting button from the beginning. For this reason, the number of operations required for correction is large, causing great inconvenience and annoyance to customers.

本発明は、商品購入の際に操作すべき釦として
設定釦と実行釦とを有する自動販売機において、
設定釦の操作誤りがあつた場合の硬貨等の再投入
を不要とするとともに、設定釦の操作回数を減少
させて、利用客に対する不便さと煩わしさとを解
消することを目的とする。
The present invention provides a vending machine having a set button and an execution button as buttons to be operated when purchasing a product.
To eliminate the need for re-inserting coins, etc. when a setting button is operated incorrectly, and to reduce the number of times the setting button is operated, thereby eliminating inconvenience and trouble for users.

<問題点を解決するための手段> 本発明は、このような目的を達成するために、
第8図の特許請求の範囲対応図に示すように、購
入商品の購入データを多段階の押釦操作によつて
設定するための複数個の設定釦と、投入された金
額に応じて購入可能な商品の範囲を表示する表示
器と、商品の購入を実行するための実行釦とを備
え、商品購入の際、設定釦の操作の後に表示器の
表示に対応して実行釦を操作するようにした自動
販売機において、投入金額、商品の単価、設定釦
により設定入力された商品の購入データをストア
するメモリと、このメモリからのデータに基づき
購入可能な商品の範囲を算出するとともにこの算
出の結果に基づき前記表示器の表示を制御する演
算制御部とを備え、かつ前記演算制御部は、同一
の設定釦について2度目の操作が行われたか否か
を判断する回数判断手段と、2度目の操作である
ことを示す回数判断手段の出力信号に応答してメ
モリにストアされている該設定釦の1度目の設定
操作による商品の購入データを初期状態にクリア
するクリア手段とを含む構成とした。
<Means for solving the problems> In order to achieve such an object, the present invention has the following features:
As shown in the claims correspondence diagram in Figure 8, there are a plurality of setting buttons for setting the purchase data of the purchased product through multi-step push button operations, and the ability to purchase according to the amount invested. It is equipped with a display that displays the product range and an execution button for executing the purchase of the product, and when purchasing the product, the execution button is operated in accordance with the display on the display after operating the setting button. In a vending machine that has been installed, there is a memory that stores the input amount, the unit price of the product, and the purchase data of the product entered by the setting button, and the range of products that can be purchased is calculated based on the data from this memory. an arithmetic control unit that controls the display on the display based on the result, and the arithmetic control unit includes a number of times determining means that determines whether or not the same setting button has been operated for a second time; a clearing means for clearing the product purchase data stored in the memory by the first setting operation of the setting button to an initial state in response to an output signal from the number-of-times determining means indicating that the setting button is operated for the first time; did.

<作 用> 上記構成によれば、利用客が設定釦を操作する
と、その設定された購入データはメモリにストア
される。ここで、利用客が実行釦を操作する以前
に、設定釦の操作に誤りがあつたことに気付い
て、同一の設定釦を再度操作すると、そのことが
演算制御部の回数判断手段により検出され、この
検出に応答して、メモリでの前記設定釦による設
定データが初期状態にクリアされる。メモリの設
定データがクリアされることで、該設定釦を操作
する段階からの設定操作のやり直しが可能にな
る。
<Function> According to the above configuration, when the customer operates the setting button, the set purchase data is stored in the memory. Here, if the customer notices that he or she has made a mistake in operating the setting button before operating the execution button and operates the same setting button again, this will be detected by the number of times judgment means of the arithmetic control section. , In response to this detection, the setting data set by the setting button in the memory is cleared to the initial state. By clearing the setting data in the memory, it becomes possible to redo the setting operation from the stage of operating the setting button.

<実施例> 以下、図面を参照して本発明の実施例を詳細に
説明する。なお、この実施例は、自動販売機に適
用して説明されるが、他の自動販売機にも適用で
きることはいうまでもない。
<Example> Hereinafter, an example of the present invention will be described in detail with reference to the drawings. Although this embodiment will be described as applied to a vending machine, it goes without saying that it can also be applied to other vending machines.

第1図は、この実施例が適用される自動券売機
の正面図である。この自動券売機1は、その接客
パネル面に硬貨投入口2、紙幣投入口3、投入金
額表示器4、商品購入実行釦としての口座釦群
5、商品の購入データである種類およびその購入
個数を選択するための設定釦としての券種・枚数
設定釦群6および連絡社線選択釦群7とを備え
る。
FIG. 1 is a front view of an automatic ticket vending machine to which this embodiment is applied. This automatic ticket vending machine 1 has a coin slot 2, a bill slot 3, an inserted amount display 4, an account button group 5 as a product purchase execution button, and the type and number of purchased products on the customer service panel surface. A group of ticket type/number setting buttons 6 and a contact company line selection button group 7 are provided as setting buttons for selecting the ticket type and number of tickets.

口座釦群5は、自動券売機1が設置されてい
る、例えば電車駅を基点とする各電車区間毎に対
応する金額の表示器を内蔵するとともに、金額表
示器が点灯している釦が操作されることにより乗
車券の購入が実行できるようになつている。すな
わち、この口座釦群5の各釦に内蔵された表示器
が、特許請求の範囲での「投入された金額に応じ
て購入可能な商品を表示する表示器」となつてい
る。
The account button group 5 has a built-in display of the amount corresponding to each train section based on the train station where the automatic ticket vending machine 1 is installed, for example, and the button whose amount display is lit is operated. This allows the ticket to be purchased. That is, the display device built into each button of the account button group 5 serves as a "display device that displays products that can be purchased according to the amount of money inserted" in the scope of the claims.

券種・枚数設定釦群6は、第2図に示すよう
に、大人用乗車券1枚、2枚……、および小人用
乗車券1枚、2枚……の各釦6a〜6hよりな
る。
As shown in FIG. 2, the ticket type/number setting button group 6 includes buttons 6a to 6h for adult tickets 1, 2, etc., and child tickets 1, 2, etc. Become.

連絡社線選択釦群7は、第3図に示すように、
九州行き、中国行き……等の選択釦7a〜7fよ
りなる。
As shown in FIG. 3, the contact line selection button group 7 is as follows:
It consists of selection buttons 7a to 7f such as to Kyushu, to China, etc.

この実施例が適用された自動券売機1で、九州
行きの乗車券を複数枚、例えば大人用乗車券2
枚、小人用乗車券2枚を購入するためには、設定
釦6b,6fおよび選択釦7aを操作すべきであ
つたのを、利用客が誤つて設定釦6a,6fおよ
び選択釦7aを操作したとする。この場合の訂正
操作は、設定釦6aだけの操作が誤りであるの
で、この設定釦6aのみを再度操作し、次に設定
釦6bを操作するだけでよい。
An automatic ticket vending machine 1 to which this embodiment is applied sells multiple tickets to Kyushu, for example, 2 adult tickets.
In order to purchase two child tickets, the passenger should have operated the setting buttons 6b, 6f and selection button 7a, but the passenger mistakenly pressed the setting buttons 6a, 6f and selection button 7a. Suppose you operate it. In the correction operation in this case, since operating only the setting button 6a is an error, it is sufficient to operate only this setting button 6a again and then operating the setting button 6b.

第3図は、このような訂正操作を可能にするた
めの実施例の要部の回路図である。なお、説明の
便宜上、券種・枚数設定釦群6の内、大人用乗車
券側の設定釦群6a〜6dの操作による選択値を
m1とし、小人用乗車券側の設定釦群6e〜6h
の操作による選択値をm2とし、連絡社線選択釦
群7の操作による選択値をm3とし、投入金額の
合計値をm4ということにする。
FIG. 3 is a circuit diagram of a main part of an embodiment for enabling such a correction operation. For convenience of explanation, the values selected by operating the adult ticket side setting button groups 6a to 6d of the ticket type/number setting button group 6 are shown below.
m 1 , and set button group 6e to 6h on the child ticket side.
Let m 2 be the value selected by operating the communication line selection button group 7, m 3 be the value selected by operating the communication line selection button group 7, and let m 4 be the total value of the input amount.

第3図において、8は回路全体の動作を演算制
御する演算制御部(以下、CPUと呼称する)、9
は、CPU8の制御プログラムや運賃表や初期値
m01〜m04のデータが予め記憶されたプログラ
ム・データメモリである。各初期値m01〜m04は、
それぞれ大人用乗車券「0」枚、小人用乗車券
「0」枚、自社線名、投入金額「0」円を示す。
このプログラム・データメモリ9は読み出し専用
メモリ(リード・オンリ・メモリ)で構成され
る。10は、プログラム・データメモリ9からの
初期値m01〜04または設定釦6および連絡社線選択
釦7による選択値m1〜m3および投入金額の合計
値m4のデータが記憶される設定データメモリで
あつて、随時書き込み・読み出し可能なメモリ
(ランダム・アクセス・メモリ)で構成される。
11は、硬貨投入口2より投入された硬貨の金種
を判別してその金額に対応する金額データを出力
する硬貨処理装置、12は、紙幣投入口3より投
入された紙弊の金種を判別してその金額に対応す
る金額データを出力する紙幣処理装置、13は設
定釦6や、連絡社線選択釦7、口座釦5が操作さ
れた場合の各釦操作信号を演算制御部8に与える
釦操作入力制御回路、14は、各釦群5,6の操
作および金銭の投入などに基づき演算制御部8か
ら表示器15を点灯制御させる点灯制御指令信号
が与えられることによりこの表示器15に表示駆
動信号を与える表示器制御回路、16は、口座釦
群5が操作されることにより演算制御部8から印
刷・発行の発券指令信号が与えられて乗車券用用
紙に印刷を行つてこれを乗車券として発行する印
刷・発行装置である。
In FIG. 3, 8 is an arithmetic control unit (hereinafter referred to as CPU) that arithmetic controls the operation of the entire circuit;
is the CPU8 control program, fare table, and initial values.
This is a program/data memory in which data m 01 to m 04 are stored in advance. Each initial value m 01 to m 04 is
Each shows ``0'' tickets for adults, ``0'' tickets for children, the company's line name, and the amount invested ``0'' yen.
This program/data memory 9 is comprised of a read-only memory. Reference numeral 10 indicates a setting in which the initial values m 01 to 04 from the program/data memory 9 or the selected values m 1 to m 3 by the setting button 6 and the contact company line selection button 7 and the data of the total input amount m 4 are stored. It is a data memory and consists of memory (random access memory) that can be written to and read from at any time.
11 is a coin processing device that determines the denomination of a coin inserted through the coin insertion slot 2 and outputs amount data corresponding to the amount; A bill processing device 13 that discriminates the amount and outputs amount data corresponding to the amount, sends button operation signals to the calculation control unit 8 when the setting button 6, contact line selection button 7, and account button 5 are operated. The button operation input control circuit 14 receives a lighting control command signal from the arithmetic control section 8 to control the lighting of the display 15 based on the operation of each button group 5, 6 and the insertion of money. When the account button group 5 is operated, the display control circuit 16 receives a print/issuance command signal from the arithmetic control section 8 and prints it on the ticket paper. This is a printing/issuance device that issues tickets as tickets.

第5図は、各メモリ9,10のデータ記憶エリ
アの記憶状態を示す図である。第5図aはプログ
ラム・データメモリ9の記憶エリアを、第5図b
は設定データメモリ10の記憶エリアを、それぞ
れ示す。
FIG. 5 is a diagram showing the storage state of the data storage area of each memory 9, 10. FIG. 5a shows the storage area of the program/data memory 9, and FIG. 5b shows the storage area of the program/data memory 9.
indicate storage areas of the setting data memory 10, respectively.

第5図aのプログラム・データメモリ9におい
て、im1は大人用乗車券枚数について初期値m01
すなわち大人用乗車券「0」枚を示す符号の記憶
エリア、im2は小人用乗車券枚数についての初期
値m02、すなわち小人用乗車券「0」枚を示す符
号の記憶エリア、im3は連絡社線についての初期
値m03、すなわち自社線を示す符号の記憶エリ
ア、im4は投入金額データについての初期値m04
すなわち「0」円を示す符号の記憶エリア、im5
は大人用乗車券と小人用乗車券との各運賃単価の
記憶エリア、im6は各連絡社線の運賃の記憶エリ
アである。
In the program/data memory 9 of FIG. 5a, im 1 is the initial value m 01 for the number of adult tickets,
In other words, im 2 is a storage area for a code indicating "0" tickets for adults, and im 2 is a storage area for a code indicating "0" tickets for children, im 2 is the initial value m 02 for the number of tickets for children. 3 is the initial value m 03 for the contact company line, that is, the storage area for the code indicating the company line, im 4 is the initial value m 04 for the input amount data,
In other words, the storage area for the code indicating "0" yen, im 5
is the storage area for each fare unit price for adult tickets and child tickets, and im6 is the storage area for the fares for each connecting company line.

第5図bの設定データメモリ10において、
Sm1は大人用乗車券の初期値m01または選択値m1
の記憶エリア、Sm2は小人用乗車券の初期値m02
または選択値m02の記憶エリア、Sm3は連絡社線
の初期値m03または選択値m3の記憶エリア、Sm4
は投入金額の初期値m04または選択値m4の記憶エ
リア、Sm5は後述するカウンタiの記憶エリア、
Sm6は後述するように操作されて設定釦に対応す
るフラグの記憶エリアである。
In the setting data memory 10 of FIG. 5b,
Sm 1 is the initial value m 01 of the adult ticket or the selected value m 1
storage area, Sm 2 is the initial value of the child ticket m 02
Or storage area for selected value m 02 , Sm 3 is storage area for initial value m 03 of contact line or selection value m 3 , Sm 4
is the storage area for the initial value m04 of the input amount or the selected value m4 , Sm5 is the storage area for the counter i, which will be described later.
Sm 6 is a storage area for flags corresponding to setting buttons operated as described later.

次に、演算制御部であるCPU8の制御動作を
第6図および第7図に示すフローチヤートにした
がつて説明する。第6図はメインプログラムのフ
ローチヤートであり、第7図は釦操作入力判定処
理のサブルーチンである。CPU8は、これらの
フローチヤートに示すプログラムで動作すること
により、特に釦操作入力判定処理のサブルーチン
のステツプSST3,SST7を経ることにより、
特許請求の範囲に示した回数判断手段およびクリ
ア手段として機能する。
Next, the control operation of the CPU 8, which is the arithmetic control section, will be explained with reference to the flowcharts shown in FIGS. 6 and 7. FIG. 6 is a flowchart of the main program, and FIG. 7 is a subroutine for button operation input determination processing. By operating the programs shown in these flowcharts, the CPU 8, in particular, goes through steps SST3 and SST7 of the button operation input determination processing subroutine.
It functions as a number-of-times determining means and a clearing means as shown in the claims.

第6図aにおいて、自動券売機の電源オン時、
または乗車券の販売が終了した時、CPU8は設
定データメモリ10の第5図bに示す各記憶エリ
アSm1〜Sm4にプログラム・データメモリ9の初
期値記憶エリアim1〜im4に初期値m01〜m04を書
き込み、かつ操作釦5,6,7入力のフラグを各
釦が操作されない状態にリセツトする(ステツプ
ST1)。釦操作入力については、後述するように
利用客が釦を操作した時、対応するスイツチが動
作し、この動作信号がリレーまたはICのフリツ
プフロツプ等によりラツチされる。CPU8がこ
れを検出して対応するフラグをセツトする。ステ
ツプST2では、金銭が投入されるのを持つ。金銭
が投入されると、投入された金額を示すデータが
硬貨処理装置11または紙幣処理装置12から送
出される。CPU8は、このデータと記憶エリア
Sm4のデータとを加算して記憶エリアSm4に記憶
する(ステツプST3)。後述する各ステツプST6
ST11〜ST14を経てステツプST3に戻つて前述の
動作を繰り返すことにより、投入金額の合計値
m4が設定データメモリ10の記憶エリアSm4
書き込まれることになる。ステツプST4では、こ
の投入金額の合計他m4を表示制御回路14に与
える。表示制御回路14はCPU8からの合計値
m4を表示器15に表示する。ステツプST5
CPU8は記憶エリアSm5内のカウンタiのカウ
ント値「1」をセツトする。このカウンタiのカ
ウント値は「1」から「4」までであり、「1」
は大人用乗車券購入用設定釦6a〜6dの操作、
「2」は小人用乗車券購入用設定釦6e〜6hの
操作、「3」は連絡社線選択釦7の操作、「4」は
すべての釦6,7入力の調査終了に、それぞれ対
応する。
In Figure 6a, when the automatic ticket vending machine is powered on,
Or, when ticket sales are finished, the CPU 8 stores initial values in the initial value storage areas im 1 - im 4 of the program/data memory 9 in each storage area Sm 1 - Sm 4 shown in FIG. 5b of the setting data memory 10. Write m 01 to m 04 and reset the flags of operation buttons 5, 6, and 7 input to a state in which each button is not operated (step
ST1 ). Regarding button operation input, as will be described later, when a customer operates a button, a corresponding switch is activated, and this operation signal is latched by a relay or an IC flip-flop. CPU 8 detects this and sets the corresponding flag. In step ST 2 , money is introduced. When money is inserted, data indicating the amount of money inserted is sent from the coin processing device 11 or the banknote processing device 12. CPU8 stores this data and storage area.
The data of Sm4 is added and stored in the storage area Sm4 (step ST3 ). Each step ST 6 , which will be described later,
By returning to step ST 3 through ST 11 to ST 14 and repeating the above operation, the total value of the input amount will be calculated.
m 4 will be written to the storage area Sm 4 of the setting data memory 10. In step ST4 , the total input amount m4 is given to the display control circuit 14. The display control circuit 14 displays the total value from the CPU 8.
m 4 is displayed on the display 15. At step ST 5
The CPU 8 sets the count value of the counter i in the storage area Sm5 to "1". The count value of this counter i is from "1" to "4", and "1"
is the operation of the adult ticket purchase setting buttons 6a to 6d,
"2" corresponds to the operation of the setting buttons 6e to 6h for purchasing tickets for children, "3" corresponds to the operation of the contact line selection button 7, and "4" corresponds to the end of the investigation by inputting all buttons 6 and 7. do.

次に、ステツプST6でカウンタiのカウント値
を調べ、カウント値が4であれば、Yesと判定し
て、ステツプST11にジヤンプし、カウント値が
4でなければ、Noと判定して、ステツプST7
進む。こうして、すべての釦群の操作についての
処理が終了したか否かを判定する。
Next, in step ST 6 , the count value of counter i is checked, and if the count value is 4, it is determined as Yes and jumps to step ST 11 , and if the count value is not 4, it is determined as No. Proceed to step ST 7 . In this way, it is determined whether the processing for the operations of all the button groups has been completed.

ステツプST7で各釦5,6,7の内、カウンタ
iのカウント値が「1」のときは設定釦6a〜6
d、「2」のときは設定釦6e〜6h、「3」のと
きは選択釦7の各入力を調べ、入力を検出する
と、対応するフラグをセツトする。すなわち、操
作された釦に対応するフラグをセツトする。ステ
ツプST8では、釦が操作されているかどうかをフ
ラグを調べることにより検査し、釦が操作されて
いなければ、Noと判定してステツプST10にジヤ
ンプし、カウンタiのカウント値に「1」を加え
る。釦が操作されていなければ、ステツプST8
Yesと判定して、ステツプST9に進む。そして、
このステツプST9では、操作された釦の内容を解
析するサブルーチンがコールされる。
In step ST 7 , if the count value of counter i is "1" among buttons 5, 6, and 7, set buttons 6a to 6
d, each input of the setting buttons 6e to 6h when the input is "2", and the selection button 7 when the input is "3" is checked, and when an input is detected, the corresponding flag is set. That is, a flag corresponding to the operated button is set. In step ST 8 , it is checked by checking the flag whether the button has been operated or not. If the button has not been operated, it is judged as No and jumps to step ST 10 , where the count value of counter i is set to "1". Add. If the button is not operated, step ST8
Determine Yes and proceed to step ST9 . and,
In this step ST9 , a subroutine for analyzing the contents of the operated button is called.

ここで、第7図のサブルーチンの説明に移る。
ステツプSST1で、カウンタiのカウント値に対
応する複数の釦に対応する各フラグの内、セツト
されているフラグに対応する釦の内容、すなわち
選択値を得る。選択値を得るに際して、フラグ選
択値テーブルを設けてフラグから選択値を得るよ
うにしてもよいし、釦操作入力制御回路13か
ら、操作されている釦に対応するデータを得るよ
うにしてもよい。
Now, a description of the subroutine shown in FIG. 7 will be given.
At step SST1 , the content of the button corresponding to the set flag among the flags corresponding to the plurality of buttons corresponding to the count value of counter i, that is, the selected value is obtained. When obtaining the selection value, a flag selection value table may be provided to obtain the selection value from the flag, or data corresponding to the button being operated may be obtained from the button operation input control circuit 13. .

この選択値はCPU8に読み込まれて記憶され
る。例えば、釦6cが操作された場合には、i=
1のとき、記憶エリアSm6内のフラグF3がセツト
され、釦6cに対応するデータがCPU8に読み
込まれる。ステツプSST2で設定データメモリ1
0の記憶エリアSm1〜Sm3のうちのいずれか1つ
に書き込まれているデータの内容をCPU8に読
み込む。このときの記憶エリアSm1〜Sm3のひと
つはカウンタiの値によつて定まる。次に、ステ
ツプSST3では、前記両ステツプSST1〜SST2
得られた内容が一致するか否かを判定する。ここ
で、釦が初めて操作されたものである場合は、設
定データメモリ10の記憶エリアSm1〜Sm3には
初期値m01〜m03が、また釦の内容は選択値m1
m3であることから、両者は一致しないので、No
と判定してステツプSST4に進む。
This selection value is read into the CPU 8 and stored. For example, when button 6c is operated, i=
1, the flag F3 in the storage area Sm6 is set, and the data corresponding to the button 6c is read into the CPU8. Setting data memory 1 in step SST 2
The content of the data written in any one of the storage areas Sm 1 to Sm 3 of 0 is read into the CPU 8. One of the storage areas Sm 1 to Sm 3 at this time is determined by the value of the counter i. Next, in step SST3 , it is determined whether the contents obtained in both steps SST1 to SST2 match . Here, if the button is operated for the first time, the initial values m 01 to m 03 are stored in the storage areas Sm 1 to Sm 3 of the setting data memory 10, and the selected values m 1 to m 03 are stored in the button contents.
m 3 , so the two do not match, so No.
It is determined that this is the case and the process proceeds to step SST 4 .

同一の釦が2度目に操作されたものである場合
は、後述するように、設定データメモリ10の記
憶エリアSmi(i=1〜3のうちのカウンタiの
値による1つ)には1度目に操作された釦の選択
値mi(i=1〜3のうちのカウンタiの値による
1つ)が書き込まれているので、両ステツプ
SST1,SST2で得られた内容が互いに一致し、
Yesと判定してステツプSST7に進む。そして、
ステツプSST7で、設定データメモリ10の記憶
エリアSmiは、選択値miから初期値m0iに書き換
えられてステツプSST8に進む。
If the same button is operated for the second time, as will be described later, the memory area Smi of the setting data memory 10 (i = one of 1 to 3 according to the value of counter i) will contain the information for the first time. Since the selected value mi of the button operated in (i=1 to 3 depending on the value of counter i) is written, both steps are
The contents obtained from SST 1 and SST 2 agree with each other,
Determine Yes and proceed to step SST 7 . and,
At step SST7 , the storage area Smi of the setting data memory 10 is rewritten from the selected value mi to the initial value m0i , and the process proceeds to step SST8 .

一方、ステツプSST3からステツプSST4に進ん
だ場合、ステツプSST4では、設定釦6や連絡社
線選択釦7が初めて操作されたのか、訂正のため
に再操作されたのかを判定するために、プログラ
ム・データ・メモリ9の記憶エリアimi(i=1
〜3のうちのカウンタiの値による1つ)に書き
込まれている初期値m0i(i=1〜3のうちのカ
ウンタiの値による1つ)を読み出す。次いで、
ステツプSST5で、設定データメモリ10の記憶
エリアSmiに書き込まれている初期値m0iまたは
選択値miと、プログラム・データ・メモリ9の
記憶エリアimiのカウンタiで示される初期値
m0iとが一致するか否かを判定し、訂正や再操作
以外の他の目的で操作された場合には一致しない
ので、Noと判定して、他の目的で操作された釦
の入力は無視してステツプSST8にジヤンプする。
On the other hand, when proceeding from step SST 3 to step SST 4 , step SST 4 is used to determine whether the setting button 6 or contact line selection button 7 was operated for the first time, or whether it was operated again for correction. , storage area imi (i=1
The initial value m 0 i (one value depending on the value of counter i out of i=1 to 3) written in the initial value m 0 i (one value depending on the value of counter i out of i=1 to 3) is read out. Then,
In step SST 5 , the initial value m 0 i or selected value mi written in the storage area Smi of the setting data memory 10 and the initial value indicated by the counter i in the storage area imi of the program data memory 9
Determine whether or not m 0 i matches, and if it is operated for any other purpose other than correction or re-operation, it will not match, so it will be determined No and the input of the button operated for other purposes will be determined. Ignore and jump to step SST 8 .

釦入力が初めて操作されたものである場合に
は、設定データメモリ10の記憶エリアSm1
Sm3には初期値m01〜m03が書き込まれているの
で、ステツプSST5においてYesと判定し、次の
ステツプSST6において釦操作に対応した選択値
miを設定データメモリ10の記憶エリアSmiに
書き込み、ステツプSST8に進む。
If the button input is operated for the first time, the storage area Sm 1 ~ of the setting data memory 10
Since the initial values m 01 to m 03 are written in Sm 3 , it is judged as Yes in step SST 5 , and the selected value corresponding to the button operation is set in the next step SST 6 .
Write mi in the storage area Smi of the setting data memory 10 and proceed to step SST 8 .

このステツプSST8でカウンタiのカウント値
が「1」のときは釦6a〜6d、「2」のときは
6e〜6h、「3」のときは選択釦7の各入力の
フラグをすべてリセツトして釦が操作されていな
い状態に戻す。ここで、メインプログラムのステ
ツプST10に戻る。
In this step SST 8 , all the flags of each input of buttons 6a to 6d are reset when the count value of counter i is "1", 6e to 6h when it is "2", and of selection button 7 when it is "3". to return to the state where the button is not operated. Now return to step ST 10 of the main program.

ステツプST10ではカウンタiのカウント値を
+1し、第6図aのステツプST6に戻る。このよ
うな各ステツプを繰り返すことにより、設定釦
6、連絡社線釦7のすべての釦の内容が調べられ
たときにカウンタiのカウント値は4になつて、
ステツプST6でYesと判定して第6図bのステツ
プST11に進む。ステツプST11で設定データメモ
リ10の記憶エリアSm1〜Sm4の書き込みデータ
にしたがつて、各種表示器を点灯し、そのデータ
の内容を表示する。ステツプST12では、設定デ
ータメモリ10の記憶エリアSm1〜Sm4の書き込
みデータをもとに、プログラム・データメモリ9
の記憶エリアim5,im6の運賃データから購入可
能な券の判定を計算し、ステツプST13でその購
入可能な口座を表示する。利用客は表示された購
入可能口座の内、利用状況に応じた口座釦5を操
作する(ステツプST14)。表示された購入可能口
座が利用条件に合致しないならば、口座釦を操作
せずに、金銭を追加投入する。この場合、メイン
プログラムはステツプST3に戻る。
At step ST10 , the count value of counter i is incremented by 1, and the process returns to step ST6 in FIG. 6a. By repeating each of these steps, the count value of counter i will reach 4 when the contents of all the buttons including setting button 6 and contact line button 7 have been checked.
A determination of Yes is made in step ST6 , and the process proceeds to step ST11 in FIG. 6b. In step ST11 , various indicators are lit to display the contents of the data in accordance with the write data in the storage areas Sm1 to Sm4 of the setting data memory 10. In step ST 12 , the program/data memory 9 is written based on the write data in the storage areas Sm 1 to Sm 4 of the setting data memory 10.
The determination of purchasable tickets is calculated from the fare data in the storage areas im 5 and im 6 , and in step ST 13 , the account where the tickets can be purchased is displayed. The customer operates the account button 5 corresponding to the usage status among the displayed purchaseable accounts (step ST14 ). If the displayed purchaseable account does not meet the usage conditions, additional money is added without operating the account button. In this case, the main program returns to step ST3 .

口座釦5の操作の前に、利用客が設定釦6や選
択釦7の操作を誤つたことに気付いた場合には、
口座釦5を操作せずに、取り消しの意味で再び誤
つた設定釦6もしくは選択釦7を操作する。この
場合は、前述のサブルーチンへ進み、一旦その誤
つた釦の設定は初期値に戻される。したがつて、
利用客は次に正しい釦を操作するのみで訂正操作
を行うことができる。正しい釦を操作した後は、
前述のサブルーチンの説明中、ステツプSST6
進む場合となるので、利用客が意図した口座釦5
に対応する表示器が点灯される。これにより、利
用客が口座釦5を操作すると、ステツプST15
おいて、CPU8はその口座釦5が購入可能か否
かを判定する。購入可能でないことによりNoと
判定された場合は、口座釦5の操作は無効である
としてステツプST3に戻り、再び他の口座釦5が
操作されるのを待つ。購入可能であることにより
Yesと判定された場合は、ステツプST16に進んで
印刷・発行装置16に印刷・発行のための発券指
令が与えられる。このステツプST15は、予め
CPU8がステツプST13の時点で購入可能でない
口座釦5に予めマスクをかけておくようにすれ
ば、省略することができる。次に、ステツプ
ST17で発券処理の終了を待ち、ステツプST18
つり銭放出処理の終了を待ち、つり銭放出処理が
終了すると、ステツプST20ですべての表示器の
表示を消してステツプST1に戻り、再び金銭の投
入を待つ状態となる。
If the customer realizes that he or she made a mistake in operating the setting button 6 or selection button 7 before operating the account button 5,
Instead of operating the account button 5, the user operates the incorrect setting button 6 or selection button 7 again to cancel. In this case, the process proceeds to the aforementioned subroutine, and the incorrect button settings are temporarily returned to their initial values. Therefore,
The customer can then perform a corrective action by simply operating the correct button. After operating the correct button,
During the explanation of the above subroutine, it is necessary to proceed to step SST 6 , so press the account button 5 that the customer intended.
The corresponding indicator lights up. As a result, when the customer operates the account button 5, the CPU 8 determines in step ST15 whether or not the account button 5 can be purchased. If the determination is No because the purchase is not possible, it is determined that the operation of the account button 5 is invalid, and the process returns to step ST3 , and waits for another account button 5 to be operated again. By being available for purchase
If it is determined Yes, the process proceeds to step ST16 , where a ticket issuing command for printing and issuing is given to the printing/issuing device 16. This step ST 15
This can be omitted if the CPU 8 masks in advance the account button 5 that cannot be purchased at step ST13 . Next, step
Wait for the end of the ticket issuing process in ST 17 , wait for the end of the change dispensing process in step ST 18 , and when the change dispensing process is finished, turn off all displays in step ST 20 , return to step ST 1 , and discard the money again. The system is now waiting for input.

<発明の効果> 以上詳述した通り、本発明は、同一の設定釦が
2度操作されると、メモリでの該設定釦による設
定データがクリアされるようにしたもので、利用
客が設定釦の操作に誤りがあることに気付いた場
合には、同一の設定釦を再度操作するだけで、そ
の設定釦を操作する以前の状態に戻るから、該設
定釦を操作する段階から操作を続けていくことに
より、正しい設定を行うことができ、設定を訂正
する場合に、硬貨等の再投入が不要となるととも
に、一連の設定釦の操作を初めからやり直す必要
がなくなり、利用客に対する訂正操作の不便さや
煩わしさを解消することができる。
<Effects of the Invention> As detailed above, the present invention is such that when the same setting button is operated twice, the setting data of the setting button is cleared in the memory, so that the user can If you notice that you made a mistake in operating a button, simply operate the same setting button again to return to the state before operating that setting button, so you can continue operating from the stage where you operated the setting button. By doing so, you can make the correct settings, and when correcting settings, there is no need to re-insert coins, etc., and there is no need to restart the series of setting button operations from the beginning. This can eliminate the inconvenience and hassle of

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

図面は本発明の実施例を示し、第1図はこの実
施例が適用された自動券売機の正面図、第2図は
この自動券売機の券種・枚数設定釦群の構成図、
第3図はこの自動券売機の連絡社線選択釦群の構
成図、第4図は自動券売機の回路図、第5図aは
プログラム・データメモリのデータエリア内の記
憶状態を示す図、第5図bは設定データメモリの
データエリアの記憶状態を示す図、第6図は動作
説明に供するメインプログラムのフローチヤー
ト、第7図は釦操作内容の判定処理の説明に供す
るサブルーチンのフローチヤート、第8図は特許
請求の範囲対応図である。 1……自動券売機、2……硬貨投入口、3……
紙幣投入口、4……投入金額表示器、5……口座
釦群、6……券種・枚数設定釦群、7……連絡社
線選択釦群、8……CPU、9……プログラム・
データメモリ、10……設定データメモリ。
The drawings show an embodiment of the present invention, and FIG. 1 is a front view of an automatic ticket vending machine to which this embodiment is applied, and FIG. 2 is a configuration diagram of a group of ticket type and number setting buttons of this automatic ticket vending machine.
Fig. 3 is a configuration diagram of the contact line selection button group of this automatic ticket vending machine, Fig. 4 is a circuit diagram of the automatic ticket vending machine, and Fig. 5 a is a diagram showing the storage state in the data area of the program/data memory. FIG. 5b is a diagram showing the storage state of the data area of the setting data memory, FIG. 6 is a flowchart of the main program to explain the operation, and FIG. 7 is a flowchart of the subroutine to explain the process of determining button operation contents. , FIG. 8 is a diagram corresponding to the claims. 1... Automatic ticket vending machine, 2... Coin slot, 3...
Bill slot, 4... Input amount display, 5... Account button group, 6... Bill type/number setting button group, 7... Contact company line selection button group, 8... CPU, 9... Program/
Data memory, 10...Setting data memory.

Claims (1)

【特許請求の範囲】 1 購入商品の購入データを多段階の押釦操作に
よつて設定するための複数個の設定釦と、投入さ
れた金額に応じて購入可能な商品の範囲を表示す
る表示器と、商品の購入を実行するための実行釦
とを備え、商品購入の際、設定釦の操作の後に表
示器の表示に対応して実行釦を操作するようにし
た自動販売機において、 投入金額、商品の単価、設定釦により設定入力
された商品の購入データをストアするメモリと、
このメモリからのデータに基づき購入可能な商品
の範囲を算出するとともにこの算出の結果に基づ
き前記表示器の表示を制御する演算制御部とを備
え、 かつ前記演算制御部は、同一の設定釦について
2度目の操作が行われたか否かを判断する回数判
断手段と、2度目の操作であることを示す回数判
断手段の出力信号に応答してメモリにストアされ
ている該設定釦の1度目の設定操作による商品の
購入データを初期状態にクリアするクリア手段と
を含むことを特徴とする自動販売機。
[Scope of Claims] 1. A plurality of setting buttons for setting purchase data of purchased products through multi-step button press operations, and a display that displays the range of products that can be purchased according to the amount of money invested. and an execution button for executing the purchase of the product, and when purchasing the product, the execution button is operated in accordance with the display on the display after operating the setting button. , a memory for storing the unit price of the product, and purchase data of the product entered through the setting button;
an arithmetic control section that calculates a range of purchasable products based on the data from the memory and controls the display of the display based on the result of this calculation, and the arithmetic control section that controls the display of the same setting button. A number of times determining means for determining whether or not the second operation has been performed, and a first time of the setting button stored in the memory in response to an output signal from the number of times determining means indicating that the second operation has been performed. A vending machine characterized by comprising: a clearing means for clearing product purchase data to an initial state by a setting operation.
JP2997283A 1983-02-23 1983-02-23 Vending machine Granted JPS59154583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2997283A JPS59154583A (en) 1983-02-23 1983-02-23 Vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2997283A JPS59154583A (en) 1983-02-23 1983-02-23 Vending machine

Publications (2)

Publication Number Publication Date
JPS59154583A JPS59154583A (en) 1984-09-03
JPS6357834B2 true JPS6357834B2 (en) 1988-11-14

Family

ID=12290873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2997283A Granted JPS59154583A (en) 1983-02-23 1983-02-23 Vending machine

Country Status (1)

Country Link
JP (1) JPS59154583A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07225867A (en) * 1994-02-15 1995-08-22 Central Japan Railway Co vending machine

Also Published As

Publication number Publication date
JPS59154583A (en) 1984-09-03

Similar Documents

Publication Publication Date Title
JPH0792860B2 (en) Sold-out processing device for ticket vending machines
JP3297237B2 (en) Vending machine payment management device
JPH0334108B2 (en)
JP3868950B2 (en) Automatic teller machine
JPS6357834B2 (en)
JP3418372B2 (en) Automatic ticketing device
JPS5858708B2 (en) JIYOSHIA KENJIDO HATSUBAISAUCHI
JP2753005B2 (en) Automatic ticket vending machine and amount card processing method
JP3419639B2 (en) Ticketing machine fare confirmation device
JP2523199B2 (en) Card type vending machine
JP2575547B2 (en) Ticket-vending machine
JPS61199185A (en) Ticket vending machine
KR0141969B1 (en) Discount vending machine and method of ticket vending machine
JP2002063633A (en) Client operation type automatic machine and display method therefor
JP2599392Y2 (en) Ticket-vending machine
JPS63195791A (en) Automatic ticket issuing system
JPS6019553B2 (en) Automatic ticket vending device
KR100202693B1 (en) Plutal column simultaneous issuing method of ticketing machine
KR960003995B1 (en) Receipt issuing apparatus and the method of ticket vending machine
JPS5872284A (en) Passenger rate indication for ticket vending machine
JP2515053B2 (en) Specific column information switching device for ticket machines
JP2631694B2 (en) Card settlement device
JPH0981797A (en) Automatic vending machine
JPH09305800A (en) Automatic ticket vending machine and ticket issuing method
JPH11110589A (en) Automatic ticket issuing machine