JP2010055652A - Program development support device for safety controller - Google Patents

Program development support device for safety controller Download PDF

Info

Publication number
JP2010055652A
JP2010055652A JP2009279864A JP2009279864A JP2010055652A JP 2010055652 A JP2010055652 A JP 2010055652A JP 2009279864 A JP2009279864 A JP 2009279864A JP 2009279864 A JP2009279864 A JP 2009279864A JP 2010055652 A JP2010055652 A JP 2010055652A
Authority
JP
Japan
Prior art keywords
function block
input
output
safety
input signal
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.)
Granted
Application number
JP2009279864A
Other languages
Japanese (ja)
Other versions
JP4924851B2 (en
JP2010055652A5 (en
Inventor
Takehiko Hioka
威彦 日岡
Keiichi Teranishi
圭一 寺西
Yoshihiro Demura
義弘 出村
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2009279864A priority Critical patent/JP4924851B2/en
Publication of JP2010055652A publication Critical patent/JP2010055652A/en
Publication of JP2010055652A5 publication Critical patent/JP2010055652A5/ja
Application granted granted Critical
Publication of JP4924851B2 publication Critical patent/JP4924851B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a program development support device for safety controller capable of preventing a programming error such as arranging a function block in an inappropriate position, and in an inappropriate order, when such a programming error arises, to easily find the fact, and also to facilitate parameter verification of an output condition function block in a program after completion. <P>SOLUTION: The program development support device is configured such that arrangement of the function block in a programming field is performed according to guidance by a template for arranging the functional block in which block arrangeable positions are vertically defined, and one end side of the column direction is defined as the input terminal side, and the other end side of the column direction is defined as the output terminal side, furthermore, setting of an input signal which is a unique parameter to be required when the output condition function block is arranged to a corresponding column is executed via an operation for selecting a desired input signal from an input signal list displayed on a menu. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

この発明は、画像表示器のスクリーン上のプログラミングフィールドに、所望の制御仕様に対応するロジック回路図を記述するための一連のユーザ操作を通して、安全コントローラ用の制御プログラムが自動的に生成されるされるようにした安全(セーフティ)コントローラのプログラム開発支援装置に関する。   In the present invention, a control program for the safety controller is automatically generated through a series of user operations for describing a logic circuit diagram corresponding to a desired control specification in a programming field on the screen of the image display. The present invention relates to a program development support device for a safety controller.

安全コントローラは、一般的なプログラマブルコントローラ(PLC)に類似するロジック演算機能、入出力制御機能に加えて、安全面の自己診断機能を内蔵することにより、その制御において高度な安全性および信頼性を確保したものであり、自己診断結果により異常を検出した場合には、自己の制御が危険につながらないように、強制的に安全な制御を行なうような機能(フェールセーフ機能)を備えている。   In addition to logic operation functions and input / output control functions similar to general programmable controllers (PLCs), the safety controller has a built-in safety self-diagnosis function, which provides a high level of safety and reliability in its control. This function is provided and has a function (fail-safe function) for forcibly performing safe control so that self-control does not lead to danger when an abnormality is detected from the self-diagnosis result.

ここに言う安全は、より具体的には、規格化されている安全基準を含む意味である。安全規格には、例えばIEC61508やEN規格などがある。IEC61508(プログラム可能な電子システムの機能安全に関する国際電気標準委員会)では、時間あたりの危険故障確立を(失敗確立:Probability of Failure per Hour)を定義し、この確立によってSILのレベル(Safety Integrity Level)を4段階に分類している。また、EN規格では、機械のリスクの大きさを評価し、リスク低減策を講じるように義務づけされていて、EN954−1では5つの安全カテゴリにて規定されている。この明細書でいう安全コントローラ、安全I/Oターミナル等は、このような安全基準のいずれかに対応したものである。   More specifically, the term “safety” as used herein means that standardized safety standards are included. Safety standards include, for example, IEC61508 and EN standards. IEC 61508 (International Electrotechnical Commission on Functional Safety of Programmable Electronic Systems) defines the establishment of dangerous failures per hour (Probability of Failure per Hour), which establishes the SIL level (Safety Integrity Level). ) Is classified into 4 levels. Further, EN standards require that the risk of a machine be evaluated and that risk reduction measures be taken, and EN 954-1 defines the safety categories. The safety controller, safety I / O terminal, and the like referred to in this specification correspond to any of these safety standards.

安全コントローラ用の制御プログラムを作成するための従来のプログラム開発支援装置(日本国、オムロン株式会社製セーフティネットワークコントローラ)におけるロジック回路図表示例が図26に示されている。   FIG. 26 shows a logic circuit diagram display example in a conventional program development support apparatus (safety network controller manufactured by OMRON Corporation, Japan) for creating a control program for a safety controller.

このプロラム開発支援装置(第1従来例)は、画像表示器のスクリーン上のプログラミングフィールド801に、予め用意された複数種のファンクションブロックの中から選択された1の種類のファンクションブロック(FB81〜FB85)を順次に配置し、かつ各ファンクションブロック毎に必要な固有パラメータ(図示せず)を設定(この例では、配線描画のためのマウスによるドラッグ操作で、パラメータが自動設定される)することにより、所望の制御仕様に対応するロジック回路図を完成する一連のユーザ操作を通して、安全コントローラ用の制御プログラムが自動的に生成されるされるように構成されている。   This program development support device (first conventional example) has one type of function block (FB81 to FB85) selected from a plurality of types of function blocks prepared in advance in the programming field 801 on the screen of the image display. ) Are placed in sequence, and a specific parameter (not shown) necessary for each function block is set (in this example, the parameter is automatically set by dragging with the mouse for wiring drawing). The control program for the safety controller is automatically generated through a series of user operations for completing a logic circuit diagram corresponding to a desired control specification.

なお、図において、FB81はセーフティ非常停止スイッチ・アプリケーション用のファンクションブロック、FB82はセーフティライトカーテン・アプリケーション用のファンクションブロック、FB83はセット/リセット・アプリケーション用のファンクションブロック、FB84は論理積演算・アプリケーション用のファンクションブロック、FB85は外部出力機器モニタリング・アプリケーション用のファンクションブロックである。また、図において、T811,T812はセーフティ非常停止スイッチの2系統の出力信号が入力される一対の入力端子表示、T821,T822はセーフティライトカーテンの2系統の出力信号が入力される一対の入力端子表示、T83はリセットスイッチの出力信号が入力される入力端子表示、T84は外部出力機器モニタリング信号が入力される入力端子表示である。   In the figure, FB81 is a function block for safety emergency stop switch / application, FB82 is a function block for safety light curtain application, FB83 is a function block for set / reset application, and FB84 is for AND operation / application. FB85 is a function block for an external output device monitoring application. In the figure, T811 and T812 are a pair of input terminal displays to which two output signals of the safety emergency stop switch are input, and T821 and T822 are a pair of input terminals to which two output signals of the safety light curtain are input. Display, T83 is an input terminal display to which an output signal of the reset switch is input, and T84 is an input terminal display to which an external output device monitoring signal is input.

そして、ユーザによりプログラミングフィールド801上に描かれたロジック回路に対応して作成される回路図データ(図示せず)は、所定のコンパイル処理が施されて、安全コントローラが直接に解読実行可能な設定ファイルに変換される。こうして得られた実行用の設定ファイルは、対象となる安全コントローラへと、通信を介して又は可搬型記録媒体を介して、インストールされる。   Then, the circuit diagram data (not shown) created corresponding to the logic circuit drawn on the programming field 801 by the user is subjected to a predetermined compiling process so that the safety controller can directly decode and execute the setting. Converted to a file. The execution setting file obtained in this way is installed to the target safety controller via communication or via a portable recording medium.

上述の第1従来例によれば、プログラミングフィールド801上には、ファンクションブロックや端子表示(以下、回路素子と言う)の置き場所が固定されていないから、所望の回路素子をプログラミングフィールド801上の任意の位置に配置することができ、回路素子の配置自由度が高いと言う利点がある。その反面、限られた大きさのプログラミングフィールド801内に、所望の回路素子の全てを収容しかつそれらの回路素子を全体の回路動作が理解しやすく配置(レイアウト)するためには、ある種のデザイン上のセンス乃至適性が必要とされ、それらのセンスや適性に劣る者にとっては却って使い勝手が悪いと言う欠点がある(非特許文献1参照)。   According to the first conventional example described above, the place where function blocks and terminal displays (hereinafter referred to as circuit elements) are not fixed on the programming field 801. Therefore, a desired circuit element is placed on the programming field 801. There is an advantage that the circuit element can be arranged at an arbitrary position and the degree of freedom of arrangement of circuit elements is high. On the other hand, in order to accommodate all of the desired circuit elements within the limited size programming field 801 and to arrange (lay out) the circuit elements in an easy-to-understand manner, There is a drawback that sense or suitability in design is required, and that those who are inferior in sense or suitability are inconvenient to use (see Non-Patent Document 1).

安全コントローラ用の制御プログラムを作成するための従来の他のプログラム開発支援装置(独国、PILZ社製)におけるロジック回路図表示例が図27に示されている。   A logic circuit diagram display example in another conventional program development support apparatus (manufactured by PILZ, Germany) for creating a control program for a safety controller is shown in FIG.

このプロラム開発支援装置(第2従来例)も、画像表示器のスクリーン上のプログラミングフィールド901に、予め用意された複数種のファンクションブロックの中から選択された1の種類のファンクションブロック(FB91〜FB95)を順次に配置しかつ各ファンクションブロック毎に必要な固有パラメータ(図示せず)を設定(この例でも、配線描画のためのマウスによるドラッグ操作で、パラメータが自動設定される)することにより、所望の制御仕様に対応するロジック回路図を完成する一連のユーザ操作を通して、安全コントローラ用の制御プログラムが自動的に生成されるされるように構成されている。   This program development support device (second conventional example) also has one type of function block (FB91 to FB95) selected from a plurality of types of function blocks prepared in advance in the programming field 901 on the screen of the image display. ) Are placed sequentially and the necessary unique parameters (not shown) are set for each function block (in this example, the parameters are automatically set by dragging the mouse for wiring drawing) A control program for the safety controller is automatically generated through a series of user operations for completing a logic circuit diagram corresponding to a desired control specification.

加えて、この第2従来例にあっては、プログラミングフィールド901へのファンクションブロックの配置は、プログラミングフィールド901上に表示されるファンクションブロック配置用のテンプレート900による案内にしたがって行われ、このテンプレート900には、スクリーン上の垂直方向を基準方向として、複数の行(R1,R2,R3・・・)と複数の列(C1,C2,C3・・・)とが定義される共に、行(R)方向の一端(左端)は入力側として他端(右端)は出力側として定義され、かつそれらの行(R1,R2,R3・・・)と列(C1,C2,C3・・・)との各交点位置にそれぞれ対応するようにして、複数のブロック配置可能位置(A11〜A33)が定義されている。   In addition, in the second conventional example, the function blocks are arranged in the programming field 901 according to the guidance by the function block arrangement template 900 displayed on the programming field 901. Are defined by defining a plurality of rows (R1, R2, R3...) And a plurality of columns (C1, C2, C3...) With the vertical direction on the screen as a reference direction. One end (left end) of the direction is defined as the input side, and the other end (right end) is defined as the output side, and the row (R1, R2, R3...) And column (C1, C2, C3...) A plurality of block arrangement possible positions (A11 to A33) are defined so as to correspond to the respective intersection positions.

なお、図において、FB91はセーフティ非常停止スイッチ・アプリケーション用のファンクションブロック、FB92はセーフティライトカーテン・アプリケーション用のファンクションブロック、FB93は論理積演算・アプリケーション用のファンクションブロック、FB94はセット/リセット・アプリケーション用のファンクションブロック、FB95は外部出力機器モニタリング・アプリケーション用のファンクションブロックである。また、図において、T911,T912は非常停止スイッチの2系統の出力信号が入力される一対の入力端子表示、T921,T922はセーフティライトカーテンの2系統の出力信号が入力される一対の入力端子表示、T93はリセットスイッチの出力信号が入力される入力端子表示、T94は外部出力機器モニタリング信号が入力される入力端子表示である。   In the figure, FB91 is a safety emergency stop switch / application function block, FB92 is a safety light curtain / application function block, FB93 is a logical product / application function block, and FB94 is a set / reset application application. FB95 is a function block for an external output device monitoring application. In the figure, T911 and T912 are a pair of input terminal displays to which two output signals of the emergency stop switch are input, and T921 and T922 are a pair of input terminal displays to which two output signals of the safety light curtain are input. , T93 is an input terminal display to which an output signal of the reset switch is input, and T94 is an input terminal display to which an external output device monitoring signal is input.

そして、ユーザによりプログラミングフィールド901上に描かれたロジック回路に対応して作成される回路図データは、第1従来例と同様に所定のコンパイル処理が施されて、安全コントローラが直接に解読実行可能な設定ファイルに変換される。こうして得られた実行用の設定ファイルは、対象となる安全コントローラへと、通信を介して又は可搬型記録媒体を介して、インストールされる。   Then, the circuit diagram data created corresponding to the logic circuit drawn on the programming field 901 by the user is subjected to a predetermined compiling process as in the first conventional example, and can be directly decoded and executed by the safety controller. Is converted into a simple configuration file. The execution setting file obtained in this way is installed to the target safety controller via communication or via a portable recording medium.

上述の第2従来例によれば、プログラミングフィールド901上には、回路素子の置き場所が予め定義されているから、所望の回路素子を選択したのち、その回路素子を例えばマウスのドラッグ操作で、予め決められた置き場所の近辺に近づけさえすれば、ドラッグされた回路素子は予め定義された置き場所へと自動的に誘導されて配置されるから、レイアウト上のデザイン上のセンスや適性を有しない者であっても、選択された複数の回路素子をプログラミングフィールド901内に要領よく配置することができ、第1従来例の場合のように、選択された回路素子のレイアウトに頭を悩ますことがないと言う利点がある(非特許文献2)。   According to the second conventional example described above, the placement location of the circuit element is predefined on the programming field 901. Therefore, after selecting a desired circuit element, the circuit element can be dragged with a mouse, for example. As long as it is close to a predetermined place, the dragged circuit element is automatically guided to a predetermined place and placed, so it has a design sense and suitability on the layout. Even those who do not can arrange a plurality of selected circuit elements in the programming field 901 in a good manner, and suffer from the layout of the selected circuit elements as in the first conventional example. There is an advantage that there is no (Non-Patent Document 2).

オムロン株式会社のカタログ (URL http://www.fa.omron.co.jp/product/32.htmlに掲載)Catalog of OMRON Corporation (published at URL http://www.fa.omron.co.jp/product/32.html) PILZ社カタログ (URL http://www.pilz.jp/p_saferelay7.htmに掲載)PILZ catalog (URL http://www.pilz.jp/p_saferelay7.htm)

ところで、この種のプログラム開発支援装置において、所望の安全制御仕様に対応するロジック回路図を生成するに際しては、単に入出力間の信号論理のみならず、安全コントローラに特有とされる様々な事情に配慮しつつ、必要なファンクションブロックをロジック回路図上の必要な位置に適切に配置せねばならない。   By the way, in this kind of program development support device, when generating a logic circuit diagram corresponding to a desired safety control specification, not only the signal logic between input and output but also various situations peculiar to the safety controller. With consideration given, the necessary function blocks must be properly placed at the required positions on the logic circuit diagram.

例えば、1もしくは2以上の入力端子から得られる入力信号が所定の論理値(危険)を示すときに、1もしくは2以上の出力端子から所定論理値(危険源の停止)を有する出力信号を送出するような論理回路図を作成しようとする場合、これが安全仕様でない通常のコントローラ(PLC等)であれば、それらの入出力間論理に相当する論理演算用のファンクションブロックを入出力端子列間に配置するだけで充分あろう。   For example, when an input signal obtained from one or more input terminals indicates a predetermined logical value (danger), an output signal having a predetermined logical value (danger source stop) is transmitted from one or more output terminals. If this is an ordinary controller (PLC, etc.) that is not a safety specification, a functional block for logical operation corresponding to the logic between the input and output between the input and output terminal rows is to be created. It will be enough just to arrange.

しかし、これが安全仕様のコントローラとなると、些か、事情は異なる。すなわち、安全仕様のコントローラの場合には、入力端子から何らかの危険を示す入力信号が得られたとしても、その入力信号は、危険を検知する入力機器(セーフティ非常停止スイッチ、セーフティライトカーテン、セーフティリミットスイッチ、セーフティドアスイッチ等々)それ自体の故障等に起因するものである可能性もあるため、そのような入力信号を直ちに取り込んで必要な論理演算に供することはできない。そのため、論理演算用のファンクションブロック(例えばANDファンクションブロック)の少なくとも前段には、各入力機器毎に適切な故障診断機能等が組み込まれた入力系ファンクションブロックを配置せねばならない。   However, when this is a safety controller, the situation is slightly different. In other words, in the case of a controller with safety specifications, even if an input signal indicating some danger is obtained from the input terminal, the input signal is used as an input device (safety emergency stop switch, safety light curtain, safety limit Switches, safety door switches, etc.) may be due to their own failure, etc., so such input signals cannot be immediately captured and used for the necessary logical operations. For this reason, an input function block in which an appropriate failure diagnosis function or the like is incorporated for each input device must be arranged at least in front of a function block for logical operation (for example, an AND function block).

また、そのような入力系ファンクションブロック経由で何らかの危険を示す入力信号が得られたとしても、その入力信号は、調整やメンテナンス等のために、危険を承知で作業員が危険領域に侵入したことに起因するものである可能性もあるため、そのような入力信号を直ちに取り込んで必要な論理演算に供することができない場合もある。そのため、論理演算用のファンクションブロックの少なくとも前段には、調整時やメンテナンス時等に相当する所定の条件が成立するときには、入力信号を無効化する機能を有する無効化・ファンクションブロックを配置せねばならない場合もある。   In addition, even if an input signal indicating some danger is obtained via such an input system function block, the input signal must be informed of the danger and the operator has entered the danger area for adjustment, maintenance, etc. Therefore, there is a case where such an input signal cannot be taken in immediately and used for a necessary logical operation. Therefore, at least before the function block for logical operation, a disabling / function block having a function of disabling the input signal must be arranged when a predetermined condition corresponding to the time of adjustment or maintenance is satisfied. In some cases.

また、そのような入力系ファンクションブロック、及び/又は、無効化・ファンクションブロック経由で何らかの危険を示す入力信号が得られた場合、危険を示す状態から安全を示す状態への復帰と同時に出力信号の状態を復帰させてはいけないとする安全法規上の理由から、そのような入力信号を直ちに取り込んで必要な論理演算に供することができない場合(特に、瞬時動作/瞬時復帰・接点からの入力信号の場合)もある。そのため、論理演算用のファンクションブロックの少なくとも前段には、入力信号の危険状態を保持するセット機能と、危険状態の保持を解除するリセット機能と、リセット条件を規定する機能とを有するセット/リセット・ファンクションブロックを配置せねばならない場合もある。   In addition, when an input signal indicating some danger is obtained via such an input function block and / or invalidation / function block, the output signal is output simultaneously with the return from the danger state to the safety state. If such an input signal cannot be taken in immediately and used for the required logical operation for reasons of safety regulations that the state must not be restored (especially instantaneous operation / instantaneous return, input signal from the contact) In some cases. For this reason, at least before the function block for logical operation, a set / reset function having a set function for holding the dangerous state of the input signal, a reset function for releasing the held dangerous state, and a function for defining the reset condition In some cases, function blocks must be placed.

また、出力機器それ自体にも故障の可能性があることを考慮すると、論理演算用の出力条件ファンクションブロックの出力信号を無条件で出力機器へと送出することは必ずしも適当ではない。そのため、出力条件ファンクションブロックの少なくとも後段には、各出力機器毎に適切な故障診断機能等が組み込まれた外部出力機器モニタリング・ファンクションブロック(例えば、EDM・ファンクションブロック)を配置せねばならない。   In consideration of the possibility of failure in the output device itself, it is not always appropriate to send the output signal of the output condition function block for logical operation to the output device unconditionally. For this reason, an external output device monitoring function block (for example, an EDM function block) in which an appropriate failure diagnosis function or the like is incorporated for each output device must be arranged at least after the output condition function block.

さらに、出力機器のそれぞれには固有の動作遅れ時間があることを考慮すると、複数の出力端子のそれぞれから同一のタイミングで出力信号を送出することが必ずしも適当でない場合もある。そのため、出力条件ファンクションブロックの少なくとも後段には、出力信号のオンタイミング、及び/又は、オフタイミングを遅らせる機能を有する端子モード・ファンクションブロックを配置せねばならない場合もある。   Furthermore, considering that each output device has its own operation delay time, it may not always be appropriate to send an output signal at the same timing from each of the plurality of output terminals. Therefore, a terminal mode function block having a function of delaying the ON timing and / or the OFF timing of the output signal may need to be arranged at least at the subsequent stage of the output condition function block.

このように、ロジック回路図を介在する安全コントローラのプログラミングにおいては、入力端子から出力端子へ至る信号経路上の必要な位置に、必要なファンクションブロックを適切に配置する作業がユーザに対して要求される。この作業は、上述の安全コントローラ特有の事情を十分に考慮してはじめて適切に成し得るものであるから、安全コントローラのプログラミングに不慣れな初心者にとってはなかなか容易なことではなく、しばしば必要なファンクションブロックの欠落を生じたり、必要なファンクションブロックは存在するものの、配置される位置が誤っている等のプログラミングミスが生ずる。   As described above, in the programming of the safety controller through the logic circuit diagram, the user is required to appropriately arrange the necessary function blocks at necessary positions on the signal path from the input terminal to the output terminal. The This work can only be done properly after fully considering the circumstances specific to the safety controller described above, so it is not easy for beginners unfamiliar with safety controller programming. Programming errors, such as missing positions, or necessary function blocks, but incorrect positions.

殊に、上述の第1、第2従来例にあっては、プログラミングフィールド上の各ファンクションブロックが配置される位置とその位置に配置されるファンクションブックの種別との間には厳密な相関は何ら存在しないから、本来配置されるべき複数のファンクションブロックのうちのいずれかが、誤って欠落していたり、配置される位置が誤っていたとしても、そのことを各ファンクションブロックのレイアウトから直ちに発見することは困難である。   In particular, in the first and second conventional examples described above, there is no strict correlation between the position where each function block is placed on the programming field and the type of function book placed at that position. Since it does not exist, even if any of the function blocks that should be placed is accidentally missing or is placed in an incorrect location, it is immediately detected from the layout of each function block. It is difficult.

そのため、それらの従来例において、そのようなプログラミングミスを発見するためには、具体的な制御の事情を頭に浮かべながら、入力端子から出力端子へと信号経路を順に辿ると言う地道な検証作業が必要となり、このような検証作業の煩雑さがこの種の安全コントローラの普及を阻害する一因ともなっている。   Therefore, in these conventional examples, in order to find such programming mistakes, steady verification work that sequentially traces the signal path from the input terminal to the output terminal, with specific control circumstances in mind Therefore, the complexity of such verification work is one factor that hinders the spread of this type of safety controller.

安全コントローラのプログラミングに使用されるファンクションブロックの種類は、安全コントローラの普及に連れて益々増加することが予想されるため、より多数の種別のファンクションブロックが存在するであろう将来の状況下においても、プログラミングミスが生じ難く、かつプログラミングミスが生じた場合には、そのことを容易に発見することが可能な安全コントローラのプログラム開発支援装置が要望されている。   The types of function blocks used to program safety controllers are expected to increase with the proliferation of safety controllers, so even in future situations where more types of function blocks will exist There has been a demand for a program development support apparatus for a safety controller that is unlikely to cause programming mistakes and that can easily find out if a programming mistake has occurred.

加えて、上述の第1、第2従来例にあっては、各ファンクションブロック間の接続関係を規定する固有パラメータの設定は、該当するファンクションブロック間を結ぶ信号線の描画操作を介して行うように仕組まれているため、完成されたプログラム中の出力条件ファンクションブロックの設定パラメータをロジック回路図を頼りに検証しようとすると、完成されたロジック回路図上の配線と安全入出力機器対応表(図28参照)上の入出力関係とを照合すると言う煩雑な操作を強いられることから、検証に手間取ると言う問題点もある。   In addition, in the above-described first and second conventional examples, the setting of the unique parameter that defines the connection relationship between the function blocks is performed through the drawing operation of the signal line connecting the corresponding function blocks. Therefore, if you try to verify the setting parameters of the output condition function block in the completed program using the logic circuit diagram, the wiring on the completed logic circuit diagram and the safety I / O device correspondence table (Fig. 28) Since there is a complicated operation of collating with the above input / output relationship, there is a problem that it takes time for verification.

この発明は、上述の問題点に着目してなされたものであり、その目的とするところは、ファンクションブロックを誤った位置に配置したり、誤った順序で配置すると言ったプログラミングミスが生じ難く、かつそのようなプログラミングミスが生じた場合には、そのことを容易に発見することができ、しかも完成後のプログラムにおける出力条件ファンクションブロックのパラメータ検証も容易な安全コントローラのプログラム開発支援装置を提供することにある。   The present invention has been made by paying attention to the above-mentioned problems, and the purpose thereof is to make it difficult to cause programming mistakes such as placing function blocks in the wrong position or placing them in the wrong order. In addition, when a programming error occurs, a safety controller program development support apparatus that can easily detect such a mistake and that also facilitates parameter verification of the output condition function block in the completed program is provided. There is.

この発明のさらに他の目的並びに作用効果については、明細書の記述を参照することにより、当業者であれば容易に理解されるであろう。   Other objects and operational effects of the present invention will be easily understood by those skilled in the art by referring to the description of the specification.

上述の技術的な課題は、以下の構成を有する安全コントローラのプログラム開発支援装置により解決することきができる。   The above technical problem can be solved by a program development support apparatus for a safety controller having the following configuration.

すなわち、この安全コントローラのプログラム開発支援装置は、画像表示器のスクリーン上のプログラミングフィールドに、予め用意された複数種のファンクションブロックの中から選択された1の種類のファンクションブロックを順次に配置しかつ各ファンクションブロック毎に必要な固有パラメータを設定することにより、所望の制御仕様に対応するロジック回路図を完成する一連のユーザ操作を通して、安全コントローラ用の制御プログラムが自動的に生成されるように動作する処理部を有した基本構成を有している。   That is, this safety controller program development support device sequentially arranges one type of function block selected from a plurality of types of function blocks prepared in advance in the programming field on the screen of the image display. By setting the necessary unique parameters for each function block, the control program for the safety controller is automatically generated through a series of user operations to complete the logic circuit diagram corresponding to the desired control specifications. It has a basic configuration with a processing unit.

そして、このプログラム開発支援装置は、上述の基本構成に加えて、前記プログラミングフィールドへのファンクションブロックの配置は、当該プログラミングフィールド上に表示され、かつ行と列との各交叉位置にそれぞれ対応するようにして、ブロック配置可能位置が定義されると共に、行方向の一端側は入力端子側として又他端側は出力端子側として定義されたファンクションブロック配置用のテンプレートによる案内にしたがって行われるようになっている。   In addition to the basic configuration described above, the program development support device is arranged such that the arrangement of function blocks in the programming field is displayed on the programming field and corresponds to each crossing position of a row and a column. Thus, the position where the block can be arranged is defined, and one end side in the row direction is defined as an input terminal side, and the other end side is performed according to guidance by a function block arrangement template defined as an output terminal side. ing.

さらに、このプログラム開発支援装置は、前記ファンクションブロックの1つである出力条件ファンクションブロックを該当する列に配置するときに必要とされる固有パラメータである入力信号の設定は、メニュー表示された入力信号リストの中から所望の入力信号を選択する操作を介して実行されるよいになっている。   Further, the program development support apparatus sets the input signal, which is a unique parameter required when the output condition function block, which is one of the function blocks, is arranged in the corresponding column, as the input signal displayed on the menu. It can be performed through an operation of selecting a desired input signal from the list.

このような動作をする処理部を備えた構成によれば、前記プログラミングフィールドへのファンクションブロックの配置は、当該プログラミングフィールド上に表示され、かつ行と列との各交叉位置にそれぞれ対応するようにして定義されたブロック配置可能位置に案内されるから、各ファンクションブロックは自動的に縦横整列されて配置され、ユーザはファンクションブロックのレイアウトに頭を悩ますことがない。   According to the configuration including the processing unit that performs such an operation, the arrangement of the function block in the programming field is displayed on the programming field and corresponds to each crossing position of the row and the column. Since each function block is automatically arranged vertically and horizontally, the user does not have to worry about the layout of the function block.

加えて、前記ファンクションブロックの1つである出力条件ファンクションブロックを該当する列に配置するときに必要とされる固有パラメータである入力信号の設定は、メニュー表示された入力信号リストの中から所望の入力信号を選択する操作を介して実行されるようになっているため、プログラム完成後の検証に際しては、ロジック回路図上の配線を追わねばならなかった従来例とは異なり、この種のプログラミングに先立って通常作成される安全入出力機器対応表とメニュー表示される入力信号リストとを照合することにより、誰でも容易に行うことが可能となる。   In addition, the setting of the input signal, which is a unique parameter required when the output condition function block, which is one of the function blocks, is arranged in the corresponding column, can be set from the input signal list displayed on the menu. Unlike the conventional example where the wiring on the logic circuit diagram had to be followed for verification after the completion of the program, this type of programming is performed because it is executed through an operation for selecting an input signal. By collating the safety input / output device correspondence table normally created in advance with the input signal list displayed on the menu, anyone can easily perform it.

このとき、前記入力信号リストのメニュー表示を、画像表示器のスクリーン上に開かれたメニューウィンドウ内に設定対象となる入力信号名を配列することにより行なうと共に、所望の入力信号の選択については、選択確認手段を介して行われるようにすれば、入力信号の選択操作、並びに、プログラム完成後の検証作業が一層容易となる。   At this time, the menu display of the input signal list is performed by arranging the input signal names to be set in the menu window opened on the screen of the image display device, and for selection of a desired input signal, If it is performed via the selection confirmation means, the input signal selection operation and the verification work after the completion of the program become easier.

また、前記入力信号リストのメニュー表示に使用される入力信号データを、前記ファンクションブロックの1つである入力系ファンクションブロックを該当する列に配置する際に生成された入力機器テーブルを参照することにより取得するようにすれば、メニュー表示のために、わざわざ別途に入力信号データを登録する作業が不要となる。   In addition, by referring to the input device table generated when the input signal data used for the menu display of the input signal list is arranged in the corresponding column of the input system function block which is one of the function blocks. If acquired, the operation of registering the input signal data separately for the menu display becomes unnecessary.

なお、前記入力信号リストのメニュー表示の態様については、それ以外にも様々な態様が可能であることは言うまでもない。例えば、入力端子数が16点、32点、64点と言ったように多くなると、それらの入力端子数に対応して選択対象となる入力信号数も増大するから、そのような場合には、それらの入力信号を幾つかのグループ毎に何回かに分けてメニュー表示するようにしてもよい。   Needless to say, the input signal list can be displayed in various other modes. For example, if the number of input terminals increases as 16 points, 32 points, and 64 points, the number of input signals to be selected increases corresponding to the number of input terminals. In such a case, These input signals may be divided into several groups and displayed in a menu.

また、そのような入力点数が多数に及ぶときに、対象となる出力条件ファンクションブロックと関係する入力信号の範囲がある程度論理的に推測されるのであれば、可能性の高いグループに属する入力信号から優先的に、又はそのようなグループに属する入力信号に絞り込んで、メニュー表示する等のように、AI機能を持たせれば、効率よく選択操作を行わせることができる。   In addition, when the number of such input points reaches a large number, if the range of the input signal related to the target output condition function block is logically estimated to some extent, the input signal belonging to the highly likely group If an AI function is provided, such as displaying a menu by preferentially or narrowing down to input signals belonging to such a group, the selection operation can be performed efficiently.

また、メニュー表示される入力信号リスト中の入力信号表示については、入力信号を示す名称、記号等のほか、対象となる入力端子の名称、記号等を使用してもよく、さらに、表示画面に余裕があることが条件ではあるが、比較対照となる安全入出力機器対応表の一般的なフォームが既知であれば、より一層照合が容易なように、各出力条件ファンクションブロック毎の設定済み入力信号データと各出力端子に割り当てられた安全出力機器データとに基づいて、逆アセンブリ処理を実行することにより、安全入出力機器対応表をグラフィカルに表示するようにしてもよいであろう。   As for the input signal display in the input signal list displayed on the menu, the name and symbol of the target input terminal may be used in addition to the name and symbol indicating the input signal. Although it is a condition that there is a margin, if the general form of the safety input / output device correspondence table to be compared is known, the input that has been set for each output condition function block will be more easily verified. The safety input / output device correspondence table may be displayed graphically by executing the disassembly process based on the signal data and the safety output device data assigned to each output terminal.

この発明によれば、ファンクションブロックを誤った位置に配置したり、誤った順序で配置すると言ったプログラミングミスが生じ難く、かつそのようなプログラミングミスが生じた場合には、そのことを容易に発見することができ、しかも完成後のプログラムにおける出力条件ファンクションブロックのパラメータ検証も容易な安全コントローラのプログラム開発支援装置を提供することができる。   According to the present invention, it is difficult to cause a programming mistake such as placing function blocks in the wrong position or in the wrong order, and when such a programming mistake occurs, it is easily discovered. In addition, it is possible to provide a safety controller program development support device that can easily verify the parameters of the output condition function block in the completed program.

安全コントローラを含む安全制御システムを示す概念図である。It is a conceptual diagram which shows the safety control system containing a safety controller. プログラム開発支援装置の機能を概念的に示すブロック図である。It is a block diagram which shows notionally the function of a program development support apparatus. プログラム開発支援装置の電気的なハードウェア構成を示す概略ブロック図である。It is a schematic block diagram which shows the electrical hardware constitutions of a program development assistance apparatus. 安全コントローラの電気的なハードウェア構成を示す概略ブロック図である。It is a schematic block diagram which shows the electrical hardware constitutions of a safety controller. プログラム開発支援装置のソフトウェア構成を示すフローチャート(その1)である。It is a flowchart (the 1) which shows the software structure of a program development assistance apparatus. プログラム開発支援装置のソフトウェア構成を示すフローチャート(その2)である。It is a flowchart (the 2) which shows the software structure of a program development assistance apparatus. 安全出力条件設定処理の詳細フローチャートである。It is a detailed flowchart of a safe output condition setting process. 安全プログラムテンプレートデータ(入力側)の一例を示す説明図である。It is explanatory drawing which shows an example of safety program template data (input side). 安全プログラムテンプレートデータ(出力側)の一例を示す説明図である。It is explanatory drawing which shows an example of safety program template data (output side). ユーザにより作成されたロジック回路データ(10b)の一例を示す説明図である。It is explanatory drawing which shows an example of the logic circuit data (10b) produced by the user. 入力機器テーブルの説明図である。It is explanatory drawing of an input device table. 出力条件設定テーブルの説明図である。It is explanatory drawing of an output condition setting table. 安全コントローラへダウンロードされる設定パラメータデータ(制御プログラム)の一例を示す説明図である。It is explanatory drawing which shows an example of the setting parameter data (control program) downloaded to a safety controller. 入力側テンプレートにおけるFB配置開始初期の画面説明図である。It is screen explanatory drawing in the initial stage of FB arrangement | positioning in an input side template. FB選択用メニューウィンドウの説明図である。It is explanatory drawing of the menu window for FB selection. 入力無効化条件設定用メニューウィンドウの説明図である。It is explanatory drawing of the menu window for an input invalidation condition setting. リセット条件設定用メニューウィンドウの説明図である。It is explanatory drawing of the menu window for reset condition setting. 入力FB、無効化条件FB、及びリセットFBが配置された入力側テンプレートの画面説明図である。It is screen explanatory drawing of the input side template by which the input FB, the invalidation condition FB, and the reset FB are arrange | positioned. 出力側テンプレートにおけるFB配置設定開始初期の画面説明図である。It is screen explanatory drawing at the beginning of FB arrangement | positioning setting start in an output side template. 溶着チェックに関する各種メニューウィンドウの画面説明図である。It is screen explanatory drawing of the various menu windows regarding a welding check. 端子モード設定用メニューウィンドウの説明図である。It is explanatory drawing of the menu window for terminal mode setting. 端子モードFB、出力条件FB、及び溶着チェックFBが配置された出力側テンプレートの画面説明図である。It is screen explanatory drawing of the output side template by which the terminal mode FB, the output condition FB, and the welding check FB are arrange | positioned. 出力条件設定用ウィンドウの説明図である。It is explanatory drawing of the window for an output condition setting. 入力側テンプレートにおけるFB配置完了時の確認用画面説明図である。It is explanatory drawing explanatory drawing at the time of completion of FB arrangement | positioning in an input side template. 出力側テンプレートにおけるFB配置完了時の確認用画面説明図である。It is explanatory drawing explanatory drawing at the time of FB arrangement | positioning completion in an output side template. プログラム開発支援装置(第1従来例)によるロジック回路図表示例である。It is a logic circuit diagram display example by a program development support device (first conventional example). プログラム開発支援装置(第2従来例)によるロジック回路図表示例である。It is a logic circuit diagram display example by a program development support device (second conventional example). 安全入出力機器対応表の説明図である。It is explanatory drawing of a safe input / output apparatus corresponding table.

以下に、この発明に係る安全コントローラのプログラム開発支援装置の好適な実施の一形態を添付図面を参照しながら詳細に説明する。   A preferred embodiment of a program development support apparatus for a safety controller according to the present invention will be described below in detail with reference to the accompanying drawings.

本発明に係るプログラム開発支援装置の対象となる安全コントローラを含む安全制御システムを示す概念図が図1に示されている。同図(a)に示される安全制御システムは、1台の安全コントローラ1と1若しくは2台以上の安全I/Oターミナル5とをバス型ネットワーク2aにて接続して構成されている。尚、同図(a)に示される安全制御システムにおいては、安全コントローラ1はマスタとして、安全I/Oターミナル5はスレーブとして機能する。   FIG. 1 is a conceptual diagram showing a safety control system including a safety controller that is a target of a program development support apparatus according to the present invention. The safety control system shown in FIG. 2A is configured by connecting one safety controller 1 and one or more safety I / O terminals 5 via a bus network 2a. In the safety control system shown in FIG. 2A, the safety controller 1 functions as a master and the safety I / O terminal 5 functions as a slave.

これらの安全コントローラ1及び安全I/Oターミナル5には、それぞれ入力機器3及び出力機器4が接続される。入力機器3としては、セーフティ非常停止スイッチ、セーフティライトカーテン、セーフティリミットスイッチ、セーフティドアスイッチなどを挙げることができる。また、出力機器4としては、セーフティリレー、セーフティコンタクタなどを挙げることができる。   An input device 3 and an output device 4 are connected to the safety controller 1 and the safety I / O terminal 5, respectively. Examples of the input device 3 include a safety emergency stop switch, a safety light curtain, a safety limit switch, and a safety door switch. Examples of the output device 4 include a safety relay and a safety contactor.

同図(a)に示されるマスタ・スレーブ型の安全制御システムに適用する場合、本発明のプログラム開発支援装置10は、安全コントローラ1と各安全I/Oターミナル5とを繋ぐバス型ネットワーク2aに接続することができる。これに対して、同図(b)に示される単独タイプの制御システムに適用する場合、本発明のプログラム開発支援装置10は所定のケーブル2bを介して直結される。こうして、プログラム開発支援装置10にて生成される安全に関する制御プログラムは、各安全コントローラ1で実行可能な形式に変換された後、安全コントローラ1へと送り込まれる。   When applied to the master / slave type safety control system shown in FIG. 1A, the program development support apparatus 10 of the present invention is connected to the bus type network 2a connecting the safety controller 1 and each safety I / O terminal 5. Can be connected. On the other hand, when applied to the single type control system shown in FIG. 4B, the program development support apparatus 10 of the present invention is directly connected via a predetermined cable 2b. Thus, the safety-related control program generated by the program development support apparatus 10 is converted into a format that can be executed by each safety controller 1 and then sent to the safety controller 1.

本発明に係るプログラム開発支援装置の電気的なハードウェア構成を示す概略ブロックズが図3に示されている。図1と図3とを参照して明らかなように、このプログラム開発支援装置10は、図示の例にあっては、ノート型パソコンを主体として構成されている。   A schematic block diagram showing the electrical hardware configuration of the program development support apparatus according to the present invention is shown in FIG. As is apparent with reference to FIG. 1 and FIG. 3, the program development support apparatus 10 is mainly composed of a notebook personal computer in the illustrated example.

ノート型パソコンのハードウェア構成は、当業者にはよく知られているように、CPU11と、入力操作部12と、画像表示部13と、ワークRAM14と、記憶装置15と、通信部16とをシステムバス17で接続して構成されている。   As is well known to those skilled in the art, the hardware configuration of a notebook computer includes a CPU 11, an input operation unit 12, an image display unit 13, a work RAM 14, a storage device 15, and a communication unit 16. The system bus 17 is connected.

CPU11はマイクロプロセッサを主体として構成されており、当該ノート型パソコン全体を統括制御するものである。入力操作部12は、マウスやキーボードなどを主体として構成されており、当該ノート型パソコンに対する各種の指令を与えるためのヒューマン・マシン・インタフェースとして機能するものである。   The CPU 11 is composed mainly of a microprocessor and controls the entire notebook personal computer. The input operation unit 12 is mainly composed of a mouse, a keyboard, and the like, and functions as a human machine interface for giving various commands to the notebook type personal computer.

画像表示部13は液晶ディスプレイなどにより構成されており、その画面(スクリーン)13aには、後に図14等を参照して詳述するように、本発明に係るプログラミングフィールド201が表示されるようになっている。ワークRAM14は、後述するシステムプログラム、アプリケーションプログラムなどをCPU11が実行する際のワークエリアとして利用される。   The image display unit 13 is composed of a liquid crystal display or the like, and a programming field 201 according to the present invention is displayed on the screen (screen) 13a as will be described in detail later with reference to FIG. It has become. The work RAM 14 is used as a work area when the CPU 11 executes a system program, an application program, etc., which will be described later.

記憶装置15は、ハードディスクなどで構成されており、その内部には出力イメージメモリ15a、システムメモリ15b、プログラムメモリ15cがそれぞれ配置されている。出力イメージメモリ15aは、本発明に関連して、各種のイメージを画像表示部13のスクリーン13a上に表示させる際の各種のイメージデータを格納するために使用され、システムメモリ15bは、当該ノートパソコンの基本的な機能を構成するためのファームウェア(オペレーティングシステムを含む)を格納するために使用される。プログラムメモリ15cは、当該ノートパソコンで実行されるべき各種のアプリケーションプログラムを格納するために使用される。   The storage device 15 is configured by a hard disk or the like, and an output image memory 15a, a system memory 15b, and a program memory 15c are arranged therein. In connection with the present invention, the output image memory 15a is used for storing various image data when various images are displayed on the screen 13a of the image display unit 13, and the system memory 15b is used for the notebook personal computer. Used to store the firmware (including the operating system) to configure the basic functions. The program memory 15c is used for storing various application programs to be executed by the notebook personal computer.

先に述べたように、出力イメージメモリ15a、システムメモリ15b、プログラムメモリ15cに格納された各種のプログラム並びにデータは、それぞれCPU11が実行する際には、ワークRAM14のワークエリア上に展開されて実行されることはよく知られている通りである。   As described above, when the CPU 11 executes various programs and data stored in the output image memory 15a, the system memory 15b, and the program memory 15c, the programs and data are developed on the work area of the work RAM 14 and executed. It is well known that it is done.

次に、安全コントローラ1の電気的なハードウェア構成を示す概略ブロック図が図4に示されている。同図に示されるように、安全コントローラ1の内部には、通信I/F部101と、中央演算部102と、入力端子部104aと、出力端子部104bとが含まれている。   Next, a schematic block diagram showing the electrical hardware configuration of the safety controller 1 is shown in FIG. As shown in the figure, the safety controller 1 includes a communication I / F unit 101, a central processing unit 102, an input terminal unit 104a, and an output terminal unit 104b.

通信I/F部101は、当該安全コントローラ1とネットワーク2a,2bとの間で通信を行う際のインタフェース機能を実現するためのものである。中央演算部102は、当該安全コントローラ1の全体を統括制御するものであり、マイクロプロセッサ、ROM、RAMなどを主体として構成されている。   The communication I / F unit 101 is for realizing an interface function when communication is performed between the safety controller 1 and the networks 2a and 2b. The central processing unit 102 performs overall control of the safety controller 1 as a whole, and mainly includes a microprocessor, a ROM, a RAM, and the like.

入力端子部104aには、入力機器3からの信号を受け付けるための複数の入力端子(端子1,端子2,・・・,端子n)が含まれている。一方、出力端子部104bには、出力機器4へと出力信号を送出するための複数の出力端子(端子1,端子2,・・・,端子n)が含まれている。   The input terminal unit 104a includes a plurality of input terminals (terminal 1, terminal 2,..., Terminal n) for receiving a signal from the input device 3. On the other hand, the output terminal portion 104b includes a plurality of output terminals (terminal 1, terminal 2,..., Terminal n) for sending output signals to the output device 4.

入力側の端子異常診断部103aは、入力端子部104aに含まれる各入力端子のそれぞれに対応する個別診断部を有している。各個別診断部は、複数の入力機器種別に対応する汎用の診断部として構成されており、この診断部は各入力機器種別に応じたパラメータが設定されることによって、その機種に特化した形態に構築されるように仕組まれている。後述するプログラミング作業において、入力系ファンクションブロックのパラメータとして出現するのは、この端子異常診断部103aを各入力機器種別に特化するためのパラメータのことである。   The input-side terminal abnormality diagnosis unit 103a has individual diagnosis units corresponding to the respective input terminals included in the input terminal unit 104a. Each individual diagnosis unit is configured as a general-purpose diagnosis unit corresponding to a plurality of input device types, and this diagnosis unit is configured according to the model by setting parameters according to each input device type. It is structured to be built. In the programming work described later, what appears as a parameter of the input function block is a parameter for specializing the terminal abnormality diagnosis unit 103a for each input device type.

出力側の端子異常診断部103bもまた、出力端子部104bに含まれる各出力端子に対応する個別診断部を有している。この個別診断部は、複数の出力機器種別に対応する汎用の診断部として構成されており、これに各出力機器に対応するパラメータを設定することによって、その出力機器種別に対応する診断部として特化されるように構成されている。   The terminal abnormality diagnosis unit 103b on the output side also has an individual diagnosis unit corresponding to each output terminal included in the output terminal unit 104b. This individual diagnosis unit is configured as a general-purpose diagnosis unit corresponding to a plurality of output device types, and by setting parameters corresponding to each output device, the individual diagnosis unit is specified as a diagnosis unit corresponding to the output device type. It is configured to be

次に、プログラム開発支援装置10の機能を概念的に示すブロック図が図2に示されている。同図に示されるように、本発明を実現するための構成に着目した場合、プログラム開発支援装置10として必要な機能構成要素としては、安全入力機器テーブル10aと、ロジック回路図データ10bと、設定パラメータを作成するためのコンパイラ10cと、コンパイラ10cを介してロジック回路図データ10bから変換された設定パラメータ10dとを挙げることができる。これらの機能構成要素については、後に本発明に係るプログラム開発支援装置の動作を説明する際に、図8〜図13に示される図表、並びに、図5〜図7に示されるフローチャートを参照しながら詳述することとする。   Next, a block diagram conceptually showing the functions of the program development support apparatus 10 is shown in FIG. As shown in the figure, when focusing on the configuration for realizing the present invention, the functional input elements necessary for the program development support device 10 include a safety input device table 10a, logic circuit diagram data 10b, and settings. Examples thereof include a compiler 10c for creating parameters and a setting parameter 10d converted from the logic circuit diagram data 10b through the compiler 10c. These functional components will be described later with reference to the charts shown in FIGS. 8 to 13 and the flowcharts shown in FIGS. 5 to 7 when the operation of the program development support apparatus according to the present invention is described later. It will be described in detail.

次に、図5〜図7を参照しながら、本発明に係るプログラム開発支援装置の動作について説明する。なお、それらのフローチャートに示されるアプリケーションプログラムについては、先に図3を参照して説明したプログラムメモリ15cに格納されたものである。また、それらのフローチャートに示される動作については、処理部に相当するCPU11によって統括して実行処理される。   Next, the operation of the program development support apparatus according to the present invention will be described with reference to FIGS. Note that the application programs shown in the flowcharts are those stored in the program memory 15c described above with reference to FIG. The operations shown in these flowcharts are collectively executed by the CPU 11 corresponding to the processing unit.

プログラム開発支援装置のソフトウェア構成を示すフローチャート(その1〜その3)が図5〜図7に示されている。   Flow charts (No. 1 to No. 3) showing the software configuration of the program development support apparatus are shown in FIGS.

図5において、処理が開始されると、まず、安全入出力端子の設定のためのユーザアクションを受け付ける処理が実行される(ステップ101)。ここで、ユーザアクションとしては、プログラム開発支援装置10を構成するノート型パソコンにおける所定のキー入力操作やマウス操作等を挙げることができる。このユーザアクションによって、安全入出力端子に関する各種のデータが設定される。こうして得られた安全入出力端子に関する各種のデータは、ワークRAM14に格納される(ステップ102)。   In FIG. 5, when the process is started, first, a process of accepting a user action for setting a safety input / output terminal is executed (step 101). Here, examples of the user action include a predetermined key input operation and a mouse operation in a notebook personal computer constituting the program development support apparatus 10. By this user action, various data related to the safety input / output terminal are set. Various data relating to the safety input / output terminal thus obtained is stored in the work RAM 14 (step 102).

入力側テンプレートにおけるファンクションブロック(以下、「FB」ともいう)配置開始初期の画面説明図が図14に、出力側テンプレートにおけるFB配置設定開始初期の画面説明図が図19にそれぞれ示されている。   FIG. 14 shows a screen explanatory diagram at the beginning of arrangement of function blocks (hereinafter also referred to as “FB”) in the input side template, and FIG. 19 shows a screen explanatory diagram at the initial stage of the start of FB arrangement setting in the output side template.

図14に示されるように、プログラム開発支援装置10を構成するノート型パソコンの画像表示部13のスクリーン13aには、入力用のセーフティロジックウィザードのためのウィンドウ200が開かれる。ここで、「セーフティロジックウィザード」とは、安全コントローラ用の制御プログラムに相当するロジック回路図作成のための各種ユーザサポート機能を総称するものである。   As shown in FIG. 14, a window 200 for an input safety logic wizard is opened on the screen 13 a of the image display unit 13 of the notebook personal computer constituting the program development support apparatus 10. Here, the “safety logic wizard” is a general term for various user support functions for creating a logic circuit diagram corresponding to a control program for a safety controller.

こうして開かれたウィンドウ200内には、横長長方形状のプログラミングフィールド201が定義されており、このプログラミングフィールド201には本発明の要部であるところの入力用テンプレート202が表示される。   In the window 200 thus opened, a horizontally long rectangular programming field 201 is defined, and an input template 202 which is a main part of the present invention is displayed in the programming field 201.

この入力側テンプレート202には、それぞれスクリーンの水平方向へと延びる行(R1,R2,R3,・・・)とスクリーンの垂直方向へ延びる列(C1,C2,C3)との各交点に対応するようにして、複数のブロック配置可能位置が設けられている。また、入力側テンプレート202の左側縁部には、各行(R1,R2,R3,R4・・・)に対応させて、その行の入力端子に関する情報が表示されている。   The input side template 202 corresponds to each intersection of a row (R1, R2, R3,...) Extending in the horizontal direction of the screen and a column (C1, C2, C3) extending in the vertical direction of the screen. In this way, a plurality of block arrangement possible positions are provided. In addition, on the left side edge portion of the input side template 202, information related to the input terminal of the row is displayed in association with each row (R1, R2, R3, R4...).

この例では、第1行(R1)は、2つの入力端子[IN0/1]に割り当てられており、それらの入力端子は、二重化仕様のセーフティ非常停止スイッチからの一対のNC(ノーマルクローズ)信号を受け付けるように設定されている。また、第2行(R2)は、2つの入力端子[IN2/3]に割り当てられており、それらの入力端子は、二重化仕様のセーフティドアスイッチからの一対のNC信号を受け付けるように設定されている。また、第3行(R3)は、1個の入力端子[IN4]に割り当てられており、この入力端子は、非二重化仕様のドアスイッチからの信号を受け付けるように設定されている。   In this example, the first row (R1) is assigned to two input terminals [IN0 / 1], and these input terminals are a pair of NC (normally closed) signals from the safety emergency stop switch of the duplex specification. Is set to accept. The second row (R2) is assigned to two input terminals [IN2 / 3], and these input terminals are set to receive a pair of NC signals from a duplex safety door switch. Yes. The third row (R3) is assigned to one input terminal [IN4], and this input terminal is set to receive a signal from a non-redundant specification door switch.

これらの入力端子設定に対応するようにして、入力側テンプレート202の第1列(C1)には、各行(R1,R2,R3)の端子設定に対応するようにして、それぞれの端子に関する自己診断機能を実現するためのファンクションブロックが配置される。   Corresponding to these input terminal settings, the first column (C1) of the input side template 202 has a self-diagnosis for each terminal corresponding to the terminal settings of each row (R1, R2, R3). Function blocks for realizing the functions are arranged.

すなわち、第1列(C1)の第1行(R1)に対応するブロック配置可能位置(横長長方形の小領域)には、セーフティ非常停止スイッチファンクションブロック(FB11)が、第2行に対応するファンクションブロック配置可能位置には、二重化仕様のセーフティライトカーテンファンクションブロック(FB12)が、第3行(R3)に相当するファンクションブロック配置可能位置には、非二重化仕様のセーフティライトカーテンファンクションブロック(FB13)がそれぞれ配置されている。   That is, the safety emergency stop switch function block (FB11) has a function corresponding to the second row at the block disposition position (horizontal rectangular small region) corresponding to the first row (R1) of the first column (C1). Redundant safety light curtain function block (FB12) is located at the position where the block can be placed, and the non-redundant safety light curtain function block (FB13) is located at the position where the function block can be placed corresponding to the third row (R3). Each is arranged.

そして、図5のフローチャートにおいて、ステップ101,102の処理が実行されると、以上説明した入力端子の設定並びにファンクションブロックの配置が実行される。   In the flowchart of FIG. 5, when the processing of steps 101 and 102 is executed, the above-described input terminal setting and function block arrangement are executed.

なお、この入力側テンプレート202における第2列(C2)の各行のブロック配置位置には、入力無効化ファンクションブロック又は入出力間導通ファンクションブロック(FB01)が配置されるように仕組まれており、同様にして第3列(C3)の各行のブロック配置位置にはセット/リセットファンクションブロック又は入力間導通ファンクションブロック(FB01)が配置されるように仕組まれている。これらの仕組みは、各列毎に選択可能なファンクションブロックをメニューウィンドウの中からのみ選択可能とすることで実現されている。   Note that the input invalidation function block or the inter-input / output conduction function block (FB01) is arranged at the block arrangement position of each row of the second column (C2) in the input side template 202. Thus, the set / reset function block or the inter-input conduction function block (FB01) is arranged at the block arrangement position of each row of the third column (C3). These mechanisms are realized by making it possible to select function blocks that can be selected for each column only from the menu window.

そして、入力側テンプレート202の上縁部には、各列(C1,C2,C3)に対応するようにして、その列に配置されるべきファンクションブロックの意味内容を示すインデックス203−1〜3が表示されている。ここで、第1列(C1)に対応するインデックス203−1の内容は、入力系ファンクションブロックであることを示す「入力」とされ、第2行(C2)に対応するインデックス203−2の内容は、入力無効化ファンクションブロックであることを示す「無効化」とされており、さらに第3列(C3)に対応するインデックス203−3の内容は、セット/リセットファンクションブロックであることを示す「リセット」とされている。   Then, at the upper edge of the input-side template 202, indexes 203-1 to 203-3 indicating the meaning contents of the function blocks to be arranged in the columns are provided so as to correspond to the columns (C1, C2, C3). It is displayed. Here, the content of the index 203-1 corresponding to the first column (C1) is “input” indicating an input function block, and the content of the index 203-2 corresponding to the second row (C2). Is an “invalidation” indicating that it is an input invalidation function block, and the content of the index 203-3 corresponding to the third column (C3) is “a set / reset function block” "Reset".

一方、この入力側テンプレート202の右側縁部には、各行(R1,R2,R3,R4・・・)ごとに、その左側縁部の入力表示情報と同一の入力表示情報とが表示されている。つまり、この入力側テンプレートにおいては、各行のそれぞれは、行単位で1個の入力信号に割り付けられているのである。   On the other hand, on the right edge of the input template 202, the same input display information as that of the left edge is displayed for each row (R1, R2, R3, R4...). . That is, in this input side template, each row is allocated to one input signal in units of rows.

そのため、このような構造を有する入力側テンプレート202によれば、同一の入力信号に係るファンクションブロックについては同一行に配置すればよく、また同種のファンクションブロックについては同一列に配置すればよいことになるため、ある入力信号経路に配置すべきファンクションブロックを別の入力信号経路に配置したり、あるいはある並び順で配列されるべき複数のファンクションブロックを別の並び順で配置してしまうといったプログラミングミスを起こし難いという利点がある。   Therefore, according to the input side template 202 having such a structure, function blocks related to the same input signal may be arranged in the same row, and function blocks of the same type may be arranged in the same column. Therefore, a programming error such that a function block to be arranged in one input signal path is arranged in another input signal path, or a plurality of function blocks to be arranged in one arrangement order is arranged in another arrangement order. There is an advantage that it is difficult to cause.

次に、出力側テンプレートにおけるFB配置設定開始初期の画面説明図が図19に示されている。同図に示されるように、この例にあっては、スクリーン上に開かれたウィンドウ200内のプログラミングフィールド201には、出力側テンプレート210が表示される。この出力側テンプレート210には、行(R1,R2,R3,R4・・・)と列(C4,C5,C6)との各交点に対応して、ブロック配置可能位置(横長長方形状の小領域)が定義されている。   Next, FIG. 19 shows a screen explanatory diagram at the beginning of the FB arrangement setting start in the output side template. As shown in the figure, in this example, the output side template 210 is displayed in the programming field 201 in the window 200 opened on the screen. In the output side template 210, block disposition positions (horizontal rectangular small regions) corresponding to the intersections of the rows (R1, R2, R3, R4...) And the columns (C4, C5, C6). ) Is defined.

この出力側テンプレート210の右側縁部には、各行(R1,R2,R3,R4・・・)に対応するようにして、その行に紐付けられた端子情報が表示されている。図示の例にあっては、第1行(R1)は安全仕様を有する2個の出力端子[OUT0/1]に割り当てられると共に、それらの出力端子のそれぞれは2個のセーフティリレーへと結線される。また、第2行(R2)は、1個の出力端子[OUT2]に割り当てられ、この出力端子は1個のセーフティリレーへと結線される。なお、この例では、第3行(R3)及び第4行(R4)についてはそれぞれ1個の出力端子[OUT3],[OUT4]に割り当てられるものの、それらの出力端子の結線先については未定とされている。   On the right edge of the output template 210, terminal information associated with each row is displayed so as to correspond to each row (R1, R2, R3, R4...). In the illustrated example, the first row (R1) is assigned to two output terminals [OUT0 / 1] having safety specifications, and each of the output terminals is connected to two safety relays. The The second row (R2) is assigned to one output terminal [OUT2], and this output terminal is connected to one safety relay. In this example, the third row (R3) and the fourth row (R4) are assigned to one output terminal [OUT3] and [OUT4], respectively, but the connection destinations of these output terminals are undetermined. Has been.

一方、この出力側テンプレート210の初段に位置する第4列(C4)は出力条件ファンクションブロックに割り当てられ、次の列である第5列(C5)は溶着チェック(EDM)ファンクションブロックに割り当てられ、さらに次の列である第6列(C6)は端子モードファンクションブロックに割り当てられている。   On the other hand, the fourth column (C4) located in the first stage of the output template 210 is assigned to the output condition function block, and the fifth column (C5) as the next column is assigned to the welding check (EDM) function block. Further, the next column, the sixth column (C6), is assigned to the terminal mode function block.

