JP2022173942A - control system - Google Patents
control system Download PDFInfo
- Publication number
- JP2022173942A JP2022173942A JP2021080013A JP2021080013A JP2022173942A JP 2022173942 A JP2022173942 A JP 2022173942A JP 2021080013 A JP2021080013 A JP 2021080013A JP 2021080013 A JP2021080013 A JP 2021080013A JP 2022173942 A JP2022173942 A JP 2022173942A
- Authority
- JP
- Japan
- Prior art keywords
- address
- controller
- command
- terminal device
- address setting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 claims abstract description 82
- 238000012790 confirmation Methods 0.000 claims abstract description 46
- 230000004044 response Effects 0.000 claims abstract description 41
- 230000005540 biological transmission Effects 0.000 claims abstract description 11
- 238000010586 diagram Methods 0.000 description 16
- 230000015654 memory Effects 0.000 description 16
- 230000006870 function Effects 0.000 description 12
- 238000000034 method Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
本開示は、制御システムに関する。 The present disclosure relates to control systems.
特許文献1には、照明制御システムのアドレス設定方法が開示されている。この照明制御システムは、複数の照明器具と、この照明器具の点灯制御および機能設定を行うための命令信号を送信するコントローラを備える。照明制御システムは、さらに照明器具と信号線により接続され、コントローラから送信された命令信号を受信するとともに、信号線を介して照明器具に出力する複数の通信ユニットを備える。命令信号は照明器具に対する個別アドレスを含む。個別アドレスにより特定された照明器具が、命令信号に基づいて制御される。
照明器具のうち任意のものを交換しようとするとき、該照明器具に接続された通信ユニットの電源をオフ状態とすることにより、新たに設置した照明器具のアドレスとして交換前の照明器具に使用されていたアドレスをそのまま割り付ける。また、通信ユニットをオン状態にすることにより、新たに設置した照明器具のアドレスとして未使用のアドレスを割り付ける。 When any one of the lighting fixtures is to be replaced, by turning off the power of the communication unit connected to the lighting fixture, the address of the newly installed lighting fixture is used for the lighting fixture before replacement. Allocate the address as is. Also, by turning on the communication unit, an unused address is assigned as the address of the newly installed lighting fixture.
特許文献1では、通信ユニットの電源オン、オフにより、照明器具のアドレスが自動設定される。このアドレス設定方法では、電源のオン、オフが必要となる。このため、照明器具の台数に比例して、アドレス設定に要する時間が長くなるおそれがある。これにより、アドレス設定に要するコストが増大するおそれがある。
In
本開示は、上述の課題を解決するためになされたもので、容易にアドレスの設定が可能な制御システムを得ることを目的とする。 The present disclosure has been made to solve the above problems, and an object thereof is to obtain a control system in which addresses can be easily set.
本開示に係る制御システムは、複数の端末器と、前記複数の端末器を制御するコントローラと、を備え、前記複数の端末器は、通信線を介して前記コントローラに対して直列に接続され、前記コントローラは、前記通信線を介してアドレス設定確認コマンドを送信し、前記複数の端末器のうち何れかの端末器からアドレス未設定応答コマンドを受信すると、送信元の端末器にアドレスを付加したアドレス設定要求コマンドを送信し、前記アドレス設定要求コマンドを送信した後、再度、前記アドレス設定確認コマンドを送信し、前記複数の端末器の各々の端末器は、前記通信線を介して前記アドレス設定確認コマンドを受信すると、自身にアドレスが設定されている場合は前記アドレス設定確認コマンドを次の端末器に送信し、自身にアドレスが設定されていない場合は前記コントローラに前記アドレス未設定応答コマンドを送信し、前記コントローラから前記アドレス設定要求コマンドを受信すると、前記アドレス設定要求コマンドに付加された前記アドレスを自身のアドレスとして設定する。 A control system according to the present disclosure includes a plurality of terminal devices and a controller that controls the plurality of terminal devices, the plurality of terminal devices being connected in series to the controller via communication lines, The controller transmits an address setting confirmation command via the communication line, and when receiving an address unset response command from any one of the plurality of terminal devices, adds an address to the source terminal device. transmitting an address setting request command, transmitting the address setting request command, then transmitting the address setting confirmation command again, and transmitting the address setting confirmation command again; When the confirmation command is received, if the address is set to itself, the address setting confirmation command is transmitted to the next terminal device, and if the address is not set to itself, the address unset response command is sent to the controller. When the address setting request command is received from the controller, the address added to the address setting request command is set as its own address.
本開示に係る制御システムでは、アドレス設定確認コマンドの送信により、容易にアドレスを設定できる。 In the control system according to the present disclosure, the address can be easily set by sending the address setting confirmation command.
各実施の形態に係る制御システムについて図面を参照して説明する。同じ又は対応する構成要素には同じ符号を付し、説明の繰り返しを省略する場合がある。 A control system according to each embodiment will be described with reference to the drawings. The same reference numerals are given to the same or corresponding components, and repetition of description may be omitted.
実施の形態1.
図1は、実施の形態1に係る制御システム80の回路ブロック図である。制御システム80は、管理装置1、コントローラ20、複数の端末器30を備える。管理装置1は、例えばパソコンで構成される。管理装置1は、制御システム80全体の状態監視および設定を行う。管理装置1とコントローラ20とは、有線又は無線の通信網であるLAN(Local Area Network)8を介して接続されている。LANは例えばEthernet(登録商標)である。
FIG. 1 is a circuit block diagram of a
コントローラ20には、固有のIP(Internet Protocol)アドレスが割り当てられる。コントローラ20は設定されたIPアドレスにより識別される。管理装置1からの制御信号は、LAN8を介して、コントローラ20の動作を制御する。
A unique IP (Internet Protocol) address is assigned to the
コントローラ20は、通信線7を介して複数の端末器30、図示しない壁スイッチ等と通信を行う。コントローラ20には、渡り配線で接続された通信線7を介して複数の端末器30が接続されている。複数の端末器30は、通信線7を介してコントローラ20に対して直列に接続されている。図1では端末器30として3台の端末器30a~30cが示されているが、コントローラ20に接続される端末器30は1台以上であればよい。コントローラ20は通信線7を介して接続された機器との間で、伝送信号を送信および受信する。伝送信号には、例えばアドレスデータおよび制御データが含まれる。これにより、コントローラ20は端末器30を制御する。
The
端末器30a~30cには、それぞれ固有のアドレスが割り当てられる。端末器30a~30cは、設定されたアドレスにより識別される。端末器30aには複数の負荷40が接続されている。負荷40は例えば照明器具である。端末器30aは負荷40の動作を制御する。端末器30bは通信機能付きの照明器具である。端末器30cは人感センサである。管理装置1およびコントローラ20は、端末器30a~30cと通信し、端末器30aに負荷40の動作を制御させる。
A unique address is assigned to each of the
図2は、実施の形態1に係るコントローラ20の機能ブロック図である。図3は、実施の形態1に係るコントローラ20のハードウェア構成図である。コントローラ20は、通信部21、比較部22、記憶部23および解析部24を備える。記憶部23は、図3におけるメモリ28に該当する。記憶部23には、コントローラ20での制御に用いられるソフトウェアおよび設定等が保管される。
FIG. 2 is a functional block diagram of
通信部21は、LAN8を介して管理装置1と制御信号を送受信する。比較部22は、管理装置1からの制御信号に含まれるアドレスデータをコントローラ20のアドレスと比較する。制御信号のアドレスデータとコントローラ20に設定されたIPアドレスが一致したと比較部22が判定した場合、コントローラ20は制御信号に応じた制御を実行する。また、解析部24は、自身にアドレスが付与されているか否かを判別する。解析部24は、送信されたアドレスデータが正常か否かを判別しても良い。
The
また、通信部21は、通信線7を介して端末器30a~30cと制御データを送受信する。比較部22は、端末器30からの伝送信号に含まれるアドレスデータをコントローラ20のアドレスと比較する。伝送信号のアドレスデータとコントローラ20に設定されたアドレスが一致したと比較部22が判定した場合、コントローラ20は伝送信号に応じた制御を実行する。
Also, the
図4は、実施の形態1に係る端末器30の機能ブロック図である。図5は、実施の形態1に係る端末器30のハードウェア構成図である。ここでは、端末器30a~30cに共通する構成について説明する。端末器30は、通信部31、比較部32、記憶部33および解析部34を備える。記憶部33は、図5におけるメモリ38に該当する。記憶部33には、端末器30での制御に用いられるソフトウェアおよび設定等が保管される。
FIG. 4 is a functional block diagram of
通信部31は、通信線7を介してコントローラ20および他の端末器30と制御データを送受信する。比較部32は、コントローラ20または他の端末器30からの伝送信号に含まれるアドレスデータを自身のアドレスと比較する。伝送信号のアドレスデータと自身のアドレスが一致したと比較部32が判定した場合、端末器30は伝送信号に応じた制御を実行する。解析部34は、自身にアドレスが付与されているか否かを判別する。また、解析部34は、送信されたアドレスデータが正常か否かを判別しても良い。
The
通信部21、比較部22および解析部24の機能は、図3に示されるプロセッサ27等の制御装置により実現される。同様に、通信部31、比較部32および解析部34の機能は、図5に示されるプロセッサ37等の制御装置により実現される。制御装置は、専用のハードウェアであっても良い。また、制御装置は、メモリに格納されるプログラムを実行するCPU(Central Processing Unit)であっても良い。CPUは中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサ、DSP(Digital Signal Processor)とも呼ばれる。
Functions of the
制御装置が専用のハードウェアである場合、制御装置は、例えば、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサであっても良い。また、制御装置は、ASIC(Application Specific Integrated Circuit)またはFPGA(Field-Programmable Gate Array)であっても良い。さらに、制御装置は、これらを組み合わせたものであっても良い。また、コントローラ20または端末器30において、通信部、比較部および解析部の各部の機能それぞれを、別個の制御装置で実現しても良い。また、各部の機能をまとめて1つの制御装置で実現しても良い。
Where the controller is dedicated hardware, the controller may be, for example, a single circuit, multiple circuits, a programmed processor, a parallel programmed processor. Also, the controller may be an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array). Furthermore, the controller may be a combination of these. Further, in the
制御装置がCPUの場合、通信部21、31、比較部22、32および解析部24、34の機能は、ソフトウェア、ファームウェア、またはソフトウェアとファームウェアとの組み合わせにより実現される。ソフトウェアおよびファームウェアはプログラムとして記述され、メモリ28、38に格納される。制御装置は、メモリ28、38に記憶されたプログラムを読み出して実行することにより、各部の機能を実現する。
When the control device is a CPU, the functions of the
すなわちメモリ28には、後述するように、端末器30にアドレス設定確認コマンドおよびアドレス設定要求コマンドを送信するプログラム等が格納される。また、メモリ38には、他の端末器30にアドレス設定確認コマンドを送信するプログラム、および、コントローラ20にアドレス未設定応答コマンドを送信するプログラム等が格納される。これらのプログラムは、通信部21、31、比較部22、32、記憶部23、33および解析部24、34の手順または方法をコンピュータに実行させるものであるともいえる。
That is, the
ここで、メモリ28、38は、RAM、ROM、フラッシュメモリ、EPROM、EEPROM等の不揮発性または揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVD等であってもよい。RAMはRandom Access Memoryの略称である。ROMはRead Only Memoryの略称である。EPROMはErasable Programmable Read Only Memoryの略称である。EEPROMはElectrically Erasable Programmable Read-Only Memoryの略称である。
Here, the
なお、通信部21、比較部22および解析部24の各機能について、一部を専用のハードウェアで実現し、一部をソフトウェアまたはファームウェアで実現するようにしてもよい。例えば、通信部21、比較部22については専用のハードウェアとしての制御装置でその機能を実現し、解析部24については制御装置がメモリ28に格納されたプログラムを読み出して実行することによってその機能を実現することが可能である。通信部31、比較部32および解析部34についても同様である。
Note that the functions of the
このように、制御装置は、ハードウェア、ソフトウェア、ファームウェア、またはこれらの組み合わせによって、上述の各機能を実現することができる。 Thus, the controller can implement each of the functions described above by means of hardware, software, firmware, or a combination thereof.
管理装置1からの制御信号は、例えばアドレス設定モードを制御する信号である。アドレス設定モードには、後述するようにアドレス設定自動モードとアドレス設定手動モードがある。これに限らず、制御信号は、端末器30の負荷40を制御する信号であっても良い。また、制御信号は、コントローラ20にパラメータを設定する信号であっても良い。制御信号には、管理装置1とコントローラ20との間で送受信されるあらゆる信号が含まれる。
A control signal from the
本実施の形態では、アドレス設定自動モードでのアドレス設定方法について説明する。図6は、実施の形態1に係るアドレス設定自動モードでの通信シーケンスを示す図である。なお、図6では便宜上、比較部22、32の動作が省略されている。
In this embodiment, an address setting method in the address setting automatic mode will be described. 6 is a diagram showing a communication sequence in the address setting automatic mode according to
管理装置1からコントローラ20にアドレス設定自動モード要求コマンドの制御信号が送信されたとする。アドレス設定自動モード要求コマンドに応じて、コントローラ20は、通信線7を介して端末器30aにアドレス設定確認コマンドを送信する。ここでは、初期状態として、端末器30aはアドレス設定済みであり、端末器30bはアドレス未設定であるものとする。
Assume that the control signal of the address setting automatic mode request command is transmitted from the
端末器30aは、入力側の通信線7を介してコントローラ20と接続され、出力側の通信線7を介して端末器30bと接続されている。端末器30aの解析部34は、アドレス設定確認コマンドを受信すると、自身のアドレスを取得する。ステップS1に示されるように、端末器30aは、自身にアドレスが設定されている場合にアドレス設定確認コマンドを受信すると、出力側の通信線7を開通させ、アドレス設定確認コマンドを次の端末器30bに送信する。
The
ここでは、端末器30aがアドレス設定済みである例を示したが、端末器30b、30cがアドレス設定済みである場合も、同様の動作が実行される。つまり、複数の端末器30の各々は、通信線7を介してアドレス設定確認コマンドを受信すると、自身にアドレスが設定されている場合は、アドレス設定確認コマンドを、通信線7を介して次の端末器30に送信する。この際、端末器30は、自身と次の端末器30を接続する通信線7を開通させて、アドレス設定確認コマンドを次の端末器30に送信する。
Here, an example in which the address has been set for the terminal 30a has been shown, but similar operations are performed when the addresses have been set for the
端末器30bは、入力側の通信線7を介して端末器30aと接続され、出力側の通信線7を介して端末器30cと接続されている。端末器30bの解析部34は、アドレス設定確認コマンドを受信すると、自身のアドレスを取得する。ステップS2に示されるように、端末器30bは、自身にアドレスが設定されていない場合にアドレス設定確認コマンドを受信すると、出力側の通信線7を遮断する。また、端末器30bの通信部31は、アドレス設定確認コマンドを送信しない。
The
さらに端末器30bの通信部31は、自身にアドレスが設定されていない場合は、通信線7を介してコントローラ20にアドレス未設定応答コマンドを送信する。この時点で、端末器30bとコントローラ20との間の通信線7は開通されているので、端末器30bはアドレス未設定応答コマンドを送信することができる。このとき端末器30bは、自身のアドレス種別を付加してアドレス未設定応答コマンドを送信しても良い。この場合、アドレス種別は照明器具となる。
Further, the
ここでは、端末器30bがアドレス未設定である例を示したが、端末器30a、30cがアドレス未設定である場合も、同様の動作が実行される。つまり、複数の端末器30の各々は、通信線7を介してアドレス設定確認コマンドを受信すると、自身にアドレスが設定されていない場合は、コントローラ20にアドレス未設定応答コマンドを送信する。この際、端末器30は、自身と次の端末器30を接続する通信線7を遮断する。
Although an example in which the terminal 30b has no address set is shown here, the same operation is performed when the
なお、端部に接続された端末器30について、出力側の通信線7が無い場合、出力側の通信線7の開通および遮断は行わず、アドレス設定確認コマンドの送信は行わない。
If the
次に、端末器30bからコントローラ20にアドレス未設定応答コマンドが送信されたとする。ステップS3に示されるようにコントローラ20は、アドレス未設定応答コマンドを受信すると、アドレスを生成して、端末器30bにアドレス設定要求コマンドを送信する。コントローラ20は、例えばアドレス未設定応答コマンドに付加されたアドレス種別に対して未使用のアドレスのうち、最も番号が小さいアドレスを抽出する。コントローラ20は、抽出された最若番のアドレスを付加して、端末器30bにアドレス設定要求コマンドを送信する。
Next, it is assumed that an address unset response command is transmitted from the
コントローラ20が、端末器30a、30cからアドレス未設定応答コマンドを受信した場合にも同様の動作が行われる。つまり、コントローラ20は、何れかの端末器30からアドレス未設定応答コマンドを受信すると、送信元の端末器30にアドレスを付加したアドレス設定要求コマンドを送信する。
A similar operation is performed when the
次に、ステップS4に示されるように、端末器30bの解析部34は、コントローラ20からアドレス設定要求コマンドを受信すると、アドレス設定要求コマンドに付加されたアドレスを自身のアドレスとして設定する。ここでは、端末器30bに例えばアドレス1が設定される。なお、アドレス設定済みの端末器30aは、アドレス設定要求コマンドを無視しても良い。
Next, as shown in step S4, upon receiving the address setting request command from the
ここでは端末器30bについて説明したが、端末器30a、30cがアドレス未設定でありアドレス設定要求コマンドを受信した場合にも同様の動作が行われる。つまり、各端末器30は、自身にアドレスが設定されていない場合にコントローラ20からアドレス設定要求コマンドを受信すると、アドレス設定要求コマンドに付加されたアドレスを自身のアドレスとして設定する。
Although the
次に、ステップS5に示されるように、端末器30bの解析部34は、自身にアドレスが設定されたため、出力側の通信線7を開通させる。なお、端末器30bは、次にアドレス設定確認コマンドを受信した際に、出力側の通信線7を開通させても良い。端末器30a、30cにアドレスが設定された場合についても同様の動作が実行される。
Next, as shown in step S5, the
ステップS6に示されるように、照明器具である端末器30bは、コントローラ20からアドレス設定要求コマンドを受信して、アドレスが設定されると、点灯状態を変更しても良い。これにより、端末器30bは自身にアドレスが設定されたことを使用者に通知できる。端末器30bは、例えば照明器具が点灯していた場合は消灯させ、照明器具が消灯していた場合は点灯させても良い。このような制御は、端末器30aにアドレスが設定された場合に、端末器30aの負荷40である照明器具により実施されても良い。
As shown in step S6, the
さらに、端末器30bの通信部31は、コントローラ20にアドレス設定応答コマンドを送信する。端末器30a、30cにアドレスが設定された場合の動作も同様である。
Further, the
コントローラ20は、アドレス設定要求コマンドを送信した後、アドレス設定応答コマンドを受信すると、再度、通信線7を介してアドレス設定確認コマンドを送信する。つまり、コントローラ20は、全ての端末器30からアドレス未設定応答コマンドを受信しなくなるまで、アドレス設定確認コマンドの送信を繰り返し行う。これにより、アドレス未設定応答コマンドが無くなるまで、ステップS1~S6は繰り返される。
When the
次にコントローラ20がアドレス設定確認コマンドを送信した際には、端末器30bの出力側の通信線7が開通しているため、アドレス設定確認コマンドは端末器30cに到達する。端末器30cはアドレス設定確認コマンドを受信すると、自身にアドレスが設定されている場合は、アドレス設定確認コマンドを出力側の通信線7に接続された次の端末器30に送信する。端末器30cは、自身にアドレスが設定されていない場合は、コントローラ20にアドレス未設定応答コマンドを送信する。端末器30cは、コントローラ20からアドレス設定要求コマンドを受信すると、アドレス設定要求コマンドに付加されたアドレスを自身のアドレスとして設定する。
Next, when the
すべての端末器30にアドレスが設定されたあと、コントローラ20は管理装置1にアドレス設定自動モード応答コマンドを送信する。
After the addresses are set to all the
図7は、実施の形態1に係る制御システム80のアドレス設定前とアドレス設定後の状態を示す図である。アドレス設定前は端末器30b、30cのアドレスが未設定であり、端末器30bと端末器30cを繋ぐ通信線7が遮断されている。アドレス設定後は、全ての端末器30のアドレスが設定済みであり、複数の端末器30と繋ぐ通信線7が開通されている。
7A and 7B are diagrams showing states before and after address setting of the
本実施の形態のような制御システムにおいて、端末器の設置台数または管理台数は、例えば電源供給量で決定される。端末器のアドレス設定を1台毎に手動で行う場合、端末器の台数に比例してアドレス設定に時間を要し、コストが増大するおそれがあった。 In a control system like this embodiment, the number of installed or managed terminals is determined by, for example, the amount of power supply. If the address setting of each terminal is manually performed, it takes time to set the address in proportion to the number of terminals, which may increase the cost.
これに対し本実施の形態では、アドレス設定確認コマンドの送信により、容易にアドレスを設定できる。つまり、管理装置1およびコントローラ20による制御により、通信線7が接続されている端末器30であればアドレスを自動で設定できる。また、本実施の形態では、アドレス設定に伴い通信線7が開通して、次の端末器30にアドレス設定確認コマンドが送信される。このため、全ての端末器30にアドレスが設定された状態では、端末器30同士を繋ぐ通信線7が開通している。従って、全ての機器が工場出荷状態等のアドレス未設定の状態であった場合にも、アドレス設定に加え配線チェック作業を併せて行うことができる。これにより、作業者の負担を軽減することができる。
On the other hand, in this embodiment, the address can be easily set by sending the address setting confirmation command. In other words, under the control of the
本実施の形態の変形例として、コントローラ20が生成するアドレスは最若番に限定されず、任意のアドレスであって良い。また、コントローラ20は、アドレス設定確認コマンドを送信する際、端末器30a~30cに対してブロードキャストで送信しても良い。また、端末器30a~30cは、出力側の通信線7を遮断した際、照明器具を点滅させても良い。
As a modification of this embodiment, the address generated by the
また、複数の端末器30は、通信線7での接続および通信が可能であれば図1に示されるものに限定されない。例えば、複数の端末器30は人感センサ以外のセンサを含んでも良い。
Further, the plurality of
これらの変形は、以下の実施の形態に係る制御システムについて適宜応用することができる。なお、以下の実施の形態に係る制御システムについては実施の形態1との共通点が多いので、実施の形態1との相違点を中心に説明する。 These modifications can be appropriately applied to control systems according to the following embodiments. Since the control system according to the following embodiment has many points in common with the first embodiment, the differences from the first embodiment will be mainly described.
実施の形態2.
本実施の形態では、アドレス設定手動モードでのアドレス設定方法について説明する。図8は、実施の形態2に係るアドレス設定手動モードでの通信シーケンスを示す図である。なお、図8では便宜上、比較部22、32の動作が省略されている。
Embodiment 2.
In this embodiment, an address setting method in the address setting manual mode will be described. FIG. 8 is a diagram showing a communication sequence in the address setting manual mode according to the second embodiment. Note that the operations of the
管理装置1からコントローラ20にアドレス設定手動モード要求コマンドの制御信号が送信されたとする。アドレス設定手動モード要求コマンドに応じて、コントローラ20は通信線7を介してアドレス設定確認コマンドを送信する。ここでは初期状態として、端末器30aはアドレス設定済みであり、端末器30bはアドレス未設定であるものとする。
Assume that the control signal of the address setting manual mode request command is transmitted from the
ステップS11に示されるように、端末器30aの解析部34は、アドレス設定確認コマンドを受信すると自身のアドレスを取得する。端末器30aはアドレス設定済みのため、出力側の通信線7を開通する。また、端末器30aの通信部31は、アドレス設定確認コマンドを端末器30bに送信する。
As shown in step S11, the
次に、ステップS12に示されるように、端末器30bの解析部34はアドレス設定確認コマンドを受信すると、自身のアドレスを取得する。端末器30bはアドレス未設定のため、出力側の通信線7を遮断する。また、端末器30bの通信部31は、アドレス設定確認コマンドを送信しない。さらに、端末器30bの通信部31は、アドレス種別を照明器具とするパラメータを付加して、アドレス未設定応答コマンドをコントローラ20に送信する。
Next, as shown in step S12, when the
コントローラ20は、アドレス未設定応答コマンドを受信すると、アドレス未設定応答コマンドを管理装置1に送信する。
Upon receiving the address unset response command, the
次に、ステップS13に示されるように、管理装置1は、アドレス未設定応答コマンドを受信すると、アドレスを生成してコントローラ20に送信する。具体的には、管理装置1は、アドレス未設定応答コマンドに付加されたアドレス種別に対して未使用のアドレスから、任意のアドレスを抽出する。管理装置1は、抽出したアドレスを付加して、コントローラ20にアドレス設定要求コマンドを送信する。ここでは、アドレス5が抽出されたものとする。
Next, as shown in step S<b>13 , when receiving the address unset response command, the
次に、コントローラ20は、管理装置1から受信したアドレスを付加して、端末器30bにアドレス設定要求コマンドを送信する。
Next, the
次に、ステップS14に示されるように、端末器30bの解析部34はアドレス設定要求コマンドを受信すると、付加されたアドレスを自身のアドレスとして設定する。
Next, as shown in step S14, when the
次に、ステップS15に示されるように、端末器30bの解析部34は、自身にアドレスが設定されたため、出力側の通信線7を開通する。
Next, as shown in step S15, the
次に、ステップS16に示されるように、端末器30bの解析部34は、自身にアドレスが設定されたことを示すため、点灯状態を変更する。さらに、端末器30bの通信部31は、コントローラ20にアドレス設定応答コマンドを送信する。
Next, as shown in step S16, the
次に、コントローラ20は、端末器30bからアドレス設定応答コマンドを受信すると、管理装置1にアドレス設定応答コマンドを送信する。
Next, when the
管理装置1は、アドレス設定要求コマンドを送信した後、アドレス設定応答コマンドを受信すると、再度、アドレス設定手動モード要求コマンドを送信する。つまり、管理装置1は、全ての端末器30からのアドレス未設定応答コマンドを受信しなくなるまで、アドレス設定手動モード要求コマンドの送信を繰り返し行う。これにより、アドレス未設定応答コマンドが無くなるまで、ステップS11~S16は繰り返される。
When the
なお、作業者が管理装置1を操作して、アドレスを任意に設定しても良い。また、アドレス設定手動モード要求コマンドは、作業者が管理装置1を操作して送信しても良い。
Note that the operator may operate the
なお、各実施の形態で説明した技術的特徴は適宜に組み合わせて用いても良い。 Note that the technical features described in each embodiment may be used in combination as appropriate.
1 管理装置、7 通信線、20 コントローラ、21 通信部、22 比較部、23 記憶部、24 解析部、27 プロセッサ、28 メモリ、30 端末器、30a 端末器、30b 端末器、30c 端末器、31 通信部、32 比較部、33 記憶部、34 解析部、37 プロセッサ、38 メモリ、40 負荷、80 制御システム
Claims (8)
前記複数の端末器を制御するコントローラと、
を備え、
前記複数の端末器は、通信線を介して前記コントローラに対して直列に接続され、
前記コントローラは、前記通信線を介してアドレス設定確認コマンドを送信し、前記複数の端末器のうち何れかの端末器からアドレス未設定応答コマンドを受信すると、送信元の端末器にアドレスを付加したアドレス設定要求コマンドを送信し、前記アドレス設定要求コマンドを送信した後、再度、前記アドレス設定確認コマンドを送信し、
前記複数の端末器の各々の端末器は、前記通信線を介して前記アドレス設定確認コマンドを受信すると、自身にアドレスが設定されている場合は前記アドレス設定確認コマンドを次の端末器に送信し、自身にアドレスが設定されていない場合は前記コントローラに前記アドレス未設定応答コマンドを送信し、前記コントローラから前記アドレス設定要求コマンドを受信すると、前記アドレス設定要求コマンドに付加された前記アドレスを自身のアドレスとして設定することを特徴とする制御システム。 a plurality of terminals;
a controller that controls the plurality of terminals;
with
The plurality of terminal devices are connected in series to the controller via communication lines,
The controller transmits an address setting confirmation command via the communication line, and when receiving an address unset response command from any one of the plurality of terminal devices, adds an address to the source terminal device. transmitting an address setting request command, and after transmitting the address setting request command, transmitting the address setting confirmation command again;
Each of the plurality of terminal devices, when receiving the address setting confirmation command via the communication line, transmits the address setting confirmation command to the next terminal device if an address is set to itself. When the address is not set to itself, it transmits the address unset response command to the controller, and when it receives the address setting request command from the controller, it transmits the address added to the address setting request command to itself. A control system characterized by setting as an address.
前記コントローラは、前記アドレス未設定応答コマンドに付加された前記アドレス種別に対して未使用のアドレスのうち、最も番号が小さいアドレスを付加して前記アドレス設定要求コマンドを送信することを特徴とする請求項4に記載の制御システム。 The terminal device adds its own address type and transmits the address unset response command,
The controller transmits the address setting request command by adding an address with the smallest number among unused addresses to the address type added to the address unset response command. Item 5. The control system according to item 4.
前記コントローラは、前記アドレス未設定応答コマンドを受信すると、前記アドレス未設定応答コマンドを前記管理装置に送信し、前記管理装置から受信した前記アドレスを付加して前記アドレス設定要求コマンドを送信し、
前記管理装置は、前記アドレス未設定応答コマンドを受信すると、前記アドレスを生成して前記コントローラに送信することを特徴とする請求項1から3の何れか1項に記載の制御システム。 A management device that controls the controller,
When the controller receives the address unset response command, the controller transmits the address unset response command to the management device, adds the address received from the management device, and transmits the address setting request command,
4. The control system according to any one of claims 1 to 3, wherein the management device generates the address and transmits it to the controller when the address unset response command is received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021080013A JP2022173942A (en) | 2021-05-10 | 2021-05-10 | control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021080013A JP2022173942A (en) | 2021-05-10 | 2021-05-10 | control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022173942A true JP2022173942A (en) | 2022-11-22 |
Family
ID=84144453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021080013A Pending JP2022173942A (en) | 2021-05-10 | 2021-05-10 | control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022173942A (en) |
-
2021
- 2021-05-10 JP JP2021080013A patent/JP2022173942A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7126291B2 (en) | Radio frequency lighting control system programming device and method | |
US9832844B2 (en) | System for configuring a lighting control device or the like in a network of lighting control devices | |
US20220404814A1 (en) | Remote Activation of the Wireless Service Interface of a Control Device Via a Radio Interface | |
US11880191B2 (en) | Remote activation of the wireless service interface of a control device via a bus system | |
JP2022173942A (en) | control system | |
JP2020187486A (en) | Control apparatus | |
US20210029202A1 (en) | Provisioning multiple cloud-based services to control devices | |
KR102057541B1 (en) | Programmable switching system | |
JPH06269068A (en) | Remote monitor system | |
JP2022164873A (en) | Illumination control system | |
JP5457804B2 (en) | Lighting control system | |
JP5505017B2 (en) | Lighting control system | |
KR102343977B1 (en) | Communication device for lighting control and communication system | |
JP7505240B2 (en) | Control Systems and Equipment | |
JP2004185877A (en) | Lighting control system | |
KR20080060766A (en) | Building management system and its controling method | |
KR20140096776A (en) | Binding System for Programming Switch and method thereof | |
JP2005086449A (en) | Terminal device, repeating device, and terminal control system | |
JP2005051507A (en) | Communication system and address setup method therefor | |
KR102120016B1 (en) | System and method for controlling multi-drop network device, and server and computer program for the same | |
AU2006316783B2 (en) | Configuration method for devices with virtual configurators | |
JP7419851B2 (en) | lighting control system | |
JP2022164424A (en) | Communication device, communication control system, lighting system, and lighting control system | |
JP2020005035A (en) | Gateway device, device management system, communication method, and program | |
KR20170106797A (en) | Plc module and plc system for firmware multiple download and method for firmware multiple download using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240417 |