JPH0654036A - Remote supervisory controller - Google Patents

Remote supervisory controller

Info

Publication number
JPH0654036A
JPH0654036A JP4223270A JP22327092A JPH0654036A JP H0654036 A JPH0654036 A JP H0654036A JP 4223270 A JP4223270 A JP 4223270A JP 22327092 A JP22327092 A JP 22327092A JP H0654036 A JPH0654036 A JP H0654036A
Authority
JP
Japan
Prior art keywords
transmission data
transmission
signal
modem
comparator
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
JP4223270A
Other languages
Japanese (ja)
Inventor
Takeshi Watanabe
猛 渡辺
Takeo Toda
武男 戸田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP4223270A priority Critical patent/JPH0654036A/en
Publication of JPH0654036A publication Critical patent/JPH0654036A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate the measurement of performance by a test equipment by producing a preset error. CONSTITUTION:The controller is provided with a transmission data inversion changeover control circuit 10 consisting of a transmission data buffer 11 fetching one byte of a transmission data signal outputted serially from a communication LSI 62 synchronously with a clock signal, a flag setting device 13 to which a flag pattern is set, a comparator 12 comparing the flag pattern and the one byte data in the transmission data buffer, a programmable counter 16 starting count of bits of the transmission data based on an ON condition of a transmission enable signal from a MODEM when the data comparison indicates coincidence, a setting device 19 setting bits to be inverted in advance among transmission data after the transmission start flag pattern, a comparator 20 comparing the setting condition and the bit count in the programmable counter 16, and a transmission data inversion changeover section 17 inverting transmission data when the coincidence by the comparator 20 is detected.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ハイレベルデータリン
ク制御手順(以下HDLC伝送手順と称す)を用いて制
御所(親局)と被制御所(子局)間で、被監視制御機器
の監視制御に必要な情報を伝送し合う方式において、試
験的に伝送送信データのエラーを発生させることの可能
な遠方監視制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention uses a high-level data link control procedure (hereinafter referred to as an HDLC transmission procedure) to control a monitored control device between a control station (master station) and a controlled station (slave station). The present invention relates to a distant supervisory control device capable of experimentally causing an error in transmission and transmission data in a method of transmitting information necessary for supervisory control.

【0002】[0002]

【従来の技術】従来、HDLC伝送手順を用いた遠方監
視制御装置においては、伝送送信データに対して、強制
的に予め決められたパターンのエラーを発生させる適当
な方法はなかった。これはHDLC伝送手順そのものが
汎用の通信用LSIによってサポートされており、伝送
手順のうちリアルタイム性を要求されるもの、例えば送
信側においてはフラグシーケンスの生成,ゼロインサー
ト,送信フレームのアボート,タイムフィル信号の送
出,フレームチェックシーケンス(CRD符号のこと)
の生成、受信側においてはフラグシーケンスの検出,ゼ
ロリムーブ,フレームアボード信号の検出,フレームチ
ェックシーケンスの誤り検査,2次局アドレス,グロー
バルアドレスの検出等、その殆どがLSIのハード上で
実行される。又、LSIによってはHDLC手順のコマ
ンド,レスポンスのやりとりまで全てサポートするもの
もある。
2. Description of the Related Art Conventionally, there has been no suitable method for forcibly generating a predetermined pattern error in transmission and transmission data in a remote monitoring and control apparatus using an HDLC transmission procedure. This is because the HDLC transmission procedure itself is supported by a general-purpose communication LSI, and real-time transmission procedures are required, such as generation of a flag sequence, zero insertion, abort of transmission frame, and time fill on the transmission side. Signal transmission, frame check sequence (CRD code)
Generation, flag sequence detection on the receiving side, zero remove, frame aboard signal detection, frame check sequence error check, secondary station address, global address detection, etc., most of which are executed on the LSI hardware. It Also, some LSIs support all the exchange of commands and responses in the HDLC procedure.

