JP7109224B2 - Communication system and upper equipment - Google Patents
Communication system and upper equipment Download PDFInfo
- Publication number
- JP7109224B2 JP7109224B2 JP2018062489A JP2018062489A JP7109224B2 JP 7109224 B2 JP7109224 B2 JP 7109224B2 JP 2018062489 A JP2018062489 A JP 2018062489A JP 2018062489 A JP2018062489 A JP 2018062489A JP 7109224 B2 JP7109224 B2 JP 7109224B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- unit
- message
- level
- request message
- 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.)
- Active
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Description
この発明は、通信線を介して接続された上位装置及び複数の下位装置を備えた通信システム及び上位装置に関する。 BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system and a host device having a host device and a plurality of host devices connected via a communication line.
従来から、通信システムでは、上位装置と複数の下位装置との間で通信を行うため、上位装置が下位装置のアドレスを設定する機能を有している(例えば特許文献1参照)。特許文献1に開示された通信システムでは、CAN(Controller Area Network)通信及びデバイスネットプロトコルを採用し、上位装置は、下位装置のアドレスを記録するテーブルを保持している。なお、デバイスネットプロトコルでは、1台の上位装置に接続可能な下位装置の台数が定められており、これを超える台数を接続する場合には、下位装置を複数系統に分ける必要がある。この場合、上位装置は、下位装置毎に設定される論理的アドレスに加え、系統毎に設定される局アドレスを管理する必要がある。
そして、上位装置は、下位装置からアドレスの設定が要求された場合に、未使用のアドレスのうちの最も若い番号のアドレスを下位装置に通知する。そして、下位装置は、上位装置から通知されたアドレスに対する確定を行う。そして、上位装置は、確定されたアドレスを下位装置のアドレスとしてテーブルに登録する。
2. Description of the Related Art Conventionally, in a communication system, a higher-level device has a function of setting addresses of lower-level devices in order to perform communication between a higher-level device and a plurality of lower-level devices (see Patent Document 1, for example). The communication system disclosed in Patent Literature 1 employs CAN (Controller Area Network) communication and device net protocol, and a higher-level device holds a table that records the addresses of lower-level devices. Note that the device net protocol defines the number of lower devices that can be connected to one upper device, and if the number of lower devices exceeds this number, it is necessary to divide the lower devices into multiple systems. In this case, the host device must manage the station address set for each system in addition to the logical address set for each lower device.
Then, when an address setting request is received from a lower-level device, the higher-level device notifies the lower-level device of the address with the lowest number among the unused addresses. Then, the lower device determines the address notified from the higher device. Then, the upper device registers the determined address in the table as the address of the lower device.
しかしながら、従来の通信システムでは、下位装置毎に、ユーザが、アドレスの設定の要求と、上位装置から通知されたアドレスに対する確定といった2つの指示を行う必要があり、煩雑である。 However, in the conventional communication system, the user is required to issue two instructions for each lower-level device, ie, a request for address setting and confirmation of the address notified from the higher-level device, which is cumbersome.
この発明は、上記のような課題を解決するためになされたもので、従来構成に対してより簡易な動作で下位装置に対するアドレス設定が可能である通信システムを提供することを目的としている。 SUMMARY OF THE INVENTION An object of the present invention is to provide a communication system capable of setting an address for a lower-level device with a simpler operation than the conventional structure.
この発明に係る通信システムは、通信線を介して接続された上位装置及び複数の下位装置を備え、上位装置は、アドレスが記録されるテーブルを保持する保持部と、自発的に、テーブルに記録されている下位装置のアドレスとして登録されていないアドレスのうちの1つを通知する電文であるアドレス設定要求電文を、下位装置の初期のアドレスである仮アドレスに送信する上位送信部と、電文の受信を行う上位受信部と、上位受信部によりアドレスを通知する電文である確定電文が受信された場合に、テーブルに、当該アドレスを、当該確定電文の送信元である下位装置のアドレスとして登録する登録部とを備え、下位装置は、電文の受信を行う下位受信部と、下位受信部により自機宛てのアドレス設定要求電文が受信された場合に、当該アドレス設定要求電文により通知されたアドレスを表示する表示部と、表示部によるアドレスの表示後、アドレスの選択を受付ける受付部と、受付部により受付けられたアドレスを、自機のアドレスとして確定して登録する確定部と、確定部により確定されたアドレスを通知する確定電文を上位装置に送信する下位送信部とを備えたことを特徴とする。 A communication system according to the present invention comprises an upper device and a plurality of lower devices connected via a communication line. a higher transmission unit for transmitting an address setting request message, which is a message notifying one of the addresses not registered as the addresses of the lower device registered as the address of the lower device, to the temporary address, which is the initial address of the lower device; When a higher-level receiving unit that receives and a confirmed message that notifies an address is received by the higher-level receiving unit, the address is registered in the table as the address of the lower-level device that is the source of the confirmed message. a registering unit, the lower device receives a message, and when an address setting request message addressed to itself is received by the lower receiving unit, the lower device registers the address notified by the address setting request message. a display unit for displaying, a reception unit for receiving selection of an address after the address is displayed by the display unit, a confirmation unit for confirming and registering the address received by the reception unit as the address of the own device, and a confirmation unit confirming and a low-level transmission unit for transmitting a confirmation telegram notifying the assigned address to the high-level device.
この発明によれば、上記のように構成したので、従来構成に対してより簡易な動作で下位装置に対するアドレス設定が可能となる。 According to the present invention, since it is configured as described above, it is possible to set the address for the lower device with a simpler operation than the conventional configuration.
以下、この発明の実施の形態について図面を参照しながら詳細に説明する。
実施の形態1.
図1はこの発明の実施の形態1に係る通信システムの構成例を示す図である。
通信システムは、図1に示すように、通信線を介して接続された上位装置1及び複数の下位装置2を備えている。この通信システムは、RS-485通信を採用し、上位装置1から複数の下位装置2に対してポーリングセレクション方式のシリアル通信を行う。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
Embodiment 1.
FIG. 1 is a diagram showing a configuration example of a communication system according to Embodiment 1 of the present invention.
The communication system, as shown in FIG. 1, comprises a higher-level device 1 and a plurality of lower-
上位装置1は、図2に示すように、保持部101、モード設定部102、電文作成部103、電文受信部(上位受信部)104、電文送信部(上位送信部)105、送信制御部106及び登録部107を有している。
As shown in FIG. 2, the host device 1 includes a
保持部101は、アドレス(論理的アドレス)が記録されるテーブルを保持する。初期状態では、テーブルには、アドレス設定において下位装置2に対して設定可能な番号のアドレスが全て未使用の状態(下位装置2のアドレスとして登録されていない状態)で記録されている。
The
図1では、アドレス設定において下位装置2に対して設定可能なアドレスの番号が1~240である場合を想定している。また図1では、下位装置(No.3)ではアドレス(3)が登録され、下位装置(No.4)ではアドレス(4)が登録され、その他の下位装置2ではアドレスが未登録である場合を示している。また、アドレスが未登録の下位装置2には、初期のアドレスとして、事前に決められた第1の仮アドレスが登録されている。第1の仮アドレスは、アドレス設定において下位装置2に対して設定可能な番号とは異なる番号のアドレスである。図1では、第1の仮アドレスの番号は254となっている。
In FIG. 1, it is assumed that address numbers 1 to 240 can be set for the
なお、保持部101としては、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable ROM)、EEPROM(Electrically EPROM)等の不揮発性又は揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、又はDVD(Digital Versatile Disc)等が該当する。
Note that the
なお図2では、上位装置1の内部に保持部101が設けられた場合を示した。しかしながら、これに限らず、上位装置1の外部に保持部101が設けられてもよい。
Note that FIG. 2 shows a case where the
モード設定部102は、上位装置1の動作モードを設定する。上位装置1の動作モードとしては、通常モード、試運転モード及びアドレス設定モードがある。通常モードは、通常動作を行うモードであり、下位装置2の運転情報をモニタするためのモードである。試運転モードは、下位装置2のアドレスを確認するとともに運転情報をモニタするためのモードである。アドレス設定モードは、試運転モードにおいて上位装置1を操作するユーザにより指示された場合にモード設定部102により切替えられるモードであり、下位装置2に対してアドレス設定を補助するモードである。また、モード設定部102は、電文送信部105により後述するアドレス設定要求電文が送信された後一定期間経過しても電文受信部104により後述する確定電文が受信されない場合、又は、ユーザにより指示された場合に、上位装置1の動作モードをアドレス設定モードから試運転モードに切替える。
電文作成部103は、電文を作成する。
この電文作成部103は、上位装置1が通常モードである場合に、アドレスが登録済みである下位装置2を対象とし、運転情報の送信を要求する電文(状態要求電文)を作成する。この状態要求電文は、識別コード、電文の種別、電文の送信元である自機(上位装置1)のアドレス(送信元アドレス)、及び、電文の送信先のアドレス(送信先アドレス)等を示す情報を有する。なお、電文作成部103は、送信先アドレスとして、テーブルに記録されている使用中のアドレス(下位装置2のアドレスとして登録されているアドレス)を用いる。
The
When the host device 1 is in the normal mode, the
また、電文作成部103は、上位装置1が試運転モードである場合に、テーブルに記録されている全てのアドレス先を対象とし、運転情報の送信を要求する電文(状態要求電文)を作成する。この状態要求電文は、識別コード、電文の種別、電文の送信元である自機のアドレス(送信元アドレス)、及び、電文の送信先のアドレス(送信先アドレス)等を示す情報を有する。なお、電文作成部103は、送信先アドレスとして、テーブルに記録されている全てのアドレス(使用中のアドレス及び未使用のアドレス)をそれぞれ用いる。
Further, when the host device 1 is in the trial operation mode, the
また、電文作成部103は、上位装置1がアドレス設定モードである場合に、アドレスが未登録である下位装置2を対象とし、テーブルに記録されている未使用のアドレスのうちの1つ(例えば最も若い番号のアドレス)を通知するアドレス設定要求電文を作成する。このアドレス設定要求電文は、識別コード、電文の種別、電文の送信元である自機のアドレス(送信元アドレス)、電文の送信先のアドレス(送信先アドレス)、及び、未使用のアドレス等を示す情報を有する。なお、電文作成部103は、送信先アドレスとして、第1の仮アドレスを用いる。
Further, when the host device 1 is in the address setting mode, the electronic
電文受信部104は、電文の受信を行う。また、電文受信部104は、電文を受信した場合に、電文に含まれる送信先アドレスから当該電文が自機宛ての電文であるかを判断する。そして、電文受信部104は、電文が自機宛ての電文であると判断した場合には当該電文を取得し、電文が自機宛ての電文ではないと判断した場合には当該電文を読み捨てる。
The
電文送信部105は、電文の送信を行う。この電文送信部105は、電文作成部103により状態要求電文が作成された場合に、当該状態要求電文をポーリングセレクション方式で送信する。また、電文送信部105は、電文作成部103によりアドレス設定要求電文が作成された場合に、当該アドレス設定要求電文を送信する。
送信制御部106は、電文送信部105による電文の送信を制御する。
The
The
登録部107は、電文受信部104により確定電文が受信された場合に、テーブルに、当該確定電文により通知されたアドレスを、当該確定電文の送信元である下位装置2のアドレスとして登録する。
When the electronic
下位装置2は、図3に示すように、記録部201、電文作成部202、電文受信部(下位受信部)203、電文送信部(下位送信部)204、送信制御部205、表示部206、受付部207及び確定部208を有している。
As shown in FIG. 3, the
記録部201は、自機(下位装置2)のアドレスを記録する。初期状態では、記録部201は、自機のアドレスとして第1の仮アドレスを記録している。
なお、記録部201としては、例えば、RAM、ROM、フラッシュメモリ、EPROM、EEPROM等の不揮発性又は揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、又はDVD等が該当する。
The
Examples of the
なお図3では、下位装置2の内部に記録部201が設けられた場合を示した。しかしながら、これに限らず、下位装置2の外部に記録部201が設けられてもよい。
Note that FIG. 3 shows the case where the
電文作成部202は、電文を作成する。
この電文作成部202は、電文受信部203により自機宛ての状態要求電文が受信された場合に、当該状態要求電文に対する応答を示す電文(応答電文)を作成する。応答電文は、自機の運転情報を通知する電文である。この応答電文は、識別コード、電文の種別、電文の送信元である自機のアドレス(送信元アドレス)、及び、電文の送信先である上位装置1のアドレス(送信先アドレス)等を示す情報に加え、自機の運転情報(運転状態、温度情報及び冷媒状態等を示す情報)を有する。
The
When the
また、電文作成部202は、確定部208によりアドレスが確定された場合に、当該確定されたアドレスを通知する電文(確定電文)を作成する。この確定電文は、識別コード、電文の種別、電文の送信元である自機のアドレス(送信元アドレス)、及び、電文の送信先である上位装置1のアドレス(送信元アドレス)等を示す情報を有する。なお、電文作成部202は、送信元アドレスとして、確定部208により確定されたアドレスを用いる。
Further, when the address is confirmed by the
電文受信部203は、電文の受信を行う。また、電文受信部203は、電文を受信した場合に、電文に含まれる送信先アドレスから当該電文が自機宛ての電文であるかを判断する。そして、電文受信部203は、電文が自機宛ての電文であると判断した場合には当該電文を取得し、電文が自機宛ての電文ではないと判断した場合には当該電文を読み捨てる。
The
電文送信部204は、電文の送信を行う。この電文送信部204は、電文作成部202により応答電文が作成された場合に、当該応答電文を送信する。また、電文送信部204は、電文作成部202により確定電文が作成された場合に、当該確定電文を送信する。
送信制御部205は、電文送信部204による電文の送信を制御する。
The
The
表示部206は、電文受信部203により自機宛てのアドレス設定要求電文が受信された場合に、当該アドレス設定要求電文により通知された未使用のアドレスを、自機が有する表示器(不図示)に表示する。
受付部207は、表示部206による未使用のアドレスの表示後、ユーザによるアドレスの選択を受付ける。
When the
After the
確定部208は、受付部207により受付けられたアドレスを、自機のアドレスとして確定して記録部201に登録する。
The confirming
次に、実施の形態1に係る通信システムの動作例について説明する。
まず、通信システムによるアドレス設定動作の一例について、図4を参照しながら説明する。なお、上位装置1は試運転モードであるとする。
通信システムによるアドレス設定動作では、上位装置1を操作するユーザによりアドレス簡易設定が指示されると、図4に示すように、まず、上位装置1は、アドレスが未登録である下位装置2に対してアドレス設定要求電文を送信する(ステップST401)。
Next, an operation example of the communication system according to Embodiment 1 will be described.
First, an example of address setting operation by the communication system will be described with reference to FIG. It is assumed that the high-level device 1 is in the trial operation mode.
In the address setting operation by the communication system, when the simple address setting is instructed by the user who operates the host device 1, as shown in FIG. and transmits an address setting request message (step ST401).
この際、まず、モード設定部102は、ユーザによりアドレス簡易設定が指示されることで、動作モードを試運転モードからアドレス設定モードに切替える。例えば、上位装置1が有する表示器(不図示)にアドレス簡易設定ボタンが表示されており、ユーザがアドレス簡易設定ボタンを選択することで、モード設定部102は動作モードをアドレス設定モードへ切替える。
そして、電文作成部103は、テーブルに記録されている未使用のアドレスのうちの1つを通知するアドレス設定要求電文を作成する。なお、電文作成部103は、送信先アドレスとして第1の仮アドレスを用いる。
そして、電文送信部105は、送信制御部106による制御に従い、電文作成部103により作成されたアドレス設定要求電文を送信する。
At this time, first, the
Then, the
Then, the
次いで、アドレスが未登録である下位装置2は、アドレス設定要求電文を受信し、ユーザ操作に従ってアドレスの仮設定を行う(ステップST402)。
Next, the
この際、まず、電文受信部203は、自機宛てのアドレス設定要求電文を受信する。アドレスが未登録である下位装置2では、自機のアドレスが第1の仮アドレスであるため、アドレス設定要求電文を自機宛ての電文として取得する。
そして、表示部206は、アドレス設定要求電文により通知された未使用のアドレスを表示器に表示する。図4では、下位装置(No.1)、下位装置(No.2)及び下位装置(No.5)の表示器にそれぞれ未使用のアドレスが表示される。
そして、受付部207は、表示部206による未使用のアドレスの表示後、ユーザによるアドレスの選択を受付ける。例えば、表示部206は、表示器に未使用のアドレスとアドレス確定ボタンを表示する。そして、下位装置2を操作するユーザがアドレス確定ボタンを選択することで、受付部207は未使用のアドレスの選択を受付ける。これにより、下位装置2はアドレスを仮設定できる。なお、表示部206は、ユーザが上記未使用のアドレスとは別のアドレスを手動で選択することを可能とし、受付部207がこの別のアドレスの選択を受付けてもよい。図4では、下位装置(No.1)がアドレスを仮設定している場合を示している。
At this time, first, the
Then, the
After the unused addresses are displayed on the
なお、アドレスが登録済みである下位装置2でもアドレス設定要求電文が受信されるが、この場合に、例えば、当該下位装置2の表示部206は、自機のアドレスを表示器に表示してもよい。
また、アドレスが未登録である下位装置2では、表示器に未使用のアドレスを表示している状態において、更に上位装置1からアドレス設定要求電文を受信した場合には、表示部206は、新しい未使用のアドレスを表示器に表示する。
The address setting request message is also received by the lower-
Further, in the low-
次いで、下位装置2は、アドレスを確定する(ステップST403)。すなわち、確定部208は、受付部207により受付けられたアドレスを、自機のアドレスとして確定して記録部201に登録する。
Then,
次いで、下位装置2は、上位装置1に対して確定電文を送信する(ステップST404)。
この際、まず、電文作成部202は、確定電文を作成する。
そして、電文送信部204は、送信制御部205による制御に従い、電文作成部202により作成された確定電文を上位装置1に送信する。なお、ポーリングセレクション方式では、通常、上位装置1から状態要求電文等の要求電文を送信して下位装置2は要求電文に対する応答電文を送信する形式をとるが、ここでは、例外的に、下位装置2から自発的に電文を送信可能としている。また、電文送信部204は、確定電文を、要求電文及び応答電文が送信される送信期間の空き時間を利用して送信する。
Subsequently,
At this time, first, the electronic
Then, under the control of the
次いで、上位装置1は、確定電文を受信してアドレスを登録する(ステップST405)。
この際、まず、電文受信部104は、確定電文を受信する。
そして、登録部107は、テーブルに、電文受信部104により受信された確定電文により通知されたアドレスを、当該確定電文の送信元である下位装置2のアドレスとして登録する。
Next, host device 1 receives the confirmation message and registers the address (step ST405).
At this time, first, the
Then, the
その後、上位装置1は、次の未使用のアドレスを通知するアドレス設定要求電文の送信へ移行する(ステップST406~410)。なお、上位装置1は、テーブルに未使用のアドレスが無くなった場合には、第1の仮アドレスを通知するアドレス設定要求電文を送信する。 After that, the host device 1 shifts to transmission of an address setting request message for notifying the next unused address (steps ST406 to ST410). When there is no unused address in the table, the host device 1 transmits an address setting request message that notifies the first temporary address.
その後、電文送信部105がアドレス設定要求電文を送信した後一定期間経過しても電文受信部104が確定電文を受信しない場合には、モード設定部102は、動作モードをアドレス設定モードから試運転モードに戻す。
また、下位装置2は、上位装置1からのアドレス設定要求電文を一定期間受信しない場合に、通常動作に戻る。
Thereafter, if the
Further, when the
このように、実施の形態1に係る通信システムでは、上位装置1が、下位装置2からの要求を受けることなく、自発的に未使用のアドレスを下位装置2に通知してアドレス設定を行う。これにより、下位装置2を操作するユーザはアドレスの選択のみを行えばよく、従来構成に対してより簡易な動作で、下位装置2に対するアドレス設定が可能となる。
また、下位装置2の入れ替えが生じた場合には、上位装置1は、まず、テーブルに対し、入れ替え前の下位装置2のアドレスを未使用状態に戻す。その後、上位装置1は、図4に示す動作により入れ替え後の下位装置2に対するアドレス設定を行う。
As described above, in the communication system according to the first embodiment, the upper device 1 voluntarily notifies the
Further, when the low-
また上記では、上位装置1において、アドレス設定要求電文を送信後一定期間経過しても確定電文を受信しない場合に、モード設定部102が動作モードをアドレス設定モードから試運転モードに戻す場合を示した。しかしながら、これに限らず、例えば、上位装置1を操作するユーザがアドレス設定の終了を指示した場合にも、モード設定部102が動作モードをアドレス設定モードから試運転モードに戻してもよい。
In the above description, the
次に、上位装置1による試運転モードでのモニタ動作の一例について、図5を参照しながら説明する。
上位装置1による試運転モードでのモニタ動作では、図5に示すように、まず、電文作成部103は、状態要求電文を作成する(ステップST501)。なお、電文作成部103は、送信先アドレスとして、テーブルに記録されている全てのアドレスをそれぞれ用いる。
Next, an example of the monitor operation in the test run mode by the host device 1 will be described with reference to FIG.
In the monitoring operation in the test run mode by the host device 1, as shown in FIG. 5, first, the
次いで、電文送信部105は、送信制御部106による制御に従い、電文作成部103により作成された状態要求電文をポーリングセレクション方式で送信する(ステップST502)。
その後、状態要求電文の送信先アドレスと同一のアドレスを自機のアドレスとして登録している下位装置2は、この状態要求電文を受信して応答電文を作成し、この応答電文を上位装置1に返信する。
Next, under the control of
After that, the
次いで、電文受信部104は、応答電文を受信する(ステップST503)。その後、シーケンスはステップST501に戻り、上位装置1は、次の送信先アドレスに対する状態要求電文の作成へ移行する。
なお、電文送信部105が状態要求電文を送信した後一定期間経過しても電文受信部104が応答電文を受信しない場合にも、シーケンスはステップST501に戻り、上位装置1は、次の送信先アドレスに対する状態要求電文の作成へ移行する。すなわち、この場合には、上位装置1は、状態要求電文の送信先に下位装置2は存在しないと判断する。
Next,
Even if the
このように、実施の形態1に係る通信システムでは、上位装置1が、試運転モードにおいて、テーブルに記録されている全てのアドレス先を対象としたモニタを行う。これにより、上位装置1は、アドレス設定モードでアドレス設定が為された下位装置2に対して直ちにモニタを実施可能となる。
As described above, in the communication system according to the first embodiment, the host device 1 monitors all addresses recorded in the table in the trial operation mode. As a result, the upper device 1 can immediately monitor the
次に、実施の形態1に係る通信システムの適用例について説明する。
実施の形態1に係る通信システムは、例えば、下位装置2をショーケースの制御コントローラとして用い、上位装置1を複数のショーケースを統括管理する上位コントローラとして用いた冷却システムに適用可能である。
また、実施の形態1に係る通信システムは、例えば、下位装置2を空調機の制御コントローラとして用い、上位装置1を複数の空調機を統括管理する上位コントローラとして用いた空調システムに適用可能である。
Next, an application example of the communication system according to Embodiment 1 will be described.
The communication system according to the first embodiment is applicable to, for example, a cooling system in which the lower-
Further, the communication system according to Embodiment 1 can be applied to an air conditioning system using, for example, the lower-
上記では、実施の形態1に係る通信システムの適用先として、上記のような冷却システム又は空調システムを挙げたが、通信システムの適用先はこれに限らない。 In the above, the cooling system or the air conditioning system as described above is mentioned as an application destination of the communication system according to Embodiment 1, but the application destination of the communication system is not limited to this.
以上のように、この実施の形態1によれば、上位装置1は、アドレスが記録されるテーブルを保持する保持部101と、アドレス設定要求電文を仮アドレスに送信する電文送信部105と、電文の受信を行う電文受信部104と、電文受信部104により確定電文が受信された場合に、テーブルに、当該確定電文により通知されたアドレスを、当該確定電文の送信元である下位装置2のアドレスとして登録する登録部107とを備え、下位装置2は、電文の受信を行う電文受信部203と、電文受信部203により自機宛てのアドレス設定要求電文が受信された場合に、当該アドレス設定要求電文により通知されたアドレスを表示する表示部206と、表示部206によるアドレスの表示後、アドレスの選択を受付ける受付部207と、受付部207により受付けられたアドレスを、自機のアドレスとして確定して登録する確定部208と、確定部208により確定されたアドレスを通知する確定電文を上位装置1に送信する電文送信部204とを備えた。これにより、実施の形態1に係る通信システムは、従来構成に対してより簡易な動作で、下位装置2に対するアドレスの設定が可能となる。
As described above, according to the first embodiment, the host device 1 includes the holding
最後に、図6を参照して、実施の形態1に係る上位装置1及び下位装置2のハードウェア構成例を説明する。以下では、上位装置1のハードウェア構成例について説明するが、下位装置2についても同様である。
上位装置1における電文受信部104は受信装置により実現され、電文送信部105は送信装置により実現される。また、上位装置1におけるモード設定部102、電文作成部103、送信制御部106及び登録部107の各機能は、処理回路51により実現される。処理回路51は、図6Aに示すように、専用のハードウェアであってもよいし、図6Bに示すように、メモリ53に格納されるプログラムを実行するCPU(Central Processing Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサ、又はDSP(Digital Signal Processor)ともいう)52であってもよい。
Finally, with reference to FIG. 6, a hardware configuration example of the upper device 1 and the
The electronic
処理回路51が専用のハードウェアである場合、処理回路51は、例えば、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)、又はこれらを組み合わせたものが該当する。モード設定部102、電文作成部103、送信制御部106及び登録部107の各部の機能それぞれを処理回路51で実現してもよいし、各部の機能をまとめて処理回路51で実現してもよい。
When the
処理回路51がCPU52の場合、モード設定部102、電文作成部103、送信制御部106及び登録部107の機能は、ソフトウェア、ファームウェア、又はソフトウェアとファームウェアとの組み合わせにより実現される。ソフトウェア及びファームウェアはプログラムとして記述され、メモリ53に格納される。処理回路51は、メモリ53に記憶されたプログラムを読み出して実行することにより、各部の機能を実現する。すなわち、上位装置1は、処理回路51により実行されるときに、例えば図4,5に示した各ステップが結果的に実行されることになるプログラムを格納するためのメモリ53を備える。また、これらのプログラムは、モード設定部102、電文作成部103、送信制御部106及び登録部107の手順及び方法をコンピュータに実行させるものであるともいえる。ここで、メモリ53としては、例えば、RAM、ROM、フラッシュメモリ、EPROM、EEPROM等の不揮発性又は揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、又はDVD等が該当する。
When the
なお、モード設定部102、電文作成部103、送信制御部106及び登録部107の各機能について、一部を専用のハードウェアで実現し、一部をソフトウェア又はファームウェアで実現するようにしてもよい。例えば、モード設定部102については専用のハードウェアとしての処理回路51でその機能を実現し、電文作成部103、送信制御部106及び登録部107については処理回路51がメモリ53に格納されたプログラムを読み出して実行することによってその機能を実現することが可能である。
The functions of the
このように、処理回路51は、ハードウェア、ソフトウェア、ファームウェア、又はこれらの組み合わせによって、上述の各機能を実現することができる。
Thus, the
なお、本願発明はその発明の範囲内において、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。 It should be noted that, within the scope of the present invention, any component of the embodiment can be modified or any component of the embodiment can be omitted.
1 上位装置、2 下位装置、51 処理回路、52 CPU、53 メモリ、101 保持部、102 モード設定部、103 電文作成部、104 電文受信部(上位受信部)、105 電文送信部(上位送信部)、106 送信制御部、107 登録部、201 記録部、202 電文作成部、203 電文受信部(下位受信部)、204 電文送信部(下位送信部)、205 送信制御部、206 表示部、207 受付部、208 確定部。 1 upper device, 2 lower device, 51 processing circuit, 52 CPU, 53 memory, 101 holding unit, 102 mode setting unit, 103 message creating unit, 104 message receiving unit (upper receiving unit), 105 message transmitting unit (upper transmitting unit ), 106 transmission control unit, 107 registration unit, 201 recording unit, 202 message creation unit, 203 message reception unit (lower order reception unit), 204 message transmission unit (lower order transmission unit), 205 transmission control unit, 206 display unit, 207 Reception unit, 208 Confirmation unit.
Claims (4)
前記上位装置は、
アドレスが記録されるテーブルを保持する保持部と、
自発的に、前記テーブルに記録されている前記下位装置のアドレスとして登録されていないアドレスのうちの1つを通知する電文であるアドレス設定要求電文を、前記下位装置の初期のアドレスである仮アドレスに送信する上位送信部と、
電文の受信を行う上位受信部と、
前記上位受信部によりアドレスを通知する電文である確定電文が受信された場合に、前記テーブルに、当該アドレスを、当該確定電文の送信元である前記下位装置のアドレスとして登録する登録部とを備え、
前記下位装置は、
電文の受信を行う下位受信部と、
前記下位受信部により自機宛てのアドレス設定要求電文が受信された場合に、当該アドレス設定要求電文により通知されたアドレスを表示する表示部と、
前記表示部によるアドレスの表示後、アドレスの選択を受付ける受付部と、
前記受付部により受付けられたアドレスを、自機のアドレスとして確定して登録する確定部と、
前記確定部により確定されたアドレスを通知する確定電文を前記上位装置に送信する下位送信部とを備えた
ことを特徴とする通信システム。 Equipped with a higher-level device and a plurality of lower-level devices connected via a communication line,
The host device is
a holding unit that holds a table in which addresses are recorded;
Spontaneously, an address setting request message, which is a message notifying one of addresses not registered as addresses of the lower device recorded in the table, is set to a tentative address, which is an initial address of the lower device. an upper transmitter that transmits to
a higher-level receiving unit that receives telegrams;
a registration unit for registering, in the table, the address as an address of the lower-level device that is the transmission source of the confirmation message when a confirmation message, which is a message notifying an address, is received by the upper receiving unit; ,
The lower device is
a lower receiving unit that receives telegrams;
a display unit for displaying the address notified by the address setting request message when the lower receiving unit receives the address setting request message addressed to the device itself;
a reception unit that receives selection of an address after the address is displayed by the display unit;
a determination unit that determines and registers the address received by the reception unit as the address of the device itself;
A communication system comprising: a lower transmitting unit that transmits to the upper device a confirmation telegram that notifies the address determined by the determining unit.
前記上位送信部は、前記上位装置がアドレス設定モードである場合に、アドレス設定要求電文の送信を行う
ことを特徴とする請求項1記載の通信システム。 a mode setting unit that sets an operation mode of the higher-level device to an address setting mode according to an instruction from a user;
2. The communication system according to claim 1, wherein said host transmission unit transmits an address setting request message when said host device is in an address setting mode.
前記上位送信部は、前記上位装置が試運転モードである場合に、前記テーブルに記録されている全てのアドレスをそれぞれ送信先アドレスとした電文である状態要求電文をポーリングセレクション方式で送信し、
前記下位送信部は、前記下位受信部により自機宛ての状態要求電文が受信された場合に、当該状態要求電文に対する応答を示す電文である応答電文を前記上位装置に送信する
ことを特徴とする請求項2記載の通信システム。 The mode setting unit, when the high-level receiving unit does not receive a confirmation message even after a certain period of time has passed after the transmission of the address setting request message by the high-level transmitting unit, or when instructed by a user, the high-level transmitting unit Switch the operating mode of the device from address setting mode to test run mode,
When the host device is in a trial operation mode, the host transmission unit transmits a status request message, which is a message having all the addresses recorded in the table as destination addresses, by a polling selection method,
The low-order transmission unit is characterized in that, when the low-order reception unit receives a status request message addressed to itself, the low-order transmission unit transmits a response message, which is a message indicating a response to the status request message, to the high-level device. A communication system according to claim 2.
自発的に、前記テーブルに記録されている下位装置のアドレスとして登録されていないアドレスのうちの1つを通知する電文であるアドレス設定要求電文を、前記下位装置の初期のアドレスである仮アドレスに送信する上位送信部と、
電文の受信を行う上位受信部と、
前記上位受信部によりアドレスを通知する電文である確定電文が受信された場合に、前記テーブルに、当該アドレスを、当該確定電文の送信元である前記下位装置のアドレスとして登録する登録部と
を備えた上位装置。 a holding unit that holds a table in which addresses are recorded;
Spontaneously assigns an address setting request message, which is a message notifying of one of the addresses not registered as the addresses of the lower device recorded in the table, to the tentative address, which is the initial address of the lower device. an upper transmission unit that transmits;
a higher-level receiving unit that receives telegrams;
a registration unit for registering, in the table, the address as the address of the lower-level device that is the transmission source of the confirmation message when a confirmation message, which is a message notifying an address, is received by the upper receiving unit. upper device .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018062489A JP7109224B2 (en) | 2018-03-28 | 2018-03-28 | Communication system and upper equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018062489A JP7109224B2 (en) | 2018-03-28 | 2018-03-28 | Communication system and upper equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019176318A JP2019176318A (en) | 2019-10-10 |
JP7109224B2 true JP7109224B2 (en) | 2022-07-29 |
Family
ID=68169795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018062489A Active JP7109224B2 (en) | 2018-03-28 | 2018-03-28 | Communication system and upper equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7109224B2 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003134115A (en) | 2001-10-30 | 2003-05-09 | Yamatake Building Systems Co Ltd | Communication equipment and address setting method for the same |
JP2006029769A (en) | 2004-06-14 | 2006-02-02 | Saginomiya Seisakusho Inc | Centralized monitoring system for cooling device, controller for cooling system, and upper rank control apparatus for cooling device |
JP2006060708A (en) | 2004-08-23 | 2006-03-02 | Matsushita Electric Works Ltd | Equipment monitoring controller and equipment monitoring control system having the same equipment monitoring controller |
JP2006094102A (en) | 2004-09-24 | 2006-04-06 | Matsushita Electric Works Ltd | Supervisory control system, and address setting method |
WO2010150374A1 (en) | 2009-06-24 | 2010-12-29 | 三菱電機株式会社 | Power conversion system and communication address setting method |
JP2011146897A (en) | 2010-01-14 | 2011-07-28 | Shindengen Electric Mfg Co Ltd | Communication system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07143144A (en) * | 1993-06-25 | 1995-06-02 | Fuji Xerox Co Ltd | Address server |
JPH07231329A (en) * | 1994-02-18 | 1995-08-29 | Csk Corp | Numbering device for network address |
-
2018
- 2018-03-28 JP JP2018062489A patent/JP7109224B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003134115A (en) | 2001-10-30 | 2003-05-09 | Yamatake Building Systems Co Ltd | Communication equipment and address setting method for the same |
JP2006029769A (en) | 2004-06-14 | 2006-02-02 | Saginomiya Seisakusho Inc | Centralized monitoring system for cooling device, controller for cooling system, and upper rank control apparatus for cooling device |
JP2006060708A (en) | 2004-08-23 | 2006-03-02 | Matsushita Electric Works Ltd | Equipment monitoring controller and equipment monitoring control system having the same equipment monitoring controller |
JP2006094102A (en) | 2004-09-24 | 2006-04-06 | Matsushita Electric Works Ltd | Supervisory control system, and address setting method |
WO2010150374A1 (en) | 2009-06-24 | 2010-12-29 | 三菱電機株式会社 | Power conversion system and communication address setting method |
JP2011146897A (en) | 2010-01-14 | 2011-07-28 | Shindengen Electric Mfg Co Ltd | Communication system |
Also Published As
Publication number | Publication date |
---|---|
JP2019176318A (en) | 2019-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
ES2666821T3 (en) | Air conditioning system and air conditioning management program | |
CN104518910B (en) | Apparatus for configuring Ethernet device and method for configuring Ethernet device | |
TW201042460A (en) | System, apparatus, and method for fast startup of USB devices | |
JP6387581B2 (en) | Server data port to learn with data switch | |
KR101367036B1 (en) | Method for connecting a remote network and system for connecting a remote network | |
JP7109224B2 (en) | Communication system and upper equipment | |
WO2015111178A1 (en) | Air conditioner operation system | |
JPWO2020053928A1 (en) | How to update the air conditioning system and the program of the air conditioning system | |
JP6878691B2 (en) | Air conditioner system, terminal equipment, air conditioner operation method, program and air conditioner | |
CN109697179A (en) | Hardware resource expands system and heat insertion managing device | |
JP6833044B2 (en) | Air conditioning system | |
JP7101511B2 (en) | Communications system | |
JP7109225B2 (en) | Communications system | |
JP7292512B2 (en) | Air conditioning system, air conditioner, management server, method and program for providing authentication information | |
JP2008146340A (en) | Disk array system, disk array method and disk array program | |
WO2021074984A1 (en) | System, information processing device, air conditioner, method, and program | |
WO2019064401A1 (en) | Communication system, master device and slave device | |
JP2018195895A (en) | Control device, air conditioner, terminal device, control method, and control program | |
JP6964439B2 (en) | Equipment test run system | |
JP4323934B2 (en) | Measuring method of measuring system and measuring method of measuring device | |
US20150022671A1 (en) | Electronic Device, Control Method of Electronic Device and Recording Medium Storing Control Program of Electronic Device | |
JP6571423B2 (en) | Information processing system, device information acquisition method, and program therefor | |
US20170227940A1 (en) | Equipment system and control apparatus | |
KR101907901B1 (en) | Apparatus, method and system for low power wireless network configuration | |
WO2024154242A1 (en) | Air-conditioning system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210216 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20210216 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20211117 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20211130 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220124 |
|
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: 20220621 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220719 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7109224 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |