JPS61237548A - Multiplex transmission equipment - Google Patents

Multiplex transmission equipment

Info

Publication number
JPS61237548A
JPS61237548A JP7894185A JP7894185A JPS61237548A JP S61237548 A JPS61237548 A JP S61237548A JP 7894185 A JP7894185 A JP 7894185A JP 7894185 A JP7894185 A JP 7894185A JP S61237548 A JPS61237548 A JP S61237548A
Authority
JP
Japan
Prior art keywords
signal
data
station
transmitting
polling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7894185A
Other languages
Japanese (ja)
Other versions
JPH0642676B2 (en
Inventor
Ikuro Kinoshita
木下 郁朗
Yasuto Yonekura
米倉 康人
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)

Abstract

PURPOSE:To make multiplex transmission with simple lines, by connecting plural number of secondary stations in loop to the primary station, issuing various signals from the primary station and making the secondary station receive/transmit the data only when it received the poling signal addressed to itself. CONSTITUTION:Plural number of secondary stations 2-4 are connected in loop to a primary station 1. The primary station sends out, following the poling signal, state signal and data signal from its output terminal 1-0. The secondary station takes in the poling signal and if the signal is addressed to itself, it receives data signal by the start signal and sends out its own output data to the lower rank station. If the signal is not addressed to itself, it adds the poling signal to the start signal and data signal sent from the higher station to the lower station. By doing so, the address setting for each secondary station becomes unnecessary, and multiple transmission can be done by simple lines.

Description

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

〔発明の概要〕[Summary of the invention]

本発明による多重伝送装置は、1次局から2次局へのデ
ータの送出時にはポーリング信号送出後各2次局に対す
るデータ信号を所定間隔毎に送出し、2次局からのデー
タ受信時にはポーリング信号を送出して各2次局からの
データを待受ける1次局と、1次局からのデータ信号を
受信しポーリング信号に対してデータを送出する2次局
を該1次局にデジチェーン式にループ接続したものであ
る。このような構成により夫々の2次局についてのアド
レス設定が不要となり、送受信の機能を有する2次局を
接続して多重伝送装置を形成することができる。
The multiplex transmission device according to the present invention transmits a polling signal when transmitting data from a primary station to a secondary station, and then transmits a data signal to each secondary station at predetermined intervals, and when receiving data from a secondary station, sends a polling signal. The primary station that sends out the data and waits for data from each secondary station, and the secondary station that receives the data signal from the primary station and sends data in response to the polling signal are digitally chained to the primary station. It is connected in a loop. 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 transmitting and receiving functions.

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

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

しかるに2次局を極めて小型化する必要がある場合には
、DIPスイッチによって小型化が制約されるという問
題点がある。更に多数の2次局を一時に設置する場合に
はアドレスの設定は比較的容易であるが、多重伝送装置
のシステム構成後に2次局数を増減する場合にはアドレ
スが連続しないこととなったり、又同じアドレスに誤っ
て複数の2次局を設定する可能性があり、伝送誤りが生
じるという問題点があった。又2次局の設置現場での作
業を容易にするために各2次局にアドレスを指定しない
シフトレジスタ方式も知られているが、この方式ではデ
ータ信号の他にクロック信号用の信号線が必要となり安
価な2芯線を用いて伝送システムを構成することができ
ず、伝送ケーブルの価格が上昇するという問題点があっ
た。又2次局は1次局からのデータを受信してリレー等
を駆動する受信型2次局とセンサ等の信号を1次局に送
出する送信型2次局があるが、これらを共用することが
できなかった。
However, when it is necessary to make the secondary station extremely compact, there is a problem in that the DIP switch limits the miniaturization. Furthermore, when setting up a large number of secondary stations at once, setting addresses is relatively easy, but when increasing or decreasing the number of secondary stations after configuring the multiplex transmission equipment system, the addresses may not be consecutive. Furthermore, there is a possibility that a plurality of secondary stations may be set to the same address by mistake, resulting in a transmission error. A shift register method is also known in which addresses are not specified for each secondary station in order to facilitate work at the site where secondary stations are installed. There was a problem in that the transmission system could not be configured using the necessary and inexpensive two-core wire, and the price of the transmission cable increased. In addition, the secondary station includes a receiving type secondary station that receives data from the primary station and drives relays, etc., and a transmitting type secondary station that sends signals such as sensors to the primary station, but these are shared. I couldn't.

〔発明の目的〕[Purpose of the invention]

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

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

本発明は1次局と複数個の2次局が伝送線でデジチェー
ン式にループ接続された多重伝送装置であって、1次局
は、データ受信モード、データ送出モードの切換時に送
受信権となるポーリング信号を最先順位の2次局に送出
するポーリング信号送出手段と、ポーリング信号送出後
各2次局に対するデータを順次断続的に送出するデータ
送出手段と、データ送出手段からデータの送出後に2次
局をデータ送出モードとするスタート信号を送出するス
タート信号送出手段と、スタート信号送出手段及びポー
リング信号送出手段よりスタート信号及びポーリング信
号を送出した後各2次局から与えられるデータを順次受
信するデータ受信手段と、を有し、各2次局は、入出力
間に接続され入力端子より得られるデータ信号及びスタ
ート信号を通過させポーリング信号を遮断するフィルタ
手段と、スタート信号を受信してデータ送出モードを記
憶するモード記憶手段と、データ受信モードのときにポ
ーリング信号の受信後に与えられるデ−タ信号を受信す
るデータ信号受信手段と、データ送出モードのときにボ
ーリング信号の受信後に1次局にデータを送出するデー
タ送出手段と、データ受信手段によるデータ信号の受信
後及び前記データ送出手段によるデータ信号の送出後に
ボーリング信号を送出するポーリング信号送出手段と、
を有することを特徴とするものである。
The present invention is a multiplex transmission device in which a primary station and a plurality of secondary stations are connected in a loop in a digital chain manner via a transmission line, and the primary station receives transmission and reception rights when switching between data reception mode and data transmission mode. a polling signal sending means for sending out a polling signal to the highest priority secondary station; a data sending means for sequentially and intermittently sending data to each secondary station after sending the polling signal; Start signal sending means for sending out a start signal to set the secondary station in data sending mode, and after sending the start signal and polling signal from the start signal sending means and the polling signal sending means, sequentially receiving data given from each secondary station. Each secondary station has a filter means connected between the input and output for passing the data signal and start signal obtained from the input terminal and blocking the polling signal, and a filter means for receiving the start signal. mode storage means for storing a data sending mode; data signal receiving means for receiving a data signal given after receiving a polling signal when in a data receiving mode; data transmitting means for transmitting data to a station; polling signal transmitting means for transmitting a boring signal after the data receiving means receives the data signal and after the data transmitting means transmits the data signal;
It is characterized by having the following.

このような特徴を有する本発明によれば、2芯の伝送線
を用いてポーリング信号、スタート信号及びデータ信号
の伝送を行い、各2次局はデータ受信モード時にはボー
リング信号を受信した後のデータを自局に対するデータ
とし、その後自らボーリング信号を発して後順位の2次
局に対するボーリング信号を与えるようにしている。又
スタート信号が与えられればデータ送出モードに入りボ
ーリング信号に対しては自局よりデータを送出すること
によって1次局に対するデータ伝送を行っている。この
ような構成により2芯の伝送線のみを用いて入出力機能
を有する複数の2次局と1次局との間のデータ伝送を行
うことが可能となる。
According to the present invention having such characteristics, a polling signal, a start signal, and a data signal are transmitted using a two-core transmission line, and each secondary station receives data after receiving a boring signal in the data reception mode. is used as data for its own station, and then it issues a bowling signal to give a bowling signal to the next secondary station. When a start signal is given, the station enters a data sending mode and transmits data from its own station to the primary station in response to a boring signal. Such a configuration makes it possible to perform data transmission between a plurality of secondary stations having input/output functions and a primary station using only two-core transmission lines.

又各2次局に対してアドレス設定を行わないのでDIP
スイッチを設ける必要がなくなる。従って各2次局を小
型化することができ、2次局の設置時の作業性を向上さ
せることが可能となる。更に1次局側でスタート信号、
2次局から送信されるポーリング信号1回線上のデータ
信号を監視することができるので、故障した2次局や伝
送線の断線場所を検知することが可能となる。
Also, since addresses are not set for each secondary station, DIP
There is no need to provide a switch. Therefore, each secondary station can be downsized, and workability when installing the secondary stations can be improved. Furthermore, a start signal is sent on the primary station side,
Since the data signal on one polling signal line transmitted from the secondary station can be monitored, it is possible to detect a failed secondary station or a location where the transmission line is disconnected.

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

第1図は本発明による多重伝送装置の一実施例を示す概
略ブロック図である。本図において1次局1と複数の2
次局2.3.4が2芯の伝送線5によってデジチェーン
状にループ接続されている。
FIG. 1 is a schematic block diagram showing an embodiment of a multiplex transmission apparatus according to the present invention. In this figure, primary station 1 and multiple 2
The next stations 2.3.4 are loop-connected in a digital chain by a two-core transmission line 5.

即ち1次局の出力端子1−0は最先順位に接続された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に接続されている。
In other words, the output terminals 1-0 of the primary station are connected to the first station 2.
The output terminal 2-o of the secondary station 2 is connected to the input terminal 3-i of the next secondary station 3 via a transmission line 5. Similarly, the output terminal 3-o of the secondary station 3 is connected to the input terminal 4-i of the last secondary station 4, and the output terminal 4-o is connected to the input terminal 1 of the primary station 1 via the transmission line 5. - connected to i.

1次局1は、ループ状に接続された2次局へのデータ信
号を伝えるボーリング信号と2次局2,3゜4に伝える
データ信号及びスタート信号を断続して順次送出するも
のである。
The primary station 1 intermittently and sequentially transmits a boring signal that transmits a data signal to a secondary station connected in a loop, and a data signal and a start signal that transmits a data signal and a start signal to the secondary stations 2, 3, and 4.

(1次局の構成) 1次局1は第2図にその構成を示すように、外部からの
スタート信号に基づいて動作するポーリング信号送信回
路11.ポーリング信号監視タイマ12と、スタート信
号によってリセットされる再送フラグ13及び断線フラ
グ14を有している。
(Configuration of Primary Station) As shown in FIG. 2, the primary station 1 includes a polling signal transmitting circuit 11. which operates based on an external start signal. It has a polling signal monitoring timer 12, a retransmission flag 13 and a disconnection flag 14 that are reset by a start signal.

ボーリング信号送信回路11はボーリング信号の周波数
例えばIMHzの周波数を発振する発振器15の出力が
与えられ、スタート信号に応じてボーリング信号を送出
すると共にその送出タイミングをデータ信号送信回路1
6に伝えるものである。
The boring signal transmitting circuit 11 is supplied with the output of an oscillator 15 that oscillates a frequency of a boring signal, for example, IMHz, and transmits a boring signal in response to a start signal and determines the timing of the bowling signal by the data signal transmitting circuit 1.
6.

データ信号送信回路16は外部から設定された各2次局
に対するデータを例えばNRZ符号等により順次送信す
る送信回路であって、各送信毎にデータ信号タイマ17
がリセットされる。データ信号タイマ17はデータ信号
の送出タイミングを設定するタイマであって、タイムア
ツプする毎にデータ信号送信回路16にタイムアツプ信
号を伝え、それに基づいてデータ信号送信回路16が各
2次局に対するデータを順次送出する。1次局1の入力
端子1−iには、最後順位に接続された2次局4からの
ボーリング信号を受信するポーリング信号受信回路18
とスタート信号受信回路19が設けられる。ポーリング
信号受信回路18は最後順位の2次局からのボーリング
信号を受信してポーリング信号監視タイマ12をリセッ
トし、又は動作させると共にデータ信号受信回路20及
びボーリング信号送信回路11を択一的に動作させるも
のである。ポーリング信号監視タイマ12はデータの送
出及び受信の各サイクル毎に最後順位局から与えられる
ボーリング信号を監視するものであって、その出力をデ
ータ信号受信回路20及びスタート信号送信回路21に
与える。スタート信号送信回路21はデータ信号と同じ
く例えば周波数60KHzのNRZ信号を1次局1のデ
ータ受信サイクルの最初に各2次局に対して送出する送
信回路である。スタート信号送信回路21の送出タイミ
ングはスタート信号受信回路19に与えられ、そのとき
スタート信号が伝送線5を介して受信されなければ断線
フラグ14がセットされる。データ信号受信回路20は
出力端子1−oから伝送される各2次局のデータ信号を
受信するものであり、受信信号をデータ再生回路22に
与えてデータを再生し外部に出力する。又データカウン
タ23はこの受信データ数を計数するカウンタであり、
計数値は異常処理部24に与えられる。更にポーリング
信号監視タイマ12.断線フラグ14及び再送フラグ1
3の出力が異常処理部24に与えられる。
The data signal transmitting circuit 16 is a transmitting circuit that sequentially transmits data to each secondary station set from the outside using, for example, an NRZ code.
is reset. The data signal timer 17 is a timer that sets the sending timing of the data signal, and transmits a time-up signal to the data signal transmitting circuit 16 every time the time is up, and based on the time-up signal, the data signal transmitting circuit 16 sequentially transmits data to each secondary station. Send. At the input terminal 1-i of the primary station 1, there is a polling signal receiving circuit 18 for receiving a boring signal from the secondary station 4 connected to the last position.
and a start signal receiving circuit 19 are provided. The polling signal receiving circuit 18 receives the bowling signal from the last secondary station, resets or operates the polling signal monitoring timer 12, and selectively operates the data signal receiving circuit 20 and the bowling signal transmitting circuit 11. It is something that makes you The polling signal monitoring timer 12 monitors the bowling signal given from the last ranking station every cycle of data transmission and reception, and provides its output to the data signal receiving circuit 20 and the start signal transmitting circuit 21. The start signal transmitting circuit 21 is a transmitting circuit that transmits an NRZ signal having a frequency of, for example, 60 KHz to each secondary station at the beginning of the data reception cycle of the primary station 1, similar to the data signal. The sending timing of the start signal transmitting circuit 21 is given to the start signal receiving circuit 19, and if the start signal is not received via the transmission line 5 at that time, a 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 supplies 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 that counts the number of received data.
The count value is given to the abnormality processing section 24. Furthermore, a polling signal monitoring timer 12. Disconnection flag 14 and retransmission flag 1
The output of No. 3 is given to the abnormality processing section 24.

