JPH0319544A - Loop form mutual communication equipment - Google Patents

Loop form mutual communication equipment

Info

Publication number
JPH0319544A
JPH0319544A JP1155300A JP15530089A JPH0319544A JP H0319544 A JPH0319544 A JP H0319544A JP 1155300 A JP1155300 A JP 1155300A JP 15530089 A JP15530089 A JP 15530089A JP H0319544 A JPH0319544 A JP H0319544A
Authority
JP
Japan
Prior art keywords
mutual communication
address
information
signal
ack bit
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
JP1155300A
Other languages
Japanese (ja)
Inventor
Tsutomu Sakurai
努 桜井
Yoshibumi Hara
義文 原
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1155300A priority Critical patent/JPH0319544A/en
Publication of JPH0319544A publication Critical patent/JPH0319544A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain communication in the virtual wiring state by allowing a mutual communication equipment passing simply through a serial signal to apply mutual communication between two mutual communication equipments of the same address of one and same loop when reception address information and a setting address are not equal. CONSTITUTION:A transmission format consists of synchronizing information, address information, data information and an ACK bit to confirm the operation of a mutual communication equipment. The mutual communication equipment communicating mutually is provided with a reception ACK detection circuit 7 detecting the operating condition to store data information in a received data through serial/parallel conversion when an ACK bit in a reception signal is logical 1 and a setting address and a reception address are equal to each other, and a transmission ACK bit generating circuit 8 to confirm it that the mutual communication equipment applies input/output operation normally. Thus, the wiring is regarded simply coupled without considering the communication protocol and simple communication is attained.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はループ形状を持つ通信装置の相互通信に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION FIELD OF INDUSTRIAL APPLICATION The present invention relates to intercommunication of communication devices having a loop shape.

従来の技術 近年、マイクロプロセッサの利用により自動機械が高機
能化され、それに伴い数百にも及ぶセンサ,アクチュエ
ー夕などが付設されることもめずらしくなくなっている
BACKGROUND OF THE INVENTION In recent years, automatic machines have become more sophisticated through the use of microprocessors, and it is now not uncommon for automatic machines to be equipped with hundreds of sensors, actuators, etc.

本出願人は上記に鑑み、特願昭61−165830号と
して、ループ状に接続された複数の子局に対して高速デ
ータ伝送を行うことができるデータ伝送装置を出願して
いる。
In view of the above, the present applicant has filed Japanese Patent Application No. 61-165830 for a data transmission device capable of performing high-speed data transmission to a plurality of slave stations connected in a loop.

この先行技術は、第15図及び第16図に示すようにア
ドレス一致検出記憶回路Cによって、予め設定されたア
ドレスと伝送信号(第16図(a))内のアドレス情報
との一致を検出することにより、データ情報を並列直列
変換器dによって並列入力データから変換される直列デ
ータ(第16図(b))と置換えた伝送信号(第16図
(C))を送信するもので、各子局におけるアドレス設
定はアドレス一致検出記憶回路Cのアドレス設定スイッ
チAをセットすることにより行われている。
In this prior art, as shown in FIGS. 15 and 16, an address match detection storage circuit C detects a match between a preset address and address information in a transmission signal (FIG. 16(a)). By doing so, a transmission signal (Fig. 16 (C)) in which data information is replaced with serial data (Fig. 16 (b)) converted from parallel input data by a parallel-to-serial converter d is transmitted. The address setting at the station is performed by setting the address setting switch A of the address coincidence detection storage circuit C.

又、従来より種々の端末の群管理等に広く用いられてい
る方法として、第14図に示すように、ホストコンピュ
ータを端末の間に数多くのマルチブレクサ(MUX)と
呼ばれる切り換えスイッチを設けて情報のやり取りをし
ている。
Furthermore, as shown in Figure 14, as a method that has been widely used for group management of various terminals, a host computer is connected to a terminal by installing a number of changeover switches called multiplexers (MUX) between the terminals. We are having an exchange.

