JPH0817399B2 - Series controller - Google Patents
Series controllerInfo
- Publication number
- JPH0817399B2 JPH0817399B2 JP63304635A JP30463588A JPH0817399B2 JP H0817399 B2 JPH0817399 B2 JP H0817399B2 JP 63304635 A JP63304635 A JP 63304635A JP 30463588 A JP30463588 A JP 30463588A JP H0817399 B2 JPH0817399 B2 JP H0817399B2
- Authority
- JP
- Japan
- Prior art keywords
- disconnection
- node
- information
- accident
- control device
- 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.)
- Expired - Lifetime
Links
Landscapes
- Small-Scale Networks (AREA)
- Selective Calling Equipment (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、プレス、工作機械、建設機械、船舶航空
機等の各種機械の集中管理システムおよび無人搬送装
置、無人倉庫等の集中管理システムに採用して好適な直
列制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention is applied to a centralized management system for various machines such as presses, machine tools, construction machines, and ship aircraft, and an unmanned conveyor system, centralized management system for unmanned warehouses, and the like. And a preferred serial controller.
プレス、工作機械、建設機械、船舶、航空機、無人搬
送装置、無人倉庫等を集中管理する場合、装置各部の状
態を検出する多数のセンサおよび装置各部の状態を制御
する多数のアクチュエータが必要となる。このセンサお
よびアクチュエータの数は例えばプレスを考えた場合30
00以上にも及び、他の装置においては更に多数となるも
のもある。When centrally managing presses, machine tools, construction machines, ships, aircraft, unmanned conveyors, unmanned warehouses, etc., many sensors that detect the status of each part of the equipment and many actuators that control the status of each part of the equipment are required. . The number of sensors and actuators is 30 when considering a press, for example.
There may be more than 00, and even more in other devices.
従来、この種の装置を集中管理する集中管理システム
は上述した多数のセンサおよびアクチュエータをメイン
コントローラに接続し、多数のセンサ出力をメインコン
トローラで収集すると共に、メインコントローラからの
信号により多数のアクチュエータを制御するように構成
されている。Conventionally, a centralized management system that centrally manages this type of device connects a large number of sensors and actuators described above to a main controller, collects a large number of sensor outputs by the main controller, and outputs a large number of actuators by signals from the main controller. Is configured to control.
かかる従来の集中管理システムの場合、センサの数お
よびアクチュエータの数が厖大になると、メインコント
ローラとセンサおよびアクチュエータを結ぶ配線の数も
厖大となり、その配線長も非常に長いものとなる。また
メインコントローラの入出力部の構成も非常に複雑とな
る。In such a conventional centralized management system, if the number of sensors and the number of actuators become enormous, the number of wirings connecting the main controller and the sensors and actuators also becomes enormous, and the wiring length becomes very long. Also, the configuration of the input / output unit of the main controller becomes very complicated.
そこで、複数のノードを直列に接続すると共に各ノー
ドに1乃至複数のセンサおよびアクチュエータを接続
し、これらノードをメインコントローラを介して環状に
接続し、このメインコントローラからの信号によって各
ノードを制御するようにした構成が考えられている。か
かる構成の場合、基本的にはメインコントローラは信号
入力線と出力線だけでよく、また各ノードは、センサ、
アクチュエータの近くに配置できるため、配線長を大幅
に短縮することができる。Therefore, a plurality of nodes are connected in series, one to a plurality of sensors and actuators are connected to each node, these nodes are annularly connected via a main controller, and each node is controlled by a signal from this main controller. Such a configuration is considered. In such a configuration, the main controller basically needs only the signal input line and the output line, and each node has a sensor,
Since it can be placed near the actuator, the wiring length can be greatly reduced.
しかし、上記ノードを直列に接続する構成をとる場
合、各センサの出力の収集の同時性および各アクチュエ
ータの制御の同時性をいかにして確保するかが問題とな
る。例えば、各ノードにアドレスを割当てて、このアド
レスに基づき各ノードを制御する構成を考えると、この
アドレス処理のための時間遅れが問題となり、各センサ
の出力の収集および各アクチュエータの制御に関して満
足すべき同時性を確保することはできない。However, in the case where the above-mentioned nodes are connected in series, the problem is how to secure the simultaneity of output collection of each sensor and the simultaneity of control of each actuator. For example, considering a configuration in which an address is assigned to each node and each node is controlled based on this address, the time delay for this address processing becomes a problem, and the output of each sensor and the control of each actuator are satisfied. It is not possible to ensure idempotency.
そこで、発明者等は、各ノードを直列に接続する構成
をとりながらも各ノードにアドレスを割当てるという発
想を捨て、各ノードをその接続の順番によって識別する
ようにし、これによってアドレス処理を不要にすると共
にアドレス処理に伴う時間遅れを解消し、さらにはノー
ドの構成を大幅に簡略化できるようにした直列制御装置
を提案している。Therefore, the inventors have abandoned the idea of assigning an address to each node while adopting a configuration in which each node is connected in series, and identify each node by the order of its connection, thereby making address processing unnecessary. In addition, we have proposed a serial controller that eliminates the time delay associated with address processing, and that can greatly simplify the node configuration.
この装置によれば、各ノードは上流側のノードからの
信号に自ノード内のセンサの出力信号を所定のルールに
基づいて順次付加し、また上流側のノードからの信号の
うち自ノードに対する信号を所定のルールに基づいて順
次抜取り、自ノード内のアクチュエータに出力するとい
う構成をとる。この場合、各ノードにはアドレスは全く
不要となり、また、アドレス処理が不要となるため各ノ
ードにおける時間遅れはタイミング合せのみの非常に小
さなものとなり、またノードの構成も非常に簡単なもの
となる。According to this device, each node sequentially adds the output signal of the sensor in its own node to the signal from the upstream node based on a predetermined rule, and the signal from the upstream node to its own node. Are sequentially extracted based on a predetermined rule, and output to the actuator in the own node. In this case, no address is required for each node, and since address processing is not required, the time delay in each node is very small only for timing adjustment, and the node configuration is also very simple. .
ところで、上記構成をとる場合、各ノードと自ノード
との環状の伝送線との間に断線事故が生じると、上流側
のノードからの信号が一定時間以上全く受信されなくな
るため、自ノード内のアクチュエータは断線事故直後の
状態に保持される。しかし、断線事故部位より上流側の
ノードにおいては主制御装置との伝送路が正常に保たれ
ているため、主制御装置からの信号に応じた動作を継続
する。このため、システム全体では、主制御装置からの
信号によって動作しているノードと断線事故直前の状態
で停止しているノードとが混在することになり、全ノー
ドの動作の組合せによって実現される動作が誤動作とな
ってしまい、装置自体や制御対象物の損傷などの事故を
発生させる問題があった。By the way, in the case of the above configuration, if a disconnection accident occurs between each node and the ring-shaped transmission line of the own node, the signal from the upstream node is not received at all for a certain period of time, The actuator is maintained in the state immediately after the wire break accident. However, since the transmission path with the main control device is normally maintained at the node upstream of the disconnection accident site, the operation according to the signal from the main control device is continued. Therefore, in the entire system, some nodes are operated by the signal from the main controller and some are stopped immediately before the disconnection accident, and the operation realized by the combination of the operations of all nodes. Has a problem of causing an accident such as damage to the device itself or the controlled object.
上述のように、従来の直列制御装置では各ノードと伝
送線との間に断線事故が生じると、主制御装置からの信
号によって動作を継続しているノードと、断線事故直前
の状態で停止しているノードが混在するようになるた
め、システム全体では誤動作となり、装置自体や制御対
象物の損傷などの事故を発生させるという問題があっ
た。As described above, in the conventional serial control device, when a disconnection accident occurs between each node and the transmission line, the node that continues to operate by the signal from the main control device and the node immediately before the disconnection accident will stop. Since there are mixed nodes, the system as a whole malfunctions, and there is a problem that an accident such as damage to the device itself or a control target object occurs.
この発明は、断線事故が生じても装置自体や制御対象
物の損傷等を防止できる直列制御装置を提供することを
目的とする。An object of the present invention is to provide a series control device capable of preventing damage to the device itself or a control target even if a disconnection accident occurs.
この発明では、環状の1本の一方向伝送線に主制御装
置と複数のノードを接続し、各ノードは主制御装置から
送信される時系列の情報のうち自ノード向けの情報を抽
出し、自ノードに接続された端末装置を制御すると共
に、該端末装置の出力情報を自ノードに対応したタイム
スロットに挿入して伝送線に送出し、下流側の他のノー
ドを介して主制御装置に送信する直列制御装置におい
て、 各ノードは、自ノードと伝送線との間に断線事故が生
じたことを検出する断線検出手段と、この断線検出手段
の断線検出信号によって断線コード及び断線位置コード
を含む断線事故情報を生成し、この断線事故情報を下流
側のノードまたは主制御装置に送信する断線事故情報送
信手段と、自ノード内の断線検出手段から断線検出信号
が入力されたとき、または上流側のノード及び主制御装
置のいずれかから送信された断線事故情報を受信した時
に自ノードに接続された端末装置を安全側に作動させる
制御手段と、上流側のノード及び主制御装置のいずれか
から送信された断線事故情報を受信すると、断線事故情
報内の断線位置コードを+1して下流側のノードまたは
主制御装置に送信する断線位置コード更新手段とを具
え、 前記主制御装置は、主制御装置と下流側の隣のノード
との間の伝送線に断線事故が生じたことを検出する断線
検出手段と、断線事故情報を受信したとき、受信された
断線事故情報内の断線位置コードに基づいて断線中か断
線復旧済みかを判定する判定手段と、主制御装置内の断
線検出手段から断線検出信号が入力されたとき、または
断線事故情報を受信したときに、断線コード及び断線位
置コードを含む断線事故情報を生成し、この断線事故情
報を断線事故箇所の上流側のノードに対し、前記判定手
段により断線復旧済みと判定されるまで断線事故情報を
送信する断線事故情報送信手段と、を具えるようにす
る。In the present invention, the main control unit and a plurality of nodes are connected to one annular one-way transmission line, and each node extracts the information for its own node from the time-series information transmitted from the main control unit, Controls a terminal device connected to its own node, inserts output information of the terminal device into a time slot corresponding to its own node, sends out to a transmission line, and sends to a main control device via another downstream node. In the serial control device for transmitting, each node outputs a disconnection code and a disconnection position code by the disconnection detection means for detecting the occurrence of a disconnection accident between itself and the transmission line, and the disconnection detection signal of this disconnection detection means. When the disconnection detection signal is generated from the disconnection accident information transmitting means for generating the disconnection accident information including the disconnection accident information and transmitting the disconnection accident information to the downstream node or the main controller, Or a control means for actuating the terminal device connected to the own node to the safe side when the disconnection accident information transmitted from either the upstream node or the main control device is received, and the upstream node and the main control device. And a disconnection position code updating means for transmitting the disconnection position code in the disconnection accident information to the downstream node or the main controller when the disconnection accident information transmitted from any one of the above is received. Is a disconnection detecting means for detecting the occurrence of a disconnection accident in the transmission line between the main control device and the adjacent node on the downstream side, and a disconnection in the received disconnection accident information when the disconnection accident information is received. When the disconnection detection signal is input from the disconnection detection means in the main control unit or when the disconnection accident information is received, the disconnection coordinator determines whether the disconnection is in progress or has been recovered based on the position code. Disconnection accident information including a code and a disconnection position code, and disconnection accident information is transmitted to the upstream node of the disconnection accident location until the judgment means determines that the disconnection accident has been completed. And means for transmitting accident information.
各ノードは、自ノードと伝送線との間の断線事故を検
出すると、断線事故情報を下流側のノードに順次に伝送
し、主制御装置に通知する。主制御装置は断線事故の上
流側のノードに断線事故情報を伝送する。When each node detects a disconnection accident between its own node and the transmission line, each node sequentially transmits the disconnection accident information to the downstream node and notifies the main controller. The main controller transmits the disconnection accident information to the node upstream of the disconnection accident.
断線事故を検出したノードは自ノードの端末装置を強
制的に安全側に作動させる。また、断線事故情報を受信
したノードも自ノードの端末装置を強制的に安全側に作
動させる。The node that detects the disconnection accident forces the terminal device of its own node to operate safely. Also, the node receiving the disconnection accident information forcibly operates the terminal device of its own node to the safe side.
これにより、全ノードの端末装置(例えば、アクチュ
エータ)は安全側に作動し、システム全体は停止状態と
なる。また、主制御装置は、断線事故情報内の断線位置
コードに基づいて断線中か断線復旧済みかを判定する。
これによりシステムの誤動作による装置自体や制御対象
の損傷を未然に防止すると共に、断線中か断線復旧済み
かが的確に判定される。As a result, the terminal devices (eg, actuators) of all the nodes operate safely, and the entire system is stopped. Further, the main control device determines whether the disconnection is being performed or the disconnection has been completed based on the disconnection position code in the disconnection accident information.
As a result, damage to the device itself or the controlled object due to a malfunction of the system is prevented in advance, and it is accurately determined whether the disconnection is in progress or the disconnection has been completed.
第1図はこの発明の一実施例を示す構成図であり、環
状の伝送線1に接続されたメインコントローラ2と、n
個のノード3−1〜3−nとから成り、各ノード3−1
〜3−nには複数のセンサS1〜SiとアクチュエータA1〜
Akが接続されている。FIG. 1 is a block diagram showing an embodiment of the present invention, in which a main controller 2 connected to an annular transmission line 1 and n
Node 3-1 to 3-n, and each node 3-1
~ 3-n has multiple sensors S1 ~ Si and actuator A1 ~
Ak is connected.
メインコントローラ2は、第2図(a)に示すように
先頭にスタートコードST、次に各ノードに対する制御情
報DATA、次に情報部分の終りを示すストップコードSP、
最後にパリティチェック符号やCRC符号などのエラーチ
ェック符号ERCを配置した通信情報を伝送線1に送出す
る。この通信情報は伝送線1を介して各ノード3−1〜
3−nに直列に伝送される。As shown in FIG. 2 (a), the main controller 2 starts with a start code ST, then control information DATA for each node, then a stop code SP indicating the end of the information part,
Finally, communication information in which an error check code ERC such as a parity check code or CRC code is arranged is sent to the transmission line 1. This communication information is sent to each node 3-1 to 3-1 via the transmission line 1.
3-n is transmitted in series.
各ノード3−1〜3−nは伝送線1から通信情報を受
信すると、自ノードの接続番号に対応したタイムスロッ
トの制御情報を抜取り、この制御情報によってアクチュ
エータA1〜Akを制御する。また、自ノードの接続番号に
対応したタイムスロットにセンサS1〜Siの出力信号を挿
入し、下流側のノードに送信する。Upon receiving the communication information from the transmission line 1, each of the nodes 3-1 to 3-n extracts the control information of the time slot corresponding to the connection number of its own node and controls the actuators A1 to Ak by this control information. Also, the output signals of the sensors S1 to Si are inserted into the time slot corresponding to the connection number of the own node and transmitted to the node on the downstream side.
従って、メインコントローラ2から送信した制御情報
DATAは、最下流側のノード3−nから出力される時には
各ノードのセンサ出力信号に入れ替っていることにな
る。メインコントローラ2はこのセンサ出力信号によっ
て各ノード3−1〜3−nの状態を把握し、次の制御ス
テップへ進む。Therefore, the control information transmitted from the main controller 2
DATA is replaced with the sensor output signal of each node when being output from the node 3-n on the most downstream side. The main controller 2 grasps the state of each node 3-1 to 3-n by this sensor output signal, and proceeds to the next control step.
ここで、各ノード3−1〜3−nは自ノードと伝送線
1との間に断線事故が生じた場合、断線事故情報を下流
側のノードを介してメインコントローラ2に通知する。Here, each of the nodes 3-1 to 3-n notifies the main controller 2 of the disconnection accident information via the downstream node when a disconnection accident occurs between the node itself and the transmission line 1.
例えば、第1図のノード3−2と3−1との間の伝送
線上で断線事故が生じた場合、ノード3−2が断線事故
情報の伝送源となり、第2図(b)に示すように断線コ
ードBRKと断線位置コードNo.(0)とからなる断線事故
情報を送出し、その下流側のノード3−3〜3−nを介
してメインコントローラ2に送信する。For example, when a disconnection accident occurs on the transmission line between the nodes 3-2 and 3-1 in FIG. 1, the node 3-2 becomes the transmission source of the disconnection accident information, and as shown in FIG. 2 (b). To the main controller 2 through the disconnection accident information including the disconnection code BRK and the disconnection position code No. (0).
断線事故情報は下流側のノード3−3〜3−nで受信
されるが、これらのノードは該断線事故情報を受信する
と、自ノード内のアクチュエータA1〜Akを強制的に安全
側に作動させたうえ、断線位置コードNo.(0)を
「1」ずつ更新して下流側のノードに送信する。これに
よって、最下流のノード3−nからは第2図(c)に示
すように断線位置コードが「No.(n−2)」となった
断線事故情報が送信され、メインコントローラ2に入力
される。The disconnection accident information is received by the nodes 3-3 to 3-n on the downstream side. When these nodes receive the disconnection accident information, the actuators A1 to Ak in the own node are forcibly operated to the safe side. In addition, the disconnection position code No. (0) is updated by "1" and transmitted to the downstream node. As a result, the disconnection accident information whose disconnection position code is "No. (n-2)" is transmitted from the most downstream node 3-n as shown in FIG. 2 (c), and is input to the main controller 2. To be done.
メインコントローラ2は断線位置コードが「No.(n
−2)」となっていることから、上流側から2番目のノ
ード3−2の直前と断線事故が生じているものと確認
し、その上流側のノード3−1に対してアクチュエータ
A1〜Akを安全側に作動させるための情報、すなわち第2
図(d)に示すようにDATA=0の情報を送信する。これ
により、ノード3−1はノード3−3〜3−nと同様に
して自ノードに接続されたアクチュエータA1〜Akを安全
側に作動させる。一方、断線事故情報の送信源となった
ノード3−2も自ノードに接続されたアクチュエータA1
〜Akを安全側に作動させる。For the main controller 2, the disconnection position code is "No.
-2) ", it was confirmed that there was a disconnection accident immediately before the second node 3-2 from the upstream side, and the actuator for the upstream node 3-1.
Information for safely operating A1 to Ak, that is, the second
Information of DATA = 0 is transmitted as shown in FIG. As a result, the node 3-1 operates the actuators A1 to Ak connected to its own node to the safe side similarly to the nodes 3-3 to 3-n. On the other hand, the node 3-2 that is the transmission source of the disconnection accident information is also the actuator A1 connected to its own node.
~ Activate Ak to the safe side.
これにより、全ノードのアクチュエータA1〜Akが安全
側に作動した状態でシステムは停止する。As a result, the system stops with the actuators A1 to Ak of all the nodes operating safely.
ここで、断線事故が発生したことは、上流側のノード
(最上流のノードについてはメインコントローラ)から
通信情報が所定時間以上送信されてこないことによって
容易に検出できるものである。但し、第1図の例でノー
ド3−2の直前で断線事故が生じた場合、過渡的にはノ
ード3−3〜3−nも断線事故が生じたものとして検出
するが、最終的にはノード3−2のみが断線事故情報の
送信源として固定され、他のノード3−3〜3−nは断
線検出状態から解放される。Here, the occurrence of the disconnection accident can be easily detected by the fact that the communication information has not been transmitted for a predetermined time or more from the upstream node (the main controller for the most upstream node). However, in the example of FIG. 1, when a disconnection accident occurs just before the node 3-2, the nodes 3-3 to 3-n are transiently detected as the disconnection accident, but finally, Only the node 3-2 is fixed as the transmission source of the disconnection accident information, and the other nodes 3-3 to 3-n are released from the disconnection detection state.
第3図はノード3−1〜3−nの内部構成の一実施例
を示す構成図であり、上流側のノードからの通信情報は
入力回路30で受信される。この入力回路30は通信情報を
変調して送信する場合、これをNRZ符号に復調する回路
構成である。復調される通信情報はデータ処理回路31,
断線検知回路32,断線コード検出回路33,エラー判定回路
34に入力される。FIG. 3 is a configuration diagram showing an embodiment of the internal configuration of the nodes 3-1 to 3-n, and the communication information from the upstream node is received by the input circuit 30. The input circuit 30 has a circuit configuration for demodulating the communication information into an NRZ code when the communication information is modulated and transmitted. The communication information to be demodulated is the data processing circuit 31,
Disconnection detection circuit 32, disconnection code detection circuit 33, error determination circuit
Entered in 34.
データ処理回路31は復調された通信情報の中に含まれ
る全ノードに対する制御情報DATAのうち自ノードに対す
る制御情報DATAのみを抜取り、ラッチ回路35に保持させ
た後、センサS1〜Snの出力信号を自ノードに対応するタ
イムスロットに挿入し、出力回路36で変調して下流側の
ノードに送信する。ラッチ回路35は保持された制御情報
をゲート37,38を介してアクチュエータ駆動信号生成回
路39に送り、アクチュエータA1〜Akを駆動させる。The data processing circuit 31 extracts only the control information DATA for its own node from the control information DATA for all the nodes included in the demodulated communication information, holds it in the latch circuit 35, and then outputs the output signals of the sensors S1 to Sn. It is inserted into the time slot corresponding to its own node, modulated by the output circuit 36, and transmitted to the downstream node. The latch circuit 35 sends the held control information to the actuator drive signal generation circuit 39 via the gates 37 and 38 to drive the actuators A1 to Ak.
一方、エラー判定回路34はエラーチェック符号によっ
て受信制御情報DATAのエラーの有無を判定し、エラーが
発見されたならばゲート37を開き、ラッチ回路35からア
クチュエータ駆動信号生成回路39に対する制御情報の入
力を禁止する。On the other hand, the error judgment circuit 34 judges the presence or absence of an error in the reception control information DATA by the error check code, opens the gate 37 if an error is found, and inputs the control information from the latch circuit 35 to the actuator drive signal generation circuit 39. Prohibit
また、断線検知回路32は上流側のノードからの通信情
報がタイマ(図示せず)によって定めた一定時間以上に
亘って受信されない場合は、自ノードの上流側で断線事
故が生じたものとして検知し、データ処理回路31に第2
図(b)で示したフレーム構成の断線事故情報を生成さ
せ、出力回路36を介して下流側のノードに送信させる。
さらに、断線検出信号をオアゲート40を介してアンドゲ
ート38に禁止入力として入力し、アンドゲート38が開い
ていたならば第4図のタイムチャートに示すように該ア
ンドゲート38を閉じさせ、アクチュエータA1〜Akの駆動
を停止させる。アクチュエータA1〜Akは駆動信号が停止
されると安全側に作動して停止する。Further, the disconnection detection circuit 32 detects that a disconnection accident has occurred on the upstream side of the own node when the communication information from the upstream node is not received for a predetermined time or more determined by a timer (not shown). The data processing circuit 31 to the second
The disconnection accident information having the frame structure shown in FIG. 7B is generated and transmitted to the downstream node via the output circuit 36.
Further, the disconnection detection signal is input to the AND gate 38 via the OR gate 40 as a prohibition input, and if the AND gate 38 is opened, the AND gate 38 is closed as shown in the time chart of FIG. ~ Stop driving Ak. The actuators A1 to Ak operate on the safe side and stop when the drive signal is stopped.
一方、第2図(b)に示すようなフレーム構成の断線
事故情報が受信された場合、断線コード検出回路32がこ
の断線事故情報の中の断線コードBRKを検出し、自ノー
ドの上流側で断線事故が生じたものと認識し、断線検知
回路32の断線検出信号と同等の信号をオアゲート40に入
力し、アクチュエータA1〜Akの駆動を停止させる。On the other hand, when the disconnection accident information having the frame structure as shown in FIG. 2 (b) is received, the disconnection code detection circuit 32 detects the disconnection code BRK in the disconnection accident information, and the upstream side of the own node Recognizing that a disconnection accident has occurred, a signal equivalent to the disconnection detection signal of the disconnection detection circuit 32 is input to the OR gate 40 to stop the driving of the actuators A1 to Ak.
第5図はメインコントローラ2の内部構成の一実施例
を示す構成図であり、最下流側のノード3−nからの通
信情報は入力回路50で受信される。この入力回路50は通
信情報を変調して送信する場合、これをNRZ符号に復調
する回路構成である。復調された通信情報はフレーム処
理回路51,断線検知回路52,断線コード検出回路53に入力
される。FIG. 5 is a configuration diagram showing an embodiment of the internal configuration of the main controller 2, and the input circuit 50 receives communication information from the node 3-n on the most downstream side. The input circuit 50 has a circuit configuration for demodulating the communication information into an NRZ code when the communication information is modulated and transmitted. The demodulated communication information is input to the frame processing circuit 51, the disconnection detection circuit 52, and the disconnection code detection circuit 53.
フレーム処理回路51の復調された通信情報の中に含ま
れる全ノードのセンサ出力信号により、全ノードの状態
を把握し、次のステップに進ませるための全ノードの制
御情報DATAを決定し、通常フレーム生成回路54で第2図
(a)い示したようなフレーム構成の通信情報を生成さ
せ、スイッチ55を介して出力回路56に入力し、該出力回
路56で例えばCMI符号に変換して最上流のノード3−1
に向けて送信させる。Based on the sensor output signals of all the nodes included in the demodulated communication information of the frame processing circuit 51, the states of all the nodes are grasped, and the control information DATA of all the nodes for advancing to the next step is determined. The frame generation circuit 54 generates communication information having a frame structure as shown in FIG. 2 (a), inputs it to the output circuit 56 via the switch 55, and the output circuit 56 converts it into, for example, a CMI code. Upstream node 3-1
Send it to.
断線検知回路52はノード3−1〜3−nの断線検知回
路32と同様にして最下流のノード3−nから一定時間以
上に亘って通信情報が入力されない場合は、ノード3−
nとの間で断線事故が生じないものとして検知し、停止
フレーム生成回路57に第2図(d)で示したようなフレ
ーム構成の通信情報を生成させたうえ、断線検知信号を
オアゲート58を介してスイッチ55に入力し、スイッチ55
を「2」の位置に切替え、出力回路56から送信させる。
これは、断線コード検出回路53がノード3−nから断線
コードBRKを含む通信情報を検出した場合も同様であ
る。The disconnection detection circuit 52 is similar to the disconnection detection circuit 32 of the nodes 3-1 to 3-n in the case where the communication information is not input from the most downstream node 3-n for a certain time or longer.
It is detected that a disconnection accident does not occur with n, and the stop frame generation circuit 57 is caused to generate the communication information of the frame structure as shown in FIG. 2D, and the disconnection detection signal is sent to the OR gate 58. Input to switch 55 through switch 55
Is switched to the position of "2" and is transmitted from the output circuit 56.
This is the same when the disconnection code detection circuit 53 detects the communication information including the disconnection code BRK from the node 3-n.
第6図に断線検出時の各部の動作をタイムチャートで
示している。FIG. 6 is a time chart showing the operation of each unit when a disconnection is detected.
なお、全ノードに対する制御情報DATAを「0」とした
第2図(d)の通信情報を送信する代わりに、第2図
(b)と同じフレーム構成の断線事故情報を生成して送
信し、断線事故部位の上流側のノードのアクチュエータ
を安全側に作動させるように構成してもよい。It should be noted that instead of transmitting the communication information of FIG. 2 (d) in which the control information DATA for all nodes is “0”, the disconnection accident information of the same frame configuration as in FIG. 2 (b) is generated and transmitted, The actuator of the node upstream of the disconnection accident site may be configured to operate safely.
第7図は第2図(b)と同様の断線事故情報を送信す
るようにしたメインコントローラ2の他の実施例を示す
構成図であり、第5図の停止フレーム生成回路57に代え
て断線フレーム生成回路59が設けられている。また、断
線位置コードが「n−1」以下であることを判定する断
線コード番号判定回路60が設けられている。FIG. 7 is a block diagram showing another embodiment of the main controller 2 for transmitting the disconnection accident information similar to that shown in FIG. 2B, and the disconnection is made in place of the stop frame generation circuit 57 of FIG. A frame generation circuit 59 is provided. Further, a disconnection code number determination circuit 60 for determining that the disconnection position code is "n-1" or less is provided.
ここで、ノード3−1と3−2の間で断線事故が生じ
た場合、第8図に示すように最上流側のノード3−nか
らは断線位置コード=n−2の通信情報がメインコント
ローラ2に入力される。そこで、メインコントローラ2
はノード3−1のアクチュエータA1〜Akを安全側に作動
させるべく第8図中に示すように断線位置コード=0の
断線事故情報を断線フレーム生成回路59で生成させて送
信する。Here, when a disconnection accident occurs between the nodes 3-1 and 3-2, the communication information of the disconnection position code = n-2 is main from the node 3-n on the most upstream side as shown in FIG. It is input to the controller 2. Therefore, the main controller 2
In order to operate the actuators A1 to Ak of the node 3-1 to the safe side, the disconnection accident code information of the disconnection position code = 0 is generated by the disconnection frame generation circuit 59 and transmitted, as shown in FIG.
これにより、ノード3−1のアクチュエータA1〜Akは
安全側に作動して停止する。As a result, the actuators A1 to Ak of the node 3-1 operate on the safe side and stop.
この状態でノード3−1と3−2との間の断線事故が
復旧すると、第9図に示すようにメインコントローラ2
が送信した断線事故情報がノード3−1〜3−nを介し
て戻ってくる。この時、断線位置コードは「n」に更新
されている。断線状態が継続している場合は、メインコ
ントローラ2に入力される断線事故情報の断線位置コー
ドは必ずn−1以下になる。断線コード番号判定回路60
は断線位置コードが「n−1」以下であることを判定
し、「n−1」以下の時には伝送路のいずれかで断線事
故が継続しているものと確認し、断線コード検出回路53
とオアゲート58との間に設けられたアンドゲート61を開
き、スイッチ55を「2」の位置に切替えさせ、断線フレ
ーム生成回路59で生成された断線事故情報を出力回路56
から信号させる。When the disconnection accident between the nodes 3-1 and 3-2 is recovered in this state, as shown in FIG.
The disconnection accident information transmitted by the device returns via the nodes 3-1 to 3-n. At this time, the disconnection position code is updated to "n". When the disconnection state continues, the disconnection position code of the disconnection accident information input to the main controller 2 is always n-1 or less. Disconnection code number judgment circuit 60
Judges that the disconnection position code is "n-1" or less, and when it is "n-1" or less, it is confirmed that the disconnection accident continues in any of the transmission paths, and the disconnection code detection circuit 53
And an OR gate 58 provided between the OR gate 58 and the OR gate 58, the switch 55 is switched to the position of "2", and the disconnection accident information generated by the disconnection frame generation circuit 59 is output to the output circuit 56.
Signal from.
しかし、断線位置コードガ「n」であった場合には、
自分が送信した断線事故情報が戻ってきたことになるた
め、断線事故が復旧されたものと認識し、アンドゲート
61を閉じ、断線事故情報の送信を停止させる。However, if the disconnection position code is “n”,
Since the disconnection accident information that I sent was returned, I recognized that the disconnection accident was restored, and AND Gate
Close 61 to stop the transmission of disconnection accident information.
第10図に第7図の各部の動作をタイムチャートで示し
ている。FIG. 10 is a time chart showing the operation of each part shown in FIG.
なお、上述した実施例において断線線はアクチュエー
タA1〜Akに対する駆動信号を停止させているが、安全側
が駆動状態となっているアクトュエータについては連続
駆動状態となるように構成することは言うまでもない。
これはゲート38をオアゲートに置換えればよい。In the above-described embodiment, the disconnection disconnects the drive signal to the actuators A1 to Ak, but it goes without saying that the actuators on the safe side are in the continuous drive state.
This can be done by replacing the gate 38 with an OR gate.
以上説明したように本発明においては、環状伝送線に
断線事故が発生したならば、その断線事故部位の下流側
のノードから断線事故情報を送信し、全ノードの端末装
置を安全側に強制的に作動させるようにしたため、シス
テムとしての誤動作による装置自体や制御対象の損失を
未然に防止することができる。またこの発明では、断線
事故情報内の断線位置コードに基づいて断線中か断線復
旧済みかを判定する判定手段を制御装置に設けるように
したので、断線通中か断線復旧済みかが的確に判定され
る。As described above, in the present invention, when a disconnection accident occurs in the ring transmission line, the disconnection accident information is transmitted from the node on the downstream side of the disconnection accident site, and the terminal devices of all the nodes are forced to the safety side. Since it is operated in the above manner, it is possible to prevent the loss of the device itself or the controlled object due to the malfunction of the system. Further, in the present invention, since the control device is provided with the determination means for determining whether the wire is being disconnected or the wire has been restored based on the wire position code in the wire accident information, it is possible to accurately determine whether the wire is being disconnected or the wire has been restored. To be done.
第1図は本発明の一実施例を示す構成図、第2図は通常
の通信情報および断線時の通信情報のフレーム構成図、
第3図ノードの内部構成の一実施例を示す構成図、第4
図はノードの各部の動作を示すタイムチャート、第5図
はメインコントローラの内部構成の一実施例を示す構成
図、第6図はメインコントローラ3の各部の動作を示す
タイムチャート、第7図はメインコントローラの他の実
施例を示す構成図、第8図および第9図は第7図のメイ
ンコントローラにおいて断線時と復旧時に送信される断
線事故情報の変化を示す図、第10図は第7図のメインコ
ントローラの各部の動作を示すタイムチャートである。 1……伝送線、2……メインコントローラ、3−1〜3
−n……ノード、S1〜Si……センサ、A1〜Ak……アクチ
ュエータ、32,55……断線検知回路、33,53……断線コー
ド検出回路、38……ゲート、57……停止フレーム生成回
路、59……断線フレーム生成回路。FIG. 1 is a configuration diagram showing an embodiment of the present invention, FIG. 2 is a frame configuration diagram of normal communication information and communication information at the time of disconnection,
FIG. 3 is a configuration diagram showing an embodiment of the internal configuration of the node, FIG.
FIG. 5 is a time chart showing the operation of each part of the node, FIG. 5 is a block diagram showing an example of the internal configuration of the main controller, FIG. 6 is a time chart showing the operation of each part of the main controller 3, and FIG. FIG. 8 is a block diagram showing another embodiment of the main controller, FIG. 8 and FIG. 9 are diagrams showing changes in the disconnection accident information transmitted at the time of disconnection and restoration at the main controller of FIG. 7, and FIG. 6 is a time chart showing the operation of each part of the main controller in the figure. 1 ... Transmission line, 2 ... Main controller, 3-1 to 3
-N ... node, S1-Si ... sensor, A1-Ak ... actuator, 32,55 ... disconnection detection circuit, 33,53 ... disconnection code detection circuit, 38 ... gate, 57 ... stop frame generation Circuit, 59 ... Broken frame generation circuit.
Claims (2)
複数のノードを接続し、各ノードは主制御装置から送信
される時系列の情報のうち自ノード向けの情報を抽出
し、自ノードに接続された端末装置を制御すると共に、
該端末装置の出力情報を自ノードに対応したタイムスロ
ットに挿入して伝送線に送出し、下流側の他のノードを
介して主制御装置に送信する直列制御装置において、 各ノードは、 自ノードと伝送線との間に断線事故が生じたことを検出
する断線検出手段と、 この断線検出手段の断線検出信号によって断線コード及
び断線位置コードを含む断線事故情報を生成し、この断
線事故情報を下流側のノードまたは主制御装置に送信す
る断線事故情報送信手段と、 自ノード内の断線検出手段から断線検出信号が入力され
たとき、または上流側のノード及び主制御装置のいずれ
かから送信された断線事故情報を受信した時に自ノード
に接続された端末装置を安全側に作動させる制御手段
と、 上流側のノード及び主制御装置のいずれかから送信され
た断線事故情報を受信すると、断線事故情報内の断線位
置コードを+1して下流側のノードまたは主制御装置に
送信する断線位置コード更新手段と、 を具え、 前記主制御装置は、 主制御装置と下流側の隣のノードとの間の伝送線に断線
事故が生じたことを検出する断線検出手段と、 断線事故情報を受信したとき、受信された断線事故情報
内の断線位置コードに基づいて断線中か断線復旧済みか
を判定する判定手段と、 主制御装置内の断線検出手段から断線検出信号が入力さ
れたとき、または断線事故情報を受信したときに、断線
コード及び断線位置コードを含む断線事故情報を生成
し、この断線事故情報を断線事故箇所の上流側のノード
に対し、前記判定手段により断線復旧済みと判定される
まで断線事故情報を送信する断線事故情報送信手段と、 を具えることを特徴とする直列制御装置。1. A main control device and a plurality of nodes are connected to a ring-shaped one-way transmission line, and each node extracts information for its own node from the time-series information transmitted from the main control device. , While controlling the terminal device connected to its own node,
In a serial control device that inserts the output information of the terminal device into a time slot corresponding to its own node, sends it to the transmission line, and sends it to the main control device via another node on the downstream side, each node is Disconnection detection means for detecting the occurrence of a disconnection accident between the transmission line and the transmission line, and disconnection detection information including the disconnection code and disconnection position code is generated by the disconnection detection signal of this disconnection detection means. When the disconnection accident information transmitting means for transmitting to the downstream node or the main control device and the disconnection detection signal from the disconnection detection means in the own node are input, or the disconnection detection signal is transmitted from either the upstream node or the main control device. Disconnection accident information received from any of the upstream side node and the main control device, and the control means to operate the terminal device connected to the own node to the safety side when it receives the information. When the accident information is received, the disconnection position code in the disconnection accident information is incremented by 1 and transmitted to the downstream node or the main control device. Disconnection detecting means for detecting the occurrence of a disconnection accident in the transmission line between the adjacent node on the side of the line, and disconnection based on the disconnection position code in the received disconnection accident information when the disconnection accident information is received. A disconnection code including a disconnection code and a disconnection position code when a disconnection detection signal is input from the disconnection detection means in the main control unit or when disconnection detection information is received. Disconnection accident information transmitting means for generating information and transmitting the disconnection accident information to a node on the upstream side of the disconnection accident point until the determination means determines that the disconnection accident has been completed. , Serial control apparatus characterized by comprising a.
線位置コードに基づいて断線位置を判定する断線位置判
定手段を有する 請求項1記載の直列制御装置。2. The serial control device according to claim 1, wherein, when the main controller receives the disconnection accident information, it has disconnection position determination means for determining a disconnection position based on a disconnection position code in the disconnection accident information. .
Priority Applications (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63304635A JPH0817399B2 (en) | 1988-12-01 | 1988-12-01 | Series controller |
| PCT/JP1989/000208 WO1989008361A1 (en) | 1988-02-29 | 1989-02-28 | Data pick-up circuit for serial controller |
| US07/571,539 US5204865A (en) | 1988-02-29 | 1989-02-28 | Data extracting circuit for serial control apparatus |
| DE68926677T DE68926677T2 (en) | 1988-02-29 | 1989-02-28 | DATA RECORDING CIRCUIT FOR SERIAL CONTROL UNIT |
| EP89902829A EP0429647B1 (en) | 1988-02-29 | 1989-02-28 | Data pick-up circuit for serial controller |
| KR1019890701971A KR900701111A (en) | 1988-02-29 | 1989-02-28 | Data Extraction Circuit of Serial Controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63304635A JPH0817399B2 (en) | 1988-12-01 | 1988-12-01 | Series controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02150139A JPH02150139A (en) | 1990-06-08 |
| JPH0817399B2 true JPH0817399B2 (en) | 1996-02-21 |
Family
ID=17935412
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63304635A Expired - Lifetime JPH0817399B2 (en) | 1988-02-29 | 1988-12-01 | Series controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0817399B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2512832B2 (en) * | 1990-12-28 | 1996-07-03 | 株式会社小松製作所 | Series controller |
| JP3595836B2 (en) | 1995-05-12 | 2004-12-02 | 株式会社 東芝 | Communications system |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58120341A (en) * | 1982-01-13 | 1983-07-18 | Omron Tateisi Electronics Co | Input and output data transmission system of programmable controller |
| JPS6018041A (en) * | 1983-07-11 | 1985-01-30 | Nissan Motor Co Ltd | Loop type network system |
| JPS62175045A (en) * | 1986-01-28 | 1987-07-31 | Nec Corp | Alarm informing system |
-
1988
- 1988-12-01 JP JP63304635A patent/JPH0817399B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH02150139A (en) | 1990-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| GB2071893A (en) | Command and monitoring apparatus | |
| US6725419B1 (en) | Automation system and method for operating an automation system | |
| JPH0817399B2 (en) | Series controller | |
| KR101846222B1 (en) | Redundancy system and controllin method thereof | |
| US7836208B2 (en) | Dedicated redundant links in a communicaton system | |
| JPH0793614B2 (en) | Series controller | |
| JPS62175045A (en) | Alarm informing system | |
| JPH0696371A (en) | Fire self-alarming system | |
| JP2618890B2 (en) | Abnormal transmission detection method | |
| JP2777142B2 (en) | Alarm reporting device | |
| JPH01220545A (en) | Equipment for suppressing erroneous output of transmission data of multiplex data link | |
| JPH0785561B2 (en) | Series controller | |
| JP2689955B2 (en) | Line switching device | |
| JP2662320B2 (en) | Transmission data synchronization method for disaster prevention monitoring system | |
| JP2512832B2 (en) | Series controller | |
| JPH04293336A (en) | local area network | |
| JPH0830970B2 (en) | Series controller | |
| JPS63197197A (en) | Load control system | |
| JPH1051980A (en) | Monitoring and control system | |
| JPH01136498A (en) | Information transmitter for status monitor | |
| JPH0785559B2 (en) | Device for detecting the number of terminals in a serial controller | |
| JPH0711080U (en) | Supervisory control system | |
| JPS61173546A (en) | Channel control method | |
| JPH0451104B2 (en) | ||
| JPH0817512B2 (en) | Device abnormality monitoring method for information transmission device |