このことを明らかとするために、出力側テンプレート210の上縁部には、各列(C4,C5,C6)にそれぞれ対応させて、その列に配置されるべきファンクションブロックを意味するインデックス203−4〜6が表示されている。   In order to clarify this, at the upper edge portion of the output side template 210, an index 203- which means a function block to be arranged in that column corresponding to each column (C4, C5, C6), respectively. 4 to 6 are displayed.

具体的には、インデックス203−4の内容は、1もしくは2以上の入力信号のそれぞれの論理値がどのようなときに出力を生成すべきかを決定する出力条件ファンクションブロックであることを意味する「出力条件」とされている。また、インデックス203−5の内容は、出力端子に接続されるセーフティリレーの溶着チェックを行うための溶着チェック(EDM)ファンクションブロックであることを意味する「溶着チェック(EDM)」とされている。また、インデックス203−6の内容は、オンディレイやオフディレイなどの端子モードを設定する端子モードファンクションブロックであることを意味する「端子モード」とされている。   Specifically, the content of the index 203-4 means that it is an output condition function block that determines when the output of each logical value of one or more input signals should be generated. Output conditions ”. The contents of the index 203-5 are “welding check (EDM)” which means a welding check (EDM) function block for performing a welding check of the safety relay connected to the output terminal. The contents of the index 203-6 are “terminal mode” which means a terminal mode function block for setting terminal modes such as on-delay and off-delay.

なお、この初期画面においては、第6列(C6)の第1行(R1)のブロック配置可能位置には、リモートI/Oファンクションブロック(FB61)が配置されており、第2行(R2)のブロック配置可能位置にはリモートI/Oファンクションブロック(FB62)が配置されている。   In this initial screen, the remote I / O function block (FB61) is arranged at the block arrangement possible position of the first row (R1) of the sixth column (C6), and the second row (R2). The remote I / O function block (FB62) is arranged at the block arrangement possible position.

ここで重要な点であるが、先に説明した入力側テンプレートの場合と同様に、出力側テンプレートにおいても、各列(C4,C5,C6)は、それぞれ特定種類のファンクションブロックに割り当てられると共に、特に初段に位置する列(C4)については、出力条件ファンクションブロックに割り当てられているため、少なくとも列(C4)に出力条件ファンクションブロックが配置されている行のブロック配置可能位置には、その出力条件が成立して得られる出力信号に関するファンクションブロックが配置されることとなる。   The important point here is that each column (C4, C5, C6) is assigned to a specific type of function block in the output side template as in the case of the input side template described above. In particular, since the column (C4) located in the first stage is assigned to the output condition function block, the output condition is at least at the block arrangement possible position of the row where the output condition function block is arranged in the column (C4). A function block related to an output signal obtained by satisfying is established.

