JP5205915B2 - Synchronous transmission method for terminal device - Google Patents

Synchronous transmission method for terminal device Download PDF

Info

Publication number
JP5205915B2
JP5205915B2 JP2007275120A JP2007275120A JP5205915B2 JP 5205915 B2 JP5205915 B2 JP 5205915B2 JP 2007275120 A JP2007275120 A JP 2007275120A JP 2007275120 A JP2007275120 A JP 2007275120A JP 5205915 B2 JP5205915 B2 JP 5205915B2
Authority
JP
Japan
Prior art keywords
transmission
terminal device
device number
minimum
data
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.)
Active
Application number
JP2007275120A
Other languages
Japanese (ja)
Other versions
JP2009105626A (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.)
Meidensha Corp
Original Assignee
Meidensha 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 Meidensha Corp filed Critical Meidensha Corp
Priority to JP2007275120A priority Critical patent/JP5205915B2/en
Publication of JP2009105626A publication Critical patent/JP2009105626A/en
Application granted granted Critical
Publication of JP5205915B2 publication Critical patent/JP5205915B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、親局装置に複数の端末装置をLAN接続した通信システムにおいて、各端末装置間に設定される送信間隔、送信順位および送信周期で同期させる送信タイミングで各端末装置がデータを送信する同期送信方法に係り、特に1台の端末装置をLANから切り離し/復帰および増設するときの同期送信状態の確立に関する。   In a communication system in which a plurality of terminal devices are LAN-connected to a master station device, each terminal device transmits data at a transmission timing that is synchronized with a transmission interval, a transmission order, and a transmission cycle that are set between the terminal devices. The present invention relates to a synchronous transmission method, and particularly relates to establishment of a synchronous transmission state when one terminal device is disconnected / returned and added from a LAN.

図8は親局装置に複数の端末装置をLAN接続した通信システムの構成例を示す。親局装置100と端末装置1〜10は、10BASEのイーサネット(登録商標)でLAN接続され、各端末装置1〜10と親局装置100間のデータ送信および端末装置間のデータ送信を可能にする。   FIG. 8 shows a configuration example of a communication system in which a plurality of terminal devices are connected to a master station device by LAN. The master station device 100 and the terminal devices 1 to 10 are LAN-connected by 10BASE Ethernet (registered trademark) to enable data transmission between the terminal devices 1 to 10 and the master station device 100 and data transmission between the terminal devices. .

このような通信システムでは、端末装置と親局装置が一本の信号線を共有したデータ送信になり、各端末装置からの送信データが信号線上で衝突するのを避ける送信方式として、トークンと呼ばれる「送信権」データがネットワークを常に周回し、これを取り込んだ端末装置が送信権を得てデータ送信するトークン・パッシング・バス方式、または、各端末装置間に設定される送信間隔、送信順位および送信周期で同期させて各端末装置がデータを送信する同期送信方式がある。   In such a communication system, a terminal apparatus and a master station apparatus use data transmission that shares a single signal line, and a transmission method that avoids collision of transmission data from each terminal apparatus on the signal line is called a token. “Transmission right” data always circulates around the network, and the terminal device that captures the data obtains the transmission right and transmits data, or the transmission interval, transmission order, and There is a synchronous transmission method in which each terminal device transmits data in synchronization with a transmission cycle.

後者の同期送信方式では、トークン・パッシング・バス方式におけるトークンの周回制御と認識および送信権の取得アルゴリズムが不要になるもので、各端末装置1〜10の送信順位(1が最高位で、10が最低位)と送信間隔と送信周期が予め設定され、基準端末装置とされる端末装置1の送信タイミングを基準として、この送信タイミングから一定時間(送信間隔)Tms後に次順位の端末装置2が送信し、次順位の端末装置3が2×Tms後に送信するという、基準端末装置の送信タイミングを基準として、送信順位「n」の端末装置は(n−1)×Tms後に送信する。図9は、送信間隔が20ms、端末装置数10台、裕度100msとした場合の送信タイミングを示す。   In the latter synchronous transmission method, the token circulation control and recognition and transmission right acquisition algorithms in the token passing bus method are not required, and the transmission order of each terminal device 1 to 10 (1 is the highest rank, 10 ), The transmission interval, and the transmission cycle are set in advance, and the terminal device 2 of the next rank is set after a certain time (transmission interval) Tms from this transmission timing with reference to the transmission timing of the terminal device 1 that is the reference terminal device. The terminal device 3 of the transmission order “n” transmits after (n−1) × Tms on the basis of the transmission timing of the reference terminal device that the terminal device 3 of the next order transmits after 2 × Tms. FIG. 9 shows the transmission timing when the transmission interval is 20 ms, the number of terminal devices is 10 and the margin is 100 ms.

上記の同期送信方式やトークン・パッシング・バス方式により通信制御を行っている通信システムで、配線断や電源断により、1台の端末装置がネットワークから切り離されたり、その後に復帰させたり、新規の端末装置を増設するなど、端末装置の接続形態が変更された場合、送信データの衝突を回避した送信制御が必要となる。   In a communication system that performs communication control using the above synchronous transmission method or token passing bus method, one terminal device is disconnected from the network due to wiring disconnection or power supply disconnection, and then restored, or a new If the connection mode of the terminal device is changed, such as adding terminal devices, transmission control that avoids collision of transmission data is required.

この送信データの衝突を回避する送信制御には、トークン・パッシング・バス方式では、トークンの周回を基に親局の喪失や端末装置の存在等を認識し、自局の番地変更処理等を行う方法がある(例えば、特許文献1参照)。   In transmission control to avoid this transmission data collision, the token passing bus method recognizes the loss of the master station and the presence of the terminal device based on the circulation of the token, and performs address change processing of the own station. There exists a method (for example, refer patent document 1).

同期送信方式では、各端末装置には自局の送信タイミングを決定する自走タイマーをそれぞれ内蔵しており、基準端末装置の喪失等には自走タイマーの計時を基に独自に送信タイミングを決定し、送信タイミングの同期を得るようにしている。
特開平6−69940号公報
In the synchronous transmission method, each terminal device has a built-in self-running timer that determines the transmission timing of its own station, and the transmission timing is uniquely determined based on the time of the free-running timer when the reference terminal device is lost. The transmission timing is synchronized.
Japanese Patent Laid-Open No. 6-69940

同期送信方式における送信タイミング制御には、以下の同期制御状態の喪失の問題があった。   The transmission timing control in the synchronous transmission method has the following problem of loss of the synchronous control state.

(問題点1)基準となる端末装置が途中で消失した場合(LANから切り離された場合)
送信タイミングの基準である、端末装置が運用途中で消失した場合、基準はなくなるが、端末装置内で持っている自走タイマーで送信タイミングを算出し送信する。この場合、各端末装置が自走で送信タイミングを算出しているため、自走タイマーの計時誤差により、時間が立つにつれて送信間隔にずれが生じ、送信順位を維持した送信は保障できない。
(Problem 1) When the reference terminal device disappears in the middle (when disconnected from the LAN)
When the terminal device, which is a reference for transmission timing, disappears during operation, the reference is lost, but the transmission timing is calculated and transmitted by a self-running timer held in the terminal device. In this case, since each terminal device calculates the transmission timing by self-running, the transmission interval shifts as time elapses due to the timing error of the free-running timer, and transmission with the transmission order maintained cannot be guaranteed.

(問題点2)基準となる端末装置がシステム立ち上げ時に消失していた場合
送信タイミングの基準である、端末装置がシステム立ち上げ時に消失していた(最初から存在しない)場合は、基準端末装置が無いため、各端末装置内で持っている自走タイマーで独自に送信タイミングを算出し送信する。各端末装置が自走タイマーで送信タイミングを算出しているため、送信間隔を維持した端末装置番号順の送信は保障できない。
(Problem 2) When the terminal device used as a reference disappears at the time of system startup When the terminal device disappears at the time of system startup, which is a reference for transmission timing, it does not exist from the beginning. Therefore, the transmission timing is independently calculated and transmitted by the self-running timer in each terminal device. Since each terminal device calculates the transmission timing with a self-running timer, transmission in the order of terminal device numbers maintaining transmission intervals cannot be guaranteed.

(問題点3)基準となる端末装置が途中で繋がった場合
送信タイミングの基準である、端末装置が運用途中で消失、または、最初から存在しないで自走タイマーで送信タイミングを算出し送信している状態で、送信タイミングの基準である、端末装置がLANに繋がった場合、送信タイミングの基準ができ、各端末装置基準に合わせようとする。しかし、繋がるタイミングが端末装置10と端末装置2の間の期間であれば良いが、ほとんどが任意の場所になり、送信タイミングが正常になるまで時間を要する。
(Problem 3) When the terminal device used as a reference is connected in the middle The terminal device that is the reference for transmission timing is lost during operation, or the transmission timing is calculated with a self-propelled timer and does not exist from the beginning. When the terminal device, which is the reference for transmission timing, is connected to the LAN in a state in which the terminal device is connected, the reference for the transmission timing can be made, and an attempt is made to match each terminal device reference. However, the connection timing may be a period between the terminal device 10 and the terminal device 2, but most of the timing is arbitrary, and it takes time until the transmission timing becomes normal.

(問題点4)端末装置を増設する場合
システムの運用状態で増設する端末装置を直接に接続すると、伝送路上のデータ衝突を招くおそれがある。また、基準となる端末装置との同期送信状態の確立に失敗するおそれがある。
(Problem 4) In the case of adding a terminal device If a terminal device to be added is directly connected in the operating state of the system, there is a risk of data collision on the transmission path. Moreover, there is a possibility that establishment of a synchronous transmission state with a reference terminal device may fail.

本発明の目的は、端末装置の接続形態の変更にも、同期送信状態を速やかに確立できる端末装置の同期送信方法を提供することにある。   An object of the present invention is to provide a synchronous transmission method for a terminal device that can quickly establish a synchronous transmission state even when the connection form of the terminal device is changed.

前記の課題を解決する本発明は、LANに対して1台の端末装置を切り離し/復帰および増設するとき、各端末装置に設定される装置番号と、基準端末装置の最小装置番号との差を基に、各端末装置の送信タイミングを決定するようにしたもので、以下の方法を特徴とする。   The present invention that solves the above-mentioned problems is to calculate the difference between the device number set for each terminal device and the minimum device number of the reference terminal device when one terminal device is disconnected / returned and added to the LAN. The transmission timing of each terminal apparatus is determined based on the following method.

本発明の請求項1は、親局装置に複数の端末装置をLAN接続した通信システムにおいて、各端末装置間に設定される送信間隔、送信順位および送信周期で同期させて各端末装置がデータを送信する同期送信方法であって、
送信順位「1」に設定された基準端末装置がLAN上から消失した場合、
LAN上の最小端末装置番号の端末装置は、自装置番号が最小装置番号であることから新たな基準端末装置として認識し、自端末装置番号のタイミングで、自身に設定される送信順位、送信間隔、送信周期で送信を行う手順を有し、
他の端末装置は、新たな基準端末装置の送信タイミングを基準として個々に設定される送信順位、送信間隔で送信を行う手順を備え、
前記送信順位「1」に設定された基準端末装置がLAN上に最初から存在しない場合、
LAN上の最小端末装置番号の端末装置は、自装置番号が最小装置番号であることから基準端末装置として認識し、自端末装置番号のタイミングで、自身に設定される送信順位、送信間隔、送信周期で送信を行う手順を有し、
他の端末装置は、新たな基準端末装置の送信タイミングを基準として個々に設定される送信順位、送信間隔で送信を行う手順を備えると共に、
前記送信順位「1」に設定された基準端末装置がLANの運用途中に接続された場合、
基準端末装置は、自身に設定される送信間隔、送信順位および送信周期で送信を開始する手順を有し、
他の端末装置は、接続された基準端末装置を端末装置番号が最小値になることから認識し、基準端末装置による送信タイミングを基に各端末装置がその送信間隔、送信順位、送信周期で送信する手順を有することを特徴とする。
According to claim 1 of the present invention, in a communication system in which a plurality of terminal devices are LAN-connected to a master station device, each terminal device synchronizes data with a transmission interval, a transmission order, and a transmission cycle set between the terminal devices. A synchronous transmission method for transmitting,
When the reference terminal set to the transmission order “1” disappears from the LAN,
The terminal device with the smallest terminal number on the LAN recognizes it as a new reference terminal device because the own device number is the smallest device number, and the transmission order and transmission interval set for itself at the timing of the own terminal device number , Have a procedure to transmit in the transmission cycle,
The other terminal device includes a procedure for performing transmission at a transmission order and a transmission interval that are individually set based on the transmission timing of the new reference terminal device ,
When the reference terminal set to the transmission order “1” does not exist on the LAN from the beginning,
The terminal device with the smallest terminal number on the LAN is recognized as a reference terminal device because the own device number is the smallest device number, and the transmission order, transmission interval, and transmission set for itself at the timing of the own terminal device number. Has a procedure to send in a cycle,
The other terminal device includes a transmission order set individually based on the transmission timing of the new reference terminal device, and a procedure for performing transmission at a transmission interval.
When the reference terminal set to the transmission order “1” is connected during LAN operation,
The reference terminal device has a procedure for starting transmission at a transmission interval, a transmission order, and a transmission cycle set in itself,
Other terminal devices recognize the connected reference terminal device from the minimum terminal device number, and each terminal device transmits at its transmission interval, transmission order, and transmission cycle based on the transmission timing by the reference terminal device. It has the procedure to do.

本発明の請求項2は、前記LANに新たな端末装置を増設する場合、
増設する端末装置は、伝送路上に流れる送信データからLAN上の最小装置番号が何番であるかを認識し、自端末装置番号と最小装置番号の差より自身の送信タイミングを算出し、送信タイミングになったときにデータを送信する手順を有することを特徴とする。
According to claim 2 of the present invention, when a new terminal device is added to the LAN,
The terminal device to be added recognizes what the minimum device number on the LAN is from the transmission data flowing on the transmission line, calculates its own transmission timing from the difference between its own terminal device number and the minimum device number, and transmits the transmission timing. It has the procedure which transmits data when it becomes.

本発明の請求項3は、前記LANに新たな端末装置を増設する場合、
増設する端末装置は、伝送路上に流れる送信データからLAN上の最小装置番号が何番であるかを認識し、LANに接続した時点で自端末装置内で持っている送信タイミングでデータを送信し、自端末装置番号と最小装置番号の差より自身の送信タイミングを算出し、送信タイミングになったときにデータを送信する手順を有することを特徴とする。
According to claim 3 of the present invention, when a new terminal device is added to the LAN,
The terminal device to be added recognizes the minimum device number on the LAN from the transmission data flowing on the transmission line, and transmits the data at the transmission timing possessed by the terminal device when it is connected to the LAN. The method further comprises the steps of calculating its own transmission timing from the difference between its own terminal device number and the minimum device number and transmitting data when the transmission timing is reached.

本発明の請求項4は、前記基準端末装置よりも高い順位の端末装置を接続する場合、
接続された端末装置は、伝送路上に流れるデータをチェックし、最小装置番号が何番であるかを認識し、自端末装置が最小端末装置番号であった場合、それまで最小端末装置番号のデータを受信したときから自走タイマーで計時を開始し、この計時で次回の送信タイミングになったときに送信周期毎に送信する手順を有し、
それまで最小装置番号であった端末装置は、伝送路上に流れるデータをチェックし、自身より小さい最小装置番号の端末装置が接続されたことを認識しておき、この時点の次に最小装置番号のデータを受信したとき、自装置番号と最小装置番号の差より送信タイミングを算出し、送信タイミングになったときにデータを送信する手順を有し、
接続された端末装置およびそれまで最小装置番号であった端末装置以外の端末装置は、送信周期間で伝送路上に流れるデータをチェックし、認識していた最小装置番号より小さい最小装置番号を認識しておき、最小装置番号を認識した時点の次に最小装置番号のデータを受信したときに自装置番号と最小装置番号の差より送信タイミングを算出し、送信タイミングになったときにデータを送信する手順を有することを特徴とする。
According to a fourth aspect of the present invention, when a terminal device having a higher rank than the reference terminal device is connected,
The connected terminal device checks the data flowing on the transmission path, recognizes what the minimum device number is, and if the own terminal device is the minimum terminal device number, the data of the minimum terminal device number until then From the time when the self-propelled timer is received, and when it comes to the next transmission timing at this time, it has a procedure to transmit every transmission cycle,
The terminal device having the smallest device number until that time checks the data flowing on the transmission line, recognizes that the terminal device with the smallest device number smaller than itself has been connected, and after this point, When data is received, the transmission timing is calculated from the difference between the own device number and the minimum device number, and the procedure for transmitting the data when the transmission timing is reached,
Terminal devices other than the connected terminal device and the terminal device that had been the smallest device number until that time check the data that flows on the transmission line during the transmission cycle, and recognize the smallest device number that is smaller than the recognized smallest device number. The transmission timing is calculated from the difference between the own device number and the minimum device number when the data of the minimum device number is received after the time when the minimum device number is recognized, and the data is transmitted when the transmission timing is reached. It has a procedure.

本発明の請求項5は、前記基準端末装置よりも高い順位の端末装置を任意タイミングで接続する場合、
任意タイミングで接続された端末装置は、伝送路上に流れるデータをチェックし、最小装置番号が何番であるかを認識し、自端末装置が最小端末装置番号であった場合、自端末装置内の自走タイマーの計時を基に送信周期毎にデータを送信する手順を有し、
それまで最小装置番号であった端末装置は、伝送路上に流れるデータをチェックし、自身より小さい最小装置番号の端末装置が接続されたことを認識しておき、この時点の次に最小装置番号のデータを受信したとき、自装置番号と最小装置番号の差より送信タイミングを算出し、送信タイミングになったときにデータを送信する手順を有し、
任意タイミングで接続された端末装置およびそれまで最小装置番号であった端末装置以外の端末装置は、送信周期間で伝送路上に流れるデータをチェックし、認識していた最小装置番号より小さい最小装置番号を認識しておき、最小装置番号を認識した時点の次に最小装置番号のデータを受信したときに自装置番号と最小装置番号の差より送信タイミングを算出し、送信タイミングになったときにデータを送信する手順を有することを特徴とする。
According to a fifth aspect of the present invention, when a terminal device having a higher rank than the reference terminal device is connected at an arbitrary timing,
The terminal device connected at an arbitrary timing checks the data flowing on the transmission path, recognizes what the minimum device number is, and if the own terminal device is the minimum terminal device number, It has a procedure to send data every transmission cycle based on the time of the self-running timer,
The terminal device having the smallest device number until that time checks the data flowing on the transmission line, recognizes that the terminal device with the smallest device number smaller than itself has been connected, and after this point, When data is received, the transmission timing is calculated from the difference between the own device number and the minimum device number, and the procedure for transmitting the data when the transmission timing is reached,
Terminal devices connected at arbitrary timing and terminal devices other than the terminal device that had been the minimum device number until that time check the data flowing on the transmission line during the transmission period, and the minimum device number smaller than the recognized minimum device number When the data of the minimum device number is received next to the time when the minimum device number is recognized, the transmission timing is calculated from the difference between the own device number and the minimum device number. It has the procedure which transmits.

以上のとおり、本発明によれば、LANに対して1台の端末装置を切り離し/復帰および増設するとき、各端末装置に設定される装置番号と、基準端末装置の最小装置番号との差を基に、各端末装置の送信タイミングを決定するようにしたため、端末装置の接続形態の変更にも、同期送信状態を速やかに確立できる。   As described above, according to the present invention, when one terminal device is disconnected / returned and added to the LAN, the difference between the device number set for each terminal device and the minimum device number of the reference terminal device is calculated. Since the transmission timing of each terminal device is determined on the basis, the synchronous transmission state can be quickly established even when the connection mode of the terminal device is changed.

(実施形態1)
本実施形態は、送信タイミングの基準である端末装置1が消失(切り離し、機能喪失など)したときの同期送信方法である。
(Embodiment 1)
This embodiment is a synchronous transmission method when the terminal device 1 which is a reference of transmission timing is lost (disconnected, loss of function, etc.).

同期送信方式の通信システムにおける同期送信タイミングを図1に示す。送信タイミングの基準である、端末装置(送信順位「1」に設定された基準端末装置)1が運用途中で消失した場合、端末装置2は伝送路上に現れる送信データがもつ端末装置番号「1」が消失したことで、自身がLAN上の最小端末装置番号(新たな基準端末装置)になると認識し、自身に設定される送信順位、送信周期、送信間隔で送信を行う。   The synchronous transmission timing in the synchronous transmission communication system is shown in FIG. When the terminal device (reference terminal device set to the transmission order “1”) 1 that is a reference of transmission timing is lost during operation, the terminal device 2 has a terminal device number “1” included in transmission data appearing on the transmission path. Disappears, it recognizes that it becomes the minimum terminal device number (new reference terminal device) on the LAN, and performs transmission at the transmission order, transmission cycle, and transmission interval set for itself.

ただし、装置番号は変更しないため、端末装置2は自端末装置番号のタイミングで送信する。端末装置3〜10は、端末装置2を基準端末装置と見なし、その送信タイミングを基準として、(n−1)×Tms後に送信する。   However, since the device number is not changed, the terminal device 2 transmits at the timing of its own terminal device number. The terminal devices 3 to 10 regard the terminal device 2 as a reference terminal device, and transmit after (n−1) × Tms with reference to the transmission timing.

したがって、各端末装置は、端末装置1が存在すると仮定し、端末装置2を送信タイミングの基準端末装置として、各端末装置に個々に設定される送信順位、送信間隔を変えることなく送信を行う。この同期送信により、各端末装置では、その自走タイマーの誤差により時間が立つにつれ、送信間隔にずれが生じ端末装置番号順に送信できなくなるという、前記の問題点1が発生することなく、正常な同期送信が確保される。   Accordingly, each terminal device assumes that the terminal device 1 exists, and performs transmission without changing the transmission order and transmission interval individually set for each terminal device, with the terminal device 2 as a reference terminal device for transmission timing. With this synchronous transmission, each terminal device can operate normally without the above-mentioned problem 1 that the transmission interval is shifted and cannot be transmitted in the order of the terminal device numbers as time elapses due to the error of the self-running timer. Synchronous transmission is ensured.

(実施形態2)
本実施形態は、送信タイミングの基準である、端末装置1がLAN上に最初から存在しないときの同期送信方法である。
(Embodiment 2)
The present embodiment is a synchronous transmission method when the terminal device 1 does not exist on the LAN from the beginning, which is a reference for transmission timing.

実施形態1と同様に、LAN上で最小装置番号になる端末装置が送信タイミングの基準になるようにすることで、前記の問題点2が発生することなく、正常に同期送信が確保される。   As in the first embodiment, the terminal device having the smallest device number on the LAN is used as a reference for transmission timing, so that the synchronous transmission can be normally ensured without the problem 2.

ただし、各端末装置は、自装置番号が最小装置番号であること、最小装置番号が何番であるのを認識しなければならないため、認識するまでは正常な端末装置順位、間隔は実施できない。このため、各端末装置には、端末装置間の送信間隔、送信周期、最大端末装置数を固定値または可変値(任意設定)で持たせておくことで、自装置番号が最小装置番号であるか否かを認識する。   However, since each terminal device must recognize that its own device number is the minimum device number and what the minimum device number is, normal terminal device order and interval cannot be implemented until they are recognized. For this reason, each terminal device has its own device number as the minimum device number by giving the transmission interval between the terminal devices, the transmission cycle, and the maximum number of terminal devices as fixed values or variable values (arbitrary setting). Recognize whether or not.

・自装置番号が最小装置番号の端末装置の場合
(a)送信周期間、伝送路上に流れる送信データをチェックし、自装置番号が最小装置番号であることを認識する。
In the case of a terminal device whose own device number is the smallest device number (a) During the transmission period, the transmission data flowing on the transmission path is checked to recognize that the own device number is the smallest device number.

(b)装置内で持っている自走タイマーで送信周期毎にデータを送信する。   (B) Data is transmitted every transmission cycle by a self-running timer possessed in the apparatus.

端末装置2が最小装置番号の場合の同期送信タイミングを図2に示し、通信システムの起動後、3順目で正常な送信タイミングに修正できる。   The synchronous transmission timing when the terminal device 2 is the minimum device number is shown in FIG. 2 and can be corrected to normal transmission timing in the third order after the communication system is activated.

・自装置番号が最小装置番号でない端末装置の場合
(a)送信周期間、伝送路上に流れるデータをチェックし、最小装置番号が何番であるかを認識する。
In the case of a terminal device whose own device number is not the minimum device number (a) During the transmission period, the data flowing on the transmission path is checked to recognize what the minimum device number is.

(b)最小装置番号の送信データを受信したとき、自端末装置内で持っている自走タイマーを初期化する。   (B) When the transmission data of the minimum device number is received, the self-running timer possessed in the own terminal device is initialized.

(c)自装置番号と最小装置番号の差より、送信タイミングを算出する。   (C) The transmission timing is calculated from the difference between the own device number and the minimum device number.

(d)送信タイミングになったとき、送信する。   (D) Transmit when transmission timing is reached.

したがって、各端末装置は、システムの立ち上げ時には、自走タイマーで独自に送信タイミングを算出ししてデータ送信を行い、この状態で伝送路上に流れるデータを個々にチェックし、最小装置番号が何番であるかを認識し、この認識後に最小装置番号のデータを受信したとき、装置内で持っている自走タイマーを初期化し、自装置番号と最小装置番号の差より、送信タイミングを算出し、送信タイミングになったときに送信する。   Therefore, at the time of starting up the system, each terminal device calculates its own transmission timing with a free-running timer and performs data transmission.In this state, each terminal device individually checks the data flowing on the transmission line, and what the minimum device number is. When the data of the minimum device number is received after this recognition, the self-running timer in the device is initialized, and the transmission timing is calculated from the difference between the own device number and the minimum device number. Send when the transmission timing is reached.

この同期送信により、基準端末装置がLAN上に存在しない場合、最小端末装置番号の端末装置が基準端末装置となることにより、データ送信において各端末装置間の送信間隔、送信順位、送信周期が保証され、正常な同期送信が確保される。   By this synchronous transmission, when the reference terminal device does not exist on the LAN, the terminal device having the smallest terminal device number becomes the reference terminal device, so that the transmission interval, transmission order, and transmission cycle between the terminal devices are guaranteed in data transmission. Normal synchronization transmission is ensured.

(実施形態3)
本実施形態は、送信タイミングの基準である、端末装置1が復帰した(途中で接続された)ときの同期送信方法である。
(Embodiment 3)
The present embodiment is a synchronous transmission method when the terminal device 1 is restored (connected halfway), which is a reference for transmission timing.

送信タイミングの基準である、端末装置1が運用途中で接続された場合、この場合の同期送信タイミングを図3に示し、端末装置1は、自身に設定される送信間隔、送信順位および送信周期で送信を開始し、他の端末装置2〜10は、
(a)基準端末装置番号(端末装置1)を受信したとき、各端末装置内で持っている自走タイマーを初期化する。
When the terminal device 1 that is a reference of transmission timing is connected during operation, the synchronous transmission timing in this case is shown in FIG. 3, and the terminal device 1 has a transmission interval, a transmission order, and a transmission cycle set in itself. The transmission starts, and the other terminal devices 2 to 10
(A) When the reference terminal device number (terminal device 1) is received, the self-running timer possessed in each terminal device is initialized.

(b)各端末装置番号の送信タイミングを再算出する。   (B) Recalculate the transmission timing of each terminal device number.

(c)送信タイミングになったとき、各端末装置からデータを送信する。   (C) At the transmission timing, data is transmitted from each terminal device.

