JPH059052U - Bus communication device - Google Patents

Bus communication device

Info

Publication number
JPH059052U
JPH059052U JP5257791U JP5257791U JPH059052U JP H059052 U JPH059052 U JP H059052U JP 5257791 U JP5257791 U JP 5257791U JP 5257791 U JP5257791 U JP 5257791U JP H059052 U JPH059052 U JP H059052U
Authority
JP
Japan
Prior art keywords
token
communication
bus
address
communication station
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.)
Withdrawn
Application number
JP5257791U
Other languages
Japanese (ja)
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP5257791U priority Critical patent/JPH059052U/en
Publication of JPH059052U publication Critical patent/JPH059052U/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

(57)【要約】 【目的】同じアドレスが設定されたり、アドレス設定手
段等の故障でアドレスが重複するような事態に至って
も、これらの事態を迅速に認識することができる。従っ
て、通信不可能になる重大な事態を未然に回避する。 【構成】各通信局に、トークンを受信してからトークン
を再びバスに出力するタイミングを可変とし各通信局で
異なるタイミングを決定したトークン送信手段と、バス
上を巡回するトークンを監視していて自分がトークンを
出すタイミングより早くトークンを受信するのを監視す
るトークン監視手段と、自分がトークンを出すタイミン
グより早くトークンを受信した場合、そのトークンを放
棄すると共にアドレスが重複していることを通知するコ
マンドを出力する警報コマンド出力手段とを設けて構成
される。
(57) [Summary] [Purpose] Even if the same address is set or the addresses are duplicated due to a failure of the address setting means, these situations can be recognized quickly. Therefore, a serious situation in which communication becomes impossible is avoided in advance. [Structure] Each communication station monitors the tokens that are transmitted on the bus and the token transmission means that determines the timing when the token is output to the bus again after the token is received. If you receive a token earlier than when you issue a token, and if you receive a token earlier than when you issue a token, abandon the token and notify that the address is duplicated. And a warning command output means for outputting the command.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

本考案は、バスを介して複数の通信局が接続され、それらの通信局の間で、通 信権(これをトークンという)を持ち回りして通信を実行するようにしたバス形 通信装置に関し、更に詳しくは、バスに接続された各通信局にアドレスが重複し て設定されたような場合を検出できるようにしたバス形通信装置に関する。 The present invention relates to a bus-type communication device in which a plurality of communication stations are connected via a bus and communication rights are carried between these communication stations by carrying communication rights (this is called a token). More specifically, the present invention relates to a bus type communication device capable of detecting a case where an address is duplicated and set in each communication station connected to a bus.

【0002】[0002]

【従来の技術】[Prior Art]

トークンパス方式のバス形通信装置は、通信ループ内に通信制御を行うための 特別な装置を必要としない特長があり、プロセス制御装置などにおいて広く実用 化されている。この様な通信装置において、トークンの巡回にアドレス情報を使 用するが、バス上に接続された通信局の中で、2つ以上の通信局において同じア ドレスが誤って設定されたり、あるいは故障などによりアドレスが重複するよう な事態になった場合、トークンの巡回が正常にできなくなり、通信不可能の重大 な事態に至る。アドレスが重複して設定されるような事態は、誤って設定を行っ た場合には、その誤設定を目視にてチェックすることが可能であるが、アドレス 設定回路が故障したような場合は、それを発見することは容易ではない。 The token-pass bus-type communication device does not require a special device for communication control in the communication loop, and is widely used in process control devices. In such a communication device, address information is used for the token circulation, but the same address is erroneously set in two or more communication stations among the communication stations connected on the bus, or a failure occurs. If the address overlaps due to reasons such as the above, the token cannot be circulated normally, resulting in a serious situation in which communication is not possible. In the case of duplicate address settings, it is possible to visually check the erroneous settings if they are set incorrectly.However, if the address setting circuit fails, It's not easy to discover.