発明が解決しようとする課題 しかし、上記従来例において相互通信を行う場合、従来
例においては基本的にアドレスが一致すれば入出力を行
うものであるから、同一ループ状の2つの子局のアドレ
スを同じにすれば上流側の子局から下流側の子局へのデ
ータは送れるがその逆は不可という問題がある。
Problems to be Solved by the Invention However, when performing mutual communication in the above conventional example, input/output is performed basically if the addresses match in the conventional example, so the addresses of two slave stations in the same loop are If they are made the same, data can be sent from the upstream slave station to the downstream slave station, but the reverse is not possible.

又、第14図の装置で端末同志の通信をしようとすると
、データ1ヶづつ1度ホストコンピュータとやり取りし
た後でMUXを切り換えて再度ホストコンピュータとも
う1つの端末との信号のやり取りをする必要があり、単
にハード構成やソフト繁雑であるばかりでなくリアルタ
イム性もなく、データ伝送時間もかかりすぎるという問
題があった。
Furthermore, when trying to communicate between terminals using the device shown in Figure 14, it is necessary to exchange each piece of data once with the host computer, then switch the MUX and exchange signals between the host computer and another terminal again. However, not only is the hardware configuration and software complex, but there are also problems in that it lacks real-time performance and takes too much time to transmit data.

本発明は上記問題点に鑑み、同一ループ上の同じアドレ
スに設定された子局同志が、通信を意識することなく単
に配線が接続されているといったいわゆる仮想配線状態
で通信できるループ状相互通信装置を提供することを目
的とする。
In view of the above-mentioned problems, the present invention provides a loop-like mutual communication device that allows slave stations set at the same address on the same loop to communicate in a so-called virtual wiring state in which the wires are simply connected without being aware of communication. The purpose is to provide

課題を解決するための手段 上記目的を達成するため、本発明の第1発明のループ状
相互通信装置は、同期情報とアドレス情報とデータ情報
と同一ループ状の相互通信装置が正常動作したことを確
認するACKビットからなるシリアル信号を発生し、1
回目の送信時には前記ACKビットを0とし、2回目の
送信時には1回目に受信したデータ情報とACKビット
をそのまま送信するループ制御器と、前記ループ制御器
から送信されるシリアル信号中のACKビットを検出し
、受信したアドレス情報と予め設定されている設定アド
レスが等しくかつACKビットが1であればデータ情報
をシリアル化した入力データに置換え、受信したデータ
情報をパラレル化して出力すると共にACKビットを1
のまま送信し、又前記ACKビットが0であれば出力せ
ずにACKビットを1にして送信し、一方受信したアド
レス情報と予め設定されている設定アドレスが等しくな
いときはシリアル信号を単に素通りする相互通信装置と
により同一ループ状で同じアドレスに設定された2つの
相互通信装置同志が相互通信を行うようにしたことを特
徴とする。
Means for Solving the Problems In order to achieve the above object, the loop-shaped mutual communication device of the first aspect of the present invention uses synchronization information, address information, and data information to indicate that the loop-shaped mutual communication device is operating normally. Generates a serial signal consisting of the ACK bit to confirm, 1
A loop controller that sets the ACK bit to 0 during the first transmission, and transmits the data information and ACK bit received the first time as they are during the second transmission, and a loop controller that sets the ACK bit in the serial signal transmitted from the loop controller to If the received address information is equal to the preset setting address and the ACK bit is 1, the data information is replaced with serialized input data, the received data information is parallelized and output, and the ACK bit is set. 1
If the ACK bit is 0, the ACK bit is set to 1 and transmitted. On the other hand, if the received address information and the preset address are not equal, the serial signal is simply passed through. The present invention is characterized in that two mutual communication devices set to the same address in the same loop form communicate with each other.

又本発明の第2発明のループ状相互通信装置は、第1の
発明に付加して、RS232C等の通信信号の送信開始
命令にて、自局の設定アドレスを送り先のアドレスに変
え、受信ACK信号が連続してOであることを検出して
から前記RS232C等の通信信号を入出力データとし
、前記相互通信装置のシリアル信号として送受信するよ
うにしたことを特徴とする。
In addition to the first aspect, the loop-shaped mutual communication device according to the second aspect of the present invention changes the set address of its own station to the destination address in response to a transmission start command of a communication signal such as RS232C, and receives a reception ACK. The present invention is characterized in that after detecting that the signal is O continuously, the communication signal such as the RS232C is used as input/output data, and is transmitted and received as a serial signal of the mutual communication device.

