Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0642671B2 - Data transmission device - Google Patents
[go: Go Back, main page]

JPH0642671B2 - Data transmission device - Google Patents

Data transmission device

Info

Publication number
JPH0642671B2
JPH0642671B2 JP59081983A JP8198384A JPH0642671B2 JP H0642671 B2 JPH0642671 B2 JP H0642671B2 JP 59081983 A JP59081983 A JP 59081983A JP 8198384 A JP8198384 A JP 8198384A JP H0642671 B2 JPH0642671 B2 JP H0642671B2
Authority
JP
Japan
Prior art keywords
transmission
packet
station
data
frame header
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
Application number
JP59081983A
Other languages
Japanese (ja)
Other versions
JPS60226246A (en
Inventor
康壽 塩原
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP59081983A priority Critical patent/JPH0642671B2/en
Publication of JPS60226246A publication Critical patent/JPS60226246A/en
Publication of JPH0642671B2 publication Critical patent/JPH0642671B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はデータ伝送装置に係り、特にバス形の伝送路で
結合された複数のデータ伝送装置のそれぞれがリアルタ
イムでデータ交換できるデータ伝送装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission device, and more particularly to a data transmission device in which each of a plurality of data transmission devices connected by a bus type transmission line can exchange data in real time.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

多数の伝送ステーシヨンがバス形の伝送路で結合された
伝送システムは伝送ステーシヨンの付加、撤去が容易で
あり、また、一伝送ステーシヨンの故障がシステム全体
へ波及しない長所があるため比較的近距離の伝送システ
ムとして一般に広く使用されている。
In a transmission system in which a large number of transmission stations are connected by a bus type transmission line, it is easy to add or remove a transmission station, and since the failure of one transmission station does not spread to the entire system, it can be used in a relatively short distance. It is widely used as a transmission system.

この種の伝送ステーシヨンに使用されるデータ伝送装置
の伝送路使用権の制御方法として種々の方式が考えられ
ているが代表的なものとして次の2種類がある。
Various methods have been considered as a method of controlling the transmission path use right of a data transmission device used in this type of transmission station, but the following two types are typical.

(1) CSMA/CD方式 (2) トークンパス方式 CSMA/CDはCaria Sensa Multi Acces/Collision Detec
tの略称でXEROX社のイーサーネツトに代表され各ステー
シヨンが自由にバスを使う方法であるが伝送データが少
ないうちは各ステーシヨンの伝送要求の衝突がなく、効
率もよいが伝送要求が重なると衝突がおこり、途端に待
ち時間が多くなる欠点がある。リアルタイムが要求され
る伝送ステーシヨンでは確実にある一定時間内に任意の
ステーシヨンの伝送要求が処理されることが必要であり
この方式はリアルタイムが要求されるデータ伝送装置に
は適さない。
(1) CSMA / CD method (2) Token pass method CSMA / CD is Caria Sensa Multi Acces / Collision Detec
An abbreviation of t, represented by XEROX Ethernet, is a method in which each station freely uses the bus, but while there is little transmission data, there is no collision of transmission requests of each station, it is efficient, but collision occurs when transmission requests overlap. However, there is a drawback that the waiting time increases immediately. In a transmission station that requires real time, it is necessary to surely process a transmission request of an arbitrary station within a certain time, and this method is not suitable for a data transmission device that requires real time.

一方、トークンパス方式は米国データポイントのアーク
ネツトに代表され各伝送ステーシヨンに順次バトンを渡
すように伝送を許可するトークンパケツトを伝送する方
式である。各伝送ステーシヨンは、トークンパケツトを
受信すると伝送路使用権を得、伝送データがあれば、任
意のステーシヨンへデータ伝送を行ないそれが完了すれ
ば、次の伝送ステーシヨンへトークンパケツトを送信し
て引き渡しする。この方式では各伝送ステーシヨンでの
最大データ伝送量を規定しておけば一定時間内に伝送サ
ービスをうけられることになるのでリアルタイム性があ
る。しかし本方式は、トークンパケツトを次々に渡すた
め、伝送の効率が良くないとともに伝送要求がない時で
もトークンパケツトを受信し、更に送信するため伝送を
制御するマイクロコンピユータは、常にこれらの処理を
行なう必要があり、いわゆるオーバーヘツドが多くなる
欠点がある。
On the other hand, the token pass method is a method of transmitting a token packet which is typified by an arcnet of US data points and permits transmission so that batons are sequentially passed to each transmission station. When each transmission station receives the token packet, it acquires the right to use the transmission path, and if there is transmission data, it transmits the data to an arbitrary station, and when it is completed, it transmits the token packet to the next transmission station. Hand over. In this method, if the maximum data transmission amount at each transmission station is specified, the transmission service can be received within a fixed time, so that there is real-time property. However, in this method, token packets are passed one after another, so the transmission efficiency is not good and even when there is no transmission request, the micro computer that controls the transmission to receive the token packet and to send it further always processes these. However, there is a drawback that so-called overhead is increased.

以下、トークンパス方式について図を用いて詳しく説明
する。第1図は、バス1に各ステーシヨン(#1〜#
4)2,3,4,5がつながつている状態を示す。ステ
ーシヨン又は局はここでは伝送装置を示すものとする。
Hereinafter, the token pass method will be described in detail with reference to the drawings. FIG. 1 shows each station (# 1 to # 1) on the bus 1.
4) Shows a state in which 2, 3, 4, 5 are connected. A station or station shall mean a transmission device here.

第2図はトークンパス方式による伝送装置の構成図であ
る。同図に於て、バス1に接続された送受信回路(TR)6
はバス1上のシリアル信号を受信してロジツクレベルに
変換したり、ロジツクレベルの信号を増幅してシリアル
信号としてバス1上に送出したりする。エンコーダデコ
ーダ(ED)6Aは通常のデイジタルデータをクロツク成分を
含んだデイジタルデータのマンチエスタコードに変換し
たロジツクレベルの信号としてTR6に入力したり、逆
にTR6から入力されたマンチエスタコードのロジツク
レベルの信号を通常のデイジタル信号に変換したりす
る。送受信制御回路7はCSMA/CD方式またはHDLC(High
level Data Link Controt)方式の通信規約に従つて送受
信データの制御を行いCPU9への割込みの発生、メモリ
(M)8へのDMA(Direct Memory Acces)等を行う。その他
必要に応じてI/O11が設けられ、これ等が制御信号
バス10により結合されて構成されている。
FIG. 2 is a block diagram of a transmission device using the token path method. In the figure, a transceiver circuit (TR) 6 connected to the bus 1
Receives a serial signal on the bus 1 and converts it to a logic level, or amplifies the logic level signal and sends it out on the bus 1 as a serial signal. The encoder / decoder (ED) 6A inputs normal digital data to TR6 as a logic level signal obtained by converting the digital data into a digital data munchister code including a clock component, or conversely inputs a munchiesta code logic level signal from TR6. Is converted to a normal digital signal. The transmission / reception control circuit 7 uses the CSMA / CD system or HDLC (High
Level Data Link Controt) method controls the send / receive data according to the communication protocol and generates an interrupt to CPU9, memory
Performs DMA (Direct Memory Acces) to (M) 8. In addition, an I / O 11 is provided if necessary, and these are connected by the control signal bus 10.

第3図は上述のようなステーシヨンが4台で伝送システ
ムが構成されたときの各ステーシヨン#1〜#4が送出
するシリアル信号の一例を示したタイムチヤートであ
る。ステーシヨン#1の始めの信号は伝送するデータが
なくトークンパス信号(TP)13のみをバス上に送出してい
る。このTP13はステーシヨン#2を指定しており、ス
テーシヨン#2がこのTP13を受信すると送受信制御回路
7は割込みを発生し、CPU9がこれを受付けてトークンパ
ス信号であることを判断し自局の伝送路使用権を得る。
そして送信すべきデータを送受信制御回路7を経由して
データパケツト18としてバス上に送出し、その後にステ
ーシヨン#3を指定したTP14を送出する。以下、同様に
してステーシヨン#3、#4へ順次伝送路使用権を移し
ステーシヨン#1に送信権が戻される。第3図はステー
シヨン#4でも送信するデータがないのでトークンパス
信号16のみを送出している。この様に伝送すべきデータ
がない時でもリアルタイム性を確保するために次のステ
ーシヨンを指定したトークンパス信号を送出する必要が
ある。この処理は現在の高性能16ビツトマイクロプロセ
ツサ(例えばインテル社製8086)でも50〜100μsの処
理時間を必要とし、バス上の信号はデータのない無駄な
時間が多く発生すると共にマイクロプロセツサもオーバ
ーヘツドが大きくなるという問題を有する。
FIG. 3 is a time chart showing an example of a serial signal transmitted by each of the stations # 1 to # 4 when the transmission system is composed of four stations as described above. The first signal of station # 1 has no data to be transmitted, and only the token pass signal (TP) 13 is sent out on the bus. This TP13 designates station # 2, and when station # 2 receives this TP13, the transmission / reception control circuit 7 generates an interrupt, and the CPU 9 accepts this and determines that it is a token pass signal, and transmits it to the own station. Get the right to use the road.
Then, the data to be transmitted is transmitted to the bus as a data packet 18 via the transmission / reception control circuit 7, and then the TP14 designating the station # 3 is transmitted. Thereafter, in the same manner, the transmission channel use right is sequentially transferred to the stations # 3 and # 4, and the transmission right is returned to the station # 1. In FIG. 3, since there is no data to be transmitted even in station # 4, only the token pass signal 16 is transmitted. Thus, even when there is no data to be transmitted, it is necessary to send a token pass signal designating the next station in order to ensure real-time processing. This processing requires a processing time of 50 to 100 μs even with the current high-performance 16-bit microprocessor (for example, 8086 manufactured by Intel), and signals on the bus often cause wasteful time with no data and also the microprocessor. There is a problem that the overhead becomes large.

また、送受信制御回路7の機能を持つLSIとして前述し
たようにCSMA/CD用LSIやHDLC用LSIがあり、送受信用の
トランシーバーと伝送フロー制御を行うマイクロコンピ
ユータと組み合せて簡単に伝送ステーシヨンを構成する
ことができるが、これらのLSIには伝送路制御のための
機能を有していないという問題がある。
Further, as the LSI having the function of the transmission / reception control circuit 7, there are the LSI for CSMA / CD and the LSI for HDLC as described above, and the transmission station is easily configured by combining the transceiver for transmission / reception and the microcomputer for controlling the transmission flow. However, there is a problem that these LSIs do not have a function for controlling a transmission path.

〔発明の目的〕[Object of the Invention]

本発明は上記事由に鑑みてなされたもので、その目的は
バス形伝送路に結合された複数のデータ伝送装置のそれ
ぞれがデータ交換できるデータ伝送システムにおいて、
市販の伝送制御用LSIを用いると共に伝送路制御用付加
回路を設け、従来のトークンパス方式より伝送効率が良
く、しかもリアルタイム性を有し、伝送装置へ付加する
場合もマイクロコンピユータ側のソフトウエアに影響を
与えることなく容易に付加することができるようにした
データ伝送装置を提供することにある。
The present invention has been made in view of the above circumstances, and an object thereof is a data transmission system in which each of a plurality of data transmission devices coupled to a bus type transmission line can exchange data,
A commercially available transmission control LSI is used, and a transmission path control additional circuit is provided, which has better transmission efficiency than the conventional token path method and has real-time characteristics. Even when it is added to a transmission device, it is used as software on the micro computer side. It is an object of the present invention to provide a data transmission device that can be easily added without affecting.

〔発明の概要〕[Outline of Invention]

本発明は上記目的を達成するために、バス形伝送路を介
して複数の伝送装置が相互に伝送を行うデータ伝送装置
において、CSMA/CDまたはHDLC伝送制御用LSIと送受信
回路との間に伝送路制御用付加回路を設け、この伝送路
制御用付加回路には親局としてパケツトの送信タイミン
グを指示するフレームヘツダと、送信すべきデータの無
いときそのことを示すダミーパケツトと、所定の時間以
上バス上に伝送信号が無いときそのことを親局として代
りに示す代理パケツトの3種の伝送路制御用パケツトの
送出手段を設け、前記フレームヘツダ、ダミーパケツ
ト、代理パケツトはCSMA/CDまたはHDLC方式によるデー
タパケツトのヘツデイングフオーマツトとは異なるパタ
ーンのパケツトフオーマツトとし、前記3種の伝送路制
御用パケツトの受信判別を行う伝送路制御パケツト判別
手段と、前記フレームヘツダを受信後所定の数のパケツ
トを受信したとき送信を開始する伝送路使用権決定手段
と、伝送路制御のための各種定数を設定する設定スイツ
チと、前記設定スイツチの設定値を保持するレジスタ
と、前記設定スイツチの設定値を前記レジスタに読込む
初期設定回路を設け伝送効率が良くマイクロコンピユー
タ側のソフトウエアに影響を与えることなく容易に付加
できるようにしたデータ伝送装置である。
In order to achieve the above object, the present invention provides a data transmission device in which a plurality of transmission devices perform mutual transmission via a bus type transmission line, in which data is transmitted between a CSMA / CD or HDLC transmission control LSI and a transmission / reception circuit. An additional circuit for path control is provided. The additional circuit for transmission path control serves as a master station, a frame header for instructing the packet transmission timing, a dummy packet indicating that there is no data to be transmitted, and a dummy packet on the bus for a predetermined time or more. When there is no transmission signal, the transmission means for transmitting three kinds of transmission path control packets, which instead represents as a master station, is provided as the master station, and the frame header, the dummy packet, and the substitute packet are the headers of the data packet by the CSMA / CD or HDLC method. A packet format having a pattern different from that of the Ding format is used, and reception of the three types of transmission path control packets is performed. Transmission path control packet determination means, transmission path usage right determination means for starting transmission when a predetermined number of packets are received after receiving the frame header, setting switch for setting various constants for transmission path control, and A register for holding the setting value of the setting switch and an initial setting circuit for reading the setting value of the setting switch into the register are provided so that transmission efficiency is good and it can be easily added without affecting the software on the microcomputer computer side. Data transmission device.

〔発明の実施例〕Example of Invention

本発明のデータ伝送装置による実施例を第4図に示す。
第4図において、1はバス形の伝送路、6は送受信回路
(TR)、8はメモリ(M)、9は中央演算制御装置(CPU)、10
は制御信号バス、11は周辺機器その他の入出力回路(I/
O)、38は伝送制御用付加回路、76は伝送制御用LSIを示
している。
An embodiment of the data transmission device of the present invention is shown in FIG.
In FIG. 4, 1 is a bus type transmission line, and 6 is a transmission / reception circuit.
(TR), 8 is a memory (M), 9 is a central processing unit (CPU), 10
Is a control signal bus, 11 is a peripheral device and other input / output circuits (I /
O), 38 are additional circuits for transmission control, and 76 is an LSI for transmission control.

第5図は伝送制御用付加回路38の詳細なブロツク構成図
で後述する3種の伝送制御用パケツト(フレームヘツダ
(FH)、ダミーパケツト(DP)、代理パケツト(RP))を送出
する機能とこれらのパケツトを受信したときそれぞれを
判別して所定の制御(後述)を行う。
FIG. 5 is a detailed block diagram of the transmission control additional circuit 38, which shows three types of transmission control packets (frame headers).
(FH), dummy packet (DP), proxy packet (RP)) and the function of sending these packets, and when these packets are received, they are discriminated from each other and predetermined control (described later) is performed.

