JP2009097267A - Electric opening/closing system - Google Patents

Electric opening/closing system Download PDF

Info

Publication number
JP2009097267A
JP2009097267A JP2007271219A JP2007271219A JP2009097267A JP 2009097267 A JP2009097267 A JP 2009097267A JP 2007271219 A JP2007271219 A JP 2007271219A JP 2007271219 A JP2007271219 A JP 2007271219A JP 2009097267 A JP2009097267 A JP 2009097267A
Authority
JP
Japan
Prior art keywords
signal
answer
transmission
blind
device number
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.)
Granted
Application number
JP2007271219A
Other languages
Japanese (ja)
Other versions
JP4925125B2 (en
Inventor
Osamu Yamamoto
収 山本
Ikuo Takei
郁夫 武居
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.)
Sharp Corp
Nichibei Co Ltd
Original Assignee
Sharp Corp
Nichibei 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 Sharp Corp, Nichibei Co Ltd filed Critical Sharp Corp
Priority to JP2007271219A priority Critical patent/JP4925125B2/en
Publication of JP2009097267A publication Critical patent/JP2009097267A/en
Application granted granted Critical
Publication of JP4925125B2 publication Critical patent/JP4925125B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To exclude unnecessary communication and surely perform communication in an electric opening/closing system. <P>SOLUTION: A plurality of opening/closing devices 2 are connected to a cable 3 allowing two-way communication, opened and closed according to a received operation signal, and transmitting an answer signal to answer the state. Each of the opening/closing devices comprises an individual number switch 22 for inputting an individual number for uniquely identifying itself beforehand. A microcomputer 21 determines an answer start timing at which the transmission of the answer signal is started individually for each individual number after a specified time is elapsed after a transmission signal is absent in the cable 3. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、電動開閉システムに関し、特に、電動機を介して駆動制御される電動ブラインド、電動シャッタおよび電動カーテンなどの複数の開閉装置と、これらの開閉装置を開閉操作するとともに状態を管理するコントロール装置とからなる電動開閉システムに関する。   The present invention relates to an electric opening / closing system, and in particular, a plurality of opening / closing devices such as an electric blind, an electric shutter, and an electric curtain that are driven and controlled via an electric motor, and a control device that opens and closes these opening / closing devices and manages the state. It is related with the electric switching system which consists of.

現在、複数の電動ブラインドを集中的に制御して各ブラインドの高さおよび羽根の角度を、採光と冷暖房効率の両面から適正な値にし、またブラインドを揃えることにより、冷暖房費用の節約とともに建物全体の美観を維持するのに役立つ電動ブラインドシステムが市販されている。   Currently, multiple electric blinds are controlled intensively so that the height and blade angle of each blind are appropriate in terms of both lighting and cooling / heating efficiency. Electric blind systems are commercially available to help maintain the aesthetics.

上述の、各ブラインドの高さおよび羽根の角度を適正な値にするとともにブラインドを揃えることを確実に行うことを目的に、特許文献1には、複数回連続して操作信号を送信することにより確実な開閉動作を確保する電動ブラインドシステムが示されている。   For the purpose of ensuring that the height of the blinds and the angle of the blades are set to appropriate values and that the blinds are aligned as described above, Patent Document 1 discloses that an operation signal is transmitted continuously several times. An electric blind system that ensures a reliable opening and closing operation is shown.

すなわち、混信などの原因により、操作信号が確実にブラインドに伝わらない状況が発生しても複数回連続して操作信号を送信することにより確実に開閉動作するという確率を高めている。   In other words, even if a situation occurs in which the operation signal is not reliably transmitted to the blind due to interference or the like, the probability that the opening / closing operation is surely performed is increased by continuously transmitting the operation signal multiple times.

さらに確実な開閉動作を実現するために、各ブラインドから高さ等の状態を回答信号として送信させて、中央のコントローラが各ブラインドの状態を常に認識しておき、必要な場合には再操作を行ってブラインドを揃えることが行われているが、確実な通信を行うために、中央のコントローラが各1台づつ呼び出すというポーリング方式を採用したブラインドシステムが市販されている。   In order to realize a more reliable opening and closing operation, the state such as the height is transmitted as an answer signal from each blind so that the central controller always recognizes the state of each blind and re-operates if necessary. In order to perform reliable communication, blind systems that employ a polling system in which a central controller calls one by one are commercially available.

すなわち、各ブラインドからの回答信号は常に1台のみであることから回答信号同士が混信するということはなく、確実な通信が確保されている。
特開平9−195644号公報
That is, since there is always only one answer signal from each blind, the answer signals do not interfere with each other, and reliable communication is ensured.
JP 9-195644 A

しかしながら、複数回連続して操作信号を送信することは、複数回送信する途中に他のコントローラからの操作があった場合、連続している次の操作信号により無効にされるということであり、他のコントローラによる再操作が必要となる場合が発生するという問題がある。ひどい場合には、お互いの再操作が繰り返されるという危険性も存在する。   However, transmitting the operation signal continuously a plurality of times means that if there is an operation from another controller in the middle of transmitting a plurality of times, it is invalidated by the next operation signal that is continuous, There is a problem in that re-operation by another controller may occur. In severe cases, there is also a risk that re-operations will be repeated.

また、中央のコントローラから1台づつ呼び出して全機器の状態を常に確認しておくということは、通信線を常に信号有りのビジー状態としておくということであり、他のコントローラは混信を回避するために送信待機することとなり、操作に対し動作開始が遅れることとなり操作性が悪くなるという問題がある。   Also, calling one by one from the central controller and checking the status of all devices at all times means that the communication line is always in a busy state with a signal, so that other controllers avoid interference. Therefore, there is a problem that the operation start is delayed with respect to the operation and the operability is deteriorated.

特に、状態の変化が少ないブラインドの場合にはポーリングによる回答情報は同じ情報が続くことが通常であり、通信方式としてムダが多い方式となっている。   In particular, in the case of a blind with little change in state, the answer information by polling usually continues with the same information, and the communication method is wasteful.

それゆえに、この発明の目的は不必要な通信を排除するとともに確実な通信を行うことによって、操作性の良い確実な開閉動作を実現する電動開閉システムを提供することである。   Therefore, an object of the present invention is to provide an electric opening / closing system that realizes a reliable opening / closing operation with good operability by eliminating unnecessary communication and performing reliable communication.

この発明のある局面に従う電動開閉システムは、双方向通信が可能な伝送路に接続されて、受信した操作信号に従い開閉動作するとともに回答信号を送信して状態を回答する複数の開閉装置と、伝送路に接続されて操作信号を送信して複数の開閉装置を開閉操作するとともに、回答信号を受信して状態を管理するコントロール装置とを備える。   An electric switching system according to an aspect of the present invention is connected to a transmission path capable of two-way communication, opens and closes in accordance with a received operation signal, transmits a reply signal, and transmits a reply signal, and a transmission A control device that is connected to the road and transmits an operation signal to open and close the plurality of opening and closing devices, and receives an answer signal and manages a state.

複数の開閉装置それぞれは、予め自己を一意に識別するための機器番号を入力する番号入力手段と、伝送路における伝送信号無し状態となり一定時間経過した後から回答信号を送信開始するための回答開始タイミングを決定する回答開始タイミング決定手段とを含み、回答開始タイミング決定手段は、回答開始タイミングを、番号入力手段が入力する機器番号毎に異ならせる。   Each of the plurality of switchgears has a number input means for inputting a device number for uniquely identifying itself in advance, and a response start for starting transmission of a response signal after a certain period of time has elapsed since there is no transmission signal in the transmission path Answer start timing determining means for determining the timing, and the answer start timing determining means varies the answer start timing for each device number input by the number input means.

したがって、伝送路信号無し状態となった一定時間後から、機器番号毎に重ならないように回答開始タイミングが決定されることから、回答信号同士が混信することがなくなり確実な通信が確保される。   Accordingly, since the response start timing is determined so as not to overlap each device number after a certain time after the transmission line signal is not present, the response signals do not interfere with each other and reliable communication is ensured.

好ましくは、複数の開閉装置それぞれは、さらにタイマを含み、回答開始タイミング決定手段は、伝送路における伝送信号無し状態となり前記タイマによって一定時間経過が検知された後の所定長さの期間内の所定タイミングを、回答開始タイミングに決定し、所定長さの期間の開始タイミングは、番号入力手段が入力する機器番号毎に異なる。   Preferably, each of the plurality of switchgears further includes a timer, and the answer start timing determining means is a predetermined period within a predetermined length after a predetermined time has elapsed after the timer has detected that no transmission signal is present in the transmission path. The timing is determined as the answer start timing, and the start timing of the period of the predetermined length differs for each device number input by the number input means.

したがって、回答開始タイミングは常に所定長さ期間の幅における所定のタイミングとなる。このことにより、各開閉装置のタイマによる‘伝送路における伝送信号無し状態となり一定時間経過’の検知にずれが生じたとしても、隣り合う開閉装置同士の混信を避けることが可能となる。   Therefore, the answer start timing is always a predetermined timing in the width of the predetermined length period. This makes it possible to avoid interference between adjacent switchgears even if there is a deviation in the detection of the “no transmission signal in the transmission path due to the timer of each switchgear and the lapse of a fixed time”.

好ましくは、複数の開閉装置それぞれには、機器番号の最小値から最大値まで順番に機器番号を割当て、最大値の機器番号の次位に割当てられるべき機器番号は最小値の機器番号である。   Preferably, a device number is assigned to each of the plurality of switching devices in order from a minimum value to a maximum value of the device number, and the device number to be assigned next to the maximum device number is the minimum device number.

したがって、各開閉装置には回答開始タイミングが繰り返し割当てられるので、回答信号をコントロール装置に確実に送信(返信)することが可能になる。   Therefore, since the response start timing is repeatedly assigned to each switching device, it is possible to reliably transmit (reply) the response signal to the control device.

好ましくは、複数の開閉装置それぞれは、コントロール装置から伝送路に送信された操作信号と、複数の開閉装置から伝送路に送信された回答信号とを伝送路から受信する第1受信手段をさらに含み、回答開始タイミング決定手段は、第1受信手段によって信号を受信終了してからの経過時間と、自己の機器番号とを用いて、回答開始タイミングを算出する。   Preferably, each of the plurality of switching devices further includes first receiving means for receiving, from the transmission path, an operation signal transmitted from the control device to the transmission path and an answer signal transmitted from the plurality of switching apparatuses to the transmission path. The answer start timing determining means calculates the answer start timing using the elapsed time since the reception of the signal by the first receiving means and its own device number.

好ましくは、コントロール装置は、コントロール装置から伝送路に送信された操作信号と、複数の開閉装置から伝送路に送信された回答信号とを伝送路から受信する第2受信手段と、第2受信手段によって信号を受信終了してからの経過時間に基づき、操作信号を伝送路に送信開始する操作開始可能タイミングを決定する操作開始可能タイミング決定手段とを含む。   Preferably, the control device receives, from the transmission line, an operation signal transmitted from the control device to the transmission line and answer signals transmitted from the plurality of switching devices to the transmission line, and a second reception unit. The operation start possible timing determining means for determining the operation start possible timing for starting transmission of the operation signal to the transmission line based on the elapsed time after the reception of the signal is completed.

好ましくは、回答信号は、当該回答信号の送信元の開閉装置の前記機器番号を含み、回答開始タイミング決定手段は、第1受信手段によって回答信号を受信したとき、受信した回答信号に含まれた機器番号が指す初回機器番号と、第1受信手段によって当該回答信号を受信終了してからの経過時間と、自己の機器番号とを用いて、回答開始タイミングを算出する。   Preferably, the answer signal includes the device number of the switching device that is the transmission source of the answer signal, and the answer start timing determining means is included in the received answer signal when the answer signal is received by the first receiving means. The response start timing is calculated using the initial device number indicated by the device number, the elapsed time since reception of the response signal by the first receiving means, and the own device number.

好ましくは、回答開始タイミングを算出するために用いられる初回機器番号は、受信した回答信号に含まれる機器番号の次位の機器番号を指示する。   Preferably, the initial device number used for calculating the response start timing indicates the device number next to the device number included in the received response signal.

また好ましくは、受信した回答信号に含まれる機器番号が、複数の開閉装置に割当てされた最大値の機器番号を指すときは、次位の機器番号は、複数の開閉装置に割当てされた最小値の機器番号を指示する。   Further preferably, when the device number included in the received answer signal indicates the maximum device number assigned to the plurality of switchgears, the next device number is the minimum value assigned to the plurality of switchgears. Specify the device number.

したがって、伝送路信号無し状態となった一定時間後から機器番号の順番にて回答信号が、不必要な待機が存在しないタイミングで順次送信されていくことになり、変化状態の早期な通信と確実な通信が確保されるとともに、無駄のない通信が確保される。   Therefore, response signals are sequentially transmitted in the order of device numbers after a certain period of time when there is no transmission line signal, and there is no need for unnecessary standby. Communication is ensured, and communication without waste is ensured.

好ましくは、操作信号に従い開閉動作を開始した場合に、動作終了するまでに第1受信手段によって操作信号または回答信号を受信し受信終了から所定時間を経過したときに、回答信号を決定された回答開始タイミングに従い送信する。   Preferably, when the opening / closing operation is started in accordance with the operation signal, the response signal is determined when the operation signal or the response signal is received by the first receiving means until the operation is completed and a predetermined time has elapsed from the end of the reception. Transmit according to the start timing.

したがって、開閉動作を終了制御して回答信号を送信するまでに、操作信号を受信してから所定時間後に回答信号を送信することから、隣接する開閉装置からの回答信号と混信するということがなくなるという信頼性ある通信が確保される。   Accordingly, since the answer signal is transmitted after a predetermined time from the reception of the operation signal until the answer signal is transmitted after the opening / closing operation is controlled, there is no interference with the answer signal from the adjacent switch device. This ensures reliable communication.

好ましくは、複数の開閉装置それぞれは、第1受信手段により受信した操作信号に従う開閉動作後の状態を指示する回答信号を伝送路に出力する回答信号送信手段と、操作された機器番号が設定される機器番号設定手段と、操作信号に従い開閉動作を行なわせるための駆動手段と、駆動手段による開閉動作後の状態を検出する検出手段と、をさらに含み、駆動手段による開閉動作終了時に、検出手段により検出された状態と、機器番号設定手段により設定された機器番号とを含む回答信号を回答開始タイミングに従い伝送路に送信開始する。   Preferably, each of the plurality of opening / closing devices is set with an answer signal transmitting means for outputting an answer signal indicating the state after the opening / closing operation according to the operation signal received by the first receiving means to the transmission line, and an operated device number. Device number setting means, driving means for performing an opening / closing operation in accordance with an operation signal, and detecting means for detecting a state after the opening / closing operation by the driving means, and detecting means at the end of the opening / closing operation by the driving means In response to the response start timing, transmission of a response signal including the state detected by the above and the device number set by the device number setting means is started.

好ましくは、電動開閉システムでは、コントロール装置による操作信号を送信開始することが可能なタイミングは、回答開始タイミングよりも先行する。   Preferably, in the electric opening and closing system, the timing at which the operation signal from the control device can be started precedes the answer start timing.

したがって、開閉装置からの回答信号よりも先に操作信号が送信開始されることから、回答信号との混信を発生させずに確実な操作信号の送信ができるとともに、複数の回答信号を待機することがないためにすぐの操作信号送信となることから動作開始遅延のない快適な操作性が確保される。   Therefore, since the operation signal starts to be transmitted before the response signal from the switchgear, it is possible to transmit the operation signal reliably without causing interference with the response signal and to wait for a plurality of response signals. Therefore, since the operation signal is transmitted immediately, a comfortable operability with no operation start delay is ensured.

発明によれば、伝送路信号無し状態となった一定時間後から、機器番号毎に重ならないように回答開始タイミングが決定されることから、回答信号同士が混信することがなくなり確実な通信が確保される。   According to the invention, since the response start timing is determined so that there is no overlap for each device number after a certain period of time when there is no transmission line signal, the response signals do not interfere with each other and reliable communication is ensured. Is done.

以下、この発明の実施の形態について図面を参照して詳細に説明する。
この実施の形態においては開閉装置として昇降動作することにより開閉機能を達成するブラインドを例示しているが、ブラインドに限らずカーテン、シャッタあるいはドアなどを対象として、電動カーテン装置、電動シャッタ装置あるいは電動ドア装置として提供することもできる。また、本実施の形態では、説明の為に伝送される信号を文字として扱っているが、実際は文字(アスキーコードなど)ではなく、通信内容(操作信号の種類)が少ないことから、数値(8ビット値:00h〜FFh)が採用される。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
In this embodiment, a blind that achieves an opening and closing function by moving up and down is illustrated as an opening and closing device. However, the present invention is not limited to the blind, and the curtain, shutter, door, or the like is used as an electric curtain device, an electric shutter device, or an electric device. It can also be provided as a door device. In the present embodiment, the signal transmitted for the purpose of explanation is treated as a character. However, since the content of communication (type of operation signal) is not a character (ASCII code or the like) in reality, the numerical value (8 Bit values: 00h to FFh) are adopted.

図1は、この発明の実施の形態による電動ブラインドシステムの概略構成図である。図1の電動ブラインドシステムは信号の伝送路である同一の配線3を介してバス的(双方向通信可能)に接続されるブラインド装置2a〜2e、およびコントロール装置1を含む。   FIG. 1 is a schematic configuration diagram of an electric blind system according to an embodiment of the present invention. The electric blind system of FIG. 1 includes blind devices 2a to 2e and a control device 1 connected in a bus-like manner (bidirectional communication is possible) via the same wiring 3 that is a signal transmission path.

本実施の形態では、コントロール装置1は配線3に自己が送信した信号(後述の操作信号)を同時に受信し、同様に、ブラインド装置2a〜2eのそれぞれも配線3に自己が送信した信号(後述の回答信号)を同時に受信する。   In the present embodiment, the control device 1 simultaneously receives a signal (an operation signal described later) transmitted by itself to the wiring 3, and similarly, each of the blind devices 2a to 2e also transmits a signal (described later) to the wiring 3. Response signal) at the same time.

