JP2005031835A - Editor device, its program, and recording medium recording it - Google Patents

Editor device, its program, and recording medium recording it Download PDF

Info

Publication number
JP2005031835A
JP2005031835A JP2003194079A JP2003194079A JP2005031835A JP 2005031835 A JP2005031835 A JP 2005031835A JP 2003194079 A JP2003194079 A JP 2003194079A JP 2003194079 A JP2003194079 A JP 2003194079A JP 2005031835 A JP2005031835 A JP 2005031835A
Authority
JP
Japan
Prior art keywords
screen
display
data
editor
display 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.)
Pending
Application number
JP2003194079A
Other languages
Japanese (ja)
Inventor
Kazuya Furusato
和也 古里
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 JP2003194079A priority Critical patent/JP2005031835A/en
Publication of JP2005031835A publication Critical patent/JP2005031835A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an editor device for activating an object displayed on a display screen of a programmable display into a selected condition, in which the object can be dragged, and provide a program for the editor device and a storage medium storing the program. <P>SOLUTION: A drawing editor 32 arranges a plurality of objects to creates the display screen of the programmable display 1. A function part 32a in the drawing editor 32 activates the object displayed on the display screen of the display 15 into a selected condition, in which the object can be dragged on the display screen. A screen switching setting part 32b in the drawing editor 32 sets a screen switch area so that the display screen is switched when the object activated by the function part 32a is dragged to the screen switch area on the display screen of the display 15. The display screen created by the drawing editor 32 is downloaded as screen data to the programmable display 1. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、表示制御装置における表示画面を作成するエディタ手段と、エディタ手段により作成された表示画面を、画面データとして表示制御装置に出力する出力手段とを有するエディタ装置、そのプログラム、および、それが記録された記録媒体に関するものである。
【0002】
【従来の技術】
プログラマブル・ロジック・コントローラ(以降、PLCと称する)などと呼ばれる産業用制御装置は、シーケンス制御をはじめとする各種制御を実現するために、ベルトコンベアー式の自動組付機など種々のターゲットシステムを制御する制御装置として広く使用されている。このようなPLCへの制御指示を行うための操作盤、PLCの稼動状況を示す表示灯などに代わって、近年では、HMI(Human Machine Interface)機器としてのプログラマブル表示器が普及している。
【0003】
プログラマブル表示器は、ドット表示画面、操作入力スイッチ、PLCとの間のインターフェース、画面上での操作入力のような制御のためのプログラムメモリなどを備えた表示制御装置である。一般に、プログラマブル表示器は、グラフィック表示を行うので、操作盤、スイッチ、表示灯などの機能を備えることができる他、デバイスの稼動状況や作業指示のような管理のための各種モニタ、機器に対する設定値を入力する端末としての機能を備えている。
【0004】
また、近年では、デバイスを接続するための入出力ユニットなどを搭載することによってPLCの制御機能を備えたプログラマブル表示器も登場してきている。
【0005】
このようなプログラマブル表示器で表示される表示画面は、画面作成ソフトウェア(作画エディタ)を用いてユーザ独自で作成できるようになっている。画面作成に際しては、ユーザが、例えば、パーソナルコンピュータなどにおいて作画ソフトによって提供されるスイッチ、ランプ、テンキー、メータ表示器、グラフ表示器などが画像としてデザイン化されたオブジェクト、所望形状の画像、数値などを所望の位置に動的に表示させるためのタグ、描画機能などを用いて所望の表示画面を作成する。
【0006】
作成された表示画面は、画面データとしてプログラマブル表示器に転送されて記憶される。そして、PLCの稼動時には、PLCに接続されたデバイスの状態に応じて、プログラマブル表示器の表示画面に表示される各オブジェクトが動的に変化する。
【0007】
ところで、ユーザにおいて、プログラマブル表示器の表示画面に表示されるオブジェクトの移動を所望する場合、予め作画ソフト上でオブジェクトが移動する経路(レール)をタグにより設定する必要がある。設定した画面データは、上記と同様、プログラマブル表示器に転送されて記憶される。そして、PLCに接続されたデバイスの状態に応じて、プログラマブル表示器の表示画面に表示されるオブジェクトが、上記作画ソフト上で設定した経路に従って移動する。このようなオブジェクトの経路の移動については、例えば、特許文献1に開示されている。
【0008】
【特許文献1】
特開平2−150720号公報(公開日:平成2年6月11日)
【0009】
【発明が解決しようとする課題】
しかしながら、作画ソフト上で作成した表示画面は、画面データとしてプログラマブル表示器に転送されて記憶されると、上記のように、予め作画ソフト上でオブジェクトが移動する経路をタグにより設定する場合を除き、プログラマブル表示器の表示画面に表示されるオブジェクトの移動を行うことはできない。したがって、プログラマブル表示器の表示画面のレイアウトに変更を生じた場合、再度、作画ソフト上で表示画面を作成し、画面データとしてプログラマブル表示器に転送する必要があった。このため、ユーザにおいて手間がかかるという問題があった。
【0010】
また、作画ソフト上で経路をタグにより設定した場合であっても、設定した経路以外の経路の移動を行うことができず、作画ソフト上の経路の設定では、オブジェクトを移動させるための自由度が少ないという問題があった。
【0011】
本発明は、上記の問題点に鑑みてなされたものであり、表示制御装置の表示画面上に表示されたオブジェクトを、ドラッグ可能な選択状態となるようにオブジェクトを機能付けるエディタ装置、そのプログラム、および、それが記録された記録媒体を提供することを目的としている。
【0012】
【課題を解決するための手段】
請求項1の発明に係るエディタ装置は、上記の課題を解決するために、複数のオブジェクトを配置することにより、表示制御装置における表示画面を作成するエディタ手段と、該エディタ手段により作成された表示画面を、画面データとして表示制御装置に出力する出力手段とを有するエディタ装置において、上記出力手段により画面データが表示制御装置に出力された場合、表示制御装置の表示画面上に表示されたオブジェクトが、該表示画面上でドラッグ可能な選択状態となるように、上記エディタ手段でオブジェクトを機能付ける機能手段を備えたことを特徴としている。
【0013】
上記の構成によれば、エディタ手段は、複数のオブジェクトを配置することにより、表示制御装置における表示画面を作成する。ここで、オブジェクトとは、スイッチ、ランプ、テンキー、メータ表示器、グラフ表示器などの表示画面のベース画面上に配置されるパーツや図形を言う。機能手段は、表示制御装置の表示画面上に表示されたオブジェクトが、表示画面上でドラッグ可能な選択状態となるように、エディタ手段でオブジェクトを機能付ける。そして、出力手段は、エディタ手段により作成および機能付けされた表示画面を、画面データとして表示制御装置に出力する。
【0014】
これにより、例えばユーザが、表示制御装置の表示画面上に表示されたオブジェクトを操作すると、このオブジェクトがドラッグ可能な選択状態となるので、表示制御装置の表示画面上に、このオブジェクトをドラッグ操作で自由に移動させることができる。それゆえ、表示制御装置の表示画面のレイアウトに変更が生じた場合であっても、再度、エディタ手段で表示画面を作成し、出力手段で表示制御装置に画面データを出力する必要がない。
【0015】
請求項2の発明に係るエディタ装置は、請求項1記載の発明の構成において、上記機能手段により機能付けられたオブジェクトを、表示制御装置の表示画面における画面切り替え領域までドラッグすると、表示画面が切り替わるように、上記エディタ手段で画面切り替え領域を設定する画面切替設定手段を備えたことを特徴としている。
【0016】
上記の構成によれば、エディタ手段で複数の表示画面を作成する一方、画面切替設定手段は、機能手段により機能付けられたオブジェクトを、表示制御装置の表示画面における画面切り替え領域までドラッグすると、表示画面が切り替わるように、エディタ手段で画面切り替え領域を設定する。例えば、オブジェクトを画面切り替え領域までドラッグすると、第一の表示画面からユーザの所望する第二の表示画面に切り替わるごとくである。なお、表示画面の切り替え先の表示画面も設定できる。
【0017】
これにより、例えばユーザが、表示制御装置の表示画面上に表示されたオブジェクトを、ドラッグ操作により画面切り替え領域までドラッグすると、表示制御装置の表示画面が切り替わる。それゆえ、同一のオブジェクトを複数の表示画面に使用することができる。
【0018】
ところで、上記エディタ装置は、ハードウェアのみで実現してもよいが、コンピュータがプログラムを実行することで実現してもよい。具体的には、請求項3記載のプログラムは、請求項1または2記載の各手段を動作させるコンピュータ用のプログラムである。なお、請求項4記載の記録媒体は、請求項3記載のプログラムが記録されている記録媒体である。
【0019】
【発明の実施の形態】
本発明の実施の一形態について図1ないし図12に基づいて説明すれば、以下の通りである。
【0020】
図1に示すように、本実施の形態に係る表示制御装置としてのプログラマブル表示器1は、CPU11、メモリ部12、CF(Compact Flash(登録商標))カードドライバ13、VRAM14、ディスプレイ15、グラフィックコントローラ16、タッチパネル17、タッチパネルコントローラ18、通信コントローラ19およびメンテナンスポート20を備えている。このプログラマブル表示器1は、後述するデバイス4・・・の状態を取得してディスプレイ15の表示画面に表示するとともに、デバイス4・・・の制御指示を与えるためのディスプレイ15上での入力を受け入れるタッチパネル17を備えている。
【0021】
メモリ部12は、DRAM(Dynamic Random Access Memory)12a、FEPROM(Flash Erasable and Programmable ROM)12b、SRAM(Static Random Access Memory)12cなどのメモリを含んでいる。DRAM12aは、主に、表示制御などの演算処理時の作業用に用いられる他、PLC2との間でやり取りされるデータの一時的な記録に用いられる。FEPROM12bは、書き替え可能な読み出し専用のフラッシュメモリであり、一般のパーソナルコンピュータにおけるハードディスクドライブの役割を果たす。フラッシュメモリは、可動部を持たず、かつ衝撃に強いので、劣悪な周囲環境でも安定して動作する。SRAM12cは、PLC2から得たデータをロギングしたり、PLC2に与える設定値データ(レシピデータ)を記憶したりするために用いられる。
【0022】
また、上記のFEPROM12bは、図2に示すように、表示制御システムプログラムと、通信プログラムと、作画データとをそれぞれ格納するエリアを有している。
【0023】
表示制御システムプログラムは、画像表示制御を行うための基本機能を実現するためのプログラムである。この表示制御システムプログラムについては、後に詳しく説明する。
【0024】
通信プログラムは、PLC2との間でデータをやり取りする通信を行うためのプログラムであり、通信プロトコルを含んでいる。通信プロトコルは、PLC2との通信処理で用いられるプロトコルであり、PLC2の機種(メーカ)に応じて固有に定められている。この通信プロトコルには、PLC2へのデータの読み出しを指示するコマンドコードが含まれている。このコマンドコードは、PLC2の制御機能に対応付けられているアドレスと組み合わされることによって、所望の制御機能についてのデータをPLC2に送信することができる。
【0025】
作画データは、ディスプレイ15の表示画面に表示すべき単位画面のデータ(画面データ)の集まり(1または複数画面により構成される)であり、プロジェクトファイルとして管理される。画面データは、各単位画面についてのベース画面やパーツ(オブジェクト)のデータおよび各オブジェクトに付与された後述する処理指示語Wなどを含んでいる。画面データは、後述する作画エディタ32によって作成されて、FEPROM12bにダウンロードされている。この画面データについては、後に詳しく説明する。
【0026】
図3に示すように、画面データに含まれる処理指示語(タグ)Wは、ベース画面上で実行されるべき事象毎に作成されている。この処理指示語Wは、基本的には、表示制御動作を実行すべきベース画面のファイル番号Fと、このベース画面上で実行されるべき動作内容を特定する事象名Tと、実行事象毎に参照される1または複数のデータからなる参照情報Iとを一組として備えている。
【0027】
画面データは、ベース画面データ、画面リンクデータ、オブジェクトデータなどを含んでいる。
【0028】
ベース画面データは、背景画面となるベース画面のデータであって、ベース画面上にパーツや図形などのオブジェクトが配される。
【0029】
画面リンクデータは、関連する画面間を互いに関連付けるデータであり、切り替え用のスイッチを含む画面における、その切り替え用のスイッチの座標データを含んでいる。また、画面リンクデータは、当該切り替え用スイッチに代えてまたは加えて、上記ベース画面上の画面切り替え領域の領域データを含んでいる。
【0030】
オブジェクトデータは、ベース画面上に表示させるスイッチや数値表示器などの機器やグラフなどの動的変化をベース画面上の任意の位置で表現させるための動画機能が画像化された図形などとして表現される。この動画機能は、上記の処理指示語Wによって実現され、ユーザによって任意に設定できる他、ユーザが扱いやすいように、タッチスイッチ、ランプ、各種表示器などの画像化された基本的な図形として予め用意されている。
【0031】
表示制御システムプログラムは、画面データの表示、画面への各種のデータの設定、設定されたデータのPLC2への送信およびPLC2から受信されたデータの画面への表示をCPU11に実行させるためのプログラムである。この表示制御システムプログラムは、上記のベース画面のデータを用いて、オブジェクトデータの表示を実行するとともに、画面リンクデータを用いて、画面切り替えのためのユーザの操作に応じて、互いに関連するベース画面の表示の切り替えを行う。さらに、表示制御システムプログラムは、データ表示機能を実現するために、受信したPLC2からのデータをデータ表示用のオブジェクト(メータ表示器、数値表示器、グラフ表示器など)を用いて、所定のベース画面上に表示させる。
【0032】
後述する作画エディタ32で作成された画面データは、プログラマブル表示器1において解読可能なファイル形式(メモリファイル)に変換された後、前述の通信プログラムや表示制御システムプログラムとともに転送されてFEPROM12bにダウンロードされる。メモリファイルにおいては、図4に示すように、通信プログラムや表示制御システムプログラムを含むプログラムや、作画データ(画面データ)が先頭位置から格納されるアドレスがプログラマブル表示器1の機種に応じて予め定められている。画面データは、複数の単一画面のデータ(画面データB1〜Bn)から構成されている。
【0033】
PLC2内のメモリには、アドレスを指定することにより、ワードデバイスおよびビットデバイスが格納場所を特定可能に設定されている。ワードデバイスは、入出力されるデータが数値のようなワードデータに対して設定され、ビットデバイスは、オン・オフ状態のようなビットデータに対して設定される。このような設定により、PLC2内の任意のワードデバイスまたはビットデバイスをアクセスするだけで入出力機器からなるデバイス4・・・を制御し、またはその動作状態に関する情報を個別に取り出すことができる。
【0034】
表示制御システムプログラムは、上記のビットデバイスまたはワードデバイスが示す状態情報のうち、必要な情報を適時にメモリ部12に読み込む一方、上記の各処理指示語Wを繰り返して読み出して各処理指示語Wの事象名Tで特定される内容の動作をPLC2側の状態情報を参照しながら実行する。これによって、ビットデバイスまたはワードデバイスの状態の変化に応じて変化する表示動作が実行される。
【0035】
また、表示制御システムプログラムは、PLC2に送信すべき設定値データを受け取ると、通信コントローラ19にその送信を指示する。通信コントローラ19は、指定されたPLC2に設定値データを送信する。また、表示制御システムプログラムは、通信コントローラ19によって受信されたPLC2からのデータを受け取って、必要に応じて画面上に表示させる。
【0036】
上記の表示制御システムプログラムは、パッケージソフトウェアなどのプログラムメディアの形態で提供可能なソフトウェアであって、例えば、プログラマブル表示器1と分離可能な記録媒体に記録されている。
【0037】
上記のプログラムメディアは、磁気テープやカセットテープなどのテープ系、フロッピディスクやハードディスクなどの磁気ディスク系、CD−ROM、MO、MD、DVDなどの光ディスク系、ICカード(メモリカードを含む)、光カードなどのカード系が好適である。その他、上記のプログラムメディアは、マスクROM、EPROM、EEPROM、フラッシュROMなどによる半導体メモリを含めた固定的にプログラムを担持する媒体であってもよい。
【0038】
CPU11は、前述の表示制御システムプログラムにしたがって、プログラマブル表示器1の各部の動作を制御する。また、CPU1は、後述するメンテナンスポート18を介して後述するコンピュータ装置3との通信を制御する機能を有しており、作画エディタ32からの画面データを受け取るとFEPROM12bに格納する。
【0039】
CFカードドライバ13は、CFカード21に対してデータの書き込みおよび読み出しを行う装置である。プログラマブル表示器1において、CFカード21は、FEPROM12bに記憶された画面データをバックアップする記憶媒体として用いられる。記憶媒体としては、他のメモリカードや半導体メモリ以外の媒体であってもよいが、小型であり、かつ大記憶容量を有するCFカード21が好適である。また、CFカードドライバ13は、プログラマブル表示器1に内蔵されていてもよいが、外部装置としてプログラマブル表示器1に接続可能なメモリローダなどで構成されていてもよい。このような外部接続可能なCFカードドライバ13を用いることによって、小型のプログラマブル表示器1内の画面データをCFカード21に容易にバックアップすることができる。
【0040】
CFカード21には、図4に示すデータ構造と同じ構造でFEPROM12bのデータがバックアップされている。ただし、FEPROM12bに記憶されたデータは、そのままでは、CFカード21に書き込めないので、メモリファイルの形式からバックアップファイルの形式に変換された後、CFカード21に書き込まれる。
【0041】
VRAM14は、ディスプレイ15に表示される画面のイメージを一時的に保持するメモリであり、FEPROM12bからの画面データのイメージを水平方向に表示される順にドットデータとして格納している。
【0042】
ディスプレイ15は、液晶パネルやELパネルのような平板型表示素子によって構成されている。なお、ここでは、ディスプレイ15として、X=640およびY=480のドットタイプのディスプレイが使用されている。グラフィックコントローラ16は、VRAM14に展開された画面のイメージを、ディスプレイ15の表示画面に描画するドライバソフトウェアである。タッチパネル17は、ディスプレイ15の表示画面上で入力を行うために設けられており、アナログ抵抗膜式タッチパネルなどが好適である。タッチパネルコントローラ18は、タッチパネル17の出力電圧を入力位置情報に変換してCPU11に出力する。上記のディスプレイ15およびタッチパネル17によって、表示パネル6が構成される。
【0043】
通信コントローラ19は、通信ケーブル(例えばRS−232C)を介してPLC2との間でデバイス4・・・の制御や監視に関するデータなどの転送やPLC2の出力データの取り込みを制御するインターフェースである。
【0044】
メンテナンスポート20は、後述するコンピュータ装置3との間の通信を行うための通信ポートであり、コンピュータ装置3からプログラマブル表示器1への画面データの転送に用いられる。メンテナンスポート20とコンピュータ装置3の後述するインターフェース部39との間は、転送ケーブル7によって接続されており、この転送ケーブル7を介して画面データが転送される。
【0045】
続いて、コンピュータ装置3について説明する。
【0046】
コンピュータ装置3は、パーソナルコンピュータなどの汎用コンピュータによって構成されている。このコンピュータ装置3は、図1に示すように、CPU31、作画エディタ32、画面データベース33、メモリ部34、ディスプレイ35、入力装置36、外部記憶装置37、CFカードドライバ38およびインターフェース部(図中、I/F)39を備えている。
【0047】
CPU31は、コンピュータ装置3にインストールされているOS(オペレーティングシステム)上で作画エディタ32を含む各種のアプリケーションソフトウェアを動作させる際の各部の制御や演算処理を行う。
【0048】
メモリ部34は、RAM、ROMなどのメモリを備えており、固定データの格納、一時的なデータ記憶、CPU31の演算処理時における作業エリアの提供といった役割を果たしている。
【0049】
作画エディタ32は、プログラマブル表示器1が、デバイス4・・・の稼動状況や作業指示のような管理のための各種のモニタ、デバイス4・・・に対する設定値を入力する端末としての機能を備えるように、ディスプレイ15に表示させる画面を作成するための画面作成ソフトウェアであり、機能部32aおよび画面切替設定部32bを有している。
【0050】
機能部32aは、プログラマブル表示器1のディスプレイ15の表示画面上に表示されたオブジェクトを、表示画面上でドラッグ可能な選択状態となるようにオブジェクトを機能付けるものであって、例えば、図5に示すような機能設定画面8を提供する。この機能設定画面8は、例えば、ユーザの所望するオブジェクトを選択し、オブジェクトの編集画面(プロパティ)などを選択することにより開くことができる。ここでは、オブジェクトとしてランプLP2が選択されている。
【0051】
機能設定画面8は、クリップ状態(選択状態)の設定を選択する部分を有しており、「設定する」および「設定しない」がラジオボタンとして用意されている。「設定する」を選択すると、ディスプレイ15の表示画面上に表示されたランプLP2は、通常は、例えばデバイス4の状態に合わせて点灯するランプとして機能するが、ユーザがランプLP2を操作した場合、表示画面上でドラッグ可能な選択状態となるように機能する。また、「設定しない」を選択すると、ディスプレイ15の表示画面上に表示されたランプLP2は、ドラッグ操作をすることはできず、通常のランプとして機能する。
【0052】
なお、上記機能設定画面8を提供するのに代えてあるいは加えて、ディスプレイ15の表示画面上に表示されたオブジェクトを例えばダブルクリックすると、ドラッグ可能な選択状態となるように、オブジェクトを機能付けてもよい。この場合、ダブルクリックの間隔は、機能部32aにより提供される設定画面で設定することができる。また、ディスプレイ15の表示画面上に表示された特定のスイッチを操作すると、表示画面上における全てのオブジェクトがドラッグ可能な選択状態となるように機能付けるスイッチを設けてもよい。要するに、ディスプレイ15の表示画面上に表示されたオブジェクトを機能付けるものであれば、いかなる手段を採用してもよい。
【0053】
画面切替設定部32bは、上記機能部32aにより機能付けられたオブジェクトを、ディスプレイ15の表示画面における画面切り替え領域までドラッグ操作をすると、表示画面が切り替わるように、画面切り替え領域を設定するものであって、例えば、図6に示すような画面切替設定画面9を提供する。この画面切替設定画面9は、画面の切り替え先を設定する部分と、画面の切り替え領域を設定する部分とからなる。
【0054】
画面の切り替え先を設定する部分は、現在の画面(ここでは、画面番号1)からの切り替え先の画面を設定するものであって、入力欄の右にあるスクロールバーを操作することにより、所望の画面番号を入力欄に設定することができる。ここでは、切り替え先の画面として画面番号2が設定されている。
【0055】
画面の切り替え領域を設定する部分は、始点であるX座標およびY座標を入力する入力欄と、終点であるX座標およびY座標を入力する入力欄とから構成される。すなわち、ディスプレイ15の表示画面の左上をX=0およびY=0の原点とするとともに、横軸をX軸、縦軸をY軸としている。ここでは、始点として、X=10およびY=470、終点として、X=630およびY=480が設定されている。なお、画面の切り替え先を設定する部分および画面の切り替え領域を設定する部分は、複数設けられていてもよい。この場合、例えば、切り替え先の画面番号が相違するにもかかわらず、画面の切り替え領域が重複して設定された場合、ユーザに注意を促す表示をする。
【0056】
コンピュータ装置3は、作画エディタ32を備えることによってユーザ画面の作成および編集を行うためのエディタ装置として機能する。
【0057】
作画エディタ32は、パッケージソフトウェアまたはオーダーメイドソフトウェアとして、前述の表示制御システムプログラムと同様、プログラムメディアの形態で提供可能なソフトウェアであって、例えば、コンピュータ装置3と分離可能な記録媒体5に記録されている。そして、作画エディタ32は、記録媒体5からコンピュータ装置3にインストールされることによってエディタ機能を発揮することができる。
【0058】
画面データベース33は、作画エディタ32で作成された画面データをプロジェクトファイルとして保存するデータベースである。画面データベース33に格納される画面データは、入力されたパーツなどについての図形データである。上記の図形データは、グラフィックデータ、テキストデータおよびオブジェクトデータを含んでいる。グラフィックデータは、線、円、楕円、三角形、四角形、塗り込み図形などの図形データである。テキストデータは、文字や記号などによって構成される画面データのタイトルや文章などを含んでいる。オブジェクトデータは、予め作画エディタ32に用意されている前述のオブジェクトに関するデータである。
【0059】
ディスプレイ35は、CRT、平板型表示素子(例えば、LCDやELパネル)などによって構成される。入力装置36は、キーボード、マウスなどの入力操作を行うための装置であり、特に、GUI(Graphical User Interface)環境上で動作する作画エディタ32での入力作業にはマウスなどのポインティングデバイスが適している。
【0060】
外部記憶装置37は、ハードディスク装置などの磁気ディスクドライブ、CD−ROMドライブなどの光ディスクドライブ、ICカードなどのメモリカードドライブといった装置である。この外部記憶装置37は、少なくとも、上記の記録媒体5に記録されたプログラムなどの情報を読み出すことができる装置を含んでいる。
【0061】
CFカードドライバ38は、前述のCFカードドライバ13と同様な装置であって、CFカード21に対してデータの書き込みおよび読み出しを行う。このCFカードドライバ38も外部装置としてコンピュータ装置3に接続される構成であってもよい。
【0062】
インターフェース部39は、プログラマブル表示器1との間でデータ通信を行う入出力部である。作画エディタ32で作成された画面データは、このインターフェース部39から前述の転送ケーブル7を介してプログラマブル表示器1に転送される。なお、上記インターフェース部39が、特許請求の範囲に記載の出力手段に対応している。
【0063】
上記のような構成において、コンピュータ装置3からプログラマブル表示器1への画面データの転送について、図7のフローチャートを参照しながら説明する。
【0064】
図7に示すように、ステップ1(以下、S1のように略称する)において、コンピュータ装置3の作画エディタ32を起動させることにより、ユーザ独自の画面(ユーザ画面もしくは画面データ)を作成する。具体的には、ベース画面上に、スイッチ、ランプ、テンキー、各種表示器(例えば、数値表示器、メータ表示器およびグラフ表示器)などのオブジェクトを配置することにより、ユーザ所望の画面を作成する。なお、画面データは、1画面毎にファイルとして管理されている。
【0065】
そして、ユーザにおいて、プログラマブル表示器1のディスプレイ15の表示画面上でオブジェクトのドラッグ操作を所望する場合、S2に移行することより、例えば、図5に示すような機能設定画面8で所望のオブジェクトを機能付ける。ここでは、ランプLP2のオブジェクトを、ディスプレイ15の表示画面上でドラッグ操作できるようにクリップ状態(選択状態)の設定を行っている。
【0066】
さらに、ユーザにおいて、ディスプレイ15の表示画面の画面切り替え領域で、表示画面の切り替えを所望する場合、S3に移行することより、例えば、図6に示すような画面切替設定画面9で、画面切り替え領域を設定する。ここでは、画面番号1の表示画面の始点X=10およびY=470から終点X=630およびY=480まで囲まれた領域が画面切り替え領域であって、この領域に、上記機能設定画面8で機能付けられたオブジェクト(ランプLP2)をドラッグ操作すると、画面番号2の表示画面に切り替わる。
【0067】
上記S1ないしS3で示すような画面データの作成および設定を行った後、S4に移行し、ユーザの指示によりこの画面データをプログラマブル表示器1に転送する。転送された画面データは、プログラマブル表示器1のFEPROM12bにダウンロードされる。
【0068】
次に、上記プログラマブル表示器1にダウンロードされた画面データが、ディスプレイ15の表示画面上に表示された場合、表示画面上に表示されたオブジェクトのドラッグ操作および画面の切り替え操作について説明する。
【0069】
ディスプレイ15の表示画面上には、上記作画エディタ32により作成された画面が表示されている。例えば、ディスプレイ15の表示画面には、図8に示すように、背景画面となるベース画面B、および、このベース画面B上にランプLP1、LP2、スイッチSW1、SW2およびメータ表示器CTなどのオブジェクトが配置されている。ここでは、ランプLP2は、上記機能設定画面8により機能付けられているので、プログラマブル表示器1のユーザがランプLP2を操作すると、図9に示すように、ランプLP2は、ドラッグ可能な選択状態となる。この状態で、ユーザがランプLP2をディスプレイ15の下方にドラッグ操作すると、図10に示すように、ランプLP2は、ユーザの操作に沿って下方にドラッグする。
【0070】
そして、図11に示すように、ランプLP2を、ディスプレイ15の表示画面の画面切り替え領域Aまでドラッグ操作をすると、画面番号1(ベース画面B1)におけるディスプレイ15の表示画面は、画面番号2(ベース画面B2)におけるディスプレイ15の表示画面へと切り替わる。そして、画面番号2におけるディスプレイ15の表示画面においても、ユーザの操作により、ランプLP2を自由にドラッグ操作することができる。
【0071】
なお、上記では、画面番号1から画面番号2におけるディスプレイ15の表示画面の切り替えについて説明したが、画面番号1におけるディスプレイ15の表示画面に、画面番号2ないし9における画面切り替え領域をそれぞれ設定することにより、例えば、図12に示すように、八方向自在に表示画面を切り替えるように構成することもできる。また、例えば、画面番号2におけるディスプレイ15の表示画面に、画面番号3への画面切り替え領域を設定すると、画面番号1、画面番号2、画面番号3、画面番号1・・・と表示画面のループを形成することも可能である。
【0072】
以上に述べたように、本実施の形態に係る表示制御システムは、例えばユーザが、プログラマブル表示器1のディスプレイ15の表示画面上に表示されたオブジェクトを操作すると、このオブジェクトがドラッグ可能な選択状態となるので、ディスプレイ15の表示画面上に、このオブジェクトをドラッグ操作で自由に移動させることができる。それゆえ、ディスプレイ15の表示画面のレイアウトに変更が生じた場合であっても、再度、作画エディタ32で表示画面を作成し、プログラマブル表示器1に画面データを転送する必要がない。したがって、ユーザにおける手間が軽減されると共に、オブジェクトを移動させるための自由度が向上する。
【0073】
また、例えばユーザが、ディスプレイ15の表示画面上に表示されたオブジェクトを、ドラッグ操作により画面切り替え領域までドラッグすると、ディスプレイ15の表示画面が切り替わる。それゆえ、同一のオブジェクトを複数の表示画面に使用することができる。したがって、プログラマブル表示器1が用いられる生産現場に適応した表示画面を構築することができる。
【0074】
なお、本実施の形態では、図10に示すように、ユーザの操作によりランプLP2を下方にドラッグ操作をする例を説明したがこれに限らず、上方、左右もしくは斜めにもドラッグ操作をすることができる。要するに、ユーザの所望する位置に自由にドラッグ操作をすることができる。
【0075】
また、本実施の形態では、図12に示すように、八方向自在に画面を切り替える例を説明したがこれに限らず、四方向、二方向、十方向など、ユーザの使用状況に応じて自由に画面を切り替えることができるように、画面切り替え領域を設定することができる。
【0076】
さらに、本実施の形態では、プログラマブル表示器1がPLC2と接続される構成を説明したが、プログラマブル表示器1に、デバイス4を直接接続するための入出力ユニットなどを搭載することによってPLC2の制御機能を備えたプログラマブル表示器1を用いてもよい。
【0077】
すなわち、上記実施例の説明は、本発明を説明するためのものであって、特許請求の範囲に記載の発明を限定し、あるいは、減縮するように解すべきではない。また、本発明の各構成は上記実施例に限らず、特許請求の範囲に記載の権利範囲内で種々の変形が可能であることは勿論である。
【0078】
【発明の効果】
以上のように、請求項1の発明に係るエディタ装置は、複数のオブジェクトを配置することにより、表示制御装置における表示画面を作成するエディタ手段と、該エディタ手段により作成された表示画面を、画面データとして表示制御装置に出力する出力手段とを有するエディタ装置において、上記出力手段により画面データが表示制御装置に出力された場合、表示制御装置の表示画面上に表示されたオブジェクトが、該表示画面上でドラッグ可能な選択状態となるように、上記エディタ手段でオブジェクトを機能付ける機能手段を備えている構成である。
【0079】
これにより、例えばユーザが、表示制御装置の表示画面上に表示されたオブジェクトを操作すると、このオブジェクトがドラッグ可能な選択状態となるので、表示制御装置の表示画面上に、このオブジェクトをドラッグ操作で自由に移動させることができる。それゆえ、表示制御装置の表示画面のレイアウトに変更が生じた場合であっても、再度、エディタ手段で表示画面を作成し、出力手段で表示制御装置に画面データを出力する必要がない。したがって、ユーザにおける手間が軽減されると共に、オブジェクトを移動させるための自由度が向上するという効果を奏する。
【0080】
請求項2の発明に係るエディタ装置は、請求項1記載の発明の構成において、上記機能手段により機能付けられたオブジェクトを、表示制御装置の表示画面における画面切り替え領域までドラッグすると、表示画面が切り替わるように、上記エディタ手段で画面切り替え領域を設定する画面切替設定手段を備えた構成である。
【0081】
これにより、例えばユーザが、表示制御装置の表示画面上に表示されたオブジェクトを、ドラッグ操作により画面切り替え領域までドラッグすると、表示制御装置の表示画面が切り替わる。それゆえ、同一のオブジェクトを複数の表示画面に使用することができる。したがって、表示制御装置が用いられる生産現場に適応した表示画面を構築することができるという効果を奏する。
【0082】
ところで、上記エディタ装置は、ハードウェアのみで実現してもよいが、コンピュータがプログラムを実行することで実現してもよい。具体的には、請求項3記載のプログラムは、請求項1または2記載の各手段を動作させるコンピュータ用のプログラムで実現できる。なお、請求項4記載の記録媒体は、請求項3記載のプログラムが記録されている記録媒体である。
【図面の簡単な説明】
【図1】本発明の一実施形態に係るプログラマブル表示器を含む表示制御システムの構成を示すブロック図である。
【図2】上記プログラマブル表示器のFEPROMに格納されるプログラムおよびデータを示す図である。
【図3】上記プログラマブル表示器の表示画面で表示される画面のデータに含まれる処理指示語の基本的フォーマットを示す図である。
【図4】上記プログラマブル表示器におけるFEPROMおよびCFカードに記憶されるファイルの構造を示す図である。
【図5】上記表示制御システムにおけるコンピュータ装置の作画エディタの機能部が提供する機能設定画面を示す図である。
【図6】上記作画エディタの画面切替設定部が提供する画面切替設定画面を示す図である。
【図7】上記コンピュータ装置から上記プログラマブル表示器への画面データ転送の処理の手順を示すフローチャートである。
【図8】上記プログラマブル表示器のディスプレイの表示画面に表示される画面の一例を示す図である。
【図9】上記ディスプレイの表示画面に表示される画面において、ユーザの操作により、ランプがドラッグ可能な選択状態となっていることを示す図である。
【図10】上記ランプを、ユーザの操作により、ディスプレイの下方にドラッグ操作をしていることを示す図である。
【図11】上記ランプを、画面番号1におけるディスプレイの表示画面に設定された画面切り替え領域までドラッグ操作をすることにより、画面番号1における表示画面から画面番号2における表示画面へと切り替え操作をしていることを示す図である。
【図12】画面番号1の表示画面から八方向に自在に画面の切り替え操作ができることを示す図である。
【符号の説明】
1 プログラマブル表示器(表示制御装置)
3 コンピュータ装置(エディタ装置)
32 作画エディタ(エディタ手段)
32a 機能部
32b 画面切替設定部
39 インターフェース(出力手段)
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an editor device having an editor means for creating a display screen in the display control device, and an output means for outputting the display screen created by the editor means as screen data to the display control device, its program, and Relates to a recording medium on which is recorded.
[0002]
[Prior art]
Industrial control devices called programmable logic controllers (hereinafter referred to as PLCs) control various target systems such as belt conveyor type automatic assembly machines in order to realize various controls including sequence control. It is widely used as a control device. In recent years, programmable displays as HMI (Human Machine Interface) devices have become widespread in place of operation panels for giving control instructions to the PLC and indicator lamps indicating the operating status of the PLC.
[0003]
The programmable display is a display control device including a dot display screen, an operation input switch, an interface with the PLC, a program memory for control such as operation input on the screen, and the like. In general, programmable displays display graphics, so they can be equipped with functions such as operation panels, switches, and indicator lights, as well as settings for various monitors and devices for management such as device operating status and work instructions. It has a function as a terminal for inputting values.
[0004]
In recent years, a programmable display device having a PLC control function by mounting an input / output unit for connecting devices has also appeared.
[0005]
The display screen displayed on such a programmable display can be created by the user by using screen creation software (drawing editor). When creating a screen, for example, an object in which a switch, a lamp, a numeric keypad, a meter display, a graph display, or the like provided by the drawing software in a personal computer is designed as an image, an image of a desired shape, a numerical value, etc. A desired display screen is created using a tag, a drawing function, and the like for dynamically displaying the image at a desired position.
[0006]
The created display screen is transferred to the programmable display device as screen data and stored. When the PLC is in operation, each object displayed on the display screen of the programmable display changes dynamically according to the state of the device connected to the PLC.
[0007]
By the way, when the user desires to move the object displayed on the display screen of the programmable display device, it is necessary to set in advance a path (rail) on which the object moves on the drawing software using a tag. The set screen data is transferred to and stored in the programmable display device as described above. Then, according to the state of the device connected to the PLC, the object displayed on the display screen of the programmable display device moves according to the route set on the drawing software. Such movement of the path of the object is disclosed in Patent Document 1, for example.
[0008]
[Patent Document 1]
JP-A-2-150720 (Publication date: June 11, 1990)
[0009]
[Problems to be solved by the invention]
However, if the display screen created on the screen design software is transferred to the programmable display device as screen data and stored, the route on which the object moves on the screen display software is set beforehand using tags as described above. The object displayed on the display screen of the programmable display cannot be moved. Therefore, when the layout of the display screen of the programmable display device is changed, it is necessary to create the display screen again on the drawing software and transfer it to the programmable display device as screen data. For this reason, there was a problem that it takes time and effort for the user.
[0010]
In addition, even if a route is set with a tag on the drawing software, it is not possible to move a route other than the set route, and the route setting on the drawing software allows the degree of freedom to move the object. There was a problem that there were few.
[0011]
The present invention has been made in view of the above problems, an editor device that functions an object displayed on a display screen of a display control device so that the object can be dragged, a program thereof, And it aims at providing the recording medium with which it was recorded.
[0012]
[Means for Solving the Problems]
In order to solve the above-described problem, an editor device according to the first aspect of the present invention provides an editor means for creating a display screen in a display control device by arranging a plurality of objects, and a display created by the editor means. In an editor device having output means for outputting a screen to the display control device as screen data, when the screen data is output to the display control device by the output means, the object displayed on the display screen of the display control device is The above-mentioned editor means is provided with functional means for functioning an object so as to be in a draggable selection state on the display screen.
[0013]
According to said structure, an editor means produces the display screen in a display control apparatus by arrange | positioning a some object. Here, the object refers to parts and figures arranged on a base screen of a display screen such as a switch, a lamp, a numeric keypad, a meter display, and a graph display. The function means causes the editor means to function the object so that the object displayed on the display screen of the display control device is in a selection state that can be dragged on the display screen. The output means outputs the display screen created and functionalized by the editor means to the display control device as screen data.
[0014]
As a result, for example, when the user operates an object displayed on the display screen of the display control device, this object is in a selectable state so that the object can be dragged on the display screen of the display control device. It can be moved freely. Therefore, even when the display screen layout of the display control device is changed, it is not necessary to create the display screen again by the editor means and output the screen data to the display control device by the output means.
[0015]
The editor device according to the invention of claim 2 switches the display screen when the object functionalized by the functional means is dragged to the screen switching area on the display screen of the display control device in the configuration of the invention of claim 1. As described above, the editor means includes screen switching setting means for setting a screen switching area.
[0016]
According to the above configuration, while the editor means creates a plurality of display screens, the screen switching setting means displays the object by dragging the object functionalized by the functional means to the screen switching area on the display screen of the display control device. The screen switching area is set by the editor means so that the screen is switched. For example, when the object is dragged to the screen switching area, the screen is switched from the first display screen to the second display screen desired by the user. Note that the display screen to which the display screen is switched can also be set.
[0017]
Thus, for example, when the user drags an object displayed on the display screen of the display control device to the screen switching area by a drag operation, the display screen of the display control device is switched. Therefore, the same object can be used for a plurality of display screens.
[0018]
By the way, although the said editor apparatus may be implement | achieved only by hardware, you may implement | achieve it, when a computer runs a program. Specifically, the program according to claim 3 is a computer program for operating the respective means according to claim 1 or 2. The recording medium according to claim 4 is a recording medium on which the program according to claim 3 is recorded.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of the present invention will be described below with reference to FIGS.
[0020]
As shown in FIG. 1, a programmable display 1 as a display control apparatus according to the present embodiment includes a CPU 11, a memory unit 12, a CF (Compact Flash (registered trademark)) card driver 13, a VRAM 14, a display 15, and a graphic controller. 16, a touch panel 17, a touch panel controller 18, a communication controller 19, and a maintenance port 20. The programmable display 1 acquires the state of devices 4... Described later and displays them on the display screen of the display 15 and accepts input on the display 15 for giving control instructions for the devices 4. A touch panel 17 is provided.
[0021]
The memory unit 12 includes a memory such as a DRAM (Dynamic Random Access Memory) 12a, a FEPROM (Flash Erasable and Programmable ROM) 12b, and an SRAM (Static Random Access Memory) 12c. The DRAM 12a is used not only for work during arithmetic processing such as display control but also for temporary recording 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. The SRAM 12c is used to log data obtained from the PLC 2 and store setting value data (recipe data) to be given to the PLC 2.
[0022]
Further, as shown in FIG. 2, the FEPROM 12b has areas for storing a display control system program, a communication program, and drawing data, respectively.
[0023]
The display control system program is a program for realizing a basic function for performing image display control. This display control system program will be described in detail later.
[0024]
The communication program is a program for performing communication for exchanging data with the PLC 2 and includes a communication protocol. The communication protocol is a protocol used in communication processing with the PLC 2 and is uniquely determined according to the model (manufacturer) of the PLC 2. This communication protocol includes a command code that instructs reading of data to the PLC 2. By combining this command code with an address associated with the control function of the PLC 2, it is possible to transmit data on the desired control function to the PLC 2.
[0025]
The drawing data is a collection of unit screen data (screen data) to be displayed on the display screen of the display 15 (consisting of one or more screens), and is managed as a project file. The screen data includes a base screen for each unit screen, data of parts (objects), a processing instruction word W described later assigned to each object, and the like. The screen data is created by a drawing editor 32 described later and downloaded to the FEPROM 12b. This screen data will be described in detail later.
[0026]
As shown in FIG. 3, the processing instruction word (tag) 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. A set of reference information I including one or a plurality of data to be referred to is provided.
[0027]
The screen data includes base screen data, screen link data, object data, and the like.
[0028]
The base screen data is data of a base screen serving as a background screen, and objects such as parts and figures are arranged on the base screen.
[0029]
The screen link data is data that associates related screens with each other, and includes coordinate data of the switch for switching on a screen including the switch for switching. The screen link data includes area data of a screen switching area on the base screen instead of or in addition to the switching switch.
[0030]
Object data is expressed as graphics with animated functions for expressing dynamic changes such as switches and numerical displays such as switches and numerical displays and graphs displayed on the base screen at any position on the base screen. The This moving image function is realized by the processing instruction word W described above, and can be arbitrarily set by the user. In addition, in order to be easy for the user to handle, the moving image function is preliminarily used as an imaged basic figure such as a touch switch, a lamp, and various displays It is prepared.
[0031]
The display control system program is a program for causing the CPU 11 to display screen data, set various data on the screen, transmit the set data to the PLC 2 and display the data received from the PLC 2 on the screen. is there. The display control system program executes display of object data using the above-described base screen data, and uses the screen link data to associate the base screens with each other in accordance with a user operation for screen switching. Switch the display of. Further, in order to realize the data display function, the display control system program uses the received data from the PLC 2 using a data display object (meter display, numerical display, graph display, etc.) for a predetermined base. Display on the screen.
[0032]
Screen data created by the drawing editor 32 to be described later is converted into a file format (memory file) that can be decoded by the programmable display device 1, transferred together with the communication program and the display control system program, and downloaded to the FEPROM 12 b. The In the memory file, as shown in FIG. 4, a program including a communication program and a display control system program, and an address where drawing data (screen data) is stored from the head position are determined in advance according to the model of the programmable display 1. It has been. The screen data is composed of a plurality of single screen data (screen data B1 to Bn).
[0033]
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 devices 4... Composed of input / output devices only by accessing an arbitrary word device or bit device in the PLC 2 or to individually extract information regarding the operation state.
[0034]
The display control system program reads necessary information out of the state information indicated by the bit device or the word device into the memory unit 12 in a timely manner, while repeatedly reading each processing instruction word W to process each processing instruction word W. The operation having the contents specified by the event 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.
[0035]
Further, when the display control system program receives the set value data to be transmitted to the PLC 2, the display control system program instructs the communication controller 19 to transmit the set value data. The communication controller 19 transmits the set value data to the designated PLC 2. The display control system program receives data from the PLC 2 received by the communication controller 19 and displays it on the screen as necessary.
[0036]
The display control system program is software that can be provided in the form of program media such as package software, and is recorded on a recording medium that is separable from the programmable display 1, for example.
[0037]
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.
[0038]
CPU11 controls operation | movement of each part of the programmable display 1 according to the above-mentioned display control system program. Further, the CPU 1 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 the CPU 1 receives screen data from the drawing editor 32, it stores it in the FEPROM 12b.
[0039]
The CF card driver 13 is a device that writes data to and reads data from the CF card 21. In the programmable display 1, the CF card 21 is used as a storage medium for backing up screen data stored in the FEPROM 12b. The storage medium may be a medium other than another memory card or semiconductor memory, but the CF card 21 that is small in size and has a large storage capacity is suitable. In addition, the CF card driver 13 may be built in the programmable display 1, but may be configured as a memory loader that can be connected to the programmable display 1 as an external device. By using such an externally connectable CF card driver 13, the screen data in the small programmable display 1 can be easily backed up to the CF card 21.
[0040]
The data in the FEPROM 12b is backed up in the CF card 21 with the same structure as that shown in FIG. However, since the data stored in the FEPROM 12b cannot be written to the CF card 21 as it is, the data is converted from the memory file format to the backup file format and then written to the CF card 21.
[0041]
The VRAM 14 is a memory that temporarily holds an image of the screen displayed on the display 15 and stores the image of the screen data from the FEPROM 12b as dot data in the order of display in the horizontal direction.
[0042]
The display 15 is configured by a flat display element such as a liquid crystal panel or an EL panel. Here, as the display 15, a dot type display of X = 640 and Y = 480 is used. The graphic controller 16 is driver software that draws an image of the screen developed in the VRAM 14 on the display screen of the display 15. The touch panel 17 is provided for inputting on the display screen of the display 15, and an analog resistance film type touch panel or the like is preferable. The touch panel controller 18 converts the output voltage of the touch panel 17 into input position information and outputs it to the CPU 11. The display panel 6 is configured by the display 15 and the touch panel 17.
[0043]
The communication controller 19 is an interface that controls the transfer of data related to control and monitoring of the devices 4... And the capture of the output data of the PLC 2 with the PLC 2 via a communication cable (for example, RS-232C).
[0044]
The maintenance port 20 is a communication port for performing communication with the computer apparatus 3 to be described later, and is used for transferring screen data from the computer apparatus 3 to the programmable display 1. The maintenance port 20 and an interface unit 39 (described later) of the computer apparatus 3 are connected by a transfer cable 7, and screen data is transferred through the transfer cable 7.
[0045]
Next, the computer device 3 will be described.
[0046]
The computer device 3 is constituted by a general-purpose computer such as a personal computer. As shown in FIG. 1, the computer device 3 includes a CPU 31, a drawing editor 32, a screen database 33, a memory unit 34, a display 35, an input device 36, an external storage device 37, a CF card driver 38, and an interface unit (in the drawing, I / F) 39.
[0047]
The CPU 31 performs control and arithmetic processing of each unit when operating various application software including the drawing editor 32 on an OS (operating system) installed in the computer apparatus 3.
[0048]
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.
[0049]
The drawing editor 32 has a function of the programmable display 1 as a terminal for inputting various monitor values for management such as operation status and work instructions of the devices 4... And setting values for the devices 4. As described above, the screen creation software for creating a screen to be displayed on the display 15 includes a function unit 32a and a screen switching setting unit 32b.
[0050]
The functional unit 32a functions the object so that the object displayed on the display screen of the display 15 of the programmable display 1 can be dragged on the display screen. For example, FIG. A function setting screen 8 as shown is provided. The function setting screen 8 can be opened, for example, by selecting an object desired by the user and selecting an object editing screen (property). Here, the lamp LP2 is selected as the object.
[0051]
The function setting screen 8 has a part for selecting the setting of the clip state (selected state), and “set” and “not set” are prepared as radio buttons. When “set” is selected, the lamp LP2 displayed on the display screen of the display 15 normally functions as a lamp that is lit in accordance with the state of the device 4, for example, but when the user operates the lamp LP2, It functions so as to be in a draggable selection state on the display screen. If “not set” is selected, the lamp LP2 displayed on the display screen of the display 15 cannot be dragged and functions as a normal lamp.
[0052]
In place of or in addition to providing the function setting screen 8, the object is functionalized so that, for example, when an object displayed on the display screen of the display 15 is double-clicked, a draggable selection state is obtained. Also good. In this case, the double click interval can be set on the setting screen provided by the function unit 32a. In addition, a switch that functions so that when a specific switch displayed on the display screen of the display 15 is operated, all objects on the display screen can be dragged into a selected state may be provided. In short, any means may be adopted as long as it functions an object displayed on the display screen of the display 15.
[0053]
The screen switching setting unit 32b sets the screen switching area so that when the object functionalized by the functional unit 32a is dragged to the screen switching area on the display screen of the display 15, the display screen is switched. For example, a screen switching setting screen 9 as shown in FIG. 6 is provided. The screen switching setting screen 9 includes a part for setting a screen switching destination and a part for setting a screen switching area.
[0054]
The part for setting the switching destination of the screen is to set the switching destination screen from the current screen (in this case, screen number 1), and is operated by operating the scroll bar on the right of the input field. Can be set in the input field. Here, screen number 2 is set as the switching destination screen.
[0055]
The portion for setting the screen switching area includes an input field for inputting the X and Y coordinates as the start point and an input field for inputting the X and Y coordinates as the end point. That is, the upper left of the display screen of the display 15 is the origin of X = 0 and Y = 0, the horizontal axis is the X axis, and the vertical axis is the Y axis. Here, X = 10 and Y = 470 are set as start points, and X = 630 and Y = 480 are set as end points. A plurality of portions for setting a screen switching destination and a portion for setting a screen switching area may be provided. In this case, for example, when the screen switching areas are set in an overlapping manner even though the screen numbers of the switching destinations are different, a display for alerting the user is displayed.
[0056]
The computer apparatus 3 functions as an editor apparatus for creating and editing a user screen by including the drawing editor 32.
[0057]
The drawing editor 32 is software that can be provided in the form of program media as packaged software or tailor-made software, similar to the above-described display control system program, and is recorded on the recording medium 5 that is separable from the computer device 3, for example. ing. The drawing editor 32 can exhibit an editor function by being installed in the computer device 3 from the recording medium 5.
[0058]
The screen database 33 is a database that stores screen data created by the drawing editor 32 as a project file. The screen data stored in the screen database 33 is graphic data about the input parts and the like. The graphic data includes graphic data, text data, and object data. The graphic data is graphic data such as a line, a circle, an ellipse, a triangle, a quadrangle, and a filled graphic. The text data includes screen data titles and sentences composed of characters and symbols. The object data is data relating to the object prepared in advance in the drawing editor 32.
[0059]
The display 35 is configured by a CRT, a flat display element (for example, an LCD or an EL panel), and the like. The input device 36 is a device for performing an input operation such as a keyboard and a mouse. In particular, a pointing device such as a mouse is suitable for an input operation in the drawing editor 32 operating in a GUI (Graphical User Interface) environment. Yes.
[0060]
The external storage device 37 is a device such as a magnetic disk drive such as a hard disk device, an optical disk drive such as a CD-ROM drive, or a memory card drive such as an IC card. The external storage device 37 includes at least a device that can read information such as a program recorded in the recording medium 5.
[0061]
The CF card driver 38 is the same device as the CF card driver 13 described above, and writes and reads data to and from the CF card 21. The CF card driver 38 may also be connected to the computer device 3 as an external device.
[0062]
The interface unit 39 is an input / output unit that performs data communication with the programmable display device 1. The screen data created by the drawing editor 32 is transferred from the interface unit 39 to the programmable display device 1 via the transfer cable 7 described above. The interface unit 39 corresponds to the output means described in the claims.
[0063]
In the configuration as described above, transfer of screen data from the computer apparatus 3 to the programmable display device 1 will be described with reference to the flowchart of FIG.
[0064]
As shown in FIG. 7, in step 1 (hereinafter abbreviated as S <b> 1), the drawing editor 32 of the computer apparatus 3 is activated to create a user-specific screen (user screen or screen data). Specifically, a user-desired screen is created by arranging objects such as switches, lamps, numeric keys, and various displays (for example, numeric display, meter display and graph display) on the base screen. . The screen data is managed as a file for each screen.
[0065]
Then, when the user desires a drag operation of the object on the display screen of the display 15 of the programmable display 1, for example, by moving to S <b> 2, the desired object is displayed on the function setting screen 8 as shown in FIG. 5. Add function. Here, the clip state (selected state) is set so that the object of the lamp LP2 can be dragged on the display screen of the display 15.
[0066]
Furthermore, when the user desires to switch the display screen in the screen switching area of the display screen of the display 15, the process proceeds to S <b> 3, for example, in the screen switching setting screen 9 as shown in FIG. Set. Here, the area surrounded by the screen number 1 from the start point X = 10 and Y = 470 to the end point X = 630 and Y = 480 is a screen switching area, and this area is displayed on the function setting screen 8. When a function-attached object (lamp LP2) is dragged, the screen is switched to the display screen of screen number 2.
[0067]
After creating and setting the screen data as shown in S1 to S3, the process proceeds to S4, and the screen data is transferred to the programmable display 1 in accordance with a user instruction. The transferred screen data is downloaded to the FEPROM 12b of the programmable display 1.
[0068]
Next, when the screen data downloaded to the programmable display 1 is displayed on the display screen of the display 15, a drag operation and a screen switching operation of an object displayed on the display screen will be described.
[0069]
A screen created by the drawing editor 32 is displayed on the display screen of the display 15. For example, the display screen of the display 15 includes a base screen B as a background screen and objects such as lamps LP1, LP2, switches SW1, SW2 and a meter display CT on the base screen B as shown in FIG. Is arranged. Here, since the function of the lamp LP2 is provided on the function setting screen 8, when the user of the programmable display device 1 operates the lamp LP2, as shown in FIG. Become. In this state, when the user drags the lamp LP2 below the display 15, as shown in FIG. 10, the lamp LP2 drags downward along the user's operation.
[0070]
Then, as shown in FIG. 11, when the lamp LP2 is dragged to the screen switching area A of the display screen of the display 15, the display screen of the display 15 in the screen number 1 (base screen B1) is the screen number 2 (base The screen is switched to the display screen of the display 15 in screen B2). The lamp LP2 can be freely dragged on the display screen of the display 15 at the screen number 2 by the user's operation.
[0071]
In the above description, switching of the display screen of the display 15 from the screen number 1 to the screen number 2 has been described. However, the screen switching areas of the screen numbers 2 to 9 are set on the display screen of the display 15 of the screen number 1 respectively. Thus, for example, as shown in FIG. 12, the display screen can be switched freely in eight directions. Also, for example, if a screen switching area to screen number 3 is set on the display screen of display 15 at screen number 2, screen number 1, screen number 2, screen number 3, screen number 1,... It is also possible to form
[0072]
As described above, in the display control system according to the present embodiment, for example, when the user operates an object displayed on the display screen of the display 15 of the programmable display device 1, this object can be dragged. Therefore, this object can be freely moved on the display screen of the display 15 by a drag operation. Therefore, even when the layout of the display screen of the display 15 is changed, it is not necessary to create the display screen again with the drawing editor 32 and transfer the screen data to the programmable display device 1. Therefore, the labor for the user is reduced, and the degree of freedom for moving the object is improved.
[0073]
For example, when the user drags an object displayed on the display screen of the display 15 to the screen switching area by a drag operation, the display screen of the display 15 is switched. Therefore, the same object can be used for a plurality of display screens. Therefore, it is possible to construct a display screen adapted to the production site where the programmable display 1 is used.
[0074]
In the present embodiment, as shown in FIG. 10, the example in which the lamp LP2 is dragged downward by the user's operation has been described. However, the present invention is not limited to this, and the drag operation may also be performed upward, left / right, or diagonally. Can do. In short, it is possible to freely perform a drag operation to a position desired by the user.
[0075]
Further, in the present embodiment, as shown in FIG. 12, the example of switching the screen in eight directions is described, but the present invention is not limited to this, and it is free according to the use situation of the user, such as four directions, two directions, and ten directions. The screen switching area can be set so that the screen can be switched between.
[0076]
Furthermore, although the configuration in which the programmable display 1 is connected to the PLC 2 has been described in the present embodiment, the PLC 2 is controlled by mounting an input / output unit or the like for directly connecting the device 4 to the programmable display 1. You may use the programmable display 1 provided with the function.
[0077]
That is, the above description of the embodiments is for explaining the present invention, and should not be construed as limiting or reducing the invention described in the claims. Moreover, each structure of this invention is not restricted to the said Example, Of course, a various deformation | transformation is possible within the right range as described in a claim.
[0078]
【The invention's effect】
As described above, the editor device according to the first aspect of the present invention includes an editor unit that creates a display screen in the display control device by arranging a plurality of objects, and the display screen created by the editor unit is displayed on the screen. In an editor device having output means for outputting to the display control device as data, when screen data is output to the display control device by the output means, the object displayed on the display screen of the display control device is displayed on the display screen. The above-described editor means is provided with functional means for functioning an object so as to be in a draggable selection state.
[0079]
As a result, for example, when the user operates an object displayed on the display screen of the display control device, this object is in a selectable state so that the object can be dragged on the display screen of the display control device. It can be moved freely. Therefore, even when the display screen layout of the display control device is changed, it is not necessary to create the display screen again by the editor means and output the screen data to the display control device by the output means. Therefore, it is possible to reduce the labor for the user and to improve the degree of freedom for moving the object.
[0080]
The editor device according to the invention of claim 2 switches the display screen when the object functionalized by the functional means is dragged to the screen switching area on the display screen of the display control device in the configuration of the invention of claim 1. As described above, the editor means has a screen switching setting means for setting a screen switching area.
[0081]
Thus, for example, when the user drags an object displayed on the display screen of the display control device to the screen switching area by a drag operation, the display screen of the display control device is switched. Therefore, the same object can be used for a plurality of display screens. Therefore, it is possible to construct a display screen adapted to the production site where the display control device is used.
[0082]
By the way, although the said editor apparatus may be implement | achieved only by hardware, you may implement | achieve it, when a computer runs a program. Specifically, the program according to claim 3 can be realized by a computer program for operating the respective means according to claim 1 or 2. The recording medium according to claim 4 is a recording medium on which the program according to claim 3 is recorded.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a display control system including a programmable display according to an embodiment of the present invention.
FIG. 2 is a diagram showing programs and data stored in the FEPROM of the programmable display.
FIG. 3 is a diagram showing a basic format of a processing instruction word included in screen data displayed on the display screen of the programmable display device.
FIG. 4 is a diagram showing a structure of a file stored in the FEPROM and the CF card in the programmable display device.
FIG. 5 is a diagram showing a function setting screen provided by a function unit of a drawing editor of a computer device in the display control system.
FIG. 6 is a diagram showing a screen switching setting screen provided by the screen switching setting unit of the drawing editor.
FIG. 7 is a flowchart showing a procedure of screen data transfer processing from the computer device to the programmable display device.
FIG. 8 is a diagram showing an example of a screen displayed on the display screen of the display of the programmable display device.
FIG. 9 is a diagram showing that a lamp is in a selectable state that can be dragged by a user operation on a screen displayed on the display screen of the display;
FIG. 10 is a diagram showing that the lamp is dragged below the display by a user operation.
FIG. 11 shows a switch operation from the display screen at screen number 1 to the display screen at screen number 2 by dragging the lamp to the screen switching area set on the display screen of screen number 1; FIG.
FIG. 12 is a diagram showing that a screen switching operation can be freely performed in eight directions from the display screen of screen number 1;
[Explanation of symbols]
1 Programmable display (display control device)
3 Computer device (editor device)
32 drawing editor (editor means)
32a Function part
32b Screen switching setting part
39 Interface (output means)

