JPH0447826A - Master communication control equipment - Google Patents

Master communication control equipment

Info

Publication number
JPH0447826A
JPH0447826A JP2157129A JP15712990A JPH0447826A JP H0447826 A JPH0447826 A JP H0447826A JP 2157129 A JP2157129 A JP 2157129A JP 15712990 A JP15712990 A JP 15712990A JP H0447826 A JPH0447826 A JP H0447826A
Authority
JP
Japan
Prior art keywords
communication control
data
slave station
control device
abnormality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2157129A
Other languages
Japanese (ja)
Inventor
Koji Demachi
公二 出町
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 JP2157129A priority Critical patent/JPH0447826A/en
Publication of JPH0447826A publication Critical patent/JPH0447826A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To prevent a malfunction in respective communication control equipments caused by the generation of abnormality by transmitting control information for instructing the slave communication control equipment to transmit a data indicating the state, and transmitting the initial value data of this slave communication control equipment to all the stations when no response is present thereon even after the lapse of fixed time. CONSTITUTION:Assuming that the abnormality such as power supply interruption is generated in a slave station 22 at a certain time point, any data is not transmitted from the slave station 22 because of the abnormality generation in the slave station 22 even when control information C2 is transmitted from a master station 1. When the control information C2 is transmitted to the slave station 2, a slave station monitoring function part 16 in the master station 1 counts the time and when any data is not returned even after the lapse of fixed time, it is considered that the abnormality is generated in the slave station 22. An initial value data transmitting function part 17 receiving an abnormality signal from the slave station monitoring function part 16 transits a data including the initial value data of the slave station 22 onto a communication medium L in place of the slave station 22. The respective stations receiving this data hold it on the mapping of a storing function part as the latest data of the slave station 22.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、通信媒体に少なくとも2台以上の子通信制御
装置が設置される通信システムにおいてこれらの子通信
制御装置を管理、制御する親通信制御装置に関し、詳し
くは、親通信制御装置における子通信制御装置の異常検
出時の動作を改善するものである。
[Detailed Description of the Invention] <Industrial Application Field> The present invention provides a communication system in which at least two or more child communication control devices are installed in a communication medium, and a parent communication device that manages and controls these child communication control devices. Regarding the control device, specifically, the present invention is intended to improve the operation of a parent communication control device when an abnormality is detected in a child communication control device.

〈従来の技術〉 例えば、複数のプログラマブル・コントローラ間で接点
情報の交換等を行う場合には、通信手段として、1台の
親通信制御装置を定め、通信媒体を介して数台の子通信
制御装置を設置するような通信システムを構築する。即
ち、一定周期で各通信制御装置が順次、自装置の状態を
表わすデータを通信媒体上に送出し、このデータを他の
全装置が受信する。そして、これらのデータを写像とし
てそれぞれの装置が内部の記憶装置上に保持、更新し、
必要な時にはこの記憶装置を参照するというサイクリッ
クな伝送が使用される。
<Prior art> For example, when exchanging contact information between multiple programmable controllers, one parent communication control device is determined as a communication means, and several child communication control devices are controlled via a communication medium. Build a communication system such as installing equipment. That is, each communication control device sequentially sends out data representing the state of its own device onto the communication medium at regular intervals, and all other devices receive this data. Then, each device stores and updates these data as a mapping on its internal storage device, and
Cyclic transmission is used to refer to this storage device when necessary.

このような方式は、写像上のデータが常時最新のデータ
に更新されるため、通信媒体上のデータ送達確認が不要
であり、通信の高速化、通信プロトコルの単純化を図る
ことができる。
In such a system, since the data on the mapping is always updated to the latest data, there is no need to confirm data delivery on the communication medium, and it is possible to increase the speed of communication and simplify the communication protocol.

〈発明が解決しようとする課題〉 しかしながら、上記のような方式では、−旦、ある通信
制御装置に異常が発生してその装置からのデータ送出が
停止すると、他の通信制御装置内の記憶装置における故
障発生装置に対応するデータが異常発生直前の値のまま
保持され、当該装置の異常を検出することができない、
または古いデータにより他の装置が誤動作する等の問題
があった。
<Problems to be Solved by the Invention> However, in the above-mentioned system, once an abnormality occurs in a certain communication control device and data transmission from that device stops, the storage devices in other communication control devices The data corresponding to the faulty device is retained at the value immediately before the fault occurred, making it impossible to detect the fault in the faulty device.
Otherwise, there were problems such as other devices malfunctioning due to old data.

このような問題を解決するための方法としては、各通信
制御装置が内部の記憶装置上の各データ更新時間を監視
し、所定の時間内にデータ更新が行われない場合にこの
データを初期値に戻すという方法が考えられるが、この
ような方法では各データまたは各通信制御装置単位でデ
ータの更新間隔を監視しなければならす、通信局数が多
い場合はその実現が困難である。
As a method to solve such problems, each communication control device monitors each data update time on the internal storage device, and if the data is not updated within a predetermined time, this data is set to the initial value. However, in such a method, the data update interval must be monitored for each data item or each communication control device, which is difficult to implement when there are a large number of communication stations.

本発明は以上のような問題を解決することを課題とし、
親通信制御装置にて子通信制御装置の異常を速やかに検
出し、異常発生による各通信制御装置の誤動作を防止す
ることを目的とする。
The present invention aims to solve the above problems,
The purpose is to promptly detect an abnormality in a child communication control device in a parent communication control device, and to prevent malfunctions of each communication control device due to the occurrence of an abnormality.

く課題を解決するための手段〉 上記の課題を解決した本発明は、通信媒体に接続され、
この通信媒体上に送出された他の通信制御装置の状態デ
ータを写像として保持する記憶機能部を有する子通信制
御装置を少なくとも2台以上管理制御する親通信制御装
置において、各々の前記子通信制御装置に対してその子
通信制御装置の状態を表わすデータを送出することを指
示する制御情報を前記通信媒体に送出する制御情報送出
機能部と、前記子通信制御装置に前記制御情報を送出し
てから前記子通信制御装置がその状態を表わすデータを
送出するまでの時間を監視し一定時間経過後にその子通
信制御装置を異常とみなす子通信制御装置監視機能部と
、前記子通信制御装置の異常を検出した際にその子通信
制御装置に対応する初期値データを送出する初期値デー
タ送出機能部とを有することを特徴とする親通信制御装
置である。
Means for Solving the Problems> The present invention, which has solved the above problems, is a device that is connected to a communication medium,
In a parent communication control device that manages and controls at least two child communication control devices each having a storage function section that stores status data of other communication control devices sent out on this communication medium as a mapping, each of the child communication control devices a control information sending function unit that sends control information to the communication medium instructing the device to send data representing the state of the child communication control device; and a control information sending function unit that sends the control information to the child communication control device; A child communication control device monitoring function unit that monitors the time until the child communication control device sends data representing its state and determines that the child communication control device is abnormal after a certain period of time has elapsed; and a child communication control device monitoring function unit that detects an abnormality in the child communication control device. The parent communication control device is characterized in that it has an initial value data sending function unit that sends initial value data corresponding to the child communication control device when the child communication control device performs the initial value data.

く作用〉 本発明の親通信制御装置の作用は次の通りである。Effect〉 The operation of the parent communication control device of the present invention is as follows.

子通信制御装置へ状態を表わすデータを送出するように
指示する制御情報を送出し、この制御情報を出力してか
ら一定時間経過後も応答がなければ、その子装置を異常
とみなし、この子通信制御装置の初期値データを全局に
対して送出する。
Sends control information that instructs the child communication control device to send data representing the status, and if there is no response even after a certain period of time has elapsed after outputting this control information, the child device is considered to be abnormal, and this child communication control device is Sends the initial value data of the control device to all stations.

〈実施例〉 以下、図面を用いて本発明の親通信制御装置の実施例に
ついて説明する。
<Example> Hereinafter, an example of the parent communication control device of the present invention will be described using the drawings.

本発明の親通信制御装置は、例えば第2図に示すように
、通信媒体りに、1台の親通信制御装置1と複数(この
例では3台)の子通信制御装置21゜22、23が設置
されるような通信システムを管理、制御するものである
For example, as shown in FIG. 2, the parent communication control device of the present invention includes one parent communication control device 1 and a plurality of (three in this example) child communication control devices 21, 22, 23, as shown in FIG. It manages and controls communication systems such as those installed.

