JPH04103044U - Communication device - Google Patents

Communication device

Info

Publication number
JPH04103044U
JPH04103044U JP1991005268U JP526891U JPH04103044U JP H04103044 U JPH04103044 U JP H04103044U JP 1991005268 U JP1991005268 U JP 1991005268U JP 526891 U JP526891 U JP 526891U JP H04103044 U JPH04103044 U JP H04103044U
Authority
JP
Japan
Prior art keywords
transmission
communication
signal
data
transmitting
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
JP1991005268U
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 JP1991005268U priority Critical patent/JPH04103044U/en
Publication of JPH04103044U publication Critical patent/JPH04103044U/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

(57)【要約】 【目的】 何らかの原因で送信状態が所定期間を越えて
継続すると強制的に送信状態を停止させることでコンテ
ンションを防ぐことのできる通信装置を提供する。 【構成】 ネットワークはホテルHT内に設けられ、フ
ロント及び各階の通信装置(主局5及び従局7a〜7
n)が通信回線3に分岐接続され、主局5及び従局7a
〜7nの夫々には通信制御部20が備えられている。通
信制御部20では、何らかの異常によってSIO20a
が送信状態に固定され送信状態が長引くと、異常発生の
直前のトリガ・タイミングでモニタ回路20cから出力
されたリミット信号SLMが、そのパルス幅Tの期間で途
絶することで、送受信切り換え回路20dの送受信切り
換え信号STRを強制的にLowに転換さる。そのため、ト
ランシーバ20ではドライバDRが停止すると共にレシ
ーバRCが起動する。
(57) [Summary] [Purpose] To provide a communication device that can prevent contention by forcibly stopping the transmission state if the transmission state continues beyond a predetermined period for some reason. [Configuration] The network is installed in the hotel HT, and the communication equipment at the front desk and each floor (main station 5 and slave stations 7a to 7
n) is branch-connected to the communication line 3, and the main station 5 and slave station 7a
~7n are each equipped with a communication control section 20. In the communication control unit 20, due to some abnormality, the SIO 20a
is fixed in the transmitting state and the transmitting state is prolonged, the limit signal SLM output from the monitor circuit 20c at the trigger timing immediately before the occurrence of an abnormality is interrupted during the period of the pulse width T, and the transmitting/receiving switching circuit 20d is The transmission/reception switching signal STR is forcibly changed to Low. Therefore, in the transceiver 20, the driver DR is stopped and the receiver RC is started.

Description

【考案の詳細な説明】[Detailed explanation of the idea]

【0001】0001

【産業上の利用分野】[Industrial application field]

本考案は通信回線を多重化して情報伝送を行う多重伝送網の一局を構成する通 信装置に関する。 This invention is a communication network that constitutes one station of a multiplex transmission network that transmits information by multiplexing communication lines. related to communication equipment.

【0002】0002

【従来の技術】[Conventional technology]

従来、複数の通信装置のそれぞれが通信回線に分岐接続され、通信回線を多重 化してデータ伝送を行う多重通信システムが知られている。たとえば、建物内部 に設置されたローカルエリア・ネットワークであって、建物の一階に通信全体を 制御する通信装置(以下、主局という)が、各階にそれぞれ一つの通信装置(以 下、従局という)が配設され、主局が通信回線の始端に接続されると共に他の通 信装置のそれぞれが通信回線に分岐接続されて(以下、この接続形態をマルチド ロップという)、時分割方式により多重化された通信回線を介してシリアル双方 向通信を行う多重通信システムが知られている。 Conventionally, each of multiple communication devices is branch-connected to a communication line, and communication lines are multiplexed. A multiplex communication system that transmits data by converting the data into two is known. For example, inside a building A local area network installed in a building with all communications on the ground floor of a building. The communication device to be controlled (hereinafter referred to as the main station) has one communication device (hereinafter referred to as the main station) on each floor. A slave station (hereinafter referred to as "slave station") is installed, and the master station is connected to the start end of the communication line, and other communication lines are Each of the communication devices is branch-connected to the communication line (hereinafter, this connection form is referred to as multi-drive). (referred to as a 3-bit flop), both serially and serially via time-division multiplexed communication lines. A multiplex communication system that performs mutual communication is known.

【0003】 この種の多重通信システムにおいては、主局がポーリング(従局に問い合わせ を行い、データの送信を促す)/セレクティング(従局に問い合わせを行い、デ ータの受信を促す)方式により通信全体を制御するのが一般的である。すなわち 、主局は所定の順序で従局のそれぞれに対して問い合わせを行い、従局は主局か ら自局に対して問い合わせがあったときにのみ応答して送信を行うことで、送信 衝突(コンテンション)が起こらないようにしている。0003 In this type of multiplex communication system, the master station polls (queries the slave stations). to prompt data transmission)/Selecting (inquiry slave stations and request data transmission) Generally, the entire communication is controlled by a system that prompts the reception of data. i.e. , the master station queries each of the slave stations in a predetermined order, and the slave stations ask whether the master station By responding and transmitting only when an inquiry is made to your own station, This prevents conflicts from occurring.

【0004】 また、多重通信システムを構成する通信装置は、たとえば、TTLレベルの送 信データを所定の電気的規格の信号へ変換して通信回線へ送出するドライバと、 通信回線からの信号を受信してTTLレベルの受信データへ変換するレシーバと 、送信データを発生したり受信データを格納したりすると共にドライバ又はレシ ーバに送信又は受信の指令を出力する通信コントローラなどを備えている。この 通信コントローラには、マイクロコンピュータが接続されて、より高度な通信制 御が行われることもある。さらに、通信装置の電源が遮断されたときには、ドラ イバの出力端をオープンにしてハイ・インピーダンス状態とすることによって、 他の従局の送信動作を妨げないようにしている。0004 Furthermore, the communication devices constituting the multiplex communication system, for example, transmit TTL level data. a driver that converts communication data into a signal of a predetermined electrical standard and sends it to a communication line; A receiver that receives signals from a communication line and converts them into TTL level received data. , generates transmitted data, stores received data, and also functions as a driver or receiver. It is equipped with a communication controller that outputs transmission or reception commands to the server. this A microcomputer is connected to the communication controller to provide more advanced communication control. Sometimes God is doing it. In addition, when the communication device is powered down, the driver By opening the output terminal of the driver and putting it in a high impedance state, This is done so as not to interfere with the transmission operations of other slave stations.

【0005】 このように上記通信システムでは、コンテンションが起こらないように構成さ れているので、送信の優先順位(プライオリティ)を定める必要や、コンテンシ ョン発生時に自局と衝突相手局との何れを優先するかを裁定する(アービトレイ ション)ための回路を設ける必要がなく、通信手順や通信装置の回路構成が簡単 になるという利点があり、加えてマルチドロップ接続は配線・施工がしやすいと いう利点もあって、広く採用されている。[0005] In this way, the above communication system is configured so that contention does not occur. This eliminates the need to determine transmission priorities and content When a collision occurs, it is decided whether to give priority to the own station or the colliding partner station (arbitrator) It is not necessary to provide a circuit for communication), and the communication procedure and circuit configuration of the communication device are simple. In addition, multi-drop connections are easy to wire and install. Because of these advantages, it has been widely adopted.

【0006】[0006]

【考案が解決しようとする課題】[Problem that the idea aims to solve]

しかし、上記通信装置は、電源故障時には当該多重通信システムでのコンテン ションを防ぐことができるものの、通信コントローラの故障やマイクロコンピュ ータの暴走によって通信コントローラが送信指令を出したままの状態に固定され ドライバが送信動作を続けたときには、当該通信装置により通信回線が占有され た状態になって、他局が送信すると常にコンテンションが発生し通信が不能にな ってしまうという問題が起こる。 However, in the case of a power failure, the above-mentioned communication equipment cannot maintain content in the multiplex communication system. Although communication controller failure and microcomputer Due to the data going out of control, the communication controller is stuck issuing a transmission command. When the driver continues transmitting, the communication line is occupied by the communication device. When the other station transmits data, contention always occurs and communication becomes impossible. The problem arises that

【0007】 また、ドライバが送信動作の状態に長時間おかれると、過熱して内部回路の故 障や破壊が起こることもあるといった問題も生じる。 そこで本考案は、何らかの原因で送信状態が所定期間を越えて継続すると強制 的に送信状態を停止させることでコンテンションを防ぐことのできる通信装置を 提供することにある。[0007] Also, if the driver is left in the transmitting state for a long time, it may overheat and cause damage to the internal circuit. Problems also arise, such as failure and destruction. Therefore, in this invention, if the transmission status continues beyond a predetermined period for some reason, the A communication device that can prevent contention by stopping the transmission state automatically. It is about providing.

【0008】[0008]

【課題を解決するための手段】[Means to solve the problem]

本考案の要旨とするところは、 通信回線を多重化して情報伝送を行う多重伝送網の一局を構成する通信装置で あって、 送信情報を発生すると共に該送信情報の量に対応する期間該送信情報の送信を 指令する送信指令信号を発生する送信情報発生手段と、 上記送信情報発生手段にて発生した送信情報に対応する送信信号を上記通信回 線へ出力する送信手段と、 上記通信回線からの信号を受信して該受信信号に対応する受信情報を再生する 受信手段と、 上記送信情報発生手段から送信指令信号が入力されると上記送信手段を起動さ せると共に上記受信手段を停止させ、該送信指令信号が途絶すると上記送信手段 を停止させると共に上記受信手段を起動させる送受信切り換え手段と、 上記送信情報発生手段が所定期間を越えて継続して送信指令信号を発生すると 、上記送受信切り換え手段に強制して上記送信手段を停止させると共に上記受信 手段を起動させる強制切り換え手段と、 を備えることを特徴とする通信装置にある。 The gist of this idea is: A communication device that constitutes one station in a multiplex transmission network that transmits information by multiplexing communication lines. There it is, Generating transmission information and transmitting the transmission information for a period corresponding to the amount of the transmission information. Transmission information generating means for generating a transmission command signal to command; The transmission signal corresponding to the transmission information generated by the transmission information generation means is transmitted to the communication circuit. a transmission means for outputting to the line; Receive a signal from the communication line and reproduce received information corresponding to the received signal. receiving means; When a transmission command signal is input from the transmission information generating means, the transmission means is activated. and stops the receiving means, and when the transmission command signal is interrupted, the transmitting means a transmitting/receiving switching means for stopping the transmitting means and activating the receiving means; If the transmission information generating means continues to generate a transmission command signal for a predetermined period of time, , forcing the transmission/reception switching means to stop the transmission means and switch the transmission/reception. forced switching means for activating the means; A communication device comprising:

【0009】[0009]

【作用】[Effect]

上記のように構成された本考案の通信装置によれば、送信情報発生手段が、送 信情報を発生すると共に、その送信情報の量に応じた期間、送信指令信号を発生 する。送受信切り換え手段は、その送信指令信号が入力されると、送信手段を起 動させると共に受信手段を停止させる。すると、送信手段が送信情報に対応する 送信信号を通信回線へ出力する。送信情報発生手段からの送信指令信号が途絶す ると、送受信切り換え手段が送信手段を停止させると共に上記受信手段を起動さ せる。すると、受信手段が通信回線からの信号を受信してその受信信号に対応す る受信情報を再生する。 According to the communication device of the present invention configured as described above, the transmission information generating means In addition to generating transmission information, it also generates a transmission command signal for a period corresponding to the amount of transmission information. do. The transmission/reception switching means starts the transmission means when the transmission command signal is input. and at the same time stop the receiving means. Then, the transmission means corresponds to the transmitted information. Outputs the transmission signal to the communication line. The transmission command signal from the transmission information generation means is interrupted. Then, the transmission/reception switching means stops the transmitting means and starts the receiving means. let Then, the receiving means receives the signal from the communication line and responds to the received signal. Play the received information.

【0010】 ここで、何らかの原因で送信情報発生手段に異常が起こり、送信指令信号が発 生し続け、所定期間を越えて継続したとする。すると、強制切り換え手段が送受 信切り換え手段に強制して送信手段を停止させると共に受信手段を起動させる。0010 At this point, an abnormality occurs in the transmission information generation means for some reason, and the transmission command signal is not generated. Suppose that it continues to exist and continues for a predetermined period of time. Then, the forced switching means The communication switching means is forced to stop the transmitting means and start the receiving means.

【0011】[0011]

【実施例】 以下に本考案の実施例を図面と共に説明する。 まず、図1は本考案を適用した通信装置の構成を表すブロック図、図2はロー カルエリア・ネットワーク全体の構成を表すブロック図である。【Example】 Embodiments of the present invention will be described below with reference to the drawings. First, Figure 1 is a block diagram showing the configuration of a communication device to which the present invention is applied, and Figure 2 is a block diagram showing the configuration of a communication device to which the present invention is applied. FIG. 1 is a block diagram showing the overall configuration of the Calarea network.

【0012】 図2に示すように、ホテルHTの内部に配線された一系統の通信回線3に、一 階フロントに配設された通信装置(以下、主局という)5とホテルHTの各階に 一局ずつ配設された通信装置(以下、従局という)7a〜7nとがマルチドロッ プで接続されることによって、ローカルエリア・ネットワーク(以下、単にネッ トワークという)が構築されている。このネットワークにおいては、主局5の通 信制御の下で時分割方式により通信回線3が多重化されて、主局5と従局7a〜 7nとの間でシリアル・ビット信号を用いた双方向のデータ通信が行われる。0012 As shown in Figure 2, one system of communication line 3 wired inside the hotel HT has one Communication equipment (hereinafter referred to as the main station) 5 installed at the front desk on each floor and each floor of the hotel HT. Communication devices (hereinafter referred to as slave stations) 7a to 7n arranged one by one are multi-drop local area networks (hereinafter referred to simply as networks). A network (called a network) has been constructed. In this network, the main station 5 The communication line 3 is multiplexed in a time-division manner under communication control, and the main station 5 and slave stations 7a to 7a are multiplexed. 7n, bidirectional data communication is performed using serial bit signals.

【0013】 通信回線3は、たとえばツイストペア線3a,3bで構成され、その始端LS は主局5に接続されている。 なお、通信回線3やシリアル・ビット信号は、たとえば国際電信電話諮問委員 会(CCITT)の定めた電気的規格に準拠したものが用いられる。[0013] The communication line 3 is composed of, for example, twisted pair wires 3a and 3b, and the starting end LS is connected to the main station 5. Note that the communication line 3 and serial bit signals are, for example, The one that complies with the electrical standards set by the Association of Electrical Engineers (CCITT) is used.

【0014】 主局5は、ポーリング/セレクティング方式により各種データを従局7a〜7 nへ送信したり、従局7a〜7nからの伝送データを受信する。また、主局5に は周知のマイクロコンピュータ(図示略)が備えられ、送信データの作成処理、 受信データの各種処理、送受信実行に伴う各種処理などを行うように構成されて いる。さらに、入力装置及び表示装置(何れも図示略)が備えられ、当該階の各 客室の使用状態に関する各種データが入力できると共に、それらのデータや従局 7a〜7nからの伝送データなどを表示できるように構成されている。[0014] The master station 5 sends various data to the slave stations 7a to 7 using a polling/selecting method. and receives transmission data from slave stations 7a to 7n. Also, on main station 5 is equipped with a well-known microcomputer (not shown), and processes the creation of transmission data, It is configured to perform various processes on received data and various processes associated with sending and receiving data. There is. Furthermore, an input device and a display device (both not shown) are provided, and each You can input various data related to the usage status of the guest room, and also It is configured so that transmission data etc. from 7a to 7n can be displayed.

【0015】 従局7a〜7nは、主局5からポーリングやセレクティングがあると、それら の応答要求に応えて各種データを主局5に送信したり、主局5からの伝送データ を受信する。また、従局7a〜7nにもマイクロコンピュータ(図示略)が備え られ送信データの作成処理、受信データの各種処理、送受信実行に伴う各種処理 などを行うように構成されている。さらに、入力装置及び表示装置(何れも図示 略)が備えられ、当該階の各客室の使用状態に関する各種データが入力できると 共に、入力データや主局5からの伝送データなどを表示できるように構成されて いる。[0015] When there is polling or selection from the master station 5, the slave stations 7a to 7n Sends various data to the main station 5 in response to the response request of receive. Further, the slave stations 7a to 7n are also equipped with microcomputers (not shown). Creation process of transmitted data, various processes of received data, various processes associated with sending/receiving execution It is configured to do the following. In addition, input devices and display devices (both shown in the figure) ), and various data regarding the usage status of each guest room on the relevant floor can be entered. Both are configured to display input data, transmission data from the main station 5, etc. There is.

【0016】 図1に示すように、通信装置(主局5及び従局7a〜7n)のそれぞれには、 通信制御部20が備えられている。この通信制御部20は、シリアル通信を制御 するSIO20aと、通信回線3に接続され、通信回線3とSIO20aとの間 で信号レベルを変換するトランシーバ20bと、SIO20aからの送信データ TXD をモニタするモニタ回路20cと、SIO20aからの送信要求信号(L owアクティブ)RTSに基づいてトランシーバ20bを送信動作又は受信動作に 切り換える送受信切り換え回路20dとを主要部として構成されている。[0016] As shown in FIG. 1, each of the communication devices (main station 5 and slave stations 7a to 7n) includes: A communication control section 20 is provided. This communication control unit 20 controls serial communication. SIO20a connected to communication line 3, and between communication line 3 and SIO20a transceiver 20b that converts the signal level with A monitor circuit 20c that monitors TXD and a transmission request signal (L ow active) The transceiver 20b is placed in transmitting or receiving operation based on RTS. The transmission/reception switching circuit 20d is the main part.

【0017】 なお、本実施例ではSIO20aが送信情報発生手段に、モニタ回路20cが 強制切り換え手段に相当する。 SIO20aはバスBSによりマイクロコンピュータ(図示略)に接続され、 マイクロコンピュータからの送信命令があると送信要求信号RTS(Lowアクテ ィブ)を出力すると共に、その信号を送信可信号CTS(Lowアクティブ)として 入力することで送信モードにセットされる。僅かな調整時間TP の後に、マイク ロコンピュータから転送されたパラレルの送信データをシリアルのビット・パル スで構成された送信データTXD に変換し、トランシーバ20bを介して通信回 線3へ送出する。たとえば、調歩式のシリアル通信の場合、送信データTXD ( 1キャラクタ)は、最先頭のスタート・ビット(1ビット,Low)・1キャラク タ分のデータ・ビット(8ビット,High 又はLow)・最後のストップ・ビット (1ビット,High )というビット・パルス構成となっている。またSIO20 aは、マイクロコンピュータから受信命令があると受信モードになるようにセッ トされ、シリアルの受信データRXD が入力されると、パラレルの受信データに 変換してマイクロコンピュータへ転送する。受信データRXD も上記送信データ TXD と同様のビット・パルス構成である。[0017] In this embodiment, the SIO 20a serves as the transmission information generating means, and the monitor circuit 20c serves as the transmission information generating means. This corresponds to forced switching means. SIO20a is connected to a microcomputer (not shown) by bus BS, When there is a transmission command from the microcomputer, the transmission request signal RTS (Low active At the same time, it outputs the signal as a transmittable signal CTS (Low active). Entering this will set it to transmit mode. After a short adjustment time TP, the microphone The parallel transmission data transferred from the microcomputer is converted into serial bit pulses. The communication circuit is converted into transmission data TXD composed of transceiver 20b. Send to line 3. For example, in the case of start-stop serial communication, the transmission data TXD ( 1 character) is the first start bit (1 bit, Low), 1 character data bits (8 bits, high or low), last stop bit The bit pulse configuration is (1 bit, High). Also SIO20 a is set to go into receive mode when there is a receive command from the microcomputer. When the serial receive data RXD is input, the parallel receive data is Convert and transfer to microcomputer. Reception data RXD is also the above transmission data It has a bit/pulse configuration similar to TXD.

【0018】 なお、通信速度(ボーレート)は、クロック回路CLKからのクロック信号φ に基づいて生成される送信用及び受信用のエレメントタイミングTXC 及びRX C により予め定められる。また、SIO20aは周知のものであって、たとえ ばザイログ社のZ80SIOや日本電気のμPD7201Aなどが知られている ので、その構成・動作の詳細は省略する。[0018] Note that the communication speed (baud rate) is determined by the clock signal φ from the clock circuit CLK. Element timings for transmission and reception generated based on TXC and RX C. In addition, SIO20a is well-known, and even if Bazilog's Z80SIO and NEC's μPD7201A are well known. Therefore, details of its configuration and operation will be omitted.

【0019】 トランシーバ20bは、SIO20aからの送信データTXD を所定の電気的 規格の信号に変換して通信回線3へ送出するドライバDRと、通信回線3からの 信号をSIO20aの電気的仕様に変換するレシーバRCとを備えている。トラ ンシーバ20bでは、送受信切り換え回路20dからの送受信切り換え信号STR (High アクティブ、詳細は後述する)が入力されると、ドライバDRが動作す ると共にレシーバRCが停止し、送受信切り換え信号STRが途絶すると(Low) 、ドライバDRが停止すると共にレシーバRCが動作するように構成されている 。[0019] The transceiver 20b converts the transmission data TXD from the SIO 20a into a predetermined electrical A driver DR converts the signal into a standard signal and sends it to the communication line 3, and a signal from the communication line 3. It includes a receiver RC that converts the signal into the electrical specifications of the SIO 20a. Tiger In the receiver 20b, the transmission/reception switching signal STR from the transmission/reception switching circuit 20d (High active, details will be explained later) is input, the driver DR starts operating. When the receiver RC stops and the transmission/reception switching signal STR is interrupted (Low) , the receiver RC is configured to operate when the driver DR stops. .

【0020】 ドライバDRは差動型アンプであって、SIO20aからの送信データTXD (TTLレベルのビットパルス)を所定の規格の平衡出力信号(正及び負にスウ ィングするビットパルス)に変換して通信回線3へ送出する。また、ドライバD Rはスリーステート形の回路構成となっており、電源が遮断されたときには出力 端は内部回路から遮断されハイ・インピーダンス状態になり、他局の送信動作を 妨げないように構成されている。[0020] Driver DR is a differential amplifier, and transmits data TXD from SIO20a. (TTL level bit pulse) to a balanced output signal of a predetermined standard (positive and negative swing) It converts it into a bit pulse (to be transmitted) and sends it to the communication line 3. Also, driver D R has a three-state circuit configuration, and when the power is cut off, the output The end is cut off from the internal circuit and becomes a high impedance state, preventing other stations from transmitting. It is configured so that it does not interfere.

【0021】 レシーバRCも差動型アンプであって、は通信回線3からの平衡入力信号を所 定の電気的仕様(TTLレベル)に変換してSIO20aへ出力する。 また、通信回線3とトランシーバ20bとの接続端子Ta,Tbには、トランシ ーバ20bと通信回線3とのインピーダンス整合をとり反射による信号減衰を軽 減するための終端抵抗RT が設けられている。[0021] The receiver RC is also a differential amplifier, and receives the balanced input signal from the communication line 3. It is converted into a fixed electrical specification (TTL level) and output to the SIO 20a. Further, connection terminals Ta and Tb between the communication line 3 and the transceiver 20b are connected to transceivers. impedance matching between the server 20b and the communication line 3 to reduce signal attenuation due to reflection. A terminating resistor RT is provided to reduce the voltage.

【0022】 モニタ回路20cは、SIO20aから送信データTXD が入力されるタイミ ングでワンショット・パルスを出力するマルチバイブレータMBを中心とする回 路である。すなわち、マルチバイブレータMBでは入力される送信データTXD の論理レベルが最初にLowになるタイミングで最初のトリガ(以下、始発トリガ という)がかかり、ドライバDRの送信状態の最長期間を限定するリミット信号 SLMが出力される。さらに、マルチバイブレータMBは再トリガ可能に構成され ており、リミット信号SLMの出力中に送信データTXD が再び入力されその論理 レベルがLowになると、その時点でリミット信号SLMを改めて出力するので、リ ミット信号SLMは所定パルス幅T以上に延長される。[0022] The monitor circuit 20c monitors the timing at which the transmission data TXD is input from the SIO 20a. The circuit revolves around the multivibrator MB, which outputs one-shot pulses when It is a road. That is, in the multivibrator MB, the input transmission data TXD The first trigger (hereinafter referred to as the first trigger) occurs when the logic level of ), which limits the maximum period of the driver DR's transmission state. SLM is output. Additionally, the multivibrator MB is configured to be retriggerable. The transmission data TXD is input again while the limit signal SLM is being output, and its logic is When the level becomes Low, the limit signal SLM is output again at that point. The mit signal SLM is extended beyond a predetermined pulse width T.

【0023】 なお、リミット信号(High アクティブ)SLMのパルス幅Tは、外付けの抵抗 Rext の大きさ及びコンデンサCext の容量で決まり、SIO20aの送信モー ドの期間より十分長く設定される。マイクロコンピュータによる命令ではパルス 幅Tの期間を越えて送信モードが継続されることはなく、このような送信継続状 態はマイクロコンピュータの暴走やSIO20aの故障など、主局5及び従局7 a〜7nにおいて何らかの異常が発生した場合以外にありえないということが、 シミュレーションによって判明している。[0023] Note that the pulse width T of the limit signal (High active) SLM is determined by the external resistor. The transmission mode of SIO20a is determined by the size of Rext and the capacitance of capacitor Cext. The period is set to be sufficiently longer than the period of the code. Pulse according to instructions by microcomputer The transmission mode is not continued beyond the period of width T, and such a transmission continuation state The main station 5 and slave station 7 may This cannot happen unless some kind of abnormality occurs in a to 7n. This has been confirmed by simulation.

【0024】 送受信切り換え回路20dはインバータNOT及び論理積素子ANDからなる 。送受信切り換え回路20dは、SIO20aからの送信要求信号RTSの反転 信号SRTS とモニタ回路20dからのリミット信号SLMとの論理積をとった送受 信切り換え信号STRをトランシーバ20bへ出力する。すなわち、リミット信号 SLMがHigh の期間中、送受信切り換え信号STRは反転信号SRTS に応じた信号 レベルとなり、リミット信号SLMがLowの期間中は常時Lowとなる。[0024] The transmission/reception switching circuit 20d consists of an inverter NOT and an AND element AND. . The transmission/reception switching circuit 20d inverts the transmission request signal RTS from the SIO 20a. Sending/receiving the AND of the signal SRTS and the limit signal SLM from the monitor circuit 20d A signal switching signal STR is output to the transceiver 20b. In other words, the limit signal During the period when SLM is High, the transmission/reception switching signal STR is a signal corresponding to the inverted signal SRTS. level, and is always Low while the limit signal SLM is Low.

【0025】 図3に示すように、上記のように構成された主局5と従局7a〜7nとの間で は、所定の手順に従って通信が行われる。 たとえば、同図の(A)欄に示すように、ポーリングのときには、まず主局5 は、所定の順序で、従局7a〜7nのそれぞれに、同期信号を表すキャラクタS YN・送信先の従局7a〜7nのアドレスUAD・問い合わせを表すキャラクタ ENQからなる応答要求メッセージを送信する。この送信に対して、従局7a〜 7nは、メッセージの開始を表すSTX・従局7a〜7nの配設された階の客室 のうちデータを変更すべき客室のナンバRAD・メッセージ(一つの伝送ブロッ ク)の終結を表すデータETBからなる返信メッセージを送信して応答する。[0025] As shown in FIG. 3, between the main station 5 and the slave stations 7a to 7n configured as described above, Communication is performed according to a predetermined procedure. For example, as shown in column (A) of the figure, when polling, first the main station 5 is a character S representing a synchronization signal to each of slave stations 7a to 7n in a predetermined order. YN, address UAD of destination slave station 7a to 7n, character representing inquiry Send a response request message consisting of ENQ. In response to this transmission, slave stations 7a~ 7n is a guest room on the floor where STX/substations 7a to 7n, which indicate the start of a message, are installed. The guest room number RAD/message (one transmission block) whose data should be changed. In response, a reply message consisting of data ETB representing the termination of h) is sent.

【0026】 当該従局7a〜7nからの応答があると、主局5は、肯定応答を表すキャラク タACK・RADからなる肯定応答メッセージを送信し、この送信に対して、従 局7a〜7nは、STX・当該客室の状況に関する各種データDAT・テキスト の終結を表すETXからなるテキスト・メッセージを送信して応答する。[0026] When there is a response from the slave stations 7a to 7n, the master station 5 sends a character indicating an affirmative response. It sends an acknowledgment message consisting of data ACK and RAD, and in response to this transmission, Stations 7a to 7n transmit various data DAT and text regarding STX and the status of the guest room. respond by sending a text message consisting of ETX indicating the termination of.

【0027】 すると主局5は、ACK・RADからなる肯定応答メッセージを送信してデー タ受信の確認を行う。このメッセージを受け取ると、従局7a〜7nは伝送の終 了を表すキャラクタEOTを送信し、通信を打ち切る。[0027] Then, the main station 5 sends an acknowledgment message consisting of ACK and RAD and acknowledges the data. Confirm data reception. Upon receiving this message, the slave stations 7a to 7n terminate the transmission. The character EOT indicating completion is transmitted and communication is terminated.

【0028】 同図の(B)欄に示すように、セレクティングのときには、主局5=送信(S YN・RAD・ENQ)→従局7a〜7n=返信(ACK・RAD)→主局5= 送信(STX・従局7a〜7nに伝達すべきデータDAT・RAD・ETX)→ 従局7a〜7n=返信(ACK・RAD)→主局5=通信終了(EOT)といっ た手順で通信が行われる。[0028] As shown in column (B) of the figure, when selecting, main station 5 = transmission (S YN・RAD・ENQ)→Slave stations 7a to 7n=Reply (ACK・RAD)→Main station 5= Transmission (STX/data to be transmitted to slave stations 7a to 7n DAT/RAD/ETX) → Slave stations 7a to 7n = reply (ACK/RAD) → master station 5 = end of communication (EOT). Communication is performed according to the procedure specified.

【0029】 次に、通信制御部20の動作について、従局7a〜7nの場合を例にして、図 4のタイミング・チャートを参照しながら説明する。 図に示すように、従局7a〜7nでは主局5からポーリングがあると、マイク ロコンピュータの指令でSIO20aが送信モードに入り送信要求信号RTSを 出力する。僅かな調整時間TP の後に、返信メッセージ(STX・RAD・ET B)を送信データTXD としてトランシーバ20b及びマルチバイブレータMB へ出力する。すると、マルチバイブレータMBに始発トリガがかかり、リミット 信号SLM(High )が送受信切り換え回路20dへ出力される。すると、送受信 切り換え回路20dが、送受信切り換え信号STR(High )をトランシーバ20 bへ出力し、ドライバDRが動作状態に入り送信データTXD を平衡出力の送信 信号に変換して通信回線3へ送出する。SIO20aからの送信要求信号RTS が途絶すると、送受信切り換え信号STRも途絶し、その結果ドライバDRが停止 すると共にレシーバRCが動作状態に入る。続いて、テキスト・メッセージ(S TX・DAT・ETX)の送信→主局5からの肯定応答の受信→通信打ち切り( EOT)の送信と、双方向通信が推移する。[0029] Next, regarding the operation of the communication control section 20, the case of the slave stations 7a to 7n will be explained as an example. This will be explained with reference to the timing chart of No. 4. As shown in the figure, when the slave stations 7a to 7n receive polling from the master station 5, the microphone The SIO20a enters the transmission mode according to the command from the computer and sends the transmission request signal RTS. Output. After a short adjustment time TP, a reply message (STX/RAD/ET B) as transmission data TXD and transceiver 20b and multivibrator MB. Output to. Then, the first trigger is applied to the multivibrator MB, and the limit is applied. A signal SLM (High) is output to the transmission/reception switching circuit 20d. Then, sending and receiving The switching circuit 20d sends the transmission/reception switching signal STR (High) to the transceiver 20. The driver DR enters the operating state and sends the transmission data TXD as a balanced output. It is converted into a signal and sent to the communication line 3. Transmission request signal RTS from SIO20a When the transmission/reception switching signal STR is interrupted, the transmission/reception switching signal STR is also interrupted, and as a result, the driver DR is stopped. At the same time, receiver RC enters the operating state. Next, send a text message (S TX/DAT/ETX) transmission → reception of acknowledgment from main station 5 → communication termination ( EOT) transmission and two-way communication will continue.

