JP7109224B2 - Communication system and upper equipment - Google Patents

Communication system and upper equipment Download PDF

Info

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
Application number
JP2018062489A
Other languages
Japanese (ja)
Other versions
JP2019176318A (en
Inventor
千穂 西田
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.)
Mitsubishi Electric Engineering Co Ltd
Original Assignee
Mitsubishi Electric Engineering 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 Mitsubishi Electric Engineering Co Ltd filed Critical Mitsubishi Electric Engineering Co Ltd
Priority to JP2018062489A priority Critical patent/JP7109224B2/en
Publication of JP2019176318A publication Critical patent/JP2019176318A/en
Application granted granted Critical
Publication of JP7109224B2 publication Critical patent/JP7109224B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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.

特開2006-29769号公報JP-A-2006-29769

しかしながら、従来の通信システムでは、下位装置毎に、ユーザが、アドレスの設定の要求と、上位装置から通知されたアドレスに対する確定といった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に係る通信システムの構成例を示す図である。BRIEF DESCRIPTION OF THE DRAWINGS It is a figure which shows the structural example of the communication system which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る上位装置の構成例を示す図である。1 is a diagram showing a configuration example of a host device according to Embodiment 1 of the present invention; FIG. この発明の実施の形態1に係る下位装置の構成例を示す図である。It is a figure which shows the structural example of the low-order apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る通信システムによるアドレス設定動作の一例を示すシーケンス図である。FIG. 4 is a sequence diagram showing an example of address setting operation by the communication system according to Embodiment 1 of the present invention; この発明の実施の形態1に係る上位装置による試運転モードでのモニタ動作の一例を示すフローチャートである。4 is a flow chart showing an example of a monitor operation in a test run mode by the host device according to Embodiment 1 of the present invention; 図6A、図6Bは、この発明の実施の形態1に係る上位装置及び下位装置のハードウェア構成例を示す図である。6A and 6B are diagrams showing examples of hardware configurations of a higher-level device and a lower-level device according to Embodiment 1 of the present invention.

以下、この発明の実施の形態について図面を参照しながら詳細に説明する。
実施の形態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-level devices 2 connected via communication lines. This communication system adopts RS-485 communication, and performs serial communication from a higher-level device 1 to a plurality of lower-level devices 2 using a polling selection method.

上位装置1は、図2に示すように、保持部101、モード設定部102、電文作成部103、電文受信部(上位受信部)104、電文送信部(上位送信部)105、送信制御部106及び登録部107を有している。 As shown in FIG. 2, the host device 1 includes a holding unit 101, a mode setting unit 102, a message creation unit 103, a message reception unit (upper-order reception unit) 104, a message transmission unit (upper-order transmission unit) 105, and a transmission control unit 106. and a registration unit 107 .

保持部101は、アドレス(論理的アドレス)が記録されるテーブルを保持する。初期状態では、テーブルには、アドレス設定において下位装置2に対して設定可能な番号のアドレスが全て未使用の状態(下位装置2のアドレスとして登録されていない状態)で記録されている。 The holding unit 101 holds a table in which addresses (logical addresses) are recorded. In the initial state, in the table, all addresses of numbers that can be set for the lower device 2 in address setting are recorded in an unused state (not registered as an address of the lower device 2).

図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 lower device 2 in address setting. In FIG. 1, address (3) is registered in lower device (No. 3), address (4) is registered in lower device (No. 4), and address is not registered in other lower device 2. is shown. In addition, a predetermined first temporary address is registered as an initial address for the lower-level device 2 whose address is not registered. The first temporary address is an address with a number different from the number that can be set for the lower device 2 in address setting. In FIG. 1, the number of the first tentative address is 254. In FIG.

なお、保持部101としては、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable ROM)、EEPROM(Electrically EPROM)等の不揮発性又は揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、又はDVD(Digital Versatile Disc)等が該当する。 Note that the holding unit 101 includes, for example, non-volatile or volatile semiconductor memories such as RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable ROM), EEPROM (Electrically EPROM), Magnetic discs, flexible discs, optical discs, compact discs, mini discs, DVDs (Digital Versatile Discs), and the like are applicable.

なお図2では、上位装置1の内部に保持部101が設けられた場合を示した。しかしながら、これに限らず、上位装置1の外部に保持部101が設けられてもよい。 Note that FIG. 2 shows a case where the holding unit 101 is provided inside the host device 1 . However, without being limited to this, the holding unit 101 may be provided outside the host device 1 .

モード設定部102は、上位装置1の動作モードを設定する。上位装置1の動作モードとしては、通常モード、試運転モード及びアドレス設定モードがある。通常モードは、通常動作を行うモードであり、下位装置2の運転情報をモニタするためのモードである。試運転モードは、下位装置2のアドレスを確認するとともに運転情報をモニタするためのモードである。アドレス設定モードは、試運転モードにおいて上位装置1を操作するユーザにより指示された場合にモード設定部102により切替えられるモードであり、下位装置2に対してアドレス設定を補助するモードである。また、モード設定部102は、電文送信部105により後述するアドレス設定要求電文が送信された後一定期間経過しても電文受信部104により後述する確定電文が受信されない場合、又は、ユーザにより指示された場合に、上位装置1の動作モードをアドレス設定モードから試運転モードに切替える。 Mode setting unit 102 sets the operation mode of host device 1 . Operation modes of the host device 1 include a normal mode, a test run mode, and an address setting mode. The normal mode is a mode for normal operation and a mode for monitoring the operating information of the lower device 2 . The test run mode is a mode for checking the address of the lower device 2 and monitoring the running information. The address setting mode is a mode switched by the mode setting unit 102 when instructed by the user who operates the host device 1 in the test run mode, and is a mode for assisting the address setting for the lower device 2 . Further, the mode setting unit 102 does not receive a confirmation message, which will be described later, by the message receiving unit 104 even after a certain period of time has elapsed after the message transmitting unit 105 has transmitted an address setting request message, which will be described later, or when the message is instructed by the user. In this case, the operation mode of the host device 1 is switched from the address setting mode to the trial operation mode.

電文作成部103は、電文を作成する。
この電文作成部103は、上位装置1が通常モードである場合に、アドレスが登録済みである下位装置2を対象とし、運転情報の送信を要求する電文(状態要求電文)を作成する。この状態要求電文は、識別コード、電文の種別、電文の送信元である自機(上位装置1)のアドレス(送信元アドレス)、及び、電文の送信先のアドレス(送信先アドレス)等を示す情報を有する。なお、電文作成部103は、送信先アドレスとして、テーブルに記録されている使用中のアドレス(下位装置2のアドレスとして登録されているアドレス)を用いる。
The message creating unit 103 creates a message.
When the host device 1 is in the normal mode, the message creating unit 103 creates a message (status request message) requesting transmission of operation information for the lower device 2 whose address has been registered. This status request message indicates the identification code, the type of message, the address (source address) of the self device (upper device 1) that is the source of the message (source address), the address of the destination of the message (destination address), and the like. have information. It should be noted that message creation unit 103 uses the address in use recorded in the table (the address registered as the address of lower device 2) as the destination address.

また、電文作成部103は、上位装置1が試運転モードである場合に、テーブルに記録されている全てのアドレス先を対象とし、運転情報の送信を要求する電文(状態要求電文)を作成する。この状態要求電文は、識別コード、電文の種別、電文の送信元である自機のアドレス(送信元アドレス)、及び、電文の送信先のアドレス(送信先アドレス)等を示す情報を有する。なお、電文作成部103は、送信先アドレスとして、テーブルに記録されている全てのアドレス(使用中のアドレス及び未使用のアドレス)をそれぞれ用いる。 Further, when the host device 1 is in the trial operation mode, the message creating unit 103 creates a message requesting transmission of operation information (status request message) for all addresses recorded in the table. This status request message has information indicating an identification code, a message type, the address of the device that sent the message (source address), the address of the message destination (destination address), and the like. Note that the electronic message creation unit 103 uses all addresses (used addresses and unused addresses) recorded in the table as transmission destination addresses.

また、電文作成部103は、上位装置1がアドレス設定モードである場合に、アドレスが未登録である下位装置2を対象とし、テーブルに記録されている未使用のアドレスのうちの1つ(例えば最も若い番号のアドレス)を通知するアドレス設定要求電文を作成する。このアドレス設定要求電文は、識別コード、電文の種別、電文の送信元である自機のアドレス(送信元アドレス)、電文の送信先のアドレス(送信先アドレス)、及び、未使用のアドレス等を示す情報を有する。なお、電文作成部103は、送信先アドレスとして、第1の仮アドレスを用いる。 Further, when the host device 1 is in the address setting mode, the electronic message creating unit 103 targets the lower device 2 whose address is not registered, and selects one of the unused addresses recorded in the table (for example, create an address setting request message that notifies the address with the lowest number). This address setting request message includes an identification code, type of message, the address of the device that sent the message (source address), the address of the destination of the message (destination address), an unused address, etc. It has the information shown. Note that the electronic message creating unit 103 uses the first temporary address as the destination address.

電文受信部104は、電文の受信を行う。また、電文受信部104は、電文を受信した場合に、電文に含まれる送信先アドレスから当該電文が自機宛ての電文であるかを判断する。そして、電文受信部104は、電文が自機宛ての電文であると判断した場合には当該電文を取得し、電文が自機宛ての電文ではないと判断した場合には当該電文を読み捨てる。 The message receiving unit 104 receives messages. Further, when receiving a message, the message receiving unit 104 determines whether the message is addressed to itself based on the destination address included in the message. The message receiving unit 104 acquires the message when determining that the message is addressed to itself, and discards the message when determining that the message is not addressed to itself.

電文送信部105は、電文の送信を行う。この電文送信部105は、電文作成部103により状態要求電文が作成された場合に、当該状態要求電文をポーリングセレクション方式で送信する。また、電文送信部105は、電文作成部103によりアドレス設定要求電文が作成された場合に、当該アドレス設定要求電文を送信する。
送信制御部106は、電文送信部105による電文の送信を制御する。
The message transmission unit 105 transmits messages. When the message creating unit 103 creates a status request message, the message sending unit 105 sends the status request message by a polling selection method. Further, when the message creating unit 103 creates an address setting request message, the message sending unit 105 sends the address setting request message.
The transmission control unit 106 controls transmission of electronic messages by the electronic message transmission unit 105 .

登録部107は、電文受信部104により確定電文が受信された場合に、テーブルに、当該確定電文により通知されたアドレスを、当該確定電文の送信元である下位装置2のアドレスとして登録する。 When the electronic message receiving unit 104 receives the confirmed electronic message, the registration unit 107 registers the address notified by the confirmed electronic message in the table as the address of the lower device 2 that is the transmission source of the confirmed electronic message.

下位装置2は、図3に示すように、記録部201、電文作成部202、電文受信部(下位受信部)203、電文送信部(下位送信部)204、送信制御部205、表示部206、受付部207及び確定部208を有している。 As shown in FIG. 3, the lower device 2 includes a recording unit 201, a message creation unit 202, a message reception unit (lower order reception unit) 203, a message transmission unit (lower order transmission unit) 204, a transmission control unit 205, a display unit 206, It has a reception unit 207 and a determination unit 208 .

記録部201は、自機(下位装置2)のアドレスを記録する。初期状態では、記録部201は、自機のアドレスとして第1の仮アドレスを記録している。
なお、記録部201としては、例えば、RAM、ROM、フラッシュメモリ、EPROM、EEPROM等の不揮発性又は揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、又はDVD等が該当する。
The recording unit 201 records the address of its own device (lower device 2). In the initial state, the recording unit 201 records the first temporary address as the address of its own device.
Examples of the recording unit 201 include nonvolatile or volatile semiconductor memories such as RAM, ROM, flash memory, EPROM, and EEPROM, magnetic disks, flexible disks, optical disks, compact disks, minidisks, DVDs, and the like. do.

なお図3では、下位装置2の内部に記録部201が設けられた場合を示した。しかしながら、これに限らず、下位装置2の外部に記録部201が設けられてもよい。 Note that FIG. 3 shows the case where the recording unit 201 is provided inside the lower device 2 . However, without being limited to this, the recording unit 201 may be provided outside the lower device 2 .

