JPH0440719A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPH0440719A
JPH0440719A JP14949890A JP14949890A JPH0440719A JP H0440719 A JPH0440719 A JP H0440719A JP 14949890 A JP14949890 A JP 14949890A JP 14949890 A JP14949890 A JP 14949890A JP H0440719 A JPH0440719 A JP H0440719A
Authority
JP
Japan
Prior art keywords
data
station
transmission
master station
slave station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP14949890A
Other languages
Japanese (ja)
Inventor
Toshiyasu Higuma
利康 樋熊
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP14949890A priority Critical patent/JPH0440719A/en
Publication of JPH0440719A publication Critical patent/JPH0440719A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically reset the connection between a master station and a slave station by transmitting the data while initializing a transmission controller in response to the occurrence of an untransmissible state of the master or slave station. CONSTITUTION:When a master station 2 has an untransmissible state, a watchdog timer WDT 16 counts up a prescribed time T1. Then the WDT 16 supplies a signal to a reset terminal of a transmission controller 15 in response to the count-up of the time T1 and resets the controller 15. Meanwhile a WDT 18 counts up the time T1 at a slave station 3 and resets a transmission controller 17 since no data is received from the station 2. When an untransmissible state occurs at the station 3, the WDT 18 of the station 3 related to the untransmissible state counts up a prescribed time and supplied a signal to the reset terminal of the controller 17 to reset this controller.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、データウェイなどの伝送路を媒体として親局
と所定台数の子局が情報のやりとりを行うデータ伝送シ
ステムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transmission system in which a master station and a predetermined number of slave stations exchange information using a transmission path such as a dataway as a medium.

[従来の技術] 従来から、伝送路に親局及び複数の子局を接続して親局
と子局との間でデータ伝送を行うシステムが知られてい
る。
[Prior Art] Conventionally, systems have been known in which a master station and a plurality of slave stations are connected to a transmission path and data is transmitted between the master station and the slave stations.

例えばホームオートメーション(HA)の分野でエアコ
ン、照明機器等を統括するシステムが知られている。こ
のシステムにおける親局は、子局が付設される負荷機器
の動作制御や、動作状態のモニタを行う。子局は、エア
コン等の家庭電気機器や、火災センサ等のセキュリティ
装置に付設される。
For example, in the field of home automation (HA), systems for controlling air conditioners, lighting equipment, etc. are known. A master station in this system controls the operation of load equipment to which slave stations are attached and monitors the operating status. A slave station is attached to home electrical equipment such as an air conditioner or a security device such as a fire sensor.

第4図には、このようなデータ伝送システムの概略構成
が示されている。この図に示されるように、伝送路(1
)には親局(2)及び複数の子局(3)が接続されてい
る。
FIG. 4 shows a schematic configuration of such a data transmission system. As shown in this figure, the transmission line (1
) is connected to a master station (2) and a plurality of slave stations (3).

親局(2)は、子局(3)に対し送信すべきデータを所
定タイミングで伝送路(1)上に送出する。子局(3)
は、親局(2)から伝送路(1)を介して供給されるデ
ータを受信すると共に、対応するタイミングで伝送路(
1)上に親局(2)に送信すべきデータを送出する。こ
のように、親局(2)と子局(3)との間で、データ伝
送が行われる。
The master station (2) sends data to be transmitted to the slave station (3) onto the transmission line (1) at a predetermined timing. Child station (3)
receives data supplied from the master station (2) via the transmission path (1), and at the same time receives data from the transmission path (1) at the corresponding timing.
1) Send the data to be transmitted to the master station (2) above. In this way, data transmission is performed between the master station (2) and the slave station (3).

第5図には、データ伝送システムのより詳細な一例構成
か示されている。この図に示されるシステムは、本願出
願人が先に提案した特願昭61−270306号に記載
されているシステムである。
FIG. 5 shows a more detailed example configuration of the data transmission system. The system shown in this figure is the system described in Japanese Patent Application No. 61-270306, which was previously proposed by the applicant of the present application.

この図に示される複数の子局(3)は、サブバス(4)
及び給電路(5)により親局(2)と接続されている。
A plurality of slave stations (3) shown in this figure are connected to a sub-bus (4).
and is connected to the master station (2) by a power supply path (5).

このうちサブバス(4)は、親局(2)内部を走行する
メインバス(6)と併せ伝送路を形成する。給電路(5
)は各子局(3)及び親局(2)に電源供給する線路で
あり、サブバス(4)と対を成している。この対は、親
局(2)から所定個数が引き出されている。
Among these, the sub-bus (4) forms a transmission path together with the main bus (6) running inside the master station (2). Power supply line (5
) is a line for supplying power to each slave station (3) and master station (2), and forms a pair with the sub-bus (4). A predetermined number of these pairs are extracted from the master station (2).