なお、配線3についてはRS485規格を準拠したものを想定している(例えば、通信速度は9600bps、など)。通信規格RS485には、RS232Cに比較した場合に次の特徴がある。   Note that the wiring 3 is assumed to comply with the RS485 standard (for example, the communication speed is 9600 bps). Communication standard RS485 has the following characteristics when compared with RS232C.

RS485は平衡型伝送方式を採用して、伝送波形が歪んでもわずかな差動入力電圧が存在すればデータ信号を検出できること、さらに伝送ラインである配線3にツイスト・ペア・ケーブルを用いて、外部雑音に強いなどの特徴があることから、長距離、高速伝送が可能である。   RS485 adopts a balanced transmission system, and even if the transmission waveform is distorted, the data signal can be detected if there is a slight differential input voltage, and further, a twisted pair cable is used for the wiring 3 that is a transmission line. Because of its characteristics such as being resistant to noise, long-distance and high-speed transmission is possible.

RS485規格は、平衡型伝送回路で構成され、最大伝送速度10Mbit/s、最大伝送距離1200mと高速・長距離データ伝送が可能である。また、ドライバICの電源電圧は通常の電子回路の5Vで可能となっている。   The RS485 standard is composed of a balanced transmission circuit, and is capable of high-speed and long-distance data transmission with a maximum transmission speed of 10 Mbit / s and a maximum transmission distance of 1200 m. Further, the power supply voltage of the driver IC can be 5 V of a normal electronic circuit.

これに対し、RS232C規格は、不平衡型伝送回路で構成され、最大15mの伝送距離、20Kbit/s以下の伝送速度と規定されており、また、高い雑音マージンを得るため、ドライバ出力電圧は、±5〜±15の範囲で正・負にスイングする必要があり、電子回路が複雑になる。   On the other hand, the RS232C standard is composed of an unbalanced transmission circuit, is defined as a maximum transmission distance of 15 m, a transmission speed of 20 Kbit / s or less, and in order to obtain a high noise margin, the driver output voltage is It is necessary to swing positively and negatively in the range of ± 5 to ± 15, and the electronic circuit becomes complicated.

RS485は、マルチプレックスのマルチポイント伝送を採用して、多数機器間の通信を伝送ライン1組で実現できる利点がある。つまり、RS485規格は、1組の伝送ラインにてパーティ・ラインを構成しドライバ、レシーバ最大各32台の接続が可能となっています。また、規格制定以降にレシーバの特性が改善され、現在では最大256台の接続が可能となっている。通常、ブラインドシステムでは各階毎に1組の伝送ラインにてパーティ・ラインを組むが、この最大256台というのは適切な値となっている。   RS485 has the advantage that communication between multiple devices can be realized with one set of transmission lines by employing multiplex multipoint transmission. In other words, the RS485 standard makes up a party line with one set of transmission lines, and a maximum of 32 drivers and receivers can be connected. In addition, the receiver characteristics have been improved since the establishment of the standard, and a maximum of 256 units can be connected at present. Normally, in a blind system, a party line is formed by one transmission line for each floor, and this maximum of 256 units is an appropriate value.

これに対しRS232C規格は、1組の機器間の通信を前提にしており、複数機器と通信する場合は、それぞれに伝送ラインが必要になる。   On the other hand, the RS232C standard presupposes communication between a set of devices, and when communicating with a plurality of devices, each requires a transmission line.

このように、本実施の形態の配線3についてはRS485規格を準拠しているので、上述のような効果を有するブラインドシステムを構成できる。   Thus, since the wiring 3 of the present embodiment conforms to the RS485 standard, a blind system having the above-described effects can be configured.

本実施の形態では、ブラインド装置2a〜2eについては4台しか記載していないが、配線3には最大255台のブラインド装置を接続可能と想定している。また、これらのブラインド装置2a〜2eのそれぞれは、自己を一意に認識可能とするために各々に異なる機器番号である「1」〜「255」の個別番号が予め割当てされている。ここでは、ブラインド装置2a、2b、2cおよび2eについて、それぞれ「1」、「2」、「3」および「255」を割当てている。   In the present embodiment, only four blind devices 2 a to 2 e are described, but it is assumed that a maximum of 255 blind devices can be connected to the wiring 3. Further, each of the blind devices 2a to 2e is assigned in advance with individual numbers “1” to “255”, which are different device numbers, in order to be able to uniquely recognize itself. Here, “1”, “2”, “3”, and “255” are assigned to the blind devices 2a, 2b, 2c, and 2e, respectively.

また、コントロール装置1を1台として記載しているが、操作機能のみに限定した操作用コントローラについては、ブラインド装置2a〜2eに接続するなどして本ブラインドシステムに組み込むことは可能であるが、説明を簡潔にするためにコントロール装置1のみとしている。   Moreover, although the control apparatus 1 is described as one unit, an operation controller limited to only the operation function can be incorporated in the blind system by connecting to the blind apparatuses 2a to 2e, For the sake of brevity, only the control device 1 is shown.

また、ブラインド装置2a〜2eで例示される255台を昇降操作させる場合、任意の複数台からなるグループを構成することが可能であり、こららのグループ単位の昇降操作とともに、上述の個別番号を指定しての1台づつの昇降操作とすることも可能である。しかし、本実施の形態では、説明を簡潔にするために全機器指定に限定しての昇降操作に限定して説明する。   In addition, in the case where 255 units exemplified by the blind devices 2a to 2e are moved up and down, it is possible to configure a group consisting of any plurality of units, and together with these group unit lifting and lowering operations, the individual numbers described above are used. It is also possible to carry out a lifting operation for each specified one. However, in the present embodiment, for the sake of brevity, the description will be limited to the lifting operation limited to the designation of all devices.

なお、上限位置から下限位置までの昇降動作時間については、昇降速度および昇降範囲長により異なるが、一般的には定速度制御を行うこともあり、ブラインド装置が同じ機種であればほぼ一定時間となる。本実施の形態では、昇降範囲における昇降動作時間については、約35秒であることを前提としている。   Note that the lifting operation time from the upper limit position to the lower limit position varies depending on the lifting speed and the lifting range length, but in general, constant speed control may be performed. Become. In the present embodiment, it is assumed that the lifting operation time in the lifting range is about 35 seconds.

図1のシステムでは、コントロール装置1からブラインド装置2a〜2eの昇降操作を行い、ブラインド装置2a〜2eの停止時には更新された高さ情報を回答信号として送信して、コントロール装置1は、これらの回答信号から各ブラインド装置2a〜2eの高さ情報を把握して、所望の高さに停止させていること、あるいは所望の高さに停止できていないことが判別可能となっている。そして、これらの判別データを報知すること、あるいは所望の高さで停止できていない機器に対しては、障害物のために停止させたのか、などのさらに詳しい情報を呼び出すことも可能であり、あるいは再度昇降操作信号を送信して確実に所望の高さにすることも可能であり、これらの管理モードは多様に存在する。   In the system shown in FIG. 1, the blind devices 2 a to 2 e are moved up and down from the control device 1, and the updated height information is transmitted as an answer signal when the blind devices 2 a to 2 e are stopped. From the answer signal, it is possible to grasp the height information of each of the blind devices 2a to 2e and determine whether the blind devices 2a to 2e are stopped at the desired height or not stopped at the desired height. And it is also possible to call out more detailed information, such as whether to stop for obstacles, to notify these discrimination data, or for equipment that has not stopped at the desired height, Alternatively, it is possible to send the lifting operation signal again to ensure the desired height, and there are various management modes.

しかし、本実施の形態では説明を簡潔にするために、管理モードについては後述の再送信モードに限定して説明する。   However, in this embodiment, for the sake of brevity, the management mode will be described by limiting it to a later-described retransmission mode.

高さ情報については、ブラインド装置のブラインドの昇降範囲における上限位置あるいは下限位置だけでなく、その途中位置についても昇降範囲の相対的位置をも認識することは一般的に可能であるが、本実施の形態では説明を簡潔にするために、高さ情報が指すブラインドの高さは、ブラインドが上昇して昇降範囲の上限位置で停止していることを指す‘上限’と、下降して昇降範囲の下限位置で停止していることを指す‘下限’、そしてそのいずれでもない途中位置に停止していることを指す‘中間’の3種類に限定している。   Regarding the height information, it is generally possible to recognize not only the upper limit position or the lower limit position in the blind lifting / lowering range of the blind device, but also the relative position of the lifting / lowering range in the middle position. For the sake of brevity, the height of the blind pointed to by the height information is 'upper limit' indicating that the blind is raised and stopped at the upper limit position of the lift range, and is lowered and lift range. It is limited to three types: 'lower limit' indicating that the vehicle is stopped at the lower limit position, and 'intermediate' indicating that the vehicle is stopped at any intermediate position.

すなわち、図1のシステムの本実施の形態では、コントロール装置1からブラインド装置2a〜2eの昇降操作を行い、ブラインド装置2a〜2eは上限位置あるいは下限位置まで昇降した停止時に上限あるいは下限の高さ情報を内容とする回答信号を送信し、コントロール装置1はこれらの回答信号からブラインド装置2a〜2eの昇降動作を確認し、上限位置あるいは下限位置でないブラインド装置が存在する場合には再送信を行うことにより上限位置あるいは下限位置までに確実に昇降させることが可能となっている。   That is, in the present embodiment of the system shown in FIG. 1, the control device 1 performs the raising / lowering operation of the blind devices 2a to 2e, and the blind devices 2a to 2e are raised to the upper limit position or the lower limit position when the upper limit or lower limit is reached. An answer signal containing information is transmitted, and the control device 1 confirms the ascending / descending operation of the blind devices 2a to 2e from these answer signals, and retransmits if there is a blind device that is not the upper limit position or the lower limit position. Thus, it is possible to ascend and descend reliably to the upper limit position or the lower limit position.

図2は図1のコントロール装置1の概略ブロック図である。コントロール装置1は、マイクロコンピュータ11、ユーザが外部から操作する上昇操作スイッチ12、下降操作スイッチ13、停止操作スイッチ14および再送信モードスイッチ15、送信回路16および受信回路17を備える。マイクロコンピュータ11に他の各操作スイッチ12〜14、再送信モードスイッチ15、送信回路16、受信回路17が接続している。そして、送信回路16と受信回路17は配線3にも接続される。図2では‘SW’の文字は‘スイッチ’の略語を指す。他の図面でも同様である。   FIG. 2 is a schematic block diagram of the control device 1 of FIG. The control device 1 includes a microcomputer 11, an ascending operation switch 12, a descending operation switch 13, a stop operation switch 14, a retransmission mode switch 15, a transmission circuit 16 and a reception circuit 17 that are operated by a user from the outside. Other operation switches 12 to 14, a retransmission mode switch 15, a transmission circuit 16, and a reception circuit 17 are connected to the microcomputer 11. The transmission circuit 16 and the reception circuit 17 are also connected to the wiring 3. In FIG. 2, the letter “SW” indicates an abbreviation for “switch”. The same applies to other drawings.

また、マイクロコンピュータ11はCPU(Central Processing Unit)18およびRAM(Random Access Memory)19を含む。RAM19には、データである無信号管理タイマ111、再送信管理タイマ112およびブラインド装置管理テーブル113が格納される。マイクロコンピュータ11は図示しないがクロックを有し、当該クロックから出力されるクロック信号に同期して無信号管理タイマ111および再送信管理タイマ112の計時値が更新される。   The microcomputer 11 includes a CPU (Central Processing Unit) 18 and a RAM (Random Access Memory) 19. The RAM 19 stores a no-signal management timer 111, a retransmission management timer 112, and a blind device management table 113, which are data. Although not shown, the microcomputer 11 has a clock, and the clocked values of the no-signal management timer 111 and the retransmission management timer 112 are updated in synchronization with a clock signal output from the clock.

マイクロコンピュータ11は、各操作スイッチ12〜14から入力があれば、入力に対応する操作信号を送信回路16から配線3に送信するとともに、配線3からの信号を、受信回路17を介して受信する。また、再送信モードスイッチ15が操作されて「入」である場合は、必要に応じて上昇操作スイッチ12または下降操作スイッチ13の入力に基づいて送信した昇降動作を指示するための操作信号を再度、送信回路16から配線3に送信する。   If there is an input from each of the operation switches 12 to 14, the microcomputer 11 transmits an operation signal corresponding to the input from the transmission circuit 16 to the wiring 3 and receives a signal from the wiring 3 via the reception circuit 17. . When the re-transmission mode switch 15 is operated and is “ON”, the operation signal for instructing the lifting / lowering operation transmitted based on the input of the ascending operation switch 12 or the descending operation switch 13 as necessary is again displayed. Then, the signal is transmitted from the transmission circuit 16 to the wiring 3.

なお、送信回路16から操作信号を送信開始するために、受信回路17からの受信信号の有無に基づき無信号管理タイマ111を管理(更新)する。具体的には、受信信号有り時は無信号管理タイマ111を「0m秒」にリセットし続け、受信信号が無くなると、「6m秒」になるまでカウントを行う。すなわち、無信号管理タイマ111が「6m秒」未満の場合は送信不可とし、「6m秒」であれば送信可として送信開始処理を行う。   In order to start transmission of the operation signal from the transmission circuit 16, the no-signal management timer 111 is managed (updated) based on the presence or absence of the reception signal from the reception circuit 17. Specifically, when there is a received signal, the no-signal management timer 111 is continuously reset to “0 msec”, and when there is no received signal, counting is performed until “6 msec” is reached. That is, when the no-signal management timer 111 is less than “6 milliseconds”, transmission is disabled, and when it is “6 milliseconds”, transmission is started as transmission is possible.

ここで、「0m秒」リセットは、6m秒未満となる1文字受信毎(9600bpsでは、約1m秒毎)に実施している。そして、無信号管理タイマ111を操作信号の送信可否判断のみに使用することから、信号受信中の「0m秒」リセットについては、送信可判断時間となる「6m秒」になるまでにリセットを行えば問題ない。したがって、本実施の形態では、無信号管理タイマ111のカウント処理については受信信号有無に関係なく0.5m秒毎に常に実施している。   Here, the “0 msec” reset is performed every time one character is received that is less than 6 msec (about 1 msec at 9600 bps). Since the no-signal management timer 111 is used only to determine whether or not the operation signal can be transmitted, the “0 msec” reset during signal reception is reset until “6 msec” which is the transmission enable determination time. There is no problem. Therefore, in this embodiment, the count processing of the no-signal management timer 111 is always performed every 0.5 milliseconds regardless of the presence or absence of the received signal.

また、必要に応じて操作信号を再送信するために、再送信モードスイッチ15が「入」である場合には、上昇の操作信号または下降の操作信号の送信時には再送信管理タイマ112をONとするとともに、カウントを開始する。   Further, in order to retransmit the operation signal as necessary, when the retransmission mode switch 15 is “ON”, the retransmission management timer 112 is set to ON when the rising operation signal or the falling operation signal is transmitted. And start counting.

また、受信回路17からの受信信号が回答信号である場合には、ブラインド装置の個別番号毎に回答信号に含まれる高さ情報である「上限」、「下限」、あるいは「中間」のデータをブラインド装置管理テーブル113に格納する。   When the received signal from the receiving circuit 17 is a response signal, the “upper limit”, “lower limit”, or “intermediate” data, which is height information included in the response signal for each individual number of the blind device, is stored. Store in the blind device management table 113.

なお、昇降中に送信される無信号管理タイマ111、211(後述)のリセットを目的とした回答信号のデータは「動作中」を示すが、回答信号のデータが「動作中」を指す場合には、ブラインド装置管理テーブル113に値は格納されない(更新されない)。   Note that the response signal data for resetting the no-signal management timers 111 and 211 (described later) transmitted during ascending / descending indicates “in operation”, but the response signal data indicates “in operation”. In the blind device management table 113, no value is stored (not updated).

そして、上述の再送信管理タイマ112が予め設定されている時間を経過してカウントアップしている場合において、上昇の操作信号を送信した場合には、ブラインド装置管理テーブル113を検索して、各ブラインド装置の個別番号に対応して格納された高さ情報が「上限」を指すかを検知し、下降の操作信号を送信した場合には「下限」を指すかを検知する。通常は、正常に昇降動作が行われれば上昇の操作信号を送信した場合には全ブラインド装置が「上限」を指し、同様に下降の操作信号を送信した場合には「下限」を指すが、検知結果、1台でも異なった高さ情報を指している場合には、上昇または下降の操作信号を再送信する。   Then, when the above-mentioned retransmission management timer 112 has counted up after a preset time, when a rising operation signal is transmitted, the blind device management table 113 is searched, It is detected whether the height information stored corresponding to the individual number of the blind device indicates the “upper limit”, and when a lowering operation signal is transmitted, it is detected whether it indicates the “lower limit”. Normally, if the raising / lowering operation is performed normally, all the blind devices indicate the “upper limit” when transmitting the raising operation signal, and similarly the “lower limit” when sending the lowering operation signal, If even one unit indicates different height information, an up or down operation signal is retransmitted.

図3には、コントロール装置1の機能構成が示される。コントロール装置1は、CPU18の制御の下に送受信処理を制御および実行するために、送信管理処理部50、0.5m秒タイマ割込処理部51、1文字受信割込処理部52、再送信制御部53および送信開始部54を備える。   FIG. 3 shows a functional configuration of the control device 1. The control device 1 controls and executes a transmission / reception process under the control of the CPU 18, so that a transmission management processing unit 50, a 0.5 msec timer interrupt processing unit 51, a one character reception interrupt processing unit 52, a retransmission control A unit 53 and a transmission start unit 54 are provided.

