Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6670522B2 - Distributed control system - Google Patents
[go: Go Back, main page]

JP6670522B2 - Distributed control system - Google Patents

Distributed control system Download PDF

Info

Publication number
JP6670522B2
JP6670522B2 JP2016147042A JP2016147042A JP6670522B2 JP 6670522 B2 JP6670522 B2 JP 6670522B2 JP 2016147042 A JP2016147042 A JP 2016147042A JP 2016147042 A JP2016147042 A JP 2016147042A JP 6670522 B2 JP6670522 B2 JP 6670522B2
Authority
JP
Japan
Prior art keywords
station device
master
slave station
communication
slave
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
JP2016147042A
Other languages
Japanese (ja)
Other versions
JP2018019199A (en
Inventor
恵利衣 高野
恵利衣 高野
高志 三枝
高志 三枝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi High Tech Corp
Original Assignee
Hitachi High Tech Corp
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 Hitachi High Tech Corp filed Critical Hitachi High Tech Corp
Priority to JP2016147042A priority Critical patent/JP6670522B2/en
Publication of JP2018019199A publication Critical patent/JP2018019199A/en
Application granted granted Critical
Publication of JP6670522B2 publication Critical patent/JP6670522B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Automatic Analysis And Handling Materials Therefor (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、自動分析システム等の複数のモジュールにて構成されるシステムに好適な分散制御システムに関する。 The present invention relates to a distributed control system suitable for a system including a plurality of modules such as an automatic analysis system.

一般的に分散制御システムは、ホストコンピュータ、当該ホストコンピュータに接続される親局装置、及びデジタル入出力ポートを備える複数の子局装置を備え、親局装置と複数の子局装置をマルチドロップ或はデイジーチェーン等の形態によりネットワークを構成している。
従来、ホストコンピュータと、分散配置されたモータやセンサ等の複数の制御対象機器である制御デバイスとのデータ入出力は、ホストコンピュータに各制御デバイスを直接接続することにより行われ、多くの配線を必要とした。
In general, a distributed control system includes a host computer, a master station device connected to the host computer, and a plurality of slave station devices having digital input / output ports. Constitutes a network in the form of a daisy chain or the like.
Conventionally, data input / output between a host computer and a plurality of control devices, such as motors and sensors, which are distributed, is performed by directly connecting each control device to the host computer. Needed.

分散制御システムは、ホストコンピュータと分散配置された複数の制御デバイスをネットワークにより接続し、デジタル入出力ポートの信号を多重化することで、ホストコンピュータと複数の制御デバイス間のデータの入出力を、少ない配線でシンプルな接続により実現しており、自動車、工作機械、チップマウンタ等の産業機械のような制御デバイス数が多く、制御デバイスが分散配置される分野で主に利用されている。
一方、産業分野では、多数のセンサやモータを用いた制御系の高速化、高精度化等の性能向上が求められている。
しかしながら、分散制御システムの一般的な特徴として、制御するセンサやモータ、すなわち、制御デバイスの増加に伴って、ネットワークの応答性能が低下する。このため、分散制御システムでは、多数のセンサやモータ等の制御デバイスの制御に対し、可能な限り高い応答性能を維持するために、ネットワークに特殊な通信制御を適用する方法が提案されている。例えば、特許文献1では、上位制御装置と複数の下位制御装置とをシリアル回線で接続し、それぞれの下位制御装置にアクチュエータ等の外部機器(制御デバイス)を接続することで分散制御システムを構成している。そして、各下位制御装置は、CPU及び同期制御回路を内蔵し、各CPUは対応する外部機器(制御デバイス)が動作準備完了か否かを判断し、準備完了の場合には同期制御回路へ動作準備完了信号を送信する。全ての同期制御回路に動作準備完了信号が送信された段階で、各外部機器(制御デバイス)へ同期信号を送信する構成が記載されている。
The distributed control system connects a host computer and a plurality of distributed control devices via a network, and multiplexes signals of a digital input / output port to input / output data between the host computer and the plurality of control devices. It is realized by a simple connection with a small number of wirings, has a large number of control devices such as industrial machines such as automobiles, machine tools, chip mounters, etc., and is mainly used in a field where control devices are distributed.
On the other hand, in the industrial field, there is a demand for performance improvement such as speeding up and increasing accuracy of a control system using a large number of sensors and motors.
However, as a general feature of the distributed control system, the response performance of the network decreases as the number of sensors and motors to be controlled, that is, the number of control devices increases. For this reason, in a distributed control system, a method of applying a special communication control to a network has been proposed in order to maintain as high a response performance as possible for control of a large number of control devices such as sensors and motors. For example, in Patent Document 1, a distributed control system is configured by connecting a higher-level control device and a plurality of lower-level control devices via a serial line, and connecting an external device (control device) such as an actuator to each lower-level control device. ing. Each lower-level control device has a built-in CPU and a synchronous control circuit, and each CPU determines whether or not the corresponding external device (control device) is ready for operation. Send a ready signal. A configuration is described in which a synchronization signal is transmitted to each external device (control device) when an operation preparation completion signal is transmitted to all synchronization control circuits.

特開2006−209646号公報JP 2006-209646 A

しかしながら、特許文献1に記載される分散制御システムでは、一つの上位制御装置(親局装置)にシリアル回線を介して複数の下位制御装置(子局装置)を接続する構成であるため、検体の検査において要求される検査速度に応じてモジュールを適宜増設する自動分析システム等のシステム拡張(新たなモジュールの追加)を頻繁に行う分散制御システムへの適用については何ら考慮されていない。換言すれば、システム拡張が頻繁に行われる自動分析システム等の分散制御システムに、特許文献1に記載される分散制御システムを適用した場合、上位制御装置(親局装置)は一つであることから、拡張システム分の通信性能を担保できなくなる虞がある。
そこで、本発明は、ネットワークの改変を不要としつつ新たに親局装置を既存ネットワークに接続することでシステムの拡張を可能とすると共に、拡張後のシステムにおける通信性能の向上を可能とし得る分散制御システムを提供する。
However, the distributed control system described in Patent Document 1 has a configuration in which a plurality of lower-level control devices (slave devices) are connected to one higher-level control device (master device) via a serial line. No consideration is given to application to a distributed control system in which system expansion (addition of a new module) such as an automatic analysis system for appropriately adding modules according to the inspection speed required in the inspection is frequently performed. In other words, when the distributed control system described in Patent Literature 1 is applied to a distributed control system such as an automatic analysis system in which system expansion is frequently performed, there is one upper-level control device (master station device). Therefore, there is a possibility that the communication performance of the extended system cannot be secured.
Therefore, the present invention provides a distributed control that can expand a system by newly connecting a master station device to an existing network while making network modification unnecessary, and can improve communication performance in a system after expansion. Provide system .

上記課題を解決するため、本発明の分散制御システムは、通信制御を統括する第1の親局装置と、少なくとも一つの制御デバイスに対し制御処理を実行する子局装置を複数備えた分散制御システムにおいて通信制御を統括する第2の親局装置が、自身が新たに追加され電源が投入された場合、マスタ切換情報を生成し、当該マスタ切換情報を自身と接続する子局装置に向け送信し、前記子局装置は、前記第1の親局装置と他の子局装置を介して接続されると共に、前記第2の親局装置と接続され、前記子局装置は、前記マスタ切換情報を受信した場合、前記親局第2の装置と通信路を介してデータの送受信を行うマスタ通信モードに通信モードを切り換え、前記マスタ切換情報を受信していない場合、前記第1の親局装置と前記他の子局装置を経由してデータの送受信を行うスレーブ通信モードを切り維持するマスタ・スレーブ切換部を有することを特徴とする To solve the above problems, the distributed control system of the present invention, the first and the parent station device, a distributed control system having a plurality of slave station apparatus which executes a control process for at least one control device which controls a communication control In the above, the second master station device that supervises the communication control generates master switching information and transmits the master switching information to the slave station device connected to itself, when the second master station device itself is newly added and turned on. The slave station device is connected to the first master station device via another slave station device and connected to the second master station device, and the slave station device includes the master switching information. is received, switches the communication mode to the master communication mode for transmitting and receiving data via a communication path and the master station second device, the case of not receiving the master switching information, the first master station the other slave station instrumentation and It characterized by having a master-slave switching unit to keep off the slave communication mode for transmitting and receiving data via.

本発明によれば、ネットワークの改変を不要としつつ新たに親局装置を既存ネットワークに接続することでシステムの拡張を可能とすると共に、拡張後のシステムにおける通信性能の向上を可能とし得る分散制御システムを提供することができる。 ADVANTAGE OF THE INVENTION According to the present invention, it is possible to expand a system by connecting a master station device to an existing network while eliminating the need for network modification, and to achieve distributed control capable of improving communication performance in a system after expansion. A system can be provided.

本発明の一実施例に係る実施例1の分散制御システムを適用した自動分析システムの概略全体構成図である。1 is a schematic overall configuration diagram of an automatic analysis system to which a distributed control system according to a first embodiment of the present invention is applied. 図1に示す分散制御システムの詳細構成を示す図である。FIG. 2 is a diagram illustrating a detailed configuration of a distributed control system illustrated in FIG. 1. パケットの構造を説明する図である。FIG. 3 is a diagram illustrating the structure of a packet. 図2に示す一の子局装置がスレーブ通信モードにて動作する場合の通信ルートを示す図である。FIG. 3 is a diagram illustrating a communication route when one slave station device illustrated in FIG. 2 operates in a slave communication mode. 図2に示す一の子局装置がマスタ通信モードにて動作する場合の通信ルートを示す図である。FIG. 3 is a diagram illustrating a communication route when one slave station device illustrated in FIG. 2 operates in a master communication mode. 図2に示す他の子局装置がマスタ通信モードにて動作する場合の通信ルートを示す図である。FIG. 4 is a diagram illustrating a communication route when another slave station device illustrated in FIG. 2 operates in a master communication mode. 子局装置の通信モードの切換処理のフローチャートである。It is a flowchart of a communication mode switching process of a slave station device. 本発明の他の実施例に係る実施例2の分散制御システムを適用した自動分析システムの表示画面例を示す図である。It is a figure showing the example of a display screen of the automatic analysis system which applied the distributed control system of Example 2 concerning other examples of the present invention. 本発明の他の実施例に係る実施例3の分散制御システムを適用した自動分析システムの概略全体構成図である。FIG. 13 is a schematic overall configuration diagram of an automatic analysis system to which a distributed control system according to a third embodiment of the present invention is applied. 図9に示す経路情報を説明するためのネットワーク構成例を示す図である。FIG. 10 is a diagram illustrating a network configuration example for explaining the route information illustrated in FIG. 9. 図9に示す経路情報格納部に格納されるデータ構造を示す図である。FIG. 10 is a diagram illustrating a data structure stored in a route information storage unit illustrated in FIG. 9. 図9に示す分散制御システムを適用した自動分析システムの表示画面例を示す図である。FIG. 10 is a diagram illustrating an example of a display screen of the automatic analysis system to which the distributed control system illustrated in FIG. 9 is applied. 図9に示す分散制御システムを適用した自動分析システムのネットワーク構成の判断手順を示すフローチャートである。10 is a flowchart showing a procedure for determining a network configuration of an automatic analysis system to which the distributed control system shown in FIG. 9 is applied. 図9に示す分散制御システムを適用した自動分析システムにおける自動分析装置のモジュール構成からネットワーク構成の確認までの手順を示すフローチャートである。10 is a flowchart showing a procedure from the module configuration of the automatic analyzer to the confirmation of the network configuration in the automatic analyzer to which the distributed control system shown in FIG. 9 is applied.

本明細書において、特定の親局装置を示す場合には、他の親局装置と識別可能に異なる符号にて示すと共に、親局装置の総称として示す場合には同一の符号にて示している。
また、同様に、本明細書において、特定の子局装置を示す場合には、他の子局装置と識別可能に異なる符号にて示すと共に、子局装置の総称として示す場合には同一の符号にて示している。
本明細書において、「自動分析システム」とは、モジュール化された少なくとも検体搬送機構を含む、生化学自動分析システム、免疫自動分析システム、並びに、生化学及び免疫分析の双方の分析を行うハイブリッドシステム等を含むものである。
また、「自動分析装置」とは、生化学自動分析装置、免疫自動分析装置、並びに、生化学及び免疫分析の双方の分析を行うハイブリッド分析装置を含むものである。
In the present specification, when a specific master station device is indicated, it is indicated by a code that is distinguishable from other master station devices, and when indicated as a generic name of the master station device, it is indicated by the same symbol. .
Similarly, in the present specification, when a specific slave station device is indicated, it is indicated by a different symbol so as to be distinguishable from other slave station devices, and when indicated as a generic name of slave station devices, the same symbol is used. Is indicated by.
As used herein, “automatic analysis system” refers to a biochemical automatic analysis system, an automatic immunological analysis system, and a hybrid system that performs both biochemical and immunological analysis, including at least a modularized sample transport mechanism. Etc. are included.
The "automatic analyzer" includes an automatic biochemical analyzer, an automatic immunoanalyzer, and a hybrid analyzer that performs both biochemical and immunoanalytical analyses.

以下、図面を用いて本発明の実施例について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の一実施例に係る実施例1の分散制御システムを適用した自動分析システムの概略全体構成図である。図1に示すように、自動分析システム(分散制御システム)10は、検体中の血液の成分及び/又は感染症等を測定する複数の自動分析装置101(図1では、便宜上一つの自動分析装置101のみを例示)、検体を複数の自動分析装置101の間で搬送する複数の搬送モジュール103、及び、自動分析装置101と搬送モジュール102の動作又は処理を管理する操作PC106にて構成される。自動分装置101は、生化学自動分析装置、免疫自動分析装置、並びに、生化学及び免疫分析の双方の分析を行うハイブリッド分析装置等の機能モジュール102を単体もしくは複数備える。   FIG. 1 is a schematic overall configuration diagram of an automatic analysis system to which a distributed control system according to a first embodiment of the present invention is applied. As shown in FIG. 1, an automatic analysis system (distributed control system) 10 includes a plurality of automatic analyzers 101 (in FIG. 1, one automatic analyzer for convenience) that measures blood components and / or infectious diseases in a sample. 101), a plurality of transport modules 103 for transporting a sample between the plurality of automatic analyzers 101, and an operation PC 106 for managing the operation or processing of the automatic analyzer 101 and the transport module 102. The automatic analyzer 101 includes one or a plurality of functional modules 102 such as an automatic biochemical analyzer, an automatic immunoanalyzer, and a hybrid analyzer that performs both biochemical and immunoanalytical analyses.

機能モジュール102及び搬送モジュール103は、複数の制御デバイス105を備えた複数のユニット104及び制御デバイス105を制御する分散制御装置110を備える。
分散制御装置110は、制御指令を生成する親局装置111、デバイス接続路121を介して制御デバイス105と接続される子局装置112、子局装置112と親局装置111又は子局装置112間を通信するための通信路120、及び、子局装置112と制御デバイス105間を通信するためのデバイス接続路121を備える。
自動分析システム(分散制御システム)10は、親局装置111から通信路120を介して各子局装置112に制御指令を転送し、子局装置112が受信した制御指令に基づいて、自身に接続される制御デバイス105を制御することで検体分析動作又は検体搬送動作を行う。
The function module 102 and the transport module 103 include a plurality of units 104 including a plurality of control devices 105 and a distributed control device 110 that controls the control devices 105.
The distributed control device 110 includes a master station device 111 that generates a control command, a slave station device 112 connected to the control device 105 via the device connection path 121, and a slave station device 112 and the master station device 111 or the slave station device 112. And a device connection path 121 for communicating between the slave station device 112 and the control device 105.
The automatic analysis system (distributed control system) 10 transfers a control command from the master station device 111 to each slave station device 112 via the communication path 120, and connects to itself based on the control command received by the slave station device 112. The sample analysis operation or the sample transport operation is performed by controlling the control device 105 to be performed.

ここで、機能モジュール102を構成するユニット104は、例えば、少なくとも、検体ラックに収容される複数の検体容器から所定量の検体を反応ディスクの反応容器(反応カップ)に分注する検体分注機構(図示せず)、検体が分注された反応容器(反応カップ)に、試薬ディスクに収容される試薬を所定量吸引し、吸引された所定量の試薬を吐出する試薬分注機構(図示せず)、複数の反応容器(反応カップ)を収容し所定のピッチにて回転駆動される反応ディスク(図示せず)、及び、複数の試薬ボトルを収容し所定のピッチにて回転駆動される試薬ディスク(図示せず)等である。また、ユニット104は、反応ディスクの所定の位置に配され、光源及び検出部を有する検出器(図示せず)を含む。検出器としては、例えば、吸光光度計又は散乱光検出器等が用いられる。   Here, the unit 104 constituting the functional module 102 is, for example, a sample dispensing mechanism for dispensing a predetermined amount of sample from at least a plurality of sample containers accommodated in a sample rack to a reaction container (reaction cup) of a reaction disk. (Not shown), a reagent dispensing mechanism (not shown) that aspirates a predetermined amount of reagent contained in a reagent disk into a reaction container (reaction cup) into which a sample has been dispensed, and discharges the aspirated predetermined amount of reagent. ), A reaction disk (not shown) containing a plurality of reaction vessels (reaction cups) and driven to rotate at a predetermined pitch, and a reagent containing a plurality of reagent bottles and driven to rotate at a predetermined pitch Disk (not shown) and the like. The unit 104 includes a detector (not shown) having a light source and a detection unit, which is disposed at a predetermined position on the reaction disk. For example, an absorptiometer or a scattered light detector is used as the detector.

また、制御デバイス105は、例えば、少なくとも、上述の検体分注機構を構成する検体分注プローブを駆動するモータ(図示せず)、検体分注プローブの先端に取り付けられる分注ノズルによる吸引/吐出のためのシリンジポンプ(図示せず)、上述の試薬分注機構を構成する分注プローブを駆動するモータ(図示せず)、及び、試薬分注プローブの先端に取り付けられる分注ノズルによる吸引/吐出のためのシリンジポンプ(図示せず)等である。また、制御デバイス105として、反応容器(反応カップ)内の検体又は試薬が混合された検体の液面を検知する液面検知センサ(図示せず)、なお、液面検知センサは静電容量式等が用いられる。反応槽或いは反応ディスク内の恒温槽の温度を検出する温度センサ、試薬ディスク又は反応ディスクをステップ的に回転駆動するステッピングモータ等が用いられる。
搬送モジュール103は、例えば、少なくとも、検体が収容された複数の検体容器を収容する検体ラックを、上述の機能モジュール102へ搬送する検体搬送機構(図示せず)、上述のユニット104の検体分注ポジションへ検体ラックを引き込む引き込みライン等である。
Further, the control device 105 includes, for example, at least a motor (not shown) for driving a sample dispensing probe constituting the above-described sample dispensing mechanism, and suction / discharge by a dispensing nozzle attached to a tip of the sample dispensing probe. Pump (not shown), a motor (not shown) for driving a dispensing probe constituting the above-described reagent dispensing mechanism, and suction / dispensing by a dispensing nozzle attached to the tip of the reagent dispensing probe. It is a syringe pump (not shown) for discharging. Further, as the control device 105, a liquid level detection sensor (not shown) for detecting the liquid level of the sample in the reaction container (reaction cup) or the sample mixed with the reagent, and the liquid level detection sensor is a capacitance type Are used. A temperature sensor for detecting the temperature of the reaction tank or the constant temperature bath in the reaction disk, a stepping motor for rotating the reagent disk or the reaction disk in a stepwise manner, and the like are used.
The transport module 103 includes, for example, a sample transport mechanism (not shown) that transports at least a sample rack accommodating a plurality of sample containers accommodating samples to the above-described function module 102, and a sample dispensing of the unit 104 described above. This is a pull-in line or the like that pulls a sample rack into a position.

図2は、図1に示す分散制御システムの詳細構成を示す図である。図2に示すように、
親局装置111bは、通信ポート201、ホストコンピュータI/F206、親局通信制御部202、子局装置112bの通信モードを切換えるためにマスタ切換情報を生成するマスタ切換情報転送部203、親局装置111bが処理するプログラムを格納するプログラム格納部204、プログラム格納部204に格納されたプログラムを処理するシーケンス処理部205、及び、識別番号設定部216を備える。なお、図2において、親局装置111aも同様の構成を備えている。親局通信制御部202、マスタ切換情報転送部203、及びシーケンス処理部205は、例えば、CPU等のプロセッサ、各種プログラムを格納するROM、及びにプロセッサによる各種プログラムの実行過程におけるデータ等を一時的に格納するRAM等の記憶装置にて実現される。図2に示す例では、プログラム格納部204に格納された各種プログラムを、親局通信制御部202及びシーケンス処理部205が読み出し処理を実行する。
FIG. 2 is a diagram showing a detailed configuration of the distributed control system shown in FIG. As shown in FIG.
The master station device 111b includes a communication port 201, a host computer I / F 206, a master station communication control unit 202, a master switching information transfer unit 203 that generates master switching information for switching the communication mode of the slave station device 112b, a master station device. The program storage unit 204 includes a program storage unit 204 that stores a program to be processed by the 111b, a sequence processing unit 205 that processes the program stored in the program storage unit 204, and an identification number setting unit 216. In FIG. 2, the parent station device 111a has the same configuration. The master station communication control unit 202, the master switching information transfer unit 203, and the sequence processing unit 205 temporarily store data such as a processor such as a CPU, a ROM storing various programs, and data in the process of executing the various programs by the processor. Is realized by a storage device such as a RAM that stores the data in the storage device. In the example illustrated in FIG. 2, the master station communication control unit 202 and the sequence processing unit 205 read out various programs stored in the program storage unit 204.

また、子局装置112bは、上流通信ポート211、第1下流通信ポート212a、第2下流通信ポート212b、デジタル入出力ポート213、子局通信制御部214、親局装置111bからマスタ切換情報が転送された場合に通信ルートを変更するマスタ/スレーブ切換部215、及び、識別番号設定部216を備える。なお、図2において、他の子局装置112a、子局装置112cも同様の構成を備えている。子局通信制御部214及びマスタ/スレーブ切換部215は、例えば、CPU等のプロセッサ、各種プログラムを格納するROM、及びにプロセッサによる各種プログラムの実行過程におけるデータ等を一時的に格納するRAM等の記憶装置にて実現される。   The slave station device 112b transfers master switching information from the upstream communication port 211, the first downstream communication port 212a, the second downstream communication port 212b, the digital input / output port 213, the slave station communication control unit 214, and the master station device 111b. A master / slave switching unit 215 that changes the communication route when the communication is performed, and an identification number setting unit 216 are provided. In FIG. 2, the other slave station devices 112a and 112c have the same configuration. The slave station communication control unit 214 and the master / slave switching unit 215 include, for example, a processor such as a CPU, a ROM that stores various programs, and a RAM that temporarily stores data and the like in the process of executing the various programs by the processor. It is realized by a storage device.

図2に示すように、操作PC106は、通信I/F207、通信路120、及びホストコンピュータI/F206を介して親局装置111aに接続されている。親局装置111aは、通信ポート201、通信路120、及び上流通信ポート211を介して子局装置1112aに接続されている。また、子局装置112aは、第1下流通信ポート212a、通信路120、及び上流通信ポート211を介して子局装置112bに接続されている。子局装置112bは、第1下流通信ポート212a、通信路120、及び上流通信ポート211を介して子局装置112に接続され、第2下流通信ポート212b、通信路120、及び通信ポート201を介して親局装置111bに接続されると共に、デジタル入出力ポート213及び通信路120を介して上述の制御デバイス105に接続されている。このように、図2に示す例では、親局装置111a、子局装置112a、子局装置112b、及び子局制御装置112cから構成されるネットワークを有する一つの分散制御装置110に、新たに親局装置111bが追加された状態を示している。   As shown in FIG. 2, the operation PC 106 is connected to the master station device 111a via the communication I / F 207, the communication path 120, and the host computer I / F 206. The master station device 111a is connected to the slave station device 1112a via the communication port 201, the communication path 120, and the upstream communication port 211. Further, the slave station device 112a is connected to the slave station device 112b via the first downstream communication port 212a, the communication path 120, and the upstream communication port 211. The slave station device 112b is connected to the slave station device 112 via the first downstream communication port 212a, the communication path 120, and the upstream communication port 211, and is connected via the second downstream communication port 212b, the communication path 120, and the communication port 201. Connected to the master station device 111b, and connected to the above-described control device 105 via the digital input / output port 213 and the communication path 120. As described above, in the example illustrated in FIG. 2, a single distributed control device 110 having a network including the master station device 111a, the slave station device 112a, the slave station device 112b, and the slave station control device 112c is newly added to the master device. This shows a state in which the station device 111b has been added.

なお、図2に示す例では、子局装置112bが、第1下流通信ポート212a及び第2下流通信ポート212bを有する構成、すなわち、2つの下流通信ポートを有する場合を例に示しているがこれに限られるものでは無く、3つ以上の下流通信ポートを有する構成としても良い。また、操作PC106は、図示しない演算部を備え、演算部は、例えば、CPU等のプロセッサ、各種プログラムを格納するROM、及びプロセッサによる各種プログラムの実行過程におけるデータ等を一時的に格納するRAM等の記憶装置にて実現される。   In the example shown in FIG. 2, the slave station device 112b has a configuration having the first downstream communication port 212a and the second downstream communication port 212b, that is, a case having two downstream communication ports. However, the present invention is not limited to this, and a configuration having three or more downstream communication ports may be adopted. The operation PC 106 includes a calculation unit (not shown). The calculation unit includes, for example, a processor such as a CPU, a ROM that stores various programs, and a RAM that temporarily stores data and the like in the process of executing various programs by the processor. Of the storage device.

次に、操作PC106の動作について説明する。操作PC106は、自動分析システム(分散制御システム)10の制御プログラムを図示しない記憶装置に格納しており、各分散制御装置110(図1)を構成する各親局装置111へ、各親局装置111の制御対象となる子局装置112を制御するための制御プログラムを装置電源投入時に、通信路120及びホストコンピュータI/F206を介して転送する。また、操作PC106は、各親局装置111から自動分析装置101の分析結果のデータ等を、ホストコンピュータI/F206及び通信路120を介して受信する。このように、記憶装置に格納される制御プログラムの読み出し及び読み出された制御プログラムの子局装置112への転送等は、上述の演算部により実行される。更に、操作PC106は、子局装置112毎に予め割り付けられた識別番号を、対応する各子局装置112へ、親局装置111及び/又は他の子局装置112を経由して転送する。これにより、各子局装置112の識別番号設定部216に識別番号が設定される。   Next, the operation of the operation PC 106 will be described. The operation PC 106 stores a control program of the automatic analysis system (distributed control system) 10 in a storage device (not shown), and transfers the control program to each parent station device 111 constituting each distributed control device 110 (FIG. 1). A control program for controlling the slave station device 112 to be controlled by the device 111 is transferred via the communication path 120 and the host computer I / F 206 when the device is powered on. Further, the operation PC 106 receives data and the like of the analysis result of the automatic analyzer 101 from each master station device 111 via the host computer I / F 206 and the communication path 120. As described above, the reading of the control program stored in the storage device, the transfer of the read control program to the slave station device 112, and the like are executed by the above-described arithmetic unit. Further, the operation PC 106 transfers an identification number assigned in advance to each slave station device 112 to the corresponding slave station device 112 via the master station device 111 and / or another slave station device 112. As a result, the identification number is set in the identification number setting unit 216 of each slave station device 112.

次に、親局装置111の動作について説明する。親局装置111は、親局通信制御部202により制御される通信ポート201を介した各子局装置112とのデータの送受信と、ホストコンピュータI/F206が操作PC106の通信I/F207に接続されている場合、親局通信制御部202により制御されるホストコンピュータI/F206を介した操作PC106とのデータの送受信も行う。また、親局装置111を構成する親局通信制御部202は、通信ポート201から入力される、詳細後述するパケットに搭載又は格納される識別番号情報が自身の識別番号設定部216に設定される識別番号と一致する場合、親局通信制御部202は、パケットに搭載又は格納される制御指令或いはセンサ情報(制御デバイス105からの情報)等を、シーケンス処理部205に転送する。   Next, the operation of the master station device 111 will be described. The master station device 111 transmits / receives data to / from each slave station device 112 via the communication port 201 controlled by the master station communication control unit 202, and the host computer I / F 206 is connected to the communication I / F 207 of the operation PC 106. In this case, data transmission and reception with the operation PC 106 via the host computer I / F 206 controlled by the master station communication control unit 202 are also performed. Further, the master station communication control unit 202 constituting the master station apparatus 111 sets the identification number information, which is input from the communication port 201 and is mounted or stored in a packet described later in detail, in its own identification number setting unit 216. If the identification number matches the identification number, the master station communication control unit 202 transfers a control command or sensor information (information from the control device 105) mounted or stored in the packet to the sequence processing unit 205.

また、親局装置111を構成する親局通信制御部202は、操作PC106から通信I/F207及びホストコンピュータI/F206を介して転送された制御プログラムをプログラム格納部204に格納する。シーケンス処理部205は、プログラム格納部204に格納される制御プログラムを読み出し実行することで、各子局装置112及び/又は他の親局装置111への制御指令を生成し、生成した制御指令を親局通信制御部202へ転送する。親局通信制御部202は、各子局装置112及び/又は他の親局装置111に設定される個別で且つ重複しない識別番号と、その識別番号に対応する子局装置112及び/又は他の親局装置111への制御指令を組み合わせたパケットを生成し、そのパケットを通信信号に変換して通信ポート201から出力する。また、親局通信制御部202は、通信ポート201を介して転送される子局装置112及び/又は他の親局装置111の識別番号と、子局装置112及び/又は他の親局装置111の入力情報或いは制御状態情報等を組み合わせたパケットの情報を受信し、シーケンス処理部205へ転送すると共に、ホストコンピュータI/F206を介して操作PC106へ転送する。
更に、親局装置111を構成する親局通信制御部202は、電源投入時に通信ポート201に接続された子局装置112に対し、マスタ切換情報転送部203が生成したマスタ切換情報を、通信ポート201を介して転送する。
Further, the master station communication control unit 202 configuring the master station device 111 stores the control program transferred from the operation PC 106 via the communication I / F 207 and the host computer I / F 206 in the program storage unit 204. The sequence processing unit 205 reads out and executes the control program stored in the program storage unit 204 to generate a control command to each slave station device 112 and / or another master station device 111, and transmits the generated control command. Transfer to master station communication control section 202. The master station communication control unit 202 includes an individual and non-overlapping identification number set for each slave station device 112 and / or another master station device 111, and a slave station device 112 and / or another A packet is generated by combining control commands to the master station device 111, the packet is converted into a communication signal, and the communication signal is output from the communication port 201. Further, the master station communication control unit 202 transmits the identification numbers of the slave station device 112 and / or another master station device 111 transferred via the communication port 201, and the slave station device 112 and / or another master station device 111. And information of the packet in which the input information or the control state information is combined and transferred to the sequence processing unit 205 and to the operation PC 106 via the host computer I / F 206.
Further, the master station communication control unit 202 constituting the master station device 111 transmits the master switching information generated by the master switching information transfer unit 203 to the slave station device 112 connected to the communication port 201 when the power is turned on. Transfer via 201.

次に、子局装置112の動作について説明する。子局装置112を構成する子局通信制御部214は、デジタル入出力ポート213を介して制御デバイス105とのデータの送受信、上流通信ポート211を介して親局装置111又は他の子局装置112とのデータの送受信と、第1下流通信ポート212aを介して親局装置111又は他の子局装置112とのデータの送受信、及び、第2下流通信ポート212bを介して親局装置111又は他の子局装置112とのデータの送受信を行う。   Next, the operation of the slave station device 112 will be described. The slave station communication control unit 214 constituting the slave station device 112 transmits and receives data to and from the control device 105 via the digital input / output port 213, and receives the master station device 111 or another slave station device 112 via the upstream communication port 211. To and from the master station device 111 or another slave station device 112 via the first downstream communication port 212a, and to / from the master station device 111 or other via the second downstream communication port 212b. Of data with the slave station device 112.

また、子局装置112を構成する子局通信制御部214は、上流通信ポート211、第1下流通信ポート212a、又は、第2下流通信ポート212bから受信されるパケットに搭載又は格納される識別番号情報が識別番号設定部216に設定される識別番号と一致する場合、パケットに搭載又は格納される制御指令を自身と通信路120を介して接続される制御デバイス105へ転送する。
一方、子局装置112を構成する子局通信制御部214は、上流通信ポート211、第1下流通信ポート212a、又は、第2下流通信ポート212bから受信されるパケットに搭載又は格納される識別番号情報が識別番号設定部216に設定される識別番号と一致しない場合、上流通信ポート211、第1下流通信ポート212a、又は、第2下流通信ポート212bを介して、当該パケットを親局装置111又は他の子局装置112へ転送する。
Also, the slave station communication control unit 214 constituting the slave station apparatus 112 has an identification number mounted or stored in a packet received from the upstream communication port 211, the first downstream communication port 212a, or the second downstream communication port 212b. When the information matches the identification number set in the identification number setting unit 216, the control command mounted or stored in the packet is transferred to the control device 105 connected to the packet via the communication path 120.
On the other hand, the slave station communication control unit 214 constituting the slave station apparatus 112 has an identification number mounted or stored in a packet received from the upstream communication port 211, the first downstream communication port 212a, or the second downstream communication port 212b. If the information does not match the identification number set in the identification number setting unit 216, the packet is transferred to the master station device 111 or the upstream communication port 211, the first downstream communication port 212a, or the second downstream communication port 212b. Transfer to another slave station device 112.

また、子局装置112を構成する子局通信制御部214は、デジタル入出力ポート213からの入力値が変化した場合、当該制御デバイス105からデジタル入出力ポート213を介して受信された入力値と、識別番号設定部216に設定される識別番号とを組み合わせた入力データパケットを上流通信ポート211又は親局装置111が接続される第1下流通信ポート212a又は第2下流通信ポート212bに送信する。
一方、子局通信制御部214は、デジタル入出力ポート213からの入力値に変化又は変更がない間は一定の通信周期にて、入力データパケットを上流通信ポート211又は親局装置111が接続される第1下流通信ポート212a又は第2下流通信ポート212bに送信する。
また、子局装置112を構成する子局通信制御部214は、上流通信ポート211、第1下流通信ポート212a、又は、第2下流通信ポート212bに接続される親局装置111からマスタ切換情報を受信した場合、マスタ/スレーブ切換部215にて、詳細後述するマスタ通信モードとスレーブ通信モードの二つの通信モードのうち、いずれか一方の通信モードに切換える。
Further, when the input value from the digital input / output port 213 changes, the slave station communication control unit 214 configuring the slave station device 112 receives the input value received from the control device 105 via the digital input / output port 213. Then, the input data packet combining the identification number set in the identification number setting unit 216 is transmitted to the upstream communication port 211 or the first downstream communication port 212a or the second downstream communication port 212b to which the master station device 111 is connected.
On the other hand, the slave station communication control unit 214 connects the input data packet to the upstream communication port 211 or the master station device 111 at a constant communication cycle while there is no change or change in the input value from the digital input / output port 213. To the first downstream communication port 212a or the second downstream communication port 212b.
In addition, the slave station communication control unit 214 configuring the slave station device 112 transmits master switching information from the master station device 111 connected to the upstream communication port 211, the first downstream communication port 212a, or the second downstream communication port 212b. If received, the master / slave switching unit 215 switches to one of two communication modes, a master communication mode and a slave communication mode, which will be described in detail later.

図3は、データの通信に用いるパケットの構造を説明する図である。図3に示すように、パケットは、データ部300、パケットの種別を示すパケット種別部301、及び、親局装置111又は子局装置112の識別番号を示す識別番号部302から構成される。
データ部300には、制御デバイス105からの出力データ、制御指令等の子局装置112に対する制御情報、通信応答実行条件設定情報、通信応答データ設定情報等の子局装置112への設定情報、或いは親局装置111への上流指令情報が搭載又は格納される。
パケット種別部301には、例えば、制御デバイス105からの出力データパケットの場合に“10”、制御デバイス105の駆動軸制御設定情報の場合に “20”等のパケットの種類毎に一意の値が付与され、パケットのデータ部300の内容を識別するために用いられる。
識別番号部302には、親局装置111から子局装置112又は他の親局装置111にパケットを送信する場合に、送信元の子局装置112又は親局装置111自身に設定された識別番号と、送信先の子局装置112又は親局装置111自身に設定された識別番号が搭載又は格納される。
FIG. 3 is a diagram illustrating the structure of a packet used for data communication. As shown in FIG. 3, the packet includes a data section 300, a packet type section 301 indicating the type of the packet, and an identification number section 302 indicating the identification number of the master station apparatus 111 or the slave station apparatus 112.
The data section 300 includes output information from the control device 105, control information for the slave station device 112 such as a control command, communication response execution condition setting information, setting information for the slave station device 112 such as communication response data setting information, or Upstream command information to the parent station device 111 is mounted or stored.
The packet type unit 301 has a unique value for each packet type such as “10” for an output data packet from the control device 105 and “20” for the drive axis control setting information of the control device 105. It is attached and used to identify the contents of the data part 300 of the packet.
When transmitting a packet from the master station device 111 to the slave station device 112 or another master station device 111, the identification number portion 302 includes an identification number set in the slave station device 112 or the master station device 111 of the transmission source. The identification number set in the slave station device 112 or the master station device 111 itself as the transmission destination is mounted or stored.

図4は、図2に示す一の子局装置112bがスレーブ通信モードにて動作する場合の通信ルートを示す図である。図4に示すように、スレーブ通信モードにおいて、子局装置112bを構成する子局通信制御部214は、(1)上流通信ポート211を介した子局装置112a又は当該子局装置112aを経由した親局装置111aと、デジタル入出力ポート213を介した制御デバイス105とのデータの送受信を行う第1スレーブ通信ルート401a、(2)上流通信ポート211を介した子局装置112a又は当該子局装置112aを経由した親局装置111aと、第1下流通信ポート212aを介した他の子局装置112cとのデータの送受信を行う第2スレーブ通信ルート401b、及び、(3)上流通信ポート211を介した子局装置112a又は当該子局装置112aを経由した親局装置111aと、第2下流通信ポート212bを介した他の子局装置112dとのデータの送受信を行う第3スレーブ通信ルート401c、の3種類の通信ルートでデータの送受信を行う。   FIG. 4 is a diagram illustrating a communication route when one slave station device 112b illustrated in FIG. 2 operates in the slave communication mode. As illustrated in FIG. 4, in the slave communication mode, the slave station communication control unit 214 included in the slave station device 112 b has (1) the slave station device 112 a via the upstream communication port 211 or the slave station device 112 a via the slave station device 112 a. A first slave communication route 401a for transmitting and receiving data between the master station device 111a and the control device 105 via the digital input / output port 213, (2) the slave station device 112a via the upstream communication port 211 or the slave station device A second slave communication route 401b for transmitting and receiving data between the master station device 111a via the first downstream communication port 212a and another slave station device 112c via the first downstream communication port 212a, and (3) via the upstream communication port 211. The slave station device 112a or the master station device 111a via the slave station device 112a and the second downstream communication port 212b. The third slave communication route 401c for transmitting and receiving data with the slave station device 112d of the transmit and receive data in three different communication routes.

スレーブ通信モードにおいて、子局装置112bを構成する子局通信制御部214は、上流通信ポート211を介して受信されるパケットの識別番号部302(図3)に搭載又は格納される識別番号を参照し、自身の識別番号設定部216に設定された識別番号と一致する場合、パケットのデータ部300に搭載又は格納される制御指令を自身(子局装置112b)と接続される制御デバイス105へデジタル入出力ポート213を介して転送する。
一方、子局通信制御部214は、上流通信ポート211を介して受信されるパケットの識別番号部302(図3)に搭載又は格納される識別番号を参照し、自身(子局装置112b)の識別番号設定部216に設定された識別番号と一致しない場合、第1下流通信ポート212aを介して他の子局装置112cへ受信したパケットを転送すると共に、第2下流通信ポート212bを介して他の子局装置112dへ受信したパケットを転送する。また、第1下流通信ポート212aを介して転送される子局装置112cにデジタル入出力ポート213を介して接続される制御デバイス105からの入力値を、上流通信ポート211を介して子局装置112a又は当該子局装置112aを経由して親局装置111aへ転送する。更に、第2下流通信ポート212bを介して転送される子局装置112dにデジタル入出力ポート213を介して接続される制御デバイス105からの入力値を、上流通信ポート211を介して子局装置112a又は当該子局装置112aを経由して親局装置111aへ転送する。
In the slave communication mode, the slave station communication control unit 214 configuring the slave station device 112b refers to the identification number mounted or stored in the identification number unit 302 (FIG. 3) of the packet received via the upstream communication port 211. If it matches the identification number set in its own identification number setting unit 216, the control command mounted or stored in the data part 300 of the packet is digitally transmitted to the control device 105 connected to itself (slave station device 112b). The data is transferred via the input / output port 213.
On the other hand, the slave station communication control unit 214 refers to the identification number mounted or stored in the identification number unit 302 (FIG. 3) of the packet received via the upstream communication port 211, and determines its own (slave station device 112b). When the received packet does not match the identification number set in the identification number setting unit 216, the received packet is transferred to another slave station device 112c via the first downstream communication port 212a, and the other packet is transferred via the second downstream communication port 212b. The received packet is transferred to the slave station device 112d. The input value from the control device 105 connected via the digital input / output port 213 to the slave station device 112c transferred via the first downstream communication port 212a is transferred to the slave station device 112a via the upstream communication port 211. Alternatively, the data is transferred to the master station device 111a via the slave station device 112a. Further, an input value from the control device 105 connected via the digital input / output port 213 to the slave station device 112d transferred via the second downstream communication port 212b is transmitted to the slave station device 112a via the upstream communication port 211. Alternatively, the data is transferred to the master station device 111a via the slave station device 112a.

図5は、図2に示す一の子局装置112bがマスタ通信モードにて動作する場合の通信ルートを示す図である。図5においては図4と異なり、親局装置111a、子局装置112a、子局装置112b、及び子局制御装置112cから構成されるネットワークを有する一つの分散制御装置110に、新たに親局装置111bが追加された状態を示している。図5に示すように、マスタ通信モードにおいて、子局装置112bを構成する子局通信制御部214は、(1)第2下流通信ポート212bを介した親局装置111bと、デジタル入出力ポート213を介した制御デバイス105とのデータの送受信を行う第1マスタ通信ルート501a、(2)上流通信ポート211を介した子局装置112aと、第2下流通信ポート212bを介した親局装置111bとのデータの送受信を行う第2マスタ通信ルート501b、及び、(3)第1下流通信ポート212aを介した子局装置112cと、第2下流通信ポート212bを介した親局装置111bとのデータの送受信を行う第3マスタ通信ルート501c、の3種類の通信ルートでデータの送受信を行う。   FIG. 5 is a diagram illustrating a communication route when one slave station device 112b illustrated in FIG. 2 operates in the master communication mode. In FIG. 5, unlike FIG. 4, a new distributed control device 110 having a network composed of a master station device 111a, a slave station device 112a, a slave station device 112b, and a slave station control device 112c is newly added to the master station device. 111b has been added. As shown in FIG. 5, in the master communication mode, the slave station communication control unit 214 configuring the slave station device 112b includes (1) the master station device 111b via the second downstream communication port 212b, and the digital input / output port 213. A first master communication route 501a for transmitting and receiving data to and from the control device 105 via the communication device 105, (2) a slave station device 112a via the upstream communication port 211, and a master station device 111b via the second downstream communication port 212b. And (3) data transfer between the slave station device 112c via the first downstream communication port 212a and the master station device 111b via the second downstream communication port 212b. Data transmission and reception are performed through three types of communication routes, that is, a third master communication route 501c that performs transmission and reception.

マスタ通信モードにおいて、子局装置112bを構成する子局通信制御部214は、第2下流通信ポート212bを介して親局装置111bから転送されるパケットの識別番号部302(図3)に搭載又は格納される識別番号を参照し、自身(子局装置112b)の識別番号設定部216に設定された識別番号と一致する場合、パケットのデータ部300に搭載又は格納される制御指令を自身(子局装置112b)と接続している制御デバイス105へデジタル入出力ポート213を介して転送する。
一方、子局通信制御部214は、第2下流通信ポート212bを介して親局装置111bから転送されるパケットの識別番号部302(図3)に搭載又は格納される識別番号を参照し、自身(子局装置112b)の識別番号設定部216に設定された識別番号と一致しない場合、第1下流通信ポート212aを介して他の子局装置112cへ受信したパケットを転送すると共に、上流通信ポート211を介して他の子局装置112aへ受信したパケットを転送する。また、デジタル入出力ポート213を介して転送される制御デバイス105からの入力値を、第2下流通信ポート212bを介して親局装置111bに転送する。更に、子局通信制御部214は、第2下流通信ポート212bを介して親局装置111bから転送される制御デバイス105からの入力値を、上流通信ポート211を介して子局装置112a又は当該子局装置112aを経由して親局装置111aに転送する。
In the master communication mode, the slave station communication control unit 214 constituting the slave station device 112b is mounted on the identification number unit 302 (FIG. 3) of the packet transferred from the master station device 111b via the second downstream communication port 212b. Referring to the stored identification number, if it matches the identification number set in the identification number setting section 216 of the own (slave station device 112b), the control command mounted or stored in the data section 300 of the packet is transmitted to the own (slave station apparatus 112b). The data is transferred to the control device 105 connected to the station device 112b) via the digital input / output port 213.
On the other hand, the slave station communication control unit 214 refers to the identification number mounted or stored in the identification number unit 302 (FIG. 3) of the packet transferred from the master station device 111b via the second downstream communication port 212b, and If the identification number does not match the identification number set in the identification number setting unit 216 of the (child station device 112b), the received packet is transferred to the other child station device 112c via the first downstream communication port 212a and the upstream communication port The received packet is transferred to another slave station device 112a via the communication unit 211. Further, the input value from the control device 105 transferred via the digital input / output port 213 is transferred to the master station device 111b via the second downstream communication port 212b. Further, the slave station communication control unit 214 receives the input value from the control device 105 transferred from the master station device 111b via the second downstream communication port 212b and the slave station device 112a or the slave station device via the upstream communication port 211. The data is transferred to the parent station device 111a via the station device 112a.

図6は、図2に示す他の子局装置112aがマスタ通信モードにて動作する場合の通信ルートを示す図である。図6に示すように、マスタ通信モードにおいて、子局装置112aを構成する子局通信制御部214は、(1)上流通信ポート211を介した親局装置111aと、デジタル入出力ポート213を介した制御デバイス105とのデータの送受信を行う第1マスタ通信ルート501a、及び(2)上流通信ポート211を介した親局装置111aと、第1下流通信ポート212aを介した子局装置112bとのデータの送受信を行う第2マスタ通信ルート501b、の2種類の通信ルートでデータの送受信を行う。図5と異なる点は、子局装置112aが有する第2下流通信ポート212bには、他の子局装置112又は他の親局装置111のいずれも接続されていないため、第2下流通信ポート212bが空きポートとなっている。そのため、マスタ通信モードにおいては、上述の第1マスタ通信ルート501a及び第2マスタ通信ルート501bの2種類の通信ルートのみとなっている。   FIG. 6 is a diagram illustrating a communication route when another slave station device 112a illustrated in FIG. 2 operates in the master communication mode. As shown in FIG. 6, in the master communication mode, the slave station communication control unit 214 configuring the slave station device 112a (1) communicates with the master station device 111a via the upstream communication port 211 and the digital input / output port 213. A first master communication route 501a for transmitting and receiving data to and from the control device 105, and (2) a communication between the master station device 111a via the upstream communication port 211 and the slave station device 112b via the first downstream communication port 212a. Data transmission / reception is performed using two types of communication routes, that is, a second master communication route 501b for transmitting / receiving data. The difference from FIG. 5 is that neither the other slave station device 112 nor the other master station device 111 is connected to the second downstream communication port 212b of the slave station device 112a. Is an empty port. Therefore, in the master communication mode, there are only two types of communication routes, the first master communication route 501a and the second master communication route 501b.

マスタ通信モードにおいて、子局装置112aを構成する子局通信制御部214は、上流通信ポート211を介して親局装置111aから転送されるパケットの識別番号部302(図3)に搭載又は格納される識別番号を参照し、自身(子局装置112a)の識別番号設定部216に設定された識別番号と一致する場合、パケットのデータ部300に搭載又は格納される制御指令を自身(子局装置112a)と接続している制御デバイス105へデジタル入出力ポート213を介して転送する。
一方、子局装置112aを構成する子局通信制御部214は、上流通信ポート211を介して親局装置111aから転送されるパケットの識別番号部302(図3)に搭載又は格納される識別番号を参照し、自身(子局装置112a)の識別番号設定部216に設定された識別番号と一致しない場合、第1下流通信ポート212aを介して他の子局装置112bへ受信したパケットを転送する。また、デジタル入出力ポート213を介して転送される制御デバイス105からの入力値を、上流通信ポート211を介して親局装置111aに転送する。更に、子局通信制御部214は、上流通信ポート211を介して親局装置111aから転送される制御デバイス105からの入力値を、第1下流通信ポート212aを介して子局装置112b又は当該子局装置112bを経由して親局装置111bに転送する。
In the master communication mode, the slave station communication control unit 214 constituting the slave station device 112a is mounted or stored in the identification number unit 302 (FIG. 3) of the packet transferred from the master station device 111a via the upstream communication port 211. If the identification number matches the identification number set in the identification number setting section 216 of the own (slave station device 112a), the control command mounted or stored in the data section 300 of the packet is transmitted to the own (slave station device 112a). 112a) to the control device 105 connected thereto via the digital input / output port 213.
On the other hand, the slave station communication control unit 214 constituting the slave station apparatus 112a has an identification number mounted or stored in the identification number unit 302 (FIG. 3) of the packet transferred from the master station apparatus 111a via the upstream communication port 211. , And if it does not match the identification number set in the identification number setting unit 216 of the own device (slave station device 112a), the received packet is transferred to another slave station device 112b via the first downstream communication port 212a. . Further, the input value from the control device 105 transferred via the digital input / output port 213 is transferred to the master station device 111a via the upstream communication port 211. Further, the slave station communication control unit 214 transmits the input value from the control device 105 transferred from the master station device 111a via the upstream communication port 211 to the slave station device 112b or the slave station device 112b via the first downstream communication port 212a. The data is transferred to the master station device 111b via the station device 112b.

次に、スレーブ通信モードと、マスタ通信モードの切換えについて、図2と図7を用いて説明する。図7は、子局装置112の通信モード切換処理のフローチャートである。
子局装置112bは、以下のフローによってスレーブ通信モードとマスタ通信モードとを切換える。以下では、子局装置112bと新たに追加された親局装置111bとの関係に基づき説明するが、図2に示す、親局装置111a、子局装置112a、及び子局装置112cについても同様である。
Next, switching between the slave communication mode and the master communication mode will be described with reference to FIGS. FIG. 7 is a flowchart of the communication mode switching process of the slave station device 112.
The slave station device 112b switches between the slave communication mode and the master communication mode according to the following flow. In the following, description will be made based on the relationship between the slave station device 112b and the newly added master station device 111b, but the same applies to the master station device 111a, slave station device 112a, and slave station device 112c shown in FIG. is there.

まず、ステップS101では、分散制御装置110を構成する親局装置111b及び子局装置112bをネットワーク接続した状態で、装置の電源を投入する。
続いて、ステップS102では、電源投入時、親局装置111bを構成するマスタ切換情報転送部203がマスタ切換情報を生成し親局通信制御部202へ転送する。親局通信制御部202は、通信ポート201に接続された子局装置112bへマスタ切換情報を転送する。
First, in step S101, the power of the apparatus is turned on with the master station apparatus 111b and the slave station apparatus 112b constituting the distributed control apparatus 110 connected to a network.
Subsequently, in step S102, when the power is turned on, the master switching information transfer unit 203 forming the master station device 111b generates master switching information and transfers it to the master station communication control unit 202. The master station communication control unit 202 transfers the master switching information to the slave station device 112b connected to the communication port 201.

ステップS103では、子局装置112bを構成する子局通信制御部214は、第2下流通信ポート212bを介して親局装置111bからマスタ切換情報が受信(取得)されたか否かを判定する。判定の結果、第2下流通信ポート212bを介して親局装置111bからマスタ切換情報が受信(取得)された場合、ステップS104へ進む。一方、判定の結果、第2下流通信ポート212bを介して親局装置111bからマスタ切換情報が受信(取得)されていない場合、ステップS105へ進む。   In step S103, the slave station communication control unit 214 configuring the slave station device 112b determines whether master switching information has been received (acquired) from the master station device 111b via the second downstream communication port 212b. If the result of determination is that master switching information has been received (acquired) from the parent station device 111b via the second downstream communication port 212b, the flow proceeds to step S104. On the other hand, if the result of determination is that master switching information has not been received (acquired) from the master station device 111b via the second downstream communication port 212b, the flow proceeds to step S105.

ステップS104では、子局装置112bを構成する子局通信制御部214は、受信されたマスタ切換情報をマスタ/スレーブ切換部215へ転送し、マスタ/スレーブ切換部215は、通信モードをマスタ通信モードへ切換える。これにより、子局装置112bを構成する子局通信制御部214は、上述の図5に示した第1マスタ通信ルート501a、第2マスタ通信ルート501b、及び第3マスタ通信ルート501cの3種類の通信ルートでデータの送受信を行う。   In step S104, the slave station communication control unit 214 constituting the slave station device 112b transfers the received master switching information to the master / slave switching unit 215, and the master / slave switching unit 215 sets the communication mode to the master communication mode. Switch to Accordingly, the slave station communication control unit 214 configuring the slave station device 112b performs the three types of the first master communication route 501a, the second master communication route 501b, and the third master communication route 501c illustrated in FIG. Sends and receives data along the communication route.

ステップS105では、マスタ切換情報が受信されていないことから、子局装置112bを構成するマスタ/スレーブ切換部215は、通信モードをスレーブ通信モードの状態のまま維持する。   In step S105, since the master switching information has not been received, the master / slave switching unit 215 included in the slave station device 112b maintains the communication mode in the slave communication mode.

なお、本実施例では、子局装置112bを構成するマスタ/スレーブ切換部215は、スレーブ通信モードをデフォルトとして設定している場合を想定している。仮に、マスタ/スレーブ切換部215がマスタ通信モードをデフォルトとして設定している場合においては、上述のステップS104では、通信モードをマスタ通信モードの状態のまま維持し、上述のステップS105では、マスタ/スレーブ切換部215は、通信モードをスレーブ通信モードに切換える。また、仮に、通信モードを特にデフォルとして設定していない場合には、子局装置112bを構成するマスタ/スレーブ切換部215は、上述のステップS105では、通信モードをスレーブ通信モードに切換える。   In this embodiment, it is assumed that the master / slave switching unit 215 configuring the slave station device 112b sets the slave communication mode as a default. If the master / slave switching unit 215 sets the master communication mode as a default, the communication mode is maintained in the master communication mode in the above-described step S104, and the master / slave mode is maintained in the above-described step S105. Slave switching section 215 switches the communication mode to the slave communication mode. Further, if the communication mode is not particularly set as the default, the master / slave switching unit 215 configuring the slave station device 112b switches the communication mode to the slave communication mode in the above-described step S105.

以上の通り、本実施例によれば、ネットワークの改変を不要としつつ新たに親局装置を既存ネットワークに接続することでシステムの拡張を可能とすると共に、拡張後のシステムにおける通信性能の向上を可能とし得る分散制御装置及び分散制御システムを提供することができる。具体的には、分散制御装置110の拡張時において、自動分析システム(分散制御システム)10全体の通信性能を向上させたい場合に、既存の分散制御装置110の構成を改変することなく、新たに親局装置111を子局装置112に接続することのみで、通信性能を向上することができる。
また、本実施例によれば、新たに親局装置を既存のネットワークに接続し、プログラム制御処理及びデータ通信処理を分担させることで、システムに多数の子局装置を接続した場合に通信データが過多になることで発生するデータの通信遅延やデータ詰まりを解消し得る分散制御装置及び分散制御システムを実現できる。
As described above, according to the present embodiment, it is possible to expand the system by newly connecting the master station device to the existing network while eliminating the need to modify the network, and to improve the communication performance in the system after expansion. A possible distributed control apparatus and distributed control system can be provided. Specifically, when the communication performance of the automatic analysis system (distributed control system) 10 as a whole is desired to be improved when the distributed control device 110 is expanded, a new configuration of the existing distributed control device 110 can be used without any modification. The communication performance can be improved only by connecting the master station device 111 to the slave station device 112.
Further, according to the present embodiment, by newly connecting the master station device to the existing network and sharing the program control process and the data communication process, when a large number of slave station devices are connected to the system, the communication data becomes excessive. Thus, it is possible to realize a distributed control device and a distributed control system that can eliminate a data communication delay and a data clogging caused by the above.

図8は、本発明の他の実施例に係る実施例2の分散制御システムを適用した自動分析システムの表示画面例を示す図である。本実施例では、操作PC106の表示画面上で、新たに親局装置111等を、自動分析システム(分散制御システム)10を構成する分散制御装置110内の最適な位置に配することを可能とする点が実施例1と異なる。その他の点は実施例1と同様であり、実施例1と同様の構成要素に同一符号を付し、以下では実施例1と重複する説明を省略する。   FIG. 8 is a diagram showing an example of a display screen of an automatic analysis system to which a distributed control system according to a second embodiment of the present invention is applied. In the present embodiment, it is possible to newly arrange the master station device 111 and the like on the display screen of the operation PC 106 at an optimum position in the distributed control device 110 constituting the automatic analysis system (distributed control system) 10. This is different from the first embodiment. The other points are the same as in the first embodiment, and the same components as those in the first embodiment are denoted by the same reference numerals, and the description overlapping with the first embodiment will be omitted below.

図8に示すように、操作PC106は、表示装置708、入力装置709、及びデータベース710を備える。表示装置708の表示画面上に表示される、システム利用者に対し自動分析システム(分散制御システム)10の設計支援を行い得る設定入力画面700は、モジュール構成入力表示領域701及びモジュールリスト表示領域706から構成される。モジュールリスト表示領域706はモジュール機種名表示部707を有し、自動分析システム(分散制御システム)10を構成し得る全ての機能モジュール102及び搬送モジュール103の機種名を列挙し、リスト形式にてモジュール機種名表示部707に表示する。また、データベース710には、機能モジュール102及び搬送モジュール103の各機種の必要通信量及び親局装置111の許容通信量が予め格納されている。
モジュール構成入力表示領域701には、操作PC106を表す操作PCシンボル702、機能モジュール102又は搬送モジュール103を表すモジュールシンボル703a,703b、親局装置111を表す第1親局装置シンボル704aと第2親局装置シンボル704b、第1親局装置の許容通信量に基づく第1親局制御範囲705a、及び第2親局装置の許容通信量に基づく第2親局制御範囲705bが表示されている。図8に示す例では、点線で示すように、第1親局制御範囲705aは、第1親局装置シンボル704aにより4つのモジュールシンボル703aを制御可能な旨を示しており、第2親局制御範囲705bは、第2親局装置シンボル704bにより3つのモジュールシンボル703bを制御可能な旨を示している。
As shown in FIG. 8, the operation PC 106 includes a display device 708, an input device 709, and a database 710. A setting input screen 700 displayed on the display screen of the display device 708 and capable of assisting the system user in designing the automatic analysis system (distributed control system) 10 includes a module configuration input display area 701 and a module list display area 706. Consists of The module list display area 706 has a module model name display section 707, and lists the model names of all the functional modules 102 and the transport modules 103 that can constitute the automatic analysis system (distributed control system) 10, and lists the modules in a list format. It is displayed on the model name display section 707. In the database 710, the required communication amount of each model of the function module 102 and the transport module 103 and the allowable communication amount of the master station device 111 are stored in advance.
The module configuration input display area 701 includes an operation PC symbol 702 representing the operation PC 106, module symbols 703a and 703b representing the function module 102 or the transport module 103, a first parent station device symbol 704a representing the parent station device 111, and a second parent symbol. A station device symbol 704b, a first master station control range 705a based on the allowable communication amount of the first master station device, and a second master station control range 705b based on the allowable communication amount of the second master station device are displayed. In the example shown in FIG. 8, as indicated by the dotted line, the first master station control range 705a indicates that four module symbols 703a can be controlled by the first master station device symbol 704a, and the second master station control range The range 705b indicates that three module symbols 703b can be controlled by the second master station device symbol 704b.

以下に、新たに機能モジュール102若しくは搬送モジュール103を、既存の自動分析システム(分散制御システム)10に追加する場合を一例として説明する。
先ず、システム利用者は、制御システム設計支援アプリケーションを起動する。具体的には、操作PC106を構成する実施例1にて説明した演算部(図示せず)が、図示しない記憶装置に格納される制御システム設計支援アプリケーションプログラムを読み出し実行することで、表示装置708の表示画面上に設定入力画面700を表示する。この際、既存の自動分析システム(分散制御システム)10を構成する各シンボルがモジュール構成入力表示領域701に表示される。図8に示す例では、操作PCシンボル702及び4つのモジュールシンボル703aが表示され、4つのモジュールシンボル703aのうち、最上流のモジュールシンボル703a、すなわち、操作PCシンボル702に接続されるモジュールシンボル703a内に第1親局装置シンボル704aが表示される。
Hereinafter, a case where a functional module 102 or a transport module 103 is newly added to an existing automatic analysis system (distributed control system) 10 will be described as an example.
First, the system user activates the control system design support application. Specifically, the calculation unit (not shown) described in the first embodiment that configures the operation PC 106 reads and executes the control system design support application program stored in the storage device (not shown), and thereby the display device 708. The setting input screen 700 is displayed on the display screen of (1). At this time, each symbol constituting the existing automatic analysis system (distributed control system) 10 is displayed in the module configuration input display area 701. In the example shown in FIG. 8, the operation PC symbol 702 and the four module symbols 703a are displayed, and among the four module symbols 703a, the most upstream module symbol 703a, that is, the module symbol 703a connected to the operation PC symbol 702 Displays the first master station device symbol 704a.

次に、システム利用者により、図示しないマウスの操作によりマウスポンタ又はカーソルが、設定入力画面700を構成するモジュールリスト表示領域706に表示されるモジュール機種名表示部707内の所望のモジュールの機種名上に位置付けられ、クリックにより選択されると、選択された機種名のモジュールに対応するモジュールシンボル703bがモジュール構成入力表示領域701に新たに表示される。既にモジュール構成入力表示領域701に表示されている操作PCシンボル702及び4つのモジュールシンボル703aの位置を基準とし、実際の接続関係と一致するように新規に追加するモジュールシンボル703bが、例えばシステム利用者によるマウスのドラッグにより移動される。図8に示す例では、新規に追加される3つのモジュールシンボル703bが相互に直列に配され、最上部に配されるモジュールシンボル703bが、既にモジュール構成入力表示領域701に表示されている4つのモジュールシンボル703aのうち、最上流のモジュールシンボル703aから3番目のモジュールシンボル703aと接続するよう配される。   Next, a mouse pointer or a cursor is operated by a system user using a mouse (not shown), and a model name of a desired module in a module model name display section 707 is displayed in a module list display area 706 constituting the setting input screen 700. When positioned at the top and selected by clicking, a module symbol 703b corresponding to the module of the selected model name is newly displayed in the module configuration input display area 701. Based on the positions of the operation PC symbol 702 and the four module symbols 703a already displayed in the module configuration input display area 701, a module symbol 703b to be newly added so as to match the actual connection relationship is, for example, a system user. Is moved by dragging the mouse. In the example shown in FIG. 8, three module symbols 703b to be newly added are arranged in series with each other, and four module symbols 703b arranged at the top are already displayed in the module configuration input display area 701. Among the module symbols 703a, they are arranged so as to be connected to the third module symbol 703a from the most upstream module symbol 703a.

モジュール構成の入力が完了すると、操作PC106を構成する演算部は、モジュール機種名表示部707に表示される各機種の必要通信量及び親局装置111の許容通信量を、データベース710にアクセスし読み出す。操作PC106を構成する演算部は、読み出した各機種の必要通信量及び親局装置111の許容通信量に基づき、モジュール構成入力表示領域701に表示される操作PCシンボル702側、すなわち、操作PCシンボル702に接続される最上流のモジュールシンボル703aから下流側に配されるモジュールシンボル703aへと対応する機種の必要通信量を順次加算しつつ、当該加算結果と親局装置111の許容通信量との比較を行う。加算結果が親局装置111の許容通信量を超えた場合、操作PC106を構成する演算部は、加算結果が親局装置111の許容通信量を超える一つ前(前段)のモジュールシンボルまでを、一つの親局装置111にて制御可能な範囲である親局制御範囲として決定する。図8では、4つのモジュールシンボル703aまでの必要通信量を加算し、更に最上部に配されるモジュールシンボル703bの必要通信量を加算した時点で、加算結果が親局装置111の許容通信量を超えた場合を示しており、これにより、操作PC106を構成する演算部は、4つのモジュールシンボル703aまでを第1親局制御範囲705aと決定し、モジュール構成入力表示領域701に点線にて表示する。   When the input of the module configuration is completed, the operation unit configuring the operation PC 106 accesses and reads the required communication amount of each model and the allowable communication amount of the master station device 111 displayed on the module model name display unit 707 by accessing the database 710. . The operation unit constituting the operation PC 106 is based on the required communication amount of each model read and the allowable communication amount of the master station device 111, and the operation PC symbol 702 side displayed in the module configuration input display area 701, that is, the operation PC symbol While sequentially adding the required communication amount of the corresponding model from the most upstream module symbol 703a connected to 702 to the module symbol 703a arranged on the downstream side, the addition result and the allowable communication amount of the base station device 111 are added. Make a comparison. If the addition result exceeds the allowable communication amount of the master station device 111, the operation unit configuring the operation PC 106 determines that the module symbol of the immediately preceding (previous stage) whose addition result exceeds the allowable communication amount of the master station device 111 It is determined as a master station control range that can be controlled by one master station device 111. In FIG. 8, when the required communication amount up to the four module symbols 703a is added and the required communication amount of the module symbol 703b arranged at the top is added, the addition result indicates the allowable communication amount of the master station device 111. In this case, the calculation unit constituting the operation PC 106 determines up to four module symbols 703a as the first master station control range 705a, and displays them in the module configuration input display area 701 by dotted lines. .

次に、操作PC106を構成する演算部は、最上部に配されるモジュールシンボル703bから下方に配されるモジュールシンボル703bへと対応する機種の必要通信量を順次加算しつつ、当該加算結果と親局装置111の許容通信量との比較を行う処理を繰り返し実行する。その結果、図8に示す例では、第1親局制御範囲705a及び第2親局制御範囲705bが決定され点線にて表示されることにより、システム利用者は、2つの親局装置111を配する必要があることを容易に把握することができる。なお、図8に示す例では、直列に接続された4つのモジュールシンボル703aのうち、最上流のモジュールシンボル703aから3番目のモジュールシンボル703aから、直列に接続された3つのモジュールシンボル703bが分岐するモジュール構成となっている。このようなモジュール構成の場合、分岐の先頭モジュールシンボル703bに新たに第2親局装置シンボル704bを配置する。   Next, the arithmetic unit configuring the operation PC 106 sequentially adds the required communication amount of the corresponding model from the module symbol 703b arranged at the top to the module symbol 703b arranged below, and adds the required communication amount to the parent symbol. The process of comparing with the allowable communication amount of the station device 111 is repeatedly executed. As a result, in the example shown in FIG. 8, the first master station control range 705a and the second master station control range 705b are determined and displayed by dotted lines, so that the system user can arrange the two master station devices 111. It is easy to understand what needs to be done. In the example shown in FIG. 8, among the four module symbols 703a connected in series, three module symbols 703b connected in series are branched from the module symbol 703a in the most upstream to the third module symbol 703a. It has a module configuration. In the case of such a module configuration, the second master station device symbol 704b is newly arranged at the head module symbol 703b of the branch.

システム利用者は、上述のように、GUI(グラフィカル・ユーザー・インタフェース)により、モジュール構成入力表示領域701に表示される第1親局装置シンボル704a及び第2親局装置シンボル704bが表示されたモジュールシンボル703a,703bに対応する機能モジュール102若しくは搬送モジュール103に、それぞれ親局装置111を配置することで、既存の自動分析システム(分散制御システム)10に新たに機能モジュール102若しくは搬送モジュール103が追加された場合であっても容易に親局装置111を最適な位置に配置でき、自動分析システム(分散制御システム)10の拡張を容易に行うことが可能となる。   As described above, the system user can use the GUI (graphical user interface) to display the module on which the first master station device symbol 704a and the second master station device symbol 704b displayed on the module configuration input display area 701 are displayed. By disposing the master station device 111 in the function module 102 or the transport module 103 corresponding to the symbols 703a and 703b, respectively, the function module 102 or the transport module 103 is newly added to the existing automatic analysis system (distributed control system) 10. In this case, the master station device 111 can be easily arranged at an optimum position, and the automatic analysis system (distributed control system) 10 can be easily expanded.

以上の通り本実施例によれば、実施例1の効果に加え、システム利用者は、自動分析システム(分散制御システム)の拡張時において、新たに追加すべき親局装置の最適な配置位置及び設置数を容易に決定することが可能となる。   As described above, according to the present embodiment, in addition to the effects of the first embodiment, when expanding the automatic analysis system (distributed control system), the system user can select the optimum arrangement position of the master station device to be newly added and The number of installations can be easily determined.

図9は、本発明の他の実施例に係る実施例3の分散制御システムを適用した自動分析システムの概略全体構成図である。本実施例では、各子局装置が経路情報生成部及び通信モード情報転送部を備えると共に、操作PCが経路情報格納部を参照可能に構成した点が実施例1と異なる。その他の構成は実施例1と同様であり、実施例1と同様の構成要素に同一符号を付し、以下では実施例1と重複する説明を省略する。   FIG. 9 is a schematic overall configuration diagram of an automatic analysis system to which a distributed control system according to a third embodiment according to another embodiment of the present invention is applied. The present embodiment is different from the first embodiment in that each slave station device includes a route information generation unit and a communication mode information transfer unit, and that the operation PC can refer to the route information storage unit. Other configurations are the same as those of the first embodiment, and the same components as those of the first embodiment are denoted by the same reference numerals, and the description overlapping with the first embodiment will be omitted below.

図9に示すように、子局装置812bは、実施例1の子局装置112の構成に加え、経路情報を生成する経路情報生成部821、及び自身の通信モードを識別させるための情報を生成する通信モード情報転送部825を備える。他の子局装置812a及び子局装置813cも同様の構成を有する。なお、親局装置811a及び親局装置811bの基本構成は実施例1に示した親局装置111と同様である。また、親局装置811及び子局装置812から転送された経路情報を格納する経路情報格納部826は、操作PC106により参照可能に、操作PC106に接続されている。図9に示す、操作PC106、親局装置811a、子局装置812a、子局装置812b、子局装置812c、及び親局装置811bの接続関係は、実施例1において図2に示した接続関係と同様である。   As illustrated in FIG. 9, the slave station device 812b generates, in addition to the configuration of the slave station device 112 according to the first embodiment, a route information generation unit 821 that generates route information and information for identifying its own communication mode. And a communication mode information transfer unit 825 to perform the communication. The other slave station devices 812a and 813c have the same configuration. Note that the basic configuration of the master station device 811a and the master station device 811b is the same as that of the master station device 111 shown in the first embodiment. A route information storage unit 826 that stores the route information transferred from the master station device 811 and the slave station device 812 is connected to the operation PC 106 so that the operation PC 106 can refer to the route information storage unit 826. The connection relationship between the operation PC 106, the master station device 811a, the slave station device 812a, the slave station device 812b, the slave station device 812c, and the master station device 811b illustrated in FIG. 9 is the same as the connection relationship illustrated in FIG. The same is true.

本実施例における操作PC106の動作について説明する。操作PC106は、上述の実施例1での動作に加え、システム利用者により事前に登録されたネットワーク構成の経路情報及び通信モード情報を経路情報格納部826に格納すると共に、装置電源投入時にネットワーク上に接続されている各親局装置811及び各子局装置812から通信路120を介して転送された経路情報及び通信モード情報を経路情報格納部826に格納する。操作PC106は、経路情報格納部826に格納される、システム利用者により事前に登録されたネットワーク構成の経路情報及び通信モード情報と、各親局装置811及び各子局装置812から通信路120を介して転送された経路情報及び通信モード情報とを比較し、一致していなければ、システム利用者にネットワーク構成の誤配線や分散型コントローラ(分散制御装置110)の故障を後述する方法で知らせる。また、操作PC106は、親局装置811毎に予め割り付けられた識別番号を、対応する親局装置811へ、通信路120及び/又は子局装置812を経由して転送する。これにより、各親局装置811の識別番号設定部216に識別番号が設定される。同様に、操作PC106は、子局装置812毎に予め割り付けられた識別番号を、対応する各子局装置812へ、親局装置811及び/又は他の子局装置812を経由して転送する。これにより、各子局装置812の識別番号設定部216に識別番号が設定される。   The operation of the operation PC 106 in the present embodiment will be described. The operation PC 106 stores the route information and the communication mode information of the network configuration registered in advance by the system user in the route information storage unit 826 in addition to the operation in the above-described first embodiment. The path information and the communication mode information transferred from each of the parent station apparatuses 811 and the child station apparatuses 812 connected via the communication path 120 are stored in the path information storage unit 826. The operation PC 106 stores the route information and the communication mode information of the network configuration registered in advance by the system user stored in the route information storage unit 826, and the communication path 120 from each of the master station device 811 and each of the slave station devices 812. The route information and the communication mode information transferred via the network are compared, and if they do not match, the system user is notified of a faulty wiring of the network configuration or a failure of the distributed controller (distributed controller 110) by a method described later. In addition, the operation PC 106 transfers an identification number assigned in advance to each master station device 811 to the corresponding master station device 811 via the communication path 120 and / or the slave station device 812. As a result, the identification number is set in the identification number setting section 216 of each master station device 811. Similarly, operation PC 106 transfers an identification number assigned in advance to each slave station device 812 to each corresponding slave station device 812 via master station device 811 and / or another slave station device 812. As a result, the identification number is set in the identification number setting unit 216 of each slave station device 812.

次に、本実施例における親局装置811の動作について説明する。親局装置811は、上述の実施例1での動作に加え、マスタ切換情報を通信ポート201に接続される子局装置812に転送した後、自身の識別番号設定部216に設定された識別番号を、通信ポート201に接続された子局装置812に転送する。   Next, an operation of the master station device 811 in the present embodiment will be described. The master station device 811 transfers the master switching information to the slave station device 812 connected to the communication port 201 in addition to the operation of the first embodiment, and then sets the identification number set in its own identification number setting unit 216. Is transferred to the slave station device 812 connected to the communication port 201.

次に、本実施例における子局装置812の動作について説明する。子局装置812は、上述の施例1での動作に加え、通信モード設定後、自身の識別番号設定部216に設定された識別番号及び通信モード情報転送部825により生成された通信モード情報を、上流通信ポート211に接続される親局装置811又は子局装置812へ転送する。加えて、子局装置812は、第1下流通信ポート212a及び第2下流通信ポート212bから転送されてきた親局装置811及び他の子局装置812の識別番号及び通信モード情報に、経路情報生成部821により後述する方法にて経路情報を付加し、上流通信ポート211に接続される親局装置811又は子局装置812に転送する。   Next, an operation of the slave station device 812 in the present embodiment will be described. The slave station device 812, in addition to the operation in the above-described first embodiment, sets the communication mode information generated by the communication mode information transfer unit 825 and the identification number set in its own identification number setting unit 216 after setting the communication mode. Is transferred to the master station device 811 or the slave station device 812 connected to the upstream communication port 211. In addition, the slave station device 812 generates the route information based on the identification numbers and the communication mode information of the master station device 811 and the other slave station devices 812 transferred from the first downstream communication port 212a and the second downstream communication port 212b. The path information is added by the unit 821 by a method described later, and is transferred to the master station device 811 or the slave station device 812 connected to the upstream communication port 211.

本実施例におけるパケットの構造は、図3に示す実施例1と同様であるが、識別番号部302に関して、子局装置812及び親局装置811が経路情報を転送する場合に、送信元が子局装置812の場合は通信モード情報及び経路情報並びに識別番号が搭載又は格納され、送信元が親局装置811の場合は経路情報及び識別番号が搭載又は格納される。   The structure of the packet in the present embodiment is the same as that of the first embodiment shown in FIG. 3, except that, when the slave station device 812 and the master station device 811 transfer the route information, In the case of the station apparatus 812, the communication mode information, the path information, and the identification number are mounted or stored. When the transmission source is the master station apparatus 811, the path information and the identification number are mounted or stored.

次に、経路情報の生成方法及び転送方法について、図10及び図11を用いて説明する。図10は、図9に示す経路情報を説明するためのネットワーク構成例を示す図である。図10に示すネットワーク構成例では、操作PC106、親局装置811a、親局装置811b、子局装置812a、子局装置812b、子局装置812c、子局装置812d、及び子局装置812eでネットワークが構成されている。このとき、親局装置811aと接続される子局装置812a、及び親局装置811bと接続される子局装置812dは、マスタ通信モードであり、この他の子局装置812b、子局装置812c、及び子局装置812eは、スレーブ通信モードである。   Next, a generation method and a transfer method of the path information will be described with reference to FIGS. FIG. 10 is a diagram showing an example of a network configuration for explaining the route information shown in FIG. In the network configuration example shown in FIG. 10, a network is formed by the operation PC 106, the master station device 811a, the master station device 811b, the slave station device 812a, the slave station device 812b, the slave station device 812c, the slave station device 812d, and the slave station device 812e. It is configured. At this time, the slave station device 812a connected to the master station device 811a and the slave station device 812d connected to the master station device 811b are in the master communication mode, and the other slave station devices 812b, 812c, The slave station device 812e is in the slave communication mode.

また、図10に示す例では、操作PC106の通信I/F207には便宜的に番号「1」が割り当てられており、親局装置811aには、上述の操作PC106により予め割り付けられた識別番号「10」を点線にて表記すると共に、通信ポート201にポート番号「1」及びホストコンピュータI/F206に番号「2」が割り当てられている。子局装置812aには、上述の操作PC106により予め割り付けられた識別番号「1」を点線にて表記するすると共に、第1下流通信ポート212aにポート番号「1」及び第2下流通信ポート212bにポート番号「2」並びに上流通信ポート211にポート番号「3」が割り当てられている。同様に、子局装置812bには、上述の操作PC106により予め割り付けられた識別番号「2」を点線にて表記するすると共に、第1下流通信ポート212aにポート番号「1」及び第2下流通信ポート212bにポート番号「2」並びに上流通信ポート211にポート番号「3」が割り当てられている。子局装置812cには、子局装置812bには、上述の操作PC106により予め割り付けられた識別番号「3」を点線にて表記し、第1下流通信ポート212a、第2下流通信ポート212b、及び流通信ポート211に割り当てられるポート番号は、子局装置812a及び子局装置812bと同様である。また、図10に示すように、子局装置812dには上述の操作PC106により予め割り付けられた識別番号「4」を点線にて表記し、子局装置812eには上述の操作PC106により予め割り付けられた識別番号「5」を点線にて表記している。第1下流通信ポート212a、第2下流通信ポート212b、及び流通信ポート211に割り当てられるポート番号は、子局装置812a及び子局装置812bと同様である。親局装置811bには、上述の操作PC106により予め割り付けられた識別番号「11」を点線にて表記すると共に、通信ポート201にポート番号「1」及びホストコンピュータI/F206に番号「2」が割り当てられている。   In the example shown in FIG. 10, a number “1” is assigned to the communication I / F 207 of the operation PC 106 for the sake of convenience, and the identification number “ “10” is indicated by a dotted line, a port number “1” is assigned to the communication port 201, and a number “2” is assigned to the host computer I / F 206. In the slave station device 812a, the identification number "1" assigned in advance by the operation PC 106 is indicated by a dotted line, and the port number "1" is assigned to the first downstream communication port 212a and the identification number "1" is assigned to the second downstream communication port 212b. The port number “3” is assigned to the port number “2” and the upstream communication port 211. Similarly, in the slave station device 812b, the identification number “2” assigned in advance by the operation PC 106 is indicated by a dotted line, and the port number “1” and the second downstream communication port are assigned to the first downstream communication port 212a. The port number “2” is assigned to the port 212b and the port number “3” is assigned to the upstream communication port 211. In the slave station device 812c, the identification number “3” previously assigned by the operation PC 106 is indicated by a dotted line in the slave station device 812b, and the first downstream communication port 212a, the second downstream communication port 212b, The port numbers assigned to the communication ports 211 are the same as those of the slave station devices 812a and 812b. As shown in FIG. 10, the identification number “4” assigned in advance by the operation PC 106 described above is indicated by a dotted line in the slave station device 812d, and the identification number “4” is assigned in advance by the operation PC 106 to the slave station device 812e. The identification number “5” is indicated by a dotted line. Port numbers assigned to the first downstream communication port 212a, the second downstream communication port 212b, and the downstream communication port 211 are the same as those of the slave station devices 812a and 812b. In the master station device 811b, the identification number “11” assigned in advance by the operation PC 106 is indicated by a dotted line, the communication port 201 has a port number “1”, and the host computer I / F 206 has a number “2”. Have been assigned.

ここで、経路情報の生成方法について説明する。図11は、図9に示す経路情報格納部826に格納されるデータ構造を示す図である。図11に示すように、経路情報格納部826には、親局装置811であるか子局装置812であるかを示す「親局/子局」欄、通信モードがマスタ通信モードであるかスレーブ通信モードであるかを示す「マスタ/スレーブ」欄、「識別番号」欄、及び「経路情報列」欄をテーブル形式にて格納している。例えば、親局装置811aについては、「親局/子局」欄には「親局」、マスタ/スレーブ」欄にはNullを示す「−」、「識別番号」欄には「10」、及び「経路情報列」欄には親局装置812aのホストコンピュータI/F206が接続される操作PC106の通信I/F207に割り当てられた番号「1」が格納されている。   Here, a method of generating the route information will be described. FIG. 11 is a diagram showing a data structure stored in the route information storage unit 826 shown in FIG. As shown in FIG. 11, the route information storage unit 826 stores a “master / slave” column indicating whether the master station 811 or the slave station 812, and whether the communication mode is the master communication mode or the slave mode. A “master / slave” column, an “identification number” column, and a “path information sequence” column indicating whether the communication mode is set are stored in a table format. For example, with respect to the master station device 811a, “-” indicating “null” in the “master / slave” column, “−” indicating Null in the “master / slave” column, “10” in the “identification number” column, and The “path information column” column stores the number “1” assigned to the communication I / F 207 of the operation PC 106 to which the host computer I / F 206 of the master station device 812a is connected.

また、図11に示すように、子局装置812aについては、「親局/子局」欄には「子局」、「マスタ/スレーブ」欄には「マスタ」、「識別番号」欄には「1」、及び「経路情報列」欄には「1−1」が格納されている。ここで、「経路情報列」欄に格納される「1−1」は、子局装置812aが接続される親局装置811aの通信ポート201のポート番号「1」及び操作PC106の通信I/F207に割り当てられた番号「1」を示している。すなわち、子局装置812aの通信経路は、親局装置811aを経由して操作PC106に至る経路であることから「1−1」となる。   As shown in FIG. 11, for the slave station device 812a, "slave station" is displayed in the "master / slave" column, "master" is displayed in the "master / slave" column, and "master" is displayed in the "identification number" column. “1-1” is stored in the “1” and “path information sequence” columns. Here, “1-1” stored in the “path information column” column is the port number “1” of the communication port 201 of the master station device 811a to which the slave station device 812a is connected and the communication I / F 207 of the operation PC 106. Indicates the number “1” assigned to. That is, the communication route of the slave station device 812a is “1-1” because the communication route is to the operation PC 106 via the master station device 811a.

子局装置812bについては、「親局/子局」欄には「子局」、「マスタ/スレーブ」欄には「スレーブ」、「識別番号」欄には「2」、及び「経路情報列」欄には「1−1−1」が格納されている。ここで、「経路情報列」欄に格納される「1−1−1」は、子局装置812bが接続される子局装置812aの第1下流通信ポート212aのポート番号「1」、子局装置812aが接続される親局装置811aの通信ポート201のポート番号「1」、及び操作PC106の通信I/F207に割り当てられた番号「1」を示している。すなわち、子局装置812bの通信経路は、子局装置812a及び親局装置811aを経由して操作PC106に至る経路であることから「1−1−1」となる。   Regarding the slave station device 812b, "slave station" in the "master station / slave station" field, "slave" in the "master / slave" field, "2" in the "identification number" field, and "path information string". "1-1-1" is stored in the "" column. Here, “1-1-1” stored in the “path information string” column is the port number “1” of the first downstream communication port 212a of the slave station device 812a to which the slave station device 812b is connected, and the slave station. The port number “1” of the communication port 201 of the master station device 811a to which the device 812a is connected, and the number “1” assigned to the communication I / F 207 of the operation PC 106 are shown. That is, the communication route of the slave station device 812b is “1-1-1” because it is a route that reaches the operation PC 106 via the slave station device 812a and the master station device 811a.

親局装置811bについては、「親局/子局」欄には「親局」、「マスタ/スレーブ」欄にはNullを示す「−」、「識別番号」欄には「11」、及び「経路情報列」欄には「1−1−1−1−2−1」が格納されている。ここで、「経路情報列」欄に格納される「1−1−1−1−2−1」は、親局装置811bが接続される子局装置812dの第1下流通信ポート212aのポート番号「1」、子局装置812dが接続される子局装置812cの第2下流通信ポート212bのポート番号「2」、子局装置812cが接続される子局装置812bの第1下流通信ポート212aのポート番号「1」、子局装置812bが接続される子局装置812aの第1下流通信ポート212aのポート番号「1」、子局装置812aが接続される親局装置811aの通信ポート201のポート番号「1」、及び操作PC106の通信I/F207に割り当てられた番号「1」を示している。すなわち、親局装置811bの通信経路は、子局装置812d、子局装置812c、子局装置812b、子局装置812a、及び親局装置811aを順次経由して操作PC106に至る経路であることから「1−1−1−1−2−1」となる。   As for the master station device 811b, “master station” is indicated in the “master / slave” column, “−” indicating Null is indicated in the “master / slave” column, “11”, and “11” are indicated in the “identification number” column. “1-1-1-1-2-1” is stored in the “route information sequence” column. Here, “1-1-1-1-2-1” stored in the “path information sequence” column is the port number of the first downstream communication port 212a of the slave station device 812d to which the master station device 811b is connected. “1”, the port number “2” of the second downstream communication port 212b of the slave station device 812c to which the slave station device 812d is connected, and the port number “1” of the first downstream communication port 212a of the slave station device 812b to which the slave station device 812c is connected. Port number “1”, port number “1” of the first downstream communication port 212a of the slave station device 812a to which the slave station device 812b is connected, and port number of the communication port 201 of the master station device 811a to which the slave station device 812a is connected The numbers “1” and “1” assigned to the communication I / F 207 of the operation PC 106 are shown. In other words, the communication route of the master station device 811b is a route that reaches the operation PC 106 via the slave station device 812d, the slave station device 812c, the slave station device 812b, the slave station device 812a, and the master station device 811a sequentially. It becomes "1-1-1-1-2-1".

子局装置812dについては、「親局/子局」欄には「子局」、「マスタ/スレーブ」欄には「マスタ」、「識別番号」欄には「4」、及び「経路情報列」欄には「1−1−1−1−2」が格納されている。ここで、「経路情報列」欄に格納される「1−1−1−1−2」は、子局装置812dが接続される子局装置812cの第2下流通信ポート212bのポート番号「2」、子局装置812cが接続される子局装置812bの第1下流通信ポート212aのポート番号「1」、子局装置812bが接続される子局装置812aの第1下流通信ポート212aのポート番号「1」、子局装置812aが接続される親局装置811aの通信ポート201のポート番号「1」、及び操作PC106の通信I/F207に割り当てられた番号「1」を示している。すなわち、子局装置812dの通信経路は、子局装置812c、子局装置812b、子局装置812a、及び親局装置811aを順次経由して操作PC106に至る経路であることから「1−1−1−1−2」となる。   Regarding the slave station device 812d, “slave station” is indicated in the “master / slave” column, “master” is indicated in the “master / slave” column, “4” is indicated in the “identification number” column, and “path information string”. "1-1-1-2" is stored in the "" column. Here, “1-1-1-1-2” stored in the “path information string” column is the port number “2” of the second downstream communication port 212b of the slave station device 812c to which the slave station device 812d is connected. ", The port number" 1 "of the first downstream communication port 212a of the slave station device 812b to which the slave station device 812c is connected, and the port number of the first downstream communication port 212a of the slave station device 812a to which the slave station device 812b is connected. "1", the port number "1" of the communication port 201 of the master station device 811a to which the slave station device 812a is connected, and the number "1" assigned to the communication I / F 207 of the operation PC 106. That is, the communication route of the slave station device 812d is a route that reaches the operation PC 106 via the slave station device 812c, the slave station device 812b, the slave station device 812a, and the master station device 811a in that order. 1-1-2 ".

子局装置812eについては、「親局/子局」欄には「子局」、「マスタ/スレーブ」欄には「スレーブ」、「識別番号」欄には「5」、及び「経路情報列」欄には「1−1−1−1−2−2」が格納されている。ここで、「経路情報列」欄に格納される「1−1−1−1−2−2」は、子局装置812eが接続される子局装置812dの第2下流通信ポート212bのポート番号「2」、子局装置812dが接続される子局装置812cの第2下流通信ポート212bのポート番号「2」、子局装置812cが接続される子局装置812bの第1下流通信ポート212aのポート番号「1」、子局装置812bが接続される子局装置812aの第1下流通信ポート212aのポート番号「1」、子局装置812aが接続される親局装置811aの通信ポート201のポート番号「1」、及び操作PC106の通信I/F207に割り当てられた番号「1」を示している。すなわち、子局装置812eの通信経路は、子局装置812d、子局装置812c、子局装置812b、子局装置812a、及び親局装置811aを順次経由して操作PC106に至る経路であることから「1−1−1−1−2−2」となる。   Regarding the slave station device 812e, "slave station" in the "master station / slave station" field, "slave" in the "master / slave" field, "5" in the "identification number" field, and "path information string". "1-1-1-2-2-2" is stored in the "" column. Here, “1-1-1-1-2-2” stored in the “path information sequence” column is the port number of the second downstream communication port 212b of the slave station device 812d to which the slave station device 812e is connected. “2”, the port number “2” of the second downstream communication port 212b of the slave station device 812c to which the slave station device 812d is connected, and the port number “2” of the first downstream communication port 212a of the slave station device 812b to which the slave station device 812c is connected. Port number “1”, port number “1” of the first downstream communication port 212a of the slave station device 812a to which the slave station device 812b is connected, and port number of the communication port 201 of the master station device 811a to which the slave station device 812a is connected The numbers “1” and “1” assigned to the communication I / F 207 of the operation PC 106 are shown. In other words, the communication route of the slave station device 812e is a route that reaches the operation PC 106 via the slave station device 812d, the slave station device 812c, the slave station device 812b, the slave station device 812a, and the master station device 811a sequentially. "1-1-1-1-2-2".

以上の通り、経路情報格納部826の「経路情報列」欄に格納される経路情報は、各親局装置811及び子局装置812からパケットの識別番号部302(図3)に搭載又は格納されて送信され、操作PC106に至るまでの途中で通過した、親局装置811の通信ポート201、子局装置812の第1下流通信ポート212a若しくは第2下流通信ポート212bのポート番号を順次追加していくことで、経路情報が生成される。   As described above, the route information stored in the “route information column” column of the route information storage unit 826 is mounted or stored in the packet identification number unit 302 (FIG. 3) from each of the master station device 811 and the slave station device 812. The port numbers of the communication port 201 of the master station device 811 and the first downstream communication port 212a or the second downstream communication port 212b of the slave station device 812 that are transmitted on the way to the operation PC 106 are sequentially added. By going, route information is generated.

例えば、図9及び図10に示すように、子局装置812bは、子局装置812aの第1下流通信ポート212aに接続されている。そのため子局装置812bより送信される経路情報は、パケットが子局装置812aに受信されると、子局装置812aを構成する経路情報生成部821により第1下流通信ポート212aのポート番号「1」となり、上流通信ポート211を介して親局装置811aへ送信される。続いて、パケットが操作PC106に接続された親局装置811aに受信されると、当該受信されたパケットは親局装置811aのホストコンピュータI/F206を介して操作PC106へ転送される。操作PC106にて親局装置811aの通信ポート201と、操作PC106の通信I/F207番号「1−1」が先頭に追加される。すなわち、図11を用いて説明したように、子局装置812bより、子局装置812a及び親局装置811aを介して操作PC106へと至るパケットの経路情報は「1−1−1」となる。   For example, as shown in FIGS. 9 and 10, the slave station device 812b is connected to the first downstream communication port 212a of the slave station device 812a. Therefore, when the packet is received by the slave station device 812a, the route information transmitted from the slave station device 812b is changed to the port number “1” of the first downstream communication port 212a by the route information generation unit 821 included in the slave station device 812a. And transmitted to the parent station device 811a via the upstream communication port 211. Subsequently, when the packet is received by the master station device 811a connected to the operation PC 106, the received packet is transferred to the operation PC 106 via the host computer I / F 206 of the master station device 811a. The operation PC 106 adds the communication port 201 of the master station device 811a and the communication I / F 207 number “1-1” of the operation PC 106 to the top. That is, as described with reference to FIG. 11, the route information of the packet from the slave station device 812b to the operation PC 106 via the slave station device 812a and the master station device 811a is "1-1-1".

また、親局装置811bの場合、親局装置811bより送信されたパケットが操作PC106までの過程で順次、子局装置812dの第1下流通信ポート212a、子局装置812cの第2下流通信ポート212b、子局装置812bの第1下流通信ポート212a、子局装置812aの第1下流通信ポート212a、及び親局装置811aの通信ポート201を経由して、操作PC106の通信I/F207に受信されるため、経路情報は「1−1−1−1−2−1」となる。   In the case of the master station device 811b, packets transmitted from the master station device 811b are sequentially transmitted to the operation PC 106 in the order of the first downstream communication port 212a of the slave station device 812d and the second downstream communication port 212b of the slave station device 812c. The communication I / F 207 of the operation PC 106 is received via the first downstream communication port 212a of the slave station device 812b, the first downstream communication port 212a of the slave station device 812a, and the communication port 201 of the master station device 811a. Therefore, the route information is “1-1-1-1-2-1”.

操作PC106は、全ての親局装置811a及び親局装置811bと全ての子局装置812a〜812eからのパケットの識別番号部302に搭載又は格納される、経路情報及び識別番号並びに通信モード情報を受信すると、上述の図11に示す経路情報格納部826に格納する。従って、操作PC106は、経路情報格納部826を参照することで、全ての親局装置811a及び親局装置811bと全ての子局装置812a〜812eの経路情報及び識別番号並びに通信モードを認識することができる。   The operation PC 106 receives the route information, the identification number, and the communication mode information, which are mounted or stored in the identification number portions 302 of the packets from all the parent station devices 811a and 811b and all the child station devices 812a to 812e. Then, it is stored in the route information storage unit 826 shown in FIG. Therefore, the operation PC 106 refers to the route information storage unit 826 to recognize the route information, the identification numbers, and the communication modes of all the master station devices 811a and 811b and all the slave station devices 812a to 812e. Can be.

次に、ネットワークの誤接続や分散型コントローラ(分散制御装置110)の故障をシステム利用者に知らせる構成及びネットワーク構成におけるエラー内容の判断手順について図9、図12、図13を用いて説明する。
図12は、図9に示す分散制御システムを適用した自動分析システムの表示画面例を示す図である。図12に示すように、操作PC106は、表示装置708、入力装置709、及びデータベース710を備え、上述の経路情報格納部826に接続されている。システム利用者に対し自動分析システム(分散制御システム)10の設計支援を行い得る設定入力画面700は、ネットワーク構成表示部1101及びエラー表示部1106から構成される。ネットワーク構成表示部1101には、上述の実施例2にて説明したように、図8に示すモジュール構成入力表示領域701にて、対話的にシステム利用者により構築されたモジュール構成を表すモジュール構成シンボル1103が表示されている。また、ネットワーク構成表示部1101には、モジュール構成シンボル1103を構成する複数のモジュールシンボル703(図8)のうち、任意のモジュールシンボル703に対応する各機能モジュール102又は搬送モジュール103の分散制御装置110の詳細構成を示す分散制御装置構成表示部1102が、例えば、ポップアップウィンドウ形式にて拡大表示されている。なお、分散制御装置構成表示部1102の表示については、図12に示すように、ネットワーク構成表示部1101内でポップアップウィンドウ形式にて拡大表示するものに限られず、例えば、ネットワーク構成表示部1101内にモジュール構成を表すモジュール構成シンボル1103を表示するモードと、分散制御装置構成表示部1102を表示するモードとを切換え表示する構成としても良い。分散制御装置構成表示部1102には、各機能モジュール102又は搬送モジュール103の分散制御装置110を構成する親局装置シンボル1105及び複数の子局装置シンボル1104が表示され、これら親局装置シンボル1105及び複数の子局装置シンボル1104の接続関係が一目で分かるように表示される。上記親局装置シンボル1105は親局装置811を表すシンボルであり、上記子局装置シンボル1104は子局装置814を表すシンボルである。
Next, a configuration for notifying the system user of an erroneous connection of the network or a failure of the distributed controller (distributed control device 110) and a procedure for determining an error content in the network configuration will be described with reference to FIGS. 9, 12, and 13. FIG.
FIG. 12 is a diagram showing an example of a display screen of the automatic analysis system to which the distributed control system shown in FIG. 9 is applied. As shown in FIG. 12, the operation PC 106 includes a display device 708, an input device 709, and a database 710, and is connected to the above-described route information storage unit 826. A setting input screen 700 capable of assisting a system user in designing the automatic analysis system (distributed control system) 10 includes a network configuration display unit 1101 and an error display unit 1106. As described in the second embodiment, the network configuration display unit 1101 includes a module configuration symbol that indicates a module configuration interactively constructed by the system user in the module configuration input display area 701 illustrated in FIG. 1103 is displayed. The network configuration display unit 1101 displays the distributed control device 110 of each functional module 102 or transport module 103 corresponding to an arbitrary module symbol 703 among the plurality of module symbols 703 (FIG. 8) constituting the module configuration symbol 1103. The distributed control device configuration display unit 1102 showing the detailed configuration of is displayed in an enlarged manner in, for example, a pop-up window format. Note that the display of the distributed control device configuration display unit 1102 is not limited to being enlarged and displayed in a pop-up window format in the network configuration display unit 1101, as shown in FIG. A configuration in which a mode for displaying the module configuration symbol 1103 representing the module configuration and a mode for displaying the distributed control device configuration display unit 1102 are switched and displayed may be adopted. In the distributed control device configuration display section 1102, a master station symbol 1105 and a plurality of slave station symbols 1104 that constitute the distributed control device 110 of each functional module 102 or the transport module 103 are displayed. The connection relationship of the plurality of slave station device symbols 1104 is displayed so that the connection relationship can be understood at a glance. The master station symbol 1105 is a symbol representing the master station 811, and the slave station symbol 1104 is a symbol representing the slave station 814.

