JP3501650B2 - Programmable controller network system - Google Patents

Programmable controller network system

Info

Publication number
JP3501650B2
JP3501650B2 JP14995598A JP14995598A JP3501650B2 JP 3501650 B2 JP3501650 B2 JP 3501650B2 JP 14995598 A JP14995598 A JP 14995598A JP 14995598 A JP14995598 A JP 14995598A JP 3501650 B2 JP3501650 B2 JP 3501650B2
Authority
JP
Japan
Prior art keywords
station
transmission
network
data
frame signal
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
JP14995598A
Other languages
Japanese (ja)
Other versions
JPH11345146A (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 Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP14995598A priority Critical patent/JP3501650B2/en
Publication of JPH11345146A publication Critical patent/JPH11345146A/en
Application granted granted Critical
Publication of JP3501650B2 publication Critical patent/JP3501650B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】この発明は、プログラマブル
コントローラ(以下PCと称す)間の通信等に用いられ
るプログラマブルコントローラネットワークシステム用
のネットワークユニットに関する。 【0002】 【従来の技術】各種の生産・組立ラインにおいて、複数
台のPCをネットワークケーブルによって相互に通信可
能に接続してPCネットワークシステムを構築すること
は多く行われている。PCネットワークシステムには、
一つのPCが他ノード(他のPC)とデータ通信を行う
ために、主として、サイクリック伝送とトランジェント
伝送の2つの伝送方式が装備されている。 【0003】サイクリック伝送とトランジェント伝送は
それぞれPCでサポートされる通信機能であり、サイク
リック伝送は、各局に自局の送信範囲を設定し(自局の
送信範囲以外は受信範囲になる)、各局はサイクリック
に自局の送信範囲の内容をブロードキャスト方式で全局
に送信(一斉同報)する。サイクリック伝送では、ユー
ザは通信を意識すること無く、自局の送信範囲にデータ
を書き込むだけで、他局に伝えたい内容を伝送すること
ができる。トランジェント伝送では、PCどうしで処理
要求があるごとに、要求フレームと応答フレームが往復
する通信形態をとる。 【0004】サイクリック伝送とトランジェント伝送の
根本的な違いは、送信処理の常時性とユーザプログラム
インタフェースにあり、通信を意識せずローカルメモリ
にデータを書き込むイメージで作って伝えたい内容を1
対nで常時伝送する(前者)か、通信を意識してコマン
ドフレームを作って伝えたい内容を要求が発生したタイ
ミングで1対1で伝送する(後者)かというものであ
る。 【0005】つぎに、図7〜図17を用いて従来例を説
明する。図7は従来のネットワークユニット1001と
PC本体1002で構成されたPCネットワークのシス
テム構成を示している。各局のネットワークユニット1
001はネットワークケーブル1003によって相互に
接続され、相互にデータを交換し合うことができる。P
C本体1002上のユーザプログラムはネットワークユ
ニット1001を介して、他局PC本体上のユーザプロ
グラムとデータの交換を行う。各ネットワークユニット
1001には局番1〜4が付けられている。ネットワー
クシステムにおいて、局番の重複は許されない。局番が
重複していると、伝送されてきたデータをどちらの局に
渡したらよいか判別できないからである。データの交信
はこの局番に基づいて行われる。局番は一つのネットワ
ークシステムにおいては、唯一無二である必要がある。 【0006】図8は上述のようなネットワークシステム
における送信制御の様子を示している。ネットワークシ
ステムにおける送信制御方法としては、ポーリング方
式、CSMA/CD方式、トークン方式等、様々な方法
が既に知られている。図8に示されている例では、トー
クン方式を用いた説明図となっている。 【0007】トークン方式とは、トークンと呼ばれる送
信権をネットワーク上で巡回させ、トークンを捕獲した
局のみがデータを送信するいう制御方式であり、トーク
ンを持っていない局は、送信はできず、トークンを持っ
た局から送信されたデータを受信することができる。ト
ークン方式のネットワークシステムにおけるデータ伝送
は、図8に示されているように、トークンの巡回・トー
クンの捕獲・トークン保有局のデータ送信・トークン保
有局からのデータ受信・トークンの解放→トークンの巡
回…の繰り返しによって行われる。 【0008】サイクリック伝送は、各局に自局の送信範
囲を設定し(自局の送信範囲以外は受信範囲になる)、
各局はサイクリックに自局の送信範囲の内容をブロード
キャスト方式で全局に一斉同報するものであり、図8で
は、“●”が送信データ(送信局),“○”が受信デー
タ(受信局)を意味している。サイクリック伝送は常時
ブロードキャスト方式で伝送されるため、応答伝文は存
在しない。データの送信→データの受信の一方向のみで
ある。 【0009】トランジェント伝送は、PCどうしで処理
要求があるごとに、要求フレームと応答フレームが往復
する通信形態をとるものであり、図8では、局番1がト
ークンを保有したタイミングで、局番3宛てにトランジ
ェント要求を送信し、局番3はトークンを保有したタイ
ミングでトランジェト応答を送信する。トランジェント
伝送において応答は必須である。トランジェント伝送の
説明にあるようにプロトコル(通信規約のこと)として
は、要求と応答が往復するという単純な双方向通信であ
るが、ユーザプログラムのレベルでは、相手PCとのデ
ータ交換が目的であるため、読み出し要求に対しては読
み出しデータという応答が、書き込み要求に対しては書
き込み完了を示す書き込み応答が、それぞれ必須であ
る。 【0010】図9はネットワークシステム中を伝送する
フレームフォーマットを示している。このフレームフォ
ーマットにおいて、“F”はフレームの開始と終了を示
すためのフラグ、“DA”は宛先アドレス、“SA”は
送信元アドレス、“C”はフレームの内容を示すコント
ロールフィールド、“I”はフレームの情報部(データ
そのもの)、“FCS”はフレーム検査シーケンスであ
る。たとえば、“C”が“0”であれば、サイクリック
伝送データ、“C”が“1”であれば、トランジェント
伝送データである。 【0011】図10はPCネットワークシステムに対し
て新たな局5を追加する際の様子を示している。FAに
おける生産ラインにおいては、現在稼働中のシステム
に、そのまま新規PCを増設することがある。特に、生
産する対象がラインナップの多い製品であるほど、生産
ラインの追加は頻発する。生産ラインを稼動したまま、
システムの拡張ができることがもっとも生産ラインの稼
働率を挙げることができ、ユーザにとっては、もっとも
損益が少ないことになる。すなわち、オンラインでの局
追加、オンラインでのデバックはユーザにとって関心の
強い項目の一つである。 【0012】図11は局5を追加した後の送信制御の様
子を示している。サイクリック伝送はユーザのプログラ
ムの状態に拘わらず、ネットワークユニット1001に
よって自動的に行われるため、局5がトークンを保有す
ると、データが自動的に送信される。 【0013】図12は追加した局5のユーザプログラム
がトランジェント要求を発行している様子を示してい
る。追加した局のPC本体1002上のユーザプログラ
ムでトランジェント要求の送信起動が行われ、トークン
を受信したタイミングでトランジェント要求が局1に発
行されている。局1はトークンを保有したタイミングで
局5に対してトランジェントの応答を返す。前述したよ
うにトランジェント伝送において応答は必須である。 【0014】これをユーザのシステム的観点から考えて
みる。システムは単体のPCで稼動できるものではな
く、必ず複数台のPCが相互に協調しあってシステムを
制御している。この協調については様々な方法が考えら
れるが、お互いに相手のデータを読み出すことで、相手
システムの状態に応じて自システムの振る舞いを制御し
たり、相手に自分のデータを書き込んで自システムの状
態を相手システムに通知し、相手に相手システムの状態
を制御してもらうといった形態で、協調が行われること
が一般的である。協調を行うためには、送信した要求に
対する応答が不可欠である。ここでの応答とは、読み出
し要求に対しては読み出しデータであり、書き込み要求
に対しては書き込み正常完了(書き込みが正常に行われ
たことを示す)、または書き込み異常完了(書き込みが
正常に行われなかったことを示す)である。 【0015】また、常に要求の送信対象局が存在してい
る保証はない。システムは状態不変のものでなく、メン
テナンス等により要求の送信対象局が電源を切られてお
り、ネットワークシステムに加入していないこともあり
得る。そのため、送信対象局が異常状態(送信対象局不
在も異常状態の一つである)である場合には、異常応答
をユーザプログラムに返すこともトランジェント伝送で
は重要な機能の一つである。なぜならば、システムが協
調して稼動している場合、不作動局と協調することはで
きない(読み出しデータや書き込み完了を得ることがで
きない)ためである。 【0016】生産ラインが通常のオンライン稼動中であ
れば、局5がサイクリック伝送、トランジェント伝送と
も実行して問題はないが、局5は、あくまで新規加入
局、すなわちデバック中の局であり、局5上のユーザプ
ログラムが正常にデータ伝送する保証はない。このた
め、ユーザは、稼動中のシステムのコピーを一つ作って
局5のユーザプログラムをデバックしたり、図13に示
されているように、送信起動とトランジェント要求の間
にオフラインスイッチを入れることにより、送信起動の
信号が入っても、実際には送信処理が行われないように
してユーザプログラムのデバックを行っている。 【0017】しかし、前者はユーザにとってコストアッ
プ要因であり、後者は実際に送信処理が行われないた
め、送信処理(PC本体とネットワークユニットとの間
のインフェース処理)については、デバッグが行われな
いと云う欠点がある。 【0018】図14はネットワークユニット1001の
送受信処理と各局の交信状況作成処理の機能ブロックに
ついて説明している。ユーザプログラムが他局に伝えた
いデータは送信処理Aを介して外部に送信され、他局の
データは受信処理Bを介してユーザプログラムに渡され
る。データを受信する際は、図9のフレームフォーマッ
トに基づき送受信されるため、フレームフォーマット中
の“SA”を参照することで送信元局番が判る。その結
果を利用して各局交信状況作成処理Cにて、各局が正常
に交信しているかどうかを判別する。交信状況は、
“0”が交信実施中、“1”が交信未実施を示す。 【0019】図15はネットワークユニット1001の
送受信処理と各局の交信状況作成処理の概略フローを示
している。まず、受信データの有無を確認し(ステップ
S101)、受信データがあれば(ステップS101肯
定)、受信したフレームフォーマット中の“SA”によ
り、送信元局番を確認する(ステップS102)。つぎ
に、送信元局番の交信状況を更新し(ステップS10
3)、受信したデータをユーザプログラムに受け渡す
(ステップS104)。 【0020】受信データがなければ(ステップS101
否定)、送信データの有無を確認し(ステップS10
5)、送信データがなければ(ステップS105否
定)、処理を完了する。送信データがあっても(ステッ
プS105肯定)、トークンがなければ送信できないた
め、トークンの有無を確認する(ステップS106)。
トークンがなければ(ステップS106否定)、トーク
ンを獲得する必要があるため、本処理は完了する。トー
クンが有ると判断した場合には(ステップS106肯
定)、ユーザプログラムからデータを受け取り、送信処
理を行う(ステップS107)。 【0021】このフローを一見すると、データ送信する
タイミングがないように思えるが、自局がトークンを保
有しているタイミングで、他局がデータを送信すること
はないため、受信データが存在しないタイミングが必ず
存在する。すなわち、本フローを実行していれば、デー
タの送信は可能である。 【0022】図16はトランジェント送信処理の概略フ
ローを示している。トランジェント送信処理では、ま
ず、トークンの有無を確認し(ステップS111)、ト
ークンがあれば(ステップS111肯定)、ユーザプロ
グラムからデータを受け取り、送信処理を行う(ステッ
プS112)。トークンがなければ(ステップS111
否定)、トークンを獲得する必要があるため、本処理は
完了する。 【0023】図17は自システムが要求を送信して応答
を受信するまでのユーザプログラムとPCと局とが、ど
のようなタイミングでデータの交換を行っているかを示
している。ユーザプログラムが送信要求を行うと、PC
が送信要求を受付局に渡し、局はネットワーク上に要求
伝文を流す。これにより、要求伝文は送信対象局に伝送
される。伝文には、前述したように、宛先アドレスDA
と送信元アドレスSAの関係が明記されているため、ネ
ットワークは送信対象局に伝文を伝送することができ
る。 【0024】送信対象局に到達した伝文はPCに渡さ
れ、PCから送信対象局のユーザプログラムに渡され
る。送信対象局は、要求を処理して応答を作成し、応答
を送信する。応答作成時には伝文の宛先アドレスDAと
送信元アドレスSAを入れ替えるため、応答は要求の送
信局を目指して送信されることになる。以降、要求送信
と同様な手続きによって要求送信元のユーザプログラム
に応答は渡される。 【0025】 【発明が解決しようとする課題】従来の技術の項でも述
べたが、FAにおける生産・組立ラインにおいては、現
在稼働中のシステムにそのまま新規PCを増設すること
があり、特に、生産する対象がラインナップの多い製品
であるほど、生産ラインの追加は頻発し、オンラインで
の局追加、オンラインでのユーザプログラムのデバック
はユーザにとって関心の強い項目の一つである。 【0026】しかし、従来のネットワークシステムで
は、送信制御の方法にて説明したように、新規加入局も
トークンを捕獲したタイミングで、いきなり送信をはじ
めてしまうため、既存の生産ラインにとっては未知の局
から未知のデータが送られてくることに等しく、既存の
生産ラインの制御に悪影響を及ぼす懸念がある。このこ
とに対して、ユーザプログラムの送信起動とトランジェ
ント要求の間にオフラインスイッチを入れることによ
り、送信起動の信号が入っても、実際には送信処理が行
われないようにしてユーザプログラムのデバックを行
い、デバック完了後にオフラインスイッチ削除するこ
とは、PC本体とネットワークユニットとの間のインフ
ェース処理に関する送信処理についてはデバッグが行わ
れず、デバック品質を落とすことになり、しかもユーザ
プログラムにおけるオフラインスイッチの追加、削除と
云う面倒な作業が必要になる。 【0027】また、稼動中のシステムのコピーを一つ作
って追加局のユーザプログラムをデバックすることは、
システムの構築ユーザに大きいコスト負担を強いること
になる。 【0028】この発明は、上述の如き問題点を解消する
ためになされたもので、ユーザプログラムにおけるオフ
ラインスイッチの追加、削除と云う面倒な作業や、稼動
中のシステムのコピーを作成することなく、しかも現在
稼働中のFAシステムやデバッグ完了後のユーザプログ
ラムに影響を与えることなく、オンラインでの的確なデ
バッグを可能にするプログラマブルコントローラネット
ワークシステム用のネットワークユニットを得ることを
目的としている。 【0029】 【課題を解決するための手段】上述の目的を達成するた
めに、この発明では、固有の局番が付与されたネットワ
ークユニットが夫々設けられた複数のプログラマブルコ
ントローラを各ネットワークユニットを介してネットワ
ークケーブルに接続し、送信権を得た局が他の局に対
し、送信元アドレス、宛先アドレス、サイクリック伝送
およびトランジェント伝送のいずれであるかを示すコン
トロールフィールド、およびデータを含むフレーム信号
を送信することによって、送信権を得た局が他の全ての
局に対しブロードキャスト方式で前記フレーム信号を送
信するサイクリック伝送と、送信権を得た局が他の一つ
の局に前記フレーム信号を要求フレーム信号として送信
するとともに前記要求フレーム信号を受信した局が送信
権を得た時点で前記フレーム信号を応答フレーム信号と
して送信元の局に送信するトランジェント伝送とを各局
で実行させることで、複数のプログラマブルコントロー
ラが相互に強調し合って制御対象システムを制御するプ
ログラマブルコントローラネットワークシステムにおい
て、各プログラマブルコントローラに付設される各ネッ
トワークユニットは、自局がデバックモードであるか否
かを規定するモード信号を格納するモード格納部と、前
記ネットワークケーブル上で伝送される前記フレーム信
号中の送信元アドレスに基づき各局が交信実施中である
か交信未実施であるかを示す交信状況情報を作成する各
局交信状況作成処理部と、前記モード信号がデバックモ
ードを指定している場合には、前記サイクリック伝送に
かかる送受信を行う際は、データ受信のみを行い前記送
信権を獲得してもデータ送信を行わず、自局プログラマ
ブルコントローラから前記トランジェント伝送の要求フ
レーム信号を受け取った際は、前記各局交信状況作成処
理部からの交信状況情報に基づき要求フレーム信号中の
宛先アドレスに対応する局が交信実施中であるか交信未
実施であるかを判別し、交信実施中である場合は受け取
った要求フレーム信号に対応する前記応答フレーム信号
を、交信未実施である場合は異常応答フレーム信号を自
局プログラマブルコントローラに返信する処理を実行す
る送受信制御手段とを備えることを特徴とする。 【0030】 【0031】 【0032】 【発明の実施の形態】以下に添付の図を参照してこの発
明に係るプログラマブルコントローラネットワークシス
テム用のネットワークユニットの実施の形態を詳細に説
明する。なお、以下に説明するこの発明の実施の形態に
おいて上述の従来例と同一構成の部分は、上述の従来例
に付した符号と同一の符号を付してその説明を省略す
る。 【0033】実施の形態1.図1は、既存のネットワー
クシステムに局5と局6を追加したシステム構成を示し
ている。局番1〜4のPCは既設PCであり、局5と局
6のPCはユーザプログラムをデバック中(以下デバッ
ク中と称す)のPCである。 【0034】図2はこの発明によるネットワークユニッ
ト11の送受信処理と各局の交信状況作成処理の機能ブ
ロックについて説明している。このネットワークユニッ
ト11は、送信処理Aにデータを実際に外部に送信する
送信実処理部Aa以外に、自局の動作(オンラインモー
ド,デバックモード)を規定するモードを格納するモー
ド格納部Abと、モード格納部Abに格納されている内
容を判別するモード判別処理部Acが追加されている。
モード格納部Abの内容については“0”がオンライン
を“1”がデバックのモードであることを示している。 【0035】このモードはスイッチ等によりユーザサイ
ドで切換設定され、既設PC(既存局)はオンラインモ
ードに、デバック中のPC(追加局)はデバックモード
に設定される。オンラインモードでは、オンラインモー
ド局1〜4から送信されたデータを全局にブロードキャ
スト伝送し、通常のデータ交信を行う。これに対し、デ
バックモードでは、既存局よりのデータを受信するのみ
で、トークン(データ送信権利)を保有してもデータ送
信することなくトークンを解放する。 【0036】図3はこの発明によるネットワークユニッ
ト11を使用したPCネットワークシステムにおけるサ
イクリック伝送交信の様子を示している。図3からも分
かるように、オンラインモードを設定された局番1〜4
の既存局は、オンラインモード局1〜4から送信された
データを全局にブロードキャスト伝送し、通常のサイク
リック伝送交信を行う。これに対し、デバックモードを
設定された局番5、6の追加局は、既存局よりのデータ
を受信するのみで、トークンを保有してもデータ送信す
ることなくトークンを解放する。 【0037】ネットワークユニット11の各局交信状況
作成処理Cは、従来のものと同様に、フレームフォーマ
ット中の“SA”を参照して各局が正常に交信している
か否かを判別する。交信状況は、“0”が交信実施中、
“1”が交信未実施を示し、この各局交信状況情報Ci
を保持する。 【0038】ネットワークユニット11は折り返し処理
部D追加されている。折り返し処理部Dは、トランジ
ェント伝送において、自局がデバックモードの場合、モ
ード判別処理部Acによるモード判別処理の判断内容を
受け取り、各局交信状況情報Ciの内容に基づいて送信
対象局の通信状況に応じて送信対象局の有無を判別し、
正常応答または異常応答を作成して折り返し処理を行
う。 【0039】つぎに、図4を参照してネットワークユニ
ット11の送受信処理と各局の交信状況作成処理の概略
フローについて説明する。受信処理ステップS101〜
ステップS104は従来のものと同じであり、受信デー
タの有無を確認し(ステップS101)、受信データが
あれば(ステップS101肯定)、受信したフレームフ
ォーマット中の“SA”により、送信元局番を確認する
(ステップS102)。つぎに、送信元局番の交信状況
を更新し(ステップS103)、受信したデータをユー
ザプログラムに受け渡す(ステップS104)。 【0040】送信データがある場合には(ステップS1
05肯定)、モード格納部Abからモード情報を読み出
し、モード判別処理部Acによって自局のモード判定を
行う(ステップS108)。このモード判定において、
自局のモードがオンラインモードであれば(ステップS
108肯定)、従来のものと同様に、トークンを確保し
次第、ユーザプログラムからデータを受け取って送信処
理を行う(ステップS106,ステップS107)。こ
れに対し、自局のモードがデバックモードであれば(ス
テップS108否定)、データを送信せずに、そのまま
本処理を完了する。 【0041】すなわち、局がデバックモードである限
り、他局のデータを受信するが、自局データを送信する
ことはない。よって他局に一切データ的に影響を与え
ず、稼働中のFAシステムには影響を与えずに新規追加
局のユーザプログラムのデバックを行うことができる。 【0042】図5はこの発明によるネットワークユニッ
ト11を使用したPCネットワークシステムにおけるト
ランジェント伝送交信の様子を示している。オンライン
モードを設定された既存局である局番1のPCは、従来
のものと同様に、トークンを保有したタイミングで局番
4にトランジェント要求を発行し、要求を受取った局番
4のPCはトークンを保有したタイミングで局番1に対
してトランジェント応答を返す。新規追加局の局番5と
局番6のPCは、トランジェント要求については、トー
クンを保有していてもデバックモードであることから、
自局内で折り返し処理を行う。 【0043】つぎに、図6を参照してネットワークユニ
ット11のトランジェント送信処理の概略フローについ
て説明する。まず、モード格納部Abからモード情報を
読み出し、モード判別処理部Acによって自局のモード
判別を行う(ステップS113)。自局のモードがオン
ラインモードであれば(ステップS113肯定)、従来
のものと同様に、トークンの有無を確認し(ステップS
111)、トークンがあれば(ステップS111肯
定)、ユーザプログラムからデータを受け取り、送信処
理を行う(ステップS112)。 【0044】これに対し、自局のモードがデバックモー
ドであれば(ステップS113否定)、各局交信状況作
成処理C内の各局交信状況情報Ciを読み出し(ステッ
プS114)、ユーザプログラムによる該当局(送信対
象局)が交信実施中であるか否かを判定する(ステップ
S115)。この判定は各局交信状況情報Ciの内容を
参照することにより行われ、各局交信状況情報Ciにお
ける該当局ビットが“0”であれば、該当局は交信実施
中であり、該当局ビットが“1”であれば、該当局は交
信未実施である。 【0045】交信実施中であれば(ステップS115肯
定)、送信対象局が存在するとして正常応答を作成し
(ステップS116)、折り返し処理を行う(ステップ
S118)。該当局が交信実施中でないと判定した場合
には(ステップS115肯定)、送信対象局が存在しな
いとして異常応答を作成し(ステップS117)、折り
返し処理を行う(ステップS118)。すなわち、デバ
ックモード局はユーザプログラムでトランジェント要求
が発生した場合、自局内で持っている他局の交信状況情
報を利用して自局内で応答を作成して折り返し処理を行
う。これにより、デバックモード局にてユーザプログラ
ムでトランジェント要求が発生しても、デバックモード
局はデータ送信を行わないから、既設ラインのオンライ
ンモード局にデータに関して一切影響を与えない。 【0046】なお、正常応答も異常応答の必要性につい
ては従来例と同様であるため割愛する。また対象局が交
信を実施していない場合には、対象局からの応答はあり
得ないため、局内部で折り返し応答が必要であることは
明白である。 【0047】ネットワークユニット11はPC本体10
02からトランジェント要求を受け取り、かつトランジ
ェント応答の受け渡しも行うため、ネットワークユニッ
ト11とPC本体1002との間のインタフェースのデ
バックは十分可能である。 【0048】 【発明の効果】以上の説明から理解される如く、この発
明によれば、制御対象システムが実際に稼働中に、他
局、制御対象システムに影響を与えることなく、ネット
ワークに新規に追加されるプログラマブルコントローラ
についてのサイクリック伝送およびトランジェント伝送
にかかるプログラムのデバッグを制御対象システムの実
際の稼働中により近い状態で実行し得るという効果を奏
する。 【0049】 【0050】
DETAILED DESCRIPTION OF THE INVENTION [0001] BACKGROUND OF THE INVENTION 1. Field of the Invention
Used for communication between controllers (hereinafter referred to as PC)
For programmable controller network systems
Related to the network unit. [0002] 2. Description of the Related Art In various production and assembly lines,
PCs can communicate with each other via a network cable
Building a PC network system by connecting
Has been done a lot. PC network systems include:
One PC performs data communication with another node (other PC)
Mainly due to cyclic transmission and transient
Two transmission modes of transmission are provided. [0003] Cyclic transmission and transient transmission are
These are communication functions supported by the PC,
Rick transmission sets each station's own transmission range (for its own station).
Reception range is outside transmission range), each station is cyclic
To all stations using broadcast method
(Broadcast). In cyclic transmission, you
The user does not need to be aware of communication,
Simply transmit the content you want to convey to other stations.
Can be. Processes between PCs in transient transmission
Request frame and response frame round trip for every request
Communication form. [0004] In cyclic transmission and transient transmission,
The fundamental difference is the constant nature of the transmission process and the user program
In the interface, local memory without being aware of communication
Content that you want to convey and create with the image of writing data to
Always transmit data in the pair n (the former) or use command
Thailand where a request was made for the content to be created and conveyed
Or one-on-one transmission (the latter)
You. Next, a conventional example will be described with reference to FIGS.
I will tell. FIG. 7 shows a conventional network unit 1001 and
A PC network system composed of the PC body 1002
1 shows a system configuration. Network unit 1 of each station
001 are mutually connected by the network cable 1003.
Connected and can exchange data with each other. P
The user program on the C main unit 1002 is
The user program on the PC of the other station via the unit 1001
Exchange data with gram. Each network unit
Station numbers 1 to 4 are assigned to 1001. Network
No duplication of the station number is allowed in the security system. The station number is
If they overlap, the transmitted data is sent to either station.
This is because it is not possible to determine whether to hand it. Data communication
Is performed based on this station number. The station number is one network
Work systems need to be unique. FIG. 8 shows a network system as described above.
2 shows the state of transmission control in. Network
The polling method is used as a transmission control method in the system.
Method, CSMA / CD method, token method, etc.
Is already known. In the example shown in FIG.
This is an explanatory diagram using the Kun method. [0007] The token system is a transmission method called a token.
Credentials circulated on the network and captured tokens
This is a control method in which only stations transmit data, and talk
Stations that do not have a token cannot transmit and have a token.
Can receive data transmitted from the station. G
Data transmission in a kun-type network system
Is, as shown in FIG.
Capture of tokens, transmission of data from token holders, token storage
Receiving data from the organization, releasing tokens → circulating tokens
It is performed by repeating times. [0008] In the cyclic transmission, each station transmits its own transmission range.
Set the reception area (except for the transmission range of your own station will be the reception range),
Each station cyclically broadcasts the contents of its own transmission range
Broadcast to all stations simultaneously by the cast method.
Indicates the transmission data (transmitting station), and "O" indicates the reception data.
(Reception station). Cyclic transmission is always
Since the message is transmitted by the broadcast method, there is no response message.
Does not exist. Data transmission → Data reception only in one direction
is there. [0009] Transient transmission is processed between PCs
Request frame and response frame round trip for every request
In FIG. 8, the station number 1 is the
Transit to station number 3 at the same time
Sends a request for the token, and
Send a transit response at the moment. Transient
Responses are essential in transmission. Transient transmission
As described in the protocol (communication protocol)
Is a simple two-way communication between request and response.
However, at the user program level,
Data exchange, the read request is
The response of read data is written for a write request.
A write response indicating completion of writing is required.
You. FIG. 9 shows transmission in a network system.
This shows the frame format. This frame
"F" indicates the start and end of a frame
"DA" is the destination address, and "SA" is the
The source address “C” is a control indicating the contents of the frame.
Roll field, "I" is information part of frame (data
Itself), “FCS” is the frame inspection sequence
You. For example, if “C” is “0”, cyclic
Transmission data, if "C" is "1", transient
This is transmission data. FIG. 10 shows a PC network.CisAgainst the system
9 shows a state when a new station 5 is added. To FA
System currently in operation
Then, a new PC may be added as it is. Especially raw
The more products that you produce, the more products you have
Lines are added frequently. With the production line running,
Expanding the system is the most efficient
Utilization rate, and for the user,
The profit and loss will be small. I.e. stations online
Additional, online debugging is of interest to users
It is one of the strong items. FIG. 11 shows the transmission control after the station 5 is added.
Shows a child. Cyclic transmission is a user program
Network unit 1001 regardless of the
Therefore, station 5 holds the token because it is performed automatically.
Then, the data is sent automatically. FIG. 12 shows a user program of the added station 5.
Is issuing a transient request.
You. User program on the PC 1002 of the added station
Triggering the transmission of a transient request in the
A transient request is issued to station 1 at the
Has been done. When the station 1 holds the token
A transient response is returned to the station 5. I mentioned earlier
Thus, a response is essential in transient transmission. Considering this from the viewpoint of the user's system
View. The system cannot run on a single PC
In addition, multiple PCs must cooperate with each other
Controlling. There are various ways to think about this cooperation.
However, by reading each other's data,
Controls the behavior of the own system according to the state of the system
Or write your own data to the other party to
Status is notified to the remote system and the status of the remote system is notified to the remote system.
Coordination in the form of control over
Is common. In order to cooperate, the request sent
Response is essential. The response here is read
The request is read data and the write request
Indicates that the writing was completed normally
), Or a write error was completed (write
Indicating that the operation was not performed normally). Also, there is always a request target station.
There is no guarantee that The system is not state-invariant;
The station to which the request was sent was turned off due to tenancy, etc.
May not have subscribed to the network system
obtain. Therefore, the transmission target station is in an abnormal state (the transmission target
Is still one of the abnormal conditions), abnormal response
Can be returned to the user program by transient transmission.
Is one of the important functions. This is because the system
Coordination with a dead station is not possible
Not be able to obtain read data or write completion
Is not possible). When the production line is in normal online operation
If the station 5 is cyclic transmission and transient transmission
Has no problem, but station 5 is a new member
Station, that is, the station being debugged, and the user
There is no guarantee that the program will transmit data normally. others
User makes one copy of the running system
Debug the user program of station 5 or
Between the start of transmission and the transient request
By setting the offline switch to
Even if a signal enters, the transmission process is not actually performed.
To debug user programs. However, the former is costly for the user.
The latter is the cause of the
Transmission processing (between the PC and the network unit)
Debugging is not performed for
There is a shortcoming. FIG. 14 shows the network unit 1001.
Function blocks for transmission / reception processing and communication status creation processing for each station
Is explained. User program reported to other stations
Data is transmitted to the outside through transmission processing A,
The data is passed to the user program via the receiving process B
You. When receiving data, the frame format shown in FIG.
Because the frame is sent and received based on the
The source station number can be determined by referring to “SA” of FIG. The result
In each station communication status creation process C using the result, each station is normal
To determine if they are communicating with The communication situation is
“0” indicates that communication is being performed, and “1” indicates that communication has not been performed. FIG. 15 shows the network unit 1001.
The schematic flow of the transmission / reception process and the communication status creation process of each station is shown.
are doing. First, check if there is any received data (step
S101) If there is received data (step S101: Yes)
), According to “SA” in the received frame format.
The source station number is checked (step S102). Next
Then, the communication status of the source station number is updated (step S10).
3), transfer the received data to the user program
(Step S104). If there is no received data (step S101)
(No), confirm the presence or absence of transmission data (step S10)
5) If there is no transmission data (step S105: No)
), And complete the process. Even if there is data to send (step
Step S105 affirmative), transmission was not possible without a token
Then, the presence or absence of a token is confirmed (step S106).
If there is no token (No at Step S106), talk
This process is completed because it is necessary to acquire the toe
If it is determined that there is a crack (Yes at step S106)
Data) from the user program and send
Is performed (step S107). At first glance, this flow transmits data.
It seems that there is no timing, but your station holds the token.
Other stations transmit data at the timing they have
Since there is no
Exists. That is, if this flow is executed,
Data transmission is possible. FIG. 16 is a schematic diagram of the transient transmission process.
Shows low. In the transient transmission process,
The token is checked (step S111).
If there is a token (Yes at step S111), the user
Data from the datagram and perform transmission processing (step
S112). If there is no token (step S111
Denial), because it is necessary to acquire a token,
Complete. FIG. 17 shows that the own system transmits a request and responds.
Until the user program, PC and station are received
Indicates whether data is exchanged at the timing
are doing. When the user program makes a transmission request, the PC
Passes the transmission request to the receiving station, and the station requests on the network
Send a message. As a result, the request message is transmitted to the transmission target station
Is done. The message includes the destination address DA as described above.
And the source address SA are clearly specified.
Network can transmit messages to the target station.
You. The message arriving at the target station is passed to the PC.
Is passed from the PC to the user program of the target station.
You. The target station processes the request, creates a response, and responds
Send When creating a response, the destination address DA of the message
In order to replace the source address SA, the response is
It will be transmitted to the bureau. After that, send request
Request source user program by the same procedure as
Is passed the response. [0025] As described in the section of the prior art,
In other words, in the production and assembly line at FA,
Adding new PCs to existing systems
Products that have a large lineup
The more production lines are added, the more online
Stations added, online user program debugging
Is one of the items of interest to the user. However, in a conventional network system,
As described in the transmission control method,
When the token is captured, transmission starts immediately.
Stations that are unknown to existing production lines.
Is equivalent to unknown data coming from
There is a concern that the control of the production line will be adversely affected. this child
And the user program transmission start and
By switching offline during the request
Even if a transmission start signal is received, transmission processing is actually performed.
Debug the user program to prevent
Offline switch after debug completionToDelete
Is the interface between the PC and the network unit.
Debugging is performed for transmission processing related to
The quality of debugging
Add / remove offline switches in the program
Such a troublesome work is required. In addition, one copy of the running system is created.
Debugging the user program of the additional station
To impose a large cost burden on system construction users
become. The present invention solves the above-mentioned problems.
Off in the user program
Troublesome work such as adding and deleting line switches and operation
Without having to make a copy of the system
Active FA system and user program after debugging is completed
Accurate online data without affecting the
Programmable controller net that enables bags
To get a network unit for the work system
The purpose is. [0029] In order to achieve the above object,
The inventionNow, a network with a unique station number
Network units, each with its own
Controller via each network unit.
Station that has the transmission right by connecting to the
Source address, destination address, cyclic transmission
And transient transmission
Frame signal including troll field and data
, The station that has obtained the transmission right
The frame signal is transmitted to the station in a broadcast system.
And the station that has the right to transmit is another
Transmit the frame signal as a request frame signal to the station
And the station receiving the request frame signal transmits
At the time of obtaining the right, the
And transmit to the source station
To run on multiple programmable controllers.
Controllers that control the controlled system
In the programmable controller network system
Each network attached to each programmable controller.
The network unit determines whether or not its own station is in debug mode.
A mode storage unit that stores a mode signal that specifies
The frame signal transmitted over the network cable.
Each station is communicating based on the source address in the signal
Or communication status information indicating whether communication has not been performed
The station communication status creation processing unit and the mode signal
If the code is specified, the cyclic transmission
When performing such transmission and reception, only data reception is performed and the transmission is performed.
Data transmission is not performed even if the right is acquired.
Request for the transient transmission from the
When a frame signal is received,
Based on the communication status information from the
The station corresponding to the destination address is communicating or not communicating.
Determine whether communication is in progress, and if communication is in progress, receive
The response frame signal corresponding to the requested frame signal
If no communication has been performed, an abnormal response frame signal
Execute the process to return to the station programmable controller.
Transmission and reception control means. [0030] [0031] [0032] BRIEF DESCRIPTION OF THE DRAWINGS FIG.
Programmable controller network system according to Ming
The embodiment of the network unit for the system is explained in detail.
I will tell. In addition, in the embodiment of the present invention described below,
Here, the same components as those of the above-described conventional example
The same reference numerals are given to the same reference numerals, and the description is omitted.
You. Embodiment 1 Figure 1 shows an existing network
Shows a system configuration in which stations 5 and 6 are added to the
ing. The PCs with station numbers 1 to 4 are existing PCs, and
6 is debugging the user program (hereinafter called “debugging”).
PC). FIG. 2 shows a network unit according to the present invention.
Function of the transmission / reception processing at step 11 and the communication status creation processing at each station.
Describes locking. This network unit
G11 actually transmits the data to the transmission process A to the outside
In addition to the actual transmission processing section Aa, the operation of its own station (onlineInnMo
Mode that stores the
Mode storage unit Ab and the mode storage unit Ab
A mode determination processing unit Ac for determining the content is added.
“0” is online for the contents of the mode storage section Ab
Indicates that "1" is the debug mode. In this mode, a user size is set by a switch or the like.
The mode is switched by mode, and the existing PC (existing station) is
PC (additional station) in debug mode is in debug mode
Is set to In online mode, the online mode
Broadcast the data transmitted from stations 1 to 4 to all stations.
And perform normal data communication. In contrast,
In back mode, only receives data from existing stations
Even if you have a token (data transmission right), you can send data
Release the token without believing. FIG. 3 shows a network unit according to the present invention.
In a PC network system using
The state of the click transmission communication is shown. Minute from Figure 3
Station numbers 1 to 4 for which the online mode is set
Existing stations are onlineDo stationSent from 1-4
Broadcast data to all stations
Rick transmission communication. In contrast, the debug mode
The additional stations with station numbers 5 and 6 are the data from the existing stations.
Only, and send data even if you have a token.
Release tokens without having to. Communication status of each station of the network unit 11
The creation processing C is performed in the same manner as in the related art.
Each station is communicating normally by referring to "SA" in the
It is determined whether or not. The communication status is “0”,
“1” indicates that communication has not been carried out, and the communication status information Ci of each station is provided.
Hold. The network unit 11 performs the return processing
Part DButHas been added. The return processing unit D
In the event transmission, if the own station is in the debug mode,
The contents of the mode discrimination processing performed by the
Receive and transmit based on the content of each station communication status information Ci
Determine the presence or absence of a transmission target station according to the communication status of the target station,
Create a normal response or abnormal response and perform loopback processing
U. Next, referring to FIG.
Overview of transmission / reception processing of unit 11 and communication status creation processing of each station
The flow will be described. Reception processing steps S101 to S101
Step S104 is the same as the conventional one, and
Data (step S101), and the received data
If there is (Yes at Step S101), the received frame
Check the source station number by "SA" in the format
(Step S102). Next, the communication status of the source station number
Is updated (step S103), and the received data is
The program is transferred to the program (step S104). If there is transmission data (step S1)
05 affirmative), reads mode information from mode storage section Ab
The mode determination of the own station is performed by the mode determination processing unit Ac.
Perform (step S108). In this mode judgment,
If the mode of the own station is the online mode (step S
108 affirmation), secure the token as before
As soon as data is received from the user program and transmitted.
(Steps S106 and S107). This
On the other hand, if your mode is debug mode,
(Step S108 No), without transmitting data
This process is completed. That is, as long as the station is in the debug mode,
Receive data from other stations, but transmit own station data
Never. Therefore, it affects all other stations in terms of data.
New without affecting the operating FA system
The user program of the station can be debugged. FIG. 5 shows a network unit according to the present invention.
In a PC network system using
The state of the Langent transmission communication is shown. online
The PC of station number 1, which is the existing station with the mode set, is
Like the one, the station number at the timing of holding the token
Issued a transient request to 4 and received the request number
The PC of No. 4 responds to the station number 1 when the token is held.
And return a transient response. Station number 5 of the newly added station
The PC at station No. 6 responds to the
Because it is in debug mode even if you have a kun,
Return processing is performed within the own station. Next, referring to FIG.
About the schematic flow of the transient transmission process of
Will be explained. First, the mode information is stored from the mode storage unit Ab.
Read and mode of own station by mode discrimination processing unit Ac
A determination is made (step S113). Your station mode is on
If the mode is the line mode (Yes at step S113),
Confirm the existence of the token (step S
111), if there is a token (step S111: yes)
Data) from the user program and send
Is performed (step S112). On the other hand, the mode of the own station is the debug mode.
If the answer is NO (step S113: No), each station communication status
The communication status information Ci of each station in the process C is read out (step
Step S114), the corresponding station (transmission
(E.g., the elephant station) is performing communication (step
S115). This determination is based on the contents of each station communication status information Ci.
This is performed by referring to the communication status information Ci of each station.
If the corresponding station bit is "0", the corresponding station performs communication.
If the corresponding station bit is “1”, the corresponding station
Not implemented yet. If communication is in progress (step S115: Yes)
), Create a normal response assuming that the target station exists.
(Step S116), a return processing is performed (Step S116).
S118). When the authority determines that communication is not in progress
(Yes at step S115), there is no transmission target station.
And creates an abnormal response (step S117)
A return process is performed (step S118). That is,
Mode station requests transient by user program
If a communication error occurs, the communication status of the other station
Create a response in your own station using the
U. As a result, the user program can be
Debug mode even if a transient request occurs
Since the station does not transmit data, the existing line is
Has no effect on the data mode station. It should be noted that a normal response also needs an abnormal response.
Is omitted because it is the same as the conventional example. In addition, the target station
If communication is not implemented, there is no response from the target station
It is not necessary to return a response inside the station
It is obvious. The network unit 11 is the PC body 10
02 and receives a transient request
Network unit to transfer the client response.
Data of the interface between the
Backing is possible enough. [0048] As will be understood from the above description,
By the lightIf the controlled system is actually running,
Stations and the system to be controlled without affecting the
Programmable controller newly added to the work
About cyclic transmission and transient transmission
Debugging of the program related to
The effect is that it can be executed in a state closer to
I do. [0049] [0050]

【図面の簡単な説明】 【図1】 この発明によるネットワークユニットが使用
されるプログラマブルコントローラネットワークシステ
ムの一例を示すシステム構成図である。 【図2】 この発明によるプログラマブルコントローラ
ネットワークシステム用のネットワークユニットにおけ
る送受信処理と各局の交信状況作成処理の機能ブロック
を示すブロック図である。 【図3】 この発明によるネットワークユニットを使用
したPCネットワークシステムにおけるサイクリック伝
送交信の様子を示すタイミングチャートである。 【図4】 この発明によるネットワークユニットによる
送受信処理と各局の交信状況作成処理の概略フローチャ
ートである。 【図5】 この発明によるネットワークユニットを使用
したPCネットワークシステムにおけるトランジェント
伝送交信の様子を示すタイミングチャートである。 【図6】 この発明によるネットワークユニットのトラ
ンジェント送信処理の概略フローチャートである。 【図7】 従来におけるネットワークユニットによるP
Cネットワークシステムの一例を示すシステム構成図で
ある。 【図8】 従来におけるPCネットワークシステムにお
ける送信制御の様子を示すタイミングチャートである。 【図9】 PCネットワークシステム中を伝送するフレ
ームフォーマットを示すフレームフォーマット図であ
る。 【図10】 PCネットワークシステムに対して新たな
局を追加する際の様子を示すシステム構成図である。 【図11】 従来例で、局を追加した後の送信制御の様
子を示すタイミングチャートである。 【図12】 従来例で、追加した局のユーザプログラム
がトランジェント要求を発行している様子を示すタイミ
ングチャートである。 【図13】 従来例でのデバック時のユーザプログラム
の送信部を示すラダー図である。 【図14】 従来におけるネットワークユニットの送受
信処理と各局の交信状況作成処理の機能ブロックを示す
ブロック図である。 【図15】 従来におけるネットワークユニットによる
送受信処理と各局の交信状況作成処理の概略フローチャ
ートである。 【図16】 従来におけるネットワークユニットによる
トランジェント送信処理の概略フローチャートである。 【図17】 自システムが要求を送信して応答を受信す
るまでのユーザプログラムとPCと局とがどのようなタ
イミングでデータの交換を行っているかを示すタイミン
グチャートである。 【符号の説明】 11 ネットワークユニット、1002 PC本体(プ
ログラマブルコントローラ本体)、1003 ネットワ
ークケーブル、Aa 送信実処理部、Ab モード格納
部、Ac モード判定処理部、D 折り返し処理部。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a system configuration diagram showing an example of a programmable controller network system using a network unit according to the present invention. FIG. 2 is a block diagram showing functional blocks of a transmission / reception process and a communication status creation process of each station in a network unit for a programmable controller network system according to the present invention. FIG. 3 is a timing chart showing a state of cyclic transmission communication in a PC network system using a network unit according to the present invention. FIG. 4 is a schematic flowchart of a transmission / reception process by a network unit and a communication status creation process of each station according to the present invention. FIG. 5 is a timing chart showing a state of transient transmission communication in a PC network system using a network unit according to the present invention. FIG. 6 is a schematic flowchart of a transient transmission process of a network unit according to the present invention. FIG. 7 shows a conventional network unit P
1 is a system configuration diagram illustrating an example of a C network system. FIG. 8 is a timing chart showing a state of transmission control in a conventional PC network system. FIG. 9 is a frame format diagram showing a frame format transmitted in the PC network system. FIG. 10 is a system configuration diagram showing a situation when a new station is added to the PC network system. FIG. 11 is a timing chart showing a state of transmission control after a station is added in the conventional example. FIG. 12 is a timing chart showing a state in which a user program of an added station issues a transient request in a conventional example. FIG. 13 is a ladder diagram showing a transmission section of a user program at the time of debugging in a conventional example. FIG. 14 is a block diagram showing functional blocks of a conventional transmission / reception process of a network unit and a communication status creation process of each station. FIG. 15 is a schematic flowchart of a conventional transmission / reception process by a network unit and a communication status creation process of each station. FIG. 16 is a schematic flowchart of a conventional transient transmission process performed by a network unit. FIG. 17 is a timing chart showing the timing of data exchange between the user program, the PC, and the station until the own system transmits a request and receives a response. [Description of Signs] 11 Network unit, 1002 PC main unit (programmable controller main unit), 1003 network cable, Aa transmission actual processing unit, Ab mode storage unit, Ac mode determination processing unit, D return processing unit.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−156613(JP,A) 特開 平6−338893(JP,A) 特開 平5−284167(JP,A) 特開 昭59−216211(JP,A) 特開 平9−223039(JP,A) 特開 平8−153019(JP,A) 特開 平3−204057(JP,A) 特開 昭62−248060(JP,A) 特開 平2−236739(JP,A) 杉山 彰、高橋俊哉、深津法保、伊藤 龍男、渡辺 孝、可部明克,FA用ネッ トワーク“MELSECNET/10”及 び各種オープンネットワーク,三菱電機 技報,日本,三菱電機技報社,1994年12 月25日,Vol.68, No.12,p. 98〜104,ISSN 0369−2302 太田 俊,CC−Link−制御と情 報の融合を進めるマルチベンダネットワ ーク,計装,日本,工業技術社,1997年 4月 1日,Vol.40, No. 4,p.49〜54,ISSN 0368−5780 (58)調査した分野(Int.Cl.7,DB名) G06F 11/28 G05B 19/05 G05B 23/02 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-3-156613 (JP, A) JP-A-6-3388893 (JP, A) JP-A-5-284167 (JP, A) JP-A-59-1984 216211 (JP, A) JP-A-9-223039 (JP, A) JP-A-8-153019 (JP, A) JP-A-3-204057 (JP, A) JP-A-62-248060 (JP, A) Japanese Patent Application Laid-Open No. Hei 2-236739 (JP, A) Akira Sugiyama, Toshiya Takahashi, Hoho Fukatsu, Tatsuo Ito, Takashi Watanabe, Akikatsu Kabe, FA network "MELSECNET / 10" and various open networks, Mitsubishi Electric Corporation Bulletin, Japan, Mitsubishi Electric Gihosha, December 25, 1994, Vol. 68, No. 12, pp. 98-104, ISSN 0369-2302, Shun Ota, Multi-vendor network promoting CC-Link control and information, Instrumentation, Japan, Industrial Technology, April 1, 1997, Vol. . 40, No. 4, p. 49-54, ISSN 0368-5780 (58) Fields investigated (Int. Cl. 7 , DB name) G06F 11/28 G05B 19/05 G05B 23/02

Claims (1)

(57)【特許請求の範囲】 【請求項1】 固有の局番が付与されたネットワークユ
ニットが夫々設けられた複数のプログラマブルコントロ
ーラを各ネットワークユニットを介してネットワークケ
ーブルに接続し、送信権を得た局が他の局に対し、送信
元アドレス、宛先アドレス、サイクリック伝送およびト
ランジェント伝送のいずれであるかを示すコントロール
フィールド、およびデータを含むフレーム信号を送信す
ることによって、送信権を得た局が他の全ての局に対し
ブロードキャスト方式で前記フレーム信号を送信するサ
イクリック伝送と、送信権を得た局が他の一つの局に前
記フレーム信号を要求フレーム信号として送信するとと
もに前記要求フレーム信号を受信した局が送信権を得た
時点で前記フレーム信号を応答フレーム信号として送信
元の局に送信するトランジェント伝送とを各局で実行さ
せることで、複数のプログラマブルコントローラが相互
に強調し合って制御対象システムを制御するプログラマ
ブルコントローラネットワークシステムにおいて、 各プログラマブルコントローラに付設される各ネットワ
ークユニットは、 自局がデバックモードであるか否かを規定するモード信
号を格納するモード格納部と、 前記ネットワークケーブル上で伝送される前記フレーム
信号中の送信元アドレスに基づき各局が交信実施中であ
るか交信未実施であるかを示す交信状況情報を作成する
各局交信状況作成処理部と、 前記モード信号がデバックモードを指定している場合に
は、前記サイクリック伝送にかかる送受信を行う際は、
データ受信のみを行い前記送信権を獲得してもデータ送
信を行わず、自局プログラマブルコントローラから前記
トランジェント伝送の要求フレーム信号を受け取った際
は、前記各局交信状況作成処理部からの交信状況情報に
基づき要求フレーム信号中の宛先アドレスに対応する局
が交信実施中であるか交信未実施であるかを判別し、交
信実施中である場合は受け取った要求フレーム信号に対
応する前記応答フレーム信号を、交信未実施である場合
は異常応答フレーム信号を自局プログラマブルコントロ
ーラに返信する処理を実行する送受信制御手段と、 を備えることを特徴とするプログラマブルコントローラ
ネットワークシステム
(57) [Claims] [Claim 1] A network unit provided with a unique station number
Multiple programmable controllers each with a knit
Network card via each network unit.
Connected to the network and the station that has obtained the transmission right transmits to other stations.
Source address, destination address, cyclic transmission and
A control that indicates whether the transmission is a Langent transmission
Transmits frame signals including fields and data
By doing so, the station that obtained the transmission right
A server for transmitting the frame signal by a broadcast method.
The station that received the transmission right before the other station
The frame signal is transmitted as a request frame signal.
The station that received the request frame signal obtained the transmission right
At the time, the frame signal is transmitted as a response frame signal
Transient transmission to the original station is performed at each station.
Allows multiple programmable controllers to interact with each other.
Programmer who controls controlled system by emphasizing
In the controller network system, each network attached to each programmable controller
The network unit transmits a mode signal that specifies whether or not the own station is in the debug mode.
A mode storage unit for storing a signal, and the frame transmitted on the network cable.
Each station is communicating based on the source address in the signal.
Create communication status information indicating whether or not communication has been performed
Each station communication status creation processing unit, and when the mode signal specifies the debug mode
When transmitting and receiving the cyclic transmission,
Even if only the data is received and the transmission right is acquired, the data is transmitted.
Communication from the local station programmable controller.
When a request frame signal for transient transmission is received
Indicates the communication status information from the communication status
Station corresponding to the destination address in the request frame signal based on the
Determines whether communication is in progress or not, and
If the request frame signal is received,
When the corresponding response frame signal has not been transmitted
Sends the abnormal response frame signal to the
And a transmission / reception control means for executing processing for returning to the controller.
Network system .
JP14995598A 1998-05-29 1998-05-29 Programmable controller network system Expired - Fee Related JP3501650B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14995598A JP3501650B2 (en) 1998-05-29 1998-05-29 Programmable controller network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14995598A JP3501650B2 (en) 1998-05-29 1998-05-29 Programmable controller network system

Publications (2)

Publication Number Publication Date
JPH11345146A JPH11345146A (en) 1999-12-14
JP3501650B2 true JP3501650B2 (en) 2004-03-02

Family

ID=15486260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14995598A Expired - Fee Related JP3501650B2 (en) 1998-05-29 1998-05-29 Programmable controller network system

Country Status (1)

Country Link
JP (1) JP3501650B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7836347B2 (en) * 2007-10-17 2010-11-16 GE Intelligent Platforms Inc. Service and diagnostic logic scan apparatus and method
JP5241767B2 (en) * 2010-04-22 2013-07-17 三菱電機株式会社 Terminal device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
太田 俊,CC−Link−制御と情報の融合を進めるマルチベンダネットワーク,計装,日本,工業技術社,1997年 4月 1日,Vol.40, No.4,p.49〜54,ISSN 0368−5780
杉山 彰、高橋俊哉、深津法保、伊藤龍男、渡辺 孝、可部明克,FA用ネットワーク"MELSECNET/10"及び各種オープンネットワーク,三菱電機技報,日本,三菱電機技報社,1994年12月25日,Vol.68, No.12,p.98〜104,ISSN 0369−2302

Also Published As

Publication number Publication date
JPH11345146A (en) 1999-12-14

Similar Documents

Publication Publication Date Title
US5680116A (en) Static routing system
EP1060604B1 (en) Input/output (i/o) scanner for a control system with peer determination
JPH0234059A (en) Processing system for node equipment
JPH09181737A (en) Communication method for small scale network
JP3321467B2 (en) Hearable communication subscription device, communication method, and communication system having audible communication subscription device
JP3501650B2 (en) Programmable controller network system
JP3036050B2 (en) Communication control device
JP3380957B2 (en) Redundant communication controller
JPS60246148A (en) Data transmission control system
WO2006030697A1 (en) Communication device, communication control method, communication control program, and computer-readable recording medium containing the communication control program
JP3217086B2 (en) Message Communication Method between Standby Controller and Message Device in Redundant System
JP2724572B2 (en) Token passing LAN device
JP3713934B2 (en) Token pass data transfer system
JPH0764472A (en) Remote i/o system of programmable controller
JPH0923245A (en) Inter-network connector
JP2694412B2 (en) Data transmission system
JP3740198B2 (en) Implementation method of operation command processing mechanism in distributed system
JPS6196849A (en) Transmission system control system
JPH1168808A (en) Local area network management system
JPH0583772A (en) Interrupting processing method of multiple transmitting system
JPH04196842A (en) Abnormal information transmitting system
JPH0653969A (en) Local area network system
JPH01154651A (en) Method for detecting communication station address
JPH05284161A (en) Network device
JPH0879287A (en) Loop local area network system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20031202

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031202

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

Free format text: PAYMENT UNTIL: 20071212

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081212

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091212

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091212

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101212

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121212

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121212

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131212

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees