JPH0642676B2 - Multiplexer - Google Patents

Multiplexer

Info

Publication number
JPH0642676B2
JPH0642676B2 JP7894185A JP7894185A JPH0642676B2 JP H0642676 B2 JPH0642676 B2 JP H0642676B2 JP 7894185 A JP7894185 A JP 7894185A JP 7894185 A JP7894185 A JP 7894185A JP H0642676 B2 JPH0642676 B2 JP H0642676B2
Authority
JP
Japan
Prior art keywords
signal
data
station
polling
polling signal
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.)
Expired - Lifetime
Application number
JP7894185A
Other languages
Japanese (ja)
Other versions
JPS61237548A (en
Inventor
郁朗 木下
康人 米倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP7894185A priority Critical patent/JPH0642676B2/en
Publication of JPS61237548A publication Critical patent/JPS61237548A/en
Publication of JPH0642676B2 publication Critical patent/JPH0642676B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔発明の分野〕 本発明は1次局(親局)と複数個の送受信型の2次局
(子局)を専用の2芯線でデジチェーン式にループ接続
して構成された多重伝送装置に関するものである。
Description: FIELD OF THE INVENTION The present invention connects a primary station (master station) and a plurality of transmission / reception-type secondary stations (slave stations) with a dedicated two-core wire in a digital chain loop connection. The present invention relates to a configured multiplex transmission device.

〔発明の概要〕[Outline of Invention]

本発明による多重伝送装置は、1次局から2次局へのデ
ータの送出時にはポーリング信号送出後各2次局に対す
るデータ信号を所定間隔毎に送出し、2次局からのデー
タ受信時にはポーリング信号を送出して各2次局からの
データを待受ける1次局と、1次局からのデータ信号を
受信しポーリング信号に対してデータを送出する2次局
を該1次局にデジチェーン式にループ接続したものであ
る。このような構成により夫々の2次局についてのアド
レス設定が不要となり、送受信の機能を有する2次局を
接続して多重伝送装置を形成することができる。
The multiplex transmission apparatus according to the present invention sends a polling signal at the time of sending data from the primary station to the secondary station, sends a data signal to each secondary station at predetermined intervals, and sends a polling signal at the time of receiving data from the secondary station. To send data to each secondary station, and a secondary station that receives a data signal from the primary station and sends data to the polling signal. It is a loop connection to. With such a configuration, it is not necessary to set an address for each secondary station, and it is possible to form a multiplex transmission device by connecting secondary stations having a transmission / reception function.

〔従来技術とその問題点〕[Prior art and its problems]

一般に2芯専用線で1次局と複数個の2次局とを接続し
てデータ伝送システムを構成する多重伝送装置にあって
は、共通のバス上の任意の点に2次局を接続するマルチ
ドロップ方式が用いられることが多く、この場合には2
次局に夫々固有のアドレスを設定する必要がある。この
ようなアドレス設定は通常各2次局に設けられたDIP
スイッチ等によって設定される。
Generally, in a multiplex transmission device that configures a data transmission system by connecting a primary station and a plurality of secondary stations with a two-core dedicated line, the secondary station is connected to an arbitrary point on a common bus. The multi-drop method is often used, and in this case 2
It is necessary to set a unique address for each next station. Such address setting is normally done by the DIP provided in each secondary station.
It is set by a switch or the like.

しかるに2次局を極めて小型化する必要がある場合に
は、DIPスイッチによって小型化が制約されるという
問題点がある。更に多数の2次局を一時に設置する場合
にはアドレスの設定は比較的容易であるが、多重伝送装
置のシステム構成後に2次局数を増減する場合にはアド
レスが連続しないこととなったり、又同じアドレスに誤
って複数の2次局を設定する可能性があり、伝送誤りが
生じるという問題点があった。又2次局の設置現場での
作業を容易にするために各2次局にアドレスを指定しな
いシフトレジスタ方式も知られているが、この方式では
データ信号の他にクロック信号用の信号線が必要となり
安価な2芯線を用いて伝送システムを構成することがで
きず、伝送ケーブルの価格が上昇するという問題点があ
った。又2次局は1次局からのデータを受信してリレー
等を駆動する受信型2次局とセンサ等の信号を1次局に
送出する送信型2次局があるが、これらを共用すること
ができなかった。
However, when the secondary station needs to be extremely miniaturized, there is a problem that the miniaturization is restricted by the DIP switch. When a large number of secondary stations are installed at a time, it is relatively easy to set the addresses, but when the number of secondary stations is increased or decreased after the system configuration of the multiplex transmission device, the addresses may not be continuous. Moreover, there is a possibility that a plurality of secondary stations may be erroneously set to the same address, resulting in a transmission error. Also, in order to facilitate the work at the installation site of the secondary station, there is also known a shift register system that does not specify an address to each secondary station. In this system, a signal line for a clock signal is provided in addition to a data signal. There is a problem in that the price of the transmission cable rises because the transmission system cannot be constructed using the inexpensive two-core wire, which is necessary. The secondary station has a reception type secondary station that receives data from the primary station and drives a relay and the like, and a transmission type secondary station that sends signals of sensors and the like to the primary station, but these are shared. I couldn't.

〔発明の目的〕[Object of the Invention]

本発明はこのような従来の多重伝送装置の問題点に鑑み
てなされたものであって、DIPスイッチを用いて各2
次局にアドレスを設定する必要がなく、又送受信の双方
の機能を有する2次局を用いてシステムを構成すること
ができる多重伝送装置を提供することを目的とする。
The present invention has been made in view of the above problems of the conventional multiplex transmission device, and two DIP switches are used.
It is an object of the present invention to provide a multiplex transmission device which does not need to set an address in a next station and can configure a system using a secondary station having both transmitting and receiving functions.

〔発明の構成と効果〕[Constitution and effect of the invention]

本発明は1次局と複数の2次局とを有し、1次局の出力
端が最先順位の2次局の入力端に、各2次局の出力端が
順次後順位の2次局の入力端に接続され、最後順位の2
次局の出力端が1次局の入力端に接続されて構成される
多重伝送装置であって、1次局は、データ受信モード,
データ送出モードの切換時に送受信権となるポーリング
信号を最先順位の2次局に送出するポーリング信号送出
手段と、ポーリング信号送出後各2次局に対するデータ
を最先順位の2次局よりその順位順に所定間隔(t)を
あけて順次断続的に送出するデータ送出手段と、データ
送出手段からデータの送出後に2次局をデータ送出モー
ドとするスタート信号を送出するスタート信号送出手段
と、スタート信号送出手段及びポーリング信号送出手段
よりスタート信号及びポーリング信号を送出した後各2
次局から与えられるデータを順次受信するデータ受信手
段と、を有し、各2次局は、入出力端間に接続され入力
端子より得られるデータ信号及びスタート信号を通過さ
せポーリング信号を遮断するフィルタ手段と、スタート
信号を受信してデータ送出モードを記憶するモード記憶
手段と、データ受信モードのときにポーリング信号の受
信後に与えられるデータ信号を受信するデータ信号受信
手段と、データ送出モードのときポーリング信号の受信
後に1次局にデータを送出するデータ送出手段と、デー
タ信号受信手段によるデータ信号の受信後、所定間隔
(t)内にその送出が完了するように後順位の2次局に
ポーリング信号を送出し、データ送出手段によるデータ
信号の送出後にポーリング信号を送出するポーリング信
号送出手段と、を有することを特徴とするものである。
The present invention has a primary station and a plurality of secondary stations, and the output terminal of the primary station is the input terminal of the secondary station with the highest priority, and the output terminal of each secondary station is the secondary with the second priority. It is connected to the input terminal of the station and the last 2
A multiplex transmission apparatus configured by connecting an output end of a next station to an input end of the primary station, wherein the primary station is a data receiving mode,
Polling signal transmitting means for transmitting a polling signal which becomes a transmission / reception right to the secondary station having the highest priority when switching the data transmission mode, and data for each secondary station after transmitting the polling signal from the secondary station having the highest priority. A data transmission means for sequentially and intermittently transmitting data at predetermined intervals (t), a start signal transmission means for transmitting a start signal for setting the secondary station in the data transmission mode after the data transmission means, and a start signal. After sending the start signal and the polling signal from the sending means and the polling signal sending means, each 2
Data receiving means for sequentially receiving the data given from the next station, and each secondary station is connected between the input and output terminals and allows the data signal and the start signal obtained from the input terminal to pass through and cuts off the polling signal. Filter means, mode storing means for receiving a start signal and storing a data transmission mode, data signal receiving means for receiving a data signal given after reception of a polling signal in the data reception mode, and data transmission mode Data sending means for sending data to the primary station after receiving the polling signal, and to the secondary station in the lower order so that the sending is completed within a predetermined interval (t) after the data signal is received by the data signal receiving means. A polling signal transmitting means for transmitting a polling signal and transmitting the polling signal after the data transmitting means transmits the data signal. And it is characterized in Rukoto.

このような特徴を有する本発明によれば、2芯の伝送線
を用いてポーリング信号,スタート信号及びデータ信号
の伝送を行い、各2次局はデータ受信モード時にはポー
リング信号を受信した後のデータを自局に対するデータ
とし、その後自らポーリング信号を発して後順位の2次
局に対するポーリング信号を与えるようにしている。又
スタート信号が与えられればデータ送出モードに入りポ
ーリング信号に対しては自局よりデータを送出すること
によって1次局に対するデータ伝送を行っている。この
ような構成により2芯の伝送線のみを用いて入出力機能
を有する複数の2次局と1次局との間のデータ伝送を行
うことが可能となる。又各2次局に対してアドレス設定
を行わないのでDIPスイッチを設ける必要がなくな
る。従って各2次局を小型化することができ、2次局の
設置時の作業性を向上させることが可能となる。更に1
次局側でスタート信号,2次局から送信されるポーリン
グ信号,回線上のデータ信号を監視することができるの
で、故障した2次局や伝送線の断線場所を検知すること
が可能となる。
According to the present invention having such characteristics, the polling signal, the start signal and the data signal are transmitted using the two-core transmission line, and each secondary station receives the data after receiving the polling signal in the data reception mode. Is used as the data for the own station, and then the polling signal is issued by itself to give the polling signal to the secondary station of the next rank. When the start signal is given, the data transmission mode is entered, and the station transmits data to the polling signal to transmit data to the primary station. With such a configuration, it becomes possible to perform data transmission between a plurality of secondary stations having an input / output function and the primary station using only the two-core transmission line. Since no address is set for each secondary station, it is not necessary to provide a DIP switch. Therefore, each secondary station can be downsized, and workability at the time of installing the secondary station can be improved. 1 more
Since the start signal, the polling signal transmitted from the secondary station, and the data signal on the line can be monitored on the side of the next station, it is possible to detect the broken secondary station and the location of disconnection of the transmission line.

〔実施例の説明〕[Explanation of Examples]

第1図は本発明による多重伝送装置の一実施例を示す概
略ブロック図である。本図において1次局1と複数の2
次局2,3,4が2芯の伝送線5によってデジチェーン
状にループ接続されている。即ち1次局の出力端子1-o
は最先順位に接続された2次局2の入力端子2-iに接続
され、2次局2の出力端子2-oは伝送線5によって次位
の2次局3の入力端子3-iに接続されている。同様にし
て2次局3の出力端子3-oは最後順位の2次局4の入力
端子4-iに、その出力端子4-oは伝送線5を介して1次
局1の入力端子1-iに接続されている。1次局1は、ル
ープ状に接続された2次局へのデータ信号を伝えるポー
リング信号と2次局2,3,4に伝えるデータ信号及び
スタート信号を断続して順次送出するものである。
FIG. 1 is a schematic block diagram showing an embodiment of a multiplex transmission apparatus according to the present invention. In this figure, the primary station 1 and a plurality of 2
The secondary stations 2, 3 and 4 are loop-connected in a digital chain by a two-core transmission line 5. That is, the output terminal 1-o of the primary station
Is connected to the input terminal 2-i of the secondary station 2 connected in the highest order, and the output terminal 2-o of the secondary station 2 is connected by the transmission line 5 to the input terminal 3-i of the secondary station 3 of the next order. It is connected to the. Similarly, the output terminal 3-o of the secondary station 3 is the input terminal 4-i of the secondary station 4 of the last rank, and its output terminal 4-o is the input terminal 1 of the primary station 1 via the transmission line 5. -i is connected. The primary station 1 intermittently and sequentially sends a polling signal for transmitting a data signal to a secondary station connected in a loop, and a data signal and a start signal for transmitting to the secondary stations 2, 3 and 4.

(1次局の構成) 1次局1は第2図にその構成を示すように、外部からの
スタート信号に基づいて動作するポーリング信号送信回
路11,ポーリング信号監視タイマ12と、スタート信
号によってリセットされる再送フラグ13及び断線フラ
グ14を有している。ポーリング信号送信回路11はポ
ーリング信号の周波数例えば1MHzの周波数を発振する
発振器15の出力が与えられ、スタート信号に応じてポ
ーリング信号を送出すると共にその送出タイミングをデ
ータ信号送信回路16に伝えるものである。データ信号
送信回路16は外部から設定された各2次局に対するデ
ータを例えばバイフェーズ符号等により順次送信する送
信回路であって、各送信毎にデータ信号タイマ17がリ
セットされる。データ信号タイマ17はデータ信号の送
出タイミングを設定するタイマであって、タイムアップ
する毎にデータ信号送信回路16にタイムアップ信号を
伝え、それに基づいてデータ信号送信回路16が各2次
局に対するデータを順次送出する。1次局1の入力端子
1-iには、最後順位に接続された2次局4からのポーリ
ング信号を受信するポーリング信号検知回路18とスタ
ート信号受信回路19が設けられる。ポーリング信号検
知回路18は最後順位の2次局からのポーリング信号を
受信してポーリング信号監視タイマ12をリセットし、
又は動作させると共にデータ信号受信回路20及びポー
リング信号送信回路11を択一的に動作させるものであ
る。ポーリング信号監視タイマ12はデータの送出及び
受信の各サイクル毎に最後順位局から与えられるポーリ
ング信号を監視するものであって、その出力をデータ信
号受信回路20及びスタート信号送信回路21に与え
る。スタート信号送信回路21はデータ信号と同じく例
えば周波数60KHz及び30KHzのバイフェーズ信号を1次
局1のデータ受信サイクルの最初に各2次局に対して送
出する送信回路である。スタート信号送信回路21の送
出タイミングはスタート信号受信回路19に与えられ、
そのときスタート信号が伝送線5を介して受信されなけ
れば断線フラグ14がセットされる。データ信号受信回
路20は出力端子1-oから伝送される各2次局のデータ
信号を受信するものであり、受信信号をデータ再生回路
22に与えてデータを再生し外部に出力する。又データ
カウンタ23はこの受信データ数を計数するカウンタで
あり、計数値は異常処理部24に与えられる。更にポー
リング信号監視タイマ12,断線フラグ14及び再送フ
ラグ13の出力が異常処理部24に与えられる。異常処
理部24はこれらの入力に基づいて後述するように各2
次局又はその間の伝送線5の断線を検出する検出処理部
である。
(Structure of Primary Station) As shown in the structure of FIG. 2, the primary station 1 is reset by a polling signal transmission circuit 11, a polling signal monitoring timer 12 that operates based on a start signal from the outside, and a start signal. It has a re-transmission flag 13 and a disconnection flag 14. The polling signal transmission circuit 11 is supplied with an output of an oscillator 15 that oscillates a frequency of the polling signal, for example, a frequency of 1 MHz, transmits a polling signal in response to a start signal, and transmits the transmission timing to the data signal transmission circuit 16. . The data signal transmission circuit 16 is a transmission circuit that sequentially transmits data for each secondary station set from the outside by, for example, bi-phase code, and the data signal timer 17 is reset at each transmission. The data signal timer 17 is a timer for setting the transmission timing of the data signal, and transmits a time-up signal to the data signal transmission circuit 16 every time the time is up, and based on this, the data signal transmission circuit 16 sends data to each secondary station. Are sequentially transmitted. The input terminal 1-i of the primary station 1 is provided with a polling signal detecting circuit 18 and a start signal receiving circuit 19 for receiving a polling signal from the secondary station 4 connected last. The polling signal detection circuit 18 receives the polling signal from the secondary station of the last rank and resets the polling signal monitoring timer 12,
Alternatively, the data signal receiving circuit 20 and the polling signal transmitting circuit 11 are alternatively operated. The polling signal monitoring timer 12 monitors a polling signal given from the last station in each cycle of data transmission and reception, and gives its output to the data signal receiving circuit 20 and the start signal transmitting circuit 21. The start signal transmission circuit 21 is a transmission circuit for transmitting a biphase signal having a frequency of, for example, 60 KHz and 30 KHz to the respective secondary stations at the beginning of the data reception cycle of the primary station 1, like the data signal. The transmission timing of the start signal transmitting circuit 21 is given to the start signal receiving circuit 19,
At that time, if the start signal is not received via the transmission line 5, the disconnection flag 14 is set. The data signal receiving circuit 20 receives the data signal of each secondary station transmitted from the output terminal 1-o, and applies the received signal to the data reproducing circuit 22 to reproduce the data and output it to the outside. The data counter 23 is a counter for counting the number of received data, and the count value is given to the abnormality processing unit 24. Further, the outputs of the polling signal monitoring timer 12, the disconnection flag 14, and the retransmission flag 13 are given to the abnormality processing unit 24. The abnormality processing unit 24 uses each of the two inputs as described below based on these inputs.
It is a detection processing unit that detects disconnection of the transmission line 5 between the next station and the next station.

(2次局の構成) 第3図は2次局2の構成を示すブロック図であるが、他
の2次局3,4についても同様の構成を有している。さ
て2次局2の入力端子2-iにはローパスフィルタ31と
スタート信号検知回路32,ポーリング信号検知回路3
3及びデータ信号受信回路34が接続される。ローパス
フィルタ31はLCから成る受動型フィルタであって、
ポーリング信号として用いられる1MHzの周波数の信号
を遮断し、伝送線5より送出される周波数1MHz以下、
例えば60KHz及び30KHzで変調されたデータ信号及びス
タート信号をそのまま出力端子2-oに伝えるものであ
る。又スタート信号検知回路32は伝送線5より与えら
れるスタート信号を検知して出力フラグ35をセットす
る。出力フラグ35は送受信モードを記憶するフラグで
あり、ポーリング信号検知回路33は伝送線5を介して
与えられるポーリング信号を受信し、その検知タイミン
グをデータ信号受信回路34に与える。データ信号受信
回路34は出力フラグ35がセットされていない受信モ
ード時にポーリング信号が受信された直後のデータ信号
を受信するものであって、その出力をデータ信号再生回
路36に与える。データ信号再生回路36は1次局1か
ら送出されたデータ信号をデコードしてデータ信号とし
て出力するものであって、その出力は2次局毎に異なる
出力手段、例えばリレー等の駆動信号として用いられ
る。データ信号受信回路34の受信タイミングはポーリ
ング信号送信回路37に与えられる。ポーリング信号送
信回路37は2次局2自身から後順位の2次局に対する
ポーリング信号を送出する送信回路であって、ポーリン
グ信号の生成に用いる1MHzの周波数の発振器38が接
続されている。又データ信号送信回路39は出力フラグ
35がセットされているデータ送出モード時にポーリン
グ信号受信後1次局1に送出するデータ信号を送信する
回路であって、送出後のタイミングをポーリング信号送
信回路37に与える。そしてローパスフィルタ31,ポ
ーリング信号送信回路37及びデータ信号送信回路39
の出力が出力端子2-oを介して後順位の2次局3に接続
される。
(Structure of Secondary Station) FIG. 3 is a block diagram showing the structure of the secondary station 2, but the other secondary stations 3 and 4 have the same structure. At the input terminal 2-i of the secondary station 2, a low pass filter 31, a start signal detection circuit 32, and a polling signal detection circuit 3 are provided.
3 and the data signal receiving circuit 34 are connected. The low-pass filter 31 is a passive filter composed of LC,
A signal with a frequency of 1 MHz used as a polling signal is cut off, and a frequency of 1 MHz or less transmitted from the transmission line 5,
For example, the data signal and the start signal modulated at 60 KHz and 30 KHz are directly transmitted to the output terminal 2-o. Further, the start signal detection circuit 32 detects the start signal given from the transmission line 5 and sets the output flag 35. The output flag 35 is a flag for storing the transmission / reception mode, and the polling signal detection circuit 33 receives the polling signal given through the transmission line 5 and gives the detection timing to the data signal reception circuit 34. The data signal receiving circuit 34 receives the data signal immediately after the polling signal is received in the reception mode in which the output flag 35 is not set, and gives its output to the data signal reproducing circuit 36. The data signal reproduction circuit 36 decodes the data signal sent from the primary station 1 and outputs it as a data signal, and its output is used as a drive signal for different output means such as a relay for each secondary station. To be The reception timing of the data signal receiving circuit 34 is given to the polling signal transmitting circuit 37. The polling signal transmission circuit 37 is a transmission circuit for transmitting a polling signal from the secondary station 2 itself to the secondary station in the lower order, and is connected to an oscillator 38 having a frequency of 1 MHz used for generating the polling signal. The data signal transmission circuit 39 is a circuit for transmitting a data signal to be transmitted to the primary station 1 after receiving the polling signal in the data transmission mode in which the output flag 35 is set. Give to. Then, the low-pass filter 31, the polling signal transmission circuit 37, and the data signal transmission circuit 39
Is connected to the secondary station 3 in the rear order via the output terminal 2-o.

(本実施例の動作) 次にフローチャート及び波形図を参照しつつ本実施例の
動作について説明する。第4図は1次局1の動作を示す
フローチャート、第5図は各2次局の動作を示すフロー
チャートであり、第6図(a)〜(d)は第1図に示したa〜
dの各点の信号波形を示す波形図である。本図におい
て、1次局1にスタート信号が与えられると動作を開始
しまず第4図のステップ41に進んで再送フラグ13及び
断線フラグ14をリセットする。そしてステップ42にお
いてポーリング信号監視タイマ12を動作させ、ステッ
プ43に進んでポーリング信号送信回路11から第6図
(a)に示すようにポーリング信号P1を送出する。前述
したようにポーリング信号としては所定期間周波数1M
Hzの信号を送出するものとする。そしてその後ルーチン
44に進んでデータ信号送信回路16より所定周期t毎に
第6図(a)〜(d)に示すように各2次局2,3,4に対す
るデータ信号D2r,D3r,D4r,を順次断続的に送出す
る。
(Operation of the present embodiment) Next, the operation of the present embodiment will be described with reference to the flowchart and the waveform diagram. FIG. 4 is a flow chart showing the operation of the primary station 1, FIG. 5 is a flow chart showing the operation of each secondary station, and FIGS. 6 (a) to 6 (d) are a to FIG.
It is a wave form diagram which shows the signal waveform of each point of d. In the figure, when a start signal is given to the primary station 1, the operation is started, and first the process proceeds to step 41 in FIG. 4 to reset the retransmission flag 13 and the disconnection flag 14. Then, in step 42, the polling signal monitoring timer 12 is activated, and the process proceeds to step 43, in which the polling signal transmitting circuit 11 is operated as shown in FIG.
As shown in (a), the polling signal P1 is transmitted. As described above, the polling signal has a frequency of 1M for a predetermined period.
A Hz signal shall be transmitted. And then the routine
Proceeding to 44, the data signal transmitting circuit 16 intermittently connects and disconnects the data signals D2r, D3r, D4r to the respective secondary stations 2, 3 and 4 at predetermined intervals t as shown in FIGS. 6 (a) to (d). To send out.

さて2次局2は動作を開始するとステップ71において出
力フラグ35をリセットし、ステップ72,73において検
知回路32,33によってスタート信号及びポーリング
信号が検知されるかどうかをチェックしている。スター
ト信号の検知に先立ってステップ73においてポーリング
信号P1を検知すればステップ75に進んで出力フラグ3
5が立っているかどうかをチェックする。このフラグが
立っていなければ第6図の時間帯Trに示すようにデー
タ受信モードにより動作しているので、ステップ76に進
んでデータ信号受信回路34より伝送線5を介して与え
られるデータ信号D2rを受信する。次いでデータの受信
後ポーリング信号送信回路37よりポーリング信号P2
を生成し、第6図(b)に示すように出力端子2-oより送
出する(ステップ77)。ここでデータ信号D2rは第6図
(a)〜(d)に示すように2次局2〜4の夫々のローパスフ
ィルタを通過して1次局1に戻るが、ポーリング信号P
1が与えられる2次局2に対してのみ有効なデータとな
る。2次局2はポーリング信号の送出後ステップ72に戻
って以後同様の処理を繰り返す。こうすれば第6図に示
すようにデータの送出タイミングtを適切な値に選択し
ておくことによって1次局1から与えるデータに各2次
局で生成されるポーリング信号P2,P3,P4が重畳
し、夫々の2次局2〜4にデータを伝送することが可能
となる。
When the secondary station 2 starts its operation, it resets the output flag 35 in step 71, and checks in steps 72 and 73 whether the start signals and polling signals are detected by the detection circuits 32 and 33. If the polling signal P1 is detected in step 73 prior to the detection of the start signal, the process proceeds to step 75 and the output flag 3
Check if 5 is standing. If this flag is not set, it is operating in the data reception mode as shown in the time zone Tr of FIG. 6, so the routine proceeds to step 76, where the data signal D2r given from the data signal reception circuit 34 through the transmission line 5 is supplied. To receive. Then, after receiving the data, the polling signal transmitting circuit 37 sends the polling signal P2.
Is generated and sent from the output terminal 2-o as shown in FIG. 6 (b) (step 77). Here, the data signal D2r is shown in FIG.
As shown in (a) to (d), the secondary signal passes through the low-pass filters of the secondary stations 2 to 4 and returns to the primary station 1, but the polling signal P
The data is valid only for the secondary station 2 to which 1 is given. After transmitting the polling signal, the secondary station 2 returns to step 72 and repeats the same processing thereafter. By doing this, as shown in FIG. 6, by selecting the data transmission timing t to an appropriate value, the polling signals P2, P3, P4 generated by each secondary station are added to the data given from the primary station 1. It is possible to overlap and transmit data to the respective secondary stations 2 to 4.

さてポーリング信号監視タイマ12がタイムアップする
までにポーリング信号受信回路18により最後順位の2
次局4からポーリング信号P4が受信されれば、ステッ
プ45を介してステップ46に進みポーリング信号監視タイ
マ12をリセットする。この期間内にポーリング信号監
視タイマがタイムアップすればこの処理を行うことなく
ステップ47を介してステップ48に進んでポーリング信号
監視タイマ12を再び動作させる。そしてステップ49に
進んでデータカウンタ23をリセットしステップ50にお
いてスタート信号送信回路21より第6図(a)に示すよ
うにスタート信号S1を送出する。スタート信号S1は
前述したようにデータ信号と同じく周波数60KHz及び30
KHzのバイフェーズ符号から成るものであるので、各2
次局2〜4のローパスフィルタをそのまま通過して伝送
線5を介して1次局1の入力端子1-iに戻る。従ってス
テップ51においてスタート信号受信回路19よりスター
ト信号が受信されたかどうかをチェックし、スタート信
号が受信されなければ伝送線5のいずれかに断線がある
ので断線フラグ14を立て(ステップ52)、スタート信
号が検知されればこの処理を行うことなくステップ53に
進んでポーリング信号検知回路18よりスタート信号を
ポーリング信号送信回路11に与えてポーリング信号P
1を送出する。そしてステップ54,55,56においてポー
リング信号監視タイマ12がタイムアップするまでポー
リング信号とデータ信号を検知する。
By the time the polling signal monitoring timer 12 expires, the polling signal receiving circuit 18 sets the last 2
When the polling signal P4 is received from the next station 4, the routine proceeds to step 46 through step 45, and the polling signal monitoring timer 12 is reset. If the polling signal monitoring timer times out within this period, the process proceeds to step 48 through step 47 without performing this processing, and the polling signal monitoring timer 12 is operated again. Then, in step 49, the data counter 23 is reset, and in step 50, the start signal transmitting circuit 21 transmits the start signal S1 as shown in FIG. 6 (a). The start signal S1 has a frequency of 60 KHz and 30 as with the data signal as described above.
Since it consists of KHz bi-phase code, each 2
It passes through the low-pass filters of the secondary stations 2 to 4 as they are and returns to the input terminal 1-i of the primary station 1 via the transmission line 5. Therefore, in step 51, it is checked whether or not the start signal is received from the start signal receiving circuit 19, and if the start signal is not received, there is a disconnection in any of the transmission lines 5, so the disconnection flag 14 is set (step 52), and the start If a signal is detected, the process proceeds to step 53 without performing this process, and the polling signal detection circuit 18 gives a start signal to the polling signal transmission circuit 11 to send the polling signal P.
Send 1. Then, in steps 54, 55 and 56, the polling signal and the data signal are detected until the polling signal monitoring timer 12 times out.

一方2次局2ではステップ72においてスタート信号S1
が検知されれば出力フラグ35を立て(ステップ73)、
データ送出モードとなってポーリング信号の有無を監視
する。その後ポーリング信号が検知されれば出力フラグ
35が立っているのでステップ75を介してステップ78に
進み2次局2から1次局1に送出すべきデータD2sをデ
ータ信号送信回路36により送出する。このデータ信号
は1次局1から各2次局に送出されるデータと同じく60
KHz及び30KHzの信号から成り立っているので、ローパ
スフィルタ31を通過する。従って第6図(a)〜(d)に示
すように伝送線5上の全ての点でこの信号が検知できる
こととなる。従って1次局1はその出力端子1-oに接続
されているデータ信号受信回路20によってこのデータ
を受信する。そしてステップ79に進んで出力フラグ35
をリセットし、ステップ77に戻って前述した受信モード
と同様にポーリング信号P2を2次局3に送出する。こ
うすれば第6図(b),(c),(d)に示すように各2次局に
順次送受信権となるポーリング信号を伝えて1次局にデ
ータを収集することができる。1次局1はデータ信号を
受信すればステップ55を介してステップ57,58に進みデ
ータカウンタ23をインクリメントし、データ再生回路
22よりその計数値の2次局のデータを出力してステッ
プ54に戻る。そして最後順位の2次局4よりポーリング
信号P4が与えられれば2次局のデータ送出モードが終
了したのでステップ54よりステップ41に戻って以後同様
の処理を繰り返す。
On the other hand, in the secondary station 2, in step 72, the start signal S1
Is detected, the output flag 35 is set (step 73),
The data transmission mode is entered and the presence or absence of a polling signal is monitored. After that, if the polling signal is detected, the output flag 35 is set. Therefore, the process proceeds to step 78 through step 75, and the data D2s to be transmitted from the secondary station 2 to the primary station 1 is transmitted by the data signal transmission circuit 36. This data signal is the same as the data sent from the primary station 1 to each secondary station.
Since it consists of KHz and 30 KHz signals, it passes through the low-pass filter 31. Therefore, as shown in FIGS. 6 (a) to 6 (d), this signal can be detected at all points on the transmission line 5. Therefore, the primary station 1 receives this data by the data signal receiving circuit 20 connected to its output terminal 1-o. Then, the process proceeds to step 79 and the output flag 35
, And returns to step 77 to send the polling signal P2 to the secondary station 3 as in the reception mode described above. By doing so, as shown in FIGS. 6 (b), (c), and (d), it is possible to transmit a polling signal which becomes a transmission / reception right to each secondary station in order to collect data to the primary station. When the primary station 1 receives the data signal, it proceeds to steps 57 and 58 via step 55 to increment the data counter 23, outputs the data of the secondary station of the counted value from the data reproduction circuit 22, and proceeds to step 54. Return. If the polling signal P4 is given from the secondary station 4 of the last rank, the data transmission mode of the secondary station has ended, so that the process returns from step 54 to step 41 and the same processing is repeated thereafter.

しかしながらポーリング信号が与えられずにポーリング
信号監視タイマがタイムアップすることがある。この場
合にはステップ56を介してステップ59に進み再送フラグ
13が立っているかどうかをチェックする。再送フラグ
13は最初リセットされているのでステップ60に進んで
再送フラグ13をセットし、ステップ49に戻って同様の
処理を繰り返す。何らかの異常がある場合には再びポー
リング信号が検知される前にポーリング信号監視タイマ
12がタイムアップするのでステップ59を介してステッ
プ61に進み、断線フラグ14が立てられているかどうか
をチェックする。断線フラグ14が立っている場合には
データカウンタ23で示す計数値の2次局までは正常に
データが送出されてきたので、そのカウント値(CN)
と(CN+1)の2次局間で伝送線5が断線しているこ
とが識別できるのでステップ62に進んで異常処理部24
より断線を出力する。又断線フラグ14が立っていなけ
ればカウント値(CN)の後順位の2次局(CN+1)
が故障しているものと判断されるので(ステップ63)、
異常処理部24よりその旨を出力して処理を終了する。
However, the polling signal monitoring timer may time out without being given the polling signal. In this case, the process proceeds from step 56 to step 59 to check whether the retransmission flag 13 is set. Since the retransmission flag 13 is initially reset, the routine proceeds to step 60, where the retransmission flag 13 is set, and the routine returns to step 49 to repeat the same processing. If there is any abnormality, the polling signal monitoring timer 12 times out before the polling signal is detected again. Therefore, the process proceeds to step 61 through step 59 to check whether the disconnection flag 14 is set. When the disconnection flag 14 is set, data has been normally transmitted up to the secondary station having the count value indicated by the data counter 23, so the count value (CN)
Since it can be identified that the transmission line 5 is disconnected between the secondary stations of (CN + 1) and (CN + 1), the process proceeds to step 62 and the abnormality processing unit 24
Output more disconnection. If the disconnection flag 14 is not set, the secondary station (CN + 1) in the subsequent rank of the count value (CN)
Is judged to be defective (step 63),
The abnormality processing unit 24 outputs a message to that effect and ends the processing.

このようにすれば1次局1はポーリング信号を送出した
後各2次局に対するデータを所定のタイミングで順次送
出し、又スタート信号とポーリング信号とを送出した後
各2次局からのデータを受信することによって各2次局
で生成されたポーリング信号がその間に重畳され、各2
次局に対するアドレス設定を行うことなくデータの授受
を行うことが可能となる。
In this way, the primary station 1 sends the polling signal and then sequentially sends the data to each secondary station at a predetermined timing, and also sends the start signal and the polling signal and then sends the data from each secondary station. The polling signals generated by each secondary station upon reception are superposed in between,
Data can be exchanged without setting an address for the next station.

尚本実施例は3台の2次局を用いた多重伝送装置につい
て説明したが、更に多数の2次局を用いて同様のシステ
ムを構成することができることはいうまでもない。又本
実施例では各2次局にデータ信号,スタート信号をその
まま通過させポーリング信号のみを遮断するためローパ
スフィルタを設けたが、ポーリング信号として低い周波
数の信号を用いデータ信号を高周波で変調することによ
って、データ信号,スタート信号を通過させるフィルタ
をハイパスフィルタ等他のフィルタに変更することも可
能である。
Although the present embodiment has described the multiplex transmission device using three secondary stations, it is needless to say that a similar system can be configured by using a larger number of secondary stations. Further, in this embodiment, a low-pass filter is provided to pass the data signal and the start signal to each secondary station as they are and to cut off only the polling signal. However, a low-frequency signal is used as the polling signal to modulate the data signal at a high frequency. It is also possible to change the filter for passing the data signal and the start signal to another filter such as a high pass filter.

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

第1図は本発明による多重伝送装置の一実施例を示す概
略ブロック図、第2図は本発明による多重伝送装置の1
次局1の構成を示すブロック図、第3図は2次局の構成
を示すブロック図、第4図は1次局1の動作を示すフロ
ーチャート、第5図は2次局2の動作を示すフローチャ
ート、第6図は多重伝送装置の伝送線の各部a〜dの波
形を示す波形図である。 1……1次局、2,3,4……2次局、5……伝送線、
11,37……ポーリング信号送信回路、12……ポー
リング信号監視タイマ、16,39……データ信号送信
回路、18,33……ポーリング信号検知回路、19…
…スタート信号受信回路、20,34……データ信号受
信回路、21……スタート信号送信回路、24……異常
処理部、31……ローパスフィルタ、32……スタート
信号検知回路、35……出力フラグ
FIG. 1 is a schematic block diagram showing an embodiment of a multiplex transmission apparatus according to the present invention, and FIG. 2 is a block diagram of a multiplex transmission apparatus according to the present invention.
FIG. 3 is a block diagram showing the configuration of the secondary station 1, FIG. 3 is a block diagram showing the configuration of the secondary station, FIG. 4 is a flowchart showing the operation of the primary station 1, and FIG. 5 is an operation of the secondary station 2. A flow chart, FIG. 6 is a waveform diagram showing the waveform of each part a to d of the transmission line of the multiplex transmission device. 1 ... Primary station, 2, 3, 4 ... Secondary station, 5 ... Transmission line,
11, 37 ... Polling signal transmitting circuit, 12 ... Polling signal monitoring timer, 16, 39 ... Data signal transmitting circuit, 18, 33 ... Polling signal detecting circuit, 19 ...
... Start signal receiving circuit, 20, 34 ... Data signal receiving circuit, 21 ... Start signal transmitting circuit, 24 ... Abnormality processing section, 31 ... Low pass filter, 32 ... Start signal detecting circuit, 35 ... Output flag

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】1次局と複数の2次局とを有し、1次局の
出力端が最先順位の2次局の入力端に、各2次局の出力
端が順次後順位の2次局の入力端に接続され、最後順位
の2次局の出力端が1次局の入力端に接続されて構成さ
れる多重伝送装置であって、 前記1次局は、 データ受信モード,データ送出モードの切換時に送受信
権となるポーリング信号を最先順位の2次局に送出する
ポーリング信号送出手段と、 前記ポーリング信号送出後前記各2次局に対するデータ
を最先順位の2次局よりその順位順に所定間隔(t)を
あけて順次断続的に送出するデータ送出手段と、 前記データ送出手段からデータの送出後に2次局をデー
タ送出モードとするスタート信号を送出するスタート信
号送出手段と、 前記スタート信号送出手段及びポーリング信号送出手段
よりスタート信号及びポーリング信号を送出した後各2
次局から与えられるデータを順次受信するデータ受信手
段と、を有し、前記各2次局は、 入出力端間に接続され入力端子より得られるデータ信号
及びスタート信号を通過させポーリング信号を遮断する
フィルタ手段と、 スタート信号を受信してデータ送出モードを記憶するモ
ード記憶手段と、 データ受信モードのときにポーリング信号の受信後に与
えられるデータ信号を受信するデータ信号受信手段と、 データ送出モードのときにポーリング信号の受信後に1
次局にデータを送出するデータ送出手段と、 前記データ信号受信手段によるデータ信号の受信後、前
記所定間隔(t)内にその送出が完了するように後順位
の2次局にポーリング信号を送出し、前記データ送出手
段によるデータ信号の送出後にポーリング信号を送出す
るポーリング信号送出手段と、を有するものであること
を特徴とする多重伝送装置。
1. A primary station and a plurality of secondary stations, wherein the output terminal of the primary station is the input terminal of the secondary station having the highest priority, and the output terminal of each secondary station is the secondary order. A multiplex transmission apparatus configured to be connected to an input terminal of a secondary station, and an output terminal of the last-ordered secondary station connected to an input terminal of the primary station, wherein the primary station is a data reception mode, Polling signal transmitting means for transmitting a polling signal which becomes a transmission / reception right to the secondary station having the highest priority when the data transmission mode is switched, and data for each secondary station after the polling signal is transmitted from the secondary station having the highest priority. Data transmission means for transmitting intermittently in sequence at a predetermined interval (t), and start signal transmission means for transmitting a start signal for placing the secondary station in the data transmission mode after the data transmission from the data transmission means. , The start signal transmitting means and polling Each After sending a from start signal and a polling signal No. sending means 2
Data receiving means for sequentially receiving data given from the next station, wherein each of the secondary stations is connected between the input and output terminals and allows a data signal and a start signal obtained from an input terminal to pass through and cuts off a polling signal. Filter means, a mode storage means for receiving a start signal and storing a data transmission mode, a data signal reception means for receiving a data signal given after receiving a polling signal in the data reception mode, and a data transmission mode Sometimes 1 after receiving a polling signal
Data sending means for sending data to the next station, and a polling signal is sent to the secondary station in the next order so that the sending is completed within the predetermined interval (t) after the data signal is received by the data signal receiving means. And a polling signal transmitting means for transmitting a polling signal after the data signal is transmitted by the data transmitting means.
【請求項2】前記1次局及び前記各2次局のポーリング
信号送出手段により送出されるポーリング信号はデータ
信号及びスタート信号より高い周波数を有する信号であ
り、前記各2次局のフィルタ手段は該ポーリング信号を
遮断しデータ信号及びスタート信号を通過させるローパ
スフィルタであることを特徴とする特許請求の範囲第1
項記載の多重伝送装置。
2. The polling signal transmitted by the polling signal transmitting means of the primary station and each of the secondary stations is a signal having a frequency higher than that of the data signal and the start signal, and the filtering means of each of the secondary stations is A low-pass filter for blocking the polling signal and passing a data signal and a start signal.
The multiplex transmission device according to the item.
JP7894185A 1985-04-12 1985-04-12 Multiplexer Expired - Lifetime JPH0642676B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7894185A JPH0642676B2 (en) 1985-04-12 1985-04-12 Multiplexer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7894185A JPH0642676B2 (en) 1985-04-12 1985-04-12 Multiplexer

Publications (2)

Publication Number Publication Date
JPS61237548A JPS61237548A (en) 1986-10-22
JPH0642676B2 true JPH0642676B2 (en) 1994-06-01

Family

ID=13675906

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7894185A Expired - Lifetime JPH0642676B2 (en) 1985-04-12 1985-04-12 Multiplexer

Country Status (1)

Country Link
JP (1) JPH0642676B2 (en)

Also Published As

Publication number Publication date
JPS61237548A (en) 1986-10-22

Similar Documents

Publication Publication Date Title
JPH0642676B2 (en) Multiplexer
JPH0642677B2 (en) Multiplexer
JPS61133499A (en) Mutual monitor for a plurality of residenses
JPS61237551A (en) Multiplex transmission equipment
JP2756304B2 (en) Communication control device
JPS61237549A (en) Multiplex transmission equipment
JPS61237547A (en) Multiplex transmission equipment
JPH0126213B2 (en)
JPS62171349A (en) Communication control equipment
JPH0691545B2 (en) Multiplexer
JPH0311701B2 (en)
JPH0818606A (en) Discontinuity detection method
JPH05300120A (en) Method for confirming connection between equipments in digital communication system
JPS61237550A (en) Multiplex transmission equipment
JPS63240147A (en) Status supervisory system
JPS6295042A (en) Multiplex transmission equipment
JPS61237552A (en) Multiplex transmission equipment
JPH0642678B2 (en) Multiplexer
JPH02288442A (en) Plural protocol controller
JPH0535624B2 (en)
JPS6090451A (en) Multiple transmitter
JPS6388933A (en) Information transmitter
JPH0817398B2 (en) Abnormality detection method in data transmission system
JPH01296829A (en) Serial control device
JPS59154839A (en) Transmission control system