【0003】 従来装置においては、バス上に接続される各通信局にはそれぞれ正常なアドレ スが設定されることを想定したものであって、アドレスの重複を検出する機能を 備えているものはなかった。In the conventional device, it is assumed that a normal address is set in each communication station connected to the bus, and a device that has a function of detecting an address duplication is provided. There wasn't.

【0004】[0004]

【考案が解決しようとする課題】[Problems to be solved by the device]

本考案は、この様な点に鑑みてなされたもので、アドレス設定回路の故障やア ドレスの誤設定を迅速に検出できるようにし、通信不可能の重大事態を未然に回 避することができる通信装置を提供することを目的とする。 The present invention has been made in view of such a point, and enables a failure of an address setting circuit and an erroneous setting of an address to be quickly detected, and a serious situation of communication failure can be avoided in advance. An object is to provide a communication device.

【0005】[0005]

【課題を解決するための手段】 この様な目的を達成する本考案は、それぞれアドレスが設定された複数の通信 局がバスを介して接続され、それらの通信局の間でトークンを前記アドレス情報 に基づいて持ち回りして通信を実行するバス形通信装置において、 各通信局に、 トークンを受信してからトークンを再びバスに出力するタイミングを可変とし 各通信局で異なるタイミングを決定したトークン送信手段と、 バス上を巡回するトークンを監視していて自分がトークンを出すタイミングよ り早くトークンを受信するのを監視するトークン監視手段と、 このトークン監視手段が自分がトークンを出すタイミングより早くトークンを 受信した場合、当該トークンを放棄すると共にアドレスが重複していることを通 知するコマンドを出力する警報コマンド出力手段とを設け、 各通信局は前記警報コマンドを受信した場合アドレス重複のアラームメッセー ジを出力するようにしたことを特徴とするバス形通信装置である。Means for Solving the Problems In the present invention to achieve such an object, a plurality of communication stations each having an address set are connected via a bus, and a token is used as the address information between the communication stations. In a bus-type communication device that carries out communication based on the above, token transmission means in which each communication station determines a different timing by changing the timing of receiving the token and then outputting the token to the bus again And a token monitoring means that monitors the token circulating on the bus and receives a token earlier than the timing of issuing the token, and a token monitoring means that monitors this token earlier than the timing of issuing the token. When it is received, it discards the token and outputs a command notifying that the address is duplicated. An alarm command output means is provided, a bus type communication device is characterized in that as each communication station outputs an alarm message when an address duplication receiving the alarm command.

【0006】[0006]

【作用】[Action]

複数の通信局にはそれぞれアドレスが設定されており、次に通信権を得る通信 局をアドレス情報により指定し、トークンを巡回させるようになっている。ここ で、アドレスが重複しているような場合、それらの通信局で通信権が得られるこ ととなるが、トークンを受信してから次にトークンを送信するまでのタイミミン グ(時間)をそれぞれ異なるようにしてあるので、いずれかの通信局においては 、トークン監視手段が自分がトークンを出すタイミングより早くトークンを受信 するのを検出することとなる。 An address is set for each of the plurality of communication stations, and the communication station that obtains the next communication right is specified by the address information and the token is circulated. Here, if the addresses are duplicated, the communication right will be obtained at those communication stations, but the timing (time) from the reception of the token to the next transmission of the token will be different. Since they are different, at any communication station, the token monitoring means will detect that the token is received earlier than the timing at which it issues the token.

【0007】 この場合、その通信局内の警報コマンド出力手段は、自分のトークンを放棄し 、バス上にアドレスが重複していることを通知するコマンドを出力する。In this case, the alarm command output means in the communication station abandons its token and outputs a command notifying that the addresses are duplicated on the bus.

【0008】[0008]

【実施例】【Example】

以下、図面を用いて本考案の実施例を詳細に説明する。図1は、本考案の一実 施例を示す構成ブロック図である。図において、BSは各通信局が接続されるバ スで、ここではバスに接続された一つの通信局の構成だけを示すが他の通信局も 同様な構成になっている。1はバスBSとの通信インターフェイス、2はこの通 信局を特定するためのアドレスを設定するアドレス設定手段で、例えばメカニカ ル的に設定するものや、ソフトウェアにより設定するものなどが用いられる。3 はバスBS上に巡回するトークンを受信するトークン受信手段で、自分の通信局 にトークンが回ってきたら、バスBSを用いて通信を実行することができるよう になっている。4はトークン受信手段3がトークンを受信してからそれをバスB S上に送信するトークン送信手段で、トークンを受信しその後、トークンを再び バスに出力するまでのタイミング(時間)を、各通信局で異なるように可変でき るように構成してある。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a configuration block diagram showing an embodiment of the present invention. In the figure, BS is a bus to which each communication station is connected. Here, only the configuration of one communication station connected to the bus is shown, but other communication stations have the same configuration. Reference numeral 1 is a communication interface with the bus BS, and 2 is an address setting means for setting an address for specifying this communication station, which is, for example, mechanically set or software set. Numeral 3 is a token receiving means for receiving a token circulating on the bus BS, and when the token comes around to the communication station of its own, the communication can be executed using the bus BS. Reference numeral 4 denotes a token transmitting means for transmitting the token on the bus Bs after the token receiving means 3 receives the token. The timing (time) until the token is output to the bus again after the token is received is indicated in each communication. It is configured so that it can be changed differently depending on the station.

【0009】 5はバスBS上のトークンを監視していて、自分がトークンを出すタイミング より早くトークンを受信したかを判断するトークン監視手段、6はトークン監視 手段5が自分がトークンを出すタイミングより早くトークンを受信したことを検 出した場合、自分が出力すべきトークンを放棄すると共にアドレスが重複してい ることを通知するコマンドをバス上に出力する警報コマンド出力手段、7は警報 コマンド出力手段6からまたは、バスBSを介して他の通信局から送られた警報 コマンドを受信した場合、アドレス重複のアラームメッセージを出力するアラー ムメッセージ出力手段である。このアラームメッセージ出力手段としては、各通 信局が持つマンマシンインターフェイス機能が用いられる。Reference numeral 5 is a token monitoring means for monitoring the token on the bus BS and judging whether or not the token is received earlier than the timing at which the token is issued by itself. When it detects that a token is received early, it abandons the token to be output by itself and outputs a command on the bus for notifying that the address is duplicated. Alarm command output means, 7 is an alarm command output means. This is an alarm message output means for outputting an alarm message of address duplication when an alarm command sent from 6 or from another communication station via the bus BS is received. The man-machine interface function of each communication station is used as the alarm message output means.

【0010】 この様に構成した装置の動作を説明すれば、以下の通りである。図2は動作を 説明するための概念図である。ここでは、通信局ST1〜ST4がバスBSに接 続されていて、各通信局にはそれぞれアドレスが、通信局ST1には「1」、通 信局ST2には「2」、通信局ST3には「3」が設定され、通信局ST4には 「2」が誤って重複設定されているものとする。いま、通信局ST1(アドレス 1)で通信用のトークン(アドレス2を指定)を出力し、それを通信局ST2( アドレス2)で受けとるとする。この場合、通信局ST4(アドレス2)でも同 じトークンを受信してしまう。トークンを受信した通信局ST2とST4は、そ の後通信局ST3(アドレス3)にトークンを出力しようとする。本考案におい ては、2つの通信局ST2,ST4において、各トークン送信手段4でトークン を同じタイミングで出力しないように決定されており、例えば通信局ST2の方 がST4より早くトークンをバスBS上に出力することとなる。The operation of the apparatus thus configured will be described below. FIG. 2 is a conceptual diagram for explaining the operation. Here, the communication stations ST1 to ST4 are connected to the bus BS, and each communication station has an address, “1” for the communication station ST1, “2” for the communication station ST2, and “2” for the communication station ST3. Is set to “3”, and “2” is erroneously set redundantly in the communication station ST4. Now, assume that the communication station ST1 (address 1) outputs a token for communication (designates address 2) and the communication station ST2 (address 2) receives it. In this case, the communication station ST4 (address 2) also receives the same token. After receiving the token, the communication stations ST2 and ST4 try to output the token to the communication station ST3 (address 3). In the present invention, in the two communication stations ST2 and ST4, it is determined that the token transmission means 4 does not output the token at the same timing. For example, the communication station ST2 sends the token on the bus BS earlier than ST4. Will be output to.

【0011】 通信局ST4のトークン監視手段5は、バスBS上に出力されたこのトークン を検出し、自分がトークンを出力するより先に他の通信局がトークンを出力して いるのを認識する。この判断を受けた警報コマンド出力手段6は、通信局ST4 が受けたトークンを放棄し(自分がトークンを送出するのを放棄)、アドレスが 重複していることを通知するコマンドをバスBS上に出力する。また、通信局S T4にマンマシンインターフェイスとしてのアラームメッセージ出力手段7が備 えられていれば、そこにアドレス重複の警報を出力する。また、アドレス重複を 通知するコマンドをバスBSを介して受けた他の通信局においても、その通信局 にマンマシンインターフェイスとしてのアラームメッセージ出力手段7が備えら れていれば、そこにアドレス重複の警報を出力する。これにより、各通信局にお いて、アドレスが重複している状態を迅速に知ることができる。The token monitoring means 5 of the communication station ST4 detects this token output on the bus BS and recognizes that another communication station is outputting the token before it outputs the token. .. Receiving this judgment, the alarm command output means 6 abandons the token received by the communication station ST4 (abandons sending of the token by itself) and sends a command on the bus BS to notify that the addresses are duplicated. Output. Further, if the communication station ST4 is equipped with an alarm message output means 7 as a man-machine interface, an alarm of address duplication is output there. Further, even in another communication station that has received the command for notifying the address duplication via the bus BS, if the communication station is equipped with the alarm message output means 7 as the man-machine interface, the address duplication is detected there. Output an alarm. This allows each communication station to quickly know the state in which the addresses are duplicated.

【0012】 なお、この説明では通信局ST2がST4より先にトークンを出力する場合を 例にとったが、通信局ST4がST2より早いタイミングでトークンを出力する 場合には、通信局ST2側がトークンを放棄し、前述したと同様のアドレス重複 を通知するコマンドをバスBSに送出することになる。In this description, the case where the communication station ST2 outputs the token before ST4 is taken as an example. However, when the communication station ST4 outputs the token at a timing earlier than ST2, the communication station ST2 side outputs the token. Will be abandoned and a command for notifying the same address duplication as described above will be sent to the bus BS.

【0013】[0013]

【考案の効果】[Effect of the device]

以上詳細に説明したように、本考案によればトークンをバスに出力するタイミ ングを各通信局で任意に可変できるようにし、各通信局で異なるようにすること で、同じアドレスが設定されたり、アドレス設定手段等の故障でアドレスが重複 するような事態に至っても、これらの事態を迅速に検出しそれを認識することが できる。従って、通信不可能になる重大な事態を未然に回避することが可能とな り、信頼性や保守性の高いバス形通信装置が提供できる。 As described in detail above, according to the present invention, the same address can be set by allowing the timing of outputting the token to the bus to be arbitrarily changed in each communication station and different in each communication station. Even in the case where the addresses are duplicated due to the failure of the address setting means or the like, it is possible to quickly detect these situations and recognize them. Therefore, it is possible to avoid a serious situation where communication becomes impossible, and it is possible to provide a bus type communication device having high reliability and maintainability.

【図面の簡単な説明】[Brief description of drawings]

【図1】本考案の一実施例を示す構成ブロック図であ
る。
FIG. 1 is a configuration block diagram showing an embodiment of the present invention.

【図2】動作を説明するための概念図である。FIG. 2 is a conceptual diagram for explaining an operation.

【符号の説明】[Explanation of symbols]

