JP5432666B2 - Relay system for equipment control - Google Patents

Relay system for equipment control Download PDF

Info

Publication number
JP5432666B2
JP5432666B2 JP2009244766A JP2009244766A JP5432666B2 JP 5432666 B2 JP5432666 B2 JP 5432666B2 JP 2009244766 A JP2009244766 A JP 2009244766A JP 2009244766 A JP2009244766 A JP 2009244766A JP 5432666 B2 JP5432666 B2 JP 5432666B2
Authority
JP
Japan
Prior art keywords
control command
control
segments
segment
transmitted
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
JP2009244766A
Other languages
Japanese (ja)
Other versions
JP2011091701A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2009244766A priority Critical patent/JP5432666B2/en
Publication of JP2011091701A publication Critical patent/JP2011091701A/en
Application granted granted Critical
Publication of JP5432666B2 publication Critical patent/JP5432666B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Description

本発明は、設備制御向け中継システムに関するものである。   The present invention relates to a relay system for equipment control.

従来、複数の通信制御装置がバスを介して接続されることによって複数のセグメントが構成されるとともに、複数のセグメントが中継器を介して接続され、中継器がセグメント間でデータフレームを転送するようにした伝送システムが提案されている(例えば、特許文献1参照)。   Conventionally, a plurality of communication control devices are connected via a bus to form a plurality of segments, a plurality of segments are connected via a repeater, and the repeater transfers a data frame between the segments. A transmission system is proposed (see, for example, Patent Document 1).

このような伝送システムを利用して照明負荷のような設備機器を制御する設備機器制御システムがあり、図14(a)に示すように、設備機器たる照明負荷の点灯制御を行う負荷端末11と、操作スイッチ(図示せず)からの操作入力や各種センサ(図示せず)からの検知入力に応じて負荷端末11の動作を制御する制御端末12とがバス13を介して接続されて個々のセグメント10〜10が構成されるとともに、各セグメント10〜10のバス13に接続される中継器20〜20同士をバス30を介して接続することによって制御システムが構成されている。 There is an equipment control system that controls equipment such as a lighting load by using such a transmission system. As shown in FIG. 14A, a load terminal 11 that performs lighting control of the lighting load that is equipment A control terminal 12 that controls the operation of the load terminal 11 in response to an operation input from an operation switch (not shown) and a detection input from various sensors (not shown) is connected via a bus 13 to each of them. The segments 10 1 to 10 n are configured, and the control system is configured by connecting the repeaters 20 1 to 20 n connected to the bus 13 of each segment 10 1 to 10 n via the bus 30. Yes.

この制御システムでは、例えばセグメント10内の制御端末12が、操作スイッチからの操作入力に応じて照明負荷を点灯させるON制御命令をマルチキャストパケットでバス13に送信すると、バス13に接続された全ての負荷端末11がON制御命令を受信して、照明負荷を点灯させるとともに、バス13に接続された中継器20が、制御端末12からのON制御命令をバス30を介して他の中継器20〜20へ送信する。他の中継器20〜20では、中継器20から送信されたON制御命令を受信すると、このON制御命令を対応するセグメント10〜10のバス13へ転送しており、バス13に接続された負荷端末11により照明負荷を点灯させているので、複数のセグメント10〜10内の負荷端末11を1つのグループとして動作させ、グループ内の全ての設備機器を同一の動作状態に制御している。 In this control system, for example, the control terminal 12 of the segment 10 in 1, and send to the bus 13 in multicast packets ON control command for turning on the lighting load in response to an operation input from the operation switch, all connected to the bus 13 of the load terminal 11 receives the oN control command, together with the turns on the lighting load, the bus 13 repeater 20 1 connected to the other repeaters via a bus 30 oN control instructions from the control terminal 12 20 2 to 20 n . In other repeater 20 2 to 20 n, upon receiving the ON control command transmitted from the repeater 20 1, and forward this ON control command to the corresponding segments 10 2 to 10 n of the bus 13, the bus 13 Since the lighting load is turned on by the load terminal 11 connected to the load terminal 11, the load terminals 11 in the plurality of segments 10 1 to 10 n are operated as one group, and all the equipment in the group are in the same operation state. Is controlling.

特開平6−216915号公報JP-A-6-216915

しかしながら、上述の設備機器制御システムでは、別々のセグメント10〜10の制御端末12から略同時に異なる制御内容の制御命令が送信された場合に、制御命令を発したセグメントの中継器20〜20が、異なる制御内容の制御命令を他のセグメントへ略同時に転送することで、別々のセグメントの負荷端末11が異なる制御状態に制御される可能性があった。 However, in the above-described equipment control system, when control commands having different control contents are transmitted almost simultaneously from the control terminals 12 of the different segments 10 1 to 10 n , the repeaters 20 1 to 20 of the segments that have issued the control commands are transmitted. 20 n may transfer control commands having different control contents to other segments almost simultaneously, so that the load terminals 11 of different segments may be controlled to different control states.

すなわち、図14(b)に示すように、複数のセグメント10,10に接続される中継器20,20がバス30を介して接続され、セグメント10,10に属する負荷端末11を1つのグループとして動作させるとともに、セグメント10に属する負荷端末11と図示しない別のセグメントに属する負荷端末11を1つのグループとして動作させる場合に、セグメント10,10に属する負荷端末11を1つのグループとして消灯させた後、セグメント10と他のセグメントに属する負荷端末11を1つのグループとして点灯させると、セグメント10に属する負荷端末11とセグメント10に属する負荷端末11が別々の動作状態で制御されることになる。ここで、一方のセグメント10内の制御端末12からON制御命令がマルチキャストパケットで送信(図14(b)のS1)されるのと略同時に、他方のセグメント10内の制御端末12からOFF制御命令がマルチキャストパケットでバス13に送信(図中のS2)されると、セグメント10では、制御端末12から送信されたON制御命令に基づいて負荷端末11が照明負荷を点灯させ、セグメント10では、制御端末12から送信されたOFF制御命令に基づいて負荷端末11が照明負荷を消灯させる。 That is, as shown in FIG. 14B, the relay terminals 20 1 and 20 2 connected to the plurality of segments 10 1 and 10 2 are connected via the bus 30, and the load terminals belonging to the segments 10 1 and 10 2 are connected. 11 together operate as a group, when operating the load terminal 11 belonging to another segment (not shown) and the load terminal 11 belonging to the segment 10 2 as a group, the load terminal 11 belonging to the segment 10 1, 10 2 the after off as a group, and light up the load terminal 11 belonging to the segment 10 2 and the other segments as a group, the load terminal 11 and load terminal 11 belonging to the segment 10 2 belonging to the segment 10 1 is separately It will be controlled in the operating state. Here, substantially the same time, OFF from the control terminal 12 of the other segment 10 within 2 from the control terminal 12 of one segment 10 in one of ON control command is transmitted in a multicast packet (S1 in FIG. 14 (b)) When the control command is transmitted to the bus 13 in a multicast packet (S2 in FIG.), the segments 10 1, the load terminal 11 based on the oN control command transmitted from the control terminal 12 turns on the lighting load, the segments 10 2 , the load terminal 11 turns off the lighting load based on the OFF control command transmitted from the control terminal 12.

またセグメント10に接続された中継器20は、バス13を介して入力されたON制御命令をバス30を介して中継器20に転送(図中のS3)するとともに、セグメント10に接続された中継器20は、バス13を介して入力されたOFF制御命令をバス30を介して中継器20に転送(図中のS4)する。尚、中継器20,20間の通信が半二重の場合は転送時間に差がつくが、略同時と見なせる時間差で中継器20から中継器20へのON制御命令の転送処理(S3)と、中継器20から中継器20へのOFF制御命令の転送処理(S4)が行われるものとする。 The repeater 20 1 connected to the segment 10 1, along with the ON control command input through the bus 13 to transfer to the repeater 20 2 via the bus 30 (S3 in the figure), the segment 10 2 connected repeater 20 2 transfers the OFF control command input through the bus 13 to the repeater 20 1 via the bus 30 (S4 in the figure). Note that the repeater 20 1, 20 when the communication between the two is half duplex get the difference in transfer time, the transfer processing of ON control command in the time difference can be regarded as substantially the same time from the repeater 20 1 to the relay 20 2 and (S3), it is assumed that the transfer processing of the OFF control command from the repeater 20 2 to the relay 20 1 (S4) is performed.

そして、中継器20が、セグメント10の制御端末12からOFF制御命令(S2)を受信した後で、中継器20から転送されたON制御命令(S3)を受信すると、このON制御命令をセグメント10のバス13を介して負荷端末11へ転送し(図中のS5)、セグメント10内の負荷端末11により照明負荷を点灯させるため、セグメント10の負荷端末11は一旦消灯した後で点灯する。また中継器20が、セグメント10の制御端末12からON制御命令(S1)を受信した後で、中継器20から転送されたOFF制御命令(S4)を受信すると、このOFF制御命令(S4)をセグメント10のバス13を介して負荷端末11に転送し(図中のS6)、セグメント10内の負荷端末11により照明負荷を消灯させるため、セグメント10の負荷端末11は一旦点灯した後で消灯する。 When the repeater 20 2, the control terminal 12 of the segment 10 2 after receiving OFF control instructions (S2), receives the ON control command transferred from the repeater 20 1 (S3), the ON control command was transferred through the segment 10 and second bus 13 to the load terminal 11 (S5 in the figure), for lighting the lighting load by the load terminal 11 of the segment 10 2, the load terminal 11 of the segment 10 2 is turned off once It will light up later. The repeater 20 1, after receiving ON control instruction (S1) from the control terminal 12 of the segments 10 1, when the received OFF control instructions (S4) transferred from the repeater 20 2, the OFF control command ( S4) via the segments 10 of the buses 13 and transferred to the load terminal 11 (S6 in Fig.), for turning off the lighting load by the load terminal 11 of the segment 10 in one load terminal 11 of the segment 10 1 once Turns off after turning on.

このように、セグメント10,10に属する負荷端末11を同じ動作状態で動作させようとしても、セグメント10に属する負荷端末11と、セグメント10に属する負荷端末11とが異なる動作状態で動作させられ、同一グループの設備機器を同一の動作状態で動作させることができないという問題があった。 In this way, even if the load terminals 11 belonging to the segments 10 1 and 10 2 are operated in the same operation state, the load terminals 11 belonging to the segment 10 1 and the load terminals 11 belonging to the segment 10 2 are in different operation states. There is a problem that the equipments of the same group cannot be operated in the same operating state.

本発明は上記問題点に鑑みて為されたものであり、その目的とするところは、同じグループに属する複数のセグメントの設備機器を同一の動作状態で動作させることができる設備制御向け中継システムを提供することにある。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a relay system for equipment control capable of operating equipment equipment of a plurality of segments belonging to the same group in the same operation state. It is to provide.

上記目的を達成するために、請求項1の発明は、外部より入力される制御命令に応じて設備負荷を制御する負荷端末と、前記負荷端末に制御命令を送信する制御端末とがバスを介して接続されることによって個々のセグメントが構成され、複数の前記セグメントが、前記セグメント間で制御命令を中継伝送する中継器を介して接続され、前記中継器は、何れかの前記セグメントの前記制御端末から送信された制御命令を受信すると、受信した前記制御命令を他の前記セグメントに転送し、且つ、1乃至複数の前記セグメントに属する複数の前記制御端末から送信された同一の前記設備負荷に対する制御命令を受信するタイミングの時間差が同時と見なせる所定時間内であれば、後に受信した制御命令を他の前記セグメントに転送し、且つ、後に受信した前記制御命令送信元の前記セグメントにも返送することを特徴とする。 To achieve the above object, a first aspect of the invention, through a load terminal to control the equipment load in response to a control command input from the outside, a control terminal and a bus for transmitting a control command to said load terminal individual segments are constituted by connecting Te, a plurality of the segments are connected via a repeater for relaying transmit control commands between said segments, said repeater, any of the of the segments Upon receiving the control command transmitted from the control terminal, and transfers the control command received to other of said segments, and, 1 to same of said equipment load transmitted from a plurality of said control terminals belonging to a plurality of said segments time difference between the timing of receiving a control command is transferred as long as it is within a predetermined regarded as simultaneous time, control command received after the other of said segments relative to, and, after Characterized in that also return received the control command to the source of the segment.

請求項2の発明は、請求項1の発明において、前記中継器は、各々の前記セグメントで、前記制御端末又は前記中継器により前回送信された制御命令を記憶する記憶手段を有しており、前記中継器は、何れかの前記セグメントの前記制御端末から送信された制御命令を受信した場合に、今回受信した制御命令の制御内容が、前記記憶手段に記憶されている制御命令の制御内容と同じであれば、今回受信した制御命令の転送を行わないことを特徴とする。 The invention of claim 2 is the invention of claim 1, wherein the repeater has storage means for storing a control command last transmitted by the control terminal or the repeater in each of the segments , When the repeater receives a control command transmitted from the control terminal of any of the segments, the control content of the control command received this time is the control content of the control command stored in the storage means If they are the same, the control command received this time is not transferred .

