JP3797907B2 - Data creation apparatus for control system, data creation program, and recording medium recording the program - Google Patents
Data creation apparatus for control system, data creation program, and recording medium recording the program Download PDFInfo
- Publication number
- JP3797907B2 JP3797907B2 JP2001312538A JP2001312538A JP3797907B2 JP 3797907 B2 JP3797907 B2 JP 3797907B2 JP 2001312538 A JP2001312538 A JP 2001312538A JP 2001312538 A JP2001312538 A JP 2001312538A JP 3797907 B2 JP3797907 B2 JP 3797907B2
- Authority
- JP
- Japan
- Prior art keywords
- display
- control
- data
- function
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Programmable Controllers (AREA)
- Stored Programmes (AREA)
Description
【0001】
【発明の属する技術分野】
この発明は、PLCの様な外部装置と接続され、その外部装置におけるデータ処理状態を表示するプログラム式の表示装置を備えた制御システムで使用する制御用データの作成方法に関する。
【0002】
【従来の技術】
本出願人は以前、ランプやスイッチの様な単位の表示機能を部品化し、ベース画面上にその表示機能部品を貼り付けて行くことにより、プログラム式表示装置における表示制御動作を行わせるための表示画面を容易に作成できる構成を提案した。
【0003】
一方、外部装置用の制御プログラムは、例えばPLCにおけるラダープログラムにあっては、センサやスイッチ接点の様な入力デバイスと、リレーやランプの様な出力デバイスの接続状態に対応するラダー図を描き、そのラダー図に対応して命令あるいはアドレスを書き込むことにより作成される。
【0004】
更に、繰り返して使用する可能性のある汎用的な回路ブロックについては、その回路ブロックに対応するプログラムをサブルーチンあるいはマクロ化して構成し、プログラム作成の簡易化を図る試みもなされている。
【0005】
【発明が解決しようとする課題】
ところで、タイマーやカウンタの様な機能は、単にPLC上に設定されたデバイスのデータを取得するだけでは表示が行われず、このデバイスをPLC上で所望の動作をさせるための制御プログラムの作成を必要とする。
【0006】
そこで従来にあっては、プログラム式表示装置用の表示画面の設計に加えて、その表示画面をコントロールすることを目的とした表示制御専用の制御プログラムの作成を余儀なくされていた。
【0007】
更に1つの制御プログラム中に、ターゲットシステムの制御用として使用する制御用ラダーと、プログラム式表示装置における表示のみに使用する表示用ラダーとが混在する結果、両者の管理が煩雑となり、PLCの動作に重要な影響を有する制御用ラダーの作成に支障をきたす問題があった。
【0008】
本発明はかかる問題に鑑みてなされたものであって、プログラム式表示装置の制御に使用する表示画面を表示機能部品で構成可能とする一方、PLCの制御プログラムを制御機能部品で構成可能とし、表示機能部品と制御機能部品の間に所定の関係を持たせることにより、管理および作成が容易な制御システム用のデータ作成方法を提供することを目的とする。
【0009】
【課題を解決するための手段】
本発明にかかるデータ作成方法を適用する制御システム14は、図1(a)に示すごとく、制御プログラム15に基づいて所定の制御動作を行う制御手段1と、その制御手段1における制御状態に対応した表示動作を表示画面30に基づいて行う表示手段2とを備えたものである。
【0010】
ここで、前記した表示手段2における表示画面30を、所定単位の表示機能を有する表示機能部品4の集合として構成可能とする一方、制御手段1における制御プログラム15を、所定単位の制御機能を有する制御機能部品3の集合として構成可能とする。
【0011】
そして、特定の表示機能部品4および制御機能部品3の間に予め関連付けを設けておき、表示機能部品4または制御機能部品3の何れか一方が特定されると、他方も同時に特定可能としたことを特徴とする。
【0012】
前記した制御手段1は、制御プログラム15がラダー図で構成された図2の様なPLC10であり、前記した表示手段2は、PLC10内に備えた状態情報の変化に対応した表示動作を可能とするプログラム式表示装置12であることが好ましい。
【0013】
更に制御機能部品3は、図1(b)の如く、ラダー図中では、変数値を設定変更可能としたブロック図として表示されるとともに、表示画面30の作画面8と制御プログラム15の作画面7とは、同一のディスプレイ6上に開かれ、一方の作画面上に機能部品を配置すると、他方の作画面上にも自動的に対応する機能部品が配置される。
【0014】
【発明の効果】
本発明は上記の如く、プログラム式表示装置12の制御に使用する表示画面30を表示機能部品4で構成可能とする一方、PLC10の制御プログラム15を制御機能部品3で構成可能とし、表示機能部品4と制御機能部品3の間に所定の関係を持たせることにより、制御システム用のデータの管理が容易に行える。
【0015】
更に、一方の作画面に機能部品を配置すると、他方の機能部品が自動的に配置される様に構成することにより、データ作成に要する手間が大幅に削減できる。
【0016】
【発明の実施の形態】
以下本発明を、図2に示すごとく、制御手段として備えたPLC10を使用し、ベルトコンベアー式の自動組付機の様なターゲットシステム11をPLC10でシーケンス制御可能とするとともに、PLC用の表示手段としてプログラム式の表示装置12を備え、更にプログラム式表示装置12とLAN接続させて汎用的なコンピュータ装置13と繋いで制御システム14を構成した一例に基づいて説明するが、その他各種構成の制御システムに対しても適用できることは勿論である。
【0017】
PLC10は、ラダープログラムの様な所定の制御プログラム15で動作するものであって、CPUユニット16やメモリユニット17などの必要とする個別の機能毎に回路がユニット化され、各ユニットを必要に応じてバスラインを介して適宜追加することにより、PLC全体として達成される機能を増減可能とする、従来と略同様な構成のものである。
【0018】
この実施例にあっては、制御プログラムに従って所定の制御動作をするCPUユニット16と、ターゲットシステム11から送られる検知信号の直接的な取り込みを可能とする入力ユニット18と、ターゲットシステム11に向けて所定の制御信号の出力を可能とする出力ユニット19と、各種データを保存するメモリユニット17と、プログラム式表示装置12との間で所定のデータ通信を可能とする計算機リンクユニット20とを基本ユニットとして備える。
【0019】
そして、CPUユニット16で常時入出力デバイスの変化状態を監視しておき、新規データ入力等のデータ変化が認められると、必要な演算処理を施したあとメモリユニット17上における該当のアドレスにアクセスして内容を読み書きし、あるいは出力ユニット19に向けてデータを送出する。
【0020】
また、ターゲットシステム11に対して直接入出力され、あるいはその制御などに用いる状態データの格納場所が、制御あるいは表示すべきターゲットシステム11上に備えたセンサやスイッチの様な入力デバイス、リレーやモータの様な出力デバイス毎にメモリユニット17上に確保され、入出力されるデータが数値の様なワードデータに対してはワードデバイスが、オンオフ情報の様なビットデータに対してはビットデバイスが、その機種固有の例えば「X001」のようなデバイス名ないしはアドレスを指定することによって格納場所を特定可能にメモリユニット17内に設定されている。
【0021】
従って、PLC10の内部または外部からメモリユニット17内における任意のワードデバイスあるいはビットデバイスをデバイス名で特定してアクセスするだけで、ターゲットシステム11の対応位置を制御し或いはその動作状態に関する情報が個別に取り出せる。
【0022】
更に上記したメモリユニット17上に構成されるデバイス中には、リレー、レジスタ、カウンタあるいはタイマーの様な所定の機能素子がハードウェアおよびソフトウェアを利用して構成され、デバイス名を指定して制御プログラム15中で使用可能としている。
【0023】
プログラム式表示装置12は、PLC10とともにターゲットシステム11の操作卓などに一体に組み込み、あるいはそれ自身が独立して配備され、ターゲットシステム11に対する現場における制御盤として使用されるものであって、図示しない筐体の内部に表示制御回路21を備えている。
【0024】
表示制御回路21の基本的な構成は汎用のパソコン装置と略同様であって、筐体の前面側に備えたディスプレイ22における画面を透明なタッチパネル23により密着状態で覆い、タッチパネル23に対する押圧操作による指示は、タッチパネルコントローラ24を介して取り込まれて座標が解析され、テスト時、システム全体としての運転開始前における初期設定時あるいは運転中における指先による各種手動操作を可能とする。
【0025】
更にまた、接続されるPLC10に特化した専用のプロトコルで作動する通信コントローラ25を介し、PLC側の計算機リンクユニット20とシリアルあるいはパラレル状態の専用の通信ライン26を通じて接続されている。
【0026】
ここでプログラム式表示装置12においては、図3に例示する如く、銘板の様な表示内容に変更を要しない静止図形27、あるいは形状変化や点滅あるいは色変化させるスイッチ形状のような表示機能部品4をベース画面29上に1または複数備えて構成された表示画面30を単位画面とする。更に、1台のプログラム式表示装置内には複数の単位画面からなる表示画面群を1つのプロジェクトとして備えるとともに、各々の単位画面毎に異なったファイル番号Fを指定することにより、単位画面を切り換えるだけで必要な操作内容を表示した表示画面30が得られるようにしている。
【0027】
更にまた、1つの単位画面が選択されると、その選択された単位画面に関係する図4で例示する様な処理指示語Wを図5の様に事象データ用メモリ31上に格納するとともに、その処理指示語Wを微小時間毎に間欠的に読み出し、各処理指示語Wの事象名Nで特定される内容の動作をPLC側から表示装置側に取り出された状態データを参照しながら順次に実行する。これによって、PLC側のビットデバイスあるいはワードデバイスの内容変化に即応して表示機能部品4の部品図形の形状や表示データが変化する表示変更動作が、表示画面30上で行われる。
【0028】
すなわち処理指示語Wの基本的な構成は略同一であって、図4(a)の様に表示制御動作を実行すべきベース画面29のファイル番号Fと、そのベース画面29上で実行すべき動作内容を特定する事象名Nと、各々の実行事象毎に参照される1又は複数のデータからなる参照情報rとを1組として備えている。
【0029】
例えば、図4(b)に示す処理指示語WTは、タッチパネル23に対する押圧指示操作と連動して、状態データ用メモリ32内の所定アドレス位置に設定したビットデバイスを反転可能とするものである。すなわち、単位画面のファイル番号F1、タッチパネル23の操作を特定する例えば「T」から始まる事象名N1、タッチパネル23からの入力操作を有効とする入力座標範囲X・Y、タッチパネル23の押し操作と連動してデータを書き換えるべき各PLC10に固有のアドレスAとから構成される。
【0030】
更に図4(c)に示す処理指示語WLは、上記したタッチパネル23の操作と連動して、ベース画面29上における対応位置に所定の図形を表示可能とするものである。すなわち、ベース画面29のファイル番号F1、部品図形の表示を特定する例えば「L」から始まる事象名N2、部品図形の表示座標範囲X・Y、呼び出す部品図形を特定するファイル番号F2および部品図形を表示時に参照するPLC10に固有のアドレスAとから構成される。
【0031】
そこで図5(a)の様に、座標範囲X・Yと参照アドレスAとを共に一致させた2つの処理指示語WL1・WT1を事象データ用メモリ31に設定しておく。また、状態データ用メモリ32のアドレスAにおけるビットデバイスが「0」の場合、それをスイッチのオフ状態に予め対応させておくと、PLC10では制御すべき実際のスイッチ接点に対してオフ動作を行う。それと同時に、スイッチのオフ状態に対応する部品図形のデータFL1をグラフィック用メモリから読み出し、該当するベース画面29上の指定座標範囲X・Yに展開して表示する。
【0032】
ここでタッチパネル23におけるスイッチ形状を有する部品図形の表示場所を押すと、タッチパネル用の処理指示語WTを検索し、タッチパネル23を介してなされた指示座標から該当の座標を含む範囲を座標情報として有する処理指示語WTの有無を判定する。
【0033】
例えば、座標範囲X・Yの内の一点が押された場合、上記の様にして構成された処理指示語WT1に対応するので、図5(b)に示す如く、該当のアドレスAにおけるデータ値を「0」から「1」に反転し、PLC10を介して該当のスイッチ接点をオンする制御をさせる。それと同時に、処理指示語WL1は参照アドレスAが「1」に変化したことを判断し、スイッチのオン状態に対応する図形のデータFL2をグラフィック用メモリから読み出して該当の座標範囲X・Y上に表示することにより、ベース画面29上に表示されたスイッチ形状の部品図形も、オフ状態からオン状態へと変更されるのである。
【0034】
本実施例にあっては更に、プログラム式表示装置12とコンピュータ装置13間は、汎用的な通信用アダプタ33および通信ケーブルからなる共通の通信ライン34を介してホストコンピュータなどのコンピュータ装置13とLAN接続され、TCP/IPの様な汎用的な通信プロトコルを使用して接続している。
【0035】
更に、データ通信プロトコルがPLC専用の場合にあっても、PLC10とコンピュータ装置13間で、PLC10における制御状態に対応した状態データをはじめとする各種データの受け渡しを、プログラム式表示装置12を介して行える様にしている。
【0036】
すなわち本実施例におけるプログラム式表示装置12は、接続されるPLC専用のデータフォーマットないしはプロトコルと、コンピュータ装置13における汎用的なデータフォーマットないしはプロトコルとを、自動的に解析して変換する機能を備え、コンピュータ装置13からPLC10の状態データをアクセスできる様にする。更にプログラム式表示装置12は、それ単独でも、PLC10およびコンピュータ装置13に個別にアクセス可能とするとともに、上記した様な処理指示語Wを使った専用の表示画面ファイルを用い、PLC10の状態データの変化に対応した表示を可能とする。
【0037】
本発明は上記した構成の制御システム14にあって、プログラム式表示装置12において使用する表示画面30の作成装置35と、PLC10において使用する制御プログラム15の作成装置36とを互いに連係させて動作させる構成にその特徴を有する。
【0038】
なお両作成装置35・36は、本実施例にあってはLAN上に接続された汎用のコンピュータ装置13に格納したソフトウェアにより一体に構成しているが、独立して動作する他の汎用あるいは専用のコンピュータ装置にあっても略同様に実施できることは勿論である。また、プログラム式表示装置12のオフライン時にその上で動作するソフトウェアを利用し、必要な表示画面30および制御プログラム15の作成動作をさせることもできる。
【0039】
ここで表示画面作成装置35は、基本的には上記したプログラム式表示装置12で使用する1または複数の単位画面ファイルおよび各単位画面から呼び出して表示するための関連する図形ファイルからなるプロジェクトファイルを上記した処理指示語Wを使用して作成するためのものであって、マウスの様なポインティングデバイスをディスプレイ22上における指示入力手段として使用した汎用的なパソコンが使用され、所定のプログラムを用いて図6に例示する各種の機能を実現する様にしている。
【0040】
すなわち、ディスプレイ22の画面上に作画面8を開いて必要な各種の表示動作を処理する表示部37と、円や直線の様な描画図形の作成部38と、スイッチやランプの様な表示機能部品4の配置部39と、各種処理指示語Wのベース画面29に対する設定部40と、1枚のベース画面29上にオブジェクトとして配設された描画図形、表示機能部品4および処理指示語に含まれる各データを整理することによって単位画面として合成するデータ合成部41と、作成された各種のデータを格納するデータ記憶部42と、作成されたデータをプログラム式表示装置12やPLC10に送るデータ通信部43とを備えている。
【0041】
描画図形作成部38は、従来の一般的な作図装置と略同様に、直線や曲線を主体とする線画あるいはその内部を所定の色や模様で塗りつぶすことにより、任意の描画図形をベース画面29上で作成できる様にしている。
【0042】
表示機能部品配置部39は、描画図形や処理指示語を用いて図5に例示するスイッチあるいはランプの様な汎用的な表示機能部品用のデータ群を予め多数蓄積しておき、必要に応じて任意の表示機能部品4を取り出してベース画面29上における任意位置に配設するとともに、その大きさを作画面8上で確認しながら任意に設定可能とするものである。
【0043】
処理指示語設定部40は、システムが用意する処理指示語群中から、必要とする機能の処理指示語をベース画面29上に個別に設定可能とすることにより、上記の様な部品として汎用化されていない新たな機能を任意に構成できる様にしている。
【0044】
データ合成部41は、上記の様にしてベース画面29上で構成された各要素におけるデータを1つにまとめて、対応するプログラム式表示装置12で専用に使用する1つの単位画面ファイルを構成するとともに、複数の単位画面ファイルを1つにまとめて、プロジェクトファイルが構成される様にしている。
【0045】
データ記憶部42は、ハードディスク装置の様な任意の記憶装置が使用され、上記の様にしてデータ合成部41で構成されたデータを格納するとともに、必要に応じてデータ通信部43を介してプログラム式表示装置12側に各種のデータを送る。
【0046】
制御プログラム作成装置36は、PLC用の制御プログラム15のコーディング、デバック、PLC10に対するダウンロードあるいはモニタ等の様な制御プログラム15の作成に必要な機能を備えたものであって、前記した表示画面作成装置35と一体に、あるいは別体であるが互いに連係して動作可能に構成される。
【0047】
ここで制御プログラム15のコーディングは、図7の如く、制御プログラム作成装置36の作画面7上に、リレーシンボル44を用いてリレーラダー図を描くことにより作成するラダー図方式が採用されているためにラダー図作成部46を備えるが、他の方式にあってはその方式に対応した手段が用意される。
【0048】
本発明は上記した構成にあって更に、予め設定した所定の動作をする制御機能部品3を設定し、その制御機能部品3を使用して制御プログラム15をコーディング可能とする制御機能部品選択部47を備えている。
【0049】
制御機能部品3は、図8に例示する如く、汎用的に繰り返して使用されることが多い機能プログラム48を予め1つにまとめて使用可能としたものであって、複数種類の制御機能部品3を予め用意し、使用する制御機能部品3を選択することにより、制御プログラム15の作成の簡易化を図るものである。
【0050】
本実施例にあっては、各制御機能部品3には入出力として少数の固定した入出力端子(図示例では入力がIP1〜IP8の8つ、出力がOP1〜OP4の4つ)を持つとともに、制御機能部品3を構成する機能プログラム48中の各デバイス名をローカルなデバイス名を用いて記載する。
【0051】
更に図7(a)で例示する制御プログラム15中において、1または複数の制御機能部品3を矩形の様なシンボルを用いて表現可能とするとともに、制御機能部品3を構成する機能プログラム48を独立して動作可能としている。またタイマーやカウンタにおけるカウントアップ数の様な設定値を変数とし、実際の設計時に任意に設定変更できる様にしている。
【0052】
ここで制御プログラム15のコーディングにあっては、図7に例示するごとく、制御プログラム作成用として開いた作画面7上に、従来のラダー図と略同様に、ラダー図作成部46を使用してシンボルをもって必要な制御プログラム15を描いて行く。
【0053】
更にシンボルとして制御機能部品3を選択した場合にあっては、図8(b)の様に入力IP1〜IP8および出力OP1〜OP4に対して具体的な入出力デバイス名を設定するとともに、変数に値を設定することにより、制御機能部品3の設定動作は完了する。例えば図8の図示例では、入力のIP1〜IP5と出力のOP1のみが使用された例が示されている。
【0054】
また制御プログラム中に書き込まれた制御機能部品3の具体的な構成を示す機能プログラム48は、画面上で制御機能部品3をクリックするなどの所定指示動作をすることにより、図8(b)の様にサブウインドウ49が開き、そのサブウインドウ49上に表示されて確認が可能となる。
【0055】
更に、制御プログラム15をPLC10にローディング後には、制御プログラム15を全体として動作させた場合にあっても、個別の制御機能部品3毎にその動作を停止させ、デバッグすることを可能とする。
【0056】
本発明は上記した構成にあって、更に、表示画面作成装置35と制御プログラム作成装置36とを互いに連係させて動作可能とした構成にその特徴を有する。
【0057】
すなわち、両装置における作画面78を、図1(b)に例示する如く、ディスプレイ6の画面上に重畳あるいは並列して表示可能とすることにより、並行して両者のデータ作成を進行できる様にする。
【0058】
更に表示機能部品4の中で、同時に対応する制御プログラム15の作成を必要とするものに対しては、予めその制御プログラム15を制御機能部品3として用意し、両者の間に対応関係を設けておく。そして、表示画面30の作成時に、表示機能部品4をベース画面29上に配置すると同時に、それに対応する制御機能部品3が制御プログラム15中に自動的に配置される様にしている。
【0059】
なお上記した実施例では、表示画面30の作成を主とし、制御プログラム15の作成を従として説明をしたが、制御プログラム15の作成時に制御機能部品3を配置すると、同時に表示画面30上に表示機能部品4が自動的に配置される様に構成してもよい。
【0060】
また、表示機能部品4と制御機能部品3を個別に備え、一方の機能部品を配置すると他方の機能部品も自動的に配置されるのに代えて、両機能部品を外形的に統一した1つの機能部品として構成し、必要に応じて明示的に表示画面30の作画面8あるいは制御プログラム15の作画面7上にドラッグアンドドロップ操作することによって構成することも可能である。要するに、両機能部品間に何らかの関連付けが存在すれば、その表示形式あるいは操作形式については特に限定されるものではない。
【0061】
また制御機能部品3の形式は統一したものとすることも可能であるが、例えばターゲットシステム11の制御用と、プログラム式表示装置12の制御用とに機能を分類し、その内部構成あるいは表示形態を互いに異ならせて両者を区別することもできる。その他、部品化されておれば、その形式は問われるものではない。
【図面の簡単な説明】
【図1】本発明の基本的な構成を示す説明図であって、(a)は制御システムの動作状態を、(b)はデータの作成状態を各々示す。
【図2】PLCおよびプログラム式表示装置の電気的な構成を示すブロック図である。
【図3】作成される表示画面の一例を示す説明図である。
【図4】プログラム式表示装置で使用する処理指示語の構成を示す説明図であって、(a)は処理指示語の基本的な構成、(b)はタッチパネルを用いたデータ入力用の処理指示語の構成、(c)は図形表示用の処理指示語の構成を各々示す。
【図5】処理指示語を使用した制御動作の一例を示す説明図である。
【図6】表示画面作成装置と制御プログラム作成装置の各機能に関する構成を示す説明図である。
【図7】制御機能部品と機能プログラムの関係を示す説明図である。
【図8】制御プログラムと制御機能部品のプログラミングツール上における表示例を示す説明図である。
【符号の説明】
1 制御手段
2 表示手段
3 制御機能部品
4 表示機能部品
5 データ作成装置
6 データ作成装置のディスプレイ
7 制御プログラム用の作画面
8 表示画面用の作画面
10 PLC
11 ターゲットシステム
12 プログラム式表示装置
13 コンピュータ装置
14 制御システム
15 制御プログラム
16 CPUユニット
17 メモリユニット
18 入力ユニット
19 出力ユニット
20 計算機リンクユニット
21 表示制御回路
22 表示装置のディスプレイ
23 タッチパネル
24 タッチパネルコントローラ
25 通信コントローラ
26 専用の通信ライン
27 静止図形
29 ベース画面
30 表示画面
31 事象データ用メモリ
32 状態データ用メモリ
33 通信用アダプタ
34 共通の通信ライン
35 表示画面の作成装置
36 制御プログラムの作成装置
37 表示部
38 描画図形作成部
39 表示機能部品配置部
40 処理指示語設定部
41 データ合成部
42 データ記憶部
43 データ通信部
44 リレーシンボル
46 ラダー図作成部
47 制御機能部品選択部
48 機能プログラム
49 サブウインドウ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method for creating control data used in a control system that is connected to an external device such as a PLC and includes a programmable display device that displays a data processing state in the external device.
[0002]
[Prior art]
The present applicant has previously made a display function for performing a display control operation in a programmable display device by making a display function of a unit such as a lamp and a switch into parts and pasting the display function parts on a base screen. A configuration that can easily create a screen was proposed.
[0003]
On the other hand, the control program for the external device is a ladder program in PLC, for example, draws a ladder diagram corresponding to the connection state of input devices such as sensors and switch contacts and output devices such as relays and lamps. It is created by writing an instruction or address corresponding to the ladder diagram.
[0004]
Furthermore, with respect to general-purpose circuit blocks that may be used repeatedly, an attempt has been made to simplify program creation by configuring a program corresponding to the circuit block as a subroutine or macro.
[0005]
[Problems to be solved by the invention]
By the way, functions such as timers and counters are not displayed simply by acquiring device data set on the PLC, and it is necessary to create a control program for causing the device to perform a desired operation on the PLC. And
[0006]
Therefore, conventionally, in addition to designing a display screen for a programmable display device, it has been necessary to create a control program dedicated to display control for the purpose of controlling the display screen.
[0007]
Furthermore, the control ladder used for control of the target system and the display ladder used only for display in the programmable display device are mixed in one control program. As a result, the management of both becomes complicated, and the operation of the PLC There is a problem that hinders the creation of a control ladder having an important influence on the performance of the control ladder.
[0008]
The present invention has been made in view of such a problem, and a display screen used for control of a programmable display device can be configured with display functional parts, while a PLC control program can be configured with control functional parts, It is an object of the present invention to provide a data creation method for a control system that can be easily managed and created by providing a predetermined relationship between a display function component and a control function component.
[0009]
[Means for Solving the Problems]
The
[0010]
Here, the
[0011]
An association is established in advance between the specific
[0012]
The control means 1 described above is a
[0013]
Further, as shown in FIG. 1B, the
[0014]
【The invention's effect】
As described above, the present invention makes it possible to configure the
[0015]
Furthermore, by arranging the functional component on one screen, the other functional component is automatically arranged, so that the labor required for data creation can be greatly reduced.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
As shown in FIG. 2, the present invention uses a
[0017]
The
[0018]
In this embodiment, a
[0019]
Then, the
[0020]
In addition, the storage location of state data that is directly input / output to / from the
[0021]
Therefore, by simply specifying and accessing an arbitrary word device or bit device in the
[0022]
Furthermore, in the devices configured on the
[0023]
The programmable display device 12 is incorporated in the console of the
[0024]
The basic configuration of the
[0025]
Furthermore, it is connected to the
[0026]
Here, in the programmable display device 12, as illustrated in FIG. 3, a
[0027]
Furthermore, when one unit screen is selected, a processing instruction word W as illustrated in FIG. 4 related to the selected unit screen is stored in the
[0028]
That is, the basic configuration of the processing instruction word W is substantially the same, and the file number F of the
[0029]
For example, the processing instruction word WT shown in FIG. 4B enables the bit device set at a predetermined address position in the
[0030]
Further, the processing instruction word WL shown in FIG. 4C enables a predetermined figure to be displayed at a corresponding position on the
[0031]
Therefore, as shown in FIG. 5A, two processing instructions WL1 and WT1 in which the coordinate ranges X and Y and the reference address A are matched are set in the
[0032]
When a display location of a part graphic having a switch shape on the
[0033]
For example, when one point in the coordinate range X / Y is pressed, it corresponds to the processing instruction word WT1 configured as described above, so that the data value at the corresponding address A is shown in FIG. Is reversed from “0” to “1”, and the corresponding switch contact is controlled to be turned on via the
[0034]
Further, in the present embodiment, the programmable display device 12 and the
[0035]
Further, even when the data communication protocol is dedicated to the PLC, various data including the state data corresponding to the control state in the
[0036]
That is, the programmable display device 12 in the present embodiment has a function of automatically analyzing and converting a data format or protocol dedicated to the connected PLC and a general-purpose data format or protocol in the
[0037]
The present invention is in the
[0038]
In the present embodiment, both
[0039]
Here, the display
[0040]
That is, the display unit 37 that opens the
[0041]
The drawing
[0042]
The display function
[0043]
The processing instruction
[0044]
The data synthesizing unit 41 combines the data in each element configured on the
[0045]
The
[0046]
The control
[0047]
Here, the coding of the
[0048]
The present invention has the above-described configuration, and further sets a
[0049]
As illustrated in FIG. 8, the
[0050]
In this embodiment, each
[0051]
Further, in the
[0052]
Here, in the coding of the
[0053]
Further, when the
[0054]
Further, the
[0055]
Furthermore, even after the
[0056]
The present invention has the above-described configuration, and further has a feature in the configuration in which the display
[0057]
That is, the screens 78 of both devices can be displayed on the screen of the display 6 in a superimposed or parallel manner as illustrated in FIG. 1B so that data creation of both can proceed in parallel. To do.
[0058]
Furthermore, for the
[0059]
In the above-described embodiment, the description has been made mainly on the creation of the
[0060]
In addition, the display
[0061]
Although the format of the
[Brief description of the drawings]
FIGS. 1A and 1B are explanatory diagrams showing a basic configuration of the present invention, where FIG. 1A shows an operation state of a control system, and FIG. 1B shows a data creation state;
FIG. 2 is a block diagram showing an electrical configuration of a PLC and a programmable display device.
FIG. 3 is an explanatory diagram showing an example of a display screen to be created.
FIGS. 4A and 4B are explanatory diagrams showing a configuration of processing instructions used in a programmable display device, where FIG. 4A is a basic configuration of processing instructions and FIG. 4B is a data input process using a touch panel. The structure of the instruction word, (c) shows the structure of the processing instruction word for graphic display.
FIG. 5 is an explanatory diagram illustrating an example of a control operation using a processing instruction word.
FIG. 6 is an explanatory diagram showing a configuration relating to each function of the display screen creation device and the control program creation device.
FIG. 7 is an explanatory diagram showing a relationship between a control function component and a function program.
FIG. 8 is an explanatory diagram showing a display example of a control program and control function parts on a programming tool.
[Explanation of symbols]
DESCRIPTION OF
11 Target System 12 Programmed
Claims (3)
前記制御用データを、前記ディスプレイ上でラダー図として表現可能とする制御用データ作成手段と、
前記表示用データを、前記ディスプレイ上で、所定単位の表示機能を有する表示機能部品図形の集合として表現可能とする表示用データ作成手段とを備え、更に、
前記ラダー図を、所定単位の制御機能を有する制御機能部品図形の集合として構成可能とするとともに、該制御機能部品図形を前記ターゲットシステム制御用の機能部品図形と、前記プログラム式表示装置制御用の機能部品図形とから構成し、
前記表示機能部品図形と、前記プログラム式表示装置制御用の制御機能部品図形との間に予め関連付けを設けておき、前記表示機能部品図形または前記プログラム式表示装置制御用の制御機能部品図形の何れか一方がディスプレイ上で特定されると、他方も同時に特定可能とするとともに、
前記制御機能部品図形は、前記ラダー図中で、変数値を設定変更可能としたシンボルとして表示されることを特徴とする制御システム用のデータ作成装置。A control system comprising: a control device that performs a predetermined control operation on a target system based on control data; and a programmable display device that performs a display operation corresponding to a control state in the control device based on display data A data creation device capable of creating the control data and the display data in conjunction with each other on a display,
Control data creation means for allowing the control data to be expressed as a ladder diagram on the display;
Display data creating means for allowing the display data to be expressed on the display as a set of display functional part figures having a display function of a predetermined unit ; and
The ladder diagram can be configured as a set of control function part graphics having a control function of a predetermined unit, and the control function part graphics are composed of a functional part diagram for controlling the target system and a program for controlling the programmable display device. Consists of functional parts and figures
The display and functional component figures, the programmable display may be provided in advance associations between a control function component figures for device control, any of the display function component figures or control function component figures of the programmable display device control When either one is specified on the display , the other can be specified at the same time ,
The control function component figure, the data creation apparatus for a control system, wherein the in ladder diagram is displayed as symbols with configurable variable values.
コンピュータを、前記制御用データを前記ディスプレイ上でラダー図として表現可能とする制御用データ作成手段と、前記表示用データを前記ディスプレイ上で所定単位の表示機能を有する表示機能部品図形の集合として表現可能とする表示用データ作成手段として機能させるためのプログラムであり、更に、
前記ラダー図を、所定単位の制御機能を有する制御機能部品図形の集合として構成可能とするとともに、該機能部品図形を前記ターゲットシステム制御用の機能部品図形と、前記プログラム式表示装置制御用の機能部品図形とから構成し、
前記表示機能部品図形と、前記プログラム式表示装置制御用の制御機能部品図形との間に予め関連付けを設けておき、前記表示機能部品図形または前記プログラム式表示装置制御用の制御機能部品図形の何れか一方がディスプレイ上で特定されると、他方も同時に特定可能とするとともに、
前記制御機能部品図形は、前記ラダー図中で、変数値を設定変更可能としたシンボルとして表示されることを特徴とするデータ作成用プログラム。 A control system comprising: a control device that performs a predetermined control operation on a target system based on control data; and a programmable display device that performs a display operation corresponding to a control state in the control device based on display data In the data creation program that enables creation of the control data and the display data in conjunction with each other on a display,
The computer expresses the control data as a ladder diagram on the display as a ladder diagram, and expresses the display data as a set of display functional component figures having a predetermined unit display function on the display. It is a program for causing it to function as display data creation means that can be enabled, and
The ladder diagram can be configured as a set of control function part graphics having a control function of a predetermined unit, and the functional part figure is composed of a functional part figure for controlling the target system and a function for controlling the programmable display device. It consists of part figures and
An association is provided in advance between the display functional component graphic and the control functional component graphic for controlling the programmable display device, and either the display functional component graphic or the control functional component graphic for controlling the programmable display device is used. If one is specified on the display, the other can be specified at the same time,
The data creation program is characterized in that the control function component figure is displayed as a symbol whose variable value can be changed in the ladder diagram .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001312538A JP3797907B2 (en) | 2001-10-10 | 2001-10-10 | Data creation apparatus for control system, data creation program, and recording medium recording the program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001312538A JP3797907B2 (en) | 2001-10-10 | 2001-10-10 | Data creation apparatus for control system, data creation program, and recording medium recording the program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2003122408A JP2003122408A (en) | 2003-04-25 |
| JP3797907B2 true JP3797907B2 (en) | 2006-07-19 |
Family
ID=19131178
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001312538A Expired - Lifetime JP3797907B2 (en) | 2001-10-10 | 2001-10-10 | Data creation apparatus for control system, data creation program, and recording medium recording the program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3797907B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5849546B2 (en) * | 2011-09-06 | 2016-01-27 | 株式会社ジェイテクト | Monitor device for programmable controller |
| JP6314141B2 (en) * | 2013-08-06 | 2018-04-18 | 株式会社アイ・エル・シー | Document creation method and document creation apparatus for embedded software |
| JP6878934B2 (en) * | 2017-02-10 | 2021-06-02 | オムロン株式会社 | Information processing equipment, information processing system, user interface creation method, and user interface creation program |
-
2001
- 2001-10-10 JP JP2001312538A patent/JP3797907B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2003122408A (en) | 2003-04-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20030076355A1 (en) | System and method for associating a block diagram with a user interface element | |
| US7543281B2 (en) | Disabling and conditionally compiling graphical code in a graphical program | |
| US20030234802A1 (en) | Specifying timing and triggering functionality in a graphical program using graphical program nodes | |
| CN105677448B (en) | Online Simulation Method and System of Programmable Controller Based on Web Page | |
| KR100246862B1 (en) | Method and editing system for setting tool button | |
| JP3456692B2 (en) | Data processing device | |
| JP3797907B2 (en) | Data creation apparatus for control system, data creation program, and recording medium recording the program | |
| EP0362392A1 (en) | Pc simulation system | |
| JP3479222B2 (en) | Display screen creation support device for a programmable display device | |
| JP2003131709A (en) | Control display system, control program and recording medium storing the program | |
| JPH1185446A (en) | Method for displaying trend graph | |
| JPH09292942A (en) | Screen definition device for console panel | |
| JP2000137508A (en) | Controller | |
| JPH04370806A (en) | Programmable control and its display method, display method, and programming device | |
| JP5492573B2 (en) | Device / PLC simulator device, method, and program having trace function | |
| JP4476223B2 (en) | Screen data creation device, screen data editing method, and screen data editing program | |
| JP3585158B2 (en) | Operation screen creation method for programmable display device | |
| JP3562783B2 (en) | How to debug a programmable display device | |
| JP3481436B2 (en) | File management system | |
| JP3369936B2 (en) | Display screen debug device for programmable display device | |
| JP3470995B2 (en) | Display screen creation device for programmable display device | |
| JP3935670B2 (en) | Display screen creation device for programmable display device | |
| JP2003044277A (en) | Program development support device, program development support program and recording medium having the same program recorded thereon | |
| JP2006243841A (en) | PLC tool device | |
| US20230247115A1 (en) | Protocol driver creating device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20051027 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20051101 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051222 |
|
| 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: 20060418 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 3797907 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090428 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100428 Year of fee payment: 4 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110428 Year of fee payment: 5 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120428 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130428 Year of fee payment: 7 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130428 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140428 Year of fee payment: 8 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| 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 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| 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 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |