JP2001093030A - Automatic vending machine controller - Google Patents

Automatic vending machine controller

Info

Publication number
JP2001093030A
JP2001093030A JP26944299A JP26944299A JP2001093030A JP 2001093030 A JP2001093030 A JP 2001093030A JP 26944299 A JP26944299 A JP 26944299A JP 26944299 A JP26944299 A JP 26944299A JP 2001093030 A JP2001093030 A JP 2001093030A
Authority
JP
Japan
Prior art keywords
control unit
program
main control
terminal
terminal control
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.)
Granted
Application number
JP26944299A
Other languages
Japanese (ja)
Other versions
JP3692857B2 (en
Inventor
Yasuhiro Yamazaki
康宏 山崎
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP26944299A priority Critical patent/JP3692857B2/en
Publication of JP2001093030A publication Critical patent/JP2001093030A/en
Application granted granted Critical
Publication of JP3692857B2 publication Critical patent/JP3692857B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To reduce the labor and time of work, and to prevent any operation miss by automatically updating the control program of a main control part at the time of exchanging or newly setting a terminal control part. SOLUTION: The maker identification code of each origin of manufacture and the version of each corresponding control program are held in each terminal control part 2, 3, 4, and 5, and at the time of exchanging or newly setting the terminal control part, the maker identification code and the version are transmitted to a main control part 1 at the time of initial communication with the main control part 1. The main control part 1 successively retrieves the inside parts of a memory 1A arranged inside the main control part, a memory card 7 inserted into an extended slot 6, and a communicable management computer 10 based on the maker identification code and version received from each terminal control part, and obtains the suitable control program from among them.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、自動販売機各部を
それぞれ個別に制御する端末制御部と、それら端末制御
部との間で通信を行いながらそれらを統括して制御する
主制御部とからなる自動販売機制御装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a terminal control section for individually controlling each section of a vending machine, and a main control section for integrally controlling the terminal control sections while communicating with each other. Vending machine control device.

【0002】[0002]

【従来の技術】従来の自動販売機制御装置では、各商品
搬出機構を制御する販売制御部、投入された硬貨を判別
処理するための硬貨処理機構の制御を行う硬貨処理制御
部、金額表示器の表示制御を行う表示制御部のように、
それぞれの端末制御部により自動販売機各部をそれぞれ
個別に制御するようにしている。そして、主制御部が、
信号ラインを介して通信しながらそれらの端末制御部を
統括して制御するようにしている。
2. Description of the Related Art In a conventional vending machine control device, a vending control unit for controlling each product unloading mechanism, a coin processing control unit for controlling a coin processing mechanism for discriminating inserted coins, and an amount display unit. Like a display control unit that controls the display of
Each terminal control section controls each section of the vending machine individually. And the main control unit:
While communicating via a signal line, the terminal control units are controlled in an integrated manner.

【0003】各端末制御部は、それぞれ制御プログラム
を保持していて、それにより所定の制御を行う。また、
主制御部は、各端末制御部を統括制御するための制御プ
ログラムを持っていて、それにより所定の制御を行う。
主制御部の制御プログラムは、それぞれの端末制御部に
対応する部分を含んでいる。したがって、いずれかの端
末制御部を型式の異なる新しいものに交換したり、いま
までなかった端末制御部を新たに設けたりした場合は、
それに合わせて、主制御部の制御プログラムを更新する
必要がある。
[0003] Each terminal control unit holds a control program, and performs predetermined control by using the control program. Also,
The main control unit has a control program for integrally controlling each terminal control unit, and performs a predetermined control based on the control program.
The control program of the main control unit includes a portion corresponding to each terminal control unit. Therefore, if one of the terminal control units is replaced with a new one of a different type or if a new terminal control unit is newly provided,
It is necessary to update the control program of the main control unit accordingly.

【0004】そのため、従来の自動販売機制御装置で
は、端末制御部を交換したり新設したりした場合は、そ
の都度、制御プログラムが書き込まれているROMを新
しいものに差し換えたり、メモリに格納されている古い
プログラムを手動操作により新しいプログラムに書き換
えたりして対応していた。
Therefore, in the conventional vending machine control device, when the terminal control unit is replaced or newly installed, the ROM in which the control program is written is replaced with a new one or stored in the memory each time the terminal control unit is replaced. The old program that was used was replaced by a new program by manual operation.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来の自動販売機制御装置では、端末制御部を交換したり
新設した場合に、ROMを差し換えたり、プログラムを
書き換えたりするのに手間がかかるという問題点があっ
た。また、それらの作業を手動操作で行うため、作業ミ
スが発生する可能性があるという問題点もあった。
However, in the above-mentioned conventional vending machine control device, when the terminal control unit is replaced or newly installed, it takes time to replace the ROM or rewrite the program. There was a point. In addition, there is also a problem that a work error may occur because the work is performed manually.

【0006】本発明は、そのような問題点を解決し、端
末制御部を交換したり新設した場合に、主制御部の制御
プログラムを自動的に更新できるようにして、作業の手
間を軽減するとともに、作業ミスも防止できるようにす
ることを目的とするものである。
[0006] The present invention solves such a problem, and when the terminal control unit is replaced or newly installed, the control program of the main control unit can be automatically updated to reduce the labor of the work. It is another object of the present invention to prevent a work error.

【0007】[0007]

【課題を解決するための手段】前記課題を解決するた
め、請求項1に記載の自動販売機制御装置は、自動販売
機各部をそれぞれ個別に制御する複数の端末制御部と、
それら端末制御部との間で通信を行いながらそれらを統
括して制御する主制御部とを有する自動販売機制御装置
であって、前記各端末制御部は、それぞれの製造元のメ
ーカー識別コードとそれぞれに対応する制御プログラム
のバージョンとを保持し、主制御部との最初の通信にお
いて、前記メーカー識別コードとバージョンとを主制御
部に送信し、主制御部は、各端末制御部から受信したメ
ーカー識別コードとバージョンとに基づいて、接続され
ている端末制御部に対応した制御プログラムを取得する
ようにしたことを特徴とする。このようにすると、端末
制御部を交換したり新設した場合に、主制御部の制御プ
ログラムを自動的に更新できるようにして、作業の手間
を軽減するとともに、作業ミスも防止できる。
According to a first aspect of the present invention, there is provided a vending machine control apparatus comprising: a plurality of terminal control units for individually controlling each unit of a vending machine;
A vending machine control device having a main control unit that controls and controls them while communicating with the terminal control units, wherein each of the terminal control units has a maker identification code of each manufacturer and a , And in the first communication with the main control unit, the maker identification code and the version are transmitted to the main control unit, and the main control unit receives the maker received from each terminal control unit. A control program corresponding to the connected terminal control unit is obtained based on the identification code and the version. In this way, when the terminal control unit is replaced or newly installed, the control program of the main control unit can be automatically updated, so that the labor of the operation can be reduced and the operation error can be prevented.

【0008】そして、請求項2に記載の自動販売機制御
装置は、前記主制御部が、前記メーカー識別コードとバ
ージョンとに基づいて、主制御部内に設けられたRO
M,拡張スロットに差し込まれたメモリカード,通信可
能な外部記憶媒体の内部を順次検索し、それらの内のい
ずれかから適合する制御プログラムを取得することを特
徴とする。このようにすると、端末制御部の接続と連動
して、その後の制御プログラムを自動的に探し出し、自
動的に書き換えることができる。
According to a second aspect of the present invention, there is provided a vending machine control device, wherein the main control unit is provided in the main control unit based on the manufacturer identification code and the version.
M, a memory card inserted into the expansion slot, and an inside of a communicable external storage medium are sequentially searched, and a suitable control program is obtained from any of them. In this way, the subsequent control program can be automatically searched for and automatically rewritten in conjunction with the connection of the terminal control unit.

【0009】また、請求項3に記載の自動販売機制御装
置は、前記主制御部が、プログラム格納部に、機能別プ
ログラムエリア,拡張プログラムエリアを規定し、それ
らのエリア単位で制御プログラムを部分的に書き換える
ことを特徴とする。このようにすると、書き換えるデー
タ量が少なくなって書き換え作業が効率的になる。
According to a third aspect of the present invention, in the vending machine control device, the main control unit defines a function-specific program area and an extended program area in a program storage unit, and stores a control program in units of those areas. It is characterized in that it is rewritten dynamically. By doing so, the amount of data to be rewritten is reduced, and the rewriting operation becomes more efficient.

【0010】そしてまた、請求項4に記載の自動販売機
制御装置は、端末制御部内部に、該端末制御部を制御す
るための主制御部の制御プログラムを格納しておき、主
制御部は、端末制御部が組み込まれた際に、該端末制御
部から制御プログラムを取得するようにしたことを特徴
とする。このようにすると、主制御部のメモリやメモリ
カードや管理コンピュータに該当プログラムを蓄積して
おく必要がなくなって、管理が容易になる。
In the vending machine control device according to a fourth aspect of the present invention, a control program for a main control unit for controlling the terminal control unit is stored in the terminal control unit, and the main control unit is When a terminal control unit is incorporated, a control program is obtained from the terminal control unit. This eliminates the need to store the program in a memory, a memory card, or a management computer of the main control unit, thereby facilitating management.

【0011】さらに、請求項5に記載の自動販売機制御
装置は、前記端末制御部に、中間言語の形で前記制御プ
ログラムを格納し、主制御部には、該中間言語の形の制
御プログラムを主制御部用の機械語に変換する中間言語
解釈プログラムを内蔵させたことを特徴とする。このよ
うにすると、主制御部のマイコンが別のマイコンに取り
替えられても、各端末制御部の制御プログラムは、その
まま使えるようになる。
The vending machine control device according to claim 5, wherein the terminal control unit stores the control program in the form of an intermediate language, and the main control unit stores the control program in the form of the intermediate language. An intermediate language interpreting program for converting into a machine language for the main control unit is built in. In this way, even if the microcomputer of the main control unit is replaced with another microcomputer, the control program of each terminal control unit can be used as it is.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。図1は、本発明の自動販売
機制御装置のシステム概略図である。主制御部1は、販
売制御部,硬貨処理制御部,表示制御部等の端末制御部
2,3,4と通信しながらそれらを統括して制御する。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a system schematic diagram of a vending machine control device of the present invention. The main controller 1 controls the terminal controllers 2, 3, and 4 such as a sales controller, a coin processing controller, and a display controller while communicating with them.

【0013】各端末制御部2,3,4は、それぞれ商品
搬出機構や硬貨処理機構や金額表示器を制御するための
制御プログラムを保持していて、それらにより所定の制
御を行う。また、主制御部1は、それら端末制御部2,
3,4を統括制御するための制御プログラムを持ってい
て、それにより統括制御を行う。主制御部1の制御プロ
グラムは、各端末制御部2,3,4とデータのやり取り
を行いながら制御を行うため、それぞれの端末制御部
2,3,4の製造元や機種に応じて内容が異なる。
Each of the terminal control units 2, 3, and 4 has a control program for controlling a merchandise unloading mechanism, a coin processing mechanism, and a money amount display, and performs predetermined control by using them. Further, the main control unit 1 includes the terminal control units 2,
It has a control program for general control of 3 and 4, which performs general control. Since the control program of the main control unit 1 performs control while exchanging data with each of the terminal control units 2, 3, and 4, the content differs depending on the manufacturer and model of each of the terminal control units 2, 3, and 4. .

【0014】したがって、いずれかの端末制御部を新型
のものに交換したり、いままでなかった端末制御部を新
たに設けたりした場合は、それに合わせて、主制御部の
制御プログラムを書き換える必要がある。
Therefore, when any one of the terminal control units is replaced with a new terminal control unit or a new terminal control unit is newly provided, it is necessary to rewrite the control program of the main control unit accordingly. is there.

【0015】主制御部1の制御プログラムは、EPRO
M,フラッシュメモリ等よりなるメモリ1Aに格納され
ている。メモリ1Aには、どのような端末制御部が組み
込まれるかを想定して、端末制御部の組み合わせに対応
した複数の制御プログラムが予め格納されており、それ
らの中から、その時組み込まれている端末制御部に適合
した制御プログラムを選択し、それを使って制御が行わ
れる。そして、いままであった端末制御部2,3,4の
内のいずれかが新しいものに交換されたり、機能拡張の
ため新たに端末制御部5が組み込まれたりした時、メモ
リ1Aの中から変更後の端末制御部の組み合わせに適合
した制御プログラムを探し出してプログラムの切り換え
を行い、その後は、その制御プログラムにより動作させ
る。
The control program of the main control unit 1 is EPRO
M, a flash memory, or the like. In the memory 1A, a plurality of control programs corresponding to combinations of the terminal control units are stored in advance, assuming what type of terminal control unit is to be incorporated. A control program suitable for the control unit is selected, and control is performed using the selected control program. When any one of the existing terminal control units 2, 3, and 4 is replaced with a new one, or when the terminal control unit 5 is newly incorporated for function expansion, the contents are changed from the memory 1A. A control program suitable for a later combination of terminal control units is searched for and the program is switched. Thereafter, the control program is operated by the control program.

【0016】各端末制御部2〜5には、それぞれの製造
元のメーカー識別コード及びそれぞれに対応する制御プ
ログラムのバージョン等を、それぞれの内部に設けられ
ている不揮発性のメモリに保持させている。また、主制
御部1のメモリ1A内に格納されている各制御プログラ
ムにも、それぞれを識別するため、対応する端末制御部
のメーカー識別コードとバージョンとが記録されてい
る。
Each of the terminal control units 2 to 5 stores a manufacturer identification code of each manufacturer, a version of a control program corresponding to each manufacturer, and the like in a nonvolatile memory provided therein. In addition, each control program stored in the memory 1A of the main control unit 1 also records a maker identification code and a version of the corresponding terminal control unit to identify each control program.

【0017】そして、端末制御部の変更があった後、電
源を投入した直後に、各端末制御部から主制御部1に対
して、それぞれのメーカー識別コード,バージョン等を
送信する。なお、メーカー識別コード,バージョン等の
送信は、まず、主制御部1が各端末制御部に要求し、各
端末制御部がそれに応じて送信するようにしてもよい。
After the terminal control unit is changed, each terminal control unit transmits a maker identification code, a version, and the like to the main control unit 1 immediately after the power is turned on. The transmission of the manufacturer identification code, the version, and the like may be performed by first requesting the main control unit 1 to each terminal control unit, and each terminal control unit transmitting the request.

【0018】いずれにしても、主制御部1は、各端末制
御部からメーカー識別コード,バージョン等を受信した
ら、メーカー識別コード,バージョン等に基づいて、そ
れらの組み合わせに適合する制御プログラムをメモリ1
Aから探し出して、その後は、その制御プログラムによ
り制御を行う。
In any case, upon receiving the maker identification code, version, etc. from each terminal control unit, the main control unit 1 stores a control program suitable for the combination based on the maker identification code, version, etc., in the memory 1.
A is searched from A, and thereafter, control is performed by the control program.

【0019】ところで、機能拡張用の端末制御部5とし
て、今まで設置が予定されていなかった新しいタイプの
端末制御部を取り付ける場合等、新設した端末制御部に
適合した制御プログラムが、メモリ1Aに格納されてい
ない場合がある。そのような場合は、主制御部1に設け
られた拡張スロット6に、新設した端末制御部用の制御
プログラムを含む制御プログラムを格納したメモリカー
ド7を差し込み、そのメモリカード7から適合する制御
プログラムを読み込む。なお、メモリカード7に格納さ
れている制御プログラムにも前記メーカー識別コード,
バージョン等が記録されている。
By the way, when a new type of terminal control unit, which was not planned to be installed, is installed as the terminal control unit 5 for function expansion, a control program suitable for the newly installed terminal control unit is stored in the memory 1A. May not be stored. In such a case, a memory card 7 storing a control program including a control program for a newly installed terminal control unit is inserted into an expansion slot 6 provided in the main control unit 1, and a compatible control program is inserted from the memory card 7. Read. The control program stored in the memory card 7 also includes the manufacturer identification code,
Version and the like are recorded.

【0020】あるいは、主制御部1に通信端末8を設
け、管理センターにある通信端末9を介して管理コンピ
ュータ10から適合する制御プログラムを読み込むよう
にしてもよい。なお、その場合の通信は、公衆電話回線
を通して行ってもよいし、無線により行ってもよい。そ
して、主制御部1は、新たな端末制御部が接続された場
合、まず、自己内部のメモリ1A内を探して適合する制
御プログラムがあるか否かをみて、そこになければ、次
はメモリカード7の内部を探し、そこにもなければ、通
信端末8,9を介して管理コンピュータ10から取得す
るというように、自動的に取得先を切り換える。そのよ
うにすれば、端末制御部の接続と連動して、その後の制
御プログラムを自動的に探し出し、自動的に書き換える
ことができるので、プログラム書換の作業ミスがなくな
る。
Alternatively, a communication terminal 8 may be provided in the main control unit 1, and a suitable control program may be read from the management computer 10 via the communication terminal 9 in the management center. The communication in that case may be performed through a public telephone line or may be performed wirelessly. When a new terminal control unit is connected, the main control unit 1 first searches the internal memory 1A to see if there is a suitable control program. The inside of the card 7 is searched, and if it is not there, the acquisition destination is automatically switched such that the card 7 is acquired from the management computer 10 via the communication terminals 8 and 9. By doing so, the subsequent control program can be automatically searched for and automatically rewritten in conjunction with the connection of the terminal control unit, so that there is no mistake in rewriting the program.

【0021】また、制御プログラムの書き換えは、制御
プログラム全体を書き換えるようにしてもよいし、必要
な部分だけを書き換えるようにしてもよい。制御プログ
ラム全体を書き換える場合は、図2に示すように、前記
メーカー識別コード,バージョン等を判別してプログラ
ムの書き換え処理等を行うためのブートプログラムを格
納したエリア以外の、制御プログラムを格納したエリア
全体を書き換える。
The rewriting of the control program may be performed by rewriting the entire control program or only necessary parts. When the entire control program is rewritten, as shown in FIG. 2, an area storing a control program other than an area storing a boot program for determining the maker identification code, version and the like and performing a program rewriting process or the like. Rewrite the whole.

【0022】一方、全体の制御プログラムの内、交換し
たり、新設したりした端末制御部に対応する部分だけを
書き換える場合は、メモリのプログラム格納部を、機能
別プログラムエリアと拡張プログラムエリアとに分けて
予め規定しておく。すなわち、図3に示すように、前記
ブートプログラムと制御プログラムの内の全体的な処理
を行うための部分とを含む全体プログラムをどのエリア
に格納し、端末制御部2,3,4を制御するプログラム
をそれぞれどのエリアに格納し、将来機能を拡張する場
合は、そのための新しい端末制御部を制御する拡張プロ
グラムをどのエリアに格納するかを予め規定しておき、
それらのエリア単位で制御プログラムを部分的に入れ換
えるようにする。
On the other hand, when rewriting only the part corresponding to the replaced or newly installed terminal control part of the entire control program, the program storage part of the memory is divided into the function-specific program area and the extended program area. Separately define in advance. That is, as shown in FIG. 3, the whole program including the boot program and the part for performing the whole process in the control program is stored in which area to control the terminal control units 2, 3, and 4. In which area each program is stored, and in the case where functions are to be expanded in the future, it is specified in advance in which area an expansion program for controlling a new terminal control unit is to be stored,
The control program is partially replaced in units of those areas.

【0023】そして、例えば、端末制御部2を新しいも
のに取り替えた場合は、端末制御部2用の制御プログラ
ムを格納しているエリア全体を新しいプログラムに書き
換える。また、機能を拡張するための新しい端末制御部
を新設した場合は、拡張用プログラムエリアに新設した
端末制御部の制御プログラムを書き込む。
For example, when the terminal control unit 2 is replaced with a new one, the entire area storing the control program for the terminal control unit 2 is rewritten with the new program. When a new terminal control unit for expanding functions is newly provided, the control program of the newly installed terminal control unit is written in the extension program area.

【0024】そして、全体プログラムから分岐命令によ
り適宜各端末制御部制御プログラムへ分岐させて、全体
の制御を実行する。その際、拡張プログラムについて
は、拡張プログラムがない場合もあるので、管理テーブ
ルのような分岐判定手段を用意し、それにより分岐させ
るか否かを指示するようにする。
Then, the entire program is appropriately branched to each terminal control unit control program by a branch instruction, and the entire control is executed. At this time, there is a case where there is no extension program for the extension program. Therefore, a branch determination unit such as a management table is prepared, and thereby, it is instructed whether or not to branch.

【0025】また、新しく取り付ける端末制御部内部に
その端末制御部用の主制御部制御プログラムを格納して
おき、その端末制御部を接続した時、該端末制御部に格
納しておいた制御プログラムを主制御部に送信するよう
にしてもよい。そのようにすれば、主制御部1のメモリ
1Aやメモリカード7や管理コンピュータ10に該当プ
ログラムを蓄積しておく必要がなくなって、管理が容易
になる。
A main control unit control program for the terminal control unit is stored in the newly installed terminal control unit. When the terminal control unit is connected, the control program stored in the terminal control unit is stored. May be transmitted to the main control unit. By doing so, there is no need to store the program in the memory 1A of the main control unit 1, the memory card 7, or the management computer 10, and management becomes easy.

【0026】ところで、上述した各プログラムは、機械
語で格納しておけば効率がよいが、プログラムを機械語
で格納しておくと、何らかの事情で主制御部1のマイコ
ンが別のマイコンに取り替えられると、新しいマイコン
用の機械語プログラムに書き換える必要が生じ、非常に
手間がかかる。そこで、各制御プログラムを中間言語の
形で格納し、主制御部には、図4に示すように、中間言
語の形の制御プログラムを主制御部マイコン用の機械語
に変換する中間言語解釈プログラムを内蔵させる。
By the way, it is efficient to store each program described above in a machine language, but if the program is stored in a machine language, the microcomputer of the main control unit 1 is replaced by another microcomputer for some reason. Then, it becomes necessary to rewrite a machine language program for a new microcomputer, which is very troublesome. Therefore, each control program is stored in the form of an intermediate language, and the main control unit stores an intermediate language interpretation program for converting the control program in the intermediate language into a machine language for the microcomputer of the main control unit as shown in FIG. Built-in.

【0027】そのようにすれば、主制御部1のマイコン
が別のマイコンに取り替えられても、各端末制御部の制
御プログラムは、そのまま使えるようになる。
By doing so, even if the microcomputer of the main control unit 1 is replaced with another microcomputer, the control program of each terminal control unit can be used as it is.

【0028】なお、上記実施形態では、主制御部1の制
御プログラムは、EPROM,フラッシュメモリ等より
なるメモリ1Aに格納し、その状態で処理を実行させる
ようにしたが、制御プログラムを2次記憶装置としてフ
ラッシュメモリ等に一旦格納し、その後、SRAM又は
DRAMに展開してから実行させるようにしてもよい。
そのようにすれば、処理スピードが向上するとともに、
各端末制御部に対応する制御プログラムの格納番地を自
由に決められるようになる。
In the above-described embodiment, the control program of the main control unit 1 is stored in the memory 1A such as an EPROM, a flash memory, and the like, and the process is executed in that state. The device may be temporarily stored in a flash memory or the like, and then may be loaded into an SRAM or a DRAM and then executed.
By doing so, the processing speed will be improved,
The storage address of the control program corresponding to each terminal control unit can be freely determined.

【0029】[0029]

【発明の効果】本発明は、以上説明したように構成され
ているので、次に記載するような効果を奏する。すなわ
ち、請求項1に記載の自動販売機制御装置は、各端末制
御部に、それぞれの製造元のメーカー識別コードとそれ
ぞれに対応する制御プログラムのバージョンとを保持さ
せ、主制御部との最初の通信において、メーカー識別コ
ードとバージョンとを主制御部に送信し、主制御部は、
各端末制御部から受信したメーカー識別コードとバージ
ョンとに基づいて、接続されている端末制御部に対応し
た制御プログラムを取得するようにした。その結果、端
末制御部を交換したり新設した場合に、主制御部の制御
プログラムを自動的に更新できるようになって、作業の
手間を軽減できるとともに、作業ミスも防止できる。
Since the present invention is configured as described above, it has the following effects. That is, the vending machine control device according to the first aspect causes each terminal control unit to hold a manufacturer identification code of each manufacturer and a version of a control program corresponding to each manufacturer, and perform initial communication with the main control unit. In, the manufacturer identification code and the version are transmitted to the main control unit, and the main control unit
A control program corresponding to the connected terminal control unit is obtained based on the manufacturer identification code and the version received from each terminal control unit. As a result, when the terminal control unit is replaced or newly installed, the control program of the main control unit can be automatically updated, so that work can be reduced and a work error can be prevented.

【0030】そして、請求項2に記載の自動販売機制御
装置は、前記主制御部が、前記メーカー識別コードとバ
ージョンとに基づいて、主制御部内に設けられたRO
M,拡張スロットに差し込まれたメモリカード,通信可
能な外部記憶媒体の内部を順次検索し、それらの内のい
ずれかから適合する制御プログラムを取得するようにし
た。その結果、端末制御部の接続と連動して、その後の
制御プログラムを自動的に探し出し、自動的に書き換え
ることができる。
According to a second aspect of the present invention, there is provided a vending machine control device, wherein the main control unit includes an RO provided in the main control unit based on the maker identification code and the version.
M, the inside of the memory card inserted into the expansion slot, and the inside of the communicable external storage medium are sequentially searched, and a suitable control program is obtained from any of them. As a result, in conjunction with the connection of the terminal control unit, a subsequent control program can be automatically searched for and automatically rewritten.

【0031】また、請求項3に記載の自動販売機制御装
置は、前記主制御部が、プログラム格納部に、機能別プ
ログラムエリア,拡張プログラムエリアを規定し、それ
らのエリア単位で制御プログラムを部分的に書き換える
ようにしたので、書き換えるデータ量が少なくなって書
き換え作業が効率的になる。
According to a third aspect of the present invention, in the vending machine control device, the main control unit defines a function-specific program area and an extended program area in a program storage unit, and stores a control program in units of those areas. Since the rewriting is performed in an efficient manner, the amount of data to be rewritten is reduced, and the rewriting operation becomes more efficient.

【0032】そしてまた、請求項4に記載の自動販売機
制御装置は、端末制御部内部に、該端末制御部を制御す
るための主制御部の制御プログラムを格納しておき、主
制御部は、端末制御部が組み込まれた際に、該端末制御
部から制御プログラムを取得するようにしたので、主制
御部のメモリやメモリカードや管理コンピュータに該当
プログラムを蓄積しておく必要がなくなって、管理が容
易になる。
Further, in the vending machine control device according to the fourth aspect, a control program of a main control unit for controlling the terminal control unit is stored in the terminal control unit, and the main control unit is When the terminal control unit is incorporated, the control program is obtained from the terminal control unit, so that the program need not be stored in the memory, the memory card, or the management computer of the main control unit, Management becomes easier.

【0033】さらに、請求項5に記載の自動販売機制御
装置は、前記端末制御部に、中間言語の形で前記制御プ
ログラムを格納し、主制御部には、該中間言語の形の制
御プログラムを主制御部用の機械語に変換する中間言語
解釈プログラムを内蔵させたので、主制御部のマイコン
が別のマイコンに取り替えられても、各端末制御部の制
御プログラムは、そのまま使えるようになる。
The vending machine control device according to claim 5, wherein the terminal control unit stores the control program in the form of an intermediate language, and the main control unit stores the control program in the form of the intermediate language. Has a built-in intermediate language interpretation program that converts the language into machine language for the main control unit, so that even if the main control unit microcomputer is replaced with another microcomputer, the control program of each terminal control unit can be used as it is .

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

【図1】本発明の自動販売機制御装置のシステム概略図
である。
FIG. 1 is a system schematic diagram of a vending machine control device of the present invention.

【図2】制御プログラムのメモリへの格納状態を示す図
である。
FIG. 2 is a diagram showing a storage state of a control program in a memory.

【図3】制御プログラムを部分的に変更する場合の制御
プログラムのメモリへの格納状態を示す図である。
FIG. 3 is a diagram illustrating a storage state of a control program in a memory when the control program is partially changed.

【図4】中間コード解釈プログラムを含む制御プログラ
ムのメモリへの格納状態を示す図である。
FIG. 4 is a diagram showing a storage state of a control program including an intermediate code interpretation program in a memory.

【符号の説明】[Explanation of symbols]

1…主制御部 2〜4…端末制御部 5…拡張端末制御部 6…拡張スロット 7…メモリカード 8,9…通信端末 10…管理コンピュータ DESCRIPTION OF SYMBOLS 1 ... Main control part 2-4 ... Terminal control part 5 ... Extension terminal control part 6 ... Expansion slot 7 ... Memory card 8, 9 ... Communication terminal 10 ... Management computer

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 自動販売機各部をそれぞれ個別に制御す
る複数の端末制御部と、それら端末制御部との間で通信
を行いながらそれらを統括して制御する主制御部とを有
する自動販売機制御装置であって、前記各端末制御部
は、それぞれの製造元のメーカー識別コードとそれぞれ
に対応する制御プログラムのバージョンとを保持し、主
制御部との最初の通信において、前記メーカー識別コー
ドとバージョンとを主制御部に送信し、主制御部は、各
端末制御部から受信したメーカー識別コードとバージョ
ンとに基づいて、接続されている端末制御部に対応した
制御プログラムを取得するようにしたことを特徴とする
自動販売機制御装置。
1. A vending machine having a plurality of terminal control units for individually controlling each unit of a vending machine, and a main control unit for integrally controlling the terminal control units while communicating with the terminal control units. A control device, wherein each of the terminal control units holds a maker identification code of each maker and a version of a control program corresponding to each maker, and in the first communication with the main control unit, the maker identification code and the version To the main control unit, and the main control unit acquires a control program corresponding to the connected terminal control unit based on the manufacturer identification code and the version received from each terminal control unit. Vending machine control device characterized by the above-mentioned.
【請求項2】 前記主制御部は、前記メーカー識別コー
ドとバージョンとに基づいて、主制御部内に設けられた
ROM,拡張スロットに差し込まれたメモリカード,通
信可能な外部記憶媒体の内部を順次検索し、それらの内
のいずれかから適合する制御プログラムを取得すること
を特徴とする請求項1記載の自動販売機制御装置。
2. The main control section sequentially stores a ROM provided in the main control section, a memory card inserted into an expansion slot, and an internal communicable external storage medium based on the maker identification code and version. 2. The vending machine control device according to claim 1, wherein the vending machine control device retrieves and obtains a suitable control program from any one of them.
【請求項3】 前記主制御部は、プログラム格納部に、
機能別プログラムエリア,拡張プログラムエリアを規定
し、それらのエリア単位で制御プログラムを部分的に書
き換えることを特徴とする請求項1又は2記載の自動販
売機制御装置。
3. The main control unit includes: a program storage unit;
3. The vending machine control device according to claim 1, wherein a program area for each function and an extended program area are defined, and the control program is partially rewritten for each area.
【請求項4】 端末制御部内部に、該端末制御部を制御
するための主制御部の制御プログラムを格納しておき、
主制御部は、端末制御部が組み込まれた際に、該端末制
御部から制御プログラムを取得するようにしたことを特
徴とする請求項1又は3記載の自動販売機制御装置。
4. A control program of a main control unit for controlling the terminal control unit is stored in the terminal control unit,
The vending machine control device according to claim 1, wherein the main control unit acquires a control program from the terminal control unit when the terminal control unit is installed.
【請求項5】 前記端末制御部に、中間言語の形で前記
制御プログラムを格納し、主制御部には、該中間言語の
形の制御プログラムを主制御部用の機械語に変換する中
間言語解釈プログラムを内蔵させたことを特徴とする請
求項4記載の自動販売機制御装置。
5. An intermediate language for storing the control program in the form of an intermediate language in the terminal control unit, and converting the control program in the form of the intermediate language into a machine language for the main control unit in the main control unit. 5. The vending machine control device according to claim 4, further comprising an interpretation program.
JP26944299A 1999-09-22 1999-09-22 Vending machine controller Expired - Fee Related JP3692857B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26944299A JP3692857B2 (en) 1999-09-22 1999-09-22 Vending machine controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26944299A JP3692857B2 (en) 1999-09-22 1999-09-22 Vending machine controller

Publications (2)

Publication Number Publication Date
JP2001093030A true JP2001093030A (en) 2001-04-06
JP3692857B2 JP3692857B2 (en) 2005-09-07

Family

ID=17472502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26944299A Expired - Fee Related JP3692857B2 (en) 1999-09-22 1999-09-22 Vending machine controller

Country Status (1)

Country Link
JP (1) JP3692857B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003016508A (en) * 2001-07-02 2003-01-17 Sanyo Electric Co Ltd Controller of vending machine
JP2007004731A (en) * 2005-06-27 2007-01-11 Fuji Electric Retail Systems Co Ltd Automatic vending machine, automatic vending machine control device and automatic vending machine control system
JP2010123048A (en) * 2008-11-21 2010-06-03 Sanden Corp Reader/writer for information storage medium
WO2020195071A1 (en) * 2019-03-27 2020-10-01 株式会社日立ハイテク Automatic analysis device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003016508A (en) * 2001-07-02 2003-01-17 Sanyo Electric Co Ltd Controller of vending machine
JP2007004731A (en) * 2005-06-27 2007-01-11 Fuji Electric Retail Systems Co Ltd Automatic vending machine, automatic vending machine control device and automatic vending machine control system
JP4618015B2 (en) * 2005-06-27 2011-01-26 富士電機リテイルシステムズ株式会社 Vending machine, vending machine management device and vending machine management system
JP2010123048A (en) * 2008-11-21 2010-06-03 Sanden Corp Reader/writer for information storage medium
WO2020195071A1 (en) * 2019-03-27 2020-10-01 株式会社日立ハイテク Automatic analysis device
JPWO2020195071A1 (en) * 2019-03-27 2021-10-14 株式会社日立ハイテク Automatic analyzer
CN113508303A (en) * 2019-03-27 2021-10-15 株式会社日立高新技术 Automatic analyzer
JP7105529B2 (en) 2019-03-27 2022-07-25 株式会社日立ハイテク automatic analyzer

Also Published As

Publication number Publication date
JP3692857B2 (en) 2005-09-07

Similar Documents

Publication Publication Date Title
KR100617669B1 (en) System and method for independently downloading features into a set of storage locations in a wireless communication device
US6199120B1 (en) IC card reading/writing apparatus and method for allowing use of multiple vendors
US20080104768A1 (en) System of Washing Machine and Control Method Thereof
JP2016541002A (en) Memory chip, imaging cartridge, method of changing serial number, and method of using memory chip
CN100573714C (en) Rewritable nonvolatile memory, electronic equipment and rewrite method
US6498965B2 (en) System for controlling vending machine
JP2001093030A (en) Automatic vending machine controller
JP3385844B2 (en) vending machine
JP3681323B2 (en) Memory card
EP1220149A1 (en) Entertainment device, data processing device and portable storage device
US20050246513A1 (en) Electronic control device and data adjustment method
US6741910B1 (en) Control device for automatic vending machine
JP3718564B2 (en) IC card
US6678753B1 (en) IC card reading/writing apparatus and method for allowing use of multiple vendors
JP2002130782A (en) Air conditioner and remote controller
US6496753B1 (en) Control system for automatic vending machine
JPH09128605A (en) Vending machine main box, portable terminal and method for rewriting vending machine control program using
CN1145118C (en) Control device of automatic vendor
JP3763180B2 (en) Vending machine program rewriting device
KR100578642B1 (en) Apparatus and method for updating flash epirom on a CPU without a bootstrap loader
KR20010053983A (en) Method for down loading file to mobile station from a personal computer
JP2978008B2 (en) Memory management method
JP2002099420A (en) Control apparatus of program identification
KR20230072185A (en) Upgradable electronic devices, server that upgrades functions of electronic devices, and a method that upgrades functions of electronic devices
JPH0589325A (en) Automatic vending machine provided with program changing function

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050405

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050531

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050613

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080701

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090701

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090701

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100701

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110701

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110701

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120701

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120701

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120701

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130701

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130701

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130701

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees