JPH02100544A - Data transmission equipment - Google Patents

Data transmission equipment

Info

Publication number
JPH02100544A
JPH02100544A JP25317088A JP25317088A JPH02100544A JP H02100544 A JPH02100544 A JP H02100544A JP 25317088 A JP25317088 A JP 25317088A JP 25317088 A JP25317088 A JP 25317088A JP H02100544 A JPH02100544 A JP H02100544A
Authority
JP
Japan
Prior art keywords
polarity
signal
transmission line
terminal
transmission
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
JP25317088A
Other languages
Japanese (ja)
Other versions
JP2664743B2 (en
Inventor
Toshiyasu Higuma
利康 樋熊
Mitsunobu Ezaki
江崎 光信
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63253170A priority Critical patent/JP2664743B2/en
Publication of JPH02100544A publication Critical patent/JPH02100544A/en
Application granted granted Critical
Publication of JP2664743B2 publication Critical patent/JP2664743B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To connect a terminal equipment to a transmission line without recognizing the polarity of a signal by switching the polarity of the signal transmitted on the transmission line and making the polarity of the transmission signal equal to the polarity of a signal on the transmission line. CONSTITUTION:When a terminal equipment 2A is connected to the transmission line 1, power is supplied to a power module 13 from the transmission line 1, a signal polarity storage circuit 17 is initialized, and the polarity input terminals 3e and 3f of CPU 3A come to an 'H' level. When a frame is transmitted in such a way that a start bit comes to the +line 1a-side of the transmission line 1 in such a state, a decoding circuit 9 decodes the signal on the transmission line 1, and a decoding result is inputted to the input terminals 17a and 17b of the signal polarity storage circuit 17. Then, the polarity input terminal 3e of CPU 3A comes to an 'L' level, the polarity input terminal 3f comes to the 'H' level, and the start bit appears on the +line 1a-side of the transmission line 1. The state is held until the terminal equipment 2A is detached from the transmission line 1 and feed from the transmission line 1 stops.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、1対の情報の伝送路に多数接続された端末
機がAMI符号によってこの伝送路を介して情報を送受
信するデータ伝送装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a data transmission device in which a large number of terminals connected to a pair of information transmission paths transmit and receive information via the transmission path using AMI codes. .

〔従来の技術〕[Conventional technology]

第7図は例えば昭和61年3月、家庭における情報化に
関する調査研究会発行の「家庭における情報化に関する
調査研究会報告書(最終報告)−技術標準化編一」に示
された従来のデータ伝送装置を示す回路図であり、図に
おいて、■は信号伝送を行う伝送路であり、十線1aと
一線lbで構成されている。2,11は端末機であり、
伝送路1に接続され、以下に説明する構成となっている
、3は定められたプロトコルに従い情報を送受信するた
めの伝送制御装置であり、第8図(a)、 (b)に示
すパケット構成、キャラクタ構成で信号をAMI符号で
伝送するための送信データを1−出力端子3a、−出力
端子3bに出力しており、符号「0」を伝送する毎に1
−出力端子3a、  −出力端子3bに交互に出力を出
す。4.5はトランジスタであり、十出力端子3a、−
出力郊1子3bが各々のベース端子に接続され、信号出
力により駆動されるエミンタ接地型の増幅器を形成して
いる。6は結合トランスであり、1次側にはトランジス
タ45のコレクタ端子が接地され、また1次側の中間タ
ップ6aには電源電圧が供給されており、トうンジスタ
4,5のオン/オフに従い電流が流れ、結合トランス6
の2次側にはAMI符号化された信号(以下、AMI信
号と略す)が現れる。78はコンデンサであり、トラン
ス6の2次側に現れたAMI信号を伝送路1に注入する
。9はAMI復号回路であり、トランス6の1次側に接
続されている。伝送路1−hのAMI信号はコンデンサ
7.8を介し1−ランス6の2次側に加わり、従って1
次側にもAMI信号が現れ、AMI復号回路9に人力さ
れ、復号結果は伝送側れ11装置3の受(言入力端子3
cに人力される。IOは端末[2に必要な電力を供給す
る′gttXである。
Figure 7 shows, for example, the conventional data transmission shown in the ``Report of the Research Group on Computerization in the Home (Final Report) - Technology Standardization Edition'' published by the Research Group on Computerization in the Home in March 1986. It is a circuit diagram showing the device, and in the figure, ■ is a transmission path for signal transmission, and is composed of a tenth line 1a and a single line lb. 2 and 11 are terminals,
3 is a transmission control device connected to the transmission path 1 and configured as explained below, for transmitting and receiving information according to a predetermined protocol, and has the packet structure shown in FIGS. 8(a) and 8(b). , the transmission data for transmitting the signal with the AMI code in the character configuration is output to the 1-output terminal 3a and the -output terminal 3b, and each time the code "0" is transmitted, 1
Outputs are output alternately to -output terminal 3a and -output terminal 3b. 4.5 is a transistor, and output terminals 3a, -
An output terminal 3b is connected to each base terminal, forming a common emitter type amplifier driven by a signal output. 6 is a coupling transformer, the collector terminal of the transistor 45 is grounded on the primary side, and the power supply voltage is supplied to the intermediate tap 6a on the primary side, and it is turned on and off according to the on/off of the transistors 4 and 5. Current flows and coupling transformer 6
An AMI-encoded signal (hereinafter abbreviated as AMI signal) appears on the secondary side. A capacitor 78 injects the AMI signal appearing on the secondary side of the transformer 6 into the transmission line 1. 9 is an AMI decoding circuit, which is connected to the primary side of the transformer 6. The AMI signal on the transmission line 1-h is applied to the secondary side of the 1-lance 6 via the capacitor 7.8, and therefore the AMI signal on the 1-h
The AMI signal appears on the next side as well, and is input manually to the AMI decoding circuit 9, and the decoding result is sent to the receiver of the transmission side 11 device 3 (input terminal 3).
It is manually operated by c. IO is 'gttX which supplies the necessary power to terminal [2.

次に動作について説明する。端末機2が伝送路lに接続
され、例えば端末機11に対して送信要求が発生すると
、伝送制御装置3はAMI復号回路9からの信号により
伝送路1がアイドル状態であることをGM L?2した
後、第8図(a)に示すパケント構成にしたがって各キ
ャラクタのスタートピントの符号「0」を、(−線1a
がプラスになる極性で送信する。すなわち、スタートピ
ントの期間、出力端子3aをハイレベルにすると、トラ
ンジスタ4にベース電流が供給されトランジスタ4がオ
ンし、トランス6の1次側には、中間タンプ6aからト
ランジスタ4のコレクタに電流が流れ、矢印の極性に電
圧が発生ずる。この電圧はトランス6の2次側にも矢印
の極性に電圧が発生し、コンデンサ7.8を介して、伝
送路lに第8図(b)に示すような波形で伝送される。
Next, the operation will be explained. When the terminal device 2 is connected to the transmission path 1 and, for example, a transmission request is issued to the terminal device 11, the transmission control device 3 uses a signal from the AMI decoding circuit 9 to determine whether the transmission path 1 is in an idle state (GM L?). 2, change the start focus code "0" of each character to (-line 1a) according to the Pakent configuration shown in FIG. 8(a).
Transmit with positive polarity. That is, when the output terminal 3a is set to a high level during the start focus period, the base current is supplied to the transistor 4 and the transistor 4 is turned on. As the current flows, a voltage is generated at the polarity of the arrow. This voltage is also generated on the secondary side of the transformer 6 with the polarity indicated by the arrow, and is transmitted via the capacitor 7.8 to the transmission line 1 in a waveform as shown in FIG. 8(b).

また、スタートビットの符号「0」を伝送するとき、ト
ランス6に発生した電圧はAMI復号回路9に入力され
、復号結果を受信入力端子3cで読み込み、伝送制御装
置3において送信した符号が正しく伝送されていること
を確認する。次に、符号「1」を伝送する場合は、十出
力端子3a、−出力端子3bともローレベルを出力する
ことにより、トランジスタ45をオフさせる。すなわち
、伝送路lには何も出力されないので゛0゛電圧となる
。さらに、スタートビットの符号「0」の次に符号「0
」を伝送する場合は、出力端子3bをハイレベルにする
ことにより、トランジスタ5をオンしスタートビットと
は逆の極性に電圧を発生させ、伝送路1に信号を出力す
る。これにより、AMI符号のベースバンド信号の直列
伝送が行える。また、受信は例えば端末allが伝送し
た信号だけをコンデンサ7.8を介してトランス6で受
信し、送信の場合と同様にAMI復号回路9により復号
し、受信入力端子3cに入力し、伝送制御装置3が受信
する。
Also, when transmitting the start bit code "0", the voltage generated in the transformer 6 is input to the AMI decoding circuit 9, the decoding result is read at the reception input terminal 3c, and the transmitted code is correctly transmitted in the transmission control device 3. Make sure that it is. Next, when transmitting the code "1", the transistor 45 is turned off by outputting a low level from both the + output terminal 3a and the - output terminal 3b. That is, since nothing is output to the transmission line 1, the voltage becomes 0. Furthermore, the start bit code “0” is followed by the code “0”.
'', the output terminal 3b is set to a high level to turn on the transistor 5, generate a voltage with a polarity opposite to that of the start bit, and output a signal to the transmission line 1. This allows serial transmission of baseband signals of AMI codes. In addition, for reception, for example, only the signal transmitted by the terminal all is received by the transformer 6 via the capacitor 7.8, decoded by the AMI decoding circuit 9 as in the case of transmission, input to the reception input terminal 3c, and transmitted control Device 3 receives.

次に端末機2と11が同時に送信を開始した場合につい
て説明する。第9[D(a)、 (blは端末機2゜1
1が送信しようとする信号、Cは実際に伝送路lに印加
される信号を示す。最初に送信するスタートピントの符
号「0」は、両方の端末機2,11とも同一極性に送信
されるため、伝送路lには正確に符号「0」として伝送
される。次のビットの符号rl、も同様に両端末機2.
11とも伝送路lに信号を出力しない。また、次に符号
「0」を送信するときには、両端末機2,11はスター
トピントとは逆極性に信号を出力するので、両端末i2
.11が同一の符号を送信したときは送信信号と受信信
号は一致し、正確に伝送される。第3のビットは、端末
機2が符号「0」、端末allが符号「1」をそれぞれ
伝送すると、伝送路1は符号「0」が伝送された状態と
なり、端末機11においては送信信号と受信信号の不一
致が検出され送信は停止される。一方、端末機2におい
ては送信信号と受信信号は一致しているため、送信は継
続される。このように各端末機2.11間で衝突が発生
した場合に、一方の端末機が勝ち残るような伝送制御方
式rC3MA/CD勝ち残り方式」が実現される。この
rcsMA/CD勝ち残り方式」を確実に行わせるため
には、各端末機2.11は伝送路1にスタートビットの
符号r□Jを同一極性に送信する必要がある。逆極性に
接続された端末機があると、スタートビットを送信した
ときに、伝送路1の信号レベルが不確定となり、衝突を
起こした端末機は送受信信号間の一致が双方でとれず勝
ち残りが実現できなくなる。
Next, a case where terminals 2 and 11 start transmitting at the same time will be described. 9th [D(a), (bl is terminal 2゜1
1 indicates the signal to be transmitted, and C indicates the signal actually applied to the transmission path 1. Since the start focus code "0" initially transmitted is transmitted with the same polarity in both terminals 2 and 11, it is accurately transmitted as a code "0" to the transmission path l. The code rl of the next bit is similarly applied to both terminals 2.
11 does not output a signal to the transmission line l. Also, when transmitting the code "0" next time, both terminals 2 and 11 output signals with the opposite polarity to the start focus, so both terminals i2 and 11 output signals with the opposite polarity to the start focus.
.. 11 transmits the same code, the transmitted signal and the received signal match and are transmitted accurately. When terminal 2 transmits the code "0" and terminal all transmits the code "1", the third bit becomes the state where the code "0" is transmitted on the transmission path 1, and the terminal 11 receives the transmitted signal. A mismatch in received signals is detected and transmission is stopped. On the other hand, since the transmitted signal and the received signal in terminal device 2 match, transmission continues. In this way, when a collision occurs between terminals 2.11, a transmission control system called "rC3MA/CD win-now system" is realized in which one terminal survives. In order to ensure that this rcsMA/CD win-now system is carried out, each terminal 2.11 needs to transmit the start bit code r□J to the transmission path 1 with the same polarity. If there is a terminal connected with opposite polarity, the signal level on transmission path 1 will be uncertain when the start bit is transmitted, and the terminal that caused the collision will not be able to match the transmitted and received signals, resulting in a winner. It becomes impossible to realize it.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のデータ伝送装置は以上のように構成されているの
で、伝送路1に極性ができてしまい、伝送路lに端末機
2.11を接続するときに極性を6I認する必要があり
、設置工事時の誤りによる伝送系のトラブルの原因にな
るなどの問題点があった。
Since the conventional data transmission device is configured as described above, there is a polarity in the transmission line 1, and when connecting the terminal 2.11 to the transmission line 1, it is necessary to confirm the polarity. There were problems such as mistakes made during construction that could cause problems with the transmission system.

この発明は上記のような問題点を解決するためになされ
たもので、端末機を伝送路に接続するときに、極性を確
認しなくても正常に情報伝送が行えるデータ伝送装置を
得ることを目的とする。
This invention was made in order to solve the above-mentioned problems, and aims to provide a data transmission device that can normally transmit information without checking the polarity when connecting a terminal to a transmission line. purpose.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係るデータ伝送装置は、端末機が送信するス
タートピントの極性を切り替えるための信号切替手段と
、伝送線路上の信号の極性を判別する信号極性検出手段
を設け、伝送制御装置により上記伝送路に送出する信号
の極性が上記伝送路上の信号極性と同一となるように、
その極性を有効データの受信により確定するようにした
ものである。
The data transmission device according to the present invention is provided with a signal switching means for switching the polarity of a start focus transmitted by a terminal, and a signal polarity detection means for determining the polarity of a signal on a transmission line, and a transmission control device controls the transmission of the signal. so that the polarity of the signal sent to the transmission path is the same as the signal polarity on the transmission path.
The polarity is determined by receiving valid data.

〔作 用〕[For production]

この発明におけるデータ伝送装置は、端末機が送信する
スタートビットの極性を伝送線路との信号極性の判別結
果に基づき切り替えて、端末機が送信するスターI・ビ
ン1−の極性を、伝送線路上に接続された全ての端末に
おいて一致させるように作用する。
The data transmission device of the present invention switches the polarity of the start bit transmitted by the terminal based on the determination result of the signal polarity with the transmission line, and changes the polarity of the star I/bin 1- transmitted by the terminal to the transmission line. This acts to match all terminals connected to the .

〔発明の実施例] 以下、この発明の一実施例を図について説明する。第1
図において、■は伝送路であり、この伝送路1を介して
、各データ伝送装置としての端末機2Aはこれら複数の
相互間でデータのやり取りを行う。3Aは伝送制御装置
で、例えばワンチンブマイコンからなり、以下、これを
CP Uと略して説明する。CPU3Aは親機モード及
び子機モードの2つの動作モードを持ち、その切り替え
は切り替え入力端子3hに接続されたスイッチ18によ
り行われ、スイッチがオンの時は親機モード、オフの時
は子機モードとなる。CPU3Aのト出力端子3a、−
出力端子3bは信号切替手段としてのセレクタ12の入
力端子12b、12aにそれぞれ接続されている。CP
U3Aの極性制御出力端子3dに接続されたセレクタ1
2のセレクタ制御入力端子12eの信号に従い、セレク
タ12の出力端子12c、12dに、出力端子3a、3
bに得られる信号が交互に現れる。例えば極性制御出力
端子3dが”H″レベル時は、セレクタ出力端子12c
には十出力端子3aの信号が、セレクタ出力端子12d
には一出力端子3bの信号がそれぞれ出力される。また
、極性制御出力端子3dが“°L′°レベルの時はセレ
クタ出力端子12Cには一出力端子3b信号が、セレク
タ出力端子12dには十出力端子3aの信号が出力され
る。
[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, ■ indicates a transmission path, and through this transmission path 1, the terminals 2A as each data transmission device exchange data among these plurality of devices. Reference numeral 3A denotes a transmission control device, which is composed of, for example, a one-chip microcomputer, and will be abbreviated as CPU hereinafter. The CPU 3A has two operating modes, a master mode and a slave mode, and switching between them is performed by a switch 18 connected to the switching input terminal 3h.When the switch is on, it is the master machine mode, and when it is off, it is the slave machine mode. mode. Output terminal 3a, - of CPU3A
The output terminal 3b is connected to input terminals 12b and 12a of a selector 12 as signal switching means, respectively. C.P.
Selector 1 connected to polarity control output terminal 3d of U3A
According to the signal of the selector control input terminal 12e of the selector 12, the output terminals 3a, 3 are output to the output terminals 12c, 12d of the selector 12.
The signals obtained in b appear alternately. For example, when the polarity control output terminal 3d is at "H" level, the selector output terminal 12c
The signal from the selector output terminal 3a is output from the selector output terminal 12d.
A signal from one output terminal 3b is outputted to each of the terminals 3b and 3b. Further, when the polarity control output terminal 3d is at the "°L'° level, the one output terminal 3b signal is outputted to the selector output terminal 12C, and the signal of the tenth output terminal 3a is outputted to the selector output terminal 12d.

セレクタ12の出力端子12c、12dはそれぞれトラ
ンジスタ5.4のベース端子に接続され、セレクタ出力
端子12c、12dにそれぞれ出力される。−出力端子
3b、  十出力端子3aの各信号によりドライブされ
、トランジスタ4.5のコレクタ端子に接続されたトラ
ンス6を励振する。
Output terminals 12c and 12d of the selector 12 are each connected to the base terminal of the transistor 5.4, and output to selector output terminals 12c and 12d, respectively. - The transformer 6 is driven by the signals at the output terminal 3b and the output terminal 3a, and is connected to the collector terminal of the transistor 4.5.

トランス6の2次側はコンデンサ7.8を介し、伝送路
1に接続され、上記各信号が伝送路1上に出力される。
The secondary side of the transformer 6 is connected to the transmission line 1 via a capacitor 7.8, and the above-mentioned signals are output onto the transmission line 1.

一方、伝送路1上の信号は、コンデンサ7.8を介しト
ランス6の1次側に接続された復号回路9により受信さ
れる。トランス6の1次側に現れた信号は復号回路9の
結合抵抗9a。
On the other hand, the signal on the transmission line 1 is received by a decoding circuit 9 connected to the primary side of the transformer 6 via a capacitor 7.8. The signal appearing on the primary side of the transformer 6 is connected to the coupling resistor 9a of the decoding circuit 9.

9bを介してコンパレーク9c、9dに供給される。9
eは信号レベル比較用電dqで、これから与えられる信
号レベるをスレッショルド電圧として、コンパレータ9
c、9dはト記1次側に現れた信号を波形整形して出力
する。9fはコンパレータ9c、9dの出力の論理積を
とるアンドゲートで、その出力はCPU3Aの受信信号
の入力端子3cに入力される。また、17は信号極性検
出手段としての信号極性記憶回路で、コンパレータ9c
It is supplied to comparators 9c and 9d via 9b. 9
e is a signal level comparison voltage dq, and the signal level applied from this is set as a threshold voltage to the comparator 9.
c and 9d waveform-shape the signal appearing on the primary side and output it. 9f is an AND gate that performs the logical product of the outputs of the comparators 9c and 9d, and its output is input to the received signal input terminal 3c of the CPU 3A. Further, 17 is a signal polarity storage circuit as a signal polarity detection means, and a comparator 9c
.

9dの出力をそれぞれ入力端子I7a、17bに受ける
。信号極性記憶回路17は、入力端子17a、17bに
加えられた信号のいずれか一方が“L゛レベルなると、
その状態を出力端子17C,17dに出力し、リセット
入力端子17eにリセット信号が加えられるまでその状
態を保持するものである。出力端子17c、17dはC
PU3Aの極性入力端子3e、3fに接続されている。
9d are received at input terminals I7a and 17b, respectively. The signal polarity memory circuit 17 stores a signal when either one of the signals applied to the input terminals 17a, 17b goes to "L" level.
The state is outputted to the output terminals 17C and 17d, and the state is held until a reset signal is applied to the reset input terminal 17e. Output terminals 17c and 17d are C
It is connected to polarity input terminals 3e and 3f of PU3A.

13は電源モジュールで、伝送路1に接続され、伝送路
1から給電される電源電圧を降圧して復号回路9や信号
極性記憶回路17に給電している。
A power supply module 13 is connected to the transmission line 1 and steps down the power supply voltage supplied from the transmission line 1 to supply power to the decoding circuit 9 and the signal polarity storage circuit 17.

14はリセ7)信号発生回路であり、データ伝送装置と
しての端末a2Aが伝送路1に接続され、電源モジエー
ル13に給電が開始されると、パルスを発生する。この
リセット信号発生回路14が発生したパルスは、アンド
ゲート15によりCPU3Aが出力するりセント信号端
子3gからのリセット信号との論理積が取られ、信号極
性記憶回路17のリセット入力端子17eに加えられる
Reference numeral 14 denotes a signal generating circuit 7) which generates a pulse when the terminal a2A serving as a data transmission device is connected to the transmission line 1 and power supply to the power source module 13 is started. The pulse generated by the reset signal generation circuit 14 is logically ANDed with the reset signal output from the CPU 3A or sent from the cent signal terminal 3g by the AND gate 15, and is applied to the reset input terminal 17e of the signal polarity storage circuit 17. .

16はCP tJ 3 A、セレクタ12、トランジス
タ4.5へ給電するための電源、20は伝送路1へ給電
するための伝送路電源装置である。
16 is a power supply for supplying power to the CP tJ 3 A, the selector 12, and the transistor 4.5; 20 is a transmission line power supply device for supplying power to the transmission line 1;

次に動作について説明する。第2図は信号極性記憶回路
17を含む端末t12A各部の動作を示すタイミング図
である。図において、データ伝送装置としての端末機2
Aが伝送路1に接続されると、電源モジュール13に伝
送路lから電源が供給されるため、リセット信号発生回
路14は第2図(a)に示すようなパルスを発生する。
Next, the operation will be explained. FIG. 2 is a timing diagram showing the operation of each part of the terminal t12A including the signal polarity storage circuit 17. In the figure, terminal device 2 as a data transmission device
When A is connected to the transmission line 1, power is supplied to the power supply module 13 from the transmission line 1, so the reset signal generation circuit 14 generates a pulse as shown in FIG. 2(a).

リセットパルスが入力されると、信号極性記憶回路17
は初期化され、CPU3Aの極性入力端子3e、3fは
第2図(d)、 (e)の期間TAで“H”レベルとな
る。この状態で伝送路1の子線la側にスタートビット
がくるように、第8図(a)、 (b)に示すフレーム
が伝送されると、第3図に示すように、復号回路9は伝
送路1上の第3図(a)に示すような信号を復号し、第
3図(d)、 (e)に示すような復号結果信号を出力
する。この復号結果は信号極性記憶回路17の入力端子
17a、17bにも入力され、第3図(g)、 (hl
に示すようにCPU3Aの極性入力端子3eが”L″”
レベル、極性入力端子3fが°H°”レベルとなり、伝
送路lの子線la側にスタートビットが現れる。この状
態は信号極性記憶回路17のリセット入力端子1.7 
eにリセットパルスが人力されるか、又は端末機2Aが
伝送路1から切り放され伝送路1からの給電が停止する
まで、保持されている。以上が信号極性記憶回路17の
基本動作である。
When the reset pulse is input, the signal polarity storage circuit 17
is initialized, and the polarity input terminals 3e and 3f of the CPU 3A go to the "H" level during the periods TA shown in FIGS. 2(d) and (e). In this state, when the frames shown in FIGS. 8(a) and 8(b) are transmitted so that the start bit is placed on the child line la side of the transmission path 1, the decoding circuit 9 is activated as shown in FIG. A signal as shown in FIG. 3(a) on the transmission line 1 is decoded, and decoding result signals as shown in FIG. 3(d) and (e) are output. This decoding result is also input to the input terminals 17a and 17b of the signal polarity storage circuit 17, and is shown in FIGS.
As shown in the figure, the polarity input terminal 3e of the CPU 3A is “L”.
The level and polarity input terminal 3f becomes the °H°" level, and a start bit appears on the child line la side of the transmission line l. This state is at the reset input terminal 1.7 of the signal polarity storage circuit 17.
It is held until a reset pulse is manually applied to e, or the terminal 2A is disconnected from the transmission line 1 and the power supply from the transmission line 1 is stopped. The above is the basic operation of the signal polarity storage circuit 17.

次に、端末機2人の掻性確定までの動作を2つのモー(
゛について説明する。第1には、モード切り替え用のス
イッチ18がオン、即ち親機モードの時について、第4
図のフローチャートに基づき説明する。いま、端末機2
Aが伝送路1に接続されている状態で、CP tJ 3
 Aに電源が投入されると(ステップ5TI)、CP[
J3Aは極性入力端子3e、3fを読み込み(ステップ
ST2.5T3)、さらにこれらの極性入力端子3e、
3fの排他的論理和をとりそれが“′真°”か否かを判
定する(ステップ5T4)。その結果が真”′の場合に
は、さらに極性入力端子3eが“L”であることを確認
して、極性がすでに確定していることを確認し、極性制
御出力端子3dに″“H″′を出力して通常処理へ移行
する。極性が設定されていない場合は、極性制御出力端
子3dに“H°″を出力して(ステップ5T5)、伝送
路1の子線la側にスタートビットが出力されるように
、セレクタ12を操作し、定められたフレームを送信す
る(ステップ5T6)。送信したデーフレームは自身の
入力端子3cに入力され、受信を行い、■フィールドを
正常に受信したか否かを判定して(ステップ5T7)、
正常であったときは極性入力端子3e3fを読み込み(
ステップST8,5T9)、続いて極性入力端子3e、
3fの排他的論理和をとり(ステップ5T10)、結果
が“真パの場合には、さらに極性入力端子3eがL″゛
であることを確認して(ステップ5TII)、この後、
通常処理へ移行する(ステップ5T12)。1フイ一ル
ド分正常に受信できなかった場合、排他的論理和の結果
が“偽”である場合及び極性入力端子3eが°″H”で
ある場合は、CPU3Aはリセット信号端子3gにリセ
ットパルスを出力しくステップ5T13)、信号極性記
憶回路17を初期化し、再度フレーム送信を行い、上記
と同様な動作を極性が正常に設定されるまで繰り返し行
う。
Next, the operation of the two terminals until the determination of the scratching behavior is performed in two modes (
I will explain about ゛. Firstly, when the mode switching switch 18 is on, that is, in the main unit mode, the fourth
This will be explained based on the flowchart shown in the figure. Now, terminal 2
With A connected to transmission line 1, CP tJ 3
When power is applied to A (step 5TI), CP[
J3A reads the polarity input terminals 3e and 3f (step ST2.5T3), and further reads these polarity input terminals 3e and 3f.
The exclusive OR of 3f is taken and it is determined whether or not it is "'true degree" (step 5T4). If the result is true, it further confirms that the polarity input terminal 3e is “L”, confirms that the polarity has already been determined, and outputs “H” to the polarity control output terminal 3d. ′ is output and the process returns to normal processing. If the polarity is not set, output "H°" to the polarity control output terminal 3d (step 5T5) and operate the selector 12 so that the start bit is output to the child line la side of the transmission line 1. and transmits the determined frame (step 5T6). The transmitted data frame is input to its own input terminal 3c and received, and it is determined whether or not the ■ field has been received normally (step 5T7).
If it is normal, read the polarity input terminal 3e3f (
Steps ST8, 5T9), followed by polarity input terminal 3e,
Take the exclusive OR of 3f (step 5T10), and if the result is "true", further confirm that the polarity input terminal 3e is low (step 5TII), and then,
The process shifts to normal processing (step 5T12). If one field cannot be received normally, if the exclusive OR result is “false”, or if the polarity input terminal 3e is “H”, the CPU 3A sends a reset pulse to the reset signal terminal 3g. In step 5T13), the signal polarity storage circuit 17 is initialized, the frame is transmitted again, and the same operation as above is repeated until the polarity is set normally.

次ぎにモード切り替えスイッチ18がオフとなる子機モ
ード時について第5図のフローチャートに基づき説明す
る。端末a2Aが伝送路1に接続されている状態で、C
PU3Aに電源が投入されると(ステップ5T21)、
CPU3Aは極性入力端子3e、3fを読み込み(ステ
ップST22゜5T23)、極性入力端子3e、3fの
排他的論理和をとり、結果が°°真゛と判定した場合に
は(ステップ5T24)、極性入力端子3eの値を調べ
(ステップ5T25)、L゛の場合には伝送路1の子線
la側にスタートビットが出力されるように極性制御出
力端子3dに°°H′°を出力しくステップ5T26)
、極性入力端子3eがH“の場合には、上記とは逆に伝
送路1の一線lb側にスタートビットが出力されるよう
に極性制御出力端子3dにL”を出力して(ステップ5
T27)、セレクタ12を操作し、送受信の極性を一致
させ、通常処理に移行する(ステップ5T28)。排他
的論理和の結果が“′偽゛°である場合には、復号回路
9の出力を入力端子3Cに入力し、1フイールドのデー
タを正常に受信したか否かを調べる(ステップ5T29
)、1フイールドのデータを正しく受信したことを検出
すると、ステップST22以下の動作を再実行する。
Next, the slave device mode in which the mode changeover switch 18 is turned off will be explained based on the flowchart of FIG. With terminal a2A connected to transmission path 1, C
When the power is turned on to PU3A (step 5T21),
The CPU 3A reads the polarity input terminals 3e and 3f (step ST22゜5T23), calculates the exclusive OR of the polarity input terminals 3e and 3f, and if the result is determined to be true (step 5T24), the polarity input Check the value of the terminal 3e (step 5T25), and if it is L, output °°H'° to the polarity control output terminal 3d so that the start bit is output to the slave line la side of the transmission line 1.Step 5T26 )
, when the polarity input terminal 3e is H", contrary to the above, outputs "L" to the polarity control output terminal 3d so that the start bit is output to the line 1b side of the transmission line 1 (step 5).
T27), the selector 12 is operated to match the polarity of transmission and reception, and the process shifts to normal processing (step 5T28). If the result of the exclusive OR is "'false", the output of the decoding circuit 9 is input to the input terminal 3C, and it is checked whether the data of one field has been received normally (step 5T29).
), when it is detected that the data of one field has been correctly received, the operations from step ST22 onwards are executed again.

また、lフィールドのデータが正常に受信できない場合
及び排他的論理和の結果が“偽°゛である場合には、正
常に極性が設定できるまで通常処理には移行しない。
Further, if the data in the I field cannot be received normally or if the result of the exclusive OR is "false", the routine does not proceed to normal processing until the polarity can be set normally.

以上のようにして極性設定動作が行われる。従って、第
6図に示すように、親機モードの端末機2Aが1台、子
機モー1の端末機2人が複数台、伝送路1に接続された
システムにおいては、電源が一斉に投入された場合には
、親機モードの端末機2Aが送信するフレームにより極
性が設定され、また子機モードの端末機2Aに1台だけ
後から電源投入されても、伝送路1上に′流れるフレー
ムにより極性が定まり、データの交換が行える。さらに
、途中で電源を遮断しても、伝送路lからの給電により
、各端末機2Aは極性を保持しているため、再度電源が
投入されたときに、支障なくデータ伝送が行える。
The polarity setting operation is performed as described above. Therefore, as shown in Fig. 6, in a system in which one terminal 2A in master mode and two terminals in slave mode 1 are connected to transmission line 1, the power is turned on all at once. In this case, the polarity is set by the frame transmitted by the terminal 2A in the master mode, and even if only one terminal 2A in the slave mode is powered on later, the polarity is set on the transmission path 1. Polarity is determined by the frame and data can be exchanged. Furthermore, even if the power is cut off midway, each terminal 2A maintains its polarity due to the power supplied from the transmission path 1, so that data transmission can be performed without any problem when the power is turned on again.

なお、上記の実施例では、1を機モードの端末機2Aは
、極性設定動作の中で、送信データのスタートビットが
伝送路1の上線la側に出力されるように、極性制御出
力端子3dに“’ H”を出力し、セレクタ12を操作
してフレームを送信していたが、送信ギータのスタート
ビットが伝送路1の一線tb側に出力されるように極性
制御出力端子3dに“L”を出力し、セレクタ12を操
作してフレームを送信しても、同様な効果を得ることが
できる。
In the above embodiment, the terminal 2A in the machine mode 1 outputs the polarity control output terminal 3d so that the start bit of the transmission data is output to the upper line la side of the transmission line 1 during the polarity setting operation. The frame was transmitted by operating the selector 12 by outputting "'H" to ” and transmit the frame by operating the selector 12, the same effect can be obtained.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、伝送路上の信号の極
性を信号極性検出手段によって検出し、上記伝送路上に
送出する信号の極性を信号切替手段によって切り替え、
上記の送出信号の極性が伝送路上の信号の極性と同一に
なるように、伝送制御装置によってその信号の極性を1
フイールドの有効データの受信によって確定するように
構成したので、信号極性を確認することなく端末機を伝
送路に接続することができ、設置工事時の誤りによる伝
送系におけるトラブル発生を未然に防止できるものが得
られる効果がある。
As described above, according to the present invention, the polarity of the signal on the transmission path is detected by the signal polarity detection means, the polarity of the signal sent out on the transmission path is switched by the signal switching means,
The polarity of the signal is changed to 1 by the transmission control device so that the polarity of the above sending signal is the same as the polarity of the signal on the transmission path.
Since it is configured to be determined by receiving valid field data, it is possible to connect the terminal to the transmission line without checking the signal polarity, and it is possible to prevent problems in the transmission system due to errors during installation work. It has the effect of getting something.

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

第1図はこの発明の一実施例によるデータ伝送装置を示
すブロック接続図、第2図及び第3図はこの発明の一実
施例によるデータ伝送装置各部の信号を示すタイミング
図、第4図はこの発明におけるデータ伝送装置の親機モ
ー1の初期動作を表すフローチャート、第5図はこの発
明におけるデータ伝送装置の子機モートの初期動作を表
わすフローチャート、第6図はこの発明のデータ伝送装
置を用いたシステムのブロック接続図、第7図は従来の
データ伝送装置を示すブロック接続図、第8図は情報を
伝送するだめのパケント構成及びキャラクタ構成を示す
説明図、第9図は伝送路に送出された信号と端末機が送
出した信号の関係を示す説明図である。 1は伝送路、2Aはデータ伝送装置(端末a)、3Aは
伝送制御装置(CPU)、9は復号回路、12は信号切
替手段(セレクタ)、17は信号極性検出手段(信号極
性記憶回路)。 なお、図中、同一符号は同一、または相当部分を示す。 第2゜ 第 図 cc 5・Iフコード
FIG. 1 is a block connection diagram showing a data transmission device according to an embodiment of the invention, FIGS. 2 and 3 are timing diagrams showing signals of each part of the data transmission device according to an embodiment of the invention, and FIG. FIG. 5 is a flowchart showing the initial operation of the slave mode 1 of the data transmission device according to the present invention. FIG. 6 is a flowchart showing the initial operation of the slave mode 1 of the data transmission device according to the invention. Fig. 7 is a block connection diagram of the system used. Fig. 7 is a block connection diagram showing a conventional data transmission device. Fig. 8 is an explanatory diagram showing the structure and character structure for transmitting information. FIG. 2 is an explanatory diagram showing the relationship between a transmitted signal and a signal transmitted by a terminal. 1 is a transmission path, 2A is a data transmission device (terminal a), 3A is a transmission control device (CPU), 9 is a decoding circuit, 12 is a signal switching means (selector), 17 is a signal polarity detection means (signal polarity storage circuit) . In addition, in the figures, the same reference numerals indicate the same or equivalent parts. 2゜Figure cc 5・I code

Claims (1)

【特許請求の範囲】[Claims] 1対の伝送路に相互にデータ伝送を行う複数の端末機が
接続されたデータ伝送装置において、上記伝送路上の信
号の極性を検出する信号極性検出手段と、上記伝送路上
に送出する信号の極性を切り替える信号切替手段と、こ
の送出する信号の極性が上記伝送路上の信号極性と同一
となるようにその信号の極性を有効データの受信により
確定する伝送制御装置とを備えたことを特徴とするデー
タ伝送装置。
In a data transmission device in which a plurality of terminals that mutually transmit data are connected to a pair of transmission paths, there is provided a signal polarity detection means for detecting the polarity of a signal on the transmission path, and a polarity of the signal sent onto the transmission path. and a transmission control device that determines the polarity of the signal by receiving valid data so that the polarity of the transmitted signal is the same as the polarity of the signal on the transmission path. Data transmission equipment.
JP63253170A 1988-10-07 1988-10-07 Data transmission equipment Expired - Lifetime JP2664743B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63253170A JP2664743B2 (en) 1988-10-07 1988-10-07 Data transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63253170A JP2664743B2 (en) 1988-10-07 1988-10-07 Data transmission equipment

Publications (2)

Publication Number Publication Date
JPH02100544A true JPH02100544A (en) 1990-04-12
JP2664743B2 JP2664743B2 (en) 1997-10-22

Family

ID=17247509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63253170A Expired - Lifetime JP2664743B2 (en) 1988-10-07 1988-10-07 Data transmission equipment

Country Status (1)

Country Link
JP (1) JP2664743B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59149448A (en) * 1983-02-17 1984-08-27 Nec Corp Control system of sign polarity
JPH01288133A (en) * 1988-05-16 1989-11-20 Mitsubishi Heavy Ind Ltd Signal transmission equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59149448A (en) * 1983-02-17 1984-08-27 Nec Corp Control system of sign polarity
JPH01288133A (en) * 1988-05-16 1989-11-20 Mitsubishi Heavy Ind Ltd Signal transmission equipment

Also Published As

Publication number Publication date
JP2664743B2 (en) 1997-10-22

Similar Documents

Publication Publication Date Title
JPH0773270B2 (en) Data communication method and multiple connection system
JP3140936B2 (en) Two-way simultaneous communication method, its communication device, and programmable controller using the communication method
US6393020B1 (en) Gated multi-drop communication system
JPH02100544A (en) Data transmission equipment
JP2002091519A (en) Programmable controller and erroneous wiring correcting method
JP3161016B2 (en) Information transmission equipment
JP3534937B2 (en) Data communication method and control data communication device
JPH02276337A (en) Polarity settlement control method
JPH0710071B2 (en) Information transmission device
JP3550442B2 (en) Encoder signal communication method
JPS61169037A (en) Two-way serial data transmission method
SU1241248A1 (en) Interface for linking data receiver with data source bus
JPH0666747B2 (en) Identification signal transmitter
SU1732366A1 (en) Device for telemetry and supervisory indication
JPS6213861B2 (en)
SU1531122A1 (en) Device for fire signalling
JPS6247218A (en) Transmission line switching system
JPH0511587U (en) Transmission device
JPH0537588A (en) Communication equipment
JPS6358438B2 (en)
JPH0681159B2 (en) Information transmission device
JPS59132256A (en) Polling control system
JPS6028026B2 (en) Central processing unit mutual communication method
JPH0691557B2 (en) Information transmission device
JPH05176379A (en) Remote control device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080620

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080620

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090620

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090620

Year of fee payment: 12