【0003】図6は一般的な伝送制御部とモデムとの関
係を示す図である。伝送制御部はサブマイクロプロセッ
サ61と通信用LSI62から構成されており、サブマイク
ロプロセッサ61の内部バスにて結合される。サブマイク
ロプロセッサ61では通信用LSI62を介して情報の送,
受信のやりとりを行ない、HDLCフォーマット中のア
ドレスフィールド,コントロルフィールド,情報フィー
ルドのプロトコル上の加工処理を行なう。通信用LSI
62はHDLC伝送手順のうち前記リアルタイム性を要求
される部分をサポートしている。又、モデム63は送,受
信信号を実際の伝送路上に乗せるための変,復調器であ
り、同期型あるいは非同期型といった2種類がある。同
期型モデムの場合は、一般にデータ送信,受信用クロッ
クが引出線で必要となる。図6中ST信号が送信用クロ
ック信号であり、RT信号が受信用クロック信号である
(但し、ST信号はモデム自身で生成する場合もあ
る。)。
FIG. 6 is a diagram showing the relationship between a general transmission control unit and a modem. The transmission controller is composed of a sub-microprocessor 61 and a communication LSI 62, and is connected to the internal bus of the sub-microprocessor 61. The sub-microprocessor 61 sends information via the communication LSI 62,
Reception is exchanged, and processing of the address field, control field, and information field in the HDLC format is performed according to the protocol. Communication LSI
Reference numeral 62 supports a part of the HDLC transmission procedure that requires the real-time property. Further, the modem 63 is a modulator / demodulator for putting a transmission signal and a reception signal on an actual transmission line, and there are two types such as a synchronous type and an asynchronous type. In the case of a synchronous modem, a clock for data transmission / reception is generally required for the leader line. In FIG. 6, the ST signal is a transmission clock signal and the RT signal is a reception clock signal (however, the ST signal may be generated by the modem itself).

【0004】モデム制御信号のうちST,RTについて
は前記の通りであるが、RS信号はモデム63への送信開
始を要求する信号であり、オンすることによりモデム63
より外部へ送信用のキャリアが出力される。CS信号は
モデム63から伝送制御部へ送信可能を知らせるための信
号であり、伝送制御部はオン応答を受信することによ
り、前記RS信号によるモデム63からのキャリアが安定
したことを認識する。これにより伝送制御部は送信デー
タであるSD信号の送信を開始することができる。CD
信号は相手伝送制御部からのキャリアが検出されている
ことを示すものであり、オン状態の時に受信データであ
るRD信号の受信が可能となる。以上述べた各モデム制
御信号はいずれもCCITTのV.24にて勧告されてい
る。
Among the modem control signals, ST and RT are as described above, but the RS signal is a signal for requesting the start of transmission to the modem 63, and when turned on, the modem 63 is turned on.
A carrier for transmission is output to the outside. The CS signal is a signal from the modem 63 to notify the transmission control unit that transmission is possible, and the transmission control unit recognizes that the carrier from the modem 63 by the RS signal is stable by receiving the ON response. As a result, the transmission control unit can start the transmission of the SD signal which is the transmission data. CD
The signal indicates that the carrier from the partner transmission control unit is detected, and the RD signal, which is the reception data, can be received in the ON state. All the modem control signals described above are CCITT V.V. Recommended in 24.

【0005】[0005]

【発明が解決しようとする課題】上記従来装置ではソフ
トウェア上で伝送フォーマットを生成していた場合に
は、フレームチェックシーケンス等の誤りを容易にプロ
トコル上で作成できたものが、HDLC伝送手順を用い
るとLSIのハード上で行なってしまうため、予め決め
られた誤り発生のための変更が、事実上不可能となって
しまう。これは装置試験時における受信側の誤り検定が
確実に行なわれているかどうかを評価する上で問題とな
った。本発明は上記事情に鑑みてなされたものであり、
予め設定されたエラーを発生させ、装置試験における性
能測定を容易にできる遠方監視制御装置を提供すること
を目的としている。
In the above conventional apparatus, when the transmission format is generated by software, an error such as a frame check sequence can be easily generated on the protocol, but the HDLC transmission procedure is used. Since it is performed on the hardware of the LSI, it is practically impossible to make a change for the occurrence of a predetermined error. This has been a problem in evaluating whether or not the error check on the receiving side is surely performed during the device test. The present invention has been made in view of the above circumstances,
It is an object of the present invention to provide a distant monitoring control device that can generate a preset error and can easily perform performance measurement in a device test.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、本発明はHDLC伝送手順に従って伝送プロトコル
処理を行ない、制御所(親局)と被制御所(子局)との
間でモデムの制御信号のコントロールを行ないながら監
視,制御に必要な情報を伝送し合う方式の遠方監視制御
装置において、前記伝送手順に対して通信用LSIから
シリアルに出力される送信データ信号を送信データクロ
ック信号に同調して1バイト分取込む送信データバッフ
ァと、予めHDLC伝送手順で定義されるフラグパター
ンを設定したフラグ設定器と、前記フラグパターンと前
記送信データバッファに取込まれた1バイト分のデータ
を比較する比較器と、前記比較結果が一致したとき前記
モデム制御信号のうちモデムへの送信要求信号のオンに
対するモデムからの送信可能信号のオン条件と共に送信
データのビットカウントを開始するプログラマブルカウ
ンタと、送信開始フラグパターン以降の送信データのう
ち、予め反転を行なう任意の単一又は複数ビットの設定
を行なう設定器と、前記設定条件と前記プログラマブル
カウンタから出力されるビットカウント値を比較する比
較器と、前記比較器の一致を検出したとき、該当送信デ
ータ値の反転を行なう送信データ反転切換部からなる送
信データ反転切換コントロール回路を備えた。
In order to achieve the above object, the present invention performs a transmission protocol process according to an HDLC transmission procedure to control a modem between a control station (master station) and a controlled station (slave station). In a distant monitoring control device of a system in which information required for monitoring and control is transmitted while controlling signals, a transmission data signal serially output from a communication LSI for the transmission procedure is tuned to a transmission data clock signal. A transmission data buffer that captures 1 byte of data, a flag setter that sets a flag pattern defined in advance in the HDLC transmission procedure, and compares the flag pattern with 1 byte of data captured in the transmission data buffer. From the modem for turning on the transmission request signal to the modem among the modem control signals when the comparison result matches. A programmable counter that starts a bit count of transmission data together with an ON condition of a signal that can be received, a setter that sets any single or multiple bits of transmission data after a transmission start flag pattern, which is inverted in advance, A transmission data inversion switching control including a comparator for comparing a setting condition with the bit count value output from the programmable counter, and a transmission data inversion switching unit for inverting the corresponding transmission data value when a match between the comparators is detected. Equipped with a circuit.

【作用】サブマイクロプロセッサ61は、先ずモデム63の
送信要求(RS)信号をオンする。モデムからの送出キ
ャリアの安定した送信可能信号(CS)を受けると、サ
ブマイクロプロセッサ61はSD信号の送出を開始する。
HDLC伝送手順で定義されるフラグパターン(011
11110)を設定したフラグ設定器17と前記送信デー
タバッファ11へ入力された1バイト分のデータは比較器
12にて比較される。その結果、フラグパターンとの一致
が検出されると、フリップフロップ14からのQ出力とし
てプログラマブルカウンタ16のゲート(G)へ入力され
る。これ以降プログラマブルカウンタ16は、カウント入
力信号があるとそのカウントを開始する。更にフリップ
フロップ14からのQ出力は、アンドゲート15にて送信デ
ータクロック周波数とのアンドの判定を行なう。これに
より送信データの開始フラグ以降の送信データビット数
をカウント開始するプログラマブルカウンタ16へ送信デ
ータクロック信号を入力する。以上のようにプログラマ
ブルカウンタ16では送信データの開始フラグ以降の送信
データのビット数のカウントを行なう。一方、設定器23
では送信データのうち予め反転を行なう任意の単一又は
複数ビットの設定を行なう。これにより設定されたビッ
ト数は、プログラマブルカウンタ16からの出力値と比較
器20により比較され、その一致が検出されると該当送信
データの反転を行なう送信データ反転切換部17へ入力さ
れる。比較器24はプログラマブルカウンタ16からの出力
ビット数とxからyまでのビット数の一致を検出する
と、その一致検出区間の間、送信データ反転切換部17へ
出力を行なう。送信データ反転切換部17ではポイントx
を認識すると通信用LSI62からの送信データ(SD)
信号ルートへ切換えることによって送信データの反転を
開始し、一致検出が続く間、ポイントyまでの間反転を
続ける。そして一致検出の出力が比較器20よりなくなる
と再びSD信号を本来のルートへ切換えることによって
送信データの反転を終了する。
The sub-microprocessor 61 first turns on the transmission request (RS) signal of the modem 63. When receiving the stable transmission enable signal (CS) of the carrier sent from the modem, the sub microprocessor 61 starts sending the SD signal.
Flag pattern (011 defined in HDLC transmission procedure
11110) is set, and the 1-byte data input to the transmission data buffer 11 is compared with the comparator.
Compared at 12. As a result, when a match with the flag pattern is detected, the Q output from the flip-flop 14 is input to the gate (G) of the programmable counter 16. After that, the programmable counter 16 starts counting when there is a count input signal. Further, the Q output from the flip-flop 14 is AND-determined by the AND gate 15 with the transmission data clock frequency. As a result, the transmission data clock signal is input to the programmable counter 16 which starts counting the number of transmission data bits after the start flag of the transmission data. As described above, the programmable counter 16 counts the number of bits of transmission data after the transmission data start flag. On the other hand, the setting device 23
Then, an arbitrary single or plural bits of the transmission data to be inverted are set in advance. The number of bits thus set is compared with the output value from the programmable counter 16 by the comparator 20, and when a match is detected, it is input to the transmission data inversion switching section 17 which inverts the corresponding transmission data. When the comparator 24 detects a match between the number of output bits from the programmable counter 16 and the number of bits from x to y, it outputs to the transmission data inversion switching section 17 during the match detection section. The transmission data inversion switching unit 17 has a point x
When data is recognized, the transmission data (SD) from the communication LSI 62
The inversion of the transmission data is started by switching to the signal route, and the inversion is continued until the point y while the match detection continues. When the output of coincidence detection disappears from the comparator 20, the SD signal is switched to the original route again to complete the inversion of the transmission data.

【0007】[0007]

【実施例】以下図面を参照して実施例を説明する。図1
は本発明による遠方監視制御装置の一実施例の構成図で
あり、図1において図6と同一部分については同一符号
を付して説明を省略する。図において10は送信データ反
転切換コントロール回路であり、送信データバッファ1
1,比較器12,フラグ設定器13,フリップフロップ14,
アンドゲート15,プログラマブルカウンタ16,送信デー
タ反転切換部17,送信データクロック信号反転用のノッ
トゲード18,設定器19,比較器20から構成される。その
他の構成は図6と同様である。
Embodiments will be described below with reference to the drawings. Figure 1
1 is a configuration diagram of an embodiment of a remote monitoring and control device according to the present invention. In FIG. 1, the same parts as in FIG. In the figure, 10 is a transmission data inversion switching control circuit, which is a transmission data buffer 1
1, comparator 12, flag setter 13, flip-flop 14,
The AND gate 15, the programmable counter 16, the transmission data inversion switching unit 17, the notation gate 18 for inversion of the transmission data clock signal, the setter 19, and the comparator 20. Other configurations are the same as those in FIG.

【0008】次に作用について説明する。サブマイクロ
プロセッサ61は、受信側の誤り検定の比較を行なうため
の、送信データエラー発生に当たって、先ず通信用LS
I62を介してモデム63への送信要求(RS)信号をオン
する。モデム63ではRS信号オンに対して、一定時間
後、送出キャリアが安定したことを示す送信可能(C
S)信号を、通信用LSI62側へ返す。サブマイクロプ
ロセッサ61はこのSD信号を通信用LSI62を介して認
識すると、SD信号の送信を開始する。SD信号は図3
に示すようにHDLCフォーマットに従って通信用LS
I62を介してシリアル状態で送出され、モデム63とは別
に送信データクロック信号に同期して1バイト分取込む
送信データバッファ11へ入力される。そして予めHDL
C伝送手順で定義されるフラグパターン(011111
10)を設定したフラグ設定器13と前記送信データバッ
ファ11へ入力された1バイト分のデータは、比較器12に
よってデータ比較される。その結果、フラグパターンと
の一致が検出されると、フリップフロップ14からのQ出
力としてプログラマブルカウンタ16のゲート(G)へ入
力される。これ以降プログラマブルカウンタ16では、カ
ウント入力信号があると、そのカウントを開始する。更
にフリップフロップ14からのQ出力は、アンドゲート15
にて送信データクロック周波数とのアンドの判定を行な
う。これにより送信データの開始フラグ以降(図3のポ
イントs以降を示す)の送信データビット数をカウント
開始するプログラマブルカウンタ16へ送信データクロッ
ク信号を入力する。
Next, the operation will be described. The sub-microprocessor 61 first compares the LS for communication with the LS for communication in the occurrence of a transmission data error for comparing the error tests on the receiving side.
The transmission request (RS) signal to the modem 63 is turned on via I62. The modem 63 can perform transmission indicating that the transmission carrier has become stable after a certain period of time when the RS signal is turned on (C
S) The signal is returned to the communication LSI 62 side. When the sub-microprocessor 61 recognizes the SD signal via the communication LSI 62, it starts transmitting the SD signal. SD signal is shown in Figure 3.
LS for communication according to HDLC format as shown in
It is sent out in a serial state via I62, and is input to the transmission data buffer 11 which takes in one byte in synchronization with the transmission data clock signal separately from the modem 63. And HDL in advance
Flag pattern defined by the C transmission procedure (011111
The 1-byte data input to the transmission data buffer 11 and the flag setting device 13 in which 10) is set are compared by the comparator 12. As a result, when a match with the flag pattern is detected, the Q output from the flip-flop 14 is input to the gate (G) of the programmable counter 16. After that, the programmable counter 16 starts counting when there is a count input signal. Further, the Q output from the flip-flop 14 is the AND gate 15
The AND judgment with the transmission data clock frequency is made at. As a result, the transmission data clock signal is input to the programmable counter 16 which starts counting the number of transmission data bits after the start flag of the transmission data (indicates point s and subsequent points in FIG. 3).

