JPH11120423A - Controller for vending machine - Google Patents

Controller for vending machine

Info

Publication number
JPH11120423A
JPH11120423A JP9288392A JP28839297A JPH11120423A JP H11120423 A JPH11120423 A JP H11120423A JP 9288392 A JP9288392 A JP 9288392A JP 28839297 A JP28839297 A JP 28839297A JP H11120423 A JPH11120423 A JP H11120423A
Authority
JP
Japan
Prior art keywords
data
control unit
terminal control
group
address
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
JP9288392A
Other languages
Japanese (ja)
Inventor
Yasuhiko Miyata
泰彦 宮田
Seiji Ebukuro
清治 江袋
Toshitake Maruyama
敏武 丸山
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 JP9288392A priority Critical patent/JPH11120423A/en
Publication of JPH11120423A publication Critical patent/JPH11120423A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PROBLEM TO BE SOLVED: To minimize the waste of communication by transmitting data only to a necessary terminal control part group when plural terminal control part groups which are functionally made different are present. SOLUTION: A main control part 1 controls plural terminal control parts 2, 3,... for individually controlling each part of a vending machine through a communication line. At that time, the plural terminal control parts 2, 3,... are divided into plural groups which are functionally made different such as a display control part and a sales control part or the like, and addresses different for each group are set. Then, when the main control part 1 transmits data to the terminal control parts, the destinations of transmission can be decided by group units by using the address of each group.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、商品選択スイッチ
や販売可ランプ,売切ランプ、あるいは、商品搬出ソレ
ノイド,売切スイッチ等を商品毎に一つのユニットに
し、各ユニット毎に端末制御部で制御し、そのような端
末制御部を主制御部で統括制御するようにした自動販売
機の制御装置に関するものである。
The present invention relates to a product selection switch, a sellable lamp, a sold-out lamp, a product discharge solenoid, a sold-out switch, etc., which are made into one unit for each product, and a terminal control unit is provided for each unit. The present invention relates to a vending machine control device that controls and controls such a terminal control unit by a main control unit.

【0002】[0002]

【従来の技術】従来の一般的な自動販売機の制御装置で
は、自動販売機の内部を表示機構,販売機構,硬貨処理
機構等の部分に分け、それらを各部分毎に端末制御部で
制御し、それら端末制御部を主制御部で統括制御するよ
うにしていた。しかしながら、そのような自動販売機の
制御装置では、1台の自動販売機で販売する商品の品数
が多くなると、例えば、表示制御部から商品選択ボタン
や販売可ランプ,売切ランプ等へ接続するハーネスの本
数が数百本にもなってしまい、配線作業に手間がかかる
上、コスト高になるということが問題になる。
2. Description of the Related Art In a conventional general vending machine control device, the inside of a vending machine is divided into a display mechanism, a vending mechanism, a coin processing mechanism, and the like, and these are controlled by a terminal control unit for each part. However, the terminal control units are generally controlled by a main control unit. However, in such a vending machine control device, when the number of commodities sold by one vending machine increases, for example, the display controller connects to a commodity selection button, a sellable lamp, a sold-out lamp, and the like. The problem is that the number of harnesses is increased to several hundreds, so that wiring work is troublesome and costs are increased.

【0003】そこで、表示機構を商品毎に商品選択スイ
ッチ,販売可ランプ,売切ランプでユニット化し、それ
らユニット毎に端末制御部を設け、それら端末制御部と
主制御部との間でシリアル通信を行って制御を行うこと
により、ハーネス数を削減した自動販売機の制御装置が
提案されている。そのような自動販売機の制御装置で
は、端末制御部の数が数十にもなる。
Therefore, the display mechanism is unitized by a product selection switch, a sellable lamp, and a sold-out lamp for each product, and a terminal control unit is provided for each unit, and serial communication is performed between the terminal control unit and the main control unit. A vending machine control device has been proposed in which the number of harnesses is reduced by performing the control. In such a vending machine control device, the number of terminal control units is several tens.

【0004】そして、そのように端末制御部の数が多い
自動販売機の制御装置において、主制御部と端末制御部
との間で行う通信は、ポーリング方式で行うのでは、時
間がかかり過ぎる。そこで、主制御部と端末制御部との
間で、一斉同報を使って通信を行うことが提案されてい
る。
In a vending machine control device having such a large number of terminal control units, the communication between the main control unit and the terminal control units takes too much time if performed by a polling method. Therefore, it has been proposed to perform communication using simultaneous broadcast between the main control unit and the terminal control unit.

【0005】図8は、従来の自動販売機の制御装置の構
成図である。主制御部1と端末制御部2,3,・・・と
の間は、シリアル伝送路で接続されており、そのシリア
ル伝送路は、同期用のクロックを送信するクロック線C
Lと、種々のデータの送信および受信用の通信線A,B
とからなる。
FIG. 8 is a block diagram of a control device for a conventional vending machine. The main control unit 1 and the terminal control units 2, 3,... Are connected by a serial transmission line, and the serial transmission line is connected to a clock line C for transmitting a clock for synchronization.
L and communication lines A and B for transmitting and receiving various data.
Consists of

【0006】主制御部1は、一斉同報により、例えば、
各端末制御部2,3,・・・に対して販売可ランプ,売
切ランプの表示指令データを送信する場合、各端末制御
部2,3,・・・に対して、まず、一斉同報用のアドレ
スを送信する。各端末制御部2,3,・・・は、それを
受信することにより、全ての端末制御部がデータ受信が
可能な状態になる。
The main control unit 1 broadcasts, for example,
When transmitting display command data of a sellable lamp and a sold-out lamp to each terminal control unit 2, 3,..., First, broadcast to each terminal control unit 2, 3,. Send the address for When each of the terminal control units 2, 3,... Receives the data, all the terminal control units can receive data.

【0007】そこで、主制御部1は、全ての端末制御部
2,3,・・・に対して、図9に示すようなフォーマッ
トで表示指令データを送信する。図9において、端末制
御部2の“1”,“0”は、それぞれ、販売可ランプと
売切ランプの点灯と消灯を示す1ビットデータであり、
端末制御部3の“0”,“1”も同様に、販売可ランプ
と売切ランプの消灯と点灯を示している。そのように、
表示指令データは、各ユニットの販売可ランプと売切ラ
ンプの点灯か消灯かを示す1ビットデータの列になって
おり、その送信タイミングは、クロック線CLを介して
送出しているクロックに基づいて決定される。すなわ
ち、1クロック目で、1番目のユニットの販売可ランプ
の点灯データ“1”を送信用の通信線Aに出力し、2ク
ロック目で、1番目のユニットの売切ランプの消灯デー
タ“1”を通信線Aに出力するというように、一連のデ
ータを出力していく。
Therefore, the main controller 1 transmits display command data to all terminal controllers 2, 3,... In a format as shown in FIG. In FIG. 9, "1" and "0" of the terminal control unit 2 are 1-bit data indicating turning on and off of the sellable lamp and the sold-out lamp, respectively.
Similarly, “0” and “1” of the terminal control unit 3 indicate that the sellable lamp and the sold-out lamp are turned off and on, respectively. so,
The display command data is a sequence of 1-bit data indicating whether the sellable lamp and the sold-out lamp of each unit are on or off, and the transmission timing is based on the clock transmitted via the clock line CL. Is determined. That is, at the first clock, the lighting data “1” of the sellable lamp of the first unit is output to the transmission communication line A, and at the second clock, the light-out data “1” of the sold-out lamp of the first unit is output. Is output to the communication line A, and a series of data is output.

【0008】一方、端末制御部では、各々に記憶されて
いる各端末制御部固有のアドレスデータに基づき、シリ
アルにて送信されてくる、図9に示すようなフォーマッ
トの表示指令データの中から何ビット目のデータを取り
込むかが決められており、それに従って、所定のデータ
を取り込む。
[0008] On the other hand, the terminal control section determines which of the display command data in the format as shown in FIG. 9 is transmitted serially based on the address data unique to each terminal control section stored therein. It is determined whether to take in the data of the bit and predetermined data is taken in accordance with that.

【0009】このようにすれば、主制御部1から各端末
制御部2,3,・・・に、一斉同報により、効率的なデ
ータ送信が可能になり、ポーリング方式に比べて交信時
間の短縮が図れる。
In this way, efficient data transmission can be performed by simultaneous broadcast from the main control unit 1 to each of the terminal control units 2, 3,..., And the communication time can be reduced as compared with the polling method. It can be shortened.

【0010】なお、このような自動販売機の制御装置に
関連する従来の文献としては、例えば、特許第 2581813
号明細書(G07F 9/00) がある。
Conventional documents relating to such a vending machine control device include, for example, Japanese Patent No. 2581813.
(G07F 9/00).

【0011】[0011]

【発明が解決しようとする課題】しかしながら、上記、
従来の自動販売機の制御装置では、各端末制御部がそれ
ぞれの固有のアドレスと、全端末制御部を指定する一斉
同報用のアドレスとの2つしか有していないため、主制
御部1は、端末制御部にデータを送信する場合、送信す
べき端末制御部を1つ指定するか、全端末制御部を指定
するかの2通りの方法しか採れない。したがって、主制
御部1の制御対象となる端末制御部として、全ての端末
制御部が同じ機能しかない場合はよいが、例えば、表示
機構系の端末制御部グループと販売機構系の端末制御部
グループというように機能的に異なった複数の端末制御
部グループが存在する場合は、通信の無駄が多くなると
いう問題点があった。
SUMMARY OF THE INVENTION However,
In the conventional vending machine control device, each terminal control unit has only two addresses, that is, a unique address and a broadcast address for specifying all terminal control units. When transmitting data to a terminal control unit, there are only two methods of specifying one terminal control unit to be transmitted or specifying all terminal control units. Therefore, as a terminal control unit to be controlled by the main control unit 1, it is preferable that all terminal control units have the same function. For example, a terminal control unit group of a display mechanism system and a terminal control unit group of a sales mechanism system When a plurality of terminal control unit groups having different functions exist, communication waste is increased.

【0012】すなわち、端末制御部として、表示機構系
の端末制御部グループと販売機構系の端末制御部グルー
プが存在する場合、主制御部1が各端末制御部に一斉同
報によりデータを送信する場合のデータには、当然、表
示機構系の端末制御部に対応するビットと販売機構系の
端末制御部に対応するビットの両方が含まれることにな
る。したがって、例えば、一斉同報により、表示機構系
の各端末制御部に対して販売可ランプ,売切ランプの表
示指令データを送信する場合でも、本来、そのデータを
送信する必要のない販売機構系の端末制御部に対するビ
ットを含むデータを送信することになり、通信に無駄が
生じ、その分通信の効率が低下することになる。
That is, when there are a terminal control unit group of a display mechanism and a terminal control unit group of a sales mechanism as terminal control units, the main control unit 1 transmits data to each terminal control unit by simultaneous broadcasting. Naturally, the data in the case includes both the bit corresponding to the terminal control unit of the display mechanism and the bit corresponding to the terminal control unit of the sales mechanism. Therefore, for example, even when the display command data of the sellable lamp and the sold-out lamp is transmitted to each terminal control unit of the display mechanism system by simultaneous broadcast, the sales mechanism system which does not need to transmit the data is not necessary. In this case, data including bits for the terminal control unit is transmitted, and communication is wasted, and the communication efficiency is reduced accordingly.

【0013】本発明は、そのような問題点を解決し、機
能的に異なった複数の端末制御部グループが存在する場
合に、必要な端末制御部のみにデータを送信するように
して、通信の無駄を最小限にすることを目的とするもの
である。
The present invention solves such a problem, and when there are a plurality of functionally different terminal control unit groups, data is transmitted only to necessary terminal control units, thereby enabling communication. The purpose is to minimize waste.

【0014】[0014]

【課題を解決するための手段】前記課題を解決するた
め、請求項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 the vending machine; A vending machine control device comprising a main control unit that controls and controls a control unit through a communication line, wherein the plurality of terminal control units are divided into a plurality of groups, and different addresses are assigned to the respective groups. The data transmission destination can be specified in a group unit. With this configuration, data can be transmitted only to a specific terminal control unit group among a plurality of terminal control unit groups, and communication waste can be reduced.

【0015】また、請求項2記載の自動販売機の制御装
置は、自動販売機の各部を個別に制御する複数の端末制
御部と、前記複数の端末制御部を通信線を通して統括し
て制御する主制御部とを具えた自動販売機の制御装置で
あって、前記複数の端末制御部を複数のグループに区分
して、グループ毎に異なるフラグを設定し、該フラグを
用いてデータの送信先をグループ単位で指定できるよう
にしたことを特徴とする。このようにしても、複数の端
末制御部グループの内、特定の端末制御部グループのみ
にデータを送信できるようになる。
According to a second aspect of the present invention, there is provided a vending machine control device, wherein a plurality of terminal control units for individually controlling each unit of the vending machine, and the plurality of terminal control units are collectively controlled through a communication line. A vending machine control device comprising a main control unit, wherein the plurality of terminal control units are divided into a plurality of groups, a different flag is set for each group, and a data transmission destination is set using the flag. Can be specified in a group unit. Even in this case, data can be transmitted only to a specific terminal control unit group among a plurality of terminal control unit groups.

【0016】そしてまた、請求項3記載の自動販売機の
制御装置は、端末制御部を機能的に異なった複数のグル
ープに区分したことを特徴とする。このようにすれば、
複数の端末制御部グループの内、ある特定の機能を有す
る端末制御部グループに対して一斉にデータを送信でき
るようになり、通信の無駄を最小限にすることができ
る。
Further, a control device for a vending machine according to a third aspect is characterized in that the terminal control section is divided into a plurality of functionally different groups. If you do this,
Data can be simultaneously transmitted to a terminal control unit group having a specific function among a plurality of terminal control unit groups, and communication waste can be minimized.

【0017】さらに、請求項4記載の自動販売機の制御
装置は、自動販売機の各部を個別に制御する複数の端末
制御部と、前記複数の端末制御部を通信線を通して統括
して制御する主制御部とを具えた自動販売機の制御装置
であって、前記主制御部は、データの送信先の最初のア
ドレスと最後のアドレスを指定し、前記端末制御部は、
自己のアドレスが前記最初のアドレスと最後のアドレス
が指定した範囲内にあるとき、データを受け取るように
したことを特徴とする。このようにすれば、グループ毎
にアドレスやフラグ等を付したりすることなく、必要な
端末制御部グループのみにデータを送信できるようにな
る。
Further, the control device for a vending machine according to a fourth aspect of the present invention controls a plurality of terminal control units for individually controlling each unit of the vending machine, and integrally controls the plurality of terminal control units through a communication line. A vending machine control device including a main control unit, wherein the main control unit specifies a first address and a last address of a data transmission destination, and the terminal control unit includes:
Data is received when its own address is within the specified range of the first address and the last address. With this configuration, data can be transmitted only to the necessary terminal control unit group without adding an address, a flag, or the like to each group.

【0018】[0018]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。図4は、自動販売機の制御
装置のブロック図である。図4において、10,20
は、それぞれ特定の商品収納コラムに対応させてユニッ
ト化した表示ユニット、11はその表示ユニットを制御
する表示制御部、12は販売可表示用LED、13は売
切表示用LED、14は商品選択スイッチ、30,40
は、それぞれ特定の商品収納コラムに対応させてユニッ
ト化した販売ユニット、31はその販売ユニットを制御
する販売制御部、32は商品搬出ソレノイドをオンオフ
させるリレー、33は売切スイッチである。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 4 is a block diagram of the control device of the vending machine. In FIG. 4, 10, 20
Is a display unit unitized in correspondence with a specific product storage column, 11 is a display control unit for controlling the display unit, 12 is a sellable display LED, 13 is a sold-out display LED, and 14 is a product selection. Switch, 30, 40
Is a sales unit unitized in correspondence with a specific product storage column, 31 is a sales control unit for controlling the sales unit, 32 is a relay for turning on and off a product discharge solenoid, and 33 is a sold-out switch.

【0019】図示はしないが、表示ユニット20は、表
示ユニット10と同様に、表示制御部、販売可表示用L
ED、売切表示用LED、商品選択スイッチを有してお
り、販売ユニット40は、販売ユニット30と同様に、
販売制御部、リレー、売切スイッチを有している。表示
制御部11,販売制御部31は、主制御部1に接続され
ていて、端末制御部として、主制御部1により制御され
る。例えば、32コラムの自動販売機では、表示制御
部,販売制御部は、それぞれ32個ずつ必要になり、端
末制御部の数は合計64個以上になる。
Although not shown, the display unit 20 is similar to the display unit 10 and includes a display control unit and a displayable L for sale.
The sales unit 40 has an ED, a sold-out display LED, and a product selection switch.
It has a sales control unit, a relay, and a sold-out switch. The display control unit 11 and the sales control unit 31 are connected to the main control unit 1 and are controlled by the main control unit 1 as terminal control units. For example, in a 32-column vending machine, 32 display control units and 32 sales control units are required, and the total number of terminal control units is 64 or more.

【0020】そのように多数ある端末制御部と通信する
のに、従来のもののようにポーリング方式で行うので
は、時間がかかり過ぎる。そこで、主制御部と端末制御
部との間で行う通信を一斉同報を使って行うわけである
が、本発明では、その際の通信の効率を向上させる。
It takes too much time to communicate with such a large number of terminal control units by using a polling method as in the prior art. Therefore, the communication performed between the main control unit and the terminal control unit is performed by using the simultaneous broadcast. In the present invention, the communication efficiency at that time is improved.

【0021】図1は、本発明の第1実施形態の機能ブロ
ック図である。この実施形態では、各端末制御部毎の個
別のアドレスに加えて、表示制御部と販売制御部のよう
に、機能的に異なった複数のグループに区分して、グル
ープ毎に異なるグループアドレスを付ける。そして、あ
る特定のグループに属する端末制御部のみ、例えば、表
示制御部のみにデータを送信する場合は、グループアド
レスデータ作成手段1Eで、表示制御部のグループアド
レスデータを作成する。そして、それと送信データ作成
手段1Aで作成したデータ本体とを合わせてグループ一
括送信データ1Cとして、交信手段1Bに送る。
FIG. 1 is a functional block diagram of the first embodiment of the present invention. In this embodiment, in addition to the individual address for each terminal control unit, the display control unit and the sales control unit are divided into a plurality of functionally different groups, and different group addresses are assigned to each group. . When data is transmitted only to a terminal control unit belonging to a certain specific group, for example, only to the display control unit, the group address data generation unit 1E generates the group address data of the display control unit. Then, the data and the data itself created by the transmission data creation unit 1A are sent to the communication unit 1B as group batch transmission data 1C.

【0022】また、主制御部1は、ある一つの端末制御
部のみにデータを送信する場合は、個別アドレスデータ
作成手段1Fで、送信すべき端末制御部のアドレスデー
タを作成する。そして、それと送信データ作成手段1A
で作成したデータ本体とを合わせて個別送信データ1D
として、交信手段1Bに送る。
When transmitting data to only one terminal control unit, the main control unit 1 creates address data of the terminal control unit to be transmitted by the individual address data creating means 1F. And the transmission data creation means 1A
Individual transmission data 1D together with the data body created in
To the communication means 1B.

【0023】グループ一括送信データ1C,個別送信デ
ータ1Dのデータフォーマットは、例えば、図5のよう
にする。すなわち、データの先頭を示す信号STXに続
けて、アドレスデータADを入れ、その後に送信すべき
データ本体DATAを入れる。そして、それらの後に、
データの終了を示す信号ETXとブロック検査文字BC
Cを入れる。
The data format of the group batch transmission data 1C and the individual transmission data 1D is, for example, as shown in FIG. That is, the address data AD is inserted after the signal STX indicating the head of the data, and thereafter the data body DATA to be transmitted is input. And after them,
Signal ETX indicating end of data and block check character BC
Insert C.

【0024】一方、主制御部1からこのような送信デー
タを送られた端末制御部では、交信手段2Aでそれを受
ける。そして、アドレス判定手段2Dにおいて、その中
からアドレスデータADを抽出し、それと、個別アドレ
ス記憶手段2Eに記憶させておいた個別アドレス、およ
び、グループアドレス記憶手段2Fに記憶させておいた
グループアドレスとを比較する。その結果、どちらかと
一致したら、送信データ抽出手段2Bで、その後に送ら
れてくるデータ本体を抽出する。そして、データ処理手
段2Cで、そのようにして抽出したデータに基づき所定
の制御を行う。
On the other hand, in the terminal control unit to which such transmission data is sent from the main control unit 1, it is received by the communication means 2A. Then, in the address determination means 2D, the address data AD is extracted therefrom, and the address data AD is extracted from the address data AD, the individual address stored in the individual address storage means 2E, and the group address stored in the group address storage means 2F. Compare. As a result, if any of them matches, the transmission data extraction means 2B extracts the data body transmitted thereafter. Then, the data processing means 2C performs predetermined control based on the data extracted in this manner.

【0025】第1実施形態では、このように、主制御部
1がグループアドレスを付して送信することにより、デ
ータの送信先をグループ単位で指定できるようにした。
その結果、機能的に異なった複数の端末制御部グループ
の内、必要な端末制御部グループのみにデータを送信で
きるようになり、通信の無駄を最小限にすることができ
る。
In the first embodiment, as described above, the main control unit 1 transmits a data with a group address, so that a data transmission destination can be specified for each group.
As a result, data can be transmitted only to a necessary terminal control unit group among a plurality of functionally different terminal control unit groups, and communication waste can be minimized.