BS バス ST1〜ST4 通信局 1 通信インターフェイス 2 アドレス設定手段 3 トークン受信手段 4 トークン送信手段 5 トークン監視手段 6 警報コマンド出力手段 7 アラームメッセージ出力手段 BS bus ST1 to ST4 communication station 1 communication interface 2 address setting means 3 token receiving means 4 token transmitting means 5 token monitoring means 6 alarm command output means 7 alarm message output means

Claims (1)

【実用新案登録請求の範囲】 【請求項1】 それぞれアドレスが設定された複数の通
信局がバスを介して接続され、それらの通信局の間でト
ークンを前記アドレス情報に基づいて持ち回りして通信
を実行するバス形通信装置において、 各通信局に、 トークンを受信してからトークンを再びバスに出力する
タイミングを可変とし各通信局で異なるタイミングを決
定したトークン送信手段と、 バス上を巡回するトークンを監視していて自分がトーク
ンを出すタイミングより早くトークンを受信するのを監
視するトークン監視手段と、 このトークン監視手段が自分がトークンを出すタイミン
グより早くトークンを受信した場合、当該トークンを放
棄すると共にアドレスが重複していることを通知するコ
マンドを出力する警報コマンド出力手段とを設け、 各通信局は前記警報コマンドを受信した場合アドレス重
複のアラームメッセージを出力するようにしたことを特
徴とするバス形通信装置。
[Claims for utility model registration] [Claim 1] A plurality of communication stations each having an address set are connected via a bus, and a token is carried between these communication stations based on the address information for communication. In the bus type communication device that executes the above, the communication circuit circulates on the bus with the token transmission means in which the timing of receiving the token to the communication station and then outputting the token to the bus is made variable and the communication station determines different timing. Token monitoring means that monitors the token and receives the token earlier than the token issuing time, and if this token monitoring means receives the token earlier than the token issuing time, abandon the token And an alarm command output means for outputting a command notifying that the addresses are duplicated. Only, each communication station bus type communication device is characterized in that so as to output a when the address duplication alarm message received the alarm command.
JP5257791U 1991-07-08 1991-07-08 Bus communication device Withdrawn JPH059052U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5257791U JPH059052U (en) 1991-07-08 1991-07-08 Bus communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5257791U JPH059052U (en) 1991-07-08 1991-07-08 Bus communication device

Publications (1)

Publication Number Publication Date
JPH059052U true JPH059052U (en) 1993-02-05

Family

ID=12918659

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5257791U Withdrawn JPH059052U (en) 1991-07-08 1991-07-08 Bus communication device

Country Status (1)

Country Link
JP (1) JPH059052U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5364091U (en) * 1977-11-12 1978-05-30

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5364091U (en) * 1977-11-12 1978-05-30

Similar Documents

Publication Publication Date Title
JP3123417B2 (en) Communication method in small-scale network and control device and subordinate device applied to the communication method
JPH059052U (en) Bus communication device
JP3057581B2 (en) Multiplex transmission method
JPS61295738A (en) Transmission controller
JPS61210740A (en) Emergency communicating control system for token bus type local network system
JPS61237544A (en) Asynchronous serial transmission method
JPH0344465B2 (en)
JP3161243B2 (en) Data transmission system for distributed control
JPS62150953A (en) Loop transmission system failure detection method
JP3052646B2 (en) Multiplex communication device
JP3133172B2 (en) Multi-wave ring LAN fault management system
JPH0293970A (en) Multiprocessor system
JP2910264B2 (en) Abnormal reception response detection device
JPS58105654A (en) Detecting system for line state
JPH06350492A (en) Abnormality detecting system for distribution line carrier communications system
JPS5972844A (en) Communication control system
JPH0228941B2 (en)
JPH04168829A (en) Communication control system
JPS63232542A (en) Poling system in ring type network
JPH0817398B2 (en) Abnormality detection method in data transmission system
JPH10294723A (en) Multiplex communication system
JPH0553338B2 (en)
JPS61196637A (en) Duplex control system for communicating control equipment
JPH03245637A (en) Simultaneous communication method
JPS61270929A (en) Wireless transmission system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19951102