【0030】 このように通信が正常に推移する過程では、それぞれの送信の際に、マルチバ イブレータMBに再トリガがかかるので、リミット信号SLMは継続される。通信 打ち切り(EOT)の送信の際に最終トリガがかかり、その時点(t1)からパ ルス幅Tの期間を経過したところでリミット信号SLMはLowになる。つまり、上 記通信過程を通してリミット信号SLMはHigh レベルに保持される野で、送受信 切り換え信号STRは、SIO20aの送信モードと受信モードとの切り換えに連 れてアクティブ(High )とノンアクティブ(Low)とに切り換わる。[0030] In the process of communication progressing normally, multiband transmission occurs during each transmission. Since the ibrator MB is retriggered, the limit signal SLM continues. communication The final trigger is activated when the termination (EOT) is sent, and the pattern starts from that point (t1). After the period of pulse width T has elapsed, the limit signal SLM becomes Low. That is, above Throughout the communication process, the limit signal SLM is held at High level, and the transmission/reception The switching signal STR is connected to switching between the transmission mode and reception mode of SIO20a. and switches between active (High) and non-active (Low).

【0031】 一定期間の後に、主局5からセレクティングがあると、ポーリングのときと同 様にして応答メッセージ(ACK・RAD)を送る。続いて、主局5からテキス ト・メッセージを受け取ると、肯定応答のメッセージ(ACK・RAD)を送る 。 ここで、その肯定応答メッセージの送信途中でマイクロコンピュータの暴走 やSIO20aの故障といった異常が起こりSIO20aが送信状態に固定され たとする。[0031] If there is a selection from the main station 5 after a certain period of time, it will be the same as polling. A response message (ACK/RAD) is sent in the same way. Next, a text from main station 5 When receiving a message, sends an acknowledgment message (ACK/RAD) . Here, the microcomputer goes out of control while sending the acknowledgment message. An abnormality such as a failure or failure of SIO20a occurs and SIO20a is fixed in the transmitting state. Suppose that

【0032】 この場合、SIO20aでは送信要求信号RTSが出続けると共に送信データ TXD はアイドル状態(High )になる。そのため、ドライバDRは通常の送信 期間を越えて送信動作を継続する。しかし、マルチバイブレータMBでは、上記 異常発生以後にはトリガがかからないので、その直前のトリガが最終となり、そ の時点(tx)から出力されたリミット信号SLMは所定期間Tを経過したところ でLowになる。その結果、送受信切り換え信号STRは途絶して(Low)、ドライ バDRが停止すると共にレシーバRCが起動する。[0032] In this case, the SIO 20a continues to output the transmission request signal RTS and transmit data. TXD becomes idle (High). Therefore, driver DR uses normal transmission. Continue the sending operation beyond the period. However, with the multivibrator MB, the above Since no trigger will be activated after an error occurs, the previous trigger will be the final one. The limit signal SLM output from the time point (tx) is after the predetermined period T has elapsed. becomes Low. As a result, the transmit/receive switching signal STR is interrupted (Low) and the When the receiver DR stops, the receiver RC starts.

【0033】 以上説明したように本実施例では、通信装置(主局5及び従局7a〜7n)の 何れかにおいて送信中に何らかの異常が起こり、SIO20aが送信状態に固定 され送信状態が継続したときには、異常発生の直前のトリガ・タイミングで出力 されたリミット信号SLMがパルス幅Tの期間完了で途絶することで送受信切り換 え信号STRを強制的にLowにさせて、ドライバDRが停止させると共にレシーバ RCが起動させる。それ故、通信装置(主局5及び従局7a〜7n)の何れかが 故障したときにもネットワークにおいてコンテンションが起こらず他局間のデー タ通信が確保される。[0033] As explained above, in this embodiment, the communication devices (main station 5 and slave stations 7a to 7n) Some kind of abnormality occurs during transmission, and SIO20a is fixed in the transmission state. If the transmission status continues, the output will occur at the trigger timing immediately before the error occurs. Transmission/reception switching occurs when the limit signal SLM is interrupted at the completion of the period of pulse width T. The signal STR is forced to go low, causing the driver DR to stop and the receiver RC activates it. Therefore, any of the communication devices (master station 5 and slave stations 7a to 7n) Even in the event of a failure, contention does not occur in the network and data between other stations is maintained. data communication is ensured.

【0034】 またドライバDRが、長時間、動作状態におかれることがないので、過熱する ことがなく、したがってドライバDRの耐用期間が延びる。 なお、本実施例ではSIO20aの送信データTXD を、マルチバイブレータ MBのトリガ入力としたが、この他にSIO20aの送信要求信号RTSをトリ ガ入力としてもよい。あるいは、マイクロコンピュータのプログラム実行を監視 する監視回路(いわゆる、ウォッチドッグ・タイマ)を設け、その監視信号を利 用してもよい。[0034] Also, since the driver DR is not left in operation for a long time, it may overheat. Therefore, the service life of the driver DR is extended. In addition, in this embodiment, the transmission data TXD of SIO20a is transmitted by a multivibrator. In addition to the MB trigger input, the SIO20a transmission request signal RTS is also used as a trigger input. It may also be used as input. Or monitor program execution on a microcomputer A monitoring circuit (so-called watchdog timer) is installed to utilize the monitoring signal. may be used.

【0035】 また、本実施例では調歩式のシリアル通信の場合を例に挙げて説明したが、こ の他、同期式シリアル通信でも同様の効果を奏する。[0035] In addition, although this embodiment has been explained using the case of start-stop type serial communication as an example, In addition, similar effects can be achieved with synchronous serial communication.

【0036】[0036]

【考案の効果】[Effect of the idea]