そのため、このような出力側テンプレートによれば、同一の出力信号に関する処理を行うファンクションブロックについては、その出力信号を生成する出力条件ファンクションブロックが置かれた行と同一の行に配置すればよく、また同種のファンクションブロックについてはそれぞれ特定の列に配置すればよいこととなるため、先の入力側テンプレートの場合と同様に、ある出力信号経路に配置すべきファンクションブロックを別の出力信号経路に配置したり、あるいは一定の並び順で配置されるべき複数のファンクションブロックを異なる並び順で配置するといったプログラミングミスを起こし難いという利点がある。   Therefore, according to such an output side template, a function block that performs processing related to the same output signal may be arranged in the same row as the row where the output condition function block that generates the output signal is placed, Since the same type of function blocks need only be placed in specific columns, the function blocks that should be placed in one output signal path are placed in another output signal path as in the case of the template on the input side. Or having a plurality of function blocks that should be arranged in a certain arrangement order is unlikely to cause a programming error.

さらに、本発明のプログラム開発支援装置によれば、図14と図19とに分離して示されるように、テンプレートの全体は、入力側テンプレート202と出力側テンプレート210とに分離して表示されることから、それらを一体に結合して表示させた場合に比べて、プログラミングミスを生じ難いという利点もある。   Furthermore, according to the program development support apparatus of the present invention, as shown in FIGS. 14 and 19 separately, the entire template is displayed separately in the input side template 202 and the output side template 210. Therefore, there is also an advantage that programming errors are less likely to occur than when they are combined and displayed.

すなわち、先に説明したように、入力側又は出力側のいずれのテンプレート202,210においても、各行(R1,R2,R3,R4・・・)のそれぞれには、同一の信号に関するファンクションブロックが配列されるのであるが、これを仔細に検討すると、同じ列であっても、入力側テンプレート202の側と出力側テンプレート210の場合とでは、一方は入力信号経路また他方は出力信号経路であって、信号経路の意味づけが大きく異なることが分かる。   That is, as described above, in each of the templates 202 and 210 on the input side or the output side, function blocks related to the same signal are arranged in each row (R1, R2, R3, R4...). However, if this is examined in detail, even in the same column, one is an input signal path and the other is an output signal path in the case of the input side template 202 side and the output side template 210. It can be seen that the meaning of the signal path is greatly different.

そのため、もしも、入力側テンプレート202と出力側テンプレート210とを一体に結合して、同一行の各列にファンクションブロックを配置する場合、入力信号に関するファンクションブロックを出力信号経路に配置してしまったり、逆に出力信号経路に配置すべきファンクションブロックを入力信号経路に配置するといったプログラミングミスを生じ易くなる。   Therefore, if the input side template 202 and the output side template 210 are combined together and a function block is placed in each column of the same row, a function block related to the input signal is placed in the output signal path, Conversely, programming errors such as function blocks to be arranged in the output signal path are likely to occur in the input signal path.

これに対して、本発明のように、テンプレートの全体を、入力側テンプレート202と出力側テンプレート210とに分離すれば、両者間に境界線を明示するだけであっても、ユーザはその境界線によって同一行であっても境界を境として各側の信号経路の意味が異なることを理解するから、そのようなプログラミングミスを生じ難くなるのである。   On the other hand, if the entire template is separated into the input side template 202 and the output side template 210 as in the present invention, even if the boundary line is clearly indicated between the two, the user can Since it is understood that the meaning of the signal path on each side differs from the boundary even in the same line, such a programming error is less likely to occur.

加えて、この実施形態のように、単に入力側と出力側とに分離するのみならず、入力側テンプレート202と出力側テンプレート210とを別々の画面で択一的に表示するようにすれば、そのような入力信号経路と出力信号経路とを誤認することによるファンクションブロックの配置誤りを一層確実に防止することができる。   In addition, as in this embodiment, if the input side template 202 and the output side template 210 are alternatively displayed on separate screens as well as being simply separated into the input side and the output side, It is possible to more reliably prevent an error in the arrangement of function blocks caused by misidentifying such an input signal path and an output signal path.

なお、以上説明した図14及び図19において、D1は画面を垂直方向へとスクロールするためのスクロールバー、D2は前の画面へと強制的に戻すための「戻る」ボタン、D3は次の画面へと強制的に進ませるための「次へ」ボタン、D4は様々なコマンドをキャンセルするためのキャンセルボタンである。   In FIGS. 14 and 19 described above, D1 is a scroll bar for scrolling the screen in the vertical direction, D2 is a “return” button for forcibly returning to the previous screen, and D3 is the next screen. "Next" button for forcibly proceeding to D4, D4 is a cancel button for canceling various commands.

スクロールバーD1の存在からも明らかなように、入力側テンプレート202及び出力側テンプレート210は、必要とする入力端子が8点、16点、32点、64点・・・といったように増加するのに合わせて、任意の長さ垂直方向へと延長することができ、その場合にはスクロールバーD1の操作によって、画面から隠れた特定の行をプログラミングフィールド200内に引き寄せることができる。   As is apparent from the presence of the scroll bar D1, the input side template 202 and the output side template 210 require 8 input points, 16 points, 32 points, 64 points, and so on. In addition, it can be extended in an arbitrary length in the vertical direction. In this case, a specific line hidden from the screen can be drawn into the programming field 200 by operating the scroll bar D1.

なお、本発明においては、以上説明した入力側テンプレート202及び出力側テンプレート210において、様々な原因によるプログラミングミスを防止するために、先に説明したセーフティロジックウィザードが採用されている。このセーフティロジックウィザードの内容については、後に図8〜図13の図表を参照しながら詳細に説明する。   In the present invention, the above-described safety logic wizard is employed in the input template 202 and the output template 210 described above in order to prevent programming errors due to various causes. The contents of the safety logic wizard will be described later in detail with reference to the charts of FIGS.

図5に戻って、安全入出力端子設定の記憶が完了すると(ステップ102)、続いて、図14に示されるように、セーフティロジックウィザードの適用された入力側テンプレート202の表示が行われ(ステップ103)、その後、本発明の要部であるところの入力側回路図データ生成処理(ステップ104)が実行される。この入力側回路図データ生成処理は、セーフティロジックウィザードの支援の下に行われる。   Returning to FIG. 5, when the storage of the safety input / output terminal setting is completed (step 102), the input template 202 to which the safety logic wizard is applied is then displayed as shown in FIG. 14 (step 102). 103) Thereafter, input side circuit diagram data generation processing (step 104), which is the main part of the present invention, is executed. This input side circuit diagram data generation processing is performed with the assistance of the safety logic wizard.

この入力側回路図データ生成処理(ステップ104)は、図5に示されるように、入力側テンプレート上へのFB配置のためのユーザアクションが行われるたびに(ステップ104a)、予め定義した「配置列」にしたがってFBを配置しているかどうかを判定し、予め定義した「配置列」にしたがってFBを配置している場合に限り、そのFBの配置内容を記憶(登録)する処理(ステップ104b)を、ユーザ側のFB配置継続意思が継続する限り(ステップ104c)、繰り返すものである。   As shown in FIG. 5, this input side circuit diagram data generation processing (step 104) is performed every time a user action for FB placement on the input side template is performed (step 104a). Whether or not the FB is arranged according to the “column”, and only when the FB is arranged according to the predefined “arrangement column”, the processing for storing (registering) the arrangement content of the FB (step 104b) Is repeated as long as the user's intention to continue the FB arrangement continues (step 104c).

ここで、判定基準となる予め定義した「配置列」とは、各ファンクションブロックを入力側テンプレート202上のどの列に配置すべきかを定義するものであって、例えば、図8に示されるように、安全プログラムテンプレートデータ(入力側)としてワークRAM14等に格納されたものである。   Here, the pre-defined “arrangement column” as a determination criterion defines in which column on the input side template 202 each function block should be arranged. For example, as shown in FIG. These are stored in the work RAM 14 or the like as safety program template data (input side).

図8に示されるように、この安全プログラムテンプレートデータ(入力側)は、各列(1列目、2列目、3列目・・・)毎に、その列に格納が許容されるファンクションブロックの「種別名」(入力系ファンクションブロック等)と、その「種別名」に包含される個々のファンクションブロックのリストを互いに関連づけて表形式に記憶することで構成されたものである。   As shown in FIG. 8, this safety program template data (input side) is a function block that is allowed to be stored in each column (first column, second column, third column,...). “Type name” (input function block, etc.) and a list of individual function blocks included in the “type name” are stored in a table format in association with each other.

具体的には、1列目には、入力系ファンクションブロックが格納されるべきものとされ、そのようなファンクションブロックには、不使用ファンクションブロック(Not Used)、非常停止スイッチファンクションブロック、セーフティライトカーテンファンクションブロック等が含まれる。2列目には、入力無効化ファンクションブロックが格納されるべきものとされ、この入力無効化ファンクションブロックには、不使用ファンクションブロック(Not Used)、論理和演算ファンクションブロック(OR)、論理積及び論理和演算ファンクションブロック(AND+OR)等が含まれる。3列目には、セット/リセットファンクションブロックが配置されるべきものとされ、このセット/リセットファンクションブロックには、不使用ファンクションブロック(Not Used)、マニュアルリセットファンクションブロック(Low−High−Low信号)、マニュアルリセットファンクションブロック(Rising Edge信号)等が含まれる。   Specifically, an input function block should be stored in the first column, and such function blocks include an unused function block (Not Used), an emergency stop switch function block, a safety light curtain. Function blocks etc. are included. In the second column, an input invalidation function block is to be stored. This input invalidation function block includes an unused function block (Not Used), an OR operation function block (OR), a logical product, An OR operation function block (AND + OR) and the like are included. In the third column, a set / reset function block should be arranged, and this set / reset function block includes an unused function block (Not Used) and a manual reset function block (Low-High-Low signal). Manual reset function block (Rising Edge signal) and the like.

図5へ戻って、ステップ104bの処理においては、ユーザアクション(104a)で指定される「列」及び具体的な「ファンクションブロック名」との組み合わせを、図8に示される安全プログラムテンプレートデータ(入力側)と照合することによって、予め定義した「配置列」にしたがってFBを配置しているか否かを判断する。   Returning to FIG. 5, in the process of step 104b, the combination of the “column” specified by the user action (104a) and the specific “function block name” is the safety program template data (input) shown in FIG. By comparing with the side), it is determined whether or not the FB is arranged according to the “arrangement sequence” defined in advance.

図14に示される入力側テンプレート202上において、例えば第1行(R1)の第2列(C2)のブロック配置可能位置に論理和演算ファンクションブロック(FB21)を配置したい場合には、第1行(R1)のプルダウンボタン(PB2)をマウスでクリックする。すると、図15(a)に示されるように、入力側テンプレート202上に重ねるようにして、メニューウィンドウ204が開かれる。   On the input side template 202 shown in FIG. 14, for example, when the logical sum operation function block (FB21) is to be arranged at the block arrangement possible position of the second column (C2) of the first row (R1), the first row Click the (R1) pull-down button (PB2) with the mouse. Then, as shown in FIG. 15A, the menu window 204 is opened so as to overlap the input side template 202.

このメニューウィンドウ204には、上下3段にわたって3つのファンクションブロックが表示される。すなわち、これらは、入出力間導通ファンクションブロック(FB01)、論理和演算ファンクションブロック(FB21)、論理積及び論理和演算ファンクションブロック(FB22)である。そして、この状態において、マウスの所定操作などによって、論理和演算ファンクションブロック(FB21)を選択すれば、選択されたファンクションブロック(FB21)が、第1行(R1)と第2列(C2)で特定されるブロック配置可能位置に配置される。   In this menu window 204, three function blocks are displayed over three levels. That is, these are an input / output conduction function block (FB01), a logical sum operation function block (FB21), and a logical product and logical sum operation function block (FB22). In this state, if the logical sum operation function block (FB21) is selected by a predetermined operation of the mouse or the like, the selected function block (FB21) is displayed in the first row (R1) and the second column (C2). It is arranged at the specified block arrangement possible position.

同様に、例えば、第1行(R1)の第3列(C3)に位置するブロック配置可能位置にセット/リセットファンクションブロック(FB31)を配置したい場合には、第3列のプルダウンボタンPB3を操作する。すると、図15(b)に示されるように、メニューウィンドウ205が開かれる。   Similarly, for example, when the set / reset function block (FB31) is to be arranged at the block arrangement possible position located in the third column (C3) of the first row (R1), the pull-down button PB3 in the third column is operated. To do. Then, as shown in FIG. 15B, a menu window 205 is opened.

このメニューウィンドウ205には、上下2段にわたって選択可能なファンクションブロックが表示される。それらは、入出力間導通ファンクションブロック(FB01)及びセット/リセットファンクションブロック(FB31)である。この状態において、マウスのクリック操作などにより、セット/リセットファンクションブロック(FB31)を選択すると、この選択されたファンクションブロック(FB31)は、第1行(R1)の第3列(C3)に位置するブロック配置可能位置へと配置される。一方、この状態から入力無効化条件を設定する場合には、マウスの所定操作によって、さらに、図16に示されるメニューウィンドウ206を開く。   The menu window 205 displays function blocks that can be selected in two upper and lower levels. They are an input / output conduction function block (FB01) and a set / reset function block (FB31). In this state, when the set / reset function block (FB31) is selected by clicking the mouse or the like, the selected function block (FB31) is located in the third column (C3) of the first row (R1). Arranged to the position where block can be arranged On the other hand, when setting the input invalidation condition from this state, the menu window 206 shown in FIG. 16 is further opened by a predetermined operation of the mouse.

同図に示されるように、このメニューウィンドウ206内には、AND条件設定用の信号名列とOR条件設定用の信号名列とが表示されると共に、それらの信号名列を構成する各信号名の先頭にはチェックボックス列207,208が表示されている。   As shown in the figure, in this menu window 206, a signal name string for AND condition setting and a signal name string for OR condition setting are displayed, and each signal constituting the signal name string is displayed. Check box columns 207 and 208 are displayed at the head of the name.

そのため、図15(a)に示されるメニューウィンドウ204において、OR演算が選択された場合には、図16(a)に示されるように、メニューウィンドウ206内のOR条件設定エリア内において、マウスのクリック操作などでチェックマークを挿入する。これに対して、図15(a)に示されるメニューウィンドウ204において、図示しないAND演算が選択された場合には、図16(b)に示されるように、メニューウィンドウ206内のAND条件領域において、該当する入力信号名のチェックボックス207に対してマウス操作などでチェックマークを挿入する。このような操作によって、入力無効化ファンクションブロックの選択及び入力無効化条件の設定を誰でも簡単に行うことができるのである。   Therefore, when the OR operation is selected in the menu window 204 shown in FIG. 15A, as shown in FIG. 16A, the mouse condition is set in the OR condition setting area in the menu window 206. Insert a check mark by clicking. On the other hand, when an AND operation (not shown) is selected in the menu window 204 shown in FIG. 15A, the AND condition area in the menu window 206 is selected as shown in FIG. Then, a check mark is inserted into the check box 207 of the corresponding input signal name by operating the mouse. By such an operation, anyone can easily select the input invalidation function block and set the input invalidation condition.

また、セット/リセットファンクションブロックを選択した後、リセット条件の設定を行う場合には、図17に示されるように、メニューウィンドウ209を開くことによって、該当するリセット条件の設定を行う。すなわち、同図(a)に示されるように、メニューウィンドウ209内において、プルダウンボタンD7をマウスで操作すると、リセット条件リストが表示されるから、その中から最適なリセット条件を設定した後、同図(b)に示されるように、OKボタンD8を操作すれば、所望のリセット条件を簡単に設定することができる。なお、リセット条件をやり直すためにキャンセルするのであれば、キャンセルボタンD9を操作すればよい。   When setting the reset condition after selecting the set / reset function block, the corresponding reset condition is set by opening a menu window 209 as shown in FIG. That is, as shown in FIG. 5A, when the pull-down button D7 is operated with the mouse in the menu window 209, a reset condition list is displayed. As shown in FIG. 5B, a desired reset condition can be easily set by operating an OK button D8. In addition, what is necessary is just to operate the cancel button D9, if canceling in order to reset reset conditions.

このようにして、ファンクションブロックの選択及び各条件の設定を行った後の入力側テンプレートの一例が図18に示されている。同図に示されるように、上述の選択及び指定操作によって、入力系ファンクションブロック、無効化条件ファンクションブロック、及びリセットファンクションブロックを希望通りに配置することができる。   FIG. 18 shows an example of the input side template after selecting the function block and setting each condition in this way. As shown in the figure, the input function block, the invalidation condition function block, and the reset function block can be arranged as desired by the selection and designation operations described above.

このように、図5に示される入力側回路図データ生成処理(ステップ104)においては、ユーザアクションによって何らかのファンクションブロックが配置されようとするたびに(ステップ104a)、それが予め定義した「配置列」にしたがって配置されようとしているかどうかの判断が行われ、両者が肯定される場合に限って、その希望されるFBの配置内容がロジック回路データ(10b)へと反映されるのに対し、「配置列」が予め定義したものでないと判定されれば、そのようなFBの配置は拒絶され、かつ画面上には所定の警告表示が行われるのである。   As described above, in the input side circuit diagram data generation process (step 104) shown in FIG. 5, every time a function block is arranged by a user action (step 104a), The determination is made as to whether or not the arrangement is going to be made in accordance with "", and only when both are affirmed, the arrangement content of the desired FB is reflected in the logic circuit data (10b). If it is determined that the “arrangement column” is not a predefined one, such FB arrangement is rejected and a predetermined warning is displayed on the screen.

そのため、このように、セーフティロジックウィザードの支援の下に行われる入力側回路図データ生成処理によれば、各ファンクションブロックのそれぞれは、適切な「配置列」をもって入力側テンプレート202上に正しく配置されることとなる。   Therefore, according to the input side circuit diagram data generation processing performed with the support of the safety logic wizard, each function block is correctly placed on the input side template 202 with an appropriate “placement sequence”. The Rukoto.

このようにして、入力側テンプレート202上に所望のファンクションブロックを全て配置したならば(ステップ104c NO)、図6へ移って、「次へ」ボタンD3を操作するユーザアクション(ステップ105)を待って、出力側テンプレートに関する処理へと移行する。   When all the desired function blocks are arranged on the input side template 202 in this way (NO in step 104c), the process moves to FIG. 6 and waits for a user action (step 105) for operating the “next” button D3. Then, the process proceeds to a process related to the output template.

この出力側テンプレートに関する処理においては、まず、セーフティロジックウィザードの組み込まれた出力側テンプレート210が、プログラミングフィールド201に表示される(ステップ106)。   In the processing related to the output side template, first, the output side template 210 in which the safety logic wizard is incorporated is displayed in the programming field 201 (step 106).

こうして、ウィンドウ200内のプログラミングフィールド201に表示された出力側テンプレート210の一例が図19に示されている。先に説明したように、この出力側テンプレートは、行(R1,R2,R3,R4・・・)と列(C4,C5,C6)との各交点にそれぞれ対応するようにしてブロック配置可能位置(横長長方形状の領域)が定義されると共に、行方向の左側から右側へ向けて出力信号の流れが定義されている。   An example of the output template 210 displayed in the programming field 201 in the window 200 is shown in FIG. As described above, this output-side template corresponds to the positions where the blocks can be arranged so as to correspond to the intersections of the rows (R1, R2, R3, R4...) And the columns (C4, C5, C6), respectively. (Horizontal rectangular region) is defined, and the flow of the output signal is defined from the left side to the right side in the row direction.

各列(C4,C5,C6)のそれぞれは、出力信号に関する所定種別のファンクションブロックに割り当てられている。具体的に言えば、この例にあっては、初段に位置する列(C4)は出力条件ファンクションブロックに、次の列(C5)は溶着チェック(EDM)ファンクションブロックに、さらに次の列(C6)は端子モードファンクションブロックにそれぞれ割り当てられている。   Each of the columns (C4, C5, C6) is assigned to a predetermined type of function block related to the output signal. Specifically, in this example, the column (C4) located in the first stage is the output condition function block, the next column (C5) is the welding check (EDM) function block, and the next column (C6). ) Is assigned to each terminal mode function block.

図6に戻って、出力側テンプレートの表示に続いて(ステップ106)、セーフティロジックウィザードの支援の下に行われる出力側回路図データ生成処理(ステップ107)が実行される。   Returning to FIG. 6, following the display of the output side template (step 106), an output side circuit diagram data generation process (step 107) performed with the assistance of the safety logic wizard is executed.

この出力側回路図データ生成処理(ステップ107)は、先に説明した入力側回路図データ生成処理と同様であって、出力側テンプレート210上へのFB配置のためのユーザアクションが行われるたびに(ステップ107a)、予め定義した「配置列」にしたがってFBを配置しているかの判断を行い、その判断が肯定される場合に限り、そのようにして配置されようとするFBの配置内容を記憶(登録)する処理(ステップ107b)を、出力側のFB配置が継続される限り(ステップ107c YES)、繰り返す。これに対して、上記の判断が否定される場合には(ステップ107b NO)、そのようなFBの配置を拒絶すると共に、画面上に所定の警告表示を行うようにしたものである。   This output side circuit diagram data generation processing (step 107) is the same as the input side circuit diagram data generation processing described above, and every time a user action for FB placement on the output side template 210 is performed. (Step 107a) It is determined whether the FB is arranged according to the predefined “arrangement sequence”, and only when the determination is affirmed, the arrangement contents of the FB to be arranged in that way are stored. The process of registering (step 107b) is repeated as long as the FB arrangement on the output side is continued (YES in step 107c). On the other hand, when the above judgment is denied (NO at step 107b), such an FB placement is rejected and a predetermined warning is displayed on the screen.

ここで、予め定義した「配置列」にしたがってFBを配置しているか否かの判断は、この例にあっては、図9に示される安全プログラムテンプレートデータ(出力側)の内容に基づいて行われる。すなわち、図9に示されるように、この安全プログラムテンプレートデータ(出力側)は、各列毎に、その列に配置が許容されるファンクションブロックの種別名称、及びその種別名称に包含される具体的なファンクションブロックのリストとを互いに関連づけて記憶することにより構成されている。   Here, in this example, whether or not the FB is arranged according to the predefined “arrangement sequence” is determined based on the contents of the safety program template data (output side) shown in FIG. Is called. That is, as shown in FIG. 9, this safety program template data (output side) includes, for each column, the type names of function blocks that are allowed to be arranged in the columns, and the specific names included in the type names. The function block list is stored in association with each other.

すなわち、図示の例にあっては、1列目には出力条件ファンクションブロックが配置可能とされると共に、この出力条件ファンクションブロックには不使用ファンクションブロック(Not Used)、論理積演算ファンクションブロック(AND)などが含まれるように設定されている。また、第2列目には溶着チェック(EDM)ファンクションブロックが配置可能とされると共に、この溶着チェック(EDM)ファンクションブロックには、不使用ファンクションブロック(Not Used)、EDMファンクションブロックなどが含まれるように設定されている。さらに、第3列目には端子モードファンクションブロックが配置可能とされると共に、この端子モードファンクションブロックには不使用ファンクションブロック(Not Used)、マスタからの受信データ(リモートI/O)、ロジックからの出力、補助出力が含まれるように設定されている。   That is, in the illustrated example, an output condition function block can be arranged in the first column, and the output condition function block includes an unused function block (Not Used), an AND operation function block (AND ) Etc. are included. In addition, a welding check (EDM) function block can be arranged in the second column, and this welding check (EDM) function block includes unused function blocks (Not Used), EDM function blocks, and the like. Is set to Further, a terminal mode function block can be arranged in the third column, and this terminal mode function block includes an unused function block (Not Used), data received from the master (remote I / O), and logic. Output and auxiliary output are included.

ここで、マスタからの受信データとは、当該安全コントローラが通信マスタユニットを介してリモートI/Oターミナル(スレーブ)と接続されるような構成の場合、当該リモートI/Oターミナル(スレーブ)から通信マスタが受信したデータを出力することを意味している。また、ロジックからの出力とは、当該安全コントローラ内部のロジック演算による演算結果を出力することを意味している。さらに、補助出力とは、当該安全コントローラからの出力を分岐して補助出力とすることを意味している。   Here, the data received from the master is communicated from the remote I / O terminal (slave) when the safety controller is connected to the remote I / O terminal (slave) via the communication master unit. This means that the data received by the master is output. Moreover, the output from the logic means outputting the calculation result by the logic calculation inside the safety controller. Further, the auxiliary output means that the output from the safety controller is branched to be an auxiliary output.

そして、出力側テンプレート上へのFB配置のための何らかのユーザアクションが検出されるたびに(ステップ107a)、そのユーザアクションにより指定される「ブロック配置可能位置」と「ファンクションブロック名」とを図9に示される安全プログラムテンプレートデータ(出力側)と照合することによって、その配置されようとするFBが、予め定義した「配置列」にしたがって配置されるか否かの判断を行うものである。   Each time a user action for FB placement on the output template is detected (step 107a), the “block placement possible position” and “function block name” designated by the user action are shown in FIG. By comparing with the safety program template data (output side) shown in (1), it is determined whether or not the FB to be arranged is arranged according to a predefined “arrangement sequence”.

これをより具体的に説明すると、いま仮に、図19に示される出力側テンプレート210を前提として、行(R1)と列(C5)とで特定されるブロック配置可能位置に、溶着チェック(EDM)ファンクションブロックを配置する場合を想定する。   More specifically, assuming that the output side template 210 shown in FIG. 19 is assumed, the welding check (EDM) is performed at the block arrangement possible position specified by the row (R1) and the column (C5). Assume that function blocks are placed.

このような場合には、まず、行(R1)のプルダウンボタンPB5をマウスで操作する。すると、図20(a)に示されるように、出力側テンプレート210上に重ねるようにしてメニューウィンドウ211が開かれる。このメニューウィンドウ211内には、上下2段にわたって、2個のファンクションブロックが表示されている。すなわち、それらは、出力側分岐ファンクションブロックFB51とEDMファンクションブロックFB52である。ここでユーザは、マウス操作で、EDMファンクションブロック(FB52)を選択する。すると、この選択されたファンクションブロック(FB52)は、行(R1)と列(C5)とで特定されるブロック配置可能位置に配置される。   In such a case, first, the pull-down button PB5 in the row (R1) is operated with the mouse. Then, as shown in FIG. 20A, a menu window 211 is opened so as to overlap the output side template 210. In this menu window 211, two function blocks are displayed over two levels. That is, they are the output side branch function block FB51 and the EDM function block FB52. Here, the user selects the EDM function block (FB52) by operating the mouse. Then, the selected function block (FB52) is arranged at a block arrangement possible position specified by the row (R1) and the column (C5).

また、このEDMファンクションブロック(FB52)について、溶着チェック(EDM)フィードバックを設定する場合には、所定のマウス操作によって、図20(b)に示されるように、メニューウィンドウ212を開く。このメニューウィンドウ212内には、プルダウンボタンD10、OKボタンD11、キャンセルボタンD12が配置されている。この状態において、ユーザは、プルダウンボタンD10をマウスで操作することによって、フィードバック信号リストを表示させ、その中から所望のフィードバック信号を選択し、OKボタンD11の操作でこれを確定する。図20(b)の例では、フィードバック信号として、入力信号IN7が選択設定される。   Further, when setting a welding check (EDM) feedback for the EDM function block (FB52), a menu window 212 is opened by a predetermined mouse operation as shown in FIG. In the menu window 212, a pull-down button D10, an OK button D11, and a cancel button D12 are arranged. In this state, the user displays the feedback signal list by operating the pull-down button D10 with the mouse, selects a desired feedback signal from the list, and confirms it by operating the OK button D11. In the example of FIG. 20B, the input signal IN7 is selected and set as the feedback signal.

また、行(R1)と列(C6)とで特定されるブロック配置可能位置に二重化処理されたリモートI/Oファンクションブロックを配置する場合には、行(R1)と列(C6)とで特定されるブロック配置可能位置の右側に位置するプルダウンボタンPB6をマウスで操作する。すると、図21(a)に示されるように、出力側テンプレート210に重ねるようにして所定のメニューウィンドウ213が開かれる。   In addition, when a remote I / O function block that has been duplicated is placed at a block placement position specified by row (R1) and column (C6), it is specified by row (R1) and column (C6). The pull-down button PB6 located on the right side of the position where the block can be arranged is operated with the mouse. Then, as shown in FIG. 21A, a predetermined menu window 213 is opened so as to overlap the output side template 210.

このメニューウィンドウ213内には、上下2段に2個のファンクションブロックが表示される。それらのファンクションブロックは、この例にあっては、二重化対応のリモートI/Oファンクションブロック(FB61)と非二重化対応のロジックファンクションブロック(FB62)である。   In this menu window 213, two function blocks are displayed in two upper and lower levels. In this example, these function blocks are a duplex-compatible remote I / O function block (FB61) and a non-duplex-compatible logic function block (FB62).

ここでユーザは、マウスの操作で、メニュー上から、二重化対応のリモートI/Oファンクションブロック(FB61)を選択する。すると、選択されたファンクションブロック(FB61)は、行(R1)と列(C6)とで特定されるブロック配置可能位置に配置される。   Here, the user selects a redundant remote I / O function block (FB61) from the menu by operating the mouse. Then, the selected function block (FB61) is arranged at a block arrangement possible position specified by the row (R1) and the column (C6).

さらに、行(R2)と列(C6)とで特定されるブロック配置可能位置に二重化非対応のロジックファンクションブロック(FB64)を配置する場合には、そのブロック配置可能位置の右側に位置するプルダウンボタンPB6をマウスで操作する。すると、図28(b)に示されるように、出力側テンプレート210に重なるようにしてメニューウィンドウ214が開かれる。   Furthermore, in the case where a logic function block (FB64) that does not support duplication is arranged at the block arrangement possible position specified by the row (R2) and the column (C6), a pull-down button located on the right side of the block arrangement possible position PB6 is operated with a mouse. Then, as shown in FIG. 28B, a menu window 214 is opened so as to overlap the output side template 210.

このメニューウィンドウ214内には、上下3段にわたって3個のファンクションブロックが表示されている。それらは、二重化非対応のリモートI/Oファンクションブロック(FB63)、二重化非対応のロジックファンクションブロック(FB64)、及び補助出力ファンクションブロック(FB65)である。ここで、ユーザは、二重化非対応のロジックファンクションブロック(FB64)を選択する。すると、選択されたファンクションブロック(FB64)は、行(R2)と列(C6)とで特定されるブロック配置可能位置に配置される。   In this menu window 214, three function blocks are displayed over three levels. These are a remote I / O function block (FB63) that does not support duplication, a logic function block (FB64) that does not support duplication, and an auxiliary output function block (FB65). Here, the user selects a logic function block (FB64) that does not support duplication. Then, the selected function block (FB64) is arranged at a block arrangement possible position specified by the row (R2) and the column (C6).

出力条件ファンクションブロックの選択並びに設定についても、図20(a)に示される溶着チェック(EDM)ファンクションブロック(FB52)の場合と同様にして、メニューウィンドウを用いた選択設定により行われるのであるが、このようにして選択設定された出力条件ファンクションブロックについて、さらに出力条件の設定を行うに際しては、この実施形態においては、さらにユーザの使い勝手を考慮した優れた機能が備えられている。   The selection and setting of the output condition function block is performed by selection setting using the menu window in the same manner as in the case of the welding check (EDM) function block (FB52) shown in FIG. When further setting the output condition for the output condition function block selected and set in this way, this embodiment is further provided with an excellent function considering user convenience.

すなわち、図23に示されるように、選択設定された出力条件ファンクションブロックについて出力条件を設定する場合には、マウスによる所定操作に応答して出力条件設定用ウィンドウ215が開かれるようになっている。この出力条件設定用ウィンドウ215内には、出力条件であるAND条件の入力候補となる入力信号名が一連に表示されると共に、各入力信号名の頭部には、チェックボックス216が設けられる。そして、出力条件となる入力信号の選択は、このチェックボックス216内にマウスを用いて所定のチェックマークを挿入するだけで行うことができる。この選択を確定するためには、OKボタンD13をマウスで操作するだけでよく、逆に設定を解除するためにはキャンセルボタンD14をマウスで操作すればよいのである。   That is, as shown in FIG. 23, when setting the output condition for the selected output condition function block, the output condition setting window 215 is opened in response to a predetermined operation by the mouse. . In this output condition setting window 215, input signal names that are input candidates for AND conditions that are output conditions are displayed in series, and a check box 216 is provided at the head of each input signal name. An input signal as an output condition can be selected simply by inserting a predetermined check mark into the check box 216 using a mouse. In order to confirm this selection, it is only necessary to operate the OK button D13 with a mouse. Conversely, in order to cancel the setting, the cancel button D14 may be operated with the mouse.

先に説明したように、この種のプログラミング作業を行う場合には、それに先立って、図28に示されるような安全入出力機器対象表を作成するのが通例であり、この安全入出力機器対象表を頼りとして、出力条件の設定を行うものである。   As described above, when this type of programming work is performed, it is customary to create a safety input / output device target table as shown in FIG. Relying on the table, the output conditions are set.

ここで、図26や図27に示されるような従来のプログラム開発支援装置の場合には、出力条件の設定はファンクションブロック同士を結ぶ配線の描画操作を介して行うものであったので、出力条件が正しく設定されているか否かの検証には、安全入出力対照表と配線図とを照合すると言う煩雑な作業が要求された。   Here, in the case of the conventional program development support apparatus as shown in FIGS. 26 and 27, since the setting of the output condition is performed through the drawing operation of the wiring connecting the function blocks, the output condition In order to verify whether or not is correctly set, a complicated operation of collating the safety input / output comparison table with the wiring diagram is required.

これに対して、本発明の場合には、入力信号と出力信号との論理関係を規定する出力条件の設定操作は、図23に示されるように、メニューウィンドウ215内に表示された一連の入力信号名の中から該当するものを、チェックボックスのチェック操作で選択するものとされている。そのため、出力条件の設定に際しては、図28に示されるような安全入出力機器対象表の通りに、チェックボックス216を選択するだけで、目的とする出力条件の設定を簡単な操作で行うことができる。   On the other hand, in the case of the present invention, the setting operation of the output condition that defines the logical relationship between the input signal and the output signal is a series of inputs displayed in the menu window 215 as shown in FIG. The corresponding signal name is selected by checking the check box. Therefore, when setting the output condition, the target output condition can be set with a simple operation simply by selecting the check box 216 according to the safety input / output device target table as shown in FIG. it can.

また、完成後のプログラムにおいて、出力条件が正しく設定されているか否かを検証するに際しても、メニューウィンドウ215内のチェックボックスの選択状態と予め作成された入出力機器対象表とを照合するだけでよく、図26や図27に示される従来例のように、ファンクションブロック間の配線を辿る必要もないため、そのような検証作業を短時間でかつ容易に成し遂げることができる。   Also, when verifying whether the output conditions are correctly set in the completed program, it is only necessary to collate the selected state of the check box in the menu window 215 with the input / output device target table created in advance. Well, unlike the conventional example shown in FIGS. 26 and 27, it is not necessary to trace the wiring between function blocks, so that such a verification operation can be accomplished in a short time and easily.

上記のメニューウィンドウ215内に表示される入力信号に関するデータとしては、図11に示される入力機器テーブル内のデータが使用される。この入力機器テーブルは、図14に示される入力側テンプレート202において、入力端子の設定操作、すなわち入力端子にどのような入力機器からの信号が入力されるかを設定するために行われる通常の操作によって設定される。そのため、わざわざ出力条件設定のために、特別な入力情報設定操作は不要である。   As data relating to the input signal displayed in the menu window 215, data in the input device table shown in FIG. 11 is used. This input device table is an input terminal setting operation in the input side template 202 shown in FIG. 14, that is, a normal operation performed to set what kind of input device a signal is input to the input terminal. Set by Therefore, no special input information setting operation is required to set the output condition.

そして、メニューウィンドウ215内において、チェックボックスのマウス操作による選択を通じて入力信号名の選択を行うと、図7のフローチャートに示される安全出力条件設定処理が作動することにより、図12に示されるように、出力条件設定テーブルが完成するのである。図7に示される安全出力条件設定処理は、先に説明したセーフティロジックウィザードの支援下に行われる出力回路図データ生成処理107において実行されることとなる。   Then, when the input signal name is selected through the selection of the check box by operating the mouse in the menu window 215, the safety output condition setting process shown in the flowchart of FIG. The output condition setting table is completed. The safety output condition setting process shown in FIG. 7 is executed in the output circuit diagram data generation process 107 performed with the support of the safety logic wizard described above.

すなわち、図7のフローチャートに示されるように、安全出力条件の設定選択のためのユーザアクションが行われると(ステップ1071)、入力機器テーブル(図11参照)より安全入力機器が検索されて抽出され(ステップ1072)、これらの抽出された入力機器データに基づいて、図23に示されるメニューウィンドウ215内の入力信号の一覧表示が行われる。すなわち、安全出力条件選択画面表示として、チェックボックス形式にて安全入力端子番号、機器名などが表示されることとなる(ステップ1073)。   That is, as shown in the flowchart of FIG. 7, when a user action for selecting and setting the safety output condition is performed (step 1071), the safety input device is searched and extracted from the input device table (see FIG. 11). (Step 1072) Based on these extracted input device data, a list of input signals in the menu window 215 shown in FIG. 23 is displayed. That is, as a safety output condition selection screen display, a safety input terminal number, a device name, and the like are displayed in a check box format (step 1073).

この状態において、チェックボックス216にチェックを入れることにより、該当の安全出力条件を選択して、「OK」ボタンを押下するユーザアクションが確認されると(ステップ1074)、こうして選択された安全出力条件の記憶が行われ(ステップ1075)、これが必要回数繰り返されることにより(ステップ1076YES)、図12に示される出力条件設定テーブルが完成するのである。   In this state, by checking the check box 216 to select the corresponding safety output condition and confirm the user action to press the “OK” button (step 1074), the safety output condition thus selected is selected. Is stored (step 1075), and this is repeated as many times as necessary (YES in step 1076), thereby completing the output condition setting table shown in FIG.

このようにして、端子モードFB、出力条件FB、及び溶着チェックFBがそれぞれ配置された出力側テンプレートの状態が図18に示されている。同図から明らかなように、上述の選択設定処理によって、各指定されたブロック配置可能位置には、選択されたファンクションブロック(FB62,FB65,FB52,FB41)がそれぞれ配置されていることが理解されるであろう。   FIG. 18 shows the state of the output-side template in which the terminal mode FB, the output condition FB, and the welding check FB are arranged in this way. As is apparent from the figure, it is understood that the selected function block (FB62, FB65, FB52, FB41) is arranged at each designated block arrangement possible position by the above selection setting process. It will be.

最後に、入力側テンプレートにおけるFB配置完了時の確認用画面の説明図が図24に、また出力側テンプレートにおけるFB配置完了時の確認用画面の説明図が図25にそれぞれ示されている。   Finally, FIG. 24 is an explanatory diagram of the confirmation screen when the FB arrangement is completed in the input template, and FIG. 25 is an explanatory diagram of the confirmation screen when the FB arrangement is completed in the output template.

それらの図から明らかなように、以上の各ファンクションブロック選択並びに設定操作を繰り返すことによって、入力側テンプレート並びに出力側テンプレート上には必要なファンクションブロックが必要な位置に適切に配置されるのである。   As is clear from these figures, by repeating the above function block selection and setting operations, necessary function blocks are appropriately arranged at necessary positions on the input side template and the output side template.

このように、図6のフローチャートに示される出力側回路図データ生成処理(ステップ107)においては、予め定義した「配置列」にしたがってFBを配置しているか否かの判断が行われ、予め定義した「配置列」にしたがってFBが配置されていると判定された場合に限り、その配置が希望されるFBの配置内容が記憶(登録)されて、図13に示されるロジック回路データ(10b)が生成される。   As described above, in the output side circuit diagram data generation processing (step 107) shown in the flowchart of FIG. 6, it is determined whether or not the FB is arranged according to the predefined “arrangement sequence”. Only when it is determined that the FB is arranged in accordance with the “arrangement column”, the arrangement contents of the FB desired to be arranged are stored (registered), and the logic circuit data (10b) shown in FIG. Is generated.

図6に戻って、このようにして、出力側テンプレート210上に必要なファンクションブロックの配置が完了したならば、「次へ」ボタンD3の操作に相当するユーザアクションを待って(ステップ107d)、以上のファンクションブロック配置操作で生成された図13に示されるロジック回路データ(10b)は、全ファンクションブロックに関して、安全コントローラが解読可能なデータ形式に変換され(ステップ108〜110)、それら変換されたデータを集合することによって、ダウンロードパラメータ(安全コントローラ用制御プログラム)が生成される(ステップ111)。   Returning to FIG. 6, when the necessary function block arrangement on the output side template 210 is completed in this way, a user action corresponding to the operation of the “next” button D3 is awaited (step 107d). The logic circuit data (10b) shown in FIG. 13 generated by the above function block arrangement operation is converted into a data format that can be read by the safety controller with respect to all the function blocks (steps 108 to 110). By collecting the data, a download parameter (safety controller control program) is generated (step 111).

こうして生成されたダウンロードパラメータは、従来と同様、通信を介して又は可搬型記録媒体を介して、目的とする安全コントローラへとインストールされることとなる。   The download parameter generated in this way is installed in the target safety controller via communication or via a portable recording medium, as in the past.

以上、図5〜図7を参照して説明したソフトウェア構成によれば、ファンクションブロック配置用のテンプレートの全体は、入力側テンプレート202と出力側テンプレート210とに分離されているため、各テンプレート202,210内の信号経路は、入力信号経路又は出力信号経路に統一されるため、入力信号経路に出力信号対応のファンクションブロックを配置したり、逆に出力信号経路に入力信号対応のファンクションブロックを配置するといったファンクションブロック配置誤りを生じ難い。   As described above, according to the software configuration described with reference to FIGS. 5 to 7, the entire function block arrangement template is separated into the input side template 202 and the output side template 210. Since the signal path in 210 is unified to an input signal path or an output signal path, a function block corresponding to an output signal is arranged in the input signal path, or conversely, a function block corresponding to an input signal is arranged in the output signal path. It is difficult to cause a function block layout error.

また、入力側テンプレート202並びに出力側テンプレート210の何れにおいても、各行には同一の入力信号又は出力信号の経路が存在することとなるため、同一の入力信号又は出力信号に関するファンクションブロックについては各ファンクションテーブル内において同一の行に配置しておきさえすれば、ある信号経路に配置されるべきファンクションブロックを誤って別の信号経路に配置するといったプログラミングミスを生じ難いという利点もある。   In both the input side template 202 and the output side template 210, the same input signal or output signal path exists in each row. As long as they are arranged in the same row in the table, there is an advantage that it is difficult to cause a programming error such that a function block to be arranged in one signal path is mistakenly arranged in another signal path.

また、プログラミングフィールド201上には、入力側テンプレート202と出力側テンプレート210とが択一的に表示されるため、それらを分離しつつも1画面に同時に表示する場合に比べて、上述のプログラミングミスを一層生じ難い。   In addition, since the input side template 202 and the output side template 210 are alternatively displayed on the programming field 201, the above-described programming errors are compared with the case where they are displayed simultaneously on one screen while being separated. Is less likely to occur.

また、プログラミングフィールド201上に入力側テンプレート202と出力側テンプレート210とを択一的に表示するに際しては、入力側テンプレート202の表示が先でかつ出力側テンプレート210の表示が後となるようにしているため、そのような表示手順に従うだけで、ユーザは、入力側テンプレート202上のファンクションブロックの配置を完了してから、出力側テンプレート210上のファンクションブロックの配置を行うこととなり、一般に出力側テンプレート上のファンクションブロックの配置並びにパラメータ設定には、それよりも先に入力側テンプレート上のファンクションブロックの配置並びにパラメータの設定が必要であることを考慮すると、これによってもプログラミングミスを生じ難いという利点もある。   When the input side template 202 and the output side template 210 are alternatively displayed on the programming field 201, the input side template 202 is displayed first and the output side template 210 is displayed later. Therefore, simply by following such a display procedure, the user must arrange the function blocks on the output side template 210 after completing the arrangement of the function blocks on the input side template 202. Considering that the function block placement and parameter settings above require the function block placement and parameter settings on the input template before that, this also has the advantage that programming errors are unlikely to occur. is there

また、ファンクションブロックを何れかのブロック配置可能位置に配置するに際しては、そのファンクションブロックをその種別に応じて予め定義された「配置列」へと誘導するセーフティロジックウィザードの仕組みが組み込まれているため、このセーフティロジックウィザードの作用によって、1の信号経路内において、複数のファンクションブロックが誤った並びで配列されるといったプログラミングミスは生ずる余地がない。   In addition, when a function block is placed at any of the possible block placement positions, there is a built-in safety logic wizard that guides the function block to a predefined “placement row” according to its type. As a result of the operation of the safety logic wizard, there is no room for a programming error in which a plurality of function blocks are arranged in the wrong sequence in one signal path.

一方、そのようなセーフティロジックウィザードの作用によって、同一種別のファンクションブロックは必ず同一列に配置されることとなるため、何れかの行においてファンクションブロックを誤って配置し忘れたような場合には、列単位でファンクションブロックの抜けている箇所を探すだけで、この種の安全プログラムの検証を容易に行うことができる。   On the other hand, the function block of the same type will always be placed in the same column by the action of such a safety logic wizard, so if you forgot to place the function block in any row by mistake, This type of safety program can be easily verified simply by searching for the missing part of the function block in units of columns.

さらに、出力条件の設定は、図23に示されるように、チェックボックス形式の入力信号一覧表に基づいて行えるため、従前の配線図形式のプログラム開発支援装置とは異なり、安全入出力機器対象表との直接的な照合が可能となるため、プログラミング作業並びにプログラム検証作業の簡素化に資するものである。   Further, as shown in FIG. 23, the output condition can be set based on a check box format input signal list, and therefore, unlike the conventional wiring diagram format program development support device, the safety input / output device target table. Therefore, it is possible to simplify the programming work and the program verification work.

このように、以上説明した各実施形態のプログラム開発支援装置によれば、テンプレートの全体は入力側テンプレートと出力側テンプレートとに分離されることから、各テンプレート内においては、同一信号に関する信号経路は同一行に存在することとなる。   As described above, according to the program development support apparatus of each embodiment described above, the entire template is separated into the input side template and the output side template. It will be on the same line.

また、各テンプレート内の各列(C1〜C6)のそれぞれには、同一種別のファンクションブロックがセーフティロジックウィザードの作用によって配置されるように導かれることとなる。しかも、そのようなセーフティロジックウィザードの作用によって、同種別のファンクションブロックについては、同一列にひとりでに配列されるため、何れかのファンクションブロックを配置し忘れたような場合にも、プログラム完成後においては、各列ごとにファンクションブロックの有無をチェックし、何れかの行にファンクションブロックが存在しなければ、その部分を集中的にチェックすることによって、この種の安全コントローラ用制御プログラムのデバッグを簡単に行うことが可能となる。   In addition, each column (C1 to C6) in each template is guided so that the same type of function block is arranged by the action of the safety logic wizard. Moreover, because of the function of the safety logic wizard, the same type of function blocks are arranged alone in the same column, so even if you forget to place any function block, after the program is completed It is easy to debug this kind of safety controller control program by checking the presence of function blocks for each column and if there is no function block in any row, intensively checking that part Can be done.

そのため、このような入力側テンプレート又は出力側テンプレートの構造によれば、同一信号に関するファンクションブロックについては同一行に配置するといった習慣づけを行うだけで、同一信号経路に配置されるべきファンクションブロックを別の信号経路に誤って配置したり、入力信号経路に配置すべきファンクションブロックを出力信号経路に配置するといったプログラミングミスを確実に防止することができる。   Therefore, according to the structure of the input side template or the output side template, function blocks that should be placed in the same signal path can be separated from each other only by customizing the function blocks related to the same signal in the same row. Thus, it is possible to reliably prevent programming mistakes such as misplacement in the signal path and placement of function blocks to be placed in the input signal path in the output signal path.

また、単に2つに分離するのみならず、出力側テンプレートに先立って入力側テンプレートをユーザに提示することにより、出力側テンプレート上のファンクションブロックを配置する段においては、既に入力側テンプレート上のファンクションブロックの配置が完了していることとなるから、これによってもユーザによるプログラミングミスを未然に防止することができる。   In addition, the function on the input side template has already been arranged in the stage where the function block on the output side template is arranged by presenting the input side template to the user prior to the output side template. Since the arrangement of the blocks is completed, it is possible to prevent programming mistakes by the user.

さらに、出力条件の設定は、図23に示されるように、チェックボックス形式の入力信号一覧表に基づいて行えるため、従前の配線図形式のプログラム開発支援装置とは異なり、安全入出力機器対象表との直接的な照合が可能となるため、プログラミング作業並びにプログラム検証作業の簡素化に資するものである。   Further, as shown in FIG. 23, the output condition can be set based on a check box format input signal list, and therefore, unlike the conventional wiring diagram format program development support device, the safety input / output device target table. Therefore, it is possible to simplify the programming work and the program verification work.

なお、以上の実施形態においては、出力条件設定のための入力信号の選択を容易とするためのメニュー表示態様として、入力信号名の一覧とチェックボックスによる選択確認方法との組み合わせを採用したが、これに代えて、入力信号の一覧と反転表示やその他のアクティブ表示による選択確認方法との組み合わせを採用する等々、メニュー表示態様には公知の様々な態様が採用可能であることは言うまでもない。   In the above embodiment, as a menu display mode for facilitating selection of an input signal for setting an output condition, a combination of a list of input signal names and a selection confirmation method using a check box is employed. Instead of this, it goes without saying that various known modes can be adopted as the menu display mode, such as a combination of a list of input signals and a selection confirmation method by reverse display or other active display.

さらに、入力端子の個数が、16点、32点、64点と言ったように増大する場合には、メニュー表示させる入力信号個数については、所定個数ずつ何回かに分けて表示させたり、あるいは、出力条件候補となり得る入力信号の範囲がある程度論理的に推定でるのであれば、そのように推定される入力信号群を優先的に表示させたり、過去の来歴により出力条件候補となり得る入力信号の範囲がある程度推定でるのであれば、そのように推定される入力信号群を優先的に表示させたりする等々、入力信号名の提示の仕方にも様々な態様が存在することは言うまでもない。   Further, when the number of input terminals is increased to 16 points, 32 points, 64 points, etc., the number of input signals to be displayed on the menu can be divided into a predetermined number of times or displayed. If the range of input signals that can be output condition candidates is logically estimated to some extent, the input signal group that is estimated as such is preferentially displayed, or input signals that can be output condition candidates based on past history. Needless to say, if the range is estimated to some extent, there are various modes in the way of presenting the input signal name, such as preferentially displaying the input signal group estimated as such.

本発明によれば、ファンクションブロックを誤った位置に配置したり、誤った順序で配置すると言ったプログラミングミスが生じ難く、かつそのようなプログラミングミスが生じた場合には、そのことを容易に発見することができ、しかも完成後のプログラムにおける出力条件ファンクションブロックのパラメータ検証も容易な安全コントローラのプログラム開発支援装置を提供することができる。   According to the present invention, it is difficult to cause a programming mistake such as placing function blocks in the wrong position or in the wrong order, and when such a programming mistake occurs, it is easily found. In addition, it is possible to provide a safety controller program development support device that can easily verify the parameters of the output condition function block in the completed program.

1 安全コントローラ
1a 設定パラメータ
2a バス型ネットワーク
2b 直結型ネットワーク
3 入力機器
4 出力機器
5 安全I/Oターミナル
6 ユーザ
10 プログラム開発支援装置
10a セーフティロジックウィザードデータベース(DB)
10b ロジック回路図データ
10c コンパイラ
10d 設定パラメータ
11 CPU
12 入力操作部
13 画像表示部
14 ワークRAM
15 記憶装置
15a 出力イメージメモリ
15b システムメモリ
15c プログラムメモリ
16 通信部
17 システムバス
101 通信インタフェース部
102 中央演算部
103a 入力側の端子異常診断部
103b 出力側の端子異常診断部
104a 入力端子部
104b 出力端子部
200 ウィンドウ
201 プログラミングフィールド
202 入力側テンプレート
203−1〜203−6 インデックス
204 メニューウィンドウ
205 メニューウィンドウ
206 メニューウィンドウ
207 チェックボックス
208 チェックボックス
209 メニューウィンドウ
210 出力側テンプレート
211 メニューウィンドウ
213 メニューウィンドウ
214 メニューウィンドウ
215 メニューウィンドウ(出力条件設定用)
216 チェックボックス(出力条件選択用)
217 警告ウィンドウ
C1〜C6 列
D1 スクロールバー
D2 「戻る」ボタン
D3 「次へ」ボタン
D4 キャンセルボタン
D5 OKボタン
D6 キャンセルボタン
D7 プルダウンボタン
D8 OKボタン
D9 キャンセルボタン
D10 プルダウンボタン
D11 OKボタン
D12 キャンセルボタン
D13 OKボタン
D14 キャンセルボタン
D15 OKボタン
FB01 入出力導通ファンクションブロック
FB11 セーフティ非常停止スイッチファンクションブロック
FB12 二重化対応のセーフティライトカーテンファンクションブロック
FB13 二重化非対応のセーフティライトカーテン
FB21 論理和演算ファンクションブロック
FB22 論理積及び論理和演算ファンクションブロック
FB31 セット/リセットファンクションブロック
FB52 溶着チェック(EDM)ファンクションブロック
FB61 二重化対応のリモートI/Oファンクションブロック
FB62 二重化対応のロジックファンクションブロック
FB63 二重化非対応のリモートI/Oファンクションブロック
FB64 二重化非対応のロジックファンクションブロック
FB65 補助出力ファンクションブロック
PB2,PB3 プルダウンボタン
R1,R2,R3,R4 行
DESCRIPTION OF SYMBOLS 1 Safety controller 1a Setting parameter 2a Bus type network 2b Direct connection type network 3 Input device 4 Output device 5 Safety I / O terminal 6 User 10 Program development support device 10a Safety logic wizard database (DB)
10b Logic circuit diagram data 10c Compiler 10d Setting parameter 11 CPU
12 Input operation unit 13 Image display unit 14 Work RAM
DESCRIPTION OF SYMBOLS 15 Memory | storage device 15a Output image memory 15b System memory 15c Program memory 16 Communication part 17 System bus 101 Communication interface part 102 Central processing part 103a Input side terminal abnormality diagnosis part 103b Output side terminal abnormality diagnosis part 104a Input terminal part 104b Output terminal Section 200 Window 201 Programming field 202 Input side template 203-1 to 203-6 Index 204 Menu window 205 Menu window 206 Menu window 207 Check box 208 Check box 209 Menu window 210 Output side template 211 Menu window 213 Menu window 214 Menu window 215 Menu window (for setting output conditions)
216 Check box (for selecting output conditions)
217 Warning window C1 to C6 row D1 Scroll bar D2 "Back" button D3 "Next" button D4 Cancel button D5 OK button D6 Cancel button D7 Pull down button D8 OK button D9 Cancel button D10 Pull down button D11 OK button D12 Cancel button D13 OK Button D14 Cancel button D15 OK button FB01 I / O continuity function block FB11 Safety emergency stop switch function block FB12 Redundant safety light curtain function block FB13 Redundant non-redundant safety light curtain FB21 Logical sum operation function block FB22 Logical product and logical sum operation Function block FB31 Set / reset function Function block FB52 Welding check (EDM) function block FB61 Redundant remote I / O function block FB62 Redundant compatible logic function block FB63 Redundant incompatible remote I / O function block FB64 Redundant incompatible logic function block FB65 Auxiliary output function Block PB2, PB3 pull-down button row R1, R2, R3, R4

Claims (3)

画像表示器のスクリーン上のプログラミングフィールドに、予め用意された複数種のファンクションブロックの中から選択された1の種類のファンクションブロックを順次に配置しかつ各ファンクションブロック毎に必要な固有パラメータを設定することにより、所望の制御仕様に対応するロジック回路図を完成する一連のユーザ操作を通して、安全コントローラ用の制御プログラムが自動的に生成されるようにした安全コントローラのプログラム開発支援装置であって、
前記プログラミングフィールドへのファンクションブロックの配置は、当該プログラミングフィールド上に表示され、かつ行と列との各交叉位置にそれぞれ対応するようにして、ブロック配置可能位置が定義されると共に、行方向の一端側は入力端子側として又他端側は出力端子側として定義されたファンクションブロック配置用のテンプレートによる案内にしたがって行われ、さらに
前記ファンクションブロックの1つである出力条件ファンクションブロックを該当する列に配置するときに必要とされる固有パラメータである入力信号の設定は、メニュー表示された入力信号リストの中から所望の入力信号を選択する操作を介して実行される、ことを特徴とする安全コントローラのプログラム開発支援装置。
In the programming field on the screen of the image display, one kind of function block selected from a plurality of kinds of function blocks prepared in advance is sequentially arranged, and necessary unique parameters are set for each function block. A safety controller program development support apparatus in which a control program for a safety controller is automatically generated through a series of user operations for completing a logic circuit diagram corresponding to a desired control specification,
The layout of the function block in the programming field is displayed on the programming field and the block layout position is defined so as to correspond to each crossing position of the row and the column. The function is arranged according to the guide for the function block placement template defined as the input terminal side and the other end side as the output terminal side, and the output condition function block that is one of the function blocks is placed in the corresponding column. The setting of the input signal, which is a specific parameter required when performing the operation, is executed through an operation of selecting a desired input signal from the input signal list displayed in the menu. Program development support device.
前記入力信号リストのメニュー表示は、画像表示器のスクリーン上に開かれたメニューウィンドウ内に設定対象となる入力信号名を配列することにより行われ、所望の入力信号の選択は選択確認手段を介して行われる、ことを特徴とする請求項1に記載の安全コントローラのプログラム開発支援装置。   The menu display of the input signal list is performed by arranging the names of input signals to be set in a menu window opened on the screen of the image display, and selection of a desired input signal is performed via a selection confirmation means. The safety controller program development support device according to claim 1, wherein the program development support device is a safety controller. 前記入力信号リストのメニュー表示に使用される入力信号データは、前記ファンクションブロックの1つである入力系ファンクションブロックを該当する列に配置する際に生成された入力機器テーブルを参照することにより取得される、ことを特徴とする請求項2又は3に記載の安全コントローラのプログラム開発支援装置。   Input signal data used for menu display of the input signal list is acquired by referring to an input device table generated when an input function block, which is one of the function blocks, is arranged in a corresponding column. The program development support apparatus for a safety controller according to claim 2 or 3, wherein
JP2009279864A 2009-12-09 2009-12-09 Program development support device for safety controller Active JP4924851B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009279864A JP4924851B2 (en) 2009-12-09 2009-12-09 Program development support device for safety controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009279864A JP4924851B2 (en) 2009-12-09 2009-12-09 Program development support device for safety controller

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007156216A Division JP4433210B2 (en) 2007-06-12 2007-06-13 Program development support device for safety controller

Publications (3)

Publication Number Publication Date
JP2010055652A true JP2010055652A (en) 2010-03-11
JP2010055652A5 JP2010055652A5 (en) 2010-07-22
JP4924851B2 JP4924851B2 (en) 2012-04-25

Family

ID=42071416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009279864A Active JP4924851B2 (en) 2009-12-09 2009-12-09 Program development support device for safety controller

Country Status (1)

Country Link
JP (1) JP4924851B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110238876A1 (en) * 2010-03-29 2011-09-29 Sick Ag Apparatus and method for configuring a bus system
WO2019198502A1 (en) * 2018-04-09 2019-10-17 オムロン株式会社 Abnormality detection device, abnormality detection method, and abnormality detection program
WO2020158247A1 (en) 2019-01-28 2020-08-06 オムロン株式会社 Safety system and maintenance method
WO2020184064A1 (en) 2019-03-12 2020-09-17 オムロン株式会社 Safety system and maintenance method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08106380A (en) * 1994-10-03 1996-04-23 Toshiba Corp Program production device/method and program treating controller
JPH10301763A (en) * 1997-04-25 1998-11-13 Mitsubishi Electric Corp Program preparation supporting device for digital controller
JPH1139145A (en) * 1997-07-24 1999-02-12 Casio Comput Co Ltd Device to support programming and storage medium
JP2004126816A (en) * 2002-09-30 2004-04-22 Omron Corp Design support device and design support method and its program product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08106380A (en) * 1994-10-03 1996-04-23 Toshiba Corp Program production device/method and program treating controller
JPH10301763A (en) * 1997-04-25 1998-11-13 Mitsubishi Electric Corp Program preparation supporting device for digital controller
JPH1139145A (en) * 1997-07-24 1999-02-12 Casio Comput Co Ltd Device to support programming and storage medium
JP2004126816A (en) * 2002-09-30 2004-04-22 Omron Corp Design support device and design support method and its program product

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110238876A1 (en) * 2010-03-29 2011-09-29 Sick Ag Apparatus and method for configuring a bus system
US8572305B2 (en) * 2010-03-29 2013-10-29 Sick Ag Apparatus and method for configuring a bus system
WO2019198502A1 (en) * 2018-04-09 2019-10-17 オムロン株式会社 Abnormality detection device, abnormality detection method, and abnormality detection program
JP2019185330A (en) * 2018-04-09 2019-10-24 オムロン株式会社 Abnormality detection device, abnormality detection method, and abnormality detection program
JP7014019B2 (en) 2018-04-09 2022-02-01 オムロン株式会社 Anomaly detection device, anomaly detection method, and anomaly detection program
WO2020158247A1 (en) 2019-01-28 2020-08-06 オムロン株式会社 Safety system and maintenance method
WO2020184064A1 (en) 2019-03-12 2020-09-17 オムロン株式会社 Safety system and maintenance method

Also Published As

Publication number Publication date
JP4924851B2 (en) 2012-04-25

Similar Documents

Publication Publication Date Title
JP4888717B2 (en) Program development support device for safety controller
USRE42017E1 (en) Configurable safety system for implementation on industrial system and method of implementing same
CN102411331A (en) Program development support apparatus of safety controller
US8694135B2 (en) Programming programmable logic controllers using exertion influence in establishing matrix parameters
US9971330B2 (en) Safety relay configuration editor
US8473917B2 (en) Enhanced operation diagnostics
US10020151B2 (en) Safety relay configuration system with multiple test pulse schemes using graphical interface
US9361073B2 (en) Development environment for a safety relay configuration system
CN103097973B (en) In the security system for method and the reader of causality matrix
US10152030B2 (en) Safety relay configuration system with safety monitoring and safety output function blocks
JP6111675B2 (en) Method, apparatus and program for supporting user program design of safety controller
US9977407B2 (en) Safety relay configuration system for safety mat device using graphical interface
US20120096428A1 (en) Method and apparatus for generating an application program for a safety-related control unit
US20100313128A1 (en) System and method for free form comments for a programmable logic controller
EP3306620B1 (en) Control room for nuclear power plant
JP4924851B2 (en) Program development support device for safety controller
JP2012518823A (en) Method and apparatus for creating a user program for a safety controller
KR20180032531A (en) Safety control system for nuclear power plants
CN101458973A (en) Safety monitoring system for nucleus electromotor unit
JP4793588B2 (en) Program development support device for safety controller
JP4849261B2 (en) Safety application creation support device
JP4656335B2 (en) Safety device setting file creation support device
JP4433210B2 (en) Program development support device for safety controller
CN107193251A (en) EVALUATION SYSTEM and EVALUATION METHOD
JP2008027156A (en) Simulation device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100609

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100609

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110629

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110829

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120111

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

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150217

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4924851

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150