第6図は本発明のデータ伝送装置の動作を説明するため
のタイムチヤートで、4台の伝送ステーシヨン#1〜#
4で伝送システムを構成し、#1ステーシヨンを親局と
した例である。
FIG. 6 is a time chart for explaining the operation of the data transmission apparatus of the present invention, which shows four transmission stations # 1 to #.
4 is an example in which the transmission system is configured by 4 and the # 1 station is the master station.

先ず、親局(#1ステーシヨン)がフレームヘツダ(FH)
21をバス形の伝送路(以下単にバスと記す)1に送出す
る。これを受信した他の伝送ステーシヨン#2〜#4は
予じめ定められたステーシヨン順序で自局の送信すべき
データをデータパケツト(DT)として“いもずる式”にバ
ス1に送出する。送信すべきデータがないときはダミー
パケツト(DP)を送出する。第6図は#1,#2,#3,
#4のステーシヨン順に送信順序を定めた場合で、初め
の伝送サイクルでは#1,#4のステーシヨンがDP22
を、#2,#3のステーシヨンがDT23,24を送出した例
を示している。すべての伝送ステーシヨンが送信を一巡
すると親局は再びフレームヘツダ(FH)21を送出して次の
伝送サイクルを開始する。このようにしてすべての伝送
ステーシヨンは一定の時間内に自局のデータを送出する
ことができる。
First, the master station (# 1 station) is Frame Hedda (FH)
21 is sent to a bus type transmission line (hereinafter simply referred to as a bus) 1. The other transmission stations # 2 to # 4 which have received this transmit the data to be transmitted by their own stations to the bus 1 as a data packet (DT) in a "precious" manner in a predetermined station order. If there is no data to send, it sends a dummy packet (DP). FIG. 6 shows # 1, # 2, # 3.
When the transmission order is determined in the order of # 4 stations, the stations # 1 and # 4 are DP22 in the first transmission cycle.
Is an example in which the stations # 2 and # 3 send out DT23, 24. When all the transmission stations make a round of transmission, the master station again sends out the frame header (FH) 21 to start the next transmission cycle. In this way, all transmission stations can send out their own data within a fixed time.

任意の伝送ステーシヨンが何等かの理由により送信不能
になつたとき、親局は一定時間パケツトが送出されない
ことを検知して代理パケツト(RP)を送出し伝送システム
が停止しないようにする。
When an arbitrary transmission station becomes untransmittable for some reason, the master station detects that the packet is not sent for a certain period of time and sends a substitute packet (RP) to prevent the transmission system from stopping.

データパケツト(DT)のフオーマツトの一例を第7図に示
す。同図において70は同期をとるためのヘツデイング
(H)、71は相手先アドレス(DA)、72は送信元アドレス(S
A)、73はタイプフイールド(TYP)またはコマンド(CMD)、
74はデータ(DATA)、75はフレームチエツクシーケンス(F
CS)でありこれらで1つのデータパケツト(DT)を形成す
る。このデータパケツト(DT)はCSMA/CD方式またはHDLC
方式の通信規約に適合する。
An example of the format of the data packet (DT) is shown in FIG. In the figure, 70 is a heading for synchronization.
(H), 71 is the destination address (DA), 72 is the source address (S
A), 73 is type field (TYP) or command (CMD),
74 is data (DATA), 75 is a frame check sequence (F
CS) and these form one data packet (DT). This data packet (DT) is CSMA / CD method or HDLC
It conforms to the communication protocol of the method.

ヘツデイング(H)70はCSMA/CD方式では0101…と“1”
と“0”が交互にくり返され最後に…1011と“1”が2
つ続いて終り64ビツト以内で構成される。また、HDLC方
式では8ビツトのフラグ“7E”が用いられる。
Heading (H) 70 is 0101… and “1” in CSMA / CD system
And “0” are repeated alternately. Finally, 1011 and “1” are 2
Consists of less than 64 bits at the end. In the HDLC method, an 8-bit flag "7E" is used.

3種の伝送制御用パケツトは上記ヘツデイング(H)70の
パターンフオーマツト以外の条件を持つたフオーマツト
により定義する。たとえば伝送制御用パケツトを16ビツ
トで構成したとき フレームヘツダ(FH)……3FCO ダミーパケツト(DP)……3FFO 代理パケツト(RP)……3FFC のように定め、このパケツトを受信したとき伝送制御用
LSI76に対しては無意味なデータとなるようにする。こ
れにより、各伝送制御用LSI76はデータパケツト(DT)を
受信した時のみ信号70を出力してCPU9に割込み入力し相
互に一対一でデータ伝送を行うのと同じように送受信す
ることが可能となり、伝送制御用付加回路38は伝送制御
パケツトにより効率的に伝送路の制御を行う。
The three types of transmission control packets are defined by formats having conditions other than the pattern format of the above-mentioned heading (H) 70. For example, if a packet for transmission control is composed of 16 bits, frame header (FH) ... 3FCO dummy packet (DP) ... 3FFO proxy packet (RP) ... 3FFC is defined. When this packet is received, it is for transmission control.
It makes senseless data for LSI76. As a result, each transmission control LSI 76 can output and receive a signal 70 only when receiving a data packet (DT), interrupt input to the CPU 9, and perform data transmission / reception in the same manner as mutual one-to-one data transmission, The additional circuit 38 for transmission control efficiently controls the transmission line by the transmission control packet.

以下、第4図と第5図を用いて更に詳しく説明する。実
施例ではCPU9にインテル社製の80186を、伝送制御用LSI
76に同社製の82586を使用しており、送信するデータが
メモリ(M)8上にあるときには制御信号バス10を介して
伝送制御用LSI76の図示しないCA信号をセツトして知ら
せる。これによりLSI76はメモリ(M)8上のデータをとり
込み送信要求信号(▲▼)35をアクテイブ(付勢)
にして送信データができたことを伝送路制御付加回路38
に知らせて待期する。
Hereinafter, a more detailed description will be given with reference to FIGS. 4 and 5. In the embodiment, an Intel 80186 is used as the CPU 9 and a transmission control LSI
When the data to be transmitted is on the memory (M) 8, the 82586 manufactured by the same company is used for the 76, and the CA signal (not shown) of the transmission control LSI 76 is set and notified via the control signal bus 10. As a result, the LSI 76 takes in the data in the memory (M) 8 and activates the transmission request signal (▲ ▼) 35.
Transmission line control addition circuit 38
Notify me and wait.

なお、図中、英文字信号各上にバー(−)がある信号は
負論理を示し、アクテイブ(付勢)時は“0”であり、
バーのない信号は正論理を示し、アクテイブ時に“1”
であることを示す。
In the figure, a signal with a bar (-) above each of the English character signals indicates negative logic, and is "0" when active (energized).
A signal without a bar indicates positive logic and is "1" when activated.
Is shown.

一方、バス1を介して他局から送信されたシリアルデー
タは送受信回路(TR)6により受信され伝送路制御付加回
路38の受信信号(RCV)36として入力される。この受信信
号はデコーダ(DEC)40によりNRZ信号に戻すと共に受
信クロツク(▲▼)30と受信データ(RXD)31に分離
して抽出され伝送制御用LSI76に入力される。受信デー
タ(RXD)31はフレームヘツダ検出回路(FHD)43へも入力さ
れ、フレームヘツダであると判定したときリセツト信号
58を出力してスロツトカウンタ(SLC)45をリセツトす
る。FHD43は内部にシフトレジスタを有しこのシフトレ
ジスタに受信データ(RXD)31を取込んで定められた
“0”,“1”のビツトの組合せ(前記16ビツトの例で
は3FCO)であるかを判断してフレームヘツダ(FH)を
検知する。
On the other hand, serial data transmitted from another station via the bus 1 is received by the transmission / reception circuit (TR) 6 and input as the reception signal (RCV) 36 of the transmission path control addition circuit 38. The received signal is returned to the NRZ signal by the decoder (DEC) 40, separated into the received clock (▲ ▼) 30 and the received data (RXD) 31, extracted and input to the transmission control LSI 76. The received data (RXD) 31 is also input to the frame header detection circuit (FHD) 43, and when it is determined that it is a frame header, a reset signal
58 is output and the slot counter (SLC) 45 is reset. The FHD43 has a shift register inside, and the received data (RXD) 31 is loaded into this shift register to determine whether it is a combination of "0" and "1" bits (3FCO in the example of 16 bits). Judge to detect the frame header (FH).

キヤリア検知回路(CS)41は受信信号(RCV)36の有無を検
知するものでRCV36が有るときキヤリア検出信号57を出
力する。このキヤリア検出信号57はタイマー(TD)44に入
力されその出力信号59はキヤリア検出信号57がなくなつ
てから一定時間後になくなるオフデイレイ信号でSLC45
はこの信号59がアクテイブからノンアクテイブに変化し
たときインクリメントされる。すなわち、SLC45はフレ
ームヘツダを検出したときリセツトされフレームヘツダ
がなくなつて一定時間経過したときインクリメントされ
て“1”になり、その後各パケツトの受信完了時から一
定時間経過後にインクリメントされる。
The carrier detection circuit (CS) 41 detects the presence or absence of the reception signal (RCV) 36, and outputs the carrier detection signal 57 when the RCV 36 is present. This carrier detection signal 57 is input to the timer (TD) 44, and its output signal 59 is an off-delay signal which disappears after a certain period of time after the carrier detection signal 57 disappears.
Is incremented when this signal 59 changes from active to non-active. That is, the SLC 45 is reset when a frame header is detected, incremented to "1" when a fixed time elapses without the frame header, and then incremented after a fixed time elapses from the completion of reception of each packet.

SLC45の計数値60は一致検出回路(COIN)46に入力され
ステーシヨン番号設定レジスタ48で設定されたステーシ
ヨン番号信号61と比較される。今、仮りにステーシヨン
番号信号61を“1”と定めると、第6図に示したFH21の
終了時点から一定時間後にSLCは“1”となるのでこの
ときCOIN46は一致検出信号63を出力する。送信制御回路
56はこの信号63がアクテイブになつたときLSI76から入
力された送信要求信号(▲▼)35がアクテイブにな
つていると送信許可信号(▲▼)34をアクテイブに
してLSI76に送信を許可する。また、この送信許可信号
(▲▼)34は送信データ制御回路55へも同時に入力
されこれにより図示していないクロツク発生回路からの
クロツク信号を分周して送信クロツク(▲▼)32を
出力しLSI76へ供給する。伝送制御用LSI76はメモリ(M)
8から取込んだデータを送信クロツク(▲▼)32に
同期した送信データ(TXD)33として出力する。送信デー
タ制御回路55はこの送信データ(TXD)33を受けエンコー
ダー(ENC)42への入力信号67を出力しENC42は送信データ
(TXD)33をマンチエスタコードに変換して送信信号(TRM)
37として出力し、送受信回路(TR)6を介して増幅された
信号を前述のデータパケツトDTとしてパス1へ送出す
る。
The count value 60 of the SLC 45 is input to the coincidence detection circuit (COIN) 46 and compared with the station number signal 61 set by the station number setting register 48. If the station number signal 61 is set to "1", the SLC becomes "1" after a fixed time from the end of FH21 shown in FIG. 6, so that the COIN 46 outputs the coincidence detection signal 63 at this time. Transmission control circuit
When the transmission request signal (▲ ▼) 35 input from the LSI 76 is active when the signal 63 is active, the 56 activates the transmission permission signal (▲ ▼) 34 to permit the LSI 76 to transmit. Also, this transmission permission signal
(▲ ▼) 34 is also input to the transmission data control circuit 55 at the same time, whereby the clock signal from the clock generating circuit (not shown) is frequency-divided and a transmission clock (▲ ▼) 32 is output and supplied to the LSI 76. The transmission control LSI 76 is a memory (M)
The data fetched from 8 is output as the transmission data (TXD) 33 synchronized with the transmission clock (▲ ▼) 32. The transmission data control circuit 55 receives the transmission data (TXD) 33 and outputs the input signal 67 to the encoder (ENC) 42, and the ENC 42 transmits the transmission data.
(TXD) 33 converted to Mantiester code and transmitted signal (TRM)
The signal output as 37 and amplified via the transmission / reception circuit (TR) 6 is sent to the path 1 as the above-mentioned data packet DT.

一致検出信号63がアクテイブになつたとき送信要求信号
(RTS)35がノンアクテイブであれば送信制御回路56はダ
ミーパケツト送出回路(DMS)54に対してダミーパケツト
送出要求信号68を出力しDMS54からはENC42、TR6を介し
てバス1に前述のダミーパケツト(DP)が送出される。
Transmission request signal when the match detection signal 63 becomes active
If the (RTS) 35 is non-active, the transmission control circuit 56 outputs a dummy packet transmission request signal 68 to the dummy packet transmission circuit (DMS) 54, and the DMS 54 sends the above-mentioned dummy packet (DP) to the bus 1 via ENC42 and TR6. ) Is sent.

SLC45の計数値60は別の一致検出回路47へも入力されス
テーシヨン最大番号設定レジスタWRI49で設定された設
定値62と比較される。この設定値62は親局として指定す
るステーシヨンのWRI49に設定され全ステーシヨン数+
1に設定される。第6図の実施例ではステーシヨン#1
の(WRI)49が“5”に設定され、最終ステーシヨン(第
6図ではステーシヨン#4)の送信データの受信を終了
後、一定時間後に計数値60は“5”となるので親局のCO
IN47は一致検出信号64が出力される。この信号64により
親局(ステーシヨン#1)はフレームヘツダ送出回路(F
HS)52を起動させ、ENC42、TR6を介してバス1に前述の
フレームヘツダ(FH)を送出し、すべてのステーシヨンの
SLCを“0”にリセツトする。
The count value 60 of the SLC 45 is also input to another coincidence detection circuit 47 and compared with the set value 62 set by the station maximum number setting register WRI49. This set value 62 is set in WRI49 of the station designated as the master station and the total number of stations +
Set to 1. In the embodiment shown in FIG. 6, station # 1 is used.
(WRI) 49 of is set to “5”, and after the reception of the transmission data of the final station (station # 4 in FIG. 6) is completed, the count value 60 becomes “5” after a fixed time, so the CO
The IN47 outputs the coincidence detection signal 64. This signal 64 causes the master station (station # 1) to send the frame header transmission circuit (F
HS) 52 is activated, the above frame header (FH) is sent to bus 1 via ENC42 and TR6, and all stations
Reset SLC to "0".

キヤリア検知回路(CS)41のキヤリア検出信号57は代理パ
ケツト送出タイマ(RPT)51へも入力され、一定時間キヤ
リア検出信号57が検出されないとき代理パケツト送出要
求信号66を出力して代理パケツト送出回路53を起動さ
せ、ENC42,TR6を介してバス1に前述の代理パケツト(R
P)を送出する。この機能により任意のステーシヨンが故
障または何等かの理由で送信ができないとき、そのステ
ーシヨンに代つて親局が代理パケツトを送信するので残
りの健全ステーシヨンのみでデータ伝送を行うことがで
きる。
The carrier detection signal 57 of the carrier detection circuit (CS) 41 is also input to the substitute packet transmission timer (RPT) 51, and when the carrier detection signal 57 is not detected for a certain period of time, the substitute packet transmission request signal 66 is output to output the substitute packet transmission circuit. 53 is started, and the above-mentioned proxy packet (R
P) is sent. This function allows the master station to send a substitute packet in place of the station when the station cannot be transmitted due to a failure or some reason, so that data transmission can be performed only by the remaining healthy stations.

また、フレームヘツダ検出回路(FHD)43のフレームヘツ
ダ検出信号58はフレームヘツダ喪失タイマー(FHLT)50へ
も入力され、フレームヘツダーが一定時間内に受信され
ないときFHLT50はフレームヘツダ送信要求信号65を出力
してフレームヘツダ送出回路(FHS)52を起動させフレー
ムヘツダを送出する。FHLT50が監視する一定時間Tdはス
テーシヨンによつて少しづつ異る様にTd=a+b.n
(但し、nはステーシヨン番号、a,bは定数)に設定
する。この機能により親局が故障してフレームヘツダが
送信できないとき、最も若い番号のステーシヨンが親局
に代つて自動的にフレームヘツダを送信し、最も若い番
号のステーシヨンも故障のときは順次、次に若い番号の
ステーシヨンが代つて自動的にフレームヘツダを送信す
る。
Further, the frame header detection signal 58 of the frame header detection circuit (FHD) 43 is also input to the frame header loss timer (FHLT) 50, and when the frame header is not received within a certain time, the FHLT 50 outputs the frame header transmission request signal 65 and outputs the frame header. The sending circuit (FHS) 52 is activated to send the frame header. The fixed time Td monitored by the FHLT50 is slightly different depending on the station Td = a + b. n
(However, n is the station number and a and b are constants). With this function, when the master station fails and the frame header cannot be transmitted, the station with the lowest number automatically transmits the frame header on behalf of the master station, and when the station with the lowest number also fails, the station with the next lowest number. The station will automatically transmit the frame header on behalf of.

93はフレームヘツダ(FH)送信外部同期回路(FHSYN)でフ
レームヘツダ送出外部同期指令15によりフレームヘツダ
送出要求を行いFHS52からフレームヘツダを送出する。
これにより全伝送システムのデータパケツトの送信周期
を特別の信号に同期させ一定周期で伝送することができ
る。
Reference numeral 93 is a frame header (FH) transmission external synchronization circuit (FHSYN), which issues a frame header transmission request in response to a frame header transmission external synchronization command 15 and transmits the frame header from the FHS 52.
As a result, the transmission cycle of the data packet of the entire transmission system can be synchronized with the special signal and transmitted at a constant cycle.

83はモニタ動作指定レジスタ(WR3)でモニタしようとす
るステーシヨンの番号をセツトしSLC45の計数値60がこ
の値になると一致検出回路88からモニタ動作指令が出力
される。87はモニタ制御回路でCPUモードとAUTOモード
の2つの動作モードを有し、CPUモードのとき上記モニ
タ動作指令によりモニタデータをステータス読出レジス
タ(RR1)86にセツトしてモニタ動作完了後INT2信号71を
出力しCPU9に割込をかける。また、AUTOモードのときモ
ニタ制御回路87はモニタデータを出力バツフア94を介し
てそのまゝデータ信号12に出力する。
Reference numeral 83 indicates the station number to be monitored by the monitor operation designation register (WR3). When the count value 60 of SLC45 reaches this value, the coincidence detection circuit 88 outputs a monitor operation command. A monitor control circuit 87 has two operation modes, a CPU mode and an AUTO mode. In the CPU mode, the monitor data is set in the status read register (RR1) 86 by the above monitor operation command, and INT2 signal 71 after the monitor operation is completed. Is output and CPU9 is interrupted. In the AUTO mode, the monitor control circuit 87 outputs the monitor data to the data signal 12 via the output buffer 94.

89は代理パケット検出回路、90はダミーパケット検
出回路、91はデータパケット検出回路で、これらは前
述したモニタ動作機能に関係する。ここで、モニタ動作
機能は、設定レジスタ83に指定したステーション番号
のステーションがどんなパケットをバス上に送出してい
るのかをモニタできるものである。即ち、バス上のパケ
ットを受信し、前述した各回路89、90、91により
これが代理パケットか、ダミーパケットか、データパケ
ットかを判別し、指定されたステーション番号に一致す
るタイミングで判別結果を保持しこれをモニタ結果とし
て出力するものである。オートモードまたは計算機モー
ド(AUTO/CPU)に対応してD0−D7バス 12に出力
するか、或いは読みだしレジスタRR1 86に保持す
る。
Reference numeral 89 is a proxy packet detection circuit, 90 is a dummy packet detection circuit, and 91 is a data packet detection circuit, which are related to the above-mentioned monitor operation function. Here, the monitor operation function is capable of monitoring what packet the station having the station number designated in the setting register 83 is transmitting on the bus. That is, the packet on the bus is received, the above-mentioned circuits 89, 90, and 91 discriminate whether it is a proxy packet, a dummy packet, or a data packet, and the discrimination result is held at the timing corresponding to the designated station number. This is output as a monitor result. It is output to the D0-D7 bus 12 in correspondence with the auto mode or the computer mode (AUTO / CPU), or held in the read register RR1 86.

なお、92は衝突検出回路でパケット送出の際の複数ス
テーションによるパケット送出の衝突を検出する。即
ち、自局からの送出パケットタイミングをフレームヘッ
ダ送出回路52、ダミーパケット送出回路54、代理パ
ケット送出回路53、送信データ制御回路55より入力
し、他局からの送出タイミングを前記した各回路89、
90、91よりえることでバス上でのパケットの衝突を
検出する。親局の発するフレームヘツダは、常に予測可
能な周期で全ステーシヨンで受信検出される。従つて、
一定時間以上、フレームヘツダーが受信検出されない場
合、親局機能異常や、伝送路異常が発生した事になり、
伝送路制御用付加回路ないしは伝送装置全体として異常
復旧手段が必要となる。この場合の正常時における最長
フレームヘツダー監視周期106が監視タイマー設定レジ
スタ(WR5)85により設定される。また、各ステーシヨン
では、1回に伝送できるデータパケツトの長さは、有限
であり、送信動作が、定時間以上続いている場合は、送
信制御回路の異常が発生した事に相当する。送信時間
が、一定時間以上になつた場合、伝送路制御用付加回路
で送信を強制的に終了し、次のステーシヨンへ送信の順
番を渡し伝送路が渋滞するのを避ける必要がある。この
場合の正常時における最長送信時間107も監視タイマー
設定レジスタ(WR5)85に設定される。又、共通伝送路が
バス形の為、バスの片端に位置するステーシヨンが送信
した場合、相対する片端に位置するステーシヨンへ信号
が伝播するまで、バス長に応じて決められた伝播時間が
必要であり、略5μs/km程度かかる。
A collision detection circuit 92 detects a collision of packet transmission by a plurality of stations at the time of packet transmission. That is, the transmission packet timing from the local station is input from the frame header transmission circuit 52, the dummy packet transmission circuit 54, the proxy packet transmission circuit 53, and the transmission data control circuit 55, and the transmission timing from other stations is described above.
The packet collisions on the bus are detected by using the numbers 90 and 91. The frame header emitted by the master station is always received and detected at all stations at a predictable period. Therefore,
If the frame header is not detected for a certain period of time or more, it means that the master station function abnormality or transmission path abnormality has occurred.
Abnormality recovery means is required for the additional circuit for controlling the transmission path or the entire transmission device. In this case, the longest frame header monitoring period 106 in a normal state is set by the monitoring timer setting register (WR5) 85. In each station, the length of the data packet that can be transmitted at one time is finite, and when the transmission operation continues for a fixed time or more, it corresponds to the occurrence of an abnormality in the transmission control circuit. When the transmission time exceeds a certain time, it is necessary to forcibly terminate the transmission by the additional circuit for controlling the transmission path and pass the order of transmission to the next station to avoid congestion of the transmission path. In this case, the maximum transmission time 107 under normal conditions is also set in the monitoring timer setting register (WR5) 85. Also, since the common transmission path is a bus type, when a station located at one end of the bus transmits, a propagation time determined according to the bus length is required until the signal propagates to the station located at the opposite end. Yes, it takes about 5 μs / km.

従つて、片端に位置するステーシヨンに接して位置する
ステーシヨンが、送信を開始するのに、1つ前のステー
シヨンからのパケツト受信終了を検出して直ちに送信す
ると、相対する片端及近くに位置するステーシヨンで
は、2つのパケツトを明確に分離し受信検出が出来無く
なる。即ち、ステーシヨンは、バス長に応じて定まる伝
播遅延時間に対応して、パケツト送信の為のスペース時
間を設ける必要がある。この値を設定するのが伝送制御
定数設定レジスタ(WR4)84である。
Therefore, when the station located in contact with the station located at one end detects the end of packet reception from the immediately preceding station and immediately transmits it while starting the transmission, the station located near the opposite end and the station located near the station. Then, the two packets are clearly separated and reception detection cannot be performed. That is, the station needs to provide a space time for packet transmission corresponding to the propagation delay time determined according to the bus length. This value is set by the transmission control constant setting register (WR4) 84.

ここで、上述した伝送路制御用付加回路38としては、
親局、子局用として別種のものがあるわけではなく、親
局、子局の機能は、一つの伝送路制御用付加回路38に
含まれる。親局として機能するか、子局として機能する
かは、伝送路制御用付加回路38に与えられる設定値、
特に局番号(ステーシヨン番号)と複数のステーシヨン
からなる伝送システムのたち上げ条件により原理的に決
定される。勿論、外部スイッチ条件の中に親局、子局の
条件を含ませ、一つのステーシヨンを親局として限定す
ることも可能ではあるが、親局のバックアップが必須な
ことから、一局だけ親局限定は行わない。
Here, as the above-mentioned additional circuit 38 for controlling the transmission path,
There is no separate type for the master station and the slave station, and the functions of the master station and the slave station are included in one transmission path control additional circuit 38. Whether to function as a master station or a slave station is determined by a setting value given to the additional circuit 38 for controlling the transmission path.
In particular, it is determined in principle by the station number (station number) and the conditions for setting up a transmission system consisting of a plurality of stations. Of course, it is possible to include the conditions of the master station and slave stations in the external switch conditions and limit one station as the master station. However, backup of the master station is essential, so only one station is the master station. There is no limitation.

ここで、親局となるか子局となるかは、前述したフレー
ムヘッダ喪失タイマFHLT50の動作とその設定値に
関係する。
Here, whether it becomes a master station or a slave station is related to the operation of the frame header loss timer FHLT50 and its set value.

即ち、親局が異常となると、各局がバス上にパケットを
送出できる機能が停止することから、各子局では親局の
機能停止を、フレームヘッダが定期的にバス上に現れる
かで検定し、子局の中より選ばれた一局が代替えの親局
として機能する。このフレームヘッダの喪失検知は、上
述したフレームヘッダ喪失タイマーFHLT50により
行われる。このフレームヘッダ喪失タイマーFHLT5
0の監視設定時間は、前述のように、各局のステーショ
ン番号毎に異なっており、局番号の小さいものほど早期
に親局の異常を検出し代替え親局として機能する。
That is, when the master station becomes abnormal, the function of each station to send packets to the bus stops. Therefore, each slave station verifies that the master station has stopped functioning by checking that the frame header appears on the bus regularly. , One station selected from the slave stations functions as an alternative master station. The detection of the loss of the frame header is performed by the frame header loss timer FHLT50 described above. This frame header loss timer FHLT5
As described above, the monitoring set time of 0 is different for each station number of each station, and the smaller the station number, the earlier the abnormality of the master station is detected, and the station functions as a substitute master station.

また、システムの立ち上げ時に、すべてのステーション
の電源が同時に与えられるならば、最もステーション番
号の小さいものがフレームヘッダの喪失を最も早く検出
して親局となる。また、一つづつ順番に電源を投入して
いく場合には、通常最も早く電源を投入したものが親局
となりフレームヘッダを送信する。さらに、システムに
接続されていないステーションにたいしては代理パケッ
トを送信することでフレームヘッダを周期的に送出す
る。次々に電源投入されるステーションは、すでにフレ
ームヘッダが送信されていることからこれを検出し親局
が正常に機能しているとして子局として機能する。
If all stations are powered on at the same time when the system is started up, the station with the smallest station number will detect the loss of the frame header earliest and become the master station. In addition, when the power is turned on one by one, the one with the earliest power turned on normally becomes the master station and transmits the frame header. Further, the frame header is periodically transmitted by transmitting a proxy packet to a station that is not connected to the system. Stations that are turned on one after another detect frame headers that have already been transmitted, and function as slave stations assuming that the master station is functioning normally.

なお、子局となった場合、代理パケット送出タイマ51
は動作しない。
When the mobile station becomes a slave station, the proxy packet transmission timer 51
Does not work.

以上、述べた様に、伝送路制御の為に必要な設定を伝送
路制御用付加回路38に与える必要があり、本発明では、
付加回路の外部に設けたスイツチの設定状態を自動的に
読み込み内部の対応するレジスタへセツトするRESET初
期設定回路17を設けている。
As described above, it is necessary to give the setting necessary for transmission line control to the transmission line control additional circuit 38, and in the present invention,
A RESET initial setting circuit 17 is provided which automatically reads the setting state of the switch provided outside the additional circuit and sets it to the corresponding register inside.

外部に設けるスイツチが、第4図の100A,100B,100C,
100Dであり、各スイツチの状態を読み込みセツトするレ
ジスタが、各々、第5図の(WR1)49,(WR2)48,(WR4)8
4,(WR5)85である。WR1,WR2,WR4,WR5への設定値は、
伝送装置が動作中の場合、不変であり、唯一設定動作が
行はれればよい。第8図は、各スイツチ100A,100B,10
0C,100Dの設定値を、伝送路制御用付加回路38へ読み込
む時のタイミングを示す。RESET18は、伝送装置の電源
ON時、又はCPU9が、イニシヤライズ指令を出力する
時、アクテイブとなる。RESET18がアクテイブとなる
と、各セレクト信号▲▼,▲▼,▲
▼,▲▼と各ストロープ信号ST1,ST2,
ST3,ST4が第8図のタイミングに従つて発生し、各スイ
ツチ100A,100B,100C,100Dの内容をデータ入力端子
(D〜D)12を経由して、対応するレジスタWR1,W
R2,WR4,WR5へ取込む。スイツチ状態を読み込んでいる
間は、MON信号14が、Highレベルとなり読み込み動作中
である事を示している。
The switches provided outside are 100A, 100B, 100C,
It is 100D, and the registers that read and set the status of each switch are (WR1) 49, (WR2) 48, and (WR4) 8 in Fig. 5, respectively.
4 and (WR5) 85. The setting values for WR1, WR2, WR4, WR5 are
When the transmission device is operating, there is no change and only the setting operation needs to be performed. Fig. 8 shows each switch 100A, 100B, 10
The timing when the set values of 0C and 100D are read into the transmission path control additional circuit 38 is shown. RESET 18 becomes active when the power of the transmission device is turned on, or when the CPU 9 outputs an initialization command. When RESET18 becomes active, each select signal ▲ ▼, ▲ ▼, ▲
▼, ▲ ▼ and each strobe signal ST1, ST2,
ST3, ST4 are subordinate connexion occurred to the timing of FIG. 8, each switch 100A, 100B, 100C, a data input terminal the contents of 100D (D 0 ~D 7) 12 via corresponding registers WR1, W
Take in to R2, WR4, WR5. While the switch state is being read, the MON signal 14 is at the high level, indicating that the reading operation is in progress.

〔発明の効果〕〔The invention's effect〕

本発明のデータ伝送装置によればトークンパス方式より
伝送効率の良い実時間応用の可能なバス形伝送路のデー
タ伝送装置を市販のCSMA/CD用LSIまたはHDLC用LSI等の
データリング制御用LSIを用いて容易に実現することが
可能となり、伝送制御に必要な設定値はスイツチの状態
を自動的に読込んで制御するのでマイクロコンピユータ
側のソフトウエアに影響を与えることなく伝送路制御の
ための回路を付加することが可能となり容易に実現でき
るようにしたデータ伝送装置である。
According to the data transmission device of the present invention, a data transmission device of a bus type transmission line which has a transmission efficiency higher than that of the token path system and which can be applied in real time is a commercially available LSI for data ring control such as LSI for CSMA / CD or LSI for HDLC. It can be easily realized by using, and the set values required for transmission control are automatically read and controlled by controlling the switch status, so the transmission line control can be performed without affecting the software on the microcomputer side. This is a data transmission device in which a circuit can be added and which can be easily realized.

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

第1図はバス形伝送路によるデータ伝送システムの一般
的な構成図、第2図は従来のデータ伝送装置の構成図、
第3図は従来のトークンパス方式によるデータ伝送装置
の動作を説明するためのタイムチヤート、第4図は本発
明のデータ伝送装置による実施例の構成図、第5図は伝
送路制御用付加回路38の詳細ブロツク構成図、第6図、
第8図は本発明の動作を説明するためのタイムチヤー
ト、第7図はデータパケツト(DT)の構成図である。 1……バス形伝送路、2〜5……伝送ステーシヨン 6……送受信器、8……メモリ回路(M) 9……中央演算制御装置(CPU)、11……入出力回路 17……RESET初期設定回路 38……伝送路制御用付加回路、76……伝送制御用LSI 48……ステーシヨン番号設定レジスタ(WR2) 49……ステーシヨン最大番号設定レジスタ(WR1) 84……伝送制御定数設定レジスタ(WR4) 85……監視タイマー設定レジスタ(WR5) 100A〜100D……設定スイツチ
FIG. 1 is a general configuration diagram of a data transmission system using a bus type transmission line, FIG. 2 is a configuration diagram of a conventional data transmission device,
FIG. 3 is a time chart for explaining the operation of a conventional data transmission apparatus using the token path system, FIG. 4 is a block diagram of an embodiment of the data transmission apparatus of the present invention, and FIG. 5 is an additional circuit for controlling a transmission line. 38 detailed block diagram, Figure 6,
FIG. 8 is a time chart for explaining the operation of the present invention, and FIG. 7 is a configuration diagram of a data packet (DT). 1 ... Bus type transmission line, 2-5 ... Transmission station 6 ... Transceiver, 8 ... Memory circuit (M) 9 ... Central processing unit (CPU), 11 ... I / O circuit 17 ... RESET Initial setting circuit 38 …… Additional circuit for transmission path control, 76 …… Transmission control LSI 48 …… Station number setting register (WR2) 49 …… Station maximum number setting register (WR1) 84 …… Transmission control constant setting register ( WR4) 85 …… Monitoring timer setting register (WR5) 100A to 100D …… Setting switch

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】バス形伝送路を介して相互に接続され立上
げ条件により親局または子局となる複数のステーション
を有し、これらステーションが相互にデータ伝送を行う
データ伝送装置において、前記各ステーションは、CS
MA/CDまたはHDLC伝送制御用LSIと送受信回
路との間に伝送路制御用付加回路を設け、この伝送路制
御用付加回路には、親局としてパケットの送信タイミン
グを指示するフレームヘッダと、親局および子局のいず
れの場合においても送信すべきデータの無いときそのこ
とを示すダミーパケットと、所定の時間以上バス上に伝
送信号が無いときそのことを親局として代りに示す代理
パケットとの、3種の伝送路制御用パケットの送出手段
を設け、前記フレームヘッダ,ダミーパケット,代理パ
ケットはCSMA/CDまたはHDLC方式によるデー
タパケットのヘッディングフォーマットとは異なるパタ
ーンのパケットフォーマットとし、前記3種の伝送路制
御用パケットの受信判別を行う伝送路制御パケット判別
手段と、前記フレームヘッダを受信後所定の数のパケッ
トを受信したとき送信を開始する伝送路使用権決定手段
と、前記親局または伝送路異常の判断基準となる、正常
時における前記フレームヘッダの監視周期および1回に
伝送できるデータパケットの最長送信時間、前記バスの
長さによって定まる伝播遅延時間に応じて決まるパケッ
ト送信のためのスペース時間を含む、伝送路制御のため
の各種定数が設定されるレジスタと、外部スイッチに設
定された前記各種定数を対応する前記レジスタに読み込
ませる初期設定回路とを設けたことを特徴とするデータ
伝送装置。
1. A data transmission apparatus comprising a plurality of stations which are mutually connected via a bus type transmission line and serve as a master station or a slave station depending on a start-up condition, and these stations mutually transmit data. Station is CS
A transmission path control additional circuit is provided between the MA / CD or HDLC transmission control LSI and the transmission / reception circuit, and the transmission path control additional circuit includes a frame header for instructing packet transmission timing as a master station, and a master. In both the case of a station and a slave station, there is a dummy packet indicating that there is no data to be transmitted and a proxy packet indicating that when there is no transmission signal on the bus for a predetermined time or more as a master station. Three types of transmission path control packet transmission means are provided, and the frame header, the dummy packet, and the proxy packet have a packet format having a pattern different from the heading format of the data packet according to the CSMA / CD or HDLC method. A transmission path control packet discriminating means for discriminating the reception of the transmission path control packet; Transmission path usage right deciding means for starting transmission when a predetermined number of packets are received after receiving a frame header, and a monitoring cycle of the frame header in a normal time, which serves as a judgment criterion for the master station or transmission path abnormality, and once. A register in which various constants for transmission path control are set, including a maximum transmission time of a data packet that can be transmitted to a packet, a space time for packet transmission determined according to a propagation delay time determined by the length of the bus, and an external A data transmission device, comprising: an initial setting circuit for reading the various constants set in a switch into the corresponding registers.
JP59081983A 1984-04-25 1984-04-25 Data transmission device Expired - Lifetime JPH0642671B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59081983A JPH0642671B2 (en) 1984-04-25 1984-04-25 Data transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59081983A JPH0642671B2 (en) 1984-04-25 1984-04-25 Data transmission device

Publications (2)

Publication Number Publication Date
JPS60226246A JPS60226246A (en) 1985-11-11
JPH0642671B2 true JPH0642671B2 (en) 1994-06-01

Family

ID=13761712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59081983A Expired - Lifetime JPH0642671B2 (en) 1984-04-25 1984-04-25 Data transmission device

Country Status (1)

Country Link
JP (1) JPH0642671B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0824294B2 (en) * 1987-11-30 1996-03-06 三田工業株式会社 Packet switched LAN
JP7556326B2 (en) * 2021-04-30 2024-09-26 株式会社オートネットワーク技術研究所 Communication device and communication system
CN115277284B (en) * 2022-05-26 2024-04-09 广东逸动科技有限公司 Communication method, communication device, communication system, and computer-readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4860347A (en) * 1971-11-29 1973-08-24
JPS4860547A (en) * 1971-11-29 1973-08-24
JPS5215204A (en) * 1975-07-26 1977-02-04 Fuji Electric Co Ltd Informatioon transmission system
JPS5853771B2 (en) * 1978-10-20 1983-12-01 株式会社日立製作所 How to initialize a terminal control device in a distributed control system

Also Published As

Publication number Publication date
JPS60226246A (en) 1985-11-11

Similar Documents

Publication Publication Date Title
EP1921801B1 (en) Method and network for forwarding messages with priority-based arbitration
US5764895A (en) Method and apparatus for directing data packets in a local area network device having a plurality of ports interconnected by a high-speed communication bus
JP3604398B2 (en) High-speed parallel packetized module arbitration control and data bus
EP0137438B1 (en) Method for passing a token in a local-area network
JPH0257383B2 (en)
EP1101328B1 (en) Network controller
JP2008310832A (en) Apparatus and method for distributing signal from high level data link controller to a plurality of digital signal processor cores
JPH0210936A (en) Multistation communication bus system and station
US6181708B1 (en) Lossless arbitration scheme and network architecture for collision based network protocols
JPH1173404A (en) Computer system
US5856921A (en) Apparatus and method for intermodular communications using system bus controllers
KR19990060566A (en) Information exchange device between processes using internet
KR20000018869A (en) Ipc(inter processor communication) system and a method thereof in an exchange
JPH0642671B2 (en) Data transmission device
GB2301995A (en) Software driver for a system bus
JPH0439819B2 (en)
JPS5986940A (en) Information transmitting system of multi-drop system
JP3489456B2 (en) Real-time communication device and system
US5949818A (en) Expandable ethernet network repeater unit
JPH047620B2 (en)
JP4095216B2 (en) Printer and data communication method in printer
JP3252556B2 (en) Communication device
JPS6124344A (en) Pos system
KR0141294B1 (en) Processor for connecting electronic electronic switch
JP2639248B2 (en) Communication interface device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term