【0026】図2は、本発明の第2実施形態の機能ブロ
ック図である。この実施形態では、複数の端末制御部
を、表示制御部と販売制御部のように、機能的に異なっ
た複数のグループに区分して、それぞれ、グループ毎に
異なるフラグを設定し、そのフラグを用いてデータの送
信先をグループ単位で指定できるようにする。そして、
ある特定のグループに属する端末制御部のみ、例えば、
表示制御部のみにデータを送信する場合は、グループフ
ラグ作成手段1Gで、表示制御部のグループフラグデー
タを作成し、さらに、個別アドレスデータとして“0”
を作成し、それらと、送信データ作成手段1Aで作成し
たデータとを合わせてグループ一括送信データ1Cとし
て、交信手段1Bに送る。
FIG. 2 is a functional block diagram of a second embodiment of the present invention. In this embodiment, the plurality of terminal control units are divided into a plurality of functionally different groups, such as a display control unit and a sales control unit, and different flags are set for each group. To specify the destination of data by group. And
Only terminal control units belonging to a certain group, for example,
When transmitting data only to the display control unit, the group flag creation unit 1G creates the group flag data of the display control unit, and further sets “0” as the individual address data.
, And the data created by the transmission data creation means 1A are sent to the communication means 1B as group batch transmission data 1C.

【0027】また、主制御部1は、ある一つの端末制御
部のみにデータを送信する場合は、個別アドレスデータ
作成手段1Hで、送信すべき端末制御部のアドレスデー
タを作成し、さらに、グループフラグデータとして
“0”を作成し、それらと、送信データ作成手段1Aで
作成したデータとを合わせて個別送信データ1Dとし
て、交信手段1Bに送る。
When data is transmitted to only one terminal control unit, the main control unit 1 creates address data of the terminal control unit to be transmitted by the individual address data creating means 1H. "0" is created as the flag data, and the flag data and the data created by the transmission data creation unit 1A are combined and sent to the communication unit 1B as individual transmission data 1D.

【0028】グループ一括送信データ1C,個別送信デ
ータ1Dのデータフォーマットは、例えば、図6(イ)
のようにする。すなわち、データの先頭を示す信号ST
Xに続けて、個別アドレスデータADとグループフラグ
FLGとを入れ、その後に、送信すべきデータ本体DA
TAを入れ、それらの後に、データの終了を示す信号E
TXとブロック検査文字BCCとを入れる。そして、特
定の端末制御部に対して送信する場合は、図6(ロ)に
示すように、その端末制御部の個別アドレスデータAD
を入れると共に、グループフラグデータに“0”を入れ
る。また、特定のグループに属する端末制御部に対して
送信する場合は、図6(ハ)に示すように、個別アドレ
スデータに“0”を入れると共に、そのグループに対応
するグループフラグFLGを入れる。グループフラグF
LGとしては、例えば、1番目のグループを“1”、2
番目のグループを“2”、3番目のグループを“3”と
いうように設定すればよい。
The data format of the group collective transmission data 1C and the individual transmission data 1D is, for example, as shown in FIG.
Like That is, a signal ST indicating the head of data
X, the individual address data AD and the group flag FLG are inserted, and thereafter, the data body DA to be transmitted is transmitted.
TA, followed by a signal E indicating the end of data.
TX and block check character BCC are inserted. Then, when transmitting to a specific terminal control unit, as shown in FIG. 6B, the individual address data AD of the terminal control unit is transmitted.
, And “0” is inserted into the group flag data. When transmitting to a terminal control unit belonging to a specific group, as shown in FIG. 6C, “0” is inserted in the individual address data and a group flag FLG corresponding to the group is inserted. Group flag F
As the LG, for example, the first group is “1”, 2
The third group may be set as "2", and the third group as "3".

【0029】一方、主制御部1からこのような送信デー
タを送られた端末制御部では、交信手段2Aでそれを受
信する。そして、一括交信判定手段2Gにおいて、受信
データの中から個別アドレスデータADとグループフラ
グFLGとを抽出し、個別アドレスデータADが“0”
になっている場合は、一括送信ということになるので、
グループフラグFLGと、グループフラグ記憶手段2J
に記憶させておいた自グループのグループフラグとを比
較する。その結果、一致したら、送信データ抽出手段2
Bで、その後に送られてくるデータ本体を抽出する。そ
して、データ処理手段2Cで、そのようにして抽出した
データに基づき所定の制御を行う。
On the other hand, in the terminal control unit to which such transmission data has been sent from the main control unit 1, the communication unit 2A receives it. Then, the collective communication determining means 2G extracts the individual address data AD and the group flag FLG from the received data, and sets the individual address data AD to "0".
If it is, it means batch sending,
Group flag FLG and group flag storage means 2J
Is compared with the group flag of the own group stored in. As a result, if they match, the transmission data extracting means 2
In B, the data body transmitted thereafter is extracted. Then, the data processing means 2C performs predetermined control based on the data extracted in this manner.

【0030】また、自アドレス判定手段2Hにおいて
も、受信データの中から個別アドレスデータADとグル
ープフラグFLGとを抽出し、グループフラグFLGが
“0”になっている場合は、個別送信ということになる
ので、個別アドレスADと、アドレス記憶手段2Kに記
憶させておいた自己のアドレスとを比較する。その結
果、一致したら、送信データ抽出手段2Bで、その後に
送られてくるデータ本体を抽出する。そして、データ処
理手段2Cで、そのようにして抽出したデータに基づき
所定の制御を行う。
Also, the own address determining means 2H extracts the individual address data AD and the group flag FLG from the received data. If the group flag FLG is "0", it is referred to as individual transmission. Therefore, the individual address AD is compared with its own address stored in the address storage unit 2K. As a result, if they match, the transmission data extracting means 2B extracts the data body transmitted thereafter. Then, the data processing means 2C performs predetermined control based on the data extracted in this manner.

【0031】第2実施形態では、このように、主制御部
1がグループフラグを付して送信することにより、デー
タの送信先をグループ単位で指定できるようにした。そ
の結果、機能的に異なった複数の端末制御部グループの
内、必要な端末制御部グループのみにデータを送信でき
るようになり、通信の無駄を最小限にすることができ
る。
In the second embodiment, as described above, the main control unit 1 attaches the group flag and transmits the data, so that the data transmission destination can be specified in the unit of a group. As a result, data can be transmitted only to a necessary terminal control unit group among a plurality of functionally different terminal control unit groups, and communication waste can be minimized.

【0032】図3は、本発明の第3実施形態の機能ブロ
ック図である。この実施形態では、複数の端末制御部
を、表示制御部と販売制御部のように、機能的に異なっ
た複数のグループに区分し、例えば、表示制御部のアド
レスを1〜30とし、販売制御部のアドレスを31〜6
0というように、グループ毎に順番にアドレスを設定す
る。そして、主制御部があるグループに属する端末制御
部全体にデータを送信するとき、そのグループの中の最
初のアドレスと最後のアドレスを指定して送信する。ま
た、端末制御部は、自己のアドレスが前記最初のアドレ
スから最後のアドレスまでの間にあるとき、自グループ
宛の送信であると判断してデータを取り込むようにす
る。
FIG. 3 is a functional block diagram of a third embodiment of the present invention. In this embodiment, the plurality of terminal control units are divided into a plurality of functionally different groups, such as a display control unit and a sales control unit. Division addresses 31 to 6
Addresses are set in order for each group, such as 0. When transmitting data to the entire terminal control unit belonging to a certain group, the main control unit specifies and transmits the first address and the last address in the group. Further, when the terminal address is between the first address and the last address, the terminal control unit determines that the transmission is addressed to the own group and takes in the data.

【0033】そして、あるグループに属する端末制御部
のみ、例えば、表示制御部のみにデータを送信する場
合、主制御部1は、開始・終了アドレスデータ作成手段
1Kで、表示制御部の中の最初のアドレスデータと最後
のアドレスデータを作成し、交信手段1Bに送る。一
方、送信データ作成手段1Aで作成した一括送信データ
1Jを交信手段1Bに送る。そして、交信手段1Bで
は、送信データを、例えば、図7(イ)に示すようなフ
ォーマットにして、各端末制御部に送信する。すなわ
ち、図7(ロ)に示すように、データの先頭を示す信号
STXに続けて、開始アドレスデータ、例えば“01”
と、終了アドレスデータ、例えば“30”とを入れる。
また、表示制御部の内、例えば、アドレス“05”から
“20”までの制御部のみにデータを送信するのであれ
ば、開始アドレスデータとして“05”を入れ、終了ア
ドレスデータとして“30”を入れる。そしてその後
に、送信すべきデータ本体DATAを入れ、さらにその
後に、データの終了を示す信号ETXとブロック検査文
字BCCを入れてデータを送信する。
When transmitting data only to the terminal control units belonging to a certain group, for example, only to the display control unit, the main control unit 1 uses the start / end address data creating means 1K to send the first And the last address data are created and sent to the communication means 1B. On the other hand, the batch transmission data 1J created by the transmission data creation unit 1A is sent to the communication unit 1B. Then, the communication unit 1B transmits the transmission data to each terminal control unit, for example, in a format as shown in FIG. That is, as shown in FIG. 7B, following the signal STX indicating the head of the data, start address data, for example, “01”
And end address data, for example, “30”.
Also, if data is to be transmitted only to the control units at addresses “05” to “20” in the display control unit, “05” is inserted as the start address data and “30” is set as the end address data. Put in. Then, after that, the data body DATA to be transmitted is inserted, and thereafter, the signal ETX indicating the end of the data and the block check character BCC are inserted, and the data is transmitted.

【0034】その際、ある一つの端末制御部に対して個
別に送信する場合は、図7(ハ)に示すように、開始ア
ドレスと終了アドレスとして、その端末制御部のアドレ
スである同じアドレスデータ、例えば“05”,“0
5”を入れる。
At this time, when individually transmitted to one terminal control unit, as shown in FIG. 7C, the same address data as the address of the terminal control unit is used as the start address and the end address. For example, “05”, “0”
Insert 5 ".

【0035】一方、主制御部1からこのような送信デー
タを送られた端末制御部では、交信手段2Aでそれを受
信する。そして、開始・終了アドレス判定手段2Lによ
り、受信データの中から開始アドレスと終了アドレスと
を抽出し、アドレス記憶手段2Kに記憶させている自己
のアドレスがその範囲内にあるか否かを判定する。その
結果、自己のアドレスがその範囲内にあったら、送信デ
ータ抽出手段2Bで、その後に送られてくるデータ本体
を抽出する。そして、データ処理手段2Cで、そのよう
にして抽出したデータに基づき所定の制御を行う。
On the other hand, in the terminal control section to which such transmission data has been sent from the main control section 1, it is received by the communication means 2A. Then, the start / end address determination unit 2L extracts the start address and the end address from the received data, and determines whether or not the own address stored in the address storage unit 2K is within the range. . As a result, if the own address is within the range, the transmission data extracting means 2B extracts the data body transmitted thereafter. Then, the data processing means 2C performs predetermined control based on the data extracted in this manner.