すなわち、子局(3)は親局(2)から引き出されるサ
ブバス(4)と給電路(5)の所定個数の対のうちいず
れかに沿って、一対毎に所定台数か配設されている。
That is, a predetermined number of slave stations (3) are arranged for each pair along one of a predetermined number of pairs of sub-buses (4) and feed lines (5) drawn from the master station (2). .

子局(3)は、サブバス(4)との間でデータの送受信
を行うサブバス監視制御回路(7)と、給電路(5)か
ら駆動電力を取り込む受電回路(8)と、から構成され
ている。
The slave station (3) is composed of a sub-bus monitoring and control circuit (7) that transmits and receives data to and from the sub-bus (4), and a power receiving circuit (8) that receives drive power from the power supply line (5). There is.

例えば、親局(2)からサブバス(4)上に子局(3)
へのデータが送出されると、子局(3)のサブバス監視
制御回路(7)はこれを受信し、子局(3)は必要な処
理を行う。このシステムがHAシステムに用いられてい
るならば、受信すべき子局(3)は当該データを含むフ
レームの相手アドレスで特定される。家庭電気機器に付
設される子局(3)には、自己を指定するフレームのデ
ータがサブバス監視制御回路(7)により受信され、負
荷機器たる家庭電気機器の制御が行われる。
For example, from the master station (2) to the slave station (3) on the sub bus (4),
When data is sent to the slave station (3), the sub-bus monitoring control circuit (7) of the slave station (3) receives it, and the slave station (3) performs necessary processing. If this system is used in an HA system, the slave station (3) to receive the data is specified by the destination address of the frame containing the data. A sub-bus supervisory control circuit (7) receives frame data specifying the slave station (3) attached to the household electrical appliance, and controls the household electrical appliance as a load device.

逆に、子局(3)から送信しようとする場合、例えば負
荷機器の動作状態を親局(2)に報知しようとする場合
、サブバス監視制御回路(7)は送信すべきデータをサ
ブバス(4)上に送出し、親局(2)はこれを受信する
Conversely, when attempting to transmit data from the slave station (3), for example when attempting to notify the operating status of load equipment to the master station (2), the sub-bus supervisory control circuit (7) sends data to be transmitted to the sub-bus (4). ), and the master station (2) receives it.

また、子局(3)がこのような動作を行うために必要な
電力は、受電回路(8)により給電路(5)から子局(
3)に取り込まれる。
In addition, the power required for the slave station (3) to perform such operations is transferred from the power supply line (5) to the slave station (by the power receiving circuit (8).
3).

一方、親局(2)は、サブバス(4)に接続されるメイ
ンバス(6)の他、給電路(5)に電源電圧を供給する
給電回路(9)と、給電路(5)と給電回路(9)との
接続を開閉するよう各給電路(5)に対応して設けられ
たスイッチ回路(10)と、メインバス(6)とデータ
授受を行うとともに、スイッチ回路(10)に対し制御
線(11)を介して開閉指令を発するメインバス監視制
御装置(12)と、から構成されている。また、スイッ
チ回路(10)は、給電路(5)に介装されるリレー接
点(13)と、リレー接点(13)をメインバス監視制
御装置(12)からの信号に応じて駆動し開閉するリレ
ーコイル(14)と、から構成されている。
On the other hand, the master station (2) has a main bus (6) connected to the sub-bus (4), a power supply circuit (9) that supplies power supply voltage to the power supply line (5), and a power supply circuit (9) that supplies the power supply voltage to the power supply line (5) and the power supply line (5). A switch circuit (10) is provided corresponding to each power supply path (5) to open and close the connection with the circuit (9), and exchanges data with the main bus (6). It consists of a main bus monitoring and control device (12) that issues opening/closing commands via a control line (11). Further, the switch circuit (10) drives and opens/closes a relay contact (13) interposed in the power supply line (5) and a relay contact (13) according to a signal from the main bus monitoring control device (12). It is composed of a relay coil (14).

すなわち、子局(3)からサブバス(4)及びメインバ
ス(6)を介して送信されるデータは、親局(2)のメ
インバス監視制御装置(12)により受信され、逆に親
局(2)から子局(3)に対して送信を行う場合には、
メインバス監視制御装置(12)がメインバス(6)上
にデータを送出し、メインバス(6)及びサブバス(4
)を介して子局(3)にデータが送信される。
That is, data transmitted from the slave station (3) via the sub-bus (4) and the main bus (6) is received by the main bus monitoring and control device (12) of the master station (2), and conversely, the data is sent to the master station ( When transmitting from 2) to slave station (3),
The main bus supervisory control device (12) sends data onto the main bus (6), and the main bus (6) and sub bus (4)
), the data is transmitted to the slave station (3).

このようなデータ伝送は、メインバス監視制御装置(1
2)によるスイッチ回路(10)の制御の下、メインバ
ス(6)と必要なサブバス(4)とが接続されることに
より行われる。例えば、あるサブバス(4)に接続され
る子局(3)群に対してのみデータを送信する場合には
、親局(2)のメインバス監視制御装置(12)は、当
該サブバス(4)に対応するスイッチ回路(10)によ
リメインバス(6)と当該サブバス(4)とを接続する
Such data transmission is carried out by the main bus supervisory control device (1
2) by connecting the main bus (6) and necessary sub-buses (4) under the control of the switch circuit (10). For example, when transmitting data only to a group of slave stations (3) connected to a certain sub-bus (4), the main bus supervisory control device (12) of the master station (2) The remaining bus (6) and the sub-bus (4) are connected by a switch circuit (10) corresponding to the main bus (6).

また、データ伝送システムにおいて親局(2)または子
局(3)における伝送不能などの障害が発生した場合、
−旦当該親局(2)または子局(3)のデータ伝送を中
止して復帰を図らねばならない。この従来例においては
、かかる伝送中止をメインバス監視制御装置(12)の
制御に基づくスイッチ回路(10)の開閉により実現し
ている。
In addition, if a failure occurs in the data transmission system, such as failure of transmission at the master station (2) or slave station (3),
- The data transmission of the master station (2) or slave station (3) must be stopped once in order to recover. In this conventional example, such transmission suspension is realized by opening and closing the switch circuit (10) under the control of the main bus supervisory control device (12).

すなわち、スイッチ回路(10)は、前述のようにリレ
ー接点(13)及びリレーコイル(14)から構成され
ている。メインバス(6)とサブバス(4)との接続開
閉は、メインバス監視制御装置(12)から制御線(1
1)を介して供給される信号によりリレーコイル(14
)の励磁/励磁解除で、リレー接点(]3)か開閉する
ことにより行われる。
That is, the switch circuit (10) is composed of a relay contact (13) and a relay coil (14) as described above. The connection between the main bus (6) and the sub-bus (4) is opened and closed via the control line (1) from the main bus monitoring and control device (12).
The signal supplied through the relay coil (14)
) is energized/de-energized by opening and closing the relay contact (]3).

例えば、子局(3)のうち1台につき障害か発生し当該
子局(3)とのデータ伝送を中止しなければならない場
合、当該子局(3)か接続されている給電路(5)に対
応するスイッチ回路(10)のリレー接点(13)を開
くことにより、給電回路(9)から当該子局(3)への
給電を断てば良い。また、親局(2)において、例えば
メインバス(6)の障害などにより伝送が不能になった
場合、内蔵するスイッチ回路(10)を制御して全ての
給電路(5)に対応するスイッチ回路(10)を開けば
良い。
For example, if a failure occurs in one of the slave stations (3) and data transmission with the slave station (3) must be stopped, the power supply line (5) connected to the slave station (3) The power supply from the power supply circuit (9) to the slave station (3) may be cut off by opening the relay contact (13) of the switch circuit (10) corresponding to the power supply circuit (9). In addition, in the master station (2), if transmission becomes impossible due to a failure in the main bus (6), for example, a switch circuit that controls the built-in switch circuit (10) and supports all power supply paths (5). Just open (10).

このように、従来においては、親局(2)または子局(
3)の障害発生時に給電を断つことにより復帰作業を行
うことか可能であった。
In this way, conventionally, either the master station (2) or the slave station (
It was possible to perform recovery work by cutting off the power supply when the failure occurred in 3).

[発明か解決しようとする課題] しかしながら、従来においては、障害に係る子局又は親
局の接続を復帰するためには、障害に係る子局または親
局の復帰か完了したかどうかを作業者か確認しながら行
う必要かある。
[Problem to be solved by the invention] However, in the past, in order to restore the connection of a faulty slave station or master station, an operator has to check whether the restoration of the faulty slave station or master station has been completed. Is it necessary to check this while doing so?

言換えれば、親局と子局との接続を復帰する作業をマニ
ュアルで行わねばならない。
In other words, it is necessary to manually restore the connection between the master station and the slave station.

本発明は、このような問題点を解決することを課題とし
てなされたものであり、親局と子局との接続を自動的に
復帰させることが可能なデータ伝送システムを提供する
ことを目的とする。
The present invention was made with the aim of solving such problems, and an object of the present invention is to provide a data transmission system that can automatically restore the connection between a master station and a slave station. do.

[課題を解決するための手段] このような目的を達成するために、本発明は、親局が、
伝送路上に所定時間T1間隔でいずれかの子局を指定し
てデータを送出する伝送制御装置と、伝送路上のデータ
の存在を検知してTl<tlである所定時間t1の計時
を開始し、計時終了までに再度データのデータの存在が
検知されないときに、伝送制御装置を初期化する時限タ
イマーと、を有し、子局が、伝送路上のデータを受信し
、このデータが自局宛のデータである場合には受信から
TI>72である所定時間12以内に伝送路上にデータ
を送出して親局へのデータ返送を行う伝送制御装置と、
伝送路上のデータの存在を検知してT2< t 2であ
る所定時間t2の計時を開始し、計時終了までに再度デ
ータが検知されないときに自局の伝送制御装置を初期化
する時限タイマーと、を有することを特徴とする。
[Means for Solving the Problems] In order to achieve such an object, the present invention provides that the master station:
A transmission control device that designates and sends data to one of the slave stations on the transmission path at intervals of a predetermined time T1, detects the presence of data on the transmission path, starts timing for a predetermined time t1 where Tl<tl, and ends the timing. and a timer that initializes the transmission control device when the presence of data is not detected again until the slave station receives data on the transmission path and determines that this data is destined for the local station. In some cases, a transmission control device that sends data onto a transmission path within a predetermined time period of 12 from reception when TI>72 and returns the data to a master station;
a timer that detects the presence of data on the transmission path and starts counting a predetermined time t2 where T2<t2, and initializes the transmission control device of its own station when no data is detected again by the end of the counting; It is characterized by having the following.