コントロール装置1は、さらに、上昇操作スイッチ12、下降操作スイッチ13、停止操作スイッチ14および再送信モードスイッチ15から与えられる操作に応じた信号を入力し、入力した信号に基づき操作されたスイッチの種別を判別するスイッチ判別部56を含む操作入力部55を備える。さらに、コントロール装置1は、送信回路16を介して送信するべき信号を生成し、生成した信号を送信のためにセットする送信セット部571を含む信号生成部57を備える。また、受信回路17を介して信号を受信したか否かを検知する信号検知部581を有し、受信した信号を解析する信号解析部58を備える。   The control device 1 further inputs a signal corresponding to the operation given from the ascending operation switch 12, the descending operation switch 13, the stop operation switch 14 and the retransmission mode switch 15, and the type of the switch operated based on the input signal. An operation input unit 55 including a switch determination unit 56 for determining the above is provided. Further, the control device 1 includes a signal generation unit 57 including a transmission set unit 571 that generates a signal to be transmitted via the transmission circuit 16 and sets the generated signal for transmission. Moreover, it has the signal detection part 581 which detects whether the signal was received via the receiving circuit 17, and is provided with the signal analysis part 58 which analyzes the received signal.

さらにコントロール装置1は、無信号管理タイマ111を更新するための無信号管理タイマ更新部59および再送信管理タイマ112を更新するための再送信管理タイマ更新部60、およびブラインド装置管理テーブル113の管理(書込(更新)および読出(検索))をするためのテーブル管理部61を備える。   Further, the control device 1 manages the no-signal management timer update unit 59 for updating the no-signal management timer 111, the retransmission management timer update unit 60 for updating the retransmission management timer 112, and the blind device management table 113. A table management unit 61 for performing (write (update) and read (search)) is provided.

信号検知部581は配線3の信号レベルを検知し、検知結果に基づき、配線3における伝送信号の有無を検知する。具体的には、RS485通信の場合、無信号時の配線3の信号レベルは「1」となっている。そして、一般的に採用されている調和同期方式の場合、スタートビット(信号レベル「0」)を含めデータ(通常は8ビット)、パリティビットに信号レベル「0」が含まれる。すなわち、信号検知部581は配線3の信号レベル「0」を検知して、それをスタートビットと判断し、1データ(文字)受信することになる(9600bpsの場合、約1m秒となる)。受信する間は「信号有り」と検知する。   The signal detector 581 detects the signal level of the wiring 3 and detects the presence or absence of a transmission signal in the wiring 3 based on the detection result. Specifically, in the case of RS485 communication, the signal level of the wiring 3 when there is no signal is “1”. In the case of a harmonized synchronization method that is generally adopted, data (usually 8 bits) including a start bit (signal level “0”) and a signal level “0” are included in parity bits. That is, the signal detection unit 581 detects the signal level “0” of the wiring 3, determines that it is a start bit, and receives one data (character) (in the case of 9600 bps, it is about 1 msec). While receiving, it detects that “signal present”.

図3の各部の全部または一部はCPU18の制御の元に実行されるプログラムにより実現される。   All or part of each unit in FIG. 3 is realized by a program executed under the control of the CPU 18.

図4は図1のブラインド装置2の概略ブロック図である。本実施の形態に係るブラインド装置2は共通の構成を有する。ブラインド装置2に相当するブラインド装置2a〜2eのそれぞれは、マイクロコンピュータ21、個別番号が外部操作により設定される個別番号スイッチ22、上限スイッチ23、下限スイッチ24、駆動回路25、送信回路26および受信回路27を備える。マイクロコンピュータ21に他の各スイッチ22〜24、駆動回路25、送信回路26および受信回路27が接続している。そして、送信回路26および受信回路27は配線3にも接続される。上限スイッチ23と下限スイッチ24はブラインドの昇降範囲の上限/下限にまでブラインドの昇降が行なわれたことを検出するスイッチである。   FIG. 4 is a schematic block diagram of the blind device 2 of FIG. The blind device 2 according to the present embodiment has a common configuration. Each of the blind devices 2a to 2e corresponding to the blind device 2 includes a microcomputer 21, an individual number switch 22, an individual number set by an external operation, an upper limit switch 23, a lower limit switch 24, a drive circuit 25, a transmission circuit 26, and a reception. A circuit 27 is provided. Other switches 22 to 24, a drive circuit 25, a transmission circuit 26 and a reception circuit 27 are connected to the microcomputer 21. The transmission circuit 26 and the reception circuit 27 are also connected to the wiring 3. The upper limit switch 23 and the lower limit switch 24 are switches that detect that the blind has been lifted up to the upper limit / lower limit of the blind lift range.

また、マイクロコンピュータ21はCPU28およびRAM29を含む。RAM29には、無信号管理タイマ211、無信号管理カウンタ212および初回回答個別番号レジスタ213の領域が定義されている。マイクロコンピュータ21は図示しないがクロックを有し、当該クロックから出力されるクロック信号に同期して無信号管理タイマ211の計時値が更新される。   The microcomputer 21 includes a CPU 28 and a RAM 29. In the RAM 29, areas of a no-signal management timer 211, a no-signal management counter 212, and an initial response individual number register 213 are defined. Although not shown, the microcomputer 21 has a clock, and the time value of the no-signal management timer 211 is updated in synchronization with the clock signal output from the clock.

マイクロコンピュータ21は、受信回路27から上昇の操作信号を受信すれば、駆動回路25を介して図示のないブラインドの上昇動作を行い、下降の操作信号を受信すれば駆動回路25を介して下降動作を行い、停止の操作信号を受信すれば駆動回路25を介しての上昇あるいは下降動作を終了(停止)する。また、上昇動作中に上限スイッチ23が「ON」となれば上昇動作を、下降動作中に下限スイッチ24が「ON」となれば下降動作を、それぞれ終了(停止)させる。   When the microcomputer 21 receives an ascending operation signal from the receiving circuit 27, the microcomputer 21 performs an ascending operation of a blind (not shown) via the drive circuit 25, and when receiving a descending operation signal, the microcomputer 21 descends via the drive circuit 25. If the stop operation signal is received, the ascending or descending operation via the drive circuit 25 is finished (stopped). If the upper limit switch 23 is “ON” during the ascending operation, the ascending operation is terminated (stopped), and if the lower limit switch 24 is “ON” during the descending operation, the descending operation is terminated (stopped).

そして、昇降動作を終了した場合、すなわち高さに変化があった場合には回答信号を生成して送信回路26から送信する。具体的には、上限スイッチ23または下限スイッチ24からの入力に基づき、上限スイッチ23からの入力が「ON」を指示する場合は「上限」を、下限スイッチ24からの入力が「ON」を指示する場合は「下限」を、いずれのスイッチの入力も「OFF」を指示する場合は「中間」を、すなわち「上限」、「下限」、「中間」のいずれかを指示する高さ情報と、個別番号スイッチ22の個別番号データとからなる回答信号を生成して送信回路26から送信する。   When the lifting / lowering operation is completed, that is, when there is a change in height, an answer signal is generated and transmitted from the transmission circuit 26. Specifically, based on the input from the upper limit switch 23 or the lower limit switch 24, when the input from the upper limit switch 23 indicates “ON”, “upper limit” is indicated, and the input from the lower limit switch 24 indicates “ON”. "Lower" if you want to do, "Intermediate" if you want to indicate "OFF" for any switch input, that is, height information that indicates "Upper limit", "Lower limit", "Middle", An answer signal composed of the individual number data of the individual number switch 22 is generated and transmitted from the transmission circuit 26.

また、送信回路26から回答信号を混信することなく送信開始するために、受信回路27からの受信信号有無の検知結果に基づき無信号管理タイマ211および無信号管理カウンタ212の値を更新する。具体的には、受信信号有りの時は無信号管理タイマ211および無信号管理カウンタ212を「0m秒」および「0」にリセットし続け、受信信号が無くなると、「0.5m秒」毎に無信号管理タイマ211のカウントを開始する。そして、カウント結果、無信号管理タイマ211のタイマ値が「517.5m秒」を指示した場合、すなわち518m秒となったことが検知された場合には、次のカウント値を「8m秒」として、受信信号有りと検知される時まで「8m秒」と「517.5m秒」との間を0.5m秒毎に繰り返しカウントするとともに、無信号管理カウンタ212を「+1」する。   Further, in order to start transmission without interfering with the answer signal from the transmission circuit 26, the values of the no-signal management timer 211 and the no-signal management counter 212 are updated based on the detection result of the presence / absence of the reception signal from the reception circuit 27. Specifically, when there is a received signal, the no-signal management timer 211 and the no-signal management counter 212 are continuously reset to “0 ms” and “0”, and when there is no received signal, every “0.5 ms” The no-signal management timer 211 starts counting. When the timer value of the no-signal management timer 211 indicates “517.5 msec” as a result of the count, that is, when it is detected that the timer value has reached 518 msec, the next count value is set to “8 msec”. Until the time when it is detected that a received signal is present, the interval between “8 ms” and “517.5 ms” is repeatedly counted every 0.5 ms, and the no-signal management counter 212 is incremented by “+1”.

上述の「0m秒」および「0」リセットは、8m秒未満となる1文字受信毎(9600bpsでは、約1m秒毎)のマイクロコンピュータ21に内蔵されている1文字受信時割込処理部52にて実施している。そして、無信号管理タイマ211を送信可否判断のみに使用することから、受信信号有りが連続して検知される時の「0m秒」リセットについては、送信可判断時間となる「8m秒」になるまでにリセットを行えば問題ないことから、本実施の形態では、無信号管理タイマ211のカウント処理については受信信号有無に関係なく0.5m秒毎に常に実施している。   The above-described “0 ms” and “0” reset is performed on the one character reception interrupt processing unit 52 built in the microcomputer 21 for each character reception (approximately 1 ms for 9600 bps) that is less than 8 ms. It is carried out. Since the no-signal management timer 211 is used only for transmission permission / inhibition determination, “0 msec” reset when the presence of a reception signal is continuously detected becomes “8 msec” as the transmission permission determination time. In this embodiment, the count processing of the no-signal management timer 211 is always performed every 0.5 milliseconds regardless of the presence or absence of the received signal.

なお、無信号管理タイマ211の0.5m秒毎のカウント処理は、各ブラインド装置2a〜2e間では非同期であることから、各ブラインド装置2a〜2eが「8m秒」となるタイミングは0.5m秒の幅を持つこととなる。すなわち、ブラインドシステムにおいては無信号管理タイマ211のばらつきは0.5m秒の幅を持つこととなる。   Note that the count processing every 0.5 ms of the no-signal management timer 211 is asynchronous between the blind devices 2a to 2e, so the timing when each blind device 2a to 2e becomes “8 ms” is 0.5 m. It will have a width of seconds. That is, in the blind system, the variation of the no-signal management timer 211 has a width of 0.5 milliseconds.

また、受信回路27からの受信信号が回答信号である場合には、回答信号に含まれる個別番号値(「1」〜「255」)を「+1」した次位の値を初回回答個別番号レジスタ213に格納することにより、初回回答個別番号レジスタ213の値を更新する。なお、回答信号に含まれる個別番号値が最大の「255」であった場合には、「+1」した「256」ではなく最小の「1」を格納することにより、初回回答個別番号レジスタ213の値を更新する。すなわち、初回回答個別番号レジスタ213には「1」から「255」のいずれかの値が格納される。また、上述の操作信号を受信した場合には、初回回答個別番号レジスタ213に「1」の値を格納する。なお、受信信号の解読および初回回答個別番号レジスタ213への値の格納は、回答信号の実送信開始セットまでの、無信号管理タイマ211が受信完了時の「0m秒」から「8m秒」になるまでにおいて処理している。   When the received signal from the receiving circuit 27 is a response signal, the next value obtained by adding “+1” to the individual number value (“1” to “255”) included in the response signal is used as the initial response individual number register. By storing in 213, the value of the initial reply individual number register 213 is updated. If the individual number value included in the response signal is the maximum “255”, the minimum “1” is stored instead of “+1” “256”, thereby storing the initial response individual number register 213. Update the value. That is, the first response individual number register 213 stores any value from “1” to “255”. When the above-described operation signal is received, the value “1” is stored in the initial response individual number register 213. The decoding of the received signal and the storage of the value in the initial response individual number register 213 are changed from “0 ms” to “8 ms” when the no-signal management timer 211 completes the reception until the actual transmission start set of the response signal. It is processing until it becomes.

なお、上述の回答信号を送信開始する場合、無信号管理タイマ211のタイマ値と初回回答個別番号レジスタ213の値に基づき、送信可能の是非を判断する。送信可能と判断されるまでは回答信号の送信を待機させている。なお、無信号管理タイマ211のタイマ値が「8m秒」未満を指示する時は伝送路(配線3)にコントロール装置1からの信号が伝送される可能性があると判定し送信不可と判断し、「8m秒」以上を指す時は配線3に伝送信号が無いと判定し送信可否の判断を開始する。   When transmission of the above-described answer signal is started, whether or not transmission is possible is determined based on the timer value of the no-signal management timer 211 and the value of the initial answer individual number register 213. Until it is determined that transmission is possible, transmission of an answer signal is kept waiting. When the timer value of the no-signal management timer 211 indicates less than “8 milliseconds”, it is determined that the signal from the control device 1 may be transmitted to the transmission path (wiring 3), and it is determined that transmission is impossible. When “8 ms” or more is indicated, it is determined that there is no transmission signal on the wiring 3 and the determination of whether or not transmission is possible is started.

送信可否判別は、次の判別式に従い行う。
(タイマ値[8〜517.5]−8)/2+初回回答個別番号値[1〜255]
上述の判別式に従えば、受信信号が操作信号である場合において初回回答個別番号レジスタ213の初回回答個別番号値が「1」を指示する場合には、送信可否の判別は以下のようになる。
The transmission permission / inhibition determination is performed according to the following determination formula.
(Timer value [8 to 517.5] −8) / 2 + Initial response individual number value [1 to 255]
According to the above discriminant, if the initial response individual number value in the initial response individual number register 213 indicates “1” when the received signal is an operation signal, the determination of whether transmission is possible is as follows. .

タイマ値:8→1(個別番号「1」回答開始タイミング)、タイマ値:8.5→1.25、タイマ値:9→1.5、タイマ値:9.5→1.75、タイマ値:10→2(個別番号「2」回答開始タイミング)、タイマ値:10.5→2.25、タイマ値:11→2.5、タイマ値:11.5→2.75、タイマ値:12→3(個別番号「3」回答開始タイミング)・・・、タイマ値:516→255(個別番号「255」回答開始タイミング)、タイマ値:516.5→255.25、タイマ値:517→255.5、タイマ値:517.5→255.75となる。   Timer value: 8 → 1 (individual number “1” reply start timing), timer value: 8.5 → 1.25, timer value: 9 → 1.5, timer value: 9.5 → 1.75, timer value : 10 → 2 (individual number “2” reply start timing), timer value: 10.5 → 2.25, timer value: 11 → 2.5, timer value: 11.5 → 2.75, timer value: 12 → 3 (Individual number “3” reply start timing)..., Timer value: 516 → 255 (individual number “255” reply start timing), timer value: 516.5 → 255.25, timer value: 517 → 255 .5, timer value: 517.5 → 255.75.

このように、判別式に従う計算結果値に剰余値がなく、計算結果値が個別番号スイッチ22の個別番号と一致した場合に、当該個別番号が割当てられた1台のブラインド装置のみが送信可能とされる。すなわち、タイマ値が8m秒となれば、個別番号「1」のブラインド装置2aが、10m秒となれば次位の個別番号「2」のブラインド装置2bが、12m秒となれば次位の個別番号「3」のブラインド装置2cが、そして516m秒となれば個別番号「255」のブラインド装置2eが、送信可能となる。このように、初回回答個別番号レジスタ213の個別番号が割当てられたブラインド装置(本実施の形態の場合はブラインド装置2a)から2m秒毎に個別番号の昇順に従い各ブラインド装置は順次回答信号を送信可能となっている。ここで、各ブラインド装置には2m秒の回答信号の送信可能期間を割当てることができるが、実際には2m秒の全期間ではなく最初の0.5m秒という1/4の期間を回答を送信すべき期間(タイミング)に限定している。これによって、各ブラインド装置の間で無信号管理タイマ211の計時時間にずれが生じたとしても、隣合うブラインド装置同士の回答信号の送信タイミングが重なり混信するのを回避することができる。   Thus, when there is no remainder value in the calculation result value according to the discriminant and the calculation result value matches the individual number of the individual number switch 22, only one blind device to which the individual number is assigned can transmit. Is done. That is, if the timer value is 8 milliseconds, the blind device 2a having the individual number “1” is 10 milliseconds, the blind device 2b having the next individual number “2” is 12 milliseconds, and the next individual device “2” is 12 milliseconds. The blind device 2c with the number “3” can be transmitted, and the blind device 2e with the individual number “255” can be transmitted at 516 msec. In this way, each blind device sequentially transmits a response signal in ascending order of the individual number every 2 milliseconds from the blind device to which the individual number of the initial response individual number register 213 is assigned (the blind device 2a in this embodiment). It is possible. Here, each blind device can be assigned a response signal transmission period of 2 msec, but in actuality, the response is transmitted in the first 1/4 msec period, not the entire msec period of 2 msec. It is limited to the time period (timing). As a result, even if there is a difference in the time measured by the no-signal management timer 211 between the blind devices, it is possible to avoid interference between the transmission timings of the answer signals between the adjacent blind devices.

また、上述したように無信号管理タイマ211は「8m秒」と「517.5m秒」との間を繰り返し計時していることから、516m秒の次の2m秒後は上述の8m秒となり、個別番号「1」のブラインド装置2aが送信可能となる。すなわち、無信号状態が続いている場合においては各ブラインド装置に対する送信可能タイミングは510m秒毎に繰り返し訪れることとなる。   In addition, as described above, the no-signal management timer 211 repeatedly counts between “8 ms” and “517.5 ms”, so that after the next 2 ms after 516 ms, the above-mentioned 8 ms is reached. The blind device 2a having the individual number “1” can be transmitted. That is, when the no-signal state continues, the transmission possible timing for each blind device is repeatedly visited every 510 msec.

なお、初回回答個別番号レジスタ213の値が上述の「1」ではなく「2」〜「255」のいずれかを指示している場合には、上述の判別式から理解できるように、受信完了後の無信号管理タイマ211のタイマ値「8m秒」時からは、初回回答個別番号レジスタ213の値を個別番号とするブラインド装置2a〜2eから回答開始の順番がくることになる。   When the value of the initial reply individual number register 213 indicates any one of “2” to “255” instead of “1” described above, it can be understood from the above discriminant that after completion of reception. From the time when the timer value of the no-signal management timer 211 is “8 milliseconds”, the response start order comes from the blind devices 2a to 2e that use the value of the initial response individual number register 213 as the individual number.

また、判別式に従う計算結果値も「255」を超える場合が発生するが、その場合は計算結果値から「255」を引いた値を計算結果値とする。すなわち、計算結果値は、無信号管理タイマ211の値が8m秒以上となれば、初回回答個別番号レジスタ213の値から始まって、最大値の「255」、そして次は「1」となり、それ以降は「1」と「255」の間を繰り返すこととなる。   Also, the calculation result value according to the discriminant may exceed “255”. In this case, a value obtained by subtracting “255” from the calculation result value is set as the calculation result value. That is, if the value of the no-signal management timer 211 is 8 milliseconds or more, the calculation result value starts from the value of the initial response individual number register 213, becomes the maximum value “255”, and then becomes “1”. Thereafter, the interval between “1” and “255” is repeated.

また、無信号管理タイマ211は0.5m秒毎にカウントしていることから、送信可能タイミングが訪れた時の各ブラインド装置2a〜2eの送信可能期間はともに「0.5m秒間」となっており、各ブラインド装置2a〜2eの送信可能タイミング間の「1.5m秒間」は全ブラインド装置が送信不可となっている。なお、各ブラインド装置2a〜2eの無信号管理タイマ211は上述したように0.5m秒幅のばらつきを持っていることから、ブラインドシステムの全ブランド装置の送信不可タイミングは少なくとも「1.0m秒間」あることとなり、各ブラインド装置2a〜2eの0.5m秒タイマの精度が同一であれば、複数の(2台以上の)ブラインド装置が同時に送信可タイミングとなることはない。   Further, since the no-signal management timer 211 counts every 0.5 milliseconds, the transmission possible periods of the blind devices 2a to 2e when the transmission possible timing comes are both "0.5 milliseconds". In addition, all the blind devices cannot transmit during “1.5 milliseconds” between the transmission possible timings of the blind devices 2a to 2e. Since the no-signal management timer 211 of each blind device 2a to 2e has a variation of 0.5 ms as described above, the transmission disable timing of all brand devices of the blind system is at least “1.0 ms. As long as the accuracy of the 0.5 msec timer of each of the blind devices 2a to 2e is the same, a plurality of (two or more) blind devices will not be ready for transmission at the same time.

しかし、経過時間が大きくなればなるほど、各ブラインド装置2a〜2e間のタイマずれは蓄積されていくことになり、上述の全ブラインド装置の送信不可タイミングについても「1.0m秒間」から「0」となり、そして逆転、すなわち混信する可能性が発生することになる。   However, as the elapsed time increases, the timer deviation between the blind devices 2a to 2e is accumulated, and the transmission impossible timing of all the blind devices described above is also “0” from “1.0 msec”. Then, the possibility of reversal, that is, interference will occur.

これを防止するために、全ブラインド装置送信不可タイミングが「0」となるまでにダミーの信号を配線3に送信して、コントロール装置1および各ブラインド装置2a〜2eにおいて上述した信号受信時の無信号管理タイマ111および211の「0」リセットを行わせている。   In order to prevent this, a dummy signal is transmitted to the wiring 3 until the all-blind device transmission impossibility timing becomes “0”, and the control device 1 and each of the blind devices 2a to 2e receive no signal at the time of the signal reception described above. The signal management timers 111 and 211 are reset to “0”.

すなわち、停止時には、回答信号を送信することとなる昇降動作中に無信号時間が上述の全ブラインド装置送信不可タイミングが「0」に至らないことを考慮した一定の時間(本実施の形態では35秒)経過すれば回答信号を送信セットする。なお、その場合の回答信号を構成する高さ情報は上述の停止時の「上限」、「下限」、「中間」ではなく、「動作中」を指示するものとしている。上述したコントロール装置1におけるブラインド装置管理テーブル113の更新時には、「動作中」の回答信号を受信した場合には更新をしないようにする。すなわち、「動作中」を指示する高さ情報からなるダミー信号としての回答信号は、無信号管理タイマ111および211のリセットのみを目的としている。   That is, at the time of stoppage, a fixed time (35 in the present embodiment) in consideration that the above-mentioned all-blind device transmission impossibility timing does not reach “0” during the ascending / descending operation for transmitting an answer signal. Seconds), the answer signal is transmitted and set. In this case, the height information constituting the answer signal indicates “in operation” instead of the “upper limit”, “lower limit”, and “intermediate” at the time of stopping. At the time of updating the blind device management table 113 in the control device 1 described above, the update is not performed when the response signal “in operation” is received. That is, the answer signal as a dummy signal composed of height information instructing “in operation” is intended only for resetting the no-signal management timers 111 and 211.

なお、ブラインド装置2a〜2eの全機器が回答セットを行うが、全機器が送信する必要はなく、1台からの送信で十分であることから、回答セットしている時に回答信号を受信した時、昇降動作中であった場合にはその回答セットをリセットしている。   In addition, although all the devices of the blind devices 2a to 2e perform the answer set, it is not necessary for all the devices to transmit, and transmission from one unit is sufficient, so when the answer signal is received when the answer is set If it is moving up and down, the answer set is reset.

図5には、本実施の形態に係るブラインド装置2の機能構成が示される。ブラインド装置2に相当する各ブラインド装置2a〜2eは同様な機能構成を有している。   FIG. 5 shows a functional configuration of the blind device 2 according to the present embodiment. The blind devices 2a to 2e corresponding to the blind device 2 have the same functional configuration.

図5を参照してブラインド装置2は、ブラインド302の昇降動作による開閉機構を実現するためのブラインド部30、信号の送信および受信を制御するための0.5m秒タイマ割込部31、1文字受信時割込処理部32、送信可否判別部33、受信信号解読処理部34を備える。ブラインド部30はブラインド302に昇降動作を行なわせるための駆動回路25、昇降動作によりブラインド302が昇降範囲の上限にまで上昇したこと、および下限にまで下降したことを検知する上限スイッチ23および下限スイッチ24からなる昇降スイッチ部301を含む。   Referring to FIG. 5, blind device 2 includes blind unit 30 for realizing an opening / closing mechanism by raising / lowering operation of blind 302, 0.5 msec timer interrupt unit 31 for controlling signal transmission and reception, and one character A reception interrupt processing unit 32, a transmission permission / inhibition determination unit 33, and a received signal decoding processing unit 34 are provided. The blind unit 30 has a drive circuit 25 for causing the blind 302 to move up and down, an upper limit switch 23 and a lower limit switch for detecting that the blind 302 has been raised to the upper limit of the lift range and lowered to the lower limit by the lift operation. 24, the up / down switch section 301 is included.

さらに、ブラインド装置2は、昇降動作を管理するための昇降動作中管理処理部35を備える。また、個別番号スイッチ22によって与えられる個別番号のデータを入力するための個別番号入力部36を備える。   Furthermore, the blind device 2 includes an up / down operation management processing unit 35 for managing the up / down operation. Further, an individual number input unit 36 for inputting individual number data given by the individual number switch 22 is provided.

さらにブラインド装置2は、送信回路26を介して配線3に送信すべき信号を生成するための送信セット部371を有する信号生成部37、受信回路27を介して配線3から受信した信号を検知し、受信信号が検知された場合に受信信号を解析する信号検知部381を備える信号解析部38、無信号管理タイマ211を更新するための無信号管理タイマ更新部39、無信号管理カウンタ212の値を更新するための無信号管理カウンタ更新部40および初回回答個別番号レジスタ213の値を更新する個別番号レジスタ更新部41を備える。   Further, the blind device 2 detects a signal received from the wiring 3 via the signal generation unit 37 having a transmission setting unit 371 for generating a signal to be transmitted to the wiring 3 via the transmission circuit 26 and the reception circuit 27. The values of the signal analysis unit 38 including the signal detection unit 381 for analyzing the reception signal when the reception signal is detected, the no-signal management timer update unit 39 for updating the no-signal management timer 211, and the no-signal management counter 212 Are provided with a no-signal management counter updating unit 40 for updating and an individual number register updating unit 41 for updating the value of the initial response individual number register 213.

図5の各部の全部または一部はCPU28の制御の元に実行されるプログラムにより実現される。   All or part of each unit in FIG. 5 is realized by a program executed under the control of the CPU 28.

ここで、図6を参照して、本実施の形態に係る操作信号および回答信号の構成について説明する。図6(A)を参照して操作信号はヘッダ部およびボディ部からなる。ヘッダ部には、当該信号が操作信号であることの信号種別を示すデータ(“OP”)71が格納され、ボディ部には、操作による指示内容を示す操作指示72が格納される。操作指示は‘上昇’、‘下降’および‘停止’のいずれかを指す。なお、操作信号には一般的には操作対象となる「機器指定」(グループ番号、個別番号、または個別番号範囲など)のデータが含まれることとなるが、説明を簡単にするために本実施の形態では「全機器指定に限定し」、「機器指定」のデータは省略している。   Here, with reference to FIG. 6, the configuration of the operation signal and the answer signal according to the present embodiment will be described. Referring to FIG. 6A, the operation signal is composed of a header part and a body part. The header portion stores data (“OP”) 71 indicating a signal type indicating that the signal is an operation signal, and the body portion stores an operation instruction 72 indicating an instruction content by operation. The operation instruction indicates one of ‘up’, ‘down’ and ‘stop’. Note that the operation signal generally includes data for “device designation” (group number, individual number, or individual number range, etc.) to be operated. In this form, “limited to all device designation” and “device designation” data are omitted.

図6(B)を参照して回答信号は、ヘッダ部およびボディ部からなる。ヘッダ部には、当該信号が回答信号であることの信号種別を示すデータ(“ANS”)81が格納され、ボディ部には、当該回答信号の送信元のブラインド装置を一意に識別するための個別番号のデータ82および高さ情報83が格納される。高さ情報83は通常はブラインド装置2の昇降動作の状態を指す現在のブラインド302の高さ(上限、下限、中間)の別を示す。なお、高さ情報83は上述したように回答信号がダミー送信となる場合には‘動作中’を指すことになる。   Referring to FIG. 6B, the answer signal is composed of a header part and a body part. The header portion stores data (“ANS”) 81 indicating the signal type that the signal is an answer signal, and the body portion uniquely identifies the blind device that is the source of the answer signal. Individual number data 82 and height information 83 are stored. The height information 83 indicates a different height (upper limit, lower limit, middle) of the current blind 302 that normally indicates the state of the lifting / lowering operation of the blind device 2. Note that the height information 83 indicates “in operation” when the answer signal is a dummy transmission as described above.

図7には、本実施の形態に係るブラインド装置管理テーブル113の内容例が示される。図7を参照してブラインド装置管理テーブル113には、配線3に接続可能な最大255台のブラインド装置のそれぞれについて、その個別番号(1〜255)と、高さ情報とを対応付けて格納することができる。   FIG. 7 shows a content example of the blind device management table 113 according to the present embodiment. Referring to FIG. 7, in blind device management table 113, individual numbers (1 to 255) and height information are stored in association with each of up to 255 blind devices connectable to wiring 3. be able to.

実際には、配線3に接続されているブラインド装置のそれぞれに割当てられた個別番号に対応する領域に、当該ブラインド装置から受信した回答信号の高さ情報(上限、下限、中間のいずれかの値)が格納される。図7のブラインド装置管理テーブル113に登録されている個別番号のデータのうち、当該データで示される個別番号が割当てられたブラインド装置が配線3に接続されていない場合には、対応する高さ情報の値には“−”が予め格納される。‘−’は対応する個別番号のブラインド装置が配線3に接続されていないことを指示する。図7のブラインド装置管理テーブル113において、データ“−”は、初期設定されると想定する。   Actually, in the area corresponding to the individual number assigned to each of the blind devices connected to the wiring 3, the height information (an upper limit, lower limit, or intermediate value) of the answer signal received from the blind device. ) Is stored. Of the individual number data registered in the blind device management table 113 of FIG. 7, if the blind device to which the individual number indicated by the data is assigned is not connected to the wiring 3, the corresponding height information The value of “−” is stored in advance. '-' Indicates that the blind device with the corresponding individual number is not connected to the wiring 3. In the blind device management table 113 of FIG. 7, it is assumed that the data “−” is initialized.

図8は、コントロール装置1の送信管理処理部50のメインルーチンを指すフローチャートであり、図9はコントロール装置1の0.5m秒タイマ割込処理部51のルーチンを指すフローチャートである。次に図1、図2、図3、図8および図9を参照してコントロール装置1の動作を説明する。   FIG. 8 is a flowchart showing a main routine of the transmission management processing unit 50 of the control device 1, and FIG. 9 is a flowchart showing a routine of the 0.5 msec timer interrupt processing unit 51 of the control device 1. Next, the operation of the control device 1 will be described with reference to FIGS. 1, 2, 3, 8 and 9.

操作スイッチ12〜14のいずれかが操作されると、ステップS1(以下、ステップは省略する)にて操作入力部55は操作スイッチ入力「有」と判別し、S2にてスイッチ判別部56は操作スイッチの種別を判別する。信号生成部57は、スイッチ判別部56の判別結果に基づき、上昇操作スイッチ12と判別された場合にはS8にて信号生成部57は操作信号72が‘上昇操作’を指す操作信号を生成し、送信セット部571は生成した信号を送信セットする。同様にして、下降操作スイッチ13と判別された場合にはS9にて信号生成部57は操作信号72が‘下降操作’を指す操作信号を生成し、送信セット部571は生成した信号を送信セットする。停止操作スイッチ14と判別された場合にはS10にて信号生成部57は操作信号72が‘停止操作’を指す操作信号を生成し、送信セット部571は生成した操作信号を送信セットする。   When any one of the operation switches 12 to 14 is operated, the operation input unit 55 determines that the operation switch input is “present” in step S1 (hereinafter, step is omitted), and the switch determination unit 56 operates in step S2. Determine the type of switch. Based on the determination result of the switch determination unit 56, the signal generation unit 57 generates an operation signal in which the operation signal 72 indicates the “ascending operation” in S8 when it is determined that the operation switch 12 is the rising operation switch 12. The transmission set unit 571 transmits and sets the generated signal. Similarly, when it is determined that the switch is the lowering operation switch 13, in S <b> 9, the signal generation unit 57 generates an operation signal in which the operation signal 72 indicates “down operation”, and the transmission set unit 571 transmits the generated signal to the transmission set. To do. If the stop operation switch 14 is determined, the signal generation unit 57 generates an operation signal indicating that the operation signal 72 indicates “stop operation” in S10, and the transmission setting unit 571 transmits and sets the generated operation signal.

ここで、「操作信号を送信セットする」とは、送信セット部571が、RAM19の所定領域である「送信信号バッファ」(図示せず)に操作信号を格納するとともに、RAM19に予め格納された「送信セットフラグ」(図示せず)をセット(たとえば‘1’に更新)することを指す。「送信信号バッファ」の操作信号が読出されて送信回路16を介して送信されると、送信セット部571は「送信セットフラグ」をリセット(たとえば‘0’に更新)する。また、「操作信号を再送信セットする」とは、送信セット部571が、「送信信号バッファ」に格納されている操作信号を再度送信するために、「送信セットフラグ」をセット(‘0’から‘1’に更新)することを指す。   Here, “transmission set operation signal” means that the transmission set unit 571 stores the operation signal in a “transmission signal buffer” (not shown), which is a predetermined area of the RAM 19, and is stored in the RAM 19 in advance. This indicates that a “transmission set flag” (not shown) is set (for example, updated to “1”). When the operation signal of the “transmission signal buffer” is read and transmitted via the transmission circuit 16, the transmission set unit 571 resets the “transmission set flag” (for example, updates to “0”). “Reset operation signal” means that the transmission set unit 571 sets a “transmission set flag” (“0”) so that the operation signal stored in the “transmission signal buffer” is transmitted again. To "1").

そして、「上昇」または「下降」の操作信号が送信セットされた場合には、S13にて操作入力部55は再送信モードスイッチ15からの入力の判別を行う。判別結果に基づき、「入」と操作されていると判別するとS14にて、再送信管理タイマ更新部60は再送信管理タイマ112をタイマ値「0」とセットしONする(計時開始させる)。   If the “up” or “down” operation signal is set to be transmitted, the operation input unit 55 determines the input from the retransmission mode switch 15 in S13. If it is determined that “ON” is operated based on the determination result, in S14, the retransmission management timer update unit 60 sets the retransmission management timer 112 to the timer value “0” and turns it on (starts timing).

また、判別結果に基づき、再送信モードスイッチ15が「切」と操作されていると判別した場合には、または停止操作スイッチ14が操作されたと判別した場合には、S15にて再送信管理タイマ更新部60は再送信管理タイマ112をOFFする(計時停止する)。   If it is determined that the retransmission mode switch 15 is operated “OFF” based on the determination result, or if it is determined that the stop operation switch 14 is operated, the retransmission management timer in S15. The update unit 60 turns off the retransmission management timer 112 (stops timing).

すなわち、操作スイッチ12〜14が操作された場合には、操作スイッチの種別に対応する種類の操作信号が送信セットされるとともに、再送信管理タイマ112のONおよびタイマ値「0」セット、あるいはOFFが実施される。   That is, when the operation switches 12 to 14 are operated, an operation signal of a type corresponding to the type of the operation switch is transmitted and set, and the retransmission management timer 112 is turned on and the timer value “0” is set or turned off. Is implemented.

操作スイッチ12〜14が操作されていない場合は、S1にて操作入力「無」と判別された後、再送信管理タイマ更新部60によって再送信管理タイマ112のON(S3)およびカウントアップ(S4)が判別され、ONされていないと判別された場合(S3「No」)、またはON(S3「Yes」)されていてもカウントアップしていないと判別された場合(S4「No」)には、何も処理はされずに次の図示のないメインルーチン処理へ移行する。   If the operation switches 12 to 14 are not operated, it is determined in S1 that the operation input is “none”, and then the retransmission management timer updating unit 60 turns on the retransmission management timer 112 (S3) and counts up (S4). ) Is determined and it is determined that it is not ON (S3 “No”), or when it is determined that it is ON (S3 “Yes”) but is not counting up (S4 “No”). No processing is performed, and the process proceeds to the next main routine processing (not shown).

しかし、再送信管理タイマ112がセットされてカウントアップ(例えば、40秒)していると判別された場合には、S1にて操作スイッチ入力「無」、S3にて再送信管理タイマ112・ON「Yes」、S4にて再送信管理タイマ112タイムアップ「Yes」と判別されて、S5にて再送信制御部53は、送信済みではあるが送信信号バッファにセットされたまま残っている操作信号を判別する。判別結果、操作指示72が「上昇」操作を指示すると検知した場合はS6に移行し、「下降」操作信号を指示すると検知した場合はS7に移行する。   However, if it is determined that the retransmission management timer 112 is set and counting up (for example, 40 seconds), the operation switch input is “NO” at S1, and the retransmission management timer 112 is turned ON at S3. "Yes", the retransmission management timer 112 time-up is determined "Yes" in S4, and in S5, the retransmission control unit 53 transmits the operation signal that has been transmitted but remains set in the transmission signal buffer. Is determined. If it is determined that the operation instruction 72 indicates an “up” operation, the process proceeds to S6, and if it is detected that an “down” operation signal is specified, the process proceeds to S7.

S6では、テーブル管理部61は、ブラインド装置管理テーブル113を検索して格納されている高さ情報を判別する。そして、全てのブラインド装置に対応の高さ情報が「上限」を指示すると判別すると(S6でYes)、S15に移行する。しかし、1台でも「上限」を指示していないと判別すると(S6でNo)、S11にて送信セット部571は上昇操作信号を再送信セットする。その後、S15に移行する。   In S6, the table management unit 61 searches the blind device management table 113 and determines the stored height information. When it is determined that the height information corresponding to all blind devices indicates “upper limit” (Yes in S6), the process proceeds to S15. However, if it is determined that no “upper limit” is instructed (No in S6), the transmission setting unit 571 sets the ascending operation signal again in S11. Thereafter, the process proceeds to S15.

S15においては、再送信管理タイマ更新部60は再送信管理タイマ112をOFFとする。   In S15, the retransmission management timer updating unit 60 turns the retransmission management timer 112 off.

S7では、S6と同様にブラインド装置管理テーブル113の高さ情報が判別される。そして、全てのブラインド装置に対応の高さ情報が「下限」を指示すると判別すると(S7でYes)、S15に移行するが、1台でも「下限」を指示していないと判別すると(S7でNo)、S12にて送信セット部571は下降操作信号を再送信セットした後、S15に移行する。   In S7, the height information of the blind device management table 113 is determined as in S6. If it is determined that the height information corresponding to all the blind devices indicates “lower limit” (Yes in S7), the process proceeds to S15, but if it is determined that even one unit does not indicate “lower limit” (in S7). No), in S12, the transmission setting unit 571 retransmits and sets the descending operation signal, and then proceeds to S15.

その結果、次のS1の処理では、操作スイッチ入力「無」、S3にて再送信管理タイマ112・ONが「No」と判別されて、次に操作スイッチ12〜14が入力されるまで、次のメインルーチン処理へと移行するだけとなる。   As a result, in the next processing of S1, the operation switch input is “no”, the retransmission management timer 112 • ON is determined to be “No” in S3, and the next operation switches 12 to 14 are input next. It will only shift to the main routine processing.

すなわち、S14にて再送信管理タイマ112がセットされた場合、予め設定されている時間が経過してタイムアップが検出されたとき、上限まで上昇動作しているか、あるいは下限まで下降動作しているかが信号解析部58によって、受信した回答信号の受信データに基づき判別される。判別結果、全ブラインド装置2a〜2eのうち1台でも他と異なる高さ情報83を指示することを検知すると、S8またはS9にて送信された昇降操作信号の再送信が再送信制御部53の制御の元に1回だけ実施される。すなわち、送信開始部54は、「送信セットフラグ」がセット(‘1’)であることを検知して、応じて「送信信号バッファ」に格納されている操作信号を読出して、送信回路16を介して配線3に送信する。これにより、同一の操作信号が再度送信される。   In other words, when the retransmission management timer 112 is set in S14, whether the preset time elapses and the time-up is detected, whether the operation is increasing to the upper limit or is decreasing to the lower limit. Is determined by the signal analysis unit 58 based on the received data of the received answer signal. As a result of the determination, when it is detected that at least one of all the blind devices 2a to 2e indicates the height information 83 different from the others, the re-transmission of the raising / lowering operation signal transmitted in S8 or S9 is performed by the retransmission control unit 53. Performed only once under control. That is, the transmission start unit 54 detects that the “transmission set flag” is set (“1”), and reads the operation signal stored in the “transmission signal buffer” in response to the transmission circuit 16. To the wiring 3. Thereby, the same operation signal is transmitted again.

なお、上述の昇降操作信号が送信セットされた場合、送信回路16を介した実際の送信開始処理は送信開始部54が制御する。具体的には、0.5m秒タイマ割込処理部51による図9の0.5m秒タイマ割込ルーチンに従い送信開始部54が送信を開始する。   When the above-described lifting operation signal is set for transmission, the transmission start unit 54 controls the actual transmission start processing via the transmission circuit 16. Specifically, the transmission start unit 54 starts transmission according to the 0.5 msec timer interrupt routine of FIG. 9 by the 0.5 msec timer interrupt processing unit 51.

図9を参照して、0.5m秒タイマ割込ルーチンは、CPU18は0.5m秒毎に0.5m秒タイマ割込処理部51に対し割込み起動をかけることで開始される。0.5m秒タイマ割込処理部51は起動されると各部を制御して以下の処理を行う。   Referring to FIG. 9, the 0.5 ms timer interrupt routine is started when CPU 18 issues an interrupt to 0.5 ms timer interrupt processing unit 51 every 0.5 ms. When activated, the 0.5 msec timer interrupt processing unit 51 controls each unit to perform the following processing.

まず、S21にて、無信号管理タイマ更新部60は無信号管理タイマ211のタイマ値を読出し、タイマ値が「6m秒」を指示するか否かを判別する。「6m秒」を指示すると判別すると(S21でYes)S23の処理に移行するが、指示しないと判別すれば(S21でNo)、S22にて無信号管理タイマ111のタイマ値について「+0.5m秒」の処理を行なう。   First, in S21, the no-signal management timer updating unit 60 reads the timer value of the no-signal management timer 211, and determines whether or not the timer value indicates “6 milliseconds”. If it is determined that “6 msec” is instructed (Yes in S21), the process proceeds to S23. If it is determined that no instruction is given (No in S21), the timer value of the no-signal management timer 111 is “+0.5 m in S22. Second "is processed.

すなわち、受信回路17から操作信号または回答信号を受信している間の「0m秒」から受信終了後から0.5m秒単位で大きくなり、6m秒となればS21にてカウントアップと判別されてカウント処理は行われなくなる。   That is, from “0 msec” while receiving the operation signal or answer signal from the receiving circuit 17, it increases in 0.5 msec units after the end of reception, and when it becomes 6 msec, it is determined that the count is incremented in S 21. The counting process is not performed.

本無信号管理タイマ111のカウント処理の次には、操作信号の実送信開始処理が行われる。すなわち、上述のS8〜S12にて操作信号の送信セットが実施された場合、S23にて無信号管理タイマ更新部59は送信セットフラグが‘1’を指示することを検知し、応じて操作信号の送信セットと判別し(S23でYes)、S24にて無信号管理タイマ111のタイマ値を読出し、読出したタイマ値を判別する。判別結果、タイマ値が6m秒を指示していない場合には(S24でNo)、S26の処理を経て本割込み処理を終了する。一方、6m秒を指示していれば、あるいは6m秒になっていた場合には(S24でYes)、S25にて実送信開始がセットされる。   Following the count process of the non-signal management timer 111, an actual transmission start process of the operation signal is performed. That is, when the operation signal transmission set is performed in S8 to S12 described above, in S23, the no-signal management timer update unit 59 detects that the transmission set flag indicates “1”, and accordingly, the operation signal (S23: Yes), the timer value of the no-signal management timer 111 is read at S24, and the read timer value is determined. As a result of the determination, if the timer value does not indicate 6 milliseconds (No in S24), the interrupt process is terminated through the process of S26. On the other hand, if 6 ms has been instructed or if 6 ms has been reached (Yes in S24), the actual transmission start is set in S25.

すなわち、操作信号が送信セットされると無信号管理タイマ111が6m秒になっていた場合、あるいは6m秒になるまで待機して、送信開始部54は、送信信号バッファから読出した操作信号を、送信回路16を介して配線3に送信開始する。これを実送信開始という。   That is, when the operation signal is set to be transmitted, if the no-signal management timer 111 is 6 milliseconds, or waits until 6 milliseconds, the transmission start unit 54 reads the operation signal read from the transmission signal buffer, Transmission to the wiring 3 is started via the transmission circuit 16. This is called actual transmission start.

実送信開始処理が実施されれば、操作信号の各1文字送信(9600bpsの場合は、約1m秒毎)する毎に、次文字送信セット処理用の1文字送信終了時割込処理による送信開始部54内の次送信文字セット処理部(図示せず)によって、送信するべき操作信号の全文字送信が順次実施されることとなる。   If the actual transmission start processing is performed, transmission of each operation character by one character transmission (about 1 msec in the case of 9600 bps) starts transmission by interruption processing at the end of transmission of one character for the next character transmission set processing All character transmission of the operation signal to be transmitted is sequentially performed by the next transmission character set processing unit (not shown) in the unit 54.

なお、信号検知部581によって受信回路17から受信信号が有ると検知された場合には、無信号管理タイマ更新部59によって無信号管理タイマ111を「0m秒」にリセットする処理は、別途割込ルーチン、すなわち受信信号の各1文字受信(9600bpsの場合は、約1m秒毎)するごとに、1文字受信割込処理部52の割込みによって無信号管理タイマ更新部59を制御して、無信号管理タイマ111に「0」を格納(更新)する「0m秒」リセット処理(省略)が実施される。   If the signal detection unit 581 detects that there is a reception signal from the reception circuit 17, the process of resetting the no-signal management timer 111 to “0 ms” by the no-signal management timer update unit 59 is a separate interrupt. Routine, that is, each time one character of the received signal is received (in the case of 9600 bps, about 1 ms), the no-signal management timer update unit 59 is controlled by the interrupt of the one-character reception interrupt processing unit 52, “0 ms” reset processing (omitted) for storing (updating) “0” in the management timer 111 is performed.

なお、再送信管理タイマ112がONとなっている場合は、当該0.5m秒タイマ割込処理のS26にて「Yes」と判別されて、次のS27にて再送信管理タイマ更新部60により再送信管理タイマ112の値を「+0.5m秒」更新する。   If the retransmission management timer 112 is ON, “Yes” is determined in S26 of the 0.5 msec timer interruption process, and the retransmission management timer update unit 60 performs the next S27. The value of the retransmission management timer 112 is updated by “+0.5 msec”.

図10は、ブラインド装置2a〜2eの受信信号解読処理部34の、図11は昇降動作中管理処理部35のメインルーチンのフローチャートを示し、図12は、ブラインド装置2a〜2eの0.5m秒タイマ割込部31の処理フローチャートを示す。次に図1、図4、図5、図10〜図12を参照してブラインド装置2a〜2eの動作を説明する。   10 shows a flowchart of the main routine of the reception signal decoding processing unit 34 of the blind devices 2a to 2e, FIG. 11 shows a main routine of the management processing unit 35 during the lifting operation, and FIG. 12 shows 0.5 milliseconds of the blind devices 2a to 2e. The process flowchart of the timer interruption part 31 is shown. Next, operations of the blind devices 2a to 2e will be described with reference to FIGS. 1, 4, 5, and 10 to 12. FIG.

信号検知部381が受信回路27から操作信号または回答信号、すなわち各信号を構成する全文字信号を受信すると、信号解析部38はS31にて信号を解析し解析結果に基づき信号を受信した(S31でYes)と判別する。そして、S32にて受信信号解読処理部34は受信信号を解読して、そのヘッダ部の情報に基づき、受信信号はコントロール装置1からの「上昇」、「下降」、「停止」の操作信号であるか、あるいはブラインド装置2a〜2eからの回答信号(「回答」)であるかの種別を判別する。   When the signal detection unit 381 receives the operation signal or answer signal from the reception circuit 27, that is, all character signals constituting each signal, the signal analysis unit 38 analyzes the signal in S31 and receives the signal based on the analysis result (S31). Yes). In S32, the received signal decoding processing unit 34 decodes the received signal, and based on the information in the header part, the received signal is an “up”, “down”, “stop” operation signal from the control device 1. The type of whether there is a reply signal ("answer") from the blind devices 2a to 2e is determined.

「上昇」、「停止」、「下降」の操作信号と判別した場合には、受信信号解読処理部34は、それぞれS33にて上昇動作、S34にて停止動作、S35にて下降動作を指示する駆動信号をブラインド部30の駆動回路25に出力する。これにより、駆動回路25はブラインド302を与えられる駆動信号に基づき駆動するので、ブラインド302は操作信号に基づき昇降動作または停止動作を行なう。   When it is determined that the operation signals are “up”, “stop”, and “down”, the received signal decoding processing unit 34 instructs an up operation in S33, a stop operation in S34, and a down operation in S35, respectively. The drive signal is output to the drive circuit 25 of the blind unit 30. As a result, the drive circuit 25 drives the blind 302 based on the given drive signal, so that the blind 302 moves up and down or stops based on the operation signal.

なお、S34において「停止」動作がされる場合には、続くS36にて、信号生成部37によって回答信号が生成されて、送信セット部371によって生成された回答信号について回答セットが行われる。そして、いずれも次のS37において、個別番号レジスタ更新部41によって初回回答個別番号レジスタ213の値が「1」に更新される。   If a “stop” operation is performed in S34, a response signal is generated by the signal generation unit 37 in S36, and a response set is performed for the response signal generated by the transmission set unit 371. In both cases, the value of the initial response individual number register 213 is updated to “1” by the individual number register update unit 41 in the next S37.

回答信号の場合にはS32において「回答」と判別されて、次のS38にて昇降動作中管理処理部35によって駆動回路25がブラインド302に出力する信号に基づき昇降動作中の是非が判別される。昇降動作中であると判別された場合には(S38でYes)、S39にて送信セット部371は回答信号の回答をリセットする、すなわち、回答セットされている場合には回答信号の送信が中止となる。   In the case of an answer signal, the answer is determined as “answer” in S32, and whether or not the elevator circuit is in the ascending / descending operation is determined based on the signal output from the drive circuit 25 to the blind 302 by the elevating / moving operation management processing unit 35 in the next S38. . If it is determined that the elevator is moving up and down (Yes in S38), the transmission set unit 371 resets the response of the response signal in S39, that is, if the response is set, the transmission of the response signal is stopped. It becomes.

ここで「回答セット」とは、マイクロコンピュータ21のRAM29の所定領域である「送信信号バッファ」(図示せず)に信号生成部37によって生成された回答信号を、送信セット部371によってセット(格納)するとともに、同様にRAM29に予め格納された「送信セットフラグ」(図示せず)をセット(‘1’に更新)することを指す。   Here, the “answer set” is a set (stored) of the answer signal generated by the signal generation unit 37 in a “transmission signal buffer” (not shown), which is a predetermined area of the RAM 29 of the microcomputer 21. In the same manner, it indicates that a “transmission set flag” (not shown) stored in advance in the RAM 29 is set (updated to “1”).

また、「回答リセット」とは、送信セット部371によって「送信セットフラグ」をリセット(‘0’に更新)することを指す。したがって「送信セットフラグ」がセットされているときは「送信信号バッファ」の回答信号は送信すると判別され、リセットされているときは「送信信号バッファ」の回答信号は送信しないと判別される。   Further, “answer reset” means that the transmission set unit 371 resets the “transmission set flag” (updates to “0”). Therefore, when the “transmission set flag” is set, it is determined that the response signal of the “transmission signal buffer” is transmitted, and when it is reset, it is determined that the response signal of the “transmission signal buffer” is not transmitted.

なお、昇降動作中に回答セットされている場合、後述するが、「送信信号バッファ」の回答信号はダミーの回答信号である。   When the answer is set during the lifting / lowering operation, the answer signal of the “transmission signal buffer” is a dummy answer signal as will be described later.

次に、受信信号解読処理部34はS40において、S31で受信した回答信号に含まれる個別番号82の値が最大値の「255」であるか否かを判別する。「255」でないと判別した時は(S40でNo)、S41にて個別番号レジスタ更新部41は初回回答個別番号レジスタ213に、受信した回答信号に含まれる個別番号82の値を「+1」した値を格納する。   Next, in S40, the received signal decoding processor 34 determines whether or not the value of the individual number 82 included in the answer signal received in S31 is the maximum value “255”. When it is determined that it is not “255” (No in S40), the individual number register updating unit 41 increments the value of the individual number 82 included in the received answer signal to “+1” in the initial answer individual number register 213 in S41. Stores a value.

なお、個別番号82が「255」を指す回答信号であった場合には(S40でYes)、S37にて個別番号レジスタ更新部41によって初回回答個別番号レジスタ213の値は、「255」の次の個別番号である「1」が格納される。   If the individual number 82 is a response signal indicating “255” (Yes in S40), the value of the initial response individual number register 213 is set to the value next to “255” by the individual number register update unit 41 in S37. “1”, which is the individual number of, is stored.

すなわち、ブラインド装置は、操作信号を受信すれば、当該操作信号の操作指示72に基づき昇降動作の駆動開始または昇降動作中の停止を行うとともに、操作指示72が停止操作を指示する場合はさらに回答信号の回答セットを行う。そして、操作信号を受信した場合には停止時に送信されるべき回答信号の個別番号82が「1」を指示するように、また回答信号を受信した場合には、次の個別番号からの回答となるように、初回回答個別番号レジスタ213の値が更新される。   That is, if the blind device receives the operation signal, the blind device starts driving of the lifting operation or stops during the lifting operation based on the operation instruction 72 of the operation signal, and further responds when the operation instruction 72 instructs the stop operation. Perform signal answer set. When the operation signal is received, the individual number 82 of the response signal to be transmitted at the time of stop indicates “1”, and when the response signal is received, the response from the next individual number Thus, the value of the initial reply individual number register 213 is updated.

更に、回答信号の場合には、S39において無信号管理時間のリセットを目的としたダミーの回答信号送信が中断される。   Further, in the case of an answer signal, transmission of a dummy answer signal for the purpose of resetting the no-signal management time is interrupted in S39.

続いて昇降動作中管理処理部35による図11の処理が実行される。まず、ブラインド部30の駆動回路25からの出力信号に基づき昇降動作が停止していると判別した場合は(S51でNo、S52でNo)、次のメインルーチン処理に移行するが、図10の上昇または下降の操作信号を受信したことに応じて上昇または下降動作していると判別された場合には、上昇中はS51にて「Yes」、下降中はS52にて「Yes」と判別されて、上昇中はS53にて昇降スイッチ部301の出力に基づき上限スイッチ23のON/OFFが判別され、下降中はS54にて昇降スイッチ部301の出力に基づき下限スイッチ24のON/OFFが判別される。いずれも上限まで上昇していない、あるいは下限まで下降していないということで出力が「OFF」を指示する場合には、次のメインルーチン処理に移行する。   Subsequently, the processing in FIG. 11 is performed by the management processing unit 35 during the lifting operation. First, when it is determined that the lifting / lowering operation is stopped based on the output signal from the drive circuit 25 of the blind unit 30 (No in S51, No in S52), the process proceeds to the next main routine process. If it is determined that the ascending or descending operation is being performed in response to receiving the ascending or descending operation signal, “Yes” is determined in S51 during ascending, and “Yes” is determined in S52 during descending. During the ascent, the ON / OFF of the upper limit switch 23 is determined based on the output of the elevating switch unit 301 in S53, and the ON / OFF of the lower limit switch 24 is determined based on the output of the elevating switch unit 301 during descending. Is done. If none of the outputs has risen to the upper limit or has been lowered to the lower limit, and the output instructs “OFF”, the process proceeds to the next main routine process.

昇降動作中管理処理部35は昇降スイッチ部301の出力に基づき、上昇中に上限スイッチ23が「ON」、または下降中に下限スイッチ24が「ON」となったことを検出すると、S55にて駆動回路25を制御して昇降動作を停止させる。そして、S56にて昇降動作中管理処理部35は信号生成部37を制御して回答信号を生成して回答セットを実施する。   When the up / down operation management processing unit 35 detects that the upper limit switch 23 is “ON” during ascending or the lower limit switch 24 is “ON” during descending based on the output of the up / down switch unit 301, in S55 The drive circuit 25 is controlled to stop the lifting operation. In step S56, the management processing unit 35 during the lifting operation controls the signal generation unit 37 to generate a response signal and implement a response set.

すなわち、上昇動作となり上限位置まで上昇した場合、または下降動作となり下限位置まで下降した場合には昇降動作が停止されるとともに、回答信号が生成されて回答セットされる。生成される回答信号の回答データである高さ情報83は、上昇時は上限スイッチ23がONしていることから「上限」、下降時は下限スイッチ24がONしていることから「下限」をそれぞれ指示する。また、生成される回答信号の個別番号82は、個別番号入力部36が個別番号スイッチ22から入力した個別番号を指示する。   That is, when the ascending operation is raised to the upper limit position, or when the descending operation is lowered to the lower limit position, the ascending / descending operation is stopped and an answer signal is generated and the answer is set. The height information 83, which is the response data of the generated response signal, is “upper limit” because the upper limit switch 23 is ON when rising, and “lower limit” because the lower limit switch 24 is ON when descending. Instruct each one. Further, the individual number 82 of the generated answer signal indicates the individual number input from the individual number switch 22 by the individual number input unit 36.

なお、上述の回答信号が回答セットされた場合、実際の回答信号の送信開始処理は、0.5m秒タイマ割込部31が図12の0.5m秒タイマ割込ルーチンに従い各部を制御して実施する。0.5m秒タイマ割込部31は、CPU28が0.5m秒毎のタイマ割込みをかけることによって起動される。   When the above answer signal is set as an answer, the actual answer signal transmission start process is performed by the 0.5 ms timer interrupt unit 31 controlling each unit according to the 0.5 ms timer interrupt routine of FIG. carry out. The 0.5 msec timer interrupt unit 31 is activated when the CPU 28 issues a timer interrupt every 0.5 msec.

0.5m秒タイマ割込ルーチンでは、まず、S61にて無信号管理タイマ更新部39によって無信号管理タイマ211のタイマ値の「+0.5m秒」処理が行われる。そして、S62にて更新したタイマ値のチェックが行われ、518m秒でなければ「No」と判別されて、本「+0.5m秒」処理を終了し、S68の回答実送信開始処理に移行する。しかし、518m秒となった場合(S62でYes)、すなわち517.5m秒であった場合には、S63にて無信号管理タイマ更新部39は無信号管理タイマ211の「+0.5m秒」の更新タイマ値として8m秒に更新する。   In the 0.5 msec timer interruption routine, first, the “+0.5 msec” processing of the timer value of the no-signal management timer 211 is performed by the no-signal management timer updating unit 39 in S61. Then, the timer value updated in S62 is checked, and if it is not 518 msec, it is determined as “No”, this “+0.5 msec” process is terminated, and the process proceeds to a response actual transmission start process in S68. . However, if it is 518 msec (Yes in S62), that is, if it is 517.5 msec, the no-signal management timer update unit 39 sets “+0.5 msec” of the no-signal management timer 211 in S63. The update timer value is updated to 8 milliseconds.

なお、無信号管理タイマ211のタイマ値は後述するように受信中は0m秒にリセットされており、上述したように受信完了時から0.5m秒づつ足されていく。すなわち、無信号管理タイマ211のタイマ値は、0m秒→517.5m秒→8m秒→517.5m秒→8m秒・・・と更新されて、8m秒と517.5m秒の間を510m秒毎に繰り返しカウントしていく。   Note that the timer value of the no-signal management timer 211 is reset to 0 msec during reception as described later, and is added by 0.5 msec from the completion of reception as described above. That is, the timer value of the no-signal management timer 211 is updated as 0 msec → 517.5 msec → 8 msec → 517.5 msec → 8 msec..., 510 msec between 8 msec and 517.5 msec Repeat every time.

上述のS63にて「8m秒」がセットされた場合、さらに、S64にて昇降動作中管理処理部35により駆動回路25の出力信号に基づき昇降動作中の是非が判別される。判別結果に基づき、昇降動作中と検出されると(S64でYes)、S65にて無信号管理カンタ更新部40によって無信号カウンタ212のインクリメントすなわち無信号カウンタ212の値を「+1」する。   If “8 milliseconds” is set in S63 described above, then whether or not the lifting operation is being performed is determined based on the output signal of the drive circuit 25 by the lifting operation management processing unit 35 in S64. If it is detected that the lifting / lowering operation is being performed based on the determination result (Yes in S64), the non-signal management counter update unit 40 increments the non-signal counter 212, that is, the value of the no-signal counter 212 is incremented by "1" in S65.

なお、無信号管理カウンタ212のカウント値は、無信号管理カンタ更新部40によって、受信中は無信号管理タイマ211と同様、後述するように「0」にリセットされており、無信号管理タイマ211のタイマ値が8m秒から518m秒となる毎に「+1」されていく。   The count value of the no-signal management counter 212 is reset to “0” by the no-signal management counter update unit 40 during reception, as will be described later, as in the case of the no-signal management timer 211. Each time the timer value is changed from 8 ms to 518 ms, it is incremented by “+1”.

そして、S66にて「+1」された無信号管理カウンタ212の値が「60」を指示するかいなかの判定がされる。判定結果、「60」を指示すると検出されなければ(S66でNo)、S68の回答セット処理に移行する。しかし、「60」を指示すると検出されると、すなわち無信号時間が約30秒、すなわち30608m秒(8m秒+510m秒×60)となれば(S66でYes)、S67にて信号生成部37によって回答信号が生成されて回答セットが行われて、S68の回答セット処理に移行する。   Then, in S66, it is determined whether or not the value of the no-signal management counter 212 that has been “+1” indicates “60”. If it is not detected that the determination result indicates “60” (No in S66), the process proceeds to the answer set process in S68. However, if it is detected that “60” is indicated, that is, if the no-signal time is about 30 seconds, that is, 30608 msec (8 msec + 510 msec × 60) (Yes in S66), the signal generation unit 37 in S67. An answer signal is generated and an answer set is made, and the process proceeds to the answer set process of S68.

上述の無信号管理タイマ211と無信号管理カウンタ212のカウント処理の次には、回答信号の実送信開始処理が行われる。すなわち、上述のS36、S56またはS67にて回答セットが実施された場合には、S68にてRAM29の「送信セットフラグ」の値に基づき回答セットと判別され(S68でYes)、S69にて無信号管理タイマ更新部39によって無信号管理タイマ211のタイマ値が判別される。判別結果、8m秒未満を指示すると検知すれば(S69でNo)割込ルーチンを終了する。   Subsequent to the count processing of the above-described no-signal management timer 211 and no-signal management counter 212, the actual transmission start processing of the answer signal is performed. That is, when the answer set is executed in S36, S56 or S67 described above, the answer set is determined based on the value of the “transmission set flag” in the RAM 29 in S68 (Yes in S68), and no answer is set in S69. The signal management timer update unit 39 determines the timer value of the no-signal management timer 211. If it is detected that less than 8 milliseconds is instructed (No in S69), the interrupt routine is terminated.

一方、8m秒以上(8m秒〜517.5m秒)を指示すると検知されると(S69でYes)、S70に移行する。すなわち、受信完了後8m秒まで待機した以降はS70にて上述の送信可否の判別式に従う計算が送信可否判別部33によって実施される。そして、送信可否判別部33は、S71にて計算結果の剰余値発生の有無を判別する。剰余値発生有りを検知すると(S71でYes)、割込ルーチンを終了し、剰余値発生無しを検知すると(S71でNo)、送信可否判別部33はS72にて計算結果値と個別番号入力部36を介した個別番号スイッチ22の入力値とを比較する。比較結果に基づき両値が一致しないと検知したとしたときは(S72でNo)、割込ルーチンを終了し、両値の一致を検知したときは(S72でYes)、S73にて実送信開始がセットされる。   On the other hand, if it is detected that an instruction of 8 milliseconds or longer (8 milliseconds to 517.5 milliseconds) is instructed (Yes in S69), the process proceeds to S70. That is, after waiting for 8 milliseconds after the completion of reception, calculation according to the above-described transmission propriety discriminant is performed by the transmission feasibility discriminating unit 33 in S70. Then, the transmission permission / inhibition determining unit 33 determines in S71 whether or not a remainder value of the calculation result is generated. When the occurrence of the remainder value is detected (Yes in S71), the interruption routine is terminated, and when the occurrence of the remainder value is detected (No in S71), the transmission permission / inhibition determination unit 33 calculates the calculation result value and the individual number input unit in S72. The input value of the individual number switch 22 via 36 is compared. If it is determined that the two values do not match based on the comparison result (No in S72), the interrupt routine is terminated. If a match between the two values is detected (Yes in S72), actual transmission starts in S73. Is set.

ここで「実送信開始がセットされる」とは、送信セット部371が「送信信号バッファ」に格納された回答信号から最初の1文字を読出し、送信回路26を介し配線3に送信することを指す。以降は、順次に1文字が読出されて送信される。   Here, “actual transmission start is set” means that the transmission set unit 371 reads the first character from the response signal stored in the “transmission signal buffer” and transmits it to the wiring 3 via the transmission circuit 26. Point to. Thereafter, one character is sequentially read and transmitted.

このように、回答信号が回答セットされると無信号管理タイマ211が8m秒以上になっていた場合、自己の個別番号に基づき送信可否タイミングを判別して、判別結果に基づき個別番号毎に許されているタイミングにて回答信号の実送信開始が行なわれる。   As described above, when the no-signal management timer 211 is 8 milliseconds or more when the answer signal is set as an answer, the transmission permission timing is determined based on its own individual number, and the permission is determined for each individual number based on the determination result. The actual transmission of the response signal is started at the timing when the response is made.

実送信開始処理が実施されれば、上述のコントロール装置1と同様に別途割込ルーチン(省略)にて回答信号の実送信処理が管理されて実施されることとなる。   If the actual transmission start process is performed, the actual transmission process of the response signal is managed and performed in a separate interrupt routine (omitted) in the same manner as the control device 1 described above.

なお、受信回路27から受信信号が有る場合に無信号管理タイマ211を「0m秒」にリセットする処理、および無信号管理カウンタ212を「0」にリセットする処理は、別途割込ルーチン、すなわち受信信号の各1文字受信(9600bpsの場合は、約1m秒毎)するごとに、1文字受信時割込処理部32の制御の元に無信号管理タイマ更新部39と無信号管理カンタ更新部40によって無信号管理タイマ211および無信号管理カウンタ212に「0」を格納して更新する無信号管理タイマ/カウンタ・リセット処理(省略)により実施される。   Note that a process for resetting the no-signal management timer 211 to “0 msec” and a process for resetting the no-signal management counter 212 to “0” when there is a reception signal from the reception circuit 27 is a separate interrupt routine, that is, a reception routine. Each time one character of a signal is received (about 1 msec in the case of 9600 bps), the no-signal management timer update unit 39 and the no-signal management counter update unit 40 are controlled under the control of the one-character reception interrupt processing unit 32. Is executed by a no-signal management timer / counter reset process (omitted) for storing and updating “0” in the no-signal management timer 211 and the no-signal management counter 212.

次に、ブラインド装置2a〜2eが上限位置にて停止している状態で、コントロール装置1を再送信モードスイッチ15からの入力が「入」を指す場合において、下降操作した場合のブラインド装置2a〜2e、およびコントロール装置1の動作について図8のフローチャートに従い説明する。   Next, in a state where the blind devices 2a to 2e are stopped at the upper limit position, the blind device 2a to the control device 1 when the input from the retransmission mode switch 15 indicates "on" and the lowering operation is performed. 2e and the operation of the control device 1 will be described with reference to the flowchart of FIG.

コントロール装置1の下降操作スイッチ13を操作すると、操作スイッチ入力「有」(S1)、そして種別は「下降」スイッチ(S2)と判別されて、信号生成部57は「下降」の操作指示72を有する操作信号を生成し送信セット(S9)し、操作入力B55によって再送信モードスイッチ15の入力が「入」を指示すると判定されて(S13)、その後、再送信管理タイマ更新部60によって再送信管理タイマ112をONおよびタイマ値を「0」(S14)にする。   When the lowering operation switch 13 of the control device 1 is operated, it is determined that the operation switch input is “present” (S1) and the type is the “lowering” switch (S2), and the signal generation unit 57 displays the “lowering” operation instruction 72. The operation signal is generated and set for transmission (S9), and it is determined by the operation input B55 that the input of the retransmission mode switch 15 indicates “ON” (S13), and then retransmitted by the retransmission management timer updating unit 60. The management timer 112 is turned on and the timer value is set to “0” (S14).

送信セットされた「下降」操作信号は、送信セット「Yes」(S23)と判別され、そして無信号6m秒後、あるいは無信号6m秒以降後であれば、無信号管理タイマ更新部59によって無信号管理タイマが6m秒を指示すると検知されて(S24でYes)、実送信が開始セット(S25)される。この実送信開始セットされた「下降」操作信号は、送信開始部54によって送信回路16から伝送路である配線3へ送信される。   The “decrease” operation signal set for transmission is determined as transmission set “Yes” (S 23), and if no signal is received after 6 msec or after 6 msec of no signal, the no-signal management timer update unit 59 outputs no signal. It is detected that the signal management timer indicates 6 milliseconds (Yes in S24), and actual transmission is set to start (S25). The “down” operation signal that is set to start actual transmission is transmitted from the transmission circuit 16 to the wiring 3 that is the transmission path by the transmission start unit 54.

コントロール装置1は、実送信開始した当該「下降」操作信号を送信回路16から送信するとともに、受信回路17を介して受信すると、応じて、信号解析部58によって操作信号の受信と検知される。これにより、無信号管理タイマ更新部59は無信号管理タイマ111を「0m秒」にリセットするとともに、当該「下降」操作信号の送信終了すなわち受信終了後は、0.5m秒毎に6m秒となるまで、6m秒「No」(S21)と判別して、「+0.5m秒」カウント処理(S22)を行うとともに、再送信管理タイマ更新部60は再送信管理タイマ112のONを検知して(S26でYes)、再送信管理タイマ112を「+0.5m秒」カウント処理を行っていく(S27)。   When the control device 1 transmits the “descent” operation signal, which has started actual transmission, from the transmission circuit 16 and receives the operation signal via the reception circuit 17, the signal analyzer 58 detects that the operation signal has been received. As a result, the no-signal management timer updating unit 59 resets the no-signal management timer 111 to “0 msec”, and after the end of transmission of the “decreasing” operation signal, that is, the end of reception, the no-signal management timer update unit 59 becomes 6 msec every 0.5 msec. Until it is, it is determined that the response is 6 ms “No” (S 21), the “+0.5 ms” count process (S 22) is performed, and the retransmission management timer update unit 60 detects the ON of the retransmission management timer 112. (Yes in S26), the retransmission management timer 112 performs “+0.5 msec” count processing (S27).

