JPH0585096B2 - - Google Patents

Info

Publication number
JPH0585096B2
JPH0585096B2 JP9459987A JP9459987A JPH0585096B2 JP H0585096 B2 JPH0585096 B2 JP H0585096B2 JP 9459987 A JP9459987 A JP 9459987A JP 9459987 A JP9459987 A JP 9459987A JP H0585096 B2 JPH0585096 B2 JP H0585096B2
Authority
JP
Japan
Prior art keywords
station
data
time
transmission
data 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.)
Expired - Lifetime
Application number
JP9459987A
Other languages
Japanese (ja)
Other versions
JPS63260335A (en
Inventor
Koichi Tejima
Ikuo Iwasaki
Kenzo Tsukada
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.)
IHI Corp
Original Assignee
IHI 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 IHI Corp filed Critical IHI Corp
Priority to JP9459987A priority Critical patent/JPS63260335A/en
Publication of JPS63260335A publication Critical patent/JPS63260335A/en
Publication of JPH0585096B2 publication Critical patent/JPH0585096B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、ビル内、工場内、プラント等にお
いて複数のステーシヨンから共通の伝送路を介し
てデータの送出を行なう場合に、データ送出タイ
ミングを時間管理することにより、各ステーシヨ
ンから送出されるデータどうしの衝突を回避する
ようにしたものである。
[Detailed Description of the Invention] [Industrial Application Field] This invention is aimed at adjusting the data transmission timing when transmitting data from a plurality of stations via a common transmission path in a building, factory, plant, etc. By managing time, collisions between data sent from each station are avoided.

〔従来の技術〕[Conventional technology]

LAN(Local Area Network)を構築するう
えで、複数のステーシヨンから共通の伝送路を介
してデータの授受を行なう方法として、IEEE(米
国電気電子技術者協会)802.3で提唱されている
CSMA/CD(Carrier Sense Maltiple Access/
Collision Detection:衝突検出付のキヤリア検
知マルチプルアクセス)によるシリアルデータ伝
送方式が従来知られている。
Proposed by IEEE (Institute of Electrical and Electronics Engineers) 802.3 as a method for sending and receiving data from multiple stations via a common transmission path when constructing a LAN (Local Area Network).
CSMA/CD (Carrier Sense Multiple Access/
A serial data transmission method using collision detection (carrier detection multiple access with collision detection) is conventionally known.

この方式は、第4図に示すように、両端に終端
抵抗R1,R2が接続された共通の伝送路10に
N個のステーシヨン1〜Nを接続したシステムで
ある。各ステーシヨンは他のステーシヨンにデー
タを送る場合、次のようにして行なう。
As shown in FIG. 4, this system is a system in which N stations 1 to N are connected to a common transmission line 10 with terminating resistors R1 and R2 connected at both ends. When each station sends data to other stations, it does so as follows.

) データ送出を行なおうとするステーシヨン
は、伝送路10上のデータ(キヤリア)の有無
を調べる。
) A station that intends to transmit data checks whether there is data (carrier) on the transmission line 10.

) 伝送路10上にデータが無ければ、自分の
データをただちに送出する。
) If there is no data on the transmission line 10, it immediately sends its own data.

) 伝送路10上にデータが有れば時間待ちし
た後再び伝送路10上の有無を調べ、伝送路1
0上にデータが無くなれば、自分のデータを送
出する。
) If there is data on the transmission line 10, wait for a period of time, check again whether there is data on the transmission line 10, and transfer the data to the transmission line 1.
When there is no more data on 0, it sends its own data.

) データ送出後最終ビツト送出までに他のス
テーシヨンからのデータとの衝突を検出した場
合は上記)〜)に従いデータを再送する。
) If a collision with data from another station is detected after the data is sent and before the final bit is sent, the data is retransmitted according to steps) to) above.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記CSMA/CD方式では各ステーシヨンのデ
ータ送出タイミングを集中管理する親局が不要な
ので、システム全体の構成を簡単にすることがで
きるが、その反面次のような欠点がある。
The CSMA/CD method described above does not require a master station that centrally controls the data transmission timing of each station, so the overall system configuration can be simplified, but on the other hand, it has the following drawbacks.