[作用コ 本発明のデータ伝送システムにおいては、親局により伝
送路上に所定時間T1間隔でデータが送出される。一方
、子局によりこれが受信され、所定時間12以内にデー
タ返送が行われる。親局及び子局の時限タイマーは、そ
れぞれT1<t1、T2(t 2の時間t1及びt2を
自局のデータ送出及び受信から計時するが、いずれかの
局が両時間t1及び12以内に必ずデータ送出する結果
プリセットされるため、データ伝送か正常に継続されて
いるかぎり、計時終了することはない。
[Operations] In the data transmission system of the present invention, the master station sends data onto the transmission path at predetermined time intervals T1. On the other hand, this is received by the slave station and the data is returned within a predetermined time of 12 seconds. The timer timers of the master station and the slave station measure times t1 and t2 of T1 < t1, T2 (t2) from the data transmission and reception of their own station, but one of the stations is sure to clock within both times t1 and 12. Since the result of data transmission is preset, the timer will not end as long as data transmission continues normally.

ここで、親局がある時点てデータ伝送不能状態に陥った
場合を考える。この場合、親局の時限タイマーの計時終
了により、親局の伝送制御装置が初期化される。さらに
、親局からデータが送出されなければ、いずれの子局に
おいてもデータは受信されずデータ返送は行われない。
Now, let us consider a case where the master station becomes unable to transmit data at some point. In this case, the transmission control device of the master station is initialized when the timer of the master station finishes counting. Furthermore, if no data is sent from the master station, no data will be received by any of the slave stations and no data will be sent back.

従って、子局の時限タイマーも計時終了し、子局の伝送
制御装置が初期化される。そして、親局の伝送不能状態
が解除された後に、前述の正常動作が再開される。
Therefore, the time limit timer of the slave station also ends, and the transmission control device of the slave station is initialized. Then, after the transmission-disabled state of the master station is released, the above-mentioned normal operation is resumed.

また、子局がある時点てデータ伝送不能状態に陥った場
合を考える。この場合、伝送不能状態に陥った子局の時
限タイマーが計時終了し、当該子局の伝送制御装置が初
期化される。この後、当該子局の伝送不能状態が解除さ
れるまでは、当該子局は繰り返し初期化動作を行い、親
局及び他の子局は正常動作を継続する。そして、当該子
局は、伝送不能状態の解除の後に正常動作に復帰する。
Also, consider a case where the slave station becomes unable to transmit data at some point. In this case, the time-limited timer of the slave station that has become unable to transmit ends, and the transmission control device of the slave station is initialized. Thereafter, until the transmission disabled state of the slave station is released, the slave station repeatedly performs initialization operations, and the master station and other slave stations continue to operate normally. Then, the slave station returns to normal operation after the transmission-disabled state is released.

このように、本発明においては、親局又は子局の伝送不
能状態の発生に自動対応して伝送制御装置の初期化を行
いつつデータ伝送か行われる。
As described above, in the present invention, data transmission is performed while initializing the transmission control device automatically in response to the occurrence of a transmission-disabled state in a master station or a slave station.

〔実施例コ 以下、本発明の好適な実施例について図面に基づき説明
する。なお、第4図及び第5図に示される従来構成と同
様のものについては同一符号を付し、説明を省略する。
[Embodiments] Preferred embodiments of the present invention will be described below with reference to the drawings. Components similar to the conventional configuration shown in FIGS. 4 and 5 are designated by the same reference numerals, and their explanation will be omitted.

第1図には、本発明の一実施例に係るデータ伝送システ
ムを構成する親局(2)の構成が、第2゛図には、子局
(3)の構成が、それぞれ示されている。
FIG. 1 shows the configuration of a master station (2) that constitutes a data transmission system according to an embodiment of the present invention, and FIG. 2 shows the configuration of a slave station (3). .

本実施例はシステム構成としては第4図に示されるデー
タ伝送システムと同様のものであり、以下、親局(2)
及び子局(3)の内部構成についてそれぞれ説明する。
The system configuration of this embodiment is similar to the data transmission system shown in FIG.
The internal configurations of the substation (3) and the slave station (3) will be explained.

第1図において、親局(2)は、伝送制御装置(15)
及びウォッチドッグタイマ(以下、WDTと略す)(1
6)から構成されている。
In FIG. 1, the master station (2) is a transmission control device (15)
and watchdog timer (hereinafter abbreviated as WDT) (1
6).

伝送制御装置(15)は伝送路(1)に接続されでおり
、この伝送路(1)を介して子局(3)に所定時間T1
間隔でデータを送信する。また、子局(3)から送信さ
れるデータを取り込み、所定の処理を行う。
The transmission control device (15) is connected to the transmission path (1), and transmits a signal to the slave station (3) for a predetermined period of time T1 via this transmission path (1).
Send data at intervals. It also captures data transmitted from the slave station (3) and performs predetermined processing.

WDT(16)は、そのck端子に伝送路(1)が接続
されており、その計時出力は伝送制御装置(15)のr
eset端子に接続されている。WDT (16)は、
ck端子へのデータの到来に応じて所定時間t1をカウ
ント開始し、カウントアツプ後に伝送制御装置(15)
のreset端子に信号を供給して伝送制御装置(15
)をリセットする。
The transmission line (1) is connected to the WDT (16) at its ck terminal, and its timing output is connected to the r of the transmission control device (15).
Connected to eset terminal. WDT (16) is
The transmission control device (15) starts counting a predetermined time t1 in response to the arrival of data to the ck terminal, and after counting up.
transmission control device (15) by supplying a signal to the reset terminal of
) to reset.

WDT(16)がカウントする時間t1は、伝送制御装
置(15)によるデータ送出間隔T1より大となるよう
に設定されている。
The time t1 counted by the WDT (16) is set to be longer than the data transmission interval T1 by the transmission control device (15).

また、第2図において、子局(3)は、親局(2)の伝
送制御装置(15)から送信されるデータを受は取って
から所定時間12以内に親局(2)にデータを伝送する
伝送制御装置(17)と、伝送路(1)からのデータの
到来に応じて所定時間t2(但し、t2>T2)カウン
ト開始し、カウントアツプの後に伝送制御装置(17)
のreset端子に信号を供給して伝送制御装置(17
)をリセットするWDT (18)と、から構成されて
いる。
In addition, in FIG. 2, the slave station (3) receives data transmitted from the transmission control device (15) of the master station (2) and transmits the data to the master station (2) within a predetermined time 12. The transmission control device (17) that transmits starts counting a predetermined time t2 (however, t2>T2) in response to the arrival of data from the transmission path (1), and after counting up, the transmission control device (17)
transmission control device (17) by supplying a signal to the reset terminal of
) for resetting the WDT (18).

次に、このような構成の親局(2)及び子局(3)から
構成されるデータ伝送システムの動作について説明する
Next, the operation of the data transmission system composed of the master station (2) and slave station (3) having such a configuration will be explained.

なお、子局(3)は説明の簡単のために3台設けられて
いるとする。
It is assumed that three slave stations (3) are provided for ease of explanation.

第3図には、この実施例の動作タイミングが示されてい
る。前述のように、親局(2)の伝送制御装置(15)
は、所定時間T1間隔でデータを送出する。従って、伝
送路(1)上には所定時間T1間隔で親局(2)から送
出されたデータが存在することとなる。
FIG. 3 shows the operation timing of this embodiment. As mentioned above, the transmission control device (15) of the master station (2)
transmits data at intervals of a predetermined time T1. Therefore, data sent from the master station (2) exists on the transmission path (1) at intervals of a predetermined time T1.

また、親局(2)は、当該データを受信すべき子局(3
)をそのデータに付される相手アドレスにより指定して
、データ送出を行う。この実施例の場合3台が順に指定
されるものとする。
In addition, the master station (2) also sends a slave station (3) that should receive the data.
) by the destination address attached to the data, and sends the data. In this embodiment, it is assumed that three devices are designated in order.

子局(3)は、伝送路(1)上から親局(2)の送出に
係るデータを取り込み、このデータに付されている相手
アドレスが自己のアドレスの場合、取り込みに係る時点
から所定時間T2だけ経過した後、必要なデータを伝送
路(1)を介して親局(2)に返送する。返送に係るデ
ータは、例えば自局のモニタ対象とする負荷機器の動作
を示すデータである。
The slave station (3) takes in the data transmitted by the master station (2) from the transmission path (1), and if the destination address attached to this data is its own address, the slave station (3) receives the data sent from the master station (2) from the transmission path (1), and if the destination address attached to this data is its own address, the slave station (3) receives the data sent from the master station (2) from the transmission path (1). After T2 has elapsed, the necessary data is sent back to the master station (2) via the transmission path (1). The data related to the return is, for example, data indicating the operation of a load device to be monitored by the own station.

データ返送を行う子局(3)は、自己宛のデータを受は
取った子局(3)であるため、3台ある子局(3)が順
に指定されて親局(2)のデータ送出が行われる場合、
その順で巡回する。従って、伝送路(1)上において子
局(3)から送出されるデータが衝突することはない。
The slave station (3) that sends back the data is the slave station (3) that received the data addressed to itself, so the three slave stations (3) are designated in order to send the data to the master station (2). If this is done,
The tour will take place in that order. Therefore, data transmitted from the slave station (3) on the transmission path (1) will not collide.

この結果、親局(2)及び子局(3)のいずれにおいて
も伝送不能状態が発生せず、正常に伝送が行える状態に
おいては、伝送路(1)上には常に親局(2)から送出
されるデータが所定時間T1間隔で存在し、これに応じ
て子局(3)から送出されるデータも存在することとな
る。
As a result, when no transmission failure occurs in either the master station (2) or the slave station (3) and transmission is possible normally, there is always a connection from the master station (2) to the master station (2) on the transmission path (1). Data to be sent out exists at predetermined time intervals T1, and correspondingly, data to be sent out from the slave station (3) also exists.

各子局(3)のWDT (18)は、親局(2)からの
データを受信することによりプリセットされ、時間t2
を計時する。しかし、正常状態においては、この時間t
2のカウントアツプ以前に自局または他の子局(3)が
データ返送を行うため、再度プリセットされる。従って
、正常な伝送が行われている限り、カウントアツプする
ことはない。
The WDT (18) of each slave station (3) is preset by receiving data from the master station (2), and is preset at time t2.
time. However, under normal conditions, this time t
Since the own station or another slave station (3) sends back data before the count up of 2, it is preset again. Therefore, as long as normal transmission is being performed, the count will not increase.

これは、親局(2)のWDT(16)においても同様で
ある。親局(2)は、自己のデータ送出によりそのWD
T(16)をプリセットする。
This also applies to the WDT (16) of the master station (2). The master station (2) transmits its own data to its WD.
Preset T(16).

従ってtl>TIなる時間T1で伝送制御装置(15)
がデータ送出を繰り返し、WDT(16)が計時を行う
ならば、WDT(16)はカウントアツプしない。
Therefore, at time T1 such that tl>TI, the transmission control device (15)
If the WDT (16) repeats data transmission and the WDT (16) measures time, the WDT (16) will not count up.

本実施例の特徴に係る動作は親局(2)または子局(3
)のいずれかにおいて伝送不能状態が生じた場合の動作
である。
The operation related to the characteristics of this embodiment is based on the parent station (2) or the slave station (3).
) This is the operation when a transmission impossible state occurs in any of the above.

まず、親局(2)において伝送不能状態が発生した場合
を考える。このとき、伝送制御装置(15)からデータ
が送出されないため、WDT(16)のプリセットが行
われない。すなわち、WDT(16)は、通常の動作時
と異なり、所定時間T1をカウントアツプしてしまう。
First, consider a case where a transmission impossible state occurs in the master station (2). At this time, since no data is sent from the transmission control device (15), the WDT (16) is not preset. That is, unlike during normal operation, the WDT (16) counts up the predetermined time T1.

WDT(16)は、このカウントアツプに応じて伝送制
御装置(15)のreset端子に対し信号を供給し、
伝送制御装置(15)をリセットする。
The WDT (16) supplies a signal to the reset terminal of the transmission control device (15) in response to this count-up,
Reset the transmission control device (15).

一方、子局(3)においては、親局(2)からデータが
送出されないため、当然にデータが受信されない。
On the other hand, since no data is sent from the master station (2) to the slave station (3), the data is naturally not received.

これにより、子局(3)のWDT (18)が同様にカ
ウントアツプし、伝送制御装置(17)をリセットさせ
る。
As a result, the WDT (18) of the slave station (3) similarly counts up, causing the transmission control device (17) to be reset.

このように、親局(2)が伝送不能状態に陥った場合に
は、親局(2)及び子局(3)が共にリセットされる。
In this way, when the master station (2) falls into a state where transmission is disabled, both the master station (2) and the slave station (3) are reset.

次に、子局(3)側において伝送不能状態が生じた場合
を考える。このとき、伝送不能状態に係る子局(3)の
VDT(18)は、所定時間t2についてカウントアツ
プし、自局の伝送制御装置(17)のreset端子に
信号を供給し、当該伝送制御装置(17)をリセットさ
せる。
Next, consider a case where a transmission impossible state occurs on the slave station (3) side. At this time, the VDT (18) of the slave station (3) related to the transmission disabled state counts up for a predetermined time t2, supplies a signal to the reset terminal of the transmission control device (17) of its own station, and (17) is reset.

従って、複数台(この図においては3台)ある子局(3
)のうち、ある子局(3)において伝送不能状態か発生
した場合、当該伝送不能に係る子局(3)について伝送
可能状態に復帰するまで、当該伝送制御装置(17)の
リセットが繰り返される。
Therefore, there are multiple slave stations (3 in this figure).
), if a transmission-disabled state occurs in a certain slave station (3), the transmission control device (17) is reset repeatedly until the transmission-disabled slave station (3) returns to a transmission-capable state. .

このように、本実施例に係るデータ伝送システムにおい
て、親局(2)または子局(3)のいずれが伝送不能状
態に陥った場合においても、格別なリモートリセット手
段を用いることなく、自動的にリモートリセットをかけ
ることができ、親局(2)と子局(3)が互いに相互監
視を行うことができる。この結果、信頼性が向上すると
共に、安価なデータ伝送システムを構成することが可能
となる。
In this way, in the data transmission system according to this embodiment, even if either the master station (2) or the slave station (3) becomes unable to transmit, it can be automatically reset without using special remote reset means. can be remotely reset, and the master station (2) and slave station (3) can mutually monitor each other. As a result, reliability is improved and it becomes possible to configure an inexpensive data transmission system.

[発明の効果コ 以上説明したように、本発明によれば、伝送不能状態に
応じて親局または子局の伝送制御装置の初期化を行うこ
ととしたため、伝送不能状態に係る親局または子局との
接続を自動的に復帰させることが可能であると共に、親
局と子局との相互監視が可能であり、安価でかつ高信頼
性のデータ伝送システムを得ることか可能となる。
[Effects of the Invention] As explained above, according to the present invention, the transmission control device of the master station or slave station is initialized depending on the transmission-disabled state. It is possible to automatically restore the connection with the station, and mutual monitoring between the master station and the slave station is possible, making it possible to obtain an inexpensive and highly reliable data transmission system.

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

第1図は本発明の一実施例に係るデータ伝送システムを
構成する親局の構成を示す図、第2図はこの実施例にお
ける子局の構成を示す図、第3図はこの実施例の動作タ
イミングを示す図、第4図は従来における一般的なデー
タ伝送システムの構成を示す図、第5図は一従来例に係
るデータ伝送システムの構成を示す図である。 図において、(1)は伝送路、(2)は親局、(3)は
子局、(15)、  (17)は伝送制御装置、(16
)、  (1g)はウォッチドッグタイマである。 なお、図中、同一符号は同一または相当部分を示す。 代理人 弁理士 吉 1)研 二 (外2名) 実施例の動作 第3F!A 実施例の親局の構成 第1図 実施例の子局の構成 第2図
FIG. 1 is a diagram showing the configuration of a master station constituting a data transmission system according to an embodiment of the present invention, FIG. 2 is a diagram showing the configuration of a slave station in this embodiment, and FIG. 3 is a diagram showing the configuration of a slave station in this embodiment. FIG. 4 is a diagram showing the operation timing, FIG. 4 is a diagram showing the configuration of a conventional general data transmission system, and FIG. 5 is a diagram showing the configuration of a conventional data transmission system. In the figure, (1) is the transmission path, (2) is the master station, (3) is the slave station, (15), (17) is the transmission control device, and (16) is the transmission path.
), (1g) is a watchdog timer. In addition, in the figures, the same reference numerals indicate the same or corresponding parts. Agent: Patent attorney Yoshi 1) Kenji (2 others) Working example 3rd F! A Configuration of the master station in the embodiment Fig. 1 Configuration of the slave station in the embodiment Fig. 2

Claims (1)

【特許請求の範囲】 伝送路に親局及び所定台数の子局が接続され、親局と子
局との間でデータの伝送を行うデータ伝送システムにお
いて、 親局は、伝送路上に所定時間T1間隔でいずれかの子局
を指定してデータを送出する伝送制御装置と、伝送路上
におけるデータの存在を検知してT1<t1である所定
時間t1の計時を開始し、計時終了までに再度データの
存在が検知されない時に、伝送制御装置を初期化する時
限タイマーと、を有し、 子局は、伝送路上のデータを受信し、このデータが自局
宛のデータである場合には、受信からT1>T2である
所定時間T2以内に伝送路上にデータを送出して親局へ
のデータ返送を行う伝送制御装置と、伝送路上のデータ
の存在を検知してT2<t2である所定時間t2の計時
を開始し、計時終了までに再度データの存在が検知が送
出されない時に自局の伝送制御装置を初期化する時限タ
イマーと、を有することを特徴とするデータ伝送システ
ム。
[Claims] In a data transmission system in which a master station and a predetermined number of slave stations are connected to a transmission path and data is transmitted between the master station and the slave stations, the master station transmits data on the transmission path at intervals of a prescribed time T1. A transmission control device that specifies one of the slave stations and sends data, detects the presence of data on the transmission path, starts counting a predetermined time t1 where T1<t1, and detects the presence of data again by the end of timing. The slave station has a timer that initializes the transmission control device when it is not detected, and the slave station receives data on the transmission path, and if this data is addressed to its own station, T1>T2 from reception. A transmission control device that sends data onto a transmission path and returns the data to a master station within a predetermined time T2, which is , and detects the presence of data on the transmission path and starts timing a predetermined time t2, where T2<t2. and a timer that initializes the transmission control device of its own station when the detection of the presence of data is not transmitted again by the end of time measurement.
JP14949890A 1990-06-06 1990-06-06 Data transmission system Pending JPH0440719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14949890A JPH0440719A (en) 1990-06-06 1990-06-06 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14949890A JPH0440719A (en) 1990-06-06 1990-06-06 Data transmission system

Publications (1)

Publication Number Publication Date
JPH0440719A true JPH0440719A (en) 1992-02-12

Family

ID=15476471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14949890A Pending JPH0440719A (en) 1990-06-06 1990-06-06 Data transmission system

Country Status (1)

Country Link
JP (1) JPH0440719A (en)

Similar Documents

Publication Publication Date Title
US8244838B2 (en) Industrial controller employing the network ring topology
US7222256B2 (en) System and method for controlling redundant communication links in networked safety systems
CN102307131B (en) Double ring network system, communication control method thereof, and transmission station
WO2011012041A1 (en) System and mothod for setting addresses of serial bus slave devices
US10324478B2 (en) Wireless node auto-reset function
JP4181283B2 (en) Failure detection notification method and internetwork apparatus
WO2003090084A1 (en) A method and a system for ensuring a bus and a control server
JPH0440719A (en) Data transmission system
JPS62226271A (en) Automatic switching device for pos loop
JPS596735A (en) Defect notifying system
JPS58170247A (en) Automatic loop back controlling system
JPS58132833A (en) Information transmitting method
JPH11177550A (en) Monitor system for network
JP3294256B2 (en) Data communication method and device
JPH02217099A (en) Load controller
CN103516572A (en) Built-in interface circuit
JPH01220094A (en) Home bus system
JPH0599477A (en) Protecting device for air-conditioning machine
JPS63318823A (en) Trouble detecting system
AU672212B2 (en) Improved emergency lighting system
JP2618890B2 (en) Abnormal transmission detection method
JPS5818031B2 (en) Polling control method
JPH05167624A (en) Data transmission control system
JPH0561822B2 (en)
JPH098846A (en) Confirmation system for communication state, communication system and exchange