Claims (4)

複数のオブジェクトを配置することにより、表示制御装置における表示画面を作成するエディタ手段と、該エディタ手段により作成された表示画面を、画面データとして表示制御装置に出力する出力手段とを有するエディタ装置において、
上記出力手段により画面データが表示制御装置に出力された場合、表示制御装置の表示画面上に表示されたオブジェクトが、該表示画面上でドラッグ可能な選択状態となるように、上記エディタ手段でオブジェクトを機能付ける機能手段を備えたことを特徴とするエディタ装置。
In an editor apparatus having an editor means for creating a display screen in the display control apparatus by arranging a plurality of objects, and an output means for outputting the display screen created by the editor means to the display control apparatus as screen data ,
When the screen data is output to the display control device by the output means, the object is displayed by the editor means so that the object displayed on the display screen of the display control device is in a draggable selection state on the display screen. An editor device characterized by comprising functional means for functioning.
上記機能手段により機能付けられたオブジェクトを、表示制御装置の表示画面における画面切り替え領域までドラッグすると、表示画面が切り替わるように、上記エディタ手段で画面切り替え領域を設定する画面切替設定手段を備えたことを特徴とする請求項1記載のエディタ装置。There is provided screen switching setting means for setting the screen switching area by the editor means so that when the object functionalized by the functional means is dragged to the screen switching area on the display screen of the display control device, the display screen is switched. The editor device according to claim 1. 請求項1または2記載の各手段を動作させるコンピュータ用のプログラム。A computer program for operating each means according to claim 1. 請求項3記載のプログラムが記録されている記録媒体。A recording medium on which the program according to claim 3 is recorded.
JP2003194079A 2003-07-09 2003-07-09 Editor device, its program, and recording medium recording it Pending JP2005031835A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003194079A JP2005031835A (en) 2003-07-09 2003-07-09 Editor device, its program, and recording medium recording it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003194079A JP2005031835A (en) 2003-07-09 2003-07-09 Editor device, its program, and recording medium recording it