以上詳述したように本考案によれば、通信装置の送信動作の際に何らかの原因 で送信状態が所定期間を越えて継続すると、送信状態を停止して受信状態に強制 的に切り換えるように構成されたので、通信網におけるコンテンションの発生を 防いで当該通信網の他局間での情報伝送を確保することができる。 As described in detail above, according to the present invention, when a communication device transmits a signal due to some cause. If the sending state continues for a specified period of time, the sending state will be stopped and the receiving state will be forced. Since the configuration is configured to switch automatically, contention in the communication network can be prevented. information transmission between other stations in the communication network can be ensured.

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

【図1】実施例の通信装置の構成を表すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of a communication device according to an embodiment.

【図2】ホテル内に設けられたローカルエリア・ネット
ワークを表すブロック図である。
FIG. 2 is a block diagram representing a local area network installed within a hotel.

【図3】ローカルエリア・ネットワークにおける通信手
順の説明図である。
FIG. 3 is an explanatory diagram of a communication procedure in a local area network.

【図4】通信制御部の動作を表すタイミングチャートで
ある。
FIG. 4 is a timing chart showing the operation of a communication control unit.

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

3…通信回線 LS…始端 5…主局 7a〜7n…従局 20…通信制御部 20a…シリアル通信コントロ
ーラ 20b…トランシーバ 20c…モニタ回路 20d…
送受信切り換え回路 DR…ドライバ RC…レシーバ MB…マ
ルチバイブレータ
3...Communication line LS...Starting end 5...Main station 7a-7n...Slave station 20...Communication control unit 20a...Serial communication controller 20b...Transceiver 20c...Monitor circuit 20d...
Transmission/reception switching circuit DR...Driver RC...Receiver MB...Multi-vibrator

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 通信回線を多重化して情報伝送を行う多
重伝送網の一局を構成する通信装置であって、送信情報
を発生すると共に該送信情報の量に対応する期間該送信
情報の送信を指令する送信指令信号を発生する送信情報
発生手段と、上記送信情報発生手段にて発生した送信情
報に対応する送信信号を上記通信回線へ出力する送信手
段と、上記通信回線からの信号を受信して該受信信号に
対応する受信情報を再生する受信手段と、上記送信情報
発生手段から送信指令信号が入力されると上記送信手段
を起動させると共に上記受信手段を停止させ、該送信指
令信号が途絶すると上記送信手段を停止させると共に上
記受信手段を起動させる送受信切り換え手段と、上記送
信情報発生手段が所定期間を越えて継続して送信指令信
号を発生すると、上記送受信切り換え手段に強制して上
記送信手段を停止させると共に上記受信手段を起動させ
る強制切り換え手段と、を備えることを特徴とする通信
装置。
Claim 1: A communication device constituting one station of a multiplex transmission network that transmits information by multiplexing communication lines, the device generating transmission information and transmitting the transmission information for a period corresponding to the amount of the transmission information. a transmission information generating means for generating a transmission command signal for commanding the transmission information, a transmission means for outputting a transmission signal corresponding to the transmission information generated by the transmission information generation means to the communication line, and receiving a signal from the communication line. and when a transmission command signal is input from the transmission information generating means, the transmission means is activated and the reception means is stopped, and the transmission command signal is activated. A transmission/reception switching means that stops the transmission means and starts the reception means when the transmission is interrupted, and when the transmission information generation means continues to generate a transmission command signal for a predetermined period of time, the transmission/reception switching means is forced to transmit the transmission command signal. A communication device comprising forced switching means for stopping the transmitting means and starting the receiving means.
JP1991005268U 1991-02-12 1991-02-12 Communication device Pending JPH04103044U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1991005268U JPH04103044U (en) 1991-02-12 1991-02-12 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1991005268U JPH04103044U (en) 1991-02-12 1991-02-12 Communication device

Publications (1)

Publication Number Publication Date
JPH04103044U true JPH04103044U (en) 1992-09-04

Family

ID=31735665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1991005268U Pending JPH04103044U (en) 1991-02-12 1991-02-12 Communication device

Country Status (1)

Country Link
JP (1) JPH04103044U (en)

Similar Documents

Publication Publication Date Title
JP2510606B2 (en) Local Area Data Distribution System
JP2548895B2 (en) Data communication method
CN100573382C (en) Based on I 2The communication system of C and communication means
JP2006511172A (en) Automatic address assignment method in bus system
JP3100043B2 (en) Electronic device connected to optical bus and control method therefor
JPH04117743A (en) Optical transceiver
US6609172B1 (en) Breaking up a bus to determine the connection topology and dynamic addressing
CN112087241A (en) Method for realizing single-wire communication of elevator bus button
JP2850282B2 (en) Communication device
JP3106927B2 (en) Communications system
JPH04103044U (en) Communication device
JPS6236940A (en) Data communication equipment in automobile
CN210609160U (en) RS485 bus multi-host communication device for monitoring electric power tunnel
JPH0564384B2 (en)
JP2501450B2 (en) Gateway
CN109495341B (en) Time-sharing sending line pair information of Ethernet and line pair detection method
KR960001266B1 (en) Data flow control arrangement for local area network
JPH04102337U (en) multiplex transmission equipment
JPH062361Y2 (en) Balanced transmission device
JP3533419B2 (en) Communication device
JPH0764472A (en) Remote i/o system of programmable controller
KR100427764B1 (en) Apparatus for Interface between Devices of different Data Bus
JPH0326582B2 (en)
JPS63138743U (en)
KR0184194B1 (en) Internal process transmission apparatus using btl logic