JPWO2013150602A1 - Transmission error detection method and slave station terminal used for that method - Google Patents

Transmission error detection method and slave station terminal used for that method Download PDF

Info

Publication number
JPWO2013150602A1
JPWO2013150602A1 JP2012533176A JP2012533176A JPWO2013150602A1 JP WO2013150602 A1 JPWO2013150602 A1 JP WO2013150602A1 JP 2012533176 A JP2012533176 A JP 2012533176A JP 2012533176 A JP2012533176 A JP 2012533176A JP WO2013150602 A1 JPWO2013150602 A1 JP WO2013150602A1
Authority
JP
Japan
Prior art keywords
data
transmission
management
signal
control
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
JP2012533176A
Other languages
Japanese (ja)
Inventor
憲治 錦戸
憲治 錦戸
洋一 星
洋一 星
Original Assignee
株式会社 エニイワイヤ
株式会社 エニイワイヤ
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 株式会社 エニイワイヤ, 株式会社 エニイワイヤ filed Critical 株式会社 エニイワイヤ
Priority to JP2012533176A priority Critical patent/JPWO2013150602A1/en
Publication of JPWO2013150602A1 publication Critical patent/JPWO2013150602A1/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

【課題】単一の制御部に接続された親局と、複数の被制御装置に対応する複数の子局を、伝送クロックで同期させ共通のデータ信号線を介しデータの伝送を行う伝送同期方式を採用した制御・監視信号伝送システムにおいて、伝送データのエラーを正確に検出することができる伝送エラー検出方式とその方式に使用する子局ターミナルを提供する。【解決手段】親局から共通データ信号線に出力される一連のパルス状信号に、制御データ信号のデータと監視データ信号のデータとで構成される制御・監視データ領域と異なる、複数のパルス状信号で構成される管理データ領域を設ける。そして、伝送データの複数のエラー検出結果に基づいて、正常状態を示すデータまたは伝送異常警報を示すデータを構成する信号を前記管理データ領域に重畳する。【選択図】 図1A transmission synchronization method for synchronizing a master station connected to a single control unit and a plurality of slave stations corresponding to a plurality of controlled devices with a transmission clock to transmit data via a common data signal line In a control / monitor signal transmission system adopting the above, a transmission error detection method capable of accurately detecting an error in transmission data and a slave station terminal used for the method are provided. A series of pulse signals output from a master station to a common data signal line include a plurality of pulse signals different from a control / monitor data area composed of control data signal data and monitor data signal data. A management data area composed of signals is provided. Based on a plurality of error detection results of the transmission data, a signal constituting data indicating a normal state or data indicating a transmission abnormality alarm is superimposed on the management data area. [Selection] Figure 1

Description

本発明は、制御部に接続された親局と複数の被制御装置に対応する複数の子局との間の信号線を省配線化し共通データ信号線で接続し、伝送クロックで同期させるなどの伝送同期方式によりデータの伝送を行う制御・監視信号伝送システムにおいて、子局における伝送エラーを検出する伝送エラー検出方式およびその方式に使用する子局ターミナルに関するものである。   The present invention reduces the number of signal lines between a master station connected to a control unit and a plurality of slave stations corresponding to a plurality of controlled devices, connects them with a common data signal line, and synchronizes them with a transmission clock. The present invention relates to a transmission error detection method for detecting a transmission error in a slave station and a slave station terminal used for the method in a control / monitor signal transmission system that transmits data by a transmission synchronization method.

制御部と、複数の被制御装置を備える制御システムにおいて、配線の数を減らす、所謂省配線化が広く実施されている。そして、その省配線化の一般的な手法として、複数の被制御装置から延出される信号線の各々を制御部に直接繋ぐパラレル接続に代えて、パラレル信号とシリアル信号の変換機能を備えた親局と複数の子局を、制御部と被制御装置にそれぞれ接続し、親局と複数の子局との間で共通データ信号線を介してシリアル信号によりデータ授受を行う方式が広く採用されている。   In a control system including a control unit and a plurality of controlled devices, so-called wiring saving, which reduces the number of wirings, is widely implemented. Then, as a general technique for reducing the wiring, instead of a parallel connection that directly connects each of the signal lines extending from a plurality of controlled devices to the control unit, a parent device having a conversion function of a parallel signal and a serial signal is provided. A method is widely adopted in which a station and a plurality of slave stations are connected to a control unit and a controlled device, respectively, and data is transferred between the master station and the plurality of slave stations via a common data signal line using a serial signal. Yes.

省配線化が実現された場合、多数の子局が接続されている状態において、子局における伝送データの異常を制御部側で特定することができない場合、制御部から遠く離れている子局を各々チェックする必要があり、子局における伝送データの異常の検出に多くの工数を要することになる。   When wiring saving is realized, in the state where many slave stations are connected, if it is not possible to identify abnormal transmission data in the slave station on the control unit side, each slave station far away from the control unit It is necessary to check, and it takes a lot of man-hours to detect abnormalities in transmission data in the slave station.

そこで、本出願人は、子局における伝送データの異常を、制御部側で特定するためのシステムとして、特開2011−114449号公報に開示されているリモート配線チェックシステムを応用することを検討している。このリモート配線チェックシステムでは、単一の制御部と複数の被制御装置を備えた制御・監視信号伝送システムにおいて、省配線化されたデータ信号線で接続されている親局と子局との間で双方向同時に伝送される制御データ(出力データ)と監視データ(入力データ)とで構成される制御・監視データ領域と異なる、配線状態を示す接続データを含む管理データ領域を設けている。そして、接続データにおいて、短絡情報、断線情報および正常情報が識別されるものとなっている。そのため、信号の入力データ(監視データ)容量を減らすことなく、子局の配線接続状態を容易に確認することができる。   Therefore, the present applicant has considered applying the remote wiring check system disclosed in Japanese Patent Application Laid-Open No. 2011-114449 as a system for identifying an abnormality in transmission data in the slave station on the control unit side. ing. In this remote wiring check system, in a control / monitor signal transmission system having a single control unit and a plurality of controlled devices, between a master station and a slave station connected by a reduced data signal line. A management data area including connection data indicating a wiring state is provided, which is different from a control / monitor data area composed of control data (output data) and monitoring data (input data) transmitted in both directions simultaneously. In the connection data, short-circuit information, disconnection information, and normal information are identified. Therefore, it is possible to easily check the wiring connection state of the slave station without reducing the input data (monitoring data) capacity of the signal.

また、特開平6−296292号公報には、伝送エラー検出回路8が、受信したシリアル信号RCVのパリティチェックビットによってパリティエラーの有無を検査して、パリティエラーを検出する技術が開示されているが、検出したエラーを親局に通知することに関しては何ら開示されていない。一方で特開平10−107775号公報には、伝送エラーを検出した場合にエラー検出を通知する技術が開示されている。   Japanese Patent Laid-Open No. 6-296292 discloses a technique in which the transmission error detection circuit 8 detects a parity error by checking the presence or absence of a parity error using the parity check bit of the received serial signal RCV. No information is disclosed regarding notifying the detected error to the master station. On the other hand, Japanese Patent Application Laid-Open No. 10-107775 discloses a technique for notifying error detection when a transmission error is detected.

特開2011−114449号公報JP 2011-114449 A 特開平6−296292号公報JP-A-6-296292 特開平10−107775号公報JP-A-10-107775

しかしながら、特開平10−107775号公報は、親局と子局同士で個々の伝送データの異常情報を直接、授受するコマンド伝送方式を想定しており、この方式では、個々の異常情報データ領域の容量が大きくなり、また異常情報データ領域の個数が多くなると、制御データ(出力データ)と監視データ(入力データ)とで構成される制御・監視データ領域の伝送速度に影響してくるという問題がある。また、該コマンド方式では、図9(a)に示すように、フレームには一方向のみのデータ(親局から子局、または子局から親局)が含まれることになる。この方式では、親局は、伝送ライン上に配置される複数の子局に関するデータを同時に取得することは不可能となる。このため、図9(b)に示すように親局が複数の子局との間で同時にデータのやり取りをする伝送同期方式のデータ伝送には用いることはできなかった。これに対して、本出願人は、該伝送同期方式によりデータの伝送が行なわれる制御・監視信号伝送システムにおいて、制御・監視データ領域と異なる、配線状態を示す接続データを含む管理データ領域を設けている。この方式を用いて子局における伝送データの異常を検出し、親局側で伝送データの異常をモニタするためには、各子局において、配線状態を示す接続データおよび伝送エラーの異常発生状況を把握する必要がある。   However, Japanese Patent Application Laid-Open No. 10-107775 assumes a command transmission system in which abnormality information of individual transmission data is directly exchanged between a master station and a slave station. If the capacity increases and the number of abnormal information data areas increases, the transmission speed of the control / monitor data area composed of control data (output data) and monitor data (input data) will be affected. is there. In the command method, as shown in FIG. 9A, the frame includes data in only one direction (from the master station to the slave station or from the slave station to the master station). In this method, the master station cannot simultaneously acquire data related to a plurality of slave stations arranged on the transmission line. For this reason, as shown in FIG. 9 (b), the master station cannot be used for data transmission in a transmission synchronous system in which data is exchanged with a plurality of slave stations at the same time. In contrast, the present applicant provides a management data area including connection data indicating a wiring state, which is different from the control / monitoring data area, in the control / monitoring signal transmission system in which data transmission is performed by the transmission synchronization method. ing. In order to detect transmission data abnormalities at the slave station using this method and monitor transmission data abnormalities at the master station side, the connection data indicating the wiring status and transmission error abnormality status at each slave station It is necessary to grasp.

そこで本発明は、親局と複数の子局が共通データ信号線で接続され、伝送周期方式によりデータの伝送が行われる制御・監視信号伝送システムにおいて、極めて簡易な構成で子局における伝送データの異常を親局側でモニタすることを可能とする伝送エラー検出方式とその方式に使用する子局ターミナルを提供することを目的とする。   Therefore, the present invention provides a control / monitoring signal transmission system in which a master station and a plurality of slave stations are connected by a common data signal line, and data is transmitted by a transmission cycle method. It is an object of the present invention to provide a transmission error detection method capable of monitoring an abnormality on the master station side and a slave station terminal used for the method.

本発明に係る伝送エラー検出方式では、親局と複数の子局が共通データ信号線で接続され、伝送周期方式によりデータの伝送が行われる制御・監視信号伝送システムにおいて、前記共通データ信号線に伝送される伝送信号に、制御データ信号のデータと監視データ信号のデータとで構成される制御・監視データ領域と異なる管理データ領域を設け、前記子局は、伝送データの複数のエラー検出結果に基づいて、正常状態を示すデータまたは伝送異常警報を示すデータを構成する信号を前記管理データ領域に重畳する。   In the transmission error detection method according to the present invention, in a control / monitoring signal transmission system in which a master station and a plurality of slave stations are connected by a common data signal line and data is transmitted by a transmission cycle method, the common data signal line is connected to the common data signal line. The transmission signal to be transmitted is provided with a management data area different from the control / monitor data area composed of the data of the control data signal and the data of the monitor data signal, and the slave station generates a plurality of error detection results of the transmission data. Based on this, a signal constituting data indicating a normal state or data indicating a transmission abnormality alarm is superimposed on the management data area.

前記子局は、出力信号切り替え手段を備え、前記出力信号切り替え手段は、前記伝送データのエラーの発生回数に対応するデータと、前記正常状態を示すデータまたは前記伝送異常警報を示すデータとを切り替えて前記管理データ領域に重畳する。   The slave station includes output signal switching means, and the output signal switching means switches between data corresponding to the number of occurrences of errors in the transmission data and data indicating the normal state or data indicating the transmission abnormality alarm. Are superimposed on the management data area.

前記管理データ領域は、前記親局からのデータが重畳される管理制御データ領域と、前記子局からのデータが重畳される管理監視データ領域とで構成され、前記正常状態を示すデータまたは前記伝送異常警報の出力時において前記子局から前記管理監視データ領域に重畳されるデータを“0”以外のデータとし、前記親局において前記管理監視データ領域から抽出されたデータが“0”のとき、前記共通データ信号線の断線と判断してもよい。   The management data area includes a management control data area in which data from the master station is superimposed and a management monitoring data area in which data from the slave station is superimposed, and data indicating the normal state or the transmission When the abnormality alarm is output, the data superposed on the management monitoring data area from the slave station is data other than “0”, and when the data extracted from the management monitoring data area at the parent station is “0”, It may be determined that the common data signal line is disconnected.

前記子局は、伝送データのエラーの発生回数の積算値が第一閾値を超えたときに、前記伝送異常警報を示すデータを構成する信号を前記管理データ領域に重畳する。   When the integrated value of the number of occurrences of transmission data errors exceeds a first threshold, the slave station superimposes a signal constituting data indicating the transmission abnormality alarm on the management data area.

前記子局は、所定時間当たりの伝送データのエラーの発生回数が第二閾値よりも大きいときに、前記伝送異常警報を示すデータを構成する信号を前記管理データ領域に重畳する。   The slave station superimposes a signal constituting data indicating the transmission abnormality alarm on the management data area when the number of transmission data errors per predetermined time is greater than a second threshold.

本発明に係る子局ターミナルは、親局が接続された共通データ信号線に接続され、前記共通データ信号線を介して伝送される伝送信号に、制御データ信号のデータと監視データ信号のデータとで構成される制御・監視データ領域と異なる管理データ領域に、前記親局で重畳された管理制御データを抽出する管理制御データ抽出手段と、前記管理データ領域に自局からの情報として管理監視データ信号を重畳する管理監視データ送信手段と、伝送データの複数のエラー検出結果に基づいて、正常状態を示すデータまたは伝送異常警報を示すデータを前記管理監視データ送信手段に引き渡す入力信号異常検出手段を備える。   A slave station terminal according to the present invention is connected to a common data signal line to which a master station is connected, and a transmission signal transmitted through the common data signal line includes a control data signal data and a monitoring data signal data. Management control data extracting means for extracting management control data superimposed on the master station in a management data area different from the control / monitoring data area composed of: management monitoring data as information from the own station in the management data area Management monitoring data transmitting means for superimposing a signal, and input signal abnormality detecting means for transferring data indicating a normal state or data indicating a transmission abnormality alarm to the management monitoring data transmitting means based on a plurality of error detection results of transmission data Prepare.

前記伝送エラー検出手段は、出力信号切り替え手段を備え、前記出力信号切り替え手段は、前記管理監視データ送信手段へ、前記伝送データのエラーの発生回数に対応するデータと、前記正常状態を示すデータまたは前記伝送異常警報を示すデータとを切り替えて出力してもよい。   The transmission error detection means includes output signal switching means, and the output signal switching means sends data corresponding to the number of occurrences of errors in the transmission data and data indicating the normal state to the management monitoring data transmission means. The data indicating the transmission abnormality alarm may be switched and output.

本発明に係る入力信号異常検出方式では、子局は、伝送データのエラーを検出し、複数の検出結果に基づいて、伝送異常警報を示すデータを構成する信号を管理データ領域に重畳させるため、伝送同期方式によりデータの伝送が行なわれる制御・監視信号伝送システムにおいて、親局側で子局における伝送データの異常を検出することができる。   In the input signal abnormality detection method according to the present invention, the slave station detects an error in transmission data, and superimposes a signal constituting data indicating a transmission abnormality alarm on the management data area based on a plurality of detection results. In a control / monitor signal transmission system in which data is transmitted by a transmission synchronization method, an abnormality of transmission data in a slave station can be detected on the master station side.

子局は、伝送データのエラーの発生回数の積算値が第一閾値を超えたときに、伝送異常警報を示すデータを構成する信号を管理データ領域に重畳するため、伝送データのエラーの発生回数が多くなると、伝送データのエラー発生が慢性的になってきた兆候を検出することができる。例えば、伝送ラインの送受信回路(例えばラインドライバ、伝送受信手段回路)の劣化によって生じる慢性的な伝送データの異常を検出することができる。   When the integrated value of the number of occurrences of transmission data errors exceeds the first threshold, the slave station superimposes a signal that constitutes data indicating a transmission abnormality alarm on the management data area. As the number increases, it is possible to detect signs that transmission data errors have become chronic. For example, it is possible to detect a chronic abnormality in transmission data caused by deterioration of a transmission line transmission / reception circuit (for example, a line driver or transmission reception means circuit).

子局は、所定時間当たりの伝送データのエラーの発生回数が第二閾値よりも大きいときに、伝送異常警報を示すデータを構成する信号を管理データ領域に重畳するため、伝送データのエラーの発生頻度が多いときに伝送データの異常を検出することができる。例えば、伝送データが外部ノイズの影響を受けて一時的にエラーになった場合に、その頻度が多ければ伝送データの異常として検出することができる。   When the number of occurrences of transmission data errors per predetermined time is greater than the second threshold, the slave station superimposes a signal constituting data indicating a transmission abnormality alarm on the management data area. Abnormalities in transmission data can be detected when the frequency is high. For example, when transmission data is temporarily affected by external noise and an error occurs, it can be detected as an abnormality in the transmission data if the frequency is high.

子局は、伝送データの異常を検出した場合には、管理データ領域に、正常状態を示すデータまたは伝送異常警報を示すデータを重畳した伝送信号を親局へ送信するようにした。これにより、親局側で子局における伝送データの異常を把握することができる。   When detecting an abnormality in the transmission data, the slave station transmits a transmission signal in which data indicating a normal state or data indicating a transmission abnormality alarm is superimposed on the management data area to the master station. Thereby, it is possible to grasp the abnormality of transmission data in the slave station on the master station side.

子局は、出力信号切り替え手段を備え、出力信号切り替え手段は、伝送データのエラーの発生回数に対応するデータと、伝送異常警報を示すデータとを切り替えて管理データ領域に重畳するようにしたので、伝送データのエラーの発生状況をモニタリングして、異常と判断された場合にのみ、親局に対して伝送データのエラーの発生回数に対応するデータと、伝送異常警報を示すデータとを切り替えて通知することが可能となる。   The slave station is provided with an output signal switching means, and the output signal switching means switches between data corresponding to the number of transmission data errors and data indicating a transmission abnormality alarm and superimposes them on the management data area. Monitor the transmission data error occurrence status, and switch to the master station data corresponding to the number of transmission data errors and data indicating a transmission abnormality alarm only when it is determined to be abnormal. Notification can be made.

更にまた、伝送データの異常検出時における子局から管理監視データ領域に重畳されるデータを“0”以外のデータとすれば、親局において管理監視データ領域から抽出されたデータが“0”のときは子局から出力された情報が共通データ信号線を介して親局へ伝送されない状態であるといえる。従って、そのときは、共通データ信号線の断線と判断することができ、子局における伝送データの異常と併せて共通データ信号線の断線も検出することが可能となる。   Further, if data other than “0” is superposed on the management monitoring data area from the slave station when the transmission data abnormality is detected, the data extracted from the management monitoring data area at the parent station is “0”. It can be said that the information output from the slave station is not transmitted to the master station via the common data signal line. Therefore, at that time, it can be determined that the common data signal line is disconnected, and the disconnection of the common data signal line can be detected together with the transmission data abnormality in the slave station.

また、本発明に係る子局ターミナルは、共通データ信号線を介して伝送される伝送信号に、制御データ信号のデータと監視データ信号のデータとで構成される制御・監視データ領域と異なる管理データ領域に、親局で重畳された管理制御データを抽出する管理制御データ抽出手段と、管理データ領域に自局からの情報として管理監視データ信号を重畳する管理監視データ送信手段と、伝送データのエラーを検出したときに、複数の検出結果に基づいて、伝送異常警報を示すデータを前記管理監視データ送信手段に引き渡す伝送エラー検出手段とを備えるため、本発明に係る伝送エラー検出方式に好適である。   Further, the slave station terminal according to the present invention includes a management signal different from a control / monitor data area composed of control data signal data and monitor data signal data in a transmission signal transmitted via a common data signal line. Management control data extracting means for extracting management control data superimposed on the master station in the area, management monitoring data transmitting means for superimposing the management monitoring data signal as information from the own station on the management data area, and transmission data error And a transmission error detection means for delivering data indicating a transmission abnormality alarm to the management monitoring data transmission means based on a plurality of detection results, and is suitable for the transmission error detection method according to the present invention. .

さらに、伝送エラー検出手段は、出力信号切り替え手段を備え、出力信号切り替え手段は、管理監視データ送信手段へ、伝送データのエラーの発生回数に対応するデータと、伝送異常警報を示すデータとを切り替えて出力するようにしたので、伝送データのエラーの発生状況をモニタリングして、異常と判断された場合にのみ、異常と判断された回数データを出力することが可能となる。   Further, the transmission error detection means includes an output signal switching means, and the output signal switching means switches data corresponding to the number of occurrences of transmission data error and data indicating a transmission abnormality alarm to the management monitoring data transmission means. Therefore, it is possible to monitor the state of occurrence of errors in transmission data and output data for the number of times determined to be abnormal only when it is determined to be abnormal.

