JPH054650U - Multiplexer - Google Patents

Multiplexer

Info

Publication number
JPH054650U
JPH054650U JP4866491U JP4866491U JPH054650U JP H054650 U JPH054650 U JP H054650U JP 4866491 U JP4866491 U JP 4866491U JP 4866491 U JP4866491 U JP 4866491U JP H054650 U JPH054650 U JP H054650U
Authority
JP
Japan
Prior art keywords
disconnection
communication line
station
slave station
slave
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
JP4866491U
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 JP4866491U priority Critical patent/JPH054650U/en
Publication of JPH054650U publication Critical patent/JPH054650U/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】 通信回線の断線を速やかに検出でき、しかも
断線箇所を容易に特定可能な多重通信装置を提供する。 【構成】 主局と複数の従局とをマルチドロップに接続
した多重通信装置において、主局と各従局との通常通信
が終了すると、断線検出処理(340)を行ない、通信
回線の始端から終端までの間に断線が生じているかどう
かを判定する。そしてこの断線検出処理により、通信回
線の始端から終端までの間に断線が生じていると判断さ
れると、今度は断線箇所探索処理(360)を行ない、
始端から各従局までの各通信回線毎に、断線が生じてい
るかどうかを順次判定し、断線が生じている場合には、
その断線により通信不能となる従局のアドレスを表示す
る。
(57) [Abstract] [Purpose] To provide a multiplex communication device capable of promptly detecting a disconnection of a communication line and easily identifying a disconnection point. [Structure] In a multiplex communication device in which a master station and a plurality of slave stations are connected in a multi-drop manner, when normal communication between the master station and each slave station is completed, disconnection detection processing (340) is performed, and the communication line starts from the end to the end. It is determined whether there is a wire break between the two. If it is determined by this disconnection detection process that a disconnection has occurred between the start end and the end of the communication line, a disconnection point search process (360) is performed this time,
For each communication line from the start end to each slave station, it is sequentially determined whether or not a wire break has occurred, and if a wire break has occurred,
The address of the slave station that cannot communicate due to the disconnection is displayed.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

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

本考案は、通信回線の始端に接続された主局と通信回線に分岐接続された複数 の従局とを備え、主局による伝送制御の下で通信回線を多重化して情報伝送を行 う多重通信装置に関する。 The present invention comprises a master station connected to the beginning of a communication line and a plurality of slave stations branch-connected to the communication line, and multiplex communication for performing information transmission by multiplexing the communication line under transmission control by the master station. Regarding the device.

【0002】[0002]

【従来の技術】[Prior Art]

従来より、主局が通信回線の始端に接続されると共に従局の夫々が通信回線に 分岐接続され(以下、この接続形態をマルチドロップという)、主局と従局とが 双方向にデータ伝送を行う多重通信システムが知られている。例えば、建物内部 に設置されたローカルエリア・ネットワークであって、建物の一階に主局が、各 階に夫々一つの従局が配設されると共に、主局と従局とは通信回線にマルチドロ ップで接続され、時分割方式により多重化された通信回線を介してシリアル双方 向通信を行う多重通信装置が知られている。 Conventionally, the master station is connected to the beginning of the communication line and each of the slave stations is branched and connected to the communication line (hereinafter, this connection mode is called multi-drop), and the master station and the slave station perform bidirectional data transmission. Multiplex communication systems are known. For example, in a local area network installed inside a building, the master station is located on the first floor of the building, and one slave station is located on each floor. 2. Description of the Related Art A multiplex communication device is known that is connected by a loop and performs serial bidirectional communication via a communication line multiplexed by a time division method.

【0003】[0003]

【考案が解決しようとする課題】[Problems to be solved by the device]

この種の多重通信装置では、通信回線を使用しているため、通信回線が断線す ると、通信不能となり、主局と従局との間で正確なデータ交換を行なうことがで きなくなるのであるが、従来の多重通信装置では、通信回線の断線を検出する機 能を備えていないため、使用者が異常に気づくまでの間は主局及び従局が個々に 通信動作を行ない、主局側にて誤ったデータに基づく指令がなされる等、種々の 不具合があった。 Since this type of multiplex communication equipment uses a communication line, if the communication line is disconnected, communication becomes impossible and accurate data exchange cannot be performed between the master station and slave stations. However, because the conventional multiplex communication device does not have the function of detecting disconnection of the communication line, the master station and slave stations perform communication operations individually until the user notices an abnormality, and the master station side There were various problems, such as a command being issued based on incorrect data.

【0004】 例えばこうした多重通信装置を、ホテルにて客室の管理,清掃といった業務を 円滑に行なうために利用した場合、フロントからの清掃指示が作業者に届かなか ったり、逆に客がいる部屋に対する清掃指示が作業者に届いてしまうといった弊 害が生じる。For example, when such a multiplex communication device is used in a hotel to smoothly perform operations such as guest room management and cleaning, a cleaning instruction from the front does not reach an operator, or conversely, a room where a customer is present. This causes the problem that the cleaning instruction to the worker is delivered to the worker.

【0005】 また使用者が断線に気づいたとしても、その断線箇所がどこであるのかを特定 するには、多大な時間と労力を要し、復旧には時間がかかるといった問題もあっ た。 本考案はこうした問題に鑑みなされたもので、上記のように通信回線が断線し た場合には、その旨を速やかに検出し、しかも断線箇所を容易に特定することの できる多重通信装置を提供することを目的としてなされた。Further, even if the user notices the disconnection, it takes a lot of time and labor to specify where the disconnection is, and there is also a problem that the recovery takes time. The present invention has been made in view of these problems, and provides a multiplex communication device capable of promptly detecting the disconnection of a communication line as described above and easily identifying the disconnection point. It was made for the purpose of doing.

【0006】[0006]

【課題を解決するための手段】[Means for Solving the Problems]

即ち、上記目的を達成するためになされた本考案は、図1に例示する如く、通 信回線の始端に接続された主局と、該通信回線に分岐接続された複数の従局とか らなり、該主局による伝送制御の下で該通信回線を多重化して該主局と該複数の 従局の夫々とが情報伝送を行なう多重通信装置において、 上記複数の従局の各々に、 上記通信回線の当該従局の分岐接続点に終端抵抗を接続する終端スイッチと、 当該従局内の通信回路と上記通信回線との接続を遮断する遮断スイッチと、 外部から当該従局が終端の従局であるか否かを設定するための操作部と、 該操作部により当該従局が終端の従局であると設定されていれば上記終端スイ ッチを終端抵抗接続側に、逆に当該従局が終端の従局でないと設定されていれば 上記終端スイッチを終端抵抗否接続側に駆動すると共に、上記遮断スイッチを回 線接続側に駆動する定常駆動手段と、 上記通信回路にて上記主局から送信された断線検出信号が受信されると、所定 時間、上記遮断スイッチを回線遮断側に駆動する断線検出駆動手段と、 上記通信回路にて上記主局から送信された従局の識別情報を含む断線確認信号 が受信されると、該識別情報から該断線確認信号が当該従局に対するものである かを判断し、該断線確認信号が当該従局に対するものであれば、所定時間、上記 断線スイッチを回線遮断側に駆動すると共に上記終端スイッチを終端抵抗接続側 に駆動し、逆に該断線確認信号が当該従局に対するものでなければ、所定時間、 上記断線スイッチを回線遮断側に駆動すると共に上記終端スイッチを終端抵抗遮 断側に駆動する断線確認駆動手段と、 を設けると共に、上記主局に、 上記断線検出信号を送信する断線検出信号送信手段と、 該断線検出信号の送信後、所定時間経過するまでの間に、上記通信回線を通電 して、上記通信回線の断線判定を行なう断線判定手段と、 該断線判定手段により通信回線の断線が判定されると、上記複数の従局の各々 に対して、上記識別情報を含む断線確認信号を、所定時間毎に順次送信する断線 確認信号送信手段と、 該断線確認信号送信手段が断線確認信号を送信する度に、その後所定時間経過 するまでの間に上記通信回線を通電して上記通信回線の断線判定を行ない、断線 を判定すると、上記断線確認信号送信手段から送信した断線確認信号内の識別情 報を通信不能従局として登録する断線確認登録手段と、 上記断線確認信号送信手段及び断線確認登録手段の動作によって、全従局に対 する断線判定が終了すると、上記通信不能従局として登録した識別情報を表示す る表示手段と、 を設けたことを特徴とする多重通信装置を要旨としている。 That is, the present invention made to achieve the above object comprises a master station connected to the beginning of a communication line and a plurality of slave stations branch-connected to the communication line, as illustrated in FIG. In a multiplex communication apparatus in which the master station and each of the plurality of slave stations transmit information under the transmission control of the master station, the master station and each of the plurality of slave stations transmit information to the plurality of slave stations. Set the termination switch that connects the terminating resistor to the branch connection point of the slave station, the cutoff switch that disconnects the connection between the communication circuit in the slave station and the communication line, and set whether the slave station is the terminal slave station from the outside. If it is set that the slave station is the terminating slave station, the terminating switch is set to the terminating resistor connection side, and conversely the slave station is not the terminating slave station. If the end switch is When the disconnection detection signal transmitted from the main station is received by the communication circuit and the steady drive means for driving the protection connection and the disconnection switch to the circuit connection side, for a predetermined time, the When the disconnection detection driving means for driving the disconnection switch to the circuit disconnection side and the disconnection confirmation signal including the identification information of the slave station transmitted from the master station in the communication circuit, the disconnection confirmation signal is received from the identification information. Is for the slave station, and if the disconnection confirmation signal is for the slave station, the disconnection switch is driven to the line cutoff side and the termination switch is driven to the termination resistance connection side for a predetermined time. On the contrary, if the disconnection confirmation signal is not for the slave station, the disconnection switch is driven to the line interruption side and the termination switch is driven to the termination resistance interruption side for a predetermined time. A disconnection confirmation driving means is provided, and a disconnection detection signal transmitting means for transmitting the disconnection detection signal to the main station, and the communication line is connected until a predetermined time elapses after the disconnection detection signal is transmitted. A disconnection determination means for determining disconnection of the communication line by energizing, and a disconnection confirmation signal including the identification information for each of the plurality of slave stations when the disconnection determination means determines disconnection of the communication line. Disconnection confirmation signal transmitting means for sequentially transmitting at every predetermined time, and each time the disconnection confirmation signal transmitting means transmits the disconnection confirmation signal, the communication line is energized until a predetermined time elapses thereafter. When the disconnection of the line is judged and the disconnection is judged, the disconnection confirmation registration means for registering the identification information in the disconnection confirmation signal transmitted from the above disconnection confirmation signal transmission means as the incommunicable slave station, and the above disconnection confirmation When the disconnection judgment for all slave stations is completed by the operations of the signal transmission means and the disconnection confirmation registration means, the multiplex communication is provided with a display means for displaying the identification information registered as the above-mentioned incommunicable slave station. The main point is the device.

【0007】[0007]

【作用】[Action]

上記のように構成された本考案の多重通信装置において、各従局側で通信回線 に終端抵抗を接続する終端スイッチは、通常、定常駆動手段により、操作部によ り自局が終端の従局であると設定されていれば終端抵抗接続側に、逆に自局が終 端の従局でないと設定されていれば終端抵抗否接続側に、駆動される。また各従 局側で通信回線と通信回路との接続を遮断する遮断スイッチは、通常、定常駆動 手段により回線接続側に駆動される。 In the multiplex communication device of the present invention configured as described above, the terminating switch for connecting the terminating resistor to the communication line on each slave side is normally a steady drive means, and the slave station whose own station is the terminating terminal If it is set to be present, it will be driven to the terminating resistor connection side, and conversely, if it is set to be not the end slave station, it will be driven to the terminating resistor connection side. Further, the cutoff switch that cuts off the connection between the communication line and the communication circuit on each slave side is normally driven to the line connection side by the steady driving means.

【0008】 このため本考案の多重通信装置においては、通常、各従局の通信回路と通信回 線とが接続されて、各従局は主局との通信が可能な状態となり、また終端の従局 位置にて通信回線に終端抵抗が接続されるため、通信回線からの反射により通信 不良が発生するのが防止される。Therefore, in the multiplex communication device of the present invention, the communication circuit of each slave station and the communication circuit are normally connected so that each slave station can communicate with the master station, and the slave station position at the end is set. Since a terminating resistor is connected to the communication line at, the occurrence of communication failure due to reflection from the communication line is prevented.

【0009】 次にこの状態で主局の断線検出信号送信手段が作動し、断線検出信号を送信す ると、各従局に設けられた断線検出駆動手段が、その断線検出信号に応答して、 遮断スイッチを駆動し、所定時間だけ通信回線と通信回路との接続を遮断する。 つまり主局から断線検出信号を送信して各従局の通信回路と通信回線とを遮断さ せることにより、通信回線に終端の従局に設けられている終端抵抗だけを接続さ せる。またこの状態で、主局の断線判定手段が、通信回線を通電して、通信回線 の断線判定を行なう。この結果、断線判定手段により、主局から終端の従局まで の通信回線の断線が判定されることとなる。Next, in this state, when the disconnection detection signal transmitting means of the main station operates and transmits the disconnection detection signal, the disconnection detection driving means provided in each slave station responds to the disconnection detection signal, The disconnection switch is driven to disconnect the connection between the communication line and the communication circuit for a predetermined time. That is, by transmitting a disconnection detection signal from the master station to disconnect the communication circuit and communication line of each slave station, only the terminating resistor provided in the terminating slave station is connected to the communication line. In this state, the disconnection determination means of the main station energizes the communication line to determine the disconnection of the communication line. As a result, the disconnection determining means determines the disconnection of the communication line from the main station to the terminating slave station.

【0010】 こうして断線判定手段が通信回線の断線判定を行なった結果、主局から終端の 従局までの通信回線に断線が生じていることが判明した場合には、主局に設けら れている断線確認信号送信手段が、複数の従局の各々に対して、従局の識別情報 を含む断線確認信号を、所定時間毎に順次送信する。If the disconnection determining means determines the disconnection of the communication line in this way, and if it is found that the communication line from the main station to the terminating slave station is disconnected, it is provided in the main station. The disconnection confirmation signal transmitting means sequentially transmits a disconnection confirmation signal including identification information of the slave station to each of the plurality of slave stations at predetermined time intervals.

【0011】 この断線確認信号は、各従局の通信回路にて受信されるが、各従局側では、断 線確認駆動手段が、その受信した断線確認信号に含まれる識別情報から断線確認 信号が自局に対するものであるかを判断し、断線確認信号が自局に対するもので あれば、所定時間、断線スイッチを回線遮断側に駆動すると共に終端スイッチを 終端抵抗接続側に駆動し、逆に断線確認信号が自局に対するものでなければ、所 定時間、断線スイッチを回線遮断側に駆動すると共に終端スイッチを終端抵抗遮 断側に駆動する。この結果通信回線には、断線確認信号送信手段が送信した断線 検出信号に含まれる識別情報に対応した特定の従局の終端抵抗のみが接続され、 他の従局側では通信回線は開放状態となる。The disconnection confirmation signal is received by the communication circuit of each slave station, but on each slave station side, the disconnection confirmation drive means generates a disconnection confirmation signal from the identification information included in the received disconnection confirmation signal. If the disconnection confirmation signal is for the local station, the disconnection switch is driven to the circuit interruption side and the terminating switch is driven to the termination resistor connection side for the prescribed time, and conversely the disconnection confirmation is performed. If the signal is not for its own station, the disconnection switch is driven to the circuit interruption side and the termination switch is driven to the termination resistance interruption side for a fixed time. As a result, only the terminating resistor of the specific slave station corresponding to the identification information included in the disconnection detection signal transmitted by the disconnection confirmation signal transmitting means is connected to the communication line, and the communication line is opened on the other slave station side.

【0012】 また主局側では、断線確認信号送信手段が断線確認信号を送信する度に、断線 確認登録手段が、通信回線を通電して通信回線の断線判定を行ない、断線を判定 すると、断線確認信号送信手段から送信した断線確認信号に含まれる識別情報を 通信不能従局として登録する。つまり通信回線への終端抵抗の接続位置を各従局 毎に順次変更して行き、その変更毎に、通信回線を通電することにより断線によ り通信不能となる従局を検出して、通信不能従局として登録するのである。そし てこうした断線位置の確認動作が終了すると、主局側にて、表示手段が、通信不 能従局として登録した識別情報を表示する。Further, on the main station side, every time the disconnection confirmation signal transmitting means transmits a disconnection confirmation signal, the disconnection confirmation registration means energizes the communication line to determine the disconnection of the communication line. The identification information included in the disconnection confirmation signal transmitted from the confirmation signal transmitting means is registered as the incommunicable slave station. In other words, the connection position of the terminating resistor to the communication line is sequentially changed for each slave station, and each time the communication line is energized, the slave station that cannot communicate due to disconnection is detected and the slave station that cannot communicate is detected. To register. When the disconnection position confirmation operation is completed, the display means on the master station side displays the identification information registered as the communication disabled slave station.

【0013】[0013]

【実施例】【Example】

以下に本考案の実施例を図面と共に説明する。 まず図2は本考案が適用された実施例の多重通信装置全体の構成を表すブロッ ク図である。 Embodiments of the present invention will be described below with reference to the drawings. First, FIG. 2 is a block diagram showing the configuration of the entire multiplex communication apparatus of the embodiment to which the present invention is applied.

【0014】 図に示す如く、本実施例の多重通信装置は、ホテルのフロントに配設された主 局3と、ホテルの各階に配設された多数の従局5a,5b,…,5nと、ホテル 内部に配線されたツイストペア線からなる通信回線7とから構成されており、通 信回線7の一端に端子T0を介して主局3を接続し、その途中に端子T1を介し て従局5a〜5bを順次分岐接続することにより、主局3及び従局5a〜5nが マルチドロップにて接続されている。As shown in the figure, the multiplex communication device of this embodiment includes a master station 3 arranged at the front of a hotel and a large number of slave stations 5a, 5b, ..., 5n arranged on each floor of the hotel. It consists of a twisted pair communication line 7 wired inside the hotel. The master station 3 is connected to one end of the communication line 7 via a terminal T0, and the slave stations 5a to By sequentially branching and connecting 5b, the master station 3 and the slave stations 5a to 5n are connected by multi-drop.

【0015】 ここで主局3は、各従局5a〜5nとの間でシリアル通信を行なうことにより 、ホテルの客室状況等を管理するためのもので、図3に示す如く、各従局5a〜 5nとの間で通信規格RS−485に準拠したシリアル通信を行なうために、R S−485に適合したトランシーバ10を備えている。Here, the master station 3 manages the guest room condition of the hotel and the like by performing serial communication with the slave stations 5a to 5n, and as shown in FIG. 3, the slave stations 5a to 5n. A transceiver 10 conforming to RS-485 is provided for serial communication with the communication standard RS-485.

【0016】 また主局3には、このトランシーバ10を介して各従局5a〜5nに送信する 送信データの作成,トランシーバ10を介して受信した受信データの処理,トラ ンシーバ10へのシリアルデータの入出力等を行うために、CPU12,ROM 14,RAM16,タイマ18,パラレル入出力ポート20,22,シリアル通 信コントローラ(SIO)24,及びこれら各部を結ぶバスライン26が備えら れている。尚パラレル入出力ポート20には、CRT等からなる表示部28,外 部からデータ入力等を行なうためのキー入力部29が接続されている。In addition, the master station 3 creates transmission data to be transmitted to the slave stations 5 a to 5 n via the transceiver 10, processes received data received via the transceiver 10, and inputs serial data to the transceiver 10. A CPU 12, a ROM 14, a RAM 16, a timer 18, parallel input / output ports 20 and 22, a serial communication controller (SIO) 24, and a bus line 26 connecting these parts are provided to output data. The parallel input / output port 20 is connected to a display unit 28 such as a CRT and a key input unit 29 for inputting data from the outside.

【0017】 また次にトランシーバ10は、端子T0を介して通信回線7に接続されている が、その端子T0とトランシーバ10とを接続する信号線31,32には、信号 線31,32を各々開閉するリレースイッチSWXが設けられており、リレース イッチSWXよりトランシーバ10側の信号線31,32間には、終端抵抗RT 0が接続されている。Next, the transceiver 10 is connected to the communication line 7 via the terminal T0. The signal lines 31 and 32 connecting the terminal T0 and the transceiver 10 are respectively connected with the signal lines 31 and 32. A relay switch SWX that opens and closes is provided, and a terminating resistor RT 0 is connected between the signal lines 31 and 32 on the transceiver 10 side of the relay switch SWX.

【0018】 リレースイッチSWXは、各信号線31,32毎に設けられた一対の開閉スイ ッチからなり、各開閉スイッチは、信号線31,32を各々閉じてトランシーバ 10と通信回線7とを接続するa接点と、信号線31,32を各々開いてトラン シーバ10と通信回線7とを遮断するb接点とを備えている。The relay switch SWX is composed of a pair of opening / closing switches provided for each of the signal lines 31 and 32. Each opening / closing switch closes the signal lines 31 and 32 to connect the transceiver 10 and the communication line 7. An a contact to be connected and a b contact for opening the signal lines 31 and 32 to disconnect the transceiver 10 and the communication line 7 are provided.

【0019】 またリレースイッチSWXの接点bには、信号線31側のb接点に電源電圧V CCを印加し、信号線32側のb接点に接続した接地抵抗器R1の両端電圧から通 信回線7の断線を検出する、検出抵抗器R2,信号安定用コンデンサC1,及び インバータINVを備えた断線検出回路34が接続されており、この断線検出回 路34により、トランシーバ10と通信回線7とを遮断したときに通信回線7を 通電して通信回線7の断線を検出できるようにされている。Further, to the contact b of the relay switch SWX, the power supply voltage V CC is applied to the b contact on the signal line 31 side, and the communication line is supplied from the voltage across the grounding resistor R1 connected to the b contact on the signal line 32 side. A disconnection detection circuit 34, which includes a detection resistor R2, a signal stabilizing capacitor C1, and an inverter INV, for detecting disconnection of 7 is connected, and the disconnection detection circuit 34 connects the transceiver 10 and the communication line 7. When cut off, the communication line 7 is energized so that disconnection of the communication line 7 can be detected.

【0020】 尚、リレースイッチSWXは、パラレル入出力ポート22から出力される切替 信号により通電制御されるリレーXのコイルを介して接点a側又は接点b側に切 り替えられ、断線検出回路34からの検出信号は、パラレル入出力ポート22に 入力される。The relay switch SWX is switched to the contact a side or the contact b side through the coil of the relay X, which is energized and controlled by the switching signal output from the parallel input / output port 22, and the disconnection detection circuit 34. The detection signal from is input to the parallel input / output port 22.

【0021】 一方上記各従局5a〜5nは、主局3からの送信データに応答して各種データ を主局3に送信するためのもので、図4に示す如く、主局3と同様、RS−48 5に適合した通信回路としてのトランシーバ40を備えると共に、CPU42, ROM44,RAM46,タイマ48,パラレル入出力ポート50,52,シリ アル通信コントローラ(SIO)54,及びこれら各部を結ぶバスライン56を 備えている。尚パラレル入出力ポート50には、主局3に送信する送信データを 外部から入力するためのデータ入力部58,その入力データや主局3からの送信 データ等を外部装置に出力するためのデータ出力部59が接続されている。On the other hand, each of the slave stations 5a to 5n is for transmitting various data to the master station 3 in response to the transmission data from the master station 3. As shown in FIG. A transceiver 40 as a communication circuit suitable for −485, a CPU 42, a ROM 44, a RAM 46, a timer 48, parallel input / output ports 50 and 52, a serial communication controller (SIO) 54, and a bus line 56 connecting these parts. Is equipped with. The parallel input / output port 50 has a data input unit 58 for inputting the transmission data to be transmitted to the main station 3 from the outside, and data for outputting the input data and the transmission data from the main station 3 to an external device. The output unit 59 is connected.

【0022】 また次にトランシーバ40は、端子T1を介して主局3側の通信回線7に分岐 接続されているが、その端子T1とトランシーバ40とを接続する信号線61, 62には、信号線61,62を各々開閉するリレースイッチSWX1が設けられ ており、リレースイッチSWX1より端子T1側の信号線61,62間には、終 端抵抗RT1とリレースイッチSWX2とからなる直列回路が設けられている。Next, the transceiver 40 is branched and connected to the communication line 7 on the side of the main station 3 via the terminal T1, but the signal lines 61 and 62 connecting the terminal T1 and the transceiver 40 are connected to each other by a signal. A relay switch SWX1 for opening and closing the lines 61 and 62, respectively, is provided, and a series circuit including a terminal resistance RT1 and a relay switch SWX2 is provided between the signal lines 61 and 62 on the terminal T1 side of the relay switch SWX1. ing.

【0023】 リレースイッチSWX1は、各信号線61,62毎に設けられた一対の開閉ス イッチからなり、各開閉スイッチは、信号線61,62を各々閉じてトランシー バ40と通信回線7とを接続するa接点と、信号線61,62を各々開いてトラ ンシーバ40と通信回線7とを遮断するb接点とを備えている。このリレースイ ッチSWX1は、前述の遮断スイッチに相当するものであり、パラレル入出力ポ ート52から出力される切替信号により通電制御されるリレーX1のコイルを介 して接点a側又は接点b側に切り替えられる。The relay switch SWX1 is composed of a pair of open / close switches provided for each of the signal lines 61, 62, and each open / close switch closes the signal lines 61, 62 to connect the transceiver 40 and the communication line 7. It is provided with an a-contact to be connected and a b-contact for opening the signal lines 61 and 62 to disconnect the transceiver 40 and the communication line 7. The relay switch SWX1 corresponds to the above-mentioned cutoff switch, and is connected to the contact a side or the contact b side via the coil of the relay X1 whose energization is controlled by the switching signal output from the parallel input / output port 52. Can be switched to the side.

【0024】 またリレースイッチSWX2は、前述の終端スイッチに相当するものであり、 パラレル入出力ポート52から出力される切替信号により通電制御されるリレー X2のコイルを介して開閉されて、通信回線7への終端抵抗RT1の接続状態を 切り替える。The relay switch SWX2 corresponds to the above-mentioned termination switch, and is opened / closed via the coil of the relay X2 whose energization is controlled by the switching signal output from the parallel input / output port 52, and the communication line 7 The connection state of the terminating resistor RT1 to is switched.

【0025】 また次にパラレル入出力ポート52には、抵抗器R3を介して電源電圧VCCが 入力されており、その入力端には、一端が接地された手動スイッチSW1の他端 が接続されている。この手動スイッチSW1は、外部操作により、当該従局が主 局3から最も離れた終端の従局である旨を設定するためのもので、外部操作によ って手動スイッチSW1がONされ、パラレル入出力ポート52の入力端がLow レベルとなっているとき、CPU42が自局が終端の従局である旨を検知する。 尚この手動スイッチSW1は前述の操作部に相当する。Next, the parallel input / output port 52 is supplied with the power supply voltage Vcc through the resistor R3, and the input end thereof is connected to the other end of the manual switch SW1 whose one end is grounded. There is. The manual switch SW1 is used to set that the slave station is the slave station at the end farthest from the master station 3 by an external operation. The manual switch SW1 is turned on by an external operation, and the parallel input / output is performed. When the input end of the port 52 is at the low level, the CPU 42 detects that the own station is the terminating slave station. The manual switch SW1 corresponds to the above-mentioned operation unit.

【0026】 このように構成された主局3及び従局5a〜5nにおいては、各々、ROM1 4又は44に予め格納されている制御プログラムに従い動作する。そこで次にこ れら各部の動作を、その制御プログラムを表す図5〜図8に示すフローチャート に沿って説明する。Each of the master station 3 and the slave stations 5a to 5n configured as described above operates according to a control program stored in advance in the ROM 14 or 44. Therefore, the operation of each of these units will be described below with reference to the flow charts shown in FIGS.

【0027】 まず図5は各従局5a〜5nにて個々に実行される通信処理を表すフローチャ ートである。 図に示す如く、この処理が開始されると、まずステップ100にて、従局内各 部の初期設定を行った後、ステップ110にて、リレーX1の接点(即ちリレー スイッチSWX1)を接点a側に切り替えることにより、トランシーバ40と通 信回線7とを接続して、当該従局を主局3との通信が可能な状態に設定する。ま た続くステップ120では、上記手動スイッチSW1がON状態か否か,即ち手 動スイッチSW1により当該従局が終端の従局である旨が設定されているか否か を判断する。そして当該従局が終端の従局である旨が設定されている場合には、 ステップ130に移行して、リレーX2の接点(即ちリレースイッチSWX2) を閉じて通信回線7に終端抵抗RT1を接続した後、ステップ140に移行し、 当該従局が終端の従局である旨が設定されていなければ、そのままステップ14 0に移行する。尚上記ステップ110〜ステップ130の処理は、前述の定常駆 動手段に相当する。First, FIG. 5 is a flow chart showing a communication process individually executed by each of the slave stations 5a to 5n. As shown in the figure, when this process is started, first, in step 100, the initial setting of each part in the slave station is performed, and then in step 110, the contact of the relay X1 (that is, the relay switch SWX1) is set to the contact a side. By switching to, the transceiver 40 and the communication line 7 are connected, and the slave station is set in a state in which communication with the master station 3 is possible. Further, in the following step 120, it is determined whether or not the manual switch SW1 is in the ON state, that is, whether or not the slave switch is set as the terminal slave station by the manual switch SW1. If it is set that the slave station is the terminal slave station, the process proceeds to step 130, the contact of the relay X2 (that is, the relay switch SWX2) is closed, and the terminating resistor RT1 is connected to the communication line 7. The process proceeds to step 140, and if it is not set that the slave station is the terminal slave station, the process directly proceeds to step 140. The processing of steps 110 to 130 corresponds to the above-mentioned steady driving means.

【0028】 次にステップ140では、データ入力部58からの入力データを主局3への送 信データとしてRAM46内に格納したり、必要に応じてその入力データをデー タ出力部59から外部装置に出力する、データ入力処理を実行する。また続くス テップ150では、トランシーバ40を介して主局3からの送信信号が入力され たかを判断する。そして主局3からの送信信号が入力されていなければ再度ステ ップ110に移行することにより、上記ステップ110〜ステップ140の処理 を繰り返し実行する。Next, at step 140, the input data from the data input unit 58 is stored in the RAM 46 as the transmission data to the main station 3, and the input data is sent from the data output unit 59 to an external device as necessary. Execute the data input process to output to. Further, in the subsequent step 150, it is determined whether the transmission signal from the main station 3 has been input via the transceiver 40. If the transmission signal from the main station 3 has not been input, the process proceeds to step 110 again to repeat the processing of steps 110 to 140.

【0029】 一方ステップ150にて、主局3からの送信信号が入力されたと判断されると 、ステップ160に移行して、その送信信号が主局3との間でデータ伝送を行な う通常通信のための信号であるか否かを判断する。そして主局3からの送信信号 が通常通信のための送信信号であれば、ステップ170に移行して、その送信信 号に対応した通常通信のための処理を行ない、再度ステップ110に移行し、逆 に主局からの送信信号が通常通信のための送信信号でなければ、ステップ180 に移行する。On the other hand, when it is determined in step 150 that the transmission signal from the main station 3 is input, the process proceeds to step 160, and the transmission signal normally transmits data to and from the main station 3. It is determined whether the signal is for communication. If the transmission signal from the master station 3 is a transmission signal for normal communication, the process proceeds to step 170, the process for normal communication corresponding to the transmission signal is performed, and the process proceeds to step 110 again. On the contrary, if the transmission signal from the main station is not the transmission signal for normal communication, the process proceeds to step 180.

【0030】 ステップ180では、主局3からの送信信号が、主局3が断線検出のために出 力した断線検出開始信号であるか否かを判断し、主局3からの送信信号が断線検 出開始信号であれば、ステップ190に移行して、タイマ48を起動することに より、現時点からの時間の計測を開始する。そして続くステップ200では、リ レーX1の接点(即ちリレースイッチSWX1)を接点b側に切り替えることに より、トランシーバ40と通信回線7との接続を遮断し、続くステップ210に て、上記ステップ190で起動したタイマ48による計測時間が、0.5秒とな ったか否かを判断することにより、トランシーバ40と通信回線7との接続を遮 断して0.5秒経過するのを待つ。そして0.5秒経過すると、再度ステップ1 10に移行して、ステップ110以降の処理を実行する。尚このステップ190 〜ステップ210の処理は、前述の断線検出駆動手段に相当する。In step 180, it is determined whether or not the transmission signal from the main station 3 is a disconnection detection start signal output by the main station 3 for detecting disconnection, and the transmission signal from the main station 3 is disconnected. If it is a detection start signal, the process proceeds to step 190 and the timer 48 is started to start measuring the time from the present time. Then, in the following step 200, the connection between the transceiver 40 and the communication line 7 is cut off by switching the contact of the relay X1 (that is, the relay switch SWX1) to the contact b side, and in the following step 210, in the above step 190. By determining whether or not the time measured by the activated timer 48 has reached 0.5 seconds, the connection between the transceiver 40 and the communication line 7 is cut off and waits for 0.5 seconds. Then, when 0.5 seconds elapses, the process proceeds to step 110 again to execute the processing of step 110 and subsequent steps. The processing of steps 190 to 210 corresponds to the disconnection detection driving means described above.

【0031】 また次にステップ180にて、主局3からの送信信号が断線検出開始信号では ないと判断された場合、つまり主局3からの送信信号が、主局3が断線箇所探索 のために出力した後述の断線確認信号である場合には、ステップ220に移行し 、上記ステップ190と同様、タイマ48を起動することにより、現時点からの 時間の計測を開始する。Next, at step 180, when it is determined that the transmission signal from the main station 3 is not the disconnection detection start signal, that is, the transmission signal from the main station 3 is for the main station 3 to search for a disconnection point. If the signal is a disconnection confirmation signal output to the later-described, the process proceeds to step 220, and similarly to step 190, the timer 48 is started to start measuring the time from the present time.

【0032】 そして続くステップ230では、主局3からの断線確認信号に含まれる従局を 特定するためのアドレスが、予め設定されている自局のアドレスであるか否かを 判断し、自局のアドレスであればステップ240に移行して、リレーX2の接点 (即ちリレースイッチSWX2)を閉じて通信回線7に終端抵抗RT1を接続し 、自局のアドレスでなければステップ250に移行して、リレーX2の接点(即 ちリレースイッチSWX2)を開いて通信回線7への終端抵抗RT1の接続を遮 断する。Then, in the following step 230, it is determined whether or not the address for identifying the slave station included in the disconnection confirmation signal from the master station 3 is the preset address of the own station, and If it is the address, the process proceeds to step 240, the contact of the relay X2 (that is, the relay switch SWX2) is closed, and the terminating resistor RT1 is connected to the communication line 7. If it is not the address of the own station, the process proceeds to step 250 and the relay The contact of X2 (immediately, the relay switch SWX2) is opened to cut off the connection of the terminating resistor RT1 to the communication line 7.

【0033】 また続くステップ260では、上記ステップ200と同様、リレーX1の接点 (即ちリレースイッチSWX1)を接点b側に切り替えることにより、トランシ ーバ40と通信回線7との接続を遮断し、続くステップ270にて、上記ステッ プ220で起動したタイマ48による計測時間が、0.5秒となったか否かを判 断することにより、トランシーバ40と通信回線7との接続を遮断して0.5秒 経過するのを待つ。そして0.5秒経過すると、再度ステップ110に移行して 、ステップ110以降の処理を実行する。尚このステップ220〜ステップ27 0の処理は前述の断線確認駆動手段に相当する。Further, in the following step 260, the contact between the relay X1 (that is, the relay switch SWX1) is switched to the contact b side as in the case of the above step 200, thereby disconnecting the connection between the transceiver 40 and the communication line 7, and continuing. In step 270, it is judged whether the time measured by the timer 48 started in step 220 reaches 0.5 seconds or not, so that the connection between the transceiver 40 and the communication line 7 is cut off and the value of 0. Wait for 5 seconds. Then, when 0.5 seconds has elapsed, the process proceeds to step 110 again, and the processes of step 110 and the subsequent steps are executed. The processing of steps 220 to 270 corresponds to the disconnection confirmation driving means described above.

【0034】 次に図6は主局3にて実行される通信処理を表すフローチャートである。 図に示す如く、この処理が開始されると、まずステップ300にて、主局3内 各部の初期設定を行った後、ステップ310に移行して、リレーXのリレースイ ッチSWXを接点a側に切り替えることにより、通信回線7とトランシーバ10 とを接続し、続くステップ320に移行して、各主局5a〜5nとの間でデータ 伝送を行なうための通常通信処理を実行する。Next, FIG. 6 is a flowchart showing a communication process executed by the main station 3. As shown in the figure, when this process is started, first, in step 300, each part in the main station 3 is initialized, and then the process proceeds to step 310, in which the relay switch SWX of the relay X is connected to the contact a side. Then, the communication line 7 and the transceiver 10 are connected to each other by switching to, and the process proceeds to the subsequent step 320 to execute a normal communication process for performing data transmission with each of the master stations 5a to 5n.

【0035】 そして続くステップ330では、全従局に対する通常通信が終了したか否かを 判断し、全従局との通常通信が終了していなければ再度ステップ320を実行し 、全従局との通常通信が一旦終了すると、ステップ340に移行して、以下の手 順で断線検出処理を実行する。Then, in the following step 330, it is judged whether or not the normal communication with all the slave stations is completed. If the normal communication with all the slave stations is not completed, step 320 is executed again, and the normal communication with all the slave stations is completed. When it is finished, the process proceeds to step 340, and the disconnection detection process is executed according to the following procedure.