第1図は、本発明の親通信制御装置の構成を表わすブロ
ック図である。
FIG. 1 is a block diagram showing the configuration of a parent communication control device of the present invention.

この図で、本発明の親通信制御装置1は、信号の送受信
を行う送信機能部11及び受信機能部12により通信媒
体りに接続し、マイクロプロセッサ等を有しこの装置固
有の機能を有する固有機能部13を備える。
In this figure, a master communication control device 1 of the present invention is connected to a communication medium through a transmission function section 11 and a reception function section 12 that transmit and receive signals, and has a microprocessor and the like, and has a unique function unique to this device. A functional section 13 is provided.

更に、本発明の親通信制御装置1は、受信機能部12で
受信した他の子通信制御装置の状態を写像として保持し
必要に応じて固有機能部13に読み出される記憶機能部
14、子通信制御装置に対してデータの送出を指示する
制御情報を送信機能部11を介して通信媒体りに送出す
る制御情報送出機能部15、制御情報送出後データが返
信されるまでの時間を監視し一定時間経過してもデータ
が送出されない時は対応する子通信制御装置を異常とみ
なす子局監視機能部16、子局監視機能部16からの指
示により異常と判断した子通信制御装置の初期値データ
を送信機能部11を介して通信媒体りに送出する初期値
データ送出機能部17を有する。
Furthermore, the parent communication control device 1 of the present invention includes a storage function section 14, which holds the states of other child communication control devices received by the reception function section 12 as a mapping, and reads them out to the specific function section 13 as needed. A control information sending function unit 15 sends control information instructing the control device to send data to the communication medium via the sending function unit 11, and monitors and keeps the time from sending the control information until the data is returned to a constant value. When data is not sent even after a period of time, the corresponding slave communication control device is considered to be abnormal.Slave station monitoring function unit 16. Initial value data of the slave communication control device that is determined to be abnormal based on instructions from the slave station monitoring function unit 16. It has an initial value data sending function part 17 which sends the data to a communication medium via the sending function part 11.

さて、次に、このように構成された本発明の親通信制御
装置を第2図のような通信システムに用いた場合の動作
を第3図のタイムチャートを用いて説明する。尚、説明
の簡単のため、以下、通信制御装置を単に局と呼ぶこと
にする。
Next, the operation when the parent communication control device of the present invention configured as described above is used in a communication system as shown in FIG. 2 will be explained using the time chart shown in FIG. 3. Note that for the sake of simplicity, the communication control device will be simply referred to as a station below.

はじめに、親局1が子局21に対して、状態データ送出
を指示する制御情報C1を制御情報送出機能部15から
送出する。この制御情報C1を受信した子局21は、子
局21の状態を表わすデータD1を通信媒体り上に送出
する。
First, the master station 1 transmits control information C1 from the control information transmitting function section 15 to the slave station 21 to instruct the slave station 21 to transmit status data. The slave station 21 that has received this control information C1 transmits data D1 representing the status of the slave station 21 onto the communication medium.

データ01を受信した各局1 、22.23は、それぞ
れ、内部の記憶機能部上にこのデータを保持し、これを
子局21の状態の写像とする。
Each of the stations 1, 22, and 23 that received the data 01 retains this data on its internal storage function section, and uses this as a mapping of the state of the slave station 21.

そして、親局1は、順次、子局22.23に対しても同
様に制御情報C2,C3を送出し、これに対応して子局
22.23は通信媒体り上にデータD2. D3を送出
する。これにより、各局内の記憶機能部には他の全ての
局の状態データが写像として記憶される。
Then, the master station 1 sequentially sends the control information C2, C3 to the slave stations 22.23 as well, and in response, the slave stations 22.23 transmit the data D2. Send D3. As a result, the status data of all other stations is stored as a mapping in the storage function section within each station.