【0036】第3実施形態では、このように、主制御部
1がデータを送信したい端末制御部グループの中の最初
のアドレスと最後のアドレスを指定し、端末制御部は、
自己のアドレスが前記最初のアドレスと最後のアドレス
が指定した範囲内にあるとき、データを受け取るように
した。その結果、必要な端末制御部グループのみにデー
タを送信できるようになり、通信の無駄を最小限にする
ことができる。
In the third embodiment, the main control unit 1 specifies the first address and the last address in the terminal control unit group to which data is to be transmitted, and the terminal control unit
When the first address and the last address are within a specified range, data is received. As a result, data can be transmitted only to the necessary terminal control unit group, and communication waste can be minimized.

【0037】[0037]

【発明の効果】本発明は、以上説明したように構成され
ているので、次に記載するような効果を奏する。請求項
1記載の自動販売機の制御装置は、複数の端末制御部を
グループ毎に異なるアドレスを付し、データの送信先を
グループ単位で指定できるようにしたので、複数の端末
制御部グループの内、特定の端末制御部グループのみに
データを送信できるようになり、通信の無駄を少なくす
ることができる。
Since the present invention is configured as described above, it has the following effects. In the vending machine control device according to the first aspect, a plurality of terminal control units are assigned different addresses for each group, and a data transmission destination can be specified in a group unit. Of these, data can be transmitted only to a specific terminal control unit group, and communication waste can be reduced.

【0038】また、請求項2記載の自動販売機の制御装
置は、複数の端末制御部をグループ毎に異なるフラグを
設定し、該フラグを用いてデータの送信先をグループ単
位で指定できるようにした。その結果、上記のものと同
様に、複数の端末制御部グループの内、特定の端末制御
部グループのみにデータを送信できるようになり、通信
の無駄を少なくすることができる。
According to a second aspect of the present invention, there is provided a vending machine control apparatus in which a plurality of terminal control units are set with different flags for each group, and the data transmission destination can be specified in groups by using the flags. did. As a result, similarly to the above, data can be transmitted only to a specific terminal control unit group among a plurality of terminal control unit groups, and communication waste can be reduced.

【0039】そしてまた、請求項3記載の自動販売機の
制御装置は、複数の端末制御部を機能的に異なったグル
ープに区分した。その結果、複数の端末制御部グループ
の内、ある特定の機能を有する端末制御部グループに対
して一斉にデータを送信できるようになり、通信の無駄
を最小限にすることができる。
In the control device for a vending machine according to the third aspect, the plurality of terminal control units are divided into functionally different groups. As a result, data can be simultaneously transmitted to a terminal control unit group having a specific function among a plurality of terminal control unit groups, and communication waste can be minimized.

【0040】さらに、請求項4記載の自動販売機の制御
装置は、主制御部は、データの送信先の最初のアドレス
と最後のアドレスを指定し、前記端末制御部は、自己の
アドレスが前記最初のアドレスと最後のアドレスが指定
した範囲内にあるとき、データを受け取るようにした。
その結果、グループアドレス,グループフラグ等を用い
ることなく、必要な端末制御部グループのみにデータを
送信できるようになり、通信の無駄を最小限にすること
ができる。
Further, in the control device for a vending machine according to claim 4, the main control unit specifies a first address and a last address of a data transmission destination, and the terminal control unit determines that its own address is the same as the first address. Data is received when the first address and the last address are within the specified range.
As a result, data can be transmitted only to the necessary terminal control unit group without using a group address, a group flag, and the like, and communication waste can be minimized.

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

【図1】本発明の第1実施形態の機能ブロック図であ
る。
FIG. 1 is a functional block diagram of a first embodiment of the present invention.

【図2】本発明の第2実施形態の機能ブロック図であ
る。
FIG. 2 is a functional block diagram of a second embodiment of the present invention.

【図3】本発明の第3実施形態の機能ブロック図であ
る。
FIG. 3 is a functional block diagram of a third embodiment of the present invention.

【図4】自動販売機の制御装置のブロック図である。FIG. 4 is a block diagram of a control device of the vending machine.

【図5】第1実施形態における通信フォーマットを示す
図である。
FIG. 5 is a diagram showing a communication format in the first embodiment.

【図6】第2実施形態における通信フォーマットを示す
図である。
FIG. 6 is a diagram showing a communication format in a second embodiment.

【図7】第3実施形態における通信フォーマットを示す
図である。
FIG. 7 is a diagram illustrating a communication format according to a third embodiment.

【図8】従来の自動販売機の制御装置の構成図である。FIG. 8 is a configuration diagram of a conventional vending machine control device.

【図9】従来の自動販売機の制御装置における表示指令
データ本体のフォーマットを示す図である。
FIG. 9 is a diagram showing a format of a display command data body in a conventional vending machine control device.

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

1…主制御部 2…端末制御部 10,20…表示ユニット 12…販売可表示用LED 13…売切表示用LED 14…商品選択スイッチ 30,40…販売ユニット 31…販売制御部 32…リレー 33…売切スイッチ DESCRIPTION OF SYMBOLS 1 ... Main control part 2 ... Terminal control part 10, 20 ... Display unit 12 ... LED for sale indication 13 ... LED for sale display 14 ... Product selection switch 30, 40 ... Sales unit 31 ... Sales control part 32 ... Relay 33 … Sold out switch

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山崎 康宏 大阪府守口市京阪本通2丁目5番5号 三 洋電機株式会社内 ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Yasuhiro Yamazaki 2-5-5 Keihanhondori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 自動販売機の各部を個別に制御する複数
の端末制御部と、前記複数の端末制御部を通信線を通し
て統括して制御する主制御部とを具えた自動販売機の制
御装置であって、前記複数の端末制御部を複数のグルー
プに区分して、グループ毎に異なるアドレスを付し、デ
ータの送信先をグループ単位で指定できるようにしたこ
とを特徴とする自動販売機の制御装置。
An apparatus for controlling a vending machine, comprising: a plurality of terminal controllers for individually controlling the respective units of the vending machine; and a main controller for controlling the plurality of terminal controllers integrally through a communication line. Wherein the plurality of terminal control units are divided into a plurality of groups, different addresses are assigned to the respective groups, and a data transmission destination can be designated in a group unit. Control device.
【請求項2】 自動販売機の各部を個別に制御する複数
の端末制御部と、前記複数の端末制御部を通信線を通し
て統括して制御する主制御部とを具えた自動販売機の制
御装置であって、前記複数の端末制御部を複数のグルー
プに区分して、グループ毎に異なるフラグを設定し、該
フラグを用いてデータの送信先をグループ単位で指定で
きるようにしたことを特徴とする自動販売機の制御装
置。
2. A vending machine control device comprising: a plurality of terminal control units for individually controlling each unit of the vending machine; and a main control unit for controlling the plurality of terminal control units through a communication line. Wherein the plurality of terminal control units are divided into a plurality of groups, different flags are set for each group, and the destination of data can be specified in units of groups using the flags. Vending machine control device.
【請求項3】 端末制御部を機能的に異なった複数のグ
ループに区分したことを特徴とする請求項1または2記
載の自動販売機の制御装置。
3. The vending machine control device according to claim 1, wherein the terminal control unit is divided into a plurality of functionally different groups.
【請求項4】 自動販売機の各部を個別に制御する複数
の端末制御部と、前記複数の端末制御部を通信線を通し
て統括して制御する主制御部とを具えた自動販売機の制
御装置であって、前記主制御部は、データの送信先の最
初のアドレスと最後のアドレスを指定し、前記端末制御
部は、自己のアドレスが前記最初のアドレスと最後のア
ドレスが指定した範囲内にあるとき、データを受け取る
ようにしたことを特徴とする自動販売機の制御装置。
4. A vending machine control device comprising: a plurality of terminal control units for individually controlling each unit of the vending machine; and a main control unit for controlling the plurality of terminal control units through a communication line. The main control unit specifies a first address and a last address of a data transmission destination, and the terminal control unit determines that its own address is within a range specified by the first address and the last address. A vending machine control device characterized by receiving data once.
JP9288392A 1997-10-21 1997-10-21 Controller for vending machine Pending JPH11120423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9288392A JPH11120423A (en) 1997-10-21 1997-10-21 Controller for vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9288392A JPH11120423A (en) 1997-10-21 1997-10-21 Controller for vending machine

Publications (1)

Publication Number Publication Date
JPH11120423A true JPH11120423A (en) 1999-04-30

Family

ID=17729617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9288392A Pending JPH11120423A (en) 1997-10-21 1997-10-21 Controller for vending machine

Country Status (1)

Country Link
JP (1) JPH11120423A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009109244A (en) * 2007-10-26 2009-05-21 Panasonic Electric Works Co Ltd Image inspection system
JP2011061481A (en) * 2009-09-09 2011-03-24 Fujitsu Telecom Networks Ltd Channel data transmission method and controller using the same, control object device and control system with the same, and charging/discharging test system
JP2012244377A (en) * 2011-05-19 2012-12-10 Kyoritsu Denki Kk Multiple slave units simultaneous control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009109244A (en) * 2007-10-26 2009-05-21 Panasonic Electric Works Co Ltd Image inspection system
JP2011061481A (en) * 2009-09-09 2011-03-24 Fujitsu Telecom Networks Ltd Channel data transmission method and controller using the same, control object device and control system with the same, and charging/discharging test system
JP2012244377A (en) * 2011-05-19 2012-12-10 Kyoritsu Denki Kk Multiple slave units simultaneous control system

Similar Documents

Publication Publication Date Title
US5621282A (en) Programmable distributively controlled lighting system
KR880010590A (en) 2 way communication system
EP0511794A1 (en) System for data communication on automobile
US4437169A (en) Stage lighting control system
EP2393003A1 (en) ID setting system, ID setting method and display unit using the same
JP2002289368A (en) Remote surveillance control system
JPH11120423A (en) Controller for vending machine
US20010023499A1 (en) Airborne passenger service system
US6427808B1 (en) Elevator information communication system
JPH08298487A (en) Signal transmitter
GB2076180A (en) Stage Lighting Control System
JP2000057430A (en) Controller for vending machine
JP4849014B2 (en) Relay hub and information communication system
JP2581813B2 (en) Vending machine control device
JPH04211890A (en) Controlling device for automatic vending machine
EP1484938A1 (en) Infrared steering method and infrared steering system
JPS61270941A (en) Displaying device
JPS61105251A (en) Control device of electric furnishing in vehicle
JPH11110621A (en) Controller for automatic vending machine
AU2012324912B2 (en) Gaming machine
JP2001054684A (en) Centralized control device for railroad model
JP4773604B2 (en) Bidding status display device and method
JP2002110370A (en) Selector switch of remote monitoring control system
JPH08328571A (en) Karaoke (sing-along machine) device
KR100275766B1 (en) Device and method for controlling operation of bus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040525

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040716

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050621