【0036】 即ち、図7に示す如く、この断線検出処理では、まずステップ410にて、従 局側に断線検出のための断線検出開始信号を送信する。既述したように各従局5 a〜5bは、断線検出開始信号を受けると、上記ステップ190〜ステップ21 0の処理により、0.5秒間だけトランシーバ40と通信回線7との接続を遮断 するため、このステップ410にて断線検出開始信号を送信した後、0.5秒経 過するまでの間は、通信回線7には終端の従局5nに設けられた終端抵抗RT1 のみが接続されることとなる。That is, as shown in FIG. 7, in this disconnection detection process, first, at step 410, a disconnection detection start signal for disconnection detection is transmitted to the slave side. As described above, when the slave stations 5a to 5b receive the disconnection detection start signal, the processing of steps 190 to 210 disconnects the connection between the transceiver 40 and the communication line 7 for 0.5 seconds. After the disconnection detection start signal is transmitted in this step 410, only the terminating resistor RT1 provided in the terminating slave station 5n is connected to the communication line 7 until 0.5 seconds elapses. Become.

【0037】 そこで次に続くステップ420にて、タイマ18を起動することにより、現時 点からの時間の計測を開始した後、ステップ430にて、リレーXの接点(即ち リレースイッチSWX)を接点b側に切り替えることにより、通信回線7を断線 検出回路34に接続し、ステップ440にて、断線検出回路34から出力される 断線の有無を表す検出信号を読み込む。またステップ450では、ステップ42 0で起動したタイマ18による計測時間が0.5秒となったか否かを判断するこ とにより、断線検出開始信号送信後0.5秒経過するのを待ち、0.5秒経過す ると、ステップ460にてリレーXの接点(即ちリレースイッチSWX)を接点 a側に切り替えることにより、通信回線7をトランシーバ10に接続し、当該断 線検出処理を終了する。Then, in the subsequent step 420, the timer 18 is started to start measuring the time from the present time, and then in step 430, the contact of the relay X (that is, the relay switch SWX) is set to the contact b. By switching to the side, the communication line 7 is connected to the disconnection detection circuit 34, and in step 440, the detection signal indicating the presence or absence of the disconnection output from the disconnection detection circuit 34 is read. Further, in step 450, it is determined whether or not the time measured by the timer 18 started in step 420 has reached 0.5 seconds, and then waiting for 0.5 seconds after the disconnection detection start signal is transmitted, After 5 seconds, in step 460, the contact of the relay X (that is, the relay switch SWX) is switched to the contact a side, thereby connecting the communication line 7 to the transceiver 10 and ending the disconnection detection process.

【0038】 つまり当該断線検出処理では、通信回線7の終端に終端抵抗RT1を接続した 状態で、断線検出回路34を動作させることにより、断線検出回路34により通 信回線7の始端から終端までの間に断線が生じているかどうかを検出する。 尚本実施例では、ステップ410の処理が前述の断線検出信号送信手段に相当 し、ステップ420〜ステップ460の処理及び後述のステップ350の処理が 前述の断線判定手段に相当する。In other words, in the disconnection detection process, the disconnection detection circuit 34 is operated by connecting the terminating resistor RT1 to the end of the communication line 7 so that the disconnection detection circuit 34 operates from the beginning to the end of the communication line 7. Detects whether there is a wire break between them. In this embodiment, the process of step 410 corresponds to the disconnection detection signal transmitting means described above, and the processes of steps 420 to 460 and the process of step 350 described later correspond to the disconnection determining means described above.

【0039】 図6に戻り、上記のようにステップ340にて断線検出処理が実行されると、 今度はステップ350に移行して、その断線検出処理により、通信回線7の断線 が検出されたか否かを判断する。この判断は断線検出処理実行時に読み込んだ断 線検出回路34からの検出信号に基づき行なわれ、断線検出回路34からの検出 信号がLow レベルであれば通信回線7に断線が生じていないと判断して、そのま まステップ320の通常通信処理に移行し、逆に断線検出回路34からの検出信 号がHighレベルであれば通信回線7に断線が生じていると判断して、ステップ3 60にて、以下の手順で断線箇所探索処理を実行した後、ステップ320の通常 通信処理に移行する。Returning to FIG. 6, when the disconnection detection process is executed in step 340 as described above, the process proceeds to step 350, and whether or not the disconnection of the communication line 7 is detected by the disconnection detection process. To judge. This determination is made based on the detection signal from the disconnection detection circuit 34 read at the time of executing the disconnection detection process. If the detection signal from the disconnection detection circuit 34 is at the low level, it is determined that the communication line 7 is not disconnected. Then, the process shifts to the normal communication process of step 320 as it is, and conversely, if the detection signal from the disconnection detection circuit 34 is at the high level, it is determined that the communication line 7 is disconnected, and the process proceeds to step 360. After executing the disconnection point search process in the following procedure, the process proceeds to the normal communication process of step 320.

【0040】 図8に示す如く、断線箇所探索処理では、まずステップ510にて、従局側に 従局のアドレスを含む断線確認信号を送信する。このステップ510の処理は、 各従局5a〜5nに対して、順次終端抵抗RT1を接続させるための処理であり 、断線確認信号に含める従局のアドレスは、当該ステップ510を実行する度に 順次変更される。そして続くステップ520では、タイマ18を起動することに より、現時点からの時間の計測を開始する。As shown in FIG. 8, in the disconnection point search processing, first, at step 510, a disconnection confirmation signal including the slave station address is transmitted to the slave station side. The process of step 510 is a process for sequentially connecting the terminating resistor RT1 to each of the slave stations 5a to 5n, and the address of the slave station included in the disconnection confirmation signal is sequentially changed every time the step 510 is executed. It Then, in the following step 520, the timer 18 is started to start measuring the time from the present time.

【0041】 また次に続くステップ530では、リレーXの接点(即ちリレースイッチSW X)を接点b側に切り替えることにより、通信回線7を断線検出回路34に接続 し、ステップ540にて、断線検出回路34から出力される断線の有無を表す検 出信号を読み込む。そして続くステップ550では、上記ステップ520で起動 したタイマ18による計測時間が0.5秒となったか否かを判断することにより 、断線検出開始信号送信後0.5秒経過するのを待ち、0.5秒経過すると、ス テップ560にてリレーXの接点(即ちリレースイッチSWX)を接点a側に切 り替えることにより、通信回線7をトランシーバ10に接続する。In the next step 530, the communication line 7 is connected to the disconnection detection circuit 34 by switching the contact of the relay X (that is, the relay switch SW X) to the contact b side. In step 540, the disconnection detection is performed. A detection signal that is output from the circuit 34 and indicates whether or not there is a disconnection is read. Then, in the following step 550, it is judged whether or not the time measured by the timer 18 started in the above step 520 has reached 0.5 seconds, thereby waiting for 0.5 seconds after the disconnection detection start signal is transmitted and 0 After a lapse of 5 seconds, the communication line 7 is connected to the transceiver 10 by switching the contact of the relay X (that is, the relay switch SWX) to the contact a side at step 560.

【0042】 次にステップ570では、上記ステップ540で読み込んだ断線検出回路34 からの検出信号がLow レベルであるか否か,即ち断線検出回路34にて通信回線 7の断線が検出されていないか否かを判断し、検出信号がLow レベルで通信回線 7の断線が検出されていない場合には、そのままステップ590に移行する。ま た断線検出回路34からの検出信号がHighレベルであり、通信回線7の断線が検 出されたと判断された場合には、ステップ580に移行して、ステップ510で 送信した断線確認信号のアドレスを通信不能従局として登録した後、ステップ5 90に移行する。Next, at step 570, it is determined whether or not the detection signal from the disconnection detection circuit 34 read at step 540 is at the low level, that is, whether the disconnection detection circuit 34 has detected the disconnection of the communication line 7. If it is determined that the detection signal is at the low level and the disconnection of the communication line 7 is not detected, the process directly proceeds to step 590. When the detection signal from the disconnection detection circuit 34 is at the high level and it is determined that the disconnection of the communication line 7 is detected, the process proceeds to step 580 and the address of the disconnection confirmation signal transmitted in step 510. Is registered as an incommunicable slave station, the process proceeds to step 590.

【0043】 そして続くステップ590では、上記ステップ510〜ステップ580の処理 を全従局に対して行ったか否かを判断し、全従局に対して行なっていない場合に は、再度ステップ510に移行する。尚ステップ510では、断線確認信号のア ドレスを、先に送信した断線確認信号とは異なる従局のアドレスに変更するため 、上記ステップ510〜ステップ580の処理を繰り返し実行することにより、 上記ステップ510〜ステップ580の処理が全従局に対して実行されることと なる。Then, in the following step 590, it is determined whether or not the processes of steps 510 to 580 have been performed for all slave stations. If not, the process proceeds to step 510 again. In step 510, in order to change the address of the disconnection confirmation signal to an address of the slave station different from that of the previously transmitted disconnection confirmation signal, the processes of steps 510 to 580 are repeatedly executed, and thus steps 510 to 510 are performed. The processing of step 580 will be executed for all slave stations.

【0044】 そしてステップ590にて、上記ステップ510〜ステップ580の処理を全 従局に対して実行したと判断されると、ステップ600に移行し、上記ステップ 580で通信不能従局として登録した従局のアドレスを表示部28に表示し、当 該断線箇所探索処理を終了する。If it is determined in step 590 that the processes of steps 510 to 580 have been executed for all slave stations, the process proceeds to step 600, and the address of the slave station registered as the incommunicable slave station in step 580. Is displayed on the display unit 28, and the disconnection point search processing is ended.

【0045】 尚本実施例では、上記ステップ510の処理が前述の断線確認信号送信手段に 相当し、上記ステップ520〜580の処理が前述の断線確認登録手段に相当し 、上記ステップ600の処理が前述の表示手段に相当する。 このように本実施例の多重通信装置においては、主局3と各従局5a〜5nと の通常通信を終了する度に、断線検出処理を行ない、通信回線7の始端から終端 までの間に断線が生じているかどうかを判定する。そしてこの断線検出処理によ り、通信回線7の始端から終端までの間に断線が生じていると判断されると、今 度は断線箇所探索処理を行ない、終端抵抗RT1を接続する従局を順次変更して 行くことにより、始端から各従局5a〜5nまでの各通信回線毎に、断線が生じ ているかどうかを順次判定し、断線が生じている場合には、その断線により通信 不能となる従局のアドレスを登録し、最後にその登録したアドレスを表示する。In the present embodiment, the processing of step 510 corresponds to the disconnection confirmation signal transmitting means described above, the processing of steps 520 to 580 corresponds to the disconnection confirmation registration means, and the processing of step 600 described above. It corresponds to the display means described above. As described above, in the multiplex communication device of the present embodiment, the disconnection detection process is performed every time the normal communication between the master station 3 and each of the slave stations 5a to 5n is completed, and the disconnection between the beginning and the end of the communication line 7 is performed. It is determined whether or not has occurred. If it is determined by this disconnection detection process that a disconnection has occurred from the beginning to the end of the communication line 7, the disconnection point search process is performed this time, and the slave stations to which the terminating resistor RT1 is connected are sequentially connected. By changing it, it is sequentially judged whether or not there is a disconnection for each communication line from the start end to each of the slave stations 5a to 5n. If a disconnection occurs, the slave station that cannot communicate due to the disconnection. Register the address of, and finally display the registered address.

【0046】 このため本実施例によれば、使用者は、そのアドレスの表示状態から通信回線 の断線を検知することができ、断線により各従局5a〜5nで誤った情報が出力 されても問題なく対処することができる。またアドレスの表示状態から通信不能 となる従局を検知できるので、断線箇所を速やかに特定して、断線に対する復旧 作業を速やかに行なうことができる。また本実施例では、断線検出の際に通信回 線7に接続する回路を変更するだけであり、データ伝送時には通信回線7に特別 な回路を接続しないので、データ伝送に悪影響を与えることなく断線検出等を行 なうことができる。Therefore, according to this embodiment, the user can detect the disconnection of the communication line from the display state of the address, and even if the slave stations 5a to 5n output incorrect information due to the disconnection, there is a problem. Can be dealt with without. In addition, since the slave station in which communication cannot be performed can be detected from the display state of the address, it is possible to quickly identify the disconnection point and quickly perform the recovery work for the disconnection. Further, in the present embodiment, the circuit connected to the communication line 7 is only changed when the disconnection is detected, and no special circuit is connected to the communication line 7 during the data transmission, so that the disconnection can be performed without adversely affecting the data transmission. Detection etc. can be performed.

【0047】[0047]

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

以上説明したように、本考案の多重通信装置においては、各従局に、通信回線 と通信回路との接続を遮断する遮断スイッチと、通信回線に終端抵抗を接続する 終端スイッチとを設け、これら各スイッチを駆動することにより、主局から終端 までの通信回線の断線を判定し、主局から終端までの通信回線が断線している場 合には、更に主局から各従局までの通信回線の断線を順次判定することにより断 線により通信不能となる従局を検出し、その結果を表示するようにされている。 As described above, in the multiplex communication device of the present invention, each subordinate station is provided with a cutoff switch for cutting off the connection between the communication line and the communication circuit, and a termination switch for connecting a terminating resistor to the communication line. By driving the switch, the disconnection of the communication line from the master station to the terminal is judged.If the communication line from the master station to the terminal is broken, the communication line from the master station to each slave station is further broken. By detecting the disconnection sequentially, the slave stations that cannot communicate due to the disconnection are detected and the result is displayed.

【0048】 このため使用者は、その表示状態から、通信回線の断線の断線を検知すること ができ、断線により各従局で誤った情報が出力されても、問題なく対処すること ができる。また表示状態から通信不能となる従局を検知することができるので、 通信回線上での断線箇所を速やかに特定して、断線に対する復旧作業を速やかに 行なうことができる。Therefore, the user can detect the disconnection of the disconnection of the communication line from the display state, and even if incorrect information is output from each slave station due to the disconnection, it can be dealt with without any problem. In addition, since it is possible to detect a slave station in which communication is impossible from the displayed state, it is possible to quickly identify the disconnection point on the communication line and quickly perform the recovery work for the disconnection.

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

【図1】本考案の基本的構成を例示する構成図である。FIG. 1 is a configuration diagram illustrating a basic configuration of the present invention.

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

【図3】実施例の主局の構成を表す説明図である。FIG. 3 is an explanatory diagram illustrating a configuration of a main station according to an embodiment.

【図4】実施例の各従局の構成を表す説明図である。FIG. 4 is an explanatory diagram illustrating a configuration of each slave station according to the embodiment.

【図5】従局にて実行される通信処理を表すフローチャ
ートである。
FIG. 5 is a flowchart showing a communication process executed by a slave station.

【図6】主局にて実行される通信処理を表すフローチャ
ートである。
FIG. 6 is a flowchart showing a communication process executed by the master station.

【図7】図6のステップ340で実行される断線検出処
理を表すフローチャートである。
FIG. 7 is a flowchart showing a disconnection detection process executed in step 340 of FIG.

【図8】図6のステップ360で実行される断線箇所探
索処理を表すフローチャートである。
8 is a flowchart showing a disconnection point search process executed in step 360 of FIG.

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

3…主局 5a〜5n…従局 7…通信回線 1
2,42…CPU 14,44…ROM 16,46…RAM 18,
48…タイマ 10,40…トランシーバ 22,52…パラレル入
出力ポート 28…表示部 31,32,61,62…信号線
34…断線検出回路 RT0,RT1…終端抵抗 X,X1,X2…リレー SWX,SWX1,SWX2…リレースイッチ SW
1…手動スイッチ
3 ... Master station 5a to 5n ... Slave station 7 ... Communication line 1
2, 42 ... CPU 14, 44 ... ROM 16, 46 ... RAM 18,
48 ... Timer 10, 40 ... Transceiver 22, 52 ... Parallel I / O port 28 ... Display section 31, 32, 61, 62 ... Signal line
34 ... Disconnection detection circuit RT0, RT1 ... Termination resistance X, X1, X2 ... Relay SWX, SWX1, SWX2 ... Relay switch SW
1 ... Manual switch

