JP2008009794A - Programmable electronic controller, and communication control method for programmable electronic apparatus - Google Patents

Programmable electronic controller, and communication control method for programmable electronic apparatus Download PDF

Info

Publication number
JP2008009794A
JP2008009794A JP2006180648A JP2006180648A JP2008009794A JP 2008009794 A JP2008009794 A JP 2008009794A JP 2006180648 A JP2006180648 A JP 2006180648A JP 2006180648 A JP2006180648 A JP 2006180648A JP 2008009794 A JP2008009794 A JP 2008009794A
Authority
JP
Japan
Prior art keywords
programmable electronic
control device
communication control
communication line
communication
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
Application number
JP2006180648A
Other languages
Japanese (ja)
Inventor
Takashi Umehara
敬 梅原
Akira Bando
明 阪東
Masamitsu Kobayashi
正光 小林
Masahiro Shiraishi
雅裕 白石
Akihiro Onozuka
明弘 小野塚
Makoto Ogura
真 小倉
Eiji Kobayashi
英二 小林
Masakazu Ishikawa
雅一 石川
Yasuyuki Furuta
康幸 古田
Wataru Sasaki
亘 笹木
Yusaku Otsuka
祐策 大塚
Akihiro Nakano
晃博 中野
Shoichi Ozawa
彰一 小澤
Naoya Masuko
直也 益子
Satoru Funaki
覚 船木
Takenori Kasahara
武則 笠原
Yusuke Seki
裕介 関
Yu Iwasaki
遊 岩崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Hitachi Information and Control Systems Inc
Hitachi Information and Control Solutions Ltd
Original Assignee
Hitachi Ltd
Hitachi Information and Control Systems Inc
Hitachi Information and Control Solutions Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd, Hitachi Information and Control Systems Inc, Hitachi Information and Control Solutions Ltd filed Critical Hitachi Ltd
Priority to JP2006180648A priority Critical patent/JP2008009794A/en
Publication of JP2008009794A publication Critical patent/JP2008009794A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)
  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)
  • Communication Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a programmable electronic apparatus which operates at higher speed while satisfying requirements as functional safety (normal operation of apparatus) and has synchronism during start and stop, and multiple system switching. <P>SOLUTION: A state-switching signal from a central processing storage device to a system is simultaneously notified even to input-output devices connected through a serial line 1. The state-switching signal has a safety stop request signal and a system switching request signal during hardware redundancy. Further, two state-switching signals are provided, and respective polarities are inverted. Alternatively, the state-switching signals are pulse-shaped. The common part of a frame of the serial line is provided with a bit for safety stop request, or a command is provided with a new state-switching code, and its command instruction achieves simultaneous broadcast communication. According to the invention, it is possible to achieve safety as well as system synchronism. Further, it is possible to achieve control suitable for the functional safety use by using safe communication. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、プログラマブル電子制御装置及びプログラマブル電子装置の通信制御方法に係り、特に制御入力から出力までの反応速度や同時性と機能安全とを両立するのに好適なプログラマブル電子制御装置及びプログラマブル電子装置の通信制御方法に関する。   The present invention relates to a programmable electronic control device and a communication control method for a programmable electronic device, and in particular, a programmable electronic control device and a programmable electronic device suitable for achieving both reaction speed and simultaneity from control input to output and functional safety. The present invention relates to a communication control method.

近年、人命や環境の安全確保をプログラマブルな電子装置で実現する要求が高まっている。   In recent years, there has been an increasing demand for ensuring the safety of human lives and the environment with programmable electronic devices.

本質安全と対比し、装置の正常な動作を前提とした安全を機能安全と呼んでいる。   In contrast to intrinsic safety, safety premised on the normal operation of the device is called functional safety.

プログラマブルな電子装置の導入効果は、従来の機械接点式リレーコイルで構成した保護ロジック装置を上回る信頼性を小型軽量な装置で実現することである。このような技術は、例えば、特開平6−290066号公報に記載されている。   The introduction effect of the programmable electronic device is to realize reliability higher than that of a protection logic device constituted by a conventional mechanical contact relay coil with a small and light device. Such a technique is described, for example, in JP-A-6-290066.

このような機能安全用途のコントローラに関する国際規格がIEC61508を中心に整備されつつある。IEC61508では機能安全を阻害する要因を2つに大別し、各々の対策と効果を詳細に規定している。阻害要因の第1はハードウェア起因の偶発故障、第2は通称ソフトウェアバグと呼ばれる系統的故障である。前者に対しては偶発故障の診断手法とそれに対応する診断率を規定、後者に対しては系統故障を防止する開発プロセスを規定している。   International standards regarding such controllers for functional safety are being developed centering on IEC61508. In IEC61508, the factors that impede functional safety are roughly divided into two, and each countermeasure and effect are defined in detail. The first obstruction factor is an accidental failure caused by hardware, and the second is a systematic failure commonly called a software bug. For the former, an accidental failure diagnosis method and a corresponding diagnosis rate are specified, and for the latter, a development process for preventing system failure is specified.

国際規格に基づいて独立した第三者機関が認証した製品を使用することにより、ユーザは所定の安全水準を確保することができる。   By using a product certified by an independent third-party organization based on international standards, the user can ensure a predetermined safety level.

特開平6−290066号公報JP-A-6-290066

機能安全用途に使用可能なプログラマブルな電子装置のシステム構成をさらに拡大するためのシリアル通信制御システムが提案されている。   A serial communication control system has been proposed for further expanding the system configuration of a programmable electronic device that can be used for functional safety applications.

しかしながら、シリアル回線を用いてシステム規模を拡大した場合、回線に接続される各々の装置に順次指示を出すだけでは、安全機能としてのセーフティシャットダウン(安全停止)の応答速度および同時性に支障を来たす恐れがある。   However, when the system scale is expanded using a serial line, it is difficult to respond to safety shutdown (safety stop) response speed and simultaneity by simply issuing instructions to each device connected to the line. There is a fear.

また、多重化構成をとったときの系間切替えにおいても、シリアル回線による個々の装置への切替え指示では、接続台数が増加するに従い、伝達完了までの時間が大きくなるという問題がある。   Further, even when switching between systems when a multiplexed configuration is adopted, there is a problem that in the switching instruction to individual devices via a serial line, the time until completion of transmission increases as the number of connected devices increases.

本発明の目的は、機能安全としての要求事項を満たしながら、より高速でかつ、起動停止および多重系切替時の同時性を持つプログラマブル電子装置及びプログラマブル電子装置の通信制御方法を提供することにある。   An object of the present invention is to provide a programmable electronic device and a communication control method for the programmable electronic device that satisfy the requirements for functional safety, have higher speed, and have synchronism when starting and stopping and switching multiple systems. .

さらに安全通信により、各装置への指示の伝達を確実にする機能を持つプログラマブル電子装置及びプログラマブル電子装置の通信制御方法を提供することにある。   It is another object of the present invention to provide a programmable electronic device having a function of ensuring the transmission of instructions to each device by safety communication and a communication control method for the programmable electronic device.

上記目的を達成するために、本発明では、制御装置と、制御対象とデータを授受する複数の接続装置を有し、前記制御装置は、前記複数の接続装置のうちの一方の一部と、少なくとも一部はパラレル伝送となる通信回線を介して制御対象についてのデータを授受し、前記制御装置は、前記複数の接続装置のうちの他方の一部と、前記通信回線に加え、少なくとも一部はシリアル回線となる第1の通信回線を介して制御対象についてのデータを送受信するプログラマブル電子装置において、前記制御装置から、前記第1の通信回線を介して接続された接続装置に情報が伝達されるように、状態切替信号を同時通報的に通知することが可能に構成した。   In order to achieve the above object, the present invention has a control device and a plurality of connection devices that exchange data with a control object, and the control device includes a part of one of the plurality of connection devices, At least a part exchanges data about a control target via a communication line that is in parallel transmission, and the control device is at least partly in addition to the other part of the plurality of connection devices and the communication line. Is a programmable electronic device that transmits and receives data about a controlled object via a first communication line, which is a serial line, and information is transmitted from the control device to a connection device connected via the first communication line. As described above, the state switching signal can be notified simultaneously.

さらに詳細には、中央演算記憶装置(CPU)から少なくとも一部はシリアル伝送となる回線1を介して通信制御装置にデータを送受信し、前記送受信先の通信制御装置から前記データを集合・分配して少なくとも一部はパラレル伝送となる回線2を介して制御対象を計測する入力装置と、前記回線2を介して制御対象へ出力する出力装置とからなる制御装置において、
前記中央演算記憶装置から接続される各装置に対する状態切替信号を、シリアル回線1を介して接続される入出力装置に対しても一斉に通知することが可能な手段をもつものである。
More specifically, data is transmitted / received to / from a communication control device via a line 1 that is at least partially serially transmitted from a central processing unit (CPU), and the data is collected / distributed from the communication control device of the transmission / reception destination. A control device comprising an input device that measures a control target via a line 2 that is at least partially parallel transmission and an output device that outputs the control target via the line 2;
It has means capable of notifying the input / output devices connected via the serial line 1 simultaneously of the state switching signals for the devices connected from the central processing unit.

また、上記状態切替信号として安全停止要求信号やハードウェア冗長化時の系切替要求信号を持つものである。   The state switching signal includes a safety stop request signal and a system switching request signal for hardware redundancy.

さらに、状態切替信号を2本持ち各々の極性を反転させることで、片方の信号線に何らかの故障が発生しても、遅滞なく信号伝送を可能とするか、状態切替信号をパルス状の信号とし、信号線に何らかの故障が発生した場合でもタイムアウト検出により、信号伝送を可能とする手段を持つものである。   Furthermore, by having two state switching signals and reversing the polarity of each one, even if some failure occurs on one signal line, signal transmission is possible without delay, or the state switching signal is a pulse signal. In this case, even if any failure occurs in the signal line, the signal line can be transmitted by detecting the timeout.

また、シリアル回線のフレームの共通部に安全停止要求用のビットを設けるか、コマンドに新たな状態切替のコードを設け、そのコマンド命令により一斉同報通信を実現するものである。   Also, a bit for requesting safety stop is provided in the common part of the serial line frame, or a new state switching code is provided in the command, and simultaneous broadcast communication is realized by the command command.

さらには、シリアル回線のフレームの共通部に安全停止要求用のビットを複数設け、一斉通信による停止対象範囲を分類し、段階的な停止を可能としたものである。   In addition, a plurality of bits for requesting safe stop are provided in the common part of the serial line frame, and the stop target range by simultaneous communication is classified to enable stepwise stop.

本発明によれば、少なくとも一部はシリアル伝送となる回線1を介して通信制御装置にデータを送受信し、前記送受信先の通信制御装置から前記データを集合・分配して少なくとも一部はパラレル伝送となる回線2を介して制御対象を計測する入力装置と、前記回線2を介して制御対象へ出力する出力装置とからなる制御装置において、同一シリアル回線に接続される通信制御装置に対する状態切替要求を安全機能を満たした上で、一斉に通知することが可能とできるため、システムの同時性と共に安全性を実現できる。更に、安全通信を用いることでより機能安全用途に適した制御が可能となる。   According to the present invention, at least part of the data is transmitted / received to / from the communication control apparatus via the line 1 for serial transmission, and the data is aggregated / distributed from the transmission / reception destination communication control apparatus, and at least partly is transmitted in parallel State switching request to a communication control device connected to the same serial line in a control device comprising an input device that measures a control target via the line 2 and an output device that outputs the control target via the line 2 Because it is possible to notify all at once after satisfying the safety function, it is possible to realize safety as well as system simultaneity. Furthermore, control suitable for functional safety applications can be performed by using safety communication.

図1は、本発明における典型的なプログラマブルな電子装置の構成を示す。   FIG. 1 shows the configuration of a typical programmable electronic device in the present invention.

装置はユニット11とユニット12に実装された、入力装置51,52および出力装置41,42にてプラント装置8からの情報収集と制御出力を行う。   The apparatus collects information from the plant apparatus 8 and performs control output using the input devices 51 and 52 and the output devices 41 and 42 mounted in the units 11 and 12.

制御に係わる演算は、中央演算記憶装置(CPU)21が行う。   A calculation related to the control is performed by a central processing unit (CPU) 21.

このとき、ユニット11に実装した入力装置51からの情報は、パラレスバス61を介して直接収集可能であるが、ユニット12に実装した入力装置52からの情報は、通信制御装置S32が、パラレスバス62を介して収集し、その情報をシリアル回線7を介して通信制御装置P31へ伝送する。   At this time, information from the input device 51 mounted on the unit 11 can be directly collected via the parallel bus 61, but information from the input device 52 mounted on the unit 12 is transmitted to the parallel control bus 62 by the communication control device S32. And the information is transmitted to the communication control device P31 via the serial line 7.

そして、通信制御装置P31からパラレルバス61を介してCPU21へ入力情報を通知する。   Then, the communication control device P31 notifies the CPU 21 of input information via the parallel bus 61.

CPU21は、各入力情報を元に制御演算を実施し、パラレスバス61を介して出力信号を送出する。   The CPU 21 performs a control operation based on each input information and sends out an output signal via the parallel bus 61.

このときも入力処理と同様に、ユニット11に実装した出力装置41へは直接出力情報を受け渡すことができるが、ユニット12に実装した出力装置42へは、パラレルバス
61に接続する通信制御装置P31からシリアル回線7を経由して、通信制御装置S32よりパラレスバス62に出力情報を送出することで、ユニット12に実装する出力装置
42への情報伝達を実施する。
At this time, as in input processing, output information can be directly passed to the output device 41 mounted on the unit 11, but the communication control device connected to the parallel bus 61 is connected to the output device 42 mounted on the unit 12. By transmitting output information from the communication control device S32 to the parallel bus 62 via the serial line 7 from P31, information transmission to the output device 42 mounted on the unit 12 is performed.

以上のような、情報受け渡しにより、プラント装置8からの情報収集と、制御演算結果の出力を実現する。   Collecting information from the plant apparatus 8 and outputting a control calculation result is realized by the information delivery as described above.

