JPS6295046A - Multiplex transmission equipment - Google Patents

Multiplex transmission equipment

Info

Publication number
JPS6295046A
JPS6295046A JP60236192A JP23619285A JPS6295046A JP S6295046 A JPS6295046 A JP S6295046A JP 60236192 A JP60236192 A JP 60236192A JP 23619285 A JP23619285 A JP 23619285A JP S6295046 A JPS6295046 A JP S6295046A
Authority
JP
Japan
Prior art keywords
signal
station
data
secondary station
primary station
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
JP60236192A
Other languages
Japanese (ja)
Inventor
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 JP60236192A priority Critical patent/JPS6295046A/en
Publication of JPS6295046A publication Critical patent/JPS6295046A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To execute data transmission to each secondary station by only a transmission line of two cores, by constituting the titled device so that a primary station gives each intrinsic parameter to each secondary station, the secondary station calculates and holds this parameter, and at the time of the data transmission, data signal are counted and compared with holding value, and the data transmission is executed. CONSTITUTION:When a start signal is applied to a primary station 1 from the outside, a polling signal P1 is sent out of a polling signal transmitting circuit 11 and a counter 12 is brought to an increment, and a parameter A1 to a secondary station 2 is sent out. Each secondary station 2 calculates an arithmetic value by an operation holding circuit 27, and holds it in the operation holding circuit 27. When setting of the arithmetic value to all secondary stations 2-6 has been ended, the secondary station 6 of the last order applies a polling signal P6 to the primary station 1 through a transmission line 7. Subsequently, when a data transmitting/receiving operation is started, the primary station 1 transmits a data signal T1 to the secondary station 2 of the first order. The secondary station 2 discriminates by a comparator 29 whether the arithmetic value which has been held in the operating holding circuit 27 of the secondary station 2 is equal to a counting value of a receiving counter 28 or not, and outputs the receiving data T1 to the outside.

Description

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

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

本発明による多重伝送装置は、各2次局にパラメータを
あらかじめ送出し次いでリセット信号を送出した後順次
2次局とのデータ伝送を行う1次局と、該1次局にデジ
チェーン式に連続して接続され、1次局より与えられる
パラメータを所定の演算式によって演算し受信データを
計数すると共に、その計数値を演算値と比較してそれら
が一致するときに1次局とのデータ伝送を行う2次局と
により多重伝送装置を構成したものである。このような
構成により夫々の2次局についてアドレスを用いること
なく短時間でデータ伝送を行うことが可能となる。
The multiplex transmission device according to the present invention includes a primary station that sends parameters to each secondary station in advance and then sends a reset signal, and then sequentially transmits data with the secondary stations, The parameters given by the primary station are calculated using a predetermined calculation formula, the received data is counted, and the counted value is compared with the calculated value, and when they match, the data is transmitted to the primary station. A multiplex transmission device is constructed by a secondary station that performs Such a configuration makes it possible to perform data transmission in a short time without using addresses for each secondary station.

〔従来技術とその問題点〕 一般に2芯専用線で1次局と複数個の2次局とを接続し
てデータ伝送システムを構成する多重伝送装置にあって
は、共通のハス上の任意の点に2次局を接続するマルチ
ドロップ方式が取られることが多く′、この場合には2
次局に夫々固有のアドレスを設定する必要がある。この
ようなアドレス設定は通常各2次局に設けられたDIP
スイッチ等によって設定される。
[Prior art and its problems] In general, in multiplex transmission equipment that configures a data transmission system by connecting a primary station and a plurality of secondary stations using a two-core dedicated line, any arbitrary number on a common lotus In many cases, a multi-drop method is used in which a secondary station is connected to the
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次局に固有のアドレスを設定しそのアドレスを
用いてデータ伝送を行う場合には、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. In addition, a shift register method is known in which addresses are not specified for each secondary station in order to facilitate work at the site where secondary stations are installed, but this method requires a signal line for clock signals in addition to data signals. Therefore, a transmission system cannot be constructed using inexpensive two-core wires, and there is a problem in that the price of the transmission cable increases. Also, when setting a unique address for each secondary station and transmitting data using that address, the number of secondary stations is large (if the number of data to be transmitted is small, it takes time to transmit the address, so data transmission is slow). There was a problem in that the efficiency of the method decreased.

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

本発明はこのような従来の多重伝送装置の問題点に鑑み
てなされたものであって、DIPスイッチを用いて各2
次局にアドレスを設定する必要がなく、又伝送データ内
に各2次局についてのアドレスを付加することがなく、
短時間で多数の2次局とのデータ伝送を行うことができ
る多重伝送装置を提供することを目的とする。
The present invention has been made in view of the problems of the conventional multiplex transmission device, and uses DIP switches to
There is no need to set an address for the next station, and there is no need to add an address for each secondary station in the transmission data.
It is an object of the present invention to provide a multiplex transmission device that can perform data transmission with a large number of secondary stations in a short time.

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

本発明は1次局と複数個の2次局が伝送線でデジチェー
ン式にループ接続された多重伝送装置であって、1次局
は、各2次局に順次所定のパラメータを送信するパラメ
ータ送信手段と、アドレス設定時にポーリング信号を最
先順位の2次局に送出するポーリング信号送出手段と、
各2次局にリセット信号を送出するリセット信号送信手
段と、最先順位・の2次局より順次所定間隔毎に各2次
局とデータ伝送を行うデータ伝送手段を有し、各2次局
は、入出力端間に接続されデータ信号及びリセット信号
を通過させポーリング信号を遮断するフィルタ手段と、
1次局又は上位の2次局から与えられるポーリング信号
の受信後に前記1次局より与えられるパラメータを受信
し所定の演算式によって演算された値を保持する演算保
持手段と、伝送線上に送出されるデータ数を計数する受
信カウンタと、次局より与えられるデータ信号を受信す
るデータ信号受信手段と、1次局に対してデータ信号を
送出するデータ信号送信手段と、受信カウンタの計数値
及び演算保持手段の演算値を比較し、それらが一致する
ときにデータ信号受信手段及びデータ信号送信手段に一
致信号を与える比較手段と、を具備することを特徴とす
るものである。
The present invention is a multiplex transmission device in which a primary station and a plurality of secondary stations are connected in a digital chain loop via a transmission line, and the primary station transmits predetermined parameters to each secondary station in sequence. a transmitting means; a polling signal transmitting means for transmitting a polling signal to the highest priority secondary station when setting an address;
It has a reset signal transmission means for sending a reset signal to each secondary station, and a data transmission means for transmitting data to each secondary station at predetermined intervals starting from the highest priority secondary station, and each secondary station filter means connected between the input and output terminals to pass the data signal and the reset signal and block the polling signal;
calculation holding means for receiving parameters given from the primary station after receiving a polling signal given from the primary station or an upper secondary station, and holding a value calculated by a predetermined calculation formula; a reception counter that counts the number of data received, a data signal reception means that receives a data signal given from the next station, a data signal transmission means that sends the data signal to the primary station, and a count value and calculation of the reception counter. The present invention is characterized by comprising a comparing means for comparing the calculated values of the holding means and providing a coincidence signal to the data signal receiving means and the data signal transmitting means when they match.

このような特徴を有する本発明によれば、1次局は伝送
線を介してポーリング信号とパラメータを送出して各2
次局に夫々固有のパラメータを与えている。2次局はこ
のパラメータを所定の演算式により演算して保持し、以
後1次局どのデータ伝送時にはデータ信号を計数して保
持値と比較することにより1次局とデータ伝送を行って
いる。
According to the present invention having such features, the primary station transmits the polling signal and parameters via the transmission line, and
Unique parameters are given to each subsequent station. The secondary station calculates and holds this parameter using a predetermined arithmetic expression, and thereafter, when transmitting data to any primary station, data is transmitted with the primary station by counting the data signal and comparing it with the held value.

このような構成により2芯の伝送線のみを用いて各2次
局にデータ伝送を行うことが可能となる。
Such a configuration makes it possible to transmit data to each secondary station using only two-core transmission lines.

又各2次局に対してアドレス設定を行わないのでDIR
スイッチを設ける必要がなく、2次局を小型化すること
ができ2次局の設置時の作業性を向上させることが可能
となる。又伝送データ内にアドレスが付加されないので
、夫々の2次局とのデータ伝送を行う1サイクルの伝送
時間を短くすることができる。特に接続される2次局数
が多くしかも2次局と1次局との伝送データの情報fが
少ない場合には、高速のデータ伝送を行うことが可能と
なる。
Also, since addresses are not set for each secondary station, DIR
There is no need to provide a switch, the secondary station can be made smaller, and workability when installing the secondary station can be improved. Furthermore, since no address is added to the transmitted data, the transmission time for one cycle of data transmission with each secondary station can be shortened. In particular, when the number of secondary stations connected is large and the information f of transmission data between the secondary stations and the primary station is small, high-speed data transmission can be performed.

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

