JP6938787B2 - Control / monitoring signal transmission system slave station survival confirmation method - Google Patents

Control / monitoring signal transmission system slave station survival confirmation method Download PDF

Info

Publication number
JP6938787B2
JP6938787B2 JP2020525190A JP2020525190A JP6938787B2 JP 6938787 B2 JP6938787 B2 JP 6938787B2 JP 2020525190 A JP2020525190 A JP 2020525190A JP 2020525190 A JP2020525190 A JP 2020525190A JP 6938787 B2 JP6938787 B2 JP 6938787B2
Authority
JP
Japan
Prior art keywords
temporary address
slave station
data
address
station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020525190A
Other languages
Japanese (ja)
Other versions
JPWO2019244332A1 (en
Inventor
濱中 淳一
淳一 濱中
一夫 井谷
一夫 井谷
Original Assignee
株式会社 エニイワイヤ
株式会社 エニイワイヤ
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 株式会社 エニイワイヤ, 株式会社 エニイワイヤ filed Critical 株式会社 エニイワイヤ
Publication of JPWO2019244332A1 publication Critical patent/JPWO2019244332A1/en
Application granted granted Critical
Publication of JP6938787B2 publication Critical patent/JP6938787B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Selective Calling Equipment (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、制御側に設けられた親局と被制御側に設けられた複数の子局との間の信号線を省配線化し、共通の伝送線で接続し、伝送クロックで同期させるなどの伝送同期方式によりデータの伝送を行う制御・監視信号伝送システムにおいて、子局の生存を確認する方式に関するものである。 In the present invention, the signal line between the master station provided on the control side and the plurality of slave stations provided on the controlled side is reduced in wiring, connected by a common transmission line, and synchronized by a transmission clock. It relates to a method for confirming the survival of a slave station in a control / monitoring signal transmission system that transmits data by a transmission synchronization method.

制御部と、複数の出力部と入力部、或いは複数の被制御装置を備える制御システムにおいて、配線の数を減らす、所謂省配線化が広く実施されている。そして、その省配線化の一般的な手法として、複数の出力部と入力部、或いは被制御装置から延出される信号線の各々を制御部に直接繋ぐパラレル接続に代えて、パラレル信号とシリアル信号の変換機能を備えた親局と複数の子局を、制御部と複数の出力部と入力部、或いは複数の被制御装置にそれぞれ接続し、親局と複数の子局との間で共通データ信号線を介してシリアル信号によりデータ授受を行う方式が広く採用されている。 In a control system including a control unit, a plurality of output units and an input unit, or a plurality of controlled devices, so-called wiring saving, which reduces the number of wirings, is widely implemented. Then, as a general method for saving wiring, a parallel signal and a serial signal are replaced with a parallel connection in which each of a plurality of output units and input units or signal lines extending from a controlled device are directly connected to the control unit. A master station and a plurality of slave stations having a conversion function of are connected to a control unit and a plurality of output units and an input unit, or a plurality of controlled devices, respectively, and common data is shared between the master station and a plurality of slave stations. A method of exchanging data by a serial signal via a signal line is widely adopted.

ところが、多数の子局が接続され省配線化されたシステムにおいては、子局から送信されるデータの内容によっては、子局とのデータの送受信が正常であること、すなわち、子局がシステムにおいて生存していることを制御部側で確認できない場合がある。例えば、センサ検出が有ったことを示すデータのみが送信され、センサ検出が無いときには何らのデータも送信されない場合には、データを受信しない状態が続いている原因が、センサ検出の無いことによるものなのか、子局が生存していないことによるものなのか、制御部側で判別することができず、子局の生存を確認できなかった。そして、そのような場合には、制御部から遠く離れている子局を各々チェックする必要があり、多くの工数や時間を要する問題がある。 However, in a system in which a large number of slave stations are connected and wiring is saved, depending on the content of the data transmitted from the slave station, data transmission / reception with the slave station is normal, that is, the slave station survives in the system. It may not be possible for the control unit to confirm that this is the case. For example, if only the data indicating that the sensor was detected is transmitted and no data is transmitted when there is no sensor detection, the cause of the continuous state of not receiving the data is due to the absence of the sensor detection. The control unit could not determine whether it was due to the fact that the slave station was not alive, and the survival of the slave station could not be confirmed. In such a case, it is necessary to check each slave station far away from the control unit, which causes a problem that requires a lot of man-hours and time.

そこで、本出願人は、特許第4933686号公報において、子局とのデータの送受信に不具合を引き起こす原因の一つとなっている伝送ラインの断線を制御部側で検出することができる伝送ライン断線検出方式を提案している。この伝送ライン断線検出方式では、伝送信号に設けられた管理データ領域に親局から出力される管理制御データ(比較用データ)で任意の子局のアドレスが指定され、自局アドレスが指定された子局からは管理監視データとして自局アドレスデータ(個別特定データ)が管理データ領域に出力され、制御側では個別特定データと比較用データの比較照合結果に基づいて断線の有無が判断される。 Therefore, in Japanese Patent No. 4933686, the applicant can detect a transmission line disconnection on the control unit side, which is one of the causes of causing a problem in data transmission / reception with a slave station. We are proposing a method. In this transmission line disconnection detection method, the address of an arbitrary slave station is specified in the management control data (comparison data) output from the master station in the management data area provided in the transmission signal, and the own station address is specified. The slave station outputs its own station address data (individual specific data) as management monitoring data to the management data area, and the control side determines whether or not there is a disconnection based on the comparison and collation result of the individual specific data and the comparison data.

なお、子局とのデータの送受信に不具合を引き起こす原因としては、伝送ラインの断線の他に、子局の故障や電源供給不良などを挙げることができるが、いずれの場合であっても、自局アドレスの指定に対する個別特定データの出力は不可能となる。従って、上記伝送ライン断線検出方式によれば、子局の生存を確認することができる。 In addition to the disconnection of the transmission line, failure of the slave station and poor power supply can be cited as causes of problems in sending and receiving data to and from the slave station. It is not possible to output individual specific data for the designation of the station address. Therefore, according to the transmission line disconnection detection method, the survival of the slave station can be confirmed.

特許第4933686号公報Japanese Patent No. 4933686

伝送信号の省配線化に用いられる子局は、一般的に、EthernetのMACアドレスのような装置固有の識別子を有さない。そこで、親局と複数の子局との間で共通データ信号線を介してシリアル信号によりデータ授受を行う方式では、複数の子局の各々に伝送信号のデータ領域を割り当て、その自局に割り当てられたデータ領域のタイミングを得るためのアドレスが各子局に設定される。そして、複数の子局の各々が自局に割り当てられたデータ領域において親局とデータを授受することにより、複数の子局の送受信の衝突を防止している。 The slave station used for wiring saving of the transmission signal generally does not have a device-specific identifier such as the MAC address of Ethernet. Therefore, in the method of exchanging data by serial signal between the master station and a plurality of slave stations via a common data signal line, the data area of the transmission signal is allocated to each of the plurality of slave stations and assigned to the own station. An address for obtaining the timing of the data area is set in each slave station. Then, each of the plurality of slave stations exchanges data with the master station in the data area assigned to the own station, thereby preventing a collision between transmission and reception of the plurality of slave stations.

しかしながら、複数の出力装置に同じ動作をさせる場合や、複数の入力装置のいずれかの入力が求められる場合などに、アドレスが複数の子局に重複して設定されると、一つのアドレスで複数の子局が指定されることになる。そのため、仮に、指定された複数の子局の一つが生存していなかったとしても、他の子局から正常な応答が返されたときは、全ての子局が生存していると誤認されることになる。 However, if multiple output devices are to perform the same operation, or if the input of any of the multiple input devices is required, and multiple addresses are set for multiple slave stations, one address will be used for multiple addresses. The slave station of will be specified. Therefore, even if one of the specified multiple slave stations is not alive, if a normal response is returned from the other slave station, it is mistaken that all the slave stations are alive. It will be.

すなわち、親局と複数の子局との間で共通データ信号線を介してシリアル信号によりデータ授受を行う場合に設定されるアドレスを利用して、子局の生存を確認する従来の方式は、アドレスが複数の子局に重複設定されるシステムには適用することができなかった。 That is, the conventional method of confirming the survival of a slave station by using an address set when data is exchanged by a serial signal between a master station and a plurality of slave stations via a common data signal line is available. It could not be applied to a system in which the address is duplicated in multiple slave stations.

そこで、本発明は、伝送同期方式によりデータの伝送を行う制御・監視信号伝送システムにおいて、複数の子局にアドレスが重複設定される場合にも子局の生存を確認することができる子局生存確認方式を提供することを目的とする。 Therefore, according to the present invention, in a control / monitoring signal transmission system that transmits data by a transmission synchronization method, slave station survival can be confirmed even when addresses are duplicated in a plurality of slave stations. The purpose is to provide a confirmation method.

本発明に係る子局生存確認方式では、制御側装置と共通の伝送線を介して伝送同期方式によりデータの授受を行う子局の複数を備え、伝送手順の中に、前記子局に対するIO制御データと前記子局によって重畳されるIO監視データとで構成されるIOデータ領域と異なる管理データ領域が設けられた制御・監視信号伝送システムにおいて、前記子局毎に所定個数の数値の中の一つが一次仮アドレスとして設定され、問い合せ工程と、重複判定工程と、二次仮アドレス設定工程と、一次仮アドレス再設定工程が、前記一次仮アドレスの重複が無くなるまで繰り返される。 The slave station survival confirmation method according to the present invention includes a plurality of slave stations that transfer data by a transmission synchronization method via a transmission line common to the control side device, and IO control for the slave station is performed in the transmission procedure. In a control / monitoring signal transmission system provided with a management data area different from the IO data area composed of data and IO monitoring data superimposed by the slave station, one of a predetermined number of numerical values is provided for each slave station. One is set as the primary temporary address, and the inquiry step, the duplication determination step, the secondary temporary address setting step, and the primary temporary address resetting step are repeated until there is no duplication of the primary temporary address.

前記問合せ工程では、前記制御側装置から、一次仮アドレスとして設定される可能性のある全数値が前記管理データ領域を介して順次指定され、前記子局に対する問い合わせが実行される。 In the inquiry step, all numerical values that may be set as primary temporary addresses are sequentially designated from the control side device via the management data area, and an inquiry to the slave station is executed.

前記重複判定工程では、前記指定された数値が前記一次仮アドレスと一致する前記子局からの前記管理データ領域を介した返信に基づき、前記一次仮アドレスの重複の有無が判定される。 In the duplication determination step, the presence or absence of duplication of the primary temporary address is determined based on the reply from the slave station whose designated numerical value matches the primary temporary address via the management data area.

前記二次仮アドレス設定工程では、重複の無い前記一次仮アドレスに所定の固有値を付加した二次仮アドレスが生成され、前記二次仮アドレスを構成する前記一次仮アドレスが設定された前記子局に前記管理データ領域を介して前記二次仮アドレスが設定される。 In the secondary temporary address setting step, a secondary temporary address in which a predetermined eigenvalue is added to the unique primary temporary address is generated, and the slave station in which the primary temporary address constituting the secondary temporary address is set is set. The secondary temporary address is set in the management data area.

前記一次仮アドレス再設定工程では、重複の有る前記一次仮アドレスが設定された前記子局に前記一次仮アドレスが再設定される。 In the primary temporary address resetting step, the primary temporary address is reset to the slave station in which the primary temporary address having duplication is set.

前記二次仮アドレスを構成する固有値は、前記一次仮アドレスが再設定される毎に異なる値とされ、前記子局毎に異なる前記二次仮アドレスが設定される。 The eigenvalues constituting the secondary temporary address are set to different values each time the primary temporary address is reset, and different secondary temporary addresses are set for each slave station.

子局毎に異なる前記二次仮アドレスが設定された後、前記子局の各々に割り当てる前記IOデータ領域におけるデータ領域の前記IOデータ領域における開始位置を示す正アドレスと、前記子局毎に異なる固有識別子が、前記管理データ領域を介し前記二次仮アドレスを利用して前記子局の各々に設定される。 After the secondary temporary address that is different for each slave station is set, the positive address that indicates the start position of the data area in the IO data area assigned to each of the slave stations is different for each slave station. A unique identifier is set for each of the slave stations using the secondary temporary address via the management data area.

そして、前記子局毎に異なる前記固有識別子が設定された後、前記固有識別子が前記管理データ領域で指定され、前記指定された固有識別子が自局に設定された前記固有識別子と一致する前記子局からの応答の有無を検出する。 Then, after the unique identifier that is different for each slave station is set, the unique identifier is designated in the management data area, and the designated unique identifier matches the unique identifier set in the own station. Detects the presence or absence of a response from the station.

前記二次仮アドレスが前記固有識別子とされてもよい。 The secondary temporary address may be the unique identifier.

前記固有識別子は、前記子局が有する複数のIO接続点に対応する異なる複数が設定されてもよい。 A different number of unique identifiers may be set corresponding to the plurality of IO connection points of the slave station.

前記子局毎に、前記固有識別子と異なるラベルを設定してもよく、また、前記ラベルが文字列を含んでいるものであってもよい。 A label different from the unique identifier may be set for each slave station, or the label may include a character string.

本発明においてラベルとは、装置の機種や装置の設置場所を人が想起できる程度の内容で表現したものを意図する。例えば、出力装置を想起させる文字と、照明装置を想起させる文字に、設置された部屋の番号を組み合わせたOL1、OL2などが該当する。なお、装置の機種や装置の設置場所を人が想起できるものであれば、数字のみとしてもよい。 In the present invention, the label is intended to represent the model of the device and the installation location of the device with contents that can be recalled by a person. For example, OL1 and OL2, which are a combination of a character reminiscent of an output device and a character reminiscent of a lighting device, and a number of an installed room, are applicable. As long as the model of the device and the installation location of the device can be recalled by a person, only numbers may be used.

本発明に係る子局生存確認方式によれば、子局の各々に割り当てるIOデータ領域におけるデータ領域のIOデータ領域における開始位置を示す正アドレスと、子局毎に異なる固有識別子が設定され、管理データ領域で指定された固有識別子が自局に設定された固有識別子と一致する子局からの応答の有無を検出するため、正アドレスが複数の子局に重複設定される場合にも子局の生存の確認をすることができる。 According to the slave station survival confirmation method according to the present invention, a positive address indicating the start position in the IO data area of the data area in the IO data area assigned to each slave station and a unique identifier different for each slave station are set and managed. Since the presence or absence of a response from a slave station whose unique identifier specified in the data area matches the unique identifier set in the own station is detected, even if the primary address is duplicated in multiple slave stations, the slave station You can confirm the survival.

本発明に係る子局生存確認方式により子局の生存確認が実行される制御・監視信号伝送システムの概略構成を示すシステム構成図である。It is a system configuration diagram which shows the schematic structure of the control / monitoring signal transmission system which performs the survival confirmation of a slave station by the slave station survival confirmation method which concerns on this invention. 親局のシステム構成図である。It is a system configuration diagram of a master station. 入力子局のシステム構成図である。It is a system configuration diagram of an input slave station. アドレス設定手段のシステム構成図である。It is a system block diagram of the address setting means. 出力子局のシステム構成図である。It is a system configuration diagram of an output slave station. 親局と子局の間の伝送方式の模式図である。It is a schematic diagram of the transmission system between a master station and a slave station. 伝送クロック信号のタイムチャート図である。It is a time chart diagram of a transmission clock signal. 固有識別子が設定されるまでの処理の流れを示す図である。It is a figure which shows the flow of processing until a unique identifier is set. 正アドレスが重複設定された出力子局により伝送信号から抽出されるIO制御データを示し、(a)は正アドレスが重複設定された場合の模式図、(b)は各々の出力子局に異なる正アドレスが設定された場合の模式図である。The IO control data extracted from the transmission signal by the output slave station in which the positive address is duplicated is shown, (a) is a schematic diagram when the positive address is duplicated, and (b) is different for each output slave station. It is a schematic diagram when a positive address is set.

図1〜9を参照しながら、本発明に係る伝送ライン断線検出方式の実施形態を説明する。
図1は、本発明に係る伝送ライン断線検出方式が適用される制御・監視信号伝送システムの構成図である。この制御・監視信号伝送システムは、工場などの施設内に配置された多数の装置機器を制御部において集中制御するためのものである。図1に示すように、制御部1および共通データ信号線DP、DN(以下、伝送線とする)に接続された親局2と、被制御側となる施設内に配置され伝送線に接続された入力子局4、出力子局5および入出力子局6の複数で構成される。なお、図1においては、図示の便宜上、入力子局が一つ、出力子局が二つ、入出力子局が一つ示されているが、伝送線に接続される子局の種類や数に制限は無い。
An embodiment of the transmission line disconnection detection method according to the present invention will be described with reference to FIGS. 1 to 9.
FIG. 1 is a configuration diagram of a control / monitoring signal transmission system to which the transmission line disconnection detection method according to the present invention is applied. This control / monitoring signal transmission system is for centralized control of a large number of devices and devices arranged in a facility such as a factory in a control unit. As shown in FIG. 1, the master station 2 connected to the control unit 1, the common data signal line DP and DN (hereinafter referred to as a transmission line), and the master station 2 arranged in the facility on the controlled side and connected to the transmission line. It is composed of a plurality of input slave stations 4, output slave stations 5, and input / output slave stations 6. Although FIG. 1 shows one input slave station, two output slave stations, and one input / output slave station for convenience of illustration, the type and number of slave stations connected to the transmission line are shown. There is no limit to.

入力子局4が接続される入力部7、出力子局5が接続される出力部8および入出力子局6が接続される入出力部9は、被制御側となる施設内に配置された装置である。 The input unit 7 to which the input slave station 4 is connected, the output unit 8 to which the output slave station 5 is connected, and the input / output unit 9 to which the input / output slave station 6 is connected are arranged in the facility to be controlled. It is a device.

入力部7に相当するものとして、例えば、リードスイッチ、マイクロスイッチ、押釦スイッチ、光電スイッチ、その他各種センサを挙げることができるが、これらに限定されるものではない。 Examples of the input unit 7 include, but are not limited to, reed switches, micro switches, push button switches, photoelectric switches, and various other sensors.

出力部8に相当するものとして、例えば、アクチュエータ、(ステッピング)モータ、ソレノイド、電磁弁、リレー、サイリスタ、ランプを挙げることができるが、これらに限定されるものではない。 Examples of the output unit 8 include, but are not limited to, actuators, (stepping) motors, solenoids, solenoid valves, relays, thyristors, and lamps.

入出力部9は、入力部7と出力部8の双方の機能を備える装置機器である。例えば、温調、タイマ、カウンタ等の装置機器で、親局2に対し情報を送信する機能と、親局2から送信されたデータに基づき出力動作を行う機能の双方を備えるものを挙げることができる。 The input / output unit 9 is a device having the functions of both the input unit 7 and the output unit 8. For example, a device such as a temperature controller, a timer, or a counter that has both a function of transmitting information to the master station 2 and a function of performing an output operation based on the data transmitted from the master station 2 can be mentioned. can.

なお、入力部7は、入力子局4と一体化された入力部一体型子局70であってもよい。また、出力部8は、出力子局5と一体化された出力部一体型子局80であってもよい。 The input unit 7 may be an input unit integrated slave station 70 integrated with the input slave station 4. Further, the output unit 8 may be an output unit integrated slave station 80 integrated with the output slave station 5.

制御部1は、演算処理機能を持つ管理判断手段11と入出力ユニット12を備える。管理判断手段11は、入出力ユニット12を介して親局2からデータを受け取り、内部に記憶されたプログラムに基づいて必要な演算処理を行う。 The control unit 1 includes a management determination means 11 having an arithmetic processing function and an input / output unit 12. The management determination means 11 receives data from the master station 2 via the input / output unit 12 and performs necessary arithmetic processing based on the program stored internally.

<親局の構成>
親局2は、図3に示すように、出力データ部21、管理データ部22、タイミング発生部23、親局出力部24、親局入力部25、入力データ部26、比較判断部27を備える。そして、伝送線に接続され、一連のパルス状信号である制御信号を伝送線に重畳するとともに、入力子局4、出力子局5および入出力子局6(以下、入力子局4、出力子局5および入出力子局6の全てが対象となる場合は、子局4、5、6とする)から伝送線に重畳された監視信号から抽出された監視データを制御部1の入出力ユニット12へ送出する。
<Structure of master station>
As shown in FIG. 3, the master station 2 includes an output data unit 21, a management data unit 22, a timing generation unit 23, a master station output unit 24, a master station input unit 25, an input data unit 26, and a comparison determination unit 27. .. Then, the control signal, which is connected to the transmission line and is a series of pulsed signals, is superimposed on the transmission line, and the input slave station 4, the output slave station 5, and the input / output slave station 6 (hereinafter, the input slave station 4 and the output slave) are superimposed. When all of the station 5 and the input / output slave station 6 are targeted, the monitoring data extracted from the monitoring signal superimposed on the transmission line from the slave stations 4, 5, and 6) is used as the input / output unit of the control unit 1. Send to 12.

出力データ部21は、制御部1の出力ユニット11からの制御並列データ13をシリアルデータとして親局出力部24へ引き渡す。 The output data unit 21 delivers the control parallel data 13 from the output unit 11 of the control unit 1 to the master station output unit 24 as serial data.

管理データ部22は、子局情報テーブルを記憶する不揮発性機能を持つ記憶手段29を備える。そして、制御部1から受けたデータと子局情報テーブルに基づき、後述の管理制御データ領域において子局への指示に必要となるデータをシリアルデータとして親局出力部24へ引き渡す。 The management data unit 22 includes a storage means 29 having a non-volatile function for storing the slave station information table. Then, based on the data received from the control unit 1 and the slave station information table, the data required for instructing the slave station in the management control data area described later is delivered to the master station output unit 24 as serial data.

子局情報テーブルは、子局4、5、6の各々に割り当てるIOデータ領域におけるデータ領域の、IOデータ領域における開始位置を示す正アドレスと、IOデータ領域を利用して得られない子局側の情報を伝送線に出力させる、子局4、5、6を指定するための固有識別子を含んでいる。 The slave station information table has a positive address indicating the start position in the IO data area of the data area in the IO data area assigned to each of the slave stations 4, 5 and 6, and the slave station side that cannot be obtained by using the IO data area. Contains unique identifiers for designating slave stations 4, 5, and 6 that output the information of.

子局4、5、6の正アドレスおよび固有識別子は、後述のように、乱数に基づいて設定される一次仮アドレスに所定の固有値を付加した二次仮アドレスが全ての子局4、5、6に設定された後、その二次仮アドレスを使用し、全ての子局4,5、6に設定される。そして、管理データ部22では、後述する手順によって、二次仮アドレステーブルが作成され記憶される。 As for the positive addresses and unique identifiers of the slave stations 4, 5 and 6, the secondary temporary addresses obtained by adding a predetermined eigenvalue to the primary temporary addresses set based on random numbers are all the slave stations 4, 5 and 6, as described later. After being set to 6, the secondary temporary address is used and set to all slave stations 4, 5 and 6. Then, in the management data unit 22, the secondary temporary address table is created and stored by the procedure described later.

タイミング発生部23は、発振回路(OSC)31とタイミング発生手段32からなり、発振回路(OSC)31を基にタイミング発生手段32が、このシステムのタイミングクロックを生成し親局出力部24及び親局入力部25に引き渡す。 The timing generation unit 23 includes an oscillation circuit (OSC) 31 and a timing generation means 32, and the timing generation unit 32 generates a timing clock of this system based on the oscillation circuit (OSC) 31 to generate a master station output unit 24 and a parent. Hand over to the station input unit 25.

親局出力部24は、制御データ発生手段33とラインドライバ34からなる。制御データ発生手段33が、出力データ部21から受けたデータと、タイミング発生部23から受けたタイミングクロックに基づき、ラインドライバ34を介して伝送線に一連のパルス状信号として伝送信号を重畳する。 The master station output unit 24 includes a control data generating means 33 and a line driver 34. The control data generating means 33 superimposes the transmission signal as a series of pulse-like signals on the transmission line via the line driver 34 based on the data received from the output data unit 21 and the timing clock received from the timing generation unit 23.

伝送手順は、図6に示すように、伝送信号のスタート信号STと次のスタート信号STの間の、IOデータ領域、そして管理データ領域と続く1フレームサイクルであり、複数のパルス信号が連なって構成される。スタート信号STは、パルス信号の時間幅より長く、伝送信号から伝送クロック信号を生成するための閾値Vst(この実施例では18V)より高い電位レベルとなっている。 As shown in FIG. 6, the transmission procedure is a one-frame cycle following the IO data area and the management data area between the start signal ST of the transmission signal and the next start signal ST, and a plurality of pulse signals are connected in succession. It is composed. The start signal ST is longer than the time width of the pulse signal and has a potential level higher than the threshold Vst (18 V in this embodiment) for generating the transmission clock signal from the transmission signal.

伝送信号を構成するパルス信号は、図7に示すように、閾値Vstより高い電源電圧レベルの電源電圧エリアと、閾値Vstよりも低い電位レベルの低電位エリアで構成される。 As shown in FIG. 7, the pulse signal constituting the transmission signal is composed of a power supply voltage area having a power supply voltage level higher than the threshold value Vst and a low potential area having a potential level lower than the threshold value Vst.

電源電圧エリアは伝送クロック信号に相当し、この実施形態では+24Vとされている。なお、電源電圧レベルに制限はなく、使用環境や使用状態に応じて適宜決めることができる。負電源であってもよい。 The power supply voltage area corresponds to the transmission clock signal, which is + 24V in this embodiment. The power supply voltage level is not limited and can be appropriately determined according to the usage environment and usage conditions. It may be a negative power supply.

また、この実施形態では、電源電圧エリアが1周期の後半と、低電位エリアが1周期の前半とされているが、その順番に制限はなく、これらの順番を逆にしてもよい。電源電圧レベルを負電源とする場合も同様である。なお、この実施形態での低電位エリアは、負電源の場合、電源電圧エリアに対し高電位のエリアとなる。 Further, in this embodiment, the power supply voltage area is the latter half of one cycle and the low potential area is the first half of one cycle, but the order is not limited and these orders may be reversed. The same applies when the power supply voltage level is a negative power supply. In the case of a negative power supply, the low potential area in this embodiment is a high potential area with respect to the power supply voltage area.

低電位エリアの幅は、制御信号のデータを表すものとなっている。そして、低電位エリアの幅が制御データとして制御データ領域を構成し、その制御データ領域は、図6におけるIOデータ領域及び管理データ領域の上段に相当するものとなっている。なお、管理データ領域における制御データ領域は、以下、管理制御データ領域とする。 The width of the low potential area represents the data of the control signal. The width of the low potential area constitutes a control data area as control data, and the control data area corresponds to the upper part of the IO data area and the management data area in FIG. The control data area in the management data area is hereinafter referred to as a management control data area.

この実施形態では、伝送信号を構成するパルス信号の1周期をt0とした時、伝送信号を構成するパルス信号のパルス幅(3/4)t0が論理データ“1”を表し、パルス幅(1/4)t0が論理データ“0”を表している。ただし、制御部1から入力される制御データの値に応じたものであれば、その長さに制限はなく適宜に決めればよい。 In this embodiment, when one cycle of the pulse signal constituting the transmission signal is t0, the pulse width (3/4) t0 of the pulse signal constituting the transmission signal represents the logical data “1”, and the pulse width (1). / 4) t0 represents the logical data "0". However, as long as it corresponds to the value of the control data input from the control unit 1, the length is not limited and may be appropriately determined.

低電位エリアには、また、電流信号が重畳され、この電流信号の有無により監視信号のデータを表すものとなっている。そして、低電位エリアに重畳される電流が監視データとして監視データ領域を構成し、その監視データ領域は、図6におけるIOデータ領域及び管理データ領域の下段に相当するものとなっている。なお、管理データ領域における監視データ領域は、以下、管理監視データ領域とする。 A current signal is also superimposed on the low potential area, and the presence or absence of this current signal represents the data of the monitoring signal. The current superimposed on the low potential area constitutes a monitoring data area as monitoring data, and the monitoring data area corresponds to the lower part of the IO data area and the management data area in FIG. The monitoring data area in the management data area will be referred to as the management monitoring data area below.

この実施形態では、10mAより小さい電流信号が論理データ“0”を表し、10mAより大きい電流信号が論理データ“1”を表している。 In this embodiment, the current signal smaller than 10 mA represents the logical data “0”, and the current signal larger than 10 mA represents the logical data “1”.

管理制御データ領域には、子局4、5、6に対して情報を要求する等の指示をなす第一管理制御データISTo、および、子局4、5、6毎に設定された固有識別子を指定する第二管理制御データIDXoが、親局2から入力される。また、管理監視データ領域には、第二管理制御データIDXoで指定された子局4、5、6から第一管理制御データISToに対応する第一管理監視データSTi及び第二管理監視データIDXiが入力される。更に、管理監視データ領域には、第二管理制御データIDXoで自局の固有識別子が指定された子局4、5、6から、生存確認用監視データRiが入力される。 In the management control data area, the first management control data ISTo that gives an instruction such as requesting information to the slave stations 4, 5 and 6 and the unique identifier set for each slave station 4, 5 and 6 are stored. The designated second management control data IDXo is input from the master station 2. Further, in the management monitoring data area, the first management monitoring data STi and the second management monitoring data IDXi corresponding to the first management control data ISTo from the slave stations 4, 5 and 6 designated by the second management control data IDXo are located. Entered. Further, in the management monitoring data area, the survival confirmation monitoring data Ri is input from the slave stations 4, 5 and 6 in which the unique identifier of the own station is specified by the second management control data IDXo.

