JPH03181294A - Data transmission system - Google Patents
Data transmission systemInfo
- Publication number
- JPH03181294A JPH03181294A JP31897889A JP31897889A JPH03181294A JP H03181294 A JPH03181294 A JP H03181294A JP 31897889 A JP31897889 A JP 31897889A JP 31897889 A JP31897889 A JP 31897889A JP H03181294 A JPH03181294 A JP H03181294A
- Authority
- JP
- Japan
- Prior art keywords
- error
- circuit
- holding means
- master station
- data transmission
- 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
Links
Landscapes
- Selective Calling Equipment (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は一つの親局から複数(N)の子局に対して順次
ポーリング呼出しを行ない、データを収集するようにし
た1対N方式のデータ伝送システムにおいて、特に同時
にあるいは連続してシステムに異常状態が発生した場合
でも、割り込み要求の多発によって親局の中央処理回路
の通常処理動作が停止するのを確実に防止し得るように
したデータ伝送システムに関する。[Detailed Description of the Invention] [Objective of the Invention] (Field of Industrial Application) The present invention collects data by sequentially making polling calls from one master station to a plurality of (N) slave stations. In a 1-to-N data transmission system, even if an abnormal state occurs in the system simultaneously or consecutively, this method reliably prevents the normal processing operation of the central processing circuit of the master station from stopping due to frequent interrupt requests. The present invention relates to a data transmission system.
(従来の技術)
従来から、例えば電力系統の分野においては、被監視対
象の監視および制御を行なうことを目的として、遠方監
視制御装置が多く用いられてきている。そして、この遠
方監視制御装置におけるデータの伝送システムとしては
、1対N方式のデータ伝送システムが採用されてきてい
る。すなわち、この1対N方式のデータ伝送システムは
、一つの親局から複数(N)の子局に対して順次ポーリ
ング呼出しを行ない、データを収集するようにしたもの
である。(Prior Art) For example, in the field of electric power systems, remote monitoring and control devices have been widely used for the purpose of monitoring and controlling objects to be monitored. As a data transmission system for this remote monitoring and control device, a one-to-N type data transmission system has been adopted. That is, in this one-to-N data transmission system, one master station sequentially makes polling calls to a plurality (N) of slave stations to collect data.
ところで、このようなデータ伝送システムにおいては通
常、CRCコードチエツクやパリティコードチエツク等
の受信フレームの正誤判定機能の他、種々の自己診断機
能を備えており、自局装置の動作状態のチエツクを行な
っている。そして、チエツクの結果何らかの異常状態の
発生を検出した場合にはエラー信号を出力し、自局の中
央処理回路に対して割り込みによる異常処理を要求する
ようにしている。By the way, such data transmission systems are usually equipped with various self-diagnosis functions, such as a CRC code check and a parity code check, to determine whether the received frame is correct or not, and which check the operating status of the own station equipment. ing. If any abnormal condition is detected as a result of the check, an error signal is output, and a request is made to the central processing circuit of the own station to handle the abnormality by means of an interrupt.
第2図は、この種の1対N方式のデータ伝送システムに
おける、親局および子局に備えられるデータ伝送装置の
データ伝送に関する部分のハード構成例を示すブロック
図である。第2図において、データ伝送装置は、ダイレ
クトメモリアクセス(以下、DMAと称する)回路21
と、送受信制御回路22と、送信回路23と、フレーム
チエツクコード生成回路24と、フレームチエツクコー
ド判定回路25と、受信回路26と、割り込み処理回路
27とから構成されている。FIG. 2 is a block diagram showing an example of the hardware configuration of a data transmission-related portion of a data transmission device provided in a master station and a slave station in this type of one-to-N type data transmission system. In FIG. 2, the data transmission device includes a direct memory access (hereinafter referred to as DMA) circuit 21.
, a transmission/reception control circuit 22 , a transmission circuit 23 , a frame check code generation circuit 24 , a frame check code determination circuit 25 , a reception circuit 26 , and an interrupt processing circuit 27 .
かかるデータ伝送装置は、送受信制御回路22の制御に
よって動作する。すなわち、まず送信動作の場合には、
DMA回路21がアドレスバス29、データバス28の
先に接続されている図示しないメモリ回路からデータを
読み出し、送信回路23にデータのDMA転送が行なわ
れる。次に、送信回路23では、DMA転送されたデー
タがパラレル−シリアル変換され、さらにフレームチエ
ツクコード生成回路24により生成したフレームチエツ
クコードが付加された後、符号化、レベル変換等の処理
が行なわれた上で、伝送路210にデータが送出される
。Such a data transmission device operates under the control of a transmission/reception control circuit 22. That is, in the case of a transmission operation,
The DMA circuit 21 reads data from a memory circuit (not shown) connected to the end of the address bus 29 and data bus 28, and DMA transfers the data to the transmitting circuit 23. Next, in the transmitting circuit 23, the DMA transferred data is subjected to parallel-to-serial conversion, and after a frame check code generated by the frame check code generation circuit 24 is added, processing such as encoding and level conversion is performed. After that, the data is sent to the transmission path 210.
一方、受信動作の場合には、受信したデータが受信回路
26により、レベル変換、複合化等の処理が行なわれた
後にシリアル−パラレル変換され、さらにフレームチエ
ツクコード判定回路25にて受信フレームの正誤が判定
される。その結果、受信フレームが正しいことが判定さ
れると、DMA回路21により受信回路26から図示し
ないメモリ回路へデータのDMA転送が行なわれる。ま
た、受信フレームが正しくないことが判定されると、そ
の受信フレームは廃棄され、フレームチエツクコード判
定回路25から割り込み処理回路27に対して、エラー
ステータス信号2Cが出力される。On the other hand, in the case of a reception operation, the received data is subjected to processing such as level conversion and decoding by the reception circuit 26, and then serial-to-parallel conversion. is determined. As a result, when it is determined that the received frame is correct, the DMA circuit 21 performs DMA transfer of data from the receiving circuit 26 to a memory circuit (not shown). If it is determined that the received frame is incorrect, the received frame is discarded and an error status signal 2C is output from the frame check code determination circuit 25 to the interrupt processing circuit 27.
なお、これ以外にも、上述のような一連の動作中に、各
々の回路では自己の回路が正しく動作しているかどうか
の自己診断が常に行なわれており、その結果異常状態の
発生が検出されると、エラーステータス信号が割り込み
処理回路27に対して出力される。例えば、第2図にお
いて、送信回路23に異常状態が発生した場合はエラー
ステータス信号2aが出力され、フレームチエツクコー
ド生成回路24に異常状態が発生した場合はエラーステ
ータス信号2bが出力される。In addition to this, during the series of operations described above, each circuit constantly performs self-diagnosis to see if its own circuit is operating correctly, and as a result, the occurrence of an abnormal condition is detected. Then, an error status signal is output to the interrupt processing circuit 27. For example, in FIG. 2, when an abnormal condition occurs in the transmitting circuit 23, an error status signal 2a is output, and when an abnormal condition occurs in the frame check code generating circuit 24, an error status signal 2b is output.
そして、割り込み処理回路27では、このようなエラー
ステータス信号2a〜2cが入力されると、エラーステ
ータスとそれに付随する状態信号等が送受信制御回路2
2から入力され、これを保持した上で図示しない中央処
理回路に対して割り込み要求信号INTが出力される。When the error status signals 2a to 2c are inputted to the interrupt processing circuit 27, the error status and accompanying status signals are sent to the transmission/reception control circuit 2.
2, and after holding it, an interrupt request signal INT is output to a central processing circuit (not shown).
第3図は、従来の割り込み処理回路27の構成例を示す
ブロック図である。第3図において、割り込み処理回路
27は、エラー保持回路31と、エラー局アドレス保持
回路32と、3−ステートバッファ33とから構成され
ている。FIG. 3 is a block diagram showing an example of the configuration of a conventional interrupt processing circuit 27. As shown in FIG. In FIG. 3, the interrupt processing circuit 27 includes an error holding circuit 31, an error station address holding circuit 32, and a 3-state buffer 33.
かかる割り込み処理回路27において、エラー保持回路
31では、エラーステータス信号3a1〜3aMが入力
されるとこれが保持され、その結果即座に図示しない中
央処理回路に対して割り込み要求信号INTが出力され
る。また、エラー局アドレス保持回路32では、エラー
ステータス信号381〜3aMが入力された時点で、エ
ラー発生時に送受信を行なっていた局のアドレス値が、
送受信制御回路22から入力されて保持される。In the interrupt processing circuit 27, the error holding circuit 31 holds the error status signals 3a1 to 3aM when they are input, and as a result, an interrupt request signal INT is immediately output to a central processing circuit (not shown). In addition, in the error station address holding circuit 32, when the error status signals 381 to 3aM are input, the address value of the station that was transmitting and receiving at the time of the error occurrence is
It is input from the transmission/reception control circuit 22 and held.
そして、この保持されたアドレス値は、3−ステートバ
ッファ33およびデータバスを介して、図示しない中央
処理回路により読み出しできるようになっている。This held address value can be read by a central processing circuit (not shown) via the 3-state buffer 33 and the data bus.
しかしながら、上述したようなデータ伝送システムにお
いては、次のような問題がある。However, the data transmission system as described above has the following problems.
すなわち、1対N方式のデータ伝送システムにおける親
局は、各々の子局に対して順次ポーリング呼び出しを行
ない、データを収集する局であるため、常時頻繁にデー
タの送受信を行なっている状態にある。従って、複数の
子局に同時に異常状態が発生した場合、あるいは親局と
子局とを結ぶ伝送路の異常状態の発生によってポーリン
グ呼び出しに対する応答が正しく返ってこず、フレーム
チエ、ツクコード判定回路25で連続して受信フレーム
異常が検出されたような場合には、中央処理回路に対し
て続けざまに割り込み要求信号INTが出力される状態
となる。その結果、中央処理回路では叉常処理に掛かり
っきりとなり、通常の処理動作が停止してしまうという
問題がある。In other words, the master station in a 1-to-N data transmission system is a station that sequentially makes polling calls to each slave station and collects data, so it is constantly transmitting and receiving data. . Therefore, if an abnormal state occurs in multiple slave stations at the same time, or if an abnormal state occurs in the transmission path connecting the master station and the slave stations, a response to a polling call may not be returned correctly, and the frame check/tsuku code determination circuit 25 may In a case where received frame abnormalities are detected continuously, a state is reached in which interrupt request signals INT are outputted to the central processing circuit one after another. As a result, there is a problem in that the central processing circuit becomes busy with routine processing, and normal processing operations stop.
また、異常状態がどの子局に発生したのかを把握するた
めに、子局に異常状態が発生した場合にその局アドレス
値を保持しているが、この場合例えばアドレス16ビツ
トとすると、それを保持するレジスタも16ビツト分だ
け必要となり、結果的にレジスタ長が増加してしまうと
いう問題がある。In addition, in order to understand in which slave station an abnormal condition has occurred, the station address value is held when an abnormal condition occurs in a slave station. In this case, for example, if the address is 16 bits, A register for holding 16 bits is also required, resulting in a problem that the register length increases.
(発明が解決しようとする課題)
以上のように、従来の1対N方式のデータ伝送システム
では、同時にあるいは連続して異常状態が発生した場合
に、親局の中央処理回路の通常処理動作が停止してしま
ったり、また異常状態を把握するためにレジスタ長が増
加してしまうという問題があった。(Problems to be Solved by the Invention) As described above, in the conventional 1-to-N data transmission system, when abnormal conditions occur simultaneously or consecutively, the normal processing operation of the central processing circuit of the master station is interrupted. There have been problems in that the register length has to be increased in order to detect abnormal conditions.
本発明の目的は、同時にあるいは連続してシステムに異
常状態が発生した場合でも、割り込み要求の多発によっ
て親局の中央処理回路の通常処理動作が停止するのを確
実に防止することができ、またレジスタ長の増加を抑制
しつつ異常状態がどの子局に発生したのかを把握するこ
とが可能な極めて信頼性の高いデータ伝送システムを提
供することにある。An object of the present invention is to reliably prevent the normal processing operation of the central processing circuit of a master station from stopping due to frequent interrupt requests even when abnormal states occur in the system simultaneously or consecutively; It is an object of the present invention to provide an extremely reliable data transmission system capable of grasping which slave station an abnormal state has occurred while suppressing an increase in register length.
[発明の構成]
(課題を解決するための手段)
上記の目的を達成するために本発明では、一つの親局か
ら複数(N)の子局に対して順次ポーリング呼出しを行
ない、データを収集するようにした1対N方式のデータ
伝送システムにおいて、システムに異常状態が発生する
と、その時点での異常情報を保持する第1のエラー保持
手段と、全ての子局に対するポーリング呼出しが終了し
たことを示す一巡終了信号に同期して、第1のエラー保
持手段の異常情報をラッチして保持する第2のエラー保
持手段と、必要に応じて、異常状態が発生すると、その
時点で異常状態が発生した子局のポーリング順を示すカ
ウンタ値を保持するカウンタ値保持手段とを、親局側に
備え、第2のエラー保持手段に異常情報がラッチされた
時点で親局の中央処理回路に対して割り込み要求信号を
出力するようにし、また必要に応じて、第2のエラー保
持手段の異常情報およびカウンタ値保持手段のカウンタ
値を中央処理回路により読み出すようにしている。[Structure of the Invention] (Means for Solving the Problem) In order to achieve the above object, the present invention collects data by sequentially making polling calls from one master station to a plurality of (N) slave stations. In a 1-to-N data transmission system, when an abnormal state occurs in the system, the first error holding means that holds the abnormality information at that time and the polling call to all slave stations are terminated. A second error holding means latches and holds the abnormality information of the first error holding means in synchronization with a cycle completion signal indicating the first error holding means, and a second error holding means latches and holds the abnormality information of the first error holding means. The master station is equipped with a counter value holding means for holding a counter value indicating the polling order of the slave stations in which the error has occurred, and when the error information is latched in the second error holding means, the error information is sent to the central processing circuit of the master station. The error information in the second error holding means and the counter value in the counter value holding means are read out by the central processing circuit as necessary.
(作用)
従って、本発明のデータ伝送システムにおいては、同時
にあるいは連続してシステムに異常状態が発生した場合
でも、その時点での異常情報が一旦第1のエラー保持手
段に蓄えられ、全ての子局に対するポーリング呼出しが
一巡終了した時点で、第1のエラー保持手段に蓄えてい
た異常情報が第2のエラー保持手段でラッチされて、親
局の中央処理回路に対する割り込み要求信号が出力され
ることにより、割り込み要求の多発によって中央処理回
路が異常処理に掛かりっきりとなり、通常の処理動作が
停止するのを回避することができる。(Function) Therefore, in the data transmission system of the present invention, even if an abnormal state occurs in the system simultaneously or consecutively, the abnormality information at that time is temporarily stored in the first error holding means, and all children When one cycle of polling calls to the station is completed, the abnormality information stored in the first error holding means is latched by the second error holding means, and an interrupt request signal to the central processing circuit of the master station is output. This makes it possible to avoid the central processing circuit being busy with abnormal processing due to frequent interrupt requests, and stopping normal processing operations.
また、異常状態が発生した時点で子局のポーリング順を
示すカウンタ値がカウンタ値保持手段に蓄えられ、全て
の子局に対するポーリング呼出しが一巡終了した時点で
、カウンタ値保持手段に蓄えていたカウンタ値が中央処
理回路にて読み出されることにより、異常状態が発生し
た子局のアドレス値まで蓄える必要がなく、レジスタ長
の増加を抑えつつ異常状態がどの子局に発生したのかを
把握することができる。Furthermore, when an abnormal condition occurs, a counter value indicating the polling order of the slave stations is stored in the counter value holding means, and when a round of polling calls for all slave stations is completed, the counter value stored in the counter value holding means is stored in the counter value holding means. Since the value is read by the central processing circuit, there is no need to store the address value of the slave station where the abnormal condition has occurred, and it is possible to grasp which slave station the abnormal condition has occurred in while suppressing the increase in register length. can.
(実施例)
以下、本発明の一実施例について図面を参照して説明す
る。(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.
第1図は、本発明によるl対N方式のデータ伝送システ
ムの親局側に備えられるデータ伝送装置における割り込
み処理回路の構成例を示すブロック図である。なお、子
局側に備えられるデータ伝送装置の構成は第2図に示し
たものと同様であり、親局側に備えられるデータ伝送装
置の構成は第2図に示したものにおける割り込み処理回
路27のみが第1図の構成を有するものである。また、
本実施例では、エラー検出項目をM種類、子局数をNと
している。FIG. 1 is a block diagram showing an example of the configuration of an interrupt processing circuit in a data transmission device provided on the master station side of an l-to-N data transmission system according to the present invention. The configuration of the data transmission device provided on the slave station side is the same as that shown in FIG. 2, and the configuration of the data transmission device provided on the master station side is the same as the interrupt processing circuit 27 in the one shown in FIG. Only one has the configuration shown in FIG. Also,
In this embodiment, there are M types of error detection items and N number of slave stations.
第1図において、本実施例の割り込み処理回路は、第1
のエラー保持回路11と、第2のエラー保持回路12と
、OR回路13と、3−ステートバッファ14と、デコ
ーダ15と、OR回路16と、カウンタ値保持手段であ
るN個のJ−にフリップフロップ171〜17Nと、3
−ステートバッファ18とから構成している。In FIG. 1, the interrupt processing circuit of this embodiment has a first
The error holding circuit 11, the second error holding circuit 12, the OR circuit 13, the 3-state buffer 14, the decoder 15, the OR circuit 16, and N J- flip-flop circuits serving as counter value holding means. 171-17N and 3
- state buffer 18.
ここで、第1のエラー保持回路11は、複数(M)のエ
ラーステータス信号1a1〜1aMを入力とし、システ
ムに異常状態が発生するとその時点での異常情報を保持
するものである。また、第2のエラー保持回路12は、
第1のエラー保持回路11の異常情報をラッチして保持
するものであり、−巡終了信号1bの入力に同期して、
OR回路13を介し図示しない中央処理回路に対して割
り込み要求信号INTを出力すると共に、第2のエラー
保持回路12の異常情報を3−ステートバッファ14、
データバスを介して中央処理回路により読み出すように
している。Here, the first error holding circuit 11 receives a plurality (M) of error status signals 1a1 to 1aM as input, and when an abnormal state occurs in the system, it holds abnormality information at that time. Further, the second error holding circuit 12 is
It latches and holds the abnormality information of the first error holding circuit 11, and synchronizes with the input of the -cycle end signal 1b.
An interrupt request signal INT is output to a central processing circuit (not shown) via an OR circuit 13, and abnormality information of the second error holding circuit 12 is sent to a 3-state buffer 14,
It is read out by the central processing circuit via the data bus.
一方、デコーダ15は、前記送受信制御回路22内にあ
るカウンタからの局カウンタ値を入力とし、これをデコ
ードして各子局に対するN個の信号IC1〜lcNに分
割するものである。また、OR回路16は、上記エラー
ステータス信号lal〜1aMを入力とし、これらの論
理和をとって出力するものである。さらに、J−にフリ
ッププロップ171〜17Nは、デコーダ15からの出
力信号IC1〜1cNをそれぞれJ端子入力とすると共
に、OR回路16からの出力信号をCK端子入力として
保持するものであり、この保持情報である局カウンタ値
を3−ステートバッファ18、データバスを介して図示
しない中央処理回路により読み出すようにしている。On the other hand, the decoder 15 receives as input the station counter value from the counter in the transmission/reception control circuit 22, decodes it, and divides it into N signals IC1 to lcN for each slave station. Further, the OR circuit 16 inputs the error status signals lal to 1aM, calculates the logical sum of these signals, and outputs the result. Furthermore, the flip-flops 171 to 17N on J- input the output signals IC1 to 1cN from the decoder 15 to the J terminal, respectively, and hold the output signal from the OR circuit 16 as the CK terminal input. The station counter value, which is information, is read out by a central processing circuit (not shown) via the 3-state buffer 18 and the data bus.
この場合、エラーステータス信号1a1〜1aMは、前
記フレームチエツクコード判定回路25での受信フレー
ム判定結果、および各回路の自己診断結果をそれぞれ示
す情報信号である。また、−巡終了信号1bは、全ての
子局に対するポーリング呼出しが終了したことを示す信
号である。In this case, the error status signals 1a1 to 1aM are information signals indicating the received frame judgment result in the frame check code judgment circuit 25 and the self-diagnosis result of each circuit, respectively. Furthermore, the round completion signal 1b is a signal indicating that polling calls to all slave stations have been completed.
さらに、局カウンタ値は、現在子局の何番目をポーリン
グしているかを示すカウンターの値である。Further, the station counter value is a counter value indicating which slave station is currently being polled.
次に、以上のように構成した1対N方式のデータ伝送シ
ステムの作用について説明する。Next, the operation of the one-to-N data transmission system configured as described above will be explained.
第1図において、いま第1局目のポーリング呼び出し中
にエラー3が発生したとすると、エラーステータス1a
3が立ち、この異常状態が第1のエラー保持回路11に
保持されると同時に、現在の局カウンタ値“1”がデコ
ーダ15でデコードされた信号1c1が、J−にフリッ
プフロップ171で保持される。次に、第3属目のポー
リング呼び出し中にエラー1が発生したとすると、エラ
ーステータスlalが立ち、この異常状態が第1のエラ
ー保持回路11に保持されると同時に、現在の局カウン
タ値がデコーダ15でデコードされた信号1c3が、J
−にフリップフロップ173で保持される。このように
して、N個の全ての子局に対するポーリング呼び出しが
終了するまでの間のエラー情報およびエラー局番号が、
第1のエラー保持回路11およびJ−にフリップフロッ
プ171〜17Nに保持される。In FIG. 1, if error 3 occurs during the polling call of the first station, error status 1a
3 is set, and this abnormal state is held in the first error holding circuit 11, and at the same time, the signal 1c1, which is the current station counter value "1" decoded by the decoder 15, is held in the flip-flop 171 at J-. Ru. Next, if error 1 occurs during the polling call for the third attribute, the error status lal is set, and this abnormal state is held in the first error holding circuit 11, and at the same time the current station counter value is The signal 1c3 decoded by the decoder 15 is
− is held by a flip-flop 173. In this way, error information and error station numbers until the polling call for all N slave stations is completed are as follows:
It is held in the first error holding circuit 11 and J- flip-flops 171 to 17N.
そして、N個の全ての子局に対するポーリング呼び出し
が終了すると、その旨を示す一巡修了信号1bが立ち、
これに同期して第1のエラー保持回路11の異常状態が
第2のエラー保持回路12に保持される。この時同時に
、OR回路13を介して図示しない中央処理回路に割り
込み要求信号INTが出力されることになる。また、第
2のエラー保持回路12の異常情報が、3−ステートバ
ッファ14、データバスを介して中央処理回路により読
み出されると共に、J−にフリップフロップ171〜1
7Nの保持情報である局カウンタ値が、3−ステートバ
ッファ18、データバスを介して中央処理回路により読
み出される。When the polling calls to all N slave stations are completed, a round completion signal 1b indicating this is set.
In synchronization with this, the abnormal state of the first error holding circuit 11 is held in the second error holding circuit 12. At the same time, an interrupt request signal INT is outputted via the OR circuit 13 to a central processing circuit (not shown). Also, the abnormality information of the second error holding circuit 12 is read out by the central processing circuit via the 3-state buffer 14 and the data bus, and is also sent to the flip-flops 171 to 1 in J-.
The station counter value, which is the 7N held information, is read out by the central processing circuit via the 3-state buffer 18 and the data bus.
上述したように、本実施例の1対N方式のデータ伝送シ
ステムでは、システムに異常状態が発生した時点での異
常情報(エラー情報)を−旦第1のエラー保持回路11
に保持し、全ての子局に対するポーリング呼出しが一巡
終了した時点で、第1のエラー保持回路11に保持され
ていた異常情報を第2のエラー保持回路12でラッチし
て、親局の中央処理回路に対する割り込み要求信号IN
Tを出力するようにしているので、従来のように割り込
み要求信号の多発によって中央処理回路が異常処理に掛
かりっきりとなり、中央処理回路の通常処理動作が停止
してしまうのを確実に回避することが可能となる。また
、従来では局アドレス値を保存していたものを、異常状
態が発生した時点で子局のポーリング類を示すカウンタ
値をJ−にフリップフロップ171〜17Nに保持(各
子局に対応するフラグを立てて保持)し、全ての子局に
対するポーリング呼出しが一巡終了した時点で、を中央
処理回路にて読み出すようにしているので、異常状態が
発生した子局のアドレス値まで蓄える必要がなく、レジ
スタ長の増加を抑えつつ異常状態がどの子局に発生した
のかを把握することが可能となる。すなわち、1対N方
式のデータ伝送システムの親局では、ポーリング呼び出
しを行なう順番を全て親局が管理していることから、異
常状態の発生した子局の順番さえわかれば、従来のよう
に詳細な局アドレス値まで保持する必要がないためであ
る。As described above, in the 1-to-N data transmission system of this embodiment, the abnormality information (error information) at the time when an abnormal state occurs in the system is stored in the first error holding circuit 11.
When the polling calls to all slave stations have completed one round, the error information held in the first error holding circuit 11 is latched in the second error holding circuit 12, and the central processing of the master station is performed. Interrupt request signal IN for the circuit
Since T is output, it is possible to reliably prevent the central processing circuit from being busy with abnormal processing due to the frequent occurrence of interrupt request signals and stopping the normal processing operation of the central processing circuit, which is the case in the past. becomes possible. In addition, in the past, the station address value was stored, but when an abnormal condition occurs, the counter value indicating the polling type of the slave station is stored in flip-flops 171 to 17N in J- (the flag corresponding to each slave station is stored). is set and held), and then read out by the central processing circuit when the polling calls to all slave stations have completed one cycle, so there is no need to store the address value of the slave station where an abnormal condition has occurred. It becomes possible to grasp in which slave station an abnormal state has occurred while suppressing an increase in register length. In other words, in a 1-to-N data transmission system, the master station controls the order in which polling calls are made, so as long as the order of the slave stations in which an abnormal condition occurs is known, it is possible to make detailed calls as before. This is because there is no need to hold up to the station address value.
[発明の効果]
以上説明したように本発明によれば、同時にあるいは連
続してシステムに異常状態が発生した場合でも、割り込
み要求の多発によって親局の中央処理回路の通常処理動
作が停止するのを確実に防止することができ、またレジ
スタ長の増加を抑制しつつ異常状態がどの子局に発生し
たのかを把握することが可能な極めて信頼性の高いデー
タ伝送システムが提供できる。[Effects of the Invention] As explained above, according to the present invention, even if an abnormal state occurs in the system simultaneously or consecutively, the normal processing operation of the central processing circuit of the master station can be prevented from being stopped due to frequent interrupt requests. It is possible to provide an extremely reliable data transmission system that can reliably prevent the occurrence of abnormal conditions, and can determine which slave station has experienced an abnormal state while suppressing an increase in register length.
第1図は本発明による1対N方式のデータ伝送システム
の親局側に備えられるデータ伝送装置における割り込み
処理回路の構成例を示すブロック図、第2図は1対N方
式の、データ伝送システムにおける親局および子局に備
えられるデータ伝送装置のデータ伝送に関する部分の八
−ド構成例を示すブロック図、第3図は第2図における
従来の割り込み処理回路の構成例を示すブロック図であ
る。
11・・・第1のエラー保持回路、12・・・第2のエ
ラー保持回路、13・・・OR回路、14・・・3−ス
テートバッファ、15・・・デコーダ、16・・・OR
回路、171〜17N・・・J−にフリップフロップ、
18・・・3−ステートバッファ。FIG. 1 is a block diagram showing a configuration example of an interrupt processing circuit in a data transmission device provided on the master station side of a 1-to-N data transmission system according to the present invention, and FIG. 2 is a 1-to-N data transmission system. FIG. 3 is a block diagram showing an example of the structure of the conventional interrupt processing circuit shown in FIG. 2. FIG. . DESCRIPTION OF SYMBOLS 11... First error holding circuit, 12... Second error holding circuit, 13... OR circuit, 14... 3-state buffer, 15... Decoder, 16... OR
Circuit, 171-17N...Flip-flop on J-,
18...3-state buffer.
Claims (2)
ーリング呼出しを行ない、データを収集するようにした
1対N方式のデータ伝送システムにおいて、 システムに異常状態が発生すると、その時点での異常情
報を保持する第1のエラー保持手段と、前記全ての子局
に対するポーリング呼出しが終了したことを示す一巡終
了信号に同期して、前記第1のエラー保持手段の異常情
報をラッチして保持する第2のエラー保持手段とを、前
記親局側に備え、 前記第2のエラー保持手段に異常情報がラッチされた時
点で前記親局の中央処理回路に対して割り込み要求信号
を出力するようにしたことを特徴とするデータ伝送シス
テム。(1) In a 1-to-N data transmission system in which a single master station makes polling calls to multiple (N) slave stations in order to collect data, if an abnormal state occurs in the system, the a first error holding means that holds abnormality information at the time; and latching the abnormality information of the first error holding means in synchronization with a round completion signal indicating that polling calls to all the slave stations have been completed. and second error holding means for holding the error information on the master station side, and transmitting an interrupt request signal to the central processing circuit of the master station at the time when the abnormality information is latched in the second error holding means. A data transmission system characterized by outputting data.
ーリング呼出しを行ない、データを収集するようにした
1対N方式のデータ伝送システムにおいて、 システムに異常状態が発生すると、その時点での異常情
報を保持する第1のエラー保持手段と、前記全ての子局
に対するポーリング呼出しが終了したことを示す一巡終
了信号に同期して、前記第1のエラー保持手段の異常情
報をラッチして保持する第2のエラー保持手段と、前記
異常状態が発生すると、その時点で異常状態が発生した
子局のポーリング順を示すカウンタ値を保持するカウン
タ値保持手段とを、前記親局側に備え、 前記第2のエラー保持手段に異常情報がラッチされた時
点で前記親局の中央処理回路に対して割り込み要求信号
を出力すると共に、前記第2のエラー保持手段の異常情
報および前記カウンタ値保持手段のカウンタ値を前記中
央処理回路により読み出すようにしたことを特徴とする
データ伝送システム。(2) In a 1-to-N data transmission system in which a single master station makes polling calls to multiple (N) slave stations in order to collect data, if an abnormal state occurs in the system, the a first error holding means that holds abnormality information at the time; and latching the abnormality information of the first error holding means in synchronization with a round completion signal indicating that polling calls to all the slave stations have been completed. and a counter value holding means for holding a counter value indicating the polling order of the slave station in which the abnormal state has occurred at that time when the abnormal state occurs, on the master station side. In preparation for this, when the abnormality information is latched in the second error holding means, an interrupt request signal is output to the central processing circuit of the master station, and the abnormality information of the second error holding means and the counter A data transmission system characterized in that the counter value of the value holding means is read out by the central processing circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP31897889A JPH03181294A (en) | 1989-12-11 | 1989-12-11 | Data transmission system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP31897889A JPH03181294A (en) | 1989-12-11 | 1989-12-11 | Data transmission system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03181294A true JPH03181294A (en) | 1991-08-07 |
Family
ID=18105123
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP31897889A Pending JPH03181294A (en) | 1989-12-11 | 1989-12-11 | Data transmission system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03181294A (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61281699A (en) * | 1985-06-06 | 1986-12-12 | Nec Corp | Tele-meter central station device |
-
1989
- 1989-12-11 JP JP31897889A patent/JPH03181294A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61281699A (en) * | 1985-06-06 | 1986-12-12 | Nec Corp | Tele-meter central station device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3138484B2 (en) | Communication method for communicating via a network and station thereof | |
| JPH0247143B2 (en) | ||
| EP0194673B1 (en) | Multiplex transmission system | |
| CA1228168A (en) | I/o scanner for an industrial control | |
| US5155839A (en) | Apparatus using in undifferentiated strobe output to interface either of two incompatible memory access signal types to a memory | |
| JP3516451B2 (en) | Communication bus systems and stations used in such systems | |
| US6125454A (en) | Method for reliably transmitting information on a bus | |
| JPH03181294A (en) | Data transmission system | |
| JPS6072351A (en) | Method for supervising operating condition of packet communication system | |
| CN1113397A (en) | Communication bus system with mitigation of slave station locking problem | |
| SU1072052A1 (en) | Check device | |
| JPS6010940A (en) | Data transmission equipment | |
| JPH03201845A (en) | Abnormality generating position detector for serial controller | |
| KR930006863B1 (en) | Data receiving bus monitoring circuit | |
| JPS59195736A (en) | Communication controller | |
| JPH0324601A (en) | Control method | |
| KR930006894B1 (en) | Signal terminal group matching circuit | |
| JPH03189837A (en) | Fault informing method | |
| JPH0454747A (en) | Data transfer system | |
| JPH0583212A (en) | Line monitoring system | |
| JPS6286942A (en) | Data anomaly detection method | |
| JPH0225586B2 (en) | ||
| JPS63179642A (en) | Line monitoring method | |
| JPH04115640A (en) | Signal transmitting system | |
| JPH09219746A (en) | Failure notification method in control system |