JP3795473B2 - Editor device and recording medium recording editor program - Google Patents

Editor device and recording medium recording editor program Download PDF

Info

Publication number
JP3795473B2
JP3795473B2 JP2003117994A JP2003117994A JP3795473B2 JP 3795473 B2 JP3795473 B2 JP 3795473B2 JP 2003117994 A JP2003117994 A JP 2003117994A JP 2003117994 A JP2003117994 A JP 2003117994A JP 3795473 B2 JP3795473 B2 JP 3795473B2
Authority
JP
Japan
Prior art keywords
variable
editor
display
function
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003117994A
Other languages
Japanese (ja)
Other versions
JP2003295912A (en
Inventor
健一 胸元
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.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Digital Electronics Corp
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 Digital Electronics Corp filed Critical Digital Electronics Corp
Priority to JP2003117994A priority Critical patent/JP3795473B2/en
Publication of JP2003295912A publication Critical patent/JP2003295912A/en
Application granted granted Critical
Publication of JP3795473B2 publication Critical patent/JP3795473B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、制御対象機器の状態を表示させる機能および制御対象機器の動作を制御する機能を有するシステムにおいて、制御対象機器の状態に応じた表示内容および制御対象機器の制御手順をプログラミングするエディタ装置およびエディタプログラムが記録された記録媒体に関するものである。
【0002】
【従来の技術】
プログラマブルロジックコントローラ(以降、PLCと称する)などと呼ばれる産業用制御装置は、シーケンス制御をはじめとする各種制御を実現するために、CPUおよびメモリを中心とするハードウェアの部分と、制御を司るソフトウェアの部分とを備えている。ソフトウェアの部分は、PLCを設計当初の制御システム通りに動作させるためのシーケンス制御フローの設計、その制御フローの命令語への変換、命令語のメモリへの書き込みなどを含んでいる。一般に、この一連の作業をプログラミングと称している。
【0003】
このようなプログラミングにおいては、コンピュータの専門知識を持たなくても簡単にプログラム作成ができるように、独自の言語を用いており、利用者に使いやすい各種のプログラミング言語が次々と開発されるようになった。現在、IEC(International Electrotechnical Commission) において、標準のプログラミング言語が制定されている(IEC 6 1131-3 )。それは、SFC(Sequential Function Chart) 、LD(Ladder Diagram)、IL(Instruction List)、FBD(Function Block Diagram)およびST(Structured Text) の5言語である。
【0004】
上記のように、各種のプログラミング言語を用いてプログラム開発を行うことができるように環境が整えられつつある。例えば、ラダー図(LD)は、リレーシンボルを用いて比較的容易にラダー回路を設計することができるので従来から広く普及しており、現在でも最もよく用いられているプログラミング言語である。このようなプログラミング言語を用いたプログラミング作業において用いられるプログラミングツールとしては、ラダーエディタなどのプログラミングソフトウェアが普及してきている。このソフトウェアは、パーソナルコンピュータなどのコンピュータ装置において、ラダー図などをシンボルを含む形態で作成できるので、プログラムの作成および編集が容易に行える。
【0005】
一方、プログラマブル表示器は、ドット表示画面、操作用入力スイッチ、ホストコントローラ(PLC)とのインターフェース、画面上での操作入力のような制御のためのプログラムメモリなどを備えた操作用表示器である。一般に、プログラマブル表示器は、グラフィック表示を行うので、操作盤、スイッチ、表示灯などの機能を備えることができる他、制御対象機器(デバイス)の稼働状況や作業指示のような管理のための各種のモニタ、機器に対する設定値を入力する端末としての機能を備えている。
【0006】
また、近年では、制御対象機器を接続するための入出力ユニットなどを搭載することによってPLCの制御機能を備えたプログラマブル表示器も登場してきている。
【0007】
このようなプログラマブル表示器で表示される制御画面(表示内容プログラム)は、画面作成ソフトウェア(作画エディタ)を用いてユーザ独自で作成できるようになっている。画面作成に際しては、ユーザが、パーソナルコンピュータなどにおいて作画ソフトによって提供されるスイッチ、ランプ、テンキー、メータ表示器、グラフ表示器などの部品(マーク)、描画機能などを用いて所望の制御画面を構成する。
【0008】
作成された制御画面は、画面データとしてプログラマブル表示器に転送されて記憶される。PLCの稼働時には、プログラマブル表示器は、PLCとの間でやり取りされるデータに基づいて、制御対象機器の動作状態に応じて制御画面上に各部品や図形を表示させる。
【0009】
ところで、ラダーエディタなどを用いた制御手順プログラムの作成(プログラミング)と、作画エディタを用いた表示内容プログラムの作成(画面作成)とは、一般には独立して行われる。例えば、作成された制御手順プログラムに基づいて表示内容プログラムを作成する場合は、制御手順プログラムの作成時に各デバイスについて入力された名称およびアドレスをテーブルの形式で書き留めたような設計資料を作成しておき、その設計資料を参照しながらI/Oアドレスの定義付けなどを含む表示内容プログラムの作成作業を行う。また、作成された表示内容プログラムに基づいて制御手順プログラムを作成する場合も同様に、予め用意された設計資料に基づいて作業を行う。
【0010】
このような不都合を解消するためになされた発明として、特開平11−175326号公報には、ラダー図を作成するラダーエディタと画面を作成する作画エディタとの間でラダー命令(ラダー記号)と画面に配置されるマーク(部品など)とを対応付けるエディタ装置が開示されている。このエディタ装置は、ラダーウインドウ上に表示されているラダー命令を作画ウインドウに、例えばドラッグ&ドロップすることによって、そのラダー命令に対応するマークを作画ウインドウに表示する一方、その逆の動作を行うようにも構成されている。
【0011】
これにより、予めラダー図または画面の一方が作成されておれば、それに基づいてユーザがドラッグ&ドロップなどの操作を行うのみで他方を容易に作成することができる。
【0012】
【発明が解決しようとする課題】
しかしながら、このようなエディタ装置では、ラダー図および画面を並行して作成することも可能であるが、効率的でないため、通常はラダー図または画面のいずれか一方を作成した後に他方を作成するといった手順を採ることが好ましい。したがって、上記の方法は、ラダー図および画面を並行して作成する場合には不向きである。このため、一旦作成したラダー図または画面に基づいて他方を作成する際に、ラダー命令やマークに変更する必要が生じた場合、作成済のプログラム(ラダー図または画面)を修正する必要があり、プログラミングの効率が低下するという不都合がある。
【0013】
また、上記のエディタ装置では、一方のエディタで入力されたラダー命令やマークに関するデータをプログラムとしてファイルに登録しており、そのデータを利用して他方のプログラムを作成する。このため、両プログラムに共通のデータを予め作成しておいて、これに基づいて一方のプログラムまたは両プログラムを作成することができない。
【0014】
本発明は、上記の事情に鑑みてなされたものであって、従来のエディタ装置と同様にプログラムの簡易作成が可能であり、さらにプログラムの多様な作成形態に対応することができるようにしたエディタ装置およびエディタプログラムを記録した記録媒体を提供することを目的としている。
【0015】
【課題を解決するための手段】
本発明のエディタ装置は、制御対象機器の状態を表示する表示機能部と、該制御対象機器の動作を制御する制御機能部とを有する表示/制御システムを対象として、上記表示機能部が実行する表示の内容を定めるための表示内容プログラムを第1エディタ画面上での入力操作に応じて作成する第1エディタ手段と、上記制御機能部が実行する制御の手順を定めるための制御手順プログラムを第2エディタ画面上での入力操作に応じて作成するための第2エディタ手段とを備えるエディタ装置であって、上記の課題を解決するために、上記制御機能部の入出力端子と該入出力端子に各々接続される上記制御対象機器とを対応付ける変数を、予め用意されている画像ブロックが表す機能と関連付けて登録し、この登録を上記画像ブロックと上記変数との関連付けを変数に上記機能を含む機能属性を付与することによって行う登録手段と、予め用意されている画像ブロックが表す機能と関連付けて登録する登録手段と、上記第1エディタ画面と、上記第2エディタ画面と、登録された上記変数と同一の表示画面上に表示する一方、表示された変数を選択し、上記第1エディタ画面上に指示する操作に伴って、該変数に関連付けられた機能に対応する第1画像ブロックを上記第1エディタ画面に表示させるとともに、表示された変数を選択し、上記第2エディタ画面上に指示する操作に伴って、該変数に関連付けられた機能に対応する第2画像ブロックを上記第2エディタ画面に表示させる表示手段とを備えていることを特徴としている。
【0016】
上記の構成では、第1エディタ手段の操作による表示内容プログラムの作成時、登録手段によって上記の変数を登録しておけば、表示手段によって上記の変数が表示される。そして、この変数を選択して第1エディタ画面上に指示すれば、表示手段によって、その変数に関連付けられた画像ブロックが第1エディタ画面に表示される。上記の選択および指示の操作としては、例えばドラッグ&ドロップが挙げられる。一方、第2エディタ手段の操作による制御手順プログラムの作成時、同様にして上記の変数を登録しておけば、表示手段によって上記の変数を選択して第2エディタ画面上に指示すれば、その変数に関連付けられた画像ブロックが第2エディタ画面に表示される。また、予め変数が登録されていれば、第1および第2エディタ手段によって、並行して両プログラムを作成することができる。
【0017】
変数の登録は、両プログラムの作成前に予め登録しておいてもよいが、それぞれのプログラムを作成しながら行われてもよい。この場合は、画像ブロックの第1または第2エディタ画面上への入力操作と併せて変数の登録が行われるので、表示手段によって画像ブロックを自動的に表示させることはできないが、登録された変数を他方のエディタ手段でプログラムを作成する際に利用することができる。
【0018】
このように、登録された変数に基づいて画像ブロックを表示させるので、作成された一方のプログラムを参照しながら他方のプログラムを作成するといった手順を採る必要はなく、変数が登録されていれば、プログラムの作成形態に関わらず、画像ブロックの自動生成を行うことができる。
【0019】
上記の機能属性としては、例えば、スイッチ、ランプ、タイマ、カウンタといった制御機能部が備える制御処理(カウント、演算処理など)や制御対象機器の機能が適している。変数がこのような機能属性を備えることによって、変数を機能属性に基づいて管理することが可能になる。したがって、変数の表示を機能属性毎に行うなどして、変数を容易に選択することができるという効果を奏する。また、上記登録手段が、機能属性が一義的に定まる場合に変数が入力されるのみで機能属性を設定することにより、ユーザによる機能属性の登録が不要になる。また、表示手段が、上記変数と併せて機能属性を表示することにより、機能属性を把握することができる。
【0020】
また、このエディタ装置においては、上記表示手段が、上記変数を上記画像ブロックとともに表示させることが好ましい。このように構成することによって、画像ブロックに関する名称やコメントなどの付帯情報を画像ブロックと併せて表示させる場合に、その付帯情報として変数の機能属性を用いることができ、入力すべきパラメータを増加させることがない。
【0021】
本発明のエディタプログラムが記録された記録媒体は、制御対象機器の状態を表示する表示機能部と、該制御対象機器の動作を制御する制御機能部とを有する表示/制御システムを対象として、上記表示機能部が実行する表示の内容を定めるための表示内容プログラムを第1エディタ画面上での入力操作に応じて作成する第1エディタ処理と、上記制御機能部が実行する制御の手順を定めるための制御手順プログラムを第2エディタ画面上での入力操作に応じて作成するための第2エディタ処理とをコンピュータに実行させるエディタプログラムを記録したコンピュータ読み取り可能な記録媒体であって、前記の課題を解決するために、上記制御機能部の入出力端子と該入出力端子に各々接続される上記制御対象機器とを対応付ける変数を、予め用意されている画像ブロックが表す機能と関連付けて登録し、この登録を上記画像ブロックと上記変数との関連付けを変数に上記機能を含む機能属性を付与することによって行う登録処理と、上記第1エディタ画面と、上記第2エディタ画面と、登録された上記変数と同一の表示画面上に表示する一方、表示された変数を選択し、上記第1エディタ画面上に指示する操作に伴って、該変数に関連付けられた機能に対応する第1画像ブロックを上記第1エディタ画面に表示させるとともに、表示された変数を選択し、上記第2エディタ画面上に指示する操作に伴って、該変数に関連付けられた機能に対応する第2画像ブロックを上記第2エディタ画面に表示させる表示処理とをコンピュータに実行させることを特徴としている。
【0022】
この記録媒体を用いると、本発明のエディタ装置と同様、登録処理によって登録された変数を表示処理によって表示させ、変数を選択し第1または/および第2エディタ画面に指示することで、指示されたエディタ画面に画像ブロックが表示される。それゆえ、変数が登録されていれば、プログラムの作成形態に関わらず、画像ブロックの自動生成を行うことができる。
【0023】
また、上記登録処理が、上記画像ブロックと上記変数との関連付けを変数に機能属性を付与することによって行うことにより、前述のエディタ装置と同様、変数が機能属性を備えることによって、変数を機能属性に基づいて管理することが可能になる。また、上記登録処理が、機能属性が一義的に定まる場合に変数が入力されるのみで機能属性を設定することにより、ユーザによる機能属性の登録が不要になる。また、表示処理が、上記変数と併せて機能属性を表示することにより、機能属性を把握することができる。
【0024】
また、この記録媒体においては、上記表示処理が、上記変数を上記画像ブロックとともに表示させることことが好ましい。このような記録媒体を用いれば、前述のエディタ装置と同様、画像ブロックに関する名称やコメントなどの付帯情報を画像ブロックと併せて表示させる場合に、その付帯情報として変数の機能属性を用いることができ、入力すべきパラメータを増加させることがない。
【0025】
【発明の実施の形態】
本発明の実施の一形態について図1ないし図15に基づいて説明すれば、以下の通りである。
【0026】
本実施の形態に係る表示/制御システムは、様々な構成が考えられるが、ここでは、第1ないし第3の構成について説明する。
【0027】
まず、図1に示す第1の表示/制御システムは、プログラマブル表示器1およびPLC2を含んでいる。
【0028】
表示機能部としてのプログラマブル表示器1は、CPU11、メモリ部12、VRAM13、ディスプレイ14、グラフィックコントローラ15、タッチパネル16、タッチパネルコントローラ17、メンテナンスポート18および通信コントローラ19を備えている。
【0029】
メモリ部12は、DRAM12a、FEPROM(Flash Erasable and Programmable ROM)12b等のメモリを含んでいる。DRAM12aは、主に、表示制御などの演算処理時の作業用に用いられる他、PLC2との間でやり取りされるデータの一時的な記憶に用いられる。FEPROM12bは、書き替え可能な読み出し専用のフラッシュメモリであり、一般のパーソナルコンピュータにおけるハードディスクドライブの役割を果たす。フラッシュメモリは、可動部を持たず、かつ衝撃に強いので、劣悪な周囲環境でも安定して動作する。
【0030】
また、上記のFEPROM12bは、図2に示すように、表示制御システムプログラムと、通信プロトコルと、ユーザ画面とをそれぞれ格納するエリアを有している。表示制御システムプログラムは、画像表示制御を行うための基本機能を実現するためのプログラムである。通信プロトコルは、PLC2との通信処理で用いられるプロトコルであり、PLC2の機種(メーカ)に応じて固有に定められている。ユーザ画面は、後述する作画エディタ32bによって作成されて、FEPROM12bにダウンロードされている。このユーザ画面は、ディスプレイ14に表示すべきベース画面や画像ブロックとしてのマークのデータおよび各マークに付与された後述する処理指示語W(図3参照)などを含んでおり、表示内容プログラムを構成している。
【0031】
上記のマークは、タッチスイッチ、ランプ、各種表示器などの画像化された基本的な部品として予め用意されている。また、マークとしては、スイッチや数値表示器などの動的変化を画面上の任意の位置で表現させるために、所望の位置に設定された矩形エリアに所望の動画機能が設定された動画機能部も含まれる。
【0032】
図3に示すように、画面データに含まれる処理指示語Wは、ベース画面上で実行されるべき事象毎に作成されている。この処理指示語Wは、基本的には、表示制御動作を実行すべきベース画面のファイル番号Fと、このベース画面上で実行されるべき動作内容を特定する事象名Tと、各実行事象毎に参照される1または複数のデータからなる参照情報Iとを一組として備えている。
【0033】
CPU11は、前述のFEPROM12bに格納された表示制御システムプログラムにしたがって、プログラマブル表示器1の各部の動作を制御する。また、CPU11は、後述するメンテナンスポート18を介しての後述するコンピュータ装置3との通信を制御する機能を有しており、作画エディタ32bからの画面データを受け取るとFEPROM12bに格納したり、ラダーエディタ32aからのラダープログラム(ユーザプログラム)を受け取るとPLC2に転送したりする。
【0034】
VRAM13は、ディスプレイ14に表示される画面のイメージを一時的に保持するメモリであり、FEPROM12bからの画面データのイメージを水平方向に表示される順にドットデータとして格納している。
【0035】
ディスプレイ14は、液晶パネルやELパネルのような平板型表示素子によって構成されている。グラフィックコントローラ15は、VRAM13に展開された画面のイメージを、ディスプレイ14に描画するドライバソフトウェアである。タッチパネル16は、ディスプレイ14の表示画面上で入力を行うために設けられており、アナログ抵抗膜式タッチパネルなどが好適である。タッチパネルコントローラ17は、タッチパネル16の出力電圧を入力位置情報に変換してCPU11に出力する。
【0036】
メンテナンスポート18は、後述するコンピュータ装置3との間の通信を行うための通信ポートである。一方、通信コントローラ19は、通信ケーブル(例えばRS−232C)を介してPLC2との間で入出力機器4…の制御や監視に関するデータなどの転送やPLC2の出力データの取り込みを制御するインターフェースである。
【0037】
制御機能部としてのPLC2は、内蔵するCPU部によって、後述する制御機能プログラムにしたがい、ラダーエディタ32aで作成されたユーザプログラム(制御手順プログラム)で定められた手順で、入出力機器4…の動作を制御する。
【0038】
PLC2内のメモリには、アドレスを指定することにより、ワードデバイスおよびビットデバイスが格納場所を特定可能に設定されている。ワードデバイスは、入出力されるデータが数値のようなワードデータに対して設定され、ビットデバイスは、オン・オフ状態のようなビットデータに対して設定される。このような設定により、PLC2内の任意のワードデバイスまたはビットデバイスをアクセスするだけで入出力機器4…を制御し、またはその動作状態に関する情報を個別に取り出すことができる。
【0039】
プログラマブル表示器1は、上記のビットデバイスまたはワードデバイスが示す状態情報のうち、必要な情報を適時にメモリ部12に読み込む一方、上記の処理指示語Wを繰り返し読み出して各処理指示語Wの事象名Tで特定される内容の動作をPLC2側の状態情報を参照しながら実行する。これによって、ビットデバイスまたはワードデバイスの状態の変化に応じて変化する表示動作が実行される。
【0040】
プログラマブル表示器1の表示動作は、図4に示すフローチャートの手順にしたがって行われる。
【0041】
まず、入出力機器4…の制御が可能なオンラインモード、またはプログラマブル表示器1のみを動作させるオフラインモードのいずれか一方を選択する(S1)。オフラインモードが選択された場合(NO)、プログラマブル表示器1において、設定処理、診断処理などの各種の処理を行い(S6)、処理をS1に戻す。
【0042】
S1でオンラインモードが選択された場合(YES)、起動処理としてプログラマブル表示器1のメモリ部12に設定されている前記の処理指示語Wで引用されているPLC2側の状態情報がプログラマブル表示器1側に取り出される。具体的には、メモリ部12に格納されている処理指示語W…のうち、現在表示されているベース画面に関係する処理指示語Wに含まれる情報から、PLC2に設定されたワードデバイスおよびビットデバイスのアドレスが抽出される。そして、そのアドレスに基づいてPLC2のメモリに直接アクセスすることによって、アドレス指定された状態情報がメモリ部12に展開され、操作画面上に表示される。オンラインモードでは、プログラマブル表示器1に表示された操作パネル画面による入力操作があったか否かを判断する(S2)。ここで、入力操作があった場合は、入力されたデータに基づいて所定の演算処理を実行し(S3)、さらにデータ通信処理を行う(S4)。
【0043】
次いで、各事象の表示処理を実行する(S5)。このとき、メモリ部12に格納されている処理指示語Wのうち、通信処理によって抽出された状態情報に基づく表示動作が行われる。
【0044】
続いて、コンピュータ装置3について説明する。
【0045】
図1に示すように、コンピュータ装置3は、パーソナルコンピュータなどの汎用コンピュータによって構成されている。このコンピュータ装置3は、CPU31、エディタ部32、データファイル33、メモリ部34、ディスプレイ35、入力装置36、外部記憶装置37およびインターフェース部(図中、I/F)38を備えている。
【0046】
CPU31は、コンピュータ装置3にインストールされているOS(オペレーティングシステム)上でエディタ部32を含むアプリケーションソフトウェアを動作させる際の各部の制御や演算処理を行う。
【0047】
メモリ部34は、RAM、ROMなどのメモリを備えており、固定データの格納、一時的なデータ記憶、CPU31の演算処理時における作業エリアの提供といった役割を果たしている。
【0048】
エディタ部32は、ラダーエディタ32a、作画エディタ32bおよび変数管理部32cを含んでいる。
【0049】
第2エディタ手段としてのラダーエディタ32aは、入出力機器4…が所望のシーケンスにしたがって動作するようにPLC2の制御手順を定めるユーザプログラムを作成するためのプログラミングソフトウェアであり、ディスプレイ35の表示画面35a(例えば図15(a)参照)上で入出力機器4の動作に対応するラダー記号を配置してラダー図を作成できるように構成されている。このラダーエディタ32aにおいては、例えば、国際基準IECに準拠した前述のプログラミング言語が用いられる。
【0050】
また、ラダーエディタ32aは、PLC2の入力端子および出力端子のそれぞれに付与されている入力番号および出力番号と、各入出力端子に接続される入出力機器4の名称(デバイス名)との対応付けを変数を介して入出力番号の割り付け(I/Oアサイン)として行う。この割り付けの結果は、後述するラダーファイル33aに保存される。
【0051】
割り付けを行う際、メモリ部34には、入力番号および出力番号をそれぞれアドレスとして、各アドレスに対応するデバイス名が格納される。従来、このような割り付けは、PLCのメーカによって異なっており、絶対アドレスで設定されるので、メーカに応じたメモリテーブルを用意する必要がある。ただし、IECに準拠した本ラダーエディタ32aは、上記の変数(自由変数)によってユーザが入出力を決定できるので、上記のようなメモリテーブルは不要である。また、一度決定した割り付けも、後に変更することができる。
【0052】
ラダーエディタ32aで作成されたユーザプログラムは、プログラマブル表示器1を介して(または直接)PLC2に転送され、PLC2内のメモリにダウンロードされる。
【0053】
第1エディタ手段としての作画エディタ32bは、プログラマブル表示器1が、入出力機器4…の稼働状況や作業指示のような管理のための各種のモニタ、機器に対する設定値を入力する端末としての機能を備えるように、ディスプレイ14に表示させる画面を作成する画面作成ソフトウェアである。一般に、作画エディタ32bは、ユーザ独自の画面(ユーザ画面)を作成できるように、スイッチ、ランプ、テンキー、各種表示器(例えば、数値表示器、メータ表示器およびグラフ表示器)などの部品(マーク)、描画機能、テキスト入力機能などを備えている。さらに、作画エディタ32bは、作成された画面に配置されたマークの各入出力機器4に対する前記の入出力番号(アドレス)を前記の変数を介して割り付ける。
【0054】
上記の作画エディタ32bによって作成されたユーザ画面は、後述の画面ファイル33bに格納される。このユーザ画面は、必要に応じてインターフェース部38を介してプログラマブル表示器1に転送され、FEPROM12bにダウンロードされる。
【0055】
登録手段としての変数管理部32cは、ラダーエディタ32aおよび作画エディタ32bから入力された変数に、ラダー命令およびマークが表す機能(スイッチ、ランプ、タイマ、カウンタなど)を機能属性として付与した形態で後述のデータファイル33に登録する。
【0056】
変数を登録する方法としては、例えば、次の2つの方法が挙げられる。
【0057】
第1の方法は、ラダーエディタ32aに用意されているラダー命令群から所望のラダー命令が選択されると、変数登録のための画面(例えば、後述の図5(b)のダイアログボックス)が表示され、そこに変数を登録する。第2の方法は、まず、変数を登録しておき、その後に入力したラダー命令を登録された変数に割り付ける。
【0058】
また、変数に機能属性を付与する方法としては、例えば、次の2つの方法が挙げられる。
【0059】
第1の方法は、変数に予約語を含ませることで変数に機能属性を付与する。具体的には、“S****”(*は任意の文字や数字を表す)のようにSという予約語を先頭に含む変数をスイッチ変数とする。同様に、L、T、Cという予約語をそれぞれ先頭に含む変数を、ランプ変数、タイマ変数、カウンタ変数とする。
【0060】
第2の方法は、変数そのものに機能属性を持たせる方法である。具体的には、図5(a)に示すように、入力された変数について名称、型、保持、グローバルおよび機能を設定する。これらの設定は、例えば、図5(b)に示すようなダイアログボックスにおいて行われる。型および機能は、複数用意されている中から選択できるようになっている。
【0061】
名称は、変数の名称であって、あるスイッチについては“SW1”というように設定される。型は、変数の型を表しており、各機能要素に応じて設定される。例えば、スイッチやランプのようなON・OFF動作をする機能要素に対しては、型として“ビット”が設定され、タイマやカウンタのような数値のカウント動作をする機能要素に対しては、型として“整数”が設定される。また、メータのような計測値の表示動作をする機能要素に対しては、型として“実数”が設定される。機能としては、前述のようなスイッチ、ランプ、タイマ、カウンタなどが用意されている。
【0062】
保持は、電断の際に上記のデータを保持するか否かの設定であり、設定する場合にはチェックボックスにチェックされる。グローバルは、機能属性の登録を行ったエディタ(例えば、ラダーエディタ32a)と他のアプリケーションソフトウェア(例えば、作画エディタ32b)との間で、登録された変数を共有するか否かの設定である。共有する場合にも、同様にチェックボックスにチェックする。グローバルが設定されていない場合、他のアプリケーションソフトウェアに変数をインポートすることができない。
【0063】
なお、上記の保持およびグローバルは必要に応じて設けられる。
【0064】
また、変数管理部32cは、ラダー命令や部品などから機能属性が一義的に定まる場合は、変数が入力されるのみで機能属性を設定する。このような場合は、ユーザによる機能属性の登録が不要になる。
【0065】
上記の変数管理部32cは、データファイル33に登録された変数を、後述のラダーウインドウ32a1 および作画ウインドウ32b1 に機能毎にリスト形式で表示させる。具体的には、図6に示すように、機能毎に設けられたタブ形式で変数リストを構成する。この変数リストにおいては、例えば、スイッチのタブに、スイッチの種類に応じて“SW1”,“SW2”,…,“SWn”のように複数の変数が含まれる。
【0066】
変数リストとしては、上記の変数リスト以外に、機能に関わらず一覧的に表示する形式であってもよい。このような変数リストでは、機能属性が把握できるように変数と併せて機能属性のデータ(機能、変数の型など)も表示される。
【0067】
すなわち、変数リストは、その中から必要な変数を選択できるように構成されていれば、どのような形態であってもよいが、上記の例のように変数が選択しやすいように構成されていることが、より好ましい。
【0068】
また、表示手段としての変数管理部32cは、上記の変数リストから例えばマウスのクリック操作で選択された変数が、ラダーウインドウ32a1 および作画ウインドウ32b1 上の入力可能領域にドラッグされ、かつドロップされると、ラダーエディタ32aおよび作画エディタ32bに、ラダーウインドウ32a1 および作画ウインドウ32b1 におけるドロップ位置にラダー記号およびマークを自動的に生成(描画)させる。
【0069】
なお、上記の変数管理部32cは、ラダーエディタ32aまたは作画エディタ32bのいずれか一方の一機能または両エディタ32a・32bに共通の一機能としてそれぞれに含まれていてもよい。
【0070】
コンピュータ装置3は、エディタ部32を備えることによってユーザプログラムおよびユーザ画面の作成および編集を行うためのエディタ装置として機能する。
【0071】
エディタ部32は、パッケージソフトウェアまたはオーダーメイドソフトウェアとしてプログラムメディアの形態で提供可能なソフトウェアであって、例えば、コンピュータ装置3と分離可能な記録媒体5に記録されている。そして、エディタ部32は、記録媒体5からコンピュータ装置3にインストールされることによってエディタ機能を発揮することができる。
【0072】
なお、エディタ部32は、単一の記録媒体5に記録されていてもよいが、ラダーエディタ32aと作画エディタ32bとがそれぞれ別個の記録媒体に記録されていてもよい。
【0073】
上記のプログラムメディアは、磁気テープやカセットテープなどのテープ系、フロッピディスクやハードディスクなどの磁気ディスク系、CD−ROM、MO、MD、DVDなどの光ディスク系、ICカード(メモリカードを含む)、光カードなどのカード系が好適である。その他、上記のプログラムメディアは、マスクROM、EPROM、EEPROM、フラッシュROMなどによる半導体メモリを含めた固定的にプログラムを担持する媒体であってもよい。
【0074】
また、コンピュータ装置3は、インターネットを含む通信ネットワークと接続可能であることから、通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する媒体であってもよい。ただし、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用プログラムは予めコンピュータ装置3に格納されるか、あるいは別な記録媒体からインストールされるものであってもよい。
【0075】
データファイル33においては、例えば、図7に示すように、ユーザプログラムがラダーファイル33aに格納され、図8に示すように、ユーザ画面が画面ファイル33bに格納される。
【0076】
ラダーファイル33aは、コマンドファイル部33a1 および変数データファイル部33a2 から構成されている。コマンドファイル部33a1 は、入力されたラダー記号に対応するラダー命令およびオペランドを格納し、変数データファイル部33a2 は、コマンドファイル部33a1 に対応するように、上記のラダー命令について、デバイスの変数およびアドレスを格納している。また、変数データファイル部33a2 は、変数管理部32cによって登録された機能属性を、変数と併せて保存している。
【0077】
画面ファイル33bは、図形データファイル部33b1 および共通データファイル部33b2 から構成されている。図形データファイル部33b1 は、各種の図形(円、ライン、四角形など)、テキスト(文字列)、部品などについてのデータを格納している。変数データファイル部33b2 は、図形データファイル部33b1 に対応するように、入力されたマークについて、デバイスの変数およびアドレスを格納している。また、変数データファイル部33b2 は、変数管理部32cによって登録された機能属性に関するデータを、変数と併せて保存している。
【0078】
データファイル33において、個別に形成されるラダーファイル33aおよび画面ファイル33bを用いる場合、変数管理部32cによって予め変数データファイル部33a2 または33b2 に登録された変数およびその機能属性に関するデータを後述のように他方にインポートする必要がある。
【0079】
ラダーファイル33aおよび画面ファイル33bが、変数データファイル部33a2 ・33b2 に保存された変数およびその機能属性によって互いに関連付けられているので、第1ないし第3の表示/制御システムにおける表示動作および制御動作は互いに関連する。
【0080】
あるいは、データファイル33は、例えば、図9に示すように、前記のラダーファイル33aおよび画面ファイル33bが統合された形態をなしており、これにユーザプログラムおよびユーザ画面を格納するように構成されていてもよい。このデータファイル33は、コマンドファイル部33e、図形データファイル部33fおよび変数データファイル部33gから構成されている。
【0081】
このデータファイル33を用いる場合、変数管理部32cによるラダーファイル33aおよび画面ファイル33bの間での変数データ(変数およびその機能属性に関するデータならびにアドレスを含む)は、ユーザプログラムおよびユーザ画面に共通して保存されている。このため、前述のラダーファイル33aおよび画面ファイル33bを用いる場合のように両ファイル33a・33b間で変数データをインポートする必要はない。
【0082】
ディスプレイ35は、CRT、LCDなどによって構成されるが、パネルコンピュータであるコンピュータ装置3においては、液晶パネルやELパネルのような平板型表示素子によって構成される。入力装置36は、キーボード、マウスなどの入力操作を行うための装置であり、特に、GUI(Graphical User Interface)環境上で動作するエディタ部32での入力作業にはマウスなどの装置が適している。外部記憶装置37は、ハードディスク装置などの磁気ディスクドライブ、CD−ROMドライブなどの光ディスクドライブといった装置であり、少なくとも、前記の記録媒体5に記録されたプログラムなどの情報を読み出すことができる装置を含んでいる。インターフェース部38は、プログラマブル表示器1との間でデータ通信を行う入出力部である。ラダーエディタ32aで作成されたユーザプログラムおよび作画エディタ32bで作成されたユーザ画面は、このインターフェース部38を介してプログラマブル表示器1に転送される。
【0083】
続いて、第2の表示/制御システムについて説明する。
【0084】
図10に示す第2の表示/制御システムは、前述の第1の表示/制御システムと同様、プログラマブル表示器1およびPLC2を含んでいるが、ここでのプログラマブル表示器1は、さらにPLC機能を備えており、入出力機器4…を直接制御するように構成されている。このため、プログラマブル表示器1は、メモリ部12にSRAM12cを備えるとともに、前述の通信コントローラ19に加えて入出力ユニット(図中、I/Oユニット)20およびI/O制御インターフェース21を備えている。
【0085】
SRAM12cは、ラダーエディタ32aによって作成されたユーザプログラムを格納するエリアを有している。また、FEPROM12bは、PLC機能を備えるために、図11に示すように、表示制御システムプログラムと、通信プロトコルと、ユーザ画面とをそれぞれ格納するエリアに加えて、制御機能プログラムとユーザプログラムとをそれぞれ格納するエリアを有している。制御機能プログラムは、シーケンス制御の基本機能を実現するためのプログラムである。
【0086】
入出力ユニット20は、入出力機器4…が接続可能となるように、多数の入出力端子、入出力回路などを備えている。I/O制御インターフェース21は、CPU11と入出力ユニット20との間の信号の授受を仲介するインターフェース回路であって、入出力メモリ、D/A変換器、A/D変換器などを備えている。
【0087】
引き続き、第3の表示/制御システムについて説明する。
【0088】
図12に示す第3表示/制御システムは、ソフトウェアで動作するいわゆるオープンコントローラ(ソフトウェアPLC)を中心として構成されている。
【0089】
オープンコントローラは、コンピュータ装置3によって構成されており、入出力機器4…を接続するために、前述の第1の表示/制御システムにおけるコンピュータ装置3のインターフェース部38の代わりに入出力ユニット(図中、I/Oユニット)39およびI/O制御インターフェース40を備えている。
【0090】
入出力ユニット39は、入出力機器4…が接続可能となるように、多数の入出力端子、入出力回路などを備えている。このような入出力ユニット39は、I/Oボードとしてコンピュータ装置3内に実装されるが、リモートI/Oとしてコンピュータ装置3の外部に独立して設けられてもよい。
【0091】
I/O制御インターフェース40は、CPU31と入出力ユニット39との間の信号の授受を仲介するインターフェース回路であって、入出力メモリ、D/A変換器、A/D変換器などを備えている。このI/O制御インターフェース40は、入出力機器4…との間で入出力されるデジタル信号またはアナログ信号をCPU31とやり取りするようになっている。
【0092】
また、コンピュータ装置3は、オープンコントローラとして機能するように、インターフェースユニット(図中、I/Fユニット)41を備えている。インターフェースユニット41は、イーサネット(登録商標)などの汎用の通信プロトコルを用いるオープンネットワーク8に対応した入出力部であり、オープンネットワーク8に接続されている。これによって、コンピュータ装置3は、オープンネットワーク8を介して他のコンピュータ装置、プログラマブル表示器、PLCなどと接続される。
【0093】
メモリ部34は、前述のSRAM12cと同様、図11に示すように、表示制御システムプログラムと、通信プロトコルと、画面データと、制御機能プログラムと、ユーザプログラムとをそれぞれ格納するエリアを有している。
【0094】
このように構成されるコンピュータ装置3は、入出力機器4…が配備されたターゲットシステムの運転時(オンライン状態)では、作成された画面や現場の様子をディスプレイ35に表示させることによってターゲットシステムの運転状況を監視するモニタとして機能するとともに、ターゲットシステムにおける入出力機器4…の制御を行う。このとき、コンピュータ装置3は、ラダーエディタ32aで作成され、データファイル33に格納されているユーザプログラムを、制御機能プログラムにしたがって実行する。一方、コンピュータ装置3は、ターゲットシステムの非運転時(オフライン状態)において、ラダーエディタ32aまたは作画エディタ32bを起動することによってユーザプログラムまたはユーザ画面を作成するためのエディタ装置として機能する。
【0095】
第1および第2の表示/制御システムでは、ユーザプログラムおよびユーザ画面が、一旦データファイル33に格納された後、それぞれPLC2およびプログラマブル表示器1にダウンロードされ、メモリに格納される。第2の表示/制御システムでは、あるいは、ユーザプログラムおよびユーザ画面が、一旦データファイル33に格納された後、プログラマブル表示器1にダウンロードされ、メモリ部12に格納される。第3の表示/制御システムでは、ユーザプログラムおよびユーザ画面がデータファイル33に格納される。
【0096】
ここで、第1ないし第3の表示/制御システムにおけるユーザプログラムおよびユーザ画面の作成手順について、より詳細に説明する。
【0097】
ユーザプログラムを作成する場合は、図13のフローチャートに示す手順にしたがう。ここでは、コンピュータ装置3において、少なくともラダーエディタ32aが起動されており、ディスプレイ35の表示部35a(図15(a)参照)には、ユーザプログラム作成用のエディタ画面(第2エディタ画面)を表示するウインドウ(以降、ラダーウインドウと称する)32a1 が開いているものとする。
【0098】
まず、ラダーウインドウ32a1 上にて、各入出力機器4を対象としてラダー命令に対応する変数を機能属性と併せて登録する(S11)。このとき、変数に対応するアドレスを、その変数に割り付けておく。使用するラダー命令に対する変数の登録が全て終了すれば(S12)、変数リストからラダー命令を入力するか否かを判断する(S13)。
【0099】
変数リストからラダー命令を入力する場合は、変数リストを表示する(S14)。次いで、変数リストから所望の変数を選択して、ラダーウインドウ32a1 にドラッグし、かつドロップする(S15)。すると、選択された変数に対応するラダー命令が自動的に入力され(S16)、そのラダー命令を表すラダー記号がラダーウインドウ32a1 に表示される。そして、ラダー命令の入力が終了したか否かを判断し(S17)、ここで、終了しない場合はS13に処理を戻す一方、終了する場合は作成されたユーザプログラムをデータファイル33に登録する(S18)。
【0100】
一方、S13で変数リストからラダー命令を入力しない場合、すなわち、入力すべきラダー命令が変数リストに登録されていない場合、ラダーエディタ32aによる通常の方法でラダー命令を入力する(S19)。そして、そのラダー命令に対応する変数を入力する(S20)。このとき、入力とともに、S11と同様に、変数および機能属性の登録を行い、変数に対応するアドレスを、その変数に割り付けておく。その後、処理をS17に移行させる。
【0101】
なお、上記の例では、予め変数を登録してから、その登録された変数に基づいてラダー命令を自動入力する方法について説明した。しかしながら、変数の登録については、この方法に限らず、ラダー命令を入力しながら変数の登録してもよい。この場合は、S19、S11、S12、S17およびS18の順に処理が行われる。
【0102】
また、作画エディタ32bを用いて、後述のように、変数および機能属性の登録がユーザ画面の作成とともに行われた場合は、その登録によって得られた変数リストを利用する。具体的には、S11およびS12を除く処理が行われる。
【0103】
ユーザ画面を作成する場合は、図14のフローチャートに示す手順にしたがう。ここでは、コンピュータ装置3において、少なくとも作画エディタ32bが起動されており、ディスプレイ35の表示部35a(図15(a)参照)には、ユーザ画面作成用のエディタ画面(第1エディタ画面)を表示するウインドウ(以降、作画ウインドウと称する)32b1 が開いているものとする。
【0104】
まず、ラダーウインドウ32a1 上にて、各入出力機器4を対象としてマークに対応する変数を機能属性と併せて登録する(S21)。このとき、変数に対応するアドレスを、その変数に割り付けておく。使用するマークに対する変数の登録が全て終了すれば(S22)、変数リストからマークを入力するか否かを判断する(S23)。
【0105】
変数リストからマークを入力する場合は、変数リストを表示する(S24)。次いで、変数リストから所望の変数を選択して、作画ウインドウ32b1 にドラッグし、かつドロップする(S25)。すると、選択された変数に対応するマークが自動的に入力され(S26)、そのマークが作画ウインドウ32b1 に表示される。そして、マークの入力が終了したか否かを判断し(S27)、ここで、終了しない場合はS23に処理を戻す一方、終了する場合は作成されたユーザ画面をデータファイル33に登録する(S28)。
【0106】
一方、S23で変数リストからマークを入力しない場合、すなわち、入力すべきマークが変数リストに登録されていない場合、作画エディタ32bによる通常の方法でマークを入力する(S29)。そして、そのマークに対応する変数を入力する(S30)。このとき、入力とともに、S21と同様に、変数および機能属性の登録を行い、変数に対応するアドレスを、その変数に割り付けておく。その後、処理をS27に移行させる。
【0107】
なお、上記の例では、予め変数を登録してから、その登録された変数に基づいてマークを自動入力する方法について説明した。しかしながら、変数の登録については、この方法に限らず、マークを入力しながら変数の登録してもよい。この場合は、S29、S21、S22、S27およびS28の順に処理が行われる。
【0108】
また、ラダーエディタ32aを用いて、前述のように、変数および機能属性の登録がユーザプログラムの作成とともに行われた場合は、その登録によって得られた変数リストを利用する。具体的には、S21およびS22を除く処理が行われる。
【0109】
ここで、図13および図14のフローチャートの手順で行われるユーザプログラムおよびユーザ画面の作成を併せて行う場合の具体例について説明する。
【0110】
ここで、図15(a)に示すように、ラダーエディタ32aおよび作画エディタ32bが起動されており、ラダーウインドウ32a1 および作画ウインドウ32b1 がディスプレイ35の表示部35aに開かれている。また、変数およびその変数に関する機能属性は、すでに登録されているものとする。
【0111】
この状態で、図15(b)に示すように、変数リストを表示部35aに表示させ、スイッチのタブに含まれる変数のうち、例えば、変数“SW1”がドラッグされ、かつラダーウインドウ32a1 および作画ウインドウ32b1 における所望の位置にドロップされる。
【0112】
すると、図15(c)に示すように、ラダーウインドウ32a1 には、変数“SW1”がドロップされた位置にLD(ロード)命令に相当するラダー記号Lが表示される。また、そのラダー記号Lの付近に変数“SW1”が併せて表示される。一方、作画ウインドウ32b1 には、変数“SW1”がドロップされた位置にその変数に関連付けられたスイッチのマークMが表示される。また、そのマークMの上に変数“SW1”が併せて表示される。
【0113】
上記の処理によって、ユーザは、変数リストから予め登録された変数を選択して、ドラッグ&ドロップの操作を行うだけで、その変数に関連付けられた所望のラダー記号およびマークをそれぞれラダーウインドウ32a1 および作画ウインドウ32b1 上に自動的に生成することができる。また、併せて、ラダー記号LおよびマークMと併せて変数を表示させるので、その入力の手間を省くこともできる。
【0114】
上記の例では、ユーザプログラムとユーザ画面とを並行して作成する場合であるが、前述のように、ラダー記号またはマークを入力しながら、変数および機能属性を登録する場合は、その登録とユーザプログラムまたはユーザ画面の作成が同時に行われる。したがって、この場合は、前述のように、その際に登録された変数および機能属性を利用して、ユーザ画面またはユーザプログラムを作成することになる。
【0115】
以上のように、本実施の形態に係る各表示/制御システムは、変数を機能属性を持たせて登録する変数管理部32cを備え、登録された変数を用いて、前述のようにラダー記号およびマークを自動的に生成するように構成されている。これにより、(1)ユーザプログラムまたはユーザ画面のいずれかを作成してから、他方を作成する手順、および(2)ユーザプログラムおよびユーザ画面を並行して作成する手順のいずれをも効率的に行うことができる。また、(2)の手順でも、変数および機能属性の登録とラダー命令およびマークの入力とを逐次行うだけでなく、予め変数および機能属性の登録を全て行ってから、ラダー記号およびマークの入力を行うことも可能である。しかも、登録後でも、図5(b)のダイアログボックスを呼び出して、登録内容を容易に変更することができる。したがって、上記のようなプログラムの多様な作成形態に対応することができる。
【0116】
しかも、変数に機能属性を持たせるので、その変数をラダー記号およびマークとともに表示させることによって、表示されたラダー記号およびマークの特徴づけのために別途コメントや名称などを入力する必要がなくなる。また、機能属性によって変数の管理も容易になる。
【0117】
なお、本発明は、ラダー図だけではなく、前述のIEC 6 1131-3 で規定された5言語を含む他の言語によるプログラミングにおいても適用されるのは勿論である。
【0118】
また、本実施の形態では、変数リストから変数をドラッグおよびドロップする例について説明したが、本発明は、これに限定されない。
【0119】
【発明の効果】
以上のように、本発明のエディタ装置は、制御機能部の入出力端子と該入出力端子に各々接続される制御対象機器とを対応付ける変数を、予め用意されている画像ブロックが表す機能と関連付けて登録し、この登録を上記画像ブロックと上記変数との関連付けを変数に上記機能を含む機能属性を付与することによって行う登録手段と、上記第1エディタ画面と、上記第2エディタ画面と、登録された上記変数と同一の表示画面上に表示する一方、表示された変数を選択し、上記第1エディタ画面上に指示する操作に伴って、該変数に関連付けられた機能に対応する第1画像ブロックを上記第1エディタ画面に表示させるとともに、表示された変数を選択し、上記第2エディタ画面上に指示する操作に伴って、該変数に関連付けられた機能に対応する第2画像ブロックを上記第2エディタ画面に表示させる表示手段とを備えている構成である。
【0120】
これによって、登録された変数に基づいて画像ブロックを表示させるので、変数が登録されていれば、プログラムの作成形態に関わらず、画像ブロックの自動生成を行うことができる。したがって、プログラムの多様な作成形態に対応してプログラムの簡易作成を実現することができるという効果を奏する。
【0121】
また、上記登録手段が、上記画像ブロックと上記変数との関連付けを変数に機能属性を付与することによって行うので、変数を機能属性に基づいて管理することが可能になる。したがって、変数の表示を機能属性毎に行うなどして、変数を容易に選択することができるという効果を奏する。また、上記登録手段が、機能属性が一義的に定まる場合に変数が入力されるのみで機能属性を設定することにより、ユーザによる機能属性の登録が不要になる。また、表示手段が、上記変数と併せて機能属性を表示することにより、機能属性を把握することができる。
【0122】
このエディタ装置においては、上記表示手段が、上記変数を上記画像ブロックとともに表示させるので、画像ブロックに関する名称やコメントなどの付帯情報を画像ブロックと併せて表示させる場合に、その付帯情報として変数の機能属性を用いることができ、入力すべきパラメータを増加させることがない。したがって、入力の手間を削減して、操作性をより向上させることができるという効果を奏する。
【0123】
本発明の記録媒体は、制御機能部の入出力端子と該入出力端子に各々接続される制御対象機器とを対応付ける変数を、予め用意されている画像ブロックが表す機能と関連付けて登録し、この登録を上記画像ブロックと上記変数との関連付けを変数に上記機能を含む機能属性を付与することによって行う登録処理と、上記第1エディタ画面と、上記第2エディタ画面と、登録された上記変数と同一の表示画面上に表示する一方、表示された変数を選択し、上記第1エディタ画面上に指示する操作に伴って、該変数に関連付けられた機能に対応する第1画像ブロックを上記第1エディタ画面に表示させるとともに、表示された変数を選択し、上記第2エディタ画面上に指示する操作に伴って、該変数に関連付けられた機能に対応する第2画像ブロックを上記第2エディタ画面に表示させる表示処理とをコンピュータに実行させるエディタプログラムを記録している。
【0124】
これによって、本発明のエディタ装置と同様、変数が登録されていれば、プログラムの作成形態に関わらず、画像ブロックの自動生成を行うことができる。したがって、プログラムの多様な作成形態に対応してプログラムの簡易作成を実現することができるという効果を奏する。
【0125】
また、上記登録処理が、上記画像ブロックと上記変数との関連付けを変数に機能属性を付与することによって行うので、前述のエディタ装置と同様、変数が機能属性を備えることによって、変数を機能属性に基づいて管理することが可能になる。したがって、変数の表示を機能属性毎に行うなどして、変数を容易に選択することができるという効果を奏する。また、上記登録処理が、機能属性が一義的に定まる場合に変数が入力されるのみで機能属性を設定することにより、ユーザによる機能属性の登録が不要になる。また、表示処理が、上記変数と併せて機能属性を表示することにより、機能属性を把握することができる。
【0126】
また、この記録媒体においては、上記表示処理が、上記変数を上記画像ブロックとともに表示させるので、前述のエディタ装置と同様、画像ブロックに関する名称やコメントなどの付帯情報を画像ブロックと併せて表示させる場合に、その付帯情報として変数の機能属性を用いることができ、入力すべきパラメータを増加させることがない。したがって、入力の手間を削減して、操作性をより向上させることができるという効果を奏する。
【図面の簡単な説明】
【図1】本発明の実施の一形態に係る第1の表示/制御システムの構成を示すブロック図である。
【図2】上記第1の表示/制御システムにおけるプログラマブル表示器のFEPROMに格納されるプログラムを示す説明図である。
【図3】上記プログラマブル表示器などで表示されるユーザ画面に含まれる処理指示語の基本的フォーマットを示す説明図である。
【図4】上記プログラマブル表示器の表示動作の処理手順を示すフローチャートである。
【図5】(a)は、変数に機能属性を持たせる第2方法の具体例を示す説明図であり、(b)は、機能属性を設定するためのダイアログボックスを示す説明図である。
【図6】上記変数を表示する変数リストを示す説明図である。
【図7】本発明の各表示/制御システムにおけるコンピュータ装置に設けられるデータファイルに形成されるラダーファイルの構成を示す説明図である。
【図8】本発明の各表示/制御システムにおけるコンピュータ装置に設けられるデータファイルに形成される画面ファイルの構成を示す説明図である。
【図9】本発明の各表示/制御システムにおけるコンピュータ装置に設けられるデータファイルの他の構成を示す説明図である。
【図10】本発明の実施の一形態に係る第2の表示/制御システムの構成を示すブロック図である。
【図11】第2および第3の表示/制御システムにおけるプログラマブル表示器のFEPROMに格納されるプログラムを示す説明図である。
【図12】本発明の実施の一形態に係る第3の表示/制御システムの構成を示すブロック図である。
【図13】上記の各表示/制御システムで実行されるユーザプログラムを作成する手順を示すフローチャートである。
【図14】上記の各表示/制御システムで実行されるユーザ画面を作成する手順を示すフローチャートである。
【図15】(a)ないし(c)はユーザプログラムおよびユーザ画面を並行して作成する場合のラダーエディタおよび作画エディタの動作の具体例を示す説明図である。
【符号の説明】
1 プログラマブル表示器(表示機能部、制御機能部)
2 PLC(制御機能部)
3 コンピュータ装置(表示機能部、制御機能部)
4 入出力機器(制御対象機器)
5 記録媒体
32a ラダーエディタ(第2エディタ手段)
32a1 ラダーウインドウ(第2エディタ画面)
32b 作画エディタ(第1エディタ手段)
32b1 作画ウインドウ(第1エディタ画面)
32c 変数管理部(登録手段、表示手段)
35a 表示画面
L ラダー記号(画像ブロック、第2画像ブロック)
M マーク(画像ブロック、第1画像ブロック)
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an editor device for programming display contents according to a state of a control target device and a control procedure of the control target device in a system having a function of displaying the state of the control target device and a function of controlling the operation of the control target device. The present invention also relates to a recording medium on which an editor program is recorded.
[0002]
[Prior art]
An industrial control device called a programmable logic controller (hereinafter referred to as PLC) or the like is a hardware part mainly including a CPU and a memory and software for controlling the control in order to realize various controls including sequence control. And have a part. The software part includes design of a sequence control flow for operating the PLC in accordance with the control system at the time of design, conversion of the control flow into an instruction word, writing of the instruction word into a memory, and the like. In general, this series of operations is called programming.
[0003]
In such programming, a unique language is used so that it is easy to create a program without having expertise in computers, and various programming languages that are easy to use for users will be developed one after another. became. At present, a standard programming language has been established in the International Electrotechnical Commission (IEC) (IEC 61131-3). The five languages are SFC (Sequential Function Chart), LD (Ladder Diagram), IL (Instruction List), FBD (Function Block Diagram) and ST (Structured Text).
[0004]
As described above, an environment is being prepared so that program development can be performed using various programming languages. For example, a ladder diagram (LD) has been widely used in the past because a ladder circuit can be designed relatively easily using relay symbols, and is still the most frequently used programming language. Programming software such as a ladder editor has become widespread as a programming tool used in programming work using such a programming language. Since this software can create a ladder diagram or the like in a form including a symbol in a computer device such as a personal computer, the program can be easily created and edited.
[0005]
On the other hand, the programmable display is an operation display having a dot display screen, an operation input switch, an interface with a host controller (PLC), a program memory for control such as operation input on the screen, and the like. . In general, since the programmable display performs graphic display, it can be provided with functions such as an operation panel, a switch, and an indicator lamp, and various types of management such as operating status of the control target device (device) and work instructions. Functions as a terminal for inputting set values for the monitor and the device.
[0006]
In recent years, a programmable display device having a PLC control function by mounting an input / output unit for connecting a device to be controlled has also appeared.
[0007]
The control screen (display content program) displayed on such a programmable display can be created by the user by using screen creation software (drawing editor). When creating a screen, the user configures a desired control screen using parts (marks) such as switches, lamps, numeric keys, meter display, graph display, graph display, etc. provided by the drawing software on a personal computer. To do.
[0008]
The created control screen is transferred to the programmable display device as screen data and stored. When the PLC is in operation, the programmable display device displays each component or figure on the control screen according to the operation state of the control target device based on data exchanged with the PLC.
[0009]
Incidentally, the creation of a control procedure program (programming) using a ladder editor or the like and the creation of a display content program (screen creation) using a drawing editor are generally performed independently. For example, when creating a display content program based on the created control procedure program, create a design document in which the names and addresses entered for each device at the time of creation of the control procedure program are written down in the form of a table. In addition, while referring to the design material, a display content program including I / O address definition is created. Similarly, when creating a control procedure program based on the created display content program, work is performed based on design materials prepared in advance.
[0010]
As an invention made to solve such inconvenience, Japanese Patent Laid-Open No. 11-175326 discloses a ladder command (ladder symbol) and a screen between a ladder editor that creates a ladder diagram and a screen editor that creates a screen. An editor device for associating marks (parts, etc.) arranged on the screen is disclosed. The editor device displays a mark corresponding to the ladder instruction in the drawing window by dragging and dropping the ladder instruction displayed on the ladder window, for example, on the drawing window, and vice versa. It is also configured.
[0011]
Thus, if one of the ladder diagram or the screen is created in advance, the other can be easily created only by the user performing an operation such as drag and drop based on the ladder diagram or the screen.
[0012]
[Problems to be solved by the invention]
However, in such an editor device, it is possible to create a ladder diagram and a screen in parallel. However, since it is not efficient, usually, after creating either a ladder diagram or a screen, the other is created. It is preferable to take a procedure. Therefore, the above method is not suitable when a ladder diagram and a screen are created in parallel. For this reason, when creating the other based on a ladder diagram or screen once created, if it becomes necessary to change to a ladder command or mark, it is necessary to modify the created program (ladder diagram or screen) There is an inconvenience that the efficiency of programming decreases.
[0013]
Further, in the above-described editor device, data relating to ladder instructions and marks input in one editor is registered in a file as a program, and the other program is created using the data. For this reason, data common to both programs is created in advance, and one program or both programs cannot be created based on the data.
[0014]
The present invention has been made in view of the above circumstances, and can easily create a program in the same way as a conventional editor device, and can be adapted to various forms of creating a program. An object of the present invention is to provide a recording medium in which an apparatus and an editor program are recorded.
[0015]
[Means for Solving the Problems]
  The editor device of the present invention includes:For defining the contents of display executed by the display function unit for a display / control system having a display function unit for displaying the state of the control target device and a control function unit for controlling the operation of the control target device A first editor means for creating a display content program in response to an input operation on the first editor screen, and a control procedure program for determining a control procedure executed by the control function unit on the second editor screen. An editor device comprising second editor means for creating according to an operation, wherein the control function unit is connected to an input / output terminal of the control function unit and the control connected to the input / output terminal in order to solve the above-described problem Register variables that correlate with the target device in association with the functions represented by the image blocks prepared in advanceThen, this registration is performed by associating the image block with the variable by assigning a function attribute including the function to the variable.Registration means, registration means for registering in association with a function represented by an image block prepared in advance, the first editor screen, the second editor screen, and the registered variablesTheWhile displaying on the same display screen, the first image block corresponding to the function associated with the variable is selected in accordance with the operation of selecting the displayed variable and instructing on the first editor screen. The second image block corresponding to the function associated with the variable is displayed on the second editor screen in accordance with an operation of selecting the displayed variable and instructing on the second editor screen. It is characterized by comprising display means for displaying.
[0016]
In the above configuration, if the variable is registered by the registration unit when the display content program is created by the operation of the first editor unit, the variable is displayed by the display unit. When this variable is selected and indicated on the first editor screen, the image block associated with the variable is displayed on the first editor screen by the display means. Examples of the above selection and instruction operations include drag and drop. On the other hand, when creating the control procedure program by the operation of the second editor means, if the above variables are registered in the same way, if the above variables are selected by the display means and indicated on the second editor screen, The image block associated with the variable is displayed on the second editor screen. If variables are registered in advance, both programs can be created in parallel by the first and second editor means.
[0017]
The registration of variables may be registered in advance before creating both programs, or may be performed while creating each program. In this case, since the variable is registered together with the input operation on the first or second editor screen of the image block, the image block cannot be automatically displayed by the display means. Can be used when creating a program with the other editor means.
[0018]
In this way, since the image block is displayed based on the registered variable, it is not necessary to take the procedure of creating the other program while referring to the created one program, and if the variable is registered, Regardless of the form of program creation, image blocks can be automatically generated.
[0019]
  the aboveMachineAs the function attribute, for example, control processing (counting, arithmetic processing, etc.) provided by a control function unit such as a switch, a lamp, a timer, and a counter, and the function of the control target device are suitable. When the variable has such a functional attribute, the variable can be managed based on the functional attribute. Therefore, there is an effect that the variable can be easily selected by displaying the variable for each function attribute. In addition, when the registration means sets the function attribute only by inputting a variable when the function attribute is uniquely determined, registration of the function attribute by the user becomes unnecessary.Further, the display means can grasp the function attribute by displaying the function attribute together with the variable.
[0020]
Moreover, in this editor apparatus, it is preferable that the said display means displays the said variable with the said image block. With this configuration, when displaying supplementary information such as a name or a comment about an image block together with the image block, a variable function attribute can be used as the supplementary information, and parameters to be input are increased. There is nothing.
[0021]
  A recording medium on which an editor program of the present invention is recorded is a display / control system having a display function unit that displays a state of a control target device and a control function unit that controls the operation of the control target device. To define a first editor process for creating a display content program for determining the contents of display executed by the display function unit in response to an input operation on the first editor screen, and a control procedure executed by the control function unit A computer-readable recording medium recording an editor program for causing a computer to execute a second editor process for creating the control procedure program according to an input operation on the second editor screen. In order to solve the problem, a variable that associates the input / output terminal of the control function unit with the control target device connected to the input / output terminal, Registered in association with features represented by the image block being fit preparedThen, this registration is performed by associating the image block with the variable by assigning a function attribute including the function to the variable.A registration process, the first editor screen, the second editor screen, the registered variables,TheWhile displaying on the same display screen, the first image block corresponding to the function associated with the variable is selected in accordance with the operation of selecting the displayed variable and instructing on the first editor screen. The second image block corresponding to the function associated with the variable is displayed on the second editor screen in accordance with an operation of selecting the displayed variable and instructing on the second editor screen. It is characterized by causing a computer to execute display processing to be displayed.
[0022]
When this recording medium is used, as in the editor device of the present invention, the variable registered by the registration process is displayed by the display process, the variable is selected and the first or / and the second editor screen is instructed. The image block is displayed on the editor screen. Therefore, if a variable is registered, an image block can be automatically generated regardless of a program creation form.
[0023]
  AlsoThe registration process associates the image block with the variable by assigning a function attribute to the variable.ByAs with the editor device described above, the variable has the function attribute, so that the variable can be managed based on the function attribute. Further, in the registration process, when the function attribute is uniquely determined, the function attribute is set only by inputting the variable, so that the user does not need to register the function attribute.Further, the display process displays the function attribute together with the variable, so that the function attribute can be grasped.
[0024]
In the recording medium, it is preferable that the display process displays the variable together with the image block. When such a recording medium is used, as in the above-described editor device, when displaying additional information such as a name and a comment regarding an image block together with the image block, a variable function attribute can be used as the additional information. No increase in parameters to be input.
[0025]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of the present invention will be described below with reference to FIGS.
[0026]
The display / control system according to the present embodiment may have various configurations, but here, the first to third configurations will be described.
[0027]
First, the first display / control system shown in FIG. 1 includes a programmable display 1 and a PLC 2.
[0028]
The programmable display device 1 as a display function unit includes a CPU 11, a memory unit 12, a VRAM 13, a display 14, a graphic controller 15, a touch panel 16, a touch panel controller 17, a maintenance port 18, and a communication controller 19.
[0029]
The memory unit 12 includes memories such as a DRAM 12a and a FEPROM (Flash Erasable and Programmable ROM) 12b. The DRAM 12a is used not only for operations during arithmetic processing such as display control but also for temporary storage of data exchanged with the PLC 2. The FEPROM 12b is a rewritable read-only flash memory and plays a role of a hard disk drive in a general personal computer. A flash memory does not have a movable part and is resistant to impacts, and thus operates stably even in a poor ambient environment.
[0030]
Further, as shown in FIG. 2, the FEPROM 12b has areas for storing a display control system program, a communication protocol, and a user screen, respectively. The display control system program is a program for realizing a basic function for performing image display control. The communication protocol is a protocol used in communication processing with the PLC 2 and is uniquely determined according to the PLC 2 model (manufacturer). The user screen is created by a drawing editor 32b described later and downloaded to the FEPROM 12b. The user screen includes a base screen to be displayed on the display 14, mark data as an image block, a processing instruction word W (see FIG. 3) given to each mark, and the like, and constitutes a display content program. is doing.
[0031]
The mark is prepared in advance as a basic imaged part such as a touch switch, a lamp, and various displays. In addition, as a mark, a moving image function unit in which a desired moving image function is set in a rectangular area set at a desired position in order to express a dynamic change such as a switch or a numerical display at an arbitrary position on the screen. Is also included.
[0032]
As shown in FIG. 3, the processing instruction word W included in the screen data is created for each event to be executed on the base screen. The processing instruction word W basically includes the file number F of the base screen on which the display control operation is to be executed, the event name T that specifies the operation content to be executed on the base screen, and the execution event for each execution event. And a set of reference information I made up of one or a plurality of data.
[0033]
CPU11 controls operation | movement of each part of the programmable display 1 according to the display control system program stored in the above-mentioned FEPROM12b. Further, the CPU 11 has a function of controlling communication with a computer device 3 to be described later via a maintenance port 18 to be described later. When screen data is received from the drawing editor 32b, it is stored in the FEPROM 12b or a ladder editor. When the ladder program (user program) from 32a is received, it is transferred to the PLC2.
[0034]
The VRAM 13 is a memory that temporarily holds an image of the screen displayed on the display 14, and stores the image of the screen data from the FEPROM 12b as dot data in the order of display in the horizontal direction.
[0035]
The display 14 is configured by a flat display element such as a liquid crystal panel or an EL panel. The graphic controller 15 is driver software that draws an image of a screen developed in the VRAM 13 on the display 14. The touch panel 16 is provided for inputting on the display screen of the display 14, and an analog resistance film type touch panel or the like is preferable. The touch panel controller 17 converts the output voltage of the touch panel 16 into input position information and outputs it to the CPU 11.
[0036]
The maintenance port 18 is a communication port for performing communication with the computer apparatus 3 described later. On the other hand, the communication controller 19 is an interface that controls the transfer of data related to control and monitoring of the input / output devices 4... And the capture of the output data of the PLC 2 via the communication cable (for example, RS-232C). .
[0037]
The PLC 2 as the control function unit operates the input / output devices 4 in accordance with a procedure defined by a user program (control procedure program) created by the ladder editor 32a according to a control function program described later by the built-in CPU unit. To control.
[0038]
In the memory in the PLC 2, the storage location of the word device and the bit device can be specified by designating an address. In the word device, input / output data is set for word data such as a numerical value, and the bit device is set for bit data such as an on / off state. With such a setting, it is possible to control the input / output devices 4 simply by accessing an arbitrary word device or bit device in the PLC 2 or to individually retrieve information regarding the operation state.
[0039]
The programmable display 1 reads necessary information among the state information indicated by the bit device or the word device into the memory unit 12 in a timely manner, while repeatedly reading the processing instruction word W and causing an event of each processing instruction word W. The operation specified by the name T is executed while referring to the state information on the PLC 2 side. As a result, a display operation that changes according to a change in the state of the bit device or the word device is executed.
[0040]
The display operation of the programmable display 1 is performed according to the procedure of the flowchart shown in FIG.
[0041]
First, either an online mode in which the input / output devices 4 can be controlled or an offline mode in which only the programmable display 1 is operated is selected (S1). When the offline mode is selected (NO), the programmable display 1 performs various processes such as a setting process and a diagnostic process (S6), and returns the process to S1.
[0042]
When the online mode is selected in S1 (YES), the state information on the PLC 2 side quoted in the processing instruction word W set in the memory unit 12 of the programmable display 1 as the starting process is the programmable display 1 Take out to the side. Specifically, the word device and bit set in the PLC 2 from the information included in the processing instruction word W related to the currently displayed base screen among the processing instruction words W... Stored in the memory unit 12. The device address is extracted. Then, by directly accessing the memory of the PLC 2 based on the address, the addressed status information is expanded in the memory unit 12 and displayed on the operation screen. In the online mode, it is determined whether or not there is an input operation on the operation panel screen displayed on the programmable display 1 (S2). Here, if there is an input operation, predetermined calculation processing is executed based on the input data (S3), and further data communication processing is performed (S4).
[0043]
Next, display processing of each event is executed (S5). At this time, the display operation based on the status information extracted by the communication process among the process instructions W stored in the memory unit 12 is performed.
[0044]
Next, the computer device 3 will be described.
[0045]
As shown in FIG. 1, the computer apparatus 3 is configured by a general-purpose computer such as a personal computer. The computer device 3 includes a CPU 31, an editor unit 32, a data file 33, a memory unit 34, a display 35, an input device 36, an external storage device 37, and an interface unit (I / F in the figure) 38.
[0046]
The CPU 31 performs control and arithmetic processing of each unit when operating application software including the editor unit 32 on an OS (operating system) installed in the computer apparatus 3.
[0047]
The memory unit 34 includes a memory such as a RAM and a ROM, and plays a role of storing fixed data, temporarily storing data, and providing a work area when the CPU 31 performs arithmetic processing.
[0048]
The editor unit 32 includes a ladder editor 32a, a drawing editor 32b, and a variable management unit 32c.
[0049]
The ladder editor 32a as the second editor means is programming software for creating a user program that determines the control procedure of the PLC 2 so that the input / output devices 4... Operate in accordance with a desired sequence, and a display screen 35a of the display 35. A ladder diagram can be created by arranging ladder symbols corresponding to the operation of the input / output device 4 (for example, see FIG. 15A). In the ladder editor 32a, for example, the aforementioned programming language conforming to the international standard IEC is used.
[0050]
The ladder editor 32a associates the input number and output number assigned to the input terminal and output terminal of the PLC 2 with the name (device name) of the input / output device 4 connected to each input / output terminal. Is assigned as an input / output number assignment (I / O assignment) via a variable. The result of this allocation is stored in a ladder file 33a described later.
[0051]
When performing allocation, the memory unit 34 stores device names corresponding to the addresses, with the input number and output number as addresses. Conventionally, such allocation differs depending on the manufacturer of the PLC, and is set with an absolute address. Therefore, it is necessary to prepare a memory table according to the manufacturer. However, the ladder editor 32a compliant with IEC does not require a memory table as described above, because the user can determine input / output by the above variables (free variables). Moreover, the allocation once determined can be changed later.
[0052]
The user program created by the ladder editor 32a is transferred to the PLC 2 via the programmable display 1 (or directly) and downloaded to the memory in the PLC 2.
[0053]
The drawing editor 32b as the first editor means functions as a terminal through which the programmable display device 1 inputs various monitor values for management such as the operating status of the input / output devices 4. Is a screen creation software for creating a screen to be displayed on the display 14. In general, the drawing editor 32b has components (marks) such as switches, lamps, numeric keys, and various displays (for example, a numerical display, a meter display, and a graph display) so that a user-specific screen (user screen) can be created. ), Drawing function, text input function, etc. Further, the drawing editor 32b assigns the input / output numbers (addresses) for the respective input / output devices 4 of the marks arranged on the created screen via the variables.
[0054]
The user screen created by the drawing editor 32b is stored in a screen file 33b described later. This user screen is transferred to the programmable display 1 via the interface unit 38 as necessary, and downloaded to the FEPROM 12b.
[0055]
The variable management unit 32c as a registration unit will be described later in a form in which functions (switches, lamps, timers, counters, etc.) represented by ladder commands and marks are added to the variables input from the ladder editor 32a and the drawing editor 32b as function attributes. Are registered in the data file 33.
[0056]
As a method for registering variables, for example, the following two methods may be mentioned.
[0057]
In the first method, when a desired ladder instruction is selected from the ladder instruction group prepared in the ladder editor 32a, a screen for registering variables (for example, a dialog box in FIG. 5B described later) is displayed. And register variables there. In the second method, a variable is first registered, and a ladder instruction input thereafter is assigned to the registered variable.
[0058]
Moreover, as a method of assigning a functional attribute to a variable, for example, the following two methods can be given.
[0059]
In the first method, a function attribute is given to a variable by including a reserved word in the variable. Specifically, a variable including a reserved word S at the head, such as “S ***” (* represents an arbitrary character or number), is a switch variable. Similarly, variables each including the reserved words L, T, and C are set as ramp variables, timer variables, and counter variables.
[0060]
The second method is a method of giving a function attribute to the variable itself. Specifically, as shown in FIG. 5A, the name, type, hold, global and function are set for the input variable. These settings are made, for example, in a dialog box as shown in FIG. You can select from multiple types and functions.
[0061]
The name is a name of a variable, and is set to “SW1” for a certain switch. The type represents a variable type, and is set according to each functional element. For example, for functional elements that perform ON / OFF operations such as switches and lamps, “bit” is set as the type, and for functional elements that perform numerical counting operations such as timers and counters, the type is set. "Integer" is set as In addition, “real number” is set as a type for a functional element that performs a display operation of a measured value such as a meter. As functions, the above-described switches, lamps, timers, counters, and the like are prepared.
[0062]
“Hold” is a setting for whether or not to hold the above data in the event of a power interruption. When setting, the check box is checked. The global is a setting as to whether or not the registered variable is shared between the editor (for example, the ladder editor 32a) that registered the function attribute and the other application software (for example, the drawing editor 32b). When sharing, check the check box in the same way. If global is not set, variables cannot be imported into other application software.
[0063]
The above holding and global are provided as necessary.
[0064]
In addition, when the function attribute is uniquely determined from a ladder command or a component, the variable management unit 32c sets the function attribute only by inputting the variable. In such a case, registration of the function attribute by the user becomes unnecessary.
[0065]
The variable management unit 32c converts the variables registered in the data file 33 into a ladder window 32a described later.1And the drawing window 32b1Are displayed in list format for each function. Specifically, as shown in FIG. 6, the variable list is configured in a tab format provided for each function. In this variable list, for example, a switch tab includes a plurality of variables such as “SW1”, “SW2”,..., “SWn” depending on the type of the switch.
[0066]
The variable list may be displayed in a list regardless of the function other than the above variable list. In such a variable list, function attribute data (function, variable type, etc.) is also displayed together with the variable so that the function attribute can be grasped.
[0067]
In other words, the variable list may be in any form as long as it is configured so that the necessary variables can be selected from the variable list, but is configured so that the variables can be easily selected as in the above example. More preferably.
[0068]
In addition, the variable management unit 32c as a display unit displays a variable selected from the variable list by, for example, a mouse click operation using the ladder window 32a.1And the drawing window 32b1When it is dragged and dropped onto the input enabled area above, the ladder window 32a is displayed on the ladder editor 32a and the drawing editor 32b.1And the drawing window 32b1The ladder symbol and mark are automatically generated (drawn) at the drop position at.
[0069]
The variable management unit 32c may be included as one function of either the ladder editor 32a or the drawing editor 32b or as a function common to both the editors 32a and 32b.
[0070]
The computer device 3 functions as an editor device for creating and editing user programs and user screens by including the editor unit 32.
[0071]
The editor unit 32 is software that can be provided in the form of program media as package software or custom-made software, and is recorded in the recording medium 5 that is separable from the computer device 3, for example. The editor unit 32 can exhibit an editor function by being installed in the computer device 3 from the recording medium 5.
[0072]
The editor unit 32 may be recorded on a single recording medium 5, but the ladder editor 32a and the drawing editor 32b may be recorded on separate recording media.
[0073]
The above-mentioned program media include tape systems such as magnetic tapes and cassette tapes, magnetic disk systems such as floppy disks and hard disks, optical disk systems such as CD-ROM, MO, MD, and DVD, IC cards (including memory cards), optical A card system such as a card is preferred. In addition, the program medium may be a medium that carries a fixed program including a semiconductor memory such as a mask ROM, EPROM, EEPROM, flash ROM, or the like.
[0074]
Further, since the computer apparatus 3 can be connected to a communication network including the Internet, the computer apparatus 3 may be a medium that carries the program in a fluid manner so as to download the program from the communication network. However, when the program is downloaded from the communication network in this way, the download program may be stored in the computer device 3 in advance or may be installed from another recording medium.
[0075]
In the data file 33, for example, as shown in FIG. 7, the user program is stored in the ladder file 33a, and as shown in FIG. 8, the user screen is stored in the screen file 33b.
[0076]
The ladder file 33a is a command file part 33a.1And variable data file section 33a2It is composed of Command file part 33a1Stores ladder instructions and operands corresponding to the entered ladder symbols, and the variable data file section 33a.2The command file part 33a1As for the ladder instruction, device variables and addresses are stored. The variable data file section 33a2Stores the function attributes registered by the variable management unit 32c together with the variables.
[0077]
The screen file 33b is a graphic data file part 33b.1And common data file section 33b2It is composed of Graphic data file section 33b1Stores data on various figures (circles, lines, rectangles, etc.), texts (character strings), parts, and the like. Variable data file section 33b2The graphic data file part 33b1For the input mark, device variables and addresses are stored. The variable data file part 33b2Stores the data related to the function attribute registered by the variable management unit 32c together with the variable.
[0078]
In the case of using the ladder file 33a and the screen file 33b that are individually formed in the data file 33, the variable data file unit 33a is previously set by the variable management unit 32c.2Or 33b2As described later, it is necessary to import data relating to the variables registered in and the function attributes thereof into the other.
[0079]
Ladder file 33a and screen file 33b are variable data file part 33a.2・ 33b2The display operation and the control operation in the first to third display / control systems are related to each other.
[0080]
Alternatively, for example, as shown in FIG. 9, the data file 33 has a form in which the ladder file 33 a and the screen file 33 b are integrated, and is configured to store a user program and a user screen therein. May be. The data file 33 includes a command file part 33e, a graphic data file part 33f, and a variable data file part 33g.
[0081]
When this data file 33 is used, variable data (including data and addresses related to variables and their functional attributes) between the ladder file 33a and the screen file 33b by the variable management unit 32c is common to the user program and the user screen. Saved. For this reason, it is not necessary to import variable data between the files 33a and 33b as in the case of using the ladder file 33a and the screen file 33b.
[0082]
The display 35 is configured by a CRT, LCD, or the like, but the computer device 3 that is a panel computer is configured by a flat display element such as a liquid crystal panel or an EL panel. The input device 36 is a device for performing an input operation such as a keyboard and a mouse. In particular, a device such as a mouse is suitable for an input operation in the editor unit 32 operating in a GUI (Graphical User Interface) environment. . The external storage device 37 is a device such as a magnetic disk drive such as a hard disk device or an optical disk drive such as a CD-ROM drive, and includes at least a device that can read information such as a program recorded in the recording medium 5. It is out. The interface unit 38 is an input / output unit that performs data communication with the programmable display device 1. The user program created by the ladder editor 32 a and the user screen created by the drawing editor 32 b are transferred to the programmable display device 1 through the interface unit 38.
[0083]
Next, the second display / control system will be described.
[0084]
The second display / control system shown in FIG. 10 includes the programmable display 1 and the PLC 2 as in the first display / control system described above. The programmable display 1 here further has a PLC function. The input / output devices 4 are directly controlled. For this reason, the programmable display 1 includes an SRAM 12c in the memory unit 12, and an input / output unit (I / O unit in the figure) 20 and an I / O control interface 21 in addition to the communication controller 19 described above. .
[0085]
The SRAM 12c has an area for storing a user program created by the ladder editor 32a. Further, since the FEPROM 12b has a PLC function, as shown in FIG. 11, in addition to an area for storing a display control system program, a communication protocol, and a user screen, a control function program and a user program are respectively stored. It has an area to store. The control function program is a program for realizing the basic functions of sequence control.
[0086]
The input / output unit 20 includes a large number of input / output terminals and input / output circuits so that the input / output devices 4... Can be connected. The I / O control interface 21 is an interface circuit that mediates transmission / reception of signals between the CPU 11 and the input / output unit 20, and includes an input / output memory, a D / A converter, an A / D converter, and the like. .
[0087]
Next, the third display / control system will be described.
[0088]
The third display / control system shown in FIG. 12 is configured around a so-called open controller (software PLC) that operates by software.
[0089]
The open controller is constituted by the computer device 3, and in order to connect the input / output devices 4..., An input / output unit (in the drawing) is used instead of the interface unit 38 of the computer device 3 in the first display / control system. , I / O unit) 39 and I / O control interface 40.
[0090]
The input / output unit 39 includes a large number of input / output terminals and input / output circuits so that the input / output devices 4... Can be connected. Such an input / output unit 39 is mounted in the computer apparatus 3 as an I / O board, but may be independently provided outside the computer apparatus 3 as a remote I / O.
[0091]
The I / O control interface 40 is an interface circuit that mediates transmission / reception of signals between the CPU 31 and the input / output unit 39, and includes an input / output memory, a D / A converter, an A / D converter, and the like. . The I / O control interface 40 exchanges digital signals or analog signals input / output to / from the input / output devices 4 with the CPU 31.
[0092]
Further, the computer apparatus 3 includes an interface unit (I / F unit in the figure) 41 so as to function as an open controller. The interface unit 41 is an input / output unit corresponding to the open network 8 using a general-purpose communication protocol such as Ethernet (registered trademark), and is connected to the open network 8. As a result, the computer apparatus 3 is connected to another computer apparatus, a programmable display, a PLC, and the like via the open network 8.
[0093]
Similar to the above-described SRAM 12c, the memory unit 34 has areas for storing a display control system program, a communication protocol, screen data, a control function program, and a user program, respectively, as shown in FIG. .
[0094]
The computer device 3 configured as described above displays the created screen and the state of the site on the display 35 when the target system in which the input / output devices 4. In addition to functioning as a monitor for monitoring operating conditions, it controls the input / output devices 4 in the target system. At this time, the computer apparatus 3 executes the user program created by the ladder editor 32a and stored in the data file 33 according to the control function program. On the other hand, the computer device 3 functions as an editor device for creating a user program or a user screen by activating the ladder editor 32a or the drawing editor 32b when the target system is not in operation (offline state).
[0095]
In the first and second display / control systems, the user program and the user screen are temporarily stored in the data file 33, then downloaded to the PLC 2 and the programmable display 1, respectively, and stored in the memory. In the second display / control system, or alternatively, the user program and the user screen are temporarily stored in the data file 33, downloaded to the programmable display 1, and stored in the memory unit 12. In the third display / control system, the user program and the user screen are stored in the data file 33.
[0096]
Here, a user program and a user screen creation procedure in the first to third display / control systems will be described in more detail.
[0097]
When creating a user program, the procedure shown in the flowchart of FIG. 13 is followed. Here, at least the ladder editor 32a is activated in the computer apparatus 3, and an editor screen (second editor screen) for creating a user program is displayed on the display unit 35a (see FIG. 15A) of the display 35. Window (hereinafter referred to as a ladder window) 32a1Is open.
[0098]
First, the ladder window 32a1The variable corresponding to the ladder command is registered together with the function attribute for each input / output device 4 (S11). At this time, an address corresponding to the variable is assigned to the variable. If registration of variables for the ladder instruction to be used is completed (S12), it is determined whether or not a ladder instruction is input from the variable list (S13).
[0099]
When a ladder command is input from the variable list, the variable list is displayed (S14). Next, a desired variable is selected from the variable list, and the ladder window 32a is selected.1Is dragged and dropped (S15). Then, a ladder instruction corresponding to the selected variable is automatically input (S16), and a ladder symbol representing the ladder instruction is displayed in the ladder window 32a.1Is displayed. Then, it is determined whether or not the input of the ladder command has ended (S17). If the input is not ended, the process returns to S13. If the input is ended, the created user program is registered in the data file 33 ( S18).
[0100]
On the other hand, if the ladder instruction is not input from the variable list in S13, that is, if the ladder instruction to be input is not registered in the variable list, the ladder instruction is input by a normal method using the ladder editor 32a (S19). Then, a variable corresponding to the ladder instruction is input (S20). At this time, a variable and a function attribute are registered together with the input in the same manner as in S11, and an address corresponding to the variable is assigned to the variable. Thereafter, the process proceeds to S17.
[0101]
In the above example, a method has been described in which a variable is registered in advance and then a ladder command is automatically input based on the registered variable. However, variable registration is not limited to this method, and variable registration may be performed while inputting a ladder instruction. In this case, processing is performed in the order of S19, S11, S12, S17, and S18.
[0102]
Further, as described later, when registration of variables and function attributes is performed together with creation of the user screen using the drawing editor 32b, a variable list obtained by the registration is used. Specifically, processing excluding S11 and S12 is performed.
[0103]
When creating a user screen, the procedure shown in the flowchart of FIG. 14 is followed. Here, at least the drawing editor 32b is activated in the computer apparatus 3, and an editor screen (first editor screen) for creating a user screen is displayed on the display unit 35a (see FIG. 15A) of the display 35. Window (hereinafter referred to as a drawing window) 32b1Is open.
[0104]
First, the ladder window 32a1The variable corresponding to the mark is registered together with the function attribute for each input / output device 4 (S21). At this time, an address corresponding to the variable is assigned to the variable. When registration of all variables for the mark to be used is completed (S22), it is determined whether or not the mark is input from the variable list (S23).
[0105]
When inputting a mark from the variable list, the variable list is displayed (S24). Next, a desired variable is selected from the variable list, and the drawing window 32b is selected.1Is dragged and dropped (S25). Then, a mark corresponding to the selected variable is automatically input (S26), and the mark is displayed in the drawing window 32b.1Is displayed. Then, it is determined whether or not the input of the mark is completed (S27). If the input is not completed, the process returns to S23. If the input is ended, the created user screen is registered in the data file 33 (S28). ).
[0106]
On the other hand, if the mark is not input from the variable list in S23, that is, if the mark to be input is not registered in the variable list, the mark is input by a normal method using the drawing editor 32b (S29). Then, a variable corresponding to the mark is input (S30). At this time, together with the input, the variable and the function attribute are registered as in S21, and an address corresponding to the variable is assigned to the variable. Thereafter, the process proceeds to S27.
[0107]
In the above example, a method has been described in which a variable is registered in advance and then a mark is automatically input based on the registered variable. However, the registration of variables is not limited to this method, and variables may be registered while inputting marks. In this case, processing is performed in the order of S29, S21, S22, S27, and S28.
[0108]
In addition, as described above, when registration of variables and function attributes is performed together with creation of a user program using the ladder editor 32a, a variable list obtained by the registration is used. Specifically, processing excluding S21 and S22 is performed.
[0109]
Here, a specific example in the case where the user program and the user screen are created in accordance with the procedures of the flowcharts of FIGS. 13 and 14 will be described.
[0110]
Here, as shown in FIG. 15A, the ladder editor 32a and the drawing editor 32b are activated, and the ladder window 32a is activated.1And the drawing window 32b1Is opened in the display part 35 a of the display 35. In addition, it is assumed that the variable and the function attribute related to the variable have already been registered.
[0111]
In this state, as shown in FIG. 15B, a variable list is displayed on the display unit 35a. Among the variables included in the switch tab, for example, the variable “SW1” is dragged, and the ladder window 32a.1And the drawing window 32b1Is dropped at the desired position.
[0112]
Then, as shown in FIG. 15C, a ladder window 32a.1Displays a ladder symbol L corresponding to an LD (load) instruction at a position where the variable “SW1” is dropped. A variable “SW1” is also displayed near the ladder symbol L. On the other hand, the drawing window 32b1Displays a mark M of a switch associated with the variable at the position where the variable “SW1” is dropped. A variable “SW1” is also displayed on the mark M.
[0113]
With the above processing, the user simply selects a variable registered in advance from the variable list and performs a drag-and-drop operation, whereby the desired ladder symbol and mark associated with the variable are respectively displayed in the ladder window 32a.1And the drawing window 32b1Can be automatically generated on top. In addition, since the variables are displayed together with the ladder symbol L and the mark M, it is possible to save the input effort.
[0114]
In the above example, the user program and the user screen are created in parallel. As described above, when registering variables and function attributes while inputting ladder symbols or marks, the registration and user A program or user screen is created at the same time. Therefore, in this case, as described above, a user screen or a user program is created using the variables and function attributes registered at that time.
[0115]
As described above, each display / control system according to the present embodiment includes the variable management unit 32c for registering a variable with a functional attribute, and using the registered variable, the ladder symbol and the It is configured to automatically generate marks. Accordingly, (1) either one of the user program or the user screen is created and then the other is created, and (2) the user program and the user screen are created in parallel. be able to. In the procedure (2), not only the registration of variables and function attributes and the input of ladder instructions and marks are performed sequentially, but also the registration of variables and function attributes is performed in advance, and then ladder symbols and marks are input. It is also possible to do this. Moreover, even after registration, the registration contents can be easily changed by calling the dialog box shown in FIG. Accordingly, it is possible to cope with various forms of creating the program as described above.
[0116]
In addition, since the variable has a functional attribute, it is not necessary to input a comment or name separately for characterizing the displayed ladder symbol and mark by displaying the variable together with the ladder symbol and mark. In addition, management of variables is facilitated by function attributes.
[0117]
Of course, the present invention is applied not only to the ladder diagram but also to programming in other languages including the five languages defined in the above-mentioned IEC 6 1131-3.
[0118]
In this embodiment, an example in which a variable is dragged and dropped from a variable list has been described, but the present invention is not limited to this.
[0119]
【The invention's effect】
  As described above, the editor device of the present invention associates the variable that associates the input / output terminal of the control function unit with the control target device connected to the input / output terminal with the function represented by the image block prepared in advance. RegisterThen, this registration is performed by associating the image block with the variable by assigning a function attribute including the function to the variable.While displaying on the same display screen as the registered means, the first editor screen, the second editor screen, and the registered variable, select the displayed variable and instruct on the first editor screen In response to the operation, the first image block corresponding to the function associated with the variable is displayed on the first editor screen, and the displayed variable is selected and the operation is instructed on the second editor screen. Along with this, there is provided a display means for displaying a second image block corresponding to the function associated with the variable on the second editor screen.