本発明に係る伝送エラー検出方式を採用した制御・監視信号伝送システムの実施例における、親局と子局の間の伝送方式の模式図である。It is a schematic diagram of a transmission system between a master station and a slave station in an embodiment of a control / monitor signal transmission system employing a transmission error detection system according to the present invention. 同制御・監視信号伝送システムの概略構成を示すシステム構成図である。It is a system block diagram which shows schematic structure of the control and monitoring signal transmission system. 親局のシステム構成図である。It is a system configuration | structure figure of a master station. 入力子局のシステム構成図である。It is a system block diagram of an input slave station. 出力子局のシステム構成図である。It is a system block diagram of an output slave station. 伝送エラー検出手段のシステム構成図である。It is a system block diagram of a transmission error detection means. 伝送クロック信号のタイムチャート図である。It is a time chart figure of a transmission clock signal. 親局に記憶されるIDXアドレスデータテーブルの模式図である。It is a schematic diagram of an IDX address data table stored in the master station. コマンド方式と伝送同期方式のデータ伝送方法を模式的に示した図である。It is the figure which showed typically the data transmission method of a command system and a transmission synchronous system.

図1〜8を参照しながら、本発明に係る伝送エラー検出方式を採用した制御・監視信号伝送システムの実施例を説明する。
図2に示すように、この制御・監視信号伝送システムは、制御部1および共通データ信号線DP、DN(以下、伝送ラインということがある)に接続された単一の親局2と、前記共通データ信号線DP、DNに接続された入出力子局5、出力子局6および入力子局7の複数で構成される。なお、図2においては、図示の便宜上、各々の子局が一つずつ示されているが、共通データ信号線DP、DNに接続される子局の種類や数に制限は無い。
An embodiment of a control / monitor signal transmission system employing the transmission error detection method according to the present invention will be described with reference to FIGS.
As shown in FIG. 2, the control / monitor signal transmission system includes a single master station 2 connected to the control unit 1 and the common data signal lines DP and DN (hereinafter also referred to as transmission lines), It comprises a plurality of input / output slave stations 5, output slave stations 6 and input slave stations 7 connected to the common data signal lines DP and DN. In FIG. 2, for convenience of illustration, each slave station is shown one by one, but there is no limitation on the type and number of slave stations connected to the common data signal lines DP and DN.

入出力子局4、出力子局6および入力子局7は、制御部1の出力指示に応じて動作する出力部8に対する信号出力処理と、制御部1への入力情報を取り入れる入力部9からの入力信号処理のいずれかまたは双方を行うものである。なお、出力部8とは、例えば、アクチュエータ、(ステッピング)モータ、ソレノイド、電磁弁、リレー、サイリスタ、ランプ等であり、入力部9とは、例えば、リードスイッチ、マイクロスイッチ、押釦スイッチ、光電スイッチ、各種センサ等である。入出力子局4は、出力部8と入力部9で構成される被制御装置5に接続され、出力子局6は出力部8のみに接続され、入力子局7は入力部9にのみ接続されている。なお、出力子局6は出力部8を内包するもの(出力部一体型子局80)であってもよく、また、入力子局7は入力部9を内包するもの(入力部一体型子局90)であってもよい。   The input / output slave station 4, the output slave station 6, and the input slave station 7 are provided with a signal output process for the output unit 8 that operates in response to an output instruction from the control unit 1 and an input unit 9 that incorporates input information to the control unit 1. One or both of the input signal processing is performed. The output unit 8 is, for example, an actuator, a (stepping) motor, a solenoid, a solenoid valve, a relay, a thyristor, or a lamp. The input unit 9 is, for example, a reed switch, a micro switch, a push button switch, or a photoelectric switch. And various sensors. The input / output slave station 4 is connected to a controlled device 5 including an output unit 8 and an input unit 9, the output slave station 6 is connected only to the output unit 8, and the input slave station 7 is connected only to the input unit 9. Has been. The output slave station 6 may include an output unit 8 (output unit integrated slave station 80), and the input slave station 7 includes an input unit 9 (input unit integrated slave station). 90).

制御部1は、例えばプログラマブルコントローラ、コンピュータ等であり、制御データ13、および管理制御データ14を送出する出力ユニット11と、入出力子局4および入力子局7からの監視データ信号のデータ15および第一管理監視データ16と第二管理監視データ17を受け取る入力ユニット12を有する。そして、これら出力ユニット11と入力ユニット12が親局2に接続されている。また、入力ユニット12から受け取ったデータに基づいて、出力ユニット11から送出されるデータを算出する管理判断手段18を備えている。   The control unit 1 is, for example, a programmable controller, a computer, or the like, and includes an output unit 11 that sends out control data 13 and management control data 14, data 15 of monitoring data signals from the input / output slave station 4 and the input slave station 7, and The input unit 12 receives the first management monitoring data 16 and the second management monitoring data 17. These output unit 11 and input unit 12 are connected to the master station 2. In addition, management judging means 18 for calculating data transmitted from the output unit 11 based on data received from the input unit 12 is provided.

親局2は、図3に示すように、出力データ部21、管理データ部22、タイミング発生部23、親局出力部24、親局入力部25、および入力データ部26を備える。そして、共通データ信号線DP、DNに接続され、本発明の伝送信号に相当する一連のパルス状信号である制御データ信号(以下、伝送クロック信号というものとする)を共通データ信号線DP、DNに送出するとともに、入出力子局4、出力子局6、または入力子局7(以下、これら全てを指す場合は「子局4、6、7」という)から送出された監視データ信号、管理監視データ信号から抽出された監視データ15、第一管理監視データ16および第二管理監視データ17を制御部1の入力ユニット12へ送出する。   As shown in FIG. 3, the master station 2 includes an output data unit 21, a management data unit 22, a timing generation unit 23, a master station output unit 24, a master station input unit 25, and an input data unit 26. A control data signal (hereinafter referred to as a transmission clock signal) that is connected to the common data signal lines DP and DN and is a series of pulse signals corresponding to the transmission signal of the present invention is referred to as the common data signal lines DP and DN. Monitoring data signals transmitted from the input / output slave station 4, the output slave station 6, or the input slave station 7 (hereinafter referred to as "slave stations 4, 6, 7" when referring to all of these), The monitoring data 15, the first management monitoring data 16 and the second management monitoring data 17 extracted from the monitoring data signal are sent to the input unit 12 of the control unit 1.

出力データ部21は、制御部1の出力ユニット11から制御データ13として受けた並列データをシリアルデータとして親局出力部24へ引き渡す。   The output data unit 21 delivers the parallel data received as the control data 13 from the output unit 11 of the control unit 1 to the master station output unit 24 as serial data.

管理データ部22は、子局4、6、7の各々に関する情報を集約したIDXアドレステーブルを記憶する記憶手段29を備えている。IDXアドレステーブルとは、少なくとも、故障確認の対象となる出力部8または入力部9に対応する入出力子局4、出力子局6または入力子局7のいずれか一つを特定するためのデータを含むものであるが、この実施例では、子局4、6、7の先頭アドレスが用いられている。図7に、先頭アドレスを用いたIDXアドレステーブルの一例を示す。   The management data unit 22 includes storage means 29 that stores an IDX address table in which information related to each of the slave stations 4, 6, and 7 is aggregated. The IDX address table is data for specifying at least one of the input / output slave station 4, the output slave station 6, and the input slave station 7 corresponding to the output unit 8 or the input unit 9 to be checked for failure. In this embodiment, the head addresses of the slave stations 4, 6, and 7 are used. FIG. 7 shows an example of an IDX address table using the head address.

図8に示すように、#ad0のアドレスが付与された局は、監視データ信号のデータ値が1ビットであり、IDXアドレステーブルのデータは#ad0と#ad1が連続した値となる。一方、#ad1のアドレスが付与された局は、監視データ信号のデータ値が2ビットであるため、#ad2のパルスも#ad1と同じ局に割り当てられることになる。そのため、IDXアドレステーブルのデータは、#ad1の次の値として#ad3が記憶されることになる。なお、この実施例では、監視データ信号のデータ値が1ビットである場合であっても、すなわち#ad0も、#ad1と同様、先頭アドレスとされる。   As shown in FIG. 8, a station to which an address of # ad0 is assigned has a data value of the monitoring data signal of 1 bit, and the data in the IDX address table is a value in which # ad0 and # ad1 are continuous. On the other hand, since the data value of the monitoring data signal is 2 bits for the station to which the address of # ad1 is assigned, the pulse of # ad2 is also assigned to the same station as # ad1. Therefore, in the data of the IDX address table, # ad3 is stored as the next value of # ad1. In this embodiment, even if the data value of the monitoring data signal is 1 bit, that is, # ad0 is set to the head address as in # ad1.

タイミング発生部23は、発振回路(OSC)31とタイミング発生手段32からなり、OSC31を基にタイミング発生手段32が、このシステムのタイミングクロックを生成し親局出力部24に引き渡す。   The timing generation unit 23 includes an oscillation circuit (OSC) 31 and a timing generation unit 32. Based on the OSC 31, the timing generation unit 32 generates a timing clock of this system and delivers it to the master station output unit 24.

親局出力部24は、制御データ発生手段33とラインドライバ34からなる。制御データ発生手段33が、出力データ部21及び管理データ部22から受けたデータと、タイミング発生部23から受けたタイミングクロックに基づき、ラインドライバ34を介して共通データ信号線DP、DNに一連のパルス状信号として伝送クロック信号を送出する。   The master station output unit 24 includes control data generating means 33 and a line driver 34. Based on the data received from the output data unit 21 and the management data unit 22 and the timing clock received from the timing generation unit 23, the control data generation unit 33 applies a series of data to the common data signal lines DP and DN via the line driver 34. A transmission clock signal is transmitted as a pulse signal.