Publications (1)

Publication Number Publication Date
JP2005031835A true JP2005031835A (en) 2005-02-03

Family

ID=34205335

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003194079A Pending JP2005031835A (en) 2003-07-09 2003-07-09 Editor device, its program, and recording medium recording it

Country Status (1)

Country Link
JP (1) JP2005031835A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011090650A (en) * 2009-10-26 2011-05-06 Hakko Denki Kk Display/control system, programmable display device for the same, drawing editor device and program
WO2013121458A1 (en) * 2012-02-16 2013-08-22 古野電気株式会社 Information display device, and information display method
WO2020009106A1 (en) * 2018-07-03 2020-01-09 オムロン株式会社 Information processing device and information processing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011090650A (en) * 2009-10-26 2011-05-06 Hakko Denki Kk Display/control system, programmable display device for the same, drawing editor device and program
WO2013121458A1 (en) * 2012-02-16 2013-08-22 古野電気株式会社 Information display device, and information display method
WO2020009106A1 (en) * 2018-07-03 2020-01-09 オムロン株式会社 Information processing device and information processing method
JP2020008946A (en) * 2018-07-03 2020-01-16 オムロン株式会社 Information processing device and information processing method

Similar Documents

Publication Publication Date Title
JP4322770B2 (en) Screen creation device, screen creation program, and recording medium recording the same
JP2006134097A (en) Programmable display, display control program, and recording medium with the program recorded thereon
JP5303116B2 (en) Screen editing device and its program
JP2007094294A (en) Programmable display unit, control program and recording medium which records the program, screen creation device, screen creation program and recording medium which records the program
JP4463716B2 (en) Programmable display, display control program, and recording medium recording the same
JP3847585B2 (en) Editor registration device, registration program, and recording medium recording the same
JP2008158813A (en) Programmable display unit, display control program and recording medium with this program recorded
JP2007065914A (en) Screen generation device and program, and recording medium recording program
JP2005031835A (en) Editor device, its program, and recording medium recording it
JP4429990B2 (en) SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, PROGRAMMABLE DISPLAY, CONTROL PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
JP6337810B2 (en) Information processing apparatus, information processing method, and program
JP2007094724A (en) Programmable display, control program, storage medium recording the program, screen generating device, screen generating program, and storage medium recording the program
JP2003295996A (en) Control display device
JP3913414B2 (en) Editor device and recording medium recording editor program
JP4335109B2 (en) Screen creation device, screen creation program, and recording medium recording the same
JP2007093960A (en) Screen creation device, screen creation program, recording medium which records the program, programmable display unit, control program and recording medium which records the program
JP4381793B2 (en) PROGRAMMABLE DISPLAY, DISPLAY CONTROL PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM
JP2007065910A (en) Screen preparation device, and screen preparation program, and record medium recording its program
JP4515434B2 (en) Unit information setting device, unit information setting program, and recording medium recording the same
JP3795473B2 (en) Editor device and recording medium recording editor program
JP4563255B2 (en) Programmable display, control program, and recording medium recording the program
JP2006134098A (en) Programmable display, display control program, and recording medium with the program recorded thereon
JP3712641B2 (en) Editor device and recording medium recording editor program
JP2007094972A (en) Programmable display, control program, storage medium recording the program, screen generating device, screen generating program and storage medium recording the program
JP4970105B2 (en) Editor device and editor program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051013

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080208

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080624