JPH0345055A - Notice method for state of connected device in data transmission system - Google Patents

Notice method for state of connected device in data transmission system

Info

Publication number
JPH0345055A
JPH0345055A JP1180936A JP18093689A JPH0345055A JP H0345055 A JPH0345055 A JP H0345055A JP 1180936 A JP1180936 A JP 1180936A JP 18093689 A JP18093689 A JP 18093689A JP H0345055 A JPH0345055 A JP H0345055A
Authority
JP
Japan
Prior art keywords
data
data transmission
status
change
state
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
JP1180936A
Other languages
Japanese (ja)
Inventor
Yoichi Okano
洋一 岡野
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1180936A priority Critical patent/JPH0345055A/en
Publication of JPH0345055A publication Critical patent/JPH0345055A/en
Pending legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To improve the data processing efficiency by adding a change notice bit at a sender side when there is a change in the device state of each device and generating a state change interrupt signal at a receiver side only when the change notice bit is detected and executing the retrieval processing to each device state at that time only so as to revise the content of a sub device state table. CONSTITUTION:When a change is caused in the device state of each device 4 connected to a data transmitter 1, the relevant device state of a master device state table 5 is revised and a change notice bit is set to a storage section. When a prescribed period elapses, each device state of the master device state table 5 after the revision and a data and a change notice bit are sent to a data transmitter 2 as data information. A data processing unit 2 receiving the data information has a change notice bit in the data information, then a state change interrupt signal is outputted from an interrupt generating circuit 12 and the device state of each device stored in its own sub device state table 10 is revised into a new device state in response to the state change interrupt signal. Thus, the data processing efficiency is improved.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明はデータ伝送装置相互間で一定周期でデータの授
受を行うデータ伝送システムに係わり、特に、一方のデ
ータ伝送装置に接続された各機器の機器状態を他方のデ
ータ伝送装置で把握するようにしたデータ伝送システム
における接続機器状態の通知方法に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a data transmission system that exchanges data between data transmission devices at a constant cycle, and particularly relates to a data transmission system that transmits and receives data between data transmission devices at regular intervals. The present invention relates to a method for notifying the status of connected devices in a data transmission system in which the status of each connected device is grasped by another data transmission device.

(従来の技術) 一対のデータ伝送装置相互間でデータを授受するデータ
伝送システムは例えば第9図に示すように、一方のデー
タ伝送装置1と他方のデータ伝送装置2とをデータ伝送
路3で接続した構成となっている。
(Prior Art) A data transmission system that exchanges data between a pair of data transmission devices is, for example, as shown in FIG. It has a connected configuration.

各データ伝送装置1,2は一般的にコンピュータ等の制
御装置で構成されており、それぞれパスラインla、2
aにCPU (中央処理装置)1b。
Each data transmission device 1, 2 is generally composed of a control device such as a computer, and has path lines la, 2, respectively.
a has a CPU (central processing unit) 1b;

2b1メモリlc、2c、伝送インタフェース1、d、
2dを接続した構成である。
2b1 memory lc, 2c, transmission interface 1, d,
This is a configuration in which 2d are connected.

また、例えば一方のデータ伝送装置1にはl10(入出
力)ボート1eを介して多数の機器4が接続されている
。また、他方のデータ伝送装置2との間で実行されるデ
ータ授受の周期T。を計時するタイマ1fが設けられて
いる。
Further, for example, a large number of devices 4 are connected to one data transmission device 1 via an l10 (input/output) boat 1e. Also, the period T of data exchange performed with the other data transmission device 2. A timer 1f is provided to measure the time.

また、他方のデータ伝送装置2には一方のデータ伝送装
置1から受信したデータを表示するCRT表示部2gが
設けられている。
Further, the other data transmission device 2 is provided with a CRT display section 2g for displaying data received from one data transmission device 1.

このようなデータ伝送システムのなかには、方のデータ
伝送装置1に接続された各機器4の機器状態を、この各
機器4が接続された一方のデータ伝送装置1の他に他方
のデータ伝送装置2で把握する必要がある場合がある。
In such a data transmission system, the device status of each device 4 connected to one data transmission device 1 is transmitted to the other data transmission device 2 in addition to the one data transmission device 1 to which each device 4 is connected. Sometimes it is necessary to understand.

例えばCRT表示部2gに各機器4の現在の状態を表示
する。
For example, the current status of each device 4 is displayed on the CRT display section 2g.

そして、接続された機器4の機器状態を他方のデータ伝
送装置2へ通知(伝送)する一般的手法としては、第1
0図に示すように、一方のデータ伝送装置1のメモリl
c内に、主機器状態テーブル5を設けている。この主機
器状態テーブル5内に、各機器4に対応するI10ボー
ト1eのボートN(L P 1.P 2.P 3.・・
・ 、PN毎に機器状態データD 1.D 2.・・・
 、DNを記憶する。そして、CPU1bは常時I10
ボート1eの各ボートPL−PNの機器状態データDl
−DNを監視して、各機器状態データD1〜DNに変化
があれば、主機器状態テーブル5内の該当機器状態デー
タを新たな機器状態データへ変更する。
As a general method for notifying (transmitting) the device status of the connected device 4 to the other data transmission device 2, the first
As shown in FIG. 0, the memory l of one data transmission device 1
A main equipment status table 5 is provided in c. In this main equipment status table 5, the boat N (L P 1.P 2.P 3..
・Equipment status data D for each PN 1. D2. ...
, memorize the DN. And CPU1b is always I10
Equipment status data Dl of each boat PL-PN of boat 1e
-DN is monitored, and if there is a change in each of the device status data D1 to DN, the corresponding device status data in the main device status table 5 is changed to new device status data.

そして、タイマ1fから一定周期T。毎の時間割込みが
発生すると、メモリlc内に設けられたデータメモリ6
に記憶されている送信すべきデータと主機器状態テーブ
ル5内の各機器状態データDi−DNとをデータ情報と
して伝送インタフェース1dおよびデータ伝送路3を介
して他方のデータ伝送装置2へ送信する。
Then, the constant period T starts from the timer 1f. When each time interrupt occurs, the data memory 6 provided in the memory lc is
The data to be transmitted stored in the main device status table 5 and each device status data Di-DN in the main device status table 5 are transmitted as data information to the other data transmission device 2 via the transmission interface 1d and the data transmission path 3.

伝送インタフェース2dを介して一方のデータ伝送装置
1からのデータ情報を受信した他方のデータ伝送装置2
は、そのデータ情報に含まれるデータに対する通常のデ
ータ処理を実行する。さらに、受信したデータ情報に含
まれる各機器状態データD1〜D’Nと、自己のメモリ
2Cに設けられた副機器状態テーブル内に一つ前の周期
において設定された各機器状態データDl−DNとを比
較して、穴なる機器状態データが存在すれば、副機器状
態テーブル内の該当機器状態データを今回受信した新た
な機器状態データに更新する。
The other data transmission device 2 receives data information from one data transmission device 1 via the transmission interface 2d.
performs normal data processing on the data contained in the data information. Furthermore, each device state data D1 to D'N included in the received data information and each device state data Dl-DN set in the previous cycle in the sub-device state table provided in the own memory 2C. If there is any missing equipment status data, the corresponding equipment status data in the sub equipment status table is updated to the new equipment status data received this time.

したがって、一方のデータ伝送装置1に接続された各機
器4の機器状態を他方のデータ伝送装置2にて常に正確
に把握できる。
Therefore, the device status of each device 4 connected to one data transmission device 1 can always be accurately grasped by the other data transmission device 2.

しかしながら、上述した方法で各機器4の機器状態を他
方のデータ伝送装置2へ通知する接続機器状態の通知方
法においても、まだ次のような問題があった。
However, even in the above-described method of notifying the device status of each device 4 to the other data transmission device 2, the following problems still exist.

すなわち、一方のデータ伝送装置1は各機器4の機器状
態が変化したか又は変化しないかに拘らず、一定周期毎
に、主機器状態テーブル5内の各機器状態データD1〜
DNを通常のデータと共に他方のデータ伝送装置2へ送
信する。したがって、他方のデータ伝送装置2は、同じ
く各機器4の機器状態が変化したか又は変化しないかに
拘らず、一定周期毎に、受信したデータ情報の各機器デ
ータD1〜DNと副機器状態テーブル内の各機器状態デ
ータD1〜DNとを比較して、異なる機器状態データが
存在すか否かを検索する必要がある。
That is, one data transmission device 1 transmits each device state data D1 to D1 in the main device state table 5 at regular intervals, regardless of whether the device state of each device 4 has changed or not.
The DN is sent to the other data transmission device 2 along with normal data. Therefore, the other data transmission device 2 transmits each device data D1 to DN of the received data information and the sub-device status table at regular intervals, regardless of whether the device status of each device 4 has changed or not. It is necessary to compare each of the device status data D1 to DN in the list to find out whether different device status data exists.

この検索作業は多大の処理手順を必要とするので、他方
のデータ伝送装置2における処理負担が増大し、正規の
データ処理の処理能率が低下する問題がある。特に、各
機器4の機器状態がそんなに頻繁に変化しないデータ伝
送システムにおいては、他方のデータ伝送装置2におい
て、検索したが異なる機器状態データが存在しない確率
が高くなり、無駄な検索作業を何回も行うことになり、
上述したデータ処理能率が大幅に低下する懸念がある。
Since this search operation requires a large number of processing steps, there is a problem that the processing load on the other data transmission device 2 increases and the processing efficiency of regular data processing decreases. In particular, in a data transmission system in which the device status of each device 4 does not change very frequently, there is a high probability that the other data transmission device 2 will not have different device status data that has been searched for, resulting in an unnecessary number of unnecessary search operations. We will also do
There is a concern that the data processing efficiency described above will be significantly reduced.

(発明が解決しようとする課題) このように従来のデータ伝送システムの接続機器状態の
通知方法によれば、機器状態データを受信する他方のデ
ータ伝送装置における結果的に無駄となる検索処理作業
が増大して、本来のデータ処理能率が低下する問題が生
じる。
(Problem to be Solved by the Invention) As described above, according to the conventional method for notifying the connected device status of a data transmission system, the search processing work that ends up being wasted in the other data transmission device that receives the device status data can be avoided. This increases the problem of lowering the original data processing efficiency.

本発明はこのような事情に鑑みてなされたものであり、
各機器の機器状態に変化が生じると送信側で変化通知ビ
ットを付加することに・より、受信側は変化通知ビット
を検知したときのみ各機器状態に対する検索処理実行す
ればよく、無駄な検索作業を排除でき、本来のデータ処
理能率を大幅に向上できるデータ伝送システムの接続機
器状態の通知方法を提供することを目的とする。
The present invention was made in view of these circumstances, and
When a change occurs in the device status of each device, a change notification bit is added on the sending side.By doing so, the receiving side only needs to perform search processing for each device status when the change notification bit is detected, which eliminates wasteful search work. It is an object of the present invention to provide a method for notifying the status of connected equipment in a data transmission system, which can eliminate problems and greatly improve the original data processing efficiency.

[発明の構成] (課題を解決するための手段) 上記課題を解消するために本発明の接続機器状態の通知
方法は、複数の機器が接続された一方のデータ伝送装置
とデータ伝送路を介して接続された他方のデータ伝送装
置との間で一定周期でデータの授受を行うと共に、一方
のデータ伝送装置に接続された各機器の機器状態を少な
くとも他方のデータ伝送装置で把握するデータ伝送シス
テムにおいて、 一方のデータ伝送装置は、各機器を監視して機器状態変
化を検出すると各機器の機器状態を記憶する主機器状態
テーブルの該当機器状態を更新し、かつ変化通知ビット
を記憶部に設定し、一定周期で前記データと主機器状態
テーブルの各機器状態および変化通知ビットからなるデ
ータ情報を前記他方のデータ伝送装置へ送信し、 他方のデータ伝送装置は、一方のデータ伝送装置からの
データ情報を受信し、この受信したデータ情報内に変化
通知ビットを検出すると割込発生回路にて状態変化割込
信号を発生させ、この割込発生回路からの状態変化割込
信号に応動して自己の記憶部に設定された副機器状態テ
ーブルに記憶された各機器の機器状態を受信したデータ
情報に含まれる各機器状態で更新するようにしている。
[Structure of the Invention] (Means for Solving the Problems) In order to solve the above problems, the method for notifying the status of connected devices of the present invention provides a method for notifying a connected device status via a data transmission path with one data transmission device to which a plurality of devices are connected. A data transmission system that sends and receives data at regular intervals to and from another data transmission device that is connected to one data transmission device, and that at least the other data transmission device grasps the device status of each device connected to one data transmission device. When one of the data transmission devices monitors each device and detects a change in device status, it updates the corresponding device status in the main device status table that stores the device status of each device, and sets a change notification bit in the storage unit. and transmits data information consisting of the data, each device status of the main device status table, and a change notification bit to the other data transmission device at regular intervals, and the other data transmission device receives the data from one data transmission device. When information is received and a change notification bit is detected in the received data information, the interrupt generation circuit generates a state change interrupt signal, and the self The device status of each device stored in the sub-device status table set in the storage section of is updated with each device status included in the received data information.

(作用) このように構成されたデータ伝送システムにおける接続
機器状態の通知方法によれば、一方のデータ伝送装置に
接続された各機器の機器状態に変化が生じると、主機器
状態テーブルの該当機器状態が更新され、かつ変化通知
ビットが記憶部に設定される。そして、一定周期が経過
すると、更新後の主機器状態テーブルの各機器状態、デ
ータおよび変化通知ビットがデータ情報として他方のデ
ータ伝送装置へ送信される。
(Operation) According to the method for notifying the connected device status in the data transmission system configured as described above, when a change occurs in the device status of each device connected to one data transmission device, the corresponding device in the main device status table The state is updated and a change notification bit is set in the storage. Then, after a certain period has elapsed, each device status, data, and change notification bit of the updated main device status table are transmitted as data information to the other data transmission device.

データ情報を受信した他方のデータ処、理装置において
は、データ情報内に変化通知ビットが存在するので、割
込発生回路から状態変化割込信号が出力され、この状態
変化割込信号に応動して自己の副機器状態テーブルに記
憶された各機器の機器状態が新たな機器状態に更新され
る。
In the other data processing device that has received the data information, since there is a change notification bit in the data information, a state change interrupt signal is output from the interrupt generation circuit, and the state change interrupt signal is responded to. The device status of each device stored in its own sub-device status table is updated to the new device status.

よって、各機器の機器状態が変化しない場合は、変化通
知ビットは設定されないので、他方のデータ伝送装置は
自己の副機器状態テーブルに記憶された各機器状態の検
索および更新処理を実行する必要がない。
Therefore, if the device status of each device does not change, the change notification bit will not be set, so the other data transmission device needs to search and update each device status stored in its own sub-device status table. do not have.

(実施例) 以下本発明の一実施例を図面を用いて説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は実施例の接続機器状態゛の通知方法を採用した
データ伝送システムを示すブロック図である。第9図と
同一部分には同一符号が付しである。
FIG. 1 is a block diagram showing a data transmission system employing the method of notifying the status of connected devices according to the embodiment. The same parts as in FIG. 9 are given the same reference numerals.

したがって、重複する部分の説明を省略する。Therefore, the explanation of the overlapping parts will be omitted.

一方のデータ伝送装置1にはI10ボート1eを介して
例えばN台の機器475<接続されており、CPU1b
は各機器4の機器状態をI10ポート1eの各ポーPI
、P2.・・・ 、PNを介して監視することができる
。なお、接続される機器4としては、通常の印字装置や
表示装置や入出力装置等の周辺機器の他に、例えば他の
計算機やプログラマブルコントローラやプロクラマブル
ディスプレイ等がある。
For example, N devices 475 are connected to one data transmission device 1 via an I10 boat 1e, and a CPU 1b
indicates the device status of each device 4 to each port PI of I10 port 1e.
, P2. ... can be monitored via the PN. Note that the connected devices 4 include, in addition to normal peripheral devices such as printing devices, display devices, and input/output devices, other computers, programmable controllers, programmable displays, and the like.

RAM等で形成されたメモリ1c内には、第2図に示す
ように、各機器4に対応するI10ポ−)1eのポート
No、PL、P2.P3.−、PN毎に機器状態データ
D 1.D 2.・・・ 、DNを記憶する主危機状態
テーブル5が設けられている。さらに、メモリ2c内に
は、他方のデータ伝送装置2へ送信すべき通常のデータ
を記憶するデータメモリ6、各機器4の機器状態データ
D1〜DNに変化が生じたことを示す変化通知ビットB
を記憶するビットメモリ7、他方のデータ伝送装置2へ
送信するデータ情報を一時格納する送信バッファ8等が
形成されている。
As shown in FIG. 2, in the memory 1c formed of a RAM or the like, the port number, PL, P2 . P3. -, equipment status data D for each PN 1. D2. ..., a main crisis state table 5 storing DNs is provided. Furthermore, within the memory 2c, there is a data memory 6 that stores normal data to be transmitted to the other data transmission device 2, and a change notification bit B that indicates that a change has occurred in the device status data D1 to DN of each device 4.
A bit memory 7 for storing data information, a transmission buffer 8 for temporarily storing data information to be transmitted to the other data transmission device 2, and the like are formed.

また、他方のデータ伝送装置2のメモリ2c内には、第
3図に示すように、一方のデータ伝送装置1から受信し
たデータ情報を一時格納する受信バッファ9、一方のデ
ータ伝送装置1に接続された各機器4の機器状態データ
D 1.D 2.・・・ 、DNを記憶する前記主機器
状態テーブル5と同一構成の副機器状態テーブル10.
および通常のデータを記憶するデータメモリ11等が形
成されている。
In addition, as shown in FIG. 3, the memory 2c of the other data transmission device 2 includes a reception buffer 9 that temporarily stores data information received from the one data transmission device 1, and is connected to the one data transmission device 1. Equipment status data D of each equipment 4 that has been updated 1. D2. ..., a sub-equipment status table 10 having the same configuration as the main equipment status table 5 that stores DNs.
A data memory 11 and the like for storing normal data are formed.

また、データ伝送装置2内には割込発生回路12が設け
られている。この割込発生回路12は受信バッファ9内
の変化通知ビットBを検出してCPU2bへ状態変化割
込信号を印加する。
Furthermore, an interrupt generation circuit 12 is provided within the data transmission device 2. This interrupt generation circuit 12 detects the change notification bit B in the reception buffer 9 and applies a state change interrupt signal to the CPU 2b.

このような構成のデータ伝送システムにおいて、各機器
4が接続された一方のデータ伝送装置1のCPU1bは
タイマ1fから微小時間Δτ毎の時間割込信号が人力す
ると第4図の割込処理を実行する。すなわち、I10ポ
ート1eの各ポートP1〜PNに入力されている各機器
4の各機器状態データを読取る。そして、メモリ1cの
主機器状態テーブル5に記憶された各機器状態データD
l−DNと比較する。1個でも一致しない機器状態デー
タが存在すれば、主機器状態テーブル5内の該当機器状
態データを今回読取った新たな機器状態データに書替え
る。そして、ビットメモリ7の変化通知ビットBの値を
反転させる。
In a data transmission system having such a configuration, the CPU 1b of one of the data transmission devices 1 to which each device 4 is connected executes the interrupt process shown in FIG. . That is, each device state data of each device 4 input to each port P1 to PN of the I10 port 1e is read. Then, each device status data D stored in the main device status table 5 of the memory 1c
Compare with l-DN. If there is even one item of equipment status data that does not match, the corresponding equipment status data in the main equipment status table 5 is rewritten with the new equipment status data read this time. Then, the value of the change notification bit B in the bit memory 7 is inverted.

なお、全部の機器状態データが一致していれば、何もせ
ずにこの微小時間Δτ毎の時間割込処理を修了する。
Note that if all the device status data match, the time interrupt processing for each minute time Δτ is completed without doing anything.

さらに、タイマ1fから前記微小時間ΔTより長く設定
された一定周期T。毎の時間割込信号が人力すると第5
図の割込処理を実行する。すなわち、主機器状態テーブ
ル5の各機器状態データD1〜DN、データメモリ6の
送信用の通常のデータ、およびビットメモリ7の変化通
知ビットBをデータ情報として送信バッファ8へ設定す
る。
Furthermore, a constant period T is set from the timer 1f to be longer than the minute time ΔT. If the interrupt signal is manually generated every time, the 5th
Execute the interrupt processing shown in the figure. That is, each device status data D1 to DN in the main device status table 5, normal data for transmission in the data memory 6, and change notification bit B in the bit memory 7 are set in the transmission buffer 8 as data information.

そして、その送信バッファ8のデータ情報を伝送インタ
フェース1dおよびデータ伝送路3を介して他方のデー
タ伝送装置2へ送信する。
Then, the data information in the transmission buffer 8 is transmitted to the other data transmission device 2 via the transmission interface 1d and the data transmission path 3.

次に、他方のデータ伝送装置2のCPU2bは第6図に
示すメインルーチンを実行する。メインルーチンが開始
されると、受信バッファ9に一方のデータ伝送装置1か
らデータ情報が受信されているか否かを調べ、受信され
ていれば、受信バッファ9のデータ情報のうちの通常の
データをデータメモリ11へ格納する。そして、そのデ
ータに対する所定のデータ処理を実行する。
Next, the CPU 2b of the other data transmission device 2 executes the main routine shown in FIG. When the main routine starts, it is checked whether data information is received from one of the data transmission devices 1 in the reception buffer 9, and if it is received, normal data from among the data information in the reception buffer 9 is sent to the reception buffer 9. Store it in the data memory 11. Then, predetermined data processing is performed on the data.

また、割込発生回路12は第7図に示す処理を実行する
。すなわち、受信バッファ9にデータ情報が受信される
と、そのデータ情報に含まれる変化通知ビットBの状態
を調べる。前回の変化通知ビットBの値と今回の変化通
知ビットBの値とが異なる場合は、今回の周期において
機器状態が変化した機器4が存在するので、CPU2b
の割込端子へ状態変化割込信号を送出する。
Further, the interrupt generation circuit 12 executes the processing shown in FIG. That is, when data information is received in the reception buffer 9, the state of the change notification bit B included in the data information is checked. If the value of the previous change notification bit B is different from the value of the current change notification bit B, there is a device 4 whose device status has changed in the current cycle, so the CPU 2b
Sends a state change interrupt signal to the interrupt terminal of

なお、変化通知ビットBが変化しなければ、何もしない
Note that if the change notification bit B does not change, nothing is done.

しかして、割込発生回路12から状態変化割込信号が印
加されたCPU2.bは第8図の状態変化割込処理を実
行する。すなわち、受信バッファ9に受信されたデータ
情報の各機器状態データDi〜DNを読取る。次に副機
器状態テーブル10の各機器状態データDI−DNと比
較する。そして、受信バッファ9から読取った機器状態
データと一致しない機器状態データを検索して、その機
器状態データを新たな機器状態データへ更新する。よっ
て、副機器状態テーブル10の各機器データDl−DN
は主機器状態テーブル5の各機器状態データDI−DN
と一致する。
Thus, the CPU 2. to which the state change interrupt signal is applied from the interrupt generation circuit 12. b executes the state change interrupt processing shown in FIG. That is, each device state data Di to DN of the data information received in the reception buffer 9 is read. Next, it is compared with each device status data DI-DN in the sub-equipment status table 10. Then, it searches for equipment status data that does not match the equipment status data read from the reception buffer 9, and updates that equipment status data to new equipment status data. Therefore, each device data Dl-DN of the sub-device status table 10
is each device status data DI-DN of the main device status table 5
matches.

このように構成されたデータ伝送システムの接続機器状
態の通知方法であれば、一方のデータ伝送装置1に接続
された複数の機器4のうち1個以上の機器4の危機状態
が変化すると、前記微小時間ΔTを無視すると、変化し
た時点で主機器状態テーブル5の該当機器の機器状態デ
ータが変化後の新たな器機状態データへ書替えられる。
According to the method for notifying the state of connected devices in a data transmission system configured as described above, when the crisis state of one or more devices 4 among the plurality of devices 4 connected to one data transmission device 1 changes, the above-mentioned If the minute time ΔT is ignored, the device state data of the corresponding device in the main device state table 5 is rewritten to new device state data after the change at the time of change.

同時に、ビットメモリ7の変化通知ビットBが1に設定
される。そして、一定周期T。が経過すると、主機器状
態テーブル5の各機器状態データおよび変化通知ビット
Bが通常のデータと共に他方のデータ伝送装置2へ送信
される。データ伝送装置2側においては、反転された変
化通知ビットBが割込発生回路12にて検出されて状態
変化割込信号が発生する。そして、受信した各機器状態
データおよび副機器状態テーブル10の各機器状態デー
タを検索して、副機器状態テーブル10の変化があった
各機器状態データを新たな機器状態データに更新する。
At the same time, change notification bit B of bit memory 7 is set to 1. And a constant period T. After , each device state data and change notification bit B of the main device state table 5 are transmitted to the other data transmission device 2 together with normal data. On the data transmission device 2 side, the inverted change notification bit B is detected by the interrupt generation circuit 12 and a state change interrupt signal is generated. Then, each received device state data and each device state data in the sub device state table 10 are searched, and each device state data that has changed in the sub device state table 10 is updated to new device state data.

なお、一方のデータ伝送装置1から他方のデータ伝送装
置2ヘデータ情報を送信する時点でその周期T。内に機
器状態が変化しなければ変化通知ビットBは変化しない
。したがって、この場合、データ情報を受信した他方の
データ伝送装置2側の割込発生回路12は状態変化割込
信号を発生しない。よって、CPU2bは受信した各機
器状態データや副機器状態テーブル10内を検索して一
致いない機器状態データを検索する処理を実行しない。
Note that the period T at the time when data information is transmitted from one data transmission device 1 to the other data transmission device 2. If the device status does not change within that time, change notification bit B will not change. Therefore, in this case, the interrupt generation circuit 12 on the other data transmission device 2 side that has received the data information does not generate a state change interrupt signal. Therefore, the CPU 2b does not search the received device status data or the sub-device status table 10 for device status data that does not match.

すなわち、受信側のデータ伝送装置2は、一方のデータ
伝送装置1に接続された各機器4の機器状態が変化した
ときのみ、上述した検索処理を行って副機器状聾テーブ
ル10を更新すればよい。
That is, the data transmission device 2 on the receiving side updates the sub-device status table 10 by performing the above-mentioned search process only when the device status of each device 4 connected to one data transmission device 1 changes. good.

したがって、従来方法の場合と異なり、機器状態の変化
の有無に拘らず一定周期毎に検索処理を実行しないので
、結果的に無駄になる検索処理を省略でき、本来のデー
タ処理能率を大幅に向上できる。
Therefore, unlike the conventional method, search processing is not performed at regular intervals regardless of whether there is a change in the device status, so it is possible to omit search processing that ends up being wasted, and the original data processing efficiency is greatly improved. can.

[発明の効果コ 以上説明したように、本発明の接続機器状態の通知法に
よれば、各機器の機器状態に変化が生じると送信側で変
化通知ビットを付加して、受信側は変化通知ビットを検
知したときのみ状態変化割込信号を発生させ、その割込
信号発生時のみ各機器状態に対する検索処理を実行して
副機器状態テーブルの内容を更新するようにしている。
[Effects of the Invention] As explained above, according to the connected device status notification method of the present invention, when a change occurs in the device status of each device, the transmitting side adds a change notification bit, and the receiving side sends a change notification. A state change interrupt signal is generated only when a bit is detected, and only when the interrupt signal is generated, search processing for each device state is executed to update the contents of the sub-device state table.

したがって、無駄な検索作業を排除でき、データ伝送シ
ステムにおける本来のデータ処理能率を大幅に向上でき
る。
Therefore, unnecessary search work can be eliminated, and the original data processing efficiency of the data transmission system can be greatly improved.

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

第1図乃至第8図は本発明の一実施例に係わる接続機器
状態の通知方法を採用したデータ転送システムを示すも
のであり、第1図は全体を示すブロック図、第2図およ
び第3図はメモリの記憶内容を示す図、第4図乃至第8
図は動作を示す流れ図であり、第9図は従来の通知方法
を採用したデータ伝送システムを示すブロック図、第1
0図は同従来システムにおけるメモリの記憶内容を示す
図である。 1.2・・・データ伝送装置、3・・・データ伝送路、
4・・・機器、5・・・主機器状態テーブル、7・・・
ビットメモリ、8・・・送信バッファ、9・・・受信バ
ッファ、O・・・副機器状態テーブル、 2・・・割込発生回路。
1 to 8 show a data transfer system that employs a method for notifying the status of connected devices according to an embodiment of the present invention. FIG. 1 is a block diagram showing the entire system, and FIGS. The figures show the contents of memory, Figures 4 to 8.
The figure is a flowchart showing the operation, and FIG. 9 is a block diagram showing a data transmission system employing the conventional notification method.
FIG. 0 is a diagram showing the contents stored in the memory in the conventional system. 1.2... Data transmission device, 3... Data transmission line,
4...Device, 5...Main device status table, 7...
Bit memory, 8...Transmission buffer, 9...Reception buffer, O...Sub-equipment status table, 2...Interrupt generation circuit.

Claims (1)

【特許請求の範囲】 複数の機器が接続された一方のデータ伝送装置とデータ
伝送路を介して接続された他方のデータ伝送装置との間
で一定周期でデータの授受を行うと共に、前記一方のデ
ータ伝送装置に接続された各機器の機器状態を少なくと
も他方のデータ伝送装置で把握するデータ伝送システム
において、前記一方のデータ伝送装置は、前記各機器を
監視して機器状態変化を検出すると前記各機器の機器状
態を記憶する主機器状態テーブルの該当機器状態を更新
し、かつ変化通知ビットを記憶部に設定し、前記一定周
期で前記データと前記主機器状態テーブルの各機器状態
および前記変化通知ビットからなるデータ情報を前記他
方のデータ伝送装置へ送信し、 前記他方のデータ伝送装置は、前記一方のデータ伝送装
置からのデータ情報を受信し、この受信したデータ情報
内に前記変化通知ビットを検出すると割込発生回路にて
状態変化割込信号を発生させ、この割込発生回路からの
状態変化割込信号に応動して自己の記憶部に設定された
副機器状態テーブルに記憶された前記各機器の機器状態
を前記受信したデータ情報に含まれる各機器状態で更新
することを特徴とするデータ伝送システムにおける接続
機器状態の通知方法。
[Scope of Claims] Data is exchanged at a constant cycle between one data transmission device to which a plurality of devices are connected and the other data transmission device connected via a data transmission path, and In a data transmission system in which at least the other data transmission device grasps the device status of each device connected to the data transmission device, the one data transmission device monitors each of the devices and detects a change in the device status. The corresponding device status in the main device status table that stores the device status of the device is updated, and the change notification bit is set in the storage unit, and the data, each device status in the main device status table, and the change notification are updated at the fixed period. transmitting data information consisting of bits to the other data transmission device, the other data transmission device receiving the data information from the one data transmission device, and including the change notification bit in the received data information. When detected, the interrupt generation circuit generates a state change interrupt signal, and in response to the state change interrupt signal from the interrupt generation circuit, the above-mentioned information is stored in the sub-equipment state table set in its own storage unit. A method for notifying a connected device status in a data transmission system, characterized in that the device status of each device is updated with each device status included in the received data information.
JP1180936A 1989-07-13 1989-07-13 Notice method for state of connected device in data transmission system Pending JPH0345055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1180936A JPH0345055A (en) 1989-07-13 1989-07-13 Notice method for state of connected device in data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1180936A JPH0345055A (en) 1989-07-13 1989-07-13 Notice method for state of connected device in data transmission system

Publications (1)

Publication Number Publication Date
JPH0345055A true JPH0345055A (en) 1991-02-26

Family

ID=16091867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1180936A Pending JPH0345055A (en) 1989-07-13 1989-07-13 Notice method for state of connected device in data transmission system

Country Status (1)

Country Link
JP (1) JPH0345055A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007286571A (en) * 2006-03-23 2007-11-01 Yamaha Corp Parameter management apparatus for acoustic apparatus, and parameter management program
JP2010072656A (en) * 2009-10-29 2010-04-02 Yamaha Corp Program and controller of external device
JP2010085996A (en) * 2009-10-29 2010-04-15 Yamaha Corp Program and control device for external equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007286571A (en) * 2006-03-23 2007-11-01 Yamaha Corp Parameter management apparatus for acoustic apparatus, and parameter management program
JP2010072656A (en) * 2009-10-29 2010-04-02 Yamaha Corp Program and controller of external device
JP2010085996A (en) * 2009-10-29 2010-04-15 Yamaha Corp Program and control device for external equipment

Similar Documents

Publication Publication Date Title
JP2001356801A (en) Plant monitoring device and storage medium
US9027036B2 (en) Status management device, status management method, and recording medium
JP2562701B2 (en) Error display device for data transmission system
JPH0345055A (en) Notice method for state of connected device in data transmission system
JP2003280732A (en) Data transmitter and control system using the same
JPH11116012A (en) Storing rack indication system
JP5305962B2 (en) Relay device, electronic shelf label device, relay method, and relay program
JPH02109101A (en) Monitoring device
JPH0527294B2 (en)
JPH02110628A (en) Information displaying system
JP2517665B2 (en) Method of transmitting signal to operation control device on operation panel
JPH0431942A (en) On-line information processing system
JP3033391B2 (en) Monitoring device
KR100489948B1 (en) Alarm led control unit of system and method thereof
JP2006042426A (en) Uninterruptible power supply device, history information storage method, and uninterruptible power supply system
JPS63304348A (en) Control system for connecting device
JPS61165173A (en) State information managing system between system
JPH06139163A (en) Distributed processing system
JP2000010869A (en) Data backup device
JPH05336124A (en) Communication processing unit
JPH02259876A (en) On-line retrieval device
JPH0436827A (en) Graphic display device
JPH086631A (en) Transfer system for nc program
JP2001157235A (en) Storage program control type automatic exchange
JPH04245359A (en) Loop network monitor and control equipment