伝送クロック信号は、図1に示すように、スタート信号STに続く制御・監視データ領域と、更にこれに続く管理データ領域を有するものとなっている。制御・監視データ領域は、親局2から送出される制御データ信号のデータOUTn(nは整数)と入出力子局4または入力子局7から送出される監視データ信号のデータINn(nは整数)とで構成される。そして、伝送クロック信号のパルスは、図7に示すように、1周期の後半が高電位レベル(この実施例では+24V)と、前半が低電位レベル(この実施例では+12V)とされ、低電位レベルとなるパルス前半のパルス幅間隔が出力データ期間となり、同じく低電位レベルとなるパルス前半が入力データ期間ともなる。そして、低電位レベルのパルス幅間隔が制御データ信号のデータOUTnを、低電位レベルに重畳される電流の有無が監視データ信号のデータINnを表すものとなっている。この実施例では、伝送クロック信号の1周期をt0とした時、低電位レベルのパルス幅間隔は(1/4)t0から(3/4)t0まで拡張されるが、制御部1から入力される制御データ13の各データの値に応じたものであれば、その幅に制限はなく適宜に決めればよい。また、入力データ期間と出力データ期間も適宜に決めることができ、例えば、入力データ期間はこの実施例と同様にパルス前半(低電位レベル)とし、パルス後半(高電位レベル)のパルス幅間隔を出力データ期間としてもよく、逆に、出力データ期間をこの実施例と同様にパルス前半(低電位レベル)とし、パルス後半(高電位レベル)を入力データ期間としてもよい。更に、パルス後半(高電位レベル)を出力データ期間と入力データ期間を兼ねるものとしてもよい。伝送クロック信号の1周期の後半が低電位レベルとなる場合も同様である。なお、図1において、上段は制御データ(出力データ)期間を、下段は監視データ(入力データ)期間を示すものとなっている。   As shown in FIG. 1, the transmission clock signal has a control / monitoring data area following the start signal ST and a management data area following the control / monitoring data area. The control / monitoring data area includes control data signal data OUTn (n is an integer) sent from the master station 2 and monitor data signal data INn (n is an integer) sent from the input / output slave station 4 or the input slave station 7. ). As shown in FIG. 7, the pulse of the transmission clock signal has a high potential level (+ 24V in this embodiment) in the second half of one cycle and a low potential level (+ 12V in this embodiment) in the first half. The pulse width interval of the first half of the pulse that becomes the level becomes the output data period, and the first half of the pulse that becomes the low potential level also becomes the input data period. The pulse width interval of the low potential level represents the data OUTn of the control data signal, and the presence or absence of the current superimposed on the low potential level represents the data INn of the monitoring data signal. In this embodiment, when one cycle of the transmission clock signal is t0, the pulse width interval of the low potential level is extended from (1/4) t0 to (3/4) t0. As long as it corresponds to the value of each data of the control data 13, the width is not limited and may be determined appropriately. Also, the input data period and the output data period can be appropriately determined. For example, the input data period is set to the first half of the pulse (low potential level) as in this embodiment, and the pulse width interval of the second half of the pulse (high potential level) is set. Alternatively, the output data period may be the first half of the pulse (low potential level) and the second half of the pulse (high potential level) may be the input data period as in this embodiment. Further, the latter half of the pulse (high potential level) may serve as both the output data period and the input data period. The same applies to the case where the second half of one cycle of the transmission clock signal is at a low potential level. In FIG. 1, the upper part shows a control data (output data) period, and the lower part shows a monitoring data (input data) period.

伝送クロック信号の管理データ領域は、親局2から送出される管理制御データ信号が重畳される管理制御データ領域と、子局4、6、7から送出される管理監視データ信号が重畳される管理監視データ領域で構成される。管理制御データ信号で伝送される管理制御データは第一管理制御データISToと第二管理制御データIDXoで構成され、制御データ信号のデータOUTnと同様に、低電位レベルのパルス幅間隔として表される。また、管理監視データ信号で伝送される管理監視データは第一管理監視データSTiと第二管理監視データIDXiで構成され、監視データ信号のデータINnと同様に、低電位レベルに重畳される電流の有無として表される。なお、この実施例では、第一管理制御データISToおよび第二管理制御データIDXoは、子局4、6、7に対し要求するデータの種類を特定する指示データ、或いは子局4、6、7のいずれか一つを特定するためのアドレスデータとされる。一方、第一管理監視データSTiおよび第二管理監視データIDXiは、自局の状態を示すデータとされ、更に、管理監視データとして常に“0”以外のデータが送信されるものとされているが、詳細は後述する。   The management data area of the transmission clock signal includes a management control data area in which the management control data signal transmitted from the master station 2 is superimposed and a management data area in which the management monitoring data signal transmitted from the slave stations 4, 6, and 7 is superimposed. Consists of monitoring data area. The management control data transmitted by the management control data signal is composed of the first management control data ISTo and the second management control data IDXo, and is expressed as a pulse width interval of a low potential level, like the data OUTn of the control data signal. . Further, the management monitoring data transmitted by the management monitoring data signal is composed of the first management monitoring data STi and the second management monitoring data IDXi. Like the monitoring data signal data INn, the management monitoring data ST Expressed as presence or absence. In this embodiment, the first management control data ISTo and the second management control data IDXo are instruction data for specifying the type of data requested to the slave stations 4, 6, 7, or the slave stations 4, 6, 7 Address data for specifying any one of these. On the other hand, the first management monitoring data STi and the second management monitoring data IDXi are data indicating the status of the own station, and data other than “0” is always transmitted as management monitoring data. Details will be described later.

スタート信号STは、伝送クロック信号の高電位レベルと同じ電位レベルであって、伝送クロック信号の1周期より長い信号となっている。   The start signal ST has the same potential level as the high potential level of the transmission clock signal and is a signal longer than one cycle of the transmission clock signal.

親局入力部25は監視信号検出手段35と監視データ抽出手段36で構成される。監視信号検出手段35は、共通データ信号線DP、DNを経由して子局4、6、7から送出された監視データ信号と管理監視データ信号を検出する。監視データ信号および管理監視データ信号のデータ値は、既述のように低電位レベルに重畳される電流の有無で表されており、スタート信号STが送信された後、まず、入出力子局4または入力子局7の各々から順次監視データ信号を受け取り、続いて子局4、6、7の何れか一局からの管理監視データ信号を受け取るものとなっている。監視データ信号および管理監視データ信号のデータは、タイミング発生手段32の信号に同期して監視データ抽出手段36で抽出される。そして、監視データ信号のデータが直列の入力データ37として入力データ部26に送出される。管理監視データ信号から抽出された管理監視データ39もまた入力データ部26に送出される。   The master station input unit 25 includes a monitoring signal detection unit 35 and a monitoring data extraction unit 36. The monitoring signal detection means 35 detects the monitoring data signal and the management monitoring data signal transmitted from the slave stations 4, 6, and 7 via the common data signal lines DP and DN. As described above, the data values of the monitoring data signal and the management monitoring data signal are represented by the presence / absence of a current superimposed on the low potential level. After the start signal ST is transmitted, first, the input / output slave station 4 Alternatively, the monitoring data signal is sequentially received from each of the input slave stations 7, and subsequently, the management monitoring data signal is received from any one of the slave stations 4, 6, and 7. The data of the monitoring data signal and the management monitoring data signal are extracted by the monitoring data extraction unit 36 in synchronization with the signal of the timing generation unit 32. Then, the monitoring data signal data is sent to the input data unit 26 as serial input data 37. Management monitoring data 39 extracted from the management monitoring data signal is also sent to the input data unit 26.

入力データ部26は、親局入力部25から受け取った直列の入力データ37を並列(パラレル)データに変換し、監視データ15として制御部1の入力ユニット12へ送出する。また、親局入力部25から受け取った管理監視データ39を第一管理監視データ16と第二管理監視データ17に分離して入力ユニット12へ送出する。   The input data unit 26 converts the serial input data 37 received from the master station input unit 25 into parallel data, and sends it as monitoring data 15 to the input unit 12 of the control unit 1. Further, the management monitoring data 39 received from the master station input unit 25 is separated into the first management monitoring data 16 and the second management monitoring data 17 and sent to the input unit 12.

入力子局7は、図4に示すように、伝送受信手段41、管理制御データ抽出手段42、アドレス抽出手段43、アドレス設定手段44、管理監視データ送信手段46、監視データ送信手段47、入力手段49、および伝送エラー検出手段50を有する子局入出力部70と、入力部9とを備える。なお、この実施例の入力子局7は、内部回路としてマイクロコンピュータ・コントロール・ユニットであるMCUを備えており、このMCUが子局入力部70として機能するものとなっている。処理において必要となる演算や記憶は、このMCU(以下、MCU70とする)の備えるCPU、RAMおよびROMを使用して実行されるが、子局入力部70を構成する上記各手段のそれぞれの処理におけるCPU、RAMおよびROMとの関係は、説明の便宜上、図示を省略するものとする。   As shown in FIG. 4, the input slave station 7 includes a transmission receiving means 41, management control data extracting means 42, address extracting means 43, address setting means 44, management monitoring data transmitting means 46, monitoring data transmitting means 47, input means. 49 and a slave station input / output unit 70 having transmission error detection means 50 and an input unit 9. The input slave station 7 of this embodiment includes an MCU that is a microcomputer control unit as an internal circuit, and this MCU functions as the slave station input unit 70. Calculations and storages required for the processing are executed using the CPU, RAM, and ROM provided in this MCU (hereinafter referred to as MCU 70), and each processing of each of the above-mentioned means constituting the slave station input unit 70 is performed. The relationship between the CPU, the RAM, and the ROM in FIG.

伝送受信手段41は、共通データ信号線DP、DNに伝送される伝送クロック信号を受けて、これを管理制御データ抽出手段42、アドレス抽出手段43、管理監視データ送信手段46、および伝送エラー検出手段50に引き渡す。管理制御データ抽出手段42は、伝送クロック信号の管理データ領域から、管理制御データ信号のデータを抽出し、これらを伝送エラー検出手段50に引き渡す。一方、アドレス抽出手段43は、伝送クロック信号の始まりを示すスタート信号STを起点としてパルスをカウントし、そのカウント値がアドレス設定手段44で設定された自局アドレスデータと一致するタイミングで監視データ送信手段47を有効にする。   The transmission receiving means 41 receives the transmission clock signal transmitted to the common data signal lines DP and DN, and sends them to the management control data extraction means 42, the address extraction means 43, the management monitoring data transmission means 46, and the transmission error detection means. Hand over to 50. The management control data extraction means 42 extracts the data of the management control data signal from the management data area of the transmission clock signal, and delivers these to the transmission error detection means 50. On the other hand, the address extracting means 43 counts pulses starting from the start signal ST indicating the start of the transmission clock signal, and transmits the monitoring data at a timing when the count value coincides with its own address data set by the address setting means 44. The means 47 is activated.

監視データ送信手段47は、アドレス抽出手段43から引き渡された入力タイミングにより有効とされているとき、入力手段49から引き渡されるシリアルデータに基づいて、トランジスタTRのベース電流を“on”または“off”とする。ベース電流が“on”の場合、トランジスタTRは”on”となり、データ信号線DP、DNに監視データ信号である電流信号が出力される。この実施例では、図7に示すように、監視データ信号のデータ値が“1”の場合には所定値Ith以上の電流(例えば、30mA)を流すことで表現されている。従って、例えば、図7に示す信号のアドレス0番地(#ad0)、1番地(#ad1)、2番地(#ad2)及び3番地(#ad3)のそれぞれにおける監視データはそれぞれ“0”、“0”、“1”、“0”を表すことになる。なお、入力手段49から監視データ送信手段47に引き渡されるデータは、入力部9からの入力信号であり、例えば、入力部9としてオンオフスイッチが接続されている場合は、スイッチの“on”または“off”を示す電流信号や電圧信号に基づくものとなる。   The monitoring data transmission unit 47 sets the base current of the transistor TR to “on” or “off” based on the serial data delivered from the input unit 49 when enabled by the input timing delivered from the address extraction unit 43. And When the base current is “on”, the transistor TR is turned “on”, and a current signal that is a monitoring data signal is output to the data signal lines DP and DN. In this embodiment, as shown in FIG. 7, when the data value of the monitoring data signal is “1”, it is expressed by flowing a current (for example, 30 mA) of a predetermined value Ith or more. Therefore, for example, the monitoring data at addresses 0 (# ad0), 1 (# ad1), 2 (# ad2), and 3 (# ad3) of the signal shown in FIG. It represents 0 ”,“ 1 ”,“ 0 ”. The data handed over from the input unit 49 to the monitoring data transmission unit 47 is an input signal from the input unit 9. For example, when an on / off switch is connected as the input unit 9, the switch “on” or “ This is based on a current signal or voltage signal indicating "off".

管理監視データ送信手段46は、伝送クロック信号のスタート信号STを起点としてパルスをカウントし、管理データ領域のタイミングを得る。そして、感度不足検出手段50から引き渡されるデータに基づき、前記トランジスタTRのベース電流を出力し、データ信号線DP、DNに管理監視データ信号である電流信号を出力する。   The management monitoring data transmission means 46 counts pulses starting from the start signal ST of the transmission clock signal, and obtains the timing of the management data area. Then, based on the data delivered from the insensitivity detection means 50, the base current of the transistor TR is output, and a current signal which is a management monitoring data signal is output to the data signal lines DP and DN.

伝送エラー検出手段50は、図6に示すように、ISTo抽出手段51、IDXo抽出手段52、子局アドレス指定検出手段54、伝送チェック手段55、積算値算出手段56、頻度算出手段57、積算値閾値記憶手段(TK1)561、頻度閾値記憶手段(TK2)571、符号化手段58、およびゲート手段59で構成されている。   As shown in FIG. 6, the transmission error detecting means 50 includes an ISTo extracting means 51, an IDXo extracting means 52, a slave station address designation detecting means 54, a transmission check means 55, an integrated value calculating means 56, a frequency calculating means 57, an integrated value. It comprises a threshold storage means (TK1) 561, a frequency threshold storage means (TK2) 571, an encoding means 58, and a gate means 59.

ISTo抽出手段51は、管理制御データ抽出手段42から引き渡された管理制御データ信号のデータから第一管理制御データISToを抽出し、これを子局アドレス指定検出手段54に引き渡す。また、IDXo抽出手段52は、管理制御データ抽出手段42から引き渡された管理制御データ信号のデータから第二管理制御データIDXoを抽出し、これを子局アドレス指定検出手段54に引き渡す。更に、子局アドレス指定検出手段54には、アドレス設定手段44から自局アドレスデータが引き渡されている。   The ISTo extraction means 51 extracts the first management control data ISTo from the management control data signal data delivered from the management control data extraction means 42 and delivers it to the slave station address designation detection means 54. Further, the IDXo extracting unit 52 extracts the second management control data IDXo from the management control data signal data delivered from the management control data extracting unit 42 and delivers it to the slave station address designation detecting unit 54. Further, the local station address data is delivered from the address setting means 44 to the slave station address designation detection means 54.

子局アドレス指定検出手段54は、第一管理制御データISToが、伝送エラーの発生回数のモニタ指令を示す積算と頻度の二種のエラー回数モニタ指令データである場合には、第二管理制御データIDXoが自局アドレスのデータ値と一致したときに、エラー回数モニタ信号をゲート手段59に引き渡す。また、子局アドレス指定検出手段54は、第一管理制御データISToが、伝送エラーの種別のモニタ指令を示すエラー符号モニタ指令データである場合には、第二管理制御データIDXoが自局アドレスのデータ値と一致したときに、エラー符号モニタ信号を符号化手段58に引き渡す。   When the first management control data ISTo is two kinds of error count monitor command data, ie, integration and frequency indicating the monitor command of the number of occurrences of transmission errors, the slave station address designation detection means 54 When IDXo matches the data value of the local station address, the error count monitor signal is delivered to the gate means 59. Further, the slave station address designation detecting means 54, when the first management control data ISTo is error code monitor command data indicating a monitor command of the type of transmission error, the second management control data IDXo is the address of its own station. When the data value matches, the error code monitor signal is delivered to the encoding means 58.

伝送チェック手段55は、伝送受信手段41から引き渡される伝送データに伝送エラーがないかをチェックする。例えば、伝送チェック手段55は、巡回冗長検査(CRC:Cyclic Redundancy Check)や、パリティチェック等のチェック手法を用いて、伝送エラーの有無をチェックする。その結果、伝送エラーが発生していることを検出した場合には、エラーが発生していることを示す信号を積算値算出手段56と頻度算出手段57へ引き渡す。   The transmission check means 55 checks whether there is a transmission error in the transmission data delivered from the transmission receiving means 41. For example, the transmission check means 55 checks the presence or absence of a transmission error by using a check method such as cyclic redundancy check (CRC) or parity check. As a result, when it is detected that a transmission error has occurred, a signal indicating that an error has occurred is delivered to the integrated value calculating means 56 and the frequency calculating means 57.

積算値算出手段56は、伝送チェック手段55からの出力信号に基づいて、伝送チェック手段55が伝送エラーを検出した回数の積算値を算出する。そして、算出した積算値と、あらかじめ設定されて第一閾値記録手段561に記録されている第一閾値TK1とを比較する。その結果、積算値が第一閾値TK1を超えたときに、伝送受信手段41から引き渡される伝送データは、伝送異常状態であると判定する。積算値算出手段56は、伝送異常状態であると判定した場合には、積算値エラーにより伝送異常状態と判定したことを示す積算エラー情報を符号化手段58へ出力するとともに、伝送チェック手段55が検出した伝送エラー回数の積算値データをゲート手段59へ出力する。   Based on the output signal from the transmission check means 55, the integrated value calculation means 56 calculates the integrated value of the number of times that the transmission check means 55 has detected a transmission error. Then, the calculated integrated value is compared with the first threshold value TK1 that is set in advance and recorded in the first threshold value recording unit 561. As a result, when the integrated value exceeds the first threshold value TK1, it is determined that the transmission data delivered from the transmission receiving means 41 is in a transmission abnormal state. When the integrated value calculating means 56 determines that the transmission is abnormal, the integrated value calculating means 56 outputs to the encoding means 58 integrated error information indicating that the transmission abnormal state is determined by the integrated value error, and the transmission check means 55 The integrated value data of the detected number of transmission errors is output to the gate means 59.

頻度算出手段57は、伝送チェック手段55からの出力信号に基づいて、所定時間当たりに伝送チェック手段55が伝送エラーを検出した回数、すなわち伝送チェック手段55が伝送エラーを検出した所定の時間当たりの頻度を算出する。算出した頻度と、あらかじめ設定されて第二閾値記録手段571に記録されている第二閾値TK2とを比較する。その結果、頻度が第二閾値TK2を超えたときに、伝送受信手段41から引き渡される伝送データは、伝送異常状態であると判定する。積算値算出手段57は、伝送異常状態であると判定した場合には、頻度エラーにより伝送異常状態と判定したことを示す頻度エラー情報を符号化手段58へ出力するとともに、伝送チェック手段55が検出した伝送エラーの頻度を示す頻度データをゲート手段59へ出力する。   The frequency calculation means 57 is based on the output signal from the transmission check means 55, the number of times the transmission check means 55 detects a transmission error per predetermined time, that is, per predetermined time when the transmission check means 55 detects a transmission error. Calculate the frequency. The calculated frequency is compared with the second threshold value TK2 set in advance and recorded in the second threshold value recording means 571. As a result, when the frequency exceeds the second threshold value TK2, it is determined that the transmission data delivered from the transmission receiving means 41 is in a transmission abnormal state. When the integrated value calculating means 57 determines that the transmission is abnormal, the integrated value calculating means 57 outputs frequency error information indicating that the transmission is abnormal due to the frequency error to the encoding means 58 and the transmission check means 55 detects it. The frequency data indicating the frequency of the transmission error is output to the gate means 59.

符号化手段58は、子局アドレス指定検出手段54からエラー符号モニタ信号が引き渡された場合には、頻度算出手段56、および積算値算出手段57から出力されたエラー情報を所定の符号データに変換し、管理監視データ送信手段46に引き渡す。このエラー情報は、本発明の伝送異常警報に相当する。一方、符号化手段58は、頻度算出手段56、および積算値算出手段57からエラー情報が出力されない場合は、正常状態を示す情報を管理監視データ送信手段46に引き渡す。   When the error code monitor signal is delivered from the slave station address designation detection means 54, the encoding means 58 converts the error information output from the frequency calculation means 56 and the integrated value calculation means 57 into predetermined code data. And handed over to the management monitoring data transmission means 46. This error information corresponds to the transmission abnormality alarm of the present invention. On the other hand, when the error information is not output from the frequency calculation unit 56 and the integrated value calculation unit 57, the encoding unit 58 delivers information indicating a normal state to the management monitoring data transmission unit 46.

ゲート手段59は、子局アドレス指定検出手段54からエラー回数モニタ信号が引き渡された場合には、頻度算出手段56、および積算値算出手段57から出力されたエラー回数データのうち、エラー回数モニタ信号に応じたいずれかのデータを管理監視データ送信手段46に引き渡す。   When the error count monitor signal is delivered from the slave station address designation detection means 54, the gate means 59 includes the error count monitor signal out of the error count data output from the frequency calculation means 56 and the integrated value calculation means 57. Any data according to the above is delivered to the management monitoring data transmission means 46.

出力子局6は、図5に示すように、伝送受信手段41、管理制御データ抽出手段42、アドレス抽出手段43、アドレス設定手段44、制御データ抽出手段45、管理監視データ送信手段46、出力手段48、および伝送エラー検出手段50を有する子局出力部60と、出力部8とを備える。なお、この実施例の出力子局6も、前記入力子局7と同様、内部回路としてマイクロコンピュータ・コントロール・ユニットであるMCUを備えており、このMCUが子局出力部60として機能するものとなっている。そして、入力子局7のMCUと同様に、出力子局6の処理において必要となる演算や記憶は、このMCUの備えるCPU、RAMおよびROMを使用して実行されるが、子局出力部60を構成する上記各手段のそれぞれの処理におけるCPU、RAMおよびROMとの関係は、説明の便宜上、図示を省略するものとする。また、入力子局7と実質的に同じ部分には同符号を付し、その説明を省略、または簡略化するものとする。   As shown in FIG. 5, the output slave station 6 includes a transmission receiving means 41, a management control data extracting means 42, an address extracting means 43, an address setting means 44, a control data extracting means 45, a management monitoring data transmitting means 46, and an output means. 48 and a slave station output unit 60 having a transmission error detecting means 50 and an output unit 8. The output slave station 6 of this embodiment also includes an MCU that is a microcomputer control unit as an internal circuit, as in the case of the input slave station 7, and this MCU functions as the slave station output unit 60. It has become. Similar to the MCU of the input slave station 7, calculations and storages necessary for the processing of the output slave station 6 are executed using the CPU, RAM, and ROM provided in the MCU. The relationship between the CPU, the RAM, and the ROM in each process of each of the above-described units constituting the above is omitted for convenience of explanation. Also, the same reference numerals are given to substantially the same parts as those of the input slave station 7, and the description thereof is omitted or simplified.

出力子局6のアドレス抽出手段43は、伝送クロック信号の始まりを示すスタート信号STを起点としてパルスをカウントし、そのカウント値がアドレス設定手段44で設定された自局アドレスデータと一致するタイミングで制御データ抽出手段45に、制御信号を引き渡す。   The address extracting means 43 of the output slave station 6 counts pulses starting from the start signal ST indicating the start of the transmission clock signal, and the count value coincides with the own address data set by the address setting means 44. A control signal is delivered to the control data extraction means 45.

制御データ抽出手段45は、アドレス抽出手段43から引き渡された制御信号からデータ値を抽出し、これをシリアルデータとして出力手段48に引き渡す。出力手段48は、制御データ抽出手段45から引き渡されたシリアルデータをパラレルデータに変換し、出力部8に出力し、出力部8に所定の動作をさせる。   The control data extraction unit 45 extracts a data value from the control signal delivered from the address extraction unit 43 and delivers it to the output unit 48 as serial data. The output unit 48 converts the serial data delivered from the control data extraction unit 45 into parallel data, outputs the parallel data to the output unit 8, and causes the output unit 8 to perform a predetermined operation.

なお、この実施例において第一管理監視データSTiは使用されていないが、
第二管理監視データIDXiの更なる判別が必要な場合などには、この第一管理
監視データSTiを使用することができる。
In this embodiment, the first management monitoring data STi is not used.
The first management monitoring data STi can be used when further determination of the second management monitoring data IDXi is necessary.

次に、上記構成の制御・監視信号伝送システムにおける伝送エラー検出方式の手順について説明する。
管理データ部22には、すでに図8のIDXアドレスデータテーブルが作成されているものとする。スタート信号STとこれに続く制御・監視データ領域と管理データ領域で構成される伝送サイクル毎に、第二管理制御データIDXoによって、順次子局4、6、7の全てに対し割り付けられた先頭アドレスを指定していく。
Next, a procedure of a transmission error detection method in the control / monitoring signal transmission system having the above configuration will be described.
It is assumed that the IDX address data table of FIG. 8 has already been created in the management data unit 22. For each transmission cycle composed of the start signal ST, the subsequent control / monitoring data area and the management data area, the first address sequentially assigned to all of the slave stations 4, 6 and 7 by the second management control data IDXo Will be specified.

制御部1は、適宜設定されたタイミングで、或いは利用者による任意の入力指示により、伝送ラインの断線検出または伝送エラー検出を指示するための管理制御データ14を親局2に出力する。これを受けた親局2は伝送ラインの断線検出または伝送エラーの検出情報を要求する第一管理制御データISToと、IDXアドレステーブルに記憶されているデータ群の中の一つを指定する第二管理制御データIDXoを出力する。   The control unit 1 outputs management control data 14 for instructing transmission line disconnection detection or transmission error detection to the master station 2 at an appropriately set timing or by an arbitrary input instruction by a user. Receiving this, the master station 2 designates one of the first management control data ISTo requesting transmission line disconnection detection or transmission error detection information and one of the data groups stored in the IDX address table. Management control data IDXo is output.

第二管理制御データIDXoによるIDXアドレステーブルのデータの指定は、テーブル番号に従ったものとなっている。すなわち、まず、テーブル番号1のインデックスアドレスデータ(#ad0)が選択され第二管理制御データIDXoとして出力される。そして、伝送サイクル毎に、各テーブル番号に対応する先頭アドレスデータに順次変更される。ただし、第二管理制御データIDXoでIDXアドレステーブルのデータを指定する順番に制限は無く、例えば、機能による優先順位に従うものとしてもよい。   The designation of data in the IDX address table by the second management control data IDXo is in accordance with the table number. That is, first, the index address data (# ad0) of the table number 1 is selected and output as the second management control data IDXo. Then, each transmission cycle is sequentially changed to head address data corresponding to each table number. However, the order in which the data of the IDX address table is designated by the second management control data IDXo is not limited, and may be in accordance with the priority order by function, for example.

子局4、6、7の各々は、第二管理制御データIDXoが自局アドレスと一致するとき、積算値算出手段56または頻度算出手段57において、伝送異常状態または正常状態であることが検出された場合には、伝送異常状態のエラー種別である積算エラー情報や頻度エラー情報または正常状態を示す情報を第二管理監視データIDXiとして、また第二管理制御データIDXoが自局アドレスと一致するときに、ゲート手段59を介して、頻度算出手段56、および積算値算出手段57から出力されたエラー回数データのうち、エラー回数モニタ信号に応じたいずれかのデータを第二管理監視データIDXiとして、管理監視データ信号を、管理監視データ領域に重畳する。これを受けて、親局2では、管理監視データ信号から第一管理監視データ16と第二管理監視データ17を抽出し制御部1に引き渡す。   Each of the slave stations 4, 6, and 7 is detected by the integrated value calculation means 56 or the frequency calculation means 57 to be in a transmission abnormal state or a normal state when the second management control data IDXo matches the own station address. In the case where the error type of the transmission abnormal state is accumulated error information, frequency error information, or information indicating a normal state as the second management monitoring data IDXi, and the second management control data IDXo matches the own station address In addition, among the error count data output from the frequency calculation means 56 and the integrated value calculation means 57 via the gate means 59, any data corresponding to the error count monitor signal is set as the second management monitoring data IDXi. The management monitoring data signal is superimposed on the management monitoring data area. In response to this, the master station 2 extracts the first management monitoring data 16 and the second management monitoring data 17 from the management monitoring data signal and delivers them to the control unit 1.

制御部1では、第一管理監視データ16および第二管理監視データ17の内容によって、所定の処理が実行される。具体的には、第一管理監視データ16が示すエラー種別である積算エラー情報や頻度エラー情報であれば、制御部1は異常表示を行う。また第一管理監視データ16が正常状態を示す情報であれば、制御部1は異常表示を行わない。さらに制御部1は、第二管理監視データ17である積算データや頻度データといったエラー回数データを抽出して、モニタ表示を行う。第一管理監視データ16がエラー種別である積算エラー情報を示すものであれば、制御部1は親局2に対し、伝送エラー回数の積算値データの要求を示すエラー回数モニタ指令を第一管理制御データISToとして、管理制御データ14を送出する。一方、第一管理監視データ16がエラー種別である頻度エラー情報を示すものであれば、制御部1は親局2に対し、伝送エラー回数の頻度データの要求を示すエラー回数モニタ指令を第一管理制御データISToとして、管理制御データ14を送出する。   In the control unit 1, predetermined processing is executed according to the contents of the first management monitoring data 16 and the second management monitoring data 17. Specifically, if the error type indicated by the first management monitoring data 16 is accumulated error information or frequency error information, the control unit 1 displays an abnormality. Moreover, if the 1st management monitoring data 16 is information which shows a normal state, the control part 1 will not perform abnormality display. Further, the control unit 1 extracts error number data such as accumulated data and frequency data as the second management monitoring data 17, and performs monitor display. If the first management monitoring data 16 indicates accumulated error information which is an error type, the control unit 1 performs first management on an error count monitoring command indicating a request for accumulated value data of the transmission error count to the master station 2. Management control data 14 is sent out as control data ISTo. On the other hand, if the first management monitoring data 16 indicates frequency error information that is an error type, the control unit 1 first issues an error number monitoring command indicating a request for frequency data of the number of transmission errors to the master station 2. Management control data 14 is sent out as management control data ISTo.

積算値データまたは頻度データの要求を示す管理制御データ14を制御部1から受けた親局2は、続いて、伝送エラー回数の積算値データまたは頻度データを要求するエラー回数モニタ指令を第一管理制御データISToとして、および異常を示す第一管理監視データSTiを返した子局4、6、7を特定するためのアドレスを指定した第二管理制御データIDXoとして、共通データ信号線DP、DNに伝送信号を送出する。   The master station 2 that has received the management control data 14 indicating the request for the integrated value data or frequency data from the control unit 1 subsequently performs the first management of the error frequency monitor command for requesting the integrated value data or frequency data of the transmission error frequency. As the control data ISTo and as the second management control data IDXo specifying the address for specifying the slave stations 4, 6, and 7 that returned the first management monitoring data STi indicating the abnormality, the common data signal lines DP and DN are connected. Send a transmission signal.

共通データ信号線DP、DNに接続されている子局4、6、7の各々は、第一管理制御データISToが、エラー回数モニタ指令である場合、第二管理制御データIDXoと自局アドレスのデータ値とを比較する。そして、第二管理制御データIDXoと自局アドレスのデータ値とが一致したときに、エラー回数モニタ指令の種別に応じて、エラー情報の符号化されたデータを、エラー回数データに切り替えて第二管理監視データIDXiとして、管理監視データ領域に重畳し、共通データ信号線DP、DNに伝送信号を送出する。これを受けて、親局2では、管理監視データ信号から第一管理監視データ16と第二管理監視データ17を抽出し制御部1に引き渡す。   Each of the slave stations 4, 6, and 7 connected to the common data signal lines DP and DN has the second management control data IDXo and its own address when the first management control data ISTo is an error count monitor command. Compare the data value. Then, when the second management control data IDXo and the data value of the own station address match, the encoded data of the error information is switched to the error count data according to the type of the error count monitor command, and the second As the management monitoring data IDXi, it is superimposed on the management monitoring data area, and a transmission signal is sent to the common data signal lines DP and DN. In response to this, the master station 2 extracts the first management monitoring data 16 and the second management monitoring data 17 from the management monitoring data signal and delivers them to the control unit 1.

制御部1では、第一管理監視データ16の内容によって、所定の処理が実行される。具体的には、第一管理監視データ16が異常を示すものであれば、異常表示を行う。また、管理監視データが“0”である場合は、共通データ信号線の断線と判断し、その旨の表示を行う。   In the control unit 1, predetermined processing is executed according to the contents of the first management monitoring data 16. Specifically, if the first management monitoring data 16 indicates an abnormality, an abnormality display is performed. If the management monitoring data is “0”, it is determined that the common data signal line is disconnected, and a message to that effect is displayed.

以上の手順を経て制御部1では、子局4、6、7の各々についての伝送エラーの発生状況を把握することができる。更に、伝送エラーに基づく伝送異常が発生している場合には、伝送チェック手段55によって伝送エラーが検出された回数の積算値や頻度を掴むことができるので、そのデータの内容により伝送異常となった原因をある程度特定することができる。   Through the above procedure, the control unit 1 can grasp the transmission error occurrence status for each of the slave stations 4, 6, and 7. Furthermore, when a transmission error based on a transmission error has occurred, the accumulated value and frequency of the number of times the transmission error is detected by the transmission check means 55 can be grasped. Cause can be identified to some extent.

なお、第一閾値TK1および第二閾値TK2は、制御部側から適宜変更することが可能となっている。その場合、第一閾値TK1および第二閾値TK2を変更することを示すデータと、変更後の第一閾値TK1および第二閾値TK2のデータを、管理制御データ領域に重畳し、子局4、6、7側で、これらを抽出させればよい。   The first threshold value TK1 and the second threshold value TK2 can be appropriately changed from the control unit side. In that case, the data indicating that the first threshold value TK1 and the second threshold value TK2 are changed, and the data of the changed first threshold value TK1 and the second threshold value TK2 are superimposed on the management control data area, and the slave stations 4, 6 These may be extracted on the 7 side.

1 制御部
2 親局
4 入出力子局
5 被制御装置
6 出力子局
7 入力子局
8 出力部
9 入力部
11 出力ユニット
12 入力ユニット
13 制御データ
14 管理制御データ
15 監視データ信号のデータ
16 第一管理監視データ
17 第二管理監視データ
18 管理判断手段
21 出力データ部
22 管理データ部
23 タイミング発生部
24 親局出力部
25 親局入力部
26 入力データ部
29 記憶手段
31 OSC(発振回路)
32 タイミング発生手段
33 制御データ発生手段
34 ラインドライバ
35 監視信号検出手段
36 監視データ抽出手段
37 入力データ
39 管理監視データ
40 子局入出力部
41 伝送受信手段
42 管理制御データ抽出手段
43 アドレス抽出手段
44 アドレス設定手段
45 制御データ抽出手段
46 管理監視データ送信手段
47 監視データ送信手段
48 出力手段
49 入力手段
50 伝送エラー検出手段
51 ISTo抽出手段
52 IDXo抽出手段
54 子局アドレス指定検出手段
55 伝送チェック手段
56 積算値算出手段
561 第一閾値(TK1)
57 頻度算出手段
571 第二閾値(TK2)
58 符号化手段
59 ゲート手段
60 子局出力部
70 子局入力部
80 出力部一体型子局
90 入力部一体型子局
1 Control Unit 2 Master Station 4 Input / Output Slave Station 5 Controlled Device 6 Output Slave Station 7 Input Slave Station 8 Output Unit 9 Input Unit 11 Output Unit 12 Input Unit 13 Control Data 14 Management Control Data 15 Monitoring Data Signal Data 16 One management monitoring data 17 Second management monitoring data 18 Management judgment means 21 Output data part 22 Management data part 23 Timing generation part 24 Parent station output part 25 Parent station input part 26 Input data part 29 Storage means 31 OSC (oscillation circuit)
32 Timing generation means 33 Control data generation means 34 Line driver 35 Monitoring signal detection means 36 Monitoring data extraction means 37 Input data 39 Management monitoring data 40 Slave station input / output unit 41 Transmission reception means 42 Management control data extraction means 43 Address extraction means 44 Address setting means 45 Control data extraction means 46 Management monitoring data transmission means 47 Monitoring data transmission means 48 Output means 49 Input means 50 Transmission error detection means 51 ISTo extraction means 52 IDXo extraction means 54 Slave station address designation detection means 55 Transmission check means 56 Integrated value calculation means 561 First threshold (TK1)
57 Frequency calculation means 571 Second threshold (TK2)
58 Coding means 59 Gate means 60 Slave station output section 70 Slave station input section 80 Output section integrated slave station 90 Input section integrated slave station

本発明に係る伝送エラー検出方式では、親局と複数の子局が共通データ信号線で接続され、伝送周期方式によりデータの伝送が行われる制御・監視信号伝送システムにおいて、前記共通データ信号線に伝送される伝送信号に、制御データ信号のデータと監視データ信号のデータとで構成される制御・監視データ領域と異なる管理データ領域を設け、前記子局は、伝送データの複数のエラー検出結果に基づいて、前記伝送データのエラーの発生回数に対応するデータを構成する信号と、正常状態を示すデータまたは伝送異常警報を示すデータを構成する信号切り替えて前記管理データ領域に重畳する。 In the transmission error detection method according to the present invention, in a control / monitoring signal transmission system in which a master station and a plurality of slave stations are connected by a common data signal line and data is transmitted by a transmission cycle method, the common data signal line is connected to the common data signal line. The transmission signal to be transmitted is provided with a management data area different from the control / monitor data area composed of the data of the control data signal and the data of the monitor data signal, and the slave station generates a plurality of error detection results of the transmission data. based on overlaps the signal constituting the corresponding data to the number of occurrences of errors in the transmission data, the management data area by switching the signal constituting the data indicating the data or transmission error alarm indicating a normal state.

本発明に係る子局ターミナルは、親局が接続された共通データ信号線に接続され、前記共通データ信号線を介して伝送される伝送信号に、制御データ信号のデータと監視データ信号のデータとで構成される制御・監視データ領域と異なる管理データ領域に、前記親局で重畳された管理制御データを抽出する管理制御データ抽出手段と、前記管理データ領域に自局からの情報として管理監視データ信号を重畳する管理監視データ送信手段と、伝送データの複数のエラー検出結果に基づいて、正常状態を示すデータまたは伝送異常警報を示すデータを前記管理監視データ送信手段に引き渡す伝送エラー検出手段とを備え、前記伝送エラー検出手段は、前記管理監視データ送信手段へ、前記伝送データのエラーの発生回数に対応するデータと、前記正常状態を示すデータまたは前記伝送異常警報を示すデータとを切り替えて出力する出力信号切り替え手段を備える。 A slave station terminal according to the present invention is connected to a common data signal line to which a master station is connected, and a transmission signal transmitted through the common data signal line includes a control data signal data and a monitoring data signal data. Management control data extracting means for extracting management control data superimposed on the master station in a management data area different from the control / monitoring data area composed of: management monitoring data as information from the own station in the management data area Management monitoring data transmitting means for superimposing a signal, and transmission error detecting means for delivering data indicating a normal state or data indicating a transmission abnormality alarm to the management monitoring data transmitting means based on a plurality of error detection results of transmission data. The transmission error detection means, to the management monitoring data transmission means, data corresponding to the number of occurrences of errors in the transmission data, and An output signal switching means for switching and outputting the data indicating the data or the transmission error alarm indicating the normal state.

本発明に係る伝送エラー検出方式では、親局と複数の子局が共通データ信号線で接続され、伝送周期方式によりデータの伝送が行われる制御・監視信号伝送システムにおいて、前記共通データ信号線に伝送される伝送信号に、制御データ信号のデータと監視データ信号のデータとで構成される制御・監視データ領域と異なる管理データ領域を設け、前記子局は、伝送データのエラーの発生回数の積算値が前記親局から送信されるデータに基づいて変更される第一閾値よりも大きいとき、または所定時間当たりの伝送データのエラーの発生回数が前記親局から送信されるデータに基づいて変更される第二閾値よりも大きいときに、伝送異常状態と判定し、前記伝送データのエラーの発生回数に対応するデータを構成する信号と、正常状態を示すデータまたは伝送異常警報を示すデータを構成する信号とを切り替えて前記管理データ領域に重畳する。 In the transmission error detection method according to the present invention, in a control / monitoring signal transmission system in which a master station and a plurality of slave stations are connected by a common data signal line and data is transmitted by a transmission cycle method, the common data signal line is connected to the common data signal line. The transmission signal to be transmitted is provided with a management data area different from the control / monitoring data area composed of the control data signal data and the monitoring data signal data, and the slave station accumulates the number of occurrences of transmission data errors. When the value is greater than a first threshold that is changed based on data transmitted from the parent station, or the number of transmission data errors per predetermined time is changed based on data transmitted from the parent station. when greater than the second threshold value that determines a transmission error state, and the signal constituting the data corresponding to the number of occurrences of error in the transmitted data, showing a normal state By switching the signal constituting the data indicating over data or transmission error alarm superimposed on the management data area.

本発明に係る子局ターミナルは、親局が接続された共通データ信号線に接続され、前記共通データ信号線を介して伝送される伝送信号に、制御データ信号のデータと監視データ信号のデータとで構成される制御・監視データ領域と異なる管理データ領域に、前記親局で重畳された管理制御データを抽出する管理制御データ抽出手段と、前記管理データ領域に自局からの情報として管理監視データ信号を重畳する管理監視データ送信手段と、伝送データのエラーの発生回数の積算値が前記親局から送信されるデータに基づいて変更される第一閾値よりも大きいとき、または所定時間当たりの伝送データのエラーの発生回数が前記親局から送信されるデータに基づいて変更される第二閾値よりも大きいときに、伝送異常状態と判定し伝送異常警報を示すデータを、それ以外は正常状態を示すデータを前記管理監視データ送信手段に引き渡す伝送エラー検出手段とを備え、前記伝送エラー検出手段は、前記管理監視データ送信手段へ、前記伝送データのエラーの発生回数に対応するデータと、前記正常状態を示すデータまたは前記伝送異常警報を示すデータとを切り替えて出力する出力信号切り替え手段を備える。 A slave station terminal according to the present invention is connected to a common data signal line to which a master station is connected, and a transmission signal transmitted through the common data signal line includes a control data signal data and a monitoring data signal data. Management control data extracting means for extracting management control data superimposed on the master station in a management data area different from the control / monitoring data area composed of: management monitoring data as information from the own station in the management data area Management monitoring data transmission means for superimposing a signal, and transmission data when the accumulated value of the number of occurrences of transmission data is larger than a first threshold that is changed based on data transmitted from the master station, or transmission per predetermined time when the number of occurrences of errors in the data is greater than the second threshold value is changed based on the data transmitted from the host station, transmission error alarm is determined that transmission error state Data indicating otherwise a transmission error detection means for delivering data indicative of the normal state in the management monitoring data transmitting means, the transmission error detection means, to the management monitoring data transmitting means, an error of the transmission data Output signal switching means for switching and outputting data corresponding to the number of occurrences and data indicating the normal state or data indicating the transmission abnormality alarm is provided.

Claims (7)

親局と複数の子局が共通データ信号線で接続され、伝送周期方式によりデータの伝送が行われる制御・監視信号伝送システムにおいて、
前記共通データ信号線に伝送される伝送信号に、制御データ信号のデータと監視データ信号のデータとで構成される制御・監視データ領域と異なる管理データ領域を設け、
前記子局は、伝送データの複数のエラー検出結果に基づいて、正常状態を示すデータまたは伝送異常警報を示すデータを構成する信号を前記管理データ領域に重畳することを特徴とする伝送エラー検出方式。
In a control / monitor signal transmission system in which a master station and a plurality of slave stations are connected by a common data signal line and data is transmitted by a transmission cycle method.
The transmission signal transmitted to the common data signal line is provided with a management data area different from the control / monitor data area composed of the data of the control data signal and the data of the monitor data signal,
The slave station superimposes a signal constituting data indicating a normal state or data indicating a transmission abnormality alarm on the management data area based on a plurality of error detection results of transmission data. .
前記子局は、出力信号切り替え手段を備え、
前記出力信号切り替え手段は、前記伝送データのエラーの発生回数に対応するデータと、前記正常状態を示すデータまたは前記伝送異常警報を示すデータとを切り替えて前記管理データ領域に重畳することを特徴とする請求項1に記載の伝送エラー検出方式。
The slave station includes output signal switching means,
The output signal switching means switches between data corresponding to the number of occurrences of errors in the transmission data and data indicating the normal state or data indicating the transmission abnormality alarm and superimposing the data on the management data area. The transmission error detection method according to claim 1.
前記管理データ領域は、前記親局からのデータが重畳される管理制御データ領域と、前記子局からのデータが重畳される管理監視データ領域とで構成され、前記正常状態を示すデータまたは前記伝送異常警報の出力時において前記子局から前記管理監視データ領域に重畳されるデータを“0”以外のデータとし、前記親局において前記管理監視データ領域から抽出されたデータが“0”のとき、前記共通データ信号線の断線と判断する請求項1、または2に記載の伝送エラー検出方式。   The management data area includes a management control data area in which data from the master station is superimposed and a management monitoring data area in which data from the slave station is superimposed, and data indicating the normal state or the transmission When the abnormality alarm is output, the data superposed on the management monitoring data area from the slave station is data other than “0”, and when the data extracted from the management monitoring data area at the parent station is “0”, The transmission error detection method according to claim 1, wherein it is determined that the common data signal line is disconnected. 前記子局は、伝送データのエラーの発生回数の積算値が第一閾値を超えたときに、前記伝送異常警報を示すデータを構成する信号を前記管理データ領域に重畳することを特徴とする請求項1、2、または3に記載の伝送エラー検出方式。   The slave station superimposes a signal constituting data indicating a transmission abnormality alarm on the management data area when an integrated value of the number of occurrences of transmission data errors exceeds a first threshold. Item 4. A transmission error detection method according to Item 1, 2, or 3. 前記子局は、所定時間当たりの伝送データのエラーの発生回数が第二閾値よりも大きいときに、前記伝送異常警報を示すデータを構成する信号を前記管理データ領域に重畳することを特徴とする請求項1、2、または3に記載の伝送エラー検出方式。   The slave station superimposes a signal constituting data indicating the transmission abnormality alarm on the management data area when the number of transmission data errors per predetermined time is greater than a second threshold value. The transmission error detection method according to claim 1, 2, or 3. 親局が接続された共通データ信号線に接続され、
前記共通データ信号線を介して伝送される伝送信号に、制御データ信号のデータと監視データ信号のデータとで構成される制御・監視データ領域と異なる管理データ領域に、前記親局で重畳された管理制御データを抽出する管理制御データ抽出手段と、
前記管理データ領域に自局からの情報として管理監視データ信号を重畳する管理監視データ送信手段と、
伝送データの複数のエラー検出結果に基づいて、正常状態を示すデータまたは伝送異常警報を示すデータを前記管理監視データ送信手段に引き渡す伝送エラー検出手段とを備えることを特徴とする子局ターミナル。
Connected to the common data signal line to which the master station is connected,
The transmission signal transmitted via the common data signal line is superimposed on the management data area different from the control / monitor data area composed of the data of the control data signal and the data of the monitor data signal by the master station. Management control data extraction means for extracting management control data;
Management monitoring data transmission means for superimposing a management monitoring data signal as information from the own station in the management data area,
A slave station terminal comprising: transmission error detection means for delivering data indicating a normal state or data indicating a transmission abnormality alarm to the management monitoring data transmission means based on a plurality of error detection results of transmission data.
前記伝送エラー検出手段は、出力信号切り替え手段を備え、
前記出力信号切り替え手段は、前記管理監視データ送信手段へ、前記伝送データのエラーの発生回数に対応するデータと、前記正常状態を示すデータまたは前記伝送異常警報を示すデータとを切り替えて出力することを特徴とする請求項6に記載の子局ターミナル。
The transmission error detection means includes output signal switching means,
The output signal switching means switches and outputs data corresponding to the number of occurrences of errors in the transmission data and data indicating the normal state or data indicating the transmission abnormality alarm to the management monitoring data transmission means. The slave station terminal according to claim 6.
JP2012533176A 2012-04-02 2012-04-02 Transmission error detection method and slave station terminal used for that method Pending JPWO2013150602A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012533176A JPWO2013150602A1 (en) 2012-04-02 2012-04-02 Transmission error detection method and slave station terminal used for that method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012533176A JPWO2013150602A1 (en) 2012-04-02 2012-04-02 Transmission error detection method and slave station terminal used for that method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2013002103U Continuation JP3184345U (en) 2013-04-12 2013-04-12 Slave station terminal used for transmission error detection

Publications (1)

Publication Number Publication Date
JPWO2013150602A1 true JPWO2013150602A1 (en) 2015-12-14

Family

ID=54842887

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012533176A Pending JPWO2013150602A1 (en) 2012-04-02 2012-04-02 Transmission error detection method and slave station terminal used for that method

Country Status (1)

Country Link
JP (1) JPWO2013150602A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113796094B (en) * 2019-06-24 2023-12-05 欧姆龙株式会社 Main module and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04137991A (en) * 1990-09-28 1992-05-12 Nec Corp Monitor transmitter
JPH08275273A (en) * 1995-03-30 1996-10-18 Secom Co Ltd Communication system and master station and slave station used for the communication system
JP2002330229A (en) * 2001-05-01 2002-11-15 Omron Corp Information collector
JP2006203282A (en) * 2005-01-18 2006-08-03 Hitachi Information Systems Ltd Line management system, line management method, and line management program
JP2007066111A (en) * 2005-08-31 2007-03-15 Omron Corp Communication method of programmable controller system
JP2011114449A (en) * 2009-11-25 2011-06-09 Anywire:Kk Remote wiring check system, and connection connector used in the system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04137991A (en) * 1990-09-28 1992-05-12 Nec Corp Monitor transmitter
JPH08275273A (en) * 1995-03-30 1996-10-18 Secom Co Ltd Communication system and master station and slave station used for the communication system
JP2002330229A (en) * 2001-05-01 2002-11-15 Omron Corp Information collector
JP2006203282A (en) * 2005-01-18 2006-08-03 Hitachi Information Systems Ltd Line management system, line management method, and line management program
JP2007066111A (en) * 2005-08-31 2007-03-15 Omron Corp Communication method of programmable controller system
JP2011114449A (en) * 2009-11-25 2011-06-09 Anywire:Kk Remote wiring check system, and connection connector used in the system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113796094B (en) * 2019-06-24 2023-12-05 欧姆龙株式会社 Main module and storage medium

Similar Documents

Publication Publication Date Title
JP4879312B2 (en) Remote wiring check system and connector used for the system
JP5079180B1 (en) Fault detection method and slave station terminal used for that method
KR101472699B1 (en) Transmission line address overlap detection system and substation terminal used in the system
JP3184345U (en) Slave station terminal used for transmission error detection
JP4933686B1 (en) Transmission line disconnection detection method and slave station terminal used for the method
JPWO2013150602A1 (en) Transmission error detection method and slave station terminal used for that method
JP5372256B1 (en) Input signal error detection method and slave station terminal used for that method
JP5120994B1 (en) Transmission clock signal error detection method and slave station terminal used for that method
WO2013150602A1 (en) Transmission error detection scheme, and slave station terminal using said scheme
JP5606652B2 (en) Control and monitoring signal transmission system
JP5132844B1 (en) Fault detection method and slave station terminal used for that method
JP5738498B1 (en) Control / monitor signal transmission system and slave station terminal used for control / monitor signal transmission system
JP5143315B1 (en) Interface failure detection method and slave station terminal used for the method
JP5591317B2 (en) Slave station terminal used for input signal error detection
JP5090581B1 (en) Lifetime detection method and slave station terminal used for that method
JP5181402B1 (en) Interlock error detection method and slave station terminal used for that method
JP5441852B2 (en) Signal transmission method in control / monitor signal transmission system
JP5602328B1 (en) Collective display slave station