請求項3の発明は、外部より入力される制御命令に応じて設備負荷を制御する負荷端末と、前記負荷端末に制御命令を送信する制御端末とがバスを介して接続されることによって個々のセグメントが構成され、複数の前記セグメントが、前記セグメント間で制御命令を中継伝送する中継器を介して接続され、各々の前記制御端末は、現在時刻を計時する計時機能を有し、前記計時機能により計時された送信時刻情報を制御命令とともに送信しており、前記中継器は、何れかの前記セグメントの前記制御端末から送信された制御命令を受信すると、受信した前記制御命令を他の前記セグメントに転送し、且つ、1乃至複数の前記セグメントに属する複数の前記制御端末から送信された同一の前記設備負荷に対する制御命令を受信した場合に、前記制御命令とともに送信された前記送信時刻情報をもとに、複数の前記制御命令が同時とみなせる所定時間内に送信されたと判断ると、後に受信した前記制御命令を他の前記セグメントに転送し、且つ、後に受信した前記制御命令送信元の前記セグメントにも返送することを特徴とする。 The invention according to claim 3, of the individual by the load terminal to control the equipment load in response to a control command input from the outside, and a control terminal that transmits a control command to said load terminal is connected via a bus segment is constituted, a plurality of the segments are connected via a repeater for relaying transmit control commands between the segments, each said control terminal of has a timer function for counting a present time, the time counter function is transmitting the transmission time information timed control commands together with the repeaters, if any one of receiving a control command transmitted from the control terminal of the segment, the control command to other of said received transfer to the segment, and, when receiving the control command for one or more of the same of the equipment load transmitted from a plurality of said control terminal belonging to the segment, before Based on the transmission time information transmitted together with the control command, and transfers the plurality of the control instructions you determined to have been transmitted within a predetermined regarded as simultaneous time, the control command received after the other of said segments and, the control command received after, characterized in that return to the source of the segment.

請求項4の発明は、請求項3の発明において、前記中継器は、別々の前記セグメントに属する複数の前記制御端末から送信された同一の前記設備負荷に対する制御命令を受信した場合に、複数の前記制御端末からの前記制御命令が所定時間内に送信されたものと判断した時点で先に受信した前記制御命令の転送処理を行っていなければ、先に受信した前記制御命令を他の前記セグメントに転送する処理を停止することを特徴とする。 The invention according to claim 4, characterized in that in the invention of claim 3, wherein the repeater, when receiving the control command for the separate identity of the equipment load transmitted from a plurality of said control terminals belonging to the segment, a plurality of unless performing transfer processing of the control command received previously when the control command from the control terminal is determined to have been transmitted within a predetermined time, the other of said segments the control command previously received The process of transferring to is stopped.

請求項5の発明は、請求項4の発明において、前記中継器は、先に受信した前記制御命令を他の前記セグメントに転送する処理を停止した場合に、他の前記セグメントの前記制御端末から送信された前記制御命令を後から受信すると、後から受信した前記制御命令を他の前記セグメントに返送する処理も停止することを特徴とする。 The invention of claim 5 is the invention of claim 4, wherein the repeater, when stopping the processing of transferring the control command previously received the other of the segments, from the control terminal of the other of said segments Upon receiving later transmitted the control command, the process of returning the control command received after the other of said segments characterized in that it also stopped.

請求項6の発明は、外部より入力される制御命令に応じて設備負荷を制御する負荷端末と、前記負荷端末に制御命令を送信する制御端末とがバスを介して接続されることによって個々のセグメントが構成され、複数の前記セグメントが、前記セグメント間で制御命令を中継伝送する中継器を介して接続され、各々の前記制御端末は、自セグメントで前回送信された制御命令に付加されたシーケンス番号に所定の変化分を加算して得た新たなシーケンス番号を制御命令とともに送信し、前記中継器は、何れかの前記セグメントの前記制御端末から送信された制御命令を受信すると、受信した前記制御命令を他の前記セグメントに転送し、且つ、1乃至複数の前記セグメントに属する複数の前記制御端末から送信された同一の前記設備負荷に対する制御命令を受信した場合に、受信した前記制御命令とともに送信された前記シーケンス番号が同じであれば同時制御と判断し、後に受信した前記制御命令を他の前記セグメントに転送し、且つ、後に受信した前記制御命令を送信元の前記セグメントにも返送することを特徴とする。 The invention of claim 6, the individual by a load terminal to control the equipment load in response to a control command input from the outside, and a control terminal that transmits a control command to said load terminal is connected via a bus segment is constituted, a plurality of the segments are connected via a repeater for relaying transmit control commands between the segments, each said control terminal of was added to the control command transmitted last by the own segment send a new sequence number obtained by adding a predetermined variation to the sequence number with the control command, the repeater, when either receiving a control command transmitted from the control terminal of the segment, the received transferring the control command to other of said segments, and, against the same the equipment load transmitted from a plurality of said control terminals belonging to one or more of the segments When receiving the control command, if the sequence number transmitted together with the control command received is the same determines that the simultaneous control, the control command received after transferred to another of said segments, and, subsequently received characterized in that also returned to the segment source said control command.

請求項1の発明によれば、中継器では、複数の制御端末から同一の設備負荷に対する制御命令が所定時間内に送信された場合、後に受信した制御命令を他のセグメントに送信するとともに、送信元のセグメントにも返送しているので、複数のセグメントに属する負荷端末を、後に受信した制御命令の制御内容にしたがって同一の動作状態で動作させることができる。   According to the invention of claim 1, in the repeater, when a control command for the same equipment load is transmitted from a plurality of control terminals within a predetermined time, the control command received later is transmitted to another segment and transmitted. Since it is also returned to the original segment, the load terminals belonging to the plurality of segments can be operated in the same operation state according to the control contents of the control command received later.

請求項2の発明によれば、各セグメントで直前に送信された制御命令が続けて送信されるのを防止できるから、通信トラフィックを低減しつつ、複数のセグメントに属する負荷端末を、後に受信した制御命令の制御内容にしたがって同一の動作状態で動作させることができる。   According to the invention of claim 2, since it is possible to prevent the control command transmitted immediately before in each segment from being transmitted continuously, the load terminal belonging to a plurality of segments was received later while reducing communication traffic. It can be operated in the same operation state according to the control content of the control command.

請求項3の発明によれば、中継器では、複数の制御端末から同一の設備負荷に対する制御命令が送信された場合、制御命令と共に受信した時刻情報をもとに、どの制御命令が後から受信したものかを判断でき、後に受信した制御命令を他のセグメントに送信するとともに、送信元のセグメントにも返送しているので、複数のセグメントに属する負荷端末を、後に受信した制御命令の制御内容にしたがって同一の動作状態で動作させることができる。   According to the invention of claim 3, in the repeater, when a control command for the same equipment load is transmitted from a plurality of control terminals, which control command is received later based on the time information received together with the control command. Since the control command received later is sent to other segments and sent back to the source segment, the load terminal belonging to multiple segments can be controlled by the control content of the control command received later. Can be operated in the same operation state.

請求項4の発明によれば、先に受信した制御命令の転送処理を停止することによって、通信トラフィックの低減を図るとともに、複数のセグメントに属する負荷端末を、後に受信した制御命令の制御内容にしたがって同一の動作状態で動作させることができる。   According to the invention of claim 4, communication traffic is reduced by stopping the transfer process of the control command received earlier, and load terminals belonging to a plurality of segments are set to the control content of the control command received later. Therefore, it can be operated in the same operation state.

請求項5の発明によれば、先に受信した制御命令の転送処理を停止した場合は、後に受信した制御命令を送信元のセグメントに返送する処理も不要になるので、後に受信した制御命令を送信元のセグメントに返送する処理を停止することによって、通信トラフィックをさらに低減することができる。   According to the invention of claim 5, when the transfer process of the control command received earlier is stopped, the process of returning the control command received later to the transmission source segment becomes unnecessary. By stopping the process of returning to the source segment, communication traffic can be further reduced.

請求項6の発明によれば、中継器では、複数の制御端末から同一の設備負荷に対する制御命令が送信された場合、制御命令と共に受信したシーケンス番号が異なっていれば同時に送信されたものではなく、シーケンス番号が同じ番号であれば同時に送信されたものと判断することができ、後に受信した制御命令を他のセグメントに送信するとともに、送信元のセグメントにも返送しているので、複数のセグメントに属する負荷端末を、後に受信した制御命令の制御内容にしたがって同一の動作状態で動作させることができる。   According to the invention of claim 6, in the repeater, when a control command for the same equipment load is transmitted from a plurality of control terminals, if the sequence numbers received together with the control command are different, they are not transmitted simultaneously. If the sequence numbers are the same, it can be determined that they were sent at the same time, and the control command received later is sent to the other segment and also sent back to the source segment. Can be operated in the same operation state according to the control content of the control command received later.

実施形態1の概略構成を示すブロック図である。1 is a block diagram showing a schematic configuration of Embodiment 1. FIG. 同上の転送処理を説明する説明図である。It is explanatory drawing explaining the transfer process same as the above. 同上の転送処理を説明するシーケンス図である。It is a sequence diagram explaining a transfer process same as the above. 実施形態2の転送処理を説明する説明図である。10 is an explanatory diagram illustrating transfer processing according to Embodiment 2. FIG. 同上の転送処理を説明するシーケンス図である。It is a sequence diagram explaining a transfer process same as the above. 実施形態3の転送処理を説明する説明図である。FIG. 10 is an explanatory diagram illustrating transfer processing according to a third embodiment. 同上の転送処理を説明するシーケンス図である。It is a sequence diagram explaining a transfer process same as the above. 実施形態4の転送処理を説明する説明図である。FIG. 10 is an explanatory diagram illustrating transfer processing according to a fourth embodiment. 同上の転送処理を説明するシーケンス図である。It is a sequence diagram explaining a transfer process same as the above. 実施形態5の転送処理を説明する説明図である。FIG. 10 is an explanatory diagram illustrating transfer processing according to a fifth embodiment. 同上の転送処理を説明するシーケンス図である。It is a sequence diagram explaining a transfer process same as the above. 実施形態6の転送処理を説明する説明図である。FIG. 20 is an explanatory diagram illustrating transfer processing according to a sixth embodiment. 同上の転送処理を説明するシーケンス図である。It is a sequence diagram explaining a transfer process same as the above. 従来の設備制御向け中継システムを示し、(a)は概略構成図、(b)は動作説明図である。The conventional relay system for equipment control is shown, (a) is a schematic block diagram, (b) is operation | movement explanatory drawing.

以下では、本発明の技術思想を、設備負荷である照明負荷の点灯/消灯を制御する照明制御システムに適用した実施形態について説明する。   Hereinafter, an embodiment in which the technical idea of the present invention is applied to an illumination control system that controls lighting / extinction of an illumination load that is an equipment load will be described.

(実施形態1)
図1は実施形態1の概略的なシステム構成を示し、照明負荷のような設備負荷を制御する複数台の負荷端末11と、制御端末12とをバス13を介して接続することによって個々のセグメント10,10が構成されるとともに、各セグメント10,10のバス13にそれぞれ接続される中継器20,20がバス30を介して接続されて、設備制御向け中継システムが構成されている。尚、個々のセグメント或いは中継器について説明するときは、それぞれ、セグメント10,10、中継器20,20と表記し、全体的な説明を行う場合はセグメント10、中継器20と表記する。
(Embodiment 1)
FIG. 1 shows a schematic system configuration of the first embodiment, in which a plurality of load terminals 11 that control equipment loads such as lighting loads and control terminals 12 are connected to each other by a bus 13. 10 1 and 10 2 are configured, and repeaters 20 1 and 20 2 connected to the buses 13 of the segments 10 1 and 10 2 are connected via the bus 30 to configure a relay system for equipment control. Has been. Incidentally, when describing individual segments or repeater, respectively, the segments 10 1, 10 2, repeater 20 1, 20 2 and denoted, when performing general description segment 10, a repeater 20 notation To do.

負荷端末11は、バス13を介してパケットデータの送受信を行う通信ハードウェア(以下、通信HWと略称す。)11aと、ランプ(照明負荷)11bと、ランプ11bに点灯電力を供給する点灯回路11cと、パケットデータの送受信処理を行うとともに、外部よりパケットデータで送信された制御命令に応じて点灯回路11cの出力を制御するCPU11dとを備えている。   The load terminal 11 includes communication hardware (hereinafter abbreviated as a communication HW) 11a that transmits and receives packet data via the bus 13, a lamp (lighting load) 11b, and a lighting circuit that supplies lighting power to the lamp 11b. 11c, and a CPU 11d that performs packet data transmission / reception processing and controls the output of the lighting circuit 11c in accordance with a control command transmitted from the outside as packet data.

制御端末12は、バス13を介してパケットデータの送受信を行う通信ハードウェア(以下、通信HWと略称す。)12aと、スイッチ14からの操作入力を受け付ける操作入力部12bと、パケットデータの送受信処理を行うとともに、操作入力部12bから入力された操作信号に基づいて照明負荷を点灯させるON制御命令又は照明負荷を消灯させるOFF制御命令を通信HW12aから送信させるCPU12cと、例えば動作クロックをカウントすることによって現在時刻を計時する計時タイマ12d(計時機能)とを備えている。尚、複数のセグメント10,10に属する全ての負荷端末11を一つのグループとして動作させる場合、制御端末12は、制御命令をマルチキャストパケットで送信しており、マルチキャストパケットで送信された制御命令は、バス13,30を介して接続された中継器20,20を介して他のセグメント10,10へ転送され、各セグメント10,10内の負荷端末11で受信されるので、各セグメント10,10内の負荷端末11を一括して動作させることができる。 The control terminal 12 includes communication hardware (hereinafter abbreviated as a communication HW) 12a that transmits and receives packet data via the bus 13, an operation input unit 12b that receives operation input from the switch 14, and transmission and reception of packet data. The CPU 12c that performs processing and transmits an ON control command for turning on the lighting load or an OFF control command for turning off the lighting load based on the operation signal input from the operation input unit 12b and the operation clock, for example, are counted. Thus, a timer 12d (timer function) for measuring the current time is provided. When all the load terminals 11 belonging to the plurality of segments 10 1 and 10 2 are operated as one group, the control terminal 12 transmits a control command in a multicast packet, and the control command transmitted in the multicast packet Is transferred to the other segments 10 1 and 10 2 via the repeaters 20 1 and 20 2 connected via the buses 13 and 30, and is received by the load terminal 11 in each segment 10 1 and 10 2 . Therefore, the load terminals 11 in the segments 10 1 and 10 2 can be collectively operated.

また中継器20,20は、対応するセグメント10,10のバス13を介してパケットデータの送受信を行う通信ハードウェア(以下、通信HWと略称す。)21と、バス30を介して他の中継器との間でパケットデータの送受信を行う通信ハードウェア(以下、通信HWと略称す。)22と、CPU23と、メモリ24とを備えている。 The repeaters 20 1 and 20 2 are connected via communication bus 21 (hereinafter referred to as “communication HW”) 21 that transmits and receives packet data via the bus 13 of the corresponding segments 10 1 and 10 2 and the bus 30. Communication hardware (hereinafter abbreviated as communication HW) 22 that transmits and receives packet data to and from other repeaters, a CPU 23, and a memory 24.

メモリ24には、送受信データを格納するためのデータキュー24a、及び、パケットデータを中継するための経路情報を記憶する中継用テーブル記憶部24bが設けられている。   The memory 24 is provided with a data queue 24a for storing transmission / reception data and a relay table storage unit 24b for storing path information for relaying packet data.

またCPU23には、その演算機能によって、送受信データ処理部25,26と、中継処理部27とが設けられている。   Further, the CPU 23 is provided with transmission / reception data processing units 25 and 26 and a relay processing unit 27 according to its calculation function.

送受信データ処理部25,26は、データ受信時には対応する通信HW21,22からの受信通知に応じて通信HW21,22からパケットデータを受信し、受信データを一時的にデータキュー24aに記憶させる。また送受信データ処理部25,26は、データ送信時には、中継処理部27からの送信要求に応じてデータキュー24aから送信データを読み出して通信HW21,22に出力し、通信HW21,22からバス13,31へ送信させる。   The transmission / reception data processing units 25 and 26 receive packet data from the communication HWs 21 and 22 in response to a reception notification from the corresponding communication HWs 21 and 22 when receiving data, and temporarily store the received data in the data queue 24a. The transmission / reception data processing units 25 and 26 read transmission data from the data queue 24a in response to a transmission request from the relay processing unit 27 and output the transmission data to the communication HWs 21 and 22 when transmitting data. 31 is transmitted.

中継処理部27は、異なるセグメント10(例えばセグメント10,10)の間でパケットデータを中継するために、中継用テーブル記憶部24bに記憶されたデータをもとに中継経路を決定し、パケットヘッダ等の書き換えを行って、データの転送処理を実行する。 The relay processing unit 27 determines a relay route based on data stored in the relay table storage unit 24b in order to relay packet data between different segments 10 (for example, segments 10 1 and 10 2 ). Rewrite the packet header and execute the data transfer process.

すなわち中継処理部27は、対応するセグメント10に属する制御端末12からバス13を介して送信された制御命令を通信HW21が受信すると、受信した制御命令を通信HW21からバス30を介して他の中継器20に転送する処理を行う。また中継処理部27は、他の中継器20からバス30を介して送信された制御命令を通信HW22が受信すると、受信した制御命令を通信HW21から対応するセグメント10のバス13に転送する処理を行う。さらに、通信HW21,22が、1乃至複数のセグメント10に属する複数の制御端末12からの、同一の設備負荷(負荷端末11)に対する制御命令を、略同時と見なせる所定時間内に受信した場合、中継処理部27は、後に受信した制御命令を他のセグメント10に転送する処理を行うとともに、当該制御命令を送信元のセグメント10に返送する処理を行う。   That is, when the communication HW 21 receives a control command transmitted from the control terminal 12 belonging to the corresponding segment 10 via the bus 13, the relay processing unit 27 receives the received control command from the communication HW 21 via the bus 30 to another relay. The process of transferring to the device 20 is performed. Further, when the communication HW 22 receives the control command transmitted from the other repeater 20 via the bus 30, the relay processing unit 27 performs a process of transferring the received control command from the communication HW 21 to the bus 13 of the corresponding segment 10. Do. Furthermore, when the communication HWs 21 and 22 receive control commands for the same equipment load (load terminal 11) from a plurality of control terminals 12 belonging to one to a plurality of segments 10 within a predetermined time that can be regarded as substantially simultaneous, The relay processing unit 27 performs a process of transferring the control command received later to another segment 10 and a process of returning the control command to the transmission source segment 10.

ここで、2つのセグメント10,10を例に中継器20,20による転送処理を図2及び図3に基づいて説明する。先ず、セグメント10でユーザがスイッチ14を用いてON操作を行うと、制御端末12のCPU12cが、スイッチ14のON操作に応じて、通信HW12aからON制御命令をマルチキャストパケットで送信させる(図2,図3のS1)。この時、同じセグメント10の負荷端末11は、制御端末12から送られたON制御命令を受信して、照明負荷を点灯させる(図3のA1)。 Here, transfer processing by the repeaters 20 1 and 20 2 will be described with reference to FIGS. 2 and 3 by taking two segments 10 1 and 10 2 as an example. First, when a user segment 10 1 performs ON operation using the switch 14, CPU 12c of the control terminal 12, in response to the ON operation of the switch 14, is transmitted from the communication HW12a ON control command to a multicast packet (FIG. 2 , S1 in FIG. At this time, the load terminal 11 of the same segment 10 1 receives the ON control command sent from the control terminal 12 turns on the lighting load (A1 in FIG. 3).

セグメント10側でON操作が行われるのと略同じタイミングで、他方のセグメント10でユーザがスイッチ14を用いてOFF操作を行うと、セグメント10に属する制御端末12のCPU12cが、スイッチ14のOFF操作に応じて、通信HW12aからOFF制御命令をマルチキャストパケットで送信させる(図2,図3のS2)。この時、同じセグメント10の負荷端末11は、制御端末12から送られたOFF制御命令を受信して、照明負荷を消灯させる(図3のA2)。 Substantially at the same timing as ON operation is performed by the segment 10 1 side, the user on the other segment 10 2 performs OFF operation using the switch 14, CPU 12c of the control terminal 12 belonging to the segment 10 2, switch 14 In response to the OFF operation, the communication HW 12a transmits an OFF control command as a multicast packet (S2 in FIGS. 2 and 3). At this time, the load terminal 11 of the same segment 10 2 receives the OFF control command sent from the control terminal 12 turns off the lighting load (A2 in FIG. 3).

上記の処理S1で送信されたON制御命令は中継器20の通信HW21によっても受信され、中継器20の中継処理部27が、受信した制御命令を通信HW22からバス30に送信させることで、他の中継器20へON制御命令を転送させる(図2,図3のS3)。 The above process ON control command transmitted by S1 is received by the communication HW21 of the repeater 20 1, the relay processing unit 27 of the repeater 20 1, by sending a control command received from the communication HW22 bus 30 , to transfer the ON control command to the other repeater 20 2 (S3 in FIG. 2, FIG. 3).

また上記の処理S2で送信されたOFF制御命令は中継器20の通信HW21によっても受信され、中継器20の中継処理部27が、受信した制御命令を通信HW22からバス30に送信させることで、他の中継器20へOFF制御命令を転送させる(図2,図3のS4)。この時、中継器20では、中継器20から転送されたOFF制御命令が通信HW22によって受信され、中継処理部27が、このOFF制御命令を通信HW21からセグメント10側へ転送させており(図2,図3のS6)、セグメント10内の負荷端末11がOFF制御命令によって消灯させられる。 The OFF control command transmitted by the processing S2 is received by the communication HW21 of the repeater 20 2, relay processing unit 27 of the repeater 20 2, thereby transmitting the control command received from the communication HW22 bus 30 in, to transfer the OFF control command to the other repeater 20 1 (FIG. 2, S4 of FIG. 3). At this time, the repeater 20 1, OFF control command transferred from the repeater 20 2 is received by the communication HW22, relay processing unit 27, and the OFF control command is transferred from the communication HW21 to segment 10 1 side (Fig. 2, S6 in FIG. 3), the load terminal 11 of the segment 10 in one is turn off by the OFF control command.

ここで、中継器20において、一方のセグメント10から中継器20を介してON制御命令(S3)が入力されるタイミングと、他方のセグメント10の制御端末12からバス13を介してOFF制御命令(S2)が直接入力されるタイミングとの時間差が、略同時と見なせる所定時間内であれば、当該中継器20の中継処理部27は、後から受信した制御命令(この場合はセグメント10から送られたON制御命令)を、他方のセグメント10側に転送する通常の転送処理を行うとともに(図2,図3のS5)、中継器20を介して送信元のセグメント10側へ返送する返送処理も行っている(図2,図3のS7)。この時、セグメント10に属する負荷端末11では、中継器20から転送されたON制御命令(S5)を受信して、照明負荷を点灯させる(図3のA3)。また、セグメント10に属する負荷端末11では、セグメント10側から中継器20,20を介して転送されたOFF制御命令(S6)を受信して、照明負荷を一旦消灯させた後、中継器20から中継器20を介して返送されたON制御命令(S7)を受信して、照明負荷を再度点灯させる(図3のA4)。したがって、2つのセグメント10,10に属する全ての負荷端末11は、中継器20が後から受信したON制御命令に従って、同一の動作状態(点灯状態)で動作することになる。 Here, in repeater 20 2, through the timing of ON control command via the repeater 20 1 from one segment 10 1 (S3) is input, the bus 13 from the control terminal 12 of the other segment 10 2 time difference between the timing at which the OFF control command (S2) is directly input is within the predetermined time period that can be regarded as substantially the same time, the relay processing unit 27 of the repeater 20 2, control command received later (in this case the oN control command) sent from the segment 10 1, performs normal transfer process of transferring the other segment 10 2 side (S5 in FIG. 2, FIG. 3), the transmission source via the repeater 20 1 segment is performed also return process for returning to the 10 1 side (FIG. 2, S7 in FIG. 3). At this time, the load terminal 11 belonging to the segment 10 2, receives ON control command transferred from the repeater 20 2 (S5), and turns on the lighting load (A3 in FIG. 3). Further, the load terminal 11 belonging to the segment 10 1 receives OFF control command transferred via the repeater 20 2, 20 1 from the segment 10 2 side (S6), after once turns off the lighting load, receives ON control command is returned via the repeater 20 1 from the repeater 20 2 (S7), it turns on the lighting load again (A4 in Fig. 3). Therefore, all of the load terminal 11 belonging to two segments 10 1, 10 2, according to ON control command received after the repeater 20 2 will operate in the same operating state (lighted state).

上述のように、中継器20の中継処理部27は、何れかのセグメント10から制御命令を受信すると、この制御命令を他のセグメント10に転送する転送処理を行い、且つ、1乃至複数のセグメント10に属する複数の制御端末12から送信された、同一の設備負荷(負荷端末11)に対する制御命令が、通信HW21,22によって略同時と見なせる所定時間内に受信された場合、後に受信した制御命令を他のセグメント10に転送する処理を行うとともに、当該制御命令を送信元のセグメント10に返送する処理を行っている。   As described above, when the relay processing unit 27 of the repeater 20 receives a control command from any of the segments 10, the relay processing unit 27 performs a transfer process of transferring the control command to another segment 10, and includes one or more segments. 10, when control commands for the same equipment load (load terminal 11) transmitted from a plurality of control terminals 12 belonging to 10 are received by communication HWs 21 and 22 within a predetermined time that can be regarded as substantially simultaneous, control commands received later Is transferred to the other segment 10, and the control command is returned to the transmission source segment 10.

したがって、後に受信した制御命令が、他のセグメント10に転送されるとともに、送信元のセグメント10にも返送されるので、複数のセグメント10に属する負荷端末11を後で受信した制御命令にしたがって動作させることができ、複数のセグメント10に属する負荷端末11を1つのグループとして、同一の動作状態で動作させることができる。   Therefore, since the control command received later is transferred to the other segment 10 and also returned to the transmission source segment 10, the load terminal 11 belonging to the plurality of segments 10 operates according to the control command received later. The load terminals 11 belonging to the plurality of segments 10 can be operated as one group in the same operation state.

(実施形態2)
本発明の実施形態2を図4及び図5に基づいて説明する。尚、全体的なシステム構成は実施形態1と同様であるので、共通する構成要素には同一の符号を付して、図示および説明は省略する。
(Embodiment 2)
A second embodiment of the present invention will be described with reference to FIGS. Since the overall system configuration is the same as that of the first embodiment, common components are denoted by the same reference numerals, and illustration and description thereof are omitted.

実施形態1で説明した中継器20では、1乃至複数のセグメント10に属する複数の制御端末12から同一の設備負荷に対する制御命令が所定時間内に送信された場合、後に受信した制御命令を他のセグメント10に転送するとともに、当該制御命令の送信元のセグメント10にも返送しているが、本実施形態では、中継器20が、各セグメント10で直前に送信された制御命令をメモリ24(記憶手段)に記憶させており、中継処理部27では、各セグメント10へ次に送信する制御命令とメモリ24に記憶された制御命令の制御内容を比較し、制御内容が同じであれば、制御命令の送信を停止している。   In the repeater 20 described in the first embodiment, when a control command for the same equipment load is transmitted from a plurality of control terminals 12 belonging to one to a plurality of segments 10 within a predetermined time, a control command received later is transferred to another While being transferred to the segment 10 and returned to the segment 10 that is the transmission source of the control command, in the present embodiment, the repeater 20 stores the control command transmitted immediately before in each segment 10 in the memory 24 (stored). In the relay processing unit 27, the control instruction to be transmitted next to each segment 10 is compared with the control contents of the control instruction stored in the memory 24. If the control contents are the same, the control instruction Has stopped sending.

ここで、2つのセグメント10,10を1つのグループとして制御する場合に、1つのセグメント10に属する2台の制御端末12,12から略同時に制御命令が送信された場合の転送処理について図4及び図5を参照して説明する。 Here, when the two segments 10 1 and 10 2 are controlled as one group, the transfer when the control commands are transmitted substantially simultaneously from the two control terminals 12 1 and 12 2 belonging to one segment 10 1. The processing will be described with reference to FIGS.

先ず、セグメント10の制御端末12においてユーザがスイッチ14を用いてOFF操作を行うと、制御端末12のCPU12cが、スイッチ14のOFF操作に応じて、通信HW12aからOFF制御命令をマルチキャストパケットで送信させる(図4,図5のS1)。この時、同じセグメント10の負荷端末11は、制御端末12から送られたOFF制御命令を受信して、照明負荷を消灯させる(図5のA1)。 First, when the control terminal 12 first segment 10 1 user performs an OFF operation using the switch 14, the CPU12c control terminal 12 1, depending on the OFF operation of the switch 14, the multicast packet OFF control commands from the communication HW12a (S1 in FIGS. 4 and 5). At this time, the load terminal 11 of the same segment 10 1 receives the OFF control command sent from the control terminal 12 1, turns off the lighting load (A1 in FIG. 5).

制御端末12でOFF操作が行われるのと略同じタイミングで、同じセグメント10に属する他の制御端末12において、ユーザがスイッチ14を用いてON操作を行うと、制御端末12のCPU12cが、スイッチ14のON操作に応じて、通信HW12aからON制御命令をマルチキャストパケットで送信させる(図4,図5のS2)。この時、同じセグメント10の負荷端末11は、制御端末12から送られたON制御命令(S2)を受信して、照明負荷を点灯させる(図5のA2)。 In the control terminal 12 1 as OFF operation is performed substantially at the same time, the other control terminal 12 2 belonging to the same segment 10 1, when the user performs an ON operation using the switch 14, the control terminal 12 2 CPU 12c However, in response to the ON operation of the switch 14, the communication HW 12a transmits an ON control command as a multicast packet (S2 in FIGS. 4 and 5). At this time, the load terminal 11 of the same segment 10 1 receives ON control command sent from the control terminal 12 (S2), to light the lighting load (A2 in FIG. 5).

ところで、上記の処理S1で送信されたOFF制御命令は中継器20の通信HW21によっても受信され、中継器20の中継処理部27が、受信した制御命令を通信HW22からバス30に送信させることで、他の中継器20へOFF制御命令を転送させる(図4,図5のS3)。また、上記の処理S2で送信されたOFF制御命令は、中継器20の通信HW21によっても受信され、中継器20の中継処理部27が、受信した制御命令を通信HW22からバス30に送信させることで、他の中継器20へOFF制御命令を転送させる(図4,図5のS4)。 Incidentally, OFF control command transmitted by the above process S1 is received by the communication HW21 of the repeater 20 1, the relay processing unit 27 of the repeater 20 1 to transmit the control command received from the communication HW22 bus 30 it is, to transfer the OFF control command to the other repeater 20 2 (FIG. 4, S3 in FIG. 5). Moreover, OFF control command transmitted by the processing S2 is also received by the communication HW21 of the repeater 20 1, the relay processing unit 27 of the repeater 20 1, transmits a control command received from the communication HW22 bus 30 It is to, to transfer the OFF control command to the other repeater 20 2 (FIG. 4, S4 in FIG. 5).

中継器20では、上記の処理S3,S4で中継器20から順次転送されたOFF制御命令(S3)、ON制御命令(S4)を通信HW22が受信すると、中継処理部27が、受信したOFF制御命令(図4,図5のS5)、ON制御命令(図4,図5のS6)を通信HW21から送信させることによって、一方のセグメント10から送信されてきた制御命令を他方のセグメント10へ転送する。この時、セグメント10の負荷端末11では、中継器20から転送されたOFF制御命令(S5)を受信して、照明負荷を一旦消灯させた後、中継器20から再度転送されてきたON制御命令(S6)を受信して、照明負荷を再度点灯させている(図5のA3)。 The repeater 20 2, the above process S3, S4 sequentially transferred OFF control command from the repeater 20 1 (S3), the communication of the ON control command (S4) HW22 receives, relay processing unit 27 has received OFF control command (FIG. 4, S5 in FIG. 5), ON control command (FIG. 4, S6 in FIG. 5) by transmitting the communication HW21 and other segment control command transmitted from one segment 10 1 It is transferred to the 10 2. At this time, the load terminal 11 of the segment 10 2, receives OFF control command transferred from the repeater 20 2 (S5), after once turns off the lighting load, it has been transferred again from the repeater 20 2 The ON control command (S6) is received, and the illumination load is turned on again (A3 in FIG. 5).

また中継器20の中継処理部27では、通信HW22が中継器20からOFF制御命令(S3)を受信したタイミングと、中継器20からON制御命令(S4)を受信したタイミングとが所定時間内であることから、S3のOFF制御命令とS4のON制御命令とが略同時に受信されたと判断しており、この場合は後から受信したON制御命令(S4)を送信元のセグメント10に対して返送しようとするのであるが、中継処理部27では、セグメント10内で前回送信された制御命令(S4のON制御命令)をメモリ24から読み込み、この制御命令の制御内容と次に送信する制御命令(S6のON制御命令)の制御内容とが同一か否かの判定を行う。この判定の結果、制御内容が異なっていれば、複数のセグメント10に属する負荷端末11で動作状態を同一にするために、中継処理部27は送信元のセグメント10に制御命令を返送する処理を実行する。一方、上記の判定の結果、制御内容が同じであれば、同じ制御内容の制御命令を続けて送信する必要は無いので、中継処理部27は送信元のセグメント10に制御命令を返送する処理を中止しており、通信トラフィックの低減を図りつつ、同じグループに属する負荷端末11を、後から受信した制御命令にしたがって、同一の動作状態で動作させることができる。 Given also the relay processing unit 27 of the repeater 20 2, the timing at which the communication HW22 receives OFF control instructions (S3) from the repeater 20 1, and the timing of receiving ON control instruction (S4) from the repeater 20 1 Since it is within the time, it is determined that the OFF control command of S3 and the ON control command of S4 are received substantially simultaneously. In this case, the ON control command (S4) received later is sent to the segment 10 1 of the transmission source. Although as an attempt to return respect, the relay processing unit 27, a control command previously transmitted segment 10 within 1 (S4 ON control command) is read from the memory 24, the control content of the control command then It is determined whether or not the control content of the control command to be transmitted (ON control command of S6) is the same. The result of this determination, if the different control content, to the operating state at the load terminal 11 belonging to a plurality of segments 10 in the same, the relay processing unit 27 returns the control command to the source of the segment 10 1 treatment Execute. On the other hand, the result of the determination, if the control content is the same, since there is no need to send continuously control commands of the same control content, the relay processing unit 27 sends back a control command to the segment 10 1 source processing The load terminals 11 belonging to the same group can be operated in the same operation state according to the control command received later while reducing communication traffic.

尚、図4及び図5の例では、セグメント10において前回送信された制御命令(S4のON制御命令)と、次に送信する制御命令(S6のON制御命令)の制御内容が同一であるので、中継器20の中継処理部27は、中継器20から送信されたON制御命令(S4)を、セグメント10側に返送する処理を停止しており、通信トラフィックを低減させながらも、セグメント10,10の負荷端末11を同一の動作状態で動作させることができる。 In the example of FIG. 4 and FIG. 5, the segment 10 1 and the control command previously transmitted (S4 ON control command), the control content of the control command (ON control command S6) to be next transmitted is identical since the relay unit 27 of the repeater 20 2, the oN control command transmitted from the repeater 20 1 (S4), the process returns to the segment 10 1 side is stopped, while reducing the communication traffic The load terminals 11 of the segments 10 1 and 10 2 can be operated in the same operation state.

(実施形態3)
本発明の実施形態3を図6及び図7に基づいて説明する。尚、全体的なシステム構成は実施形態1と同様であるので、共通する構成要素には同一の符号を付して、図示および説明は省略する。
(Embodiment 3)
A third embodiment of the present invention will be described with reference to FIGS. Since the overall system configuration is the same as that of the first embodiment, common components are denoted by the same reference numerals, and illustration and description thereof are omitted.

実施形態1の中継システムでは、中継器20において、各制御端末12からの制御命令を受信したタイミングをもとに、略同じタイミングで送信されたものか否かを判定しているが、本実施形態では、各制御端末12が、制御命令を送信する際に、計時タイマ12dにより計時された現在時刻情報を制御命令とともに送信しており、この時刻情報から複数の制御命令が略同じタイミングで送信されたものか否かを判定している。すなわち、中継器20は、何れかのセグメント10の制御端末12から制御命令が送信されると、当該制御命令を他のセグメント10に転送する転送処理を行うとともに、1乃至複数のセグメント10に属する複数の制御端末12から同一の設備負荷に対する制御命令が送信された場合に、当該制御命令とともに送信された送信時刻情報をもとに、複数の制御命令が同時とみなせる所定時間内に送信されたものか否かを判断し、所定時間内に送信されたと判断されれば、後で受信した制御命令を他のセグメント10に転送するとともに、当該制御命令の送信元のセグメント10にも返送する。   In the relay system of the first embodiment, the repeater 20 determines whether or not the signals are transmitted at substantially the same timing based on the timing at which the control command from each control terminal 12 is received. In the form, when each control terminal 12 transmits a control command, the current time information timed by the time measuring timer 12d is transmitted together with the control command, and a plurality of control commands are transmitted at substantially the same timing from this time information. It is determined whether it has been done. That is, when a control command is transmitted from the control terminal 12 of any segment 10, the repeater 20 performs a transfer process for transferring the control command to another segment 10 and belongs to one or more segments 10. When a control command for the same equipment load is transmitted from a plurality of control terminals 12, a plurality of control commands are transmitted within a predetermined time that can be regarded as simultaneous based on the transmission time information transmitted together with the control command. If it is determined whether it has been transmitted within a predetermined time, the control command received later is transferred to another segment 10 and is also returned to the segment 10 that is the source of the control command.

ここで、2つのセグメント10,10を例に中継器20,20による転送処理を図6及び図7に基づいて説明する。先ず、セグメント10でユーザがスイッチ14を用いてON操作を行うと、制御端末12のCPU12cが、スイッチ14のON操作に応じて作成したON制御命令を、計時タイマ12dが計時した現在時刻情報T1とともに、通信HW12aからマルチキャストパケットで送信させる(図6,図7のS1)。この時、同じセグメント10の負荷端末11は、制御端末12から送られたON制御命令を受信して、照明負荷を点灯させる(図7のA1)。 Here, transfer processing by the repeaters 20 1 and 20 2 will be described with reference to FIGS. 6 and 7 by taking two segments 10 1 and 10 2 as an example. First, when a user segment 10 1 performs ON operation using the switch 14, CPU 12c of the control terminal 12, the current time information of the ON control command created, clock timer 12d has timed in response to the ON operation of the switch 14 Together with T1, the communication HW 12a transmits the multicast packet (S1 in FIGS. 6 and 7). At this time, the load terminal 11 of the same segment 10 1 receives the ON control command sent from the control terminal 12 turns on the lighting load (A1 in FIG. 7).

セグメント10側でON操作が行われるのと略同じタイミングで、他方のセグメント10でユーザがスイッチ14を用いてOFF操作を行うと、セグメント10に属する制御端末12のCPU12cが、スイッチ14のOFF操作に応じて作成したOFF制御命令を、計時タイマ12dにより計時された現在時刻情報T2とともに、通信HW12aからマルチキャストパケットで送信させる(図6,図7のS2)。この時、同じセグメント10の負荷端末11は、制御端末12から送られたOFF制御命令を受信して、照明負荷を消灯させる(図7のA2)。 Substantially at the same timing as ON operation is performed by the segment 10 1 side, the user on the other segment 10 2 performs OFF operation using the switch 14, CPU 12c of the control terminal 12 belonging to the segment 10 2, switch 14 The OFF control command created in response to the OFF operation is transmitted as a multicast packet from the communication HW 12a together with the current time information T2 timed by the timekeeping timer 12d (S2 in FIGS. 6 and 7). At this time, the load terminal 11 of the same segment 10 2 receives the OFF control command sent from the control terminal 12 turns off the lighting load (A2 in FIG. 7).

上記の処理S1で送信されたON制御命令は中継器20の通信HW21によっても受信され、中継器20の中継処理部27が、受信したON制御命令と現在時刻情報T1とを通信HW22からバス30に送信させることで、ON制御命令と現在時刻情報T1とを他の中継器20へ転送させる(図6,図7のS3)。 The above process ON control command transmitted in S1 is also received by the communication HW21 of the repeater 20 1, the relay processing unit 27 of the repeater 20 1, the ON control command and the current communication and the time information T1 HW22 received It is to send to the bus 30, to transfer oN control command and the current and time information T1 to another repeater 20 2 (FIG. 6, S3 in FIG. 7).

また上記の処理S2で送信されたOFF制御命令は中継器20の通信HW21によっても受信され、中継器20の中継処理部27が、受信したOFF制御命令と現在時刻情報T2とを通信HW22からバス30に送信させることで、他の中継器20へOFF制御命令を転送させる(図6,図7のS4)。中継器20は、中継器20から送信されたOFF制御命令を時刻情報T2と共に、セグメント10側へ送信しており(図6,図7のS6)、このOFF制御命令を受信したセグメント10の負荷端末11は、照明負荷を消灯させる(図7のA3)。 The OFF control command transmitted by the processing S2 is received by the communication HW21 of the repeater 20 2, the communication relay processing unit 27 of the repeater 20 2, and OFF control commands received and the current time information T2 HW22 from it to transmit to the bus 30, to transfer the OFF control command to the other repeater 20 1 (FIG. 6, S4 in FIG. 7). Segment repeater 20 1, the OFF control command transmitted from the repeater 20 2 together with the time information T2, has been transmitted to the segments 10 1 side (FIG. 6, S6 in FIG. 7), it receives the OFF control command 10 1 of the load terminal 11, turns off the lighting load (A3 in Fig. 7).

ここで、中継器20では、制御端末12から受信したOFF制御命令の時刻情報を中継器20へ転送した後に、中継器20から転送されたON制御命令を受信しているが、これらの制御命令の受信間隔が所定の時間ウィンドウ以内であれば、OFF制御命令と共に送られた時刻情報T2と、ON制御命令と共に送られた時刻情報T1とをもとに、両セグメント10,10の制御端末12から略同時と見なせる所定時間内に制御命令が送信されたものか否かの判定を行う。尚、各セグメント10の端末が2中継以下で接続され、且つ、各セグメント10の最長通信距離が500mと規定されるようなシステムでは、同時送信された信号がある中継器20に到達する際の最大遅延時間は約2.5(μS)と見積もられ、この最大遅延時間と同程度の時間に上記の時間ウィンドウを設定すればよい。 Here, the repeater 20 2, the time information of the OFF control command received from the control terminal 12 after transferring to the relay 20 1, although receiving the ON control command transferred from the repeater 20 1, these If the control command reception interval is within a predetermined time window, both segments 10 1 , 10 are based on the time information T2 sent together with the OFF control command and the time information T1 sent together with the ON control command. It is determined whether or not a control command has been transmitted from the two control terminals 12 within a predetermined time that can be regarded as substantially simultaneous. In addition, in a system in which the terminals of each segment 10 are connected with two or fewer relays and the maximum communication distance of each segment 10 is defined as 500 m, the signal transmitted simultaneously reaches the repeater 20 with a certain signal. The maximum delay time is estimated to be about 2.5 (μS), and the above time window may be set to a time comparable to this maximum delay time.

そして、上記の判定において、OFF制御命令と共に送られた時刻情報T2と、ON制御命令と共に送られた時刻情報T1とをもとに、両セグメント10,10の制御端末12から略同時と見なせる所定時間内に制御命令が送信されたと判定された場合、中継器20は、後から受信したON制御命令を、他のセグメント10側へ転送するとともに、このON制御命令を時刻情報T1とともに中継器20へ返送しており(図6、図7のS5)、ON制御命令が中継器20を介してセグメント10側へ返送される(図6、図7のS7)。この時、セグメント10に属する負荷端末11がON制御命令に応じて照明負荷を点灯させるとともに(図7のA4)、中継器20から中継器20へ返送されたON制御命令(S5)は、中継器20を介してセグメント10側に送信され、セグメント10に属する負荷端末11はON制御命令に基づいて照明負荷を点灯させる(図7のA5)。尚、中継器20においても、セグメント10に属する制御端末12からON制御命令(S1)を受信した後、中継器20から転送されたOFF制御命令(S4)を受信するが、ON制御命令(S1)とOFF制御命令(S4)との受信間隔は、上記の時間ウィンドウよりも長いため、中継器20では、OFF制御命令(S4)とON制御命令(S1)とが同時に送信された制御命令であるか否かの判定は行わない。 In the above determination, based on the time information T2 sent together with the OFF control command and the time information T1 sent together with the ON control command, the control terminals 12 of both segments 10 1 , 10 2 are almost simultaneously. If the control command within a predetermined time is determined to have been transmitted can be regarded, repeater 20 2, oN control instructions received later, with transfers to other segments 10 2 side, time information T1 the oN control command and returned to the relay 20 1 with (FIG. 6, S5 in FIG. 7), ON control command is sent back via the repeater 20 1 into segment 10 1 side (FIG. 6, S7 in Fig. 7). At this time, along with turning on the lighting load according to the load terminal 11 belonging to the segment 10 2 ON control command (A4 in Fig. 7), ON control command sent back to the relay 20 1 from the repeater 20 2 (S5) It is sent to the segment 10 1 side via the repeater 20 1, the load terminal 11 belonging to the segment 10 1 turns on the lighting load based on the oN control command (A5 in Figure 7). Also in the repeater 20 1, after receiving ON control instruction (S1) from the control terminal 12 belonging to the segment 10 1, although received OFF control instructions (S4) transferred from the repeater 20 2, ON control reception interval of the instruction (S1) and an OFF control command (S4) is longer than the time window, the repeater 20 1, OFF control command and (S4) and ON control command (S1) is transmitted simultaneously No determination is made as to whether or not the command is a control command.

上述のように、中継器20では、複数の制御端末12から同一の設備負荷(負荷端末11)に対する制御命令が送信された場合、制御命令と共に受信した時刻情報をもとに、どの制御命令が後から受信したものかを判断でき、後に受信した制御命令を他のセグメント10に送信するとともに、送信元のセグメント10にも返送しているので、複数のセグメント10に属する負荷端末11を、後に受信した制御命令の制御内容にしたがって同一の動作状態で動作させることができる。   As described above, in the repeater 20, when a control command for the same equipment load (load terminal 11) is transmitted from a plurality of control terminals 12, which control command is determined based on the time information received together with the control command. It is possible to determine whether it has been received later, and since the control command received later is transmitted to the other segment 10 and is also returned to the source segment 10, the load terminals 11 belonging to the plurality of segments 10 are later It can be operated in the same operation state according to the control content of the received control command.

(実施形態4)
本発明の実施形態4を図8及び図9に基づいて説明する。尚、全体的なシステム構成は実施形態1と同様であるので、共通する構成要素には同一の符号を付して、図示および説明は省略する。
(Embodiment 4)
A fourth embodiment of the present invention will be described with reference to FIGS. Since the overall system configuration is the same as that of the first embodiment, common components are denoted by the same reference numerals, and illustration and description thereof are omitted.

本実施形態の中継システムでは、実施形態3で説明した中継システムと同様に、制御端末12から制御命令とともに時刻情報を送信させ、中継器20では、1乃至複数のセグメント10に属する複数の制御端末12から同一の設備負荷に対する制御命令が送信された場合、当該制御命令とともに送信された送信時刻情報をもとに、複数の制御命令が同時とみなせる所定時間内に送信されたものか否かを判定し、同時送信されたものと判断された場合は、後に受信した制御命令を他のセグメント10に転送するとともに、当該制御命令の送信元のセグメント10にも返送する。さらに本実施形態では、中継器20が、制御命令を同時送信されたものと判断した時点で先に受信した制御命令の転送処理を行っていなければ、この制御命令を他のセグメント10に転送する処理を停止する。   In the relay system of the present embodiment, time information is transmitted together with the control command from the control terminal 12 as in the relay system described in the third embodiment, and the repeater 20 has a plurality of control terminals belonging to one to a plurality of segments 10. 12, when a control command for the same equipment load is transmitted, based on the transmission time information transmitted together with the control command, whether or not a plurality of control commands are transmitted within a predetermined time that can be regarded as simultaneous. If it is determined that the control commands are transmitted at the same time, the control command received later is transferred to another segment 10 and also returned to the segment 10 that is the source of the control command. Furthermore, in this embodiment, when the repeater 20 determines that the control command has been transmitted at the same time, if the control command received earlier is not transferred, the control command is transferred to another segment 10. Stop processing.

ここで、2つのセグメント10,10を例に中継器20,20による転送処理を図8及び図9に基づいて説明する。先ず、セグメント10でユーザがスイッチ14を用いてON操作を行うと、制御端末12のCPU12cが、スイッチ14のON操作に応じて作成したON制御命令を、計時タイマ12dが計時した現在時刻情報T1とともに、通信HW12aからマルチキャストパケットで送信させる(図8,図9のS1)。この時、同じセグメント10の負荷端末11は、制御端末12から送られたON制御命令を受信して、照明負荷を点灯させる(図9のA1)。 Here, transfer processing by the repeaters 20 1 and 20 2 will be described with reference to FIGS. 8 and 9 by taking two segments 10 1 and 10 2 as an example. First, when a user segment 10 1 performs ON operation using the switch 14, CPU 12c of the control terminal 12, the current time information of the ON control command created, clock timer 12d has timed in response to the ON operation of the switch 14 Along with T1, the communication HW 12a transmits the multicast packet (S1 in FIGS. 8 and 9). At this time, the load terminal 11 of the same segment 10 1 receives the ON control command sent from the control terminal 12 turns on the lighting load (A1 in FIG. 9).

セグメント10側でON操作が行われるのと略同じタイミングで、他方のセグメント10でユーザがスイッチ14を用いてOFF操作を行うと、セグメント10に属する制御端末12のCPU12cが、スイッチ14のOFF操作に応じて作成したOFF制御命令を、計時タイマ12dにより計時された現在時刻情報T2とともに、通信HW12aからマルチキャストパケットで送信させる(図8,図9のS2)。この時、同じセグメント10の負荷端末11は、制御端末12から送られたOFF制御命令を受信して、照明負荷を消灯させる(図9のA2)。 Substantially at the same timing as ON operation is performed by the segment 10 1 side, the user on the other segment 10 2 performs OFF operation using the switch 14, CPU 12c of the control terminal 12 belonging to the segment 10 2, switch 14 The OFF control command created in response to the OFF operation is sent from the communication HW 12a as a multicast packet together with the current time information T2 measured by the clock timer 12d (S2 in FIGS. 8 and 9). At this time, the load terminal 11 of the same segment 10 2 receives the OFF control command sent from the control terminal 12 turns off the lighting load (A2 in FIG. 9).

上記の処理S1で送信されたON制御命令は中継器20の通信HW21によっても受信され、中継器20の中継処理部27が、受信したON制御命令と現在時刻情報T1とを通信HW22からバス30に送信させることで、ON制御命令と現在時刻情報T1とを他の中継器20へ転送させる(図8,図9のS3)。 The above process ON control command transmitted in S1 is also received by the communication HW21 of the repeater 20 1, the relay processing unit 27 of the repeater 20 1, the ON control command and the current communication and the time information T1 HW22 received It is to send to the bus 30, to transfer oN control command and the current and time information T1 to another repeater 20 2 (Fig. 8, S3 of FIG. 9).

また上記の処理S2で送信されたOFF制御命令は中継器20の通信HW21によっても受信され、中継器20の中継処理部27が、受信したOFF制御命令と現在時刻情報T2とを通信HW22からバス30に送信させることで、他の中継器20へOFF制御命令を転送させる(図8,図9のS4)。 The OFF control command transmitted by the processing S2 is received by the communication HW21 of the repeater 20 2, the communication relay processing unit 27 of the repeater 20 2, and OFF control commands received and the current time information T2 HW22 from it to transmit to the bus 30, to transfer the OFF control command to the other repeater 20 1 (FIG. 8, S4 of FIG. 9).

ここで、中継器20では、制御端末12から受信したOFF制御命令の時刻情報を中継器20へ転送した後に、中継器20から転送されたON制御命令を受信しているが、これらの制御命令の受信間隔が所定の時間ウィンドウ以内であれば、OFF制御命令と共に送られた時刻情報T2と、ON制御命令と共に送られた時刻情報T1とをもとに、両セグメント10,10の制御端末12から略同時と見なせる所定時間内に制御命令が送信されたものか否かの判定を行う。 Here, the repeater 20 2, the time information of the OFF control command received from the control terminal 12 after transferring to the relay 20 1, although receiving the ON control command transferred from the repeater 20 1, these If the control command reception interval is within a predetermined time window, both segments 10 1 , 10 are based on the time information T2 sent together with the OFF control command and the time information T1 sent together with the ON control command. It is determined whether or not a control command has been transmitted from the two control terminals 12 within a predetermined time that can be regarded as substantially simultaneous.

そして、上記の判定において、OFF制御命令と共に送られた時刻情報T2と、ON制御命令と共に送られた時刻情報T1とをもとに、両セグメント10,10の制御端末12から略同時と見なせる所定時間内に制御命令が送信されたと判定された場合、中継器20は、中継器20に対して先に受信したOFF制御命令の転送処理を停止させる転送停止命令を出力し、中継器20では転送停止命令を受け取った時点でOFF制御命令の転送処理を実行していなければ、OFF制御命令の転送処理(図8,図9のS6)を停止する。 In the above determination, based on the time information T2 sent together with the OFF control command and the time information T1 sent together with the ON control command, the control terminals 12 of both segments 10 1 , 10 2 are almost simultaneously. regarded if the control instruction within a predetermined time is determined to have been transmitted, the repeater 20 2 outputs a transfer stop command to stop the transfer process of the OFF control command previously received to the relay unit 20 1, the relay if not running a transfer process of the OFF control command upon receiving the vessel 20 in one transfer stop command to stop the transfer process of the OFF control command (FIG. 8, S6 in FIG. 9).

また中継器20は、両セグメント10,10の制御端末12から略同時と見なせる所定時間内に制御命令を受信したと判断すると、後から受信したON制御命令を、他のセグメント10側へ転送するとともに、このON制御命令を時刻情報T1とともに中継器20へ返送しており(図8、図9のS5)、中継器20を介してセグメント10側へ返送される(図8、図9のS7)。この時、セグメント10に属する負荷端末11は、中継器20を介して転送されたON制御命令(S5)に基づいて照明負荷を点灯させる(図9のA4)。また、中継器20から中継器20へ返送されたON制御命令(S5)は、中継器20を介してセグメント10側に送信され、セグメント10に属する負荷端末11はON制御命令に基づいて照明負荷を継続して点灯させる(図9のA5)。したがって、各セグメント10,10の負荷端末11は、中継器20で略同時に受信された制御命令のうち、後から受信された制御命令に応じて動作状態で動作することになり、同じグループの負荷端末11を同一の動作状態で動作させることができる。 The repeater 20 2, both segments 10 1, when the 10 second control terminal 12 determines that it has received the control command within a predetermined time that can be regarded as substantially the same time, ON control instructions received later, other segments 10 2 as well as transferred to the side, and returned to the relay 20 1 the ON control command along with the time information T1 (FIG. 8, S5 in FIG. 9), is recirculated to the segment 10 1 side via the repeater 20 1 ( 8 and FIG. 9 S7). At this time, the load terminal 11 belonging to the segment 10 2 lights the lighting load based on the ON control command transferred via the repeater 20 2 (S5) (A4 in Fig. 9). The relay 20 ON control command sent back to the relay 20 1 from 2 (S5) is transmitted to the segment 10 1 side via the repeater 20 1, the load terminal 11 belonging to the segment 10 1 ON control command Based on the above, the lighting load is continuously turned on (A5 in FIG. 9). Accordingly, the load terminal 11 of each segment 10 1, 10 2, of the control instructions substantially simultaneously received by the repeater 20 2, will be operated in the operating state in response to a control command received later, the same The load terminals 11 of the group can be operated in the same operation state.

尚、中継器20においても、セグメント10に属する制御端末12からON制御命令(S1)を受信した後、中継器20から転送されたOFF制御命令(S4)を受信するが、ON制御命令(S1)とOFF制御命令(S4)との受信間隔は、上記の時間ウィンドウよりも長いため、中継器20では、OFF制御命令(S4)とON制御命令(S1)とが同時に送信された制御命令であるか否かの判定は行わない。 Also in the repeater 20 1, after receiving ON control instruction (S1) from the control terminal 12 belonging to the segment 10 1, although received OFF control instructions (S4) transferred from the repeater 20 2, ON control reception interval of the instruction (S1) and an OFF control command (S4) is longer than the time window, the repeater 20 1, OFF control command and (S4) and ON control command (S1) is transmitted simultaneously No determination is made as to whether or not the command is a control command.

上述のように、中継器20の中継処理部27は、1乃至複数のセグメント10に属する複数の制御端末12から制御命令が略同時のタイミングで送信された場合、通常の転送処理を行って受信した制御命令を他のセグメント10に転送するとともに、後に受信した制御命令を送信元のセグメント10にも返送しているので、後に受信した制御命令の送信元のセグメント10に対して、先に受信した制御命令を中継する処理が行われたとしても、後から受信した制御命令を返送することで、先に受信した制御命令を無効とすることができる。しかも、中継器20の中継処理部27では、複数の制御命令を略同時と見なせるタイミングで受信した場合に、先に受信した制御命令を中継する処理が行われていなければ、この制御命令の中継処理を停止させているので、通信トラフィックの低減を図りつつ、同じグループの負荷端末11を後で受信した制御命令にしたがって同一の動作状態で動作させることができる。   As described above, when the control command is transmitted from the plurality of control terminals 12 belonging to one to a plurality of segments 10 at substantially the same timing, the relay processing unit 27 of the repeater 20 performs normal transfer processing and receives the control command. Since the control command received later is transferred to the other segment 10 and the control command received later is also returned to the segment 10 of the transmission source, it is received first for the segment 10 of the transmission source of the control command received later. Even if the process of relaying the control command is performed, the control command received earlier can be invalidated by returning the control command received later. In addition, when the relay processing unit 27 of the repeater 20 receives a plurality of control commands at a timing that can be regarded as substantially simultaneous, if the process of relaying the previously received control command is not performed, the relay of the control command is performed. Since the processing is stopped, it is possible to operate the load terminals 11 of the same group in the same operation state according to the control command received later while reducing the communication traffic.

(実施形態5)
本発明の実施形態5を図10及び図11に基づいて説明する。尚、全体的なシステム構成は実施形態1と同様であるので、共通する構成要素には同一の符号を付して、図示および説明は省略する。
(Embodiment 5)
A fifth embodiment of the present invention will be described with reference to FIGS. Since the overall system configuration is the same as that of the first embodiment, common components are denoted by the same reference numerals, and illustration and description thereof are omitted.

本実施形態の中継システムでは、実施形態4で説明した中継システムと同様に、制御端末12から制御命令とともに時刻情報を送信させ、中継器20では、1乃至複数のセグメント10に属する複数の制御端末12から同一の設備負荷に対する制御命令が送信された場合、当該制御命令とともに送信された送信時刻情報をもとに、複数の制御命令が同時とみなせる所定時間内に送信されたものか否かを判定し、同時送信されたものと判断された場合は、後に受信した制御命令を他のセグメント10に転送するとともに、当該制御命令の送信元のセグメント10にも返送する。さらに本実施形態では、中継器20が、制御命令を同時送信されたものと判断した時点で先に受信した制御命令の転送処理を行っていなければ、この制御命令を他のセグメント10に転送する処理を停止しており、転送処理を停止した場合には、他のセグメント10から後で送信された制御命令を、他のセグメント10に返送する処理も停止することで、通信トラフィックの更なる低減を図っている。   In the relay system of the present embodiment, time information is transmitted together with the control command from the control terminal 12 as in the relay system described in the fourth embodiment, and the repeater 20 has a plurality of control terminals belonging to one to a plurality of segments 10. 12, when a control command for the same equipment load is transmitted, based on the transmission time information transmitted together with the control command, whether or not a plurality of control commands are transmitted within a predetermined time that can be regarded as simultaneous. If it is determined that the control commands are transmitted at the same time, the control command received later is transferred to another segment 10 and also returned to the segment 10 that is the source of the control command. Furthermore, in this embodiment, when the repeater 20 determines that the control command has been transmitted at the same time, if the control command received earlier is not transferred, the control command is transferred to another segment 10. When the processing is stopped and the transfer processing is stopped, the processing for returning the control command transmitted later from the other segment 10 to the other segment 10 is also stopped, thereby further reducing the communication traffic. I am trying.

ここで、2つのセグメント10,10を例に中継器20,20による転送処理を図8及び図9に基づいて説明する。先ず、セグメント10でユーザがスイッチ14を用いてON操作を行うと、制御端末12のCPU12cが、スイッチ14のON操作に応じて作成したON制御命令を、計時タイマ12dが計時した現在時刻情報T1とともに、通信HW12aからマルチキャストパケットで送信させる(図10,図11のS1)。この時、同じセグメント10の負荷端末11は、制御端末12から送られたON制御命令を受信して、照明負荷を点灯させる(図11のA1)。 Here, transfer processing by the repeaters 20 1 and 20 2 will be described with reference to FIGS. 8 and 9 by taking two segments 10 1 and 10 2 as an example. First, when a user segment 10 1 performs ON operation using the switch 14, CPU 12c of the control terminal 12, the current time information of the ON control command created, clock timer 12d has timed in response to the ON operation of the switch 14 Along with T1, the communication HW 12a transmits the multicast packet (S1 in FIGS. 10 and 11). At this time, the load terminal 11 of the same segment 10 1 receives the ON control command sent from the control terminal 12 turns on the lighting load (A1 in FIG. 11).

セグメント10側でON操作が行われるのと略同じタイミングで、他方のセグメント10でユーザがスイッチ14を用いてOFF操作を行うと、セグメント10に属する制御端末12のCPU12cが、スイッチ14のOFF操作に応じて作成したOFF制御命令を、計時タイマ12dにより計時された現在時刻情報T2とともに、通信HW12aからマルチキャストパケットで送信させる(図10,図11のS2)。この時、同じセグメント10の負荷端末11は、制御端末12から送られたOFF制御命令を受信して、照明負荷を消灯させる(図11のA2)。 Substantially at the same timing as ON operation is performed by the segment 10 1 side, the user on the other segment 10 2 performs OFF operation using the switch 14, CPU 12c of the control terminal 12 belonging to the segment 10 2, switch 14 The OFF control command created in response to the OFF operation is sent from the communication HW 12a as a multicast packet together with the current time information T2 timed by the timekeeping timer 12d (S2 in FIGS. 10 and 11). At this time, the load terminal 11 of the same segment 10 2 receives the OFF control command sent from the control terminal 12 turns off the lighting load (A2 in FIG. 11).

上記の処理S1で送信されたON制御命令は中継器20の通信HW21によっても受信され、中継器20の中継処理部27が、受信したON制御命令と現在時刻情報T1とを通信HW22からバス30に送信させることで、ON制御命令と現在時刻情報T1とを他の中継器20へ転送させる(図10,図11のS3)。 The above process ON control command transmitted in S1 is also received by the communication HW21 of the repeater 20 1, the relay processing unit 27 of the repeater 20 1, the ON control command and the current communication and the time information T1 HW22 received It is to send to the bus 30, to transfer the oN control command and current time information T1 to another repeater 20 2 (S3 in FIG. 10, FIG. 11).

また上記の処理S2で送信されたOFF制御命令は中継器20の通信HW21によっても受信され、中継器20の中継処理部27が、受信したOFF制御命令と現在時刻情報T2とを通信HW22からバス30に送信させることで、他の中継器20へOFF制御命令を転送させる(図10,図11のS4)。 The OFF control command transmitted by the processing S2 is received by the communication HW21 of the repeater 20 2, the communication relay processing unit 27 of the repeater 20 2, and OFF control commands received and the current time information T2 HW22 from it to transmit to the bus 30, to transfer the OFF control command to the other repeater 20 1 (FIG. 10, S4 of FIG. 11).

ここで、中継器20では、制御端末12から受信したOFF制御命令の時刻情報を中継器20へ転送した後に、中継器20から転送されたON制御命令を受信しているが、これらの制御命令の受信間隔が所定の時間ウィンドウ以内であれば、OFF制御命令と共に送られた時刻情報T2と、ON制御命令と共に送られた時刻情報T1とをもとに、両セグメント10,10の制御端末12から略同時と見なせる所定時間内に制御命令が送信されたものか否かの判定を行う。 Here, the repeater 20 2, the time information of the OFF control command received from the control terminal 12 after transferring to the relay 20 1, although receiving the ON control command transferred from the repeater 20 1, these If the control command reception interval is within a predetermined time window, both segments 10 1 , 10 are based on the time information T2 sent together with the OFF control command and the time information T1 sent together with the ON control command. It is determined whether or not a control command has been transmitted from the two control terminals 12 within a predetermined time that can be regarded as substantially simultaneous.

そして、上記の判定において、OFF制御命令と共に送られた時刻情報T2と、ON制御命令と共に送られた時刻情報T1とをもとに、両セグメント10,10の制御端末12から略同時と見なせる所定時間内に制御命令が送信されたと判定された場合、中継器20は、中継器20に対して先に受信したOFF制御命令の転送処理を停止させる転送停止命令を出力し、中継器20では転送停止命令を受け取った時点でOFF制御命令の転送処理を実行していなければ、OFF制御命令の転送処理(図8,図9のS6)を停止する。 In the above determination, based on the time information T2 sent together with the OFF control command and the time information T1 sent together with the ON control command, the control terminals 12 of both segments 10 1 , 10 2 are almost simultaneously. regarded if the control instruction within a predetermined time is determined to have been transmitted, the repeater 20 2 outputs a transfer stop command to stop the transfer process of the OFF control command previously received to the relay unit 20 1, the relay if not running a transfer process of the OFF control command upon receiving the vessel 20 in one transfer stop command to stop the transfer process of the OFF control command (FIG. 8, S6 in FIG. 9).

また中継器20は、両セグメント10,10の制御端末12から略同時と見なせる所定時間内に制御命令を受信したと判断すると、後から受信したON制御命令を、他のセグメント10側へ転送するとともに、このON制御命令を時刻情報T1とともに中継器20へ返送する(図8、図9のS5)。この時、セグメント10に属する負荷端末11は、ON制御命令に基づいて照明負荷を点灯させる(図11のA4)。また中継器20では、先に受信したOFF制御命令をセグメント10側へ既に送信していれば、返送されてきたON制御命令を時刻情報T1と共に送信元のセグメント10側へ返送することによって、OFF制御命令を無効にしているが、OFF制御命令を転送する処理を停止していれば、後から受信したON制御命令を送信元のセグメント10に返送する処理を停止する。 The repeater 20 2, both segments 10 1, when the 10 second control terminal 12 determines that it has received the control command within a predetermined time that can be regarded as substantially the same time, ON control instructions received later, other segments 10 2 as well as transferred to the side, and returns the ON control command along with the time information T1 to the relay 20 1 (FIG. 8, S5 in FIG. 9). At this time, the load terminal 11 belonging to the segment 10 2 lights the lighting load based on the ON control command (A4 in Fig. 11). Further, in the repeater 20 1, if the previously transmitted OFF control command previously received a to segment 10 1 side, be returned to the source of the segment 10 1 side ON control command is sent back together with the time information T1 by, but disable the OFF control command, if the stop processing of transferring the OFF control command, the oN control command received after stopping the process for returning to the sender of the segment 10 1.

尚、中継器20においても、セグメント10に属する制御端末12からON制御命令(S1)を受信した後、中継器20から転送されたOFF制御命令(S4)を受信するが、ON制御命令(S1)とOFF制御命令(S4)との受信間隔は、上記の時間ウィンドウよりも長いため、中継器20では、OFF制御命令(S4)とON制御命令(S1)とが同時に送信された制御命令であるか否かの判定は行わない。 Also in the repeater 20 1, after receiving ON control instruction (S1) from the control terminal 12 belonging to the segment 10 1, although received OFF control instructions (S4) transferred from the repeater 20 2, ON control reception interval of the instruction (S1) and an OFF control command (S4) is longer than the time window, the repeater 20 1, OFF control command and (S4) and ON control command (S1) is transmitted simultaneously No determination is made as to whether or not the command is a control command.

上述のように、中継器20の中継処理部27は、1乃至複数のセグメント10に属する複数の制御端末12から制御命令が略同時のタイミングで送信された場合、通常の転送処理を行って受信した制御命令を他のセグメント10に転送するとともに、後に受信した制御命令を送信元のセグメント10にも返送しているので、後に受信した制御命令の送信元のセグメント10に対して、先に受信した制御命令を中継する処理が行われたとしても、後から受信した制御命令を返送することで、先に受信した制御命令を無効とすることができる。しかも、中継器20の中継処理部27では、複数の制御命令を略同時と見なせるタイミングで受信した場合に、先に受信した制御命令を中継する処理が行われていなければ、この制御命令の中継処理を停止させているので、通信トラフィックの低減を図りつつ、同じグループの負荷端末11を後で受信した制御命令にしたがって同一の動作状態で動作させることができる。さらに中継器20は、先に受信した制御命令の中継処理を停止した場合、後から受信した制御命令を送信元のセグメント10に返送する処理も停止するので、通信トラフィックの更なる低減を図ることができる。   As described above, when the control command is transmitted from the plurality of control terminals 12 belonging to one to a plurality of segments 10 at substantially the same timing, the relay processing unit 27 of the repeater 20 performs normal transfer processing and receives the control command. Since the control command received later is transferred to the other segment 10 and the control command received later is also returned to the segment 10 of the transmission source, it is received first for the segment 10 of the transmission source of the control command received later. Even if the process of relaying the control command is performed, the control command received earlier can be invalidated by returning the control command received later. In addition, when the relay processing unit 27 of the repeater 20 receives a plurality of control commands at a timing that can be regarded as substantially simultaneous, if the process of relaying the previously received control command is not performed, the relay of the control command is performed. Since the processing is stopped, it is possible to operate the load terminals 11 of the same group in the same operation state according to the control command received later while reducing the communication traffic. Further, when the relay unit 20 stops the relay process of the control command received earlier, the relay unit 20 also stops the process of returning the control command received later to the transmission source segment 10, thereby further reducing communication traffic. Can do.

(実施形態6)
本発明の実施形態6を図12及び図13に基づいて説明する。尚、全体的なシステム構成は実施形態1と同様であるので、共通する構成要素には同一の符号を付して、図示および説明は省略する。
(Embodiment 6)
A sixth embodiment of the present invention will be described with reference to FIGS. Since the overall system configuration is the same as that of the first embodiment, common components are denoted by the same reference numerals, and illustration and description thereof are omitted.

実施形態1の中継システムでは、中継器20において、各制御端末12からの制御命令を受信したタイミングをもとに、略同じタイミングで送信されたものか否かを判定しているが、本実施形態では、各セグメント10で送信される制御命令にシーケンス番号を付加するようになっており、各制御端末12では、自セグメントで前回送信された制御命令に付加されたシーケンス番号SEQ(n−1)に所定の変化分(例えば+1)を加算して得た新たなシーケンス番号SEQ(n)を制御命令と共に送信する。そして、中継器20では、何れかのセグメント10の制御端末12から制御命令が送信されると、当該制御命令を他のセグメント10に転送するのであるが、1乃至複数のセグメント10に属する複数の制御端末12から同一の設備負荷に対する制御命令が所定の時間ウィンドウ以内に送信された場合、当該制御命令とともに送信されたシーケンス番号が同じであれば同時制御と判断し、後に受信した制御命令を他のセグメント10に転送するとともに、当該制御命令を送信元のセグメント10にも返送する。   In the relay system of the first embodiment, the repeater 20 determines whether or not the signals are transmitted at substantially the same timing based on the timing at which the control command from each control terminal 12 is received. In the embodiment, a sequence number is added to a control command transmitted in each segment 10, and each control terminal 12 has a sequence number SEQ (n-1) added to the control command transmitted last time in its own segment. ) And a new sequence number SEQ (n) obtained by adding a predetermined change (for example, +1) together with the control command. In the repeater 20, when a control command is transmitted from the control terminal 12 of any segment 10, the control command is transferred to the other segment 10, but a plurality of segments belonging to one to a plurality of segments 10 are transferred. When a control command for the same equipment load is transmitted from the control terminal 12 within a predetermined time window, if the sequence numbers transmitted together with the control command are the same, it is determined to be simultaneous control, and the control command received later is The control command is also returned to the source segment 10.