第1図は本発明による多重伝送装置の一実施例を示す概
略ブロック図である。本図において1次局1と複数の2
次局2〜6が2芯の伝送線7によってデジチェーン状に
ループ接続されている。即ち1次局の出力端子1−0は
最先順位に接続された2次局2の入力端子2−iに接続
され、2次局2の出力端子2−oは伝送線7によって次
位の2次局3の入力端子3−4に接続されている。同様
にして2次局3及び図示しない2次局4,5の出力端子
が夫々次段の2次局4〜6の入力端子に接続されている
。そして最後順位に接続された2次局6の出力端子6−
oは伝送線7を介して1次局1の入力端子1−iに接続
されている。1次局1はループ状に接続された各2次局
にパラメータ、リセット信号及び送信データを伝え、所
定時間毎に2次局2〜6とデータ伝送を行うものである
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 to 6 are loop-connected in a digital chain by a two-core transmission line 7. That is, the output terminal 1-0 of the primary station is connected to the input terminal 2-i of the secondary station 2 connected to the highest order, and the output terminal 2-o of the secondary station 2 is connected to the next-order station by the transmission line 7. It is connected to the input terminal 3-4 of the secondary station 3. Similarly, the output terminals of the secondary station 3 and secondary stations 4 and 5 (not shown) are connected to the input terminals of the secondary stations 4 to 6 at the next stage, respectively. Then, the output terminal 6- of the secondary station 6 connected to the last rank
o is connected to the input terminal 1-i of the primary station 1 via the transmission line 7. The primary station 1 transmits parameters, reset signals, and transmission data to each secondary station connected in a loop, and performs data transmission with the secondary stations 2 to 6 at predetermined time intervals.

(1次局の構成) 1次局1は第2図にその構成を示すように、外部からの
スタート信号に基づいて動作するポーリング信号送信回
路11とそれによってリセットされるカウンタ12を有
している。ポーリング信号送信回路11はスタート信号
が与えられれば、最先順位に接続された2次局2に対し
て例えば周波数IMHzで変調されたポーリング信号を
送出するものであり、その後パラメータ送信回路13に
スタート信号を与える。パラメータ送信回路13はカウ
ンタ12の計数値に対応したパラメータを各2次局2〜
6に順次送出すると共にカウンタ12に計数入力を与え
、全てのパラメータの送出後リセット信号送信回路14
に動作開始信号を与える。
(Configuration of the primary station) As shown in FIG. 2, the primary station 1 has a polling signal transmitting circuit 11 that operates based on an external start signal and a counter 12 that is reset by the polling signal transmitting circuit 11. There is. When the polling signal transmitting circuit 11 is given a start signal, it transmits a polling signal modulated at, for example, a frequency of IMHz to the secondary station 2 connected in the highest order, and then sends a start signal to the parameter transmitting circuit 13. give a signal. The parameter transmission circuit 13 transmits parameters corresponding to the count value of the counter 12 to each secondary station 2 to
6, and also gives a counting input to the counter 12, and after sending out all the parameters, the reset signal sending circuit 14
gives an operation start signal to

リセット信号送信回路14は各データ伝送の1サイクル
の開始時に周波数IMHz以下、例えば60KHzのリ
セット信号を送出するものであり、その後データ信号送
受信回路15に動作開始信号を与える。データ信号送受
信回路15は出力端子1−o及び入力端子1−iに夫々
入出力端が接続され、各2次局からのデータ信号を受信
し各2次局に順次データ信号を送出すると共に、データ
信号の送受信毎にカウンタ12に計数入力を与える。カ
ウンタ12を計数入力のアンプカウントすると共にその
計数値をパラメータ送信回路13及び比較器16とカウ
ントバッファ17に与える。又1次局1の入力端子1−
iにはポーリング信号受信回路18が接続される。ポー
リング信号受信回路I8はカウントバノ・ファ17にセ
ット信号を与えると共にパラメータ送信回路13より引
き続くパラメータの送信を停止し、リセット信号送信回
路14にリセット信号を送出するタイミングを与え、更
にカウンタ12をリセットするものである。カウントバ
ッファ17はセント信号が与えられたときのカウンタ1
2の計数値、即ち接続されている2次局の局数を保持す
ると共にそのデータを比較器16に与える。比較器16
はカウンタ12の計数値が保持されている2次局数に一
致すればパラメータ送信回路13の動作を停止し、リセ
ット信号送信回路14に再送出力を与えるものである。
The reset signal transmitting circuit 14 transmits a reset signal having a frequency of IMHz or less, for example, 60 KHz at the start of one cycle of each data transmission, and thereafter provides an operation start signal to the data signal transmitting/receiving circuit 15. The data signal transmitting/receiving circuit 15 has input and output terminals connected to the output terminal 1-o and the input terminal 1-i, respectively, and receives data signals from each secondary station and sequentially sends data signals to each secondary station. A counting input is given to the counter 12 every time a data signal is transmitted or received. The counter 12 performs an amplifier count of the count input, and provides the count value to the parameter transmission circuit 13, the comparator 16, and the count buffer 17. Also, input terminal 1- of primary station 1
A polling signal receiving circuit 18 is connected to i. The polling signal receiving circuit I8 gives a set signal to the count buffer 17, stops the transmission of subsequent parameters from the parameter transmitting circuit 13, gives timing for sending a reset signal to the reset signal transmitting circuit 14, and further resets the counter 12. It is something. The count buffer 17 is the counter 1 when the cent signal is given.
The count value of 2, ie, the number of connected secondary stations, is held and the data is provided to the comparator 16. Comparator 16
If the counted value of the counter 12 matches the number of secondary stations held, the operation of the parameter transmitting circuit 13 is stopped and a retransmission output is given to the reset signal transmitting circuit 14.

(2次局の構成) 第3図は2次局2の構成を示すブロック図であるが、他
の2次局3〜6についても同様の構成を有している。さ
て2次局2の入力端子2−iにはローパスフィルタ21
とポーリング信号受信回路22、パラメータ受信回路2
3及びリセット信号受信回路24とデータ信号受信回路
25が接続されている。ローパスフィルタ21はL C
から成る受動フィルタであって、電源状態にかかわらず
ポーリング信号として用いられる周波数IMHzの信号
を遮断し、伝送線7より送出される周波数IMHz以下
、例えば60KHzで変調されたデータ信号とりセント
信号をそのまま出力端子2−oに伝えるものである。ポ
ーリング信号受信回路22は伝送線7を介して与えられ
るポーリング信号を受信し、ポーリング信号送信回路2
6に送出のタイミングを与えると共にパラメータ受信回
路23及び演算保持回路27にセット信号を与えるもの
である。又データ信号受信回路25はデータ信号受信毎
に受信カウンタ28に計数入力を与え、比較器29から
イネーブル信号が与えられれば受信したデータ信号を外
部に出力するものである。演算保持回路27の保持デー
タ及び受信カウンタ28の計数値は比較器29に与えら
れる。比較器29はこれらのデータが一致するかどうか
を判別するものであって、一致する場合にはデータ信号
受信回路25にイネーブル信号を与え、同時に受信カウ
ンタ28の計数を停止すると共にデータ信号送信回路3
0に送信・タイミングを与えるものである。データ信号
送信回路30は出力端が端子2−oに接続され、入力さ
れたデータを伝送線7上に送出するものである。
(Configuration of Secondary Station) FIG. 3 is a block diagram showing the configuration of the secondary station 2, and the other secondary stations 3 to 6 have similar configurations. Now, a low-pass filter 21 is connected to the input terminal 2-i of the secondary station 2.
and polling signal receiving circuit 22, parameter receiving circuit 2
3, a reset signal receiving circuit 24, and a data signal receiving circuit 25 are connected. The low-pass filter 21 is L C
A passive filter consisting of a passive filter that blocks a signal with a frequency of IMHz used as a polling signal regardless of the power supply state, and passes a data signal modulated at a frequency of IMHz or less, for example 60KHz sent from the transmission line 7, as it is. This signal is transmitted to the output terminal 2-o. The polling signal receiving circuit 22 receives the polling signal given via the transmission line 7, and transmits the polling signal transmitting circuit 2.
6, and also provides a set signal to the parameter receiving circuit 23 and the calculation holding circuit 27. Further, the data signal receiving circuit 25 provides a count input to the reception counter 28 every time a data signal is received, and outputs the received data signal to the outside when an enable signal is provided from the comparator 29. The data held by the arithmetic holding circuit 27 and the count value of the reception counter 28 are provided to a comparator 29. The comparator 29 determines whether these data match or not. If they match, it provides an enable signal to the data signal receiving circuit 25, and simultaneously stops the counting of the receiving counter 28 and starts the data signal transmitting circuit. 3
This gives the transmission timing to 0. The data signal transmitting circuit 30 has an output end connected to the terminal 2-o, and transmits input data onto the transmission line 7.

(本実施例の動作) 次にフローチャート及びタイムチャー1−を参照しつつ
本実施例の動作について説明する。第4図及び第5図は
夫々1次局l及び各2次局2〜6の動作を示すフローチ
ャートであり、第6図は初期のパラメータ設定処理、第
7図はデータ伝送時の各局の送出信号を示すタイムチャ
ートである。まず1次局lに外部よりスタート信号が与
えられると動作を開始し、ステップ41.42において
カウンタ12がクリアされポーリング信号送信回路11
よりポーリング信号P1が第6図(a)に示すように送
出される。そしてステップ43.44においてポーリン
グ信号送出後カウンタ12がインクリメントされ、2次
局2に対するパラメータA(1)を送出する。各2次局
2は動作開始後ステップ61においてポーリング信号を
待受けており、2次局2はポーリング信号P1を受信す
るとステップ62に進んでパラメータ受信回路23より
パラメータA (nlを受信する。そしてそのデータは
演算保持回路27に与えられ、次式によって演算値を算
出する。
(Operation of this embodiment) Next, the operation of this embodiment will be explained with reference to a flowchart and time chart 1-. 4 and 5 are flowcharts showing the operations of the primary station 1 and each of the secondary stations 2 to 6, respectively. FIG. 6 is the initial parameter setting process, and FIG. 7 is the sending of each station during data transmission. It is a time chart showing signals. First, when a start signal is given to the primary station l from the outside, it starts operating, and in steps 41 and 42, the counter 12 is cleared and the polling signal transmitting circuit 11
The polling signal P1 is then sent out as shown in FIG. 6(a). Then, in steps 43 and 44, after the polling signal is sent, the counter 12 is incremented, and the parameter A(1) to the secondary station 2 is sent. After starting the operation, each secondary station 2 waits for a polling signal in step 61. When the secondary station 2 receives the polling signal P1, it proceeds to step 62 and receives the parameter A (nl) from the parameter receiving circuit 23. The data is given to the calculation holding circuit 27, and the calculation value is calculated using the following equation.

演算値=A(n)x2−1    (n=1〜5)どの
演算値は演算保持回路27によって保持される。ここで
1次局1から送出されるパラメータA(n)がカウンタ
12の計数値nに等しいものとすると、2次局2には演
算値として1が保持される。
Calculated value=A(n)x2-1 (n=1 to 5) Which calculated value is held by the calculation holding circuit 27. Here, assuming that the parameter A(n) sent from the primary station 1 is equal to the count value n of the counter 12, the secondary station 2 holds 1 as the calculated value.

次いでステップ63に進んでポーリング信号送信回路2
6より第6図fb)に示すように2次局3に対するポー
リング信号P2を送出する。1次局1はステップ45に
おいてパラメータの送信後ポーリング信号を受信しなけ
れば所定時間後ステップ43に戻ってカウンタ12をイ
ンクリメントし、次いでパラメータA(21(〜2)を
送出する。2次局3も同様の処理を行いポーリング信号
P2の受信段上記の演算値、この場合には3を演算保持
回路27に保持する。そして2次局4〜6についても夫
々演算値5,7.9を演算保持回路に保持する。こうし
て全での2次局2〜6に対して演算値を設定し終えると
、最後順位の2次局6はポーリング信号P6を伝送線7
を介して1次局1に与える。1次局1はポーリング信号
受信回路18によりポーリング信号P6を受信すると、
ステップ46に進んでカウントハソファ17にカウンタ
12の計数値をセットし、パラメータの送信を停止して
パラメータ設定処理を終了する。そうすればカウントハ
ソファ17には接続されている次局数、この場合には5
が保持されることとなる。
Next, proceeding to step 63, the polling signal transmitting circuit 2
6, a polling signal P2 is sent to the secondary station 3 as shown in FIG. 6 fb). If the primary station 1 does not receive a polling signal after transmitting the parameters in step 45, it returns to step 43 after a predetermined period of time, increments the counter 12, and then transmits the parameter A(21(~2).Secondary station 3 The receiving stage of the polling signal P2 performs similar processing and holds the above calculated value, in this case 3, in the calculation holding circuit 27.Then, the calculated values 5 and 7.9 are calculated for the secondary stations 4 to 6, respectively. After setting the calculated values for all secondary stations 2 to 6, the last secondary station 6 sends the polling signal P6 to the transmission line 7.
to the primary station 1 via. When the primary station 1 receives the polling signal P6 by the polling signal receiving circuit 18,
Proceeding to step 46, the count value of the counter 12 is set in the counter counter 17, transmission of parameters is stopped, and the parameter setting process is ended. Then, the count has the number of connected next stations, 5 in this case.
will be retained.

次にデータ送受信動作を開始すると1次局1はステップ
47より48に進んでカウンタ12をリセットし、リセ
ット信号送信回路14より第7図(alに示すようにリ
セット信号Rを送出する。リセソト信号Rの周波数はポ
ーリング信号より十分低く、各2次局のローパスフィル
タ21を通過して全ての2次局2〜6のリセット信号受
信回路24によってリセット信号が受信され、受信カウ
ンタ28がリセットされる(ステップ64.65)。1
次局1はステップ50に進んでカウンタ12をインクリ
メントし、次いで最先順位の2次局2に対するデータ信
号T1を送信する(ステップ51)。そうすれば2次局
2はステップ66においてデータ信号を受信し受信カウ
ンタ28をインクリメントする。そして比較器29によ
って2次局2の演算保持回路27に保持されている演算
値が受信カウンタ28の計数値、この場合にはlが等し
いかどうかを判別する。2次局2ではこの値が等しく他
の2次局3〜5は全てこの値が一致しないので、2次局
2のみがステップ69.70に進んで第7図(blに示
すようにデータ信号R1を1次局に対して送出し、デー
タ信号受信回路25にイネーブル信号を与えて受信デー
タT1を外部に出力する。一方他の2次局はステップ6
6に戻って次のデータ信号を待受ける。さて1次局1は
2次局2からのデータ信号R1を受信しくステップ52
)、ステップ53に進んでカウンタ12の計数値がカウ
ントイ\ソファ17に保持されている2次局数に等しい
かどうかをチェックする。この値が等しくなければステ
ップ50に戻ってカウンタ12をインクリメントして同
様の処理を繰り返し、次いで2次局3に対するデータ信
号T2を送出する62次局3はデータ信号Tl。
Next, when the data transmission/reception operation is started, the primary station 1 proceeds from step 47 to step 48, resets the counter 12, and sends out a reset signal R from the reset signal transmission circuit 14 as shown in FIG. 7 (al).Reset signal The frequency of R is sufficiently lower than the polling signal, and the reset signal is passed through the low-pass filter 21 of each secondary station and received by the reset signal receiving circuit 24 of all secondary stations 2 to 6, and the reception counter 28 is reset. (Steps 64.65).1
The next station 1 proceeds to step 50, increments the counter 12, and then transmits the data signal T1 to the highest ranking secondary station 2 (step 51). The secondary station 2 then receives the data signal and increments the reception counter 28 in step 66. Then, the comparator 29 determines whether the calculated value held in the calculation holding circuit 27 of the secondary station 2 is equal to the count value of the reception counter 28, in this case l. In secondary station 2, this value is the same and in all the other secondary stations 3 to 5, this value does not match, so only secondary station 2 proceeds to step 69.70 and transmits the data signal as shown in FIG. 7 (bl). R1 is sent to the primary station, an enable signal is given to the data signal receiving circuit 25, and the received data T1 is outputted to the outside.On the other hand, the other secondary stations perform step 6.
6 and waits for the next data signal. Now, the primary station 1 receives the data signal R1 from the secondary station 2.Step 52
), the process proceeds to step 53 to check whether the counted value of the counter 12 is equal to the number of secondary stations held in the counter \sofa 17. If these values are not equal, the process returns to step 50, the counter 12 is incremented, and the same process is repeated.Then, the secondary station 3 sends the data signal T2 to the secondary station 3.62 The secondary station 3 receives the data signal Tl.

R1及びT2が伝送線7上に送出されるため受信カウン
タ28によってそのデータ数を計数しており、データT
2が送出されれば2次局3内の演算保持回路27内の演
算値(−3)と等しいので2次局3のみがステップ69
.70に進んでデータ信号R2を送信して受信データT
2を外部に出力し、他の2次局2及び4.5はステ・ノ
ブ66に戻って次のデータ信号を待受ける。こうすれば
第7図(a)。
Since R1 and T2 are sent onto the transmission line 7, the number of data is counted by the reception counter 28, and the data T
If 2 is sent out, it is equal to the calculated value (-3) in the calculation holding circuit 27 in the secondary station 3, so only the secondary station 3 goes to step 69.
.. Proceeding to 70, the data signal R2 is transmitted and the received data T
2 is output to the outside, and the other secondary stations 2 and 4.5 return to the steering knob 66 and wait for the next data signal. This will result in Figure 7(a).

(C1に示すように2次局3のみが1次局1とのデータ
伝送を行うことことができる。以後2次局4゜5につい
ても同様にして伝送線7上に送出されるデータ信号数を
受信カウンタによって計数し、計数値と保持されている
演算値が一致する場合にのみ受信したデータ信号T3〜
T5を外部に出力し、1次局に対してデータ信号R3,
R4,R5を夫々送出する。こうすれば各2次局にアド
レスを設定することなく1次局1と複数個の2次局間で
データ伝送を行うことが可能となる。
(As shown in C1, only the secondary station 3 can perform data transmission with the primary station 1. Thereafter, the number of data signals sent out on the transmission line 7 in the same way for the secondary station 4.5 is counted by the reception counter, and only when the counted value and the held calculated value match, the received data signal T3~
T5 is output to the outside and data signals R3,
Send R4 and R5 respectively. In this way, data transmission can be performed between the primary station 1 and a plurality of secondary stations without setting an address for each secondary station.

尚本実施例は5台の2次局を用いた多重伝送装置につい
て説明したが、更に多数の2次局を用いて同様のシステ
ムを構成することができることはいうまでもない。又本
実施例では各2次局にデータ信号をそのまま通過させポ
ーリング信号のみを遮−断するためローパスフィルタを
設けたが、ポーリング信号の周波数のみを遮断する帯域
遮断フィルタを用いてもよい。又ポーリング信号として
低い周波数の信号を用いデータ信号及びリセット信号を
ポーリング信号より高い周波数で変調することにより、
各2次局のフィルタをポーリング周波数だけを遮断する
バイパスフィルタを用いて構成することも可能である。
In this embodiment, a multiplex transmission apparatus using five 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. Further, in this embodiment, a low-pass filter is provided in each secondary station to pass the data signal as it is and cut off only the polling signal, but a band cutoff filter that cuts off only the frequency of the polling signal may be used. Also, by using a low frequency signal as a polling signal and modulating the data signal and reset signal at a higher frequency than the polling signal,
It is also possible to configure the filter of each secondary station using a bypass filter that blocks only the polling frequency.

更に本実施例では各2次局と1次局とのデータ伝送を交
互に行う多重伝送装置について説明したが、各2次局が
受信又は送信の一方の機能を有する2次局である場合に
も、データ伝送時に伝送線上に送出されるデータ数を演
算する演算保持回路の演算式を異ならせることによって
これらのいずれかの2次局が接続されている場合にも本
発明による多重′伝送装置を適用することが可能である
Furthermore, in this embodiment, a multiplex transmission device that alternately transmits data between each secondary station and a primary station has been described. The multiplex transmission device according to the present invention can also be applied when any of these secondary stations are connected by changing the calculation formula of the calculation holding circuit that calculates the number of data sent onto the transmission line during data transmission. It is possible to apply

更に最後順位の2次局の出力端を1次局の入力端に与え
てループ式に接続することなく、最後順位の2次局にエ
ンド局を接続してポーリング信号う(受信されれば、エ
ンド信号を1次局に返送するようにしてデジチェーン式
に接続してもよい。この場合にはループ接続でなく直線
式に接続することができるので、伝送線を短縮すること
が可能である。
Furthermore, without connecting the output terminal of the secondary station in the last order to the input terminal of the primary station in a loop manner, connect the end station to the secondary station in the last order to receive a polling signal (if received, It is also possible to connect in a digital chain type by sending the end signal back to the primary station.In this case, it is possible to connect in a straight line rather than in a loop, so it is possible to shorten the transmission line. .

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

第1図は本発明による多重伝送装置の一実施例を示す概
略ブロック図、第2図は本実施例による多重伝送装置の
1次局1の構成を示すブロック図、第3図は本実施例に
よる2次局の構成を示すブロツク図、第4図は1次局、
第5図は各2次局の動作を示すフローチャート、第6図
は各2次局にパラメータを設定する際の初期動作時の各
局の出力を示すタイムチャート、第7図は通常のデータ
伝送時の各局の出力を示すタイムチャートである。 i−一一一一・−1次局  2〜6−・−−−−−2次
局  7・・・・−伝送線  11.26・−・・−・
・ポーリング信号送信回路12〜・・−・・・カウンタ
  13・−・・−パラメータ送信回路  14−−−
−−・リセット信号送信回路  L5−・・・データ信
乞送受信回路  16.29−・・−・−比較器  1
7−−−−−・−カウントバッファ  21・・−一一
一一ローバスフィルタ  23−・曲パラメータ受信回
路25−・−・・−データ信号受信回路  27・−−
一−−−演算保持回路  28・・・−受信カウンタ 
 30・・−・・データ信号送信回路 特許出願人   立石電機株式会社 代理人 弁理士 岡本宜喜(他1名) 第1図 第2図 第3図 記カテータ            入t1〒−タ第4
図 第5図
FIG. 1 is a schematic block diagram showing an embodiment of the multiplex transmission device according to the present invention, FIG. 2 is a block diagram showing the configuration of the primary station 1 of the multiplex transmission device according to the present embodiment, and FIG. 3 is the present embodiment. A block diagram showing the configuration of the secondary station, Fig. 4 is the primary station,
Figure 5 is a flowchart showing the operation of each secondary station, Figure 6 is a time chart showing the output of each station during initial operation when setting parameters for each secondary station, and Figure 7 is during normal data transmission. 3 is a time chart showing the output of each station. i-1111--Primary station 2-6-----Secondary station 7...-Transmission line 11.26------
・Polling signal transmission circuit 12--Counter 13--Parameter transmission circuit 14--
---Reset signal transmission circuit L5--Data request transmission/reception circuit 16.29---Comparator 1
7-------Count buffer 21...-11-11 low-pass filter 23--Song parameter receiving circuit 25--Data signal receiving circuit 27--
1---Calculation holding circuit 28---Receiving counter
30... Data signal transmission circuit patent applicant Tateishi Electric Co., Ltd. agent Patent attorney Yoshiki Okamoto (and one other person)
Figure 5

Claims (2)

【特許請求の範囲】[Claims] (1)1次局と複数個の2次局が伝送線でデジチェーン
式にループ接続された多重伝送装置であって、 前記1次局は、 各2次局に順次所定のパラメータを送信するパラメータ
送信手段と、 アドレス設定時にポーリング信号を最先順位の2次局に
送出するポーリング信号送出手段と、各2次局にリセッ
ト信号を送出するリセット信号送信手段と、 最先順位の2次局より順次所定間隔毎に各2次局とデー
タ伝送を行うデータ伝送手段を有し、前記各2次局は、 入出力端間に接続されデータ信号及びリセット信号を通
過させポーリング信号を遮断するフィルタ手段と、 前記1次局又は上位の2次局から与えられるポーリング
信号の受信後に前記1次局より与えられるパラメータを
受信し所定の演算式によって演算された値を保持する演
算保持手段と、伝送線上に送出されるデータ数を計数す
る受信カウンタと、 1次局より与えられるデータ信号を受信するデータ信号
受信手段と、 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 a transmission line, and the primary station sequentially transmits predetermined parameters to each secondary station. a parameter transmitting means; a polling signal transmitting means for transmitting a polling signal to the highest ranked secondary station when setting an address; a reset signal transmitting means for transmitting a reset signal to each secondary station; and a highest ranked secondary station. Each secondary station has a data transmission means for sequentially transmitting data to each secondary station at predetermined intervals, and each secondary station has a filter connected between the input and output terminals to pass the data signal and the reset signal and block the polling signal. means, a calculation holding means for receiving parameters given from the primary station after receiving a polling signal given from the primary station or an upper secondary station, and holding a value calculated by a predetermined calculation formula; a reception counter that counts the number of data transmitted on the line; a data signal reception means that receives a data signal provided from the primary station; a data signal transmission means that transmits the data signal to the primary station; Multiplex transmission characterized by comprising a comparison means for comparing the counted value of the counter and the calculated value of the calculation holding means and providing a matching signal to the data signal receiving means and the data signal transmitting means when they match. Device.
(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 reset 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 reset signals.
JP60236192A 1985-10-22 1985-10-22 Multiplex transmission equipment Pending JPS6295046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60236192A JPS6295046A (en) 1985-10-22 1985-10-22 Multiplex transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60236192A JPS6295046A (en) 1985-10-22 1985-10-22 Multiplex transmission equipment

Publications (1)

Publication Number Publication Date
JPS6295046A true JPS6295046A (en) 1987-05-01

Family

ID=16997140

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60236192A Pending JPS6295046A (en) 1985-10-22 1985-10-22 Multiplex transmission equipment

Country Status (1)

Country Link
JP (1) JPS6295046A (en)

Similar Documents

Publication Publication Date Title
JPS6295046A (en) Multiplex transmission equipment
JPS6390929A (en) Multiplex transmission equipment
CN108668091A (en) Signal switching apparatus, whistle control system and signal control method
JPS62227239A (en) Multiplex transmission equipment
JPS6295042A (en) Multiplex transmission equipment
JPS6295045A (en) Multiplex transmission equipment
JPS6295038A (en) Multiplex transmission equipment
JPS63107332A (en) Multiplex transmission equipment
JPS62249542A (en) Data transfer system
JPS6372239A (en) Multiplex transmission equipment
JPS6319934A (en) Multiplex transmission equipment
JPH11284642A (en) Data transmission system, polling method, and polling frequency setting method
JPS6295047A (en) Multiplex transmission equipment
JPS62227228A (en) Multiplex transmission equipment
JPS62100045A (en) Multiplex transmitter
CN117493254A (en) Data transmission method and device
CN118214651A (en) Binding method, binding system and master control equipment for node numbers and smoke detector IDs
JPS61237549A (en) Multiplex transmission equipment
JPS61237554A (en) Multiplex transmission equipment
JPS6142466B2 (en)
JPS61237552A (en) Multiplex transmission equipment
JPH0220132A (en) Data transmitting system
JPH02272843A (en) Data transmission equipment
JPS6395748A (en) Multiple transmitter
JPS61237547A (en) Multiplex transmission equipment