JPH0752874B2 - Multiplexer - Google Patents
MultiplexerInfo
- Publication number
- JPH0752874B2 JPH0752874B2 JP21674386A JP21674386A JPH0752874B2 JP H0752874 B2 JPH0752874 B2 JP H0752874B2 JP 21674386 A JP21674386 A JP 21674386A JP 21674386 A JP21674386 A JP 21674386A JP H0752874 B2 JPH0752874 B2 JP H0752874B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- signal
- station
- transmitting
- secondary 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.)
- Expired - Lifetime
Links
- 230000005540 biological transmission Effects 0.000 claims description 56
- 230000008054 signal transmission Effects 0.000 claims description 9
- 239000000725 suspension Substances 0.000 claims description 3
- 230000000903 blocking effect Effects 0.000 claims 1
- 238000001914 filtration Methods 0.000 claims 1
- 238000000034 method Methods 0.000 description 13
- 239000000872 buffer Substances 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000003247 decreasing effect Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 208000032370 Secondary transmission Diseases 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
Description
【発明の詳細な説明】 〔発明の分野〕 本発明は1次局(親局)と複数個の2次局(子局)を2
芯線でデジチェーン式に接続して構成された多重伝送装
置に関するものである。Description: FIELD OF THE INVENTION The present invention includes a primary station (master station) and a plurality of secondary stations (slave stations).
The present invention relates to a multiplex transmission device configured by connecting a core wire in a digital chain type.
本発明による多重伝送装置は、あらかじめ1次局に接続
される2次局のアドレスを設定しておき1次局に多数の
2次局をデジチェーン式に接続し、1次局は初期動作時
にポーリング信号に加えて順次各2次局にアドレス信号
を送出し、2次局はポーリング信号の受信後アドレス信
号を保持すると共に後順位の2次局にポーリング信号を
順次送出してあらかじめ1次局に記憶させたアドレスを
全ての2次局に設定し、以後そのアドレスに基づいてデ
ータ伝送を行うようにしたものである。このような構成
により夫々の2次局についてアドレスを自動設定するこ
とができ、2次局を容易に設置することが可能となる。In the multiplex transmission apparatus according to the present invention, the address of the secondary station to be connected to the primary station is set in advance, and a large number of secondary stations are connected to the primary station in a digital chain manner. In addition to the polling signal, an address signal is sequentially sent to each secondary station, the secondary station holds the address signal after receiving the polling signal, and sends the polling signal to the secondary stations in the subsequent order in sequence to the primary station in advance. The addresses stored in are set in all the secondary stations, and thereafter data transmission is performed based on the addresses. With such a configuration, an address can be automatically set for each secondary station, and the secondary station can be easily installed.
(従来技術) 一般に2芯専用線で1次局と複数個の2次局とを接続し
てデータ伝送システムを構成する多重伝送装置にあって
は、共通のバス上の任意の点に2次局を接続するマルチ
ドロップ方式が取られることが多く、この場合には2次
局に夫々固有のアドレスを設定する必要がある。このよ
うなアドレス設定は通常各2次局に設けられたDIPスイ
ッチ等によって設定される。(Prior Art) 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 transmission is performed at an arbitrary point on a common bus. In many cases, a multi-drop method for connecting stations is adopted, and in this case, it is necessary to set a unique address for each secondary station. Such address setting is usually set by a DIP switch or the like provided in each secondary station.
(発明が解決しようとする問題点) しかるに2次局を極めて小型化する必要がある場合に
は、DIPスイッチによって小型化が制約されるという問
題点がある。更に多数の2次局を一時に設置する場合に
はアドレスの設定は比較的容易であるが、多重伝送装置
のシステム構成後に2次局数を増減する場合にはアドレ
スが連続しないこととなったり、又同じアドレスに誤っ
て複数の2次局を設定する可能性があり、伝送誤りが生
じるという問題点があった。(Problems to be Solved by the Invention) However, when the secondary station needs to be extremely miniaturized, there is a problem that 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.
本発明はこのような従来の多重伝送装置の問題点に鑑み
てなされたものであって、設置時に各2次局にスイッチ
等によりアドレスを設定する必要がなく、2次局数が増
減された場合にも容易に2次局のアドレスを変更して設
定できるようにすることを技術的課題とする。The present invention has been made in view of the above problems of the conventional multiplex transmission apparatus, and it is not necessary to set an address to each secondary station by a switch or the like at the time of installation, and the number of secondary stations is increased or decreased. Even in such a case, it is a technical subject to easily change and set the address of the secondary station.
(問題点を解決するための手段) 本発明は1次局と複数個の2次局が伝送線でデジチェー
ン式に接続された多重伝送装置であって、1次局は、第
1図に示すように、各2次局に任意のアドレスを入力す
るアドレス入力手段Aと、入力されたアドレスを記憶す
るアドレス記憶手段Mと、各2次局に対する固有のアド
レス信号を順次断続的に送出するアドレス信号送出手段
Sと、アドレス設定時にポーリング信号を最先順位の2
次局に送出するポーリング信号送出手段Pと、各2次局
に対するアドレス信号送出後に当該2次局とのデータ伝
送を行うデータ伝送手段Dと、を有し、各2次局は、入
出力端間に接続されデータ信号及びアドレス信号を通過
させ、ポーリング信号を遮断するフィルタ手段と、1次
局又は上位の2次局から与えられるポーリング信号の受
信後に受信されるアドレス信号を保持するアドレス信号
保持手段と、1次局又は上位の2次局からのポーリング
信号受信後、1次局のアドレス信号送出の停止期間内に
後順位の2次局にポーリング信号を送出するポーリング
信号送出手段と、当該2次局に対するアドレス受信後に
1次局とのデータ伝送を行うデータ伝送手段と、を具備
することを特徴とするものである。(Means for Solving Problems) The present invention is a multiplex transmission apparatus in which a primary station and a plurality of secondary stations are connected in a digital chain in a transmission line. The primary station is shown in FIG. As shown, address input means A for inputting an arbitrary address to each secondary station, address storage means M for storing the input address, and unique address signals for each secondary station are sequentially and intermittently sent out. The address signal sending means S and the polling signal when setting the address
Each of the secondary stations has an input / output terminal, and a polling signal transmitting means P for transmitting to the next station, and a data transmitting means D for transmitting data with the secondary station after transmitting an address signal to each secondary station. Filter means connected in between to pass a data signal and an address signal and block a polling signal, and an address signal holding for holding an address signal received after receiving a polling signal given from a primary station or an upper secondary station Means and a polling signal transmitting means for transmitting a polling signal to a secondary station of a lower rank within a suspension period of the address signal transmission of the primary station after receiving a polling signal from the primary station or an upper secondary station; Data transmission means for transmitting data with the primary station after receiving an address for the secondary station.
(作用) このような特徴を有する本発明によれば、あらかじめア
ドレス入力手段Aによって1次局に各2次局のアドレス
を順次設定しておく。そうすれば1次局は動作開始後ポ
ーリング信号送出後最先順位の2次局に対するアドレス
信号を送出し、各2次局はポーリング信号受信後アドレ
ス信号を保持して以後後順位の2次局にポーリング信号
を送出し、各2次局にアドレスを設定すると共に最終の
2次局にアドレスを送出すればそのアドレスの設定処理
を終了している。そして以後各2次局に対してアドレス
を送出した後通常のデータ伝送を行っている。(Operation) According to the present invention having such a feature, the address of each secondary station is sequentially set in the primary station by the address input means A in advance. Then, the primary station sends an address signal to the secondary station of the highest order after sending the polling signal after the operation starts, and each secondary station holds the address signal after receiving the polling signal and then the secondary station of the next order. If a polling signal is sent to each of the secondary stations and the address is set to each secondary station and the address is sent to the final secondary station, the address setting process is completed. Then, after sending the address to each secondary station, normal data transmission is performed.
(発明の効果) そのため本発明によれば、各2次局に対してDIPスイッ
チ等を用いてアドレスを設定する必要がなく、アドレス
の自動設定が可能となる。従って2次局を小型化するこ
とができ2次局の設置時の作業性を向上させることがで
きる。更に2次局数を増減したり異なった2次局を伝送
線上に付加する場合には、改めて各2次局のアドレスを
1次局に対して設定することによってそのアドレスが全
ての2次局に自動的に設定されるため、アドレス設定を
極めて容易に行うことができる。(Effect of the invention) Therefore, according to the present invention, it is not necessary to set an address for each secondary station using a DIP switch or the like, and it is possible to automatically set an address. Therefore, the secondary station can be downsized and the workability at the time of installing the secondary station can be improved. When the number of secondary stations is increased or decreased or different secondary stations are added to the transmission line, the address of each secondary station is set again for the primary station and all the secondary stations have that address. Since it is automatically set to, the address can be set extremely easily.
(実施例の構成) 第2図は本発明による多重伝送装置の一実施例を示す概
略ブロック図である。本図において1次局1と複数の2
次局2〜6が伝送線7によってデジチェーン状に接続さ
れている。即ち1次局の出力端子1−oは最先順位に接
続された2次局2の入力端子2−iに接続され、2次局
2の出力端子2−oは伝送線7によって次位の2次局3
の入力端子3−iに接続されている。同様にして2次局
3は図示しない2次局4に、2次局4は2次局5に接続
され、2次局5の出力端子5−oは最後順位の2次局6
の入力端子6−iに接続されている。2次局6の出力端
子6−oは終端抵抗8を介して接地されている。1次局
1は各2次局に対してアドレスを設定すると共に、その
アドレスに基づいて2次局とデータ伝送を行うものであ
る。(Structure of Embodiment) FIG. 2 is a schematic block diagram showing an embodiment of the multiplex transmission apparatus according to the present invention. In this figure, the primary station 1 and a plurality of 2
The next stations 2 to 6 are connected by a transmission line 7 in a digital chain. 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 to the next by the transmission line 7. Secondary station 3
Input terminal 3-i. Similarly, the secondary station 3 is connected to the secondary station 4 (not shown), the secondary station 4 is connected to the secondary station 5, and the output terminal 5-o of the secondary station 5 is the secondary station 6 of the last rank.
Input terminal 6-i. The output terminal 6-o of the secondary station 6 is grounded via the terminating resistor 8. The primary station 1 sets an address for each secondary station and performs data transmission with the secondary station based on the address.
(1次局の構成) 1次局1は第3図にその構成を示すように、アドレスの
入力を行うアドレス入力手段Aであるキーボード11とデ
ィスプレイ12が設けられ、キーボード11とディスプレイ
12を制御するコントローラ13を介して中央演算装置(以
下CPUという)14が接続されている。CPU14には又演算処
理手順を記憶するリードオンリメモリ(以下ROMとい
う)15と、設定した2次局のアドレス等を記憶する記憶
領域を有し、アドレス記憶手段Mを構成するランダムア
クセスメモリ(以下RAMという)16が接続されている。R
AM16には後述するようにアドレス設定時及びデータ伝送
時に用いられるカウンタ、及び2次局数を記憶する2次
局数領域とデータを順次送出するタイミングを取るタイ
マ領域が設けられる。CPU14は入力されたアドレスを順
次各2次局に周波数帯域1MHz以下のアドレスを送出する
アドレス信号送出手段S、及びアドレス設定後各2次局
との間でデータ伝送を行うデータ伝送手段Dの機能を達
成している。CPU14の出力は直列データと並列データを
交互に変換するP/S・S/P変換器17を介して前述した伝送
線7に接続されている。又1次局1はCPU14によって制
御されアドレス設定時に最先順位に接続された2次局2
に対して、例えば周波数1MHzのポーリング信号を送出す
るポーリング信号送信回路18を有しており、その出力端
は伝送線7に接続されている。(Structure of Primary Station) As shown in the structure of FIG. 3, the primary station 1 is provided with a keyboard 11 and a display 12 which are address input means A for inputting an address.
A central processing unit (hereinafter referred to as CPU) 14 is connected via a controller 13 that controls the device 12. The CPU 14 also has a read-only memory (hereinafter referred to as ROM) 15 for storing the arithmetic processing procedure, and a random access memory (hereinafter referred to as "address storage means M" having a storage area for storing the set secondary station address and the like. 16) is connected. R
As will be described later, the AM 16 is provided with a counter used at the time of address setting and data transmission, a secondary station number area for storing the secondary station number, and a timer area for taking a timing of sequentially transmitting data. The CPU 14 has a function of an address signal transmitting means S for sequentially transmitting the inputted address to each secondary station of an address having a frequency band of 1 MHz or less, and a function of a data transmitting means D for performing data transmission with each secondary station after the address setting. Has been achieved. The output of the CPU 14 is connected to the above-mentioned transmission line 7 via a P / S / S / P converter 17 that alternately converts serial data and parallel data. In addition, the primary station 1 is controlled by the CPU 14 and the secondary station 2 connected to the highest priority when setting the address.
On the other hand, for example, it has a polling signal transmitting circuit 18 for transmitting a polling signal having a frequency of 1 MHz, and its output end is connected to the transmission line 7.
(2次局の構成) 第4図は2次局の構成を示すブロック図であるが、他の
2次局3〜6についても同様の構成を有している。さて
2次局2の入力端子2−iにはローパスフィルタ21とデ
ータ信号送受信回路22及びポーリング信号受信回路23と
アドレス信号受信回路24が接続されている。ローパスフ
ィルタ21はLCから成る受動フィルタであって、電源状態
にかかわらずポーリング信号として用いられる周波数1M
Hzの信号を遮断し、伝送線7より送出される周波数1MHz
以下の周波数帯域を有するアドレス信号やデータ信号を
そのまま出力端子2−oに伝えるものである。アドレス
信号受信回路24は入力端子2−iから与えられるアドレ
ス信号をアドレス信号保持手段であるアドレスバッファ
25及び比較器26に伝えるものであり、ポーリング信号受
信回路23はポーリング信号の受信時にアドレスバッファ
25をセットし、更にポーリング信号送信回路27にポーリ
ング信号送出タイミングを与える。ポーリング信号送信
回路27は1次局1のアドレス信号送出の停止期間内に2
次局2の出力端子2−oに接続されている後順位の2次
局3に対するポーリング信号を送出する送信回路であ
り、その後比較器26に動作スタート信号を与える。比較
器26はアドレス信号受信回路24によって受信されたアド
レスとアドレスバッファ25に保持されているアドレスと
を比較するものであり、それらのアドレスが一致すれば
送受信を可能とする信号をデータ信号送受信回路22に与
える。データ信号送受信回路22は2次局2と1次局1と
のデータ伝送を行うデータ伝送手段であって、外部から
与えられる出力データを送信し受信されたデータを入力
データとして出力するものである。(Structure of Secondary Station) FIG. 4 is a block diagram showing the structure of the secondary station, but the other secondary stations 3 to 6 have the same structure. A low pass filter 21, a data signal transmitting / receiving circuit 22, a polling signal receiving circuit 23, and an address signal receiving circuit 24 are connected to the input terminal 2-i of the secondary station 2. The low-pass filter 21 is a passive filter consisting of LC, and has a frequency of 1M used as a polling signal regardless of the power supply state.
The frequency of 1MHz that is transmitted from the transmission line 7 by cutting off the Hz signal
Address signals and data signals having the following frequency bands are directly transmitted to the output terminal 2-o. The address signal receiving circuit 24 receives the address signal supplied from the input terminal 2-i as an address signal holding means, that is, an address buffer.
25 and the comparator 26, the polling signal receiving circuit 23 is an address buffer when receiving the polling signal.
25 is set, and the polling signal transmission timing is given to the polling signal transmission circuit 27. The polling signal transmission circuit 27 is set to 2 during the suspension period of the address signal transmission of the primary station 1.
It is a transmission circuit for sending a polling signal to the secondary station 3 in the next order, which is connected to the output terminal 2-o of the next station 2, and thereafter supplies an operation start signal to the comparator 26. The comparator 26 compares the address received by the address signal receiving circuit 24 with the address held in the address buffer 25. If the addresses match, a signal that enables transmission / reception is sent to the data signal transmitting / receiving circuit. Give to 22. The data signal transmission / reception circuit 22 is a data transmission means for performing data transmission between the secondary station 2 and the primary station 1, and transmits output data given from the outside and outputs the received data as input data. .
(本実施例の動作) 次にフローチャート及びタイムチャートを参照しつつ本
実施例の動作について説明する。第5及び第6図は1次
局1及び各2次局の動作を示すフローチャートであり、
第7図はアドレスを設定する際の初期動作での各部の信
号を示すタイムチャートである。本実施例ではまず1次
局のキーボード11より各2次局のアドレスを設定する操
作を行う。即ち1次局1は動作を開始すると、ステップ
31においてデータ伝送モードに入っているかどうかをチ
ェックし、伝送モードでなければアドレスを入力するア
ドレス設定状態であるのでRAM16内のカウンタnをクリ
アし、ステップ33に進んでカウンタの値をインクリメン
トする。そしてキーボード11からのアドレスの入力を待
受け(ステップ34)、入力があればステップ35において
エンド入力であるかどうかをチェックする。エンド入力
でなければアドレス値をRAM16の2次局アドレス領域に
書込んで(ステップ36)、ステップ33に戻ってカウンタ
nをインクリメントして同様の処理を繰り返す。例えば
第8図はこうして書込まれた2次局2〜6のアドレスを
示している。即ち2次局2〜6のアドレスA(1)〜A
(5)を夫々「1」,「3」,「10」,「5」,「4」
として設定されている。(Operation of the present embodiment) Next, the operation of the present embodiment will be described with reference to the flowchart and time chart. 5 and 6 are flowcharts showing the operation of the primary station 1 and each secondary station,
FIG. 7 is a time chart showing signals of various parts in an initial operation when setting an address. In this embodiment, first, the operation of setting the address of each secondary station is performed from the keyboard 11 of the primary station. That is, when the primary station 1 starts operation,
It is checked in 31 whether the data transmission mode is entered. If it is not in the transmission mode, the address n is in the address setting state, so the counter n in the RAM 16 is cleared and the process proceeds to step 33 to increment the counter value. Then, the input of an address from the keyboard 11 is awaited (step 34), and if there is an input, it is checked in step 35 whether it is an end input. If it is not the end input, the address value is written in the secondary station address area of the RAM 16 (step 36), the process returns to step 33, the counter n is incremented, and the same processing is repeated. For example, FIG. 8 shows the addresses of the secondary stations 2 to 6 thus written. That is, the addresses A (1) to A of the secondary stations 2 to 6
(5) is "1", "3", "10", "5", "4" respectively
Is set as.
最終の2次局6まで順次アドレスが設定されればステッ
プ37において2次局数Nにカウンタの値nを書込み、ス
テップ38,39においてシステムがデータ伝送モードにあ
るかどうかをチェックし、データ伝送モードへの投入を
待受ける。この場合にはRAM16にはアドレスの後に終了
コードENDが挿入され2次局数Nの値(この場合は5)
が保持されている。When the addresses are sequentially set up to the final secondary station 6, the counter value n is written in the secondary station number N in step 37, and it is checked in steps 38 and 39 whether the system is in the data transmission mode and data transmission is performed. Wait for the mode to be entered. In this case, the end code END is inserted after the address in the RAM 16 and the value of the number of secondary stations N (5 in this case)
Is held.
さてデータ伝送モードとなればステップ40においてまず
カウンタnをクリアし、ステップ41に進んで第7図
(a)に示すようにポーリング信号P1を送出する。そし
てステップ42,43においてポーリング信号送出後カウン
タnをインクリメントし、カウンタnの計数値が2次局
数Nに等しいかどうかをチェックする。2次局数Nに等
しくなければステップ44に進んで2次局2に対するアド
レス信号A(1)を送出する。2次局2は動作開始後ス
テップ61においてポーリング信号を待受けており、ポー
リング信号P1が受信されればステップ62に進んでアドレ
ス信号受信回路24よりアドレス信号A(1)を受信し、
その前にポーリング信号が受信されているためアドレス
バッファ25にセットする。そしてステップ63に進んでポ
ーリング信号送信回路27より第7図(b)に示すように
2次局3に対するポーリング信号P2を送出する。1次局
1はアドレス信号送信後タイマをリセットしてそのタイ
ムアップを待受ける(ステップ45,46)。タイムアップ
すればステップ42に戻ってカウンタnをインクリメント
し、以後同様の処理を繰り返して2次局3に対するアド
レス信号A(2)を送出する。2次局4〜5についても
同様の処理を行いアドレスA(3)〜A(6)を夫々の
アドレスバッファ25に保持した後、夫々後順位の2次局
4,5に対するポーリング信号P4,P5を送出する。そして最
後順位の2次局6はアドレスA(5)をアドレスバッフ
ァに保持した後ポーリング信号P6を伝送線7上に送出す
るが、この信号はいずれの2次局にも受信されない。1
次局1はステップ43においてカウンタnの計数値が2次
局数Nに等しくなればステップ42〜46のループを脱して
アドレスの自動設定処理を終了する。In the data transmission mode, the counter n is first cleared in step 40, and the process proceeds to step 41, in which the polling signal P1 is transmitted as shown in FIG. 7 (a). Then, in steps 42 and 43, the counter n is incremented after sending the polling signal, and it is checked whether the count value of the counter n is equal to the number N of secondary stations. If it is not equal to the number N of secondary stations, the routine proceeds to step 44, where the address signal A (1) to the secondary station 2 is transmitted. The secondary station 2 waits for the polling signal in step 61 after the operation is started, and if the polling signal P1 is received, the process proceeds to step 62 to receive the address signal A (1) from the address signal receiving circuit 24,
Since the polling signal has been received before that, it is set in the address buffer 25. Then, in step 63, the polling signal transmission circuit 27 sends out the polling signal P2 to the secondary station 3 as shown in FIG. 7 (b). After transmitting the address signal, the primary station 1 resets the timer and waits for the time up (steps 45 and 46). If the time is up, the process returns to step 42 to increment the counter n, and thereafter the same processing is repeated to send the address signal A (2) to the secondary station 3. After the same processing is performed for the secondary stations 4 to 5 and the addresses A (3) to A (6) are held in the respective address buffers 25, the secondary stations in the subsequent order respectively.
The polling signals P4 and P5 for 4 and 5 are transmitted. Then, the secondary station 6 in the last order sends the polling signal P6 onto the transmission line 7 after holding the address A (5) in the address buffer, but this signal is not received by any secondary station. 1
When the count value of the counter n becomes equal to the secondary station number N in step 43, the next station 1 exits the loop of steps 42 to 46 and finishes the automatic address setting process.
そして各2次局に対するデータ送受信を開始し、まずス
テップ47,48に進んでカウンタnをリセットし、次にカ
ウンタnをインクリメントする。そしてステップ49に進
んで第9図(a)に示すように再び最先順位の2次局2
に対するアドレス信号A(1)をRAM16より読出して送
出する。このアドレス信号は各2次局の入出力端に接続
されているローパスフィルタ21を介して全ての2次局2
〜6に与えられ、各2次局2〜6はステップ64,65にお
いてアドレス信号を受信すればその受信アドレスが保持
されているアドレスと一致するかどうかをチェックす
る。このアドレス信号A(1)は2次局2のアドレスバ
ッファ25に保持されているアドレス信号のみと一致す
る。従って2次局2ではルーチン66に進んでデータ信号
の送受信を行い、他の2次局はステップ64に戻って次の
アドレス信号を待受ける。即ち第9図(a),(b)に
示すように1次局1はルーチン50において2次局2に対
するデータD12を送出すると、2次局2は1次局1に対
するデータ信号D21を送信する。こうして2次局2との
データ伝送を終了すると1次局1はカウンタの計数値n
がRAM16に保持されている2次局数Nに等しいかどうか
をチェックする。この値に等しくなければステップ48に
戻ってカウンタnをインクリメントして2次局3に対す
るアドレス信号A(2)を送出する。一方2次局2はル
ーチン66のデータ伝送が終了するとステップ64に戻って
次のアドレス信号を待受ける。次に2次局3に対するア
ドレス信号A(2)が送出されれば第9図(a),
(c)に示すように1次局1と2次局3との間でデータ
伝送が行われる。このようにして以後第9図(a)〜
(f)に示すように1次局1と各2次局2〜6の間でデ
ータ伝送が終了すると、カウンタnの2次局数Nと一致
する。こうして全ての2次局に対するデータ伝送の1サ
イクルの処理を終えた後、ステップ51からステップ47に
戻り再びデータ送受信を繰り返してデータ伝送を継続す
る。Then, data transmission / reception to / from each secondary station is started. First, the process proceeds to steps 47 and 48 to reset the counter n and then increment the counter n. Then, the process proceeds to step 49, and as shown in FIG.
The address signal A (1) for the address is read from the RAM 16 and transmitted. This address signal passes through all the secondary stations 2 through the low-pass filter 21 connected to the input / output terminals of each secondary station.
6 to 6, each of the secondary stations 2 to 6 checks whether or not the received address matches the held address when receiving the address signal in steps 64 and 65. This address signal A (1) matches only the address signal held in the address buffer 25 of the secondary station 2. Therefore, the secondary station 2 proceeds to routine 66 to transmit / receive the data signal, and the other secondary stations return to step 64 to wait for the next address signal. That is, as shown in FIGS. 9A and 9B, when the primary station 1 sends the data D 12 to the secondary station 2 in the routine 50, the secondary station 2 sends the data signal D 21 to the primary station 1. Send. When the data transmission with the secondary station 2 is completed in this way, the primary station 1 counts the count value n of the counter.
Is equal to the number N of secondary stations held in RAM16. If it is not equal to this value, the process returns to step 48 and the counter n is incremented and the address signal A (2) to the secondary station 3 is transmitted. On the other hand, when the data transmission of the routine 66 is completed, the secondary station 2 returns to step 64 and waits for the next address signal. Next, when the address signal A (2) to the secondary station 3 is transmitted, as shown in FIG.
As shown in (c), data transmission is performed between the primary station 1 and the secondary station 3. Thus, thereafter, FIG. 9 (a)-
As shown in (f), when the data transmission between the primary station 1 and each of the secondary stations 2 to 6 is completed, the number of secondary stations N of the counter n matches. After the processing of one cycle of data transmission to all secondary stations is completed in this way, the process returns from step 51 to step 47 to repeat data transmission / reception and continue data transmission.
そして伝送線7に接続される2次局数を増減したり付加
する場合には、1次局1に改めて全ての2次局のアドレ
スを順次設定する。そして2次局をデータ伝送モードに
すると、設定したアドレスが自動的に各2次局に設定さ
れ、以後同様にしてデータ伝送を継続することができ
る。When the number of secondary stations connected to the transmission line 7 is increased or decreased or added, the addresses of all the secondary stations are sequentially set again in the primary station 1. When the secondary station is set to the data transmission mode, the set address is automatically set to each secondary station, and the data transmission can be continued in the same manner thereafter.
尚本実施例は5台の2次局を用いた多重伝送装置につい
て説明したが、更に多数の2次局を用いて同様のシステ
ムを構成することができることはいうまでもない。又本
実施例では各2次局にデータ信号をそのまま通過させポ
ーリング信号のみを遮断するためローパスフィルタを設
けたが、ポーリング信号の周波数のみを遮断する帯域遮
断フィルタを用いてもよい。又ポーリング信号として低
い周波数の信号を用いデータ信号をポーリング信号より
高い周波数で変調することにより、各2次局のフィルタ
をポーリング信号だけを遮断するハイパスフィルタを用
いて構成することも可能である。Although the present embodiment has described a multiplex transmission apparatus using five secondary stations, it goes without saying that a similar system can be constructed by using a larger number of secondary stations. Further, in the present embodiment, a low pass filter is provided to pass the data signal to each secondary station as it is and to block only the polling signal, but a band cut filter that blocks only the frequency of the polling signal may be used. It is also possible to configure the filter of each secondary station by using a high-pass filter that cuts off only the polling signal by modulating a data signal at a frequency higher than that of the polling signal by using a low-frequency signal as the polling signal.
更に本実施例では各2次局と1次局とのデータ伝送を交
互に行う多重伝送装置について説明したが、各2次局が
受信又は送信の一方の機能を有する2次局である場合に
も本発明を適用することができることはいうまでもな
い。Furthermore, in the present embodiment, a description has been given of the multiplex transmission device that alternately performs data transmission between each secondary station and the primary station. However, in the case where each secondary station is a secondary station having one function of reception or transmission, Needless to say, the present invention can also be applied.
第1図は本発明による多重伝送装置の1次局の構成を示
すブロック図、第2図は本発明による多重伝送装置の一
実施例を示す概略ブロック図、第3図は本実施例の1次
局の構成を示すブロック図、第4図は本実施例による2
次局の構成を示すブロック図、第5図は1次局,第6図
は各2次局の動作を示すフローチャート、第7図は各2
次局に対してアドレスを設定する際の初期動作時の各局
のタイムチャート、第8図は1次局のアドレス記憶手段
であるRAMに書込まれたアドレスの一例を示すメモリア
ップ、第9図は通常のデータ伝送動作時の各局のデータ
伝送状態を示すタイムチャートである。 A……アドレス入力手段、M……アドレス記憶手段、S
……アドレス送出手段、P……ポーリング信号送出手
段、D……データ伝送手段、1……1次局、2〜6……
2次局、7……伝送線、11……キーボード、12……ディ
スプレイ、14……CPU、15……ROM、16……RAM、18,27…
…ポーリング信号送信回路、21……ローパスフィルタ
(フィルタ手段)、22……データ信号送受信回路(デー
タ伝送手段)、24……アドレス信号受信回路、25……ア
ドレスバッファ(アドレス信号保持手段)、26……比較
器FIG. 1 is a block diagram showing a configuration of a primary station of a multiplex transmission apparatus according to the present invention, FIG. 2 is a schematic block diagram showing one embodiment of the multiplex transmission apparatus according to the present invention, and FIG. FIG. 4 is a block diagram showing the configuration of the next station.
FIG. 5 is a block diagram showing the configuration of the next station, FIG. 5 is a primary station, FIG. 6 is a flowchart showing the operation of each secondary station, and FIG.
Time chart of each station at the time of initial operation when setting an address to the next station, FIG. 8 is a memory up showing an example of the address written in the RAM which is the address storage means of the primary station, FIG. 3 is a time chart showing the data transmission state of each station during a normal data transmission operation. A: address input means, M: address storage means, S
... Address sending means, P ... polling signal sending means, D ... data transmitting means, 1 ... primary station, 2 to 6 ...
Secondary station, 7 ... Transmission line, 11 ... Keyboard, 12 ... Display, 14 ... CPU, 15 ... ROM, 16 ... RAM, 18,27 ...
... polling signal transmitting circuit, 21 ... low-pass filter (filter means), 22 ... data signal transmitting / receiving circuit (data transmitting means), 24 ... address signal receiving circuit, 25 ... address buffer (address signal holding means), 26 ...... Comparator
Claims (2)
ェーン式に接続された多重伝送装置であって、 前記1次局は、 前記各2次局に任意のアドレスを入力するアドレス入力
手段と、 前記入力されたアドレスを記憶するアドレス記憶手段
と、 前記各2次局に対する固有のアドレス信号を順次断続的
に送出するアドレス信号送出手段と、 アドレス設定時にポーリング信号を最先順位の2次局に
送出するポーリング信号送出手段と、 各2次局に対する前記アドレス信号送出後に当該2次局
とのデータ伝送を行うデータ伝送手段と、を有し、 前記各2次局は、 入出力端間に接続されデータ信号及びアドレス信号を通
過させ、ポーリング信号を遮断するフィルタ手段と、 前記1次局又は上位の2次局から与えられるポーリング
信号の受信後に受信されるアドレス信号を保持するアド
レス信号保持手段と、 前記1次局又は上位の2次局からのポーリング信号受信
後、前記1次局のアドレス信号送出の停止期間内に後順
位の2次局にポーリング信号を送出するポーリング信号
送出手段と、 当該2次局に対するアドレス受信後に前記1次局とのデ
ータ伝送を行うデータ伝送手段と、を具備することを特
徴とする多重伝送装置。1. A multiplex transmission device in which a primary station and a plurality of secondary stations are connected by a transmission line in a digital chain manner, wherein the primary station inputs an arbitrary address to each of the secondary stations. Address input means, address storage means for storing the input address, address signal transmission means for sequentially and intermittently transmitting a unique address signal to each secondary station, and a polling signal at the earliest when the address is set. Polling signal transmitting means for transmitting to the secondary stations in the order, and data transmitting means for performing data transmission with the secondary station after transmitting the address signal to each secondary station, each of the secondary stations Filter means connected between the input and output terminals for passing a data signal and an address signal and blocking a polling signal, and a receiving means for receiving a polling signal given from the primary station or an upper secondary station. Address signal holding means for holding an address signal to be generated, and a secondary station of a lower rank within a suspension period of the address signal transmission of the primary station after receiving a polling signal from the primary station or an upper secondary station. A multiplex transmission apparatus comprising: a polling signal transmitting means for transmitting a polling signal; and a data transmitting means for transmitting data with the primary station after receiving an address for the secondary station.
信号送出手段により送出されるポーリング信号は、デー
タ信号及びアドレス信号より高い周波数を有する信号で
あり、前記各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 address signal, and the filtering means of each of the secondary stations. Is a low-pass filter that cuts off the polling signal and passes a data signal and an address signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21674386A JPH0752874B2 (en) | 1986-09-12 | 1986-09-12 | Multiplexer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21674386A JPH0752874B2 (en) | 1986-09-12 | 1986-09-12 | Multiplexer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6372239A JPS6372239A (en) | 1988-04-01 |
JPH0752874B2 true JPH0752874B2 (en) | 1995-06-05 |
Family
ID=16693235
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP21674386A Expired - Lifetime JPH0752874B2 (en) | 1986-09-12 | 1986-09-12 | Multiplexer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0752874B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2729414B2 (en) * | 1991-03-29 | 1998-03-18 | シャープ株式会社 | Communication expansion device |
-
1986
- 1986-09-12 JP JP21674386A patent/JPH0752874B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPS6372239A (en) | 1988-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5430843A (en) | Data transmission system and method for transmitting data having real-time and non-real-time characteristics | |
US4670872A (en) | Communication link contention resolution system | |
US5579299A (en) | Communications network, a dual mode data transfer system therefor | |
JPH0752874B2 (en) | Multiplexer | |
JP2958601B2 (en) | Data communication method | |
JPH0642678B2 (en) | Multiplexer | |
JPS6390929A (en) | Multiplex transmission equipment | |
JPS6295042A (en) | Multiplex transmission equipment | |
JP2000227803A (en) | Method and system for controlling transmission in data link system of programmable controller | |
JPH09214510A (en) | Method for collecting alarm of network | |
JPS59161956A (en) | Transmission controller | |
JPS6367929A (en) | Communication control device | |
JPS63107332A (en) | Multiplex transmission equipment | |
JPS6295038A (en) | Multiplex transmission equipment | |
JPS6319934A (en) | Multiplex transmission equipment | |
KR100220518B1 (en) | The data structure od car lan system and clock adjusting system using that | |
JPH0642677B2 (en) | Multiplexer | |
JPS62227239A (en) | Multiplex transmission equipment | |
JPS6295046A (en) | Multiplex transmission equipment | |
JPS62100045A (en) | Multiplex transmitter | |
JPS6358498B2 (en) | ||
JPH02107028A (en) | Data collecting system for mobile radio system | |
JPS62227228A (en) | Multiplex transmission equipment | |
JPH03174897A (en) | Remote monitor controller | |
JPH04101531A (en) | Data multiplexing system |