作   用 本発明の第1発明によれば、同一ループ内の信号の流れ
る方向に無関係に同一アドレスに設定された伝送装置同
志の通信が行え、さらに本出願人の出願している特願昭
61−165830号の伝送装置の特徴である遅延時間
が極めて小さいことと組み合わすことにより極めて高速
に相互通信が行えることになり、場合によっては単なる
配線とみなすことができ、取扱いが簡単となる。
Effects According to the first aspect of the present invention, communication between transmission devices set at the same address can be performed regardless of the direction of signal flow within the same loop, and furthermore, according to the present invention, communication can be performed between transmission devices set at the same address, and furthermore, according to the patent application filed by the present applicant in 1983, By combining this with the extremely small delay time, which is a feature of the transmission device of No. 165830, it is possible to perform mutual communication at extremely high speed, and in some cases, it can be regarded as a simple wiring, making it easy to handle.

さらに本発明の第2発明によれば、上記のように単なる
配線とみなせることによって、パソコン等の一般的な通
信規格であるRS232C等のシリアル信号をそのまま
入出力データとして同一ハープ上の任意の子局へ簡単に
しかもリアルタイムに送受信することができる。
Furthermore, according to the second aspect of the present invention, since it can be regarded as a simple wiring as described above, a serial signal such as RS232C, which is a general communication standard for personal computers, etc., can be directly used as input/output data to any terminal on the same harp. You can easily send and receive data to and from stations in real time.

実  施  例 本発明の一実施例を、第1図ないし第8図に基づき説明
する。
Embodiment An embodiment of the present invention will be explained based on FIGS. 1 to 8.

本実施例に用いる伝送フォーマットは第3図に示すよう
に、同期情報と、アドレス情報と、データ情報及び相互
通信装置が動作したことを確認するためのACKビット
から構威されている。
As shown in FIG. 3, the transmission format used in this embodiment consists of synchronization information, address information, data information, and an ACK bit for confirming that the intercommunication device has operated.

このような伝送信号を生威するループ制御器は、第2図
に示すように、アドレス情報を降べき又は昇べきににス
キャンするためのアドレスカウンター1と、送信信号を
並列・直列変換器2から生成する為の送信キャリア及び
タイミング発生回路3と、受信信号を直列・並列変換器
4にて直列・並列変換して2スキャン目のデータ情報及
びACKビット情報を並列・直列変換器2の送信情報と
して生成するための受信キャリア及びタイミング発生回
路5と、同一アドレス情報において1スキャン目のAC
KビットをOとし、2スキャン目のACKビットを受信
したACKビット情報と同じにするためのゲート6から
構成されている。
As shown in FIG. 2, the loop controller that generates such a transmission signal includes an address counter 1 for scanning address information in descending or ascending directions, and a parallel/serial converter 2 for converting the transmission signal. A transmission carrier and timing generation circuit 3 for generating data from a serial/parallel converter 4 converts the received signal into serial/parallel data, and transmits second scan data information and ACK bit information to the parallel/serial converter 2. The reception carrier and timing generation circuit 5 for generating information, and the AC of the first scan in the same address information.
It is composed of a gate 6 that sets the K bit to O and makes the ACK bit of the second scan the same as the received ACK bit information.

一方、相互に通信を行う相互通信装置は、第1図に示す
ように、受信信号中のACKビットが1であり、さらに
設定アドレスと受信アドレスが等しい時に、受信データ
中のデータ情報を直列・並列変換して記憶するための動
作条件を検出する受信ACK検出回路7と、相互通信装
置が正常に入出力動作を行ったことを確認する為の送信
ACKビット発生回路8から構成されている。
On the other hand, as shown in FIG. 1, when the ACK bit in the received signal is 1 and the set address and the received address are equal, the mutual communication devices that communicate with each other serially convert the data information in the received data. It consists of a reception ACK detection circuit 7 that detects operating conditions for parallel conversion and storage, and a transmission ACK bit generation circuit 8 that confirms that the mutual communication device has performed normal input/output operations.

次に、上記実施例の動作を第4図ないし第7図を用いて
説明する。ここで第4図は相互通信を行っている場合の
情報の流れを、第5図はその動作フローを、第6図はア
ドレス一致時まであるが、受信信号中のACKビット(
以下これを略して受信ACKと呼ぶことにする)が0の
場合の実際の動作を、第7図はアドレス一致時でしかも
受信ACKビットが1の時の動作を示す。なお、第4図
と第5図の#1〜#8は信号の流れと動作フローを対応
づけたものであり、■〜■は伝送信号を示す。
Next, the operation of the above embodiment will be explained using FIGS. 4 to 7. Here, Fig. 4 shows the flow of information during mutual communication, Fig. 5 shows the operation flow, and Fig. 6 shows the flow of information up to the time of address matching, and the ACK bit (
FIG. 7 shows the actual operation when the received ACK bit (hereinafter referred to as received ACK for short) is 0. FIG. 7 shows the operation when the received ACK bit is 1 when the address matches. Note that #1 to #8 in FIGS. 4 and 5 correspond to signal flows and operation flows, and ■ to ■ indicate transmission signals.

まず最初に、ループ制御器9より■のように同期情報,
アドレス情報n=100,不定のデータ情報及びACK
ビットOなる第6図(a+のような伝送信号を送信する
。次に、第4図の相互通信装置1では第5図の#2にお
いて、アドレス情報=設定アドレスなので#3に進むが
ACKビット=Oのため#4に進み、入力Bのみ行って
出力はしない。次に送信するACKビット(以下これを
送信ΔCKと略す)を1にして■のような伝送信号を送
信するこの一連の波形を第6図に示す。
First of all, synchronization information is sent from the loop controller 9 as shown in ■.
Address information n=100, undefined data information and ACK
Transmits a transmission signal such as bit O in FIG. 6 (a+).Next, in the mutual communication device 1 in FIG. 4, in #2 in FIG. =O, so proceed to #4 and only input B and do not output.This series of waveforms transmits a transmission signal like ■ by setting the ACK bit to be transmitted next (hereinafter abbreviated as transmission ΔACK) to 1. is shown in Figure 6.

次に、相互通信装置2に達すると、第5図に破線で示す
ように#2に戻り、この#2にて今度はアドレスが不一
致の為、#8の様に伝送信号の内容を変えずに次の相互
通信装置3へ送られる。ここではアドレス一致に加えて
第7図のfa)のように受信ACKは1であるから#5
のように入出力動作を行い、相互通信装rl!t3の入
力データC=OO11を入力してデータ情報に置き換え
、又相互通信装置1で入力されたデータB=1000を
出力する。この一連の波形を第7図に示す。ここでアド
レス一致信号(dl及びACKビット=1を検出したこ
とにより出力ラッチパルスtelを発生しff)のよう
に新しいデータB=1000が記憶(ラッチ)される。
Next, when reaching mutual communication device 2, the process returns to #2 as shown by the broken line in Figure 5, and since the addresses do not match in #2, the contents of the transmission signal are not changed as in #8. is then sent to the next intercommunication device 3. Here, in addition to the address match, the received ACK is 1 as shown in fa) in Figure 7, so #5
Perform input/output operations like ``rl!'' to the mutual communication device. The input data C=OO11 of t3 is input and replaced with data information, and the data B=1000 input by the mutual communication device 1 is output. This series of waveforms is shown in FIG. Here, the new data B=1000 is stored (latched) as the address match signal (dl and ACK bit=1 is detected, so an output latch pulse tel is generated and ff).

次に、相互通信装置3から送信された伝送信号■はルー
ブ制御器9でデータ情報及びACKビット情報をそのま
まコピー又は素通りさせて■のような伝送信号を相互通
信装置1へ再び送信する。
Next, the transmission signal {circle around (2)} transmitted from the intercommunication device 3 is transmitted to the intercommunication device 1 by the loop controller 9, which copies or passes the data information and ACK bit information as is, and transmits a transmission signal such as ■ to the intercommunication device 1 again.

ここで2スキャン目もアドレスはnのままとする。相互
通信装置1では、今度は受信ACKビット=1なのでデ
ータC=OO11を出力する。ここにおいて設定アドレ
スが同じに設定された相互通信装W1.3は互いのデー
タB,Cをやり取りできることになる。なお、相互通信
装置1は■のような伝送信号を送信するが以後の動作は
前述したものと同様であるので説明は訓愛する。
Here, the address remains n for the second scan as well. In the mutual communication device 1, since the received ACK bit=1 this time, data C=OO11 is output. Here, the mutual communication devices W1.3 having the same setting address can exchange data B and C with each other. Note that the mutual communication device 1 transmits a transmission signal such as (2), but the subsequent operation is the same as that described above, so a detailed explanation will be omitted.

ところで、ループ制御器9は、アドレスnの2スキャン
目の伝送信号■を受信すると今後はアドレスをn+1と
インクリメントし、又ACKビットを0にして■のよう
な伝送信号を送信する。以後の動作はアドレスnの時の
前述と同様であるので説明は省略する。
By the way, when the loop controller 9 receives the second scan transmission signal ■ of address n, it increments the address by n+1, sets the ACK bit to 0, and transmits a transmission signal such as ■. The subsequent operations are the same as those described above for address n, so the explanation will be omitted.

なお、上記の説明においてアドレスnはインクリメント
されるものとしたが、デクリメントするものでも同様で
ある。又、同期情報長,データ長,アドレス長及びAC
Kビット長は任意の長さでもよい。又、論理は正論理,
負論理どちらでもよい。又、相互通信装置の数は同一ル
ープ中にいくらあってもかまわない。又上述の説明にて
、ループ制御器は第2図の様に同一アドレスの2スキャ
ン目に受信データと受信ACKをコピーして送信する場
合について説明したが、第8図のように2スキャンごと
にアドレスカウンターをインクリメント又はデクリメン
トし、2スキャン目はシフトレジスター10の再シリア
ル入力データとすることにより、2スキャン目の伝送信
号を素通りさせる構成としても同様の効果が得られる。
Note that in the above description, the address n is incremented, but the same applies if it is decremented. Also, synchronization information length, data length, address length and AC
The K bit length may be any length. Also, logic is positive logic,
Either negative logic is fine. Furthermore, it does not matter how many mutual communication devices there are in the same loop. In addition, in the above explanation, we have explained the case where the loop controller copies and transmits the received data and received ACK in the second scan of the same address as shown in Fig. The same effect can be obtained by incrementing or decrementing the address counter and using the second scan as re-serial input data to the shift register 10 to allow the second scan transmission signal to pass through.

次に本発明の第2実施例について第9図ないし第13図
を用いて説明する。ここで第9図は、バンコン通信等で
広く用いられている通信規格である。RS232Cの通
信信号を送る場合の相互通信装置を、第10図は上述の
場合の送信伝送フォーマットを、第11図は受信伝送フ
ォーマットを示す。又、第12図及び第13図は第9図
の相互通信装置を制御する為のRS232C伝送手順、
及び前記伝送手順のフローを示す。
Next, a second embodiment of the present invention will be described using FIGS. 9 to 13. Here, FIG. 9 shows a communication standard widely used in bankcon communications and the like. FIG. 10 shows the transmission transmission format in the above case, and FIG. 11 shows the reception transmission format of the mutual communication device when transmitting RS232C communication signals. Also, FIGS. 12 and 13 show the RS232C transmission procedure for controlling the mutual communication device in FIG.
and the flow of the transmission procedure.

本実施例に用いる第10図の送信伝送フォーマットは第
3図の応用例として、アドレス情報A3〜AOとパラレ
ル入力データとしてRS232Cの送信データ情報T 
X D (Transo+ission Data) 
,DTR (Data  Terminal  Rea
dy) ,  RTS( Request To Se
nd)及びACKビットから構成されている。一方、第
11図の受信伝送フォーマットはデータ情報のパラレル
出力データとしてRXD (Receiv Data)
 ,  D S R (Data SetReady)
 ,及びCTS (Clear To Send)なる
RS232Cシリアル信号とする。なおこれら3ビット
んデータ情報でほとんどのRS232Cの通信は満足さ
れるが、単にTXD,RXDだけでもよい。
The transmission transmission format of FIG. 10 used in this embodiment is an application example of FIG. 3, with address information A3 to AO and RS232C transmission data information T as parallel input data.
X D (Transo+ission Data)
,DTR (Data Terminal Rea
dy), RTS(Request To Se
nd) and an ACK bit. On the other hand, the reception transmission format shown in Fig. 11 is RXD (Receiving Data) as parallel output data of data information.
, DSR (Data Set Ready)
, and CTS (Clear To Send) as RS232C serial signals. Although most RS232C communications are satisfied with these 3-bit data information, it is also possible to simply use only TXD and RXD.

このような伝送信号を相互に通信する本実施例の相互通
信装置は、第9図に示すように、RS232Cの信号で
回線あきの時を検出して相互通信を行うように制御する
ループRS232C制御装置11を上記第1実施例にお
ける第l回の相互通信装置に付加したものである。
The mutual communication device of this embodiment that mutually communicates such transmission signals is a loop RS232C control device that detects when the line is open using RS232C signals and controls the mutual communication, as shown in FIG. 11 is added to the l-th mutual communication device in the first embodiment.

なお、ループ制御器は第2図と同様のものでよい。Note that the loop controller may be the same as that shown in FIG.

次に、動作について説明する。まず、RS232Cの信
号を送信するパソコン等から第9図の相互通信装置を制
御する為の第12図のような送信要求コマンドがRS2
32C又は他の入出力装置から送られてくるものとする
。ループRS232C制御装置11は第13図の#9に
てこの送信要求を受けて#10のようにロ局に予め設定
されていた子局アドレスを送り付先のアドレスに変更す
る。
Next, the operation will be explained. First, a transmission request command as shown in Fig. 12 for controlling the mutual communication device shown in Fig. 9 is sent from a personal computer etc. that transmits an RS232C signal to the
32C or other input/output device. The loop RS232C control device 11 receives this transmission request at #9 in FIG. 13 and changes the slave station address previously set in the low station to the address of the destination as shown at #10.

次に#11のように受信ACKビットが連続して0であ
ることにより、回線があいていることを検出する。次に
、#12の様に以後伝送信号中のアドレスが一致すれば
第1の発明に述べた動作を行うことにより相互通信が始
まる。RS232Cの通信を終了するには、前記RS2
32Cの信号を送信しているパソコン等より、第12図
の送信信号コマンドをループRS232C制御装置11
にて#13のように解読し、#14のように自局の個有
アドレスに戻す。異常の一連の動作によって同一ループ
上の数多くの第9図のような相互通信装置に接続された
任意のRS232Cケーブル同志の通信が可能となる。
Next, as shown in #11, when the received ACK bits are continuously 0, it is detected that the line is open. Next, as in #12, if the addresses in the transmission signals match from then on, mutual communication begins by performing the operations described in the first invention. To end the RS232C communication, the RS2
From a personal computer or the like transmitting a 32C signal, the transmission signal command shown in FIG. 12 is sent to the loop RS232C control device 11.
It is decoded as shown in #13 and returned to its own address as shown in #14. A series of abnormal operations allows any RS232C cable connected to a number of mutual communication devices as shown in FIG. 9 on the same loop to communicate with each other.

次に応答時間を計算してみる、安価構成できる条件とし
て伝送フォーマットを第10図ないし第11図のように
8ビット構成とし1ルーブで16種の相互通信を行う場
合を想定する。伝送速度として光通信で安価に可能な2
0Mbps,  エラー処理コード8ビットを付加して
1フレームの伝送長を16.ストップビットを4ビット
とすると、1タイムスロットは2 0Mb p sのパ
ルス幅が25nsであるので 25nsX (16+4)=0.5,czsec又スキ
ャンを16アドレス行うのに要する時間は、 0.5X2X16=16μsec ところで、サンプリングの定理より16μsecの2倍
以上のパルス幅の信号が伝送できるので32μsec=
16KHzまでの16回線のシリアル信号の通信がリア
ルタイムに可能となる。
Next, the response time will be calculated.As a condition for achieving a low-cost configuration, it is assumed that the transmission format is an 8-bit structure as shown in FIGS. 10 and 11, and 16 types of mutual communication are performed with one lube. Transmission speed that can be achieved inexpensively with optical communication2
0Mbps, adding 8 bits of error processing code and increasing the transmission length of one frame to 16. If the stop bit is 4 bits, one time slot has a 20 Mbps pulse width of 25 ns, so 25 ns 16μsec By the way, according to the sampling theorem, a signal with a pulse width more than twice that of 16μsec can be transmitted, so 32μsec=
Communication of 16 lines of serial signals up to 16KHz is possible in real time.

なお、本実施例ではRS232Cを例に用いたが、他の
セントロンクスRS422等の通信方式でもよい。
Although RS232C is used as an example in this embodiment, other communication methods such as Centronx RS422 may be used.

発明の効果 本発明によれば、同一ループ中の任意の2つの通信装置
の入出力が互いに可能となる為、高速にスキャンすると
何ら通信手順を考えることなしに単に配線が結合されて
いるとみなせ、又、簡単に通信できる。ソフトとして送
信要求と送信先3コマンドを追加するだけでハードの構
成を一切考えることなくリアルタイムで通信できる等、
大きな効果を発揮する。
Effects of the Invention According to the present invention, any two communication devices in the same loop can input and output each other, so when scanning at high speed, it can be assumed that the wires are simply connected without considering any communication procedure. , and can communicate easily. By simply adding a send request and three destination commands as software, you can communicate in real time without having to consider the hardware configuration at all.
It has a great effect.

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

第1図〜第8図は本発明の第I実施例を示し、第1図は
相互に通信を行う相互通信装置の構成図、第2図はルー
プ制御器の構成図、第3図は伝送フォーマットの説明図
、第4図は信号フロー図、第5図は動作フロー図、第6
図はACKビット「0」の時の信号図、第7図はACK
ビットrlJの時の信号図、第8図はループ制御器の別
の構成図、第9図〜第14図は本発明の第2実施例を示
し、第9図は相互通信装置の構成図、第10図は送信信
号フォーマットの説明図、第11図は受信信号フォーマ
ットの説明図、第12図はRS232C等の通信プロト
コルの説明図、第13図は動作フロー図、第14図は従
来例の概略構成図、第15図は先行技術の伝送装置の構
成図、第16図は各信号の波形図である。 1・・・・・・アドレスカウンタ、7・・・・・・受信
ACK発生回路、8・・・・・・送信ACK検出回路、
9・・・・・・ルーブ制御器、11・・・・・・ループ
RS232C制御装置。
1 to 8 show the first embodiment of the present invention, FIG. 1 is a configuration diagram of a mutual communication device that communicates with each other, FIG. 2 is a configuration diagram of a loop controller, and FIG. 3 is a transmission diagram. Explanatory diagram of the format, Figure 4 is a signal flow diagram, Figure 5 is an operation flow diagram, Figure 6 is a diagram of the operation flow.
The figure is a signal diagram when the ACK bit is “0”, and Figure 7 is the signal diagram when the ACK bit is “0”.
A signal diagram at the time of bit rlJ, FIG. 8 is another configuration diagram of the loop controller, FIGS. 9 to 14 show a second embodiment of the present invention, and FIG. 9 is a configuration diagram of the mutual communication device. Fig. 10 is an explanatory diagram of the transmitted signal format, Fig. 11 is an explanatory diagram of the received signal format, Fig. 12 is an explanatory diagram of communication protocols such as RS232C, Fig. 13 is an operation flow diagram, and Fig. 14 is an explanatory diagram of the conventional example. A schematic configuration diagram, FIG. 15 is a configuration diagram of a prior art transmission device, and FIG. 16 is a waveform diagram of each signal. 1...address counter, 7...reception ACK generation circuit, 8...transmission ACK detection circuit,
9... Lube controller, 11... Loop RS232C control device.

Claims (2)

【特許請求の範囲】[Claims] (1)同期情報とアドレス情報とデータ情報と同一ルー
プ状の相互通信装置が正常動作したことを確認するAC
Kビットからなるシリアル信号を発生し、1回目の送信
時には前記ACKビットを0とし、2回目の送信時には
1回目に受信したデータ情報とACKビットをそのまま
送信するループ制御器と、前記ループ制御器から送信さ
れるシリアル信号中のACKビットを検出し、受信した
アドレス情報と予め設定されている設定アドレスが等し
くかつACKビットが1であればデータ情報をシリアル
化した入力データに置き換え、受信したデータ情報をパ
ラレル化して出力すると共にACKビットを1のまま送
信し、又前記ACKビットが0であれば出力をせずにA
CKビットを1にして送信し、一方受信したアドレス情
報と予め設定されている設定アドレスが等しくないとき
はシリアル信号を単に素通りする相互通信装置とにより
同一ループ上で同じアドレスに設定された2つの相互通
信装置同志が相互通信を行うようにしたことを特徴とす
るループ状相互通信装置。
(1) AC that confirms that synchronization information, address information, data information, and the same loop-shaped mutual communication device are operating normally.
a loop controller that generates a serial signal consisting of K bits, sets the ACK bit to 0 during the first transmission, and transmits the data information and the ACK bit received the first time as they are during the second transmission; and the loop controller. Detects the ACK bit in the serial signal sent from the serial signal, and if the received address information and the preset setting address are equal and the ACK bit is 1, the data information is replaced with serialized input data, and the received data is The information is parallelized and output, and the ACK bit is sent as 1, and if the ACK bit is 0, it is not output and A
Two signals set to the same address on the same loop are transmitted with the CK bit set to 1, and on the other hand, when the received address information and the preset setting address are not equal, the serial signal is simply passed through. A loop-shaped mutual communication device characterized in that mutual communication devices perform mutual communication.
(2)請求項1記載のループ状相互通信装置の相互通信
装置において、RS232C等の通信信号の送信開始命
令にて、自局の設定アドレスを送り先のアドレスに変え
、受信ACK信号が連続して0であることを検出してか
ら前記RS232C等の通信信号を入出力データとし、
前記相互通信装置のシリアル信号として送受信するよう
にしたことを特徴とするループ状相互通信装置。
(2) In the mutual communication device of the loop-shaped mutual communication device according to claim 1, the set address of the own station is changed to the address of the destination by a command to start transmitting a communication signal such as RS232C, and the received ACK signal is continuously transmitted. After detecting that the signal is 0, the communication signal such as the RS232C is used as input/output data,
A loop-shaped mutual communication device, characterized in that the mutual communication device transmits and receives serial signals.
JP1155300A 1989-06-16 1989-06-16 Loop form mutual communication equipment Pending JPH0319544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1155300A JPH0319544A (en) 1989-06-16 1989-06-16 Loop form mutual communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1155300A JPH0319544A (en) 1989-06-16 1989-06-16 Loop form mutual communication equipment

Publications (1)

Publication Number Publication Date
JPH0319544A true JPH0319544A (en) 1991-01-28

Family

ID=15602882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1155300A Pending JPH0319544A (en) 1989-06-16 1989-06-16 Loop form mutual communication equipment

Country Status (1)

Country Link
JP (1) JPH0319544A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5826351A (en) * 1997-02-25 1998-10-27 Keihan Tsusho Co., Ltd. Shoe sole and shoe and sandal including the sole

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5826351A (en) * 1997-02-25 1998-10-27 Keihan Tsusho Co., Ltd. Shoe sole and shoe and sandal including the sole

Similar Documents

Publication Publication Date Title
US6012099A (en) Method and integrated circuit for high-bandwidth network server interfacing to a local area network
US6266334B1 (en) Method for optimizing acknowledge packet rate
JPH0319544A (en) Loop form mutual communication equipment
US7421051B2 (en) Radio communication system and method, wireless network forming device, radio transmission unit and method, and radio reception unit and method
US5539666A (en) Data communications method and system coupling device
JPS61208331A (en) Serial data communication system
KR100235668B1 (en) Ron works network signal converting apparatus
JP3044817B2 (en) Code conversion device
KR970007249B1 (en) Transformation unit of data bus bandwidth
JP2949118B1 (en) Encoder data output method for bus communication type encoder device
JPH01155743A (en) Loop shape data transmission equipment
JPH10145433A (en) Data transfer rate converter and communication network system
JPS58133066A (en) Multiplexing method of loop communication system
JPH06236348A (en) Data transmission system
JPH0694480A (en) Communicating device for encoder signal
JP2626501B2 (en) Information transfer device
JPH06103898B2 (en) Parallel transmission method using functions for serial transmission
JPH0630506B2 (en) Serial communication device
JPH05242016A (en) Bus width converting circuit
JPH0746802B2 (en) Frame synchronization circuit
JP2005078432A (en) Control system
JPH01841A (en) data transmission equipment
JPH02299338A (en) Loop type data transmitter
JPH0739143U (en) Serial communication system
JPH0736572B2 (en) Data transmission method