[0120]
Thus, since the image block is displayed based on the registered variable, if the variable is registered, the image block can be automatically generated regardless of the program creation form. Therefore, there is an effect that simple creation of a program can be realized corresponding to various creation forms of the program.
[0121]
  AlsoThe registration means assigns a functional attribute to the variable by associating the image block with the variable.EspeciallyTherefore, the variable can be managed based on the function attribute. Therefore, there is an effect that the variable can be easily selected by displaying the variable for each function attribute. In addition, when the registration means sets the function attribute only by inputting a variable when the function attribute is uniquely determined, registration of the function attribute by the user becomes unnecessary.Further, the display means can grasp the function attribute by displaying the function attribute together with the variable.
[0122]
In this editor device, the display means displays the variable together with the image block. Therefore, when displaying supplementary information such as a name or a comment regarding the image block together with the image block, the function of the variable is used as the supplementary information. An attribute can be used, and the parameter to be input is not increased. Therefore, it is possible to reduce the input effort and improve the operability.
[0123]
  The recording medium of the present invention registers a variable that associates an input / output terminal of a control function unit with a control target device connected to the input / output terminal in association with a function represented by a previously prepared image block.Then, this registration is performed by associating the image block with the variable by assigning a function attribute including the function to the variable.While displaying the registration process, the first editor screen, the second editor screen, and the registered variable on the same display screen, select the displayed variable and instruct it on the first editor screen In response to the operation, the first image block corresponding to the function associated with the variable is displayed on the first editor screen, and the displayed variable is selected and the operation is instructed on the second editor screen. Along with this, an editor program is recorded that causes the computer to execute display processing for displaying the second image block corresponding to the function associated with the variable on the second editor screen.