Claims (1)

【実用新案登録請求の範囲】 【請求項1】 通信回線の始端に接続された主局と、該
通信回線に分岐接続された複数の従局とからなり、該主
局による伝送制御の下で該通信回線を多重化して該主局
と該複数の従局の夫々とが情報伝送を行なう多重通信装
置において、 上記複数の従局の各々に、 上記通信回線の当該従局の分岐接続点に終端抵抗を接続
する終端スイッチと、 当該従局内の通信回路と上記通信回線との接続を遮断す
る遮断スイッチと、 外部から当該従局が終端の従局であるか否かを設定する
ための操作部と、 該操作部により当該従局が終端の従局であると設定され
ていれば上記終端スイッチを終端抵抗接続側に、逆に当
該従局が終端の従局でないと設定されていれば上記終端
スイッチを終端抵抗否接続側に駆動すると共に、上記遮
断スイッチを回線接続側に駆動する定常駆動手段と、 上記通信回路にて上記主局から送信された断線検出信号
が受信されると、所定時間、上記遮断スイッチを回線遮
断側に駆動する断線検出駆動手段と、 上記通信回路にて上記主局から送信された従局の識別情
報を含む断線確認信号が受信されると、該識別情報から
該断線確認信号が当該従局に対するものであるかを判断
し、該断線確認信号が当該従局に対するものであれば、
所定時間、上記断線スイッチを回線遮断側に駆動すると
共に上記終端スイッチを終端抵抗接続側に駆動し、逆に
該断線確認信号が当該従局に対するものでなければ、所
定時間、上記断線スイッチを回線遮断側に駆動すると共
に上記終端スイッチを終端抵抗遮断側に駆動する断線確
認駆動手段と、 を設けると共に、上記主局に、 上記断線検出信号を送信する断線検出信号送信手段と、 該断線検出信号の送信後、所定時間経過するまでの間
に、上記通信回線を通電して、上記通信回線の断線判定
を行なう断線判定手段と、 該断線判定手段により通信回線の断線が判定されると、
上記複数の従局の各々に対して、上記識別情報を含む断
線確認信号を、所定時間毎に順次送信する断線確認信号
送信手段と、 該断線確認信号送信手段が断線確認信号を送信する度
に、その後所定時間経過するまでの間に上記通信回線を
通電して上記通信回線の断線判定を行ない、断線を判定
すると、上記断線確認信号送信手段から送信した断線確
認信号内の識別情報を通信不能従局として登録する断線
確認登録手段と、 上記断線確認信号送信手段及び断線確認登録手段の動作
によって、全従局に対する断線判定が終了すると、上記
通信不能従局として登録した識別情報を表示する表示手
段と、 を設けたことを特徴とする多重通信装置。
Claims for utility model registration: 1. A master station connected to the beginning of a communication line and a plurality of slave stations branch-connected to the communication line. In a multiplex communication device in which a communication line is multiplexed to transmit information between the master station and each of the plurality of slave stations, a terminating resistor is connected to each of the plurality of slave stations at a branch connection point of the slave station of the communication line. Terminating switch, a cutoff switch for cutting off the connection between the communication circuit in the slave station and the communication line, an operation unit for externally setting whether the slave station is the terminal slave station, and the operation unit. If the slave station is set to be the terminating slave station, the terminating switch is set to the terminating resistor connection side. Conversely, if the slave station is set to be the terminating slave station, the terminating switch is set to the terminating resistor non-connecting side. Drive and above When the disconnection detection signal transmitted from the main station is received by the communication circuit and the steady drive means for driving the disconnection switch to the line connection side, the disconnection detection for driving the disconnection switch to the line disconnection side for a predetermined time. When the disconnection confirmation signal including the identification information of the slave station transmitted from the master station by the driving means and the communication circuit is received, it is determined from the identification information whether the disconnection confirmation signal is for the slave station. If the disconnection confirmation signal is for the slave station,
The disconnection switch is driven to the line cut-off side and the termination switch is driven to the termination resistance connection side for a predetermined time. Conversely, if the disconnection confirmation signal is not for the slave station, the disconnection switch is disconnected for the predetermined time. Disconnection confirmation drive means for driving the disconnection detection signal to the main station, and disconnection confirmation driving means for driving the termination switch to the termination resistance cutoff side, and disconnection detection signal transmitting means for transmitting the disconnection detection signal to the main station. After the transmission, until the predetermined time elapses, the communication line is energized to determine the disconnection of the communication line, and the disconnection determining unit determines the disconnection of the communication line,
To each of the plurality of slave stations, a disconnection confirmation signal including the identification information, a disconnection confirmation signal transmitting unit that sequentially transmits at predetermined time intervals, and each time the disconnection confirmation signal transmission unit transmits the disconnection confirmation signal, After that, the communication line is energized to determine the disconnection of the communication line until a predetermined time elapses, and when the disconnection is determined, the identification information in the disconnection confirmation signal transmitted from the disconnection confirmation signal transmitting means is set to the incommunicable slave station. When the disconnection determination for all slave stations is completed by the operation of the disconnection confirmation registration means registered as, and the operation of the disconnection confirmation signal transmission means and the disconnection confirmation registration means, the display means for displaying the identification information registered as the communication-disabled slave station, A multiplex communication device characterized by being provided.
JP4866491U 1991-06-26 1991-06-26 Multiplexer Pending JPH054650U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4866491U JPH054650U (en) 1991-06-26 1991-06-26 Multiplexer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4866491U JPH054650U (en) 1991-06-26 1991-06-26 Multiplexer

Publications (1)

Publication Number Publication Date
JPH054650U true JPH054650U (en) 1993-01-22

Family

ID=12809608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4866491U Pending JPH054650U (en) 1991-06-26 1991-06-26 Multiplexer

Country Status (1)

Country Link
JP (1) JPH054650U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013162373A (en) * 2012-02-07 2013-08-19 Mitsubishi Electric Corp Communication evaluation system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013162373A (en) * 2012-02-07 2013-08-19 Mitsubishi Electric Corp Communication evaluation system

Similar Documents

Publication Publication Date Title
JPH0817540B2 (en) Centralized control device for home appliances
GB2408183A (en) Severing connection between a bus and an I/O or field device upon detection of a potential device fault
CN109610542B (en) CAN line fault positioning system and positioning method for double-wheel slot milling machine
JPH0835716A (en) Controller for air conditioner
JPH0197242A (en) Method for starting loom group
JPH054650U (en) Multiplexer
JP2013011366A (en) Water heater
CN108563189B (en) Machine tool electrical fault diagnosis system
JPH054649U (en) Multiplexer
JPH1191892A (en) Oil-feeding station controlling system
JP3643629B2 (en) Automatic operation setting method and air conditioning system in air conditioning system
CA2082453C (en) Centralized change of parameters of hall and car equipment
JP7389145B2 (en) Communication system, master device, slave device, and communication method used in the communication system
JP3482684B2 (en) Air conditioner
JPH0685552U (en) Multiplex communication system
JPH0644200A (en) System for controlling distribution processing
JP2007249771A (en) Central management system for showcase or the like
JPH02146449A (en) Inspection method for air conditioner
JPH06132852A (en) Apparatus and method for disconnection- detection and changeover of cable
JPH02234202A (en) Controller for air conditioner
JP2023034589A (en) fire alarm system
JPH03225142A (en) Control device of air conditioner
JP2003185236A (en) Air conditioner
CN106063171A (en) Field device with self-recovery
JPH10243001A (en) Communication system