このような一部にシリアル回線を持つ形態のシステムにおいては、接続されるユニット数および出力装置数が増加した場合、個々の出力装置へ逐次出力指示をしていたのではプラント装置が要求する応答速度に間に合わなくなる恐れがある。そこで、シリアル回線を介して接続されたユニット12実装の装置に対しても、ユニット11と同様に一斉に安全停止要求信号を受信可能とするための具体例を図2に示す。   In such a system having a part of a serial line, if the number of connected units and the number of output devices increase, a response required by the plant device if the individual output device is instructed to output sequentially. There is a risk of not being able to keep up with the speed. Therefore, FIG. 2 shows a specific example for enabling the apparatus mounted with the unit 12 connected via the serial line to receive the safety stop request signal all at once as with the unit 11.

図2は、図1に対して、一斉指示のための機能を詳細に記述したものである。本来は、入力装置も存在するが、図示の便宜上省略している。   FIG. 2 is a detailed description of the function for simultaneous instruction with respect to FIG. Originally, an input device also exists, but is omitted for convenience of illustration.

パラレルバス61には、入出力情報をCPU21と入出力装置間で送受信するための情報転送用信号611があるが、更に安全停止要求信号612を追加し、緊急時はCPU21から停止要求を出すことで、ユニット11内の全出力装置41を安全停止状態にする。   The parallel bus 61 has an information transfer signal 611 for transmitting and receiving input / output information between the CPU 21 and the input / output device. A safety stop request signal 612 is further added to issue a stop request from the CPU 21 in an emergency. Thus, all the output devices 41 in the unit 11 are brought into a safe stop state.

シリアル回線7で接続された先のパラレルバス62も同様の構成とし、ユニット12内の全出力装置へ安全停止要求信号622により、一括して安全停止要求を通知可能とする。   The previous parallel bus 62 connected by the serial line 7 has the same configuration, and the safety stop request signal can be collectively notified to all output devices in the unit 12 by the safety stop request signal 622.

そして、シリアル回線7には、伝送されるフレーム71に安全停止要求フラグ711を設ける。   The serial line 7 is provided with a safety stop request flag 711 in the transmitted frame 71.

シリアル回線7は、周期的に送受信を繰り返すか、または要求時にのみフレームを受け渡しすることが可能であるが、何れの場合でもCPU21から出力された安全停止要求信号612を通信制御装置P31が受信したら、直ちにフレーム71内の安全停止要求フラグ711を“停止要求有り”の状態にして転送する。   The serial line 7 can repeat transmission / reception periodically or deliver a frame only when requested, but in any case, if the communication control device P31 receives the safety stop request signal 612 output from the CPU 21 Immediately, the safe stop request flag 711 in the frame 71 is transferred to the “stop request present” state.

これを受けた通信制御装置S32は、パラレルバス62の安全停止要求信号622をオンしユニット12内の全ての出力装置42を停止状態にする。   Receiving this, the communication control device S32 turns on the safety stop request signal 622 of the parallel bus 62 and puts all the output devices 42 in the unit 12 into a stop state.

図3に図2の構成におけるシステムの起動・停止の手順の例を示す。
1001:電源投入またはリセット要求を受けると、
1002:各装置の初期化を実施する。この初期化処理の中で安全停止要求信号をオンとする。
1003:初期化が完了したら、次に停止時の出力データを設定する。これは、安全停止要求時に出力装置の出力情報をクリアするかそれとも、停止直前の状態で保持するかを設定するものであり、安全停止時にプラント装置を安全な状態で停止させるために必要な設定を行うものである。
FIG. 3 shows an example of a system start / stop procedure in the configuration of FIG.
1001: When a power on or reset request is received,
1002: Initialize each device. During this initialization process, the safety stop request signal is turned on.
1003: When initialization is completed, output data at the next stop is set. This is to set whether to clear the output information of the output device at the time of a safety stop request or to keep it in the state immediately before the stop. Is to do.

具体的な設定部位は図2内出力装置41,42の出力データ設定部412,422に、設定レジスタを設けることで通常動作時は情報転送用信号611,621からの受信データを、安全停止要求信号612,622オン時は設定データを出力することが可能となる。
1004:そして、これらの設定が完了した後、プラント装置の運転を開始し、制御演算結果を出力データとして出力装置41,42へ設定(送信)する。
1005:出力装置41,42からプラント装置8への出力に同時性を求められるようなシステムにおいては、一通りの出力設定が完了した時点で、安全停止要求信号612,
622をオフすることで一斉にプラント装置へのデータ送信が可能となる。
2 is provided with setting registers in the output data setting units 412 and 422 of the output devices 41 and 42 in FIG. 2, so that the received data from the information transfer signals 611 and 621 is sent to the safety stop request during normal operation. When the signals 612 and 622 are on, the setting data can be output.
1004: After these settings are completed, the operation of the plant apparatus is started, and the control calculation result is set (transmitted) to the output apparatuses 41 and 42 as output data.
1005: In a system in which simultaneity is required for the output from the output devices 41 and 42 to the plant device 8, the safety stop request signal 612 is obtained when a complete output setting is completed.
By turning off 622, data can be transmitted to the plant apparatus all at once.

なお、ここでプラント装置へのデータ出力に同時性を求めないようなシステムでは、出力データ設定前に安全停止要求信号612,622をオフすることで、順次出力を行うことも可能である。   Here, in a system that does not require simultaneity for data output to the plant device, it is possible to sequentially output by turning off the safety stop request signals 612 and 622 before setting the output data.

以上のような手順でシステムを起動し、
1006:その後は制御演算結果に従い、順次出力データを更新する。
1007:システム停止が必要な場合は、
1008:安全停止要求信号612,622をオンすることで、
1009:システム全体を一斉に停止する。
Start the system with the above procedure,
1006: Thereafter, the output data is sequentially updated according to the control calculation result.
1007: If you need to stop the system,
1008: By turning on the safety stop request signal 612, 622,
1009: The entire system is stopped all at once.

以上の手段と手順を用いることにより、シリアル回線を含むシステムでも安全かつ迅速なシステム停止を実現することができる。   By using the above means and procedures, a safe and quick system stop can be realized even in a system including a serial line.

ここで更に、図2パラレルバス61中の安全停止要求信号612およびシリアル回線7のフレーム71に設けた安全停止要求フラグ711を複数持ち、かつパラレルバス上に当該フラグに相当する複数レベルの安全停止要求信号を持つことで、CPU21から複数の安全停止要求信号を段階的に出力し、システムの段階的な停止を実現することも可能である。   2 further includes a safety stop request signal 612 in the parallel bus 61 and a plurality of safety stop request flags 711 provided in the frame 71 of the serial line 7, and a plurality of levels of safety stop corresponding to the flags on the parallel bus. By having the request signal, it is possible to output a plurality of safety stop request signals from the CPU 21 step by step, thereby realizing a step-by-step stop of the system.

また、機能安全システムを実現するための要求事項として、例えば信号線が固着故障をした場合でも安全機能が正常に動作することを求められる。その為の対策としては、上記のように信号線を多重化し、ここでは同一レベルの信号の通信経路を複数持ち、かつ極性を反転して送信することで、該当信号線路に故障が発生した場合でも何れかの安全要求信号がオンした場合に停止することで、CPUからの安全停止要求を確実に伝えることが可能となる。   Further, as a requirement for realizing a functional safety system, for example, a safety function is required to operate normally even when a signal line is stuck. As a countermeasure for this, if signal lines are multiplexed as described above, and there are multiple communication paths for signals of the same level and the signals are reversed and transmitted, a failure occurs in the corresponding signal line. However, by stopping when any safety request signal is turned on, it is possible to reliably transmit a safety stop request from the CPU.

なお、機能安全システムを実現するための別の手段として、パラレルバス上の信号線やシリアル回線上の専用ビットを極力少なくしたいようなシステムでは、安全停止要求信号612,622をパルス状の信号とし、停止要求オン時はパルス出力を停止することで、受信側は一定時間信号が変化しない場合に、停止状態に遷移させることが可能である。パルス信号とすることで、安全停止要求信号612,622に関連する部位に何らかの故障が発生した場合でも停止要求と同様にタイムアウトを検出し、システムの応答時間内に安全停止することが可能である。   As another means for realizing the functional safety system, the safety stop request signals 612 and 622 are converted into pulse signals in a system in which the number of dedicated bits on the signal lines and serial lines on the parallel bus is minimized. By stopping the pulse output when the stop request is on, the receiving side can transition to the stop state when the signal does not change for a certain period of time. By using a pulse signal, even if a failure occurs in a part related to the safety stop request signals 612 and 622, it is possible to detect a timeout in the same way as the stop request and to stop safely within the response time of the system. .

図2では、CPU21からの要求を、通信制御装置P31,通信制御装置S32を介して下位のパラレルバス62へ伝送する手段を例として述べたが、逆にプラント装置8側からの安全停止要求を上位CPU21へ伝えることも同様の手段を用いることにより、実現可能であることは明確である。   In FIG. 2, the means for transmitting the request from the CPU 21 to the lower parallel bus 62 via the communication control device P31 and the communication control device S32 is described as an example, but conversely, a safe stop request from the plant device 8 side is issued. It is clear that the transmission to the host CPU 21 can be realized by using the same means.

CPU21はプラント装置8からの安全停止要求を受信すると、その応答として、前述の安全停止要求信号611をオンすることで、プラント装置8を安全停止状態に遷移させることができる。   When the CPU 21 receives the safety stop request from the plant device 8, the plant device 8 can be shifted to the safe stop state by turning on the above-described safety stop request signal 611 as a response.

図4は、一部にシリアル回線を含むシステムを二重化した場合の、主従系切替に関する実施例を示す図である。   FIG. 4 is a diagram showing an embodiment relating to master / slave switching when a system partially including a serial line is duplicated.

ユニット13およびユニット14は、演算処理を行う装置であり、CPU22とCPU23は二重化制御バス91で接続されている。ここではCPU22,23はいずれか一つがマスタ権を持ち、残る一つはスタンバイ状態で動作するものとする。   The units 13 and 14 are devices that perform arithmetic processing, and the CPU 22 and the CPU 23 are connected by a duplex control bus 91. Here, it is assumed that one of the CPUs 22 and 23 has the master right and the other one operates in a standby state.

プラント装置8への入出力を行うためのユニット15,16には、各々のCPU22,23から通信制御装置P33,36により、シリアル回線71,72を介して通信制御装置S34,35,37,38へ接続される。   The units 15 and 16 for inputting and outputting to the plant apparatus 8 are connected to the communication control devices S34, 35, 37, and 38 via the serial lines 71 and 72 by the communication control devices P33 and 36 from the CPUs 22 and 23, respectively. Connected to.

つまり演算を行うためのユニットは二つ存在するが、プラント入出力のみを行うユニットは二つの演算ユニット13,14両方に接続される形態である。   That is, there are two units for performing calculations, but a unit that performs only plant input / output is connected to both of the two calculation units 13 and 14.

そして、二つの通信制御装置S34と37または35と38の何れか一つが、主導権を持ちユニット内の入出力装置とのデータ送受信を行うものとする。   One of the two communication control devices S34 and 37 or 35 and 38 has the initiative and performs data transmission / reception with the input / output device in the unit.

ここで、CPU22がマスタで、CPU23がスタンバイの場合、CPU22が実装されているユニット13およびシリアル回線71で接続されるユニット15,16に実装されている入出力装置43,45,46,53,55,56はマスタ系として動作し、CPU23が実装されているユニット14の入出力装置44,54はスタンバイ系として動作する。   Here, when the CPU 22 is the master and the CPU 23 is in the standby state, the input / output devices 43, 45, 46, 53, mounted on the unit 13 mounted with the CPU 22 and the units 15, 16 connected by the serial line 71. 55 and 56 operate as a master system, and the input / output devices 44 and 54 of the unit 14 in which the CPU 23 is mounted operate as a standby system.

CPU22は、制御演算結果を出力する際、先ず二重化制御バス91を介してCPU23へ出力データを送信する。その後、パラレルバス63を介して通信制御装置P33および出力装置43へ出力データを設定する。通信制御装置P33は、出力データをシリアル回線71を介して通信制御装置S34,35へ伝送する。通信制御装置S34,35は各々のパラレルバス65または66を介して出力装置45または46へ出力データを設定する。   When outputting the control calculation result, the CPU 22 first transmits output data to the CPU 23 via the duplex control bus 91. Thereafter, output data is set to the communication control device P33 and the output device 43 via the parallel bus 63. The communication control device P33 transmits the output data to the communication control devices S34 and S35 via the serial line 71. The communication control devices S34 and 35 set output data to the output device 45 or 46 via the parallel bus 65 or 66, respectively.

出力装置43,45,46は何れもマスタ系として動作しているため、設定されたデータをプラント装置8へ出力する。   Since the output devices 43, 45, and 46 all operate as a master system, the set data is output to the plant device 8.

一方スタンバイ系のCPU23は、二重化制御バス91を介してマスタ系CPU22から送信データを受け取ると、パラレルバス64を経由して通信制御装置P36および出力装置44へ出力データを設定する。通信制御装置P36は、出力データをシリアル回線
72を介して通信制御装置S37,38へ伝送する。通信制御装置S37,38はスタンバイ系の状態にあるため、出力装置へのデータ出力指示は行わず、自装置内部の出力データ設定情報を更新するのみとする。
On the other hand, when the standby CPU 23 receives transmission data from the master CPU 22 via the duplex control bus 91, it sets output data to the communication control device P 36 and the output device 44 via the parallel bus 64. The communication control device P36 transmits the output data to the communication control devices S37 and S38 via the serial line 72. Since the communication control devices S37 and S38 are in a standby state, no data output instruction is issued to the output device, and only the output data setting information in the own device is updated.

このように、ユニット15に実装される通信制御装置S34,37においては、通信制御装置S34がマスタとして入出力処理を実行し、通信制御装置S37はスタンバイ系として入力情報の収集のみを実施し、出力処理は行わない。   As described above, in the communication control devices S34 and 37 mounted on the unit 15, the communication control device S34 performs input / output processing as a master, and the communication control device S37 only collects input information as a standby system. Output processing is not performed.

これは、ユニット16に実装される通信制御装置S35,38間でも同様である。   The same applies to the communication control devices S35 and S38 mounted on the unit 16.

そして、マスタの変更が必要となった場合は、CPU22,23間を接続する二重化制御バス91により、マスタ権の受け渡しを行いCPU23がマスタ、CPU22はスタンバイへ状態を遷移する。   When the master needs to be changed, the master right is transferred by the duplex control bus 91 connecting the CPUs 22 and 23, and the CPU 23 transitions to the master and the CPU 22 transitions to the standby state.