子局に対する制御情報の送出が全3局について行われ、
子局のデータ送出が一巡すると、親局1は再び子局1に
対して制御情報C1を送出し、これに対して子局21は
データD1を通信媒体り上に送出する。以後、同様にし
て親局1からの制御情報送出、子局からのデータ送出が
繰り返され、各局の記憶機能部の写像は最新のデータに
更新される。
Control information is sent to the slave stations for all three stations,
When the data transmission of the slave station completes one cycle, the master station 1 again transmits the control information C1 to the slave station 1, and in response, the slave station 21 transmits the data D1 over the communication medium. Thereafter, control information transmission from the master station 1 and data transmission from the slave stations are repeated in the same manner, and the mapping in the storage function section of each station is updated to the latest data.

ここで、ある時点pで子局22に電源断等の異常が発生
したとする。
Here, it is assumed that an abnormality such as a power cut occurs in the slave station 22 at a certain time point p.

子局22の異常発生により、親局1から制御情報C2を
送出しても、子局22からデータは送出されない。
Due to the occurrence of an abnormality in the slave station 22, data is not transmitted from the slave station 22 even if the control information C2 is transmitted from the master station 1.

親局1内の子局監視機能部16は、子局22に対して制
御情報C2を送出した時点で時間を計数し、−定時間T
経過してもデータか返信されない場合は子局22に異常
が発生したとみなす。
The slave station monitoring function unit 16 in the master station 1 counts the time at the time when the control information C2 is sent to the slave station 22, and calculates - a fixed time T.
If no data is returned even after the elapse of time, it is assumed that an abnormality has occurred in the slave station 22.

子局監視機能部16から異常信号を受けた初期値データ
送出機能部17は、子局22の代わりに子局22の初期
値データを含むデータD2“を通信媒体り上に送出する
。このデータD2”を受信した各局は、子局22の最新
データとして記憶機能部の写像上に保持する。
The initial value data sending function section 17 that receives the abnormality signal from the slave station monitoring function section 16 transmits data D2'' containing the initial value data of the slave station 22 instead of the slave station 22 over the communication medium.This data Each station that receives D2'' holds it in the mapping of the storage function unit as the latest data of the slave station 22.

これにより、各局は子局22の異常を検出できるととも
に、子局22の古いデータによる誤動作を防ぐことがで
きる。
This allows each station to detect abnormalities in the slave station 22 and prevent malfunctions due to old data in the slave station 22.

以上のようにして、本発明の親通信制御装置を有する通
信システムは、子通信制御装置の異常を検出でき、また
、システムの誤動作を防ぐことができる。
As described above, the communication system having the parent communication control device of the present invention can detect abnormalities in the child communication control device and can prevent malfunctions of the system.

〈発明の効果〉 以上述べたように、本発明の親通信制御装置によれば、
次の効果を得る。
<Effects of the Invention> As described above, according to the parent communication control device of the present invention,
Obtain the following effects.

ある子通信制御装置で異常が発生した場合、各通信制御
装置内の記憶機能部の対応するデータは初期値データに
更新されるため、各通信制御装置は異常の発生を検出で
きる。また、写像上に過去のデータが保持され続けるこ
とを防止でき、古いデータによる誤動作を防止できる。
When an abnormality occurs in a child communication control device, the corresponding data in the storage function section in each communication control device is updated to initial value data, so each communication control device can detect the occurrence of the abnormality. Furthermore, it is possible to prevent past data from continuing to be held on the mapping, and malfunctions due to old data can be prevented.

更に、通信システム内の他の通信制御装置に何ら特別な
機能を付加させることなく、本発明の親通信制御装置を
実現できる。
Furthermore, the parent communication control device of the present invention can be realized without adding any special functions to other communication control devices in the communication system.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明を実施した親通信制御装置の構成ブロッ
ク図、第2図は本発明装置が設置される通信システムを
表わす図、第3図は本発明装置が設置された通信システ
ムの動作を表わすタイムチャートである。 1・・・親通信制御装置、11・・・送信機能部、12
・・・受信機能部、  13・・・固有機能部、14・
・・記憶機能部、  15・・・制御情報送出機能部、
16・・・子局監視機能部、 17・・・初期値テータ送出機能部、L・・・通信媒体
、21、22.23・・・子局。 第 図 第 図 −+   N   G−rつ 〜  〜  N 雪 hM’)t−h
FIG. 1 is a block diagram of the configuration of a parent communication control device implementing the present invention, FIG. 2 is a diagram showing a communication system in which the device of the present invention is installed, and FIG. 3 is an operation of the communication system in which the device of the present invention is installed. It is a time chart showing. 1... Parent communication control device, 11... Transmission function section, 12
...reception function section, 13..specific function section, 14.
...Storage function section, 15...Control information sending function section,
16...Slave station monitoring function unit, 17...Initial value data sending function unit, L...Communication medium, 21, 22.23...Slave station. Figure Figure - + N G-r~ ~ N Snow hM')t-h