ここで、2つのセグメント10,10を例に中継器20,20による転送処理を図12及び図13に基づいて説明する。先ず、セグメント10でユーザがスイッチ14を用いてON操作を行うと、制御端末12のCPU12cが、スイッチ14のON操作に応じて生成したON制御命令を、当該セグメント10 で前回送信された制御命令のシーケンス番号SEQ(n−1)に1を加算して得た新たなシーケンス番号SEQ(n)とともに、通信HW12aからマルチキャストパケットで送信させる(図12,図13のS1)。この時、同じセグメント10の負荷端末11は、制御端末12から送られたON制御命令を受信して、照明負荷を点灯させる(図13のA1)。 Here, transfer processing by the repeaters 20 1 and 20 2 will be described with reference to FIGS. 12 and 13 by taking two segments 10 1 and 10 2 as an example. First, when a user segment 10 1 performs ON operation using the switch 14, CPU 12c of the control terminal 12, the ON control command generated in response to the ON operation of the switch 14, which is transmitted last in the segment 10 1 A multicast packet is transmitted from the communication HW 12a together with a new sequence number SEQ (n) obtained by adding 1 to the sequence number SEQ (n-1) of the control command (S1 in FIGS. 12 and 13). At this time, the load terminal 11 of the same segment 10 1 receives the ON control command sent from the control terminal 12 turns on the lighting load (A1 in FIG. 13).

セグメント10側でON操作が行われるのと略同じタイミングで、他方のセグメント10でユーザがスイッチ14を用いてOFF操作を行うと、セグメント10に属する制御端末12のCPU12cが、スイッチ14のOFF操作に応じて作成したOFF制御命令を、当該セグメント10 で前回送信された制御命令のシーケンス番号SEQ(n−1)に1を加算して得た新たなシーケンス番号SEQ(n)とともに、通信HW12aからマルチキャストパケットで送信させる(図12,図13のS2)。この時、同じセグメント10の負荷端末11は、制御端末12から送られたOFF制御命令を受信して、照明負荷を消灯させる(図13のA2)。 Substantially at the same timing as ON operation is performed by the segment 10 1 side, the user on the other segment 10 2 performs OFF operation using the switch 14, CPU 12c of the control terminal 12 belonging to the segment 10 2, switch 14 of the OFF control command created in response to the OFF operation, together with the segment 10 2 with a new sequence number SEQ obtained by adding 1 to the sequence number SEQ (n-1) of the control command transmitted last time (n) Then, a multicast packet is transmitted from the communication HW 12a (S2 in FIGS. 12 and 13). At this time, the load terminal 11 of the same segment 10 2 receives the OFF control command sent from the control terminal 12 turns off the lighting load (A2 in FIG. 13).

上記の処理S1で送信されたパケットデータ(ON制御命令及びシーケンス番号SEQ(n)を含む)は中継器20の通信HW21によっても受信され、中継器20の中継処理部27が、受信したパケットデータを通信HW22からバス30に送信させることで、このパケットデータ(ON制御命令及びシーケンス番号SEQ(n)を含む)が他の中継器20に転送される(図12,図13のS3)。 Said transmitted packet data processing S1 (including the ON control command and the sequence number SEQ (n)) is received by the communication HW21 of the repeater 20 1, the relay processing unit 27 of the repeater 20 1 has received be to transmit the packet data from the communication HW22 bus 30, S3 of the packet data (including the oN control command and the sequence number SEQ (n)) is transferred to another repeater 20 2 (FIG. 12, FIG. 13 ).

また、上記の処理S2で送信されたパケットデータ(OFF制御命令及びシーケンス番号SEQ(n)を含む)は中継器20の通信HW21によっても受信され、中継器20の中継処理部27が、受信したパケットデータを通信HW22からバス30に送信させることで、このパケットデータ(OFF制御命令及びシーケンス番号SEQ(n)を含む)が他の中継器20に転送される(図12,図13のS4)。中継器20は、中継器20から送信されたパケットデータ(OFF制御命令及びシーケンス番号SEQ(n)を含む)を、セグメント10側へ送信しており(図12,図13のS6)、このOFF制御命令を受信したセグメント10の負荷端末11は、照明負荷を消灯させる。 Also, the transmitted packet data by the above process S2 (including OFF control command and the sequence number SEQ (n)) is received by repeater 20 2 communication HW21, repeater 20 2 of relay processing section 27, the received packet data from the communication HW22 be to send to the bus 30, the packet data (OFF control command and the sequence number SEQ including (n)) is transferred to another repeater 20 1 (FIG. 12, FIG. 13 S4). Repeater 20 1, the packet data transmitted from the repeater 20 2 (including OFF control command and the sequence number SEQ (n)), have been transmitted to the segments 10 1 side (FIG. 12, S6 in FIG. 13) , the load terminal 11 of the segment 10 1 that has received the OFF control instruction, turns off the lighting load.

ここで、中継器20の中継処理部27は、セグメント10,10に属する複数の制御端末12から所定の時間ウィンドウ以内に制御命令(S2のOFF制御命令、S3のON制御命令)を受信した場合、セグメント10に属する制御端末12からのOFF制御命令(S2)に付加されたシーケンス番号SEQ(n)と、他方のセグメント10に属する制御端末12からのON制御命令(S3)に付加されたシーケンス番号SEQ(n)とを比較し、両者が同一のシーケンス番号SEQ(n)であると判断されると、後から受信した制御命令(この場合はセグメント10からのON制御命令)を送信元のセグメント10へ返送しており(図12、図13のS5)、中継器20を介してセグメント10側へ返送される(図12、図13のS7)。この時、中継器20から中継器20へ返送されたON制御命令(S5)は、中継器20を介してセグメント10側に送信され、セグメント10に属する負荷端末11はON制御命令に基づいて照明負荷を点灯させるので(図13のA4)、両セグメント10,10の負荷端末11を、後から送信された制御命令にしたがって、同一の動作状態で動作させることができる。 Here, the relay processing unit 27 of the repeater 20 2, (OFF control command S2, S3 ON control command) segments 10 1, 10 control command 2 from a plurality of control terminals 12 belonging to within the predetermined time window when receiving, OFF control command from the control terminal 12 belonging to the segment 10 2 and the additional sequence number SEQ (n) to (S2), oN control command from the control terminal 12 belonging to the other segments 10 1 (S3) comparing the appended sequence number SEQ (n), when both are determined to be the same sequence number SEQ (n), the control command received later (in this case, oN control of the segment 10 1 and return the instruction) to the source of the segment 10 1 (FIG. 12, S5 in FIG. 13), is recirculated to the segment 10 1 side via the repeater 20 1 ( S7 in FIG. 12 and FIG. At this time, ON control command sent back to the relay 20 1 from the repeater 20 2 (S5) is transmitted to the segment 10 1 side via the repeater 20 1, the load terminal 11 belonging to the segment 10 1 ON control Since the lighting load is turned on based on the command (A4 in FIG. 13), the load terminals 11 of both segments 10 1 and 10 2 can be operated in the same operation state according to the control command transmitted later. .

尚、中継器20においても、セグメント10に属する制御端末12からON制御命令(S1)を受信した後、中継器20から転送されたOFF制御命令(S4)を受信するが、ON制御命令(S1)とOFF制御命令(S4)との受信間隔は、上記の時間ウィンドウよりも長いため、中継器20では、OFF制御命令(S4)とON制御命令(S1)とが同時に送信された制御命令であるか否かの判定は行わない。 Also in the repeater 20 1, after receiving ON control instruction (S1) from the control terminal 12 belonging to the segment 10 1, although received OFF control instructions (S4) transferred from the repeater 20 2, ON control reception interval of the instruction (S1) and an OFF control command (S4) is longer than the time window, the repeater 20 1, OFF control command and (S4) and ON control command (S1) is transmitted simultaneously No determination is made as to whether or not the command is a control command.

上述のように、中継器20では、複数の制御端末12から同一の設備負荷(負荷端末11)に対する制御命令が送信された場合、制御命令と共に受信したシーケンス番号をもとに、制御命令が同時に送信されたものか否かを判断でき、同時送信と判断された場合は、後に受信した制御命令を他のセグメント10に送信するとともに、送信元のセグメント10にも返送しているので、複数のセグメント10に属する負荷端末11を、後に受信した制御命令の制御内容にしたがって同一の動作状態で動作させることができる。   As described above, in the repeater 20, when a control command for the same equipment load (load terminal 11) is transmitted from a plurality of control terminals 12, the control commands are simultaneously transmitted based on the sequence number received together with the control command. It is possible to determine whether or not they have been transmitted. If it is determined that they are transmitted simultaneously, the control command received later is transmitted to the other segment 10 and is also returned to the source segment 10. The load terminals 11 belonging to the segment 10 can be operated in the same operation state according to the control content of the control command received later.

尚、上述の各実施形態では、各セグメント10,10に対応して中継器20,20をそれぞれ設け、中継器20,20の間をバス30で接続して、2台の中継器20,20によってセグメント10,10間で制御命令の転送処理を行っているが、1台の中継器を各セグメントのバス13に直接接続し、1台の中継器によりセグメント10,10間で制御命令の転送処理を行うようにしてもよい。 In each embodiment described above, corresponding to each segment 10 1, 10 2 provided with a repeater 20 1, 20 2, respectively, and connects between the repeater 20 1, 20 2 at bus 30, two repeater 20 1, 20 2 by the segment 10 1, 10 is performed transfer processing control commands between 2, a single repeater is connected directly to the bus 13 of each segment by one repeater Control command transfer processing may be performed between the segments 10 1 and 10 2 .

10,10 セグメント
11 負荷端末
12 制御端末
13 バス
20,20 中継器
10 1 , 10 2 segment 11 Load terminal 12 Control terminal 13 Bus 20 1 , 20 2 Repeater

Claims (6)

外部より入力される制御命令に応じて設備負荷を制御する負荷端末と、前記負荷端末に制御命令を送信する制御端末とがバスを介して接続されることによって個々のセグメントが構成され、
複数の前記セグメントが、前記セグメント間で制御命令を中継伝送する中継器を介して接続され、
前記中継器は、何れかの前記セグメントの前記制御端末から送信された制御命令を受信すると、受信した前記制御命令を他の前記セグメントに転送し、且つ、1乃至複数の前記セグメントに属する複数の前記制御端末から送信された同一の前記設備負荷に対する制御命令を受信するタイミングの時間差が同時と見なせる所定時間内であれば、後に受信した制御命令を他の前記セグメントに転送し、且つ、後に受信した前記制御命令送信元の前記セグメントにも返送することを特徴とする設備制御向け中継システム。
A load terminal to control the equipment load in response to the control command input from the outside, the individual segments and the control terminal by which are connected via a bus for transmitting a control command to said load terminal is configured,
A plurality of said segments are connected via a repeater for relaying transmit control commands between said segments,
The relay, when either receiving a control command transmitted from the control terminal of said segment, and transfers the control command received to other of said segments, and, one to a plurality of belonging to a plurality of said segments within a predetermined time difference between the timing of receiving a control command for the same of the equipment load transmitted from the control terminal can be regarded as simultaneous time, the control command received after transferred to another of said segments, and, subsequently received equipment control for the relay system characterized by returning to the sender of the segment the control command.
前記中継器は、各々の前記セグメントで、前記制御端末又は前記中継器により前回送信された制御命令を記憶する記憶手段を有しており、
前記中継器は、何れかの前記セグメントの前記制御端末から送信された制御命令を受信した場合に、今回受信した制御命令の制御内容が、前記記憶手段に記憶されている制御命令の制御内容と同じであれば、今回受信した制御命令の転送を行わないことを特徴とする請求項1記載の設備制御向け中継システム。
The repeater has storage means for storing a control command last transmitted by the control terminal or the repeater in each segment .
When the repeater receives a control command transmitted from the control terminal of any of the segments, the control content of the control command received this time is the control content of the control command stored in the storage means 2. The relay system for equipment control according to claim 1 , wherein if it is the same, the control command received this time is not transferred .
外部より入力される制御命令に応じて設備負荷を制御する負荷端末と、前記負荷端末に制御命令を送信する制御端末とがバスを介して接続されることによって個々のセグメントが構成され、
複数の前記セグメントが、前記セグメント間で制御命令を中継伝送する中継器を介して接続され、
各々の前記制御端末は、現在時刻を計時する計時機能を有し、前記計時機能により計時された送信時刻情報を制御命令とともに送信しており、
前記中継器は、何れかの前記セグメントの前記制御端末から送信された制御命令を受信すると、受信した前記制御命令を他の前記セグメントに転送し、且つ、1乃至複数の前記セグメントに属する複数の前記制御端末から送信された同一の前記設備負荷に対する制御命令を受信した場合に、前記制御命令とともに送信された前記送信時刻情報をもとに、複数の前記制御命令が同時とみなせる所定時間内に送信されたと判断ると、後に受信した前記制御命令を他の前記セグメントに転送し、且つ、後に受信した前記制御命令送信元の前記セグメントにも返送することを特徴とする設備制御向け中継システム。
A load terminal to control the equipment load in response to the control command input from the outside, the individual segments and the control terminal by which are connected via a bus for transmitting a control command to said load terminal is configured,
A plurality of said segments are connected via a repeater for relaying transmit control commands between said segments,
Each of the control terminal has a timer function for counting a present time, has been transmitted together with the control command transmission time information counted by the clock function,
The relay, when either receiving a control command transmitted from the control terminal of said segment, and transfers the control command received to other of said segments, and, one to a plurality of belonging to a plurality of said segments when receiving the control command for the same of the equipment load transmitted from the control terminal, on the basis of the transmission time information transmitted together with the control command, within a predetermined time in which a plurality of the control instructions can be regarded as simultaneous If you determined to have been transmitted, the control command is transferred to another of said segments received after, and, after the equipment control for the relay, characterized in that return to the source of the segment the control command received system.
前記中継器は、別々の前記セグメントに属する複数の前記制御端末から送信された同一の前記設備負荷に対する制御命令を受信した場合に、複数の前記制御端末からの前記制御命令が所定時間内に送信されたものと判断した時点で先に受信した前記制御命令の転送処理を行っていなければ、先に受信した前記制御命令を他の前記セグメントに転送する処理を停止することを特徴とする請求項3記載の設備制御向け中継システム。 The relay, when receiving the control command for the same of the equipment load transmitted from a plurality of said control terminals belonging to different said segment, sending the control command from the plurality of the control terminal is within a predetermined time if not performing the control command transfer processing of the previously received when it is determined to have been, claims, characterized in that the stop processing of transferring the control command previously received the other of said segments 3. The relay system for equipment control according to 3. 前記中継器は、先に受信した前記制御命令を他の前記セグメントに転送する処理を停止した場合に、他の前記セグメントの前記制御端末から送信された前記制御命令を後から受信すると、後から受信した前記制御命令を他の前記セグメントに返送する処理も停止することを特徴とする請求項4記載の設備制御向け中継システム。 The relay, when stopping the processing of transferring the control command previously received the other of said segments, when receiving later the control command transmitted from the control terminal of the other of said segments, later 5. The relay system for equipment control according to claim 4, wherein the process of returning the received control command to the other segment is also stopped. 外部より入力される制御命令に応じて設備負荷を制御する負荷端末と、前記負荷端末に制御命令を送信する制御端末とがバスを介して接続されることによって個々のセグメントが構成され、
複数の前記セグメントが、前記セグメント間で制御命令を中継伝送する中継器を介して接続され、
各々の前記制御端末は、自セグメントで前回送信された制御命令に付加されたシーケンス番号に所定の変化分を加算して得た新たなシーケンス番号を制御命令とともに送信し、
前記中継器は、何れかの前記セグメントの前記制御端末から送信された制御命令を受信すると、受信した前記制御命令を他の前記セグメントに転送し、且つ、1乃至複数の前記セグメントに属する複数の前記制御端末から送信された同一の前記設備負荷に対する制御命令を受信した場合に、受信した前記制御命令とともに送信された前記シーケンス番号が同じであれば同時制御と判断し、後に受信した前記制御命令を他の前記セグメントに転送し、且つ、後に受信した前記制御命令を送信元の前記セグメントにも返送することを特徴とする設備制御向け中継システム。
A load terminal to control the equipment load in response to the control command input from the outside, the individual segments and the control terminal by which are connected via a bus for transmitting a control command to said load terminal is configured,
A plurality of said segments are connected via a repeater for relaying transmit control commands between said segments,
Each of the control terminals transmits a new sequence number obtained by adding a predetermined change to the sequence number added to the control command transmitted in the previous segment together with the control command,
The relay, when either receiving a control command transmitted from the control terminal of said segment, and transfers the control command received to other of said segments, and, one to a plurality of belonging to a plurality of said segments when receiving the control command for the same of the equipment load transmitted from the control terminal, the sequence number transmitted is determined to simultaneous control if the same with the control command received, the control command received after It was transferred to another of said segments, and, equipment control for the relay system characterized by returning to the sender of the segment the control command received later.
JP2009244766A 2009-10-23 2009-10-23 Relay system for equipment control Active JP5432666B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009244766A JP5432666B2 (en) 2009-10-23 2009-10-23 Relay system for equipment control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009244766A JP5432666B2 (en) 2009-10-23 2009-10-23 Relay system for equipment control

Publications (2)

Publication Number Publication Date
JP2011091701A JP2011091701A (en) 2011-05-06
JP5432666B2 true JP5432666B2 (en) 2014-03-05

Family

ID=44109511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009244766A Active JP5432666B2 (en) 2009-10-23 2009-10-23 Relay system for equipment control

Country Status (1)

Country Link
JP (1) JP5432666B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935755B (en) * 2020-09-04 2024-01-26 中津沛科建设股份有限公司 LoRa wireless relay communication system, method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3873981B2 (en) * 2004-02-24 2007-01-31 松下電工株式会社 Remote control monitoring system
JP5319926B2 (en) * 2007-08-06 2013-10-16 パナソニック株式会社 Equipment management system

Also Published As

Publication number Publication date
JP2011091701A (en) 2011-05-06

Similar Documents

Publication Publication Date Title
US10802999B2 (en) Industrial device communication system, communication method, and industrial device
JP5255579B2 (en) In-car data relay device, vehicle control system
US20190190744A1 (en) Information transmission network and corresponding network node
JP2014116668A (en) Communication system and network repeater
US20120079052A1 (en) Control unit in a network, network, and routing method for messages in a network
JP5432666B2 (en) Relay system for equipment control
US20180251084A1 (en) Power supply control apparatus, communication system, and power supply control method
JP2007251826A (en) In-vehicle database system
CN105847187B (en) Switching device of dual-port Ethernet system
JP5930767B2 (en) Electronic device, communication control method
JP4994280B2 (en) Route change type network device and system
US9456401B2 (en) Method for enhancing data transfer across a wireless network arrangement
JP6271113B1 (en) Time synchronization slave device and communication control method
JP2014204142A (en) Radio communication network system, radio communication terminal, and radio communication method
CN106664212B (en) Switch unit, Ethernet network and method for activating components in an Ethernet network
US9342473B2 (en) Parallel computer system, crossbar switch, and method of controlling parallel computer system according to selective transmission of data via ports of the crossbar switch
JP2018101917A (en) Communication apparatus, control method, and program
JP4636257B2 (en) Filtering repeat function
JP6536069B2 (en) Ring bus transfer system, master node, slave node, ring bus transfer method
JP2011044814A (en) Relay system for facility control
US20080310412A1 (en) Information relay apparatus, control method and information processing system
JP2004120042A (en) Data transmission system for duplicated system
JP2004064414A (en) Data transmission/reception system, data transmission/reception device, failure monitoring device, data communication line, and failure monitoring method in data transmission/reception system
JP2008187683A (en) Synchronous serial bus system
JPH085379B2 (en) Electronic interlocking device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20120118

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120807

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130709

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130909

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: 20131112

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131206

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5432666

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150