ブラインド装置2a〜2eは、信号検知部381は受信回路27を介して上述の配線3に送信された「下降」操作信号の受信を検知すると(S31でYes)、信号解析部38は受信信号を解析して信号種別「下降」と検出する(S32)。そして、この検出結果に基づき昇降動作中管理処理部35は下降動作を駆動回路25に指示する(S35)。駆動回路25は指示に基づきブラインド302に下降動作の駆動信号を出力するのでブラインド302は下降動作を開始する。このとき、個別番号レジスタ更新部41は、初回回答個別番号レジスタ213の値を「1」に更新する(S37)。   In the blind devices 2a to 2e, when the signal detection unit 381 detects reception of the “down” operation signal transmitted to the wiring 3 via the reception circuit 27 (Yes in S31), the signal analysis unit 38 receives the reception signal. Analysis is performed to detect that the signal type is “down” (S32). Based on the detection result, the management processing unit 35 during the lifting / lowering operation instructs the lowering operation to the drive circuit 25 (S35). Since the drive circuit 25 outputs a drive signal for the lowering operation to the blind 302 based on the instruction, the blind 302 starts the lowering operation. At this time, the individual number register updating unit 41 updates the value of the initial reply individual number register 213 to “1” (S37).

また、当該「下降」操作信号の受信中は、無信号管理カウンタ212を「0」にリセット、および無信号管理タイマ211を「0m秒」にリセットするとともに、0.5m秒毎に「+0.5m秒」カウント(S61)を行う。そして、受信終了後、無信号管理タイマ211は「0m秒」から「+0.5m秒」(S61)されていくこととなる。そして、518m秒までカウントすると(S62でYes)、8m秒に更新されるとともに(S63)、昇降動作中と検知されて(S64でYes)無信号管理カウンタ212は「+1」更新されていく。   During reception of the “down” operation signal, the no-signal management counter 212 is reset to “0”, the no-signal management timer 211 is reset to “0 msec”, and “+0. 5 ms "count (S61) is performed. After the end of reception, the no-signal management timer 211 is changed from “0 msec” to “+0.5 msec” (S61). When counting up to 518 msec (Yes in S62), it is updated to 8 msec (S63), and it is detected that the ascending / descending operation is being performed (Yes in S64), and the no-signal management counter 212 is updated by “+1”.

そして、上述したように約30秒後の無信号管理タイマ211の518m秒を8m秒に更新セットし(S63)、および無信号管理カウンタ212を「+1」(S67)した時に、無信号管理カウンタ212の値が60を指示していると検知されると(S66でYes)、回答信号の回答セット(S67)が行われる。   Then, as described above, when the 518 ms of the no-signal management timer 211 after about 30 seconds is updated and set to 8 ms (S63), and the no-signal management counter 212 is set to "+1" (S67), the no-signal management counter When it is detected that the value 212 indicates 60 (Yes in S66), an answer signal answer set (S67) is performed.

なお、無信号管理タイマ211のタイマ値が「8m秒」であることと、初回回答個別番号レジスタ213の値が「1」であることから、引き続く実送信開始処理では個別番号「1」のブラインド装置2aのみ、実送信開始セットされた回答信号を、送信回路26から配線3へ送信する。すなわち下降動作中であることから高さ情報83は「動作中」を指示し、および個別番号82は「1」を指示する回答信号の実送信開始セット(S73)が行われて、配線3へ送信される。   Since the timer value of the no-signal management timer 211 is “8 milliseconds” and the value of the initial response individual number register 213 is “1”, in the subsequent actual transmission start process, the blind of the individual number “1” is blinded. Only the device 2 a transmits the response signal set to start actual transmission from the transmission circuit 26 to the wiring 3. That is, since the descent operation is in progress, the height information 83 indicates “in operation”, and the individual number 82 indicates the actual transmission start set (S 73) indicating “1”. Sent.

上述の「下降」操作信号と同様に、配線3に送信された当該回答信号はコントロール装置1およびブラインド装置2a〜2eによって受信される。この受信に応じて、それぞれの無信号管理タイマ111および211が「0m秒」にリセットされるともに、無信号管理カウンタ212が「0」にリセットされる。   Similar to the above-described “down” operation signal, the answer signal transmitted to the wiring 3 is received by the control device 1 and the blind devices 2a to 2e. In response to this reception, the respective no-signal management timers 111 and 211 are reset to “0 msec”, and the no-signal management counter 212 is reset to “0”.

そして、ブラインド装置2a〜2eでは、受信信号の種別は「回答」であると検知されて(S32)、続いて昇降動作中であると検知されて(S38でYes)、回答リセットがされる(S39)。すなわち、ブラインド装置2b〜2eの個別番号2〜255の機器にセットされているダミーの回答信号の送信が中断となる。次に、個別番号「1」を「+1」した「2」が、個別番号レジスタ更新部41によって初回回答個別番号レジスタ213に格納される(S41)。   The blind devices 2a to 2e detect that the type of the received signal is “answer” (S32), then detect that the lifting / lowering operation is being performed (Yes in S38), and reset the answer ( S39). That is, transmission of the dummy answer signal set in the devices having the individual numbers 2 to 255 of the blind devices 2b to 2e is interrupted. Next, “2” obtained by adding “+1” to the individual number “1” is stored in the initial response individual number register 213 by the individual number register updating unit 41 (S41).

このように、「下降」操作信号を受信して約30秒後にはブラインド装置2a〜2eの全機器において回答セットが行なわれるが、個別番号が‘1’のブラインド装置2aの回答信号のみが配線3に送信されて、コントロール装置1およびブラインド装置2a〜2eの無信号管理タイマ111、211のリセットが実施される。すなわち、無信号管理タイマ111、211の30秒間のタイマずれがリセットされる。   Thus, about 30 seconds after receiving the “down” operation signal, the answer set is performed in all the devices of the blind devices 2a to 2e, but only the answer signal of the blind device 2a having the individual number “1” is wired. 3, the no-signal management timers 111 and 211 of the control device 1 and the blind devices 2a to 2e are reset. That is, the 30-second timer deviation of the no-signal management timers 111 and 211 is reset.

なお、コントロール装置1の信号解析部58は受信した回答信号の高さ情報83が「動作中」を指示することを検知すると、応じてテーブル管理部61は当該回答信号に基づくブラインド装置管理テーブル113の値更新は行わない。   When the signal analysis unit 58 of the control device 1 detects that the received response signal height information 83 indicates “in operation”, the table management unit 61 responds accordingly to the blind device management table 113 based on the response signal. The value of is not updated.

そして、上述したように約35秒後には下限スイッチ24がONになると、上昇動作中ではなく(S51でNo)、下降動作中であり(S52でYes)、さらに下限スイッチは‘ON’と判別されて(S54)、昇降動作中管理処理部35は駆動回路25を制御してブラインド302の停止動作を行なわせる(S55)ので、ブラインド装置2a〜2eのブラインド302は下限位置にて停止することとなる。   As described above, when the lower limit switch 24 is turned on after about 35 seconds, it is not in the ascending operation (No in S51), is in the descending operation (Yes in S52), and the lower limit switch is determined to be 'ON'. Then, the management processing unit 35 during the lifting operation controls the drive circuit 25 to stop the blind 302 (S55), so that the blind 302 of the blind devices 2a to 2e is stopped at the lower limit position. It becomes.

なお、実際の下限スイッチ24がONとなるタイミングがブラインド装置2a〜2eにてばらつく結果、回答セット(S56)のタイミングがばらつくことと、回答セットされたタイミングが必ずしも送信可能タイミングであるとは限らないことから、上述の回答信号のようにブラインド装置2aが最初に回答するとは限らず、回答セットされている送信管理タイミングとなったブラインド装置2a〜2eから、高さ情報「下限」を内容とする回答信号を実送信開始する。   It should be noted that the timing at which the actual lower limit switch 24 is turned ON varies as a result of the blind devices 2a to 2e, and as a result, the timing of the answer set (S56) varies, and the timing at which the answer is set is not necessarily the transmittable timing. Therefore, the blind device 2a does not always reply first as in the case of the above-described answer signal, and the height information “lower limit” is set as the content from the blind devices 2a to 2e at the transmission management timing set as the answer. The response signal to be transmitted is actually transmitted.

そして、最初に送信された回答信号の個別番号82の値よりも大きな値の個別番号が割当てされたブラインド装置2a〜2eは、回答セットされておれば回答信号の送信を続けていくこととなる。また、複数装置が回答セットされている場合は上述のように送信開始タイミングが管理されて、無信号時間8m秒毎に個別番号の順番にて回答していく。   The blind devices 2a to 2e to which the individual number greater than the individual number 82 of the answer signal transmitted first is assigned will continue to transmit the answer signal if the answer is set. . When a plurality of devices are set as answers, the transmission start timing is managed as described above, and answers are made in the order of individual numbers every 8 msec of no-signal time.

なお、ブラインド装置2e(個別番号‘255’)からの回答信号を受信した時点で、初回回答個別番号レジスタ213は、回答信号の個別番号82は‘255’を指示すると検知されて(S40でYes)、初回回答個別番号レジスタ213には「1」がセット(S37)される。すなわち、個別番号‘1’のブラインド装置2aが未回答時はブラインド装置2aからの回答信号送信となる。その結果、最初に送信された回答信号の個別番号82の値よりも小さい値の個別番号が割当てられたブラインド装置2a〜2eであっても、回答信号の送信が実施され、個別番号82の値が‘1’から‘255’までの回答信号は、送信開始タイミングが管理されて混信なく配線3において送信されることとなる。   When the answer signal is received from the blind device 2e (individual number “255”), the initial answer individual number register 213 detects that the individual number 82 of the answer signal indicates “255” (Yes in S40). ), “1” is set in the initial reply individual number register 213 (S37). That is, when the blind device 2a with the individual number “1” has not yet been answered, a response signal is transmitted from the blind device 2a. As a result, even in the blind devices 2a to 2e to which the individual number smaller than the individual number 82 of the answer signal transmitted first is assigned, the answer signal is transmitted and the value of the individual number 82 is obtained. The response signals from “1” to “255” are transmitted on the wiring 3 without interference because the transmission start timing is managed.

なお、コントロール装置1では受信した回答信号の高さ情報83が指す値「下限」を、テーブル管理部61がブラインド装置管理テーブル113に回答信号の個別番号82が指すデータ毎に対応付けて格納(更新)する。全ブラインド装置が正常に下降動作を行い下限にて停止した場合は全ブラインド装置から、高さ情報83を「下限」とする回答信号が送信されてコントロール装置1にて受信され、そして受信した回答信号に基づき、ブラインド装置管理テーブル113の全ての個別番号‘1’〜‘255’に対応して「下限」のデータが格納される。   The control device 1 stores the value “lower limit” indicated by the received response signal height information 83 in association with each piece of data indicated by the response signal individual number 82 in the blind device management table 113 ( Update. When all the blind devices normally descend and stop at the lower limit, an answer signal with the height information 83 as “lower limit” is transmitted from all the blind devices, received by the control device 1, and the received answer Based on the signal, “lower limit” data is stored corresponding to all the individual numbers “1” to “255” in the blind device management table 113.

そして、上述したように40秒後には、再送信管理タイマ112がカウントアップし(S4でYes)、送信済信号は「下降」であると検知されて(S5)、ブラインド装置管理テーブル113の各個別番号に対応の高さ情報が全て「下限」を指すかが検知される(S7)。ここで、全てが「下限」を指すと検知されると(S7でYes)、S15において再送信管理タイマ112を「OFF」とするだけであるが、全てが「下限」を指さないと検知されると(S7でNo)、「下降」の操作信号が再送信セット(S12)されるともに再送信管理タイマ112を「OFF」とする。   Then, as described above, after 40 seconds, the retransmission management timer 112 counts up (Yes in S4), and it is detected that the transmitted signal is “down” (S5). It is detected whether all the height information corresponding to the individual number indicates the “lower limit” (S7). Here, if it is detected that all indicate the “lower limit” (Yes in S7), only the retransmission management timer 112 is set to “OFF” in S15, but it is detected that all do not indicate the “lower limit”. Then (No in S7), the “down” operation signal is set for retransmission (S12) and the retransmission management timer 112 is set to “OFF”.

なお、再送信管理タイマ112はOFFとなっていることから、再び再送信されることはなく、再送信は1回のみとなる。   Since the retransmission management timer 112 is OFF, it is not retransmitted again, and only one retransmission is performed.

次に、上昇操作をした場合のブラインド装置2a〜2e、およびコントロール装置1の動作について説明する。   Next, the operation of the blind devices 2a to 2e and the control device 1 when the ascending operation is performed will be described.

図8を参照して、コントロール装置1の上昇操作スイッチ12が操作されると(S1、S2)、上述の下降操作スイッチ13の操作時と同様にして、「上昇」の操作指示72を指す操作信号が配線3に送信され(S8および図9)、ブラインド装置2a〜2eは無信号管理カウンタ212を「0」リセット、無信号管理タイマ211を「0m秒」にリセットして、それぞれカウントを開始するとともに、駆動回路25を介して上昇動作を開始する。   Referring to FIG. 8, when the ascent operation switch 12 of the control device 1 is operated (S 1, S 2), the operation indicating the “increase” operation instruction 72 in the same manner as the operation of the above-described descend operation switch 13. A signal is transmitted to the wiring 3 (S8 and FIG. 9), and the blind devices 2a to 2e reset the no-signal management counter 212 to “0” and the no-signal management timer 211 to “0 ms”, and start counting. At the same time, the ascending operation is started via the drive circuit 25.

そして、同様に約30秒後には個別番号が‘1’であるブラインド装置2aからダミーの回答信号が送信される。   Similarly, after about 30 seconds, a dummy answer signal is transmitted from the blind device 2a whose individual number is “1”.

そして、同様に35秒後には上限スイッチ23がONになると、停止動作(S55)となり、ブラインド装置2a〜2eは上限位置にて停止し、高さ情報83が「上限」を指す回答信号を送信管理タイミングが一致したブラインド装置から送信していく。   Similarly, when the upper limit switch 23 is turned on after 35 seconds, the operation is stopped (S55), the blind devices 2a to 2e stop at the upper limit position, and the height information 83 transmits an answer signal indicating "upper limit". Transmission is performed from the blind device whose management timing matches.

また、同様に40秒後には、ブラインド装置管理テーブル113の全ての高さ情報が「上限」であるかの判別(S6)が実施される。ここで、全ブラインド装置の高さ情報が「上限」であると検知されると、再送信管理タイマ112を「OFF」とするだけであるが、全ブラインド装置の高さ情報が「上限」であることが検知されない場合には、「上昇」の操作信号が1回のみ再送信される。   Similarly, after 40 seconds, it is determined whether all the height information in the blind device management table 113 is “upper limit” (S6). Here, if it is detected that the height information of all the blind devices is “upper limit”, the retransmission management timer 112 is merely set to “OFF”, but the height information of all the blind devices is “upper limit”. If it is not detected, the “up” operation signal is retransmitted only once.

次に、停止操作した場合のブラインド装置2a〜2e、およびコントロール装置1の動作について説明する。   Next, operations of the blind devices 2a to 2e and the control device 1 when the stop operation is performed will be described.

コントロール装置1の停止操作スイッチ14が操作されると、上述の下降操作スイッチ13および上昇操作スイッチ12の操作時と同様にして、「停止」の操作指示72を指す操作信号が配線3に送信され、ブラインド装置2a〜2eは無信号管理カウンタ212を「0」リセット、無信号管理タイマ211を「0m秒」にリセットして、それぞれカウントを開始するとともに、駆動回路25を介して停止動作を開始する。すなわち、上述の下降動作または上昇動作中であった場合には、下降または上昇を中断し、下限と上限の中間に停止することとなる。   When the stop operation switch 14 of the control device 1 is operated, an operation signal indicating a “stop” operation instruction 72 is transmitted to the wiring 3 in the same manner as when the lower operation switch 13 and the upper operation switch 12 are operated. The blind devices 2a to 2e reset the no-signal management counter 212 to “0”, reset the no-signal management timer 211 to “0 msec”, start counting, and start the stop operation via the drive circuit 25, respectively. To do. That is, when the above-described descending operation or ascending operation is being performed, the descending or ascending operation is interrupted and stopped between the lower limit and the upper limit.

そして、回答信号の回答セット(S36)を行う。なお、上述の上昇操作および下降操作時と同様に初回回答個別番号レジスタ213の値は「1」に更新される。   Then, an answer signal answer set (S36) is performed. Note that the value of the initial reply individual number register 213 is updated to “1” in the same manner as in the above-described ascending operation and descending operation.

これらの回答セットはブラインド装置2a〜2eの全装置にて実施され、無信号時間が回答信号送信可能の8m秒後には全ブラインド装置において回答セットとなっており、また初回回答個別番号レジスタ213の値も「1」を指示することから、最初に個別番号が‘1’を指すブラインド装置2aから「上限」「下限」「中間」のいずれかを指す高さ情報83と「1」を指す個別番号82を内容とする回答信号が送信開始され、引き続いて無信号時間8m秒毎に個別番号が「255」であるブラインド装置2eまで順次送信が行なわれる。   These answer sets are executed in all the blind devices 2a to 2e, and after 8 milliseconds after the no-signal time is possible to transmit the answer signal, the answer sets are set in all the blind devices. Since the value also indicates “1”, the height information 83 indicating either “upper limit”, “lower limit”, or “intermediate” from the blind device 2a where the individual number indicates “1” first, and the individual indicating “1” A response signal having the content of the number 82 is started to be transmitted, and subsequently transmitted to the blind device 2e whose individual number is “255” every 8 msec of the no-signal time.

なお、「停止」操作信号の場合には再送信モードスイッチ15の設定に関係なく、再送信管理タイマ112をOFF(S15)とすることから、上述の上昇あるいは下降操作がされて昇降動作中であっても、操作信号の再送信をはしないこととなる。   In the case of a “stop” operation signal, regardless of the setting of the retransmission mode switch 15, the retransmission management timer 112 is turned off (S15). Even if it is, the operation signal is not retransmitted.

上述してきたように、コントロール装置1からの操作信号は、操作された時および操作信号どおりに昇降動作していない場合の再送信時のみであり、ブラインド装置2a〜2eからの回答信号は、ブラインド302の高さ情報が変化した場合、および回答信号を送信するに際して無信号時間が長くなった場合の無信号管理タイマ111、211のリセット用の1信号のみであり、不必要な通信を排除している。   As described above, the operation signal from the control device 1 is only when it is operated and when it is retransmitted when it is not moving up and down according to the operation signal, and the response signals from the blind devices 2a to 2e are blind. When there is a change in the height information 302, and when the no-signal time becomes long when the answer signal is transmitted, there is only one signal for resetting the no-signal management timers 111 and 211, eliminating unnecessary communication. ing.

さらに、コントロール装置1からの操作信号については、信号の通信直後を除いて常に送信可能とするとともに、ブラインド装置2a〜2eからの回答信号が連続している場合でも各回答信号毎の6m秒後に優先的に送信可能として、操作しても動作開始が遅れることがなく、良好な操作性が確保されている。また、ほぼ同じタイミングにて複数ブラインド装置から送信される回答信号については、操作信号を受信して初めて送信セットされることになるが、その操作信号の通信終了直後からの無信号時間を各ブラインド装置2a〜2eが管理して、単一の個別番号を元に重ならないように送信開始タイミングを管理しており確実な通信を実現している。さらに操作信号を受信してから回答までの経過時間が長くなる場合には、ダミーの回答信号を送信する(上述実施の形態では約30秒後に送信する)ことにより、無信号管理タイマのずれが大きくなって送信開始タイミングが重なるようになるのを防止している。   Furthermore, the operation signal from the control device 1 can always be transmitted except immediately after signal communication, and even if the response signals from the blind devices 2a to 2e are continuous, 6 ms after each response signal. Since transmission can be performed preferentially, even if an operation is performed, the start of operation is not delayed, and good operability is ensured. In addition, response signals transmitted from a plurality of blind devices at substantially the same timing are set for transmission only after receiving an operation signal. The devices 2a to 2e manage the transmission start timing so as not to overlap based on a single individual number, thereby realizing reliable communication. Furthermore, when the elapsed time from receiving the operation signal to the response becomes longer, a dummy response signal is transmitted (in the above embodiment, transmitted after about 30 seconds), so that the deviation of the no-signal management timer is reduced. This prevents the transmission start timing from becoming large and overlapping.

なお、上述の実施の形態では再送信の回数を1回としているが、2回、3回等の複数回とすることも可能である。   In the above-described embodiment, the number of retransmissions is set to one, but it is also possible to set the number of retransmissions to two or three times.

また、255台すべてが接続されていることを前提にテーブル管理部61はブラインド装置管理テーブル113の検索を行っているが、一部のブラインド装置に限定することも可能である。すなわち、ブラインド装置管理テーブル113に接続機器フラグデータを新設するとともに設定機能を追加すれば可能である。たとえば、図7の「―」が「接続機器フラグデータ」と等価である。   The table management unit 61 searches the blind device management table 113 on the assumption that all 255 devices are connected. However, the table management unit 61 can be limited to some blind devices. That is, it is possible by newly setting the connected device flag data in the blind device management table 113 and adding a setting function. For example, “-” in FIG. 7 is equivalent to “connected device flag data”.

再送信管理タイマ112のタイマアップ値をプログラムによる固定(上述実施の形態では40秒)値としているが、別途、外部操作可能な設定スイッチを設ければ、当該設定スイッチを操作してユーザが所望するような時間に可変設定することが可能である。   Although the timer-up value of the retransmission management timer 112 is a fixed value (40 seconds in the above embodiment) by a program, if a setting switch that can be operated externally is provided separately, the setting switch can be operated by the user. It is possible to variably set to such time.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

この発明の実施の形態に係る電動ブラインドシステムの全体構成を示す図である。It is a figure showing the whole electric blind system composition concerning an embodiment of this invention. 図1に示すコントロール装置の概略ブロック図である。It is a schematic block diagram of the control apparatus shown in FIG. 図1に示すコントロール装置の機能構成図である。It is a function block diagram of the control apparatus shown in FIG. 図1に示す各ブラインド装置の概略ブロック図である。It is a schematic block diagram of each blind apparatus shown in FIG. 図1に示す各ブラインド装置の機能構成図である。It is a function block diagram of each blind apparatus shown in FIG. (A)と(B)は本実施の形態に係る信号のフォーマットの一例を示す図である。(A) And (B) is a figure which shows an example of the format of the signal which concerns on this Embodiment. 本実施の形態に係るブラインド装置管理テーブルの内容例を示す図である。It is a figure which shows the example of the content of the blind apparatus management table which concerns on this Embodiment. 図2に示すコントロール装置の送信管理処理を示すフローチャートである。It is a flowchart which shows the transmission management process of the control apparatus shown in FIG. 図2に示すコントロール装置の0.5m秒タイマ割込処理を示すフロー図である。It is a flowchart which shows the 0.5 ms timer interruption process of the control apparatus shown in FIG. 図4に示すブラインド装置の受信信号解読処理を示すフロー図である。It is a flowchart which shows the received signal decoding process of the blind apparatus shown in FIG. 図4に示すブラインド装置の昇降動作中管理処理を示すフロー図である。It is a flowchart which shows the management process during the raising / lowering operation | movement of the blind apparatus shown in FIG. 図4に示すブラインド装置の0.5m秒タイマ割込処理を示すフロー図である。It is a flowchart which shows the 0.5 msec timer interruption process of the blind apparatus shown in FIG.

符号の説明Explanation of symbols

1 コントロール装置、2a〜2e ブラインド装置、3 配線、11,21 マイクロコンピュータ、12 上昇操作スイッチ、13 下降操作スイッチ、14 停止操作スイッチ、15 再送信モードスイッチ、16,26 送信回路、17,27 受信回路、22 個別番号スイッチ、23 上限スイッチ、24 下限スイッチ、25 駆動回路、111,211 無信号管理タイマ、112 再送信管理タイマ、113 ブラインド装置管理テーブル、213 初回回答個別番号レジスタ。   DESCRIPTION OF SYMBOLS 1 Control apparatus, 2a-2e Blind apparatus, 3 wiring, 11, 21 Microcomputer, 12 Ascending operation switch, 13 Decreasing operation switch, 14 Stop operation switch, 15 Retransmission mode switch, 16, 26 Transmission circuit, 17, 27 Reception Circuit, 22 Individual number switch, 23 Upper limit switch, 24 Lower limit switch, 25 Drive circuit, 111, 211 No signal management timer, 112 Retransmission management timer, 113 Blind device management table, 213 Initial response individual number register.

Claims (11)

双方向通信が可能な伝送路に接続されて、受信した操作信号に従い開閉動作するとともに回答信号を送信して状態を回答する複数の開閉装置と、
前記伝送路に接続されて前記操作信号を送信して前記複数の開閉装置を開閉操作するとともに、前記回答信号を受信して前記状態を管理するコントロール装置とを備え、
前記複数の開閉装置それぞれは、
予め自己を一意に識別するための機器番号を入力する番号入力手段と、
前記伝送路における伝送信号無し状態となり一定時間経過した後から前記回答信号を送信開始するための回答開始タイミングを決定する回答開始タイミング決定手段とを含み、
前記回答開始タイミング決定手段は、前記回答開始タイミングを、前記番号入力手段が入力する前記機器番号毎に異ならせる、電動開閉システム。
A plurality of switching devices connected to a transmission path capable of bidirectional communication, opening and closing in accordance with the received operation signal, and sending a reply signal to answer the state;
A control device that is connected to the transmission path and transmits the operation signal to open and close the plurality of opening and closing devices, and receives the answer signal and manages the state;
Each of the plurality of switching devices is
Number input means for inputting a device number for uniquely identifying self in advance;
Answer start timing determining means for determining an answer start timing for starting transmission of the answer signal after a predetermined time has elapsed in the transmission path without a transmission signal,
The answer start timing determining unit is an electric switching system in which the answer start timing is made different for each device number input by the number input unit.
前記複数の開閉装置それぞれは、さらにタイマを含み、
前記回答開始タイミング決定手段は、
前記伝送路における伝送信号無し状態となり前記タイマによって一定時間経過が検知された後の所定長さの期間内の所定タイミングを、前記回答開始タイミングに決定し、
前記所定長さの期間の開始タイミングは、前記番号入力手段が入力する前記機器番号毎に異なる、請求項1に記載の電動開閉システム。
Each of the plurality of switching devices further includes a timer,
The answer start timing determining means is:
A predetermined timing within a predetermined length of time after the passage of a predetermined time is detected by the timer and no transmission signal in the transmission path is determined as the answer start timing;
The electric opening and closing system according to claim 1, wherein the start timing of the period of the predetermined length is different for each device number input by the number input means.
前記複数の開閉装置それぞれには、前記機器番号の最小値から最大値まで順番に前記機器番号を割当て、
前記最大値の機器番号の次位に割当てられるべき前記機器番号は前記最小値の機器番号である、請求項1に記載の電動開閉システム。
Each of the plurality of switching devices is assigned the device number in order from the minimum value to the maximum value of the device number,
The electric switching system according to claim 1, wherein the device number to be assigned next to the maximum device number is the minimum device number.
前記複数の開閉装置それぞれは、
前記コントロール装置から前記伝送路に送信された前記操作信号と、前記複数の開閉装置から前記伝送路に送信された前記回答信号とを前記伝送路から受信する第1受信手段をさらに含み、
前記回答開始タイミング決定手段は、
前記第1受信手段によって信号を受信終了してからの経過時間と、自己の前記機器番号とを用いて、前記回答開始タイミングを算出する、請求項1記載の電動開閉システム。
Each of the plurality of switching devices is
A first receiving means for receiving from the transmission path the operation signal transmitted from the control device to the transmission path and the answer signal transmitted from the plurality of switching devices to the transmission path;
The answer start timing determining means is:
The electric switching system according to claim 1, wherein the answer start timing is calculated using an elapsed time after reception of the signal by the first receiving unit and the device number of the device itself.
前記コントロール装置は、
前記コントロール装置から前記伝送路に送信された前記操作信号と、前記複数の開閉装置から前記伝送路に送信された前記回答信号とを前記伝送路から受信する第2受信手段と、
前記第2受信手段によって信号を受信終了してからの経過時間に基づき、前記操作信号を前記伝送路に送信開始する操作開始可能タイミングを決定する操作開始可能タイミング決定手段とを含む、請求項1に記載の電動開閉システム。
The control device
A second receiving means for receiving from the transmission path the operation signal transmitted from the control device to the transmission path and the answer signal transmitted from the plurality of switching devices to the transmission path;
The operation start possible timing determination means which determines the operation start possible timing which starts transmission of the said operation signal to the said transmission line based on the elapsed time after completion | finish of signal reception by the said 2nd receiving means. The electric opening and closing system described in 1.
前記回答信号は、当該回答信号の送信元の前記開閉装置の前記機器番号を含み、
前記回答開始タイミング決定手段は、
前記第1受信手段によって前記回答信号を受信したとき、受信した前記回答信号に含まれた前記機器番号が指す初回機器番号と、前記第1受信手段によって当該回答信号を受信終了してからの経過時間と、自己の前記機器番号とを用いて、前記回答開始タイミングを算出する、請求項4に記載の電動開閉システム。
The answer signal includes the device number of the switchgear that is the source of the answer signal,
The answer start timing determining means is:
When the response signal is received by the first receiving means, the initial device number indicated by the device number included in the received response signal, and the process after the reception of the response signal by the first receiving means is completed. The electric switching system according to claim 4, wherein the answer start timing is calculated using time and the device number of the device.
前記回答開始タイミングを算出するために用いられる前記初回機器番号は、前記受信した回答信号に含まれる前記機器番号の次位の機器番号を指示する、請求項6に記載の電動開閉システム。   The electric switching system according to claim 6, wherein the initial device number used for calculating the answer start timing indicates a device number next to the device number included in the received answer signal. 前記受信した回答信号に含まれる前記機器番号が、前記複数の開閉装置に割当てされた最大値の機器番号を指すときは、前記次位の機器番号は、前記複数の開閉装置に割当てされた最小値の機器番号を指示する、請求項7に記載の電動開閉システム。   When the device number included in the received response signal indicates the maximum device number assigned to the plurality of switchgears, the next device number is the minimum assigned to the switchgears The electric switching system according to claim 7, wherein a device number of a value is indicated. 前記操作信号に従い前記開閉動作を開始した場合に、動作終了するまでに前記第1受信手段によって前記操作信号または前記回答信号を受信し受信終了から所定時間を経過したときに、前記回答信号を前記決定された回答開始タイミングに従い送信する、請求項4に記載の電動開閉システム。   When the opening / closing operation is started according to the operation signal, the operation signal or the response signal is received by the first receiving means until the operation is completed, and when the predetermined time has elapsed from the end of reception, the response signal is The electric switching system according to claim 4, wherein transmission is performed according to the determined answer start timing. 前記コントロール装置による前記操作信号を送信開始することが可能なタイミングは、前記回答開始タイミングよりも先行する、請求項1に記載の電動開閉システム。   The electric switching system according to claim 1, wherein a timing at which transmission of the operation signal by the control device can be started precedes the answer start timing. 前記複数の開閉装置それぞれは、
前記第1受信手段により受信した前記操作信号に従う前記開閉動作後の状態を指示する前記回答信号を前記伝送路に出力する回答信号送信手段と、
操作された前記機器番号が設定される機器番号設定手段と、
前記操作信号に従い前記開閉動作を行なわせるための駆動手段と、
前記駆動手段による開閉動作後の状態を検出する検出手段と、をさらに含み、
前記駆動手段による前記開閉動作終了時に、前記検出手段により検出された前記状態と、前記機器番号設定手段により設定された前記機器番号とを含む前記回答信号を、前記回答開始タイミングに従い前記伝送路に送信開始する、請求項4に記載の電動開閉システム。
Each of the plurality of switching devices is
Answer signal transmitting means for outputting the answer signal indicating the state after the opening / closing operation according to the operation signal received by the first receiving means to the transmission line;
A device number setting means for setting the operated device number;
Driving means for performing the opening and closing operation according to the operation signal;
Detecting means for detecting a state after the opening / closing operation by the driving means,
Upon completion of the opening / closing operation by the driving means, the answer signal including the state detected by the detecting means and the equipment number set by the equipment number setting means is sent to the transmission line according to the answer start timing. The electric switching system according to claim 4, wherein transmission is started.
JP2007271219A 2007-10-18 2007-10-18 Electric switching system Active JP4925125B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007271219A JP4925125B2 (en) 2007-10-18 2007-10-18 Electric switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007271219A JP4925125B2 (en) 2007-10-18 2007-10-18 Electric switching system

Publications (2)

Publication Number Publication Date
JP2009097267A true JP2009097267A (en) 2009-05-07
JP4925125B2 JP4925125B2 (en) 2012-04-25

Family

ID=40700531

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007271219A Active JP4925125B2 (en) 2007-10-18 2007-10-18 Electric switching system

Country Status (1)

Country Link
JP (1) JP4925125B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013503538A (en) * 2009-08-25 2013-01-31 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Remote control of multiple devices

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05122767A (en) * 1991-10-29 1993-05-18 Toshiba Corp Mortor opening and closing system
JPH09195644A (en) * 1996-01-24 1997-07-29 Sharp Corp Electric opening and closing device
JP2000345780A (en) * 1999-06-03 2000-12-12 Tachikawa Blind Mfg Co Ltd Control apparatus for electric blind
JP2007046400A (en) * 2005-08-12 2007-02-22 Nichibei Co Ltd Control system for electrically driven switching devices
JP2007162241A (en) * 2005-12-09 2007-06-28 Nichibei Co Ltd Control system for electric opening/closing equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05122767A (en) * 1991-10-29 1993-05-18 Toshiba Corp Mortor opening and closing system
JPH09195644A (en) * 1996-01-24 1997-07-29 Sharp Corp Electric opening and closing device
JP2000345780A (en) * 1999-06-03 2000-12-12 Tachikawa Blind Mfg Co Ltd Control apparatus for electric blind
JP2007046400A (en) * 2005-08-12 2007-02-22 Nichibei Co Ltd Control system for electrically driven switching devices
JP2007162241A (en) * 2005-12-09 2007-06-28 Nichibei Co Ltd Control system for electric opening/closing equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013503538A (en) * 2009-08-25 2013-01-31 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Remote control of multiple devices
US9251702B2 (en) 2009-08-25 2016-02-02 Koninklijke Philips N.V. Remote control of a plurality of devices

Also Published As

Publication number Publication date
JP4925125B2 (en) 2012-04-25

Similar Documents

Publication Publication Date Title
US10614647B2 (en) Remote transmission of barrier status and change of status over a network
JP4166156B2 (en) Method and system for transmitting a signal to a node of a system
US9967110B2 (en) Method and apparatus for registering remote network devices with a control device
US8330572B2 (en) Multiple barrier control system
AU2007201752B2 (en) Method of setting the storey associations of a plurality of operating units of a lift installation
JP5405430B2 (en) Method for forming a group from two-way objects
CA2468612A1 (en) Status signal method and apparatus for movable barrier operator and corresponding wireless remote control
US20110317835A1 (en) Method and Apparatus to Facilitate Wireline Transmission of an Encrypted Rolling Code
KR101545420B1 (en) Elevator guidance device
JP4925125B2 (en) Electric switching system
AU2011202656A1 (en) Method and apparatus to facilitate wireline transmission of an encrypted rolling code
ES2265526T3 (en) METHOD AND SYSTEM FOR THE TRANSMISSION OF SIGNS TO NODES IN A SYSTEM.
US20220286976A1 (en) Control device having an adaptive transmit power
KR102107450B1 (en) Blind invoked the upper/lowest limit switch using a magnet, and system practice a each and group control of the blind
JP2008089284A (en) Radio telecontrol system
KR100884555B1 (en) Remote control and display device
JP2000240375A (en) Control device for electric blind
JPH08210063A (en) Controller for motor-driven blind
JP2020114974A (en) Electric blind device and control method of the same
JP7221104B2 (en) opening and closing system
JP2002180771A (en) Central control type electric shutter device
JPH04153492A (en) Power-driven blind
JP2001040961A (en) Motor-driven closing system
JP2008150826A (en) Electric opening/closing system
JP2784119B2 (en) Electric switchgear

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100108

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110829

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120201

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

Free format text: PAYMENT UNTIL: 20150217

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4925125

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250