Claims (1)

【特許請求の範囲】[Claims] (1)通信媒体に接続され、この通信媒体上に送出され
た他の通信制御装置の状態データを写像として保持する
記憶機能部を有する子通信制御装置を少なくとも2台以
上管理制御する親通信制御装置において、各々の前記子
通信制御装置に対してその子通信制御装置の状態を表わ
すデータを送出することを指示する制御情報を前記通信
媒体に送出する制御情報送出機能部と、前記子通信制御
装置に前記制御情報を送出してから前記子通信制御装置
がその状態を表わすデータを送出するまでの時間を監視
し一定時間経過後にその子通信制御装置を異常とみなす
子通信制御装置監視機能部と、前記子通信制御装置の異
常を検出した際にその子通信制御装置に対応する初期値
データを送出する初期値データ送出機能部とを有するこ
とを特徴とする親通信制御装置。
(1) Parent communication control that manages and controls at least two child communication control devices that are connected to a communication medium and have a storage function unit that stores state data of other communication control devices sent onto this communication medium as a mapping. In the device, a control information sending function unit that sends control information to the communication medium instructing each of the child communication control devices to send data representing the state of the child communication control device; and the child communication control device a child communication control device monitoring function unit that monitors the time from when the child communication control device sends the control information to when the child communication control device sends data representing its state, and determines that the child communication control device is abnormal after a certain period of time has elapsed; A parent communication control device comprising: an initial value data sending function unit that sends initial value data corresponding to the child communication control device when an abnormality in the child communication control device is detected.
JP2157129A 1990-06-15 1990-06-15 Master communication control equipment Pending JPH0447826A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2157129A JPH0447826A (en) 1990-06-15 1990-06-15 Master communication control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2157129A JPH0447826A (en) 1990-06-15 1990-06-15 Master communication control equipment

Publications (1)

Publication Number Publication Date
JPH0447826A true JPH0447826A (en) 1992-02-18

Family

ID=15642842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2157129A Pending JPH0447826A (en) 1990-06-15 1990-06-15 Master communication control equipment

Country Status (1)

Country Link
JP (1) JPH0447826A (en)

Similar Documents

Publication Publication Date Title
USRE42080E1 (en) Bus monitor unit
CN110099402B (en) Wireless IO link communication network with additional master and method of operation thereof
KR100686397B1 (en) Network comprising a plurality of network nodes and at least one star node
JPH0447826A (en) Master communication control equipment
JP2677693B2 (en) How to monitor computer networks
JP3393059B2 (en) Method for unidirectional communication from multiple transmitters to a single receiver
JP3294256B2 (en) Data communication method and device
JPH02184199A (en) Terminal equipment interface
JPS61290836A (en) Data transmission control system
JP2800018B2 (en) Baseband network system
JPH01220094A (en) Home bus system
CN114137871A (en) Bus control device, configuration method thereof and building control system
JPS634733A (en) Fault detecting and eliminating method for optical communication system
JPH0819070A (en) Home controller
JPH0372742A (en) Data transmission system
JPS61284134A (en) Trouble information transfer system for transmission system
JPS61208336A (en) Data transmission method
JP2009159080A (en) Remote monitoring control system
JPS6223256A (en) Communication control system
DK155400B (en) PROCEDURE FOR MONITORING WIRES CONNECTING MORE STATIONS IN THE REMOTE CONTROL MACHINE
JPH03219319A (en) Power supply control system
JPH0271643A (en) Local area network
JPS625748A (en) Backup system for fault
JPH04192644A (en) Network system
JPS6141248A (en) Rolling type remote supervisory and controlling equipment