[0124]
As a result, as with the editor device of the present invention, if a variable is registered, an image block can be automatically generated regardless of the program creation form. Therefore, there is an effect that simple creation of a program can be realized corresponding to various creation forms of the program.
[0125]
  AlsoSince the registration process associates the image block with the variable by assigning a function attribute to the variable, the variable is provided with the function attribute as in the above-described editor device, so that the variable is based on the function attribute. Can be managed. Therefore, there is an effect that the variable can be easily selected by displaying the variable for each function attribute. Further, in the registration process, when the function attribute is uniquely determined, the function attribute is set only by inputting the variable, so that the user does not need to register the function attribute.Further, the display process displays the function attribute together with the variable, so that the function attribute can be grasped.
[0126]
In this recording medium, the display process displays the variable together with the image block. Therefore, as in the above-described editor device, additional information such as a name and a comment regarding the image block is displayed together with the image block. In addition, a function attribute of a variable can be used as the incidental information, and a parameter to be input is not increased. Therefore, it is possible to reduce the input effort and improve the operability.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a first display / control system according to an embodiment of the present invention.
FIG. 2 is an explanatory diagram showing a program stored in an FEPROM of a programmable display in the first display / control system.
FIG. 3 is an explanatory diagram showing a basic format of a processing instruction word included in a user screen displayed on the programmable display or the like.
FIG. 4 is a flowchart showing a processing procedure of display operation of the programmable display device.
FIG. 5A is an explanatory diagram illustrating a specific example of a second method for assigning a function attribute to a variable, and FIG. 5B is an explanatory diagram illustrating a dialog box for setting the function attribute.
FIG. 6 is an explanatory diagram showing a variable list that displays the variables.
FIG. 7 is an explanatory diagram showing a configuration of a ladder file formed in a data file provided in a computer apparatus in each display / control system of the present invention.
FIG. 8 is an explanatory diagram showing a configuration of a screen file formed in a data file provided in a computer apparatus in each display / control system of the present invention.
FIG. 9 is an explanatory diagram showing another configuration of the data file provided in the computer device in each display / control system of the present invention.
FIG. 10 is a block diagram showing a configuration of a second display / control system according to an embodiment of the present invention.
FIG. 11 is an explanatory diagram showing a program stored in the FEPROM of the programmable display in the second and third display / control systems.
FIG. 12 is a block diagram showing a configuration of a third display / control system according to an embodiment of the present invention.
FIG. 13 is a flowchart showing a procedure for creating a user program to be executed by each display / control system.
FIG. 14 is a flowchart showing a procedure for creating a user screen executed by each display / control system.
FIGS. 15A to 15C are explanatory diagrams showing specific examples of operations of a ladder editor and a drawing editor when a user program and a user screen are created in parallel. FIGS.
[Explanation of symbols]
1 Programmable display (display function part, control function part)
2 PLC (control function part)
3 Computer devices (display function section, control function section)
4 Input / output devices (control target devices)
5 recording media
32a Ladder editor (second editor means)
32a1    Ladder window (second editor screen)
32b Drawing editor (first editor means)
32b1    Drawing window (first editor screen)
32c Variable management unit (registration means, display means)
35a Display screen
L Ladder symbol (image block, second image block)
M mark (image block, first image block)

Claims (8)

制御対象機器の状態を表示する表示機能部と、該制御対象機器の動作を制御する制御機能部とを有する表示/制御システムを対象として、上記表示機能部が実行する表示の内容を定めるための表示内容プログラムを第1エディタ画面上での入力操作に応じて作成する第1エディタ手段と、上記制御機能部が実行する制御の手順を定めるための制御手順プログラムを第2エディタ画面上での入力操作に応じて作成するための第2エディタ手段とを備えるエディタ装置であって、
上記制御機能部の入出力端子と該入出力端子に各々接続される上記制御対象機器とを対応付ける変数を、予め用意されている画像ブロックが表す機能と関連付けて登録し、この登録を上記画像ブロックと上記変数との関連付けを変数に上記機能を含む機能属性を付与することによって行う登録手段と、
上記第1エディタ画面と、上記第2エディタ画面と、登録された上記変数と同一の表示画面上に表示する一方、表示された変数を選択し、上記第1エディタ画面上に指示する操作に伴って、該変数に関連付けられた機能に対応する第1画像ブロックを上記第1エディタ画面に表示させるとともに、表示された変数を選択し、上記第2エディタ画面上に指示する操作に伴って、該変数に関連付けられた機能に対応する第2画像ブロックを上記第2エディタ画面に表示させる表示手段とを備えていることを特徴とするエディタ装置。
For defining the contents of display executed by the display function unit for a display / control system having a display function unit for displaying the state of the control target device and a control function unit for controlling the operation of the control target device A first editor means for creating a display content program in response to an input operation on the first editor screen, and a control procedure program for determining a control procedure executed by the control function unit on the second editor screen. An editor device comprising second editor means for creating according to an operation,
A variable that associates the input / output terminal of the control function unit with the control target device connected to the input / output terminal is registered in association with the function represented by the image block prepared in advance , and this registration is registered with the image block. A registration unit that associates a function attribute including the function with the variable ,
And the first editor screen, and the second editor screen, while displaying the above variables registered in the same display screen, the operation of selecting the displayed variable, and instructs to the first editor screen Accordingly, the first image block corresponding to the function associated with the variable is displayed on the first editor screen, the displayed variable is selected, and an operation instructed on the second editor screen is performed. An editor device, comprising: a display unit configured to display a second image block corresponding to a function associated with the variable on the second editor screen.
上記表示手段が、上記変数と併せて機能属性を表示することを特徴とする請求項1に記載のエディタ装置。 The editor device according to claim 1, wherein the display unit displays a function attribute together with the variable . 上記登録手段が、機能属性が一義的に定まる場合に変数が入力されるのみで機能属性を設定することを特徴とする請求項1に記載のエディタ装置。2. The editor apparatus according to claim 1 , wherein the registration unit sets the function attribute only by inputting a variable when the function attribute is uniquely determined. 上記表示手段が、上記変数を上記画像ブロックとともに表示させることを特徴とする請求項1に記載のエディタ装置。2. The editor apparatus according to claim 1 , wherein the display means displays the variable together with the image block. 制御対象機器の状態を表示する表示機能部と、該制御対象機器の動作を制御する制御機能部とを有する表示/制御システムを対象として、上記表示機能部が実行する表示の内容を定めるための表示内容プログラムを第1エディタ画面上での入力操作に応じて作成する第1エディタ処理と、上記制御機能部が実行する制御の手順を定めるための制御手順プログラムを第2エディタ画面上での入力操作に応じて作成するための第2エディタ処理とをコンピュータに実行させるエディタプログラムを記録したコンピュータ読み取り可能な記録媒体であって、
上記制御機能部の入出力端子と該入出力端子に各々接続される上記制御対象機器とを対応付ける変数を、予め用意されている画像ブロックが表す機能と関連付けて登録し、この登録を上記画像ブロックと上記変数との関連付けを変数に上記機能を含む機能属性を付与することによって行う登録処理と、
上記第1エディタ画面と、上記第2エディタ画面と、登録された上記変数とを同一の表示画面上に表示する一方、表示された変数を選択し、上記第1エディタ画面上に指示する操作に伴って、該変数に関連付けられた機能に対応する第1画像ブロックを上記第1エディタ画面に表示させるとともに、表示された変数を選択し、上記第2エディタ画面上に指示する操作に伴って、該変数に関連付けられた機能に対応する第2画像ブロックを上記第2エディタ画面に表示させる表示処理とをコンピュータに実行させることを特徴とするエディタプログラムを記録した記録媒体。
For defining the contents of display executed by the display function unit for a display / control system having a display function unit for displaying the state of the control target device and a control function unit for controlling the operation of the control target device A first editor process for creating a display content program in response to an input operation on the first editor screen, and a control procedure program for determining a control procedure to be executed by the control function unit are entered on the second editor screen. A computer-readable recording medium that records an editor program that causes a computer to execute a second editor process to be created according to an operation,
A variable that associates the input / output terminal of the control function unit with the control target device connected to the input / output terminal is registered in association with the function represented by the image block prepared in advance , and this registration is registered with the image block. A registration process that associates a variable with a function attribute that includes the function described above ,
The first editor screen, the second editor screen, and the registered variable are displayed on the same display screen, while the displayed variable is selected and the operation is instructed on the first editor screen. Accordingly, the first image block corresponding to the function associated with the variable is displayed on the first editor screen, the displayed variable is selected, and an operation instructed on the second editor screen is performed. A recording medium on which an editor program is recorded, causing a computer to execute display processing for displaying a second image block corresponding to a function associated with the variable on the second editor screen.
上記表示処理が、上記変数と併せて機能属性を表示することを特徴とする請求項5に記録媒体。 6. The recording medium according to claim 5, wherein the display process displays a function attribute together with the variable . 上記登録処理が、機能属性が一義的に定まる場合に変数が入力されるのみで機能属性を設定することを特徴とする請求項4に記載の記録媒体。5. The recording medium according to claim 4 , wherein the registration process sets the function attribute only by inputting a variable when the function attribute is uniquely determined. 上記表示処理が、上記変数を上記画像ブロックとともに表示させることを特徴とする請求項4に記載の記録媒体。The recording medium according to claim 4 , wherein the display process displays the variable together with the image block.
JP2003117994A 2003-04-23 2003-04-23 Editor device and recording medium recording editor program Expired - Fee Related JP3795473B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003117994A JP3795473B2 (en) 2003-04-23 2003-04-23 Editor device and recording medium recording editor program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003117994A JP3795473B2 (en) 2003-04-23 2003-04-23 Editor device and recording medium recording editor program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP24644599A Division JP3913414B2 (en) 1999-08-31 1999-08-31 Editor device and recording medium recording editor program