【0009】以上のようにプログラマブルカウンタ16で
は送信データの開始フラグ以降の送信データビット数の
カウントを行なう。一方、設定器19では前記送信データ
のうち予め判定を行なう任意の単一又は複数ビットの設
定を行なう。これにより設定されたビット数は、前記プ
ログラマブルカウンタ16からの出力値と比較器20により
比較され、その一致が検出されると該当送信データの反
転を行なう送信データ反転切換部17へ入力される。例え
ば図3におけるポイントxからポイントy(つまりポイ
ントsからの送信データのxビット目からyビット目)
までのデータを反転させることによって、エラーを発生
させるとすると、先ず設定器19にてポイントxからポイ
ントyまでの設定を行なう。比較器20はプログラマブル
カウンタ16からの出力ビット数とxからyまでのビット
数の一致を検出すると、その一致検出区間の間、送信デ
ータ反転切換部17の出力を行なう。送信データ反転切換
部17では、ポイントxを認識すると通信用LSI62から
の送信データ(SD)信号ルート(図1ルートA)を論
理反転を持つルート側(図1ルートB)へ切換えること
によって送信データの反転を開始し、一致検出が続く
間、つまりポイントyまでの間、反転を続ける。そして
一致検出の出力が比較器20よりなくなると、再びSD信
号を本来のルートA側へ切換えることによって送信デー
タの反転を終了する。
As described above, the programmable counter 16 counts the number of transmission data bits after the start flag of transmission data. On the other hand, the setter 19 sets any single or plural bits of the transmission data which are to be judged in advance. The number of bits thus set is compared with the output value from the programmable counter 16 by the comparator 20, and if a match is detected, it is input to the transmission data inversion switching unit 17 which inverts the corresponding transmission data. For example, point x to point y in FIG. 3 (that is, the xth bit to the yth bit of the transmission data from point s).
If an error is generated by inverting the data up to, the setting device 19 first sets from point x to point y. When the comparator 20 detects a match between the number of output bits from the programmable counter 16 and the number of bits from x to y, the comparator 20 outputs the transmission data inversion switching unit 17 during the match detection section. When the transmission data inversion switching unit 17 recognizes the point x, the transmission data (SD) signal route from the communication LSI 62 (route A in FIG. 1) is switched to the route side having the logic inversion (route B in FIG. 1). Is started, and the inversion is continued while the match detection continues, that is, until the point y. When the output of the coincidence detection disappears from the comparator 20, the SD signal is switched to the original route A side again to complete the inversion of the transmission data.

【0010】図2は反転切換部17の構成例である。ここ
で送信データ反転切換部17によるフリップフロップ21の
クロック(CK)信号として入力される送信データクロ
ック信号は、ノットゲート22にて反転しておく。これは
一般に伝送制御部とモデムとの間は前記CCITT
V.24にて勧告されるモデム制御信号を用いることによ
る。つまり前記V.24勧告では、ST信号とSD信号と
の関係は、図5に示されるようなタイムチャートにて定
義されており、送信データの中央にて送信データクロッ
ク信号が立ち上がる。従って図2に示した送信データ反
転切換部17の回路側に示したクロックの立ち上がりで動
作するようなフリップフロップ等を用いた場合は、切換
のタイミングの際に半クロックのずれを起こしてしま
い、データ反転の切換がうまく行なわれなくなる。これ
に対してノットゲート18にて送信データクロック信号を
反転しておくと、図4のタイムチャートに示すようにス
ムーズにデータの反転が行なわれる。
FIG. 2 shows an example of the configuration of the inversion switching section 17. Here, the transmission data clock signal input as the clock (CK) signal of the flip-flop 21 by the transmission data inversion switching unit 17 is inverted by the not gate 22. This is generally the CCITT between the transmission controller and the modem.
V. By using the modem control signals recommended in 24. That is, the V. In the 24 Recommendation, the relationship between the ST signal and the SD signal is defined by the time chart as shown in FIG. 5, and the transmission data clock signal rises at the center of the transmission data. Therefore, when a flip-flop or the like that operates at the rising edge of the clock shown on the circuit side of the transmission data inversion switching unit 17 shown in FIG. 2 is used, a half clock shift occurs at the switching timing, Switching of data inversion cannot be performed properly. On the other hand, when the transmission data clock signal is inverted by the NOT gate 18, the data is smoothly inverted as shown in the time chart of FIG.

【0011】次に図4に示すタイムチャートを用いて、
作用を説明する。図4において送信データ例を29に示す
ように仮定し、反転エラーを起こさせるビット区間をポ
イントx(つまり図3においてポイントsからのxビッ
ト目を示す)からポイントy(つまり図3においてポイ
ントsからのyビット目を示す)までとする。30に送信
データクロック信号を示す。31では送信データエラー発
生に当たって、サブマイクロプロセッサ61からの通信用
LSI62を介してのモデム63へのRS信号のオン,オフ
状態を示す。32ではモデム63からの前記RS信号のオ
ン,オフに対する一定時間後の送信キャリアの安定状態
を表わすCS信号のオン,オフ状態を示す。サブマイク
ロプロセッサ61はこのCS信号のオンを認識すると、送
信データの送信を開始する。33では通信用LSI62から
モデム63への送信データ信号出力を示す。これはモデム
63とは別に送信データクロック信号に同期して1バイト
分取込む送信データバッファ11のタイムチャートでもあ
る。34では予めHDLC伝送手順で定義されるフラグパ
ターン(01111110)を設定したフラグ設定器13
と、前記送信データバッファ11へ入力された1バイト分
のデータを比較器12にて比較し、その一致検出時点を示
すフリップフロップ14の出力状態を示す。このフリップ
フロップ14からの“正”の判定により、プログラマブル
カウンタ16はカウント入力信号があると、そのカウント
を開始する。
Next, using the time chart shown in FIG.
The operation will be described. Assuming that an example of transmission data is shown in FIG. 4 in FIG. 4, the bit section causing the inversion error is changed from point x (that is, the x-th bit from point s in FIG. 3) to point y (that is, point s in FIG. 3). To the y-th bit from) to). 30 shows a transmission data clock signal. Reference numeral 31 indicates an ON / OFF state of the RS signal from the sub microprocessor 61 to the modem 63 via the communication LSI 62 when the transmission data error occurs. Reference numeral 32 shows the ON / OFF state of the CS signal, which represents the stable state of the transmission carrier after a certain time with respect to the ON / OFF of the RS signal from the modem 63. When the sub microprocessor 61 recognizes that the CS signal is on, it starts transmitting the transmission data. 33, a transmission data signal output from the communication LSI 62 to the modem 63 is shown. This is a modem
Apart from 63, it is also a time chart of the transmission data buffer 11 which takes in one byte in synchronization with the transmission data clock signal. In 34, a flag setter 13 that sets a flag pattern (01111110) defined in advance in the HDLC transmission procedure
And the 1-byte data input to the transmission data buffer 11 are compared by the comparator 12, and the output state of the flip-flop 14 indicating the coincidence detection time is shown. When the programmable counter 16 receives the count input signal by the "positive" determination from the flip-flop 14, it starts counting.