このとき、シリアル回線上に接続される通信制御装置Sにはマスタが替わったことを通知し、各ユニット内の通信制御装置S34,37および35,38間でのマスタ装置切替えを行う。   At this time, the communication control device S connected on the serial line is notified that the master has been changed, and the master device is switched between the communication control devices S34, 37 and 35, 38 in each unit.

マスタ権を受け取った通信制御装置S37,38は今まで出力指示はしていなかったが、上記で説明したように常に最新データを設定されているため、プラント装置8に対して異常な値を出力をすることなく、処理を継続する事が可能となる。   The communication control devices S37 and S38 that have received the master right have not instructed output until now, but since the latest data is always set as described above, an abnormal value is output to the plant device 8. It is possible to continue the processing without doing.

しかしながら、このマスタ切替えを行う際、シリアル回線上に多数の入出力用ユニットが存在する場合において、順次切替をしていたのではシステム全体での系切替に時間を要してしまい、プラント装置が要求する時間内に系切替が終了できなくなる恐れがある。   However, when performing this master switching, when there are a large number of input / output units on the serial line, if the switching is performed sequentially, it takes time for the system switching in the entire system, and the plant apparatus There is a risk that system switching cannot be completed within the requested time.

図5は、図4の構成においてCPUのマスタ権変更が発生したことを、シリアル回線で接続される装置に一斉に通知するための具体例を示す。   FIG. 5 shows a specific example for simultaneously reporting to the devices connected via the serial line that a change in the master right of the CPU has occurred in the configuration of FIG.

紙面の都合上図4中のユニット13およびユニット15を抜き出して、詳細を記述したものである。なお、入力装置53,55は図5では省略している。   For the sake of space, the unit 13 and the unit 15 in FIG. 4 are extracted and described in detail. Note that the input devices 53 and 55 are omitted in FIG.

CPU22がマスタ/スタンバイ何れの状態であるかを示す信号をパラレルバス63上にマスタ信号632として設ける。そして、パラレルバス63に直接接続する出力装置
43は、マスタ信号632がオンの場合には、情報転送用信号631で伝送されたデータをプラント装置8へ出力する。
A signal indicating whether the CPU 22 is in a master / standby state is provided as a master signal 632 on the parallel bus 63. The output device 43 directly connected to the parallel bus 63 outputs the data transmitted by the information transfer signal 631 to the plant device 8 when the master signal 632 is on.

CPU22がスタンバイ(マスタ信号632がオフ)の場合は、安全停止要求信号同様に出力を保持またはクリアするものとする。   When the CPU 22 is on standby (the master signal 632 is off), the output is held or cleared in the same manner as the safety stop request signal.

通信制御装置33はパラレルバス63のマスタ信号632の内容をシリアルバスのフレーム72中にマスタ/スタンバイ設定フラグ(MS)721に反映する。   The communication control device 33 reflects the contents of the master signal 632 of the parallel bus 63 in the master / standby setting flag (MS) 721 in the frame 72 of the serial bus.

このマスタ/スタンバイ設定フラグ721を同一シリアル回線上に接続される全て通信制御装置Sが毎受信時確認することで、複数のユニットが同時に系切替を認識することが可能となる。   All the communication control devices S connected on the same serial line check the master / standby setting flag 721 at the time of reception, so that a plurality of units can recognize system switching at the same time.

信号およびフラグの冗長化や、パルス状の信号にすることが可能であるのは、前述の安全停止要求信号と同じである。   Signals and flags can be made redundant and pulsed signals are the same as the safety stop request signal described above.

図6は今までに述べた安全停止要求信号とマスタ信号の両方をサポートした場合のシリアル回線のフレーム構成例である。   FIG. 6 shows a frame configuration example of a serial line when both the safe stop request signal and the master signal described so far are supported.

データ送受信フレーム73は図2のシリアルバスフレーム71と図5のシリアルバスフレーム72の両方実装したものである。   The data transmission / reception frame 73 includes both the serial bus frame 71 of FIG. 2 and the serial bus frame 72 of FIG.

フレーム内に専用のフラグを設けた場合、該当ビットが変化すると誤動作につながる恐れがある。これを防止する為にフレーム内にチェックコードを設けているが、更に該当フラグがある規定回数保持されることを確認してから、要求を受け付けることで誤動作を防止する効果がある。   In the case where a dedicated flag is provided in the frame, there is a risk of malfunction if the corresponding bit changes. In order to prevent this, a check code is provided in the frame. Further, after confirming that the corresponding flag is held a predetermined number of times, there is an effect of preventing a malfunction by accepting the request.

また、専用ブロードキャストフレーム74は、上記とは別の実現方法としてのシリアル転送用フレーム構成例を示すものである。   The dedicated broadcast frame 74 shows an example of a frame structure for serial transfer as an implementation method different from the above.

安全停止要求やマスタ権切替の要求が発生した場合に、通信制御装置Pにてシリアル回線を介して接続される全通信制御装置Sへ専用コマンドをブロードキャストで通知することを可能とする。   When a safety stop request or a master right switching request is generated, the communication control device P can broadcast a dedicated command to all the communication control devices S connected via a serial line.

更には、安全通信コマンドフレーム75のように、送信元キー751および受信先キー752を設け、専用コマンドに対するハンドシェークを実施することで、より確実な指示が可能となる。   Furthermore, as in the case of the safety communication command frame 75, a transmission source key 751 and a reception destination key 752 are provided, and a more reliable instruction can be performed by performing handshaking for the dedicated command.

図7は図4の構成において、CPU22とCPU23のマスタ動作が切替わったときに、コマンドを用いてシリアル回線に接続される全ての通信制御装置Sへ一斉にマスタ権を変更する場合の実施例を示す。   FIG. 7 shows an embodiment in which the master right is changed to all the communication control devices S connected to the serial line by using a command when the master operations of the CPU 22 and the CPU 23 are switched in the configuration of FIG. Indicates.

CPU22からCPU23へマスタ権を移行する場合、CPU22に接続されるマスタ信号632はオフ(図7中Low出力)となり、CPU23に接続されるマスタ信号652はオン(図7中High出力)となる。   When the master right is transferred from the CPU 22 to the CPU 23, the master signal 632 connected to the CPU 22 is turned off (Low output in FIG. 7), and the master signal 652 connected to the CPU 23 is turned on (High output in FIG. 7).

この切替えを行う際、新たにマスタ権を得たCPU23は、二重化制御バス91を介して受け取った出力データをtq0からtq1の間に通信制御装置P36へ転送することで先ず出力データを一致化させる処理を実施する。そして、その後パラレルバス64上のマスタ信号652をオンにする。   When this switching is performed, the CPU 23 which has newly obtained the master right first matches the output data by transferring the output data received via the duplex control bus 91 to the communication control device P36 between tq0 and tq1. Perform the process. Thereafter, the master signal 652 on the parallel bus 64 is turned on.

以下、CPU23に接続される通信制御装置P36とシリアル回線72を介して接続される通信制御装置S37,38がパラレルバス65,66へマスタ信号を出力するまでの動作手順を説明する。   Hereinafter, the operation procedure until the communication control devices S37 and S38 connected via the serial line 72 with the communication control device P36 connected to the CPU 23 output the master signal to the parallel buses 65 and 66 will be described.