したがって、他の端末装置2〜10は、接続された基準端末装置を端末装置番号が最小値になることから認識し(1送信周期以内)、基準端末装置による送信タイミングを基に各端末装置がその送信間隔、送信順位、送信周期で送信することにより、前記の問題点3が発生することなく、正常な同期送信が確保される。   Therefore, the other terminal devices 2 to 10 recognize the connected reference terminal device because the terminal device number becomes the minimum value (within one transmission cycle), and each terminal device determines based on the transmission timing by the reference terminal device. By transmitting at the transmission interval, the transmission order, and the transmission cycle, normal synchronous transmission is ensured without the problem 3 described above.

(実施形態4)
本実施形態は、LANに新たな端末装置を増設するときの同期送信方法である。
(Embodiment 4)
The present embodiment is a synchronous transmission method when a new terminal device is added to a LAN.

この場合の同期送信タイミングを図4に示し、端末装置1が存在しない状態、すなわち端末装置2が基準となる同期制御状態で、増設する端末装置11は、
(a)送信周期間、伝送路上に流れるデータをチェックし、最小装置番号が何番であるかを認識する。ここでは、端末装置2が最小装置番号として認識する。
The synchronous transmission timing in this case is shown in FIG. 4. In the state where the terminal device 1 does not exist, that is, in the synchronous control state where the terminal device 2 is a reference, the terminal device 11 to be added is
(A) The data flowing on the transmission path is checked during the transmission period, and the minimum device number is recognized. Here, the terminal device 2 recognizes it as the minimum device number.

(b)最小装置番号のデータを受信したとき、自端末装置内で持っている自走タイマーを初期化する。(最小装置番号が端末装置1のときも同様)
(c)自端末装置番号と最小装置番号の差より、送信タイミングを算出する。
(B) When the data of the minimum device number is received, the self-running timer possessed in the own terminal device is initialized. (The same applies when the minimum device number is the terminal device 1)
(C) The transmission timing is calculated from the difference between the own terminal device number and the minimum device number.

(d)送信タイミングになったときに送信する。   (D) Transmit when transmission timing is reached.

したがって、LANに端末装置を増設されたとき、増設された端末装置は送信を開始する前に、伝送路上に流れる送信データをチェックすることにより最小装置番号(基準端末装置)が何番であるかを認識し、自身の送信タイミングを算出して、送信タイミングになったときにデータを送信することにより、前記の問題点4が発生することなく、LAN上のデータに影響を与えず、かつ速やかに端末装置を増設できる。   Therefore, when a terminal device is added to the LAN, before the transmission starts, the added terminal device checks the transmission data flowing on the transmission path to determine the minimum device number (reference terminal device). Is recognized, the transmission timing is calculated, and the data is transmitted when the transmission timing is reached, so that the problem 4 does not occur, the data on the LAN is not affected, and the data is promptly transmitted. You can add more terminal devices.

(実施形態5)
本実施形態は、実施形態4と同様に、LANに端末装置を増設するときの同期送信方法である。本実施形態では、最大端末装置数が12台で、端末装置数を10台から11台に増設する場合において、増設する端末装置11が最短で送信開始する方法である。
(Embodiment 5)
As in the fourth embodiment, the present embodiment is a synchronous transmission method when a terminal device is added to a LAN. In the present embodiment, when the maximum number of terminal devices is 12 and the number of terminal devices is increased from 10 to 11, the terminal device 11 to be added starts transmission in the shortest time.

この場合の同期送信タイミングを図5に示し、端末装置1が存在しない状態、すなわち端末装置2が基準となる同期制御状態で、増設する端末装置11は、
(a)LAN上に任意に接続し、伝送路上に流れるデータをチェックし、最小装置番号が何番であるかを認識する。
The synchronous transmission timing in this case is shown in FIG. 5, and in the state where the terminal device 1 does not exist, that is, in the synchronous control state where the terminal device 2 is a reference, the terminal device 11 to be added is
(A) Connect arbitrarily on the LAN, check the data flowing on the transmission path, and recognize what the minimum device number is.

(b)LANに接続した時点で、自端末装置内で持っている送信タイミングでデータを送信する。ただし、送信順位は任意の位置にあるため、他端末装置との協調を取ったデータについては破棄される。   (B) At the time of connection to the LAN, data is transmitted at the transmission timing possessed by the terminal device itself. However, since the transmission order is at an arbitrary position, data coordinated with other terminal devices is discarded.

(c)最小装置番号のデータを受信したとき、自端末装置内で持っている自走タイマーを初期化する。(最小装置番号が端末装置1のときも同様)
(d)自端末装置番号と最小装置番号の差より、送信タイミングを算出する。
(C) When the data of the minimum device number is received, the self-running timer possessed in the own terminal device is initialized. (The same applies when the minimum device number is the terminal device 1)
(D) The transmission timing is calculated from the difference between the own terminal device number and the minimum device number.

(e)送信タイミングになったときデータを送信する。   (E) Data is transmitted when the transmission timing comes.

したがって、LANに端末装置11を増設するとき、データの順位性を考慮することなく、増設した端末装置から最短で送信することができる。すなわち、端末装置11を接続した後、伝送路上に流れるデータを手順に従いチェックし、送信タイミングを算出して、送信タイミングになったときデータを送信することにより、2周期でネット上の状態を把握し、3周期目からは、各端末装置間の送信間隔、送信順位、送信周期が保証された正常な伝送が開始される。   Therefore, when the terminal device 11 is added to the LAN, transmission can be performed in the shortest time from the added terminal device without considering the data order. That is, after connecting the terminal device 11, the data flowing on the transmission path is checked according to the procedure, the transmission timing is calculated, and the data is transmitted when the transmission timing is reached, thereby grasping the state on the network in two cycles. From the third cycle, normal transmission with guaranteed transmission intervals, transmission ranks, and transmission cycles between the terminal devices is started.

(実施形態6)
本実施形態は、基準端末装置よりも高い順位の端末装置を接続するときの同期送信方法である。
(Embodiment 6)
This embodiment is a synchronous transmission method when connecting a terminal device having a higher rank than the reference terminal device.

この場合の同期送信タイミングを図6に示し、端末装置1を接続していない状態で、端末装置4が基準端末装置となっている状態で、装置番号「2」の端末装置を接続する場合である。   The synchronous transmission timing in this case is shown in FIG. 6, in the case where the terminal device with the device number “2” is connected in a state where the terminal device 1 is not connected and the terminal device 4 is the reference terminal device. is there.

・接続された端末装置2は、
(a)送信周期間、伝送路上に流れるデータをチェックし、最小装置番号が何番であるかを認識する。
The connected terminal device 2 is
(A) The data flowing on the transmission path is checked during the transmission period, and the minimum device number is recognized.

(b)自端末装置2が最小端末装置番号「2」であった場合、それまで最小端末装置番号「4」のデータを受信したときに端末装置内で持っている自走タイマーを初期化して計時を開始し、この計時で次回の送信タイミングになったときに送信周期毎に送信する。   (B) When the local terminal device 2 is the minimum terminal device number “2”, the self-running timer possessed in the terminal device is initialized when data of the minimum terminal device number “4” is received so far. Time measurement is started, and transmission is performed at each transmission cycle when the next transmission timing is reached.

