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
JPH0529178B2 - - Google Patents
[go: Go Back, main page]

JPH0529178B2 - - Google Patents

Info

Publication number
JPH0529178B2
JPH0529178B2 JP62145321A JP14532187A JPH0529178B2 JP H0529178 B2 JPH0529178 B2 JP H0529178B2 JP 62145321 A JP62145321 A JP 62145321A JP 14532187 A JP14532187 A JP 14532187A JP H0529178 B2 JPH0529178 B2 JP H0529178B2
Authority
JP
Japan
Prior art keywords
sta
data
transmission
timer
silent
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
JP62145321A
Other languages
Japanese (ja)
Other versions
JPS63310241A (en
Inventor
Fumihiro Ueno
Takashi Fujimura
Nobuaki Takagi
Akira Fujii
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP62145321A priority Critical patent/JPS63310241A/en
Publication of JPS63310241A publication Critical patent/JPS63310241A/en
Publication of JPH0529178B2 publication Critical patent/JPH0529178B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、共通の伝送路により接続された複数
の通信装置が、伝送路を介してデータ信号の送受
信を行なう場合に適用される通信方式に関するも
のである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a communication method applied when a plurality of communication devices connected by a common transmission path transmit and receive data signals via the transmission path. It is related to.

〔従来の技術〕[Conventional technology]

かかる通信方式は、共通バス方式とも称され、
特願昭59−211215号、同211216号等により提案さ
れているものがあり、一般に、共通の伝送路へ接
続された各通信装置中から主導権を有するものを
定め、これによる統制の基に各通信装置が交互に
送信を行なう方式、または、トークン(Token)
と称する送信権の付与を示す信号の授受を行な
い、これにより送信権を取得した通信装置のみが
送信を行なう方式が採用されている。
Such a communication method is also called a common bus method,
There are proposals in Japanese Patent Application Nos. 59-211215 and 211216, etc., and in general, a system is established in which one of the communication devices connected to a common transmission path has the initiative, and control is based on this. A method in which each communication device transmits alternately, or a token
A system is adopted in which a signal indicating the granting of the transmission right is exchanged, and only the communication device that has acquired the transmission right performs the transmission.

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

しかし、主導権を有するものを定める方式で
は、これが必要となり特別な装置を設けなければ
ならず、高価になると共に、この装置に障害を生
ずれば全体の通信が不能となり、信頼性が低下す
る問題を生じ、トークンの授受を行なう方式にお
いては、これに時間を要し、全般的な通信速度が
低下すると共に、トークン授受の手順が面倒とな
る問題を生ずる。
However, in the method of determining who has the initiative, this is necessary and special equipment must be installed, which is expensive, and if a problem occurs in this equipment, the entire communication becomes impossible and reliability decreases. However, in the method of sending and receiving tokens, this takes time, lowers the overall communication speed, and the procedure for sending and receiving tokens becomes troublesome.

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

このような課題を解決するために、本発明は、
共通の伝送路へ接続された通信装置STA1
STAoを備え、これら通信装置STA1〜STAoが送
信権を交互に取得し、送信権を取得した通信装置
STAが共通の伝送路を介してデータの送信を行
なう通信方式において、通信装置STA1〜STAo
へ自己の送信権取得順位を定めるための互いに異
なる設定時間Tt1〜Ttoとした自順タイマーを設
け、これら自順タイマーへの最大設定時間以上で
あることを条件として、通信装置STA1〜STAo
へ自己の優先順位を定めるための互いに異なる固
定的な設定時間TS1〜Tsoとしたサイレントタイ
マーを設け、共通の伝送路が無信号状態となるの
に応じて各サイレントタイマーおよび各自順タイ
マーを同時にスタートさせるものとし、送信すべ
きデータを有し且つその保有する自順タイマーが
タイムアツプした通信装置STAが送信権を取得
してデータの送信を行なうものとし、自己のサイ
レントタイマーの計時中に他からの送信データを
受信すれば、また自己のサイレントタイマーの計
時中にデータを送信すれば、通信装置
STA1STAoはそのサイレントタイマーの計時を
クリアするものとし、自己の自順タイマーの計時
中に他からの送信データを受信すれば、通信装置
STA1〜STAoはその自順タイマーの計時をクリ
アするものとし、サイレントタイマーの計時がク
リアされない場合には、最初にタイムアツプした
サイレントタイマーを保有する通信装置STAが
送信権を取得して、送信すべきデータを有する場
合にはそのデータの送信を行なうものとし、送信
すべきデータを有さない場合にはダミーデータの
送信を行なうものとし、送信権を取得した通信装
置STAからのデータの送信終了により共通の伝
送路が無信号状態となるのに応じ、各サイレント
タイマーおよびその設定時間Ttを所定の演算式
に従つて求め直した各自順タイマーを同時にスタ
ートさせるようにしたものである。
In order to solve such problems, the present invention
Communication equipment STA 1 connected to a common transmission path
STA o , these communication devices STA 1 to STA o alternately acquire the transmission right, and the communication device that acquired the transmission right
In a communication system in which STAs transmit data via a common transmission path, communication devices STA 1 to STA o
Communication devices STA 1 to 1 are provided with self-order timers with mutually different set times T t1 to T to to determine their own transmission right acquisition order, and the communication devices STA 1 to STA o
Set up silent timers with fixed set times T S1 to T so that are different from each other in order to determine their own priorities, and set each silent timer and each sequential timer in response to the common transmission line being in a no-signal state. A communication device STA that has data to be transmitted and whose self-order timer has timed up acquires the transmission right and transmits the data, and while its own silent timer is counting, the communication device STA The communication device
STA 1 STA o shall clear the timing of its silent timer, and if it receives transmission data from another while its own self-order timer is counting, the communication device
STA 1 to STA o shall clear the timing of their self-order timer, and if the timing of the silent timer is not cleared, the communication device STA that owns the silent timer that times up first acquires the transmission right and transmits. If there is data to be transmitted, the data shall be transmitted; if there is no data to be transmitted, dummy data shall be transmitted; and data transmission from the communication device STA that has acquired transmission rights. When the common transmission line goes into a no-signal state due to termination, each silent timer and its own sequential timer whose set time T t is recalculated according to a predetermined calculation formula are simultaneously started.

〔作用〕[Effect]

したがつてこの発明によれば、共通の伝送路が
無信号状態となれば、通信装置STA1〜STAo
サイレントタイマーおよび自順タイマーが同時に
スタートし、送信すべきデータを有し且つその保
有する自順タイマーがタイムアツプした通信装置
STAが自ら送信権の取得を行ない、データの送
信を行なう。
Therefore, according to the present invention, when the common transmission path becomes a no-signal state, the silent timer and self-order timer of the communication devices STA 1 to STA o start simultaneously, and if the communication devices STA 1 to STA o have data to be transmitted and have the data, A communication device whose self-order timer has expired
The STA acquires the transmission right by itself and transmits the data.

この際、自己のサイレントタイマーの計時中に
他からの送信データを受信すれば、また自己のサ
イレントタイマーの計時中にデータを送信すれ
ば、通信装置STA1〜STAoはそのサイレントタ
イマーの計時をクリアする。また、自己の自順タ
イマーの計時中に他からの送信データを受信すれ
ば、通信装置STA1〜STAoはその自順タイマー
の計時をクリアする。
In this case, if transmission data is received from another while the own silent timer is counting, or if data is transmitted while the own silent timer is counting, the communication devices STA 1 to STA o will start counting the silent timer. clear. Moreover, if transmission data from another is received while the self-order timer is counting, the communication devices STA 1 to STA o clear the time measurement of the self-order timer.

サイレントタイマーの計時がクリアされない場
合には、すなわち共通の伝送路の無信号状態が長
く続けば、最初にタイムアツプしたサイレントタ
イマーを保有する通信装置STAが送信権を取得
して、送信すべきデータを有する場合にはそのデ
ータの送信を行い、送信すべきデータを有さない
場合にはダミーデータの送信を行なう。
If the silent timer is not cleared, that is, if there is no signal on the common transmission path for a long time, the communication device STA that has the silent timer that timed out first acquires the transmission right and transmits the data to be transmitted. If there is data to be transmitted, the data is transmitted, and if there is no data to be transmitted, dummy data is transmitted.

送信権を取得した通信装置STAからのデータ
の送信終了により共通の伝送路が無信号状態とな
れば、通信装置STA1〜STAoのサイレントタイ
マーおよびその設定時間Ttを所定の演算式に従
つて求め直した自順タイマーが同時にスタートす
る。
When the common transmission path becomes a no-signal state due to the completion of data transmission from the communication device STA that has acquired the transmission right, the silent timer of the communication devices STA 1 to STA o and its set time T t are set according to a predetermined calculation formula. The self-sequence timer that was recalculated starts at the same time.

〔実施例〕〔Example〕

以下、実施例を示す図によつて本発明の詳細を
説明する。
Hereinafter, details of the present invention will be explained with reference to figures showing examples.

第2図は、制御装置の構成を示すブロツク図で
あり、マイクロコンピユータ(以下、MCP)お
よびメモリ等を主体とする制御ユニツト(以下、
BCT)11と、各複数のアナログ入力AI、アナロ
グ出力AO、または、デイジタル入力DI、デイジ
タル出力DOに対応する各回路を有する入出力ユ
ニツト(以下、IOU)21〜2oとが、母線1a1
より接続され、BCT11とIOU21〜2oとの間の
データ授受により、各入力AI、DIに応じた制御
演算をBCT11中のMCPの行なうと共に、これの
結果をIOU21〜2oを介し各出力AO、DOとして
送出し、図上省略した空調機器等の局部的制御を
行なつている。
FIG. 2 is a block diagram showing the configuration of the control device, which includes a control unit (hereinafter referred to as "MCP") mainly composed of a microcomputer (hereinafter referred to as "MCP") and a memory.
BCT) 1 1 and input/output units (hereinafter referred to as IOUs) 2 1 to 2 o each having circuits corresponding to a plurality of analog inputs AI, analog outputs AO, digital inputs DI, and digital outputs DO are connected to the bus line. 1a1 , and by data exchange between BCT11 and IOU21 ~ 2o , the MCP in BCT11 performs control calculations according to each input AI and DI, and the results are sent to IOU21 ~2o. It sends out the outputs AO and DO through o , and performs local control of air conditioning equipment, etc., which are omitted in the diagram.