【0012】35では前記フリップフロップ14からの
“正”の判定をもとに、送信データクロック信号とのア
ンド出力、つまりアンドゲート15の出力を示し、これが
プログラマブルカウンタ16のカウント入力信号となる。
36では同じく、プログラマブルカウンタ16のカウント値
の様子を示す。36A ではノットゲート18の出力を示し、
この値が図2に示した送信データ反転切換部17の回路例
におけるフリップフロップ21のクロック信号として入力
される。37は図2のフリップフロップ21のQ出力を示
す。これにより反転区間ポイントxからポイントyまで
の間フリップフロップ21は“正”の値となるので、39に
示したように送信データはナンドゲート23から、反転デ
ータとして出力される。38では同様にフリップフロップ
21のQ出力を示す。これにより40に示したように反転区
間以外の間の送信データは、アンドゲート22からそのま
まの形で出力される。送信データの出力が終ると、サブ
マイクロプロセッサ61はモデム63へのRS信号をオン
し、これに対するモデムからのCS信号のオフを条件と
してフリップフロップ14,プログラマブルカウンタ16,
フリップフロップ21の各々のクリアを行なう。以上のタ
イムチャート出力結果よりタイムチャート41にて示すよ
うな最終的なモデム63への送信データがオアゲート24よ
り出力される。
At 35, the AND output with the transmission data clock signal, that is, the output of the AND gate 15 is shown based on the judgment of "positive" from the flip-flop 14, and this becomes the count input signal of the programmable counter 16.
Similarly, at 36, the state of the count value of the programmable counter 16 is shown. 36A shows the output of knot gate 18,
This value is input as the clock signal of the flip-flop 21 in the circuit example of the transmission data inversion switching unit 17 shown in FIG. 37 shows the Q output of the flip-flop 21 of FIG. As a result, the flip-flop 21 becomes a "positive" value from the point x to the point y of the inversion period, so that the transmission data is output from the NAND gate 23 as the inversion data as shown at 39. 38 also flip flops
21 Q output is shown. As a result, as shown at 40, the transmission data during the period other than the inversion period is output from the AND gate 22 as it is. When the output of the transmission data ends, the sub-microprocessor 61 turns on the RS signal to the modem 63, and the flip-flop 14, programmable counter 16, and programmable counter 16 under the condition that the CS signal from the modem is turned off.
Clear each of the flip-flops 21. From the above time chart output result, the final transmission data to the modem 63 as shown in the time chart 41 is output from the OR gate 24.

【0013】[0013]

【発明の効果】以上説明したように、本発明によれば従
来のモデム制御信号のほかに特殊な制御信号を追加する
ことなく、通信用LSIとモデムとの間に送信データ反
転切換コントロール回路を設ける構成としたので、従来
の装置に対しても容易に結合させることが可能となり、
又、伝送制御部として送信データ反転切換コントロール
回路を組み込んだ形でも実現可能であり、伝送送信エラ
ー発生装置として用いることにより受信データの誤り検
定能力を評価する等の装置試験を行なう際に有効とな
る。
As described above, according to the present invention, a transmission data inversion switching control circuit is provided between a communication LSI and a modem without adding a special control signal in addition to the conventional modem control signal. Since it is configured to be provided, it can be easily coupled to the conventional device,
It can also be realized by incorporating a transmission data inversion switching control circuit as a transmission control unit, and is effective when performing a device test such as evaluating the error verification capability of received data by using it as a transmission / transmission error generation device. Become.

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

【図1】本発明による遠方監視制御装置の一実施例を示
す構成図。
FIG. 1 is a configuration diagram showing an embodiment of a remote monitoring control device according to the present invention.

【図2】上記実施例のうち送信データ反転切換部の回路
構成例。
FIG. 2 is a circuit configuration example of a transmission data inversion switching unit in the above embodiment.

【図3】HDLC伝送フォーマットの基本を示す。FIG. 3 shows the basics of an HDLC transmission format.

【図4】実施例の作用を説明するためのタイムチャー
ト。
FIG. 4 is a time chart for explaining the operation of the embodiment.

【図5】CCITT V.24にて勧告されるSD信号と
ST信号の関係図。
FIG. 5: CCITT V. The relational diagram of SD signal and ST signal recommended in 24.

【図6】従来の伝送制御部とモデムとの関係図。FIG. 6 is a diagram showing the relationship between a conventional transmission control unit and a modem.

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