・それまで最小装置番号であった端末装置4は、
(a)送信周期間で伝送路上に流れるデータを逐次チェックする。
-The terminal device 4 that was the smallest device number until then is
(A) The data flowing on the transmission path between transmission cycles is sequentially checked.

(b)自身より小さい最小装置番号の端末装置2が接続されたことを認識しておき、最小装置番号「2」を認識した時点の次に最小装置番号「2」のデータを受信したとき、自端末装置4内で持っている自走タイマーを初期化する。   (B) Recognizing that the terminal device 2 having the smallest device number smaller than itself is connected and receiving the data of the smallest device number “2” next to the time when the smallest device number “2” is recognized, The self-running timer held in the own terminal device 4 is initialized.

(c)自装置番号「4」と最小装置番号「2」の差より、送信タイミングを算出する。   (C) The transmission timing is calculated from the difference between the own device number “4” and the minimum device number “2”.

(d)送信タイミングになったとき、データを送信する。   (D) Data is transmitted at the transmission timing.

・端末装置2,4以外の端末装置5〜10は、
(a)送信周期間で伝送路上に流れるデータを逐次チェックする。
・ Terminal devices 5 to 10 other than terminal devices 2 and 4 are
(A) The data flowing on the transmission path between transmission cycles is sequentially checked.

(b)認識していた最小装置番号「4」より小さい、最小装置番号「2」を認識しておき、最小装置番号「2」を認識した時点の次に最小装置番号「2」のデータを受信したとき、自端末装置内で持っている自走タイマーを初期化する。   (B) The minimum device number “2” smaller than the recognized minimum device number “4” is recognized, and the data of the minimum device number “2” is recorded after the minimum device number “2” is recognized. When received, it initializes the self-running timer that it has in its own terminal device.

(c)自装置番号と最小装置番号「2」の差より、送信タイミングを算出する。   (C) The transmission timing is calculated from the difference between the own device number and the minimum device number “2”.

(d)送信タイミングになったとき、データを送信する。   (D) Data is transmitted at the transmission timing.

したがって、実施形態1または2の状態で、基準端末装置よりも高い順位の端末装置をLANに接続するとき、送信を開始する前に、伝送路上に流れるデータをチェックすることにより、送信タイミングを算出して、送信タイミングになったときデータを送信することにより、前記の問題点4が発生することなく、LAN上のデータに影響を与えず、かつ速やかに同期状態を確保できる。   Therefore, when a terminal device having a higher rank than the reference terminal device is connected to the LAN in the state of Embodiment 1 or 2, the transmission timing is calculated by checking the data flowing on the transmission path before starting transmission. By transmitting data when the transmission timing comes, the problem 4 is not generated, the data on the LAN is not affected, and the synchronization state can be secured quickly.

(実施形態7)
本実施形態は、実施形態6と同様に、基準端末装置よりも高い順位の端末装置を接続するときの同期送信方法である。本実施形態では、接続する端末装置2が最短で送信開始できる方法である。
(Embodiment 7)
As in the sixth embodiment, the present embodiment is a synchronous transmission method when a terminal device having a higher rank than the reference terminal device is connected. In the present embodiment, the terminal device 2 to be connected can start transmission in the shortest time.

この場合の同期送信タイミングを図7に示し、端末装置1を接続していない状態で、端末装置4が基準端末装置となっている状態で、最小装置番号の端末装置2が接続される場合(任意タイミングで接続)である。   FIG. 7 shows the synchronous transmission timing in this case. When the terminal device 1 is not connected and the terminal device 4 is the reference terminal device, the terminal device 2 with the smallest device number is connected ( Connected at an arbitrary timing).

・任意タイミングで接続する端末装置2は、
(a)LAN上に任意タイミングで接続し、伝送路上に流れるデータをチェックし、最小装置番号が何番であるかを認識する。
The terminal device 2 connected at an arbitrary timing is
(A) Connect to the LAN at an arbitrary timing, check the data flowing on the transmission path, and recognize what the minimum device number is.

(b)自端末装置が最小端末装置番号であった場合、そのまま、自端末装置内の自走タイマーの計時を基に送信周期毎にデータを送信する。   (B) When the own terminal device is the minimum terminal device number, the data is transmitted for each transmission cycle as it is based on the time of the self-running timer in the own terminal device.

・それまで最小装置番号だった端末装置4は、
(a)送信周期間で伝送路上に流れるデータを逐次チェックする。
Terminal device 4 that was the smallest device number until then,
(A) The data flowing on the transmission path between transmission cycles is sequentially checked.

(b)自身より小さい最小装置番号が接続されたことを認識した場合、最小装置番号「2」を認識した時点の次に最小装置番号「2」のデータを受信したとき、自端末装置内で持っている自走タイマーを初期化する。   (B) When recognizing that the smallest device number smaller than itself is connected, when the data of the smallest device number “2” is received next to when the smallest device number “2” is recognized, Initialize the self-running timer you have.

(c)自装置番号「4」と最小装置番号「2」の差より、送信タイミングを算出する。   (C) The transmission timing is calculated from the difference between the own device number “4” and the minimum device number “2”.

(d)送信タイミングになったとき、データを送信する。   (D) Data is transmitted at the transmission timing.

・それ以外の端末装置の場合(接続点より前にデータを送信した端末装置)
(a)送信周期間で伝送路上に流れるデータを逐次チェックする。
-For other terminal devices (terminal devices that sent data before the connection point)
(A) The data flowing on the transmission path between transmission cycles is sequentially checked.

(b)認識している最小装置番号「4」より小さい、最小装置番号「2」が接続された場合、最小装置番号「2」を認識した時点の次に最小装置番号「2」のデータを受信したとき、自端末装置内で持っている自走タイマーを初期化する。   (B) When the minimum device number “2” smaller than the recognized minimum device number “4” is connected, the data of the minimum device number “2” is stored next to the time when the minimum device number “2” is recognized. When received, it initializes the self-running timer that it has in its own terminal device.

(c)自装置番号と最小装置番号「2」の差より、送信タイミングを算出する。   (C) The transmission timing is calculated from the difference between the own device number and the minimum device number “2”.

(d)送信タイミングになったとき、データを送信する。   (D) Data is transmitted at the transmission timing.

・それ以外の端末装置の場合(接続点より後にデータを送信する端末装置)
(a)送信周期間で伝送路上に流れるデータを逐次チェックする。
-For other terminal devices (terminal devices that transmit data after the connection point)
(A) The data flowing on the transmission path between transmission cycles is sequentially checked.

(b)認識している最小装置番号「4」より小さい、最小装置番号「2」が接続されたことを認識しておき、最小装置番号「2」を認識した時点の次に最小装置番号「2」のデータを受信したとき、自端末装置内で持っている自走タイマーを初期化する。   (B) It is recognized that the minimum device number “2” smaller than the recognized minimum device number “4” is connected, and the minimum device number “2” is recognized after the minimum device number “2” is recognized. When the data “2” is received, the self-running timer possessed in the terminal device is initialized.

(c)自装置番号と最小装置番号「2」の差より、送信タイミングを算出する。   (C) The transmission timing is calculated from the difference between the own device number and the minimum device number “2”.

(d)送信タイミングになったとき、データを送信する。   (D) Data is transmitted at the transmission timing.

したがって、実施形態1または2の状態で、基準端末装置よりも高い順位の端末装置をLANに接続するとき、データの順位性を考慮することなく、接続した端末装置からは最短で送信することができる。すなわち、端末装置2を接続した後、伝送路上に流れるデータを手順に従いチェックし、送信タイミングを算出して、送信タイミングになったときデータを送信することにより、2周期でネット上の状態を把握し、3周期目からは、新しい基準端末装置を基準にして、各端末装置間の送信間隔、送信順位、送信周期が保証された正常な伝送が開始される。   Therefore, when a terminal device having a higher order than the reference terminal device is connected to the LAN in the state of the first or second embodiment, the connected terminal device can transmit data in the shortest time without considering the order of data. it can. That is, after connecting the terminal device 2, the data flowing on the transmission path is checked according to the procedure, the transmission timing is calculated, and the data is transmitted when the transmission timing is reached, so that the state on the network is grasped in two cycles. From the third cycle, normal transmission with a guaranteed transmission interval, transmission order, and transmission cycle between the terminal devices is started with the new reference terminal device as a reference.

本発明の実施形態1を示す同期送信タイミング。The synchronous transmission timing which shows Embodiment 1 of this invention. 本発明の実施形態2を示す同期送信タイミング。The synchronous transmission timing which shows Embodiment 2 of this invention. 本発明の実施形態3を示す同期送信タイミング。The synchronous transmission timing which shows Embodiment 3 of this invention. 本発明の実施形態4を示す同期送信タイミング。The synchronous transmission timing which shows Embodiment 4 of this invention. 本発明の実施形態5を示す同期送信タイミング。The synchronous transmission timing which shows Embodiment 5 of this invention. 本発明の実施形態6を示す同期送信タイミング。The synchronous transmission timing which shows Embodiment 6 of this invention. 本発明の実施形態7を示す同期送信タイミング。The synchronous transmission timing which shows Embodiment 7 of this invention. 本発明に係る通信システムの構成例。1 is a configuration example of a communication system according to the present invention. 正常時の同期送信タイミング。Synchronous transmission timing at normal time.

符号の説明Explanation of symbols

1〜10 端末装置
100 親局装置
1 to 10 terminal device 100 master station device

Claims (5)

親局装置に複数の端末装置をLAN接続し、親局装置に共有メモリを備えて親局装置と端末装置間でのデータの授受を行う通信システムにおいて、各端末装置間に設定される送信間隔、送信順位および送信周期で同期させて各端末装置がデータを送信する同期送信方法であって、
送信順位「1」に設定された基準端末装置がLAN上から消失した場合、
LAN上の最小端末装置番号の端末装置は、自装置番号が最小装置番号であることから新たな基準端末装置として認識し、自端末装置番号のタイミングで、自身に設定される送信順位、送信間隔、送信周期で送信を行う手順を有し、
他の端末装置は、新たな基準端末装置の送信タイミングを基準として個々に設定される送信順位、送信間隔で送信を行う手順を備え、
前記送信順位「1」に設定された基準端末装置がLAN上に最初から存在しない場合、
LAN上の最小端末装置番号の端末装置は、自装置番号が最小装置番号であることから基準端末装置として認識し、自端末装置番号のタイミングで、自身に設定される送信順位、送信間隔、送信周期で送信を行う手順を有し、
他の端末装置は、新たな基準端末装置の送信タイミングを基準として個々に設定される送信順位、送信間隔で送信を行う手順を備えると共に、
前記送信順位「1」に設定された基準端末装置がLANの運用途中に接続された場合、
基準端末装置は、自身に設定される送信間隔、送信順位および送信周期で送信を開始する手順を有し、
他の端末装置は、接続された基準端末装置を端末装置番号が最小値になることから認識し、基準端末装置による送信タイミングを基に各端末装置がその送信間隔、送信順位、送信周期で送信する手順を有することを特徴とする端末装置の同期送信方法。
A transmission interval set between each terminal device in a communication system in which a plurality of terminal devices are LAN-connected to the parent station device, and the parent station device is provided with a shared memory to exchange data between the parent station device and the terminal device. A synchronous transmission method in which each terminal device transmits data in synchronization with a transmission order and a transmission cycle,
When the reference terminal set to the transmission order “1” disappears from the LAN,
The terminal device with the smallest terminal number on the LAN recognizes it as a new reference terminal device because the own device number is the smallest device number, and the transmission order and transmission interval set for itself at the timing of the own terminal device number , Have a procedure to transmit in the transmission cycle,
The other terminal device includes a procedure for performing transmission at a transmission order and a transmission interval that are individually set based on the transmission timing of the new reference terminal device ,
When the reference terminal set to the transmission order “1” does not exist on the LAN from the beginning,
The terminal device with the smallest terminal number on the LAN is recognized as a reference terminal device because the own device number is the smallest device number, and the transmission order, transmission interval, and transmission set for itself at the timing of the own terminal device number. Has a procedure to send in a cycle,
The other terminal device includes a transmission order set individually based on the transmission timing of the new reference terminal device, and a procedure for performing transmission at a transmission interval.
When the reference terminal set to the transmission order “1” is connected during LAN operation,
The reference terminal device has a procedure for starting transmission at a transmission interval, a transmission order, and a transmission cycle set in itself,
Other terminal devices recognize the connected reference terminal device from the minimum terminal device number, and each terminal device transmits at its transmission interval, transmission order, and transmission cycle based on the transmission timing by the reference terminal device. A method for synchronous transmission of a terminal device, characterized by comprising:
前記LANに新たな端末装置を増設する場合、
増設する端末装置は、伝送路上に流れる送信データからLAN上の最小装置番号が何番であるかを認識し、自端末装置番号と最小装置番号の差より自身の送信タイミングを算出し、送信タイミングになったときにデータを送信する手順を有することを特徴とする請求項1記載の端末装置の同期送信方法。
When adding a new terminal device to the LAN,
The terminal device to be added recognizes what the minimum device number on the LAN is from the transmission data flowing on the transmission line, calculates its own transmission timing from the difference between its own terminal device number and the minimum device number, and transmits the transmission timing. The terminal device synchronous transmission method according to claim 1, further comprising: a procedure of transmitting data when the error occurs .
前記LANに新たな端末装置を増設する場合、
増設する端末装置は、伝送路上に流れる送信データからLAN上の最小装置番号が何番であるかを認識し、LANに接続した時点で自端末装置内で持っている送信タイミングでデータを送信し、自端末装置番号と最小装置番号の差より自身の送信タイミングを算出し、送信タイミングになったときにデータを送信する手順を有することを特徴とする請求項1又は2記載の端末装置の同期送信方法。
When adding a new terminal device to the LAN,
The terminal device to be added recognizes the minimum device number on the LAN from the transmission data flowing on the transmission line, and transmits the data at the transmission timing possessed by the terminal device when it is connected to the LAN. 3. The synchronization of a terminal device according to claim 1 or 2, further comprising a procedure of calculating its own transmission timing from a difference between its own terminal device number and the minimum device number, and transmitting data when the transmission timing is reached. Transmission method.
前記基準端末装置よりも高い順位の端末装置を接続する場合、
接続された端末装置は、伝送路上に流れるデータをチェックし、最小装置番号が何番であるかを認識し、自端末装置が最小端末装置番号であった場合、それまで最小端末装置番号のデータを受信したときから自走タイマーで計時を開始し、この計時で次回の送信タイミングになったときに送信周期毎に送信する手順を有し、
それまで最小装置番号であった端末装置は、伝送路上に流れるデータをチェックし、自身より小さい最小装置番号の端末装置が接続されたことを認識しておき、この時点の次に最小装置番号のデータを受信したとき、自装置番号と最小装置番号の差より送信タイミングを算出し、送信タイミングになったときにデータを送信する手順を有し、
接続された端末装置およびそれまで最小装置番号であった端末装置以外の端末装置は、送信周期間で伝送路上に流れるデータをチェックし、認識していた最小装置番号より小さい最小装置番号を認識しておき、最小装置番号を認識した時点の次に最小装置番号のデータを受信したときに自装置番号と最小装置番号の差より送信タイミングを算出し、送信タイミングになったときにデータを送信する手順を有することを特徴とする請求項1乃至3記載の何れかである端末装置の同期送信方法。
When connecting a terminal device having a higher order than the reference terminal device,
The connected terminal device checks the data flowing on the transmission path, recognizes what the minimum device number is, and if the own terminal device is the minimum terminal device number, the data of the minimum terminal device number until then From the time when the self-propelled timer is received, and when it comes to the next transmission timing at this time, it has a procedure to transmit every transmission cycle,
The terminal device having the smallest device number until that time checks the data flowing on the transmission line, recognizes that the terminal device with the smallest device number smaller than itself has been connected, and after this point, When data is received, the transmission timing is calculated from the difference between the own device number and the minimum device number, and the procedure for transmitting the data when the transmission timing is reached,
Terminal devices other than the connected terminal device and the terminal device that had been the smallest device number until that time check the data that flows on the transmission line during the transmission cycle, and recognize the smallest device number that is smaller than the recognized smallest device number. The transmission timing is calculated from the difference between the own device number and the minimum device number when the data of the minimum device number is received after the time when the minimum device number is recognized, and the data is transmitted when the transmission timing is reached. A method for synchronous transmission of a terminal device according to any one of claims 1 to 3, further comprising a procedure.
前記基準端末装置よりも高い順位の端末装置を任意タイミングで接続する場合、
任意タイミングで接続された端末装置は、伝送路上に流れるデータをチェックし、最小装置番号が何番であるかを認識し、自端末装置が最小端末装置番号であった場合、自端末装置内の自走タイマーの計時を基に送信周期毎にデータを送信する手順を有し、
それまで最小装置番号であった端末装置は、伝送路上に流れるデータをチェックし、自身より小さい最小装置番号の端末装置が接続されたことを認識しておき、この時点の次に最小装置番号のデータを受信したとき、自装置番号と最小装置番号の差より送信タイミングを算出し、送信タイミングになったときにデータを送信する手順を有し、
任意タイミングで接続された端末装置およびそれまで最小装置番号であった端末装置以外の端末装置は、送信周期間で伝送路上に流れるデータをチェックし、認識していた最小装置番号より小さい最小装置番号を認識しておき、最小装置番号を認識した時点の次に最小装置番号のデータを受信したときに自装置番号と最小装置番号の差より送信タイミングを算出し、送信タイミングになったときにデータを送信する手順を有することを特徴とする請求項4記載の端末装置の同期送信方法。
When connecting a terminal device having a higher rank than the reference terminal device at an arbitrary timing,
The terminal device connected at an arbitrary timing checks the data flowing on the transmission path, recognizes what the minimum device number is, and if the own terminal device is the minimum terminal device number, It has a procedure to send data every transmission cycle based on the time of the self-running timer,
The terminal device having the smallest device number until that time checks the data flowing on the transmission line, recognizes that the terminal device with the smallest device number smaller than itself has been connected, and after this point, When the data is received, the transmission timing is calculated from the difference between the own device number and the minimum device number.
Terminal devices connected at arbitrary timing and terminal devices other than the terminal device that had been the minimum device number until that time check the data flowing on the transmission line during the transmission period, and the minimum device number smaller than the recognized minimum device number When the data of the minimum device number is received next to the time when the minimum device number is recognized, the transmission timing is calculated from the difference between the own device number and the minimum device number. 5. The method for synchronous transmission of a terminal device according to claim 4, further comprising: a step of transmitting.
JP2007275120A 2007-10-23 2007-10-23 Synchronous transmission method for terminal device Active JP5205915B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007275120A JP5205915B2 (en) 2007-10-23 2007-10-23 Synchronous transmission method for terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007275120A JP5205915B2 (en) 2007-10-23 2007-10-23 Synchronous transmission method for terminal device

