JPH05308365A - Communication line state display circuit - Google Patents

Communication line state display circuit

Info

Publication number
JPH05308365A
JPH05308365A JP4111941A JP11194192A JPH05308365A JP H05308365 A JPH05308365 A JP H05308365A JP 4111941 A JP4111941 A JP 4111941A JP 11194192 A JP11194192 A JP 11194192A JP H05308365 A JPH05308365 A JP H05308365A
Authority
JP
Japan
Prior art keywords
data
error
communication
communication line
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4111941A
Other languages
Japanese (ja)
Other versions
JP3115940B2 (en
Inventor
Yasumasa Hashimoto
育昌 橋本
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP04111941A priority Critical patent/JP3115940B2/en
Publication of JPH05308365A publication Critical patent/JPH05308365A/en
Application granted granted Critical
Publication of JP3115940B2 publication Critical patent/JP3115940B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To reliably display a state wherein data are normally transmitted. CONSTITUTION:A communication system establishes a data link by a polling/ selecting system. An error detection part 24 detects whether or not there is an error in received data. A sequence decision part 25 decides the establishment of the data link. When the error detection part 24 detects no error and the sequence decision part 25 detects the establishment of the data link, a light emission diode LED3 illuminates through an output part 26.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、主局と複数の従局とが
分岐接続されポーリング/セレクティング方式でデータ
リンクを確立するように構成された通信システムに用い
られ、データが正常に伝送されていることを表示する通
信回線状態表示回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in a communication system in which a master station and a plurality of slave stations are branched and connected to each other to establish a data link by a polling / selecting method, and data is normally transmitted. The present invention relates to a communication line status display circuit that displays that the status is being changed.

【0002】[0002]

【従来の技術】従来より、図2に示すように、スイッチ
1 〜S3 を備えた監視用端末器12と、照明負荷L1
〜L2 が接続された制御用端末器13とを信号線Lsを
介して主制御装置11に時分割多重接続した遠隔制御シ
ステム10が提供されている。監視用端末器12および
制御用端末器13は、それぞれ個別にアドレスデータが
設定されており、主制御装置11は、各監視用端末器1
2および各制御用端末器13を個別に選択するためのア
ドレスデータと、各監視用端末器12および各制御用端
末器13を制御する制御データと、各監視用端末器12
および各制御用端末器13から返送される監視データを
受信するためのタイムスロットである信号返送期間とを
有した伝送信号を、信号線Lsに送出する。監視用端末
器12でスイッチS1 〜S3 の操作に基づく割り込み信
号が発生すると、主制御装置11では、割り込み信号を
発生した監視用端末器12を検索して、割り込み信号を
発生させた監視用端末器12のアドレスデータを獲得
し、アドレスデータによって監視用端末器12との対応
関係が設定されている制御用端末器13をアクセスして
照明負荷L1 〜L2 の点灯状態を制御するようになって
いる。
2. Description of the Related Art Conventionally, as shown in FIG. 2, a monitoring terminal 12 having switches S 1 to S 3 and a lighting load L 1 are provided.
A remote control system 10 is provided in which a control terminal 13 to which L 2 to L 2 are connected is time-division-multiplexed to a main control device 11 via a signal line Ls. Address data is set individually for each of the monitoring terminal device 12 and the control terminal device 13, and the main control device 11 sets the address data for each monitoring terminal device 1.
2 and address data for individually selecting each control terminal device 13, control data for controlling each monitoring terminal device 12 and each control terminal device 13, and each monitoring terminal device 12
And a transmission signal having a signal return period which is a time slot for receiving the monitoring data returned from each control terminal device 13 is transmitted to the signal line Ls. When an interrupt signal is generated in the monitoring terminal device 12 based on the operation of the switches S 1 to S 3 , the main control device 11 searches for the monitoring terminal device 12 that has generated the interrupt signal and performs the monitoring that generated the interrupt signal. The address data of the control terminal device 12 is acquired, and the control terminal device 13 in which the correspondence relationship with the monitoring terminal device 12 is set by the address data is accessed to control the lighting state of the lighting loads L 1 to L 2. It is like this.

【0003】信号線Lsには、ワイヤレス受信端末器1
4も接続されており、ワイヤレス受信端末器14では外
部に設けたワイヤレススイッチ15からの赤外線等によ
るワイヤレス信号を受信すると、監視用端末器12と同
様に割り込み信号を発生させ、主制御装置11による検
索時には、ワイヤレス信号に含まれたアドレスデータを
主制御装置11に返送するようになっている。したがっ
て、ワイヤレススイッチ15に設けたスイッチS11〜S
14に対してアドレスデータによる対応関係が設定された
制御用端末器13がアクセスされ、その制御用端末器1
3に接続された照明負荷L1 〜L2 の点灯状態が制御さ
れるようになっている。
The wireless receiving terminal 1 is connected to the signal line Ls.
4 is also connected, and when the wireless receiving terminal device 14 receives a wireless signal such as infrared rays from the wireless switch 15 provided outside, an interrupt signal is generated in the same manner as the monitoring terminal device 12, and the main control device 11 operates. At the time of search, the address data included in the wireless signal is returned to the main control device 11. Therefore, the switches S 11 to S provided on the wireless switch 15 are
14 is accessed by the control terminal device 13 in which the correspondence relationship based on the address data is set, and the control terminal device 1 is accessed.
The lighting states of the lighting loads L 1 to L 2 connected to the control unit 3 are controlled.

【0004】ところで、照明負荷L1 〜L2 の数が多い
場合や、ビル等において各階ごとに1つの遠隔制御シス
テム10を設けたい場合などには、複数個の主制御装置
11を設けることがある。この場合、複数の遠隔制御シ
ステム10を統括して管理するために、主制御装置11
よりも上位の中央制御装置1を設けることが考えられ
る。すなわち、中央制御装置1を主局とし、主制御装置
11を従局とした上位の通信システムを構築するのであ
って、複数の主制御装置11を通信回線Ltを介して分
岐接続するのである。中央制御装置1と主制御装置11
との間の通信手順としては、JIS−X−5002に規
定された基本形データ伝送制御手順が採用され、ポーリ
ング/セレクティング方式によってデータリンクを確立
する。また、中央制御装置1には、さらに上位の中央監
視盤2が通信回線Luを介して接続されている。すなわ
ち、中央監視盤2を主局とし、中央制御装置1を従局と
したさらに上位の通信システムが構築される。通信回線
Lt,Luの物理的仕様としては、RS−232−C規
格やRS485規格が採用される。また、中央制御装置
1や主制御装置11には必要に応じて設定器3が接続さ
れる。設定器3は、遠隔制御システム10よりも上位の
通信システムに対するアドレスデータ等を設定するため
に接続される。
By the way, when the number of lighting loads L 1 to L 2 is large, or when it is desired to provide one remote control system 10 for each floor in a building or the like, a plurality of main control devices 11 should be provided. is there. In this case, in order to collectively manage the plurality of remote control systems 10, the main controller 11
It is conceivable to provide a central control unit 1 higher than the above. That is, a higher-level communication system in which the central control device 1 is the main station and the main control device 11 is the slave station is constructed, and a plurality of main control devices 11 are branched and connected via the communication line Lt. Central controller 1 and main controller 11
A basic data transmission control procedure stipulated in JIS-X-5002 is adopted as a communication procedure to and from, and a data link is established by a polling / selecting method. Further, a higher-level central monitoring board 2 is connected to the central control device 1 via a communication line Lu. That is, a higher-level communication system in which the central monitoring board 2 is the main station and the central control device 1 is the slave station is constructed. The RS-232-C standard and the RS485 standard are adopted as the physical specifications of the communication lines Lt and Lu. Further, the setting device 3 is connected to the central control device 1 and the main control device 11 as required. The setting device 3 is connected to set address data and the like for a communication system higher than the remote control system 10.

【0005】ところで、中央制御装置1、中央監視盤
2、主制御装置11などでは、接続されている通信回線
Lt,Luに異常がなく、データが正常に伝送されてい
ることを確認したい場合がある。このような要求を満た
すために、表示部が設けられる。表示部20は、図4に
示すように、中央制御装置1、中央監視盤2、主制御装
置11などに設けた処理装置21(専用のプログラムが
設定されたマイクロコンピュータよりなる)と、通信回
線Lt,Luに接続され通信回線Lt,Luを伝送され
る信号と処理装置21で扱う信号との相互変化を行うド
ライバ/レシーバ22との間で受信データRxと送信デ
ータTxとに対応してそれぞれ接続される。ここに、処
理装置21とドライバ/レシーバ22との間の信号は、
図3に示すような前後にスタートビットSTとストップ
ビットSPとを有した一定長の信号であって、通常は1
キャラクタ(7ビット)ごとにスタートビットSTとス
トップビットSPとを備えている。スタートビットST
は論理値がつねに0、ストップビットSPは論理値がつ
ねに1であって、論理値の0、1をそれぞれLレベル、
Hレベルに対応させているとすれば、信号がHレベルで
あるかLレベルであるかによって、受信データRxおよ
び送信データTxの有無が検出できることになる。すな
わち、表示部20は、受信データRxと送信データTx
とに対してそれぞれバッファBf1 ,Bf2 と、バッフ
ァBf1 ,Bf2 の出力端に接続された限流用抵抗
1 ,R2 と、発光ダイオードLED1 ,LED2 とを
備え、受信データRxや送信データTxがLレベルにな
ると、それぞれ対応する発光ダイオードLED1 ,LE
2 が点灯するようになっている。したがって、ストッ
プビットSTが通過すると発光ダイオードLED1 ,L
ED2 が点灯する。
By the way, in the central control unit 1, the central monitoring board 2, the main control unit 11, etc., there is a case where it is desired to confirm that the communication lines Lt and Lu connected to the central control unit 1 are normal and that the data is transmitted normally. is there. A display unit is provided to meet such a requirement. As shown in FIG. 4, the display unit 20 includes a processing unit 21 (comprising a microcomputer in which a dedicated program is set) provided in the central control unit 1, the central monitoring panel 2, the main control unit 11, etc. Corresponding to the reception data Rx and the transmission data Tx between the driver / receiver 22 that performs mutual change between the signal connected to Lt and Lu and transmitted through the communication lines Lt and Lu and the signal handled by the processing device 21, respectively. Connected. Here, the signal between the processing device 21 and the driver / receiver 22 is
As shown in FIG. 3, it is a signal of a fixed length having a start bit ST and a stop bit SP before and after, and normally 1
Each character (7 bits) has a start bit ST and a stop bit SP. Start bit ST
Has a logical value of 0 at all times, and the stop bit SP has a logical value of always 1, and logical values of 0 and 1 are at the L level,
If it corresponds to the H level, the presence or absence of the reception data Rx and the transmission data Tx can be detected depending on whether the signal is the H level or the L level. That is, the display unit 20 displays the reception data Rx and the transmission data Tx.
And buffers Bf 1 and Bf 2 , respectively, current limiting resistors R 1 and R 2 connected to the output terminals of the buffers Bf 1 and Bf 2 , and light emitting diodes LED 1 and LED 2 , respectively, and receive data Rx And the transmission data Tx becomes L level, the corresponding light emitting diodes LED 1 , LE
D 2 lights up. Therefore, when the stop bit ST passes, the light emitting diodes LED 1 , L
ED 2 lights up.

【0006】[0006]

【発明が解決しようとする課題】上記構成の表示部20
は、受信データRxや送信データTxの有無を検出する
ことはできるが、信号レベルの変化を検出しているだけ
であるから、伝送フォーマット等が適合せず実際には通
信が成立していない状態であっても、発光ダイオードL
ED1 ,LED2 が点灯することになる。また、通信回
線Lu,Ltにノイズが混入したような場合でも発光ダ
イオードLED1 ,LED2 が点灯することになる。し
たがって、発光ダイオードLED1 ,LED2 が点灯し
ても、データが正常に伝送されていることは保証されな
いという問題がある。
The display unit 20 having the above-mentioned configuration is provided.
Can detect the presence or absence of the received data Rx and the transmitted data Tx, but since it only detects the change in the signal level, the transmission format and the like do not match and the communication is not actually established. Even the light emitting diode L
The ED 1 and LED 2 will light up. Further, the light emitting diodes LED 1 and LED 2 are turned on even when noise is mixed in the communication lines Lu and Lt. Therefore, even if the light emitting diodes LED 1 and LED 2 are turned on, it is not guaranteed that the data is normally transmitted.

【0007】本発明は上記問題点の解決を目的とするも
のであり、データが正常に伝送されることを表示できる
構成とし、表示の信頼性を高めた通信回線状態表示回路
を提供しようとするものである。
An object of the present invention is to solve the above-mentioned problems, and an object of the present invention is to provide a communication line status display circuit having a structure capable of displaying that data is normally transmitted and having improved display reliability. It is a thing.

【0008】[0008]

【課題を解決するための手段】請求項1の発明では、上
記目的を達成するために、複数の従局が通信回線を介し
て主局に分岐接続されるとともにポーリング/セレクテ
ィング方式でデータリンクを確立するように構成された
通信システムに用いられ、主局と従局との少なくとも一
方に設けられていてデータが正常に伝送されていること
を表示する通信回線状態表示回路において、エラーの有
無を検出するエラー検出部と、データリンクの確立を判
定するシーケンス判定部と、エラーが発生せずかつデー
タリンクが確立されたときに通信回線が正常であること
を表示する通信状態表示部とを備えているのである。
In order to achieve the above object, a plurality of slave stations are branched and connected to a master station via a communication line and a data link is formed by a polling / selecting method. Used in a communication system configured to establish, detects the presence or absence of an error in the communication line status display circuit that is provided in at least one of the master station and the slave station and that indicates that data is being transmitted normally. An error detection unit, a sequence determination unit that determines the establishment of the data link, and a communication status display unit that indicates that the communication line is normal when no error occurs and the data link is established. There is.

【0009】請求項2の発明では、一定長さのデータの
前後にスタートビットとストップビットとが付加されて
いて、送信データおよび受信データのスタートビットと
ストップビットとの一方を検出すると送信データと受信
データとにそれぞれ対応した表示を行う送受信表示部を
備えている。
According to the second aspect of the present invention, the start bit and the stop bit are added before and after the fixed length data, and when one of the start bit and the stop bit of the transmission data and the reception data is detected, the transmission data is detected. A transmission / reception display unit is provided to perform display corresponding to received data.

【0010】[0010]

【作用】請求項1の構成によれば、エラー検出部により
エラーが検出されず、かつ、シーケンス判定部によりデ
ータリンクの確立が検出されたときに通信回線が正常で
あることを表示する通信状態表示部を設けているので、
少なくともデータリンクが確立されて通信の成立条件が
整った状態になったときに初めて通信状態表示部に表示
されるのであり、しかも、通信状態表示部で正常である
ことが表示されているときには、ノイズ等によってエラ
ーが発生していない状態であることが保証されるから、
通信状態表示部での表示に高い信頼性が得られるのであ
る。
According to the first aspect of the present invention, the communication state indicating that the communication line is normal when no error is detected by the error detection unit and the establishment of the data link is detected by the sequence determination unit Since the display is provided,
At least when the data link is established and the conditions for establishing communication are satisfied, it is displayed on the communication status display section for the first time, and when the communication status display section shows that it is normal, Since it is guaranteed that no error has occurred due to noise etc.,
High reliability can be obtained in the display on the communication status display unit.

【0011】請求項2の構成によれば、同期方式が調歩
同期式である場合について、送信データおよび受信デー
タのスタートビットまたはストップビットに対応した表
示を行う送受信表示部を設けているので、正常な通信が
行われているかどうかを表示する通信状態表示部の表示
と合わせて用いれば、データが正常に伝送されているか
どうかをさらに確実に知ることができる。すなわち、送
信データと受信データとに対応した表示を行うから、送
信中か受信中かを知ることができる。
According to the second aspect of the present invention, when the synchronization method is the start-stop synchronization method, the transmission / reception display unit for displaying the start bit or the stop bit of the transmission data and the reception data is provided. When used in combination with the display of the communication status display section for displaying whether or not various communication is performed, it can be more surely known whether or not the data is normally transmitted. That is, since the display corresponding to the transmission data and the reception data is performed, it is possible to know whether the data is being transmitted or received.

【0012】[0012]

【実施例】図1に示すように、図4の回路に比較して、
処理装置21の出力ポートにバッファBf3 を介して抵
抗R3 と発光ダイオードLED3 との直列回路が接続さ
れている点が異なっている。処理装置21には、ドライ
バ/レシーバ22からのデータを一時的に保持するライ
ンバッファ23が設けられる。ラインバッファ23には
送信データTxおよび受信データRxが順次書き込ま
れ、また、送信データTxおよび受信データRxはライ
ンバッファ23から順次読み出される。ラインバッファ
23は少なくとも1キャラクタ分の容量を有している。
ラインバッファ23から読み出された受信データRx
は、エラー検出部24に入力されて1キャラクタずつエ
ラーの有無が判定される。ここで、判定されるエラーの
種類としては、パリティエラー、オーバランエラー、フ
レーミングエラーがある。パリティエラーは、1キャラ
クタないし1ブロックごとに付与されたパリティビット
の不一致により検出されるのであって、パリティエラー
を検出することによってノイズ等による伝送エラーがあ
ったことを検出することができる。また、オーバランエ
ラーは、ラインバッファ23に対する受信データRxの
書き込み速度よりも読み出し速度が遅いときに検出され
るのであって、一般には、ラインバッファ23に受信デ
ータRxが1キャラクタ書き込まれ、それが読み出され
ないうちに次のキャラクタを受信したときに発生する。
オーバランエラーが発生すればデータが失われたことに
なる。フレーミングエラーは、ストップビットSPに誤
りがあったときに検出される。すなわち、図3で示した
ように、本発明でのデータは、1キャラクタの前後に1
ビットずつのスタートビットSTとストップビットSP
とを負荷した形で調歩同期式で伝送されるのであって、
ストップビットSPはHレベル(論理値が1)であるか
ら、ストップビットSPの位置でLレベルであればフレ
ーミングエラーが検出される。フレーミングエラーが検
出されたときには、パリティエラーと同様にノイズ等に
より伝送エラーが発生したと判定できる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS As shown in FIG. 1, as compared with the circuit of FIG.
The difference is that a series circuit of a resistor R 3 and a light emitting diode LED 3 is connected to an output port of the processing device 21 via a buffer Bf 3 . The processing device 21 is provided with a line buffer 23 that temporarily holds the data from the driver / receiver 22. The transmission data Tx and the reception data Rx are sequentially written in the line buffer 23, and the transmission data Tx and the reception data Rx are sequentially read from the line buffer 23. The line buffer 23 has a capacity of at least one character.
Received data Rx read from the line buffer 23
Is input to the error detection unit 24 and the presence or absence of an error is determined for each character. Here, the types of errors to be determined include parity error, overrun error, and framing error. The parity error is detected by the mismatch of the parity bits given for each character or block, and by detecting the parity error, it can be detected that there is a transmission error due to noise or the like. The overrun error is detected when the read speed is slower than the write speed of the received data Rx to the line buffer 23. Generally, one character of the received data Rx is written in the line buffer 23 and the read data is read. It occurs when the next character is received before it is sent out.
If an overrun error occurs, the data has been lost. The framing error is detected when the stop bit SP has an error. That is, as shown in FIG. 3, the data according to the present invention has one character before and after one character.
Start bit ST and stop bit SP bit by bit
It is transmitted in a start-and-stop manner by loading and
Since the stop bit SP is at the H level (logical value is 1), if it is at the L level at the position of the stop bit SP, a framing error is detected. When a framing error is detected, it can be determined that a transmission error has occurred due to noise or the like, similar to a parity error.

【0013】上述のように、エラー検出部24におい
て、パリティエラー、オーバランエラー、フレーミング
エラーの発生を検出することによって、伝送エラーの発
生およびデータの紛失が検出されることになる。したが
って、これらのエラーが発生しないときには、伝送系に
ついては正常であると判断できることになる。また、通
信速度が不一致であるときも、いずれかのエラーが発生
するから、通信速度の不一致も間接的に検出できること
になる。通信速度についてさらに確実に一致を検出する
ためには、通信速度の判定を別途に行えばよい。
As described above, the error detecting section 24 detects the occurrence of the parity error, the overrun error and the framing error, thereby detecting the occurrence of the transmission error and the data loss. Therefore, when these errors do not occur, it can be judged that the transmission system is normal. Further, even when the communication speeds do not match, any error occurs, so that the communication speed mismatch can be indirectly detected. In order to more surely detect the coincidence of the communication speed, the communication speed may be determined separately.

【0014】エラー検出部24において伝送系が正常で
あると判断されると、シーケンス判定部25において、
監視シーケンスが正しい形式であるかどうかが判定され
る。すなわち、複数個のキャラクタからなるキャラクタ
群(ブロック)を解析することによって、ブロックが所
定の個数を有し、かつ、所定の意味を有するかどうかを
判定する。一般には、ブロックがポーリングアドレスや
セレクティングアドレスを含み、かつ、所定のフォーマ
ットを有しているかどうかを判定する。監視シーケンス
が一致すれば、正常なデータ伝送が可能と考えてよいか
ら、出力部26を通して出力ポートをLレベルにし、発
光ダイオードLED3 を点灯させる。すなわち、発光ダ
イオードLED3 は、伝送系にエラーがなく、かつ、監
視シーケンスが一致したときに点灯するのであって、発
光ダイオードLED3 の点灯によって、データが正常に
伝送されていることが確認される。したがって、バッフ
ァBf3 、抵抗R3 、発光ダイオードLED3 により通
信状態表示部が構成されるのである。ここに、エラー検
出部24、シーケンス判定部25は、処理装置21を構
成するマイクロプロセッサに対する上記動作を行う適宜
プログラムを設定すればソフトウェアによって実現する
ことが可能である。
When the error detector 24 determines that the transmission system is normal, the sequence determiner 25
It is determined whether the watch sequence is well formed. That is, it is determined whether a block has a predetermined number and has a predetermined meaning by analyzing a character group (block) composed of a plurality of characters. Generally, it is determined whether or not a block includes a polling address or a selecting address and has a predetermined format. If the monitoring sequences match, it can be considered that normal data transmission is possible, so the output port is set to the L level through the output section 26 and the light emitting diode LED 3 is turned on. That is, the light emitting diode LED 3 is turned on when there is no error in the transmission system and the monitoring sequences match, and it is confirmed that the data is normally transmitted by turning on the light emitting diode LED 3. It Therefore, the buffer Bf 3 , the resistor R 3 , and the light emitting diode LED 3 constitute a communication state display section. Here, the error detection unit 24 and the sequence determination unit 25 can be realized by software by setting an appropriate program for performing the above operation for the microprocessor constituting the processing device 21.

【0015】処理装置21とドライバ/レシーバ22と
の間の線路には、従来構成と同様に、送信データTxお
よび受信データRxにおけるスタートビットSTを検出
したときに点灯する発光ダイオードLED1 ,LED2
がバッファBf1 ,Bf2 を介して接続される。したが
って、送信中には発光ダイオードLED1 が点灯し、受
信中には発光ダイオードLED2 が点灯することによっ
て、送信中か受信中かを識別することができる。すなわ
ち、バッファBf1 ,Bf2 、抵抗R1 ,R2、発光ダ
イオードLED1 ,LED2 により送受信表示部が構成
される。以上の構成により、送受信表示部と通信状態表
示部とを備えた表示部20での表示に基づいて、使用者
は、通信状態を正確に知ることができ正常な通信が行わ
れているかどうかを確認することができるのである。
On the line between the processing device 21 and the driver / receiver 22, light emitting diodes LED 1 and LED 2 are turned on when the start bit ST in the transmission data Tx and the reception data Rx is detected, as in the conventional configuration.
Are connected via the buffers Bf 1 and Bf 2 . Therefore, the light emitting diode LED 1 is turned on during transmission, and the light emitting diode LED 2 is turned on during reception, whereby it is possible to discriminate between the transmission and the reception. That is, the buffers Bf 1 and Bf 2 , the resistors R 1 and R 2 , and the light emitting diodes LED 1 and LED 2 form a transmission / reception display unit. With the above configuration, based on the display on the display unit 20 including the transmission / reception display unit and the communication status display unit, the user can accurately know the communication status and whether or not normal communication is performed. You can check.

【0016】なお、上記構成では、ラインバッファ23
およびエラー検出部24を処理装置21に設けている
が、汎用のドライバ/レシーバ22には送信バッファ、
受信バッファ、エラー検出部24を備えたものがあるか
ら、エラー検出部24の機能をドライバ/レシーバ22
に分担させ、エラー検出部24での判定結果を処理装置
21に引き渡すことによって、処理装置21にはシーケ
ンス判定部25のみを設けるようにすることも可能であ
る。さらに、表示部20は、発光ダイオードLED1
LED3 の点灯・消灯による表示を行うのみであるが、
文字や図形を表示することができる表示器を用いること
によって、正常・異常等の表示を行うことも可能であ
る。また、送受信表示部においてスタートビットSTに
対応させて表示を行っているが、ストップビットSPに
対応した表示を行ってもよい。
In the above configuration, the line buffer 23
Although the error detection unit 24 is provided in the processing device 21, the general-purpose driver / receiver 22 has a transmission buffer,
Since there is a receiver having a reception buffer and an error detection unit 24, the function of the error detection unit 24 is
It is also possible to provide only the sequence determination unit 25 in the processing device 21 by distributing the determination result in the error detection unit 24 to the processing device 21. Further, the display unit 20 includes the light emitting diodes LED 1 to.
Only display is done by turning on / off the LED 3 .
It is also possible to display normality / abnormality by using a display device capable of displaying characters and figures. Further, although the transmission / reception display section displays the display corresponding to the start bit ST, the display corresponding to the stop bit SP may be displayed.

【0017】[0017]

【発明の効果】請求項1の発明は、エラー検出部により
エラーが検出されず、かつ、シーケンス判定部によりデ
ータリンクの確立が検出されたときに通信回線が正常で
あることを表示する通信状態表示部を設けているので、
少なくともデータリンクが確立されて通信の成立条件が
整った状態になったときに初めて通信状態表示部に表示
されるのであり、しかも、通信状態表示部で正常である
ことが表示されているときには、ノイズ等によってエラ
ーが発生していない状態であることが保証されるから、
通信状態表示部での表示に高い信頼性が得られるという
利点がある。
According to the first aspect of the present invention, the communication state is displayed to indicate that the communication line is normal when the error is not detected by the error detecting section and the establishment of the data link is detected by the sequence judging section. Since the display is provided,
At least when the data link is established and the conditions for establishing communication are satisfied, it is displayed on the communication status display section for the first time, and when the communication status display section shows that it is normal, Since it is guaranteed that no error has occurred due to noise etc.,
There is an advantage that high reliability can be obtained in the display on the communication status display unit.

【0018】請求項2の構成によれば、同期方式が調歩
同期式である場合について、送信データおよび受信デー
タのスタートビットまたはストップビットに対応した表
示を行う送受信表示部を設けているので、正常な通信が
行われているかどうかを表示する通信状態表示部の表示
と合わせて用いれば、データが正常に伝送されているか
どうかをさらに確実に知ることができる。すなわち、送
信データと受信データとに対応した表示を行うから、送
信中か受信中かを知ることができるという利点がある。
According to the second aspect of the invention, when the synchronization method is the start-stop synchronization method, the transmission / reception display unit for displaying the start bit or the stop bit of the transmission data and the reception data is provided. When used in combination with the display of the communication status display section for displaying whether or not various communication is performed, it can be more surely known whether or not the data is normally transmitted. That is, since the display corresponding to the transmission data and the reception data is performed, there is an advantage that it is possible to know whether the data is being transmitted or received.

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

【図1】実施例を示す回路図である。FIG. 1 is a circuit diagram showing an embodiment.

【図2】本発明を用いる通信システムの一例を示すブロ
ック回路図である。
FIG. 2 is a block circuit diagram showing an example of a communication system using the present invention.

【図3】図2に示した通信システムで用いるデータの形
式を示す説明図である。
FIG. 3 is an explanatory diagram showing a format of data used in the communication system shown in FIG.

【図4】従来例を示す回路図である。FIG. 4 is a circuit diagram showing a conventional example.

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

1 中央制御装置 2 中央監視盤 11 主制御装置 20 表示部 24 エラー検出部 25 シーケンス判定部 Bf1 〜Bf3 バッファ LED1 〜LED3 発光ダイオード R1 〜R3 抵抗1 the central control unit 2 the central monitor board 11 Main controller 20 display unit 24 error detection unit 25 sequence determination unit Bf 1 ~Bf 3 buffer LED 1 ~LED 3 light emitting diodes R 1 to R 3 resistor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の従局が通信回線を介して主局に分
岐接続されるとともにポーリング/セレクティング方式
でデータリンクを確立するように構成された通信システ
ムに用いられ、主局と従局との少なくとも一方に設けら
れていてデータが正常に伝送されていることを表示する
通信回線状態表示回路において、エラーの有無を検出す
るエラー検出部と、データリンクの確立を判定するシー
ケンス判定部と、エラーが発生せずかつデータリンクが
確立されたときに通信回線が正常であることを表示する
通信状態表示部とを備えたことを特徴とする通信回線状
態表示回路。
1. A master station and a slave station, wherein a plurality of slave stations are branched and connected to a master station via a communication line and used in a communication system configured to establish a data link by a polling / selecting method. In a communication line status display circuit that is provided in at least one side and indicates that data is transmitted normally, an error detection unit that detects the presence or absence of an error, a sequence determination unit that determines the establishment of a data link, and an error A communication line status display circuit, comprising: a communication status display unit for displaying that the communication line is normal when the data link is established.
【請求項2】 一定長さのデータの前後にスタートビッ
トとストップビットとが付加されていて、送信データお
よび受信データのスタートビットとストップビットとの
一方を検出すると送信データと受信データとにそれぞれ
対応した表示を行う送受信表示部を備えたことを特徴と
する請求項1記載の通信回線状態表示回路。
2. A start bit and a stop bit are added before and after a fixed length of data, and when one of the start bit and the stop bit of the transmission data and the reception data is detected, the transmission data and the reception data are respectively detected. 2. The communication line status display circuit according to claim 1, further comprising a transmission / reception display unit for performing corresponding display.
JP04111941A 1992-04-30 1992-04-30 Communication line status display circuit Expired - Lifetime JP3115940B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04111941A JP3115940B2 (en) 1992-04-30 1992-04-30 Communication line status display circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04111941A JP3115940B2 (en) 1992-04-30 1992-04-30 Communication line status display circuit

Publications (2)

Publication Number Publication Date
JPH05308365A true JPH05308365A (en) 1993-11-19
JP3115940B2 JP3115940B2 (en) 2000-12-11

Family

ID=14573986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04111941A Expired - Lifetime JP3115940B2 (en) 1992-04-30 1992-04-30 Communication line status display circuit

Country Status (1)

Country Link
JP (1) JP3115940B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004524597A (en) * 2000-09-14 2004-08-12 エスティーマイクロエレクトロニクス Method and apparatus for displaying traffic of a universal serial bus smart card module
JP2006242382A (en) * 2005-03-01 2006-09-14 Heidelberger Druckmas Ag Optical passing sensor device having separate output signals
JP2011082871A (en) * 2009-10-08 2011-04-21 Galaxy:Kk Transmission circuit, transmission method, and dimming information transmitting circuit of lighting equipment
JP2011513937A (en) * 2008-03-05 2011-04-28 マスコ コーポレーション User interface for wireless lighting control
US10236976B2 (en) 2017-02-27 2019-03-19 Panasonic Intellectual Property Management Co., Ltd. Lighting device and lighting system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004524597A (en) * 2000-09-14 2004-08-12 エスティーマイクロエレクトロニクス Method and apparatus for displaying traffic of a universal serial bus smart card module
JP2006242382A (en) * 2005-03-01 2006-09-14 Heidelberger Druckmas Ag Optical passing sensor device having separate output signals
JP2011513937A (en) * 2008-03-05 2011-04-28 マスコ コーポレーション User interface for wireless lighting control
JP2011082871A (en) * 2009-10-08 2011-04-21 Galaxy:Kk Transmission circuit, transmission method, and dimming information transmitting circuit of lighting equipment
US10236976B2 (en) 2017-02-27 2019-03-19 Panasonic Intellectual Property Management Co., Ltd. Lighting device and lighting system

Also Published As

Publication number Publication date
JP3115940B2 (en) 2000-12-11

Similar Documents

Publication Publication Date Title
US5432805A (en) Method of detecting transmission error in disaster prevention supervisory system
JP3115940B2 (en) Communication line status display circuit
US6393020B1 (en) Gated multi-drop communication system
GB2178878A (en) Alarm system with priority override
CN110989451B (en) Detection control method based on multi-point touch and remote control shared detection control system
JP2667909B2 (en) Elevator signal transmission method
JP3472891B2 (en) Control communication system
US20030196000A1 (en) Data transmission method
JPS6175651A (en) Modulator-demodulator
JP2825095B2 (en) Mode analyzer
JPH05244230A (en) Data transmission test equipment
JP3030475B2 (en) Display controller in disaster prevention display system
JPS63187745A (en) Terminal equipment
JP3017520B2 (en) Line monitor terminal for remote monitoring and control system
JP2619558B2 (en) Elevator signal transmission equipment
JPS62173830A (en) System for detecting disconnection of time division multiplex transmission system
JP2599453Y2 (en) Nurse call device
JP2555232B2 (en) Elevator signal transmission device
JPH0522781A (en) Remote monitoring control system
KR19980066441A (en) Elevator signal transmission device and method
JPS62245463A (en) Data transfer system
JP2000241480A (en) Multi-cable checker
JPS6165553A (en) Power off detection of modulating/demodulating device
JPS62174665A (en) Detection system for wire disconnection in time-division multiplex transmission system
JPH0295685A (en) Signal transmitting device for elevator

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000919

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080929

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080929

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090929

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090929

Year of fee payment: 9

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090929

Year of fee payment: 9

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090929

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100929

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110929

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110929

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120929

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120929

Year of fee payment: 12