10 送信データ反転切換コントロール回路 11 送信データバッファ 12,20 比較器 13 フラグ設定器 14 フリップフロップ 15 アンドゲート 16 プログラマブルカウンタ 17 送信データ反転切換部 18 ノットゲート 19 設定器 61 サブマイクロプロセッサ 62 通信用LSI 63 モデム 10 Transmission data inversion switching control circuit 11 Transmission data buffer 12, 20 Comparator 13 Flag setting device 14 Flip-flop 15 AND gate 16 Programmable counter 17 Transmission data inversion switching unit 18 Not gate 19 Setting device 61 Sub-microprocessor 62 Communication LSI 63 modem

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 HDLC伝送手順に従って伝送プロトコ
ル処理を行ない、制御所(親局)と被制御所(子局)と
の間でモデムの制御信号のコントロールを行ないながら
監視,制御に必要な情報を伝送し合う方式の遠方監視制
御装置において、前記伝送手順に対して通信用LSIか
らシリアルに出力される送信データ信号を送信データク
ロック信号に同調して1バイト分取込む送信データバッ
ファと、予めHDLC伝送手順で定義されるフラグパタ
ーンを設定したフラグ設定器と、前記フラグパターンと
前記送信データバッファに取込まれた1バイト分のデー
タを比較する比較器と、前記比較結果が一致したとき前
記モデム制御信号のうちモデムへの送信要求信号のオン
に対するモデムからの送信可能信号のオン条件と共に送
信データのビットカウントを開始するプログラマブルカ
ウンタと、送信開始フラグパターン以降の送信データの
うち、予め反転を行なう任意の単一又は複数ビットの設
定を行なう設定器と、前記設定条件と前記プログラマブ
ルカウンタから出力されるビットカウント値を比較する
比較器と、前記比較器の一致を検出したとき、該当送信
データ値の反転を行なう送信データ反転切換部からなる
送信データ反転切換コントロール回路を備えたことを特
徴とする遠方監視制御装置。
1. A transmission protocol process is carried out according to an HDLC transmission procedure, and a control signal of a modem is controlled between a control station (master station) and a controlled station (slave station), and information necessary for monitoring and control is provided. In a remote monitoring control device of a mutual transmission system, a transmission data buffer that captures one byte of a transmission data signal serially output from a communication LSI in response to the transmission procedure in synchronization with a transmission data clock signal, and an HDLC in advance. A flag setter that sets a flag pattern defined by a transmission procedure, a comparator that compares the flag pattern with 1-byte data captured in the transmission data buffer, and the modem when the comparison results match. Among the control signals, the ON condition of the transmission enable signal from the modem with respect to the ON of the transmission request signal to the modem, and the bit data of the transmission data A programmable counter that starts the count, a setter that sets any single or multiple bits of the transmission data after the transmission start flag pattern that is inverted in advance, the setting condition and the bit output from the programmable counter. Remote monitoring characterized by comprising a comparator for comparing count values and a transmission data inversion switching control circuit comprising a transmission data inversion switching section for inverting the corresponding transmission data value when a match between the comparators is detected. Control device.
JP4223270A 1992-07-30 1992-07-30 Remote supervisory controller Pending JPH0654036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4223270A JPH0654036A (en) 1992-07-30 1992-07-30 Remote supervisory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4223270A JPH0654036A (en) 1992-07-30 1992-07-30 Remote supervisory controller

Publications (1)

Publication Number Publication Date
JPH0654036A true JPH0654036A (en) 1994-02-25

Family

ID=16795492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4223270A Pending JPH0654036A (en) 1992-07-30 1992-07-30 Remote supervisory controller

Country Status (1)

Country Link
JP (1) JPH0654036A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010161630A (en) * 2009-01-08 2010-07-22 Anritsu Corp Error addition apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010161630A (en) * 2009-01-08 2010-07-22 Anritsu Corp Error addition apparatus

Similar Documents

Publication Publication Date Title
US5099477A (en) Phase matching circuit
JP2014239432A (en) Method for providing general interface, and micro controller having general interface
JPH05276171A (en) Communication control equipment
JPH04137935A (en) Device and method for clock generation and data transmission-reception
JPH0654036A (en) Remote supervisory controller
JP2002252660A (en) Serial data communication apparatus and communication error detection method
JPH08256164A (en) Communication system
JP2000227803A (en) Method and system for controlling transmission in data link system of programmable controller
JPH0126213B2 (en)
JP2001522575A (en) Communication device with continuous phase synchronization to external network
JP2538682B2 (en) Reference clock source automatic switching method
JP2754684B2 (en) Communication line test equipment
JPS59161956A (en) Transmission controller
JP3114504B2 (en) Communication data diagnostic device for unidirectional loop transmission line
JP2541492B2 (en) Microprocessor remote reset method
JP2880021B2 (en) Station number duplication state / connection order state confirmation method in programmable controller network system
JPH0530151A (en) Hdlc procedure data transmission device
JP2644558B2 (en) Test apparatus and test method for communication device
JPH06284121A (en) Synchronizing word detection system
JPH01252046A (en) Link layer control system
JPH05298247A (en) Hot line connection system
JPS589620B2 (en) Peer communication system
JPH11177543A (en) Serial communication equipment and its method
JPS6041839A (en) Loop type data transmission system
JPS59135561A (en) Detecting and transmitting circuit of circuit control signal