Publications (2)

Publication Number Publication Date
JP2009105626A JP2009105626A (en) 2009-05-14
JP5205915B2 true JP5205915B2 (en) 2013-06-05

Family

ID=40706905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007275120A Active JP5205915B2 (en) 2007-10-23 2007-10-23 Synchronous transmission method for terminal device

Country Status (1)

Country Link
JP (1) JP5205915B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6520766B2 (en) * 2016-03-09 2019-05-29 オムロン株式会社 Wireless communication apparatus, wireless information collection system, and wireless communication method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07212376A (en) * 1994-01-24 1995-08-11 Hitachi Ltd Data transfer system

Also Published As

Publication number Publication date
JP2009105626A (en) 2009-05-14

Similar Documents

Publication Publication Date Title
US9577817B2 (en) Method and apparatus for providing in-vehicle network time synchronization using redundant grandmaster
US9270554B2 (en) Communication apparatus and delay detecting method
JP5923430B2 (en) Communication control device
EP2528283B1 (en) Guardian strategy for distributed time-triggered protocols
US10090952B2 (en) Master/slave negotiation associated with a synchronous ethernet network
US9965406B2 (en) Setting method, communication device, and master device
JP5205915B2 (en) Synchronous transmission method for terminal device
JP5082590B2 (en) Communication device and communication network
US10341440B2 (en) Method and device for transferring messages in a computer network
JP2016119616A (en) Ring type network system, and master node thereof
JP4994280B2 (en) Route change type network device and system
JP4862521B2 (en) Communication network system and startup method thereof
EP3076604B1 (en) Communication device and link establishment method
US20110072145A1 (en) Network device performing connection check, network system, and frame transfer method
US10797932B2 (en) Communication device, link-up method, and communication system
JP3679066B2 (en) Line information table generation method
JP3173592B2 (en) Signal communication method and apparatus, communication relay method and apparatus, signal communication system
JP2009267674A5 (en)
JP2007318593A (en) Token passing communication system
JP2009010459A (en) Transmission path system, ring map generation method, and node
JP2006031237A (en) Communication system between servers
KR20110114217A (en) Method for clock synchronization in distributed system having ring topology and apparatus for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100603

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120131

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120330

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120807

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121107

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20121115

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130122

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130204

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

Free format text: PAYMENT UNTIL: 20160301

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5205915

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150