親局入力部25は監視信号検出手段35と監視データ抽出手段36で構成される。監視信号検出手段35は、子局4、6、7から伝送線に重畳された監視信号を検出する。 The master station input unit 25 is composed of a monitoring signal detecting means 35 and a monitoring data extracting means 36. The monitoring signal detecting means 35 detects the monitoring signal superimposed on the transmission line from the slave stations 4, 6 and 7.

監視データ抽出手段36は、監視信号検出手段35における監視信号の検出結果に基づき、対応するデータ値を入力データ部26に引き渡す。この実施形態では、監視信号が検出された場合には論理データ“1”を、監視信号が検出されなかった場合には論理データ“0”を、入力データ部26に引き渡す。 The monitoring data extracting means 36 delivers the corresponding data value to the input data unit 26 based on the detection result of the monitoring signal in the monitoring signal detecting means 35. In this embodiment, the logical data “1” is delivered to the input data unit 26 when the monitoring signal is detected, and the logical data “0” is delivered to the input data unit 26 when the monitoring signal is not detected.

また、監視データ抽出手段36は、後述するアドレス設定時において、管理監視データ領域に重畳された管理監視データを比較判断部27に引き渡す。そして、比較判断部27は、後述する、元数と比較照合用データを用いた比較照合を行い、一致または不一致の判断結果を管理データ部22に引き渡す。 Further, the monitoring data extraction means 36 delivers the management monitoring data superimposed on the management monitoring data area to the comparison determination unit 27 at the time of address setting described later. Then, the comparison / determination unit 27 performs comparison / collation using the element number and the comparison / collation data, which will be described later, and delivers the match or mismatch determination result to the management data unit 22.

入力データ部26は、監視データ抽出手段36から受け取った直列の入力データを並列(パラレル)データに変換し、IO監視データおよび管理監視データとして制御部1の入力ユニット12へ送出する。 The input data unit 26 converts the serial input data received from the monitoring data extraction means 36 into parallel data, and sends the IO monitoring data and the management monitoring data to the input unit 12 of the control unit 1.

<入力子局の構成>
入力子局4は、図3に示すように、伝送受信手段41、管理制御データ抽出手段42、アドレス抽出手段43、プロファイルデータ記憶手段44、管理監視データ送信手段45、入力手段46、IO監視データ送信手段47、管理制御指示判定手段48、アドレス設定処理手段49を有する子局入力部40を備える。また、子局入力部40と伝送線の間に配置される子局ラインレシーバ51および子局ラインドライバ52を備える。
<Configuration of input slave station>
As shown in FIG. 3, the input slave station 4 has a transmission / reception means 41, a management control data extraction means 42, an address extraction means 43, a profile data storage means 44, a management monitoring data transmission means 45, an input means 46, and IO monitoring data. A slave station input unit 40 having a transmission means 47, a management control instruction determination means 48, and an address setting processing means 49 is provided. Further, a slave station line receiver 51 and a slave station line driver 52 arranged between the slave station input unit 40 and the transmission line are provided.

なお、この実施例の入力子局4は、内部回路としてマイクロコンピュータ・コントロール・ユニットであるMCUを備えており、このMCUが子局入力部40として機能するものとなっている。 The input slave station 4 of this embodiment includes an MCU which is a microcomputer control unit as an internal circuit, and this MCU functions as a slave station input unit 40.

処理において必要となる演算や記憶は、このMCUの備えるCPU、RAM及びROMを使用して実行されるが、子局入力部40を構成する上記各手段のそれぞれの処理におけるCPU、RAM及びROMとの関係は、説明の便宜上、図示を省略するものとする。 The operations and storage required for the processing are executed using the CPU, RAM, and ROM provided in the MCU, but the CPU, RAM, and ROM in each processing of the above means constituting the slave station input unit 40 The relationship between the above will be omitted from the illustration for convenience of explanation.

伝送受信手段41は、伝送線に伝送される伝送信号を、子局ラインレシーバ51を介して受け、これを管理制御データ抽出手段42、アドレス抽出手段43および管理監視データ送信手段45に引き渡す。 The transmission / reception means 41 receives the transmission signal transmitted to the transmission line via the slave station line receiver 51, and delivers the transmission signal to the management control data extraction means 42, the address extraction means 43, and the management monitoring data transmission means 45.

管理制御データ抽出手段42は、伝送信号の管理制御データ領域から管理制御データを抽出する。そして、第二管理制御データIDXoが、プロファイルデータ記憶手段44に記憶されている自局の固有識別子と一致する場合、第一管理制御データISToを管理制御指示判定手段48に引き渡すとともに、生存確認用監視データRiとなるデータ(この実施形態では論理データ“1”)を管理監視データ送信手段45に引き渡す。 The management control data extraction means 42 extracts management control data from the management control data area of the transmission signal. Then, when the second management control data IDXo matches the unique identifier of the own station stored in the profile data storage means 44, the first management control data ISTo is handed over to the management control instruction determination means 48 and for survival confirmation. The data to be the monitoring data Ri (logical data "1" in this embodiment) is delivered to the management monitoring data transmitting means 45.

アドレス抽出手段43では、伝送クロック信号の始まりを示すスタート信号STが終了となるタイミング(この実施形態では立ち下がり)を起点として伝送信号を構成するパルス信号のカウントが行われる。なお、このカウント値がプロファイルデータ記憶手段44で設定された自局アドレス(正アドレス)データと一致するタイミングは、伝送信号の自局に割り当てられたデータ領域が開始するタイミング(以下、「自局領域開始タイミング」とする)となる。 The address extracting means 43 counts the pulse signals constituting the transmission signal starting from the timing at which the start signal ST indicating the start of the transmission clock signal ends (falling in this embodiment). The timing at which this count value matches the own station address (positive address) data set by the profile data storage means 44 is the timing at which the data area assigned to the own station of the transmission signal starts (hereinafter, "own station"). Area start timing ”).

自局領域開始タイミングを得たアドレス抽出手段43は、自局領域の期間、IO監視データ送信手段47を有効にする。 The address extraction means 43 that has obtained the own station area start timing enables the IO monitoring data transmission means 47 during the period of the own station area.

プロファイルデータ記憶手段44は、入出力の種別や制御・監視データ領域の占有点数(占有アドレス)など、自局の装置特性を示すプロファイルデータを記憶する。また、プロファイルデータ記憶手段44は、一次仮アドレス、二次仮アドレス、固有識別子、および、後述するラベルも記憶する。 The profile data storage means 44 stores profile data indicating the device characteristics of its own station, such as the type of input / output and the number of occupied points (occupied address) of the control / monitoring data area. The profile data storage means 44 also stores the primary temporary address, the secondary temporary address, the unique identifier, and the label described later.

管理監視データ送信手段45は、スタート信号STが終了となるタイミング(この実施形態では立ち下がり)を起点として、伝送信号を構成するパルス信号をカウントし、管理データ領域のタイミングを得る。そして、管理監視データとして出力すべきデータが引き渡された場合は、子局ラインドライバ52を介して管理監視信号として伝送線に出力する。 The management monitoring data transmission means 45 counts the pulse signals constituting the transmission signal starting from the timing at which the start signal ST ends (falling down in this embodiment), and obtains the timing of the management data area. Then, when the data to be output as the management monitoring data is delivered, it is output to the transmission line as the management monitoring signal via the slave station line driver 52.

この実施形態では、後述の一次仮アドレス確認処理において、アドレス設定処理手段49から比較判断データとその元数が引き渡される。また、後述のプロファイルデータ送信処理では、プロファイルデータ記憶手段44から自局のプロファイルデータが引き渡される。更に、自局に設定された固有識別子が指定された場合は、管理制御データ抽出手段42から生存確認用監視データRiとなるデータが引き渡される。なお、アドレス設定が終了した後の常態において親局2から何等かの応答が要求された場合は、管理制御指示判定手段48から管理制御の目的に応じたデータが引き渡される。 In this embodiment, in the primary temporary address confirmation process described later, the comparison determination data and its element number are delivered from the address setting processing means 49. Further, in the profile data transmission process described later, the profile data of the own station is delivered from the profile data storage means 44. Further, when the unique identifier set in the own station is specified, the data to be the survival confirmation monitoring data Ri is delivered from the management control data extraction means 42. If any response is requested from the master station 2 in the normal state after the address setting is completed, the management control instruction determination means 48 delivers the data according to the purpose of the management control.

入力手段46は、入力部7からの入力に基づくデータをIO監視データ送信手段47に引き渡す。 The input means 46 delivers the data based on the input from the input unit 7 to the IO monitoring data transmitting means 47.

IO監視データ送信手段47は、アドレス抽出手段43により有効とされた場合に、入力手段46から引き渡されたデータを、子局ラインドライバ52を介して伝送線に監視信号として出力する。監視信号は、伝送手順のIO監視データ領域に重畳される。 The IO monitoring data transmitting means 47 outputs the data delivered from the input means 46 as a monitoring signal to the transmission line via the slave station line driver 52 when it is enabled by the address extracting means 43. The monitoring signal is superimposed on the IO monitoring data area of the transmission procedure.

管理制御指示判定手段48は、管理制御データ抽出手段42から引き渡された第一管理制御データISToに基づき、適切な出力処理を実行する。この実施形態では、一次仮アドレス生成処理、および一次仮アドレス確認処理を実行するための指示信号をアドレス設定処理手段49に出力する。また、二次仮アドレス確定処理、正アドレス確定処理、および固有識別子設定処理を実行する場合は、第一管理制御データISToに含まれる自局宛てデータをプロファイルデータ記憶手段44に引き渡す。更に、プロファイルデータ送信処理を実行する場合は、データ送信を指示する信号をプロファイルデータ記憶手段44に出力する。 The management control instruction determination means 48 executes an appropriate output process based on the first management control data ISTo delivered from the management control data extraction means 42. In this embodiment, an instruction signal for executing the primary temporary address generation process and the primary temporary address confirmation process is output to the address setting processing means 49. Further, when executing the secondary temporary address confirmation process, the primary address confirmation process, and the unique identifier setting process, the data addressed to the own station included in the first management control data ISTo is delivered to the profile data storage means 44. Further, when the profile data transmission process is executed, a signal instructing the data transmission is output to the profile data storage means 44.

<一次仮アドレス生成処理>
図4に示すように、アドレス設定処理手段49は、アドレス生成手段53、比較判断データ生成手段54、および乱数発生手段55で構成されている。そして、管理制御指示判定手段48において一次仮アドレス生成処理の実行が選択された場合は、アドレス生成手段53に指示信号が出力される。アドレス生成手段53では、乱数発生手段55から引き渡される乱数に基づいて所定個数の数値の中の一つが一次仮アドレスとして選定される。選定された一次仮アドレスは、プロファイルデータ記憶手段44に引き渡され記憶される。なお、プロファイルデータ記憶手段44に記憶された一次仮アドレスは、管理制御データ抽出手段42からの求めに応じ管理制御データ抽出手段42に引き渡される。
<Primary temporary address generation process>
As shown in FIG. 4, the address setting processing means 49 is composed of an address generation means 53, a comparison judgment data generation means 54, and a random number generation means 55. Then, when the management control instruction determination means 48 selects the execution of the primary temporary address generation process, the instruction signal is output to the address generation means 53. In the address generation means 53, one of a predetermined number of numerical values is selected as the primary temporary address based on the random numbers passed from the random number generation means 55. The selected primary temporary address is handed over to the profile data storage means 44 and stored. The primary temporary address stored in the profile data storage means 44 is delivered to the management control data extraction means 42 in response to a request from the management control data extraction means 42.

<一次仮アドレス確認処理>
管理制御指示判定手段48において一次仮アドレス確認処理の実行が選択された場合、比較判断データ生成手段54に指示信号が出力される。比較判断データ生成手段54では、乱数発生手段55から引き渡される乱数に基づいて所定個数の数値の中の一つが元数として選定される。また、比較判断データ生成手段54では、元数を予め決められた規則に従って変換した比較照合用データが生成される。そして、元数と比較照合用データが管理監視データ送信手段45に引き渡される。
<Primary temporary address confirmation process>
When the management control instruction determination means 48 selects the execution of the primary temporary address confirmation process, the instruction signal is output to the comparison determination data generation means 54. In the comparison determination data generating means 54, one of a predetermined number of numerical values is selected as a primal number based on the random numbers passed from the random number generating means 55. Further, the comparison / judgment data generation means 54 generates comparison / collation data in which the elements are converted according to a predetermined rule. Then, the element number and the comparison / collation data are delivered to the management / monitoring data transmission means 45.

<二次仮アドレス確定処理>
管理制御指示判定手段48において二次仮アドレス確定処理の実行が選択された場合、プロファイルデータ記憶手段44に、自局宛てに送信された二次仮アドレスのデータが出力される。これを受けたプロファイルデータ記憶手段44では、引き渡されたデータが二次仮アドレスとして記憶される。なお、プロファイルデータ記憶手段44に記憶された二次仮アドレスは、管理制御データ抽出手段42からの求めに応じ管理制御データ抽出手段42に引き渡される。
<Secondary temporary address confirmation process>
When execution of the secondary temporary address determination process is selected in the management control instruction determination means 48, the data of the secondary temporary address transmitted to the own station is output to the profile data storage means 44. In the profile data storage means 44 that receives this, the delivered data is stored as a secondary temporary address. The secondary temporary address stored in the profile data storage means 44 is delivered to the management control data extraction means 42 in response to a request from the management control data extraction means 42.

<プロファイルデータ出力処理>
管理制御指示判定手段48においてプロファイルデータ出力処理の実行が選択された場合、プロファイルデータ記憶手段44に、プロファイルデータの出力を指示する信号が出力される。これを受けたプロファイルデータ記憶手段44からは、プロファイルデータが管理監視データ送信手段45に引き渡される。
<Profile data output processing>
When execution of the profile data output process is selected in the management control instruction determination means 48, a signal instructing the output of the profile data is output to the profile data storage means 44. Upon receiving this, the profile data storage means 44 delivers the profile data to the management monitoring data transmission means 45.

<正アドレス確定処理>
管理制御指示判定手段48において正アドレス確定処理の実行が選択された場合、プロファイルデータ記憶手段44に、自局宛てに送信された正アドレスのデータが出力される。これを受けたプロファイルデータ記憶手段44では、引き渡されたデータが正アドレスとして記憶される。なお、正アドレスは、アドレス設定処理の終了後にシステム再起動若しくはそれに代わる手段によって有効とされる。そして、正アドレスが有効化された後、管理制御データ抽出手段42、および、アドレス抽出手段43からの求めに応じ、プロファイルデータ記憶手段44から要求のあった夫々の手段に正アドレスが引き渡される。
<Positive address confirmation process>
When the execution of the positive address determination process is selected by the management control instruction determination means 48, the data of the positive address transmitted to the own station is output to the profile data storage means 44. In the profile data storage means 44 that receives this, the delivered data is stored as a positive address. The positive address is valid by restarting the system or an alternative means after the address setting process is completed. Then, after the positive address is activated, the positive address is delivered to each of the requested means from the profile data storage means 44 in response to the request from the management control data extraction means 42 and the address extraction means 43.

<固有識別子確定処理>
管理制御指示判定手段48において固有識別子設定処理の実行が選択された場合、プロファイルデータ記憶手段44に、自局宛てに送信された固有識別子のデータが出力される。これを受けたプロファイルデータ記憶手段44では、引き渡されたデータが固有識別子として記憶される。なお、固有識別子は、アドレス設定処理の終了後にシステム再起動若しくはそれに代わる手段によって有効とされる。そして、固有識別子が有効化された後、管理制御データ抽出手段42からの求めに応じ、プロファイルデータ記憶手段44から管理制御データ抽出手段42に固有識別子が引き渡される。
<Unique identifier confirmation process>
When the management control instruction determination means 48 selects the execution of the unique identifier setting process, the profile data storage means 44 outputs the data of the unique identifier transmitted to the own station. In the profile data storage means 44 that receives this, the delivered data is stored as a unique identifier. The unique identifier is valid by restarting the system or an alternative means after the address setting process is completed. Then, after the unique identifier is activated, the unique identifier is delivered from the profile data storage means 44 to the management control data extraction means 42 in response to the request from the management control data extraction means 42.

この実施形態において、乱数発生手段55は常時作動するものとなっているが、管理制御指示判定手段48から出力される指示信号により作動するものであっても良い。また、乱数発生のアルゴリズムは使用状況に最適なものを採用すればよい。 In this embodiment, the random number generation means 55 is always operated, but it may be operated by the instruction signal output from the management control instruction determination means 48. In addition, the random number generation algorithm may be the one that is most suitable for the usage situation.

管理制御指示判定手段48は、また、アドレス設定が終了した後の常態において親局2から何等かの応答が要求された場合は、管理制御の目的に応じたデータを管理監視データ送信手段45に引き渡す。 The management control instruction determination means 48 also sends data according to the purpose of management control to the management monitoring data transmission means 45 when some response is requested from the master station 2 in the normal state after the address setting is completed. hand over.

<出力子局の構成>
出力子局5は、図5に示すように、伝送受信手段41、管理制御データ抽出手段42、アドレス抽出手段43、プロファイルデータ記憶手段44、管理監視データ送信手段45、管理制御指示判定手段48、アドレス設定処理手段49、IO制御データ抽出手段56および出力手段57を有する子局出力部50を備える。
<Configuration of output slave station>
As shown in FIG. 5, the output slave station 5 includes a transmission / reception means 41, a management control data extraction means 42, an address extraction means 43, a profile data storage means 44, a management monitoring data transmission means 45, and a management control instruction determination means 48. A slave station output unit 50 having an address setting processing means 49, an IO control data extraction means 56, and an output means 57 is provided.

出力子局5も、また、前記入力子局4と同様、内部回路としてマイクロコンピュータ・コントロール・ユニットであるMCUを備えており、このMCUが子局出力部50として機能するものとなっている。そして、入力子局4のMCUと同様に、出力子局5の処理において必要となる演算や記憶は、このMCUの備えるCPU、RAMおよびROMを使用して実行されるものとなっている。 Like the input slave station 4, the output slave station 5 also includes an MCU which is a microcomputer control unit as an internal circuit, and this MCU functions as a slave station output unit 50. As with the MCU of the input slave station 4, the calculations and storage required for the processing of the output slave station 5 are executed using the CPU, RAM, and ROM included in the MCU.

処理において必要となる演算や記憶は、このMCUの備えるCPU、RAMおよびROMを使用して実行されるが、子局出力部50を構成する上記各手段のそれぞれの処理におけるCPU、RAMおよびROMとの関係は、説明の便宜上、図示を省略するものとする。また、図5において、入力子局4と実質的に同じ部分には同符号を付し、その説明を簡略化または省略する。 The operations and storage required for the processing are executed using the CPU, RAM, and ROM provided in the MCU, but the CPU, RAM, and ROM in each processing of the above-mentioned means constituting the slave station output unit 50 are used. The relationship between the above will be omitted from the illustration for convenience of explanation. Further, in FIG. 5, substantially the same parts as the input slave station 4 are designated by the same reference numerals, and the description thereof will be simplified or omitted.

出力子局5のアドレス抽出手段43は、自局領域の期間、IO制御データを抽出するタイミング信号をIO制御データ抽出手段56に引き渡す。 The address extraction means 43 of the output slave station 5 passes the timing signal for extracting the IO control data to the IO control data extraction means 56 during the period of the own station area.

IO制御データ抽出手段56は、アドレス抽出手段43から引き渡されたタイミング信号と伝送受信手段41から引き渡された伝送信号から、プロファイルデータ記憶手段44に記憶された自局アドレス(正アドレス)に送信されたIO制御データ値を抽出し、これを出力手段57に引き渡す。 The IO control data extraction means 56 is transmitted from the timing signal delivered from the address extraction means 43 and the transmission signal handed over from the transmission reception means 41 to its own station address (positive address) stored in the profile data storage means 44. The IO control data value is extracted and passed to the output means 57.

出力手段57は、アドレス抽出手段43から引き渡された制御データに基づいた情報を出力部8に出力し、出力部8を動作させ、或いは停止させる。 The output means 57 outputs information based on the control data delivered from the address extraction means 43 to the output unit 8, and operates or stops the output unit 8.

<入出力子局の構成>
入出力子局6には、対応関係にある入力部7と出力部8の双方が接続されている。入出力子局6も、入力子局4および出力子局5と同様、内部回路としてマイクロコンピュータ・コントロール・ユニットであるMCUを備えており、このMCUが子局入出力部として機能するものとなっている。そして、入力子局4のMCUおよび出力子局5のMCUと同様に、入出力子局6の処理において必要となる演算や記憶は、このMCUの備えるCPU、RAMおよびROMを使用して実行されるものとなっている。
<I / O slave station configuration>
Both the input unit 7 and the output unit 8 that are in a corresponding relationship are connected to the input / output slave station 6. Like the input slave station 4 and the output slave station 5, the input / output slave station 6 also has an MCU which is a microcomputer control unit as an internal circuit, and this MCU functions as a slave station input / output unit. ing. Then, as with the MCU of the input slave station 4 and the MCU of the output slave station 5, the calculations and storage required for the processing of the input / output slave station 6 are executed using the CPU, RAM, and ROM provided in the MCU. It has become a thing.

処理において必要となる演算や記憶は、このMCUの備えるCPU、RAMおよびROMを使用して実行されるが、子局入出力部を構成する上記各手段のそれぞれの処理におけるCPU、RAMおよびROMとの関係は、説明の便宜上、図示を省略するものとする。また、子局入出力部は、子局入力部40および子局出力部50の双方の構成を備えるものであるが、これら各構成は子局入力部40および子局出力部50と実質的に同じものであるため、図示およびその説明は省略する。 The operations and storage required for the processing are executed using the CPU, RAM, and ROM provided in the MCU, but the CPU, RAM, and ROM in each processing of the above-mentioned means constituting the slave station input / output unit are used. The relationship between the above will be omitted from the illustration for convenience of explanation. Further, the slave station input / output unit includes both the slave station input unit 40 and the slave station output unit 50, and each of these configurations is substantially the same as the slave station input unit 40 and the slave station output unit 50. Since they are the same, the illustration and description thereof will be omitted.

次に、図8を参照しながら、子局4、5、6のアドレス設定方法について説明する。
まず、親局2から全ての子局4、5、6に対し、ブロードキャストコマンドにより一次仮アドレス設定の指示がなされる。これを受けた子局4、5、6では、既述の一次仮アドレス生成処理が実行され、乱数に基づいて所定個数の数値の中から選定された一つが一次仮アドレスとして設定される。(図8のステップ1)
Next, the address setting method of the slave stations 4, 5 and 6 will be described with reference to FIG.
First, the master station 2 instructs all the slave stations 4, 5, and 6 to set the primary temporary address by a broadcast command. In the slave stations 4, 5 and 6 that receive this, the above-mentioned primary temporary address generation process is executed, and one selected from a predetermined number of numerical values based on a random number is set as the primary temporary address. (Step 1 in FIG. 8)

次に、親局2は、一次仮アドレスとして設定され得る所定個数の数値の全てを、管理制御データ領域を使用し順次指定する。(図8のステップ2)これを受けた子局4、5、6では、自局に設定されている一次仮アドレスが親局2に指定された数値と一致する場合、既述の一次仮アドレス確認処理が実行される。そして、管理監視データ領域に、元数と比較照合用データが出力される。(図8のステップ3) Next, the master station 2 sequentially designates all of a predetermined number of numerical values that can be set as the primary temporary address by using the management control data area. (Step 2 in FIG. 8) In the slave stations 4, 5 and 6 that receive this, if the primary temporary address set in the own station matches the numerical value specified in the master station 2, the primary temporary address described above Confirmation processing is executed. Then, the element number and the comparison / collation data are output to the management / monitoring data area. (Step 3 in FIG. 8)

元数と比較照合用データを受けた親局2では、比較判断部27において、子局4、5、6と同様に元数を変換し比較照合用データを生成し、子局4、5、6から受けた比較照合用データと比較照合を行う。そして、両データが一致した場合は重複が無いことを示すデータが、比較判断部27から管理データ部22に引き渡される。(図8のステップ3) In the master station 2 that has received the element number and the comparison collation data, the comparison determination unit 27 converts the element number in the same manner as the slave stations 4, 5 and 6 to generate the comparison collation data, and the slave stations 4, 5 and 6 Compare and collate with the comparison and collation data received from 6. Then, when both data match, data indicating that there is no duplication is passed from the comparison determination unit 27 to the management data unit 22. (Step 3 in FIG. 8)

重複の有る場合は、複数の子局4,5、6から異なる元数と異なる比較照合用データが送信され、親局2が受ける元数と比較照合用データは、これらが重畳されたものとなる。従って、親局2が受ける元数と比較照合用データには、所定の規則が成立せず、親局2の比較判断部27において生成される比較照合用データは、子局4、5、6から受けた比較照合用データと一致しない。すなわち、両データが一致しない場合は重複していることを意味する。そこで、両データが一致しない場合は、重複が有ることを示すデータが、比較判断部27から管理データ部22に引き渡される。(図8のステップ3) If there is duplication, different elements and different comparison collation data are transmitted from multiple slave stations 4, 5 and 6, and the element number and comparison collation data received by the master station 2 are superposed. Become. Therefore, a predetermined rule is not established for the element number received by the master station 2 and the comparison collation data, and the comparison collation data generated by the comparison determination unit 27 of the master station 2 is the slave stations 4, 5, and 6. Does not match the comparison collation data received from. That is, if both data do not match, it means that they are duplicated. Therefore, when the two data do not match, the data indicating that there is duplication is passed from the comparison determination unit 27 to the management data unit 22. (Step 3 in FIG. 8)

なお、子局4、5、6の何れにも一次仮アドレスとして設定されていない数値が指定された場合、何れの子局4、5、6からも元数は送信されない。従って、この実施形態では、親局2で受けた元数が0の場合、その数値が一時仮アドレスとして設定されている子局4、5、6は存在しないと判断し、比較照合は実行されないものとされている。 If a numerical value that is not set as the primary temporary address is specified in any of the slave stations 4, 5 and 6, the original number is not transmitted from any of the slave stations 4, 5 and 6. Therefore, in this embodiment, when the element number received by the master station 2 is 0, it is determined that the slave stations 4, 5 and 6 whose numerical value is set as the temporary temporary address do not exist, and the comparison collation is not executed. It is supposed to be.

ただし、一次仮アドレスとして設定されている子局4、5、6の有無を判断する手法に制限はなく、使用状況に応じて、その他の手法を採用してもよい。例えば、子局4、5、6の管理制御データ抽出手段42は自局で決めた一次仮アドレスが指定された場合にも、生存確認用監視データRiとなるデータを管理監視データ送信手段45に引き渡すものとし、親局2では生存確認用監視データRiに基づき、その一次仮アドレスが設定された子局4、5、6の存在の有無を判断してもよい。 However, there is no limitation on the method for determining the presence / absence of the slave stations 4, 5 and 6 set as the primary temporary address, and other methods may be adopted depending on the usage situation. For example, the management control data extraction means 42 of the slave stations 4, 5 and 6 sends the data that becomes the survival confirmation monitoring data Ri to the management monitoring data transmission means 45 even when the primary temporary address determined by the own station is specified. The master station 2 may determine the existence or nonexistence of the slave stations 4, 5, and 6 in which the primary temporary address is set based on the survival confirmation monitoring data Ri.

親局2の管理データ部22は、重複が無い場合には、その一次仮アドレスに、一次仮アドレスの設定が1回目であることを示す固有値、例えば数値の1(3ビットアナログ表示の001)を加えた数値を、確定した二次仮アドレスとして、二次仮アドレステーブルに追加する。(図8のステップ4) If there is no duplication, the management data unit 22 of the master station 2 has an eigenvalue indicating that the primary temporary address has been set for the first time, for example, a numerical value 1 (001 for 3-bit analog display). Is added to the secondary temporary address table as a fixed secondary temporary address. (Step 4 in FIG. 8)

一次仮アドレスとして設定され得る所定個数の数値の全てについて、重複の有無の判定が終了したら、重複の無い一次仮アドレスに対し、二次仮アドレステーブルに追加された二次仮アドレスを伝送する。これを受けた子局4、5、6は、自局に設定されている一次仮アドレスが親局2に指定された数値と一致する場合、既述の仮アドレス確定処理が実行される。(図8のステップ4) When the determination of the presence or absence of duplication is completed for all the predetermined number of numerical values that can be set as the primary temporary address, the secondary temporary address added to the secondary temporary address table is transmitted to the unique primary temporary address. Upon receiving this, the slave stations 4, 5 and 6 execute the above-mentioned temporary address determination process when the primary temporary address set in the own station matches the numerical value specified in the master station 2. (Step 4 in FIG. 8)

また、重複している一次仮アドレスに対し、一次仮アドレス再設定の指示がなされる。これを受けた子局4、5、6は、自局に設定されている一次仮アドレスが親局2に指定された数値と一致する場合、既述の一次仮アドレス生成処理が実行され、乱数に基づいて所定個数の数値の中から選定された一つが一次仮アドレスとして再設定される。(図8のステップ5) In addition, the duplicate primary temporary address is instructed to reset the primary temporary address. In response to this, when the primary temporary address set in the own station matches the numerical value specified in the master station 2, the slave stations 4, 5 and 6 execute the above-mentioned primary temporary address generation process and generate random numbers. One selected from a predetermined number of numerical values based on is reset as a primary temporary address. (Step 5 in FIG. 8)

先に設定された一次仮アドレスに重複のあった子局4、5、6において、一次仮アドレスが再設定されたら、再設定された一次仮アドレスについて、上記と同様の手順で重複の有無が判定される。そして、重複の無い一次仮アドレスが設定されている子局4、5、6については二次仮アドレスを確定し、重複の有る一次仮アドレスが設定されている子局4、5、6については、更に、一次仮アドレスが再設定され、重複の有無が判定される。 If the primary temporary address is reset in the slave stations 4, 5 and 6 that have duplicates in the previously set primary temporary address, the reset primary temporary address will be checked for duplication by the same procedure as above. It is judged. Then, the secondary temporary addresses are fixed for the slave stations 4, 5 and 6 in which the primary temporary addresses without duplication are set, and the slave stations 4, 5 and 6 in which the primary temporary addresses with duplication are set are determined. Furthermore, the primary temporary address is reset, and the presence or absence of duplication is determined.

なお、二次仮アドレスを確定するために用いられる固有値は、先の二次仮アドレス確定に用いられた固有値と異なる数値を採用する。例えば、2回目の一次仮アドレス設定で確定した場合は数値2(3ビットアナログ表示の010)を、3回目の乱数発生に基づき確定する場合は数値3(3ビットアナログ表示の011)を採用する。 The eigenvalues used to determine the secondary temporary address are different from the eigenvalues used to determine the secondary temporary address. For example, the numerical value 2 (010 of 3-bit analog display) is adopted when the confirmation is made by the second primary temporary address setting, and the numerical value 3 (011 of the 3-bit analog display) is adopted when the confirmation is made based on the generation of the third random number. ..

一次仮アドレス設定、アドレス重複有無の判定、および二次仮アドレス確定の処理は、一次仮アドレス設定の重複が確認されなくなるまで繰り替えされる。そして、重複して設定された一次仮アドレスが無くなったものと判定された場合、そのときの二次仮アドレスの確定をもって、全ての子局4、5、6に対し二次仮アドレスが設定された状態となる。(図8のステップ6) The processing of primary temporary address setting, determination of presence / absence of address duplication, and determination of secondary temporary address is repeated until no duplication of primary temporary address setting is confirmed. Then, when it is determined that the primary temporary addresses set in duplicate have disappeared, the secondary temporary addresses are set for all the slave stations 4, 5 and 6 by confirming the secondary temporary addresses at that time. It will be in a state of being. (Step 6 in FIG. 8)

全ての子局4、5、6に二次仮アドレスが設定された状態となったら、親局2は、全ての二次仮アドレスを順次指定し、全ての子局4、5、6の各々のプロファイルデータを収集する。そして、プロファイルデータを二次仮アドレスに関連づけてまとめた二次仮アドレステーブルが完成する(図8のステップ7) When the secondary temporary addresses are set for all the slave stations 4, 5 and 6, the master station 2 sequentially specifies all the secondary temporary addresses and all the slave stations 4, 5 and 6 respectively. Collect profile data for. Then, a secondary temporary address table that summarizes the profile data in association with the secondary temporary address is completed (step 7 in FIG. 8).

二次仮アドレステーブルが完成したら、親局2の管理データ部22に記憶されている子局情報テーブルと二次仮アドレステーブルに基づき、全ての子局4、5、6に対し占有点数(占有アドレス)が反映された正アドレスが割り振られる。(図8のステップ8) When the secondary temporary address table is completed, the number of occupied points (occupied) for all slave stations 4, 5 and 6 based on the slave station information table and the secondary temporary address table stored in the management data unit 22 of the master station 2 A positive address that reflects the address) is assigned. (Step 8 in FIG. 8)

全ての子局4、5、6に割り振られた正アドレスは、二次仮アドレスを利用して親局2から全ての子局4、5、6に伝送を介して設定される。この実施形態では、管理制御データ領域を使用し、二次仮アドレスを順次指定するとともに、指定した二次仮アドレスに対応付けられる正アドレスが伝送される。これを受けた子局4、5、6は、自局に設定されている二次仮アドレスが親局2に指定された数値と一致する場合、既述の正アドレス確定処理が実行される。そして、子局4、5、6に正アドレスが設定される。(図8のステップ9) The positive addresses assigned to all the slave stations 4, 5 and 6 are set from the master station 2 to all the slave stations 4, 5 and 6 via transmission using the secondary temporary address. In this embodiment, the management control data area is used, the secondary temporary address is sequentially specified, and the positive address associated with the designated secondary temporary address is transmitted. Upon receiving this, the slave stations 4, 5 and 6 execute the above-mentioned positive address determination process when the secondary temporary address set in the own station matches the numerical value specified in the master station 2. Then, positive addresses are set in the slave stations 4, 5 and 6. (Step 9 in FIG. 8)

全ての子局4、5、6に正アドレスが設定されたら、続いて固有識別子が設定される。固有識別子も、正アドレスと同様に、二次仮アドレスを利用して親局2から全ての子局4、5、6に伝送を介して設定される。この実施形態では、管理制御データ領域を使用し、二次仮アドレスを順次指定するとともに、指定した二次仮アドレスに対応付けられる固有識別子が伝送される。これを受けた子局4、5、6は、自局に設定されている二次仮アドレスが親局2に指定された数値と一致する場合、既述の固有識別子確定処理が実行される。そして、子局4、5、6に固有識別子が設定される。(図8のステップ10) After the positive addresses are set for all the slave stations 4, 5 and 6, the unique identifier is subsequently set. Like the primary address, the unique identifier is also set from the master station 2 to all the slave stations 4, 5 and 6 via transmission using the secondary temporary address. In this embodiment, the management control data area is used, the secondary temporary address is sequentially specified, and the unique identifier associated with the designated secondary temporary address is transmitted. Upon receiving this, the slave stations 4, 5 and 6 execute the above-mentioned unique identifier determination process when the secondary temporary address set in the own station matches the numerical value specified in the master station 2. Then, unique identifiers are set in the slave stations 4, 5 and 6. (Step 10 in FIG. 8)

全ての子局4、5、6に設定された正アドレスおよび固有識別子は、設定値有効化処理により有効化される。(図8のステップ11)この実施形態では、アドレス設定処理(図8のステップ1〜10)の終了後にシステムを再起動することで、正アドレスおよび固有識別子が有効化されるものとなっている。ただし、有効化手段に制限はなく、使用状況や設計状況に応じ適宜決めることができる。例えば、親局2から全ての子局4、5、6に対し、ブロードキャストコマンドを送信することとしてもよい。 The positive addresses and unique identifiers set in all the slave stations 4, 5 and 6 are activated by the set value activation process. (Step 11 of FIG. 8) In this embodiment, the positive address and the unique identifier are activated by restarting the system after the address setting process (steps 1 to 10 of FIG. 8) is completed. .. However, there is no limitation on the activation means, and it can be appropriately decided according to the usage situation and the design situation. For example, a broadcast command may be transmitted from the master station 2 to all the slave stations 4, 5, and 6.

この実施形態において、正アドレスの割り振りは親局2の管理データ部22において実行されているが、正アドレスを割り振る手順に制限はない。例えば、子局情報テーブルが存在しない場合は、二次仮アドレステーブルに基づきシステム設計を考慮しながら、正アドレスを割り振ることにしてもよい。 In this embodiment, the allocation of the positive address is executed by the management data unit 22 of the master station 2, but there is no limitation on the procedure for allocating the positive address. For example, if the slave station information table does not exist, the positive address may be assigned based on the secondary temporary address table while considering the system design.

また、一次仮アドレスは、所定個数の数値の中の一つが設定されるものであれば、乱数に基づかないその他の手法を採用して設定してもよい。 Further, the primary temporary address may be set by adopting another method that is not based on a random number, as long as one of a predetermined number of numerical values is set.

正アドレスは、同時に動作させる複数の出力部8の各々に接続された出力子局5に重複設定されている。この実施形態では、図1に示す2つの出力子局に正アドレスが重複設定されている。そして、正アドレスを重複設定することにより、次の効果を得ることができる。 The positive address is duplicated in the output slave station 5 connected to each of the plurality of output units 8 to be operated at the same time. In this embodiment, the positive addresses are duplicated in the two output slave stations shown in FIG. Then, the following effects can be obtained by setting duplicate positive addresses.

<接続点数の増加>
正アドレスを各々の出力子局5に設定する場合、IOデータ領域における異なるデータ領域が、各々の出力子局5に割り振られる。図9(b)に示す例では、アドレス1〜4番地のデータ領域が一方の出力子局5に、アドレス5〜8番地のデータ領域が他方の出力子局5に割り振られている。そして、各々の出力子局5は、割り振られたデータ領域の先頭アドレス番地が、図9(b)に示す例ではアドレス番地1とアドレス番地5が自局の正アドレスとして設定され、その正アドレスから始まるデータ領域のIO制御データを伝送信号から抽出する。
<Increase in the number of connection points>
When the positive address is set to each output slave station 5, different data areas in the IO data area are allocated to each output slave station 5. In the example shown in FIG. 9B, the data area at addresses 1 to 4 is allocated to one output slave station 5, and the data area at addresses 5 to 8 is allocated to the other output slave station 5. Then, in each output slave station 5, the start address address of the allocated data area is set to the address address 1 and the address address 5 as the positive addresses of the own station in the example shown in FIG. 9B, and the positive addresses thereof. The IO control data in the data area starting with is extracted from the transmission signal.

一方、同時に動作させる複数の出力部8の各々に接続された出力子局5に正アドレスを重複設定する場合、IOデータ領域における同一のデータ領域が、双方の出力子局5に割り振られる。図9(a)に示す例では、アドレス1〜4番地のデータ領域が双方の出力子局5に割り振られている。そして、双方の出力子局5に、割り振られたデータ領域の同じ先頭アドレス番地が、図9(a)に示す例ではアドレス番地1が自局の正アドレスとして設定され、その正アドレスから始まるデータ領域のIO制御データを伝送信号から抽出する。そのため、アドレス5〜8番地のデータ領域は他の子局4、5、6に割り当てることができる。すなわち、伝送ラインへの接続点数を増やすことができる。 On the other hand, when the positive address is duplicated in the output slave station 5 connected to each of the plurality of output units 8 to be operated at the same time, the same data area in the IO data area is allocated to both output slave stations 5. In the example shown in FIG. 9A, the data areas at addresses 1 to 4 are allocated to both output slave stations 5. Then, the same start address address of the allocated data area is set in both output slave stations 5, and in the example shown in FIG. 9A, the address address 1 is set as the positive address of the own station, and the data starts from the positive address. The IO control data of the area is extracted from the transmission signal. Therefore, the data area at addresses 5 to 8 can be allocated to other slave stations 4, 5, and 6. That is, the number of connection points to the transmission line can be increased.

<動作時間遅れの防止>
IOデータ領域における異なるデータ領域が、各々の出力子局5に割り振られた場合、親局2から送信されるタイミングの違いにより、出力部8の動作に時間差が生じることになる。図9(b)に示す例では、アドレス4番地のデータ領域のデータが出力されてから、アドレス8番地のデータ領域のデータが出力されるまでの時間差が生じることになる。一方、IOデータ領域における同一のデータ領域が、各々の出力子局5に割り振られた場合、出力部8の動作に時間差が生じることを防止できる。図9(a)に示す例では、アドレス4番地のデータ領域のデータが出力されたとき、双方の出力部8が動作することになる。例えば、出力部8が照明装置であり、一つの部屋に多数の照明装置が設置されている場合、部屋の中の全ての照明装置を同時に点灯させることができる。
<Prevention of operation time delay>
When different data areas in the IO data area are allocated to each output slave station 5, a time difference occurs in the operation of the output unit 8 due to the difference in the timing of transmission from the master station 2. In the example shown in FIG. 9B, there is a time lag between the output of the data in the data area at address 4 and the output of the data in the data area at address 8. On the other hand, when the same data area in the IO data area is allocated to each output slave station 5, it is possible to prevent a time difference in the operation of the output unit 8. In the example shown in FIG. 9A, when the data in the data area at address 4 is output, both output units 8 operate. For example, when the output unit 8 is a lighting device and a large number of lighting devices are installed in one room, all the lighting devices in the room can be turned on at the same time.

正アドレスは、複数の入力子局4に重複設定してもよい。例えば、入力部7がセンサであれば、複数のセンサによるワイヤードORを実行することが可能となる。 The positive address may be duplicated in a plurality of input slave stations 4. For example, if the input unit 7 is a sensor, it is possible to execute wired OR by a plurality of sensors.

この実施形態において、親局2が管理データ領域を利用して子局4、5、6とデータの授受を行う場合、第二管理制御データIDXoとして、子局4、5、6を指定する固有識別子が親局2から出力される。そして、自局に設定された固有識別子が指定された子局4、5、6からは、既述のように、生存確認用監視データRiが出力される。従って、親局2が子局4、5、6と管理データ領域を利用してデータの授受を行う都度、それら子局4、5、6の生存を確認することができる。 In this embodiment, when the master station 2 exchanges data with the slave stations 4, 5, and 6 using the management data area, the slave stations 4, 5, and 6 are designated as the second management control data IDXo. The identifier is output from the master station 2. Then, as described above, the survival confirmation monitoring data Ri is output from the slave stations 4, 5 and 6 to which the unique identifier set in the own station is specified. Therefore, it is possible to confirm the survival of the slave stations 4, 5 and 6 each time the master station 2 exchanges data with the slave stations 4, 5 and 6 using the management data area.

また、この実施形態において、固有識別子は、子局4、5、6の各々に一個設定されているが、その数に制限はなく、重複しない範囲で複数設定してもよい。例えば、4個の入力端子を備える入力子局4に、4個の異なる固有識別子を設定し、それら固有識別子を各入力端子に対応されることにより、入力端子毎の生存を確認することが可能となる。 Further, in this embodiment, one unique identifier is set for each of the slave stations 4, 5, and 6, but the number is not limited, and a plurality of unique identifiers may be set within a range that does not overlap. For example, by setting four different unique identifiers in the input slave station 4 having four input terminals and corresponding the unique identifiers to each input terminal, it is possible to confirm the survival of each input terminal. It becomes.

更に、この実施形態において、固有識別子は、任意に決められた数値を親局2の管理データ部22に記憶させ、二次仮アドレスを使用して子局4、5、6の各々に設定されているが、重複しない範囲で設定されるものであれば制限はない。子局4、5、6の各々に設定された二次仮アドレスを、固有識別子として利用してもよい。 Further, in this embodiment, the unique identifier is set in each of the slave stations 4, 5 and 6 by storing an arbitrarily determined numerical value in the management data unit 22 of the master station 2 and using the secondary temporary address. However, there is no limit as long as it is set within a range that does not overlap. The secondary temporary address set in each of the slave stations 4, 5 and 6 may be used as a unique identifier.

固有識別子は、親局2と子局4、5、6との間で行われる伝送の速度や容量を考慮し数字で示されるが、補修維持作業などにおいて、人が装置の機種や設置場所をその内容から特定することは難しい。そこで、人による作業の効率を考慮し、装置の機種や設置場所を人が想起できる程度の内容で表現したラベルを、固有識別子とは別に、子局4、5、6の各々に設定してもよい。 The unique identifier is indicated by a number in consideration of the speed and capacity of transmission performed between the master station 2 and the slave stations 4, 5, and 6, but in repair and maintenance work, a person determines the model and installation location of the device. It is difficult to identify from the contents. Therefore, in consideration of the efficiency of work by humans, labels expressing the model and installation location of the device with contents that can be recalled by humans are set in each of the slave stations 4, 5 and 6 separately from the unique identifier. May be good.

例えば、既述のように出力部8が照明装置であれば、出力装置であることを示す文字Oと、照明装置であることを示す文字Lに、照明装置の通し番号を組合せ、OL1、OL2などとしたラベルを設定することにより、人が装置を容易に特定することが可能となり、人による作業の効率向上が期待できる。 For example, if the output unit 8 is a lighting device as described above, the letter O indicating that it is an output device and the letter L indicating that it is a lighting device are combined with the serial number of the lighting device, such as OL1 and OL2. By setting the label, it is possible for a person to easily identify the device, and it is expected that the efficiency of work by the person will be improved.