(1) 2つ以上のステーシヨンが同時に伝送路10
上のデータの有無を調べて無しと判断して同時
にデータを送出すると、データの衝突が起こり
データが破壊される。この場合上記)のよう
にデータを再送しなければならない。
(1) Two or more stations simultaneously connect the transmission line 10
If you check the presence or absence of the above data and determine that it is absent, and then send the data at the same time, a data collision will occur and the data will be destroyed. In this case, the data must be retransmitted as described above).

(2) 伝送路10に接続されるステーシヨン数が増
えると、衝突確率が極度に増大する。
(2) As the number of stations connected to the transmission line 10 increases, the probability of collision increases extremely.

(3) 各ステーシヨンが工場内やプラント等の制御
装置(例えばボイラバーナ制御装置)である場
合、各制御装置間でデータ伝送をしようとして
も衝突による伝送遅れが生じ、事象(制御対象
機器の動き等)に対応できず、実時間性をそこ
ない制御性、安全性等で問題が生じる。
(3) If each station is a control device in a factory or plant (for example, a boiler burner control device), even if you try to transmit data between each control device, there will be a transmission delay due to collisions, and events such as movement of controlled equipment, etc. ), causing problems with controllability, safety, etc., which impairs real-time performance.

これらの欠点があるため、CSMA/CD方式は
OA(Office Automation)には用いられていた
が、FA(Factory Automation)には適さなかつ
た。
Due to these drawbacks, the CSMA/CD method is
Although it was used for OA (Office Automation), it was not suitable for FA (Factory Automation).

この発明は、前記従来の技術における欠点を解
決し、ビル内、工場内、プラント等において複数
のステーシヨンから共通の伝送路を介してデータ
の送出を行なう場合に、各ステーシヨンから送出
されるデータどうしの衝突を簡単な構成で回避す
ることができるデータ伝送におけるデータ送出方
法を提供しようとするものである。
The present invention solves the drawbacks of the conventional technology, and when data is transmitted from a plurality of stations via a common transmission path in a building, factory, plant, etc., the data transmitted from each station is The present invention aims to provide a data sending method in data transmission that can avoid collisions with a simple configuration.

〔問題点を解決するための手段〕[Means for solving problems]

この発明は、各ステーシヨンがデータを送出す
る際に自ステーシヨンの識別情報を送出し、他の
ステーシヨンはその識別情報を入力し、各ステー
シヨンのデータどうしが衝突しないように予め割
り当てられたデータ送出順序に従い、自ステーシ
ヨンからデータを送出するタイミングを算出し、
そのタイミングに到達したら自ステーシヨンから
データと識別情報を送出し、各ステーシヨンは識
別情報を入力するごとに前記タイミングの算出を
更新するようにしたものである。
In this invention, when each station transmits data, it transmits its own identification information, other stations input the identification information, and the data transmission order assigned in advance is set so that the data of each station does not collide with each other. Calculate the timing to send data from your own station according to
When that timing is reached, data and identification information are sent from the own station, and each station updates the timing calculation each time it receives identification information.

〔作用〕[Effect]

この発明によれば、データ送出順序を割り当て
て、各ステーシヨンは識別情報に基づきこの順序
でデータ送出するタイミングを判断してデータ送
出を行なうので、時分割的なデータ送出管理とな
り、データの衝突が防止される。
According to this invention, a data transmission order is assigned, and each station determines the timing to transmit data in this order based on identification information and transmits data, so data transmission is managed in a time-division manner and data collisions are avoided. Prevented.

しかも、各ステーシヨンが時分割的にデータを
送出するタイミングは識別情報に基づき各ステー
シヨンが自分自身で判断するので、親局による集
中管理も不要でありシステム全体が簡単になる。
Furthermore, since each station determines the timing at which it transmits data in a time-division manner by itself based on identification information, there is no need for centralized control by a master station, simplifying the entire system.

〔実施例〕〔Example〕

この発明の一実施例を第1図に示す。これは、
CSMA/CD方式に既設のマイクロコンピユータ
に本発明のデータ送出タイミング時間管理機能を
付加したものである。共通の伝送路10(同軸ケ
ーブルや単一線路)にはN個のステーシヨン1〜
Nが接続されている。この伝送路10の両端には
データ(キヤリア)消滅用の終端抵抗R1,R2
が接続されている。
An embodiment of this invention is shown in FIG. this is,
This is a CSMA/CD system in which the data transmission timing time management function of the present invention is added to an existing microcomputer. A common transmission path 10 (coaxial cable or single line) has N stations 1 to
N is connected. At both ends of this transmission line 10, there are terminating resistors R1 and R2 for erasing data (carrier).
is connected.

各ステーシヨン1〜Nにはそれぞれ固有の番号
No.1〜No.Nが付与されている。各ステーシヨン1
〜Nはデータを送出する際にこの番号No.1〜No.N
を識別情報として送出する。また、各ステーシヨ
ン1〜Nは、他のステーシヨンから送出されるこ
の識別情報を入力する。
Each station 1-N has a unique number
No. 1 to No. N are assigned. Each station 1
~N is this number No.1~No.N when sending data
is sent as identification information. Each station 1 to N also inputs this identification information sent from the other stations.

各ステーシヨン1〜Nは、番号(No.1〜No.N)
の小さなステーシヨンからデータを送出するよう
にデータの送出順序が割り当てられている。
Each station 1 to N is a number (No.1 to No.N)
The data transmission order is assigned so that data is transmitted from a small station.

各ステーシヨン1〜Nは、第2図に示すよう
に、伝送装置部11と制御演算部12と外部入出
力部13を具えている。伝送装置部11は、伝送
路10を通して他のステーシヨン1〜Nとのデー
タの授受を行なう。この内部のマイクロコンピユ
ータには、本発明によるデータ送出タイミングの
時間管理機能が付加されている。制御演算部12
は、伝送装置部11や外部入出力部13とのデー
タの授受を行なう。また、制御演算により外部状
態(制御対象の状態)の管理等を行なう。外部入
出力部13は制御対象である外部プラント等の状
態(温度、圧力等)検出信号の入力や外部プラン
ト等の動作指令信号の出力を行なう。
Each of the stations 1 to N includes a transmission unit 11, a control calculation unit 12, and an external input/output unit 13, as shown in FIG. The transmission device section 11 sends and receives data to and from other stations 1 to N through the transmission path 10. This internal microcomputer is added with a time management function for data transmission timing according to the present invention. Control calculation unit 12
performs data exchange with the transmission device section 11 and external input/output section 13. In addition, the external state (state of the controlled object) is managed by control calculations. The external input/output unit 13 inputs state (temperature, pressure, etc.) detection signals of an external plant to be controlled and outputs operation command signals for the external plant.

伝送装置部11のマイクロコンピユータによる
データ送出タイミングの時間管理機能について説
明する。
The time management function of the data transmission timing by the microcomputer of the transmission device section 11 will be explained.

全ステーシヨン数をN、全装置の実時間制御応
答の要求値(システム全体としてのI/Oの要求
サイクル)をTcとして、各ステーシヨンのデー
タ送出時間間隔をτ=Tc/Nに設定する(例え
ばN=50、Tc=100msecとすれば、τ=2msecと
なる。)。
The total number of stations is N, the required value of real-time control response of all devices (required I/O cycle for the entire system) is Tc, and the data transmission time interval of each station is set to τ=Tc/N (for example, If N=50 and Tc=100msec, τ=2msec).

各ステーシヨン1〜Nは、他のステーシヨンか
らデータとともに送出される識別情報(ステーシ
ヨン番号No.1〜No.N)を入力する。各ステーシヨ
ン1〜Nの伝送装置部11ではこの識別情報(受
信ステーシヨン番号)を自ステーシヨンに付与さ
れたステーシヨン番号(自ステーシヨン番号)と
比較し、自ステーシヨンのデータ送出時刻を下記
(1)式から求める。
Each station 1 to N receives identification information (station numbers No. 1 to No. N) sent together with data from the other stations. The transmission device section 11 of each station 1 to N compares this identification information (receiving station number) with the station number assigned to its own station (its own station number), and determines the data transmission time of its own station as shown below.
Obtained from equation (1).

t=(i−j)τ(i>jの時) {Tc−(j−i)}τ(i<jの時) (1) 但し、t:自ステーシヨンのデータ送出時刻 i:自ステーシヨン番号 j:受信ステーシヨン番号 なお、データ送出時刻tは現時刻(ステーシヨ
ン番号を受信した時刻)からの時間として求ま
る。
t=(i-j)τ(when i>j) {Tc-(j-i)}τ(when i<j) (1) However, t: Data transmission time of own station i: Own station number j: Receiving station number Note that the data sending time t is determined as the time from the current time (the time when the station number was received).

上記求められた送出時刻に達したことを検出す
ると、そのステーシヨンからデータが送出され
る。このとき、そのステーシヨンからは識別情報
であるステーシヨン番号も出されるので、各ステ
ーシヨンは上式に基づきデータ送出時刻tを(1)式
から算出しなおす。すなわち、各ステーシヨンの
データ送出時刻tはいずれかのステーシヨンから
データが送出されるごとに更新される。これによ
り、データを送出しようとするステーシヨンが複
数ある場合、ステーシヨン番号の小さいものから
順に1つずつ送出される。
When it is detected that the above-determined transmission time has been reached, data is transmitted from that station. At this time, the station also outputs a station number which is identification information, so each station recalculates the data transmission time t from equation (1) based on the above equation. That is, the data transmission time t of each station is updated every time data is transmitted from any station. As a result, if there are a plurality of stations to which data is to be transmitted, data is transmitted one by one in order from the station with the lowest station number.

上記のデータ送出タイミングの時間管理機能に
よるデータ送出の一例を第3図に示す。ここでは
ステーシヨン数をNo.1〜No.10の10台とし、ステー
シヨンから送出しようとしているデータがNo.2に
3個、No.4に1個、No.7に2個、No.8に1個ある
ものとする。
FIG. 3 shows an example of data transmission using the time management function of the data transmission timing described above. Here, the number of stations is 10, No. 1 to No. 10, and the data to be sent from the station is 3 to No. 2, 1 to No. 4, 2 to No. 7, and 2 to No. 8. Assume that there is one.

いま、ステーシヨンNo.2から時刻2τに1個の
データとそのステーシヨン番号No.2を送出したと
すると、他のステーシヨンNo.1、No.3〜No.10はそ
のステーシヨン番号No.2と自ステーシヨン番号と
から(1)式により自ステーシヨンのデータ送出時刻
を求める。なおステーシヨンNo.2は次の送出時刻
をTcに設定する。
Now, if station No. 2 sends out one piece of data and its station number No. 2 at time 2τ, the other stations No. 1, No. 3 to No. 10 will transmit the station number No. 2 and their own data. From the station number, calculate the data transmission time of the own station using equation (1). Note that station No. 2 sets the next transmission time to Tc.

このようにして各ステーシヨンごとに送出時刻
を設定すると、データ送出を行なおうとしている
ステーシヨンのうち、いちばん早く送出時刻に達
するのはステーシヨンNo.4であるので、その時刻
4τに達すると、ステーシヨンNo.4から1個のデ
ータとともにステーシヨン番号No.4が出力され
る。このステーシヨン番号No.4に基づき各ステー
シヨンは上記と同様に送出時刻を算出して、更新
する。
If the transmission time is set for each station in this way, station No. 4 will be the first to reach the transmission time among the stations that are about to transmit data, so when that time 4τ is reached, the station Station number No. 4 is output from No. 4 along with one piece of data. Based on this station number No. 4, each station calculates and updates the sending time in the same manner as above.

このようにして、時刻7τにステーシヨンNo.7
から、時刻8τにステーシヨンNo.8からそれぞれ
データ送出が行なわれる。同様に2巡目には時刻
12τにステーシヨンNo.2から、時刻17τにス
テーシヨンNo.7から、3巡目には時刻22τにス
テーシヨンNo.2からそれぞれデータ送出が行なわ
れる。
In this way, at time 7τ, station No. 7
From then on, data is transmitted from station No. 8 at time 8τ. Similarly, in the second round, data is transmitted from station No. 2 at time 12τ, from station No. 7 at time 17τ, and in the third round, data is transmitted from station No. 2 at time 22τ.

これによれば、データ送出は各ステーシヨンが
時分割的に行なわれるので、複数のステーシヨン
からデータ送出を行なおうとしている場合でもデ
ータの衝突は生じない。
According to this, since data transmission is performed by each station in a time-sharing manner, data collision does not occur even when data transmission is attempted from a plurality of stations.

また、各ステーシヨンは送出されるステーシヨ
ン番号と自ステーシヨンは割当てられた送出順序
(上記実施例ではステーシヨン番号=送出順序)
にもとづき送出タイミングを自ら求めるので親局
による集中管理も不要である。
In addition, each station has the station number to which it is transmitted and its own station has the assigned transmission order (in the above example, station number = transmission order).
Since the transmission timing is determined by itself based on the data, there is no need for centralized control by the master station.

また、上記実施例のようにデータ送出時間間隔
τ=Tc/Nとすれば、各ステーシヨンは全装置
の実時間制御応答の要求値Tcごとにデータ送出
できるので、待ち時間なくデータ送出を行なうこ
とができる。
Furthermore, if the data transmission time interval τ = Tc/N as in the above embodiment, each station can transmit data for each required value Tc of the real-time control response of all devices, so data can be transmitted without waiting time. I can do it.

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

以上説明したように、この発明によれば、デー
タ送出の順番を割り当てて、各ステーシヨンは識
別情報に基づきこの順序でデータ送出するタイミ
ングを判断してデータ送出を行なうので、時分割
的なデータ送出管理となり、データの衝突が防止
される。したがつて、多数のステーシヨンに対し
ても実時間性が保て、FA対応の大規模LANの達
成が可能になる。
As explained above, according to the present invention, the order of data transmission is assigned, and each station determines the timing to transmit data in this order based on identification information and transmits data, so that data transmission is performed in a time-sharing manner. management, and data collisions are prevented. Therefore, real-time performance can be maintained even for a large number of stations, and a large-scale LAN compatible with FA can be achieved.

しかも、各ステーシヨンが時分割的にデータを
送出するタイミングは識別情報に基づき各ステー
シヨンが自分自身で判断するので、親局による集
中管理も不要でありシステム全体が簡単になる。
Furthermore, since each station determines the timing at which it transmits data in a time-division manner by itself based on identification information, there is no need for centralized control by a master station, simplifying the entire system.

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

第1図〜第3図はこの発明一実施例を示す図
で、第1図は全体構成を示すブロツク図、第2図
は各ステーシヨンの構成を示す図、第3図は動作
の一例を示すタイムチヤートである。第4図は、
従来装置を示すブロツク図である。 1〜N…ステーシヨン、10…伝送路。
Figures 1 to 3 are diagrams showing one embodiment of this invention, with Figure 1 being a block diagram showing the overall configuration, Figure 2 being a diagram showing the configuration of each station, and Figure 3 showing an example of operation. It is a time chart. Figure 4 shows
1 is a block diagram showing a conventional device. 1 to N...station, 10...transmission line.

Claims (1)

