Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4019946B2 - Network system monitoring method, monitoring system, repeater and monitoring device - Google Patents
[go: Go Back, main page]

JP4019946B2 - Network system monitoring method, monitoring system, repeater and monitoring device - Google Patents

Network system monitoring method, monitoring system, repeater and monitoring device Download PDF

Info

Publication number
JP4019946B2
JP4019946B2 JP2003006412A JP2003006412A JP4019946B2 JP 4019946 B2 JP4019946 B2 JP 4019946B2 JP 2003006412 A JP2003006412 A JP 2003006412A JP 2003006412 A JP2003006412 A JP 2003006412A JP 4019946 B2 JP4019946 B2 JP 4019946B2
Authority
JP
Japan
Prior art keywords
repeater
slave
response
master
function
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.)
Expired - Fee Related
Application number
JP2003006412A
Other languages
Japanese (ja)
Other versions
JP2004221905A (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.)
Omron Corp
Original Assignee
Omron Corp
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 Omron Corp filed Critical Omron Corp
Priority to JP2003006412A priority Critical patent/JP4019946B2/en
Publication of JP2004221905A publication Critical patent/JP2004221905A/en
Application granted granted Critical
Publication of JP4019946B2 publication Critical patent/JP4019946B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、ネットワークシステムのモニタ方法及びモニタリングシステム並びにリピータ及びモニタ装置に関するものである。
【0002】
【従来の技術】
FA(ファクトリーオートメーション)で用いられるPLC(プログラマブルコントローラ)は、スイッチやセンサなどの入力機器のON/OFF情報を入力し、ラダー言語などで書かれたシーケンスプログラム(ユーザプログラム)に沿って論理演算を実行する。そして、PLCは、得られた演算結果にしたがって、リレー,バルブ,アクチュエータなどの出力機器に対し、ON/OFF情報の信号を出力することで制御が実行される。
【0003】
係るPLCの一形態として、各機能ごとに生成されたユニットを複数用意し、電気,機械的に連結して構成するものがある。係るタイプを構成するためのユニットとしては、電源ユニット,CPUユニット,I/Oユニット,マスタユニット等各種のものがある。
【0004】
そして、上記したマスタユニットは、制御系ネットワークに接続され、その制御系ネットワークに接続された各種のスレーブと制御系ネットワークを介して通信可能となっている。この種のスレーブの一例として、リモートIOがある。すなわち、上記した入力機器や出力機器は、PLCを構成するI/Oユニットに接続することもあるが、仮に全ての入出力機器を直接I/Oユニットに接続した場合には、それら入出力機器とI/Oユニットを結ぶ配線が、入出力機器の数だけ存在することになり、係る多数の配線がPLC(I/Oユニット)を起点として工場内に引き回されることになり、好ましくない。
【0005】
そこで、制御対象の付近に入出力機器を接続するための端子台となるリモートIOを設置し、そのリモートIOに各種の入出力機器を接続する。そして、PLC(マスタユニット)に接続されたネットワークケーブルに対して各リモートIOを接続する。そして、各リモートIOとPLCとの間ではマスタ−スレーブ間通信などによってI/Oデータの送受を行い、実際の入出力機器に対しては係るリモートIOを介して情報の伝達をするようにしている。
【0006】
ところで、上記のようなネットワークを介して接続されたリモートIOなどのスレーブを含むネットワークシステムの構成をモニタするものとして、例えば制御系ネットワークの一形態であるDeviceNet(登録商標)では、ネットワークに接続されているマスタ,スレーブのノード番号,型式がパソコン上のソフトウエアを用いてモニタする機能が提供されている。このモニタする機能により表示されるモニタ画面の一例としては、図1に示すようになる。この図に示すように、各スレーブは、例えば、#00,#01,#02,……のように、ノードアドレス順に配置される。
【0007】
また、複数のPLCが接続されたネットワークシステムの構成を表示するための表示装置としては、例えば特許文献1に開示された「通信データ表示装置及び方法、記憶媒体」がある。この特許文献1においても、その公報の図6などに示されたように、ネットワークを構成するPLCが、ノードアドレス順に配置された状態で表示される。
【0008】
また、FAネットワークではないが、ネットワークに接続されたコンピュータ,プリンタなどのネットワーク機器の接続関係まで考慮してネットワーク構成図を作成し、モニタに表示する装置としては、特許文献2に開示された「ネットワーク構成図表示方法およびシステム」がある。この特許文献2は、ネットワーク上の所定位置に複数の接続ポートを持つネットワーク中継装置を配置し、各ネットワーク機器はそのネットワーク中継装置を介してネットワークに接続させる。ネットワーク中継装置は、いわゆる「ハブ」などの自己に接続された機器についての情報を持つ。そこで、管理コンピュータは、ネットワーク中継装置を使用してネットワーク機器の接続状態を収集し、ネットワーク中継装置やネットワーク機器のオブジェクトを表示画面に表示するに際し、収集した接続状態にあわせて所定のオブジェクト同士を結線することにより、ネットワーク構成図を作成するようにしている。
【0009】
【特許文献1】
特開平11−154004
【特許文献2】
特開2001−308873
【0010】
【発明が解決しようとする課題】
FAシステムでは、ネットワーク上にリピータと称される装置が実装され、マスタユニットとスレーブとはそのリピータを経由してデータの送受を行うことがある。つまり、ネットワークを構成する通信回線が長くなると、信号レベルが低くなるとともに、ノイズも乗りやすくなるので、波形が乱れる。そのため、正確な情報を伝送できなくなるという問題がある。係る問題を解決するために、リピータと称される波形整形をする中継器を適宜位置に設けることにより、乱れた波形を、1/0のきれいなパルス波形に修正し、伝送距離を長くするようにしている。また、このように伝送距離を長くすることのみならず、例えば、同一の装置の制御を行う複数のスレーブを1つのグループとして管理するような場合に係る複数のスレーブをリピータの下に接続することもある。なお、このリピータは、一方から入力された信号を波形整形し他方に出力する機能を有するが、特許文献2に記載したハブのような中継装置の機能は無い。
【0011】
そこで、例えば、リピータAにスレーブ#0,#3,#7,#21、リピータBにスレーブ#2,#8,#9,#31のようにばらばらの番号のスレーブが接続されているようなネットワークシステムに対して特許文献1に開示された発明を用いてネットワーク構成をモニタすると、スレーブはノードアドレス順に並んでしまいスレーブ,リピータの関連付けをモニタすることができない。このため、ノード数が多い場合はパソコン上に表示された構成を見てもスレーブがどの装置で使用されているか把握できないという問題がある。
【0012】
一方、特許文献2に開示された発明をそのままFAシステムに適用できるかはさておき、従来のリピータに替えてハブのような中継装置を設け、その中継装置の下流側に接続されたスレーブの情報を記憶保持させるとともに、中継装置が保持したスレーブの情報を収集することにより、具体的なネットワーク構成を知ることができる。しかしながら、係る構成を採ることは、モニタするだけのために中継装置に係る情報を保持させることになるので、中継装置がコスト高になり実用的でない。
【0013】
この発明は、リピータを含むネットワークシステムにおいて、リピータ自体に下流側に接続されたスレーブ情報を保持させること無く、リピータの下流側に接続されたスレーブが、どのリピータの下流に位置するかを容易に認識することができるネットワークシステムのモニタ方法及びモニタリングシステム並びにリピータ及びモニタ装置を提供することを目的とする。
【0014】
【課題を解決するための手段】
本発明に係るネットワークシステムのモニタ方法は、マスタとスレーブの間に少なくとも1つのリピータが介在する構成を含むネットワークシステムにおけるモニタ方法であって、前記マスタは、前記スレーブに向けてステータスリードコマンドを発行し、前記ステータスリードコマンドを受けた前記スレーブは、前記マスタに向けてレスポンスを返信し、前記リピータは、前記レスポンスを中継する際に、そのレスポンスに自己を特定する特定情報を付加し、前記レスポンスを取得した装置は、そのレスポンスに格納された前記特定情報の有無並びにその内容から前記スレーブと前記リピータの接続関係を認識してネットワークの構成情報をモニタするようにした。
【0015】
また、本発明に係るモニタリングシステムは、マスタとスレーブの間に少なくとも1つのリピータが介在する構成を含むネットワークシステムにおけるモニタリングシステムであって、前記マスタは、前記スレーブに向けてステータスリードコマンドを発行する機能を有し、前記スレーブは、自己宛ての前記ステータスリードコマンドを受けると、前記マスタに向けてレスポンスを返信する機能を有し、前記リピータは、前記レスポンスを中継する際に、そのレスポンスに自己を特定する特定情報を付加する機能を有し、前記レスポンスを取得した装置は、そのレスポンスに格納された前記特定情報の有無並びにその内容から前記スレーブと前記リピータの接続関係を認識し、ネットワークの構成情報を出力手段に出力する機能を備えて構成した。そして、前記マスタは、例えば、プログラマブルコントローラを構成するものであり、前記装置は、前記プログラマブルコントローラに接続されたモニタ装置とすることができる。もちろん、前記装置は、マスタなどのプログラマブルコントローラであってもよい。
【0016】
さらに本発明のリピータは、ネットワークシステムを構成するマスタとスレーブの間に実装され、前記マスタと前記スレーブ間で伝送されるデータを中継するリピータであって、前記マスタから発行されたステータスリードコマンドを受けた前記スレーブが、前記マスタに向けて返信したレスポンスを中継する際に、そのレスポンスに対し、自己を特定する特定情報を付加する機能を備えるようにした。
【0017】
さらにまた、本発明のモニタ装置は、マスタとスレーブの間に少なくとも1つのリピータが介在する構成を含むとともに、前記リピータが、前記マスタから発行されたステータスリードコマンドを受けた前記スレーブが、前記マスタに向けて返信したレスポンスを中継する際に、そのレスポンスに対し、自己を特定する特定情報を付加する機能を備えたネットワークシステムの構成情報をモニタするモニタ装置である。そして、前記スレーブが返信したレスポンスを取得するとともに、その内容を解析する機能と、そのレスポンスに格納された前記特定情報の有無から、そのスレーブが所定のリピータの下に接続されているか否かを判断するとともに、前記特定情報の内容からそのスレーブがどのリピータの下に接続されているかを判断することにより前記スレーブと前記リピータの接続関係を認識する機能と、その認識した接続関係に基づいて求めたネットワークの構成情報を出力手段に出力する機能を備えるようにした。
【0018】
出力手段は、実施の形態では表示装置であり、係る構成が好ましいが、本発明では必ずしも表示装置に限ることはなく、印刷装置であったり、記憶装置であったり、通信装置であったりするなど各種のものにより実現できる。
【0019】
特定情報は、実施の形態では、リピータのノードアドレスとしたが、本発明はこれに限ることはなく、リピータに設けられた製造番号その他のID番号や、論理名など各種のものを用いることができる。
【0020】
リピータの下に接続されたスレーブは、そのスレーブが返信したレスポンスは、マスタに到達する前に必ず上記リピータを通過するため、そのレスポンスにはリピータを特定する特定情報が付加される。逆に、リピータを経由することなく、直接マスタと通信するスレーブが存在すると、係る特定情報はレスポンスに付加されない。
【0021】
従って、特定情報の有無により、スレーブがリピータを経由するか否かを判断することができる。さらに、特定情報を含む場合、その特定情報の内容まで認識することにより、スレーブがどのリピータの下に接続されているかを知ることができる。よって、スレーブとリピータとの接続関係を知ることができる。さらに、ノード数が多い場合でもリピータを適宜位置に挿入することによりグループ分けすることで対象スレーブを見つけやすくできる。
【0022】
【発明の実施の形態】
図2は、本発明が適用されるリピータを含むネットワークシステムの一例を示している。図2に示すように、PLC10と各種のスレーブ20並びにリピータ30が、フィールドバス40を介して接続されネットワークシステムを構築している。スレーブ20としては、リモートIOその他の機器がある。そして、このスレーブ20は、PLC10に接続されたフィールドバス40に直接接続されるものもあれば、リピータ30に接続されたフィールドバス40aに接続され、リピータ30を介してPLC10と通信するものもある。そして、フィールドバス40,フィールドバス40aの終端には、終端抵抗41が接続されている。
【0023】
なお、リピータ30もノードアドレスが付与されており、広い意味ではスレーブの一種であるが、本実施の形態におけるスレーブ20は、FAシステムの制御を行うための機能を備えたものを意味し、フィールドバス40等を伝送されるデータを中継するリピータ30とは分けている。また、図2に示す例では、リピータ30の下流側にはスレーブ20のみが接続された構成を採っているが、リピータ30の下流側にさらに別のリピータを配置するというように、スレーブ20とPLC10との間に複数のリピータ30が存在する形態ももちろんありえる。
【0024】
さらに、PLC10には、モニタ・設定ツールたるパソコン42が接続されており、PLC10を介してネットワークに接続された各機器の情報を収集・モニタリングしたり、PLC10やスレーブ20等に対してプログラムのダウンロードやデータ設定などが行えるようになっている。
【0025】
PLC10は、各機能ごとに生成されたユニットを連結することにより構成され、例えば、CPUユニット11,マスタユニット12などがある。マスタユニット12は、フィールドバス40に接続され、各スレーブ20,リピータ30と通信を行うようになっている。さらに、PLC10の内部バスを介してCPUユニット11のIOメモリにアクセスし、IOデータ等の読み書きを行うようになっている。
【0026】
そして、PLC10に接続されるモニタ装置としてのパソコン42は、図の例ではCPUユニット11に接続されている。但し、これに限ることはなく、ネットワークを介して接続することもできるし、さらには、マスタユニット12に接続したり、フィールドバス40上に設けられる特殊機能ユニットに接続するように構成することもできる。
【0027】
マスタユニット12は、図3に示すように、フィールドバスに接続され、実際にデータの送受を行う通信インタフェース12aと、その通信インタフェース12aを介してマスタ−スレーブ間通信をし、スレーブ20,リピータ30との間でI/Oデータの送受を行なったり、所定のコマンドの送信並びにそれに基づくレスポンスの受信を行うマスタ用ASIC12bと、各種の制御を行うMPU12dと、各種の制御実行時にワークエリア等として使用されるRAM12cと、上記制御を行うプログラムや、各種の設定データ等が格納されたEEPROM12eと、他のユニット(例えば、CPUユニット)と通信を行うためのインタフェース12hと、動作状態(通信状態)や異常/正常などを示すLED表示部12f並びにアドレスの設定などを行うための設定スイッチ12gを備えている。
【0028】
MPU12dが行なう制御としては、CPUユニット11その他のユニット等と通信したり、マスタ用ASIC12bを動作させたりするようになっている。特に本発明との関係でいうと、CPUユニット11を経由して受け取ったパソコン42からのステータスリード要求を受け、ネットワークに接続されたスレーブ20に対してステータスリードコマンドを送り、スレーブ20からのレスポンスを受けると、それを解析し、CPUユニット11経由でパソコン42に返す機能を有する。このとき、CPUユニット11やパソコン42で扱うコマンドと、リピータ30やスレーブ20が扱うコマンドが異なるので、マスタユニット12にて適宜変換処理を行なう。なお、基本的なハードウェア構成等は、従来のマスタユニットと同様であるので、その詳細な説明を省略する。
【0029】
スレーブ20は、図4に示すように、フィールドバスに接続され、実際にマスタユニット12との間でI/Oデータや各種メッセージ等の送受を行う通信インタフェース20aと、その通信インタフェース20aを介して取得したマスタ−スレーブ間通信をし、I/Oデータの送受を行なったり、所定のコマンドの受信並びにそれに基づくレスポンスの送信を行うスレーブ用ASIC20bと、各種の制御を行うMPU20dと、上記制御を行うプログラムや、各種の設定データ,IOデータ等が格納されたEEPROM20eと、I/O機器と接続しI/Oデータの送受を行うI/O部20jと、動作状態(通信状態)や異常/正常などを示すLED表示部20f並びにノードアドレスの設定などを行うための設定スイッチ20gを備えている。さらに、入力電圧(24V)を5Vに降圧し、スレーブ20内の各素子に電源供給する電源部20iを備えている。
【0030】
このスレーブ20は、本発明との関係でいうと、マスタユニット12から送られてくるステータスリードコマンドを解析し、自己宛の場合には、レスポンスを発行しマスタユニット12に返送する機能を有する。従って、マスタユニット12ひいてはパソコン42は、あるノードアドレス宛にステータスリードコマンドを発行した場合に、レスポンスがあると当該ノードアドレスのスレーブは存在し、レスポンスがないとそのノードアドレスのスレーブは存在しないと判断でき、ネットワークに接続されているスレーブ20のノードアドレスを知ることができる。なお、スレーブ20の構成並びに作用効果は、従来のものと同様であるので、その詳細な説明を省略する。
【0031】
リピータ30は、図5に示すようにマスタ側とスレーブ側にそれぞれ接続される通信インタフェース31,32と、両通信インタフェース31,32間に実装され、伝送されるデータ(信号)に対して所定の処理を行なうリピータ用ASIC33を備えている。さらに、入力電圧(24V)を5Vに降圧し、リピータ30内の各素子に電源供給する電源部34を備えている。さらにまた、動作状態(通信状態)や異常/正常などを示すLED表示部35並びにノードアドレスの設定などを行うための設定スイッチ36を備えている。
【0032】
さらに、このリピータ用ASIC33は、基本的には伝送される信号(乱れている)の波形を整え、綺麗な1/0のデジタル信号に復元し、出力する機能を備えている。この機能は、従来からあるリピータの基本機能であるので、具体的な構成・処理手順については説明を省略する。
【0033】
そして、本発明では、リピータ用ASIC33の機能として、マスタ側の通信インタフェース31からデータを受け取った場合には、上記した波形整形を行い、スレーブ側の通信インタフェース32に渡すようにしたが、その逆のスレーブ側の通信インタフェース32からデータ(レスポンス)を受け取った場合には、上記した波形整形を行うとともに、そのレスポンスに自己のノードアドレスを付加した後、マスタ側の通信インタフェース31に渡すようにした。さらに、複数のリピータ30を通過する場合には、通過する順にリピータ30のノードアドレスを追加(例えば、常に一番後ろに追加する)するようにした。
【0034】
これにより、リピータ30が介在せずマスタユニット12と直接データの送受を行うスレーブ20の場合、ステータスリードコマンドに対して発行したレスポンスは、リピータ30を通過することなくマスタユニット12に到達するので、そのレスポンスにはリピータ30のノードアドレスは付与されない。一方、少なくとも1つ以上のリピータ30の下流側にあるスレーブ20から発行された上記のレスポンスは、リピータ30を通過する際にそのリピータ30のノードアドレスが追加される。従って、マスタユニット12ひいてはパソコン42では、取得したレスポンスにリピータ30のノードアドレスがあるか否かにより、スレーブ20がマスタユニット12に接続されたフィールドバス40に直接接続されているのかを識別することができ、さらに、リピータ30の下に接続されている場合には、そのノードアドレスからどのリピータ30の下に接続されているかなどのネットワーク構成を認識することができる。
【0035】
そして、ネットワーク構成のモニタを行うには、モニタ装置としてのパソコン42が、PLC10を介してネットワークを構成する各機器(スレーブ20,リピータ30)の接続状況を取得し、表示装置42aに表示する。すなわち、パソコン42は、CPUユニット11に接続され、そのCPUユニット11と通信を行うようになっている。従って、パソコン42は、例えばノードアドレス#0のノードから順番にステータスリードの要求を行うことより、得られたレスポンスに基づいてネットワーク構成を知ることができる。
【0036】
具体的には、ネットワークシステム全体では、図6に示すフローチャートに従って通信を行うことにより、モニタリングを行うことになる。また、そのときの各機器間でのデータの流れ(タイミングチャート)は図7に示すようになる。すなわち、まずパソコン42が次のノードに対してステータスリードを要求する(ST1)。つまり、ノードアドレスが#0から#Nまで割り当てられているネットワークシステムの場合、まず#0のノードに対してステータスリード要求をし、レスポンスを受信するか、あるいはタイムアウトすると、#1のノードに対してステータスリードを要求する。以後、ノードアドレスの値を1つずつ昇順させながら、#Nまで順に繰り返し実行する。係る処理が、図7でいう行程▲1▼で行われる。
【0037】
次に、パソコン42から発行されたステータスリード要求は、CPUユニット11,マスタユニット12を介してフィールドバス40に出力され、直接あるいは所定のリピータ30を介してスレーブ20に受信される(ST2)。係る処理は、図7でいう行程▲2▼から▲5▼で行われる。なお、図7に示す例は、標準的なものを示しており、スレーブ20までの間にリピータ30が存在しない場合には、行程▲4▼はもちろん省略されるし、複数のリピータが存在する場合には、行程▲4▼の処理が複数回実行される。
【0038】
そして、行程▲1▼で指定された所望のノードアドレスのスレーブ20がステータスリードコマンドを受信し、自己宛のコマンドであることを確認すると自己のステータス情報を返信(レスポンスを発行)する(ST3)。係る処理が、図7でいう行程▲5▼で行われる。
【0039】
このレスポンスは、ネットワーク上を伝送される。そして、リピータ30を経由する場合には(ST4でYes)、そのリピータ30が自分のアドレスをレスポンスに追加する(ST5)。よって、マスタユニット12との間にリピータ30が存在しなくなると(ST4でNo)、そのままマスタユニット12に受信されるので、その受信されたレスポンスは、CPUユニット11を介してパソコン42に与えられる(ST6)。
【0040】
従って、パソコン42は、取得したレスポンスを解析し、レスポンス内にリピータ30のノードアドレスが組み込まれているか否か並びに組み込まれている場合には、その具体的な番号を認識することにより、リピータ30を介することなくフィールドバス40に接続されているかや、レスポンスを発行したスレーブ20がどのリピータの下に接続されているかなどを認識することができる。なお、リピータ30にもノードアドレスが振られており、パソコン42は、各リピータ30に対してもステータスリード要求をすることによりどのノードアドレスのリピータ30がネットワーク上に存在しているかを知得することができる。
【0041】
上記した一連の処理は、図7でいう行程▲6▼から▲9▼で行われる。なお、図7に示す例は、標準的なものを示しており、マスタユニット12までの間にリピータ30が存在しない場合には、行程▲6▼はもちろん省略されるし、複数のリピータが存在する場合には、行程▲6▼の処理が複数回実行される。
【0042】
また、図6,図7は、対象となるスレーブが存在することを前提にした標準的なものを示したが、通常は全てのノードアドレスにスレーブが存在することはほとんどなく、空き番号となっているノードアドレスもある。その場合には、当然レスポンスは返信されてこないので、図7の例では、行程▲3▼あるいは▲4▼までタイムアウトで終了することになる。この場合には、図6でいうステップ6ではレスポンスがなかったことで、ネットワーク上に当該ノードアドレスのスレーブがないことを認識するとともに、ステップ1に戻り次のノードに対する検査を行うことになる。
【0043】
そして、具体的な一例を示すと、図8に示すように、マスタからスレーブ#30へステータスリードコマンド(EVE_frame)を送信すると、それを受信したスレーブ#30では、直ちにレスポンスフレームを返信する(▲1▼)。そして、EVE_frameがマスタ向けにリピートされていく間に、リピータ#5では、レスポンスに自局のノードアドレスを書き込む。これにより、データが変わるためCRC(サムチェック)を計算し直し、再計算後のCRCに更新したレスポンス(もちろん波形整形もする)をマスタユニットへ向けて出力する(▲2▼)。
【0044】
同様に、この更新されたレスポンス(含む:リピータ#5のノードアドレス)は、リピータ#15に取り込まれるので、ここにおいて、上記したリピータ#5と同様の処理が行われ、リピータ#5のノードアドレスの後ろにさらにリピータ#15のノードアドレスが追加されたレスポンス(CRCも更新される)が作成され、マスタユニット12に向けて出力される(▲3▼)。
【0045】
従って、係るレスポンスを受け取ったマスタユニット12(パソコン42)では、EVE_frameのデータエリアにリピータの#5と#15が書き込まれていることから、スレーブ#30の間に2つのリピータが、#15→#5→スレーブの順で接続されていることを認識できる。
【0046】
そして、上記したステータスリード要求に対するレスポンスにおけるステータスデータは、例えば図9に示すように、3つのリピータのアドレスが順に格納できるようになっている。そして、各リピータは、ステータス情報の所定の格納領域に自己のアドレスを追加する。具体的には、取得したレスポンスにリピータのアドレス情報が格納されていない場合には、最初のリピータのアドレス情報の格納領域に自己のアドレスを格納する。最初のリピータのアドレス情報の格納領域にすでに別のリピータのノードアドレスが格納され、2番目のリピータのノードアドレス情報の格納領域にはノードアドレスが格納されていない場合には、係る2番目のリピータのノードアドレスに自己のノードアドレスを格納する。同様に最初と2番目のリピータのアドレス情報領域にすでに別のリピータのノードアドレスが格納され、3番目のリピータのノードアドレス情報の格納領域にはノードアドレスが格納されていない場合には、係る3番目のリピータのノードアドレスに自己のノードアドレスを格納する。なお、各ノードアドレス情報の格納領域にノードアドレスが格納されているか否かは、例えば格納済みか否かのフラグ或いは、次に格納する領域を示すフラグを設けることにより簡単に判別できる。もちろん、ノードアドレスの追加形態は図示したものに限ることはなく、各種のものを適用することができる。
【0047】
そして、各スレーブに対して上記した処理を繰り返し実行することにより、例えば図10に示すようなネットワーク構成図を作成し、係る構成図を表示装置42aのモニタ画面に表示することができる。図10から明らかなように、ネットワーク上にスレーブがどのリピータの下に位置するかがわかるので、実際のネットワーク配線に近い構成図をパソコン42上に表示することができる。
【0048】
【発明の効果】
以上のように、この発明では、リピータを含むネットワークシステムにおいて、リピータの下流側に接続されたスレーブが、どのリピータの下流に位置するかを容易に認識することができる。しかも、リピータ自身には下流側に接続されたスレーブ情報を保持させること無く係る処理が行えるので、リピータの構成も簡単かつ安価にすることができる。
【図面の簡単な説明】
【図1】従来のモニタ画面の一例を示す図である。
【図2】本発明の一実施の形態を示すネットワークシステム構成の一例を示す図である。
【図3】マスタユニットの内部構成の一例を示す図である。
【図4】スレーブの内部構成の一例を示す図である。
【図5】リピータの内部構成の一例を示す図である。
【図6】モニタ方法を実施するためのネットワークシステム全体の動作を説明するフローチャートである。
【図7】モニタ方法を実施するためのネットワークシステム全体の動作を説明するタイムチャートである。
【図8】リピータの機能を説明する図である。
【図9】レスポンスのデータ構造におけるリピータのノードアドレスに関する情報を説明する図である。
【図10】本発明のモニタ方法を実施することにより表示されるモニタ画面の一例を示す図である。
【符号の説明】
10 PLC
11 CPUユニット
12 マスタユニット
12a 通信インタフェース
12b マスタ用ASIC
12c RAM
12d MPU
12e EEPROM
12f LED表示部
12g 設定スイッチ
12h インタフェース
20 スレーブ
20a 通信インタフェース
20b スレーブ用ASIC
20d MPU
20e EEPROM
20f LED表示部
20g 設定スイッチ
20h インタフェース
20i 電源部
20j I/O部
30 リピータ
31,32 通信インタフェース
33 リピータ用ASIC
34 電源部
35 LED表示部
36 設定スイッチ
40 フィールドバス
40a フィールドバス
41 終端抵抗
42 パソコン
42a 表示装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a monitoring method and monitoring system for a network system, and a repeater and a monitoring device.
[0002]
[Prior art]
PLC (programmable controller) used in FA (factory automation) inputs ON / OFF information of input devices such as switches and sensors, and performs logical operations according to a sequence program (user program) written in a ladder language. Execute. Then, the PLC performs control by outputting a signal of ON / OFF information to an output device such as a relay, a valve, or an actuator according to the obtained calculation result.
[0003]
As one form of such a PLC, there is one in which a plurality of units generated for each function are prepared and electrically and mechanically connected. As a unit for constituting such a type, there are various types such as a power supply unit, a CPU unit, an I / O unit, and a master unit.
[0004]
The master unit described above is connected to a control system network, and can communicate with various slaves connected to the control system network via the control system network. An example of this type of slave is a remote IO. In other words, the input device and output device described above may be connected to the I / O unit constituting the PLC, but if all the input / output devices are directly connected to the I / O unit, these input / output devices are connected. There are as many wirings connecting the I / O units to the I / O units, and a large number of such wirings are routed in the factory starting from the PLC (I / O unit), which is not preferable. .
[0005]
Therefore, a remote IO serving as a terminal block for connecting an input / output device near the control target is installed, and various input / output devices are connected to the remote IO. Then, each remote IO is connected to the network cable connected to the PLC (master unit). Then, I / O data is transmitted / received between each remote IO and PLC through master-slave communication, and information is transmitted to the actual input / output devices via the remote IO. Yes.
[0006]
By the way, as a device for monitoring the configuration of a network system including slaves such as remote IOs connected via a network as described above, for example, in DeviceNet (registered trademark) which is one form of a control network, the network is connected to the network. A function is provided that monitors the node number and model of the master and slave using software on the personal computer. An example of a monitor screen displayed by this monitoring function is as shown in FIG. As shown in this figure, the slaves are arranged in the order of node addresses, for example, # 00, # 01, # 02,.
[0007]
As a display device for displaying the configuration of a network system to which a plurality of PLCs are connected, for example, there is a “communication data display device and method, storage medium” disclosed in Patent Document 1. Also in this patent document 1, as shown in FIG. 6 of the publication, the PLCs constituting the network are displayed in a state of being arranged in the order of the node addresses.
[0008]
Further, although not an FA network, a device that creates a network configuration diagram in consideration of the connection relationship of network devices such as computers and printers connected to the network and displays the network configuration diagram on a monitor is disclosed in “Patent Document 2”. Network configuration diagram display method and system ". In this patent document 2, a network relay device having a plurality of connection ports is arranged at a predetermined position on a network, and each network device is connected to the network via the network relay device. The network relay device has information about a device connected to itself such as a so-called “hub”. Therefore, the management computer uses the network relay device to collect the connection status of the network devices, and when displaying the objects of the network relay device and the network device on the display screen, the management computer displays predetermined objects according to the collected connection status. By connecting, a network configuration diagram is created.
[0009]
[Patent Document 1]
JP 11-154004 A
[Patent Document 2]
JP 2001-308873 A
[0010]
[Problems to be solved by the invention]
In the FA system, a device called a repeater is mounted on a network, and a master unit and a slave may send and receive data via the repeater. In other words, when the communication line constituting the network becomes longer, the signal level becomes lower and noise is more likely to ride, so that the waveform is disturbed. Therefore, there is a problem that accurate information cannot be transmitted. In order to solve the problem, a repeater called a repeater that performs waveform shaping is provided at an appropriate position so that the disturbed waveform is corrected to a clean pulse waveform of 1/0 and the transmission distance is increased. ing. In addition to increasing the transmission distance in this way, for example, connecting multiple slaves under the repeater when managing multiple slaves that control the same device as one group There is also. This repeater has a function of shaping a signal input from one side and outputting the waveform to the other, but does not have a function of a relay device such as the hub described in Patent Document 2.
[0011]
Therefore, for example, slaves # 0, # 3, # 7, and # 21 are connected to the repeater A, and slaves with different numbers are connected to the repeater B, such as slaves # 2, # 8, # 9, and # 31. When the network configuration is monitored for the network system using the invention disclosed in Patent Document 1, the slaves are arranged in the order of the node addresses, and the association between the slave and the repeater cannot be monitored. For this reason, when the number of nodes is large, there is a problem that it is not possible to grasp which device the slave is used by looking at the configuration displayed on the personal computer.
[0012]
On the other hand, aside from whether the invention disclosed in Patent Document 2 can be applied to an FA system as it is, a relay device such as a hub is provided instead of a conventional repeater, and information on slaves connected to the downstream side of the relay device is provided. A specific network configuration can be known by storing and holding and collecting information of slaves held by the relay device. However, adopting such a configuration causes information related to the relay device to be held only for monitoring, and thus the relay device is expensive and impractical.
[0013]
According to the present invention, in a network system including a repeater, it is easy to determine which repeater the slave connected to the downstream side of the repeater is located downstream without holding the slave information connected to the downstream side in the repeater itself. It is an object of the present invention to provide a network system monitoring method, monitoring system, repeater, and monitoring device that can be recognized.
[0014]
[Means for Solving the Problems]
A monitoring method of a network system according to the present invention is a monitoring method in a network system including a configuration in which at least one repeater is interposed between a master and a slave, and the master issues a status read command to the slave The slave that has received the status read command returns a response to the master, and the repeater adds specific information identifying itself to the response when relaying the response, and the response The device that has obtained the information recognizes the connection relationship between the slave and the repeater from the presence / absence of the specific information stored in the response and the content thereof, and monitors the network configuration information.
[0015]
The monitoring system according to the present invention is a monitoring system in a network system including a configuration in which at least one repeater is interposed between a master and a slave, and the master issues a status read command to the slave. The slave has a function of returning a response to the master when receiving the status read command addressed to itself, and the repeater self-replies to the response when relaying the response. The device having the function of adding specific information for identifying the response recognizes the connection relationship between the slave and the repeater from the presence and content of the specific information stored in the response, and Configured with a function to output configuration information to output means It was. And the said master comprises a programmable controller, for example, The said apparatus can be used as the monitor apparatus connected to the said programmable controller. Of course, the device may be a programmable controller such as a master.
[0016]
Furthermore, the repeater of the present invention is a repeater that is mounted between a master and a slave constituting a network system, relays data transmitted between the master and the slave, and receives a status read command issued from the master. When the received slave relays a response sent back to the master, the slave has a function of adding specific information identifying itself to the response.
[0017]
Furthermore, the monitoring apparatus of the present invention includes a configuration in which at least one repeater is interposed between the master and the slave, and the slave that has received the status read command issued from the master is configured such that the slave receives the status read command. This is a monitor device that monitors configuration information of a network system provided with a function of adding identification information that identifies itself to a response when relaying a response sent back toward. Then, it obtains the response returned by the slave, analyzes the contents, and the presence / absence of the specific information stored in the response indicates whether the slave is connected under a predetermined repeater. A function of recognizing the connection relationship between the slave and the repeater by determining under which repeater the slave is connected from the content of the specific information, and obtaining based on the recognized connection relationship A function to output the configuration information of the network to the output means is provided.
[0018]
The output means is a display device in the embodiment, and such a configuration is preferable. However, the present invention is not necessarily limited to the display device, and may be a printing device, a storage device, a communication device, or the like. It can be realized by various things.
[0019]
In the embodiment, the specific information is the node address of the repeater. However, the present invention is not limited to this, and various information such as a manufacturing number or other ID number provided in the repeater or a logical name may be used. it can.
[0020]
The slave connected under the repeater always passes through the repeater before the response returned by the slave reaches the master. Therefore, specific information for identifying the repeater is added to the response. Conversely, if there is a slave that communicates directly with the master without going through the repeater, the specific information is not added to the response.
[0021]
Therefore, it can be determined whether or not the slave passes through the repeater based on the presence or absence of the specific information. Further, when specific information is included, it is possible to know which repeater the slave is connected to by recognizing the content of the specific information. Therefore, it is possible to know the connection relationship between the slave and the repeater. Furthermore, even when the number of nodes is large, the target slave can be easily found by grouping by inserting repeaters at appropriate positions.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 2 shows an example of a network system including a repeater to which the present invention is applied. As shown in FIG. 2, the PLC 10, various slaves 20, and the repeater 30 are connected via a field bus 40 to construct a network system. The slave 20 includes a remote IO and other devices. The slave 20 may be directly connected to the field bus 40 connected to the PLC 10, or may be connected to the field bus 40 a connected to the repeater 30 and communicate with the PLC 10 via the repeater 30. . A termination resistor 41 is connected to the ends of the field bus 40 and the field bus 40a.
[0023]
The repeater 30 is also given a node address and is a kind of slave in a broad sense. However, the slave 20 in the present embodiment means a device having a function for controlling the FA system. It is separated from the repeater 30 that relays data transmitted through the bus 40 and the like. Further, in the example shown in FIG. 2, only the slave 20 is connected to the downstream side of the repeater 30. However, another repeater is arranged on the downstream side of the repeater 30. Of course, there may be a form in which a plurality of repeaters 30 exist between the PLC 10.
[0024]
Furthermore, a personal computer 42 as a monitor / setting tool is connected to the PLC 10 to collect and monitor information on each device connected to the network via the PLC 10 and to download a program to the PLC 10 or the slave 20. And data settings can be performed.
[0025]
The PLC 10 is configured by connecting units generated for each function, and includes, for example, a CPU unit 11 and a master unit 12. The master unit 12 is connected to the field bus 40 and communicates with each slave 20 and repeater 30. Further, the IO memory of the CPU unit 11 is accessed via the internal bus of the PLC 10 to read / write IO data and the like.
[0026]
A personal computer 42 as a monitor device connected to the PLC 10 is connected to the CPU unit 11 in the illustrated example. However, the present invention is not limited to this, and it can be connected via a network. Further, it can be connected to the master unit 12 or connected to a special function unit provided on the field bus 40. it can.
[0027]
As shown in FIG. 3, the master unit 12 is connected to a field bus, and performs communication between the master and slave via the communication interface 12a that actually transmits and receives data, and the slave 20 and the repeater 30. ASIC 12b for master to send and receive I / O data to and receive predetermined commands and receive responses based on them, MPU 12d to perform various controls, and used as work area when performing various controls RAM 12c, an EEPROM 12e storing a program for performing the above control, various setting data, and the like, an interface 12h for communicating with other units (for example, a CPU unit), an operation state (communication state), LED display 12f indicating abnormality / normality and address And a setting switch 12g for performing such as a constant.
[0028]
As the control performed by the MPU 12d, the CPU unit 11 communicates with other units or operates the master ASIC 12b. Particularly in relation to the present invention, a status read request is received from the personal computer 42 received via the CPU unit 11, a status read command is sent to the slave 20 connected to the network, and a response from the slave 20 is received. When received, it has a function of analyzing it and returning it to the personal computer 42 via the CPU unit 11. At this time, since the commands handled by the CPU unit 11 and the personal computer 42 are different from the commands handled by the repeater 30 and the slave 20, conversion processing is appropriately performed by the master unit 12. The basic hardware configuration and the like are the same as those of the conventional master unit, and thus detailed description thereof is omitted.
[0029]
As shown in FIG. 4, the slave 20 is connected to the field bus, and actually transmits / receives I / O data and various messages to / from the master unit 12 via the communication interface 20a. The slave ASIC 20b that performs communication between the acquired master and slave and transmits / receives I / O data, receives a predetermined command and transmits a response based thereon, MPU 20d that performs various controls, and performs the above control EEPROM 20e that stores programs, various setting data, IO data, etc., I / O unit 20j that connects to I / O devices and transmits / receives I / O data, and operating status (communication status) and abnormal / normal And a setting switch 20g for setting a node address and the like. That. Furthermore, a power supply unit 20 i that steps down the input voltage (24 V) to 5 V and supplies power to each element in the slave 20 is provided.
[0030]
In relation to the present invention, the slave 20 has a function of analyzing the status read command sent from the master unit 12 and issuing a response and returning it to the master unit 12 when addressed to itself. Therefore, when the master unit 12 and the personal computer 42 issue a status read command addressed to a certain node address, if there is a response, there is a slave at that node address, and if there is no response, there is no slave at that node address. The node address of the slave 20 connected to the network can be known. Note that the configuration and operational effects of the slave 20 are the same as those of the conventional one, and thus detailed description thereof is omitted.
[0031]
As shown in FIG. 5, the repeater 30 is mounted between the communication interfaces 31 and 32 respectively connected to the master side and the slave side, and between the communication interfaces 31 and 32, and a predetermined amount of data (signal) is transmitted. A repeater ASIC 33 for processing is provided. Furthermore, a power supply unit 34 is provided that steps down the input voltage (24 V) to 5 V and supplies power to each element in the repeater 30. Furthermore, an LED display unit 35 indicating an operation state (communication state), abnormality / normality, and a setting switch 36 for setting a node address and the like are provided.
[0032]
Further, the repeater ASIC 33 basically has a function of adjusting the waveform of a transmitted signal (disturbed), restoring it to a clean 1/0 digital signal, and outputting it. Since this function is a basic function of a conventional repeater, description of a specific configuration / processing procedure is omitted.
[0033]
In the present invention, as a function of the repeater ASIC 33, when data is received from the master-side communication interface 31, the above-described waveform shaping is performed and passed to the slave-side communication interface 32. When the data (response) is received from the slave side communication interface 32, the above-described waveform shaping is performed, and the node address is added to the response, and then passed to the master side communication interface 31. . Furthermore, when passing through a plurality of repeaters 30, the node addresses of the repeaters 30 are added (for example, always added to the back) in the order of passing.
[0034]
Thereby, in the case of the slave 20 that directly transmits and receives data with the master unit 12 without the repeater 30, the response issued to the status read command reaches the master unit 12 without passing through the repeater 30. The node address of the repeater 30 is not given to the response. On the other hand, when the response issued from the slave 20 on the downstream side of at least one repeater 30 passes through the repeater 30, the node address of the repeater 30 is added. Therefore, the master unit 12 and the personal computer 42 identify whether the slave 20 is directly connected to the field bus 40 connected to the master unit 12 based on whether or not the acquired response includes the node address of the repeater 30. Furthermore, when connected under the repeater 30, it is possible to recognize the network configuration such as which repeater 30 is connected from the node address.
[0035]
In order to monitor the network configuration, the personal computer 42 as a monitor device acquires the connection status of each device (slave 20 and repeater 30) configuring the network via the PLC 10 and displays the connection status on the display device 42a. That is, the personal computer 42 is connected to the CPU unit 11 and communicates with the CPU unit 11. Therefore, the personal computer 42 can know the network configuration based on the obtained response by making a status read request sequentially from the node having the node address # 0, for example.
[0036]
Specifically, the entire network system performs monitoring by performing communication according to the flowchart shown in FIG. The data flow (timing chart) between the devices at that time is as shown in FIG. That is, first, the personal computer 42 requests a status read from the next node (ST1). In other words, in the case of a network system in which node addresses are assigned from # 0 to #N, a status read request is first made to the node of # 0 and a response is received or when a timeout occurs, Request a status read. Thereafter, the process is repeatedly executed in order up to #N while increasing the node address values one by one. Such processing is performed in step (1) in FIG.
[0037]
Next, the status read request issued from the personal computer 42 is output to the field bus 40 via the CPU unit 11 and the master unit 12, and is received by the slave 20 directly or via the predetermined repeater 30 (ST2). Such processing is performed in steps (2) to (5) in FIG. Note that the example shown in FIG. 7 shows a standard one, and when the repeater 30 does not exist up to the slave 20, the step (4) is of course omitted and there are a plurality of repeaters. In this case, the process (4) is executed a plurality of times.
[0038]
Then, when the slave 20 having the desired node address designated in the process (1) receives the status read command and confirms that the command is addressed to itself, it returns its own status information (issues a response) (ST3). . Such processing is performed in step (5) in FIG.
[0039]
This response is transmitted over the network. If the repeater 30 is routed (Yes in ST4), the repeater 30 adds its own address to the response (ST5). Therefore, when the repeater 30 does not exist with the master unit 12 (No in ST4), it is received as it is by the master unit 12, so that the received response is given to the personal computer 42 via the CPU unit 11. (ST6).
[0040]
Accordingly, the personal computer 42 analyzes the acquired response, and recognizes whether or not the node address of the repeater 30 is incorporated in the response, and if it is incorporated, recognizes the specific number, thereby repeating the repeater 30. It is possible to recognize whether the slave 20 that issued the response is connected to which repeater, etc. The node address is also assigned to the repeater 30, and the personal computer 42 knows which node address repeater 30 exists on the network by making a status read request to each repeater 30. Can do.
[0041]
The series of processes described above are performed in steps (6) to (9) in FIG. In addition, the example shown in FIG. 7 shows a standard one, and when the repeater 30 does not exist up to the master unit 12, the step (6) is of course omitted, and there are a plurality of repeaters. If so, the process (6) is executed a plurality of times.
[0042]
6 and 7 show standard ones on the assumption that the target slave exists, but usually there are almost no slaves at all the node addresses, and the numbers become empty numbers. Some node addresses are In that case, since no response is naturally returned, in the example of FIG. 7, the process ends with a time-out until the step (3) or (4). In this case, since there is no response in step 6 in FIG. 6, it is recognized that there is no slave of the node address on the network, and the process returns to step 1 to inspect the next node.
[0043]
As a specific example, as shown in FIG. 8, when the status read command (EVE_frame) is transmitted from the master to the slave # 30, the slave # 30 that has received the command immediately returns a response frame (▲ 1 ▼). Then, while EVE_frame is repeated for the master, repeater # 5 writes its own node address in the response. Accordingly, since the data changes, the CRC (sum check) is recalculated, and the response (of course, waveform shaping) updated to the recalculated CRC is output to the master unit ((2)).
[0044]
Similarly, since this updated response (including: node address of repeater # 5) is taken into repeater # 15, the same processing as repeater # 5 described above is performed here, and the node address of repeater # 5 Is added to the node address of the repeater # 15 (the CRC is also updated), and is output to the master unit 12 ((3)).
[0045]
Therefore, in the master unit 12 (personal computer 42) that has received such a response, the repeaters # 5 and # 15 are written in the data area of EVE_frame. It can be recognized that the connection is made in the order of # 5 → slave.
[0046]
The status data in the response to the above-described status read request can store the addresses of three repeaters in order as shown in FIG. 9, for example. Each repeater adds its own address to a predetermined storage area for status information. Specifically, when the address information of the repeater is not stored in the acquired response, the self address is stored in the storage area of the address information of the first repeater. When the node address of another repeater is already stored in the storage area of the address information of the first repeater and the node address is not stored in the storage area of the node address information of the second repeater, the second repeater concerned Own node address is stored in the node address. Similarly, when the node address of another repeater is already stored in the address information area of the first and second repeaters and the node address is not stored in the storage area of the node address information of the third repeater, 3 The node address of the second repeater is stored in its own node address. Whether or not the node address is stored in the storage area of each node address information can be easily determined by providing, for example, a flag indicating whether or not the node address has been stored or a flag indicating an area to be stored next. Of course, the addition form of the node address is not limited to the illustrated one, and various types can be applied.
[0047]
Then, by repeatedly executing the above processing for each slave, for example, a network configuration diagram as shown in FIG. 10 can be created and displayed on the monitor screen of the display device 42a. As can be seen from FIG. 10, since it can be seen under which repeater the slave is located on the network, a configuration diagram close to the actual network wiring can be displayed on the personal computer 42.
[0048]
【The invention's effect】
As described above, according to the present invention, in a network system including a repeater, it is possible to easily recognize which repeater the slave connected to the downstream side of the repeater is located downstream. In addition, since the repeater itself can perform the processing without holding the slave information connected to the downstream side, the configuration of the repeater can be made simple and inexpensive.
[Brief description of the drawings]
FIG. 1 is a diagram showing an example of a conventional monitor screen.
FIG. 2 is a diagram showing an example of a network system configuration showing an embodiment of the present invention.
FIG. 3 is a diagram illustrating an example of an internal configuration of a master unit.
FIG. 4 is a diagram illustrating an example of an internal configuration of a slave.
FIG. 5 is a diagram showing an example of an internal configuration of a repeater.
FIG. 6 is a flowchart for explaining the operation of the entire network system for carrying out the monitoring method.
FIG. 7 is a time chart for explaining the operation of the entire network system for carrying out the monitoring method.
FIG. 8 is a diagram illustrating the function of a repeater.
FIG. 9 is a diagram illustrating information related to a node address of a repeater in a response data structure.
FIG. 10 is a diagram illustrating an example of a monitor screen displayed by performing the monitoring method of the present invention.
[Explanation of symbols]
10 PLC
11 CPU unit
12 Master unit
12a Communication interface
12b Master ASIC
12c RAM
12d MPU
12e EEPROM
12f LED display
12g setting switch
12h interface
20 slaves
20a Communication interface
20b Slave ASIC
20d MPU
20e EEPROM
20f LED display
20g setting switch
20h interface
20i power supply
20j I / O part
30 repeaters
31, 32 Communication interface
33 ASIC for repeaters
34 Power supply
35 LED display
36 Setting switch
40 Fieldbus
40a Fieldbus
41 Terminal resistance
42 PC
42a display device

Claims (5)

マスタとスレーブの間に少なくとも1つのリピータが介在する構成を含むネットワークシステムにおけるモニタ方法であって、
前記マスタは、前記スレーブに向けてステータスリードコマンドを発行し、
前記ステータスリードコマンドを受けた前記スレーブは、前記マスタに向けてレスポンスを返信し、
前記リピータは、前記レスポンスを中継する際に、そのレスポンスに自己を特定する特定情報を付加し、
前記レスポンスを取得した装置は、そのレスポンスに格納された前記特定情報の有無並びにその内容から前記スレーブと前記リピータの接続関係を認識してネットワークの構成情報をモニタすることを特徴とするネットワークシステムのモニタ方法。
A monitoring method in a network system including a configuration in which at least one repeater is interposed between a master and a slave,
The master issues a status read command to the slave,
The slave that has received the status read command returns a response to the master,
When the repeater relays the response, it adds specific information identifying itself to the response,
The apparatus that has acquired the response recognizes the connection relationship between the slave and the repeater from the presence / absence of the specific information stored in the response and the content thereof, and monitors network configuration information. How to monitor.
マスタとスレーブの間に少なくとも1つのリピータが介在する構成を含むネットワークシステムにおけるモニタリングシステムであって、
前記マスタは、前記スレーブに向けてステータスリードコマンドを発行する機能を有し、
前記スレーブは、自己宛ての前記ステータスリードコマンドを受けると、前記マスタに向けてレスポンスを返信する機能を有し、
前記リピータは、前記レスポンスを中継する際に、そのレスポンスに自己を特定する特定情報を付加する機能を有し、
前記レスポンスを取得した装置は、そのレスポンスに格納された前記特定情報の有無並びにその内容から前記スレーブと前記リピータの接続関係を認識し、ネットワークの構成情報を出力手段に出力する機能を備えたことを特徴とするモニタリングシステム。
A monitoring system in a network system including a configuration in which at least one repeater is interposed between a master and a slave,
The master has a function of issuing a status read command toward the slave,
When the slave receives the status read command addressed to itself, it has a function of returning a response toward the master,
The repeater has a function of adding specific information identifying itself to the response when relaying the response,
The device that has acquired the response has a function of recognizing the connection relationship between the slave and the repeater from the presence and content of the specific information stored in the response and outputting the network configuration information to an output unit. Monitoring system.
前記マスタは、プログラマブルコントローラを構成するものであり、
前記装置は、前記プログラムコントローラに接続されたモニタ装置であることを特徴とする請求項2に記載にモニタリングシステム。
The master constitutes a programmable controller,
The monitoring system according to claim 2, wherein the device is a monitor device connected to the program controller.
ネットワークシステムを構成するマスタとスレーブの間に実装され、前記マスタと前記スレーブ間で伝送されるデータを中継するリピータであって、
前記マスタから発行されたステータスリードコマンドを受けた前記スレーブが、前記マスタに向けて返信したレスポンスを中継する際に、そのレスポンスに対し、自己を特定する特定情報を付加する機能を備えたことを特徴とするリピータ。
A repeater that is implemented between a master and a slave constituting a network system and relays data transmitted between the master and the slave,
The slave having received the status read command issued from the master has a function of adding specific information identifying itself to the response when relaying the response returned to the master. A repeater featuring.
マスタとスレーブの間に少なくとも1つのリピータが介在する構成を含むとともに、前記リピータが、前記マスタから発行されたステータスリードコマンドを受けた前記スレーブが、前記マスタに向けて返信したレスポンスを中継する際に、そのレスポンスに対し、自己を特定する特定情報を付加する機能を備えたネットワークシステムの構成情報をモニタするモニタ装置であって、
前記スレーブが返信したレスポンスを取得するとともに、その内容を解析する機能と、
そのレスポンスに格納された前記特定情報の有無から、そのスレーブが所定のリピータの下に接続されているか否かを判断するとともに、前記特定情報の内容からそのスレーブがどのリピータの下に接続されているかを判断することにより前記スレーブと前記リピータの接続関係を認識する機能と、
その認識した接続関係に基づいて求めたネットワークの構成情報を出力手段に出力する機能を備えたことを特徴とするモニタ装置。
Including a configuration in which at least one repeater is interposed between the master and the slave, and the repeater relays a response that the slave that has received the status read command issued from the master returns to the master In addition, for the response, a monitoring device that monitors configuration information of the network system having a function of adding specific information for identifying itself,
A function for acquiring the response returned by the slave and analyzing its contents;
From the presence or absence of the specific information stored in the response, it is determined whether or not the slave is connected under a predetermined repeater, and the repeater is connected under which repeater from the content of the specific information A function of recognizing the connection relationship between the slave and the repeater by determining whether or not
A monitor device comprising a function of outputting network configuration information obtained based on the recognized connection relationship to an output means.
JP2003006412A 2003-01-14 2003-01-14 Network system monitoring method, monitoring system, repeater and monitoring device Expired - Fee Related JP4019946B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003006412A JP4019946B2 (en) 2003-01-14 2003-01-14 Network system monitoring method, monitoring system, repeater and monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003006412A JP4019946B2 (en) 2003-01-14 2003-01-14 Network system monitoring method, monitoring system, repeater and monitoring device

Publications (2)

Publication Number Publication Date
JP2004221905A JP2004221905A (en) 2004-08-05
JP4019946B2 true JP4019946B2 (en) 2007-12-12

Family

ID=32896788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003006412A Expired - Fee Related JP4019946B2 (en) 2003-01-14 2003-01-14 Network system monitoring method, monitoring system, repeater and monitoring device

Country Status (1)

Country Link
JP (1) JP4019946B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060218321A1 (en) 2005-03-24 2006-09-28 Yamaha Corporation Control system and communication system for digital mixer
JP4544420B2 (en) * 2005-03-31 2010-09-15 オムロン株式会社 Received data compensator
JP4623291B2 (en) * 2005-07-12 2011-02-02 オムロン株式会社 Method for teaching network configuration information in PLC system
JP2008235984A (en) * 2007-03-16 2008-10-02 Omron Corp Signal waveform analysis / determination device and signal waveform analysis / determination method
JP5585313B2 (en) * 2010-08-31 2014-09-10 富士電機株式会社 Slave device and monitoring method thereof
JP6085979B2 (en) * 2013-01-31 2017-03-01 株式会社富士通ゼネラル Air conditioner system
DE112018007573B4 (en) 2018-05-07 2026-04-30 Mitsubishi Electric Corporation air conditioning

Also Published As

Publication number Publication date
JP2004221905A (en) 2004-08-05

Similar Documents

Publication Publication Date Title
CN101741637B (en) Method and device for diagnosing networks, in particular fieldbus systems
CA2668879C (en) Fdt for eddl-based field devices
CN101989085B (en) Controller
CN108377255B (en) Information processing apparatus, information processing method, and recording medium
CN104635659B (en) The device class information of multi-option equipment is supported
CN111052087B (en) Control system, information processing device and recording medium
CN108376111B (en) Information processing apparatus, information processing method, and computer-readable storage medium
JP2013050978A (en) Plc executive with integrated web server
EP3078165B1 (en) Web-based interaction with building automation
EP3333657A1 (en) Communication system, communication device, and communication program
US11165745B2 (en) Control system, controller, and control method
CN105340222B (en) For input/output module to be connected to the field bus coupler of fieldbus and the method for operation of field bus coupler
JP2004199670A (en) Data collection device and data collection system
JP4019946B2 (en) Network system monitoring method, monitoring system, repeater and monitoring device
JP6969371B2 (en) Control system and control unit
KR100949814B1 (en) Integrated remote monitoring system of uninterruptible power supply
EP3952223B1 (en) Network management device, management method, management program, and recording medium
JP3818450B2 (en) Method for determining communication stability of network system and network system
CN118760118B (en) Domain controller signal testing methods, systems, computer program products, and vehicles
JP2006254045A (en) Serial bus data collecting device and data collection system
US11215974B2 (en) Factory automation (FA) system, controller, and control method
CN102480388A (en) Monitoring method
JP2019159753A (en) Control device, control method, and control program
CN112711238B (en) Data replacement method, device, device and storage medium
JP2010026948A (en) Communication equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050920

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070827

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: 20070904

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070917

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

Free format text: PAYMENT UNTIL: 20101005

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4019946

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101005

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111005

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111005

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121005

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121005

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131005

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees