JPH11167406A - Distributed control system and control method of the same - Google Patents
Distributed control system and control method of the sameInfo
- Publication number
- JPH11167406A JPH11167406A JP33269397A JP33269397A JPH11167406A JP H11167406 A JPH11167406 A JP H11167406A JP 33269397 A JP33269397 A JP 33269397A JP 33269397 A JP33269397 A JP 33269397A JP H11167406 A JPH11167406 A JP H11167406A
- Authority
- JP
- Japan
- Prior art keywords
- control device
- control
- controller
- synchronization
- host
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims description 13
- 238000004891 communication Methods 0.000 claims abstract description 108
- 230000008878 coupling Effects 0.000 claims description 3
- 238000010168 coupling process Methods 0.000 claims description 3
- 238000005859 coupling reaction Methods 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 abstract description 19
- 238000010586 diagram Methods 0.000 description 12
- 230000002457 bidirectional effect Effects 0.000 description 11
- 230000005540 biological transmission Effects 0.000 description 8
- 230000001133 acceleration Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000013256 coordination polymer Substances 0.000 description 1
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ホスト制御装置と
複数の制御装置との間をシリアル通信にて結合した分散
制御システム及び分散制御システムの制御方法に関す
る。[0001] 1. Field of the Invention [0002] The present invention relates to a distributed control system in which a host control device and a plurality of control devices are connected by serial communication, and a control method of the distributed control system.
【0002】[0002]
【従来の技術】従来、マスタコントローラとスレーブコ
ントローラとの間でデータ通信を行うプログラマブルコ
ントローラの通信システムが、特開平3−204006
号公報に開示されている。2. Description of the Related Art Conventionally, a communication system of a programmable controller for performing data communication between a master controller and a slave controller is disclosed in Japanese Patent Application Laid-Open No. 3-204006.
No. 6,086,045.
【0003】この通信システムは、それぞれ固有のアド
レスを有した複数個のプログラマブルコントローラのう
ち、ホスト制御装置に接続可能なインターフェイスユニ
ットを備えたプログラマブルコントローラをマスタコン
トローラとし、他のプログラマブルコントローラをスレ
ーブコントローラとして、それぞれに設けたデータ通信
用のリンクユニット間を伝送路を介して接続している。In this communication system, among a plurality of programmable controllers each having a unique address, a programmable controller having an interface unit connectable to a host controller is used as a master controller, and the other programmable controllers are used as slave controllers. The link units for data communication provided respectively are connected via a transmission line.
【0004】ホスト制御装置は、データ通信を行うべき
相手先のスレーブコントローラのアドレスをマスタコン
トローラに指示するとともに、マスタコントローラを介
して複数個のスレーブコントローラへデータの伝送を行
う。これを繰り返すことにより1対多のデータ通信を実
行可能としている。[0004] The host controller instructs the master controller of the address of the slave controller with which data communication is to be performed, and transmits data to a plurality of slave controllers via the master controller. By repeating this, one-to-many data communication can be executed.
【0005】ホスト制御装置は、マスタコントローラを
介して通信システム内の全てのプログラマブルコントロ
ーラに対してデータ通信を行うことができるから、ホス
ト制御装置によって、個々のプログラマブルコントロー
ラのデータ変更や収集が可能なのは勿論のこと、通信シ
ステムの全体動作を監視することも可能である。[0005] The host controller can perform data communication with all the programmable controllers in the communication system via the master controller. Therefore, the host controller can change or collect data of each programmable controller. Of course, it is also possible to monitor the overall operation of the communication system.
【0006】[0006]
【発明が解決しようとする課題】しかしながら、上述し
た従来技術では、全てのデータ通信をマスタコントロー
ラを介さなければならないという課題がある。However, in the above-mentioned prior art, there is a problem that all data communication must be performed via a master controller.
【0007】即ち、あるスレーブコントローラの状態に
応じて、他のスレーブコントローラを動作させたり、複
数のスレーブコントローラが同期して動作する等という
ような命令を実行させる場合、スレーブコントローラの
情報をマスタコントローラを介してホスト制御装置に収
集し、新たなデータをマスタコントローラを介して他の
スレーブコントローラへ送信するという過程を踏まなけ
ればならない。That is, in order to operate another slave controller or to execute a command such that a plurality of slave controllers operate synchronously in accordance with the state of a certain slave controller, information of the slave controller is transmitted to the master controller. Must be collected by the host controller via the controller, and new data must be transmitted to other slave controllers via the master controller.
【0008】このようなマスタコントローラを介したデ
ータ通信を行う通信システムでは、データ通信時にタイ
ムロスが生じ、また、複数のスレーブコントローラが連
動して動作できないという課題がある。[0008] In such a communication system that performs data communication via the master controller, there is a problem that a time loss occurs during the data communication and that a plurality of slave controllers cannot operate in conjunction.
【0009】本発明は、前記従来の課題に鑑みてなされ
たものであり、各サブ制御装置の情報をホスト制御装置
が収集することなく2つ以上のサブ制御装置を同時に動
作させることを可能とし、データ通信時のタイムロスを
無くすことができる分散制御システム及び分散制御シス
テムの制御方法を提供することを目的とするものであ
る。SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned conventional problems, and makes it possible to simultaneously operate two or more sub-controllers without collecting information of each sub-controller by a host controller. It is an object of the present invention to provide a distributed control system and a control method of the distributed control system that can eliminate a time loss during data communication.
【0010】[0010]
【課題を解決するための手段】請求項1記載の発明は、
メイン制御装置と複数のサブ制御装置とをシリアル通信
ケーブルにより接続した分散制御システムにおいて、前
記ケーブルは、前記各サブ制御装置が連携して動作する
ための同期信号を送受信する信号線を具備することを特
徴とするものである。According to the first aspect of the present invention,
In a distributed control system in which a main control device and a plurality of sub-control devices are connected by a serial communication cable, the cable includes a signal line for transmitting and receiving a synchronization signal for operating the sub-control devices in cooperation with each other. It is characterized by the following.
【0011】この発明によれば、シリアル通信ケーブル
に各サブ制御装置を連携動作させる同期信号の送受信用
の信号線を設けているので、このシリアル通信ケーブル
を使用してサブ制御装置間を接続することにより、メイ
ン制御装置からのデータ伝送回数を減少すると同時にデ
ータ通信におけるタイムロスを無くすことが可能とな
る。According to the present invention, since the serial communication cable is provided with a signal line for transmitting and receiving a synchronization signal for operating the respective sub-controllers in cooperation, the sub-controllers are connected using the serial communication cable. This makes it possible to reduce the number of data transmissions from the main control device and to eliminate time loss in data communication.
【0012】請求項2記載の発明は、メイン制御装置と
複数のサブ制御装置とを、前記メイン制御装置と各サブ
制御装置間で制御信号を送受信するデータ線と、各サブ
制御装置を連携して動作させるための同期信号を送受信
する信号線とを有するケーブルで結合してシリアル通信
する分散制御システムの制御方法であって、前記メイン
制御装置が前記各サブ制御装置を連携動作させる場合に
は、前記同期信号の信号状態に基づいて行うことを特徴
とするものである。According to a second aspect of the present invention, the main control device and the plurality of sub-control devices are linked to each other, and a data line for transmitting and receiving a control signal between the main control device and each sub-control device is linked to each sub-control device. A method of controlling a distributed control system that performs serial communication by coupling with a cable having a signal line that transmits and receives a synchronization signal for operating the sub-controller, wherein the main controller operates the sub-controllers in cooperation with each other. , Based on the signal state of the synchronization signal.
【0013】この発明によれば、メイン制御装置が各サ
ブ制御装置を連携動作させる場合には、前記ケーブルの
同期線を伝送される同期信号の信号状態に基づいて行う
ものであるから、複数のサブ制御装置を、ホスト制御装
置を介することなく、同期して動作させる制御を実現で
きる。According to the present invention, when the main control device operates the respective sub-control devices in cooperation with each other, the main control device performs the operation on the synchronization line of the cable based on the signal state of the transmitted synchronization signal. Control for operating the sub-controllers in synchronization with each other without the intervention of the host controller can be realized.
【0014】請求項3記載の発明は、請求項2記載の発
明において、前記同期信号は、連携動作させる前記各サ
ブ制御装置のいずれかで創成されることを特徴とするも
のである。According to a third aspect of the present invention, in the second aspect of the present invention, the synchronization signal is created by any of the sub-control devices that operate in cooperation.
【0015】この発明によれば、ホスト制御装置を介す
ることなく前記同期信号を創成して複数のサブ制御装置
間を同期して動作させることが可能となる。According to the present invention, it is possible to generate the synchronization signal without intervening the host control device and to operate the plurality of sub-control devices in synchronization.
【0016】[0016]
【発明の実施の形態】以下に本発明の実施の形態を詳細
に説明する。Embodiments of the present invention will be described below in detail.
【0017】図1は本実施の形態の分散制御システムの
構成の一例を示すブロック図、図2は図1に示すシリア
ル通信ケーブル16のケーブル構成を示す図である。FIG. 1 is a block diagram showing an example of the configuration of the distributed control system according to the present embodiment, and FIG. 2 is a diagram showing the cable configuration of the serial communication cable 16 shown in FIG.
【0018】この分散制御システムは、ホスト制御装置
1に接続可能なマスタコントローラ2と、複数の制御装
置6A、6B、…、6Nと、前記マスタコントローラ2
と複数の制御装置6A、6B、…、6Nとを結合するシ
リアル通信ケーブル16とを有している。This distributed control system comprises a master controller 2 which can be connected to the host controller 1, a plurality of controllers 6A, 6B,...
And a serial communication cable 16 for coupling the plurality of control devices 6A, 6B,..., 6N.
【0019】前記マスタコントローラ2は、複数の制御
装置6A、6B、…、6Nとの間でシリアル通信ケーブ
ル16を介してデータ通信を行う通信コントローラ3
と、ホスト制御装置1に接続可能なプログラマブルメモ
リ4と、前記通信コントローラ3及びプログラマブルメ
モリ4の双方に接続されるとともにホスト制御装置1に
接続された演算制御部5とを具備している。The master controller 2 is a communication controller 3 for performing data communication with a plurality of control devices 6A, 6B,..., 6N via a serial communication cable 16.
A programmable memory 4 connectable to the host control device 1; and an arithmetic control unit 5 connected to both the communication controller 3 and the programmable memory 4 and connected to the host control device 1.
【0020】制御装置6Aは、通信コントローラ3a、
機器制御部7a、固有のアドレスを決定するアドレス設
定器8a、シリアル通信ケーブル16に接続される通信
インターフェイス部9a、機器制御部7aと通信インタ
ーフェイス部9aとの間に設けた同期線10a、外部イ
ンターフェイス部14aを具備し、前記機器制御部7a
は外部インターフェイス部14aを介して外部機器15
Aの制御を行うようになっている。The control device 6A includes a communication controller 3a,
A device control unit 7a, an address setting unit 8a for determining a unique address, a communication interface unit 9a connected to the serial communication cable 16, a synchronization line 10a provided between the device control unit 7a and the communication interface unit 9a, an external interface Unit 14a, the device control unit 7a
Is an external device 15 through the external interface unit 14a.
A is controlled.
【0021】制御装置6Bも、制御装置6Aと同様に、
通信コントローラ3b、機器制御部7b、固有のアドレ
スを決定するアドレス設定器8b、シリアル通信ケーブ
ル16に接続される通信インターフェイス部9b、機器
制御部7bと通信インターフェイス部9bとの間に設け
た同期線10b、外部インターフェイス部14bを具備
し、機器制御部7bは外部インターフェイス部14bを
介して外部機器15Bの制御を行うようになっている。The control device 6B, like the control device 6A,
A communication controller 3b, a device control unit 7b, an address setting unit 8b for determining a unique address, a communication interface unit 9b connected to the serial communication cable 16, and a synchronization line provided between the device control unit 7b and the communication interface unit 9b. 10b, an external interface unit 14b is provided, and the device control unit 7b controls the external device 15B via the external interface unit 14b.
【0022】制御装置6Nも、制御装置6Aと同様に、
通信コントローラ3n、機器制御部7n、固有のアドレ
スを決定するアドレス設定器8n、シリアル通信ケーブ
ル16に接続される通信インターフェイス部9n、機器
制御部7nと通信インターフェイス部9nとの間に設け
た同期線10n、外部インターフェイス部14nを具備
している。機器制御部7nは外部インターフェイス部1
4nを介して外部機器15Nの制御を行うようになって
いる。尚、上述したN、nは各々正の整数であるとして
以下の説明を行う。The control device 6N, like the control device 6A,
A communication controller 3n, a device control unit 7n, an address setting unit 8n for determining a unique address, a communication interface unit 9n connected to the serial communication cable 16, and a synchronization line provided between the device control unit 7n and the communication interface unit 9n. 10n and an external interface unit 14n. The device control unit 7n includes the external interface unit 1
The control of the external device 15N is performed via 4n. The following description will be made assuming that N and n are positive integers.
【0023】前記シリアル通信ケーブル16は、図2に
示すように、前記マスタコントローラ2と、前記制御装
置6A、6B、…、6Nの各通信インターフェイス部9
a、9b、…、9nとを接続する2本の双方向データ線
17及び2本の双方向同期線18を含んで構成されてい
る。As shown in FIG. 2, the serial communication cable 16 is connected to the master controller 2 and the communication interfaces 9 of the control devices 6A, 6B,.
, 9n, two bidirectional data lines 17 and two bidirectional synchronization lines 18 are connected.
【0024】前記各機器制御部7a、7b、…、7nに
は、ホスト制御装置1からの命令を受けると同期信号を
出力するプログラムと、同期信号が入力されるとホスト
制御装置1からの命令を実行するプログラムとが組み込
まれている。Each of the device control sections 7a, 7b,..., 7n has a program for outputting a synchronization signal when receiving a command from the host control device 1, and a command for receiving a command from the host control device 1 when the synchronization signal is input. And a program for executing the program.
【0025】[作用]次に、以上の構成からなる本実施
の形態1の作用を説明する。複数の制御装置6A、6
B、…、6Nは、各々アドレス設定器8a乃至8nによ
り固有のアドレスが付けられる。ここでは、連動して動
作させる制御装置を仮に前記制御装置6A、制御装置6
Bの2個として以下の説明を行う。[Operation] Next, the operation of the first embodiment having the above configuration will be described. Plurality of control devices 6A, 6
, 6N are assigned unique addresses by the address setting units 8a to 8n. Here, it is assumed that the control devices operated in conjunction with each other are the control devices 6A and 6A.
The following description is made on the assumption that B is two.
【0026】ホスト制御装置1は、マスタコントローラ
2を介して制御装置6A、制御装置6Bのどちらかを基
準装置とするか選択をする。基準装置とは、どの制御装
置を動作の基準とするかである。今、仮に制御装置6A
が基準装置として選択され、ホスト制御装置1から制御
装置6A、制御装置6Bに各々接続された2個の外部機
器15A、15Bに対する駆動命令が送出されたものと
する。The host controller 1 selects, via the master controller 2, either the controller 6A or the controller 6B as a reference device. The reference device indicates which control device is used as a reference for operation. Now, suppose that the control device 6A
Is selected as the reference device, and a drive command for the two external devices 15A and 15B connected to the control devices 6A and 6B is transmitted from the host control device 1.
【0027】ホスト制御装置1からマスタコントローラ
2を介して駆動命令が送られた制御装置6Aにおいて
は、機器制御部7aから同期信号を同期線10aを介し
て通信インターフェイス部9aに送信する。通信インタ
ーフェイス部9aに入力された同期信号は再び機器制御
部7aに入力されると共に、シリアル通信ケーブル16
内の双方向同期線18を介して制御装置6Bの通信イン
ターフェイス部9bに送信される。In the control device 6A to which the drive command has been sent from the host control device 1 via the master controller 2, a synchronization signal is transmitted from the device control portion 7a to the communication interface portion 9a via the synchronization line 10a. The synchronization signal input to the communication interface unit 9a is input again to the device control unit 7a, and the serial communication cable 16
Is transmitted to the communication interface unit 9b of the control device 6B via the bidirectional synchronization line 18 in the inside.
【0028】同様に、通信インターフェイス部9bに入
力された同期信号は同期線10bを介して機器制御部7
bに入力される。Similarly, the synchronization signal input to the communication interface 9b is transmitted to the device controller 7 via the synchronization line 10b.
b.
【0029】制御装置6A、6Bは、いずれも同期信号
が機器制御部7a、7bに入力されると同時にホスト制
御装置1からの駆動命令を外部インターフェイス部14
a、14bを介して各々外部機器15A、15Bに送信
する。これにより、これら外部機器15A、15Bは同
期して駆動される。Each of the control devices 6A and 6B sends a drive command from the host control device 1 to the external interface unit 14 at the same time when a synchronization signal is input to the device control units 7a and 7b.
a and 14b to the external devices 15A and 15B, respectively. Thereby, these external devices 15A and 15B are driven synchronously.
【0030】このようにして、ホスト制御装置1を介す
ることなく2個の制御装置6A、6Bを連動して動作さ
せることができ、ホスト制御装置1を介する場合に比べ
データ通信におけるタイムロスをなくすことができる。In this manner, the two control devices 6A and 6B can be operated in cooperation without the intervention of the host control device 1, and the time loss in data communication can be reduced as compared with the case where the host control device 1 is used. Can be.
【0031】尚、基準装置が入れ替わったり、制御装置
が3台以上接続されたとしても、動作は上述した場合と
同様である。Note that, even if the reference device is replaced or three or more control devices are connected, the operation is the same as that described above.
【0032】(実施の形態2)本発明の実施の形態2に
ついて、図3、図4、図5及び図6を参照して説明す
る。(Embodiment 2) Embodiment 2 of the present invention will be described with reference to FIGS. 3, 4, 5, and 6. FIG.
【0033】[構成]図3は本発明の実施の形態2の分
散制御システムの構成を示すブロック図、図4は通信ケ
ーブル34のケーブル構成図、図5はホスト制御装置3
8が処理するプログラムのフローチャート、図6はアク
チュエータ制御装置23AのCPU24aが処理するプ
ログラムのフローチャートである。[Configuration] FIG. 3 is a block diagram showing the configuration of the distributed control system according to the second embodiment of the present invention, FIG. 4 is a diagram showing the cable configuration of a communication cable 34, and FIG.
8 is a flowchart of a program processed by FIG. 8, and FIG. 6 is a flowchart of a program processed by the CPU 24a of the actuator control device 23A.
【0034】この分散制御システムは、ホスト制御装置
38に接続可能なマスタコントローラ19と、複数の制
御装置であるアクチュエータ制御装置23A、23B、
…、23Nと、前記マスタコントローラ19と複数のア
クチュエータ制御装置23A、23B、…、23Nとを
結合するシリアル通信ケーブル34とを有している。This distributed control system comprises a master controller 19 which can be connected to a host controller 38, and actuator controllers 23A and 23B which are a plurality of controllers.
, 23N, and a serial communication cable 34 connecting the master controller 19 and the plurality of actuator controllers 23A, 23B, ..., 23N.
【0035】前記ホスト制御装置38に接続可能なマス
タコントローラ19は、データ通信を行う通信コントロ
ーラ20と、ホスト制御装置1に接続可能なプログラマ
ブルメモリ21と、前記通信コントローラ20及びプロ
グラマブルメモリ21の双方に接続された演算制御部2
2とを具備している。The master controller 19 which can be connected to the host controller 38 includes a communication controller 20 for performing data communication, a programmable memory 21 which can be connected to the host controller 1, and both the communication controller 20 and the programmable memory 21. Operation control unit 2 connected
2 is provided.
【0036】前記マスタコントローラ19と、複数のア
クチュエータ制御装置23A、23B、…、23Bは、
図4に示すように、2本の双方向データ線35と2本の
双方向同期線36とを含むシリアル通信ケーブル34に
より相互に接続されている。The master controller 19 and the plurality of actuator controllers 23A, 23B,.
As shown in FIG. 4, they are interconnected by a serial communication cable 34 including two bidirectional data lines 35 and two bidirectional synchronization lines 36.
【0037】前記アクチュエータ制御装置23Aは、通
信コントローラ20a、機器制御部であるCPU24
a、固有のアドレスを決定するアドレス設定器25a、
シリアル通信ケーブル34に接続されるRS−485等
の通信インターフェイス部30a、通信インターフェイ
ス部30aとCPU24aとの間に設けられ、他のアク
チュエータ制御装置23B等に同期信号を送信する単方
向の同期信号線28a及び同期信号を受信する単方向の
同期受信線29a、外部インターフェイス部26aを具
備し、前記CPU24aは、外部インターフェイス部2
6aを通じて外部のモータ32A及び検出器33Aが接
続されたモータドライバ31Aに接続され、このモータ
ドライバ31Aの制御を行うようになっている。The actuator control device 23A includes a communication controller 20a and a CPU 24 serving as a device control unit.
a, an address setting unit 25a for determining a unique address,
A communication interface unit 30a such as RS-485 connected to the serial communication cable 34, a unidirectional synchronization signal line provided between the communication interface unit 30a and the CPU 24a and transmitting a synchronization signal to another actuator control device 23B or the like. 28a, a unidirectional synchronization receiving line 29a for receiving a synchronization signal, and an external interface unit 26a.
The motor driver 31A is connected to the external motor 32A and the detector 33A through 6a, and controls the motor driver 31A.
【0038】前記アクチュエータ制御装置23Bは、ア
クチュエータ制御装置23Aと同様に、通信コントロー
ラ20b、機器制御部であるCPU24b、固有のアド
レスを決定するアドレス設定器25b、シリアル通信ケ
ーブル34に接続されるRS−485等の通信インター
フェイス部30b、通信インターフェイス部30bとC
PU24bとの間に設けられ、他のアクチュエータ制御
装置23A等に同期信号を送信する単方向の同期信号線
28b及び同期信号を受信する単方向の同期受信線29
b、外部インターフェイス部26bを具備し、前記CP
U24bは、外部インターフェイス部26bを通じて外
部のモータ32B及び検出器33Bが接続されたモータ
ドライバ31Bに接続され、このモータドライバ31B
の制御を行うようになっている。The actuator control device 23B is, like the actuator control device 23A, a communication controller 20b, a CPU 24b serving as a device control unit, an address setting unit 25b for determining a unique address, and an RS-connector connected to a serial communication cable 34. 485 and the like, and the communication interface 30b and C
A unidirectional synchronization signal line 28b for transmitting a synchronization signal to another actuator control device 23A or the like, and a unidirectional synchronization reception line 29 for receiving a synchronization signal.
b, an external interface unit 26b,
U24b is connected to a motor driver 31B to which an external motor 32B and a detector 33B are connected through an external interface unit 26b.
Is controlled.
【0039】前記アクチュエータ制御装置23Nも、ア
クチュエータ制御装置23Aと同様に、通信コントロー
ラ20n、機器制御部であるCPU24n、固有のアド
レスを決定するアドレス設定器25n、シリアル通信ケ
ーブル34に接続されるRS−485等の通信インター
フェイス部30n、通信インターフェイス部30nとC
PU24nとの間に設けられ、他のアクチュエータ制御
装置23A等に同期信号を送信する単方向の同期信号線
28n及び同期信号を受信する単方向の同期受信線29
n、外部インターフェイス部26nを具備し、前記CP
U24nは外部インターフェイス部26nを通じて外部
のモータ32N及び検出器33Nが接続されたモータド
ライバ31Nに接続され、このモータドライバ31Nの
制御を行うようになっている。Similarly to the actuator control device 23A, the actuator control device 23N has a communication controller 20n, a CPU 24n as a device control unit, an address setting device 25n for determining a unique address, and an RS-connector connected to a serial communication cable 34. 485 or the like, a communication interface 30n, a communication interface 30n and C
A one-way synchronization signal line 28n for transmitting a synchronization signal to another actuator control device 23A and the like, and a one-way synchronization reception line 29 for receiving a synchronization signal.
n, an external interface unit 26n,
U24n is connected to a motor driver 31N to which an external motor 32N and a detector 33N are connected through an external interface unit 26n, and controls the motor driver 31N.
【0040】前記各アクチュエータ制御装置23A、2
3B内のCPU24a、24bには各々ホスト制御装置
30からの命令を受けると基準装置である場合に同期信
号を出力するプログラムと、同期信号が入力されるとホ
スト制御装置38の命令を実行するプログラムが組み込
まれている。Each of the actuator control devices 23A, 2
Each of the CPUs 24a and 24b in the 3B outputs a synchronizing signal when receiving a command from the host control device 30 when it is the reference device, and a program that executes the command of the host control device 38 when the synchronizing signal is input. Is incorporated.
【0041】[作用]次に、本実施の形態2の分散制御
システムの動作を図5及び図6をも参照し、2つのアク
チュエータ制御装置23A、23Bにより2つのモータ
32、32の簡易直線補間動作を行う場合を例にとって
説明する。[Operation] Next, the operation of the distributed control system according to the second embodiment will be described with reference to FIGS. 5 and 6 as well, and simple linear interpolation of the two motors 32 by the two actuator controllers 23A and 23B. The operation will be described as an example.
【0042】ここでいう簡易直線補間動作と、全体の制
御条件(初速、加速度、最高速度、移動位置等)を設定
し、各アクチュエータ制御装置23A、23B間に伝送
される同期信号に従って、2つのモータ32、32を同
時に動作させる動作をいう。Here, the simple linear interpolation operation and the overall control conditions (initial speed, acceleration, maximum speed, moving position, etc.) are set, and two control signals are transmitted according to the synchronization signal transmitted between the actuator control devices 23A and 23B. This refers to an operation of operating the motors 32, 32 simultaneously.
【0043】従来は、X軸用のモータを制御するX軸用
制御装置と、Y軸用のモータを制御するY軸用制御装置
とをホスト制御装置により個別に制御して、X−Yテー
ブルを駆動する場合、X軸用の制御条件(初速、加速
度、最高速度、移動量等)とY軸用の制御条件とをそれ
ぞれホスト制御装置に入力して、ホスト制御装置とX軸
用制御装置、Y軸用制御装置との間で制御条件を通信し
ながら動作させる必要があった。Conventionally, an X-axis control device for controlling an X-axis motor and a Y-axis control device for controlling a Y-axis motor are individually controlled by a host control device to form an XY table. , The X-axis control conditions (initial speed, acceleration, maximum speed, moving amount, etc.) and the Y-axis control conditions are input to the host controller, respectively, and the host controller and the X-axis controller It is necessary to operate while communicating control conditions with the Y-axis control device.
【0044】本実施の形態2の分散制御システムにおい
て、まず、複数のアクチュエータ制御装置23A、23
B、…、23Nに対して、各々アドレス設定器25a、
25b、…、25nにより固有のアドレスが設定され
る。In the distributed control system according to the second embodiment, first, a plurality of actuator control devices 23A, 23
, 23N, address setting units 25a,
, 25n, a unique address is set.
【0045】ホスト制御装置38は、アクチュエータ制
御装置23Aを基準装置とする命令をマスタコントロー
ラ19を介して各アクチュエータ制御装置23A、23
B、…、23Nに伝送し、アクチュエータ制御装置23
Aを基準装置に選択する(ステップS1)。ここに、基
準装置とは、簡易直線補間動作を実行させたい2つのア
クチュエータ制御装置23A、23Bのうち、いずれか
動作の基準となる装置を意味する。The host controller 38 issues a command using the actuator controller 23A as a reference device via the master controller 19 to each of the actuator controllers 23A and 23A.
B,..., 23N and the actuator controller 23
A is selected as the reference device (step S1). Here, the reference device means a device serving as a reference for any one of the two actuator control devices 23A and 23B for which a simple linear interpolation operation is to be executed.
【0046】次に、ホスト制御装置38は、アクチュエ
ータ制御装置23Aが制御するモータ32Aの移動位
置、アクチュエータ制御装置23Bが制御するモータ3
2Bの移動位置及びアクチュエータ制御装置23A、2
3Bが制御するモータ32A、32Bの合成速度等のパ
ラメータをマスタコントローラ19の演算制御装置22
に送信する(ステップS2)。Next, the host controller 38 controls the moving position of the motor 32A controlled by the actuator controller 23A and the motor 3 controlled by the actuator controller 23B.
2B movement position and actuator control devices 23A,
The parameters such as the combined speed of the motors 32A and 32B controlled by the 3B are controlled by the arithmetic and control unit 22 of the master controller 19.
(Step S2).
【0047】さらに、ホスト制御装置38は、前記パラ
メータの送信後、駆動命令をマスタコントローラ19に
送信する(ステップS3)。Further, after transmitting the parameters, the host control device 38 transmits a drive command to the master controller 19 (step S3).
【0048】マスタコントローラ19内の演算制御部2
2は、ホスト制御装置38からのパラメータを基にアク
チュエータ制御装置23A、23B各々の方向成分の速
度を演算し、演算された速度等のパラメータを通信コン
トローラ20、シリアル通信ケーブル34内の2本の双
方向データ線35を介してアクチュエータ制御装置23
A、23Bへ伝送する。Operation control unit 2 in master controller 19
2 calculates the speeds of the respective directional components of the actuator control devices 23A and 23B based on the parameters from the host control device 38, and uses the two parameters in the communication controller 20 and the serial communication cable 34 for the calculated parameters such as the speed. Actuator controller 23 via bidirectional data line 35
A, 23B.
【0049】図6に示すように、基準装置である(ステ
ップS11)アクチュエータ制御装置23AのCPU2
4aは、前記パラメータを受信し(ステップS12)、
駆動命令を受信し、このCPU24aは、予め設定した
プログラムに基づき同期信号線28aを介して同期信号
を通信インターフェイス30aに送信する(ステップS
13)。As shown in FIG. 6, the CPU 2 of the actuator control device 23A which is the reference device (step S11)
4a receives the parameter (step S12),
Upon receiving the driving command, the CPU 24a transmits a synchronization signal to the communication interface 30a via the synchronization signal line 28a based on a preset program (Step S).
13).
【0050】同期信号が送られた通信インターフェイス
30aは、同期受信線29aによりCPU24aに再び
同期信号を戻す。また、この同期信号はシリアル通信ケ
ーブル34内の双方向同期線36を介して差動型のデー
タとしてアクチュエータ制御装置23Bに送られ、通信
インターフェイス30bに入力される。さらに、この同
期信号は同期受信線29bを経てCPU24bに送られ
る。The communication interface 30a to which the synchronization signal has been sent returns the synchronization signal to the CPU 24a again via the synchronization reception line 29a. The synchronization signal is sent as differential data to the actuator control device 23B via the bidirectional synchronization line 36 in the serial communication cable 34, and is input to the communication interface 30b. Further, this synchronization signal is sent to the CPU 24b via the synchronization reception line 29b.
【0051】このようにして、アクチュエータ制御装置
23A、23BのCPU24a、24bに共に同期信号
が入力されると、CPU24a、24bは同時に移動命
令を実行し、モータ32A、32Bを同時に駆動し始め
(ステップS14)、またモータ32A、32Bは前記
マスタコントローラ19内の演算制御部22により計算
された速度により同時に駆動される。As described above, when the synchronization signals are input to both the CPUs 24a and 24b of the actuator control devices 23A and 23B, the CPUs 24a and 24b execute the movement command at the same time and start driving the motors 32A and 32B at the same time (step). S14) The motors 32A and 32B are simultaneously driven at the speed calculated by the arithmetic and control unit 22 in the master controller 19.
【0052】尚、基準装置ではなく直線補間を行う装置
(ステップS15)であるアクチュエータ制御装置23
Bは、前記演算制御部22からパラメータを受信した後
(ステップS16)、ステップS14の処理に移行す
る。また、基準装置ではなく直線補間を行う装置でもな
い装置(例えばアクチュエータ制御装置23N)につい
ては処理終了となる。The actuator controller 23 which is not a reference device but a device for performing linear interpolation (step S15).
B receives the parameters from the arithmetic control unit 22 (step S16), and then proceeds to the processing of step S14. Further, the processing is terminated for a device that is not a reference device and is not a device that performs linear interpolation (for example, the actuator control device 23N).
【0053】[効果]本実施の形態2によれば、前記同
期信号と2台のアクチュエータ制御装置23A、23B
を用いることにより、2つのモータ32A、32Bを同
期して動作させる簡易直線補間動作が可能となり、ま
た、ホスト制御装置20を介する場合に比べデータ通信
におけるタイムロスをなくすことができるとともに、デ
ータの伝送回数も減少できる。[Effects] According to the second embodiment, the synchronization signal and the two actuator control devices 23A and 23B are used.
Is used, a simple linear interpolation operation for operating the two motors 32A and 32B in synchronization with each other can be performed, and a time loss in data communication can be reduced as compared with the case where the host controller 20 is used. The number of times can also be reduced.
【0054】(実施の形態3)本発明の実施の形態3に
ついて、図7、図8、図9乃至図11を参照して説明す
る。(Embodiment 3) Embodiment 3 of the present invention will be described with reference to FIGS. 7, 8, 9 to 11. FIG.
【0055】[構成]図7は本実施の形態3の分散制御
システムの構成を示すブロック図、図8は通信ケーブル
の詳細図、図9はホスト制御装置60が処理するプログ
ラムのフローチャート、図10はアクチュエータ制御装
置42A乃至42NのCPU43a乃至43nが処理す
るプログラムのフローチャート、図11はI/O制御装
置53A乃至53NのCPU54a乃至54nが処理す
るプログラムのフローチャートである。[Configuration] FIG. 7 is a block diagram showing the configuration of the distributed control system according to the third embodiment, FIG. 8 is a detailed diagram of a communication cable, FIG. 9 is a flowchart of a program processed by the host control device 60, and FIG. Is a flowchart of a program processed by the CPUs 43a to 43n of the actuator control devices 42A to 42N, and FIG. 11 is a flowchart of a program processed by the CPUs 54a to 54n of the I / O control devices 53A to 53N.
【0056】本実施の形態3の分散制御システムは、ホ
スト制御装置60、マスタコントローラ61、複数のア
クチュエータ制御装置42A乃至42N、複数のI/O
制御装置53A乃至53N及びシリアル通信ケーブル5
7を具備している。The distributed control system according to the third embodiment includes a host controller 60, a master controller 61, a plurality of actuator controllers 42A to 42N, a plurality of I / Os.
Control devices 53A to 53N and serial communication cable 5
7 is provided.
【0057】前記マスタコントローラ61と、複数のア
クチュエータ制御装置42A乃至42N及び複数のI/
O制御装置53A乃至53Nは、図8に示す2本の双方
向データ線58と2本の双方向同期線59を含むシリア
ル通信ケーブル57で接続されている。The master controller 61, a plurality of actuator controllers 42A to 42N and a plurality of I / Os
The O control devices 53A to 53N are connected by a serial communication cable 57 including two bidirectional data lines 58 and two bidirectional synchronization lines 59 shown in FIG.
【0058】前記アクチュエータ制御装置42Aは、通
信コントローラ39aと、CPU43aと、固有のアド
レスを決定するアドレス設定器44aと、RS−485
等の通信インターフェイス部45aと、他のアクチュエ
ータ制御装置42N等に同期信号を送信する単方向の同
期送信線48aと、他のアクチュエータ制御装置42B
等から同期信号を受信する単方向の同期受信線49a
と、外部接続インターフェイス部62aとを具備してい
る。The actuator control unit 42A includes a communication controller 39a, a CPU 43a, an address setting unit 44a for determining a unique address, and an RS-485.
, A unidirectional synchronous transmission line 48a for transmitting a synchronous signal to another actuator control device 42N, etc., and another actuator control device 42B.
One-way synchronous receiving line 49a for receiving a synchronous signal from
And an external connection interface unit 62a.
【0059】前記CPU43aは、外部インターフェイ
ス部62aを介してモータ51Aと検出器52Aが接続
されたモータドライバ50Aに接続され、モータドライ
バ50Aを通じてモータ51Aの制御を行うようになっ
ている。The CPU 43a is connected to a motor driver 50A to which a motor 51A and a detector 52A are connected via an external interface 62a, and controls the motor 51A through the motor driver 50A.
【0060】前記アクチュエータ制御装置42Nも、前
記アクチュエータ制御装置42Aと同様に、通信コント
ローラ39nと、CPU43nと、固有のアドレスを決
定するアドレス設定器44nと、RS−485等からな
る通信インターフェイス部45nと、他のアクチュエー
タ制御装置42A等に同期信号を送信する単方向の同期
送信線48nと、他のアクチュエータ制御装置42A等
から同期信号を受信する単方向の同期受信線49nと、
外部接続インターフェイス部62nとを具備している。Similarly to the actuator control unit 42A, the actuator control unit 42N includes a communication controller 39n, a CPU 43n, an address setting unit 44n for determining a unique address, and a communication interface unit 45n including an RS-485 and the like. A unidirectional synchronous transmission line 48n for transmitting a synchronous signal to the other actuator control device 42A and the like, a unidirectional synchronous reception line 49n for receiving a synchronous signal from the other actuator control device 42A and the like,
An external connection interface 62n is provided.
【0061】前記CPU43nは、外部インターフェイ
ス部62nを介してモータ51Nと検出器52Nが接続
されたモータドライバ50Nに接続され、モータドライ
バ50Nを通じてモータ51Nの制御を行うようになっ
ている。The CPU 43n is connected to a motor driver 50N to which the motor 51N and the detector 52N are connected via an external interface 62n, and controls the motor 51N through the motor driver 50N.
【0062】前記I/O制御装置53Aは、通信コント
ローラ79aと、CPU73aと、固有のアドレスを決
定するアドレス設定器74aと、RS−485等の通信
インターフェイス75aと、他のI/O制御装置53N
等に同期信号を送信する単方向の同期送信線48aと、
他のI/O制御装置53N等から同期信号を受信する単
方向の同期受信線49aと、外部インターフェイス部7
2aとを具備している。The I / O control unit 53A includes a communication controller 79a, a CPU 73a, an address setting unit 74a for determining a unique address, a communication interface 75a such as RS-485, and another I / O control unit 53N.
A unidirectional synchronous transmission line 48a for transmitting a synchronous signal
A unidirectional synchronous receiving line 49a for receiving a synchronous signal from another I / O control device 53N or the like;
2a.
【0063】前記CPU73aは、外部接続インターフ
ェイス部72aを介して入力機器55A及び出力機器5
6Aの制御を行うようになっている。The CPU 73a is connected to the input device 55A and the output device 5 via the external connection interface 72a.
6A is controlled.
【0064】前記I/O制御装置53Nは、I/O制御
装置53Aと同様に、通信コントローラ79nと、CP
U73nと、固有のアドレスを決定するアドレス設定器
74nと、RS−485等の通信インターフェイス75
nと、他のI/O制御装置53A等に同期信号を送信す
る単方向の同期送信線48nと、他のI/O制御装置5
3A等から同期信号を受信する単方向の同期受信線49
nと、外部インターフェイス部72nとを具備してい
る。The I / O control device 53N includes a communication controller 79n and a CP, similarly to the I / O control device 53A.
U73n, an address setting unit 74n for determining a unique address, and a communication interface 75 such as RS-485.
n, a unidirectional synchronous transmission line 48n for transmitting a synchronous signal to another I / O control device 53A and the like, and another I / O control device 5A.
Unidirectional synchronous receiving line 49 for receiving a synchronous signal from 3A or the like
n and an external interface unit 72n.
【0065】前記CPU73nは、外部インターフェイ
ス部72nを介して入力機器55N及び出力機器56N
の制御を行うようになっている。The CPU 73n is connected to an input device 55N and an output device 56N via an external interface 72n.
Is controlled.
【0066】前記アクチュエータ制御装置42A内のC
PU43aには同期信号が入力されるとホスト制御装置
60の命令を実行するプログラムが組まれており、ま
た、I/O制御装置53AのCPU73aには入力機器
55からの入力信号を検知すると同期信号を出力するプ
ログラムが組み込まれている。C in the actuator control device 42A
The PU 43a is provided with a program for executing a command from the host control device 60 when a synchronization signal is input. The CPU 73a of the I / O control device 53A detects a synchronization signal when an input signal from the input device 55 is detected. The program which outputs is installed.
【0067】[作用]次に、本実施の形態3の動作を説
明する。本実施の形態2の分散制御システムにおいて、
まず、複数のアクチュエータ制御装置42A乃至42
N、複数のI/O制御装置53A乃至53Nに対して、
各々アドレス設定器44a乃至44n、アドレス設定器
74a乃至74nにより固有のアドレスが付けられる。[Operation] Next, the operation of the third embodiment will be described. In the distributed control system according to the second embodiment,
First, a plurality of actuator control devices 42A to 42A
N, for a plurality of I / O control devices 53A to 53N,
A unique address is assigned by each of the address setting units 44a to 44n and the address setting units 74a to 74n.
【0068】今、複数のアクチュエータ制御装置42A
乃至42N及び複数のI/O制御装置53A乃至53N
の中の1台づつ、即ち、アクチュエータ制御装置42
A、I/O制御装置53Aを使用し、前記I/O制御装
置53Aに接続されている入力機器55から操作用の信
号を入力すると同時にモータ51Aの駆動を行う場合を
例にとって説明する。Now, a plurality of actuator control devices 42A
To 42N and a plurality of I / O control devices 53A to 53N
One by one, ie, the actuator control device 42
A, a case will be described as an example where the I / O control device 53A is used to input an operation signal from the input device 55 connected to the I / O control device 53A and simultaneously drive the motor 51A.
【0069】ホスト制御装置60は、I/O制御装置5
3Aを基準装置とする命令を複数のアクチュエータ制御
装置42A乃至42N及び複数のI/O制御装置53A
乃至53Nにマスタコントローラ61を介して伝送し、
I/O制御装置53Aを基準装置に選択する(ステップ
S21)。ここに、基準装置とは、実施の形態2の場合
と同様、アクチュエータ制御装置42AとI/O制御装
置53Aのうち動作の基準となる装置を意味する。The host control device 60 is provided with the I / O control device 5
A plurality of actuator control devices 42A to 42N and a plurality of I / O control devices 53A are used to issue a command using 3A as a reference device.
To 53N via the master controller 61,
The I / O control device 53A is selected as a reference device (step S21). Here, the reference device refers to a device serving as a reference for operation among the actuator control device 42A and the I / O control device 53A, as in the case of the second embodiment.
【0070】次にホスト制御装置60は、アクチュエー
タ制御装置42Aに接続したモータ51Aの移動位置及
び速度等のパラメータを、マスタコントローラ61、シ
リアル通信線57を介してアクチュエータ制御装置42
A、I/O制御装置53Aに送信する(ステップS2
2)。Next, the host controller 60 transmits parameters such as the moving position and speed of the motor 51A connected to the actuator controller 42A to the actuator controller 42 via the master controller 61 and the serial communication line 57.
A, transmitting to the I / O control device 53A (step S2
2).
【0071】さらに、ホスト制御装置60は、前記パラ
メータの送信後、駆動命令を、シリアル通信線57を介
してアクチュエータ制御装置42A、I/O制御装置5
3Aに送信する(ステップS23)。Further, after transmitting the parameters, the host control device 60 issues a drive command via the serial communication line 57 to the actuator control device 42A, the I / O control device 5
3A (step S23).
【0072】基準装置ではなく(ステップS31)、同
期運転する装置である(ステップS35)前記アクチュ
エータ制御装置42Aは、ホスト制御装置60から前記
パラメータを受信し(ステップS36)、駆動命令を受
信した状態で、同期信号がまだ入力されていないため待
機状態となる(ステップS33)。The actuator control device 42A is not a reference device (step S31) but is a device that operates synchronously (step S35). The actuator control device 42A receives the parameters from the host control device 60 (step S36) and receives a drive command. Then, since the synchronization signal has not been input yet, the apparatus enters a standby state (step S33).
【0073】一方、前記基準装置である(ステップS4
1)I/O制御装置53AのCPU74aは、入力機器
55Aからの入力信号を外部接続インターフェイス部7
2aを通じて検知し(ステップS42)、同期送信線4
8aを介して同期信号を通信インターフェイス75aに
送信する。On the other hand, the reference device (step S4)
1) The CPU 74a of the I / O control device 53A transmits an input signal from the input device 55A to the external connection interface unit 7.
2a (step S42), the synchronous transmission line 4
A synchronization signal is transmitted to the communication interface 75a via the communication interface 75a.
【0074】同期信号が入力された通信インターフェイ
ス部75aは、同期受信線49aを介して再びCPU7
3aに同期信号を戻すと共に、シリアル通信ケーブル5
7内の双方向同期線59を介して差動型のデータとして
アクチュエータ制御装置42Aの通信インターフェイス
部45aに同期信号を送信する(ステップS43)。The communication interface unit 75a, to which the synchronization signal has been input, returns to the CPU 7 via the synchronization reception line 49a.
3a and the serial communication cable 5
A synchronization signal is transmitted as differential data to the communication interface 45a of the actuator control device 42A via the bidirectional synchronization line 59 in Step 7 (Step S43).
【0075】通信インターフェイス部45aは、送信さ
れた同期信号を同期信号線49aを介してCPU43a
に送信する。The communication interface unit 45a transmits the transmitted synchronization signal to the CPU 43a via the synchronization signal line 49a.
Send to
【0076】ここで同期信号が入力されたI/O制御装
置53AのCPU73aは、特に実行するプログラムが
組まれていないので問題は生じない。Here, the CPU 73a of the I / O control device 53A to which the synchronizing signal has been inputted does not cause any problem because no program to be executed is set.
【0077】一方、同期信号が入力されたアクチュエー
タ制御装置42AのCPU43aは駆動命令をモータド
ライバ50Aに伝送し、モータ51Aの駆動を開始させ
る(ステップS34)。On the other hand, the CPU 43a of the actuator control device 42A to which the synchronization signal has been input transmits a drive command to the motor driver 50A, and starts driving the motor 51A (step S34).
【0078】尚、基準装置が入れ替わったような場合、
図11のステッブS45、S46に示すように、I/O
制御装置53AのCPU73aにおいて同期信号受信後
出力命令を実行することも可能である。If the reference device is replaced,
As shown in steps S45 and S46 in FIG.
It is also possible to execute the output command after receiving the synchronization signal in the CPU 73a of the control device 53A.
【0079】[効果]本実施の形態によれば、上述した
同期信号とアクチュエータ制御装置42A乃至42N、
I/O制御装置53A乃至53Nを用いることにより、
ホスト制御装置60を介することなく、I/O制御装置
53A乃至53Nにより入力信号検知すると同時にモー
タ51A乃至51Nを駆動することが可能となる。[Effects] According to the present embodiment, the synchronization signal and the actuator control devices 42A to 42N,
By using the I / O control devices 53A to 53N,
The motors 51A to 51N can be driven at the same time as the input signals are detected by the I / O controllers 53A to 53N without the intervention of the host controller 60.
【0080】以上説明した本発明によれば、以下の構成
を付記できる。 (1)ホスト制御装置と複数の制御装置とからなり、前
記ホスト制御装置と前記複数の制御装置との間をシリア
ル通信ケーブルにて結合した分散制御システムにおい
て、前記シリアル通信ケーブルは、データ線と同期線を
具備し、前記ホスト制御装置は任意の数の前記制御装置
が連動して動作する指令を送出し、前記各制御装置は前
記同期線にて伝送される同期信号の状態を基に前記ホス
ト制御装置からの前記指令を実行することを特徴とする
分散制御システム。この構成によれば、ホスト制御装置
が、シリアル通信ケーブルを通じて任意の数の前記制御
装置が連動して動作する指令を送出し、前記各制御装置
はシリアル通信ケーブルの同期線にて伝送される同期信
号の状態を基に前記ホスト制御装置からの前記指令を実
行するので、前記同期信号を基に各制御装置をホスト制
御装置を介することなく、同期して動作させることがで
きる。According to the present invention described above, the following configuration can be added. (1) In a distributed control system including a host control device and a plurality of control devices, wherein the host control device and the plurality of control devices are connected by a serial communication cable, the serial communication cable includes a data line and a data line. A synchronization line is provided, and the host control device sends a command that an arbitrary number of the control devices operate in conjunction with each other, and each of the control devices transmits the command based on a state of a synchronization signal transmitted on the synchronization line. A distributed control system for executing the command from a host control device. According to this configuration, the host control device sends a command through which any number of the control devices operate in conjunction with each other through the serial communication cable, and the control devices transmit the synchronization signals transmitted through the synchronization line of the serial communication cable. Since the command from the host control device is executed based on the state of the signal, each control device can be operated synchronously based on the synchronization signal without passing through the host control device.
【0081】(2)ホスト制御装置と複数の制御装置か
らなり前記ホスト制御装置と前記複数の制御装置との間
をシリアル通信ケーブルにて結合した分散制御システム
の制御方法において、前記ホスト制御装置が任意の数の
前記制御装置を連動して動作させる指令を発し、前記指
令を受信した任意の数の前記制御装置は、前記シリアル
通信ケーブルにもうけた同期線にて伝送される信号状態
を基に前記指令を実行することにより、任意の数の前記
制御装置を連動して動作させる分散制御システムの制御
方法。この分散制御システムの制御方法によれば、前記
同期信号を基に各制御装置をホスト制御装置を介するこ
となく、同期して動作させる制御を実現することができ
る。(2) In a control method for a distributed control system comprising a host control device and a plurality of control devices and connecting the host control device and the plurality of control devices with a serial communication cable, the host control device may be A command for operating an arbitrary number of the control devices in conjunction with each other is issued, and the arbitrary number of the control devices receiving the command is based on a signal state transmitted by a synchronization line provided in the serial communication cable. A control method for a distributed control system in which an arbitrary number of the control devices are operated in conjunction with each other by executing the command. According to the control method of the distributed control system, it is possible to realize a control for operating the respective controllers in synchronization based on the synchronization signal without passing through the host controller.
【0082】[0082]
【発明の効果】請求項1記載の発明によれば、シリアル
通信ケーブルに各サブ制御装置を連携動作させる同期信
号の送受信用の信号線を設けているので、このシリアル
通信ケーブルを使用してサブ制御装置間を接続すること
により、メイン制御装置からのデータ伝送回数を減少す
ると同時にデータ通信におけるタイムロスを無くすこと
が可能な分散制御システムを提供することができる。According to the first aspect of the present invention, since a serial communication cable is provided with a signal line for transmitting and receiving a synchronous signal for operating the respective sub-controllers in cooperation with each other, the serial communication cable is used for sub-control. By connecting the control devices, it is possible to provide a distributed control system capable of reducing the number of data transmissions from the main control device and eliminating a time loss in data communication.
【0083】請求項2記載の発明によれば、メイン制御
装置が各サブ制御装置を連携動作させる場合には、前記
ケーブルの同期線を伝送される同期信号の信号状態に基
づいて行うものであるから、複数のサブ制御装置を、ホ
スト制御装置を介することなく、同期して動作させる制
御を実現することが可能な分散制御システムの制御方法
を提供することができる。According to the second aspect of the present invention, when the main control device operates the sub-control devices in cooperation with each other, the operation is performed based on the signal state of the synchronization signal transmitted through the synchronization line of the cable. Accordingly, it is possible to provide a control method for a distributed control system capable of realizing control for operating a plurality of sub-controllers in synchronization without intervening a host controller.
【0084】請求項3記載の発明によれば、前記同期信
号を、連携動作を行う各サブ制御装置のいずれかで創成
するようにしたので、ホスト制御装置を介することなく
前記同期信号を創成して複数のサブ制御装置間を同期し
て動作させることが可能な分散制御システムの制御方法
を提供することができる。According to the third aspect of the present invention, the synchronizing signal is generated by any of the sub-control devices that perform the cooperative operation. Therefore, the synchronizing signal is generated without passing through a host control device. Thus, it is possible to provide a control method for a distributed control system capable of operating a plurality of sub-control devices in synchronization.
【図1】本発明の実施の形態1の分散制御システムの構
成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a distributed control system according to a first embodiment of the present invention.
【図2】本発明の実施の形態1のシリアル通信ケーブル
のケーブル構成を示す概略図である。FIG. 2 is a schematic diagram showing a cable configuration of a serial communication cable according to the first embodiment of the present invention.
【図3】本発明の実施の形態2の分散制御システムの構
成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of a distributed control system according to a second embodiment of the present invention.
【図4】本発明の実施の形態2のシリアル通信ケーブル
のケーブル構成を示す概略図である。FIG. 4 is a schematic diagram showing a cable configuration of a serial communication cable according to a second embodiment of the present invention.
【図5】本発明の実施の形態2におけるホスト制御装置
が処理するプログラムのフローチャートである。FIG. 5 is a flowchart of a program processed by a host control device according to Embodiment 2 of the present invention.
【図6】本発明の実施の形態2におけるCPUが処理す
るプログラムのフローチャートである。FIG. 6 is a flowchart of a program processed by a CPU according to the second embodiment of the present invention.
【図7】本発明の実施の形態3の分散制御システムの構
成を示すブロック図である。FIG. 7 is a block diagram illustrating a configuration of a distributed control system according to a third embodiment of the present invention.
【図8】本発明の実施の形態2のシリアル通信ケーブル
のケーブル構成を示す概略図である。FIG. 8 is a schematic diagram illustrating a cable configuration of a serial communication cable according to a second embodiment of the present invention.
【図9】本発明の実施の形態3におけるホスト制御装置
が処理するソフトウェアプログラムのフローチャートで
ある。FIG. 9 is a flowchart of a software program processed by the host control device according to the third embodiment of the present invention.
【図10】本発明の実施の形態3におけるアクチュエー
タ制御装置のCPUが処理するプログラムのフローチャ
ートである。FIG. 10 is a flowchart of a program processed by a CPU of an actuator control device according to Embodiment 3 of the present invention.
【図11】本発明の実施の形態3におけるI/O制御装
置のCPUが処理するプログラムのフローチャートであ
る。FIG. 11 is a flowchart of a program processed by a CPU of an I / O control device according to Embodiment 3 of the present invention.
1 ホスト制御装置 2 マスタコントローラ 3 通信コントローラ 4 プログラマブルメモリ 5 演算制御部 6A 制御装置 6B 制御装置 6C 制御装置 7a 機器制御部 8a アドレス設定器 9a 通信インターフェイス部 10a 同期線 15A 外部機器 16 シリアル通信ケーブル 17 双方向データ線 18 双方向同期線 DESCRIPTION OF SYMBOLS 1 Host controller 2 Master controller 3 Communication controller 4 Programmable memory 5 Arithmetic controller 6A Controller 6B Controller 6C Controller 7a Equipment controller 8a Address setter 9a Communication interface unit 10a Synchronization line 15A External device 16 Serial communication cable 17 Both Data line 18 Bidirectional synchronization line
Claims (3)
をシリアル通信ケーブルにより接続した分散制御システ
ムにおいて、 前記ケーブルは、前記各サブ制御装置が連携して動作す
るための同期信号を送受信する信号線を具備すること、 を特徴とする分散制御システム。1. A distributed control system in which a main control device and a plurality of sub-control devices are connected by a serial communication cable, wherein the cable transmits and receives a synchronization signal for operating the respective sub-control devices in cooperation with each other. A distributed control system, comprising:
を、前記メイン制御装置と各サブ制御装置間で制御信号
を送受信するデータ線と、各サブ制御装置を連携して動
作させるための同期信号を送受信する信号線とを有する
ケーブルで結合してシリアル通信する分散制御システム
の制御方法であって、 前記メイン制御装置が前記各サブ制御装置を連携動作さ
せる場合には、前記同期信号の信号状態に基づいて行う
ことを特徴とする分散制御システムの制御方法。2. A data line for transmitting and receiving a control signal between the main control device and each of the sub-control devices, and a synchronization for operating the sub-control devices in cooperation with each other. A method of controlling a distributed control system that performs serial communication by coupling with a cable having a signal line for transmitting and receiving a signal, wherein when the main control device operates the sub-control devices in cooperation with each other, a signal of the synchronization signal is transmitted. A control method for a distributed control system, wherein the method is performed based on a state.
サブ制御装置のいずれかで創成されることを特徴とする
請求項2に記載の分散制御システムの制御方法。3. The control method for a distributed control system according to claim 2, wherein the synchronization signal is created by any of the sub-control devices that operate in cooperation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33269397A JPH11167406A (en) | 1997-12-03 | 1997-12-03 | Distributed control system and control method of the same |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33269397A JPH11167406A (en) | 1997-12-03 | 1997-12-03 | Distributed control system and control method of the same |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11167406A true JPH11167406A (en) | 1999-06-22 |
Family
ID=18257836
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP33269397A Withdrawn JPH11167406A (en) | 1997-12-03 | 1997-12-03 | Distributed control system and control method of the same |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11167406A (en) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003140709A (en) * | 2001-11-06 | 2003-05-16 | Yamatake Sangyo Systems Co Ltd | Process controller |
| GB2396272A (en) * | 2002-12-13 | 2004-06-16 | Motorola Inc | Maintaining synchronisation between primary communication units by linking the timing of the primary communication system and the hosting system |
| JP2006515084A (en) * | 2002-09-16 | 2006-05-18 | ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング | Method and computer system for driving at least two interconnected controllers |
| JP2009258790A (en) * | 2008-04-11 | 2009-11-05 | Nst:Kk | Control device and control method of the same |
| JPWO2010095713A1 (en) * | 2009-02-23 | 2012-08-30 | 三菱電機株式会社 | Wireless communication system, wireless communication apparatus, and wireless communication method |
| CN104503325A (en) * | 2014-12-19 | 2015-04-08 | 北京国电软通江苏科技有限公司 | Distributed intelligent main control unit |
| WO2019131386A1 (en) * | 2017-12-27 | 2019-07-04 | 日本電産シンポ株式会社 | Power assist suit |
| CN110412952A (en) * | 2019-07-02 | 2019-11-05 | 浙江捷昌线性驱动科技股份有限公司 | A kind of beddo sync control device |
| US10792808B2 (en) | 2016-11-21 | 2020-10-06 | Seiko Epson Corporation | Robot and robot system |
-
1997
- 1997-12-03 JP JP33269397A patent/JPH11167406A/en not_active Withdrawn
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003140709A (en) * | 2001-11-06 | 2003-05-16 | Yamatake Sangyo Systems Co Ltd | Process controller |
| JP2006515084A (en) * | 2002-09-16 | 2006-05-18 | ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング | Method and computer system for driving at least two interconnected controllers |
| GB2396272A (en) * | 2002-12-13 | 2004-06-16 | Motorola Inc | Maintaining synchronisation between primary communication units by linking the timing of the primary communication system and the hosting system |
| GB2396272B (en) * | 2002-12-13 | 2004-11-17 | Motorola Inc | Communication system,communication unit and method for synchronising communication therefor |
| JP2009258790A (en) * | 2008-04-11 | 2009-11-05 | Nst:Kk | Control device and control method of the same |
| JPWO2010095713A1 (en) * | 2009-02-23 | 2012-08-30 | 三菱電機株式会社 | Wireless communication system, wireless communication apparatus, and wireless communication method |
| US8676239B2 (en) | 2009-02-23 | 2014-03-18 | Mitsubishi Electric Corporation | Wireless communication system, wireless communication device, and wireless communication method |
| CN104503325A (en) * | 2014-12-19 | 2015-04-08 | 北京国电软通江苏科技有限公司 | Distributed intelligent main control unit |
| US10792808B2 (en) | 2016-11-21 | 2020-10-06 | Seiko Epson Corporation | Robot and robot system |
| WO2019131386A1 (en) * | 2017-12-27 | 2019-07-04 | 日本電産シンポ株式会社 | Power assist suit |
| CN110412952A (en) * | 2019-07-02 | 2019-11-05 | 浙江捷昌线性驱动科技股份有限公司 | A kind of beddo sync control device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5646764B2 (en) | Control system and method reconfigurable during operation | |
| JP6626240B2 (en) | controller | |
| JPH11167406A (en) | Distributed control system and control method of the same | |
| JP2013219655A (en) | Protocol conversion device and protocol conversion method | |
| JP2005293569A (en) | Synchronous controller | |
| JPH04290102A (en) | Device for information transmission to servomechanism | |
| JP6629361B2 (en) | Programmable logic controller | |
| KR100784736B1 (en) | Robot Control System and Robot Control Method | |
| JP5890521B2 (en) | Motion controller device and communication method in the same device | |
| JPH0695729A (en) | Machine tool control system | |
| JPH07200010A (en) | Programmable controller and exclusive control communication method thereof | |
| JP2007073008A (en) | Positioning device | |
| CN113225383A (en) | Multi-link communication system for realizing communication link with robot system | |
| JP5301180B2 (en) | Synchronous AC servo motor and its control system | |
| JP2001092517A (en) | Fa network and robot controller | |
| JP2005246543A (en) | Robot system | |
| JPH0973310A (en) | Unit and system for numerical control | |
| JP2003052189A (en) | Method for control information communication between motor driver and controller, and the motor driver, and system | |
| JP3792284B2 (en) | I/O units and distribution boards for numerical control devices | |
| JP2006304011A (en) | Interface circuit | |
| JP2006285886A (en) | Control method of distributed motion control system | |
| JP2001242923A (en) | Servo system and synchronous control method thereof | |
| JP4605043B2 (en) | Communication processing method | |
| CN114253195A (en) | Intelligent garage control device, system and method based on wireless communication | |
| JP3239371B2 (en) | Device connection processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20050301 |