また、分散型コントローラ(分散制御装置110)の誤配線及び/又は分散型コントローラ(分散制御装置110)に故障が発生している場合(なお、誤配線、故障の判断方法については後述する)、該当する親局装置シンボル1105又は子局装置シンボル1104が他のシンボルと、識別可能な表示形態にて表示される。図12に示す例では、親局装置シンボル1105に接続されると共に、他の2つの子局装置シンボル1104に接続される一の子局装置シンボル1104に故障が発生している場合を示しており、該当する上記一の子局装置シンボル1104のみが黒く塗潰された表示形態にて表示されている。なお、このように該当するシンボルのみを黒く塗潰して表示する表示形態に代えて、ブリンク表示、異なる色にて表示、或いは、ハイライト表示する等の表示形態としても良い。すわち、他のシンボルと識別可能な表示形態であれば、いずれの表示形態であっても構わない。   In addition, in the case where there is an erroneous wiring of the distributed controller (distributed control device 110) and / or a failure has occurred in the distributed controller (distributed control device 110) (a method of determining the erroneous wiring and the failure will be described later). The corresponding master station device symbol 1105 or slave station device symbol 1104 is displayed in a display form that can be distinguished from other symbols. The example shown in FIG. 12 shows a case where a failure has occurred in one slave station symbol 1104 connected to the master station symbol 1105 and connected to the other two slave station symbols 1104. , Only the corresponding one of the slave station device symbols 1104 is displayed in a black-painted display form. Instead of a display mode in which only the corresponding symbol is painted black, a display mode such as blink display, display in a different color, or highlight display may be used. That is, any display form may be used as long as the display form can be distinguished from other symbols.

エラー表示部1106には、上述のネットワーク構成表示部1101に表示されるモジュール構成シンボル1103を構成する分散型コントローラ(分散制御装置110)のうち、いずれの分散型コントローラ(分散制御装置110)に故障が発生している或いは接続異常が発生している、分散型コントローラ(分散制御装置110)の接続箇所に誤りが生じている、或いは、分散型コントローラ(分散制御装置110)を構成する親局装置811又は子局装置812に故障が発生している等のエラー内容が表示される。   The error display unit 1106 indicates that any of the distributed controllers (distributed control devices 110) constituting the module configuration symbols 1103 displayed on the network configuration display unit 1101 has a failure. Has occurred or a connection error has occurred, an error has occurred in the connection location of the distributed controller (distributed control device 110), or the master station device constituting the distributed controller (distributed control device 110) Error contents such as a failure in the slave station 811 or the slave station device 812 are displayed.

次に、操作PC106が、ネットワーク構成の誤配線や分散型コントローラ(分散制御装置110)の故障を判定する処理について説明する。図13は、図9に示す分散制御システムを適用した自動分析システムのネットワーク構成の判断手順を示すフローチャートである。先ず、システム利用者は、ネットワーク構成表示アプリケーションを起動する。具体的には、操作PC106を構成する実施例1にて説明した演算部(図示せず)が、図示しない記憶装置に格納されるネットワーク構成表示アプリケーションプログラムを読み出し実行することで、図13に示す以下の各ステップを実行する。   Next, a process in which the operation PC 106 determines erroneous wiring of the network configuration or a failure of the distributed controller (distributed control device 110) will be described. FIG. 13 is a flowchart showing a procedure for determining the network configuration of the automatic analysis system to which the distributed control system shown in FIG. 9 is applied. First, the system user activates a network configuration display application. Specifically, the calculation unit (not shown) described in the first embodiment that configures the operation PC 106 reads and executes a network configuration display application program stored in a storage device (not shown), and the configuration illustrated in FIG. Perform the following steps.

図13に示すステップS201では、操作PC106が経路情報格納部826にアクセスし、経路情報格納部826に格納されるシステム利用者により事前に登録されたネットワーク構成の経路情報内に、該当識別番号の各子局装置812及び親局装置811の経路情報が格納されているかを判定する。判定の結果、経路情報格納部826に該当識別番号の各子局装置812及び親局装置811の経路情報が格納されていない場合、ステップS202へ進む。一方、判定の結果、経路情報格納部826に該当識別番号の各子局装置812及び親局装置811の経路情報が格納されている場合、ステップS203へ進む。   In step S201 shown in FIG. 13, the operation PC 106 accesses the route information storage unit 826, and the route information of the network configuration stored in the route information storage unit 826 and registered in advance by the system user includes the corresponding identification number. It is determined whether the route information of each slave station device 812 and master station device 811 is stored. As a result of the determination, when the route information storage unit 826 does not store the route information of each of the child station devices 812 and the master station device 811 of the corresponding identification number, the process proceeds to step S202. On the other hand, as a result of the determination, when the route information storage unit 826 stores the route information of each of the child station devices 812 and the master station device 811 of the corresponding identification number, the process proceeds to step S203.

ステップS202では、操作PC106を構成する演算部は、該当識別番号の各子局装置812及び親局装置811が接続されていない、若しくは故障していると判定し、ステップS209へ進む。なお、ステップS202では、操作PC106を構成する演算部は、該当識別番号の各子局装置812及び親局装置811により構成される分散型コントローラ(分散制御装置110)が接続されていない、若しくは故障していると判定する。   In step S202, the calculation unit configuring the operation PC 106 determines that each of the slave station devices 812 and the master station device 811 of the corresponding identification number is not connected or has a failure, and proceeds to step S209. In step S202, the operation unit configuring the operation PC 106 is not connected to the decentralized controller (distributed control device 110) configured by each of the slave station devices 812 and the master station device 811 of the corresponding identification number, or has a failure. It is determined that it is.

ステップS203では、操作PC106を構成する演算部は、経路情報格納部826に格納されている経路情報と、操作PC106を構成する通信I/F207を介して受信したパケットの識別番号部302に搭載又は格納される経路情報とを比較し、一致しているか否かを判定する。判定の結果、経路情報格納部826に格納されている経路情報と、上記パケットの識別番号部302に搭載又は格納される経路情報とが不一致の場合、ステップS204へ進む。一方、判定の結果、経路情報格納部826に格納されている経路情報と、上記パケットの識別番号部302に搭載又は格納される経路情報とが一致する場合、ステップS205へ進む。   In step S203, the arithmetic unit constituting the operation PC 106 is mounted on the path number stored in the path information storage unit 826 and the identification number unit 302 of the packet received via the communication I / F 207 constituting the operation PC 106. By comparing the stored route information, it is determined whether they match. As a result of the determination, if the route information stored in the route information storage unit 826 does not match the route information mounted or stored in the identification number unit 302 of the packet, the process proceeds to step S204. On the other hand, as a result of the determination, if the route information stored in the route information storage unit 826 matches the route information mounted or stored in the identification number unit 302 of the packet, the process proceeds to step S205.

ステップS204では、操作PC106を構成する演算部は、該当識別番号の各子局装置812及び親局装置811の接続箇所が誤っていると判定し、ステップS209へ進む。なお、ステップS204では、操作PC106を構成する演算部は、該当識別番号の各子局装置812及び親局装置811より構成される分散型コントローラ(分散制御装置110)の接続箇所が誤っていると判定する。   In step S204, the calculation unit configuring the operation PC 106 determines that the connection point between each of the slave station devices 812 and the master station device 811 of the corresponding identification number is incorrect, and proceeds to step S209. In step S204, the arithmetic unit configuring the operation PC 106 determines that the connection point of the distributed controller (distributed control device 110) including the slave station devices 812 and the master station device 811 of the corresponding identification number is incorrect. judge.

ステップS205では、操作PC106を構成する演算部は、該当識別番号の各子局装置812及び親局装置811が、親局装置811であるか否かを判定する。判定の結果、親局装置811でない場合ステップS206へ進む。一方、判定の結果が親局装置811である場合、ステップS208へ進み、ステップS208にて異常なしとし、処理を終了する。   In step S205, the arithmetic unit configuring the operation PC 106 determines whether each of the slave station devices 812 and the master station device 811 of the corresponding identification number is the master station device 811. If the result of determination is that it is not master station device 811, the flow proceeds to step S 206. On the other hand, if the result of the determination is the master station device 811, the process proceeds to step S 208, where there is no abnormality in step S 208, and the process ends.

ステップS206では、操作PC106を構成する演算部は、経路情報格納部826に格納されるシステム利用者により事前に登録された通信モード情報と、操作PC106を構成する通信I/F207を介して受信したパケットの識別番号部302に搭載又は格納される通信モード情報とを比較し、一致しているか否かを判定する。判定の結果、経路情報格納部826に格納されている通信モード情報と、上記パケットの識別番号部302に搭載又は格納される通信モード情報とが不一致の場合、ステップS207へ進む。一方、判定の結果、経路情報格納部826に格納されている通信モード情報と、上記パケットの識別番号部302に搭載又は格納される通信モード情報とが一致する場合、ステップS208へ進み、ステップS208にて異常なしとし、処理を終了する。   In step S206, the calculation unit configuring the operation PC 106 receives the communication mode information registered in advance by the system user stored in the route information storage unit 826 and the communication mode information via the communication I / F 207 configuring the operation PC 106. The communication mode information is compared with the communication mode information mounted or stored in the identification number part 302 of the packet, and it is determined whether or not they match. As a result of the determination, if the communication mode information stored in the route information storage unit 826 does not match the communication mode information mounted or stored in the identification number unit 302 of the packet, the process proceeds to step S207. On the other hand, as a result of the determination, when the communication mode information stored in the route information storage unit 826 matches the communication mode information mounted or stored in the identification number unit 302 of the packet, the process proceeds to step S208, and proceeds to step S208. No abnormality is determined, and the process ends.

ステップS207では、操作PC106を構成する演算部は、該当識別番号の子局装置812が故障していると判定しステップS209へ進む。
ステップS209では、ステップS202にて判定された該当識別番号の各子局装置812及び親局装置811が接続されていない若しくは故障しているとの判定結果、ステップS204にて判定された該当識別番号の各子局装置812及び親局装置811の接続箇所が誤っているとの判定結果、及び、ステップS207にて判定された該当識別番号の子局装置812が故障しているとの判定結果を、異常内容として表示装置708へ出力し、処理を終了する。これにより、表示装置708のエラー表示部1106に、「該当識別番号の各子局装置812及び親局装置811が接続されていない若しくは故障している」、「該当識別番号の各子局装置812及び親局装置811の接続箇所が誤っている」、又は、「該当識別番号の子局装置812が故障している」とのエラー内容が表示される。
In step S207, the calculation unit configuring the operation PC 106 determines that the slave station device 812 of the corresponding identification number has failed, and proceeds to step S209.
In step S209, the result of the determination that each of the slave station devices 812 and the master station device 811 of the corresponding identification number determined in step S202 is not connected or has failed, the corresponding identification number determined in step S204. The determination result that the connection point of each slave station device 812 and the master station device 811 is incorrect, and the determination result that the slave station device 812 of the corresponding identification number determined in step S207 has failed. Is output to the display device 708 as the content of the abnormality, and the process ends. As a result, the error display unit 1106 of the display device 708 displays “the slave station devices 812 and the master station device 811 of the corresponding identification number are not connected or are out of order” and “the slave station devices 812 of the corresponding identification number”. And the connection location of the master station device 811 is incorrect "or" the slave station device 812 of the corresponding identification number is out of order ".

なお、操作PC106は、図13に示すステップS201〜ステップS209までの処理を、表示装置708のネットワーク構成表示部1101に表示されるモジュール構成に含まれる各子局装置812及び親局装置811に対して行う。   The operation PC 106 performs the processing of steps S201 to S209 illustrated in FIG. 13 on each of the slave station devices 812 and the master station device 811 included in the module configuration displayed on the network configuration display unit 1101 of the display device 708. Do it.

次に、本実施例における自動分析装置101のモジュール構成から、装置に電源を投入し、上述の図13に示したネットワーク構成を確認するまでの動作の全体フローについて、図9、図12、図14を用いて説明する。図14、図9に示す分散制御システムを適用した自動分析システムにおける自動分析装置101のモジュール構成からネットワーク構成の確認までの手順を示すフローチャートである。   Next, from the module configuration of the automatic analyzer 101 according to the present embodiment to the power-on of the device and the confirmation of the network configuration shown in FIG. 14 will be described. 10 is a flowchart illustrating a procedure from the module configuration of the automatic analyzer 101 to the confirmation of the network configuration in the automatic analysis system to which the distributed control system illustrated in FIGS. 14 and 9 is applied.

まず、ステップS301では、システム利用者が検査室に設置される機能モジュール102及び搬送モジュール103の構成を、上述の実施例2において図8を用いて説明した手順と同様に、制御システム設計支援を行い得る設定入力画面700に入力する。次に、ステップS302では、操作PC106は、設定入力画面700に入力されたモジュール構成に基づき、本来構成するネットワークで構成される各子局装置812及び各親局装置811の識別番号、経路情報、及び通信モード(各子局装置812のみ)を経路情報格納部826に登録する。   First, in step S301, the configuration of the functional module 102 and the transport module 103 installed in the examination room by the system user is supported by the control system design support in the same manner as the procedure described with reference to FIG. An input is made on a possible setting input screen 700. Next, in step S302, the operation PC 106 determines, based on the module configuration input to the setting input screen 700, the identification numbers of the slave station devices 812 and the master station devices 811 that are originally configured in the network, the route information, And the communication mode (only each slave station device 812) is registered in the route information storage unit 826.

次に、システム利用者が装置の電源を投入し(ステップS303)、上述の実施例1において図7を用いて説明したステップS102〜ステップS105の処理により、子局装置812の通信モードを設定する(ステップS304)。   Next, the system user turns on the power of the device (step S303), and sets the communication mode of the slave station device 812 by the processing of steps S102 to S105 described with reference to FIG. (Step S304).

次に、ステップS305では、操作PC106は、親局装置811毎に予め割り付けられた識別番号を、対応する各親局装置811へ、通信路120及び/又は子局装置812を経由して転送し、各親局装置811の識別番号設定部216に識別番号を設定する。また、操作PC106は、子局装置812毎に予め割り付けられた識別番号を、対応する各子局装置812へ、親局装置811及び/又は他の子局装置812を経由して転送し、各子局装置812の識別番号設定部216に識別番号を設定する。   Next, in step S305, the operation PC 106 transfers the identification number assigned in advance to each master station device 811 to the corresponding master station device 811 via the communication path 120 and / or the slave station device 812. Then, the identification number is set in the identification number setting section 216 of each master station device 811. Further, the operation PC 106 transfers an identification number assigned in advance to each slave station device 812 to the corresponding slave station device 812 via the master station device 811 and / or another slave station device 812, and The identification number is set in the identification number setting section 216 of the slave station device 812.

ステップS306では、各親局装置811は、設定された自身の識別番号及び経路情報をパケットの識別番号部302に搭載又は格納し、当該パケットを通信路120及び/又は子局装置812を経由して操作PC106に転送する。また、各子局装置812は、設定された自身の識別番号及び経路情報並びに通信モードをパケットの識別番号部302に搭載又は格納し、当該パケットを親局装置811及び/又は他の子局装置812を経由して操作PC106に転送する。操作PC106は、通信I/F207を介して受信される、各親局装置811の自身の識別番号及び経路情報と、各子局装置812の自身の識別番号及び経路情報並びに通信モードと、を経路情報格納部826に格納する。   In step S306, each master station device 811 mounts or stores the set identification number and route information in the identification number portion 302 of the packet, and transfers the packet via the communication path 120 and / or the slave station device 812. To the operation PC 106. In addition, each slave station device 812 loads or stores the set identification number, route information, and communication mode in the identification number portion 302 of the packet, and stores the packet in the master station device 811 and / or another slave station device. The data is transferred to the operation PC 106 via 812. The operation PC 106 transmits the own identification number and route information of each master station device 811 and the own identification number and route information of each slave station device 812 and the communication mode, which are received via the communication I / F 207. The information is stored in the information storage unit 826.

ステップS307では、操作PC106を構成する演算部は、経路情報格納部826に予めシステム利用者により登録された各親局装置811の識別番号及び経路情報と、ステップS306にて転送された各親局装置811の識別番号及び経路情報とが一致するか否かを比較する。また、操作PC106を構成する演算部は、同様に、経路情報格納部826に予めシステム利用者により登録された各子局装置812の識別番号及び経路情報並びに通信モードと、ステップS306にて転送された各子局装置812の識別番号及び経路情報並びに通信モードとが一致するか否かを比較する。なお、これら各親局装置811の識別番号及び経路情報の比較と、各子局装置812の識別番号及び経路情報並びに通信モードの比較は、上述の図13に示した各ステップ順に従って実行する。   In step S307, the arithmetic unit constituting the operation PC 106 determines the identification number and the route information of each master station device 811 registered in the route information storage unit 826 in advance by the system user, and the master station transferred in step S306. A comparison is made as to whether the identification number of the device 811 and the route information match. Similarly, the calculation unit constituting the operation PC 106 is transferred in step S306 to the identification number and the route information of each slave station device 812 and the communication mode registered in advance in the route information storage unit 826 by the system user. Then, it is determined whether or not the identification numbers and the route information of the respective slave station devices 812 match the communication mode. Note that the comparison of the identification number and the route information of each master station device 811 and the comparison of the identification number and the route information of each slave station device 812 and the communication mode are executed in accordance with the respective steps shown in FIG.

ステップS308では、操作PC106を構成する演算部は、各親局装置811及び各子局装置812の、識別番号及び経路情報並びに通信モード(各子局装置812のみ)が一致しているか判定する。判定の結果、一致していなければステップS309へ進み、本来のネットワーク構成との相違点についてネットワーク構成表示部1101に表示し、エラー内容をエラー表示部1106に表示することで、システム利用者に提示する。ステップS301では、システム利用者により、装置の電源が切られ、システム構成(自動分析装置101のモジュール構成)が修正されると、修正されたシステム構成(自動分析装置101のモジュール構成)に対し、再び、ステップS303〜ステップS308までの処理を繰り返し実行する。一方、ステップS308での判定の結果、一致していれば処理を終了する。   In step S308, the calculation unit configuring the operation PC 106 determines whether the identification numbers and the route information and the communication modes (only the respective slave station devices 812) of the respective master station devices 811 and the respective slave station devices 812 match. If the result of the determination is that they do not match, the process proceeds to step S309, where differences from the original network configuration are displayed on the network configuration display unit 1101, and the details of the error are displayed on the error display unit 1106, thereby presenting the system user. I do. In step S301, when the power of the apparatus is turned off by the system user and the system configuration (the module configuration of the automatic analyzer 101) is corrected, the corrected system configuration (the module configuration of the automatic analyzer 101) is Again, the processes from step S303 to step S308 are repeatedly executed. On the other hand, if the result of determination in step S308 is that they match, the process ends.

以上の通り本実施例によれば、実施例1の効果に加え、装置起動時に分散制御装置110の異常とその内容を迅速にシステム利用者が認識することが可能となり、分散制御装置110の誤配線及び/又は分散制御装置110の故障による自動分析システム(分散制御システム)10としてのエラーの原因究明或いは復帰時間の低減が可能となる。   As described above, according to the present embodiment, in addition to the effects of the first embodiment, it becomes possible for the system user to quickly recognize the abnormality of the distributed control device 110 and its contents at the time of device startup, and The cause of the error as the automatic analysis system (distributed control system) 10 due to the failure of the wiring and / or the distributed control device 110 can be investigated or the recovery time can be reduced.

なお、本発明は上記した実施例に限定されるものではなく、様々な変形例が含まれる。例えば、上記した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施例の構成の一部を他の実施例の構成に置き換えることが可能であり、また、ある実施例の構成に他の実施例の構成を加えることも可能である。   Note that the present invention is not limited to the above-described embodiment, and includes various modifications. For example, the above-described embodiments have been described in detail for easy understanding of the present invention, and are not necessarily limited to those having all the configurations described above. Further, a part of the configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of one embodiment can be added to the configuration of another embodiment.

10・・・自動分析システム(分散制御システム)
101・・・自動分析装置
102・・・機能モジュール
103・・・搬送モジュール
104・・・ユニット
105・・・制御デバイス
106・・・操作PC
110・・・分散制御装置
111,111a,111b・・・親局装置
112,112a,112b,112c,112d,112e・・・子局装置
120・・・通信路
121・・・デバイス接続路
201・・・通信ポート
202・・・親局通信制御部
203・・・マスタ切換情報転送部
204・・・プログラム格納部
205・・・シーケンス処理部
206・・・ホストコンピュータI/F
207・・・通信I/F
211・・・上流通信ポート
212・・・下流通信ポート
212a・・・第1下流通信ポート
212b・・・第2下流通信ポート
213・・・デジタル入出力ポート
214・・・子局通信制御部
215・・・マスタ/スレーブ切換部
216・・・識別番号設定部
300・・・データ部
301・・・パケット種別部
302・・・識別番号部
401a・・・第1スレーブ通信ルート
401b・・・第2スレーブ通信ルート
401c・・・第3スレーブ通信ルート
501a・・・第1マスタ通信ルート
501b・・・第2マスタ通信ルート
501c・・・第3マスタ通信ルート
700・・・(制御システム設計支援を行い得る)設定入力画面
701・・・モジュール構成入力表示領域
702・・・操作PCシンボル
703・・・モジュールシンボル
704a・・・第1親局装置シンボル
704b・・・第2親局装置シンボル
705a・・・第1親局制御範囲
705b・・・第2親局制御範囲
706・・・モジュールリスト表示領域
707・・・モジュール機種名表示部
708・・・表示装置
709・・・入力装置
710・・・データベース
811,811a,811b・・・親局装置
812,812a,812b,812c,812d,812e・・・子局装置
821・・・経路情報生成部
825・・・通信モード情報転送部
826・・・経路情報格納部
1101・・・ネットワーク構成表示部
1102・・・分散制御装置構成表示部
1103・・・モジュール構成シンボル
1104・・・子局装置シンボル
1105・・・親局装置シンボル
1106・・・エラー表示部
10 ... Automatic analysis system (distributed control system)
101: Automatic analyzer 102: Function module 103: Transport module 104: Unit 105: Control device 106: Operation PC
110 ... distributed control devices 111, 111a, 111b ... master station devices 112, 112a, 112b, 112c, 112d, 112e ... slave station devices 120 ... communication paths 121 ... device connection paths
201 communication port 202 master station communication control unit 203 master switching information transfer unit 204 program storage unit 205 sequence processing unit 206 host computer I / F
207 ・ ・ ・ Communication I / F
211 ・ ・ ・ Upstream communication port
212 ... downstream communication port 212a ... first downstream communication port 212b ... second downstream communication port 213 ... digital input / output port 214 ... slave station communication control unit 215 ... master / slave switching Unit 216: identification number setting unit 300: data unit 301: packet type unit 302: identification number unit 401a: first slave communication route 401b ... second slave communication route 401c ... A third slave communication route 501a, a first master communication route 501b, a second master communication route 501c, a third master communication route 700, and a setting input screen 701 (which can provide control system design support) ... Module configuration input display area 702 ... Operation PC symbol 703 ... Module symbol 704a ... First master station device Symbol 704b Second master station device symbol 705a First master station control range 705b Second master station control range 706 Module list display area 707 Module model name display section 708 ··· Display device 709 ··· Input device 710 ··· Databases 811, 811a and 811b ··· Master device 812, 812a, 812b, 812c, 812d and 812e ··· Child device 821 ··· Route information generation Unit 825 Communication mode information transfer unit 826 Route information storage unit 1101 Network configuration display unit 1102 Distributed control device configuration display unit 1103 Module configuration symbol 1104 Child station device Symbol 1105: Master station device symbol 1106: Error display section

Claims (5)

通信制御を統括する第1の親局装置と、少なくとも一つの制御デバイスに対し制御処理を実行する子局装置を複数備えた分散制御システムにおいて
通信制御を統括する第2の親局装置が、自身が新たに追加され電源が投入された場合、マスタ切換情報を生成し、当該マスタ切換情報を自身と接続する子局装置に向け送信し、
前記子局装置は、前記第1の親局装置と他の子局装置を介して接続されると共に、前記第2の親局装置と接続され、
前記子局装置は、
前記マスタ切換情報を受信した場合、前記第2の親局装置と通信路を介してデータの送受信を行うマスタ通信モードに通信モードを切り換え、
前記マスタ切換情報を受信していない場合、前記第1の親局装置と前記他の子局装置を経由してデータの送受信を行うスレーブ通信モードを維持するマスタ・スレーブ切換部を有することを特徴とする分散制御システム
In a distributed control system including a first master station device that supervises communication control and a plurality of slave station devices that execute control processing on at least one control device,
When the second master station device that supervises the communication control is newly added and powered on, the second master station device generates master switching information and transmits the master switching information to the slave station device connected to itself,
The slave station device is connected to the first master station device via another slave station device, and is connected to the second master station device;
The slave station device,
When the master switching information is received , the communication mode is switched to a master communication mode for transmitting and receiving data via the communication path with the second master station device ,
If not received the master switching information, characterized in that it has a master-slave switching unit to keep the slave communication mode for transmitting and receiving data via said first said other slave stations and the master station apparatus And a distributed control system .
請求項1に記載の分散制御システムにおいて、
前記第1および第2の親局装置は通信ポートを有し、
各子局装置は、上流通信ポートと、第1下流通信ポートと、第2下流通信ポートと、前記制御デバイスとの接続を可能とするデジタル入出力ポートと、を備え、
前記子局装置は、
前記上流通信ポートと、前記第1下流通信ポートと、前記第2下流通信ポートのうちいずれか一つのポートを介して前記第2の親局装置の通信ポートに通信路により接続され、
前記上流通信ポートと、前記第1下流通信ポートと、前記第2下流通信ポートのうち前記第2の親局装置に接続されるポートと異なる少なくとも一つのポートを介して、他の子局装置と通信路により接続されると共に、前記デジタル入出力ポートを介して前記制御デバイスに接続されることを特徴とする分散制御システム
The distributed control system according to claim 1,
The first and second master stations have a communication port,
Each slave station device includes an upstream communication port, a first downstream communication port, a second downstream communication port, and a digital input / output port enabling connection with the control device,
The slave station apparatus,
The upstream communication port, the first downstream communication port, and a communication path connected to a communication port of the second master station device via any one of the second downstream communication ports,
The upstream communication port, the first downstream communication port, and at least one of the second downstream communication ports that is different from the port connected to the second master station device, to another slave station device. A distributed control system connected by a communication path and connected to the control device via the digital input / output port.
請求項2に記載の分散制御システムにおいて、
前記スレーブ通信モードは、
前記上流通信ポートを介して前記他の子局装置を経由して前記第1の親局装置と、前記デジタル入出力ポートを介して前記制御デバイスとのデータの送受信を行う第1スレーブ通信ルートと、
前記上流通信ポートを介して前記他の子局装置を経由して前記第1の親局装置と、前記第1下流通信ポートを介して前記他の子局装置と異なる子局装置とのデータの送受信を行う第2スレーブ通信ルートと、
前記上流通信ポートを介して前記他の子局装置を経由して前記第1の親局装置と、前記第2下流通信ポートを介して前記他の子局装置と異なる子局装置とのデータの送受信を行う第3スレーブ通信ルートと、を有することを特徴とする分散制御システム
The distributed control system according to claim 2,
The slave communication mode includes:
A first slave communication route for transmitting / receiving data to / from the control device via the digital input / output port, and the first master station via the other slave station via the upstream communication port; ,
Data transfer between the first master station device via the other slave station device via the upstream communication port and a slave station device different from the other slave station device via the first downstream communication port. A second slave communication route for transmitting and receiving;
Data transfer between the first master station device via the other slave station device via the upstream communication port and a slave station device different from the other slave station device via the second downstream communication port. distributed control system, characterized in that it comprises a third slave communication route for transmitting and receiving, the.
請求項2に記載の分散制御システムにおいて、
前記マスタ通信モードは、
前記第2下流通信ポートを介して前記第2の親局装置と、前記デジタル入出力ポートを介して前記制御デバイスとのデータの送受信を行う第1マスタ通信ルートと、
前記第2下流通信ポートを介して前記第2の親局装置と、前記上流通信ポートを介して前記他の子局装置とのデータの送受信を行う第2マスタ通信ルートと、
前記第2下流通信ポートを介して前記第2の親局装置と、前記第1下流通信ポートを介して前記他の子局装置と異なる子局装置とのデータの送受信を行う第3マスタ通信ルートと、を有することを特徴とする分散制御システム
The distributed control system according to claim 2,
The master communication mode includes:
A second master station device via the second downstream communication port, a first master communication route for transmitting and receiving data to and from the control device via the digital input / output port;
Said second parent station device via the second downstream communication port, and a second master communication route for transmitting and receiving data with the other slave stations via the upstream communication port,
A third master communication route for transmitting and receiving data between the second master station device via the second downstream communication port and a slave station device different from the other slave station device via the first downstream communication port And a distributed control system comprising:
請求項3又は請求項4に記載の分散制御システムにおいて、
前記制御デバイスは、少なくとも、検体分注プローブを駆動するモータ、検体分注プローブの先端に取り付けられる分注ノズルによる吸引/吐出のためのシリンジポンプ、試薬分注プローブを駆動するモータ、試薬分注プローブの先端に取り付けられる分注ノズルによる吸引/吐出のためのシリンジポンプ、反応容器内の検体又は試薬が混合された検体の液面を検知する液面検知センサ、反応ディスク内の恒温槽の温度を検出する温度センサ、及び試薬ディスク又は反応ディスクをステップ的に回転駆動するステッピングモータのうち、いずれか一つであることを特徴とする分散制御システム
In the distributed control system according to claim 3 or 4,
The control device includes at least a motor for driving a sample dispensing probe, a syringe pump for suction / discharge by a dispensing nozzle attached to a tip of the sample dispensing probe, a motor for driving a reagent dispensing probe, and reagent dispensing. Syringe pump for aspirating / discharging by the dispensing nozzle attached to the tip of the probe, liquid level detection sensor for detecting the liquid level of the sample in the reaction vessel or the sample mixed with the reagent, temperature of the thermostat in the reaction disk distributed control system characterized in that of the stepping motor, which is any one temperature sensor, and a reagent disk or the reaction disk for rotating stepwise detected.
JP2016147042A 2016-07-27 2016-07-27 Distributed control system Active JP6670522B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016147042A JP6670522B2 (en) 2016-07-27 2016-07-27 Distributed control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016147042A JP6670522B2 (en) 2016-07-27 2016-07-27 Distributed control system

Publications (2)

Publication Number Publication Date
JP2018019199A JP2018019199A (en) 2018-02-01
JP6670522B2 true JP6670522B2 (en) 2020-03-25

Family

ID=61082087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016147042A Active JP6670522B2 (en) 2016-07-27 2016-07-27 Distributed control system

Country Status (1)

Country Link
JP (1) JP6670522B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6917924B2 (en) * 2018-03-09 2021-08-11 株式会社日立ハイテク Distributed control system and its communication control method
WO2019225364A1 (en) * 2018-05-24 2019-11-28 オムロン株式会社 Network management device, system provided with network management device, network management method, management program, and recording medium
US11863374B2 (en) 2018-07-26 2024-01-02 Hitachi High-Tech Corporation Distributed control system, automatic analysis device, and automatic analysis system
US20240420832A1 (en) * 2021-11-05 2024-12-19 Hitachi High-Tech Corporation Specimen inspection automation system and fixed position information allocation method
JP2025123595A (en) * 2024-02-13 2025-08-25 株式会社日立ハイテク Distributed Control System

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3024031B2 (en) * 1993-01-28 2000-03-21 株式会社ケンウッド Control device for system equipment
JP5321399B2 (en) * 2009-10-02 2013-10-23 富士通株式会社 Transmission speed setting method and network hub device
JP2011163771A (en) * 2010-02-04 2011-08-25 Beckman Coulter Inc Syringe pump, dispensing device, and automatic analyzer

Also Published As

Publication number Publication date
JP2018019199A (en) 2018-02-01

Similar Documents

Publication Publication Date Title
JP6670522B2 (en) Distributed control system
US20040186360A1 (en) Automatic analyzer
KR20150082284A (en) Automated sample processing system
JP7181976B2 (en) automatic analyzer
JP6426569B2 (en) Sample inspection system
JP2015075442A (en) Automatic analyzer
JP2013167561A (en) Automatic analyzer
US20040096361A1 (en) Automatic analyzer
CN103309245A (en) Modular and configurable control system of industrial control device
JP6727063B2 (en) Distributed control device and distributed control system
EP1703285B1 (en) Control method of measuring apparatus and measuring apparatus
JP6403206B2 (en) Automatic analyzer and automatic analysis method
US6694382B1 (en) Flexible I/O subsystem architecture and associated test capability
JPWO2020044781A1 (en) Automatic analyzer and its method
CN117805409A (en) Sample analyzer and detection method of sample analyzer
JP7689586B2 (en) Sample testing automation system and fixed position information allocation method
US11863374B2 (en) Distributed control system, automatic analysis device, and automatic analysis system
US12019085B2 (en) Automatic analysis device and automatic analysis system
JP5782614B2 (en) Motor control system and motor control method
HK40100600A (en) Automated diagnostic analyzers having vertically arranged carousels and related methods
WO2026048223A1 (en) Transport device, specimen transport system, and method for connecting communication path in transport device
CN118584895A (en) Servo function testing method, device, equipment and computer storage medium
CN120652113A (en) Sample analysis assembly line
CN110118870A (en) Cellanalyzer and operation method
JP2009281763A (en) Analyzing apparatus and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190924

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191029

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191204

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200117

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200227

R150 Certificate of patent or registration of utility model

Ref document number: 6670522

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150