時刻tq1でCPU23からのマスタ信号オンを受信すると、通信制御装置P36は、内部の通信データメモリ及びマスタ設定レジスタが不用意に書き換えられないよう、時刻tq2にてプロテクト信号をオンにする。   When receiving the master signal ON from the CPU 23 at the time tq1, the communication control device P36 turns on the protect signal at the time tq2 so that the internal communication data memory and the master setting register are not inadvertently rewritten.

そして、最新の出力データをシリアル回線72上に接続される全通信制御装置S(37,38)へ伝送しその後、マスタ権設定を行う。   Then, the latest output data is transmitted to all the communication control devices S (37, 38) connected on the serial line 72, and then the master right is set.

以降、通信制御装置P36と通信制御装置S37,38間の伝送フレームをコマンド
(指令)、送信元を示す送信キー(SendKey)、受信先を示す受信キー(Rcv.Key)および転送情報(DataまたはStatus)で示す。
Thereafter, a transmission frame between the communication control device P36 and the communication control devices S37 and 38 is a command (command), a transmission key (SendKey) indicating a transmission source, a reception key (Rcv.Key) indicating a reception destination, and transfer information (Data or Status).

時刻tc10で通信制御装置37へ出力データ設定指令QD(37,DATA1)を伝送する。   At time tc10, output data setting command QD (37, DATA1) is transmitted to communication control device 37.

Figure 2008009794
Figure 2008009794

出力データ設定指令QD(37,DATA1)は、データ出力要求コマンド(QD),送信キー(SendKey=36),受信キー(Rcv.Key=37),出力データ(Data1)からなる。   The output data setting command QD (37, DATA1) includes a data output request command (QD), a transmission key (SendKey = 36), a reception key (Rcv.Key = 37), and output data (Data1).

通信制御装置S37は、出力データ設定指令QD(37,DATA1)の受信キー(Rcv.Key=37)から自局への要求であると認識し、受信したデータを出力装置45へ送信するためのバッファへ格納する。   The communication control device S37 recognizes that it is a request from the reception key (Rcv.Key = 37) of the output data setting command QD (37, DATA1) to its own station, and transmits the received data to the output device 45. Store to buffer.

同様に、時刻tc11で通信制御装置38へ出力データ設定指令QD(38,DATA2)を伝送する。   Similarly, an output data setting command QD (38, DATA2) is transmitted to the communication control device 38 at time tc11.

Figure 2008009794
Figure 2008009794

出力データ設定指令QD(38,DATA2)は、データ出力要求コマンド(QD),送信キー(SendKey=36),受信キー(Rcv.Key=38),出力データ(Data2)からなる。   The output data setting command QD (38, DATA2) includes a data output request command (QD), a transmission key (SendKey = 36), a reception key (Rcv.Key = 38), and output data (Data2).

通信制御装置S38は、出力データ設定指令QD(38,DATA2)の受信キー
(Rcv.Key=38)から自局への要求であると認識し、受信したデータを出力装置46へ送信するためのバッファへ格納する。
The communication control device S38 recognizes that the request is received from the reception key (Rcv.Key = 38) of the output data setting command QD (38, DATA2) and transmits the received data to the output device 46. Store to buffer.

なお、tc10およびtc11の送信データを確実に受け取った事を確認するために、通信制御装置Pと通信制御装置Sの間で、ハンドシェークを行うことで、より伝送の信頼性を上げる事ができるが、ここでは出力データ送信のみの例を示している。   In addition, in order to confirm that the transmission data of tc10 and tc11 has been reliably received, the transmission reliability can be further improved by performing a handshake between the communication control device P and the communication control device S. Here, an example of only output data transmission is shown.

tc12以降の、マスタ権切替処理においては、ハンドシェークを用いた例を示す。   In the master right switching process after tc12, an example using handshaking is shown.

時刻tc12で通信制御装置37へマスタ権設定指令R(37,MST)を伝送する。   At time tc12, a master right setting command R (37, MST) is transmitted to the communication control device 37.

Figure 2008009794
Figure 2008009794

マスタ権設定指令R(37,MST)は、マスタ権設定要求コマンド(MST),送信キー(SendKey=36),受信キー(Rcv.Key=37)からなる。   The master right setting command R (37, MST) includes a master right setting request command (MST), a transmission key (SendKey = 36), and a reception key (Rcv.Key = 37).

通信制御装置S37は、マスタ権設定指令R(37,MST)の受信キー(Rcv.Key=37)から自局への要求であると認識し、マスタ権設定指令に対するエコーE(37,
MST)をシリアル回線72へ出力する。
The communication control device S37 recognizes that it is a request from the reception key (Rcv.Key = 37) of the master right setting command R (37, MST) to its own station, and echo E (37, MST) for the master right setting command.
MST) is output to the serial line 72.

Figure 2008009794
Figure 2008009794

マスタ権設定指令に対するエコーE(37,MST)は、マスタ権設定要求コマンド
(MST),送信キー(SendKey=37),受信キー(Rcv.Key=36)からなる。
The echo E (37, MST) for the master right setting command includes a master right setting request command (MST), a transmission key (SendKey = 37), and a reception key (Rcv.Key = 36).

通信制御装置S37からのマスタ権設定指令に対するエコーを受信すると、通信制御装置P36は、送信コマンドと受信コマンドが一致しているかコマンド照合を行う。このとき不一致が発生した場合は、時刻tq3で自系CPU23へ異常報告する。もちろん必要に応じた回数のリトライを実行することは可能である。   Upon receiving an echo for the master right setting command from the communication control device S37, the communication control device P36 performs command verification to determine whether the transmission command and the reception command match. If a mismatch occurs at this time, an abnormality is reported to the own CPU 23 at time tq3. Of course, it is possible to execute as many retries as necessary.

また、コマンド照合結果が正常であった場合、次に接続される通信制御装置S38へマスタ権設定指令R(38,MST)を送信する。   If the command verification result is normal, a master right setting command R (38, MST) is transmitted to the next communication control device S38.

通信制御装置S38からのエコー応答E(38,MST)を受信し、コマンド照合が正常であることを確認すると、全ての通信制御装置S(37,38)が正常にコマンドを受信したことを確認できた為、時刻tc16で一斉切替指令R(ALL,CNG)を発行する。   When the echo response E (38, MST) is received from the communication control device S38 and it is confirmed that the command verification is normal, it is confirmed that all the communication control devices S (37, 38) have received the command normally. As a result, the simultaneous switching command R (ALL, CNG) is issued at time tc16.

Figure 2008009794
Figure 2008009794

これは、自系シリアル回線72に接続される全ての通信制御装置Sに対して、各通信制御装置S自身へマスタ権を設定し、接続されるパラレルバスにマスタ信号をオン出力することを要求するものであり、前述の一斉切替フレーム(図6)を使用することで実現する。   This requires that all communication control devices S connected to the own system serial line 72 set the master right for each communication control device S itself and turn on the master signal to the connected parallel bus. This is realized by using the aforementioned simultaneous switching frame (FIG. 6).

各通信制御装置S37,38は、先に設定された最新の出力データを出力装置45,
46へ伝送する。
Each of the communication control devices S37, 38 receives the latest output data set previously as the output device 45,
46.

これにより、出力データの継続性を確保する事が出来る。   Thereby, continuity of output data can be ensured.

各マスタ権設定指令にて順次通信制御装置Sを切替えることも可能であるが、ここではより確実に同時に切替える手段を示している。   Although it is possible to sequentially switch the communication control device S by each master right setting command, here, means for switching more reliably at the same time is shown.

また、マスタ権設定が要求どおりに実現しているかを確認する為に、時刻tc17,
tc19でステータス確認指令を発行する。
In order to check whether the master right setting is realized as requested, the time tc17,
A status confirmation command is issued at tc19.

時刻Tc17で発行しているステータス確認指令R(37,STR)を下記に示す。   The status confirmation command R (37, STR) issued at time Tc17 is shown below.

Figure 2008009794
Figure 2008009794

ステータス確認指令R(37,STR)は、ステータス確認要求コマンド(STR),送信キー(SendKey=36),受信キー(Rcv.Key=37)からなる。   The status confirmation command R (37, STR) includes a status confirmation request command (STR), a transmission key (SendKey = 36), and a reception key (Rcv.Key = 37).

通信制御装置S37は、ステータス確認指令R(37,STR)の受信キー(Rcv.Key=37)から自局への要求であると認識し、ステータス確認指令に対する応答A(37,STS)をシリアル回線72へ出力する。   The communication control device S37 recognizes that the request is received from the reception key (Rcv.Key = 37) of the status confirmation command R (37, STR) to the own station, and serially sends a response A (37, STS) to the status confirmation command. Output to line 72.

Figure 2008009794
Figure 2008009794

ステータス確認指令に対する応答A(37,STS)は、ステータス確認要求コマンド(STR),送信キー(SendKey=37),受信キー(Rcv.Key=36),ステータス情報(Status=Master)からなる。   The response A (37, STS) to the status confirmation command includes a status confirmation request command (STR), a transmission key (SendKey = 37), a reception key (Rcv.Key = 36), and status information (Status = Master).

通信制御装置P36は、通信制御装置Sのステータス確認結果がマスターになっていない場合、自系CPU23へ異常報告する。この必要に応じてリトライを行うことは可能である。   If the status confirmation result of the communication control device S is not the master, the communication control device P36 reports an abnormality to the own CPU 23. It is possible to retry as needed.

通信制御装置P36は、自系シリアル回線72に接続される全ての通信制御装置Sがマスター状態になっていることを確認したら、ステータス照合完了時刻tq9に内部のプロテクトを解除する。   When the communication control device P36 confirms that all the communication control devices S connected to the local serial line 72 are in the master state, the communication control device P36 releases the internal protection at the status verification completion time tq9.

なお、図7中の通信タイマ1は通信制御装置P36と通信制御装置S37,38間の1対1の通信タイムアウトを検出する手段である。例えば、時刻tc12でコマンドを送信したのち、一定時間内にコマンド受信エコーバックが来なければ、タイムアウトとし、適宜リトライや異常報告を行う。   Note that the communication timer 1 in FIG. 7 is means for detecting a one-to-one communication timeout between the communication control device P36 and the communication control devices S37 and S38. For example, after a command is transmitted at time tc12, if a command reception echo back does not come within a certain time, a timeout is set and a retry or abnormality report is performed as appropriate.

同様に通信タイマ2は、通信制御装置P36と通信制御装置S37,38間における通信タイムアウト監視であるが、ここでは、通信制御装置P36に接続される全ての通信制御装置S37と38からの応答が来るまでの時間を監視するものである。   Similarly, the communication timer 2 is a communication timeout monitoring between the communication control device P36 and the communication control devices S37 and 38, but here, responses from all the communication control devices S37 and 38 connected to the communication control device P36 are received. The time to come is monitored.

なお、ここでは、マスタに切替える系の動作のみ説明したが、スタンバイに切替える系も同様である。各ユニットに実装される通信制御装置S間は、二重化制御信号を介してマスタ権の受け渡しを行う。   Although only the operation of the system that switches to the master has been described here, the system that switches to the standby is the same. The master right is transferred between the communication control devices S mounted in each unit via a duplex control signal.

また、前述の安全停止要求の場合も、図7と同様な手順を用いることで安全通信を用いた一括停止要求を実現することができる。   Also in the case of the above-described safety stop request, a collective stop request using safety communication can be realized by using the same procedure as in FIG.

本発明における典型的なプログラマブル電子装置の構成例を示す。1 illustrates an exemplary configuration of a typical programmable electronic device according to the present invention. 図1の構成において、本発明の安全停止を一斉通知するための手段を示す。In the configuration of FIG. 1, means for simultaneously reporting the safety stop of the present invention is shown. システムの起動/停止の手順を示す。The procedure for starting / stopping the system is shown. 図1の構成をベースに、二重化構成とした場合の例を示す。An example of a duplex configuration based on the configuration of FIG. 1 is shown. 図4の構成において、本発明のマスタ切替要求を一斉通知するための手段を示す。In the configuration of FIG. 4, means for simultaneously notifying the master switching request of the present invention is shown. 本発明を実現する手段としての、シリアル回線のフレーム構成例を示す。An example of a frame structure of a serial line as means for realizing the present invention will be shown. 安全通信を用いたマスタ系切替時の実施例を示す。An embodiment at the time of switching the master system using safety communication will be described.

符号の説明Explanation of symbols

7…シリアル回線、8…プラント装置、11,12…ユニット、21…中央演算記憶装置(CPU)、31…通信制御装置P、32…通信制御装置S、41,42…出力装置、51,52…入力装置、61,62…パラレスバス、612,622…安全停止要求信号。
DESCRIPTION OF SYMBOLS 7 ... Serial line, 8 ... Plant apparatus, 11, 12 ... Unit, 21 ... Central processing unit (CPU), 31 ... Communication control apparatus P, 32 ... Communication control apparatus S, 41, 42 ... Output device, 51, 52 ... Input device 61, 62 ... Parallel bus, 612,622 ... Safe stop signal.

Claims (9)

制御装置と、制御対象とデータを授受する複数の接続装置を有し、前記制御装置は、前記複数の接続装置のうちの一方の一部と、少なくとも一部はパラレル伝送となる通信回線を介して制御対象についてのデータを授受し、前記制御装置は、前記複数の接続装置のうちの他方の一部と、前記の通信回線に加え、少なくとも一部はシリアル回線となる第1の通信回線を介して制御対象についてのデータを送受信するプログラマブル電子装置において、前記制御装置から、前記第1の通信回線を介して接続された接続装置に情報が伝達されるように、状態切替信号を同時通報的に通知することが可能に構成されることを特徴とするプログラマブル電子装置。   A control device, and a plurality of connection devices that exchange data with a control target. The control device is connected to a part of one of the plurality of connection devices and a communication line that is at least a part for parallel transmission. The control device transmits a first communication line that is a serial line in addition to the communication line and the other part of the plurality of connection devices. In a programmable electronic device that transmits and receives data about a controlled object via the control device, a status switching signal is transmitted simultaneously so that information is transmitted from the control device to a connection device connected via the first communication line. A programmable electronic device characterized in that it can be notified to 請求項1において、前記同時通報的な通知は、一斉通知であることを特徴とするプログラマブル電子装置。   The programmable electronic device according to claim 1, wherein the simultaneous notification is a simultaneous notification. 請求項1において、状態切替信号として安全停止要求信号を持つことを特徴とするプログラマブル電子装置。   The programmable electronic device according to claim 1, further comprising a safety stop request signal as a state switching signal. 請求項1において、状態切替信号としてハードウェア冗長化時の系切替要求信号を持つことを特徴とするプログラマブル電子装置。   The programmable electronic device according to claim 1, further comprising a system switching request signal at the time of hardware redundancy as the state switching signal. 請求項1乃至4のいずれかにおいて、シリアル回線のフレームの共通部に状態切替信号用のビットを設け、一斉同報通信することを特徴とするプログラマブル電子装置。   5. The programmable electronic device according to claim 1, wherein a bit for a state switching signal is provided in a common part of a serial line frame to perform simultaneous broadcast communication. 請求項1乃至4のいずれかにおいて、シリアル回線のフレームのコマンドに新たな状態切替のコマンドコードを設け、そのコマンド命令により一斉同報通信することを特徴とするプログラマブルな電子装置。   5. The programmable electronic device according to claim 1, wherein a command code for switching a new state is provided in a serial line frame command, and broadcast communication is performed in accordance with the command command. 請求項1乃至4のいずれかにおいて、シリアル回線のフレームの共通部に状態切替信号用のビットを複数設け、一斉通信による状態切替制御対象範囲を分類し、段階的な状態切替を可能とすることを特徴とするプログラマブルな電子装置。   5. The method according to claim 1, wherein a plurality of bits for a state switching signal are provided in a common part of a serial line frame, and a state switching control target range by simultaneous communication is classified to enable stepwise state switching. A programmable electronic device characterized by 請求項1において、前記制御装置から、前記一部はパラレル伝送となる通信回線を介して接続された接続装置、及び、前記第1の通信回線と共に前記一部はパラレル伝送となる通信回線を介して接続された接続装置に情報が伝達されるように構成されることを特徴とするプログラマブル電子装置。   2. The control device according to claim 1, wherein the part is connected via a communication line that is parallel transmission, and the part is connected via the communication line that is parallel transmission together with the first communication line. A programmable electronic device configured to transmit information to a connected connection device. 制御装置が、複数の接続装置のうちの一方の一部と、少なくとも一部はパラレル伝送となる通信回線を介して制御対象についてのデータを授受し、前記制御装置が、前記複数の接続装置のうちの他方の一部と、前記通信回線に加えて少なくとも一部はシリアル回線となる第1の通信回線を介して制御対象についてのデータを送受信し、前記制御装置から、前記第1の通信回線を介して接続された接続装置に情報が伝達されるように、状態切替信号を同時通報的に通知するプログラマブル電子装置の通信制御方法。



The control device exchanges data about a control target with a part of one of the plurality of connection devices, and at least a part of the connection target via a communication line that is parallel transmission. Data about a control target is transmitted / received to / from the other part of the first communication line via a first communication line that is a serial line in addition to the communication line, and the first communication line is transmitted from the control device. The communication control method of the programmable electronic apparatus which notifies a state switching signal in a simultaneous report so that information may be transmitted to the connection apparatus connected via this.



JP2006180648A 2006-06-30 2006-06-30 Programmable electronic controller, and communication control method for programmable electronic apparatus Withdrawn JP2008009794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006180648A JP2008009794A (en) 2006-06-30 2006-06-30 Programmable electronic controller, and communication control method for programmable electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006180648A JP2008009794A (en) 2006-06-30 2006-06-30 Programmable electronic controller, and communication control method for programmable electronic apparatus

Publications (1)

Publication Number Publication Date
JP2008009794A true JP2008009794A (en) 2008-01-17

Family

ID=39067931

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006180648A Withdrawn JP2008009794A (en) 2006-06-30 2006-06-30 Programmable electronic controller, and communication control method for programmable electronic apparatus

Country Status (1)

Country Link
JP (1) JP2008009794A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015036287A (en) * 2013-08-14 2015-02-23 株式会社日立製作所 External interface device control system and external interface device control method
JP2017518552A (en) * 2014-03-25 2017-07-06 シリコン グラフィックス インターナショナル コーポレイション High-speed serial link in-band lane failover for RAS and power management
JP2017216652A (en) * 2016-06-02 2017-12-07 株式会社日立製作所 Communication device
JP6635238B1 (en) * 2019-03-11 2020-01-22 三菱電機株式会社 Safety control device and safety control system
JP2020154757A (en) * 2019-03-20 2020-09-24 株式会社デンソーウェーブ Apparatus for output control

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06124104A (en) * 1992-08-26 1994-05-06 Omron Corp Remote i/o system for programmable controller
JP2004078425A (en) * 2002-08-13 2004-03-11 Fuji Electric Holdings Co Ltd Duplex switching method of duplex control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06124104A (en) * 1992-08-26 1994-05-06 Omron Corp Remote i/o system for programmable controller
JP2004078425A (en) * 2002-08-13 2004-03-11 Fuji Electric Holdings Co Ltd Duplex switching method of duplex control system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015036287A (en) * 2013-08-14 2015-02-23 株式会社日立製作所 External interface device control system and external interface device control method
JP2017518552A (en) * 2014-03-25 2017-07-06 シリコン グラフィックス インターナショナル コーポレイション High-speed serial link in-band lane failover for RAS and power management
JP2017216652A (en) * 2016-06-02 2017-12-07 株式会社日立製作所 Communication device
JP6635238B1 (en) * 2019-03-11 2020-01-22 三菱電機株式会社 Safety control device and safety control system
WO2020183559A1 (en) * 2019-03-11 2020-09-17 三菱電機株式会社 Safety control device and safety control system
JP2020154757A (en) * 2019-03-20 2020-09-24 株式会社デンソーウェーブ Apparatus for output control

Similar Documents

Publication Publication Date Title
JP3925660B2 (en) Communication master station startup control method
US8032793B2 (en) Method of controlling information processing system, information processing system, direct memory access control device and program
JP4558519B2 (en) Information processing apparatus and system bus control method
JP6340962B2 (en) Bus control device, data transfer system, and bus control method
US8799708B2 (en) Information processing apparatus, control device, and abnormal unit determination method
EP2413484A2 (en) Safety control system
JP2015153075A (en) Transmission equipment and control unit
CN105637433A (en) Control device and control method
CN104679610B (en) Management method and device of computer system
WO2006114822A1 (en) Dma controller, node, data transfer control method, and program
JP2011070282A (en) Communication system, master device and slave device
JP2008009794A (en) Programmable electronic controller, and communication control method for programmable electronic apparatus
CN112099412B (en) Safety redundancy architecture of micro control unit
JP5407230B2 (en) PCI card, motherboard, PCI bus system, control method, and program
JP5966181B2 (en) Redundant device and power supply stopping method
JP5706347B2 (en) Redundant control system
JP2006139634A (en) Equipment management device, communication channel diagnosis device, and equipment management method
CN109491842B (en) Signal pairing for module extension of fail-safe computing systems
WO2011074147A1 (en) Redundant control device
RU2705421C1 (en) Method of transmitting data over a bus, a communication system for realizing said method and an automatic protection device for preventing an emergency situation at a control object
JP6976235B2 (en) System switching control system
JPH09114507A (en) Duplex system for programmable logic controller
JP4407838B2 (en) Communication master station startup control method
JP5145860B2 (en) Redundant memory system and information processing apparatus
JP4788597B2 (en) Programmable controller redundant system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080603

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100330

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100331

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20100423