また、同様にIOUを有する複数のBCT12〜1
が共通の伝送路31により接続され、相互間のデ
ータ送受信を行なつていると共に、若干遠距離の
BCT1o以降とは、これらの伝送路32と中継ユ
ニツト以下、REP4を介して接続され、BCT11
〜1nおよびBCT1o以降相互間においてデータ
送受信が行なわれるものとなつている一方、大形
電子計算機等の主制御装置(以下、MCT)5か
ら各部へ至る主幹データ伝送路6に対しては、中
継およびタイムスケジユール制御機能を有するゲ
ートウエイ以下、GW7を介して伝送路31が接
続されており、MCT5とBCT11〜1o等とのデ
ータ伝送速度が異なつてもGW7がこれらの相互
中継を行なうと共に、MCT5または主幹データ
伝送路6の障害により、MCT5からの指令が受
信不能となれば、タイムスケジユール制御等の機
能をGW7が代行し、BCT11〜1o等の制御動作
に支障を生じないものとなつている。
In addition, multiple BCT1 2 to 1 having IOU similarly
n are connected by a common transmission path 3 1 , and transmit and receive data between each other, and
BCT1 o and beyond are connected to these transmission lines 3 2 and the relay unit through REP4, and are connected to BCT1 1
~ 1n and BCT1o , data is transmitted and received between each other, while the main data transmission path 6 from the main control device (hereinafter referred to as MCT) 5 of a large computer etc. to each part is , gateway with relay and time schedule control functions, transmission line 3 1 is connected via GW 7, and even if the data transmission speeds of MCT 5 and BCT 1 1 to 1 o , etc. are different, GW 7 can relay these mutually. At the same time, if commands from the MCT 5 cannot be received due to a failure in the MCT 5 or the main data transmission line 6, the GW 7 will take over functions such as time schedule control, causing problems in the control operations of the BCTs 1 to 1 o , etc. It has become something that does not exist.