異常処理部24はこれらの入力に基づいて後述するよう
に各2次局又はその間の伝送線5の断線を検出する検出
処理部である。
The abnormality processing section 24 is a detection processing section that detects a disconnection of each secondary station or the transmission line 5 between them, as described later, based on these inputs.

(2次局の構成) 第3図は2次局2の構成を示すブロック図であるが、他
の2次局3.4についても同様の構成を有している。さ
て2次局2の入力端子2−iにはローパスフィルタ31
とスタート信号検知回路32゜ポーリング信号検知回路
33及びデータ信号受信回路34が接続される。ローパ
スフィルタ31はLCから成る受動型フィルタであって
、ボーリング信号として用いられるIMHzの周波数の
信号を遮断し、伝送線5より送出される周波数IMHz
以下、例えば60 K Hzで変調されたデータ信号及
びスタート信号をそのまま出力端子2−0に伝えるもの
である。又スタート信号検知回路32は伝送線5より与
えられるスタート信号を検知して出力フラグ35をセッ
トする。出力フラグ35は送受信モードを記憶するフラ
グであり、ポーリング信号検知回路33は伝送線5を介
して与えられるボーリング信号を受信し、その検知タイ
ミングをデータ信号受信回路34に与える。データ信号
受信回路34は出力フラグ35がットされていない受信
モード時にボーリング信号が受信された直後のデータ信
号を受信するものであって、その出力をデータ信号再生
回路36に与える。データ信号再生回路36は1次局1
から送出されたデータ信号をデコードしてデータ信号と
して出力するものであって、その出力は2次局毎に異な
る出力手段、例えばリレー等の駆動信号として用いられ
る。データ信号受信回路34の受信タイミングはポーリ
ング信号送信回路37に与えられる。ポーリング信号送
信回路37は2次局2自身から後順位の2次局に対する
ボーリング信号を送出する送信回路であって、ボーリン
グ信号の生成に用いるIMHzの周波数の発振器38が
接続されている。又データ信号送信回路39は出力フラ
グ35がセットされているデータ送出モード時にポーリ
ング信号受信後1次局1に送出するデータ信号を送信す
る回路であって、送出後のタイミングをポーリング信号
送信回路37に与える。そしてローパスフィルタ31、
ポーリング信号送信回路37及びデータ信号送信回路3
9の出力が出力端子2−oを介して後順位の2次局3に
接続される。
(Configuration of Secondary Station) FIG. 3 is a block diagram showing the configuration of the secondary station 2, and the other secondary stations 3.4 have similar configurations. Now, a low-pass filter 31 is connected to the input terminal 2-i of the secondary station 2.
A start signal detection circuit 32, a polling signal detection circuit 33, and a data signal reception circuit 34 are connected. The low-pass filter 31 is a passive filter made of LC, and blocks the IMHz frequency signal used as the boring signal, and cuts off the IMHz frequency signal sent from the transmission line 5.
Hereinafter, a data signal and a start signal modulated at, for example, 60 KHz are transmitted as they are to the output terminal 2-0. Further, the start signal detection circuit 32 detects a start signal applied from the transmission line 5 and sets an 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 boring signal applied via the transmission line 5 and provides its detection timing to the data signal reception circuit 34. The data signal receiving circuit 34 receives the data signal immediately after the boring signal is received in the receiving mode when the output flag 35 is not set, and provides its output to the data signal reproducing circuit 36. The data signal regeneration circuit 36 is the primary station 1
It decodes the data signal sent from the secondary station and outputs it as a data signal, and the output is used as a drive signal for different output means, such as a relay, for each secondary station. The reception timing of the data signal receiving circuit 34 is given to the polling signal transmitting circuit 37. The polling signal transmitting circuit 37 is a transmitting circuit for transmitting a boring signal from the secondary station 2 itself to a subsequent secondary station, and is connected to an oscillator 38 having a frequency of IMHz used for generating the boring signal. The data signal transmission circuit 39 is a circuit that transmits a data signal to be sent to the primary station 1 after receiving a polling signal in the data transmission mode when the output flag 35 is set, and the timing after transmission is determined by the polling signal transmission circuit 37. give to and a low pass filter 31,
Polling signal transmission circuit 37 and data signal transmission circuit 3
9 is connected to the subsequent secondary station 3 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を送
出する。前述したようにボーリング信号としては所定期
間周波数IMHzの信号を送出するものとする。そして
その後ルーチン44に進んでデータ信号送信回路16よ
り所定周期を毎に第6図(a)〜fdlに示すように各
2次局2,3.4に対するデータ信号D 2 r * 
 D 3 r + D 4 r +を順次断続的に送出
する。
(Operation of this embodiment) Next, the operation of this embodiment will be described with reference to flowcharts and waveform diagrams. FIG. 4 is a flowchart showing the operation of the primary station 1, FIG. 5 is a flowchart showing the operation of each secondary station, and FIGS. 6(a) to (d) are a-d shown in FIG. FIG. 2 is a waveform diagram showing signal waveforms at each point. In this figure, when a start signal is given to the primary station 1, the operation starts and the process first proceeds to step 41 in FIG. 4, where the retransmission flag 13 and disconnection flag 14 are reset. Then, in step 42, the boring signal monitoring timer 12 is activated, and the process proceeds to step 43, in which the polling signal transmitting circuit 11
From there, a boring signal P1 is sent out as shown in FIG. 6(a). As mentioned above, it is assumed that a signal having a frequency of IMHz is transmitted for a predetermined period of time as a boring signal. Thereafter, the process proceeds to routine 44, where the data signal transmitting circuit 16 sends the data signal D 2 r * to each secondary station 2, 3.4 at predetermined intervals as shown in FIGS. 6(a) to FD1.
D 3 r + D 4 r + are sent intermittently in sequence.

さて2次局2は動作を開始するとステップ71において
出力フラグ35をリセットし、ステップ72゜73にお
いて検知回路32.33によってスタート信号及びボー
リング信号が検知されるかどうかをチェックしている。
Now, when the secondary station 2 starts operating, it resets the output flag 35 in step 71, and checks in steps 72 and 73 whether or not the start signal and the boring signal are detected by the detection circuits 32 and 33.

スタート信号の検知に先立つてステップ73においてポ
ーリング信号P1を検知すればステップ75に進んで出
力フラグ35が立っているかどうかをチェックする。こ
のフラグが立っていなければ第6図の時間帯Trに示す
ようにデータ受信モードにより動作しているので、ステ
ップ76に進んでデータ信号受信回路34より伝送線5
を介して与えられるデータ信号D2rを受信する。次い
でデータの受信後ポーリング信号送信回路37よりポー
リング信号P2を生成し、第6図山)に示すように出力
端子2−0より送出する(ステップ77)。ここでデー
タ信号D2rは第6図(a)〜(d)に示すように2次
局2〜4の夫々のローパスフィルタを通過して1次局l
に戻るが、ポーリング信号P1が与えられる2次局2に
対してのみ有効なデータとなる。2次局2はポーリング
信号の送出後ステップ72に戻って以後同様の処理を繰
り返す。
If the polling signal P1 is detected in step 73 prior to detection of the start signal, the process proceeds to step 75 to check whether the output flag 35 is set. If this flag is not set, the operation is in the data reception mode as shown in the time period Tr in FIG.
The data signal D2r is received via the data signal D2r. After receiving the data, the polling signal transmission circuit 37 generates a polling signal P2, and sends it out from the output terminal 2-0 as shown in FIG. Here, the data signal D2r passes through the respective low-pass filters of the secondary stations 2 to 4 as shown in FIGS.
Returning to , the data is valid only for the secondary station 2 to which the polling signal P1 is applied. After sending the polling signal, the secondary station 2 returns to step 72 and repeats the same process.

こうすれば第6図に示すようにデータの送出タイミング
tを適切な値に選択しておくことによって1次局1から
与えるデータに各2次局で生成されるポーリング信号P
2.P3.P4が重畳し、夫々の2次局2〜4にデータ
を伝送することが可能となる。
In this way, by selecting an appropriate value for the data transmission timing t as shown in FIG.
2. P3. P4 is superimposed, making it possible to transmit data to each of the secondary stations 2 to 4.

さてポーリング信号監視タイマ12がタイムアツプする
までにポーリング信号受信回路18により最後順位の2
次局4からポーリング信号P4が受信されれば、ステッ
プ45を介してステップ46に進みポーリング信号監視
タイマ12をリセットする。この期間内にポーリング信
号監視タイマがタイムアツプすればこの処理を行うこと
なくステップ47を介してステップ48に進んでポーリ
ング信号監視タイマ12を再び動作させる。そしてステ
ップ49に進んでデータカウンタ23をリセットしステ
ップ50においてスタート信号送信回路21より第6図
(a)に示すようにスタート信号S1を送出する。スタ
ート信号S1は前述したようにデータ信号と同じく周波
数60 K HzのNRZ符号から成るものであるので
、各2次局2〜4のローパスフィルタをそのまま通過し
て伝送線5を介して1次局lの入力端子1−iに戻る。
Now, by the time the polling signal monitoring timer 12 times up, the polling signal receiving circuit 18 sends the last two
If the polling signal P4 is received from the next station 4, the process proceeds to step 46 via step 45, and the polling signal monitoring timer 12 is reset. If the polling signal monitoring timer times up within this period, the process proceeds to step 48 via step 47 without performing this process, and the polling signal monitoring timer 12 is operated again. Then, the process proceeds to step 49 to reset the data counter 23, and in step 50, the start signal S1 is sent from the start signal transmitting circuit 21 as shown in FIG. 6(a). As mentioned above, the start signal S1 is composed of an NRZ code with a frequency of 60 kHz like the data signal, so it passes through the low-pass filter of each secondary station 2 to 4 as it is and is transmitted to the primary station via the transmission line 5. Return to the input terminal 1-i of l.

従ってステップ51においてスタート信号受信回路19
よりスタート信号が受信されたかどうかをチェックし、
スタート信号が受信されなければ伝送線5のいずれかに
断線があるので断線フラグ37を立て(ステップ52)
、スタート信号が検知されればこの処理を行うことなく
スタート53に進んでポーリング信号検知回路18より
スタート信号をポーリング信号送信回路11に与えてポ
ーリング信号P1を送出する。そしてステップ54.5
5.56においてポーリング信号監視タイマ12がタイ
ムアツプするまでポーリング信号とデータ信号を検知す
る。
Therefore, in step 51, the start signal receiving circuit 19
Check if a start signal has been received,
If the start signal is not received, there is a break in one of the transmission lines 5, so a break flag 37 is set (step 52).
If a start signal is detected, the process proceeds to START 53 without performing this process, and the polling signal detection circuit 18 gives a start signal to the polling signal transmitting circuit 11 to send out the polling signal P1. and step 54.5
At 5.56, the polling signal and data signal are detected until the polling signal monitoring timer 12 times out.

一方2次局2ではステップ72においてスタート信号S
1が検知されれば出力フラグ35を立て(ステップ73
)、データ送出モードとなってポーリング信号の有無を
監視する。その後ポーリング信号が検知されれば出力フ
ラグ35が立っているのでステップ75を介してステッ
プ78に進み2次局2から1次局1に送出すべきデータ
D2sをデータ信号送信回路36により送出する。この
データ信号は1次局1から各2次局に送出されるデータ
と同じ< 60 K Hzの信号から成り立っているの
で、ローパスフィルタ31を介して1次局1の出力端子
1−oを介してデータ信号受信回路20によりデータが
受信される。そしてステップ79に進んで出力フラグ3
5をリセットし、ステップ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 S
If 1 is detected, the output flag 35 is set (step 73
), enters data transmission mode and monitors the presence or absence of a polling signal. After that, if a polling signal is detected, the output flag 35 is set, so the process goes from step 75 to step 78, and the data D2s to be sent from the secondary station 2 to the primary station 1 is sent by the data signal transmission circuit 36. Since this data signal is composed of the same <60 KHz signal as the data sent from the primary station 1 to each secondary station, it is transmitted through the output terminal 1-o of the primary station 1 via the low-pass filter 31. The data is received by the data signal receiving circuit 20. Then, proceed to step 79 and output flag 3.
5 and returns to step 77 to send the polling signal P2 to the secondary station 3 in the same manner as in the reception mode described above. In this way, as shown in FIGS. 6(b), 6(c), and 6(d), data can be collected by the primary station by sequentially transmitting polling signals that provide transmission and reception rights to each secondary station. When the primary station 1 receives the data signal, it proceeds to steps 57 and 58 via step 55, increments the data counter 23, outputs the secondary station data of the counted value from the data reproducing circuit 22, and proceeds to step 54. return. When the polling signal P4 is given from the secondary station 4 in the last order, the data sending mode of the secondary station has ended, so the process returns from step 54 to step 41 and the same process is repeated thereafter.

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

このようにすれば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 after sending the start signal and polling signal, the primary station 1 sends the data from each secondary station. The polling signal generated by each secondary station by receiving the polling signal is superimposed between the two stations.
It becomes possible to send and receive data without setting an address for the next station.

尚本実施例は3台の2次局を用いた多重伝送装置につい
て説明したが、更に多数の2次局を用いて同様のシステ
ムを構成することができることはいうまでもない。又本
実施例では各2次局にデータ信号、スタート信号をその
まま通過させポーリング信号のみを遮断するためローパ
スフィルタを設けたが、ポーリング信号として低い周波
数の信号を用いデータ信号を高周波で変調することによ
って、データ信号、スタート信号を通過させるフィルタ
をバイパスフィルタ等地のフィルタに変更することも可
能である。
In this embodiment, a multiplex transmission apparatus using three secondary stations has been described, but it goes without saying that a similar system can be constructed using an even larger number of secondary stations. Furthermore, in this embodiment, a low-pass filter is provided in each secondary station to pass the data signal and start signal as they are and block only the polling signal, but it is also possible to use a low-frequency signal as the polling signal and modulate the data signal with a high frequency. It is also possible to change the filter that passes the data signal and start signal to a filter such as a bypass filter.

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

第1図は本発明による多重伝送装置の一実施例を示す概
略ブロック図、第2図は本発明による多重伝送装置の1
次局1の構成を示すブロック図、第3図は2次局の構成
を示すブロック図、第4図は1次局1の動作を示すフロ
ーチャート、第5図は2次局2の動作を示すフローチャ
ート、第6図は多重伝送装置の伝送線の各部a % d
の波形を示す波形図である。 1・・・−−−−−・1次局  2.3.4−−−−−
−−・2次局  5−6.−・、伝送線  11.37
−・−・・ポーリング信号送信回路  12・−ロー一
一一ポーリング信号監視タイマ16 、 39−・・−
データ信号送信回路  18,33・−・−・−ポーリ
ング信号検知回路  19・−・−−一−−スタート信
号受信回路  20.34・−−−−−−−データ信号
受信回路  21−・−・−スタート信号送信回路24
−・−異常処理部  31−−−−−−−一ローパス2
イルタ  32−−−−−・−スタート信号検知回路 
 35−一出力フラグ 特許出願人   立石電機株式会社 代理人 弁理士 岡本宜喜(他1名) 第1図 第3図 第2図 スタート信号 第5図 手  続  補  正  書(自発) 昭和60年 6月17日 1、事件の表示 昭和60年特許願第078941号 2、発明の名称 多重伝送装置 住 所 京都府京都市右京区花園土堂町10番地名 称
 (294)  立石電機株式会社代表者 立方 孝雄 4、代理人 住 所 優550大阪府大阪市西区西本町1丁目13番
38号新輿産ビル3階 5゜補正の対象 明細書の発明の詳細な説明の欄 6、補正の内容 (1)明細書第9頁第17行及び第16頁第16行のr
NRZ符号」の記載を「バイフェーズ符号」と訂正しま
す。 (2)明細書第10頁第18行〜第19行。 第12頁第6行、第16頁第16行及び第17頁第20
行のr60KHzJの記載をr60KHz及び30 K
 Hz Jと訂正します。 (3)明細書第10頁第19行のrNRZ信号」の記載
を「パイフェーズ信号」と訂正します。 以上
FIG. 1 is a schematic block diagram showing an embodiment of a multiplex transmission device according to the present invention, and FIG. 2 is a schematic block diagram showing an embodiment of a multiplex transmission device according to the present invention.
FIG. 3 is a block diagram showing the configuration of the secondary station 1, FIG. 4 is a flowchart showing the operation of the primary station 1, and FIG. 5 shows the operation of the secondary station 2. The flowchart, Figure 6, shows each part of the transmission line of the multiplex transmission device a % d
FIG. 1...------・Primary station 2.3.4------
--・Secondary station 5-6. -・, transmission line 11.37
---Polling signal transmission circuit 12--Ro111 polling signal monitoring timer 16, 39--
Data signal transmission circuit 18, 33.--Polling signal detection circuit 19.---Start signal reception circuit 20.34.--Data signal reception circuit 21-.-. -Start signal transmission circuit 24
--・- Abnormality processing section 31 --- Low pass 2
Ilter 32-----Start signal detection circuit
35-1 Output Flag Patent Applicant Tateishi Electric Co., Ltd. Agent Patent Attorney Yoshiki Okamoto (and 1 other person) Figure 1 Figure 3 Figure 2 Start Signal Figure 5 Procedures Amendment (Spontaneous) June 1985 May 17, 1, Incident Display 1985 Patent Application No. 078941 2 Name of Invention Multiplex Transmission Device Address 10 Hanazono Tsuchido-cho, Ukyo-ku, Kyoto-shi, Kyoto Name (294) Tateishi Electric Co., Ltd. Representative Takao Miki 4. Agent address: 550 Yu, 3rd floor, Shinkoshisan Building, 1-13-38 Nishihonmachi, Nishi-ku, Osaka, Osaka Prefecture. Column 6: Detailed explanation of the invention in the specification to be amended. Contents of the amendment (1) r on page 9, line 17 and page 16, line 16 of the specification
The description of ``NRZ code'' will be corrected to ``bi-phase code.'' (2) Page 10, lines 18 to 19 of the specification. Page 12, line 6, page 16, line 16, and page 17, line 20
Change the description of r60KHzJ in the row to r60KHz and 30K
Correct it to Hz J. (3) The description of "rNRZ signal" on page 10, line 19 of the specification will be corrected to "pi-phase signal."that's all

Claims (2)

【特許請求の範囲】[Claims] (1)1次局と複数個の2次局が伝送線でデジチェーン
式にループ接続された多重伝送装置であって、 前記1次局は、 データ受信モード、データ送出モードの切換時に送受信
権となるポーリング信号を最先順位の2次局に送出する
ポーリング信号送出手段と、前記ポーリング信号送出後
前記各2次局に対するデータを順次断続的に送出するデ
ータ送出手段と、 前記データ送出手段からデータの送出後に2次局をデー
タ送出モードとするスタート信号を送出するスタート信
号送出手段と、 前記スタート信号送出手段及びポーリング信号送出手段
よりスタート信号及びポーリング信号を送出した後各2
次局から与えられるデータを順次受信するデータ受信手
段と、を有し、前記各2次局は、 入出力間に接続され入力端子より得られるデータ信号及
びスタート信号を通過させポーリング信号を遮断するフ
ィルタ手段と、 スタート信号を受信してデータ送出モードを記憶するモ
ード記憶手段と、 データ受信モードのときにポーリング信号の受信後に与
えられるデータ信号を受信するデータ信号受信手段と、 データ送出モードのときにポーリング信号の受信後に1
次局にデータを送出するデータ送出手段と、 前記データ受信手段によるデータ信号の受信後及び前記
データ送出手段によるデータ信号の送出後にポーリング
信号を送出するポーリング信号送出手段と、を有するも
のであることを特徴とする多重伝送装置。
(1) A multiplex transmission device in which a primary station and a plurality of secondary stations are loop-connected in a digital chain manner via transmission lines, and the primary station has transmission and reception rights when switching between data reception mode and data transmission mode. a polling signal transmitting means for transmitting a polling signal to the highest ranking secondary station; a data transmitting means for sequentially and intermittently transmitting data to each of the secondary stations after transmitting the polling signal; and from the data transmitting means. a start signal transmitting means for transmitting a start signal to set the secondary station in a data transmitting mode after transmitting the data; and after transmitting a start signal and a polling signal from the start signal transmitting means and polling signal transmitting means, respectively
and data receiving means for sequentially receiving data given from the next station, and each of the secondary stations is connected between input and output and passes the data signal and start signal obtained from the input terminal and blocks the polling signal. filter means; mode storage means for receiving a start signal and storing a data sending mode; data signal receiving means for receiving a data signal given after receiving a polling signal when in data receiving mode; and when in data sending mode. 1 after receiving a polling signal
The apparatus has a data sending means for sending data to the next station, and a polling signal sending means for sending a polling signal after the data receiving means receives the data signal and after the data sending means sends the data signal. A multiplex transmission device characterized by:
(2)前記1次局及び前記各2次局のポーリング信号送
出手段により送出されるポーリング信号はデータ信号及
びスタート信号より高い周波数を有する信号であり、前
記各2次局のフィルタ手段は該ポーリング信号を遮断し
データ信号及びスタート信号を通過させるローパスフィ
ルタであることを特徴とする特許請求の範囲第1項記載
の多重伝送装置。
(2) The polling signal sent by the polling signal sending means of the primary station and each of the secondary stations is a signal having a higher frequency than the data signal and the start signal, and the filter means of each of the secondary stations transmits the polling signal. 2. The multiplex transmission device according to claim 1, wherein the multiplex transmission device is a low-pass filter that blocks signals and passes data signals and start signals.
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 true JPS61237548A (en) 1986-10-22
JPH0642676B2 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
JPH0642676B2 (en) 1994-06-01

Similar Documents

Publication Publication Date Title
JPS61237548A (en) Multiplex transmission equipment
JPH02166946A (en) Line concentration device for loop type local area network
JPS61237554A (en) Multiplex transmission equipment
JPS61237551A (en) Multiplex transmission equipment
JPS61237547A (en) Multiplex transmission equipment
JPS61237553A (en) Multiplex transmission equipment
JPS61237549A (en) Multiplex transmission equipment
JPS61133499A (en) Mutual monitor for a plurality of residenses
JP3534937B2 (en) Data communication method and control data communication device
JPS61237552A (en) Multiplex transmission equipment
JPS61237550A (en) Multiplex transmission equipment
JPS6390929A (en) Multiplex transmission equipment
JPH0535624B2 (en)
JPH05300120A (en) Method for confirming connection between equipments in digital communication system
JPS6295042A (en) Multiplex transmission equipment
JPH03292256A (en) Electronic interlocking device
JP3218691B2 (en) State information synchronization method for remote monitoring control system
JPS62171349A (en) Communication control equipment
JPH10248095A (en) Installation management system
JP2602821Y2 (en) Remote control device
JPH01296829A (en) Serial control device
JPH04368035A (en) Group communication method
JPH0475697B2 (en)
JPH02161846A (en) Remote monitor equipment
JPS63107332A (en) Multiplex transmission equipment