電文作成部202は、電文を作成する。
この電文作成部202は、電文受信部203により自機宛ての状態要求電文が受信された場合に、当該状態要求電文に対する応答を示す電文(応答電文)を作成する。応答電文は、自機の運転情報を通知する電文である。この応答電文は、識別コード、電文の種別、電文の送信元である自機のアドレス(送信元アドレス)、及び、電文の送信先である上位装置1のアドレス(送信先アドレス)等を示す情報に加え、自機の運転情報(運転状態、温度情報及び冷媒状態等を示す情報)を有する。
The message creating unit 202 creates a message.
When the message receiving unit 203 receives a status request message addressed to itself, the message creation unit 202 creates a message (response message) indicating a response to the status request message. The response message is a message that notifies the operation information of the device itself. This response message contains information indicating the identification code, the type of message, the address of the device itself that is the source of the message (source address), and the address of the host device 1 that is the destination of the message (destination address). In addition to this, it has operating information of its own device (information indicating the operating state, temperature information, refrigerant state, etc.).

また、電文作成部202は、確定部208によりアドレスが確定された場合に、当該確定されたアドレスを通知する電文(確定電文)を作成する。この確定電文は、識別コード、電文の種別、電文の送信元である自機のアドレス(送信元アドレス)、及び、電文の送信先である上位装置1のアドレス(送信元アドレス)等を示す情報を有する。なお、電文作成部202は、送信元アドレスとして、確定部208により確定されたアドレスを用いる。 Further, when the address is confirmed by the confirmation unit 208, the message creating unit 202 creates a message (confirmation message) for notifying the confirmed address. This fixed message is information indicating the identification code, the type of message, the address of the device that sent the message (source address), and the address of the host device 1 that is the destination of the message (source address). have It should be noted that message creation unit 202 uses the address determined by determination unit 208 as the transmission source address.

電文受信部203は、電文の受信を行う。また、電文受信部203は、電文を受信した場合に、電文に含まれる送信先アドレスから当該電文が自機宛ての電文であるかを判断する。そして、電文受信部203は、電文が自機宛ての電文であると判断した場合には当該電文を取得し、電文が自機宛ての電文ではないと判断した場合には当該電文を読み捨てる。 The message receiving unit 203 receives messages. Further, when receiving a message, the message receiving unit 203 determines whether the message is addressed to itself based on the destination address included in the message. The message receiving unit 203 acquires the message when it determines that the message is addressed to itself, and discards the message when it determines that the message is not addressed to itself.

電文送信部204は、電文の送信を行う。この電文送信部204は、電文作成部202により応答電文が作成された場合に、当該応答電文を送信する。また、電文送信部204は、電文作成部202により確定電文が作成された場合に、当該確定電文を送信する。
送信制御部205は、電文送信部204による電文の送信を制御する。
The message transmission unit 204 transmits messages. When the message creation unit 202 creates a response message, the message transmission unit 204 transmits the response message. Further, when the electronic message creating unit 202 creates a final electronic message, the electronic message transmitting unit 204 transmits the final electronic message.
The transmission control unit 205 controls transmission of electronic messages by the electronic message transmission unit 204 .

表示部206は、電文受信部203により自機宛てのアドレス設定要求電文が受信された場合に、当該アドレス設定要求電文により通知された未使用のアドレスを、自機が有する表示器(不図示)に表示する。
受付部207は、表示部206による未使用のアドレスの表示後、ユーザによるアドレスの選択を受付ける。
When the message receiving unit 203 receives an address setting request message addressed to the device itself, the display unit 206 displays the unused address notified by the address setting request message on a display (not shown) of the own device. to display.
After the display unit 206 displays unused addresses, the accepting unit 207 accepts address selection by the user.

確定部208は、受付部207により受付けられたアドレスを、自機のアドレスとして確定して記録部201に登録する。 The confirming unit 208 confirms the address received by the receiving unit 207 as the address of its own device and registers it in the recording unit 201 .

次に、実施の形態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 mode setting unit 102 switches the operation mode from the test run mode to the address setting mode in response to the simple address setting instruction by the user. For example, a simple address setting button is displayed on a display (not shown) of the host device 1, and when the user selects the simple address setting button, the mode setting unit 102 switches the operation mode to the address setting mode.
Then, the message creating unit 103 creates an address setting request message that notifies one of the unused addresses recorded in the table. Note that the electronic message creating unit 103 uses the first temporary address as the destination address.
Then, the message transmitting unit 105 transmits the address setting request message created by the message creation unit 103 under the control of the transmission control unit 106 .

次いで、アドレスが未登録である下位装置2は、アドレス設定要求電文を受信し、ユーザ操作に従ってアドレスの仮設定を行う(ステップST402)。 Next, the lower device 2 whose address is not registered receives the address setting request message and performs provisional setting of the address according to the user's operation (step ST402).

この際、まず、電文受信部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 message receiving unit 203 receives an address setting request message addressed to itself. Since the lower device 2 whose address is not registered has its own address as the first temporary address, it acquires the address setting request message as a message addressed to itself.
Then, the display unit 206 displays the unused address notified by the address setting request message on the display. In FIG. 4, unused addresses are displayed on the displays of the lower device (No. 1), the lower device (No. 2), and the lower device (No. 5).
After the unused addresses are displayed on the display unit 206, the accepting unit 207 accepts address selection by the user. For example, the display unit 206 displays an unused address and an address confirmation button on the display. When the user operating the lower device 2 selects the address confirmation button, the receiving unit 207 receives selection of an unused address. As a result, the lower device 2 can provisionally set the address. The display unit 206 may allow the user to manually select an address other than the unused address, and the reception unit 207 may receive the selection of this other address. FIG. 4 shows a case where the lower device (No. 1) temporarily sets the address.

なお、アドレスが登録済みである下位装置2でもアドレス設定要求電文が受信されるが、この場合に、例えば、当該下位装置2の表示部206は、自機のアドレスを表示器に表示してもよい。
また、アドレスが未登録である下位装置2では、表示器に未使用のアドレスを表示している状態において、更に上位装置1からアドレス設定要求電文を受信した場合には、表示部206は、新しい未使用のアドレスを表示器に表示する。
The address setting request message is also received by the lower-level device 2 whose address has been registered. good.
Further, in the low-level device 2 whose address is not registered, when an address setting request message is further received from the high-level device 1 while an unused address is displayed on the display unit 206, the display unit 206 displays a new address. Display unused addresses on the display.

次いで、下位装置2は、アドレスを確定する(ステップST403)。すなわち、確定部208は、受付部207により受付けられたアドレスを、自機のアドレスとして確定して記録部201に登録する。 Then, lower device 2 determines the address (step ST403). That is, the confirming unit 208 confirms the address received by the receiving unit 207 as the address of its own device and registers it in the recording unit 201 .

次いで、下位装置2は、上位装置1に対して確定電文を送信する(ステップST404)。
この際、まず、電文作成部202は、確定電文を作成する。
そして、電文送信部204は、送信制御部205による制御に従い、電文作成部202により作成された確定電文を上位装置1に送信する。なお、ポーリングセレクション方式では、通常、上位装置1から状態要求電文等の要求電文を送信して下位装置2は要求電文に対する応答電文を送信する形式をとるが、ここでは、例外的に、下位装置2から自発的に電文を送信可能としている。また、電文送信部204は、確定電文を、要求電文及び応答電文が送信される送信期間の空き時間を利用して送信する。
Subsequently, lower device 2 transmits a confirmation message to higher device 1 (step ST404).
At this time, first, the electronic message creating unit 202 creates a final electronic message.
Then, under the control of the transmission control unit 205 , the message transmission unit 204 transmits the confirmation message created by the message creation unit 202 to the host device 1 . In the polling selection method, a request message such as a status request message is normally sent from the upper device 1, and the lower device 2 sends a response message to the request message. 2 can voluntarily transmit telegrams. Further, the electronic message transmitting unit 204 transmits the confirmation electronic message using the vacant time of the transmission period during which the request electronic message and the response electronic message are transmitted.

次いで、上位装置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 message receiving unit 104 receives the confirmation message.
Then, the registration unit 107 registers, in the table, the address notified by the confirmation message received by the message reception unit 104 as the address of the lower-level device 2 that is the source of the confirmation message.

その後、上位装置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 message receiving unit 104 does not receive the confirmation message even after a certain period of time has passed since the message sending unit 105 sent the address setting request message, the mode setting unit 102 changes the operation mode from the address setting mode to the test operation mode. back to
Further, when the lower device 2 does not receive an address setting request message from the higher device 1 for a certain period of time, it returns to normal operation.

このように、実施の形態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 lower device 2 of an unused address and sets the address without receiving a request from the lower device 2 . As a result, the user who operates the lower device 2 only needs to select the address, and the address setting for the lower device 2 can be performed with a simpler operation than the conventional configuration.
Further, when the low-order device 2 is replaced, the high-order device 1 first returns the address of the low-order device 2 before the replacement to the unused state in the table. After that, the host device 1 performs address setting for the post-swapping lower device 2 by the operation shown in FIG.

また上記では、上位装置1において、アドレス設定要求電文を送信後一定期間経過しても確定電文を受信しない場合に、モード設定部102が動作モードをアドレス設定モードから試運転モードに戻す場合を示した。しかしながら、これに限らず、例えば、上位装置1を操作するユーザがアドレス設定の終了を指示した場合にも、モード設定部102が動作モードをアドレス設定モードから試運転モードに戻してもよい。 In the above description, the mode setting unit 102 returns the operation mode from the address setting mode to the test operation mode when the high-level device 1 does not receive the confirmation message even after a certain period of time has passed since the transmission of the address setting request message. . However, the mode setting unit 102 may return the operation mode from the address setting mode to the test operation mode, for example, when the user operating the host device 1 instructs to end the address setting.

次に、上位装置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 message creating section 103 creates a status request message (step ST501). Note that the electronic message creating unit 103 uses all the addresses recorded in the table as the destination addresses.

次いで、電文送信部105は、送信制御部106による制御に従い、電文作成部103により作成された状態要求電文をポーリングセレクション方式で送信する(ステップST502)。
その後、状態要求電文の送信先アドレスと同一のアドレスを自機のアドレスとして登録している下位装置2は、この状態要求電文を受信して応答電文を作成し、この応答電文を上位装置1に返信する。
Next, under the control of transmission control section 106, message transmission section 105 transmits the status request message created by message creation section 103 by the polling selection method (step ST502).
After that, the lower device 2, which has registered as its own address the same address as the destination address of the status request message, receives this status request message, creates a response message, and sends this response message to the upper device 1. Reply.

次いで、電文受信部104は、応答電文を受信する(ステップST503)。その後、シーケンスはステップST501に戻り、上位装置1は、次の送信先アドレスに対する状態要求電文の作成へ移行する。
なお、電文送信部105が状態要求電文を送信した後一定期間経過しても電文受信部104が応答電文を受信しない場合にも、シーケンスはステップST501に戻り、上位装置1は、次の送信先アドレスに対する状態要求電文の作成へ移行する。すなわち、この場合には、上位装置1は、状態要求電文の送信先に下位装置2は存在しないと判断する。
Next, message receiving section 104 receives the response message (step ST503). After that, the sequence returns to step ST501, and the host device 1 proceeds to create a status request message for the next destination address.
Even if the message receiving unit 104 does not receive a response message even after a certain period of time has passed since the message sending unit 105 sent the status request message, the sequence returns to step ST501, and the host device 1 sends the message to the next destination. Move to creating a status request message for the address. That is, in this case, the upper device 1 determines that the lower device 2 does not exist as the destination of the status request message.

このように、実施の形態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 lower device 2 whose address has been set in the address setting mode.

次に、実施の形態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-level device 2 is used as a showcase controller and the higher-level device 1 is used as a higher-level controller that centrally manages a plurality of showcases.
Further, the communication system according to Embodiment 1 can be applied to an air conditioning system using, for example, the lower-level device 2 as a controller for air conditioners and the higher-level device 1 as a higher-level controller that collectively manages a plurality of air conditioners. .

上記では、実施の形態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 unit 101 that holds a table in which addresses are recorded, the message transmission unit 105 that transmits an address setting request message to a temporary address, and the message and the address of the lower-level device 2 that is the source of the confirmed message is added to the table when the confirmed message is received by the message receiving unit 104 that receives the confirmed message. The lower device 2 includes a registration unit 107 for registering as a message, and a message receiving unit 203 for receiving a message, and when the message receiving unit 203 receives an address setting request message addressed to itself, the address setting request A display unit 206 that displays the address notified by the message, a reception unit 207 that receives selection of the address after the address is displayed on the display unit 206, and the address received by the reception unit 207 is determined as the address of the device itself. and an electronic message transmitting unit 204 for transmitting a fixed electronic message notifying the address decided by the fixing unit 208 to the host device 1 . As a result, the communication system according to the first embodiment can set an address for the lower-level device 2 with a simpler operation than the conventional configuration.

最後に、図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 lower device 2 according to the first embodiment will be described. An example of the hardware configuration of the host device 1 will be described below, but the same applies to the host device 2 as well.
The electronic message receiving unit 104 in the host device 1 is realized by the receiving device, and the electronic message transmitting unit 105 is realized by the transmitting device. Also, each function of the mode setting unit 102 , message creation unit 103 , transmission control unit 106 and registration unit 107 in the host device 1 is realized by the processing circuit 51 . The processing circuit 51 may be dedicated hardware, as shown in FIG. 6A, or a CPU (Central Processing Unit, central processing unit, It may be a processing device, an arithmetic device, a microprocessor, a microcomputer, a processor, or a DSP (Digital Signal Processor) 52 .

処理回路51が専用のハードウェアである場合、処理回路51は、例えば、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)、又はこれらを組み合わせたものが該当する。モード設定部102、電文作成部103、送信制御部106及び登録部107の各部の機能それぞれを処理回路51で実現してもよいし、各部の機能をまとめて処理回路51で実現してもよい。 When the processing circuit 51 is dedicated hardware, the processing circuit 51 may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate). Array), or a combination thereof. The functions of the mode setting unit 102, the message creation unit 103, the transmission control unit 106, and the registration unit 107 may be realized by the processing circuit 51, or the functions of each unit may be collectively realized by the processing circuit 51. .

処理回路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 processing circuit 51 is the CPU 52, the functions of the mode setting unit 102, the message creation unit 103, the transmission control unit 106, and the registration unit 107 are realized by software, firmware, or a combination of software and firmware. Software and firmware are written as programs and stored in the memory 53 . The processing circuit 51 implements the function of each part by reading and executing the program stored in the memory 53 . That is, the host device 1 includes a memory 53 for storing a program that, when executed by the processing circuit 51, results in execution of the steps shown in FIGS. 4 and 5, for example. It can also be said that these programs cause the computer to execute the procedures and methods of the mode setting unit 102 , the message creation unit 103 , the transmission control unit 106 and the registration unit 107 . Examples of the memory 53 include nonvolatile or volatile semiconductor memories such as RAM, ROM, flash memory, EPROM, and EEPROM, magnetic disks, flexible disks, optical disks, compact disks, minidisks, DVDs, and the like. do.

なお、モード設定部102、電文作成部103、送信制御部106及び登録部107の各機能について、一部を専用のハードウェアで実現し、一部をソフトウェア又はファームウェアで実現するようにしてもよい。例えば、モード設定部102については専用のハードウェアとしての処理回路51でその機能を実現し、電文作成部103、送信制御部106及び登録部107については処理回路51がメモリ53に格納されたプログラムを読み出して実行することによってその機能を実現することが可能である。 The functions of the mode setting unit 102, the electronic message creation unit 103, the transmission control unit 106, and the registration unit 107 may be partly implemented by dedicated hardware and partly implemented by software or firmware. . For example, the function of the mode setting unit 102 is realized by a processing circuit 51 as dedicated hardware. It is possible to realize the function by reading and executing the .

このように、処理回路51は、ハードウェア、ソフトウェア、ファームウェア、又はこれらの組み合わせによって、上述の各機能を実現することができる。 Thus, the processing circuitry 51 can implement each of the functions described above by means of hardware, software, firmware, or a combination thereof.

なお、本願発明はその発明の範囲内において、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。 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 .
JP2018062489A 2018-03-28 2018-03-28 Communication system and upper equipment Active JP7109224B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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