【特許請求の範囲】 1 複数のステーシヨンから共通の伝送路を介し
てデータの送出を行なう方法であつて、 各ステーシヨンはデータを送出する際に自ステ
ーシヨンの識別情報を送出し、 当該各ステーシヨンは他のステーシヨンからの
識別情報を入力し、 t=(i−j)τ(i>jの時) {Tc−(j−i)}τ(i<jの時) 但し、t:自ステーシヨンのデータ送出時刻 i:自ステーシヨン番号 j:受信ステーシヨン番号 Tc:システム全体としてのI/Oの要求
サイクル τ:データ送出時間間隔 から算出される自ステーシヨンのデータ送出時刻
tを設定し、この時刻tに達したことを検出して
自ステーシヨンからデータと識別情報を送出し、 各ステーシヨンは他のステーシヨンから識別情
報を入力するごとに前記データ送出時刻tの設定
値を更新することを特徴とするデータ伝送におけ
るデータ送出方法。
[Claims] 1. A method for transmitting data from a plurality of stations via a common transmission path, in which each station transmits its own identification information when transmitting data, and each station Input the identification information from other stations, t=(i-j)τ (when i>j) {Tc-(j-i)}τ (when i<j), where t: own station's Data transmission time i: Local station number j: Receiving station number Tc: I/O request cycle for the entire system τ: Set the data transmission time t of the local station calculated from the data transmission time interval, and set the data transmission time t of the local station to this time t. The data transmission is characterized in that the station detects that the data has been reached and sends the data and identification information from its own station, and each station updates the set value of the data sending time t every time identification information is input from another station. Data transmission method.
JP9459987A 1987-04-17 1987-04-17 Data transmission method in data transmission Granted JPS63260335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9459987A JPS63260335A (en) 1987-04-17 1987-04-17 Data transmission method in data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9459987A JPS63260335A (en) 1987-04-17 1987-04-17 Data transmission method in data transmission

Publications (2)

Publication Number Publication Date
JPS63260335A JPS63260335A (en) 1988-10-27
JPH0585096B2 true JPH0585096B2 (en) 1993-12-06

Family

ID=14114728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9459987A Granted JPS63260335A (en) 1987-04-17 1987-04-17 Data transmission method in data transmission

Country Status (1)

Country Link
JP (1) JPS63260335A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02278993A (en) * 1989-04-19 1990-11-15 Matsushita Electric Ind Co Ltd Remote controller
JPH04145746A (en) * 1990-10-08 1992-05-19 Nec Corp Satellite line access system for data packet
JPH06237254A (en) * 1992-02-06 1994-08-23 Kanoopusu Kk Bus line network type voice communication system
JP5552021B2 (en) * 2010-10-25 2014-07-16 パナソニック株式会社 Communication system and superimposed communication terminal

Also Published As

Publication number Publication date
JPS63260335A (en) 1988-10-27

Similar Documents

Publication Publication Date Title
JPH0210622B2 (en)
CN100481801C (en) Multi-user real-time communication method in ethernet communication system and ethernet communication system
JPH04213251A (en) Communication system
JPH0585096B2 (en)
FI83008C (en) FOERFARANDE OCH ANORDNING FOER ATT VAELJA EN STATION FRAON EN GRUPP AV STATIONER VILKA KOMMUNICERAR MED EN HUVUDSTATION.
JPH0564384B2 (en)
JP4637549B2 (en) Communications system
JPH10233792A (en) Polling system/method
JPS6053342B2 (en) Information transmission method
JPH09128019A (en) Remote i/o system for plc
JPH0314877Y2 (en)
JPS62219825A (en) Gateway of load control system
JPH06152604A (en) Transmission request controller in lan
JP2754818B2 (en) Collection data transfer method
JPH01185096A (en) System for transmitting control signal for thermal equipment
CN113294887A (en) Competitive RS485 communication method and device and air conditioning system
JPS61220540A (en) Method for controlling communication
JPH02217039A (en) Poling/selecting control procedure system
JPS5975734A (en) Transmission line access device
JPS6159021B2 (en)
JPH05322287A (en) Communication device for air conditioning system
JPS62216452A (en) Serial transmission equipment
JPH03174897A (en) Remote monitor controller
JPH03181248A (en) Polling system for transmission of data
JPS6229336A (en) Data transmission system