したがつて、BCT11〜1o等は、MCT5から
与えられる制御上の基本データに基づき、局部的
な制御を行ない、この状況をMCT5へ送信して
おり、MCT5においては、全般的な制御状況の
設定、変更および監視が行なえるものとなつてい
る一方、MCT5とのデータ送受信が不能となつ
ても、GW7からの指令に応じてBCT11〜1o
が局部的制御を行なうため、全般的な制御不能を
生じない。
Therefore, BCT1 1 to 1 o , etc. perform local control based on the basic control data given from MCT5, and send this status to MCT5. On the other hand, even if data transmission/reception with MCT5 becomes impossible, BCT11 ~ 1o etc. perform local control according to commands from GW7, so overall control is possible. No loss of control will occur.

なお、BCT11〜1o、GW7等には、手持ち形
の操作表示器(以下、HMMI)8の接続および
装着が自在となつており、コネクタにより
HMHI8を接続すれば、内部回路を経て伝送路
1,32へ接続され、これを介する任意なユニツ
トとのデータ送受信により、BCT11〜1o等、
およびGW7に対する指令、データの設定、変
更、ならびに、これらの動作状況監視が行なえる
ものとなつている。
In addition, a hand-held operation display device (hereinafter referred to as HMMI) 8 can be freely connected and attached to the BCT11 to 1o , GW7, etc., and can be connected with a connector.
When HMHI8 is connected, it is connected to transmission lines 3 1 and 3 2 via the internal circuit, and by sending and receiving data with any unit via this, BCT 1 1 to 1 o , etc.
It is also possible to set and change commands, data, and monitor the operating status of the GW7.

このような構成において、BCT11〜1o、GW
7、HMMI8間のデータの送受信は、これらを
いずれも同等の通信装置以下、STAとして考え
た場合、第1図を参照として以下に説明するよう
な方式で行なわれる。
In such a configuration, BCT1 1 ~ 1 o , GW
Data transmission and reception between 7 and HMMI 8 is performed in the manner described below with reference to FIG. 1, assuming that these are all equivalent communication devices or STA.

すなわち、電源投入または初期状態設定等の各
STA(STA1〜STAo)の同時「START」に応じ
(第1図に示すt0時点)、各STA1〜STAoが備え
る無信号時間監視用のサイレントタイマーが同時
にスタートする。STA1〜STAoのサイレントタ
イマーには、後述する自順タイマーへの最大設定
時間以上であることを条件として、自己の優先順
位を定めるための互いに異なる固定的な設定時間
TS1〜Tsoが定められている。この例では、TS1
Tsoの順に、すなわちSTA1〜STAoの順に、その
サイレントタイマーの設定時間Tsが長くなつて
いる。
In other words, when turning on the power or setting the initial state, etc.
In response to the simultaneous "START" of the STAs (STA 1 to STA o ) (time t0 shown in FIG. 1), the silent timers for monitoring no-signal time provided in each STA 1 to STA o start simultaneously. The silent timers of STA 1 to STA o have fixed set times that are different from each other to determine their own priorities, provided that the time is longer than the maximum set time for the self-order timer described later.
T S1 to T so are determined. In this example, T S1 ~
The set time T s of the silent timer increases in the order of T so , that is, in the order of STA 1 to STA o .

各サイレントタイマーがスタートした後、最初
に、STA1のサイレントタイマーがタイムアツプ
する(t1時点)。STA1は、このサイレントタ
イマーのタイムアツプに応じて、送信権を取得
し、後述する自順演算を行なつたうえ、保有して
いるデータSD1の送信を行なう。他のSTA2
STAoは、STA1からの送信データを受信し、自
己の保有するサイレントタイマーの計時をクリア
すると共に、後述する自順演算を行なう。
After each silent timer starts, first, the silent timer of STA 1 times up (at time t1). In response to the time-up of the silent timer, STA 1 acquires the transmission right, performs a self-sequence calculation to be described later, and then transmits the data SD1 that it holds. Other STA 2 ~
STA o receives the transmission data from STA 1 , clears its own silent timer, and performs a self-sequence calculation to be described later.

そして、STA1からのデータSD1の送信が終
了して(t2時点)、共通の伝送路が無信号状態
となれば、STA1〜STAoは、先の自順演算によ
り互いに異なるものとしてその設定時間Tt1〜Tto
を求めた自順タイマーを同時にスタートすると共
に、自己のサイレントタイマーを同時にスタート
する。
Then, when the transmission of data SD1 from STA 1 is completed (at time t2) and the common transmission path becomes a no-signal state, STA 1 to STA o are set as different from each other by the previous self-order calculation. Time T t1 ~ T to
At the same time, the self-order timer that was requested for is started, and its own silent timer is started at the same time.

この時、STA1が送信すべきデータを有してい
ないものとすれば、設定時間Tt1の次の設定時間
Tt2が最短とされている自順タイマーのタイムア
ツプに応じて(t3時点)、STA2が送信権を取
得し、自己のサイレントタイマーをクリアすると
共に、後述する自順演算を行なつたうえ、データ
SD2の送信を行なう。他のSTA1、STA3
STAoは、STA2からの送信データを受信し、自
己の保有するサイレントタイマーおよび自順タイ
マーの計時をクリアすると共に、後述する自順演
算を行なう。
At this time, if STA 1 does not have any data to send, the next set time after the set time T t1
In response to the time-up of the self-order timer whose T t2 is the shortest (at time t3), STA 2 acquires the transmission right, clears its own silent timer, performs the self-order calculation described below, and data
Perform SD2 transmission. Other STA 1 , STA 3 ~
STA o receives the transmission data from STA 2 , clears its own silent timer and self-sequential timer, and performs self-sequential calculations to be described later.

そして、データSD2の送信が終了して(t4
時点)、共通の伝送路が無信号状態となれば、
STA1〜STAoは、先の自順演算により互いに異
なるものとしてその設定時間Tt1〜Ttoを求め直し
た自順タイマーを同時にスタートすると共に、自
己のサイレントタイマーを同時にスタートする。
Then, the transmission of data SD2 is completed (t4
time), if the common transmission path becomes a no-signal state,
STA 1 to STA o simultaneously start self-sequential timers whose set times T t1 to T to have been recalculated as being different from each other through the previous self-sequential calculation, and simultaneously start their own silent timers.

以下同様動作を繰り返し、各STAが送信すべ
きデータを1つずつ保有しているものとすれば、
STA3〜STAoが順次に送信権を取得し、データ
SD3〜SDnの送信が行なわれるものとなる。
Assuming that the same operation is repeated and each STA has one piece of data to send,
STA 3 to STA o sequentially acquire transmission rights and send data.
Transmission of SD3 to SDn will be performed.

なお、上述において、例えば、データSD3の
送信が終了しt6時点、共通の伝送路が無信号状
態となり、この無信号状態が長く続くものとすれ
ば、最初にタイムアツプしたサイレントタイマー
を保有するSTAが、すなわちそのサイレントタ
イマーの設定時間Tsが一番短いSTA1が送信権の
取得を行ない、その時点で送信すべきデータを有
していない場合にはダミーデータを送信する。
In addition, in the above, for example, if the common transmission path becomes a no-signal state at time t6 after the transmission of data SD3 ends, and this no-signal state continues for a long time, the STA that has the silent timer that timed out first will That is, the STA 1 whose silent timer has the shortest set time T s acquires the transmission right, and if it has no data to transmit at that time, it transmits dummy data.

すなわち、STA1〜STAoが送信すべきデータ
を有さず全ての自順タイマーがタイムアツプする
と、これ以降、最初にタイムアツプしたサイレン
トタイマーを有するSTAが送信権を取得するも
のとなる。つまり、一巡してもSTA1〜STAo
送信すべきデータがない場合、すなわち差し迫つ
たデータがない場合には、サイレントタイマーの
設定時間の一番短いSTA1が第1優先順位とさ
れ、この第1優先順位のSTA1に必ず送信権が戻
されるようになる。
That is, when STA 1 to STA o have no data to transmit and all self-order timers time up, the STA with the silent timer that times up first acquires the transmission right. In other words, if there is no data to be sent to STA 1 to STA o after one round, that is, if there is no urgent data, STA 1 with the shortest silent timer setting time is given the first priority. The transmission right is always returned to STA 1 having the first priority.

上述した通信方式において、各自順タイマーへ
の設定時間Tt1〜Ttoは、下記(1)式に従う自順演算
により求められる。
In the above-mentioned communication system, the set times T t1 to T to for each sequential timer are determined by a sequential calculation according to the following equation (1).

Tt=TT×Tw×P ……(1) 但し、TT:送信権取得の順位(自順) TW:データ1ワード分の伝送時間例えば、Tw
=2.3msec P:CPUの処理所要時間に応じて定める係数例
えば、P=3 Tw×P:1タイムスロツト 上記(1)式において、自順TTは、STA1〜STAo
の接続順位等にしたがつて固定的に定められるセ
ンダアドレスSA、今まで送信権を占有していた
もののカレントアドレスCA等に基づき、STA1
〜STAo毎に定められる。
T t = TT×Tw×P ……(1) However, TT: Order of transmission right acquisition (own order) TW: Transmission time for one word of data For example, Tw
= 2.3 msec P: Coefficient determined according to the processing time of the CPU, for example, P = 3 Tw x P: 1 time slot In the above equation (1), the auto-sequential TT is STA 1 to STA o
Based on the sender address SA which is fixedly determined according to the connection order etc. of STA 1
~Determined for each STA o .

GW7、HMMI8、BCT11〜1oについて言
えば、先ず、各々のセンダアドレスSAを次式に
より定める。
Regarding GW7, HMMI8, and BCT11 to 1o , first, each sender address SA is determined by the following formula.

〔GW〕[GW]

SA=1×4×m ……(2) 但し、m=1、2…31 〔HMMI〕 SA=4×MA−1+4×MN×m ……(3) 但し、m=1、2…30/MN MA:物理的アドレス MN:接続実装台数 〔BCT〕 SA=2×PA ……(4) 但し、PA:物理的アドレス 以上の(2)〜(4)式により求めたSAに基づき、
各々の自順TTを次式により求める。
SA=1×4×m...(2) However, m=1, 2...31 [HMMI] SA=4×MA-1+4×MN×m...(3) However, m=1, 2...30/ MN MA: Physical address MN: Number of connected devices [BCT] SA = 2 × PA ... (4) However, PA: Physical address Based on the SA obtained from the above equations (2) to (4),
Find each self-sequence TT using the following formula.

〔GW〕[GW]

SA≧CAのとき、 TT=SA−CA+1 ……(5A) SA<CAのとき TT=TSnax−CA+SA+1 ……(5B) 但し、TSnax:最大自順 〔HMMI〕 SA≧CAのとき、 TT=SA−CA+1 ……(6A) SA<CAのとき TT=TSnax−CA+SA+1 ……(6B) 〔BCT〕 SA≧CAのとき、 TT=SA−CA+1 ……(7A) SA<CAのとき TT=TSnax−CA+SA+1 ……(7B) したがつて、5A〜7B式により求めた自順TT
を用いて(1)式の演算を行なうことにより、各々の
自順タイマーへ設定する時間Ttが定まる。
When SA≧CA, TT=SA−CA+1 …(5A) When SA<CA, TT=TS nax −CA+SA+1 …(5B) However, TS nax : Maximum automatic order [HMMI] When SA≧CA, TT =SA−CA+1 …(6A) When SA<CA TT=TS nax −CA+SA+1 …(6B) [BCT] When SA≧CA, TT=SA−CA+1 …(7A) When SA<CA TT =TS nax −CA+SA+1 ...(7B) Therefore, the self-sequential TT obtained from formulas 5A to 7B
By performing the calculation of equation (1) using , the time Tt to be set for each self-order timer is determined.

これにより、自順タイマーの設定時間TtがGW
7、HMMI8、BCT11〜1o毎の重要度および
送信権取得の要求発生頻度等に応じ、合理的に定
められる。
As a result, the setting time T t of the self-ordering timer becomes GW
7. HMMI8, BCT1 1 to 1 It is determined rationally according to the importance of each o and the frequency of requests to acquire transmission rights.

以上に対し、第1図のサイレントタイマーへの
設定時間Tsは、次式により固定的に定められる。
In contrast to the above, the set time T s to the silent timer in FIG. 1 is fixedly determined by the following equation.

Ts=TSmax+SA×Tw×P ……(8) なお、第1図においては、説明を容易にするた
めに、STA1〜STAoはそれぞれ一つしかセンダ
アドレスSAを有さず、しかもセンダアドレスSA
がSTA1〜STAoの順で大きくなるものとしてい
る。
T s = TSmax + SA × Tw × P ... (8) In addition, in Fig. 1, for ease of explanation, each of STA 1 to STA o has only one sender address SA, and the sender address S.A.
is assumed to increase in the order of STA 1 to STA o .

第3図は、STA1〜STAoのCPUによる送受信
制御状況の総合的なフローチヤートであり、第1
図の「START」に応じて実行される。
Figure 3 is a comprehensive flowchart of the transmission/reception control status by the CPUs of STA 1 to STA o .
It is executed according to "START" in the figure.

すなわち、CPUにより構成したサイレントタ
イマーへ(8)式のTsを設定のうえ、「サイレントタ
イマー・スタート」101を行ない、「サイレントタ
イマー・アウト?」102がN(NO)の間は、伝送
路3に介する「信号受信?」111のNを介してス
テツプ102以降を反復し、ステツプ102がNかつス
テツプ111がYYESとなれば、「サイレントタイマ
ー・クリア」112を行なつてから、ステツプ111に
より受信した内容が全体に対するグローバル・メ
ツセージ(以下、GL)、いずれかに対して指令を
与えるコマンド・メツセージ(以下、CD)、また
は、いずれかに対しデータ送信を要求するリクエ
スト・メツセージ(以下、RQ)、あるいは、単
に同期用のダミー・メツセージであるかを、「GL
or CD or RQ?」113により判別し、これがYで
あれば、受信したメツセージへ付加されているカ
レントアドレスCAに応じ、TTを求める「自順
演算」114を(1)〜(7B)式により行ない、更に、
受信したメツセージへ付加されている宛先アドレ
スコードにより「自己宛?」121を判別し、これ
のYに応じて「受信処理」122を行なうのに対し、
ステツプ121がNのときは「モニタ処理」123を行
なう。
That is, after setting Ts of formula (8) to the silent timer configured by the CPU, "silent timer start" 101 is performed, and while "silent timer out?" 102 is N (NO), the transmission line 3 Step 102 and subsequent steps are repeated via N of "Signal Reception?" The content is a global message (hereinafter referred to as GL) for all, a command message (hereinafter referred to as CD) that gives a command to one of them, or a request message (hereinafter referred to as RQ) that requests data transmission to one of them. , or simply a dummy message for synchronization.
Or CD or RQ? ” 113, and if this is Y, perform “auto-order calculation” 114 to calculate TT according to the current address CA added to the received message using equations (1) to (7B), and further,
``Addressed to self?'' 121 is determined based on the destination address code added to the received message, and ``reception processing'' 122 is performed according to Y.
When step 121 is N, "monitor processing" 123 is performed.

一方、ステツプ102がYとなれば、自己が送信
権の取得を行なえるため、「CA←SA」131により
自己のセンダアドレスSAをカレントアドレスCA
とし、ステツプ114と同様に自順演算を行なう。
On the other hand, if the result in step 102 is Y, the sender can acquire the transmission right, so it changes its own sender address SA to the current address
Then, similar to step 114, auto-sequential calculations are performed.

ついで、自己に「送信データあり?」133をチ
エツクし、これがNであれば、他に対し同期状態
を維持するための「ダミー・メツセージ送信準
備」141を行なつてから、「送信処理」142を実行
するが、ステツプ133がYのときは直ちにステツ
プ142へ移行する。
Next, it checks "Is there data to send?" 133 for itself, and if it is N, performs "dummy message transmission preparation" 141 to maintain synchronization with others, and then "transmission processing" 142. However, if step 133 is Y, the process immediately moves to step 142.

以上のステツプ122、123、142中いずれかの実
行を終了すると、待機状態へ入り、ステツプ114
または132により求めたTTに基づく設定時間Tt
により、CPU中へ構成した自順タイマーをセツ
トし「自順タイマー・スタート」151を行なうと
共に、ステツプ101と同じく「サイレントタイマ
ー・スタート」152を行ない、「自順タイマー・タ
イムアウト?」153のYを介し、ステツプ133と同
じく「送信データあり?」154をチエツクし、こ
れがNであれば、「サイレントタイマー・タイム
アウト?」155のNを前提とし、ステツプ111と同
じく「信号受信?」162をチエツクし、これがN
の間はステツプ153以降を反復し、ステツプ162が
Yとなるのに応じてステツプ151、152でスタート
させた「各タイマー・クリア」163を行ない、ス
テツプ162により受信したデータの宛先が「自己
宛?」164をステツプ121と同じく判別し、これが
Yのときは「自順演算」183を行なつたうえステ
ツプ122へ戻るのに対し、ステツプ164のNでは
「自順演算」184を行なつたうえステツプ123へ戻
る。
When the execution of any one of the above steps 122, 123, and 142 is completed, it enters the standby state and goes to step 114.
Or setting time Tt based on TT obtained by 132
Sets the self-sequential timer configured in the CPU and performs "Self-sequential timer start" 151, and also performs "Silent timer start" 152 in the same manner as step 101, and returns Y for "Self-sequential timer timeout?" 153. As in step 133, check ``Is there data to send?'' 154, and if this is N, assume that ``Silent timer timeout?'' 155 is N, and check ``Signal received?'' 162 as in step 111. And this is N
During this time, steps 153 and subsequent steps are repeated, and when step 162 becomes Y, "each timer clear" 163 started in steps 151 and 152 is performed, and in step 162 the destination of the received data is "self-addressed". ?'' 164 is determined in the same way as in step 121, and when it is Y, the ``auto-order operation'' 183 is performed and the process returns to step 122, whereas in the case of N in step 164, the ``auto-order operation'' 184 is performed. Go back to step 123.

また、ステツプ162がNの間にステツプ155がY
となれば、「CA←SA」171により自己のセンダア
ドレスSAをカレントアドレスCAとしたうえ、
「送信データあり?」172のチエツク、「ダミー・
メツセージ送信準備」173、「自順演算」174を行
なつた後、ステツプ142へ戻る。
Also, while step 162 is N, step 155 is Y.
Then, set own sender address SA as the current address CA by "CA←SA" 171, and
“Is there data to be sent?” 172 Check, “Dummy
After performing "message transmission preparation" 173 and "self-sequence calculation" 174, the process returns to step 142.

但し、サイレントタイマーの設定時間Tsと自
順タイマーの設定時間Ttとは、Ts>Ttの関係と
なつており、ステツプ155よりもステツプ153が先
にYとなり、これに応ずるステツプ154のチエツ
クがYであれば、「サイレントタイマー・クリア」
185を行なつたうえ、「CA←SA」181により自己
のセンダアドレスSAをカレントアドレスCAとし
てセツトした後、「自順演算」182を行ない、ステ
ツプ142へ移行するため、自順タイマーのタイム
アウトにしたがつて送信権の取得がなされ、ステ
ツプ181により定めたカレントアドレスCAを付加
したデータがステツプ142により送信される。
However, the setting time T s of the silent timer and the setting time T t of the automatic timer have a relationship of T s > T t , so that step 153 becomes Y before step 155, and step 154 corresponding to this becomes Y. If the check is Y, "Silent timer clear"
After performing step 185 and setting its own sender address SA as the current address CA with "CA←SA" 181, it performs "self-sequence operation" 182 and moves to step 142, so the self-sequence timer times out. Therefore, the transmission right is acquired, and the data to which the current address CA determined in step 181 is added is transmitted in step 142.

以上説明したように、本実施例によると、自順
タイマーを設けることにより、優先順位の低い
STAがデータをなかなか送れないという問題を
解消することができ、サイレントタイマーを設け
ることにより、差し迫つたデータがない場合には
優先順位の高い通信装置STAからデータの送信
を再開させることができるようになり、通信上の
空白時間を短縮し、全般的に送信すべきデータの
発生から送信開始までの時間を短縮することがで
きるようになる。
As explained above, according to this embodiment, by providing a self-order timer,
This solves the problem of STA not being able to easily send data, and by providing a silent timer, if there is no urgent data, data transmission can be restarted from the communication device STA with a higher priority. This makes it possible to shorten communication idle time and generally shorten the time from the generation of data to be transmitted to the start of transmission.

更に、STA1〜STAoが各々同等の機能を有す
るため、いずれかに障害が生じても全体としての
機能が維持され、信頼性が向上すると共に、送信
権の授受に特別な信号の送受信を要さず、全般的
な送信速度が向上する。
Furthermore, since STA 1 to STA o each have equivalent functions, even if one of them fails, the overall function is maintained, improving reliability, and it is not necessary to send and receive special signals to give and receive transmission rights. This improves overall transmission speed.

但し、第2図の構成は、状況に応じて定めれば
よく、第3図においては、状況により各ステツプ
を同等な他のものと置換し、または、順序を入れ
替え、あるいは、不要なものを省略しても同様で
ある等、種々の変形が自在である。
However, the configuration of Figure 2 can be determined depending on the situation, and in Figure 3, depending on the situation, each step may be replaced with another equivalent step, the order may be changed, or unnecessary steps may be removed. Various modifications are possible, such as the same effect even if omitted.

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

以上説明したことから明らかなように本発明に
よれば、簡単な構成により、送信権の授受が確実
になされ、全般的な通信速度が向上すると共に、
全体としての信頼性が向上し、共通の伝送路を用
いる各種のデータ通信において顕著な効果が得ら
れる。
As is clear from the above description, according to the present invention, transmission rights can be reliably given and received with a simple configuration, and the overall communication speed is improved.
Overall reliability is improved, and remarkable effects can be obtained in various data communications using a common transmission path.

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

図は本発明の実施例を示し、第1図は送信権の
取得状況を示す要部のタイミングチヤート、第2
図は制御装置のブロツク図、第3図は制御状況の
フローチヤートである。 11〜1o……BCT(制御ユニツト)、1a1〜1ao
……母線、2、〜2oIOU(入出力ユニツト)、31
2……伝送路、8……HMMI(操作表示器)、
TS1〜Tso……各サイレントタイマーの設定時間、
Tt1〜Tto……各自順タイマーの設定時間。
The figures show an embodiment of the present invention, and FIG. 1 is a timing chart of the main part showing the acquisition status of transmission rights, and FIG.
The figure is a block diagram of the control device, and FIG. 3 is a flowchart of the control situation. 1 1 ~ 1 o ...BCT (control unit), 1a 1 ~ 1a o
...Bus bar, 2, ~2 o IOU (input/output unit), 3 1 ,
3 2 ...Transmission line, 8...HMMI (operation display),
T S1 ~ T so ... Setting time of each silent timer,
T t1 ~ T to ... Setting time of each individual order timer.

【特許請求の範囲】[Claims]

1 信号伝送方向が互いに逆向きである2つの環
状伝送路に1つの制御ノードと複数の通信ノード
信号中継部とを配置してなるループネツトワーク
であつて;前記制御ノードと前記複数の通信ノー
ド信号中継部のそれぞれは、2つの伝送路にそれ
ぞれ対応した第1の入力端子および第1の出力端
子と第2の入力端子および第2の出力端子を有す
るとともに;前記制御ノードは、電源投入直後は
通信信号に対しては第1の入出力端子間および第
2の入出力端子間が共に内部接続されたバイパス
状態になつているとともに、制御信号発生器と、
この制御信号発生器を第1の出力端子または第2
の出力端子のいずれか一方へ接続することにより
制御信号を伝送路へ送出し、送出した制御信号が
所定期間(例えばループ一巡に要する期間よりも
若干大き目の期間)経過後も対応する入力端子に
入力されない場合には他方の出力端子から制御信
号を送出させる切換手段と、第1の出力端子また
は第2の出力端子のいずれか一方の出力端子に制
御信号発生器が接続されている場合においてその
出力端子に対応する入力端子に制御信号入力があ
るまでいずれか他方の出力端子とそれに対応する
入力端子との間を制御信号が通過可能に内部接続
し、そのいずれか一方の出力端子に対応する入力
端子への制御信号入力がいずれか他方の出力端子
に対応する入力端子への制御信号入力よりも先で
あるときはその内部接続状態を解消し、逆に後で
1. A loop network in which one control node and a plurality of communication node signal relay sections are arranged on two circular transmission paths whose signal transmission directions are opposite to each other; the control node and the plurality of communication nodes; Each of the signal relay sections has a first input terminal, a first output terminal, a second input terminal, and a second output terminal that respectively correspond to two transmission paths; is in a bypass state in which both the first input/output terminal and the second input/output terminal are internally connected for communication signals, and the control signal generator;
This control signal generator can be connected to the first output terminal or the second output terminal.
By connecting to either one of the output terminals of the , a control signal is sent to the transmission line, and the sent control signal is sent to the corresponding input terminal even after a predetermined period of time (for example, a period slightly longer than the period required for one loop). a switching means for transmitting the control signal from the other output terminal when the input is not input; and a switching means for transmitting the control signal from the other output terminal when the control signal is not input; Until a control signal is input to the input terminal corresponding to the output terminal, one of the other output terminals is internally connected to the corresponding input terminal so that the control signal can pass through, and the output terminal corresponds to one of the output terminals. If the control signal input to the input terminal is earlier than the control signal input to the input terminal corresponding to the other output terminal, the internal connection state is canceled, and vice versa.