Publications (2)

Publication Number Publication Date
JP2003295912A JP2003295912A (en) 2003-10-17
JP3795473B2 true JP3795473B2 (en) 2006-07-12

Family

ID=29398279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003117994A Expired - Fee Related JP3795473B2 (en) 2003-04-23 2003-04-23 Editor device and recording medium recording editor program

Country Status (1)

Country Link
JP (1) JP3795473B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4634026B2 (en) * 2003-11-05 2011-02-16 株式会社きんでん Remote I / O system, data communication method, data communication control program, and recording medium
TW200736999A (en) * 2005-11-15 2007-10-01 Ils Technology Llc RFID with two tier connectivity, RFID in the PLC rack, secure RFID tags and RFID multiplexer system
JP4778312B2 (en) * 2005-12-26 2011-09-21 株式会社デジタル Data processing device, program, editor device, and recording medium

Also Published As

Publication number Publication date
JP2003295912A (en) 2003-10-17

Similar Documents

Publication Publication Date Title
JP4322770B2 (en) Screen creation device, screen creation program, and recording medium recording the same
JP3847585B2 (en) Editor registration device, registration program, and recording medium recording the same
JP3913414B2 (en) Editor device and recording medium recording editor program
JP3835589B2 (en) Drawing device and computer-readable recording medium recording drawing program
JP3795473B2 (en) Editor device and recording medium recording editor program
JP3847601B2 (en) Control display device, control program, and recording medium recording the same
JP4322780B2 (en) Screen creation device, screen creation program and recording medium
JP2002062910A (en) Editor device and storage medium recording editor program
JP2007094724A (en) Programmable display, control program, storage medium recording the program, screen generating device, screen generating program, and storage medium recording the program
JP4429990B2 (en) SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, PROGRAMMABLE DISPLAY, CONTROL PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
JP2007065914A (en) Screen generation device and program, and recording medium recording program
JP3795357B2 (en) Editor device, editor program, and recording medium recording the same
JP3939518B2 (en) Input / output address setting device, input / output address setting program and recording medium recording the same
JP3710731B2 (en) Editor device and recording medium recording editor program
JP2001075791A (en) Editor device and recording medium recording editor program
JP3712640B2 (en) Editor device and recording medium recording editor program
JP3712641B2 (en) Editor device and recording medium recording editor program
JP4335109B2 (en) Screen creation device, screen creation program, and recording medium recording the same
JP2001075614A (en) Editor device and recording medium recording editor program
JPH11265280A (en) Graphic editor and computer-readable recording medium for recording editor program
JP3195322B2 (en) Editor device and recording medium recording editor program
JP2001075616A (en) Editor device and recording medium recording editor program
JP2007065910A (en) Screen preparation device, and screen preparation program, and record medium recording its program
JP4970105B2 (en) Editor device and editor program
JP3195321B2 (en) Editor device and recording medium recording editor program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050712

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050909

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050909

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060412

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090421

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100421

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110421

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120421

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130421

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130421

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140421

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees