JP4816961B2 - Safety Remote I/O Terminal - Google Patents
Safety Remote I/O Terminal Download PDFInfo
- Publication number
- JP4816961B2 JP4816961B2 JP2007156914A JP2007156914A JP4816961B2 JP 4816961 B2 JP4816961 B2 JP 4816961B2 JP 2007156914 A JP2007156914 A JP 2007156914A JP 2007156914 A JP2007156914 A JP 2007156914A JP 4816961 B2 JP4816961 B2 JP 4816961B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- output data
- terminal
- safety
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Programmable Controllers (AREA)
Description
この発明は、ネットワークを介して安全プログラマブルコントローラ(以下、安全PLCという)に接続される安全リモートI/Oターミナルに関する。 This invention relates to a safety remote I/O terminal that is connected to a safety programmable controller (hereinafter referred to as a safety PLC) via a network.
安全PLCは、一般的なPLCに類似するロジック演算機能、入出力制御機能に加えて、安全面の自己診断機能を内蔵することにより、その制御において高度な安全性及び信頼性を確保したものであり、自己診断結果による異常を検出した場合には、自己の制御が危険に繋がらないように、強制的に安全な制御を行うような機能(フェールセーフ機能)を備えている。 In addition to logic calculation functions and input/output control functions similar to those of general PLCs, safety PLCs incorporate a safety self-diagnosis function to ensure a high level of safety and reliability in their control. If an abnormality is detected as a result of self-diagnosis, the safety PLC has a function (fail-safe function) that forcibly performs safe control to prevent its own control from leading to danger.
ここに言う安全は、より具体的には、規格化されている安全基準を含む意味である。安全規格には、例えばIEC61508やEN規格などがある。IEC61508(プログラム可能な電子システムの機能安全に関する国際電気標準委員会)では、時間当たりの危険故障確率を(失敗確率:Probability Of Failure per Hour)を定義し、この確率によってSILのレベルを(Safety Integrity Level)を4段階に分類している。また、EN規格では、機械のリスクの大きさを評価し、リスク低減策を講じるように義務づけられていて、EN954−1では5つの安全カテゴリにて規定されている。この明細書で言う安全PLC、安全リモートI/Oターミナルなどは、このような安全基準の何れかに対応したものである。 More specifically, safety here includes standardized safety standards. Examples of safety standards include IEC 61508 and EN standards. IEC 61508 (International Electrotechnical Commission on Functional Safety of Programmable Electronic Systems) defines the probability of dangerous failure per hour (Probability of Failure per Hour) and classifies the SIL level (Safety Integrity Level) into four levels based on this probability. In addition, the EN standard requires that the level of risk of the machine be evaluated and measures to reduce the risk be taken, and EN 954-1 specifies five safety categories. The safety PLC and safety remote I/O terminals referred to in this specification correspond to one of these safety standards.
このような安全PLCシステムの基本構成図が図16に示されている。同図に示されるように、この安全PLCシステムは、安全PLC1と安全リモートI/Oターミナル2とをネットワーク4で結んで構成される。安全リモートI/Oターミナル2には、入力端子(IN0〜INn)と出力端子(OUT0〜OUTn)が設けられている。これらの入出力端子には、入力機器5と出力機器6とが接続される。ここで、当業者には良く知られているように、入力機器5としては、安全非常停止スイッチ、安全ライトカーテン、安全リミットスイッチ、安全ドアスイッチなどを挙げることができ、出力機器6としては、安全リレー、安全コンタクタなどを挙げることができる。
The basic configuration of such a safety PLC system is shown in FIG. 16. As shown in the figure, this safety PLC system is configured by connecting a
入力機器5のON/OFF状態は、入力データとして安全PLC1の側へと送信される。安全PLC1の側では、受信した入力データに基づいて予めプログラムされた所定のロジック演算を実行することにより、出力データを生成する。こうして得られた出力データは、安全リモートI/Oターミナルへと送信される。安全リモートI/Oターミナル2の側では、そのような出力データを受信すると共に、こうして受信された出力データに基づいて出力端子(OUT0〜OUTn)の状態を制御する。このような一連のデータの流れを通じて、出力端子(OUT0〜OUTn)の状態を制御するのである。
The ON/OFF state of the
すなわち、安全リモートI/Oターミナルの出力端子(OUT0〜OUTn)のON/OFF状態は、安全PLC1から送信される出力データの内容によって一義的に決定される。そのため、安全リモートI/Oターミナル2の出力端子(OUT0〜OUTn)の状態を制御するには、常に、安全PLC1の側で何らかの演算プログラムを作成する必要があり、その分だけ、安全PLC1の側の演算プログラムが複雑にならざるを得ないという問題点があった(特許文献1参照)。
上述の問題点を解決するためには、安全リモートI/Oターミナル2の側においても、任意に演算プログラムを組み込むと共に、こうして組み込まれた演算プログラムに基づいて生成された出力データを、安全リモートI/Oターミナル2の出力端子(OUT0〜OUTn)から出力することが考えられる。
To solve the above problems, it is conceivable to incorporate an arbitrary calculation program into the safety remote I/
しかし、このように安全リモートI/Oターミナル2の側にも演算プログラムを組み込んで、独自に出力データの生成を可能とすると、こうして得られた出力データをどのようにして出力端子(OUT0〜OUTn)に出力させるべきかが問題となる。
However, if an arithmetic program is also built into the safety remote I/
すなわち、安全リモートI/Oターミナル2の側の出力端子(OUT0〜OUTn)は、安全PLC1の側に組み込まれた演算プログラムと一義的に紐付けされているため、安全リモートI/Oターミナル2の側で生成された出力データを不用意に自己の出力端子(OUT0〜OUTn)に出力すれば、安全PLC1の側と安全リモートI/Oターミナル2との側で出力データの競合が生じてしまう。
In other words, the output terminals (OUT0 to OUTn) on the safety remote I/
このような競合を避けるために、ターミナル側専用の出力端子を増設すれば、その分だけ安全リモートI/Oターミナル製品のコストアップに繋がると共に、出力端子選択の自由度を損ねる結果ともなる。 If an output terminal dedicated to the terminal side is added to avoid such conflicts, this will increase the cost of the safety remote I/O terminal product and reduce the freedom of output terminal selection.
この発明は、このような従来の問題点に着目してなされたものであり、その目的とするところは、安全PLCの演算プログラムを操作することなく、安全リモートI/Oターミナルの側から任意の出力データを出力させることができると共に、同一の出力端子を両者間で出力データの競合が生ずることなく、安全PLCの側と安全リモートI/Oターミナルとの間で共用することにより、ハードウェアの増設に伴うコストアップを生ずることがないようにした新規な安全リモートI/Oターミナルを提供することにある。 This invention was made with an eye on these conventional problems, and its purpose is to provide a new safety remote I/O terminal that allows any output data to be output from the safety remote I/O terminal without operating the calculation program of the safety PLC, and that avoids the increased costs associated with the addition of hardware by sharing the same output terminal between the safety PLC and the safety remote I/O terminal without causing output data conflicts between the two.
この発明のさらに他の目的並びに作用効果については、明細書の以下の記述を参照することにより、当業者であれば容易に理解されるはずである。 Further objects and effects of the present invention will be readily understood by those skilled in the art by referring to the following description of the specification.
上述の技術的な課題は、以下の構成を有する安全リモートI/Oターミナルによって解決することができる。 The above technical problems can be solved by a safety remote I/O terminal having the following configuration:
すなわち、この安全リモートI/Oターミナルは、ネットワークを介して安全PLCと通信するための通信回路と、それぞれ出力機器が接続される1又は2以上の外部出力端子と、各外部出力端子のそれぞれごとに設けられ、その外部出力端子に接続される出力機器に対して出力信号を送出する出力回路と、各出力回路のそれぞれに送出されるべき出力データを格納するローカル向け出力データ用の出力データ記憶手段と、通信回路を介して安全PLCから受信される各出力端子ごとの出力データを格納する通信由来出力データ用の出力データ記憶手段と、自身の内部で生成された各出力端子ごとの又は各出力端子共通の出力データを格納する内部由来出力データ用の出力データ記憶手段と、各外部出力端子のそれぞれごとに、その外部出力端子の出力機能を設定してなる出力機能設定テーブルを書換可能に格納する出力機能設定テーブル記憶手段と、出力機能設定テーブル記憶手段に格納される出力機能設定テーブルの各外部出力端子の設定内容を参照し、その設定内容が通信由来出力データを出力すべき出力機能であるときには、通信由来出力データ用の出力データ記憶手段に格納された該当する外部出力端子の通信由来出力データをローカル向け出力データ用の出力データ記憶手段の該当する外部出力端子の格納箇所に格納する一方、その設定内容が内部由来出力データを出力すべき出力機能であるときには、内部由来出力データ用の出力データ記憶手段に格納された該当する外部出力端子の内部由来出力データをローカル向け出力データ用の出力データ記憶手段の該当する外部出力端子の格納箇所に格納するローカル出力切換手段と、ローカル向け出力データ用の出力データ記憶手段に格納された各出力データを該当する外部出力端子の出力回路のそれぞれへと送出する出力リフレッシュ手段と、を具備している。 That is, this safety remote I/O terminal includes a communication circuit for communicating with the safety PLC via a network, one or more external output terminals to which output devices are respectively connected, an output circuit provided for each of the external output terminals and sending an output signal to the output device connected to the external output terminal, an output data storage means for local output data that stores output data to be sent to each of the output circuits, an output data storage means for communication-originated output data that stores output data for each output terminal received from the safety PLC via the communication circuit, an output data storage means for internally-originated output data that stores output data for each output terminal or common to all output terminals that is generated internally, an output function setting table storage means that rewritably stores an output function setting table that sets the output function of each external output terminal for each external output terminal, and an output function The device includes a local output switching means for referencing the setting contents of each external output terminal in the output function setting table stored in the setting table storage means, and when the setting contents are an output function that should output communication-originated output data, storing the communication-originated output data of the corresponding external output terminal stored in the output data storage means for communication-originated output data in a storage location of the corresponding external output terminal in the output data storage means for local-directed output data, while when the setting contents are an output function that should output internally-originated output data, storing the internally-originated output data of the corresponding external output terminal stored in the output data storage means for internally-originated output data in a storage location of the corresponding external output terminal in the output data storage means for local-directed output data, and an output refresh means for sending each output data stored in the output data storage means for local-directed output data to each output circuit of the corresponding external output terminal.
このような構成によれば、通信回路を介して安全PLCから受信される各出力端子ごとの出力データは、通信由来出力用の出力データ記憶手段に、また自身の内部で生成された各出力端子ごとの又は各出力端子共通の出力データは内部由来出力データ用の出力データ記憶手段に格納されるものの、それらの出力データは、ローカル出力切換手段の作用によってローカル向け出力データ用の出力データ記憶手段に格納されない限り、出力リフレッシュ手段を介して該当する外部出力端子へは送出されないこととなる一方、ローカル向け出力データ用の出力データ記憶手段に対してどの出力データを格納すべきかは、各外部出力端子ごとの出力機能設定テーブルの内容によって決まるため、この出力機能設定テーブルの内容を所望の制御仕様に合わせて適宜に設定することによって、一連の外部出力端子を通信由来出力データ用と内部由来出力データ用とに使い分けることができる。そのため、同一の出力端子を安全PLCの側と安全リモートI/Oターミナルの側とで任意に共用できることから、端子台の増設などによるコストアップも回避することができる。 According to this configuration, the output data for each output terminal received from the safety PLC via the communication circuit is stored in the output data storage means for communication-originating output, and the output data for each output terminal or common to each output terminal generated internally is stored in the output data storage means for internally originating output data. However, unless the output data is stored in the output data storage means for local-directed output data by the action of the local output switching means, it is not sent to the corresponding external output terminal via the output refresh means. On the other hand, which output data should be stored in the output data storage means for local-directed output data is determined by the contents of the output function setting table for each external output terminal. Therefore, by appropriately setting the contents of this output function setting table according to the desired control specifications, a series of external output terminals can be used for communication-originating output data and internally originating output data. Therefore, the same output terminal can be shared arbitrarily between the safety PLC side and the safety remote I/O terminal side, and therefore costs due to the addition of terminal blocks can be avoided.
ここで、前記内部由来出力データとしては、様々なものを任意に採用することができる。例えば、内部由来出力データとして、自身の内部で任意にプログラムされたロジック演算の実行結果として得られる各出力端子ごとの出力データを採用すれば、安全PLC側の演算プログラムを操作せずとも、任意のロジック演算の実行結果として得られる出力データを、自身の任意の出力端子から出力させることができる。このため、高速応答性の必要から、通信を介することが不適切であるようなアプリケーションについては、これを内部ロジック演算で実行させることによって、安全品質を向上させることができる。 Here, various types of internally derived output data can be arbitrarily adopted. For example, if output data for each output terminal obtained as a result of executing a logic operation arbitrarily programmed within the device itself is adopted as the internally derived output data, the output data obtained as a result of executing an arbitrary logic operation can be output from any of the device's output terminals without manipulating the operation program on the safety PLC side. For this reason, for applications where communication is inappropriate due to the need for high-speed response, safety quality can be improved by executing the application via an internal logic operation.
また、内部由来出力データとして、自身の内部に固定的に組み込まれた所定処理にて生成される各出力端子に共通な補助出力データを採用すれば、特別な演算プログラムをユーザが組むことなく、単に補助出力データを指定ないし選択することだけで、任意の外部出力端子から所望の補助出力データを出力させることができる。 In addition, if auxiliary output data common to each output terminal, which is generated by a predetermined process fixedly built into the device itself, is used as the internal output data, the user can output the desired auxiliary output data from any external output terminal simply by specifying or selecting the auxiliary output data, without having to write a special calculation program.
このような補助出力データとしては様々なデータを採用することができる。例えば、このような補助出力データとして任意の出力端子の同値出力データを採用すれば、外部出力端子に接続されたコンタクタのON/OFF状態を報知ランプに表示させるようなアプリケーションに使用することができる。また、補助出力データとして任意の出力端子の反転値出力データを採用すれば、電磁ロックセーフティドアスイッチのロック解除信号を提供するアプリケーションに使用することができる。また、補助出力データとして、リセット要求のためにランプを点滅させるための出力データを採用すれば、安全非常停止スイッチ作動後の復帰のためのアプリケーションに使用することができる。また、補助出力データとして、当該ターミナルが運転中であるか否かを示す動作モードフラグに相当する出力データを採用すれば、従来同様な出力のために必要とされた、安全PLC側のプログラムが不要となる。さらに、補助出力データとして、当該ターミナルが正常状態であるか否かを示す状態フラグに相当する出力データを採用すれば、このような出力データをロボットに入力することによって、ロボット側はこの信号がONの時に運転、OFFの時に停止に移行するようなアプリケーションを構築することができる。 Various data can be used as such auxiliary output data. For example, if the same value output data of any output terminal is used as such auxiliary output data, it can be used in an application that displays the ON/OFF state of the contactor connected to the external output terminal on a notification lamp. If the inverted value output data of any output terminal is used as the auxiliary output data, it can be used in an application that provides an unlock signal for an electromagnetic lock safety door switch. If the output data for flashing a lamp to request a reset is used as the auxiliary output data, it can be used in an application for returning after the safety emergency stop switch is activated. If the output data corresponding to an operation mode flag indicating whether the terminal is in operation or not is used as the auxiliary output data, the program on the safety PLC side that was previously required for similar output becomes unnecessary. Furthermore, if the output data corresponding to a status flag indicating whether the terminal is in a normal state or not is used as the auxiliary output data, an application can be constructed in which the robot side operates when this signal is ON and stops when this signal is OFF by inputting such output data to the robot.
本発明によれば、安全PLC側から到来する通信由来出力データと競合することなく、自身の任意の外部出力端子に対して、自身の内部で生成された内部由来出力データを出力させることができるため、端子台増設などのハードウェア改変によるコストアップを来すことなく、この種の安全リモートI/Oターミナルの使い勝手を格段に向上させることができる。 According to the present invention, internally generated output data can be output to any external output terminal of the device without competing with communication-derived output data coming from the safety PLC, which significantly improves the ease of use of this type of safety remote I/O terminal without increasing costs through hardware modifications such as adding additional terminal blocks.
以下に、この発明に係る安全リモートI/Oターミナルの好適な実施の一形態を添付図面を参照しながら詳細に説明する。 Below, a preferred embodiment of the safety remote I/O terminal according to the present invention will be described in detail with reference to the attached drawings.
本発明が適用された安全PLCシステムの概略構成図が図1に示されている。同図に示されるように、この安全PLCシステムは、安全PLC1と、安全リモートI/Oターミナル2と、ノート型パソコンに所定のツールソフトを組み込むことによって構成されたプログラム開発支援装置3とをネットワーク4で結んで構成されている。
A schematic diagram of a safety PLC system to which the present invention is applied is shown in FIG. 1. As shown in the figure, this safety PLC system is configured by connecting a
そして、先に説明したように、安全PLC1には、入力機器5と出力機器6とが接続されると共に、安全リモートI/Oターミナル2にも入力機器5と出力機器6とが接続されている。これらの入力機器としては、安全非常停止スイッチ、安全ライトカーテン、安全リミットスイッチ、安全ドアスイッチなどを挙げることができる。また、出力機器6としては、安全リレー、安全コンタクタなどを挙げることができる。
As explained above, the
次に、安全リモートI/Oターミナル2の電気的ハードウェア構成を示すブロック図が図2に示されている。同図に示されるように、この安全リモートI/Oターミナル2は、ネットワーク4を介して安全PLC1(図1参照)と通信するための通信回路204と、それぞれ入力機器5が接続される1又は2以上の外部入力端子(IN0〜INn)と、それぞれ出力機器6が接続される1又は2以上の外部出力端子(OUT0〜OUTn)と、各外部入力端子のそれぞれごとに設けられ、その外部入力端子に接続される入力機器5からの入力信号を入力するための入力回路202と、各外部出力端子のそれぞれごとに設けられ、その外部出力端子に接続される出力機器6に対して出力信号を送出する出力回路203を有している。
2 is a block diagram showing the electrical hardware configuration of the safety remote I/
なお、表示回路205は当該ターミナルの動作状態を表示するランプや数値表示器などで構成されており、設定回路206は当該ターミナルの通信に必要なノードアドレス設定などに使用されるDIPスイッチなどを含んで構成される。
The
CPU201は、当該ターミナルの全体を統括制御するものであって、マイクロプロセッサ(MPU)201a、ROM201b、及びRAM201cを含んで構成される。ROM201bには、当該ターミナルとしての機能を実現するための各種システムプログラムの他に、ユーザの側で任意にプログラムされて組み込まれた各種のロジック演算プログラムや、後述する各種の補助出力データを生成するための固定プログラムなどが格納されている。このROM201bは、その一部がフラッシュメモリなどの不揮発性書換え可能な記録媒体で構成されており、その内部には、後述する出力機能設定テーブル、ユーザにより任意に作成されたロジック演算プログラムの他、ユーザにより書換え可能な任意のデータが格納されている。また、RAM201cは、マイクロプロセッサ(MPU)201aが、ROM201b内の各種のプログラムを実行する際のワークエリアなどとして使用される。
The
次に、各出力端子(OUT0〜OUTn)についての出力機能設定態様の説明図が図3に示されている。同図に示されるように、先に説明したROM201b内には、第1記憶領域(M1)が設けられており、この第1記憶領域(M1)には、出力機能設定テーブルTBが格納される。この出力機能設定テーブルTBは、各外部出力端子(OUT0〜OUTn)のそれぞれごとに、その外部出力端子の出力機能を設定してなるものである。
Next, FIG. 3 shows an explanatory diagram of the output function setting mode for each output terminal (OUT0 to OUTn). As shown in the figure, a first memory area (M1) is provided in the
ここで、出力機能としては、同図に表記されるように、安全PLCからの出力データ(通信由来出力データ)、ロジック演算(自身の内部で任意にプログラムされたロジック演算の実行結果として得られる各出力端子ごとの出力データ)、補助出力(自身の内部に固定的に組み込まれた補助出力機能の選択処理で生成される出力データ)を挙げることができる。 As shown in the figure, the output functions include output data from the safety PLC (output data derived from communication), logic operations (output data for each output terminal obtained as a result of executing logic operations arbitrarily programmed within the device), and auxiliary output (output data generated by the selection process of an auxiliary output function fixedly built into the device).
後に詳細に説明するように、この補助出力データとしては、任意の出力端子の同値出力データ、任意の出力端子の反転値出力データ、リセット要求のためにランプを点滅させるための出力データ、当該ターミナルが運転中であるか否かを示す動作モードフラグに相当する出力データ、当該ターミナルが正常状態であるか否かを示す状態フラグに相当する出力データが含まれている。 As will be described in detail later, this auxiliary output data includes equivalent output data of any output terminal, inverted value output data of any output terminal, output data for flashing a lamp to request a reset, output data corresponding to an operation mode flag indicating whether the terminal is in operation, and output data corresponding to a status flag indicating whether the terminal is in a normal state.
次に、RAM201cの所定エリアに展開される第2〜第5記憶領域の構成を示すメモリマップが図4に示されている。同図に示されるように、RAM201cの所定エリアには、第2記憶領域(M2)、第3記憶領域(M3)、第4記憶領域(M4)、及び第5記憶領域(M5)が設けられている。
Next, FIG. 4 shows a memory map showing the configuration of the second to fifth memory areas deployed in a predetermined area of
第2記憶領域(M2)は、各出力回路203のそれぞれに送出されるべき出力データを格納するローカル向け出力データ用の出力データ記憶手段として機能するものである。後述するように、この第2記憶領域(M2)に格納される出力データは、出力リフレッシュ処理の実行によって、該当する外部出力端子の出力回路のそれぞれへと送出される。
The second memory area (M2) functions as an output data storage means for local output data that stores the output data to be sent to each of the
第3記憶領域(M3)は、通信回路204を介して安全PLC1から受信される各出力端子(OUT0〜OUTn)ごとの出力データを格納する通信由来出力データ用の出力データ記憶手段として機能するものである。
The third memory area (M3) functions as an output data storage means for communication-derived output data that stores the output data for each output terminal (OUT0 to OUTn) received from the
これに対して、第4記憶領域(M4)及び第5記憶領域(M5)は、当該安全リモートI/Oターミナル自身の内部で生成された各出力端子(OUT0〜OUTn)ごとの又は全ての出力端子(OUT0〜OUTn)共通の出力データを格納する内部由来出力データ用の出力データ記憶手段として機能するものである。 In contrast, the fourth memory area (M4) and the fifth memory area (M5) function as output data storage means for internally derived output data that stores output data generated within the safety remote I/O terminal itself for each output terminal (OUT0 to OUTn) or common to all output terminals (OUT0 to OUTn).
そして、第4記憶領域(M4)には、当該安全リモートI/Oターミナル自身の内部で任意にプログラムされたロジック演算の実行結果として得られる各出力端子(OUT0〜OUTn)ごとの出力データを格納する内部ロジック演算由来の出力データ記憶手段として機能する。 The fourth memory area (M4) functions as an output data storage means derived from internal logic operations, which stores output data for each output terminal (OUT0 to OUTn) obtained as a result of executing logic operations arbitrarily programmed within the safety remote I/O terminal itself.
また、第5記憶領域(M5)は、当該安全リモートI/Oターミナル自身の内部に固定的に組み込まれた補助出力機能の選択処理にて生成される全出力端子(OUT0〜OUTn)に共通な補助出力データを格納するための補助出力演算由来の出力データ記憶手段として機能する。ここで、補助出力データとしては、任意の出力端子の同値出力データ、任意の出力端子の反転値出力データ、リセット要求のためにランプを点滅させるための出力データ、当該ターミナルが運転中であるか否かを示す動作モードフラグに相当する出力データ、当該ターミナルが正常状態であるか否かを示す状態フラグに相当する出力データが含まれている。 The fifth memory area (M5) functions as an output data storage means derived from auxiliary output calculations for storing auxiliary output data common to all output terminals (OUT0 to OUTn) generated by the selection process of the auxiliary output function fixedly incorporated inside the safety remote I/O terminal itself. Here, the auxiliary output data includes the same value output data of any output terminal, the inverted value output data of any output terminal, output data for flashing a lamp to request a reset, output data corresponding to an operation mode flag indicating whether the terminal is in operation or not, and output data corresponding to a status flag indicating whether the terminal is in a normal state or not.
次に、安全リモートI/Oターミナルの処理を示すゼネラルフローチャートが図5に示されている。同図に示されるように、電源ONにより処理が開始されると、まず動作モード制御処理(ステップ101)が実行されて、予め用意された複数の動作モードのそれぞれへの遷移可否を決定するための動作モード遷移処理が実行される。 Next, a general flowchart showing the processing of the safety remote I/O terminal is shown in FIG. 5. As shown in the figure, when processing is started by turning on the power, an operation mode control process (step 101) is first executed, and an operation mode transition process is executed to determine whether or not to transition to each of a number of pre-prepared operation modes.
なお、図示の例では、動作モードとしてRUNモードが選択された場合を中心に記述しているが、他のモードが選択された場合には、それぞれそのモードに対応する処理が実行される。すなわち、動作モード制御処理(ステップ101)内の集団には、そのモードが何れのモードであるかによって、各モードの処理への移行を行う分岐が存在するが、図ではこれは省略されている。 Note that the illustrated example focuses on the case where RUN mode is selected as the operating mode, but if another mode is selected, the process corresponding to that mode is executed. In other words, within the group within the operating mode control process (step 101), there are branches that transition to the process for each mode depending on which mode is selected, but these are omitted from the diagram.
続いて、I/Oリフレッシュ処理(ステップ102)が実行される。このI/Oリフレッシュ処理においては、ローカル入出力処理及びローカル入出力端子の診断処理が実行される。このローカル入出力処理とは、予め用意されたローカル入力用の記憶領域(図示せず)及びローカル出力用の記憶領域、すなわちこの例では第2記憶領域(M2)と、入力機器5及び出力機器6との相互間において、データの交換を行うことによって、最新の外部入力の状態をローカル入力用の記憶領域に取り込むと共に、最新のローカル出力を該当する出力回路6を介して外部出力端子へと送出するのである。
Next, an I/O refresh process (step 102) is executed. In this I/O refresh process, local input/output processing and diagnostic processing of the local input/output terminal are executed. This local input/output processing exchanges data between a pre-prepared memory area for local input (not shown) and a memory area for local output, i.e., in this example, the second memory area (M2), and the
ローカル入出力端子の診断処理においては、この種の安全リモートI/Oターミナルに組み込まれた入出力新段階路のそれぞれを駆動することによって、入力機器5及び出力機器6のそれぞれに接点の焼き付きや導通不良などの故障がないかといった診断処理を実行する。
In the diagnostic process for the local input/output terminal, each of the input/output stages built into this type of safety remote I/O terminal is driven to perform diagnostic processing to check for faults such as burnt contacts or poor continuity in the
続く通信処理(ステップ103)においては、通信回路204を介して安全PLC1と交信することによって、第2記憶領域(M2)に格納されたローカル出力データを安全PLC1へと送信すると共に、安全PLC1から送られてくる出力データを受信して、これを第3記憶領域(M3)に格納する。従前の安全リモートI/Oターミナルの場合、こうして受信された安全PLCからの出力データは、先ほど説明したI/Oリフレッシュ処理(ステップ102)によって直ちに該当する外部出力端子へと送出されるのであるが、後述するように、本発明の場合には、こうして安全PLCから受信された出力データは、必ずしも外部出力端子へ送出されるとは限らない。
In the subsequent communication process (step 103), the local output data stored in the second memory area (M2) is transmitted to the
続くロジック演算処理(ステップ104)においては、ロジック演算処理、同値データ、反転値データの作成・更新処理、リセット要求の作成・更新処理、ローカル出力データの作成処理が実行される。 In the subsequent logic calculation process (step 104), logic calculation process, creation and update of equal value data and inverted value data, creation and update of reset request, and creation of local output data are executed.
ロジック演算処理においては、予めユーザにより任意作成されかつ当該リモートI/Oターミナル内に格納されたロジック演算プログラムを実行すると共に、その実行結果として得られる各出力端子(OUT0〜OUTn)ごとの出力データであるロジック演算出力データを生成すると共に、これを第4記憶領域(M4)の該当する外部出力端子(OUT0〜OUTn)の記憶箇所に格納する。こうして第4記憶領域(M4)に格納されたロジック演算実行結果に対応する出力データは、必要に応じて、ローカル出力データ用の第2の記憶領域(M2)へと転送され、最終的に該当する外部出力端子へと送出される。 In the logic calculation process, a logic calculation program that has been created in advance by the user and stored in the remote I/O terminal is executed, and logic calculation output data, which is the output data for each output terminal (OUT0 to OUTn) obtained as a result of the execution, is generated and stored in the memory location of the corresponding external output terminal (OUT0 to OUTn) in the fourth memory area (M4). The output data corresponding to the result of the logic calculation execution stored in the fourth memory area (M4) is transferred to the second memory area (M2) for local output data as necessary, and is finally sent to the corresponding external output terminal.
また、同値データ、反転値データの作成・更新処理においては、後述するように出力機能設定テーブルTBの内容に基づいて、該当する出力端子に関する同値データ、反転値データを作成・更新する。 In addition, in the process of creating and updating the equivalent data and inverted value data, the equivalent data and inverted value data for the corresponding output terminal are created and updated based on the contents of the output function setting table TB, as described below.
また、リセット要求の作成・更新処理においては、後述する処理によって、リセット要求のためにランプを点滅させるための出力データを作成・更新する。 In addition, in the process of creating and updating a reset request, output data for flashing a lamp to request a reset is created and updated using the process described below.
さらに、ローカル出力データの作成処理においては、後に詳細に説明するように、第3記憶領域(M3)、第4記憶領域(M4)及び第5記憶領域(M5)から必要なデータを求め、これを第2記憶領域(M2)へと転送することによって、最終的なローカル出力データを確定させる。 Furthermore, in the process of creating local output data, as will be described in detail later, the necessary data is obtained from the third memory area (M3), the fourth memory area (M4), and the fifth memory area (M5), and this is transferred to the second memory area (M2), thereby finalizing the local output data.
続く自己診断処理(ステップ105)においては、当該リモートI/Oターミナルの各種のハードウェア診断処理を行い、その診断結果を記憶させる。 In the subsequent self-diagnosis process (step 105), various hardware diagnostic processes are performed on the remote I/O terminal, and the diagnostic results are stored.
以上の処理(ステップ101〜105)を繰り返す間に、何らかの重大な異常が発生すれば(ステップ106YES)、直ちにその動作は停止される。
If any serious abnormality occurs while repeating the above process (
次に、図3に示される出力機能設定テーブルTBに対して、出力端子nに関する出力機能設定のための処理の詳細を示すフローチャートが図6に示されている。同図において処理が開始されると、ネットワーク上に接続された図示しないプログラム開発支援装置(例えば、図1の符号3参照)から送られてくる出力機能設定データを解読することによって、以下の処理が実行される。すなわち、解読された出力機能が安全PLCからの出力データを出力すべきもの(従前と同様)であれば、第1記憶領域(M1)に格納された出力機能設定テーブルTBの該当する出力端子の内容は、安全PLCからの出力データを出力すべきものとして所定のコードが記憶される(ステップ202)。
Next, FIG. 6 shows a flowchart showing the details of the process for setting the output function for output terminal n for the output function setting table TB shown in FIG. 3. When the process is started in the figure, the following process is executed by deciphering the output function setting data sent from a program development support device (not shown) connected on the network (for example, see
また、解読された出力機能の内容が、内部に組み込まれたロジック演算プログラムの実行結果で決定される出力データと判定されると(ステップ201)、出力機能設定テーブルTBの該当する出力端子の設定内容は、ロジック演算プログラムの実行結果として得られる出力データとすべきものとして所定のコードが記憶される(ステップ203)。 In addition, if it is determined that the contents of the decoded output function are output data determined by the execution result of the internally embedded logic operation program (step 201), a predetermined code is stored as the setting content of the corresponding output terminal in the output function setting table TB, indicating that the output data should be obtained as a result of the execution of the logic operation program (step 203).
一方、解読された出力機能の内容が、補助出力として判定され(ステップ201)、さらにその内容が出力端子nと同値、出力端子nと反転、リセット要求、動作モードフラグ、又は状態フラグの何れかであると判定されると(ステップ204)、出力機能テーブルTBの該当する出力端子の内容は、それぞれそのような出力データに対応する所定のコードに設定される(ステップ205,206,207,208,209)。
On the other hand, if the contents of the decoded output function are judged to be an auxiliary output (step 201) and further judged to be the same as output terminal n, inverted with output terminal n, a reset request, an operation mode flag, or a status flag (step 204), the contents of the corresponding output terminal in the output function table TB are set to a predetermined code corresponding to such output data (
このように、図3に示される第1記憶領域(M1)に格納される出力機能設定テーブルTBの内容は、ネットワークに接続され又は当該リモートI/Oターミナルに直接接続されたプログラム開発支援装置からの設定データに応じて任意に書換えが可能とされるのである。 In this way, the contents of the output function setting table TB stored in the first memory area (M1) shown in FIG. 3 can be rewritten at will according to the setting data from a program development support device connected to the network or directly connected to the remote I/O terminal.
その一例として、動作モードフラグを設定する際の画面説明図(その1,その2)が図14及び図15に示されている。
As an example, Figures 14 and 15 show screen illustrations (
それらの図から明らかなように、プログラム開発支援装置を構成するノート型パソコンの画面上には、所定のウィンドウが開かれ、そのウィンドウ内には設定パラメータリスト400が表示される。この設定パラメータリスト400内には、各出力端子ごとに出力機能に関する設定パラメータとその値とが表示されるから、ユーザはカーソル操作で所定のパラメータを選択すると共に(図14参照)、プルダウンボタン401を操作して、パラメータリスト406を表示させ、その中からスクロールバー405の操作で必要なパラメータ値を検索すると共に、必要とするパラメータ値にカーソル405を合わせ、OKボタン402を操作するといった作業で、各出力端子ごとに必要なパラメータ及びパラメータ値を簡単に設定することができる。
As is clear from these figures, a specified window is opened on the screen of the notebook computer that constitutes the program development support device, and a setting
こうして作成された出力機能設定データが、ネットワークを介して、当該リモートI/Oターミナルへと送られることによって、先に図6に示された出力端子nに関する出力機能設定処理が実行可能となるのである。 The output function setting data created in this way is sent to the remote I/O terminal via the network, making it possible to execute the output function setting process for output terminal n shown in Figure 6 above.
次に、ローカル出力OUTmの内容を決定するための処理の詳細フローチャートが図7に示されている。図4に示されるように、いま仮に、第2記憶領域(M2)にはローカル出力データが、第3記憶領域(M3)には安全PLCからの出力データが、第4記憶領域(M4)には内部ロジック演算で得られた出力データが、第5記憶領域(M5)にはリセット要求、動作モードフラグ、状態フラグなどの補助出力データが格納されているものと想定する。 Next, a detailed flowchart of the process for determining the contents of the local output OUTm is shown in Figure 7. As shown in Figure 4, it is assumed that the second memory area (M2) stores local output data, the third memory area (M3) stores output data from the safety PLC, the fourth memory area (M4) stores output data obtained by internal logic operations, and the fifth memory area (M5) stores auxiliary output data such as a reset request, an operation mode flag, and a status flag.
このような状態において、図7に示される処理が開始されると、各出力端子番号(m)について、順次にローカル出力OUTmの内容が決定される。すなわち、まず、図3に示される出力機能設定テーブルTBの内容を参照することにより、各出力端子の設定出力機能が判定され、その判定結果に応じて、該当する処理(ステップ303〜ステップ309)が実行されることによって、第2記憶領域(M2)内の各出力端子(OUT0〜OUTn)に対応する箇所の出力データの書換え処理が実行される。
In this state, when the process shown in FIG. 7 is started, the contents of the local output OUTm are determined for each output terminal number (m) in sequence. That is, first, the set output function of each output terminal is determined by referring to the contents of the output function setting table TB shown in FIG. 3, and depending on the result of the determination, the corresponding process (
すなわち、出力機能設定テーブルTBの設定内容が、安全PLCからの出力データを出力すべき場合には(ステップ302)、ローカル出力OUTmの内容は安全PLCからの出力データOUTmによって書換えられる(ステップ303)。 That is, if the settings in the output function setting table TB indicate that output data from the safety PLC should be output (step 302), the contents of the local output OUTm are overwritten by the output data OUTm from the safety PLC (step 303).
また、出力機能設定内容が内部ロジック演算により決定されるものと判定された場合には(ステップ302)、ローカル出力OUTmの内容はロジック演算出力OUTmの内容で書換えられる。 Also, if it is determined that the output function setting contents are determined by internal logic calculation (step 302), the contents of the local output OUTm are rewritten with the contents of the logic calculation output OUTm.
また、解読された設定内容が、ローカル出力OUTnと同値であると判定された場合には(ステップ302)、ローカル出力OUTnの内容はローカル出力OUTnの内容で書換えられる。 Also, if it is determined that the decoded setting contents are the same as the local output OUTn (step 302), the contents of the local output OUTn are overwritten with the contents of the local output OUTn.
また、OUTmの出力機能がOUTnの反転値であると判定された場合には、ローカル出力OUTmの内容はローカル出力OUTnの反転値として書換えられる(ステップ306)。 Also, if it is determined that the output function of OUTm is the inverted value of OUTn, the contents of local output OUTm are rewritten as the inverted value of local output OUTn (step 306).
また、OUTmの出力機能が、リセット要求であると判定されると、ローカル出力OUTmの内容はステータスデータのリセット要求に書換えられる(ステップ307)。 Also, if it is determined that the output function of OUTm is a reset request, the contents of the local output OUTm are rewritten to a reset request in the status data (step 307).
また、OUTmの出力機能が、動作モードフラグであると判定されると、ローカル出力OUTmの内容はステータスデータの動作モードフラグとして書換えられる(ステップ308)。 Furthermore, if it is determined that the output function of OUTm is an operation mode flag, the contents of the local output OUTm are rewritten as the operation mode flag of the status data (step 308).
さらに、OUTmの出力機能が状態フラグであると判定されると、ローカル出力OUTmの内容はステータスデータの状態フラグとして書換えられる(ステップ309)。 Furthermore, if it is determined that the output function of OUTm is a status flag, the contents of the local output OUTm are rewritten as a status flag in the status data (step 309).
以上の処理が、m=0から出力点数分だけ繰り返される(ステップ311)。 The above process is repeated from m=0 for the number of output points (step 311).
このように、図7のフローチャートに示される処理が実行される結果、図4に示される第2記憶領域(M2)に格納されるローカル出力データの内容は、図3に示される出力機能設定テーブルTBの設定内容に応じて、第3記憶領域(M3)、第4記憶領域(M4)、第5記憶領域(M5)の内容で書換えられる結果、図5に示されるゼネラルフローチャートにおいて、I/Oリフレッシュ処理(ステップ102)が実行されると、実際の外部出力端子(OUT0〜OUTn)のそれぞれには、第2記憶領域(M2)に格納された内容のローカル出力データが出力されるのである。 In this way, as a result of executing the process shown in the flowchart of FIG. 7, the contents of the local output data stored in the second memory area (M2) shown in FIG. 4 are rewritten with the contents of the third memory area (M3), fourth memory area (M4), and fifth memory area (M5) according to the settings of the output function setting table TB shown in FIG. 3. As a result, when the I/O refresh process (step 102) is executed in the general flowchart shown in FIG. 5, the local output data whose contents are stored in the second memory area (M2) is output to each of the actual external output terminals (OUT0 to OUTn).
そのため、以上の実施形態のリモートI/Oターミナルによれば、図示しないプログラム開発支援装置において所定の操作を行い、図3に示される出力機能設定テーブルTBの内容を適宜設定することによって、一連の外部出力端子(OUT0〜OUTn)を共通にして、各端子ごとに、通信由来の出力データ、内部ロジック演算由来の出力データ、任意の出力端子と同値の出力データ、任意の出力端子の反転値の出力データ、リセット要求のための出力データ、動作モードフラグに相当する出力データ、状態フラグに相当する出力データを任意に出力させることができるから、この種のリモートI/Oターミナルの使い勝手を格段に向上させることができる一方、そのような機能を付加しつつも、出力端子台それ自体は従前のものをそのまま使用できるため、格別のコストアップを来すことがないという利点を有するものである。 Therefore, according to the remote I/O terminal of the above embodiment, by performing a predetermined operation on a program development support device (not shown) and appropriately setting the contents of the output function setting table TB shown in FIG. 3, a series of external output terminals (OUT0 to OUTn) can be made common, and each terminal can output output data derived from communication, output data derived from internal logic calculations, output data of the same value as an arbitrary output terminal, output data of the inverted value of an arbitrary output terminal, output data for a reset request, output data corresponding to an operation mode flag, and output data corresponding to a status flag. This significantly improves the usability of this type of remote I/O terminal, while at the same time providing the advantage that the output terminal block itself can be used as is without any significant increase in cost, even when such functions are added.
次に、上述の各出力機能に好適なアプリケーションについて、図8〜図13を参照して説明する。 Next, applications suitable for each of the output functions described above will be explained with reference to Figures 8 to 13.
『同値出力機能』に好適な安全制御アプリケーションの説明図(その1、その2)が図8及び図9に示されている。なお、図8において、81は作業者に対して各種の情報を報知するためのランプ、82は安全フェンスの入口に設置されたセーフティライトカーテン、83は危険源となるロボット、84は作業者、85は非常停止状態から復帰するためのリセットスイッチ、86は非常停止スイッチである。
An explanatory diagram (
このような作業現場を想定すると、通常、危険源となるロボット83の動作中は、ランプ81を点灯させて、ロボット83が運転中であることを報知するのが通例である。このような場合、リモートI/Oターミナルの外部端子台においては、図9(a)の結線図に示されるような結線が行われる。
In a workplace like this, it is customary to turn on
すなわち、簡単に説明すれば、端子(23,24)に出力信号(OUT0,OUT1)を出力することで、コンタクタのリレー(KM1,KM2)を駆動する。ロボットを駆動するモータ(M)の通電路に、コンタクタ(KM1,KM2)の接点(KM1,KM2)を直列に介在させて二重化処理を施す。さらに、端子(25)に出力信号(OUT2)を出力してランプ(L)(図8のランプ81に相当)を駆動する。
In other words, simply put, contactor relays (KM1, KM2) are driven by outputting output signals (OUT0, OUT1) to terminals (23, 24). Redundant processing is performed by serially connecting the contacts (KM1, KM2) of the contactors (KM1, KM2) to the current path of the motor (M) that drives the robot. Furthermore, an output signal (OUT2) is output to terminal (25) to drive a lamp (L) (corresponding to
このとき、従来の方法では、ランプ(L)の駆動は、安全PLC1の側のロジック演算プログラムを介して動作する。これに対して、本発明では、先に説明した『同値出力機能』を利用することによって、端子(25)に同値出力として出力信号(OUT2)を出力させる。
In the conventional method, the lamp (L) is driven via a logic calculation program on the
すると、図9(b)のタイミングチャートに示されるように、ランプ(L)を駆動するための出力信号(OUT2)は、コンタクタ(KM1,KM2)を駆動するための出力信号(OUT0,OUT1)と同期してオンオフする。なお、このとき、例えば、出力信号OUT2は出力信号OUT0と同値と定義する。これにより、安全PLC1の側の制御を介することなく、ランプ(L)の点灯動作を実現できる。 As a result, as shown in the timing chart of FIG. 9(b), the output signal (OUT2) for driving the lamp (L) turns on and off in synchronization with the output signals (OUT0, OUT1) for driving the contactors (KM1, KM2). At this time, for example, the output signal OUT2 is defined to have the same value as the output signal OUT0. This makes it possible to realize the lighting operation of the lamp (L) without going through the control on the safety PLC1 side.
『リセット要求出力機能』に好適な安全制御アプリケーションの説明図が図10に示されている。図8を参照して説明したように、この種の作業現場には、各種の状況を作業者84に知らせるためにランプ81が設けられている。そして、非常停止スイッチ86を操作してロボット83の動作を停止させたような場合、安全規格上の理由から、リセットスイッチ85を操作しないと、元の状態には復帰できない。このとき、作業者84がリセットスイッチ85の操作を忘れないように、リセットスイッチ85の操作を待機する状態においては、発振出力であるリセット要求信号を送り出すことによって、ランプ81を点滅駆動させる。
An explanatory diagram of a safety control application suitable for the "reset request output function" is shown in FIG. 10. As explained with reference to FIG. 8, this type of work site is provided with
図10に示されるように、この点滅駆動のためには、所定周波数の発振出力であるリセット要求信号を送出せねばならない。このリセット要求信号は、従来、安全PLC1の側で所定のプログラムを組むことで生成していたが、なかなか処理が煩雑であった。これに対して、本発明にあっては、同図(a)に示される非常停止スイッチの出力と、同図(b)に示されるリセットスイッチの出力とで決まる一定期間、同図(d)に示されるようにリセット要求に相当する発振出力を生成できるようにし、これを『リセット要求』として出力機能設定テーブルTBにセットすることによって、任意の外部出力端子からこのリセット要求を出力可能としている。これにより、安全PLC1を経由することなく、リモートI/Oターミナルの側からリセット要求を出力させて、ランプ81を点滅駆動させることができる。
As shown in FIG. 10, in order to drive the lamp to blink, a reset request signal, which is an oscillation output of a specified frequency, must be sent out. Conventionally, this reset request signal was generated by writing a specified program on the
『反転出力機能』に好適な安全制御アプリケーションの説明図(その1、その2)が図11及び図12に示されている。なお、図11において、84は作業者、86は非常停止スイッチ、87は電磁ロックセーフティドアスイッチ、88は危険源、89はリミットスイッチである。
The diagrams (
電磁ロックセーフティドアスイッチは、専用操作キーを挿し込むと自動的にメカニカルロックとなり、ドアを開けることができない。このときソレノイドに電圧を印加するとロックが解除されドアを開けることができる。そこで、例えば、図12(a)に示されるように、出力信号(OUT0,OUT1)にコンタクタ出力を送出すると共に、出力信号(OUT2)として電磁ロックセーフティドアスイッチのロック解除信号を出力する。すると、同図(b)のタイムチャートに示されるように、コンタクタ出力がOFFしてからロック解除信号を取得させる場合、リモートI/Oターミナルの出力信号(OUT2)に対して『出力端子0と反転出力』を設定するだけで、セーフティPLC1の側のプログラムが不要となる。
When the dedicated operation key is inserted, the electromagnetic lock safety door switch automatically becomes mechanically locked, and the door cannot be opened. When voltage is applied to the solenoid at this time, the lock is released and the door can be opened. For example, as shown in FIG. 12(a), a contactor output is sent to the output signals (OUT0, OUT1) and an unlock signal for the electromagnetic lock safety door switch is output as the output signal (OUT2). Then, as shown in the time chart in FIG. 12(b), if the unlock signal is to be obtained after the contactor output turns OFF, simply by setting "
『状態フラグ出力機能』に好適な安全制御アプリケーションの説明図が図13に示されている。図13に示されるように、安全リモートI/Oターミナル2の任意の出力端子から状態フラグに相当する出力信号を送出するようにすれば、ロボット7の側では、この状態フラグに相当する出力信号を動作条件とすることによって、安全制御を実現することができる。このような構成によれば、同図(b)に示される従来例にあっては、別途安全PLC1から通信を介在することなく、専用のケーブルでロボット7へとそのような状態フラグに相当する信号を届ける必要があったものが、そのようなケーブルが不要となり、使い勝手が向上する。
An explanatory diagram of a safety control application suitable for the "status flag output function" is shown in FIG. 13. As shown in FIG. 13, if an output signal corresponding to a status flag is sent from any output terminal of the safety remote I/
本発明によれば、安全PLC側から到来する通信由来出力データと競合することなく、自身の任意の外部出力端子に対して、自身の内部で生成された内部由来出力データを出力させることができるため、端子台増設などのハードウェア改変によるコストアップを来すことなく、この種の安全リモートI/Oターミナルの使い勝手を格段に向上させることができる。 According to the present invention, internally generated output data can be output to any external output terminal of the device without competing with communication-derived output data coming from the safety PLC, which significantly improves the ease of use of this type of safety remote I/O terminal without increasing costs through hardware modifications such as adding additional terminal blocks.
1 安全PLC
2 安全リモートI/Oターミナル
3 プログラム開発支援装置
4 ネットワーク
5 入力機器
6 出力機器
7 ロボット
81 報知ランプ
82 セーフティライトカーテン
83 ロボット
84 作業者
85 リセットスイッチ
86 非常停止スイッチ
87 電磁ロックセーフティドアスイッチ
88 危険源
89 リミットスイッチ
201 CPU
201a マイクロプロセッサ(MPU)
201b ROM
201c RAM
202 入力回路
203 出力回路
204 通信回路
205 表示回路
206 設定回路
400 パラメータリスト
401 プルダウンボタン
402 OKボタン
403 キャンセルボタン
404 スクロールバー
405 カーソル
KM1,KM2 コンタクタ
M モータ
M1 第1記憶領域
M2 第2記憶領域
M3 第3記憶領域
M4 第4記憶領域
M5 第5記憶領域
L ランプ
OUT0〜OUTn 外部出力端子
TB 出力機能設定テーブル
1. Safety PLC
2 Safety remote I/
201a Microprocessor (MPU)
201b ROM
201c RAM
202
Claims (8)
それぞれ出力機器が接続される1又は2以上の外部出力端子と、
各外部出力端子のそれぞれごとに設けられ、その外部出力端子に接続される出力機器に対して出力信号を送出する出力回路と、
各出力回路のそれぞれに送出されるべき出力データを格納するローカル向け出力データ用の出力データ記憶手段と、
通信回路を介して安全PLCから通信回路を介して受信される各出力端子ごとの出力データを格納する通信由来出力データ用の出力データ記憶手段と、
自身の内部で生成された各出力端子ごとの又は各出力端子共通の出力データを格納する内部由来出力データ用の出力データ記憶手段と、
各外部出力端子のそれぞれごとに、その外部出力端子の出力機能を設定してなる出力機能設定テーブルを書換可能に格納する出力機能設定テーブル記憶手段と、
出力機能設定テーブル記憶手段に格納される出力機能設定テーブルの各外部出力端子の設定内容を参照し、その設定内容が通信由来出力データを出力すべき出力機能であるときには、通信由来出力データ用の出力データ記憶手段に格納された該当する外部出力端子の通信由来出力データをローカル向け出力データ用の出力データ記憶手段の該当する外部出力端子の格納箇所に格納する一方、その設定内容が内部由来出力データを出力すべき出力機能であるときには、内部由来出力データ用の出力データ記憶手段に格納された該当する外部出力端子の内部由来出力データをローカル向け出力データ用の出力データ記憶手段の該当する外部出力端子の格納箇所に格納するローカル出力切換手段と、
ローカル向け出力データ用の出力データ記憶手段に格納された各出力データを該当する外部出力端子の出力回路のそれぞれへと送出する出力リフレッシュ手段と、を具備することを特徴とする安全リモートI/Oターミナル。 a communication circuit for communicating with the safety PLC via a network;
One or more external output terminals to which output devices are respectively connected;
an output circuit provided for each of the external output terminals, for transmitting an output signal to an output device connected to the external output terminal;
an output data storage means for storing output data to be sent to each of the output circuits;
an output data storage means for storing output data for each output terminal received from the safety PLC via a communication circuit;
an output data storage means for storing output data of internal origin, the output data being generated internally for each output terminal or being common to all output terminals;
an output function setting table storage means for rewritably storing an output function setting table for each of the external output terminals, the output function of which is set for that external output terminal;
a local output switching means for referencing the setting contents of each external output terminal in an output function setting table stored in an output function setting table storage means, and when the setting contents are an output function for outputting communication-originated output data, storing the communication-originated output data of the relevant external output terminal stored in the output data storage means for communication-originated output data in a storage location of the relevant external output terminal in the output data storage means for local-directed output data, while when the setting contents are an output function for outputting internal-originated output data, storing the internal-originated output data of the relevant external output terminal stored in the output data storage means for internal-originated output data in a storage location of the relevant external output terminal in the output data storage means for local-directed output data;
and output refresh means for transmitting each output data stored in the output data storage means for local output data to each output circuit of a corresponding external output terminal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007156914A JP4816961B2 (en) | 2007-06-13 | 2007-06-13 | Safety Remote I/O Terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007156914A JP4816961B2 (en) | 2007-06-13 | 2007-06-13 | Safety Remote I/O Terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008310534A JP2008310534A (en) | 2008-12-25 |
| JP4816961B2 true JP4816961B2 (en) | 2011-11-16 |
Family
ID=40238086
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007156914A Active JP4816961B2 (en) | 2007-06-13 | 2007-06-13 | Safety Remote I/O Terminal |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4816961B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101431301B1 (en) * | 2010-01-20 | 2014-08-20 | 엘에스산전 주식회사 | Safety extention base and its control method |
| US8803654B2 (en) | 2010-04-26 | 2014-08-12 | Mitsubishi Electric Corporation | Safety apparatus and fault detection method |
| WO2014145437A1 (en) * | 2013-03-15 | 2014-09-18 | Symbotic Llc | Automated storage and retrieval system with integral secured personnel access zones and remote rover shutdown |
| US10782665B2 (en) * | 2017-06-30 | 2020-09-22 | Cattron North America, Inc. | Wireless emergency stop systems, and corresponding methods of operating a wireless emergency stop system for a machine safety interface |
| JP7140020B2 (en) * | 2019-03-20 | 2022-09-21 | 株式会社デンソーウェーブ | output controller |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06161521A (en) * | 1992-11-27 | 1994-06-07 | Omron Corp | Remote i/o transmission system of programmable controller |
| JPH06195113A (en) * | 1992-12-22 | 1994-07-15 | Okuma Mach Works Ltd | Programmable controller |
| JP3287304B2 (en) * | 1998-03-30 | 2002-06-04 | 松下電器産業株式会社 | Industrial robot |
| JP4072695B2 (en) * | 2005-04-19 | 2008-04-09 | オムロン株式会社 | Safety controller system |
-
2007
- 2007-06-13 JP JP2007156914A patent/JP4816961B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008310534A (en) | 2008-12-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| USRE42017E1 (en) | Configurable safety system for implementation on industrial system and method of implementing same | |
| JP4816961B2 (en) | Safety Remote I/O Terminal | |
| JP4893931B2 (en) | Safety controller | |
| CN100375937C (en) | safety controller | |
| JP6111675B2 (en) | Method, apparatus and program for supporting user program design of safety controller | |
| JP2007312043A (en) | Remote I / O system | |
| JP3918950B2 (en) | Safety device | |
| US20150355828A1 (en) | Operation mode switching device | |
| CN108572610B (en) | Evaluation system, safety controller, readable recording medium, and evaluation method | |
| JP4849261B2 (en) | Safety application creation support device | |
| JP2009009505A (en) | PLC | |
| CN108572611B (en) | Information processing apparatus, information processing method, and computer-readable recording medium | |
| JP2022525645A (en) | Methods and monitoring units for a graphical user interface on safety | |
| JP4941365B2 (en) | Industrial controller | |
| JPWO2008149618A1 (en) | Control device | |
| JP5174798B2 (en) | Safety diagnostic device and safety diagnostic method for safety control program | |
| JP4438552B2 (en) | Safety PLC, sequence program creation support software, and sequence program determination method | |
| JP2018152032A (en) | Information processing device, information processing method, and information processing program | |
| JP5062426B2 (en) | Safety equipment and safety condition setting support system | |
| JP2021082033A (en) | Program creation assistance device | |
| JP2004297997A (en) | Safety controller | |
| US11321055B2 (en) | Program creation assistance device | |
| JP4919091B2 (en) | PLC system | |
| JP2008310536A (en) | Safety remote I / O terminal | |
| JP2007304939A (en) | Programmable controller and monitor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100412 |
|
| TRDD | Decision of grant or rejection written | ||
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110727 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110803 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110816 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140909 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4816961 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |