JP7293045B2 - Slave station identification method for control/monitoring signal transmission system - Google Patents

Slave station identification method for control/monitoring signal transmission system Download PDF

Info

Publication number
JP7293045B2
JP7293045B2 JP2019152500A JP2019152500A JP7293045B2 JP 7293045 B2 JP7293045 B2 JP 7293045B2 JP 2019152500 A JP2019152500 A JP 2019152500A JP 2019152500 A JP2019152500 A JP 2019152500A JP 7293045 B2 JP7293045 B2 JP 7293045B2
Authority
JP
Japan
Prior art keywords
station
data
temporary address
address
child
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
JP2019152500A
Other languages
Japanese (ja)
Other versions
JP2021034851A (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 株式会社 エニイワイヤ
Priority to JP2019152500A priority Critical patent/JP7293045B2/en
Publication of JP2021034851A publication Critical patent/JP2021034851A/en
Application granted granted Critical
Publication of JP7293045B2 publication Critical patent/JP7293045B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、制御側に設けられた親局と被制御側に設けられた複数の子局との間の信号線を省配線化し、共通の伝送線で接続し、伝送クロックで同期させるなどの伝送同期方式によりデータの伝送を行う制御・監視信号伝送システムにおいて、制御側装置から離れて設置された複数の子局の中から対象となる子局を特定する方式に関するものである。 According to the present invention, signal lines between a master station provided on the control side and a plurality of slave stations provided on the controlled side are reduced in wiring, connected by a common transmission line, and synchronized by a transmission clock. The present invention relates to a system for specifying a target slave station among a plurality of slave stations installed away from a control-side device in a control/monitoring signal transmission system that transmits data by a transmission synchronization method.

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

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

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

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

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

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

しかしながら、数値表現のアドレスは、子局の設置された位置や入出力種別、或いは用途など、子局の特性を示すものではない。そのため、子局の生存を確認した結果、不具合の生じている子局に設定されたアドレスが判明しても、その子局を特定することができなかった。そして、修理や交換などの対応措置をとるためには、子局が設置されている現場で対象となる子局を特定する作業が必要となり、対応措置に時間や手間を要していた。 However, the numerical address does not indicate the characteristics of the child station, such as the position where the child station is installed, the input/output type, or the application. Therefore, even if the address set to the malfunctioning slave station is found as a result of confirming the survival of the slave station, the slave station cannot be specified. In addition, in order to take countermeasures such as repair or replacement, it is necessary to identify the target child station at the site where the child station is installed, and it takes time and effort to take countermeasures.

また、子局に不具合が生じた場合に限られず、正常に動作している子局に対する作業、例えば、点検や設定変更を行う場合であっても、作業対象となるアドレスが付与された子局を、子局が設置されている現場で特定する作業が必要となり、そのための時間や手間を要していた。 In addition, it is not limited to when a problem occurs in a slave station, and even when performing work on a normally operating slave station, for example, when performing inspections or changing settings, the slave station to which the work target address is assigned has to be specified at the site where the slave station is installed, which requires time and effort.

更に、伝送同期方式によりデータの伝送を行う制御・監視信号伝送システムを利用したシステムを構築するためには、システムを構成する装置等とのデータの授受のために、システムの構築のための作業(配線など)では本来不要であった、数値表現のアドレスを装置等に割り振る作業が必要となった。そして、このアドレスを割り振る作業では、子局の特性と無関係の数値で表現されるアドレスを意識した計算や設定が必要となり、間違いが生じやすく、時間や手間を要し、間違いが生じた場合には、その発見や修正が極めて難しかった。 Furthermore, in order to build a system using a control/monitoring signal transmission system that transmits data by a transmission synchronous method, work for system construction is necessary for exchanging data with the devices that make up the system. (wiring, etc.), the task of allocating numerical addresses to devices, which was originally unnecessary, became necessary. In the work of assigning this address, it is necessary to make calculations and settings that are conscious of the addresses expressed by numerical values that are unrelated to the characteristics of the slave stations. was extremely difficult to detect and correct.

そこで、本発明は、伝送同期方式によりデータの伝送を行う制御・監視信号伝送システムに関する、人が介在する作業において、数値表現のアドレスを意識することなく子局を簡単に特定できる子局特定方式を提供することを目的とする。 Therefore, the present invention provides a slave station identification method that can easily identify a slave station without being conscious of addresses in numerical expressions in manual work related to a control/monitoring signal transmission system that transmits data by a transmission synchronization method. intended to provide

本発明に係る子局特定方式では、制御側装置と共通の伝送線を介して伝送同期方式によりデータの授受を行う子局の複数を備え、伝送手順の中に、前記子局に対するIO制御データと前記子局によって重畳されるIO監視データとで構成されるIOデータ領域と異なる管理データ領域が設けられた制御・監視信号伝送システムにおいて、前記子局毎に所定個数の数値の中の一つが一次仮アドレスとして設定され、問い合せ工程と、重複判定工程と、二次仮アドレス設定工程と、一次仮アドレス再設定工程が、前記一次仮アドレスの重複が無くなるまで繰り返される。 In the slave station specifying system according to the present invention, a plurality of slave stations are provided for transmitting and receiving data by a transmission synchronization method via a transmission line common to a control side device, and IO control data for the slave stations is included in the transmission procedure. and IO monitoring data superimposed by the child station, in a control/monitoring signal transmission system provided with a management data area different from the IO data area, one of the predetermined number of numerical values for each of the child stations is A primary temporary address is set, 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 child station is executed.

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

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

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

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

そして、子局毎に異なる前記二次仮アドレスが設定された後、前記管理データ領域を介し前記二次仮アドレスが順次指定され、指定された前記二次仮アドレスと自局に設定された前記二次仮アドレスの一致した前記子局から、前記管理データ領域を介して、前記子局を特定できる子局特定情報に関連付けされ前記子局に予め設定されたラベルが前記制御側装置に送信される。 After the secondary temporary address which is different for each child station is set, the secondary temporary address is sequentially designated via the management data area, and the designated secondary temporary address and the set for the own station are selected. From the slave station with the matching secondary temporary address, a label preset in the slave station associated with the slave station specifying information that can specify the slave station is transmitted to the control-side device via the management data area. be.

また、前記子局毎に異なる前記二次仮アドレスが設定された後、前記子局の各々に割り当てる前記IOデータ領域におけるデータ領域の前記IOデータ領域における開始位置を示す数値表現の正アドレスが、前記管理データ領域を介し前記二次仮アドレスを利用して前記子局の各々に設定され、前記ラベルに対応付けされる。 Further, after the secondary temporary address different for each of the child stations is set, the correct address in numerical expression indicating the starting position in the IO data area of the data area in the IO data area assigned to each of the child stations is: It is set in each of the child stations using the secondary temporary address through the management data area and associated with the label.

前記子局特定情報は、前記子局が設置された場所を特定する場所情報、前記子局の入出力種別、および前記子局の使用目的のいずれか、または、二つ以上の組合せであってもよい。 The child station identification information is any one of location information that identifies the location where the child station is installed, an input/output type of the child station, and a purpose of use of the child station, or a combination of two or more of them. good too.

前記子局毎に異なる前記二次仮アドレスが設定された後、前記子局毎に異なる固有識別子が、前記管理データ領域を介し前記二次仮アドレスを利用して前記子局の各々に設定され、前記ラベルが前記固有識別子に対応付けされてもよい。 After setting the secondary temporary address that is different for each of the child stations, a unique identifier that is different for each of the child stations is set to each of the child stations using the secondary temporary address via the management data area. , the label may be associated with the unique identifier.

前記子局に、初期状態として任意のデータが入力されていないことを示すブランクラベルが設定され、前記制御側装置に送信された前記ラベルが前記ブランクラベルのとき、前記ブランクラベルを送信した前記子局に前記ラベルが再設定されてもよい。 In the slave station, a blank label indicating that no arbitrary data has been input is set as an initial state, and when the label transmitted to the control-side device is the blank label, the slave station that transmitted the blank label Stations may be re-labeled.

本発明に係る子局特定方法によれば、子局を特定できる子局特定情報に関連付けされ子局に予め設定されたラベルが制御側装置に集約されるため、制御側でラベルを利用して子局を特定することができる。従って、人が介在する作業において、数値表現のアドレスを意識することなく子局を簡単に特定することができる。 According to the slave station specifying method according to the present invention, the label associated with the slave station specifying information capable of specifying the slave station and preset to the slave station is aggregated in the control device. A child station can be specified. Therefore, in the work involving human intervention, the child station can be easily specified without being conscious of the address in numerical expression.

また、子局の各々に割り当てるIOデータ領域におけるデータ領域のIOデータ領域における開始位置を示す数値表現の正アドレスがラベルに対応付けされることにより、子局の特性と無関係の数値で表現されるアドレスを意識した計算や設定が不要となる。すなわち、人が介在する作業において、数値表現のアドレスを意識することなく子局を簡単に特定することができる。 In addition, by associating the label with the correct address of the numerical expression indicating the start position of the data area in the IO data area in the IO data area assigned to each child station, it can be expressed by a numerical value that is irrelevant to the characteristics of the child station. Calculations and settings that are conscious of addresses are unnecessary. That is, in the work involving human intervention, the child station can be easily identified without being conscious of the address in numerical expression.

本発明に係る子局位置特定方法が適用される制御・監視信号伝送システムの概略構成を示すシステム構成図である。1 is a system configuration diagram showing a schematic configuration of a control/monitoring signal transmission system to which a child station position specifying method according to the present invention is applied; FIG. 親局のシステム構成図である。2 is a system configuration diagram of a master station; FIG. 入力子局のシステム構成図である。2 is a system configuration diagram of an input slave station; FIG. アドレス設定手段のシステム構成図である。2 is a system configuration diagram of address setting means; FIG. 出力子局のシステム構成図である。FIG. 3 is a system configuration diagram of an output slave station; 親局と子局の間の伝送方式の模式図である。4 is a schematic diagram of a transmission system between a master station and slave stations; FIG. 伝送クロック信号のタイムチャート図である。It is a time chart figure of a transmission clock signal. 制御側装置にラベルが集約されるまでの処理の流れを示す図である。FIG. 10 is a diagram showing the flow of processing until labels are aggregated in a control-side device;

図1~8を参照しながら、本発明に係る子局特定方式の実施形態を説明する。
図1は、本発明に係る子局特定方式が適用される制御・監視信号伝送システムの構成図である。この制御・監視信号伝送システムは、工場などの施設内に配置された多数の装置機器を制御部において集中制御するためのものである。図1に示すように、制御部1および共通データ信号線DP、DN(以下、伝送線とする)に接続された親局2と、被制御側となる施設内に配置され伝送線に接続された入力子局4、出力子局5および入出力子局6の複数で構成される。なお、図1においては、図示の便宜上、入力子局が一つ、出力子局が一つ、入出力子局が一つ示されているが、伝送線に接続される子局の種類や数に制限は無い。
An embodiment of the slave station identification method according to the present invention will be described with reference to FIGS. 1 to 8. FIG.
FIG. 1 is a configuration diagram of a control/supervisory signal transmission system to which a slave station specifying method according to the present invention is applied. This control/monitoring signal transmission system is for centrally controlling a large number of devices arranged in a facility such as a factory in a control section. As shown in FIG. 1, there are a master station 2 connected to a control unit 1 and common data signal lines DP and DN (hereinafter referred to as transmission lines), and a master station 2 which is arranged in a facility on the controlled side and connected to the transmission lines. It consists of a plurality of input slave stations 4 , output slave stations 5 and input/output slave stations 6 . For convenience of illustration, FIG. 1 shows one input slave station, one output slave station, and one input/output slave station. 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に相当するものとして、例えば、リードスイッチ、マイクロスイッチ、押釦スイッチ、光電スイッチ、その他各種センサを挙げることができるが、これらに限定されるものではない。 For example, a reed switch, a microswitch, a push button switch, a photoelectric switch, and various other sensors can be cited as examples of the input unit 7, but the present invention is not limited to these.

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

入出力部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, devices such as temperature controllers, timers, counters, etc., which have 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 . Also, 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 and an input/output unit 12 having arithmetic processing functions. The management judgment means 11 receives data from the master station 2 via the input/output unit 12 and performs necessary arithmetic processing based on the internally stored program.

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

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

管理データ部22は、子局情報テーブルを記憶する不揮発性機能を持つ記憶手段29を備える。そして、制御部1から受けたデータと子局情報テーブルに基づき、後述の管理制御データ領域において子局への指示に必要となるデータをシリアルデータとして親局出力部24へ引き渡す。 The management data unit 22 includes 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 necessary for instructing the slave station in the later-described management control data area is delivered to the master station output unit 24 as serial data.

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

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

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

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

伝送手順は、図6に示すように、伝送信号のスタート信号STと次のスタート信号STの間の、IOデータ領域、そして管理データ領域と続く1フレームサイクルであり、複数のパルス信号が連なって構成される。スタート信号STは、パルス信号の時間幅より長く、伝送信号から伝送クロック信号を生成するための閾値Vst(この実施例では18V)より高い電位レベルとなっている。 As shown in FIG. 6, the transmission procedure is one frame cycle between the start signal ST of the transmission signal and the next start signal ST, followed by an IO data area and a management data area. Configured. 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, a pulse signal that constitutes a transmission signal is composed of a power supply voltage area with a power supply voltage level higher than the threshold Vst and a low potential area with a potential level lower than the threshold Vst.

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

また、この実施形態では、電源電圧エリアが1周期の後半と、低電位エリアが1周期の前半とされているが、その順番に制限はなく、これらの順番を逆にしてもよい。電源電圧レベルを負電源とする場合も同様である。なお、この実施形態での低電位エリアは、負電源の場合、電源電圧エリアに対し高電位のエリアとなる。 Also, 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 there is no restriction on the order, and these orders may be reversed. The same applies when the power supply voltage level is the negative power supply. Note that the low potential area in this embodiment is a high potential area with respect to the power supply voltage area in the case of a negative power supply.

低電位エリアの幅は、制御信号のデータを表すものとなっている。そして、低電位エリアの幅が制御データとして制御データ領域を構成し、その制御データ領域は、図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 this control data area corresponds to the upper stage 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 the management control data area.

この実施形態では、伝送信号を構成するパルス信号の1周期をt0とした時、伝送信号を構成するパルス信号のパルス幅(3/4)t0が論理データ“1”を表し、パルス幅(1/4)t0が論理データ“0”を表している。ただし、制御部1から入力される制御データの値に応じたものであれば、その長さに制限はなく適宜に決めればよい。 In this embodiment, when one period of the pulse signal forming the transmission signal is t0, the pulse width (3/4) t0 of the pulse signal forming the transmission signal represents logic data "1", and the pulse width (1 /4) t0 represents 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 determined as appropriate.

低電位エリアには、また、電流信号が重畳され、この電流信号の有無により監視信号のデータを表すものとなっている。そして、低電位エリアに重畳される電流が監視データとして監視データ領域を構成し、その監視データ領域は、図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 this monitoring data area corresponds to the lower stage of the IO data area and the management data area in FIG. The monitoring data area in the management data area is hereinafter referred to as a management monitoring data area.

この実施形態では、10mAより小さい電流信号が論理データ“0”を表し、10mAより大きい電流信号が論理データ“1”を表している。 In this embodiment, a current signal less than 10 mA represents logic data "0" and a current signal greater than 10 mA represents logic 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 for instructing the slave stations 4, 5, 6 to request information, etc., and the unique identifier set for each of the slave stations 4, 5, 6 are stored. The designated second management control data IDXo is input from the master station 2 . 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 specified by the second management control data IDXo are stored. is entered. Further, in the management monitoring data area, survival confirmation monitoring data Ri is input from the slave stations 4, 5, and 6 whose unique identifier is designated by the second management control data IDXo.

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

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

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

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

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

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

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

伝送受信手段41は、伝送線に伝送される伝送信号を、子局ラインレシーバ51を介して受け、これを管理制御データ抽出手段42、アドレス抽出手段43および管理監視データ送信手段45に引き渡す。 The transmission/reception means 41 receives a transmission signal transmitted to the transmission line via the slave station line receiver 51 and transfers it 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に引き渡す。 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 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 (falling edge in this embodiment) at which the start signal ST indicating the beginning of the transmission clock signal ends. The timing at which this count value matches the self-station address (correct address) data set in the profile data storage means 44 is the timing at which the data area assigned to the self-station in the transmission signal starts (hereinafter referred to as "self-station region start timing”).

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

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

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

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

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

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

管理制御指示判定手段48は、管理制御データ抽出手段42から引き渡された第一管理制御データISToに基づき、適切な出力処理を実行する。この実施形態では、一次仮アドレス生成処理、および一次仮アドレス確認処理を実行するための指示信号をアドレス設定処理手段49に出力する。また、二次仮アドレス確定処理、正アドレス確定処理、および固有識別子設定処理を実行する場合は、第一管理制御データISToに含まれる自局宛てデータをプロファイルデータ記憶手段44に引き渡す。更に、プロファイルデータ送信処理を実行する場合は、データ送信を指示する信号をプロファイルデータ記憶手段44に出力する。 The management control instruction determination means 48 executes appropriate output processing based on the first management control data ISTo handed over 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 . Also, when executing the secondary temporary address determination processing, the correct address determination processing, and the unique identifier setting processing, the data addressed to the own station included in the first management control data ISTo is transferred to the profile data storage means 44 . Furthermore, when the profile data transmission process is to be executed, a signal instructing 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 processing>
As shown in FIG. 4, the address setting processing means 49 is composed of an address generating means 53, a comparison judgment data generating means 54, and a random number generating means 55. FIG. Then, when execution of the temporary temporary address generation process is selected by the management control instruction determination means 48 , an instruction signal is output to the address generation means 53 . The address generator 53 selects one of a predetermined number of numerical values as a primary temporary address based on the random number delivered from the random number generator 55 . The selected primary temporary address is transferred to the profile data storage means 44 and stored. The primary temporary address stored in the profile data storage means 44 is handed over to the management control data extraction means 42 upon request from the management control data extraction means 42 .

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

<二次仮アドレス確定処理>
管理制御指示判定手段48において二次仮アドレス確定処理の実行が選択された場合、プロファイルデータ記憶手段44に、自局宛てに送信された二次仮アドレスのデータが出力される。これを受けたプロファイルデータ記憶手段44では、引き渡されたデータが二次仮アドレスとして記憶される。なお、プロファイルデータ記憶手段44に記憶された二次仮アドレスは、管理制御データ抽出手段42からの求めに応じ管理制御データ抽出手段42に引き渡される。
<Secondary temporary address determination processing>
When the execution of the secondary temporary address determination process is selected by the management control instruction determination means 48 , the secondary temporary address data transmitted to the own station is output to the profile data storage means 44 . Upon receipt of this, the profile data storage means 44 stores the transferred data as a secondary temporary address. The secondary temporary address stored in the profile data storage means 44 is handed over 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 by the management control instruction determination means 48 , a signal instructing output of profile data is output to the profile data storage means 44 . The profile data and label are passed to the management/monitoring data transmission means 45 from the profile data storage means 44 which receives this.

<正アドレス確定処理>
管理制御指示判定手段48において正アドレス確定処理の実行が選択された場合、プロファイルデータ記憶手段44に、自局宛てに送信された正アドレスのデータが出力される。これを受けたプロファイルデータ記憶手段44では、引き渡されたデータが正アドレスとして記憶される。なお、正アドレスは、アドレス設定処理の終了後にシステム再起動若しくはそれに代わる手段によって有効とされる。そして、正アドレスが有効化された後、管理制御データ抽出手段42、および、アドレス抽出手段43からの求めに応じ、プロファイルデータ記憶手段44から要求のあった夫々の手段に正アドレスが引き渡される。
<Correct Address Confirmation Processing>
When the management control instruction determination means 48 selects execution of the correct address determination process, the correct address data sent to the own station is output to the profile data storage means 44 . Upon receipt of this, the profile data storage means 44 stores the delivered data as a normal address. It should be noted that the correct address is validated after the address setting process is completed by restarting the system or alternative means. After the correct address is validated, the correct address is transferred from the profile data storage means 44 to each requesting means in response to requests from the management control data extracting means 42 and the address extracting means 43 .

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

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

管理制御指示判定手段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 kind of response is requested from the master station 2 in the normal state after the address setting is completed. hand over.

通信手段58は、子局4と別体の外部端末59と通信接続され、外部端末59から設定データが引き渡された場合はこれをプロファイルデータ記憶手段44に引き渡す。プロファイルデータ記憶手段44は、通信手段58からデータが引き渡された場合、これを記憶する。 The communication means 58 is connected for communication with an external terminal 59 which is separate from the slave station 4 , and when the setting data is handed over from the external terminal 59 , it is handed over to the profile data storage means 44 . The profile data storage means 44 stores the data when the data is handed over from the communication means 58 .

通信手段58は、また、外部端末59からデータ引き渡しの要請があった場合は、プロファイルデータ記憶手段44から該当するデータを抽出し、これを外部端末59に引き渡す。通信手段58から外部端末59に引き渡されたデータは、外部端末59が備える表示部に表示される。 When the external terminal 59 requests data delivery, the communication means 58 extracts the relevant data from the profile data storage means 44 and delivers it to the external terminal 59 . The data handed over from the communication means 58 to the external terminal 59 is displayed on the display section provided in the external terminal 59 .

この実施形態において、ラベルは、これら通信手段58および外部端末59を介し設定されるものとなっている。 In this embodiment, the label is set via these communication means 58 and external terminal 59 .

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

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

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

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

IO制御データ抽出手段56は、アドレス抽出手段43から引き渡されたタイミング信号と伝送受信手段41から引き渡された伝送信号から、プロファイルデータ記憶手段44に記憶された自局アドレス(正アドレス)に送信されたIO制御データ値を抽出し、これを出力手段57に引き渡す。 The IO control data extracting means 56 uses the timing signal handed over from the address extracting means 43 and the transmission signal handed over from the transmission receiving means 41 to transmit to the local station address (correct address) stored in the profile data storage means 44. It extracts the IO control data value obtained and delivers it to the output means 57 .

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

<入出力子局の構成>
入出力子局6には、対応関係にある入力部7と出力部8の双方が接続されている。入出力子局6も、入力子局4および出力子局5と同様、内部回路としてマイクロコンピュータ・コントロール・ユニットであるMCUを備えており、このMCUが子局入出力部として機能するものとなっている。そして、入力子局4のMCUおよび出力子局5のMCUと同様に、入出力子局6の処理において必要となる演算や記憶は、このMCUの備えるCPU、RAMおよびROMを使用して実行されるものとなっている。
<Configuration of input/output slave station>
The input/output slave station 6 is connected to both the input section 7 and the output section 8 which are in correspondence with each other. 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. Similar to the MCU of the input slave station 4 and the MCU of the output slave station 5, the calculations and storage required in the processing of the input/output slave station 6 are executed using the CPU, RAM, and ROM of this MCU. It is a thing.

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

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

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

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

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

なお、子局4、5、6の何れにも一次仮アドレスとして設定されていない数値が指定された場合、何れの子局4、5、6からも元数は送信されない。従って、この実施形態では、親局2で受けた元数が0の場合、その数値が一時仮アドレスとして設定されている子局4、5、6は存在しないと判断し、比較照合は実行されないものとされている。 If any of the child stations 4, 5, and 6 designates a numerical value that is not set as the primary temporary address, none of the child stations 4, 5, and 6 transmits the original number. Therefore, in this embodiment, when the original 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 address do not exist, and no comparison is performed. It is assumed.

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

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

一次仮アドレスとして設定され得る所定個数の数値の全てについて、重複の有無の判定が終了したら、重複の無い一次仮アドレスに対し、二次仮アドレステーブルに追加された二次仮アドレスを伝送する。これを受けた子局4、5、6は、自局に設定されている一次仮アドレスが親局2に指定された数値と一致する場合、既述の仮アドレス確定処理が実行される。(図8のステップ4) After determining whether or not there is overlap for all of 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 primary temporary address with no overlap. If the primary temporary address set in the slave station 4, 5, 6 that receives this matches the numerical value specified in the master station 2, the above-described temporary address confirmation processing is executed. (Step 4 in Figure 8)

また、重複している一次仮アドレスに対し、一次仮アドレス再設定の指示がなされる。これを受けた子局4、5、6は、自局に設定されている一次仮アドレスが親局2に指定された数値と一致する場合、既述の一次仮アドレス生成処理が実行され、乱数に基づいて所定個数の数値の中から選定された一つが一次仮アドレスとして再設定される。(図8のステップ5) In addition, an instruction to reset the primary temporary address is issued for the duplicate primary temporary address. If the primary temporary address set in the child station 4, 5, 6 that has received this matches the numerical value specified in the master station 2, the child station 4, 5, 6 executes the above-described primary temporary address generation processing and generates a random number One selected from a predetermined number of numerical values is reset as the primary temporary address. (Step 5 in Figure 8)

先に設定された一次仮アドレスに重複のあった子局4、5、6において、一次仮アドレスが再設定されたら、再設定された一次仮アドレスについて、上記と同様の手順で重複の有無が判定される。そして、重複の無い一次仮アドレスが設定されている子局4、5、6については二次仮アドレスを確定し、重複の有る一次仮アドレスが設定されている子局4、5、6については、更に、一次仮アドレスが再設定され、重複の有無が判定される。 When the primary temporary addresses are reset in the slave stations 4, 5, and 6, which have duplicated the previously set primary temporary addresses, the presence or absence of duplication of the reset primary temporary addresses is checked in the same procedure as above. be judged. Then, the secondary temporary addresses are determined for the slave stations 4, 5, and 6 to which the primary temporary addresses without duplication are set, and the secondary temporary addresses are determined for the slave stations 4, 5, and 6 to which the duplicate primary temporary addresses are set. 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 unique value used to determine the secondary temporary address adopts a numerical value different from the unique value used to determine the secondary temporary address. For example, if it is determined by the second primary temporary address setting, the value 2 (3-bit analog display 010) is adopted, and if it is determined based on the third random number generation, the value 3 (3-bit analog display 011) is adopted. .

一次仮アドレス設定、アドレス重複有無の判定、および二次仮アドレス確定の処理は、一次仮アドレス設定の重複が確認されなくなるまで繰り替えされる。そして、重複して設定された一次仮アドレスが無くなったものと判定された場合、そのときの二次仮アドレスの確定をもって、全ての子局4、5、6に対し二次仮アドレスが設定された状態となる。(図8のステップ6) The processes of setting the primary temporary address, determining whether the address overlaps or not, and determining the secondary temporary address are repeated until the overlap of the primary temporary address setting is no longer confirmed. When it is determined that the redundantly set primary temporary addresses are eliminated, the secondary temporary addresses are set for all the child stations 4, 5 and 6 with the confirmation of the secondary temporary addresses at that time. state. (Step 6 in Figure 8)

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

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

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

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

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

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

また、この実施形態の正アドレスは、子局4、5、6のプロファイルデータに基づき割り振られているが、ラベルを使用したプログラミングがなされている場合は、ラベルに基づき正アドレスを割り振ることとしてもよい。 Further, although the correct addresses in this embodiment are assigned based on the profile data of the slave stations 4, 5, and 6, if programming is performed using labels, the correct addresses may be assigned based on the labels. good.

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

この実施形態によれば、制御側装置である親局2に集約されるラベルを利用して子局4、5、6を特定することができる。 According to this embodiment, the slave stations 4, 5, and 6 can be specified using the labels aggregated in the master station 2, which is the controlling device.

この実施形態では、自局に設定された固有識別子が指定された子局4、5、6から送信される生存確認用監視データRiを利用して子局4、5、6が生存していること、すなわち、異常の有無を検出し、生存していないものがあれば、その固有識別子が特定される。そして、固有識別子に対応付けされている二次仮アドレスを介してラベルが特定されるものとなっているが、固有識別子とラベルを直接対応付けることとしてもよい。 In this embodiment, the slave stations 4, 5, and 6 are alive using survival confirmation monitoring data Ri transmitted from the slave stations 4, 5, and 6, which are designated with the unique identifiers set in their own stations. That is, the presence or absence of anomalies is detected, and if any are not alive, their unique identifiers are identified. Although the label is specified via the secondary temporary address associated with the unique identifier, the unique identifier and label may be directly associated.

ラベルは子局4、5、6を特定できる子局特定情報に関連付けされている。子局特定情報としては、子局4、5、6が設置された場所を特定する場所情報、子局4、5、6の入出力種別、および子局4、5、6の使用目的が挙げられる。そして、これら情報のいずれか、または、二つ以上の組合せとしてもよい。例えば、入出力種別として出力装置を意味する文字Oと、使用目的として照明装置を意味するLに、場所情報として設置された部屋の番号を組み合わせたOL1、OL2などとすることができる。 The label is associated with child station identification information that can identify the child stations 4, 5, and 6. FIG. The slave station identification information includes location information that identifies the locations where the slave stations 4, 5, and 6 are installed, input/output types of the slave stations 4, 5, and 6, and usage purposes of the slave stations 4, 5, and 6. be done. Any of these information or a combination of two or more of them may be used. For example, OL1, OL2, etc. can be obtained by combining the letter O, which means an output device, as the input/output type, the L, which means a lighting device, as the purpose of use, and the number of the room where it is installed as the location information.

ラベルは、アドレス設定処理の実行前に設定しておく必要があるが、その設定方法に制限はない。この実施形態のように、子局4、5、6と別体の外部端末59を用いることなく、子局4、5、6に入力操作器を設けそれにより設定してもよい。また、子局4、5、6を配置してから現場で設定してもよく、現場に配置する前に設定してもよい。なお、いずれの場合においても、ラベルの内容は視認可能な状態で子局4、5、6本体或いは子局4、5、6が配置された位置の近くに表示しておくことが好ましい。 The label needs to be set before executing the address setting process, but there is no limitation on the setting method. As in this embodiment, without using the external terminal 59 separate from the slave stations 4, 5, and 6, the slave stations 4, 5, and 6 may be provided with input operators and set by them. Alternatively, the settings may be made at the site after the child stations 4, 5, and 6 are arranged, or may be set before being arranged at the site. In any case, it is preferable to display the content of the label in a visible state near the slave stations 4, 5 and 6 main bodies or the positions where the slave stations 4, 5 and 6 are arranged.

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 出力手段
58 通信手段
59 外部端末
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 determination 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 determination unit 29 Storage means 31 Oscillation circuit (OSC)
32 timing generating means 33 control data generating means 34 line driver 35 supervisory signal detecting means 36 supervisory data extracting means 40 slave station input section 41 transmission receiving means 42 management control data extracting means 43 address extracting means 44 profile data storage means 45 supervisory monitoring data Transmission means 46 Input means 47 IO monitoring data transmission means 48 Management control instruction determination 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 number generation Means 56 IO control data extraction means 57 Output means 58 Communication means 59 External terminal

Claims (4)

制御側装置と共通の伝送線を介して伝送同期方式によりデータの授受を行う子局の複数を備え、伝送手順の中に、前記子局に対するIO制御データと前記子局によって重畳されるIO監視データとで構成されるIOデータ領域と異なる管理データ領域が設けられた制御・監視信号伝送システムにおいて、
前記子局毎に所定個数の数値の中の一つが一次仮アドレスとして設定され、
前記制御側装置から、前記一次仮アドレスとして設定される可能性のある全数値が前記管理データ領域を介して順次指定され、前記子局に対する問い合わせが実行される問い合せ工程と、
前記指定された数値が前記一次仮アドレスと一致する前記子局からの前記管理データ領域を介した前記問い合わせに対する返信に基づき、前記一次仮アドレスの重複の有無が判定される重複判定工程と、
重複の無い前記一次仮アドレスに所定の固有値を付加した二次仮アドレスが生成され、前記二次仮アドレスを構成する前記一次仮アドレスが設定された前記子局に前記管理データ領域を介して前記二次仮アドレスが設定される二次仮アドレス設定工程と、
重複の有る前記一次仮アドレスが設定された前記子局に前記一次仮アドレスが再設定される一次仮アドレス再設定工程が、前記一次仮アドレスの重複が無くなるまで繰り返され、
前記二次仮アドレスを構成する前記固有値は、前記一次仮アドレスが再設定される毎に異なる値とされ、
前記子局毎に異なる前記二次仮アドレスが設定された後、前記管理データ領域を介し前記二次仮アドレスが順次指定され、指定された前記二次仮アドレスと自局に設定された前記二次仮アドレスの一致した前記子局から、前記管理データ領域を介して、前記子局を特定できる子局特定情報に関連付けされ前記子局に予め設定されたラベルが前記制御側装置に送信され
前記子局毎に異なる前記二次仮アドレスが設定された後、前記子局の各々に割り当てる前記IOデータ領域におけるデータ領域の前記IOデータ領域における開始位置を示す数値表現の正アドレスが、前記管理データ領域を介し前記二次仮アドレスを利用して前記子局の各々に設定され、前記ラベルに対応付けされることを特徴とする子局特定方式。
Provided with a plurality of slave stations for transmitting and receiving data by a transmission synchronization method via a transmission line common to a control side device, and IO control data for the slave stations and IO monitoring superimposed by the slave stations in the transmission procedure In a control/monitoring signal transmission system provided with a management data area different from an IO data area composed of data,
one of a predetermined number of numerical values is set as a primary temporary address for each slave station;
an inquiry step of sequentially specifying all numerical values that may be set as the primary temporary address from the control-side device via the management data area and executing an inquiry to the child station;
a duplication determination step of determining whether or not there is duplication of the primary temporary address based on a reply to the inquiry from the child station whose designated numerical value matches the primary temporary address through the management data area;
A secondary temporary address is generated by adding a predetermined peculiar value to the primary temporary address without duplication, and the secondary temporary address, which constitutes the secondary temporary address, is set to the child station through the management data area. a secondary temporary address setting step in which a secondary temporary address is set;
repeating a primary temporary address resetting step of resetting the primary temporary address to the child station to which the overlapping primary temporary address is set until there is no overlap of the primary temporary address;
the unique value constituting the secondary temporary address is set to a different value each time the primary temporary address is reset;
After the secondary temporary addresses that are different for each of the child stations are set, the secondary temporary addresses are sequentially specified via the management data area, and the specified secondary temporary addresses and the two From the child station having the matching next temporary address, a label set in advance in the child station associated with the child station identification information capable of identifying the child station is transmitted to the control-side device via the management data area. After the secondary temporary address, which is different for each child station, is set, the correct address in numerical expression indicating the starting position in the IO data area of the data area in the IO data area assigned to each of the child stations is set in the management data. A slave station identification method characterized in that it is set in each of said slave stations using said secondary temporary address via an area and is associated with said label.
前記子局特定情報は、前記子局が設置された場所を特定する場所情報、前記子局の入出力種別、および前記子局の使用目的のいずれか、または、二つ以上の組合せである請求項1に記載の子局特定方式。 The slave station identification information is any one of location information specifying the location where the slave station is installed, an input/output type of the slave station, and a purpose of use of the slave station, or a combination of two or more of them. The slave station identification method according to item 1. 前記子局毎に異なる前記二次仮アドレスが設定された後、前記子局毎に異なる固有識別子が、前記管理データ領域を介し前記二次仮アドレスを利用して前記子局の各々に設定され、前記ラベルに対応付けされる請求項1又は2に記載の子局特定方式。 After setting the secondary temporary address that is different for each of the child stations, a unique identifier that is different for each of the child stations is set to each of the child stations using the secondary temporary address via the management data area. , and the label. 前記子局に、初期状態として任意のデータが入力されていないことを示すブランクラベルが設定され、前記制御側装置に送信された前記ラベルが前記ブランクラベルのとき、前記ブランクラベルを送信した前記子局に前記ラベルが再設定される請求項1、2又は3に記載の子局特定方式。
In the slave station, a blank label indicating that no arbitrary data has been input is set as an initial state, and when the label transmitted to the control-side device is the blank label, the slave station that transmitted the blank label 4. A slave station identification method according to claim 1, 2 or 3, wherein the label is reset for the station.
JP2019152500A 2019-08-23 2019-08-23 Slave station identification method for control/monitoring signal transmission system Active JP7293045B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019152500A JP7293045B2 (en) 2019-08-23 2019-08-23 Slave station identification method for control/monitoring signal transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019152500A JP7293045B2 (en) 2019-08-23 2019-08-23 Slave station identification method for control/monitoring signal transmission system

Publications (2)

Publication Number Publication Date
JP2021034851A JP2021034851A (en) 2021-03-01
JP7293045B2 true JP7293045B2 (en) 2023-06-19

Family

ID=74676125

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019152500A Active JP7293045B2 (en) 2019-08-23 2019-08-23 Slave station identification method for control/monitoring signal transmission system

Country Status (1)

Country Link
JP (1) JP7293045B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20240058141A (en) * 2021-12-06 2024-05-03 애니와이어 가부시키가이샤 Control/monitoring signal transmission system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001217852A (en) 2000-02-04 2001-08-10 Meidensha Corp Method for setting slave station address
WO2013161055A1 (en) 2012-04-27 2013-10-31 三菱電機株式会社 Transmission line address duplication detection method and substation terminal used for same method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001217852A (en) 2000-02-04 2001-08-10 Meidensha Corp Method for setting slave station address
WO2013161055A1 (en) 2012-04-27 2013-10-31 三菱電機株式会社 Transmission line address duplication detection method and substation terminal used for same method

Also Published As

Publication number Publication date
JP2021034851A (en) 2021-03-01

Similar Documents

Publication Publication Date Title
CN107395304B (en) Device and method for controlling an automation system
US20130131837A1 (en) Prioritized Controller Arbitration
CN109071164A (en) The transport equipment for persons of field device including central control unit and multiple fault recognition methods with optimization
CN104137008A (en) Method for the failsafe operation of a process control system with redundant control devices
US9276762B2 (en) Method for allocating subscriber addresses to bus subscribers of a bus-based control system
JP2014174616A (en) Fa system and control device
JP7293045B2 (en) Slave station identification method for control/monitoring signal transmission system
JP5701459B1 (en) Programmable controller and programmable controller system
EP1521149A1 (en) Programmable logic controller with variable name resolving means
JP6907407B2 (en) Control / monitoring signal transmission system address setting method
JP2012150795A (en) Integration of field devices in distributed system
US9959231B2 (en) Data bus coupler and method of operation
US20140297913A1 (en) Slave control device and method for programming a slave control device
JP5208327B1 (en) Transmission line address duplication detection method and slave station terminal used for the method
JP6938787B2 (en) Control / monitoring signal transmission system slave station survival confirmation method
JP2016152611A (en) Data collection device, relay device and data collection system
JP5212509B2 (en) Address setting method in network system
WO2015198379A1 (en) New-slave-station setting scheme of control/monitor signal transmission system
JP2010041132A (en) Communication system
JP5606652B2 (en) Control and monitoring signal transmission system
US20190149510A1 (en) Method, Addressing Device, Computer Program Product, Industrial System and Facility for Safely Issuing Addresses to Modules in a Network
JP7171974B1 (en) Control/monitoring signal transmission system
CN110749032B (en) Operation control method and device, air conditioner and storage medium
US11747793B2 (en) Skill matching for control of an industrial production machine
US10001823B2 (en) Communication system, communication device, and address setting method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220721

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230517

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230607

R150 Certificate of patent or registration of utility model

Ref document number: 7293045

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150