1 制御部
2 親局
4 入力子局
5 出力子局
6 入出力子局
7 入力部
8 出力部
9 入出力部
11 管理判断手段
12 入出力ユニット
21 出力データ部
22 管理データ部
23 タイミング発生部
24 親局出力部
25 親局入力部
26 入力データ部
27 比較判断部
29 記憶手段
31 発振回路(OSC)
32 タイミング発生手段
33 制御データ発生手段
34 ラインドライバ
35 監視信号検出手段
36 監視データ抽出手段
40 子局入力部
41 伝送受信手段
42 管理制御データ抽出手段
43 アドレス抽出手段
44 プロファイルデータ記憶手段
45 管理監視データ送信手段
46 入力手段
47 IO監視データ送信手段
48 管理制御指示判定手段
49 アドレス設定処理手段
50 子局出力部
51 子局ラインレシーバ
52 子局ラインドライバ
53 アドレス生成手段
54 比較判断データ生成手段
55 乱数発生手段
56 IO制御データ抽出手段
57 出力手段
1 Control unit 2 Master station 4 Input slave station 5 Output slave station 6 Input / output slave station 7 Input unit 8 Output unit 9 Input / output unit 11 Management judgment means 12 Input / output unit 21 Output data unit 22 Management data unit 23 Timing generation unit 24 Master station output unit 25 Master station input unit 26 Input data unit 27 Comparison judgment unit 29 Storage means 31 Oscillation circuit (OSC)
32 Timing generation means 33 Control data generation means 34 Line driver 35 Monitoring signal detection means 36 Monitoring data extraction means 40 Slave station input unit 41 Transmission / reception means 42 Management control data extraction means 43 Address extraction means 44 Profile data storage means 45 Management monitoring data Transmission means 46 Input means 47 IO monitoring data transmission means 48 Management control instruction judgment means 49 Address setting processing means 50 Slave station output unit 51 Slave station line receiver 52 Slave station line driver 53 Address generation means 54 Comparison judgment data generation means 55 Random generation Means 56 IO control data extraction means 57 Output means

Claims (5)

制御側装置と共通の伝送線を介して伝送同期方式によりデータの授受を行う子局の複数を備え、伝送手順の中に、前記子局に対するIO制御データと前記子局によって重畳されるIO監視データとで構成されるIOデータ領域と異なる管理データ領域が設けられた制御・監視信号伝送システムにおいて、
前記子局毎に所定個数の数値の中の一つが一次仮アドレスとして設定され、
前記制御側装置から、前記一次仮アドレスとして設定される可能性のある全数値が前記管理データ領域を介して順次指定され、前記子局に対する問い合わせが実行される問い合せ工程と、
前記指定された数値が前記一次仮アドレスと一致する前記子局からの前記管理データ領域を介した前記問い合わせに対する返信に基づき、前記一次仮アドレスの重複の有無が判定される重複判定工程と、
前記制御側装置から、重複が無いと判定された前記一次仮アドレスが前記管理データ領域を介して順次指定され、前記管理データ領域を介して指定された前記一次仮アドレスに所定の固有値を付加した二次仮アドレスが、前記指定された一次仮アドレスと併せて前記管理データ領域を介して伝送され、前記指定された一次仮アドレスが自局で設定された前記一次仮アドレスと一致した前記子局において、前記指定された一次仮アドレスと併せて伝送された前記二次仮アドレスが設定される二次仮アドレス設定工程と、
前記制御側装置から、重複が有ると判定された前記一次仮アドレスが前記管理データ領域を介し順次指定され、一次仮アドレス設定コマンドが前記指定された一次仮アドレスと併せて前記管理データ領域を介して伝送され、前記指定された一次仮アドレスが自局で設定された前記一次仮アドレスと一致した前記子局において、所定個数の数値の中の一つが一次仮アドレスとして設定される一次仮アドレス再設定工程を有し、
前記問い合わせ工程と、前記重複判定工程と、前記二次仮アドレス設定工程と、前記一次仮アドレス再設定工程が、前記一次仮アドレスの重複が無くなるまで繰り返され、
前記二次仮アドレスを構成する前記固有値は、前記一次仮アドレスが再設定される毎に異なる値とされ、
前記子局毎に異なる前記二次仮アドレスが設定された後、前記子局の各々に割り当てる前記IOデータ領域におけるデータ領域の前記IOデータ領域における開始位置を示す正アドレスと、前記子局毎に異なる固有識別子が、前記管理データ領域を介し前記二次仮アドレスを利用して前記子局の各々に設定され、
前記子局毎に異なる前記固有識別子が設定された後、前記固有識別子が前記管理データ領域で指定され、前記指定された固有識別子が自局に設定された前記固有識別子と一致する前記子局からの応答の有無を検出することを特徴とする子局生存確認方式。
It is equipped with a plurality of slave stations that send and receive data by a transmission synchronization method via a transmission line common to the control side device, and IO control data for the slave station and IO monitoring superimposed by the slave station in the transmission procedure. In a control / monitoring signal transmission system provided with a management data area different from the IO data area composed of data.
One of the predetermined number of numerical values is set as the primary temporary address for each slave station, and the primary temporary address is set.
An inquiry step in which all numerical values that may be set as the primary temporary address are sequentially specified from the control side device via the management data area, and an inquiry to the slave station is executed.
A duplication determination step in which the presence or absence of duplication of the primary temporary address is determined based on a reply to the inquiry from the slave station via the management data area where the specified numerical value matches the primary temporary address.
The primary temporary address determined to be unique from the control side device is sequentially designated via the management data area, and a predetermined eigenvalue is added to the primary temporary address designated via the management data area. The secondary temporary address is transmitted through the management data area together with the designated primary temporary address, and the slave station whose specified primary temporary address matches the primary temporary address set by the own station. In the secondary temporary address setting step in which the secondary temporary address transmitted together with the designated primary temporary address is set,
From the control side device, the primary temporary address determined to have duplication is sequentially designated via the management data area, and the primary temporary address setting command is sequentially designated via the management data area together with the designated primary temporary address. In the slave station where the specified primary temporary address matches the primary temporary address set by the own station, one of a predetermined number of numerical values is set as the primary temporary address. Has a setting process
The inquiry step, the duplication determination step, the secondary temporary address setting step, and the primary temporary address resetting step are repeated until there is no duplication of the primary temporary address.
The eigenvalues constituting the secondary temporary address are set to different values each time the primary temporary address is reset.
After the secondary temporary address different for each slave station is set, the positive address indicating the start position of the data area in the IO data area assigned to each of the slave stations and the positive address indicating the start position in the IO data area and each slave station. Different unique identifiers are set for each of the slave stations using the secondary temporary address via the management data area.
After the unique identifier is set for each slave station, the unique identifier is specified in the management data area, and the designated unique identifier matches the unique identifier set in the own station from the slave station. A slave station survival confirmation method characterized by detecting the presence or absence of a response.
前記二次仮アドレスが前記固有識別子とされる請求項1に記載の子局生存確認方式。 The slave station survival confirmation method according to claim 1, wherein the secondary temporary address is the unique identifier. 前記固有識別子は、前記子局が有する複数のIO接続点に対応する異なる複数が設定される請求項1に記載の子局生存確認方式。 The slave station survival confirmation method according to claim 1, wherein a plurality of different unique identifiers corresponding to a plurality of IO connection points of the slave station are set. 前記子局毎に、前記固有識別子と異なるラベルを設定する請求項1、2または3に記載の子局生存確認方式。 The slave station survival confirmation method according to claim 1, 2 or 3, wherein a label different from the unique identifier is set for each slave station. 前記ラベルが文字列を含んでいる請求項4に記載の子局生存確認方式。
The slave station survival confirmation method according to claim 4, wherein the label contains a character string.
JP2020525190A 2018-06-22 2018-06-22 Control / monitoring signal transmission system slave station survival confirmation method Active JP6938787B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/023783 WO2019244332A1 (en) 2018-06-22 2018-06-22 Method for confirming survival of slave station in control/monitor signal transmission system

Publications (2)

Publication Number Publication Date
JPWO2019244332A1 JPWO2019244332A1 (en) 2021-06-24
JP6938787B2 true JP6938787B2 (en) 2021-09-22

Family

ID=68982849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020525190A Active JP6938787B2 (en) 2018-06-22 2018-06-22 Control / monitoring signal transmission system slave station survival confirmation method

Country Status (2)

Country Link
JP (1) JP6938787B2 (en)
WO (1) WO2019244332A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2708256B2 (en) * 1990-02-22 1998-02-04 株式会社日立製作所 Air conditioner address setting device
JP3207670B2 (en) * 1994-05-09 2001-09-10 松下電器産業株式会社 Communication method
JP2006295585A (en) * 2005-04-12 2006-10-26 Furukawa Electric Co Ltd:The Method for setting address of communication terminal and communication terminal inspection device utilizing method
CN103891225B (en) * 2011-09-26 2016-10-12 株式会社爱霓威亚 The slave station terminal that transmission line wire break detection method and the method are used
JP5208327B1 (en) * 2012-04-27 2013-06-12 三菱電機株式会社 Transmission line address duplication detection method and slave station terminal used for the method
JP2015179990A (en) * 2014-03-19 2015-10-08 カルソニックカンセイ株式会社 address setting method and system

Also Published As

Publication number Publication date
WO2019244332A1 (en) 2019-12-26
JPWO2019244332A1 (en) 2021-06-24

Similar Documents

Publication Publication Date Title
US20130131837A1 (en) Prioritized Controller Arbitration
CA2651306A1 (en) Modular boiler control
CN101981901A (en) Automatic bus address assignment using collision testing
CN103281261A (en) Ethernet communication method and Ethernet communication system
CN109071164A (en) The transport equipment for persons of field device including central control unit and multiple fault recognition methods with optimization
JP6907407B2 (en) Control / monitoring signal transmission system address setting method
JP7293045B2 (en) Slave station identification method for control/monitoring signal transmission system
JP6938787B2 (en) Control / monitoring signal transmission system slave station survival confirmation method
US9501440B2 (en) Slave control device and method for programming a slave control device
KR101173633B1 (en) Fault diagosis system for lamp and fault diagosis
CN112740121A (en) Control architecture for a vehicle
US9959231B2 (en) Data bus coupler and method of operation
JP6042585B2 (en) New slave station setting method for control / monitor signal transmission system
WO2017093559A1 (en) Intelligent lighting and sensing system and method thereof
US20190163249A1 (en) Method and apparatus for initializing a power distribution circuit
US20170187650A1 (en) Switch unit, ethernet network, and method for activating components in an ethernet network
JP5276461B2 (en) Network system
EP3721684B1 (en) Lighting system
JP2011113760A (en) Lighting control system
JP7171974B1 (en) Control/monitoring signal transmission system
JP6655768B2 (en) Control / monitoring signal transmission system
KR20220021446A (en) Distributed communication system and method of controlling the same system
KR101543148B1 (en) Automatic searching method of sub-module for direct digital control device
JP6637635B2 (en) Control / monitoring signal transmission system
EP3726939B1 (en) Commissioning of electrical devices in an automated home environment

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210614

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210614

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20210614

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210901

R150 Certificate of patent or registration of utility model

Ref document number: 6938787

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150