JP2011171944A - Power line carrier communication control system, power line carrier communication control program, and power line carrier communication control method - Google Patents
Power line carrier communication control system, power line carrier communication control program, and power line carrier communication control method Download PDFInfo
- Publication number
- JP2011171944A JP2011171944A JP2010032939A JP2010032939A JP2011171944A JP 2011171944 A JP2011171944 A JP 2011171944A JP 2010032939 A JP2010032939 A JP 2010032939A JP 2010032939 A JP2010032939 A JP 2010032939A JP 2011171944 A JP2011171944 A JP 2011171944A
- Authority
- JP
- Japan
- Prior art keywords
- ram
- input
- setting information
- terminal
- power line
- 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
Links
Images
Abstract
Description
本発明は、多元的な制御を実現可能な電力線搬送通信制御システム、電力線搬送通信制御プログラム、及び電力線搬送通信制御方法に関する。 The present invention relates to a power line carrier communication control system, a power line carrier communication control program, and a power line carrier communication control method capable of realizing multiple control.
産業分野における電力線搬送通信(以下、PLCと称する。)ネットワークシステムは、変調/復調器(以下、PLCモデムと称する。)を介して、1個の統括端末(O/I)と複数の操作端末(I/O)とで構成されている。そして、「1(O):n(I)」若しくは、「1(I):n(O)」(nは整数として、ネットワーク上のアドレス番号を付与する)の制御形態をとり、破綻のない一元的な制御システムを基本にしている。 A power line carrier communication (hereinafter referred to as “PLC”) network system in the industrial field includes one control terminal (O / I) and a plurality of operation terminals via a modulator / demodulator (hereinafter referred to as “PLC modem”). (I / O). Then, a control mode of “1 (O): n (I)” or “1 (I): n (O)” (where n is an integer and an address number on the network is assigned) is adopted, and there is no failure. Based on a centralized control system.
このため、通信手段に制約がある場合に、情報量が比較的小さく高信頼性を要求される一元的な遠隔制御を実現する際(例えば、新幹線のATC(自動列車制御装置))、PLCネットワークシステムは有効なシステムとして位置づけられている。 For this reason, when there is a restriction on communication means, when realizing centralized remote control that requires a relatively small amount of information and high reliability (for example, ATC (automatic train control device) of Shinkansen), a PLC network The system is positioned as an effective system.
通信のプロトコルでPLCネットワークシステムを見た場合、「1:n」の「1」側がマスタ機(統括端末を接続)、「n」側が複数のスレーブ機(各々に操作端末を接続)となり、マスタ機はスレーブ機を順に周回して情報の授受を行っている(例えば、特許文献1参照。)。PLCモデムの操作端末側の信号形態は、PLCネットワークシステムの通信プロトコルを直接反映したシリアルポートになり、そのままでは2端子を基本とする操作端末に整合しないので、PLCモデムと操作端末の間に何らかの接続インターフェースを付加する使用形態をとる。多くのPLCネットワークシステムでは、操作端末を入力専用/出力専用にしたシステム形態であるため、PLCモデムの操作端末側が双方向(1個の操作端末でI/Oを扱える)の接続インターフェース機能を持たせる仕様は特別扱いになっている。 When the PLC network system is viewed with a communication protocol, the “1: n” “1” side is the master unit (connected to the central terminal), and the “n” side is a plurality of slave units (each connected to the operation terminal). The machine circulates the slave machines in order to exchange information (for example, see Patent Document 1). The signal form on the operation terminal side of the PLC modem is a serial port that directly reflects the communication protocol of the PLC network system and does not match the operation terminal based on two terminals as it is, so there is something between the PLC modem and the operation terminal. It takes the usage form of adding a connection interface. Many PLC network systems have a system configuration in which the operation terminal is dedicated to input / output only, so the operation terminal side of the PLC modem has a bi-directional (one I / O can handle I / O) connection interface function. The specifications to be made are special.
しかしながら、上記従来のPLCネットワークシステムにて、棟別・階別・部屋別・パーテーション仕切り毎のグループとその中の小グループに分割された各操作端末を連携制御する場合には、多元的な制御が必要が必要となり、「1:n」の単純な一元的な制御のままでは要求に対応できない。 However, when the above-mentioned conventional PLC network system controls the operation terminals divided into a group for each building, floor, room, partition partition and each of the operation terminals divided into multiple groups, multiple control is required. Therefore, it is not possible to respond to the request with the simple centralized control of “1: n”.
ここで、多元化のためにPLCネットワークシステムの安易な複数化は、ネットワーク内の混信や機能分散の損失によるコスト高を招くばかりか、最大の特長である一元的な制御を否定してしまう。また、総括端末の主プログラムを組換えてPLCネットワークシステムの多元化を行う場合、難易度やプログラムの規模からして編集設計とはならず、設計工数やメンテナンスのための準備工数が長大となり現実的でない。 Here, the easy pluralization of the PLC network system for diversification causes not only high cost due to interference in the network and loss of function distribution, but also denies unified control which is the greatest feature. In addition, when the main program of the general terminal is recombined and the PLC network system is diversified, the editing design is not performed due to the difficulty and the scale of the program. Not right.
本発明は上記事情に鑑みて成されたものであり、一元的な制御を維持しながら見かけ上の制御を多元化することができる電力線搬送通信制御システム、電力線搬送通信制御プログラム、及び電力線搬送通信制御方法を提供することを目的とする。 The present invention has been made in view of the above circumstances, and a power line carrier communication control system, a power line carrier communication control program, and a power line carrier communication capable of diversifying apparent control while maintaining unified control. An object is to provide a control method.
本発明は、上記課題を解決するため、以下の手段を採用する。
本発明に係る電力線搬送通信制御システムは、電力線を介した通信ネットワークと接続された複数の入出力端末の一群と、該入出力端末群の前記入出力端末の各々と接続されて、前記入出力端末の設定情報が入出力される操作端末と、同一の大きさ及びセクタ領域とされて、前記入出力端末及び前記操作端末の設定情報が格納される、第一RAM、第二RAM、第三RAM、第四RAMと、前記設定情報を管理する制御部と、を有して、前記通信ネットワークと前記電力線を介して接続された通信統括端末と、前記設定情報に係る信号の変調と復調とを行う電力線モデムを有して、前記通信統括端末、前記入出力端末、及び前記操作端末のぞれぞれと1対1で接続される通信部と、を備え、前記制御部が、前記第一RAMに格納されていた設定情報を前記第二RAMへ、及び、前記第三RAMに格納されていた設定情報を前記第四RAMへ移設する転送部と、前記入出力端末及び前記操作端末の最新の設定情報を前記操作端末から読み込む読出部と、読み込まれた設定情報を前記第一RAM又は第三RAMに記憶する格納部と、前記第一RAM及び前記第二RAMに格納されたそれぞれの設定情報、又は前記第三RAM及び前記第四RAMに格納されたそれぞれの設定情報を対比する比較部と、差異のあった設定情報を有する前記入出力端末及び前記操作端末を選択して、当該入出力端末及び操作端末に対して新たな設定情報の書込みを行う書換部と、を備えていることを特徴とする。
The present invention employs the following means in order to solve the above problems.
A power line carrier communication control system according to the present invention includes a group of a plurality of input / output terminals connected to a communication network via a power line and the input / output terminals connected to each of the input / output terminals of the input / output terminal group. The first RAM, the second RAM, and the third RAM, which have the same size and sector area as the operation terminal to which the terminal setting information is input / output, and store the setting information of the input / output terminal and the operating terminal. A communication control terminal that includes a RAM, a fourth RAM, and a control unit that manages the setting information, and is connected to the communication network via the power line; and modulation and demodulation of a signal related to the setting information A communication unit that has a power line modem that performs one-to-one connection with each of the communication control terminal, the input / output terminal, and the operation terminal, and the control unit includes: Configuration stored in one RAM A transfer unit for transferring information to the second RAM and setting information stored in the third RAM to the fourth RAM; and the latest setting information of the input / output terminal and the operation terminal to the operation terminal. A reading unit that reads from the storage unit, a storage unit that stores the read setting information in the first RAM or the third RAM, and setting information stored in the first RAM and the second RAM, or the third RAM. And a comparison unit that compares the setting information stored in the fourth RAM, and the input / output terminal and the operation terminal having different setting information are selected, and the input / output terminal and the operation terminal are selected. And a rewriting unit for writing new setting information.
この発明は、操作端末から読み込んで第一RAMに格納された操作端末及び各入出力端末の設定情報と、第二RAMに格納された操作端末及び各入出力端末の設定情報と、を通信統括端末内で対比する。この際、差異がない場合には特に処理を行わない一方、差異があった場合には、新旧の設定情報に差異のあった操作端末及び該当する入出力端末のみ、更新後の設定情報を第三RAMに書き込む。そして、第四RAMに格納された操作端末及び各入出力端末の設定情報と対比して、差異のある操作端末及び各入出力端末のみに対して設定情報の書換を行う。したがって、通信統括端末は、設定情報に変化のあった操作端末及びその入出力端末のみと通信を行うことにより、操作端末及び入出力端末との通信を必要最小限とすることができる。 The present invention controls communication between the setting information of the operation terminal and each input / output terminal read from the operation terminal and stored in the first RAM, and the setting information of the operation terminal and each input / output terminal stored in the second RAM. Contrast within the terminal. At this time, if there is no difference, no particular processing is performed. If there is a difference, only the operation terminal and the corresponding input / output terminal having the difference between the old and new setting information are updated. Write to three RAMs. Then, in contrast to the setting information stored in the fourth RAM and the operation terminal and each input / output terminal, the setting information is rewritten only for the operation terminal and each input / output terminal having a difference. Therefore, the communication control terminal can minimize the communication with the operation terminal and the input / output terminal by communicating only with the operation terminal whose setting information has changed and the input / output terminal thereof.
また、本発明に係る電力線搬送通信制御システムは、前記電力線搬送通信制御システムであって、前記一群の入出力端末がそれぞれ接続された前記操作端末を複数備え、一の操作端末における前記入出力端末の各々の新旧の設定情報に差異がない場合に、前記読出部が、他の操作端末の設定情報を順次読み込むことを特徴とする。 The power line carrier communication control system according to the present invention is the power line carrier communication control system, comprising a plurality of the operation terminals to which the group of input / output terminals are respectively connected, and the input / output terminals in one operation terminal. When there is no difference between the old and new setting information, the reading unit sequentially reads setting information of other operation terminals.
この発明は、操作端末が複数ある場合に、操作端末における入出力端末群の設定情報の変化の有無を順次確認することによって、変化のあった操作端末及びその入出力端末のみに対して設定情報の変更を行い、変化のなかったものに対しては通信を行わない。したがって、多数の操作端末が接続されていても、通信時間を抑えて必要最小限の処理を行うことができる。 In the present invention, when there are a plurality of operation terminals, the setting information for only the changed operation terminal and the input / output terminal is confirmed by sequentially checking whether or not the setting information of the input / output terminal group in the operation terminal has changed. If there is no change, communication is not performed. Therefore, even when a large number of operation terminals are connected, the minimum necessary processing can be performed while reducing the communication time.
また、本発明に係る電力線搬送通信制御システムは、前記電力線搬送通信制御システムであって、前記通信部が、前記通信統括端末と接続された第一通信部と、前記入出力端末又は前記操作端末のぞれぞれと1対1で接続された第二通信部と、を備え、前記第一通信部の前記通信ネットワーク上のアドレス番号が0とされ、前記第二通信部の前記通信ネットワーク上におけるそれぞれのアドレス番号と、前記第一RAM、前記第二RAM、前記第三RAM、及び前記第四RAMのセクタ番号とが対応付けされ、前記比較部が、前記第一RAM及び前記第二RAMにおける同一の前記セクタ番号のセクタ内に格納された前記設定情報同士を比較するとともに、前記第三RAM及び前記第四RAMにおける同一の前記セクタ番号のセクタ内に格納された前記設定情報同士を比較することを特徴とする。 The power line carrier communication control system according to the present invention is the power line carrier communication control system, wherein the communication unit is connected to the communication control terminal, the input / output terminal, or the operation terminal. A second communication unit connected one-to-one with each of the first communication unit, the address number on the communication network of the first communication unit is 0, and the second communication unit on the communication network Are associated with sector numbers of the first RAM, the second RAM, the third RAM, and the fourth RAM, and the comparing unit is configured to associate the first RAM and the second RAM with each other. The setting information stored in the sector with the same sector number is compared with each other and stored in the sector with the same sector number in the third RAM and the fourth RAM. And comparing the setting information to each other that.
この発明は、通信統括端末の第一RAM、第二RAM、第三RAM、第四RAMの同一のセクタ番号のセクタ内には、そのアドレス番号として特定される操作端末又は入出力端末の設定情報が格納される。したがって、アドレス番号に対応するセクタ番号のセクタに格納された設定情報をトレースすることにより、各入出力端末と直接通信することなく設定情報の変化の有無を判別することができる。そして、変化のあった操作端末及び入出力端末とのみ通信を行うことにより、的確で円滑な多元的制御を実現することができる。 The present invention provides the setting information of the operation terminal or input / output terminal specified as the address number in the sector of the same sector number in the first RAM, second RAM, third RAM, and fourth RAM of the communication control terminal. Is stored. Therefore, by tracing the setting information stored in the sector having the sector number corresponding to the address number, it is possible to determine whether the setting information has changed without directly communicating with each input / output terminal. And by communicating only with the operation terminal and input / output terminal which have changed, exact and smooth multi-dimensional control is realizable.
本発明に係る電力線搬送通信制御プログラムは、コンピュータを前記制御部として機能させることを特徴とする。 The power line carrier communication control program according to the present invention causes a computer to function as the control unit.
また、本発明に係る電力線搬送通信制御方法は、電力線を介した通信ネットワークと接続された一群の入出力端末と、該入出力端末群と接続されて前記入出力端末の各々の設定情報が入出力される操作端末と、を通信統括端末によって一元管理する電力線搬送通信制御方法であって、前記操作端末及びこれに入力された前記入出力端末群の設定情報を読み込む読出工程と、読み込まれた前記操作端末及び前記入出力端末群の設定情報を記憶する格納工程と、読み込み前後の前記操作端末及び前記入出力端末群の設定情報を対比する比較工程と、読み込み前後の設定情報に差異のあった前記操作端末及び前記入出力端末を選択して、当該操作端末及び入出力端末に対して、新たな設定情報の書込みを行う書換工程と、を備えていることを特徴とする。 The power line carrier communication control method according to the present invention includes a group of input / output terminals connected to a communication network via a power line, and setting information of each of the input / output terminals connected to the input / output terminal group. A power line carrier communication control method for centrally managing an operation terminal to be output by a communication control terminal, a reading step for reading setting information of the operation terminal and the input / output terminal group input thereto, There is a difference between the storing step for storing the setting information of the operation terminal and the input / output terminal group, the comparison step for comparing the setting information of the operation terminal and the input / output terminal group before and after reading, and the setting information before and after reading. A rewriting step of selecting the operation terminal and the input / output terminal and writing new setting information to the operation terminal and the input / output terminal. That.
この発明は、読み込み前後の操作端末及び各入出力端末の設定情報を対比して、両社の間に差異がない場合には特に処理を行わない一方、差異があった場合には、該当する操作端末及び入出力端末のみに対して、更新後の設定情報を書き込む。この際、通信統括端末は、設定情報に変化のあった操作端末及びその入出力端末のみと通信を行う。したがって、操作端末及び入出力端末との通信を必要最小限とすることができる。 The present invention compares the setting information of the operation terminal before and after reading and each input / output terminal and does not perform any particular processing if there is no difference between the two companies, while if there is a difference, the corresponding operation The updated setting information is written only to the terminal and the input / output terminal. At this time, the communication control terminal communicates only with the operation terminal whose setting information has changed and its input / output terminal. Therefore, communication with the operation terminal and the input / output terminal can be minimized.
また、本発明に係る電力線搬送通信制御方法は、前記電力線搬送通信制御方法であって、前記一群の入出力端末がそれぞれ接続された複数の前記操作端末に対して、前記比較工程にて、一の操作端末における設定情報に変化がない場合には、他の操作端末に移行して前記読出工程を行うことを特徴とする。 The power line carrier communication control method according to the present invention is the power line carrier communication control method, wherein a plurality of operation terminals to which the group of input / output terminals are respectively connected are compared with each other in the comparison step. When there is no change in the setting information in the operating terminal, the reading process is performed by moving to another operating terminal.
本発明によれば、電力線を介した通信ネットワークと接続された一群の入出力端末と、該入出力端末群と接続されて入出力端末の各々の設定情報が入出力される操作端末と、を通信統括端末にて一元的な制御を維持しながら、操作端末における見かけ上の制御を多元化することができる。 According to the present invention, a group of input / output terminals connected to a communication network via a power line, and an operation terminal connected to the input / output terminal group for inputting / outputting setting information of each of the input / output terminals. The apparent control at the operation terminal can be diversified while maintaining the central control at the communication control terminal.
本発明に係る一実施形態について、図1から図4を参照して説明する。
本実施形態に係る電力線搬送通信制御システム1は、図1に示すように、電力線Wを介した通信ネットワークNと接続された複数の入出力端末2からなる入出力端末群3A,3Bと、入出力端末群3A,3Bのそれぞれと接続される操作端末5,6と、通信ネットワークNと電力線Wを介して接続された通信統括端末7と、通信統括端末7、入出力端末2、及び操作端末5,6のぞれぞれと1対1で接続される通信部8と、を備えている。
An embodiment according to the present invention will be described with reference to FIGS.
As shown in FIG. 1, the power line carrier
入出力端末2は、電力が供給されて作動する負荷部10と、仕事に必要な処理を行う端末側マイクロコントローラ11と、通信部8とのインタフェース部12と、を備えている。ここで、入出力端末2によっては、負荷部10と通信部8との間の情報の流れが、通信部8から負荷部10へ向かう方向のものだけでなく、入出力端末2Aのように、負荷部10から通信部8へ向かう方向のものでもよい。
The input /
操作端末5,6は、通信部8とのインタフェース部15と、接続された各入出力端末2の設定情報が入力される操作部16と、各入出力端末2の設定情報が表示される表示部17と、電力線Wと接続された電源部18と、これらに対して必要な処理を行うプログラムが格納された操作側マイクロコントローラ20と、を備えている。
The
通信統括端末7は、設定情報の処理を行う統括側マイクロコントローラ(制御部)21と、通信部8とのインタフェース部22と、操作端末5,6及び各入出力端末2の設定情報が入力される操作部23及びその設定情報が表示される表示部25と、同一の大きさ及びセクタ数とされて、操作端末5,6及び各入出力端末2の設定情報が格納される第一RAM(Random Access Memory)26、第二RAM27、第三RAM28、第四RAM30と、ROM(Read Only Memory)31と、電力線Wと接続された電源部32と、を備えている。
The
統括側マイクロコントローラ21は、機能手段(プログラムモジュール)として、図2に示すように、第一RAM26に格納されていた設定情報を第二RAM27へ、又は、第三RAM28に格納されていた設定情報を第四RAM30へ移設する転送部33と、入出力端末2及び操作端末5,6の最新の設定情報を操作端末5,6から読み込む読出部35と、読み込まれた設定情報を第一RAM26又は第三RAM28に記憶させる格納部36と、第一RAM26及び第二RAM27に格納されたそれぞれの設定情報、又は第三RAM28及び第四RAM30に格納されたそれぞれの設定情報を対比する比較部37と、差異のあった設定情報を有する入出力端末2及び操作端末5,6を選択して、当該入出力端末及び操作端末に対して新たな設定情報の書込みを行う書換部38と、を備えた処理プログラムPに基づき、所定の処理を行う。
As shown in FIG. 2, the supervising
ROM31には、操作端末5,6のそれぞれと接続された入出力端末群3A,3Bのグループ情報や、処理プログラムPに基づく処理手順等が格納されている。ROM31の大きさや構造は、第一RAM26、第二RAM27、第三RAM28、第四RAM30と同一となっている。
The
通信部8は、通信統括端末7と接続された第一通信部40と、入出力端末2又は操作端末5,6のぞれぞれと1対1で接続された第二通信部41と、を備えている。第一通信部40は、設定情報に係る信号の変調と復調とを行う電力線モデム42と、通信統括端末7とのインタフェース部43と、電力線Wと接続された電源部45と、通信処理を行う通信用マイクロコントローラ46と、I/O用の内部メモリ47と、を備えている。第二通信部41も第一通信部40と略同一の構成となっている。内部メモリ47の大きさや構造は、第一RAM26、第二RAM27、第三RAM28、第四RAM30、及びROM31と同一となっている。
The
第一通信部40は、通信ネットワークN上のアドレス番号が0とされている。また、第二通信部41の通信ネットワークN上におけるそれぞれのアドレス番号と、第一RAM26、第二RAM27、第三RAM28、第四RAM30の各セクタ番号とが対応付けされている。そして、比較部37は、第一RAM26及び第二RAM27における同一のセクタ番号内に格納された設定情報同士を比較するとともに、第三RAM28及び第四RAM30における同一のセクタ番号内に格納された設定情報同士を比較する。
The
設定情報のバイト数は、通信部8の内部メモリ47、及びROM31、第一RAM26、第二RAM27、第三RAM、第四RAM30の各セクタの領域(バイト数)と同一となっている。このとき、例えば、設定情報の通信電文の図3(a)に示すような先頭データにセクタ番号が割り当てられる。ここで、メモリのアドレス番号の上位8bitがセクタ番号とされ、メモリのアドレス番号の下位8bitがセクタのアドレス番号となる。このように、セクタのアドレス番号を展開して二次元化したものに、セクタ番号を組み合わせることにより、ROM31や第一RAM26、第二RAM27、第三RAM28、第四RAM30を三次元の階層構造としている。
The number of bytes of the setting information is the same as the area (number of bytes) of each sector of the
ここで、一通信電文で読み込み/書込み可能な最大バイト数を16バイトとすると、256バイトを対象にした場合、最大16回の読み込み/書込みが実行される。読み込み/書込みの識別は、図3(b)に示すように、例えば、指令電文を構成するデータの一つにおける上位1bit目にて識別する。 Here, assuming that the maximum number of bytes that can be read / written in one communication message is 16 bytes, a maximum of 16 reads / writes are executed when 256 bytes are targeted. As shown in FIG. 3B, the read / write is identified by, for example, the first bit in one of the data constituting the command message.
次に、本実施形態における電力線搬送通信制御方法について、電力線搬送通信制御システム1の作用と合わせて説明する。
この方法及びその処理プログラムPによる処理は、図4に示すように、転送工程(S01)と、読出工程(S02)と、格納工程(S03)と、比較工程(S04)と、書換工程(S05)と、を備えている。
Next, the power line carrier communication control method in the present embodiment will be described together with the operation of the power line carrier
As shown in FIG. 4, this method and the processing by the processing program P include a transfer step (S01), a reading step (S02), a storing step (S03), a comparing step (S04), and a rewriting step (S05). ) And.
転送工程(S01)は、第一RAM26に格納されていた設定情報を第二RAM27へ、及び、第三RAM28に格納されていた設定情報を第四RAM30へ移設する。
In the transfer step (S01), the setting information stored in the
読出工程(S02)は、読み込み対象とされた操作端末5,6又は操作端末5,6と接続された第二通信部41のアドレス番号を指定するとともに、指定された操作端末5,6、及びこの操作端末5,6における入出力端末2の最新の設定情報を読み込む。
In the reading step (S02), the address number of the
格納工程(S03)は、読み込まれた設定情報を、上記アドレス番号に対応する第一RAM26のセクタ内に記憶し、格納工程(S13)は、読み込まれた設定情報を、上記アドレス番号に対応する第三RAM28のセクタ内に記憶する。
The storing step (S03) stores the read setting information in the sector of the
比較工程(S04)は、第一RAM26及び第二RAM27の所定のセクタに格納されたそれぞれの設定情報を対比する。また、比較工程(S14)は、第三RAM28及び第四RAM30の所定の番号のセクタ内に格納されたそれぞれの設定情報を対比する。
In the comparison step (S04), the setting information stored in the predetermined sectors of the
書換工程(S05)は、差異のあった設定情報を有する入出力端末2及び操作端末5,6のみを選択して、当該入出力端末及び操作端末に対して新たな設定情報の書込みを行う。
In the rewriting step (S05), only the input /
この電力線搬送通信制御システム1及び電力線搬送通信制御方法を用いた制御動作について説明する。
A control operation using the power line carrier
まず、転送工程(S01)にて、第一RAM26に格納されていた設定情報が第二RAM27に移設される。また、第三RAM28に格納されていた設定情報が第四RAM30へ移設される。
First, in the transfer step (S01), the setting information stored in the
次に、読出工程(S02)にて、まずは、操作端末5と接続された第二通信部41のアドレス番号を指定するとともに、指定された操作端末5における入出力端末2及び操作端末5の最新の設定情報を操作端末5から読み込む。
Next, in the reading step (S02), first, the address number of the
そして、格納工程(S03)に移行して、読み込まれた設定情報を、上記アドレス番号に対応するセクタ番号の第一RAM26のセクタ内に記憶する。
Then, the process proceeds to the storing step (S03), and the read setting information is stored in the sector of the
続いて、比較工程(S04)に移行して、第一RAM26及び第二RAM27の所定のセクタ番号に該当するセクタに格納されたそれぞれの設定情報を対比する。
Subsequently, the process proceeds to the comparison step (S04), and the setting information stored in the sectors corresponding to the predetermined sector numbers in the
このとき、設定情報に変化がない場合には、読出工程(S02)に移行して、操作端末6と接続された第二通信部41のアドレス番号を指定するとともに、指定された操作端末6における入出力端末2及び操作端末6の最新の設定情報を操作端末6から読み込む。そして、同様に、格納工程(S03)、比較工程(S04)を実施する。
At this time, if there is no change in the setting information, the process proceeds to the reading step (S02), where the address number of the
一方、操作端末6に接続された入出力端末群3Bの一つの入出力端末2の設定情報が、操作端末6の操作部16への入力によって更新された場合には、比較工程(S04)にて、該当する操作端末6及び入出力端末2の設定情報の対比結果が異なったものとなる。このときには格納工程(S13)に移行して、差異のあった設定情報から、該当する入出力端末2及び操作端末6のアドレス番号を指定して、更新された設定情報を第三RAM28の該当するセクタに書き込む。
On the other hand, when the setting information of one input /
次に、比較工程(S14)に移行して、第三RAM及び第四RAM30の所定のセクタ番号に対応するセクタ内に格納されたそれぞれの設定情報を対比する。そして、書換工程(S05)に移行して、差異のあった設定情報から、該当する入出力端末2及び操作端末6と接続された第二通信部41のそれぞれのアドレス番号のみを選択して、当該入出力端末2及び操作端末6に対して新たな設定情報の書込みを第一通信部40及び第二通信部41を介して行う。
Next, the process proceeds to the comparison step (S14), and the setting information stored in the sector corresponding to the predetermined sector number of the third RAM and the
この電力線搬送通信制御システム1及び電力線搬送通信制御方法によれば、指定されたアドレス番号の第二通信部41と接続された操作端末5,6から読み込んで第一RAM26に格納された操作端末5,6及び入出力端末2の設定情報と、第二RAM27に格納された操作端末5,6及び各入出力端末2の読み込み前の設定情報と、を通信統括端末7内で対比する。この際、両者の間で差異がない場合には特に処理を行わない一方、差異があった場合には、差異のあった操作端末5,6及び該当する入出力端末2のみ、更新後の設定情報を第三RAM28に書き込む。そして、第四RAM30に格納された操作端末5,6及び入出力端末2の設定情報と対比して、差異のある操作端末5,6及び入出力端末2のみに対して設定情報の書換を行う。これにより、通信統括端末7は、設定情報に変化のあった操作端末5,6及びその入出力端末2のみと通信を行う。
According to the power line carrier
したがって、操作端末5,6及び入出力端末2との通信回数を必要最小限とすることができ、一元的な制御を維持しながら、見かけ上の制御を図5に示すような多元的な制御と同様の制御を行うことができる。この結果、例えば、通信統括端末7に、操作端末5,6の設定に対する制御上の割り込みを行わせることができる。また、これに関連して、各操作端末5,6においては、グループ全体のリモート(割り込み許可)設定操作を行うことができる。
Therefore, the number of times of communication with the
特に、複数の操作端末5,6に対して、操作端末毎に、接続された入出力端末群3A,3Bの設定情報の変化の有無を順次確認することによって、変化のあった操作端末5,6及びその入出力端末2のみに対して設定情報の変更を行い、変化のなかったものに対しては通信を行わない。そのため、操作端末が多数接続されていても、通信時間を抑えて必要最小限の処理を行うことができる。
In particular, for each of the plurality of
また、第一通信部40の通信ネットワークN上のアドレス番号が0とされ、第二通信部41の通信ネットワークN上におけるそれぞれのアドレス番号と、第一RAM26、第二RAM27、第三RAM28、第四RAM30、及びROM31のセクタ番号とが対応付けとされ、第一RAM26、第二RAM27、第三RAM28、第四RAM30の同一のセクタ番号のセクタ内には、同一のアドレス番号として特定される操作端末5,6又は入出力端末2毎の設定情報が格納される。そして、比較部37が、第一RAM26及び第二RAM27における同一のセクタ番号のセクタ内に格納された設定情報同士を比較するとともに、第三RAM28及び第四RAM30における同一のセクタ番号のセクタ内に格納された設定情報同士を比較する。
Further, the address number on the communication network N of the
そのため、セクタに格納された設定情報をトレースすることにより、各入出力端末2と直接通信することなく設定情報の変化の有無を判別することができる。そして、変化のあった操作端末5,6及び入出力端末2とのみ通信を行うことにより、的確で円滑な多元的制御を実現することができる。
Therefore, by tracing the setting information stored in the sector, it is possible to determine whether the setting information has changed without directly communicating with each input /
さらに、ROM31内にプログラムPを格納することにより、ROM31をリムーバブルメモリとすることもでき、構築されるシステムに合わせてROM31に格納された処理プログラムPのみを編集することができる。
Furthermore, by storing the program P in the
なお、本発明の技術範囲は上記実施の形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲において種々の変更を加えることが可能である。
例えば、操作端末5,6及び入出力端末群3A,3Bの数は、それぞれ2つずつとしているが、これに限らず、1つずつでも、3つ以上ずつでも構わない。また、設定情報のバイト数は256バイトに限定されることはなく、512バイト等、特に制限はない。
The technical scope of the present invention is not limited to the above embodiment, and various modifications can be made without departing from the spirit of the present invention.
For example, the numbers of the
上記実施形態において、入出力端末2としての灯具が第二通信部41と接続され、さらに、電力線Wを介して、操作部16として操作スイッチ及び表示部17として設定モニタを有する操作端末5,6としての操作パネルと接続されるとともに、通信統括端末7としての統括管理パネルと接続された灯具管理システムとする。この際、部屋毎に操作パネルが分かれて設置されているとする。このとき、ある部屋の灯具を消灯状態から点灯状態にするために、該当する部屋の操作パネルの操作スイッチをONとすることにより、当該操作パネル及び当該灯具の設定状態が変更されたことになる。
In the above-described embodiment, the lamp as the input /
通信統括端末7は、転送工程(S01)を行った後、各操作パネルに対して、読出工程(S02)から比較工程(S04)までを順に行う。この際、設定情報に変更のない操作パネルの場合には、次の部屋の操作パネルに移行して、設定情報が変更された操作パネルにたどりつくまでこれを繰り返す。
After performing the transfer process (S01), the
一方、変更のあった操作パネルの設定情報を読み込んだ際には、この操作パネルの設定情報を第一RAM26に格納し、第二RAM27に格納された一周回前の設定情報と比較したときには、両者に差異があることになる。そこで、比較工程(S04)のあと、格納工程(S03)に移行して当該操作パネル及び当該灯具に関する設定情報を第三RAM28に記憶する。そして、比較工程(S04)に移行して第四RAM30に格納された設定情報と対比して、さらに書換工程(S05)にて差異のある操作パネル及び灯具のみに対して設定情報の書換を行う。これにより、当該操作パネルの当該灯具に係る設定モニタに表示される情報が消灯状態から点灯状態に書き換えられ、当該灯具が消灯状態から点灯状態となる。
On the other hand, when the setting information of the changed operation panel is read, the setting information of the operation panel is stored in the
なお、入出力端末2の一つを人感センサとして、人感センサからの入力情報に基づいて該当する操作パネルの設定情報を変更させるようにしてもよい。また、灯具管理システムに限らず、ホテルの客室の管理システムや、警報システム、温室の管理システム等にも適用できる。
Note that one of the input /
1 電力線搬送通信制御システム
2 入出力端末
3A,3B 入出力端末群
5,6
操作端末
7 通信統括端末
8 通信部
21 統括側マイクロコントローラ(制御部)
26 第一RAM
27 第二RAM
28 第三RAM
30 第四RAM
33 転送部
35 読出部
36 格納部
37 比較部
38 書換部
40 第一通信部
41 第二通信部
42 電力線モデム
N 通信ネットワーク
P 電力線搬送通信制御プログラム
W 電力線
DESCRIPTION OF
26 First RAM
27 Second RAM
28 3rd RAM
30 4th RAM
33 Transfer unit 35 Reading unit 36
Claims (6)
該入出力端末群の前記入出力端末の各々と接続されて、前記入出力端末の設定情報が入出力される操作端末と、
同一の大きさ及びセクタ領域とされて、前記入出力端末及び前記操作端末の設定情報が格納される、第一RAM、第二RAM、第三RAM、第四RAMと、前記設定情報を管理する制御部と、を有して、前記通信ネットワークと前記電力線を介して接続された通信統括端末と、
前記設定情報に係る信号の変調と復調とを行う電力線モデムを有して、前記通信統括端末、前記入出力端末、及び前記操作端末のぞれぞれと1対1で接続される通信部と、
を備え、
前記制御部が、前記第一RAMに格納されていた設定情報を前記第二RAMへ、及び、前記第三RAMに格納されていた設定情報を前記第四RAMへ移設する転送部と、
前記入出力端末及び前記操作端末の最新の設定情報を前記操作端末から読み込む読出部と、
読み込まれた設定情報を前記第一RAM又は第三RAMに記憶する格納部と、
前記第一RAM及び前記第二RAMに格納されたそれぞれの設定情報、又は前記第三RAM及び前記第四RAMに格納されたそれぞれの設定情報を対比する比較部と、
差異のあった設定情報を有する前記入出力端末及び前記操作端末を選択して、当該入出力端末及び操作端末に対して新たな設定情報の書込みを行う書換部と、
を備えていることを特徴とする電力線搬送通信制御システム。 A group of a plurality of input / output terminals connected to a communication network via a power line;
An operation terminal connected to each of the input / output terminals of the input / output terminal group and configured to input / output setting information of the input / output terminals;
A first RAM, a second RAM, a third RAM, a fourth RAM, which are set to the same size and sector area, and store setting information of the input / output terminal and the operation terminal, and manage the setting information A communication control terminal having a control unit and connected to the communication network via the power line;
A communication unit that includes a power line modem that modulates and demodulates a signal related to the setting information, and that is connected to each of the communication control terminal, the input / output terminal, and the operation terminal on a one-to-one basis; ,
With
A transfer unit for transferring the setting information stored in the first RAM to the second RAM and the setting information stored in the third RAM to the fourth RAM;
A reading unit that reads the latest setting information of the input / output terminal and the operation terminal from the operation terminal;
A storage unit for storing the read setting information in the first RAM or the third RAM;
A comparison unit for comparing each setting information stored in the first RAM and the second RAM, or each setting information stored in the third RAM and the fourth RAM;
A rewrite unit that selects the input / output terminal and the operation terminal having setting information having a difference, and writes new setting information to the input / output terminal and the operation terminal;
A power line carrier communication control system comprising:
一の操作端末における前記入出力端末の各々の新旧の設定情報に差異がない場合に、前記読出部が、他の操作端末の設定情報を順次読み込むことを特徴とする請求項1に記載の電力線搬送通信制御システム。 A plurality of the operation terminals each connected to the group of input / output terminals;
2. The power line according to claim 1, wherein when there is no difference between old and new setting information of the input / output terminals in one operation terminal, the reading unit sequentially reads setting information of other operation terminals. Carrier communication control system.
前記第一通信部の前記通信ネットワーク上のアドレス番号が0とされ、
前記第二通信部の前記通信ネットワーク上におけるそれぞれのアドレス番号と、前記第一RAM、前記第二RAM、前記第三RAM、及び前記第四RAMのセクタ番号とが対応付けされ、
前記比較部が、前記第一RAM及び前記第二RAMにおける同一の前記セクタ番号のセクタ内に格納された前記設定情報同士を比較するとともに、前記第三RAM及び前記第四RAMにおける同一の前記セクタ番号のセクタ内に格納された前記設定情報同士を比較することを特徴とする請求項1又は2に記載の電力線搬送通信制御システム。 The communication unit includes a first communication unit connected to the communication control terminal, and a second communication unit connected to the input / output terminal or the operation terminal in a one-to-one relationship,
The address number on the communication network of the first communication unit is set to 0,
Each address number of the second communication unit on the communication network is associated with sector numbers of the first RAM, the second RAM, the third RAM, and the fourth RAM,
The comparison unit compares the setting information stored in sectors having the same sector number in the first RAM and the second RAM, and the same sector in the third RAM and the fourth RAM. The power line carrier communication control system according to claim 1 or 2, wherein the setting information stored in the numbered sectors are compared with each other.
前記操作端末及びこれに入力された前記入出力端末群の設定情報を読み込む読出工程と、
読み込まれた前記操作端末及び前記入出力端末群の設定情報を記憶する格納工程と、
読み込み前後の前記操作端末及び前記入出力端末群の設定情報を対比する比較工程と、
読み込み前後の設定情報に差異のあった前記操作端末及び前記入出力端末を選択して、当該操作端末及び入出力端末に対して、新たな設定情報の書込みを行う書換工程と、
を備えていることを特徴とする電力線搬送通信方法。 A group of input / output terminals connected to a communication network via a power line and an operation terminal connected to the input / output terminal group and to which setting information of each of the input / output terminals is input / output are unified by a communication control terminal. A power line carrier communication control method to manage,
A reading step of reading setting information of the operation terminal and the input / output terminal group input thereto;
A storage step of storing setting information of the read operation terminal and the input / output terminal group;
A comparison step of comparing the setting information of the operation terminal and the input / output terminal group before and after reading;
A rewriting step of selecting the operation terminal and the input / output terminal having a difference in setting information before and after reading, and writing new setting information to the operation terminal and the input / output terminal;
A power line carrier communication method characterized by comprising:
前記比較工程にて、一の操作端末における設定情報に変化がない場合には、他の操作端末に移行して前記読出工程を行うことを特徴とする請求項5に記載の電力線搬送通信制御方法。
For the plurality of operation terminals to which the group of input / output terminals are respectively connected,
6. The power line carrier communication control method according to claim 5, wherein when the setting information in one operation terminal is not changed in the comparison step, the reading step is performed by moving to another operation terminal. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010032939A JP2011171944A (en) | 2010-02-17 | 2010-02-17 | Power line carrier communication control system, power line carrier communication control program, and power line carrier communication control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010032939A JP2011171944A (en) | 2010-02-17 | 2010-02-17 | Power line carrier communication control system, power line carrier communication control program, and power line carrier communication control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011171944A true JP2011171944A (en) | 2011-09-01 |
Family
ID=44685613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010032939A Pending JP2011171944A (en) | 2010-02-17 | 2010-02-17 | Power line carrier communication control system, power line carrier communication control program, and power line carrier communication control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011171944A (en) |
-
2010
- 2010-02-17 JP JP2010032939A patent/JP2011171944A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6583719B2 (en) | Setting apparatus and setting method each for setting setting information in electric power line carrier communication terminal apparatus | |
CN102427482B (en) | For configuring the method for fieldbus user | |
US20050114577A1 (en) | Data transmission method serial bus system and switch-on unit for a passive station | |
CN101554092A (en) | Method and apparatus for replacing a device in a network | |
DK1290506T3 (en) | RF housing automation system comprising replicable controllers | |
CN105291118A (en) | Robot control device provided with function of reflecting points of difference of setting data compared with | |
JP5469066B2 (en) | Method and system for exchanging data | |
CN106165350A (en) | Design assistant device, design aiding method and program | |
CN104950785A (en) | Programmable logic controller and programming tool for programmable logic controller | |
CN102201260A (en) | Apparatus and method for communicating parameter of inverter | |
JP2011171944A (en) | Power line carrier communication control system, power line carrier communication control program, and power line carrier communication control method | |
JP2010199836A (en) | Wireless network structure | |
JP2010271758A (en) | Data aggregating type plc | |
JP2011171945A (en) | Cable or wireless communication control system, cable or wireless communication control program, and cable or wireless communication control method | |
WO2019142288A1 (en) | Plc, network unit, cpu unit, and data transmission method | |
CN112422704B (en) | Address allocation method and device for multiple devices and storage medium | |
JP2016130947A (en) | Control system and control device | |
CN105391574A (en) | Server address setting method and device | |
JP4320622B2 (en) | node | |
JP2007241570A (en) | Setting system of shared memory for communication between programmable controller | |
KR20140106981A (en) | Building automation system, gateway comprised therein and method of operating the gateway | |
JP6907929B2 (en) | Data equivalence method, programmable controller and duplex system | |
JP2008059532A (en) | Control system configuration management system | |
JPH0155617B2 (en) | ||
JP3005379B2 (en) | Communication system between programmable controllers |