Claims (1)

信権を取得してデータの送信を行なうものとし、 自己のサイレントタイマーの計時中に他からの
送信データを受信すれば、また自己のサイレント
タイマーの計時中にデータを送信すれば、前記各
通信装置STA1〜STAoはそのサイレントタイマ
ーの計時をクリアするものとし、 自己の自順タイマーの計時中に他からの送信デ
ータを受信すれば、前記各通信装置STA1
STAoはその自順タイマーの計時をクリアするも
のとし、 前記サイレントタイマーの計時がクリアされな
い場合には、最初にタイムアツプしたサイレント
タイマーを保有する通信装置STAが送信権を取
得して、送信すべきデータを有する場合にはその
データの送信を行なうものとし、送信すべきデー
タを有さない場合にはダミーデータの送信を行な
うものとし、 送信権を取得した通信装置STAからのデータ
の送信終了により前記共通の伝送路が無信号状態
となるのに応じ、前記各サイレントタイマーおよ
びその設定時間Ttを所定の演算式に従つて求め
直した前記各自順タイマーを同時にスタートさせ
るようにした ことを特徴とする共通伝送路による通信方式。
The data transmission shall be performed after acquiring the trust authority, and if it receives transmission data from another while its own silent timer is counting, or if it transmits data while its own silent timer is counting, each of the above-mentioned communications The devices STA 1 to STA o shall clear the timing of their silent timers, and if they receive transmission data from another while their own self-order timers are counting, each of the communication devices STA 1 to STA o clears the timing of its silent timer.
STA o shall clear the timing of its self-order timer, and if the timing of the silent timer is not cleared, the communication device STA that owns the silent timer that timed out first acquires the transmission right and should transmit. If there is data, that data shall be transmitted; if there is no data to be transmitted, dummy data shall be transmitted; and upon completion of data transmission from the communication device STA that has acquired transmission rights. In response to the common transmission line becoming in a no-signal state, each of the silent timers and the individual sequential timers whose set time T t is recalculated according to a predetermined calculation formula are started simultaneously. A communication method using a common transmission path.
JP62145321A 1987-06-12 1987-06-12 Communication system by common transmission line Granted JPS63310241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62145321A JPS63310241A (en) 1987-06-12 1987-06-12 Communication system by common transmission line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62145321A JPS63310241A (en) 1987-06-12 1987-06-12 Communication system by common transmission line

Publications (2)

Publication Number Publication Date
JPS63310241A JPS63310241A (en) 1988-12-19
JPH0529178B2 true JPH0529178B2 (en) 1993-04-28

Family

ID=15382456

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62145321A Granted JPS63310241A (en) 1987-06-12 1987-06-12 Communication system by common transmission line

Country Status (1)

Country Link
JP (1) JPS63310241A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0773272B2 (en) * 1989-04-12 1995-08-02 ダイキン工業株式会社 Air conditioner

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6012666B2 (en) * 1981-07-24 1985-04-02 株式会社日立製作所 Self-control method and device for distributed priority competition

Also Published As

Publication number Publication date
JPS63310241A (en) 1988-12-19

Similar Documents

Publication Publication Date Title
JPS6276840A (en) node device
JP2523882B2 (en) Data transmission equipment
US5724507A (en) Lan adapter for changing control signal to a value indicating silence when the control signal is changed into a value indicating occurrence of transfer request
US7987381B2 (en) Cyclemaster synchronization in a distributed bridge
US5469436A (en) Polling-type digital communications system having pseudo-balanced mode
JPH0529178B2 (en)
JP2001298466A (en) Interface link layer device and network setting method
JPS59114941A (en) Programmable controller
US6912210B1 (en) Data communication system and communication device used
JPH11284642A (en) Data transmission system, polling method, and polling frequency setting method
JPH0730576A (en) Transmission system
JPH09311843A (en) Client server type communication method and equipment therefor
JPH04103244A (en) Network monitor system
JP3212365B2 (en) Inviting Multiplexing Stations in Networks
JPS6245246A (en) Communication control equipment
KR940007156B1 (en) Processor synchronization method for communication network
JPH04368034A (en) Communication equipment
GB2493647A (en) Sending data and returning acknowledgements
JPH07202842A (en) Data transmission equipment
JPH022246A (en) Communication network control method
JPS58210739A (en) Data transmission controller
JPS62176236A (en) Method for preventing transmission error at reply packet transmission
JPH0245861B2 (en) DEETADENSOSOCHINOSEIGYOHOHO
JPS60177757A (en) Traffic control system of packet switching network
JPH0758999B2 (en) How to match clocks in communication network systems